@ckeditor/ckeditor5-ai 47.6.0-alpha.8 → 47.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- 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/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.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/ui/aichatballoonview.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/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.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/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.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/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 +2 -2
- 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/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.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/aimodels.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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.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/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.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/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.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/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x4ae0f5,IconView as _0x5038d7,View as _0x503921,ViewCollection as _0x2221c0,ButtonView as _0x40eae7,clickOutsideHandler as _0xa6e2da}from'ckeditor5/src/ui.js';import{IconChevronRight as _0xca59ca}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x58998f}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x415504}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x4ae0f5{['_formItemsCollection']=new _0x2221c0();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x29251a,_0x363214,_0x328a9e,_0x4d8bb6=!0x1){super(_0x29251a),this['_hideModels']=_0x4d8bb6,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x363214['isParameterized']);const _0x4fa2dd=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x31279a=>_0x31279a),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x2b48a9=>_0x2b48a9)],'style':{'--ck-ai-review-check-list-item-index':_0x328a9e}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x363214['title']}]},_0x4fa2dd]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x363214['description']?[{'text':_0x363214['description']}]:[]}]}]},..._0x363214['isParameterized']?[this['_createParameterizedView'](_0x363214)]:[],...'custom'===_0x363214['id']?[this['_createCustomView'](_0x363214,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x363214['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x363214['id'],'args':_0x363214['useArgs']?_0x363214['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0xa6e2da({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x52743a=>{_0x52743a['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x4ac7e9=new _0x5038d7();return _0x4ac7e9['content']=_0xca59ca,_0x4ac7e9['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x4ac7e9;}['_createParameterizedView'](_0x3bd769){const _0x8898ed=new _0x503921(),_0x31f747=this['_createFormView'](_0x3bd769);return _0x8898ed['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x16f174=>!_0x16f174)]},'children':[_0x31f747]}),_0x8898ed;}['_createFormView'](_0x3834f3){const _0x236da6=new _0x503921(),_0x913230=Array['isArray'](_0x3834f3['options'])?_0x3834f3['options']:[],_0x3fe5fa=new _0x40eae7(this['locale']),t=this['locale']['t'];_0x3fe5fa['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3fe5fa['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x38dde3=>{_0x38dde3['stopPropagation']();})}}),_0x3fe5fa['on']('execute',()=>{const _0x4dc3d0=[],_0x5c67fb={};this['_formItemsCollection']['forEach'](_0x28e861=>{_0x4dc3d0['push'](_0x28e861['value']),_0x3834f3['useArgs']&&_0x3834f3['options']&&(_0x5c67fb[_0x28e861['argsKey']]=_0x28e861['value']);}),this['fire']('runReviewCheck',{'id':_0x3834f3['id'],'params':_0x4dc3d0['length']?_0x4dc3d0:void 0x0,'args':Object['keys'](_0x5c67fb)['length']?_0x5c67fb:void 0x0});});const _0x37636d=_0x913230['length'];return _0x913230['forEach']((_0x136afe,_0x2b0689)=>{const _0x35eb2a=_0x2b0689===_0x37636d-0x1;this['_formItemsCollection']['add'](new _0x58998f(this['locale'],_0x136afe,_0x35eb2a?_0x3fe5fa:null));}),_0x236da6['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x236da6;}['_createCustomView'](_0xb07235,_0x14e99e=!0x1){return this['_customCheckView']=new _0x415504(this['locale'],_0xb07235,_0x14e99e),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x21cb00=>!_0x21cb00)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x3060ed,_0x2e7fed,_0x172a63)=>{_0x172a63||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x55322d=_0x1b32;(function(_0x31aed9,_0x13cb53){const _0x1d6996=_0x1b32,_0x4d0017=_0x31aed9();while(!![]){try{const _0x498574=parseInt(_0x1d6996(0x89))/0x1*(parseInt(_0x1d6996(0x7b))/0x2)+-parseInt(_0x1d6996(0x8d))/0x3*(-parseInt(_0x1d6996(0x8f))/0x4)+parseInt(_0x1d6996(0x85))/0x5*(parseInt(_0x1d6996(0x81))/0x6)+parseInt(_0x1d6996(0x8c))/0x7+-parseInt(_0x1d6996(0x7a))/0x8*(-parseInt(_0x1d6996(0x7f))/0x9)+-parseInt(_0x1d6996(0x78))/0xa+parseInt(_0x1d6996(0x83))/0xb*(-parseInt(_0x1d6996(0x86))/0xc);if(_0x498574===_0x13cb53)break;else _0x4d0017['push'](_0x4d0017['shift']());}catch(_0x58749f){_0x4d0017['push'](_0x4d0017['shift']());}}}(_0x2661,0xea02b));import{ListItemView as _0x1fa830,View as _0x1c1e31}from'ckeditor5/src/ui.js';function _0x2661(){const _0x59a7d7=['isVisible','span','finishReview','locale','ck-ai_review__review-completed-content-text','emptyResultsText','setTemplate','delegate','ck-ai_review__review-completed-header-buttons','div','ck-ai_review__review-completed-header-title','2682750mREqEA','buttonText','424NJpKJx','918604fvAbmr','ck-hidden','bindTemplate','ck-ai_review__review-completed-content-icon','220383PzEExP','ck-ai_review__review-completed-content','90pdNXeX','_createFinishReviewButtonView','165704DfdDCi','ck-ai_review__review-completed','363255BdeMyb','3336zNgjXG','headerText','_finishReviewButtonView','1qtnaYZ','_resultsHeader','ck-ai_review__review-completed-header','7640843OkOXeN','387DlYNxs','_createResultHeaderView','45772rknvHZ'];_0x2661=function(){return _0x59a7d7;};return _0x2661();}import{AIReviewCoreFinishReviewButtonView as _0xcb7097}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x1b32(_0x2abec0,_0x3cfa28){const _0x266149=_0x2661();return _0x1b32=function(_0x1b323b,_0x2d145e){_0x1b323b=_0x1b323b-0x78;let _0x91c36c=_0x266149[_0x1b323b];return _0x91c36c;},_0x1b32(_0x2abec0,_0x3cfa28);}export class AIReviewCoreReviewCompletedView extends _0x1fa830{[_0x55322d(0x8a)];[_0x55322d(0x88)];constructor(_0x169dfa,_0x17e030){const _0x556422=_0x55322d;super(_0x169dfa),this[_0x556422(0x88)]=this[_0x556422(0x82)](_0x17e030[_0x556422(0x79)]),this[_0x556422(0x8a)]=this[_0x556422(0x8e)](_0x17e030[_0x556422(0x87)]);const _0x1f403a=this[_0x556422(0x7d)];this[_0x556422(0x96)]({'tag':_0x556422(0x99),'attributes':{'class':[_0x556422(0x84),_0x1f403a['if'](_0x556422(0x90),_0x556422(0x7c),_0xdf9907=>!_0xdf9907)]},'children':[this[_0x556422(0x8a)],{'tag':_0x556422(0x99),'attributes':{'class':[_0x556422(0x80)]},'children':[{'tag':_0x556422(0x91),'attributes':{'class':[_0x556422(0x7e)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x556422(0x94)]},'children':[{'text':_0x17e030[_0x556422(0x95)]}]}]}]});}[_0x55322d(0x82)](_0xe974e7){const _0x413315=_0x55322d,_0x1b1d8d=new _0xcb7097(_0xe974e7,this[_0x413315(0x93)]);return _0x1b1d8d[_0x413315(0x97)](_0x413315(0x92))['to'](this),_0x1b1d8d;}[_0x55322d(0x8e)](_0x51e45a){const _0x3c6f95=_0x55322d,_0x2a9577=new _0x1c1e31(this[_0x3c6f95(0x93)]);return _0x2a9577[_0x3c6f95(0x96)]({'tag':_0x3c6f95(0x99),'attributes':{'class':[_0x3c6f95(0x8b)]},'children':[{'tag':_0x3c6f95(0x91),'attributes':{'class':[_0x3c6f95(0x9a)]},'children':[{'text':_0x51e45a}]},{'tag':_0x3c6f95(0x99),'attributes':{'class':[_0x3c6f95(0x98)]},'children':[this[_0x3c6f95(0x88)]]}]}),_0x2a9577;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0x4d42a6,View as _0x2c7e90,ViewCollection as _0x244cb4,ButtonView as _0x17a9ff}from'ckeditor5/src/ui.js';import{IconStop as _0x34b045,IconEye as _0x482a98,IconEyeCrossedOut as _0x19c88c}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x413a56,SKELETON_DEFINITIONS as _0x20435b}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x56c0e6}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x36255e}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x2e0980}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x109cbf}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x8b81a8}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x4d42a6{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x572e6a,_0x29512c){super(_0x572e6a),this['_contents']=_0x29512c,this['_resultViews']=new _0x244cb4(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x56c0e6(_0x572e6a),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x5e01fd=this['_createCombinedSkeletonLoader'](),_0xa318cb=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0xa318cb['if']('isLoading','ck-ai_review__check-run_loading',_0x3fffe6=>_0x3fffe6),_0xa318cb['if']('isResultReady','ck-ai_review__check-run_ready',_0x4911c8=>_0x4911c8),_0xa318cb['if']('isVisible','ck-hidden',_0x566a0e=>!_0x566a0e)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x46df70=>_0x46df70)]},'children':this['_resultViews']},_0x5e01fd]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1e8ec3){const _0x2a104b=new _0x109cbf(this['locale'],_0x1e8ec3['id']);_0x2a104b['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x2a104b),_0x2a104b['resultResponseView']['element']['innerHTML']=_0x1e8ec3['contentDiffed'];}['hideResult'](_0x278aac,_0xd451bd){if('pending'===_0xd451bd)return;const _0x522a98=this['_resultViews']['find'](_0x262bcd=>_0x262bcd['id']===_0x278aac);_0x522a98&&(_0x522a98['status']=_0xd451bd,_0x522a98['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x33de12,_0x4a30fd){if('pending'!==_0x4a30fd)return;const _0x3a0898=this['_resultViews']['find'](_0x424c0c=>_0x424c0c['id']===_0x33de12);_0x3a0898&&(_0x3a0898['status']=_0x4a30fd,_0x3a0898['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x83feb6,_0x13bec0){this['headerTitle']=_0x83feb6,this['headerSubtitle']=_0x13bec0||'';}['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 _0x413a56(this['locale'],_0x20435b['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x523baa=new _0x2c7e90(this['locale']),_0x538391=[];for(let _0x2b33b8=0x0;_0x2b33b8<0x10;_0x2b33b8++){const _0x52692f=this['_createSkeletonLoader']();_0x52692f['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x538391['push'](_0x52692f);}return _0x523baa['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x39e222=>!_0x39e222)]},'children':_0x538391}),_0x523baa;}['_createErrorView'](){const _0x283279=new _0x2c7e90(this['locale']),_0x176ba5=new _0x17a9ff(this['locale']),t=this['locale']['t'];return _0x283279['delegate']('retryReview')['to'](this),_0x176ba5['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x176ba5['on']('execute',()=>{this['fire']('retryReview');}),_0x283279['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x2e13c7=>!_0x2e13c7),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x26f2f7=>'chunk'===_0x26f2f7)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x3458f5=>'chunk'===_0x3458f5)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x304006=>'general'!==_0x304006)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2f0b10=>'chunk'!==_0x2f0b10)]},'children':[{'text':_0x36255e(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x176ba5]}),_0x283279;}['_createCancelButtonView'](){const _0x246b08=new _0x17a9ff(this['locale']);return _0x246b08['set']({'label':_0x36255e(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x34b045}),_0x246b08['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x568d0f=>_0x568d0f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2b3c60=>_0x2b3c60)]}}),_0x246b08['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x246b08;}['_createToggleDiffButtonView'](){const _0x201749=new _0x17a9ff(this['locale']);_0x201749['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x201749['bind']('isEnabled')['to'](this,'isError',_0x405c41=>!_0x405c41),_0x201749['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3651e6=>!_0x3651e6),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5225a3=>_0x5225a3)]}});const _0x353f8a=_0x36255e(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x24070e=_0x36255e(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x201749['bind']('isOn')['to'](this,'isToggleDiffOn',_0x34431b=>_0x34431b),_0x201749['bind']('icon')['to'](this,'isToggleDiffOn',_0x29be05=>_0x29be05?_0x482a98:_0x19c88c),_0x201749['bind']('label')['to'](this,'isToggleDiffOn',_0x230d03=>_0x230d03?_0x353f8a:_0x24070e),_0x201749['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x201749;}['_createAcceptAllButtonView'](){const _0x57c8e8=new _0x17a9ff(this['locale']);return _0x57c8e8['set']({'label':_0x36255e(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x57c8e8['bind']('isEnabled')['to'](this,'isError',_0x1504b5=>!_0x1504b5),_0x57c8e8['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x904e09=>!_0x904e09),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x258635=>_0x258635)]}}),_0x57c8e8['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x57c8e8;}['_createExitReviewButtonView'](){const _0x5a711b=new _0x17a9ff(this['locale']);return _0x5a711b['set']({'label':_0x36255e(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x5a711b['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x116d72=>!_0x116d72),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x167f9e=>_0x167f9e)]}}),_0x5a711b['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x5a711b;}['_createResultHeaderView'](){const _0x223f84=new _0x2c7e90(this['locale']),_0x24ba66=this['_createTitleView']();return _0x223f84['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x54cb49=>_0x54cb49)]},'children':[_0x24ba66,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x223f84;}['_createTitleView'](){const _0x4defaa=new _0x2c7e90(this['locale']),_0x1e04fb=new _0x2e0980();return _0x1e04fb['bind']('isVisible')['to'](this,'isResultReady',_0xc486d2=>!_0xc486d2),_0x4defaa['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x1e04fb,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1d1bb9=>_0x1d1bb9)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x363d47=>!_0x363d47)]},'children':[{'text':_0x36255e(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x4defaa;}['_createFinishReviewButtonView'](){const _0x2f1f9f=new _0x8b81a8(_0x36255e(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x2f1f9f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0xcc59df=>!_0xcc59df)]}}),_0x2f1f9f['delegate']('finishReview')['to'](this),_0x2f1f9f;}}
|
|
23
|
+
import{ListItemView as _0x323ff7,View as _0x580dd1,ViewCollection as _0x268275,ButtonView as _0x5b5668}from'ckeditor5/src/ui.js';import{IconStop as _0x2ec583,IconEye as _0xc5b86b,IconEyeCrossedOut as _0x596bfd}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x1743e9,SKELETON_DEFINITIONS as _0x2a285a}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x24a9c8}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1d9b51}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x298550}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x16ed99}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x49d655}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x323ff7{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x39c349,_0x24c70c){super(_0x39c349),this['_contents']=_0x24c70c,this['_resultViews']=new _0x268275(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x24a9c8(_0x39c349),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x1e8ce6=this['_createCombinedSkeletonLoader'](),_0x49df54=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x49df54['if']('isLoading','ck-ai_review__check-run_loading',_0x4c666d=>_0x4c666d),_0x49df54['if']('isResultReady','ck-ai_review__check-run_ready',_0x27c2ec=>_0x27c2ec),_0x49df54['if']('isVisible','ck-hidden',_0x42ce31=>!_0x42ce31)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x4d918d=>_0x4d918d)]},'children':this['_resultViews']},_0x1e8ce6]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x2a6a07){const _0x251e78=new _0x16ed99(this['locale'],_0x2a6a07['id']);_0x251e78['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x251e78),_0x251e78['resultResponseView']['element']['innerHTML']=_0x2a6a07['contentDiffed'];}['hideResult'](_0x4f8575,_0x4bffdb){if('pending'===_0x4bffdb)return;const _0x2e66e6=this['_resultViews']['find'](_0x5836f0=>_0x5836f0['id']===_0x4f8575);_0x2e66e6&&(_0x2e66e6['status']=_0x4bffdb,_0x2e66e6['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0xa32043,_0x5965f7){if('pending'!==_0x5965f7)return;const _0x417dfb=this['_resultViews']['find'](_0x5a6919=>_0x5a6919['id']===_0xa32043);_0x417dfb&&(_0x417dfb['status']=_0x5965f7,_0x417dfb['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x3e99e4,_0x5e8569){this['headerTitle']=_0x3e99e4,this['headerSubtitle']=_0x5e8569||'';}['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 _0x1743e9(this['locale'],_0x2a285a['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x881541=new _0x580dd1(this['locale']),_0xef818e=[];for(let _0x472f86=0x0;_0x472f86<0x10;_0x472f86++){const _0x5c85b0=this['_createSkeletonLoader']();_0x5c85b0['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0xef818e['push'](_0x5c85b0);}return _0x881541['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x586765=>!_0x586765)]},'children':_0xef818e}),_0x881541;}['_createErrorView'](){const _0x549e39=new _0x580dd1(this['locale']),_0x2f109e=new _0x5b5668(this['locale']),t=this['locale']['t'];return _0x549e39['delegate']('retryReview')['to'](this),_0x2f109e['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x2f109e['on']('execute',()=>{this['fire']('retryReview');}),_0x549e39['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x2ed4b0=>!_0x2ed4b0),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x37bcd8=>'chunk'===_0x37bcd8)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x5b9947=>'chunk'===_0x5b9947)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x9bd9d7=>'general'!==_0x9bd9d7)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x46a9b1=>'chunk'!==_0x46a9b1)]},'children':[{'text':_0x1d9b51(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x2f109e]}),_0x549e39;}['_createCancelButtonView'](){const _0x446b3e=new _0x5b5668(this['locale']);return _0x446b3e['set']({'label':_0x1d9b51(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x2ec583}),_0x446b3e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x43099f=>_0x43099f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2b8d17=>_0x2b8d17)]}}),_0x446b3e['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x446b3e;}['_createToggleDiffButtonView'](){const _0x5c8a92=new _0x5b5668(this['locale']);_0x5c8a92['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x5c8a92['bind']('isEnabled')['to'](this,'isError',_0x116cfb=>!_0x116cfb),_0x5c8a92['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1c1bd4=>!_0x1c1bd4),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1ec18f=>_0x1ec18f)]}});const _0x2b50aa=_0x1d9b51(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x2a6e16=_0x1d9b51(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x5c8a92['bind']('isOn')['to'](this,'isToggleDiffOn',_0x1460d4=>_0x1460d4),_0x5c8a92['bind']('icon')['to'](this,'isToggleDiffOn',_0x2744c5=>_0x2744c5?_0xc5b86b:_0x596bfd),_0x5c8a92['bind']('label')['to'](this,'isToggleDiffOn',_0x553908=>_0x553908?_0x2b50aa:_0x2a6e16),_0x5c8a92['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x5c8a92;}['_createAcceptAllButtonView'](){const _0x977f40=new _0x5b5668(this['locale']);return _0x977f40['set']({'label':_0x1d9b51(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x977f40['bind']('isEnabled')['to'](this,'isError',_0x5bb6c2=>!_0x5bb6c2),_0x977f40['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3c77e4=>!_0x3c77e4),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x552597=>_0x552597)]}}),_0x977f40['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x977f40;}['_createExitReviewButtonView'](){const _0x5248aa=new _0x5b5668(this['locale']);return _0x5248aa['set']({'label':_0x1d9b51(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x5248aa['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x33bf6d=>!_0x33bf6d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x16619a=>_0x16619a)]}}),_0x5248aa['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x5248aa;}['_createResultHeaderView'](){const _0x1a152a=new _0x580dd1(this['locale']),_0x5b100b=this['_createTitleView']();return _0x1a152a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x39616f=>_0x39616f)]},'children':[_0x5b100b,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x1a152a;}['_createTitleView'](){const _0x482dda=new _0x580dd1(this['locale']),_0x45b788=new _0x298550();return _0x45b788['bind']('isVisible')['to'](this,'isResultReady',_0xba510b=>!_0xba510b),_0x482dda['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x45b788,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x33d1b6=>_0x33d1b6)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x43a5cf=>!_0x43a5cf)]},'children':[{'text':_0x1d9b51(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x482dda;}['_createFinishReviewButtonView'](){const _0x4392e2=new _0x49d655(_0x1d9b51(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x4392e2['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1d65c9=>!_0x1d65c9)]}}),_0x4392e2['delegate']('finishReview')['to'](this),_0x4392e2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x5a2ecf=_0x18da;function _0x18da(_0x46b13d,_0x27fd8c){var _0xd98ba5=_0xd98b();return _0x18da=function(_0x18da0a,_0x4dd4b7){_0x18da0a=_0x18da0a-0x1e9;var _0x878a89=_0xd98ba5[_0x18da0a];return _0x878a89;},_0x18da(_0x46b13d,_0x27fd8c);}(function(_0x247d29,_0x14a08e){var _0x3e9958=_0x18da,_0x4895c1=_0x247d29();while(!![]){try{var _0x1263c3=-parseInt(_0x3e9958(0x1fd))/0x1*(-parseInt(_0x3e9958(0x1f4))/0x2)+parseInt(_0x3e9958(0x217))/0x3+parseInt(_0x3e9958(0x207))/0x4+-parseInt(_0x3e9958(0x214))/0x5*(parseInt(_0x3e9958(0x20f))/0x6)+-parseInt(_0x3e9958(0x1ff))/0x7*(parseInt(_0x3e9958(0x1f0))/0x8)+parseInt(_0x3e9958(0x209))/0x9*(parseInt(_0x3e9958(0x1ec))/0xa)+-parseInt(_0x3e9958(0x1f3))/0xb;if(_0x1263c3===_0x14a08e)break;else _0x4895c1['push'](_0x4895c1['shift']());}catch(_0x150163){_0x4895c1['push'](_0x4895c1['shift']());}}}(_0xd98b,0xe7f2a));import{View as _0x45129a}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x1507d4}from'../aireviewcoreui.js';function _0xd98b(){var _0x4c62bb=['clearResults','resetErrorState','2003331QmYULT','3904YukWdX','finishReview','isLoading','reviewCoreHeader','showActionsWhenResultIsReady','showReviewCheckListView','completed','resetAllParameterizedChecks','list','214awlZwk','ck-ai-review','651EnDAEQ','ltr','showReviewCompletedView','generalErrorView','showReviewCheckResultsView','div','reviewCheckResultsView','showGeneralResultsErrorView','4167888IVkZIF','set','153kMHJIK','addResult','showNoChangesView','reviewCompletedView','delegate','isResultReady','8405070vAgHsp','addCheckRunResult','showChunkErrorView','setTemplate','results','5Apekep','showChunkErrorMessage','ck-rounded-corners','5643558xOrWaA','showGeneralReviewCoreErrorView','reviewCheckListView','errorMessage','hideActionsWhenResultIsReady','header','isVisible','204070SiIlFs','showGeneralErrorMessage','isCompleted','ck-reset_all','99336faQsUm'];_0xd98b=function(){return _0x4c62bb;};return _0xd98b();}import{AIReviewCoreGeneralErrorView as _0x3a6218}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x45129a{[_0x5a2ecf(0x1f7)];[_0x5a2ecf(0x202)];[_0x5a2ecf(0x219)];[_0x5a2ecf(0x205)];[_0x5a2ecf(0x20c)];constructor(_0x1efced,_0x450619){var _0x3acd69=_0x5a2ecf;super(_0x1efced),this[_0x3acd69(0x1f7)]=_0x450619[_0x3acd69(0x1ea)],this[_0x3acd69(0x202)]=new _0x3a6218(_0x1efced),this[_0x3acd69(0x219)]=_0x450619[_0x3acd69(0x1fc)],this[_0x3acd69(0x219)][_0x3acd69(0x20d)](..._0x1507d4)['to'](this),this[_0x3acd69(0x205)]=_0x450619[_0x3acd69(0x213)],this[_0x3acd69(0x205)][_0x3acd69(0x20d)](..._0x1507d4)['to'](this),this[_0x3acd69(0x20c)]=_0x450619[_0x3acd69(0x1fa)],this[_0x3acd69(0x20c)][_0x3acd69(0x20d)](_0x3acd69(0x1f5))['to'](this),this[_0x3acd69(0x219)][_0x3acd69(0x208)](_0x3acd69(0x1eb),!0x1),this[_0x3acd69(0x205)][_0x3acd69(0x208)](_0x3acd69(0x1eb),!0x1),this[_0x3acd69(0x205)][_0x3acd69(0x208)](_0x3acd69(0x1f6),!0x1),this[_0x3acd69(0x205)][_0x3acd69(0x208)](_0x3acd69(0x20e),!0x1),this[_0x3acd69(0x20c)][_0x3acd69(0x208)](_0x3acd69(0x1eb),!0x1),this[_0x3acd69(0x212)]({'tag':_0x3acd69(0x204),'attributes':{'class':['ck',_0x3acd69(0x1ef),_0x3acd69(0x1fe),_0x3acd69(0x216)],'dir':_0x3acd69(0x200)},'children':[this[_0x3acd69(0x1f7)],this[_0x3acd69(0x202)],this[_0x3acd69(0x219)],this[_0x3acd69(0x205)],this[_0x3acd69(0x20c)]]});}[_0x5a2ecf(0x1f9)](){var _0x33c407=_0x5a2ecf;this[_0x33c407(0x219)][_0x33c407(0x1fb)](),this[_0x33c407(0x219)][_0x33c407(0x208)](_0x33c407(0x1eb),!0x0),this[_0x33c407(0x205)][_0x33c407(0x208)](_0x33c407(0x1eb),!0x1),this[_0x33c407(0x20c)][_0x33c407(0x208)](_0x33c407(0x1eb),!0x1);}[_0x5a2ecf(0x203)](){var _0x27f14c=_0x5a2ecf;this[_0x27f14c(0x1e9)](),this[_0x27f14c(0x205)][_0x27f14c(0x1f2)](),this[_0x27f14c(0x219)][_0x27f14c(0x208)](_0x27f14c(0x1eb),!0x1),this[_0x27f14c(0x205)][_0x27f14c(0x208)](_0x27f14c(0x1eb),!0x0),this[_0x27f14c(0x205)][_0x27f14c(0x1f1)](),this[_0x27f14c(0x205)][_0x27f14c(0x208)](_0x27f14c(0x1f6),!0x0),this[_0x27f14c(0x205)][_0x27f14c(0x208)](_0x27f14c(0x1ee),!0x1);}[_0x5a2ecf(0x210)](_0x4e1c08){var _0x3ecd33=_0x5a2ecf;this[_0x3ecd33(0x205)][_0x3ecd33(0x20a)](_0x4e1c08),this[_0x3ecd33(0x205)][_0x3ecd33(0x208)](_0x3ecd33(0x1f6),!0x1);}[_0x5a2ecf(0x201)](){var _0x16d5b1=_0x5a2ecf;this[_0x16d5b1(0x205)][_0x16d5b1(0x208)](_0x16d5b1(0x1eb),!0x0),this[_0x16d5b1(0x20c)][_0x16d5b1(0x208)](_0x16d5b1(0x1eb),!0x1),this[_0x16d5b1(0x205)][_0x16d5b1(0x208)](_0x16d5b1(0x1ee),!0x0),this[_0x16d5b1(0x219)][_0x16d5b1(0x208)](_0x16d5b1(0x1eb),!0x1);}[_0x5a2ecf(0x1f8)](){var _0x194c09=_0x5a2ecf;this[_0x194c09(0x205)][_0x194c09(0x20e)]?(this[_0x194c09(0x219)][_0x194c09(0x208)](_0x194c09(0x1eb),!0x1),this[_0x194c09(0x205)][_0x194c09(0x208)](_0x194c09(0x1eb),!0x0),this[_0x194c09(0x20c)][_0x194c09(0x208)](_0x194c09(0x1eb),!0x1)):this[_0x194c09(0x205)][_0x194c09(0x20e)]=!0x0;}[_0x5a2ecf(0x20b)](){var _0x1ec4ee=_0x5a2ecf;this[_0x1ec4ee(0x219)][_0x1ec4ee(0x208)](_0x1ec4ee(0x1eb),!0x1),this[_0x1ec4ee(0x205)][_0x1ec4ee(0x208)](_0x1ec4ee(0x1eb),!0x1),this[_0x1ec4ee(0x20c)][_0x1ec4ee(0x208)](_0x1ec4ee(0x1eb),!0x0);}[_0x5a2ecf(0x1e9)](){var _0x39121=_0x5a2ecf;this[_0x39121(0x205)][_0x39121(0x20e)]=!0x1;}[_0x5a2ecf(0x218)](_0xcf3791){var _0x519281=_0x5a2ecf;this[_0x519281(0x202)][_0x519281(0x208)](_0x519281(0x1eb),!0x0),this[_0x519281(0x202)][_0x519281(0x21a)]=_0xcf3791;}[_0x5a2ecf(0x206)](){var _0xbfd9f=_0x5a2ecf;this[_0xbfd9f(0x205)][_0xbfd9f(0x208)](_0xbfd9f(0x1f6),!0x1),this[_0xbfd9f(0x1f8)](),this[_0xbfd9f(0x205)][_0xbfd9f(0x1ed)]();}[_0x5a2ecf(0x211)](){var _0x33dfab=_0x5a2ecf;this[_0x33dfab(0x205)][_0x33dfab(0x208)](_0x33dfab(0x1f6),!0x1),this[_0x33dfab(0x1f8)](),this[_0x33dfab(0x205)][_0x33dfab(0x215)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x552a2f=_0x18c4;(function(_0x5bd427,_0xacf1ef){const _0x47b2f2=_0x18c4,_0x4be23f=_0x5bd427();while(!![]){try{const _0x2ad360=parseInt(_0x47b2f2(0x1d1))/0x1+-parseInt(_0x47b2f2(0x1e2))/0x2*(-parseInt(_0x47b2f2(0x1d0))/0x3)+-parseInt(_0x47b2f2(0x1d9))/0x4*(parseInt(_0x47b2f2(0x1c8))/0x5)+-parseInt(_0x47b2f2(0x1e8))/0x6*(-parseInt(_0x47b2f2(0x1cb))/0x7)+parseInt(_0x47b2f2(0x1d3))/0x8+-parseInt(_0x47b2f2(0x1db))/0x9+-parseInt(_0x47b2f2(0x1d8))/0xa;if(_0x2ad360===_0xacf1ef)break;else _0x4be23f['push'](_0x4be23f['shift']());}catch(_0x1e00ba){_0x4be23f['push'](_0x4be23f['shift']());}}}(_0x1488,0x2177a));import{Collection as _0x274e7c}from'ckeditor5/src/utils.js';import{View as _0x1f2daf,createDropdown as _0x554eeb,addListToDropdown as _0x3121dc,UIModel as _0x570cc9}from'ckeditor5/src/ui.js';function _0x1488(){const _0x385ff3=['3070kxbbsJ','default','div','98mssqsX','length','model','_defaultLabel','ck-reset_all','6FFhJwC','269288EeZCBS','source','471864RPpemT','menu','locale','add','resetToDefault','622900ZyrCcD','1052gYcCBc','isOn','2009565lRGjQT','bind','listenTo','button','find','menuitemradio','_dropdownView','64502vrptMq','_prepareListOptions','data','_defaultValue','setTemplate','buttonView','82014JQbyDf','ck-ai_review__check-list-item-parameterized-form-element','stopPropagation','extendTemplate','execute','set','ck-ai_review__check-list-item-parameterized-form-element_dropdown','formValue','bindTemplate','label'];_0x1488=function(){return _0x385ff3;};return _0x1488();}function _0x18c4(_0x144fd8,_0x12e0d2){const _0x148869=_0x1488();return _0x18c4=function(_0x18c444,_0x2c499e){_0x18c444=_0x18c444-0x1c8;let _0x4fa5ac=_0x148869[_0x18c444];return _0x4fa5ac;},_0x18c4(_0x144fd8,_0x12e0d2);}export class AIReviewCoreFormDropdownView extends _0x1f2daf{[_0x552a2f(0x1e1)];[_0x552a2f(0x1e5)];[_0x552a2f(0x1ce)];constructor(_0xc4790d,_0x390e01){const _0x5d58c6=_0x552a2f;super(_0xc4790d),this[_0x5d58c6(0x1e5)]=_0x390e01[_0x5d58c6(0x1c9)]||(_0x390e01[_0x5d58c6(0x1e4)][_0x5d58c6(0x1cc)]>0x0?_0x390e01[_0x5d58c6(0x1e4)][0x0]['id']:''),this[_0x5d58c6(0x1ce)]=_0x390e01[_0x5d58c6(0x1e4)][_0x5d58c6(0x1df)](_0x2b8d3e=>_0x2b8d3e['id']===this[_0x5d58c6(0x1e5)])?.[_0x5d58c6(0x1f1)]||'',this[_0x5d58c6(0x1ed)](_0x5d58c6(0x1ef),''),this[_0x5d58c6(0x1e1)]=_0x554eeb(this[_0x5d58c6(0x1d5)]);const _0x258f68=this[_0x5d58c6(0x1e3)](_0x390e01[_0x5d58c6(0x1e4)]);_0x3121dc(this[_0x5d58c6(0x1e1)],_0x258f68,{'role':_0x5d58c6(0x1d4),'ariaLabel':_0x390e01[_0x5d58c6(0x1f1)]}),this[_0x5d58c6(0x1e1)][_0x5d58c6(0x1e7)][_0x5d58c6(0x1ed)]({'label':this[_0x5d58c6(0x1ce)],'withText':!0x0}),this[_0x5d58c6(0x1e1)][_0x5d58c6(0x1eb)]({'on':{'click':this[_0x5d58c6(0x1f0)]['to'](_0x2b119f=>{const _0x12c9c9=_0x5d58c6;_0x2b119f[_0x12c9c9(0x1ea)]();})}}),this[_0x5d58c6(0x1dd)](this[_0x5d58c6(0x1e1)],_0x5d58c6(0x1ec),_0x105aa5=>{const _0x406f4c=_0x5d58c6;this[_0x406f4c(0x1ef)]=_0x105aa5[_0x406f4c(0x1d2)][_0x406f4c(0x1cd)]['id'],this[_0x406f4c(0x1e1)][_0x406f4c(0x1e7)][_0x406f4c(0x1f1)]=_0x105aa5[_0x406f4c(0x1d2)][_0x406f4c(0x1cd)][_0x406f4c(0x1f1)];}),this[_0x5d58c6(0x1e6)]({'tag':_0x5d58c6(0x1ca),'attributes':{'class':['ck',_0x5d58c6(0x1cf),_0x5d58c6(0x1e9),_0x5d58c6(0x1ee)]},'children':[this[_0x5d58c6(0x1e1)]]});}[_0x552a2f(0x1d7)](){const _0x3bf68f=_0x552a2f;this[_0x3bf68f(0x1ef)]=this[_0x3bf68f(0x1e5)],this[_0x3bf68f(0x1e1)][_0x3bf68f(0x1e7)][_0x3bf68f(0x1f1)]=this[_0x3bf68f(0x1ce)];}[_0x552a2f(0x1e3)](_0x1f1bed=[]){const _0x5516a5=_0x552a2f,_0x50af99=new _0x274e7c();this[_0x5516a5(0x1d7)]();for(const _0x33a9e8 of _0x1f1bed){const _0x51a0f5=new _0x570cc9({'label':_0x33a9e8[_0x5516a5(0x1f1)],'withText':!0x0,'role':_0x5516a5(0x1e0),'id':_0x33a9e8['id'],'model':_0x33a9e8});_0x51a0f5[_0x5516a5(0x1dc)](_0x5516a5(0x1da))['to'](this,_0x5516a5(0x1ef),_0x463255=>_0x463255===_0x51a0f5['id']);const _0x497694={'type':_0x5516a5(0x1de),'model':_0x51a0f5};_0x50af99[_0x5516a5(0x1d6)](_0x497694);}return _0x50af99;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3aea11=_0x3d74;(function(_0x33d087,_0xf0aba3){const _0x35fad6=_0x3d74,_0x45e114=_0x33d087();while(!![]){try{const _0x1838a9=parseInt(_0x35fad6(0xe9))/0x1+parseInt(_0x35fad6(0xe6))/0x2+parseInt(_0x35fad6(0xea))/0x3+parseInt(_0x35fad6(0xf3))/0x4+-parseInt(_0x35fad6(0xdf))/0x5+parseInt(_0x35fad6(0xee))/0x6*(parseInt(_0x35fad6(0xdb))/0x7)+-parseInt(_0x35fad6(0xe8))/0x8*(parseInt(_0x35fad6(0xda))/0x9);if(_0x1838a9===_0xf0aba3)break;else _0x45e114['push'](_0x45e114['shift']());}catch(_0x161a83){_0x45e114['push'](_0x45e114['shift']());}}}(_0x26fa,0x24cb6));function _0x3d74(_0x33f447,_0xcd5f30){const _0x26fa6f=_0x26fa();return _0x3d74=function(_0x3d7465,_0x23499e){_0x3d7465=_0x3d7465-0xda;let _0xbab252=_0x26fa6f[_0x3d7465];return _0xbab252;},_0x3d74(_0x33f447,_0xcd5f30);}import{FormRowView as _0x5d517d,ListItemView as _0x2859b8}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0x15ddc8}from'./aireviewcoreformdropdown.js';export class AIReviewCoreFormManagerView extends _0x2859b8{[_0x3aea11(0xed)]=null;constructor(_0x3405c2,_0xae3f5a,_0x391fb9){const _0x47d411=_0x3aea11;super(_0x3405c2),this[_0x47d411(0xec)]=_0xae3f5a?.[_0x47d411(0xec)];if(_0x47d411(0xeb)===_0xae3f5a[_0x47d411(0xf2)])this[_0x47d411(0xed)]=new _0x15ddc8(this[_0x47d411(0xe3)],_0xae3f5a);this[_0x47d411(0xef)](_0x47d411(0xdd),''),this[_0x47d411(0xf1)](_0x47d411(0xdd))['to'](this[_0x47d411(0xed)],_0x47d411(0xf0));const _0x2c3d83=new _0x5d517d(this[_0x47d411(0xe3)],{'children':[this[_0x47d411(0xed)]],'class':[_0x391fb9?_0x47d411(0xde):'']});_0x391fb9&&_0x2c3d83[_0x47d411(0xe7)][_0x47d411(0xe5)](_0x391fb9),this[_0x47d411(0xe4)]({'tag':_0x47d411(0xe1),'attributes':{'class':['ck',_0x47d411(0xe2),_0x47d411(0xdc)]},'children':[_0x2c3d83]});}[_0x3aea11(0xe0)](){const _0x2f349f=_0x3aea11;this[_0x2f349f(0xed)][_0x2f349f(0xe0)]();}}function _0x26fa(){const _0x7da557=['36092FSdORv','ck-reset_all','value','ck-form__row_with-submit','1037140IcKgIW','resetToDefault','div','ck-ai_review__form-item','locale','setTemplate','add','110954IhNFnM','children','32zVeVLZ','293349AbfWFN','100893FKKQgn','dropdown','argsKey','_formItem','192ayASAQ','set','formValue','bind','formType','1017812eluDBX','998469TBHjFD'];_0x26fa=function(){return _0x7da557;};return _0x26fa();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8e8e85=_0x3cee;function _0x3cee(_0x8c653,_0x40c963){const _0x262192=_0x2621();return _0x3cee=function(_0x3cee11,_0x1adb11){_0x3cee11=_0x3cee11-0x1b2;let _0x3618d6=_0x262192[_0x3cee11];return _0x3618d6;},_0x3cee(_0x8c653,_0x40c963);}(function(_0x2cf34c,_0x536bde){const _0x25f22e=_0x3cee,_0x1fb60f=_0x2cf34c();while(!![]){try{const _0x25695a=parseInt(_0x25f22e(0x1bf))/0x1*(parseInt(_0x25f22e(0x1b7))/0x2)+parseInt(_0x25f22e(0x1cb))/0x3*(parseInt(_0x25f22e(0x1cf))/0x4)+-parseInt(_0x25f22e(0x1d0))/0x5*(parseInt(_0x25f22e(0x1c0))/0x6)+-parseInt(_0x25f22e(0x1ca))/0x7*(-parseInt(_0x25f22e(0x1bb))/0x8)+parseInt(_0x25f22e(0x1be))/0x9+parseInt(_0x25f22e(0x1c3))/0xa+-parseInt(_0x25f22e(0x1d9))/0xb;if(_0x25695a===_0x536bde)break;else _0x1fb60f['push'](_0x1fb60f['shift']());}catch(_0x69c5ae){_0x1fb60f['push'](_0x1fb60f['shift']());}}}(_0x2621,0xbdc23));export const AI_REVIEW_CHECKS=[{'id':_0x8e8e85(0x1c4),'commandId':_0x8e8e85(0x1c4),'title':_0x8e8e85(0x1cc),'description':_0x8e8e85(0x1da),'isParameterized':!0x0},{'id':_0x8e8e85(0x1d4),'commandId':_0x8e8e85(0x1d4),'title':_0x8e8e85(0x1b6),'description':_0x8e8e85(0x1c5),'isParameterized':!0x1},{'id':_0x8e8e85(0x1cd),'commandId':_0x8e8e85(0x1cd),'title':_0x8e8e85(0x1bd),'description':_0x8e8e85(0x1c8),'isParameterized':!0x1},{'id':_0x8e8e85(0x1b4),'commandId':_0x8e8e85(0x1b4),'title':_0x8e8e85(0x1df),'description':_0x8e8e85(0x1b5),'isParameterized':!0x1},{'id':_0x8e8e85(0x1d7),'commandId':_0x8e8e85(0x1d6),'title':_0x8e8e85(0x1ce),'description':_0x8e8e85(0x1bc),'isParameterized':!0x0,'options':[{'formType':_0x8e8e85(0x1c9),'label':_0x8e8e85(0x1ce),'default':_0x8e8e85(0x1d1),'data':[{'label':_0x8e8e85(0x1b9),'id':_0x8e8e85(0x1d1)},{'label':_0x8e8e85(0x1db),'id':_0x8e8e85(0x1dd)}]}]},{'id':_0x8e8e85(0x1d2),'commandId':_0x8e8e85(0x1dc),'title':_0x8e8e85(0x1c1),'description':_0x8e8e85(0x1de),'isParameterized':!0x0,'options':[{'formType':_0x8e8e85(0x1c9),'label':_0x8e8e85(0x1c1),'default':_0x8e8e85(0x1b3),'data':[{'label':_0x8e8e85(0x1b2),'id':_0x8e8e85(0x1b3)},{'label':_0x8e8e85(0x1d5),'id':_0x8e8e85(0x1b8)},{'label':_0x8e8e85(0x1d3),'id':_0x8e8e85(0x1ba)},{'label':_0x8e8e85(0x1c6),'id':_0x8e8e85(0x1d8)},{'label':_0x8e8e85(0x1c2),'id':_0x8e8e85(0x1c7)}]}]}];function _0x2621(){const _0x1754a3=['Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','dropdown','7LVaiCO','3SaZgCx','Custom\x20command','clarity','Adjust\x20length','88312zrtVKP','30enHTZR','longer','tone','Friendly','correctness','Direct','make','length','confident','28267569drriUG','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Shorter','make-tone','shorter','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Readability','Casual','casual','readability','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Correctness','2586716pRSrSr','direct','Longer','friendly','8300256myGZTR','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Clarity','12209049RkDKqc','1vsoVsC','698028dNSboc','Adjust\x20tone\x20and\x20style','Professional','3355290aqKIdp','custom','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Confident','professional'];_0x2621=function(){return _0x1754a3;};return _0x2621();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xfd54b7=_0x4fe5;function _0x4fe5(_0x3cc6f8,_0x1b72f0){var _0x2a7c8d=_0x2a7c();return _0x4fe5=function(_0x4fe5a7,_0x36c341){_0x4fe5a7=_0x4fe5a7-0x120;var _0x489542=_0x2a7c8d[_0x4fe5a7];return _0x489542;},_0x4fe5(_0x3cc6f8,_0x1b72f0);}(function(_0x77ae90,_0x493eb3){var _0x29791f=_0x4fe5,_0x15f6e5=_0x77ae90();while(!![]){try{var _0x1bef7a=parseInt(_0x29791f(0x123))/0x1+parseInt(_0x29791f(0x128))/0x2*(parseInt(_0x29791f(0x12a))/0x3)+parseInt(_0x29791f(0x121))/0x4+-parseInt(_0x29791f(0x125))/0x5+parseInt(_0x29791f(0x12b))/0x6+-parseInt(_0x29791f(0x12c))/0x7+-parseInt(_0x29791f(0x129))/0x8*(parseInt(_0x29791f(0x12d))/0x9);if(_0x1bef7a===_0x493eb3)break;else _0x15f6e5['push'](_0x15f6e5['shift']());}catch(_0x31eff1){_0x15f6e5['push'](_0x15f6e5['shift']());}}}(_0x2a7c,0x2b5e7));import{ContextPlugin as _0x5d7a9f}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x2335a8}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x437247}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0x5e940c}from'./aireviewmodecontroller.js';function _0x2a7c(){var _0x5f3c14=['785961isuQps','isOfficialPlugin','959020joksKK','requires','12308CqVsSz','AIReviewMode','963695eBsBBI','isPremiumPlugin','pluginName','4tTfffC','8dKFQFI','481512RzxWSl','559734TrFYEc','1460571hKEbnJ'];_0x2a7c=function(){return _0x5f3c14;};return _0x2a7c();}export class AIReviewMode extends _0x5d7a9f{static get[_0xfd54b7(0x122)](){return[_0x5e940c,_0x2335a8,_0x437247];}static get[_0xfd54b7(0x127)](){var _0x8545fc=_0xfd54b7;return _0x8545fc(0x124);}static get[_0xfd54b7(0x120)](){return!0x0;}static get[_0xfd54b7(0x126)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f7182=_0x79f5;function _0x79f5(_0x189353,_0x1b7d35){const _0x41e7e7=_0x41e7();return _0x79f5=function(_0x79f5ad,_0xca465f){_0x79f5ad=_0x79f5ad-0x84;let _0x3a8f69=_0x41e7e7[_0x79f5ad];return _0x3a8f69;},_0x79f5(_0x189353,_0x1b7d35);}(function(_0x3d67e6,_0x2852ed){const _0xaa7f7e=_0x79f5,_0x348250=_0x3d67e6();while(!![]){try{const _0x583c0e=parseInt(_0xaa7f7e(0xae))/0x1*(parseInt(_0xaa7f7e(0xd6))/0x2)+-parseInt(_0xaa7f7e(0xd1))/0x3+-parseInt(_0xaa7f7e(0x91))/0x4+-parseInt(_0xaa7f7e(0x10d))/0x5*(parseInt(_0xaa7f7e(0xf9))/0x6)+parseInt(_0xaa7f7e(0x10b))/0x7*(parseInt(_0xaa7f7e(0xfe))/0x8)+parseInt(_0xaa7f7e(0xed))/0x9*(parseInt(_0xaa7f7e(0xec))/0xa)+-parseInt(_0xaa7f7e(0xcd))/0xb;if(_0x583c0e===_0x2852ed)break;else _0x348250['push'](_0x348250['shift']());}catch(_0x14f9fc){_0x348250['push'](_0x348250['shift']());}}}(_0x41e7,0xd7817));import{CKEditorError as _0x8e4ce}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x1ac858}from'../aireviewcore/aireviewcorecontroller.js';function _0x41e7(){const _0x2837d9=['ck-ai_review-highlights','map','showDiffInBalloon','ai-review-mode-command-unavailable-due-to-missing-model','ai-review-mode-models-unable-to-retrieve','custom','_TITLE','startsWith','_currentReviewCheckRun','13909DWsdFz','balloon','100335IDRTHp','isExtra','_aiReviewCoreEditing','setMarkersInElementAsActive','ai.review.availableCommands','_aiReviewCoreUi','ck-ai_review-diff','removeCheckById','getElement','description','_onChangeMarkerHovered','content','model','changeId','_getModels','ai-review-mode-non-existent-commands-used','1457756FIMUUB','_onChangeMarkerClicked','getClassNames','_onDeactivateChange','_onReviewCheckResultDeactivated','setAllMarkersAsInactive','getDefault','config','_aiConnector','defaultModel','toggleDiff','AIReviewCoreEditing','recommended','resetActiveStateInResults','hover','getAvailableModels','getAll','_hasDefaultAvailableCommands','define','push','hideDiffInBalloon','_isDiffOn','_createReviewCheckRun','_scrollToChange','domEvent','markerElement','view','activateChange','replaceAll','707GQdjlN','change','get','toUpperCase','join','find','_logErrorForNonExistentChecks','prompt','getEditor','setActiveStateInResults','options','viewportOffset','args','_markChangePositionInEditorContent','markChangePositionInEditorContent','getChangeById','checks','_OPTIONS_DATA_','isAnyChangeActivated','getRoot','_onDiffChange','_onReviewCheckRun','editing','init','filter','AI_REVIEW_CHECK_','_DESCRIPTION','click','listenTo','ai.review.extraCommands','getDomRoot','18612330DFOelF','showChangeBalloon','some','uiInteraction','2560107kDETNS','_onChangeMarkerBlurred','_initRequiredPlugins','_getChangeContentElement','_filterChecksWithMissingModel','4636dHNFaQ','diffContent','_getTranslationWithDefault','ai.models','_onActivateChange','removeClass','plugins','data','context','_OPTIONS_LABEL','setupChecks','default','label','title','origin','ck-ai_review-','getDocumentData','_logError','_translateReviewCheck','isCustom','_changeActivationSource','document','12360MvcpvM','10359kuRYzb','_onReviewCheckResultActivated','_getExtraChecks','length','all','getMarkerElementForChange','panel','addClass','hideChangeBalloon','forEach','AIReviewModeUI','locale','246YgLPCh','deactivateChange','_diffContent','_getChecksList','models','6256thwssX','AIReviewModeController','pluginName','params'];_0x41e7=function(){return _0x2837d9;};return _0x41e7();}import{AI_REVIEW_CHECKS as _0x558dde}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x32e93a}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x3d5a20}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x119808}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x3324a9}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x89d30c}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x5cd846}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x4cb0a3}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x1ac858{static get[_0x2f7182(0x100)](){const _0x2c2e56=_0x2f7182;return _0x2c2e56(0xff);}[_0x2f7182(0xa6)]=!0x1;[_0x2f7182(0xa2)]=!0x1;constructor(_0x5ce1e9){const _0x46f888=_0x2f7182;super(_0x5ce1e9),this[_0x46f888(0xa2)]=!this[_0x46f888(0xde)][_0x46f888(0x98)][_0x46f888(0xb0)](_0x46f888(0x85)),this[_0x46f888(0xde)][_0x46f888(0x98)][_0x46f888(0xa3)](_0x46f888(0x85),_0x558dde[_0x46f888(0x103)](_0x535fb1=>_0x535fb1['id'])),this[_0x46f888(0xde)][_0x46f888(0x98)][_0x46f888(0xa3)](_0x46f888(0xcb),[]);}async[_0x2f7182(0xc5)](){const _0x2b1f00=_0x2f7182;await super[_0x2b1f00(0xc5)](),this[_0x2b1f00(0xca)](this[_0x2b1f00(0x86)],_0x2b1f00(0x9b),(_0x20bf90,_0x522a47)=>{const _0x4ea28a=_0x2b1f00;this[_0x4ea28a(0xa6)]=_0x522a47['on'],this[_0x4ea28a(0xc2)](this[_0x4ea28a(0xa6)]);});}[_0x2f7182(0xd3)](){const _0x12a8c4=_0x2f7182;super[_0x12a8c4(0xd3)](),this[_0x12a8c4(0x86)]=this[_0x12a8c4(0xde)][_0x12a8c4(0xdc)][_0x12a8c4(0xb0)](_0x12a8c4(0xf7)),this[_0x12a8c4(0x10f)]=this[_0x12a8c4(0xde)][_0x12a8c4(0xdc)][_0x12a8c4(0xb0)](_0x12a8c4(0x9c));}[_0x2f7182(0xa7)](_0x555ae4,_0x141b4e){const _0x292d6a=_0x2f7182;return _0x555ae4[_0x292d6a(0xe9)]?new _0x3d5a20(_0x555ae4[_0x292d6a(0xba)][_0x292d6a(0xb5)],_0x555ae4[_0x292d6a(0xba)][_0x292d6a(0x8d)],this[_0x292d6a(0x10f)][_0x292d6a(0xe6)](),_0x141b4e,this[_0x292d6a(0x99)]):_0x141b4e[_0x292d6a(0x10e)]?new _0x4cb0a3(_0x141b4e[_0x292d6a(0xb5)],_0x141b4e[_0x292d6a(0x9a)]['id'],this[_0x292d6a(0x10f)][_0x292d6a(0xe6)](),_0x141b4e,this[_0x292d6a(0x99)]):new _0x119808(this[_0x292d6a(0x10f)][_0x292d6a(0xe6)](),_0x141b4e,this[_0x292d6a(0x99)],_0x555ae4[_0x292d6a(0x101)],_0x555ae4[_0x292d6a(0xba)]);}[_0x2f7182(0xee)](_0x320eee){const _0x22c1a1=_0x2f7182;this[_0x22c1a1(0x86)][_0x22c1a1(0xb7)](_0x320eee[_0x22c1a1(0xaf)]['id']),this[_0x22c1a1(0xa8)](_0x320eee[_0x22c1a1(0xaf)]['id']);const _0x1b8bdc=this[_0x22c1a1(0x10f)][_0x22c1a1(0xf2)](_0x320eee[_0x22c1a1(0xaf)]['id']);if(!_0x1b8bdc)return;const _0x57fe7d=this[_0x22c1a1(0x10f)][_0x22c1a1(0xb6)]();this[_0x22c1a1(0x86)][_0x22c1a1(0xce)](_0x320eee[_0x22c1a1(0xaf)],()=>_0x1b8bdc[_0x22c1a1(0x89)](),void 0x0,_0x22c1a1(0xc9),_0x57fe7d?.[_0x22c1a1(0xc4)]?.[_0x22c1a1(0xab)]?.[_0x22c1a1(0xcc)](),_0x57fe7d?.['ui']?.[_0x22c1a1(0xb9)]),this[_0x22c1a1(0x10f)][_0x22c1a1(0x84)](_0x320eee[_0x22c1a1(0xaf)]['id']);}[_0x2f7182(0x95)](){const _0x5d25e8=_0x2f7182;this[_0x5d25e8(0x86)][_0x5d25e8(0x9e)](),this[_0x5d25e8(0x86)][_0x5d25e8(0xf5)](),this[_0x5d25e8(0x10f)][_0x5d25e8(0x96)]();}[_0x2f7182(0xda)](_0x24b649){const _0x8c1930=_0x2f7182;this[_0x8c1930(0x10a)]&&_0x8c1930(0xc9)===_0x24b649[_0x8c1930(0xd0)]&&(this[_0x8c1930(0xea)]=_0x8c1930(0xf3),this[_0x8c1930(0x10a)][_0x8c1930(0xac)](_0x24b649['id']));}[_0x2f7182(0x94)](_0x39471d){const _0x423907=_0x2f7182;this[_0x423907(0x10a)]&&_0x423907(0x10c)===_0x39471d[_0x423907(0xe4)]&&this[_0x423907(0x10a)][_0x423907(0xfa)]();}[_0x2f7182(0x92)](_0x1084be,_0x3b3e6a){const _0x1c360e=_0x2f7182;if(!this[_0x1c360e(0x10a)])return;this[_0x1c360e(0xea)]=_0x1c360e(0x8c),this[_0x1c360e(0x10a)][_0x1c360e(0xac)](_0x3b3e6a[_0x1c360e(0x8e)]);const _0x47d6d0=this[_0x1c360e(0x10a)][_0x1c360e(0xbd)](_0x3b3e6a[_0x1c360e(0x8e)]);if(!_0x47d6d0)return;const _0x2ee9d4=this[_0x1c360e(0x10f)][_0x1c360e(0xb6)]();this[_0x1c360e(0x86)][_0x1c360e(0xce)](_0x47d6d0,_0x3b3e6a[_0x1c360e(0xaa)],_0x3b3e6a[_0x1c360e(0xa9)],_0x1c360e(0xc9),_0x2ee9d4?.[_0x1c360e(0xc4)]?.[_0x1c360e(0xab)]?.[_0x1c360e(0xcc)](),_0x2ee9d4?.['ui']?.[_0x1c360e(0xb9)]);}[_0x2f7182(0x8b)](_0xc147ac,_0x5eb6ab){const _0x554b07=_0x2f7182;if(!this[_0x554b07(0x10a)])return;if(this[_0x554b07(0x10a)][_0x554b07(0xc0)]())return;const _0xf1464c=this[_0x554b07(0x10a)][_0x554b07(0xbd)](_0x5eb6ab[_0x554b07(0x8e)]);if(!_0xf1464c)return;const _0x5bc67c=this[_0x554b07(0x10f)][_0x554b07(0xb6)]();this[_0x554b07(0x86)][_0x554b07(0xce)](_0xf1464c,_0x5eb6ab[_0x554b07(0xaa)],_0x5eb6ab[_0x554b07(0xa9)],_0x554b07(0x9f),_0x5bc67c?.[_0x554b07(0xc4)]?.[_0x554b07(0xab)]?.[_0x554b07(0xcc)](),_0x5bc67c?.['ui']?.[_0x554b07(0xb9)]);}[_0x2f7182(0xd2)](){const _0x2288b0=_0x2f7182;if(!this[_0x2288b0(0x10a)])return;this[_0x2288b0(0x10a)][_0x2288b0(0xc0)]()||this[_0x2288b0(0x86)][_0x2288b0(0xf5)]();}[_0x2f7182(0xd4)](_0x571059){const _0x122734=_0x2f7182,_0x25cb43=this[_0x122734(0x10f)][_0x122734(0xf2)](_0x571059);return _0x25cb43?_0x25cb43[_0x122734(0x89)]():null;}[_0x2f7182(0xbb)](_0x230e1d,_0xdb084f){const _0x4f99b8=_0x2f7182;this[_0x4f99b8(0x10f)][_0x4f99b8(0xbc)](_0x230e1d,_0xdb084f);}[_0x2f7182(0xfb)](_0xffe4b,_0x4dac9e){const _0x435409=_0x2f7182;return this[_0x435409(0x10f)][_0x435409(0xd7)](_0xffe4b,_0x4dac9e);}[_0x2f7182(0xc3)](){const _0x597021=_0x2f7182;this[_0x597021(0xc2)](this[_0x597021(0xa6)]);}[_0x2f7182(0xc2)](_0x518e1e){const _0x44cef5=_0x2f7182,_0x2512f3=this[_0x44cef5(0x10f)][_0x44cef5(0xb6)]();_0x518e1e?this[_0x44cef5(0x86)][_0x44cef5(0xa5)]():this[_0x44cef5(0x86)][_0x44cef5(0x104)](),_0x2512f3&&_0x2512f3[_0x44cef5(0xc4)][_0x44cef5(0xab)][_0x44cef5(0xaf)](_0x2bdd11=>{const _0xf86aee=_0x44cef5,_0x519380=_0x2512f3[_0xf86aee(0xc4)][_0xf86aee(0xab)][_0xf86aee(0xeb)][_0xf86aee(0xc1)]();for(const _0x84a892 of _0x519380[_0xf86aee(0x93)]())_0x84a892[_0xf86aee(0x109)](_0xf86aee(0xe5))&&_0x2bdd11[_0xf86aee(0xdb)](_0x84a892,_0x519380);_0x2bdd11[_0xf86aee(0xf4)](_0x518e1e?_0xf86aee(0x87):_0xf86aee(0x102),_0x519380);});}async[_0x2f7182(0xfc)](){const _0x32d1ca=_0x2f7182,_0x3192b8=[..._0x558dde,...this[_0x32d1ca(0xef)]()],_0x48b249=this[_0x32d1ca(0xde)][_0x32d1ca(0x98)][_0x32d1ca(0xb0)](_0x32d1ca(0x85))||[];this[_0x32d1ca(0xb4)](_0x48b249,_0x3192b8);let _0xead72f=_0x3192b8;this[_0x32d1ca(0xa2)]||(_0xead72f=_0x48b249[_0x32d1ca(0x103)](_0xbd3746=>_0x3192b8[_0x32d1ca(0xb3)](_0x8fd69b=>_0x8fd69b['id']===_0xbd3746))[_0x32d1ca(0xc6)](_0x2b00e0=>!!_0x2b00e0)),_0xead72f=_0xead72f[_0x32d1ca(0x103)](_0x58d743=>_0x58d743[_0x32d1ca(0x10e)]?_0x58d743:this[_0x32d1ca(0xe8)](_0x58d743));const _0x22a30b=_0xead72f[_0x32d1ca(0xcf)](_0x1c5628=>_0x1c5628[_0x32d1ca(0x10e)]||_0x32d1ca(0x107)===_0x1c5628['id']);let _0x4706d9=[],_0x5f4be7=[],_0x1505c6=null;if(_0x22a30b){const _0x4d4918=await this[_0x32d1ca(0x8f)]();_0x4706d9=_0x4d4918[_0x32d1ca(0xf1)],_0x5f4be7=_0x4d4918[_0x32d1ca(0x9d)],_0x1505c6=_0x4d4918[_0x32d1ca(0xe1)];}const _0x110823=new _0x32e93a(_0x4706d9,_0x5f4be7,_0x1505c6);return _0x110823[_0x32d1ca(0xe0)](_0xead72f),_0x22a30b&&this[_0x32d1ca(0xd5)](_0x110823),_0x110823;}[_0x2f7182(0xef)](){const _0x3f8a93=_0x2f7182;return(this[_0x3f8a93(0xde)][_0x3f8a93(0x98)][_0x3f8a93(0xb0)](_0x3f8a93(0xcb))||[])[_0x3f8a93(0x103)](_0x11c436=>({'id':_0x11c436['id'],'commandId':_0x11c436['id'],'title':_0x11c436[_0x3f8a93(0xe2)],'description':_0x11c436[_0x3f8a93(0x8a)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x11c436[_0x3f8a93(0xb5)],'model':_0x11c436[_0x3f8a93(0x8d)]}));}[_0x2f7182(0xb4)](_0x28a6f9,_0x1e613){const _0x231d8c=_0x2f7182,_0xc4f8ec=_0x28a6f9[_0x231d8c(0xc6)](_0x2f9c64=>!_0x1e613[_0x231d8c(0xcf)](_0x52c0d4=>_0x52c0d4['id']===_0x2f9c64));_0xc4f8ec[_0x231d8c(0xf0)]&&this[_0x231d8c(0xe7)](new _0x8e4ce(_0x231d8c(0x90),this,{'commandIds':_0xc4f8ec[_0x231d8c(0xb2)](',\x20')}),!0x0);}async[_0x2f7182(0x8f)](){const _0x30add6=_0x2f7182;try{const _0x2fc7dd=new _0x3324a9({'connector':this[_0x30add6(0x99)],'config':this[_0x30add6(0xde)][_0x30add6(0x98)][_0x30add6(0xb0)](_0x30add6(0xd9)),'locale':this[_0x30add6(0xde)][_0x30add6(0xf8)]});return{'all':await _0x2fc7dd[_0x30add6(0xa1)](),'recommended':await _0x2fc7dd[_0x30add6(0xa0)](),'default':await _0x2fc7dd[_0x30add6(0x97)]()};}catch(_0xa8cd7){return this[_0x30add6(0xe7)](new _0x8e4ce(_0x30add6(0x106),this,void 0x0,_0xa8cd7)),{'all':[],'recommended':[],'default':null};}}[_0x2f7182(0xe8)](_0x142b73){const _0x39a162=_0x2f7182,_0x2c999d=_0x39a162(0xc7)+_0x142b73['id'][_0x39a162(0xb1)]()[_0x39a162(0xad)]('-','_'),_0xf64d09={..._0x142b73,'title':this[_0x39a162(0xd8)](_0x2c999d+_0x39a162(0x108),_0x142b73[_0x39a162(0xe3)]),'description':this[_0x39a162(0xd8)](_0x2c999d+_0x39a162(0xc8),_0x142b73[_0x39a162(0x8a)])};return _0x142b73[_0x39a162(0xb8)]&&(_0xf64d09[_0x39a162(0xb8)]=_0x142b73[_0x39a162(0xb8)][_0x39a162(0x103)](_0x5697bc=>({..._0x5697bc,'label':this[_0x39a162(0xd8)](_0x2c999d+_0x39a162(0xdf),_0x5697bc[_0x39a162(0xe2)]||''),'data':_0x5697bc[_0x39a162(0xdd)]?_0x5697bc[_0x39a162(0xdd)][_0x39a162(0x103)](_0x2494c3=>({..._0x2494c3,'label':this[_0x39a162(0xd8)](_0x2c999d+_0x39a162(0xbf)+_0x2494c3['id'][_0x39a162(0xb1)](),_0x2494c3[_0x39a162(0xe2)])})):void 0x0}))),_0xf64d09;}[_0x2f7182(0xd5)](_0x10eeed){const _0x1875aa=_0x2f7182,_0x1b2a74=[];_0x10eeed[_0x1875aa(0xbe)][_0x1875aa(0xf6)](_0x5b9c11=>{const _0x81baa2=_0x1875aa;(_0x5b9c11 instanceof _0x5cd846&&!_0x5b9c11[_0x81baa2(0x9a)]||_0x5b9c11 instanceof _0x89d30c&&!_0x5b9c11[_0x81baa2(0xfd)][_0x81baa2(0xf0)])&&_0x1b2a74[_0x81baa2(0xa4)](_0x5b9c11['id']);}),_0x1b2a74[_0x1875aa(0xf0)]&&_0x1b2a74[_0x1875aa(0xf6)](_0x547b25=>{const _0x3ee243=_0x1875aa;_0x10eeed[_0x3ee243(0x88)](_0x547b25),this[_0x3ee243(0xe7)](new _0x8e4ce(_0x3ee243(0x105),this,{'commandId':_0x547b25}),!0x0);});}}
|
|
23
|
+
const _0x408668=_0x197c;(function(_0x528084,_0x5bfb80){const _0x4f9550=_0x197c,_0x54a20d=_0x528084();while(!![]){try{const _0x2ecb71=parseInt(_0x4f9550(0x203))/0x1*(-parseInt(_0x4f9550(0x1dc))/0x2)+-parseInt(_0x4f9550(0x220))/0x3+parseInt(_0x4f9550(0x1f9))/0x4*(parseInt(_0x4f9550(0x202))/0x5)+-parseInt(_0x4f9550(0x235))/0x6+-parseInt(_0x4f9550(0x1fa))/0x7+parseInt(_0x4f9550(0x1e4))/0x8+-parseInt(_0x4f9550(0x212))/0x9*(-parseInt(_0x4f9550(0x1e7))/0xa);if(_0x2ecb71===_0x5bfb80)break;else _0x54a20d['push'](_0x54a20d['shift']());}catch(_0x460fc5){_0x54a20d['push'](_0x54a20d['shift']());}}}(_0x6292,0xa13a8));import{CKEditorError as _0x1d64b3}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x5a544d}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x554f70}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x1d4a7c}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x572a52}from'./model/aireviewcustomcheckrun.js';function _0x6292(){const _0x25187e=['getDocumentData','_getModels','toUpperCase','options','setupChecks','setActiveStateInResults','_onChangeMarkerBlurred','filter','length','params','ck-ai_review-','ai.models','_translateReviewCheck','context','getDomRoot','_filterChecksWithMissingModel','click','default','showChangeBalloon','args','_diffContent','label','_onReviewCheckResultActivated','get','ai-review-mode-command-unavailable-due-to-missing-model','title','isAnyChangeActivated','pluginName','markChangePositionInEditorContent','removeCheckById','AIReviewModeController','_scrollToChange','_logErrorForNonExistentChecks','config','data','AIReviewModeUI','_onActivateChange','viewportOffset','_aiReviewCoreUi','toggleDiff','ck-ai_review-highlights','removeClass','description','editing','getClassNames','_onDeactivateChange','_TITLE','content','map','133738lmKZZT','_onDiffChange','_changeActivationSource','hideDiffInBalloon','init','isCustom','markerElement','some','8670808cacftK','startsWith','resetActiveStateInResults','1241890dlVGqV','_aiConnector','locale','isExtra','_OPTIONS_LABEL','getDefault','_getTranslationWithDefault','addClass','setMarkersInElementAsActive','_onChangeMarkerHovered','all','define','activateChange','deactivateChange','listenTo','_getChecksList','ai-review-mode-models-unable-to-retrieve','model','1522976BVIeJC','3278793eFYOLN','setAllMarkersAsInactive','getChangeById','_getExtraChecks','change','ai.review.availableCommands','push','_OPTIONS_DATA_','10asQmAy','13NvaWXF','panel','hover','document','prompt','balloon','AI_REVIEW_CHECK_','getAll','_onChangeMarkerClicked','find','plugins','AIReviewCoreEditing','getMarkerElementForChange','models','getEditor','27AwraUO','getAvailableModels','_getChangeContentElement','_createReviewCheckRun','view','_logError','_markChangePositionInEditorContent','uiInteraction','ai.review.extraCommands','_currentReviewCheckRun','ai-review-mode-non-existent-commands-used','showDiffInBalloon','_isDiffOn','getRoot','302472bWoUbz','ck-ai_review-diff','_DESCRIPTION','replaceAll','hideChangeBalloon','_hasDefaultAvailableCommands','checks','_onReviewCheckResultDeactivated','custom','recommended','getElement','origin','_onReviewCheckRun','diffContent','changeId','defaultModel','join','domEvent','_initRequiredPlugins','_aiReviewCoreEditing','forEach','713964OyArGI'];_0x6292=function(){return _0x25187e;};return _0x6292();}import{AIReviewSystemCheckRun as _0x101e42}from'../aireviewcore/model/aireviewsystemcheckrun.js';function _0x197c(_0x586a8e,_0x6605e7){const _0x6292f6=_0x6292();return _0x197c=function(_0x197c31,_0xb20107){_0x197c31=_0x197c31-0x1b1;let _0x115f51=_0x6292f6[_0x197c31];return _0x115f51;},_0x197c(_0x586a8e,_0x6605e7);}import{AIModels as _0x4f4ce7}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x422b80}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x363b67}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x3ade20}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x5a544d{static get[_0x408668(0x1c6)](){const _0x2bfd1a=_0x408668;return _0x2bfd1a(0x1c9);}[_0x408668(0x21e)]=!0x1;[_0x408668(0x225)]=!0x1;constructor(_0x192175){const _0x14ffe1=_0x408668;super(_0x192175),this[_0x14ffe1(0x225)]=!this[_0x14ffe1(0x1b8)][_0x14ffe1(0x1cc)][_0x14ffe1(0x1c2)](_0x14ffe1(0x1ff)),this[_0x14ffe1(0x1b8)][_0x14ffe1(0x1cc)][_0x14ffe1(0x1f2)](_0x14ffe1(0x1ff),_0x554f70[_0x14ffe1(0x1db)](_0x3e60d8=>_0x3e60d8['id'])),this[_0x14ffe1(0x1b8)][_0x14ffe1(0x1cc)][_0x14ffe1(0x1f2)](_0x14ffe1(0x21a),[]);}async[_0x408668(0x1e0)](){const _0x464d92=_0x408668;await super[_0x464d92(0x1e0)](),this[_0x464d92(0x1f5)](this[_0x464d92(0x1d1)],_0x464d92(0x1d2),(_0x11ac28,_0x2e05bf)=>{const _0x33e9ad=_0x464d92;this[_0x33e9ad(0x21e)]=_0x2e05bf['on'],this[_0x33e9ad(0x1dd)](this[_0x33e9ad(0x21e)]);});}[_0x408668(0x232)](){const _0x3daee6=_0x408668;super[_0x3daee6(0x232)](),this[_0x3daee6(0x1d1)]=this[_0x3daee6(0x1b8)][_0x3daee6(0x20d)][_0x3daee6(0x1c2)](_0x3daee6(0x1ce)),this[_0x3daee6(0x233)]=this[_0x3daee6(0x1b8)][_0x3daee6(0x20d)][_0x3daee6(0x1c2)](_0x3daee6(0x20e));}[_0x408668(0x215)](_0x261e84,_0x8b2b47){const _0x514180=_0x408668;return _0x261e84[_0x514180(0x1e1)]?new _0x572a52(_0x261e84[_0x514180(0x1be)][_0x514180(0x207)],_0x261e84[_0x514180(0x1be)][_0x514180(0x1f8)],this[_0x514180(0x233)][_0x514180(0x236)](),_0x8b2b47,this[_0x514180(0x1e8)]):_0x8b2b47[_0x514180(0x1ea)]?new _0x3ade20(_0x8b2b47[_0x514180(0x207)],_0x8b2b47[_0x514180(0x22f)]['id'],this[_0x514180(0x233)][_0x514180(0x236)](),_0x8b2b47,this[_0x514180(0x1e8)]):new _0x101e42(this[_0x514180(0x233)][_0x514180(0x236)](),_0x8b2b47,this[_0x514180(0x1e8)],_0x261e84[_0x514180(0x1b4)],_0x261e84[_0x514180(0x1be)]);}[_0x408668(0x1c1)](_0x2f59a4){const _0x42f34c=_0x408668;this[_0x42f34c(0x1d1)][_0x42f34c(0x23b)](_0x2f59a4[_0x42f34c(0x1fe)]['id']),this[_0x42f34c(0x1ca)](_0x2f59a4[_0x42f34c(0x1fe)]['id']);const _0x223097=this[_0x42f34c(0x233)][_0x42f34c(0x20f)](_0x2f59a4[_0x42f34c(0x1fe)]['id']);if(!_0x223097)return;const _0x591423=this[_0x42f34c(0x233)][_0x42f34c(0x211)]();this[_0x42f34c(0x1d1)][_0x42f34c(0x1bd)](_0x2f59a4[_0x42f34c(0x1fe)],()=>_0x223097[_0x42f34c(0x22a)](),void 0x0,_0x42f34c(0x1bb),_0x591423?.[_0x42f34c(0x1d6)]?.[_0x42f34c(0x216)]?.[_0x42f34c(0x1b9)](),_0x591423?.['ui']?.[_0x42f34c(0x1d0)]),this[_0x42f34c(0x233)][_0x42f34c(0x1ef)](_0x2f59a4[_0x42f34c(0x1fe)]['id']);}[_0x408668(0x227)](){const _0x21b1b5=_0x408668;this[_0x21b1b5(0x1d1)][_0x21b1b5(0x1e6)](),this[_0x21b1b5(0x1d1)][_0x21b1b5(0x224)](),this[_0x21b1b5(0x233)][_0x21b1b5(0x1fb)]();}[_0x408668(0x1cf)](_0xb46474){const _0x3ecbf4=_0x408668;this[_0x3ecbf4(0x21b)]&&_0x3ecbf4(0x1bb)===_0xb46474[_0x3ecbf4(0x219)]&&(this[_0x3ecbf4(0x1de)]=_0x3ecbf4(0x204),this[_0x3ecbf4(0x21b)][_0x3ecbf4(0x1f3)](_0xb46474['id']));}[_0x408668(0x1d8)](_0x2249e3){const _0x32beab=_0x408668;this[_0x32beab(0x21b)]&&_0x32beab(0x208)===_0x2249e3[_0x32beab(0x22b)]&&this[_0x32beab(0x21b)][_0x32beab(0x1f4)]();}[_0x408668(0x20b)](_0x32793a,_0x2aa23e){const _0x41e6b6=_0x408668;if(!this[_0x41e6b6(0x21b)])return;this[_0x41e6b6(0x1de)]=_0x41e6b6(0x1da),this[_0x41e6b6(0x21b)][_0x41e6b6(0x1f3)](_0x2aa23e[_0x41e6b6(0x22e)]);const _0x24c69=this[_0x41e6b6(0x21b)][_0x41e6b6(0x1fc)](_0x2aa23e[_0x41e6b6(0x22e)]);if(!_0x24c69)return;const _0x49507f=this[_0x41e6b6(0x233)][_0x41e6b6(0x211)]();this[_0x41e6b6(0x1d1)][_0x41e6b6(0x1bd)](_0x24c69,_0x2aa23e[_0x41e6b6(0x1e2)],_0x2aa23e[_0x41e6b6(0x231)],_0x41e6b6(0x1bb),_0x49507f?.[_0x41e6b6(0x1d6)]?.[_0x41e6b6(0x216)]?.[_0x41e6b6(0x1b9)](),_0x49507f?.['ui']?.[_0x41e6b6(0x1d0)]);}[_0x408668(0x1f0)](_0x36b768,_0x197ac6){const _0x197c08=_0x408668;if(!this[_0x197c08(0x21b)])return;if(this[_0x197c08(0x21b)][_0x197c08(0x1c5)]())return;const _0x465afb=this[_0x197c08(0x21b)][_0x197c08(0x1fc)](_0x197ac6[_0x197c08(0x22e)]);if(!_0x465afb)return;const _0x3794aa=this[_0x197c08(0x233)][_0x197c08(0x211)]();this[_0x197c08(0x1d1)][_0x197c08(0x1bd)](_0x465afb,_0x197ac6[_0x197c08(0x1e2)],_0x197ac6[_0x197c08(0x231)],_0x197c08(0x205),_0x3794aa?.[_0x197c08(0x1d6)]?.[_0x197c08(0x216)]?.[_0x197c08(0x1b9)](),_0x3794aa?.['ui']?.[_0x197c08(0x1d0)]);}[_0x408668(0x1b1)](){const _0xc733ef=_0x408668;if(!this[_0xc733ef(0x21b)])return;this[_0xc733ef(0x21b)][_0xc733ef(0x1c5)]()||this[_0xc733ef(0x1d1)][_0xc733ef(0x224)]();}[_0x408668(0x214)](_0x55e2f1){const _0x1feb65=_0x408668,_0x59b397=this[_0x1feb65(0x233)][_0x1feb65(0x20f)](_0x55e2f1);return _0x59b397?_0x59b397[_0x1feb65(0x22a)]():null;}[_0x408668(0x218)](_0x5965a8,_0x2d01a1){const _0x3abde6=_0x408668;this[_0x3abde6(0x233)][_0x3abde6(0x1c7)](_0x5965a8,_0x2d01a1);}[_0x408668(0x1bf)](_0x3f1926,_0x2579be){const _0x982616=_0x408668;return this[_0x982616(0x233)][_0x982616(0x22d)](_0x3f1926,_0x2579be);}[_0x408668(0x22c)](){const _0x1cb36d=_0x408668;this[_0x1cb36d(0x1dd)](this[_0x1cb36d(0x21e)]);}[_0x408668(0x1dd)](_0x5281fd){const _0x5da02d=_0x408668,_0x8093b2=this[_0x5da02d(0x233)][_0x5da02d(0x211)]();_0x5281fd?this[_0x5da02d(0x1d1)][_0x5da02d(0x1df)]():this[_0x5da02d(0x1d1)][_0x5da02d(0x21d)](),_0x8093b2&&_0x8093b2[_0x5da02d(0x1d6)][_0x5da02d(0x216)][_0x5da02d(0x1fe)](_0x40b6b3=>{const _0x119173=_0x5da02d,_0xc8f70a=_0x8093b2[_0x119173(0x1d6)][_0x119173(0x216)][_0x119173(0x206)][_0x119173(0x21f)]();for(const _0x5d4f4a of _0xc8f70a[_0x119173(0x1d7)]())_0x5d4f4a[_0x119173(0x1e5)](_0x119173(0x1b5))&&_0x40b6b3[_0x119173(0x1d4)](_0x5d4f4a,_0xc8f70a);_0x40b6b3[_0x119173(0x1ee)](_0x5281fd?_0x119173(0x221):_0x119173(0x1d3),_0xc8f70a);});}async[_0x408668(0x1f6)](){const _0x2b1a30=_0x408668,_0xf7b48e=[..._0x554f70,...this[_0x2b1a30(0x1fd)]()],_0xa7b51e=this[_0x2b1a30(0x1b8)][_0x2b1a30(0x1cc)][_0x2b1a30(0x1c2)](_0x2b1a30(0x1ff))||[];this[_0x2b1a30(0x1cb)](_0xa7b51e,_0xf7b48e);let _0x58ae7a=_0xf7b48e;this[_0x2b1a30(0x225)]||(_0x58ae7a=_0xa7b51e[_0x2b1a30(0x1db)](_0x3dbb4c=>_0xf7b48e[_0x2b1a30(0x20c)](_0x308e7e=>_0x308e7e['id']===_0x3dbb4c))[_0x2b1a30(0x1b2)](_0x81fb33=>!!_0x81fb33)),_0x58ae7a=_0x58ae7a[_0x2b1a30(0x1db)](_0x4553d5=>_0x4553d5[_0x2b1a30(0x1ea)]?_0x4553d5:this[_0x2b1a30(0x1b7)](_0x4553d5));const _0x37dfb4=_0x58ae7a[_0x2b1a30(0x1e3)](_0x1b2a21=>_0x1b2a21[_0x2b1a30(0x1ea)]||_0x2b1a30(0x228)===_0x1b2a21['id']);let _0x3c9c7c=[],_0x2498a3=[],_0xa1881b=null;if(_0x37dfb4){const _0x4bc7f3=await this[_0x2b1a30(0x237)]();_0x3c9c7c=_0x4bc7f3[_0x2b1a30(0x1f1)],_0x2498a3=_0x4bc7f3[_0x2b1a30(0x229)],_0xa1881b=_0x4bc7f3[_0x2b1a30(0x1bc)];}const _0x3b2fb8=new _0x1d4a7c(_0x3c9c7c,_0x2498a3,_0xa1881b);return _0x3b2fb8[_0x2b1a30(0x23a)](_0x58ae7a),_0x37dfb4&&this[_0x2b1a30(0x1ba)](_0x3b2fb8),_0x3b2fb8;}[_0x408668(0x1fd)](){const _0x34c331=_0x408668;return(this[_0x34c331(0x1b8)][_0x34c331(0x1cc)][_0x34c331(0x1c2)](_0x34c331(0x21a))||[])[_0x34c331(0x1db)](_0x27ad31=>({'id':_0x27ad31['id'],'commandId':_0x27ad31['id'],'title':_0x27ad31[_0x34c331(0x1c0)],'description':_0x27ad31[_0x34c331(0x1d5)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x27ad31[_0x34c331(0x207)],'model':_0x27ad31[_0x34c331(0x1f8)]}));}[_0x408668(0x1cb)](_0x2904fa,_0x9e2e97){const _0x808b69=_0x408668,_0x530971=_0x2904fa[_0x808b69(0x1b2)](_0x3ad14d=>!_0x9e2e97[_0x808b69(0x1e3)](_0x1eb265=>_0x1eb265['id']===_0x3ad14d));_0x530971[_0x808b69(0x1b3)]&&this[_0x808b69(0x217)](new _0x1d64b3(_0x808b69(0x21c),this,{'commandIds':_0x530971[_0x808b69(0x230)](',\x20')}),!0x0);}async[_0x408668(0x237)](){const _0x35c128=_0x408668;try{const _0x407d55=new _0x4f4ce7({'connector':this[_0x35c128(0x1e8)],'config':this[_0x35c128(0x1b8)][_0x35c128(0x1cc)][_0x35c128(0x1c2)](_0x35c128(0x1b6)),'locale':this[_0x35c128(0x1b8)][_0x35c128(0x1e9)]});return{'all':await _0x407d55[_0x35c128(0x20a)](),'recommended':await _0x407d55[_0x35c128(0x213)](),'default':await _0x407d55[_0x35c128(0x1ec)]()};}catch(_0x316752){return this[_0x35c128(0x217)](new _0x1d64b3(_0x35c128(0x1f7),this,void 0x0,_0x316752)),{'all':[],'recommended':[],'default':null};}}[_0x408668(0x1b7)](_0x202c16){const _0xca3220=_0x408668,_0x38afd2=_0xca3220(0x209)+_0x202c16['id'][_0xca3220(0x238)]()[_0xca3220(0x223)]('-','_'),_0x410ba2={..._0x202c16,'title':this[_0xca3220(0x1ed)](_0x38afd2+_0xca3220(0x1d9),_0x202c16[_0xca3220(0x1c4)]),'description':this[_0xca3220(0x1ed)](_0x38afd2+_0xca3220(0x222),_0x202c16[_0xca3220(0x1d5)])};return _0x202c16[_0xca3220(0x239)]&&(_0x410ba2[_0xca3220(0x239)]=_0x202c16[_0xca3220(0x239)][_0xca3220(0x1db)](_0x47b96e=>({..._0x47b96e,'label':this[_0xca3220(0x1ed)](_0x38afd2+_0xca3220(0x1eb),_0x47b96e[_0xca3220(0x1c0)]||''),'data':_0x47b96e[_0xca3220(0x1cd)]?_0x47b96e[_0xca3220(0x1cd)][_0xca3220(0x1db)](_0x680dbe=>({..._0x680dbe,'label':this[_0xca3220(0x1ed)](_0x38afd2+_0xca3220(0x201)+_0x680dbe['id'][_0xca3220(0x238)](),_0x680dbe[_0xca3220(0x1c0)])})):void 0x0}))),_0x410ba2;}[_0x408668(0x1ba)](_0xc44240){const _0x462af3=_0x408668,_0x38b70c=[];_0xc44240[_0x462af3(0x226)][_0x462af3(0x234)](_0x3bf076=>{const _0x149a67=_0x462af3;(_0x3bf076 instanceof _0x363b67&&!_0x3bf076[_0x149a67(0x22f)]||_0x3bf076 instanceof _0x422b80&&!_0x3bf076[_0x149a67(0x210)][_0x149a67(0x1b3)])&&_0x38b70c[_0x149a67(0x200)](_0x3bf076['id']);}),_0x38b70c[_0x462af3(0x1b3)]&&_0x38b70c[_0x462af3(0x234)](_0x6a5bef=>{const _0x3d2c47=_0x462af3;_0xc44240[_0x3d2c47(0x1c8)](_0x6a5bef),this[_0x3d2c47(0x217)](new _0x1d64b3(_0x3d2c47(0x1c3),this,{'commandId':_0x6a5bef}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x410ec9=_0x2c23;(function(_0x40e072,_0x295576){const _0x1fa1cd=_0x2c23,_0x307577=_0x40e072();while(!![]){try{const _0x500372=-parseInt(_0x1fa1cd(0x1ca))/0x1*(-parseInt(_0x1fa1cd(0x1d1))/0x2)+parseInt(_0x1fa1cd(0x1d2))/0x3*(-parseInt(_0x1fa1cd(0x1df))/0x4)+-parseInt(_0x1fa1cd(0x1e7))/0x5+-parseInt(_0x1fa1cd(0x1cc))/0x6*(-parseInt(_0x1fa1cd(0x1de))/0x7)+-parseInt(_0x1fa1cd(0x1dc))/0x8+parseInt(_0x1fa1cd(0x1da))/0x9*(parseInt(_0x1fa1cd(0x1d7))/0xa)+-parseInt(_0x1fa1cd(0x1d3))/0xb*(-parseInt(_0x1fa1cd(0x1d8))/0xc);if(_0x500372===_0x295576)break;else _0x307577['push'](_0x307577['shift']());}catch(_0x133f70){_0x307577['push'](_0x307577['shift']());}}}(_0x492c,0xb0f50));import{FormHeaderView as _0x1bf039}from'ckeditor5/src/ui.js';import{IconAIReview as _0x335674}from'ckeditor5/src/icons.js';import{getTranslation as _0x1c43a4}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x52662e}from'../aireviewcore/ui/aireviewcoreview.js';function _0x2c23(_0x577a51,_0x4a4016){const _0x492c6e=_0x492c();return _0x2c23=function(_0x2c2378,_0x21f30c){_0x2c2378=_0x2c2378-0x1c7;let _0x257f17=_0x492c6e[_0x2c2378];return _0x257f17;},_0x2c23(_0x577a51,_0x4a4016);}import{AIReviewCoreUI as _0xf01bdc}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x20beef}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x45731c}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';function _0x492c(){const _0x481506=['12cfpeWM','locale','7775127zkgzPz','AITabs','342304FHNbpm','createMainView','34167CLEriv','1076OsNcip','pluginName','AI_REVIEW_MODE','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','view','leaveReview','get','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','4311535WbLrLV','activateTab','getReviewCheckList','fire','reviewMode','registerTab','112ORImjA','context','390EPkJmK','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','AIReviewModeUI','_mainView','addTab','6868AiSrZG','15315FUagHh','15811180MeRtyw','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','ck-ai-header\x20ck-ai-header_review','plugins','10FmSxwV'];_0x492c=function(){return _0x481506;};return _0x492c();}import{AIReviewCoreReviewCheckListView as _0x28d352}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0xf01bdc{static get[_0x410ec9(0x1e0)](){const _0x44143a=_0x410ec9;return _0x44143a(0x1ce);}[_0x410ec9(0x1dd)](){const _0x596c11=_0x410ec9,_0x354b92=this[_0x596c11(0x1cb)][_0x596c11(0x1d9)],_0x21140b=new _0x1bf039(_0x354b92,{'label':_0x1c43a4(_0x354b92,_0x596c11(0x1e1)),'icon':_0x335674,'class':_0x596c11(0x1d5)});return new _0x52662e(this[_0x596c11(0x1cb)][_0x596c11(0x1d9)],{'header':_0x21140b,'list':new _0x28d352(_0x354b92),'results':new _0x20beef(_0x354b92,{'generalErrorText':_0x1c43a4(_0x354b92,_0x596c11(0x1d4))}),'completed':new _0x45731c(_0x354b92,{'headerText':_0x1c43a4(_0x354b92,_0x596c11(0x1e2)),'emptyResultsText':_0x1c43a4(_0x354b92,_0x596c11(0x1cd)),'buttonText':_0x1c43a4(_0x354b92,_0x596c11(0x1e6))})});}[_0x410ec9(0x1c9)](){const _0x414aad=_0x410ec9,_0x209272=this[_0x414aad(0x1cb)][_0x414aad(0x1d6)][_0x414aad(0x1e5)](_0x414aad(0x1db));_0x209272[_0x414aad(0x1e3)]['on'](_0x414aad(0x1e8),(_0x6a2380,_0x492310)=>{const _0x570c73=_0x414aad;_0x570c73(0x1c8)===_0x492310?this[_0x570c73(0x1c7)](_0x570c73(0x1e9)):this[_0x570c73(0x1c7)](_0x570c73(0x1e4));}),_0x209272[_0x414aad(0x1e3)][_0x414aad(0x1d0)]({'id':_0x414aad(0x1c8),'buttonLabel':_0x1c43a4(this[_0x414aad(0x1cb)][_0x414aad(0x1d9)],_0x414aad(0x1e1)),'buttonIcon':_0x335674,'order':0x0,'content':this[_0x414aad(0x1cf)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x132786=_0x2cdf;function _0x3c56(){var _0x26c776=['167125IfVHsK','1422340ZdxrGh','models','16120395yCGyAZ','2007446abGbqw','7844990fAWoUp','12901800rSvIuQ','_defaultModel','1532073BrlRni','4YRYgpO','_models','defaultModel','2xqPlWe','6LaTqxV'];_0x3c56=function(){return _0x26c776;};return _0x3c56();}(function(_0x8ccb3b,_0x26b214){var _0x3ee98a=_0x2cdf,_0x27c7f3=_0x8ccb3b();while(!![]){try{var _0x4b0394=-parseInt(_0x3ee98a(0x11e))/0x1+-parseInt(_0x3ee98a(0x11c))/0x2*(-parseInt(_0x3ee98a(0x126))/0x3)+-parseInt(_0x3ee98a(0x127))/0x4*(parseInt(_0x3ee98a(0x11f))/0x5)+parseInt(_0x3ee98a(0x11d))/0x6*(parseInt(_0x3ee98a(0x122))/0x7)+parseInt(_0x3ee98a(0x124))/0x8+-parseInt(_0x3ee98a(0x121))/0x9+parseInt(_0x3ee98a(0x123))/0xa;if(_0x4b0394===_0x26b214)break;else _0x27c7f3['push'](_0x27c7f3['shift']());}catch(_0xfb47f2){_0x27c7f3['push'](_0x27c7f3['shift']());}}}(_0x3c56,0xe8689));function _0x2cdf(_0xe51885,_0x2316a0){var _0x3c569c=_0x3c56();return _0x2cdf=function(_0x2cdf1d,_0x1bf923){_0x2cdf1d=_0x2cdf1d-0x11c;var _0x56714e=_0x3c569c[_0x2cdf1d];return _0x56714e;},_0x2cdf(_0xe51885,_0x2316a0);}import{AIReviewCheck as _0x197b2a}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckCustom extends _0x197b2a{[_0x132786(0x128)]=[];[_0x132786(0x125)]=null;constructor(_0x20462b,_0x1c2ccd,_0x589f48){var _0x3af903=_0x132786;super(_0x20462b),this[_0x3af903(0x128)]=_0x1c2ccd,this[_0x3af903(0x125)]=_0x589f48;}get[_0x132786(0x120)](){var _0x4e2dcc=_0x132786;return this[_0x4e2dcc(0x128)];}get[_0x132786(0x129)](){var _0x43b665=_0x132786;return this[_0x43b665(0x125)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x538cf2=_0x5e5c;(function(_0x3e8d58,_0x230f37){var _0x40081d=_0x5e5c,_0x5a755a=_0x3e8d58();while(!![]){try{var _0x5be35c=parseInt(_0x40081d(0x179))/0x1*(parseInt(_0x40081d(0x185))/0x2)+-parseInt(_0x40081d(0x181))/0x3*(parseInt(_0x40081d(0x17b))/0x4)+parseInt(_0x40081d(0x183))/0x5*(parseInt(_0x40081d(0x180))/0x6)+-parseInt(_0x40081d(0x182))/0x7*(-parseInt(_0x40081d(0x178))/0x8)+-parseInt(_0x40081d(0x186))/0x9*(-parseInt(_0x40081d(0x17f))/0xa)+-parseInt(_0x40081d(0x17c))/0xb*(parseInt(_0x40081d(0x188))/0xc)+-parseInt(_0x40081d(0x17d))/0xd;if(_0x5be35c===_0x230f37)break;else _0x5a755a['push'](_0x5a755a['shift']());}catch(_0x49d0ea){_0x5a755a['push'](_0x5a755a['shift']());}}}(_0x9ade,0xc1416));import{AIReviewCheck as _0x2e83e0}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x2e83e0{[_0x538cf2(0x18a)]=!0x0;[_0x538cf2(0x17a)];[_0x538cf2(0x17e)];[_0x538cf2(0x189)]=null;constructor(_0x54592d,_0x169fcb,_0x5656e1){var _0x47deed=_0x538cf2;super(_0x54592d),this[_0x47deed(0x17a)]=_0x54592d[_0x47deed(0x17a)],this[_0x47deed(0x17e)]=_0x54592d[_0x47deed(0x17e)],this[_0x47deed(0x17e)]?this[_0x47deed(0x189)]=_0x169fcb[_0x47deed(0x187)](_0x12fe8a=>_0x12fe8a['id']===this[_0x47deed(0x17e)])||null:this[_0x47deed(0x189)]=_0x5656e1;}get[_0x538cf2(0x184)](){var _0x566538=_0x538cf2;return this[_0x566538(0x189)];}}function _0x5e5c(_0xc0c736,_0x212d65){var _0x9ade9e=_0x9ade();return _0x5e5c=function(_0x5e5c20,_0x1cc678){_0x5e5c20=_0x5e5c20-0x178;var _0x33962f=_0x9ade9e[_0x5e5c20];return _0x33962f;},_0x5e5c(_0xc0c736,_0x212d65);}function _0x9ade(){var _0x293f3d=['find','236724lerDCg','_defaultModel','isExtra','115160NGqCTi','1jSFPDd','prompt','4hRpTGn','297jVHjET','9894586hWdofx','model','44740uZJzmo','42BvCyZq','1265193hekqMk','231ARkGzn','561590FoiDMc','defaultModel','1569946LVulcP','927VCFVpE'];_0x9ade=function(){return _0x293f3d;};return _0x9ade();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5226(_0xe34b09,_0x3a1bc5){var _0x1ca79c=_0x1ca7();return _0x5226=function(_0x522627,_0x49a05f){_0x522627=_0x522627-0x194;var _0x32f1ec=_0x1ca79c[_0x522627];return _0x32f1ec;},_0x5226(_0xe34b09,_0x3a1bc5);}var _0x34f26f=_0x5226;(function(_0x44ec83,_0x5b3600){var _0x39de3a=_0x5226,_0x242926=_0x44ec83();while(!![]){try{var _0x3e448d=parseInt(_0x39de3a(0x19f))/0x1*(parseInt(_0x39de3a(0x19b))/0x2)+parseInt(_0x39de3a(0x1a0))/0x3+parseInt(_0x39de3a(0x1a7))/0x4+-parseInt(_0x39de3a(0x1a3))/0x5*(-parseInt(_0x39de3a(0x19c))/0x6)+parseInt(_0x39de3a(0x194))/0x7*(-parseInt(_0x39de3a(0x19a))/0x8)+parseInt(_0x39de3a(0x19e))/0x9+-parseInt(_0x39de3a(0x1a2))/0xa;if(_0x3e448d===_0x5b3600)break;else _0x242926['push'](_0x242926['shift']());}catch(_0x3d3e35){_0x242926['push'](_0x242926['shift']());}}}(_0x1ca7,0xd7e78));function _0x1ca7(){var _0x17c4cd=['53nHhyzA','4866900pUAJUC','_aiConnector','25718170XKBtwH','232865mlxreS','_model','_prompt','subTitle','5094572lqDuWF','3261650JTAtOr','_createApiRequest','_sendRatingRequest','upsertCustomAIReviewRating','callCustomReview','_documentData','16NJiVfM','9738bTizgu','78swVUxw','content','5657508YWzXPX'];_0x1ca7=function(){return _0x17c4cd;};return _0x1ca7();}import{AIReviewCheckRun as _0x1ec31d}from'../../aireviewcore/model/aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x1ec31d{[_0x34f26f(0x1a5)];[_0x34f26f(0x1a4)];constructor(_0x406461,_0x280036,_0x23522f,_0xab0745,_0x5cc321){var _0x418aef=_0x34f26f;super(_0x23522f,_0xab0745,_0x5cc321),this[_0x418aef(0x1a5)]=_0x406461,this[_0x418aef(0x1a4)]=_0x280036;}get[_0x34f26f(0x1a6)](){var _0xe7052f=_0x34f26f;return this[_0xe7052f(0x1a5)];}[_0x34f26f(0x195)](){var _0x425c44=_0x34f26f;return this[_0x425c44(0x1a1)][_0x425c44(0x198)]({'content':this[_0x425c44(0x199)][_0x425c44(0x19d)],'prompt':this[_0x425c44(0x1a5)],'model':this[_0x425c44(0x1a4)]});}[_0x34f26f(0x196)](_0x504d22,_0x30dd37,_0x427486){var _0xedfc6f=_0x34f26f;return this[_0xedfc6f(0x1a1)][_0xedfc6f(0x197)](_0x30dd37,_0x504d22,_0x427486);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x49c3(_0x2ed988,_0x1b9b98){var _0x6f09c4=_0x6f09();return _0x49c3=function(_0x49c36e,_0x15929b){_0x49c36e=_0x49c36e-0x95;var _0x2e5dcb=_0x6f09c4[_0x49c36e];return _0x2e5dcb;},_0x49c3(_0x2ed988,_0x1b9b98);}var _0x3ad4b1=_0x49c3;(function(_0xfd4c1e,_0x520bf5){var _0x2fc692=_0x49c3,_0x31d114=_0xfd4c1e();while(!![]){try{var _0x5b6955=-parseInt(_0x2fc692(0x9d))/0x1*(-parseInt(_0x2fc692(0x9e))/0x2)+-parseInt(_0x2fc692(0xa1))/0x3+parseInt(_0x2fc692(0x9b))/0x4*(-parseInt(_0x2fc692(0x96))/0x5)+parseInt(_0x2fc692(0x95))/0x6+parseInt(_0x2fc692(0x9f))/0x7+parseInt(_0x2fc692(0xa4))/0x8*(parseInt(_0x2fc692(0x97))/0x9)+-parseInt(_0x2fc692(0x99))/0xa*(parseInt(_0x2fc692(0x9a))/0xb);if(_0x5b6955===_0x520bf5)break;else _0x31d114['push'](_0x31d114['shift']());}catch(_0x3c279e){_0x31d114['push'](_0x31d114['shift']());}}}(_0x6f09,0xe9def));import{AIReviewCustomCheckRun as _0x44738f}from'./aireviewcustomcheckrun.js';function _0x6f09(){var _0x24c5e0=['6245ZvWbFg','2862KBQhHv','_model','2900510uUrGwr','110Trwdkq','1928HLJjtt','model','61NUymSj','51058ynoVnT','8733375dClOFi','_prompt','1108953eVQyoy','prompt','subTitle','7352sprvzT','10397868DtnyaS'];_0x6f09=function(){return _0x24c5e0;};return _0x6f09();}export class AIReviewExtraCheckRun extends _0x44738f{get[_0x3ad4b1(0xa3)](){return'';}set[_0x3ad4b1(0xa2)](_0x449fa0){var _0x4b81a1=_0x3ad4b1;this[_0x4b81a1(0xa0)]=_0x449fa0;}set[_0x3ad4b1(0x9c)](_0x5e1acd){var _0x4b2b68=_0x3ad4b1;this[_0x4b2b68(0x98)]=_0x5e1acd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5f1879=_0x2cb8;(function(_0x15af81,_0x278907){var _0x474c33=_0x2cb8,_0x515f17=_0x15af81();while(!![]){try{var _0x4cb513=parseInt(_0x474c33(0x150))/0x1+parseInt(_0x474c33(0x14d))/0x2+parseInt(_0x474c33(0x152))/0x3+parseInt(_0x474c33(0x154))/0x4+parseInt(_0x474c33(0x156))/0x5+-parseInt(_0x474c33(0x15b))/0x6+-parseInt(_0x474c33(0x14f))/0x7;if(_0x4cb513===_0x278907)break;else _0x515f17['push'](_0x515f17['shift']());}catch(_0xa914b0){_0x515f17['push'](_0x515f17['shift']());}}}(_0x2c6e,0x46428));function _0x2cb8(_0x42d7e5,_0x44c195){var _0x2c6e40=_0x2c6e();return _0x2cb8=function(_0x2cb83d,_0x3542fa){_0x2cb83d=_0x2cb83d-0x14d;var _0xc67ce1=_0x2c6e40[_0x2cb83d];return _0xc67ce1;},_0x2cb8(_0x42d7e5,_0x44c195);}import{AIReviewCheckList as _0x360490}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x35ef63}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0x524f42}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x34f2e9}from'./aireviewcheckextra.js';function _0x2c6e(){var _0x3e5aa9=['_defaultModel','isExtra','custom','_checks','3009180JkUfdn','1080344DmnhGn','setupChecks','6277852scLYwV','124555dctFun','_allModels','649050wXXKuU','map','1109508TqOgGA','_recommendedModels','2638480DVLrrD'];_0x2c6e=function(){return _0x3e5aa9;};return _0x2c6e();}export class AIReviewModeCheckList extends _0x360490{[_0x5f1879(0x151)]=[];[_0x5f1879(0x155)]=[];[_0x5f1879(0x157)]=null;constructor(_0x56bca8,_0x3378db,_0x4006f4){var _0x499b23=_0x5f1879;super(),this[_0x499b23(0x151)]=_0x56bca8,this[_0x499b23(0x155)]=_0x3378db,this[_0x499b23(0x157)]=_0x4006f4;}[_0x5f1879(0x14e)](_0x1c36ed){var _0x5d1a96=_0x5f1879;this[_0x5d1a96(0x15a)]=_0x1c36ed[_0x5d1a96(0x153)](_0x5d732f=>!0x0===_0x5d732f[_0x5d1a96(0x158)]?new _0x34f2e9(_0x5d732f,this[_0x5d1a96(0x151)],this[_0x5d1a96(0x157)]):_0x5d1a96(0x159)===_0x5d732f['id']?new _0x524f42(_0x5d732f,this[_0x5d1a96(0x155)],this[_0x5d1a96(0x157)]):new _0x35ef63(_0x5d732f));}}
|