@ckeditor/ckeditor5-ai 47.6.1 → 47.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +0 -4
- package/build/ai.js +2 -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/lang/contexts.json +1 -0
- package/package.json +15 -16
- 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.d.ts +15 -156
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.d.ts +2 -0
- 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
- package/build/966.ai.js +0 -5
- package/build/translations/en.js +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x14d318,IconView as _0xde2601,View as _0x27fd7f,ViewCollection as _0x12f70d,ButtonView as _0x3f24e8,clickOutsideHandler as _0xc5bd36}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x345686}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x14443f}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x3e1b6c}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x14d318{['_formItemsCollection']=new _0x12f70d();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x46cfb0,_0x1b8ebc,_0x1569ab,_0x32612a=!0x1){super(_0x46cfb0),this['_hideModels']=_0x32612a,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x1b8ebc['isParameterized']);const _0x1655eb=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',_0x1515e3=>_0x1515e3),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x30af92=>_0x30af92)],'style':{'--ck-ai-review-check-list-item-index':_0x1569ab}},'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':_0x1b8ebc['title']}]},_0x1655eb]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x1b8ebc['description']?[{'text':_0x1b8ebc['description']}]:[]}]}]},..._0x1b8ebc['isParameterized']?[this['_createParameterizedView'](_0x1b8ebc)]:[],...'custom'===_0x1b8ebc['id']?[this['_createCustomView'](_0x1b8ebc,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x1b8ebc['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x1b8ebc['id'],'args':_0x1b8ebc['useArgs']?_0x1b8ebc['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0xc5bd36({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x1543a4=>{_0x1543a4['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x113ada=new _0xde2601();return _0x113ada['content']=_0x345686,_0x113ada['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x113ada;}['_createParameterizedView'](_0x57f645){const _0x5af255=new _0x27fd7f(),_0xfcaa53=this['_createFormView'](_0x57f645);return _0x5af255['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x4609f2=>!_0x4609f2)]},'children':[_0xfcaa53]}),_0x5af255;}['_createFormView'](_0x547505){const _0x421eaf=new _0x27fd7f(),_0x5143df=Array['isArray'](_0x547505['options'])?_0x547505['options']:[],_0xd97e40=new _0x3f24e8(this['locale']),t=this['locale']['t'];_0xd97e40['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xd97e40['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x9918ff=>{_0x9918ff['stopPropagation']();})}}),_0xd97e40['on']('execute',()=>{const _0x13a2d2=[],_0x2233c3={};this['_formItemsCollection']['forEach'](_0x508ee7=>{_0x13a2d2['push'](_0x508ee7['value']),_0x547505['useArgs']&&_0x547505['options']&&(_0x2233c3[_0x508ee7['argsKey']]=_0x508ee7['value']);}),this['fire']('runReviewCheck',{'id':_0x547505['id'],'params':_0x13a2d2['length']?_0x13a2d2:void 0x0,'args':Object['keys'](_0x2233c3)['length']?_0x2233c3:void 0x0});});const _0x21867f=_0x5143df['length'];return _0x5143df['forEach']((_0x2a5a4c,_0x3c0a54)=>{const _0x5bbff7=_0x3c0a54===_0x21867f-0x1;this['_formItemsCollection']['add'](new _0x14443f(this['locale'],_0x2a5a4c,_0x5bbff7?_0xd97e40:null));}),_0x421eaf['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x421eaf;}['_createCustomView'](_0x59e95e,_0x5a0c22=!0x1){return this['_customCheckView']=new _0x3e1b6c(this['locale'],_0x59e95e,_0x5a0c22),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',_0x56387f=>!_0x56387f)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x301fdf,_0x213816,_0x85df7)=>{_0x85df7||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x354d2d=_0x5819;(function(_0x3fdca1,_0x5d60e6){const _0x513816=_0x5819,_0x3b55f3=_0x3fdca1();while(!![]){try{const _0x2f0816=-parseInt(_0x513816(0x16a))/0x1+-parseInt(_0x513816(0x16e))/0x2+-parseInt(_0x513816(0x153))/0x3+parseInt(_0x513816(0x16f))/0x4+-parseInt(_0x513816(0x152))/0x5*(-parseInt(_0x513816(0x16d))/0x6)+parseInt(_0x513816(0x169))/0x7+-parseInt(_0x513816(0x170))/0x8*(-parseInt(_0x513816(0x15a))/0x9);if(_0x2f0816===_0x5d60e6)break;else _0x3b55f3['push'](_0x3b55f3['shift']());}catch(_0x2fa3b7){_0x3b55f3['push'](_0x3b55f3['shift']());}}}(_0x380e,0xa7a94));import{ListItemView as _0x537fc7,View as _0x5b5b98}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x2dc0b3}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x5819(_0x1f1fcf,_0x2670b8){const _0x380eaf=_0x380e();return _0x5819=function(_0x58190f,_0x1f9ce7){_0x58190f=_0x58190f-0x151;let _0x49fe61=_0x380eaf[_0x58190f];return _0x49fe61;},_0x5819(_0x1f1fcf,_0x2670b8);}export class AIReviewCoreReviewCompletedView extends _0x537fc7{[_0x354d2d(0x168)];[_0x354d2d(0x160)];constructor(_0x5ac9c8,_0x5a1c54){const _0x30520b=_0x354d2d;super(_0x5ac9c8),this[_0x30520b(0x160)]=this[_0x30520b(0x166)](_0x5a1c54[_0x30520b(0x15c)]),this[_0x30520b(0x168)]=this[_0x30520b(0x16b)](_0x5a1c54[_0x30520b(0x167)]);const _0x4788f7=this[_0x30520b(0x163)];this[_0x30520b(0x154)]({'tag':_0x30520b(0x156),'attributes':{'class':[_0x30520b(0x15f),_0x4788f7['if'](_0x30520b(0x164),_0x30520b(0x151),_0x27e0bb=>!_0x27e0bb)]},'children':[this[_0x30520b(0x168)],{'tag':_0x30520b(0x156),'attributes':{'class':[_0x30520b(0x15e)]},'children':[{'tag':_0x30520b(0x15b),'attributes':{'class':[_0x30520b(0x155)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x30520b(0x162)]},'children':[{'text':_0x5a1c54[_0x30520b(0x15d)]}]}]}]});}[_0x354d2d(0x166)](_0x13cf38){const _0x39f0ac=_0x354d2d,_0x1beb7b=new _0x2dc0b3(_0x13cf38,this[_0x39f0ac(0x161)]);return _0x1beb7b[_0x39f0ac(0x165)](_0x39f0ac(0x159))['to'](this),_0x1beb7b;}[_0x354d2d(0x16b)](_0x4489a5){const _0x4632df=_0x354d2d,_0x374c1e=new _0x5b5b98(this[_0x4632df(0x161)]);return _0x374c1e[_0x4632df(0x154)]({'tag':_0x4632df(0x156),'attributes':{'class':[_0x4632df(0x16c)]},'children':[{'tag':_0x4632df(0x15b),'attributes':{'class':[_0x4632df(0x158)]},'children':[{'text':_0x4489a5}]},{'tag':_0x4632df(0x156),'attributes':{'class':[_0x4632df(0x157)]},'children':[this[_0x4632df(0x160)]]}]}),_0x374c1e;}}function _0x380e(){const _0x425e02=['_resultsHeader','2864582theEnp','1138513acMhjx','_createResultHeaderView','ck-ai_review__review-completed-header','2297634vnfbPP','1868730ATjFMM','1860860HaOcMF','16088tfIPGc','ck-hidden','5KJchYg','2256279wdsuFp','setTemplate','ck-ai_review__review-completed-content-icon','div','ck-ai_review__review-completed-header-buttons','ck-ai_review__review-completed-header-title','finishReview','10089hYsDXd','span','buttonText','emptyResultsText','ck-ai_review__review-completed-content','ck-ai_review__review-completed','_finishReviewButtonView','locale','ck-ai_review__review-completed-content-text','bindTemplate','isVisible','delegate','_createFinishReviewButtonView','headerText'];_0x380e=function(){return _0x425e02;};return _0x380e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0x5780b3,View as _0x1da9fb,ViewCollection as _0x27d807,ButtonView as _0x1fa9a5}from'ckeditor5/src/ui.js';import{IconStop as _0x1d3955,IconEye as _0x4858d2,IconEyeCrossedOut as _0x4cd2c9}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x1e49e1,SKELETON_DEFINITIONS as _0xbe2f2}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x473514}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x39d592}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x5a47cc}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x390bb8}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x1310cd}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x5780b3{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x29a232,_0x1e8634){super(_0x29a232),this['_contents']=_0x1e8634,this['_resultViews']=new _0x27d807(),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 _0x473514(_0x29a232),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 _0x30ffc6=this['_createCombinedSkeletonLoader'](),_0xb4d985=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0xb4d985['if']('isLoading','ck-ai_review__check-run_loading',_0x4dfef2=>_0x4dfef2),_0xb4d985['if']('isResultReady','ck-ai_review__check-run_ready',_0x2c477b=>_0x2c477b),_0xb4d985['if']('isVisible','ck-hidden',_0x5a0fb5=>!_0x5a0fb5)]},'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',_0x5a3eaf=>_0x5a3eaf)]},'children':this['_resultViews']},_0x30ffc6]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x30a0c6){const _0x635f20=new _0x390bb8(this['locale'],_0x30a0c6['id']);_0x635f20['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x635f20),_0x635f20['resultResponseView']['element']['innerHTML']=_0x30a0c6['contentDiffed'];}['hideResult'](_0x2d2a72,_0x17dcd6){if('pending'===_0x17dcd6)return;const _0x5d5d80=this['_resultViews']['find'](_0xceb6dd=>_0xceb6dd['id']===_0x2d2a72);_0x5d5d80&&(_0x5d5d80['status']=_0x17dcd6,_0x5d5d80['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x186aad,_0x44fd6a){if('pending'!==_0x44fd6a)return;const _0xbb540b=this['_resultViews']['find'](_0xa75dad=>_0xa75dad['id']===_0x186aad);_0xbb540b&&(_0xbb540b['status']=_0x44fd6a,_0xbb540b['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x596281,_0x48e775){this['headerTitle']=_0x596281,this['headerSubtitle']=_0x48e775||'';}['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 _0x1e49e1(this['locale'],_0xbe2f2['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0xbeb24f=new _0x1da9fb(this['locale']),_0x580643=[];for(let _0x5b1c4a=0x0;_0x5b1c4a<0x10;_0x5b1c4a++){const _0x4e9ded=this['_createSkeletonLoader']();_0x4e9ded['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x580643['push'](_0x4e9ded);}return _0xbeb24f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x298185=>!_0x298185)]},'children':_0x580643}),_0xbeb24f;}['_createErrorView'](){const _0x105b85=new _0x1da9fb(this['locale']),_0x219b47=new _0x1fa9a5(this['locale']),t=this['locale']['t'];return _0x105b85['delegate']('retryReview')['to'](this),_0x219b47['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x219b47['on']('execute',()=>{this['fire']('retryReview');}),_0x105b85['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x56996b=>!_0x56996b),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x39f7f1=>'chunk'===_0x39f7f1)]},'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',_0x57dec0=>'chunk'===_0x57dec0)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x538ec9=>'general'!==_0x538ec9)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4e664c=>'chunk'!==_0x4e664c)]},'children':[{'text':_0x39d592(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x219b47]}),_0x105b85;}['_createCancelButtonView'](){const _0x3ff30d=new _0x1fa9a5(this['locale']);return _0x3ff30d['set']({'label':_0x39d592(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x1d3955}),_0x3ff30d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3af688=>_0x3af688),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2ce00e=>_0x2ce00e)]}}),_0x3ff30d['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x3ff30d;}['_createToggleDiffButtonView'](){const _0x5b928e=new _0x1fa9a5(this['locale']);_0x5b928e['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x5b928e['bind']('isEnabled')['to'](this,'isError',_0x4a37a0=>!_0x4a37a0),_0x5b928e['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x59840a=>!_0x59840a),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x401a91=>_0x401a91)]}});const _0x1d4583=_0x39d592(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x381adf=_0x39d592(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x5b928e['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2ba2a4=>_0x2ba2a4),_0x5b928e['bind']('icon')['to'](this,'isToggleDiffOn',_0x1afacb=>_0x1afacb?_0x4858d2:_0x4cd2c9),_0x5b928e['bind']('label')['to'](this,'isToggleDiffOn',_0x8dfeb2=>_0x8dfeb2?_0x1d4583:_0x381adf),_0x5b928e['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x5b928e;}['_createAcceptAllButtonView'](){const _0x572b4d=new _0x1fa9a5(this['locale']);return _0x572b4d['set']({'label':_0x39d592(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x572b4d['bind']('isEnabled')['to'](this,'isError',_0x27a61b=>!_0x27a61b),_0x572b4d['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1e7fa3=>!_0x1e7fa3),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x319781=>_0x319781)]}}),_0x572b4d['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x572b4d;}['_createExitReviewButtonView'](){const _0x26d69b=new _0x1fa9a5(this['locale']);return _0x26d69b['set']({'label':_0x39d592(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x26d69b['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x341b51=>!_0x341b51),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x11860e=>_0x11860e)]}}),_0x26d69b['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x26d69b;}['_createResultHeaderView'](){const _0x455e34=new _0x1da9fb(this['locale']),_0x391549=this['_createTitleView']();return _0x455e34['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x178a9c=>_0x178a9c)]},'children':[_0x391549,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x455e34;}['_createTitleView'](){const _0x26ddca=new _0x1da9fb(this['locale']),_0x25c10c=new _0x5a47cc();return _0x25c10c['bind']('isVisible')['to'](this,'isResultReady',_0x4b845c=>!_0x4b845c),_0x26ddca['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x25c10c,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1e5df7=>_0x1e5df7)]},'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',_0x263076=>!_0x263076)]},'children':[{'text':_0x39d592(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x26ddca;}['_createFinishReviewButtonView'](){const _0x1ac3c2=new _0x1310cd(_0x39d592(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x1ac3c2['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3f8947=>!_0x3f8947)]}}),_0x1ac3c2['delegate']('finishReview')['to'](this),_0x1ac3c2;}}
|
|
23
|
+
import{ListItemView as _0x2abba7,View as _0x456d64,ViewCollection as _0x5dcfa5,ButtonView as _0x415f85}from'ckeditor5/src/ui.js';import{IconStop as _0x5593f4,IconEye as _0x97f79e,IconEyeCrossedOut as _0x58fc8c}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x33a257,SKELETON_DEFINITIONS as _0x26ec3e}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0xfb05dd}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1724de}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0xbd1d34}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x1aeaa0}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0xf92dab}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x2abba7{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x84647,_0x15bb53){super(_0x84647),this['_contents']=_0x15bb53,this['_resultViews']=new _0x5dcfa5(),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 _0xfb05dd(_0x84647),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 _0x5b0ad4=this['_createCombinedSkeletonLoader'](),_0x1e7b73=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x1e7b73['if']('isLoading','ck-ai_review__check-run_loading',_0x51d43=>_0x51d43),_0x1e7b73['if']('isResultReady','ck-ai_review__check-run_ready',_0x79d8e=>_0x79d8e),_0x1e7b73['if']('isVisible','ck-hidden',_0x428de9=>!_0x428de9)]},'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',_0x5d1af8=>_0x5d1af8)]},'children':this['_resultViews']},_0x5b0ad4]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x64ff1d){const _0x42a91b=new _0x1aeaa0(this['locale'],_0x64ff1d['id']);_0x42a91b['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x42a91b),_0x42a91b['resultResponseView']['element']['innerHTML']=_0x64ff1d['contentDiffed'];}['hideResult'](_0x363a65,_0x1f8383){if('pending'===_0x1f8383)return;const _0xf6bc59=this['_resultViews']['find'](_0x4f11c5=>_0x4f11c5['id']===_0x363a65);_0xf6bc59&&(_0xf6bc59['status']=_0x1f8383,_0xf6bc59['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x222eea,_0x1e0b0b){if('pending'!==_0x1e0b0b)return;const _0x1e7828=this['_resultViews']['find'](_0x5195fb=>_0x5195fb['id']===_0x222eea);_0x1e7828&&(_0x1e7828['status']=_0x1e0b0b,_0x1e7828['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x2202d9,_0x194ca9){this['headerTitle']=_0x2202d9,this['headerSubtitle']=_0x194ca9||'';}['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 _0x33a257(this['locale'],_0x26ec3e['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x63fce9=new _0x456d64(this['locale']),_0x32e25c=[];for(let _0x4b56f4=0x0;_0x4b56f4<0x10;_0x4b56f4++){const _0x347c95=this['_createSkeletonLoader']();_0x347c95['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x32e25c['push'](_0x347c95);}return _0x63fce9['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x122422=>!_0x122422)]},'children':_0x32e25c}),_0x63fce9;}['_createErrorView'](){const _0x3d8bee=new _0x456d64(this['locale']),_0x57ed38=new _0x415f85(this['locale']),t=this['locale']['t'];return _0x3d8bee['delegate']('retryReview')['to'](this),_0x57ed38['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x57ed38['on']('execute',()=>{this['fire']('retryReview');}),_0x3d8bee['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x49d971=>!_0x49d971),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0xb2d020=>'chunk'===_0xb2d020)]},'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',_0x4139b6=>'chunk'===_0x4139b6)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3d713f=>'general'!==_0x3d713f)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xa2a807=>'chunk'!==_0xa2a807)]},'children':[{'text':_0x1724de(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x57ed38]}),_0x3d8bee;}['_createCancelButtonView'](){const _0x2158d3=new _0x415f85(this['locale']);return _0x2158d3['set']({'label':_0x1724de(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x5593f4}),_0x2158d3['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1c7838=>_0x1c7838),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x134707=>_0x134707)]}}),_0x2158d3['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x2158d3;}['_createToggleDiffButtonView'](){const _0x46c532=new _0x415f85(this['locale']);_0x46c532['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x46c532['bind']('isEnabled')['to'](this,'isError',_0x5857ac=>!_0x5857ac),_0x46c532['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x44ee4b=>!_0x44ee4b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2bd765=>_0x2bd765)]}});const _0x2e36a5=_0x1724de(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x4b2859=_0x1724de(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x46c532['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2386e4=>_0x2386e4),_0x46c532['bind']('icon')['to'](this,'isToggleDiffOn',_0x17f867=>_0x17f867?_0x97f79e:_0x58fc8c),_0x46c532['bind']('label')['to'](this,'isToggleDiffOn',_0x5aa064=>_0x5aa064?_0x2e36a5:_0x4b2859),_0x46c532['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x46c532;}['_createAcceptAllButtonView'](){const _0xb90722=new _0x415f85(this['locale']);return _0xb90722['set']({'label':_0x1724de(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0xb90722['bind']('isEnabled')['to'](this,'isError',_0x2080e6=>!_0x2080e6),_0xb90722['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d3741=>!_0x1d3741),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x278c67=>_0x278c67)]}}),_0xb90722['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0xb90722;}['_createExitReviewButtonView'](){const _0x10d4f3=new _0x415f85(this['locale']);return _0x10d4f3['set']({'label':_0x1724de(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x10d4f3['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3b38e3=>!_0x3b38e3),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4f0299=>_0x4f0299)]}}),_0x10d4f3['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x10d4f3;}['_createResultHeaderView'](){const _0x3612e1=new _0x456d64(this['locale']),_0x3835c4=this['_createTitleView']();return _0x3612e1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x1fac15=>_0x1fac15)]},'children':[_0x3835c4,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x3612e1;}['_createTitleView'](){const _0x2a2dfd=new _0x456d64(this['locale']),_0x3c6d58=new _0xbd1d34();return _0x3c6d58['bind']('isVisible')['to'](this,'isResultReady',_0x631a08=>!_0x631a08),_0x2a2dfd['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x3c6d58,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x316e10=>_0x316e10)]},'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',_0x2ac984=>!_0x2ac984)]},'children':[{'text':_0x1724de(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x2a2dfd;}['_createFinishReviewButtonView'](){const _0x4f2c8f=new _0xf92dab(_0x1724de(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x4f2c8f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x18689c=>!_0x18689c)]}}),_0x4f2c8f['delegate']('finishReview')['to'](this),_0x4f2c8f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2260(){var _0x3aa54c=['showGeneralErrorMessage','div','isResultReady','ltr','949288ZdslBP','reviewCoreHeader','showGeneralResultsErrorView','showReviewCheckListView','errorMessage','showGeneralReviewCoreErrorView','ck-ai-review','showChunkErrorMessage','reviewCheckListView','isCompleted','7854784jvRpGg','216wEcjYL','set','list','reviewCompletedView','2841195KvxKTf','6594150kfXGYC','generalErrorView','hideActionsWhenResultIsReady','completed','showReviewCheckResultsView','header','2DKTNXc','addCheckRunResult','257228rDWvBj','clearResults','reviewCheckResultsView','setTemplate','showNoChangesView','resetAllParameterizedChecks','resetErrorState','addResult','isVisible','18URCweo','5328822RNAJWV','delegate','77rPtqcw','showReviewCompletedView','showActionsWhenResultIsReady','finishReview','showChunkErrorView','ck-reset_all','ck-rounded-corners','results','152946Cprrcc','isLoading'];_0x2260=function(){return _0x3aa54c;};return _0x2260();}var _0x15d993=_0x50e0;(function(_0x5866f5,_0x395634){var _0xbc8264=_0x50e0,_0xeb3b97=_0x5866f5();while(!![]){try{var _0xca0ad7=parseInt(_0xbc8264(0x96))/0x1+parseInt(_0xbc8264(0x94))/0x2*(-parseInt(_0xbc8264(0xa0))/0x3)+parseInt(_0xbc8264(0xb0))/0x4+-parseInt(_0xbc8264(0xbf))/0x5*(parseInt(_0xbc8264(0x9f))/0x6)+-parseInt(_0xbc8264(0xba))/0x7+-parseInt(_0xbc8264(0xbb))/0x8*(-parseInt(_0xbc8264(0xaa))/0x9)+-parseInt(_0xbc8264(0xc0))/0xa*(-parseInt(_0xbc8264(0xa2))/0xb);if(_0xca0ad7===_0x395634)break;else _0xeb3b97['push'](_0xeb3b97['shift']());}catch(_0x396d03){_0xeb3b97['push'](_0xeb3b97['shift']());}}}(_0x2260,0xebe2e));function _0x50e0(_0x19cb10,_0x2a9b55){var _0x22602=_0x2260();return _0x50e0=function(_0x50e075,_0x1a08b1){_0x50e075=_0x50e075-0x94;var _0x1d7736=_0x22602[_0x50e075];return _0x1d7736;},_0x50e0(_0x19cb10,_0x2a9b55);}import{View as _0xe18e3f}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x2be6cc}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x2f56ef}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0xe18e3f{[_0x15d993(0xb1)];[_0x15d993(0xc1)];[_0x15d993(0xb8)];[_0x15d993(0x98)];[_0x15d993(0xbe)];constructor(_0x321e45,_0x95abe6){var _0x5ad188=_0x15d993;super(_0x321e45),this[_0x5ad188(0xb1)]=_0x95abe6[_0x5ad188(0xc5)],this[_0x5ad188(0xc1)]=new _0x2f56ef(_0x321e45),this[_0x5ad188(0xb8)]=_0x95abe6[_0x5ad188(0xbd)],this[_0x5ad188(0xb8)][_0x5ad188(0xa1)](..._0x2be6cc)['to'](this),this[_0x5ad188(0x98)]=_0x95abe6[_0x5ad188(0xa9)],this[_0x5ad188(0x98)][_0x5ad188(0xa1)](..._0x2be6cc)['to'](this),this[_0x5ad188(0xbe)]=_0x95abe6[_0x5ad188(0xc3)],this[_0x5ad188(0xbe)][_0x5ad188(0xa1)](_0x5ad188(0xa5))['to'](this),this[_0x5ad188(0xb8)][_0x5ad188(0xbc)](_0x5ad188(0x9e),!0x1),this[_0x5ad188(0x98)][_0x5ad188(0xbc)](_0x5ad188(0x9e),!0x1),this[_0x5ad188(0x98)][_0x5ad188(0xbc)](_0x5ad188(0xab),!0x1),this[_0x5ad188(0x98)][_0x5ad188(0xbc)](_0x5ad188(0xae),!0x1),this[_0x5ad188(0xbe)][_0x5ad188(0xbc)](_0x5ad188(0x9e),!0x1),this[_0x5ad188(0x99)]({'tag':_0x5ad188(0xad),'attributes':{'class':['ck',_0x5ad188(0xa7),_0x5ad188(0xb6),_0x5ad188(0xa8)],'dir':_0x5ad188(0xaf)},'children':[this[_0x5ad188(0xb1)],this[_0x5ad188(0xc1)],this[_0x5ad188(0xb8)],this[_0x5ad188(0x98)],this[_0x5ad188(0xbe)]]});}[_0x15d993(0xb3)](){var _0x98c095=_0x15d993;this[_0x98c095(0xb8)][_0x98c095(0x9b)](),this[_0x98c095(0xb8)][_0x98c095(0xbc)](_0x98c095(0x9e),!0x0),this[_0x98c095(0x98)][_0x98c095(0xbc)](_0x98c095(0x9e),!0x1),this[_0x98c095(0xbe)][_0x98c095(0xbc)](_0x98c095(0x9e),!0x1);}[_0x15d993(0xc4)](){var _0x44cbfb=_0x15d993;this[_0x44cbfb(0xc2)](),this[_0x44cbfb(0x98)][_0x44cbfb(0x9c)](),this[_0x44cbfb(0xb8)][_0x44cbfb(0xbc)](_0x44cbfb(0x9e),!0x1),this[_0x44cbfb(0x98)][_0x44cbfb(0xbc)](_0x44cbfb(0x9e),!0x0),this[_0x44cbfb(0x98)][_0x44cbfb(0x97)](),this[_0x44cbfb(0x98)][_0x44cbfb(0xbc)](_0x44cbfb(0xab),!0x0),this[_0x44cbfb(0x98)][_0x44cbfb(0xbc)](_0x44cbfb(0xb9),!0x1);}[_0x15d993(0x95)](_0x27a8a4){var _0x31b4e5=_0x15d993;this[_0x31b4e5(0x98)][_0x31b4e5(0x9d)](_0x27a8a4),this[_0x31b4e5(0x98)][_0x31b4e5(0xbc)](_0x31b4e5(0xab),!0x1);}[_0x15d993(0xa3)](){var _0x4f82a8=_0x15d993;this[_0x4f82a8(0x98)][_0x4f82a8(0xbc)](_0x4f82a8(0x9e),!0x0),this[_0x4f82a8(0xbe)][_0x4f82a8(0xbc)](_0x4f82a8(0x9e),!0x1),this[_0x4f82a8(0x98)][_0x4f82a8(0xbc)](_0x4f82a8(0xb9),!0x0),this[_0x4f82a8(0xb8)][_0x4f82a8(0xbc)](_0x4f82a8(0x9e),!0x1);}[_0x15d993(0xa4)](){var _0x1e6938=_0x15d993;this[_0x1e6938(0x98)][_0x1e6938(0xae)]?(this[_0x1e6938(0xb8)][_0x1e6938(0xbc)](_0x1e6938(0x9e),!0x1),this[_0x1e6938(0x98)][_0x1e6938(0xbc)](_0x1e6938(0x9e),!0x0),this[_0x1e6938(0xbe)][_0x1e6938(0xbc)](_0x1e6938(0x9e),!0x1)):this[_0x1e6938(0x98)][_0x1e6938(0xae)]=!0x0;}[_0x15d993(0x9a)](){var _0x117e82=_0x15d993;this[_0x117e82(0xb8)][_0x117e82(0xbc)](_0x117e82(0x9e),!0x1),this[_0x117e82(0x98)][_0x117e82(0xbc)](_0x117e82(0x9e),!0x1),this[_0x117e82(0xbe)][_0x117e82(0xbc)](_0x117e82(0x9e),!0x0);}[_0x15d993(0xc2)](){var _0x89c4dc=_0x15d993;this[_0x89c4dc(0x98)][_0x89c4dc(0xae)]=!0x1;}[_0x15d993(0xb5)](_0x371488){var _0x536c9b=_0x15d993;this[_0x536c9b(0xc1)][_0x536c9b(0xbc)](_0x536c9b(0x9e),!0x0),this[_0x536c9b(0xc1)][_0x536c9b(0xb4)]=_0x371488;}[_0x15d993(0xb2)](){var _0x3c7dba=_0x15d993;this[_0x3c7dba(0x98)][_0x3c7dba(0xbc)](_0x3c7dba(0xab),!0x1),this[_0x3c7dba(0xa4)](),this[_0x3c7dba(0x98)][_0x3c7dba(0xac)]();}[_0x15d993(0xa6)](){var _0x262a32=_0x15d993;this[_0x262a32(0x98)][_0x262a32(0xbc)](_0x262a32(0xab),!0x1),this[_0x262a32(0xa4)](),this[_0x262a32(0x98)][_0x262a32(0xb7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2436(){const _0x37c11e=['isOn','menuitemradio','1117698GWjoDW','bind','formValue','resetToDefault','_defaultLabel','ck-ai_review__check-list-item-parameterized-form-element','802776lJIKEH','setTemplate','model','div','_dropdownView','find','buttonView','button','14EzOGRu','execute','label','length','add','bindTemplate','_defaultValue','1737738CnQWEd','ck-ai_review__check-list-item-parameterized-form-element_dropdown','430185qMRnsF','1575870MWaxZZ','7858OeOEXa','menu','8628LwphdE','listenTo','ck-reset_all','stopPropagation','730mmyPMZ','source','set','2eeCEtb','locale','default','extendTemplate','_prepareListOptions','data'];_0x2436=function(){return _0x37c11e;};return _0x2436();}const _0x318013=_0x31a6;(function(_0xefd2d7,_0xdbb32b){const _0x38f399=_0x31a6,_0x30ad39=_0xefd2d7();while(!![]){try{const _0x426cac=-parseInt(_0x38f399(0x19c))/0x1+parseInt(_0x38f399(0x1a5))/0x2*(parseInt(_0x38f399(0x19a))/0x3)+-parseInt(_0x38f399(0x19e))/0x4*(parseInt(_0x38f399(0x1a2))/0x5)+-parseInt(_0x38f399(0x1ad))/0x6*(-parseInt(_0x38f399(0x191))/0x7)+parseInt(_0x38f399(0x189))/0x8+parseInt(_0x38f399(0x198))/0x9+-parseInt(_0x38f399(0x19b))/0xa;if(_0x426cac===_0xdbb32b)break;else _0x30ad39['push'](_0x30ad39['shift']());}catch(_0x2a1fed){_0x30ad39['push'](_0x30ad39['shift']());}}}(_0x2436,0x5053f));import{Collection as _0x4e94b0}from'ckeditor5/src/utils.js';import{View as _0x1b7706,createDropdown as _0x302e51,addListToDropdown as _0x22df60,UIModel as _0xf215be}from'ckeditor5/src/ui.js';function _0x31a6(_0x59ce97,_0xdc099c){const _0x2436b9=_0x2436();return _0x31a6=function(_0x31a626,_0x3556ad){_0x31a626=_0x31a626-0x189;let _0x7d9d46=_0x2436b9[_0x31a626];return _0x7d9d46;},_0x31a6(_0x59ce97,_0xdc099c);}export class AIReviewCoreFormDropdownView extends _0x1b7706{[_0x318013(0x18d)];[_0x318013(0x197)];[_0x318013(0x1b1)];constructor(_0x47f73c,_0x53dcf5){const _0x57a3f2=_0x318013;super(_0x47f73c),this[_0x57a3f2(0x197)]=_0x53dcf5[_0x57a3f2(0x1a7)]||(_0x53dcf5[_0x57a3f2(0x1aa)][_0x57a3f2(0x194)]>0x0?_0x53dcf5[_0x57a3f2(0x1aa)][0x0]['id']:''),this[_0x57a3f2(0x1b1)]=_0x53dcf5[_0x57a3f2(0x1aa)][_0x57a3f2(0x18e)](_0x37eb44=>_0x37eb44['id']===this[_0x57a3f2(0x197)])?.[_0x57a3f2(0x193)]||'',this[_0x57a3f2(0x1a4)](_0x57a3f2(0x1af),''),this[_0x57a3f2(0x18d)]=_0x302e51(this[_0x57a3f2(0x1a6)]);const _0x3360ff=this[_0x57a3f2(0x1a9)](_0x53dcf5[_0x57a3f2(0x1aa)]);_0x22df60(this[_0x57a3f2(0x18d)],_0x3360ff,{'role':_0x57a3f2(0x19d),'ariaLabel':_0x53dcf5[_0x57a3f2(0x193)]}),this[_0x57a3f2(0x18d)][_0x57a3f2(0x18f)][_0x57a3f2(0x1a4)]({'label':this[_0x57a3f2(0x1b1)],'withText':!0x0}),this[_0x57a3f2(0x18d)][_0x57a3f2(0x1a8)]({'on':{'click':this[_0x57a3f2(0x196)]['to'](_0xb9a605=>{const _0x53a7ff=_0x57a3f2;_0xb9a605[_0x53a7ff(0x1a1)]();})}}),this[_0x57a3f2(0x19f)](this[_0x57a3f2(0x18d)],_0x57a3f2(0x192),_0x2d6b31=>{const _0x2ca143=_0x57a3f2;this[_0x2ca143(0x1af)]=_0x2d6b31[_0x2ca143(0x1a3)][_0x2ca143(0x18b)]['id'],this[_0x2ca143(0x18d)][_0x2ca143(0x18f)][_0x2ca143(0x193)]=_0x2d6b31[_0x2ca143(0x1a3)][_0x2ca143(0x18b)][_0x2ca143(0x193)];}),this[_0x57a3f2(0x18a)]({'tag':_0x57a3f2(0x18c),'attributes':{'class':['ck',_0x57a3f2(0x1a0),_0x57a3f2(0x1b2),_0x57a3f2(0x199)]},'children':[this[_0x57a3f2(0x18d)]]});}[_0x318013(0x1b0)](){const _0x54d41b=_0x318013;this[_0x54d41b(0x1af)]=this[_0x54d41b(0x197)],this[_0x54d41b(0x18d)][_0x54d41b(0x18f)][_0x54d41b(0x193)]=this[_0x54d41b(0x1b1)];}[_0x318013(0x1a9)](_0x7201f7=[]){const _0x5b2534=_0x318013,_0x5ccc66=new _0x4e94b0();this[_0x5b2534(0x1b0)]();for(const _0x7bbbd of _0x7201f7){const _0x5e799f=new _0xf215be({'label':_0x7bbbd[_0x5b2534(0x193)],'withText':!0x0,'role':_0x5b2534(0x1ac),'id':_0x7bbbd['id'],'model':_0x7bbbd});_0x5e799f[_0x5b2534(0x1ae)](_0x5b2534(0x1ab))['to'](this,_0x5b2534(0x1af),_0x3f80dc=>_0x3f80dc===_0x5e799f['id']);const _0x220b71={'type':_0x5b2534(0x190),'model':_0x5e799f};_0x5ccc66[_0x5b2534(0x195)](_0x220b71);}return _0x5ccc66;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e84d6=_0x36cd;(function(_0x1f86ac,_0x4ce35f){const _0x2cd64d=_0x36cd,_0x25346d=_0x1f86ac();while(!![]){try{const _0x3538ab=-parseInt(_0x2cd64d(0x107))/0x1+parseInt(_0x2cd64d(0xfa))/0x2*(-parseInt(_0x2cd64d(0x113))/0x3)+parseInt(_0x2cd64d(0x106))/0x4*(parseInt(_0x2cd64d(0x10f))/0x5)+-parseInt(_0x2cd64d(0x111))/0x6+parseInt(_0x2cd64d(0x110))/0x7+-parseInt(_0x2cd64d(0x10c))/0x8*(parseInt(_0x2cd64d(0x105))/0x9)+parseInt(_0x2cd64d(0x103))/0xa;if(_0x3538ab===_0x4ce35f)break;else _0x25346d['push'](_0x25346d['shift']());}catch(_0x5e8c92){_0x25346d['push'](_0x25346d['shift']());}}}(_0x3b69,0xd2353));function _0x36cd(_0x504b17,_0x170716){const _0x3b698c=_0x3b69();return _0x36cd=function(_0x36cd63,_0x481df3){_0x36cd63=_0x36cd63-0xfa;let _0x1f732e=_0x3b698c[_0x36cd63];return _0x1f732e;},_0x36cd(_0x504b17,_0x170716);}import{FormRowView as _0x36ae8e,ListItemView as _0x9c9a6f}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0x4c8e1d}from'./aireviewcoreformdropdown.js';export class AIReviewCoreFormManagerView extends _0x9c9a6f{[_0x3e84d6(0x112)]=null;constructor(_0x52b841,_0x1afcc1,_0x41d52a){const _0x1c8e67=_0x3e84d6;super(_0x52b841),this[_0x1c8e67(0x109)]=_0x1afcc1?.[_0x1c8e67(0x109)];if(_0x1c8e67(0x100)===_0x1afcc1[_0x1c8e67(0x108)])this[_0x1c8e67(0x112)]=new _0x4c8e1d(this[_0x1c8e67(0xfb)],_0x1afcc1);this[_0x1c8e67(0xfc)](_0x1c8e67(0xfd),''),this[_0x1c8e67(0xfe)](_0x1c8e67(0xfd))['to'](this[_0x1c8e67(0x112)],_0x1c8e67(0x10b));const _0x32a190=new _0x36ae8e(this[_0x1c8e67(0xfb)],{'children':[this[_0x1c8e67(0x112)]],'class':[_0x41d52a?_0x1c8e67(0x10d):'']});_0x41d52a&&_0x32a190[_0x1c8e67(0x10a)][_0x1c8e67(0x102)](_0x41d52a),this[_0x1c8e67(0x10e)]({'tag':_0x1c8e67(0x104),'attributes':{'class':['ck',_0x1c8e67(0x101),_0x1c8e67(0x114)]},'children':[_0x32a190]});}[_0x3e84d6(0xff)](){const _0xc1dcf8=_0x3e84d6;this[_0xc1dcf8(0x112)][_0xc1dcf8(0xff)]();}}function _0x3b69(){const _0x4cd762=['dropdown','ck-ai_review__form-item','add','24548430QcQrju','div','9JEJEyo','68uIAdtK','1094192svUoER','formType','argsKey','children','formValue','5769912JXmLmF','ck-form__row_with-submit','setTemplate','226015MSxwGW','6513318qvkxjm','517152ifrcOr','_formItem','2086701oLhLcj','ck-reset_all','4jSHwCc','locale','set','value','bind','resetToDefault'];_0x3b69=function(){return _0x4cd762;};return _0x3b69();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29d352=_0x12b5;(function(_0x2a37ad,_0x4a7d38){const _0x2d358b=_0x12b5,_0x111ba1=_0x2a37ad();while(!![]){try{const _0x45b7c2=-parseInt(_0x2d358b(0x1bb))/0x1+parseInt(_0x2d358b(0x1d0))/0x2+-parseInt(_0x2d358b(0x1a7))/0x3*(parseInt(_0x2d358b(0x1c6))/0x4)+-parseInt(_0x2d358b(0x1ad))/0x5*(-parseInt(_0x2d358b(0x1ae))/0x6)+-parseInt(_0x2d358b(0x1cd))/0x7+-parseInt(_0x2d358b(0x1c5))/0x8+parseInt(_0x2d358b(0x1cf))/0x9*(parseInt(_0x2d358b(0x1cc))/0xa);if(_0x45b7c2===_0x4a7d38)break;else _0x111ba1['push'](_0x111ba1['shift']());}catch(_0x37475e){_0x111ba1['push'](_0x111ba1['shift']());}}}(_0x58f2,0x855df));function _0x12b5(_0x3bb669,_0x544445){const _0x58f2c9=_0x58f2();return _0x12b5=function(_0x12b5c3,_0x46f587){_0x12b5c3=_0x12b5c3-0x1a5;let _0x5d02ed=_0x58f2c9[_0x12b5c3];return _0x5d02ed;},_0x12b5(_0x3bb669,_0x544445);}function _0x58f2(){const _0x1014ff=['clarity','correctness','Custom\x20command','shorter','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','1126688FfwOoH','1996024zEbYmT','dropdown','confident','readability','Friendly','Longer','63550bouYYB','6754153KRQpEn','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','2799IshYrv','347472nnBJsZ','direct','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','make-tone','3SQZspx','longer','Adjust\x20length','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Adjust\x20tone\x20and\x20style','Casual','5hkKlEb','22362bcZifw','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','casual','make','Confident','professional','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Professional','Readability','length','Direct','Correctness','tone','2876QEUUFg','Shorter','Clarity','friendly','custom'];_0x58f2=function(){return _0x1014ff;};return _0x58f2();}export const AI_REVIEW_CHECKS=[{'id':_0x29d352(0x1bf),'commandId':_0x29d352(0x1bf),'title':_0x29d352(0x1c2),'description':_0x29d352(0x1af),'isParameterized':!0x0},{'id':_0x29d352(0x1c1),'commandId':_0x29d352(0x1c1),'title':_0x29d352(0x1b9),'description':_0x29d352(0x1aa),'isParameterized':!0x1},{'id':_0x29d352(0x1c0),'commandId':_0x29d352(0x1c0),'title':_0x29d352(0x1bd),'description':_0x29d352(0x1b4),'isParameterized':!0x1},{'id':_0x29d352(0x1c9),'commandId':_0x29d352(0x1c9),'title':_0x29d352(0x1b6),'description':_0x29d352(0x1ce),'isParameterized':!0x1},{'id':_0x29d352(0x1b7),'commandId':_0x29d352(0x1b1),'title':_0x29d352(0x1a9),'description':_0x29d352(0x1a5),'isParameterized':!0x0,'options':[{'formType':_0x29d352(0x1c7),'label':_0x29d352(0x1a9),'default':_0x29d352(0x1a8),'data':[{'label':_0x29d352(0x1cb),'id':_0x29d352(0x1a8)},{'label':_0x29d352(0x1bc),'id':_0x29d352(0x1c3)}]}]},{'id':_0x29d352(0x1ba),'commandId':_0x29d352(0x1a6),'title':_0x29d352(0x1ab),'description':_0x29d352(0x1c4),'isParameterized':!0x0,'options':[{'formType':_0x29d352(0x1c7),'label':_0x29d352(0x1ab),'default':_0x29d352(0x1b0),'data':[{'label':_0x29d352(0x1ac),'id':_0x29d352(0x1b0)},{'label':_0x29d352(0x1b8),'id':_0x29d352(0x1d1)},{'label':_0x29d352(0x1ca),'id':_0x29d352(0x1be)},{'label':_0x29d352(0x1b2),'id':_0x29d352(0x1c8)},{'label':_0x29d352(0x1b5),'id':_0x29d352(0x1b3)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x14c46b=_0x2b23;function _0x1d1b(){var _0x167fac=['3896207JoBixv','1345640qsaoFl','3953754urwSYu','2193tlwkgx','18QZIOFg','isOfficialPlugin','requires','2956yaJXIx','11673200YsUkCY','265950XHbjKL','pluginName','16goMHcI','120688iiEKTh','AIReviewMode','isPremiumPlugin'];_0x1d1b=function(){return _0x167fac;};return _0x1d1b();}(function(_0x228d3e,_0x53b0c9){var _0x37c5f9=_0x2b23,_0x33f853=_0x228d3e();while(!![]){try{var _0x4aacc1=parseInt(_0x37c5f9(0xc8))/0x1+-parseInt(_0x37c5f9(0xc5))/0x2+parseInt(_0x37c5f9(0xbf))/0x3*(parseInt(_0x37c5f9(0xc3))/0x4)+-parseInt(_0x37c5f9(0xbd))/0x5*(parseInt(_0x37c5f9(0xc0))/0x6)+parseInt(_0x37c5f9(0xcb))/0x7+parseInt(_0x37c5f9(0xc7))/0x8*(-parseInt(_0x37c5f9(0xbe))/0x9)+parseInt(_0x37c5f9(0xc4))/0xa;if(_0x4aacc1===_0x53b0c9)break;else _0x33f853['push'](_0x33f853['shift']());}catch(_0xb5c533){_0x33f853['push'](_0x33f853['shift']());}}}(_0x1d1b,0x8a257));function _0x2b23(_0x1cda89,_0x4e95f0){var _0x1d1bb4=_0x1d1b();return _0x2b23=function(_0x2b23a8,_0x3c2d35){_0x2b23a8=_0x2b23a8-0xbd;var _0x3d521f=_0x1d1bb4[_0x2b23a8];return _0x3d521f;},_0x2b23(_0x1cda89,_0x4e95f0);}import{ContextPlugin as _0x426034}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x157999}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x3f8fbf}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0x20b805}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0x426034{static get[_0x14c46b(0xc2)](){return[_0x20b805,_0x157999,_0x3f8fbf];}static get[_0x14c46b(0xc6)](){var _0x204b93=_0x14c46b;return _0x204b93(0xc9);}static get[_0x14c46b(0xc1)](){return!0x0;}static get[_0x14c46b(0xca)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4758ac=_0x1d41;(function(_0x13e4f3,_0x21a482){const _0xb7816f=_0x1d41,_0x51c1f0=_0x13e4f3();while(!![]){try{const _0x5dc727=parseInt(_0xb7816f(0x1c6))/0x1+parseInt(_0xb7816f(0x1c8))/0x2*(parseInt(_0xb7816f(0x195))/0x3)+parseInt(_0xb7816f(0x1b9))/0x4*(-parseInt(_0xb7816f(0x1ee))/0x5)+parseInt(_0xb7816f(0x1bb))/0x6*(-parseInt(_0xb7816f(0x212))/0x7)+-parseInt(_0xb7816f(0x202))/0x8+parseInt(_0xb7816f(0x1d6))/0x9+-parseInt(_0xb7816f(0x204))/0xa*(-parseInt(_0xb7816f(0x1cd))/0xb);if(_0x5dc727===_0x21a482)break;else _0x51c1f0['push'](_0x51c1f0['shift']());}catch(_0x3a9d30){_0x51c1f0['push'](_0x51c1f0['shift']());}}}(_0xa97e,0x4c184));import{CKEditorError as _0x5bc25c}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0xb60865}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x1a279c}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0xc8a461}from'./model/aireviewmodechecklist.js';function _0x1d41(_0x2d8642,_0x4baa69){const _0xa97e82=_0xa97e();return _0x1d41=function(_0x1d4174,_0x2ff29a){_0x1d4174=_0x1d4174-0x190;let _0x5d4de2=_0xa97e82[_0x1d4174];return _0x5d4de2;},_0x1d41(_0x2d8642,_0x4baa69);}import{AIReviewCustomCheckRun as _0x440e79}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x57f4ed}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x35ceea}from'../aicore/model/aimodels.js';function _0xa97e(){const _0x165c7d=['content','_onReviewCheckResultDeactivated','params','init','plugins','4804632lFSFmX','config','7903690nCWHwG','_DESCRIPTION','getClassNames','description','toggleDiff','defaultModel','_OPTIONS_DATA_','args','ai-review-mode-non-existent-commands-used','setMarkersInElementAsActive','_aiReviewCoreUi','_getExtraChecks','custom','setActiveStateInResults','7oecbPX','get','_onChangeMarkerHovered','_onActivateChange','getRoot','ai.review.extraCommands','models','startsWith','checks','data','AIReviewModeUI','_translateReviewCheck','addClass','_isDiffOn','getAll','88422tCwmPH','change','isExtra','title','getDocumentData','_filterChecksWithMissingModel','hover','_aiReviewCoreEditing','_onReviewCheckRun','view','uiInteraction','replaceAll','changeId','domEvent','_getTranslationWithDefault','ai.review.availableCommands','_aiConnector','markChangePositionInEditorContent','_scrollToChange','_onChangeMarkerBlurred','prompt','isAnyChangeActivated','define','getEditor','_diffContent','deactivateChange','ck-ai_review-','push','setupChecks','removeClass','ai.models','showDiffInBalloon','_OPTIONS_LABEL','isCustom','panel','getElement','1444592pixArl','getAvailableModels','1043184ExXHDb','find','AI_REVIEW_CHECK_','map','AIReviewCoreEditing','_hasDefaultAvailableCommands','locale','hideChangeBalloon','label','ck-ai_review-diff','default','374914jGnyMd','AIReviewModeController','10qGiLHY','_onDiffChange','context','_getModels','diffContent','11evHaXv','origin','model','join','some','_markChangePositionInEditorContent','ai-review-mode-models-unable-to-retrieve','_changeActivationSource','_logError','1211598AQgiCQ','hideDiffInBalloon','_createReviewCheckRun','ai-review-mode-command-unavailable-due-to-missing-model','options','ck-ai_review-highlights','length','activateChange','_currentReviewCheckRun','filter','all','_logErrorForNonExistentChecks','getDefault','_onReviewCheckResultActivated','showChangeBalloon','markerElement','setAllMarkersAsInactive','getDomRoot','viewportOffset','recommended','getChangeById','resetActiveStateInResults','listenTo','_onChangeMarkerClicked','5TWQmSh','_TITLE','editing','removeCheckById','click','_onDeactivateChange','balloon','document','forEach','toUpperCase','pluginName','getMarkerElementForChange','_getChecksList','_getChangeContentElement','_initRequiredPlugins'];_0xa97e=function(){return _0x165c7d;};return _0xa97e();}import{AIReviewCheckCustom as _0x323e8d}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x8a1f02}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x323435}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0xb60865{static get[_0x4758ac(0x1f8)](){const _0x5bdc24=_0x4758ac;return _0x5bdc24(0x1c7);}[_0x4758ac(0x193)]=!0x1;[_0x4758ac(0x1c0)]=!0x1;constructor(_0x3650fb){const _0x46998b=_0x4758ac;super(_0x3650fb),this[_0x46998b(0x1c0)]=!this[_0x46998b(0x1ca)][_0x46998b(0x203)][_0x46998b(0x213)](_0x46998b(0x1a4)),this[_0x46998b(0x1ca)][_0x46998b(0x203)][_0x46998b(0x1ab)](_0x46998b(0x1a4),_0x1a279c[_0x46998b(0x1be)](_0x35cb1b=>_0x35cb1b['id'])),this[_0x46998b(0x1ca)][_0x46998b(0x203)][_0x46998b(0x1ab)](_0x46998b(0x217),[]);}async[_0x4758ac(0x200)](){const _0x3ffc0c=_0x4758ac;await super[_0x3ffc0c(0x200)](),this[_0x3ffc0c(0x1ec)](this[_0x3ffc0c(0x20e)],_0x3ffc0c(0x208),(_0x2febc4,_0x316843)=>{const _0x89dc8=_0x3ffc0c;this[_0x89dc8(0x193)]=_0x316843['on'],this[_0x89dc8(0x1c9)](this[_0x89dc8(0x193)]);});}[_0x4758ac(0x1fc)](){const _0x2b1bb5=_0x4758ac;super[_0x2b1bb5(0x1fc)](),this[_0x2b1bb5(0x20e)]=this[_0x2b1bb5(0x1ca)][_0x2b1bb5(0x201)][_0x2b1bb5(0x213)](_0x2b1bb5(0x190)),this[_0x2b1bb5(0x19c)]=this[_0x2b1bb5(0x1ca)][_0x2b1bb5(0x201)][_0x2b1bb5(0x213)](_0x2b1bb5(0x1bf));}[_0x4758ac(0x1d8)](_0x567c51,_0x4d83b8){const _0x44c72e=_0x4758ac;return _0x567c51[_0x44c72e(0x1b6)]?new _0x440e79(_0x567c51[_0x44c72e(0x20b)][_0x44c72e(0x1a9)],_0x567c51[_0x44c72e(0x20b)][_0x44c72e(0x1cf)],this[_0x44c72e(0x19c)][_0x44c72e(0x199)](),_0x4d83b8,this[_0x44c72e(0x1a5)]):_0x4d83b8[_0x44c72e(0x197)]?new _0x323435(_0x4d83b8[_0x44c72e(0x1a9)],_0x4d83b8[_0x44c72e(0x209)]['id'],this[_0x44c72e(0x19c)][_0x44c72e(0x199)](),_0x4d83b8,this[_0x44c72e(0x1a5)]):new _0x57f4ed(this[_0x44c72e(0x19c)][_0x44c72e(0x199)](),_0x4d83b8,this[_0x44c72e(0x1a5)],_0x567c51[_0x44c72e(0x1ff)],_0x567c51[_0x44c72e(0x20b)]);}[_0x4758ac(0x1e3)](_0x196247){const _0x4a102c=_0x4758ac;this[_0x4a102c(0x20e)][_0x4a102c(0x211)](_0x196247[_0x4a102c(0x196)]['id']),this[_0x4a102c(0x1a7)](_0x196247[_0x4a102c(0x196)]['id']);const _0x91287b=this[_0x4a102c(0x19c)][_0x4a102c(0x1f9)](_0x196247[_0x4a102c(0x196)]['id']);if(!_0x91287b)return;const _0x731373=this[_0x4a102c(0x19c)][_0x4a102c(0x1ac)]();this[_0x4a102c(0x20e)][_0x4a102c(0x1e4)](_0x196247[_0x4a102c(0x196)],()=>_0x91287b[_0x4a102c(0x1b8)](),void 0x0,_0x4a102c(0x1f2),_0x731373?.[_0x4a102c(0x1f0)]?.[_0x4a102c(0x19e)]?.[_0x4a102c(0x1e7)](),_0x731373?.['ui']?.[_0x4a102c(0x1e8)]),this[_0x4a102c(0x19c)][_0x4a102c(0x20d)](_0x196247[_0x4a102c(0x196)]['id']);}[_0x4758ac(0x1fe)](){const _0x361289=_0x4758ac;this[_0x361289(0x20e)][_0x361289(0x1eb)](),this[_0x361289(0x20e)][_0x361289(0x1c2)](),this[_0x361289(0x19c)][_0x361289(0x1e6)]();}[_0x4758ac(0x215)](_0x146690){const _0x2a338e=_0x4758ac;this[_0x2a338e(0x1de)]&&_0x2a338e(0x1f2)===_0x146690[_0x2a338e(0x19f)]&&(this[_0x2a338e(0x1d4)]=_0x2a338e(0x1b7),this[_0x2a338e(0x1de)][_0x2a338e(0x1dd)](_0x146690['id']));}[_0x4758ac(0x1f3)](_0x1dbfb5){const _0x2b1af6=_0x4758ac;this[_0x2b1af6(0x1de)]&&_0x2b1af6(0x1f4)===_0x1dbfb5[_0x2b1af6(0x1ce)]&&this[_0x2b1af6(0x1de)][_0x2b1af6(0x1ae)]();}[_0x4758ac(0x1ed)](_0x2587b4,_0x9d234f){const _0x18d657=_0x4758ac;if(!this[_0x18d657(0x1de)])return;this[_0x18d657(0x1d4)]=_0x18d657(0x1fd),this[_0x18d657(0x1de)][_0x18d657(0x1dd)](_0x9d234f[_0x18d657(0x1a1)]);const _0x4ef637=this[_0x18d657(0x1de)][_0x18d657(0x1ea)](_0x9d234f[_0x18d657(0x1a1)]);if(!_0x4ef637)return;const _0x3e89d5=this[_0x18d657(0x19c)][_0x18d657(0x1ac)]();this[_0x18d657(0x20e)][_0x18d657(0x1e4)](_0x4ef637,_0x9d234f[_0x18d657(0x1e5)],_0x9d234f[_0x18d657(0x1a2)],_0x18d657(0x1f2),_0x3e89d5?.[_0x18d657(0x1f0)]?.[_0x18d657(0x19e)]?.[_0x18d657(0x1e7)](),_0x3e89d5?.['ui']?.[_0x18d657(0x1e8)]);}[_0x4758ac(0x214)](_0x58da55,_0x495229){const _0x424da7=_0x4758ac;if(!this[_0x424da7(0x1de)])return;if(this[_0x424da7(0x1de)][_0x424da7(0x1aa)]())return;const _0x43929f=this[_0x424da7(0x1de)][_0x424da7(0x1ea)](_0x495229[_0x424da7(0x1a1)]);if(!_0x43929f)return;const _0x50e0d1=this[_0x424da7(0x19c)][_0x424da7(0x1ac)]();this[_0x424da7(0x20e)][_0x424da7(0x1e4)](_0x43929f,_0x495229[_0x424da7(0x1e5)],_0x495229[_0x424da7(0x1a2)],_0x424da7(0x19b),_0x50e0d1?.[_0x424da7(0x1f0)]?.[_0x424da7(0x19e)]?.[_0x424da7(0x1e7)](),_0x50e0d1?.['ui']?.[_0x424da7(0x1e8)]);}[_0x4758ac(0x1a8)](){const _0x372647=_0x4758ac;if(!this[_0x372647(0x1de)])return;this[_0x372647(0x1de)][_0x372647(0x1aa)]()||this[_0x372647(0x20e)][_0x372647(0x1c2)]();}[_0x4758ac(0x1fb)](_0x452865){const _0x2ad274=_0x4758ac,_0xd8def7=this[_0x2ad274(0x19c)][_0x2ad274(0x1f9)](_0x452865);return _0xd8def7?_0xd8def7[_0x2ad274(0x1b8)]():null;}[_0x4758ac(0x1d2)](_0x3db536,_0x2812d6){const _0x36bfca=_0x4758ac;this[_0x36bfca(0x19c)][_0x36bfca(0x1a6)](_0x3db536,_0x2812d6);}[_0x4758ac(0x1ad)](_0x187f61,_0x5139b0){const _0x209346=_0x4758ac;return this[_0x209346(0x19c)][_0x209346(0x1cc)](_0x187f61,_0x5139b0);}[_0x4758ac(0x19d)](){const _0x2f9a60=_0x4758ac;this[_0x2f9a60(0x1c9)](this[_0x2f9a60(0x193)]);}[_0x4758ac(0x1c9)](_0x4eb9b0){const _0x4e590d=_0x4758ac,_0x469e51=this[_0x4e590d(0x19c)][_0x4e590d(0x1ac)]();_0x4eb9b0?this[_0x4e590d(0x20e)][_0x4e590d(0x1d7)]():this[_0x4e590d(0x20e)][_0x4e590d(0x1b4)](),_0x469e51&&_0x469e51[_0x4e590d(0x1f0)][_0x4e590d(0x19e)][_0x4e590d(0x196)](_0x2a18c0=>{const _0x35836e=_0x4e590d,_0x2d6957=_0x469e51[_0x35836e(0x1f0)][_0x35836e(0x19e)][_0x35836e(0x1f5)][_0x35836e(0x216)]();for(const _0x5a42cc of _0x2d6957[_0x35836e(0x206)]())_0x5a42cc[_0x35836e(0x219)](_0x35836e(0x1af))&&_0x2a18c0[_0x35836e(0x1b2)](_0x5a42cc,_0x2d6957);_0x2a18c0[_0x35836e(0x192)](_0x4eb9b0?_0x35836e(0x1c4):_0x35836e(0x1db),_0x2d6957);});}async[_0x4758ac(0x1fa)](){const _0x2bcdf0=_0x4758ac,_0x38ee0f=[..._0x1a279c,...this[_0x2bcdf0(0x20f)]()],_0x5ae778=this[_0x2bcdf0(0x1ca)][_0x2bcdf0(0x203)][_0x2bcdf0(0x213)](_0x2bcdf0(0x1a4))||[];this[_0x2bcdf0(0x1e1)](_0x5ae778,_0x38ee0f);let _0x22b447=_0x38ee0f;this[_0x2bcdf0(0x1c0)]||(_0x22b447=_0x5ae778[_0x2bcdf0(0x1be)](_0x3bab48=>_0x38ee0f[_0x2bcdf0(0x1bc)](_0x1eb3b9=>_0x1eb3b9['id']===_0x3bab48))[_0x2bcdf0(0x1df)](_0x516414=>!!_0x516414)),_0x22b447=_0x22b447[_0x2bcdf0(0x1be)](_0x2611f1=>_0x2611f1[_0x2bcdf0(0x197)]?_0x2611f1:this[_0x2bcdf0(0x191)](_0x2611f1));const _0x2fe4aa=_0x22b447[_0x2bcdf0(0x1d1)](_0x512210=>_0x512210[_0x2bcdf0(0x197)]||_0x2bcdf0(0x210)===_0x512210['id']);let _0x281a03=[],_0x32a6ff=[],_0x4a98a4=null;if(_0x2fe4aa){const _0x2ff980=await this[_0x2bcdf0(0x1cb)]();_0x281a03=_0x2ff980[_0x2bcdf0(0x1e0)],_0x32a6ff=_0x2ff980[_0x2bcdf0(0x1e9)],_0x4a98a4=_0x2ff980[_0x2bcdf0(0x1c5)];}const _0x100db3=new _0xc8a461(_0x281a03,_0x32a6ff,_0x4a98a4);return _0x100db3[_0x2bcdf0(0x1b1)](_0x22b447),_0x2fe4aa&&this[_0x2bcdf0(0x19a)](_0x100db3),_0x100db3;}[_0x4758ac(0x20f)](){const _0x48cca4=_0x4758ac;return(this[_0x48cca4(0x1ca)][_0x48cca4(0x203)][_0x48cca4(0x213)](_0x48cca4(0x217))||[])[_0x48cca4(0x1be)](_0x1f9947=>({'id':_0x1f9947['id'],'commandId':_0x1f9947['id'],'title':_0x1f9947[_0x48cca4(0x1c3)],'description':_0x1f9947[_0x48cca4(0x207)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x1f9947[_0x48cca4(0x1a9)],'model':_0x1f9947[_0x48cca4(0x1cf)]}));}[_0x4758ac(0x1e1)](_0x41f9ba,_0x5b5b3a){const _0x34337e=_0x4758ac,_0x2fcd97=_0x41f9ba[_0x34337e(0x1df)](_0x323210=>!_0x5b5b3a[_0x34337e(0x1d1)](_0x1156cf=>_0x1156cf['id']===_0x323210));_0x2fcd97[_0x34337e(0x1dc)]&&this[_0x34337e(0x1d5)](new _0x5bc25c(_0x34337e(0x20c),this,{'commandIds':_0x2fcd97[_0x34337e(0x1d0)](',\x20')}),!0x0);}async[_0x4758ac(0x1cb)](){const _0x4bf54a=_0x4758ac;try{const _0x165d08=new _0x35ceea({'connector':this[_0x4bf54a(0x1a5)],'config':this[_0x4bf54a(0x1ca)][_0x4bf54a(0x203)][_0x4bf54a(0x213)](_0x4bf54a(0x1b3)),'locale':this[_0x4bf54a(0x1ca)][_0x4bf54a(0x1c1)]});return{'all':await _0x165d08[_0x4bf54a(0x194)](),'recommended':await _0x165d08[_0x4bf54a(0x1ba)](),'default':await _0x165d08[_0x4bf54a(0x1e2)]()};}catch(_0x2743c7){return this[_0x4bf54a(0x1d5)](new _0x5bc25c(_0x4bf54a(0x1d3),this,void 0x0,_0x2743c7)),{'all':[],'recommended':[],'default':null};}}[_0x4758ac(0x191)](_0x38f020){const _0x5232f0=_0x4758ac,_0x3fd4d6=_0x5232f0(0x1bd)+_0x38f020['id'][_0x5232f0(0x1f7)]()[_0x5232f0(0x1a0)]('-','_'),_0x57a687={..._0x38f020,'title':this[_0x5232f0(0x1a3)](_0x3fd4d6+_0x5232f0(0x1ef),_0x38f020[_0x5232f0(0x198)]),'description':this[_0x5232f0(0x1a3)](_0x3fd4d6+_0x5232f0(0x205),_0x38f020[_0x5232f0(0x207)])};return _0x38f020[_0x5232f0(0x1da)]&&(_0x57a687[_0x5232f0(0x1da)]=_0x38f020[_0x5232f0(0x1da)][_0x5232f0(0x1be)](_0x5a149c=>({..._0x5a149c,'label':this[_0x5232f0(0x1a3)](_0x3fd4d6+_0x5232f0(0x1b5),_0x5a149c[_0x5232f0(0x1c3)]||''),'data':_0x5a149c[_0x5232f0(0x21b)]?_0x5a149c[_0x5232f0(0x21b)][_0x5232f0(0x1be)](_0x1ec384=>({..._0x1ec384,'label':this[_0x5232f0(0x1a3)](_0x3fd4d6+_0x5232f0(0x20a)+_0x1ec384['id'][_0x5232f0(0x1f7)](),_0x1ec384[_0x5232f0(0x1c3)])})):void 0x0}))),_0x57a687;}[_0x4758ac(0x19a)](_0x410cfc){const _0x2cd4fe=_0x4758ac,_0x1e2bc9=[];_0x410cfc[_0x2cd4fe(0x21a)][_0x2cd4fe(0x1f6)](_0x39d909=>{const _0x571f53=_0x2cd4fe;(_0x39d909 instanceof _0x8a1f02&&!_0x39d909[_0x571f53(0x209)]||_0x39d909 instanceof _0x323e8d&&!_0x39d909[_0x571f53(0x218)][_0x571f53(0x1dc)])&&_0x1e2bc9[_0x571f53(0x1b0)](_0x39d909['id']);}),_0x1e2bc9[_0x2cd4fe(0x1dc)]&&_0x1e2bc9[_0x2cd4fe(0x1f6)](_0x255e99=>{const _0x220d6f=_0x2cd4fe;_0x410cfc[_0x220d6f(0x1f1)](_0x255e99),this[_0x220d6f(0x1d5)](new _0x5bc25c(_0x220d6f(0x1d9),this,{'commandId':_0x255e99}),!0x0);});}}
|
|
23
|
+
const _0xbcb387=_0x2b33;(function(_0x186c90,_0x12b2f1){const _0x3f05c1=_0x2b33,_0x53ffd4=_0x186c90();while(!![]){try{const _0x274ff8=-parseInt(_0x3f05c1(0x159))/0x1+parseInt(_0x3f05c1(0x18d))/0x2+parseInt(_0x3f05c1(0x14a))/0x3*(parseInt(_0x3f05c1(0x116))/0x4)+parseInt(_0x3f05c1(0x143))/0x5+parseInt(_0x3f05c1(0x194))/0x6*(-parseInt(_0x3f05c1(0x14c))/0x7)+-parseInt(_0x3f05c1(0x173))/0x8*(parseInt(_0x3f05c1(0x115))/0x9)+-parseInt(_0x3f05c1(0x16d))/0xa*(-parseInt(_0x3f05c1(0x19b))/0xb);if(_0x274ff8===_0x12b2f1)break;else _0x53ffd4['push'](_0x53ffd4['shift']());}catch(_0x510d9c){_0x53ffd4['push'](_0x53ffd4['shift']());}}}(_0x4bcf,0xb5dae));function _0x2b33(_0x38fba7,_0x4b2585){const _0x4bcf81=_0x4bcf();return _0x2b33=function(_0x2b3328,_0x294051){_0x2b3328=_0x2b3328-0x111;let _0x2ffc33=_0x4bcf81[_0x2b3328];return _0x2ffc33;},_0x2b33(_0x38fba7,_0x4b2585);}import{CKEditorError as _0x4f37d0}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x479c36}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x2927e0}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x5bd550}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x9bf95e}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x5d96c4}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x795ced}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x479196}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x39cdce}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x55709f}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x479c36{static get[_0xbcb387(0x11f)](){const _0x5e054b=_0xbcb387;return _0x5e054b(0x197);}[_0xbcb387(0x16e)]=!0x1;[_0xbcb387(0x13b)]=!0x1;constructor(_0x4fca46){const _0x4362a6=_0xbcb387;super(_0x4fca46),this[_0x4362a6(0x13b)]=!this[_0x4362a6(0x150)][_0x4362a6(0x17d)][_0x4362a6(0x13c)](_0x4362a6(0x17b)),this[_0x4362a6(0x150)][_0x4362a6(0x17d)][_0x4362a6(0x162)](_0x4362a6(0x17b),_0x2927e0[_0x4362a6(0x17a)](_0x4b0dcf=>_0x4b0dcf['id'])),this[_0x4362a6(0x150)][_0x4362a6(0x17d)][_0x4362a6(0x162)](_0x4362a6(0x158),[]);}async[_0xbcb387(0x111)](){const _0x5f53ef=_0xbcb387;await super[_0x5f53ef(0x111)](),this[_0x5f53ef(0x154)](this[_0x5f53ef(0x183)],_0x5f53ef(0x160),(_0x369eb0,_0x535514)=>{const _0x5a4a33=_0x5f53ef;this[_0x5a4a33(0x16e)]=_0x535514['on'],this[_0x5a4a33(0x157)](this[_0x5a4a33(0x16e)]);});}[_0xbcb387(0x175)](){const _0x689820=_0xbcb387;super[_0x689820(0x175)](),this[_0x689820(0x183)]=this[_0x689820(0x150)][_0x689820(0x136)][_0x689820(0x13c)](_0x689820(0x190)),this[_0x689820(0x155)]=this[_0x689820(0x150)][_0x689820(0x136)][_0x689820(0x13c)](_0x689820(0x13f));}[_0xbcb387(0x16a)](_0x17203f,_0x5c58f7){const _0x1f3a06=_0xbcb387;return _0x17203f[_0x1f3a06(0x135)]?new _0x9bf95e(_0x17203f[_0x1f3a06(0x15d)][_0x1f3a06(0x125)],_0x17203f[_0x1f3a06(0x15d)][_0x1f3a06(0x12f)],this[_0x1f3a06(0x155)][_0x1f3a06(0x196)](),_0x5c58f7,this[_0x1f3a06(0x182)]):_0x5c58f7[_0x1f3a06(0x165)]?new _0x55709f(_0x5c58f7[_0x1f3a06(0x125)],_0x5c58f7[_0x1f3a06(0x18f)]['id'],this[_0x1f3a06(0x155)][_0x1f3a06(0x196)](),_0x5c58f7,this[_0x1f3a06(0x182)]):new _0x5d96c4(this[_0x1f3a06(0x155)][_0x1f3a06(0x196)](),_0x5c58f7,this[_0x1f3a06(0x182)],_0x17203f[_0x1f3a06(0x191)],_0x17203f[_0x1f3a06(0x15d)]);}[_0xbcb387(0x11c)](_0x21ae74){const _0x3e0fec=_0xbcb387;this[_0x3e0fec(0x183)][_0x3e0fec(0x122)](_0x21ae74[_0x3e0fec(0x187)]['id']),this[_0x3e0fec(0x17e)](_0x21ae74[_0x3e0fec(0x187)]['id']);const _0x560331=this[_0x3e0fec(0x155)][_0x3e0fec(0x13d)](_0x21ae74[_0x3e0fec(0x187)]['id']);if(!_0x560331)return;const _0x14f156=this[_0x3e0fec(0x155)][_0x3e0fec(0x178)]();this[_0x3e0fec(0x183)][_0x3e0fec(0x112)](_0x21ae74[_0x3e0fec(0x187)],()=>_0x560331[_0x3e0fec(0x177)](),void 0x0,_0x3e0fec(0x121),_0x14f156?.[_0x3e0fec(0x14d)]?.[_0x3e0fec(0x124)]?.[_0x3e0fec(0x120)](),_0x14f156?.['ui']?.[_0x3e0fec(0x146)]),this[_0x3e0fec(0x155)][_0x3e0fec(0x14e)](_0x21ae74[_0x3e0fec(0x187)]['id']);}[_0xbcb387(0x179)](){const _0x5c8b02=_0xbcb387;this[_0x5c8b02(0x183)][_0x5c8b02(0x167)](),this[_0x5c8b02(0x183)][_0x5c8b02(0x186)](),this[_0x5c8b02(0x155)][_0x5c8b02(0x133)]();}[_0xbcb387(0x188)](_0x576706){const _0x256a16=_0xbcb387;this[_0x256a16(0x11a)]&&_0x256a16(0x121)===_0x576706[_0x256a16(0x14b)]&&(this[_0x256a16(0x13e)]=_0x256a16(0x19c),this[_0x256a16(0x11a)][_0x256a16(0x139)](_0x576706['id']));}[_0xbcb387(0x16c)](_0x19d551){const _0x1ec4f2=_0xbcb387;this[_0x1ec4f2(0x11a)]&&_0x1ec4f2(0x134)===_0x19d551[_0x1ec4f2(0x18a)]&&this[_0x1ec4f2(0x11a)][_0x1ec4f2(0x176)]();}[_0xbcb387(0x15e)](_0x428a53,_0x404d5c){const _0x1ecf00=_0xbcb387;if(!this[_0x1ecf00(0x11a)])return;this[_0x1ecf00(0x13e)]=_0x1ecf00(0x11e),this[_0x1ecf00(0x11a)][_0x1ecf00(0x139)](_0x404d5c[_0x1ecf00(0x15c)]);const _0x8a6a31=this[_0x1ecf00(0x11a)][_0x1ecf00(0x11b)](_0x404d5c[_0x1ecf00(0x15c)]);if(!_0x8a6a31)return;const _0x29ae35=this[_0x1ecf00(0x155)][_0x1ecf00(0x178)]();this[_0x1ecf00(0x183)][_0x1ecf00(0x112)](_0x8a6a31,_0x404d5c[_0x1ecf00(0x19a)],_0x404d5c[_0x1ecf00(0x117)],_0x1ecf00(0x121),_0x29ae35?.[_0x1ecf00(0x14d)]?.[_0x1ecf00(0x124)]?.[_0x1ecf00(0x120)](),_0x29ae35?.['ui']?.[_0x1ecf00(0x146)]);}[_0xbcb387(0x18b)](_0x32f7a2,_0x21eaf9){const _0x467d5e=_0xbcb387;if(!this[_0x467d5e(0x11a)])return;if(this[_0x467d5e(0x11a)][_0x467d5e(0x129)]())return;const _0x31549c=this[_0x467d5e(0x11a)][_0x467d5e(0x11b)](_0x21eaf9[_0x467d5e(0x15c)]);if(!_0x31549c)return;const _0x480842=this[_0x467d5e(0x155)][_0x467d5e(0x178)]();this[_0x467d5e(0x183)][_0x467d5e(0x112)](_0x31549c,_0x21eaf9[_0x467d5e(0x19a)],_0x21eaf9[_0x467d5e(0x117)],_0x467d5e(0x144),_0x480842?.[_0x467d5e(0x14d)]?.[_0x467d5e(0x124)]?.[_0x467d5e(0x120)](),_0x480842?.['ui']?.[_0x467d5e(0x146)]);}[_0xbcb387(0x164)](){const _0x3d7292=_0xbcb387;if(!this[_0x3d7292(0x11a)])return;this[_0x3d7292(0x11a)][_0x3d7292(0x129)]()||this[_0x3d7292(0x183)][_0x3d7292(0x186)]();}[_0xbcb387(0x199)](_0x238476){const _0x2f5cf9=_0xbcb387,_0x2cc809=this[_0x2f5cf9(0x155)][_0x2f5cf9(0x13d)](_0x238476);return _0x2cc809?_0x2cc809[_0x2f5cf9(0x177)]():null;}[_0xbcb387(0x16b)](_0x5e7533,_0x4abca2){const _0x264892=_0xbcb387;this[_0x264892(0x155)][_0x264892(0x132)](_0x5e7533,_0x4abca2);}[_0xbcb387(0x142)](_0x43f8f5,_0x37266e){const _0xf03627=_0xbcb387;return this[_0xf03627(0x155)][_0xf03627(0x141)](_0x43f8f5,_0x37266e);}[_0xbcb387(0x140)](){const _0x29d316=_0xbcb387;this[_0x29d316(0x157)](this[_0x29d316(0x16e)]);}[_0xbcb387(0x157)](_0x20d0f3){const _0x248f10=_0xbcb387,_0x4d69a2=this[_0x248f10(0x155)][_0x248f10(0x178)]();_0x20d0f3?this[_0x248f10(0x183)][_0x248f10(0x12d)]():this[_0x248f10(0x183)][_0x248f10(0x119)](),_0x4d69a2&&_0x4d69a2[_0x248f10(0x14d)][_0x248f10(0x124)][_0x248f10(0x187)](_0x1289dd=>{const _0x302a4b=_0x248f10,_0x69409b=_0x4d69a2[_0x302a4b(0x14d)][_0x302a4b(0x124)][_0x302a4b(0x195)][_0x302a4b(0x193)]();for(const _0x3ba5de of _0x69409b[_0x302a4b(0x166)]())_0x3ba5de[_0x302a4b(0x127)](_0x302a4b(0x15a))&&_0x1289dd[_0x302a4b(0x113)](_0x3ba5de,_0x69409b);_0x1289dd[_0x302a4b(0x12b)](_0x20d0f3?_0x302a4b(0x114):_0x302a4b(0x131),_0x69409b);});}async[_0xbcb387(0x148)](){const _0x3f8bc0=_0xbcb387,_0x390f7c=[..._0x2927e0,...this[_0x3f8bc0(0x153)]()],_0x5ac0d9=this[_0x3f8bc0(0x150)][_0x3f8bc0(0x17d)][_0x3f8bc0(0x13c)](_0x3f8bc0(0x17b))||[];this[_0x3f8bc0(0x198)](_0x5ac0d9,_0x390f7c);let _0x12f6b0=_0x390f7c;this[_0x3f8bc0(0x13b)]||(_0x12f6b0=_0x5ac0d9[_0x3f8bc0(0x17a)](_0x4dc2ac=>_0x390f7c[_0x3f8bc0(0x13a)](_0x1d6f97=>_0x1d6f97['id']===_0x4dc2ac))[_0x3f8bc0(0x145)](_0x328c0e=>!!_0x328c0e)),_0x12f6b0=_0x12f6b0[_0x3f8bc0(0x17a)](_0x141808=>_0x141808[_0x3f8bc0(0x165)]?_0x141808:this[_0x3f8bc0(0x17c)](_0x141808));const _0x199585=_0x12f6b0[_0x3f8bc0(0x161)](_0x14ac43=>_0x14ac43[_0x3f8bc0(0x165)]||_0x3f8bc0(0x156)===_0x14ac43['id']);let _0x160017=[],_0xbfd072=[],_0x364388=null;if(_0x199585){const _0xedb28f=await this[_0x3f8bc0(0x14f)]();_0x160017=_0xedb28f[_0x3f8bc0(0x169)],_0xbfd072=_0xedb28f[_0x3f8bc0(0x17f)],_0x364388=_0xedb28f[_0x3f8bc0(0x15f)];}const _0x4f8814=new _0x5bd550(_0x160017,_0xbfd072,_0x364388);return _0x4f8814[_0x3f8bc0(0x123)](_0x12f6b0),_0x199585&&this[_0x3f8bc0(0x152)](_0x4f8814),_0x4f8814;}[_0xbcb387(0x153)](){const _0x3f5738=_0xbcb387;return(this[_0x3f5738(0x150)][_0x3f5738(0x17d)][_0x3f5738(0x13c)](_0x3f5738(0x158))||[])[_0x3f5738(0x17a)](_0x211acc=>({'id':_0x211acc['id'],'commandId':_0x211acc['id'],'title':_0x211acc[_0x3f5738(0x163)],'description':_0x211acc[_0x3f5738(0x11d)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x211acc[_0x3f5738(0x125)],'model':_0x211acc[_0x3f5738(0x12f)]}));}[_0xbcb387(0x198)](_0xdb287e,_0x34af61){const _0x21bd5f=_0xbcb387,_0xc1ce19=_0xdb287e[_0x21bd5f(0x145)](_0x375c5a=>!_0x34af61[_0x21bd5f(0x161)](_0x9f025c=>_0x9f025c['id']===_0x375c5a));_0xc1ce19[_0x21bd5f(0x180)]&&this[_0x21bd5f(0x137)](new _0x4f37d0(_0x21bd5f(0x15b),this,{'commandIds':_0xc1ce19[_0x21bd5f(0x128)](',\x20')}),!0x0);}async[_0xbcb387(0x14f)](){const _0x4d6802=_0xbcb387;try{const _0x2fc038=new _0x795ced({'connector':this[_0x4d6802(0x182)],'config':this[_0x4d6802(0x150)][_0x4d6802(0x17d)][_0x4d6802(0x13c)](_0x4d6802(0x130)),'locale':this[_0x4d6802(0x150)][_0x4d6802(0x184)]});return{'all':await _0x2fc038[_0x4d6802(0x12a)](),'recommended':await _0x2fc038[_0x4d6802(0x12e)](),'default':await _0x2fc038[_0x4d6802(0x118)]()};}catch(_0x3ce937){return this[_0x4d6802(0x137)](new _0x4f37d0(_0x4d6802(0x189),this,void 0x0,_0x3ce937)),{'all':[],'recommended':[],'default':null};}}[_0xbcb387(0x17c)](_0x3b63e5){const _0x3a0135=_0xbcb387,_0x249dba=_0x3a0135(0x18c)+_0x3b63e5['id'][_0x3a0135(0x126)]()[_0x3a0135(0x147)]('-','_'),_0x726d6e={..._0x3b63e5,'title':this[_0x3a0135(0x151)](_0x249dba+_0x3a0135(0x192),_0x3b63e5[_0x3a0135(0x168)]),'description':this[_0x3a0135(0x151)](_0x249dba+_0x3a0135(0x174),_0x3b63e5[_0x3a0135(0x11d)])};return _0x3b63e5[_0x3a0135(0x170)]&&(_0x726d6e[_0x3a0135(0x170)]=_0x3b63e5[_0x3a0135(0x170)][_0x3a0135(0x17a)](_0x4ae854=>({..._0x4ae854,'label':this[_0x3a0135(0x151)](_0x249dba+_0x3a0135(0x185),_0x4ae854[_0x3a0135(0x163)]||''),'data':_0x4ae854[_0x3a0135(0x181)]?_0x4ae854[_0x3a0135(0x181)][_0x3a0135(0x17a)](_0x39dca0=>({..._0x39dca0,'label':this[_0x3a0135(0x151)](_0x249dba+_0x3a0135(0x172)+_0x39dca0['id'][_0x3a0135(0x126)](),_0x39dca0[_0x3a0135(0x163)])})):void 0x0}))),_0x726d6e;}[_0xbcb387(0x152)](_0x199290){const _0x12e9cb=_0xbcb387,_0x2889b0=[];_0x199290[_0x12e9cb(0x149)][_0x12e9cb(0x16f)](_0x32e5e5=>{const _0x257482=_0x12e9cb;(_0x32e5e5 instanceof _0x39cdce&&!_0x32e5e5[_0x257482(0x18f)]||_0x32e5e5 instanceof _0x479196&&!_0x32e5e5[_0x257482(0x12c)][_0x257482(0x180)])&&_0x2889b0[_0x257482(0x171)](_0x32e5e5['id']);}),_0x2889b0[_0x12e9cb(0x180)]&&_0x2889b0[_0x12e9cb(0x16f)](_0x18af9a=>{const _0x541a80=_0x12e9cb;_0x199290[_0x541a80(0x138)](_0x18af9a),this[_0x541a80(0x137)](new _0x4f37d0(_0x541a80(0x18e),this,{'commandId':_0x18af9a}),!0x0);});}}function _0x4bcf(){const _0x2b35bf=['_onReviewCheckRun','diffContent','_diffContent','4613040QqCRaD','hover','filter','viewportOffset','replaceAll','_getChecksList','checks','407499qQmDQu','uiInteraction','21VWbyvA','editing','setMarkersInElementAsActive','_getModels','context','_getTranslationWithDefault','_filterChecksWithMissingModel','_getExtraChecks','listenTo','_aiReviewCoreEditing','custom','_onDiffChange','ai.review.extraCommands','1095595CxHRSI','ck-ai_review-','ai-review-mode-non-existent-commands-used','changeId','args','_onChangeMarkerClicked','default','toggleDiff','some','define','label','_onChangeMarkerBlurred','isExtra','getClassNames','resetActiveStateInResults','title','all','_createReviewCheckRun','_markChangePositionInEditorContent','_onDeactivateChange','41620phVgNG','_isDiffOn','forEach','options','push','_OPTIONS_DATA_','8HzeFts','_DESCRIPTION','_initRequiredPlugins','deactivateChange','getElement','getEditor','_onReviewCheckResultDeactivated','map','ai.review.availableCommands','_translateReviewCheck','config','_scrollToChange','recommended','length','data','_aiConnector','_aiReviewCoreUi','locale','_OPTIONS_LABEL','hideChangeBalloon','change','_onActivateChange','ai-review-mode-models-unable-to-retrieve','origin','_onChangeMarkerHovered','AI_REVIEW_CHECK_','1058830qxcxbY','ai-review-mode-command-unavailable-due-to-missing-model','defaultModel','AIReviewModeUI','params','_TITLE','getRoot','1639074gDGVSe','document','getDocumentData','AIReviewModeController','_logErrorForNonExistentChecks','_getChangeContentElement','markerElement','5093uKNiFM','panel','init','showChangeBalloon','removeClass','ck-ai_review-diff','10138662ecGxYw','12FeeBPu','domEvent','getDefault','showDiffInBalloon','_currentReviewCheckRun','getChangeById','_onReviewCheckResultActivated','description','content','pluginName','getDomRoot','click','setActiveStateInResults','setupChecks','view','prompt','toUpperCase','startsWith','join','isAnyChangeActivated','getAll','addClass','models','hideDiffInBalloon','getAvailableModels','model','ai.models','ck-ai_review-highlights','markChangePositionInEditorContent','setAllMarkersAsInactive','balloon','isCustom','plugins','_logError','removeCheckById','activateChange','find','_hasDefaultAvailableCommands','get','getMarkerElementForChange','_changeActivationSource','AIReviewCoreEditing'];_0x4bcf=function(){return _0x2b35bf;};return _0x4bcf();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4272f3=_0x16c8;(function(_0x561089,_0x42157c){const _0x191a6e=_0x16c8,_0x3e87b5=_0x561089();while(!![]){try{const _0xe64984=-parseInt(_0x191a6e(0x124))/0x1+-parseInt(_0x191a6e(0x10c))/0x2+parseInt(_0x191a6e(0x11a))/0x3+-parseInt(_0x191a6e(0x11e))/0x4+parseInt(_0x191a6e(0x126))/0x5*(-parseInt(_0x191a6e(0x122))/0x6)+-parseInt(_0x191a6e(0x123))/0x7*(-parseInt(_0x191a6e(0x115))/0x8)+parseInt(_0x191a6e(0x127))/0x9;if(_0xe64984===_0x42157c)break;else _0x3e87b5['push'](_0x3e87b5['shift']());}catch(_0x227141){_0x3e87b5['push'](_0x3e87b5['shift']());}}}(_0xc862,0xb4702));import{FormHeaderView as _0x289ccd}from'ckeditor5/src/ui.js';import{IconAIReview as _0x5105b0}from'ckeditor5/src/icons.js';import{getTranslation as _0x5dd5e5}from'../aicore/utils/common-translations.js';function _0x16c8(_0x264c09,_0x1f80b2){const _0xc8624c=_0xc862();return _0x16c8=function(_0x16c8ae,_0x5eb795){_0x16c8ae=_0x16c8ae-0x10a;let _0x13acc7=_0xc8624c[_0x16c8ae];return _0x13acc7;},_0x16c8(_0x264c09,_0x1f80b2);}function _0xc862(){const _0x44c629=['AITabs','get','view','1568022zAOUou','3227rRxrAH','361701RWWAMp','activateTab','5LSpBTg','25919883oJnWXX','registerTab','addTab','getReviewCheckList','reviewMode','1656578VZcgtj','locale','pluginName','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','AIReviewModeUI','plugins','leaveReview','ck-ai-header\x20ck-ai-header_review','createMainView','6312ilniEf','fire','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','context','497619WGAgKP','_mainView','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','AI_REVIEW_MODE','4876752kfyPVf'];_0xc862=function(){return _0x44c629;};return _0xc862();}import{AIReviewCoreView as _0x4d1d7b}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x4096eb}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x14d661}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x22017e}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x3cfc1a}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x4096eb{static get[_0x4272f3(0x10e)](){const _0x54bc81=_0x4272f3;return _0x54bc81(0x110);}[_0x4272f3(0x114)](){const _0x42169f=_0x4272f3,_0x10af78=this[_0x42169f(0x119)][_0x42169f(0x10d)],_0x2fedf5=new _0x289ccd(_0x10af78,{'label':_0x5dd5e5(_0x10af78,_0x42169f(0x11d)),'icon':_0x5105b0,'class':_0x42169f(0x113)});return new _0x4d1d7b(this[_0x42169f(0x119)][_0x42169f(0x10d)],{'header':_0x2fedf5,'list':new _0x3cfc1a(_0x10af78),'results':new _0x14d661(_0x10af78,{'generalErrorText':_0x5dd5e5(_0x10af78,_0x42169f(0x117))}),'completed':new _0x22017e(_0x10af78,{'headerText':_0x5dd5e5(_0x10af78,_0x42169f(0x11c)),'emptyResultsText':_0x5dd5e5(_0x10af78,_0x42169f(0x10f)),'buttonText':_0x5dd5e5(_0x10af78,_0x42169f(0x118))})});}[_0x4272f3(0x128)](){const _0x789faf=_0x4272f3,_0x3f2005=this[_0x789faf(0x119)][_0x789faf(0x111)][_0x789faf(0x120)](_0x789faf(0x11f));_0x3f2005[_0x789faf(0x121)]['on'](_0x789faf(0x125),(_0x43b9ca,_0x2b8735)=>{const _0x211024=_0x789faf;_0x211024(0x10b)===_0x2b8735?this[_0x211024(0x116)](_0x211024(0x10a)):this[_0x211024(0x116)](_0x211024(0x112));}),_0x3f2005[_0x789faf(0x121)][_0x789faf(0x129)]({'id':_0x789faf(0x10b),'buttonLabel':_0x5dd5e5(this[_0x789faf(0x119)][_0x789faf(0x10d)],_0x789faf(0x11d)),'buttonIcon':_0x5105b0,'order':0x0,'content':this[_0x789faf(0x11b)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4b83(){var _0x240d7d=['255579ihufhe','16jQNWYf','153021uiPpqv','233615WYUEAX','8071164JlTiEb','33AlAsjr','6519504wHhlBP','42YkKXbp','7921370rObClL','_models','602142VXDTEv','9bNYOIC','_defaultModel','models','defaultModel','72pVtIkP'];_0x4b83=function(){return _0x240d7d;};return _0x4b83();}var _0x3f1d36=_0x3ac0;(function(_0x400a2e,_0x1accb1){var _0x402b2e=_0x3ac0,_0x3cdec8=_0x400a2e();while(!![]){try{var _0xdc6296=parseInt(_0x402b2e(0x1ba))/0x1+parseInt(_0x402b2e(0x1bb))/0x2*(-parseInt(_0x402b2e(0x1bc))/0x3)+-parseInt(_0x402b2e(0x1b9))/0x4*(-parseInt(_0x402b2e(0x1bd))/0x5)+parseInt(_0x402b2e(0x1c4))/0x6*(-parseInt(_0x402b2e(0x1c1))/0x7)+-parseInt(_0x402b2e(0x1c0))/0x8+parseInt(_0x402b2e(0x1c5))/0x9*(-parseInt(_0x402b2e(0x1c2))/0xa)+-parseInt(_0x402b2e(0x1bf))/0xb*(-parseInt(_0x402b2e(0x1be))/0xc);if(_0xdc6296===_0x1accb1)break;else _0x3cdec8['push'](_0x3cdec8['shift']());}catch(_0x2c4241){_0x3cdec8['push'](_0x3cdec8['shift']());}}}(_0x4b83,0x795d7));function _0x3ac0(_0x80d504,_0x44c57a){var _0x4b8319=_0x4b83();return _0x3ac0=function(_0x3ac059,_0x58d0fc){_0x3ac059=_0x3ac059-0x1b7;var _0x5bc833=_0x4b8319[_0x3ac059];return _0x5bc833;},_0x3ac0(_0x80d504,_0x44c57a);}import{AIReviewCheck as _0x66a39f}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckCustom extends _0x66a39f{[_0x3f1d36(0x1c3)]=[];[_0x3f1d36(0x1c6)]=null;constructor(_0x148969,_0x2eb5b0,_0x4df8fc){var _0x33b6ca=_0x3f1d36;super(_0x148969),this[_0x33b6ca(0x1c3)]=_0x2eb5b0,this[_0x33b6ca(0x1c6)]=_0x4df8fc;}get[_0x3f1d36(0x1b7)](){var _0x19508d=_0x3f1d36;return this[_0x19508d(0x1c3)];}get[_0x3f1d36(0x1b8)](){var _0xc89332=_0x3f1d36;return this[_0xc89332(0x1c6)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5cffb7=_0x3c6d;function _0x3c6d(_0x2d46f0,_0x108968){var _0x351aba=_0x351a();return _0x3c6d=function(_0x3c6d00,_0x30b996){_0x3c6d00=_0x3c6d00-0x1a1;var _0x329247=_0x351aba[_0x3c6d00];return _0x329247;},_0x3c6d(_0x2d46f0,_0x108968);}(function(_0x47503f,_0x45c922){var _0x2907c4=_0x3c6d,_0x381f51=_0x47503f();while(!![]){try{var _0x2b95aa=parseInt(_0x2907c4(0x1a5))/0x1+parseInt(_0x2907c4(0x1ad))/0x2+parseInt(_0x2907c4(0x1a3))/0x3*(parseInt(_0x2907c4(0x1ab))/0x4)+parseInt(_0x2907c4(0x1a6))/0x5*(parseInt(_0x2907c4(0x1b1))/0x6)+-parseInt(_0x2907c4(0x1a9))/0x7+-parseInt(_0x2907c4(0x1b0))/0x8*(-parseInt(_0x2907c4(0x1a2))/0x9)+parseInt(_0x2907c4(0x1a8))/0xa*(-parseInt(_0x2907c4(0x1ae))/0xb);if(_0x2b95aa===_0x45c922)break;else _0x381f51['push'](_0x381f51['shift']());}catch(_0x1d5fd7){_0x381f51['push'](_0x381f51['shift']());}}}(_0x351a,0x73bd1));import{AIReviewCheck as _0x43c155}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x43c155{[_0x5cffb7(0x1a4)]=!0x0;[_0x5cffb7(0x1a1)];[_0x5cffb7(0x1aa)];[_0x5cffb7(0x1ac)]=null;constructor(_0x49f979,_0x4625d1,_0xe9251a){var _0x446903=_0x5cffb7;super(_0x49f979),this[_0x446903(0x1a1)]=_0x49f979[_0x446903(0x1a1)],this[_0x446903(0x1aa)]=_0x49f979[_0x446903(0x1aa)],this[_0x446903(0x1aa)]?this[_0x446903(0x1ac)]=_0x4625d1[_0x446903(0x1af)](_0x164974=>_0x164974['id']===this[_0x446903(0x1aa)])||null:this[_0x446903(0x1ac)]=_0xe9251a;}get[_0x5cffb7(0x1a7)](){var _0x2636b0=_0x5cffb7;return this[_0x2636b0(0x1ac)];}}function _0x351a(){var _0x323703=['defaultModel','10ZGtJGE','4746168tFksyC','model','2276gomzEh','_defaultModel','618696QEZIOL','4726447JYcTcR','find','112RiyJMQ','630PUuYQu','prompt','319320dTZVeb','942SFHvED','isExtra','192467qUvaNq','19265oFpWHX'];_0x351a=function(){return _0x323703;};return _0x351a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x36ca24=_0x49d3;(function(_0x21b0ee,_0x2d649e){var _0x1ad1a4=_0x49d3,_0x40862e=_0x21b0ee();while(!![]){try{var _0xeedc9b=parseInt(_0x1ad1a4(0x12a))/0x1+parseInt(_0x1ad1a4(0x12b))/0x2*(-parseInt(_0x1ad1a4(0x125))/0x3)+-parseInt(_0x1ad1a4(0x127))/0x4*(-parseInt(_0x1ad1a4(0x124))/0x5)+parseInt(_0x1ad1a4(0x128))/0x6*(parseInt(_0x1ad1a4(0x12e))/0x7)+parseInt(_0x1ad1a4(0x126))/0x8+parseInt(_0x1ad1a4(0x11b))/0x9*(-parseInt(_0x1ad1a4(0x11e))/0xa)+parseInt(_0x1ad1a4(0x123))/0xb;if(_0xeedc9b===_0x2d649e)break;else _0x40862e['push'](_0x40862e['shift']());}catch(_0x508ea8){_0x40862e['push'](_0x40862e['shift']());}}}(_0x731f,0xc6b37));function _0x731f(){var _0x32945d=['1398900ebbzBM','content','8396JDubNo','206986JLYmzG','subTitle','upsertCustomAIReviewRating','7ZbJnLi','_createApiRequest','9qZcPyZ','callCustomReview','_prompt','7125730RlZkHp','_model','_aiConnector','_documentData','_sendRatingRequest','7217595CDoenK','10yOXKqZ','33GfMbEX','7750096nRTfnk','1596844ECPrtI'];_0x731f=function(){return _0x32945d;};return _0x731f();}import{AIReviewCheckRun as _0x3caf7f}from'../../aireviewcore/model/aireviewcheckrun.js';function _0x49d3(_0x8e18a0,_0x348a45){var _0x731f46=_0x731f();return _0x49d3=function(_0x49d3f0,_0x1add4b){_0x49d3f0=_0x49d3f0-0x11a;var _0x38fd44=_0x731f46[_0x49d3f0];return _0x38fd44;},_0x49d3(_0x8e18a0,_0x348a45);}export class AIReviewCustomCheckRun extends _0x3caf7f{[_0x36ca24(0x11d)];[_0x36ca24(0x11f)];constructor(_0xdbb20e,_0x30e1ae,_0x3d848f,_0x1a277a,_0x940ed8){var _0x13f3e8=_0x36ca24;super(_0x3d848f,_0x1a277a,_0x940ed8),this[_0x13f3e8(0x11d)]=_0xdbb20e,this[_0x13f3e8(0x11f)]=_0x30e1ae;}get[_0x36ca24(0x12c)](){var _0x1e643a=_0x36ca24;return this[_0x1e643a(0x11d)];}[_0x36ca24(0x11a)](){var _0x23bf31=_0x36ca24;return this[_0x23bf31(0x120)][_0x23bf31(0x11c)]({'content':this[_0x23bf31(0x121)][_0x23bf31(0x129)],'prompt':this[_0x23bf31(0x11d)],'model':this[_0x23bf31(0x11f)]});}[_0x36ca24(0x122)](_0x567a09,_0x3f66e8,_0x284467){var _0x2b7ff1=_0x36ca24;return this[_0x2b7ff1(0x120)][_0x2b7ff1(0x12d)](_0x3f66e8,_0x567a09,_0x284467);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x6a32de=_0x13d5;(function(_0x527b1a,_0x3d1383){var _0x233762=_0x13d5,_0x2e01fa=_0x527b1a();while(!![]){try{var _0x3fb1c8=parseInt(_0x233762(0x1d3))/0x1*(parseInt(_0x233762(0x1d6))/0x2)+-parseInt(_0x233762(0x1cf))/0x3*(parseInt(_0x233762(0x1d7))/0x4)+parseInt(_0x233762(0x1d2))/0x5+parseInt(_0x233762(0x1d5))/0x6+parseInt(_0x233762(0x1d0))/0x7+-parseInt(_0x233762(0x1db))/0x8+-parseInt(_0x233762(0x1d1))/0x9;if(_0x3fb1c8===_0x3d1383)break;else _0x2e01fa['push'](_0x2e01fa['shift']());}catch(_0xeb7361){_0x2e01fa['push'](_0x2e01fa['shift']());}}}(_0x20f1,0xaba30));function _0x13d5(_0x16341b,_0x307da6){var _0x20f19c=_0x20f1();return _0x13d5=function(_0x13d57a,_0x3e17ca){_0x13d57a=_0x13d57a-0x1ce;var _0x1b2345=_0x20f19c[_0x13d57a];return _0x1b2345;},_0x13d5(_0x16341b,_0x307da6);}import{AIReviewCustomCheckRun as _0x2d416d}from'./aireviewcustomcheckrun.js';export class AIReviewExtraCheckRun extends _0x2d416d{get[_0x6a32de(0x1d8)](){return'';}set[_0x6a32de(0x1d9)](_0x455c93){var _0x2d3711=_0x6a32de;this[_0x2d3711(0x1d4)]=_0x455c93;}set[_0x6a32de(0x1ce)](_0x43d2c2){var _0x5b5388=_0x6a32de;this[_0x5b5388(0x1da)]=_0x43d2c2;}}function _0x20f1(){var _0x4fd4e9=['2346327KWmvlG','2660170nwFxPN','1xvURSy','_prompt','7936572DwDjTP','1505492xjzuaq','2172348sdHvaP','subTitle','prompt','_model','7488944DUbrMV','model','6JFtgbq','2649339mttQqe'];_0x20f1=function(){return _0x4fd4e9;};return _0x20f1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x239a87=_0x533a;(function(_0x5de12b,_0x358221){var _0x2cad5e=_0x533a,_0x5d5ecb=_0x5de12b();while(!![]){try{var _0x34e3b4=-parseInt(_0x2cad5e(0x1ad))/0x1+-parseInt(_0x2cad5e(0x1bd))/0x2*(-parseInt(_0x2cad5e(0x1ac))/0x3)+-parseInt(_0x2cad5e(0x1bb))/0x4*(parseInt(_0x2cad5e(0x1b9))/0x5)+parseInt(_0x2cad5e(0x1b1))/0x6+parseInt(_0x2cad5e(0x1ae))/0x7*(-parseInt(_0x2cad5e(0x1b7))/0x8)+parseInt(_0x2cad5e(0x1bc))/0x9+parseInt(_0x2cad5e(0x1b2))/0xa*(parseInt(_0x2cad5e(0x1b3))/0xb);if(_0x34e3b4===_0x358221)break;else _0x5d5ecb['push'](_0x5d5ecb['shift']());}catch(_0x1cfcd6){_0x5d5ecb['push'](_0x5d5ecb['shift']());}}}(_0x1c22,0x876cc));import{AIReviewCheckList as _0x1e67fd}from'../../aireviewcore/model/aireviewchecklist.js';function _0x1c22(){var _0x2db938=['275875CMQxlh','_checks','60LZRSrH','4139739rCVnla','204628uyluMb','_defaultModel','21cDVUjd','593551uZimPV','5716151GcbKFe','custom','isExtra','579876FVvBIR','10qIcnpM','16716194cOAZdc','setupChecks','_allModels','_recommendedModels','8ffTdJs','map'];_0x1c22=function(){return _0x2db938;};return _0x1c22();}import{AIReviewCheck as _0x2c2cca}from'../../aireviewcore/model/aireviewcheck.js';function _0x533a(_0x456f50,_0x395676){var _0x1c2240=_0x1c22();return _0x533a=function(_0x533ac1,_0x43e67a){_0x533ac1=_0x533ac1-0x1ab;var _0xad0600=_0x1c2240[_0x533ac1];return _0xad0600;},_0x533a(_0x456f50,_0x395676);}import{AIReviewCheckCustom as _0x40413b}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x3635e4}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0x1e67fd{[_0x239a87(0x1b5)]=[];[_0x239a87(0x1b6)]=[];[_0x239a87(0x1ab)]=null;constructor(_0x324a75,_0x3c4124,_0x508258){var _0x372f91=_0x239a87;super(),this[_0x372f91(0x1b5)]=_0x324a75,this[_0x372f91(0x1b6)]=_0x3c4124,this[_0x372f91(0x1ab)]=_0x508258;}[_0x239a87(0x1b4)](_0x131e47){var _0x58637c=_0x239a87;this[_0x58637c(0x1ba)]=_0x131e47[_0x58637c(0x1b8)](_0x4f8957=>!0x0===_0x4f8957[_0x58637c(0x1b0)]?new _0x3635e4(_0x4f8957,this[_0x58637c(0x1b5)],this[_0x58637c(0x1ab)]):_0x58637c(0x1af)===_0x4f8957['id']?new _0x40413b(_0x4f8957,this[_0x58637c(0x1b6)],this[_0x58637c(0x1ab)]):new _0x2c2cca(_0x4f8957));}}
|