@ckeditor/ckeditor5-ai 46.1.0 → 46.1.1-alpha.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
|
-
function
|
|
23
|
+
const _0x248eba=_0x35d5;(function(_0x6df234,_0x34f02f){const _0x5db890=_0x35d5,_0x4b072a=_0x6df234();while(!![]){try{const _0x23e705=-parseInt(_0x5db890(0x1d7))/0x1+-parseInt(_0x5db890(0x1ac))/0x2+-parseInt(_0x5db890(0x1a9))/0x3*(-parseInt(_0x5db890(0x1d5))/0x4)+parseInt(_0x5db890(0x1ae))/0x5+-parseInt(_0x5db890(0x1cd))/0x6*(-parseInt(_0x5db890(0x1b3))/0x7)+-parseInt(_0x5db890(0x1ef))/0x8+parseInt(_0x5db890(0x1e0))/0x9;if(_0x23e705===_0x34f02f)break;else _0x4b072a['push'](_0x4b072a['shift']());}catch(_0x2b0273){_0x4b072a['push'](_0x4b072a['shift']());}}}(_0x2a60,0x7c59e));function _0x2a60(){const _0x243107=['Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','changeStyle','casual','continue','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','1745469YRIqBh','Direct','Poetic','Translate\x20the\x20content\x20to\x20English\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Simplify\x20language','locale','improveWriting','Improve\x20writing','journalism','Generate\x20from\x20selection','set','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','1722208MAkuAc','ai.aiAssistant.commands','ai.aiAssistant.extraCommandGroups','AIAssistant','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Make\x20shorter','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Confident','translateSpanish','Translate\x20the\x20content\x20to\x20French\x20language.','define','translateFrench','forEach','Journalism','Casual','Edit\x20or\x20review','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','direct','Translate','Hindi','ai.aiAssistant.preserveComments','changeTone','German','makeShorter','commands','simplifyLanguage','isOfficialPlugin','Change\x20tone','Legal','requires','Portuguese','summarize','push','Friendly','Spanish','translateEnglish','translateGerman','isPremiumPlugin','418362GSoWuz','professional','makeLonger','1012036nKGuZB','ai.aiAssistant.removeCommands','945625TVPPjh','Business','filter','concat','Translate\x20the\x20content\x20to\x20German\x20language.','501907XWiaEY','Professional','Arabic','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Make\x20longer','Summarize','confident','friendly','config','translateArabic','find','Continue','Translate\x20the\x20content\x20to\x20Arabic\x20language.','legal','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','groupId','translateHindi','translatePortuguese','get','generate','Simplified\x20Chinese','Change\x20style','translateChinese','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translate','Translate\x20the\x20content\x20to\x20Hindi\x20language.','42vopFtd','pluginName','editOrReview','English','French','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','poetic','business','20AHuhEe','includes','351607kWsuoq','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'];_0x2a60=function(){return _0x243107;};return _0x2a60();}import{Plugin as _0x130811}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x4780f2}from'./aiassistantui.js';import{AIAssistantEditing as _0xcef2e}from'./aiassistantediting.js';function _0x35d5(_0x2d8aef,_0x1e8bd0){const _0x2a6082=_0x2a60();return _0x35d5=function(_0x35d5d2,_0x34b65a){_0x35d5d2=_0x35d5d2-0x187;let _0x480908=_0x2a6082[_0x35d5d2];return _0x480908;},_0x35d5(_0x2d8aef,_0x1e8bd0);}import{getTranslation as _0x24cefa}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x59ff1a}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x130811{static get[_0x248eba(0x1a0)](){return[_0x4780f2,_0xcef2e];}static get[_0x248eba(0x1ce)](){const _0x451c9a=_0x248eba;return _0x451c9a(0x1f2);}static get[_0x248eba(0x19d)](){return!0x0;}static get[_0x248eba(0x1a8)](){return!0x0;}constructor(_0x4fbef4){const _0x2330d8=_0x248eba;super(_0x4fbef4);const _0xde217=_0x4fbef4[_0x2330d8(0x1bb)],_0x302392=_0x4fbef4[_0x2330d8(0x1e6)];_0xde217[_0x2330d8(0x18d)](_0x2330d8(0x197),!0x0),_0xde217[_0x2330d8(0x18d)](_0x2330d8(0x1f0),getDefaultAICommands(_0x302392)),_0xde217[_0x2330d8(0x18d)](_0x2330d8(0x1f1),[]),_0xde217[_0x2330d8(0x18d)](_0x2330d8(0x1ad),[]);let _0x479912=_0x59ff1a(_0xde217[_0x2330d8(0x1c5)](_0x2330d8(0x1f0)),_0x302392);const _0x359c4c=_0xde217[_0x2330d8(0x1c5)](_0x2330d8(0x1f1)),_0x1bc08e=_0xde217[_0x2330d8(0x1c5)](_0x2330d8(0x1ad));_0x359c4c[_0x2330d8(0x18f)](_0x118a03=>{const _0x23b237=_0x2330d8,_0xfdcd20=_0x479912[_0x23b237(0x1bd)](_0x95b966=>_0x95b966[_0x23b237(0x1c2)]===_0x118a03[_0x23b237(0x1c2)]);_0xfdcd20?_0xfdcd20[_0x23b237(0x19b)]=_0xfdcd20[_0x23b237(0x19b)][_0x23b237(0x1b1)](_0x118a03[_0x23b237(0x19b)]):_0x479912[_0x23b237(0x1a3)](_0x118a03);}),_0x479912=_0x479912[_0x2330d8(0x1b0)](_0x302846=>!_0x1bc08e[_0x2330d8(0x1d6)](_0x302846[_0x2330d8(0x1c2)])),_0x479912[_0x2330d8(0x18f)](_0x240815=>{const _0x498959=_0x2330d8;_0x240815[_0x498959(0x19b)]=_0x240815[_0x498959(0x19b)][_0x498959(0x1b0)](_0x34a94b=>!_0x1bc08e[_0x498959(0x1d6)](_0x34a94b['id']));}),_0xde217[_0x2330d8(0x1eb)](_0x2330d8(0x1f0),_0x479912);}}export function getDefaultAICommands(_0x12fef3){const _0x1aeed1=_0x248eba;return[{'groupId':_0x1aeed1(0x1cf),'groupLabel':_0x24cefa(_0x12fef3,_0x1aeed1(0x192)),'commands':[{'id':_0x1aeed1(0x1e7),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1e8)),'prompt':_0x1aeed1(0x1ed)},{'id':_0x1aeed1(0x19a),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x188)),'prompt':_0x1aeed1(0x1ca)},{'id':_0x1aeed1(0x1ab),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1b7)),'prompt':_0x1aeed1(0x1da)},{'id':_0x1aeed1(0x19c),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1e5)),'prompt':_0x1aeed1(0x189)}]},{'groupId':_0x1aeed1(0x1c6),'groupLabel':_0x24cefa(_0x12fef3,_0x1aeed1(0x1ea)),'commands':[{'id':_0x1aeed1(0x1a2),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1b8)),'prompt':_0x1aeed1(0x1c1)},{'id':_0x1aeed1(0x1dd),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1be)),'prompt':_0x1aeed1(0x1f3)}]},{'groupId':_0x1aeed1(0x198),'groupLabel':_0x24cefa(_0x12fef3,_0x1aeed1(0x19e)),'commands':[{'id':_0x1aeed1(0x1aa),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1b4)),'prompt':_0x1aeed1(0x187)},{'id':_0x1aeed1(0x1dc),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x191)),'prompt':_0x1aeed1(0x1df)},{'id':_0x1aeed1(0x194),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1e1)),'prompt':_0x1aeed1(0x1de)},{'id':_0x1aeed1(0x1b9),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x18a)),'prompt':_0x1aeed1(0x1d9)},{'id':_0x1aeed1(0x1ba),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1a4)),'prompt':_0x1aeed1(0x1f4)}]},{'groupId':_0x1aeed1(0x1db),'groupLabel':_0x24cefa(_0x12fef3,_0x1aeed1(0x1c8)),'commands':[{'id':_0x1aeed1(0x1d4),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1af)),'prompt':_0x1aeed1(0x1d8)},{'id':_0x1aeed1(0x1c0),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x19f)),'prompt':_0x1aeed1(0x1b6)},{'id':_0x1aeed1(0x1e9),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x190)),'prompt':_0x1aeed1(0x193)},{'id':_0x1aeed1(0x1d3),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1e2)),'prompt':_0x1aeed1(0x1e4)}]},{'groupId':_0x1aeed1(0x1cb),'groupLabel':_0x24cefa(_0x12fef3,_0x1aeed1(0x195)),'commands':[{'id':_0x1aeed1(0x1a6),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1d0)),'prompt':_0x1aeed1(0x1e3)},{'id':_0x1aeed1(0x18b),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1a5)),'prompt':_0x1aeed1(0x1ec)},{'id':_0x1aeed1(0x1c4),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1a1)),'prompt':_0x1aeed1(0x1ee)},{'id':_0x1aeed1(0x1a7),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x199)),'prompt':_0x1aeed1(0x1b2)},{'id':_0x1aeed1(0x18e),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1d1)),'prompt':_0x1aeed1(0x18c)},{'id':_0x1aeed1(0x1c9),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1c7)),'prompt':_0x1aeed1(0x1d2)},{'id':_0x1aeed1(0x1c3),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x196)),'prompt':_0x1aeed1(0x1cc)},{'id':_0x1aeed1(0x1bc),'label':_0x24cefa(_0x12fef3,_0x1aeed1(0x1b5)),'prompt':_0x1aeed1(0x1bf)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xe6ed(_0x40d09e,_0x43a91d){const _0x59686f=_0x5968();return _0xe6ed=function(_0xe6eda5,_0x2bba9b){_0xe6eda5=_0xe6eda5-0x124;let _0x5b683f=_0x59686f[_0xe6eda5];return _0x5b683f;},_0xe6ed(_0x40d09e,_0x43a91d);}const _0x3eb2c1=_0xe6ed;(function(_0x186ef8,_0x35cede){const _0x3c51db=_0xe6ed,_0x16372a=_0x186ef8();while(!![]){try{const _0x4712ba=parseInt(_0x3c51db(0x12d))/0x1+-parseInt(_0x3c51db(0x143))/0x2+parseInt(_0x3c51db(0x16e))/0x3+-parseInt(_0x3c51db(0x144))/0x4*(-parseInt(_0x3c51db(0x130))/0x5)+parseInt(_0x3c51db(0x131))/0x6*(parseInt(_0x3c51db(0x190))/0x7)+parseInt(_0x3c51db(0x14b))/0x8+-parseInt(_0x3c51db(0x158))/0x9;if(_0x4712ba===_0x35cede)break;else _0x16372a['push'](_0x16372a['shift']());}catch(_0x297c1c){_0x16372a['push'](_0x16372a['shift']());}}}(_0x5968,0x54422));import{uid as _0x2056e8}from'ckeditor5/src/utils.js';import{Plugin as _0x572e04}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xb14269}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xafeebe,ViewDataTransfer as _0x39f1bf}from'ckeditor5/src/engine.js';const l=globalThis[_0x3eb2c1(0x185)],w=_0x3eb2c1(0x125);export class AIAssistantEditing extends _0x572e04{static get[_0x3eb2c1(0x171)](){const _0x4a006b=_0x3eb2c1;return _0x4a006b(0x17c);}static get[_0x3eb2c1(0x159)](){return!0x0;}static get[_0x3eb2c1(0x157)](){return!0x0;}[_0x3eb2c1(0x181)](){const _0x22058f=_0x3eb2c1,{editor:_0x46e021}=this,_0x15f45=[_0x22058f(0x15a)];_0x46e021[_0x22058f(0x16c)][_0x22058f(0x14a)](_0x22058f(0x129))&&_0x15f45[_0x22058f(0x175)](_0x22058f(0x12b)),_0x46e021[_0x22058f(0x14d)][_0x22058f(0x17e)](_0x22058f(0x166))[_0x22058f(0x13b)]({'model':w,'view':{'classes':_0x15f45,'priority':0xc}}),_0x46e021[_0x22058f(0x14d)][_0x22058f(0x17e)](_0x22058f(0x166))[_0x22058f(0x168)]({'model':w,'view':(_0x49415b,{writer:_0xbc643a})=>{const _0x205a87=_0x22058f;if(!_0x49415b[_0x205a87(0x161)][_0x205a87(0x18c)])return null;const _0x5cc667=_0xbc643a[_0x205a87(0x12c)](_0x205a87(0x126));return _0xbc643a[_0x205a87(0x135)]([_0x205a87(0x15a),_0x205a87(0x154)],_0x5cc667),_0x5cc667;}});}[_0x3eb2c1(0x13a)](){!async function(_0x17dd82){const _0x3a4226=_0x54b118([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0xea7f76=0x3dffc4e1,_0x1da708=0x3df8b619^_0xea7f76,_0x155a26=window[_0x54b118([0x44,0x61,0x74,0x65])][_0x54b118([0x6e,0x6f,0x77])](),_0x5e0775=_0x17dd82[_0x54b118([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x521ab8=new window[(_0x54b118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ba7ef=>{_0x5e0775[_0x54b118([0x6f,0x6e,0x63,0x65])](_0x54b118([0x72,0x65,0x61,0x64,0x79]),_0x5ba7ef);}),_0x19117c={[_0x54b118([0x6b,0x74,0x79])]:_0x54b118([0x45,0x43]),[_0x54b118([0x75,0x73,0x65])]:_0x54b118([0x73,0x69,0x67]),[_0x54b118([0x63,0x72,0x76])]:_0x54b118([0x50,0x2d,0x32,0x35,0x36]),[_0x54b118([0x78])]:_0x54b118([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]),[_0x54b118([0x79])]:_0x54b118([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]),[_0x54b118([0x61,0x6c,0x67])]:_0x54b118([0x45,0x53,0x32,0x35,0x36])},_0xea69bf=_0x5e0775[_0x54b118([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x54b118([0x67,0x65,0x74])](_0x54b118([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x389865(){let _0x21f627,_0x74fc8e=null,_0x329640=null;try{if(_0xea69bf==_0x54b118([0x47,0x50,0x4c]))return _0x54b118([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21f627=_0x749394(),!_0x21f627)return _0x54b118([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21f627[_0x54b118([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x329640=_0x166717(_0x21f627[_0x54b118([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21f627[_0x54b118([0x6a,0x74,0x69])])),await _0xe29c27()?_0x57030e()?_0x2b886a()?_0x54b118([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x547242()?(_0x21f627[_0x54b118([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54b118([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x74fc8e=_0x10d93c(_0x54b118([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21f627[_0x54b118([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54b118([0x74,0x72,0x69,0x61,0x6c])&&(_0x74fc8e=_0x10d93c(_0x54b118([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3897ce()):_0x54b118([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x54b118([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x54b118([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x54b118([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b886a(){const _0x1fce10=[_0x54b118([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x54b118([0x74,0x72,0x69,0x61,0x6c])][_0x54b118([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f627[_0x54b118([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x155a26/0x3e8:0xe10*_0x1da708;return _0x21f627[_0x54b118([0x65,0x78,0x70])]<_0x1fce10;}function _0x57030e(){const _0x17b3db=_0x21f627[_0x54b118([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17b3db&&(!!_0x17b3db[_0x54b118([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b118([0x2a]))||!!_0x17b3db[_0x54b118([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b118([0x41,0x49])));}function _0x547242(){const _0x5cd7c7=_0xe6ed,_0x448740=_0x21f627[_0x54b118([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x448740||0x0==_0x448740[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3efbf2}=new URL(window[_0x54b118([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5cd7c7(0x165)]);if(_0x448740[_0x54b118([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3efbf2))return!0x0;const _0x52aff6=_0x3efbf2[_0x54b118([0x73,0x70,0x6c,0x69,0x74])](_0x54b118([0x2e]));return _0x448740[_0x54b118([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x358716=>_0x358716[_0x54b118([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b118([0x2a])))[_0x54b118([0x6d,0x61,0x70])](_0x179c27=>_0x179c27[_0x54b118([0x73,0x70,0x6c,0x69,0x74])](_0x54b118([0x2e])))[_0x54b118([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50a84c=>_0x50a84c[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52aff6[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54b118([0x6d,0x61,0x70])](_0x4c684e=>Array(_0x52aff6[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c684e[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54b118([0x66,0x69,0x6c,0x6c])](_0x4c684e[0x0]===_0x54b118([0x2a])?_0x54b118([0x2a]):'')[_0x54b118([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c684e))[_0x54b118([0x73,0x6f,0x6d,0x65])](_0x5b42cf=>_0x52aff6[_0x54b118([0x65,0x76,0x65,0x72,0x79])]((_0x12b5b1,_0x49e16c)=>_0x5b42cf[_0x49e16c]===_0x12b5b1||_0x5b42cf[_0x49e16c]===_0x54b118([0x2a])));}function _0x3897ce(){return _0x74fc8e&&_0x329640?new window[(_0x54b118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bcf67,_0x4485d6)=>{_0x74fc8e[_0x54b118([0x74,0x68,0x65,0x6e])](_0x1bcf67,_0x4485d6),_0x329640[_0x54b118([0x74,0x68,0x65,0x6e])](_0x226dc2=>{_0x226dc2!=_0x54b118([0x56,0x61,0x6c,0x69,0x64])&&_0x1bcf67(_0x226dc2);},_0x4485d6);}):_0x74fc8e||_0x329640||_0x54b118([0x56,0x61,0x6c,0x69,0x64]);}}function _0x166717(_0x3b6888,_0x21edbf){return new window[(_0x54b118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349fb9=>{if(_0x5566b8())return _0x349fb9(_0x54b118([0x56,0x61,0x6c,0x69,0x64]));_0x3970b3(),_0x5e0775[_0x54b118([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x54b118([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e9ccc=!0x1;const _0x3b4297=_0x2056e8();function _0x2c0cbd(_0x1f24f0){return!!_0x1f24f0&&(typeof _0x1f24f0===_0x54b118([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f24f0===_0x54b118([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f24f0[_0x54b118([0x74,0x68,0x65,0x6e])]===_0x54b118([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f24f0[_0x54b118([0x63,0x61,0x74,0x63,0x68])]===_0x54b118([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fce15(_0x339860){_0x5934dd(_0x339860)[_0x54b118([0x74,0x68,0x65,0x6e])](_0x39ff50=>{if(!_0x39ff50||_0x39ff50[_0x54b118([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x54b118([0x6f,0x6b]))return _0x54b118([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2615df(_0x56d86e(_0x3b4297+_0x21edbf))!=_0x39ff50[_0x54b118([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x54b118([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x54b118([0x56,0x61,0x6c,0x69,0x64]);})[_0x54b118([0x74,0x68,0x65,0x6e])](_0x2fbf32=>(_0x54dfbb(),_0x2fbf32),()=>{const _0x240aa1=_0x28b991();return null==_0x240aa1?(_0x54dfbb(),_0x54b118([0x56,0x61,0x6c,0x69,0x64])):_0x54b118(_0x155a26-_0x240aa1>(0x19f340e1^_0xea7f76)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x54b118([0x74,0x68,0x65,0x6e])](_0x349fb9)[_0x54b118([0x63,0x61,0x74,0x63,0x68])](()=>{_0x349fb9(_0x54b118([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b184a=0x3dc92a61^_0xea7f76;function _0x54dfbb(){const _0x25080d=_0x54b118([0x6c,0x6c,0x63,0x74,0x2d])+_0x2615df(_0x56d86e(_0x3b6888)),_0x5ab19f=_0x1f30f9(_0x2615df(window[_0x54b118([0x4d,0x61,0x74,0x68])][_0x54b118([0x63,0x65,0x69,0x6c])](_0x155a26/_0x3b184a)));window[_0x54b118([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54b118([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25080d,_0x5ab19f);}function _0x28b991(){const _0x1487a5=_0x54b118([0x6c,0x6c,0x63,0x74,0x2d])+_0x2615df(_0x56d86e(_0x3b6888)),_0x56c6ad=window[_0x54b118([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54b118([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1487a5);return _0x56c6ad?window[_0x54b118([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f30f9(_0x56c6ad),0x10)*_0x3b184a:null;}function _0x5934dd(_0x32c3d9){return new window[(_0x54b118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2390b9,_0x2ed003)=>{_0x32c3d9[_0x54b118([0x74,0x68,0x65,0x6e])](_0x2390b9,_0x2ed003),window[_0x54b118([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ed003,0x3dfe1021^_0xea7f76);});}}_0x5e0775[_0x54b118([0x6f,0x6e])](_0x54b118([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x395d32,_0x253b45)=>{if(_0x253b45[0x0]!=_0x3b6888)return _0x349fb9(_0x54b118([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x253b45[0x1]={..._0x253b45[0x1],[_0x54b118([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b4297};},{[_0x54b118([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54b118([0x68,0x69,0x67,0x68])}),_0x5e0775[_0x54b118([0x6f,0x6e])](_0x54b118([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x118428=>{_0x2c0cbd(_0x118428[_0x54b118([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e9ccc=!0x0,_0x3fce15(_0x118428[_0x54b118([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x54b118([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54b118([0x6c,0x6f,0x77])}),_0x521ab8[_0x54b118([0x74,0x68,0x65,0x6e])](()=>{_0x2e9ccc||_0x349fb9(_0x54b118([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5566b8(){return _0x5e0775[_0x54b118([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54b118([0x76,0x69,0x65,0x77])][_0x54b118([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x54b118([0x61,0x75,0x74,0x6f]);}function _0x3970b3(){_0x5e0775[_0x54b118([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54b118([0x76,0x69,0x65,0x77])][_0x54b118([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x54b118([0x61,0x75,0x74,0x6f]);}}function _0x10d93c(_0x5301d5){const _0x2ca35a=[new window[(_0x54b118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e3434=>setTimeout(_0x5e3434,0x3df6fa2d^_0xea7f76)),_0x521ab8[_0x54b118([0x74,0x68,0x65,0x6e])](()=>new window[(_0x54b118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21b0e8=>{let _0x31a957=0x0;_0x5e0775[_0x54b118([0x6d,0x6f,0x64,0x65,0x6c])][_0x54b118([0x6f,0x6e])](_0x54b118([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b043b,_0x327aaf)=>{_0x327aaf[0x0][_0x54b118([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31a957++,_0x31a957==(0x3dffc519^_0xea7f76)&&(_0x21b0e8(),_0x1b043b[_0x54b118([0x6f,0x66,0x66])]());});}))];return window[_0x54b118([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x54b118([0x72,0x61,0x63,0x65])](_0x2ca35a)[_0x54b118([0x74,0x68,0x65,0x6e])](()=>_0x5301d5);}async function _0x27f9ff(){await _0x521ab8,_0x5e0775[_0x54b118([0x6d,0x6f,0x64,0x65,0x6c])][_0x54b118([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48935f,_0x5e0775[_0x54b118([0x6d,0x6f,0x64,0x65,0x6c])][_0x54b118([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48935f,_0x5e0775[_0x54b118([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x54b118([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f0506(_0x42ad19){const _0x30dce4=_0xeeb33c();_0x5e0775[_0x30dce4]=_0x54b118([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x42ad19,_0x42ad19!=_0x54b118([0x56,0x61,0x6c,0x69,0x64])&&_0x27f9ff();}function _0xeeb33c(){const _0xfeb939=window[_0x54b118([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x54b118([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x54b118([0x6e,0x6f,0x77])]())[_0x54b118([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x54b118([0x2e]),'');let _0x352cd0=_0x54b118([0x6e]);for(let _0xf84b90=0x0;_0xf84b90<_0xfeb939[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf84b90+=0x2){let _0x123326=window[_0x54b118([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfeb939[_0x54b118([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf84b90,_0xf84b90+0x2));_0x123326>=_0x3a4226[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x123326-=_0x3a4226[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x352cd0+=_0x3a4226[_0x123326];}return _0x352cd0;}function _0x749394(){const _0x626c4c=_0xea69bf[_0x54b118([0x73,0x70,0x6c,0x69,0x74])](_0x54b118([0x2e]));if(0x3!=_0x626c4c[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a19cf(_0x626c4c[0x1]);function _0x1a19cf(_0x28cfa2){const _0xd0250b=_0xfb1679(_0x28cfa2);return _0xd0250b&&_0x1117c7()?_0xd0250b:null;function _0x1117c7(){const _0x437ca2=_0xd0250b[_0x54b118([0x6a,0x74,0x69])],_0x218618=window[_0x54b118([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x437ca2[_0x54b118([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x437ca2[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b6ada={..._0xd0250b,[_0x54b118([0x6a,0x74,0x69])]:_0x437ca2[_0x54b118([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x437ca2[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b6ada[_0x54b118([0x76,0x63])],_0x56d86e(_0x5b6ada)==_0x218618;}}}async function _0xe29c27(){let _0x5ddc86=!0x0;try{const _0x30f7d7=_0xea69bf[_0x54b118([0x73,0x70,0x6c,0x69,0x74])](_0x54b118([0x2e])),[_0x1258e3,_0x228f50,_0x1400de]=_0x30f7d7;return _0x941fd8(_0x1258e3),await _0x127495(_0x1258e3,_0x228f50,_0x1400de),_0x5ddc86;}catch{return!0x1;}function _0x941fd8(_0x21a029){const _0x369c76=_0xfb1679(_0x21a029);_0x369c76&&_0x369c76[_0x54b118([0x61,0x6c,0x67])]==_0x54b118([0x45,0x53,0x32,0x35,0x36])||(_0x5ddc86=!0x1);}async function _0x127495(_0x236740,_0xf2f48d,_0x2fe5de){const _0x5eb2b0=window[_0x54b118([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x54b118([0x66,0x72,0x6f,0x6d])](_0x245db3(_0x2fe5de),_0x22c633=>_0x22c633[_0x54b118([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x204582=new window[(_0x54b118([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x54b118([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x236740+_0x54b118([0x2e])+_0xf2f48d),_0x40c51a=window[_0x54b118([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x54b118([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40c51a)return;const _0x34b1cd=await _0x40c51a[_0x54b118([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x54b118([0x6a,0x77,0x6b]),_0x19117c,{[_0x54b118([0x6e,0x61,0x6d,0x65])]:_0x54b118([0x45,0x43,0x44,0x53,0x41]),[_0x54b118([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x54b118([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x54b118([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40c51a[_0x54b118([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x54b118([0x6e,0x61,0x6d,0x65])]:_0x54b118([0x45,0x43,0x44,0x53,0x41]),[_0x54b118([0x68,0x61,0x73,0x68])]:{[_0x54b118([0x6e,0x61,0x6d,0x65])]:_0x54b118([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34b1cd,_0x5eb2b0,_0x204582)||(_0x5ddc86=!0x1);}}function _0xfb1679(_0x25e590){return _0x25e590[_0x54b118([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x54b118([0x65,0x79]))?JSON[_0x54b118([0x70,0x61,0x72,0x73,0x65])](_0x245db3(_0x25e590)):null;}function _0x245db3(_0x35bbeb){return window[_0x54b118([0x61,0x74,0x6f,0x62])](_0x35bbeb[_0x54b118([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x54b118([0x2b]))[_0x54b118([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x54b118([0x2f])));}function _0x56d86e(_0x2c0e25){let _0x797b75=0x1505;function _0x4028f6(_0x1b92d4){for(let _0x315a62=0x0;_0x315a62<_0x1b92d4[_0x54b118([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x315a62++){const _0x12c38e=_0x1b92d4[_0x54b118([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x315a62);_0x797b75=(_0x797b75<<0x5)+_0x797b75+_0x12c38e,_0x797b75&=_0x797b75;}}function _0x1cb87b(_0x1150da){Array[_0x54b118([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1150da)?_0x1150da[_0x54b118([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1cb87b):_0x1150da&&typeof _0x1150da==_0x54b118([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x54b118([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1150da)[_0x54b118([0x73,0x6f,0x72,0x74])]()[_0x54b118([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c0b16,_0x1ae6f9])=>{_0x4028f6(_0x5c0b16),_0x1cb87b(_0x1ae6f9);}):_0x4028f6(window[_0x54b118([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1150da));}return _0x1cb87b(_0x2c0e25),_0x797b75>>>0x0;}function _0x2615df(_0x4cccdc){return _0x4cccdc[_0x54b118([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x54b118([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x54b118([0x30]));}function _0x1f30f9(_0x31c543){return _0x31c543[_0x54b118([0x73,0x70,0x6c,0x69,0x74])]('')[_0x54b118([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x54b118([0x6a,0x6f,0x69,0x6e])]('');}function _0x48935f(){}function _0x54b118(_0x36c112){const _0x32fc5f=_0xe6ed;return _0x36c112[_0x32fc5f(0x18b)](_0xa08389=>String[_0x32fc5f(0x167)](_0xa08389))[_0x32fc5f(0x162)]('');}_0x1f0506(await _0x389865());}(this);}[_0x3eb2c1(0x176)](){const _0x342639=_0x3eb2c1,_0xcb719b=this[_0x342639(0x132)][_0x342639(0x140)];_0xcb719b[_0x342639(0x182)](_0x3fa1ee=>{const _0xc95672=_0x342639,_0x40baa5=_0xcb719b[_0xc95672(0x179)][_0xc95672(0x15f)][_0xc95672(0x13d)]();let _0xc5c085=0x0;for(const _0x5c64da of _0x40baa5){const _0x2f8aea=w+':'+_0xc5c085;if(_0xcb719b[_0xc95672(0x172)][_0xc95672(0x16d)](_0x2f8aea))_0x3fa1ee[_0xc95672(0x139)](_0x2f8aea,{'range':_0x5c64da});else{if(_0x5c64da[_0xc95672(0x17b)][_0xc95672(0x146)]){const _0x255b40=_0x5c64da[_0xc95672(0x17b)][_0xc95672(0x141)](({item:_0x2d4ebd})=>!_0xcb719b[_0xc95672(0x18f)][_0xc95672(0x151)](_0x2d4ebd),{'boundaries':_0x5c64da});_0x3fa1ee[_0xc95672(0x14f)](_0x2f8aea,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3fa1ee[_0xc95672(0x156)](_0x255b40,_0x5c64da[_0xc95672(0x147)])});}else _0x3fa1ee[_0xc95672(0x14f)](_0x2f8aea,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5c64da});}_0xc5c085++;}});}[_0x3eb2c1(0x17f)](){const _0x3caa38=_0x3eb2c1,_0x3d0a28=this[_0x3caa38(0x132)][_0x3caa38(0x140)],_0x1053ad=Array[_0x3caa38(0x188)](this[_0x3caa38(0x132)][_0x3caa38(0x140)][_0x3caa38(0x172)][_0x3caa38(0x17d)](w));_0x1053ad[_0x3caa38(0x13e)]&&_0x3d0a28[_0x3caa38(0x182)](_0x42d167=>{const _0x4bb9b1=_0x3caa38;_0x1053ad[_0x4bb9b1(0x184)](_0x2ae182=>{const _0xb105e8=_0x4bb9b1;_0x42d167[_0xb105e8(0x177)](_0x2ae182);});});}[_0x3eb2c1(0x15c)](_0x2ba4d2,_0x1850fa){const _0x5a9dfe=_0x3eb2c1,_0x469abd=this[_0x5a9dfe(0x136)](),_0x15dff6=_0x1850fa||_0x469abd[_0x5a9dfe(0x145)]();this[_0x5a9dfe(0x132)][_0x5a9dfe(0x140)][_0x5a9dfe(0x138)](_0x15dff6)&&this[_0x5a9dfe(0x132)][_0x5a9dfe(0x140)][_0x5a9dfe(0x182)](_0x15f55c=>{const _0x473388=_0x5a9dfe;this[_0x473388(0x17f)](),_0x1850fa||this[_0x473388(0x15e)](_0x15f55c,_0x469abd),this[_0x473388(0x16a)]({'insertAt':_0x15dff6,'writer':_0x15f55c,'html':_0x2ba4d2});});}[_0x3eb2c1(0x149)](_0xc3e53a){const _0x5f3978=_0x3eb2c1,{model:_0xe4e8d7}=this[_0x5f3978(0x132)],_0x1c2ced=this[_0x5f3978(0x136)]();_0xe4e8d7[_0x5f3978(0x182)](()=>{const _0x1a9d11=_0x5f3978,_0x1c9297=this[_0x1a9d11(0x18d)](_0xc3e53a,_0x1c2ced)||this[_0x1a9d11(0x16b)](_0x1c2ced);this[_0x1a9d11(0x15c)](_0xc3e53a,_0x1c9297);});}[_0x3eb2c1(0x136)](){const _0xcec0b5=_0x3eb2c1,_0x2c20f2=this[_0xcec0b5(0x132)][_0xcec0b5(0x140)],_0x3f2cdc=Array[_0xcec0b5(0x188)](_0x2c20f2[_0xcec0b5(0x172)][_0xcec0b5(0x17d)](w))[_0xcec0b5(0x18b)](_0xa4f950=>_0xa4f950[_0xcec0b5(0x170)]());return _0x2c20f2[_0xcec0b5(0x12a)](_0x3f2cdc);}[_0x3eb2c1(0x16a)]({writer:_0x148dcb,html:_0x507fa0,insertAt:_0x2e89d3}){const _0x16e387=_0x3eb2c1,{view:_0x3988e1}=this[_0x16e387(0x132)][_0x16e387(0x189)],_0xc0ddd3=this[_0x16e387(0x132)][_0x16e387(0x178)][_0x16e387(0x14a)](_0xb14269),_0x557f2b=new l();_0x557f2b[_0x16e387(0x13c)](_0x16e387(0x14e),_0x507fa0);const _0x2bce4b=new ClipboardEvent(_0x16e387(0x152),{'clipboardData':_0x557f2b}),_0x4aa336=new _0xafeebe(_0x3988e1,_0x2bce4b,{'dataTransfer':new _0x39f1bf(_0x557f2b)});_0x148dcb[_0x16e387(0x148)](_0x2e89d3);const _0x163900=(_0x9558bf,_0x215132)=>{const _0x11fcc4=_0x16e387;_0x215132[_0x11fcc4(0x153)]&&_0x148dcb[_0x11fcc4(0x148)](_0x215132[_0x11fcc4(0x153)]);};_0xc0ddd3[_0x16e387(0x164)](_0x16e387(0x15d),_0x163900,{'priority':_0x16e387(0x134)}),_0x3988e1[_0x16e387(0x179)][_0x16e387(0x18a)](_0x16e387(0x152),_0x4aa336),_0xc0ddd3[_0x16e387(0x133)](_0x16e387(0x15d),_0x163900);}[_0x3eb2c1(0x16b)](_0x454efc){const _0x2f7cb8=_0x3eb2c1,{model:_0x7b7a63}=this[_0x2f7cb8(0x132)],_0x2334a3=Array[_0x2f7cb8(0x188)](_0x454efc[_0x2f7cb8(0x142)]());return _0x2334a3[_0x2f7cb8(0x13e)]?_0x7b7a63[_0x2f7cb8(0x13f)](_0x2334a3[_0x2f7cb8(0x174)]()):_0x454efc[_0x2f7cb8(0x137)]();}[_0x3eb2c1(0x18d)](_0x8fb314,_0x45c68e){const _0x4e6547=_0x3eb2c1,{model:_0x12702c,plugins:_0x1ff426}=this[_0x4e6547(0x132)];if(_0x1ff426[_0x4e6547(0x16d)](_0x4e6547(0x150))){const _0x10ebed=_0x1ff426[_0x4e6547(0x14a)](_0x4e6547(0x150))[_0x4e6547(0x183)](_0x45c68e);if(_0x10ebed[_0x4e6547(0x13e)]){const _0xe2c428=this[_0x4e6547(0x16f)](_0x8fb314),_0x1e6210=this[_0x4e6547(0x124)](_0x10ebed,_0xe2c428);return _0x12702c[_0x4e6547(0x14c)](_0x1e6210,0x0);}}return null;}[_0x3eb2c1(0x16f)](_0x532b53){const _0x5a44b8=_0x3eb2c1,_0x145e70=this[_0x5a44b8(0x132)][_0x5a44b8(0x178)][_0x5a44b8(0x14a)](_0x5a44b8(0x150)),_0x89c943=this[_0x5a44b8(0x132)][_0x5a44b8(0x163)][_0x5a44b8(0x180)](_0x532b53),_0x37abc8=Array[_0x5a44b8(0x188)](_0x89c943[_0x5a44b8(0x15b)]())[_0x5a44b8(0x12f)](_0xbc341e=>_0xbc341e['is'](_0x5a44b8(0x127),_0x5a44b8(0x128)));let _0x428eb7=0x0;return _0x37abc8[_0x5a44b8(0x184)](_0x8549ae=>{const _0x5accfe=_0x5a44b8;_0x428eb7+=_0x145e70[_0x5accfe(0x186)](_0x8549ae);}),_0x428eb7;}[_0x3eb2c1(0x124)](_0x546206,_0x3c80da){const _0xc5a7fa=_0x3eb2c1,_0x5ee5b1=this[_0xc5a7fa(0x132)][_0xc5a7fa(0x178)][_0xc5a7fa(0x14a)](_0xc5a7fa(0x150)),_0x47f5a5=_0x5ee5b1[_0xc5a7fa(0x18e)](_0x546206),_0x19c4e8=_0x5ee5b1[_0xc5a7fa(0x155)](_0x546206),_0x1d57e5=_0x47f5a5[_0xc5a7fa(0x17a)]+0x1,_0x56ea5b=_0x19c4e8[_0xc5a7fa(0x160)],_0x15e87f=_0x546206[0x0][_0xc5a7fa(0x187)](_0xc5a7fa(0x128));for(let _0x20bd90=0x0;_0x20bd90<_0x3c80da;_0x20bd90++)_0x5ee5b1[_0xc5a7fa(0x173)](_0x15e87f,{'at':_0x1d57e5});return _0x15e87f[_0xc5a7fa(0x169)](_0x1d57e5)[_0xc5a7fa(0x169)](_0x56ea5b);}[_0x3eb2c1(0x15e)](_0x4017e6,_0x543635){const _0x25e0bf=_0x3eb2c1,{plugins:_0x461141}=this[_0x25e0bf(0x132)],{model:_0xa59a39}=_0x4017e6;if(!_0x461141[_0x25e0bf(0x16d)](_0x25e0bf(0x150)))return;_0x461141[_0x25e0bf(0x14a)](_0x25e0bf(0x150))[_0x25e0bf(0x183)](_0x543635)[_0x25e0bf(0x13e)]&&_0xa59a39[_0x25e0bf(0x12e)](_0x543635);}}function _0x5968(){const _0x52b6c2=['span','element','table','ai.useTheme','createSelection','ck-ai-assistant-ui_theme','createUIElement','186864iRVGmy','deleteContent','filter','5uJvTeN','1248CNrrOR','editor','off','lowest','addClass','_getAISelection','getLastPosition','canEditAt','updateMarker','afterInit','markerToHighlight','setData','getRanges','length','createPositionAfter','model','getLastMatchingPosition','getSelectedBlocks','439272VctAVi','1260452vDvizY','getFirstRange','isAtEnd','end','setSelection','insertContentBelow','get','4968872zgmkPP','createPositionAt','conversion','text/html','addMarker','TableUtils','isContent','paste','resultRange','ck-fake-ai-selection_collapsed','getColumnIndexes','createRange','isPremiumPlugin','7341291SAsEUw','isOfficialPlugin','ck-fake-ai-selection','getChildren','insertContent','contentInsertion','_resetContentOfSelectedTableCells','selection','first','markerRange','join','data','once','href','editingDowncast','fromCharCode','markerToElement','getChild','_pasteHTMLUsingClipboard','_getDefaultInsertBelowPosition','config','has','29553lyaTYh','_getTableRowCountFromContent','getRange','pluginName','markers','insertRows','pop','push','showFakeVisualSelection','removeMarker','plugins','document','last','start','AIAssistantEditing','getMarkersGroup','for','hideFakeVisualSelection','parse','init','change','getSelectedTableCells','forEach','DataTransfer','getRows','findAncestor','from','editing','fire','map','isCollapsed','_prepareTableInsertBelowPosition','getRowIndexes','schema','8330MUxvCm','_createEmptyTableRows','ai-ui'];_0x5968=function(){return _0x52b6c2;};return _0x5968();}
|
|
23
|
+
const _0x5d29ef=_0x9cb2;(function(_0x320118,_0x52af8e){const _0x987ac1=_0x9cb2,_0x338619=_0x320118();while(!![]){try{const _0x5e71c1=-parseInt(_0x987ac1(0x13e))/0x1*(parseInt(_0x987ac1(0x184))/0x2)+parseInt(_0x987ac1(0x141))/0x3*(parseInt(_0x987ac1(0x15f))/0x4)+parseInt(_0x987ac1(0x17d))/0x5*(parseInt(_0x987ac1(0x137))/0x6)+-parseInt(_0x987ac1(0x182))/0x7+parseInt(_0x987ac1(0x168))/0x8*(parseInt(_0x987ac1(0x13f))/0x9)+-parseInt(_0x987ac1(0x14c))/0xa+-parseInt(_0x987ac1(0x12b))/0xb*(-parseInt(_0x987ac1(0x17f))/0xc);if(_0x5e71c1===_0x52af8e)break;else _0x338619['push'](_0x338619['shift']());}catch(_0x2a4fa3){_0x338619['push'](_0x338619['shift']());}}}(_0x5659,0x9d9cf));import{uid as _0x47138d}from'ckeditor5/src/utils.js';function _0x5659(){const _0x5e6574=['addClass','data','text/html','updateMarker','isOfficialPlugin','DataTransfer','ck-fake-ai-selection','306IfxVrT','getChild','editingDowncast','push','setSelection','insertRows','start','43reFogF','1927674PkTZIZ','for','39NwMdBO','join','pluginName','isAtEnd','resultRange','getRows','first','TableUtils','href','selection','off','3061800FOJytv','insertContent','isCollapsed','getColumnIndexes','getRowIndexes','schema','span','afterInit','markerRange','fire','ck-fake-ai-selection_collapsed','_createEmptyTableRows','conversion','table','showFakeVisualSelection','addMarker','createPositionAt','model','insertContentBelow','77140OEFroM','ck-ai-assistant-ui_theme','markers','setData','config','getFirstRange','last','has','_pasteHTMLUsingClipboard','40jahfsF','element','end','change','createUIElement','length','getRange','createSelection','_getDefaultInsertBelowPosition','plugins','isPremiumPlugin','_prepareTableInsertBelowPosition','lowest','pop','ai.useTheme','once','filter','isContent','paste','canEditAt','deleteContent','8855HEJrZF','markerToHighlight','3540zufPPl','markerToElement','getChildren','8394568RrfoEI','findAncestor','20716fKNScV','hideFakeVisualSelection','contentInsertion','createPositionAfter','ai-ui','_getTableRowCountFromContent','removeMarker','getRanges','getSelectedTableCells','getLastPosition','parse','map','forEach','_getAISelection','document','_resetContentOfSelectedTableCells','init','fromCharCode','AIAssistantEditing','getMarkersGroup','editing','getLastMatchingPosition','getSelectedBlocks','44165xSOUBz','from','editor','get','createRange'];_0x5659=function(){return _0x5e6574;};return _0x5659();}import{Plugin as _0x31a0bb}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2d9fd5}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x54d859,ViewDataTransfer as _0x181f7f}from'ckeditor5/src/engine.js';const l=globalThis[_0x5d29ef(0x135)],w=_0x5d29ef(0x188);function _0x9cb2(_0x43a7b0,_0x2927bd){const _0x5659df=_0x5659();return _0x9cb2=function(_0x9cb203,_0x1d6d75){_0x9cb203=_0x9cb203-0x11e;let _0x2388e1=_0x5659df[_0x9cb203];return _0x2388e1;},_0x9cb2(_0x43a7b0,_0x2927bd);}export class AIAssistantEditing extends _0x31a0bb{static get[_0x5d29ef(0x143)](){const _0x267c53=_0x5d29ef;return _0x267c53(0x126);}static get[_0x5d29ef(0x134)](){return!0x0;}static get[_0x5d29ef(0x172)](){return!0x0;}[_0x5d29ef(0x124)](){const _0x58c66f=_0x5d29ef,{editor:_0x520fc8}=this,_0x4edc2d=[_0x58c66f(0x136)];_0x520fc8[_0x58c66f(0x163)][_0x58c66f(0x12e)](_0x58c66f(0x176))&&_0x4edc2d[_0x58c66f(0x13a)](_0x58c66f(0x160)),_0x520fc8[_0x58c66f(0x158)][_0x58c66f(0x140)](_0x58c66f(0x139))[_0x58c66f(0x17e)]({'model':w,'view':{'classes':_0x4edc2d,'priority':0xc}}),_0x520fc8[_0x58c66f(0x158)][_0x58c66f(0x140)](_0x58c66f(0x139))[_0x58c66f(0x180)]({'model':w,'view':(_0xe251ce,{writer:_0x4682c5})=>{const _0x4eec67=_0x58c66f;if(!_0xe251ce[_0x4eec67(0x154)][_0x4eec67(0x14e)])return null;const _0x450d94=_0x4682c5[_0x4eec67(0x16c)](_0x4eec67(0x152));return _0x4682c5[_0x4eec67(0x130)]([_0x4eec67(0x136),_0x4eec67(0x156)],_0x450d94),_0x450d94;}});}[_0x5d29ef(0x153)](){!async function(_0x15af7f){const _0x2528f3=_0xfcd32e([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x315c8c=0x3dffc4e1,_0x31dc6a=0x3df8b7c9^_0x315c8c,_0x33c02=window[_0xfcd32e([0x44,0x61,0x74,0x65])][_0xfcd32e([0x6e,0x6f,0x77])](),_0x25fa6c=_0x15af7f[_0xfcd32e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a01e5=new window[(_0xfcd32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fd5fe=>{_0x25fa6c[_0xfcd32e([0x6f,0x6e,0x63,0x65])](_0xfcd32e([0x72,0x65,0x61,0x64,0x79]),_0x3fd5fe);}),_0x211983={[_0xfcd32e([0x6b,0x74,0x79])]:_0xfcd32e([0x45,0x43]),[_0xfcd32e([0x75,0x73,0x65])]:_0xfcd32e([0x73,0x69,0x67]),[_0xfcd32e([0x63,0x72,0x76])]:_0xfcd32e([0x50,0x2d,0x32,0x35,0x36]),[_0xfcd32e([0x78])]:_0xfcd32e([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]),[_0xfcd32e([0x79])]:_0xfcd32e([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]),[_0xfcd32e([0x61,0x6c,0x67])]:_0xfcd32e([0x45,0x53,0x32,0x35,0x36])},_0x46f9a0=_0x25fa6c[_0xfcd32e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xfcd32e([0x67,0x65,0x74])](_0xfcd32e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x556076(){let _0x53baf0,_0x3efdae=null,_0x499592=null;try{if(_0x46f9a0==_0xfcd32e([0x47,0x50,0x4c]))return _0xfcd32e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53baf0=_0x26c8ad(),!_0x53baf0)return _0xfcd32e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53baf0[_0xfcd32e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x499592=_0x513216(_0x53baf0[_0xfcd32e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53baf0[_0xfcd32e([0x6a,0x74,0x69])])),await _0x9d96c0()?_0x345387()?_0x12a507()?_0xfcd32e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x28fba7()?(_0x53baf0[_0xfcd32e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfcd32e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3efdae=_0xd3c739(_0xfcd32e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53baf0[_0xfcd32e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfcd32e([0x74,0x72,0x69,0x61,0x6c])&&(_0x3efdae=_0xd3c739(_0xfcd32e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37ba95()):_0xfcd32e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xfcd32e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xfcd32e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xfcd32e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12a507(){const _0x3dc92a=[_0xfcd32e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xfcd32e([0x74,0x72,0x69,0x61,0x6c])][_0xfcd32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53baf0[_0xfcd32e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33c02/0x3e8:0xe10*_0x31dc6a;return _0x53baf0[_0xfcd32e([0x65,0x78,0x70])]<_0x3dc92a;}function _0x345387(){const _0x1dc9d0=_0x53baf0[_0xfcd32e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1dc9d0&&(!!_0x1dc9d0[_0xfcd32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfcd32e([0x2a]))||!!_0x1dc9d0[_0xfcd32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfcd32e([0x41,0x49])));}function _0x28fba7(){const _0x278ed4=_0x9cb2,_0x456d13=_0x53baf0[_0xfcd32e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x456d13||0x0==_0x456d13[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36491d}=new URL(window[_0xfcd32e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x278ed4(0x149)]);if(_0x456d13[_0xfcd32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36491d))return!0x0;const _0x16af2c=_0x36491d[_0xfcd32e([0x73,0x70,0x6c,0x69,0x74])](_0xfcd32e([0x2e]));return _0x456d13[_0xfcd32e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53514f=>_0x53514f[_0xfcd32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfcd32e([0x2a])))[_0xfcd32e([0x6d,0x61,0x70])](_0x522df8=>_0x522df8[_0xfcd32e([0x73,0x70,0x6c,0x69,0x74])](_0xfcd32e([0x2e])))[_0xfcd32e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xecfe73=>_0xecfe73[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x16af2c[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfcd32e([0x6d,0x61,0x70])](_0x20517a=>Array(_0x16af2c[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x20517a[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfcd32e([0x66,0x69,0x6c,0x6c])](_0x20517a[0x0]===_0xfcd32e([0x2a])?_0xfcd32e([0x2a]):'')[_0xfcd32e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x20517a))[_0xfcd32e([0x73,0x6f,0x6d,0x65])](_0x530b8e=>_0x16af2c[_0xfcd32e([0x65,0x76,0x65,0x72,0x79])]((_0xf35885,_0x25db87)=>_0x530b8e[_0x25db87]===_0xf35885||_0x530b8e[_0x25db87]===_0xfcd32e([0x2a])));}function _0x37ba95(){return _0x3efdae&&_0x499592?new window[(_0xfcd32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x474313,_0x39a678)=>{_0x3efdae[_0xfcd32e([0x74,0x68,0x65,0x6e])](_0x474313,_0x39a678),_0x499592[_0xfcd32e([0x74,0x68,0x65,0x6e])](_0x8c0d3b=>{_0x8c0d3b!=_0xfcd32e([0x56,0x61,0x6c,0x69,0x64])&&_0x474313(_0x8c0d3b);},_0x39a678);}):_0x3efdae||_0x499592||_0xfcd32e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x513216(_0xefbef,_0x3e51fd){return new window[(_0xfcd32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x336943=>{if(_0x984460())return _0x336943(_0xfcd32e([0x56,0x61,0x6c,0x69,0x64]));_0x6a3bf3(),_0x25fa6c[_0xfcd32e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xfcd32e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3d6073=!0x1;const _0x1a2532=_0x47138d();function _0x1761a2(_0x41293f){return!!_0x41293f&&(typeof _0x41293f===_0xfcd32e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41293f===_0xfcd32e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41293f[_0xfcd32e([0x74,0x68,0x65,0x6e])]===_0xfcd32e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41293f[_0xfcd32e([0x63,0x61,0x74,0x63,0x68])]===_0xfcd32e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8a112(_0x4fa935){_0x5bf79a(_0x4fa935)[_0xfcd32e([0x74,0x68,0x65,0x6e])](_0x526a01=>{if(!_0x526a01||_0x526a01[_0xfcd32e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xfcd32e([0x6f,0x6b]))return _0xfcd32e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x587be1(_0x5c5aa6(_0x1a2532+_0x3e51fd))!=_0x526a01[_0xfcd32e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xfcd32e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xfcd32e([0x56,0x61,0x6c,0x69,0x64]);})[_0xfcd32e([0x74,0x68,0x65,0x6e])](_0x15de63=>(_0x16fc2a(),_0x15de63),()=>{const _0x1ef291=_0xbd791b();return null==_0x1ef291?(_0x16fc2a(),_0xfcd32e([0x56,0x61,0x6c,0x69,0x64])):_0xfcd32e(_0x33c02-_0x1ef291>(0x19f340e1^_0x315c8c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xfcd32e([0x74,0x68,0x65,0x6e])](_0x336943)[_0xfcd32e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x336943(_0xfcd32e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33298d=0x3dc92a61^_0x315c8c;function _0x16fc2a(){const _0x350c47=_0xfcd32e([0x6c,0x6c,0x63,0x74,0x2d])+_0x587be1(_0x5c5aa6(_0xefbef)),_0xac44b0=_0x44006c(_0x587be1(window[_0xfcd32e([0x4d,0x61,0x74,0x68])][_0xfcd32e([0x63,0x65,0x69,0x6c])](_0x33c02/_0x33298d)));window[_0xfcd32e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfcd32e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x350c47,_0xac44b0);}function _0xbd791b(){const _0x321782=_0xfcd32e([0x6c,0x6c,0x63,0x74,0x2d])+_0x587be1(_0x5c5aa6(_0xefbef)),_0x35d20e=window[_0xfcd32e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfcd32e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x321782);return _0x35d20e?window[_0xfcd32e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44006c(_0x35d20e),0x10)*_0x33298d:null;}function _0x5bf79a(_0x4fc49a){return new window[(_0xfcd32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12b7fe,_0x2d89a9)=>{_0x4fc49a[_0xfcd32e([0x74,0x68,0x65,0x6e])](_0x12b7fe,_0x2d89a9),window[_0xfcd32e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d89a9,0x3dfe1021^_0x315c8c);});}}_0x25fa6c[_0xfcd32e([0x6f,0x6e])](_0xfcd32e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e0585,_0x5767f5)=>{if(_0x5767f5[0x0]!=_0xefbef)return _0x336943(_0xfcd32e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5767f5[0x1]={..._0x5767f5[0x1],[_0xfcd32e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a2532};},{[_0xfcd32e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfcd32e([0x68,0x69,0x67,0x68])}),_0x25fa6c[_0xfcd32e([0x6f,0x6e])](_0xfcd32e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a20b2=>{_0x1761a2(_0x3a20b2[_0xfcd32e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3d6073=!0x0,_0x8a112(_0x3a20b2[_0xfcd32e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xfcd32e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfcd32e([0x6c,0x6f,0x77])}),_0x2a01e5[_0xfcd32e([0x74,0x68,0x65,0x6e])](()=>{_0x3d6073||_0x336943(_0xfcd32e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x984460(){return _0x25fa6c[_0xfcd32e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfcd32e([0x76,0x69,0x65,0x77])][_0xfcd32e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xfcd32e([0x61,0x75,0x74,0x6f]);}function _0x6a3bf3(){_0x25fa6c[_0xfcd32e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfcd32e([0x76,0x69,0x65,0x77])][_0xfcd32e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfcd32e([0x61,0x75,0x74,0x6f]);}}function _0xd3c739(_0xcd8576){const _0x2a09a4=[new window[(_0xfcd32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x557e07=>setTimeout(_0x557e07,0x3df6fa2d^_0x315c8c)),_0x2a01e5[_0xfcd32e([0x74,0x68,0x65,0x6e])](()=>new window[(_0xfcd32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e24ce=>{let _0x14956d=0x0;_0x25fa6c[_0xfcd32e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfcd32e([0x6f,0x6e])](_0xfcd32e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43b266,_0x237195)=>{_0x237195[0x0][_0xfcd32e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14956d++,_0x14956d==(0x3dffc519^_0x315c8c)&&(_0x4e24ce(),_0x43b266[_0xfcd32e([0x6f,0x66,0x66])]());});}))];return window[_0xfcd32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfcd32e([0x72,0x61,0x63,0x65])](_0x2a09a4)[_0xfcd32e([0x74,0x68,0x65,0x6e])](()=>_0xcd8576);}async function _0x21fddf(){await _0x2a01e5,_0x25fa6c[_0xfcd32e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfcd32e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e66b2,_0x25fa6c[_0xfcd32e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfcd32e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e66b2,_0x25fa6c[_0xfcd32e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xfcd32e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x18be30(_0x346e35){const _0x1eaeae=_0x35f735();_0x25fa6c[_0x1eaeae]=_0xfcd32e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x346e35,_0x346e35!=_0xfcd32e([0x56,0x61,0x6c,0x69,0x64])&&_0x21fddf();}function _0x35f735(){const _0x3d0791=window[_0xfcd32e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xfcd32e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xfcd32e([0x6e,0x6f,0x77])]())[_0xfcd32e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xfcd32e([0x2e]),'');let _0x1ff515=_0xfcd32e([0x6e]);for(let _0x10f5cc=0x0;_0x10f5cc<_0x3d0791[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10f5cc+=0x2){let _0x480308=window[_0xfcd32e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d0791[_0xfcd32e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10f5cc,_0x10f5cc+0x2));_0x480308>=_0x2528f3[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x480308-=_0x2528f3[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ff515+=_0x2528f3[_0x480308];}return _0x1ff515;}function _0x26c8ad(){const _0x411564=_0x46f9a0[_0xfcd32e([0x73,0x70,0x6c,0x69,0x74])](_0xfcd32e([0x2e]));if(0x3!=_0x411564[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x980677(_0x411564[0x1]);function _0x980677(_0x5e0164){const _0x326157=_0x1f7e25(_0x5e0164);return _0x326157&&_0x32568e()?_0x326157:null;function _0x32568e(){const _0x229654=_0x326157[_0xfcd32e([0x6a,0x74,0x69])],_0x357324=window[_0xfcd32e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x229654[_0xfcd32e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x229654[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb18401={..._0x326157,[_0xfcd32e([0x6a,0x74,0x69])]:_0x229654[_0xfcd32e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x229654[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb18401[_0xfcd32e([0x76,0x63])],_0x5c5aa6(_0xb18401)==_0x357324;}}}async function _0x9d96c0(){let _0x12c8c3=!0x0;try{const _0x3139c0=_0x46f9a0[_0xfcd32e([0x73,0x70,0x6c,0x69,0x74])](_0xfcd32e([0x2e])),[_0x42b789,_0x127b94,_0x58e708]=_0x3139c0;return _0x2d3bd7(_0x42b789),await _0x4db9bd(_0x42b789,_0x127b94,_0x58e708),_0x12c8c3;}catch{return!0x1;}function _0x2d3bd7(_0x9da37f){const _0xebbb82=_0x1f7e25(_0x9da37f);_0xebbb82&&_0xebbb82[_0xfcd32e([0x61,0x6c,0x67])]==_0xfcd32e([0x45,0x53,0x32,0x35,0x36])||(_0x12c8c3=!0x1);}async function _0x4db9bd(_0x4382d5,_0xf642e4,_0x1df21d){const _0x3946e2=window[_0xfcd32e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xfcd32e([0x66,0x72,0x6f,0x6d])](_0x205a84(_0x1df21d),_0x145783=>_0x145783[_0xfcd32e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20067b=new window[(_0xfcd32e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xfcd32e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4382d5+_0xfcd32e([0x2e])+_0xf642e4),_0x3fa6f9=window[_0xfcd32e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xfcd32e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3fa6f9)return;const _0x4aeaf5=await _0x3fa6f9[_0xfcd32e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xfcd32e([0x6a,0x77,0x6b]),_0x211983,{[_0xfcd32e([0x6e,0x61,0x6d,0x65])]:_0xfcd32e([0x45,0x43,0x44,0x53,0x41]),[_0xfcd32e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xfcd32e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xfcd32e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3fa6f9[_0xfcd32e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xfcd32e([0x6e,0x61,0x6d,0x65])]:_0xfcd32e([0x45,0x43,0x44,0x53,0x41]),[_0xfcd32e([0x68,0x61,0x73,0x68])]:{[_0xfcd32e([0x6e,0x61,0x6d,0x65])]:_0xfcd32e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4aeaf5,_0x3946e2,_0x20067b)||(_0x12c8c3=!0x1);}}function _0x1f7e25(_0x337a6b){return _0x337a6b[_0xfcd32e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xfcd32e([0x65,0x79]))?JSON[_0xfcd32e([0x70,0x61,0x72,0x73,0x65])](_0x205a84(_0x337a6b)):null;}function _0x205a84(_0x9858b0){return window[_0xfcd32e([0x61,0x74,0x6f,0x62])](_0x9858b0[_0xfcd32e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xfcd32e([0x2b]))[_0xfcd32e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xfcd32e([0x2f])));}function _0x5c5aa6(_0x5a95db){let _0x5acc1c=0x1505;function _0x52888a(_0x19c45c){for(let _0x5baeac=0x0;_0x5baeac<_0x19c45c[_0xfcd32e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5baeac++){const _0x46948b=_0x19c45c[_0xfcd32e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5baeac);_0x5acc1c=(_0x5acc1c<<0x5)+_0x5acc1c+_0x46948b,_0x5acc1c&=_0x5acc1c;}}function _0x37bfe2(_0x36fe81){Array[_0xfcd32e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x36fe81)?_0x36fe81[_0xfcd32e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37bfe2):_0x36fe81&&typeof _0x36fe81==_0xfcd32e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xfcd32e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x36fe81)[_0xfcd32e([0x73,0x6f,0x72,0x74])]()[_0xfcd32e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x245d03,_0x5b88b2])=>{_0x52888a(_0x245d03),_0x37bfe2(_0x5b88b2);}):_0x52888a(window[_0xfcd32e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x36fe81));}return _0x37bfe2(_0x5a95db),_0x5acc1c>>>0x0;}function _0x587be1(_0x4ffabf){return _0x4ffabf[_0xfcd32e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xfcd32e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xfcd32e([0x30]));}function _0x44006c(_0x31093e){return _0x31093e[_0xfcd32e([0x73,0x70,0x6c,0x69,0x74])]('')[_0xfcd32e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xfcd32e([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e66b2(){}function _0xfcd32e(_0x160947){const _0xbe7e56=_0x9cb2;return _0x160947[_0xbe7e56(0x11f)](_0xbf2ce9=>String[_0xbe7e56(0x125)](_0xbf2ce9))[_0xbe7e56(0x142)]('');}_0x18be30(await _0x556076());}(this);}[_0x5d29ef(0x15a)](){const _0x5b8514=_0x5d29ef,_0x13c38a=this[_0x5b8514(0x12d)][_0x5b8514(0x15d)];_0x13c38a[_0x5b8514(0x16b)](_0x2513f0=>{const _0x33caf3=_0x5b8514,_0x28ccba=_0x13c38a[_0x33caf3(0x122)][_0x33caf3(0x14a)][_0x33caf3(0x18b)]();let _0x56504a=0x0;for(const _0x485547 of _0x28ccba){const _0xcbc73b=w+':'+_0x56504a;if(_0x13c38a[_0x33caf3(0x161)][_0x33caf3(0x166)](_0xcbc73b))_0x2513f0[_0x33caf3(0x133)](_0xcbc73b,{'range':_0x485547});else{if(_0x485547[_0x33caf3(0x13d)][_0x33caf3(0x144)]){const _0x534432=_0x485547[_0x33caf3(0x13d)][_0x33caf3(0x129)](({item:_0x362dc5})=>!_0x13c38a[_0x33caf3(0x151)][_0x33caf3(0x179)](_0x362dc5),{'boundaries':_0x485547});_0x2513f0[_0x33caf3(0x15b)](_0xcbc73b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2513f0[_0x33caf3(0x12f)](_0x534432,_0x485547[_0x33caf3(0x16a)])});}else _0x2513f0[_0x33caf3(0x15b)](_0xcbc73b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x485547});}_0x56504a++;}});}[_0x5d29ef(0x185)](){const _0x5db514=_0x5d29ef,_0x1656a0=this[_0x5db514(0x12d)][_0x5db514(0x15d)],_0x4d842c=Array[_0x5db514(0x12c)](this[_0x5db514(0x12d)][_0x5db514(0x15d)][_0x5db514(0x161)][_0x5db514(0x127)](w));_0x4d842c[_0x5db514(0x16d)]&&_0x1656a0[_0x5db514(0x16b)](_0x503c70=>{const _0x5912ad=_0x5db514;_0x4d842c[_0x5912ad(0x120)](_0x3425ea=>{const _0x170bf0=_0x5912ad;_0x503c70[_0x170bf0(0x18a)](_0x3425ea);});});}[_0x5d29ef(0x14d)](_0x496839,_0x4cdaf8){const _0x14ac37=_0x5d29ef,_0x4d84de=this[_0x14ac37(0x121)](),_0x323322=_0x4cdaf8||_0x4d84de[_0x14ac37(0x164)]();this[_0x14ac37(0x12d)][_0x14ac37(0x15d)][_0x14ac37(0x17b)](_0x323322)&&this[_0x14ac37(0x12d)][_0x14ac37(0x15d)][_0x14ac37(0x16b)](_0x2465c0=>{const _0x494b63=_0x14ac37;this[_0x494b63(0x185)](),_0x4cdaf8||this[_0x494b63(0x123)](_0x2465c0,_0x4d84de),this[_0x494b63(0x167)]({'insertAt':_0x323322,'writer':_0x2465c0,'html':_0x496839});});}[_0x5d29ef(0x15e)](_0x1300d0){const _0x5282c1=_0x5d29ef,{model:_0x2ad416}=this[_0x5282c1(0x12d)],_0x3fc55e=this[_0x5282c1(0x121)]();_0x2ad416[_0x5282c1(0x16b)](()=>{const _0x71b350=_0x5282c1,_0x14b4e3=this[_0x71b350(0x173)](_0x1300d0,_0x3fc55e)||this[_0x71b350(0x170)](_0x3fc55e);this[_0x71b350(0x14d)](_0x1300d0,_0x14b4e3);});}[_0x5d29ef(0x121)](){const _0x1225b1=_0x5d29ef,_0x56b77c=this[_0x1225b1(0x12d)][_0x1225b1(0x15d)],_0x394f30=Array[_0x1225b1(0x12c)](_0x56b77c[_0x1225b1(0x161)][_0x1225b1(0x127)](w))[_0x1225b1(0x11f)](_0x864779=>_0x864779[_0x1225b1(0x16e)]());return _0x56b77c[_0x1225b1(0x16f)](_0x394f30);}[_0x5d29ef(0x167)]({writer:_0x483549,html:_0x1229bf,insertAt:_0x44a4ea}){const _0x4e2924=_0x5d29ef,{view:_0x22860e}=this[_0x4e2924(0x12d)][_0x4e2924(0x128)],_0x3790b5=this[_0x4e2924(0x12d)][_0x4e2924(0x171)][_0x4e2924(0x12e)](_0x2d9fd5),_0x1926fc=new l();_0x1926fc[_0x4e2924(0x162)](_0x4e2924(0x132),_0x1229bf);const _0x51918d=new ClipboardEvent(_0x4e2924(0x17a),{'clipboardData':_0x1926fc}),_0x1642ff=new _0x54d859(_0x22860e,_0x51918d,{'dataTransfer':new _0x181f7f(_0x1926fc)});_0x483549[_0x4e2924(0x13b)](_0x44a4ea);const _0x3161ef=(_0x1deab5,_0xae0fa0)=>{const _0x5ef76b=_0x4e2924;_0xae0fa0[_0x5ef76b(0x145)]&&_0x483549[_0x5ef76b(0x13b)](_0xae0fa0[_0x5ef76b(0x145)]);};_0x3790b5[_0x4e2924(0x177)](_0x4e2924(0x186),_0x3161ef,{'priority':_0x4e2924(0x174)}),_0x22860e[_0x4e2924(0x122)][_0x4e2924(0x155)](_0x4e2924(0x17a),_0x1642ff),_0x3790b5[_0x4e2924(0x14b)](_0x4e2924(0x186),_0x3161ef);}[_0x5d29ef(0x170)](_0x37124e){const _0x28f516=_0x5d29ef,{model:_0x2a6310}=this[_0x28f516(0x12d)],_0x45260a=Array[_0x28f516(0x12c)](_0x37124e[_0x28f516(0x12a)]());return _0x45260a[_0x28f516(0x16d)]?_0x2a6310[_0x28f516(0x187)](_0x45260a[_0x28f516(0x175)]()):_0x37124e[_0x28f516(0x18d)]();}[_0x5d29ef(0x173)](_0x10b424,_0x410866){const _0x18ed9f=_0x5d29ef,{model:_0x3ffab9,plugins:_0x213e75}=this[_0x18ed9f(0x12d)];if(_0x213e75[_0x18ed9f(0x166)](_0x18ed9f(0x148))){const _0x50b8a7=_0x213e75[_0x18ed9f(0x12e)](_0x18ed9f(0x148))[_0x18ed9f(0x18c)](_0x410866);if(_0x50b8a7[_0x18ed9f(0x16d)]){const _0x557aa2=this[_0x18ed9f(0x189)](_0x10b424),_0x5a06e4=this[_0x18ed9f(0x157)](_0x50b8a7,_0x557aa2);return _0x3ffab9[_0x18ed9f(0x15c)](_0x5a06e4,0x0);}}return null;}[_0x5d29ef(0x189)](_0x1896d4){const _0xf8c4d=_0x5d29ef,_0x102375=this[_0xf8c4d(0x12d)][_0xf8c4d(0x171)][_0xf8c4d(0x12e)](_0xf8c4d(0x148)),_0x43e9db=this[_0xf8c4d(0x12d)][_0xf8c4d(0x131)][_0xf8c4d(0x11e)](_0x1896d4),_0x4658a5=Array[_0xf8c4d(0x12c)](_0x43e9db[_0xf8c4d(0x181)]())[_0xf8c4d(0x178)](_0x1aa221=>_0x1aa221['is'](_0xf8c4d(0x169),_0xf8c4d(0x159)));let _0xc90344=0x0;return _0x4658a5[_0xf8c4d(0x120)](_0x2cdcea=>{const _0x5b8387=_0xf8c4d;_0xc90344+=_0x102375[_0x5b8387(0x146)](_0x2cdcea);}),_0xc90344;}[_0x5d29ef(0x157)](_0x288920,_0x36fb4d){const _0x4afc7d=_0x5d29ef,_0x35cd7c=this[_0x4afc7d(0x12d)][_0x4afc7d(0x171)][_0x4afc7d(0x12e)](_0x4afc7d(0x148)),_0x2ce2c7=_0x35cd7c[_0x4afc7d(0x150)](_0x288920),_0x46dbfa=_0x35cd7c[_0x4afc7d(0x14f)](_0x288920),_0x585e36=_0x2ce2c7[_0x4afc7d(0x165)]+0x1,_0x5ea12c=_0x46dbfa[_0x4afc7d(0x147)],_0x42eccf=_0x288920[0x0][_0x4afc7d(0x183)](_0x4afc7d(0x159));for(let _0x27d4f6=0x0;_0x27d4f6<_0x36fb4d;_0x27d4f6++)_0x35cd7c[_0x4afc7d(0x13c)](_0x42eccf,{'at':_0x585e36});return _0x42eccf[_0x4afc7d(0x138)](_0x585e36)[_0x4afc7d(0x138)](_0x5ea12c);}[_0x5d29ef(0x123)](_0x5604a3,_0x2301d2){const _0x446530=_0x5d29ef,{plugins:_0x114209}=this[_0x446530(0x12d)],{model:_0x460456}=_0x5604a3;if(!_0x114209[_0x446530(0x166)](_0x446530(0x148)))return;_0x114209[_0x446530(0x12e)](_0x446530(0x148))[_0x446530(0x18c)](_0x2301d2)[_0x446530(0x16d)]&&_0x460456[_0x446530(0x17c)](_0x2301d2);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d0d63=_0x586e;(function(_0x25f1b6,_0x40e883){const _0x391d65=_0x586e,_0x4f286b=_0x25f1b6();while(!![]){try{const _0x238efa=parseInt(_0x391d65(0x19b))/0x1*(parseInt(_0x391d65(0xf2))/0x2)+-parseInt(_0x391d65(0x14a))/0x3*(-parseInt(_0x391d65(0x163))/0x4)+-parseInt(_0x391d65(0x134))/0x5+parseInt(_0x391d65(0xfd))/0x6+-parseInt(_0x391d65(0x194))/0x7+parseInt(_0x391d65(0xf0))/0x8+-parseInt(_0x391d65(0x15d))/0x9*(-parseInt(_0x391d65(0x15f))/0xa);if(_0x238efa===_0x40e883)break;else _0x4f286b['push'](_0x4f286b['shift']());}catch(_0x282b01){_0x4f286b['push'](_0x4f286b['shift']());}}}(_0x5772,0x92772));import{Plugin as _0x47e322}from'ckeditor5/src/core.js';import{IconMagicWand as _0x2777e7,IconRobotPencil as _0xe9868b}from'ckeditor5/src/icons.js';import{first as _0x288350,CKEditorError as _0x8600c9}from'ckeditor5/src/utils.js';import{createDropdown as _0x24d66f,addMenuToDropdown as _0x5069c4,ButtonView as _0x15094d,MenuBarMenuListItemButtonView as _0xff9a3,Dialog as _0x4ea887,DialogViewPosition as _0x185faa,MenuBarMenuView as _0x209a17,MenuBarMenuListView as _0x56c025,MenuBarMenuListItemView as _0x56049a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x2ea7c8,UNGROUPED_COMMANDS_GROUP_ID as _0x1bcfec}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x23c523}from'./aiassistantediting.js';import{AIAdapter as _0x370cf7}from'./adapters/aiadapter.js';import{getTranslation as _0x36b914}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x16319f}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x5a3066}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x133073}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x38e002}from'./ui/form/aiformtoolbarview.js';function _0x586e(_0x5872f8,_0x4cccd8){const _0x5772c2=_0x5772();return _0x586e=function(_0x586e6b,_0x5b5f3f){_0x586e6b=_0x586e6b-0xef;let _0x58ba2e=_0x5772c2[_0x586e6b];return _0x58ba2e;},_0x586e(_0x5872f8,_0x4cccd8);}import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x3d0d63(0x15c)];import{ClipboardMarkersUtils as _0x1bdb63}from'ckeditor5/src/clipboard.js';function _0x5772(){const _0x32bf54=['forEach','hide','bind','_getResolvedCommandsDefinitions','ai.useTheme','menuPanelClass','</p>','groupId','_populateMenuBarMenu','enabledCommandsIds','plugins','usageLimit','custom','buttonView','commands','items','isCollapsed','currentContext','aiLicenseKeyValid','_getMenuBarGroupButtons','menuView','wasMoved','values','panelView','fire','featureNotAllowed','map','showAIAssistant','init','_dialog','domainLimit','sort','polite','getSelectedBlocks','isFlat','_initView','define','aiLicenseKeyTrialLimit','document','_createAIAssistantUIButton','textAdapter','_uiCssClasses','updatePosition','AI\x20Commands','rawHtml','replace','AIAssistant','set','config','pluginName','Error\x20during\x20AI\x20content\x20generation:\x20%0','show','trialLimit','3469815OHIWhZ','media','model','_forceMarkersCopy','comment','\x20ck-ai-assistant-ui_theme','getLimitElement','editing','schema','componentFactory','trim','AI\x20Assistant','add','reset','change:isProcessing','updateView','_licenseKeyCheckInterval','listenTo','tableOfContents','requiresContent','showUI','change:value','12THCinv','push','execute','insertContentBelow','aiLicenseKeyUsageLimit','licenseKey','body','text/html','children','<p>','ai.aiAssistant.commands','Generated\x20content:\x20%0','isOn','aiLicenseKeyDomainLimit','addMany','_onExecute','replaceContent','splice','DataTransfer','12222zSBNDP','render','10XyzPbX','menuitemcheckbox','INSERT','copy','248116sYKwtr','change:enabledCommandsIds','errorView','aiLicenseKeyNotAllowed','REPLACE','ai-commands-config-order-collision','aiLicenseKeyInvalid','requires','selection','isEnabled','aiLicenseKeyEvaluationLimit','from','getSelectedElement','order','_commandDefinitions','contentArea','_initAriaAiStatusChangeAnnouncements','ck-ai-commands-dropdown\x20','change','delegate','invalid','fieldView','ck-ai-assistant-button\x20','text','_aiAssistantController','_aiAdapter','length','aiCommands','AIAssistantUI','showFakeVisualSelection','filter','menuBar:aiCommands','includes','isPremiumPlugin','destroy','label','queryView','hideFakeVisualSelection','EDITOR_TOP_SIDE','once','setSelection','ck-ai-assistant-ui','AI\x20is\x20writing','expired','aiLicenseKeyExpired','_showLicenseError','menuBar:aiAssistant','getRanges','prompt','7966168HvKOOl','source','locale','groupLabel','evaluationLimit','get','promptView','1102642LDnZov','ai.aiAssistant.contentAreaCssClass','change:isError','_formView','hideUI','784280EpcwIc','announce','2NeEPFJ','command:','insertContent','view','ai.aiAssistant.disabledElements','update','buttons','focus','aiAssistant','getData','editor','5890548MpBKSt','isOfficialPlugin'];_0x5772=function(){return _0x32bf54;};return _0x5772();}import{ViewDocumentDomEventData as _0x334b4a,ViewDataTransfer as _0xd1a17}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x47e322{[_0x3d0d63(0x14f)];[_0x3d0d63(0x144)];[_0x3d0d63(0x11c)];[_0x3d0d63(0x19e)];[_0x3d0d63(0x17c)];[_0x3d0d63(0x17b)];[_0x3d0d63(0x128)]='';static get[_0x3d0d63(0x130)](){const _0x57ca4f=_0x3d0d63;return _0x57ca4f(0x17f);}static get[_0x3d0d63(0xfe)](){return!0x0;}static get[_0x3d0d63(0x184)](){return!0x0;}static get[_0x3d0d63(0x16a)](){return[_0x1bdb63,_0x23c523,_0x370cf7,_0x4ea887];}constructor(_0x3c09dc){const _0x37842f=_0x3d0d63;super(_0x3c09dc),_0x3c09dc[_0x37842f(0x12f)][_0x37842f(0x123)](_0x37842f(0xf6),[_0x37842f(0x135),_0x37842f(0x12b),_0x37842f(0x146)]),_0x3c09dc[_0x37842f(0x12f)][_0x37842f(0x123)](_0x37842f(0x19c),''),_0x3c09dc[_0x37842f(0x12f)][_0x37842f(0x123)](_0x37842f(0x103),!0x0),this[_0x37842f(0x128)]=_0x37842f(0x18c)+(_0x3c09dc[_0x37842f(0x12f)][_0x37842f(0x199)](_0x37842f(0x103))?_0x37842f(0x139):'');}[_0x3d0d63(0x11b)](){const _0x1624f4=_0x3d0d63,{editor:_0x139c5a}=this;this[_0x1624f4(0x17c)]=_0x139c5a[_0x1624f4(0x109)][_0x1624f4(0x199)](_0x370cf7),this[_0x1624f4(0x11c)]=_0x139c5a[_0x1624f4(0x109)][_0x1624f4(0x199)](_0x4ea887),this[_0x1624f4(0x19e)]=null,this[_0x1624f4(0x171)]=this[_0x1624f4(0x102)]();const _0x201880=new _0x16319f(_0x139c5a,Array[_0x1624f4(0x16e)](this[_0x1624f4(0x171)][_0x1624f4(0x115)]()));_0x139c5a[_0x1624f4(0x10d)][_0x1624f4(0x140)](_0x1624f4(0x11a),_0x201880),_0x139c5a['ui'][_0x1624f4(0x13d)][_0x1624f4(0x140)](_0x1624f4(0x17e),_0x3b5ab6=>{const _0x284be4=_0x1624f4,_0x108765=_0x24d66f(_0x3b5ab6);return _0x108765[_0x284be4(0x12e)]({'class':_0x284be4(0x174)+this[_0x284be4(0x128)]}),_0x108765[_0x284be4(0x10c)][_0x284be4(0x12e)]({'label':_0x36b914(_0x3b5ab6,_0x284be4(0x12a)),'icon':_0x2777e7,'tooltip':!0x0}),_0x108765['on'](_0x284be4(0x14c),_0x481c3e=>this[_0x284be4(0x159)](_0x481c3e[_0x284be4(0x195)]['id'])),_0x5069c4(_0x108765,_0x139c5a['ui'][_0x284be4(0xf5)][_0x284be4(0x150)],function(_0x502811){const _0x20e5cb=_0x284be4,_0x466eca=_0x2ea7c8(_0x502811[_0x20e5cb(0x12f)][_0x20e5cb(0x199)](_0x20e5cb(0x154)),_0x502811[_0x20e5cb(0x196)]),_0x166ed3=U(_0x502811,_0x466eca)[_0x20e5cb(0x181)](_0x1e1803=>_0x1e1803[_0x20e5cb(0x10d)][_0x20e5cb(0x17d)]);if(0x1===_0x166ed3[_0x20e5cb(0x17d)])return U(_0x502811,_0x166ed3[0x0][_0x20e5cb(0x10d)])[_0x20e5cb(0x119)](_0x5afa5e=>({'id':_0x5afa5e['id'],'label':_0x5afa5e[_0x20e5cb(0x186)]}));return _0x166ed3[_0x20e5cb(0x119)](_0x4415f8=>{const _0x363287=_0x20e5cb,{groupId:_0x34ef9f,groupLabel:_0x3abdfb,commands:_0x5cd13d}=_0x4415f8,_0x4da1c1=U(_0x502811,_0x5cd13d)[_0x363287(0x119)](_0x58bdd3=>({'id':_0x58bdd3['id'],'label':_0x58bdd3[_0x363287(0x186)]}));return{'id':_0x34ef9f,'menu':_0x3abdfb||_0x34ef9f,'children':_0x4da1c1};});}(_0x139c5a),{'ariaLabel':_0x36b914(_0x3b5ab6,_0x284be4(0x12a))}),_0x108765[_0x284be4(0x113)][_0x284be4(0x104)]=_0x284be4(0x174)+this[_0x284be4(0x128)],_0x201880['on'](_0x284be4(0x164),_0x5ea268),_0x108765[_0x284be4(0x113)][_0x284be4(0x18a)](_0x284be4(0x15e),_0x5ea268),_0x108765;function _0x5ea268(){const _0x342f32=_0x284be4;_0x108765[_0x342f32(0x16c)]=_0x201880[_0x342f32(0x108)][_0x342f32(0x17d)]>0x0;for(const _0x1753c0 of _0x108765[_0x342f32(0x113)][_0x342f32(0xf8)])_0x1753c0[_0x342f32(0x16c)]=_0x201880[_0x342f32(0x108)][_0x342f32(0x183)](_0x1753c0['id']);}}),_0x139c5a['ui'][_0x1624f4(0x13d)][_0x1624f4(0x140)](_0x1624f4(0x182),_0x39ea59=>{const _0xa4ef51=_0x1624f4,_0x3a1162=new _0x209a17(_0x39ea59);_0x3a1162[_0xa4ef51(0x10c)][_0xa4ef51(0x12e)]({'label':_0x36b914(_0x39ea59,_0xa4ef51(0x12a)),'icon':_0x2777e7}),_0x3a1162[_0xa4ef51(0x101)](_0xa4ef51(0x16c))['to'](_0x201880,_0xa4ef51(0x108),_0x6dc792=>_0x6dc792[_0xa4ef51(0x17d)]>0x0);const _0x59a8f3=_0x2ea7c8(_0x139c5a[_0xa4ef51(0x12f)][_0xa4ef51(0x199)](_0xa4ef51(0x154)),_0x39ea59);return this[_0xa4ef51(0x107)](_0x201880,_0x3a1162,_0x59a8f3,_0x5cc713=>this[_0xa4ef51(0x159)](_0x5cc713)),_0x3a1162;}),_0x139c5a['ui'][_0x1624f4(0x13d)][_0x1624f4(0x140)](_0x1624f4(0xfa),()=>{const _0x33c59d=_0x1624f4,_0x2306f5=this[_0x33c59d(0x126)](_0x15094d);return _0x2306f5[_0x33c59d(0x12e)]({'tooltip':!0x0,'class':_0x33c59d(0x179)+this[_0x33c59d(0x128)]}),_0x2306f5;}),_0x139c5a['ui'][_0x1624f4(0x13d)][_0x1624f4(0x140)](_0x1624f4(0x191),()=>{const _0x175a5b=_0x1624f4,_0x943196=this[_0x175a5b(0x126)](_0xff9a3);return _0x943196[_0x175a5b(0x12e)]({'role':_0x175a5b(0x160)}),_0x943196;}),this[_0x1624f4(0x14f)]=this[_0x1624f4(0xfc)][_0x1624f4(0x12f)][_0x1624f4(0x199)](_0x1624f4(0x14f));const _0x56c00b=this[_0x1624f4(0xfc)];this[_0x1624f4(0x144)]=setInterval(()=>{const _0x1799c8=_0x1624f4;let _0x76117c;for(const _0x208619 in _0x56c00b){const _0x51c492=_0x208619,_0xdb0767=_0x56c00b[_0x51c492];if(_0x1799c8(0x111)==_0xdb0767||_0x1799c8(0x169)==_0xdb0767||_0x1799c8(0x18f)==_0xdb0767||_0x1799c8(0x157)==_0xdb0767||_0x1799c8(0x166)==_0xdb0767||_0x1799c8(0x16d)==_0xdb0767||_0x1799c8(0x124)==_0xdb0767||_0x1799c8(0x14e)==_0xdb0767){delete _0x56c00b[_0x51c492],_0x76117c=_0xdb0767,clearInterval(this[_0x1799c8(0x144)]),this[_0x1799c8(0x144)]=void 0x0;break;}}_0x1799c8(0x169)==_0x76117c&&_0x56c00b[_0x1799c8(0x190)](_0x1799c8(0x177)),_0x1799c8(0x18f)==_0x76117c&&_0x56c00b[_0x1799c8(0x190)](_0x1799c8(0x18e)),_0x1799c8(0x157)==_0x76117c&&_0x56c00b[_0x1799c8(0x190)](_0x1799c8(0x11d)),_0x1799c8(0x166)==_0x76117c&&_0x56c00b[_0x1799c8(0x190)](_0x1799c8(0x118),_0x1799c8(0x12d)),_0x1799c8(0x16d)==_0x76117c&&_0x56c00b[_0x1799c8(0x190)](_0x1799c8(0x198)),_0x1799c8(0x124)==_0x76117c&&_0x56c00b[_0x1799c8(0x190)](_0x1799c8(0x133)),_0x1799c8(0x14e)==_0x76117c&&_0x56c00b[_0x1799c8(0x190)](_0x1799c8(0x10a));},0x3e8);}[_0x3d0d63(0x185)](){const _0x1542a9=_0x3d0d63;super[_0x1542a9(0x185)](),this[_0x1542a9(0x144)]&&clearInterval(this[_0x1542a9(0x144)]);}[_0x3d0d63(0x148)](_0xa1596c='',_0x579105='',_0x14b30a=_0x3d0d63(0x10b)){const _0x1691fb=_0x3d0d63,_0x39076b=this[_0x1691fb(0xfc)],_0x2eaa79=_0x39076b[_0x1691fb(0x13b)][_0x1691fb(0xf5)],_0x154e62=_0x39076b[_0x1691fb(0x109)][_0x1691fb(0x199)](_0x23c523),_0x124789=_0x39076b[_0x1691fb(0x109)][_0x1691fb(0x199)](_0x1bdb63);_0x154e62[_0x1691fb(0x180)]();const _0x240ba0=new l(),_0x113610=new ClipboardEvent(_0x1691fb(0x162),{'clipboardData':_0x240ba0}),_0x311883=new _0xd1a17(_0x240ba0),_0x2f580b=new _0x334b4a(_0x2eaa79,_0x113610,{'dataTransfer':_0x311883});_0x124789[_0x1691fb(0x137)](_0x1691fb(0x138),()=>{const _0x544681=_0x1691fb;_0x2eaa79[_0x544681(0x125)][_0x544681(0x117)](_0x544681(0x162),_0x2f580b);}),this[_0x1691fb(0x19e)]||(this[_0x1691fb(0x122)](),this[_0x1691fb(0x17b)]=new _0x5a3066(_0x39076b,this[_0x1691fb(0x17c)][_0x1691fb(0x127)],this[_0x1691fb(0x19e)]));let _0x523727=_0x311883[_0x1691fb(0xfb)](_0x1691fb(0x151));const _0xc84dec=_0x39076b[_0x1691fb(0x136)][_0x1691fb(0x125)][_0x1691fb(0x16b)],_0x2a7b0e=Array[_0x1691fb(0x16e)](_0xc84dec[_0x1691fb(0x192)]());0x1===_0x2a7b0e[_0x1691fb(0x17d)]&&_0x2a7b0e[0x0][_0x1691fb(0x121)]&&!_0xc84dec[_0x1691fb(0x16f)]()&&''!==_0x523727[_0x1691fb(0x12c)](/ /g,'')[_0x1691fb(0x13e)]()&&(_0x523727=_0x1691fb(0x153)+_0x523727+_0x1691fb(0x105)),this[_0x1691fb(0x17b)][_0x1691fb(0x143)]({'actionId':_0x14b30a,'query':_0xa1596c,'htmlContent':_0x523727,'label':_0x579105,'mainActionLabel':_0x38e002[_0x39076b[_0x1691fb(0x136)][_0x1691fb(0x125)][_0x1691fb(0x16b)][_0x1691fb(0x10f)]?_0x1691fb(0x161):_0x1691fb(0x167)]}),_0x1691fb(0xfa)!==this[_0x1691fb(0x11c)]['id']?this[_0x1691fb(0x11c)][_0x1691fb(0x132)]({'id':_0x1691fb(0xfa),'icon':_0xe9868b,'title':_0x36b914(this[_0x1691fb(0xfc)][_0x1691fb(0x196)],_0x1691fb(0x13f)),'content':this[_0x1691fb(0x19e)],'position':_0x185faa[_0x1691fb(0x189)],'onShow':()=>{const _0x1aec9b=_0x1691fb;this[_0x1aec9b(0x19e)][_0x1aec9b(0xf9)]();},'onHide':()=>{const _0x114265=_0x1691fb;this[_0x114265(0x17b)][_0x114265(0x141)](),_0x154e62[_0x114265(0x188)]();}}):this[_0x1691fb(0x11c)][_0x1691fb(0xf5)][_0x1691fb(0x114)]||this[_0x1691fb(0x11c)][_0x1691fb(0xf5)][_0x1691fb(0x129)]();}[_0x3d0d63(0xef)](){const _0x330c5b=_0x3d0d63;this[_0x330c5b(0x11c)][_0x330c5b(0x100)]();}[_0x3d0d63(0x102)](){const _0x4a97d4=_0x3d0d63,_0xa043cb=new Map(),_0xe29d5c=_0x2ea7c8(this[_0x4a97d4(0xfc)][_0x4a97d4(0x12f)][_0x4a97d4(0x199)](_0x4a97d4(0x154)),this[_0x4a97d4(0xfc)][_0x4a97d4(0x196)]);for(const _0x9812d4 of _0xe29d5c)for(const _0x558800 of _0x9812d4[_0x4a97d4(0x10d)])_0xa043cb[_0x4a97d4(0x12e)](_0x558800['id'],{..._0x558800,'groupId':_0x9812d4[_0x4a97d4(0x106)],'groupLabel':_0x9812d4[_0x4a97d4(0x197)]||_0x9812d4[_0x4a97d4(0x106)]});return _0xa043cb;}[_0x3d0d63(0x126)](_0x10ff57){const _0x2c4774=_0x3d0d63,_0x5be8a6=this[_0x2c4774(0xfc)],_0x155ae4=_0x5be8a6[_0x2c4774(0x10d)][_0x2c4774(0x199)](_0x2c4774(0x11a)),_0x9aa1b2=new _0x10ff57(_0x5be8a6[_0x2c4774(0x196)]);return _0x9aa1b2[_0x2c4774(0x12e)]({'label':_0x36b914(_0x5be8a6[_0x2c4774(0x196)],_0x2c4774(0x13f)),'icon':_0xe9868b,'isToggleable':!0x0}),_0x9aa1b2[_0x2c4774(0x101)](_0x2c4774(0x16c))['to'](_0x155ae4),_0x9aa1b2[_0x2c4774(0x101)](_0x2c4774(0x156))['to'](this[_0x2c4774(0x11c)],'id',_0x1ecccc=>_0x2c4774(0xfa)===_0x1ecccc),this[_0x2c4774(0x145)](_0x9aa1b2,_0x2c4774(0x14c),()=>{const _0x491834=_0x2c4774;_0x9aa1b2[_0x491834(0x156)]?this[_0x491834(0xef)]():_0x155ae4[_0x491834(0x14c)]();}),_0x9aa1b2;}[_0x3d0d63(0x122)](){const _0x4e23af=_0x3d0d63,_0x20f9ae=this[_0x4e23af(0xfc)][_0x4e23af(0x109)][_0x4e23af(0x199)](_0x23c523);this[_0x4e23af(0x19e)]=new _0x133073(this[_0x4e23af(0xfc)][_0x4e23af(0x196)],this[_0x4e23af(0x128)],this[_0x4e23af(0xfc)][_0x4e23af(0x12f)][_0x4e23af(0x199)](_0x4e23af(0x19c))),this[_0x4e23af(0x19e)]['on'](_0x4e23af(0x149),()=>{const _0x4e1425=_0x4e23af;this[_0x4e1425(0x11c)][_0x4e1425(0xf5)][_0x4e1425(0x114)]||this[_0x4e1425(0x11c)][_0x4e1425(0xf5)][_0x4e1425(0x129)]();}),this[_0x4e23af(0x19e)][_0x4e23af(0x19a)][_0x4e23af(0x187)][_0x4e23af(0x178)]['on'](_0x4e23af(0xf7),()=>{const _0x1a6152=_0x4e23af;this[_0x1a6152(0x11c)][_0x1a6152(0xf5)][_0x1a6152(0x114)]||this[_0x1a6152(0x11c)][_0x1a6152(0xf5)][_0x1a6152(0x129)]();}),this[_0x4e23af(0x145)](this[_0x4e23af(0x19e)],_0x4e23af(0x15a),()=>{const _0x58f54b=_0x4e23af;_0x20f9ae[_0x58f54b(0xf4)](this[_0x58f54b(0x17b)][_0x58f54b(0x110)]),this[_0x58f54b(0xef)]();}),this[_0x4e23af(0x145)](this[_0x4e23af(0x19e)],_0x4e23af(0x14d),()=>{const _0x28250c=_0x4e23af;_0x20f9ae[_0x28250c(0x14d)](this[_0x28250c(0x17b)][_0x28250c(0x110)]),this[_0x28250c(0xef)]();}),this[_0x4e23af(0x173)]();}[_0x3d0d63(0x173)](){const _0x157ecb=_0x3d0d63,{locale:_0x3263d6,ui:{ariaLiveAnnouncer:_0xe60b67}}=this[_0x157ecb(0xfc)];this[_0x157ecb(0x19e)][_0x157ecb(0x172)]['on'](_0x157ecb(0x142),(_0x5a5405,_0x128b21,_0x1493cc)=>{const _0x3db345=_0x157ecb,_0x1ff420=this[_0x3db345(0x17b)][_0x3db345(0x110)];_0x1493cc?_0xe60b67[_0x3db345(0xf1)](_0x36b914(_0x3263d6,_0x3db345(0x18d))):_0x1ff420&&_0xe60b67[_0x3db345(0xf1)](_0x36b914(_0x3263d6,_0x3db345(0x155),_0x1ff420),{'politeness':_0x3db345(0x11f),'isUnsafeHTML':!0x0});}),this[_0x157ecb(0x19e)]['on'](_0x157ecb(0x19d),(_0x4630f4,_0x1e5c0b,_0x205240)=>{const _0x4d163f=_0x157ecb;if(_0x205240){const _0x249489=this[_0x4d163f(0x19e)][_0x4d163f(0x165)][_0x4d163f(0x17a)];_0xe60b67[_0x4d163f(0xf1)](_0x36b914(_0x3263d6,_0x4d163f(0x131),_0x249489));}});}[_0x3d0d63(0x159)](_0x24bee2){const _0xbb35c2=_0x3d0d63,_0x4f4544=this[_0xbb35c2(0x171)][_0xbb35c2(0x199)](_0x24bee2),_0x397ef1=this[_0xbb35c2(0xfc)],_0x2ba0ff=_0x397ef1[_0xbb35c2(0x136)][_0xbb35c2(0x125)][_0xbb35c2(0x16b)],_0x5267c9=_0x397ef1[_0xbb35c2(0x10d)][_0xbb35c2(0x199)](_0xbb35c2(0x11a)),_0x3766a0=_0x397ef1[_0xbb35c2(0x109)][_0xbb35c2(0x199)](_0x23c523),_0x1c0106=''+(_0x4f4544[_0xbb35c2(0x106)]!==_0x1bcfec?_0x4f4544[_0xbb35c2(0x197)]+':\x20':'')+_0x4f4544[_0xbb35c2(0x186)];if(!0x1!==_0x4f4544[_0xbb35c2(0x147)]&&_0x2ba0ff[_0xbb35c2(0x10f)]){const _0x516746=_0x288350(_0x2ba0ff[_0xbb35c2(0x120)]())||_0x397ef1[_0xbb35c2(0x136)][_0xbb35c2(0x13c)][_0xbb35c2(0x13a)](_0x2ba0ff);_0x397ef1[_0xbb35c2(0x136)][_0xbb35c2(0x175)](_0x45fce9=>{const _0x51050a=_0xbb35c2;_0x45fce9[_0x51050a(0x18b)](_0x516746,'in');});}_0x3766a0[_0xbb35c2(0x180)](),_0x5267c9[_0xbb35c2(0x14c)](_0x4f4544[_0xbb35c2(0x193)],_0x1c0106,_0xbb35c2(0xf3)+_0x24bee2);}[_0x3d0d63(0x107)](_0x168277,_0x539b01,_0x33ccf4,_0x1f2e94){const _0x283204=_0x3d0d63,_0x13ccf7=this[_0x283204(0xfc)],_0x3d0f9d=_0x13ccf7[_0x283204(0x196)],_0x1a42a6=new _0x56c025(_0x3d0f9d),_0x5d1a1a=U(_0x13ccf7,_0x33ccf4)[_0x283204(0x181)](_0x5ac45c=>_0x5ac45c[_0x283204(0x10d)][_0x283204(0x17d)]);0x1===_0x5d1a1a[_0x283204(0x17d)]?this[_0x283204(0x112)]({'command':_0x168277,'commands':_0x5d1a1a[0x0][_0x283204(0x10d)],'parentMenuView':_0x539b01,'onExecute':_0x1f2e94})[_0x283204(0xff)](_0xa00e8=>_0x1a42a6[_0x283204(0x10e)][_0x283204(0x140)](_0xa00e8)):_0x5d1a1a[_0x283204(0xff)](({groupId:_0x48f746,groupLabel:_0x45bd3c,commands:_0x22a3b0})=>{const _0x1a44a3=_0x283204,_0x29e48b=new _0x56049a(_0x3d0f9d,_0x539b01),_0xfa34d7=new _0x209a17(_0x3d0f9d),_0x2df57c=new _0x56c025(_0x3d0f9d),_0x4aac8d=this[_0x1a44a3(0x112)]({'command':_0x168277,'commands':_0x22a3b0,'parentMenuView':_0xfa34d7,'onExecute':_0x1f2e94});_0xfa34d7[_0x1a44a3(0x10c)][_0x1a44a3(0x12e)]({'label':_0x45bd3c||_0x48f746}),_0xfa34d7[_0x1a44a3(0x176)](_0x1a44a3(0x14c))['to'](_0x539b01),_0x2df57c[_0x1a44a3(0x10e)][_0x1a44a3(0x158)](_0x4aac8d),_0xfa34d7[_0x1a44a3(0x116)][_0x1a44a3(0x152)][_0x1a44a3(0x140)](_0x2df57c),_0x29e48b[_0x1a44a3(0x152)][_0x1a44a3(0x140)](_0xfa34d7),_0x1a42a6[_0x1a44a3(0x10e)][_0x1a44a3(0x140)](_0x29e48b);}),_0x539b01[_0x283204(0x116)][_0x283204(0x152)][_0x283204(0x140)](_0x1a42a6);}[_0x3d0d63(0x112)]({command:_0x131fc7,commands:_0x375028,parentMenuView:_0x5a81e1,onExecute:_0x4895f1}){const _0x1277d3=_0x3d0d63,_0x269dcc=this[_0x1277d3(0xfc)],_0x1f2b2e=_0x269dcc[_0x1277d3(0x196)];return U(_0x269dcc,_0x375028)[_0x1277d3(0x119)](_0x3cdb1a=>{const _0x48611f=_0x1277d3,_0x2725d8=new _0x56049a(_0x1f2b2e,_0x5a81e1),_0x2f472f=new _0xff9a3(_0x1f2b2e);return _0x2f472f[_0x48611f(0x12e)]({'label':_0x3cdb1a[_0x48611f(0x186)]}),_0x2f472f[_0x48611f(0x176)](_0x48611f(0x14c))['to'](_0x5a81e1),_0x2f472f['on'](_0x48611f(0x14c),()=>_0x4895f1(_0x3cdb1a['id'])),_0x2f472f[_0x48611f(0x101)](_0x48611f(0x16c))['to'](_0x131fc7,_0x48611f(0x108),_0xbcbd5a=>_0xbcbd5a[_0x48611f(0x183)](_0x3cdb1a['id'])),_0x2725d8[_0x48611f(0x152)][_0x48611f(0x140)](_0x2f472f),_0x2725d8;});}}function T(_0x4b2362,_0x20a48e){const _0x332ccf=_0x3d0d63;return void 0x0!==_0x4b2362[_0x332ccf(0x170)]&&void 0x0===_0x20a48e[_0x332ccf(0x170)]?0x1:void 0x0===_0x4b2362[_0x332ccf(0x170)]&&void 0x0!==_0x20a48e[_0x332ccf(0x170)]?-0x1:void 0x0!==_0x4b2362[_0x332ccf(0x170)]&&void 0x0!==_0x20a48e[_0x332ccf(0x170)]?_0x4b2362[_0x332ccf(0x170)]-_0x20a48e[_0x332ccf(0x170)]:0x0;}function U(_0x1b7ecb,_0x618e30){const _0x22921f=_0x3d0d63;_0x618e30[_0x22921f(0x11e)](T);const _0x5afa41={},_0x1ce8ff=[];for(const _0xb17797 of _0x618e30)if(void 0x0!==_0xb17797[_0x22921f(0x170)]){if(_0xb17797[_0x22921f(0x170)]in _0x5afa41)throw new _0x8600c9(_0x22921f(0x168),_0x1b7ecb,{'conflictingDefinitions':[_0xb17797,_0x5afa41[_0xb17797[_0x22921f(0x170)]]]});_0x5afa41[_0xb17797[_0x22921f(0x170)]]=_0xb17797,_0x1ce8ff[_0x22921f(0x15b)](_0xb17797[_0x22921f(0x170)],0x0,_0xb17797);}else _0x1ce8ff[_0x22921f(0x14b)](_0xb17797);return _0x1ce8ff;}
|
|
23
|
+
const _0x4b9565=_0x55a6;function _0x55a6(_0x28d2de,_0x508cc9){const _0x3c1949=_0x3c19();return _0x55a6=function(_0x55a6d2,_0x3dc8cb){_0x55a6d2=_0x55a6d2-0x172;let _0x335e5f=_0x3c1949[_0x55a6d2];return _0x335e5f;},_0x55a6(_0x28d2de,_0x508cc9);}(function(_0x184eec,_0x250399){const _0x5d0dfe=_0x55a6,_0x161ef2=_0x184eec();while(!![]){try{const _0x1ee5ff=parseInt(_0x5d0dfe(0x1e3))/0x1*(parseInt(_0x5d0dfe(0x199))/0x2)+-parseInt(_0x5d0dfe(0x19d))/0x3+-parseInt(_0x5d0dfe(0x1c0))/0x4*(parseInt(_0x5d0dfe(0x1ed))/0x5)+parseInt(_0x5d0dfe(0x17d))/0x6*(parseInt(_0x5d0dfe(0x1b5))/0x7)+-parseInt(_0x5d0dfe(0x184))/0x8*(parseInt(_0x5d0dfe(0x1ef))/0x9)+parseInt(_0x5d0dfe(0x1bd))/0xa+parseInt(_0x5d0dfe(0x1b4))/0xb;if(_0x1ee5ff===_0x250399)break;else _0x161ef2['push'](_0x161ef2['shift']());}catch(_0x3e7708){_0x161ef2['push'](_0x161ef2['shift']());}}}(_0x3c19,0x5b751));import{Plugin as _0x2b89e5}from'ckeditor5/src/core.js';function _0x3c19(){const _0x43dff9=['21391ZCGdYD','change:value','insertContent','domainLimit','ck-ai-assistant-button\x20','menuBar:aiCommands','ck-ai-commands-dropdown\x20','aiLicenseKeyValid','change:enabledCommandsIds','menuBar:aiAssistant','90RMdmUM','isCollapsed','9GMeEnj','showUI','trim','isOn','view','includes','show','schema','editor','addMany','getRanges','menuPanelClass','groupId','REPLACE','comment','isPremiumPlugin','text/html','getLimitElement','groupLabel','promptView','isFlat','_commandDefinitions','children','componentFactory','custom','fieldView','set','errorView','requiresContent','init','push','map','document','_dialog','listenTo','_getResolvedCommandsDefinitions','ai-commands-config-order-collision','plugins','wasMoved','change:isProcessing','evaluationLimit','filter','getSelectedElement','ck-ai-assistant-ui','setSelection','body','AI\x20is\x20writing','change','focus','define','buttonView','usageLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','_licenseKeyCheckInterval','_createAIAssistantUIButton','aiAssistant','enabledCommandsIds','from','contentArea','editing','_initAriaAiStatusChangeAnnouncements','update','selection','60CFxsGF','hideFakeVisualSelection','featureNotAllowed','sort','</p>','currentContext','updatePosition','2616760KzbEAR','AI\x20Assistant','_showLicenseError','updateView','invalid','_uiCssClasses','polite','_forceMarkersCopy','model','announce','_getMenuBarGroupButtons','<p>','showAIAssistant','destroy','label','AI\x20Commands','order','buttons','execute','render','aiLicenseKeyNotAllowed','4lmGXsH','reset','command:','_formView','719073VFLeEj','_aiAssistantController','aiLicenseKeyEvaluationLimit','hideUI','hide','delegate','showFakeVisualSelection','replaceContent','menuitemcheckbox','aiLicenseKeyInvalid','change:isError','fire','getSelectedBlocks','DataTransfer','media','_onExecute','source','ai.useTheme','aiLicenseKeyUsageLimit','_initView','isOfficialPlugin','AIAssistant','_aiAdapter','85294JxFyTn','516740GtkSbd','\x20ck-ai-assistant-ui_theme','add','replace','copy','forEach','ai.aiAssistant.disabledElements','text','6322510IgUzbo','pluginName','once','106576MFGJzF','_populateMenuBarMenu','aiLicenseKeyTrialLimit','ai.aiAssistant.commands','expired','get','textAdapter','commands','isEnabled','aiLicenseKeyExpired','INSERT','aiCommands','AIAssistantUI','items','values','splice','menuView','rawHtml','tableOfContents','aiLicenseKeyDomainLimit','bind','length','licenseKey','requires','queryView','config','panelView','insertContentBelow','locale','EDITOR_TOP_SIDE','trialLimit','ai.aiAssistant.contentAreaCssClass','getData','prompt','Generated\x20content:\x20%0'];_0x3c19=function(){return _0x43dff9;};return _0x3c19();}import{IconMagicWand as _0x16a9a8,IconRobotPencil as _0x22537b}from'ckeditor5/src/icons.js';import{first as _0x485d33,CKEditorError as _0x324560}from'ckeditor5/src/utils.js';import{createDropdown as _0x119be8,addMenuToDropdown as _0x272a3a,ButtonView as _0x1e836b,MenuBarMenuListItemButtonView as _0x5ba0e9,Dialog as _0x5d7935,DialogViewPosition as _0x279220,MenuBarMenuView as _0x7042de,MenuBarMenuListView as _0x1728f4,MenuBarMenuListItemView as _0x457825}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3f72f7,UNGROUPED_COMMANDS_GROUP_ID as _0x2c4671}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1439bf}from'./aiassistantediting.js';import{AIAdapter as _0x28a759}from'./adapters/aiadapter.js';import{getTranslation as _0x208675}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x572229}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1ae9cc}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3b948d}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x41f594}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x4b9565(0x1aa)];import{ClipboardMarkersUtils as _0x12d858}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x216e6e,ViewDataTransfer as _0x8fbfd}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2b89e5{[_0x4b9565(0x1d6)];[_0x4b9565(0x173)];[_0x4b9565(0x210)];[_0x4b9565(0x19c)];[_0x4b9565(0x1b3)];[_0x4b9565(0x19e)];[_0x4b9565(0x189)]='';static get[_0x4b9565(0x1be)](){const _0xd1234=_0x4b9565;return _0xd1234(0x1cc);}static get[_0x4b9565(0x1b1)](){return!0x0;}static get[_0x4b9565(0x1fe)](){return!0x0;}static get[_0x4b9565(0x1d7)](){return[_0x12d858,_0x1439bf,_0x28a759,_0x5d7935];}constructor(_0x1ab13a){const _0x40aa96=_0x4b9565;super(_0x1ab13a),_0x1ab13a[_0x40aa96(0x1d9)][_0x40aa96(0x220)](_0x40aa96(0x1bb),[_0x40aa96(0x1ab),_0x40aa96(0x1d1),_0x40aa96(0x1d2)]),_0x1ab13a[_0x40aa96(0x1d9)][_0x40aa96(0x220)](_0x40aa96(0x1df),''),_0x1ab13a[_0x40aa96(0x1d9)][_0x40aa96(0x220)](_0x40aa96(0x1ae),!0x0),this[_0x40aa96(0x189)]=_0x40aa96(0x21a)+(_0x1ab13a[_0x40aa96(0x1d9)][_0x40aa96(0x1c5)](_0x40aa96(0x1ae))?_0x40aa96(0x1b6):'');}[_0x4b9565(0x20c)](){const _0x367976=_0x4b9565,{editor:_0x1e7232}=this;this[_0x367976(0x1b3)]=_0x1e7232[_0x367976(0x214)][_0x367976(0x1c5)](_0x28a759),this[_0x367976(0x210)]=_0x1e7232[_0x367976(0x214)][_0x367976(0x1c5)](_0x5d7935),this[_0x367976(0x19c)]=null,this[_0x367976(0x204)]=this[_0x367976(0x212)]();const _0x5f36b9=new _0x572229(_0x1e7232,Array[_0x367976(0x177)](this[_0x367976(0x204)][_0x367976(0x1ce)]()));_0x1e7232[_0x367976(0x1c7)][_0x367976(0x1b7)](_0x367976(0x190),_0x5f36b9),_0x1e7232['ui'][_0x367976(0x206)][_0x367976(0x1b7)](_0x367976(0x1cb),_0xf9672e=>{const _0x5f1965=_0x367976,_0x2e412a=_0x119be8(_0xf9672e);return _0x2e412a[_0x5f1965(0x209)]({'class':_0x5f1965(0x1e9)+this[_0x5f1965(0x189)]}),_0x2e412a[_0x5f1965(0x221)][_0x5f1965(0x209)]({'label':_0x208675(_0xf9672e,_0x5f1965(0x193)),'icon':_0x16a9a8,'tooltip':!0x0}),_0x2e412a['on'](_0x5f1965(0x196),_0x2354c7=>this[_0x5f1965(0x1ac)](_0x2354c7[_0x5f1965(0x1ad)]['id'])),_0x272a3a(_0x2e412a,_0x1e7232['ui'][_0x5f1965(0x1f3)][_0x5f1965(0x21c)],function(_0x3c1169){const _0x416e72=_0x5f1965,_0x404ed1=_0x3f72f7(_0x3c1169[_0x416e72(0x1d9)][_0x416e72(0x1c5)](_0x416e72(0x1c3)),_0x3c1169[_0x416e72(0x1dc)]),_0xbae304=U(_0x3c1169,_0x404ed1)[_0x416e72(0x218)](_0xd179a3=>_0xd179a3[_0x416e72(0x1c7)][_0x416e72(0x1d5)]);if(0x1===_0xbae304[_0x416e72(0x1d5)])return U(_0x3c1169,_0xbae304[0x0][_0x416e72(0x1c7)])[_0x416e72(0x20e)](_0x495fa8=>({'id':_0x495fa8['id'],'label':_0x495fa8[_0x416e72(0x192)]}));return _0xbae304[_0x416e72(0x20e)](_0x1dd35b=>{const _0x4e621b=_0x416e72,{groupId:_0x239843,groupLabel:_0x157174,commands:_0x27c848}=_0x1dd35b,_0x24e51c=U(_0x3c1169,_0x27c848)[_0x4e621b(0x20e)](_0x5c831d=>({'id':_0x5c831d['id'],'label':_0x5c831d[_0x4e621b(0x192)]}));return{'id':_0x239843,'menu':_0x157174||_0x239843,'children':_0x24e51c};});}(_0x1e7232),{'ariaLabel':_0x208675(_0xf9672e,_0x5f1965(0x193))}),_0x2e412a[_0x5f1965(0x1d0)][_0x5f1965(0x1fa)]=_0x5f1965(0x1e9)+this[_0x5f1965(0x189)],_0x5f36b9['on'](_0x5f1965(0x1eb),_0xedb202),_0x2e412a[_0x5f1965(0x1d0)][_0x5f1965(0x1bf)](_0x5f1965(0x197),_0xedb202),_0x2e412a;function _0xedb202(){const _0xe679de=_0x5f1965;_0x2e412a[_0xe679de(0x1c8)]=_0x5f36b9[_0xe679de(0x176)][_0xe679de(0x1d5)]>0x0;for(const _0x1a2536 of _0x2e412a[_0xe679de(0x1d0)][_0xe679de(0x195)])_0x1a2536[_0xe679de(0x1c8)]=_0x5f36b9[_0xe679de(0x176)][_0xe679de(0x1f4)](_0x1a2536['id']);}}),_0x1e7232['ui'][_0x367976(0x206)][_0x367976(0x1b7)](_0x367976(0x1e8),_0x5e1641=>{const _0x1ae0eb=_0x367976,_0x4cbeb6=new _0x7042de(_0x5e1641);_0x4cbeb6[_0x1ae0eb(0x221)][_0x1ae0eb(0x209)]({'label':_0x208675(_0x5e1641,_0x1ae0eb(0x193)),'icon':_0x16a9a8}),_0x4cbeb6[_0x1ae0eb(0x1d4)](_0x1ae0eb(0x1c8))['to'](_0x5f36b9,_0x1ae0eb(0x176),_0x1eca9c=>_0x1eca9c[_0x1ae0eb(0x1d5)]>0x0);const _0x59335b=_0x3f72f7(_0x1e7232[_0x1ae0eb(0x1d9)][_0x1ae0eb(0x1c5)](_0x1ae0eb(0x1c3)),_0x5e1641);return this[_0x1ae0eb(0x1c1)](_0x5f36b9,_0x4cbeb6,_0x59335b,_0xee1c70=>this[_0x1ae0eb(0x1ac)](_0xee1c70)),_0x4cbeb6;}),_0x1e7232['ui'][_0x367976(0x206)][_0x367976(0x1b7)](_0x367976(0x175),()=>{const _0x504251=_0x367976,_0x4a4da0=this[_0x504251(0x174)](_0x1e836b);return _0x4a4da0[_0x504251(0x209)]({'tooltip':!0x0,'class':_0x504251(0x1e7)+this[_0x504251(0x189)]}),_0x4a4da0;}),_0x1e7232['ui'][_0x367976(0x206)][_0x367976(0x1b7)](_0x367976(0x1ec),()=>{const _0x396264=_0x367976,_0x1516af=this[_0x396264(0x174)](_0x5ba0e9);return _0x1516af[_0x396264(0x209)]({'role':_0x396264(0x1a5)}),_0x1516af;}),this[_0x367976(0x1d6)]=this[_0x367976(0x1f7)][_0x367976(0x1d9)][_0x367976(0x1c5)](_0x367976(0x1d6));const _0x5c1c31=this[_0x367976(0x1f7)];this[_0x367976(0x173)]=setInterval(()=>{const _0x517a8f=_0x367976;let _0x578792;for(const _0xc17e79 in _0x5c1c31){const _0x2e65e0=_0xc17e79,_0x463840=_0x5c1c31[_0x2e65e0];if(_0x517a8f(0x1ea)==_0x463840||_0x517a8f(0x1a6)==_0x463840||_0x517a8f(0x1c9)==_0x463840||_0x517a8f(0x1d3)==_0x463840||_0x517a8f(0x198)==_0x463840||_0x517a8f(0x19f)==_0x463840||_0x517a8f(0x1c2)==_0x463840||_0x517a8f(0x1af)==_0x463840){delete _0x5c1c31[_0x2e65e0],_0x578792=_0x463840,clearInterval(this[_0x517a8f(0x173)]),this[_0x517a8f(0x173)]=void 0x0;break;}}_0x517a8f(0x1a6)==_0x578792&&_0x5c1c31[_0x517a8f(0x186)](_0x517a8f(0x188)),_0x517a8f(0x1c9)==_0x578792&&_0x5c1c31[_0x517a8f(0x186)](_0x517a8f(0x1c4)),_0x517a8f(0x1d3)==_0x578792&&_0x5c1c31[_0x517a8f(0x186)](_0x517a8f(0x1e6)),_0x517a8f(0x198)==_0x578792&&_0x5c1c31[_0x517a8f(0x186)](_0x517a8f(0x17f),_0x517a8f(0x1b2)),_0x517a8f(0x19f)==_0x578792&&_0x5c1c31[_0x517a8f(0x186)](_0x517a8f(0x217)),_0x517a8f(0x1c2)==_0x578792&&_0x5c1c31[_0x517a8f(0x186)](_0x517a8f(0x1de)),_0x517a8f(0x1af)==_0x578792&&_0x5c1c31[_0x517a8f(0x186)](_0x517a8f(0x222));},0x3e8);}[_0x4b9565(0x191)](){const _0x1442f9=_0x4b9565;super[_0x1442f9(0x191)](),this[_0x1442f9(0x173)]&&clearInterval(this[_0x1442f9(0x173)]);}[_0x4b9565(0x1f0)](_0x378ba7='',_0x3e04be='',_0x4c57bb=_0x4b9565(0x207)){const _0x4c935c=_0x4b9565,_0x4f3c94=this[_0x4c935c(0x1f7)],_0x5f4c53=_0x4f3c94[_0x4c935c(0x179)][_0x4c935c(0x1f3)],_0x2399fb=_0x4f3c94[_0x4c935c(0x214)][_0x4c935c(0x1c5)](_0x1439bf),_0x293f46=_0x4f3c94[_0x4c935c(0x214)][_0x4c935c(0x1c5)](_0x12d858);_0x2399fb[_0x4c935c(0x1a3)]();const _0x2b97b8=new l(),_0x518649=new ClipboardEvent(_0x4c935c(0x1b9),{'clipboardData':_0x2b97b8}),_0x42785c=new _0x8fbfd(_0x2b97b8),_0x2fac39=new _0x216e6e(_0x5f4c53,_0x518649,{'dataTransfer':_0x42785c});_0x293f46[_0x4c935c(0x18b)](_0x4c935c(0x1fd),()=>{const _0x3afec2=_0x4c935c;_0x5f4c53[_0x3afec2(0x20f)][_0x3afec2(0x1a8)](_0x3afec2(0x1b9),_0x2fac39);}),this[_0x4c935c(0x19c)]||(this[_0x4c935c(0x1b0)](),this[_0x4c935c(0x19e)]=new _0x1ae9cc(_0x4f3c94,this[_0x4c935c(0x1b3)][_0x4c935c(0x1c6)],this[_0x4c935c(0x19c)]));let _0x2fd674=_0x42785c[_0x4c935c(0x1e0)](_0x4c935c(0x1ff));const _0x52903a=_0x4f3c94[_0x4c935c(0x18c)][_0x4c935c(0x20f)][_0x4c935c(0x17c)],_0x1cad58=Array[_0x4c935c(0x177)](_0x52903a[_0x4c935c(0x1f9)]());0x1===_0x1cad58[_0x4c935c(0x1d5)]&&_0x1cad58[0x0][_0x4c935c(0x203)]&&!_0x52903a[_0x4c935c(0x219)]()&&''!==_0x2fd674[_0x4c935c(0x1b8)](/ /g,'')[_0x4c935c(0x1f1)]()&&(_0x2fd674=_0x4c935c(0x18f)+_0x2fd674+_0x4c935c(0x181)),this[_0x4c935c(0x19e)][_0x4c935c(0x187)]({'actionId':_0x4c57bb,'query':_0x378ba7,'htmlContent':_0x2fd674,'label':_0x3e04be,'mainActionLabel':_0x41f594[_0x4f3c94[_0x4c935c(0x18c)][_0x4c935c(0x20f)][_0x4c935c(0x17c)][_0x4c935c(0x1ee)]?_0x4c935c(0x1ca):_0x4c935c(0x1fc)]}),_0x4c935c(0x175)!==this[_0x4c935c(0x210)]['id']?this[_0x4c935c(0x210)][_0x4c935c(0x1f5)]({'id':_0x4c935c(0x175),'icon':_0x22537b,'title':_0x208675(this[_0x4c935c(0x1f7)][_0x4c935c(0x1dc)],_0x4c935c(0x185)),'content':this[_0x4c935c(0x19c)],'position':_0x279220[_0x4c935c(0x1dd)],'onShow':()=>{const _0xbc915a=_0x4c935c;this[_0xbc915a(0x19c)][_0xbc915a(0x21f)]();},'onHide':()=>{const _0x1fc71f=_0x4c935c;this[_0x1fc71f(0x19e)][_0x1fc71f(0x19a)](),_0x2399fb[_0x1fc71f(0x17e)]();}}):this[_0x4c935c(0x210)][_0x4c935c(0x1f3)][_0x4c935c(0x215)]||this[_0x4c935c(0x210)][_0x4c935c(0x1f3)][_0x4c935c(0x183)]();}[_0x4b9565(0x1a0)](){const _0x5c48ce=_0x4b9565;this[_0x5c48ce(0x210)][_0x5c48ce(0x1a1)]();}[_0x4b9565(0x212)](){const _0x5c920c=_0x4b9565,_0x305c09=new Map(),_0x4d48af=_0x3f72f7(this[_0x5c920c(0x1f7)][_0x5c920c(0x1d9)][_0x5c920c(0x1c5)](_0x5c920c(0x1c3)),this[_0x5c920c(0x1f7)][_0x5c920c(0x1dc)]);for(const _0x4a334d of _0x4d48af)for(const _0x4c7efd of _0x4a334d[_0x5c920c(0x1c7)])_0x305c09[_0x5c920c(0x209)](_0x4c7efd['id'],{..._0x4c7efd,'groupId':_0x4a334d[_0x5c920c(0x1fb)],'groupLabel':_0x4a334d[_0x5c920c(0x201)]||_0x4a334d[_0x5c920c(0x1fb)]});return _0x305c09;}[_0x4b9565(0x174)](_0x2b6a23){const _0x486ca4=_0x4b9565,_0x48f6cb=this[_0x486ca4(0x1f7)],_0x33aa61=_0x48f6cb[_0x486ca4(0x1c7)][_0x486ca4(0x1c5)](_0x486ca4(0x190)),_0x16819f=new _0x2b6a23(_0x48f6cb[_0x486ca4(0x1dc)]);return _0x16819f[_0x486ca4(0x209)]({'label':_0x208675(_0x48f6cb[_0x486ca4(0x1dc)],_0x486ca4(0x185)),'icon':_0x22537b,'isToggleable':!0x0}),_0x16819f[_0x486ca4(0x1d4)](_0x486ca4(0x1c8))['to'](_0x33aa61),_0x16819f[_0x486ca4(0x1d4)](_0x486ca4(0x1f2))['to'](this[_0x486ca4(0x210)],'id',_0x1dcf8e=>_0x486ca4(0x175)===_0x1dcf8e),this[_0x486ca4(0x211)](_0x16819f,_0x486ca4(0x196),()=>{const _0x2107d2=_0x486ca4;_0x16819f[_0x2107d2(0x1f2)]?this[_0x2107d2(0x1a0)]():_0x33aa61[_0x2107d2(0x196)]();}),_0x16819f;}[_0x4b9565(0x1b0)](){const _0x2f68a5=_0x4b9565,_0x58e980=this[_0x2f68a5(0x1f7)][_0x2f68a5(0x214)][_0x2f68a5(0x1c5)](_0x1439bf);this[_0x2f68a5(0x19c)]=new _0x3b948d(this[_0x2f68a5(0x1f7)][_0x2f68a5(0x1dc)],this[_0x2f68a5(0x189)],this[_0x2f68a5(0x1f7)][_0x2f68a5(0x1d9)][_0x2f68a5(0x1c5)](_0x2f68a5(0x1df))),this[_0x2f68a5(0x19c)]['on'](_0x2f68a5(0x1e4),()=>{const _0x45b470=_0x2f68a5;this[_0x45b470(0x210)][_0x45b470(0x1f3)][_0x45b470(0x215)]||this[_0x45b470(0x210)][_0x45b470(0x1f3)][_0x45b470(0x183)]();}),this[_0x2f68a5(0x19c)][_0x2f68a5(0x202)][_0x2f68a5(0x1d8)][_0x2f68a5(0x208)]['on'](_0x2f68a5(0x17b),()=>{const _0x1bd7fa=_0x2f68a5;this[_0x1bd7fa(0x210)][_0x1bd7fa(0x1f3)][_0x1bd7fa(0x215)]||this[_0x1bd7fa(0x210)][_0x1bd7fa(0x1f3)][_0x1bd7fa(0x183)]();}),this[_0x2f68a5(0x211)](this[_0x2f68a5(0x19c)],_0x2f68a5(0x1a4),()=>{const _0x3eb00c=_0x2f68a5;_0x58e980[_0x3eb00c(0x1e5)](this[_0x3eb00c(0x19e)][_0x3eb00c(0x182)]),this[_0x3eb00c(0x1a0)]();}),this[_0x2f68a5(0x211)](this[_0x2f68a5(0x19c)],_0x2f68a5(0x1db),()=>{const _0x21434c=_0x2f68a5;_0x58e980[_0x21434c(0x1db)](this[_0x21434c(0x19e)][_0x21434c(0x182)]),this[_0x21434c(0x1a0)]();}),this[_0x2f68a5(0x17a)]();}[_0x4b9565(0x17a)](){const _0x47f2a0=_0x4b9565,{locale:_0x58b1fa,ui:{ariaLiveAnnouncer:_0x1e958f}}=this[_0x47f2a0(0x1f7)];this[_0x47f2a0(0x19c)][_0x47f2a0(0x178)]['on'](_0x47f2a0(0x216),(_0x5da772,_0x32c3da,_0x282d28)=>{const _0x1e4896=_0x47f2a0,_0xedd12b=this[_0x1e4896(0x19e)][_0x1e4896(0x182)];_0x282d28?_0x1e958f[_0x1e4896(0x18d)](_0x208675(_0x58b1fa,_0x1e4896(0x21d))):_0xedd12b&&_0x1e958f[_0x1e4896(0x18d)](_0x208675(_0x58b1fa,_0x1e4896(0x1e2),_0xedd12b),{'politeness':_0x1e4896(0x18a),'isUnsafeHTML':!0x0});}),this[_0x47f2a0(0x19c)]['on'](_0x47f2a0(0x1a7),(_0x338bdd,_0x4015ea,_0x75e772)=>{const _0x280f52=_0x47f2a0;if(_0x75e772){const _0x22416b=this[_0x280f52(0x19c)][_0x280f52(0x20a)][_0x280f52(0x1bc)];_0x1e958f[_0x280f52(0x18d)](_0x208675(_0x58b1fa,_0x280f52(0x172),_0x22416b));}});}[_0x4b9565(0x1ac)](_0xa7e3c4){const _0x1c8920=_0x4b9565,_0x31fce4=this[_0x1c8920(0x204)][_0x1c8920(0x1c5)](_0xa7e3c4),_0x4359ff=this[_0x1c8920(0x1f7)],_0x6a30e2=_0x4359ff[_0x1c8920(0x18c)][_0x1c8920(0x20f)][_0x1c8920(0x17c)],_0x412c39=_0x4359ff[_0x1c8920(0x1c7)][_0x1c8920(0x1c5)](_0x1c8920(0x190)),_0x22b7ae=_0x4359ff[_0x1c8920(0x214)][_0x1c8920(0x1c5)](_0x1439bf),_0x5731a2=''+(_0x31fce4[_0x1c8920(0x1fb)]!==_0x2c4671?_0x31fce4[_0x1c8920(0x201)]+':\x20':'')+_0x31fce4[_0x1c8920(0x192)];if(!0x1!==_0x31fce4[_0x1c8920(0x20b)]&&_0x6a30e2[_0x1c8920(0x1ee)]){const _0x5758b4=_0x485d33(_0x6a30e2[_0x1c8920(0x1a9)]())||_0x4359ff[_0x1c8920(0x18c)][_0x1c8920(0x1f6)][_0x1c8920(0x200)](_0x6a30e2);_0x4359ff[_0x1c8920(0x18c)][_0x1c8920(0x21e)](_0x285cf2=>{const _0x3d459e=_0x1c8920;_0x285cf2[_0x3d459e(0x21b)](_0x5758b4,'in');});}_0x22b7ae[_0x1c8920(0x1a3)](),_0x412c39[_0x1c8920(0x196)](_0x31fce4[_0x1c8920(0x1e1)],_0x5731a2,_0x1c8920(0x19b)+_0xa7e3c4);}[_0x4b9565(0x1c1)](_0x54e521,_0x572e4c,_0x2a0f0b,_0x1b5a6b){const _0x4b165f=_0x4b9565,_0xd3026a=this[_0x4b165f(0x1f7)],_0x132051=_0xd3026a[_0x4b165f(0x1dc)],_0x54f755=new _0x1728f4(_0x132051),_0x1ba496=U(_0xd3026a,_0x2a0f0b)[_0x4b165f(0x218)](_0x2838bd=>_0x2838bd[_0x4b165f(0x1c7)][_0x4b165f(0x1d5)]);0x1===_0x1ba496[_0x4b165f(0x1d5)]?this[_0x4b165f(0x18e)]({'command':_0x54e521,'commands':_0x1ba496[0x0][_0x4b165f(0x1c7)],'parentMenuView':_0x572e4c,'onExecute':_0x1b5a6b})[_0x4b165f(0x1ba)](_0x18feed=>_0x54f755[_0x4b165f(0x1cd)][_0x4b165f(0x1b7)](_0x18feed)):_0x1ba496[_0x4b165f(0x1ba)](({groupId:_0xe669b1,groupLabel:_0x34cf7b,commands:_0x195ca3})=>{const _0x389122=_0x4b165f,_0x2a9600=new _0x457825(_0x132051,_0x572e4c),_0x3984b9=new _0x7042de(_0x132051),_0x1a46f0=new _0x1728f4(_0x132051),_0x478ec2=this[_0x389122(0x18e)]({'command':_0x54e521,'commands':_0x195ca3,'parentMenuView':_0x3984b9,'onExecute':_0x1b5a6b});_0x3984b9[_0x389122(0x221)][_0x389122(0x209)]({'label':_0x34cf7b||_0xe669b1}),_0x3984b9[_0x389122(0x1a2)](_0x389122(0x196))['to'](_0x572e4c),_0x1a46f0[_0x389122(0x1cd)][_0x389122(0x1f8)](_0x478ec2),_0x3984b9[_0x389122(0x1da)][_0x389122(0x205)][_0x389122(0x1b7)](_0x1a46f0),_0x2a9600[_0x389122(0x205)][_0x389122(0x1b7)](_0x3984b9),_0x54f755[_0x389122(0x1cd)][_0x389122(0x1b7)](_0x2a9600);}),_0x572e4c[_0x4b165f(0x1da)][_0x4b165f(0x205)][_0x4b165f(0x1b7)](_0x54f755);}[_0x4b9565(0x18e)]({command:_0x2c7c76,commands:_0x406ccd,parentMenuView:_0x3279c4,onExecute:_0xb84ac5}){const _0x34effa=_0x4b9565,_0x5b7380=this[_0x34effa(0x1f7)],_0x501634=_0x5b7380[_0x34effa(0x1dc)];return U(_0x5b7380,_0x406ccd)[_0x34effa(0x20e)](_0x5f4dc1=>{const _0x1e3fc8=_0x34effa,_0x2c1b0c=new _0x457825(_0x501634,_0x3279c4),_0x1b20ec=new _0x5ba0e9(_0x501634);return _0x1b20ec[_0x1e3fc8(0x209)]({'label':_0x5f4dc1[_0x1e3fc8(0x192)]}),_0x1b20ec[_0x1e3fc8(0x1a2)](_0x1e3fc8(0x196))['to'](_0x3279c4),_0x1b20ec['on'](_0x1e3fc8(0x196),()=>_0xb84ac5(_0x5f4dc1['id'])),_0x1b20ec[_0x1e3fc8(0x1d4)](_0x1e3fc8(0x1c8))['to'](_0x2c7c76,_0x1e3fc8(0x176),_0x539109=>_0x539109[_0x1e3fc8(0x1f4)](_0x5f4dc1['id'])),_0x2c1b0c[_0x1e3fc8(0x205)][_0x1e3fc8(0x1b7)](_0x1b20ec),_0x2c1b0c;});}}function T(_0x1667c3,_0x587bc6){const _0x1ca0a2=_0x4b9565;return void 0x0!==_0x1667c3[_0x1ca0a2(0x194)]&&void 0x0===_0x587bc6[_0x1ca0a2(0x194)]?0x1:void 0x0===_0x1667c3[_0x1ca0a2(0x194)]&&void 0x0!==_0x587bc6[_0x1ca0a2(0x194)]?-0x1:void 0x0!==_0x1667c3[_0x1ca0a2(0x194)]&&void 0x0!==_0x587bc6[_0x1ca0a2(0x194)]?_0x1667c3[_0x1ca0a2(0x194)]-_0x587bc6[_0x1ca0a2(0x194)]:0x0;}function U(_0x242d97,_0x28174f){const _0x449ac0=_0x4b9565;_0x28174f[_0x449ac0(0x180)](T);const _0x361335={},_0x55d008=[];for(const _0xbd92c of _0x28174f)if(void 0x0!==_0xbd92c[_0x449ac0(0x194)]){if(_0xbd92c[_0x449ac0(0x194)]in _0x361335)throw new _0x324560(_0x449ac0(0x213),_0x242d97,{'conflictingDefinitions':[_0xbd92c,_0x361335[_0xbd92c[_0x449ac0(0x194)]]]});_0x361335[_0xbd92c[_0x449ac0(0x194)]]=_0xbd92c,_0x55d008[_0x449ac0(0x1cf)](_0xbd92c[_0x449ac0(0x194)],0x0,_0xbd92c);}else _0x55d008[_0x449ac0(0x20d)](_0xbd92c);return _0x55d008;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2a4207,_0x2bca94){var _0x155539=_0x2dfc,_0x5b1a64=_0x2a4207();while(!![]){try{var _0x5ba9ef=-parseInt(_0x155539(0xdb))/0x1*(-parseInt(_0x155539(0xd6))/0x2)+parseInt(_0x155539(0xd8))/0x3*(-parseInt(_0x155539(0xd5))/0x4)+parseInt(_0x155539(0xd9))/0x5+-parseInt(_0x155539(0xda))/0x6+parseInt(_0x155539(0xd7))/0x7+parseInt(_0x155539(0xd4))/0x8+-parseInt(_0x155539(0xd2))/0x9*(parseInt(_0x155539(0xd3))/0xa);if(_0x5ba9ef===_0x2bca94)break;else _0x5b1a64['push'](_0x5b1a64['shift']());}catch(_0x4cf99f){_0x5b1a64['push'](_0x5b1a64['shift']());}}}(_0x317d,0x858a0));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';function _0x2dfc(_0x34c555,_0x15a5b5){var _0x317d62=_0x317d();return _0x2dfc=function(_0x2dfc7e,_0x30cabd){_0x2dfc7e=_0x2dfc7e-0xd2;var _0x1ca740=_0x317d62[_0x2dfc7e];return _0x1ca740;},_0x2dfc(_0x34c555,_0x15a5b5);}export{AIAssistantUI}from'./aiassistantui.js';function _0x317d(){var _0x1a94a6=['46440hRLUGP','390jgaZYh','3296960nsJkGj','52eFQUBU','26hgPnxS','3542532JwtoHm','92067gvRXZU','3559455AbpbhQ','4830870JhMBla','24787bGbZkC'];_0x317d=function(){return _0x1a94a6;};return _0x317d();}export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x47f176,_0x463a5a){var _0x53e5ba=_0x3dda,_0x56db75=_0x47f176();while(!![]){try{var _0x54d734=parseInt(_0x53e5ba(0x115))/0x1*(-parseInt(_0x53e5ba(0x114))/0x2)+-parseInt(_0x53e5ba(0x117))/0x3+parseInt(_0x53e5ba(0x119))/0x4+-parseInt(_0x53e5ba(0x116))/0x5+-parseInt(_0x53e5ba(0x11a))/0x6+-parseInt(_0x53e5ba(0x118))/0x7+parseInt(_0x53e5ba(0x11b))/0x8;if(_0x54d734===_0x463a5a)break;else _0x56db75['push'](_0x56db75['shift']());}catch(_0x45149b){_0x56db75['push'](_0x56db75['shift']());}}}(_0x3459,0x505a3));function _0x3dda(_0x9ae2b5,_0x11334e){var _0x3459c0=_0x3459();return _0x3dda=function(_0x3dda89,_0x2ac857){_0x3dda89=_0x3dda89-0x114;var _0x5b913d=_0x3459c0[_0x3dda89];return _0x5b913d;},_0x3dda(_0x9ae2b5,_0x11334e);}import{CKEditorError as _0x55c033}from'ckeditor5/src/utils.js';function _0x3459(){var _0xe27670=['2930770UIYqsv','712134gBeyuT','4178825Bicijw','320664PuszSE','375150lNxydw','18266160kYhFYW','1102562pPKKLE','1BCCIVp'];_0x3459=function(){return _0xe27670;};return _0x3459();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xd6aeaf=_0x2f55;function _0x2f55(_0x513a5a,_0xd80bfb){const _0xf72966=_0xf729();return _0x2f55=function(_0x2f5589,_0x3f15c0){_0x2f5589=_0x2f5589-0x12d;let _0x46d11b=_0xf72966[_0x2f5589];return _0x46d11b;},_0x2f55(_0x513a5a,_0xd80bfb);}(function(_0x2485af,_0x1030b6){const _0x46332c=_0x2f55,_0x590835=_0x2485af();while(!![]){try{const _0x7054a=parseInt(_0x46332c(0x161))/0x1+parseInt(_0x46332c(0x155))/0x2+parseInt(_0x46332c(0x14c))/0x3*(parseInt(_0x46332c(0x164))/0x4)+-parseInt(_0x46332c(0x178))/0x5+parseInt(_0x46332c(0x13e))/0x6*(parseInt(_0x46332c(0x189))/0x7)+parseInt(_0x46332c(0x154))/0x8+parseInt(_0x46332c(0x18d))/0x9*(-parseInt(_0x46332c(0x185))/0xa);if(_0x7054a===_0x1030b6)break;else _0x590835['push'](_0x590835['shift']());}catch(_0x46f2df){_0x590835['push'](_0x590835['shift']());}}}(_0xf729,0x8def1));import{ObservableMixin as _0x41555f}from'ckeditor5/src/utils.js';function _0xf729(){const _0x5cf5c3=['toModel','639gHtjWU','view','data','finally','nodeType','remove','set:currentContext','stopProcessing','prompt','_sanitizationContainer','setContentOf','custom','makeRequest','_parseAndNormalizeContent','message','htmlProcessor','exec','rename','abort','stopListening','handleError','3065754lNUkJP','value','set','submitPrompt','currentContext','_xmlSerializer','finishProcessing','updateView','listenTo','body','startProcessing','createElement','serializeToString','isRendered','274323SaizTW','childNodes','get','match','config','name','render','stringify','6423048PDeIwi','334504dIgTXj','reset','editing','ELEMENT_NODE','editor','element','viewToDom','mainAction','_domParser','document','substring','innerHTML','567853ivSayp','once','```html','28HwlkwH','reverse','```','textAdapter','previousLabel','isProcessing','_sanitizeHTML','ai.aiAssistant.preserveComments','_handleQuery','catch','push','currentResponse','querySelector','initialContext','domConverter','previousQuery','_isH1TagSupportEnabled','endsWith','tryAgainEvent','previousActionId','3226635UYBSPO','then','destroy','length','trim','<h1></h1>','div','startsWith','processor','parseFromString','from','text/html','previousContext','277930jbkwvG','clear','toView','markers','14AZJsHC','_stripMarkdownSyntax','_normalizeResponseHeadings'];_0xf729=function(){return _0x5cf5c3;};return _0xf729();}import{AIRequestError as _0x2dcbe0}from'../adapters/aiadapter.js';import{Matcher as _0x2dfd2c,ViewUpcastWriter as _0x572884}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x41555f(){[_0xd6aeaf(0x159)];[_0xd6aeaf(0x167)];[_0xd6aeaf(0x18e)];[_0xd6aeaf(0x132)];[_0xd6aeaf(0x15d)];[_0xd6aeaf(0x143)];constructor(_0x2b6c21,_0x195ce9,_0x2764b7){const _0x30fc6c=_0xd6aeaf;super(),this[_0x30fc6c(0x159)]=_0x2b6c21,this[_0x30fc6c(0x167)]=_0x195ce9,this[_0x30fc6c(0x132)]=document[_0x30fc6c(0x149)](_0x30fc6c(0x17e)),this[_0x30fc6c(0x15d)]=new DOMParser(),this[_0x30fc6c(0x143)]=new XMLSerializer(),this[_0x30fc6c(0x18e)]=_0x2764b7,this[_0x30fc6c(0x140)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x30fc6c(0x12f),(_0x538c92,_0x319bd5,_0x45e76d)=>{const _0x4a93df=_0x30fc6c;this[_0x4a93df(0x18e)][_0x4a93df(0x13f)]=this[_0x4a93df(0x16a)](_0x45e76d);}),this[_0x30fc6c(0x146)](this[_0x30fc6c(0x18e)],_0x30fc6c(0x141),(_0x517f82,_0x183047)=>{const _0x5d2b0c=_0x30fc6c,_0x2927ba=this[_0x5d2b0c(0x142)]||this[_0x5d2b0c(0x171)];this[_0x5d2b0c(0x16c)](_0x183047,_0x2927ba,_0x5d2b0c(0x134));}),this[_0x30fc6c(0x146)](this[_0x30fc6c(0x18e)],_0x30fc6c(0x176),()=>{const _0x3e0b36=_0x30fc6c;this[_0x3e0b36(0x18e)][_0x3e0b36(0x131)]=this[_0x3e0b36(0x168)],this[_0x3e0b36(0x16c)](this[_0x3e0b36(0x173)],this[_0x3e0b36(0x184)],this[_0x3e0b36(0x177)],this[_0x3e0b36(0x168)]);}),this[_0x30fc6c(0x146)](this[_0x30fc6c(0x18e)],_0x30fc6c(0x130),()=>{const _0xad35a1=_0x30fc6c;this[_0xad35a1(0x130)]();});}[_0xd6aeaf(0x17a)](){const _0x1c5237=_0xd6aeaf;this[_0x1c5237(0x13c)]();}async[_0xd6aeaf(0x145)]({actionId:_0x466288,query:_0x4df303,htmlContent:_0x3713a4,label:_0x3b21a1,mainActionLabel:_0x37b7e8}){const _0x4756c6=_0xd6aeaf;this[_0x4756c6(0x18e)][_0x4756c6(0x131)]=_0x3b21a1,this[_0x4756c6(0x18e)][_0x4756c6(0x15c)]=_0x37b7e8,this[_0x4756c6(0x171)]=_0x3713a4,_0x4df303&&(this[_0x4756c6(0x18e)][_0x4756c6(0x14b)]?this[_0x4756c6(0x16c)](_0x4df303,_0x3713a4,_0x466288,_0x3b21a1):this[_0x4756c6(0x18e)][_0x4756c6(0x162)](_0x4756c6(0x152),()=>{const _0x5ab3b9=_0x4756c6;this[_0x5ab3b9(0x16c)](_0x4df303,_0x3713a4,_0x466288,_0x3b21a1);}));}[_0xd6aeaf(0x130)](){const _0x13793d=_0xd6aeaf;this[_0x13793d(0x169)]&&(this[_0x13793d(0x169)]=!0x1,this[_0x13793d(0x18e)][_0x13793d(0x144)](),this[_0x13793d(0x167)][_0x13793d(0x13b)]());}[_0xd6aeaf(0x156)](){const _0x1b21cb=_0xd6aeaf;this[_0x1b21cb(0x171)]='',this[_0x1b21cb(0x142)]='',this[_0x1b21cb(0x16f)]='',this[_0x1b21cb(0x184)]='',this[_0x1b21cb(0x173)]='',this[_0x1b21cb(0x168)]='',this[_0x1b21cb(0x177)]=void 0x0,this[_0x1b21cb(0x18e)][_0x1b21cb(0x156)](),this[_0x1b21cb(0x130)]();}async[_0xd6aeaf(0x16c)](_0x5d7ef6,_0x49921f,_0x403360,_0x35ba6d){const _0x299bc7=_0xd6aeaf;return this[_0x299bc7(0x169)]=!0x0,this[_0x299bc7(0x18e)][_0x299bc7(0x148)](),this[_0x299bc7(0x184)]=_0x49921f,this[_0x299bc7(0x173)]=_0x5d7ef6,this[_0x299bc7(0x168)]=_0x35ba6d||_0x5d7ef6,this[_0x299bc7(0x177)]=_0x403360,new Promise(_0x369529=>{const _0x39c973=_0x299bc7;this[_0x39c973(0x167)][_0x39c973(0x135)]({'query':_0x5d7ef6,'context':_0x49921f,'onData':_0x173a2b=>{const _0x4dae95=_0x39c973;this[_0x4dae95(0x16f)]=_0x173a2b,this[_0x4dae95(0x142)]=this[_0x4dae95(0x136)](this[_0x4dae95(0x16f)]);},'actionId':_0x403360})[_0x39c973(0x179)](()=>{const _0x524f1c=_0x39c973;!this[_0x524f1c(0x142)]&&this[_0x524f1c(0x16f)]&&(this[_0x524f1c(0x142)]=this[_0x524f1c(0x136)](this[_0x524f1c(0x16f)],!0x0));})[_0x39c973(0x16d)](_0x30f989=>{const _0x44c965=_0x39c973;_0x30f989 instanceof _0x2dcbe0?this[_0x44c965(0x18e)][_0x44c965(0x13d)](_0x30f989[_0x44c965(0x137)]):this[_0x44c965(0x18e)][_0x44c965(0x13d)](),_0x369529();})[_0x39c973(0x190)](()=>{const _0x1cf8e2=_0x39c973;this[_0x1cf8e2(0x130)](),_0x369529();});});}[_0xd6aeaf(0x136)](_0x57274d,_0x5b0909=!0x1){const _0x2ad954=_0xd6aeaf,_0x4c8c8f=Q[_0x2ad954(0x139)](_0x57274d);_0x57274d=_0x4c8c8f?_0x57274d[_0x2ad954(0x15f)](_0x4c8c8f[0x1][_0x2ad954(0x17b)]):_0x57274d[_0x2ad954(0x17b)]<0x64&&!_0x5b0909?'':this[_0x2ad954(0x18a)](_0x57274d);const _0x154642=this[_0x2ad954(0x15d)][_0x2ad954(0x181)](_0x57274d,_0x2ad954(0x183));if(_0x4c8c8f){const _0x2aa4c7=Array[_0x2ad954(0x182)](_0x154642[_0x2ad954(0x147)][_0x2ad954(0x14d)]);_0x2aa4c7[_0x2ad954(0x165)]();for(const _0x34441a of _0x2aa4c7){if(_0x34441a[_0x2ad954(0x12d)]==Node[_0x2ad954(0x158)])break;_0x34441a[_0x2ad954(0x12e)]();}}const _0x55d6c0=this[_0x2ad954(0x159)][_0x2ad954(0x18f)][_0x2ad954(0x180)][_0x2ad954(0x187)](this[_0x2ad954(0x143)][_0x2ad954(0x14a)](_0x154642[_0x2ad954(0x147)]));this[_0x2ad954(0x174)]()||this[_0x2ad954(0x18b)](_0x55d6c0);const _0xeb3698=this[_0x2ad954(0x159)][_0x2ad954(0x150)][_0x2ad954(0x14e)](_0x2ad954(0x16b)),_0x1515fe=this[_0x2ad954(0x159)][_0x2ad954(0x18f)][_0x2ad954(0x18c)](_0x55d6c0);return _0xeb3698||_0x1515fe[_0x2ad954(0x188)][_0x2ad954(0x186)](),this[_0x2ad954(0x159)][_0x2ad954(0x18f)][_0x2ad954(0x153)](_0x1515fe);}[_0xd6aeaf(0x18b)](_0x3af05f){const _0x404bba=_0xd6aeaf,_0x506447=new _0x572884(this[_0x404bba(0x159)][_0x404bba(0x157)][_0x404bba(0x18e)][_0x404bba(0x15e)]),_0x3b01c5=new _0x2dfd2c({'name':/^h[1-5]$/}),_0x476a45=[];let _0x2c3971=!0x1;for(const _0x5c4a4c of _0x3af05f)_0x5c4a4c['is'](_0x404bba(0x15a))&&_0x3b01c5[_0x404bba(0x14f)](_0x5c4a4c)&&(_0x476a45[_0x404bba(0x16e)](_0x5c4a4c),'h1'==_0x5c4a4c[_0x404bba(0x151)]&&(_0x2c3971=!0x0));if(_0x2c3971){for(const _0x59eeea of _0x476a45)_0x506447[_0x404bba(0x13a)]('h'+(parseInt(_0x59eeea[_0x404bba(0x151)][0x1])+0x1),_0x59eeea);}}[_0xd6aeaf(0x174)](){const _0x29933a=_0xd6aeaf,{data:_0x51db87,editing:_0x3ad48c}=this[_0x29933a(0x159)],_0x11e4ab=_0x51db87[_0x29933a(0x138)][_0x29933a(0x187)](_0x29933a(0x17d)),_0x3a7a46=_0x51db87[_0x29933a(0x187)](_0x51db87[_0x29933a(0x18c)](_0x11e4ab));return!!_0x3ad48c[_0x29933a(0x18e)][_0x29933a(0x172)][_0x29933a(0x15b)](_0x3a7a46)[_0x29933a(0x170)]('h1');}[_0xd6aeaf(0x16a)](_0x37b472){const _0x3d2916=_0xd6aeaf;return this[_0x3d2916(0x159)][_0x3d2916(0x157)][_0x3d2916(0x18e)][_0x3d2916(0x172)][_0x3d2916(0x133)](this[_0x3d2916(0x132)],_0x37b472),this[_0x3d2916(0x132)][_0x3d2916(0x160)];}[_0xd6aeaf(0x18a)](_0x973d3c){const _0x586e3d=_0xd6aeaf,_0x31bf29=_0x973d3c[_0x586e3d(0x17c)]();return _0x31bf29[_0x586e3d(0x17f)](_0x586e3d(0x163))?_0x31bf29[_0x586e3d(0x175)](_0x586e3d(0x166))?_0x31bf29[_0x586e3d(0x15f)](0x7,_0x31bf29[_0x586e3d(0x17b)]-0x3):_0x31bf29[_0x586e3d(0x15f)](0x7):_0x973d3c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f746d=_0x24fb;(function(_0x43cbd9,_0x143920){const _0x477f6b=_0x24fb,_0x534788=_0x43cbd9();while(!![]){try{const _0x2f34d1=parseInt(_0x477f6b(0xba))/0x1*(parseInt(_0x477f6b(0xe1))/0x2)+-parseInt(_0x477f6b(0xde))/0x3+-parseInt(_0x477f6b(0x107))/0x4*(parseInt(_0x477f6b(0xd0))/0x5)+parseInt(_0x477f6b(0xd5))/0x6+parseInt(_0x477f6b(0xcd))/0x7*(parseInt(_0x477f6b(0xdc))/0x8)+-parseInt(_0x477f6b(0xd4))/0x9+-parseInt(_0x477f6b(0x101))/0xa*(parseInt(_0x477f6b(0xcb))/0xb);if(_0x2f34d1===_0x143920)break;else _0x534788['push'](_0x534788['shift']());}catch(_0x554854){_0x534788['push'](_0x534788['shift']());}}}(_0x4d93,0x9f769));import{global as _0x1ab6bd}from'ckeditor5/src/utils.js';import{View as _0x38c4ba,ButtonView as _0x1e23ba,SpinnerView as _0x36301b}from'ckeditor5/src/ui.js';function _0x4d93(){const _0xc3c215=['ck-ai-form__content-area','div','_createCopyButton','getSelection','_copyHTMLToClipboard','change:value','22432RiwcHU','_createLoader','1514940WyBzJS','focus','wheel','491866OvKpXo','textContent','change:isProcessing','-9999px','querySelector','createRange','.ck-ai-form__loader','appendChild','ClipboardItem','element','execCommand','bindTemplate','clipboard','setStartAfter','isVisible','scrollTo','mousedown','remove','isEnabled','style','ck-ai-form__content-area--processing','firstElementChild','smooth','createElement','Copy','value','\x20ck-ai-form__copy-button--copied','left','absolute','position','setContent','copyButtonView','610qtPcjL','bind','ck-hidden','removeAllRanges','copy','ck-content','2567780EHIBHU','text/plain','ck-ai-form__loader','AI\x20is\x20writing...','write','scrollHeight','execute','ck-ai-form__content-area-wrapper','ck-reset_all-excluded','4XzskUo','isProcessing','<span>]</span>','ck-ai-form__content-field','render','ck-ai-form__copy-button','body','appendLoader','addRange','icon','set','ck-ai-form__copy-button-wrapper','contentFieldView','loaderView','class','innerHTML','listenTo','100650FVuuLg','<span>[</span>','1351XUReBE','text/html','lastElementChild','5ALcWyT','locale','setEndBefore','setTemplate','2758932jgNHfv','6839280sMQoqt'];_0x4d93=function(){return _0xc3c215;};return _0x4d93();}function _0x24fb(_0x24e163,_0x4d1ec2){const _0x4d9351=_0x4d93();return _0x24fb=function(_0x24fb71,_0x3bb10a){_0x24fb71=_0x24fb71-0xb6;let _0x592f3b=_0x4d9351[_0x24fb71];return _0x592f3b;},_0x24fb(_0x24e163,_0x4d1ec2);}import{IconCheck as _0x17375e,IconCopy as _0xe5455a}from'ckeditor5/src/icons.js';import{getTranslation as _0x1d0110}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x38c4ba{[_0x2f746d(0xc6)];[_0x2f746d(0x100)];constructor(_0x4fac53,_0xd530ef=''){const _0x41da6d=_0x2f746d;super(_0x4fac53),this[_0x41da6d(0xc4)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x58d5d7=this[_0x41da6d(0xec)];this[_0x41da6d(0xc6)]=new ContentFieldView(_0x4fac53,_0xd530ef),this[_0x41da6d(0x100)]=this[_0x41da6d(0xd8)](),this[_0x41da6d(0xd3)]({'tag':_0x41da6d(0xd7),'attributes':{'class':['ck',_0x41da6d(0xb8),_0x58d5d7['if'](_0x41da6d(0xef),_0x41da6d(0x103),_0x2bcb52=>!_0x2bcb52)],'tabindex':'-1'},'children':[{'tag':_0x41da6d(0xd7),'attributes':{'class':['ck',_0x41da6d(0xd6),_0x58d5d7['if'](_0x41da6d(0xbb),_0x41da6d(0xf5))]},'children':[this[_0x41da6d(0xc6)],{'tag':_0x41da6d(0xd7),'attributes':{'class':['ck',_0x41da6d(0xc5)]},'children':[this[_0x41da6d(0x100)]]}]}]});}[_0x2f746d(0xbe)](){const _0x4503cc=_0x2f746d;super[_0x4503cc(0xbe)](),this[_0x4503cc(0xfa)]&&this[_0x4503cc(0xc6)][_0x4503cc(0xff)](this[_0x4503cc(0xfa)]);let _0xa244c4=!0x1;this['on'](_0x4503cc(0xdb),(_0x263c2c,_0x14776a,_0xc41c43)=>{const _0x271396=_0x4503cc,_0x3d6d31=!this[_0x271396(0xc6)][_0x271396(0xea)][_0x271396(0xe5)](_0x271396(0xe7));this[_0x271396(0xc6)][_0x271396(0xff)](_0xc41c43),this[_0x271396(0xbb)]&&_0x3d6d31&&!_0xa244c4&&this[_0x271396(0xea)][_0x271396(0xf0)]({'top':this[_0x271396(0xea)][_0x271396(0xb6)],'behavior':_0x271396(0xf7)});}),this['on'](_0x4503cc(0xe3),(_0x1758a5,_0x5a8f86,_0x2dfdfd)=>{const _0x50df81=_0x4503cc;_0xa244c4=!0x1,_0x2dfdfd?(this[_0x50df81(0xfa)]=null,this[_0x50df81(0xc6)][_0x50df81(0xc1)]()):this[_0x50df81(0xfa)]||this[_0x50df81(0xc6)][_0x50df81(0xff)]('');}),this[_0x4503cc(0xca)](this[_0x4503cc(0xea)],_0x4503cc(0xe0),()=>{_0xa244c4=!0x0;}),this[_0x4503cc(0xca)](this[_0x4503cc(0xea)],_0x4503cc(0xf1),()=>{_0xa244c4=!0x0;});}[_0x2f746d(0xdf)](){const _0xbb6e1a=_0x2f746d;this[_0xbb6e1a(0xea)][_0xbb6e1a(0xdf)]();}[_0x2f746d(0xd8)](){const _0x2d89ff=_0x2f746d,_0xd83031=this[_0x2d89ff(0xd1)],_0x5b974e=new _0x1e23ba(this[_0x2d89ff(0xd1)]),_0x5f3a51=_0x2d89ff(0xbf);return _0x5b974e[_0x2d89ff(0xc4)]({'label':_0x1d0110(_0xd83031,_0x2d89ff(0xf9)),'icon':_0xe5455a,'class':_0x5f3a51,'tooltip':!0x0}),_0x5b974e[_0x2d89ff(0x102)](_0x2d89ff(0xef))['to'](this,_0x2d89ff(0xfa),_0x51bdfb=>!!_0x51bdfb),_0x5b974e[_0x2d89ff(0x102)](_0x2d89ff(0xf3))['to'](this,_0x2d89ff(0xbb),_0x49e7ab=>!_0x49e7ab),_0x5b974e['on'](_0x2d89ff(0xb7),()=>{const _0x1a9878=_0x2d89ff;this[_0x1a9878(0xda)](this[_0x1a9878(0xc6)][_0x1a9878(0xea)]),_0x5b974e[_0x1a9878(0xc3)]=_0x17375e,_0x5b974e[_0x1a9878(0xc8)]=_0x5f3a51+_0x1a9878(0xfb),this[_0x1a9878(0xdf)](),setTimeout(()=>{const _0x4531b1=_0x1a9878;_0x5b974e[_0x4531b1(0xc3)]=_0xe5455a,_0x5b974e[_0x4531b1(0xc8)]=_0x5f3a51;},0x3e8);}),_0x5b974e;}[_0x2f746d(0xda)](_0x483407){const _0x56fba2=_0x2f746d,{window:_0x1b0175,document:_0x59b182}=_0x1ab6bd;if(_0x1b0175[_0x56fba2(0xe9)]){const {Blob:_0x1fdb2b,ClipboardItem:_0x5a0c0b}=_0x1b0175,_0x1ab7b6=[new _0x5a0c0b({'text/html':new _0x1fdb2b([_0x483407[_0x56fba2(0xc9)]],{'type':_0x56fba2(0xce)}),'text/plain':new _0x1fdb2b([_0x483407[_0x56fba2(0xe2)]||''],{'type':_0x56fba2(0x108)})})];navigator[_0x56fba2(0xed)][_0x56fba2(0x10b)](_0x1ab7b6);}else{const _0x510e7c=_0x59b182[_0x56fba2(0xf8)](_0x56fba2(0xd7));_0x510e7c[_0x56fba2(0xf4)][_0x56fba2(0xfe)]=_0x56fba2(0xfd),_0x510e7c[_0x56fba2(0xf4)][_0x56fba2(0xfc)]=_0x56fba2(0xe4),_0x510e7c[_0x56fba2(0xc9)]=_0x56fba2(0xcc)+_0x483407[_0x56fba2(0xc9)]+_0x56fba2(0xbc),_0x59b182[_0x56fba2(0xc0)][_0x56fba2(0xe8)](_0x510e7c);const _0x2a8464=_0x59b182[_0x56fba2(0xe6)]();_0x2a8464[_0x56fba2(0xee)](_0x510e7c[_0x56fba2(0xf6)]),_0x2a8464[_0x56fba2(0xd2)](_0x510e7c[_0x56fba2(0xcf)]);const _0x2b23f8=_0x1b0175[_0x56fba2(0xd9)]();_0x2b23f8[_0x56fba2(0x104)](),_0x2b23f8[_0x56fba2(0xc2)](_0x2a8464),_0x59b182[_0x56fba2(0xeb)](_0x56fba2(0x105)),_0x510e7c[_0x56fba2(0xf2)]();}}}export class ContentFieldView extends _0x38c4ba{constructor(_0xd2430a,_0x31c1b8=''){const _0xf99186=_0x2f746d;super(_0xd2430a),this[_0xf99186(0xc7)]=this[_0xf99186(0xdd)](),this[_0xf99186(0xd3)]({'tag':_0xf99186(0xd7),'attributes':{'class':['ck',_0xf99186(0x106),_0x31c1b8,_0xf99186(0xb9),_0xf99186(0xbd)]}});}[_0x2f746d(0xff)](_0x4108c4){const _0x22ac0d=_0x2f746d;this[_0x22ac0d(0xea)][_0x22ac0d(0xc9)]=_0x4108c4;}[_0x2f746d(0xc1)](){const _0xba53a6=_0x2f746d;this[_0xba53a6(0xea)][_0xba53a6(0xe8)](this[_0xba53a6(0xc7)][_0xba53a6(0xea)]);}[_0x2f746d(0xdd)](){const _0x48dacc=_0x2f746d,_0x448ee6=new _0x38c4ba(),_0x3c468b=this[_0x48dacc(0xd1)],_0x1f7525=new _0x36301b();return _0x1f7525[_0x48dacc(0xef)]=!0x0,_0x448ee6[_0x48dacc(0xd3)]({'tag':_0x48dacc(0xd7),'attributes':{'class':['ck',_0x48dacc(0x109)]},'children':[_0x1f7525,{'text':_0x1d0110(_0x3c468b,_0x48dacc(0x10a))}]}),_0x448ee6[_0x48dacc(0xbe)](),_0x448ee6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4d2f(){const _0x243c97=['1183977KifazD','6289368aDoTSH','text','set','div','bindTemplate','setTemplate','4468amnBAr','19286XSVaIU','1444835FuZiYU','ck-ai-form__error','11ebjzmJ','267ZhNfMU','content','497MuziQi','84nmPhFN','623810PQBwLU','50562ZhPhvb'];_0x4d2f=function(){return _0x243c97;};return _0x4d2f();}function _0x1c3a(_0x4326a5,_0x5aced9){const _0x4d2fff=_0x4d2f();return _0x1c3a=function(_0x1c3a5c,_0x5adf55){_0x1c3a5c=_0x1c3a5c-0x160;let _0x56862b=_0x4d2fff[_0x1c3a5c];return _0x56862b;},_0x1c3a(_0x4326a5,_0x5aced9);}(function(_0xf859f2,_0x27ebf3){const _0x347414=_0x1c3a,_0x3c318c=_0xf859f2();while(!![]){try{const _0x11105b=-parseInt(_0x347414(0x165))/0x1*(parseInt(_0x347414(0x170))/0x2)+-parseInt(_0x347414(0x162))/0x3*(-parseInt(_0x347414(0x16f))/0x4)+parseInt(_0x347414(0x171))/0x5+-parseInt(_0x347414(0x167))/0x6*(-parseInt(_0x347414(0x164))/0x7)+parseInt(_0x347414(0x169))/0x8+-parseInt(_0x347414(0x168))/0x9+-parseInt(_0x347414(0x166))/0xa*(parseInt(_0x347414(0x161))/0xb);if(_0x11105b===_0x27ebf3)break;else _0x3c318c['push'](_0x3c318c['shift']());}catch(_0x23e558){_0x3c318c['push'](_0x3c318c['shift']());}}}(_0x4d2f,0xbbb9a));import{IconError as _0x169c28}from'ckeditor5/src/icons.js';import{View as _0x4583be,IconView as _0x21fd3a}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x4583be{constructor(_0x3f02fd,_0x10ae2b=''){const _0x1b528d=_0x1c3a;super(_0x3f02fd);const _0xabfd21=new _0x21fd3a(),_0x12d1de=this[_0x1b528d(0x16d)];this[_0x1b528d(0x16b)](_0x1b528d(0x16a),_0x10ae2b),_0xabfd21[_0x1b528d(0x163)]=_0x169c28,this[_0x1b528d(0x16e)]({'tag':_0x1b528d(0x16c),'attributes':{'class':['ck',_0x1b528d(0x160)]},'children':[_0xabfd21,{'text':_0x12d1de['to'](_0x1b528d(0x16a))}]});}}
|