@ckeditor/ckeditor5-ai 44.0.0-alpha.7 → 44.0.0-alpha.9
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/LICENSE.md +3 -3
- package/README.md +6 -5
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf8aa4=_0x5ccb;(function(_0x52e26e,_0x18fc79){const _0x572310=_0x5ccb,_0x2f1b52=_0x52e26e();while(!![]){try{const _0x124dd7=parseInt(_0x572310(0x1c0))/0x1*(parseInt(_0x572310(0x1f1))/0x2)+parseInt(_0x572310(0x1b3))/0x3+parseInt(_0x572310(0x1b0))/0x4*(-parseInt(_0x572310(0x199))/0x5)+-parseInt(_0x572310(0x1da))/0x6*(parseInt(_0x572310(0x1fd))/0x7)+parseInt(_0x572310(0x1b8))/0x8+-parseInt(_0x572310(0x1ab))/0x9*(-parseInt(_0x572310(0x1f5))/0xa)+-parseInt(_0x572310(0x1ea))/0xb;if(_0x124dd7===_0x18fc79)break;else _0x2f1b52['push'](_0x2f1b52['shift']());}catch(_0x5d9c76){_0x2f1b52['push'](_0x2f1b52['shift']());}}}(_0x15f8,0xba524));import{Plugin as _0x75fcbd}from'ckeditor5/src/core.js';import _0x9fc1ad from'./aiassistantui.js';import _0xf8f970 from'./aiassistantediting.js';import{getTranslation as _0x4be997}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2093c0}from'./utils/normalizecommandsconfig.js';export default class r extends _0x75fcbd{static get[_0xf8aa4(0x1c9)](){return[_0x9fc1ad,_0xf8f970];}static get[_0xf8aa4(0x1fe)](){const _0x5ac0d4=_0xf8aa4;return _0x5ac0d4(0x1aa);}static get[_0xf8aa4(0x1b2)](){return!0x0;}static get[_0xf8aa4(0x1c6)](){return!0x0;}constructor(_0x541b26){const _0xa7d40f=_0xf8aa4;super(_0x541b26);const _0x395a5e=_0x541b26[_0xa7d40f(0x1e6)],_0x24c1a1=_0x541b26[_0xa7d40f(0x1a5)];_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x1d9),getDefaultCommands(_0x24c1a1)),_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x19a),[]),_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x1ad),[]);const _0x34e644=_0x2093c0(_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x1d9)),_0x24c1a1),_0x2bf69b=_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x19a)),_0x1d96f4=_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x1ad));_0x2bf69b[_0xa7d40f(0x1c7)](_0x294a8f=>{const _0x5d9200=_0xa7d40f,_0x3f38cf=_0x34e644[_0x5d9200(0x1a7)](_0x1c68be=>_0x1c68be[_0x5d9200(0x1dd)]===_0x294a8f[_0x5d9200(0x1dd)]);_0x3f38cf?_0x3f38cf[_0x5d9200(0x1ec)]=_0x3f38cf[_0x5d9200(0x1ec)][_0x5d9200(0x1bc)](_0x294a8f[_0x5d9200(0x1ec)]):_0x34e644[_0x5d9200(0x1b6)](_0x294a8f);}),_0x34e644[_0xa7d40f(0x1c7)](_0xc937f1=>{const _0x30348d=_0xa7d40f;_0xc937f1[_0x30348d(0x1ec)]=_0xc937f1[_0x30348d(0x1ec)][_0x30348d(0x1ce)](_0x4be7d3=>!_0x1d96f4[_0x30348d(0x1a3)](_0x4be7d3['id']));}),_0x395a5e[_0xa7d40f(0x1e5)](_0xa7d40f(0x1d9),_0x34e644);}}export function getDefaultCommands(_0x2c30f7){const _0x5345c2=_0xf8aa4;return[{'groupId':_0x5345c2(0x1f0),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1c3)),'commands':[{'id':_0x5345c2(0x19e),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ed)),'prompt':_0x5345c2(0x19f)},{'id':_0x5345c2(0x1c8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1c1)),'prompt':_0x5345c2(0x1f9)},{'id':_0x5345c2(0x1ef),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1b5)),'prompt':_0x5345c2(0x1d1)},{'id':_0x5345c2(0x1e3),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ae)),'prompt':_0x5345c2(0x1af)}]},{'groupId':_0x5345c2(0x1f6),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1a6)),'commands':[{'id':_0x5345c2(0x193),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1e9)),'prompt':_0x5345c2(0x1e1)},{'id':_0x5345c2(0x1d2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1f8)),'prompt':_0x5345c2(0x1de)}]},{'groupId':_0x5345c2(0x1bd),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1e8)),'commands':[{'id':_0x5345c2(0x1d8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1e0)),'prompt':_0x5345c2(0x1d6)},{'id':_0x5345c2(0x1f7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1d3)),'prompt':_0x5345c2(0x1f4)},{'id':_0x5345c2(0x1c2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x19b)),'prompt':_0x5345c2(0x1a0)},{'id':_0x5345c2(0x1a8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ac)),'prompt':_0x5345c2(0x1ee)},{'id':_0x5345c2(0x1bb),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1c4)),'prompt':_0x5345c2(0x1b9)}]},{'groupId':_0x5345c2(0x1bf),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1ca)),'commands':[{'id':_0x5345c2(0x1cb),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1f2)),'prompt':_0x5345c2(0x1f3)},{'id':_0x5345c2(0x1d0),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x195)),'prompt':_0x5345c2(0x1e4)},{'id':_0x5345c2(0x1ff),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1eb)),'prompt':_0x5345c2(0x1d5)},{'id':_0x5345c2(0x1dc),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x194)),'prompt':_0x5345c2(0x1ba)}]},{'groupId':_0x5345c2(0x1db),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1d7)),'commands':[{'id':_0x5345c2(0x1cc),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1a9)),'prompt':_0x5345c2(0x197)},{'id':_0x5345c2(0x1be),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1b4)),'prompt':_0x5345c2(0x1cd)},{'id':_0x5345c2(0x1fa),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1fc)),'prompt':_0x5345c2(0x191)},{'id':_0x5345c2(0x1e7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x19d)),'prompt':_0x5345c2(0x19c)},{'id':_0x5345c2(0x1b7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1d4)),'prompt':_0x5345c2(0x1a1)},{'id':_0x5345c2(0x1b1),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1a2)),'prompt':_0x5345c2(0x1a4)},{'id':_0x5345c2(0x1e2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1cf)),'prompt':_0x5345c2(0x196)},{'id':_0x5345c2(0x192),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x198)),'prompt':_0x5345c2(0x1df)}]}];}function _0x5ccb(_0x51f465,_0x4e7b1e){const _0x15f860=_0x15f8();return _0x5ccb=function(_0x5ccb7e,_0xe84ec8){_0x5ccb7e=_0x5ccb7e-0x191;let _0x40c83c=_0x15f860[_0x5ccb7e];return _0x40c83c;},_0x5ccb(_0x51f465,_0x4e7b1e);}function _0x15f8(){const _0x59abeb=['translateChinese','isOfficialPlugin','2370072OfDcdA','Spanish','Make\x20longer','push','translateFrench','4888872dLzFrq','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','friendly','concat','changeTone','translateSpanish','changeStyle','79ApmabT','Make\x20shorter','direct','Edit\x20or\x20review','Friendly','define','isPremiumPlugin','forEach','makeShorter','requires','Change\x20style','business','translateEnglish','Translate\x20the\x20content\x20to\x20Spanish\x20language.','filter','Hindi','legal','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','continue','Casual','French','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate','professional','ai.aiAssistant.commands','6tybKNd','translate','poetic','groupId','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Professional','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateHindi','simplifyLanguage','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','set','config','translateGerman','Change\x20tone','Summarize','14082409KbAVGe','Journalism','commands','Improve\x20writing','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','makeLonger','editOrReview','10866hyWTFU','Business','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','10coYffl','generate','casual','Continue','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translatePortuguese','get','Portuguese','1085735MmkOhv','pluginName','journalism','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateArabic','summarize','Poetic','Legal','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','Arabic','1795pJHumf','ai.aiAssistant.extraCommandGroups','Direct','Translate\x20the\x20content\x20to\x20German\x20language.','German','improveWriting','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Translate\x20the\x20content\x20to\x20French\x20language.','Simplified\x20Chinese','includes','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','locale','Generate\x20from\x20selection','find','confident','English','AIAssistant','13145337EtggUl','Confident','ai.aiAssistant.removeCommands','Simplify\x20language','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','12172gEtGBR'];_0x15f8=function(){return _0x59abeb;};return _0x15f8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3eb84e=_0x24d3;function _0x4b2e(){const _0x18705b=['editingDowncast','afterInit','data','2650965vwtnPL','join','push','start','markerToElement','fromCharCode','insertContentBelow','conversion','updateMarker','ck-fake-ai-selection_collapsed','getLastMatchingPosition','setSelection','hideFakeVisualSelection','init','pop','addMarker','href','canEditAt','createUIElement','for','1325DBokec','createSelection','isAtEnd','from','AIAssistantEditing','isCollapsed','markers','showFakeVisualSelection','processor','toView','37623304wdcvNd','isPremiumPlugin','toModel','isOfficialPlugin','insertContent','12428920ZbSEQb','getFirstRange','span','length','ai.useTheme','15882hNoKUt','getSelectedBlocks','pluginName','createRange','end','addClass','model','selection','1010984KHCGSG','has','createPositionAfter','ai-ui','document','markerRange','get','markerToHighlight','207072foVfuJ','getLastPosition','getRange','schema','isContent','removeMarker','change','map','1675348FMQibv','ck-ai-assistant-ui_theme','config','ck-fake-ai-selection','editor'];_0x4b2e=function(){return _0x18705b;};return _0x4b2e();}(function(_0x119328,_0x3d7ffa){const _0x44288c=_0x24d3,_0x2c47b4=_0x119328();while(!![]){try{const _0x2a9faf=-parseInt(_0x44288c(0x196))/0x1+-parseInt(_0x44288c(0x1a6))/0x2+-parseInt(_0x44288c(0x1ae))/0x3+parseInt(_0x44288c(0x19e))/0x4+-parseInt(_0x44288c(0x1c2))/0x5*(-parseInt(_0x44288c(0x18e))/0x6)+-parseInt(_0x44288c(0x1d1))/0x7+parseInt(_0x44288c(0x1cc))/0x8;if(_0x2a9faf===_0x3d7ffa)break;else _0x2c47b4['push'](_0x2c47b4['shift']());}catch(_0x3cec73){_0x2c47b4['push'](_0x2c47b4['shift']());}}}(_0x4b2e,0xe7827));function _0x24d3(_0x269880,_0x3f834a){const _0x4b2e9c=_0x4b2e();return _0x24d3=function(_0x24d349,_0x365e71){_0x24d349=_0x24d349-0x18a;let _0x321bb9=_0x4b2e9c[_0x24d349];return _0x321bb9;},_0x24d3(_0x269880,_0x3f834a);}import{uid as _0x45a3b0}from'ckeditor5/src/utils.js';import{Plugin as _0x2bbe5f}from'ckeditor5/src/core.js';const u=_0x3eb84e(0x199);export default class a extends _0x2bbe5f{static get[_0x3eb84e(0x190)](){const _0x315c72=_0x3eb84e;return _0x315c72(0x1c6);}static get[_0x3eb84e(0x1cf)](){return!0x0;}static get[_0x3eb84e(0x1cd)](){return!0x0;}[_0x3eb84e(0x1bb)](){const _0x5640d1=_0x3eb84e,{editor:_0x50c7e0}=this,_0x255a81=[_0x5640d1(0x1a9)];_0x50c7e0[_0x5640d1(0x1a8)][_0x5640d1(0x19c)](_0x5640d1(0x18d))&&_0x255a81[_0x5640d1(0x1b0)](_0x5640d1(0x1a7)),_0x50c7e0[_0x5640d1(0x1b5)][_0x5640d1(0x1c1)](_0x5640d1(0x1ab))[_0x5640d1(0x19d)]({'model':u,'view':{'classes':_0x255a81,'priority':0xc}}),_0x50c7e0[_0x5640d1(0x1b5)][_0x5640d1(0x1c1)](_0x5640d1(0x1ab))[_0x5640d1(0x1b2)]({'model':u,'view':(_0x3b2ea3,{writer:_0x4793e6})=>{const _0x25c6ef=_0x5640d1;if(!_0x3b2ea3[_0x25c6ef(0x19b)][_0x25c6ef(0x1c7)])return null;const _0x26c473=_0x4793e6[_0x25c6ef(0x1c0)](_0x25c6ef(0x18b));return _0x4793e6[_0x25c6ef(0x193)]([_0x25c6ef(0x1a9),_0x25c6ef(0x1b7)],_0x26c473),_0x26c473;}});}[_0x3eb84e(0x1ac)](){!async function(_0x539f8e){const _0x10af4f=_0x50d82b([0x76,0x6b,0x77,0x75,0x64,0x74,0x31,0x67,0x65,0x6e,0x50,0x33,0x69,0x41,0x44,0x52,0x4c,0x6a,0x53,0x4f,0x43,0x55,0x56,0x4e,0x6c,0x72,0x57,0x73,0x66,0x4a,0x38,0x49,0x45,0x54,0x47,0x42,0x39,0x68,0x6d,0x4b,0x37,0x61,0x34,0x7a,0x36,0x79,0x6f,0x51,0x32,0x78,0x58,0x63,0x62,0x35,0x30,0x5a,0x4d,0x48,0x59,0x46,0x71,0x70]),_0x26b46a=0x7799b3ba,_0x4ae2b5=0x779eebaa^_0x26b46a,_0x25bbc4=window[_0x50d82b([0x44,0x61,0x74,0x65])][_0x50d82b([0x6e,0x6f,0x77])](),_0x4f0266=_0x539f8e[_0x50d82b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ca402=new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe71cf6=>{_0x4f0266[_0x50d82b([0x6f,0x6e,0x63,0x65])](_0x50d82b([0x72,0x65,0x61,0x64,0x79]),_0xe71cf6);}),_0x4e2eb8={[_0x50d82b([0x6b,0x74,0x79])]:_0x50d82b([0x45,0x43]),[_0x50d82b([0x75,0x73,0x65])]:_0x50d82b([0x73,0x69,0x67]),[_0x50d82b([0x63,0x72,0x76])]:_0x50d82b([0x50,0x2d,0x32,0x35,0x36]),[_0x50d82b([0x78])]:_0x50d82b([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]),[_0x50d82b([0x79])]:_0x50d82b([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]),[_0x50d82b([0x61,0x6c,0x67])]:_0x50d82b([0x45,0x53,0x32,0x35,0x36])},_0x2012c3=_0x4f0266[_0x50d82b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50d82b([0x67,0x65,0x74])](_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f9e62(){let _0x4eeb21,_0xfffb89=null,_0x19d019=null;try{if(_0x2012c3==_0x50d82b([0x47,0x50,0x4c]))return _0x50d82b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4eeb21=_0x397a19(),!_0x4eeb21)return _0x50d82b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4eeb21[_0x50d82b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19d019=_0x510aba(_0x4eeb21[_0x50d82b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4eeb21[_0x50d82b([0x6a,0x74,0x69])])),await _0x1f337a()?_0x2ab5a7()?_0xdc0a2d()?_0x50d82b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x57b119()?(_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d82b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xfffb89=_0x51c055(_0x50d82b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d82b([0x74,0x72,0x69,0x61,0x6c])&&(_0xfffb89=_0x51c055(_0x50d82b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d82b([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0xfffb89=_0x51c055(_0x50d82b([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19aa9a()):_0x50d82b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50d82b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50d82b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1d0eb3){return _0x50d82b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdc0a2d(){const _0x41ead3=[_0x50d82b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50d82b([0x74,0x72,0x69,0x61,0x6c])][_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25bbc4/0x3e8:0xe10*_0x4ae2b5;return _0x4eeb21[_0x50d82b([0x65,0x78,0x70])]<_0x41ead3;}function _0x2ab5a7(){const _0x548507=_0x4eeb21[_0x50d82b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x548507&&(!!_0x548507[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d82b([0x2a]))||!!_0x548507[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d82b([0x41,0x49])));}function _0x57b119(){const _0xd5b97a=_0x24d3,_0x84b4a9=_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x84b4a9||0x0==_0x84b4a9[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31e2e9}=new URL(window[_0x50d82b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xd5b97a(0x1be)]);if(_0x84b4a9[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31e2e9))return!0x0;const _0x438589=_0x31e2e9[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e]));return _0x84b4a9[_0x50d82b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25e5b5=>_0x25e5b5[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d82b([0x2a])))[_0x50d82b([0x6d,0x61,0x70])](_0x51c457=>_0x51c457[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e])))[_0x50d82b([0x73,0x6f,0x6d,0x65])](_0x29b60c=>_0x438589[_0x50d82b([0x65,0x76,0x65,0x72,0x79])]((_0x53d558,_0x1c8b55)=>_0x29b60c[_0x1c8b55]===_0x53d558||_0x29b60c[_0x1c8b55]===_0x50d82b([0x2a])));}function _0x19aa9a(){return _0xfffb89&&_0x19d019?new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x190b68,_0x5a543e)=>{_0xfffb89[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x190b68,_0x5a543e),_0x19d019[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x392899=>{_0x392899!=_0x50d82b([0x56,0x61,0x6c,0x69,0x64])&&_0x190b68(_0x392899);},_0x5a543e);}):_0xfffb89||_0x19d019||_0x50d82b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x510aba(_0x4a6202,_0x5c3d1f){return new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8f9892=>{if(_0x3b8e1c())return _0x8f9892(_0x50d82b([0x56,0x61,0x6c,0x69,0x64]));_0x36b474(),_0x4f0266[_0x50d82b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50d82b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36f6de=!0x1;const _0xd4b184=_0x45a3b0();function _0x2f5ac3(_0x38311c){return!!_0x38311c&&(typeof _0x38311c===_0x50d82b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38311c===_0x50d82b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38311c[_0x50d82b([0x74,0x68,0x65,0x6e])]===_0x50d82b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38311c[_0x50d82b([0x63,0x61,0x74,0x63,0x68])]===_0x50d82b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5257b5(_0x20e501){_0x399b19(_0x20e501)[_0x50d82b([0x74,0x68,0x65,0x6e])](_0xe99b8d=>{if(!_0xe99b8d||_0xe99b8d[_0x50d82b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50d82b([0x6f,0x6b]))return _0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x181a01(_0x56a028(_0xd4b184+_0x5c3d1f))!=_0xe99b8d[_0x50d82b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50d82b([0x56,0x61,0x6c,0x69,0x64]);})[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x58cc51=>(_0x197ad8(),_0x58cc51),()=>{const _0x8213e3=_0x191ea4();return null==_0x8213e3?(_0x197ad8(),_0x50d82b([0x56,0x61,0x6c,0x69,0x64])):_0x50d82b(_0x25bbc4-_0x8213e3>(0x539537ba^_0x26b46a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x8f9892)[_0x50d82b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x8f9892(_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x320ca1=0x77af5d3a^_0x26b46a;function _0x197ad8(){const _0x829575=_0x50d82b([0x6c,0x6c,0x63,0x74,0x2d])+_0x181a01(_0x56a028(_0x4a6202)),_0x36bd78=_0x7f250(_0x181a01(window[_0x50d82b([0x4d,0x61,0x74,0x68])][_0x50d82b([0x63,0x65,0x69,0x6c])](_0x25bbc4/_0x320ca1)));window[_0x50d82b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d82b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x829575,_0x36bd78);}function _0x191ea4(){const _0x1cea86=_0x50d82b([0x6c,0x6c,0x63,0x74,0x2d])+_0x181a01(_0x56a028(_0x4a6202)),_0x2d62f6=window[_0x50d82b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d82b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cea86);return _0x2d62f6?window[_0x50d82b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7f250(_0x2d62f6),0x10)*_0x320ca1:null;}function _0x399b19(_0x38227f){return new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f10e5,_0x4287ac)=>{_0x38227f[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x3f10e5,_0x4287ac),window[_0x50d82b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4287ac,0x7798677a^_0x26b46a);});}}_0x4f0266[_0x50d82b([0x6f,0x6e])](_0x50d82b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16b1a0,_0x1e6e3a)=>{if(_0x1e6e3a[0x0]!=_0x4a6202)return _0x8f9892(_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e6e3a[0x1]={..._0x1e6e3a[0x1],[_0x50d82b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd4b184};},{[_0x50d82b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d82b([0x68,0x69,0x67,0x68])}),_0x4f0266[_0x50d82b([0x6f,0x6e])](_0x50d82b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b49e0=>{_0x2f5ac3(_0x2b49e0[_0x50d82b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36f6de=!0x0,_0x5257b5(_0x2b49e0[_0x50d82b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50d82b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d82b([0x6c,0x6f,0x77])}),_0x2ca402[_0x50d82b([0x74,0x68,0x65,0x6e])](()=>{_0x36f6de||_0x8f9892(_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b8e1c(){return _0x4f0266[_0x50d82b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d82b([0x76,0x69,0x65,0x77])][_0x50d82b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50d82b([0x61,0x75,0x74,0x6f]);}function _0x36b474(){_0x4f0266[_0x50d82b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d82b([0x76,0x69,0x65,0x77])][_0x50d82b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50d82b([0x61,0x75,0x74,0x6f]);}}function _0x51c055(_0x1e995b){const _0x10359c=[new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xade3b9=>setTimeout(_0xade3b9,0x77908d76^_0x26b46a)),_0x2ca402[_0x50d82b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x497d09=>{let _0x3bfbbb=0x0;_0x4f0266[_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d82b([0x6f,0x6e])](_0x50d82b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x483f1a,_0x59868a)=>{_0x59868a[0x0][_0x50d82b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bfbbb++,_0x3bfbbb==(0x7799b242^_0x26b46a)&&(_0x497d09(),_0x483f1a[_0x50d82b([0x6f,0x66,0x66])]());});}))];return window[_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50d82b([0x72,0x61,0x63,0x65])](_0x10359c)[_0x50d82b([0x74,0x68,0x65,0x6e])](()=>_0x1e995b);}async function _0x324735(){await _0x2ca402,_0x4f0266[_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d82b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f1fb8,_0x4f0266[_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d82b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f1fb8,_0x4f0266[_0x50d82b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1182e9(_0x1a05f0){const _0xb95143=_0x528577();_0x4f0266[_0xb95143]=_0x50d82b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a05f0,_0x1a05f0!=_0x50d82b([0x56,0x61,0x6c,0x69,0x64])&&_0x324735();}function _0x528577(){const _0x33b434=window[_0x50d82b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50d82b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50d82b([0x6e,0x6f,0x77])]())[_0x50d82b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50d82b([0x2e]),'');let _0x403219=_0x50d82b([0x76]);for(let _0x2e8be0=0x0;_0x2e8be0<_0x33b434[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e8be0+=0x2){let _0x202663=window[_0x50d82b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33b434[_0x50d82b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e8be0,_0x2e8be0+0x2));_0x202663>=_0x10af4f[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x202663-=_0x10af4f[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x403219+=_0x10af4f[_0x202663];}return _0x403219;}function _0x397a19(){const _0x5d6103=_0x2012c3[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e]));if(0x3!=_0x5d6103[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a3f83(_0x5d6103[0x1]);function _0x1a3f83(_0x16685d){const _0x996b4f=_0x5beeb8(_0x16685d);return _0x996b4f&&_0x4f1a57()?_0x996b4f:null;function _0x4f1a57(){const _0x4dba9e=_0x996b4f[_0x50d82b([0x6a,0x74,0x69])],_0x3c8cb4=window[_0x50d82b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dba9e[_0x50d82b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dba9e[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb47c61={..._0x996b4f,[_0x50d82b([0x6a,0x74,0x69])]:_0x4dba9e[_0x50d82b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4dba9e[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb47c61[_0x50d82b([0x76,0x63])],_0x56a028(_0xb47c61)==_0x3c8cb4;}}}async function _0x1f337a(){let _0x1fb2c6=!0x0;try{const _0x2a2114=_0x2012c3[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e])),[_0x1f867e,_0x343365,_0xbe8e70]=_0x2a2114;return _0x2045db(_0x1f867e),await _0x1f6891(_0x1f867e,_0x343365,_0xbe8e70),_0x1fb2c6;}catch(_0x1c9397){return!0x1;}function _0x2045db(_0x47982b){const _0x285165=_0x5beeb8(_0x47982b);_0x285165&&_0x285165[_0x50d82b([0x61,0x6c,0x67])]==_0x50d82b([0x45,0x53,0x32,0x35,0x36])||(_0x1fb2c6=!0x1);}async function _0x1f6891(_0xb505af,_0x4597d1,_0x40c74d){const _0x394b7f=window[_0x50d82b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50d82b([0x66,0x72,0x6f,0x6d])](_0x3530d2(_0x40c74d),_0x5595ea=>_0x5595ea[_0x50d82b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41557e=new window[(_0x50d82b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50d82b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb505af+_0x50d82b([0x2e])+_0x4597d1),_0x16ebbb=window[_0x50d82b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50d82b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x16ebbb)return;const _0x14d574=await _0x16ebbb[_0x50d82b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50d82b([0x6a,0x77,0x6b]),_0x4e2eb8,{[_0x50d82b([0x6e,0x61,0x6d,0x65])]:_0x50d82b([0x45,0x43,0x44,0x53,0x41]),[_0x50d82b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50d82b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50d82b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x16ebbb[_0x50d82b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50d82b([0x6e,0x61,0x6d,0x65])]:_0x50d82b([0x45,0x43,0x44,0x53,0x41]),[_0x50d82b([0x68,0x61,0x73,0x68])]:{[_0x50d82b([0x6e,0x61,0x6d,0x65])]:_0x50d82b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14d574,_0x394b7f,_0x41557e)||(_0x1fb2c6=!0x1);}}function _0x5beeb8(_0x4fcaf4){return _0x4fcaf4[_0x50d82b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50d82b([0x65,0x79]))?JSON[_0x50d82b([0x70,0x61,0x72,0x73,0x65])](_0x3530d2(_0x4fcaf4)):null;}function _0x3530d2(_0x2c525d){return window[_0x50d82b([0x61,0x74,0x6f,0x62])](_0x2c525d[_0x50d82b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50d82b([0x2b]))[_0x50d82b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50d82b([0x2f])));}function _0x56a028(_0x51ab4a){let _0x478fcd=0x1505;function _0xb045d1(_0x4425d9){for(let _0x21ba01=0x0;_0x21ba01<_0x4425d9[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21ba01++){const _0x477f88=_0x4425d9[_0x50d82b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21ba01);_0x478fcd=(_0x478fcd<<0x5)+_0x478fcd+_0x477f88,_0x478fcd&=_0x478fcd;}}function _0x207fd5(_0x53f10f){Array[_0x50d82b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53f10f)?_0x53f10f[_0x50d82b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x207fd5):_0x53f10f&&typeof _0x53f10f==_0x50d82b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50d82b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53f10f)[_0x50d82b([0x73,0x6f,0x72,0x74])]()[_0x50d82b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x244c02,_0x2d86b9])=>{_0xb045d1(_0x244c02),_0x207fd5(_0x2d86b9);}):_0xb045d1(window[_0x50d82b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53f10f));}return _0x207fd5(_0x51ab4a),_0x478fcd>>>0x0;}function _0x181a01(_0x6c3db4){return _0x6c3db4[_0x50d82b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50d82b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50d82b([0x30]));}function _0x7f250(_0x2e6c26){return _0x2e6c26[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50d82b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50d82b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f1fb8(){}function _0x50d82b(_0x1d572a){const _0x5a2c28=_0x24d3;return _0x1d572a[_0x5a2c28(0x1a5)](_0x2ffa32=>String[_0x5a2c28(0x1b3)](_0x2ffa32))[_0x5a2c28(0x1af)]('');}_0x1182e9(await _0x1f9e62());}(this);}[_0x3eb84e(0x1c9)](){const _0x3a8d06=_0x3eb84e,_0x5c976f=this[_0x3a8d06(0x1aa)][_0x3a8d06(0x194)];_0x5c976f[_0x3a8d06(0x1a4)](_0x1863f=>{const _0x525c55=_0x3a8d06,_0x476a29=_0x5c976f[_0x525c55(0x19a)][_0x525c55(0x195)][_0x525c55(0x18a)]();if(_0x5c976f[_0x525c55(0x1c8)][_0x525c55(0x197)](u))_0x1863f[_0x525c55(0x1b6)](u,{'range':_0x476a29});else{if(_0x476a29[_0x525c55(0x1b1)][_0x525c55(0x1c4)]){const _0x5c4a3b=_0x476a29[_0x525c55(0x1b1)][_0x525c55(0x1b8)](({item:_0x5bcc32})=>!_0x5c976f[_0x525c55(0x1a1)][_0x525c55(0x1a2)](_0x5bcc32),{'boundaries':_0x476a29});_0x1863f[_0x525c55(0x1bd)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1863f[_0x525c55(0x191)](_0x5c4a3b,_0x476a29[_0x525c55(0x192)])});}else _0x1863f[_0x525c55(0x1bd)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x476a29});}});}[_0x3eb84e(0x1ba)](){const _0x423886=_0x3eb84e,_0x5e1287=this[_0x423886(0x1aa)][_0x423886(0x194)];_0x5e1287[_0x423886(0x1c8)][_0x423886(0x197)](u)&&_0x5e1287[_0x423886(0x1a4)](_0x3ad9d1=>{const _0x4f8bb5=_0x423886;_0x3ad9d1[_0x4f8bb5(0x1a3)](u);});}[_0x3eb84e(0x1d0)](_0x1f847b,_0x510cce){const _0x51ed4b=_0x3eb84e,_0xfc4560=_0x510cce||this[_0x51ed4b(0x1aa)][_0x51ed4b(0x194)][_0x51ed4b(0x1c8)][_0x51ed4b(0x19c)](u)[_0x51ed4b(0x1a0)]();if(!this[_0x51ed4b(0x1aa)][_0x51ed4b(0x194)][_0x51ed4b(0x1bf)](_0xfc4560))return;const _0x16e133=this[_0x51ed4b(0x1aa)][_0x51ed4b(0x1ad)][_0x51ed4b(0x1ca)][_0x51ed4b(0x1cb)](_0x1f847b),_0x56f31d=this[_0x51ed4b(0x1aa)][_0x51ed4b(0x1ad)][_0x51ed4b(0x1ce)](_0x16e133);this[_0x51ed4b(0x1aa)][_0x51ed4b(0x194)][_0x51ed4b(0x1a4)](_0x4f14c3=>{const _0x4fea1a=_0x51ed4b;this[_0x4fea1a(0x1ba)]();const _0x26fbb2=this[_0x4fea1a(0x1aa)][_0x4fea1a(0x194)][_0x4fea1a(0x1d0)](_0x56f31d,_0xfc4560);_0x26fbb2&&_0x4f14c3[_0x4fea1a(0x1b9)](_0x26fbb2);});}[_0x3eb84e(0x1b4)](_0x11964b){const _0x38de52=_0x3eb84e,{model:_0x4a687a}=this[_0x38de52(0x1aa)],_0x53aa40=Array[_0x38de52(0x1c5)](_0x4a687a[_0x38de52(0x1c3)](this[_0x38de52(0x1aa)][_0x38de52(0x194)][_0x38de52(0x1c8)][_0x38de52(0x19c)](u)[_0x38de52(0x1a0)]())[_0x38de52(0x18f)]()),_0x295755=_0x53aa40[_0x38de52(0x18c)]?_0x4a687a[_0x38de52(0x198)](_0x53aa40[_0x38de52(0x1bc)]()):_0x4a687a[_0x38de52(0x19a)][_0x38de52(0x195)][_0x38de52(0x19f)]();this[_0x38de52(0x1d0)](_0x11964b,_0x295755);}}
|
|
23
|
+
const _0x10c985=_0x5cbd;(function(_0xa55d2e,_0x2d86fb){const _0x2abe11=_0x5cbd,_0x492a5b=_0xa55d2e();while(!![]){try{const _0x3b6618=parseInt(_0x2abe11(0x1e1))/0x1+parseInt(_0x2abe11(0x1f4))/0x2*(parseInt(_0x2abe11(0x1e4))/0x3)+parseInt(_0x2abe11(0x1d3))/0x4+-parseInt(_0x2abe11(0x1ca))/0x5+parseInt(_0x2abe11(0x1fa))/0x6*(-parseInt(_0x2abe11(0x1bb))/0x7)+parseInt(_0x2abe11(0x1b3))/0x8+-parseInt(_0x2abe11(0x1c9))/0x9;if(_0x3b6618===_0x2d86fb)break;else _0x492a5b['push'](_0x492a5b['shift']());}catch(_0x550068){_0x492a5b['push'](_0x492a5b['shift']());}}}(_0x3f29,0x27320));function _0x5cbd(_0x505b2c,_0x46c951){const _0x3f290f=_0x3f29();return _0x5cbd=function(_0x5cbd5c,_0x1df4bf){_0x5cbd5c=_0x5cbd5c-0x1b3;let _0x13818a=_0x3f290f[_0x5cbd5c];return _0x13818a;},_0x5cbd(_0x505b2c,_0x46c951);}import{uid as _0xab30b7}from'ckeditor5/src/utils.js';import{Plugin as _0x1632ed}from'ckeditor5/src/core.js';const u=_0x10c985(0x1ec);export default class a extends _0x1632ed{static get[_0x10c985(0x1c6)](){const _0x39716b=_0x10c985;return _0x39716b(0x1f7);}static get[_0x10c985(0x1dd)](){return!0x0;}static get[_0x10c985(0x1e8)](){return!0x0;}[_0x10c985(0x1f1)](){const _0x490f82=_0x10c985,{editor:_0x29018a}=this,_0x3c4d70=[_0x490f82(0x1db)];_0x29018a[_0x490f82(0x1ee)][_0x490f82(0x1d7)](_0x490f82(0x1c7))&&_0x3c4d70[_0x490f82(0x1e3)](_0x490f82(0x1bf)),_0x29018a[_0x490f82(0x1dc)][_0x490f82(0x1c4)](_0x490f82(0x1f3))[_0x490f82(0x1bd)]({'model':u,'view':{'classes':_0x3c4d70,'priority':0xc}}),_0x29018a[_0x490f82(0x1dc)][_0x490f82(0x1c4)](_0x490f82(0x1f3))[_0x490f82(0x1d0)]({'model':u,'view':(_0x2d62ed,{writer:_0x2e8126})=>{const _0x326252=_0x490f82;if(!_0x2d62ed[_0x326252(0x1eb)][_0x326252(0x1d4)])return null;const _0x46d30b=_0x2e8126[_0x326252(0x1e5)](_0x326252(0x1f8));return _0x2e8126[_0x326252(0x1cd)]([_0x326252(0x1db),_0x326252(0x1e7)],_0x46d30b),_0x46d30b;}});}[_0x10c985(0x1c2)](){!async function(_0x21a929){const _0x30b85d=_0x3f1c3c([0x78,0x61,0x69,0x38,0x54,0x6f,0x66,0x52,0x55,0x41,0x42,0x7a,0x43,0x65,0x62,0x75,0x51,0x79,0x72,0x4d,0x59,0x4f,0x36,0x70,0x6b,0x4e,0x57,0x33,0x73,0x6c,0x45,0x47,0x77,0x32,0x37,0x6e,0x74,0x76,0x50,0x4a,0x35,0x64,0x63,0x4c,0x58,0x71,0x6d,0x44,0x53,0x67,0x46,0x68,0x4b,0x56,0x48,0x39,0x6a,0x31,0x5a,0x30,0x49,0x34]),_0x3dfa2e=0x3685d252,_0x1143d0=0x36828a12^_0x3dfa2e,_0x9d20be=window[_0x3f1c3c([0x44,0x61,0x74,0x65])][_0x3f1c3c([0x6e,0x6f,0x77])](),_0xb73e76=_0x21a929[_0x3f1c3c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15bd77=new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x506bad=>{_0xb73e76[_0x3f1c3c([0x6f,0x6e,0x63,0x65])](_0x3f1c3c([0x72,0x65,0x61,0x64,0x79]),_0x506bad);}),_0x5aa711={[_0x3f1c3c([0x6b,0x74,0x79])]:_0x3f1c3c([0x45,0x43]),[_0x3f1c3c([0x75,0x73,0x65])]:_0x3f1c3c([0x73,0x69,0x67]),[_0x3f1c3c([0x63,0x72,0x76])]:_0x3f1c3c([0x50,0x2d,0x32,0x35,0x36]),[_0x3f1c3c([0x78])]:_0x3f1c3c([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]),[_0x3f1c3c([0x79])]:_0x3f1c3c([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]),[_0x3f1c3c([0x61,0x6c,0x67])]:_0x3f1c3c([0x45,0x53,0x32,0x35,0x36])},_0x5040ba=_0xb73e76[_0x3f1c3c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f1c3c([0x67,0x65,0x74])](_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e3517(){let _0xdcffcd,_0x6e08a9=null,_0x458df5=null;try{if(_0x5040ba==_0x3f1c3c([0x47,0x50,0x4c]))return _0x3f1c3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xdcffcd=_0x403281(),!_0xdcffcd)return _0x3f1c3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xdcffcd[_0x3f1c3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x458df5=_0x344d4b(_0xdcffcd[_0x3f1c3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xdcffcd[_0x3f1c3c([0x6a,0x74,0x69])])),await _0x45ad3e()?_0x1ecad8()?_0x2f5c55()?_0x3f1c3c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x276391()?(_0xdcffcd[_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f1c3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6e08a9=_0x2f1b5e(_0x3f1c3c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xdcffcd[_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f1c3c([0x74,0x72,0x69,0x61,0x6c])&&(_0x6e08a9=_0x2f1b5e(_0x3f1c3c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0xdcffcd[_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f1c3c([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x6e08a9=_0x2f1b5e(_0x3f1c3c([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5d5b78()):_0x3f1c3c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f1c3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f1c3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3c75a1){return _0x3f1c3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f5c55(){const _0x3c1593=[_0x3f1c3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f1c3c([0x74,0x72,0x69,0x61,0x6c])][_0x3f1c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdcffcd[_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9d20be/0x3e8:0xe10*_0x1143d0;return _0xdcffcd[_0x3f1c3c([0x65,0x78,0x70])]<_0x3c1593;}function _0x1ecad8(){const _0x5d0f2a=_0xdcffcd[_0x3f1c3c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5d0f2a&&(!!_0x5d0f2a[_0x3f1c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f1c3c([0x2a]))||!!_0x5d0f2a[_0x3f1c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f1c3c([0x41,0x49])));}function _0x276391(){const _0x271c3d=_0x5cbd,_0x218635=_0xdcffcd[_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x218635||0x0==_0x218635[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa47a6d}=new URL(window[_0x3f1c3c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x271c3d(0x1ce)]);if(_0x218635[_0x3f1c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa47a6d))return!0x0;const _0x3cad7a=_0xa47a6d[_0x3f1c3c([0x73,0x70,0x6c,0x69,0x74])](_0x3f1c3c([0x2e]));return _0x218635[_0x3f1c3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f091c=>_0x2f091c[_0x3f1c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f1c3c([0x2a])))[_0x3f1c3c([0x6d,0x61,0x70])](_0x3835a3=>_0x3835a3[_0x3f1c3c([0x73,0x70,0x6c,0x69,0x74])](_0x3f1c3c([0x2e])))[_0x3f1c3c([0x73,0x6f,0x6d,0x65])](_0x5958d9=>_0x3cad7a[_0x3f1c3c([0x65,0x76,0x65,0x72,0x79])]((_0x22cff4,_0x1f0eba)=>_0x5958d9[_0x1f0eba]===_0x22cff4||_0x5958d9[_0x1f0eba]===_0x3f1c3c([0x2a])));}function _0x5d5b78(){return _0x6e08a9&&_0x458df5?new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x141558,_0x50f055)=>{_0x6e08a9[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0x141558,_0x50f055),_0x458df5[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0x54e2f9=>{_0x54e2f9!=_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64])&&_0x141558(_0x54e2f9);},_0x50f055);}):_0x6e08a9||_0x458df5||_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x344d4b(_0x12dbb7,_0x50616c){return new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55893f=>{if(_0x4380da())return _0x55893f(_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64]));_0xc1c1df(),_0xb73e76[_0x3f1c3c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f1c3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4143e3=!0x1;const _0x46f7af=_0xab30b7();function _0x10e184(_0x11b2c0){return!!_0x11b2c0&&(typeof _0x11b2c0===_0x3f1c3c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11b2c0===_0x3f1c3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11b2c0[_0x3f1c3c([0x74,0x68,0x65,0x6e])]===_0x3f1c3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11b2c0[_0x3f1c3c([0x63,0x61,0x74,0x63,0x68])]===_0x3f1c3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13f3a6(_0x19a9a8){_0x15d079(_0x19a9a8)[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0x29f857=>{if(!_0x29f857||_0x29f857[_0x3f1c3c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f1c3c([0x6f,0x6b]))return _0x3f1c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2643bf(_0x1a5326(_0x46f7af+_0x50616c))!=_0x29f857[_0x3f1c3c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f1c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0xb345e9=>(_0x5efb6b(),_0xb345e9),()=>{const _0x4b6a79=_0xf13f67();return null==_0x4b6a79?(_0x5efb6b(),_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64])):_0x3f1c3c(_0x9d20be-_0x4b6a79>(0x12895652^_0x3dfa2e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0x55893f)[_0x3f1c3c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55893f(_0x3f1c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x411772=0x36b33cd2^_0x3dfa2e;function _0x5efb6b(){const _0x49bc1e=_0x3f1c3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2643bf(_0x1a5326(_0x12dbb7)),_0x20d246=_0xbe6a39(_0x2643bf(window[_0x3f1c3c([0x4d,0x61,0x74,0x68])][_0x3f1c3c([0x63,0x65,0x69,0x6c])](_0x9d20be/_0x411772)));window[_0x3f1c3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f1c3c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49bc1e,_0x20d246);}function _0xf13f67(){const _0x30868c=_0x3f1c3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2643bf(_0x1a5326(_0x12dbb7)),_0x39130b=window[_0x3f1c3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f1c3c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30868c);return _0x39130b?window[_0x3f1c3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbe6a39(_0x39130b),0x10)*_0x411772:null;}function _0x15d079(_0x120268){return new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x289720,_0x48b2b0)=>{_0x120268[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0x289720,_0x48b2b0),window[_0x3f1c3c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48b2b0,0x36840692^_0x3dfa2e);});}}_0xb73e76[_0x3f1c3c([0x6f,0x6e])](_0x3f1c3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xdc5951,_0x3da9e1)=>{if(_0x3da9e1[0x0]!=_0x12dbb7)return _0x55893f(_0x3f1c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3da9e1[0x1]={..._0x3da9e1[0x1],[_0x3f1c3c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46f7af};},{[_0x3f1c3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f1c3c([0x68,0x69,0x67,0x68])}),_0xb73e76[_0x3f1c3c([0x6f,0x6e])](_0x3f1c3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf87db8=>{_0x10e184(_0xf87db8[_0x3f1c3c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4143e3=!0x0,_0x13f3a6(_0xf87db8[_0x3f1c3c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f1c3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f1c3c([0x6c,0x6f,0x77])}),_0x15bd77[_0x3f1c3c([0x74,0x68,0x65,0x6e])](()=>{_0x4143e3||_0x55893f(_0x3f1c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4380da(){return _0xb73e76[_0x3f1c3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f1c3c([0x76,0x69,0x65,0x77])][_0x3f1c3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f1c3c([0x61,0x75,0x74,0x6f]);}function _0xc1c1df(){_0xb73e76[_0x3f1c3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f1c3c([0x76,0x69,0x65,0x77])][_0x3f1c3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f1c3c([0x61,0x75,0x74,0x6f]);}}function _0x2f1b5e(_0x2d565e){const _0x215961=[new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bc45c=>setTimeout(_0x5bc45c,0x368cec9e^_0x3dfa2e)),_0x15bd77[_0x3f1c3c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3706db=>{let _0x229bb2=0x0;_0xb73e76[_0x3f1c3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f1c3c([0x6f,0x6e])](_0x3f1c3c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52b5e1,_0x49043a)=>{_0x49043a[0x0][_0x3f1c3c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x229bb2++,_0x229bb2==(0x3685d3aa^_0x3dfa2e)&&(_0x3706db(),_0x52b5e1[_0x3f1c3c([0x6f,0x66,0x66])]());});}))];return window[_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f1c3c([0x72,0x61,0x63,0x65])](_0x215961)[_0x3f1c3c([0x74,0x68,0x65,0x6e])](()=>_0x2d565e);}async function _0x28ba32(){await _0x15bd77,_0xb73e76[_0x3f1c3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f1c3c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x367eb2,_0xb73e76[_0x3f1c3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f1c3c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x367eb2,_0xb73e76[_0x3f1c3c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f1c3c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x248f72(_0x4913f5){const _0x59efbd=_0x2b648f();_0xb73e76[_0x59efbd]=_0x3f1c3c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4913f5,_0x4913f5!=_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64])&&_0x28ba32();}function _0x2b648f(){const _0x45561d=window[_0x3f1c3c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f1c3c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f1c3c([0x6e,0x6f,0x77])]())[_0x3f1c3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f1c3c([0x2e]),'');let _0x369838=_0x3f1c3c([0x78]);for(let _0x146fa2=0x0;_0x146fa2<_0x45561d[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x146fa2+=0x2){let _0x2cca74=window[_0x3f1c3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45561d[_0x3f1c3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x146fa2,_0x146fa2+0x2));_0x2cca74>=_0x30b85d[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cca74-=_0x30b85d[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x369838+=_0x30b85d[_0x2cca74];}return _0x369838;}function _0x403281(){const _0x504028=_0x5040ba[_0x3f1c3c([0x73,0x70,0x6c,0x69,0x74])](_0x3f1c3c([0x2e]));if(0x3!=_0x504028[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x249853(_0x504028[0x1]);function _0x249853(_0x54f71c){const _0x5903be=_0x5b5ef6(_0x54f71c);return _0x5903be&&_0x3c6064()?_0x5903be:null;function _0x3c6064(){const _0x4d1365=_0x5903be[_0x3f1c3c([0x6a,0x74,0x69])],_0x31a979=window[_0x3f1c3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d1365[_0x3f1c3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d1365[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40fbec={..._0x5903be,[_0x3f1c3c([0x6a,0x74,0x69])]:_0x4d1365[_0x3f1c3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d1365[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40fbec[_0x3f1c3c([0x76,0x63])],_0x1a5326(_0x40fbec)==_0x31a979;}}}async function _0x45ad3e(){let _0x5c94bc=!0x0;try{const _0x297019=_0x5040ba[_0x3f1c3c([0x73,0x70,0x6c,0x69,0x74])](_0x3f1c3c([0x2e])),[_0x583a00,_0x3002ed,_0x49e29a]=_0x297019;return _0x5e99a6(_0x583a00),await _0x679f6d(_0x583a00,_0x3002ed,_0x49e29a),_0x5c94bc;}catch(_0x3f5d24){return!0x1;}function _0x5e99a6(_0x1c545c){const _0x179173=_0x5b5ef6(_0x1c545c);_0x179173&&_0x179173[_0x3f1c3c([0x61,0x6c,0x67])]==_0x3f1c3c([0x45,0x53,0x32,0x35,0x36])||(_0x5c94bc=!0x1);}async function _0x679f6d(_0xed9f3d,_0x147cee,_0x4999a8){const _0x45710a=window[_0x3f1c3c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f1c3c([0x66,0x72,0x6f,0x6d])](_0x1679db(_0x4999a8),_0x285698=>_0x285698[_0x3f1c3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1412c9=new window[(_0x3f1c3c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f1c3c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xed9f3d+_0x3f1c3c([0x2e])+_0x147cee),_0x78472a=window[_0x3f1c3c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f1c3c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x78472a)return;const _0x5201fd=await _0x78472a[_0x3f1c3c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f1c3c([0x6a,0x77,0x6b]),_0x5aa711,{[_0x3f1c3c([0x6e,0x61,0x6d,0x65])]:_0x3f1c3c([0x45,0x43,0x44,0x53,0x41]),[_0x3f1c3c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f1c3c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f1c3c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x78472a[_0x3f1c3c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f1c3c([0x6e,0x61,0x6d,0x65])]:_0x3f1c3c([0x45,0x43,0x44,0x53,0x41]),[_0x3f1c3c([0x68,0x61,0x73,0x68])]:{[_0x3f1c3c([0x6e,0x61,0x6d,0x65])]:_0x3f1c3c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5201fd,_0x45710a,_0x1412c9)||(_0x5c94bc=!0x1);}}function _0x5b5ef6(_0x3264ca){return _0x3264ca[_0x3f1c3c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f1c3c([0x65,0x79]))?JSON[_0x3f1c3c([0x70,0x61,0x72,0x73,0x65])](_0x1679db(_0x3264ca)):null;}function _0x1679db(_0xe3a81c){return window[_0x3f1c3c([0x61,0x74,0x6f,0x62])](_0xe3a81c[_0x3f1c3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f1c3c([0x2b]))[_0x3f1c3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f1c3c([0x2f])));}function _0x1a5326(_0x14870b){let _0x325792=0x1505;function _0x278271(_0xaecd2){for(let _0x4d7420=0x0;_0x4d7420<_0xaecd2[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d7420++){const _0x6bf74c=_0xaecd2[_0x3f1c3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d7420);_0x325792=(_0x325792<<0x5)+_0x325792+_0x6bf74c,_0x325792&=_0x325792;}}function _0x531288(_0x33306f){Array[_0x3f1c3c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33306f)?_0x33306f[_0x3f1c3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x531288):_0x33306f&&typeof _0x33306f==_0x3f1c3c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f1c3c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33306f)[_0x3f1c3c([0x73,0x6f,0x72,0x74])]()[_0x3f1c3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28a5e2,_0x17df1a])=>{_0x278271(_0x28a5e2),_0x531288(_0x17df1a);}):_0x278271(window[_0x3f1c3c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33306f));}return _0x531288(_0x14870b),_0x325792>>>0x0;}function _0x2643bf(_0x967cf8){return _0x967cf8[_0x3f1c3c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f1c3c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f1c3c([0x30]));}function _0xbe6a39(_0x45d262){return _0x45d262[_0x3f1c3c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f1c3c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f1c3c([0x6a,0x6f,0x69,0x6e])]('');}function _0x367eb2(){}function _0x3f1c3c(_0x20c907){const _0x37d3ee=_0x5cbd;return _0x20c907[_0x37d3ee(0x1b4)](_0x56441d=>String[_0x37d3ee(0x1e0)](_0x56441d))[_0x37d3ee(0x1f2)]('');}_0x248f72(await _0x4e3517());}(this);}[_0x10c985(0x1c0)](){const _0x10389a=_0x10c985,_0x578d7f=this[_0x10389a(0x1be)][_0x10389a(0x1c1)];_0x578d7f[_0x10389a(0x1b5)](_0x524b9d=>{const _0x56c788=_0x10389a,_0x494932=_0x578d7f[_0x56c788(0x1f5)][_0x56c788(0x1f9)][_0x56c788(0x1df)]();if(_0x578d7f[_0x56c788(0x1e2)][_0x56c788(0x1d6)](u))_0x524b9d[_0x56c788(0x1c3)](u,{'range':_0x494932});else{if(_0x494932[_0x56c788(0x1de)][_0x56c788(0x1cc)]){const _0x3076aa=_0x494932[_0x56c788(0x1de)][_0x56c788(0x1d5)](({item:_0x43b8ab})=>!_0x578d7f[_0x56c788(0x1b6)][_0x56c788(0x1cf)](_0x43b8ab),{'boundaries':_0x494932});_0x524b9d[_0x56c788(0x1e6)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x524b9d[_0x56c788(0x1d1)](_0x3076aa,_0x494932[_0x56c788(0x1d9)])});}else _0x524b9d[_0x56c788(0x1e6)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x494932});}});}[_0x10c985(0x1b8)](){const _0x5f547a=_0x10c985,_0x27197f=this[_0x5f547a(0x1be)][_0x5f547a(0x1c1)];_0x27197f[_0x5f547a(0x1e2)][_0x5f547a(0x1d6)](u)&&_0x27197f[_0x5f547a(0x1b5)](_0x3c9e89=>{const _0x106691=_0x5f547a;_0x3c9e89[_0x106691(0x1bc)](u);});}[_0x10c985(0x1b9)](_0xe1187f,_0x1100f7){const _0x5a07ca=_0x10c985,_0x1fd43d=_0x1100f7||this[_0x5a07ca(0x1be)][_0x5a07ca(0x1c1)][_0x5a07ca(0x1e2)][_0x5a07ca(0x1d7)](u)[_0x5a07ca(0x1c5)]();if(!this[_0x5a07ca(0x1be)][_0x5a07ca(0x1c1)][_0x5a07ca(0x1c8)](_0x1fd43d))return;const _0x4fc54e=this[_0x5a07ca(0x1be)][_0x5a07ca(0x1da)][_0x5a07ca(0x1f6)][_0x5a07ca(0x1d2)](_0xe1187f),_0x3b12df=this[_0x5a07ca(0x1be)][_0x5a07ca(0x1da)][_0x5a07ca(0x1ba)](_0x4fc54e);this[_0x5a07ca(0x1be)][_0x5a07ca(0x1c1)][_0x5a07ca(0x1b5)](_0x1b42d8=>{const _0x2ec462=_0x5a07ca;this[_0x2ec462(0x1b8)]();const _0x8cb5cc=this[_0x2ec462(0x1be)][_0x2ec462(0x1c1)][_0x2ec462(0x1b9)](_0x3b12df,_0x1fd43d);_0x8cb5cc&&_0x1b42d8[_0x2ec462(0x1ed)](_0x8cb5cc);});}[_0x10c985(0x1e9)](_0x310112){const _0x45562e=_0x10c985,{model:_0x15e4f6}=this[_0x45562e(0x1be)],_0x10d2f5=Array[_0x45562e(0x1ea)](_0x15e4f6[_0x45562e(0x1d8)](this[_0x45562e(0x1be)][_0x45562e(0x1c1)][_0x45562e(0x1e2)][_0x45562e(0x1d7)](u)[_0x45562e(0x1c5)]())[_0x45562e(0x1f0)]()),_0x271c9f=_0x10d2f5[_0x45562e(0x1ef)]?_0x15e4f6[_0x45562e(0x1fb)](_0x10d2f5[_0x45562e(0x1cb)]()):_0x15e4f6[_0x45562e(0x1f5)][_0x45562e(0x1f9)][_0x45562e(0x1b7)]();this[_0x45562e(0x1b9)](_0x310112,_0x271c9f);}}function _0x3f29(){const _0x588915=['fromCharCode','242980YqEqBn','markers','push','861MErfsi','createUIElement','addMarker','ck-fake-ai-selection_collapsed','isPremiumPlugin','insertContentBelow','from','markerRange','ai-ui','setSelection','config','length','getSelectedBlocks','init','join','editingDowncast','1622PuihbM','document','processor','AIAssistantEditing','span','selection','67794EmwlVO','createPositionAfter','2030248UewwIc','map','change','schema','getLastPosition','hideFakeVisualSelection','insertContent','toModel','7hvNXlq','removeMarker','markerToHighlight','editor','ck-ai-assistant-ui_theme','showFakeVisualSelection','model','afterInit','updateMarker','for','getRange','pluginName','ai.useTheme','canEditAt','3877335rdaICu','1586645UiMTYq','pop','isAtEnd','addClass','href','isContent','markerToElement','createRange','toView','761876RdzySx','isCollapsed','getLastMatchingPosition','has','get','createSelection','end','data','ck-fake-ai-selection','conversion','isOfficialPlugin','start','getFirstRange'];_0x3f29=function(){return _0x588915;};return _0x3f29();}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c472f=_0x3331;(function(_0xb11aa0,_0x49cdce){const _0x46dc95=_0x3331,_0x3af9b3=_0xb11aa0();while(!![]){try{const _0x2cea93=parseInt(_0x46dc95(0x128))/0x1*(parseInt(_0x46dc95(0x14d))/0x2)+-parseInt(_0x46dc95(0x1a2))/0x3+-parseInt(_0x46dc95(0x16c))/0x4+-parseInt(_0x46dc95(0x153))/0x5*(parseInt(_0x46dc95(0x12c))/0x6)+-parseInt(_0x46dc95(0x13a))/0x7*(-parseInt(_0x46dc95(0x147))/0x8)+parseInt(_0x46dc95(0x1aa))/0x9+parseInt(_0x46dc95(0x189))/0xa*(parseInt(_0x46dc95(0x1a5))/0xb);if(_0x2cea93===_0x49cdce)break;else _0x3af9b3['push'](_0x3af9b3['shift']());}catch(_0x488946){_0x3af9b3['push'](_0x3af9b3['shift']());}}}(_0x2312,0x8f060));import{Plugin as _0x4f9795}from'ckeditor5/src/core.js';import{first as _0x25af20,CKEditorError as _0xf350aa}from'ckeditor5/src/utils.js';import{createDropdown as _0x4b036a,addMenuToDropdown as _0x171bb0,ButtonView as _0x1b4f34,MenuBarMenuListItemButtonView as _0x51f8d0,Dialog as _0x314baa,DialogViewPosition as _0x1b5638,MenuBarMenuView as _0x4907c9,MenuBarMenuListView as _0x23c4ed,MenuBarMenuListItemView as _0x575215}from'ckeditor5/src/ui.js';function _0x3331(_0x3299bc,_0x4bcfd2){const _0x23122d=_0x2312();return _0x3331=function(_0x3331db,_0xde7b3f){_0x3331db=_0x3331db-0x117;let _0x27ed64=_0x23122d[_0x3331db];return _0x27ed64;},_0x3331(_0x3299bc,_0x4bcfd2);}function _0x2312(){const _0xf4c38a=['listenTo','EDITOR_TOP_SIDE','change:value','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:enabledCommandsIds','contentArea','set','INSERT','requiresContent','buttons','map','showFakeVisualSelection','reset','promptView','announce','_licenseKeyCheckInterval','_getMenuBarGroupButtons','comment','aiLicenseKeyTrialLimit','1134972zcUzac','_formView','updatePosition','showAIAssistant','_showLicenseError','command:','isOn','polite','locale','buttonView','addMany','pluginName','update','_dialog','licenseKey','define','length','wasMoved','featureNotAllowed','aiLicenseKeyDevelopmentLimit','includes','getData','push','_getResolvedCommandsDefinitions','selection','filter','fieldView','expired','order','70VzAiHZ','menuView','trim','getLimitElement','rawHtml','commands','change','groupId','ck-ai-assistant-button\x20','getRanges','config','model','schema','_initAriaAiStatusChangeAnnouncements','aiCommands','forEach','destroy','once','groupLabel','replace','isOfficialPlugin','evaluationLimit','_initView','ai.aiAssistant.commands','hideUI','3187458rQnJKA','delegate','_aiAssistantController','1455927gnZlXx','menuBar:aiCommands','insertContentBelow','copy','view','3505788CqDJGj','show','errorView','init','AI\x20Assistant','usageLimit','_commandDefinitions','insertContent','trialLimit','invalid','_populateMenuBarMenu','_createAIAssistantUIButton','ck-ai-assistant-ui','ai.aiAssistant.disabledElements','hide','menuBar:aiAssistant','_uiCssClasses','\x20ck-ai-assistant-ui_theme','ai.aiAssistant.contentAreaCssClass','queryView','showUI','body','updateView','menuitemcheckbox','isEnabled','textAdapter','document','_forceMarkersCopy','values','aiLicenseKeyExpired','tableOfContents','Generated\x20content:\x20%0','replaceContent','_aiAdapter','prompt','componentFactory','getSelectedBlocks','get','<p>','items','_onExecute','setSelection','isCollapsed','aiAssistant','AI\x20is\x20writing','editor','panelView','aiLicenseKeyUsageLimit','change:isError','developmentLimit','1025074fYSLjb','currentContext','fire','add','1203828KqocTG','REPLACE','media','AIAssistantUI','label','aiLicenseKeyDomainLimit','plugins','menuPanelClass','requires','AIAssistant','ck-ai-commands-dropdown\x20','hideFakeVisualSelection','from','text','1377250vMqgrJ','aiLicenseKeyNotAllowed','AI\x20Commands','getSelectedElement','ai.useTheme','text/html','aiLicenseKeyInvalid','editing','enabledCommandsIds','source','</p>','aiLicenseKeyValid','domainLimit','16hyOoyA','focus','aiLicenseKeyEvaluationLimit','isFlat','splice','DataTransfer','2SXdVrs','custom','render','isPremiumPlugin','sort','change:isProcessing','20XfOIhV','robotPencil','execute','ai-commands-config-order-collision','bind','children'];_0x2312=function(){return _0xf4c38a;};return _0x2312();}import{icons as _0x38651a}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x452d60,UNGROUPED_COMMANDS_GROUP_ID as _0x218e74}from'./utils/normalizecommandsconfig.js';import _0x17f58a from'./aiassistantediting.js';import _0x19ec42 from'./adapters/aiadapter.js';import{getTranslation as _0x231548}from'./utils/common-translations.js';import _0x1b75b5 from'./ui/showaiassistantcommand.js';import _0x12e081 from'./ui/aiassistantcontroller.js';import _0x1b3454 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x318dc9}from'./ui/form/aiformtoolbarview.js';import _0x27c0f5 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x1c472f(0x14c)];import{ClipboardMarkersUtils as _0x1ef1a5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3ebdc2,DataTransfer as _0xa8ccb6}from'ckeditor5/src/engine.js';export default class n extends _0x4f9795{static get[_0x1c472f(0x177)](){const _0x2b3dde=_0x1c472f;return _0x2b3dde(0x12f);}static get[_0x1c472f(0x19d)](){return!0x0;}static get[_0x1c472f(0x150)](){return!0x0;}static get[_0x1c472f(0x134)](){return[_0x1ef1a5,_0x17f58a,_0x19ec42,_0x314baa];}constructor(_0x602b79){const _0x1d105d=_0x1c472f;super(_0x602b79),this[_0x1d105d(0x1ba)]='',_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x1b7),[_0x1d105d(0x12e),_0x1d105d(0x18d),_0x1d105d(0x1c8)]),_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x1bc),''),_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x13e),!0x0),this[_0x1d105d(0x1ba)]=_0x1d105d(0x1b6)+(_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x11b)](_0x1d105d(0x13e))?_0x1d105d(0x1bb):'');}[_0x1c472f(0x1ad)](){const _0x1528df=_0x1c472f,{editor:_0x2bc9dd}=this;this[_0x1528df(0x117)]=_0x2bc9dd[_0x1528df(0x132)][_0x1528df(0x11b)](_0x19ec42),this[_0x1528df(0x179)]=_0x2bc9dd[_0x1528df(0x132)][_0x1528df(0x11b)](_0x314baa),this[_0x1528df(0x16d)]=null,this[_0x1528df(0x1b0)]=this[_0x1528df(0x183)]();const _0x27b915=new _0x1b75b5(_0x2bc9dd,Array[_0x1528df(0x138)](this[_0x1528df(0x1b0)][_0x1528df(0x1c6)]()));_0x2bc9dd[_0x1528df(0x18e)][_0x1528df(0x12b)](_0x1528df(0x16f),_0x27b915),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x197),_0x58b906=>{const _0x6c5cbf=_0x1528df,_0x5940d4=_0x4b036a(_0x58b906);return _0x5940d4[_0x6c5cbf(0x15f)]({'class':_0x6c5cbf(0x136)+this[_0x6c5cbf(0x1ba)]}),_0x5940d4[_0x6c5cbf(0x175)][_0x6c5cbf(0x15f)]({'label':_0x231548(_0x58b906,_0x6c5cbf(0x13c)),'icon':_0x27c0f5,'tooltip':!0x0}),_0x5940d4['on'](_0x6c5cbf(0x155),_0x4b16cd=>this[_0x6c5cbf(0x11e)](_0x4b16cd[_0x6c5cbf(0x143)]['id'])),_0x171bb0(_0x5940d4,_0x2bc9dd['ui'][_0x6c5cbf(0x1a9)][_0x6c5cbf(0x1bf)],function(_0x589666){const _0x11b648=_0x6c5cbf,_0x54847a=_0x452d60(_0x589666[_0x11b648(0x193)][_0x11b648(0x11b)](_0x11b648(0x1a0)),_0x589666[_0x11b648(0x174)]),_0x42017f=B(_0x589666,_0x54847a)[_0x11b648(0x185)](_0x54a703=>_0x54a703[_0x11b648(0x18e)][_0x11b648(0x17c)]);if(0x1===_0x42017f[_0x11b648(0x17c)])return B(_0x589666,_0x42017f[0x0][_0x11b648(0x18e)])[_0x11b648(0x163)](_0x234567=>({'id':_0x234567['id'],'label':_0x234567[_0x11b648(0x130)]}));return _0x42017f[_0x11b648(0x163)](_0x2fc278=>{const _0x54f309=_0x11b648,{groupId:_0x5d2524,groupLabel:_0x5c6355,commands:_0x256155}=_0x2fc278,_0x1342b9=B(_0x589666,_0x256155)[_0x54f309(0x163)](_0x78b10=>({'id':_0x78b10['id'],'label':_0x78b10[_0x54f309(0x130)]}));return{'id':_0x5d2524,'menu':_0x5c6355||_0x5d2524,'children':_0x1342b9};});}(_0x2bc9dd),{'ariaLabel':_0x231548(_0x58b906,_0x6c5cbf(0x13c))}),_0x5940d4[_0x6c5cbf(0x18a)][_0x6c5cbf(0x133)]=_0x6c5cbf(0x136)+this[_0x6c5cbf(0x1ba)],_0x27b915['on'](_0x6c5cbf(0x15d),_0x533918),_0x5940d4[_0x6c5cbf(0x18a)][_0x6c5cbf(0x19a)](_0x6c5cbf(0x14f),_0x533918),_0x5940d4;function _0x533918(){const _0x49ce24=_0x6c5cbf;_0x5940d4[_0x49ce24(0x1c2)]=_0x27b915[_0x49ce24(0x142)][_0x49ce24(0x17c)]>0x0;for(const _0x151a10 of _0x5940d4[_0x49ce24(0x18a)][_0x49ce24(0x162)])_0x151a10[_0x49ce24(0x1c2)]=_0x27b915[_0x49ce24(0x142)][_0x49ce24(0x180)](_0x151a10['id']);}}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x1a6),_0x1ebf8d=>{const _0x430c67=_0x1528df,_0x367bba=new _0x4907c9(_0x1ebf8d);_0x367bba[_0x430c67(0x175)][_0x430c67(0x15f)]({'label':_0x231548(_0x1ebf8d,_0x430c67(0x13c)),'icon':_0x27c0f5}),_0x367bba[_0x430c67(0x157)](_0x430c67(0x1c2))['to'](_0x27b915,_0x430c67(0x142),_0x21c1aa=>_0x21c1aa[_0x430c67(0x17c)]>0x0);const _0x1a9027=_0x452d60(_0x2bc9dd[_0x430c67(0x193)][_0x430c67(0x11b)](_0x430c67(0x1a0)),_0x1ebf8d);return this[_0x430c67(0x1b4)](_0x27b915,_0x367bba,_0x1a9027,_0x5d95a9=>this[_0x430c67(0x11e)](_0x5d95a9)),_0x367bba;}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x121),()=>{const _0x3a630b=_0x1528df,_0xffd9ab=this[_0x3a630b(0x1b5)](_0x1b4f34);return _0xffd9ab[_0x3a630b(0x15f)]({'tooltip':!0x0,'class':_0x3a630b(0x191)+this[_0x3a630b(0x1ba)]}),_0xffd9ab;}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x1b9),()=>{const _0x372f7d=_0x1528df,_0x2965f5=this[_0x372f7d(0x1b5)](_0x51f8d0);return _0x2965f5[_0x372f7d(0x15f)]({'role':_0x372f7d(0x1c1)}),_0x2965f5;}),this[_0x1528df(0x17a)]=this[_0x1528df(0x123)][_0x1528df(0x193)][_0x1528df(0x11b)](_0x1528df(0x17a));const _0x4c78b8=this[_0x1528df(0x123)];this[_0x1528df(0x168)]=setInterval(()=>{const _0x2ed9eb=_0x1528df;let _0x327404;for(const _0x57847c in _0x4c78b8){const _0x23fdcf=_0x57847c,_0x42e0de=_0x4c78b8[_0x23fdcf];if(_0x2ed9eb(0x145)==_0x42e0de||_0x2ed9eb(0x140)==_0x42e0de||_0x2ed9eb(0x1c7)==_0x42e0de||_0x2ed9eb(0x131)==_0x42e0de||_0x2ed9eb(0x13b)==_0x42e0de||_0x2ed9eb(0x149)==_0x42e0de||_0x2ed9eb(0x16b)==_0x42e0de||_0x2ed9eb(0x17f)==_0x42e0de||_0x2ed9eb(0x125)==_0x42e0de){delete _0x4c78b8[_0x23fdcf],_0x327404=_0x42e0de,clearInterval(this[_0x2ed9eb(0x168)]),this[_0x2ed9eb(0x168)]=void 0x0;break;}}_0x2ed9eb(0x140)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1b3)),_0x2ed9eb(0x1c7)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x187)),_0x2ed9eb(0x131)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x146)),_0x2ed9eb(0x13b)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x17e),_0x2ed9eb(0x135)),_0x2ed9eb(0x149)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x19e)),_0x2ed9eb(0x16b)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1b2)),_0x2ed9eb(0x17f)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x127)),_0x2ed9eb(0x125)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1af));},0x3e8);}[_0x1c472f(0x199)](){const _0x159edb=_0x1c472f;super[_0x159edb(0x199)](),this[_0x159edb(0x168)]&&clearInterval(this[_0x159edb(0x168)]);}[_0x1c472f(0x1be)](_0x1401c2='',_0x1a43ee='',_0x457a36=_0x1c472f(0x14e)){const _0x4cd868=_0x1c472f,_0x230928=this[_0x4cd868(0x123)],_0x29e3ef=_0x230928[_0x4cd868(0x141)][_0x4cd868(0x1a9)],_0x4a40d7=_0x230928[_0x4cd868(0x132)][_0x4cd868(0x11b)](_0x17f58a),_0x189037=_0x230928[_0x4cd868(0x132)][_0x4cd868(0x11b)](_0x1ef1a5);_0x4a40d7[_0x4cd868(0x164)]();const _0xdc690d=new j(),_0x26d60d=new ClipboardEvent(_0x4cd868(0x1a8),{'clipboardData':_0xdc690d}),_0x7c986b=new _0xa8ccb6(_0xdc690d),_0x4ea8cc=new _0x3ebdc2(_0x29e3ef,_0x26d60d,{'dataTransfer':_0x7c986b});_0x189037[_0x4cd868(0x1c5)](_0x4cd868(0x16a),()=>{const _0x5648be=_0x4cd868;_0x29e3ef[_0x5648be(0x1c4)][_0x5648be(0x12a)](_0x5648be(0x1a8),_0x4ea8cc);}),this[_0x4cd868(0x16d)]||(this[_0x4cd868(0x19f)](),this[_0x4cd868(0x1a4)]=new _0x12e081(_0x230928,this[_0x4cd868(0x117)][_0x4cd868(0x1c3)],this[_0x4cd868(0x16d)]));let _0x106f6a=_0x7c986b[_0x4cd868(0x181)](_0x4cd868(0x13f));const _0x45037d=_0x230928[_0x4cd868(0x194)][_0x4cd868(0x1c4)][_0x4cd868(0x184)],_0x19e0e6=Array[_0x4cd868(0x138)](_0x45037d[_0x4cd868(0x192)]());0x1===_0x19e0e6[_0x4cd868(0x17c)]&&_0x19e0e6[0x0][_0x4cd868(0x14a)]&&!_0x45037d[_0x4cd868(0x13d)]()&&''!==_0x106f6a[_0x4cd868(0x19c)](/ /g,'')[_0x4cd868(0x18b)]()&&(_0x106f6a=_0x4cd868(0x11c)+_0x106f6a+_0x4cd868(0x144)),this[_0x4cd868(0x1a4)][_0x4cd868(0x1c0)]({'actionId':_0x457a36,'query':_0x1401c2,'htmlContent':_0x106f6a,'label':_0x1a43ee,'mainActionLabel':_0x318dc9[_0x230928[_0x4cd868(0x194)][_0x4cd868(0x1c4)][_0x4cd868(0x184)][_0x4cd868(0x120)]?_0x4cd868(0x160):_0x4cd868(0x12d)]}),_0x4cd868(0x121)!==this[_0x4cd868(0x179)]['id']?this[_0x4cd868(0x179)][_0x4cd868(0x1ab)]({'id':_0x4cd868(0x121),'icon':_0x38651a[_0x4cd868(0x154)],'title':_0x231548(this[_0x4cd868(0x123)][_0x4cd868(0x174)],_0x4cd868(0x1ae)),'content':this[_0x4cd868(0x16d)],'position':_0x1b5638[_0x4cd868(0x15a)],'onShow':()=>{const _0x4a4f1f=_0x4cd868;this[_0x4a4f1f(0x16d)][_0x4a4f1f(0x148)]();},'onHide':()=>{const _0x4abb26=_0x4cd868;this[_0x4abb26(0x1a4)][_0x4abb26(0x165)](),_0x4a40d7[_0x4abb26(0x137)]();}}):this[_0x4cd868(0x179)][_0x4cd868(0x1a9)][_0x4cd868(0x17d)]||this[_0x4cd868(0x179)][_0x4cd868(0x1a9)][_0x4cd868(0x16e)]();}[_0x1c472f(0x1a1)](){const _0x2363e1=_0x1c472f;this[_0x2363e1(0x179)][_0x2363e1(0x1b8)]();}[_0x1c472f(0x183)](){const _0x4178e2=_0x1c472f,_0xfda115=new Map(),_0x225ebe=_0x452d60(this[_0x4178e2(0x123)][_0x4178e2(0x193)][_0x4178e2(0x11b)](_0x4178e2(0x1a0)),this[_0x4178e2(0x123)][_0x4178e2(0x174)]);for(const _0x374371 of _0x225ebe)for(const _0x53648a of _0x374371[_0x4178e2(0x18e)])_0xfda115[_0x4178e2(0x15f)](_0x53648a['id'],{..._0x53648a,'groupId':_0x374371[_0x4178e2(0x190)],'groupLabel':_0x374371[_0x4178e2(0x19b)]||_0x374371[_0x4178e2(0x190)]});return _0xfda115;}[_0x1c472f(0x1b5)](_0x3a2f4e){const _0x5b3266=_0x1c472f,_0x30e981=this[_0x5b3266(0x123)],_0x1bf377=_0x30e981[_0x5b3266(0x18e)][_0x5b3266(0x11b)](_0x5b3266(0x16f)),_0x57a15f=new _0x3a2f4e(_0x30e981[_0x5b3266(0x174)]);return _0x57a15f[_0x5b3266(0x15f)]({'label':_0x231548(_0x30e981[_0x5b3266(0x174)],_0x5b3266(0x1ae)),'icon':_0x38651a[_0x5b3266(0x154)],'isToggleable':!0x0}),_0x57a15f[_0x5b3266(0x157)](_0x5b3266(0x1c2))['to'](_0x1bf377),_0x57a15f[_0x5b3266(0x157)](_0x5b3266(0x172))['to'](this[_0x5b3266(0x179)],'id',_0x8bb1dd=>_0x5b3266(0x121)===_0x8bb1dd),this[_0x5b3266(0x159)](_0x57a15f,_0x5b3266(0x155),()=>{const _0x493898=_0x5b3266;_0x57a15f[_0x493898(0x172)]?this[_0x493898(0x1a1)]():_0x1bf377[_0x493898(0x155)]();}),_0x57a15f;}[_0x1c472f(0x19f)](){const _0x2f2353=_0x1c472f,_0x44537a=this[_0x2f2353(0x123)][_0x2f2353(0x132)][_0x2f2353(0x11b)](_0x17f58a);this[_0x2f2353(0x16d)]=new _0x1b3454(this[_0x2f2353(0x123)][_0x2f2353(0x174)],this[_0x2f2353(0x1ba)],this[_0x2f2353(0x123)][_0x2f2353(0x193)][_0x2f2353(0x11b)](_0x2f2353(0x1bc))),this[_0x2f2353(0x16d)]['on'](_0x2f2353(0x15b),()=>{const _0x364cce=_0x2f2353;this[_0x364cce(0x179)][_0x364cce(0x1a9)][_0x364cce(0x17d)]||this[_0x364cce(0x179)][_0x364cce(0x1a9)][_0x364cce(0x16e)]();}),this[_0x2f2353(0x16d)][_0x2f2353(0x166)][_0x2f2353(0x1bd)][_0x2f2353(0x186)]['on'](_0x2f2353(0x178),()=>{const _0x19da5e=_0x2f2353;this[_0x19da5e(0x179)][_0x19da5e(0x1a9)][_0x19da5e(0x17d)]||this[_0x19da5e(0x179)][_0x19da5e(0x1a9)][_0x19da5e(0x16e)]();}),this[_0x2f2353(0x159)](this[_0x2f2353(0x16d)],_0x2f2353(0x1ca),()=>{const _0xda8dba=_0x2f2353;_0x44537a[_0xda8dba(0x1b1)](this[_0xda8dba(0x1a4)][_0xda8dba(0x129)]),this[_0xda8dba(0x1a1)]();}),this[_0x2f2353(0x159)](this[_0x2f2353(0x16d)],_0x2f2353(0x1a7),()=>{const _0xb4fa0f=_0x2f2353;_0x44537a[_0xb4fa0f(0x1a7)](this[_0xb4fa0f(0x1a4)][_0xb4fa0f(0x129)]),this[_0xb4fa0f(0x1a1)]();}),this[_0x2f2353(0x196)]();}[_0x1c472f(0x196)](){const _0x2c2121=_0x1c472f,{locale:_0xda6566,ui:{ariaLiveAnnouncer:_0x238015}}=this[_0x2c2121(0x123)];this[_0x2c2121(0x16d)][_0x2c2121(0x15e)]['on'](_0x2c2121(0x152),(_0x2cbf6c,_0x208c5c,_0x54eb1e)=>{const _0x608af5=_0x2c2121,_0x4fc4ac=this[_0x608af5(0x1a4)][_0x608af5(0x129)];_0x54eb1e?_0x238015[_0x608af5(0x167)](_0x231548(_0xda6566,_0x608af5(0x122))):_0x4fc4ac&&_0x238015[_0x608af5(0x167)](_0x231548(_0xda6566,_0x608af5(0x1c9),_0x4fc4ac),{'politeness':_0x608af5(0x173),'isUnsafeHTML':!0x0});}),this[_0x2c2121(0x16d)]['on'](_0x2c2121(0x126),(_0x3f7438,_0x425b7b,_0x19197e)=>{const _0x4075d7=_0x2c2121;if(_0x19197e){const _0xe9c659=this[_0x4075d7(0x16d)][_0x4075d7(0x1ac)][_0x4075d7(0x139)];_0x238015[_0x4075d7(0x167)](_0x231548(_0xda6566,_0x4075d7(0x15c),_0xe9c659));}});}[_0x1c472f(0x11e)](_0x5067c6){const _0x359bf2=_0x1c472f,_0x4e6908=this[_0x359bf2(0x1b0)][_0x359bf2(0x11b)](_0x5067c6),_0x386e6a=this[_0x359bf2(0x123)],_0x31ff5a=_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x1c4)][_0x359bf2(0x184)],_0x27ceac=_0x386e6a[_0x359bf2(0x18e)][_0x359bf2(0x11b)](_0x359bf2(0x16f)),_0x28435e=_0x386e6a[_0x359bf2(0x132)][_0x359bf2(0x11b)](_0x17f58a),_0x29b4df=''+(_0x4e6908[_0x359bf2(0x190)]!==_0x218e74?_0x4e6908[_0x359bf2(0x19b)]+':\x20':'')+_0x4e6908[_0x359bf2(0x130)];if(!0x1!==_0x4e6908[_0x359bf2(0x161)]&&_0x31ff5a[_0x359bf2(0x120)]){const _0xae3508=_0x25af20(_0x31ff5a[_0x359bf2(0x11a)]())||_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x195)][_0x359bf2(0x18c)](_0x31ff5a);_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x18f)](_0x1d70a8=>{const _0x3ce075=_0x359bf2;_0x1d70a8[_0x3ce075(0x11f)](_0xae3508,'in');});}_0x28435e[_0x359bf2(0x164)](),_0x27ceac[_0x359bf2(0x155)](_0x4e6908[_0x359bf2(0x118)],_0x29b4df,_0x359bf2(0x171)+_0x5067c6);}[_0x1c472f(0x1b4)](_0x3b00cd,_0x38514b,_0x1fa217,_0x449510){const _0x88681d=_0x1c472f,_0xc6ac7f=this[_0x88681d(0x123)],_0x5a28b6=_0xc6ac7f[_0x88681d(0x174)],_0x156729=new _0x23c4ed(_0x5a28b6),_0x4e844c=B(_0xc6ac7f,_0x1fa217)[_0x88681d(0x185)](_0x56af1b=>_0x56af1b[_0x88681d(0x18e)][_0x88681d(0x17c)]);0x1===_0x4e844c[_0x88681d(0x17c)]?this[_0x88681d(0x169)]({'command':_0x3b00cd,'commands':_0x4e844c[0x0][_0x88681d(0x18e)],'parentMenuView':_0x38514b,'onExecute':_0x449510})[_0x88681d(0x198)](_0x2d560c=>_0x156729[_0x88681d(0x11d)][_0x88681d(0x12b)](_0x2d560c)):_0x4e844c[_0x88681d(0x198)](({groupId:_0xe7b9bc,groupLabel:_0x53b948,commands:_0xca4b56})=>{const _0x54fbbb=_0x88681d,_0x1d6a9b=new _0x575215(_0x5a28b6,_0x38514b),_0xfdf65f=new _0x4907c9(_0x5a28b6),_0x199aaa=new _0x23c4ed(_0x5a28b6),_0x5964c8=this[_0x54fbbb(0x169)]({'command':_0x3b00cd,'commands':_0xca4b56,'parentMenuView':_0xfdf65f,'onExecute':_0x449510});_0xfdf65f[_0x54fbbb(0x175)][_0x54fbbb(0x15f)]({'label':_0x53b948||_0xe7b9bc}),_0xfdf65f[_0x54fbbb(0x1a3)](_0x54fbbb(0x155))['to'](_0x38514b),_0x199aaa[_0x54fbbb(0x11d)][_0x54fbbb(0x176)](_0x5964c8),_0xfdf65f[_0x54fbbb(0x124)][_0x54fbbb(0x158)][_0x54fbbb(0x12b)](_0x199aaa),_0x1d6a9b[_0x54fbbb(0x158)][_0x54fbbb(0x12b)](_0xfdf65f),_0x156729[_0x54fbbb(0x11d)][_0x54fbbb(0x12b)](_0x1d6a9b);}),_0x38514b[_0x88681d(0x124)][_0x88681d(0x158)][_0x88681d(0x12b)](_0x156729);}[_0x1c472f(0x169)]({command:_0xfe4e07,commands:_0x2dd7ba,parentMenuView:_0x57b198,onExecute:_0xb16478}){const _0x37760f=_0x1c472f,_0x35eb96=this[_0x37760f(0x123)],_0x3dfe6a=_0x35eb96[_0x37760f(0x174)];return B(_0x35eb96,_0x2dd7ba)[_0x37760f(0x163)](_0x3116fa=>{const _0x2ca8ff=_0x37760f,_0x57ece6=new _0x575215(_0x3dfe6a,_0x57b198),_0x50e2e4=new _0x51f8d0(_0x3dfe6a);return _0x50e2e4[_0x2ca8ff(0x15f)]({'label':_0x3116fa[_0x2ca8ff(0x130)]}),_0x50e2e4[_0x2ca8ff(0x1a3)](_0x2ca8ff(0x155))['to'](_0x57b198),_0x50e2e4['on'](_0x2ca8ff(0x155),()=>_0xb16478(_0x3116fa['id'])),_0x50e2e4[_0x2ca8ff(0x157)](_0x2ca8ff(0x1c2))['to'](_0xfe4e07,_0x2ca8ff(0x142),_0x3c09d6=>_0x3c09d6[_0x2ca8ff(0x180)](_0x3116fa['id'])),_0x57ece6[_0x2ca8ff(0x158)][_0x2ca8ff(0x12b)](_0x50e2e4),_0x57ece6;});}}function _(_0x19f4e9,_0x457e28){const _0x5791e5=_0x1c472f;return void 0x0!==_0x19f4e9[_0x5791e5(0x188)]&&void 0x0===_0x457e28[_0x5791e5(0x188)]?0x1:void 0x0===_0x19f4e9[_0x5791e5(0x188)]&&void 0x0!==_0x457e28[_0x5791e5(0x188)]?-0x1:void 0x0!==_0x19f4e9[_0x5791e5(0x188)]&&void 0x0!==_0x457e28[_0x5791e5(0x188)]?_0x19f4e9[_0x5791e5(0x188)]-_0x457e28[_0x5791e5(0x188)]:0x0;}function B(_0x8be3f3,_0x32d45a){const _0x59fd12=_0x1c472f;_0x32d45a[_0x59fd12(0x151)](_);const _0x259122={},_0x7b9625=[];for(const _0x1eb9fe of _0x32d45a)if(void 0x0!==_0x1eb9fe[_0x59fd12(0x188)]){if(_0x1eb9fe[_0x59fd12(0x188)]in _0x259122)throw new _0xf350aa(_0x59fd12(0x156),_0x8be3f3,{'conflictingDefinitions':[_0x1eb9fe,_0x259122[_0x1eb9fe[_0x59fd12(0x188)]]]});_0x259122[_0x1eb9fe[_0x59fd12(0x188)]]=_0x1eb9fe,_0x7b9625[_0x59fd12(0x14b)](_0x1eb9fe[_0x59fd12(0x188)],0x0,_0x1eb9fe);}else _0x7b9625[_0x59fd12(0x182)](_0x1eb9fe);return _0x7b9625;}
|
|
23
|
+
const _0x1cca25=_0x1f7a;(function(_0x29e6c1,_0x70acf0){const _0xc54f02=_0x1f7a,_0x2f3479=_0x29e6c1();while(!![]){try{const _0x247bc2=parseInt(_0xc54f02(0x152))/0x1+parseInt(_0xc54f02(0xfa))/0x2+parseInt(_0xc54f02(0x166))/0x3+parseInt(_0xc54f02(0xd3))/0x4+parseInt(_0xc54f02(0x106))/0x5+parseInt(_0xc54f02(0x10d))/0x6*(-parseInt(_0xc54f02(0x108))/0x7)+-parseInt(_0xc54f02(0x147))/0x8*(parseInt(_0xc54f02(0x15f))/0x9);if(_0x247bc2===_0x70acf0)break;else _0x2f3479['push'](_0x2f3479['shift']());}catch(_0x209b70){_0x2f3479['push'](_0x2f3479['shift']());}}}(_0x5d9a,0x33162));import{Plugin as _0x1fc734}from'ckeditor5/src/core.js';import{first as _0x41c662,CKEditorError as _0x252d75}from'ckeditor5/src/utils.js';import{createDropdown as _0x1a1541,addMenuToDropdown as _0x3351e1,ButtonView as _0x28e560,MenuBarMenuListItemButtonView as _0x4da10a,Dialog as _0x91b924,DialogViewPosition as _0x146ac0,MenuBarMenuView as _0x2172e8,MenuBarMenuListView as _0x1e3d0c,MenuBarMenuListItemView as _0x32d0b8}from'ckeditor5/src/ui.js';import{icons as _0x60fd85}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x311eea,UNGROUPED_COMMANDS_GROUP_ID as _0x87c976}from'./utils/normalizecommandsconfig.js';import _0x21828f from'./aiassistantediting.js';import _0x11efce from'./adapters/aiadapter.js';function _0x5d9a(){const _0x41e116=['developmentLimit','_aiAdapter','plugins','AI\x20Assistant','change:enabledCommandsIds','isFlat','tableOfContents','source','usageLimit','<p>','expired','delegate','licenseKey','aiLicenseKeyNotAllowed','722054ElnNYi','_licenseKeyCheckInterval','splice','aiAssistant','get','model','schema','evaluationLimit','config','pluginName','aiLicenseKeyUsageLimit','menuView','1338670zSXtid','updateView','125566THkvEe','panelView','command:','_initAriaAiStatusChangeAnnouncements','aiLicenseKeyDomainLimit','18RUdhSe','isOn','_aiAssistantController','_forceMarkersCopy','buttonView','getData','_initView','hideFakeVisualSelection','items','add','bind','requiresContent','isOfficialPlugin','getRanges','robotPencil','init','aiLicenseKeyInvalid','commands','editor','replace','change','map','ck-ai-assistant-button\x20','update','setSelection','once','reset','announce','execute','aiLicenseKeyExpired','updatePosition','getSelectedElement','trim','aiLicenseKeyValid','AIAssistant','change:isError','_uiCssClasses','listenTo','componentFactory','aiLicenseKeyTrialLimit','includes','aiLicenseKeyDevelopmentLimit','_populateMenuBarMenu','menuBar:aiCommands','view','ck-ai-commands-dropdown\x20','replaceContent','buttons','aiLicenseKeyEvaluationLimit','_onExecute','children','text','polite','_createAIAssistantUIButton','ai.aiAssistant.commands','selection','hideUI','change:value','186512JpzNnK','promptView','Generated\x20content:\x20%0','render','AI\x20is\x20writing','body','isCollapsed','ai.aiAssistant.contentAreaCssClass','sort','menuPanelClass','currentContext','359389CjRVWU','length','_commandDefinitions','text/html','label','contentArea','focus','isEnabled','showAIAssistant','isPremiumPlugin','menuitemcheckbox','EDITOR_TOP_SIDE','wasMoved','441FDHoIu','destroy','custom','show','addMany','_dialog','showFakeVisualSelection','1026831DXsBBx','getLimitElement','fieldView','menuBar:aiAssistant','ai.useTheme','getSelectedBlocks','aiCommands','</p>','\x20ck-ai-assistant-ui_theme','AI\x20Commands','featureNotAllowed','showUI','locale','ai.aiAssistant.disabledElements','editing','requires','set','rawHtml','_getMenuBarGroupButtons','groupId','_showLicenseError','fire','groupLabel','AIAssistantUI','enabledCommandsIds','Error\x20during\x20AI\x20content\x20generation:\x20%0','textAdapter','ai-commands-config-order-collision','forEach','queryView','comment','300092FQjfjM','document','change:isProcessing','copy','INSERT','prompt','values','errorView','push','REPLACE','ck-ai-assistant-ui','order','trialLimit','DataTransfer','filter','_getResolvedCommandsDefinitions','_formView','domainLimit','from','insertContent','insertContentBelow','invalid','hide','define','media'];_0x5d9a=function(){return _0x41e116;};return _0x5d9a();}import{getTranslation as _0x19c2a6}from'./utils/common-translations.js';import _0x60c90c from'./ui/showaiassistantcommand.js';import _0x177d52 from'./ui/aiassistantcontroller.js';import _0x406ca2 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x37d494}from'./ui/form/aiformtoolbarview.js';import _0x261a71 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x1cca25(0xe0)];import{ClipboardMarkersUtils as _0x335ed7}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x267c5a,DataTransfer as _0x1e35fd}from'ckeditor5/src/engine.js';export default class n extends _0x1fc734{static get[_0x1cca25(0x103)](){const _0x41c429=_0x1cca25;return _0x41c429(0xcb);}static get[_0x1cca25(0x119)](){return!0x0;}static get[_0x1cca25(0x15b)](){return!0x0;}static get[_0x1cca25(0xc3)](){return[_0x335ed7,_0x21828f,_0x11efce,_0x91b924];}constructor(_0x5ce44f){const _0x55b6e1=_0x1cca25;super(_0x5ce44f),this[_0x55b6e1(0x131)]='',_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0xc1),[_0x55b6e1(0xeb),_0x55b6e1(0xc5),_0x55b6e1(0xf2)]),_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0x14e),''),_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0x16a),!0x0),this[_0x55b6e1(0x131)]=_0x55b6e1(0xdd)+(_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xfe)](_0x55b6e1(0x16a))?_0x55b6e1(0xbc):'');}[_0x1cca25(0x11c)](){const _0x290192=_0x1cca25,{editor:_0x137481}=this;this[_0x290192(0xed)]=_0x137481[_0x290192(0xee)][_0x290192(0xfe)](_0x11efce),this[_0x290192(0x164)]=_0x137481[_0x290192(0xee)][_0x290192(0xfe)](_0x91b924),this[_0x290192(0xe3)]=null,this[_0x290192(0x154)]=this[_0x290192(0xe2)]();const _0x2eebc8=new _0x60c90c(_0x137481,Array[_0x290192(0xe5)](this[_0x290192(0x154)][_0x290192(0xd9)]()));_0x137481[_0x290192(0x11e)][_0x290192(0x116)](_0x290192(0x15a),_0x2eebc8),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0xba),_0x2c58ef=>{const _0x30b797=_0x290192,_0x2eeb43=_0x1a1541(_0x2c58ef);return _0x2eeb43[_0x30b797(0xc4)]({'class':_0x30b797(0x13a)+this[_0x30b797(0x131)]}),_0x2eeb43[_0x30b797(0x111)][_0x30b797(0xc4)]({'label':_0x19c2a6(_0x2c58ef,_0x30b797(0xbd)),'icon':_0x261a71,'tooltip':!0x0}),_0x2eeb43['on'](_0x30b797(0x129),_0xc17bbf=>this[_0x30b797(0x13e)](_0xc17bbf[_0x30b797(0xf3)]['id'])),_0x3351e1(_0x2eeb43,_0x137481['ui'][_0x30b797(0x139)][_0x30b797(0x14c)],function(_0x20f0af){const _0x4e26b4=_0x30b797,_0x1fc917=_0x311eea(_0x20f0af[_0x4e26b4(0x102)][_0x4e26b4(0xfe)](_0x4e26b4(0x143)),_0x20f0af[_0x4e26b4(0xc0)]),_0x5321bf=B(_0x20f0af,_0x1fc917)[_0x4e26b4(0xe1)](_0x58ca4e=>_0x58ca4e[_0x4e26b4(0x11e)][_0x4e26b4(0x153)]);if(0x1===_0x5321bf[_0x4e26b4(0x153)])return B(_0x20f0af,_0x5321bf[0x0][_0x4e26b4(0x11e)])[_0x4e26b4(0x122)](_0x3172c4=>({'id':_0x3172c4['id'],'label':_0x3172c4[_0x4e26b4(0x156)]}));return _0x5321bf[_0x4e26b4(0x122)](_0x501f1a=>{const _0x5321d0=_0x4e26b4,{groupId:_0xb0ebea,groupLabel:_0x461910,commands:_0x39646a}=_0x501f1a,_0x3e3670=B(_0x20f0af,_0x39646a)[_0x5321d0(0x122)](_0x4e2d5e=>({'id':_0x4e2d5e['id'],'label':_0x4e2d5e[_0x5321d0(0x156)]}));return{'id':_0xb0ebea,'menu':_0x461910||_0xb0ebea,'children':_0x3e3670};});}(_0x137481),{'ariaLabel':_0x19c2a6(_0x2c58ef,_0x30b797(0xbd))}),_0x2eeb43[_0x30b797(0x105)][_0x30b797(0x150)]=_0x30b797(0x13a)+this[_0x30b797(0x131)],_0x2eebc8['on'](_0x30b797(0xf0),_0x23d8a8),_0x2eeb43[_0x30b797(0x105)][_0x30b797(0x126)](_0x30b797(0x14a),_0x23d8a8),_0x2eeb43;function _0x23d8a8(){const _0x440988=_0x30b797;_0x2eeb43[_0x440988(0x159)]=_0x2eebc8[_0x440988(0xcc)][_0x440988(0x153)]>0x0;for(const _0x36433b of _0x2eeb43[_0x440988(0x105)][_0x440988(0x13c)])_0x36433b[_0x440988(0x159)]=_0x2eebc8[_0x440988(0xcc)][_0x440988(0x135)](_0x36433b['id']);}}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0x138),_0x5aee28=>{const _0x41acd8=_0x290192,_0x4151c1=new _0x2172e8(_0x5aee28);_0x4151c1[_0x41acd8(0x111)][_0x41acd8(0xc4)]({'label':_0x19c2a6(_0x5aee28,_0x41acd8(0xbd)),'icon':_0x261a71}),_0x4151c1[_0x41acd8(0x117)](_0x41acd8(0x159))['to'](_0x2eebc8,_0x41acd8(0xcc),_0xafa074=>_0xafa074[_0x41acd8(0x153)]>0x0);const _0x354b1a=_0x311eea(_0x137481[_0x41acd8(0x102)][_0x41acd8(0xfe)](_0x41acd8(0x143)),_0x5aee28);return this[_0x41acd8(0x137)](_0x2eebc8,_0x4151c1,_0x354b1a,_0x357c9b=>this[_0x41acd8(0x13e)](_0x357c9b)),_0x4151c1;}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0xfd),()=>{const _0x4b8dfe=_0x290192,_0xdb9521=this[_0x4b8dfe(0x142)](_0x28e560);return _0xdb9521[_0x4b8dfe(0xc4)]({'tooltip':!0x0,'class':_0x4b8dfe(0x123)+this[_0x4b8dfe(0x131)]}),_0xdb9521;}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0x169),()=>{const _0x2f3971=_0x290192,_0x5b4f5b=this[_0x2f3971(0x142)](_0x4da10a);return _0x5b4f5b[_0x2f3971(0xc4)]({'role':_0x2f3971(0x15c)}),_0x5b4f5b;}),this[_0x290192(0xf8)]=this[_0x290192(0x11f)][_0x290192(0x102)][_0x290192(0xfe)](_0x290192(0xf8));const _0x16cd85=this[_0x290192(0x11f)];this[_0x290192(0xfb)]=setInterval(()=>{const _0x1b8a2e=_0x290192;let _0x18f716;for(const _0xc302e3 in _0x16cd85){const _0x37d633=_0xc302e3,_0x33e4e2=_0x16cd85[_0x37d633];if(_0x1b8a2e(0x12e)==_0x33e4e2||_0x1b8a2e(0x11d)==_0x33e4e2||_0x1b8a2e(0x12a)==_0x33e4e2||_0x1b8a2e(0x10c)==_0x33e4e2||_0x1b8a2e(0xf9)==_0x33e4e2||_0x1b8a2e(0x13d)==_0x33e4e2||_0x1b8a2e(0x134)==_0x33e4e2||_0x1b8a2e(0x136)==_0x33e4e2||_0x1b8a2e(0x104)==_0x33e4e2){delete _0x16cd85[_0x37d633],_0x18f716=_0x33e4e2,clearInterval(this[_0x1b8a2e(0xfb)]),this[_0x1b8a2e(0xfb)]=void 0x0;break;}}_0x1b8a2e(0x11d)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xe8)),_0x1b8a2e(0x12a)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xf6)),_0x1b8a2e(0x10c)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xe4)),_0x1b8a2e(0xf9)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xbe),_0x1b8a2e(0x12f)),_0x1b8a2e(0x13d)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0x101)),_0x1b8a2e(0x134)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xdf)),_0x1b8a2e(0x136)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xec)),_0x1b8a2e(0x104)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xf4));},0x3e8);}[_0x1cca25(0x160)](){const _0x17fcd4=_0x1cca25;super[_0x17fcd4(0x160)](),this[_0x17fcd4(0xfb)]&&clearInterval(this[_0x17fcd4(0xfb)]);}[_0x1cca25(0xbf)](_0x23b12f='',_0x48db0e='',_0x4d72a3=_0x1cca25(0x161)){const _0x3523dd=_0x1cca25,_0x1f1940=this[_0x3523dd(0x11f)],_0x5234d0=_0x1f1940[_0x3523dd(0xc2)][_0x3523dd(0x139)],_0xc8fcb=_0x1f1940[_0x3523dd(0xee)][_0x3523dd(0xfe)](_0x21828f),_0x2a9a42=_0x1f1940[_0x3523dd(0xee)][_0x3523dd(0xfe)](_0x335ed7);_0xc8fcb[_0x3523dd(0x165)]();const _0x39c2d9=new j(),_0xf2c9d0=new ClipboardEvent(_0x3523dd(0xd6),{'clipboardData':_0x39c2d9}),_0x1a45b2=new _0x1e35fd(_0x39c2d9),_0x31eef3=new _0x267c5a(_0x5234d0,_0xf2c9d0,{'dataTransfer':_0x1a45b2});_0x2a9a42[_0x3523dd(0x110)](_0x3523dd(0xd2),()=>{const _0x3e1a86=_0x3523dd;_0x5234d0[_0x3e1a86(0xd4)][_0x3e1a86(0xc9)](_0x3e1a86(0xd6),_0x31eef3);}),this[_0x3523dd(0xe3)]||(this[_0x3523dd(0x113)](),this[_0x3523dd(0x10f)]=new _0x177d52(_0x1f1940,this[_0x3523dd(0xed)][_0x3523dd(0xce)],this[_0x3523dd(0xe3)]));let _0x480fd9=_0x1a45b2[_0x3523dd(0x112)](_0x3523dd(0x155));const _0x3a7e7a=_0x1f1940[_0x3523dd(0xff)][_0x3523dd(0xd4)][_0x3523dd(0x144)],_0x224ebd=Array[_0x3523dd(0xe5)](_0x3a7e7a[_0x3523dd(0x11a)]());0x1===_0x224ebd[_0x3523dd(0x153)]&&_0x224ebd[0x0][_0x3523dd(0xf1)]&&!_0x3a7e7a[_0x3523dd(0x12c)]()&&''!==_0x480fd9[_0x3523dd(0x120)](/ /g,'')[_0x3523dd(0x12d)]()&&(_0x480fd9=_0x3523dd(0xf5)+_0x480fd9+_0x3523dd(0xbb)),this[_0x3523dd(0x10f)][_0x3523dd(0x107)]({'actionId':_0x4d72a3,'query':_0x23b12f,'htmlContent':_0x480fd9,'label':_0x48db0e,'mainActionLabel':_0x37d494[_0x1f1940[_0x3523dd(0xff)][_0x3523dd(0xd4)][_0x3523dd(0x144)][_0x3523dd(0x14d)]?_0x3523dd(0xd7):_0x3523dd(0xdc)]}),_0x3523dd(0xfd)!==this[_0x3523dd(0x164)]['id']?this[_0x3523dd(0x164)][_0x3523dd(0x162)]({'id':_0x3523dd(0xfd),'icon':_0x60fd85[_0x3523dd(0x11b)],'title':_0x19c2a6(this[_0x3523dd(0x11f)][_0x3523dd(0xc0)],_0x3523dd(0xef)),'content':this[_0x3523dd(0xe3)],'position':_0x146ac0[_0x3523dd(0x15d)],'onShow':()=>{const _0x4ab126=_0x3523dd;this[_0x4ab126(0xe3)][_0x4ab126(0x158)]();},'onHide':()=>{const _0x33c97a=_0x3523dd;this[_0x33c97a(0x10f)][_0x33c97a(0x127)](),_0xc8fcb[_0x33c97a(0x114)]();}}):this[_0x3523dd(0x164)][_0x3523dd(0x139)][_0x3523dd(0x15e)]||this[_0x3523dd(0x164)][_0x3523dd(0x139)][_0x3523dd(0x12b)]();}[_0x1cca25(0x145)](){const _0x1a50b7=_0x1cca25;this[_0x1a50b7(0x164)][_0x1a50b7(0xe9)]();}[_0x1cca25(0xe2)](){const _0x54ab89=_0x1cca25,_0x2edbdb=new Map(),_0x3c5701=_0x311eea(this[_0x54ab89(0x11f)][_0x54ab89(0x102)][_0x54ab89(0xfe)](_0x54ab89(0x143)),this[_0x54ab89(0x11f)][_0x54ab89(0xc0)]);for(const _0xe0d367 of _0x3c5701)for(const _0x5e6487 of _0xe0d367[_0x54ab89(0x11e)])_0x2edbdb[_0x54ab89(0xc4)](_0x5e6487['id'],{..._0x5e6487,'groupId':_0xe0d367[_0x54ab89(0xc7)],'groupLabel':_0xe0d367[_0x54ab89(0xca)]||_0xe0d367[_0x54ab89(0xc7)]});return _0x2edbdb;}[_0x1cca25(0x142)](_0x5587f5){const _0x80cfba=_0x1cca25,_0x5985e2=this[_0x80cfba(0x11f)],_0x13d9a9=_0x5985e2[_0x80cfba(0x11e)][_0x80cfba(0xfe)](_0x80cfba(0x15a)),_0x14c4ed=new _0x5587f5(_0x5985e2[_0x80cfba(0xc0)]);return _0x14c4ed[_0x80cfba(0xc4)]({'label':_0x19c2a6(_0x5985e2[_0x80cfba(0xc0)],_0x80cfba(0xef)),'icon':_0x60fd85[_0x80cfba(0x11b)],'isToggleable':!0x0}),_0x14c4ed[_0x80cfba(0x117)](_0x80cfba(0x159))['to'](_0x13d9a9),_0x14c4ed[_0x80cfba(0x117)](_0x80cfba(0x10e))['to'](this[_0x80cfba(0x164)],'id',_0xc91704=>_0x80cfba(0xfd)===_0xc91704),this[_0x80cfba(0x132)](_0x14c4ed,_0x80cfba(0x129),()=>{const _0xd23585=_0x80cfba;_0x14c4ed[_0xd23585(0x10e)]?this[_0xd23585(0x145)]():_0x13d9a9[_0xd23585(0x129)]();}),_0x14c4ed;}[_0x1cca25(0x113)](){const _0x9ead4d=_0x1cca25,_0x1295b3=this[_0x9ead4d(0x11f)][_0x9ead4d(0xee)][_0x9ead4d(0xfe)](_0x21828f);this[_0x9ead4d(0xe3)]=new _0x406ca2(this[_0x9ead4d(0x11f)][_0x9ead4d(0xc0)],this[_0x9ead4d(0x131)],this[_0x9ead4d(0x11f)][_0x9ead4d(0x102)][_0x9ead4d(0xfe)](_0x9ead4d(0x14e))),this[_0x9ead4d(0xe3)]['on'](_0x9ead4d(0x146),()=>{const _0x1ff8a7=_0x9ead4d;this[_0x1ff8a7(0x164)][_0x1ff8a7(0x139)][_0x1ff8a7(0x15e)]||this[_0x1ff8a7(0x164)][_0x1ff8a7(0x139)][_0x1ff8a7(0x12b)]();}),this[_0x9ead4d(0xe3)][_0x9ead4d(0x148)][_0x9ead4d(0xd1)][_0x9ead4d(0x168)]['on'](_0x9ead4d(0x124),()=>{const _0x1bad00=_0x9ead4d;this[_0x1bad00(0x164)][_0x1bad00(0x139)][_0x1bad00(0x15e)]||this[_0x1bad00(0x164)][_0x1bad00(0x139)][_0x1bad00(0x12b)]();}),this[_0x9ead4d(0x132)](this[_0x9ead4d(0xe3)],_0x9ead4d(0x13b),()=>{const _0x348b46=_0x9ead4d;_0x1295b3[_0x348b46(0xe6)](this[_0x348b46(0x10f)][_0x348b46(0x151)]),this[_0x348b46(0x145)]();}),this[_0x9ead4d(0x132)](this[_0x9ead4d(0xe3)],_0x9ead4d(0xe7),()=>{const _0x30266a=_0x9ead4d;_0x1295b3[_0x30266a(0xe7)](this[_0x30266a(0x10f)][_0x30266a(0x151)]),this[_0x30266a(0x145)]();}),this[_0x9ead4d(0x10b)]();}[_0x1cca25(0x10b)](){const _0x1138c8=_0x1cca25,{locale:_0xf5d8f4,ui:{ariaLiveAnnouncer:_0x414520}}=this[_0x1138c8(0x11f)];this[_0x1138c8(0xe3)][_0x1138c8(0x157)]['on'](_0x1138c8(0xd5),(_0xb1a9ba,_0x586ae5,_0x2e7349)=>{const _0x1bde44=_0x1138c8,_0x4251ac=this[_0x1bde44(0x10f)][_0x1bde44(0x151)];_0x2e7349?_0x414520[_0x1bde44(0x128)](_0x19c2a6(_0xf5d8f4,_0x1bde44(0x14b))):_0x4251ac&&_0x414520[_0x1bde44(0x128)](_0x19c2a6(_0xf5d8f4,_0x1bde44(0x149),_0x4251ac),{'politeness':_0x1bde44(0x141),'isUnsafeHTML':!0x0});}),this[_0x1138c8(0xe3)]['on'](_0x1138c8(0x130),(_0x24bfd1,_0x17fc7c,_0x474437)=>{const _0x430e1c=_0x1138c8;if(_0x474437){const _0x30347c=this[_0x430e1c(0xe3)][_0x430e1c(0xda)][_0x430e1c(0x140)];_0x414520[_0x430e1c(0x128)](_0x19c2a6(_0xf5d8f4,_0x430e1c(0xcd),_0x30347c));}});}[_0x1cca25(0x13e)](_0x1bbec3){const _0x5b4efa=_0x1cca25,_0x464df1=this[_0x5b4efa(0x154)][_0x5b4efa(0xfe)](_0x1bbec3),_0xca0763=this[_0x5b4efa(0x11f)],_0x372788=_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0xd4)][_0x5b4efa(0x144)],_0x282a77=_0xca0763[_0x5b4efa(0x11e)][_0x5b4efa(0xfe)](_0x5b4efa(0x15a)),_0x11be7e=_0xca0763[_0x5b4efa(0xee)][_0x5b4efa(0xfe)](_0x21828f),_0x4ab2e4=''+(_0x464df1[_0x5b4efa(0xc7)]!==_0x87c976?_0x464df1[_0x5b4efa(0xca)]+':\x20':'')+_0x464df1[_0x5b4efa(0x156)];if(!0x1!==_0x464df1[_0x5b4efa(0x118)]&&_0x372788[_0x5b4efa(0x14d)]){const _0x530683=_0x41c662(_0x372788[_0x5b4efa(0x16b)]())||_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0x100)][_0x5b4efa(0x167)](_0x372788);_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0x121)](_0x1d9b9d=>{const _0x466528=_0x5b4efa;_0x1d9b9d[_0x466528(0x125)](_0x530683,'in');});}_0x11be7e[_0x5b4efa(0x165)](),_0x282a77[_0x5b4efa(0x129)](_0x464df1[_0x5b4efa(0xd8)],_0x4ab2e4,_0x5b4efa(0x10a)+_0x1bbec3);}[_0x1cca25(0x137)](_0x4c9e20,_0x19f314,_0x5a2059,_0x440207){const _0x51f61c=_0x1cca25,_0x10f947=this[_0x51f61c(0x11f)],_0x31ba21=_0x10f947[_0x51f61c(0xc0)],_0x49d5eb=new _0x1e3d0c(_0x31ba21),_0x55e1ea=B(_0x10f947,_0x5a2059)[_0x51f61c(0xe1)](_0x10b5a4=>_0x10b5a4[_0x51f61c(0x11e)][_0x51f61c(0x153)]);0x1===_0x55e1ea[_0x51f61c(0x153)]?this[_0x51f61c(0xc6)]({'command':_0x4c9e20,'commands':_0x55e1ea[0x0][_0x51f61c(0x11e)],'parentMenuView':_0x19f314,'onExecute':_0x440207})[_0x51f61c(0xd0)](_0xf40f21=>_0x49d5eb[_0x51f61c(0x115)][_0x51f61c(0x116)](_0xf40f21)):_0x55e1ea[_0x51f61c(0xd0)](({groupId:_0x3e4f3d,groupLabel:_0x54aecb,commands:_0x129b20})=>{const _0x5f2de2=_0x51f61c,_0x117d54=new _0x32d0b8(_0x31ba21,_0x19f314),_0xf08e74=new _0x2172e8(_0x31ba21),_0xd6d4cf=new _0x1e3d0c(_0x31ba21),_0x22dd45=this[_0x5f2de2(0xc6)]({'command':_0x4c9e20,'commands':_0x129b20,'parentMenuView':_0xf08e74,'onExecute':_0x440207});_0xf08e74[_0x5f2de2(0x111)][_0x5f2de2(0xc4)]({'label':_0x54aecb||_0x3e4f3d}),_0xf08e74[_0x5f2de2(0xf7)](_0x5f2de2(0x129))['to'](_0x19f314),_0xd6d4cf[_0x5f2de2(0x115)][_0x5f2de2(0x163)](_0x22dd45),_0xf08e74[_0x5f2de2(0x109)][_0x5f2de2(0x13f)][_0x5f2de2(0x116)](_0xd6d4cf),_0x117d54[_0x5f2de2(0x13f)][_0x5f2de2(0x116)](_0xf08e74),_0x49d5eb[_0x5f2de2(0x115)][_0x5f2de2(0x116)](_0x117d54);}),_0x19f314[_0x51f61c(0x109)][_0x51f61c(0x13f)][_0x51f61c(0x116)](_0x49d5eb);}[_0x1cca25(0xc6)]({command:_0xbbcce6,commands:_0x56f2a5,parentMenuView:_0x55dfce,onExecute:_0x3b8b10}){const _0x4e7aa9=_0x1cca25,_0x5e318c=this[_0x4e7aa9(0x11f)],_0x111dac=_0x5e318c[_0x4e7aa9(0xc0)];return B(_0x5e318c,_0x56f2a5)[_0x4e7aa9(0x122)](_0x4418ff=>{const _0x1b811e=_0x4e7aa9,_0x55125d=new _0x32d0b8(_0x111dac,_0x55dfce),_0x312afd=new _0x4da10a(_0x111dac);return _0x312afd[_0x1b811e(0xc4)]({'label':_0x4418ff[_0x1b811e(0x156)]}),_0x312afd[_0x1b811e(0xf7)](_0x1b811e(0x129))['to'](_0x55dfce),_0x312afd['on'](_0x1b811e(0x129),()=>_0x3b8b10(_0x4418ff['id'])),_0x312afd[_0x1b811e(0x117)](_0x1b811e(0x159))['to'](_0xbbcce6,_0x1b811e(0xcc),_0x2c978c=>_0x2c978c[_0x1b811e(0x135)](_0x4418ff['id'])),_0x55125d[_0x1b811e(0x13f)][_0x1b811e(0x116)](_0x312afd),_0x55125d;});}}function _0x1f7a(_0x32fb49,_0x196577){const _0x5d9ac8=_0x5d9a();return _0x1f7a=function(_0x1f7ada,_0x16bc21){_0x1f7ada=_0x1f7ada-0xba;let _0x27b26d=_0x5d9ac8[_0x1f7ada];return _0x27b26d;},_0x1f7a(_0x32fb49,_0x196577);}function _(_0x56a3bd,_0x4dd29e){const _0x384abf=_0x1cca25;return void 0x0!==_0x56a3bd[_0x384abf(0xde)]&&void 0x0===_0x4dd29e[_0x384abf(0xde)]?0x1:void 0x0===_0x56a3bd[_0x384abf(0xde)]&&void 0x0!==_0x4dd29e[_0x384abf(0xde)]?-0x1:void 0x0!==_0x56a3bd[_0x384abf(0xde)]&&void 0x0!==_0x4dd29e[_0x384abf(0xde)]?_0x56a3bd[_0x384abf(0xde)]-_0x4dd29e[_0x384abf(0xde)]:0x0;}function B(_0x223e15,_0x1718a2){const _0x3c89e3=_0x1cca25;_0x1718a2[_0x3c89e3(0x14f)](_);const _0x125b1c={},_0x44efbb=[];for(const _0x3db9b7 of _0x1718a2)if(void 0x0!==_0x3db9b7[_0x3c89e3(0xde)]){if(_0x3db9b7[_0x3c89e3(0xde)]in _0x125b1c)throw new _0x252d75(_0x3c89e3(0xcf),_0x223e15,{'conflictingDefinitions':[_0x3db9b7,_0x125b1c[_0x3db9b7[_0x3c89e3(0xde)]]]});_0x125b1c[_0x3db9b7[_0x3c89e3(0xde)]]=_0x3db9b7,_0x44efbb[_0x3c89e3(0xfc)](_0x3db9b7[_0x3c89e3(0xde)],0x0,_0x3db9b7);}else _0x44efbb[_0x3c89e3(0xdb)](_0x3db9b7);return _0x44efbb;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1cca12,_0x35c58a){var _0x405800=_0x4812,_0x1c81d9=_0x1cca12();while(!![]){try{var _0x4e6dda=-parseInt(_0x405800(0x1b5))/0x1*(parseInt(_0x405800(0x1b0))/0x2)+parseInt(_0x405800(0x1b1))/0x3*(-parseInt(_0x405800(0x1b2))/0x4)+parseInt(_0x405800(0x1b3))/0x5+parseInt(_0x405800(0x1af))/0x6+parseInt(_0x405800(0x1ac))/0x7+parseInt(_0x405800(0x1ae))/0x8+-parseInt(_0x405800(0x1b4))/0x9*(-parseInt(_0x405800(0x1ad))/0xa);if(_0x4e6dda===_0x35c58a)break;else _0x1c81d9['push'](_0x1c81d9['shift']());}catch(_0x284b76){_0x1c81d9['push'](_0x1c81d9['shift']());}}}(_0x56ba,0xdca61));function _0x4812(_0x31b162,_0x3476ef){var _0x56bace=_0x56ba();return _0x4812=function(_0x48128a,_0x1bf8d8){_0x48128a=_0x48128a-0x1ac;var _0x410c82=_0x56bace[_0x48128a];return _0x410c82;},_0x4812(_0x31b162,_0x3476ef);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x56ba(){var _0x36eae7=['5362336DkZIXj','20EUEWKx','9860600oMcVbG','1124376denkUZ','286430Jlpxji','324eBdvsE','62312PGFHZg','7256225QZzhUS','2359359VIwJip','11ZyjswN'];_0x56ba=function(){return _0x36eae7;};return _0x56ba();}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
|
-
|
|
23
|
+
(function(_0x507e91,_0x51f99a){var _0x571e30=_0x3137,_0x14793d=_0x507e91();while(!![]){try{var _0x21ddf5=parseInt(_0x571e30(0x1d3))/0x1+parseInt(_0x571e30(0x1d4))/0x2+parseInt(_0x571e30(0x1d5))/0x3+parseInt(_0x571e30(0x1d7))/0x4+-parseInt(_0x571e30(0x1d8))/0x5*(-parseInt(_0x571e30(0x1d9))/0x6)+parseInt(_0x571e30(0x1d2))/0x7+-parseInt(_0x571e30(0x1d6))/0x8;if(_0x21ddf5===_0x51f99a)break;else _0x14793d['push'](_0x14793d['shift']());}catch(_0x596048){_0x14793d['push'](_0x14793d['shift']());}}}(_0x3564,0xd8a6e));function _0x3137(_0x5b472f,_0x144e16){var _0x35640b=_0x3564();return _0x3137=function(_0x3137d8,_0x557c17){_0x3137d8=_0x3137d8-0x1d2;var _0x3578b9=_0x35640b[_0x3137d8];return _0x3578b9;},_0x3137(_0x5b472f,_0x144e16);}import{CKEditorError as _0x5edc3b}from'ckeditor5/src/utils.js';function _0x3564(){var _0x45564c=['2040YEmZxX','7889994zJsfln','712493RTNfff','2852430qKHlHA','5128989RSeSdH','40565344knKwoZ','2737524ZBWhNF','4385liyGaV'];_0x3564=function(){return _0x45564c;};return _0x3564();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x3028e2=_0x45cf;(function(_0x2a9302,_0x43f649){const _0x352457=_0x45cf,_0x3bf262=_0x2a9302();while(!![]){try{const _0x566417=parseInt(_0x352457(0xb5))/0x1*(parseInt(_0x352457(0xbf))/0x2)+parseInt(_0x352457(0x9c))/0x3+parseInt(_0x352457(0x8a))/0x4+-parseInt(_0x352457(0x71))/0x5*(parseInt(_0x352457(0xb0))/0x6)+-parseInt(_0x352457(0x7c))/0x7*(-parseInt(_0x352457(0x90))/0x8)+-parseInt(_0x352457(0x97))/0x9+parseInt(_0x352457(0x81))/0xa*(-parseInt(_0x352457(0x70))/0xb);if(_0x566417===_0x43f649)break;else _0x3bf262['push'](_0x3bf262['shift']());}catch(_0x108b57){_0x3bf262['push'](_0x3bf262['shift']());}}}(_0x33e2,0x6cb85));function _0x33e2(){const _0x3a3a0d=['name','handleError','childNodes','body','processor','reset','_handleQuery','element','currentContext','setContentOf','viewToDom','listenTo','186cnChSB','_stripMarkdownSyntax','set:currentContext','endsWith','_xmlSerializer','5zCocwW','_normalizeResponseHeadings','previousLabel','view','set','div','prompt','render','mainAction','currentResponse','35708wLEDgT','toView','querySelector','textAdapter','length','_parseAndNormalizeContent','rename','isProcessing','value','```','domConverter','innerHTML','remove','reverse','substring','finishProcessing','abort','11NtXVpl','85795elcIwM','tryAgainEvent','destroy','serializeToString','from','_isH1TagSupportEnabled','_sanitizeHTML','custom','catch','```html','makeRequest','572593VpXdsb','parseFromString','stopListening','exec','nodeType','4630250ADyrui','finally','editor','trim','then','stopProcessing','data','previousContext','toModel','3472440BBxHvl','_domParser','stringify','createElement','previousActionId','ELEMENT_NODE','56SArtNb','match','isRendered','once','message','initialContext','updateView','6153228LWgvTo','submitPrompt','document','_sanitizationContainer','text/html','1781970jKCGML','<h1></h1>','push','startProcessing','htmlProcessor','previousQuery','editing','startsWith'];_0x33e2=function(){return _0x3a3a0d;};return _0x33e2();}import{ObservableMixin as _0x253571}from'ckeditor5/src/utils.js';import{AIRequestError as _0x491f96}from'../adapters/aiadapter.js';import{Matcher as _0xf3ea2,UpcastWriter as _0x2e8c86}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x45cf(_0x3cbb5c,_0xb47e73){const _0x33e251=_0x33e2();return _0x45cf=function(_0x45cf77,_0x188661){_0x45cf77=_0x45cf77-0x6f;let _0x1ad30b=_0x33e251[_0x45cf77];return _0x1ad30b;},_0x45cf(_0x3cbb5c,_0xb47e73);}export default class C extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x253571(){constructor(_0x1fb510,_0xdde853,_0x3c479e){const _0x3f23d3=_0x45cf;super(),this[_0x3f23d3(0x83)]=_0x1fb510,this[_0x3f23d3(0xc2)]=_0xdde853,this[_0x3f23d3(0x9a)]=document[_0x3f23d3(0x8d)](_0x3f23d3(0xba)),this[_0x3f23d3(0x8b)]=new DOMParser(),this[_0x3f23d3(0xb4)]=new XMLSerializer(),this[_0x3f23d3(0xb8)]=_0x3c479e,this[_0x3f23d3(0xb9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3f23d3(0xb2),(_0x4eb7bd,_0x30ce57,_0x5a67f1)=>{const _0x3788ca=_0x3f23d3;this[_0x3788ca(0xb8)][_0x3788ca(0xc7)]=this[_0x3788ca(0x77)](_0x5a67f1);}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x98),(_0x2ccccc,_0x506adc)=>{const _0x545dc2=_0x3f23d3,_0x481778=this[_0x545dc2(0xac)]||this[_0x545dc2(0x95)];this[_0x545dc2(0xaa)](_0x506adc,_0x481778,_0x545dc2(0x78));}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x72),()=>{const _0x1908a4=_0x3f23d3;this[_0x1908a4(0xb8)][_0x1908a4(0xbb)]=this[_0x1908a4(0xb7)],this[_0x1908a4(0xaa)](this[_0x1908a4(0xa1)],this[_0x1908a4(0x88)],this[_0x1908a4(0x8e)],this[_0x1908a4(0xb7)]);}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x86),()=>{const _0x4b9c36=_0x3f23d3;this[_0x4b9c36(0x86)]();});}[_0x3028e2(0x73)](){const _0x11dc72=_0x3028e2;this[_0x11dc72(0x7e)]();}async[_0x3028e2(0x96)]({actionId:_0x5a5f0a,query:_0x1e942e,htmlContent:_0x26a57e,label:_0x1dab19,mainActionLabel:_0x1db10f}){const _0x2024cc=_0x3028e2;this[_0x2024cc(0xb8)][_0x2024cc(0xbb)]=_0x1dab19,this[_0x2024cc(0xb8)][_0x2024cc(0xbd)]=_0x1db10f,this[_0x2024cc(0x95)]=_0x26a57e,_0x1e942e&&(this[_0x2024cc(0xb8)][_0x2024cc(0x92)]?this[_0x2024cc(0xaa)](_0x1e942e,_0x26a57e,_0x5a5f0a,_0x1dab19):this[_0x2024cc(0xb8)][_0x2024cc(0x93)](_0x2024cc(0xbc),()=>{const _0x1a1870=_0x2024cc;this[_0x1a1870(0xaa)](_0x1e942e,_0x26a57e,_0x5a5f0a,_0x1dab19);}));}[_0x3028e2(0x86)](){const _0x3c5037=_0x3028e2;this[_0x3c5037(0xc6)]&&(this[_0x3c5037(0xc6)]=!0x1,this[_0x3c5037(0xb8)][_0x3c5037(0xce)](),this[_0x3c5037(0xc2)][_0x3c5037(0x6f)]());}[_0x3028e2(0xa9)](){const _0x10340d=_0x3028e2;this[_0x10340d(0x95)]='',this[_0x10340d(0xac)]='',this[_0x10340d(0xbe)]='',this[_0x10340d(0x88)]='',this[_0x10340d(0xa1)]='',this[_0x10340d(0xb7)]='',this[_0x10340d(0x8e)]=void 0x0,this[_0x10340d(0xb8)][_0x10340d(0xa9)](),this[_0x10340d(0x86)]();}async[_0x3028e2(0xaa)](_0x398c7e,_0x293107,_0x1c7d3e,_0x369494){const _0x1100a0=_0x3028e2;return this[_0x1100a0(0xc6)]=!0x0,this[_0x1100a0(0xb8)][_0x1100a0(0x9f)](),this[_0x1100a0(0x88)]=_0x293107,this[_0x1100a0(0xa1)]=_0x398c7e,this[_0x1100a0(0xb7)]=_0x369494||_0x398c7e,this[_0x1100a0(0x8e)]=_0x1c7d3e,new Promise(_0x108efd=>{const _0x3ca688=_0x1100a0;this[_0x3ca688(0xc2)][_0x3ca688(0x7b)]({'query':_0x398c7e,'context':_0x293107,'onData':_0x55a39f=>{const _0x41edf8=_0x3ca688;this[_0x41edf8(0xbe)]=_0x55a39f,this[_0x41edf8(0xac)]=this[_0x41edf8(0xc4)](this[_0x41edf8(0xbe)]);},'actionId':_0x1c7d3e})[_0x3ca688(0x85)](()=>{const _0x11ebd7=_0x3ca688;!this[_0x11ebd7(0xac)]&&this[_0x11ebd7(0xbe)]&&(this[_0x11ebd7(0xac)]=this[_0x11ebd7(0xc4)](this[_0x11ebd7(0xbe)],!0x0));})[_0x3ca688(0x79)](_0x217277=>{const _0x5edb23=_0x3ca688;_0x217277 instanceof _0x491f96?this[_0x5edb23(0xb8)][_0x5edb23(0xa5)](_0x217277[_0x5edb23(0x94)]):this[_0x5edb23(0xb8)][_0x5edb23(0xa5)](),_0x108efd();})[_0x3ca688(0x82)](()=>{const _0x1ef2ea=_0x3ca688;this[_0x1ef2ea(0x86)](),_0x108efd();});});}[_0x3028e2(0xc4)](_0x20385d,_0x29c09f=!0x1){const _0x3fd565=_0x3028e2,_0x352cc8=Z[_0x3fd565(0x7f)](_0x20385d);_0x20385d=_0x352cc8?_0x20385d[_0x3fd565(0xcd)](_0x352cc8[0x1][_0x3fd565(0xc3)]):_0x20385d[_0x3fd565(0xc3)]<0x64&&!_0x29c09f?'':this[_0x3fd565(0xb1)](_0x20385d);const _0x173600=this[_0x3fd565(0x8b)][_0x3fd565(0x7d)](_0x20385d,_0x3fd565(0x9b));if(_0x352cc8){const _0x182105=Array[_0x3fd565(0x75)](_0x173600[_0x3fd565(0xa7)][_0x3fd565(0xa6)]);_0x182105[_0x3fd565(0xcc)]();for(const _0x33a4bd of _0x182105){if(_0x33a4bd[_0x3fd565(0x80)]==Node[_0x3fd565(0x8f)])break;_0x33a4bd[_0x3fd565(0xcb)]();}}const _0x4decca=this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0xa8)][_0x3fd565(0xc0)](this[_0x3fd565(0xb4)][_0x3fd565(0x74)](_0x173600[_0x3fd565(0xa7)]));return this[_0x3fd565(0x76)]()||this[_0x3fd565(0xb6)](_0x4decca),this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0x8c)](this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0x89)](_0x4decca));}[_0x3028e2(0xb6)](_0x42f384){const _0x387304=_0x3028e2,_0x3d692f=new _0x2e8c86(this[_0x387304(0x83)][_0x387304(0xa2)][_0x387304(0xb8)][_0x387304(0x99)]),_0x3f53a0=new _0xf3ea2({'name':/^h[1-5]$/}),_0x2ea287=[];let _0x1982cf=!0x1;for(const _0x35baa7 of _0x42f384)_0x35baa7['is'](_0x387304(0xab))&&_0x3f53a0[_0x387304(0x91)](_0x35baa7)&&(_0x2ea287[_0x387304(0x9e)](_0x35baa7),'h1'==_0x35baa7[_0x387304(0xa4)]&&(_0x1982cf=!0x0));if(_0x1982cf){for(const _0x414563 of _0x2ea287)_0x3d692f[_0x387304(0xc5)]('h'+(parseInt(_0x414563[_0x387304(0xa4)][0x1])+0x1),_0x414563);}}[_0x3028e2(0x76)](){const _0x317823=_0x3028e2,{data:_0x3c549a,editing:_0x17fa94}=this[_0x317823(0x83)],_0x3f1f0c=_0x3c549a[_0x317823(0xa0)][_0x317823(0xc0)](_0x317823(0x9d)),_0x2a50b1=_0x3c549a[_0x317823(0xc0)](_0x3c549a[_0x317823(0x89)](_0x3f1f0c));return!!_0x17fa94[_0x317823(0xb8)][_0x317823(0xc9)][_0x317823(0xae)](_0x2a50b1)[_0x317823(0xc1)]('h1');}[_0x3028e2(0x77)](_0x57b099){const _0x875caa=_0x3028e2;return this[_0x875caa(0x83)][_0x875caa(0xa2)][_0x875caa(0xb8)][_0x875caa(0xc9)][_0x875caa(0xad)](this[_0x875caa(0x9a)],_0x57b099),this[_0x875caa(0x9a)][_0x875caa(0xca)];}[_0x3028e2(0xb1)](_0x1dea70){const _0x1849a7=_0x3028e2,_0x4ff76b=_0x1dea70[_0x1849a7(0x84)]();return _0x4ff76b[_0x1849a7(0xa3)](_0x1849a7(0x7a))?_0x4ff76b[_0x1849a7(0xb3)](_0x1849a7(0xc8))?_0x4ff76b[_0x1849a7(0xcd)](0x7,_0x4ff76b[_0x1849a7(0xc3)]-0x3):_0x4ff76b[_0x1849a7(0xcd)](0x7):_0x1dea70;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1494a1=_0x55ac;(function(_0x207768,_0x4a37a1){const _0x471d6c=_0x55ac,_0x19ddb5=_0x207768();while(!![]){try{const _0x14dcfe=parseInt(_0x471d6c(0x16a))/0x1*(-parseInt(_0x471d6c(0x14c))/0x2)+-parseInt(_0x471d6c(0x12e))/0x3+-parseInt(_0x471d6c(0x162))/0x4+-parseInt(_0x471d6c(0x17c))/0x5+-parseInt(_0x471d6c(0x131))/0x6+parseInt(_0x471d6c(0x14b))/0x7+parseInt(_0x471d6c(0x16d))/0x8;if(_0x14dcfe===_0x4a37a1)break;else _0x19ddb5['push'](_0x19ddb5['shift']());}catch(_0x40ffe6){_0x19ddb5['push'](_0x19ddb5['shift']());}}}(_0x1452,0xdb596));import{global as _0x15bebc}from'ckeditor5/src/utils.js';function _0x55ac(_0x345abc,_0x4acf6a){const _0x1452b8=_0x1452();return _0x55ac=function(_0x55ac1c,_0x581441){_0x55ac1c=_0x55ac1c-0x129;let _0x3937ae=_0x1452b8[_0x55ac1c];return _0x3937ae;},_0x55ac(_0x345abc,_0x4acf6a);}import{View as _0x2b3bcf,ButtonView as _0xe63b4a,SpinnerView as _0x193518}from'ckeditor5/src/ui.js';import _0x29c088 from'../../../theme/icons/copy.svg';import{getTranslation as _0x477bc7}from'../../utils/common-translations.js';import{icons as _0x3dce51}from'ckeditor5/src/core.js';export default class W extends _0x2b3bcf{constructor(_0x3e9a85,_0x248a52=''){const _0x195155=_0x55ac;super(_0x3e9a85),this[_0x195155(0x17b)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xea17ba=this[_0x195155(0x155)];this[_0x195155(0x13a)]=new ContentFieldView(_0x3e9a85,_0x248a52),this[_0x195155(0x169)]=this[_0x195155(0x16e)](),this[_0x195155(0x145)]({'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x15f),_0xea17ba['if'](_0x195155(0x14f),_0x195155(0x149),_0x1ce37c=>!_0x1ce37c)],'tabindex':'-1'},'children':[{'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x165),_0xea17ba['if'](_0x195155(0x138),_0x195155(0x173))]},'children':[this[_0x195155(0x13a)],{'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x15e)]},'children':[this[_0x195155(0x169)]]}]}]});}[_0x1494a1(0x160)](){const _0x4e25ff=_0x1494a1;super[_0x4e25ff(0x160)](),this[_0x4e25ff(0x129)]&&this[_0x4e25ff(0x13a)][_0x4e25ff(0x12d)](this[_0x4e25ff(0x129)]);let _0x4f7da6=!0x1;this['on'](_0x4e25ff(0x171),(_0x8264b7,_0x33a2bd,_0x410878)=>{const _0x2f5c59=_0x4e25ff,_0x2dc4e6=!this[_0x2f5c59(0x13a)][_0x2f5c59(0x140)][_0x2f5c59(0x12a)](_0x2f5c59(0x135));this[_0x2f5c59(0x13a)][_0x2f5c59(0x12d)](_0x410878),this[_0x2f5c59(0x138)]&&_0x2dc4e6&&!_0x4f7da6&&this[_0x2f5c59(0x140)][_0x2f5c59(0x146)]({'top':this[_0x2f5c59(0x140)][_0x2f5c59(0x139)],'behavior':_0x2f5c59(0x166)});}),this['on'](_0x4e25ff(0x13f),(_0x12887b,_0x58f3bd,_0x10a49e)=>{const _0x501323=_0x4e25ff;_0x4f7da6=!0x1,_0x10a49e?(this[_0x501323(0x129)]=null,this[_0x501323(0x13a)][_0x501323(0x14d)]()):this[_0x501323(0x129)]||this[_0x501323(0x13a)][_0x501323(0x12d)]('');}),this[_0x4e25ff(0x159)](this[_0x4e25ff(0x140)],_0x4e25ff(0x137),()=>{_0x4f7da6=!0x0;}),this[_0x4e25ff(0x159)](this[_0x4e25ff(0x140)],_0x4e25ff(0x175),()=>{_0x4f7da6=!0x0;});}[_0x1494a1(0x177)](){const _0xac9a44=_0x1494a1;this[_0xac9a44(0x140)][_0xac9a44(0x177)]();}[_0x1494a1(0x16e)](){const _0x1c9b13=_0x1494a1,_0x115292=this[_0x1c9b13(0x179)],_0xf3b5ef=new _0xe63b4a(this[_0x1c9b13(0x179)]),_0x6b3da6=_0x1c9b13(0x143);return _0xf3b5ef[_0x1c9b13(0x17b)]({'label':_0x477bc7(_0x115292,_0x1c9b13(0x172)),'icon':_0x29c088,'class':_0x6b3da6,'tooltip':!0x0}),_0xf3b5ef[_0x1c9b13(0x141)](_0x1c9b13(0x14f))['to'](this,_0x1c9b13(0x129),_0x59cc87=>!!_0x59cc87),_0xf3b5ef[_0x1c9b13(0x141)](_0x1c9b13(0x163))['to'](this,_0x1c9b13(0x138),_0x3cc60a=>!_0x3cc60a),_0xf3b5ef['on'](_0x1c9b13(0x134),()=>{const _0x1cd106=_0x1c9b13;this[_0x1cd106(0x144)](this[_0x1cd106(0x13a)][_0x1cd106(0x140)]),_0xf3b5ef[_0x1cd106(0x13d)]=_0x3dce51[_0x1cd106(0x12f)],_0xf3b5ef[_0x1cd106(0x178)]=_0x6b3da6+_0x1cd106(0x15d),this[_0x1cd106(0x177)](),setTimeout(()=>{const _0x3adc00=_0x1cd106;_0xf3b5ef[_0x3adc00(0x13d)]=_0x29c088,_0xf3b5ef[_0x3adc00(0x178)]=_0x6b3da6;},0x3e8);}),_0xf3b5ef;}[_0x1494a1(0x144)](_0x4a10e1){const _0xb3dad4=_0x1494a1,{window:_0x2f9024,document:_0x205839}=_0x15bebc;if(_0x2f9024[_0xb3dad4(0x15b)]){const {Blob:_0x3cc691,ClipboardItem:_0x29fae6}=_0x2f9024,_0x3bae70=[new _0x29fae6({'text/html':new _0x3cc691([_0x4a10e1[_0xb3dad4(0x132)]],{'type':_0xb3dad4(0x17a)}),'text/plain':new _0x3cc691([_0x4a10e1[_0xb3dad4(0x167)]||''],{'type':_0xb3dad4(0x16c)})})];navigator[_0xb3dad4(0x168)][_0xb3dad4(0x153)](_0x3bae70);}else{const _0x42b803=_0x205839[_0xb3dad4(0x12c)](_0xb3dad4(0x164));_0x42b803[_0xb3dad4(0x142)][_0xb3dad4(0x133)]=_0xb3dad4(0x12b),_0x42b803[_0xb3dad4(0x142)][_0xb3dad4(0x130)]=_0xb3dad4(0x148),_0x42b803[_0xb3dad4(0x132)]=_0xb3dad4(0x157)+_0x4a10e1[_0xb3dad4(0x132)]+_0xb3dad4(0x156),_0x205839[_0xb3dad4(0x15a)][_0xb3dad4(0x15c)](_0x42b803);const _0x4f3669=_0x205839[_0xb3dad4(0x174)]();_0x4f3669[_0xb3dad4(0x16f)](_0x42b803[_0xb3dad4(0x13e)]),_0x4f3669[_0xb3dad4(0x136)](_0x42b803[_0xb3dad4(0x13c)]);const _0x20b5bd=_0x2f9024[_0xb3dad4(0x151)]();_0x20b5bd[_0xb3dad4(0x170)](),_0x20b5bd[_0xb3dad4(0x147)](_0x4f3669),_0x205839[_0xb3dad4(0x150)](_0xb3dad4(0x152)),_0x42b803[_0xb3dad4(0x161)]();}}}export class ContentFieldView extends _0x2b3bcf{constructor(_0x163a7b,_0xec00d=''){const _0x2b0b8d=_0x1494a1;super(_0x163a7b),this[_0x2b0b8d(0x14e)]=this[_0x2b0b8d(0x14a)](),this[_0x2b0b8d(0x145)]({'tag':_0x2b0b8d(0x164),'attributes':{'class':['ck',_0x2b0b8d(0x16b),_0xec00d,_0x2b0b8d(0x13b),_0x2b0b8d(0x158)]}});}[_0x1494a1(0x12d)](_0x1410b9){const _0x55e329=_0x1494a1;this[_0x55e329(0x140)][_0x55e329(0x132)]=_0x1410b9;}[_0x1494a1(0x14d)](){const _0x49c551=_0x1494a1;this[_0x49c551(0x140)][_0x49c551(0x15c)](this[_0x49c551(0x14e)][_0x49c551(0x140)]);}[_0x1494a1(0x14a)](){const _0x5cdd6d=_0x1494a1,_0x5ac1d5=new _0x2b3bcf(),_0xfcc15d=this[_0x5cdd6d(0x179)],_0x543e2b=new _0x193518();return _0x543e2b[_0x5cdd6d(0x14f)]=!0x0,_0x5ac1d5[_0x5cdd6d(0x145)]({'tag':_0x5cdd6d(0x164),'attributes':{'class':['ck',_0x5cdd6d(0x154)]},'children':[_0x543e2b,{'text':_0x477bc7(_0xfcc15d,_0x5cdd6d(0x176))}]}),_0x5ac1d5[_0x5cdd6d(0x160)](),_0x5ac1d5;}}function _0x1452(){const _0x7f52a=['6703557PKAjoe','919822xKPXQb','appendLoader','loaderView','isVisible','execCommand','getSelection','copy','write','ck-ai-form__loader','bindTemplate','<span>]</span>','<span>[</span>','ck-ai-form__content-field','listenTo','body','ClipboardItem','appendChild','\x20ck-ai-form__copy-button--copied','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area-wrapper','render','remove','1660540uqkXBm','isEnabled','div','ck-ai-form__content-area','smooth','textContent','clipboard','copyButtonView','1gMaibx','ck-content','text/plain','23936280tkQutr','_createCopyButton','setStartAfter','removeAllRanges','change:value','Copy','ck-ai-form__content-area--processing','createRange','mousedown','AI\x20is\x20writing...','focus','class','locale','text/html','set','4489935NZweFv','value','querySelector','absolute','createElement','setContent','773793HswvBy','check','left','6121608NAMiNl','innerHTML','position','execute','.ck-ai-form__loader','setEndBefore','wheel','isProcessing','scrollHeight','contentFieldView','ck-reset_all-excluded','lastElementChild','icon','firstElementChild','change:isProcessing','element','bind','style','ck-ai-form__copy-button','_copyHTMLToClipboard','setTemplate','scrollTo','addRange','-9999px','ck-hidden','_createLoader'];_0x1452=function(){return _0x7f52a;};return _0x1452();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x55e206,_0x5c12a7){const _0x5b5ee9=_0x5567,_0x5cc4f5=_0x55e206();while(!![]){try{const _0x1235e8=-parseInt(_0x5b5ee9(0x1cf))/0x1+-parseInt(_0x5b5ee9(0x1ce))/0x2*(parseInt(_0x5b5ee9(0x1cb))/0x3)+-parseInt(_0x5b5ee9(0x1cc))/0x4*(-parseInt(_0x5b5ee9(0x1d8))/0x5)+-parseInt(_0x5b5ee9(0x1d3))/0x6+parseInt(_0x5b5ee9(0x1cd))/0x7*(-parseInt(_0x5b5ee9(0x1d1))/0x8)+parseInt(_0x5b5ee9(0x1d5))/0x9+parseInt(_0x5b5ee9(0x1d9))/0xa;if(_0x1235e8===_0x5c12a7)break;else _0x5cc4f5['push'](_0x5cc4f5['shift']());}catch(_0x587c40){_0x5cc4f5['push'](_0x5cc4f5['shift']());}}}(_0x72df,0xc1316));function _0x72df(){const _0x2add90=['8826768ezsRGD','text','10549395WvKNfI','set','content','25rmuQIU','29669070WVVcLt','bindTemplate','ck-ai-form__error','668757qEKmTX','274612lITSUY','3899721PSakIF','14aDTgmD','102345DVpXus','setTemplate','8EBUwfh','div'];_0x72df=function(){return _0x2add90;};return _0x72df();}import{View as _0x3a3839,IconView as _0x351bef}from'ckeditor5/src/ui.js';function _0x5567(_0xc6e3c2,_0xa7809c){const _0x72df04=_0x72df();return _0x5567=function(_0x5567ba,_0x4d62db){_0x5567ba=_0x5567ba-0x1cb;let _0x1b3aab=_0x72df04[_0x5567ba];return _0x1b3aab;},_0x5567(_0xc6e3c2,_0xa7809c);}import _0x4c0ca5 from'../../../theme/icons/error.svg';export default class tt extends _0x3a3839{constructor(_0x4b022e,_0x2a0787=''){const _0x3bf0ef=_0x5567;super(_0x4b022e);const _0x52f64c=new _0x351bef(),_0x441831=this[_0x3bf0ef(0x1da)];this[_0x3bf0ef(0x1d6)](_0x3bf0ef(0x1d4),_0x2a0787),_0x52f64c[_0x3bf0ef(0x1d7)]=_0x4c0ca5,this[_0x3bf0ef(0x1d0)]({'tag':_0x3bf0ef(0x1d2),'attributes':{'class':['ck',_0x3bf0ef(0x1db)]},'children':[_0x52f64c,{'text':_0x441831['to'](_0x3bf0ef(0x1d4))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x469857=_0x1ef2;(function(_0x75314d,_0x1b8636){const _0x495d11=_0x1ef2,_0x5bb37f=_0x75314d();while(!![]){try{const _0x32a075=parseInt(_0x495d11(0xec))/0x1+parseInt(_0x495d11(0xf8))/0x2*(-parseInt(_0x495d11(0x10b))/0x3)+parseInt(_0x495d11(0xf6))/0x4+parseInt(_0x495d11(0xe2))/0x5+parseInt(_0x495d11(0x105))/0x6*(parseInt(_0x495d11(0xf9))/0x7)+-parseInt(_0x495d11(0x117))/0x8+-parseInt(_0x495d11(0xf7))/0x9;if(_0x32a075===_0x1b8636)break;else _0x5bb37f['push'](_0x5bb37f['shift']());}catch(_0x2f0026){_0x5bb37f['push'](_0x5bb37f['shift']());}}}(_0x501d,0xe352f));import{Rect as _0x4d0e31,global as _0xd74b92,isVisible as _0x3de73d}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x21a7e0,ButtonView as _0x16fcfd}from'ckeditor5/src/ui.js';function _0x1ef2(_0xc4df09,_0x524dcd){const _0x501d0d=_0x501d();return _0x1ef2=function(_0x1ef23e,_0x4501f7){_0x1ef23e=_0x1ef23e-0xe0;let _0x2aa693=_0x501d0d[_0x1ef23e];return _0x2aa693;},_0x1ef2(_0xc4df09,_0x524dcd);}import{icons as _0x401568}from'ckeditor5/src/core.js';import{getTranslation as _0xe102b5}from'../../utils/common-translations.js';import _0x1f818e from'../../../theme/icons/submit.svg';function _0x501d(){const _0x526937=['_createSubmitButton','1580280YhivYv','11013345xXnubw','441266yquizt','1240169dwnfZl','focusFirst','minRows','right','Submit','focusCycler','ck-ai-form__toggle-history','isEnabled','element','rtl','history','locale','12TBKwRC','width','bind','value','render','_createShowHistoryButton','3Ubjaec','History','submitButtonView','isVisible','queryView','isEmpty','update','fieldView','filteredView','fieldWrapperChildren','add','requestAnimationFrame','683832EPoJQj','ck-ai-form__submit','enter','submit','excludeScrollbarsAndBorders','4016485DvTiCj','set','children','resultsView','isOn','keystrokes','showHistoryButtonView','window','target','fire','908235xfdAbl','execute','style','left','uiLanguageDirection','maxRows','focus','focusLast','focusableChildren'];_0x501d=function(){return _0x526937;};return _0x501d();}export default class ht extends _0x21a7e0{constructor(_0x518e12,_0x27d800){const _0x90aa5b=_0x1ef2;super(_0x518e12,_0x27d800),this[_0x90aa5b(0x10f)][_0x90aa5b(0x112)][_0x90aa5b(0xfb)]=0x1,this[_0x90aa5b(0x10f)][_0x90aa5b(0x112)][_0x90aa5b(0xf1)]=0x3,this[_0x90aa5b(0x10d)]=this[_0x90aa5b(0xf5)](),this[_0x90aa5b(0xe8)]=this[_0x90aa5b(0x10a)](),this[_0x90aa5b(0xf4)][_0x90aa5b(0x115)](this[_0x90aa5b(0xe8)],0x1),this[_0x90aa5b(0xf4)][_0x90aa5b(0x115)](this[_0x90aa5b(0x10d)]);}[_0x469857(0x109)](){const _0x38e71c=_0x469857;super[_0x38e71c(0x109)](),this[_0x38e71c(0x10f)][_0x38e71c(0x114)][_0x38e71c(0x115)](this[_0x38e71c(0xe8)]),this[_0x38e71c(0xe4)][_0x38e71c(0x115)](this[_0x38e71c(0x10d)]),this[_0x38e71c(0xe7)][_0x38e71c(0xe3)](_0x38e71c(0x119),(_0x351bb8,_0x7dfa94)=>{const _0x294b1a=_0x38e71c;_0x351bb8[_0x294b1a(0xea)]==this[_0x294b1a(0x10f)][_0x294b1a(0x112)][_0x294b1a(0x101)]&&(this[_0x294b1a(0xe0)](),_0x7dfa94());});}[_0x469857(0xf5)](){const _0x1a77bb=_0x469857,_0x50e18b=new _0x16fcfd(this[_0x1a77bb(0x104)]),_0x572705=this[_0x1a77bb(0x104)];return _0x50e18b[_0x1a77bb(0xe3)]({'icon':_0x1f818e,'label':_0xe102b5(_0x572705,_0x1a77bb(0xfd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1a77bb(0x118)}),_0x50e18b['on'](_0x1a77bb(0xed),()=>{const _0x38a948=_0x1a77bb;this[_0x38a948(0xe0)]();}),_0x50e18b[_0x1a77bb(0x107)](_0x1a77bb(0x100))['to'](this[_0x1a77bb(0x10f)][_0x1a77bb(0x112)],_0x1a77bb(0x110),this,_0x1a77bb(0x100),(_0x50a2d9,_0x4063a6)=>!_0x50a2d9&&_0x4063a6),_0x50e18b;}[_0x469857(0x10a)](){const _0x403d6c=_0x469857,_0x17a823=new _0x16fcfd(this[_0x403d6c(0x104)]),_0x4326f8=this[_0x403d6c(0xe5)],_0x46bb86=this[_0x403d6c(0x104)];_0x17a823[_0x403d6c(0xe3)]({'label':_0xe102b5(_0x46bb86,_0x403d6c(0x10c)),'withText':!0x1,'icon':_0x401568[_0x403d6c(0x103)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x403d6c(0xff)}),_0x17a823[_0x403d6c(0x107)](_0x403d6c(0xe6))['to'](_0x4326f8,_0x403d6c(0x10e)),_0x17a823[_0x403d6c(0x107)](_0x403d6c(0x100))['to'](this,_0x403d6c(0x100)),_0x17a823['on'](_0x403d6c(0xed),()=>{const _0x53e54c=_0x403d6c;_0x4326f8[_0x53e54c(0x10e)]=!_0x4326f8[_0x53e54c(0x10e)],_0x4326f8[_0x53e54c(0x10e)]?this[_0x53e54c(0x113)][_0x53e54c(0xf2)]():this[_0x53e54c(0xf2)]();});const _0x4c3ffd=()=>{const _0x59074e=_0x403d6c;_0xd74b92[_0x59074e(0xe9)][_0x59074e(0x116)](()=>{const _0x4b7b87=_0x59074e;if(_0x3de73d(this[_0x4b7b87(0x101)])){const _0x924bc1=new _0x4d0e31(this[_0x4b7b87(0x10f)][_0x4b7b87(0x112)][_0x4b7b87(0x101)]),_0x50dac6=_0x924bc1[_0x4b7b87(0x106)],_0x1f7534=_0x4b7b87(0x102)===_0x46bb86[_0x4b7b87(0xf0)]?_0x4b7b87(0xef):_0x4b7b87(0xfc);_0x924bc1[_0x4b7b87(0xe1)](),_0x17a823[_0x4b7b87(0x101)][_0x4b7b87(0xee)][_0x1f7534]=_0x50dac6-_0x924bc1[_0x4b7b87(0x106)]+0x1+'px';}});};return this[_0x403d6c(0x10f)][_0x403d6c(0x112)]['on'](_0x403d6c(0x111),_0x4c3ffd),this['on'](_0x403d6c(0x109),_0x4c3ffd),_0x17a823;}[_0x469857(0xe0)](){const _0x2aca20=_0x469857,_0x565142=this[_0x2aca20(0x10f)][_0x2aca20(0x112)][_0x2aca20(0x101)][_0x2aca20(0x108)];this[_0x2aca20(0xeb)](_0x2aca20(0xe0),_0x565142);}[_0x469857(0xf2)](_0x14fb20){const _0x4a1c92=_0x469857;-0x1===_0x14fb20?this[_0x4a1c92(0xfe)][_0x4a1c92(0xf3)]():this[_0x4a1c92(0xfe)][_0x4a1c92(0xfa)]();}}
|