@ckeditor/ckeditor5-ai 45.2.0-alpha.7 → 45.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb7274f=_0x5c6d;(function(_0x3a7673,_0x2b11ae){const _0x271d92=_0x5c6d,_0x139913=_0x3a7673();while(!![]){try{const _0x1b57df=parseInt(_0x271d92(0x82))/0x1*(-parseInt(_0x271d92(0xb2))/0x2)+parseInt(_0x271d92(0xc2))/0x3*(-parseInt(_0x271d92(0x8d))/0x4)+parseInt(_0x271d92(0xba))/0x5*(parseInt(_0x271d92(0xe0))/0x6)+parseInt(_0x271d92(0xe3))/0x7+parseInt(_0x271d92(0x90))/0x8*(-parseInt(_0x271d92(0x73))/0x9)+parseInt(_0x271d92(0xc6))/0xa*(parseInt(_0x271d92(0xbf))/0xb)+parseInt(_0x271d92(0xd7))/0xc*(parseInt(_0x271d92(0x9a))/0xd);if(_0x1b57df===_0x2b11ae)break;else _0x139913['push'](_0x139913['shift']());}catch(_0x504e7e){_0x139913['push'](_0x139913['shift']());}}}(_0x6e20,0x2aae2));import{Plugin as _0x53b999}from'ckeditor5/src/core.js';import _0x2f8e52 from'./aiassistantui.js';import _0x5b4ad3 from'./aiassistantediting.js';function _0x5c6d(_0x96cab8,_0x14ee79){const _0x6e202f=_0x6e20();return _0x5c6d=function(_0x5c6ded,_0x4c937d){_0x5c6ded=_0x5c6ded-0x72;let _0x561f5a=_0x6e202f[_0x5c6ded];return _0x561f5a;},_0x5c6d(_0x96cab8,_0x14ee79);}import{getTranslation as _0xd68573}from'./utils/common-translations.js';function _0x6e20(){const _0xcb8755=['legal','18VSlRJY','Spanish','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','isOfficialPlugin','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','improveWriting','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','locale','658550WcZwnU','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','translateHindi','concat','translateArabic','5247WJwnEs','continue','business','946098aRUImW','changeStyle','Portuguese','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','5520YGceLi','Edit\x20or\x20review','find','makeLonger','editOrReview','Change\x20style','translate','simplifyLanguage','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Summarize','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','translateGerman','set','translateFrench','Improve\x20writing','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','1714836qnPYuv','ai.aiAssistant.commands','generate','Generate\x20from\x20selection','summarize','Journalism','pluginName','Friendly','includes','6KmODyb','German','Translate\x20the\x20content\x20to\x20German\x20language.','1471358upPfIm','get','9aqErch','Change\x20tone','casual','translateChinese','Poetic','ai.aiAssistant.preserveComments','config','English','forEach','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Translate\x20the\x20content\x20to\x20French\x20language.','ai.aiAssistant.removeCommands','confident','makeShorter','Simplify\x20language','2847dssJTU','friendly','French','Business','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','ai.aiAssistant.extraCommandGroups','define','translatePortuguese','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Casual','AIAssistant','4rqPPwU','Hindi','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','1858432WzvyeK','poetic','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Confident','Direct','Professional','translateEnglish','direct','Legal','groupId','13MTcgMJ','changeTone','journalism','Translate\x20the\x20content\x20to\x20Hindi\x20language.','push','Translate','professional','filter','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Make\x20longer','Translate\x20the\x20content\x20to\x20English\x20language.','requires','commands','Continue','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Make\x20shorter','isPremiumPlugin','translateSpanish','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Arabic','Simplified\x20Chinese'];_0x6e20=function(){return _0xcb8755;};return _0x6e20();}import{normalizeCommandsConfig as _0x559de5}from'./utils/normalizecommandsconfig.js';export default class r extends _0x53b999{static get[_0xb7274f(0xa6)](){return[_0x2f8e52,_0x5b4ad3];}static get[_0xb7274f(0xdd)](){const _0x4f8939=_0xb7274f;return _0x4f8939(0x8c);}static get[_0xb7274f(0xb5)](){return!0x0;}static get[_0xb7274f(0xac)](){return!0x0;}constructor(_0x3652b3){const _0x3d5eba=_0xb7274f;super(_0x3652b3);const _0x23e681=_0x3652b3[_0x3d5eba(0x79)],_0xb3784e=_0x3652b3[_0x3d5eba(0xb9)];_0x23e681[_0x3d5eba(0x88)](_0x3d5eba(0x78),!0x0),_0x23e681[_0x3d5eba(0x88)](_0x3d5eba(0xd8),getDefaultCommands(_0xb3784e)),_0x23e681[_0x3d5eba(0x88)](_0x3d5eba(0x87),[]),_0x23e681[_0x3d5eba(0x88)](_0x3d5eba(0x7e),[]);let _0x346f5c=_0x559de5(_0x23e681[_0x3d5eba(0x72)](_0x3d5eba(0xd8)),_0xb3784e);const _0x143395=_0x23e681[_0x3d5eba(0x72)](_0x3d5eba(0x87)),_0x599099=_0x23e681[_0x3d5eba(0x72)](_0x3d5eba(0x7e));_0x143395[_0x3d5eba(0x7b)](_0x1efe11=>{const _0xeda515=_0x3d5eba,_0x178cb5=_0x346f5c[_0xeda515(0xc8)](_0x4d083f=>_0x4d083f[_0xeda515(0x99)]===_0x1efe11[_0xeda515(0x99)]);_0x178cb5?_0x178cb5[_0xeda515(0xa7)]=_0x178cb5[_0xeda515(0xa7)][_0xeda515(0xbd)](_0x1efe11[_0xeda515(0xa7)]):_0x346f5c[_0xeda515(0x9e)](_0x1efe11);}),_0x346f5c=_0x346f5c[_0x3d5eba(0xa1)](_0x284402=>!_0x599099[_0x3d5eba(0xdf)](_0x284402[_0x3d5eba(0x99)])),_0x346f5c[_0x3d5eba(0x7b)](_0x4fbb45=>{const _0x3455ed=_0x3d5eba;_0x4fbb45[_0x3455ed(0xa7)]=_0x4fbb45[_0x3455ed(0xa7)][_0x3455ed(0xa1)](_0x3a16b1=>!_0x599099[_0x3455ed(0xdf)](_0x3a16b1['id']));}),_0x23e681[_0x3d5eba(0xd3)](_0x3d5eba(0xd8),_0x346f5c);}}export function getDefaultCommands(_0x1f31ad){const _0x42cd08=_0xb7274f;return[{'groupId':_0x42cd08(0xca),'groupLabel':_0xd68573(_0x1f31ad,_0x42cd08(0xc7)),'commands':[{'id':_0x42cd08(0xb7),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xd5)),'prompt':_0x42cd08(0xb6)},{'id':_0x42cd08(0x80),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xab)),'prompt':_0x42cd08(0xb4)},{'id':_0x42cd08(0xc9),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xa4)),'prompt':_0x42cd08(0xd6)},{'id':_0x42cd08(0xcd),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x81)),'prompt':_0x42cd08(0xa2)}]},{'groupId':_0x42cd08(0xd9),'groupLabel':_0xd68573(_0x1f31ad,_0x42cd08(0xda)),'commands':[{'id':_0x42cd08(0xdb),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xcf)),'prompt':_0x42cd08(0xd0)},{'id':_0x42cd08(0xc0),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xa8)),'prompt':_0x42cd08(0xce)}]},{'groupId':_0x42cd08(0x9b),'groupLabel':_0xd68573(_0x1f31ad,_0x42cd08(0x74)),'commands':[{'id':_0x42cd08(0xa0),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x95)),'prompt':_0x42cd08(0xae)},{'id':_0x42cd08(0x75),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x8b)),'prompt':_0x42cd08(0xd1)},{'id':_0x42cd08(0x97),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x94)),'prompt':_0x42cd08(0xc5)},{'id':_0x42cd08(0x7f),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x93)),'prompt':_0x42cd08(0xa3)},{'id':_0x42cd08(0x83),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xde)),'prompt':_0x42cd08(0x8f)}]},{'groupId':_0x42cd08(0xc3),'groupLabel':_0xd68573(_0x1f31ad,_0x42cd08(0xcb)),'commands':[{'id':_0x42cd08(0xc1),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x85)),'prompt':_0x42cd08(0x7c)},{'id':_0x42cd08(0xb1),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x98)),'prompt':_0x42cd08(0xbb)},{'id':_0x42cd08(0x9c),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xdc)),'prompt':_0x42cd08(0x86)},{'id':_0x42cd08(0x91),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x77)),'prompt':_0x42cd08(0xb8)}]},{'groupId':_0x42cd08(0xcc),'groupLabel':_0xd68573(_0x1f31ad,_0x42cd08(0x9f)),'commands':[{'id':_0x42cd08(0x96),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x7a)),'prompt':_0x42cd08(0xa5)},{'id':_0x42cd08(0xad),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xb3)),'prompt':_0x42cd08(0x92)},{'id':_0x42cd08(0x89),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xc4)),'prompt':_0x42cd08(0xaa)},{'id':_0x42cd08(0xd2),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xe1)),'prompt':_0x42cd08(0xe2)},{'id':_0x42cd08(0xd4),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x84)),'prompt':_0x42cd08(0x7d)},{'id':_0x42cd08(0x76),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xb0)),'prompt':_0x42cd08(0x8a)},{'id':_0x42cd08(0xbc),'label':_0xd68573(_0x1f31ad,_0x42cd08(0x8e)),'prompt':_0x42cd08(0x9d)},{'id':_0x42cd08(0xbe),'label':_0xd68573(_0x1f31ad,_0x42cd08(0xaf)),'prompt':_0x42cd08(0xa9)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e70f4=_0x2a57;(function(_0x51e3aa,_0x38275c){const _0x230eb4=_0x2a57,_0x146696=_0x51e3aa();while(!![]){try{const _0xc9e471=-parseInt(_0x230eb4(0x1e0))/0x1*(-parseInt(_0x230eb4(0x1aa))/0x2)+parseInt(_0x230eb4(0x1d8))/0x3*(parseInt(_0x230eb4(0x1e8))/0x4)+parseInt(_0x230eb4(0x1f7))/0x5+-parseInt(_0x230eb4(0x1f9))/0x6+parseInt(_0x230eb4(0x209))/0x7*(parseInt(_0x230eb4(0x1bb))/0x8)+parseInt(_0x230eb4(0x1a0))/0x9+-parseInt(_0x230eb4(0x205))/0xa;if(_0xc9e471===_0x38275c)break;else _0x146696['push'](_0x146696['shift']());}catch(_0x437f43){_0x146696['push'](_0x146696['shift']());}}}(_0x53ab,0x6c40c));import{uid as _0x42293e}from'ckeditor5/src/utils.js';function _0x2a57(_0x191fcc,_0x24b4ad){const _0x53ab6b=_0x53ab();return _0x2a57=function(_0x2a57c3,_0x26f2b0){_0x2a57c3=_0x2a57c3-0x19c;let _0x156505=_0x53ab6b[_0x2a57c3];return _0x156505;},_0x2a57(_0x191fcc,_0x24b4ad);}import{Plugin as _0x6b2b43}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x124981}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1a891d,DataTransfer as _0x316336}from'ckeditor5/src/engine.js';const w=globalThis[_0x5e70f4(0x1e6)],f=_0x5e70f4(0x1a8);function _0x53ab(){const _0x10a104=['_getAISelection','10154fBXVKN','insertContentBelow','removeMarker','getLastPosition','getRowIndexes','resultRange','href','once','createPositionAfter','_getDefaultInsertBelowPosition','markerToHighlight','addClass','lowest','_getTableRowCountFromContent','_pasteHTMLUsingClipboard','isPremiumPlugin','has','1495576HEMEsM','TableUtils','conversion','setData','from','deleteContent','markerRange','plugins','editing','_resetContentOfSelectedTableCells','fire','isAtEnd','paste','init','canEditAt','markers','element','isCollapsed','setSelection','ck-ai-assistant-ui_theme','for','parse','data','editor','isContent','off','pop','model','getColumnIndexes','2162049rwTJcE','getFirstRange','get','markerToElement','length','forEach','ai.useTheme','createSelection','8PvarGX','createUIElement','schema','push','span','editingDowncast','DataTransfer','_prepareTableInsertBelowPosition','4pBTRSK','first','createRange','getSelectedBlocks','showFakeVisualSelection','last','getSelectedTableCells','AIAssistantEditing','selection','map','getRanges','insertContent','findAncestor','_createEmptyTableRows','document','974805lwONHa','join','2318538AiSDTh','isOfficialPlugin','getChild','insertRows','afterInit','filter','change','getChildren','text/html','getMarkersGroup','config','getRows','3450920eRuopd','updateMarker','table','contentInsertion','7ADtQLn','fromCharCode','createPositionAt','hideFakeVisualSelection','ck-fake-ai-selection','285408uLKqUS','getLastMatchingPosition','addMarker','getRange','start','ck-fake-ai-selection_collapsed','end','pluginName','ai-ui'];_0x53ab=function(){return _0x10a104;};return _0x53ab();}export default class a extends _0x6b2b43{static get[_0x5e70f4(0x1a7)](){const _0x220814=_0x5e70f4;return _0x220814(0x1ef);}static get[_0x5e70f4(0x1fa)](){return!0x0;}static get[_0x5e70f4(0x1b9)](){return!0x0;}[_0x5e70f4(0x1c8)](){const _0x501fca=_0x5e70f4,{editor:_0x306fba}=this,_0x9904d3=[_0x501fca(0x19f)];_0x306fba[_0x501fca(0x203)][_0x501fca(0x1da)](_0x501fca(0x1de))&&_0x9904d3[_0x501fca(0x1e3)](_0x501fca(0x1ce)),_0x306fba[_0x501fca(0x1bd)][_0x501fca(0x1cf)](_0x501fca(0x1e5))[_0x501fca(0x1b4)]({'model':f,'view':{'classes':_0x9904d3,'priority':0xc}}),_0x306fba[_0x501fca(0x1bd)][_0x501fca(0x1cf)](_0x501fca(0x1e5))[_0x501fca(0x1db)]({'model':f,'view':(_0x4793f4,{writer:_0x1cb3fe})=>{const _0x47237d=_0x501fca;if(!_0x4793f4[_0x47237d(0x1c1)][_0x47237d(0x1cc)])return null;const _0x15f67e=_0x1cb3fe[_0x47237d(0x1e1)](_0x47237d(0x1e4));return _0x1cb3fe[_0x47237d(0x1b5)]([_0x47237d(0x19f),_0x47237d(0x1a5)],_0x15f67e),_0x15f67e;}});}[_0x5e70f4(0x1fd)](){!async function(_0x5ce365){const _0x390271=_0x214e4a([0x5a,0x73,0x42,0x4a,0x35,0x68,0x6c,0x55,0x50,0x53,0x70,0x48,0x79,0x65,0x63,0x6b,0x34,0x30,0x32,0x6a,0x76,0x51,0x78,0x57,0x52,0x7a,0x4d,0x45,0x75,0x6d,0x66,0x77,0x62,0x71,0x37,0x69,0x4f,0x67,0x31,0x74,0x4e,0x4c,0x41,0x59,0x49,0x54,0x47,0x4b,0x39,0x46,0x61,0x56,0x58,0x72,0x6f,0x64,0x33,0x44,0x38,0x43,0x6e,0x36]),_0x396823=0x7bc975de,_0xaf94e8=0x7bce1c16^_0x396823,_0x35d5b4=window[_0x214e4a([0x44,0x61,0x74,0x65])][_0x214e4a([0x6e,0x6f,0x77])](),_0x3d1088=_0x5ce365[_0x214e4a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5dc93f=new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28dc21=>{_0x3d1088[_0x214e4a([0x6f,0x6e,0x63,0x65])](_0x214e4a([0x72,0x65,0x61,0x64,0x79]),_0x28dc21);}),_0x4ad823={[_0x214e4a([0x6b,0x74,0x79])]:_0x214e4a([0x45,0x43]),[_0x214e4a([0x75,0x73,0x65])]:_0x214e4a([0x73,0x69,0x67]),[_0x214e4a([0x63,0x72,0x76])]:_0x214e4a([0x50,0x2d,0x32,0x35,0x36]),[_0x214e4a([0x78])]:_0x214e4a([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]),[_0x214e4a([0x79])]:_0x214e4a([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]),[_0x214e4a([0x61,0x6c,0x67])]:_0x214e4a([0x45,0x53,0x32,0x35,0x36])},_0x288f4b=_0x3d1088[_0x214e4a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x214e4a([0x67,0x65,0x74])](_0x214e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1393ca(){let _0x115930,_0x254310=null,_0x53fed4=null;try{if(_0x288f4b==_0x214e4a([0x47,0x50,0x4c]))return _0x214e4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x115930=_0x5e0edc(),!_0x115930)return _0x214e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x115930[_0x214e4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x53fed4=_0x9d4027(_0x115930[_0x214e4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x115930[_0x214e4a([0x6a,0x74,0x69])])),await _0x2f0e5d()?_0x14526c()?_0x203f55()?_0x214e4a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34bec1()?(_0x115930[_0x214e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x214e4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x254310=_0x5e9d64(_0x214e4a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x115930[_0x214e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x214e4a([0x74,0x72,0x69,0x61,0x6c])&&(_0x254310=_0x5e9d64(_0x214e4a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5014e2()):_0x214e4a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x214e4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x214e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x214e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x203f55(){const _0x356a16=[_0x214e4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x214e4a([0x74,0x72,0x69,0x61,0x6c])][_0x214e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x115930[_0x214e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35d5b4/0x3e8:0xe10*_0xaf94e8;return _0x115930[_0x214e4a([0x65,0x78,0x70])]<_0x356a16;}function _0x14526c(){const _0x19f324=_0x115930[_0x214e4a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19f324&&(!!_0x19f324[_0x214e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214e4a([0x2a]))||!!_0x19f324[_0x214e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214e4a([0x41,0x49])));}function _0x34bec1(){const _0x1cb7e5=_0x2a57,_0x28b89e=_0x115930[_0x214e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28b89e||0x0==_0x28b89e[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5bcfc3}=new URL(window[_0x214e4a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1cb7e5(0x1b0)]);if(_0x28b89e[_0x214e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bcfc3))return!0x0;const _0x258752=_0x5bcfc3[_0x214e4a([0x73,0x70,0x6c,0x69,0x74])](_0x214e4a([0x2e]));return _0x28b89e[_0x214e4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x587aa0=>_0x587aa0[_0x214e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214e4a([0x2a])))[_0x214e4a([0x6d,0x61,0x70])](_0x2d1f7c=>_0x2d1f7c[_0x214e4a([0x73,0x70,0x6c,0x69,0x74])](_0x214e4a([0x2e])))[_0x214e4a([0x73,0x6f,0x6d,0x65])](_0x322304=>_0x258752[_0x214e4a([0x65,0x76,0x65,0x72,0x79])]((_0x73dc8,_0xac91cf)=>_0x322304[_0xac91cf]===_0x73dc8||_0x322304[_0xac91cf]===_0x214e4a([0x2a])));}function _0x5014e2(){return _0x254310&&_0x53fed4?new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55d85f,_0xb26cb4)=>{_0x254310[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x55d85f,_0xb26cb4),_0x53fed4[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x308512=>{_0x308512!=_0x214e4a([0x56,0x61,0x6c,0x69,0x64])&&_0x55d85f(_0x308512);},_0xb26cb4);}):_0x254310||_0x53fed4||_0x214e4a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x9d4027(_0x3b6d98,_0x4b9405){return new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d6820=>{if(_0xb0514a())return _0x4d6820(_0x214e4a([0x56,0x61,0x6c,0x69,0x64]));_0x84dfb6(),_0x3d1088[_0x214e4a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x214e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f6402=!0x1;const _0x280aa7=_0x42293e();function _0x39db04(_0xfb95a8){return!!_0xfb95a8&&(typeof _0xfb95a8===_0x214e4a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xfb95a8===_0x214e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xfb95a8[_0x214e4a([0x74,0x68,0x65,0x6e])]===_0x214e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xfb95a8[_0x214e4a([0x63,0x61,0x74,0x63,0x68])]===_0x214e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a77e8(_0x458f76){_0x1f02c0(_0x458f76)[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x2074d8=>{if(!_0x2074d8||_0x2074d8[_0x214e4a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x214e4a([0x6f,0x6b]))return _0x214e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x94877c(_0x140e52(_0x280aa7+_0x4b9405))!=_0x2074d8[_0x214e4a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x214e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x214e4a([0x56,0x61,0x6c,0x69,0x64]);})[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x4593d0=>(_0x867432(),_0x4593d0),()=>{const _0x4a6b16=_0xe87f40();return null==_0x4a6b16?(_0x867432(),_0x214e4a([0x56,0x61,0x6c,0x69,0x64])):_0x214e4a(_0x35d5b4-_0x4a6b16>(0x5fc5f1de^_0x396823)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x4d6820)[_0x214e4a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d6820(_0x214e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ca7f5=0x7bff9b5e^_0x396823;function _0x867432(){const _0x453bc2=_0x214e4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x94877c(_0x140e52(_0x3b6d98)),_0x2a68ef=_0x373d3d(_0x94877c(window[_0x214e4a([0x4d,0x61,0x74,0x68])][_0x214e4a([0x63,0x65,0x69,0x6c])](_0x35d5b4/_0x4ca7f5)));window[_0x214e4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x214e4a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x453bc2,_0x2a68ef);}function _0xe87f40(){const _0x4c800c=_0x214e4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x94877c(_0x140e52(_0x3b6d98)),_0x304863=window[_0x214e4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x214e4a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c800c);return _0x304863?window[_0x214e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x373d3d(_0x304863),0x10)*_0x4ca7f5:null;}function _0x1f02c0(_0x17b414){return new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54a253,_0x5979e8)=>{_0x17b414[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x54a253,_0x5979e8),window[_0x214e4a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5979e8,0x7bc8a11e^_0x396823);});}}_0x3d1088[_0x214e4a([0x6f,0x6e])](_0x214e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5f1326,_0xc72a1f)=>{if(_0xc72a1f[0x0]!=_0x3b6d98)return _0x4d6820(_0x214e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc72a1f[0x1]={..._0xc72a1f[0x1],[_0x214e4a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x280aa7};},{[_0x214e4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x214e4a([0x68,0x69,0x67,0x68])}),_0x3d1088[_0x214e4a([0x6f,0x6e])](_0x214e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f6399=>{_0x39db04(_0x4f6399[_0x214e4a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f6402=!0x0,_0x5a77e8(_0x4f6399[_0x214e4a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x214e4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x214e4a([0x6c,0x6f,0x77])}),_0x5dc93f[_0x214e4a([0x74,0x68,0x65,0x6e])](()=>{_0x3f6402||_0x4d6820(_0x214e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb0514a(){return _0x3d1088[_0x214e4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x214e4a([0x76,0x69,0x65,0x77])][_0x214e4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x214e4a([0x61,0x75,0x74,0x6f]);}function _0x84dfb6(){_0x3d1088[_0x214e4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x214e4a([0x76,0x69,0x65,0x77])][_0x214e4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x214e4a([0x61,0x75,0x74,0x6f]);}}function _0x5e9d64(_0x339be8){const _0x2172e1=[new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x318f11=>setTimeout(_0x318f11,0x7bc04b12^_0x396823)),_0x5dc93f[_0x214e4a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e8ab4=>{let _0x184c49=0x0;_0x3d1088[_0x214e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x214e4a([0x6f,0x6e])](_0x214e4a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e9c34,_0x6097d1)=>{_0x6097d1[0x0][_0x214e4a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x184c49++,_0x184c49==(0x7bc97426^_0x396823)&&(_0x5e8ab4(),_0x2e9c34[_0x214e4a([0x6f,0x66,0x66])]());});}))];return window[_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x214e4a([0x72,0x61,0x63,0x65])](_0x2172e1)[_0x214e4a([0x74,0x68,0x65,0x6e])](()=>_0x339be8);}async function _0x2610a3(){await _0x5dc93f,_0x3d1088[_0x214e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x214e4a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x86b74b,_0x3d1088[_0x214e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x214e4a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x86b74b,_0x3d1088[_0x214e4a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x214e4a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b694a(_0x29bca6){const _0x1cf198=_0x5bd2d1();_0x3d1088[_0x1cf198]=_0x214e4a([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29bca6,_0x29bca6!=_0x214e4a([0x56,0x61,0x6c,0x69,0x64])&&_0x2610a3();}function _0x5bd2d1(){const _0x3660f1=window[_0x214e4a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x214e4a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x214e4a([0x6e,0x6f,0x77])]())[_0x214e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x214e4a([0x2e]),'');let _0x5b76bc=_0x214e4a([0x5a]);for(let _0x187b47=0x0;_0x187b47<_0x3660f1[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x187b47+=0x2){let _0x1589b6=window[_0x214e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3660f1[_0x214e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x187b47,_0x187b47+0x2));_0x1589b6>=_0x390271[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1589b6-=_0x390271[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b76bc+=_0x390271[_0x1589b6];}return _0x5b76bc;}function _0x5e0edc(){const _0x5a0bc8=_0x288f4b[_0x214e4a([0x73,0x70,0x6c,0x69,0x74])](_0x214e4a([0x2e]));if(0x3!=_0x5a0bc8[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd6f5f6(_0x5a0bc8[0x1]);function _0xd6f5f6(_0x1376ff){const _0x2097d7=_0x482ad2(_0x1376ff);return _0x2097d7&&_0x2f5baa()?_0x2097d7:null;function _0x2f5baa(){const _0xfa1217=_0x2097d7[_0x214e4a([0x6a,0x74,0x69])],_0x8e79e0=window[_0x214e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfa1217[_0x214e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfa1217[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x461f93={..._0x2097d7,[_0x214e4a([0x6a,0x74,0x69])]:_0xfa1217[_0x214e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xfa1217[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x461f93[_0x214e4a([0x76,0x63])],_0x140e52(_0x461f93)==_0x8e79e0;}}}async function _0x2f0e5d(){let _0x16e0e1=!0x0;try{const _0x3415f0=_0x288f4b[_0x214e4a([0x73,0x70,0x6c,0x69,0x74])](_0x214e4a([0x2e])),[_0x528c03,_0x29fbd3,_0x3142f1]=_0x3415f0;return _0x2e202c(_0x528c03),await _0x1a6f6d(_0x528c03,_0x29fbd3,_0x3142f1),_0x16e0e1;}catch{return!0x1;}function _0x2e202c(_0x38bced){const _0x2abe19=_0x482ad2(_0x38bced);_0x2abe19&&_0x2abe19[_0x214e4a([0x61,0x6c,0x67])]==_0x214e4a([0x45,0x53,0x32,0x35,0x36])||(_0x16e0e1=!0x1);}async function _0x1a6f6d(_0x4a5d18,_0x431579,_0x2902aa){const _0x4095b8=window[_0x214e4a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x214e4a([0x66,0x72,0x6f,0x6d])](_0x5b8c8a(_0x2902aa),_0x57191b=>_0x57191b[_0x214e4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41ee8c=new window[(_0x214e4a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x214e4a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a5d18+_0x214e4a([0x2e])+_0x431579),_0xf9ca0d=window[_0x214e4a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x214e4a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf9ca0d)return;const _0x41fd38=await _0xf9ca0d[_0x214e4a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x214e4a([0x6a,0x77,0x6b]),_0x4ad823,{[_0x214e4a([0x6e,0x61,0x6d,0x65])]:_0x214e4a([0x45,0x43,0x44,0x53,0x41]),[_0x214e4a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x214e4a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x214e4a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf9ca0d[_0x214e4a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x214e4a([0x6e,0x61,0x6d,0x65])]:_0x214e4a([0x45,0x43,0x44,0x53,0x41]),[_0x214e4a([0x68,0x61,0x73,0x68])]:{[_0x214e4a([0x6e,0x61,0x6d,0x65])]:_0x214e4a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41fd38,_0x4095b8,_0x41ee8c)||(_0x16e0e1=!0x1);}}function _0x482ad2(_0x14bef6){return _0x14bef6[_0x214e4a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x214e4a([0x65,0x79]))?JSON[_0x214e4a([0x70,0x61,0x72,0x73,0x65])](_0x5b8c8a(_0x14bef6)):null;}function _0x5b8c8a(_0x58da94){return window[_0x214e4a([0x61,0x74,0x6f,0x62])](_0x58da94[_0x214e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x214e4a([0x2b]))[_0x214e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x214e4a([0x2f])));}function _0x140e52(_0x106756){let _0x112c10=0x1505;function _0x3d2177(_0x4da064){for(let _0x6a3758=0x0;_0x6a3758<_0x4da064[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6a3758++){const _0x268e85=_0x4da064[_0x214e4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6a3758);_0x112c10=(_0x112c10<<0x5)+_0x112c10+_0x268e85,_0x112c10&=_0x112c10;}}function _0x3ad027(_0x42cdab){Array[_0x214e4a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42cdab)?_0x42cdab[_0x214e4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ad027):_0x42cdab&&typeof _0x42cdab==_0x214e4a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x214e4a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42cdab)[_0x214e4a([0x73,0x6f,0x72,0x74])]()[_0x214e4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x595f8c,_0x3c5dfe])=>{_0x3d2177(_0x595f8c),_0x3ad027(_0x3c5dfe);}):_0x3d2177(window[_0x214e4a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42cdab));}return _0x3ad027(_0x106756),_0x112c10>>>0x0;}function _0x94877c(_0x1a016d){return _0x1a016d[_0x214e4a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x214e4a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x214e4a([0x30]));}function _0x373d3d(_0x3dbe0b){return _0x3dbe0b[_0x214e4a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x214e4a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x214e4a([0x6a,0x6f,0x69,0x6e])]('');}function _0x86b74b(){}function _0x214e4a(_0x2a342c){const _0xf082e1=_0x2a57;return _0x2a342c[_0xf082e1(0x1f1)](_0x57101c=>String[_0xf082e1(0x19c)](_0x57101c))[_0xf082e1(0x1f8)]('');}_0x5b694a(await _0x1393ca());}(this);}[_0x5e70f4(0x1ec)](){const _0x55c61f=_0x5e70f4,_0x3d8b0b=this[_0x55c61f(0x1d2)][_0x55c61f(0x1d6)];_0x3d8b0b[_0x55c61f(0x1ff)](_0x56fc04=>{const _0x23fa67=_0x55c61f,_0x472b92=_0x3d8b0b[_0x23fa67(0x1f6)][_0x23fa67(0x1f0)][_0x23fa67(0x1f2)]();let _0x51d3a1=0x0;for(const _0xad238e of _0x472b92){const _0x47e3df=f+':'+_0x51d3a1;if(_0x3d8b0b[_0x23fa67(0x1ca)][_0x23fa67(0x1ba)](_0x47e3df))_0x56fc04[_0x23fa67(0x206)](_0x47e3df,{'range':_0xad238e});else{if(_0xad238e[_0x23fa67(0x1a4)][_0x23fa67(0x1c6)]){const _0x116c26=_0xad238e[_0x23fa67(0x1a4)][_0x23fa67(0x1a1)](({item:_0x51d188})=>!_0x3d8b0b[_0x23fa67(0x1e2)][_0x23fa67(0x1d3)](_0x51d188),{'boundaries':_0xad238e});_0x56fc04[_0x23fa67(0x1a2)](_0x47e3df,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x56fc04[_0x23fa67(0x1ea)](_0x116c26,_0xad238e[_0x23fa67(0x1a6)])});}else _0x56fc04[_0x23fa67(0x1a2)](_0x47e3df,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xad238e});}_0x51d3a1++;}});}[_0x5e70f4(0x19e)](){const _0x5b0ccf=_0x5e70f4,_0x5b20fa=this[_0x5b0ccf(0x1d2)][_0x5b0ccf(0x1d6)],_0x5b5c17=Array[_0x5b0ccf(0x1bf)](this[_0x5b0ccf(0x1d2)][_0x5b0ccf(0x1d6)][_0x5b0ccf(0x1ca)][_0x5b0ccf(0x202)](f));_0x5b5c17[_0x5b0ccf(0x1dc)]&&_0x5b20fa[_0x5b0ccf(0x1ff)](_0x3cf318=>{const _0x239d55=_0x5b0ccf;_0x5b5c17[_0x239d55(0x1dd)](_0x221c7d=>{const _0x396771=_0x239d55;_0x3cf318[_0x396771(0x1ac)](_0x221c7d);});});}[_0x5e70f4(0x1f3)](_0x4b1183,_0x152b02){const _0x3124e2=_0x5e70f4,_0x588a88=this[_0x3124e2(0x1a9)](),_0x3a5de9=_0x152b02||_0x588a88[_0x3124e2(0x1d9)]();this[_0x3124e2(0x1d2)][_0x3124e2(0x1d6)][_0x3124e2(0x1c9)](_0x3a5de9)&&this[_0x3124e2(0x1d2)][_0x3124e2(0x1d6)][_0x3124e2(0x1ff)](_0x3ef88b=>{const _0x524d5b=_0x3124e2;this[_0x524d5b(0x19e)](),_0x152b02||this[_0x524d5b(0x1c4)](_0x3ef88b,_0x588a88),this[_0x524d5b(0x1b8)]({'insertAt':_0x3a5de9,'writer':_0x3ef88b,'html':_0x4b1183});});}[_0x5e70f4(0x1ab)](_0x5bda01){const _0x25e666=_0x5e70f4,{model:_0x38d88d}=this[_0x25e666(0x1d2)],_0x526d16=this[_0x25e666(0x1a9)]();_0x38d88d[_0x25e666(0x1ff)](()=>{const _0x1a227a=_0x25e666,_0x1cd8f1=this[_0x1a227a(0x1e7)](_0x5bda01,_0x526d16)||this[_0x1a227a(0x1b3)](_0x526d16);this[_0x1a227a(0x1f3)](_0x5bda01,_0x1cd8f1);});}[_0x5e70f4(0x1a9)](){const _0x3354a3=_0x5e70f4,_0x121cb8=this[_0x3354a3(0x1d2)][_0x3354a3(0x1d6)],_0x3cf378=Array[_0x3354a3(0x1bf)](_0x121cb8[_0x3354a3(0x1ca)][_0x3354a3(0x202)](f))[_0x3354a3(0x1f1)](_0x1673a8=>_0x1673a8[_0x3354a3(0x1a3)]());return _0x121cb8[_0x3354a3(0x1df)](_0x3cf378);}[_0x5e70f4(0x1b8)]({writer:_0x1ae9ec,html:_0x317507,insertAt:_0x350565}){const _0xaddbcb=_0x5e70f4,{view:_0x5ad740}=this[_0xaddbcb(0x1d2)][_0xaddbcb(0x1c3)],_0x1a2cf7=this[_0xaddbcb(0x1d2)][_0xaddbcb(0x1c2)][_0xaddbcb(0x1da)](_0x124981),_0x307d1a=new w();_0x307d1a[_0xaddbcb(0x1be)](_0xaddbcb(0x201),_0x317507);const _0x364a78=new ClipboardEvent(_0xaddbcb(0x1c7),{'clipboardData':_0x307d1a}),_0x1a21e7=new _0x1a891d(_0x5ad740,_0x364a78,{'dataTransfer':new _0x316336(_0x307d1a)});_0x1ae9ec[_0xaddbcb(0x1cd)](_0x350565);const _0x5cafd7=(_0x3a50f9,_0x4d6133)=>{const _0x26deec=_0xaddbcb;_0x4d6133[_0x26deec(0x1af)]&&_0x1ae9ec[_0x26deec(0x1cd)](_0x4d6133[_0x26deec(0x1af)]);};_0x1a2cf7[_0xaddbcb(0x1b1)](_0xaddbcb(0x208),_0x5cafd7,{'priority':_0xaddbcb(0x1b6)}),_0x5ad740[_0xaddbcb(0x1f6)][_0xaddbcb(0x1c5)](_0xaddbcb(0x1c7),_0x1a21e7),_0x1a2cf7[_0xaddbcb(0x1d4)](_0xaddbcb(0x208),_0x5cafd7);}[_0x5e70f4(0x1b3)](_0xb01f93){const _0x3a6648=_0x5e70f4,{model:_0x2d6c66}=this[_0x3a6648(0x1d2)],_0x348870=Array[_0x3a6648(0x1bf)](_0xb01f93[_0x3a6648(0x1eb)]());return _0x348870[_0x3a6648(0x1dc)]?_0x2d6c66[_0x3a6648(0x1b2)](_0x348870[_0x3a6648(0x1d5)]()):_0xb01f93[_0x3a6648(0x1ad)]();}[_0x5e70f4(0x1e7)](_0x5a752b,_0x58ad7c){const _0x3acd8e=_0x5e70f4,{model:_0x593516,plugins:_0x118d3b}=this[_0x3acd8e(0x1d2)];if(_0x118d3b[_0x3acd8e(0x1ba)](_0x3acd8e(0x1bc))){const _0x123dbd=_0x118d3b[_0x3acd8e(0x1da)](_0x3acd8e(0x1bc))[_0x3acd8e(0x1ee)](_0x58ad7c);if(_0x123dbd[_0x3acd8e(0x1dc)]){const _0x3cb276=this[_0x3acd8e(0x1b7)](_0x5a752b),_0x21a2f1=this[_0x3acd8e(0x1f5)](_0x123dbd,_0x3cb276);return _0x593516[_0x3acd8e(0x19d)](_0x21a2f1,0x0);}}return null;}[_0x5e70f4(0x1b7)](_0x1039af){const _0x50a750=_0x5e70f4,_0x1b98cf=this[_0x50a750(0x1d2)][_0x50a750(0x1c2)][_0x50a750(0x1da)](_0x50a750(0x1bc)),_0x40c994=this[_0x50a750(0x1d2)][_0x50a750(0x1d1)][_0x50a750(0x1d0)](_0x1039af),_0x2039d6=Array[_0x50a750(0x1bf)](_0x40c994[_0x50a750(0x200)]())[_0x50a750(0x1fe)](_0x416aad=>_0x416aad['is'](_0x50a750(0x1cb),_0x50a750(0x207)));let _0x178bad=0x0;return _0x2039d6[_0x50a750(0x1dd)](_0x148b14=>{const _0x3aa43d=_0x50a750;_0x178bad+=_0x1b98cf[_0x3aa43d(0x204)](_0x148b14);}),_0x178bad;}[_0x5e70f4(0x1f5)](_0x534f89,_0x5f44a6){const _0x62460b=_0x5e70f4,_0x2fa38e=this[_0x62460b(0x1d2)][_0x62460b(0x1c2)][_0x62460b(0x1da)](_0x62460b(0x1bc)),_0x5cbb35=_0x2fa38e[_0x62460b(0x1ae)](_0x534f89),_0x3076eb=_0x2fa38e[_0x62460b(0x1d7)](_0x534f89),_0x5c28eb=_0x5cbb35[_0x62460b(0x1ed)]+0x1,_0x14c374=_0x3076eb[_0x62460b(0x1e9)],_0x38e38f=_0x534f89[0x0][_0x62460b(0x1f4)](_0x62460b(0x207));for(let _0x34ad55=0x0;_0x34ad55<_0x5f44a6;_0x34ad55++)_0x2fa38e[_0x62460b(0x1fc)](_0x38e38f,{'at':_0x5c28eb});return _0x38e38f[_0x62460b(0x1fb)](_0x5c28eb)[_0x62460b(0x1fb)](_0x14c374);}[_0x5e70f4(0x1c4)](_0x2a48e1,_0x519839){const _0x3f64ac=_0x5e70f4,{plugins:_0x357f2c}=this[_0x3f64ac(0x1d2)],{model:_0x294132}=_0x2a48e1;if(!_0x357f2c[_0x3f64ac(0x1ba)](_0x3f64ac(0x1bc)))return;_0x357f2c[_0x3f64ac(0x1da)](_0x3f64ac(0x1bc))[_0x3f64ac(0x1ee)](_0x519839)[_0x3f64ac(0x1dc)]&&_0x294132[_0x3f64ac(0x1c0)](_0x519839);}}
|
|
23
|
+
const _0x40ca0b=_0x9310;(function(_0x2cc93f,_0x474395){const _0x198e01=_0x9310,_0x265d50=_0x2cc93f();while(!![]){try{const _0x56ecef=parseInt(_0x198e01(0x177))/0x1+parseInt(_0x198e01(0x152))/0x2*(parseInt(_0x198e01(0x18c))/0x3)+parseInt(_0x198e01(0x1a9))/0x4+-parseInt(_0x198e01(0x1a8))/0x5+-parseInt(_0x198e01(0x183))/0x6+parseInt(_0x198e01(0x170))/0x7*(-parseInt(_0x198e01(0x172))/0x8)+-parseInt(_0x198e01(0x158))/0x9*(-parseInt(_0x198e01(0x197))/0xa);if(_0x56ecef===_0x474395)break;else _0x265d50['push'](_0x265d50['shift']());}catch(_0x425415){_0x265d50['push'](_0x265d50['shift']());}}}(_0x2733,0x977b6));import{uid as _0x5da1bf}from'ckeditor5/src/utils.js';import{Plugin as _0x1a6fbf}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x46e1ff}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4956a3,DataTransfer as _0x408541}from'ckeditor5/src/engine.js';const w=globalThis[_0x40ca0b(0x188)],f=_0x40ca0b(0x163);function _0x2733(){const _0x1d35d2=['plugins','3HfmEVI','isPremiumPlugin','updateMarker','editor','ai.useTheme','off','data','_getTableRowCountFromContent','for','getRanges','fromCharCode','1157530GRkLfg','isContent','insertRows','lowest','contentInsertion','editing','insertContent','findAncestor','_createEmptyTableRows','afterInit','init','getRange','showFakeVisualSelection','markerToHighlight','resultRange','getChildren','ck-fake-ai-selection_collapsed','887815gOmYXU','2080488qHlXiE','TableUtils','markerToElement','map','hideFakeVisualSelection','fire','has','paste','first','_prepareTableInsertBelowPosition','end','selection','href','table','isOfficialPlugin','setData','getLastMatchingPosition','ck-ai-assistant-ui_theme','_resetContentOfSelectedTableCells','once','length','getSelectedBlocks','element','826552EDnieI','editingDowncast','getRows','change','AIAssistantEditing','createUIElement','153VEVNrM','markers','createPositionAt','schema','deleteContent','span','markerRange','last','ck-fake-ai-selection','_getDefaultInsertBelowPosition','createSelection','ai-ui','getRowIndexes','insertContentBelow','createRange','forEach','getSelectedTableCells','getFirstRange','push','start','get','from','addClass','setSelection','64029UvTbZO','model','856DPfXiS','removeMarker','parse','document','getColumnIndexes','19605SHrbpu','addMarker','join','isCollapsed','pop','getLastPosition','text/html','_pasteHTMLUsingClipboard','config','getChild','getMarkersGroup','filter','6864252FobaJW','pluginName','_getAISelection','canEditAt','createPositionAfter','DataTransfer','conversion','isAtEnd'];_0x2733=function(){return _0x1d35d2;};return _0x2733();}function _0x9310(_0x3744c5,_0x4edc93){const _0x273351=_0x2733();return _0x9310=function(_0x93101a,_0x25aa56){_0x93101a=_0x93101a-0x13c;let _0x7275b5=_0x273351[_0x93101a];return _0x7275b5;},_0x9310(_0x3744c5,_0x4edc93);}export default class a extends _0x1a6fbf{static get[_0x40ca0b(0x184)](){const _0x431c7a=_0x40ca0b;return _0x431c7a(0x156);}static get[_0x40ca0b(0x149)](){return!0x0;}static get[_0x40ca0b(0x18d)](){return!0x0;}[_0x40ca0b(0x1a1)](){const _0x5f47ed=_0x40ca0b,{editor:_0x20ce46}=this,_0x3367a7=[_0x5f47ed(0x160)];_0x20ce46[_0x5f47ed(0x17f)][_0x5f47ed(0x16c)](_0x5f47ed(0x190))&&_0x3367a7[_0x5f47ed(0x16a)](_0x5f47ed(0x14c)),_0x20ce46[_0x5f47ed(0x189)][_0x5f47ed(0x194)](_0x5f47ed(0x153))[_0x5f47ed(0x1a4)]({'model':f,'view':{'classes':_0x3367a7,'priority':0xc}}),_0x20ce46[_0x5f47ed(0x189)][_0x5f47ed(0x194)](_0x5f47ed(0x153))[_0x5f47ed(0x13d)]({'model':f,'view':(_0xc8c052,{writer:_0x2ebbdd})=>{const _0x3f5dad=_0x5f47ed;if(!_0xc8c052[_0x3f5dad(0x15e)][_0x3f5dad(0x17a)])return null;const _0x225de3=_0x2ebbdd[_0x3f5dad(0x157)](_0x3f5dad(0x15d));return _0x2ebbdd[_0x3f5dad(0x16e)]([_0x3f5dad(0x160),_0x3f5dad(0x1a7)],_0x225de3),_0x225de3;}});}[_0x40ca0b(0x1a0)](){!async function(_0x4ee435){const _0x5e09cc=_0x2534dd([0x54,0x67,0x39,0x5a,0x37,0x72,0x53,0x45,0x52,0x62,0x61,0x6a,0x77,0x6f,0x33,0x51,0x4d,0x31,0x32,0x78,0x6d,0x4c,0x7a,0x49,0x43,0x44,0x30,0x57,0x58,0x79,0x73,0x38,0x4b,0x74,0x4a,0x70,0x63,0x6e,0x34,0x47,0x76,0x6b,0x69,0x66,0x56,0x41,0x68,0x55,0x46,0x75,0x4f,0x64,0x71,0x50,0x4e,0x48,0x59,0x36,0x35,0x42,0x6c,0x65]),_0x23f477=0x3a67874,_0x349094=0x3a111bc^_0x23f477,_0xaa13d0=window[_0x2534dd([0x44,0x61,0x74,0x65])][_0x2534dd([0x6e,0x6f,0x77])](),_0xba5cd9=_0x4ee435[_0x2534dd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f0cbd=new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c18c6=>{_0xba5cd9[_0x2534dd([0x6f,0x6e,0x63,0x65])](_0x2534dd([0x72,0x65,0x61,0x64,0x79]),_0x3c18c6);}),_0x179a3e={[_0x2534dd([0x6b,0x74,0x79])]:_0x2534dd([0x45,0x43]),[_0x2534dd([0x75,0x73,0x65])]:_0x2534dd([0x73,0x69,0x67]),[_0x2534dd([0x63,0x72,0x76])]:_0x2534dd([0x50,0x2d,0x32,0x35,0x36]),[_0x2534dd([0x78])]:_0x2534dd([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]),[_0x2534dd([0x79])]:_0x2534dd([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]),[_0x2534dd([0x61,0x6c,0x67])]:_0x2534dd([0x45,0x53,0x32,0x35,0x36])},_0x174658=_0xba5cd9[_0x2534dd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2534dd([0x67,0x65,0x74])](_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29f4b2(){let _0x590479,_0x59f0c4=null,_0x3b181d=null;try{if(_0x174658==_0x2534dd([0x47,0x50,0x4c]))return _0x2534dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x590479=_0x5a5ceb(),!_0x590479)return _0x2534dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x590479[_0x2534dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b181d=_0x3db7f9(_0x590479[_0x2534dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x590479[_0x2534dd([0x6a,0x74,0x69])])),await _0x4e5fb8()?_0x2a1b65()?_0x3be84f()?_0x2534dd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e3ed3()?(_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2534dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59f0c4=_0x28b9a3(_0x2534dd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2534dd([0x74,0x72,0x69,0x61,0x6c])&&(_0x59f0c4=_0x28b9a3(_0x2534dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30038d()):_0x2534dd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2534dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2534dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2534dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3be84f(){const _0x2a631e=[_0x2534dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2534dd([0x74,0x72,0x69,0x61,0x6c])][_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaa13d0/0x3e8:0xe10*_0x349094;return _0x590479[_0x2534dd([0x65,0x78,0x70])]<_0x2a631e;}function _0x2a1b65(){const _0xe9a4f4=_0x590479[_0x2534dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe9a4f4&&(!!_0xe9a4f4[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2534dd([0x2a]))||!!_0xe9a4f4[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2534dd([0x41,0x49])));}function _0x5e3ed3(){const _0x5e6b86=_0x9310,_0x3287b5=_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3287b5||0x0==_0x3287b5[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35d45f}=new URL(window[_0x2534dd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5e6b86(0x147)]);if(_0x3287b5[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35d45f))return!0x0;const _0x5ff257=_0x35d45f[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e]));return _0x3287b5[_0x2534dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33179f=>_0x33179f[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2534dd([0x2a])))[_0x2534dd([0x6d,0x61,0x70])](_0x3febbe=>_0x3febbe[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e])))[_0x2534dd([0x73,0x6f,0x6d,0x65])](_0x24c16e=>_0x5ff257[_0x2534dd([0x65,0x76,0x65,0x72,0x79])]((_0x40307e,_0x53d746)=>_0x24c16e[_0x53d746]===_0x40307e||_0x24c16e[_0x53d746]===_0x2534dd([0x2a])));}function _0x30038d(){return _0x59f0c4&&_0x3b181d?new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x161a9f,_0x37223a)=>{_0x59f0c4[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x161a9f,_0x37223a),_0x3b181d[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x38b864=>{_0x38b864!=_0x2534dd([0x56,0x61,0x6c,0x69,0x64])&&_0x161a9f(_0x38b864);},_0x37223a);}):_0x59f0c4||_0x3b181d||_0x2534dd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3db7f9(_0x46ea67,_0x298e21){return new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46124a=>{if(_0x1debff())return _0x46124a(_0x2534dd([0x56,0x61,0x6c,0x69,0x64]));_0x57832c(),_0xba5cd9[_0x2534dd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2534dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4aa907=!0x1;const _0x40bbde=_0x5da1bf();function _0x49946f(_0x3c7e26){return!!_0x3c7e26&&(typeof _0x3c7e26===_0x2534dd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c7e26===_0x2534dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c7e26[_0x2534dd([0x74,0x68,0x65,0x6e])]===_0x2534dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c7e26[_0x2534dd([0x63,0x61,0x74,0x63,0x68])]===_0x2534dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4cf954(_0x1c9f48){_0x2c9256(_0x1c9f48)[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x26da68=>{if(!_0x26da68||_0x26da68[_0x2534dd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2534dd([0x6f,0x6b]))return _0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fceec(_0x1b0785(_0x40bbde+_0x298e21))!=_0x26da68[_0x2534dd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2534dd([0x56,0x61,0x6c,0x69,0x64]);})[_0x2534dd([0x74,0x68,0x65,0x6e])](_0xc770fd=>(_0x2bc79b(),_0xc770fd),()=>{const _0x2904bd=_0x3f532d();return null==_0x2904bd?(_0x2bc79b(),_0x2534dd([0x56,0x61,0x6c,0x69,0x64])):_0x2534dd(_0xaa13d0-_0x2904bd>(0x27aafc74^_0x23f477)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x46124a)[_0x2534dd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46124a(_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xaad4ca=0x39096f4^_0x23f477;function _0x2bc79b(){const _0x116262=_0x2534dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fceec(_0x1b0785(_0x46ea67)),_0x4476dc=_0x42157b(_0x2fceec(window[_0x2534dd([0x4d,0x61,0x74,0x68])][_0x2534dd([0x63,0x65,0x69,0x6c])](_0xaa13d0/_0xaad4ca)));window[_0x2534dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2534dd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x116262,_0x4476dc);}function _0x3f532d(){const _0x4c372e=_0x2534dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fceec(_0x1b0785(_0x46ea67)),_0x57a094=window[_0x2534dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2534dd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c372e);return _0x57a094?window[_0x2534dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42157b(_0x57a094),0x10)*_0xaad4ca:null;}function _0x2c9256(_0x32cb17){return new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b2aea,_0x226d88)=>{_0x32cb17[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x4b2aea,_0x226d88),window[_0x2534dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x226d88,0x3a7acb4^_0x23f477);});}}_0xba5cd9[_0x2534dd([0x6f,0x6e])](_0x2534dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30a15e,_0x4a601c)=>{if(_0x4a601c[0x0]!=_0x46ea67)return _0x46124a(_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a601c[0x1]={..._0x4a601c[0x1],[_0x2534dd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40bbde};},{[_0x2534dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2534dd([0x68,0x69,0x67,0x68])}),_0xba5cd9[_0x2534dd([0x6f,0x6e])](_0x2534dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5dfd47=>{_0x49946f(_0x5dfd47[_0x2534dd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4aa907=!0x0,_0x4cf954(_0x5dfd47[_0x2534dd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2534dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2534dd([0x6c,0x6f,0x77])}),_0x1f0cbd[_0x2534dd([0x74,0x68,0x65,0x6e])](()=>{_0x4aa907||_0x46124a(_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1debff(){return _0xba5cd9[_0x2534dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2534dd([0x76,0x69,0x65,0x77])][_0x2534dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2534dd([0x61,0x75,0x74,0x6f]);}function _0x57832c(){_0xba5cd9[_0x2534dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2534dd([0x76,0x69,0x65,0x77])][_0x2534dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2534dd([0x61,0x75,0x74,0x6f]);}}function _0x28b9a3(_0x5f51dd){const _0x3a213f=[new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x333789=>setTimeout(_0x333789,0x3af46b8^_0x23f477)),_0x1f0cbd[_0x2534dd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23b5d5=>{let _0x28b3f0=0x0;_0xba5cd9[_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2534dd([0x6f,0x6e])](_0x2534dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1af0fb,_0x559ca8)=>{_0x559ca8[0x0][_0x2534dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28b3f0++,_0x28b3f0==(0x3a6798c^_0x23f477)&&(_0x23b5d5(),_0x1af0fb[_0x2534dd([0x6f,0x66,0x66])]());});}))];return window[_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2534dd([0x72,0x61,0x63,0x65])](_0x3a213f)[_0x2534dd([0x74,0x68,0x65,0x6e])](()=>_0x5f51dd);}async function _0x2ef99f(){await _0x1f0cbd,_0xba5cd9[_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2534dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26d089,_0xba5cd9[_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2534dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26d089,_0xba5cd9[_0x2534dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4256d3(_0x38675c){const _0x530545=_0x49305e();_0xba5cd9[_0x530545]=_0x2534dd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38675c,_0x38675c!=_0x2534dd([0x56,0x61,0x6c,0x69,0x64])&&_0x2ef99f();}function _0x49305e(){const _0x123f93=window[_0x2534dd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2534dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2534dd([0x6e,0x6f,0x77])]())[_0x2534dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2534dd([0x2e]),'');let _0x3a3b1f=_0x2534dd([0x54]);for(let _0x3c972a=0x0;_0x3c972a<_0x123f93[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c972a+=0x2){let _0x12e323=window[_0x2534dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x123f93[_0x2534dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c972a,_0x3c972a+0x2));_0x12e323>=_0x5e09cc[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12e323-=_0x5e09cc[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a3b1f+=_0x5e09cc[_0x12e323];}return _0x3a3b1f;}function _0x5a5ceb(){const _0x7e9319=_0x174658[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e]));if(0x3!=_0x7e9319[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e901f(_0x7e9319[0x1]);function _0x1e901f(_0x589b0a){const _0x20c965=_0x27c949(_0x589b0a);return _0x20c965&&_0x47f4b1()?_0x20c965:null;function _0x47f4b1(){const _0xc73a14=_0x20c965[_0x2534dd([0x6a,0x74,0x69])],_0x56f175=window[_0x2534dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc73a14[_0x2534dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc73a14[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51c766={..._0x20c965,[_0x2534dd([0x6a,0x74,0x69])]:_0xc73a14[_0x2534dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc73a14[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51c766[_0x2534dd([0x76,0x63])],_0x1b0785(_0x51c766)==_0x56f175;}}}async function _0x4e5fb8(){let _0x4301ce=!0x0;try{const _0x431c61=_0x174658[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e])),[_0xcca267,_0x51e9de,_0x9beada]=_0x431c61;return _0x3f5d93(_0xcca267),await _0x258a98(_0xcca267,_0x51e9de,_0x9beada),_0x4301ce;}catch{return!0x1;}function _0x3f5d93(_0x41452a){const _0x27c38f=_0x27c949(_0x41452a);_0x27c38f&&_0x27c38f[_0x2534dd([0x61,0x6c,0x67])]==_0x2534dd([0x45,0x53,0x32,0x35,0x36])||(_0x4301ce=!0x1);}async function _0x258a98(_0xe378fc,_0x230053,_0x1fdbdb){const _0x1aeec3=window[_0x2534dd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2534dd([0x66,0x72,0x6f,0x6d])](_0x436fd5(_0x1fdbdb),_0x4036dd=>_0x4036dd[_0x2534dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e5a00=new window[(_0x2534dd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2534dd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe378fc+_0x2534dd([0x2e])+_0x230053),_0x3d9284=window[_0x2534dd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2534dd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d9284)return;const _0x489c7f=await _0x3d9284[_0x2534dd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2534dd([0x6a,0x77,0x6b]),_0x179a3e,{[_0x2534dd([0x6e,0x61,0x6d,0x65])]:_0x2534dd([0x45,0x43,0x44,0x53,0x41]),[_0x2534dd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2534dd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2534dd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d9284[_0x2534dd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2534dd([0x6e,0x61,0x6d,0x65])]:_0x2534dd([0x45,0x43,0x44,0x53,0x41]),[_0x2534dd([0x68,0x61,0x73,0x68])]:{[_0x2534dd([0x6e,0x61,0x6d,0x65])]:_0x2534dd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x489c7f,_0x1aeec3,_0x5e5a00)||(_0x4301ce=!0x1);}}function _0x27c949(_0x5569ee){return _0x5569ee[_0x2534dd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2534dd([0x65,0x79]))?JSON[_0x2534dd([0x70,0x61,0x72,0x73,0x65])](_0x436fd5(_0x5569ee)):null;}function _0x436fd5(_0x8c16df){return window[_0x2534dd([0x61,0x74,0x6f,0x62])](_0x8c16df[_0x2534dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2534dd([0x2b]))[_0x2534dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2534dd([0x2f])));}function _0x1b0785(_0x1f231d){let _0x2f5feb=0x1505;function _0x446b69(_0x2b857b){for(let _0x58655d=0x0;_0x58655d<_0x2b857b[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58655d++){const _0x30d2df=_0x2b857b[_0x2534dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58655d);_0x2f5feb=(_0x2f5feb<<0x5)+_0x2f5feb+_0x30d2df,_0x2f5feb&=_0x2f5feb;}}function _0x5755c5(_0x26de8f){Array[_0x2534dd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26de8f)?_0x26de8f[_0x2534dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5755c5):_0x26de8f&&typeof _0x26de8f==_0x2534dd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2534dd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26de8f)[_0x2534dd([0x73,0x6f,0x72,0x74])]()[_0x2534dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x402ed3,_0x5bed9c])=>{_0x446b69(_0x402ed3),_0x5755c5(_0x5bed9c);}):_0x446b69(window[_0x2534dd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26de8f));}return _0x5755c5(_0x1f231d),_0x2f5feb>>>0x0;}function _0x2fceec(_0x575c1a){return _0x575c1a[_0x2534dd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2534dd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2534dd([0x30]));}function _0x42157b(_0x26babf){return _0x26babf[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2534dd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2534dd([0x6a,0x6f,0x69,0x6e])]('');}function _0x26d089(){}function _0x2534dd(_0x1ff30f){const _0x262c97=_0x9310;return _0x1ff30f[_0x262c97(0x13e)](_0xad956b=>String[_0x262c97(0x196)](_0xad956b))[_0x262c97(0x179)]('');}_0x4256d3(await _0x29f4b2());}(this);}[_0x40ca0b(0x1a3)](){const _0x4fa6ed=_0x40ca0b,_0x456583=this[_0x4fa6ed(0x18f)][_0x4fa6ed(0x171)];_0x456583[_0x4fa6ed(0x155)](_0x2e7d49=>{const _0x2663f9=_0x4fa6ed,_0x3df76f=_0x456583[_0x2663f9(0x175)][_0x2663f9(0x146)][_0x2663f9(0x195)]();let _0x2aec50=0x0;for(const _0x410847 of _0x3df76f){const _0x364533=f+':'+_0x2aec50;if(_0x456583[_0x2663f9(0x159)][_0x2663f9(0x141)](_0x364533))_0x2e7d49[_0x2663f9(0x18e)](_0x364533,{'range':_0x410847});else{if(_0x410847[_0x2663f9(0x16b)][_0x2663f9(0x18a)]){const _0x59890f=_0x410847[_0x2663f9(0x16b)][_0x2663f9(0x14b)](({item:_0x4fa4b7})=>!_0x456583[_0x2663f9(0x15b)][_0x2663f9(0x198)](_0x4fa4b7),{'boundaries':_0x410847});_0x2e7d49[_0x2663f9(0x178)](_0x364533,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2e7d49[_0x2663f9(0x166)](_0x59890f,_0x410847[_0x2663f9(0x145)])});}else _0x2e7d49[_0x2663f9(0x178)](_0x364533,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x410847});}_0x2aec50++;}});}[_0x40ca0b(0x13f)](){const _0x5bed76=_0x40ca0b,_0x2d0550=this[_0x5bed76(0x18f)][_0x5bed76(0x171)],_0x35b5ed=Array[_0x5bed76(0x16d)](this[_0x5bed76(0x18f)][_0x5bed76(0x171)][_0x5bed76(0x159)][_0x5bed76(0x181)](f));_0x35b5ed[_0x5bed76(0x14f)]&&_0x2d0550[_0x5bed76(0x155)](_0xe93faa=>{const _0x2045f8=_0x5bed76;_0x35b5ed[_0x2045f8(0x167)](_0x2633d4=>{const _0x18bea8=_0x2045f8;_0xe93faa[_0x18bea8(0x173)](_0x2633d4);});});}[_0x40ca0b(0x19d)](_0x5e33f7,_0x5d2c50){const _0x297b63=_0x40ca0b,_0x9c2efd=this[_0x297b63(0x185)](),_0x3b973e=_0x5d2c50||_0x9c2efd[_0x297b63(0x169)]();this[_0x297b63(0x18f)][_0x297b63(0x171)][_0x297b63(0x186)](_0x3b973e)&&this[_0x297b63(0x18f)][_0x297b63(0x171)][_0x297b63(0x155)](_0x52cb1d=>{const _0x5894ec=_0x297b63;this[_0x5894ec(0x13f)](),_0x5d2c50||this[_0x5894ec(0x14d)](_0x52cb1d,_0x9c2efd),this[_0x5894ec(0x17e)]({'insertAt':_0x3b973e,'writer':_0x52cb1d,'html':_0x5e33f7});});}[_0x40ca0b(0x165)](_0x5c015d){const _0x4a1c03=_0x40ca0b,{model:_0xf5e531}=this[_0x4a1c03(0x18f)],_0x5bb82d=this[_0x4a1c03(0x185)]();_0xf5e531[_0x4a1c03(0x155)](()=>{const _0x4d3fa7=_0x4a1c03,_0x32d19b=this[_0x4d3fa7(0x144)](_0x5c015d,_0x5bb82d)||this[_0x4d3fa7(0x161)](_0x5bb82d);this[_0x4d3fa7(0x19d)](_0x5c015d,_0x32d19b);});}[_0x40ca0b(0x185)](){const _0x9956bb=_0x40ca0b,_0x250625=this[_0x9956bb(0x18f)][_0x9956bb(0x171)],_0x11ff20=Array[_0x9956bb(0x16d)](_0x250625[_0x9956bb(0x159)][_0x9956bb(0x181)](f))[_0x9956bb(0x13e)](_0x63fb7b=>_0x63fb7b[_0x9956bb(0x1a2)]());return _0x250625[_0x9956bb(0x162)](_0x11ff20);}[_0x40ca0b(0x17e)]({writer:_0x648f20,html:_0x1db3c3,insertAt:_0xeaf1de}){const _0x5ba6de=_0x40ca0b,{view:_0x485f31}=this[_0x5ba6de(0x18f)][_0x5ba6de(0x19c)],_0x3ebb4e=this[_0x5ba6de(0x18f)][_0x5ba6de(0x18b)][_0x5ba6de(0x16c)](_0x46e1ff),_0x3efe43=new w();_0x3efe43[_0x5ba6de(0x14a)](_0x5ba6de(0x17d),_0x1db3c3);const _0x4ced21=new ClipboardEvent(_0x5ba6de(0x142),{'clipboardData':_0x3efe43}),_0x8e280f=new _0x4956a3(_0x485f31,_0x4ced21,{'dataTransfer':new _0x408541(_0x3efe43)});_0x648f20[_0x5ba6de(0x16f)](_0xeaf1de);const _0x2a8d0c=(_0x301604,_0x5dbb71)=>{const _0x1f98b9=_0x5ba6de;_0x5dbb71[_0x1f98b9(0x1a5)]&&_0x648f20[_0x1f98b9(0x16f)](_0x5dbb71[_0x1f98b9(0x1a5)]);};_0x3ebb4e[_0x5ba6de(0x14e)](_0x5ba6de(0x19b),_0x2a8d0c,{'priority':_0x5ba6de(0x19a)}),_0x485f31[_0x5ba6de(0x175)][_0x5ba6de(0x140)](_0x5ba6de(0x142),_0x8e280f),_0x3ebb4e[_0x5ba6de(0x191)](_0x5ba6de(0x19b),_0x2a8d0c);}[_0x40ca0b(0x161)](_0x6ec2d5){const _0x6fa46b=_0x40ca0b,{model:_0x4bc0e1}=this[_0x6fa46b(0x18f)],_0x13538d=Array[_0x6fa46b(0x16d)](_0x6ec2d5[_0x6fa46b(0x150)]());return _0x13538d[_0x6fa46b(0x14f)]?_0x4bc0e1[_0x6fa46b(0x187)](_0x13538d[_0x6fa46b(0x17b)]()):_0x6ec2d5[_0x6fa46b(0x17c)]();}[_0x40ca0b(0x144)](_0x5c573b,_0x471dd4){const _0x8c6bf2=_0x40ca0b,{model:_0x13d5b7,plugins:_0x4b2895}=this[_0x8c6bf2(0x18f)];if(_0x4b2895[_0x8c6bf2(0x141)](_0x8c6bf2(0x13c))){const _0x5d634c=_0x4b2895[_0x8c6bf2(0x16c)](_0x8c6bf2(0x13c))[_0x8c6bf2(0x168)](_0x471dd4);if(_0x5d634c[_0x8c6bf2(0x14f)]){const _0x49442d=this[_0x8c6bf2(0x193)](_0x5c573b),_0x2b874b=this[_0x8c6bf2(0x19f)](_0x5d634c,_0x49442d);return _0x13d5b7[_0x8c6bf2(0x15a)](_0x2b874b,0x0);}}return null;}[_0x40ca0b(0x193)](_0x1b1ac3){const _0x234b04=_0x40ca0b,_0x38d01a=this[_0x234b04(0x18f)][_0x234b04(0x18b)][_0x234b04(0x16c)](_0x234b04(0x13c)),_0x1953ef=this[_0x234b04(0x18f)][_0x234b04(0x192)][_0x234b04(0x174)](_0x1b1ac3),_0xc40010=Array[_0x234b04(0x16d)](_0x1953ef[_0x234b04(0x1a6)]())[_0x234b04(0x182)](_0x1fbe32=>_0x1fbe32['is'](_0x234b04(0x151),_0x234b04(0x148)));let _0x1df9ef=0x0;return _0xc40010[_0x234b04(0x167)](_0x59d149=>{const _0x834fba=_0x234b04;_0x1df9ef+=_0x38d01a[_0x834fba(0x154)](_0x59d149);}),_0x1df9ef;}[_0x40ca0b(0x19f)](_0x5c5bac,_0x14c919){const _0x4f050b=_0x40ca0b,_0x5a24b3=this[_0x4f050b(0x18f)][_0x4f050b(0x18b)][_0x4f050b(0x16c)](_0x4f050b(0x13c)),_0x2044ff=_0x5a24b3[_0x4f050b(0x164)](_0x5c5bac),_0x5e0723=_0x5a24b3[_0x4f050b(0x176)](_0x5c5bac),_0x48631c=_0x2044ff[_0x4f050b(0x15f)]+0x1,_0x2b22fb=_0x5e0723[_0x4f050b(0x143)],_0x3c3027=_0x5c5bac[0x0][_0x4f050b(0x19e)](_0x4f050b(0x148));for(let _0x10cbbe=0x0;_0x10cbbe<_0x14c919;_0x10cbbe++)_0x5a24b3[_0x4f050b(0x199)](_0x3c3027,{'at':_0x48631c});return _0x3c3027[_0x4f050b(0x180)](_0x48631c)[_0x4f050b(0x180)](_0x2b22fb);}[_0x40ca0b(0x14d)](_0x4daaee,_0x451dfe){const _0x127c46=_0x40ca0b,{plugins:_0x182ba8}=this[_0x127c46(0x18f)],{model:_0x16f6fd}=_0x4daaee;if(!_0x182ba8[_0x127c46(0x141)](_0x127c46(0x13c)))return;_0x182ba8[_0x127c46(0x16c)](_0x127c46(0x13c))[_0x127c46(0x168)](_0x451dfe)[_0x127c46(0x14f)]&&_0x16f6fd[_0x127c46(0x15c)](_0x451dfe);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a4cdd=_0x5167;(function(_0x26df10,_0x5cbbf1){const _0x2e62bd=_0x5167,_0x51bcf6=_0x26df10();while(!![]){try{const _0x18bbf1=parseInt(_0x2e62bd(0x1ab))/0x1+-parseInt(_0x2e62bd(0x150))/0x2+parseInt(_0x2e62bd(0x1ed))/0x3*(parseInt(_0x2e62bd(0x199))/0x4)+parseInt(_0x2e62bd(0x19b))/0x5*(parseInt(_0x2e62bd(0x1da))/0x6)+-parseInt(_0x2e62bd(0x18f))/0x7+-parseInt(_0x2e62bd(0x170))/0x8+parseInt(_0x2e62bd(0x158))/0x9;if(_0x18bbf1===_0x5cbbf1)break;else _0x51bcf6['push'](_0x51bcf6['shift']());}catch(_0x54ffd3){_0x51bcf6['push'](_0x51bcf6['shift']());}}}(_0x45db,0xec391));import{Plugin as _0x1927a5}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3ed3d6,IconRobotPencil as _0x58c8b9}from'ckeditor5/src/icons.js';import{first as _0x3da13a,CKEditorError as _0x1e88c7}from'ckeditor5/src/utils.js';import{createDropdown as _0x10d10,addMenuToDropdown as _0x3a10ab,ButtonView as _0x5c2fea,MenuBarMenuListItemButtonView as _0xa06f98,Dialog as _0xa27bce,DialogViewPosition as _0x595a54,MenuBarMenuView as _0x41b6e4,MenuBarMenuListView as _0x559716,MenuBarMenuListItemView as _0x3ca924}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0xf9f803,UNGROUPED_COMMANDS_GROUP_ID as _0x351634}from'./utils/normalizecommandsconfig.js';import _0x576691 from'./aiassistantediting.js';import _0x3e695e from'./adapters/aiadapter.js';import{getTranslation as _0xbce885}from'./utils/common-translations.js';import _0x3f3828 from'./ui/showaiassistantcommand.js';import _0x55e7a8 from'./ui/aiassistantcontroller.js';import _0x1a0623 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x560a5e}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';function _0x5167(_0x16d92a,_0x211617){const _0x45db02=_0x45db();return _0x5167=function(_0x516758,_0x329904){_0x516758=_0x516758-0x14a;let _0x2c0afc=_0x45db02[_0x516758];return _0x2c0afc;},_0x5167(_0x16d92a,_0x211617);}import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x4a4cdd(0x17b)];function _0x45db(){const _0x1f3c61=['menuitemcheckbox','ai.useTheme','addMany','set','define','pluginName','promptView','tableOfContents','copy','ai-commands-config-order-collision','buttons','editor','11008632PFFKRF','updatePosition','delegate','get','AI\x20is\x20writing','AIAssistantUI','custom','destroy','featureNotAllowed','splice','from','DataTransfer','insertContent','editing','groupId','hide','model','AI\x20Assistant','setSelection','\x20ck-ai-assistant-ui_theme','componentFactory','change:isError','panelView','getSelectedElement','menuBar:aiAssistant','REPLACE','commands','init','enabledCommandsIds','queryView','reset','9501996JmBNPn','filter','hideFakeVisualSelection','_aiAssistantController','_createAIAssistantUIButton','locale','domainLimit','getData','_populateMenuBarMenu','errorView','3569268OmtCoT','contentArea','9587670sjqaZH','media','render','replace','updateView','aiLicenseKeyValid','_showLicenseError','ai.aiAssistant.contentAreaCssClass','trialLimit','selection','prompt','map','aiLicenseKeyDomainLimit','textAdapter','config','Generated\x20content:\x20%0','1258506rWJHZP','showFakeVisualSelection','isPremiumPlugin','trim','aiLicenseKeyNotAllowed','change','polite','_aiAdapter','showUI','isOfficialPlugin','children','groupLabel','_uiCssClasses','getSelectedBlocks','aiLicenseKeyEvaluationLimit','forEach','menuBar:aiCommands','</p>','view','text/html','length','ai.aiAssistant.commands','sort','update','AIAssistant','INSERT','document','ai.aiAssistant.disabledElements','_dialog','once','ck-ai-assistant-ui','aiLicenseKeyUsageLimit','ck-ai-commands-dropdown\x20','fire','isFlat','licenseKey','Error\x20during\x20AI\x20content\x20generation:\x20%0','EDITOR_TOP_SIDE','announce','push','<p>','fieldView','usageLimit','getRanges','show','listenTo','currentContext','6ukpuFG','body','source','isOn','focus','expired','text','plugins','_commandDefinitions','requiresContent','_getResolvedCommandsDefinitions','_formView','_getMenuBarGroupButtons','menuPanelClass','values','AI\x20Commands','requires','aiAssistant','aiLicenseKeyExpired','6CQWTjH','isEnabled','order','command:','wasMoved','items','_initView','isCollapsed','change:isProcessing','includes','add','evaluationLimit','menuView','_forceMarkersCopy','aiCommands','_licenseKeyCheckInterval','aiLicenseKeyTrialLimit','invalid','2671880EUntQy','getLimitElement','hideUI','change:enabledCommandsIds','insertContentBelow','replaceContent','label','_initAriaAiStatusChangeAnnouncements','687078nbUstl','change:value','schema','aiLicenseKeyInvalid','bind','_onExecute','execute','comment','ck-ai-assistant-button\x20','rawHtml','buttonView','showAIAssistant'];_0x45db=function(){return _0x1f3c61;};return _0x45db();}import{ClipboardMarkersUtils as _0x322ad1}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2508e4,DataTransfer as _0x4437b7}from'ckeditor5/src/engine.js';export default class n extends _0x1927a5{[_0x4a4cdd(0x1ce)];[_0x4a4cdd(0x14d)];[_0x4a4cdd(0x1c7)];[_0x4a4cdd(0x1e5)];[_0x4a4cdd(0x1b2)];[_0x4a4cdd(0x192)];[_0x4a4cdd(0x1b7)]='';static get[_0x4a4cdd(0x169)](){const _0x23ab16=_0x4a4cdd;return _0x23ab16(0x175);}static get[_0x4a4cdd(0x1b4)](){return!0x0;}static get[_0x4a4cdd(0x1ad)](){return!0x0;}static get[_0x4a4cdd(0x1ea)](){return[_0x322ad1,_0x576691,_0x3e695e,_0xa27bce];}constructor(_0x5e342f){const _0x3d4764=_0x4a4cdd;super(_0x5e342f),_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x168)](_0x3d4764(0x1c6),[_0x3d4764(0x19c),_0x3d4764(0x161),_0x3d4764(0x16b)]),_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x168)](_0x3d4764(0x1a2),''),_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x168)](_0x3d4764(0x165),!0x0),this[_0x3d4764(0x1b7)]=_0x3d4764(0x1c9)+(_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x173)](_0x3d4764(0x165))?_0x3d4764(0x183):'');}[_0x4a4cdd(0x18b)](){const _0x46adc2=_0x4a4cdd,{editor:_0x65958e}=this;this[_0x46adc2(0x1b2)]=_0x65958e[_0x46adc2(0x1e1)][_0x46adc2(0x173)](_0x3e695e),this[_0x46adc2(0x1c7)]=_0x65958e[_0x46adc2(0x1e1)][_0x46adc2(0x173)](_0xa27bce),this[_0x46adc2(0x1e5)]=null,this[_0x46adc2(0x1e2)]=this[_0x46adc2(0x1e4)]();const _0x5b0d73=new _0x3f3828(_0x65958e,Array[_0x46adc2(0x17a)](this[_0x46adc2(0x1e2)][_0x46adc2(0x1e8)]()));_0x65958e[_0x46adc2(0x18a)][_0x46adc2(0x1f7)](_0x46adc2(0x163),_0x5b0d73),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x14c),_0x3b7e97=>{const _0x426c8e=_0x46adc2,_0x43e3ba=_0x10d10(_0x3b7e97);return _0x43e3ba[_0x426c8e(0x167)]({'class':_0x426c8e(0x1cb)+this[_0x426c8e(0x1b7)]}),_0x43e3ba[_0x426c8e(0x162)][_0x426c8e(0x167)]({'label':_0xbce885(_0x3b7e97,_0x426c8e(0x1e9)),'icon':_0x3ed3d6,'tooltip':!0x0}),_0x43e3ba['on'](_0x426c8e(0x15e),_0x5e10cf=>this[_0x426c8e(0x15d)](_0x5e10cf[_0x426c8e(0x1dc)]['id'])),_0x3a10ab(_0x43e3ba,_0x65958e['ui'][_0x426c8e(0x1bd)][_0x426c8e(0x1db)],function(_0x21d5e3){const _0x1d4361=_0x426c8e,_0x12367f=_0xf9f803(_0x21d5e3[_0x1d4361(0x1a9)][_0x1d4361(0x173)](_0x1d4361(0x1c0)),_0x21d5e3[_0x1d4361(0x194)]),_0x4d2743=U(_0x21d5e3,_0x12367f)[_0x1d4361(0x190)](_0x2634fd=>_0x2634fd[_0x1d4361(0x18a)][_0x1d4361(0x1bf)]);if(0x1===_0x4d2743[_0x1d4361(0x1bf)])return U(_0x21d5e3,_0x4d2743[0x0][_0x1d4361(0x18a)])[_0x1d4361(0x1a6)](_0x1a7730=>({'id':_0x1a7730['id'],'label':_0x1a7730[_0x1d4361(0x156)]}));return _0x4d2743[_0x1d4361(0x1a6)](_0x4b9ba9=>{const _0x14f3ed=_0x1d4361,{groupId:_0x274764,groupLabel:_0x421ea4,commands:_0x6fed6a}=_0x4b9ba9,_0x2a23ce=U(_0x21d5e3,_0x6fed6a)[_0x14f3ed(0x1a6)](_0xb637d0=>({'id':_0xb637d0['id'],'label':_0xb637d0[_0x14f3ed(0x156)]}));return{'id':_0x274764,'menu':_0x421ea4||_0x274764,'children':_0x2a23ce};});}(_0x65958e),{'ariaLabel':_0xbce885(_0x3b7e97,_0x426c8e(0x1e9))}),_0x43e3ba[_0x426c8e(0x14a)][_0x426c8e(0x1e7)]=_0x426c8e(0x1cb)+this[_0x426c8e(0x1b7)],_0x5b0d73['on'](_0x426c8e(0x153),_0x36ce22),_0x43e3ba[_0x426c8e(0x14a)][_0x426c8e(0x1c8)](_0x426c8e(0x19d),_0x36ce22),_0x43e3ba;function _0x36ce22(){const _0x5334aa=_0x426c8e;_0x43e3ba[_0x5334aa(0x1ee)]=_0x5b0d73[_0x5334aa(0x18c)][_0x5334aa(0x1bf)]>0x0;for(const _0x2b7716 of _0x43e3ba[_0x5334aa(0x14a)][_0x5334aa(0x16e)])_0x2b7716[_0x5334aa(0x1ee)]=_0x5b0d73[_0x5334aa(0x18c)][_0x5334aa(0x1f6)](_0x2b7716['id']);}}),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x1bb),_0x2ba7d9=>{const _0x512392=_0x46adc2,_0x58253a=new _0x41b6e4(_0x2ba7d9);_0x58253a[_0x512392(0x162)][_0x512392(0x167)]({'label':_0xbce885(_0x2ba7d9,_0x512392(0x1e9)),'icon':_0x3ed3d6}),_0x58253a[_0x512392(0x15c)](_0x512392(0x1ee))['to'](_0x5b0d73,_0x512392(0x18c),_0x2795b7=>_0x2795b7[_0x512392(0x1bf)]>0x0);const _0x5d9239=_0xf9f803(_0x65958e[_0x512392(0x1a9)][_0x512392(0x173)](_0x512392(0x1c0)),_0x2ba7d9);return this[_0x512392(0x197)](_0x5b0d73,_0x58253a,_0x5d9239,_0x229fff=>this[_0x512392(0x15d)](_0x229fff)),_0x58253a;}),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x1eb),()=>{const _0x57d6f7=_0x46adc2,_0x23df8c=this[_0x57d6f7(0x193)](_0x5c2fea);return _0x23df8c[_0x57d6f7(0x167)]({'tooltip':!0x0,'class':_0x57d6f7(0x160)+this[_0x57d6f7(0x1b7)]}),_0x23df8c;}),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x188),()=>{const _0x47249b=_0x46adc2,_0x29dec2=this[_0x47249b(0x193)](_0xa06f98);return _0x29dec2[_0x47249b(0x167)]({'role':_0x47249b(0x164)}),_0x29dec2;}),this[_0x46adc2(0x1ce)]=this[_0x46adc2(0x16f)][_0x46adc2(0x1a9)][_0x46adc2(0x173)](_0x46adc2(0x1ce));const _0x5901ee=this[_0x46adc2(0x16f)];this[_0x46adc2(0x14d)]=setInterval(()=>{const _0x4ec3dd=_0x46adc2;let _0x21eab9;for(const _0x33ece1 in _0x5901ee){const _0x198f35=_0x33ece1,_0x9b427e=_0x5901ee[_0x198f35];if(_0x4ec3dd(0x1a0)==_0x9b427e||_0x4ec3dd(0x15b)==_0x9b427e||_0x4ec3dd(0x1ec)==_0x9b427e||_0x4ec3dd(0x1a7)==_0x9b427e||_0x4ec3dd(0x1af)==_0x9b427e||_0x4ec3dd(0x1b9)==_0x9b427e||_0x4ec3dd(0x14e)==_0x9b427e||_0x4ec3dd(0x1ca)==_0x9b427e){delete _0x5901ee[_0x198f35],_0x21eab9=_0x9b427e,clearInterval(this[_0x4ec3dd(0x14d)]),this[_0x4ec3dd(0x14d)]=void 0x0;break;}}_0x4ec3dd(0x15b)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x14f)),_0x4ec3dd(0x1ec)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1df)),_0x4ec3dd(0x1a7)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x195)),_0x4ec3dd(0x1af)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x178),_0x4ec3dd(0x1c3)),_0x4ec3dd(0x1b9)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1f8)),_0x4ec3dd(0x14e)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1a3)),_0x4ec3dd(0x1ca)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1d5));},0x3e8);}[_0x4a4cdd(0x177)](){const _0x147d78=_0x4a4cdd;super[_0x147d78(0x177)](),this[_0x147d78(0x14d)]&&clearInterval(this[_0x147d78(0x14d)]);}[_0x4a4cdd(0x1b3)](_0xf8a488='',_0x4a0a4e='',_0x4a8c7f=_0x4a4cdd(0x176)){const _0x56d7af=_0x4a4cdd,_0x490fc6=this[_0x56d7af(0x16f)],_0x41838c=_0x490fc6[_0x56d7af(0x17d)][_0x56d7af(0x1bd)],_0x3659b1=_0x490fc6[_0x56d7af(0x1e1)][_0x56d7af(0x173)](_0x576691),_0x1f251c=_0x490fc6[_0x56d7af(0x1e1)][_0x56d7af(0x173)](_0x322ad1);_0x3659b1[_0x56d7af(0x1ac)]();const _0x6f87f=new w(),_0x370032=new ClipboardEvent(_0x56d7af(0x16c),{'clipboardData':_0x6f87f}),_0x749ad7=new _0x4437b7(_0x6f87f),_0x1c8cff=new _0x2508e4(_0x41838c,_0x370032,{'dataTransfer':_0x749ad7});_0x1f251c[_0x56d7af(0x14b)](_0x56d7af(0x15f),()=>{const _0x3ee3df=_0x56d7af;_0x41838c[_0x3ee3df(0x1c5)][_0x3ee3df(0x1cc)](_0x3ee3df(0x16c),_0x1c8cff);}),this[_0x56d7af(0x1e5)]||(this[_0x56d7af(0x1f3)](),this[_0x56d7af(0x192)]=new _0x55e7a8(_0x490fc6,this[_0x56d7af(0x1b2)][_0x56d7af(0x1a8)],this[_0x56d7af(0x1e5)]));let _0x395ebe=_0x749ad7[_0x56d7af(0x196)](_0x56d7af(0x1be));const _0x4b2d84=_0x490fc6[_0x56d7af(0x180)][_0x56d7af(0x1c5)][_0x56d7af(0x1a4)],_0x1a17b7=Array[_0x56d7af(0x17a)](_0x4b2d84[_0x56d7af(0x1d6)]());0x1===_0x1a17b7[_0x56d7af(0x1bf)]&&_0x1a17b7[0x0][_0x56d7af(0x1cd)]&&!_0x4b2d84[_0x56d7af(0x187)]()&&''!==_0x395ebe[_0x56d7af(0x19e)](/ /g,'')[_0x56d7af(0x1ae)]()&&(_0x395ebe=_0x56d7af(0x1d3)+_0x395ebe+_0x56d7af(0x1bc)),this[_0x56d7af(0x192)][_0x56d7af(0x19f)]({'actionId':_0x4a8c7f,'query':_0xf8a488,'htmlContent':_0x395ebe,'label':_0x4a0a4e,'mainActionLabel':_0x560a5e[_0x490fc6[_0x56d7af(0x180)][_0x56d7af(0x1c5)][_0x56d7af(0x1a4)][_0x56d7af(0x1f4)]?_0x56d7af(0x1c4):_0x56d7af(0x189)]}),_0x56d7af(0x1eb)!==this[_0x56d7af(0x1c7)]['id']?this[_0x56d7af(0x1c7)][_0x56d7af(0x1d7)]({'id':_0x56d7af(0x1eb),'icon':_0x58c8b9,'title':_0xbce885(this[_0x56d7af(0x16f)][_0x56d7af(0x194)],_0x56d7af(0x181)),'content':this[_0x56d7af(0x1e5)],'position':_0x595a54[_0x56d7af(0x1d0)],'onShow':()=>{const _0x38e578=_0x56d7af;this[_0x38e578(0x1e5)][_0x38e578(0x1de)]();},'onHide':()=>{const _0x4f4ccf=_0x56d7af;this[_0x4f4ccf(0x192)][_0x4f4ccf(0x18e)](),_0x3659b1[_0x4f4ccf(0x191)]();}}):this[_0x56d7af(0x1c7)][_0x56d7af(0x1bd)][_0x56d7af(0x1f1)]||this[_0x56d7af(0x1c7)][_0x56d7af(0x1bd)][_0x56d7af(0x171)]();}[_0x4a4cdd(0x152)](){const _0x2596bc=_0x4a4cdd;this[_0x2596bc(0x1c7)][_0x2596bc(0x17f)]();}[_0x4a4cdd(0x1e4)](){const _0x4b624=_0x4a4cdd,_0x50fa69=new Map(),_0x2dc5b0=_0xf9f803(this[_0x4b624(0x16f)][_0x4b624(0x1a9)][_0x4b624(0x173)](_0x4b624(0x1c0)),this[_0x4b624(0x16f)][_0x4b624(0x194)]);for(const _0x5b7407 of _0x2dc5b0)for(const _0x4393ec of _0x5b7407[_0x4b624(0x18a)])_0x50fa69[_0x4b624(0x167)](_0x4393ec['id'],{..._0x4393ec,'groupId':_0x5b7407[_0x4b624(0x17e)],'groupLabel':_0x5b7407[_0x4b624(0x1b6)]||_0x5b7407[_0x4b624(0x17e)]});return _0x50fa69;}[_0x4a4cdd(0x193)](_0x2ddbec){const _0x206aa8=_0x4a4cdd,_0xbe9a3c=this[_0x206aa8(0x16f)],_0x23b9ec=_0xbe9a3c[_0x206aa8(0x18a)][_0x206aa8(0x173)](_0x206aa8(0x163)),_0x388728=new _0x2ddbec(_0xbe9a3c[_0x206aa8(0x194)]);return _0x388728[_0x206aa8(0x167)]({'label':_0xbce885(_0xbe9a3c[_0x206aa8(0x194)],_0x206aa8(0x181)),'icon':_0x58c8b9,'isToggleable':!0x0}),_0x388728[_0x206aa8(0x15c)](_0x206aa8(0x1ee))['to'](_0x23b9ec),_0x388728[_0x206aa8(0x15c)](_0x206aa8(0x1dd))['to'](this[_0x206aa8(0x1c7)],'id',_0x5da879=>_0x206aa8(0x1eb)===_0x5da879),this[_0x206aa8(0x1d8)](_0x388728,_0x206aa8(0x15e),()=>{const _0x1fe424=_0x206aa8;_0x388728[_0x1fe424(0x1dd)]?this[_0x1fe424(0x152)]():_0x23b9ec[_0x1fe424(0x15e)]();}),_0x388728;}[_0x4a4cdd(0x1f3)](){const _0x2ebc68=_0x4a4cdd,_0x418128=this[_0x2ebc68(0x16f)][_0x2ebc68(0x1e1)][_0x2ebc68(0x173)](_0x576691);this[_0x2ebc68(0x1e5)]=new _0x1a0623(this[_0x2ebc68(0x16f)][_0x2ebc68(0x194)],this[_0x2ebc68(0x1b7)],this[_0x2ebc68(0x16f)][_0x2ebc68(0x1a9)][_0x2ebc68(0x173)](_0x2ebc68(0x1a2))),this[_0x2ebc68(0x1e5)]['on'](_0x2ebc68(0x159),()=>{const _0x16e948=_0x2ebc68;this[_0x16e948(0x1c7)][_0x16e948(0x1bd)][_0x16e948(0x1f1)]||this[_0x16e948(0x1c7)][_0x16e948(0x1bd)][_0x16e948(0x171)]();}),this[_0x2ebc68(0x1e5)][_0x2ebc68(0x16a)][_0x2ebc68(0x18d)][_0x2ebc68(0x1d4)]['on'](_0x2ebc68(0x1c2),()=>{const _0x3c82bc=_0x2ebc68;this[_0x3c82bc(0x1c7)][_0x3c82bc(0x1bd)][_0x3c82bc(0x1f1)]||this[_0x3c82bc(0x1c7)][_0x3c82bc(0x1bd)][_0x3c82bc(0x171)]();}),this[_0x2ebc68(0x1d8)](this[_0x2ebc68(0x1e5)],_0x2ebc68(0x155),()=>{const _0x2c080f=_0x2ebc68;_0x418128[_0x2c080f(0x17c)](this[_0x2c080f(0x192)][_0x2c080f(0x1d9)]),this[_0x2c080f(0x152)]();}),this[_0x2ebc68(0x1d8)](this[_0x2ebc68(0x1e5)],_0x2ebc68(0x154),()=>{const _0x33a17e=_0x2ebc68;_0x418128[_0x33a17e(0x154)](this[_0x33a17e(0x192)][_0x33a17e(0x1d9)]),this[_0x33a17e(0x152)]();}),this[_0x2ebc68(0x157)]();}[_0x4a4cdd(0x157)](){const _0x27b0f1=_0x4a4cdd,{locale:_0x37c3bb,ui:{ariaLiveAnnouncer:_0x3a3b65}}=this[_0x27b0f1(0x16f)];this[_0x27b0f1(0x1e5)][_0x27b0f1(0x19a)]['on'](_0x27b0f1(0x1f5),(_0x1d822b,_0x43f9e1,_0x195be4)=>{const _0x14a578=_0x27b0f1,_0x4f6ddd=this[_0x14a578(0x192)][_0x14a578(0x1d9)];_0x195be4?_0x3a3b65[_0x14a578(0x1d1)](_0xbce885(_0x37c3bb,_0x14a578(0x174))):_0x4f6ddd&&_0x3a3b65[_0x14a578(0x1d1)](_0xbce885(_0x37c3bb,_0x14a578(0x1aa),_0x4f6ddd),{'politeness':_0x14a578(0x1b1),'isUnsafeHTML':!0x0});}),this[_0x27b0f1(0x1e5)]['on'](_0x27b0f1(0x185),(_0x5d905d,_0x213a7b,_0x5255d4)=>{const _0xa3724d=_0x27b0f1;if(_0x5255d4){const _0x4fc5ef=this[_0xa3724d(0x1e5)][_0xa3724d(0x198)][_0xa3724d(0x1e0)];_0x3a3b65[_0xa3724d(0x1d1)](_0xbce885(_0x37c3bb,_0xa3724d(0x1cf),_0x4fc5ef));}});}[_0x4a4cdd(0x15d)](_0x5d2f7c){const _0x54b43d=_0x4a4cdd,_0x3733f6=this[_0x54b43d(0x1e2)][_0x54b43d(0x173)](_0x5d2f7c),_0x3221d8=this[_0x54b43d(0x16f)],_0x5b68ac=_0x3221d8[_0x54b43d(0x180)][_0x54b43d(0x1c5)][_0x54b43d(0x1a4)],_0x265846=_0x3221d8[_0x54b43d(0x18a)][_0x54b43d(0x173)](_0x54b43d(0x163)),_0x596acb=_0x3221d8[_0x54b43d(0x1e1)][_0x54b43d(0x173)](_0x576691),_0x51b9af=''+(_0x3733f6[_0x54b43d(0x17e)]!==_0x351634?_0x3733f6[_0x54b43d(0x1b6)]+':\x20':'')+_0x3733f6[_0x54b43d(0x156)];if(!0x1!==_0x3733f6[_0x54b43d(0x1e3)]&&_0x5b68ac[_0x54b43d(0x1f4)]){const _0x91f30f=_0x3da13a(_0x5b68ac[_0x54b43d(0x1b8)]())||_0x3221d8[_0x54b43d(0x180)][_0x54b43d(0x15a)][_0x54b43d(0x151)](_0x5b68ac);_0x3221d8[_0x54b43d(0x180)][_0x54b43d(0x1b0)](_0x564344=>{const _0x66f6b1=_0x54b43d;_0x564344[_0x66f6b1(0x182)](_0x91f30f,'in');});}_0x596acb[_0x54b43d(0x1ac)](),_0x265846[_0x54b43d(0x15e)](_0x3733f6[_0x54b43d(0x1a5)],_0x51b9af,_0x54b43d(0x1f0)+_0x5d2f7c);}[_0x4a4cdd(0x197)](_0x3edef2,_0xd25961,_0x537613,_0x8a45d4){const _0x2aea76=_0x4a4cdd,_0x439e83=this[_0x2aea76(0x16f)],_0x154836=_0x439e83[_0x2aea76(0x194)],_0x5851c1=new _0x559716(_0x154836),_0x10f5b2=U(_0x439e83,_0x537613)[_0x2aea76(0x190)](_0x190214=>_0x190214[_0x2aea76(0x18a)][_0x2aea76(0x1bf)]);0x1===_0x10f5b2[_0x2aea76(0x1bf)]?this[_0x2aea76(0x1e6)]({'command':_0x3edef2,'commands':_0x10f5b2[0x0][_0x2aea76(0x18a)],'parentMenuView':_0xd25961,'onExecute':_0x8a45d4})[_0x2aea76(0x1ba)](_0x2684ab=>_0x5851c1[_0x2aea76(0x1f2)][_0x2aea76(0x1f7)](_0x2684ab)):_0x10f5b2[_0x2aea76(0x1ba)](({groupId:_0x2b65f3,groupLabel:_0x561f49,commands:_0x811f0b})=>{const _0x3237b8=_0x2aea76,_0x535dff=new _0x3ca924(_0x154836,_0xd25961),_0x2789e4=new _0x41b6e4(_0x154836),_0x14e949=new _0x559716(_0x154836),_0x4706d8=this[_0x3237b8(0x1e6)]({'command':_0x3edef2,'commands':_0x811f0b,'parentMenuView':_0x2789e4,'onExecute':_0x8a45d4});_0x2789e4[_0x3237b8(0x162)][_0x3237b8(0x167)]({'label':_0x561f49||_0x2b65f3}),_0x2789e4[_0x3237b8(0x172)](_0x3237b8(0x15e))['to'](_0xd25961),_0x14e949[_0x3237b8(0x1f2)][_0x3237b8(0x166)](_0x4706d8),_0x2789e4[_0x3237b8(0x186)][_0x3237b8(0x1b5)][_0x3237b8(0x1f7)](_0x14e949),_0x535dff[_0x3237b8(0x1b5)][_0x3237b8(0x1f7)](_0x2789e4),_0x5851c1[_0x3237b8(0x1f2)][_0x3237b8(0x1f7)](_0x535dff);}),_0xd25961[_0x2aea76(0x186)][_0x2aea76(0x1b5)][_0x2aea76(0x1f7)](_0x5851c1);}[_0x4a4cdd(0x1e6)]({command:_0x309ca3,commands:_0x28f4de,parentMenuView:_0x18bf7e,onExecute:_0x3b3e67}){const _0x5c8509=_0x4a4cdd,_0x216e5c=this[_0x5c8509(0x16f)],_0x2126ed=_0x216e5c[_0x5c8509(0x194)];return U(_0x216e5c,_0x28f4de)[_0x5c8509(0x1a6)](_0x38ecc1=>{const _0x2217ce=_0x5c8509,_0x152e9f=new _0x3ca924(_0x2126ed,_0x18bf7e),_0x479939=new _0xa06f98(_0x2126ed);return _0x479939[_0x2217ce(0x167)]({'label':_0x38ecc1[_0x2217ce(0x156)]}),_0x479939[_0x2217ce(0x172)](_0x2217ce(0x15e))['to'](_0x18bf7e),_0x479939['on'](_0x2217ce(0x15e),()=>_0x3b3e67(_0x38ecc1['id'])),_0x479939[_0x2217ce(0x15c)](_0x2217ce(0x1ee))['to'](_0x309ca3,_0x2217ce(0x18c),_0xd718c4=>_0xd718c4[_0x2217ce(0x1f6)](_0x38ecc1['id'])),_0x152e9f[_0x2217ce(0x1b5)][_0x2217ce(0x1f7)](_0x479939),_0x152e9f;});}}function B(_0x15ef78,_0x3d138d){const _0xca1aa=_0x4a4cdd;return void 0x0!==_0x15ef78[_0xca1aa(0x1ef)]&&void 0x0===_0x3d138d[_0xca1aa(0x1ef)]?0x1:void 0x0===_0x15ef78[_0xca1aa(0x1ef)]&&void 0x0!==_0x3d138d[_0xca1aa(0x1ef)]?-0x1:void 0x0!==_0x15ef78[_0xca1aa(0x1ef)]&&void 0x0!==_0x3d138d[_0xca1aa(0x1ef)]?_0x15ef78[_0xca1aa(0x1ef)]-_0x3d138d[_0xca1aa(0x1ef)]:0x0;}function U(_0xdc5090,_0x566f96){const _0x25d782=_0x4a4cdd;_0x566f96[_0x25d782(0x1c1)](B);const _0x3886a1={},_0x16766b=[];for(const _0x1aa170 of _0x566f96)if(void 0x0!==_0x1aa170[_0x25d782(0x1ef)]){if(_0x1aa170[_0x25d782(0x1ef)]in _0x3886a1)throw new _0x1e88c7(_0x25d782(0x16d),_0xdc5090,{'conflictingDefinitions':[_0x1aa170,_0x3886a1[_0x1aa170[_0x25d782(0x1ef)]]]});_0x3886a1[_0x1aa170[_0x25d782(0x1ef)]]=_0x1aa170,_0x16766b[_0x25d782(0x179)](_0x1aa170[_0x25d782(0x1ef)],0x0,_0x1aa170);}else _0x16766b[_0x25d782(0x1d2)](_0x1aa170);return _0x16766b;}
|
|
23
|
+
const _0x5c8240=_0x294a;(function(_0x2061e6,_0x31fe01){const _0x1e1790=_0x294a,_0x53b49=_0x2061e6();while(!![]){try{const _0x3eabd8=parseInt(_0x1e1790(0x136))/0x1*(-parseInt(_0x1e1790(0x10e))/0x2)+parseInt(_0x1e1790(0x108))/0x3*(parseInt(_0x1e1790(0xda))/0x4)+parseInt(_0x1e1790(0xa7))/0x5+parseInt(_0x1e1790(0xec))/0x6*(parseInt(_0x1e1790(0xa4))/0x7)+parseInt(_0x1e1790(0x99))/0x8*(-parseInt(_0x1e1790(0x100))/0x9)+-parseInt(_0x1e1790(0xc0))/0xa+-parseInt(_0x1e1790(0x125))/0xb*(-parseInt(_0x1e1790(0x101))/0xc);if(_0x3eabd8===_0x31fe01)break;else _0x53b49['push'](_0x53b49['shift']());}catch(_0x3aaa67){_0x53b49['push'](_0x53b49['shift']());}}}(_0x428c,0xb7887));function _0x428c(){const _0x4851ce=['updatePosition','aiLicenseKeyTrialLimit','componentFactory','evaluationLimit','</p>','fire','_dialog','_getResolvedCommandsDefinitions','requires','push','aiLicenseKeyDomainLimit','setSelection','groupLabel','commands','9kogdgy','1416lFCZuj','INSERT','map','trialLimit','_populateMenuBarMenu','pluginName','from','59784EwKHxi','_onExecute','forEach','set','buttonView','destroy','1339978RKrXqK','listenTo','plugins','ai.useTheme','comment','includes','splice','isOfficialPlugin','aiLicenseKeyInvalid','ck-ai-assistant-ui','reset','queryView','hideUI','model','aiLicenseKeyUsageLimit','once','copy','showAIAssistant','licenseKey','label','delegate','_commandDefinitions','hide','151888IfpqaE','show','aiAssistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','_forceMarkersCopy','items','textAdapter','locale','document','EDITOR_TOP_SIDE','isOn','selection','AI\x20is\x20writing','_licenseKeyCheckInterval','ai.aiAssistant.commands','aiLicenseKeyExpired','config','1tTgOKv','change:value','change','editing','DataTransfer','<p>','focus','panelView','init','replace','getLimitElement','trim','menuBar:aiAssistant','get','tableOfContents','errorView','showUI','getData','body','_initView','bind','5442384sGfcFW','isEnabled','addMany','showFakeVisualSelection','announce','getSelectedBlocks','isCollapsed','schema','rawHtml','buttons','featureNotAllowed','791oGeTAt','enabledCommandsIds','view','134785eJNuUG','source','menuPanelClass','aiLicenseKeyEvaluationLimit','_formView','insertContent','change:enabledCommandsIds','ck-ai-commands-dropdown\x20','change:isProcessing','execute','expired','update','values','AI\x20Commands','updateView','hideFakeVisualSelection','isPremiumPlugin','getRanges','media','polite','Generated\x20content:\x20%0','custom','render','\x20ck-ai-assistant-ui_theme','promptView','11512740FFKTiw','order','usageLimit','AIAssistant','fieldView','ai.aiAssistant.contentAreaCssClass','REPLACE','wasMoved','change:isError','replaceContent','command:','length','insertContentBelow','ai.aiAssistant.disabledElements','_uiCssClasses','filter','domainLimit','_aiAdapter','menuBar:aiCommands','currentContext','_getMenuBarGroupButtons','getSelectedElement','AI\x20Assistant','_initAriaAiStatusChangeAnnouncements','text','add','292Lglohg','prompt','aiLicenseKeyValid','isFlat','AIAssistantUI','_aiAssistantController','define','sort','groupId','_createAIAssistantUIButton','_showLicenseError','aiCommands','children','aiLicenseKeyNotAllowed','ck-ai-assistant-button\x20','invalid','menuView','menuitemcheckbox','7554DSCdhf','text/html','editor','contentArea','requiresContent','ai-commands-config-order-collision'];_0x428c=function(){return _0x4851ce;};return _0x428c();}import{Plugin as _0x1075e4}from'ckeditor5/src/core.js';import{IconMagicWand as _0x33c665,IconRobotPencil as _0x388c49}from'ckeditor5/src/icons.js';import{first as _0x45b39,CKEditorError as _0x5d618a}from'ckeditor5/src/utils.js';function _0x294a(_0x4315ef,_0x2a468f){const _0x428c48=_0x428c();return _0x294a=function(_0x294a8a,_0x592b80){_0x294a8a=_0x294a8a-0x8a;let _0x38bcb3=_0x428c48[_0x294a8a];return _0x38bcb3;},_0x294a(_0x4315ef,_0x2a468f);}import{createDropdown as _0x412f86,addMenuToDropdown as _0xef130,ButtonView as _0x4e6515,MenuBarMenuListItemButtonView as _0x38b86f,Dialog as _0x6a3f98,DialogViewPosition as _0x3b66a9,MenuBarMenuView as _0xa89877,MenuBarMenuListView as _0x16cc11,MenuBarMenuListItemView as _0x1fe5a4}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0xd18c72,UNGROUPED_COMMANDS_GROUP_ID as _0x4d794d}from'./utils/normalizecommandsconfig.js';import _0x4d3db5 from'./aiassistantediting.js';import _0x4106a0 from'./adapters/aiadapter.js';import{getTranslation as _0x4f7776}from'./utils/common-translations.js';import _0x112024 from'./ui/showaiassistantcommand.js';import _0x4eda84 from'./ui/aiassistantcontroller.js';import _0x122699 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x40d9ee}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5c8240(0x13a)];import{ClipboardMarkersUtils as _0x2d9ed7}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2f6757,DataTransfer as _0x761454}from'ckeditor5/src/engine.js';export default class n extends _0x1075e4{[_0x5c8240(0x120)];[_0x5c8240(0x132)];[_0x5c8240(0xf8)];[_0x5c8240(0xab)];[_0x5c8240(0xd1)];[_0x5c8240(0xdf)];[_0x5c8240(0xce)]='';static get[_0x5c8240(0x106)](){const _0x2e6f71=_0x5c8240;return _0x2e6f71(0xde);}static get[_0x5c8240(0x115)](){return!0x0;}static get[_0x5c8240(0xb7)](){return!0x0;}static get[_0x5c8240(0xfa)](){return[_0x2d9ed7,_0x4d3db5,_0x4106a0,_0x6a3f98];}constructor(_0x40ef82){const _0x20bf29=_0x5c8240;super(_0x40ef82),_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0xe0)](_0x20bf29(0xcd),[_0x20bf29(0xb9),_0x20bf29(0xa1),_0x20bf29(0x92)]),_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0xe0)](_0x20bf29(0xc5),''),_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0xe0)](_0x20bf29(0x111),!0x0),this[_0x20bf29(0xce)]=_0x20bf29(0x117)+(_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0x91)](_0x20bf29(0x111))?_0x20bf29(0xbe):'');}[_0x5c8240(0x8c)](){const _0x34e34f=_0x5c8240,{editor:_0x308745}=this;this[_0x34e34f(0xd1)]=_0x308745[_0x34e34f(0x110)][_0x34e34f(0x91)](_0x4106a0),this[_0x34e34f(0xf8)]=_0x308745[_0x34e34f(0x110)][_0x34e34f(0x91)](_0x6a3f98),this[_0x34e34f(0xab)]=null,this[_0x34e34f(0x123)]=this[_0x34e34f(0xf9)]();const _0x25dd51=new _0x112024(_0x308745,Array[_0x34e34f(0x107)](this[_0x34e34f(0x123)][_0x34e34f(0xb3)]()));_0x308745[_0x34e34f(0xff)][_0x34e34f(0xd9)](_0x34e34f(0x11f),_0x25dd51),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0xe5),_0x487bcd=>{const _0x48aeb9=_0x34e34f,_0x255e06=_0x412f86(_0x487bcd);return _0x255e06[_0x48aeb9(0x10b)]({'class':_0x48aeb9(0xae)+this[_0x48aeb9(0xce)]}),_0x255e06[_0x48aeb9(0x10c)][_0x48aeb9(0x10b)]({'label':_0x4f7776(_0x487bcd,_0x48aeb9(0xb4)),'icon':_0x33c665,'tooltip':!0x0}),_0x255e06['on'](_0x48aeb9(0xb0),_0x30b1ee=>this[_0x48aeb9(0x109)](_0x30b1ee[_0x48aeb9(0xa8)]['id'])),_0xef130(_0x255e06,_0x308745['ui'][_0x48aeb9(0xa6)][_0x48aeb9(0x96)],function(_0x3c0d44){const _0x327d67=_0x48aeb9,_0x25c926=_0xd18c72(_0x3c0d44[_0x327d67(0x135)][_0x327d67(0x91)](_0x327d67(0x133)),_0x3c0d44[_0x327d67(0x12c)]),_0x325b91=U(_0x3c0d44,_0x25c926)[_0x327d67(0xcf)](_0xd10cff=>_0xd10cff[_0x327d67(0xff)][_0x327d67(0xcb)]);if(0x1===_0x325b91[_0x327d67(0xcb)])return U(_0x3c0d44,_0x325b91[0x0][_0x327d67(0xff)])[_0x327d67(0x103)](_0x51245b=>({'id':_0x51245b['id'],'label':_0x51245b[_0x327d67(0x121)]}));return _0x325b91[_0x327d67(0x103)](_0x407473=>{const _0x37b2e0=_0x327d67,{groupId:_0x1babcd,groupLabel:_0x21e69f,commands:_0x1b19a1}=_0x407473,_0x563788=U(_0x3c0d44,_0x1b19a1)[_0x37b2e0(0x103)](_0x31458f=>({'id':_0x31458f['id'],'label':_0x31458f[_0x37b2e0(0x121)]}));return{'id':_0x1babcd,'menu':_0x21e69f||_0x1babcd,'children':_0x563788};});}(_0x308745),{'ariaLabel':_0x4f7776(_0x487bcd,_0x48aeb9(0xb4))}),_0x255e06[_0x48aeb9(0xea)][_0x48aeb9(0xa9)]=_0x48aeb9(0xae)+this[_0x48aeb9(0xce)],_0x25dd51['on'](_0x48aeb9(0xad),_0x344016),_0x255e06[_0x48aeb9(0xea)][_0x48aeb9(0x11d)](_0x48aeb9(0xbd),_0x344016),_0x255e06;function _0x344016(){const _0x54b868=_0x48aeb9;_0x255e06[_0x54b868(0x9a)]=_0x25dd51[_0x54b868(0xa5)][_0x54b868(0xcb)]>0x0;for(const _0x50696f of _0x255e06[_0x54b868(0xea)][_0x54b868(0xa2)])_0x50696f[_0x54b868(0x9a)]=_0x25dd51[_0x54b868(0xa5)][_0x54b868(0x113)](_0x50696f['id']);}}),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0xd2),_0x1fa9c3=>{const _0x5e2800=_0x34e34f,_0x5b40c1=new _0xa89877(_0x1fa9c3);_0x5b40c1[_0x5e2800(0x10c)][_0x5e2800(0x10b)]({'label':_0x4f7776(_0x1fa9c3,_0x5e2800(0xb4)),'icon':_0x33c665}),_0x5b40c1[_0x5e2800(0x98)](_0x5e2800(0x9a))['to'](_0x25dd51,_0x5e2800(0xa5),_0x5311cd=>_0x5311cd[_0x5e2800(0xcb)]>0x0);const _0x36d56c=_0xd18c72(_0x308745[_0x5e2800(0x135)][_0x5e2800(0x91)](_0x5e2800(0x133)),_0x1fa9c3);return this[_0x5e2800(0x105)](_0x25dd51,_0x5b40c1,_0x36d56c,_0x47e47e=>this[_0x5e2800(0x109)](_0x47e47e)),_0x5b40c1;}),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0x127),()=>{const _0x5e29e0=_0x34e34f,_0x4d435f=this[_0x5e29e0(0xe3)](_0x4e6515);return _0x4d435f[_0x5e29e0(0x10b)]({'tooltip':!0x0,'class':_0x5e29e0(0xe8)+this[_0x5e29e0(0xce)]}),_0x4d435f;}),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0x90),()=>{const _0x3a8dc0=_0x34e34f,_0x2b2bfb=this[_0x3a8dc0(0xe3)](_0x38b86f);return _0x2b2bfb[_0x3a8dc0(0x10b)]({'role':_0x3a8dc0(0xeb)}),_0x2b2bfb;}),this[_0x34e34f(0x120)]=this[_0x34e34f(0xee)][_0x34e34f(0x135)][_0x34e34f(0x91)](_0x34e34f(0x120));const _0xc4693c=this[_0x34e34f(0xee)];this[_0x34e34f(0x132)]=setInterval(()=>{const _0x4708a2=_0x34e34f;let _0x264f75;for(const _0x2dde12 in _0xc4693c){const _0x2b989a=_0x2dde12,_0x13557a=_0xc4693c[_0x2b989a];if(_0x4708a2(0xdc)==_0x13557a||_0x4708a2(0x116)==_0x13557a||_0x4708a2(0x134)==_0x13557a||_0x4708a2(0xfc)==_0x13557a||_0x4708a2(0xe7)==_0x13557a||_0x4708a2(0xaa)==_0x13557a||_0x4708a2(0xf3)==_0x13557a||_0x4708a2(0x11c)==_0x13557a){delete _0xc4693c[_0x2b989a],_0x264f75=_0x13557a,clearInterval(this[_0x4708a2(0x132)]),this[_0x4708a2(0x132)]=void 0x0;break;}}_0x4708a2(0x116)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xe9)),_0x4708a2(0x134)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xb1)),_0x4708a2(0xfc)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xd0)),_0x4708a2(0xe7)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xa3),_0x4708a2(0xc3)),_0x4708a2(0xaa)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xf5)),_0x4708a2(0xf3)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0x104)),_0x4708a2(0x11c)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xc2));},0x3e8);}[_0x5c8240(0x10d)](){const _0x234c24=_0x5c8240;super[_0x234c24(0x10d)](),this[_0x234c24(0x132)]&&clearInterval(this[_0x234c24(0x132)]);}[_0x5c8240(0x94)](_0x2ae88e='',_0x2ad854='',_0x23d607=_0x5c8240(0xbc)){const _0x40a7ca=_0x5c8240,_0x5aab04=this[_0x40a7ca(0xee)],_0x15b3a6=_0x5aab04[_0x40a7ca(0x139)][_0x40a7ca(0xa6)],_0x438c29=_0x5aab04[_0x40a7ca(0x110)][_0x40a7ca(0x91)](_0x4d3db5),_0x3d3916=_0x5aab04[_0x40a7ca(0x110)][_0x40a7ca(0x91)](_0x2d9ed7);_0x438c29[_0x40a7ca(0x9c)]();const _0x3a076e=new w(),_0x1698c3=new ClipboardEvent(_0x40a7ca(0x11e),{'clipboardData':_0x3a076e}),_0x2f60a9=new _0x761454(_0x3a076e),_0x357ee9=new _0x2f6757(_0x15b3a6,_0x1698c3,{'dataTransfer':_0x2f60a9});_0x3d3916[_0x40a7ca(0x129)](_0x40a7ca(0x112),()=>{const _0x1ee924=_0x40a7ca;_0x15b3a6[_0x1ee924(0x12d)][_0x1ee924(0xf7)](_0x1ee924(0x11e),_0x357ee9);}),this[_0x40a7ca(0xab)]||(this[_0x40a7ca(0x97)](),this[_0x40a7ca(0xdf)]=new _0x4eda84(_0x5aab04,this[_0x40a7ca(0xd1)][_0x40a7ca(0x12b)],this[_0x40a7ca(0xab)]));let _0x1241bb=_0x2f60a9[_0x40a7ca(0x95)](_0x40a7ca(0xed));const _0x2d4576=_0x5aab04[_0x40a7ca(0x11b)][_0x40a7ca(0x12d)][_0x40a7ca(0x130)],_0x50aea0=Array[_0x40a7ca(0x107)](_0x2d4576[_0x40a7ca(0xb8)]());0x1===_0x50aea0[_0x40a7ca(0xcb)]&&_0x50aea0[0x0][_0x40a7ca(0xdd)]&&!_0x2d4576[_0x40a7ca(0xd5)]()&&''!==_0x1241bb[_0x40a7ca(0x8d)](/ /g,'')[_0x40a7ca(0x8f)]()&&(_0x1241bb=_0x40a7ca(0x13b)+_0x1241bb+_0x40a7ca(0xf6)),this[_0x40a7ca(0xdf)][_0x40a7ca(0xb5)]({'actionId':_0x23d607,'query':_0x2ae88e,'htmlContent':_0x1241bb,'label':_0x2ad854,'mainActionLabel':_0x40d9ee[_0x5aab04[_0x40a7ca(0x11b)][_0x40a7ca(0x12d)][_0x40a7ca(0x130)][_0x40a7ca(0x9f)]?_0x40a7ca(0x102):_0x40a7ca(0xc6)]}),_0x40a7ca(0x127)!==this[_0x40a7ca(0xf8)]['id']?this[_0x40a7ca(0xf8)][_0x40a7ca(0x126)]({'id':_0x40a7ca(0x127),'icon':_0x388c49,'title':_0x4f7776(this[_0x40a7ca(0xee)][_0x40a7ca(0x12c)],_0x40a7ca(0xd6)),'content':this[_0x40a7ca(0xab)],'position':_0x3b66a9[_0x40a7ca(0x12e)],'onShow':()=>{const _0x4b64d8=_0x40a7ca;this[_0x4b64d8(0xab)][_0x4b64d8(0x8a)]();},'onHide':()=>{const _0x2a000d=_0x40a7ca;this[_0x2a000d(0xdf)][_0x2a000d(0x118)](),_0x438c29[_0x2a000d(0xb6)]();}}):this[_0x40a7ca(0xf8)][_0x40a7ca(0xa6)][_0x40a7ca(0xc7)]||this[_0x40a7ca(0xf8)][_0x40a7ca(0xa6)][_0x40a7ca(0xf2)]();}[_0x5c8240(0x11a)](){const _0xa740b8=_0x5c8240;this[_0xa740b8(0xf8)][_0xa740b8(0x124)]();}[_0x5c8240(0xf9)](){const _0x144490=_0x5c8240,_0x2d2510=new Map(),_0x4e22ba=_0xd18c72(this[_0x144490(0xee)][_0x144490(0x135)][_0x144490(0x91)](_0x144490(0x133)),this[_0x144490(0xee)][_0x144490(0x12c)]);for(const _0x3deb35 of _0x4e22ba)for(const _0x5d446e of _0x3deb35[_0x144490(0xff)])_0x2d2510[_0x144490(0x10b)](_0x5d446e['id'],{..._0x5d446e,'groupId':_0x3deb35[_0x144490(0xe2)],'groupLabel':_0x3deb35[_0x144490(0xfe)]||_0x3deb35[_0x144490(0xe2)]});return _0x2d2510;}[_0x5c8240(0xe3)](_0x377f08){const _0xb3da9e=_0x5c8240,_0x1f8200=this[_0xb3da9e(0xee)],_0xf644ba=_0x1f8200[_0xb3da9e(0xff)][_0xb3da9e(0x91)](_0xb3da9e(0x11f)),_0x164434=new _0x377f08(_0x1f8200[_0xb3da9e(0x12c)]);return _0x164434[_0xb3da9e(0x10b)]({'label':_0x4f7776(_0x1f8200[_0xb3da9e(0x12c)],_0xb3da9e(0xd6)),'icon':_0x388c49,'isToggleable':!0x0}),_0x164434[_0xb3da9e(0x98)](_0xb3da9e(0x9a))['to'](_0xf644ba),_0x164434[_0xb3da9e(0x98)](_0xb3da9e(0x12f))['to'](this[_0xb3da9e(0xf8)],'id',_0x3bae00=>_0xb3da9e(0x127)===_0x3bae00),this[_0xb3da9e(0x10f)](_0x164434,_0xb3da9e(0xb0),()=>{const _0x2106ec=_0xb3da9e;_0x164434[_0x2106ec(0x12f)]?this[_0x2106ec(0x11a)]():_0xf644ba[_0x2106ec(0xb0)]();}),_0x164434;}[_0x5c8240(0x97)](){const _0x447c48=_0x5c8240,_0x6205f6=this[_0x447c48(0xee)][_0x447c48(0x110)][_0x447c48(0x91)](_0x4d3db5);this[_0x447c48(0xab)]=new _0x122699(this[_0x447c48(0xee)][_0x447c48(0x12c)],this[_0x447c48(0xce)],this[_0x447c48(0xee)][_0x447c48(0x135)][_0x447c48(0x91)](_0x447c48(0xc5))),this[_0x447c48(0xab)]['on'](_0x447c48(0x137),()=>{const _0x24144b=_0x447c48;this[_0x24144b(0xf8)][_0x24144b(0xa6)][_0x24144b(0xc7)]||this[_0x24144b(0xf8)][_0x24144b(0xa6)][_0x24144b(0xf2)]();}),this[_0x447c48(0xab)][_0x447c48(0xbf)][_0x447c48(0x119)][_0x447c48(0xc4)]['on'](_0x447c48(0xb2),()=>{const _0x4a878a=_0x447c48;this[_0x4a878a(0xf8)][_0x4a878a(0xa6)][_0x4a878a(0xc7)]||this[_0x4a878a(0xf8)][_0x4a878a(0xa6)][_0x4a878a(0xf2)]();}),this[_0x447c48(0x10f)](this[_0x447c48(0xab)],_0x447c48(0xc9),()=>{const _0xd402f3=_0x447c48;_0x6205f6[_0xd402f3(0xac)](this[_0xd402f3(0xdf)][_0xd402f3(0xd3)]),this[_0xd402f3(0x11a)]();}),this[_0x447c48(0x10f)](this[_0x447c48(0xab)],_0x447c48(0xcc),()=>{const _0xbcae6f=_0x447c48;_0x6205f6[_0xbcae6f(0xcc)](this[_0xbcae6f(0xdf)][_0xbcae6f(0xd3)]),this[_0xbcae6f(0x11a)]();}),this[_0x447c48(0xd7)]();}[_0x5c8240(0xd7)](){const _0xb54cc9=_0x5c8240,{locale:_0x196910,ui:{ariaLiveAnnouncer:_0x1271aa}}=this[_0xb54cc9(0xee)];this[_0xb54cc9(0xab)][_0xb54cc9(0xef)]['on'](_0xb54cc9(0xaf),(_0x52dfcf,_0x469066,_0x2576e5)=>{const _0x5a4ddb=_0xb54cc9,_0x224ec3=this[_0x5a4ddb(0xdf)][_0x5a4ddb(0xd3)];_0x2576e5?_0x1271aa[_0x5a4ddb(0x9d)](_0x4f7776(_0x196910,_0x5a4ddb(0x131))):_0x224ec3&&_0x1271aa[_0x5a4ddb(0x9d)](_0x4f7776(_0x196910,_0x5a4ddb(0xbb),_0x224ec3),{'politeness':_0x5a4ddb(0xba),'isUnsafeHTML':!0x0});}),this[_0xb54cc9(0xab)]['on'](_0xb54cc9(0xc8),(_0x2cd673,_0x39b325,_0x5a4e3d)=>{const _0x121593=_0xb54cc9;if(_0x5a4e3d){const _0x4adfae=this[_0x121593(0xab)][_0x121593(0x93)][_0x121593(0xd8)];_0x1271aa[_0x121593(0x9d)](_0x4f7776(_0x196910,_0x121593(0x128),_0x4adfae));}});}[_0x5c8240(0x109)](_0x1fafad){const _0x2238fa=_0x5c8240,_0x12ebc7=this[_0x2238fa(0x123)][_0x2238fa(0x91)](_0x1fafad),_0x28b49c=this[_0x2238fa(0xee)],_0x4847d5=_0x28b49c[_0x2238fa(0x11b)][_0x2238fa(0x12d)][_0x2238fa(0x130)],_0x5b4ed8=_0x28b49c[_0x2238fa(0xff)][_0x2238fa(0x91)](_0x2238fa(0x11f)),_0x44b1b6=_0x28b49c[_0x2238fa(0x110)][_0x2238fa(0x91)](_0x4d3db5),_0x4e7b54=''+(_0x12ebc7[_0x2238fa(0xe2)]!==_0x4d794d?_0x12ebc7[_0x2238fa(0xfe)]+':\x20':'')+_0x12ebc7[_0x2238fa(0x121)];if(!0x1!==_0x12ebc7[_0x2238fa(0xf0)]&&_0x4847d5[_0x2238fa(0x9f)]){const _0x5ade28=_0x45b39(_0x4847d5[_0x2238fa(0x9e)]())||_0x28b49c[_0x2238fa(0x11b)][_0x2238fa(0xa0)][_0x2238fa(0x8e)](_0x4847d5);_0x28b49c[_0x2238fa(0x11b)][_0x2238fa(0x138)](_0x5c5e3c=>{const _0x5a000d=_0x2238fa;_0x5c5e3c[_0x5a000d(0xfd)](_0x5ade28,'in');});}_0x44b1b6[_0x2238fa(0x9c)](),_0x5b4ed8[_0x2238fa(0xb0)](_0x12ebc7[_0x2238fa(0xdb)],_0x4e7b54,_0x2238fa(0xca)+_0x1fafad);}[_0x5c8240(0x105)](_0x1efa7f,_0x51e6f3,_0x4346a2,_0x25d357){const _0x140eb8=_0x5c8240,_0x49cee2=this[_0x140eb8(0xee)],_0x179705=_0x49cee2[_0x140eb8(0x12c)],_0x17b696=new _0x16cc11(_0x179705),_0x1ccfe0=U(_0x49cee2,_0x4346a2)[_0x140eb8(0xcf)](_0x4064a9=>_0x4064a9[_0x140eb8(0xff)][_0x140eb8(0xcb)]);0x1===_0x1ccfe0[_0x140eb8(0xcb)]?this[_0x140eb8(0xd4)]({'command':_0x1efa7f,'commands':_0x1ccfe0[0x0][_0x140eb8(0xff)],'parentMenuView':_0x51e6f3,'onExecute':_0x25d357})[_0x140eb8(0x10a)](_0x32559d=>_0x17b696[_0x140eb8(0x12a)][_0x140eb8(0xd9)](_0x32559d)):_0x1ccfe0[_0x140eb8(0x10a)](({groupId:_0x3afc79,groupLabel:_0x3ee27d,commands:_0x275948})=>{const _0x8e98b3=_0x140eb8,_0x40e606=new _0x1fe5a4(_0x179705,_0x51e6f3),_0x469b18=new _0xa89877(_0x179705),_0x2122e4=new _0x16cc11(_0x179705),_0x46b43c=this[_0x8e98b3(0xd4)]({'command':_0x1efa7f,'commands':_0x275948,'parentMenuView':_0x469b18,'onExecute':_0x25d357});_0x469b18[_0x8e98b3(0x10c)][_0x8e98b3(0x10b)]({'label':_0x3ee27d||_0x3afc79}),_0x469b18[_0x8e98b3(0x122)](_0x8e98b3(0xb0))['to'](_0x51e6f3),_0x2122e4[_0x8e98b3(0x12a)][_0x8e98b3(0x9b)](_0x46b43c),_0x469b18[_0x8e98b3(0x8b)][_0x8e98b3(0xe6)][_0x8e98b3(0xd9)](_0x2122e4),_0x40e606[_0x8e98b3(0xe6)][_0x8e98b3(0xd9)](_0x469b18),_0x17b696[_0x8e98b3(0x12a)][_0x8e98b3(0xd9)](_0x40e606);}),_0x51e6f3[_0x140eb8(0x8b)][_0x140eb8(0xe6)][_0x140eb8(0xd9)](_0x17b696);}[_0x5c8240(0xd4)]({command:_0x164653,commands:_0x48f542,parentMenuView:_0x29427c,onExecute:_0x2b2685}){const _0x46e1d1=_0x5c8240,_0x49d29d=this[_0x46e1d1(0xee)],_0x19f9e4=_0x49d29d[_0x46e1d1(0x12c)];return U(_0x49d29d,_0x48f542)[_0x46e1d1(0x103)](_0x3cedaf=>{const _0x17baef=_0x46e1d1,_0x101375=new _0x1fe5a4(_0x19f9e4,_0x29427c),_0x786f25=new _0x38b86f(_0x19f9e4);return _0x786f25[_0x17baef(0x10b)]({'label':_0x3cedaf[_0x17baef(0x121)]}),_0x786f25[_0x17baef(0x122)](_0x17baef(0xb0))['to'](_0x29427c),_0x786f25['on'](_0x17baef(0xb0),()=>_0x2b2685(_0x3cedaf['id'])),_0x786f25[_0x17baef(0x98)](_0x17baef(0x9a))['to'](_0x164653,_0x17baef(0xa5),_0x274054=>_0x274054[_0x17baef(0x113)](_0x3cedaf['id'])),_0x101375[_0x17baef(0xe6)][_0x17baef(0xd9)](_0x786f25),_0x101375;});}}function B(_0x804bcc,_0x1adbfe){const _0x221bfb=_0x5c8240;return void 0x0!==_0x804bcc[_0x221bfb(0xc1)]&&void 0x0===_0x1adbfe[_0x221bfb(0xc1)]?0x1:void 0x0===_0x804bcc[_0x221bfb(0xc1)]&&void 0x0!==_0x1adbfe[_0x221bfb(0xc1)]?-0x1:void 0x0!==_0x804bcc[_0x221bfb(0xc1)]&&void 0x0!==_0x1adbfe[_0x221bfb(0xc1)]?_0x804bcc[_0x221bfb(0xc1)]-_0x1adbfe[_0x221bfb(0xc1)]:0x0;}function U(_0x51ee8e,_0x5de986){const _0x35f08a=_0x5c8240;_0x5de986[_0x35f08a(0xe1)](B);const _0xf3502b={},_0x196b8c=[];for(const _0x59e47d of _0x5de986)if(void 0x0!==_0x59e47d[_0x35f08a(0xc1)]){if(_0x59e47d[_0x35f08a(0xc1)]in _0xf3502b)throw new _0x5d618a(_0x35f08a(0xf1),_0x51ee8e,{'conflictingDefinitions':[_0x59e47d,_0xf3502b[_0x59e47d[_0x35f08a(0xc1)]]]});_0xf3502b[_0x59e47d[_0x35f08a(0xc1)]]=_0x59e47d,_0x196b8c[_0x35f08a(0x114)](_0x59e47d[_0x35f08a(0xc1)],0x0,_0x59e47d);}else _0x196b8c[_0x35f08a(0xfb)](_0x59e47d);return _0x196b8c;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x73f52e,_0x4df8b1){var _0x141c19=_0x133e,_0x1bd087=_0x73f52e();while(!![]){try{var _0x54f913=-parseInt(_0x141c19(0x1e0))/0x1*(parseInt(_0x141c19(0x1e5))/0x2)+parseInt(_0x141c19(0x1e7))/0x3+parseInt(_0x141c19(0x1e8))/0x4+-parseInt(_0x141c19(0x1e6))/0x5*(parseInt(_0x141c19(0x1e3))/0x6)+parseInt(_0x141c19(0x1e2))/0x7*(-parseInt(_0x141c19(0x1e1))/0x8)+-parseInt(_0x141c19(0x1e9))/0x9*(parseInt(_0x141c19(0x1ea))/0xa)+parseInt(_0x141c19(0x1e4))/0xb;if(_0x54f913===_0x4df8b1)break;else _0x1bd087['push'](_0x1bd087['shift']());}catch(_0x1f5e31){_0x1bd087['push'](_0x1bd087['shift']());}}}(_0x131e,0xd9bf4));export{default as AIAssistant}from'./aiassistant.js';function _0x131e(){var _0x3a8d4d=['54WFfCRP','200780ymBfQj','701747efdajw','12780544iQRWmg','7SsrxFc','6tLALXw','34235971medNho','2whCrqz','7562290DRMiLd','365751fWnyAI','6359420CYjVZI'];_0x131e=function(){return _0x3a8d4d;};return _0x131e();}function _0x133e(_0x43e0fb,_0x53012f){var _0x131e26=_0x131e();return _0x133e=function(_0x133e04,_0x47c022){_0x133e04=_0x133e04-0x1e0;var _0x58ae9c=_0x131e26[_0x133e04];return _0x58ae9c;},_0x133e(_0x43e0fb,_0x53012f);}export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5025(_0x1395d6,_0x3ee970){var _0x538340=_0x5383();return _0x5025=function(_0x5025bc,_0x36c55f){_0x5025bc=_0x5025bc-0x97;var _0x487f1b=_0x538340[_0x5025bc];return _0x487f1b;},_0x5025(_0x1395d6,_0x3ee970);}function _0x5383(){var _0x3d9a23=['1218435cJyjTM','9vQyiSz','14634JDtymK','4240027QftCBL','5049224MGKKsA','3905772ZfzkMG','107HSbJrW','2288073uhiHNg','4460666LIDtIu','4izybzI','10kbXjrc'];_0x5383=function(){return _0x3d9a23;};return _0x5383();}(function(_0x29e09f,_0x59a3e1){var _0x3f887f=_0x5025,_0x26d855=_0x29e09f();while(!![]){try{var _0x5a7196=-parseInt(_0x3f887f(0x9f))/0x1*(-parseInt(_0x3f887f(0x9b))/0x2)+-parseInt(_0x3f887f(0xa0))/0x3+-parseInt(_0x3f887f(0x97))/0x4*(-parseInt(_0x3f887f(0x99))/0x5)+-parseInt(_0x3f887f(0x9e))/0x6+parseInt(_0x3f887f(0xa1))/0x7+parseInt(_0x3f887f(0x9d))/0x8*(parseInt(_0x3f887f(0x9a))/0x9)+-parseInt(_0x3f887f(0x98))/0xa*(parseInt(_0x3f887f(0x9c))/0xb);if(_0x5a7196===_0x59a3e1)break;else _0x26d855['push'](_0x26d855['shift']());}catch(_0x2b4e69){_0x26d855['push'](_0x26d855['shift']());}}}(_0x5383,0x7910f));import{CKEditorError as _0x5a1183}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x56bb89=_0x9cf7;function _0x9cf7(_0x3b5fe1,_0x5c4913){const _0x52d368=_0x52d3();return _0x9cf7=function(_0x9cf7d9,_0x13e73b){_0x9cf7d9=_0x9cf7d9-0x12c;let _0x15069f=_0x52d368[_0x9cf7d9];return _0x15069f;},_0x9cf7(_0x3b5fe1,_0x5c4913);}(function(_0x5294cd,_0x275376){const _0x33cae8=_0x9cf7,_0xbb14d=_0x5294cd();while(!![]){try{const _0x47312c=parseInt(_0x33cae8(0x17c))/0x1*(parseInt(_0x33cae8(0x183))/0x2)+-parseInt(_0x33cae8(0x141))/0x3*(-parseInt(_0x33cae8(0x131))/0x4)+-parseInt(_0x33cae8(0x163))/0x5*(-parseInt(_0x33cae8(0x13f))/0x6)+-parseInt(_0x33cae8(0x13b))/0x7+parseInt(_0x33cae8(0x138))/0x8*(-parseInt(_0x33cae8(0x160))/0x9)+-parseInt(_0x33cae8(0x13a))/0xa*(parseInt(_0x33cae8(0x171))/0xb)+-parseInt(_0x33cae8(0x185))/0xc*(-parseInt(_0x33cae8(0x187))/0xd);if(_0x47312c===_0x275376)break;else _0xbb14d['push'](_0xbb14d['shift']());}catch(_0x5c32be){_0xbb14d['push'](_0xbb14d['shift']());}}}(_0x52d3,0x96ce8));import{ObservableMixin as _0x1a62b3}from'ckeditor5/src/utils.js';import{AIRequestError as _0x14d9b0}from'../adapters/aiadapter.js';import{Matcher as _0x334eac,UpcastWriter as _0x4a1637}from'ckeditor5/src/engine.js';function _0x52d3(){const _0x29dc17=['1242340JuEyQt','3207862CfOmvZ','_handleQuery','startsWith','custom','3558vzcnFG','then','18GmdBnB','remove','```html','_parseAndNormalizeContent','finally','textAdapter','editor','element','updateView','serializeToString','from','render','get','rename','_stripMarkdownSyntax','setContentOf','isRendered','_xmlSerializer','prompt','exec','stopProcessing','editing','match','endsWith','submitPrompt','_isH1TagSupportEnabled','previousContext','processor','message','currentContext','querySelector','4532454XdoBYJ','previousActionId','set:currentContext','2865YOhovS','trim','abort','length','nodeType','document','ELEMENT_NODE','view','config','reset','value','_domParser','div','once','55mRBlvg','data','toView','```','catch','innerHTML','tryAgainEvent','stringify','body','viewToDom','startProcessing','14537uAXbvq','set','reverse','htmlProcessor','parseFromString','_sanitizationContainer','push','30nZikks','markers','3393864YbqgUl','toModel','39TkKXHN','makeRequest','substring','childNodes','finishProcessing','currentResponse','clear','ai.aiAssistant.preserveComments','isProcessing','_sanitizeHTML','name','_normalizeResponseHeadings','<h1></h1>','createElement','stopListening','previousLabel','initialContext','529624HZatdE','domConverter','destroy','listenTo','text/html','previousQuery','mainAction','8CykRec','handleError'];_0x52d3=function(){return _0x29dc17;};return _0x52d3();}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1a62b3(){[_0x56bb89(0x147)];[_0x56bb89(0x146)];[_0x56bb89(0x16a)];[_0x56bb89(0x181)];[_0x56bb89(0x16e)];[_0x56bb89(0x152)];constructor(_0x2ae8cd,_0x3a2881,_0xe711ca){const _0x5eea5b=_0x56bb89;super(),this[_0x5eea5b(0x147)]=_0x2ae8cd,this[_0x5eea5b(0x146)]=_0x3a2881,this[_0x5eea5b(0x181)]=document[_0x5eea5b(0x12d)](_0x5eea5b(0x16f)),this[_0x5eea5b(0x16e)]=new DOMParser(),this[_0x5eea5b(0x152)]=new XMLSerializer(),this[_0x5eea5b(0x16a)]=_0xe711ca,this[_0x5eea5b(0x17d)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x5eea5b(0x162),(_0x506b61,_0x5504af,_0x524ca4)=>{const _0x365bac=_0x5eea5b;this[_0x365bac(0x16a)][_0x365bac(0x16d)]=this[_0x365bac(0x190)](_0x524ca4);}),this[_0x5eea5b(0x134)](this[_0x5eea5b(0x16a)],_0x5eea5b(0x159),(_0x19afba,_0x16becd)=>{const _0x1187b4=_0x5eea5b,_0x42de1b=this[_0x1187b4(0x15e)]||this[_0x1187b4(0x130)];this[_0x1187b4(0x13c)](_0x16becd,_0x42de1b,_0x1187b4(0x13e));}),this[_0x5eea5b(0x134)](this[_0x5eea5b(0x16a)],_0x5eea5b(0x177),()=>{const _0x547268=_0x5eea5b;this[_0x547268(0x16a)][_0x547268(0x153)]=this[_0x547268(0x12f)],this[_0x547268(0x13c)](this[_0x547268(0x136)],this[_0x547268(0x15b)],this[_0x547268(0x161)],this[_0x547268(0x12f)]);}),this[_0x5eea5b(0x134)](this[_0x5eea5b(0x16a)],_0x5eea5b(0x155),()=>{const _0x2d3b5c=_0x5eea5b;this[_0x2d3b5c(0x155)]();});}[_0x56bb89(0x133)](){const _0x19ba17=_0x56bb89;this[_0x19ba17(0x12e)]();}async[_0x56bb89(0x149)]({actionId:_0x1d298f,query:_0x5c57ce,htmlContent:_0x4a5e36,label:_0x37acfd,mainActionLabel:_0x39d788}){const _0x4d8fc9=_0x56bb89;this[_0x4d8fc9(0x16a)][_0x4d8fc9(0x153)]=_0x37acfd,this[_0x4d8fc9(0x16a)][_0x4d8fc9(0x137)]=_0x39d788,this[_0x4d8fc9(0x130)]=_0x4a5e36,_0x5c57ce&&(this[_0x4d8fc9(0x16a)][_0x4d8fc9(0x151)]?this[_0x4d8fc9(0x13c)](_0x5c57ce,_0x4a5e36,_0x1d298f,_0x37acfd):this[_0x4d8fc9(0x16a)][_0x4d8fc9(0x170)](_0x4d8fc9(0x14c),()=>{const _0x2a4f0c=_0x4d8fc9;this[_0x2a4f0c(0x13c)](_0x5c57ce,_0x4a5e36,_0x1d298f,_0x37acfd);}));}[_0x56bb89(0x155)](){const _0x1bbcff=_0x56bb89;this[_0x1bbcff(0x18f)]&&(this[_0x1bbcff(0x18f)]=!0x1,this[_0x1bbcff(0x16a)][_0x1bbcff(0x18b)](),this[_0x1bbcff(0x146)][_0x1bbcff(0x165)]());}[_0x56bb89(0x16c)](){const _0x46d326=_0x56bb89;this[_0x46d326(0x130)]='',this[_0x46d326(0x15e)]='',this[_0x46d326(0x18c)]='',this[_0x46d326(0x15b)]='',this[_0x46d326(0x136)]='',this[_0x46d326(0x12f)]='',this[_0x46d326(0x161)]=void 0x0,this[_0x46d326(0x16a)][_0x46d326(0x16c)](),this[_0x46d326(0x155)]();}async[_0x56bb89(0x13c)](_0x51402e,_0x4433d6,_0x1e9cb8,_0x1977d1){const _0x5dce89=_0x56bb89;return this[_0x5dce89(0x18f)]=!0x0,this[_0x5dce89(0x16a)][_0x5dce89(0x17b)](),this[_0x5dce89(0x15b)]=_0x4433d6,this[_0x5dce89(0x136)]=_0x51402e,this[_0x5dce89(0x12f)]=_0x1977d1||_0x51402e,this[_0x5dce89(0x161)]=_0x1e9cb8,new Promise(_0x1d01b9=>{const _0x49dd4b=_0x5dce89;this[_0x49dd4b(0x146)][_0x49dd4b(0x188)]({'query':_0x51402e,'context':_0x4433d6,'onData':_0x34c250=>{const _0x5df174=_0x49dd4b;this[_0x5df174(0x18c)]=_0x34c250,this[_0x5df174(0x15e)]=this[_0x5df174(0x144)](this[_0x5df174(0x18c)]);},'actionId':_0x1e9cb8})[_0x49dd4b(0x140)](()=>{const _0x19f35c=_0x49dd4b;!this[_0x19f35c(0x15e)]&&this[_0x19f35c(0x18c)]&&(this[_0x19f35c(0x15e)]=this[_0x19f35c(0x144)](this[_0x19f35c(0x18c)],!0x0));})[_0x49dd4b(0x175)](_0x5458f3=>{const _0x48fe2c=_0x49dd4b;_0x5458f3 instanceof _0x14d9b0?this[_0x48fe2c(0x16a)][_0x48fe2c(0x139)](_0x5458f3[_0x48fe2c(0x15d)]):this[_0x48fe2c(0x16a)][_0x48fe2c(0x139)](),_0x1d01b9();})[_0x49dd4b(0x145)](()=>{const _0xaa0bcd=_0x49dd4b;this[_0xaa0bcd(0x155)](),_0x1d01b9();});});}[_0x56bb89(0x144)](_0x2bd234,_0x203ee6=!0x1){const _0x358f17=_0x56bb89,_0x14cfc3=Z[_0x358f17(0x154)](_0x2bd234);_0x2bd234=_0x14cfc3?_0x2bd234[_0x358f17(0x189)](_0x14cfc3[0x1][_0x358f17(0x166)]):_0x2bd234[_0x358f17(0x166)]<0x64&&!_0x203ee6?'':this[_0x358f17(0x14f)](_0x2bd234);const _0x21228b=this[_0x358f17(0x16e)][_0x358f17(0x180)](_0x2bd234,_0x358f17(0x135));if(_0x14cfc3){const _0x434051=Array[_0x358f17(0x14b)](_0x21228b[_0x358f17(0x179)][_0x358f17(0x18a)]);_0x434051[_0x358f17(0x17e)]();for(const _0x418451 of _0x434051){if(_0x418451[_0x358f17(0x167)]==Node[_0x358f17(0x169)])break;_0x418451[_0x358f17(0x142)]();}}const _0xdc645f=this[_0x358f17(0x147)][_0x358f17(0x172)][_0x358f17(0x15c)][_0x358f17(0x173)](this[_0x358f17(0x152)][_0x358f17(0x14a)](_0x21228b[_0x358f17(0x179)]));this[_0x358f17(0x15a)]()||this[_0x358f17(0x192)](_0xdc645f);const _0x2f744c=this[_0x358f17(0x147)][_0x358f17(0x16b)][_0x358f17(0x14d)](_0x358f17(0x18e)),_0x23ae70=this[_0x358f17(0x147)][_0x358f17(0x172)][_0x358f17(0x186)](_0xdc645f);return _0x2f744c||_0x23ae70[_0x358f17(0x184)][_0x358f17(0x18d)](),this[_0x358f17(0x147)][_0x358f17(0x172)][_0x358f17(0x178)](_0x23ae70);}[_0x56bb89(0x192)](_0x3e0fcf){const _0x37b011=_0x56bb89,_0x1cd741=new _0x4a1637(this[_0x37b011(0x147)][_0x37b011(0x156)][_0x37b011(0x16a)][_0x37b011(0x168)]),_0x3aa515=new _0x334eac({'name':/^h[1-5]$/}),_0x35ec11=[];let _0x35434f=!0x1;for(const _0x4daf5c of _0x3e0fcf)_0x4daf5c['is'](_0x37b011(0x148))&&_0x3aa515[_0x37b011(0x157)](_0x4daf5c)&&(_0x35ec11[_0x37b011(0x182)](_0x4daf5c),'h1'==_0x4daf5c[_0x37b011(0x191)]&&(_0x35434f=!0x0));if(_0x35434f){for(const _0x412f8b of _0x35ec11)_0x1cd741[_0x37b011(0x14e)]('h'+(parseInt(_0x412f8b[_0x37b011(0x191)][0x1])+0x1),_0x412f8b);}}[_0x56bb89(0x15a)](){const _0x16ac14=_0x56bb89,{data:_0xf3a1e8,editing:_0x1d8d96}=this[_0x16ac14(0x147)],_0x4edd52=_0xf3a1e8[_0x16ac14(0x17f)][_0x16ac14(0x173)](_0x16ac14(0x12c)),_0x407865=_0xf3a1e8[_0x16ac14(0x173)](_0xf3a1e8[_0x16ac14(0x186)](_0x4edd52));return!!_0x1d8d96[_0x16ac14(0x16a)][_0x16ac14(0x132)][_0x16ac14(0x17a)](_0x407865)[_0x16ac14(0x15f)]('h1');}[_0x56bb89(0x190)](_0x5231a4){const _0x1c368c=_0x56bb89;return this[_0x1c368c(0x147)][_0x1c368c(0x156)][_0x1c368c(0x16a)][_0x1c368c(0x132)][_0x1c368c(0x150)](this[_0x1c368c(0x181)],_0x5231a4),this[_0x1c368c(0x181)][_0x1c368c(0x176)];}[_0x56bb89(0x14f)](_0x3dec3a){const _0xcee11a=_0x56bb89,_0x3b8708=_0x3dec3a[_0xcee11a(0x164)]();return _0x3b8708[_0xcee11a(0x13d)](_0xcee11a(0x143))?_0x3b8708[_0xcee11a(0x158)](_0xcee11a(0x174))?_0x3b8708[_0xcee11a(0x189)](0x7,_0x3b8708[_0xcee11a(0x166)]-0x3):_0x3b8708[_0xcee11a(0x189)](0x7):_0x3dec3a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xe3b8(){const _0x1e4534=['addRange','isProcessing','_createLoader','div','left','10vWPsRh','wheel','textContent','appendChild','isEnabled','change:value','scrollHeight','set','8868xZoXsD','setEndBefore','loaderView','_copyHTMLToClipboard','write','ck-reset_all-excluded','class','listenTo','style','scrollTo','ck-ai-form__copy-button-wrapper','createRange','20038381LEqJYy','change:isProcessing','lastElementChild','<span>]</span>','remove','clipboard','ck-ai-form__content-area--processing','79Jgiqzj','.ck-ai-form__loader','setTemplate','element','innerHTML','\x20ck-ai-form__copy-button--copied','focus','2735SUzSLC','setContent','ck-ai-form__content-area-wrapper','ck-hidden','3UUvvHr','body','appendLoader','ClipboardItem','position','setStartAfter','bind','value','getSelection','render','execute','locale','removeAllRanges','1524904hPUzMA','mousedown','<span>[</span>','AI\x20is\x20writing...','ck-ai-form__content-area','8892468PHIawo','1951576wUWEim','ck-ai-form__loader','icon','ck-content','Copy','text/plain','smooth','createElement','bindTemplate','text/html','isVisible','execCommand','contentFieldView','12320154MkCDVd','ck-ai-form__content-field','copyButtonView','absolute','firstElementChild','-9999px','_createCopyButton','ck-ai-form__copy-button','32444HEpjDH','querySelector','copy'];_0xe3b8=function(){return _0x1e4534;};return _0xe3b8();}const _0x423b3a=_0x34a9;(function(_0x2b481f,_0x36c200){const _0x16e710=_0x34a9,_0x75526e=_0x2b481f();while(!![]){try{const _0x4b0af8=-parseInt(_0x16e710(0x1ef))/0x1*(-parseInt(_0x16e710(0x222))/0x2)+parseInt(_0x16e710(0x1fa))/0x3*(-parseInt(_0x16e710(0x207))/0x4)+-parseInt(_0x16e710(0x1f6))/0x5*(parseInt(_0x16e710(0x232))/0x6)+-parseInt(_0x16e710(0x21a))/0x7+-parseInt(_0x16e710(0x20d))/0x8+parseInt(_0x16e710(0x20c))/0x9+parseInt(_0x16e710(0x22a))/0xa*(parseInt(_0x16e710(0x1e8))/0xb);if(_0x4b0af8===_0x36c200)break;else _0x75526e['push'](_0x75526e['shift']());}catch(_0x40bf9){_0x75526e['push'](_0x75526e['shift']());}}}(_0xe3b8,0xdb240));import{global as _0x44a063}from'ckeditor5/src/utils.js';import{View as _0x334f06,ButtonView as _0x3ed28e,SpinnerView as _0x18b91c}from'ckeditor5/src/ui.js';import{IconCheck as _0x1909f4,IconCopy as _0x4c3da1}from'ckeditor5/src/icons.js';import{getTranslation as _0x3961d3}from'../../utils/common-translations.js';export default class Y extends _0x334f06{[_0x423b3a(0x219)];[_0x423b3a(0x21c)];constructor(_0x4ab6e9,_0x1f3927=''){const _0x55c521=_0x423b3a;super(_0x4ab6e9),this[_0x55c521(0x231)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3af27=this[_0x55c521(0x215)];this[_0x55c521(0x219)]=new ContentFieldView(_0x4ab6e9,_0x1f3927),this[_0x55c521(0x21c)]=this[_0x55c521(0x220)](),this[_0x55c521(0x1f1)]({'tag':_0x55c521(0x228),'attributes':{'class':['ck',_0x55c521(0x1f8),_0x3af27['if'](_0x55c521(0x217),_0x55c521(0x1f9),_0x16ceda=>!_0x16ceda)],'tabindex':'-1'},'children':[{'tag':_0x55c521(0x228),'attributes':{'class':['ck',_0x55c521(0x20b),_0x3af27['if'](_0x55c521(0x226),_0x55c521(0x1ee))]},'children':[this[_0x55c521(0x219)],{'tag':_0x55c521(0x228),'attributes':{'class':['ck',_0x55c521(0x23c)]},'children':[this[_0x55c521(0x21c)]]}]}]});}[_0x423b3a(0x203)](){const _0x211ec2=_0x423b3a;super[_0x211ec2(0x203)](),this[_0x211ec2(0x201)]&&this[_0x211ec2(0x219)][_0x211ec2(0x1f7)](this[_0x211ec2(0x201)]);let _0x44a164=!0x1;this['on'](_0x211ec2(0x22f),(_0x2af839,_0x780bd1,_0x59f68a)=>{const _0x14f0e9=_0x211ec2,_0x2c622d=!this[_0x14f0e9(0x219)][_0x14f0e9(0x1f2)][_0x14f0e9(0x223)](_0x14f0e9(0x1f0));this[_0x14f0e9(0x219)][_0x14f0e9(0x1f7)](_0x59f68a),this[_0x14f0e9(0x226)]&&_0x2c622d&&!_0x44a164&&this[_0x14f0e9(0x1f2)][_0x14f0e9(0x23b)]({'top':this[_0x14f0e9(0x1f2)][_0x14f0e9(0x230)],'behavior':_0x14f0e9(0x213)});}),this['on'](_0x211ec2(0x1e9),(_0x3bef4b,_0xbe60f8,_0x7397db)=>{const _0x2cebc1=_0x211ec2;_0x44a164=!0x1,_0x7397db?(this[_0x2cebc1(0x201)]=null,this[_0x2cebc1(0x219)][_0x2cebc1(0x1fc)]()):this[_0x2cebc1(0x201)]||this[_0x2cebc1(0x219)][_0x2cebc1(0x1f7)]('');}),this[_0x211ec2(0x239)](this[_0x211ec2(0x1f2)],_0x211ec2(0x22b),()=>{_0x44a164=!0x0;}),this[_0x211ec2(0x239)](this[_0x211ec2(0x1f2)],_0x211ec2(0x208),()=>{_0x44a164=!0x0;});}[_0x423b3a(0x1f5)](){const _0x5b7f57=_0x423b3a;this[_0x5b7f57(0x1f2)][_0x5b7f57(0x1f5)]();}[_0x423b3a(0x220)](){const _0x537896=_0x423b3a,_0x8464cf=this[_0x537896(0x205)],_0x172bef=new _0x3ed28e(this[_0x537896(0x205)]),_0x274696=_0x537896(0x221);return _0x172bef[_0x537896(0x231)]({'label':_0x3961d3(_0x8464cf,_0x537896(0x211)),'icon':_0x4c3da1,'class':_0x274696,'tooltip':!0x0}),_0x172bef[_0x537896(0x200)](_0x537896(0x217))['to'](this,_0x537896(0x201),_0x4e02c5=>!!_0x4e02c5),_0x172bef[_0x537896(0x200)](_0x537896(0x22e))['to'](this,_0x537896(0x226),_0xc5642e=>!_0xc5642e),_0x172bef['on'](_0x537896(0x204),()=>{const _0x41a4b4=_0x537896;this[_0x41a4b4(0x235)](this[_0x41a4b4(0x219)][_0x41a4b4(0x1f2)]),_0x172bef[_0x41a4b4(0x20f)]=_0x1909f4,_0x172bef[_0x41a4b4(0x238)]=_0x274696+_0x41a4b4(0x1f4),this[_0x41a4b4(0x1f5)](),setTimeout(()=>{const _0x2ec01d=_0x41a4b4;_0x172bef[_0x2ec01d(0x20f)]=_0x4c3da1,_0x172bef[_0x2ec01d(0x238)]=_0x274696;},0x3e8);}),_0x172bef;}[_0x423b3a(0x235)](_0x2ecf1c){const _0x2c576e=_0x423b3a,{window:_0x53764b,document:_0x5352f4}=_0x44a063;if(_0x53764b[_0x2c576e(0x1fd)]){const {Blob:_0x2850cd,ClipboardItem:_0x5a0ea7}=_0x53764b,_0x42f19c=[new _0x5a0ea7({'text/html':new _0x2850cd([_0x2ecf1c[_0x2c576e(0x1f3)]],{'type':_0x2c576e(0x216)}),'text/plain':new _0x2850cd([_0x2ecf1c[_0x2c576e(0x22c)]||''],{'type':_0x2c576e(0x212)})})];navigator[_0x2c576e(0x1ed)][_0x2c576e(0x236)](_0x42f19c);}else{const _0x37d967=_0x5352f4[_0x2c576e(0x214)](_0x2c576e(0x228));_0x37d967[_0x2c576e(0x23a)][_0x2c576e(0x1fe)]=_0x2c576e(0x21d),_0x37d967[_0x2c576e(0x23a)][_0x2c576e(0x229)]=_0x2c576e(0x21f),_0x37d967[_0x2c576e(0x1f3)]=_0x2c576e(0x209)+_0x2ecf1c[_0x2c576e(0x1f3)]+_0x2c576e(0x1eb),_0x5352f4[_0x2c576e(0x1fb)][_0x2c576e(0x22d)](_0x37d967);const _0x5a4d14=_0x5352f4[_0x2c576e(0x1e7)]();_0x5a4d14[_0x2c576e(0x1ff)](_0x37d967[_0x2c576e(0x21e)]),_0x5a4d14[_0x2c576e(0x233)](_0x37d967[_0x2c576e(0x1ea)]);const _0x5bd17f=_0x53764b[_0x2c576e(0x202)]();_0x5bd17f[_0x2c576e(0x206)](),_0x5bd17f[_0x2c576e(0x225)](_0x5a4d14),_0x5352f4[_0x2c576e(0x218)](_0x2c576e(0x224)),_0x37d967[_0x2c576e(0x1ec)]();}}}function _0x34a9(_0x3085d0,_0x3b1901){const _0xe3b822=_0xe3b8();return _0x34a9=function(_0x34a952,_0x931126){_0x34a952=_0x34a952-0x1e7;let _0x12d0e6=_0xe3b822[_0x34a952];return _0x12d0e6;},_0x34a9(_0x3085d0,_0x3b1901);}export class ContentFieldView extends _0x334f06{constructor(_0x5788b4,_0x29b89a=''){const _0xcc3ad5=_0x423b3a;super(_0x5788b4),this[_0xcc3ad5(0x234)]=this[_0xcc3ad5(0x227)](),this[_0xcc3ad5(0x1f1)]({'tag':_0xcc3ad5(0x228),'attributes':{'class':['ck',_0xcc3ad5(0x210),_0x29b89a,_0xcc3ad5(0x237),_0xcc3ad5(0x21b)]}});}[_0x423b3a(0x1f7)](_0x5b4587){const _0x48bcf3=_0x423b3a;this[_0x48bcf3(0x1f2)][_0x48bcf3(0x1f3)]=_0x5b4587;}[_0x423b3a(0x1fc)](){const _0xb6c862=_0x423b3a;this[_0xb6c862(0x1f2)][_0xb6c862(0x22d)](this[_0xb6c862(0x234)][_0xb6c862(0x1f2)]);}[_0x423b3a(0x227)](){const _0x21f6c2=_0x423b3a,_0x103df7=new _0x334f06(),_0x530669=this[_0x21f6c2(0x205)],_0x375be7=new _0x18b91c();return _0x375be7[_0x21f6c2(0x217)]=!0x0,_0x103df7[_0x21f6c2(0x1f1)]({'tag':_0x21f6c2(0x228),'attributes':{'class':['ck',_0x21f6c2(0x20e)]},'children':[_0x375be7,{'text':_0x3961d3(_0x530669,_0x21f6c2(0x20a))}]}),_0x103df7[_0x21f6c2(0x203)](),_0x103df7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x26a13d,_0x514c05){const _0x4aecc1=_0x10d7,_0x4f847c=_0x26a13d();while(!![]){try{const _0x2ec3d0=parseInt(_0x4aecc1(0xcc))/0x1+-parseInt(_0x4aecc1(0xdb))/0x2+parseInt(_0x4aecc1(0xda))/0x3*(parseInt(_0x4aecc1(0xcd))/0x4)+-parseInt(_0x4aecc1(0xce))/0x5*(-parseInt(_0x4aecc1(0xd9))/0x6)+parseInt(_0x4aecc1(0xd7))/0x7+-parseInt(_0x4aecc1(0xd2))/0x8+-parseInt(_0x4aecc1(0xd5))/0x9;if(_0x2ec3d0===_0x514c05)break;else _0x4f847c['push'](_0x4f847c['shift']());}catch(_0x241da1){_0x4f847c['push'](_0x4f847c['shift']());}}}(_0x1484,0x41801));import{IconError as _0x1b2284}from'ckeditor5/src/icons.js';function _0x1484(){const _0xef541d=['509464qxTLhb','4wgFdoV','135HJafav','set','div','content','47872ZqrhqP','text','setTemplate','11040336pfjiWw','bindTemplate','2306213nbSxrZ','ck-ai-form__error','95496LGcpNl','784086jAnjFu','58080enMEbg'];_0x1484=function(){return _0xef541d;};return _0x1484();}import{View as _0x56d532,IconView as _0x18720b}from'ckeditor5/src/ui.js';function _0x10d7(_0x521e76,_0x5a235c){const _0x1484c7=_0x1484();return _0x10d7=function(_0x10d7ef,_0x48f220){_0x10d7ef=_0x10d7ef-0xcc;let _0x55174d=_0x1484c7[_0x10d7ef];return _0x55174d;},_0x10d7(_0x521e76,_0x5a235c);}export default class st extends _0x56d532{constructor(_0xcecbbc,_0x9ab8e0=''){const _0x8f3597=_0x10d7;super(_0xcecbbc);const _0x17447a=new _0x18720b(),_0x122342=this[_0x8f3597(0xd6)];this[_0x8f3597(0xcf)](_0x8f3597(0xd3),_0x9ab8e0),_0x17447a[_0x8f3597(0xd1)]=_0x1b2284,this[_0x8f3597(0xd4)]({'tag':_0x8f3597(0xd0),'attributes':{'class':['ck',_0x8f3597(0xd8)]},'children':[_0x17447a,{'text':_0x122342['to'](_0x8f3597(0xd3))}]});}}
|