@ckeditor/ckeditor5-ai 44.1.0-alpha.2 → 44.1.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x124c27=_0x4a5a;function _0x4a5a(_0x5c930a,_0x110071){const _0x4012eb=_0x4012();return _0x4a5a=function(_0x4a5a45,_0x4f8ac7){_0x4a5a45=_0x4a5a45-0x8e;let _0x2d4af6=_0x4012eb[_0x4a5a45];return _0x2d4af6;},_0x4a5a(_0x5c930a,_0x110071);}(function(_0x3f1e5a,_0x5bc02f){const _0x1f569f=_0x4a5a,_0xcf9c4d=_0x3f1e5a();while(!![]){try{const _0x20e7a0=parseInt(_0x1f569f(0x8e))/0x1*(-parseInt(_0x1f569f(0x9d))/0x2)+-parseInt(_0x1f569f(0x99))/0x3+parseInt(_0x1f569f(0x93))/0x4*(parseInt(_0x1f569f(0xb2))/0x5)+-parseInt(_0x1f569f(0xa8))/0x6*(parseInt(_0x1f569f(0xac))/0x7)+-parseInt(_0x1f569f(0x8f))/0x8*(parseInt(_0x1f569f(0xa6))/0x9)+parseInt(_0x1f569f(0xa7))/0xa*(-parseInt(_0x1f569f(0xb1))/0xb)+parseInt(_0x1f569f(0xa5))/0xc;if(_0x20e7a0===_0x5bc02f)break;else _0xcf9c4d['push'](_0xcf9c4d['shift']());}catch(_0x167106){_0xcf9c4d['push'](_0xcf9c4d['shift']());}}}(_0x4012,0x4dd83));import{ToolbarView as _0x599b54,ButtonView as _0x553f2e}from'ckeditor5/src/ui.js';import{getTranslation as _0x4e286c}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x124c27(0xab),'INSERT':_0x124c27(0xad)};function _0x4012(){const _0x47e224=['104KfQyxS','REPLACE','_createButton','AI_','604iXRWui','_CONTENT','set','mainAction','Stop','replaceButton','1101879qSSkDU','Try\x20again','stopButton','isVisible','58244aXZILe','ck-button-action','label','items','insertButton','ck-ai-form__toolbar','bindTemplate','toUpperCase','25474044MSQxZL','427374IQwUef','1767910DjEXeu','78TBAbmd','extendTemplate','locale','replace','338863NPHOgG','insert','ck-hidden','tryAgainButton','addMany','11huQfSa','525nlsVVR','Insert\x20below','bind','1xnLjRv'];_0x4012=function(){return _0x47e224;};return _0x4012();}export default class nt extends _0x599b54{constructor(_0x25b6b3){const _0x355145=_0x124c27;super(_0x25b6b3),this[_0x355145(0x95)](_0x355145(0x9c),!0x1),this[_0x355145(0x95)](_0x355145(0x96),AIFormToolbarViewMainActionLabel[_0x355145(0x90)]),this[_0x355145(0x98)]=this[_0x355145(0x91)]('',_0x355145(0x9e)),this[_0x355145(0x98)][_0x355145(0xb4)](_0x355145(0x9f))['to'](this,_0x355145(0x96),_0x1103df=>_0x4e286c(_0x25b6b3,_0x355145(0x92)+_0x1103df[_0x355145(0xa4)]()+_0x355145(0x94))),this[_0x355145(0xa1)]=this[_0x355145(0x91)](_0x4e286c(_0x25b6b3,_0x355145(0xb3))),this[_0x355145(0xaf)]=this[_0x355145(0x91)](_0x4e286c(_0x25b6b3,_0x355145(0x9a))),this[_0x355145(0x9b)]=this[_0x355145(0x91)](_0x4e286c(_0x25b6b3,_0x355145(0x97)));const _0x3bbf5c=this[_0x355145(0xa3)];this[_0x355145(0xa9)]({'attributes':{'class':[_0x355145(0xa2),_0x3bbf5c['if'](_0x355145(0x9c),_0x355145(0xae),_0xad3873=>!_0xad3873)]}}),this[_0x355145(0xa0)][_0x355145(0xb0)]([this[_0x355145(0x98)],this[_0x355145(0xa1)],this[_0x355145(0xaf)],this[_0x355145(0x9b)]]);}[_0x124c27(0x91)](_0x52f1b6,_0x20e468){const _0x1d9999=_0x124c27,_0x4379d9=new _0x553f2e(this[_0x1d9999(0xaa)]);return _0x4379d9[_0x1d9999(0x95)]({'label':_0x52f1b6,'class':_0x20e468||'','isVisible':!0x0,'withText':!0x0}),_0x4379d9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e30b3=_0x5398;(function(_0x597674,_0x23aa9e){const _0x1dad55=_0x5398,_0x7c8196=_0x597674();while(!![]){try{const _0x33cf85=-parseInt(_0x1dad55(0x172))/0x1+-parseInt(_0x1dad55(0x184))/0x2+parseInt(_0x1dad55(0x147))/0x3+-parseInt(_0x1dad55(0x191))/0x4+-parseInt(_0x1dad55(0x188))/0x5+parseInt(_0x1dad55(0x168))/0x6+parseInt(_0x1dad55(0x173))/0x7*(parseInt(_0x1dad55(0x169))/0x8);if(_0x33cf85===_0x23aa9e)break;else _0x7c8196['push'](_0x7c8196['shift']());}catch(_0x1193c1){_0x7c8196['push'](_0x7c8196['shift']());}}}(_0x14cd,0x71580));import{FocusTracker as _0x5addcc,KeystrokeHandler as _0x263865}from'ckeditor5/src/utils.js';import{View as _0x1fadac,FocusCycler as _0x4bbe7e,createLabeledTextarea as _0x3106db}from'ckeditor5/src/ui.js';import _0x27e062,{AIFormToolbarViewMainActionLabel as _0x533a9a}from'./aiformtoolbarview.js';import _0x26f9ab from'./aiformcontentarea.js';function _0x14cd(){const _0x3d70d4=['focusTracker','insertButton','historyGroupView','execute','copyButtonView','clearHistory','render','focusCycler','focusFirst','element','stopButton','focusLast','contentArea','insertContentBelow','trim','isEnabled','errorView','label','2176428iyUVbf','8TLhyKQ','high','tryAgainEvent','_focusables','items','value','keystrokes','_createPromptView','delegate','565365yuAVof','10887562CzbGla','stopProcessing','listenTo','startProcessing','Ask\x20AI\x20to\x20improve\x20generated\x20text','queryView','submit','tryAgainButton','createCollection','Empty\x20history','_createHistoryView','isVisible','add','bindTo','div','fire','set','587546iaLLtU','submitPrompt','ck-ai-form-content','text','3613515dgQFgI','toolbar','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','clear','isError','focus','replaceContent','chain','ck-ai-form','3183964PxTFfd','bind','tab','reset','isProcessing','REPLACE','prompt','ck-hidden','shift\x20+\x20tab','2771952DCBNWn','setTemplate','locale','fieldView','finishProcessing','replaceButton','promptView','_promptHistory','mainAction','_createToolbar','bindTemplate','handleError','AI_ERROR_FAILED','Ask\x20AI\x20to\x20edit\x20or\x20generate','search'];_0x14cd=function(){return _0x3d70d4;};return _0x14cd();}import _0x450bed from'./aiformerrorview.js';import _0x2b0a66 from'./aiformpromptview.js';import _0x467c2a from'./aihistorylistview.js';import _0x484547 from'./aihistorylistitemview.js';import _0x341d91 from'./prompthistory.js';import{getTranslation as _0x13b9cd}from'../../utils/common-translations.js';import{escape as _0xa6be2a}from'lodash-es';function _0x5398(_0x42a6bc,_0x581c9a){const _0x14cd34=_0x14cd();return _0x5398=function(_0x5398a3,_0x382b00){_0x5398a3=_0x5398a3-0x146;let _0x155244=_0x14cd34[_0x5398a3];return _0x155244;},_0x5398(_0x42a6bc,_0x581c9a);}export default class K extends _0x1fadac{constructor(_0x27cbb9,_0x3d0d31,_0x4f8469=''){const _0x5a43c7=_0x5398;super(_0x27cbb9),this[_0x5a43c7(0x183)](_0x5a43c7(0x165),!0x0),this[_0x5a43c7(0x183)](_0x5a43c7(0x195),!0x1),this[_0x5a43c7(0x183)](_0x5a43c7(0x197),''),this[_0x5a43c7(0x183)](_0x5a43c7(0x16e),''),this[_0x5a43c7(0x183)](_0x5a43c7(0x18c),!0x1),this[_0x5a43c7(0x183)](_0x5a43c7(0x14f),_0x533a9a[_0x5a43c7(0x196)]),this[_0x5a43c7(0x14e)]=new _0x341d91(),this[_0x5a43c7(0x166)]=new _0x450bed(_0x27cbb9),this[_0x5a43c7(0x162)]=new _0x26f9ab(_0x27cbb9,_0x4f8469),this[_0x5a43c7(0x162)][_0x5a43c7(0x192)](_0x5a43c7(0x195))['to'](this),this[_0x5a43c7(0x162)][_0x5a43c7(0x192)](_0x5a43c7(0x16e))['to'](this),this[_0x5a43c7(0x189)]=this[_0x5a43c7(0x150)](),this[_0x5a43c7(0x189)][_0x5a43c7(0x192)](_0x5a43c7(0x14f))['to'](this),this[_0x5a43c7(0x14d)]=this[_0x5a43c7(0x170)](),this[_0x5a43c7(0x156)]=new _0x5addcc(),this[_0x5a43c7(0x16f)]=new _0x263865(),this[_0x5a43c7(0x16c)]=this[_0x5a43c7(0x17b)]([this[_0x5a43c7(0x162)],this[_0x5a43c7(0x162)][_0x5a43c7(0x15a)],this[_0x5a43c7(0x189)],this[_0x5a43c7(0x14d)]]),this[_0x5a43c7(0x15d)]=new _0x4bbe7e({'focusables':this[_0x5a43c7(0x16c)],'focusTracker':this[_0x5a43c7(0x156)],'keystrokeHandler':this[_0x5a43c7(0x16f)],'actions':{'focusPrevious':_0x5a43c7(0x146),'focusNext':_0x5a43c7(0x193)}}),this[_0x5a43c7(0x15d)][_0x5a43c7(0x18f)](this[_0x5a43c7(0x14d)][_0x5a43c7(0x15d)]),this[_0x5a43c7(0x14d)][_0x5a43c7(0x178)][_0x5a43c7(0x14a)][_0x5a43c7(0x192)](_0x5a43c7(0x16e))['to'](this,_0x5a43c7(0x197));const _0x3a2d93=this[_0x5a43c7(0x151)];this[_0x5a43c7(0x148)]({'tag':_0x5a43c7(0x181),'attributes':{'class':['ck',_0x5a43c7(0x190),_0x3d0d31],'tabindex':'-1'},'children':[{'tag':_0x5a43c7(0x181),'attributes':{'class':['ck',_0x5a43c7(0x186)]},'children':[{'tag':_0x5a43c7(0x181),'attributes':{'class':[_0x3a2d93['if'](_0x5a43c7(0x18c),_0x5a43c7(0x198),_0xc67e82=>!_0xc67e82)]},'children':[this[_0x5a43c7(0x166)]]},this[_0x5a43c7(0x162)],this[_0x5a43c7(0x189)],this[_0x5a43c7(0x14d)]]}]});}[_0x1e30b3(0x15c)](){const _0x27b291=_0x1e30b3;super[_0x27b291(0x15c)](),this[_0x27b291(0x156)][_0x27b291(0x17f)](this[_0x27b291(0x162)][_0x27b291(0x15f)]),this[_0x27b291(0x156)][_0x27b291(0x17f)](this[_0x27b291(0x162)][_0x27b291(0x15a)][_0x27b291(0x15f)]),this[_0x27b291(0x156)][_0x27b291(0x17f)](this[_0x27b291(0x189)][_0x27b291(0x15f)]),this[_0x27b291(0x156)][_0x27b291(0x17f)](this[_0x27b291(0x14d)][_0x27b291(0x15f)]),this[_0x27b291(0x16f)][_0x27b291(0x175)](this[_0x27b291(0x15f)]);}[_0x1e30b3(0x18d)](_0x1e77af=0x1){const _0x24cfae=_0x1e30b3;-0x1===_0x1e77af?this[_0x24cfae(0x15d)][_0x24cfae(0x161)]():this[_0x24cfae(0x15d)][_0x24cfae(0x15e)]();}[_0x1e30b3(0x194)](){const _0x2e59f8=_0x1e30b3;this[_0x2e59f8(0x197)]='',this[_0x2e59f8(0x16e)]='',this[_0x2e59f8(0x18c)]=!0x1,this[_0x2e59f8(0x14d)][_0x2e59f8(0x194)](),this[_0x2e59f8(0x162)][_0x2e59f8(0x17e)]=!0x1,this[_0x2e59f8(0x189)][_0x2e59f8(0x17e)]=!0x1;}[_0x1e30b3(0x170)](){const _0x2ffc39=_0x1e30b3,_0x104bae=this[_0x2ffc39(0x149)],_0x456dfc=new _0x2b0a66(_0x104bae,{'queryView':{'label':_0x13b9cd(_0x104bae,_0x2ffc39(0x154)),'creator':_0x3106db,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x13b9cd(_0x104bae,_0x2ffc39(0x17c)),'secondary':_0x13b9cd(_0x104bae,_0x2ffc39(0x18a))}}},'filteredView':this[_0x2ffc39(0x17d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x456dfc[_0x2ffc39(0x192)](_0x2ffc39(0x165))['to'](this,_0x2ffc39(0x165),this,_0x2ffc39(0x195),(_0x16d44c,_0x2c5359)=>_0x16d44c&&!_0x2c5359),this[_0x2ffc39(0x175)](_0x456dfc,_0x2ffc39(0x179),(_0x29722c,_0x1d5878)=>{const _0x3a9f5e=_0x2ffc39;this[_0x3a9f5e(0x197)]=_0x1d5878;const _0x24b302=_0xa6be2a(_0x1d5878);this[_0x3a9f5e(0x182)](_0x3a9f5e(0x185),_0x24b302),_0x1d5878[_0x3a9f5e(0x164)]()&&this[_0x3a9f5e(0x14e)][_0x3a9f5e(0x17f)]({'prompt':_0x24b302},0x0);},{'priority':_0x2ffc39(0x16a)}),_0x456dfc;}[_0x1e30b3(0x17d)](){const _0x428b19=_0x1e30b3,_0x23d3f8=new _0x467c2a(this[_0x428b19(0x149)]);return _0x23d3f8[_0x428b19(0x158)][_0x428b19(0x16d)][_0x428b19(0x180)](this[_0x428b19(0x14e)])['as'](_0x484547),_0x23d3f8['on'](_0x428b19(0x15b),()=>{const _0x44702a=_0x428b19;this[_0x44702a(0x14e)][_0x44702a(0x18b)](),this[_0x44702a(0x14d)][_0x44702a(0x155)](''),this[_0x44702a(0x14d)][_0x44702a(0x18d)]();}),_0x23d3f8;}[_0x1e30b3(0x150)](){const _0x419c15=_0x1e30b3,_0x350473=new _0x27e062(this[_0x419c15(0x149)]);return _0x350473[_0x419c15(0x14c)][_0x419c15(0x192)](_0x419c15(0x165))['to'](this,_0x419c15(0x165),this,_0x419c15(0x195),this,_0x419c15(0x16e),(_0x59d8d9,_0x19170a,_0x2f92ad)=>_0x59d8d9&&!_0x19170a&&!!_0x2f92ad),_0x350473[_0x419c15(0x14c)][_0x419c15(0x171)](_0x419c15(0x159))['to'](this,_0x419c15(0x18e)),_0x350473[_0x419c15(0x157)][_0x419c15(0x192)](_0x419c15(0x165))['to'](this,_0x419c15(0x165),this,_0x419c15(0x195),this,_0x419c15(0x16e),(_0x540bbe,_0x1d75e9,_0x2ec884)=>_0x540bbe&&!_0x1d75e9&&!!_0x2ec884),_0x350473[_0x419c15(0x157)][_0x419c15(0x171)](_0x419c15(0x159))['to'](this,_0x419c15(0x163)),_0x350473[_0x419c15(0x17a)][_0x419c15(0x192)](_0x419c15(0x165))['to'](this,_0x419c15(0x165),this,_0x419c15(0x195),(_0x50a28a,_0x1aabeb)=>_0x50a28a&&!_0x1aabeb),_0x350473[_0x419c15(0x17a)][_0x419c15(0x171)](_0x419c15(0x159))['to'](this,_0x419c15(0x16b)),_0x350473[_0x419c15(0x160)][_0x419c15(0x192)](_0x419c15(0x165))['to'](this,_0x419c15(0x195)),_0x350473[_0x419c15(0x160)][_0x419c15(0x171)](_0x419c15(0x159))['to'](this,_0x419c15(0x174)),_0x350473;}[_0x1e30b3(0x176)](){const _0x35e090=_0x1e30b3;this[_0x35e090(0x16e)]='',this[_0x35e090(0x18c)]=!0x1,this[_0x35e090(0x195)]=!0x0,this[_0x35e090(0x162)][_0x35e090(0x17e)]=!0x0,this[_0x35e090(0x189)][_0x35e090(0x17e)]=!0x0,this[_0x35e090(0x162)][_0x35e090(0x18d)]();}[_0x1e30b3(0x14b)](){const _0x5457ba=_0x1e30b3,_0x198331=this[_0x5457ba(0x149)];this[_0x5457ba(0x195)]=!0x1,this[_0x5457ba(0x197)]='',this[_0x5457ba(0x14d)][_0x5457ba(0x194)](),this[_0x5457ba(0x16e)]&&(this[_0x5457ba(0x14d)][_0x5457ba(0x178)][_0x5457ba(0x167)]=_0x13b9cd(_0x198331,_0x5457ba(0x177)));}[_0x1e30b3(0x152)](_0x4df192){const _0x5dc973=_0x1e30b3,_0x42c843=this[_0x5dc973(0x149)];this[_0x5dc973(0x14b)](),this[_0x5dc973(0x18c)]=!0x0,this[_0x5dc973(0x166)][_0x5dc973(0x187)]=_0x4df192||_0x13b9cd(_0x42c843,_0x5dc973(0x153)),this[_0x5dc973(0x16e)]||(this[_0x5dc973(0x162)][_0x5dc973(0x17e)]=!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5e35bd,_0x55af66){const _0x2be554=_0x4279,_0x18ebdc=_0x5e35bd();while(!![]){try{const _0x4bac8c=-parseInt(_0x2be554(0x152))/0x1*(parseInt(_0x2be554(0x149))/0x2)+parseInt(_0x2be554(0x14c))/0x3+-parseInt(_0x2be554(0x155))/0x4*(parseInt(_0x2be554(0x151))/0x5)+parseInt(_0x2be554(0x14f))/0x6*(-parseInt(_0x2be554(0x154))/0x7)+parseInt(_0x2be554(0x14e))/0x8+parseInt(_0x2be554(0x153))/0x9*(parseInt(_0x2be554(0x148))/0xa)+parseInt(_0x2be554(0x146))/0xb*(parseInt(_0x2be554(0x143))/0xc);if(_0x4bac8c===_0x55af66)break;else _0x18ebdc['push'](_0x18ebdc['shift']());}catch(_0x3c46f1){_0x18ebdc['push'](_0x18ebdc['shift']());}}}(_0x5971,0xa86a9));function _0x5971(){const _0x2c6221=['495IJkJWs','1FPAJZl','63lgShoX','338919Syrdke','14460CQzecD','5092896Azudje','execute','add','44saHNSt','fire','132930YHUFuK','2602442VFbTFh','locale','prompt','3853071yHDAEb','set','5036600yhPKpz','168BSYmcq','children'];_0x5971=function(){return _0x2c6221;};return _0x5971();}import{ListItemView as _0x396ffe,ButtonView as _0x19f2e0,ButtonLabelView as _0x381e78}from'ckeditor5/src/ui.js';function _0x4279(_0x125b50,_0x20f1fd){const _0x59714c=_0x5971();return _0x4279=function(_0x427958,_0x35e776){_0x427958=_0x427958-0x143;let _0x132705=_0x59714c[_0x427958];return _0x132705;},_0x4279(_0x125b50,_0x20f1fd);}import{unescape as _0xc0dcd8}from'lodash-es';export default class hs extends _0x396ffe{constructor(_0x2e4824){const _0x7dd2c4=_0x4279;super();const _0x518c58=new _0x381e78(),_0x1b4b22=new _0x19f2e0(this[_0x7dd2c4(0x14a)],_0x518c58);this[_0x7dd2c4(0x150)][_0x7dd2c4(0x145)](_0x1b4b22),_0x1b4b22[_0x7dd2c4(0x14d)]({'label':_0x2e4824[_0x7dd2c4(0x14b)],'withText':!0x0}),_0x1b4b22['on'](_0x7dd2c4(0x144),()=>{const _0x1cb05f=_0x7dd2c4;this[_0x1cb05f(0x147)](_0x1cb05f(0x144),{'value':_0xc0dcd8(_0x2e4824[_0x1cb05f(0x14b)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd17c77=_0x4b4e;function _0x56b8(){const _0x4416a6=['1jIGAKV','1397600qYnZsg','clearHistory','length','430650NsFPfa','filter','1217912EPRGsl','items','label','1915659rcJwxu','Prompt\x20history','clearHistoryButton','add','2096ZbvSiD','children','set','locale','execute','_createClearHistoryButton','delegate','4959LgZFvU','1022966BwKrpg','55fDrhFu','397685QIzObq','fire','24VTHeyt','Clear','historyGroupView'];_0x56b8=function(){return _0x4416a6;};return _0x56b8();}(function(_0x21cc32,_0x5ebdc5){const _0x197e69=_0x4b4e,_0x4245ba=_0x21cc32();while(!![]){try{const _0x21e5b9=-parseInt(_0x197e69(0x1bc))/0x1*(parseInt(_0x197e69(0x1c2))/0x2)+parseInt(_0x197e69(0x1c5))/0x3+-parseInt(_0x197e69(0x1b9))/0x4*(parseInt(_0x197e69(0x1b7))/0x5)+parseInt(_0x197e69(0x1c0))/0x6+parseInt(_0x197e69(0x1b5))/0x7+-parseInt(_0x197e69(0x1c9))/0x8*(parseInt(_0x197e69(0x1b4))/0x9)+-parseInt(_0x197e69(0x1bd))/0xa*(-parseInt(_0x197e69(0x1b6))/0xb);if(_0x21e5b9===_0x5ebdc5)break;else _0x4245ba['push'](_0x4245ba['shift']());}catch(_0x1a5dc4){_0x4245ba['push'](_0x4245ba['shift']());}}}(_0x56b8,0x4f476));function _0x4b4e(_0x3df8ac,_0x33f28e){const _0x56b8ac=_0x56b8();return _0x4b4e=function(_0x4b4e08,_0x4050ba){_0x4b4e08=_0x4b4e08-0x1b1;let _0x43ccb9=_0x56b8ac[_0x4b4e08];return _0x43ccb9;},_0x4b4e(_0x3df8ac,_0x33f28e);}import{ListView as _0x57fbb0,ListItemGroupView as _0x5a6c59,ButtonView as _0x22a520}from'ckeditor5/src/ui.js';import{getTranslation as _0x3601e1}from'../../utils/common-translations.js';export default class rs extends _0x57fbb0{constructor(_0x5ebd3a){const _0x1cf0b5=_0x4b4e;super(_0x5ebd3a),this[_0x1cf0b5(0x1c7)]=this[_0x1cf0b5(0x1b2)](),this[_0x1cf0b5(0x1bb)]=new _0x5a6c59(),this[_0x1cf0b5(0x1bb)][_0x1cf0b5(0x1ca)][_0x1cf0b5(0x1c8)](this[_0x1cf0b5(0x1c7)],0x1),this[_0x1cf0b5(0x1bb)][_0x1cf0b5(0x1c4)]=_0x3601e1(_0x5ebd3a,_0x1cf0b5(0x1c6)),this[_0x1cf0b5(0x1bb)][_0x1cf0b5(0x1c3)][_0x1cf0b5(0x1b3)](_0x1cf0b5(0x1b1))['to'](this),this[_0x1cf0b5(0x1c3)][_0x1cf0b5(0x1c8)](this[_0x1cf0b5(0x1bb)]);}[_0xd17c77(0x1c1)](){const _0x35a0eb=_0xd17c77;let _0x4fdd84=0x0;for(const _0x15bfdc of this[_0x35a0eb(0x1c3)])_0x4fdd84+=_0x15bfdc[_0x35a0eb(0x1c3)][_0x35a0eb(0x1bf)];return{'resultsCount':_0x4fdd84,'totalItemsCount':_0x4fdd84};}[_0xd17c77(0x1b2)](){const _0x359bc6=_0xd17c77,_0x23e73a=this[_0x359bc6(0x1cc)],_0x3f3a7b=new _0x22a520(this[_0x359bc6(0x1cc)]);return _0x3f3a7b[_0x359bc6(0x1cb)]({'label':'('+_0x3601e1(_0x23e73a,_0x359bc6(0x1ba))+')','withText':!0x0}),_0x3f3a7b['on'](_0x359bc6(0x1b1),()=>this[_0x359bc6(0x1b8)](_0x359bc6(0x1be))),_0x3f3a7b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4904(){const _0x423cc3=['getItem','trim','139916BCqYWZ','last','9AcYtka','add','3304230zFpYFQ','map','1030200BhpQOX','setItem','47244VjGHjX','_saveToSessionStorage','21glJkqA','remove','CKEditor/AIFormView/PromptHistory','stringify','_loadFromSessionStorage','442025DWCspX','prompt','58608mbDLGK','parse','8nPGCdU','toLowerCase','length','addMany','768198OKmGrO'];_0x4904=function(){return _0x423cc3;};return _0x4904();}const _0x5df326=_0x3a2f;(function(_0x385449,_0x4bfbf0){const _0x27f921=_0x3a2f,_0x32bfe2=_0x385449();while(!![]){try{const _0x4cfd86=parseInt(_0x27f921(0x155))/0x1*(-parseInt(_0x27f921(0x160))/0x2)+-parseInt(_0x27f921(0x164))/0x3+-parseInt(_0x27f921(0x14d))/0x4+parseInt(_0x27f921(0x15c))/0x5+parseInt(_0x27f921(0x153))/0x6+-parseInt(_0x27f921(0x157))/0x7*(-parseInt(_0x27f921(0x15e))/0x8)+-parseInt(_0x27f921(0x14f))/0x9*(-parseInt(_0x27f921(0x151))/0xa);if(_0x4cfd86===_0x4bfbf0)break;else _0x32bfe2['push'](_0x32bfe2['shift']());}catch(_0x4bdedf){_0x32bfe2['push'](_0x32bfe2['shift']());}}}(_0x4904,0x20585));function _0x3a2f(_0x534240,_0x3047cf){const _0x490461=_0x4904();return _0x3a2f=function(_0x3a2f76,_0x554826){_0x3a2f76=_0x3a2f76-0x14b;let _0x191762=_0x490461[_0x3a2f76];return _0x191762;},_0x3a2f(_0x534240,_0x3047cf);}import{Collection as _0x1069d9}from'ckeditor5/src/utils.js';const cs=_0x5df326(0x159);export default class os extends _0x1069d9{constructor(){const _0x58a904=_0x5df326;super(),this[_0x58a904(0x15b)](),this['on'](_0x58a904(0x150),(_0x3be52c,_0x5d2228)=>{const _0x1560d1=_0x58a904,_0x3f3710=Ss(_0x5d2228[_0x1560d1(0x15d)]);for(const _0x525282 of this)if(_0x525282!=_0x5d2228&&Ss(_0x525282[_0x1560d1(0x15d)])===_0x3f3710){this[_0x1560d1(0x158)](_0x525282);break;}this[_0x1560d1(0x162)]>0x14&&this[_0x1560d1(0x158)](this[_0x1560d1(0x14e)]),this[_0x1560d1(0x156)]();}),this['on'](_0x58a904(0x158),()=>{const _0x45794f=_0x58a904;this[_0x45794f(0x156)]();});}[_0x5df326(0x15b)](){const _0x2142f5=_0x5df326,_0x4db268=sessionStorage[_0x2142f5(0x14b)](cs)||'[]';this[_0x2142f5(0x163)](JSON[_0x2142f5(0x15f)](_0x4db268));}[_0x5df326(0x156)](){const _0x1b64f7=_0x5df326;sessionStorage[_0x1b64f7(0x154)](cs,JSON[_0x1b64f7(0x15a)](this[_0x1b64f7(0x152)](_0x208f5c=>_0x208f5c)));}}function Ss(_0x15d188){const _0x24b3fa=_0x5df326;return _0x15d188[_0x24b3fa(0x161)]()[_0x24b3fa(0x14c)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x20e2d1=_0xac36;(function(_0x531a4d,_0xa5cbea){const _0x2940f2=_0xac36,_0x33f07c=_0x531a4d();while(!![]){try{const _0x5da991=-parseInt(_0x2940f2(0xbd))/0x1*(parseInt(_0x2940f2(0xa2))/0x2)+parseInt(_0x2940f2(0xa5))/0x3*(parseInt(_0x2940f2(0xb6))/0x4)+parseInt(_0x2940f2(0x95))/0x5+parseInt(_0x2940f2(0xb0))/0x6*(-parseInt(_0x2940f2(0xa0))/0x7)+parseInt(_0x2940f2(0xbe))/0x8*(parseInt(_0x2940f2(0x94))/0x9)+-parseInt(_0x2940f2(0xa7))/0xa*(parseInt(_0x2940f2(0xa6))/0xb)+parseInt(_0x2940f2(0xab))/0xc;if(_0x5da991===_0xa5cbea)break;else _0x33f07c['push'](_0x33f07c['shift']());}catch(_0x471a98){_0x33f07c['push'](_0x33f07c['shift']());}}}(_0x4942,0xe0e37));import{Command as _0x1d4a5b}from'ckeditor5/src/core.js';function _0xac36(_0x5c517c,_0xdc7ee9){const _0x49429b=_0x4942();return _0xac36=function(_0xac36db,_0x53c2d1){_0xac36db=_0xac36db-0x91;let _0x236460=_0x49429b[_0xac36db];return _0x236460;},_0xac36(_0x5c517c,_0xdc7ee9);}import _0x4a6800 from'../aiassistantui.js';export default class y extends _0x1d4a5b{constructor(_0x37990d,_0x375a15){const _0x770992=_0xac36;super(_0x37990d),this[_0x770992(0x9e)]=_0x375a15,this[_0x770992(0x92)](_0x770992(0xba),[]),this['on'](_0x770992(0xb7),(_0x101b6b,_0x1be30f,_0x33495a)=>{const _0x145bc3=_0x770992;this[_0x145bc3(0xaf)]&&(this[_0x145bc3(0xba)]=G(this[_0x145bc3(0x9e)],_0x33495a));}),this[_0x770992(0x92)](_0x770992(0xb9),!0x1),this['on'](_0x770992(0x9a),(_0x178df4,_0x8f9da1,_0x24abc5)=>{const _0x27a3ef=_0x770992;this[_0x27a3ef(0xba)]=_0x24abc5?G(this[_0x27a3ef(0x9e)],this[_0x27a3ef(0xb9)]):[];});}[_0x20e2d1(0xb1)](){const _0x3b30fd=_0x20e2d1,_0x5b9c5f=this[_0x3b30fd(0xb2)][_0x3b30fd(0x9b)];this[_0x3b30fd(0xb9)]=function(_0x43d625){const _0x1913a7=_0x3b30fd,_0x539f2b=_0x43d625[_0x1913a7(0x91)][_0x1913a7(0xa9)];return _0x539f2b[_0x1913a7(0x9d)]?0x0!==[..._0x539f2b[_0x1913a7(0xb4)]()][_0x1913a7(0xa1)]&&![..._0x539f2b[_0x1913a7(0xb4)]()][0x0][_0x1913a7(0xad)]:!!_0x43d625[_0x1913a7(0xb8)](_0x539f2b[_0x1913a7(0xbc)]());}(_0x5b9c5f);const _0x12b68d=_0x5b9c5f[_0x3b30fd(0x91)][_0x3b30fd(0xa9)],_0x3dbe75=this[_0x3b30fd(0xb2)][_0x3b30fd(0xb3)][_0x3b30fd(0x9c)](_0x3b30fd(0xa4));for(const _0x38b5b0 of _0x12b68d[_0x3b30fd(0xa8)]())for(const _0x1c34c3 of _0x38b5b0[_0x3b30fd(0x99)]())if(_0x1c34c3['is'](_0x3b30fd(0x9f))&&_0x3dbe75[_0x3b30fd(0xae)](_0x1c34c3[_0x3b30fd(0xaa)]))return void(this[_0x3b30fd(0xaf)]=!0x1);this[_0x3b30fd(0xaf)]=!0x0;}[_0x20e2d1(0x98)](_0x1e26b5='',_0x5ae95c='',_0x26b344=_0x20e2d1(0xa3)){const _0x2d1386=_0x20e2d1;this[_0x2d1386(0xb2)][_0x2d1386(0x93)][_0x2d1386(0x9c)](_0x4a6800)[_0x2d1386(0x96)](_0x1e26b5,_0x5ae95c,_0x26b344);}}function G(_0x3d7ee5,_0x59bbe9){const _0x467b7e=_0x20e2d1,_0x1b7f97=new Set();for(const _0x105f89 of _0x3d7ee5[_0x467b7e(0xbb)]())(_0x59bbe9||!0x1===_0x105f89[_0x467b7e(0xb5)])&&_0x1b7f97[_0x467b7e(0x97)](_0x105f89['id']);return Array[_0x467b7e(0xac)](_0x1b7f97);}function _0x4942(){const _0x24edf4=['isEnabled','30JRAzwe','refresh','editor','config','getSelectedBlocks','requiresContent','4mjMhTb','change:_hasContext','hasContent','_hasContext','enabledCommandsIds','values','getFirstRange','88187IHXATL','8EvqATE','document','set','plugins','14721957yiFOAA','1999730GnpAzY','showUI','add','execute','getItems','change:isEnabled','model','get','isCollapsed','_commandDefinitions','element','2010799QUiMxs','length','22YqIgnm','custom','ai.aiAssistant.disabledElements','1553181QDofjq','3949fSpzDO','27610WyYPoN','getRanges','selection','name','21182856qynOKt','from','isEmpty','includes'];_0x4942=function(){return _0x24edf4;};return _0x4942();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2026d0,_0x49c23a,_0x3e7862){const t=_0x2026d0['t'];switch(_0x49c23a){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',_0x3e7862);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3e7862);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'},_0x3e7862);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 _0x49c23a;}}
|
|
@@ -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(_0x2f3404,_0x282b31){const _0x1dcf13=(0x0,_0x282b31['t'])('Other');return _0x2f3404['length']?'groupId'in _0x2f3404[0x0]?_0x2f3404:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1dcf13,'order':0x1/0x0,'commands':_0x2f3404}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1dcf13,'order':0x1/0x0,'commands':[]}];}
|