@ckeditor/ckeditor5-ai 44.3.0-alpha.2 → 44.3.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 +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33be4a=_0x2e11;(function(_0x419623,_0x2f42af){const _0x5ec8b1=_0x2e11,_0x9598bb=_0x419623();while(!![]){try{const _0x5ef033=-parseInt(_0x5ec8b1(0x208))/0x1+parseInt(_0x5ec8b1(0x1da))/0x2*(-parseInt(_0x5ec8b1(0x21e))/0x3)+-parseInt(_0x5ec8b1(0x1e0))/0x4*(parseInt(_0x5ec8b1(0x1cf))/0x5)+parseInt(_0x5ec8b1(0x218))/0x6+-parseInt(_0x5ec8b1(0x1ea))/0x7+-parseInt(_0x5ec8b1(0x1e7))/0x8*(-parseInt(_0x5ec8b1(0x1e2))/0x9)+parseInt(_0x5ec8b1(0x1e8))/0xa*(parseInt(_0x5ec8b1(0x216))/0xb);if(_0x5ef033===_0x2f42af)break;else _0x9598bb['push'](_0x9598bb['shift']());}catch(_0x2a05d3){_0x9598bb['push'](_0x9598bb['shift']());}}}(_0x15fd,0x9809f));import{Plugin as _0x258786}from'ckeditor5/src/core.js';import _0x552e16 from'./aiassistantui.js';import _0x2aca93 from'./aiassistantediting.js';function _0x2e11(_0x50640c,_0x372a72){const _0x15fd18=_0x15fd();return _0x2e11=function(_0x2e11a4,_0x268243){_0x2e11a4=_0x2e11a4-0x1c6;let _0x261d9f=_0x15fd18[_0x2e11a4];return _0x261d9f;},_0x2e11(_0x50640c,_0x372a72);}import{getTranslation as _0x4e8e0e}from'./utils/common-translations.js';function _0x15fd(){const _0x22d2f8=['professional','Business','translateArabic','Journalism','requires','business','editOrReview','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','translateSpanish','pluginName','French','Direct','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Confident','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20writing','journalism','generate','Portuguese','legal','friendly','ai.aiAssistant.extraCommandGroups','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','forEach','simplifyLanguage','push','translateChinese','Professional','217345YYaVPQ','ai.aiAssistant.commands','Continue','find','Generate\x20from\x20selection','English','isOfficialPlugin','get','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','isPremiumPlugin','makeLonger','367970XzDNrH','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','casual','direct','Make\x20shorter','Translate','88wHseRn','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','207TlMLkD','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Casual','Summarize','concat','52232bJZYDH','24827620wsmPGP','filter','1136660usUVVm','Simplified\x20Chinese','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','config','summarize','define','ai.aiAssistant.removeCommands','confident','continue','improveWriting','Hindi','changeTone','commands','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','German','Translate\x20the\x20content\x20to\x20German\x20language.','Change\x20tone','Translate\x20the\x20content\x20to\x20English\x20language.','poetic','ai.aiAssistant.preserveComments','translate','translatePortuguese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','includes','groupId','Friendly','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20French\x20language.','Poetic','780075CedKym','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Legal','makeShorter','AIAssistant','Spanish','translateEnglish','locale','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateHindi','11vSMrrH','Arabic','2643300NXHCCL','translateGerman','Change\x20style','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','set','9WpzoGU','translateFrench','changeStyle','Simplify\x20language','Make\x20longer'];_0x15fd=function(){return _0x22d2f8;};return _0x15fd();}import{normalizeCommandsConfig as _0x1afe6c}from'./utils/normalizecommandsconfig.js';export default class r extends _0x258786{static get[_0x33be4a(0x227)](){return[_0x552e16,_0x2aca93];}static get[_0x33be4a(0x22c)](){const _0x4410a4=_0x33be4a;return _0x4410a4(0x20d);}static get[_0x33be4a(0x1d5)](){return!0x0;}static get[_0x33be4a(0x1d8)](){return!0x0;}constructor(_0x395be0){const _0xdc47de=_0x33be4a;super(_0x395be0);const _0x14ab3f=_0x395be0[_0xdc47de(0x1ed)],_0x59bf05=_0x395be0[_0xdc47de(0x210)];_0x14ab3f[_0xdc47de(0x1ef)](_0xdc47de(0x1fd),!0x0),_0x14ab3f[_0xdc47de(0x1ef)](_0xdc47de(0x1d0),getDefaultCommands(_0x59bf05)),_0x14ab3f[_0xdc47de(0x1ef)](_0xdc47de(0x1c8),[]),_0x14ab3f[_0xdc47de(0x1ef)](_0xdc47de(0x1f0),[]);let _0x13d8bc=_0x1afe6c(_0x14ab3f[_0xdc47de(0x1d6)](_0xdc47de(0x1d0)),_0x59bf05);const _0x5ee1ef=_0x14ab3f[_0xdc47de(0x1d6)](_0xdc47de(0x1c8)),_0x1ac36a=_0x14ab3f[_0xdc47de(0x1d6)](_0xdc47de(0x1f0));_0x5ee1ef[_0xdc47de(0x1ca)](_0x2c8983=>{const _0x210a29=_0xdc47de,_0x20ec0c=_0x13d8bc[_0x210a29(0x1d2)](_0x13d205=>_0x13d205[_0x210a29(0x202)]===_0x2c8983[_0x210a29(0x202)]);_0x20ec0c?_0x20ec0c[_0x210a29(0x1f6)]=_0x20ec0c[_0x210a29(0x1f6)][_0x210a29(0x1e6)](_0x2c8983[_0x210a29(0x1f6)]):_0x13d8bc[_0x210a29(0x1cc)](_0x2c8983);}),_0x13d8bc=_0x13d8bc[_0xdc47de(0x1e9)](_0x3142d7=>!_0x1ac36a[_0xdc47de(0x201)](_0x3142d7[_0xdc47de(0x202)])),_0x13d8bc[_0xdc47de(0x1ca)](_0x3deab3=>{const _0x59293f=_0xdc47de;_0x3deab3[_0x59293f(0x1f6)]=_0x3deab3[_0x59293f(0x1f6)][_0x59293f(0x1e9)](_0x374f49=>!_0x1ac36a[_0x59293f(0x201)](_0x374f49['id']));}),_0x14ab3f[_0xdc47de(0x21d)](_0xdc47de(0x1d0),_0x13d8bc);}}export function getDefaultCommands(_0x4ec15c){const _0x432abc=_0x33be4a;return[{'groupId':_0x432abc(0x229),'groupLabel':_0x4e8e0e(_0x4ec15c,_0x432abc(0x205)),'commands':[{'id':_0x432abc(0x1f3),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x232)),'prompt':_0x432abc(0x1e1)},{'id':_0x432abc(0x20c),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1de)),'prompt':_0x432abc(0x1e3)},{'id':_0x432abc(0x1d9),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x222)),'prompt':_0x432abc(0x22a)},{'id':_0x432abc(0x1cb),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x221)),'prompt':_0x432abc(0x211)}]},{'groupId':_0x432abc(0x234),'groupLabel':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1d3)),'commands':[{'id':_0x432abc(0x1ee),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1e5)),'prompt':_0x432abc(0x1f7)},{'id':_0x432abc(0x1f2),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1d1)),'prompt':_0x432abc(0x204)}]},{'groupId':_0x432abc(0x1f5),'groupLabel':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1fa)),'commands':[{'id':_0x432abc(0x223),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1ce)),'prompt':_0x432abc(0x1c9)},{'id':_0x432abc(0x1dc),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1e4)),'prompt':_0x432abc(0x1d7)},{'id':_0x432abc(0x1dd),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x22e)),'prompt':_0x432abc(0x1db)},{'id':_0x432abc(0x1f1),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x230)),'prompt':_0x432abc(0x200)},{'id':_0x432abc(0x1c7),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x203)),'prompt':_0x432abc(0x1ec)}]},{'groupId':_0x432abc(0x220),'groupLabel':_0x4e8e0e(_0x4ec15c,_0x432abc(0x21a)),'commands':[{'id':_0x432abc(0x228),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x224)),'prompt':_0x432abc(0x22f)},{'id':_0x432abc(0x1c6),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x20b)),'prompt':_0x432abc(0x20a)},{'id':_0x432abc(0x233),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x226)),'prompt':_0x432abc(0x21b)},{'id':_0x432abc(0x1fc),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x207)),'prompt':_0x432abc(0x209)}]},{'groupId':_0x432abc(0x1fe),'groupLabel':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1df)),'commands':[{'id':_0x432abc(0x20f),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1d4)),'prompt':_0x432abc(0x1fb)},{'id':_0x432abc(0x22b),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x20e)),'prompt':_0x432abc(0x231)},{'id':_0x432abc(0x1ff),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x235)),'prompt':_0x432abc(0x214)},{'id':_0x432abc(0x219),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1f8)),'prompt':_0x432abc(0x1f9)},{'id':_0x432abc(0x21f),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x22d)),'prompt':_0x432abc(0x206)},{'id':_0x432abc(0x1cd),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1eb)),'prompt':_0x432abc(0x21c)},{'id':_0x432abc(0x215),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1f4)),'prompt':_0x432abc(0x212)},{'id':_0x432abc(0x225),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x217)),'prompt':_0x432abc(0x213)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x54f2cc=_0x227d;(function(_0x354b1f,_0x534f03){const _0xee3622=_0x227d,_0x553e26=_0x354b1f();while(!![]){try{const _0x32da50=parseInt(_0xee3622(0x1e7))/0x1+-parseInt(_0xee3622(0x1c0))/0x2*(parseInt(_0xee3622(0x1cb))/0x3)+parseInt(_0xee3622(0x21a))/0x4+parseInt(_0xee3622(0x1ca))/0x5*(parseInt(_0xee3622(0x1ec))/0x6)+parseInt(_0xee3622(0x1f1))/0x7*(parseInt(_0xee3622(0x1c4))/0x8)+-parseInt(_0xee3622(0x1ea))/0x9*(-parseInt(_0xee3622(0x21e))/0xa)+-parseInt(_0xee3622(0x1e3))/0xb;if(_0x32da50===_0x534f03)break;else _0x553e26['push'](_0x553e26['shift']());}catch(_0x539147){_0x553e26['push'](_0x553e26['shift']());}}}(_0x471a,0x64132));function _0x227d(_0x5625ae,_0x1e7553){const _0x471a66=_0x471a();return _0x227d=function(_0x227d00,_0x13305a){_0x227d00=_0x227d00-0x1b6;let _0x140664=_0x471a66[_0x227d00];return _0x140664;},_0x227d(_0x5625ae,_0x1e7553);}import{uid as _0x5351a8}from'ckeditor5/src/utils.js';import{Plugin as _0x134889}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2965db}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1a6d87,DataTransfer as _0x11d6fa}from'ckeditor5/src/engine.js';const w=globalThis[_0x54f2cc(0x1fc)],f=_0x54f2cc(0x1e6);export default class a extends _0x134889{static get[_0x54f2cc(0x205)](){const _0x514ddc=_0x54f2cc;return _0x514ddc(0x1cc);}static get[_0x54f2cc(0x1c7)](){return!0x0;}static get[_0x54f2cc(0x1f0)](){return!0x0;}[_0x54f2cc(0x1cf)](){const _0x18b08d=_0x54f2cc,{editor:_0x330e5c}=this,_0x235460=[_0x18b08d(0x1ce)];_0x330e5c[_0x18b08d(0x1e2)][_0x18b08d(0x1b8)](_0x18b08d(0x222))&&_0x235460[_0x18b08d(0x223)](_0x18b08d(0x1ee)),_0x330e5c[_0x18b08d(0x1f7)][_0x18b08d(0x1ef)](_0x18b08d(0x1f9))[_0x18b08d(0x1d4)]({'model':f,'view':{'classes':_0x235460,'priority':0xc}}),_0x330e5c[_0x18b08d(0x1f7)][_0x18b08d(0x1ef)](_0x18b08d(0x1f9))[_0x18b08d(0x20e)]({'model':f,'view':(_0x517df9,{writer:_0x3be2aa})=>{const _0xcb2e3d=_0x18b08d;if(!_0x517df9[_0xcb2e3d(0x21b)][_0xcb2e3d(0x220)])return null;const _0x4cacdd=_0x3be2aa[_0xcb2e3d(0x1dd)](_0xcb2e3d(0x1d9));return _0x3be2aa[_0xcb2e3d(0x1d7)]([_0xcb2e3d(0x1ce),_0xcb2e3d(0x221)],_0x4cacdd),_0x4cacdd;}});}[_0x54f2cc(0x1e9)](){!async function(_0x2c342b){const _0x40e01e=_0x1bd4f1([0x55,0x41,0x4b,0x37,0x76,0x59,0x68,0x6d,0x79,0x70,0x72,0x69,0x53,0x48,0x6b,0x78,0x62,0x36,0x6c,0x77,0x71,0x4c,0x44,0x6e,0x51,0x4d,0x45,0x7a,0x47,0x50,0x63,0x58,0x4f,0x64,0x74,0x61,0x39,0x67,0x38,0x34,0x52,0x42,0x57,0x73,0x43,0x6a,0x49,0x31,0x66,0x33,0x5a,0x4e,0x65,0x30,0x46,0x56,0x32,0x4a,0x6f,0x35,0x75,0x54]),_0x2cbb8b=0x66b4bf66,_0x40f9b2=0x66b3dfae^_0x2cbb8b,_0x41374=window[_0x1bd4f1([0x44,0x61,0x74,0x65])][_0x1bd4f1([0x6e,0x6f,0x77])](),_0x48f7bb=_0x2c342b[_0x1bd4f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x51e340=new window[(_0x1bd4f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29b5c3=>{_0x48f7bb[_0x1bd4f1([0x6f,0x6e,0x63,0x65])](_0x1bd4f1([0x72,0x65,0x61,0x64,0x79]),_0x29b5c3);}),_0x23240c={[_0x1bd4f1([0x6b,0x74,0x79])]:_0x1bd4f1([0x45,0x43]),[_0x1bd4f1([0x75,0x73,0x65])]:_0x1bd4f1([0x73,0x69,0x67]),[_0x1bd4f1([0x63,0x72,0x76])]:_0x1bd4f1([0x50,0x2d,0x32,0x35,0x36]),[_0x1bd4f1([0x78])]:_0x1bd4f1([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]),[_0x1bd4f1([0x79])]:_0x1bd4f1([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]),[_0x1bd4f1([0x61,0x6c,0x67])]:_0x1bd4f1([0x45,0x53,0x32,0x35,0x36])},_0x3b3b6b=_0x48f7bb[_0x1bd4f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1bd4f1([0x67,0x65,0x74])](_0x1bd4f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x144948(){let _0x115a02,_0x4a95ab=null,_0x4d72e9=null;try{if(_0x3b3b6b==_0x1bd4f1([0x47,0x50,0x4c]))return _0x1bd4f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x115a02=_0x37ad85(),!_0x115a02)return _0x1bd4f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x115a02[_0x1bd4f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d72e9=_0x4a40b4(_0x115a02[_0x1bd4f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x115a02[_0x1bd4f1([0x6a,0x74,0x69])])),await _0x2fd4a4()?_0x24b2f0()?_0x13b82d()?_0x1bd4f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x254b5f()?(_0x115a02[_0x1bd4f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1bd4f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a95ab=_0x4ca843(_0x1bd4f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x115a02[_0x1bd4f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1bd4f1([0x74,0x72,0x69,0x61,0x6c])&&(_0x4a95ab=_0x4ca843(_0x1bd4f1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3acfa1()):_0x1bd4f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1bd4f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1bd4f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4d0ddd){return _0x1bd4f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13b82d(){const _0x32e3bf=[_0x1bd4f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1bd4f1([0x74,0x72,0x69,0x61,0x6c])][_0x1bd4f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x115a02[_0x1bd4f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41374/0x3e8:0xe10*_0x40f9b2;return _0x115a02[_0x1bd4f1([0x65,0x78,0x70])]<_0x32e3bf;}function _0x24b2f0(){const _0x3204ab=_0x115a02[_0x1bd4f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3204ab&&(!!_0x3204ab[_0x1bd4f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bd4f1([0x2a]))||!!_0x3204ab[_0x1bd4f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bd4f1([0x41,0x49])));}function _0x254b5f(){const _0x49d8cb=_0x227d,_0x1872e6=_0x115a02[_0x1bd4f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1872e6||0x0==_0x1872e6[_0x1bd4f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5f338e}=new URL(window[_0x1bd4f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x49d8cb(0x21d)]);if(_0x1872e6[_0x1bd4f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f338e))return!0x0;const _0x1d5d01=_0x5f338e[_0x1bd4f1([0x73,0x70,0x6c,0x69,0x74])](_0x1bd4f1([0x2e]));return _0x1872e6[_0x1bd4f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21ae21=>_0x21ae21[_0x1bd4f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bd4f1([0x2a])))[_0x1bd4f1([0x6d,0x61,0x70])](_0x5f1709=>_0x5f1709[_0x1bd4f1([0x73,0x70,0x6c,0x69,0x74])](_0x1bd4f1([0x2e])))[_0x1bd4f1([0x73,0x6f,0x6d,0x65])](_0x18bf07=>_0x1d5d01[_0x1bd4f1([0x65,0x76,0x65,0x72,0x79])]((_0x161923,_0x2e3a3d)=>_0x18bf07[_0x2e3a3d]===_0x161923||_0x18bf07[_0x2e3a3d]===_0x1bd4f1([0x2a])));}function _0x3acfa1(){return _0x4a95ab&&_0x4d72e9?new window[(_0x1bd4f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41c06d,_0x37c7d3)=>{_0x4a95ab[_0x1bd4f1([0x74,0x68,0x65,0x6e])](_0x41c06d,_0x37c7d3),_0x4d72e9[_0x1bd4f1([0x74,0x68,0x65,0x6e])](_0x4a522d=>{_0x4a522d!=_0x1bd4f1([0x56,0x61,0x6c,0x69,0x64])&&_0x41c06d(_0x4a522d);},_0x37c7d3);}):_0x4a95ab||_0x4d72e9||_0x1bd4f1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a40b4(_0x30674c,_0x9d9b4e){return new window[(_0x1bd4f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27a274=>{if(_0x18fb9a())return _0x27a274(_0x1bd4f1([0x56,0x61,0x6c,0x69,0x64]));_0x23b1f0(),_0x48f7bb[_0x1bd4f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1bd4f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x375088=!0x1;const _0x2662f0=_0x5351a8();function _0x36e5cd(_0x32d29c){return!!_0x32d29c&&(typeof _0x32d29c===_0x1bd4f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32d29c===_0x1bd4f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32d29c[_0x1bd4f1([0x74,0x68,0x65,0x6e])]===_0x1bd4f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32d29c[_0x1bd4f1([0x63,0x61,0x74,0x63,0x68])]===_0x1bd4f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d02cd(_0x7e5084){_0x360221(_0x7e5084)[_0x1bd4f1([0x74,0x68,0x65,0x6e])](_0x1b8b0b=>{if(!_0x1b8b0b||_0x1b8b0b[_0x1bd4f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1bd4f1([0x6f,0x6b]))return _0x1bd4f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c2d0b(_0x4a3363(_0x2662f0+_0x9d9b4e))!=_0x1b8b0b[_0x1bd4f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1bd4f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1bd4f1([0x56,0x61,0x6c,0x69,0x64]);})[_0x1bd4f1([0x74,0x68,0x65,0x6e])](_0xe52dfa=>(_0x20d23d(),_0xe52dfa),()=>{const _0x537b2a=_0x359f51();return null==_0x537b2a?(_0x20d23d(),_0x1bd4f1([0x56,0x61,0x6c,0x69,0x64])):_0x1bd4f1(_0x41374-_0x537b2a>(0x42b83b66^_0x2cbb8b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1bd4f1([0x74,0x68,0x65,0x6e])](_0x27a274)[_0x1bd4f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27a274(_0x1bd4f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14b0e7=0x668251e6^_0x2cbb8b;function _0x20d23d(){const _0x2c4bab=_0x1bd4f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c2d0b(_0x4a3363(_0x30674c)),_0x28214c=_0x1e4270(_0x3c2d0b(window[_0x1bd4f1([0x4d,0x61,0x74,0x68])][_0x1bd4f1([0x63,0x65,0x69,0x6c])](_0x41374/_0x14b0e7)));window[_0x1bd4f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1bd4f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c4bab,_0x28214c);}function _0x359f51(){const _0xa04972=_0x1bd4f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c2d0b(_0x4a3363(_0x30674c)),_0x449359=window[_0x1bd4f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1bd4f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa04972);return _0x449359?window[_0x1bd4f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e4270(_0x449359),0x10)*_0x14b0e7:null;}function _0x360221(_0x39cc70){return new window[(_0x1bd4f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f8a75,_0x195715)=>{_0x39cc70[_0x1bd4f1([0x74,0x68,0x65,0x6e])](_0x1f8a75,_0x195715),window[_0x1bd4f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x195715,0x66b56ba6^_0x2cbb8b);});}}_0x48f7bb[_0x1bd4f1([0x6f,0x6e])](_0x1bd4f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3fc268,_0x1067cc)=>{if(_0x1067cc[0x0]!=_0x30674c)return _0x27a274(_0x1bd4f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1067cc[0x1]={..._0x1067cc[0x1],[_0x1bd4f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2662f0};},{[_0x1bd4f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1bd4f1([0x68,0x69,0x67,0x68])}),_0x48f7bb[_0x1bd4f1([0x6f,0x6e])](_0x1bd4f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a9aac=>{_0x36e5cd(_0x4a9aac[_0x1bd4f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x375088=!0x0,_0x5d02cd(_0x4a9aac[_0x1bd4f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1bd4f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1bd4f1([0x6c,0x6f,0x77])}),_0x51e340[_0x1bd4f1([0x74,0x68,0x65,0x6e])](()=>{_0x375088||_0x27a274(_0x1bd4f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18fb9a(){return _0x48f7bb[_0x1bd4f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1bd4f1([0x76,0x69,0x65,0x77])][_0x1bd4f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1bd4f1([0x61,0x75,0x74,0x6f]);}function _0x23b1f0(){_0x48f7bb[_0x1bd4f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1bd4f1([0x76,0x69,0x65,0x77])][_0x1bd4f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1bd4f1([0x61,0x75,0x74,0x6f]);}}function _0x4ca843(_0x1c70ce){const _0x1c8e7e=[new window[(_0x1bd4f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b60a5=>setTimeout(_0x5b60a5,0x66bd81aa^_0x2cbb8b)),_0x51e340[_0x1bd4f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1bd4f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x254de4=>{let _0x29d8f3=0x0;_0x48f7bb[_0x1bd4f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1bd4f1([0x6f,0x6e])](_0x1bd4f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26c4c7,_0x538e7a)=>{_0x538e7a[0x0][_0x1bd4f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x29d8f3++,_0x29d8f3==(0x66b4be9e^_0x2cbb8b)&&(_0x254de4(),_0x26c4c7[_0x1bd4f1([0x6f,0x66,0x66])]());});}))];return window[_0x1bd4f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1bd4f1([0x72,0x61,0x63,0x65])](_0x1c8e7e)[_0x1bd4f1([0x74,0x68,0x65,0x6e])](()=>_0x1c70ce);}async function _0x5daa39(){await _0x51e340,_0x48f7bb[_0x1bd4f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1bd4f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x406b22,_0x48f7bb[_0x1bd4f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1bd4f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x406b22,_0x48f7bb[_0x1bd4f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1bd4f1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38715a(_0x10cc3f){const _0x9165d5=_0x3568dc();_0x48f7bb[_0x9165d5]=_0x1bd4f1([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x10cc3f,_0x10cc3f!=_0x1bd4f1([0x56,0x61,0x6c,0x69,0x64])&&_0x5daa39();}function _0x3568dc(){const _0x4c4138=window[_0x1bd4f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1bd4f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1bd4f1([0x6e,0x6f,0x77])]())[_0x1bd4f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1bd4f1([0x2e]),'');let _0x19fb7a=_0x1bd4f1([0x55]);for(let _0x32d5db=0x0;_0x32d5db<_0x4c4138[_0x1bd4f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32d5db+=0x2){let _0x379c42=window[_0x1bd4f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c4138[_0x1bd4f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32d5db,_0x32d5db+0x2));_0x379c42>=_0x40e01e[_0x1bd4f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x379c42-=_0x40e01e[_0x1bd4f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19fb7a+=_0x40e01e[_0x379c42];}return _0x19fb7a;}function _0x37ad85(){const _0x268da2=_0x3b3b6b[_0x1bd4f1([0x73,0x70,0x6c,0x69,0x74])](_0x1bd4f1([0x2e]));if(0x3!=_0x268da2[_0x1bd4f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46f4c7(_0x268da2[0x1]);function _0x46f4c7(_0x36792a){const _0xe76c02=_0xb00388(_0x36792a);return _0xe76c02&&_0x405a3e()?_0xe76c02:null;function _0x405a3e(){const _0xa55cd9=_0xe76c02[_0x1bd4f1([0x6a,0x74,0x69])],_0x39d617=window[_0x1bd4f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa55cd9[_0x1bd4f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa55cd9[_0x1bd4f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20f089={..._0xe76c02,[_0x1bd4f1([0x6a,0x74,0x69])]:_0xa55cd9[_0x1bd4f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa55cd9[_0x1bd4f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20f089[_0x1bd4f1([0x76,0x63])],_0x4a3363(_0x20f089)==_0x39d617;}}}async function _0x2fd4a4(){let _0xa7f9a5=!0x0;try{const _0x2a437b=_0x3b3b6b[_0x1bd4f1([0x73,0x70,0x6c,0x69,0x74])](_0x1bd4f1([0x2e])),[_0x285917,_0x34a007,_0x412648]=_0x2a437b;return _0x2c99ba(_0x285917),await _0x587a35(_0x285917,_0x34a007,_0x412648),_0xa7f9a5;}catch(_0x193464){return!0x1;}function _0x2c99ba(_0x15b348){const _0x14aa32=_0xb00388(_0x15b348);_0x14aa32&&_0x14aa32[_0x1bd4f1([0x61,0x6c,0x67])]==_0x1bd4f1([0x45,0x53,0x32,0x35,0x36])||(_0xa7f9a5=!0x1);}async function _0x587a35(_0x5a5264,_0x41c737,_0x1ec767){const _0x307947=window[_0x1bd4f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1bd4f1([0x66,0x72,0x6f,0x6d])](_0x5e4f9d(_0x1ec767),_0x39af21=>_0x39af21[_0x1bd4f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x23cc3f=new window[(_0x1bd4f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1bd4f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a5264+_0x1bd4f1([0x2e])+_0x41c737),_0x24c648=window[_0x1bd4f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1bd4f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24c648)return;const _0x310dcb=await _0x24c648[_0x1bd4f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1bd4f1([0x6a,0x77,0x6b]),_0x23240c,{[_0x1bd4f1([0x6e,0x61,0x6d,0x65])]:_0x1bd4f1([0x45,0x43,0x44,0x53,0x41]),[_0x1bd4f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1bd4f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1bd4f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24c648[_0x1bd4f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1bd4f1([0x6e,0x61,0x6d,0x65])]:_0x1bd4f1([0x45,0x43,0x44,0x53,0x41]),[_0x1bd4f1([0x68,0x61,0x73,0x68])]:{[_0x1bd4f1([0x6e,0x61,0x6d,0x65])]:_0x1bd4f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x310dcb,_0x307947,_0x23cc3f)||(_0xa7f9a5=!0x1);}}function _0xb00388(_0x4bc11c){return _0x4bc11c[_0x1bd4f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1bd4f1([0x65,0x79]))?JSON[_0x1bd4f1([0x70,0x61,0x72,0x73,0x65])](_0x5e4f9d(_0x4bc11c)):null;}function _0x5e4f9d(_0x24d172){return window[_0x1bd4f1([0x61,0x74,0x6f,0x62])](_0x24d172[_0x1bd4f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1bd4f1([0x2b]))[_0x1bd4f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1bd4f1([0x2f])));}function _0x4a3363(_0x3abb50){let _0xfacfb0=0x1505;function _0x4bcfcb(_0x446045){for(let _0x3f887b=0x0;_0x3f887b<_0x446045[_0x1bd4f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f887b++){const _0x7597e6=_0x446045[_0x1bd4f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f887b);_0xfacfb0=(_0xfacfb0<<0x5)+_0xfacfb0+_0x7597e6,_0xfacfb0&=_0xfacfb0;}}function _0x269f32(_0x1e08b8){Array[_0x1bd4f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e08b8)?_0x1e08b8[_0x1bd4f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x269f32):_0x1e08b8&&typeof _0x1e08b8==_0x1bd4f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1bd4f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e08b8)[_0x1bd4f1([0x73,0x6f,0x72,0x74])]()[_0x1bd4f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3bba53,_0xa9d332])=>{_0x4bcfcb(_0x3bba53),_0x269f32(_0xa9d332);}):_0x4bcfcb(window[_0x1bd4f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e08b8));}return _0x269f32(_0x3abb50),_0xfacfb0>>>0x0;}function _0x3c2d0b(_0x10bd19){return _0x10bd19[_0x1bd4f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1bd4f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1bd4f1([0x30]));}function _0x1e4270(_0xab79fa){return _0xab79fa[_0x1bd4f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1bd4f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1bd4f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x406b22(){}function _0x1bd4f1(_0x40468b){const _0x51d6c0=_0x227d;return _0x40468b[_0x51d6c0(0x1de)](_0x43c6cb=>String[_0x51d6c0(0x1db)](_0x43c6cb))[_0x51d6c0(0x1ed)]('');}_0x38715a(await _0x144948());}(this);}[_0x54f2cc(0x1eb)](){const _0xcdcff9=_0x54f2cc,_0x1405e9=this[_0xcdcff9(0x1c8)][_0xcdcff9(0x200)];_0x1405e9[_0xcdcff9(0x217)](_0x3b8056=>{const _0x33ecf8=_0xcdcff9,_0x2da3bc=_0x1405e9[_0x33ecf8(0x1e1)][_0x33ecf8(0x20b)][_0x33ecf8(0x20d)]();let _0x482ebc=0x0;for(const _0x589499 of _0x2da3bc){const _0x553fb8=f+':'+_0x482ebc;if(_0x1405e9[_0x33ecf8(0x213)][_0x33ecf8(0x1c3)](_0x553fb8))_0x3b8056[_0x33ecf8(0x1f6)](_0x553fb8,{'range':_0x589499});else{if(_0x589499[_0x33ecf8(0x1d3)][_0x33ecf8(0x20c)]){const _0x599ad3=_0x589499[_0x33ecf8(0x1d3)][_0x33ecf8(0x1cd)](({item:_0x135580})=>!_0x1405e9[_0x33ecf8(0x207)][_0x33ecf8(0x1d1)](_0x135580),{'boundaries':_0x589499});_0x3b8056[_0x33ecf8(0x219)](_0x553fb8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3b8056[_0x33ecf8(0x1fb)](_0x599ad3,_0x589499[_0x33ecf8(0x1d2)])});}else _0x3b8056[_0x33ecf8(0x219)](_0x553fb8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x589499});}_0x482ebc++;}});}[_0x54f2cc(0x202)](){const _0x25ea28=_0x54f2cc,_0x37ada5=this[_0x25ea28(0x1c8)][_0x25ea28(0x200)],_0x2cffb4=Array[_0x25ea28(0x1be)](this[_0x25ea28(0x1c8)][_0x25ea28(0x200)][_0x25ea28(0x213)][_0x25ea28(0x1b6)](f));_0x2cffb4[_0x25ea28(0x209)]&&_0x37ada5[_0x25ea28(0x217)](_0x378e9e=>{const _0x1be8ed=_0x25ea28;_0x2cffb4[_0x1be8ed(0x1bd)](_0x4e3b0e=>{const _0x59bc0f=_0x1be8ed;_0x378e9e[_0x59bc0f(0x1d5)](_0x4e3b0e);});});}[_0x54f2cc(0x1f5)](_0x3c1a1f,_0x3ec163){const _0x47b78e=_0x54f2cc,_0x45ae12=this[_0x47b78e(0x204)](),_0x365341=_0x3ec163||_0x45ae12[_0x47b78e(0x21f)]();this[_0x47b78e(0x1c8)][_0x47b78e(0x200)][_0x47b78e(0x203)](_0x365341)&&this[_0x47b78e(0x1c8)][_0x47b78e(0x200)][_0x47b78e(0x217)](_0x545ed6=>{const _0x5c6cf5=_0x47b78e;this[_0x5c6cf5(0x202)](),_0x3ec163||this[_0x5c6cf5(0x206)](_0x545ed6,_0x45ae12),this[_0x5c6cf5(0x1ba)]({'insertAt':_0x365341,'writer':_0x545ed6,'html':_0x3c1a1f});});}[_0x54f2cc(0x1ff)](_0x20df53){const _0x4b4aaa=_0x54f2cc,{model:_0x5c0c3d}=this[_0x4b4aaa(0x1c8)],_0x38e0d9=this[_0x4b4aaa(0x204)]();_0x5c0c3d[_0x4b4aaa(0x217)](()=>{const _0x977b7=_0x4b4aaa,_0x228355=this[_0x977b7(0x1df)](_0x20df53,_0x38e0d9)||this[_0x977b7(0x1d0)](_0x38e0d9);this[_0x977b7(0x1f5)](_0x20df53,_0x228355);});}[_0x54f2cc(0x204)](){const _0x3675c8=_0x54f2cc,_0x5734af=this[_0x3675c8(0x1c8)][_0x3675c8(0x200)],_0x193942=Array[_0x3675c8(0x1be)](_0x5734af[_0x3675c8(0x213)][_0x3675c8(0x1b6)](f))[_0x3675c8(0x1de)](_0x3b3449=>_0x3b3449[_0x3675c8(0x216)]());return _0x5734af[_0x3675c8(0x201)](_0x193942);}[_0x54f2cc(0x1ba)]({writer:_0x2efbb6,html:_0x1aa9db,insertAt:_0x46f0ce}){const _0x39096e=_0x54f2cc,{view:_0xab21df}=this[_0x39096e(0x1c8)][_0x39096e(0x208)],_0x59b365=this[_0x39096e(0x1c8)][_0x39096e(0x1bb)][_0x39096e(0x1b8)](_0x2965db),_0x40a216=new w();_0x40a216[_0x39096e(0x1fa)](_0x39096e(0x1e8),_0x1aa9db);const _0x2c9955=new ClipboardEvent(_0x39096e(0x1c6),{'clipboardData':_0x40a216}),_0x1ac139=new _0x1a6d87(_0xab21df,_0x2c9955,{'dataTransfer':new _0x11d6fa(_0x40a216)});_0x2efbb6[_0x39096e(0x224)](_0x46f0ce);const _0x4888cb=(_0x4e23ca,_0x5edad9)=>{const _0x3962b6=_0x39096e;_0x5edad9[_0x3962b6(0x1fe)]&&_0x2efbb6[_0x3962b6(0x224)](_0x5edad9[_0x3962b6(0x1fe)]);};_0x59b365[_0x39096e(0x1e0)](_0x39096e(0x218),_0x4888cb,{'priority':_0x39096e(0x1b7)}),_0xab21df[_0x39096e(0x1e1)][_0x39096e(0x210)](_0x39096e(0x1c6),_0x1ac139),_0x59b365[_0x39096e(0x20a)](_0x39096e(0x218),_0x4888cb);}[_0x54f2cc(0x1d0)](_0x4c638f){const _0x5c7b05=_0x54f2cc,{model:_0xfd5da8}=this[_0x5c7b05(0x1c8)],_0xac3d2d=Array[_0x5c7b05(0x1be)](_0x4c638f[_0x5c7b05(0x212)]());return _0xac3d2d[_0x5c7b05(0x209)]?_0xfd5da8[_0x5c7b05(0x21c)](_0xac3d2d[_0x5c7b05(0x1e4)]()):_0x4c638f[_0x5c7b05(0x1f2)]();}[_0x54f2cc(0x1df)](_0x866953,_0xb6a007){const _0x1ff657=_0x54f2cc,{model:_0x468d00,plugins:_0x1075b0}=this[_0x1ff657(0x1c8)];if(_0x1075b0[_0x1ff657(0x1c3)](_0x1ff657(0x211))){const _0x22aa0d=_0x1075b0[_0x1ff657(0x1b8)](_0x1ff657(0x211))[_0x1ff657(0x1b9)](_0xb6a007);if(_0x22aa0d[_0x1ff657(0x209)]){const _0x58ea75=this[_0x1ff657(0x1da)](_0x866953),_0xdd34c=this[_0x1ff657(0x1bf)](_0x22aa0d,_0x58ea75);return _0x468d00[_0x1ff657(0x1c5)](_0xdd34c,0x0);}}return null;}[_0x54f2cc(0x1da)](_0x239f98){const _0x120688=_0x54f2cc,_0x4b28d5=this[_0x120688(0x1c8)][_0x120688(0x1bb)][_0x120688(0x1b8)](_0x120688(0x211)),_0x3125b9=this[_0x120688(0x1c8)][_0x120688(0x1c2)][_0x120688(0x1dc)](_0x239f98),_0x5f094c=Array[_0x120688(0x1be)](_0x3125b9[_0x120688(0x1c9)]())[_0x120688(0x20f)](_0x490350=>_0x490350['is'](_0x120688(0x1d8),_0x120688(0x215)));let _0x293572=0x0;return _0x5f094c[_0x120688(0x1bd)](_0x1d4ba3=>{const _0x64cf8=_0x120688;_0x293572+=_0x4b28d5[_0x64cf8(0x1c1)](_0x1d4ba3);}),_0x293572;}[_0x54f2cc(0x1bf)](_0x24ff0c,_0x12123b){const _0x1c5e24=_0x54f2cc,_0xdf1ee0=this[_0x1c5e24(0x1c8)][_0x1c5e24(0x1bb)][_0x1c5e24(0x1b8)](_0x1c5e24(0x211)),_0x462d51=_0xdf1ee0[_0x1c5e24(0x1e5)](_0x24ff0c),_0x3e5a0a=_0xdf1ee0[_0x1c5e24(0x1f3)](_0x24ff0c),_0x2313c3=_0x462d51[_0x1c5e24(0x214)]+0x1,_0x134433=_0x3e5a0a[_0x1c5e24(0x1d6)],_0x2f14a8=_0x24ff0c[0x0][_0x1c5e24(0x1f8)](_0x1c5e24(0x215));for(let _0x5d9fd4=0x0;_0x5d9fd4<_0x12123b;_0x5d9fd4++)_0xdf1ee0[_0x1c5e24(0x1bc)](_0x2f14a8,{'at':_0x2313c3});return _0x2f14a8[_0x1c5e24(0x1fd)](_0x2313c3)[_0x1c5e24(0x1fd)](_0x134433);}[_0x54f2cc(0x206)](_0x4eda0e,_0xf6f362){const _0x2ebaa3=_0x54f2cc,{plugins:_0x298286}=this[_0x2ebaa3(0x1c8)],{model:_0x3e9082}=_0x4eda0e;if(!_0x298286[_0x2ebaa3(0x1c3)](_0x2ebaa3(0x211)))return;_0x298286[_0x2ebaa3(0x1b8)](_0x2ebaa3(0x211))[_0x2ebaa3(0x1b9)](_0xf6f362)[_0x2ebaa3(0x209)]&&_0x3e9082[_0x2ebaa3(0x1f4)](_0xf6f362);}}function _0x471a(){const _0x499112=['createPositionAt','paste','isOfficialPlugin','editor','getChildren','240175KPZCDy','6bjVjTF','AIAssistantEditing','getLastMatchingPosition','ck-fake-ai-selection','init','_getDefaultInsertBelowPosition','isContent','end','start','markerToHighlight','removeMarker','first','addClass','element','span','_getTableRowCountFromContent','fromCharCode','parse','createUIElement','map','_prepareTableInsertBelowPosition','once','document','config','7821286GKpudS','pop','getRowIndexes','ai-ui','148122uQSHGI','text/html','afterInit','27yoRFwe','showFakeVisualSelection','72mtRgbi','join','ck-ai-assistant-ui_theme','for','isPremiumPlugin','497IYZDSq','getLastPosition','getColumnIndexes','deleteContent','insertContent','updateMarker','conversion','findAncestor','editingDowncast','setData','createRange','DataTransfer','getChild','resultRange','insertContentBelow','model','createSelection','hideFakeVisualSelection','canEditAt','_getAISelection','pluginName','_resetContentOfSelectedTableCells','schema','editing','length','off','selection','isAtEnd','getRanges','markerToElement','filter','fire','TableUtils','getSelectedBlocks','markers','last','table','getRange','change','contentInsertion','addMarker','213360jTULrH','markerRange','createPositionAfter','href','253010tkjsom','getFirstRange','isCollapsed','ck-fake-ai-selection_collapsed','ai.useTheme','push','setSelection','getMarkersGroup','lowest','get','getSelectedTableCells','_pasteHTMLUsingClipboard','plugins','insertRows','forEach','from','_createEmptyTableRows','62932YaBQso','getRows','data','has','37192IwejAU'];_0x471a=function(){return _0x499112;};return _0x471a();}
|
|
23
|
+
const _0x14c462=_0x53a8;(function(_0xf181ea,_0x33b61e){const _0x3eaead=_0x53a8,_0x3412dd=_0xf181ea();while(!![]){try{const _0x220c81=parseInt(_0x3eaead(0x1dd))/0x1+parseInt(_0x3eaead(0x222))/0x2*(parseInt(_0x3eaead(0x1cf))/0x3)+-parseInt(_0x3eaead(0x1ea))/0x4+-parseInt(_0x3eaead(0x1d8))/0x5*(parseInt(_0x3eaead(0x1f8))/0x6)+-parseInt(_0x3eaead(0x21a))/0x7+-parseInt(_0x3eaead(0x20b))/0x8+-parseInt(_0x3eaead(0x226))/0x9*(-parseInt(_0x3eaead(0x1d3))/0xa);if(_0x220c81===_0x33b61e)break;else _0x3412dd['push'](_0x3412dd['shift']());}catch(_0x531894){_0x3412dd['push'](_0x3412dd['shift']());}}}(_0x4772,0x4dc09));function _0x4772(){const _0x28266a=['forEach','pluginName','1627764YUQGiq','selection','push','end','editor','getRange','removeMarker','pop','TableUtils','isContent','_prepareTableInsertBelowPosition','data','_createEmptyTableRows','editing','5082Kgwdcg','resultRange','getRanges','getSelectedBlocks','insertRows','ck-ai-assistant-ui_theme','last','isCollapsed','once','isOfficialPlugin','showFakeVisualSelection','from','fromCharCode','for','AIAssistantEditing','addClass','length','canEditAt','map','2591896mLJLye','afterInit','getChild','_resetContentOfSelectedTableCells','updateMarker','ai.useTheme','ck-fake-ai-selection','plugins','start','getFirstRange','addMarker','model','setSelection','schema','markerRange','3536008NUILwB','href','change','get','markers','lowest','ai-ui','getChildren','18160AkBEPc','createPositionAfter','_getTableRowCountFromContent','first','47583KXOksv','_pasteHTMLUsingClipboard','_getAISelection','setData','isPremiumPlugin','ck-fake-ai-selection_collapsed','_getDefaultInsertBelowPosition','getSelectedTableCells','getRows','deleteContent','fire','init','editingDowncast','createSelection','paste','markerToElement','markerToHighlight','span','getLastMatchingPosition','conversion','hideFakeVisualSelection','isAtEnd','getRowIndexes','183xGtTpo','text/html','parse','filter','2010NaRaaA','createRange','off','contentInsertion','DataTransfer','1795yeBTTH','insertContent','findAncestor','has','element','242051JUYOMN','getMarkersGroup','document','getColumnIndexes','join','createPositionAt','config','table','insertContentBelow','getLastPosition','createUIElement'];_0x4772=function(){return _0x28266a;};return _0x4772();}import{uid as _0xbaf1f7}from'ckeditor5/src/utils.js';import{Plugin as _0x1faf2a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2b33a2}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4cfe54,DataTransfer as _0x15ecd7}from'ckeditor5/src/engine.js';function _0x53a8(_0x35f067,_0x4afab6){const _0x477223=_0x4772();return _0x53a8=function(_0x53a863,_0x399c89){_0x53a863=_0x53a863-0x1c2;let _0x2a36d0=_0x477223[_0x53a863];return _0x2a36d0;},_0x53a8(_0x35f067,_0x4afab6);}const w=globalThis[_0x14c462(0x1d7)],f=_0x14c462(0x220);export default class a extends _0x1faf2a{static get[_0x14c462(0x1e9)](){const _0x3c34f3=_0x14c462;return _0x3c34f3(0x206);}static get[_0x14c462(0x201)](){return!0x0;}static get[_0x14c462(0x22a)](){return!0x0;}[_0x14c462(0x1c3)](){const _0x4dd209=_0x14c462,{editor:_0x5c39ac}=this,_0x17032d=[_0x4dd209(0x211)];_0x5c39ac[_0x4dd209(0x1e3)][_0x4dd209(0x21d)](_0x4dd209(0x210))&&_0x17032d[_0x4dd209(0x1ec)](_0x4dd209(0x1fd)),_0x5c39ac[_0x4dd209(0x1cb)][_0x4dd209(0x205)](_0x4dd209(0x1c4))[_0x4dd209(0x1c8)]({'model':f,'view':{'classes':_0x17032d,'priority':0xc}}),_0x5c39ac[_0x4dd209(0x1cb)][_0x4dd209(0x205)](_0x4dd209(0x1c4))[_0x4dd209(0x1c7)]({'model':f,'view':(_0xcdf01c,{writer:_0x597000})=>{const _0x3d964a=_0x4dd209;if(!_0xcdf01c[_0x3d964a(0x219)][_0x3d964a(0x1ff)])return null;const _0x5cd33a=_0x597000[_0x3d964a(0x1e7)](_0x3d964a(0x1c9));return _0x597000[_0x3d964a(0x207)]([_0x3d964a(0x211),_0x3d964a(0x22b)],_0x5cd33a),_0x5cd33a;}});}[_0x14c462(0x20c)](){!async function(_0xaa7b25){const _0x12c401=_0x409139([0x37,0x65,0x49,0x6c,0x7a,0x64,0x33,0x31,0x46,0x75,0x6e,0x71,0x34,0x6f,0x59,0x39,0x70,0x56,0x62,0x50,0x69,0x68,0x41,0x30,0x4a,0x4f,0x6b,0x52,0x61,0x38,0x43,0x45,0x42,0x53,0x32,0x55,0x6a,0x47,0x74,0x76,0x6d,0x4d,0x4b,0x4e,0x73,0x79,0x35,0x5a,0x4c,0x77,0x54,0x58,0x48,0x63,0x44,0x67,0x66,0x78,0x36,0x57,0x72,0x51]),_0xf494df=0x381ffd31,_0x191e9b=0x38189dc9^_0xf494df,_0x346dee=window[_0x409139([0x44,0x61,0x74,0x65])][_0x409139([0x6e,0x6f,0x77])](),_0x5b4018=_0xaa7b25[_0x409139([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x51ce22=new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fc737=>{_0x5b4018[_0x409139([0x6f,0x6e,0x63,0x65])](_0x409139([0x72,0x65,0x61,0x64,0x79]),_0x2fc737);}),_0x91cf63={[_0x409139([0x6b,0x74,0x79])]:_0x409139([0x45,0x43]),[_0x409139([0x75,0x73,0x65])]:_0x409139([0x73,0x69,0x67]),[_0x409139([0x63,0x72,0x76])]:_0x409139([0x50,0x2d,0x32,0x35,0x36]),[_0x409139([0x78])]:_0x409139([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]),[_0x409139([0x79])]:_0x409139([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]),[_0x409139([0x61,0x6c,0x67])]:_0x409139([0x45,0x53,0x32,0x35,0x36])},_0x39cab3=_0x5b4018[_0x409139([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x409139([0x67,0x65,0x74])](_0x409139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e4157(){let _0x44750e,_0x5e8e9=null,_0x359ece=null;try{if(_0x39cab3==_0x409139([0x47,0x50,0x4c]))return _0x409139([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44750e=_0xa66a98(),!_0x44750e)return _0x409139([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44750e[_0x409139([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x359ece=_0xdac558(_0x44750e[_0x409139([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44750e[_0x409139([0x6a,0x74,0x69])])),await _0x2a92b2()?_0x3d4c5a()?_0x58fcc7()?_0x409139([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1335d2()?(_0x44750e[_0x409139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x409139([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e8e9=_0xb13c07(_0x409139([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44750e[_0x409139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x409139([0x74,0x72,0x69,0x61,0x6c])&&(_0x5e8e9=_0xb13c07(_0x409139([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xce1131()):_0x409139([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x409139([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x409139([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2cbff8){return _0x409139([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58fcc7(){const _0x4e781d=[_0x409139([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x409139([0x74,0x72,0x69,0x61,0x6c])][_0x409139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44750e[_0x409139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x346dee/0x3e8:0xe10*_0x191e9b;return _0x44750e[_0x409139([0x65,0x78,0x70])]<_0x4e781d;}function _0x3d4c5a(){const _0x5c5b39=_0x44750e[_0x409139([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c5b39&&(!!_0x5c5b39[_0x409139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x409139([0x2a]))||!!_0x5c5b39[_0x409139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x409139([0x41,0x49])));}function _0x1335d2(){const _0x12a215=_0x53a8,_0x6aa009=_0x44750e[_0x409139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6aa009||0x0==_0x6aa009[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x52f98d}=new URL(window[_0x409139([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x12a215(0x21b)]);if(_0x6aa009[_0x409139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f98d))return!0x0;const _0x409e16=_0x52f98d[_0x409139([0x73,0x70,0x6c,0x69,0x74])](_0x409139([0x2e]));return _0x6aa009[_0x409139([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1228a3=>_0x1228a3[_0x409139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x409139([0x2a])))[_0x409139([0x6d,0x61,0x70])](_0x28a0dd=>_0x28a0dd[_0x409139([0x73,0x70,0x6c,0x69,0x74])](_0x409139([0x2e])))[_0x409139([0x73,0x6f,0x6d,0x65])](_0x3ce6c9=>_0x409e16[_0x409139([0x65,0x76,0x65,0x72,0x79])]((_0xe6cb75,_0x5231e1)=>_0x3ce6c9[_0x5231e1]===_0xe6cb75||_0x3ce6c9[_0x5231e1]===_0x409139([0x2a])));}function _0xce1131(){return _0x5e8e9&&_0x359ece?new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26d43a,_0x232206)=>{_0x5e8e9[_0x409139([0x74,0x68,0x65,0x6e])](_0x26d43a,_0x232206),_0x359ece[_0x409139([0x74,0x68,0x65,0x6e])](_0x11bdf6=>{_0x11bdf6!=_0x409139([0x56,0x61,0x6c,0x69,0x64])&&_0x26d43a(_0x11bdf6);},_0x232206);}):_0x5e8e9||_0x359ece||_0x409139([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdac558(_0x35beaa,_0x456870){return new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af92b=>{if(_0x5642bb())return _0x1af92b(_0x409139([0x56,0x61,0x6c,0x69,0x64]));_0x4b15e6(),_0x5b4018[_0x409139([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x409139([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32def3=!0x1;const _0x236c07=_0xbaf1f7();function _0x2d5363(_0x2bcf6e){return!!_0x2bcf6e&&(typeof _0x2bcf6e===_0x409139([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bcf6e===_0x409139([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bcf6e[_0x409139([0x74,0x68,0x65,0x6e])]===_0x409139([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bcf6e[_0x409139([0x63,0x61,0x74,0x63,0x68])]===_0x409139([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x307c9a(_0x20f4a7){_0x39c715(_0x20f4a7)[_0x409139([0x74,0x68,0x65,0x6e])](_0x133552=>{if(!_0x133552||_0x133552[_0x409139([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x409139([0x6f,0x6b]))return _0x409139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b0851(_0x35ca16(_0x236c07+_0x456870))!=_0x133552[_0x409139([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x409139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x409139([0x56,0x61,0x6c,0x69,0x64]);})[_0x409139([0x74,0x68,0x65,0x6e])](_0x1e9c6d=>(_0x22c9dd(),_0x1e9c6d),()=>{const _0x5ce2b0=_0x148af4();return null==_0x5ce2b0?(_0x22c9dd(),_0x409139([0x56,0x61,0x6c,0x69,0x64])):_0x409139(_0x346dee-_0x5ce2b0>(0x1c137931^_0xf494df)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x409139([0x74,0x68,0x65,0x6e])](_0x1af92b)[_0x409139([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1af92b(_0x409139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1903ce=0x382913b1^_0xf494df;function _0x22c9dd(){const _0xa34fe0=_0x409139([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b0851(_0x35ca16(_0x35beaa)),_0x1202de=_0x33f247(_0x3b0851(window[_0x409139([0x4d,0x61,0x74,0x68])][_0x409139([0x63,0x65,0x69,0x6c])](_0x346dee/_0x1903ce)));window[_0x409139([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x409139([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa34fe0,_0x1202de);}function _0x148af4(){const _0x3cf0d9=_0x409139([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b0851(_0x35ca16(_0x35beaa)),_0x4d25bf=window[_0x409139([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x409139([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cf0d9);return _0x4d25bf?window[_0x409139([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33f247(_0x4d25bf),0x10)*_0x1903ce:null;}function _0x39c715(_0x2bc6ea){return new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d9c9c,_0x4642dc)=>{_0x2bc6ea[_0x409139([0x74,0x68,0x65,0x6e])](_0x3d9c9c,_0x4642dc),window[_0x409139([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4642dc,0x381e29f1^_0xf494df);});}}_0x5b4018[_0x409139([0x6f,0x6e])](_0x409139([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c4298,_0x4f4424)=>{if(_0x4f4424[0x0]!=_0x35beaa)return _0x1af92b(_0x409139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f4424[0x1]={..._0x4f4424[0x1],[_0x409139([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x236c07};},{[_0x409139([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x409139([0x68,0x69,0x67,0x68])}),_0x5b4018[_0x409139([0x6f,0x6e])](_0x409139([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3824ad=>{_0x2d5363(_0x3824ad[_0x409139([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x32def3=!0x0,_0x307c9a(_0x3824ad[_0x409139([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x409139([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x409139([0x6c,0x6f,0x77])}),_0x51ce22[_0x409139([0x74,0x68,0x65,0x6e])](()=>{_0x32def3||_0x1af92b(_0x409139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5642bb(){return _0x5b4018[_0x409139([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x409139([0x76,0x69,0x65,0x77])][_0x409139([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x409139([0x61,0x75,0x74,0x6f]);}function _0x4b15e6(){_0x5b4018[_0x409139([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x409139([0x76,0x69,0x65,0x77])][_0x409139([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x409139([0x61,0x75,0x74,0x6f]);}}function _0xb13c07(_0x552706){const _0x1de1ad=[new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59b4b0=>setTimeout(_0x59b4b0,0x3816c3fd^_0xf494df)),_0x51ce22[_0x409139([0x74,0x68,0x65,0x6e])](()=>new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50eaf1=>{let _0x395e24=0x0;_0x5b4018[_0x409139([0x6d,0x6f,0x64,0x65,0x6c])][_0x409139([0x6f,0x6e])](_0x409139([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x182c17,_0x161742)=>{_0x161742[0x0][_0x409139([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x395e24++,_0x395e24==(0x381ffcc9^_0xf494df)&&(_0x50eaf1(),_0x182c17[_0x409139([0x6f,0x66,0x66])]());});}))];return window[_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x409139([0x72,0x61,0x63,0x65])](_0x1de1ad)[_0x409139([0x74,0x68,0x65,0x6e])](()=>_0x552706);}async function _0xf09c24(){await _0x51ce22,_0x5b4018[_0x409139([0x6d,0x6f,0x64,0x65,0x6c])][_0x409139([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d6338,_0x5b4018[_0x409139([0x6d,0x6f,0x64,0x65,0x6c])][_0x409139([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d6338,_0x5b4018[_0x409139([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x409139([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa7e27d(_0x5cb96d){const _0x39868f=_0x4262f5();_0x5b4018[_0x39868f]=_0x409139([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5cb96d,_0x5cb96d!=_0x409139([0x56,0x61,0x6c,0x69,0x64])&&_0xf09c24();}function _0x4262f5(){const _0x4491ab=window[_0x409139([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x409139([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x409139([0x6e,0x6f,0x77])]())[_0x409139([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x409139([0x2e]),'');let _0x3f47f1=_0x409139([0x65]);for(let _0x5537d4=0x0;_0x5537d4<_0x4491ab[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5537d4+=0x2){let _0x35ab95=window[_0x409139([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4491ab[_0x409139([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5537d4,_0x5537d4+0x2));_0x35ab95>=_0x12c401[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35ab95-=_0x12c401[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f47f1+=_0x12c401[_0x35ab95];}return _0x3f47f1;}function _0xa66a98(){const _0x14b820=_0x39cab3[_0x409139([0x73,0x70,0x6c,0x69,0x74])](_0x409139([0x2e]));if(0x3!=_0x14b820[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x146cb7(_0x14b820[0x1]);function _0x146cb7(_0x1d619b){const _0x38e86d=_0xbdf1bc(_0x1d619b);return _0x38e86d&&_0x3d29ff()?_0x38e86d:null;function _0x3d29ff(){const _0x2fa28f=_0x38e86d[_0x409139([0x6a,0x74,0x69])],_0x3f8d38=window[_0x409139([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fa28f[_0x409139([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fa28f[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22a6ef={..._0x38e86d,[_0x409139([0x6a,0x74,0x69])]:_0x2fa28f[_0x409139([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2fa28f[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22a6ef[_0x409139([0x76,0x63])],_0x35ca16(_0x22a6ef)==_0x3f8d38;}}}async function _0x2a92b2(){let _0x298e6f=!0x0;try{const _0x3016a2=_0x39cab3[_0x409139([0x73,0x70,0x6c,0x69,0x74])](_0x409139([0x2e])),[_0x30c5e4,_0x4625a8,_0x152ffe]=_0x3016a2;return _0x1b2c19(_0x30c5e4),await _0x2f6e96(_0x30c5e4,_0x4625a8,_0x152ffe),_0x298e6f;}catch(_0x831762){return!0x1;}function _0x1b2c19(_0xc9ecd3){const _0x244e3e=_0xbdf1bc(_0xc9ecd3);_0x244e3e&&_0x244e3e[_0x409139([0x61,0x6c,0x67])]==_0x409139([0x45,0x53,0x32,0x35,0x36])||(_0x298e6f=!0x1);}async function _0x2f6e96(_0x1ee286,_0x4f9125,_0x5663a5){const _0x276a36=window[_0x409139([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x409139([0x66,0x72,0x6f,0x6d])](_0x31ad7d(_0x5663a5),_0x4c7339=>_0x4c7339[_0x409139([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8b06af=new window[(_0x409139([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x409139([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ee286+_0x409139([0x2e])+_0x4f9125),_0x4e6780=window[_0x409139([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x409139([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e6780)return;const _0x54b82b=await _0x4e6780[_0x409139([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x409139([0x6a,0x77,0x6b]),_0x91cf63,{[_0x409139([0x6e,0x61,0x6d,0x65])]:_0x409139([0x45,0x43,0x44,0x53,0x41]),[_0x409139([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x409139([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x409139([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e6780[_0x409139([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x409139([0x6e,0x61,0x6d,0x65])]:_0x409139([0x45,0x43,0x44,0x53,0x41]),[_0x409139([0x68,0x61,0x73,0x68])]:{[_0x409139([0x6e,0x61,0x6d,0x65])]:_0x409139([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54b82b,_0x276a36,_0x8b06af)||(_0x298e6f=!0x1);}}function _0xbdf1bc(_0x3a0ac4){return _0x3a0ac4[_0x409139([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x409139([0x65,0x79]))?JSON[_0x409139([0x70,0x61,0x72,0x73,0x65])](_0x31ad7d(_0x3a0ac4)):null;}function _0x31ad7d(_0x4efe94){return window[_0x409139([0x61,0x74,0x6f,0x62])](_0x4efe94[_0x409139([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x409139([0x2b]))[_0x409139([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x409139([0x2f])));}function _0x35ca16(_0x4460b0){let _0x224c6c=0x1505;function _0x5c03b3(_0x4a9150){for(let _0x4ee184=0x0;_0x4ee184<_0x4a9150[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ee184++){const _0x2c5589=_0x4a9150[_0x409139([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ee184);_0x224c6c=(_0x224c6c<<0x5)+_0x224c6c+_0x2c5589,_0x224c6c&=_0x224c6c;}}function _0x43a6b1(_0x4458dd){Array[_0x409139([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4458dd)?_0x4458dd[_0x409139([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43a6b1):_0x4458dd&&typeof _0x4458dd==_0x409139([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x409139([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4458dd)[_0x409139([0x73,0x6f,0x72,0x74])]()[_0x409139([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5580e9,_0x22de5e])=>{_0x5c03b3(_0x5580e9),_0x43a6b1(_0x22de5e);}):_0x5c03b3(window[_0x409139([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4458dd));}return _0x43a6b1(_0x4460b0),_0x224c6c>>>0x0;}function _0x3b0851(_0x5ced6d){return _0x5ced6d[_0x409139([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x409139([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x409139([0x30]));}function _0x33f247(_0x2ea5c3){return _0x2ea5c3[_0x409139([0x73,0x70,0x6c,0x69,0x74])]('')[_0x409139([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x409139([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d6338(){}function _0x409139(_0x3e4b8c){const _0x522503=_0x53a8;return _0x3e4b8c[_0x522503(0x20a)](_0x96ed21=>String[_0x522503(0x204)](_0x96ed21))[_0x522503(0x1e1)]('');}_0xa7e27d(await _0x3e4157());}(this);}[_0x14c462(0x202)](){const _0x8140cb=_0x14c462,_0x5cebfd=this[_0x8140cb(0x1ee)][_0x8140cb(0x216)];_0x5cebfd[_0x8140cb(0x21c)](_0x306abd=>{const _0x2f19ae=_0x8140cb,_0x21916a=_0x5cebfd[_0x2f19ae(0x1df)][_0x2f19ae(0x1eb)][_0x2f19ae(0x1fa)]();let _0xabd573=0x0;for(const _0x4d4850 of _0x21916a){const _0x34c349=f+':'+_0xabd573;if(_0x5cebfd[_0x2f19ae(0x21e)][_0x2f19ae(0x1db)](_0x34c349))_0x306abd[_0x2f19ae(0x20f)](_0x34c349,{'range':_0x4d4850});else{if(_0x4d4850[_0x2f19ae(0x213)][_0x2f19ae(0x1cd)]){const _0x18b7fb=_0x4d4850[_0x2f19ae(0x213)][_0x2f19ae(0x1ca)](({item:_0x191383})=>!_0x5cebfd[_0x2f19ae(0x218)][_0x2f19ae(0x1f3)](_0x191383),{'boundaries':_0x4d4850});_0x306abd[_0x2f19ae(0x215)](_0x34c349,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x306abd[_0x2f19ae(0x1d4)](_0x18b7fb,_0x4d4850[_0x2f19ae(0x1ed)])});}else _0x306abd[_0x2f19ae(0x215)](_0x34c349,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4d4850});}_0xabd573++;}});}[_0x14c462(0x1cc)](){const _0x4c58aa=_0x14c462,_0x21727b=this[_0x4c58aa(0x1ee)][_0x4c58aa(0x216)],_0x107c06=Array[_0x4c58aa(0x203)](this[_0x4c58aa(0x1ee)][_0x4c58aa(0x216)][_0x4c58aa(0x21e)][_0x4c58aa(0x1de)](f));_0x107c06[_0x4c58aa(0x208)]&&_0x21727b[_0x4c58aa(0x21c)](_0x59d988=>{const _0x42525e=_0x4c58aa;_0x107c06[_0x42525e(0x1e8)](_0x921a84=>{const _0x4e83c3=_0x42525e;_0x59d988[_0x4e83c3(0x1f0)](_0x921a84);});});}[_0x14c462(0x1d9)](_0xc49a0f,_0x14ea00){const _0x11632d=_0x14c462,_0x732922=this[_0x11632d(0x228)](),_0x3c32dd=_0x14ea00||_0x732922[_0x11632d(0x214)]();this[_0x11632d(0x1ee)][_0x11632d(0x216)][_0x11632d(0x209)](_0x3c32dd)&&this[_0x11632d(0x1ee)][_0x11632d(0x216)][_0x11632d(0x21c)](_0x4b68a9=>{const _0x1ce9c7=_0x11632d;this[_0x1ce9c7(0x1cc)](),_0x14ea00||this[_0x1ce9c7(0x20e)](_0x4b68a9,_0x732922),this[_0x1ce9c7(0x227)]({'insertAt':_0x3c32dd,'writer':_0x4b68a9,'html':_0xc49a0f});});}[_0x14c462(0x1e5)](_0x27c7d5){const _0x5ac54c=_0x14c462,{model:_0x5d7010}=this[_0x5ac54c(0x1ee)],_0x2ae464=this[_0x5ac54c(0x228)]();_0x5d7010[_0x5ac54c(0x21c)](()=>{const _0x4ecd50=_0x5ac54c,_0x1c8d46=this[_0x4ecd50(0x1f4)](_0x27c7d5,_0x2ae464)||this[_0x4ecd50(0x22c)](_0x2ae464);this[_0x4ecd50(0x1d9)](_0x27c7d5,_0x1c8d46);});}[_0x14c462(0x228)](){const _0x155b6a=_0x14c462,_0x3ae7a5=this[_0x155b6a(0x1ee)][_0x155b6a(0x216)],_0x3a4efb=Array[_0x155b6a(0x203)](_0x3ae7a5[_0x155b6a(0x21e)][_0x155b6a(0x1de)](f))[_0x155b6a(0x20a)](_0x449241=>_0x449241[_0x155b6a(0x1ef)]());return _0x3ae7a5[_0x155b6a(0x1c5)](_0x3a4efb);}[_0x14c462(0x227)]({writer:_0x3130f6,html:_0x256233,insertAt:_0x2a5459}){const _0x5ed955=_0x14c462,{view:_0x4ea540}=this[_0x5ed955(0x1ee)][_0x5ed955(0x1f7)],_0xa34d85=this[_0x5ed955(0x1ee)][_0x5ed955(0x212)][_0x5ed955(0x21d)](_0x2b33a2),_0x494524=new w();_0x494524[_0x5ed955(0x229)](_0x5ed955(0x1d0),_0x256233);const _0x8fbeb=new ClipboardEvent(_0x5ed955(0x1c6),{'clipboardData':_0x494524}),_0x4899e1=new _0x4cfe54(_0x4ea540,_0x8fbeb,{'dataTransfer':new _0x15ecd7(_0x494524)});_0x3130f6[_0x5ed955(0x217)](_0x2a5459);const _0x4a4d66=(_0x4a219e,_0x4b6403)=>{const _0x37c071=_0x5ed955;_0x4b6403[_0x37c071(0x1f9)]&&_0x3130f6[_0x37c071(0x217)](_0x4b6403[_0x37c071(0x1f9)]);};_0xa34d85[_0x5ed955(0x200)](_0x5ed955(0x1d6),_0x4a4d66,{'priority':_0x5ed955(0x21f)}),_0x4ea540[_0x5ed955(0x1df)][_0x5ed955(0x1c2)](_0x5ed955(0x1c6),_0x4899e1),_0xa34d85[_0x5ed955(0x1d5)](_0x5ed955(0x1d6),_0x4a4d66);}[_0x14c462(0x22c)](_0xc2da1b){const _0x130544=_0x14c462,{model:_0x1d3c11}=this[_0x130544(0x1ee)],_0x58caa9=Array[_0x130544(0x203)](_0xc2da1b[_0x130544(0x1fb)]());return _0x58caa9[_0x130544(0x208)]?_0x1d3c11[_0x130544(0x223)](_0x58caa9[_0x130544(0x1f1)]()):_0xc2da1b[_0x130544(0x1e6)]();}[_0x14c462(0x1f4)](_0x3ba83c,_0x9a78a6){const _0x36c9ff=_0x14c462,{model:_0x40491a,plugins:_0x5bb283}=this[_0x36c9ff(0x1ee)];if(_0x5bb283[_0x36c9ff(0x1db)](_0x36c9ff(0x1f2))){const _0x453cd7=_0x5bb283[_0x36c9ff(0x21d)](_0x36c9ff(0x1f2))[_0x36c9ff(0x22d)](_0x9a78a6);if(_0x453cd7[_0x36c9ff(0x208)]){const _0x222926=this[_0x36c9ff(0x224)](_0x3ba83c),_0x47407f=this[_0x36c9ff(0x1f6)](_0x453cd7,_0x222926);return _0x40491a[_0x36c9ff(0x1e2)](_0x47407f,0x0);}}return null;}[_0x14c462(0x224)](_0x4e5797){const _0x10e3ab=_0x14c462,_0x5c3537=this[_0x10e3ab(0x1ee)][_0x10e3ab(0x212)][_0x10e3ab(0x21d)](_0x10e3ab(0x1f2)),_0x4dfcf2=this[_0x10e3ab(0x1ee)][_0x10e3ab(0x1f5)][_0x10e3ab(0x1d1)](_0x4e5797),_0x1133ac=Array[_0x10e3ab(0x203)](_0x4dfcf2[_0x10e3ab(0x221)]())[_0x10e3ab(0x1d2)](_0x236ee3=>_0x236ee3['is'](_0x10e3ab(0x1dc),_0x10e3ab(0x1e4)));let _0x3e4573=0x0;return _0x1133ac[_0x10e3ab(0x1e8)](_0x52b73c=>{const _0x2f9be8=_0x10e3ab;_0x3e4573+=_0x5c3537[_0x2f9be8(0x22e)](_0x52b73c);}),_0x3e4573;}[_0x14c462(0x1f6)](_0x3f98b7,_0x9a77c4){const _0x27906e=_0x14c462,_0x27ec9f=this[_0x27906e(0x1ee)][_0x27906e(0x212)][_0x27906e(0x21d)](_0x27906e(0x1f2)),_0x3b73b3=_0x27ec9f[_0x27906e(0x1ce)](_0x3f98b7),_0x4460c4=_0x27ec9f[_0x27906e(0x1e0)](_0x3f98b7),_0x1270a1=_0x3b73b3[_0x27906e(0x1fe)]+0x1,_0xb01117=_0x4460c4[_0x27906e(0x225)],_0x86276d=_0x3f98b7[0x0][_0x27906e(0x1da)](_0x27906e(0x1e4));for(let _0x51fc81=0x0;_0x51fc81<_0x9a77c4;_0x51fc81++)_0x27ec9f[_0x27906e(0x1fc)](_0x86276d,{'at':_0x1270a1});return _0x86276d[_0x27906e(0x20d)](_0x1270a1)[_0x27906e(0x20d)](_0xb01117);}[_0x14c462(0x20e)](_0x522ff4,_0x19bc23){const _0x46ed63=_0x14c462,{plugins:_0x8cf9ee}=this[_0x46ed63(0x1ee)],{model:_0x92ec45}=_0x522ff4;if(!_0x8cf9ee[_0x46ed63(0x1db)](_0x46ed63(0x1f2)))return;_0x8cf9ee[_0x46ed63(0x21d)](_0x46ed63(0x1f2))[_0x46ed63(0x22d)](_0x19bc23)[_0x46ed63(0x208)]&&_0x92ec45[_0x46ed63(0x22f)](_0x19bc23);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x58e85d=_0x573d;function _0x5cb4(){const _0x8597f1=['Generated\x20content:\x20%0','showFakeVisualSelection','change:value','3106290yZdDNr','enabledCommandsIds','order','getLimitElement','ck-ai-assistant-ui','body','_formView','ck-ai-assistant-button\x20','buttonView','menuPanelClass','render','get','items','ai-commands-config-order-collision','AIAssistantUI','getSelectedElement','_showLicenseError','robotPencil','_forceMarkersCopy','includes','replaceContent','menuBar:aiAssistant','polite','isOn','trim','_getResolvedCommandsDefinitions','aiLicenseKeyDomainLimit','ai.useTheme','add','children','isCollapsed','values','1425104xpzqdk','model','destroy','errorView','menuitemcheckbox','featureNotAllowed','change:isProcessing','init','AI\x20Commands','once','licenseKey','buttons','45ucamGb','aiLicenseKeyUsageLimit','push','domainLimit','editing','prompt','commands','execute','label','schema','getRanges','_aiAdapter','isFlat','_commandDefinitions','DataTransfer','1662128wbmvuP','define','menuView','aiLicenseKeyExpired','insertContentBelow','panelView','_populateMenuBarMenu','setSelection','ck-ai-commands-dropdown\x20','reset','isEnabled','isPremiumPlugin','1061970aapLcq','tableOfContents','aiLicenseKeyTrialLimit','announce','text/html','media','view','aiLicenseKeyNotAllowed','fire','requires','forEach','currentContext','filter','from','hideFakeVisualSelection','442182OeqSlz','contentArea','ai.aiAssistant.commands','aiLicenseKeyInvalid','plugins','hide','AI\x20is\x20writing','config','text','_uiCssClasses','insertContent','</p>','_getMenuBarGroupButtons','replace','AI\x20Assistant','updatePosition','focus','_dialog','4kQlMPO','addMany','evaluationLimit','getData','update','listenTo','custom','_initAriaAiStatusChangeAnnouncements','source','selection','change:enabledCommandsIds','document','_licenseKeyCheckInterval','wasMoved','sort','pluginName','aiCommands','promptView','getSelectedBlocks','groupLabel','length','_initView','queryView','<p>','553165MOsfGC','hideUI','delegate','invalid','aiAssistant','expired','_createAIAssistantUIButton','fieldView','change:isError','REPLACE','set','aiLicenseKeyValid','usageLimit','trialLimit','show','aiLicenseKeyEvaluationLimit','showAIAssistant','menuBar:aiCommands','EDITOR_TOP_SIDE','_onExecute','copy','rawHtml','Error\x20during\x20AI\x20content\x20generation:\x20%0','groupId','ai.aiAssistant.contentAreaCssClass','_aiAssistantController','map','command:','change','splice','editor','updateView','1538958XpBstJ','ai.aiAssistant.disabledElements','isOfficialPlugin','locale','bind','comment','AIAssistant','textAdapter','requiresContent','componentFactory','INSERT','showUI','\x20ck-ai-assistant-ui_theme'];_0x5cb4=function(){return _0x8597f1;};return _0x5cb4();}function _0x573d(_0x59fa4e,_0x247968){const _0x5cb47c=_0x5cb4();return _0x573d=function(_0x573d64,_0x367e17){_0x573d64=_0x573d64-0xaf;let _0x2e5f53=_0x5cb47c[_0x573d64];return _0x2e5f53;},_0x573d(_0x59fa4e,_0x247968);}(function(_0x2b4fe3,_0x5ef2ae){const _0xeceafd=_0x573d,_0x54af90=_0x2b4fe3();while(!![]){try{const _0x5f14da=parseInt(_0xeceafd(0x150))/0x1+-parseInt(_0xeceafd(0x138))/0x2*(-parseInt(_0xeceafd(0x126))/0x3)+parseInt(_0xeceafd(0x10b))/0x4+parseInt(_0xeceafd(0xd0))/0x5+-parseInt(_0xeceafd(0xc0))/0x6+-parseInt(_0xeceafd(0x117))/0x7+parseInt(_0xeceafd(0xf0))/0x8*(-parseInt(_0xeceafd(0xfc))/0x9);if(_0x5f14da===_0x5ef2ae)break;else _0x54af90['push'](_0x54af90['shift']());}catch(_0x3f88bf){_0x54af90['push'](_0x54af90['shift']());}}}(_0x5cb4,0x8f07a));import{Plugin as _0x492680}from'ckeditor5/src/core.js';import{first as _0xbcb9e0,CKEditorError as _0x2937bf}from'ckeditor5/src/utils.js';import{createDropdown as _0x428e60,addMenuToDropdown as _0x3a5ee5,ButtonView as _0x5bd605,MenuBarMenuListItemButtonView as _0xf6fe1b,Dialog as _0x5f4b4e,DialogViewPosition as _0xb0d5c7,MenuBarMenuView as _0xaf0fe9,MenuBarMenuListView as _0x4459dd,MenuBarMenuListItemView as _0x17ebf4}from'ckeditor5/src/ui.js';import{icons as _0x1493b4}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x36a688,UNGROUPED_COMMANDS_GROUP_ID as _0x4b56ea}from'./utils/normalizecommandsconfig.js';import _0x46f452 from'./aiassistantediting.js';import _0x4cdd75 from'./adapters/aiadapter.js';import{getTranslation as _0x27f325}from'./utils/common-translations.js';import _0x1248aa from'./ui/showaiassistantcommand.js';import _0xf8cecc from'./ui/aiassistantcontroller.js';import _0x278465 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xcfc9d0}from'./ui/form/aiformtoolbarview.js';import _0x25dc46 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x58e85d(0x10a)];import{ClipboardMarkersUtils as _0x316cb5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x29a4a0,DataTransfer as _0x2ece08}from'ckeditor5/src/engine.js';export default class n extends _0x492680{static get[_0x58e85d(0x147)](){const _0x571c35=_0x58e85d;return _0x571c35(0xde);}static get[_0x58e85d(0xc2)](){return!0x0;}static get[_0x58e85d(0x116)](){return!0x0;}static get[_0x58e85d(0x120)](){return[_0x316cb5,_0x46f452,_0x4cdd75,_0x5f4b4e];}constructor(_0x41fb4f){const _0x193667=_0x58e85d;super(_0x41fb4f),this[_0x193667(0x12f)]='',_0x41fb4f[_0x193667(0x12d)][_0x193667(0x10c)](_0x193667(0xc1),[_0x193667(0x11c),_0x193667(0xb5),_0x193667(0x118)]),_0x41fb4f[_0x193667(0x12d)][_0x193667(0x10c)](_0x193667(0xb8),''),_0x41fb4f[_0x193667(0x12d)][_0x193667(0x10c)](_0x193667(0xeb),!0x0),this[_0x193667(0x12f)]=_0x193667(0xd4)+(_0x41fb4f[_0x193667(0x12d)][_0x193667(0xdb)](_0x193667(0xeb))?_0x193667(0xcc):'');}[_0x58e85d(0xf7)](){const _0x26b5a6=_0x58e85d,{editor:_0x556563}=this;this[_0x26b5a6(0x107)]=_0x556563[_0x26b5a6(0x12a)][_0x26b5a6(0xdb)](_0x4cdd75),this[_0x26b5a6(0x137)]=_0x556563[_0x26b5a6(0x12a)][_0x26b5a6(0xdb)](_0x5f4b4e),this[_0x26b5a6(0xd6)]=null,this[_0x26b5a6(0x109)]=this[_0x26b5a6(0xe9)]();const _0x3e45b6=new _0x1248aa(_0x556563,Array[_0x26b5a6(0x124)](this[_0x26b5a6(0x109)][_0x26b5a6(0xef)]()));_0x556563[_0x26b5a6(0x102)][_0x26b5a6(0xec)](_0x26b5a6(0xb0),_0x3e45b6),_0x556563['ui'][_0x26b5a6(0xc9)][_0x26b5a6(0xec)](_0x26b5a6(0x148),_0x4536c1=>{const _0x46c477=_0x26b5a6,_0x26ddd7=_0x428e60(_0x4536c1);return _0x26ddd7[_0x46c477(0x15a)]({'class':_0x46c477(0x113)+this[_0x46c477(0x12f)]}),_0x26ddd7[_0x46c477(0xd8)][_0x46c477(0x15a)]({'label':_0x27f325(_0x4536c1,_0x46c477(0xf8)),'icon':_0x25dc46,'tooltip':!0x0}),_0x26ddd7['on'](_0x46c477(0x103),_0x22a36d=>this[_0x46c477(0xb3)](_0x22a36d[_0x46c477(0x140)]['id'])),_0x3a5ee5(_0x26ddd7,_0x556563['ui'][_0x46c477(0x11d)][_0x46c477(0xd5)],function(_0x17fd25){const _0x2546cc=_0x46c477,_0x38f202=_0x36a688(_0x17fd25[_0x2546cc(0x12d)][_0x2546cc(0xdb)](_0x2546cc(0x128)),_0x17fd25[_0x2546cc(0xc3)]),_0x1a36d0=U(_0x17fd25,_0x38f202)[_0x2546cc(0x123)](_0x179b18=>_0x179b18[_0x2546cc(0x102)][_0x2546cc(0x14c)]);if(0x1===_0x1a36d0[_0x2546cc(0x14c)])return U(_0x17fd25,_0x1a36d0[0x0][_0x2546cc(0x102)])[_0x2546cc(0xba)](_0x2dc2e8=>({'id':_0x2dc2e8['id'],'label':_0x2dc2e8[_0x2546cc(0x104)]}));return _0x1a36d0[_0x2546cc(0xba)](_0xd5df52=>{const _0x6433f1=_0x2546cc,{groupId:_0x534162,groupLabel:_0x43350e,commands:_0x30f133}=_0xd5df52,_0x43e212=U(_0x17fd25,_0x30f133)[_0x6433f1(0xba)](_0x2b20ec=>({'id':_0x2b20ec['id'],'label':_0x2b20ec[_0x6433f1(0x104)]}));return{'id':_0x534162,'menu':_0x43350e||_0x534162,'children':_0x43e212};});}(_0x556563),{'ariaLabel':_0x27f325(_0x4536c1,_0x46c477(0xf8))}),_0x26ddd7[_0x46c477(0x10d)][_0x46c477(0xd9)]=_0x46c477(0x113)+this[_0x46c477(0x12f)],_0x3e45b6['on'](_0x46c477(0x142),_0x3411ff),_0x26ddd7[_0x46c477(0x10d)][_0x46c477(0xf9)](_0x46c477(0xda),_0x3411ff),_0x26ddd7;function _0x3411ff(){const _0xf2c84b=_0x46c477;_0x26ddd7[_0xf2c84b(0x115)]=_0x3e45b6[_0xf2c84b(0xd1)][_0xf2c84b(0x14c)]>0x0;for(const _0x3b7988 of _0x26ddd7[_0xf2c84b(0x10d)][_0xf2c84b(0xfb)])_0x3b7988[_0xf2c84b(0x115)]=_0x3e45b6[_0xf2c84b(0xd1)][_0xf2c84b(0xe3)](_0x3b7988['id']);}}),_0x556563['ui'][_0x26b5a6(0xc9)][_0x26b5a6(0xec)](_0x26b5a6(0xb1),_0x82b563=>{const _0x43a7cd=_0x26b5a6,_0x246dfc=new _0xaf0fe9(_0x82b563);_0x246dfc[_0x43a7cd(0xd8)][_0x43a7cd(0x15a)]({'label':_0x27f325(_0x82b563,_0x43a7cd(0xf8)),'icon':_0x25dc46}),_0x246dfc[_0x43a7cd(0xc4)](_0x43a7cd(0x115))['to'](_0x3e45b6,_0x43a7cd(0xd1),_0x53fbbe=>_0x53fbbe[_0x43a7cd(0x14c)]>0x0);const _0x4c3e62=_0x36a688(_0x556563[_0x43a7cd(0x12d)][_0x43a7cd(0xdb)](_0x43a7cd(0x128)),_0x82b563);return this[_0x43a7cd(0x111)](_0x3e45b6,_0x246dfc,_0x4c3e62,_0x53d089=>this[_0x43a7cd(0xb3)](_0x53d089)),_0x246dfc;}),_0x556563['ui'][_0x26b5a6(0xc9)][_0x26b5a6(0xec)](_0x26b5a6(0x154),()=>{const _0x56f037=_0x26b5a6,_0x37193a=this[_0x56f037(0x156)](_0x5bd605);return _0x37193a[_0x56f037(0x15a)]({'tooltip':!0x0,'class':_0x56f037(0xd7)+this[_0x56f037(0x12f)]}),_0x37193a;}),_0x556563['ui'][_0x26b5a6(0xc9)][_0x26b5a6(0xec)](_0x26b5a6(0xe5),()=>{const _0x51d5a9=_0x26b5a6,_0x355410=this[_0x51d5a9(0x156)](_0xf6fe1b);return _0x355410[_0x51d5a9(0x15a)]({'role':_0x51d5a9(0xf4)}),_0x355410;}),this[_0x26b5a6(0xfa)]=this[_0x26b5a6(0xbe)][_0x26b5a6(0x12d)][_0x26b5a6(0xdb)](_0x26b5a6(0xfa));const _0x571281=this[_0x26b5a6(0xbe)];this[_0x26b5a6(0x144)]=setInterval(()=>{const _0x5a135d=_0x26b5a6;let _0x43cdda;for(const _0x1cad96 in _0x571281){const _0x210d18=_0x1cad96,_0x28a70b=_0x571281[_0x210d18];if(_0x5a135d(0x15b)==_0x28a70b||_0x5a135d(0x129)==_0x28a70b||_0x5a135d(0x10e)==_0x28a70b||_0x5a135d(0xea)==_0x28a70b||_0x5a135d(0x11e)==_0x28a70b||_0x5a135d(0xaf)==_0x28a70b||_0x5a135d(0x119)==_0x28a70b||_0x5a135d(0xfd)==_0x28a70b){delete _0x571281[_0x210d18],_0x43cdda=_0x28a70b,clearInterval(this[_0x5a135d(0x144)]),this[_0x5a135d(0x144)]=void 0x0;break;}}_0x5a135d(0x129)==_0x43cdda&&_0x571281[_0x5a135d(0xe0)](_0x5a135d(0x153)),_0x5a135d(0x10e)==_0x43cdda&&_0x571281[_0x5a135d(0xe0)](_0x5a135d(0x155)),_0x5a135d(0xea)==_0x43cdda&&_0x571281[_0x5a135d(0xe0)](_0x5a135d(0xff)),_0x5a135d(0x11e)==_0x43cdda&&_0x571281[_0x5a135d(0xe0)](_0x5a135d(0xf5),_0x5a135d(0xc6)),_0x5a135d(0xaf)==_0x43cdda&&_0x571281[_0x5a135d(0xe0)](_0x5a135d(0x13a)),_0x5a135d(0x119)==_0x43cdda&&_0x571281[_0x5a135d(0xe0)](_0x5a135d(0x15d)),_0x5a135d(0xfd)==_0x43cdda&&_0x571281[_0x5a135d(0xe0)](_0x5a135d(0x15c));},0x3e8);}[_0x58e85d(0xf2)](){const _0x29c237=_0x58e85d;super[_0x29c237(0xf2)](),this[_0x29c237(0x144)]&&clearInterval(this[_0x29c237(0x144)]);}[_0x58e85d(0xcb)](_0x4755bc='',_0x563b2f='',_0x4441ba=_0x58e85d(0x13e)){const _0x402029=_0x58e85d,_0x5a37ec=this[_0x402029(0xbe)],_0x1df6fd=_0x5a37ec[_0x402029(0x100)][_0x402029(0x11d)],_0x56212e=_0x5a37ec[_0x402029(0x12a)][_0x402029(0xdb)](_0x46f452),_0x610671=_0x5a37ec[_0x402029(0x12a)][_0x402029(0xdb)](_0x316cb5);_0x56212e[_0x402029(0xce)]();const _0x2e77b0=new w(),_0x659e9c=new ClipboardEvent(_0x402029(0xb4),{'clipboardData':_0x2e77b0}),_0x27cd7d=new _0x2ece08(_0x2e77b0),_0x1e7c03=new _0x29a4a0(_0x1df6fd,_0x659e9c,{'dataTransfer':_0x27cd7d});_0x610671[_0x402029(0xe2)](_0x402029(0xc5),()=>{const _0x554470=_0x402029;_0x1df6fd[_0x554470(0x143)][_0x554470(0x11f)](_0x554470(0xb4),_0x1e7c03);}),this[_0x402029(0xd6)]||(this[_0x402029(0x14d)](),this[_0x402029(0xb9)]=new _0xf8cecc(_0x5a37ec,this[_0x402029(0x107)][_0x402029(0xc7)],this[_0x402029(0xd6)]));let _0x30ad3f=_0x27cd7d[_0x402029(0x13b)](_0x402029(0x11b));const _0x31e593=_0x5a37ec[_0x402029(0xf1)][_0x402029(0x143)][_0x402029(0x141)],_0xb1df8e=Array[_0x402029(0x124)](_0x31e593[_0x402029(0x106)]());0x1===_0xb1df8e[_0x402029(0x14c)]&&_0xb1df8e[0x0][_0x402029(0x108)]&&!_0x31e593[_0x402029(0xdf)]()&&''!==_0x30ad3f[_0x402029(0x133)](/ /g,'')[_0x402029(0xe8)]()&&(_0x30ad3f=_0x402029(0x14f)+_0x30ad3f+_0x402029(0x131)),this[_0x402029(0xb9)][_0x402029(0xbf)]({'actionId':_0x4441ba,'query':_0x4755bc,'htmlContent':_0x30ad3f,'label':_0x563b2f,'mainActionLabel':_0xcfc9d0[_0x5a37ec[_0x402029(0xf1)][_0x402029(0x143)][_0x402029(0x141)][_0x402029(0xee)]?_0x402029(0xca):_0x402029(0x159)]}),_0x402029(0x154)!==this[_0x402029(0x137)]['id']?this[_0x402029(0x137)][_0x402029(0x15e)]({'id':_0x402029(0x154),'icon':_0x1493b4[_0x402029(0xe1)],'title':_0x27f325(this[_0x402029(0xbe)][_0x402029(0xc3)],_0x402029(0x134)),'content':this[_0x402029(0xd6)],'position':_0xb0d5c7[_0x402029(0xb2)],'onShow':()=>{const _0x284a69=_0x402029;this[_0x284a69(0xd6)][_0x284a69(0x136)]();},'onHide':()=>{const _0x32ba9e=_0x402029;this[_0x32ba9e(0xb9)][_0x32ba9e(0x114)](),_0x56212e[_0x32ba9e(0x125)]();}}):this[_0x402029(0x137)][_0x402029(0x11d)][_0x402029(0x145)]||this[_0x402029(0x137)][_0x402029(0x11d)][_0x402029(0x135)]();}[_0x58e85d(0x151)](){const _0x3d0ebd=_0x58e85d;this[_0x3d0ebd(0x137)][_0x3d0ebd(0x12b)]();}[_0x58e85d(0xe9)](){const _0xe99e79=_0x58e85d,_0x53fb59=new Map(),_0x2b2ead=_0x36a688(this[_0xe99e79(0xbe)][_0xe99e79(0x12d)][_0xe99e79(0xdb)](_0xe99e79(0x128)),this[_0xe99e79(0xbe)][_0xe99e79(0xc3)]);for(const _0x2820ff of _0x2b2ead)for(const _0x18a6df of _0x2820ff[_0xe99e79(0x102)])_0x53fb59[_0xe99e79(0x15a)](_0x18a6df['id'],{..._0x18a6df,'groupId':_0x2820ff[_0xe99e79(0xb7)],'groupLabel':_0x2820ff[_0xe99e79(0x14b)]||_0x2820ff[_0xe99e79(0xb7)]});return _0x53fb59;}[_0x58e85d(0x156)](_0x23c011){const _0x117609=_0x58e85d,_0x3c00cb=this[_0x117609(0xbe)],_0xd35dfa=_0x3c00cb[_0x117609(0x102)][_0x117609(0xdb)](_0x117609(0xb0)),_0x74098c=new _0x23c011(_0x3c00cb[_0x117609(0xc3)]);return _0x74098c[_0x117609(0x15a)]({'label':_0x27f325(_0x3c00cb[_0x117609(0xc3)],_0x117609(0x134)),'icon':_0x1493b4[_0x117609(0xe1)],'isToggleable':!0x0}),_0x74098c[_0x117609(0xc4)](_0x117609(0x115))['to'](_0xd35dfa),_0x74098c[_0x117609(0xc4)](_0x117609(0xe7))['to'](this[_0x117609(0x137)],'id',_0xca95b8=>_0x117609(0x154)===_0xca95b8),this[_0x117609(0x13d)](_0x74098c,_0x117609(0x103),()=>{const _0x138136=_0x117609;_0x74098c[_0x138136(0xe7)]?this[_0x138136(0x151)]():_0xd35dfa[_0x138136(0x103)]();}),_0x74098c;}[_0x58e85d(0x14d)](){const _0x23d2c0=_0x58e85d,_0x5c4f11=this[_0x23d2c0(0xbe)][_0x23d2c0(0x12a)][_0x23d2c0(0xdb)](_0x46f452);this[_0x23d2c0(0xd6)]=new _0x278465(this[_0x23d2c0(0xbe)][_0x23d2c0(0xc3)],this[_0x23d2c0(0x12f)],this[_0x23d2c0(0xbe)][_0x23d2c0(0x12d)][_0x23d2c0(0xdb)](_0x23d2c0(0xb8))),this[_0x23d2c0(0xd6)]['on'](_0x23d2c0(0xcf),()=>{const _0x1a3540=_0x23d2c0;this[_0x1a3540(0x137)][_0x1a3540(0x11d)][_0x1a3540(0x145)]||this[_0x1a3540(0x137)][_0x1a3540(0x11d)][_0x1a3540(0x135)]();}),this[_0x23d2c0(0xd6)][_0x23d2c0(0x149)][_0x23d2c0(0x14e)][_0x23d2c0(0x157)]['on'](_0x23d2c0(0x13c),()=>{const _0x3fca7e=_0x23d2c0;this[_0x3fca7e(0x137)][_0x3fca7e(0x11d)][_0x3fca7e(0x145)]||this[_0x3fca7e(0x137)][_0x3fca7e(0x11d)][_0x3fca7e(0x135)]();}),this[_0x23d2c0(0x13d)](this[_0x23d2c0(0xd6)],_0x23d2c0(0xe4),()=>{const _0x1500ab=_0x23d2c0;_0x5c4f11[_0x1500ab(0x130)](this[_0x1500ab(0xb9)][_0x1500ab(0x122)]),this[_0x1500ab(0x151)]();}),this[_0x23d2c0(0x13d)](this[_0x23d2c0(0xd6)],_0x23d2c0(0x10f),()=>{const _0x57f5e3=_0x23d2c0;_0x5c4f11[_0x57f5e3(0x10f)](this[_0x57f5e3(0xb9)][_0x57f5e3(0x122)]),this[_0x57f5e3(0x151)]();}),this[_0x23d2c0(0x13f)]();}[_0x58e85d(0x13f)](){const _0x263787=_0x58e85d,{locale:_0x1c916e,ui:{ariaLiveAnnouncer:_0x402ba6}}=this[_0x263787(0xbe)];this[_0x263787(0xd6)][_0x263787(0x127)]['on'](_0x263787(0xf6),(_0x824677,_0x395072,_0x4b28b2)=>{const _0x230d7c=_0x263787,_0x24d6da=this[_0x230d7c(0xb9)][_0x230d7c(0x122)];_0x4b28b2?_0x402ba6[_0x230d7c(0x11a)](_0x27f325(_0x1c916e,_0x230d7c(0x12c))):_0x24d6da&&_0x402ba6[_0x230d7c(0x11a)](_0x27f325(_0x1c916e,_0x230d7c(0xcd),_0x24d6da),{'politeness':_0x230d7c(0xe6),'isUnsafeHTML':!0x0});}),this[_0x263787(0xd6)]['on'](_0x263787(0x158),(_0xc4c1c7,_0x427243,_0x3b11b0)=>{const _0x27a8eb=_0x263787;if(_0x3b11b0){const _0x534018=this[_0x27a8eb(0xd6)][_0x27a8eb(0xf3)][_0x27a8eb(0x12e)];_0x402ba6[_0x27a8eb(0x11a)](_0x27f325(_0x1c916e,_0x27a8eb(0xb6),_0x534018));}});}[_0x58e85d(0xb3)](_0x1da463){const _0x240f05=_0x58e85d,_0x1aac7b=this[_0x240f05(0x109)][_0x240f05(0xdb)](_0x1da463),_0x50f9f4=this[_0x240f05(0xbe)],_0xcddcaf=_0x50f9f4[_0x240f05(0xf1)][_0x240f05(0x143)][_0x240f05(0x141)],_0x24a7f7=_0x50f9f4[_0x240f05(0x102)][_0x240f05(0xdb)](_0x240f05(0xb0)),_0x1f60db=_0x50f9f4[_0x240f05(0x12a)][_0x240f05(0xdb)](_0x46f452),_0x5b2dbf=''+(_0x1aac7b[_0x240f05(0xb7)]!==_0x4b56ea?_0x1aac7b[_0x240f05(0x14b)]+':\x20':'')+_0x1aac7b[_0x240f05(0x104)];if(!0x1!==_0x1aac7b[_0x240f05(0xc8)]&&_0xcddcaf[_0x240f05(0xee)]){const _0x44eaf2=_0xbcb9e0(_0xcddcaf[_0x240f05(0x14a)]())||_0x50f9f4[_0x240f05(0xf1)][_0x240f05(0x105)][_0x240f05(0xd3)](_0xcddcaf);_0x50f9f4[_0x240f05(0xf1)][_0x240f05(0xbc)](_0x12c6d6=>{const _0x56e9c6=_0x240f05;_0x12c6d6[_0x56e9c6(0x112)](_0x44eaf2,'in');});}_0x1f60db[_0x240f05(0xce)](),_0x24a7f7[_0x240f05(0x103)](_0x1aac7b[_0x240f05(0x101)],_0x5b2dbf,_0x240f05(0xbb)+_0x1da463);}[_0x58e85d(0x111)](_0x4be3f8,_0x2e9b0f,_0x19934a,_0x3a3ccb){const _0x5a9a34=_0x58e85d,_0x4c1050=this[_0x5a9a34(0xbe)],_0x48d56e=_0x4c1050[_0x5a9a34(0xc3)],_0x4068fc=new _0x4459dd(_0x48d56e),_0x355b3f=U(_0x4c1050,_0x19934a)[_0x5a9a34(0x123)](_0x323915=>_0x323915[_0x5a9a34(0x102)][_0x5a9a34(0x14c)]);0x1===_0x355b3f[_0x5a9a34(0x14c)]?this[_0x5a9a34(0x132)]({'command':_0x4be3f8,'commands':_0x355b3f[0x0][_0x5a9a34(0x102)],'parentMenuView':_0x2e9b0f,'onExecute':_0x3a3ccb})[_0x5a9a34(0x121)](_0x325605=>_0x4068fc[_0x5a9a34(0xdc)][_0x5a9a34(0xec)](_0x325605)):_0x355b3f[_0x5a9a34(0x121)](({groupId:_0xff5984,groupLabel:_0x1f3cc1,commands:_0x2ba30a})=>{const _0x56fb73=_0x5a9a34,_0x4d26fb=new _0x17ebf4(_0x48d56e,_0x2e9b0f),_0x392963=new _0xaf0fe9(_0x48d56e),_0x3d4f8f=new _0x4459dd(_0x48d56e),_0x50c58b=this[_0x56fb73(0x132)]({'command':_0x4be3f8,'commands':_0x2ba30a,'parentMenuView':_0x392963,'onExecute':_0x3a3ccb});_0x392963[_0x56fb73(0xd8)][_0x56fb73(0x15a)]({'label':_0x1f3cc1||_0xff5984}),_0x392963[_0x56fb73(0x152)](_0x56fb73(0x103))['to'](_0x2e9b0f),_0x3d4f8f[_0x56fb73(0xdc)][_0x56fb73(0x139)](_0x50c58b),_0x392963[_0x56fb73(0x110)][_0x56fb73(0xed)][_0x56fb73(0xec)](_0x3d4f8f),_0x4d26fb[_0x56fb73(0xed)][_0x56fb73(0xec)](_0x392963),_0x4068fc[_0x56fb73(0xdc)][_0x56fb73(0xec)](_0x4d26fb);}),_0x2e9b0f[_0x5a9a34(0x110)][_0x5a9a34(0xed)][_0x5a9a34(0xec)](_0x4068fc);}[_0x58e85d(0x132)]({command:_0x17dd69,commands:_0x10ed72,parentMenuView:_0x2b29b5,onExecute:_0x4ed3b5}){const _0x18298c=_0x58e85d,_0x28da8f=this[_0x18298c(0xbe)],_0x18f110=_0x28da8f[_0x18298c(0xc3)];return U(_0x28da8f,_0x10ed72)[_0x18298c(0xba)](_0x4741be=>{const _0xbc0829=_0x18298c,_0x20dcf1=new _0x17ebf4(_0x18f110,_0x2b29b5),_0x2ec8bc=new _0xf6fe1b(_0x18f110);return _0x2ec8bc[_0xbc0829(0x15a)]({'label':_0x4741be[_0xbc0829(0x104)]}),_0x2ec8bc[_0xbc0829(0x152)](_0xbc0829(0x103))['to'](_0x2b29b5),_0x2ec8bc['on'](_0xbc0829(0x103),()=>_0x4ed3b5(_0x4741be['id'])),_0x2ec8bc[_0xbc0829(0xc4)](_0xbc0829(0x115))['to'](_0x17dd69,_0xbc0829(0xd1),_0x237738=>_0x237738[_0xbc0829(0xe3)](_0x4741be['id'])),_0x20dcf1[_0xbc0829(0xed)][_0xbc0829(0xec)](_0x2ec8bc),_0x20dcf1;});}}function B(_0x10c61d,_0x50bd21){const _0x533887=_0x58e85d;return void 0x0!==_0x10c61d[_0x533887(0xd2)]&&void 0x0===_0x50bd21[_0x533887(0xd2)]?0x1:void 0x0===_0x10c61d[_0x533887(0xd2)]&&void 0x0!==_0x50bd21[_0x533887(0xd2)]?-0x1:void 0x0!==_0x10c61d[_0x533887(0xd2)]&&void 0x0!==_0x50bd21[_0x533887(0xd2)]?_0x10c61d[_0x533887(0xd2)]-_0x50bd21[_0x533887(0xd2)]:0x0;}function U(_0x5727e6,_0x42c689){const _0x4e2c96=_0x58e85d;_0x42c689[_0x4e2c96(0x146)](B);const _0xb086c2={},_0xeaaf3d=[];for(const _0x379682 of _0x42c689)if(void 0x0!==_0x379682[_0x4e2c96(0xd2)]){if(_0x379682[_0x4e2c96(0xd2)]in _0xb086c2)throw new _0x2937bf(_0x4e2c96(0xdd),_0x5727e6,{'conflictingDefinitions':[_0x379682,_0xb086c2[_0x379682[_0x4e2c96(0xd2)]]]});_0xb086c2[_0x379682[_0x4e2c96(0xd2)]]=_0x379682,_0xeaaf3d[_0x4e2c96(0xbd)](_0x379682[_0x4e2c96(0xd2)],0x0,_0x379682);}else _0xeaaf3d[_0x4e2c96(0xfe)](_0x379682);return _0xeaaf3d;}
|
|
23
|
+
const _0x386d42=_0x504d;(function(_0x3a4b60,_0x327e70){const _0x24c662=_0x504d,_0x5bea2a=_0x3a4b60();while(!![]){try{const _0x1fb626=-parseInt(_0x24c662(0x10c))/0x1+parseInt(_0x24c662(0x17e))/0x2*(-parseInt(_0x24c662(0x174))/0x3)+parseInt(_0x24c662(0x195))/0x4+-parseInt(_0x24c662(0x11d))/0x5*(parseInt(_0x24c662(0x175))/0x6)+-parseInt(_0x24c662(0x12b))/0x7+-parseInt(_0x24c662(0x11c))/0x8*(-parseInt(_0x24c662(0x14d))/0x9)+parseInt(_0x24c662(0x119))/0xa;if(_0x1fb626===_0x327e70)break;else _0x5bea2a['push'](_0x5bea2a['shift']());}catch(_0x4fd68a){_0x5bea2a['push'](_0x5bea2a['shift']());}}}(_0x2b1b,0x1a9c7));import{Plugin as _0xb04aa5}from'ckeditor5/src/core.js';import{first as _0x2218ee,CKEditorError as _0x1c4c39}from'ckeditor5/src/utils.js';import{createDropdown as _0x53a084,addMenuToDropdown as _0x3b72fc,ButtonView as _0x5d6163,MenuBarMenuListItemButtonView as _0x30e837,Dialog as _0x8a1bd4,DialogViewPosition as _0x572939,MenuBarMenuView as _0x55167a,MenuBarMenuListView as _0x3cfa8d,MenuBarMenuListItemView as _0x5ee673}from'ckeditor5/src/ui.js';import{icons as _0x4b954}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x504d(_0x4e4a1e,_0x200503){const _0x2b1b4b=_0x2b1b();return _0x504d=function(_0x504dc0,_0x1d8bc0){_0x504dc0=_0x504dc0-0xed;let _0x3b4e61=_0x2b1b4b[_0x504dc0];return _0x3b4e61;},_0x504d(_0x4e4a1e,_0x200503);}import{normalizeCommandsConfig as _0x13c7c4,UNGROUPED_COMMANDS_GROUP_ID as _0x3eb963}from'./utils/normalizecommandsconfig.js';import _0xdc5da6 from'./aiassistantediting.js';import _0xc2b98 from'./adapters/aiadapter.js';import{getTranslation as _0x36f757}from'./utils/common-translations.js';import _0x2f2ab4 from'./ui/showaiassistantcommand.js';function _0x2b1b(){const _0x72487=['from','aiLicenseKeyUsageLimit','componentFactory','replace','requires','fieldView','label','trialLimit','_aiAssistantController','aiAssistant','aiCommands','addMany','once','change:value','get','showFakeVisualSelection','isOfficialPlugin','insertContent','invalid','init','rawHtml','insertContentBelow','AI\x20Assistant','aiLicenseKeyValid','Generated\x20content:\x20%0','tableOfContents','menuView','setSelection','command:','9tPMUJb','execute','_dialog','queryView','update','INSERT','selection','licenseKey','commands','change','AIAssistant','robotPencil','buttonView','requiresContent','_initAriaAiStatusChangeAnnouncements','source','enabledCommandsIds','length','hide','_showLicenseError','usageLimit','_onExecute','getLimitElement','order','editing','copy','push','schema','focus','_initView','custom','text/html','updatePosition','values','filter','ai.aiAssistant.contentAreaCssClass','_aiAdapter','_licenseKeyCheckInterval','buttons','36kmlRCW','54gaeGhN','listenTo','updateView','reset','featureNotAllowed','destroy','DataTransfer','domainLimit','_getMenuBarGroupButtons','24198iexPYT','menuPanelClass','textAdapter','getSelectedBlocks','delegate','items','children','AIAssistantUI','evaluationLimit','ck-ai-assistant-ui','bind','groupId','getData','menuBar:aiAssistant','polite','announce','aiLicenseKeyInvalid','ai.useTheme','AI\x20Commands','comment','show','forEach','ai.aiAssistant.commands','434060VmBDww','aiLicenseKeyNotAllowed','ck-ai-assistant-button\x20','aiLicenseKeyDomainLimit','ai.aiAssistant.disabledElements','isCollapsed','config','menuBar:aiCommands','ck-ai-commands-dropdown\x20','text','fire','map','define','prompt','isOn','body','aiLicenseKeyTrialLimit','hideFakeVisualSelection','document','change:isProcessing','wasMoved','editor','add','menuitemcheckbox','panelView','getRanges','EDITOR_TOP_SIDE','_createAIAssistantUIButton','set','Error\x20during\x20AI\x20content\x20generation:\x20%0','splice','model','</p>','isEnabled','replaceContent','currentContext','change:isError','<p>','errorView','promptView','48491XfJNKN','showAIAssistant','plugins','includes','media','_commandDefinitions','isPremiumPlugin','sort','_uiCssClasses','view','trim','_getResolvedCommandsDefinitions','render','5302100kbvlAV','_forceMarkersCopy','aiLicenseKeyEvaluationLimit','172728fABiqC','81440xjjGwk','ai-commands-config-order-collision','showUI','isFlat','expired','contentArea','locale','AI\x20is\x20writing','aiLicenseKeyExpired','hideUI','change:enabledCommandsIds','REPLACE','_populateMenuBarMenu','pluginName','1477322rmlXZr','getSelectedElement','_formView','groupLabel','\x20ck-ai-assistant-ui_theme'];_0x2b1b=function(){return _0x72487;};return _0x2b1b();}import _0x32c8c3 from'./ui/aiassistantcontroller.js';import _0x533073 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x58eab8}from'./ui/form/aiformtoolbarview.js';import _0x597090 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x386d42(0x17b)];import{ClipboardMarkersUtils as _0x51cb20}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x25eb20,DataTransfer as _0xd9636e}from'ckeditor5/src/engine.js';export default class n extends _0xb04aa5{static get[_0x386d42(0x12a)](){const _0x3253a8=_0x386d42;return _0x3253a8(0x185);}static get[_0x386d42(0x140)](){return!0x0;}static get[_0x386d42(0x112)](){return!0x0;}static get[_0x386d42(0x134)](){return[_0x51cb20,_0xdc5da6,_0xc2b98,_0x8a1bd4];}constructor(_0x1befd7){const _0x4f82a2=_0x386d42;super(_0x1befd7),this[_0x4f82a2(0x114)]='',_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0xf0)](_0x4f82a2(0x199),[_0x4f82a2(0x110),_0x4f82a2(0x144),_0x4f82a2(0x149)]),_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0xf0)](_0x4f82a2(0x170),''),_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0xf0)](_0x4f82a2(0x18f),!0x0),this[_0x4f82a2(0x114)]=_0x4f82a2(0x187)+(_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0x13e)](_0x4f82a2(0x18f))?_0x4f82a2(0x12f):'');}[_0x386d42(0x143)](){const _0x32c2e8=_0x386d42,{editor:_0x293514}=this;this[_0x32c2e8(0x171)]=_0x293514[_0x32c2e8(0x10e)][_0x32c2e8(0x13e)](_0xc2b98),this[_0x32c2e8(0x14f)]=_0x293514[_0x32c2e8(0x10e)][_0x32c2e8(0x13e)](_0x8a1bd4),this[_0x32c2e8(0x12d)]=null,this[_0x32c2e8(0x111)]=this[_0x32c2e8(0x117)]();const _0x4a48ae=new _0x2f2ab4(_0x293514,Array[_0x32c2e8(0x130)](this[_0x32c2e8(0x111)][_0x32c2e8(0x16e)]()));_0x293514[_0x32c2e8(0x155)][_0x32c2e8(0xfa)](_0x32c2e8(0x10d),_0x4a48ae),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x13a),_0x163117=>{const _0x4a3cd6=_0x32c2e8,_0x171d52=_0x53a084(_0x163117);return _0x171d52[_0x4a3cd6(0x100)]({'class':_0x4a3cd6(0x19d)+this[_0x4a3cd6(0x114)]}),_0x171d52[_0x4a3cd6(0x159)][_0x4a3cd6(0x100)]({'label':_0x36f757(_0x163117,_0x4a3cd6(0x190)),'icon':_0x597090,'tooltip':!0x0}),_0x171d52['on'](_0x4a3cd6(0x14e),_0x307de1=>this[_0x4a3cd6(0x162)](_0x307de1[_0x4a3cd6(0x15c)]['id'])),_0x3b72fc(_0x171d52,_0x293514['ui'][_0x4a3cd6(0x115)][_0x4a3cd6(0xf3)],function(_0x4ae3a5){const _0x218802=_0x4a3cd6,_0x39eb26=_0x13c7c4(_0x4ae3a5[_0x218802(0x19b)][_0x218802(0x13e)](_0x218802(0x194)),_0x4ae3a5[_0x218802(0x123)]),_0x5d91af=U(_0x4ae3a5,_0x39eb26)[_0x218802(0x16f)](_0x517e45=>_0x517e45[_0x218802(0x155)][_0x218802(0x15e)]);if(0x1===_0x5d91af[_0x218802(0x15e)])return U(_0x4ae3a5,_0x5d91af[0x0][_0x218802(0x155)])[_0x218802(0xef)](_0x3b083b=>({'id':_0x3b083b['id'],'label':_0x3b083b[_0x218802(0x136)]}));return _0x5d91af[_0x218802(0xef)](_0xe22888=>{const _0x59684d=_0x218802,{groupId:_0x1b749d,groupLabel:_0x5503f1,commands:_0x10c196}=_0xe22888,_0x2476b3=U(_0x4ae3a5,_0x10c196)[_0x59684d(0xef)](_0x5186b6=>({'id':_0x5186b6['id'],'label':_0x5186b6[_0x59684d(0x136)]}));return{'id':_0x1b749d,'menu':_0x5503f1||_0x1b749d,'children':_0x2476b3};});}(_0x293514),{'ariaLabel':_0x36f757(_0x163117,_0x4a3cd6(0x190))}),_0x171d52[_0x4a3cd6(0x14a)][_0x4a3cd6(0x17f)]=_0x4a3cd6(0x19d)+this[_0x4a3cd6(0x114)],_0x4a48ae['on'](_0x4a3cd6(0x127),_0x28b48b),_0x171d52[_0x4a3cd6(0x14a)][_0x4a3cd6(0x13c)](_0x4a3cd6(0x118),_0x28b48b),_0x171d52;function _0x28b48b(){const _0x51600c=_0x4a3cd6;_0x171d52[_0x51600c(0x105)]=_0x4a48ae[_0x51600c(0x15d)][_0x51600c(0x15e)]>0x0;for(const _0x19f3bc of _0x171d52[_0x51600c(0x14a)][_0x51600c(0x173)])_0x19f3bc[_0x51600c(0x105)]=_0x4a48ae[_0x51600c(0x15d)][_0x51600c(0x10f)](_0x19f3bc['id']);}}),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x19c),_0x565b7a=>{const _0x4de7ad=_0x32c2e8,_0x3685aa=new _0x55167a(_0x565b7a);_0x3685aa[_0x4de7ad(0x159)][_0x4de7ad(0x100)]({'label':_0x36f757(_0x565b7a,_0x4de7ad(0x190)),'icon':_0x597090}),_0x3685aa[_0x4de7ad(0x188)](_0x4de7ad(0x105))['to'](_0x4a48ae,_0x4de7ad(0x15d),_0x2a3642=>_0x2a3642[_0x4de7ad(0x15e)]>0x0);const _0x3844dd=_0x13c7c4(_0x293514[_0x4de7ad(0x19b)][_0x4de7ad(0x13e)](_0x4de7ad(0x194)),_0x565b7a);return this[_0x4de7ad(0x129)](_0x4a48ae,_0x3685aa,_0x3844dd,_0x59ad7f=>this[_0x4de7ad(0x162)](_0x59ad7f)),_0x3685aa;}),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x139),()=>{const _0x380a18=_0x32c2e8,_0x5a7bfc=this[_0x380a18(0xff)](_0x5d6163);return _0x5a7bfc[_0x380a18(0x100)]({'tooltip':!0x0,'class':_0x380a18(0x197)+this[_0x380a18(0x114)]}),_0x5a7bfc;}),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x18b),()=>{const _0x182a1c=_0x32c2e8,_0x5c601c=this[_0x182a1c(0xff)](_0x30e837);return _0x5c601c[_0x182a1c(0x100)]({'role':_0x182a1c(0xfb)}),_0x5c601c;}),this[_0x32c2e8(0x154)]=this[_0x32c2e8(0xf9)][_0x32c2e8(0x19b)][_0x32c2e8(0x13e)](_0x32c2e8(0x154));const _0x1ed194=this[_0x32c2e8(0xf9)];this[_0x32c2e8(0x172)]=setInterval(()=>{const _0x39926d=_0x32c2e8;let _0x359a7b;for(const _0x39c2d8 in _0x1ed194){const _0x2fc628=_0x39c2d8,_0x49a7a9=_0x1ed194[_0x2fc628];if(_0x39926d(0x147)==_0x49a7a9||_0x39926d(0x18e)==_0x49a7a9||_0x39926d(0x125)==_0x49a7a9||_0x39926d(0x198)==_0x49a7a9||_0x39926d(0x196)==_0x49a7a9||_0x39926d(0x11b)==_0x49a7a9||_0x39926d(0xf4)==_0x49a7a9||_0x39926d(0x131)==_0x49a7a9){delete _0x1ed194[_0x2fc628],_0x359a7b=_0x49a7a9,clearInterval(this[_0x39926d(0x172)]),this[_0x39926d(0x172)]=void 0x0;break;}}_0x39926d(0x18e)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x142)),_0x39926d(0x125)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x121)),_0x39926d(0x198)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x17c)),_0x39926d(0x196)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x179),_0x39926d(0x157)),_0x39926d(0x11b)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x186)),_0x39926d(0xf4)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x137)),_0x39926d(0x131)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x161));},0x3e8);}[_0x386d42(0x17a)](){const _0x33267a=_0x386d42;super[_0x33267a(0x17a)](),this[_0x33267a(0x172)]&&clearInterval(this[_0x33267a(0x172)]);}[_0x386d42(0x11f)](_0x13c3c2='',_0x3a33a4='',_0x328072=_0x386d42(0x16b)){const _0x45c4fe=_0x386d42,_0x316773=this[_0x45c4fe(0xf9)],_0xe1d057=_0x316773[_0x45c4fe(0x165)][_0x45c4fe(0x115)],_0x1d66d3=_0x316773[_0x45c4fe(0x10e)][_0x45c4fe(0x13e)](_0xdc5da6),_0x3db6fc=_0x316773[_0x45c4fe(0x10e)][_0x45c4fe(0x13e)](_0x51cb20);_0x1d66d3[_0x45c4fe(0x13f)]();const _0x3991cc=new w(),_0x4d8171=new ClipboardEvent(_0x45c4fe(0x166),{'clipboardData':_0x3991cc}),_0x51a3a6=new _0xd9636e(_0x3991cc),_0x26cac9=new _0x25eb20(_0xe1d057,_0x4d8171,{'dataTransfer':_0x51a3a6});_0x3db6fc[_0x45c4fe(0x11a)](_0x45c4fe(0x191),()=>{const _0x141edc=_0x45c4fe;_0xe1d057[_0x141edc(0xf6)][_0x141edc(0xee)](_0x141edc(0x166),_0x26cac9);}),this[_0x45c4fe(0x12d)]||(this[_0x45c4fe(0x16a)](),this[_0x45c4fe(0x138)]=new _0x32c8c3(_0x316773,this[_0x45c4fe(0x171)][_0x45c4fe(0x180)],this[_0x45c4fe(0x12d)]));let _0x1c2ba9=_0x51a3a6[_0x45c4fe(0x18a)](_0x45c4fe(0x16c));const _0x207213=_0x316773[_0x45c4fe(0x103)][_0x45c4fe(0xf6)][_0x45c4fe(0x153)],_0x1e74aa=Array[_0x45c4fe(0x130)](_0x207213[_0x45c4fe(0xfd)]());0x1===_0x1e74aa[_0x45c4fe(0x15e)]&&_0x1e74aa[0x0][_0x45c4fe(0x120)]&&!_0x207213[_0x45c4fe(0x12c)]()&&''!==_0x1c2ba9[_0x45c4fe(0x133)](/ /g,'')[_0x45c4fe(0x116)]()&&(_0x1c2ba9=_0x45c4fe(0x109)+_0x1c2ba9+_0x45c4fe(0x104)),this[_0x45c4fe(0x138)][_0x45c4fe(0x177)]({'actionId':_0x328072,'query':_0x13c3c2,'htmlContent':_0x1c2ba9,'label':_0x3a33a4,'mainActionLabel':_0x58eab8[_0x316773[_0x45c4fe(0x103)][_0x45c4fe(0xf6)][_0x45c4fe(0x153)][_0x45c4fe(0x19a)]?_0x45c4fe(0x152):_0x45c4fe(0x128)]}),_0x45c4fe(0x139)!==this[_0x45c4fe(0x14f)]['id']?this[_0x45c4fe(0x14f)][_0x45c4fe(0x192)]({'id':_0x45c4fe(0x139),'icon':_0x4b954[_0x45c4fe(0x158)],'title':_0x36f757(this[_0x45c4fe(0xf9)][_0x45c4fe(0x123)],_0x45c4fe(0x146)),'content':this[_0x45c4fe(0x12d)],'position':_0x572939[_0x45c4fe(0xfe)],'onShow':()=>{const _0x28672a=_0x45c4fe;this[_0x28672a(0x12d)][_0x28672a(0x169)]();},'onHide':()=>{const _0x1404ca=_0x45c4fe;this[_0x1404ca(0x138)][_0x1404ca(0x178)](),_0x1d66d3[_0x1404ca(0xf5)]();}}):this[_0x45c4fe(0x14f)][_0x45c4fe(0x115)][_0x45c4fe(0xf8)]||this[_0x45c4fe(0x14f)][_0x45c4fe(0x115)][_0x45c4fe(0x16d)]();}[_0x386d42(0x126)](){const _0x54ce5d=_0x386d42;this[_0x54ce5d(0x14f)][_0x54ce5d(0x15f)]();}[_0x386d42(0x117)](){const _0x4105ae=_0x386d42,_0x51b52e=new Map(),_0x281638=_0x13c7c4(this[_0x4105ae(0xf9)][_0x4105ae(0x19b)][_0x4105ae(0x13e)](_0x4105ae(0x194)),this[_0x4105ae(0xf9)][_0x4105ae(0x123)]);for(const _0x2833e5 of _0x281638)for(const _0x471d73 of _0x2833e5[_0x4105ae(0x155)])_0x51b52e[_0x4105ae(0x100)](_0x471d73['id'],{..._0x471d73,'groupId':_0x2833e5[_0x4105ae(0x189)],'groupLabel':_0x2833e5[_0x4105ae(0x12e)]||_0x2833e5[_0x4105ae(0x189)]});return _0x51b52e;}[_0x386d42(0xff)](_0x1512c3){const _0x20c315=_0x386d42,_0xeec18f=this[_0x20c315(0xf9)],_0x3bbd9b=_0xeec18f[_0x20c315(0x155)][_0x20c315(0x13e)](_0x20c315(0x10d)),_0x476e09=new _0x1512c3(_0xeec18f[_0x20c315(0x123)]);return _0x476e09[_0x20c315(0x100)]({'label':_0x36f757(_0xeec18f[_0x20c315(0x123)],_0x20c315(0x146)),'icon':_0x4b954[_0x20c315(0x158)],'isToggleable':!0x0}),_0x476e09[_0x20c315(0x188)](_0x20c315(0x105))['to'](_0x3bbd9b),_0x476e09[_0x20c315(0x188)](_0x20c315(0xf2))['to'](this[_0x20c315(0x14f)],'id',_0x2fc97e=>_0x20c315(0x139)===_0x2fc97e),this[_0x20c315(0x176)](_0x476e09,_0x20c315(0x14e),()=>{const _0x5f32ad=_0x20c315;_0x476e09[_0x5f32ad(0xf2)]?this[_0x5f32ad(0x126)]():_0x3bbd9b[_0x5f32ad(0x14e)]();}),_0x476e09;}[_0x386d42(0x16a)](){const _0x4d9519=_0x386d42,_0x377b80=this[_0x4d9519(0xf9)][_0x4d9519(0x10e)][_0x4d9519(0x13e)](_0xdc5da6);this[_0x4d9519(0x12d)]=new _0x533073(this[_0x4d9519(0xf9)][_0x4d9519(0x123)],this[_0x4d9519(0x114)],this[_0x4d9519(0xf9)][_0x4d9519(0x19b)][_0x4d9519(0x13e)](_0x4d9519(0x170))),this[_0x4d9519(0x12d)]['on'](_0x4d9519(0x13d),()=>{const _0x4567b6=_0x4d9519;this[_0x4567b6(0x14f)][_0x4567b6(0x115)][_0x4567b6(0xf8)]||this[_0x4567b6(0x14f)][_0x4567b6(0x115)][_0x4567b6(0x16d)]();}),this[_0x4d9519(0x12d)][_0x4d9519(0x10b)][_0x4d9519(0x150)][_0x4d9519(0x135)]['on'](_0x4d9519(0x151),()=>{const _0x3dca71=_0x4d9519;this[_0x3dca71(0x14f)][_0x3dca71(0x115)][_0x3dca71(0xf8)]||this[_0x3dca71(0x14f)][_0x3dca71(0x115)][_0x3dca71(0x16d)]();}),this[_0x4d9519(0x176)](this[_0x4d9519(0x12d)],_0x4d9519(0x106),()=>{const _0x5c3fe7=_0x4d9519;_0x377b80[_0x5c3fe7(0x141)](this[_0x5c3fe7(0x138)][_0x5c3fe7(0x107)]),this[_0x5c3fe7(0x126)]();}),this[_0x4d9519(0x176)](this[_0x4d9519(0x12d)],_0x4d9519(0x145),()=>{const _0x177694=_0x4d9519;_0x377b80[_0x177694(0x145)](this[_0x177694(0x138)][_0x177694(0x107)]),this[_0x177694(0x126)]();}),this[_0x4d9519(0x15b)]();}[_0x386d42(0x15b)](){const _0x1d0d4b=_0x386d42,{locale:_0x277d82,ui:{ariaLiveAnnouncer:_0x34028b}}=this[_0x1d0d4b(0xf9)];this[_0x1d0d4b(0x12d)][_0x1d0d4b(0x122)]['on'](_0x1d0d4b(0xf7),(_0x1a3dc0,_0x21cc12,_0x3aacb8)=>{const _0x2c74fe=_0x1d0d4b,_0x2e49be=this[_0x2c74fe(0x138)][_0x2c74fe(0x107)];_0x3aacb8?_0x34028b[_0x2c74fe(0x18d)](_0x36f757(_0x277d82,_0x2c74fe(0x124))):_0x2e49be&&_0x34028b[_0x2c74fe(0x18d)](_0x36f757(_0x277d82,_0x2c74fe(0x148),_0x2e49be),{'politeness':_0x2c74fe(0x18c),'isUnsafeHTML':!0x0});}),this[_0x1d0d4b(0x12d)]['on'](_0x1d0d4b(0x108),(_0x55cc65,_0x1bc3af,_0x1c1748)=>{const _0x16b339=_0x1d0d4b;if(_0x1c1748){const _0x1701a6=this[_0x16b339(0x12d)][_0x16b339(0x10a)][_0x16b339(0xed)];_0x34028b[_0x16b339(0x18d)](_0x36f757(_0x277d82,_0x16b339(0x101),_0x1701a6));}});}[_0x386d42(0x162)](_0x199c9c){const _0x1d586f=_0x386d42,_0x211e1=this[_0x1d586f(0x111)][_0x1d586f(0x13e)](_0x199c9c),_0x308f9d=this[_0x1d586f(0xf9)],_0x382ef5=_0x308f9d[_0x1d586f(0x103)][_0x1d586f(0xf6)][_0x1d586f(0x153)],_0x13e29a=_0x308f9d[_0x1d586f(0x155)][_0x1d586f(0x13e)](_0x1d586f(0x10d)),_0x39aa30=_0x308f9d[_0x1d586f(0x10e)][_0x1d586f(0x13e)](_0xdc5da6),_0x1f69fe=''+(_0x211e1[_0x1d586f(0x189)]!==_0x3eb963?_0x211e1[_0x1d586f(0x12e)]+':\x20':'')+_0x211e1[_0x1d586f(0x136)];if(!0x1!==_0x211e1[_0x1d586f(0x15a)]&&_0x382ef5[_0x1d586f(0x19a)]){const _0x5b613e=_0x2218ee(_0x382ef5[_0x1d586f(0x181)]())||_0x308f9d[_0x1d586f(0x103)][_0x1d586f(0x168)][_0x1d586f(0x163)](_0x382ef5);_0x308f9d[_0x1d586f(0x103)][_0x1d586f(0x156)](_0x23faa1=>{const _0x50ceed=_0x1d586f;_0x23faa1[_0x50ceed(0x14b)](_0x5b613e,'in');});}_0x39aa30[_0x1d586f(0x13f)](),_0x13e29a[_0x1d586f(0x14e)](_0x211e1[_0x1d586f(0xf1)],_0x1f69fe,_0x1d586f(0x14c)+_0x199c9c);}[_0x386d42(0x129)](_0x51dc9d,_0x2d99ee,_0x2136bb,_0x4986c2){const _0x47042a=_0x386d42,_0x41b050=this[_0x47042a(0xf9)],_0xe05d3=_0x41b050[_0x47042a(0x123)],_0x2e086f=new _0x3cfa8d(_0xe05d3),_0x4886f5=U(_0x41b050,_0x2136bb)[_0x47042a(0x16f)](_0x2f28de=>_0x2f28de[_0x47042a(0x155)][_0x47042a(0x15e)]);0x1===_0x4886f5[_0x47042a(0x15e)]?this[_0x47042a(0x17d)]({'command':_0x51dc9d,'commands':_0x4886f5[0x0][_0x47042a(0x155)],'parentMenuView':_0x2d99ee,'onExecute':_0x4986c2})[_0x47042a(0x193)](_0x4165ff=>_0x2e086f[_0x47042a(0x183)][_0x47042a(0xfa)](_0x4165ff)):_0x4886f5[_0x47042a(0x193)](({groupId:_0x553922,groupLabel:_0x1f3c88,commands:_0x15a46d})=>{const _0x114d44=_0x47042a,_0x3a2f0f=new _0x5ee673(_0xe05d3,_0x2d99ee),_0x4ffa1c=new _0x55167a(_0xe05d3),_0x5a7ed1=new _0x3cfa8d(_0xe05d3),_0x1ad07b=this[_0x114d44(0x17d)]({'command':_0x51dc9d,'commands':_0x15a46d,'parentMenuView':_0x4ffa1c,'onExecute':_0x4986c2});_0x4ffa1c[_0x114d44(0x159)][_0x114d44(0x100)]({'label':_0x1f3c88||_0x553922}),_0x4ffa1c[_0x114d44(0x182)](_0x114d44(0x14e))['to'](_0x2d99ee),_0x5a7ed1[_0x114d44(0x183)][_0x114d44(0x13b)](_0x1ad07b),_0x4ffa1c[_0x114d44(0xfc)][_0x114d44(0x184)][_0x114d44(0xfa)](_0x5a7ed1),_0x3a2f0f[_0x114d44(0x184)][_0x114d44(0xfa)](_0x4ffa1c),_0x2e086f[_0x114d44(0x183)][_0x114d44(0xfa)](_0x3a2f0f);}),_0x2d99ee[_0x47042a(0xfc)][_0x47042a(0x184)][_0x47042a(0xfa)](_0x2e086f);}[_0x386d42(0x17d)]({command:_0x5d37c4,commands:_0x58236e,parentMenuView:_0x3e2d8,onExecute:_0x1e033f}){const _0x538b18=_0x386d42,_0x47af16=this[_0x538b18(0xf9)],_0x72a85e=_0x47af16[_0x538b18(0x123)];return U(_0x47af16,_0x58236e)[_0x538b18(0xef)](_0x2b8b49=>{const _0x31d7ae=_0x538b18,_0x2ede09=new _0x5ee673(_0x72a85e,_0x3e2d8),_0x238650=new _0x30e837(_0x72a85e);return _0x238650[_0x31d7ae(0x100)]({'label':_0x2b8b49[_0x31d7ae(0x136)]}),_0x238650[_0x31d7ae(0x182)](_0x31d7ae(0x14e))['to'](_0x3e2d8),_0x238650['on'](_0x31d7ae(0x14e),()=>_0x1e033f(_0x2b8b49['id'])),_0x238650[_0x31d7ae(0x188)](_0x31d7ae(0x105))['to'](_0x5d37c4,_0x31d7ae(0x15d),_0x5d6b16=>_0x5d6b16[_0x31d7ae(0x10f)](_0x2b8b49['id'])),_0x2ede09[_0x31d7ae(0x184)][_0x31d7ae(0xfa)](_0x238650),_0x2ede09;});}}function B(_0xbd91df,_0x36973d){const _0x37e9d7=_0x386d42;return void 0x0!==_0xbd91df[_0x37e9d7(0x164)]&&void 0x0===_0x36973d[_0x37e9d7(0x164)]?0x1:void 0x0===_0xbd91df[_0x37e9d7(0x164)]&&void 0x0!==_0x36973d[_0x37e9d7(0x164)]?-0x1:void 0x0!==_0xbd91df[_0x37e9d7(0x164)]&&void 0x0!==_0x36973d[_0x37e9d7(0x164)]?_0xbd91df[_0x37e9d7(0x164)]-_0x36973d[_0x37e9d7(0x164)]:0x0;}function U(_0x1d4249,_0x170cb2){const _0x52c012=_0x386d42;_0x170cb2[_0x52c012(0x113)](B);const _0x161813={},_0x155824=[];for(const _0x2892e0 of _0x170cb2)if(void 0x0!==_0x2892e0[_0x52c012(0x164)]){if(_0x2892e0[_0x52c012(0x164)]in _0x161813)throw new _0x1c4c39(_0x52c012(0x11e),_0x1d4249,{'conflictingDefinitions':[_0x2892e0,_0x161813[_0x2892e0[_0x52c012(0x164)]]]});_0x161813[_0x2892e0[_0x52c012(0x164)]]=_0x2892e0,_0x155824[_0x52c012(0x102)](_0x2892e0[_0x52c012(0x164)],0x0,_0x2892e0);}else _0x155824[_0x52c012(0x167)](_0x2892e0);return _0x155824;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd5f5b4,_0x2ab0b8){var _0x152b8a=_0x2a67,_0x435c77=_0xd5f5b4();while(!![]){try{var _0x33a19e=-parseInt(_0x152b8a(0x6a))/0x1+parseInt(_0x152b8a(0x70))/0x2+-parseInt(_0x152b8a(0x71))/0x3+parseInt(_0x152b8a(0x6d))/0x4+parseInt(_0x152b8a(0x72))/0x5*(-parseInt(_0x152b8a(0x6e))/0x6)+parseInt(_0x152b8a(0x6f))/0x7*(-parseInt(_0x152b8a(0x6c))/0x8)+parseInt(_0x152b8a(0x6b))/0x9;if(_0x33a19e===_0x2ab0b8)break;else _0x435c77['push'](_0x435c77['shift']());}catch(_0x5a9b14){_0x435c77['push'](_0x435c77['shift']());}}}(_0x3113,0xaf239));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x2a67(_0x7fd8ee,_0x1862d9){var _0x311371=_0x3113();return _0x2a67=function(_0x2a678c,_0x439b61){_0x2a678c=_0x2a678c-0x6a;var _0x2136df=_0x311371[_0x2a678c];return _0x2136df;},_0x2a67(_0x7fd8ee,_0x1862d9);}function _0x3113(){var _0xa36496=['1035676cDymDW','1370820DSQmIv','10ObPuUL','949199goCjAw','26986509QbyXXM','64uGYcOq','3045812omUGiP','2657244JgEHcy','1109969BinDcl'];_0x3113=function(){return _0xa36496;};return _0x3113();}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(_0x3d2aa8,_0x4d2682){var _0x1752f8=_0x2a7e,_0x5e01e5=_0x3d2aa8();while(!![]){try{var _0x476c37=parseInt(_0x1752f8(0xe0))/0x1*(parseInt(_0x1752f8(0xe1))/0x2)+-parseInt(_0x1752f8(0xe3))/0x3+-parseInt(_0x1752f8(0xe6))/0x4*(-parseInt(_0x1752f8(0xdd))/0x5)+-parseInt(_0x1752f8(0xe5))/0x6*(-parseInt(_0x1752f8(0xde))/0x7)+-parseInt(_0x1752f8(0xe4))/0x8*(-parseInt(_0x1752f8(0xdf))/0x9)+parseInt(_0x1752f8(0xe2))/0xa+-parseInt(_0x1752f8(0xdc))/0xb;if(_0x476c37===_0x4d2682)break;else _0x5e01e5['push'](_0x5e01e5['shift']());}catch(_0x5684f7){_0x5e01e5['push'](_0x5e01e5['shift']());}}}(_0x220f,0x40c84));function _0x2a7e(_0x1e23c5,_0x362bf5){var _0x220f3b=_0x220f();return _0x2a7e=function(_0x2a7edc,_0x3bd59b){_0x2a7edc=_0x2a7edc-0xdc;var _0x37dd26=_0x220f3b[_0x2a7edc];return _0x37dd26;},_0x2a7e(_0x1e23c5,_0x362bf5);}function _0x220f(){var _0x133c1b=['5143MPcNCs','6mvjAJs','5161170tHMbHs','1081782dQlgVC','53880ERzKAE','553038JhdxvM','4JHKCEq','2806067hFdNsj','1252925ELPFdd','7SSsgdr','9oeKpUd'];_0x220f=function(){return _0x133c1b;};return _0x220f();}import{CKEditorError as _0x22027f}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x24946b=_0x2563;function _0x372e(){const _0x1eb802=['currentResponse','makeRequest','previousLabel','toView','finally','text/html','custom','editing','then','_parseAndNormalizeContent','serializeToString','clear','innerHTML','finishProcessing','reverse','submitPrompt','previousActionId','document','currentContext','render','stringify','textAdapter','tryAgainEvent','trim','6591936JfmwJr','querySelector','_xmlSerializer','updateView','startsWith','body','<h1></h1>','match','toModel','childNodes','editor','domConverter','get','isProcessing','```html','stopListening','mainAction','_handleQuery','previousContext','parseFromString','set:currentContext','message','exec','substring','catch','from','```','viewToDom','endsWith','146yhvshf','name','markers','10055XztJja','processor','handleError','rename','_stripMarkdownSyntax','setContentOf','3946194NNRpiC','ELEMENT_NODE','view','nodeType','7975062nZHruJ','initialContext','10539YAQDbA','destroy','remove','createElement','prompt','4556132Uxlmqc','reset','_domParser','div','element','startProcessing','length','ai.aiAssistant.preserveComments','1544icLiuj','set','_sanitizationContainer','previousQuery','_normalizeResponseHeadings','444151BKJuKP','_sanitizeHTML','htmlProcessor','abort','listenTo','data','once','stopProcessing','_isH1TagSupportEnabled','value','isRendered','push','config'];_0x372e=function(){return _0x1eb802;};return _0x372e();}(function(_0x48d6ec,_0x3fcf8e){const _0x466c5d=_0x2563,_0x4ad842=_0x48d6ec();while(!![]){try{const _0xe6dfcb=-parseInt(_0x466c5d(0x1cd))/0x1+parseInt(_0x466c5d(0x1ac))/0x2*(-parseInt(_0x466c5d(0x1bb))/0x3)+parseInt(_0x466c5d(0x1c8))/0x4*(parseInt(_0x466c5d(0x1af))/0x5)+-parseInt(_0x466c5d(0x1b5))/0x6+-parseInt(_0x466c5d(0x1c0))/0x7+parseInt(_0x466c5d(0x1f2))/0x8+parseInt(_0x466c5d(0x1b9))/0x9;if(_0xe6dfcb===_0x3fcf8e)break;else _0x4ad842['push'](_0x4ad842['shift']());}catch(_0x3bf638){_0x4ad842['push'](_0x4ad842['shift']());}}}(_0x372e,0x747fd));import{ObservableMixin as _0x1d2478}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1ac4d0}from'../adapters/aiadapter.js';import{Matcher as _0x1d7020,UpcastWriter as _0x51c2db}from'ckeditor5/src/engine.js';function _0x2563(_0x4ef8a8,_0x1d7d38){const _0x372ee4=_0x372e();return _0x2563=function(_0x2563e2,_0x26221b){_0x2563e2=_0x2563e2-0x192;let _0x2fec1e=_0x372ee4[_0x2563e2];return _0x2fec1e;},_0x2563(_0x4ef8a8,_0x1d7d38);}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1d2478(){constructor(_0x3b4fed,_0x4b20bc,_0x237455){const _0x56a2d3=_0x2563;super(),this[_0x56a2d3(0x199)]=_0x3b4fed,this[_0x56a2d3(0x1ef)]=_0x4b20bc,this[_0x56a2d3(0x1ca)]=document[_0x56a2d3(0x1be)](_0x56a2d3(0x1c3)),this[_0x56a2d3(0x1c2)]=new DOMParser(),this[_0x56a2d3(0x1f4)]=new XMLSerializer(),this[_0x56a2d3(0x1b7)]=_0x237455,this[_0x56a2d3(0x1c9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x56a2d3(0x1a3),(_0x3e8889,_0x438d83,_0x2ae66b)=>{const _0x310d5e=_0x56a2d3;this[_0x310d5e(0x1b7)][_0x310d5e(0x1d6)]=this[_0x310d5e(0x1ce)](_0x2ae66b);}),this[_0x56a2d3(0x1d1)](this[_0x56a2d3(0x1b7)],_0x56a2d3(0x1e9),(_0x24a3f2,_0xe220da)=>{const _0x4c8748=_0x56a2d3,_0x375237=this[_0x4c8748(0x1ec)]||this[_0x4c8748(0x1ba)];this[_0x4c8748(0x1a0)](_0xe220da,_0x375237,_0x4c8748(0x1e0));}),this[_0x56a2d3(0x1d1)](this[_0x56a2d3(0x1b7)],_0x56a2d3(0x1f0),()=>{const _0x462fa0=_0x56a2d3;this[_0x462fa0(0x1b7)][_0x462fa0(0x1bf)]=this[_0x462fa0(0x1dc)],this[_0x462fa0(0x1a0)](this[_0x462fa0(0x1cb)],this[_0x462fa0(0x1a1)],this[_0x462fa0(0x1ea)],this[_0x462fa0(0x1dc)]);}),this[_0x56a2d3(0x1d1)](this[_0x56a2d3(0x1b7)],_0x56a2d3(0x1d4),()=>{const _0x2eaca6=_0x56a2d3;this[_0x2eaca6(0x1d4)]();});}[_0x24946b(0x1bc)](){const _0xa3f928=_0x24946b;this[_0xa3f928(0x19e)]();}async[_0x24946b(0x192)]({actionId:_0x5cc239,query:_0x44ca7f,htmlContent:_0x48a9d7,label:_0x26e546,mainActionLabel:_0xbff011}){const _0x1181cb=_0x24946b;this[_0x1181cb(0x1b7)][_0x1181cb(0x1bf)]=_0x26e546,this[_0x1181cb(0x1b7)][_0x1181cb(0x19f)]=_0xbff011,this[_0x1181cb(0x1ba)]=_0x48a9d7,_0x44ca7f&&(this[_0x1181cb(0x1b7)][_0x1181cb(0x1d7)]?this[_0x1181cb(0x1a0)](_0x44ca7f,_0x48a9d7,_0x5cc239,_0x26e546):this[_0x1181cb(0x1b7)][_0x1181cb(0x1d3)](_0x1181cb(0x1ed),()=>{const _0x3288db=_0x1181cb;this[_0x3288db(0x1a0)](_0x44ca7f,_0x48a9d7,_0x5cc239,_0x26e546);}));}[_0x24946b(0x1d4)](){const _0xfa3bf0=_0x24946b;this[_0xfa3bf0(0x19c)]&&(this[_0xfa3bf0(0x19c)]=!0x1,this[_0xfa3bf0(0x1b7)][_0xfa3bf0(0x1e7)](),this[_0xfa3bf0(0x1ef)][_0xfa3bf0(0x1d0)]());}[_0x24946b(0x1c1)](){const _0x46ec38=_0x24946b;this[_0x46ec38(0x1ba)]='',this[_0x46ec38(0x1ec)]='',this[_0x46ec38(0x1da)]='',this[_0x46ec38(0x1a1)]='',this[_0x46ec38(0x1cb)]='',this[_0x46ec38(0x1dc)]='',this[_0x46ec38(0x1ea)]=void 0x0,this[_0x46ec38(0x1b7)][_0x46ec38(0x1c1)](),this[_0x46ec38(0x1d4)]();}async[_0x24946b(0x1a0)](_0x52633f,_0x50063f,_0x44420e,_0x36f45e){const _0x1c0429=_0x24946b;return this[_0x1c0429(0x19c)]=!0x0,this[_0x1c0429(0x1b7)][_0x1c0429(0x1c5)](),this[_0x1c0429(0x1a1)]=_0x50063f,this[_0x1c0429(0x1cb)]=_0x52633f,this[_0x1c0429(0x1dc)]=_0x36f45e||_0x52633f,this[_0x1c0429(0x1ea)]=_0x44420e,new Promise(_0x4c065a=>{const _0x15e127=_0x1c0429;this[_0x15e127(0x1ef)][_0x15e127(0x1db)]({'query':_0x52633f,'context':_0x50063f,'onData':_0x5710b8=>{const _0x51bc2e=_0x15e127;this[_0x51bc2e(0x1da)]=_0x5710b8,this[_0x51bc2e(0x1ec)]=this[_0x51bc2e(0x1e3)](this[_0x51bc2e(0x1da)]);},'actionId':_0x44420e})[_0x15e127(0x1e2)](()=>{const _0x320954=_0x15e127;!this[_0x320954(0x1ec)]&&this[_0x320954(0x1da)]&&(this[_0x320954(0x1ec)]=this[_0x320954(0x1e3)](this[_0x320954(0x1da)],!0x0));})[_0x15e127(0x1a7)](_0x594798=>{const _0x3ee7cd=_0x15e127;_0x594798 instanceof _0x1ac4d0?this[_0x3ee7cd(0x1b7)][_0x3ee7cd(0x1b1)](_0x594798[_0x3ee7cd(0x1a4)]):this[_0x3ee7cd(0x1b7)][_0x3ee7cd(0x1b1)](),_0x4c065a();})[_0x15e127(0x1de)](()=>{const _0x4555b8=_0x15e127;this[_0x4555b8(0x1d4)](),_0x4c065a();});});}[_0x24946b(0x1e3)](_0x2cca3a,_0x17bb09=!0x1){const _0x14019a=_0x24946b,_0x777d67=Z[_0x14019a(0x1a5)](_0x2cca3a);_0x2cca3a=_0x777d67?_0x2cca3a[_0x14019a(0x1a6)](_0x777d67[0x1][_0x14019a(0x1c6)]):_0x2cca3a[_0x14019a(0x1c6)]<0x64&&!_0x17bb09?'':this[_0x14019a(0x1b3)](_0x2cca3a);const _0x124345=this[_0x14019a(0x1c2)][_0x14019a(0x1a2)](_0x2cca3a,_0x14019a(0x1df));if(_0x777d67){const _0x4dab4e=Array[_0x14019a(0x1a8)](_0x124345[_0x14019a(0x194)][_0x14019a(0x198)]);_0x4dab4e[_0x14019a(0x1e8)]();for(const _0x14867a of _0x4dab4e){if(_0x14867a[_0x14019a(0x1b8)]==Node[_0x14019a(0x1b6)])break;_0x14867a[_0x14019a(0x1bd)]();}}const _0x3884f2=this[_0x14019a(0x199)][_0x14019a(0x1d2)][_0x14019a(0x1b0)][_0x14019a(0x1dd)](this[_0x14019a(0x1f4)][_0x14019a(0x1e4)](_0x124345[_0x14019a(0x194)]));this[_0x14019a(0x1d5)]()||this[_0x14019a(0x1cc)](_0x3884f2);const _0x31dcfc=this[_0x14019a(0x199)][_0x14019a(0x1d9)][_0x14019a(0x19b)](_0x14019a(0x1c7)),_0x131970=this[_0x14019a(0x199)][_0x14019a(0x1d2)][_0x14019a(0x197)](_0x3884f2);return _0x31dcfc||_0x131970[_0x14019a(0x1ae)][_0x14019a(0x1e5)](),this[_0x14019a(0x199)][_0x14019a(0x1d2)][_0x14019a(0x1ee)](_0x131970);}[_0x24946b(0x1cc)](_0x3e86f4){const _0x57131a=_0x24946b,_0x245f47=new _0x51c2db(this[_0x57131a(0x199)][_0x57131a(0x1e1)][_0x57131a(0x1b7)][_0x57131a(0x1eb)]),_0x24cc54=new _0x1d7020({'name':/^h[1-5]$/}),_0x4de63e=[];let _0x31bf12=!0x1;for(const _0x4f5a69 of _0x3e86f4)_0x4f5a69['is'](_0x57131a(0x1c4))&&_0x24cc54[_0x57131a(0x196)](_0x4f5a69)&&(_0x4de63e[_0x57131a(0x1d8)](_0x4f5a69),'h1'==_0x4f5a69[_0x57131a(0x1ad)]&&(_0x31bf12=!0x0));if(_0x31bf12){for(const _0x2c7e1e of _0x4de63e)_0x245f47[_0x57131a(0x1b2)]('h'+(parseInt(_0x2c7e1e[_0x57131a(0x1ad)][0x1])+0x1),_0x2c7e1e);}}[_0x24946b(0x1d5)](){const _0x4fd205=_0x24946b,{data:_0x32d8c4,editing:_0x50f00d}=this[_0x4fd205(0x199)],_0x4e0a4b=_0x32d8c4[_0x4fd205(0x1cf)][_0x4fd205(0x1dd)](_0x4fd205(0x195)),_0x3b5251=_0x32d8c4[_0x4fd205(0x1dd)](_0x32d8c4[_0x4fd205(0x197)](_0x4e0a4b));return!!_0x50f00d[_0x4fd205(0x1b7)][_0x4fd205(0x19a)][_0x4fd205(0x1aa)](_0x3b5251)[_0x4fd205(0x1f3)]('h1');}[_0x24946b(0x1ce)](_0x4668d0){const _0x405a21=_0x24946b;return this[_0x405a21(0x199)][_0x405a21(0x1e1)][_0x405a21(0x1b7)][_0x405a21(0x19a)][_0x405a21(0x1b4)](this[_0x405a21(0x1ca)],_0x4668d0),this[_0x405a21(0x1ca)][_0x405a21(0x1e6)];}[_0x24946b(0x1b3)](_0x4545cc){const _0x5acba6=_0x24946b,_0x494315=_0x4545cc[_0x5acba6(0x1f1)]();return _0x494315[_0x5acba6(0x193)](_0x5acba6(0x19d))?_0x494315[_0x5acba6(0x1ab)](_0x5acba6(0x1a9))?_0x494315[_0x5acba6(0x1a6)](0x7,_0x494315[_0x5acba6(0x1c6)]-0x3):_0x494315[_0x5acba6(0x1a6)](0x7):_0x4545cc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23e4c5=_0x2a75;function _0x2a75(_0x898330,_0x4e60f6){const _0x2f7f73=_0x2f7f();return _0x2a75=function(_0x2a7571,_0x28e8f8){_0x2a7571=_0x2a7571-0xd1;let _0x3a441b=_0x2f7f73[_0x2a7571];return _0x3a441b;},_0x2a75(_0x898330,_0x4e60f6);}(function(_0x4dabfb,_0x5de0d2){const _0x10d9e6=_0x2a75,_0x27710f=_0x4dabfb();while(!![]){try{const _0x186e79=-parseInt(_0x10d9e6(0xf6))/0x1+parseInt(_0x10d9e6(0x11a))/0x2+parseInt(_0x10d9e6(0x121))/0x3+-parseInt(_0x10d9e6(0x11e))/0x4+-parseInt(_0x10d9e6(0xe2))/0x5+-parseInt(_0x10d9e6(0x10b))/0x6+parseInt(_0x10d9e6(0xd9))/0x7;if(_0x186e79===_0x5de0d2)break;else _0x27710f['push'](_0x27710f['shift']());}catch(_0x263afb){_0x27710f['push'](_0x27710f['shift']());}}}(_0x2f7f,0x57738));import{global as _0x19cc05}from'ckeditor5/src/utils.js';import{View as _0x4c6bed,ButtonView as _0x453bcf,SpinnerView as _0x210025}from'ckeditor5/src/ui.js';import _0x34850a from'../../../theme/icons/copy.svg';import{getTranslation as _0x273653}from'../../utils/common-translations.js';import{icons as _0x46ef67}from'ckeditor5/src/core.js';export default class X extends _0x4c6bed{constructor(_0x5a2dc6,_0x2aa4b9=''){const _0x4253ac=_0x2a75;super(_0x5a2dc6),this[_0x4253ac(0xfc)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1c462c=this[_0x4253ac(0x11b)];this[_0x4253ac(0x117)]=new ContentFieldView(_0x5a2dc6,_0x2aa4b9),this[_0x4253ac(0xd7)]=this[_0x4253ac(0xf9)](),this[_0x4253ac(0x109)]({'tag':_0x4253ac(0x104),'attributes':{'class':['ck',_0x4253ac(0xe9),_0x1c462c['if'](_0x4253ac(0x105),_0x4253ac(0xdc),_0x330544=>!_0x330544)],'tabindex':'-1'},'children':[{'tag':_0x4253ac(0x104),'attributes':{'class':['ck',_0x4253ac(0xed),_0x1c462c['if'](_0x4253ac(0xef),_0x4253ac(0xf3))]},'children':[this[_0x4253ac(0x117)],{'tag':_0x4253ac(0x104),'attributes':{'class':['ck',_0x4253ac(0x10c)]},'children':[this[_0x4253ac(0xd7)]]}]}]});}[_0x23e4c5(0x101)](){const _0x25ba2d=_0x23e4c5;super[_0x25ba2d(0x101)](),this[_0x25ba2d(0x11d)]&&this[_0x25ba2d(0x117)][_0x25ba2d(0x112)](this[_0x25ba2d(0x11d)]);let _0x432c8b=!0x1;this['on'](_0x25ba2d(0xd6),(_0x591c3d,_0x328260,_0x2693b6)=>{const _0x43c49d=_0x25ba2d,_0x125679=!this[_0x43c49d(0x117)][_0x43c49d(0xf0)][_0x43c49d(0xec)](_0x43c49d(0x11f));this[_0x43c49d(0x117)][_0x43c49d(0x112)](_0x2693b6),this[_0x43c49d(0xef)]&&_0x125679&&!_0x432c8b&&this[_0x43c49d(0xf0)][_0x43c49d(0xf2)]({'top':this[_0x43c49d(0xf0)][_0x43c49d(0xd8)],'behavior':_0x43c49d(0xea)});}),this['on'](_0x25ba2d(0x122),(_0x5b33e9,_0x79dfb0,_0x31a575)=>{const _0x2a22ab=_0x25ba2d;_0x432c8b=!0x1,_0x31a575?(this[_0x2a22ab(0x11d)]=null,this[_0x2a22ab(0x117)][_0x2a22ab(0xfd)]()):this[_0x2a22ab(0x11d)]||this[_0x2a22ab(0x117)][_0x2a22ab(0x112)]('');}),this[_0x25ba2d(0x100)](this[_0x25ba2d(0xf0)],_0x25ba2d(0x113),()=>{_0x432c8b=!0x0;}),this[_0x25ba2d(0x100)](this[_0x25ba2d(0xf0)],_0x25ba2d(0xe4),()=>{_0x432c8b=!0x0;});}[_0x23e4c5(0xd2)](){const _0x4f937a=_0x23e4c5;this[_0x4f937a(0xf0)][_0x4f937a(0xd2)]();}[_0x23e4c5(0xf9)](){const _0x327177=_0x23e4c5,_0x9a14ac=this[_0x327177(0xe6)],_0x1764f8=new _0x453bcf(this[_0x327177(0xe6)]),_0x4d1a96=_0x327177(0x10e);return _0x1764f8[_0x327177(0xfc)]({'label':_0x273653(_0x9a14ac,_0x327177(0x123)),'icon':_0x34850a,'class':_0x4d1a96,'tooltip':!0x0}),_0x1764f8[_0x327177(0xe1)](_0x327177(0x105))['to'](this,_0x327177(0x11d),_0x1deabd=>!!_0x1deabd),_0x1764f8[_0x327177(0xe1)](_0x327177(0x119))['to'](this,_0x327177(0xef),_0x490f41=>!_0x490f41),_0x1764f8['on'](_0x327177(0xd1),()=>{const _0x27a19d=_0x327177;this[_0x27a19d(0xfa)](this[_0x27a19d(0x117)][_0x27a19d(0xf0)]),_0x1764f8[_0x27a19d(0xfb)]=_0x46ef67[_0x27a19d(0x106)],_0x1764f8[_0x27a19d(0xdf)]=_0x4d1a96+_0x27a19d(0xee),this[_0x27a19d(0xd2)](),setTimeout(()=>{const _0x533a1f=_0x27a19d;_0x1764f8[_0x533a1f(0xfb)]=_0x34850a,_0x1764f8[_0x533a1f(0xdf)]=_0x4d1a96;},0x3e8);}),_0x1764f8;}[_0x23e4c5(0xfa)](_0x21bff2){const _0x8752b7=_0x23e4c5,{window:_0x137f6b,document:_0x33cb52}=_0x19cc05;if(_0x137f6b[_0x8752b7(0xe7)]){const {Blob:_0x55519d,ClipboardItem:_0x4d9579}=_0x137f6b,_0x2dac31=[new _0x4d9579({'text/html':new _0x55519d([_0x21bff2[_0x8752b7(0x108)]],{'type':_0x8752b7(0xe0)}),'text/plain':new _0x55519d([_0x21bff2[_0x8752b7(0x102)]||''],{'type':_0x8752b7(0x115)})})];navigator[_0x8752b7(0xda)][_0x8752b7(0xde)](_0x2dac31);}else{const _0x50fedd=_0x33cb52[_0x8752b7(0xff)](_0x8752b7(0x104));_0x50fedd[_0x8752b7(0x10f)][_0x8752b7(0x103)]=_0x8752b7(0xf4),_0x50fedd[_0x8752b7(0x10f)][_0x8752b7(0x110)]=_0x8752b7(0xd4),_0x50fedd[_0x8752b7(0x108)]=_0x8752b7(0xf7)+_0x21bff2[_0x8752b7(0x108)]+_0x8752b7(0xf8),_0x33cb52[_0x8752b7(0xdd)][_0x8752b7(0xd3)](_0x50fedd);const _0x2fc2fb=_0x33cb52[_0x8752b7(0x118)]();_0x2fc2fb[_0x8752b7(0x107)](_0x50fedd[_0x8752b7(0xe8)]),_0x2fc2fb[_0x8752b7(0x10d)](_0x50fedd[_0x8752b7(0x11c)]);const _0x2e4e27=_0x137f6b[_0x8752b7(0xdb)]();_0x2e4e27[_0x8752b7(0xd5)](),_0x2e4e27[_0x8752b7(0xf1)](_0x2fc2fb),_0x33cb52[_0x8752b7(0xe3)](_0x8752b7(0x114)),_0x50fedd[_0x8752b7(0x111)]();}}}function _0x2f7f(){const _0x1a56a0=['getSelection','ck-hidden','body','write','class','text/html','bind','3326125rEdRjt','execCommand','mousedown','ck-reset_all-excluded','locale','ClipboardItem','firstElementChild','ck-ai-form__content-area-wrapper','smooth','ck-ai-form__content-field','querySelector','ck-ai-form__content-area','\x20ck-ai-form__copy-button--copied','isProcessing','element','addRange','scrollTo','ck-ai-form__content-area--processing','absolute','AI\x20is\x20writing...','705279dKrdQK','<span>[</span>','<span>]</span>','_createCopyButton','_copyHTMLToClipboard','icon','set','appendLoader','ck-ai-form__loader','createElement','listenTo','render','textContent','position','div','isVisible','check','setStartAfter','innerHTML','setTemplate','loaderView','771720SWxLry','ck-ai-form__copy-button-wrapper','setEndBefore','ck-ai-form__copy-button','style','left','remove','setContent','wheel','copy','text/plain','_createLoader','contentFieldView','createRange','isEnabled','572900nvPzbB','bindTemplate','lastElementChild','value','40196FlXhIL','.ck-ai-form__loader','ck-content','164802qpULmV','change:isProcessing','Copy','execute','focus','appendChild','-9999px','removeAllRanges','change:value','copyButtonView','scrollHeight','10681923lGiWxA','clipboard'];_0x2f7f=function(){return _0x1a56a0;};return _0x2f7f();}export class ContentFieldView extends _0x4c6bed{constructor(_0x26e738,_0x9e4c0a=''){const _0x58fed5=_0x23e4c5;super(_0x26e738),this[_0x58fed5(0x10a)]=this[_0x58fed5(0x116)](),this[_0x58fed5(0x109)]({'tag':_0x58fed5(0x104),'attributes':{'class':['ck',_0x58fed5(0x120),_0x9e4c0a,_0x58fed5(0xe5),_0x58fed5(0xeb)]}});}[_0x23e4c5(0x112)](_0x4e1d30){const _0x22ee7c=_0x23e4c5;this[_0x22ee7c(0xf0)][_0x22ee7c(0x108)]=_0x4e1d30;}[_0x23e4c5(0xfd)](){const _0x44bbe5=_0x23e4c5;this[_0x44bbe5(0xf0)][_0x44bbe5(0xd3)](this[_0x44bbe5(0x10a)][_0x44bbe5(0xf0)]);}[_0x23e4c5(0x116)](){const _0x5dd2a0=_0x23e4c5,_0x16543a=new _0x4c6bed(),_0x141fa2=this[_0x5dd2a0(0xe6)],_0x5ccb88=new _0x210025();return _0x5ccb88[_0x5dd2a0(0x105)]=!0x0,_0x16543a[_0x5dd2a0(0x109)]({'tag':_0x5dd2a0(0x104),'attributes':{'class':['ck',_0x5dd2a0(0xfe)]},'children':[_0x5ccb88,{'text':_0x273653(_0x141fa2,_0x5dd2a0(0xf5))}]}),_0x16543a[_0x5dd2a0(0x101)](),_0x16543a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2a1a(_0x2e3a93,_0x2f7943){const _0x12aa8b=_0x12aa();return _0x2a1a=function(_0x2a1acc,_0x16ed3a){_0x2a1acc=_0x2a1acc-0x1de;let _0x1d3c26=_0x12aa8b[_0x2a1acc];return _0x1d3c26;},_0x2a1a(_0x2e3a93,_0x2f7943);}(function(_0x27c6fd,_0x537740){const _0x59852c=_0x2a1a,_0x4118c7=_0x27c6fd();while(!![]){try{const _0x43abcb=-parseInt(_0x59852c(0x1de))/0x1+parseInt(_0x59852c(0x1f0))/0x2*(parseInt(_0x59852c(0x1e1))/0x3)+-parseInt(_0x59852c(0x1e4))/0x4*(parseInt(_0x59852c(0x1ef))/0x5)+-parseInt(_0x59852c(0x1eb))/0x6+parseInt(_0x59852c(0x1e2))/0x7*(parseInt(_0x59852c(0x1e3))/0x8)+parseInt(_0x59852c(0x1e9))/0x9*(-parseInt(_0x59852c(0x1e5))/0xa)+parseInt(_0x59852c(0x1ed))/0xb*(parseInt(_0x59852c(0x1e8))/0xc);if(_0x43abcb===_0x537740)break;else _0x4118c7['push'](_0x4118c7['shift']());}catch(_0x3ff399){_0x4118c7['push'](_0x4118c7['shift']());}}}(_0x12aa,0xb9d10));import{View as _0x40396f,IconView as _0x1a0889}from'ckeditor5/src/ui.js';import _0x49230a from'../../../theme/icons/error.svg';function _0x12aa(){const _0x399e46=['bindTemplate','div','84UUhZRg','297ppZibl','setTemplate','83526nWxRVy','set','2341559yzSOkQ','ck-ai-form__error','5EzsFtT','6MflFWN','1056410tWCWLH','text','content','815259MoxZPN','7xZelyQ','11221688NeQfGg','4271152vsWhej','245100xUHyHT'];_0x12aa=function(){return _0x399e46;};return _0x12aa();}export default class rt extends _0x40396f{constructor(_0x156eec,_0x233af9=''){const _0x35d234=_0x2a1a;super(_0x156eec);const _0x3aec22=new _0x1a0889(),_0x114004=this[_0x35d234(0x1e6)];this[_0x35d234(0x1ec)](_0x35d234(0x1df),_0x233af9),_0x3aec22[_0x35d234(0x1e0)]=_0x49230a,this[_0x35d234(0x1ea)]({'tag':_0x35d234(0x1e7),'attributes':{'class':['ck',_0x35d234(0x1ee)]},'children':[_0x3aec22,{'text':_0x114004['to'](_0x35d234(0x1df))}]});}}
|