@ckeditor/ckeditor5-ai 47.0.0-alpha.4 → 47.0.0-alpha.5
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-editor.css +10 -1
- package/dist/index.css +10 -1
- package/dist/index.js +4 -4
- 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 +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/utils/common-translations.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.js +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +10 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x502272}from'ckeditor5/src/utils.js';import{View as Bt,ButtonView as _0x3902cf,FormRowView as _0xf5fcb7,createDropdown as _0x2e6135,addListToDropdown as _0x433bf0,UIModel as _0x1c8a05,ButtonLabelView as _0x25d49e}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x3ec4d8}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends Bt{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x423910,_0x13ef92){super(_0x423910),this['_check']=_0x13ef92,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x13ef92['models']&&_0x13ef92['models']['length']>0x0?_0x13ef92['models'][0x0]['id']:'',this['_defaultLabel']=_0x13ef92['models']&&_0x13ef92['models']['length']>0x0?_0x13ef92['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x3ec4d8(_0x423910),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x502272(),this['_setModelList'](),_0x433bf0(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x37f19e=new Bt(_0x423910);_0x37f19e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0xf5fcb7(this['locale'],{'children':[this['promptInputView']]}),new _0xf5fcb7(this['locale'],{'children':[_0x37f19e]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x1a5615=new _0x3902cf(this['locale']),t=this['locale']['t'];return _0x1a5615['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1a5615['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x40808d=>{_0x40808d['stopPropagation']();})}}),_0x1a5615['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x1a5615;}['_createCancelButtonView'](){const _0x2468af=new _0x3902cf(this['locale']),t=this['locale']['t'];return _0x2468af['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x2468af['on']('execute',()=>{this['resetToDefault']();}),_0x2468af;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x835781=this['_check']['models'];if(this['resetToDefault'](),_0x835781?.['length'])for(const _0x402014 of _0x835781){const _0x3a8686=new _0x1c8a05({'label':_0x402014['name'],'withText':!0x0,'role':'menuitemradio','id':_0x402014['id'],'model':_0x402014});_0x3a8686['bind']('isOn')['to'](this,'modelId',_0x379b9c=>_0x379b9c===_0x402014['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3a8686,'labelView':new Ts(this['locale'],_0x402014)});}}['_createModelSelectionDropdown'](){const _0x1ee09b=_0x2e6135(this['locale']);return _0x1ee09b['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x1ee09b['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1dea94=>{_0x1dea94['stopPropagation']();})}}),_0x1ee09b['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x1ee09b,'execute',_0x59870b=>{this['modelId']=_0x59870b['source']['model']['id'],_0x1ee09b['buttonView']['label']=_0x59870b['source']['label'];}),_0x1ee09b;}}class Ts extends _0x25d49e{constructor(_0x38319c,_0x53a44e){super();const _0x3e3083=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3e3083['to']('style'),'id':_0x3e3083['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3e3083['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x53a44e['description']}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cbb4=_0x56a0;(function(_0x2ff0ee,_0x1942ff){const _0x1a2063=_0x56a0,_0x4a5f5b=_0x2ff0ee();while(!![]){try{const _0x2ab5b5=parseInt(_0x1a2063(0x96))/0x1*(parseInt(_0x1a2063(0x9c))/0x2)+parseInt(_0x1a2063(0x95))/0x3*(parseInt(_0x1a2063(0x9d))/0x4)+parseInt(_0x1a2063(0x9b))/0x5+-parseInt(_0x1a2063(0x90))/0x6+parseInt(_0x1a2063(0x9f))/0x7*(-parseInt(_0x1a2063(0x94))/0x8)+parseInt(_0x1a2063(0x8e))/0x9+-parseInt(_0x1a2063(0x8a))/0xa;if(_0x2ab5b5===_0x1942ff)break;else _0x4a5f5b['push'](_0x4a5f5b['shift']());}catch(_0x12120c){_0x4a5f5b['push'](_0x4a5f5b['shift']());}}}(_0x5a79,0xc93f5));import{ListItemView as _0x41b98e,ViewCollection as _0x70552d}from'ckeditor5/src/ui.js';function _0x5a79(){const _0x11979e=['length','setTemplate','ck-ai-review-mode__check-list','6434568lnzJbY','resetAllParameterizedChecks','3848220JlIRSB','clear','entries','delegate','8luYnCi','3WRsqYq','41obWgxW','resetToDefault','add','hasChecks','_checkViews','3652770AwYnbg','70812IaVfXf','4058140ckVPXz','runReviewCheck','795886kbXSig','locale','setChecks','bindTemplate','div','isVisible','ck-hidden','23323100pvdFXi'];_0x5a79=function(){return _0x11979e;};return _0x5a79();}import{AIReviewModeReviewCommandListItemView as _0x2ae9c2}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';function _0x56a0(_0x20c8ef,_0x1147fa){const _0x5a7957=_0x5a79();return _0x56a0=function(_0x56a013,_0x399814){_0x56a013=_0x56a013-0x89;let _0x5065c6=_0x5a7957[_0x56a013];return _0x5065c6;},_0x56a0(_0x20c8ef,_0x1147fa);}export class AIReviewModeReviewCheckListView extends _0x41b98e{[_0x5cbb4(0x9a)];constructor(_0x915648){const _0x47c197=_0x5cbb4;super(_0x915648),this[_0x47c197(0x9a)]=new _0x70552d();const _0x329785=this[_0x47c197(0xa2)];this[_0x47c197(0x8c)]({'tag':_0x47c197(0xa3),'attributes':{'class':[_0x47c197(0x8d),_0x329785['if'](_0x47c197(0xa4),_0x47c197(0x89),_0x2834b6=>!_0x2834b6)]},'children':this[_0x47c197(0x9a)]});}[_0x5cbb4(0xa1)](_0x4db1fb){const _0x14d948=_0x5cbb4;this[_0x14d948(0x9a)][_0x14d948(0x91)]();for(const [_0x2bdae8,_0x23b0c1]of _0x4db1fb[_0x14d948(0x92)]()){const _0x41a526=new _0x2ae9c2(this[_0x14d948(0xa0)],_0x23b0c1,_0x2bdae8);_0x41a526[_0x14d948(0x93)](_0x14d948(0x9e))['to'](this),this[_0x14d948(0x9a)][_0x14d948(0x98)](_0x41a526);}}[_0x5cbb4(0x99)](){const _0x37d636=_0x5cbb4;return this[_0x37d636(0x9a)][_0x37d636(0x8b)]>0x0;}[_0x5cbb4(0x8f)](){const _0x48078e=_0x5cbb4;for(const _0x128339 of this[_0x48078e(0x9a)])_0x128339 instanceof _0x2ae9c2&&_0x128339[_0x48078e(0x97)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x4055d3,View as Bt,ViewCollection as _0x21f4f2,ButtonView as _0x524247}from'ckeditor5/src/ui.js';import{IconStop as _0x320c24,IconEye as _0x579ab1,IconEyeCrossedOut as _0x2f930e}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x3db4ed}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x17540b,SKELETON_DEFINITIONS as _0x57d7dd}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x157bc4}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x415f57}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x478a05}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x4055d3{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0xdd8541){super(_0xdd8541),this['_resultViews']=new _0x21f4f2(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x157bc4(_0xdd8541),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x1d1700=this['_createCombinedSkeletonLoader'](),_0x1939e8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x1939e8['if']('isVisible','ck-hidden',_0x3a0f75=>!_0x3a0f75)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2e8b9f=>_0x2e8b9f)]},'children':this['_resultViews']},_0x1d1700]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1635e7){const _0x2c3b3b=new _0x3db4ed(this['locale'],_0x1635e7['id']);_0x2c3b3b['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x2c3b3b),_0x2c3b3b['resultResponseView']['element']['innerHTML']=_0x1635e7['contentDiffed'];}['hideResult'](_0x34e74e){const _0x264c1e=this['_resultViews']['find'](_0x36241a=>_0x36241a['id']===_0x34e74e);_0x264c1e&&(_0x264c1e['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x264c1e['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x264c1e),_0x264c1e['destroy']();},{'once':!0x0}));}['setTitle'](_0x247e67){this['headerTitle']=_0x247e67;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x17540b(this['locale'],_0x57d7dd['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x29ccce=new Bt(this['locale']),_0x3d3b96=[];for(let _0x32f7ab=0x0;_0x32f7ab<0x10;_0x32f7ab++){const _0x5770fb=this['_createSkeletonLoader']();_0x5770fb['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x3d3b96['push'](_0x5770fb);}return _0x29ccce['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x5fe364=>!_0x5fe364)]},'children':_0x3d3b96}),_0x29ccce;}['_createErrorView'](){const _0x6cd81a=new Bt(this['locale']),_0x2e5cf6=new _0x524247(this['locale']),t=this['locale']['t'];return _0x6cd81a['delegate']('retryReview')['to'](this),_0x2e5cf6['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x2e5cf6['on']('execute',()=>{this['fire']('retryReview');}),_0x6cd81a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x25216c=>!_0x25216c),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x571e63=>'chunk'===_0x571e63)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x538d7a=>'chunk'===_0x538d7a)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x54179f=>'general'!==_0x54179f)]},'children':[{'text':_0x415f57(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x569077=>'chunk'!==_0x569077)]},'children':[{'text':_0x415f57(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x2e5cf6]}),_0x6cd81a;}['_createCancelButtonView'](){const _0x389d51=new _0x524247(this['locale']);return _0x389d51['set']({'label':_0x415f57(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x320c24}),_0x389d51['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x30edc0=>_0x30edc0)]}}),_0x389d51['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x389d51;}['_createToggleDiffButtonView'](){const _0x60746=new _0x524247(this['locale']);_0x60746['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x60746['bind']('isEnabled')['to'](this,'isError',_0x6cd494=>!_0x6cd494),_0x60746['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2fe600=>!_0x2fe600)]}});const _0x37053b=_0x415f57(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x43d161=_0x415f57(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x60746['bind']('isOn')['to'](this,'isToggleDiffOn',_0x56330a=>_0x56330a),_0x60746['bind']('icon')['to'](this,'isToggleDiffOn',_0xf48c0b=>_0xf48c0b?_0x579ab1:_0x2f930e),_0x60746['bind']('label')['to'](this,'isToggleDiffOn',_0x257c1d=>_0x257c1d?_0x37053b:_0x43d161),_0x60746['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x60746;}['_createAcceptAllButtonView'](){const _0x3ada4c=new _0x524247(this['locale']);return _0x3ada4c['set']({'label':_0x415f57(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x3ada4c['bind']('isEnabled')['to'](this,'isError',_0x1df025=>!_0x1df025),_0x3ada4c['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2636c3=>!_0x2636c3)]}}),_0x3ada4c['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x3ada4c;}['_createExitReviewButtonView'](){const _0x22e7c0=new _0x524247(this['locale']);return _0x22e7c0['set']({'label':_0x415f57(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x22e7c0['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4dcad5=>!_0x4dcad5)]}}),_0x22e7c0['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x22e7c0;}['_createResultHeaderView'](){const _0x501bb1=new Bt(this['locale']),_0x5354c6=new _0x478a05();return _0x5354c6['bind']('isVisible')['to'](this,'isResultReady',_0x7925a8=>!_0x7925a8),_0x501bb1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x5354c6,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x501bb1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x20410f,IconView as _0xc4273e,View as Bt,ViewCollection as _0x33f17d,ButtonView as _0x3678dc,clickOutsideHandler as _0xa9d537}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x174ce7}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x925534}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x154beb}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x20410f{['_formItemsCollection']=new _0x33f17d();['_customCheckView']=null;constructor(_0x32013a,_0x494937,_0x85948a){super(_0x32013a),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x494937['isParameterized']);const _0x5e6872=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x30a6ef=>_0x30a6ef),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x3dc336=>_0x3dc336)],'style':{'--ck-ai-check-list-item-index':_0x85948a}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x494937['title']}]},_0x5e6872]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x494937['description']}]}]}]},..._0x494937['isParameterized']?[this['_createParameterizedView'](_0x494937)]:[],...'custom'===_0x494937['id']?[this['_createCustomView'](_0x494937)]:[]]}),this['on']('click',()=>{_0x494937['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x494937['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0xa9d537({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x4512cf=>{_0x4512cf['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1dcfcc=new _0xc4273e();return _0x1dcfcc['content']=_0x174ce7,_0x1dcfcc['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x1dcfcc;}['_createParameterizedView'](_0x223fdc){const _0x4d7cf4=new Bt(),_0x12bbb8=this['_createFormView'](_0x223fdc);return _0x4d7cf4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0xc51fe7=>!_0xc51fe7)]},'children':[_0x12bbb8]}),_0x4d7cf4;}['_createFormView'](_0x3e59da){const _0x297d14=new Bt(),_0x21a1a7=Array['isArray'](_0x3e59da['options'])?_0x3e59da['options']:[],_0x46d670=new _0x3678dc(this['locale']),t=this['locale']['t'];_0x46d670['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x46d670['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x229dbd=>{_0x229dbd['stopPropagation']();})}}),_0x46d670['on']('execute',()=>{const _0x5d2c2d=[],_0x41dc47={};this['_formItemsCollection']['forEach'](_0xd7d5ee=>{_0x5d2c2d['push'](_0xd7d5ee['value']),_0x3e59da['useArgs']&&_0x3e59da['options']&&(_0x41dc47[_0xd7d5ee['argsKey']]=_0xd7d5ee['value']);}),this['fire']('runReviewCheck',{'id':_0x3e59da['id'],'params':_0x5d2c2d['length']?_0x5d2c2d:void 0x0,'args':Object['keys'](_0x41dc47)['length']?_0x41dc47:void 0x0});});const _0x4a362a=_0x21a1a7['length'];return _0x21a1a7['forEach']((_0x26b09f,_0x4d3ed8)=>{const _0x4e399b=_0x4d3ed8===_0x4a362a-0x1;this['_formItemsCollection']['add'](new _0x925534(this['locale'],_0x26b09f,_0x4e399b?_0x46d670:null));}),_0x297d14['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x297d14;}['_createCustomView'](_0x32593e){return this['_customCheckView']=new _0x154beb(this['locale'],_0x32593e),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2a58a6=>!_0x2a58a6)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ac669=_0x3397;(function(_0x373fd4,_0x55f56f){const _0x412cd2=_0x3397,_0x11b1e5=_0x373fd4();while(!![]){try{const _0x877ad6=-parseInt(_0x412cd2(0xf7))/0x1*(parseInt(_0x412cd2(0xf4))/0x2)+parseInt(_0x412cd2(0xec))/0x3*(parseInt(_0x412cd2(0xe9))/0x4)+parseInt(_0x412cd2(0xf9))/0x5+-parseInt(_0x412cd2(0xfd))/0x6+-parseInt(_0x412cd2(0xe1))/0x7+parseInt(_0x412cd2(0xfb))/0x8*(-parseInt(_0x412cd2(0xe3))/0x9)+parseInt(_0x412cd2(0xe4))/0xa;if(_0x877ad6===_0x55f56f)break;else _0x11b1e5['push'](_0x11b1e5['shift']());}catch(_0x15135a){_0x11b1e5['push'](_0x11b1e5['shift']());}}}(_0x1098,0x6b830));function _0x3397(_0x13c45b,_0x3de613){const _0x109853=_0x1098();return _0x3397=function(_0x3397d2,_0x321b3e){_0x3397d2=_0x3397d2-0xdc;let _0x5a5391=_0x109853[_0x3397d2];return _0x5a5391;},_0x3397(_0x13c45b,_0x3de613);}function _0x1098(){const _0x1faff6=['ck-ai-review-mode__review-completed-header-buttons','34KWxTNS','ck-ai-review-mode__review-completed','738690ClvHkR','ck-hidden','8sxnYEU','_createFinishReviewButtonView','2602212oZYdqL','_finishReviewButtonView','fire','completed','locale','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','span','viewType','ck-ai-review-mode__review-completed-content-text','resultsHeader','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','4631879oJtNGJ','ck-ai-review-mode__review-completed-content','3950253MTlQPY','14995180GOiJJq','div','ck-ai-review-mode__review-completed-header-title','AI_REVIEW_MODE_COMPLETED_TEXT','isVisible','381624aNVDpD','setTemplate','ck-ai-button-primary','12gPVUZe','ck-ai-review-mode__review-completed-content-icon','ck-ai-review-mode__review-completed-header','_createResultHeaderView','finishReview','bindTemplate','execute','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','3188gpdqnH','set'];_0x1098=function(){return _0x1faff6;};return _0x1098();}import{ListItemView as _0x1bceda,View as _0x83c18,ButtonView as _0x231b6f}from'ckeditor5/src/ui.js';import{getTranslation as _0x56683c}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x1bceda{[_0x1ac669(0xdf)];[_0x1ac669(0xfe)];constructor(_0x23b31b){const _0x206f29=_0x1ac669;super(_0x23b31b),this[_0x206f29(0xfe)]=this[_0x206f29(0xfc)](),this[_0x206f29(0xdf)]=this[_0x206f29(0xef)](),this[_0x206f29(0xf5)](_0x206f29(0xdd),_0x206f29(0x100));const _0x1e6b63=this[_0x206f29(0xf1)];this[_0x206f29(0xea)]({'tag':_0x206f29(0xe5),'attributes':{'class':[_0x206f29(0xf8),_0x1e6b63['if'](_0x206f29(0xe8),_0x206f29(0xfa),_0x3d93bc=>!_0x3d93bc)]},'children':[this[_0x206f29(0xdf)],{'tag':_0x206f29(0xe5),'attributes':{'class':[_0x206f29(0xe2)]},'children':[{'tag':_0x206f29(0xdc),'attributes':{'class':[_0x206f29(0xed)]},'children':[{'text':'🎉'}]},{'tag':'p','attributes':{'class':[_0x206f29(0xde)]},'children':[{'text':_0x1e6b63['to'](_0x206f29(0xdd),_0x5dd48d=>_0x56683c(_0x23b31b,_0x206f29(0x100)===_0x5dd48d?_0x206f29(0xe7):_0x206f29(0x102)))}]}]}]});}[_0x1ac669(0xfc)](){const _0x95146e=_0x1ac669,_0x7cfe5c=new _0x231b6f(this[_0x95146e(0x101)]);return _0x7cfe5c[_0x95146e(0xf5)]({'label':_0x56683c(this[_0x95146e(0x101)],_0x95146e(0xf3)),'withText':!0x0,'class':_0x95146e(0xeb)}),_0x7cfe5c['on'](_0x95146e(0xf2),()=>{const _0x835ffe=_0x95146e;this[_0x835ffe(0xff)](_0x835ffe(0xf0));}),_0x7cfe5c;}[_0x1ac669(0xef)](){const _0xbf28d8=_0x1ac669,_0x5bed3d=new _0x83c18(this[_0xbf28d8(0x101)]);return _0x5bed3d[_0xbf28d8(0xea)]({'tag':_0xbf28d8(0xe5),'attributes':{'class':[_0xbf28d8(0xee)]},'children':[{'tag':_0xbf28d8(0xdc),'attributes':{'class':[_0xbf28d8(0xe6)]},'children':[{'text':_0x56683c(this[_0xbf28d8(0x101)],_0xbf28d8(0xe0))}]},{'tag':_0xbf28d8(0xe5),'attributes':{'class':[_0xbf28d8(0xf6)]},'children':[this[_0xbf28d8(0xfe)]]}]}),_0x5bed3d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3aa5ab=_0x1aa3;(function(_0x5f5cc7,_0x5d81d8){var _0x6c5540=_0x1aa3,_0x337f89=_0x5f5cc7();while(!![]){try{var _0x55bb43=-parseInt(_0x6c5540(0xd4))/0x1*(-parseInt(_0x6c5540(0xb3))/0x2)+-parseInt(_0x6c5540(0xad))/0x3*(-parseInt(_0x6c5540(0xcd))/0x4)+-parseInt(_0x6c5540(0xb1))/0x5*(parseInt(_0x6c5540(0xc6))/0x6)+-parseInt(_0x6c5540(0xb5))/0x7+-parseInt(_0x6c5540(0xd5))/0x8*(-parseInt(_0x6c5540(0xbe))/0x9)+-parseInt(_0x6c5540(0xc7))/0xa+parseInt(_0x6c5540(0xca))/0xb;if(_0x55bb43===_0x5d81d8)break;else _0x337f89['push'](_0x337f89['shift']());}catch(_0x3cc4a2){_0x337f89['push'](_0x337f89['shift']());}}}(_0x43b1,0x75374));import{View as _0x1cdb05,FormHeaderView as _0x778e86}from'ckeditor5/src/ui.js';import{IconAIReview as _0xb7f91}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x5028ce}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x1b1423}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x1157c7}from'./aireviewmodereviewcheckresultsview.js';function _0x43b1(){var _0x1f5a84=['ck-ai-review-mode','isLoading','showChunkErrorView','isVisible','showReviewCheckListView','resetAllParameterizedChecks','36itHQwU','finishReview','showGeneralErrorView','isResultReady','set','ck-rounded-corners','ck-reset_all','AI_REVIEW_MODE','66168toJNpo','4553800cewEXJ','showChunkErrorMessage','resetErrorState','9879771kxEhWc','completed','showNoChangesView','44cOHBBL','div','showReviewCheckResultsView','setTemplate','viewType','showReviewCompletedView','reviewCompletedView','49HYRVJn','1630064oZSMuf','clearResults','showActionsWhenResultIsReady','ltr','showGeneralErrorMessage','reviewModeHeader','addCheckRunResult','124305sZQBkF','unmodified','hideActionsWhenResultIsReady','addResult','215scfeQJ','reviewCheckListView','3682KmNHIg','delegate','5946409vsiVKD','reviewCheckResultsView','ck-ai-header\x20ck-ai-header_review-mode'];_0x43b1=function(){return _0x1f5a84;};return _0x43b1();}function _0x1aa3(_0x59396c,_0x3784){var _0x43b1fb=_0x43b1();return _0x1aa3=function(_0x1aa30b,_0x3e63e1){_0x1aa30b=_0x1aa30b-0xaa;var _0x264e58=_0x43b1fb[_0x1aa30b];return _0x264e58;},_0x1aa3(_0x59396c,_0x3784);}import{AIReviewModeReviewCompletedView as _0x1b82cc}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x35d0ad}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x1cdb05{[_0x3aa5ab(0xab)];[_0x3aa5ab(0xb2)];[_0x3aa5ab(0xb6)];[_0x3aa5ab(0xd3)];constructor(_0x1614b1){var _0x63c63e=_0x3aa5ab;super(_0x1614b1),this[_0x63c63e(0xab)]=new _0x778e86(_0x1614b1,{'label':_0x35d0ad(_0x1614b1,_0x63c63e(0xc5)),'icon':_0xb7f91,'class':_0x63c63e(0xb7)}),this[_0x63c63e(0xb2)]=new _0x5028ce(_0x1614b1),this[_0x63c63e(0xb2)][_0x63c63e(0xb4)](..._0x1b1423)['to'](this),this[_0x63c63e(0xb6)]=new _0x1157c7(_0x1614b1),this[_0x63c63e(0xb6)][_0x63c63e(0xb4)](..._0x1b1423)['to'](this),this[_0x63c63e(0xd3)]=new _0x1b82cc(_0x1614b1),this[_0x63c63e(0xd3)][_0x63c63e(0xb4)](_0x63c63e(0xbf))['to'](this),this[_0x63c63e(0xb2)][_0x63c63e(0xc2)](_0x63c63e(0xbb),!0x1),this[_0x63c63e(0xb6)][_0x63c63e(0xc2)](_0x63c63e(0xbb),!0x1),this[_0x63c63e(0xb6)][_0x63c63e(0xc2)](_0x63c63e(0xb9),!0x1),this[_0x63c63e(0xb6)][_0x63c63e(0xc2)](_0x63c63e(0xc1),!0x1),this[_0x63c63e(0xd3)][_0x63c63e(0xc2)](_0x63c63e(0xbb),!0x1),this[_0x63c63e(0xd0)]({'tag':_0x63c63e(0xce),'attributes':{'class':['ck',_0x63c63e(0xc4),_0x63c63e(0xb8),_0x63c63e(0xc3)],'dir':_0x63c63e(0xd8)},'children':[this[_0x63c63e(0xab)],this[_0x63c63e(0xb2)],this[_0x63c63e(0xb6)],this[_0x63c63e(0xd3)]]});}[_0x3aa5ab(0xbc)](){var _0x580c00=_0x3aa5ab;this[_0x580c00(0xb2)][_0x580c00(0xbd)](),this[_0x580c00(0xb2)][_0x580c00(0xc2)](_0x580c00(0xbb),!0x0),this[_0x580c00(0xb6)][_0x580c00(0xc2)](_0x580c00(0xbb),!0x1),this[_0x580c00(0xd3)][_0x580c00(0xc2)](_0x580c00(0xbb),!0x1);}[_0x3aa5ab(0xcf)](){var _0x4ae97e=_0x3aa5ab;this[_0x4ae97e(0xaf)](),this[_0x4ae97e(0xb6)][_0x4ae97e(0xc9)](),this[_0x4ae97e(0xb2)][_0x4ae97e(0xc2)](_0x4ae97e(0xbb),!0x1),this[_0x4ae97e(0xb6)][_0x4ae97e(0xc2)](_0x4ae97e(0xbb),!0x0),this[_0x4ae97e(0xb6)][_0x4ae97e(0xd6)](),this[_0x4ae97e(0xb6)][_0x4ae97e(0xc2)](_0x4ae97e(0xb9),!0x0);}[_0x3aa5ab(0xac)](_0x239432){var _0x4ecd41=_0x3aa5ab;this[_0x4ecd41(0xb6)][_0x4ecd41(0xb0)](_0x239432),this[_0x4ecd41(0xb6)][_0x4ecd41(0xc2)](_0x4ecd41(0xb9),!0x1);}[_0x3aa5ab(0xd2)](){var _0x9c0f4e=_0x3aa5ab;this[_0x9c0f4e(0xb2)][_0x9c0f4e(0xc2)](_0x9c0f4e(0xbb),!0x1),this[_0x9c0f4e(0xb6)][_0x9c0f4e(0xc2)](_0x9c0f4e(0xbb),!0x1),this[_0x9c0f4e(0xd3)][_0x9c0f4e(0xc2)](_0x9c0f4e(0xd1),_0x9c0f4e(0xcb)),this[_0x9c0f4e(0xd3)][_0x9c0f4e(0xc2)](_0x9c0f4e(0xbb),!0x0);}[_0x3aa5ab(0xd7)](){var _0x2299bb=_0x3aa5ab;this[_0x2299bb(0xb6)][_0x2299bb(0xc1)]=!0x0;}[_0x3aa5ab(0xcc)](){var _0x3d6747=_0x3aa5ab;this[_0x3d6747(0xb2)][_0x3d6747(0xc2)](_0x3d6747(0xbb),!0x1),this[_0x3d6747(0xb6)][_0x3d6747(0xc2)](_0x3d6747(0xbb),!0x1),this[_0x3d6747(0xd3)][_0x3d6747(0xc2)](_0x3d6747(0xd1),_0x3d6747(0xae)),this[_0x3d6747(0xd3)][_0x3d6747(0xc2)](_0x3d6747(0xbb),!0x0);}[_0x3aa5ab(0xaf)](){var _0xb75784=_0x3aa5ab;this[_0xb75784(0xb6)][_0xb75784(0xc1)]=!0x1;}[_0x3aa5ab(0xc0)](){var _0x1f9477=_0x3aa5ab;this[_0x1f9477(0xb6)][_0x1f9477(0xc2)](_0x1f9477(0xb9),!0x1),this[_0x1f9477(0xd7)](),this[_0x1f9477(0xb6)][_0x1f9477(0xaa)]();}[_0x3aa5ab(0xba)](){var _0x52137e=_0x3aa5ab;this[_0x52137e(0xb6)][_0x52137e(0xc2)](_0x52137e(0xb9),!0x1),this[_0x52137e(0xd7)](),this[_0x52137e(0xb6)][_0x52137e(0xc8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf78424=_0x32b9;function _0x32b9(_0x5ca19a,_0x2ea143){const _0x2aaf05=_0x2aaf();return _0x32b9=function(_0x32b9cc,_0x18f9ef){_0x32b9cc=_0x32b9cc-0x130;let _0x45350=_0x2aaf05[_0x32b9cc];return _0x45350;},_0x32b9(_0x5ca19a,_0x2ea143);}(function(_0x2bfefe,_0x458aa4){const _0x4f618c=_0x32b9,_0x2c526d=_0x2bfefe();while(!![]){try{const _0xede225=-parseInt(_0x4f618c(0x131))/0x1+-parseInt(_0x4f618c(0x147))/0x2*(-parseInt(_0x4f618c(0x145))/0x3)+-parseInt(_0x4f618c(0x148))/0x4*(-parseInt(_0x4f618c(0x146))/0x5)+parseInt(_0x4f618c(0x144))/0x6*(-parseInt(_0x4f618c(0x134))/0x7)+-parseInt(_0x4f618c(0x136))/0x8*(-parseInt(_0x4f618c(0x13d))/0x9)+parseInt(_0x4f618c(0x138))/0xa*(parseInt(_0x4f618c(0x140))/0xb)+-parseInt(_0x4f618c(0x13e))/0xc;if(_0xede225===_0x458aa4)break;else _0x2c526d['push'](_0x2c526d['shift']());}catch(_0x2e272e){_0x2c526d['push'](_0x2c526d['shift']());}}}(_0x2aaf,0xea911));import{FormRowView as _0x40fd55,ListItemView as _0x1e9637}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x5c4066}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x1e9637{[_0xf78424(0x13c)]=null;constructor(_0x585f17,_0x3d9ff5,_0x6b75a3){const _0x187732=_0xf78424;super(_0x585f17),this[_0x187732(0x143)]=_0x3d9ff5?.[_0x187732(0x143)];if(_0x187732(0x133)===_0x3d9ff5[_0x187732(0x14b)])this[_0x187732(0x13c)]=new _0x5c4066(this[_0x187732(0x13a)],_0x3d9ff5);this[_0x187732(0x149)](_0x187732(0x137),''),this[_0x187732(0x139)](_0x187732(0x137))['to'](this[_0x187732(0x13c)],_0x187732(0x13b));const _0x51579b=new _0x40fd55(this[_0x187732(0x13a)],{'children':[this[_0x187732(0x13c)]],'class':[_0x6b75a3?_0x187732(0x141):'']});_0x6b75a3&&_0x51579b[_0x187732(0x142)][_0x187732(0x14a)](_0x6b75a3),this[_0x187732(0x14c)]({'tag':_0x187732(0x135),'attributes':{'class':['ck',_0x187732(0x132),_0x187732(0x13f)]},'children':[_0x51579b]});}[_0xf78424(0x130)](){const _0x53e0e2=_0xf78424;this[_0x53e0e2(0x13c)][_0x53e0e2(0x130)]();}}function _0x2aaf(){const _0x40a2f7=['resetToDefault','1668597udUROw','ck-ai-review-mode__form-item','dropdown','5242531zDwpCv','div','13716296hKksLa','value','20ulVKZq','bind','locale','formValue','_formItem','9RYydHI','16504332rVPGqm','ck-reset_all','9917897hnBlei','ck-form__row_with-submit','children','argsKey','6YIOnBk','472209MiZvxA','1457335lDFgEM','12DBfJAY','4uopJni','set','add','formType','setTemplate'];_0x2aaf=function(){return _0x40a2f7;};return _0x2aaf();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11d8ac=_0x2775;(function(_0x4f50f6,_0x4a2cee){const _0x4e4382=_0x2775,_0x397032=_0x4f50f6();while(!![]){try{const _0x2877c7=parseInt(_0x4e4382(0x187))/0x1*(-parseInt(_0x4e4382(0x195))/0x2)+-parseInt(_0x4e4382(0x191))/0x3+-parseInt(_0x4e4382(0x182))/0x4*(parseInt(_0x4e4382(0x1a0))/0x5)+-parseInt(_0x4e4382(0x184))/0x6*(-parseInt(_0x4e4382(0x185))/0x7)+-parseInt(_0x4e4382(0x188))/0x8*(parseInt(_0x4e4382(0x19a))/0x9)+parseInt(_0x4e4382(0x18e))/0xa+parseInt(_0x4e4382(0x178))/0xb*(parseInt(_0x4e4382(0x17c))/0xc);if(_0x2877c7===_0x4a2cee)break;else _0x397032['push'](_0x397032['shift']());}catch(_0x2eb3d8){_0x397032['push'](_0x397032['shift']());}}}(_0x46de,0x3405a));function _0x46de(){const _0x2e90b8=['source','locale','button','41778WygAIk','div','isOn','setTemplate','672zXbwea','default','label','set','listenTo','ck-ai-review-mode__check-list-item-parameterized-form-element','4uJzkaO','model','42vFzlTE','95963RClXGO','length','178231suPGHG','20152fyrqNv','_prepareListOptions','bindTemplate','_defaultLabel','find','menuitemradio','4213200LERNuX','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','buttonView','631836fSNJDl','_defaultValue','resetToDefault','ck-reset_all','2eAhoJG','execute','data','extendTemplate','bind','369pSFgEJ','_dropdownView','menu','stopPropagation','formValue','add','123835BgxFVQ'];_0x46de=function(){return _0x2e90b8;};return _0x46de();}function _0x2775(_0x57e481,_0x250253){const _0x46dea1=_0x46de();return _0x2775=function(_0x277529,_0xf72d1b){_0x277529=_0x277529-0x175;let _0x19355f=_0x46dea1[_0x277529];return _0x19355f;},_0x2775(_0x57e481,_0x250253);}import{Collection as _0x1b2089}from'ckeditor5/src/utils.js';import{View as _0x2e81b8,createDropdown as _0x500d26,addListToDropdown as _0x187a66,UIModel as _0x501cc6}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x2e81b8{[_0x11d8ac(0x19b)];[_0x11d8ac(0x192)];[_0x11d8ac(0x18b)];constructor(_0xb2fd4e,_0x3ffd61){const _0x1c4ebc=_0x11d8ac;super(_0xb2fd4e),this[_0x1c4ebc(0x192)]=_0x3ffd61[_0x1c4ebc(0x17d)]||(_0x3ffd61[_0x1c4ebc(0x197)][_0x1c4ebc(0x186)]>0x0?_0x3ffd61[_0x1c4ebc(0x197)][0x0]['id']:''),this[_0x1c4ebc(0x18b)]=_0x3ffd61[_0x1c4ebc(0x197)][_0x1c4ebc(0x18c)](_0x375a70=>_0x375a70['id']===this[_0x1c4ebc(0x192)])?.[_0x1c4ebc(0x17e)]||'',this[_0x1c4ebc(0x17f)](_0x1c4ebc(0x19e),''),this[_0x1c4ebc(0x19b)]=_0x500d26(this[_0x1c4ebc(0x176)]);const _0x1e2052=this[_0x1c4ebc(0x189)](_0x3ffd61[_0x1c4ebc(0x197)]);_0x187a66(this[_0x1c4ebc(0x19b)],_0x1e2052,{'role':_0x1c4ebc(0x19c),'ariaLabel':_0x3ffd61[_0x1c4ebc(0x17e)]}),this[_0x1c4ebc(0x19b)][_0x1c4ebc(0x190)][_0x1c4ebc(0x17f)]({'label':this[_0x1c4ebc(0x18b)],'withText':!0x0}),this[_0x1c4ebc(0x19b)][_0x1c4ebc(0x198)]({'on':{'click':this[_0x1c4ebc(0x18a)]['to'](_0x36044e=>{const _0x48c246=_0x1c4ebc;_0x36044e[_0x48c246(0x19d)]();})}}),this[_0x1c4ebc(0x180)](this[_0x1c4ebc(0x19b)],_0x1c4ebc(0x196),_0x527552=>{const _0x3df86d=_0x1c4ebc;this[_0x3df86d(0x19e)]=_0x527552[_0x3df86d(0x175)][_0x3df86d(0x183)]['id'],this[_0x3df86d(0x19b)][_0x3df86d(0x190)][_0x3df86d(0x17e)]=_0x527552[_0x3df86d(0x175)][_0x3df86d(0x183)][_0x3df86d(0x17e)];}),this[_0x1c4ebc(0x17b)]({'tag':_0x1c4ebc(0x179),'attributes':{'class':['ck',_0x1c4ebc(0x194),_0x1c4ebc(0x181),_0x1c4ebc(0x18f)]},'children':[this[_0x1c4ebc(0x19b)]]});}[_0x11d8ac(0x193)](){const _0x50af98=_0x11d8ac;this[_0x50af98(0x19e)]=this[_0x50af98(0x192)],this[_0x50af98(0x19b)][_0x50af98(0x190)][_0x50af98(0x17e)]=this[_0x50af98(0x18b)];}[_0x11d8ac(0x189)](_0x35ee35=[]){const _0x1851fc=_0x11d8ac,_0x26237c=new _0x1b2089();this[_0x1851fc(0x193)]();for(const _0x2f88fe of _0x35ee35){const _0x3ecb12=new _0x501cc6({'label':_0x2f88fe[_0x1851fc(0x17e)],'withText':!0x0,'role':_0x1851fc(0x18d),'id':_0x2f88fe['id'],'model':_0x2f88fe});_0x3ecb12[_0x1851fc(0x199)](_0x1851fc(0x17a))['to'](this,_0x1851fc(0x19e),_0x50c7bf=>_0x50c7bf===_0x3ecb12['id']);const _0xfed28f={'type':_0x1851fc(0x177),'model':_0x3ecb12};_0x26237c[_0x1851fc(0x19f)](_0xfed28f);}return _0x26237c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf78424=_0x32b9;function _0x32b9(_0x5ca19a,_0x2ea143){const _0x2aaf05=_0x2aaf();return _0x32b9=function(_0x32b9cc,_0x18f9ef){_0x32b9cc=_0x32b9cc-0x130;let _0x45350=_0x2aaf05[_0x32b9cc];return _0x45350;},_0x32b9(_0x5ca19a,_0x2ea143);}(function(_0x2bfefe,_0x458aa4){const _0x4f618c=_0x32b9,_0x2c526d=_0x2bfefe();while(!![]){try{const _0xede225=-parseInt(_0x4f618c(0x131))/0x1+-parseInt(_0x4f618c(0x147))/0x2*(-parseInt(_0x4f618c(0x145))/0x3)+-parseInt(_0x4f618c(0x148))/0x4*(-parseInt(_0x4f618c(0x146))/0x5)+parseInt(_0x4f618c(0x144))/0x6*(-parseInt(_0x4f618c(0x134))/0x7)+-parseInt(_0x4f618c(0x136))/0x8*(-parseInt(_0x4f618c(0x13d))/0x9)+parseInt(_0x4f618c(0x138))/0xa*(parseInt(_0x4f618c(0x140))/0xb)+-parseInt(_0x4f618c(0x13e))/0xc;if(_0xede225===_0x458aa4)break;else _0x2c526d['push'](_0x2c526d['shift']());}catch(_0x2e272e){_0x2c526d['push'](_0x2c526d['shift']());}}}(_0x2aaf,0xea911));import{FormRowView as _0x40fd55,ListItemView as _0x1e9637}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x5c4066}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x1e9637{[_0xf78424(0x13c)]=null;constructor(_0x585f17,_0x3d9ff5,_0x6b75a3){const _0x187732=_0xf78424;super(_0x585f17),this[_0x187732(0x143)]=_0x3d9ff5?.[_0x187732(0x143)];if(_0x187732(0x133)===_0x3d9ff5[_0x187732(0x14b)])this[_0x187732(0x13c)]=new _0x5c4066(this[_0x187732(0x13a)],_0x3d9ff5);this[_0x187732(0x149)](_0x187732(0x137),''),this[_0x187732(0x139)](_0x187732(0x137))['to'](this[_0x187732(0x13c)],_0x187732(0x13b));const _0x51579b=new _0x40fd55(this[_0x187732(0x13a)],{'children':[this[_0x187732(0x13c)]],'class':[_0x6b75a3?_0x187732(0x141):'']});_0x6b75a3&&_0x51579b[_0x187732(0x142)][_0x187732(0x14a)](_0x6b75a3),this[_0x187732(0x14c)]({'tag':_0x187732(0x135),'attributes':{'class':['ck',_0x187732(0x132),_0x187732(0x13f)]},'children':[_0x51579b]});}[_0xf78424(0x130)](){const _0x53e0e2=_0xf78424;this[_0x53e0e2(0x13c)][_0x53e0e2(0x130)]();}}function _0x2aaf(){const _0x40a2f7=['resetToDefault','1668597udUROw','ck-ai-review-mode__form-item','dropdown','5242531zDwpCv','div','13716296hKksLa','value','20ulVKZq','bind','locale','formValue','_formItem','9RYydHI','16504332rVPGqm','ck-reset_all','9917897hnBlei','ck-form__row_with-submit','children','argsKey','6YIOnBk','472209MiZvxA','1457335lDFgEM','12DBfJAY','4uopJni','set','add','formType','setTemplate'];_0x2aaf=function(){return _0x40a2f7;};return _0x2aaf();}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3040fe=_0xedb7;function _0xedb7(_0x4c3423,_0x22cf32){const _0xba6ea1=_0xba6e();return _0xedb7=function(_0xedb7ff,_0x57023a){_0xedb7ff=_0xedb7ff-0x92;let _0x12327f=_0xba6ea1[_0xedb7ff];return _0x12327f;},_0xedb7(_0x4c3423,_0x22cf32);}(function(_0x357b08,_0x565e00){const _0x4dbe34=_0xedb7,_0x497413=_0x357b08();while(!![]){try{const _0x4cb9c2=-parseInt(_0x4dbe34(0xa7))/0x1+parseInt(_0x4dbe34(0xba))/0x2*(parseInt(_0x4dbe34(0xbd))/0x3)+-parseInt(_0x4dbe34(0xa3))/0x4*(parseInt(_0x4dbe34(0xb8))/0x5)+parseInt(_0x4dbe34(0xc2))/0x6+-parseInt(_0x4dbe34(0xaf))/0x7+parseInt(_0x4dbe34(0x9a))/0x8+-parseInt(_0x4dbe34(0x94))/0x9*(-parseInt(_0x4dbe34(0xb0))/0xa);if(_0x4cb9c2===_0x565e00)break;else _0x497413['push'](_0x497413['shift']());}catch(_0x1f9efe){_0x497413['push'](_0x497413['shift']());}}}(_0xba6e,0x25488));import{ContextPlugin as _0x40aee1,Editor as _0x2244cc}from'ckeditor5/src/core.js';function _0xba6e(){const _0xc9b927=['resizedTabs','9szUSwI','side','add','showResizeButton','right','resize','1721960JsSALa','switchType','ai-tabs-configuration-not-found','remove','body','ai-tabs-sidebar-container-element-not-found','appendChild','includes','switchSide','32700KEOPuL','overlay','locale','isPremiumPlugin','4958haqPSc','focusTracker','bind','destroy','ai-tabs-unsupported-ui-side','ai.container','fire','config','650888aWfiMn','388580VbLYcW','set','render','AITabs','ai-tabs-unsupported-ui-type','isOfficialPlugin','container','sidebar','145PqazHZ','type','18946uMJMtW','context','custom','63UHSGJP','view','element','get','pluginName','208158lTVNFO','isMaximized'];_0xba6e=function(){return _0xc9b927;};return _0xba6e();}import{CKEditorError as _0x4013d3}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x1aced2,AI_TABS_VIEW_SIDES as _0x558e46,AI_TABS_VIEW_TYPES as _0x4346dc}from'./aitabsmainview.js';export class AITabs extends _0x40aee1{[_0x3040fe(0xbe)];[_0x3040fe(0xb6)]=null;[_0x3040fe(0x97)]=!0x0;static get[_0x3040fe(0xc1)](){const _0x225754=_0x3040fe;return _0x225754(0xb3);}static get[_0x3040fe(0xb5)](){return!0x0;}static get[_0x3040fe(0xa6)](){return!0x0;}constructor(_0x4fa96c){const _0x2cddba=_0x3040fe;super(_0x4fa96c);const _0x18419b=this[_0x2cddba(0xbb)][_0x2cddba(0xae)][_0x2cddba(0xc0)](_0x2cddba(0xac));if(this[_0x2cddba(0xb1)](_0x2cddba(0x95),_0x2cddba(0x98)),!_0x18419b)throw new _0x4013d3(_0x2cddba(0x9c));if(void 0x0!==_0x18419b[_0x2cddba(0x97)]&&(this[_0x2cddba(0x97)]=_0x18419b[_0x2cddba(0x97)]),_0x2cddba(0xb7)!==_0x18419b[_0x2cddba(0xb9)]&&_0x2cddba(0xa4)!==_0x18419b[_0x2cddba(0xb9)]||_0x18419b[_0x2cddba(0x95)]&&(this[_0x2cddba(0x95)]=_0x18419b[_0x2cddba(0x95)]),_0x2cddba(0xb7)===_0x18419b[_0x2cddba(0xb9)]){if(this[_0x2cddba(0xb6)]=_0x18419b[_0x2cddba(0xbf)],this[_0x2cddba(0xb1)](_0x2cddba(0xb9),_0x2cddba(0xb7)),!this[_0x2cddba(0xb6)])throw new _0x4013d3(_0x2cddba(0x9f));}else _0x2cddba(0xa4)===_0x18419b[_0x2cddba(0xb9)]?(this[_0x2cddba(0xb6)]=document[_0x2cddba(0x9e)],this[_0x2cddba(0xb1)](_0x2cddba(0xb9),_0x2cddba(0xa4))):(this[_0x2cddba(0xb6)]=null,this[_0x2cddba(0xb1)](_0x2cddba(0xb9),_0x2cddba(0xbc)));this[_0x2cddba(0xbe)]=new _0x1aced2(this[_0x2cddba(0xbb)][_0x2cddba(0xa5)],{'side':this[_0x2cddba(0x95)],'type':this[_0x2cddba(0xb9)]}),this[_0x2cddba(0xbe)][_0x2cddba(0xb2)](),this[_0x2cddba(0xbe)][_0x2cddba(0xa9)](_0x2cddba(0x95))['to'](this,_0x2cddba(0x95)),this[_0x2cddba(0xbe)][_0x2cddba(0xa9)](_0x2cddba(0xb9))['to'](this,_0x2cddba(0xb9)),this[_0x2cddba(0xb6)]&&this[_0x2cddba(0xb6)][_0x2cddba(0xa0)](this[_0x2cddba(0xbe)][_0x2cddba(0xbf)]),this[_0x2cddba(0xbb)]instanceof _0x2244cc&&this[_0x2cddba(0xbb)]['ui'][_0x2cddba(0xa8)][_0x2cddba(0x96)](this[_0x2cddba(0xbe)][_0x2cddba(0xbf)]);}[_0x3040fe(0x9b)](_0x1cf4b0){const _0x4855ef=_0x3040fe;if(_0x1cf4b0&&this[_0x4855ef(0xb9)]!==_0x1cf4b0){if(!_0x4346dc[_0x4855ef(0xa1)](_0x1cf4b0))throw new _0x4013d3(_0x4855ef(0xb4));this[_0x4855ef(0xb9)]=_0x1cf4b0;}}[_0x3040fe(0xa2)](_0x3ac863){const _0x5c3631=_0x3040fe;if(_0x3ac863&&this[_0x5c3631(0x95)]!==_0x3ac863){if(!_0x558e46[_0x5c3631(0xa1)](_0x3ac863))throw new _0x4013d3(_0x5c3631(0xab));this[_0x5c3631(0x95)]=_0x3ac863;}}[_0x3040fe(0x99)](){const _0x5b13f4=_0x3040fe;this[_0x5b13f4(0xbe)][_0x5b13f4(0x92)]=!this[_0x5b13f4(0xbe)][_0x5b13f4(0x92)],this[_0x5b13f4(0xad)](_0x5b13f4(0x93),this[_0x5b13f4(0xbe)][_0x5b13f4(0x92)]);}[_0x3040fe(0xaa)](){const _0x51ccee=_0x3040fe;super[_0x51ccee(0xaa)](),this[_0x51ccee(0xbe)][_0x51ccee(0xaa)](),this[_0x51ccee(0xbe)][_0x51ccee(0xbf)]&&this[_0x51ccee(0xbe)][_0x51ccee(0xbf)][_0x51ccee(0x9d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x37a345=_0x5368;function _0x5060(){const _0x2f5f1c=['set','ck-ai-tabs__overlay','overlay','24Dicgio','12pvEqGe','10MtACrV','ck-ai-tabs','ck-ai-tabs__sidebar','right','52632sqJZzC','10gvkXno','2404962uIOthp','type','525868yLfuXG','sidebar','side','bindTemplate','1274OhthYv','12770527aTEOwX','left','custom','24qEmUzt','224473OVbaxD','5618366WXGymz','add','extendTemplate','1003490HSVvkp','withText','buttonViews'];_0x5060=function(){return _0x2f5f1c;};return _0x5060();}(function(_0x169b7f,_0x40e4ae){const _0x15636d=_0x5368,_0x2cd112=_0x169b7f();while(!![]){try{const _0x4bb1d4=parseInt(_0x15636d(0x84))/0x1*(parseInt(_0x15636d(0x95))/0x2)+parseInt(_0x15636d(0x8f))/0x3*(parseInt(_0x15636d(0x7b))/0x4)+-parseInt(_0x15636d(0x88))/0x5*(-parseInt(_0x15636d(0x8e))/0x6)+parseInt(_0x15636d(0x7f))/0x7*(-parseInt(_0x15636d(0x94))/0x8)+parseInt(_0x15636d(0x96))/0x9*(-parseInt(_0x15636d(0x90))/0xa)+-parseInt(_0x15636d(0x80))/0xb+parseInt(_0x15636d(0x83))/0xc*(parseInt(_0x15636d(0x85))/0xd);if(_0x4bb1d4===_0x40e4ae)break;else _0x2cd112['push'](_0x2cd112['shift']());}catch(_0x3e3fea){_0x2cd112['push'](_0x2cd112['shift']());}}}(_0x5060,0xa86ac));import{AITabsView as _0x3211aa}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';function _0x5368(_0x3a34af,_0x20250c){const _0x50606a=_0x5060();return _0x5368=function(_0x536846,_0x329427){_0x536846=_0x536846-0x7a;let _0x27940e=_0x50606a[_0x536846];return _0x27940e;},_0x5368(_0x3a34af,_0x20250c);}export const AI_TABS_VIEW_TYPES=[_0x37a345(0x8d),_0x37a345(0x7c),_0x37a345(0x82)];export const AI_TABS_VIEW_SIDES=[_0x37a345(0x81),_0x37a345(0x93)];export class AITabsMainView extends _0x3211aa{constructor(_0x327953,_0x37c131={}){const _0x16817a=_0x37a345;super(_0x327953,_0x37c131),this[_0x16817a(0x8b)](_0x16817a(0x7a),_0x37c131[_0x16817a(0x7a)]||_0x16817a(0x7c)),this[_0x16817a(0x8b)](_0x16817a(0x7d),_0x37c131[_0x16817a(0x7d)]||_0x16817a(0x93));const _0x26eebd=this[_0x16817a(0x7e)];this[_0x16817a(0x87)]({'attributes':{'class':[_0x16817a(0x91),_0x26eebd['if'](_0x16817a(0x7a),_0x16817a(0x8c),_0x2c0813=>_0x16817a(0x8d)===_0x2c0813),_0x26eebd['if'](_0x16817a(0x7a),_0x16817a(0x92),_0x2bdced=>_0x16817a(0x7c)===_0x2bdced)]}}),this[_0x16817a(0x8a)]['on'](_0x16817a(0x86),(_0x23c519,_0x1278b3)=>{const _0xbc8542=_0x16817a;_0x1278b3[_0xbc8542(0x8b)](_0xbc8542(0x89),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c2112=_0x401c;(function(_0x58c9ff,_0x595dfd){const _0x127b49=_0x401c,_0x127b5a=_0x58c9ff();while(!![]){try{const _0x2bcbec=parseInt(_0x127b49(0x9d))/0x1+-parseInt(_0x127b49(0xb5))/0x2*(-parseInt(_0x127b49(0x9b))/0x3)+-parseInt(_0x127b49(0xc7))/0x4*(-parseInt(_0x127b49(0xa1))/0x5)+-parseInt(_0x127b49(0xce))/0x6+parseInt(_0x127b49(0xae))/0x7+parseInt(_0x127b49(0x87))/0x8+parseInt(_0x127b49(0xa7))/0x9*(-parseInt(_0x127b49(0x8e))/0xa);if(_0x2bcbec===_0x595dfd)break;else _0x127b5a['push'](_0x127b5a['shift']());}catch(_0x2c4f93){_0x127b5a['push'](_0x127b5a['shift']());}}}(_0xbf46,0x5a55f));import{View as _0x6f95fb}from'ckeditor5/src/ui.js';import{toArray as _0xc19e35,CKEditorError as _0x38658a}from'ckeditor5/src/utils.js';import{TabButtonView as _0x50fab4}from'./tabbuttonview.js';function _0x401c(_0x502321,_0x4a8f40){const _0xbf4651=_0xbf46();return _0x401c=function(_0x401c02,_0x18c5eb){_0x401c02=_0x401c02-0x86;let _0x590274=_0xbf4651[_0x401c02];return _0x590274;},_0x401c(_0x502321,_0x4a8f40);}function _0xbf46(){const _0x4ab546=['children','getIndex','2EbmcML','left','isMaximized','buttonLabel','buttonViews','activateTab','icon','length','show','render','get','ck-tabs_','ck-tabs','addTab','content','createCollection','_hidePanel','hide','37876BydHJq','set','panelViews','button','hideTab','find','_tabs','4409934dczaqH','isVisible','ck-tabs__buttons-container_','activeTab','div','975880TcUxVX','ck-tabs__panels-container','ui-tabsview-tab-not-found','ck-tabs__panels-container_','_getPanel','panel','activateTab:','1723310pRUYka','order','_getButton','_showButton','locale','_setupButton','ck-tabs__buttons-container','side','ck-reset','_hideButton','isOn','ck-ai-tabs_maximized','showTab','285459dgVVtP','add','544803mSHNsx','show:','class','getTab','255CwfugW','setTemplate','bindTemplate','_showPanel','fire','label','45lwfGom','buttonIcon','keys','hide:','right','bind','reduce','5052593rvZYkN','execute','addTab:','top','getTabIds'];_0xbf46=function(){return _0x4ab546;};return _0xbf46();}import{TabPanelView as _0x245399}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x3c2112(0xb1),_0x3c2112(0xb6),_0x3c2112(0xab)];export class AITabsView extends _0x6f95fb{[_0x3c2112(0xb9)]=this[_0x3c2112(0xc4)]();[_0x3c2112(0xc9)]=this[_0x3c2112(0xc4)]();[_0x3c2112(0xcd)]=new Map();constructor(_0x350f54,_0x2fd7cf={}){const _0x4be9f2=_0x3c2112;super(_0x350f54),this[_0x4be9f2(0xc8)](_0x4be9f2(0x9f),void 0x0),this[_0x4be9f2(0xc8)](_0x4be9f2(0xd1),null),this[_0x4be9f2(0xc8)](_0x4be9f2(0x95),_0x2fd7cf[_0x4be9f2(0x95)]||_0x4be9f2(0xb1)),this[_0x4be9f2(0xc8)](_0x4be9f2(0xb7),!0x1);const _0x36d74a=this[_0x4be9f2(0xa3)];this[_0x4be9f2(0xa2)]({'tag':_0x4be9f2(0x86),'attributes':{'class':['ck',_0x4be9f2(0x96),_0x4be9f2(0xc1),..._0xc19e35(_0x2fd7cf[_0x4be9f2(0x9f)]||[]),_0x36d74a['to'](_0x4be9f2(0x95),_0x3dbcf7=>_0x4be9f2(0xc0)+_0x3dbcf7),_0x36d74a['to'](_0x4be9f2(0x9f)),_0x36d74a['to'](_0x4be9f2(0xb7),_0x2ec549=>_0x2ec549?_0x4be9f2(0x99):'')],'tabindex':'0'},'children':[{'tag':_0x4be9f2(0x86),'attributes':{'class':['ck',_0x4be9f2(0x94),_0x36d74a['to'](_0x4be9f2(0x95),_0x1afe58=>_0x4be9f2(0xd0)+_0x1afe58)]},'children':this[_0x4be9f2(0xb9)]},{'tag':_0x4be9f2(0x86),'attributes':{'class':['ck',_0x4be9f2(0x88),_0x36d74a['to'](_0x4be9f2(0x95),_0x414394=>_0x4be9f2(0x8a)+_0x414394)]},'children':this[_0x4be9f2(0xc9)]},..._0xc19e35(_0x2fd7cf[_0x4be9f2(0xb3)]||[])]});}[_0x3c2112(0xb2)](){const _0x5991f6=_0x3c2112;return[...this[_0x5991f6(0xcd)][_0x5991f6(0xa9)]()];}[_0x3c2112(0xa0)](_0x533557){const _0x598769=_0x3c2112,_0x3e6d5a=this[_0x598769(0xcd)][_0x598769(0xbf)](_0x533557);return _0x3e6d5a||null;}[_0x3c2112(0xc2)](_0x56ea39){const _0x12950a=_0x3c2112,_0x4a50f5=this[_0x12950a(0x93)]({'id':_0x56ea39['id'],'label':_0x56ea39[_0x12950a(0xb8)],'icon':_0x56ea39[_0x12950a(0xa8)],'order':_0x56ea39[_0x12950a(0x8f)]}),_0x276905=new _0x245399(this[_0x12950a(0x92)]);return _0x276905[_0x12950a(0xbe)](),_0x56ea39[_0x12950a(0xc3)]&&_0x276905[_0x12950a(0xb3)][_0x12950a(0x9c)](_0x56ea39[_0x12950a(0xc3)]),this[_0x12950a(0xc9)][_0x12950a(0x9c)](_0x276905),this[_0x12950a(0xcd)][_0x12950a(0xc8)](_0x56ea39['id'],{'button':_0x4a50f5,'panel':_0x276905,'order':void 0x0!==_0x56ea39[_0x12950a(0x8f)]?_0x56ea39[_0x12950a(0x8f)]:null}),this[_0x12950a(0xa5)](_0x12950a(0xb0)+_0x56ea39['id'],{'id':_0x56ea39['id'],'button':_0x4a50f5,'panel':_0x276905}),null===this[_0x12950a(0xd1)]?this[_0x12950a(0xba)](_0x56ea39['id']):this[_0x12950a(0xc5)](_0x56ea39['id']),{'button':_0x4a50f5,'panel':_0x276905};}[_0x3c2112(0xba)](_0xa275cd){const _0x3d3737=_0x3c2112;if(null!==_0xa275cd&&!this[_0x3d3737(0xa0)](_0xa275cd))throw new _0x38658a(_0x3d3737(0x89),{'tabs':this,'tabId':_0xa275cd});this[_0x3d3737(0xd1)]!==_0xa275cd&&(this[_0x3d3737(0xd1)]&&this[_0x3d3737(0xc5)](this[_0x3d3737(0xd1)]),this[_0x3d3737(0xd1)]=_0xa275cd,_0xa275cd&&this[_0x3d3737(0xa4)](_0xa275cd),this[_0x3d3737(0xa5)](_0x3d3737(0x8d)+_0xa275cd,_0xa275cd));}[_0x3c2112(0x9a)](_0x4a9e2b){const _0x42c4a6=_0x3c2112;if(!this[_0x42c4a6(0xa0)](_0x4a9e2b))throw new _0x38658a(_0x42c4a6(0x89),{'tabs':this,'tabId':_0x4a9e2b});this[_0x42c4a6(0xa4)](_0x4a9e2b),this[_0x42c4a6(0x91)](_0x4a9e2b),this[_0x42c4a6(0xa5)](_0x42c4a6(0x9e)+_0x4a9e2b,_0x4a9e2b);}[_0x3c2112(0xcb)](_0x3d29b4){const _0x2a76a2=_0x3c2112;if(!this[_0x2a76a2(0xa0)](_0x3d29b4))throw new _0x38658a(_0x2a76a2(0x89),{'tabs':this,'tabId':_0x3d29b4});const _0x24e9db=this[_0x2a76a2(0xd1)];this[_0x2a76a2(0xc5)](_0x3d29b4),this[_0x2a76a2(0x97)](_0x3d29b4);const _0x2e6ccd=this[_0x2a76a2(0xb2)]();_0x24e9db===_0x3d29b4&&_0x2e6ccd[_0x2a76a2(0xbc)]>0x1&&this[_0x2a76a2(0xba)](_0x2e6ccd[_0x2a76a2(0xcc)](_0x397011=>_0x397011!==_0x3d29b4)),this[_0x2a76a2(0xa5)](_0x2a76a2(0xaa)+_0x3d29b4,_0x3d29b4);}[_0x3c2112(0x8b)](_0x8889e7){const _0x3b4266=_0x3c2112,_0x42f409=this[_0x3b4266(0xcd)][_0x3b4266(0xbf)](_0x8889e7);return _0x42f409?_0x42f409[_0x3b4266(0x8c)]:null;}[_0x3c2112(0xa4)](_0x5a7d8a){const _0x50d5b0=_0x3c2112;null!==this[_0x50d5b0(0xd1)]&&this[_0x50d5b0(0xd1)]!==_0x5a7d8a||this[_0x50d5b0(0x8b)](_0x5a7d8a)[_0x50d5b0(0xbd)]();}[_0x3c2112(0xc5)](_0xdaaa22){const _0x32e979=_0x3c2112,_0x451944=this[_0x32e979(0x8b)](_0xdaaa22);_0x451944[_0x32e979(0xcf)]&&(this[_0x32e979(0xd1)]===_0xdaaa22&&(this[_0x32e979(0xd1)]=null),_0x451944[_0x32e979(0xc6)]());}[_0x3c2112(0x90)](_0x4dee50){const _0x359991=_0x3c2112,_0x2ee108=this[_0x359991(0xcd)][_0x359991(0xbf)](_0x4dee50);return _0x2ee108?_0x2ee108[_0x359991(0xca)]:null;}[_0x3c2112(0x91)](_0x412868){const _0x2cd3e0=_0x3c2112;this[_0x2cd3e0(0x90)](_0x412868)[_0x2cd3e0(0xbd)]();}[_0x3c2112(0x97)](_0xf362ca){const _0xeb5aad=_0x3c2112;this[_0xeb5aad(0x90)](_0xf362ca)[_0xeb5aad(0xc6)]();}[_0x3c2112(0x93)](_0xf869d){const _0x7b0b82=_0x3c2112,_0x234f45=new _0x50fab4(this[_0x7b0b82(0x92)],{'side':this[_0x7b0b82(0x95)]}),_0x222fbf=this[_0x7b0b82(0xb9)];if(_0x234f45[_0x7b0b82(0xc8)]({'label':_0xf869d[_0x7b0b82(0xa6)],'icon':_0xf869d[_0x7b0b82(0xbb)],'tooltip':!0x0,'withText':!0x0}),_0x234f45[_0x7b0b82(0xac)](_0x7b0b82(0x98))['to'](this,_0x7b0b82(0xd1),_0x434443=>_0x434443===_0xf869d['id']),_0x234f45[_0x7b0b82(0xac)](_0x7b0b82(0x95))['to'](this,_0x7b0b82(0x95)),_0xf869d[_0x7b0b82(0x8f)]){const _0x2abc0a=[...this[_0x7b0b82(0xcd)]][_0x7b0b82(0xad)]((_0x272751,_0x5e50de)=>{const _0x3169d4=_0x7b0b82,_0x258531=_0x5e50de[0x0],{order:_0x1b0346}=_0x5e50de[0x1];return!_0x1b0346||_0x1b0346>_0xf869d[_0x3169d4(0x8f)]?_0x272751:_0x1b0346>=_0x272751[_0x3169d4(0x8f)]?{'id':_0x258531,'order':_0x1b0346}:_0x272751;},{'id':'','order':0x0}),_0x372c08=_0x222fbf[_0x7b0b82(0xb4)](this[_0x7b0b82(0x90)](_0x2abc0a['id']));_0x222fbf[_0x7b0b82(0x9c)](_0x234f45,_0x372c08+0x1);}else _0x222fbf[_0x7b0b82(0x9c)](_0x234f45);return _0x234f45['on'](_0x7b0b82(0xaf),()=>{const _0xb484d9=_0x7b0b82;this[_0xb484d9(0xba)](_0xf869d['id']);}),_0x234f45;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x20ec(_0x4bfcbb,_0x4536c7){const _0x512a88=_0x512a();return _0x20ec=function(_0x20ec4e,_0x290462){_0x20ec4e=_0x20ec4e-0x106;let _0x4e407c=_0x512a88[_0x20ec4e];return _0x4e407c;},_0x20ec(_0x4bfcbb,_0x4536c7);}const _0x330d05=_0x20ec;(function(_0x9b8324,_0x3db201){const _0x422856=_0x20ec,_0x2bbc0d=_0x9b8324();while(!![]){try{const _0x458d3e=parseInt(_0x422856(0x111))/0x1+-parseInt(_0x422856(0x107))/0x2*(-parseInt(_0x422856(0x11b))/0x3)+-parseInt(_0x422856(0x108))/0x4+parseInt(_0x422856(0x10d))/0x5*(parseInt(_0x422856(0x11a))/0x6)+-parseInt(_0x422856(0x10e))/0x7+parseInt(_0x422856(0x106))/0x8*(parseInt(_0x422856(0x110))/0x9)+-parseInt(_0x422856(0x114))/0xa;if(_0x458d3e===_0x3db201)break;else _0x2bbc0d['push'](_0x2bbc0d['shift']());}catch(_0x5b7dd5){_0x2bbc0d['push'](_0x2bbc0d['shift']());}}}(_0x512a,0x5d915));import{ButtonView as _0x4b69f2}from'ckeditor5/src/ui.js';import{toArray as _0x50334e}from'ckeditor5/src/utils.js';function _0x512a(){const _0x3069d3=['side','1417758ZXxSmB','3FKJlep','8Tkldyx','1502110DRelwt','2912600SCeszp','ck-tab-button','top','show','set','10lPPotP','403263XNJAnr','class','395541vpLfPG','474998ANaRlA','isVisible','ck-tab-button_','5735760CFryXi','hide','isToggleable','extendTemplate','bindTemplate'];_0x512a=function(){return _0x3069d3;};return _0x512a();}import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0x4b69f2{constructor(_0x12ff77,_0x2ea329={}){const _0x1f3d37=_0x20ec;super(_0x12ff77),this[_0x1f3d37(0x116)]=!0x0,this[_0x1f3d37(0x10c)](_0x1f3d37(0x119),_0x2ea329[_0x1f3d37(0x119)]||_0x1f3d37(0x10a));const _0xd2c22d=this[_0x1f3d37(0x118)];this[_0x1f3d37(0x117)]({'attributes':{'class':[_0x1f3d37(0x109),..._0x50334e(_0x2ea329[_0x1f3d37(0x10f)]||[]),_0xd2c22d['to'](_0x1f3d37(0x119),_0x2becb6=>_0x1f3d37(0x113)+_0x2becb6),_0xd2c22d['to'](_0x1f3d37(0x10f))]}});}[_0x330d05(0x10b)](){const _0x6e9b4=_0x330d05;this[_0x6e9b4(0x10c)](_0x6e9b4(0x112),!0x0);}[_0x330d05(0x115)](){const _0x33c127=_0x330d05;this[_0x33c127(0x10c)](_0x33c127(0x112),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2efc(_0x194f94,_0x4bed06){const _0x16411b=_0x1641();return _0x2efc=function(_0x2efc01,_0x3740ee){_0x2efc01=_0x2efc01-0x1e8;let _0x36543a=_0x16411b[_0x2efc01];return _0x36543a;},_0x2efc(_0x194f94,_0x4bed06);}const _0x5472a3=_0x2efc;(function(_0x5d6bed,_0x4d4b22){const _0xd17197=_0x2efc,_0x1675ba=_0x5d6bed();while(!![]){try{const _0x2f8c1f=-parseInt(_0xd17197(0x1ec))/0x1+parseInt(_0xd17197(0x1f8))/0x2+-parseInt(_0xd17197(0x1f2))/0x3+-parseInt(_0xd17197(0x1e9))/0x4*(parseInt(_0xd17197(0x1f1))/0x5)+parseInt(_0xd17197(0x1e8))/0x6+-parseInt(_0xd17197(0x1eb))/0x7*(parseInt(_0xd17197(0x1ef))/0x8)+parseInt(_0xd17197(0x1f9))/0x9;if(_0x2f8c1f===_0x4d4b22)break;else _0x1675ba['push'](_0x1675ba['shift']());}catch(_0x155240){_0x1675ba['push'](_0x1675ba['shift']());}}}(_0x1641,0x6b8fc));function _0x1641(){const _0x5732d7=['6868044OzIXUu','show','children','div','3964746KFlShh','12QBonYm','setTemplate','7ipCRdW','300334JpVsfm','hide','ck-tab-panel','3728432FaTqyE','class','792240Vrplsh','67800MtNmPQ','set','isVisible','bindTemplate','createCollection','ck-hidden','561994HyUWvW'];_0x1641=function(){return _0x5732d7;};return _0x1641();}import{View as _0xeb5b1c}from'ckeditor5/src/ui.js';import{toArray as _0x2bbe25}from'ckeditor5/src/utils.js';export class TabPanelView extends _0xeb5b1c{[_0x5472a3(0x1fb)];constructor(_0x3f4104,_0x425167={}){const _0x406845=_0x5472a3;super(_0x3f4104);const _0x38f438=this[_0x406845(0x1f5)];this[_0x406845(0x1f3)](_0x406845(0x1f4),!0x1),this[_0x406845(0x1fb)]=this[_0x406845(0x1f6)](),this[_0x406845(0x1ea)]({'tag':_0x406845(0x1fc),'attributes':{'class':[_0x406845(0x1ee),..._0x2bbe25(_0x425167[_0x406845(0x1f0)]||[]),_0x38f438['to'](_0x406845(0x1f0)),_0x38f438['if'](_0x406845(0x1f4),_0x406845(0x1f7),_0x38bcbf=>!_0x38bcbf)]},'children':this[_0x406845(0x1fb)]});}[_0x5472a3(0x1fa)](){const _0x36739e=_0x5472a3;this[_0x36739e(0x1f3)](_0x36739e(0x1f4),!0x0);}[_0x5472a3(0x1ed)](){const _0x1351a3=_0x5472a3;this[_0x1351a3(0x1f3)](_0x1351a3(0x1f4),!0x1);}}
|