@ckeditor/ckeditor5-ai 44.1.0-alpha.2 → 44.1.0-alpha.4
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
|
-
|
|
23
|
+
function _0x4ea7(){const _0x34076d=['requires','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','changeTone','400700btKwDB','set','Legal','translateChinese','Poetic','Journalism','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','groupId','Business','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','makeShorter','locale','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','business','122mcQYIZ','get','translate','simplifyLanguage','1800Cckzhb','Casual','push','includes','poetic','Translate\x20the\x20content\x20to\x20Arabic\x20language.','summarize','translateHindi','Professional','concat','journalism','forEach','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','isPremiumPlugin','ai.aiAssistant.removeCommands','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Spanish','makeLonger','Change\x20tone','Make\x20longer','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','translateGerman','Simplify\x20language','Arabic','859126LipbGX','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','ai.aiAssistant.commands','confident','changeStyle','23352SXPsCr','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','continue','direct','ai.aiAssistant.extraCommandGroups','Continue','config','Summarize','friendly','translateArabic','editOrReview','Friendly','Change\x20style','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Portuguese','casual','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','1845746ZYggdI','3100104sqBIHi','Improve\x20writing','Confident','Direct','filter','French','professional','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','improveWriting','find','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','generate','Edit\x20or\x20review','Simplified\x20Chinese','translateSpanish','German','translateEnglish','3489540BEfyPC','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','legal','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','commands','translatePortuguese','Hindi','26016JrtXds','AIAssistant','pluginName','Generate\x20from\x20selection','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','translateFrench','isOfficialPlugin','Translate','define','English','Make\x20shorter','Translate\x20the\x20content\x20to\x20French\x20language.','Translate\x20the\x20content\x20to\x20German\x20language.'];_0x4ea7=function(){return _0x34076d;};return _0x4ea7();}const _0x4efa11=_0x1e2a;(function(_0x3c2515,_0x450def){const _0x1db14f=_0x1e2a,_0xff2eda=_0x3c2515();while(!![]){try{const _0x134ad9=parseInt(_0x1db14f(0x17a))/0x1+-parseInt(_0x1db14f(0x15e))/0x2*(-parseInt(_0x1db14f(0x1ab))/0x3)+-parseInt(_0x1db14f(0x192))/0x4+parseInt(_0x1db14f(0x14f))/0x5+-parseInt(_0x1db14f(0x1a4))/0x6+-parseInt(_0x1db14f(0x191))/0x7+parseInt(_0x1db14f(0x17f))/0x8*(parseInt(_0x1db14f(0x162))/0x9);if(_0x134ad9===_0x450def)break;else _0xff2eda['push'](_0xff2eda['shift']());}catch(_0x159e4a){_0xff2eda['push'](_0xff2eda['shift']());}}}(_0x4ea7,0x69694));import{Plugin as _0x5159f9}from'ckeditor5/src/core.js';import _0x385459 from'./aiassistantui.js';import _0xa968ed from'./aiassistantediting.js';import{getTranslation as _0x3957dd}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x251efc}from'./utils/normalizecommandsconfig.js';export default class r extends _0x5159f9{static get[_0x4efa11(0x1b8)](){return[_0x385459,_0xa968ed];}static get[_0x4efa11(0x1ad)](){const _0x36c8f1=_0x4efa11;return _0x36c8f1(0x1ac);}static get[_0x4efa11(0x1b1)](){return!0x0;}static get[_0x4efa11(0x16f)](){return!0x0;}constructor(_0x4310e9){const _0x4ff804=_0x4efa11;super(_0x4310e9);const _0x17d1d0=_0x4310e9[_0x4ff804(0x185)],_0x4cc896=_0x4310e9[_0x4ff804(0x15b)];_0x17d1d0[_0x4ff804(0x1b3)](_0x4ff804(0x17c),getDefaultCommands(_0x4cc896)),_0x17d1d0[_0x4ff804(0x1b3)](_0x4ff804(0x183),[]),_0x17d1d0[_0x4ff804(0x1b3)](_0x4ff804(0x170),[]);const _0x3c52e0=_0x251efc(_0x17d1d0[_0x4ff804(0x15f)](_0x4ff804(0x17c)),_0x4cc896),_0x4dc4e7=_0x17d1d0[_0x4ff804(0x15f)](_0x4ff804(0x183)),_0x1f6f00=_0x17d1d0[_0x4ff804(0x15f)](_0x4ff804(0x170));_0x4dc4e7[_0x4ff804(0x16d)](_0x28b9bc=>{const _0x45070d=_0x4ff804,_0x18d3a8=_0x3c52e0[_0x45070d(0x19b)](_0x344cee=>_0x344cee[_0x45070d(0x157)]===_0x28b9bc[_0x45070d(0x157)]);_0x18d3a8?_0x18d3a8[_0x45070d(0x1a8)]=_0x18d3a8[_0x45070d(0x1a8)][_0x45070d(0x16b)](_0x28b9bc[_0x45070d(0x1a8)]):_0x3c52e0[_0x45070d(0x164)](_0x28b9bc);}),_0x3c52e0[_0x4ff804(0x16d)](_0x418e7c=>{const _0x5dc1fa=_0x4ff804;_0x418e7c[_0x5dc1fa(0x1a8)]=_0x418e7c[_0x5dc1fa(0x1a8)][_0x5dc1fa(0x196)](_0x3d3e1d=>!_0x1f6f00[_0x5dc1fa(0x165)](_0x3d3e1d['id']));}),_0x17d1d0[_0x4ff804(0x150)](_0x4ff804(0x17c),_0x3c52e0);}}function _0x1e2a(_0x217703,_0x51d993){const _0x4ea726=_0x4ea7();return _0x1e2a=function(_0x1e2a86,_0x4de74f){_0x1e2a86=_0x1e2a86-0x14f;let _0x4c593d=_0x4ea726[_0x1e2a86];return _0x4c593d;},_0x1e2a(_0x217703,_0x51d993);}export function getDefaultCommands(_0x19576e){const _0x2134d9=_0x4efa11;return[{'groupId':_0x2134d9(0x189),'groupLabel':_0x3957dd(_0x19576e,_0x2134d9(0x19f)),'commands':[{'id':_0x2134d9(0x19a),'label':_0x3957dd(_0x19576e,_0x2134d9(0x193)),'prompt':_0x2134d9(0x18d)},{'id':_0x2134d9(0x15a),'label':_0x3957dd(_0x19576e,_0x2134d9(0x1b5)),'prompt':_0x2134d9(0x17b)},{'id':_0x2134d9(0x173),'label':_0x3957dd(_0x19576e,_0x2134d9(0x175)),'prompt':_0x2134d9(0x16e)},{'id':_0x2134d9(0x161),'label':_0x3957dd(_0x19576e,_0x2134d9(0x178)),'prompt':_0x2134d9(0x176)}]},{'groupId':_0x2134d9(0x19e),'groupLabel':_0x3957dd(_0x19576e,_0x2134d9(0x1ae)),'commands':[{'id':_0x2134d9(0x168),'label':_0x3957dd(_0x19576e,_0x2134d9(0x186)),'prompt':_0x2134d9(0x19c)},{'id':_0x2134d9(0x181),'label':_0x3957dd(_0x19576e,_0x2134d9(0x184)),'prompt':_0x2134d9(0x1a5)}]},{'groupId':_0x2134d9(0x1bb),'groupLabel':_0x3957dd(_0x19576e,_0x2134d9(0x174)),'commands':[{'id':_0x2134d9(0x198),'label':_0x3957dd(_0x19576e,_0x2134d9(0x16a)),'prompt':_0x2134d9(0x1af)},{'id':_0x2134d9(0x18f),'label':_0x3957dd(_0x19576e,_0x2134d9(0x163)),'prompt':_0x2134d9(0x159)},{'id':_0x2134d9(0x182),'label':_0x3957dd(_0x19576e,_0x2134d9(0x195)),'prompt':_0x2134d9(0x171)},{'id':_0x2134d9(0x17d),'label':_0x3957dd(_0x19576e,_0x2134d9(0x194)),'prompt':_0x2134d9(0x156)},{'id':_0x2134d9(0x187),'label':_0x3957dd(_0x19576e,_0x2134d9(0x18a)),'prompt':_0x2134d9(0x15c)}]},{'groupId':_0x2134d9(0x17e),'groupLabel':_0x3957dd(_0x19576e,_0x2134d9(0x18b)),'commands':[{'id':_0x2134d9(0x15d),'label':_0x3957dd(_0x19576e,_0x2134d9(0x158)),'prompt':_0x2134d9(0x199)},{'id':_0x2134d9(0x1a6),'label':_0x3957dd(_0x19576e,_0x2134d9(0x151)),'prompt':_0x2134d9(0x18c)},{'id':_0x2134d9(0x16c),'label':_0x3957dd(_0x19576e,_0x2134d9(0x154)),'prompt':_0x2134d9(0x1a7)},{'id':_0x2134d9(0x166),'label':_0x3957dd(_0x19576e,_0x2134d9(0x153)),'prompt':_0x2134d9(0x19d)}]},{'groupId':_0x2134d9(0x160),'groupLabel':_0x3957dd(_0x19576e,_0x2134d9(0x1b2)),'commands':[{'id':_0x2134d9(0x1a3),'label':_0x3957dd(_0x19576e,_0x2134d9(0x1b4)),'prompt':_0x2134d9(0x1ba)},{'id':_0x2134d9(0x1a1),'label':_0x3957dd(_0x19576e,_0x2134d9(0x172)),'prompt':_0x2134d9(0x155)},{'id':_0x2134d9(0x1a9),'label':_0x3957dd(_0x19576e,_0x2134d9(0x18e)),'prompt':_0x2134d9(0x190)},{'id':_0x2134d9(0x177),'label':_0x3957dd(_0x19576e,_0x2134d9(0x1a2)),'prompt':_0x2134d9(0x1b7)},{'id':_0x2134d9(0x1b0),'label':_0x3957dd(_0x19576e,_0x2134d9(0x197)),'prompt':_0x2134d9(0x1b6)},{'id':_0x2134d9(0x152),'label':_0x3957dd(_0x19576e,_0x2134d9(0x1a0)),'prompt':_0x2134d9(0x180)},{'id':_0x2134d9(0x169),'label':_0x3957dd(_0x19576e,_0x2134d9(0x1aa)),'prompt':_0x2134d9(0x1b9)},{'id':_0x2134d9(0x188),'label':_0x3957dd(_0x19576e,_0x2134d9(0x179)),'prompt':_0x2134d9(0x167)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x50d7(){const _0x94d1d6=['8HNkRfB','isAtEnd','has','get','editor','canEditAt','data','60185LUZSea','start','addMarker','getLastMatchingPosition','afterInit','getSelectedBlocks','markers','1243100ttVjgK','span','162479NuovBM','fromCharCode','for','document','659178KcDkNB','isPremiumPlugin','processor','AIAssistantEditing','updateMarker','getRange','addClass','toModel','markerRange','isCollapsed','1925368DdaJBx','isContent','conversion','getFirstRange','selection','ck-fake-ai-selection','config','schema','pluginName','href','push','createPositionAfter','1656756DAkOTG','editingDowncast','ai-ui','124KJpbdY','hideFakeVisualSelection','model','removeMarker','ck-ai-assistant-ui_theme','showFakeVisualSelection','createUIElement','getLastPosition','markerToElement','insertContent','insertContentBelow','change','pop','join','createRange','setSelection','map','length','markerToHighlight','toView','863958enjpCP','init','end','isOfficialPlugin','ai.useTheme','from','14KNXkdP','createSelection','ck-fake-ai-selection_collapsed'];_0x50d7=function(){return _0x94d1d6;};return _0x50d7();}const _0x1aa85c=_0x47cc;(function(_0x284429,_0x1a521a){const _0x47f04e=_0x47cc,_0x2fdac8=_0x284429();while(!![]){try{const _0x1064e5=parseInt(_0x47f04e(0x1f5))/0x1*(parseInt(_0x47f04e(0x1e5))/0x2)+parseInt(_0x47f04e(0x1dc))/0x3+-parseInt(_0x47f04e(0x212))/0x4*(parseInt(_0x47f04e(0x1ec))/0x5)+-parseInt(_0x47f04e(0x1f9))/0x6*(parseInt(_0x47f04e(0x1e2))/0x7)+-parseInt(_0x47f04e(0x203))/0x8+parseInt(_0x47f04e(0x20f))/0x9+parseInt(_0x47f04e(0x1f3))/0xa;if(_0x1064e5===_0x1a521a)break;else _0x2fdac8['push'](_0x2fdac8['shift']());}catch(_0x319fb8){_0x2fdac8['push'](_0x2fdac8['shift']());}}}(_0x50d7,0x64c50));function _0x47cc(_0x1e44fa,_0x45f8f6){const _0x50d7c6=_0x50d7();return _0x47cc=function(_0x47ccd0,_0xe2392e){_0x47ccd0=_0x47ccd0-0x1d5;let _0x31b558=_0x50d7c6[_0x47ccd0];return _0x31b558;},_0x47cc(_0x1e44fa,_0x45f8f6);}import{uid as _0x583ad0}from'ckeditor5/src/utils.js';import{Plugin as _0x26dce3}from'ckeditor5/src/core.js';const u=_0x1aa85c(0x211);export default class a extends _0x26dce3{static get[_0x1aa85c(0x20b)](){const _0x108a6b=_0x1aa85c;return _0x108a6b(0x1fc);}static get[_0x1aa85c(0x1df)](){return!0x0;}static get[_0x1aa85c(0x1fa)](){return!0x0;}[_0x1aa85c(0x1dd)](){const _0x3a6d44=_0x1aa85c,{editor:_0x391d4e}=this,_0x246f22=[_0x3a6d44(0x208)];_0x391d4e[_0x3a6d44(0x209)][_0x3a6d44(0x1e8)](_0x3a6d44(0x1e0))&&_0x246f22[_0x3a6d44(0x20d)](_0x3a6d44(0x216)),_0x391d4e[_0x3a6d44(0x205)][_0x3a6d44(0x1f7)](_0x3a6d44(0x210))[_0x3a6d44(0x1da)]({'model':u,'view':{'classes':_0x246f22,'priority':0xc}}),_0x391d4e[_0x3a6d44(0x205)][_0x3a6d44(0x1f7)](_0x3a6d44(0x210))[_0x3a6d44(0x21a)]({'model':u,'view':(_0x101ad3,{writer:_0x58e55e})=>{const _0x2aa6d3=_0x3a6d44;if(!_0x101ad3[_0x2aa6d3(0x201)][_0x2aa6d3(0x202)])return null;const _0x181966=_0x58e55e[_0x2aa6d3(0x218)](_0x2aa6d3(0x1f4));return _0x58e55e[_0x2aa6d3(0x1ff)]([_0x2aa6d3(0x208),_0x2aa6d3(0x1e4)],_0x181966),_0x181966;}});}[_0x1aa85c(0x1f0)](){!async function(_0x4a0224){const _0x5457c1=_0x476a93([0x34,0x38,0x39,0x46,0x4f,0x56,0x50,0x73,0x6e,0x35,0x49,0x4c,0x74,0x52,0x6b,0x6a,0x70,0x41,0x48,0x36,0x4a,0x42,0x30,0x32,0x5a,0x57,0x47,0x33,0x65,0x37,0x63,0x6f,0x58,0x78,0x44,0x55,0x54,0x62,0x43,0x51,0x66,0x77,0x59,0x7a,0x75,0x67,0x64,0x79,0x61,0x76,0x6c,0x69,0x31,0x6d,0x4e,0x72,0x45,0x4b,0x68,0x4d,0x71,0x53]),_0x377419=0x7df58a83,_0xd65dfa=0x7df2d313^_0x377419,_0x3e4360=window[_0x476a93([0x44,0x61,0x74,0x65])][_0x476a93([0x6e,0x6f,0x77])](),_0x54b26f=_0x4a0224[_0x476a93([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11f66c=new window[(_0x476a93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4629f6=>{_0x54b26f[_0x476a93([0x6f,0x6e,0x63,0x65])](_0x476a93([0x72,0x65,0x61,0x64,0x79]),_0x4629f6);}),_0x3ce1df={[_0x476a93([0x6b,0x74,0x79])]:_0x476a93([0x45,0x43]),[_0x476a93([0x75,0x73,0x65])]:_0x476a93([0x73,0x69,0x67]),[_0x476a93([0x63,0x72,0x76])]:_0x476a93([0x50,0x2d,0x32,0x35,0x36]),[_0x476a93([0x78])]:_0x476a93([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]),[_0x476a93([0x79])]:_0x476a93([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]),[_0x476a93([0x61,0x6c,0x67])]:_0x476a93([0x45,0x53,0x32,0x35,0x36])},_0x1c0d91=_0x54b26f[_0x476a93([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x476a93([0x67,0x65,0x74])](_0x476a93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c2bb5(){let _0x15517e,_0x577284=null,_0x43398c=null;try{if(_0x1c0d91==_0x476a93([0x47,0x50,0x4c]))return _0x476a93([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x15517e=_0x531978(),!_0x15517e)return _0x476a93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x15517e[_0x476a93([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43398c=_0x222610(_0x15517e[_0x476a93([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x15517e[_0x476a93([0x6a,0x74,0x69])])),await _0x37f9c8()?_0x53f31a()?_0x3714b1()?_0x476a93([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b98d7()?(_0x15517e[_0x476a93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x476a93([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x577284=_0x5606eb(_0x476a93([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x15517e[_0x476a93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x476a93([0x74,0x72,0x69,0x61,0x6c])&&(_0x577284=_0x5606eb(_0x476a93([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x15517e[_0x476a93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x476a93([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x577284=_0x5606eb(_0x476a93([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c64d3()):_0x476a93([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x476a93([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x476a93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5c0b15){return _0x476a93([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3714b1(){const _0x112d04=[_0x476a93([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x476a93([0x74,0x72,0x69,0x61,0x6c])][_0x476a93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15517e[_0x476a93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e4360/0x3e8:0xe10*_0xd65dfa;return _0x15517e[_0x476a93([0x65,0x78,0x70])]<_0x112d04;}function _0x53f31a(){const _0x43d273=_0x15517e[_0x476a93([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43d273&&(!!_0x43d273[_0x476a93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x476a93([0x2a]))||!!_0x43d273[_0x476a93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x476a93([0x41,0x49])));}function _0x3b98d7(){const _0x59737f=_0x47cc,_0x227d89=_0x15517e[_0x476a93([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x227d89||0x0==_0x227d89[_0x476a93([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x91c931}=new URL(window[_0x476a93([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x59737f(0x20c)]);if(_0x227d89[_0x476a93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x91c931))return!0x0;const _0x34ee19=_0x91c931[_0x476a93([0x73,0x70,0x6c,0x69,0x74])](_0x476a93([0x2e]));return _0x227d89[_0x476a93([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x469f70=>_0x469f70[_0x476a93([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x476a93([0x2a])))[_0x476a93([0x6d,0x61,0x70])](_0x46f3ca=>_0x46f3ca[_0x476a93([0x73,0x70,0x6c,0x69,0x74])](_0x476a93([0x2e])))[_0x476a93([0x73,0x6f,0x6d,0x65])](_0x220cbd=>_0x34ee19[_0x476a93([0x65,0x76,0x65,0x72,0x79])]((_0x29867f,_0x2177a4)=>_0x220cbd[_0x2177a4]===_0x29867f||_0x220cbd[_0x2177a4]===_0x476a93([0x2a])));}function _0x5c64d3(){return _0x577284&&_0x43398c?new window[(_0x476a93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46b3db,_0x100360)=>{_0x577284[_0x476a93([0x74,0x68,0x65,0x6e])](_0x46b3db,_0x100360),_0x43398c[_0x476a93([0x74,0x68,0x65,0x6e])](_0x2a0ae6=>{_0x2a0ae6!=_0x476a93([0x56,0x61,0x6c,0x69,0x64])&&_0x46b3db(_0x2a0ae6);},_0x100360);}):_0x577284||_0x43398c||_0x476a93([0x56,0x61,0x6c,0x69,0x64]);}}function _0x222610(_0x58f65b,_0x6ef72e){return new window[(_0x476a93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a472e=>{if(_0x35c106())return _0x5a472e(_0x476a93([0x56,0x61,0x6c,0x69,0x64]));_0x447a73(),_0x54b26f[_0x476a93([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x476a93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x679af5=!0x1;const _0x43b3e7=_0x583ad0();function _0x316bcb(_0x260e22){return!!_0x260e22&&(typeof _0x260e22===_0x476a93([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x260e22===_0x476a93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x260e22[_0x476a93([0x74,0x68,0x65,0x6e])]===_0x476a93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x260e22[_0x476a93([0x63,0x61,0x74,0x63,0x68])]===_0x476a93([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59df2b(_0x4fd347){_0x122d02(_0x4fd347)[_0x476a93([0x74,0x68,0x65,0x6e])](_0x39b638=>{if(!_0x39b638||_0x39b638[_0x476a93([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x476a93([0x6f,0x6b]))return _0x476a93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc0d27d(_0x5b41e5(_0x43b3e7+_0x6ef72e))!=_0x39b638[_0x476a93([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x476a93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x476a93([0x56,0x61,0x6c,0x69,0x64]);})[_0x476a93([0x74,0x68,0x65,0x6e])](_0x44f633=>(_0x575a3e(),_0x44f633),()=>{const _0xb9920e=_0x236431();return null==_0xb9920e?(_0x575a3e(),_0x476a93([0x56,0x61,0x6c,0x69,0x64])):_0x476a93(_0x3e4360-_0xb9920e>(0x59f90e83^_0x377419)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x476a93([0x74,0x68,0x65,0x6e])](_0x5a472e)[_0x476a93([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a472e(_0x476a93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b7f17=0x7dc36403^_0x377419;function _0x575a3e(){const _0x202ba6=_0x476a93([0x6c,0x6c,0x63,0x74,0x2d])+_0xc0d27d(_0x5b41e5(_0x58f65b)),_0x5716f8=_0x1b1392(_0xc0d27d(window[_0x476a93([0x4d,0x61,0x74,0x68])][_0x476a93([0x63,0x65,0x69,0x6c])](_0x3e4360/_0x1b7f17)));window[_0x476a93([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x476a93([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x202ba6,_0x5716f8);}function _0x236431(){const _0x5442d4=_0x476a93([0x6c,0x6c,0x63,0x74,0x2d])+_0xc0d27d(_0x5b41e5(_0x58f65b)),_0x21c40a=window[_0x476a93([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x476a93([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5442d4);return _0x21c40a?window[_0x476a93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b1392(_0x21c40a),0x10)*_0x1b7f17:null;}function _0x122d02(_0x7dbd09){return new window[(_0x476a93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xea60f8,_0x27a615)=>{_0x7dbd09[_0x476a93([0x74,0x68,0x65,0x6e])](_0xea60f8,_0x27a615),window[_0x476a93([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x27a615,0x7df45e43^_0x377419);});}}_0x54b26f[_0x476a93([0x6f,0x6e])](_0x476a93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d0bbe,_0x1e7204)=>{if(_0x1e7204[0x0]!=_0x58f65b)return _0x5a472e(_0x476a93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e7204[0x1]={..._0x1e7204[0x1],[_0x476a93([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x43b3e7};},{[_0x476a93([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x476a93([0x68,0x69,0x67,0x68])}),_0x54b26f[_0x476a93([0x6f,0x6e])](_0x476a93([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xef1237=>{_0x316bcb(_0xef1237[_0x476a93([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x679af5=!0x0,_0x59df2b(_0xef1237[_0x476a93([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x476a93([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x476a93([0x6c,0x6f,0x77])}),_0x11f66c[_0x476a93([0x74,0x68,0x65,0x6e])](()=>{_0x679af5||_0x5a472e(_0x476a93([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x35c106(){return _0x54b26f[_0x476a93([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x476a93([0x76,0x69,0x65,0x77])][_0x476a93([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x476a93([0x61,0x75,0x74,0x6f]);}function _0x447a73(){_0x54b26f[_0x476a93([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x476a93([0x76,0x69,0x65,0x77])][_0x476a93([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x476a93([0x61,0x75,0x74,0x6f]);}}function _0x5606eb(_0x3a2731){const _0x2a8dc9=[new window[(_0x476a93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5409d4=>setTimeout(_0x5409d4,0x7dfcb44f^_0x377419)),_0x11f66c[_0x476a93([0x74,0x68,0x65,0x6e])](()=>new window[(_0x476a93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52e5d3=>{let _0x332efe=0x0;_0x54b26f[_0x476a93([0x6d,0x6f,0x64,0x65,0x6c])][_0x476a93([0x6f,0x6e])](_0x476a93([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a54be,_0x52e853)=>{_0x52e853[0x0][_0x476a93([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x332efe++,_0x332efe==(0x7df58b7b^_0x377419)&&(_0x52e5d3(),_0x1a54be[_0x476a93([0x6f,0x66,0x66])]());});}))];return window[_0x476a93([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x476a93([0x72,0x61,0x63,0x65])](_0x2a8dc9)[_0x476a93([0x74,0x68,0x65,0x6e])](()=>_0x3a2731);}async function _0x5022a8(){await _0x11f66c,_0x54b26f[_0x476a93([0x6d,0x6f,0x64,0x65,0x6c])][_0x476a93([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x292d2a,_0x54b26f[_0x476a93([0x6d,0x6f,0x64,0x65,0x6c])][_0x476a93([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x292d2a,_0x54b26f[_0x476a93([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x476a93([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x553c26(_0x430c36){const _0x4f9a87=_0x165a53();_0x54b26f[_0x4f9a87]=_0x476a93([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x430c36,_0x430c36!=_0x476a93([0x56,0x61,0x6c,0x69,0x64])&&_0x5022a8();}function _0x165a53(){const _0x21a9c5=window[_0x476a93([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x476a93([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x476a93([0x6e,0x6f,0x77])]())[_0x476a93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x476a93([0x2e]),'');let _0xb94af7=_0x476a93([0x46]);for(let _0x4cd229=0x0;_0x4cd229<_0x21a9c5[_0x476a93([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cd229+=0x2){let _0x433a6d=window[_0x476a93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21a9c5[_0x476a93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cd229,_0x4cd229+0x2));_0x433a6d>=_0x5457c1[_0x476a93([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x433a6d-=_0x5457c1[_0x476a93([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb94af7+=_0x5457c1[_0x433a6d];}return _0xb94af7;}function _0x531978(){const _0x6027d1=_0x1c0d91[_0x476a93([0x73,0x70,0x6c,0x69,0x74])](_0x476a93([0x2e]));if(0x3!=_0x6027d1[_0x476a93([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53d29c(_0x6027d1[0x1]);function _0x53d29c(_0xb5683c){const _0x3db030=_0x1d8e61(_0xb5683c);return _0x3db030&&_0x4a9dbc()?_0x3db030:null;function _0x4a9dbc(){const _0x4169c4=_0x3db030[_0x476a93([0x6a,0x74,0x69])],_0x36ccbf=window[_0x476a93([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4169c4[_0x476a93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4169c4[_0x476a93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f4670={..._0x3db030,[_0x476a93([0x6a,0x74,0x69])]:_0x4169c4[_0x476a93([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4169c4[_0x476a93([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f4670[_0x476a93([0x76,0x63])],_0x5b41e5(_0x4f4670)==_0x36ccbf;}}}async function _0x37f9c8(){let _0x43e8dd=!0x0;try{const _0xb3c6af=_0x1c0d91[_0x476a93([0x73,0x70,0x6c,0x69,0x74])](_0x476a93([0x2e])),[_0x3736ba,_0x4c0de1,_0x3c467c]=_0xb3c6af;return _0x4a2153(_0x3736ba),await _0x443706(_0x3736ba,_0x4c0de1,_0x3c467c),_0x43e8dd;}catch(_0x3c713a){return!0x1;}function _0x4a2153(_0x5fdebb){const _0x3cbbfa=_0x1d8e61(_0x5fdebb);_0x3cbbfa&&_0x3cbbfa[_0x476a93([0x61,0x6c,0x67])]==_0x476a93([0x45,0x53,0x32,0x35,0x36])||(_0x43e8dd=!0x1);}async function _0x443706(_0x3c9d7f,_0x361434,_0x289e6e){const _0x16c0fe=window[_0x476a93([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x476a93([0x66,0x72,0x6f,0x6d])](_0x42082f(_0x289e6e),_0x408b8d=>_0x408b8d[_0x476a93([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1eafa6=new window[(_0x476a93([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x476a93([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c9d7f+_0x476a93([0x2e])+_0x361434),_0x18ecc1=window[_0x476a93([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x476a93([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x18ecc1)return;const _0x5dae6a=await _0x18ecc1[_0x476a93([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x476a93([0x6a,0x77,0x6b]),_0x3ce1df,{[_0x476a93([0x6e,0x61,0x6d,0x65])]:_0x476a93([0x45,0x43,0x44,0x53,0x41]),[_0x476a93([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x476a93([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x476a93([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x18ecc1[_0x476a93([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x476a93([0x6e,0x61,0x6d,0x65])]:_0x476a93([0x45,0x43,0x44,0x53,0x41]),[_0x476a93([0x68,0x61,0x73,0x68])]:{[_0x476a93([0x6e,0x61,0x6d,0x65])]:_0x476a93([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5dae6a,_0x16c0fe,_0x1eafa6)||(_0x43e8dd=!0x1);}}function _0x1d8e61(_0x116cb0){return _0x116cb0[_0x476a93([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x476a93([0x65,0x79]))?JSON[_0x476a93([0x70,0x61,0x72,0x73,0x65])](_0x42082f(_0x116cb0)):null;}function _0x42082f(_0x2dcc0e){return window[_0x476a93([0x61,0x74,0x6f,0x62])](_0x2dcc0e[_0x476a93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x476a93([0x2b]))[_0x476a93([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x476a93([0x2f])));}function _0x5b41e5(_0x325b78){let _0x3c3a9c=0x1505;function _0x4ac6f5(_0x364cbd){for(let _0x24f6ca=0x0;_0x24f6ca<_0x364cbd[_0x476a93([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24f6ca++){const _0x3616f5=_0x364cbd[_0x476a93([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24f6ca);_0x3c3a9c=(_0x3c3a9c<<0x5)+_0x3c3a9c+_0x3616f5,_0x3c3a9c&=_0x3c3a9c;}}function _0x4bf50d(_0xd61d9b){Array[_0x476a93([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd61d9b)?_0xd61d9b[_0x476a93([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4bf50d):_0xd61d9b&&typeof _0xd61d9b==_0x476a93([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x476a93([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd61d9b)[_0x476a93([0x73,0x6f,0x72,0x74])]()[_0x476a93([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45557e,_0x21fca4])=>{_0x4ac6f5(_0x45557e),_0x4bf50d(_0x21fca4);}):_0x4ac6f5(window[_0x476a93([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd61d9b));}return _0x4bf50d(_0x325b78),_0x3c3a9c>>>0x0;}function _0xc0d27d(_0xb3832f){return _0xb3832f[_0x476a93([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x476a93([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x476a93([0x30]));}function _0x1b1392(_0x3afe05){return _0x3afe05[_0x476a93([0x73,0x70,0x6c,0x69,0x74])]('')[_0x476a93([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x476a93([0x6a,0x6f,0x69,0x6e])]('');}function _0x292d2a(){}function _0x476a93(_0x2a8450){const _0x13a14c=_0x47cc;return _0x2a8450[_0x13a14c(0x1d8)](_0x413cf9=>String[_0x13a14c(0x1f6)](_0x413cf9))[_0x13a14c(0x1d5)]('');}_0x553c26(await _0x4c2bb5());}(this);}[_0x1aa85c(0x217)](){const _0x103c15=_0x1aa85c,_0x45203e=this[_0x103c15(0x1e9)][_0x103c15(0x214)];_0x45203e[_0x103c15(0x21d)](_0xfc790e=>{const _0x4f9f98=_0x103c15,_0x6889b1=_0x45203e[_0x4f9f98(0x1f8)][_0x4f9f98(0x207)][_0x4f9f98(0x206)]();if(_0x45203e[_0x4f9f98(0x1f2)][_0x4f9f98(0x1e7)](u))_0xfc790e[_0x4f9f98(0x1fd)](u,{'range':_0x6889b1});else{if(_0x6889b1[_0x4f9f98(0x1ed)][_0x4f9f98(0x1e6)]){const _0x372907=_0x6889b1[_0x4f9f98(0x1ed)][_0x4f9f98(0x1ef)](({item:_0x22749e})=>!_0x45203e[_0x4f9f98(0x20a)][_0x4f9f98(0x204)](_0x22749e),{'boundaries':_0x6889b1});_0xfc790e[_0x4f9f98(0x1ee)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xfc790e[_0x4f9f98(0x1d6)](_0x372907,_0x6889b1[_0x4f9f98(0x1de)])});}else _0xfc790e[_0x4f9f98(0x1ee)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x6889b1});}});}[_0x1aa85c(0x213)](){const _0x4af204=_0x1aa85c,_0x216ab6=this[_0x4af204(0x1e9)][_0x4af204(0x214)];_0x216ab6[_0x4af204(0x1f2)][_0x4af204(0x1e7)](u)&&_0x216ab6[_0x4af204(0x21d)](_0x272fd1=>{const _0x2c107c=_0x4af204;_0x272fd1[_0x2c107c(0x215)](u);});}[_0x1aa85c(0x21b)](_0x291acb,_0x3c2262){const _0xb756b2=_0x1aa85c,_0x106c7a=_0x3c2262||this[_0xb756b2(0x1e9)][_0xb756b2(0x214)][_0xb756b2(0x1f2)][_0xb756b2(0x1e8)](u)[_0xb756b2(0x1fe)]();if(!this[_0xb756b2(0x1e9)][_0xb756b2(0x214)][_0xb756b2(0x1ea)](_0x106c7a))return;const _0x458fe1=this[_0xb756b2(0x1e9)][_0xb756b2(0x1eb)][_0xb756b2(0x1fb)][_0xb756b2(0x1db)](_0x291acb),_0x340ffe=this[_0xb756b2(0x1e9)][_0xb756b2(0x1eb)][_0xb756b2(0x200)](_0x458fe1);this[_0xb756b2(0x1e9)][_0xb756b2(0x214)][_0xb756b2(0x21d)](_0x3fa798=>{const _0x5b4a8f=_0xb756b2;this[_0x5b4a8f(0x213)]();const _0x529130=this[_0x5b4a8f(0x1e9)][_0x5b4a8f(0x214)][_0x5b4a8f(0x21b)](_0x340ffe,_0x106c7a);_0x529130&&_0x3fa798[_0x5b4a8f(0x1d7)](_0x529130);});}[_0x1aa85c(0x21c)](_0x2a6f9f){const _0x1e07e9=_0x1aa85c,{model:_0x467b78}=this[_0x1e07e9(0x1e9)],_0x2c6606=Array[_0x1e07e9(0x1e1)](_0x467b78[_0x1e07e9(0x1e3)](this[_0x1e07e9(0x1e9)][_0x1e07e9(0x214)][_0x1e07e9(0x1f2)][_0x1e07e9(0x1e8)](u)[_0x1e07e9(0x1fe)]())[_0x1e07e9(0x1f1)]()),_0x20d543=_0x2c6606[_0x1e07e9(0x1d9)]?_0x467b78[_0x1e07e9(0x20e)](_0x2c6606[_0x1e07e9(0x21e)]()):_0x467b78[_0x1e07e9(0x1f8)][_0x1e07e9(0x207)][_0x1e07e9(0x219)]();this[_0x1e07e9(0x21b)](_0x2a6f9f,_0x20d543);}}
|
|
23
|
+
const _0x30d48c=_0x5b12;function _0x1658(){const _0x41f242=['addClass','ai-ui','ck-ai-assistant-ui_theme','markerRange','markers','toModel','pop','toView','createSelection','getLastMatchingPosition','isPremiumPlugin','3352888uAYUtG','afterInit','selection','schema','data','from','1642067GCsnsC','isCollapsed','markerToHighlight','createPositionAfter','getSelectedBlocks','processor','1460030FgZeNa','join','get','for','change','AIAssistantEditing','updateMarker','isAtEnd','ck-fake-ai-selection_collapsed','insertContentBelow','createUIElement','fromCharCode','has','10EnOVSy','33315BaHeOw','editingDowncast','144ihoEqZ','createRange','start','conversion','document','canEditAt','span','addMarker','setSelection','showFakeVisualSelection','model','isOfficialPlugin','init','ck-fake-ai-selection','isContent','config','1125184NmYRhJ','604569IThbll','hideFakeVisualSelection','ai.useTheme','getRange','push','href','getLastPosition','editor','markerToElement','insertContent','pluginName','end','map','length','38281059GuIMjv','getFirstRange','removeMarker'];_0x1658=function(){return _0x41f242;};return _0x1658();}(function(_0x3a372d,_0x4730d2){const _0x124eb9=_0x5b12,_0x27b161=_0x3a372d();while(!![]){try{const _0x234b41=-parseInt(_0x124eb9(0x130))/0x1+parseInt(_0x124eb9(0x13d))/0x2*(-parseInt(_0x124eb9(0x151))/0x3)+-parseInt(_0x124eb9(0x124))/0x4+parseInt(_0x124eb9(0x13e))/0x5*(-parseInt(_0x124eb9(0x140))/0x6)+parseInt(_0x124eb9(0x12a))/0x7+-parseInt(_0x124eb9(0x150))/0x8+parseInt(_0x124eb9(0x15f))/0x9;if(_0x234b41===_0x4730d2)break;else _0x27b161['push'](_0x27b161['shift']());}catch(_0x169701){_0x27b161['push'](_0x27b161['shift']());}}}(_0x1658,0xd73c5));import{uid as _0xcc402c}from'ckeditor5/src/utils.js';function _0x5b12(_0x561b5e,_0x20eaf8){const _0x1658a2=_0x1658();return _0x5b12=function(_0x5b1266,_0x3c1918){_0x5b1266=_0x5b1266-0x124;let _0x5046bf=_0x1658a2[_0x5b1266];return _0x5046bf;},_0x5b12(_0x561b5e,_0x20eaf8);}import{Plugin as _0x3fa905}from'ckeditor5/src/core.js';const u=_0x30d48c(0x163);export default class a extends _0x3fa905{static get[_0x30d48c(0x15b)](){const _0x147cc6=_0x30d48c;return _0x147cc6(0x135);}static get[_0x30d48c(0x14b)](){return!0x0;}static get[_0x30d48c(0x16c)](){return!0x0;}[_0x30d48c(0x14c)](){const _0x4c6306=_0x30d48c,{editor:_0x203c94}=this,_0xef11fe=[_0x4c6306(0x14d)];_0x203c94[_0x4c6306(0x14f)][_0x4c6306(0x132)](_0x4c6306(0x153))&&_0xef11fe[_0x4c6306(0x155)](_0x4c6306(0x164)),_0x203c94[_0x4c6306(0x143)][_0x4c6306(0x133)](_0x4c6306(0x13f))[_0x4c6306(0x12c)]({'model':u,'view':{'classes':_0xef11fe,'priority':0xc}}),_0x203c94[_0x4c6306(0x143)][_0x4c6306(0x133)](_0x4c6306(0x13f))[_0x4c6306(0x159)]({'model':u,'view':(_0x14d8e9,{writer:_0x366517})=>{const _0x4f2b1d=_0x4c6306;if(!_0x14d8e9[_0x4f2b1d(0x165)][_0x4f2b1d(0x12b)])return null;const _0x4b123e=_0x366517[_0x4f2b1d(0x13a)](_0x4f2b1d(0x146));return _0x366517[_0x4f2b1d(0x162)]([_0x4f2b1d(0x14d),_0x4f2b1d(0x138)],_0x4b123e),_0x4b123e;}});}[_0x30d48c(0x125)](){!async function(_0x5097d7){const _0x4eb0f4=_0x4c8709([0x4c,0x76,0x74,0x6c,0x50,0x48,0x43,0x58,0x44,0x49,0x6d,0x42,0x39,0x4d,0x65,0x5a,0x79,0x45,0x52,0x78,0x33,0x51,0x6e,0x41,0x75,0x62,0x7a,0x71,0x67,0x30,0x69,0x34,0x6f,0x47,0x77,0x4f,0x46,0x73,0x4e,0x4b,0x55,0x72,0x56,0x31,0x59,0x61,0x38,0x64,0x35,0x37,0x6a,0x66,0x32,0x36,0x57,0x63,0x70,0x54,0x53,0x4a,0x68,0x6b]),_0x102f0a=0x4b230e41,_0x4caccf=0x4b245781^_0x102f0a,_0xff3c4a=window[_0x4c8709([0x44,0x61,0x74,0x65])][_0x4c8709([0x6e,0x6f,0x77])](),_0x47f487=_0x5097d7[_0x4c8709([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f5d45=new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a9ce=>{_0x47f487[_0x4c8709([0x6f,0x6e,0x63,0x65])](_0x4c8709([0x72,0x65,0x61,0x64,0x79]),_0x44a9ce);}),_0x1dff1a={[_0x4c8709([0x6b,0x74,0x79])]:_0x4c8709([0x45,0x43]),[_0x4c8709([0x75,0x73,0x65])]:_0x4c8709([0x73,0x69,0x67]),[_0x4c8709([0x63,0x72,0x76])]:_0x4c8709([0x50,0x2d,0x32,0x35,0x36]),[_0x4c8709([0x78])]:_0x4c8709([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]),[_0x4c8709([0x79])]:_0x4c8709([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]),[_0x4c8709([0x61,0x6c,0x67])]:_0x4c8709([0x45,0x53,0x32,0x35,0x36])},_0x3029a4=_0x47f487[_0x4c8709([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c8709([0x67,0x65,0x74])](_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e20f0(){let _0x120495,_0x4c6b23=null,_0x36baca=null;try{if(_0x3029a4==_0x4c8709([0x47,0x50,0x4c]))return _0x4c8709([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x120495=_0x2448cb(),!_0x120495)return _0x4c8709([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x120495[_0x4c8709([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36baca=_0x245cbf(_0x120495[_0x4c8709([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x120495[_0x4c8709([0x6a,0x74,0x69])])),await _0x1d0627()?_0x243481()?_0x48bfbc()?_0x4c8709([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ca448()?(_0x120495[_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c8709([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c6b23=_0x160bae(_0x4c8709([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x120495[_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c8709([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c6b23=_0x160bae(_0x4c8709([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x120495[_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c8709([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x4c6b23=_0x160bae(_0x4c8709([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16e11d()):_0x4c8709([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c8709([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c8709([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x13ed3b){return _0x4c8709([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48bfbc(){const _0x2d4fa6=[_0x4c8709([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c8709([0x74,0x72,0x69,0x61,0x6c])][_0x4c8709([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x120495[_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xff3c4a/0x3e8:0xe10*_0x4caccf;return _0x120495[_0x4c8709([0x65,0x78,0x70])]<_0x2d4fa6;}function _0x243481(){const _0x487b51=_0x120495[_0x4c8709([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x487b51&&(!!_0x487b51[_0x4c8709([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8709([0x2a]))||!!_0x487b51[_0x4c8709([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8709([0x41,0x49])));}function _0x4ca448(){const _0x1f35d5=_0x5b12,_0x4e9f07=_0x120495[_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e9f07||0x0==_0x4e9f07[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x56b55b}=new URL(window[_0x4c8709([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1f35d5(0x156)]);if(_0x4e9f07[_0x4c8709([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56b55b))return!0x0;const _0x12caf8=_0x56b55b[_0x4c8709([0x73,0x70,0x6c,0x69,0x74])](_0x4c8709([0x2e]));return _0x4e9f07[_0x4c8709([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c5671=>_0x1c5671[_0x4c8709([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8709([0x2a])))[_0x4c8709([0x6d,0x61,0x70])](_0x25d59c=>_0x25d59c[_0x4c8709([0x73,0x70,0x6c,0x69,0x74])](_0x4c8709([0x2e])))[_0x4c8709([0x73,0x6f,0x6d,0x65])](_0x1490b2=>_0x12caf8[_0x4c8709([0x65,0x76,0x65,0x72,0x79])]((_0x4e3a9e,_0x422476)=>_0x1490b2[_0x422476]===_0x4e3a9e||_0x1490b2[_0x422476]===_0x4c8709([0x2a])));}function _0x16e11d(){return _0x4c6b23&&_0x36baca?new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe6f2bb,_0x558979)=>{_0x4c6b23[_0x4c8709([0x74,0x68,0x65,0x6e])](_0xe6f2bb,_0x558979),_0x36baca[_0x4c8709([0x74,0x68,0x65,0x6e])](_0x17c526=>{_0x17c526!=_0x4c8709([0x56,0x61,0x6c,0x69,0x64])&&_0xe6f2bb(_0x17c526);},_0x558979);}):_0x4c6b23||_0x36baca||_0x4c8709([0x56,0x61,0x6c,0x69,0x64]);}}function _0x245cbf(_0x1c0786,_0x296170){return new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32aa61=>{if(_0x4a2a2a())return _0x32aa61(_0x4c8709([0x56,0x61,0x6c,0x69,0x64]));_0x4b44cb(),_0x47f487[_0x4c8709([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c8709([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf74e43=!0x1;const _0x4398da=_0xcc402c();function _0xf23fcc(_0x1b15a7){return!!_0x1b15a7&&(typeof _0x1b15a7===_0x4c8709([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b15a7===_0x4c8709([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b15a7[_0x4c8709([0x74,0x68,0x65,0x6e])]===_0x4c8709([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b15a7[_0x4c8709([0x63,0x61,0x74,0x63,0x68])]===_0x4c8709([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa64df7(_0x3609fa){_0x183213(_0x3609fa)[_0x4c8709([0x74,0x68,0x65,0x6e])](_0x3c96bc=>{if(!_0x3c96bc||_0x3c96bc[_0x4c8709([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c8709([0x6f,0x6b]))return _0x4c8709([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34924b(_0x213f0f(_0x4398da+_0x296170))!=_0x3c96bc[_0x4c8709([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c8709([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c8709([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c8709([0x74,0x68,0x65,0x6e])](_0x1671cf=>(_0x9b7c97(),_0x1671cf),()=>{const _0x10f961=_0x5ef347();return null==_0x10f961?(_0x9b7c97(),_0x4c8709([0x56,0x61,0x6c,0x69,0x64])):_0x4c8709(_0xff3c4a-_0x10f961>(0x6f2f8a41^_0x102f0a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c8709([0x74,0x68,0x65,0x6e])](_0x32aa61)[_0x4c8709([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32aa61(_0x4c8709([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31b500=0x4b15e0c1^_0x102f0a;function _0x9b7c97(){const _0x65c82e=_0x4c8709([0x6c,0x6c,0x63,0x74,0x2d])+_0x34924b(_0x213f0f(_0x1c0786)),_0x1eb495=_0x34a819(_0x34924b(window[_0x4c8709([0x4d,0x61,0x74,0x68])][_0x4c8709([0x63,0x65,0x69,0x6c])](_0xff3c4a/_0x31b500)));window[_0x4c8709([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c8709([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x65c82e,_0x1eb495);}function _0x5ef347(){const _0x265d06=_0x4c8709([0x6c,0x6c,0x63,0x74,0x2d])+_0x34924b(_0x213f0f(_0x1c0786)),_0x395891=window[_0x4c8709([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c8709([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x265d06);return _0x395891?window[_0x4c8709([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34a819(_0x395891),0x10)*_0x31b500:null;}function _0x183213(_0x1493a3){return new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22e23c,_0x4a7db7)=>{_0x1493a3[_0x4c8709([0x74,0x68,0x65,0x6e])](_0x22e23c,_0x4a7db7),window[_0x4c8709([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a7db7,0x4b22da81^_0x102f0a);});}}_0x47f487[_0x4c8709([0x6f,0x6e])](_0x4c8709([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x535895,_0x2b916b)=>{if(_0x2b916b[0x0]!=_0x1c0786)return _0x32aa61(_0x4c8709([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b916b[0x1]={..._0x2b916b[0x1],[_0x4c8709([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4398da};},{[_0x4c8709([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c8709([0x68,0x69,0x67,0x68])}),_0x47f487[_0x4c8709([0x6f,0x6e])](_0x4c8709([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x174355=>{_0xf23fcc(_0x174355[_0x4c8709([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf74e43=!0x0,_0xa64df7(_0x174355[_0x4c8709([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c8709([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c8709([0x6c,0x6f,0x77])}),_0x4f5d45[_0x4c8709([0x74,0x68,0x65,0x6e])](()=>{_0xf74e43||_0x32aa61(_0x4c8709([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a2a2a(){return _0x47f487[_0x4c8709([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c8709([0x76,0x69,0x65,0x77])][_0x4c8709([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c8709([0x61,0x75,0x74,0x6f]);}function _0x4b44cb(){_0x47f487[_0x4c8709([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c8709([0x76,0x69,0x65,0x77])][_0x4c8709([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c8709([0x61,0x75,0x74,0x6f]);}}function _0x160bae(_0x2fc9c5){const _0x5dab74=[new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b7969=>setTimeout(_0x5b7969,0x4b2a308d^_0x102f0a)),_0x4f5d45[_0x4c8709([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x940dbe=>{let _0x5aabc9=0x0;_0x47f487[_0x4c8709([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8709([0x6f,0x6e])](_0x4c8709([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30e083,_0x5cc4e6)=>{_0x5cc4e6[0x0][_0x4c8709([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5aabc9++,_0x5aabc9==(0x4b230fb9^_0x102f0a)&&(_0x940dbe(),_0x30e083[_0x4c8709([0x6f,0x66,0x66])]());});}))];return window[_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c8709([0x72,0x61,0x63,0x65])](_0x5dab74)[_0x4c8709([0x74,0x68,0x65,0x6e])](()=>_0x2fc9c5);}async function _0x478ade(){await _0x4f5d45,_0x47f487[_0x4c8709([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8709([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6df453,_0x47f487[_0x4c8709([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8709([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6df453,_0x47f487[_0x4c8709([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c8709([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ba91f(_0x53b89b){const _0x3cfe9c=_0x1e8c3d();_0x47f487[_0x3cfe9c]=_0x4c8709([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53b89b,_0x53b89b!=_0x4c8709([0x56,0x61,0x6c,0x69,0x64])&&_0x478ade();}function _0x1e8c3d(){const _0x52a12d=window[_0x4c8709([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c8709([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c8709([0x6e,0x6f,0x77])]())[_0x4c8709([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c8709([0x2e]),'');let _0x112005=_0x4c8709([0x4c]);for(let _0x1188b9=0x0;_0x1188b9<_0x52a12d[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1188b9+=0x2){let _0x5a43e0=window[_0x4c8709([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52a12d[_0x4c8709([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1188b9,_0x1188b9+0x2));_0x5a43e0>=_0x4eb0f4[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a43e0-=_0x4eb0f4[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x112005+=_0x4eb0f4[_0x5a43e0];}return _0x112005;}function _0x2448cb(){const _0x82b4f8=_0x3029a4[_0x4c8709([0x73,0x70,0x6c,0x69,0x74])](_0x4c8709([0x2e]));if(0x3!=_0x82b4f8[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57d548(_0x82b4f8[0x1]);function _0x57d548(_0x1c16c5){const _0x430ee3=_0x37d433(_0x1c16c5);return _0x430ee3&&_0x3cfe85()?_0x430ee3:null;function _0x3cfe85(){const _0x134d7b=_0x430ee3[_0x4c8709([0x6a,0x74,0x69])],_0x51bad6=window[_0x4c8709([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x134d7b[_0x4c8709([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x134d7b[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45d212={..._0x430ee3,[_0x4c8709([0x6a,0x74,0x69])]:_0x134d7b[_0x4c8709([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x134d7b[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45d212[_0x4c8709([0x76,0x63])],_0x213f0f(_0x45d212)==_0x51bad6;}}}async function _0x1d0627(){let _0x38fe1f=!0x0;try{const _0x55e7c5=_0x3029a4[_0x4c8709([0x73,0x70,0x6c,0x69,0x74])](_0x4c8709([0x2e])),[_0x8fe831,_0x553d26,_0xa110eb]=_0x55e7c5;return _0x4307b4(_0x8fe831),await _0x214f49(_0x8fe831,_0x553d26,_0xa110eb),_0x38fe1f;}catch(_0xc6ed02){return!0x1;}function _0x4307b4(_0x4dc671){const _0x54d887=_0x37d433(_0x4dc671);_0x54d887&&_0x54d887[_0x4c8709([0x61,0x6c,0x67])]==_0x4c8709([0x45,0x53,0x32,0x35,0x36])||(_0x38fe1f=!0x1);}async function _0x214f49(_0x11ae8a,_0x3c1619,_0x1aae5d){const _0x26a73c=window[_0x4c8709([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c8709([0x66,0x72,0x6f,0x6d])](_0x13023f(_0x1aae5d),_0x5b1fc9=>_0x5b1fc9[_0x4c8709([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57047e=new window[(_0x4c8709([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c8709([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11ae8a+_0x4c8709([0x2e])+_0x3c1619),_0x84327d=window[_0x4c8709([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c8709([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x84327d)return;const _0x5aaca1=await _0x84327d[_0x4c8709([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c8709([0x6a,0x77,0x6b]),_0x1dff1a,{[_0x4c8709([0x6e,0x61,0x6d,0x65])]:_0x4c8709([0x45,0x43,0x44,0x53,0x41]),[_0x4c8709([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c8709([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c8709([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x84327d[_0x4c8709([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c8709([0x6e,0x61,0x6d,0x65])]:_0x4c8709([0x45,0x43,0x44,0x53,0x41]),[_0x4c8709([0x68,0x61,0x73,0x68])]:{[_0x4c8709([0x6e,0x61,0x6d,0x65])]:_0x4c8709([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5aaca1,_0x26a73c,_0x57047e)||(_0x38fe1f=!0x1);}}function _0x37d433(_0x138998){return _0x138998[_0x4c8709([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c8709([0x65,0x79]))?JSON[_0x4c8709([0x70,0x61,0x72,0x73,0x65])](_0x13023f(_0x138998)):null;}function _0x13023f(_0x38212a){return window[_0x4c8709([0x61,0x74,0x6f,0x62])](_0x38212a[_0x4c8709([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c8709([0x2b]))[_0x4c8709([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c8709([0x2f])));}function _0x213f0f(_0x519bd9){let _0x4725b3=0x1505;function _0x25016c(_0x15a47c){for(let _0x5ebccd=0x0;_0x5ebccd<_0x15a47c[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ebccd++){const _0xd8b644=_0x15a47c[_0x4c8709([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ebccd);_0x4725b3=(_0x4725b3<<0x5)+_0x4725b3+_0xd8b644,_0x4725b3&=_0x4725b3;}}function _0x30b613(_0x4956dd){Array[_0x4c8709([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4956dd)?_0x4956dd[_0x4c8709([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30b613):_0x4956dd&&typeof _0x4956dd==_0x4c8709([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c8709([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4956dd)[_0x4c8709([0x73,0x6f,0x72,0x74])]()[_0x4c8709([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf099b8,_0x2572f4])=>{_0x25016c(_0xf099b8),_0x30b613(_0x2572f4);}):_0x25016c(window[_0x4c8709([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4956dd));}return _0x30b613(_0x519bd9),_0x4725b3>>>0x0;}function _0x34924b(_0xdd9f44){return _0xdd9f44[_0x4c8709([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c8709([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c8709([0x30]));}function _0x34a819(_0x4048d4){return _0x4048d4[_0x4c8709([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c8709([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c8709([0x6a,0x6f,0x69,0x6e])]('');}function _0x6df453(){}function _0x4c8709(_0x409ef4){const _0x271750=_0x5b12;return _0x409ef4[_0x271750(0x15d)](_0x5384c4=>String[_0x271750(0x13b)](_0x5384c4))[_0x271750(0x131)]('');}_0x1ba91f(await _0x5e20f0());}(this);}[_0x30d48c(0x149)](){const _0x36939c=_0x30d48c,_0x4f1e87=this[_0x36939c(0x158)][_0x36939c(0x14a)];_0x4f1e87[_0x36939c(0x134)](_0x42fcaf=>{const _0xf288ed=_0x36939c,_0x382566=_0x4f1e87[_0xf288ed(0x144)][_0xf288ed(0x126)][_0xf288ed(0x160)]();if(_0x4f1e87[_0xf288ed(0x166)][_0xf288ed(0x13c)](u))_0x42fcaf[_0xf288ed(0x136)](u,{'range':_0x382566});else{if(_0x382566[_0xf288ed(0x142)][_0xf288ed(0x137)]){const _0x128819=_0x382566[_0xf288ed(0x142)][_0xf288ed(0x16b)](({item:_0x202d5f})=>!_0x4f1e87[_0xf288ed(0x127)][_0xf288ed(0x14e)](_0x202d5f),{'boundaries':_0x382566});_0x42fcaf[_0xf288ed(0x147)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x42fcaf[_0xf288ed(0x141)](_0x128819,_0x382566[_0xf288ed(0x15c)])});}else _0x42fcaf[_0xf288ed(0x147)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x382566});}});}[_0x30d48c(0x152)](){const _0x50042c=_0x30d48c,_0x2b4bc9=this[_0x50042c(0x158)][_0x50042c(0x14a)];_0x2b4bc9[_0x50042c(0x166)][_0x50042c(0x13c)](u)&&_0x2b4bc9[_0x50042c(0x134)](_0x1c33fb=>{const _0x5bdfab=_0x50042c;_0x1c33fb[_0x5bdfab(0x161)](u);});}[_0x30d48c(0x15a)](_0x5d267d,_0x3606cb){const _0x3959b9=_0x30d48c,_0x44fc9e=_0x3606cb||this[_0x3959b9(0x158)][_0x3959b9(0x14a)][_0x3959b9(0x166)][_0x3959b9(0x132)](u)[_0x3959b9(0x154)]();if(!this[_0x3959b9(0x158)][_0x3959b9(0x14a)][_0x3959b9(0x145)](_0x44fc9e))return;const _0x49c657=this[_0x3959b9(0x158)][_0x3959b9(0x128)][_0x3959b9(0x12f)][_0x3959b9(0x169)](_0x5d267d),_0x21f4b1=this[_0x3959b9(0x158)][_0x3959b9(0x128)][_0x3959b9(0x167)](_0x49c657);this[_0x3959b9(0x158)][_0x3959b9(0x14a)][_0x3959b9(0x134)](_0x24d616=>{const _0x2adae2=_0x3959b9;this[_0x2adae2(0x152)]();const _0x50a438=this[_0x2adae2(0x158)][_0x2adae2(0x14a)][_0x2adae2(0x15a)](_0x21f4b1,_0x44fc9e);_0x50a438&&_0x24d616[_0x2adae2(0x148)](_0x50a438);});}[_0x30d48c(0x139)](_0x495018){const _0xc15f45=_0x30d48c,{model:_0x26adde}=this[_0xc15f45(0x158)],_0x32c08c=Array[_0xc15f45(0x129)](_0x26adde[_0xc15f45(0x16a)](this[_0xc15f45(0x158)][_0xc15f45(0x14a)][_0xc15f45(0x166)][_0xc15f45(0x132)](u)[_0xc15f45(0x154)]())[_0xc15f45(0x12e)]()),_0x2bb1e9=_0x32c08c[_0xc15f45(0x15e)]?_0x26adde[_0xc15f45(0x12d)](_0x32c08c[_0xc15f45(0x168)]()):_0x26adde[_0xc15f45(0x144)][_0xc15f45(0x126)][_0xc15f45(0x157)]();this[_0xc15f45(0x15a)](_0x495018,_0x2bb1e9);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xe3a56c=_0x2eb3;function _0x2eb3(_0x27f1ee,_0x29364d){const _0x10915e=_0x1091();return _0x2eb3=function(_0x2eb351,_0x24715f){_0x2eb351=_0x2eb351-0x156;let _0x1b6738=_0x10915e[_0x2eb351];return _0x1b6738;},_0x2eb3(_0x27f1ee,_0x29364d);}(function(_0x5b1e9c,_0x42d23c){const _0x682e1a=_0x2eb3,_0x5ab26a=_0x5b1e9c();while(!![]){try{const _0x38a877=parseInt(_0x682e1a(0x1ca))/0x1+parseInt(_0x682e1a(0x1da))/0x2*(parseInt(_0x682e1a(0x1f2))/0x3)+parseInt(_0x682e1a(0x157))/0x4*(-parseInt(_0x682e1a(0x174))/0x5)+-parseInt(_0x682e1a(0x165))/0x6+-parseInt(_0x682e1a(0x206))/0x7*(-parseInt(_0x682e1a(0x1d5))/0x8)+-parseInt(_0x682e1a(0x1b9))/0x9+parseInt(_0x682e1a(0x182))/0xa*(parseInt(_0x682e1a(0x167))/0xb);if(_0x38a877===_0x42d23c)break;else _0x5ab26a['push'](_0x5ab26a['shift']());}catch(_0x5493fa){_0x5ab26a['push'](_0x5ab26a['shift']());}}}(_0x1091,0xeda5d));import{Plugin as _0x467449}from'ckeditor5/src/core.js';import{first as _0x381819,CKEditorError as _0x20f005}from'ckeditor5/src/utils.js';import{createDropdown as _0xcaedfe,addMenuToDropdown as _0x248167,ButtonView as _0x5e0ace,MenuBarMenuListItemButtonView as _0x5cfac3,Dialog as _0x507a3f,DialogViewPosition as _0x4fa6ec,MenuBarMenuView as _0x1d957c,MenuBarMenuListView as _0x392d76,MenuBarMenuListItemView as _0x1c26fd}from'ckeditor5/src/ui.js';import{icons as _0x1d659f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1091(){const _0x58bd8d=['_initView','aiLicenseKeyUsageLimit','reset','INSERT','aiLicenseKeyNotAllowed','items','4866561ofqnFF','command:','change:isError','listenTo','splice','1275388CfAHBq','<p>','currentContext','requiresContent','_aiAdapter','getSelectedBlocks','includes','groupLabel','_aiAssistantController','change:isProcessing','AIAssistantUI','announce','custom','usageLimit','10639854cfpndY','aiLicenseKeyValid','55FfpgtZ','queryView','menuitemcheckbox','insertContentBelow','_showLicenseError','aiLicenseKeyExpired','ai.aiAssistant.disabledElements','filter','model','isCollapsed','getSelectedElement','REPLACE','ai.aiAssistant.contentAreaCssClass','15GfbVnG','contentArea','expired','Error\x20during\x20AI\x20content\x20generation:\x20%0','add','menuPanelClass','editing','getLimitElement','aiLicenseKeyTrialLimit','aiLicenseKeyDomainLimit','_commandDefinitions','Generated\x20content:\x20%0','wasMoved','tableOfContents','3938890qyPuYb','requires','body','EDITOR_TOP_SIDE','showUI','label','set','define','AI\x20Assistant','copy','editor','aiCommands','ck-ai-commands-dropdown\x20','isPremiumPlugin','showAIAssistant','get','enabledCommandsIds','from','source','buttonView','values','aiAssistant','fieldView','replaceContent','\x20ck-ai-assistant-ui_theme','hideFakeVisualSelection','locale','render','updateView','change','replace','robotPencil','config','text','panelView','isFlat','aiLicenseKeyEvaluationLimit','promptView','groupId','forEach','_initAriaAiStatusChangeAnnouncements','map','children','polite','getRanges','selection','push','showFakeVisualSelection','fire','delegate','AI\x20Commands','trialLimit','text/html','prompt','_licenseKeyCheckInterval','10473957uJQuGZ','updatePosition','_forceMarkersCopy','DataTransfer','invalid','isEnabled','schema','</p>','textAdapter','AI\x20is\x20writing','_dialog','rawHtml','show','addMany','bind','destroy','ck-ai-assistant-button\x20','1640914SEhcuk','domainLimit','_populateMenuBarMenu','menuView','comment','insertContent','componentFactory','execute','aiLicenseKeyInvalid','hide','change:enabledCommandsIds','8myvEJQ','_createAIAssistantUIButton','featureNotAllowed','hideUI','AIAssistant','694WjcfWy','_uiCssClasses','change:value','buttons','_onExecute','order','pluginName','focus','media','setSelection','length','once','isOn','ck-ai-assistant-ui','view','trim','plugins','_getMenuBarGroupButtons','errorView','commands','licenseKey','aiLicenseKeyDevelopmentLimit','evaluationLimit','document','4854McNPkN','_getResolvedCommandsDefinitions','_formView','init','menuBar:aiAssistant','ai.useTheme','ai.aiAssistant.commands','sort','update','developmentLimit','isOfficialPlugin','ai-commands-config-order-collision','getData','menuBar:aiCommands'];_0x1091=function(){return _0x58bd8d;};return _0x1091();}import{normalizeCommandsConfig as _0x3fde61,UNGROUPED_COMMANDS_GROUP_ID as _0x548ffb}from'./utils/normalizecommandsconfig.js';import _0x78cc21 from'./aiassistantediting.js';import _0x4736bf from'./adapters/aiadapter.js';import{getTranslation as _0x24e529}from'./utils/common-translations.js';import _0x446207 from'./ui/showaiassistantcommand.js';import _0x1fdadd from'./ui/aiassistantcontroller.js';import _0x103253 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4a7e66}from'./ui/form/aiformtoolbarview.js';import _0x27f4bf from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0xe3a56c(0x1bc)];import{ClipboardMarkersUtils as _0x5d4ca4}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x67ce1,DataTransfer as _0x25352a}from'ckeditor5/src/engine.js';export default class n extends _0x467449{static get[_0xe3a56c(0x1e0)](){const _0x5d3e5f=_0xe3a56c;return _0x5d3e5f(0x161);}static get[_0xe3a56c(0x1fc)](){return!0x0;}static get[_0xe3a56c(0x18f)](){return!0x0;}static get[_0xe3a56c(0x183)](){return[_0x5d4ca4,_0x78cc21,_0x4736bf,_0x507a3f];}constructor(_0x75422f){const _0x5b2b14=_0xe3a56c;super(_0x75422f),this[_0x5b2b14(0x1db)]='',_0x75422f[_0x5b2b14(0x1a2)][_0x5b2b14(0x189)](_0x5b2b14(0x16d),[_0x5b2b14(0x1e2),_0x5b2b14(0x1c4),_0x5b2b14(0x181)]),_0x75422f[_0x5b2b14(0x1a2)][_0x5b2b14(0x189)](_0x5b2b14(0x173),''),_0x75422f[_0x5b2b14(0x1a2)][_0x5b2b14(0x189)](_0x5b2b14(0x1f7),!0x0),this[_0x5b2b14(0x1db)]=_0x5b2b14(0x1e7)+(_0x75422f[_0x5b2b14(0x1a2)][_0x5b2b14(0x191)](_0x5b2b14(0x1f7))?_0x5b2b14(0x19a):'');}[_0xe3a56c(0x1f5)](){const _0x3dbec1=_0xe3a56c,{editor:_0xf69289}=this;this[_0x3dbec1(0x15b)]=_0xf69289[_0x3dbec1(0x1ea)][_0x3dbec1(0x191)](_0x4736bf),this[_0x3dbec1(0x1c3)]=_0xf69289[_0x3dbec1(0x1ea)][_0x3dbec1(0x191)](_0x507a3f),this[_0x3dbec1(0x1f4)]=null,this[_0x3dbec1(0x17e)]=this[_0x3dbec1(0x1f3)]();const _0x42b83d=new _0x446207(_0xf69289,Array[_0x3dbec1(0x193)](this[_0x3dbec1(0x17e)][_0x3dbec1(0x196)]()));_0xf69289[_0x3dbec1(0x1ed)][_0x3dbec1(0x178)](_0x3dbec1(0x190),_0x42b83d),_0xf69289['ui'][_0x3dbec1(0x1d0)][_0x3dbec1(0x178)](_0x3dbec1(0x18d),_0x2f0f27=>{const _0x554889=_0x3dbec1,_0x3e53ab=_0xcaedfe(_0x2f0f27);return _0x3e53ab[_0x554889(0x188)]({'class':_0x554889(0x18e)+this[_0x554889(0x1db)]}),_0x3e53ab[_0x554889(0x195)][_0x554889(0x188)]({'label':_0x24e529(_0x2f0f27,_0x554889(0x1b4)),'icon':_0x27f4bf,'tooltip':!0x0}),_0x3e53ab['on'](_0x554889(0x1d1),_0x4036b3=>this[_0x554889(0x1de)](_0x4036b3[_0x554889(0x194)]['id'])),_0x248167(_0x3e53ab,_0xf69289['ui'][_0x554889(0x1e8)][_0x554889(0x184)],function(_0x29fb81){const _0x1aaa00=_0x554889,_0x322dd8=_0x3fde61(_0x29fb81[_0x1aaa00(0x1a2)][_0x1aaa00(0x191)](_0x1aaa00(0x1f8)),_0x29fb81[_0x1aaa00(0x19c)]),_0x58e6dd=B(_0x29fb81,_0x322dd8)[_0x1aaa00(0x16e)](_0x12ff32=>_0x12ff32[_0x1aaa00(0x1ed)][_0x1aaa00(0x1e4)]);if(0x1===_0x58e6dd[_0x1aaa00(0x1e4)])return B(_0x29fb81,_0x58e6dd[0x0][_0x1aaa00(0x1ed)])[_0x1aaa00(0x1ab)](_0x319db9=>({'id':_0x319db9['id'],'label':_0x319db9[_0x1aaa00(0x187)]}));return _0x58e6dd[_0x1aaa00(0x1ab)](_0x4fc08a=>{const _0x4b613f=_0x1aaa00,{groupId:_0x37e57a,groupLabel:_0x223dd6,commands:_0x45c37d}=_0x4fc08a,_0x240ad1=B(_0x29fb81,_0x45c37d)[_0x4b613f(0x1ab)](_0x3d4c24=>({'id':_0x3d4c24['id'],'label':_0x3d4c24[_0x4b613f(0x187)]}));return{'id':_0x37e57a,'menu':_0x223dd6||_0x37e57a,'children':_0x240ad1};});}(_0xf69289),{'ariaLabel':_0x24e529(_0x2f0f27,_0x554889(0x1b4))}),_0x3e53ab[_0x554889(0x1cd)][_0x554889(0x179)]=_0x554889(0x18e)+this[_0x554889(0x1db)],_0x42b83d['on'](_0x554889(0x1d4),_0x14eb86),_0x3e53ab[_0x554889(0x1cd)][_0x554889(0x1e5)](_0x554889(0x19d),_0x14eb86),_0x3e53ab;function _0x14eb86(){const _0x5d2151=_0x554889;_0x3e53ab[_0x5d2151(0x1be)]=_0x42b83d[_0x5d2151(0x192)][_0x5d2151(0x1e4)]>0x0;for(const _0x5b1f2b of _0x3e53ab[_0x5d2151(0x1cd)][_0x5d2151(0x1dd)])_0x5b1f2b[_0x5d2151(0x1be)]=_0x42b83d[_0x5d2151(0x192)][_0x5d2151(0x15d)](_0x5b1f2b['id']);}}),_0xf69289['ui'][_0x3dbec1(0x1d0)][_0x3dbec1(0x178)](_0x3dbec1(0x1ff),_0x4846d9=>{const _0x3914ad=_0x3dbec1,_0x920691=new _0x1d957c(_0x4846d9);_0x920691[_0x3914ad(0x195)][_0x3914ad(0x188)]({'label':_0x24e529(_0x4846d9,_0x3914ad(0x1b4)),'icon':_0x27f4bf}),_0x920691[_0x3914ad(0x1c7)](_0x3914ad(0x1be))['to'](_0x42b83d,_0x3914ad(0x192),_0x1cd0af=>_0x1cd0af[_0x3914ad(0x1e4)]>0x0);const _0x3f6fb2=_0x3fde61(_0xf69289[_0x3914ad(0x1a2)][_0x3914ad(0x191)](_0x3914ad(0x1f8)),_0x4846d9);return this[_0x3914ad(0x1cc)](_0x42b83d,_0x920691,_0x3f6fb2,_0x3da8f4=>this[_0x3914ad(0x1de)](_0x3da8f4)),_0x920691;}),_0xf69289['ui'][_0x3dbec1(0x1d0)][_0x3dbec1(0x178)](_0x3dbec1(0x197),()=>{const _0x3713fd=_0x3dbec1,_0x46ce7e=this[_0x3713fd(0x1d6)](_0x5e0ace);return _0x46ce7e[_0x3713fd(0x188)]({'tooltip':!0x0,'class':_0x3713fd(0x1c9)+this[_0x3713fd(0x1db)]}),_0x46ce7e;}),_0xf69289['ui'][_0x3dbec1(0x1d0)][_0x3dbec1(0x178)](_0x3dbec1(0x1f6),()=>{const _0x20f203=_0x3dbec1,_0x3705f0=this[_0x20f203(0x1d6)](_0x5cfac3);return _0x3705f0[_0x20f203(0x188)]({'role':_0x20f203(0x169)}),_0x3705f0;}),this[_0x3dbec1(0x1ee)]=this[_0x3dbec1(0x18c)][_0x3dbec1(0x1a2)][_0x3dbec1(0x191)](_0x3dbec1(0x1ee));const _0x3bed12=this[_0x3dbec1(0x18c)];this[_0x3dbec1(0x1b8)]=setInterval(()=>{const _0x4713d1=_0x3dbec1;let _0xd6f7c3;for(const _0x2a6135 in _0x3bed12){const _0x21f81c=_0x2a6135,_0x4002cf=_0x3bed12[_0x21f81c];if(_0x4713d1(0x166)==_0x4002cf||_0x4713d1(0x1d2)==_0x4002cf||_0x4713d1(0x16c)==_0x4002cf||_0x4713d1(0x17d)==_0x4002cf||_0x4713d1(0x204)==_0x4002cf||_0x4713d1(0x1a6)==_0x4002cf||_0x4713d1(0x17c)==_0x4002cf||_0x4713d1(0x1ef)==_0x4002cf||_0x4713d1(0x201)==_0x4002cf){delete _0x3bed12[_0x21f81c],_0xd6f7c3=_0x4002cf,clearInterval(this[_0x4713d1(0x1b8)]),this[_0x4713d1(0x1b8)]=void 0x0;break;}}_0x4713d1(0x1d2)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1bd)),_0x4713d1(0x16c)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x176)),_0x4713d1(0x17d)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1cb)),_0x4713d1(0x204)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1d7),_0x4713d1(0x1d9)),_0x4713d1(0x1a6)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1f0)),_0x4713d1(0x17c)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1b5)),_0x4713d1(0x1ef)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x1fb)),_0x4713d1(0x201)==_0xd6f7c3&&_0x3bed12[_0x4713d1(0x16b)](_0x4713d1(0x164));},0x3e8);}[_0xe3a56c(0x1c8)](){const _0x390ca7=_0xe3a56c;super[_0x390ca7(0x1c8)](),this[_0x390ca7(0x1b8)]&&clearInterval(this[_0x390ca7(0x1b8)]);}[_0xe3a56c(0x186)](_0x381a03='',_0x429e6b='',_0x448667=_0xe3a56c(0x163)){const _0x299974=_0xe3a56c,_0x2de39e=this[_0x299974(0x18c)],_0x3ba872=_0x2de39e[_0x299974(0x17a)][_0x299974(0x1e8)],_0x520746=_0x2de39e[_0x299974(0x1ea)][_0x299974(0x191)](_0x78cc21),_0x26ae53=_0x2de39e[_0x299974(0x1ea)][_0x299974(0x191)](_0x5d4ca4);_0x520746[_0x299974(0x1b1)]();const _0x1dc7bf=new j(),_0x3ec130=new ClipboardEvent(_0x299974(0x18b),{'clipboardData':_0x1dc7bf}),_0x1c6ebe=new _0x25352a(_0x1dc7bf),_0x461b08=new _0x67ce1(_0x3ba872,_0x3ec130,{'dataTransfer':_0x1c6ebe});_0x26ae53[_0x299974(0x1bb)](_0x299974(0x1ce),()=>{const _0x208ade=_0x299974;_0x3ba872[_0x208ade(0x1f1)][_0x208ade(0x1b2)](_0x208ade(0x18b),_0x461b08);}),this[_0x299974(0x1f4)]||(this[_0x299974(0x200)](),this[_0x299974(0x15f)]=new _0x1fdadd(_0x2de39e,this[_0x299974(0x15b)][_0x299974(0x1c1)],this[_0x299974(0x1f4)]));let _0xbb9cc8=_0x1c6ebe[_0x299974(0x1fe)](_0x299974(0x1b6));const _0x35a7ed=_0x2de39e[_0x299974(0x16f)][_0x299974(0x1f1)][_0x299974(0x1af)],_0x2d29d9=Array[_0x299974(0x193)](_0x35a7ed[_0x299974(0x1ae)]());0x1===_0x2d29d9[_0x299974(0x1e4)]&&_0x2d29d9[0x0][_0x299974(0x1a5)]&&!_0x35a7ed[_0x299974(0x171)]()&&''!==_0xbb9cc8[_0x299974(0x1a0)](/ /g,'')[_0x299974(0x1e9)]()&&(_0xbb9cc8=_0x299974(0x158)+_0xbb9cc8+_0x299974(0x1c0)),this[_0x299974(0x15f)][_0x299974(0x19e)]({'actionId':_0x448667,'query':_0x381a03,'htmlContent':_0xbb9cc8,'label':_0x429e6b,'mainActionLabel':_0x4a7e66[_0x2de39e[_0x299974(0x16f)][_0x299974(0x1f1)][_0x299974(0x1af)][_0x299974(0x170)]?_0x299974(0x203):_0x299974(0x172)]}),_0x299974(0x197)!==this[_0x299974(0x1c3)]['id']?this[_0x299974(0x1c3)][_0x299974(0x1c5)]({'id':_0x299974(0x197),'icon':_0x1d659f[_0x299974(0x1a1)],'title':_0x24e529(this[_0x299974(0x18c)][_0x299974(0x19c)],_0x299974(0x18a)),'content':this[_0x299974(0x1f4)],'position':_0x4fa6ec[_0x299974(0x185)],'onShow':()=>{const _0x31e53e=_0x299974;this[_0x31e53e(0x1f4)][_0x31e53e(0x1e1)]();},'onHide':()=>{const _0x2b6687=_0x299974;this[_0x2b6687(0x15f)][_0x2b6687(0x202)](),_0x520746[_0x2b6687(0x19b)]();}}):this[_0x299974(0x1c3)][_0x299974(0x1e8)][_0x299974(0x180)]||this[_0x299974(0x1c3)][_0x299974(0x1e8)][_0x299974(0x1ba)]();}[_0xe3a56c(0x1d8)](){const _0x2ecfe7=_0xe3a56c;this[_0x2ecfe7(0x1c3)][_0x2ecfe7(0x1d3)]();}[_0xe3a56c(0x1f3)](){const _0x5af1eb=_0xe3a56c,_0x5ece88=new Map(),_0xf7525b=_0x3fde61(this[_0x5af1eb(0x18c)][_0x5af1eb(0x1a2)][_0x5af1eb(0x191)](_0x5af1eb(0x1f8)),this[_0x5af1eb(0x18c)][_0x5af1eb(0x19c)]);for(const _0x5cbfcc of _0xf7525b)for(const _0x43c20c of _0x5cbfcc[_0x5af1eb(0x1ed)])_0x5ece88[_0x5af1eb(0x188)](_0x43c20c['id'],{..._0x43c20c,'groupId':_0x5cbfcc[_0x5af1eb(0x1a8)],'groupLabel':_0x5cbfcc[_0x5af1eb(0x15e)]||_0x5cbfcc[_0x5af1eb(0x1a8)]});return _0x5ece88;}[_0xe3a56c(0x1d6)](_0x2a3162){const _0x424f5a=_0xe3a56c,_0x2681a2=this[_0x424f5a(0x18c)],_0x1e8259=_0x2681a2[_0x424f5a(0x1ed)][_0x424f5a(0x191)](_0x424f5a(0x190)),_0x2d9105=new _0x2a3162(_0x2681a2[_0x424f5a(0x19c)]);return _0x2d9105[_0x424f5a(0x188)]({'label':_0x24e529(_0x2681a2[_0x424f5a(0x19c)],_0x424f5a(0x18a)),'icon':_0x1d659f[_0x424f5a(0x1a1)],'isToggleable':!0x0}),_0x2d9105[_0x424f5a(0x1c7)](_0x424f5a(0x1be))['to'](_0x1e8259),_0x2d9105[_0x424f5a(0x1c7)](_0x424f5a(0x1e6))['to'](this[_0x424f5a(0x1c3)],'id',_0x23c9c6=>_0x424f5a(0x197)===_0x23c9c6),this[_0x424f5a(0x209)](_0x2d9105,_0x424f5a(0x1d1),()=>{const _0x10d38f=_0x424f5a;_0x2d9105[_0x10d38f(0x1e6)]?this[_0x10d38f(0x1d8)]():_0x1e8259[_0x10d38f(0x1d1)]();}),_0x2d9105;}[_0xe3a56c(0x200)](){const _0x57426b=_0xe3a56c,_0x579f81=this[_0x57426b(0x18c)][_0x57426b(0x1ea)][_0x57426b(0x191)](_0x78cc21);this[_0x57426b(0x1f4)]=new _0x103253(this[_0x57426b(0x18c)][_0x57426b(0x19c)],this[_0x57426b(0x1db)],this[_0x57426b(0x18c)][_0x57426b(0x1a2)][_0x57426b(0x191)](_0x57426b(0x173))),this[_0x57426b(0x1f4)]['on'](_0x57426b(0x1dc),()=>{const _0x496552=_0x57426b;this[_0x496552(0x1c3)][_0x496552(0x1e8)][_0x496552(0x180)]||this[_0x496552(0x1c3)][_0x496552(0x1e8)][_0x496552(0x1ba)]();}),this[_0x57426b(0x1f4)][_0x57426b(0x1a7)][_0x57426b(0x168)][_0x57426b(0x198)]['on'](_0x57426b(0x1fa),()=>{const _0x17b50d=_0x57426b;this[_0x17b50d(0x1c3)][_0x17b50d(0x1e8)][_0x17b50d(0x180)]||this[_0x17b50d(0x1c3)][_0x17b50d(0x1e8)][_0x17b50d(0x1ba)]();}),this[_0x57426b(0x209)](this[_0x57426b(0x1f4)],_0x57426b(0x199),()=>{const _0x111979=_0x57426b;_0x579f81[_0x111979(0x1cf)](this[_0x111979(0x15f)][_0x111979(0x159)]),this[_0x111979(0x1d8)]();}),this[_0x57426b(0x209)](this[_0x57426b(0x1f4)],_0x57426b(0x16a),()=>{const _0x2b2693=_0x57426b;_0x579f81[_0x2b2693(0x16a)](this[_0x2b2693(0x15f)][_0x2b2693(0x159)]),this[_0x2b2693(0x1d8)]();}),this[_0x57426b(0x1aa)]();}[_0xe3a56c(0x1aa)](){const _0x38512d=_0xe3a56c,{locale:_0x159eb9,ui:{ariaLiveAnnouncer:_0x2aa3b1}}=this[_0x38512d(0x18c)];this[_0x38512d(0x1f4)][_0x38512d(0x175)]['on'](_0x38512d(0x160),(_0x3ea1b6,_0x55a499,_0x5c8869)=>{const _0x46663f=_0x38512d,_0x4ea61b=this[_0x46663f(0x15f)][_0x46663f(0x159)];_0x5c8869?_0x2aa3b1[_0x46663f(0x162)](_0x24e529(_0x159eb9,_0x46663f(0x1c2))):_0x4ea61b&&_0x2aa3b1[_0x46663f(0x162)](_0x24e529(_0x159eb9,_0x46663f(0x17f),_0x4ea61b),{'politeness':_0x46663f(0x1ad),'isUnsafeHTML':!0x0});}),this[_0x38512d(0x1f4)]['on'](_0x38512d(0x208),(_0x5f5878,_0x4ee6af,_0x2d866c)=>{const _0x2c9cd3=_0x38512d;if(_0x2d866c){const _0x37de68=this[_0x2c9cd3(0x1f4)][_0x2c9cd3(0x1ec)][_0x2c9cd3(0x1a3)];_0x2aa3b1[_0x2c9cd3(0x162)](_0x24e529(_0x159eb9,_0x2c9cd3(0x177),_0x37de68));}});}[_0xe3a56c(0x1de)](_0xdb7819){const _0x244fca=_0xe3a56c,_0x4aa649=this[_0x244fca(0x17e)][_0x244fca(0x191)](_0xdb7819),_0x58d8fd=this[_0x244fca(0x18c)],_0x1a0b89=_0x58d8fd[_0x244fca(0x16f)][_0x244fca(0x1f1)][_0x244fca(0x1af)],_0x49de26=_0x58d8fd[_0x244fca(0x1ed)][_0x244fca(0x191)](_0x244fca(0x190)),_0x35bf24=_0x58d8fd[_0x244fca(0x1ea)][_0x244fca(0x191)](_0x78cc21),_0x4787e2=''+(_0x4aa649[_0x244fca(0x1a8)]!==_0x548ffb?_0x4aa649[_0x244fca(0x15e)]+':\x20':'')+_0x4aa649[_0x244fca(0x187)];if(!0x1!==_0x4aa649[_0x244fca(0x15a)]&&_0x1a0b89[_0x244fca(0x170)]){const _0x42f7ff=_0x381819(_0x1a0b89[_0x244fca(0x15c)]())||_0x58d8fd[_0x244fca(0x16f)][_0x244fca(0x1bf)][_0x244fca(0x17b)](_0x1a0b89);_0x58d8fd[_0x244fca(0x16f)][_0x244fca(0x19f)](_0x180fc5=>{const _0x5d44af=_0x244fca;_0x180fc5[_0x5d44af(0x1e3)](_0x42f7ff,'in');});}_0x35bf24[_0x244fca(0x1b1)](),_0x49de26[_0x244fca(0x1d1)](_0x4aa649[_0x244fca(0x1b7)],_0x4787e2,_0x244fca(0x207)+_0xdb7819);}[_0xe3a56c(0x1cc)](_0x46a27f,_0x2d0a6d,_0x23b9d5,_0x543732){const _0x229266=_0xe3a56c,_0x143852=this[_0x229266(0x18c)],_0x23db6a=_0x143852[_0x229266(0x19c)],_0xd1f15e=new _0x392d76(_0x23db6a),_0x319677=B(_0x143852,_0x23b9d5)[_0x229266(0x16e)](_0x3c91ec=>_0x3c91ec[_0x229266(0x1ed)][_0x229266(0x1e4)]);0x1===_0x319677[_0x229266(0x1e4)]?this[_0x229266(0x1eb)]({'command':_0x46a27f,'commands':_0x319677[0x0][_0x229266(0x1ed)],'parentMenuView':_0x2d0a6d,'onExecute':_0x543732})[_0x229266(0x1a9)](_0x132446=>_0xd1f15e[_0x229266(0x205)][_0x229266(0x178)](_0x132446)):_0x319677[_0x229266(0x1a9)](({groupId:_0x171960,groupLabel:_0x3f3b4d,commands:_0x20cf8b})=>{const _0x33a9cf=_0x229266,_0x3348f3=new _0x1c26fd(_0x23db6a,_0x2d0a6d),_0x52a188=new _0x1d957c(_0x23db6a),_0x26a8a1=new _0x392d76(_0x23db6a),_0x3f89a5=this[_0x33a9cf(0x1eb)]({'command':_0x46a27f,'commands':_0x20cf8b,'parentMenuView':_0x52a188,'onExecute':_0x543732});_0x52a188[_0x33a9cf(0x195)][_0x33a9cf(0x188)]({'label':_0x3f3b4d||_0x171960}),_0x52a188[_0x33a9cf(0x1b3)](_0x33a9cf(0x1d1))['to'](_0x2d0a6d),_0x26a8a1[_0x33a9cf(0x205)][_0x33a9cf(0x1c6)](_0x3f89a5),_0x52a188[_0x33a9cf(0x1a4)][_0x33a9cf(0x1ac)][_0x33a9cf(0x178)](_0x26a8a1),_0x3348f3[_0x33a9cf(0x1ac)][_0x33a9cf(0x178)](_0x52a188),_0xd1f15e[_0x33a9cf(0x205)][_0x33a9cf(0x178)](_0x3348f3);}),_0x2d0a6d[_0x229266(0x1a4)][_0x229266(0x1ac)][_0x229266(0x178)](_0xd1f15e);}[_0xe3a56c(0x1eb)]({command:_0x5c3d71,commands:_0x270cd6,parentMenuView:_0x49bfe2,onExecute:_0x15e722}){const _0x153c0d=_0xe3a56c,_0x1e7fc3=this[_0x153c0d(0x18c)],_0x505d72=_0x1e7fc3[_0x153c0d(0x19c)];return B(_0x1e7fc3,_0x270cd6)[_0x153c0d(0x1ab)](_0x467b14=>{const _0x4781e8=_0x153c0d,_0x5a53e6=new _0x1c26fd(_0x505d72,_0x49bfe2),_0x451c2d=new _0x5cfac3(_0x505d72);return _0x451c2d[_0x4781e8(0x188)]({'label':_0x467b14[_0x4781e8(0x187)]}),_0x451c2d[_0x4781e8(0x1b3)](_0x4781e8(0x1d1))['to'](_0x49bfe2),_0x451c2d['on'](_0x4781e8(0x1d1),()=>_0x15e722(_0x467b14['id'])),_0x451c2d[_0x4781e8(0x1c7)](_0x4781e8(0x1be))['to'](_0x5c3d71,_0x4781e8(0x192),_0x1cc956=>_0x1cc956[_0x4781e8(0x15d)](_0x467b14['id'])),_0x5a53e6[_0x4781e8(0x1ac)][_0x4781e8(0x178)](_0x451c2d),_0x5a53e6;});}}function _(_0x3fe85b,_0x2c89ce){const _0x56f255=_0xe3a56c;return void 0x0!==_0x3fe85b[_0x56f255(0x1df)]&&void 0x0===_0x2c89ce[_0x56f255(0x1df)]?0x1:void 0x0===_0x3fe85b[_0x56f255(0x1df)]&&void 0x0!==_0x2c89ce[_0x56f255(0x1df)]?-0x1:void 0x0!==_0x3fe85b[_0x56f255(0x1df)]&&void 0x0!==_0x2c89ce[_0x56f255(0x1df)]?_0x3fe85b[_0x56f255(0x1df)]-_0x2c89ce[_0x56f255(0x1df)]:0x0;}function B(_0x3fbf5e,_0x3160b6){const _0x32af49=_0xe3a56c;_0x3160b6[_0x32af49(0x1f9)](_);const _0x599de0={},_0x52dbdc=[];for(const _0x35ce30 of _0x3160b6)if(void 0x0!==_0x35ce30[_0x32af49(0x1df)]){if(_0x35ce30[_0x32af49(0x1df)]in _0x599de0)throw new _0x20f005(_0x32af49(0x1fd),_0x3fbf5e,{'conflictingDefinitions':[_0x35ce30,_0x599de0[_0x35ce30[_0x32af49(0x1df)]]]});_0x599de0[_0x35ce30[_0x32af49(0x1df)]]=_0x35ce30,_0x52dbdc[_0x32af49(0x156)](_0x35ce30[_0x32af49(0x1df)],0x0,_0x35ce30);}else _0x52dbdc[_0x32af49(0x1b0)](_0x35ce30);return _0x52dbdc;}
|
|
23
|
+
const _0xe14aab=_0x3120;(function(_0x3888c4,_0x1c34c7){const _0x47ab40=_0x3120,_0x1c6f4d=_0x3888c4();while(!![]){try{const _0x4013bf=-parseInt(_0x47ab40(0x10a))/0x1*(parseInt(_0x47ab40(0x1a8))/0x2)+parseInt(_0x47ab40(0x187))/0x3*(-parseInt(_0x47ab40(0x110))/0x4)+parseInt(_0x47ab40(0x130))/0x5+-parseInt(_0x47ab40(0x173))/0x6+-parseInt(_0x47ab40(0x10d))/0x7+-parseInt(_0x47ab40(0x191))/0x8+parseInt(_0x47ab40(0x178))/0x9;if(_0x4013bf===_0x1c34c7)break;else _0x1c6f4d['push'](_0x1c6f4d['shift']());}catch(_0x2cc8e5){_0x1c6f4d['push'](_0x1c6f4d['shift']());}}}(_0x1344,0x9d6cb));import{Plugin as _0x1f8c54}from'ckeditor5/src/core.js';import{first as _0x44ba26,CKEditorError as _0x4f7f63}from'ckeditor5/src/utils.js';import{createDropdown as _0x5cea75,addMenuToDropdown as _0x54179c,ButtonView as _0x181266,MenuBarMenuListItemButtonView as _0x31816a,Dialog as _0x5f0ff1,DialogViewPosition as _0x20766c,MenuBarMenuView as _0x326110,MenuBarMenuListView as _0x4e8a2b,MenuBarMenuListItemView as _0x5db70e}from'ckeditor5/src/ui.js';import{icons as _0xea4b0d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3120(_0x40dd41,_0x243bca){const _0x134449=_0x1344();return _0x3120=function(_0x3120d3,_0x2b6c18){_0x3120d3=_0x3120d3-0x10a;let _0x4006b0=_0x134449[_0x3120d3];return _0x4006b0;},_0x3120(_0x40dd41,_0x243bca);}import{normalizeCommandsConfig as _0x14574b,UNGROUPED_COMMANDS_GROUP_ID as _0x245d00}from'./utils/normalizecommandsconfig.js';import _0x20d297 from'./aiassistantediting.js';import _0x38f7e9 from'./adapters/aiadapter.js';import{getTranslation as _0x54ffa6}from'./utils/common-translations.js';import _0x1b0619 from'./ui/showaiassistantcommand.js';function _0x1344(){const _0x102b35=['hideFakeVisualSelection','destroy','isOfficialPlugin','aiCommands','splice','_formView','fieldView','getSelectedBlocks','DataTransfer','announce','children','trim','expired','_commandDefinitions','push','text/html','tableOfContents','4182650wjPXZy','EDITOR_TOP_SIDE','menuPanelClass','promptView','execute','menuView','get','text','Generated\x20content:\x20%0','getData','</p>','values','map','updateView','INSERT','buttons','order','aiLicenseKeyEvaluationLimit','robotPencil','body','set','_aiAdapter','featureNotAllowed','domainLimit','change:enabledCommandsIds','usageLimit','insertContent','render','change','isOn','copy','replace','isPremiumPlugin','sort','rawHtml','panelView','change:isProcessing','isCollapsed','queryView','menuBar:aiAssistant','showFakeVisualSelection','_forceMarkersCopy','textAdapter','config','from','hideUI','licenseKey','aiAssistant','change:value','delegate','ck-ai-assistant-button\x20','AI\x20Commands','enabledCommandsIds','aiLicenseKeyNotAllowed','aiLicenseKeyTrialLimit','REPLACE','aiLicenseKeyValid','locale','_createAIAssistantUIButton','schema','prompt','ai.aiAssistant.contentAreaCssClass','replaceContent','_dialog','AIAssistant','groupLabel','addMany','4845486OEqBjN','editing','wasMoved','updatePosition','length','38003364JoZKMa','show','evaluationLimit','listenTo','fire','once','menuitemcheckbox','developmentLimit','isFlat','document','<p>','ck-ai-commands-dropdown\x20','model','requires','pluginName','141294Rmhcxc','aiLicenseKeyUsageLimit','errorView','insertContentBelow','aiLicenseKeyDomainLimit','ai-commands-config-order-collision','groupId','source','bind','showUI','5203112ndikNK','custom','command:','ck-ai-assistant-ui','_uiCssClasses','_initAriaAiStatusChangeAnnouncements','componentFactory','_populateMenuBarMenu','ai.aiAssistant.commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20is\x20writing','items','label','contentArea','AI\x20Assistant','_getMenuBarGroupButtons','aiLicenseKeyExpired','init','buttonView','commands','media','showAIAssistant','add','28bdccKj','define','aiLicenseKeyInvalid','isEnabled','comment','includes','_getResolvedCommandsDefinitions','getLimitElement','menuBar:aiCommands','hide','plugins','getSelectedElement','setSelection','update','requiresContent','_showLicenseError','ai.useTheme','\x20ck-ai-assistant-ui_theme','focus','filter','91081vlOEnR','_onExecute','trialLimit','7482559uNRavJ','view','_initView','52ahOnEZ','change:isError','_licenseKeyCheckInterval','editor','_aiAssistantController','forEach','ai.aiAssistant.disabledElements','aiLicenseKeyDevelopmentLimit','invalid','getRanges','polite','selection','reset','currentContext','AIAssistantUI'];_0x1344=function(){return _0x102b35;};return _0x1344();}import _0x318a7a from'./ui/aiassistantcontroller.js';import _0x23a4da from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x228fd3}from'./ui/form/aiformtoolbarview.js';import _0x184a87 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0xe14aab(0x127)];import{ClipboardMarkersUtils as _0x2cce70}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x115a71,DataTransfer as _0x143c67}from'ckeditor5/src/engine.js';export default class n extends _0x1f8c54{static get[_0xe14aab(0x186)](){const _0x2026a0=_0xe14aab;return _0x2026a0(0x11e);}static get[_0xe14aab(0x121)](){return!0x0;}static get[_0xe14aab(0x150)](){return!0x0;}static get[_0xe14aab(0x185)](){return[_0x2cce70,_0x20d297,_0x38f7e9,_0x5f0ff1];}constructor(_0x9dbaf){const _0x4e8b66=_0xe14aab;super(_0x9dbaf),this[_0x4e8b66(0x195)]='',_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x116),[_0x4e8b66(0x1a5),_0x4e8b66(0x152),_0x4e8b66(0x12f)]),_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x16d),''),_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x1b8),!0x0),this[_0x4e8b66(0x195)]=_0x4e8b66(0x194)+(_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x136)](_0x4e8b66(0x1b8))?_0x4e8b66(0x1b9):'');}[_0xe14aab(0x1a2)](){const _0x36efe4=_0xe14aab,{editor:_0x5442ee}=this;this[_0x36efe4(0x145)]=_0x5442ee[_0x36efe4(0x1b2)][_0x36efe4(0x136)](_0x38f7e9),this[_0x36efe4(0x16f)]=_0x5442ee[_0x36efe4(0x1b2)][_0x36efe4(0x136)](_0x5f0ff1),this[_0x36efe4(0x124)]=null,this[_0x36efe4(0x12c)]=this[_0x36efe4(0x1ae)]();const _0x12014d=new _0x1b0619(_0x5442ee,Array[_0x36efe4(0x15c)](this[_0x36efe4(0x12c)][_0x36efe4(0x13b)]()));_0x5442ee[_0x36efe4(0x1a4)][_0x36efe4(0x1a7)](_0x36efe4(0x1a6),_0x12014d),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x122),_0x280efb=>{const _0x591b66=_0x36efe4,_0x964a55=_0x5cea75(_0x280efb);return _0x964a55[_0x591b66(0x144)]({'class':_0x591b66(0x183)+this[_0x591b66(0x195)]}),_0x964a55[_0x591b66(0x1a3)][_0x591b66(0x144)]({'label':_0x54ffa6(_0x280efb,_0x591b66(0x163)),'icon':_0x184a87,'tooltip':!0x0}),_0x964a55['on'](_0x591b66(0x134),_0x42c463=>this[_0x591b66(0x10b)](_0x42c463[_0x591b66(0x18e)]['id'])),_0x54179c(_0x964a55,_0x5442ee['ui'][_0x591b66(0x10e)][_0x591b66(0x143)],function(_0x3cdb77){const _0x3cab69=_0x591b66,_0x466411=_0x14574b(_0x3cdb77[_0x3cab69(0x15b)][_0x3cab69(0x136)](_0x3cab69(0x199)),_0x3cdb77[_0x3cab69(0x169)]),_0x24858c=B(_0x3cdb77,_0x466411)[_0x3cab69(0x1bb)](_0x17f57f=>_0x17f57f[_0x3cab69(0x1a4)][_0x3cab69(0x177)]);if(0x1===_0x24858c[_0x3cab69(0x177)])return B(_0x3cdb77,_0x24858c[0x0][_0x3cab69(0x1a4)])[_0x3cab69(0x13c)](_0x163c6b=>({'id':_0x163c6b['id'],'label':_0x163c6b[_0x3cab69(0x19d)]}));return _0x24858c[_0x3cab69(0x13c)](_0x5b2135=>{const _0x59a919=_0x3cab69,{groupId:_0x4c7a40,groupLabel:_0x1ddd04,commands:_0x40efd1}=_0x5b2135,_0x251992=B(_0x3cdb77,_0x40efd1)[_0x59a919(0x13c)](_0x41ca2b=>({'id':_0x41ca2b['id'],'label':_0x41ca2b[_0x59a919(0x19d)]}));return{'id':_0x4c7a40,'menu':_0x1ddd04||_0x4c7a40,'children':_0x251992};});}(_0x5442ee),{'ariaLabel':_0x54ffa6(_0x280efb,_0x591b66(0x163))}),_0x964a55[_0x591b66(0x135)][_0x591b66(0x132)]=_0x591b66(0x183)+this[_0x591b66(0x195)],_0x12014d['on'](_0x591b66(0x148),_0x488fc0),_0x964a55[_0x591b66(0x135)][_0x591b66(0x17d)](_0x591b66(0x14b),_0x488fc0),_0x964a55;function _0x488fc0(){const _0x2eaaaf=_0x591b66;_0x964a55[_0x2eaaaf(0x1ab)]=_0x12014d[_0x2eaaaf(0x164)][_0x2eaaaf(0x177)]>0x0;for(const _0x5d1395 of _0x964a55[_0x2eaaaf(0x135)][_0x2eaaaf(0x13f)])_0x5d1395[_0x2eaaaf(0x1ab)]=_0x12014d[_0x2eaaaf(0x164)][_0x2eaaaf(0x1ad)](_0x5d1395['id']);}}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x1b0),_0x2f00a1=>{const _0x15446b=_0x36efe4,_0x12dfdd=new _0x326110(_0x2f00a1);_0x12dfdd[_0x15446b(0x1a3)][_0x15446b(0x144)]({'label':_0x54ffa6(_0x2f00a1,_0x15446b(0x163)),'icon':_0x184a87}),_0x12dfdd[_0x15446b(0x18f)](_0x15446b(0x1ab))['to'](_0x12014d,_0x15446b(0x164),_0x462572=>_0x462572[_0x15446b(0x177)]>0x0);const _0x2fa67a=_0x14574b(_0x5442ee[_0x15446b(0x15b)][_0x15446b(0x136)](_0x15446b(0x199)),_0x2f00a1);return this[_0x15446b(0x198)](_0x12014d,_0x12dfdd,_0x2fa67a,_0x5b42a0=>this[_0x15446b(0x10b)](_0x5b42a0)),_0x12dfdd;}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x15f),()=>{const _0x12a6d6=_0x36efe4,_0x3ca514=this[_0x12a6d6(0x16a)](_0x181266);return _0x3ca514[_0x12a6d6(0x144)]({'tooltip':!0x0,'class':_0x12a6d6(0x162)+this[_0x12a6d6(0x195)]}),_0x3ca514;}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x157),()=>{const _0x1e6f23=_0x36efe4,_0x1e8ce6=this[_0x1e6f23(0x16a)](_0x31816a);return _0x1e8ce6[_0x1e6f23(0x144)]({'role':_0x1e6f23(0x17e)}),_0x1e8ce6;}),this[_0x36efe4(0x15e)]=this[_0x36efe4(0x113)][_0x36efe4(0x15b)][_0x36efe4(0x136)](_0x36efe4(0x15e));const _0x164ba1=this[_0x36efe4(0x113)];this[_0x36efe4(0x112)]=setInterval(()=>{const _0x5e53a1=_0x36efe4;let _0x5e5862;for(const _0x2e5b3c in _0x164ba1){const _0x28b5ce=_0x2e5b3c,_0x17c3ae=_0x164ba1[_0x28b5ce];if(_0x5e53a1(0x168)==_0x17c3ae||_0x5e53a1(0x1aa)==_0x17c3ae||_0x5e53a1(0x1a1)==_0x17c3ae||_0x5e53a1(0x18b)==_0x17c3ae||_0x5e53a1(0x165)==_0x17c3ae||_0x5e53a1(0x141)==_0x17c3ae||_0x5e53a1(0x166)==_0x17c3ae||_0x5e53a1(0x117)==_0x17c3ae||_0x5e53a1(0x188)==_0x17c3ae){delete _0x164ba1[_0x28b5ce],_0x5e5862=_0x17c3ae,clearInterval(this[_0x5e53a1(0x112)]),this[_0x5e53a1(0x112)]=void 0x0;break;}}_0x5e53a1(0x1aa)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x118)),_0x5e53a1(0x1a1)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x12b)),_0x5e53a1(0x18b)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x147)),_0x5e53a1(0x165)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x146),_0x5e53a1(0x170)),_0x5e53a1(0x141)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x17a)),_0x5e53a1(0x166)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x10c)),_0x5e53a1(0x117)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x17f)),_0x5e53a1(0x188)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x149));},0x3e8);}[_0xe14aab(0x120)](){const _0x7181fb=_0xe14aab;super[_0x7181fb(0x120)](),this[_0x7181fb(0x112)]&&clearInterval(this[_0x7181fb(0x112)]);}[_0xe14aab(0x190)](_0x13d0a6='',_0x1ef584='',_0x578bf1=_0xe14aab(0x192)){const _0x2f7d47=_0xe14aab,_0x5d6032=this[_0x2f7d47(0x113)],_0x19d314=_0x5d6032[_0x2f7d47(0x174)][_0x2f7d47(0x10e)],_0x33eaf2=_0x5d6032[_0x2f7d47(0x1b2)][_0x2f7d47(0x136)](_0x20d297),_0x571756=_0x5d6032[_0x2f7d47(0x1b2)][_0x2f7d47(0x136)](_0x2cce70);_0x33eaf2[_0x2f7d47(0x158)]();const _0x37e819=new j(),_0x338518=new ClipboardEvent(_0x2f7d47(0x14e),{'clipboardData':_0x37e819}),_0x7bc270=new _0x143c67(_0x37e819),_0x5f100e=new _0x115a71(_0x19d314,_0x338518,{'dataTransfer':_0x7bc270});_0x571756[_0x2f7d47(0x159)](_0x2f7d47(0x1ac),()=>{const _0x13e7d7=_0x2f7d47;_0x19d314[_0x13e7d7(0x181)][_0x13e7d7(0x17c)](_0x13e7d7(0x14e),_0x5f100e);}),this[_0x2f7d47(0x124)]||(this[_0x2f7d47(0x10f)](),this[_0x2f7d47(0x114)]=new _0x318a7a(_0x5d6032,this[_0x2f7d47(0x145)][_0x2f7d47(0x15a)],this[_0x2f7d47(0x124)]));let _0x29b333=_0x7bc270[_0x2f7d47(0x139)](_0x2f7d47(0x12e));const _0xd26e32=_0x5d6032[_0x2f7d47(0x184)][_0x2f7d47(0x181)][_0x2f7d47(0x11b)],_0x5927dd=Array[_0x2f7d47(0x15c)](_0xd26e32[_0x2f7d47(0x119)]());0x1===_0x5927dd[_0x2f7d47(0x177)]&&_0x5927dd[0x0][_0x2f7d47(0x180)]&&!_0xd26e32[_0x2f7d47(0x1b3)]()&&''!==_0x29b333[_0x2f7d47(0x14f)](/ /g,'')[_0x2f7d47(0x12a)]()&&(_0x29b333=_0x2f7d47(0x182)+_0x29b333+_0x2f7d47(0x13a)),this[_0x2f7d47(0x114)][_0x2f7d47(0x13d)]({'actionId':_0x578bf1,'query':_0x13d0a6,'htmlContent':_0x29b333,'label':_0x1ef584,'mainActionLabel':_0x228fd3[_0x5d6032[_0x2f7d47(0x184)][_0x2f7d47(0x181)][_0x2f7d47(0x11b)][_0x2f7d47(0x155)]?_0x2f7d47(0x13e):_0x2f7d47(0x167)]}),_0x2f7d47(0x15f)!==this[_0x2f7d47(0x16f)]['id']?this[_0x2f7d47(0x16f)][_0x2f7d47(0x179)]({'id':_0x2f7d47(0x15f),'icon':_0xea4b0d[_0x2f7d47(0x142)],'title':_0x54ffa6(this[_0x2f7d47(0x113)][_0x2f7d47(0x169)],_0x2f7d47(0x19f)),'content':this[_0x2f7d47(0x124)],'position':_0x20766c[_0x2f7d47(0x131)],'onShow':()=>{const _0x101252=_0x2f7d47;this[_0x101252(0x124)][_0x101252(0x1ba)]();},'onHide':()=>{const _0x25623c=_0x2f7d47;this[_0x25623c(0x114)][_0x25623c(0x11c)](),_0x33eaf2[_0x25623c(0x11f)]();}}):this[_0x2f7d47(0x16f)][_0x2f7d47(0x10e)][_0x2f7d47(0x175)]||this[_0x2f7d47(0x16f)][_0x2f7d47(0x10e)][_0x2f7d47(0x176)]();}[_0xe14aab(0x15d)](){const _0x3da1d0=_0xe14aab;this[_0x3da1d0(0x16f)][_0x3da1d0(0x1b1)]();}[_0xe14aab(0x1ae)](){const _0x2be6e3=_0xe14aab,_0x13b0d0=new Map(),_0x3a8a11=_0x14574b(this[_0x2be6e3(0x113)][_0x2be6e3(0x15b)][_0x2be6e3(0x136)](_0x2be6e3(0x199)),this[_0x2be6e3(0x113)][_0x2be6e3(0x169)]);for(const _0xcf8a42 of _0x3a8a11)for(const _0x18f06c of _0xcf8a42[_0x2be6e3(0x1a4)])_0x13b0d0[_0x2be6e3(0x144)](_0x18f06c['id'],{..._0x18f06c,'groupId':_0xcf8a42[_0x2be6e3(0x18d)],'groupLabel':_0xcf8a42[_0x2be6e3(0x171)]||_0xcf8a42[_0x2be6e3(0x18d)]});return _0x13b0d0;}[_0xe14aab(0x16a)](_0x28ffe1){const _0x1788b4=_0xe14aab,_0x1b990f=this[_0x1788b4(0x113)],_0x46d617=_0x1b990f[_0x1788b4(0x1a4)][_0x1788b4(0x136)](_0x1788b4(0x1a6)),_0x4e52e5=new _0x28ffe1(_0x1b990f[_0x1788b4(0x169)]);return _0x4e52e5[_0x1788b4(0x144)]({'label':_0x54ffa6(_0x1b990f[_0x1788b4(0x169)],_0x1788b4(0x19f)),'icon':_0xea4b0d[_0x1788b4(0x142)],'isToggleable':!0x0}),_0x4e52e5[_0x1788b4(0x18f)](_0x1788b4(0x1ab))['to'](_0x46d617),_0x4e52e5[_0x1788b4(0x18f)](_0x1788b4(0x14d))['to'](this[_0x1788b4(0x16f)],'id',_0x173416=>_0x1788b4(0x15f)===_0x173416),this[_0x1788b4(0x17b)](_0x4e52e5,_0x1788b4(0x134),()=>{const _0x4d75c2=_0x1788b4;_0x4e52e5[_0x4d75c2(0x14d)]?this[_0x4d75c2(0x15d)]():_0x46d617[_0x4d75c2(0x134)]();}),_0x4e52e5;}[_0xe14aab(0x10f)](){const _0x57d726=_0xe14aab,_0x1138fa=this[_0x57d726(0x113)][_0x57d726(0x1b2)][_0x57d726(0x136)](_0x20d297);this[_0x57d726(0x124)]=new _0x23a4da(this[_0x57d726(0x113)][_0x57d726(0x169)],this[_0x57d726(0x195)],this[_0x57d726(0x113)][_0x57d726(0x15b)][_0x57d726(0x136)](_0x57d726(0x16d))),this[_0x57d726(0x124)]['on'](_0x57d726(0x160),()=>{const _0x6e02b=_0x57d726;this[_0x6e02b(0x16f)][_0x6e02b(0x10e)][_0x6e02b(0x175)]||this[_0x6e02b(0x16f)][_0x6e02b(0x10e)][_0x6e02b(0x176)]();}),this[_0x57d726(0x124)][_0x57d726(0x133)][_0x57d726(0x156)][_0x57d726(0x125)]['on'](_0x57d726(0x1b5),()=>{const _0x43ad95=_0x57d726;this[_0x43ad95(0x16f)][_0x43ad95(0x10e)][_0x43ad95(0x175)]||this[_0x43ad95(0x16f)][_0x43ad95(0x10e)][_0x43ad95(0x176)]();}),this[_0x57d726(0x17b)](this[_0x57d726(0x124)],_0x57d726(0x16e),()=>{const _0x572019=_0x57d726;_0x1138fa[_0x572019(0x14a)](this[_0x572019(0x114)][_0x572019(0x11d)]),this[_0x572019(0x15d)]();}),this[_0x57d726(0x17b)](this[_0x57d726(0x124)],_0x57d726(0x18a),()=>{const _0x304972=_0x57d726;_0x1138fa[_0x304972(0x18a)](this[_0x304972(0x114)][_0x304972(0x11d)]),this[_0x304972(0x15d)]();}),this[_0x57d726(0x196)]();}[_0xe14aab(0x196)](){const _0x473929=_0xe14aab,{locale:_0x129937,ui:{ariaLiveAnnouncer:_0x5e7d91}}=this[_0x473929(0x113)];this[_0x473929(0x124)][_0x473929(0x19e)]['on'](_0x473929(0x154),(_0x2204a4,_0x4e3302,_0x4e190c)=>{const _0x5559cc=_0x473929,_0x37c919=this[_0x5559cc(0x114)][_0x5559cc(0x11d)];_0x4e190c?_0x5e7d91[_0x5559cc(0x128)](_0x54ffa6(_0x129937,_0x5559cc(0x19b))):_0x37c919&&_0x5e7d91[_0x5559cc(0x128)](_0x54ffa6(_0x129937,_0x5559cc(0x138),_0x37c919),{'politeness':_0x5559cc(0x11a),'isUnsafeHTML':!0x0});}),this[_0x473929(0x124)]['on'](_0x473929(0x111),(_0x11fdb3,_0x221bb1,_0x1d8e70)=>{const _0x4759f0=_0x473929;if(_0x1d8e70){const _0x222f18=this[_0x4759f0(0x124)][_0x4759f0(0x189)][_0x4759f0(0x137)];_0x5e7d91[_0x4759f0(0x128)](_0x54ffa6(_0x129937,_0x4759f0(0x19a),_0x222f18));}});}[_0xe14aab(0x10b)](_0x6ec913){const _0x333cf1=_0xe14aab,_0x3b156e=this[_0x333cf1(0x12c)][_0x333cf1(0x136)](_0x6ec913),_0x148686=this[_0x333cf1(0x113)],_0x27a61d=_0x148686[_0x333cf1(0x184)][_0x333cf1(0x181)][_0x333cf1(0x11b)],_0x291003=_0x148686[_0x333cf1(0x1a4)][_0x333cf1(0x136)](_0x333cf1(0x1a6)),_0x62924a=_0x148686[_0x333cf1(0x1b2)][_0x333cf1(0x136)](_0x20d297),_0x91222a=''+(_0x3b156e[_0x333cf1(0x18d)]!==_0x245d00?_0x3b156e[_0x333cf1(0x171)]+':\x20':'')+_0x3b156e[_0x333cf1(0x19d)];if(!0x1!==_0x3b156e[_0x333cf1(0x1b6)]&&_0x27a61d[_0x333cf1(0x155)]){const _0x2065d0=_0x44ba26(_0x27a61d[_0x333cf1(0x126)]())||_0x148686[_0x333cf1(0x184)][_0x333cf1(0x16b)][_0x333cf1(0x1af)](_0x27a61d);_0x148686[_0x333cf1(0x184)][_0x333cf1(0x14c)](_0x177397=>{const _0x57af82=_0x333cf1;_0x177397[_0x57af82(0x1b4)](_0x2065d0,'in');});}_0x62924a[_0x333cf1(0x158)](),_0x291003[_0x333cf1(0x134)](_0x3b156e[_0x333cf1(0x16c)],_0x91222a,_0x333cf1(0x193)+_0x6ec913);}[_0xe14aab(0x198)](_0x30aaa7,_0x443bfc,_0x44cfd3,_0x1cff3e){const _0x4d833d=_0xe14aab,_0xaf4361=this[_0x4d833d(0x113)],_0x51af18=_0xaf4361[_0x4d833d(0x169)],_0x47be9e=new _0x4e8a2b(_0x51af18),_0x46bbbb=B(_0xaf4361,_0x44cfd3)[_0x4d833d(0x1bb)](_0x4c4686=>_0x4c4686[_0x4d833d(0x1a4)][_0x4d833d(0x177)]);0x1===_0x46bbbb[_0x4d833d(0x177)]?this[_0x4d833d(0x1a0)]({'command':_0x30aaa7,'commands':_0x46bbbb[0x0][_0x4d833d(0x1a4)],'parentMenuView':_0x443bfc,'onExecute':_0x1cff3e})[_0x4d833d(0x115)](_0x513be6=>_0x47be9e[_0x4d833d(0x19c)][_0x4d833d(0x1a7)](_0x513be6)):_0x46bbbb[_0x4d833d(0x115)](({groupId:_0xff0d6a,groupLabel:_0x28ddf3,commands:_0xf936de})=>{const _0x5a0ba8=_0x4d833d,_0x2a25b9=new _0x5db70e(_0x51af18,_0x443bfc),_0x860720=new _0x326110(_0x51af18),_0x488d33=new _0x4e8a2b(_0x51af18),_0x175d61=this[_0x5a0ba8(0x1a0)]({'command':_0x30aaa7,'commands':_0xf936de,'parentMenuView':_0x860720,'onExecute':_0x1cff3e});_0x860720[_0x5a0ba8(0x1a3)][_0x5a0ba8(0x144)]({'label':_0x28ddf3||_0xff0d6a}),_0x860720[_0x5a0ba8(0x161)](_0x5a0ba8(0x134))['to'](_0x443bfc),_0x488d33[_0x5a0ba8(0x19c)][_0x5a0ba8(0x172)](_0x175d61),_0x860720[_0x5a0ba8(0x153)][_0x5a0ba8(0x129)][_0x5a0ba8(0x1a7)](_0x488d33),_0x2a25b9[_0x5a0ba8(0x129)][_0x5a0ba8(0x1a7)](_0x860720),_0x47be9e[_0x5a0ba8(0x19c)][_0x5a0ba8(0x1a7)](_0x2a25b9);}),_0x443bfc[_0x4d833d(0x153)][_0x4d833d(0x129)][_0x4d833d(0x1a7)](_0x47be9e);}[_0xe14aab(0x1a0)]({command:_0x5c31b2,commands:_0x3d8fba,parentMenuView:_0x192342,onExecute:_0x221c0e}){const _0x381d4b=_0xe14aab,_0x463908=this[_0x381d4b(0x113)],_0x6fa25e=_0x463908[_0x381d4b(0x169)];return B(_0x463908,_0x3d8fba)[_0x381d4b(0x13c)](_0x499e4c=>{const _0x2763cd=_0x381d4b,_0x4f6e40=new _0x5db70e(_0x6fa25e,_0x192342),_0x192540=new _0x31816a(_0x6fa25e);return _0x192540[_0x2763cd(0x144)]({'label':_0x499e4c[_0x2763cd(0x19d)]}),_0x192540[_0x2763cd(0x161)](_0x2763cd(0x134))['to'](_0x192342),_0x192540['on'](_0x2763cd(0x134),()=>_0x221c0e(_0x499e4c['id'])),_0x192540[_0x2763cd(0x18f)](_0x2763cd(0x1ab))['to'](_0x5c31b2,_0x2763cd(0x164),_0x25847c=>_0x25847c[_0x2763cd(0x1ad)](_0x499e4c['id'])),_0x4f6e40[_0x2763cd(0x129)][_0x2763cd(0x1a7)](_0x192540),_0x4f6e40;});}}function _(_0x3efe0c,_0x312bbe){const _0x147c2f=_0xe14aab;return void 0x0!==_0x3efe0c[_0x147c2f(0x140)]&&void 0x0===_0x312bbe[_0x147c2f(0x140)]?0x1:void 0x0===_0x3efe0c[_0x147c2f(0x140)]&&void 0x0!==_0x312bbe[_0x147c2f(0x140)]?-0x1:void 0x0!==_0x3efe0c[_0x147c2f(0x140)]&&void 0x0!==_0x312bbe[_0x147c2f(0x140)]?_0x3efe0c[_0x147c2f(0x140)]-_0x312bbe[_0x147c2f(0x140)]:0x0;}function B(_0x47f84f,_0x10f100){const _0x58dab1=_0xe14aab;_0x10f100[_0x58dab1(0x151)](_);const _0x583fec={},_0x4e0d4b=[];for(const _0x53a48f of _0x10f100)if(void 0x0!==_0x53a48f[_0x58dab1(0x140)]){if(_0x53a48f[_0x58dab1(0x140)]in _0x583fec)throw new _0x4f7f63(_0x58dab1(0x18c),_0x47f84f,{'conflictingDefinitions':[_0x53a48f,_0x583fec[_0x53a48f[_0x58dab1(0x140)]]]});_0x583fec[_0x53a48f[_0x58dab1(0x140)]]=_0x53a48f,_0x4e0d4b[_0x58dab1(0x123)](_0x53a48f[_0x58dab1(0x140)],0x0,_0x53a48f);}else _0x4e0d4b[_0x58dab1(0x12d)](_0x53a48f);return _0x4e0d4b;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5063(_0x18f893,_0x3dd1da){var _0x52af70=_0x52af();return _0x5063=function(_0x5063e0,_0x1bbccb){_0x5063e0=_0x5063e0-0xa8;var _0x302430=_0x52af70[_0x5063e0];return _0x302430;},_0x5063(_0x18f893,_0x3dd1da);}(function(_0x4cc9a1,_0x3dfb76){var _0x4d4bd0=_0x5063,_0x36b36f=_0x4cc9a1();while(!![]){try{var _0x42e2d5=-parseInt(_0x4d4bd0(0xad))/0x1*(-parseInt(_0x4d4bd0(0xab))/0x2)+parseInt(_0x4d4bd0(0xae))/0x3*(parseInt(_0x4d4bd0(0xb2))/0x4)+-parseInt(_0x4d4bd0(0xaa))/0x5+parseInt(_0x4d4bd0(0xb1))/0x6*(-parseInt(_0x4d4bd0(0xa8))/0x7)+-parseInt(_0x4d4bd0(0xaf))/0x8+-parseInt(_0x4d4bd0(0xac))/0x9+parseInt(_0x4d4bd0(0xa9))/0xa*(parseInt(_0x4d4bd0(0xb0))/0xb);if(_0x42e2d5===_0x3dfb76)break;else _0x36b36f['push'](_0x36b36f['shift']());}catch(_0x72c05){_0x36b36f['push'](_0x36b36f['shift']());}}}(_0x52af,0x852d3));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x52af(){var _0x376306=['4289204SnEBhn','138334fWOIqJ','30Hqumnk','3628205LJfrSR','26ZgLvlb','1689471BWkGMn','20227uEOfEc','3PMYryz','4683096CsHRLX','5063278QIkTgQ','204ewKRXh'];_0x52af=function(){return _0x376306;};return _0x52af();}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1a4c(_0x1c775b,_0x4e7285){var _0xc70554=_0xc705();return _0x1a4c=function(_0x1a4c9b,_0x247db3){_0x1a4c9b=_0x1a4c9b-0x1b9;var _0x566112=_0xc70554[_0x1a4c9b];return _0x566112;},_0x1a4c(_0x1c775b,_0x4e7285);}(function(_0x12a2ce,_0x239e96){var _0x53344a=_0x1a4c,_0x18acee=_0x12a2ce();while(!![]){try{var _0x3ff157=parseInt(_0x53344a(0x1bc))/0x1+-parseInt(_0x53344a(0x1bf))/0x2*(parseInt(_0x53344a(0x1c1))/0x3)+-parseInt(_0x53344a(0x1bd))/0x4+parseInt(_0x53344a(0x1b9))/0x5+-parseInt(_0x53344a(0x1c0))/0x6+parseInt(_0x53344a(0x1bb))/0x7+-parseInt(_0x53344a(0x1be))/0x8*(parseInt(_0x53344a(0x1ba))/0x9);if(_0x3ff157===_0x239e96)break;else _0x18acee['push'](_0x18acee['shift']());}catch(_0xa11831){_0x18acee['push'](_0x18acee['shift']());}}}(_0xc705,0xb8f30));import{CKEditorError as _0x169be9}from'ckeditor5/src/utils.js';function _0xc705(){var _0x4607ef=['3987606JAEfCq','1311765sFXEvA','2239820jsvpON','424rXKnQG','2vdWPXf','2940900JSzVTV','3061770KeNzSY','5738735SDIfnB','34119kUNFML'];_0xc705=function(){return _0x4607ef;};return _0xc705();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0xce34(_0xb956d6,_0x369c04){const _0x1f3136=_0x1f31();return _0xce34=function(_0xce343c,_0xdfe65b){_0xce343c=_0xce343c-0x9d;let _0x5c7fb2=_0x1f3136[_0xce343c];return _0x5c7fb2;},_0xce34(_0xb956d6,_0x369c04);}const _0x5480ac=_0xce34;(function(_0x573417,_0x3fc1e0){const _0x5df27a=_0xce34,_0x3671de=_0x573417();while(!![]){try{const _0x420323=parseInt(_0x5df27a(0xa7))/0x1+parseInt(_0x5df27a(0xcb))/0x2+-parseInt(_0x5df27a(0xdd))/0x3+-parseInt(_0x5df27a(0xad))/0x4+-parseInt(_0x5df27a(0xf9))/0x5*(parseInt(_0x5df27a(0xcf))/0x6)+parseInt(_0x5df27a(0xfa))/0x7*(parseInt(_0x5df27a(0xf4))/0x8)+parseInt(_0x5df27a(0xb4))/0x9;if(_0x420323===_0x3fc1e0)break;else _0x3671de['push'](_0x3671de['shift']());}catch(_0x577943){_0x3671de['push'](_0x3671de['shift']());}}}(_0x1f31,0x93400));import{ObservableMixin as _0x21b6f8}from'ckeditor5/src/utils.js';import{AIRequestError as _0x507eb3}from'../adapters/aiadapter.js';import{Matcher as _0x5a34c3,UpcastWriter as _0x315c0a}from'ckeditor5/src/engine.js';function _0x1f31(){const _0x5908=['message','destroy','once','catch','abort','parseFromString','1513572OHLOzk','document','data','stopProcessing','set','editor','_isH1TagSupportEnabled','currentContext','_handleQuery','text/html','reset','previousActionId','custom','finally','exec','stopListening','submitPrompt','childNodes','serializeToString','div','value','name','viewToDom','1552xdvsAy','innerHTML','view','push','finishProcessing','4360165kxDUhH','24899jWaUlP','domConverter','ELEMENT_NODE','element','body','stringify','_parseAndNormalizeContent','previousQuery','_sanitizationContainer','length','reverse','1090197rrUuMm','textAdapter','listenTo','startsWith','substring','htmlProcessor','3428188DcUkPx','nodeType','tryAgainEvent','_normalizeResponseHeadings','mainAction','querySelector','match','5369751lbqQPB','updateView','processor','remove','then','toView','handleError','isRendered','previousLabel','_xmlSerializer','set:currentContext','editing','setContentOf','prompt','render','previousContext','isProcessing','toModel','<h1></h1>','_domParser','_stripMarkdownSyntax','createElement','rename','919692SotFJp','currentResponse','makeRequest','_sanitizeHTML','6OfTVFs','```','```html','startProcessing','from','endsWith','initialContext','trim'];_0x1f31=function(){return _0x5908;};return _0x1f31();}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class C extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x21b6f8(){constructor(_0x2fc1f1,_0x22e617,_0x5c4da5){const _0x2fb24b=_0xce34;super(),this[_0x2fb24b(0xe2)]=_0x2fc1f1,this[_0x2fb24b(0xa8)]=_0x22e617,this[_0x2fb24b(0xa4)]=document[_0x2fb24b(0xc9)](_0x2fb24b(0xf0)),this[_0x2fb24b(0xc7)]=new DOMParser(),this[_0x2fb24b(0xbd)]=new XMLSerializer(),this[_0x2fb24b(0xf6)]=_0x5c4da5,this[_0x2fb24b(0xe1)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2fb24b(0xbe),(_0x3a461f,_0xddadd6,_0x50545e)=>{const _0xe20b50=_0x2fb24b;this[_0xe20b50(0xf6)][_0xe20b50(0xf1)]=this[_0xe20b50(0xce)](_0x50545e);}),this[_0x2fb24b(0xa9)](this[_0x2fb24b(0xf6)],_0x2fb24b(0xed),(_0x16100e,_0xa7667)=>{const _0x122dd7=_0x2fb24b,_0x26b0af=this[_0x122dd7(0xe4)]||this[_0x122dd7(0xd5)];this[_0x122dd7(0xe5)](_0xa7667,_0x26b0af,_0x122dd7(0xe9));}),this[_0x2fb24b(0xa9)](this[_0x2fb24b(0xf6)],_0x2fb24b(0xaf),()=>{const _0x30b6a6=_0x2fb24b;this[_0x30b6a6(0xf6)][_0x30b6a6(0xc1)]=this[_0x30b6a6(0xbc)],this[_0x30b6a6(0xe5)](this[_0x30b6a6(0xa3)],this[_0x30b6a6(0xc3)],this[_0x30b6a6(0xe8)],this[_0x30b6a6(0xbc)]);}),this[_0x2fb24b(0xa9)](this[_0x2fb24b(0xf6)],_0x2fb24b(0xe0),()=>{const _0xd0dca6=_0x2fb24b;this[_0xd0dca6(0xe0)]();});}[_0x5480ac(0xd8)](){const _0x2de4e0=_0x5480ac;this[_0x2de4e0(0xec)]();}async[_0x5480ac(0xb5)]({actionId:_0xfb1740,query:_0x36be09,htmlContent:_0x27b152,label:_0x58122e,mainActionLabel:_0x4d946d}){const _0x4dedf7=_0x5480ac;this[_0x4dedf7(0xf6)][_0x4dedf7(0xc1)]=_0x58122e,this[_0x4dedf7(0xf6)][_0x4dedf7(0xb1)]=_0x4d946d,this[_0x4dedf7(0xd5)]=_0x27b152,_0x36be09&&(this[_0x4dedf7(0xf6)][_0x4dedf7(0xbb)]?this[_0x4dedf7(0xe5)](_0x36be09,_0x27b152,_0xfb1740,_0x58122e):this[_0x4dedf7(0xf6)][_0x4dedf7(0xd9)](_0x4dedf7(0xc2),()=>{const _0x3a6346=_0x4dedf7;this[_0x3a6346(0xe5)](_0x36be09,_0x27b152,_0xfb1740,_0x58122e);}));}[_0x5480ac(0xe0)](){const _0x3a9ba2=_0x5480ac;this[_0x3a9ba2(0xc4)]&&(this[_0x3a9ba2(0xc4)]=!0x1,this[_0x3a9ba2(0xf6)][_0x3a9ba2(0xf8)](),this[_0x3a9ba2(0xa8)][_0x3a9ba2(0xdb)]());}[_0x5480ac(0xe7)](){const _0x26ecac=_0x5480ac;this[_0x26ecac(0xd5)]='',this[_0x26ecac(0xe4)]='',this[_0x26ecac(0xcc)]='',this[_0x26ecac(0xc3)]='',this[_0x26ecac(0xa3)]='',this[_0x26ecac(0xbc)]='',this[_0x26ecac(0xe8)]=void 0x0,this[_0x26ecac(0xf6)][_0x26ecac(0xe7)](),this[_0x26ecac(0xe0)]();}async[_0x5480ac(0xe5)](_0x238452,_0x4cdfe7,_0x352f39,_0x46f282){const _0x192d70=_0x5480ac;return this[_0x192d70(0xc4)]=!0x0,this[_0x192d70(0xf6)][_0x192d70(0xd2)](),this[_0x192d70(0xc3)]=_0x4cdfe7,this[_0x192d70(0xa3)]=_0x238452,this[_0x192d70(0xbc)]=_0x46f282||_0x238452,this[_0x192d70(0xe8)]=_0x352f39,new Promise(_0x39d4dd=>{const _0x540e60=_0x192d70;this[_0x540e60(0xa8)][_0x540e60(0xcd)]({'query':_0x238452,'context':_0x4cdfe7,'onData':_0x3c2727=>{const _0x3f2d33=_0x540e60;this[_0x3f2d33(0xcc)]=_0x3c2727,this[_0x3f2d33(0xe4)]=this[_0x3f2d33(0xa2)](this[_0x3f2d33(0xcc)]);},'actionId':_0x352f39})[_0x540e60(0xb8)](()=>{const _0x4480db=_0x540e60;!this[_0x4480db(0xe4)]&&this[_0x4480db(0xcc)]&&(this[_0x4480db(0xe4)]=this[_0x4480db(0xa2)](this[_0x4480db(0xcc)],!0x0));})[_0x540e60(0xda)](_0x187ae4=>{const _0x229838=_0x540e60;_0x187ae4 instanceof _0x507eb3?this[_0x229838(0xf6)][_0x229838(0xba)](_0x187ae4[_0x229838(0xd7)]):this[_0x229838(0xf6)][_0x229838(0xba)](),_0x39d4dd();})[_0x540e60(0xea)](()=>{const _0x2f2aa7=_0x540e60;this[_0x2f2aa7(0xe0)](),_0x39d4dd();});});}[_0x5480ac(0xa2)](_0x24619d,_0x502db1=!0x1){const _0x210201=_0x5480ac,_0x55cf97=Z[_0x210201(0xeb)](_0x24619d);_0x24619d=_0x55cf97?_0x24619d[_0x210201(0xab)](_0x55cf97[0x1][_0x210201(0xa5)]):_0x24619d[_0x210201(0xa5)]<0x64&&!_0x502db1?'':this[_0x210201(0xc8)](_0x24619d);const _0x305f5e=this[_0x210201(0xc7)][_0x210201(0xdc)](_0x24619d,_0x210201(0xe6));if(_0x55cf97){const _0x368551=Array[_0x210201(0xd3)](_0x305f5e[_0x210201(0xa0)][_0x210201(0xee)]);_0x368551[_0x210201(0xa6)]();for(const _0x515ee5 of _0x368551){if(_0x515ee5[_0x210201(0xae)]==Node[_0x210201(0x9e)])break;_0x515ee5[_0x210201(0xb7)]();}}const _0x3d86b4=this[_0x210201(0xe2)][_0x210201(0xdf)][_0x210201(0xb6)][_0x210201(0xb9)](this[_0x210201(0xbd)][_0x210201(0xef)](_0x305f5e[_0x210201(0xa0)]));return this[_0x210201(0xe3)]()||this[_0x210201(0xb0)](_0x3d86b4),this[_0x210201(0xe2)][_0x210201(0xdf)][_0x210201(0xa1)](this[_0x210201(0xe2)][_0x210201(0xdf)][_0x210201(0xc5)](_0x3d86b4));}[_0x5480ac(0xb0)](_0x2c1a53){const _0x340d7e=_0x5480ac,_0x5bbc6b=new _0x315c0a(this[_0x340d7e(0xe2)][_0x340d7e(0xbf)][_0x340d7e(0xf6)][_0x340d7e(0xde)]),_0x1b4730=new _0x5a34c3({'name':/^h[1-5]$/}),_0x40f6de=[];let _0x592f83=!0x1;for(const _0x141795 of _0x2c1a53)_0x141795['is'](_0x340d7e(0x9f))&&_0x1b4730[_0x340d7e(0xb3)](_0x141795)&&(_0x40f6de[_0x340d7e(0xf7)](_0x141795),'h1'==_0x141795[_0x340d7e(0xf2)]&&(_0x592f83=!0x0));if(_0x592f83){for(const _0x1673e9 of _0x40f6de)_0x5bbc6b[_0x340d7e(0xca)]('h'+(parseInt(_0x1673e9[_0x340d7e(0xf2)][0x1])+0x1),_0x1673e9);}}[_0x5480ac(0xe3)](){const _0x1c4fb2=_0x5480ac,{data:_0x10df93,editing:_0x218591}=this[_0x1c4fb2(0xe2)],_0x277e98=_0x10df93[_0x1c4fb2(0xac)][_0x1c4fb2(0xb9)](_0x1c4fb2(0xc6)),_0x1c7fe2=_0x10df93[_0x1c4fb2(0xb9)](_0x10df93[_0x1c4fb2(0xc5)](_0x277e98));return!!_0x218591[_0x1c4fb2(0xf6)][_0x1c4fb2(0x9d)][_0x1c4fb2(0xf3)](_0x1c7fe2)[_0x1c4fb2(0xb2)]('h1');}[_0x5480ac(0xce)](_0x146bae){const _0x1b6489=_0x5480ac;return this[_0x1b6489(0xe2)][_0x1b6489(0xbf)][_0x1b6489(0xf6)][_0x1b6489(0x9d)][_0x1b6489(0xc0)](this[_0x1b6489(0xa4)],_0x146bae),this[_0x1b6489(0xa4)][_0x1b6489(0xf5)];}[_0x5480ac(0xc8)](_0x150891){const _0x2a8b0c=_0x5480ac,_0x57993d=_0x150891[_0x2a8b0c(0xd6)]();return _0x57993d[_0x2a8b0c(0xaa)](_0x2a8b0c(0xd1))?_0x57993d[_0x2a8b0c(0xd4)](_0x2a8b0c(0xd0))?_0x57993d[_0x2a8b0c(0xab)](0x7,_0x57993d[_0x2a8b0c(0xa5)]-0x3):_0x57993d[_0x2a8b0c(0xab)](0x7):_0x150891;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x567ddf=_0x63a5;(function(_0x3b7921,_0x34b6e8){const _0x393ef6=_0x63a5,_0x29373d=_0x3b7921();while(!![]){try{const _0x4c0709=-parseInt(_0x393ef6(0x1de))/0x1+parseInt(_0x393ef6(0x206))/0x2*(parseInt(_0x393ef6(0x1f2))/0x3)+-parseInt(_0x393ef6(0x216))/0x4+-parseInt(_0x393ef6(0x1f1))/0x5+-parseInt(_0x393ef6(0x215))/0x6*(parseInt(_0x393ef6(0x202))/0x7)+parseInt(_0x393ef6(0x1d0))/0x8*(parseInt(_0x393ef6(0x20b))/0x9)+parseInt(_0x393ef6(0x1c4))/0xa;if(_0x4c0709===_0x34b6e8)break;else _0x29373d['push'](_0x29373d['shift']());}catch(_0x4f9280){_0x29373d['push'](_0x29373d['shift']());}}}(_0x18ba,0x1920d));import{global as _0xfa3798}from'ckeditor5/src/utils.js';import{View as _0x265048,ButtonView as _0x3159e6,SpinnerView as _0x52320b}from'ckeditor5/src/ui.js';import _0x5e8318 from'../../../theme/icons/copy.svg';function _0x18ba(){const _0x51acf6=['class','getSelection','text/html','left','ck-ai-form__content-area','21nyoosd','value','copyButtonView','ck-reset_all-excluded','138dNEWpJ','_createLoader','wheel','Copy','\x20ck-ai-form__copy-button--copied','345366ilDmLG','mousedown','style','isEnabled','-9999px','absolute','isVisible','ck-content','change:value','check','342246KkYoTr','746388vzdOPA','write','clipboard','addRange','4659040PhYOia','ck-ai-form__content-area-wrapper','smooth','contentFieldView','ck-ai-form__content-field','.ck-ai-form__loader','remove','bind','scrollHeight','ck-hidden','innerHTML','setTemplate','32dIeQYp','_createCopyButton','element','removeAllRanges','ck-ai-form__content-area--processing','div','scrollTo','copy','set','ck-ai-form__copy-button','change:isProcessing','bindTemplate','icon','setStartAfter','205002QkFpyG','isProcessing','render','locale','position','execCommand','lastElementChild','AI\x20is\x20writing...','execute','ck-ai-form__copy-button-wrapper','firstElementChild','setEndBefore','appendLoader','textContent','body','_copyHTMLToClipboard','querySelector','setContent','ClipboardItem','86855AZjxzB','2766dnOcIO','listenTo','loaderView','ck-ai-form__loader','createRange','focus','<span>]</span>','appendChild','text/plain','<span>[</span>','createElement'];_0x18ba=function(){return _0x51acf6;};return _0x18ba();}function _0x63a5(_0x22066e,_0x4e08b5){const _0x18bafd=_0x18ba();return _0x63a5=function(_0x63a570,_0x49ee1a){_0x63a570=_0x63a570-0x1c1;let _0x1a8919=_0x18bafd[_0x63a570];return _0x1a8919;},_0x63a5(_0x22066e,_0x4e08b5);}import{getTranslation as _0xd21c7f}from'../../utils/common-translations.js';import{icons as _0x1a85cc}from'ckeditor5/src/core.js';export default class W extends _0x265048{constructor(_0x21381a,_0x377650=''){const _0x5560f8=_0x63a5;super(_0x21381a),this[_0x5560f8(0x1d8)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x381f59=this[_0x5560f8(0x1db)];this[_0x5560f8(0x1c7)]=new ContentFieldView(_0x21381a,_0x377650),this[_0x5560f8(0x204)]=this[_0x5560f8(0x1d1)](),this[_0x5560f8(0x1cf)]({'tag':_0x5560f8(0x1d5),'attributes':{'class':['ck',_0x5560f8(0x1c5),_0x381f59['if'](_0x5560f8(0x211),_0x5560f8(0x1cd),_0x1d463c=>!_0x1d463c)],'tabindex':'-1'},'children':[{'tag':_0x5560f8(0x1d5),'attributes':{'class':['ck',_0x5560f8(0x201),_0x381f59['if'](_0x5560f8(0x1df),_0x5560f8(0x1d4))]},'children':[this[_0x5560f8(0x1c7)],{'tag':_0x5560f8(0x1d5),'attributes':{'class':['ck',_0x5560f8(0x1e7)]},'children':[this[_0x5560f8(0x204)]]}]}]});}[_0x567ddf(0x1e0)](){const _0x398fe5=_0x567ddf;super[_0x398fe5(0x1e0)](),this[_0x398fe5(0x203)]&&this[_0x398fe5(0x1c7)][_0x398fe5(0x1ef)](this[_0x398fe5(0x203)]);let _0x59b13d=!0x1;this['on'](_0x398fe5(0x213),(_0x12155d,_0x1ba6a6,_0x11227f)=>{const _0x4d221f=_0x398fe5,_0x1f9e2f=!this[_0x4d221f(0x1c7)][_0x4d221f(0x1d2)][_0x4d221f(0x1ee)](_0x4d221f(0x1c9));this[_0x4d221f(0x1c7)][_0x4d221f(0x1ef)](_0x11227f),this[_0x4d221f(0x1df)]&&_0x1f9e2f&&!_0x59b13d&&this[_0x4d221f(0x1d2)][_0x4d221f(0x1d6)]({'top':this[_0x4d221f(0x1d2)][_0x4d221f(0x1cc)],'behavior':_0x4d221f(0x1c6)});}),this['on'](_0x398fe5(0x1da),(_0x400981,_0x547822,_0x24898c)=>{const _0x2d8d67=_0x398fe5;_0x59b13d=!0x1,_0x24898c?(this[_0x2d8d67(0x203)]=null,this[_0x2d8d67(0x1c7)][_0x2d8d67(0x1ea)]()):this[_0x2d8d67(0x203)]||this[_0x2d8d67(0x1c7)][_0x2d8d67(0x1ef)]('');}),this[_0x398fe5(0x1f3)](this[_0x398fe5(0x1d2)],_0x398fe5(0x208),()=>{_0x59b13d=!0x0;}),this[_0x398fe5(0x1f3)](this[_0x398fe5(0x1d2)],_0x398fe5(0x20c),()=>{_0x59b13d=!0x0;});}[_0x567ddf(0x1f7)](){const _0x286b3a=_0x567ddf;this[_0x286b3a(0x1d2)][_0x286b3a(0x1f7)]();}[_0x567ddf(0x1d1)](){const _0x47a3aa=_0x567ddf,_0x185160=this[_0x47a3aa(0x1e1)],_0x307645=new _0x3159e6(this[_0x47a3aa(0x1e1)]),_0xabd71f=_0x47a3aa(0x1d9);return _0x307645[_0x47a3aa(0x1d8)]({'label':_0xd21c7f(_0x185160,_0x47a3aa(0x209)),'icon':_0x5e8318,'class':_0xabd71f,'tooltip':!0x0}),_0x307645[_0x47a3aa(0x1cb)](_0x47a3aa(0x211))['to'](this,_0x47a3aa(0x203),_0x1ae229=>!!_0x1ae229),_0x307645[_0x47a3aa(0x1cb)](_0x47a3aa(0x20e))['to'](this,_0x47a3aa(0x1df),_0x4b6e5b=>!_0x4b6e5b),_0x307645['on'](_0x47a3aa(0x1e6),()=>{const _0x2c467e=_0x47a3aa;this[_0x2c467e(0x1ed)](this[_0x2c467e(0x1c7)][_0x2c467e(0x1d2)]),_0x307645[_0x2c467e(0x1dc)]=_0x1a85cc[_0x2c467e(0x214)],_0x307645[_0x2c467e(0x1fd)]=_0xabd71f+_0x2c467e(0x20a),this[_0x2c467e(0x1f7)](),setTimeout(()=>{const _0x18b4fd=_0x2c467e;_0x307645[_0x18b4fd(0x1dc)]=_0x5e8318,_0x307645[_0x18b4fd(0x1fd)]=_0xabd71f;},0x3e8);}),_0x307645;}[_0x567ddf(0x1ed)](_0x4c913b){const _0x37a4b3=_0x567ddf,{window:_0xa137da,document:_0x549a1c}=_0xfa3798;if(_0xa137da[_0x37a4b3(0x1f0)]){const {Blob:_0x23cb2a,ClipboardItem:_0xbf2904}=_0xa137da,_0x57cbd2=[new _0xbf2904({'text/html':new _0x23cb2a([_0x4c913b[_0x37a4b3(0x1ce)]],{'type':_0x37a4b3(0x1ff)}),'text/plain':new _0x23cb2a([_0x4c913b[_0x37a4b3(0x1eb)]||''],{'type':_0x37a4b3(0x1fa)})})];navigator[_0x37a4b3(0x1c2)][_0x37a4b3(0x1c1)](_0x57cbd2);}else{const _0x53fc96=_0x549a1c[_0x37a4b3(0x1fc)](_0x37a4b3(0x1d5));_0x53fc96[_0x37a4b3(0x20d)][_0x37a4b3(0x1e2)]=_0x37a4b3(0x210),_0x53fc96[_0x37a4b3(0x20d)][_0x37a4b3(0x200)]=_0x37a4b3(0x20f),_0x53fc96[_0x37a4b3(0x1ce)]=_0x37a4b3(0x1fb)+_0x4c913b[_0x37a4b3(0x1ce)]+_0x37a4b3(0x1f8),_0x549a1c[_0x37a4b3(0x1ec)][_0x37a4b3(0x1f9)](_0x53fc96);const _0x432fea=_0x549a1c[_0x37a4b3(0x1f6)]();_0x432fea[_0x37a4b3(0x1dd)](_0x53fc96[_0x37a4b3(0x1e8)]),_0x432fea[_0x37a4b3(0x1e9)](_0x53fc96[_0x37a4b3(0x1e4)]);const _0xb5f914=_0xa137da[_0x37a4b3(0x1fe)]();_0xb5f914[_0x37a4b3(0x1d3)](),_0xb5f914[_0x37a4b3(0x1c3)](_0x432fea),_0x549a1c[_0x37a4b3(0x1e3)](_0x37a4b3(0x1d7)),_0x53fc96[_0x37a4b3(0x1ca)]();}}}export class ContentFieldView extends _0x265048{constructor(_0x46a6fa,_0x56704e=''){const _0x43d978=_0x567ddf;super(_0x46a6fa),this[_0x43d978(0x1f4)]=this[_0x43d978(0x207)](),this[_0x43d978(0x1cf)]({'tag':_0x43d978(0x1d5),'attributes':{'class':['ck',_0x43d978(0x212),_0x56704e,_0x43d978(0x205),_0x43d978(0x1c8)]}});}[_0x567ddf(0x1ef)](_0x21ef8b){const _0x10a92d=_0x567ddf;this[_0x10a92d(0x1d2)][_0x10a92d(0x1ce)]=_0x21ef8b;}[_0x567ddf(0x1ea)](){const _0x589e3e=_0x567ddf;this[_0x589e3e(0x1d2)][_0x589e3e(0x1f9)](this[_0x589e3e(0x1f4)][_0x589e3e(0x1d2)]);}[_0x567ddf(0x207)](){const _0x41c808=_0x567ddf,_0x2dc5f7=new _0x265048(),_0x348656=this[_0x41c808(0x1e1)],_0x3a4699=new _0x52320b();return _0x3a4699[_0x41c808(0x211)]=!0x0,_0x2dc5f7[_0x41c808(0x1cf)]({'tag':_0x41c808(0x1d5),'attributes':{'class':['ck',_0x41c808(0x1f5)]},'children':[_0x3a4699,{'text':_0xd21c7f(_0x348656,_0x41c808(0x1e5))}]}),_0x2dc5f7[_0x41c808(0x1e0)](),_0x2dc5f7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x35e0(){const _0x4730ce=['bindTemplate','35Uqxbmp','108jWTqXi','12215dospxB','ck-ai-form__error','99105XdGLkU','text','149352HyckET','116lvUPhI','9629708WgqcpP','10cYZEss','content','div','144934FSDMGS','set','759618Srpqmt','20571tgqCmh','setTemplate'];_0x35e0=function(){return _0x4730ce;};return _0x35e0();}(function(_0x26e9db,_0x107037){const _0x3fd1b7=_0x4d98,_0x34a724=_0x26e9db();while(!![]){try{const _0x342c4f=-parseInt(_0x3fd1b7(0x71))/0x1+parseInt(_0x3fd1b7(0x69))/0x2+-parseInt(_0x3fd1b7(0x6c))/0x3*(parseInt(_0x3fd1b7(0x76))/0x4)+parseInt(_0x3fd1b7(0x73))/0x5*(-parseInt(_0x3fd1b7(0x70))/0x6)+parseInt(_0x3fd1b7(0x6f))/0x7*(-parseInt(_0x3fd1b7(0x75))/0x8)+-parseInt(_0x3fd1b7(0x6b))/0x9+parseInt(_0x3fd1b7(0x66))/0xa*(parseInt(_0x3fd1b7(0x65))/0xb);if(_0x342c4f===_0x107037)break;else _0x34a724['push'](_0x34a724['shift']());}catch(_0x3b085b){_0x34a724['push'](_0x34a724['shift']());}}}(_0x35e0,0x3163e));import{View as _0x2eb84d,IconView as _0x1e98cc}from'ckeditor5/src/ui.js';function _0x4d98(_0xb2c2e8,_0x51dba4){const _0x35e0a6=_0x35e0();return _0x4d98=function(_0x4d9840,_0x3e2169){_0x4d9840=_0x4d9840-0x65;let _0x27c30e=_0x35e0a6[_0x4d9840];return _0x27c30e;},_0x4d98(_0xb2c2e8,_0x51dba4);}import _0x2c3381 from'../../../theme/icons/error.svg';export default class tt extends _0x2eb84d{constructor(_0x1655b1,_0x504d0d=''){const _0x104931=_0x4d98;super(_0x1655b1);const _0x5d2609=new _0x1e98cc(),_0x170117=this[_0x104931(0x6e)];this[_0x104931(0x6a)](_0x104931(0x74),_0x504d0d),_0x5d2609[_0x104931(0x67)]=_0x2c3381,this[_0x104931(0x6d)]({'tag':_0x104931(0x68),'attributes':{'class':['ck',_0x104931(0x72)]},'children':[_0x5d2609,{'text':_0x170117['to'](_0x104931(0x74))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x582825=_0x5a27;(function(_0x5a0a0c,_0x3178c8){const _0x1d67ef=_0x5a27,_0x5ed65c=_0x5a0a0c();while(!![]){try{const _0x2e7d90=parseInt(_0x1d67ef(0xa6))/0x1*(parseInt(_0x1d67ef(0xaf))/0x2)+-parseInt(_0x1d67ef(0xbc))/0x3*(-parseInt(_0x1d67ef(0xad))/0x4)+-parseInt(_0x1d67ef(0xcb))/0x5+-parseInt(_0x1d67ef(0xae))/0x6+-parseInt(_0x1d67ef(0xcd))/0x7*(-parseInt(_0x1d67ef(0xb2))/0x8)+parseInt(_0x1d67ef(0xa5))/0x9+parseInt(_0x1d67ef(0xa0))/0xa*(-parseInt(_0x1d67ef(0xcf))/0xb);if(_0x2e7d90===_0x3178c8)break;else _0x5ed65c['push'](_0x5ed65c['shift']());}catch(_0x33a79c){_0x5ed65c['push'](_0x5ed65c['shift']());}}}(_0x49bc,0x3ea8a));function _0x5a27(_0x20668f,_0x58a7d2){const _0x49bca3=_0x49bc();return _0x5a27=function(_0x5a27d0,_0x3206d6){_0x5a27d0=_0x5a27d0-0x9f;let _0x1962c8=_0x49bca3[_0x5a27d0];return _0x1962c8;},_0x5a27(_0x20668f,_0x58a7d2);}import{Rect as _0x48c06e,global as _0x1f1c22,isVisible as _0x33bd34}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1c4d5f,ButtonView as _0x2577b3}from'ckeditor5/src/ui.js';function _0x49bc(){const _0x5483d9=['fire','keystrokes','2266945UZFKLQ','value','217NPFFGg','requestAnimationFrame','4290011PgOCkW','update','bind','focusFirst','filteredView','target','submit','rtl','isOn','isVisible','element','history','_createSubmitButton','10pookKZ','showHistoryButtonView','fieldWrapperChildren','right','execute','4572504sVFPpL','1EKAlef','minRows','History','add','Submit','enter','ck-ai-form__toggle-history','6088fDMHnw','824484rAlpXu','108002wHKnhh','isEmpty','focusLast','64712AGGzXw','_createShowHistoryButton','submitButtonView','render','isEnabled','excludeScrollbarsAndBorders','locale','children','focus','maxRows','837ZndMOe','set','left','width','focusCycler','fieldView','resultsView','queryView','ck-ai-form__submit','uiLanguageDirection','focusableChildren','style','window'];_0x49bc=function(){return _0x5483d9;};return _0x49bc();}import{icons as _0x3655d5}from'ckeditor5/src/core.js';import{getTranslation as _0x597568}from'../../utils/common-translations.js';import _0x231dab from'../../../theme/icons/submit.svg';export default class ht extends _0x1c4d5f{constructor(_0x411dc1,_0x32a7ed){const _0x36dda3=_0x5a27;super(_0x411dc1,_0x32a7ed),this[_0x36dda3(0xc3)][_0x36dda3(0xc1)][_0x36dda3(0xa7)]=0x1,this[_0x36dda3(0xc3)][_0x36dda3(0xc1)][_0x36dda3(0xbb)]=0x3,this[_0x36dda3(0xb4)]=this[_0x36dda3(0x9f)](),this[_0x36dda3(0xa1)]=this[_0x36dda3(0xb3)](),this[_0x36dda3(0xc6)][_0x36dda3(0xa9)](this[_0x36dda3(0xa1)],0x1),this[_0x36dda3(0xc6)][_0x36dda3(0xa9)](this[_0x36dda3(0xb4)]);}[_0x582825(0xb5)](){const _0x2b2fe1=_0x582825;super[_0x2b2fe1(0xb5)](),this[_0x2b2fe1(0xc3)][_0x2b2fe1(0xa2)][_0x2b2fe1(0xa9)](this[_0x2b2fe1(0xa1)]),this[_0x2b2fe1(0xb9)][_0x2b2fe1(0xa9)](this[_0x2b2fe1(0xb4)]),this[_0x2b2fe1(0xca)][_0x2b2fe1(0xbd)](_0x2b2fe1(0xab),(_0x523cb3,_0x3e55c)=>{const _0x52a76=_0x2b2fe1;_0x523cb3[_0x52a76(0xd4)]==this[_0x52a76(0xc3)][_0x52a76(0xc1)][_0x52a76(0xd9)]&&(this[_0x52a76(0xd5)](),_0x3e55c());});}[_0x582825(0x9f)](){const _0x40af7d=_0x582825,_0x3624c7=new _0x2577b3(this[_0x40af7d(0xb8)]),_0x19fb42=this[_0x40af7d(0xb8)];return _0x3624c7[_0x40af7d(0xbd)]({'icon':_0x231dab,'label':_0x597568(_0x19fb42,_0x40af7d(0xaa)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x40af7d(0xc4)}),_0x3624c7['on'](_0x40af7d(0xa4),()=>{const _0x4a60d5=_0x40af7d;this[_0x4a60d5(0xd5)]();}),_0x3624c7[_0x40af7d(0xd1)](_0x40af7d(0xb6))['to'](this[_0x40af7d(0xc3)][_0x40af7d(0xc1)],_0x40af7d(0xb0),this,_0x40af7d(0xb6),(_0x51219b,_0xb639bc)=>!_0x51219b&&_0xb639bc),_0x3624c7;}[_0x582825(0xb3)](){const _0xcc24e1=_0x582825,_0x1662b6=new _0x2577b3(this[_0xcc24e1(0xb8)]),_0x45d242=this[_0xcc24e1(0xc2)],_0x20ea37=this[_0xcc24e1(0xb8)];_0x1662b6[_0xcc24e1(0xbd)]({'label':_0x597568(_0x20ea37,_0xcc24e1(0xa8)),'withText':!0x1,'icon':_0x3655d5[_0xcc24e1(0xda)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0xcc24e1(0xac)}),_0x1662b6[_0xcc24e1(0xd1)](_0xcc24e1(0xd7))['to'](_0x45d242,_0xcc24e1(0xd8)),_0x1662b6[_0xcc24e1(0xd1)](_0xcc24e1(0xb6))['to'](this,_0xcc24e1(0xb6)),_0x1662b6['on'](_0xcc24e1(0xa4),()=>{const _0x39bddf=_0xcc24e1;_0x45d242[_0x39bddf(0xd8)]=!_0x45d242[_0x39bddf(0xd8)],_0x45d242[_0x39bddf(0xd8)]?this[_0x39bddf(0xd3)][_0x39bddf(0xba)]():this[_0x39bddf(0xba)]();});const _0x5e80ca=()=>{const _0xea1384=_0xcc24e1;_0x1f1c22[_0xea1384(0xc8)][_0xea1384(0xce)](()=>{const _0x20020a=_0xea1384;if(_0x33bd34(this[_0x20020a(0xd9)])){const _0x44f7b5=new _0x48c06e(this[_0x20020a(0xc3)][_0x20020a(0xc1)][_0x20020a(0xd9)]),_0x3861d3=_0x44f7b5[_0x20020a(0xbf)],_0x22c9b9=_0x20020a(0xd6)===_0x20ea37[_0x20020a(0xc5)]?_0x20020a(0xbe):_0x20020a(0xa3);_0x44f7b5[_0x20020a(0xb7)](),_0x1662b6[_0x20020a(0xd9)][_0x20020a(0xc7)][_0x22c9b9]=_0x3861d3-_0x44f7b5[_0x20020a(0xbf)]+0x1+'px';}});};return this[_0xcc24e1(0xc3)][_0xcc24e1(0xc1)]['on'](_0xcc24e1(0xd0),_0x5e80ca),this['on'](_0xcc24e1(0xb5),_0x5e80ca),_0x1662b6;}[_0x582825(0xd5)](){const _0x508c56=_0x582825,_0x29a6f4=this[_0x508c56(0xc3)][_0x508c56(0xc1)][_0x508c56(0xd9)][_0x508c56(0xcc)];this[_0x508c56(0xc9)](_0x508c56(0xd5),_0x29a6f4);}[_0x582825(0xba)](_0x5e3fff){const _0x26a353=_0x582825;-0x1===_0x5e3fff?this[_0x26a353(0xc0)][_0x26a353(0xb1)]():this[_0x26a353(0xc0)][_0x26a353(0xd2)]();}}
|