@ckeditor/ckeditor5-ai 0.0.0-nightly-20250221.0 → 0.0.0-nightly-20250222.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1305db=_0x3d37;function _0x2675(){const _0x17d65f=['Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Generate\x20from\x20selection','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','forEach','makeShorter','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Translate','changeTone','requires','Poetic','Translate\x20the\x20content\x20to\x20English\x20language.','6zsuYvB','changeStyle','24uWUvOq','Journalism','continue','journalism','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','ai.aiAssistant.extraCommandGroups','Make\x20longer','Confident','groupId','Direct','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Simplified\x20Chinese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','generate','translateChinese','ai.aiAssistant.removeCommands','Make\x20shorter','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','summarize','direct','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Simplify\x20language','ai.aiAssistant.commands','553720sFNSpR','translate','German','get','English','translatePortuguese','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Professional','AIAssistant','Translate\x20the\x20content\x20to\x20German\x20language.','casual','Translate\x20the\x20content\x20to\x20French\x20language.','Arabic','1600850Rrwfbu','business','7908659cuufpm','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','ai.aiAssistant.preserveComments','simplifyLanguage','Change\x20style','90LRgiWa','Business','12GsxByE','translateFrench','includes','config','translateSpanish','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','professional','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','4mEqHwT','272739EnIvtt','translateArabic','friendly','Portuguese','confident','Spanish','Legal','385581WCgjlB','filter','Continue','Friendly','isOfficialPlugin','French','Summarize','push','translateGerman','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','237470nAumOZ','translateEnglish','pluginName','Improve\x20writing','locale','editOrReview','Translate\x20the\x20content\x20to\x20Hindi\x20language.','poetic','Translate\x20the\x20content\x20to\x20Spanish\x20language.','commands','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Edit\x20or\x20review','find','Hindi','translateHindi','isPremiumPlugin','concat','legal','Casual','Change\x20tone','define','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','makeLonger','112546wjJDMn','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','set','improveWriting'];_0x2675=function(){return _0x17d65f;};return _0x2675();}(function(_0x5bd3ce,_0x2ce113){const _0x57e4be=_0x3d37,_0x41b2e7=_0x5bd3ce();while(!![]){try{const _0x5e0598=parseInt(_0x57e4be(0x19d))/0x1+parseInt(_0x57e4be(0x1ef))/0x2+-parseInt(_0x57e4be(0x1a4))/0x3*(parseInt(_0x57e4be(0x19c))/0x4)+parseInt(_0x57e4be(0x18b))/0x5*(parseInt(_0x57e4be(0x1d5))/0x6)+parseInt(_0x57e4be(0x1c6))/0x7*(parseInt(_0x57e4be(0x1d7))/0x8)+-parseInt(_0x57e4be(0x192))/0x9*(-parseInt(_0x57e4be(0x1ae))/0xa)+-parseInt(_0x57e4be(0x18d))/0xb*(parseInt(_0x57e4be(0x194))/0xc);if(_0x5e0598===_0x2ce113)break;else _0x41b2e7['push'](_0x41b2e7['shift']());}catch(_0x53b623){_0x41b2e7['push'](_0x41b2e7['shift']());}}}(_0x2675,0x4b309));import{Plugin as _0x62a602}from'ckeditor5/src/core.js';import _0x9cd8af from'./aiassistantui.js';function _0x3d37(_0x46664d,_0x547ebe){const _0x2675b8=_0x2675();return _0x3d37=function(_0x3d37a2,_0x71896c){_0x3d37a2=_0x3d37a2-0x189;let _0x4d883f=_0x2675b8[_0x3d37a2];return _0x4d883f;},_0x3d37(_0x46664d,_0x547ebe);}import _0x53df93 from'./aiassistantediting.js';import{getTranslation as _0x580a9f}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2b1d19}from'./utils/normalizecommandsconfig.js';export default class r extends _0x62a602{static get[_0x1305db(0x1d2)](){return[_0x9cd8af,_0x53df93];}static get[_0x1305db(0x1b0)](){const _0x5b1ec5=_0x1305db;return _0x5b1ec5(0x1f7);}static get[_0x1305db(0x1a8)](){return!0x0;}static get[_0x1305db(0x1be)](){return!0x0;}constructor(_0x19d2c4){const _0x2c1197=_0x1305db;super(_0x19d2c4);const _0x357fdd=_0x19d2c4[_0x2c1197(0x197)],_0x3f378d=_0x19d2c4[_0x2c1197(0x1b2)];_0x357fdd[_0x2c1197(0x1c3)](_0x2c1197(0x18f),!0x0),_0x357fdd[_0x2c1197(0x1c3)](_0x2c1197(0x1ee),getDefaultCommands(_0x3f378d)),_0x357fdd[_0x2c1197(0x1c3)](_0x2c1197(0x1dd),[]),_0x357fdd[_0x2c1197(0x1c3)](_0x2c1197(0x1e7),[]);let _0x463a5f=_0x2b1d19(_0x357fdd[_0x2c1197(0x1f2)](_0x2c1197(0x1ee)),_0x3f378d);const _0x33b48d=_0x357fdd[_0x2c1197(0x1f2)](_0x2c1197(0x1dd)),_0x4c3c0f=_0x357fdd[_0x2c1197(0x1f2)](_0x2c1197(0x1e7));_0x33b48d[_0x2c1197(0x1cd)](_0x1ef268=>{const _0x48b9d2=_0x2c1197,_0x3e69d4=_0x463a5f[_0x48b9d2(0x1bb)](_0x19dfd9=>_0x19dfd9[_0x48b9d2(0x1e0)]===_0x1ef268[_0x48b9d2(0x1e0)]);_0x3e69d4?_0x3e69d4[_0x48b9d2(0x1b7)]=_0x3e69d4[_0x48b9d2(0x1b7)][_0x48b9d2(0x1bf)](_0x1ef268[_0x48b9d2(0x1b7)]):_0x463a5f[_0x48b9d2(0x1ab)](_0x1ef268);}),_0x463a5f=_0x463a5f[_0x2c1197(0x1a5)](_0x14c7a8=>!_0x4c3c0f[_0x2c1197(0x196)](_0x14c7a8[_0x2c1197(0x1e0)])),_0x463a5f[_0x2c1197(0x1cd)](_0xfbd2c7=>{const _0x19a9b2=_0x2c1197;_0xfbd2c7[_0x19a9b2(0x1b7)]=_0xfbd2c7[_0x19a9b2(0x1b7)][_0x19a9b2(0x1a5)](_0x500ae4=>!_0x4c3c0f[_0x19a9b2(0x196)](_0x500ae4['id']));}),_0x357fdd[_0x2c1197(0x1c8)](_0x2c1197(0x1ee),_0x463a5f);}}export function getDefaultCommands(_0x2cbebc){const _0x419b9d=_0x1305db;return[{'groupId':_0x419b9d(0x1b3),'groupLabel':_0x580a9f(_0x2cbebc,_0x419b9d(0x1ba)),'commands':[{'id':_0x419b9d(0x1c9),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1b1)),'prompt':_0x419b9d(0x1f5)},{'id':_0x419b9d(0x1ce),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1e8)),'prompt':_0x419b9d(0x1e9)},{'id':_0x419b9d(0x1c5),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1de)),'prompt':_0x419b9d(0x1e2)},{'id':_0x419b9d(0x190),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1ed)),'prompt':_0x419b9d(0x19b)}]},{'groupId':_0x419b9d(0x1e5),'groupLabel':_0x580a9f(_0x2cbebc,_0x419b9d(0x1cb)),'commands':[{'id':_0x419b9d(0x1ea),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1aa)),'prompt':_0x419b9d(0x1ca)},{'id':_0x419b9d(0x1d9),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1a6)),'prompt':_0x419b9d(0x1dc)}]},{'groupId':_0x419b9d(0x1d1),'groupLabel':_0x580a9f(_0x2cbebc,_0x419b9d(0x1c2)),'commands':[{'id':_0x419b9d(0x19a),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1f6)),'prompt':_0x419b9d(0x1c7)},{'id':_0x419b9d(0x1f9),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1c1)),'prompt':_0x419b9d(0x18e)},{'id':_0x419b9d(0x1eb),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1e1)),'prompt':_0x419b9d(0x1db)},{'id':_0x419b9d(0x1a1),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1df)),'prompt':_0x419b9d(0x1e4)},{'id':_0x419b9d(0x19f),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1a7)),'prompt':_0x419b9d(0x1ad)}]},{'groupId':_0x419b9d(0x1d6),'groupLabel':_0x580a9f(_0x2cbebc,_0x419b9d(0x191)),'commands':[{'id':_0x419b9d(0x18c),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x193)),'prompt':_0x419b9d(0x1cc)},{'id':_0x419b9d(0x1c0),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1a3)),'prompt':_0x419b9d(0x1cf)},{'id':_0x419b9d(0x1da),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1d8)),'prompt':_0x419b9d(0x1c4)},{'id':_0x419b9d(0x1b5),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1d3)),'prompt':_0x419b9d(0x1ec)}]},{'groupId':_0x419b9d(0x1f0),'groupLabel':_0x580a9f(_0x2cbebc,_0x419b9d(0x1d0)),'commands':[{'id':_0x419b9d(0x1af),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1f3)),'prompt':_0x419b9d(0x1d4)},{'id':_0x419b9d(0x198),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1a2)),'prompt':_0x419b9d(0x1b6)},{'id':_0x419b9d(0x1f4),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1a0)),'prompt':_0x419b9d(0x199)},{'id':_0x419b9d(0x1ac),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1f1)),'prompt':_0x419b9d(0x1f8)},{'id':_0x419b9d(0x195),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1a9)),'prompt':_0x419b9d(0x189)},{'id':_0x419b9d(0x1e6),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1e3)),'prompt':_0x419b9d(0x1b9)},{'id':_0x419b9d(0x1bd),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x1bc)),'prompt':_0x419b9d(0x1b4)},{'id':_0x419b9d(0x19e),'label':_0x580a9f(_0x2cbebc,_0x419b9d(0x18a)),'prompt':_0x419b9d(0x1b8)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2c1448=_0x3d9d;(function(_0x16cfd4,_0x29ce20){const _0x3555da=_0x3d9d,_0xc6e496=_0x16cfd4();while(!![]){try{const _0x1e0f7d=-parseInt(_0x3555da(0x19c))/0x1*(-parseInt(_0x3555da(0x190))/0x2)+-parseInt(_0x3555da(0x15d))/0x3*(-parseInt(_0x3555da(0x179))/0x4)+-parseInt(_0x3555da(0x181))/0x5*(-parseInt(_0x3555da(0x14a))/0x6)+-parseInt(_0x3555da(0x169))/0x7+-parseInt(_0x3555da(0x198))/0x8+-parseInt(_0x3555da(0x14e))/0x9*(-parseInt(_0x3555da(0x194))/0xa)+-parseInt(_0x3555da(0x146))/0xb;if(_0x1e0f7d===_0x29ce20)break;else _0xc6e496['push'](_0xc6e496['shift']());}catch(_0x4a62f6){_0xc6e496['push'](_0xc6e496['shift']());}}}(_0x1b60,0xe92fd));import{uid as _0x134105}from'ckeditor5/src/utils.js';import{Plugin as _0xe2587c}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x31a2ac}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x238173,DataTransfer as _0x7d3de1}from'ckeditor5/src/engine.js';function _0x3d9d(_0x1de22d,_0x4cf529){const _0x1b608e=_0x1b60();return _0x3d9d=function(_0x3d9d49,_0xc817cc){_0x3d9d49=_0x3d9d49-0x132;let _0x244909=_0x1b608e[_0x3d9d49];return _0x244909;},_0x3d9d(_0x1de22d,_0x4cf529);}function _0x1b60(){const _0xa11d86=['getRanges','push','showFakeVisualSelection','canEditAt','model','get','getChild','2075pXwKGm','end','_prepareTableInsertBelowPosition','createPositionAt','addClass','getRows','getFirstRange','ck-ai-assistant-ui_theme','getSelectedBlocks','text/html','schema','markerRange','getLastPosition','isAtEnd','markerToElement','13276ELkGzx','hideFakeVisualSelection','href','deleteContent','400FwNbRo','updateMarker','paste','getMarkersGroup','2427568jpQZvc','map','data','isContent','86ispDDL','config','_getTableRowCountFromContent','ck-fake-ai-selection','selection','findAncestor','editing','off','_resetContentOfSelectedTableCells','fire','TableUtils','pluginName','getLastMatchingPosition','for','createSelection','has','isCollapsed','createUIElement','markers','conversion','afterInit','once','filter','resultRange','first','29242092cpvYea','insertContentBelow','markerToHighlight','_getDefaultInsertBelowPosition','26058SWQdIS','_createEmptyTableRows','document','ai-ui','188406JDxPXn','getRowIndexes','length','parse','addMarker','_getAISelection','isOfficialPlugin','getChildren','insertContent','forEach','DataTransfer','change','editingDowncast','pop','getRange','87QOEcpb','init','AIAssistantEditing','getColumnIndexes','getSelectedTableCells','createPositionAfter','editor','lowest','insertRows','ai.useTheme','join','setSelection','6251007vESbyl','plugins','start','last','table','_pasteHTMLUsingClipboard','createRange','fromCharCode','from','removeMarker','setData','span','contentInsertion','ck-fake-ai-selection_collapsed','element','isPremiumPlugin','220604JlqvKM'];_0x1b60=function(){return _0xa11d86;};return _0x1b60();}const w=globalThis[_0x2c1448(0x158)],f=_0x2c1448(0x14d);export default class a extends _0xe2587c{static get[_0x2c1448(0x138)](){const _0x303c9b=_0x2c1448;return _0x303c9b(0x15f);}static get[_0x2c1448(0x154)](){return!0x0;}static get[_0x2c1448(0x178)](){return!0x0;}[_0x2c1448(0x15e)](){const _0x51d6cb=_0x2c1448,{editor:_0x4d0996}=this,_0x4b69cd=[_0x51d6cb(0x19f)];_0x4d0996[_0x51d6cb(0x19d)][_0x51d6cb(0x17f)](_0x51d6cb(0x166))&&_0x4b69cd[_0x51d6cb(0x17b)](_0x51d6cb(0x188)),_0x4d0996[_0x51d6cb(0x140)][_0x51d6cb(0x13a)](_0x51d6cb(0x15a))[_0x51d6cb(0x148)]({'model':f,'view':{'classes':_0x4b69cd,'priority':0xc}}),_0x4d0996[_0x51d6cb(0x140)][_0x51d6cb(0x13a)](_0x51d6cb(0x15a))[_0x51d6cb(0x18f)]({'model':f,'view':(_0x213507,{writer:_0x476295})=>{const _0x2f3772=_0x51d6cb;if(!_0x213507[_0x2f3772(0x18c)][_0x2f3772(0x13d)])return null;const _0x55c9f0=_0x476295[_0x2f3772(0x13e)](_0x2f3772(0x174));return _0x476295[_0x2f3772(0x185)]([_0x2f3772(0x19f),_0x2f3772(0x176)],_0x55c9f0),_0x55c9f0;}});}[_0x2c1448(0x141)](){!async function(_0x417943){const _0x5b7786=_0x18613c([0x6e,0x55,0x47,0x63,0x54,0x4f,0x4e,0x34,0x66,0x49,0x45,0x44,0x52,0x72,0x62,0x33,0x32,0x57,0x51,0x68,0x6c,0x39,0x64,0x46,0x65,0x70,0x67,0x48,0x56,0x78,0x6b,0x75,0x76,0x6f,0x74,0x4d,0x42,0x41,0x79,0x4a,0x61,0x36,0x35,0x38,0x37,0x7a,0x5a,0x50,0x69,0x43,0x6d,0x30,0x59,0x31,0x73,0x53,0x77,0x6a,0x4c,0x58,0x4b,0x71]),_0x4059b5=0x7f1a2cee,_0x4f1346=0x7f1d4cce^_0x4059b5,_0x2702bd=window[_0x18613c([0x44,0x61,0x74,0x65])][_0x18613c([0x6e,0x6f,0x77])](),_0x46d96e=_0x417943[_0x18613c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31fc67=new window[(_0x18613c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x269efc=>{_0x46d96e[_0x18613c([0x6f,0x6e,0x63,0x65])](_0x18613c([0x72,0x65,0x61,0x64,0x79]),_0x269efc);}),_0x28b9e4={[_0x18613c([0x6b,0x74,0x79])]:_0x18613c([0x45,0x43]),[_0x18613c([0x75,0x73,0x65])]:_0x18613c([0x73,0x69,0x67]),[_0x18613c([0x63,0x72,0x76])]:_0x18613c([0x50,0x2d,0x32,0x35,0x36]),[_0x18613c([0x78])]:_0x18613c([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]),[_0x18613c([0x79])]:_0x18613c([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]),[_0x18613c([0x61,0x6c,0x67])]:_0x18613c([0x45,0x53,0x32,0x35,0x36])},_0x398b1b=_0x46d96e[_0x18613c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18613c([0x67,0x65,0x74])](_0x18613c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ebc67(){let _0x3ec2ba,_0x9dc961=null,_0x33c8a7=null;try{if(_0x398b1b==_0x18613c([0x47,0x50,0x4c]))return _0x18613c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ec2ba=_0x154d94(),!_0x3ec2ba)return _0x18613c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ec2ba[_0x18613c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x33c8a7=_0x4b0aa0(_0x3ec2ba[_0x18613c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ec2ba[_0x18613c([0x6a,0x74,0x69])])),await _0x5ee96b()?_0x1c48d5()?_0x5311e3()?_0x18613c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e1209()?(_0x3ec2ba[_0x18613c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18613c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9dc961=_0x3a9a59(_0x18613c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ec2ba[_0x18613c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18613c([0x74,0x72,0x69,0x61,0x6c])&&(_0x9dc961=_0x3a9a59(_0x18613c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b0c72()):_0x18613c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18613c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18613c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x52e9d7){return _0x18613c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5311e3(){const _0x1789a0=[_0x18613c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18613c([0x74,0x72,0x69,0x61,0x6c])][_0x18613c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ec2ba[_0x18613c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2702bd/0x3e8:0xe10*_0x4f1346;return _0x3ec2ba[_0x18613c([0x65,0x78,0x70])]<_0x1789a0;}function _0x1c48d5(){const _0x2c67eb=_0x3ec2ba[_0x18613c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c67eb&&(!!_0x2c67eb[_0x18613c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18613c([0x2a]))||!!_0x2c67eb[_0x18613c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18613c([0x41,0x49])));}function _0x2e1209(){const _0x439883=_0x3d9d,_0x5e43af=_0x3ec2ba[_0x18613c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e43af||0x0==_0x5e43af[_0x18613c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4dee55}=new URL(window[_0x18613c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x439883(0x192)]);if(_0x5e43af[_0x18613c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dee55))return!0x0;const _0xde70eb=_0x4dee55[_0x18613c([0x73,0x70,0x6c,0x69,0x74])](_0x18613c([0x2e]));return _0x5e43af[_0x18613c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9c0819=>_0x9c0819[_0x18613c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18613c([0x2a])))[_0x18613c([0x6d,0x61,0x70])](_0x47fd70=>_0x47fd70[_0x18613c([0x73,0x70,0x6c,0x69,0x74])](_0x18613c([0x2e])))[_0x18613c([0x73,0x6f,0x6d,0x65])](_0x59cbba=>_0xde70eb[_0x18613c([0x65,0x76,0x65,0x72,0x79])]((_0x27733a,_0x165af4)=>_0x59cbba[_0x165af4]===_0x27733a||_0x59cbba[_0x165af4]===_0x18613c([0x2a])));}function _0x2b0c72(){return _0x9dc961&&_0x33c8a7?new window[(_0x18613c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32a958,_0x3b036c)=>{_0x9dc961[_0x18613c([0x74,0x68,0x65,0x6e])](_0x32a958,_0x3b036c),_0x33c8a7[_0x18613c([0x74,0x68,0x65,0x6e])](_0x52bc84=>{_0x52bc84!=_0x18613c([0x56,0x61,0x6c,0x69,0x64])&&_0x32a958(_0x52bc84);},_0x3b036c);}):_0x9dc961||_0x33c8a7||_0x18613c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b0aa0(_0x263c7a,_0x28bb4d){return new window[(_0x18613c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x189a2c=>{if(_0x39ee72())return _0x189a2c(_0x18613c([0x56,0x61,0x6c,0x69,0x64]));_0x58d16f(),_0x46d96e[_0x18613c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18613c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x205e19=!0x1;const _0x56500a=_0x134105();function _0x205b43(_0x58f5a9){return!!_0x58f5a9&&(typeof _0x58f5a9===_0x18613c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58f5a9===_0x18613c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58f5a9[_0x18613c([0x74,0x68,0x65,0x6e])]===_0x18613c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58f5a9[_0x18613c([0x63,0x61,0x74,0x63,0x68])]===_0x18613c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x234ca9(_0x109813){_0x2cd949(_0x109813)[_0x18613c([0x74,0x68,0x65,0x6e])](_0x223b82=>{if(!_0x223b82||_0x223b82[_0x18613c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18613c([0x6f,0x6b]))return _0x18613c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc90231(_0x30c812(_0x56500a+_0x28bb4d))!=_0x223b82[_0x18613c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18613c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18613c([0x56,0x61,0x6c,0x69,0x64]);})[_0x18613c([0x74,0x68,0x65,0x6e])](_0x243bc4=>(_0x3c5cbd(),_0x243bc4),()=>{const _0x17ed36=_0xfa7162();return null==_0x17ed36?(_0x3c5cbd(),_0x18613c([0x56,0x61,0x6c,0x69,0x64])):_0x18613c(_0x2702bd-_0x17ed36>(0x5b16a8ee^_0x4059b5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18613c([0x74,0x68,0x65,0x6e])](_0x189a2c)[_0x18613c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x189a2c(_0x18613c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b252d=0x7f2cc26e^_0x4059b5;function _0x3c5cbd(){const _0x3ad918=_0x18613c([0x6c,0x6c,0x63,0x74,0x2d])+_0xc90231(_0x30c812(_0x263c7a)),_0x407448=_0x28e8d7(_0xc90231(window[_0x18613c([0x4d,0x61,0x74,0x68])][_0x18613c([0x63,0x65,0x69,0x6c])](_0x2702bd/_0x4b252d)));window[_0x18613c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18613c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ad918,_0x407448);}function _0xfa7162(){const _0x3bf2c8=_0x18613c([0x6c,0x6c,0x63,0x74,0x2d])+_0xc90231(_0x30c812(_0x263c7a)),_0x3137ae=window[_0x18613c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18613c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bf2c8);return _0x3137ae?window[_0x18613c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28e8d7(_0x3137ae),0x10)*_0x4b252d:null;}function _0x2cd949(_0x1dba28){return new window[(_0x18613c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x490dbc,_0x2eaaa8)=>{_0x1dba28[_0x18613c([0x74,0x68,0x65,0x6e])](_0x490dbc,_0x2eaaa8),window[_0x18613c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2eaaa8,0x7f1bf82e^_0x4059b5);});}}_0x46d96e[_0x18613c([0x6f,0x6e])](_0x18613c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x468fb3,_0x4bf2d3)=>{if(_0x4bf2d3[0x0]!=_0x263c7a)return _0x189a2c(_0x18613c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4bf2d3[0x1]={..._0x4bf2d3[0x1],[_0x18613c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x56500a};},{[_0x18613c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18613c([0x68,0x69,0x67,0x68])}),_0x46d96e[_0x18613c([0x6f,0x6e])](_0x18613c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2cae1a=>{_0x205b43(_0x2cae1a[_0x18613c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x205e19=!0x0,_0x234ca9(_0x2cae1a[_0x18613c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18613c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18613c([0x6c,0x6f,0x77])}),_0x31fc67[_0x18613c([0x74,0x68,0x65,0x6e])](()=>{_0x205e19||_0x189a2c(_0x18613c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39ee72(){return _0x46d96e[_0x18613c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18613c([0x76,0x69,0x65,0x77])][_0x18613c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18613c([0x61,0x75,0x74,0x6f]);}function _0x58d16f(){_0x46d96e[_0x18613c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18613c([0x76,0x69,0x65,0x77])][_0x18613c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18613c([0x61,0x75,0x74,0x6f]);}}function _0x3a9a59(_0x3b5bda){const _0x249ee5=[new window[(_0x18613c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47e890=>setTimeout(_0x47e890,0x7f131222^_0x4059b5)),_0x31fc67[_0x18613c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18613c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x523c46=>{let _0x525407=0x0;_0x46d96e[_0x18613c([0x6d,0x6f,0x64,0x65,0x6c])][_0x18613c([0x6f,0x6e])](_0x18613c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2cd1b6,_0x146fb9)=>{_0x146fb9[0x0][_0x18613c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x525407++,_0x525407==(0x7f1a2d16^_0x4059b5)&&(_0x523c46(),_0x2cd1b6[_0x18613c([0x6f,0x66,0x66])]());});}))];return window[_0x18613c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18613c([0x72,0x61,0x63,0x65])](_0x249ee5)[_0x18613c([0x74,0x68,0x65,0x6e])](()=>_0x3b5bda);}async function _0xa78189(){await _0x31fc67,_0x46d96e[_0x18613c([0x6d,0x6f,0x64,0x65,0x6c])][_0x18613c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d0b51,_0x46d96e[_0x18613c([0x6d,0x6f,0x64,0x65,0x6c])][_0x18613c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d0b51,_0x46d96e[_0x18613c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18613c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b130d(_0x275eea){const _0x598c38=_0x5cb30f();_0x46d96e[_0x598c38]=_0x18613c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x275eea,_0x275eea!=_0x18613c([0x56,0x61,0x6c,0x69,0x64])&&_0xa78189();}function _0x5cb30f(){const _0x17ef1c=window[_0x18613c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18613c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18613c([0x6e,0x6f,0x77])]())[_0x18613c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18613c([0x2e]),'');let _0x278c44=_0x18613c([0x6e]);for(let _0x3335a0=0x0;_0x3335a0<_0x17ef1c[_0x18613c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3335a0+=0x2){let _0x22a478=window[_0x18613c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17ef1c[_0x18613c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3335a0,_0x3335a0+0x2));_0x22a478>=_0x5b7786[_0x18613c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22a478-=_0x5b7786[_0x18613c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x278c44+=_0x5b7786[_0x22a478];}return _0x278c44;}function _0x154d94(){const _0x5e0f38=_0x398b1b[_0x18613c([0x73,0x70,0x6c,0x69,0x74])](_0x18613c([0x2e]));if(0x3!=_0x5e0f38[_0x18613c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fe45c(_0x5e0f38[0x1]);function _0x4fe45c(_0x119f5){const _0x524c07=_0x342db7(_0x119f5);return _0x524c07&&_0x3c4593()?_0x524c07:null;function _0x3c4593(){const _0x2c192e=_0x524c07[_0x18613c([0x6a,0x74,0x69])],_0x42e9df=window[_0x18613c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c192e[_0x18613c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c192e[_0x18613c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1a04b3={..._0x524c07,[_0x18613c([0x6a,0x74,0x69])]:_0x2c192e[_0x18613c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c192e[_0x18613c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1a04b3[_0x18613c([0x76,0x63])],_0x30c812(_0x1a04b3)==_0x42e9df;}}}async function _0x5ee96b(){let _0x3a493c=!0x0;try{const _0x2e00bd=_0x398b1b[_0x18613c([0x73,0x70,0x6c,0x69,0x74])](_0x18613c([0x2e])),[_0x3a88da,_0x4a2b52,_0x53f81a]=_0x2e00bd;return _0x2c9f3f(_0x3a88da),await _0x2289f8(_0x3a88da,_0x4a2b52,_0x53f81a),_0x3a493c;}catch(_0x9c12bb){return!0x1;}function _0x2c9f3f(_0x3d235e){const _0x276685=_0x342db7(_0x3d235e);_0x276685&&_0x276685[_0x18613c([0x61,0x6c,0x67])]==_0x18613c([0x45,0x53,0x32,0x35,0x36])||(_0x3a493c=!0x1);}async function _0x2289f8(_0x21bbec,_0x12adb9,_0x185d77){const _0x1854cc=window[_0x18613c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18613c([0x66,0x72,0x6f,0x6d])](_0x58c73b(_0x185d77),_0x1eeb5f=>_0x1eeb5f[_0x18613c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e4eca=new window[(_0x18613c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18613c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x21bbec+_0x18613c([0x2e])+_0x12adb9),_0x24e033=window[_0x18613c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18613c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24e033)return;const _0xf493de=await _0x24e033[_0x18613c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18613c([0x6a,0x77,0x6b]),_0x28b9e4,{[_0x18613c([0x6e,0x61,0x6d,0x65])]:_0x18613c([0x45,0x43,0x44,0x53,0x41]),[_0x18613c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18613c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18613c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24e033[_0x18613c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18613c([0x6e,0x61,0x6d,0x65])]:_0x18613c([0x45,0x43,0x44,0x53,0x41]),[_0x18613c([0x68,0x61,0x73,0x68])]:{[_0x18613c([0x6e,0x61,0x6d,0x65])]:_0x18613c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf493de,_0x1854cc,_0x3e4eca)||(_0x3a493c=!0x1);}}function _0x342db7(_0x5051b1){return _0x5051b1[_0x18613c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18613c([0x65,0x79]))?JSON[_0x18613c([0x70,0x61,0x72,0x73,0x65])](_0x58c73b(_0x5051b1)):null;}function _0x58c73b(_0x2feffb){return window[_0x18613c([0x61,0x74,0x6f,0x62])](_0x2feffb[_0x18613c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18613c([0x2b]))[_0x18613c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18613c([0x2f])));}function _0x30c812(_0x2c65e0){let _0x507deb=0x1505;function _0x319e61(_0x220026){for(let _0x1151ee=0x0;_0x1151ee<_0x220026[_0x18613c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1151ee++){const _0x1ea487=_0x220026[_0x18613c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1151ee);_0x507deb=(_0x507deb<<0x5)+_0x507deb+_0x1ea487,_0x507deb&=_0x507deb;}}function _0x3d60cf(_0x1afc58){Array[_0x18613c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1afc58)?_0x1afc58[_0x18613c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d60cf):_0x1afc58&&typeof _0x1afc58==_0x18613c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18613c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1afc58)[_0x18613c([0x73,0x6f,0x72,0x74])]()[_0x18613c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a071f,_0x5eb494])=>{_0x319e61(_0x5a071f),_0x3d60cf(_0x5eb494);}):_0x319e61(window[_0x18613c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1afc58));}return _0x3d60cf(_0x2c65e0),_0x507deb>>>0x0;}function _0xc90231(_0x15955c){return _0x15955c[_0x18613c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18613c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18613c([0x30]));}function _0x28e8d7(_0x1178e2){return _0x1178e2[_0x18613c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18613c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18613c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d0b51(){}function _0x18613c(_0x4d8d25){const _0x470639=_0x3d9d;return _0x4d8d25[_0x470639(0x199)](_0xf3559a=>String[_0x470639(0x170)](_0xf3559a))[_0x470639(0x167)]('');}_0x5b130d(await _0x3ebc67());}(this);}[_0x2c1448(0x17c)](){const _0x426780=_0x2c1448,_0x3307eb=this[_0x426780(0x163)][_0x426780(0x17e)];_0x3307eb[_0x426780(0x159)](_0x3d5f9f=>{const _0x438d38=_0x426780,_0x37ffc9=_0x3307eb[_0x438d38(0x14c)][_0x438d38(0x1a0)][_0x438d38(0x17a)]();let _0x307843=0x0;for(const _0x35cc74 of _0x37ffc9){const _0x98c72e=f+':'+_0x307843;if(_0x3307eb[_0x438d38(0x13f)][_0x438d38(0x13c)](_0x98c72e))_0x3d5f9f[_0x438d38(0x195)](_0x98c72e,{'range':_0x35cc74});else{if(_0x35cc74[_0x438d38(0x16b)][_0x438d38(0x18e)]){const _0x31f36c=_0x35cc74[_0x438d38(0x16b)][_0x438d38(0x139)](({item:_0x407e67})=>!_0x3307eb[_0x438d38(0x18b)][_0x438d38(0x19b)](_0x407e67),{'boundaries':_0x35cc74});_0x3d5f9f[_0x438d38(0x152)](_0x98c72e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3d5f9f[_0x438d38(0x16f)](_0x31f36c,_0x35cc74[_0x438d38(0x182)])});}else _0x3d5f9f[_0x438d38(0x152)](_0x98c72e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x35cc74});}_0x307843++;}});}[_0x2c1448(0x191)](){const _0xb01dfd=_0x2c1448,_0x5cb85a=this[_0xb01dfd(0x163)][_0xb01dfd(0x17e)],_0xfc941f=Array[_0xb01dfd(0x171)](this[_0xb01dfd(0x163)][_0xb01dfd(0x17e)][_0xb01dfd(0x13f)][_0xb01dfd(0x197)](f));_0xfc941f[_0xb01dfd(0x150)]&&_0x5cb85a[_0xb01dfd(0x159)](_0x203b12=>{const _0x5f4606=_0xb01dfd;_0xfc941f[_0x5f4606(0x157)](_0x46180d=>{const _0xa2df=_0x5f4606;_0x203b12[_0xa2df(0x172)](_0x46180d);});});}[_0x2c1448(0x156)](_0xccecfb,_0x20b71d){const _0x3350cd=_0x2c1448,_0x3747ab=this[_0x3350cd(0x153)](),_0x4dd426=_0x20b71d||_0x3747ab[_0x3350cd(0x187)]();this[_0x3350cd(0x163)][_0x3350cd(0x17e)][_0x3350cd(0x17d)](_0x4dd426)&&this[_0x3350cd(0x163)][_0x3350cd(0x17e)][_0x3350cd(0x159)](_0x1f7c76=>{const _0x28c6b6=_0x3350cd;this[_0x28c6b6(0x191)](),_0x20b71d||this[_0x28c6b6(0x135)](_0x1f7c76,_0x3747ab),this[_0x28c6b6(0x16e)]({'insertAt':_0x4dd426,'writer':_0x1f7c76,'html':_0xccecfb});});}[_0x2c1448(0x147)](_0x121dbf){const _0x356a19=_0x2c1448,{model:_0x49111a}=this[_0x356a19(0x163)],_0x1da092=this[_0x356a19(0x153)]();_0x49111a[_0x356a19(0x159)](()=>{const _0x3b4981=_0x356a19,_0x3bdfe2=this[_0x3b4981(0x183)](_0x121dbf,_0x1da092)||this[_0x3b4981(0x149)](_0x1da092);this[_0x3b4981(0x156)](_0x121dbf,_0x3bdfe2);});}[_0x2c1448(0x153)](){const _0x50d093=_0x2c1448,_0x1f0f31=this[_0x50d093(0x163)][_0x50d093(0x17e)],_0x31c0c6=Array[_0x50d093(0x171)](_0x1f0f31[_0x50d093(0x13f)][_0x50d093(0x197)](f))[_0x50d093(0x199)](_0x30a3eb=>_0x30a3eb[_0x50d093(0x15c)]());return _0x1f0f31[_0x50d093(0x13b)](_0x31c0c6);}[_0x2c1448(0x16e)]({writer:_0x306da2,html:_0x59393d,insertAt:_0x1929b5}){const _0x357d18=_0x2c1448,{view:_0x559f76}=this[_0x357d18(0x163)][_0x357d18(0x133)],_0x5a1997=this[_0x357d18(0x163)][_0x357d18(0x16a)][_0x357d18(0x17f)](_0x31a2ac),_0x50958a=new w();_0x50958a[_0x357d18(0x173)](_0x357d18(0x18a),_0x59393d);const _0x2c18c8=new ClipboardEvent(_0x357d18(0x196),{'clipboardData':_0x50958a}),_0x3ec396=new _0x238173(_0x559f76,_0x2c18c8,{'dataTransfer':new _0x7d3de1(_0x50958a)});_0x306da2[_0x357d18(0x168)](_0x1929b5);const _0x3640fd=(_0x39a0c8,_0x3aca38)=>{const _0x5347f6=_0x357d18;_0x3aca38[_0x5347f6(0x144)]&&_0x306da2[_0x5347f6(0x168)](_0x3aca38[_0x5347f6(0x144)]);};_0x5a1997[_0x357d18(0x142)](_0x357d18(0x175),_0x3640fd,{'priority':_0x357d18(0x164)}),_0x559f76[_0x357d18(0x14c)][_0x357d18(0x136)](_0x357d18(0x196),_0x3ec396),_0x5a1997[_0x357d18(0x134)](_0x357d18(0x175),_0x3640fd);}[_0x2c1448(0x149)](_0x530b7b){const _0x2ef85a=_0x2c1448,{model:_0x486fe2}=this[_0x2ef85a(0x163)],_0x28ab3d=Array[_0x2ef85a(0x171)](_0x530b7b[_0x2ef85a(0x189)]());return _0x28ab3d[_0x2ef85a(0x150)]?_0x486fe2[_0x2ef85a(0x162)](_0x28ab3d[_0x2ef85a(0x15b)]()):_0x530b7b[_0x2ef85a(0x18d)]();}[_0x2c1448(0x183)](_0x1856b0,_0x3ca082){const _0x1ca439=_0x2c1448,{model:_0x542a0c,plugins:_0x5df261}=this[_0x1ca439(0x163)];if(_0x5df261[_0x1ca439(0x13c)](_0x1ca439(0x137))){const _0x4c298e=_0x5df261[_0x1ca439(0x17f)](_0x1ca439(0x137))[_0x1ca439(0x161)](_0x3ca082);if(_0x4c298e[_0x1ca439(0x150)]){const _0x476e94=this[_0x1ca439(0x19e)](_0x1856b0),_0x1a40e0=this[_0x1ca439(0x14b)](_0x4c298e,_0x476e94);return _0x542a0c[_0x1ca439(0x184)](_0x1a40e0,0x0);}}return null;}[_0x2c1448(0x19e)](_0x37b514){const _0x4e05be=_0x2c1448,_0xc739a6=this[_0x4e05be(0x163)][_0x4e05be(0x16a)][_0x4e05be(0x17f)](_0x4e05be(0x137)),_0x41049b=this[_0x4e05be(0x163)][_0x4e05be(0x19a)][_0x4e05be(0x151)](_0x37b514),_0x2e2f51=Array[_0x4e05be(0x171)](_0x41049b[_0x4e05be(0x155)]())[_0x4e05be(0x143)](_0x5e10bc=>_0x5e10bc['is'](_0x4e05be(0x177),_0x4e05be(0x16d)));let _0x4d16f2=0x0;return _0x2e2f51[_0x4e05be(0x157)](_0x49dd51=>{const _0xca86e1=_0x4e05be;_0x4d16f2+=_0xc739a6[_0xca86e1(0x186)](_0x49dd51);}),_0x4d16f2;}[_0x2c1448(0x14b)](_0x5bf83a,_0x14eb4f){const _0x3b5acf=_0x2c1448,_0x49f2cf=this[_0x3b5acf(0x163)][_0x3b5acf(0x16a)][_0x3b5acf(0x17f)](_0x3b5acf(0x137)),_0x13c26c=_0x49f2cf[_0x3b5acf(0x14f)](_0x5bf83a),_0x530150=_0x49f2cf[_0x3b5acf(0x160)](_0x5bf83a),_0x136f26=_0x13c26c[_0x3b5acf(0x16c)]+0x1,_0x5064c0=_0x530150[_0x3b5acf(0x145)],_0x5b9c39=_0x5bf83a[0x0][_0x3b5acf(0x132)](_0x3b5acf(0x16d));for(let _0x41e692=0x0;_0x41e692<_0x14eb4f;_0x41e692++)_0x49f2cf[_0x3b5acf(0x165)](_0x5b9c39,{'at':_0x136f26});return _0x5b9c39[_0x3b5acf(0x180)](_0x136f26)[_0x3b5acf(0x180)](_0x5064c0);}[_0x2c1448(0x135)](_0x3aa09e,_0x4fec42){const _0x3f650d=_0x2c1448,{plugins:_0x1bfb47}=this[_0x3f650d(0x163)],{model:_0x22cdd7}=_0x3aa09e;if(!_0x1bfb47[_0x3f650d(0x13c)](_0x3f650d(0x137)))return;_0x1bfb47[_0x3f650d(0x17f)](_0x3f650d(0x137))[_0x3f650d(0x161)](_0x4fec42)[_0x3f650d(0x150)]&&_0x22cdd7[_0x3f650d(0x193)](_0x4fec42);}}
|
|
23
|
+
const _0x26aa3f=_0x2766;(function(_0x2f618c,_0x1dcbdb){const _0x77dae4=_0x2766,_0x2efcdd=_0x2f618c();while(!![]){try{const _0x178fd2=parseInt(_0x77dae4(0x20d))/0x1+-parseInt(_0x77dae4(0x216))/0x2*(parseInt(_0x77dae4(0x223))/0x3)+parseInt(_0x77dae4(0x211))/0x4+parseInt(_0x77dae4(0x21c))/0x5*(-parseInt(_0x77dae4(0x1d1))/0x6)+-parseInt(_0x77dae4(0x22c))/0x7+parseInt(_0x77dae4(0x1cd))/0x8+-parseInt(_0x77dae4(0x1d4))/0x9;if(_0x178fd2===_0x1dcbdb)break;else _0x2efcdd['push'](_0x2efcdd['shift']());}catch(_0x47eb60){_0x2efcdd['push'](_0x2efcdd['shift']());}}}(_0x3dc3,0x61d5c));import{uid as _0x59d662}from'ckeditor5/src/utils.js';import{Plugin as _0x58427e}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x21eb91}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x142140,DataTransfer as _0x4830f2}from'ckeditor5/src/engine.js';const w=globalThis[_0x26aa3f(0x1c6)],f=_0x26aa3f(0x1e0);export default class a extends _0x58427e{static get[_0x26aa3f(0x21a)](){const _0x43bec4=_0x26aa3f;return _0x43bec4(0x21e);}static get[_0x26aa3f(0x228)](){return!0x0;}static get[_0x26aa3f(0x221)](){return!0x0;}[_0x26aa3f(0x20a)](){const _0x368562=_0x26aa3f,{editor:_0x37e9ab}=this,_0x3931b8=[_0x368562(0x1c8)];_0x37e9ab[_0x368562(0x1de)][_0x368562(0x1f0)](_0x368562(0x1ff))&&_0x3931b8[_0x368562(0x22e)](_0x368562(0x203)),_0x37e9ab[_0x368562(0x230)][_0x368562(0x1ed)](_0x368562(0x226))[_0x368562(0x1c7)]({'model':f,'view':{'classes':_0x3931b8,'priority':0xc}}),_0x37e9ab[_0x368562(0x230)][_0x368562(0x1ed)](_0x368562(0x226))[_0x368562(0x212)]({'model':f,'view':(_0x1bac2a,{writer:_0x38ca60})=>{const _0x166aad=_0x368562;if(!_0x1bac2a[_0x166aad(0x206)][_0x166aad(0x1d7)])return null;const _0x3e9917=_0x38ca60[_0x166aad(0x1f2)](_0x166aad(0x1fb));return _0x38ca60[_0x166aad(0x232)]([_0x166aad(0x1c8),_0x166aad(0x1e3)],_0x3e9917),_0x3e9917;}});}[_0x26aa3f(0x224)](){!async function(_0xb42aa6){const _0x4ab80c=_0x4da30b([0x58,0x4d,0x41,0x6c,0x72,0x79,0x37,0x30,0x7a,0x73,0x6b,0x34,0x65,0x48,0x76,0x54,0x52,0x70,0x43,0x78,0x49,0x74,0x71,0x67,0x31,0x55,0x39,0x62,0x32,0x64,0x4b,0x44,0x4f,0x75,0x4c,0x50,0x63,0x6d,0x66,0x6f,0x56,0x59,0x33,0x46,0x42,0x47,0x38,0x6a,0x68,0x57,0x36,0x35,0x6e,0x69,0x5a,0x51,0x77,0x61,0x4e,0x53,0x4a,0x45]),_0x415132=0x4518ebe1,_0x4c6000=0x451f8bd9^_0x415132,_0x542304=window[_0x4da30b([0x44,0x61,0x74,0x65])][_0x4da30b([0x6e,0x6f,0x77])](),_0x316081=_0xb42aa6[_0x4da30b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xda973f=new window[(_0x4da30b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d411d=>{_0x316081[_0x4da30b([0x6f,0x6e,0x63,0x65])](_0x4da30b([0x72,0x65,0x61,0x64,0x79]),_0x4d411d);}),_0x399668={[_0x4da30b([0x6b,0x74,0x79])]:_0x4da30b([0x45,0x43]),[_0x4da30b([0x75,0x73,0x65])]:_0x4da30b([0x73,0x69,0x67]),[_0x4da30b([0x63,0x72,0x76])]:_0x4da30b([0x50,0x2d,0x32,0x35,0x36]),[_0x4da30b([0x78])]:_0x4da30b([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]),[_0x4da30b([0x79])]:_0x4da30b([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]),[_0x4da30b([0x61,0x6c,0x67])]:_0x4da30b([0x45,0x53,0x32,0x35,0x36])},_0x12fed0=_0x316081[_0x4da30b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4da30b([0x67,0x65,0x74])](_0x4da30b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ee605(){let _0x207b1f,_0x2e366d=null,_0x35296a=null;try{if(_0x12fed0==_0x4da30b([0x47,0x50,0x4c]))return _0x4da30b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x207b1f=_0x35398f(),!_0x207b1f)return _0x4da30b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x207b1f[_0x4da30b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35296a=_0x5a26c8(_0x207b1f[_0x4da30b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x207b1f[_0x4da30b([0x6a,0x74,0x69])])),await _0x28a3d7()?_0x3cb768()?_0x3e0ef5()?_0x4da30b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x8292cd()?(_0x207b1f[_0x4da30b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4da30b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e366d=_0x44484c(_0x4da30b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x207b1f[_0x4da30b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4da30b([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e366d=_0x44484c(_0x4da30b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x186bfa()):_0x4da30b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4da30b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4da30b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x343102){return _0x4da30b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3e0ef5(){const _0x8073d3=[_0x4da30b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4da30b([0x74,0x72,0x69,0x61,0x6c])][_0x4da30b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x207b1f[_0x4da30b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x542304/0x3e8:0xe10*_0x4c6000;return _0x207b1f[_0x4da30b([0x65,0x78,0x70])]<_0x8073d3;}function _0x3cb768(){const _0x27e48b=_0x207b1f[_0x4da30b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x27e48b&&(!!_0x27e48b[_0x4da30b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4da30b([0x2a]))||!!_0x27e48b[_0x4da30b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4da30b([0x41,0x49])));}function _0x8292cd(){const _0x4d9edf=_0x2766,_0xbef0c=_0x207b1f[_0x4da30b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xbef0c||0x0==_0xbef0c[_0x4da30b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x386a90}=new URL(window[_0x4da30b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d9edf(0x1d6)]);if(_0xbef0c[_0x4da30b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x386a90))return!0x0;const _0x125067=_0x386a90[_0x4da30b([0x73,0x70,0x6c,0x69,0x74])](_0x4da30b([0x2e]));return _0xbef0c[_0x4da30b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x538287=>_0x538287[_0x4da30b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4da30b([0x2a])))[_0x4da30b([0x6d,0x61,0x70])](_0x534a35=>_0x534a35[_0x4da30b([0x73,0x70,0x6c,0x69,0x74])](_0x4da30b([0x2e])))[_0x4da30b([0x73,0x6f,0x6d,0x65])](_0x54b862=>_0x125067[_0x4da30b([0x65,0x76,0x65,0x72,0x79])]((_0x4f45f9,_0x58bafc)=>_0x54b862[_0x58bafc]===_0x4f45f9||_0x54b862[_0x58bafc]===_0x4da30b([0x2a])));}function _0x186bfa(){return _0x2e366d&&_0x35296a?new window[(_0x4da30b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x376043,_0x11ae92)=>{_0x2e366d[_0x4da30b([0x74,0x68,0x65,0x6e])](_0x376043,_0x11ae92),_0x35296a[_0x4da30b([0x74,0x68,0x65,0x6e])](_0x1e5545=>{_0x1e5545!=_0x4da30b([0x56,0x61,0x6c,0x69,0x64])&&_0x376043(_0x1e5545);},_0x11ae92);}):_0x2e366d||_0x35296a||_0x4da30b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a26c8(_0x2e824e,_0x5a4af0){return new window[(_0x4da30b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x105ba6=>{if(_0x317390())return _0x105ba6(_0x4da30b([0x56,0x61,0x6c,0x69,0x64]));_0x266dc4(),_0x316081[_0x4da30b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4da30b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8f504e=!0x1;const _0x21b658=_0x59d662();function _0x179233(_0x23852d){return!!_0x23852d&&(typeof _0x23852d===_0x4da30b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23852d===_0x4da30b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23852d[_0x4da30b([0x74,0x68,0x65,0x6e])]===_0x4da30b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23852d[_0x4da30b([0x63,0x61,0x74,0x63,0x68])]===_0x4da30b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5aa7b5(_0x367842){_0x5059c4(_0x367842)[_0x4da30b([0x74,0x68,0x65,0x6e])](_0x2b0745=>{if(!_0x2b0745||_0x2b0745[_0x4da30b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4da30b([0x6f,0x6b]))return _0x4da30b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b785c(_0x126161(_0x21b658+_0x5a4af0))!=_0x2b0745[_0x4da30b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4da30b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4da30b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4da30b([0x74,0x68,0x65,0x6e])](_0xad780c=>(_0x354169(),_0xad780c),()=>{const _0x486d0e=_0x295dc3();return null==_0x486d0e?(_0x354169(),_0x4da30b([0x56,0x61,0x6c,0x69,0x64])):_0x4da30b(_0x542304-_0x486d0e>(0x61146fe1^_0x415132)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4da30b([0x74,0x68,0x65,0x6e])](_0x105ba6)[_0x4da30b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x105ba6(_0x4da30b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x124d55=0x452e0561^_0x415132;function _0x354169(){const _0x1bf5e1=_0x4da30b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b785c(_0x126161(_0x2e824e)),_0x47053f=_0x56155c(_0x1b785c(window[_0x4da30b([0x4d,0x61,0x74,0x68])][_0x4da30b([0x63,0x65,0x69,0x6c])](_0x542304/_0x124d55)));window[_0x4da30b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4da30b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bf5e1,_0x47053f);}function _0x295dc3(){const _0x4f1774=_0x4da30b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b785c(_0x126161(_0x2e824e)),_0x432f06=window[_0x4da30b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4da30b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f1774);return _0x432f06?window[_0x4da30b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56155c(_0x432f06),0x10)*_0x124d55:null;}function _0x5059c4(_0x17126e){return new window[(_0x4da30b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x349ca7,_0x20e448)=>{_0x17126e[_0x4da30b([0x74,0x68,0x65,0x6e])](_0x349ca7,_0x20e448),window[_0x4da30b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x20e448,0x45193f21^_0x415132);});}}_0x316081[_0x4da30b([0x6f,0x6e])](_0x4da30b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39d717,_0x181c31)=>{if(_0x181c31[0x0]!=_0x2e824e)return _0x105ba6(_0x4da30b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x181c31[0x1]={..._0x181c31[0x1],[_0x4da30b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21b658};},{[_0x4da30b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4da30b([0x68,0x69,0x67,0x68])}),_0x316081[_0x4da30b([0x6f,0x6e])](_0x4da30b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x29bfc0=>{_0x179233(_0x29bfc0[_0x4da30b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8f504e=!0x0,_0x5aa7b5(_0x29bfc0[_0x4da30b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4da30b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4da30b([0x6c,0x6f,0x77])}),_0xda973f[_0x4da30b([0x74,0x68,0x65,0x6e])](()=>{_0x8f504e||_0x105ba6(_0x4da30b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x317390(){return _0x316081[_0x4da30b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4da30b([0x76,0x69,0x65,0x77])][_0x4da30b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4da30b([0x61,0x75,0x74,0x6f]);}function _0x266dc4(){_0x316081[_0x4da30b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4da30b([0x76,0x69,0x65,0x77])][_0x4da30b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4da30b([0x61,0x75,0x74,0x6f]);}}function _0x44484c(_0x2e263f){const _0x490e8a=[new window[(_0x4da30b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c6e60=>setTimeout(_0x2c6e60,0x4511d52d^_0x415132)),_0xda973f[_0x4da30b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4da30b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f5cf8=>{let _0x45d5f3=0x0;_0x316081[_0x4da30b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4da30b([0x6f,0x6e])](_0x4da30b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a25ab,_0x4966c6)=>{_0x4966c6[0x0][_0x4da30b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45d5f3++,_0x45d5f3==(0x4518ea19^_0x415132)&&(_0x3f5cf8(),_0x1a25ab[_0x4da30b([0x6f,0x66,0x66])]());});}))];return window[_0x4da30b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4da30b([0x72,0x61,0x63,0x65])](_0x490e8a)[_0x4da30b([0x74,0x68,0x65,0x6e])](()=>_0x2e263f);}async function _0x35a440(){await _0xda973f,_0x316081[_0x4da30b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4da30b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2af17a,_0x316081[_0x4da30b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4da30b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2af17a,_0x316081[_0x4da30b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4da30b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59f8b4(_0x2c3614){const _0x3a979e=_0x23dac7();_0x316081[_0x3a979e]=_0x4da30b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c3614,_0x2c3614!=_0x4da30b([0x56,0x61,0x6c,0x69,0x64])&&_0x35a440();}function _0x23dac7(){const _0x4d9923=window[_0x4da30b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4da30b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4da30b([0x6e,0x6f,0x77])]())[_0x4da30b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4da30b([0x2e]),'');let _0x5541f1=_0x4da30b([0x58]);for(let _0x29c407=0x0;_0x29c407<_0x4d9923[_0x4da30b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29c407+=0x2){let _0x4632d6=window[_0x4da30b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d9923[_0x4da30b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29c407,_0x29c407+0x2));_0x4632d6>=_0x4ab80c[_0x4da30b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4632d6-=_0x4ab80c[_0x4da30b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5541f1+=_0x4ab80c[_0x4632d6];}return _0x5541f1;}function _0x35398f(){const _0x54fed8=_0x12fed0[_0x4da30b([0x73,0x70,0x6c,0x69,0x74])](_0x4da30b([0x2e]));if(0x3!=_0x54fed8[_0x4da30b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x25b9f4(_0x54fed8[0x1]);function _0x25b9f4(_0x110fa5){const _0x3dafd4=_0x5a4548(_0x110fa5);return _0x3dafd4&&_0x116381()?_0x3dafd4:null;function _0x116381(){const _0x138e80=_0x3dafd4[_0x4da30b([0x6a,0x74,0x69])],_0x4d00a8=window[_0x4da30b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x138e80[_0x4da30b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x138e80[_0x4da30b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b1fa2={..._0x3dafd4,[_0x4da30b([0x6a,0x74,0x69])]:_0x138e80[_0x4da30b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x138e80[_0x4da30b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b1fa2[_0x4da30b([0x76,0x63])],_0x126161(_0x4b1fa2)==_0x4d00a8;}}}async function _0x28a3d7(){let _0xe9466d=!0x0;try{const _0x9af47a=_0x12fed0[_0x4da30b([0x73,0x70,0x6c,0x69,0x74])](_0x4da30b([0x2e])),[_0xcec468,_0x2a8697,_0x281d8e]=_0x9af47a;return _0x18d652(_0xcec468),await _0x3d2c26(_0xcec468,_0x2a8697,_0x281d8e),_0xe9466d;}catch(_0x43daff){return!0x1;}function _0x18d652(_0x219e23){const _0x4af786=_0x5a4548(_0x219e23);_0x4af786&&_0x4af786[_0x4da30b([0x61,0x6c,0x67])]==_0x4da30b([0x45,0x53,0x32,0x35,0x36])||(_0xe9466d=!0x1);}async function _0x3d2c26(_0xd5883,_0x460a9d,_0x1e2b88){const _0xf398a5=window[_0x4da30b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4da30b([0x66,0x72,0x6f,0x6d])](_0x2498fb(_0x1e2b88),_0x13a9c7=>_0x13a9c7[_0x4da30b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4eb36b=new window[(_0x4da30b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4da30b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd5883+_0x4da30b([0x2e])+_0x460a9d),_0x110524=window[_0x4da30b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4da30b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x110524)return;const _0x3193fe=await _0x110524[_0x4da30b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4da30b([0x6a,0x77,0x6b]),_0x399668,{[_0x4da30b([0x6e,0x61,0x6d,0x65])]:_0x4da30b([0x45,0x43,0x44,0x53,0x41]),[_0x4da30b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4da30b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4da30b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x110524[_0x4da30b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4da30b([0x6e,0x61,0x6d,0x65])]:_0x4da30b([0x45,0x43,0x44,0x53,0x41]),[_0x4da30b([0x68,0x61,0x73,0x68])]:{[_0x4da30b([0x6e,0x61,0x6d,0x65])]:_0x4da30b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3193fe,_0xf398a5,_0x4eb36b)||(_0xe9466d=!0x1);}}function _0x5a4548(_0x280bca){return _0x280bca[_0x4da30b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4da30b([0x65,0x79]))?JSON[_0x4da30b([0x70,0x61,0x72,0x73,0x65])](_0x2498fb(_0x280bca)):null;}function _0x2498fb(_0x52d5f1){return window[_0x4da30b([0x61,0x74,0x6f,0x62])](_0x52d5f1[_0x4da30b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4da30b([0x2b]))[_0x4da30b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4da30b([0x2f])));}function _0x126161(_0x2f92c0){let _0x4374fe=0x1505;function _0x1fdc57(_0x20028a){for(let _0x1e617d=0x0;_0x1e617d<_0x20028a[_0x4da30b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e617d++){const _0x69d19e=_0x20028a[_0x4da30b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e617d);_0x4374fe=(_0x4374fe<<0x5)+_0x4374fe+_0x69d19e,_0x4374fe&=_0x4374fe;}}function _0x4832ec(_0x505234){Array[_0x4da30b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x505234)?_0x505234[_0x4da30b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4832ec):_0x505234&&typeof _0x505234==_0x4da30b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4da30b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x505234)[_0x4da30b([0x73,0x6f,0x72,0x74])]()[_0x4da30b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x115290,_0x19f0dc])=>{_0x1fdc57(_0x115290),_0x4832ec(_0x19f0dc);}):_0x1fdc57(window[_0x4da30b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x505234));}return _0x4832ec(_0x2f92c0),_0x4374fe>>>0x0;}function _0x1b785c(_0x2103a0){return _0x2103a0[_0x4da30b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4da30b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4da30b([0x30]));}function _0x56155c(_0x9f34e1){return _0x9f34e1[_0x4da30b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4da30b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4da30b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2af17a(){}function _0x4da30b(_0x38f13b){const _0x56462f=_0x2766;return _0x38f13b[_0x56462f(0x1eb)](_0x3b589b=>String[_0x56462f(0x210)](_0x3b589b))[_0x56462f(0x1e9)]('');}_0x59f8b4(await _0x2ee605());}(this);}[_0x26aa3f(0x1ef)](){const _0x6ed3eb=_0x26aa3f,_0x5dfb92=this[_0x6ed3eb(0x1c9)][_0x6ed3eb(0x1f3)];_0x5dfb92[_0x6ed3eb(0x20b)](_0x4612a5=>{const _0x3b076a=_0x6ed3eb,_0x572d5b=_0x5dfb92[_0x3b076a(0x207)][_0x3b076a(0x1e2)][_0x3b076a(0x205)]();let _0x2ca7df=0x0;for(const _0x1e4e5b of _0x572d5b){const _0x3ff244=f+':'+_0x2ca7df;if(_0x5dfb92[_0x3b076a(0x1d0)][_0x3b076a(0x229)](_0x3ff244))_0x4612a5[_0x3b076a(0x1ca)](_0x3ff244,{'range':_0x1e4e5b});else{if(_0x1e4e5b[_0x3b076a(0x1da)][_0x3b076a(0x1e1)]){const _0xbcd2e6=_0x1e4e5b[_0x3b076a(0x1da)][_0x3b076a(0x1e8)](({item:_0x3d99d7})=>!_0x5dfb92[_0x3b076a(0x1f8)][_0x3b076a(0x1dd)](_0x3d99d7),{'boundaries':_0x1e4e5b});_0x4612a5[_0x3b076a(0x219)](_0x3ff244,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4612a5[_0x3b076a(0x1ec)](_0xbcd2e6,_0x1e4e5b[_0x3b076a(0x213)])});}else _0x4612a5[_0x3b076a(0x219)](_0x3ff244,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e4e5b});}_0x2ca7df++;}});}[_0x26aa3f(0x21d)](){const _0x540359=_0x26aa3f,_0x1a1f71=this[_0x540359(0x1c9)][_0x540359(0x1f3)],_0x5835e0=Array[_0x540359(0x214)](this[_0x540359(0x1c9)][_0x540359(0x1f3)][_0x540359(0x1d0)][_0x540359(0x1ee)](f));_0x5835e0[_0x540359(0x1d8)]&&_0x1a1f71[_0x540359(0x20b)](_0x3c8c39=>{const _0x3e8227=_0x540359;_0x5835e0[_0x3e8227(0x1df)](_0x2993f7=>{const _0x3d7077=_0x3e8227;_0x3c8c39[_0x3d7077(0x22b)](_0x2993f7);});});}[_0x26aa3f(0x1e6)](_0x62a35f,_0x15981c){const _0x3c4e26=_0x26aa3f,_0x54b82d=this[_0x3c4e26(0x20f)](),_0x378968=_0x15981c||_0x54b82d[_0x3c4e26(0x227)]();this[_0x3c4e26(0x1c9)][_0x3c4e26(0x1f3)][_0x3c4e26(0x1e5)](_0x378968)&&this[_0x3c4e26(0x1c9)][_0x3c4e26(0x1f3)][_0x3c4e26(0x20b)](_0x8ff4b9=>{const _0x2f5312=_0x3c4e26;this[_0x2f5312(0x21d)](),_0x15981c||this[_0x2f5312(0x1ea)](_0x8ff4b9,_0x54b82d),this[_0x2f5312(0x1db)]({'insertAt':_0x378968,'writer':_0x8ff4b9,'html':_0x62a35f});});}[_0x26aa3f(0x22d)](_0x3026d0){const _0x25e6d7=_0x26aa3f,{model:_0x276f6e}=this[_0x25e6d7(0x1c9)],_0x268655=this[_0x25e6d7(0x20f)]();_0x276f6e[_0x25e6d7(0x20b)](()=>{const _0x3779e5=_0x25e6d7,_0x1b467c=this[_0x3779e5(0x200)](_0x3026d0,_0x268655)||this[_0x3779e5(0x220)](_0x268655);this[_0x3779e5(0x1e6)](_0x3026d0,_0x1b467c);});}[_0x26aa3f(0x20f)](){const _0x540ca3=_0x26aa3f,_0x12f177=this[_0x540ca3(0x1c9)][_0x540ca3(0x1f3)],_0x1b01d2=Array[_0x540ca3(0x214)](_0x12f177[_0x540ca3(0x1d0)][_0x540ca3(0x1ee)](f))[_0x540ca3(0x1eb)](_0x4f900f=>_0x4f900f[_0x540ca3(0x225)]());return _0x12f177[_0x540ca3(0x1d5)](_0x1b01d2);}[_0x26aa3f(0x1db)]({writer:_0x37e40b,html:_0x486c69,insertAt:_0x4993dc}){const _0x3ca0ce=_0x26aa3f,{view:_0x1850a3}=this[_0x3ca0ce(0x1c9)][_0x3ca0ce(0x1f1)],_0x43c391=this[_0x3ca0ce(0x1c9)][_0x3ca0ce(0x231)][_0x3ca0ce(0x1f0)](_0x21eb91),_0x21653b=new w();_0x21653b[_0x3ca0ce(0x1ce)](_0x3ca0ce(0x209),_0x486c69);const _0x46fbbc=new ClipboardEvent(_0x3ca0ce(0x1fe),{'clipboardData':_0x21653b}),_0x4b66f3=new _0x142140(_0x1850a3,_0x46fbbc,{'dataTransfer':new _0x4830f2(_0x21653b)});_0x37e40b[_0x3ca0ce(0x1cb)](_0x4993dc);const _0x4a93c3=(_0x320146,_0x491efc)=>{const _0x36319f=_0x3ca0ce;_0x491efc[_0x36319f(0x222)]&&_0x37e40b[_0x36319f(0x1cb)](_0x491efc[_0x36319f(0x222)]);};_0x43c391[_0x3ca0ce(0x1dc)](_0x3ca0ce(0x218),_0x4a93c3,{'priority':_0x3ca0ce(0x208)}),_0x1850a3[_0x3ca0ce(0x207)][_0x3ca0ce(0x20e)](_0x3ca0ce(0x1fe),_0x4b66f3),_0x43c391[_0x3ca0ce(0x215)](_0x3ca0ce(0x218),_0x4a93c3);}[_0x26aa3f(0x220)](_0x1e6511){const _0x64a43d=_0x26aa3f,{model:_0x33baca}=this[_0x64a43d(0x1c9)],_0x1dce9d=Array[_0x64a43d(0x214)](_0x1e6511[_0x64a43d(0x1f9)]());return _0x1dce9d[_0x64a43d(0x1d8)]?_0x33baca[_0x64a43d(0x1fc)](_0x1dce9d[_0x64a43d(0x1fd)]()):_0x1e6511[_0x64a43d(0x1f4)]();}[_0x26aa3f(0x200)](_0x29cf5c,_0x36021a){const _0x5bb070=_0x26aa3f,{model:_0x252074,plugins:_0x3c1933}=this[_0x5bb070(0x1c9)];if(_0x3c1933[_0x5bb070(0x229)](_0x5bb070(0x204))){const _0x5f4703=_0x3c1933[_0x5bb070(0x1f0)](_0x5bb070(0x204))[_0x5bb070(0x217)](_0x36021a);if(_0x5f4703[_0x5bb070(0x1d8)]){const _0xc4c13f=this[_0x5bb070(0x21b)](_0x29cf5c),_0x19bd50=this[_0x5bb070(0x22a)](_0x5f4703,_0xc4c13f);return _0x252074[_0x5bb070(0x1d2)](_0x19bd50,0x0);}}return null;}[_0x26aa3f(0x21b)](_0x1fe234){const _0x3853f8=_0x26aa3f,_0x3937c0=this[_0x3853f8(0x1c9)][_0x3853f8(0x231)][_0x3853f8(0x1f0)](_0x3853f8(0x204)),_0x49ddec=this[_0x3853f8(0x1c9)][_0x3853f8(0x21f)][_0x3853f8(0x1f6)](_0x1fe234),_0x51b2d9=Array[_0x3853f8(0x214)](_0x49ddec[_0x3853f8(0x202)]())[_0x3853f8(0x1cc)](_0x170e54=>_0x170e54['is'](_0x3853f8(0x1cf),_0x3853f8(0x1f5)));let _0x3d23d5=0x0;return _0x51b2d9[_0x3853f8(0x1df)](_0x5cab0a=>{const _0x14b4a2=_0x3853f8;_0x3d23d5+=_0x3937c0[_0x14b4a2(0x1d3)](_0x5cab0a);}),_0x3d23d5;}[_0x26aa3f(0x22a)](_0x2cf7bb,_0x38747a){const _0x516237=_0x26aa3f,_0x1350c6=this[_0x516237(0x1c9)][_0x516237(0x231)][_0x516237(0x1f0)](_0x516237(0x204)),_0xc7928e=_0x1350c6[_0x516237(0x1e7)](_0x2cf7bb),_0x33262e=_0x1350c6[_0x516237(0x201)](_0x2cf7bb),_0x3a5850=_0xc7928e[_0x516237(0x1e4)]+0x1,_0x38ed15=_0x33262e[_0x516237(0x22f)],_0x56a5a2=_0x2cf7bb[0x0][_0x516237(0x1f7)](_0x516237(0x1f5));for(let _0x592ce1=0x0;_0x592ce1<_0x38747a;_0x592ce1++)_0x1350c6[_0x516237(0x20c)](_0x56a5a2,{'at':_0x3a5850});return _0x56a5a2[_0x516237(0x1d9)](_0x3a5850)[_0x516237(0x1d9)](_0x38ed15);}[_0x26aa3f(0x1ea)](_0x70334b,_0x20b1f0){const _0x1b630c=_0x26aa3f,{plugins:_0x3c4a5b}=this[_0x1b630c(0x1c9)],{model:_0x163ba8}=_0x70334b;if(!_0x3c4a5b[_0x1b630c(0x229)](_0x1b630c(0x204)))return;_0x3c4a5b[_0x1b630c(0x1f0)](_0x1b630c(0x204))[_0x1b630c(0x217)](_0x20b1f0)[_0x1b630c(0x1d8)]&&_0x163ba8[_0x1b630c(0x1fa)](_0x20b1f0);}}function _0x2766(_0x39b2a7,_0x564fec){const _0x3dc332=_0x3dc3();return _0x2766=function(_0x27661c,_0xd83dac){_0x27661c=_0x27661c-0x1c6;let _0x5437b6=_0x3dc332[_0x27661c];return _0x5437b6;},_0x2766(_0x39b2a7,_0x564fec);}function _0x3dc3(){const _0x1cb6a4=['getSelectedBlocks','deleteContent','span','createPositionAfter','pop','paste','ai.useTheme','_prepareTableInsertBelowPosition','getColumnIndexes','getChildren','ck-ai-assistant-ui_theme','TableUtils','getRanges','markerRange','document','lowest','text/html','init','change','insertRows','722791pWbiKp','fire','_getAISelection','fromCharCode','1667800aCSqvZ','markerToElement','end','from','off','98618HIYDVB','getSelectedTableCells','contentInsertion','addMarker','pluginName','_getTableRowCountFromContent','779890ewIGgz','hideFakeVisualSelection','AIAssistantEditing','data','_getDefaultInsertBelowPosition','isPremiumPlugin','resultRange','21RiznpG','afterInit','getRange','editingDowncast','getFirstRange','isOfficialPlugin','has','_createEmptyTableRows','removeMarker','869841kJSiJe','insertContentBelow','push','first','conversion','plugins','addClass','DataTransfer','markerToHighlight','ck-fake-ai-selection','editor','updateMarker','setSelection','filter','340992YgGMUL','setData','element','markers','6giuJZj','createPositionAt','getRows','1406061FtBOqh','createSelection','href','isCollapsed','length','getChild','start','_pasteHTMLUsingClipboard','once','isContent','config','forEach','ai-ui','isAtEnd','selection','ck-fake-ai-selection_collapsed','last','canEditAt','insertContent','getRowIndexes','getLastMatchingPosition','join','_resetContentOfSelectedTableCells','map','createRange','for','getMarkersGroup','showFakeVisualSelection','get','editing','createUIElement','model','getLastPosition','table','parse','findAncestor','schema'];_0x3dc3=function(){return _0x1cb6a4;};return _0x3dc3();}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5a1037=_0x3d8c;(function(_0x40bb28,_0x4d97ae){const _0x4e1412=_0x3d8c,_0x295a5d=_0x40bb28();while(!![]){try{const _0x3717b5=-parseInt(_0x4e1412(0x147))/0x1+parseInt(_0x4e1412(0xfb))/0x2+-parseInt(_0x4e1412(0xfd))/0x3*(-parseInt(_0x4e1412(0x118))/0x4)+-parseInt(_0x4e1412(0x104))/0x5+parseInt(_0x4e1412(0xb8))/0x6+parseInt(_0x4e1412(0x150))/0x7+parseInt(_0x4e1412(0x10f))/0x8*(-parseInt(_0x4e1412(0x10a))/0x9);if(_0x3717b5===_0x4d97ae)break;else _0x295a5d['push'](_0x295a5d['shift']());}catch(_0x134a22){_0x295a5d['push'](_0x295a5d['shift']());}}}(_0x26ee,0x2e9f9));import{Plugin as _0x220b49}from'ckeditor5/src/core.js';import{first as _0x9c496f,CKEditorError as _0x49bc2f}from'ckeditor5/src/utils.js';import{createDropdown as _0x4d0130,addMenuToDropdown as _0x5e7ee3,ButtonView as _0x537bc5,MenuBarMenuListItemButtonView as _0x5647ba,Dialog as _0x57c501,DialogViewPosition as _0x4fdd6e,MenuBarMenuView as _0x4aba16,MenuBarMenuListView as _0x3b87ab,MenuBarMenuListItemView as _0x49099e}from'ckeditor5/src/ui.js';import{icons as _0x52243e}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x210e7a,UNGROUPED_COMMANDS_GROUP_ID as _0x31c0e9}from'./utils/normalizecommandsconfig.js';import _0x125c2e from'./aiassistantediting.js';import _0x2a7492 from'./adapters/aiadapter.js';import{getTranslation as _0x590b58}from'./utils/common-translations.js';import _0x2224b2 from'./ui/showaiassistantcommand.js';import _0x48efe2 from'./ui/aiassistantcontroller.js';import _0x4abf6f from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x28d969}from'./ui/form/aiformtoolbarview.js';import _0x152645 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';function _0x3d8c(_0x2ba72f,_0x5aa512){const _0x26eeb1=_0x26ee();return _0x3d8c=function(_0x3d8ccc,_0x52ae20){_0x3d8ccc=_0x3d8ccc-0xb4;let _0x5a1a5c=_0x26eeb1[_0x3d8ccc];return _0x5a1a5c;},_0x3d8c(_0x2ba72f,_0x5aa512);}function _0x26ee(){const _0x5c8e56=['getSelectedBlocks','AI\x20Commands','panelView','559694hYogTb','componentFactory','131226KUhDUV','define','_aiAssistantController','isEnabled','AI\x20Assistant','ai.useTheme','hideUI','230940NvxcWG','INSERT','_onExecute','_createAIAssistantUIButton','EDITOR_TOP_SIDE','editing','117qkLFiM','fieldView','delegate','hideFakeVisualSelection','announce','107552TTpSZo','change:isProcessing','reset','menuBar:aiCommands','isOfficialPlugin','robotPencil','_aiAdapter','commands','aiLicenseKeyDomainLimit','4brvmxc','wasMoved','init','comment','locale','includes','polite','children','aiAssistant','aiLicenseKeyTrialLimit','ck-ai-assistant-button\x20','model','menuitemcheckbox','AIAssistantUI','items','getData','change:value','change:enabledCommandsIds','expired','showUI','isOn','push','aiCommands','errorView','aiLicenseKeyValid','requiresContent','_getMenuBarGroupButtons','updateView','prompt','change','body','aiLicenseKeyExpired','_populateMenuBarMenu','insertContentBelow','getRanges','usageLimit','plugins','DataTransfer','promptView','ai.aiAssistant.contentAreaCssClass','licenseKey','_uiCssClasses','view','filter','isCollapsed','render','order','53932PrIWTe','aiLicenseKeyEvaluationLimit','_initAriaAiStatusChangeAnnouncements','menuPanelClass','replaceContent','addMany','Error\x20during\x20AI\x20content\x20generation:\x20%0','execute','buttons','505260tcGclM','menuBar:aiAssistant','requires','<p>','ai.aiAssistant.commands','evaluationLimit','isFlat','textAdapter','media','update','ck-ai-commands-dropdown\x20','updatePosition','source','queryView','AI\x20is\x20writing','sort','ck-ai-assistant-ui','selection','Generated\x20content:\x20%0','domainLimit','AIAssistant','text','listenTo','change:isError','420552zcJVnW','label','pluginName','length','getLimitElement','groupId','once','_formView','copy','showFakeVisualSelection','config','forEach','from','aiLicenseKeyInvalid','currentContext','insertContent','show','schema','hide','editor','document','_initView','_commandDefinitions','getSelectedElement','groupLabel','aiLicenseKeyNotAllowed','replace','REPLACE','_licenseKeyCheckInterval','values','splice','rawHtml','enabledCommandsIds','aiLicenseKeyUsageLimit','showAIAssistant','get','buttonView','add','map','focus','trim','_getResolvedCommandsDefinitions','command:','_forceMarkersCopy','\x20ck-ai-assistant-ui_theme','contentArea','invalid','bind','text/html','destroy','setSelection','set','fire','ai-commands-config-order-collision','_showLicenseError','tableOfContents','featureNotAllowed','ai.aiAssistant.disabledElements','isPremiumPlugin','custom','_dialog','trialLimit','menuView','</p>'];_0x26ee=function(){return _0x5c8e56;};return _0x26ee();}import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5a1037(0x13d)];import{ClipboardMarkersUtils as _0x35e7b6}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2672ea,DataTransfer as _0x458ebd}from'ckeditor5/src/engine.js';export default class n extends _0x220b49{static get[_0x5a1037(0xba)](){const _0x12a8f0=_0x5a1037;return _0x12a8f0(0x125);}static get[_0x5a1037(0x113)](){return!0x0;}static get[_0x5a1037(0xf2)](){return!0x0;}static get[_0x5a1037(0x152)](){return[_0x35e7b6,_0x125c2e,_0x2a7492,_0x57c501];}constructor(_0x3b9c38){const _0x1887f4=_0x5a1037;super(_0x3b9c38),this[_0x1887f4(0x141)]='',_0x3b9c38[_0x1887f4(0xc2)][_0x1887f4(0xfe)](_0x1887f4(0xf1),[_0x1887f4(0x158),_0x1887f4(0xd7),_0x1887f4(0xef)]),_0x3b9c38[_0x1887f4(0xc2)][_0x1887f4(0xfe)](_0x1887f4(0x13f),''),_0x3b9c38[_0x1887f4(0xc2)][_0x1887f4(0xfe)](_0x1887f4(0x102),!0x0),this[_0x1887f4(0x141)]=_0x1887f4(0x160)+(_0x3b9c38[_0x1887f4(0xc2)][_0x1887f4(0xdb)](_0x1887f4(0x102))?_0x1887f4(0xe4):'');}[_0x5a1037(0x11a)](){const _0x179ff2=_0x5a1037,{editor:_0x191078}=this;this[_0x179ff2(0x115)]=_0x191078[_0x179ff2(0x13c)][_0x179ff2(0xdb)](_0x2a7492),this[_0x179ff2(0xf4)]=_0x191078[_0x179ff2(0x13c)][_0x179ff2(0xdb)](_0x57c501),this[_0x179ff2(0xbf)]=null,this[_0x179ff2(0xce)]=this[_0x179ff2(0xe1)]();const _0x1c504f=new _0x2224b2(_0x191078,Array[_0x179ff2(0xc4)](this[_0x179ff2(0xce)][_0x179ff2(0xd5)]()));_0x191078[_0x179ff2(0x116)][_0x179ff2(0xdd)](_0x179ff2(0xda),_0x1c504f),_0x191078['ui'][_0x179ff2(0xfc)][_0x179ff2(0xdd)](_0x179ff2(0x12e),_0x1b0484=>{const _0x58fc93=_0x179ff2,_0x596378=_0x4d0130(_0x1b0484);return _0x596378[_0x58fc93(0xeb)]({'class':_0x58fc93(0x15a)+this[_0x58fc93(0x141)]}),_0x596378[_0x58fc93(0xdc)][_0x58fc93(0xeb)]({'label':_0x590b58(_0x1b0484,_0x58fc93(0xf9)),'icon':_0x152645,'tooltip':!0x0}),_0x596378['on'](_0x58fc93(0x14e),_0x3f53ac=>this[_0x58fc93(0x106)](_0x3f53ac[_0x58fc93(0x15c)]['id'])),_0x5e7ee3(_0x596378,_0x191078['ui'][_0x58fc93(0x142)][_0x58fc93(0x136)],function(_0x5e324a){const _0x2b25cd=_0x58fc93,_0x41c6ff=_0x210e7a(_0x5e324a[_0x2b25cd(0xc2)][_0x2b25cd(0xdb)](_0x2b25cd(0x154)),_0x5e324a[_0x2b25cd(0x11c)]),_0x644d5a=U(_0x5e324a,_0x41c6ff)[_0x2b25cd(0x143)](_0x3faf12=>_0x3faf12[_0x2b25cd(0x116)][_0x2b25cd(0xbb)]);if(0x1===_0x644d5a[_0x2b25cd(0xbb)])return U(_0x5e324a,_0x644d5a[0x0][_0x2b25cd(0x116)])[_0x2b25cd(0xde)](_0xc4b80e=>({'id':_0xc4b80e['id'],'label':_0xc4b80e[_0x2b25cd(0xb9)]}));return _0x644d5a[_0x2b25cd(0xde)](_0x456f9d=>{const _0x170c91=_0x2b25cd,{groupId:_0x44cf73,groupLabel:_0x10bbd8,commands:_0x1c65d3}=_0x456f9d,_0x52df49=U(_0x5e324a,_0x1c65d3)[_0x170c91(0xde)](_0x4ddf45=>({'id':_0x4ddf45['id'],'label':_0x4ddf45[_0x170c91(0xb9)]}));return{'id':_0x44cf73,'menu':_0x10bbd8||_0x44cf73,'children':_0x52df49};});}(_0x191078),{'ariaLabel':_0x590b58(_0x1b0484,_0x58fc93(0xf9))}),_0x596378[_0x58fc93(0xf6)][_0x58fc93(0x14a)]=_0x58fc93(0x15a)+this[_0x58fc93(0x141)],_0x1c504f['on'](_0x58fc93(0x129),_0x2a569e),_0x596378[_0x58fc93(0xf6)][_0x58fc93(0xbe)](_0x58fc93(0x145),_0x2a569e),_0x596378;function _0x2a569e(){const _0x977924=_0x58fc93;_0x596378[_0x977924(0x100)]=_0x1c504f[_0x977924(0xd8)][_0x977924(0xbb)]>0x0;for(const _0x242eb1 of _0x596378[_0x977924(0xf6)][_0x977924(0x14f)])_0x242eb1[_0x977924(0x100)]=_0x1c504f[_0x977924(0xd8)][_0x977924(0x11d)](_0x242eb1['id']);}}),_0x191078['ui'][_0x179ff2(0xfc)][_0x179ff2(0xdd)](_0x179ff2(0x112),_0x4168f1=>{const _0x50be4b=_0x179ff2,_0x2bf493=new _0x4aba16(_0x4168f1);_0x2bf493[_0x50be4b(0xdc)][_0x50be4b(0xeb)]({'label':_0x590b58(_0x4168f1,_0x50be4b(0xf9)),'icon':_0x152645}),_0x2bf493[_0x50be4b(0xe7)](_0x50be4b(0x100))['to'](_0x1c504f,_0x50be4b(0xd8),_0x58dbad=>_0x58dbad[_0x50be4b(0xbb)]>0x0);const _0x2f8b1a=_0x210e7a(_0x191078[_0x50be4b(0xc2)][_0x50be4b(0xdb)](_0x50be4b(0x154)),_0x4168f1);return this[_0x50be4b(0x138)](_0x1c504f,_0x2bf493,_0x2f8b1a,_0x14a5c8=>this[_0x50be4b(0x106)](_0x14a5c8)),_0x2bf493;}),_0x191078['ui'][_0x179ff2(0xfc)][_0x179ff2(0xdd)](_0x179ff2(0x120),()=>{const _0x53bef6=_0x179ff2,_0x435f97=this[_0x53bef6(0x107)](_0x537bc5);return _0x435f97[_0x53bef6(0xeb)]({'tooltip':!0x0,'class':_0x53bef6(0x122)+this[_0x53bef6(0x141)]}),_0x435f97;}),_0x191078['ui'][_0x179ff2(0xfc)][_0x179ff2(0xdd)](_0x179ff2(0x151),()=>{const _0x134464=_0x179ff2,_0x16ec1c=this[_0x134464(0x107)](_0x5647ba);return _0x16ec1c[_0x134464(0xeb)]({'role':_0x134464(0x124)}),_0x16ec1c;}),this[_0x179ff2(0x140)]=this[_0x179ff2(0xcb)][_0x179ff2(0xc2)][_0x179ff2(0xdb)](_0x179ff2(0x140));const _0x3c924b=this[_0x179ff2(0xcb)];this[_0x179ff2(0xd4)]=setInterval(()=>{const _0x22b8d6=_0x179ff2;let _0x2eeed0;for(const _0x42f473 in _0x3c924b){const _0x28e15b=_0x42f473,_0x2b1095=_0x3c924b[_0x28e15b];if(_0x22b8d6(0x130)==_0x2b1095||_0x22b8d6(0xc5)==_0x2b1095||_0x22b8d6(0x137)==_0x2b1095||_0x22b8d6(0x117)==_0x2b1095||_0x22b8d6(0xd1)==_0x2b1095||_0x22b8d6(0x148)==_0x2b1095||_0x22b8d6(0x121)==_0x2b1095||_0x22b8d6(0xd9)==_0x2b1095){delete _0x3c924b[_0x28e15b],_0x2eeed0=_0x2b1095,clearInterval(this[_0x22b8d6(0xd4)]),this[_0x22b8d6(0xd4)]=void 0x0;break;}}_0x22b8d6(0xc5)==_0x2eeed0&&_0x3c924b[_0x22b8d6(0xee)](_0x22b8d6(0xe6)),_0x22b8d6(0x137)==_0x2eeed0&&_0x3c924b[_0x22b8d6(0xee)](_0x22b8d6(0x12a)),_0x22b8d6(0x117)==_0x2eeed0&&_0x3c924b[_0x22b8d6(0xee)](_0x22b8d6(0x163)),_0x22b8d6(0xd1)==_0x2eeed0&&_0x3c924b[_0x22b8d6(0xee)](_0x22b8d6(0xf0),_0x22b8d6(0xb4)),_0x22b8d6(0x148)==_0x2eeed0&&_0x3c924b[_0x22b8d6(0xee)](_0x22b8d6(0x155)),_0x22b8d6(0x121)==_0x2eeed0&&_0x3c924b[_0x22b8d6(0xee)](_0x22b8d6(0xf5)),_0x22b8d6(0xd9)==_0x2eeed0&&_0x3c924b[_0x22b8d6(0xee)](_0x22b8d6(0x13b));},0x3e8);}[_0x5a1037(0xe9)](){const _0x1c4fa6=_0x5a1037;super[_0x1c4fa6(0xe9)](),this[_0x1c4fa6(0xd4)]&&clearInterval(this[_0x1c4fa6(0xd4)]);}[_0x5a1037(0x12b)](_0x24b710='',_0x5e013f='',_0x33f82f=_0x5a1037(0xf3)){const _0x38ed26=_0x5a1037,_0x1c2b09=this[_0x38ed26(0xcb)],_0x27f835=_0x1c2b09[_0x38ed26(0x109)][_0x38ed26(0x142)],_0x270b44=_0x1c2b09[_0x38ed26(0x13c)][_0x38ed26(0xdb)](_0x125c2e),_0x12b182=_0x1c2b09[_0x38ed26(0x13c)][_0x38ed26(0xdb)](_0x35e7b6);_0x270b44[_0x38ed26(0xc1)]();const _0x48f0b4=new w(),_0x5673f2=new ClipboardEvent(_0x38ed26(0xc0),{'clipboardData':_0x48f0b4}),_0x208168=new _0x458ebd(_0x48f0b4),_0x4651a1=new _0x2672ea(_0x27f835,_0x5673f2,{'dataTransfer':_0x208168});_0x12b182[_0x38ed26(0xe3)](_0x38ed26(0x11b),()=>{const _0xcdf607=_0x38ed26;_0x27f835[_0xcdf607(0xcc)][_0xcdf607(0xec)](_0xcdf607(0xc0),_0x4651a1);}),this[_0x38ed26(0xbf)]||(this[_0x38ed26(0xcd)](),this[_0x38ed26(0xff)]=new _0x48efe2(_0x1c2b09,this[_0x38ed26(0x115)][_0x38ed26(0x157)],this[_0x38ed26(0xbf)]));let _0x14b535=_0x208168[_0x38ed26(0x127)](_0x38ed26(0xe8));const _0x20bf87=_0x1c2b09[_0x38ed26(0x123)][_0x38ed26(0xcc)][_0x38ed26(0x161)],_0x31227c=Array[_0x38ed26(0xc4)](_0x20bf87[_0x38ed26(0x13a)]());0x1===_0x31227c[_0x38ed26(0xbb)]&&_0x31227c[0x0][_0x38ed26(0x156)]&&!_0x20bf87[_0x38ed26(0xcf)]()&&''!==_0x14b535[_0x38ed26(0xd2)](/ /g,'')[_0x38ed26(0xe0)]()&&(_0x14b535=_0x38ed26(0x153)+_0x14b535+_0x38ed26(0xf7)),this[_0x38ed26(0xff)][_0x38ed26(0x133)]({'actionId':_0x33f82f,'query':_0x24b710,'htmlContent':_0x14b535,'label':_0x5e013f,'mainActionLabel':_0x28d969[_0x1c2b09[_0x38ed26(0x123)][_0x38ed26(0xcc)][_0x38ed26(0x161)][_0x38ed26(0x144)]?_0x38ed26(0x105):_0x38ed26(0xd3)]}),_0x38ed26(0x120)!==this[_0x38ed26(0xf4)]['id']?this[_0x38ed26(0xf4)][_0x38ed26(0xc8)]({'id':_0x38ed26(0x120),'icon':_0x52243e[_0x38ed26(0x114)],'title':_0x590b58(this[_0x38ed26(0xcb)][_0x38ed26(0x11c)],_0x38ed26(0x101)),'content':this[_0x38ed26(0xbf)],'position':_0x4fdd6e[_0x38ed26(0x108)],'onShow':()=>{const _0x39bbd6=_0x38ed26;this[_0x39bbd6(0xbf)][_0x39bbd6(0xdf)]();},'onHide':()=>{const _0xc2352d=_0x38ed26;this[_0xc2352d(0xff)][_0xc2352d(0x111)](),_0x270b44[_0xc2352d(0x10d)]();}}):this[_0x38ed26(0xf4)][_0x38ed26(0x142)][_0x38ed26(0x119)]||this[_0x38ed26(0xf4)][_0x38ed26(0x142)][_0x38ed26(0x15b)]();}[_0x5a1037(0x103)](){const _0x201b4a=_0x5a1037;this[_0x201b4a(0xf4)][_0x201b4a(0xca)]();}[_0x5a1037(0xe1)](){const _0x13eb4b=_0x5a1037,_0x3e219f=new Map(),_0xa016cb=_0x210e7a(this[_0x13eb4b(0xcb)][_0x13eb4b(0xc2)][_0x13eb4b(0xdb)](_0x13eb4b(0x154)),this[_0x13eb4b(0xcb)][_0x13eb4b(0x11c)]);for(const _0x2d5c8a of _0xa016cb)for(const _0x2d661d of _0x2d5c8a[_0x13eb4b(0x116)])_0x3e219f[_0x13eb4b(0xeb)](_0x2d661d['id'],{..._0x2d661d,'groupId':_0x2d5c8a[_0x13eb4b(0xbd)],'groupLabel':_0x2d5c8a[_0x13eb4b(0xd0)]||_0x2d5c8a[_0x13eb4b(0xbd)]});return _0x3e219f;}[_0x5a1037(0x107)](_0x3dadd8){const _0xddcd4f=_0x5a1037,_0x2cc7a6=this[_0xddcd4f(0xcb)],_0x4f2e77=_0x2cc7a6[_0xddcd4f(0x116)][_0xddcd4f(0xdb)](_0xddcd4f(0xda)),_0x38383b=new _0x3dadd8(_0x2cc7a6[_0xddcd4f(0x11c)]);return _0x38383b[_0xddcd4f(0xeb)]({'label':_0x590b58(_0x2cc7a6[_0xddcd4f(0x11c)],_0xddcd4f(0x101)),'icon':_0x52243e[_0xddcd4f(0x114)],'isToggleable':!0x0}),_0x38383b[_0xddcd4f(0xe7)](_0xddcd4f(0x100))['to'](_0x4f2e77),_0x38383b[_0xddcd4f(0xe7)](_0xddcd4f(0x12c))['to'](this[_0xddcd4f(0xf4)],'id',_0x11d3fc=>_0xddcd4f(0x120)===_0x11d3fc),this[_0xddcd4f(0xb6)](_0x38383b,_0xddcd4f(0x14e),()=>{const _0x208841=_0xddcd4f;_0x38383b[_0x208841(0x12c)]?this[_0x208841(0x103)]():_0x4f2e77[_0x208841(0x14e)]();}),_0x38383b;}[_0x5a1037(0xcd)](){const _0x5b9902=_0x5a1037,_0x3afe75=this[_0x5b9902(0xcb)][_0x5b9902(0x13c)][_0x5b9902(0xdb)](_0x125c2e);this[_0x5b9902(0xbf)]=new _0x4abf6f(this[_0x5b9902(0xcb)][_0x5b9902(0x11c)],this[_0x5b9902(0x141)],this[_0x5b9902(0xcb)][_0x5b9902(0xc2)][_0x5b9902(0xdb)](_0x5b9902(0x13f))),this[_0x5b9902(0xbf)]['on'](_0x5b9902(0x128),()=>{const _0xed91e5=_0x5b9902;this[_0xed91e5(0xf4)][_0xed91e5(0x142)][_0xed91e5(0x119)]||this[_0xed91e5(0xf4)][_0xed91e5(0x142)][_0xed91e5(0x15b)]();}),this[_0x5b9902(0xbf)][_0x5b9902(0x13e)][_0x5b9902(0x15d)][_0x5b9902(0x10b)]['on'](_0x5b9902(0x159),()=>{const _0x134d55=_0x5b9902;this[_0x134d55(0xf4)][_0x134d55(0x142)][_0x134d55(0x119)]||this[_0x134d55(0xf4)][_0x134d55(0x142)][_0x134d55(0x15b)]();}),this[_0x5b9902(0xb6)](this[_0x5b9902(0xbf)],_0x5b9902(0x14b),()=>{const _0x41c6d0=_0x5b9902;_0x3afe75[_0x41c6d0(0xc7)](this[_0x41c6d0(0xff)][_0x41c6d0(0xc6)]),this[_0x41c6d0(0x103)]();}),this[_0x5b9902(0xb6)](this[_0x5b9902(0xbf)],_0x5b9902(0x139),()=>{const _0x336024=_0x5b9902;_0x3afe75[_0x336024(0x139)](this[_0x336024(0xff)][_0x336024(0xc6)]),this[_0x336024(0x103)]();}),this[_0x5b9902(0x149)]();}[_0x5a1037(0x149)](){const _0x284b24=_0x5a1037,{locale:_0x1f08a8,ui:{ariaLiveAnnouncer:_0xb4a02e}}=this[_0x284b24(0xcb)];this[_0x284b24(0xbf)][_0x284b24(0xe5)]['on'](_0x284b24(0x110),(_0x47936c,_0x145b1e,_0x33e553)=>{const _0x26bec2=_0x284b24,_0x139dcf=this[_0x26bec2(0xff)][_0x26bec2(0xc6)];_0x33e553?_0xb4a02e[_0x26bec2(0x10e)](_0x590b58(_0x1f08a8,_0x26bec2(0x15e))):_0x139dcf&&_0xb4a02e[_0x26bec2(0x10e)](_0x590b58(_0x1f08a8,_0x26bec2(0x162),_0x139dcf),{'politeness':_0x26bec2(0x11e),'isUnsafeHTML':!0x0});}),this[_0x284b24(0xbf)]['on'](_0x284b24(0xb7),(_0x4bde72,_0x2ffa69,_0x3eee03)=>{const _0x1e9dba=_0x284b24;if(_0x3eee03){const _0x1c316f=this[_0x1e9dba(0xbf)][_0x1e9dba(0x12f)][_0x1e9dba(0xb5)];_0xb4a02e[_0x1e9dba(0x10e)](_0x590b58(_0x1f08a8,_0x1e9dba(0x14d),_0x1c316f));}});}[_0x5a1037(0x106)](_0x2b43dc){const _0x32b31d=_0x5a1037,_0x5125ad=this[_0x32b31d(0xce)][_0x32b31d(0xdb)](_0x2b43dc),_0x224cb0=this[_0x32b31d(0xcb)],_0x2355cc=_0x224cb0[_0x32b31d(0x123)][_0x32b31d(0xcc)][_0x32b31d(0x161)],_0x3d285d=_0x224cb0[_0x32b31d(0x116)][_0x32b31d(0xdb)](_0x32b31d(0xda)),_0x274643=_0x224cb0[_0x32b31d(0x13c)][_0x32b31d(0xdb)](_0x125c2e),_0x3ac1f2=''+(_0x5125ad[_0x32b31d(0xbd)]!==_0x31c0e9?_0x5125ad[_0x32b31d(0xd0)]+':\x20':'')+_0x5125ad[_0x32b31d(0xb9)];if(!0x1!==_0x5125ad[_0x32b31d(0x131)]&&_0x2355cc[_0x32b31d(0x144)]){const _0x5deeb9=_0x9c496f(_0x2355cc[_0x32b31d(0xf8)]())||_0x224cb0[_0x32b31d(0x123)][_0x32b31d(0xc9)][_0x32b31d(0xbc)](_0x2355cc);_0x224cb0[_0x32b31d(0x123)][_0x32b31d(0x135)](_0xfdc05a=>{const _0x6865a2=_0x32b31d;_0xfdc05a[_0x6865a2(0xea)](_0x5deeb9,'in');});}_0x274643[_0x32b31d(0xc1)](),_0x3d285d[_0x32b31d(0x14e)](_0x5125ad[_0x32b31d(0x134)],_0x3ac1f2,_0x32b31d(0xe2)+_0x2b43dc);}[_0x5a1037(0x138)](_0xefbef8,_0x5a569c,_0x10f251,_0x1510bb){const _0x4040b9=_0x5a1037,_0x16c352=this[_0x4040b9(0xcb)],_0x154165=_0x16c352[_0x4040b9(0x11c)],_0x4b450d=new _0x3b87ab(_0x154165),_0x535103=U(_0x16c352,_0x10f251)[_0x4040b9(0x143)](_0x38d75f=>_0x38d75f[_0x4040b9(0x116)][_0x4040b9(0xbb)]);0x1===_0x535103[_0x4040b9(0xbb)]?this[_0x4040b9(0x132)]({'command':_0xefbef8,'commands':_0x535103[0x0][_0x4040b9(0x116)],'parentMenuView':_0x5a569c,'onExecute':_0x1510bb})[_0x4040b9(0xc3)](_0x2b0338=>_0x4b450d[_0x4040b9(0x126)][_0x4040b9(0xdd)](_0x2b0338)):_0x535103[_0x4040b9(0xc3)](({groupId:_0x11348e,groupLabel:_0x27646b,commands:_0x5d736e})=>{const _0x358cf=_0x4040b9,_0x20b190=new _0x49099e(_0x154165,_0x5a569c),_0x117a74=new _0x4aba16(_0x154165),_0x4f8063=new _0x3b87ab(_0x154165),_0x57e169=this[_0x358cf(0x132)]({'command':_0xefbef8,'commands':_0x5d736e,'parentMenuView':_0x117a74,'onExecute':_0x1510bb});_0x117a74[_0x358cf(0xdc)][_0x358cf(0xeb)]({'label':_0x27646b||_0x11348e}),_0x117a74[_0x358cf(0x10c)](_0x358cf(0x14e))['to'](_0x5a569c),_0x4f8063[_0x358cf(0x126)][_0x358cf(0x14c)](_0x57e169),_0x117a74[_0x358cf(0xfa)][_0x358cf(0x11f)][_0x358cf(0xdd)](_0x4f8063),_0x20b190[_0x358cf(0x11f)][_0x358cf(0xdd)](_0x117a74),_0x4b450d[_0x358cf(0x126)][_0x358cf(0xdd)](_0x20b190);}),_0x5a569c[_0x4040b9(0xfa)][_0x4040b9(0x11f)][_0x4040b9(0xdd)](_0x4b450d);}[_0x5a1037(0x132)]({command:_0x34df46,commands:_0x24e98d,parentMenuView:_0x566c64,onExecute:_0x4a5b44}){const _0x262ed2=_0x5a1037,_0x5efe1a=this[_0x262ed2(0xcb)],_0x3b0996=_0x5efe1a[_0x262ed2(0x11c)];return U(_0x5efe1a,_0x24e98d)[_0x262ed2(0xde)](_0x3c98aa=>{const _0x42e9a6=_0x262ed2,_0x3526c9=new _0x49099e(_0x3b0996,_0x566c64),_0xcc4670=new _0x5647ba(_0x3b0996);return _0xcc4670[_0x42e9a6(0xeb)]({'label':_0x3c98aa[_0x42e9a6(0xb9)]}),_0xcc4670[_0x42e9a6(0x10c)](_0x42e9a6(0x14e))['to'](_0x566c64),_0xcc4670['on'](_0x42e9a6(0x14e),()=>_0x4a5b44(_0x3c98aa['id'])),_0xcc4670[_0x42e9a6(0xe7)](_0x42e9a6(0x100))['to'](_0x34df46,_0x42e9a6(0xd8),_0x56111f=>_0x56111f[_0x42e9a6(0x11d)](_0x3c98aa['id'])),_0x3526c9[_0x42e9a6(0x11f)][_0x42e9a6(0xdd)](_0xcc4670),_0x3526c9;});}}function B(_0xf8cdcf,_0x2ed043){const _0x12c288=_0x5a1037;return void 0x0!==_0xf8cdcf[_0x12c288(0x146)]&&void 0x0===_0x2ed043[_0x12c288(0x146)]?0x1:void 0x0===_0xf8cdcf[_0x12c288(0x146)]&&void 0x0!==_0x2ed043[_0x12c288(0x146)]?-0x1:void 0x0!==_0xf8cdcf[_0x12c288(0x146)]&&void 0x0!==_0x2ed043[_0x12c288(0x146)]?_0xf8cdcf[_0x12c288(0x146)]-_0x2ed043[_0x12c288(0x146)]:0x0;}function U(_0x2fe75a,_0x2d4b29){const _0x47a166=_0x5a1037;_0x2d4b29[_0x47a166(0x15f)](B);const _0x35eaf3={},_0x4ee430=[];for(const _0x571a15 of _0x2d4b29)if(void 0x0!==_0x571a15[_0x47a166(0x146)]){if(_0x571a15[_0x47a166(0x146)]in _0x35eaf3)throw new _0x49bc2f(_0x47a166(0xed),_0x2fe75a,{'conflictingDefinitions':[_0x571a15,_0x35eaf3[_0x571a15[_0x47a166(0x146)]]]});_0x35eaf3[_0x571a15[_0x47a166(0x146)]]=_0x571a15,_0x4ee430[_0x47a166(0xd6)](_0x571a15[_0x47a166(0x146)],0x0,_0x571a15);}else _0x4ee430[_0x47a166(0x12d)](_0x571a15);return _0x4ee430;}
|
|
23
|
+
const _0x4498d0=_0x3584;(function(_0x1da57b,_0x2d4bc3){const _0x54945a=_0x3584,_0x46cd4d=_0x1da57b();while(!![]){try{const _0x3ba1bb=-parseInt(_0x54945a(0x10b))/0x1+parseInt(_0x54945a(0x9a))/0x2+parseInt(_0x54945a(0x8f))/0x3+-parseInt(_0x54945a(0x103))/0x4+parseInt(_0x54945a(0x101))/0x5+parseInt(_0x54945a(0x10a))/0x6+-parseInt(_0x54945a(0xf5))/0x7;if(_0x3ba1bb===_0x2d4bc3)break;else _0x46cd4d['push'](_0x46cd4d['shift']());}catch(_0x4a85f2){_0x46cd4d['push'](_0x46cd4d['shift']());}}}(_0x4baf,0x89458));function _0x4baf(){const _0x19c7ab=['menuitemcheckbox','locale','domainLimit','isEnabled','licenseKey','length','aiLicenseKeyUsageLimit','isOfficialPlugin','_aiAdapter','showAIAssistant','trim','editor','componentFactory','update','AI\x20is\x20writing','_onExecute','AIAssistant','map','splice','isOn','schema','buttonView','getLimitElement','focus','setSelection','includes','_initView','showUI','_createAIAssistantUIButton','aiLicenseKeyEvaluationLimit','add','featureNotAllowed','robotPencil','reset','announce','aiLicenseKeyValid','hideUI','_licenseKeyCheckInterval','listenTo','AIAssistantUI','requiresContent','push','contentArea','source','body','updateView','ai.aiAssistant.disabledElements','expired','_populateMenuBarMenu','bind','sort','insertContent','invalid','wasMoved','requires','aiLicenseKeyInvalid','comment','define','change:isError','isPremiumPlugin','aiLicenseKeyTrialLimit','errorView','fieldView','hideFakeVisualSelection','AI\x20Assistant','2623887iUrrul','usageLimit','menuBar:aiCommands','menuPanelClass','ai.useTheme','_formView','aiAssistant','pluginName','replaceContent','EDITOR_TOP_SIDE','values','document','3381480ovpNCw','change:value','2691624SiLnEB','_aiAssistantController','buttons','ck-ai-assistant-ui','show','Error\x20during\x20AI\x20content\x20generation:\x20%0','config','4964904GAMBch','573246QFKhKf','AI\x20Commands','trialLimit','once','hide','_showLicenseError','panelView','text','_initAriaAiStatusChangeAnnouncements','REPLACE','showFakeVisualSelection','model','INSERT','order','_commandDefinitions','isCollapsed','execute','selection','ck-ai-commands-dropdown\x20','Generated\x20content:\x20%0','change:isProcessing','delegate','addMany','ck-ai-assistant-button\x20','_getResolvedCommandsDefinitions','getRanges','command:','destroy','editing','getSelectedBlocks','menuBar:aiAssistant','evaluationLimit','rawHtml','replace','aiCommands','tableOfContents','ai-commands-config-order-collision','isFlat','change:enabledCommandsIds','menuView','ai.aiAssistant.contentAreaCssClass','children','render','forEach','getSelectedElement','view','from','currentContext','prompt','custom','870699JLLHfS','ai.aiAssistant.commands','aiLicenseKeyNotAllowed','aiLicenseKeyDomainLimit','set','polite','commands','plugins','aiLicenseKeyExpired','queryView','_dialog','778488dSwFQV','<p>','copy','text/html','</p>','textAdapter','insertContentBelow','get','init','updatePosition','label','_uiCssClasses','_forceMarkersCopy','_getMenuBarGroupButtons','items','enabledCommandsIds','groupLabel','groupId','\x20ck-ai-assistant-ui_theme','promptView','fire','getData','DataTransfer','filter','media','change'];_0x4baf=function(){return _0x19c7ab;};return _0x4baf();}import{Plugin as _0x118176}from'ckeditor5/src/core.js';import{first as _0x295db2,CKEditorError as _0x7d3545}from'ckeditor5/src/utils.js';import{createDropdown as _0x5ce0f3,addMenuToDropdown as _0x171d6d,ButtonView as _0x204bc8,MenuBarMenuListItemButtonView as _0x34a04d,Dialog as _0x27dee0,DialogViewPosition as _0x53c6db,MenuBarMenuView as _0x4ceabd,MenuBarMenuListView as _0x5c338a,MenuBarMenuListItemView as _0x553da4}from'ckeditor5/src/ui.js';import{icons as _0x5e95b9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3584(_0x109eff,_0x276bd3){const _0x4bafb2=_0x4baf();return _0x3584=function(_0x3584e6,_0x44ee5c){_0x3584e6=_0x3584e6-0x85;let _0x475877=_0x4bafb2[_0x3584e6];return _0x475877;},_0x3584(_0x109eff,_0x276bd3);}import{normalizeCommandsConfig as _0xb235ec,UNGROUPED_COMMANDS_GROUP_ID as _0x3237db}from'./utils/normalizecommandsconfig.js';import _0x3899a6 from'./aiassistantediting.js';import _0x279c17 from'./adapters/aiadapter.js';import{getTranslation as _0x4860b6}from'./utils/common-translations.js';import _0x59c172 from'./ui/showaiassistantcommand.js';import _0x753f2c from'./ui/aiassistantcontroller.js';import _0x410184 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x1dc6d0}from'./ui/form/aiformtoolbarview.js';import _0x2930cf from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x4498d0(0xb0)];import{ClipboardMarkersUtils as _0x4b0347}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x149a24,DataTransfer as _0xe5416c}from'ckeditor5/src/engine.js';export default class n extends _0x118176{static get[_0x4498d0(0xfc)](){const _0x25c582=_0x4498d0;return _0x25c582(0xdb);}static get[_0x4498d0(0xbb)](){return!0x0;}static get[_0x4498d0(0xef)](){return!0x0;}static get[_0x4498d0(0xea)](){return[_0x4b0347,_0x3899a6,_0x279c17,_0x27dee0];}constructor(_0x4bbcc5){const _0x41f241=_0x4498d0;super(_0x4bbcc5),this[_0x41f241(0xa5)]='',_0x4bbcc5[_0x41f241(0x109)][_0x41f241(0xed)](_0x41f241(0xe2),[_0x41f241(0xb2),_0x41f241(0x12b),_0x41f241(0x12e)]),_0x4bbcc5[_0x41f241(0x109)][_0x41f241(0xed)](_0x41f241(0x85),''),_0x4bbcc5[_0x41f241(0x109)][_0x41f241(0xed)](_0x41f241(0xf9),!0x0),this[_0x41f241(0xa5)]=_0x41f241(0x106)+(_0x4bbcc5[_0x41f241(0x109)][_0x41f241(0xa1)](_0x41f241(0xf9))?_0x41f241(0xac):'');}[_0x4498d0(0xa2)](){const _0x351695=_0x4498d0,{editor:_0x397e41}=this;this[_0x351695(0xbc)]=_0x397e41[_0x351695(0x96)][_0x351695(0xa1)](_0x279c17),this[_0x351695(0x99)]=_0x397e41[_0x351695(0x96)][_0x351695(0xa1)](_0x27dee0),this[_0x351695(0xfa)]=null,this[_0x351695(0x119)]=this[_0x351695(0x123)]();const _0x6ee747=new _0x59c172(_0x397e41,Array[_0x351695(0x8b)](this[_0x351695(0x119)][_0x351695(0xff)]()));_0x397e41[_0x351695(0x95)][_0x351695(0xd2)](_0x351695(0xbd),_0x6ee747),_0x397e41['ui'][_0x351695(0xc0)][_0x351695(0xd2)](_0x351695(0x12d),_0x38b5bf=>{const _0x293f1c=_0x351695,_0xe27f94=_0x5ce0f3(_0x38b5bf);return _0xe27f94[_0x293f1c(0x93)]({'class':_0x293f1c(0x11d)+this[_0x293f1c(0xa5)]}),_0xe27f94[_0x293f1c(0xc9)][_0x293f1c(0x93)]({'label':_0x4860b6(_0x38b5bf,_0x293f1c(0x10c)),'icon':_0x2930cf,'tooltip':!0x0}),_0xe27f94['on'](_0x293f1c(0x11b),_0x3c9f0f=>this[_0x293f1c(0xc3)](_0x3c9f0f[_0x293f1c(0xdf)]['id'])),_0x171d6d(_0xe27f94,_0x397e41['ui'][_0x293f1c(0x8a)][_0x293f1c(0xe0)],function(_0xb35e43){const _0x2d6c22=_0x293f1c,_0x1013a0=_0xb235ec(_0xb35e43[_0x2d6c22(0x109)][_0x2d6c22(0xa1)](_0x2d6c22(0x90)),_0xb35e43[_0x2d6c22(0xb5)]),_0x58ab54=U(_0xb35e43,_0x1013a0)[_0x2d6c22(0xb1)](_0xeafd19=>_0xeafd19[_0x2d6c22(0x95)][_0x2d6c22(0xb9)]);if(0x1===_0x58ab54[_0x2d6c22(0xb9)])return U(_0xb35e43,_0x58ab54[0x0][_0x2d6c22(0x95)])[_0x2d6c22(0xc5)](_0x37e232=>({'id':_0x37e232['id'],'label':_0x37e232[_0x2d6c22(0xa4)]}));return _0x58ab54[_0x2d6c22(0xc5)](_0x43377e=>{const _0x1576fb=_0x2d6c22,{groupId:_0x269983,groupLabel:_0x36b1c6,commands:_0x5c231c}=_0x43377e,_0x4e1299=U(_0xb35e43,_0x5c231c)[_0x1576fb(0xc5)](_0x1a6b43=>({'id':_0x1a6b43['id'],'label':_0x1a6b43[_0x1576fb(0xa4)]}));return{'id':_0x269983,'menu':_0x36b1c6||_0x269983,'children':_0x4e1299};});}(_0x397e41),{'ariaLabel':_0x4860b6(_0x38b5bf,_0x293f1c(0x10c))}),_0xe27f94[_0x293f1c(0x132)][_0x293f1c(0xf8)]=_0x293f1c(0x11d)+this[_0x293f1c(0xa5)],_0x6ee747['on'](_0x293f1c(0x131),_0x48b5a9),_0xe27f94[_0x293f1c(0x132)][_0x293f1c(0x10e)](_0x293f1c(0x87),_0x48b5a9),_0xe27f94;function _0x48b5a9(){const _0x202787=_0x293f1c;_0xe27f94[_0x202787(0xb7)]=_0x6ee747[_0x202787(0xa9)][_0x202787(0xb9)]>0x0;for(const _0x1fb8af of _0xe27f94[_0x202787(0x132)][_0x202787(0x105)])_0x1fb8af[_0x202787(0xb7)]=_0x6ee747[_0x202787(0xa9)][_0x202787(0xcd)](_0x1fb8af['id']);}}),_0x397e41['ui'][_0x351695(0xc0)][_0x351695(0xd2)](_0x351695(0xf7),_0x108b63=>{const _0x2e9a2d=_0x351695,_0x20ef47=new _0x4ceabd(_0x108b63);_0x20ef47[_0x2e9a2d(0xc9)][_0x2e9a2d(0x93)]({'label':_0x4860b6(_0x108b63,_0x2e9a2d(0x10c)),'icon':_0x2930cf}),_0x20ef47[_0x2e9a2d(0xe5)](_0x2e9a2d(0xb7))['to'](_0x6ee747,_0x2e9a2d(0xa9),_0x1c25d7=>_0x1c25d7[_0x2e9a2d(0xb9)]>0x0);const _0x1b7636=_0xb235ec(_0x397e41[_0x2e9a2d(0x109)][_0x2e9a2d(0xa1)](_0x2e9a2d(0x90)),_0x108b63);return this[_0x2e9a2d(0xe4)](_0x6ee747,_0x20ef47,_0x1b7636,_0x2dce4a=>this[_0x2e9a2d(0xc3)](_0x2dce4a)),_0x20ef47;}),_0x397e41['ui'][_0x351695(0xc0)][_0x351695(0xd2)](_0x351695(0xfb),()=>{const _0x663491=_0x351695,_0x37bc3c=this[_0x663491(0xd0)](_0x204bc8);return _0x37bc3c[_0x663491(0x93)]({'tooltip':!0x0,'class':_0x663491(0x122)+this[_0x663491(0xa5)]}),_0x37bc3c;}),_0x397e41['ui'][_0x351695(0xc0)][_0x351695(0xd2)](_0x351695(0x129),()=>{const _0x4672e4=_0x351695,_0x2a6328=this[_0x4672e4(0xd0)](_0x34a04d);return _0x2a6328[_0x4672e4(0x93)]({'role':_0x4672e4(0xb4)}),_0x2a6328;}),this[_0x351695(0xb8)]=this[_0x351695(0xbf)][_0x351695(0x109)][_0x351695(0xa1)](_0x351695(0xb8));const _0x3f0d22=this[_0x351695(0xbf)];this[_0x351695(0xd9)]=setInterval(()=>{const _0x10dfa4=_0x351695;let _0x10cd2f;for(const _0x369443 in _0x3f0d22){const _0x3c42df=_0x369443,_0x29c906=_0x3f0d22[_0x3c42df];if(_0x10dfa4(0xd7)==_0x29c906||_0x10dfa4(0xeb)==_0x29c906||_0x10dfa4(0x97)==_0x29c906||_0x10dfa4(0x92)==_0x29c906||_0x10dfa4(0x91)==_0x29c906||_0x10dfa4(0xd1)==_0x29c906||_0x10dfa4(0xf0)==_0x29c906||_0x10dfa4(0xba)==_0x29c906){delete _0x3f0d22[_0x3c42df],_0x10cd2f=_0x29c906,clearInterval(this[_0x10dfa4(0xd9)]),this[_0x10dfa4(0xd9)]=void 0x0;break;}}_0x10dfa4(0xeb)==_0x10cd2f&&_0x3f0d22[_0x10dfa4(0x110)](_0x10dfa4(0xe8)),_0x10dfa4(0x97)==_0x10cd2f&&_0x3f0d22[_0x10dfa4(0x110)](_0x10dfa4(0xe3)),_0x10dfa4(0x92)==_0x10cd2f&&_0x3f0d22[_0x10dfa4(0x110)](_0x10dfa4(0xb6)),_0x10dfa4(0x91)==_0x10cd2f&&_0x3f0d22[_0x10dfa4(0x110)](_0x10dfa4(0xd3),_0x10dfa4(0xc4)),_0x10dfa4(0xd1)==_0x10cd2f&&_0x3f0d22[_0x10dfa4(0x110)](_0x10dfa4(0x12a)),_0x10dfa4(0xf0)==_0x10cd2f&&_0x3f0d22[_0x10dfa4(0x110)](_0x10dfa4(0x10d)),_0x10dfa4(0xba)==_0x10cd2f&&_0x3f0d22[_0x10dfa4(0x110)](_0x10dfa4(0xf6));},0x3e8);}[_0x4498d0(0x126)](){const _0x1e7085=_0x4498d0;super[_0x1e7085(0x126)](),this[_0x1e7085(0xd9)]&&clearInterval(this[_0x1e7085(0xd9)]);}[_0x4498d0(0xcf)](_0x2a55c9='',_0x97d57d='',_0x9d52a0=_0x4498d0(0x8e)){const _0x49eeed=_0x4498d0,_0x3c9c1f=this[_0x49eeed(0xbf)],_0xcec499=_0x3c9c1f[_0x49eeed(0x127)][_0x49eeed(0x8a)],_0xe6a96a=_0x3c9c1f[_0x49eeed(0x96)][_0x49eeed(0xa1)](_0x3899a6),_0x32239c=_0x3c9c1f[_0x49eeed(0x96)][_0x49eeed(0xa1)](_0x4b0347);_0xe6a96a[_0x49eeed(0x115)]();const _0x32ac10=new w(),_0x52b026=new ClipboardEvent(_0x49eeed(0x9c),{'clipboardData':_0x32ac10}),_0x5b158a=new _0xe5416c(_0x32ac10),_0x13f1d4=new _0x149a24(_0xcec499,_0x52b026,{'dataTransfer':_0x5b158a});_0x32239c[_0x49eeed(0xa6)](_0x49eeed(0xec),()=>{const _0x473539=_0x49eeed;_0xcec499[_0x473539(0x100)][_0x473539(0xae)](_0x473539(0x9c),_0x13f1d4);}),this[_0x49eeed(0xfa)]||(this[_0x49eeed(0xce)](),this[_0x49eeed(0x104)]=new _0x753f2c(_0x3c9c1f,this[_0x49eeed(0xbc)][_0x49eeed(0x9f)],this[_0x49eeed(0xfa)]));let _0x13e185=_0x5b158a[_0x49eeed(0xaf)](_0x49eeed(0x9d));const _0x49d52c=_0x3c9c1f[_0x49eeed(0x116)][_0x49eeed(0x100)][_0x49eeed(0x11c)],_0x13be1b=Array[_0x49eeed(0x8b)](_0x49d52c[_0x49eeed(0x124)]());0x1===_0x13be1b[_0x49eeed(0xb9)]&&_0x13be1b[0x0][_0x49eeed(0x130)]&&!_0x49d52c[_0x49eeed(0x89)]()&&''!==_0x13e185[_0x49eeed(0x12c)](/ /g,'')[_0x49eeed(0xbe)]()&&(_0x13e185=_0x49eeed(0x9b)+_0x13e185+_0x49eeed(0x9e)),this[_0x49eeed(0x104)][_0x49eeed(0xe1)]({'actionId':_0x9d52a0,'query':_0x2a55c9,'htmlContent':_0x13e185,'label':_0x97d57d,'mainActionLabel':_0x1dc6d0[_0x3c9c1f[_0x49eeed(0x116)][_0x49eeed(0x100)][_0x49eeed(0x11c)][_0x49eeed(0x11a)]?_0x49eeed(0x117):_0x49eeed(0x114)]}),_0x49eeed(0xfb)!==this[_0x49eeed(0x99)]['id']?this[_0x49eeed(0x99)][_0x49eeed(0x107)]({'id':_0x49eeed(0xfb),'icon':_0x5e95b9[_0x49eeed(0xd4)],'title':_0x4860b6(this[_0x49eeed(0xbf)][_0x49eeed(0xb5)],_0x49eeed(0xf4)),'content':this[_0x49eeed(0xfa)],'position':_0x53c6db[_0x49eeed(0xfe)],'onShow':()=>{const _0x513178=_0x49eeed;this[_0x513178(0xfa)][_0x513178(0xcb)]();},'onHide':()=>{const _0x393c4e=_0x49eeed;this[_0x393c4e(0x104)][_0x393c4e(0xd5)](),_0xe6a96a[_0x393c4e(0xf3)]();}}):this[_0x49eeed(0x99)][_0x49eeed(0x8a)][_0x49eeed(0xe9)]||this[_0x49eeed(0x99)][_0x49eeed(0x8a)][_0x49eeed(0xa3)]();}[_0x4498d0(0xd8)](){const _0xf000f8=_0x4498d0;this[_0xf000f8(0x99)][_0xf000f8(0x10f)]();}[_0x4498d0(0x123)](){const _0x24bc1e=_0x4498d0,_0x330096=new Map(),_0x3f0c28=_0xb235ec(this[_0x24bc1e(0xbf)][_0x24bc1e(0x109)][_0x24bc1e(0xa1)](_0x24bc1e(0x90)),this[_0x24bc1e(0xbf)][_0x24bc1e(0xb5)]);for(const _0x4f88ce of _0x3f0c28)for(const _0x4d78d2 of _0x4f88ce[_0x24bc1e(0x95)])_0x330096[_0x24bc1e(0x93)](_0x4d78d2['id'],{..._0x4d78d2,'groupId':_0x4f88ce[_0x24bc1e(0xab)],'groupLabel':_0x4f88ce[_0x24bc1e(0xaa)]||_0x4f88ce[_0x24bc1e(0xab)]});return _0x330096;}[_0x4498d0(0xd0)](_0x530231){const _0xaa946b=_0x4498d0,_0x46831e=this[_0xaa946b(0xbf)],_0x391b1c=_0x46831e[_0xaa946b(0x95)][_0xaa946b(0xa1)](_0xaa946b(0xbd)),_0x35335d=new _0x530231(_0x46831e[_0xaa946b(0xb5)]);return _0x35335d[_0xaa946b(0x93)]({'label':_0x4860b6(_0x46831e[_0xaa946b(0xb5)],_0xaa946b(0xf4)),'icon':_0x5e95b9[_0xaa946b(0xd4)],'isToggleable':!0x0}),_0x35335d[_0xaa946b(0xe5)](_0xaa946b(0xb7))['to'](_0x391b1c),_0x35335d[_0xaa946b(0xe5)](_0xaa946b(0xc7))['to'](this[_0xaa946b(0x99)],'id',_0x20bf94=>_0xaa946b(0xfb)===_0x20bf94),this[_0xaa946b(0xda)](_0x35335d,_0xaa946b(0x11b),()=>{const _0x2111b0=_0xaa946b;_0x35335d[_0x2111b0(0xc7)]?this[_0x2111b0(0xd8)]():_0x391b1c[_0x2111b0(0x11b)]();}),_0x35335d;}[_0x4498d0(0xce)](){const _0x4bdc7c=_0x4498d0,_0x36984f=this[_0x4bdc7c(0xbf)][_0x4bdc7c(0x96)][_0x4bdc7c(0xa1)](_0x3899a6);this[_0x4bdc7c(0xfa)]=new _0x410184(this[_0x4bdc7c(0xbf)][_0x4bdc7c(0xb5)],this[_0x4bdc7c(0xa5)],this[_0x4bdc7c(0xbf)][_0x4bdc7c(0x109)][_0x4bdc7c(0xa1)](_0x4bdc7c(0x85))),this[_0x4bdc7c(0xfa)]['on'](_0x4bdc7c(0x102),()=>{const _0x1370c8=_0x4bdc7c;this[_0x1370c8(0x99)][_0x1370c8(0x8a)][_0x1370c8(0xe9)]||this[_0x1370c8(0x99)][_0x1370c8(0x8a)][_0x1370c8(0xa3)]();}),this[_0x4bdc7c(0xfa)][_0x4bdc7c(0xad)][_0x4bdc7c(0x98)][_0x4bdc7c(0xf2)]['on'](_0x4bdc7c(0xc1),()=>{const _0x2ddb31=_0x4bdc7c;this[_0x2ddb31(0x99)][_0x2ddb31(0x8a)][_0x2ddb31(0xe9)]||this[_0x2ddb31(0x99)][_0x2ddb31(0x8a)][_0x2ddb31(0xa3)]();}),this[_0x4bdc7c(0xda)](this[_0x4bdc7c(0xfa)],_0x4bdc7c(0xfd),()=>{const _0x4d02b1=_0x4bdc7c;_0x36984f[_0x4d02b1(0xe7)](this[_0x4d02b1(0x104)][_0x4d02b1(0x8c)]),this[_0x4d02b1(0xd8)]();}),this[_0x4bdc7c(0xda)](this[_0x4bdc7c(0xfa)],_0x4bdc7c(0xa0),()=>{const _0x5d3694=_0x4bdc7c;_0x36984f[_0x5d3694(0xa0)](this[_0x5d3694(0x104)][_0x5d3694(0x8c)]),this[_0x5d3694(0xd8)]();}),this[_0x4bdc7c(0x113)]();}[_0x4498d0(0x113)](){const _0x1cf3ca=_0x4498d0,{locale:_0x2ac6b3,ui:{ariaLiveAnnouncer:_0x2cad63}}=this[_0x1cf3ca(0xbf)];this[_0x1cf3ca(0xfa)][_0x1cf3ca(0xde)]['on'](_0x1cf3ca(0x11f),(_0x199306,_0x55b0e2,_0x222777)=>{const _0x113760=_0x1cf3ca,_0x4ed9d9=this[_0x113760(0x104)][_0x113760(0x8c)];_0x222777?_0x2cad63[_0x113760(0xd6)](_0x4860b6(_0x2ac6b3,_0x113760(0xc2))):_0x4ed9d9&&_0x2cad63[_0x113760(0xd6)](_0x4860b6(_0x2ac6b3,_0x113760(0x11e),_0x4ed9d9),{'politeness':_0x113760(0x94),'isUnsafeHTML':!0x0});}),this[_0x1cf3ca(0xfa)]['on'](_0x1cf3ca(0xee),(_0x3a3ce7,_0x4f62e8,_0x7b0a80)=>{const _0x142b57=_0x1cf3ca;if(_0x7b0a80){const _0x3572d2=this[_0x142b57(0xfa)][_0x142b57(0xf1)][_0x142b57(0x112)];_0x2cad63[_0x142b57(0xd6)](_0x4860b6(_0x2ac6b3,_0x142b57(0x108),_0x3572d2));}});}[_0x4498d0(0xc3)](_0x76b0e1){const _0x16cbfd=_0x4498d0,_0x4eb1ee=this[_0x16cbfd(0x119)][_0x16cbfd(0xa1)](_0x76b0e1),_0x51c64e=this[_0x16cbfd(0xbf)],_0x2aaf14=_0x51c64e[_0x16cbfd(0x116)][_0x16cbfd(0x100)][_0x16cbfd(0x11c)],_0x37a573=_0x51c64e[_0x16cbfd(0x95)][_0x16cbfd(0xa1)](_0x16cbfd(0xbd)),_0x2ff288=_0x51c64e[_0x16cbfd(0x96)][_0x16cbfd(0xa1)](_0x3899a6),_0x768b34=''+(_0x4eb1ee[_0x16cbfd(0xab)]!==_0x3237db?_0x4eb1ee[_0x16cbfd(0xaa)]+':\x20':'')+_0x4eb1ee[_0x16cbfd(0xa4)];if(!0x1!==_0x4eb1ee[_0x16cbfd(0xdc)]&&_0x2aaf14[_0x16cbfd(0x11a)]){const _0x54c857=_0x295db2(_0x2aaf14[_0x16cbfd(0x128)]())||_0x51c64e[_0x16cbfd(0x116)][_0x16cbfd(0xc8)][_0x16cbfd(0xca)](_0x2aaf14);_0x51c64e[_0x16cbfd(0x116)][_0x16cbfd(0xb3)](_0x55a627=>{const _0x280c9c=_0x16cbfd;_0x55a627[_0x280c9c(0xcc)](_0x54c857,'in');});}_0x2ff288[_0x16cbfd(0x115)](),_0x37a573[_0x16cbfd(0x11b)](_0x4eb1ee[_0x16cbfd(0x8d)],_0x768b34,_0x16cbfd(0x125)+_0x76b0e1);}[_0x4498d0(0xe4)](_0x3c501a,_0x27e4eb,_0x344617,_0xce49cf){const _0x9d5e7c=_0x4498d0,_0x4867a1=this[_0x9d5e7c(0xbf)],_0x2de601=_0x4867a1[_0x9d5e7c(0xb5)],_0x5a0159=new _0x5c338a(_0x2de601),_0x33d7ff=U(_0x4867a1,_0x344617)[_0x9d5e7c(0xb1)](_0x1057d5=>_0x1057d5[_0x9d5e7c(0x95)][_0x9d5e7c(0xb9)]);0x1===_0x33d7ff[_0x9d5e7c(0xb9)]?this[_0x9d5e7c(0xa7)]({'command':_0x3c501a,'commands':_0x33d7ff[0x0][_0x9d5e7c(0x95)],'parentMenuView':_0x27e4eb,'onExecute':_0xce49cf})[_0x9d5e7c(0x88)](_0x219479=>_0x5a0159[_0x9d5e7c(0xa8)][_0x9d5e7c(0xd2)](_0x219479)):_0x33d7ff[_0x9d5e7c(0x88)](({groupId:_0x59e30d,groupLabel:_0x5e961e,commands:_0x3cd712})=>{const _0x50ff13=_0x9d5e7c,_0x2632aa=new _0x553da4(_0x2de601,_0x27e4eb),_0x5ac312=new _0x4ceabd(_0x2de601),_0x466d73=new _0x5c338a(_0x2de601),_0x2ae8e4=this[_0x50ff13(0xa7)]({'command':_0x3c501a,'commands':_0x3cd712,'parentMenuView':_0x5ac312,'onExecute':_0xce49cf});_0x5ac312[_0x50ff13(0xc9)][_0x50ff13(0x93)]({'label':_0x5e961e||_0x59e30d}),_0x5ac312[_0x50ff13(0x120)](_0x50ff13(0x11b))['to'](_0x27e4eb),_0x466d73[_0x50ff13(0xa8)][_0x50ff13(0x121)](_0x2ae8e4),_0x5ac312[_0x50ff13(0x111)][_0x50ff13(0x86)][_0x50ff13(0xd2)](_0x466d73),_0x2632aa[_0x50ff13(0x86)][_0x50ff13(0xd2)](_0x5ac312),_0x5a0159[_0x50ff13(0xa8)][_0x50ff13(0xd2)](_0x2632aa);}),_0x27e4eb[_0x9d5e7c(0x111)][_0x9d5e7c(0x86)][_0x9d5e7c(0xd2)](_0x5a0159);}[_0x4498d0(0xa7)]({command:_0x40919f,commands:_0x321890,parentMenuView:_0x26b0ee,onExecute:_0xc1284b}){const _0x5cf3be=_0x4498d0,_0x4a0016=this[_0x5cf3be(0xbf)],_0x3e2a78=_0x4a0016[_0x5cf3be(0xb5)];return U(_0x4a0016,_0x321890)[_0x5cf3be(0xc5)](_0x416a91=>{const _0x5473a5=_0x5cf3be,_0x185529=new _0x553da4(_0x3e2a78,_0x26b0ee),_0x118c88=new _0x34a04d(_0x3e2a78);return _0x118c88[_0x5473a5(0x93)]({'label':_0x416a91[_0x5473a5(0xa4)]}),_0x118c88[_0x5473a5(0x120)](_0x5473a5(0x11b))['to'](_0x26b0ee),_0x118c88['on'](_0x5473a5(0x11b),()=>_0xc1284b(_0x416a91['id'])),_0x118c88[_0x5473a5(0xe5)](_0x5473a5(0xb7))['to'](_0x40919f,_0x5473a5(0xa9),_0x446f6f=>_0x446f6f[_0x5473a5(0xcd)](_0x416a91['id'])),_0x185529[_0x5473a5(0x86)][_0x5473a5(0xd2)](_0x118c88),_0x185529;});}}function B(_0x33e625,_0x460678){const _0x2a7a5b=_0x4498d0;return void 0x0!==_0x33e625[_0x2a7a5b(0x118)]&&void 0x0===_0x460678[_0x2a7a5b(0x118)]?0x1:void 0x0===_0x33e625[_0x2a7a5b(0x118)]&&void 0x0!==_0x460678[_0x2a7a5b(0x118)]?-0x1:void 0x0!==_0x33e625[_0x2a7a5b(0x118)]&&void 0x0!==_0x460678[_0x2a7a5b(0x118)]?_0x33e625[_0x2a7a5b(0x118)]-_0x460678[_0x2a7a5b(0x118)]:0x0;}function U(_0x2db84b,_0x4d38a1){const _0x464a21=_0x4498d0;_0x4d38a1[_0x464a21(0xe6)](B);const _0x1ff635={},_0xf2fc50=[];for(const _0x41378b of _0x4d38a1)if(void 0x0!==_0x41378b[_0x464a21(0x118)]){if(_0x41378b[_0x464a21(0x118)]in _0x1ff635)throw new _0x7d3545(_0x464a21(0x12f),_0x2db84b,{'conflictingDefinitions':[_0x41378b,_0x1ff635[_0x41378b[_0x464a21(0x118)]]]});_0x1ff635[_0x41378b[_0x464a21(0x118)]]=_0x41378b,_0xf2fc50[_0x464a21(0xc6)](_0x41378b[_0x464a21(0x118)],0x0,_0x41378b);}else _0xf2fc50[_0x464a21(0xdd)](_0x41378b);return _0xf2fc50;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4ae65c,_0x104fd3){var _0x28c68a=_0x493e,_0xfcb6c=_0x4ae65c();while(!![]){try{var _0x6916e9=-parseInt(_0x28c68a(0xe5))/0x1+-parseInt(_0x28c68a(0xe2))/0x2*(-parseInt(_0x28c68a(0xdc))/0x3)+parseInt(_0x28c68a(0xe4))/0x4*(parseInt(_0x28c68a(0xe1))/0x5)+parseInt(_0x28c68a(0xdd))/0x6*(parseInt(_0x28c68a(0xdf))/0x7)+-parseInt(_0x28c68a(0xe0))/0x8+parseInt(_0x28c68a(0xde))/0x9+parseInt(_0x28c68a(0xe3))/0xa*(parseInt(_0x28c68a(0xdb))/0xb);if(_0x6916e9===_0x104fd3)break;else _0xfcb6c['push'](_0xfcb6c['shift']());}catch(_0x4a68bb){_0xfcb6c['push'](_0xfcb6c['shift']());}}}(_0x1229,0xc9914));function _0x493e(_0x4fb075,_0x362e72){var _0x1229b7=_0x1229();return _0x493e=function(_0x493e9b,_0x3fb317){_0x493e9b=_0x493e9b-0xdb;var _0x573d9e=_0x1229b7[_0x493e9b];return _0x573d9e;},_0x493e(_0x4fb075,_0x362e72);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';function _0x1229(){var _0x1dffb0=['2987413ByPCgK','3YclBkd','113376RMtSOh','3209427rMSuuB','35LHkvUb','11739280XcQxxZ','770gWFXzC','1108432ZWOMur','90UFQzpn','11072XLQlaZ','1582788CINFGs'];_0x1229=function(){return _0x1dffb0;};return _0x1229();}export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4a1a(_0x28d30f,_0x439469){var _0x2d7e89=_0x2d7e();return _0x4a1a=function(_0x4a1ac8,_0x1d66a0){_0x4a1ac8=_0x4a1ac8-0x164;var _0x1e8374=_0x2d7e89[_0x4a1ac8];return _0x1e8374;},_0x4a1a(_0x28d30f,_0x439469);}(function(_0x5e08a7,_0x57cd4a){var _0x385241=_0x4a1a,_0xc407ad=_0x5e08a7();while(!![]){try{var _0x4e6d8f=-parseInt(_0x385241(0x16c))/0x1*(parseInt(_0x385241(0x170))/0x2)+parseInt(_0x385241(0x169))/0x3*(-parseInt(_0x385241(0x16e))/0x4)+-parseInt(_0x385241(0x166))/0x5*(parseInt(_0x385241(0x165))/0x6)+-parseInt(_0x385241(0x16b))/0x7*(-parseInt(_0x385241(0x167))/0x8)+-parseInt(_0x385241(0x168))/0x9*(-parseInt(_0x385241(0x16a))/0xa)+parseInt(_0x385241(0x16f))/0xb*(-parseInt(_0x385241(0x16d))/0xc)+parseInt(_0x385241(0x164))/0xd;if(_0x4e6d8f===_0x57cd4a)break;else _0xc407ad['push'](_0xc407ad['shift']());}catch(_0x7a7980){_0xc407ad['push'](_0xc407ad['shift']());}}}(_0x2d7e,0x662e0));function _0x2d7e(){var _0x5f15a2=['36lZILvi','678476IPKteG','2580710TTQXNZ','2516zBOBYZ','18712629tEswkw','354dzraBD','15545eEhaOh','2480yvaTUi','129879AfixsC','3qMFVaE','130ectMTx','7399jxMEJQ','381CRiIvu'];_0x2d7e=function(){return _0x5f15a2;};return _0x2d7e();}import{CKEditorError as _0x2d9619}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x222a89=_0x3f45;(function(_0x49f05f,_0x4bfa90){const _0x27235c=_0x3f45,_0x1ea76d=_0x49f05f();while(!![]){try{const _0x1788f2=parseInt(_0x27235c(0x155))/0x1+parseInt(_0x27235c(0x12d))/0x2*(parseInt(_0x27235c(0x14a))/0x3)+parseInt(_0x27235c(0x132))/0x4+parseInt(_0x27235c(0x126))/0x5*(-parseInt(_0x27235c(0x15b))/0x6)+-parseInt(_0x27235c(0x15d))/0x7+parseInt(_0x27235c(0x120))/0x8+parseInt(_0x27235c(0x113))/0x9*(-parseInt(_0x27235c(0x158))/0xa);if(_0x1788f2===_0x4bfa90)break;else _0x1ea76d['push'](_0x1ea76d['shift']());}catch(_0xb0364){_0x1ea76d['push'](_0x1ea76d['shift']());}}}(_0x5114,0x8585e));function _0x5114(){const _0x456f78=['handleError','remove','reset','previousLabel','render','toView','136307Eaijzj','_handleQuery','serializeToString','140tWNUvf','_sanitizationContainer','exec','6qgkzWN','setContentOf','3094679gQPRyF','rename','endsWith','then','config','name','reverse','isRendered','previousQuery','childNodes','currentResponse','substring','editor','match','set','startsWith','currentContext','```html','stringify','once','editing','isProcessing','push','destroy','parseFromString','markers','387063ZclKOp','_xmlSerializer','_stripMarkdownSyntax','get','element','abort','viewToDom','previousContext','view','domConverter','from','_isH1TagSupportEnabled','document','4300080axsvDE','body','_parseAndNormalizeContent','data','updateView','toModel','2895055WggYuY','trim','_domParser','custom','finally','tryAgainEvent','<h1></h1>','8458fYbYPq','set:currentContext','processor','value','length','3464712eWfLnX','ELEMENT_NODE','stopProcessing','querySelector','mainAction','ai.aiAssistant.preserveComments','previousActionId','catch','innerHTML','nodeType','textAdapter','stopListening','startProcessing','div','_sanitizeHTML','message','submitPrompt','makeRequest','initialContext','prompt','clear','htmlProcessor','createElement','finishProcessing','447XOafuZ','```','text/html','_normalizeResponseHeadings','listenTo'];_0x5114=function(){return _0x456f78;};return _0x5114();}function _0x3f45(_0x317215,_0x167152){const _0x5114e5=_0x5114();return _0x3f45=function(_0x3f450d,_0x50f37b){_0x3f450d=_0x3f450d-0xfb;let _0x245028=_0x5114e5[_0x3f450d];return _0x245028;},_0x3f45(_0x317215,_0x167152);}import{ObservableMixin as _0x1097ea}from'ckeditor5/src/utils.js';import{AIRequestError as _0x586e18}from'../adapters/aiadapter.js';import{Matcher as _0x3786f,UpcastWriter as _0x5cf3db}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1097ea(){constructor(_0x19ba8a,_0x5ea4db,_0x37ec1c){const _0x3d07ae=_0x3f45;super(),this[_0x3d07ae(0x105)]=_0x19ba8a,this[_0x3d07ae(0x13c)]=_0x5ea4db,this[_0x3d07ae(0x159)]=document[_0x3d07ae(0x148)](_0x3d07ae(0x13f)),this[_0x3d07ae(0x128)]=new DOMParser(),this[_0x3d07ae(0x114)]=new XMLSerializer(),this[_0x3d07ae(0x11b)]=_0x37ec1c,this[_0x3d07ae(0x107)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3d07ae(0x12e),(_0x106b77,_0x1a8761,_0x4022cc)=>{const _0x2960ef=_0x3d07ae;this[_0x2960ef(0x11b)][_0x2960ef(0x130)]=this[_0x2960ef(0x140)](_0x4022cc);}),this[_0x3d07ae(0x14e)](this[_0x3d07ae(0x11b)],_0x3d07ae(0x142),(_0x4e930a,_0x460f05)=>{const _0x5a313e=_0x3d07ae,_0x3c596d=this[_0x5a313e(0x109)]||this[_0x5a313e(0x144)];this[_0x5a313e(0x156)](_0x460f05,_0x3c596d,_0x5a313e(0x129));}),this[_0x3d07ae(0x14e)](this[_0x3d07ae(0x11b)],_0x3d07ae(0x12b),()=>{const _0x1513fc=_0x3d07ae;this[_0x1513fc(0x11b)][_0x1513fc(0x145)]=this[_0x1513fc(0x152)],this[_0x1513fc(0x156)](this[_0x1513fc(0x101)],this[_0x1513fc(0x11a)],this[_0x1513fc(0x138)],this[_0x1513fc(0x152)]);}),this[_0x3d07ae(0x14e)](this[_0x3d07ae(0x11b)],_0x3d07ae(0x134),()=>{const _0xc53b8f=_0x3d07ae;this[_0xc53b8f(0x134)]();});}[_0x222a89(0x110)](){const _0x17cd88=_0x222a89;this[_0x17cd88(0x13d)]();}async[_0x222a89(0x124)]({actionId:_0x56b7cf,query:_0xa87fc3,htmlContent:_0x5d9a75,label:_0x2de031,mainActionLabel:_0x54efec}){const _0x599b2c=_0x222a89;this[_0x599b2c(0x11b)][_0x599b2c(0x145)]=_0x2de031,this[_0x599b2c(0x11b)][_0x599b2c(0x136)]=_0x54efec,this[_0x599b2c(0x144)]=_0x5d9a75,_0xa87fc3&&(this[_0x599b2c(0x11b)][_0x599b2c(0x100)]?this[_0x599b2c(0x156)](_0xa87fc3,_0x5d9a75,_0x56b7cf,_0x2de031):this[_0x599b2c(0x11b)][_0x599b2c(0x10c)](_0x599b2c(0x153),()=>{const _0x25f300=_0x599b2c;this[_0x25f300(0x156)](_0xa87fc3,_0x5d9a75,_0x56b7cf,_0x2de031);}));}[_0x222a89(0x134)](){const _0x5c97c9=_0x222a89;this[_0x5c97c9(0x10e)]&&(this[_0x5c97c9(0x10e)]=!0x1,this[_0x5c97c9(0x11b)][_0x5c97c9(0x149)](),this[_0x5c97c9(0x13c)][_0x5c97c9(0x118)]());}[_0x222a89(0x151)](){const _0x55d5e2=_0x222a89;this[_0x55d5e2(0x144)]='',this[_0x55d5e2(0x109)]='',this[_0x55d5e2(0x103)]='',this[_0x55d5e2(0x11a)]='',this[_0x55d5e2(0x101)]='',this[_0x55d5e2(0x152)]='',this[_0x55d5e2(0x138)]=void 0x0,this[_0x55d5e2(0x11b)][_0x55d5e2(0x151)](),this[_0x55d5e2(0x134)]();}async[_0x222a89(0x156)](_0x4aa0f6,_0x595c1a,_0x34623b,_0x485a5a){const _0x51cc5f=_0x222a89;return this[_0x51cc5f(0x10e)]=!0x0,this[_0x51cc5f(0x11b)][_0x51cc5f(0x13e)](),this[_0x51cc5f(0x11a)]=_0x595c1a,this[_0x51cc5f(0x101)]=_0x4aa0f6,this[_0x51cc5f(0x152)]=_0x485a5a||_0x4aa0f6,this[_0x51cc5f(0x138)]=_0x34623b,new Promise(_0x48fc4d=>{const _0x26c74e=_0x51cc5f;this[_0x26c74e(0x13c)][_0x26c74e(0x143)]({'query':_0x4aa0f6,'context':_0x595c1a,'onData':_0x4cdd00=>{const _0x383d73=_0x26c74e;this[_0x383d73(0x103)]=_0x4cdd00,this[_0x383d73(0x109)]=this[_0x383d73(0x122)](this[_0x383d73(0x103)]);},'actionId':_0x34623b})[_0x26c74e(0xfc)](()=>{const _0x5928b2=_0x26c74e;!this[_0x5928b2(0x109)]&&this[_0x5928b2(0x103)]&&(this[_0x5928b2(0x109)]=this[_0x5928b2(0x122)](this[_0x5928b2(0x103)],!0x0));})[_0x26c74e(0x139)](_0x260a74=>{const _0x493acb=_0x26c74e;_0x260a74 instanceof _0x586e18?this[_0x493acb(0x11b)][_0x493acb(0x14f)](_0x260a74[_0x493acb(0x141)]):this[_0x493acb(0x11b)][_0x493acb(0x14f)](),_0x48fc4d();})[_0x26c74e(0x12a)](()=>{const _0x470a1c=_0x26c74e;this[_0x470a1c(0x134)](),_0x48fc4d();});});}[_0x222a89(0x122)](_0x3c5e98,_0xbd14b4=!0x1){const _0x4847c1=_0x222a89,_0x198439=Z[_0x4847c1(0x15a)](_0x3c5e98);_0x3c5e98=_0x198439?_0x3c5e98[_0x4847c1(0x104)](_0x198439[0x1][_0x4847c1(0x131)]):_0x3c5e98[_0x4847c1(0x131)]<0x64&&!_0xbd14b4?'':this[_0x4847c1(0x115)](_0x3c5e98);const _0x38927b=this[_0x4847c1(0x128)][_0x4847c1(0x111)](_0x3c5e98,_0x4847c1(0x14c));if(_0x198439){const _0x16b957=Array[_0x4847c1(0x11d)](_0x38927b[_0x4847c1(0x121)][_0x4847c1(0x102)]);_0x16b957[_0x4847c1(0xff)]();for(const _0x264dfa of _0x16b957){if(_0x264dfa[_0x4847c1(0x13b)]==Node[_0x4847c1(0x133)])break;_0x264dfa[_0x4847c1(0x150)]();}}const _0xe2e54f=this[_0x4847c1(0x105)][_0x4847c1(0x123)][_0x4847c1(0x12f)][_0x4847c1(0x154)](this[_0x4847c1(0x114)][_0x4847c1(0x157)](_0x38927b[_0x4847c1(0x121)]));this[_0x4847c1(0x11e)]()||this[_0x4847c1(0x14d)](_0xe2e54f);const _0x41e055=this[_0x4847c1(0x105)][_0x4847c1(0xfd)][_0x4847c1(0x116)](_0x4847c1(0x137)),_0x2ac301=this[_0x4847c1(0x105)][_0x4847c1(0x123)][_0x4847c1(0x125)](_0xe2e54f);return _0x41e055||_0x2ac301[_0x4847c1(0x112)][_0x4847c1(0x146)](),this[_0x4847c1(0x105)][_0x4847c1(0x123)][_0x4847c1(0x10b)](_0x2ac301);}[_0x222a89(0x14d)](_0x49ed5d){const _0x1795e2=_0x222a89,_0x237c70=new _0x5cf3db(this[_0x1795e2(0x105)][_0x1795e2(0x10d)][_0x1795e2(0x11b)][_0x1795e2(0x11f)]),_0x395ff3=new _0x3786f({'name':/^h[1-5]$/}),_0x99c2d1=[];let _0x3fa325=!0x1;for(const _0x39b65c of _0x49ed5d)_0x39b65c['is'](_0x1795e2(0x117))&&_0x395ff3[_0x1795e2(0x106)](_0x39b65c)&&(_0x99c2d1[_0x1795e2(0x10f)](_0x39b65c),'h1'==_0x39b65c[_0x1795e2(0xfe)]&&(_0x3fa325=!0x0));if(_0x3fa325){for(const _0x53916d of _0x99c2d1)_0x237c70[_0x1795e2(0x15e)]('h'+(parseInt(_0x53916d[_0x1795e2(0xfe)][0x1])+0x1),_0x53916d);}}[_0x222a89(0x11e)](){const _0x565a5a=_0x222a89,{data:_0x48cccf,editing:_0x251e9a}=this[_0x565a5a(0x105)],_0x16f566=_0x48cccf[_0x565a5a(0x147)][_0x565a5a(0x154)](_0x565a5a(0x12c)),_0x41a54f=_0x48cccf[_0x565a5a(0x154)](_0x48cccf[_0x565a5a(0x125)](_0x16f566));return!!_0x251e9a[_0x565a5a(0x11b)][_0x565a5a(0x11c)][_0x565a5a(0x119)](_0x41a54f)[_0x565a5a(0x135)]('h1');}[_0x222a89(0x140)](_0x5a8470){const _0x547e05=_0x222a89;return this[_0x547e05(0x105)][_0x547e05(0x10d)][_0x547e05(0x11b)][_0x547e05(0x11c)][_0x547e05(0x15c)](this[_0x547e05(0x159)],_0x5a8470),this[_0x547e05(0x159)][_0x547e05(0x13a)];}[_0x222a89(0x115)](_0x34b2fa){const _0x3fe5b6=_0x222a89,_0x371f71=_0x34b2fa[_0x3fe5b6(0x127)]();return _0x371f71[_0x3fe5b6(0x108)](_0x3fe5b6(0x10a))?_0x371f71[_0x3fe5b6(0xfb)](_0x3fe5b6(0x14b))?_0x371f71[_0x3fe5b6(0x104)](0x7,_0x371f71[_0x3fe5b6(0x131)]-0x3):_0x371f71[_0x3fe5b6(0x104)](0x7):_0x34b2fa;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x151b6e=_0x1d89;function _0x1d89(_0x386f4d,_0x220bc4){const _0x1d89a2=_0x847b();return _0x1d89=function(_0x50586a,_0x18a9c0){_0x50586a=_0x50586a-0xe3;let _0x40c80b=_0x1d89a2[_0x50586a];return _0x40c80b;},_0x1d89(_0x386f4d,_0x220bc4);}(function(_0x12f604,_0xc5b697){const _0x28b018=_0x1d89,_0x2c97ba=_0x12f604();while(!![]){try{const _0x246f6a=parseInt(_0x28b018(0x138))/0x1*(parseInt(_0x28b018(0x132))/0x2)+-parseInt(_0x28b018(0xea))/0x3*(-parseInt(_0x28b018(0xfd))/0x4)+-parseInt(_0x28b018(0xf0))/0x5*(-parseInt(_0x28b018(0x11e))/0x6)+-parseInt(_0x28b018(0x109))/0x7*(parseInt(_0x28b018(0x122))/0x8)+-parseInt(_0x28b018(0xf7))/0x9*(parseInt(_0x28b018(0xeb))/0xa)+-parseInt(_0x28b018(0x119))/0xb+-parseInt(_0x28b018(0x120))/0xc*(-parseInt(_0x28b018(0x126))/0xd);if(_0x246f6a===_0xc5b697)break;else _0x2c97ba['push'](_0x2c97ba['shift']());}catch(_0xabde05){_0x2c97ba['push'](_0x2c97ba['shift']());}}}(_0x847b,0x9d85f));import{global as _0x1e3b69}from'ckeditor5/src/utils.js';import{View as _0x4d9f33,ButtonView as _0x145650,SpinnerView as _0x33b9ae}from'ckeditor5/src/ui.js';import _0x5dc681 from'../../../theme/icons/copy.svg';import{getTranslation as _0x93289d}from'../../utils/common-translations.js';import{icons as _0x556451}from'ckeditor5/src/core.js';export default class X extends _0x4d9f33{constructor(_0x302326,_0x28e416=''){const _0x40ac52=_0x1d89;super(_0x302326),this[_0x40ac52(0x11d)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x776d9a=this[_0x40ac52(0x133)];this[_0x40ac52(0x10d)]=new ContentFieldView(_0x302326,_0x28e416),this[_0x40ac52(0x12c)]=this[_0x40ac52(0x10e)](),this[_0x40ac52(0xfa)]({'tag':_0x40ac52(0x116),'attributes':{'class':['ck',_0x40ac52(0x102),_0x776d9a['if'](_0x40ac52(0xe3),_0x40ac52(0x125),_0x533cad=>!_0x533cad)],'tabindex':'-1'},'children':[{'tag':_0x40ac52(0x116),'attributes':{'class':['ck',_0x40ac52(0xec),_0x776d9a['if'](_0x40ac52(0xf9),_0x40ac52(0xfb))]},'children':[this[_0x40ac52(0x10d)],{'tag':_0x40ac52(0x116),'attributes':{'class':['ck',_0x40ac52(0x11f)]},'children':[this[_0x40ac52(0x12c)]]}]}]});}[_0x151b6e(0xfe)](){const _0x222bee=_0x151b6e;super[_0x222bee(0xfe)](),this[_0x222bee(0x128)]&&this[_0x222bee(0x10d)][_0x222bee(0xf1)](this[_0x222bee(0x128)]);let _0x4d365a=!0x1;this['on'](_0x222bee(0x103),(_0x1a214e,_0x4724bd,_0x54800f)=>{const _0x579e80=_0x222bee,_0x5bb9e6=!this[_0x579e80(0x10d)][_0x579e80(0x110)][_0x579e80(0x12b)](_0x579e80(0xed));this[_0x579e80(0x10d)][_0x579e80(0xf1)](_0x54800f),this[_0x579e80(0xf9)]&&_0x5bb9e6&&!_0x4d365a&&this[_0x579e80(0x110)][_0x579e80(0xf4)]({'top':this[_0x579e80(0x110)][_0x579e80(0x127)],'behavior':_0x579e80(0xff)});}),this['on'](_0x222bee(0x139),(_0x5109e1,_0x422982,_0x2d6d2a)=>{const _0x52e80d=_0x222bee;_0x4d365a=!0x1,_0x2d6d2a?(this[_0x52e80d(0x128)]=null,this[_0x52e80d(0x10d)][_0x52e80d(0x107)]()):this[_0x52e80d(0x128)]||this[_0x52e80d(0x10d)][_0x52e80d(0xf1)]('');}),this[_0x222bee(0x104)](this[_0x222bee(0x110)],_0x222bee(0x115),()=>{_0x4d365a=!0x0;}),this[_0x222bee(0x104)](this[_0x222bee(0x110)],_0x222bee(0x130),()=>{_0x4d365a=!0x0;});}[_0x151b6e(0x13a)](){const _0x12b06a=_0x151b6e;this[_0x12b06a(0x110)][_0x12b06a(0x13a)]();}[_0x151b6e(0x10e)](){const _0x57381a=_0x151b6e,_0x5ec769=this[_0x57381a(0x10c)],_0x10462e=new _0x145650(this[_0x57381a(0x10c)]),_0xc945e1=_0x57381a(0xf2);return _0x10462e[_0x57381a(0x11d)]({'label':_0x93289d(_0x5ec769,_0x57381a(0x105)),'icon':_0x5dc681,'class':_0xc945e1,'tooltip':!0x0}),_0x10462e[_0x57381a(0x106)](_0x57381a(0xe3))['to'](this,_0x57381a(0x128),_0x385c63=>!!_0x385c63),_0x10462e[_0x57381a(0x106)](_0x57381a(0xee))['to'](this,_0x57381a(0xf9),_0x10f6b5=>!_0x10f6b5),_0x10462e['on'](_0x57381a(0x101),()=>{const _0x35d954=_0x57381a;this[_0x35d954(0x117)](this[_0x35d954(0x10d)][_0x35d954(0x110)]),_0x10462e[_0x35d954(0x118)]=_0x556451[_0x35d954(0x10b)],_0x10462e[_0x35d954(0xe7)]=_0xc945e1+_0x35d954(0x121),this[_0x35d954(0x13a)](),setTimeout(()=>{const _0x4ba46e=_0x35d954;_0x10462e[_0x4ba46e(0x118)]=_0x5dc681,_0x10462e[_0x4ba46e(0xe7)]=_0xc945e1;},0x3e8);}),_0x10462e;}[_0x151b6e(0x117)](_0x11feba){const _0x17743c=_0x151b6e,{window:_0x5dab1e,document:_0x5e3676}=_0x1e3b69;if(_0x5dab1e[_0x17743c(0xf5)]){const {Blob:_0x142729,ClipboardItem:_0x3a3f10}=_0x5dab1e,_0x1aa27a=[new _0x3a3f10({'text/html':new _0x142729([_0x11feba[_0x17743c(0x114)]],{'type':_0x17743c(0x10f)}),'text/plain':new _0x142729([_0x11feba[_0x17743c(0x113)]||''],{'type':_0x17743c(0x136)})})];navigator[_0x17743c(0x13b)][_0x17743c(0x111)](_0x1aa27a);}else{const _0x518896=_0x5e3676[_0x17743c(0xef)](_0x17743c(0x116));_0x518896[_0x17743c(0x134)][_0x17743c(0x108)]=_0x17743c(0x11b),_0x518896[_0x17743c(0x134)][_0x17743c(0x12d)]=_0x17743c(0x12f),_0x518896[_0x17743c(0x114)]=_0x17743c(0x11c)+_0x11feba[_0x17743c(0x114)]+_0x17743c(0x11a),_0x5e3676[_0x17743c(0x129)][_0x17743c(0x123)](_0x518896);const _0x26497d=_0x5e3676[_0x17743c(0xe8)]();_0x26497d[_0x17743c(0x135)](_0x518896[_0x17743c(0x131)]),_0x26497d[_0x17743c(0x12a)](_0x518896[_0x17743c(0x112)]);const _0x405a6d=_0x5dab1e[_0x17743c(0xe6)]();_0x405a6d[_0x17743c(0xe4)](),_0x405a6d[_0x17743c(0x137)](_0x26497d),_0x5e3676[_0x17743c(0x124)](_0x17743c(0x10a)),_0x518896[_0x17743c(0xf8)]();}}}function _0x847b(){const _0x3e3200=['remove','isProcessing','setTemplate','ck-ai-form__content-area--processing','_createLoader','4xlfIZf','render','smooth','ck-reset_all-excluded','execute','ck-ai-form__content-area-wrapper','change:value','listenTo','Copy','bind','appendLoader','position','1608838JUoWyj','copy','check','locale','contentFieldView','_createCopyButton','text/html','element','write','lastElementChild','textContent','innerHTML','wheel','div','_copyHTMLToClipboard','icon','11236687tCXAWI','<span>]</span>','absolute','<span>[</span>','set','303162OxIVGb','ck-ai-form__copy-button-wrapper','10305444uwSyqn','\x20ck-ai-form__copy-button--copied','16TmBkzS','appendChild','execCommand','ck-hidden','13rNkWRh','scrollHeight','value','body','setEndBefore','querySelector','copyButtonView','left','loaderView','-9999px','mousedown','firstElementChild','100DoTXxE','bindTemplate','style','setStartAfter','text/plain','addRange','5234vwYHdr','change:isProcessing','focus','clipboard','isVisible','removeAllRanges','AI\x20is\x20writing...','getSelection','class','createRange','ck-ai-form__loader','2865615XnNRsj','10BNbmwK','ck-ai-form__content-area','.ck-ai-form__loader','isEnabled','createElement','90FORhUm','setContent','ck-ai-form__copy-button','ck-ai-form__content-field','scrollTo','ClipboardItem','ck-content','7729002pDiPgQ'];_0x847b=function(){return _0x3e3200;};return _0x847b();}export class ContentFieldView extends _0x4d9f33{constructor(_0x2873ba,_0x23833c=''){const _0x39642=_0x151b6e;super(_0x2873ba),this[_0x39642(0x12e)]=this[_0x39642(0xfc)](),this[_0x39642(0xfa)]({'tag':_0x39642(0x116),'attributes':{'class':['ck',_0x39642(0xf6),_0x23833c,_0x39642(0x100),_0x39642(0xf3)]}});}[_0x151b6e(0xf1)](_0x1d1fc6){const _0x40adae=_0x151b6e;this[_0x40adae(0x110)][_0x40adae(0x114)]=_0x1d1fc6;}[_0x151b6e(0x107)](){const _0x400843=_0x151b6e;this[_0x400843(0x110)][_0x400843(0x123)](this[_0x400843(0x12e)][_0x400843(0x110)]);}[_0x151b6e(0xfc)](){const _0x34355b=_0x151b6e,_0x596689=new _0x4d9f33(),_0x4120c5=this[_0x34355b(0x10c)],_0x37d3e4=new _0x33b9ae();return _0x37d3e4[_0x34355b(0xe3)]=!0x0,_0x596689[_0x34355b(0xfa)]({'tag':_0x34355b(0x116),'attributes':{'class':['ck',_0x34355b(0xe9)]},'children':[_0x37d3e4,{'text':_0x93289d(_0x4120c5,_0x34355b(0xe5))}]}),_0x596689[_0x34355b(0xfe)](),_0x596689;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3a9a7f,_0x5bd97c){const _0x21abae=_0x4850,_0x5cfd73=_0x3a9a7f();while(!![]){try{const _0x5c15a4=-parseInt(_0x21abae(0x161))/0x1*(parseInt(_0x21abae(0x171))/0x2)+-parseInt(_0x21abae(0x168))/0x3*(parseInt(_0x21abae(0x166))/0x4)+-parseInt(_0x21abae(0x162))/0x5*(-parseInt(_0x21abae(0x160))/0x6)+parseInt(_0x21abae(0x16e))/0x7*(-parseInt(_0x21abae(0x169))/0x8)+parseInt(_0x21abae(0x16c))/0x9+parseInt(_0x21abae(0x165))/0xa*(-parseInt(_0x21abae(0x172))/0xb)+-parseInt(_0x21abae(0x170))/0xc*(-parseInt(_0x21abae(0x16a))/0xd);if(_0x5c15a4===_0x5bd97c)break;else _0x5cfd73['push'](_0x5cfd73['shift']());}catch(_0x343028){_0x5cfd73['push'](_0x5cfd73['shift']());}}}(_0x4c7d,0xdd832));import{View as _0x1b5829,IconView as _0x4eb989}from'ckeditor5/src/ui.js';import _0x4b8d60 from'../../../theme/icons/error.svg';function _0x4850(_0x18e727,_0x33fce9){const _0x4c7d5d=_0x4c7d();return _0x4850=function(_0x48507c,_0x27d886){_0x48507c=_0x48507c-0x160;let _0x2566a2=_0x4c7d5d[_0x48507c];return _0x2566a2;},_0x4850(_0x18e727,_0x33fce9);}export default class rt extends _0x1b5829{constructor(_0x5cc1de,_0x472887=''){const _0x477b7f=_0x4850;super(_0x5cc1de);const _0x57f33f=new _0x4eb989(),_0x2ac1b1=this[_0x477b7f(0x16f)];this[_0x477b7f(0x164)](_0x477b7f(0x173),_0x472887),_0x57f33f[_0x477b7f(0x16b)]=_0x4b8d60,this[_0x477b7f(0x167)]({'tag':_0x477b7f(0x16d),'attributes':{'class':['ck',_0x477b7f(0x163)]},'children':[_0x57f33f,{'text':_0x2ac1b1['to'](_0x477b7f(0x173))}]});}}function _0x4c7d(){const _0xc2cfe=['673634mzjlrk','7161ZEqbye','text','40194NhKXyR','4qZDCZv','210BNwrUd','ck-ai-form__error','set','1090PqCAhV','292LoUzMC','setTemplate','17643BuAvQt','6465832sKGRRI','39aIDfGa','content','11442906JCWkDY','div','7axBVqS','bindTemplate','8041164ffPIPp'];_0x4c7d=function(){return _0xc2cfe;};return _0x4c7d();}
|