@ckeditor/ckeditor5-ai 44.0.0-alpha.7 → 44.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +3 -3
- package/README.md +5 -4
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcee033=_0x9547;(function(_0x463e37,_0x4781c3){const _0x5472cb=_0x9547,_0x40c9bb=_0x463e37();while(!![]){try{const _0x2c2655=parseInt(_0x5472cb(0xb7))/0x1*(parseInt(_0x5472cb(0xb1))/0x2)+-parseInt(_0x5472cb(0xc6))/0x3*(parseInt(_0x5472cb(0xb4))/0x4)+parseInt(_0x5472cb(0xa7))/0x5*(-parseInt(_0x5472cb(0xbd))/0x6)+-parseInt(_0x5472cb(0xc5))/0x7*(-parseInt(_0x5472cb(0xbc))/0x8)+parseInt(_0x5472cb(0xb0))/0x9*(parseInt(_0x5472cb(0xc4))/0xa)+-parseInt(_0x5472cb(0xbf))/0xb+parseInt(_0x5472cb(0xb6))/0xc;if(_0x2c2655===_0x4781c3)break;else _0x40c9bb['push'](_0x40c9bb['shift']());}catch(_0x5bd2a0){_0x40c9bb['push'](_0x40c9bb['shift']());}}}(_0x332d,0xd3dbb));import{ToolbarView as _0x4f2eee,ButtonView as _0x2ebc5e}from'ckeditor5/src/ui.js';function _0x332d(){const _0x271cef=['ck-button-action','ck-hidden','54jaDNHS','16638OYAoCr','REPLACE','replaceButton','118364XmaIwS','set','5656848OlrRAK','179FFojmE','insert','_CONTENT','toUpperCase','Stop','5272DgmIyM','24CGtfNh','insertButton','4530229oyUjGw','bind','Insert\x20below','items','mainAction','823670tAfxjP','2989vtujrC','42NAVyxV','tryAgainButton','stopButton','label','extendTemplate','addMany','Try\x20again','AI_','1302770nuocEV','ck-ai-form__toolbar','locale','replace','bindTemplate','isVisible','_createButton'];_0x332d=function(){return _0x271cef;};return _0x332d();}import{getTranslation as _0x22f825}from'../../utils/common-translations.js';function _0x9547(_0x2cad30,_0x56a271){const _0x332d8f=_0x332d();return _0x9547=function(_0x95475f,_0xa2af86){_0x95475f=_0x95475f-0xa1;let _0x35c4ca=_0x332d8f[_0x95475f];return _0x35c4ca;},_0x9547(_0x2cad30,_0x56a271);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xcee033(0xaa),'INSERT':_0xcee033(0xb8)};export default class nt extends _0x4f2eee{constructor(_0x5bb361){const _0x1eb313=_0xcee033;super(_0x5bb361),this[_0x1eb313(0xb5)](_0x1eb313(0xac),!0x1),this[_0x1eb313(0xb5)](_0x1eb313(0xc3),AIFormToolbarViewMainActionLabel[_0x1eb313(0xb2)]),this[_0x1eb313(0xb3)]=this[_0x1eb313(0xad)]('',_0x1eb313(0xae)),this[_0x1eb313(0xb3)][_0x1eb313(0xc0)](_0x1eb313(0xa2))['to'](this,_0x1eb313(0xc3),_0x219fd8=>_0x22f825(_0x5bb361,_0x1eb313(0xa6)+_0x219fd8[_0x1eb313(0xba)]()+_0x1eb313(0xb9))),this[_0x1eb313(0xbe)]=this[_0x1eb313(0xad)](_0x22f825(_0x5bb361,_0x1eb313(0xc1))),this[_0x1eb313(0xc7)]=this[_0x1eb313(0xad)](_0x22f825(_0x5bb361,_0x1eb313(0xa5))),this[_0x1eb313(0xa1)]=this[_0x1eb313(0xad)](_0x22f825(_0x5bb361,_0x1eb313(0xbb)));const _0x486676=this[_0x1eb313(0xab)];this[_0x1eb313(0xa3)]({'attributes':{'class':[_0x1eb313(0xa8),_0x486676['if'](_0x1eb313(0xac),_0x1eb313(0xaf),_0x49ce30=>!_0x49ce30)]}}),this[_0x1eb313(0xc2)][_0x1eb313(0xa4)]([this[_0x1eb313(0xb3)],this[_0x1eb313(0xbe)],this[_0x1eb313(0xc7)],this[_0x1eb313(0xa1)]]);}[_0xcee033(0xad)](_0x24e90b,_0x15e980){const _0x2a150e=_0xcee033,_0x3cb648=new _0x2ebc5e(this[_0x2a150e(0xa9)]);return _0x3cb648[_0x2a150e(0xb5)]({'label':_0x24e90b,'class':_0x15e980||'','isVisible':!0x0,'withText':!0x0}),_0x3cb648;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb7b70a=_0x5684;(function(_0x1264f2,_0x55b914){const _0x540f1d=_0x5684,_0x55617a=_0x1264f2();while(!![]){try{const _0x1a47b1=parseInt(_0x540f1d(0x1f6))/0x1*(-parseInt(_0x540f1d(0x1c7))/0x2)+-parseInt(_0x540f1d(0x1d3))/0x3*(parseInt(_0x540f1d(0x1f7))/0x4)+-parseInt(_0x540f1d(0x1cf))/0x5*(parseInt(_0x540f1d(0x1e1))/0x6)+parseInt(_0x540f1d(0x1cc))/0x7+parseInt(_0x540f1d(0x1d2))/0x8+parseInt(_0x540f1d(0x1e4))/0x9+-parseInt(_0x540f1d(0x1d5))/0xa*(-parseInt(_0x540f1d(0x1e7))/0xb);if(_0x1a47b1===_0x55b914)break;else _0x55617a['push'](_0x55617a['shift']());}catch(_0x5aeca7){_0x55617a['push'](_0x55617a['shift']());}}}(_0xd1de,0x50a14));function _0x5684(_0x2235aa,_0x29542f){const _0xd1de5d=_0xd1de();return _0x5684=function(_0x568468,_0x361025){_0x568468=_0x568468-0x1b4;let _0x1d2e21=_0xd1de5d[_0x568468];return _0x1d2e21;},_0x5684(_0x2235aa,_0x29542f);}import{FocusTracker as _0x37f1ab,KeystrokeHandler as _0x3db76b}from'ckeditor5/src/utils.js';function _0xd1de(){const _0x564a65=['label','mainAction','clearHistory','tryAgainButton','fire','_createHistoryView','bindTemplate','14172wmquHM','trim','submitPrompt','_createToolbar','search','4434836vMsWfe','bind','submit','3054265sAEghY','createCollection','execute','2010192XEYTDy','237gTqnKf','promptView','6040160YrYScr','isEnabled','shift\x20+\x20tab','AI_ERROR_FAILED','tab','div','stopButton','set','items','clear','ck-ai-form','ck-ai-form-content','6eILLFn','setTemplate','replaceContent','2652219QepcpB','replaceButton','bindTo','11YZzdGS','focusCycler','reset','queryView','insertContentBelow','contentArea','finishProcessing','tryAgainEvent','focusTracker','startProcessing','focus','isError','render','REPLACE','text','28TOyacD','32608jQubNo','Ask\x20AI\x20to\x20improve\x20generated\x20text','stopProcessing','toolbar','_promptHistory','_createPromptView','delegate','isProcessing','Empty\x20history','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','errorView','isVisible','listenTo','_focusables','focusFirst','focusLast','fieldView','element','prompt','chain','add','historyGroupView','keystrokes','value','locale','handleError','Ask\x20AI\x20to\x20edit\x20or\x20generate','high','insertButton','copyButtonView','ck-hidden'];_0xd1de=function(){return _0x564a65;};return _0xd1de();}import{View as _0x3115b2,FocusCycler as _0x1f5824,createLabeledTextarea as _0x2b0a6d}from'ckeditor5/src/ui.js';import _0x354877,{AIFormToolbarViewMainActionLabel as _0x222e5c}from'./aiformtoolbarview.js';import _0x774feb from'./aiformcontentarea.js';import _0x204d6c from'./aiformerrorview.js';import _0x152ef7 from'./aiformpromptview.js';import _0x2b0aa1 from'./aihistorylistview.js';import _0x17b761 from'./aihistorylistitemview.js';import _0x27f0d4 from'./prompthistory.js';import{getTranslation as _0xf96cf4}from'../../utils/common-translations.js';import{escape as _0x1e9de2}from'lodash-es';export default class K extends _0x3115b2{constructor(_0x37b8d5,_0x56908c,_0x4c8c3e=''){const _0xe0e44=_0x5684;super(_0x37b8d5),this[_0xe0e44(0x1dc)](_0xe0e44(0x1d6),!0x0),this[_0xe0e44(0x1dc)](_0xe0e44(0x1fe),!0x1),this[_0xe0e44(0x1dc)](_0xe0e44(0x209),''),this[_0xe0e44(0x1dc)](_0xe0e44(0x1b8),''),this[_0xe0e44(0x1dc)](_0xe0e44(0x1f2),!0x1),this[_0xe0e44(0x1dc)](_0xe0e44(0x1c1),_0x222e5c[_0xe0e44(0x1f4)]),this[_0xe0e44(0x1fb)]=new _0x27f0d4(),this[_0xe0e44(0x201)]=new _0x204d6c(_0x37b8d5),this[_0xe0e44(0x1ec)]=new _0x774feb(_0x37b8d5,_0x4c8c3e),this[_0xe0e44(0x1ec)][_0xe0e44(0x1cd)](_0xe0e44(0x1fe))['to'](this),this[_0xe0e44(0x1ec)][_0xe0e44(0x1cd)](_0xe0e44(0x1b8))['to'](this),this[_0xe0e44(0x1fa)]=this[_0xe0e44(0x1ca)](),this[_0xe0e44(0x1fa)][_0xe0e44(0x1cd)](_0xe0e44(0x1c1))['to'](this),this[_0xe0e44(0x1d4)]=this[_0xe0e44(0x1fc)](),this[_0xe0e44(0x1ef)]=new _0x37f1ab(),this[_0xe0e44(0x1b7)]=new _0x3db76b(),this[_0xe0e44(0x204)]=this[_0xe0e44(0x1d0)]([this[_0xe0e44(0x1ec)],this[_0xe0e44(0x1ec)][_0xe0e44(0x1be)],this[_0xe0e44(0x1fa)],this[_0xe0e44(0x1d4)]]),this[_0xe0e44(0x1e8)]=new _0x1f5824({'focusables':this[_0xe0e44(0x204)],'focusTracker':this[_0xe0e44(0x1ef)],'keystrokeHandler':this[_0xe0e44(0x1b7)],'actions':{'focusPrevious':_0xe0e44(0x1d7),'focusNext':_0xe0e44(0x1d9)}}),this[_0xe0e44(0x1e8)][_0xe0e44(0x1b4)](this[_0xe0e44(0x1d4)][_0xe0e44(0x1e8)]),this[_0xe0e44(0x1d4)][_0xe0e44(0x1ea)][_0xe0e44(0x207)][_0xe0e44(0x1cd)](_0xe0e44(0x1b8))['to'](this,_0xe0e44(0x209));const _0x16ee3d=this[_0xe0e44(0x1c6)];this[_0xe0e44(0x1e2)]({'tag':_0xe0e44(0x1da),'attributes':{'class':['ck',_0xe0e44(0x1df),_0x56908c],'tabindex':'-1'},'children':[{'tag':_0xe0e44(0x1da),'attributes':{'class':['ck',_0xe0e44(0x1e0)]},'children':[{'tag':_0xe0e44(0x1da),'attributes':{'class':[_0x16ee3d['if'](_0xe0e44(0x1f2),_0xe0e44(0x1bf),_0x2ae0bb=>!_0x2ae0bb)]},'children':[this[_0xe0e44(0x201)]]},this[_0xe0e44(0x1ec)],this[_0xe0e44(0x1fa)],this[_0xe0e44(0x1d4)]]}]});}[_0xb7b70a(0x1f3)](){const _0x22ebb4=_0xb7b70a;super[_0x22ebb4(0x1f3)](),this[_0x22ebb4(0x1ef)][_0x22ebb4(0x1b5)](this[_0x22ebb4(0x1ec)][_0x22ebb4(0x208)]),this[_0x22ebb4(0x1ef)][_0x22ebb4(0x1b5)](this[_0x22ebb4(0x1ec)][_0x22ebb4(0x1be)][_0x22ebb4(0x208)]),this[_0x22ebb4(0x1ef)][_0x22ebb4(0x1b5)](this[_0x22ebb4(0x1fa)][_0x22ebb4(0x208)]),this[_0x22ebb4(0x1ef)][_0x22ebb4(0x1b5)](this[_0x22ebb4(0x1d4)][_0x22ebb4(0x208)]),this[_0x22ebb4(0x1b7)][_0x22ebb4(0x203)](this[_0x22ebb4(0x208)]);}[_0xb7b70a(0x1f1)](_0x2d6ecc=0x1){const _0x1b6d3c=_0xb7b70a;-0x1===_0x2d6ecc?this[_0x1b6d3c(0x1e8)][_0x1b6d3c(0x206)]():this[_0x1b6d3c(0x1e8)][_0x1b6d3c(0x205)]();}[_0xb7b70a(0x1e9)](){const _0x51503a=_0xb7b70a;this[_0x51503a(0x209)]='',this[_0x51503a(0x1b8)]='',this[_0x51503a(0x1f2)]=!0x1,this[_0x51503a(0x1d4)][_0x51503a(0x1e9)](),this[_0x51503a(0x1ec)][_0x51503a(0x202)]=!0x1,this[_0x51503a(0x1fa)][_0x51503a(0x202)]=!0x1;}[_0xb7b70a(0x1fc)](){const _0x290468=_0xb7b70a,_0x54e41d=this[_0x290468(0x1b9)],_0xdaa9aa=new _0x152ef7(_0x54e41d,{'queryView':{'label':_0xf96cf4(_0x54e41d,_0x290468(0x1bb)),'creator':_0x2b0a6d,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xf96cf4(_0x54e41d,_0x290468(0x1ff)),'secondary':_0xf96cf4(_0x54e41d,_0x290468(0x200))}}},'filteredView':this[_0x290468(0x1c5)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xdaa9aa[_0x290468(0x1cd)](_0x290468(0x1d6))['to'](this,_0x290468(0x1d6),this,_0x290468(0x1fe),(_0x26d24b,_0x175126)=>_0x26d24b&&!_0x175126),this[_0x290468(0x203)](_0xdaa9aa,_0x290468(0x1ce),(_0xab5d09,_0x123369)=>{const _0x2d173f=_0x290468;this[_0x2d173f(0x209)]=_0x123369;const _0x490d02=_0x1e9de2(_0x123369);this[_0x2d173f(0x1c4)](_0x2d173f(0x1c9),_0x490d02),_0x123369[_0x2d173f(0x1c8)]()&&this[_0x2d173f(0x1fb)][_0x2d173f(0x1b5)]({'prompt':_0x490d02},0x0);},{'priority':_0x290468(0x1bc)}),_0xdaa9aa;}[_0xb7b70a(0x1c5)](){const _0x5e37ca=_0xb7b70a,_0x3de507=new _0x2b0aa1(this[_0x5e37ca(0x1b9)]);return _0x3de507[_0x5e37ca(0x1b6)][_0x5e37ca(0x1dd)][_0x5e37ca(0x1e6)](this[_0x5e37ca(0x1fb)])['as'](_0x17b761),_0x3de507['on'](_0x5e37ca(0x1c2),()=>{const _0x24b5b5=_0x5e37ca;this[_0x24b5b5(0x1fb)][_0x24b5b5(0x1de)](),this[_0x24b5b5(0x1d4)][_0x24b5b5(0x1cb)](''),this[_0x24b5b5(0x1d4)][_0x24b5b5(0x1f1)]();}),_0x3de507;}[_0xb7b70a(0x1ca)](){const _0x4e2b7b=_0xb7b70a,_0x169a14=new _0x354877(this[_0x4e2b7b(0x1b9)]);return _0x169a14[_0x4e2b7b(0x1e5)][_0x4e2b7b(0x1cd)](_0x4e2b7b(0x1d6))['to'](this,_0x4e2b7b(0x1d6),this,_0x4e2b7b(0x1fe),this,_0x4e2b7b(0x1b8),(_0x46c325,_0x2cd3d4,_0x35a369)=>_0x46c325&&!_0x2cd3d4&&!!_0x35a369),_0x169a14[_0x4e2b7b(0x1e5)][_0x4e2b7b(0x1fd)](_0x4e2b7b(0x1d1))['to'](this,_0x4e2b7b(0x1e3)),_0x169a14[_0x4e2b7b(0x1bd)][_0x4e2b7b(0x1cd)](_0x4e2b7b(0x1d6))['to'](this,_0x4e2b7b(0x1d6),this,_0x4e2b7b(0x1fe),this,_0x4e2b7b(0x1b8),(_0x9fcdab,_0x50daf3,_0x31267a)=>_0x9fcdab&&!_0x50daf3&&!!_0x31267a),_0x169a14[_0x4e2b7b(0x1bd)][_0x4e2b7b(0x1fd)](_0x4e2b7b(0x1d1))['to'](this,_0x4e2b7b(0x1eb)),_0x169a14[_0x4e2b7b(0x1c3)][_0x4e2b7b(0x1cd)](_0x4e2b7b(0x1d6))['to'](this,_0x4e2b7b(0x1d6),this,_0x4e2b7b(0x1fe),(_0x54ba44,_0x40c275)=>_0x54ba44&&!_0x40c275),_0x169a14[_0x4e2b7b(0x1c3)][_0x4e2b7b(0x1fd)](_0x4e2b7b(0x1d1))['to'](this,_0x4e2b7b(0x1ee)),_0x169a14[_0x4e2b7b(0x1db)][_0x4e2b7b(0x1cd)](_0x4e2b7b(0x1d6))['to'](this,_0x4e2b7b(0x1fe)),_0x169a14[_0x4e2b7b(0x1db)][_0x4e2b7b(0x1fd)](_0x4e2b7b(0x1d1))['to'](this,_0x4e2b7b(0x1f9)),_0x169a14;}[_0xb7b70a(0x1f0)](){const _0x28ec3c=_0xb7b70a;this[_0x28ec3c(0x1b8)]='',this[_0x28ec3c(0x1f2)]=!0x1,this[_0x28ec3c(0x1fe)]=!0x0,this[_0x28ec3c(0x1ec)][_0x28ec3c(0x202)]=!0x0,this[_0x28ec3c(0x1fa)][_0x28ec3c(0x202)]=!0x0,this[_0x28ec3c(0x1ec)][_0x28ec3c(0x1f1)]();}[_0xb7b70a(0x1ed)](){const _0x3f5421=_0xb7b70a,_0x170b1f=this[_0x3f5421(0x1b9)];this[_0x3f5421(0x1fe)]=!0x1,this[_0x3f5421(0x209)]='',this[_0x3f5421(0x1d4)][_0x3f5421(0x1e9)](),this[_0x3f5421(0x1b8)]&&(this[_0x3f5421(0x1d4)][_0x3f5421(0x1ea)][_0x3f5421(0x1c0)]=_0xf96cf4(_0x170b1f,_0x3f5421(0x1f8)));}[_0xb7b70a(0x1ba)](_0x2bc326){const _0xd2e43f=_0xb7b70a,_0x4c4f4d=this[_0xd2e43f(0x1b9)];this[_0xd2e43f(0x1ed)](),this[_0xd2e43f(0x1f2)]=!0x0,this[_0xd2e43f(0x201)][_0xd2e43f(0x1f5)]=_0x2bc326||_0xf96cf4(_0x4c4f4d,_0xd2e43f(0x1d8)),this[_0xd2e43f(0x1b8)]||(this[_0xd2e43f(0x1ec)][_0xd2e43f(0x202)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x56d1(_0x197d15,_0x9ff69f){const _0x9dbc28=_0x9dbc();return _0x56d1=function(_0x56d15c,_0x4b5937){_0x56d15c=_0x56d15c-0x138;let _0xcf005f=_0x9dbc28[_0x56d15c];return _0xcf005f;},_0x56d1(_0x197d15,_0x9ff69f);}(function(_0x1c3d96,_0x4491d7){const _0x17eb12=_0x56d1,_0x3e25ee=_0x1c3d96();while(!![]){try{const _0x1f22c6=parseInt(_0x17eb12(0x149))/0x1*(parseInt(_0x17eb12(0x144))/0x2)+parseInt(_0x17eb12(0x140))/0x3+parseInt(_0x17eb12(0x138))/0x4+parseInt(_0x17eb12(0x13b))/0x5*(parseInt(_0x17eb12(0x13a))/0x6)+parseInt(_0x17eb12(0x139))/0x7+parseInt(_0x17eb12(0x145))/0x8*(-parseInt(_0x17eb12(0x142))/0x9)+-parseInt(_0x17eb12(0x13f))/0xa*(parseInt(_0x17eb12(0x147))/0xb);if(_0x1f22c6===_0x4491d7)break;else _0x3e25ee['push'](_0x3e25ee['shift']());}catch(_0x581643){_0x3e25ee['push'](_0x3e25ee['shift']());}}}(_0x9dbc,0x71355));import{ListItemView as _0x2d6ff3,ButtonView as _0x1e0b22,ButtonLabelView as _0x3edc8b}from'ckeditor5/src/ui.js';import{unescape as _0x1c4206}from'lodash-es';export default class hs extends _0x2d6ff3{constructor(_0x4b7bac){const _0x421e12=_0x56d1;super();const _0xbd6ae3=new _0x3edc8b(),_0x31b56e=new _0x1e0b22(this[_0x421e12(0x146)],_0xbd6ae3);this[_0x421e12(0x148)][_0x421e12(0x143)](_0x31b56e),_0x31b56e[_0x421e12(0x13e)]({'label':_0x4b7bac[_0x421e12(0x141)],'withText':!0x0}),_0x31b56e['on'](_0x421e12(0x13d),()=>{const _0x4994b7=_0x421e12;this[_0x4994b7(0x13c)](_0x4994b7(0x13d),{'value':_0x1c4206(_0x4b7bac[_0x4994b7(0x141)])});});}}function _0x9dbc(){const _0x4a9189=['add','38ZSXTWk','20872fIVCit','locale','13201342WUnCbf','children','9679LGzfGn','1039760zJQeWI','4432414nSQSuP','6YsCinx','442115GAHXkh','fire','execute','set','10BZFkdV','1510725VyjdEe','prompt','18YeRSUU'];_0x9dbc=function(){return _0x4a9189;};return _0x9dbc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3548(){const _0x38224d=['historyGroupView','add','Prompt\x20history','execute','18Mynesx','1043560vTupro','1850317ZkahwN','72iVVNMz','length','871vjTBlv','delegate','465HsuvIQ','Clear','clearHistory','filter','1068045YqFikV','_createClearHistoryButton','13734DyTekN','items','17988nsGcTF','8ZOXwwB','9JfrWAX','fire','5LqAxZg','children','label','clearHistoryButton','509646ZKGhNr','set','locale','104462bglOqK'];_0x3548=function(){return _0x38224d;};return _0x3548();}const _0x222863=_0x3671;(function(_0x4f300,_0xd5d4cf){const _0x2d7408=_0x3671,_0xe790ca=_0x4f300();while(!![]){try{const _0x394818=parseInt(_0x2d7408(0x1f6))/0x1*(-parseInt(_0x2d7408(0x1e0))/0x2)+parseInt(_0x2d7408(0x1ec))/0x3*(parseInt(_0x2d7408(0x1f4))/0x4)+parseInt(_0x2d7408(0x1f8))/0x5*(parseInt(_0x2d7408(0x1dd))/0x6)+-parseInt(_0x2d7408(0x1e7))/0x7*(parseInt(_0x2d7408(0x1f5))/0x8)+-parseInt(_0x2d7408(0x1e5))/0x9*(parseInt(_0x2d7408(0x1e6))/0xa)+-parseInt(_0x2d7408(0x1f0))/0xb*(-parseInt(_0x2d7408(0x1e8))/0xc)+-parseInt(_0x2d7408(0x1ea))/0xd*(parseInt(_0x2d7408(0x1f2))/0xe);if(_0x394818===_0xd5d4cf)break;else _0xe790ca['push'](_0xe790ca['shift']());}catch(_0x4e9e12){_0xe790ca['push'](_0xe790ca['shift']());}}}(_0x3548,0x56d71));import{ListView as _0x476fe2,ListItemGroupView as _0x39896c,ButtonView as _0x2b1a46}from'ckeditor5/src/ui.js';import{getTranslation as _0x3e6ab7}from'../../utils/common-translations.js';function _0x3671(_0x155518,_0x2f6515){const _0x3548a2=_0x3548();return _0x3671=function(_0x3671cb,_0x58bc0){_0x3671cb=_0x3671cb-0x1dc;let _0xe0ac62=_0x3548a2[_0x3671cb];return _0xe0ac62;},_0x3671(_0x155518,_0x2f6515);}export default class rs extends _0x476fe2{constructor(_0x5ef794){const _0x17e93f=_0x3671;super(_0x5ef794),this[_0x17e93f(0x1dc)]=this[_0x17e93f(0x1f1)](),this[_0x17e93f(0x1e1)]=new _0x39896c(),this[_0x17e93f(0x1e1)][_0x17e93f(0x1f9)][_0x17e93f(0x1e2)](this[_0x17e93f(0x1dc)],0x1),this[_0x17e93f(0x1e1)][_0x17e93f(0x1fa)]=_0x3e6ab7(_0x5ef794,_0x17e93f(0x1e3)),this[_0x17e93f(0x1e1)][_0x17e93f(0x1f3)][_0x17e93f(0x1eb)](_0x17e93f(0x1e4))['to'](this),this[_0x17e93f(0x1f3)][_0x17e93f(0x1e2)](this[_0x17e93f(0x1e1)]);}[_0x222863(0x1ef)](){const _0x3da611=_0x222863;let _0x22271c=0x0;for(const _0x2b0801 of this[_0x3da611(0x1f3)])_0x22271c+=_0x2b0801[_0x3da611(0x1f3)][_0x3da611(0x1e9)];return{'resultsCount':_0x22271c,'totalItemsCount':_0x22271c};}[_0x222863(0x1f1)](){const _0x2aee6c=_0x222863,_0x131898=this[_0x2aee6c(0x1df)],_0x46a5a5=new _0x2b1a46(this[_0x2aee6c(0x1df)]);return _0x46a5a5[_0x2aee6c(0x1de)]({'label':'('+_0x3e6ab7(_0x131898,_0x2aee6c(0x1ed))+')','withText':!0x0}),_0x46a5a5['on'](_0x2aee6c(0x1e4),()=>this[_0x2aee6c(0x1f7)](_0x2aee6c(0x1ee))),_0x46a5a5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24e584=_0x1bc0;function _0x1bc0(_0x5760df,_0x321e0e){const _0x45ed33=_0x45ed();return _0x1bc0=function(_0x1bc008,_0x28054e){_0x1bc008=_0x1bc008-0x74;let _0x44c9b4=_0x45ed33[_0x1bc008];return _0x44c9b4;},_0x1bc0(_0x5760df,_0x321e0e);}(function(_0x3ebd20,_0x32f4a9){const _0x548829=_0x1bc0,_0x536d74=_0x3ebd20();while(!![]){try{const _0x430827=-parseInt(_0x548829(0x8e))/0x1*(parseInt(_0x548829(0x7c))/0x2)+parseInt(_0x548829(0x88))/0x3+parseInt(_0x548829(0x74))/0x4*(-parseInt(_0x548829(0x85))/0x5)+parseInt(_0x548829(0x77))/0x6+parseInt(_0x548829(0x75))/0x7*(parseInt(_0x548829(0x84))/0x8)+parseInt(_0x548829(0x8a))/0x9*(-parseInt(_0x548829(0x8c))/0xa)+parseInt(_0x548829(0x86))/0xb*(parseInt(_0x548829(0x7e))/0xc);if(_0x430827===_0x32f4a9)break;else _0x536d74['push'](_0x536d74['shift']());}catch(_0x2ea41b){_0x536d74['push'](_0x536d74['shift']());}}}(_0x45ed,0x85453));import{Collection as _0x405431}from'ckeditor5/src/utils.js';const cs=_0x24e584(0x89);export default class os extends _0x405431{constructor(){const _0x21f3e5=_0x24e584;super(),this[_0x21f3e5(0x7a)](),this['on'](_0x21f3e5(0x81),(_0x29c3b1,_0x561668)=>{const _0x3e3ce4=_0x21f3e5,_0x159daa=Ss(_0x561668[_0x3e3ce4(0x8b)]);for(const _0x4ea966 of this)if(_0x4ea966!=_0x561668&&Ss(_0x4ea966[_0x3e3ce4(0x8b)])===_0x159daa){this[_0x3e3ce4(0x87)](_0x4ea966);break;}this[_0x3e3ce4(0x7d)]>0x14&&this[_0x3e3ce4(0x87)](this[_0x3e3ce4(0x76)]),this[_0x3e3ce4(0x80)]();}),this['on'](_0x21f3e5(0x87),()=>{const _0x30716c=_0x21f3e5;this[_0x30716c(0x80)]();});}[_0x24e584(0x7a)](){const _0x4fbb87=_0x24e584,_0x10ff2c=sessionStorage[_0x4fbb87(0x82)](cs)||'[]';this[_0x4fbb87(0x79)](JSON[_0x4fbb87(0x83)](_0x10ff2c));}[_0x24e584(0x80)](){const _0x337bcd=_0x24e584;sessionStorage[_0x337bcd(0x7b)](cs,JSON[_0x337bcd(0x7f)](this[_0x337bcd(0x8d)](_0x3e9d8c=>_0x3e9d8c)));}}function Ss(_0x4c87d6){const _0x2c94fa=_0x24e584;return _0x4c87d6[_0x2c94fa(0x78)]()[_0x2c94fa(0x8f)]();}function _0x45ed(){const _0x19073a=['toLowerCase','addMany','_loadFromSessionStorage','setItem','122fIRdde','length','732HjjFRu','stringify','_saveToSessionStorage','add','getItem','parse','2936qbbYzi','445MvmWXw','35002OBDVkC','remove','2621025qGGfjt','CKEditor/AIFormView/PromptHistory','963yctABo','prompt','28070ZordTR','map','11471xHDBxg','trim','20180rYxyXT','16751mzfyIr','last','293712NpjLIH'];_0x45ed=function(){return _0x19073a;};return _0x45ed();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb8b35e=_0x87e0;(function(_0x2a9c88,_0x2954e3){const _0x1b03d0=_0x87e0,_0x443627=_0x2a9c88();while(!![]){try{const _0x20c633=-parseInt(_0x1b03d0(0x94))/0x1+parseInt(_0x1b03d0(0x98))/0x2*(-parseInt(_0x1b03d0(0xb1))/0x3)+parseInt(_0x1b03d0(0xab))/0x4+parseInt(_0x1b03d0(0xa8))/0x5*(parseInt(_0x1b03d0(0x9b))/0x6)+-parseInt(_0x1b03d0(0xa2))/0x7+parseInt(_0x1b03d0(0xb8))/0x8+parseInt(_0x1b03d0(0x97))/0x9*(parseInt(_0x1b03d0(0xb5))/0xa);if(_0x20c633===_0x2954e3)break;else _0x443627['push'](_0x443627['shift']());}catch(_0x2350c1){_0x443627['push'](_0x443627['shift']());}}}(_0x4ce2,0xa45ae));import{Command as _0x1dd847}from'ckeditor5/src/core.js';function _0x87e0(_0x59a910,_0x18efb5){const _0x4ce2cc=_0x4ce2();return _0x87e0=function(_0x87e094,_0x5a96f7){_0x87e094=_0x87e094-0x92;let _0xc0b394=_0x4ce2cc[_0x87e094];return _0xc0b394;},_0x87e0(_0x59a910,_0x18efb5);}import _0x525085 from'../aiassistantui.js';function _0x4ce2(){const _0x3e3975=['441564mOHMzp','isEnabled','set','add','editor','config','custom','202769embyBJ','getFirstRange','ai.aiAssistant.disabledElements','length','document','getItems','10TmWtrD','change:_hasContext','model','3075752xvBuUV','requiresContent','from','values','selection','getRanges','8556jnKINv','isCollapsed','refresh','isEmpty','10txSuwP','enabledCommandsIds','execute','6903344vDhXSI','change:isEnabled','showUI','_commandDefinitions','_hasContext','plugins','includes','element','984158dMaMuv','hasContent','name','1141947nnjstp','154zebUIb','getSelectedBlocks','get'];_0x4ce2=function(){return _0x3e3975;};return _0x4ce2();}export default class y extends _0x1dd847{constructor(_0x1865d9,_0x53ae33){const _0x34af27=_0x87e0;super(_0x1865d9),this[_0x34af27(0xbb)]=_0x53ae33,this[_0x34af27(0x9d)](_0x34af27(0xb6),[]),this['on'](_0x34af27(0xa9),(_0x555625,_0x1e518b,_0x4a1866)=>{const _0x5ea32a=_0x34af27;this[_0x5ea32a(0x9c)]&&(this[_0x5ea32a(0xb6)]=G(this[_0x5ea32a(0xbb)],_0x4a1866));}),this[_0x34af27(0x9d)](_0x34af27(0xbc),!0x1),this['on'](_0x34af27(0xb9),(_0x1599a6,_0x134f1f,_0x2eaa3a)=>{const _0xa05cfb=_0x34af27;this[_0xa05cfb(0xb6)]=_0x2eaa3a?G(this[_0xa05cfb(0xbb)],this[_0xa05cfb(0xbc)]):[];});}[_0xb8b35e(0xb3)](){const _0xacaaac=_0xb8b35e,_0x2cf221=this[_0xacaaac(0x9f)][_0xacaaac(0xaa)];this[_0xacaaac(0xbc)]=function(_0x3e84e2){const _0x6dd97b=_0xacaaac,_0x104fc0=_0x3e84e2[_0x6dd97b(0xa6)][_0x6dd97b(0xaf)];return _0x104fc0[_0x6dd97b(0xb2)]?0x0!==[..._0x104fc0[_0x6dd97b(0x99)]()][_0x6dd97b(0xa5)]&&![..._0x104fc0[_0x6dd97b(0x99)]()][0x0][_0x6dd97b(0xb4)]:!!_0x3e84e2[_0x6dd97b(0x95)](_0x104fc0[_0x6dd97b(0xa3)]());}(_0x2cf221);const _0x14e743=_0x2cf221[_0xacaaac(0xa6)][_0xacaaac(0xaf)],_0x19969f=this[_0xacaaac(0x9f)][_0xacaaac(0xa0)][_0xacaaac(0x9a)](_0xacaaac(0xa4));for(const _0x3efac0 of _0x14e743[_0xacaaac(0xb0)]())for(const _0x178cc9 of _0x3efac0[_0xacaaac(0xa7)]())if(_0x178cc9['is'](_0xacaaac(0x93))&&_0x19969f[_0xacaaac(0x92)](_0x178cc9[_0xacaaac(0x96)]))return void(this[_0xacaaac(0x9c)]=!0x1);this[_0xacaaac(0x9c)]=!0x0;}[_0xb8b35e(0xb7)](_0x3473ac='',_0x4a5a76='',_0x417476=_0xb8b35e(0xa1)){const _0x4013f0=_0xb8b35e;this[_0x4013f0(0x9f)][_0x4013f0(0xbd)][_0x4013f0(0x9a)](_0x525085)[_0x4013f0(0xba)](_0x3473ac,_0x4a5a76,_0x417476);}}function G(_0x29a0ec,_0x62b528){const _0x1cc319=_0xb8b35e,_0x1871d2=new Set();for(const _0x12d9ad of _0x29a0ec[_0x1cc319(0xae)]())(_0x62b528||!0x1===_0x12d9ad[_0x1cc319(0xac)])&&_0x1871d2[_0x1cc319(0x9e)](_0x12d9ad['id']);return Array[_0x1cc319(0xad)](_0x1871d2);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x24b764,_0x3fbb5a,_0x46d9a7){const t=_0x24b764['t'];switch(_0x3fbb5a){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x46d9a7);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x46d9a7);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x46d9a7);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3fbb5a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(
|
|
23
|
+
export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x477ba2,_0x517f3e){const _0x283b9c=(0x0,_0x517f3e['t'])('Other');return _0x477ba2['length']?'groupId'in _0x477ba2[0x0]?_0x477ba2:[{'groupId':'_ungrouppedCommands','groupLabel':_0x283b9c,'order':0x1/0x0,'commands':_0x477ba2}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x283b9c,'order':0x1/0x0,'commands':[]}];}
|