@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.d.ts +8 -4
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x477c01,IconView as _0x349421,View as _0x2b34e0,ViewCollection as _0x3bdc0d,ButtonView as _0x3cd621,clickOutsideHandler as _0x316d2f}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x344660}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0xcf0d9a}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x1b239e}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x477c01{['_formItemsCollection']=new _0x3bdc0d();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x5d3e7e,_0x36a76f,_0x2c0039,_0x49789e=!0x1){super(_0x5d3e7e),this['_hideModels']=_0x49789e,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x36a76f['isParameterized']);const _0x84d682=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',_0x3bfbbb=>_0x3bfbbb),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x1dc640=>_0x1dc640)],'style':{'--ck-ai-review-check-list-item-index':_0x2c0039}},'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':_0x36a76f['title']}]},_0x84d682]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x36a76f['description']?[{'text':_0x36a76f['description']}]:[]}]}]},..._0x36a76f['isParameterized']?[this['_createParameterizedView'](_0x36a76f)]:[],...'custom'===_0x36a76f['id']?[this['_createCustomView'](_0x36a76f,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x36a76f['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x36a76f['id'],'args':_0x36a76f['useArgs']?_0x36a76f['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x316d2f({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x41af1d=>{_0x41af1d['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x2c7760=new _0x349421();return _0x2c7760['content']=_0x344660,_0x2c7760['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x2c7760;}['_createParameterizedView'](_0x341078){const _0x14dcae=new _0x2b34e0(),_0xd465aa=this['_createFormView'](_0x341078);return _0x14dcae['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0xaf8d0b=>!_0xaf8d0b)]},'children':[_0xd465aa]}),_0x14dcae;}['_createFormView'](_0x345b7e){const _0x4673c1=new _0x2b34e0(),_0x1fd258=Array['isArray'](_0x345b7e['options'])?_0x345b7e['options']:[],_0x5e0805=new _0x3cd621(this['locale']),t=this['locale']['t'];_0x5e0805['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5e0805['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1bf863=>{_0x1bf863['stopPropagation']();})}}),_0x5e0805['on']('execute',()=>{const _0x47dd03=[],_0x3f8a7f={};this['_formItemsCollection']['forEach'](_0x2f7a32=>{_0x47dd03['push'](_0x2f7a32['value']),_0x345b7e['useArgs']&&_0x345b7e['options']&&(_0x3f8a7f[_0x2f7a32['argsKey']]=_0x2f7a32['value']);}),this['fire']('runReviewCheck',{'id':_0x345b7e['id'],'params':_0x47dd03['length']?_0x47dd03:void 0x0,'args':Object['keys'](_0x3f8a7f)['length']?_0x3f8a7f:void 0x0});});const _0x39b743=_0x1fd258['length'];return _0x1fd258['forEach']((_0x295fd8,_0x6aad21)=>{const _0x5700bb=_0x6aad21===_0x39b743-0x1;this['_formItemsCollection']['add'](new _0xcf0d9a(this['locale'],_0x295fd8,_0x5700bb?_0x5e0805:null));}),_0x4673c1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x4673c1;}['_createCustomView'](_0x209e37,_0x5dfa82=!0x1){return this['_customCheckView']=new _0x1b239e(this['locale'],_0x209e37,_0x5dfa82),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',_0x297469=>!_0x297469)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x407ffc,_0x102836,_0x54fd66)=>{_0x54fd66||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x318de2=_0x55e6;function _0x29db(){const _0xf21cf4=['52449Abppwc','span','bindTemplate','headerText','236771xCKLmJ','5564815zOizlp','1572Rtoeiy','isVisible','buttonText','_finishReviewButtonView','ck-hidden','finishReview','16825260arQKbb','46808QrLnZp','31318DuxivZ','ck-ai_review__review-completed-header-title','div','ck-ai_review__review-completed-header-buttons','204LcYxhF','153ARrOvq','5484156NxrPQX','ck-ai_review__review-completed-content-text','ck-ai_review__review-completed-header','emptyResultsText','_createFinishReviewButtonView','ck-ai_review__review-completed-content','_resultsHeader','locale','ck-ai_review__review-completed','delegate','ck-ai_review__review-completed-content-icon','setTemplate','_createResultHeaderView'];_0x29db=function(){return _0xf21cf4;};return _0x29db();}(function(_0x3db3f4,_0x10ffbd){const _0x47dfe6=_0x55e6,_0xe08a19=_0x3db3f4();while(!![]){try{const _0x1b8f7b=-parseInt(_0x47dfe6(0xc1))/0x1+-parseInt(_0x47dfe6(0xcf))/0x2*(parseInt(_0x47dfe6(0xbd))/0x3)+parseInt(_0x47dfe6(0xd1))/0x4+-parseInt(_0x47dfe6(0xc2))/0x5+parseInt(_0x47dfe6(0xc3))/0x6*(parseInt(_0x47dfe6(0xcb))/0x7)+-parseInt(_0x47dfe6(0xca))/0x8*(parseInt(_0x47dfe6(0xd0))/0x9)+parseInt(_0x47dfe6(0xc9))/0xa;if(_0x1b8f7b===_0x10ffbd)break;else _0xe08a19['push'](_0xe08a19['shift']());}catch(_0x5ebe7a){_0xe08a19['push'](_0xe08a19['shift']());}}}(_0x29db,0xf2806));function _0x55e6(_0xf4ec7a,_0x45ee75){const _0x29db63=_0x29db();return _0x55e6=function(_0x55e624,_0x5d59d4){_0x55e624=_0x55e624-0xb9;let _0xe5c225=_0x29db63[_0x55e624];return _0xe5c225;},_0x55e6(_0xf4ec7a,_0x45ee75);}import{ListItemView as _0xfbe7cb,View as _0xcb118c}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x18e6ea}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0xfbe7cb{[_0x318de2(0xd7)];[_0x318de2(0xc6)];constructor(_0x278dff,_0x138cb3){const _0x2e7434=_0x318de2;super(_0x278dff),this[_0x2e7434(0xc6)]=this[_0x2e7434(0xd5)](_0x138cb3[_0x2e7434(0xc5)]),this[_0x2e7434(0xd7)]=this[_0x2e7434(0xbc)](_0x138cb3[_0x2e7434(0xc0)]);const _0x2ada19=this[_0x2e7434(0xbf)];this[_0x2e7434(0xbb)]({'tag':_0x2e7434(0xcd),'attributes':{'class':[_0x2e7434(0xd9),_0x2ada19['if'](_0x2e7434(0xc4),_0x2e7434(0xc7),_0x2399d5=>!_0x2399d5)]},'children':[this[_0x2e7434(0xd7)],{'tag':_0x2e7434(0xcd),'attributes':{'class':[_0x2e7434(0xd6)]},'children':[{'tag':_0x2e7434(0xbe),'attributes':{'class':[_0x2e7434(0xba)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x2e7434(0xd2)]},'children':[{'text':_0x138cb3[_0x2e7434(0xd4)]}]}]}]});}[_0x318de2(0xd5)](_0x150fff){const _0x526869=_0x318de2,_0x4a92e9=new _0x18e6ea(_0x150fff,this[_0x526869(0xd8)]);return _0x4a92e9[_0x526869(0xb9)](_0x526869(0xc8))['to'](this),_0x4a92e9;}[_0x318de2(0xbc)](_0x17bbf8){const _0x591c20=_0x318de2,_0x2716a8=new _0xcb118c(this[_0x591c20(0xd8)]);return _0x2716a8[_0x591c20(0xbb)]({'tag':_0x591c20(0xcd),'attributes':{'class':[_0x591c20(0xd3)]},'children':[{'tag':_0x591c20(0xbe),'attributes':{'class':[_0x591c20(0xcc)]},'children':[{'text':_0x17bbf8}]},{'tag':_0x591c20(0xcd),'attributes':{'class':[_0x591c20(0xce)]},'children':[this[_0x591c20(0xc6)]]}]}),_0x2716a8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0x33388c,View as _0x167d39,ViewCollection as _0x17e97a,ButtonView as _0xbbb675}from'ckeditor5/src/ui.js';import{IconStop as _0x405192,IconEye as _0x50f383,IconEyeCrossedOut as _0x311f3b}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x114065,SKELETON_DEFINITIONS as _0x517715}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x254587}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0xfffd0b}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x346fa8}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4d212e}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0xc539e2}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x33388c{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3700de,_0x246782){super(_0x3700de),this['_contents']=_0x246782,this['_resultViews']=new _0x17e97a(),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 _0x254587(_0x3700de),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 _0x4af52c=this['_createCombinedSkeletonLoader'](),_0x21ef00=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x21ef00['if']('isLoading','ck-ai_review__check-run_loading',_0x9055b2=>_0x9055b2),_0x21ef00['if']('isResultReady','ck-ai_review__check-run_ready',_0x44745f=>_0x44745f),_0x21ef00['if']('isVisible','ck-hidden',_0xf87c03=>!_0xf87c03)]},'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',_0x4d02cb=>_0x4d02cb)]},'children':this['_resultViews']},_0x4af52c]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x29fed8){const _0x950c75=new _0x4d212e(this['locale'],_0x29fed8['id']);_0x950c75['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x950c75),_0x950c75['resultResponseView']['element']['innerHTML']=_0x29fed8['contentDiffed'];}['hideResult'](_0xbefa60,_0x538803){if('pending'===_0x538803)return;const _0x4334b8=this['_resultViews']['find'](_0x10e433=>_0x10e433['id']===_0xbefa60);_0x4334b8&&(_0x4334b8['status']=_0x538803,_0x4334b8['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x453448,_0x4e800d){if('pending'!==_0x4e800d)return;const _0x5f39f5=this['_resultViews']['find'](_0x348083=>_0x348083['id']===_0x453448);_0x5f39f5&&(_0x5f39f5['status']=_0x4e800d,_0x5f39f5['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x152d4a,_0x5b6974){this['headerTitle']=_0x152d4a,this['headerSubtitle']=_0x5b6974||'';}['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 _0x114065(this['locale'],_0x517715['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x44aabc=new _0x167d39(this['locale']),_0x27febb=[];for(let _0x5a7a76=0x0;_0x5a7a76<0x10;_0x5a7a76++){const _0x191bb2=this['_createSkeletonLoader']();_0x191bb2['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x27febb['push'](_0x191bb2);}return _0x44aabc['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x117800=>!_0x117800)]},'children':_0x27febb}),_0x44aabc;}['_createErrorView'](){const _0x264b73=new _0x167d39(this['locale']),_0x2050de=new _0xbbb675(this['locale']),t=this['locale']['t'];return _0x264b73['delegate']('retryReview')['to'](this),_0x2050de['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x2050de['on']('execute',()=>{this['fire']('retryReview');}),_0x264b73['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x2f8958=>!_0x2f8958),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2b3cef=>'chunk'===_0x2b3cef)]},'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',_0x24943b=>'chunk'===_0x24943b)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2ec21c=>'general'!==_0x2ec21c)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x38e57c=>'chunk'!==_0x38e57c)]},'children':[{'text':_0xfffd0b(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x2050de]}),_0x264b73;}['_createCancelButtonView'](){const _0x53bc53=new _0xbbb675(this['locale']);return _0x53bc53['set']({'label':_0xfffd0b(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x405192}),_0x53bc53['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2b5281=>_0x2b5281),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3ee124=>_0x3ee124)]}}),_0x53bc53['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x53bc53;}['_createToggleDiffButtonView'](){const _0x2543fd=new _0xbbb675(this['locale']);_0x2543fd['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x2543fd['bind']('isEnabled')['to'](this,'isError',_0x5590a7=>!_0x5590a7),_0x2543fd['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x46a391=>!_0x46a391),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x52e245=>_0x52e245)]}});const _0x33537e=_0xfffd0b(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x1997bb=_0xfffd0b(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x2543fd['bind']('isOn')['to'](this,'isToggleDiffOn',_0x512bc0=>_0x512bc0),_0x2543fd['bind']('icon')['to'](this,'isToggleDiffOn',_0x1f65d7=>_0x1f65d7?_0x50f383:_0x311f3b),_0x2543fd['bind']('label')['to'](this,'isToggleDiffOn',_0x1c33a4=>_0x1c33a4?_0x33537e:_0x1997bb),_0x2543fd['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x2543fd;}['_createAcceptAllButtonView'](){const _0x44dcd5=new _0xbbb675(this['locale']);return _0x44dcd5['set']({'label':_0xfffd0b(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x44dcd5['bind']('isEnabled')['to'](this,'isError',_0x3b03fe=>!_0x3b03fe),_0x44dcd5['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x59c1cf=>!_0x59c1cf),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x248d65=>_0x248d65)]}}),_0x44dcd5['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x44dcd5;}['_createExitReviewButtonView'](){const _0x27a4ae=new _0xbbb675(this['locale']);return _0x27a4ae['set']({'label':_0xfffd0b(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x27a4ae['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x50eca0=>!_0x50eca0),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xd3d9f9=>_0xd3d9f9)]}}),_0x27a4ae['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x27a4ae;}['_createResultHeaderView'](){const _0x5292be=new _0x167d39(this['locale']),_0x25b921=this['_createTitleView']();return _0x5292be['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x400448=>_0x400448)]},'children':[_0x25b921,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x5292be;}['_createTitleView'](){const _0x233cbf=new _0x167d39(this['locale']),_0x2cb03f=new _0x346fa8();return _0x2cb03f['bind']('isVisible')['to'](this,'isResultReady',_0x18938e=>!_0x18938e),_0x233cbf['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x2cb03f,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x36808d=>_0x36808d)]},'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',_0x128df7=>!_0x128df7)]},'children':[{'text':_0xfffd0b(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x233cbf;}['_createFinishReviewButtonView'](){const _0x49f4f7=new _0xc539e2(_0xfffd0b(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x49f4f7['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x311158=>!_0x311158)]}}),_0x49f4f7['delegate']('finishReview')['to'](this),_0x49f4f7;}}
|
|
23
|
+
import{ListItemView as _0x2e00d4,View as _0x53bf70,ViewCollection as _0x4c3346,ButtonView as _0x32bd9a}from'ckeditor5/src/ui.js';import{IconStop as _0x137ecd,IconEye as _0x39b5a3,IconEyeCrossedOut as _0x21e35a}from'ckeditor5/src/icons.js';import{AISkeletonView as _0xdbd60d,SKELETON_DEFINITIONS as _0x3ab343}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x1dee3d}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x2086c6}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x403808}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x59ccfa}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x39735a}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x2e00d4{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0xe73ca4,_0x16ca40){super(_0xe73ca4),this['_contents']=_0x16ca40,this['_resultViews']=new _0x4c3346(),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 _0x1dee3d(_0xe73ca4),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 _0x4db687=this['_createCombinedSkeletonLoader'](),_0x2b72ef=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x2b72ef['if']('isLoading','ck-ai_review__check-run_loading',_0x451b48=>_0x451b48),_0x2b72ef['if']('isResultReady','ck-ai_review__check-run_ready',_0x237d69=>_0x237d69),_0x2b72ef['if']('isVisible','ck-hidden',_0x4f19d2=>!_0x4f19d2)]},'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',_0x57ab2b=>_0x57ab2b)]},'children':this['_resultViews']},_0x4db687]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4c20c1){const _0x133e6=new _0x59ccfa(this['locale'],_0x4c20c1['id']);_0x133e6['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x133e6),_0x133e6['resultResponseView']['element']['innerHTML']=_0x4c20c1['contentDiffed'];}['hideResult'](_0xf229b4,_0x58744b){if('pending'===_0x58744b)return;const _0x4582cd=this['_resultViews']['find'](_0x1caef5=>_0x1caef5['id']===_0xf229b4);_0x4582cd&&(_0x4582cd['status']=_0x58744b,_0x4582cd['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x1d396c,_0x377b6f){if('pending'!==_0x377b6f)return;const _0x42873d=this['_resultViews']['find'](_0x1aadc5=>_0x1aadc5['id']===_0x1d396c);_0x42873d&&(_0x42873d['status']=_0x377b6f,_0x42873d['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x2dd64b,_0x34cc1b){this['headerTitle']=_0x2dd64b,this['headerSubtitle']=_0x34cc1b||'';}['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 _0xdbd60d(this['locale'],_0x3ab343['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x2e6f72=new _0x53bf70(this['locale']),_0x179232=[];for(let _0x5809b7=0x0;_0x5809b7<0x10;_0x5809b7++){const _0x3237ff=this['_createSkeletonLoader']();_0x3237ff['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x179232['push'](_0x3237ff);}return _0x2e6f72['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x52c1c2=>!_0x52c1c2)]},'children':_0x179232}),_0x2e6f72;}['_createErrorView'](){const _0x14c61e=new _0x53bf70(this['locale']),_0x905177=new _0x32bd9a(this['locale']),t=this['locale']['t'];return _0x14c61e['delegate']('retryReview')['to'](this),_0x905177['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x905177['on']('execute',()=>{this['fire']('retryReview');}),_0x14c61e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x3a5e3f=>!_0x3a5e3f),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x55835c=>'chunk'===_0x55835c)]},'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',_0x31995a=>'chunk'===_0x31995a)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x5c73d0=>'general'!==_0x5c73d0)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xd5df04=>'chunk'!==_0xd5df04)]},'children':[{'text':_0x2086c6(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x905177]}),_0x14c61e;}['_createCancelButtonView'](){const _0x296059=new _0x32bd9a(this['locale']);return _0x296059['set']({'label':_0x2086c6(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x137ecd}),_0x296059['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0xb2bb2f=>_0xb2bb2f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1fb55a=>_0x1fb55a)]}}),_0x296059['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x296059;}['_createToggleDiffButtonView'](){const _0x4f9faf=new _0x32bd9a(this['locale']);_0x4f9faf['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x4f9faf['bind']('isEnabled')['to'](this,'isError',_0x303452=>!_0x303452),_0x4f9faf['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x386004=>!_0x386004),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xebaec9=>_0xebaec9)]}});const _0x9436f6=_0x2086c6(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3b62ba=_0x2086c6(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x4f9faf['bind']('isOn')['to'](this,'isToggleDiffOn',_0x306387=>_0x306387),_0x4f9faf['bind']('icon')['to'](this,'isToggleDiffOn',_0xb4a02a=>_0xb4a02a?_0x39b5a3:_0x21e35a),_0x4f9faf['bind']('label')['to'](this,'isToggleDiffOn',_0x1f37e6=>_0x1f37e6?_0x9436f6:_0x3b62ba),_0x4f9faf['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x4f9faf;}['_createAcceptAllButtonView'](){const _0x57be97=new _0x32bd9a(this['locale']);return _0x57be97['set']({'label':_0x2086c6(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x57be97['bind']('isEnabled')['to'](this,'isError',_0x1d6a96=>!_0x1d6a96),_0x57be97['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d2b69=>!_0x1d2b69),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x42acdb=>_0x42acdb)]}}),_0x57be97['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x57be97;}['_createExitReviewButtonView'](){const _0x1154ac=new _0x32bd9a(this['locale']);return _0x1154ac['set']({'label':_0x2086c6(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x1154ac['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3b9736=>!_0x3b9736),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2b7263=>_0x2b7263)]}}),_0x1154ac['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x1154ac;}['_createResultHeaderView'](){const _0x411166=new _0x53bf70(this['locale']),_0x317145=this['_createTitleView']();return _0x411166['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x262210=>_0x262210)]},'children':[_0x317145,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x411166;}['_createTitleView'](){const _0x406142=new _0x53bf70(this['locale']),_0xf00b44=new _0x403808();return _0xf00b44['bind']('isVisible')['to'](this,'isResultReady',_0x302a68=>!_0x302a68),_0x406142['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0xf00b44,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x49f762=>_0x49f762)]},'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',_0x44fc3a=>!_0x44fc3a)]},'children':[{'text':_0x2086c6(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x406142;}['_createFinishReviewButtonView'](){const _0x3d1e5e=new _0x39735a(_0x2086c6(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x3d1e5e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1897e0=>!_0x1897e0)]}}),_0x3d1e5e['delegate']('finishReview')['to'](this),_0x3d1e5e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5b6281=_0x4f99;(function(_0x3f9c84,_0x2eb0dd){var _0x28a441=_0x4f99,_0x483b50=_0x3f9c84();while(!![]){try{var _0x50a68f=-parseInt(_0x28a441(0x1ac))/0x1+parseInt(_0x28a441(0x1b7))/0x2*(parseInt(_0x28a441(0x1b9))/0x3)+parseInt(_0x28a441(0x195))/0x4*(-parseInt(_0x28a441(0x1a8))/0x5)+-parseInt(_0x28a441(0x19f))/0x6*(-parseInt(_0x28a441(0x196))/0x7)+parseInt(_0x28a441(0x1b0))/0x8+-parseInt(_0x28a441(0x18f))/0x9*(parseInt(_0x28a441(0x1b1))/0xa)+-parseInt(_0x28a441(0x19d))/0xb*(parseInt(_0x28a441(0x1a5))/0xc);if(_0x50a68f===_0x2eb0dd)break;else _0x483b50['push'](_0x483b50['shift']());}catch(_0x399d6e){_0x483b50['push'](_0x483b50['shift']());}}}(_0x4d7e,0xbadbd));import{View as _0x4f29c9}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x399c89}from'../aireviewcoreui.js';function _0x4f99(_0x45e130,_0xce4a0d){var _0x4d7e04=_0x4d7e();return _0x4f99=function(_0x4f9927,_0x1ab354){_0x4f9927=_0x4f9927-0x187;var _0x309a70=_0x4d7e04[_0x4f9927];return _0x309a70;},_0x4f99(_0x45e130,_0xce4a0d);}function _0x4d7e(){var _0x4c9bbb=['hideActionsWhenResultIsReady','23705eWscEX','clearResults','showReviewCheckResultsView','ck-ai-review','28340vtarBq','errorMessage','isLoading','delegate','10441304xMADrg','10pejKbm','setTemplate','set','reviewCheckResultsView','reviewCoreHeader','showGeneralErrorMessage','888128EFeSEf','finishReview','6yuHkTt','addCheckRunResult','resetErrorState','results','isResultReady','showGeneralResultsErrorView','completed','header','showNoChangesView','7686108kGYrQP','showChunkErrorView','isVisible','ck-rounded-corners','reviewCheckListView','showActionsWhenResultIsReady','548MInAKM','371kwCiAG','generalErrorView','showChunkErrorMessage','ltr','showReviewCheckListView','addResult','list','3086303DnHiWd','resetAllParameterizedChecks','75294SlKpDs','div','ck-reset_all','reviewCompletedView','showReviewCompletedView','showGeneralReviewCoreErrorView','24EYGmvg','isCompleted'];_0x4d7e=function(){return _0x4c9bbb;};return _0x4d7e();}import{AIReviewCoreGeneralErrorView as _0x8880ac}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x4f29c9{[_0x5b6281(0x1b5)];[_0x5b6281(0x197)];[_0x5b6281(0x193)];[_0x5b6281(0x1b4)];[_0x5b6281(0x1a2)];constructor(_0xbcb6fd,_0x506526){var _0x43f846=_0x5b6281;super(_0xbcb6fd),this[_0x43f846(0x1b5)]=_0x506526[_0x43f846(0x18d)],this[_0x43f846(0x197)]=new _0x8880ac(_0xbcb6fd),this[_0x43f846(0x193)]=_0x506526[_0x43f846(0x19c)],this[_0x43f846(0x193)][_0x43f846(0x1af)](..._0x399c89)['to'](this),this[_0x43f846(0x1b4)]=_0x506526[_0x43f846(0x189)],this[_0x43f846(0x1b4)][_0x43f846(0x1af)](..._0x399c89)['to'](this),this[_0x43f846(0x1a2)]=_0x506526[_0x43f846(0x18c)],this[_0x43f846(0x1a2)][_0x43f846(0x1af)](_0x43f846(0x1b8))['to'](this),this[_0x43f846(0x193)][_0x43f846(0x1b3)](_0x43f846(0x191),!0x1),this[_0x43f846(0x1b4)][_0x43f846(0x1b3)](_0x43f846(0x191),!0x1),this[_0x43f846(0x1b4)][_0x43f846(0x1b3)](_0x43f846(0x1ae),!0x1),this[_0x43f846(0x1b4)][_0x43f846(0x1b3)](_0x43f846(0x18a),!0x1),this[_0x43f846(0x1a2)][_0x43f846(0x1b3)](_0x43f846(0x191),!0x1),this[_0x43f846(0x1b2)]({'tag':_0x43f846(0x1a0),'attributes':{'class':['ck',_0x43f846(0x1a1),_0x43f846(0x1ab),_0x43f846(0x192)],'dir':_0x43f846(0x199)},'children':[this[_0x43f846(0x1b5)],this[_0x43f846(0x197)],this[_0x43f846(0x193)],this[_0x43f846(0x1b4)],this[_0x43f846(0x1a2)]]});}[_0x5b6281(0x19a)](){var _0x16a7c8=_0x5b6281;this[_0x16a7c8(0x193)][_0x16a7c8(0x19e)](),this[_0x16a7c8(0x193)][_0x16a7c8(0x1b3)](_0x16a7c8(0x191),!0x0),this[_0x16a7c8(0x1b4)][_0x16a7c8(0x1b3)](_0x16a7c8(0x191),!0x1),this[_0x16a7c8(0x1a2)][_0x16a7c8(0x1b3)](_0x16a7c8(0x191),!0x1);}[_0x5b6281(0x1aa)](){var _0x1e285c=_0x5b6281;this[_0x1e285c(0x1a7)](),this[_0x1e285c(0x1b4)][_0x1e285c(0x188)](),this[_0x1e285c(0x193)][_0x1e285c(0x1b3)](_0x1e285c(0x191),!0x1),this[_0x1e285c(0x1b4)][_0x1e285c(0x1b3)](_0x1e285c(0x191),!0x0),this[_0x1e285c(0x1b4)][_0x1e285c(0x1a9)](),this[_0x1e285c(0x1b4)][_0x1e285c(0x1b3)](_0x1e285c(0x1ae),!0x0),this[_0x1e285c(0x1b4)][_0x1e285c(0x1b3)](_0x1e285c(0x1a6),!0x1);}[_0x5b6281(0x187)](_0x2cbe8a){var _0x86e6e8=_0x5b6281;this[_0x86e6e8(0x1b4)][_0x86e6e8(0x19b)](_0x2cbe8a),this[_0x86e6e8(0x1b4)][_0x86e6e8(0x1b3)](_0x86e6e8(0x1ae),!0x1);}[_0x5b6281(0x1a3)](){var _0x10ae4e=_0x5b6281;this[_0x10ae4e(0x1b4)][_0x10ae4e(0x1b3)](_0x10ae4e(0x191),!0x0),this[_0x10ae4e(0x1a2)][_0x10ae4e(0x1b3)](_0x10ae4e(0x191),!0x1),this[_0x10ae4e(0x1b4)][_0x10ae4e(0x1b3)](_0x10ae4e(0x1a6),!0x0),this[_0x10ae4e(0x193)][_0x10ae4e(0x1b3)](_0x10ae4e(0x191),!0x1);}[_0x5b6281(0x194)](){var _0x1e5233=_0x5b6281;this[_0x1e5233(0x1b4)][_0x1e5233(0x18a)]?(this[_0x1e5233(0x193)][_0x1e5233(0x1b3)](_0x1e5233(0x191),!0x1),this[_0x1e5233(0x1b4)][_0x1e5233(0x1b3)](_0x1e5233(0x191),!0x0),this[_0x1e5233(0x1a2)][_0x1e5233(0x1b3)](_0x1e5233(0x191),!0x1)):this[_0x1e5233(0x1b4)][_0x1e5233(0x18a)]=!0x0;}[_0x5b6281(0x18e)](){var _0x53b348=_0x5b6281;this[_0x53b348(0x193)][_0x53b348(0x1b3)](_0x53b348(0x191),!0x1),this[_0x53b348(0x1b4)][_0x53b348(0x1b3)](_0x53b348(0x191),!0x1),this[_0x53b348(0x1a2)][_0x53b348(0x1b3)](_0x53b348(0x191),!0x0);}[_0x5b6281(0x1a7)](){var _0x33b003=_0x5b6281;this[_0x33b003(0x1b4)][_0x33b003(0x18a)]=!0x1;}[_0x5b6281(0x1a4)](_0x324001){var _0x5cb895=_0x5b6281;this[_0x5cb895(0x197)][_0x5cb895(0x1b3)](_0x5cb895(0x191),!0x0),this[_0x5cb895(0x197)][_0x5cb895(0x1ad)]=_0x324001;}[_0x5b6281(0x18b)](){var _0x1c915c=_0x5b6281;this[_0x1c915c(0x1b4)][_0x1c915c(0x1b3)](_0x1c915c(0x1ae),!0x1),this[_0x1c915c(0x194)](),this[_0x1c915c(0x1b4)][_0x1c915c(0x1b6)]();}[_0x5b6281(0x190)](){var _0x491a7c=_0x5b6281;this[_0x491a7c(0x1b4)][_0x491a7c(0x1b3)](_0x491a7c(0x1ae),!0x1),this[_0x491a7c(0x194)](),this[_0x491a7c(0x1b4)][_0x491a7c(0x198)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f0c37=_0x34e6;(function(_0x47a92c,_0x24981d){const _0x21cf21=_0x34e6,_0x201e2f=_0x47a92c();while(!![]){try{const _0xd2d557=-parseInt(_0x21cf21(0x18f))/0x1*(-parseInt(_0x21cf21(0x1ad))/0x2)+-parseInt(_0x21cf21(0x19e))/0x3*(-parseInt(_0x21cf21(0x19a))/0x4)+parseInt(_0x21cf21(0x1a7))/0x5+parseInt(_0x21cf21(0x194))/0x6*(-parseInt(_0x21cf21(0x188))/0x7)+parseInt(_0x21cf21(0x18e))/0x8*(parseInt(_0x21cf21(0x18a))/0x9)+-parseInt(_0x21cf21(0x196))/0xa*(parseInt(_0x21cf21(0x186))/0xb)+parseInt(_0x21cf21(0x193))/0xc;if(_0xd2d557===_0x24981d)break;else _0x201e2f['push'](_0x201e2f['shift']());}catch(_0x3ef1f9){_0x201e2f['push'](_0x201e2f['shift']());}}}(_0x5b1e,0xeed21));import{Collection as _0xe9c13f}from'ckeditor5/src/utils.js';function _0x5b1e(){const _0x5c6185=['isOn','ck-reset_all','div','formValue','add','resetToDefault','bindTemplate','menuitemradio','3646880ksaSfj','default','locale','model','stopPropagation','_defaultLabel','3932XlNtJB','button','bind','buttonView','_prepareListOptions','77lQUncb','ck-ai_review__check-list-item-parameterized-form-element_dropdown','8929767dQnGCz','extendTemplate','6402501WuTOOf','label','listenTo','ck-ai_review__check-list-item-parameterized-form-element','8lCdvHC','76bydAqs','execute','data','menu','7375464isYoRI','6VwTaTt','setTemplate','1557070jAjgpp','source','length','_defaultValue','16yPICPx','set','_dropdownView','find','854277TgErxS'];_0x5b1e=function(){return _0x5c6185;};return _0x5b1e();}import{View as _0x49ffc3,createDropdown as _0x3e17d1,addListToDropdown as _0x4acf0a,UIModel as _0x20d9bf}from'ckeditor5/src/ui.js';function _0x34e6(_0x938cca,_0x4f6c50){const _0x5b1e59=_0x5b1e();return _0x34e6=function(_0x34e6dd,_0x39be72){_0x34e6dd=_0x34e6dd-0x182;let _0x3e4c2c=_0x5b1e59[_0x34e6dd];return _0x3e4c2c;},_0x34e6(_0x938cca,_0x4f6c50);}export class AIReviewCoreFormDropdownView extends _0x49ffc3{[_0x1f0c37(0x19c)];[_0x1f0c37(0x199)];[_0x1f0c37(0x1ac)];constructor(_0x34b1e5,_0x163afc){const _0x41320c=_0x1f0c37;super(_0x34b1e5),this[_0x41320c(0x199)]=_0x163afc[_0x41320c(0x1a8)]||(_0x163afc[_0x41320c(0x191)][_0x41320c(0x198)]>0x0?_0x163afc[_0x41320c(0x191)][0x0]['id']:''),this[_0x41320c(0x1ac)]=_0x163afc[_0x41320c(0x191)][_0x41320c(0x19d)](_0x48aea4=>_0x48aea4['id']===this[_0x41320c(0x199)])?.[_0x41320c(0x18b)]||'',this[_0x41320c(0x19b)](_0x41320c(0x1a2),''),this[_0x41320c(0x19c)]=_0x3e17d1(this[_0x41320c(0x1a9)]);const _0xdfaa22=this[_0x41320c(0x185)](_0x163afc[_0x41320c(0x191)]);_0x4acf0a(this[_0x41320c(0x19c)],_0xdfaa22,{'role':_0x41320c(0x192),'ariaLabel':_0x163afc[_0x41320c(0x18b)]}),this[_0x41320c(0x19c)][_0x41320c(0x184)][_0x41320c(0x19b)]({'label':this[_0x41320c(0x1ac)],'withText':!0x0}),this[_0x41320c(0x19c)][_0x41320c(0x189)]({'on':{'click':this[_0x41320c(0x1a5)]['to'](_0x348791=>{const _0x55294b=_0x41320c;_0x348791[_0x55294b(0x1ab)]();})}}),this[_0x41320c(0x18c)](this[_0x41320c(0x19c)],_0x41320c(0x190),_0x45fc94=>{const _0xfae3ab=_0x41320c;this[_0xfae3ab(0x1a2)]=_0x45fc94[_0xfae3ab(0x197)][_0xfae3ab(0x1aa)]['id'],this[_0xfae3ab(0x19c)][_0xfae3ab(0x184)][_0xfae3ab(0x18b)]=_0x45fc94[_0xfae3ab(0x197)][_0xfae3ab(0x1aa)][_0xfae3ab(0x18b)];}),this[_0x41320c(0x195)]({'tag':_0x41320c(0x1a1),'attributes':{'class':['ck',_0x41320c(0x1a0),_0x41320c(0x18d),_0x41320c(0x187)]},'children':[this[_0x41320c(0x19c)]]});}[_0x1f0c37(0x1a4)](){const _0x2ba5f0=_0x1f0c37;this[_0x2ba5f0(0x1a2)]=this[_0x2ba5f0(0x199)],this[_0x2ba5f0(0x19c)][_0x2ba5f0(0x184)][_0x2ba5f0(0x18b)]=this[_0x2ba5f0(0x1ac)];}[_0x1f0c37(0x185)](_0x125502=[]){const _0x5be8ab=_0x1f0c37,_0x29086b=new _0xe9c13f();this[_0x5be8ab(0x1a4)]();for(const _0x9fe663 of _0x125502){const _0x14d225=new _0x20d9bf({'label':_0x9fe663[_0x5be8ab(0x18b)],'withText':!0x0,'role':_0x5be8ab(0x1a6),'id':_0x9fe663['id'],'model':_0x9fe663});_0x14d225[_0x5be8ab(0x183)](_0x5be8ab(0x19f))['to'](this,_0x5be8ab(0x1a2),_0x5e4963=>_0x5e4963===_0x14d225['id']);const _0x490e41={'type':_0x5be8ab(0x182),'model':_0x14d225};_0x29086b[_0x5be8ab(0x1a3)](_0x490e41);}return _0x29086b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18842b=_0x447c;(function(_0x419fed,_0x7435d){const _0x2ae518=_0x447c,_0xae3c6f=_0x419fed();while(!![]){try{const _0x524f0a=parseInt(_0x2ae518(0x192))/0x1+parseInt(_0x2ae518(0x184))/0x2*(parseInt(_0x2ae518(0x189))/0x3)+parseInt(_0x2ae518(0x18f))/0x4+parseInt(_0x2ae518(0x18d))/0x5+-parseInt(_0x2ae518(0x185))/0x6*(-parseInt(_0x2ae518(0x193))/0x7)+-parseInt(_0x2ae518(0x190))/0x8+-parseInt(_0x2ae518(0x18e))/0x9;if(_0x524f0a===_0x7435d)break;else _0xae3c6f['push'](_0xae3c6f['shift']());}catch(_0x35f96e){_0xae3c6f['push'](_0xae3c6f['shift']());}}}(_0x582c,0xcd76e));import{FormRowView as _0x5c08b4,ListItemView as _0x54b39b}from'ckeditor5/src/ui.js';import{AIReviewCoreFormDropdownView as _0x1ce332}from'./aireviewcoreformdropdown.js';export class AIReviewCoreFormManagerView extends _0x54b39b{[_0x18842b(0x196)]=null;constructor(_0x53bf25,_0x56b7a2,_0x382a0f){const _0x381e26=_0x18842b;super(_0x53bf25),this[_0x381e26(0x197)]=_0x56b7a2?.[_0x381e26(0x197)];if(_0x381e26(0x183)===_0x56b7a2[_0x381e26(0x182)])this[_0x381e26(0x196)]=new _0x1ce332(this[_0x381e26(0x180)],_0x56b7a2);this[_0x381e26(0x194)](_0x381e26(0x18a),''),this[_0x381e26(0x188)](_0x381e26(0x18a))['to'](this[_0x381e26(0x196)],_0x381e26(0x199));const _0x5a3881=new _0x5c08b4(this[_0x381e26(0x180)],{'children':[this[_0x381e26(0x196)]],'class':[_0x382a0f?_0x381e26(0x198):'']});_0x382a0f&&_0x5a3881[_0x381e26(0x191)][_0x381e26(0x187)](_0x382a0f),this[_0x381e26(0x181)]({'tag':_0x381e26(0x18c),'attributes':{'class':['ck',_0x381e26(0x18b),_0x381e26(0x195)]},'children':[_0x5a3881]});}[_0x18842b(0x186)](){const _0x430f4a=_0x18842b;this[_0x430f4a(0x196)][_0x430f4a(0x186)]();}}function _0x447c(_0x2e8dba,_0x595cf4){const _0x582ce3=_0x582c();return _0x447c=function(_0x447c80,_0x3347ed){_0x447c80=_0x447c80-0x180;let _0x40067d=_0x582ce3[_0x447c80];return _0x40067d;},_0x447c(_0x2e8dba,_0x595cf4);}function _0x582c(){const _0x1a3dd3=['ck-ai_review__form-item','div','4893450VaCXZQ','24276753ZtehmY','4799480bTRvUo','4892024WxoBsB','children','1410320NCYKTq','57029ZwcENS','set','ck-reset_all','_formItem','argsKey','ck-form__row_with-submit','formValue','locale','setTemplate','formType','dropdown','434cdHfga','222SygUFw','resetToDefault','add','bind','3597yswwlc','value'];_0x582c=function(){return _0x1a3dd3;};return _0x582c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b539f=_0x1a0d;(function(_0x4e84a3,_0x109c9c){const _0x350c4c=_0x1a0d,_0x52eed3=_0x4e84a3();while(!![]){try{const _0x37236a=-parseInt(_0x350c4c(0x1e1))/0x1*(-parseInt(_0x350c4c(0x1e4))/0x2)+parseInt(_0x350c4c(0x1da))/0x3+-parseInt(_0x350c4c(0x1c3))/0x4*(parseInt(_0x350c4c(0x1be))/0x5)+parseInt(_0x350c4c(0x1d6))/0x6+-parseInt(_0x350c4c(0x1ce))/0x7*(parseInt(_0x350c4c(0x1df))/0x8)+-parseInt(_0x350c4c(0x1e0))/0x9*(parseInt(_0x350c4c(0x1ca))/0xa)+parseInt(_0x350c4c(0x1e5))/0xb;if(_0x37236a===_0x109c9c)break;else _0x52eed3['push'](_0x52eed3['shift']());}catch(_0x1075ac){_0x52eed3['push'](_0x52eed3['shift']());}}}(_0x1111,0x7d8d0));export const AI_REVIEW_CHECKS=[{'id':_0x4b539f(0x1e2),'commandId':_0x4b539f(0x1e2),'title':_0x4b539f(0x1de),'description':_0x4b539f(0x1d4),'isParameterized':!0x0},{'id':_0x4b539f(0x1c7),'commandId':_0x4b539f(0x1c7),'title':_0x4b539f(0x1bd),'description':_0x4b539f(0x1c1),'isParameterized':!0x1},{'id':_0x4b539f(0x1dd),'commandId':_0x4b539f(0x1dd),'title':_0x4b539f(0x1e7),'description':_0x4b539f(0x1cf),'isParameterized':!0x1},{'id':_0x4b539f(0x1e6),'commandId':_0x4b539f(0x1e6),'title':_0x4b539f(0x1e3),'description':_0x4b539f(0x1d1),'isParameterized':!0x1},{'id':_0x4b539f(0x1cd),'commandId':_0x4b539f(0x1bc),'title':_0x4b539f(0x1c4),'description':_0x4b539f(0x1d8),'isParameterized':!0x0,'options':[{'formType':_0x4b539f(0x1d2),'label':_0x4b539f(0x1c4),'default':_0x4b539f(0x1d0),'data':[{'label':_0x4b539f(0x1bf),'id':_0x4b539f(0x1d0)},{'label':_0x4b539f(0x1e8),'id':_0x4b539f(0x1c2)}]}]},{'id':_0x4b539f(0x1d5),'commandId':_0x4b539f(0x1c8),'title':_0x4b539f(0x1c6),'description':_0x4b539f(0x1d3),'isParameterized':!0x0,'options':[{'formType':_0x4b539f(0x1d2),'label':_0x4b539f(0x1c6),'default':_0x4b539f(0x1bb),'data':[{'label':_0x4b539f(0x1c0),'id':_0x4b539f(0x1bb)},{'label':_0x4b539f(0x1cc),'id':_0x4b539f(0x1cb)},{'label':_0x4b539f(0x1c9),'id':_0x4b539f(0x1c5)},{'label':_0x4b539f(0x1dc),'id':_0x4b539f(0x1d7)},{'label':_0x4b539f(0x1db),'id':_0x4b539f(0x1d9)}]}]}];function _0x1a0d(_0x3671ab,_0x238294){const _0x11110e=_0x1111();return _0x1a0d=function(_0x1a0d90,_0xdee41d){_0x1a0d90=_0x1a0d90-0x1bb;let _0x441267=_0x11110e[_0x1a0d90];return _0x441267;},_0x1a0d(_0x3671ab,_0x238294);}function _0x1111(){const _0x3d8968=['Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','professional','2927958vRFcTx','Professional','Confident','clarity','Custom\x20command','72RnPgWE','639QMJTQD','114REyHpJ','custom','Readability','6668altwPg','4850527EogfXE','readability','Clarity','Shorter','casual','make','Correctness','205vuxcgu','Longer','Casual','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','shorter','88304Zlhicm','Adjust\x20length','friendly','Adjust\x20tone\x20and\x20style','correctness','make-tone','Friendly','36690YWIvzq','direct','Direct','length','236866yacTNy','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','longer','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','dropdown','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','tone','1124364ZoFTTm','confident'];_0x1111=function(){return _0x3d8968;};return _0x1111();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x332b(_0x57bd4b,_0x589021){var _0x46a636=_0x46a6();return _0x332b=function(_0x332bf8,_0x3b1b25){_0x332bf8=_0x332bf8-0x1ee;var _0x5bd592=_0x46a636[_0x332bf8];return _0x5bd592;},_0x332b(_0x57bd4b,_0x589021);}var _0x3a36f8=_0x332b;(function(_0x336cac,_0x5c7105){var _0x1ad1e1=_0x332b,_0x23924f=_0x336cac();while(!![]){try{var _0x32dd6f=-parseInt(_0x1ad1e1(0x1f1))/0x1+-parseInt(_0x1ad1e1(0x1f0))/0x2*(-parseInt(_0x1ad1e1(0x1f8))/0x3)+parseInt(_0x1ad1e1(0x1f2))/0x4+-parseInt(_0x1ad1e1(0x1fb))/0x5+-parseInt(_0x1ad1e1(0x1fa))/0x6+parseInt(_0x1ad1e1(0x1f9))/0x7*(-parseInt(_0x1ad1e1(0x1f7))/0x8)+parseInt(_0x1ad1e1(0x1f6))/0x9;if(_0x32dd6f===_0x5c7105)break;else _0x23924f['push'](_0x23924f['shift']());}catch(_0x3c562a){_0x23924f['push'](_0x23924f['shift']());}}}(_0x46a6,0xc76f7));import{ContextPlugin as _0x553751}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x42ebc7}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x5c9df1}from'../aireviewcore/aireviewcoreediting.js';import{AIReviewModeController as _0xc5d633}from'./aireviewmodecontroller.js';export class AIReviewMode extends _0x553751{static get[_0x3a36f8(0x1ef)](){return[_0xc5d633,_0x42ebc7,_0x5c9df1];}static get[_0x3a36f8(0x1ee)](){var _0x2bc97a=_0x3a36f8;return _0x2bc97a(0x1f5);}static get[_0x3a36f8(0x1f3)](){return!0x0;}static get[_0x3a36f8(0x1f4)](){return!0x0;}}function _0x46a6(){var _0x51e5b5=['8369070ZCWVnG','6622885AGHjsM','pluginName','requires','434222gjWOuZ','244443bueISu','5845748DlXkjE','isOfficialPlugin','isPremiumPlugin','AIReviewMode','24153417HAqlze','4652072UWcqvT','3BXujBs','7ItUIJk'];_0x46a6=function(){return _0x51e5b5;};return _0x46a6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x25c3(){const _0x71c137=['model','defaultModel','_onChangeMarkerHovered','define','checks','origin','title','_hasDefaultAvailableCommands','_onChangeMarkerClicked','_aiReviewCoreUi','params','balloon','ai.review.availableCommands','getRoot','778245fXPmHd','markChangePositionInEditorContent','AIReviewModeUI','forEach','_onChangeMarkerBlurred','_onActivateChange','AIReviewModeController','isExtra','_aiReviewCoreEditing','_diffContent','init','getMarkerElementForChange','ck-ai_review-diff','join','getDocumentData','7797936IlVjLg','editing','_onDiffChange','_getTranslationWithDefault','locale','3954384ZTfZLI','515ZtWxLy','diffContent','changeId','toggleDiff','_getModels','uiInteraction','resetActiveStateInResults','view','isAnyChangeActivated','context','_logError','find','label','listenTo','options','hideChangeBalloon','_onReviewCheckRun','args','getAll','all','ck-ai_review-highlights','_logErrorForNonExistentChecks','hideDiffInBalloon','ai-review-mode-non-existent-commands-used','_currentReviewCheckRun','_TITLE','57212yqMcTk','config','_isDiffOn','_filterChecksWithMissingModel','_getChecksList','12PJSsMT','showChangeBalloon','_markChangePositionInEditorContent','default','1288uLzZjv','1676bnHWhC','description','_onReviewCheckResultActivated','panel','custom','ai.review.extraCommands','getClassNames','markerElement','isCustom','startsWith','replaceAll','_scrollToChange','_changeActivationSource','_getExtraChecks','activateChange','push','ck-ai_review-','_DESCRIPTION','some','click','hover','domEvent','viewportOffset','_createReviewCheckRun','get','deactivateChange','AIReviewCoreEditing','_OPTIONS_LABEL','data','_getChangeContentElement','getChangeById','removeClass','getDomRoot','getElement','setActiveStateInResults','document','setAllMarkersAsInactive','length','_aiConnector','setupChecks','getEditor','13613648BhXuGm','models','change','getDefault','filter','41125535nXOPNC','prompt','ai-review-mode-command-unavailable-due-to-missing-model','recommended','ai.models','getAvailableModels','showDiffInBalloon','removeCheckById','pluginName','_initRequiredPlugins','_OPTIONS_DATA_','map','plugins','10UvMIMw','addClass','setMarkersInElementAsActive','content','_onDeactivateChange','_translateReviewCheck','ai-review-mode-models-unable-to-retrieve','_onReviewCheckResultDeactivated','7rlPvCG','AI_REVIEW_CHECK_','toUpperCase'];_0x25c3=function(){return _0x71c137;};return _0x25c3();}const _0x3485ef=_0xde98;(function(_0x1f066c,_0x102299){const _0x2a6005=_0xde98,_0x668501=_0x1f066c();while(!![]){try{const _0x5ea066=parseInt(_0x2a6005(0x150))/0x1*(-parseInt(_0x2a6005(0x151))/0x2)+parseInt(_0x2a6005(0x118))/0x3+-parseInt(_0x2a6005(0x147))/0x4*(-parseInt(_0x2a6005(0x12d))/0x5)+-parseInt(_0x2a6005(0x127))/0x6+parseInt(_0x2a6005(0x107))/0x7*(-parseInt(_0x2a6005(0xed))/0x8)+-parseInt(_0x2a6005(0x12c))/0x9*(parseInt(_0x2a6005(0xff))/0xa)+parseInt(_0x2a6005(0xf2))/0xb*(parseInt(_0x2a6005(0x14c))/0xc);if(_0x5ea066===_0x102299)break;else _0x668501['push'](_0x668501['shift']());}catch(_0x2695e7){_0x668501['push'](_0x668501['shift']());}}}(_0x25c3,0xe83bb));import{CKEditorError as _0x5449af}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x29f136}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x34249f}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x391528}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x2682d4}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0xc043ce}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x3b8bf8}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x520471}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x3c81ce}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x65c804}from'./model/aireviewextracheckrun.js';function _0xde98(_0x2127a0,_0xc50a8){const _0x25c366=_0x25c3();return _0xde98=function(_0xde9872,_0x3344d5){_0xde9872=_0xde9872-0xe3;let _0x354671=_0x25c366[_0xde9872];return _0x354671;},_0xde98(_0x2127a0,_0xc50a8);}export class AIReviewModeController extends _0x29f136{static get[_0x3485ef(0xfa)](){const _0x1a4eb2=_0x3485ef;return _0x1a4eb2(0x11e);}[_0x3485ef(0x149)]=!0x1;[_0x3485ef(0x111)]=!0x1;constructor(_0x95e9ad){const _0x4e8005=_0x3485ef;super(_0x95e9ad),this[_0x4e8005(0x111)]=!this[_0x4e8005(0x136)][_0x4e8005(0x148)][_0x4e8005(0x169)](_0x4e8005(0x116)),this[_0x4e8005(0x136)][_0x4e8005(0x148)][_0x4e8005(0x10d)](_0x4e8005(0x116),_0x34249f[_0x4e8005(0xfd)](_0x158ed9=>_0x158ed9['id'])),this[_0x4e8005(0x136)][_0x4e8005(0x148)][_0x4e8005(0x10d)](_0x4e8005(0x156),[]);}async[_0x3485ef(0x122)](){const _0x60b368=_0x3485ef;await super[_0x60b368(0x122)](),this[_0x60b368(0x13a)](this[_0x60b368(0x113)],_0x60b368(0x130),(_0x1d296d,_0x208ae7)=>{const _0x5575fc=_0x60b368;this[_0x5575fc(0x149)]=_0x208ae7['on'],this[_0x5575fc(0x129)](this[_0x5575fc(0x149)]);});}[_0x3485ef(0xfb)](){const _0x5ac45c=_0x3485ef;super[_0x5ac45c(0xfb)](),this[_0x5ac45c(0x113)]=this[_0x5ac45c(0x136)][_0x5ac45c(0xfe)][_0x5ac45c(0x169)](_0x5ac45c(0x11a)),this[_0x5ac45c(0x120)]=this[_0x5ac45c(0x136)][_0x5ac45c(0xfe)][_0x5ac45c(0x169)](_0x5ac45c(0x16b));}[_0x3485ef(0x168)](_0x53d448,_0x512a57){const _0x14e941=_0x3485ef;return _0x53d448[_0x14e941(0x159)]?new _0x2682d4(_0x53d448[_0x14e941(0x13e)][_0x14e941(0xf3)],_0x53d448[_0x14e941(0x13e)][_0x14e941(0x10a)],this[_0x14e941(0x120)][_0x14e941(0x126)](),_0x512a57,this[_0x14e941(0xea)]):_0x512a57[_0x14e941(0x11f)]?new _0x65c804(_0x512a57[_0x14e941(0xf3)],_0x512a57[_0x14e941(0x10b)]['id'],this[_0x14e941(0x120)][_0x14e941(0x126)](),_0x512a57,this[_0x14e941(0xea)]):new _0xc043ce(this[_0x14e941(0x120)][_0x14e941(0x126)](),_0x512a57,this[_0x14e941(0xea)],_0x53d448[_0x14e941(0x114)],_0x53d448[_0x14e941(0x13e)]);}[_0x3485ef(0x153)](_0x189f0d){const _0x4aafea=_0x3485ef;this[_0x4aafea(0x113)][_0x4aafea(0xe6)](_0x189f0d[_0x4aafea(0xef)]['id']),this[_0x4aafea(0x15c)](_0x189f0d[_0x4aafea(0xef)]['id']);const _0x528b60=this[_0x4aafea(0x120)][_0x4aafea(0x123)](_0x189f0d[_0x4aafea(0xef)]['id']);if(!_0x528b60)return;const _0xc0ac22=this[_0x4aafea(0x120)][_0x4aafea(0xec)]();this[_0x4aafea(0x113)][_0x4aafea(0x14d)](_0x189f0d[_0x4aafea(0xef)],()=>_0x528b60[_0x4aafea(0xe5)](),void 0x0,_0x4aafea(0x164),_0xc0ac22?.[_0x4aafea(0x128)]?.[_0x4aafea(0x134)]?.[_0x4aafea(0xe4)](),_0xc0ac22?.['ui']?.[_0x4aafea(0x167)]),this[_0x4aafea(0x120)][_0x4aafea(0x101)](_0x189f0d[_0x4aafea(0xef)]['id']);}[_0x3485ef(0x106)](){const _0x7d111e=_0x3485ef;this[_0x7d111e(0x113)][_0x7d111e(0x133)](),this[_0x7d111e(0x113)][_0x7d111e(0x13c)](),this[_0x7d111e(0x120)][_0x7d111e(0xe8)]();}[_0x3485ef(0x11d)](_0xaf6a01){const _0x1d0bb0=_0x3485ef;this[_0x1d0bb0(0x145)]&&_0x1d0bb0(0x164)===_0xaf6a01[_0x1d0bb0(0x132)]&&(this[_0x1d0bb0(0x15d)]=_0x1d0bb0(0x154),this[_0x1d0bb0(0x145)][_0x1d0bb0(0x15f)](_0xaf6a01['id']));}[_0x3485ef(0x103)](_0x51b86a){const _0x21c9f0=_0x3485ef;this[_0x21c9f0(0x145)]&&_0x21c9f0(0x115)===_0x51b86a[_0x21c9f0(0x10f)]&&this[_0x21c9f0(0x145)][_0x21c9f0(0x16a)]();}[_0x3485ef(0x112)](_0x2c5a5f,_0x15b361){const _0x3ab7dd=_0x3485ef;if(!this[_0x3ab7dd(0x145)])return;this[_0x3ab7dd(0x15d)]=_0x3ab7dd(0x102),this[_0x3ab7dd(0x145)][_0x3ab7dd(0x15f)](_0x15b361[_0x3ab7dd(0x12f)]);const _0x57d570=this[_0x3ab7dd(0x145)][_0x3ab7dd(0x16f)](_0x15b361[_0x3ab7dd(0x12f)]);if(!_0x57d570)return;const _0x379126=this[_0x3ab7dd(0x120)][_0x3ab7dd(0xec)]();this[_0x3ab7dd(0x113)][_0x3ab7dd(0x14d)](_0x57d570,_0x15b361[_0x3ab7dd(0x158)],_0x15b361[_0x3ab7dd(0x166)],_0x3ab7dd(0x164),_0x379126?.[_0x3ab7dd(0x128)]?.[_0x3ab7dd(0x134)]?.[_0x3ab7dd(0xe4)](),_0x379126?.['ui']?.[_0x3ab7dd(0x167)]);}[_0x3485ef(0x10c)](_0x31fbe4,_0x4c351b){const _0x3e5035=_0x3485ef;if(!this[_0x3e5035(0x145)])return;if(this[_0x3e5035(0x145)][_0x3e5035(0x135)]())return;const _0x2b56de=this[_0x3e5035(0x145)][_0x3e5035(0x16f)](_0x4c351b[_0x3e5035(0x12f)]);if(!_0x2b56de)return;const _0x199434=this[_0x3e5035(0x120)][_0x3e5035(0xec)]();this[_0x3e5035(0x113)][_0x3e5035(0x14d)](_0x2b56de,_0x4c351b[_0x3e5035(0x158)],_0x4c351b[_0x3e5035(0x166)],_0x3e5035(0x165),_0x199434?.[_0x3e5035(0x128)]?.[_0x3e5035(0x134)]?.[_0x3e5035(0xe4)](),_0x199434?.['ui']?.[_0x3e5035(0x167)]);}[_0x3485ef(0x11c)](){const _0x221de6=_0x3485ef;if(!this[_0x221de6(0x145)])return;this[_0x221de6(0x145)][_0x221de6(0x135)]()||this[_0x221de6(0x113)][_0x221de6(0x13c)]();}[_0x3485ef(0x16e)](_0x19ba63){const _0x144e6d=_0x3485ef,_0x1b0281=this[_0x144e6d(0x120)][_0x144e6d(0x123)](_0x19ba63);return _0x1b0281?_0x1b0281[_0x144e6d(0xe5)]():null;}[_0x3485ef(0x14e)](_0xb7ff61,_0x43e4f8){const _0x573488=_0x3485ef;this[_0x573488(0x120)][_0x573488(0x119)](_0xb7ff61,_0x43e4f8);}[_0x3485ef(0x121)](_0x5cd236,_0x248f5e){const _0x5a4e22=_0x3485ef;return this[_0x5a4e22(0x120)][_0x5a4e22(0x12e)](_0x5cd236,_0x248f5e);}[_0x3485ef(0x13d)](){const _0x281dc6=_0x3485ef;this[_0x281dc6(0x129)](this[_0x281dc6(0x149)]);}[_0x3485ef(0x129)](_0x428563){const _0x5ec143=_0x3485ef,_0xaf401f=this[_0x5ec143(0x120)][_0x5ec143(0xec)]();_0x428563?this[_0x5ec143(0x113)][_0x5ec143(0x143)]():this[_0x5ec143(0x113)][_0x5ec143(0xf8)](),_0xaf401f&&_0xaf401f[_0x5ec143(0x128)][_0x5ec143(0x134)][_0x5ec143(0xef)](_0xa83f2d=>{const _0x12ff5d=_0x5ec143,_0x3b49ae=_0xaf401f[_0x12ff5d(0x128)][_0x12ff5d(0x134)][_0x12ff5d(0xe7)][_0x12ff5d(0x117)]();for(const _0x4b6c1a of _0x3b49ae[_0x12ff5d(0x157)]())_0x4b6c1a[_0x12ff5d(0x15a)](_0x12ff5d(0x161))&&_0xa83f2d[_0x12ff5d(0xe3)](_0x4b6c1a,_0x3b49ae);_0xa83f2d[_0x12ff5d(0x100)](_0x428563?_0x12ff5d(0x124):_0x12ff5d(0x141),_0x3b49ae);});}async[_0x3485ef(0x14b)](){const _0x4dc737=_0x3485ef,_0x5236b7=[..._0x34249f,...this[_0x4dc737(0x15e)]()],_0x1e429d=this[_0x4dc737(0x136)][_0x4dc737(0x148)][_0x4dc737(0x169)](_0x4dc737(0x116))||[];this[_0x4dc737(0x142)](_0x1e429d,_0x5236b7);let _0x152ab6=_0x5236b7;this[_0x4dc737(0x111)]||(_0x152ab6=_0x1e429d[_0x4dc737(0xfd)](_0x50c4a0=>_0x5236b7[_0x4dc737(0x138)](_0x4ce1a8=>_0x4ce1a8['id']===_0x50c4a0))[_0x4dc737(0xf1)](_0x4db2f3=>!!_0x4db2f3)),_0x152ab6=_0x152ab6[_0x4dc737(0xfd)](_0x4cf62b=>_0x4cf62b[_0x4dc737(0x11f)]?_0x4cf62b:this[_0x4dc737(0x104)](_0x4cf62b));const _0x11868f=_0x152ab6[_0x4dc737(0x163)](_0xc9d086=>_0xc9d086[_0x4dc737(0x11f)]||_0x4dc737(0x155)===_0xc9d086['id']);let _0x2f1168=[],_0x547771=[],_0x272a64=null;if(_0x11868f){const _0x315051=await this[_0x4dc737(0x131)]();_0x2f1168=_0x315051[_0x4dc737(0x140)],_0x547771=_0x315051[_0x4dc737(0xf5)],_0x272a64=_0x315051[_0x4dc737(0x14f)];}const _0x6e1dd8=new _0x391528(_0x2f1168,_0x547771,_0x272a64);return _0x6e1dd8[_0x4dc737(0xeb)](_0x152ab6),_0x11868f&&this[_0x4dc737(0x14a)](_0x6e1dd8),_0x6e1dd8;}[_0x3485ef(0x15e)](){const _0x34293e=_0x3485ef;return(this[_0x34293e(0x136)][_0x34293e(0x148)][_0x34293e(0x169)](_0x34293e(0x156))||[])[_0x34293e(0xfd)](_0x379b80=>({'id':_0x379b80['id'],'commandId':_0x379b80['id'],'title':_0x379b80[_0x34293e(0x139)],'description':_0x379b80[_0x34293e(0x152)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x379b80[_0x34293e(0xf3)],'model':_0x379b80[_0x34293e(0x10a)]}));}[_0x3485ef(0x142)](_0x17ae96,_0x3dfd54){const _0x2a573d=_0x3485ef,_0x39c1cd=_0x17ae96[_0x2a573d(0xf1)](_0x46d43a=>!_0x3dfd54[_0x2a573d(0x163)](_0x15c66a=>_0x15c66a['id']===_0x46d43a));_0x39c1cd[_0x2a573d(0xe9)]&&this[_0x2a573d(0x137)](new _0x5449af(_0x2a573d(0x144),this,{'commandIds':_0x39c1cd[_0x2a573d(0x125)](',\x20')}),!0x0);}async[_0x3485ef(0x131)](){const _0x4693f0=_0x3485ef;try{const _0x17050b=new _0x3b8bf8({'connector':this[_0x4693f0(0xea)],'config':this[_0x4693f0(0x136)][_0x4693f0(0x148)][_0x4693f0(0x169)](_0x4693f0(0xf6)),'locale':this[_0x4693f0(0x136)][_0x4693f0(0x12b)]});return{'all':await _0x17050b[_0x4693f0(0x13f)](),'recommended':await _0x17050b[_0x4693f0(0xf7)](),'default':await _0x17050b[_0x4693f0(0xf0)]()};}catch(_0xc768d){return this[_0x4693f0(0x137)](new _0x5449af(_0x4693f0(0x105),this,void 0x0,_0xc768d)),{'all':[],'recommended':[],'default':null};}}[_0x3485ef(0x104)](_0x347bcc){const _0x3a8d34=_0x3485ef,_0x4f37c1=_0x3a8d34(0x108)+_0x347bcc['id'][_0x3a8d34(0x109)]()[_0x3a8d34(0x15b)]('-','_'),_0x1e75b5={..._0x347bcc,'title':this[_0x3a8d34(0x12a)](_0x4f37c1+_0x3a8d34(0x146),_0x347bcc[_0x3a8d34(0x110)]),'description':this[_0x3a8d34(0x12a)](_0x4f37c1+_0x3a8d34(0x162),_0x347bcc[_0x3a8d34(0x152)])};return _0x347bcc[_0x3a8d34(0x13b)]&&(_0x1e75b5[_0x3a8d34(0x13b)]=_0x347bcc[_0x3a8d34(0x13b)][_0x3a8d34(0xfd)](_0x2e30ae=>({..._0x2e30ae,'label':this[_0x3a8d34(0x12a)](_0x4f37c1+_0x3a8d34(0x16c),_0x2e30ae[_0x3a8d34(0x139)]||''),'data':_0x2e30ae[_0x3a8d34(0x16d)]?_0x2e30ae[_0x3a8d34(0x16d)][_0x3a8d34(0xfd)](_0x4aff37=>({..._0x4aff37,'label':this[_0x3a8d34(0x12a)](_0x4f37c1+_0x3a8d34(0xfc)+_0x4aff37['id'][_0x3a8d34(0x109)](),_0x4aff37[_0x3a8d34(0x139)])})):void 0x0}))),_0x1e75b5;}[_0x3485ef(0x14a)](_0x28ed3f){const _0x183ac6=_0x3485ef,_0x1eefe0=[];_0x28ed3f[_0x183ac6(0x10e)][_0x183ac6(0x11b)](_0x2ccc36=>{const _0x5ec0dd=_0x183ac6;(_0x2ccc36 instanceof _0x3c81ce&&!_0x2ccc36[_0x5ec0dd(0x10b)]||_0x2ccc36 instanceof _0x520471&&!_0x2ccc36[_0x5ec0dd(0xee)][_0x5ec0dd(0xe9)])&&_0x1eefe0[_0x5ec0dd(0x160)](_0x2ccc36['id']);}),_0x1eefe0[_0x183ac6(0xe9)]&&_0x1eefe0[_0x183ac6(0x11b)](_0x4fad98=>{const _0x2240db=_0x183ac6;_0x28ed3f[_0x2240db(0xf9)](_0x4fad98),this[_0x2240db(0x137)](new _0x5449af(_0x2240db(0xf4),this,{'commandId':_0x4fad98}),!0x0);});}}
|
|
23
|
+
const _0x289a27=_0xddc9;function _0x3f78(){const _0x303277=['args','ai-review-mode-non-existent-commands-used','setMarkersInElementAsActive','locale','getEditor','models','pluginName','_initRequiredPlugins','AI_REVIEW_CHECK_','_translateReviewCheck','_logError','ai-review-mode-models-unable-to-retrieve','title','view','editing','all','_getExtraChecks','toUpperCase','125smYaVN','listenTo','click','deactivateChange','content','changeId','setActiveStateInResults','104HqTZli','267421AMUHvc','getDocumentData','isAnyChangeActivated','getChangeById','getDefault','showChangeBalloon','filter','setupChecks','map','_OPTIONS_LABEL','define','replaceAll','viewportOffset','join','_DESCRIPTION','some','isCustom','_onChangeMarkerHovered','default','_onActivateChange','forEach','showDiffInBalloon','_getTranslationWithDefault','getMarkerElementForChange','ck-ai_review-highlights','getElement','AIReviewModeController','_onReviewCheckRun','domEvent','context','1MCMAVr','_TITLE','toggleDiff','ck-ai_review-','_createReviewCheckRun','setAllMarkersAsInactive','find','hover','length','panel','_aiReviewCoreEditing','resetActiveStateInResults','_currentReviewCheckRun','checks','prompt','removeClass','_scrollToChange','ai.review.extraCommands','_onReviewCheckResultDeactivated','_filterChecksWithMissingModel','_getModels','diffContent','3624669YouAqE','data','label','_markChangePositionInEditorContent','ai-review-mode-command-unavailable-due-to-missing-model','push','_diffContent','_aiConnector','4316240EQJYuP','1008454jSVbZz','isExtra','ck-ai_review-diff','markChangePositionInEditorContent','74715cdyPZb','ai.models','21023150XoHNSg','_getChangeContentElement','_onDiffChange','_changeActivationSource','description','origin','config','getRoot','_aiReviewCoreUi','AIReviewModeUI','hideChangeBalloon','AIReviewCoreEditing','addClass','_logErrorForNonExistentChecks','getAvailableModels','getAll','_getChecksList','startsWith','document','custom','recommended','_onDeactivateChange','activateChange','_onReviewCheckResultActivated','markerElement','getDomRoot','hideDiffInBalloon','_isDiffOn','161142ffaIZL','change','options','balloon','defaultModel','_hasDefaultAvailableCommands','plugins','model','ai.review.availableCommands','_onChangeMarkerBlurred','getClassNames','_OPTIONS_DATA_','params','_onChangeMarkerClicked','init','removeCheckById','get','uiInteraction'];_0x3f78=function(){return _0x303277;};return _0x3f78();}(function(_0x2b6a3e,_0x46c562){const _0x83de29=_0xddc9,_0x12f72a=_0x2b6a3e();while(!![]){try{const _0x3c689f=parseInt(_0x83de29(0x77))/0x1*(parseInt(_0x83de29(0x96))/0x2)+-parseInt(_0x83de29(0x9a))/0x3*(parseInt(_0x83de29(0xe3))/0x4)+parseInt(_0x83de29(0xdc))/0x5*(-parseInt(_0x83de29(0xb8))/0x6)+parseInt(_0x83de29(0xe4))/0x7+-parseInt(_0x83de29(0x95))/0x8+-parseInt(_0x83de29(0x8d))/0x9+parseInt(_0x83de29(0x9c))/0xa;if(_0x3c689f===_0x46c562)break;else _0x12f72a['push'](_0x12f72a['shift']());}catch(_0x4df4ab){_0x12f72a['push'](_0x12f72a['shift']());}}}(_0x3f78,0x5da1f));import{CKEditorError as _0x3838b1}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x26366a}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x458ca5}from'./aireviewcheckdefinitions.js';function _0xddc9(_0x473f6a,_0xe4d993){const _0x3f789a=_0x3f78();return _0xddc9=function(_0xddc92c,_0x2ff79f){_0xddc92c=_0xddc92c-0x68;let _0x35b351=_0x3f789a[_0xddc92c];return _0x35b351;},_0xddc9(_0x473f6a,_0xe4d993);}import{AIReviewModeCheckList as _0x4b1a82}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0xed5b1e}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x21b83e}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x1ffb5f}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0xacf94b}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x527f4b}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x2442e0}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x26366a{static get[_0x289a27(0xd0)](){const _0x14d5fb=_0x289a27;return _0x14d5fb(0x73);}[_0x289a27(0xb7)]=!0x1;[_0x289a27(0xbd)]=!0x1;constructor(_0x2400d9){const _0x595172=_0x289a27;super(_0x2400d9),this[_0x595172(0xbd)]=!this[_0x595172(0x76)][_0x595172(0xa2)][_0x595172(0xc8)](_0x595172(0xc0)),this[_0x595172(0x76)][_0x595172(0xa2)][_0x595172(0xee)](_0x595172(0xc0),_0x458ca5[_0x595172(0xec)](_0x4fc086=>_0x4fc086['id'])),this[_0x595172(0x76)][_0x595172(0xa2)][_0x595172(0xee)](_0x595172(0x88),[]);}async[_0x289a27(0xc6)](){const _0xb68878=_0x289a27;await super[_0xb68878(0xc6)](),this[_0xb68878(0xdd)](this[_0xb68878(0xa4)],_0xb68878(0x79),(_0x3cc015,_0xff3cd0)=>{const _0x5a40c0=_0xb68878;this[_0x5a40c0(0xb7)]=_0xff3cd0['on'],this[_0x5a40c0(0x9e)](this[_0x5a40c0(0xb7)]);});}[_0x289a27(0xd1)](){const _0x281d68=_0x289a27;super[_0x281d68(0xd1)](),this[_0x281d68(0xa4)]=this[_0x281d68(0x76)][_0x281d68(0xbe)][_0x281d68(0xc8)](_0x281d68(0xa5)),this[_0x281d68(0x81)]=this[_0x281d68(0x76)][_0x281d68(0xbe)][_0x281d68(0xc8)](_0x281d68(0xa7));}[_0x289a27(0x7b)](_0x5414bb,_0x4fd276){const _0x47507b=_0x289a27;return _0x5414bb[_0x47507b(0x69)]?new _0xed5b1e(_0x5414bb[_0x47507b(0xca)][_0x47507b(0x85)],_0x5414bb[_0x47507b(0xca)][_0x47507b(0xbf)],this[_0x47507b(0x81)][_0x47507b(0xe5)](),_0x4fd276,this[_0x47507b(0x94)]):_0x4fd276[_0x47507b(0x97)]?new _0x2442e0(_0x4fd276[_0x47507b(0x85)],_0x4fd276[_0x47507b(0xbc)]['id'],this[_0x47507b(0x81)][_0x47507b(0xe5)](),_0x4fd276,this[_0x47507b(0x94)]):new _0x21b83e(this[_0x47507b(0x81)][_0x47507b(0xe5)](),_0x4fd276,this[_0x47507b(0x94)],_0x5414bb[_0x47507b(0xc4)],_0x5414bb[_0x47507b(0xca)]);}[_0x289a27(0xb3)](_0x1fc287){const _0xd1ea9e=_0x289a27;this[_0xd1ea9e(0xa4)][_0xd1ea9e(0xe2)](_0x1fc287[_0xd1ea9e(0xb9)]['id']),this[_0xd1ea9e(0x87)](_0x1fc287[_0xd1ea9e(0xb9)]['id']);const _0x131530=this[_0xd1ea9e(0x81)][_0xd1ea9e(0x70)](_0x1fc287[_0xd1ea9e(0xb9)]['id']);if(!_0x131530)return;const _0x4228ef=this[_0xd1ea9e(0x81)][_0xd1ea9e(0xce)]();this[_0xd1ea9e(0xa4)][_0xd1ea9e(0xe9)](_0x1fc287[_0xd1ea9e(0xb9)],()=>_0x131530[_0xd1ea9e(0x72)](),void 0x0,_0xd1ea9e(0xde),_0x4228ef?.[_0xd1ea9e(0xd8)]?.[_0xd1ea9e(0xd7)]?.[_0xd1ea9e(0xb5)](),_0x4228ef?.['ui']?.[_0xd1ea9e(0xf0)]),this[_0xd1ea9e(0x81)][_0xd1ea9e(0xcc)](_0x1fc287[_0xd1ea9e(0xb9)]['id']);}[_0x289a27(0x89)](){const _0x2d4458=_0x289a27;this[_0x2d4458(0xa4)][_0x2d4458(0x82)](),this[_0x2d4458(0xa4)][_0x2d4458(0xa6)](),this[_0x2d4458(0x81)][_0x2d4458(0x7c)]();}[_0x289a27(0x6c)](_0x40be51){const _0x1f1926=_0x289a27;this[_0x1f1926(0x83)]&&_0x1f1926(0xde)===_0x40be51[_0x1f1926(0xc9)]&&(this[_0x1f1926(0x9f)]=_0x1f1926(0x80),this[_0x1f1926(0x83)][_0x1f1926(0xb2)](_0x40be51['id']));}[_0x289a27(0xb1)](_0x5d17a9){const _0x25e41e=_0x289a27;this[_0x25e41e(0x83)]&&_0x25e41e(0xbb)===_0x5d17a9[_0x25e41e(0xa1)]&&this[_0x25e41e(0x83)][_0x25e41e(0xdf)]();}[_0x289a27(0xc5)](_0x48a0f1,_0x3a14e8){const _0x253235=_0x289a27;if(!this[_0x253235(0x83)])return;this[_0x253235(0x9f)]=_0x253235(0xe0),this[_0x253235(0x83)][_0x253235(0xb2)](_0x3a14e8[_0x253235(0xe1)]);const _0x4391d3=this[_0x253235(0x83)][_0x253235(0xe7)](_0x3a14e8[_0x253235(0xe1)]);if(!_0x4391d3)return;const _0x2958d9=this[_0x253235(0x81)][_0x253235(0xce)]();this[_0x253235(0xa4)][_0x253235(0xe9)](_0x4391d3,_0x3a14e8[_0x253235(0xb4)],_0x3a14e8[_0x253235(0x75)],_0x253235(0xde),_0x2958d9?.[_0x253235(0xd8)]?.[_0x253235(0xd7)]?.[_0x253235(0xb5)](),_0x2958d9?.['ui']?.[_0x253235(0xf0)]);}[_0x289a27(0x6a)](_0x1876cd,_0xc07107){const _0xd4e0b8=_0x289a27;if(!this[_0xd4e0b8(0x83)])return;if(this[_0xd4e0b8(0x83)][_0xd4e0b8(0xe6)]())return;const _0xa913b5=this[_0xd4e0b8(0x83)][_0xd4e0b8(0xe7)](_0xc07107[_0xd4e0b8(0xe1)]);if(!_0xa913b5)return;const _0x385cd5=this[_0xd4e0b8(0x81)][_0xd4e0b8(0xce)]();this[_0xd4e0b8(0xa4)][_0xd4e0b8(0xe9)](_0xa913b5,_0xc07107[_0xd4e0b8(0xb4)],_0xc07107[_0xd4e0b8(0x75)],_0xd4e0b8(0x7e),_0x385cd5?.[_0xd4e0b8(0xd8)]?.[_0xd4e0b8(0xd7)]?.[_0xd4e0b8(0xb5)](),_0x385cd5?.['ui']?.[_0xd4e0b8(0xf0)]);}[_0x289a27(0xc1)](){const _0x1da884=_0x289a27;if(!this[_0x1da884(0x83)])return;this[_0x1da884(0x83)][_0x1da884(0xe6)]()||this[_0x1da884(0xa4)][_0x1da884(0xa6)]();}[_0x289a27(0x9d)](_0x406f75){const _0xfeab=_0x289a27,_0x5481ec=this[_0xfeab(0x81)][_0xfeab(0x70)](_0x406f75);return _0x5481ec?_0x5481ec[_0xfeab(0x72)]():null;}[_0x289a27(0x90)](_0x50b4c8,_0x5e32a7){const _0x646c28=_0x289a27;this[_0x646c28(0x81)][_0x646c28(0x99)](_0x50b4c8,_0x5e32a7);}[_0x289a27(0x93)](_0x37767a,_0x1b9dd9){const _0x16a256=_0x289a27;return this[_0x16a256(0x81)][_0x16a256(0x8c)](_0x37767a,_0x1b9dd9);}[_0x289a27(0x74)](){const _0x57633c=_0x289a27;this[_0x57633c(0x9e)](this[_0x57633c(0xb7)]);}[_0x289a27(0x9e)](_0x506ed3){const _0x3dc07e=_0x289a27,_0x11213b=this[_0x3dc07e(0x81)][_0x3dc07e(0xce)]();_0x506ed3?this[_0x3dc07e(0xa4)][_0x3dc07e(0xb6)]():this[_0x3dc07e(0xa4)][_0x3dc07e(0x6e)](),_0x11213b&&_0x11213b[_0x3dc07e(0xd8)][_0x3dc07e(0xd7)][_0x3dc07e(0xb9)](_0x529aa8=>{const _0x33f977=_0x3dc07e,_0x5f0c73=_0x11213b[_0x33f977(0xd8)][_0x33f977(0xd7)][_0x33f977(0xae)][_0x33f977(0xa3)]();for(const _0x39bf34 of _0x5f0c73[_0x33f977(0xc2)]())_0x39bf34[_0x33f977(0xad)](_0x33f977(0x7a))&&_0x529aa8[_0x33f977(0x86)](_0x39bf34,_0x5f0c73);_0x529aa8[_0x33f977(0xa8)](_0x506ed3?_0x33f977(0x98):_0x33f977(0x71),_0x5f0c73);});}async[_0x289a27(0xac)](){const _0x7e9c75=_0x289a27,_0x210ebb=[..._0x458ca5,...this[_0x7e9c75(0xda)]()],_0x2aab5d=this[_0x7e9c75(0x76)][_0x7e9c75(0xa2)][_0x7e9c75(0xc8)](_0x7e9c75(0xc0))||[];this[_0x7e9c75(0xa9)](_0x2aab5d,_0x210ebb);let _0x5aa099=_0x210ebb;this[_0x7e9c75(0xbd)]||(_0x5aa099=_0x2aab5d[_0x7e9c75(0xec)](_0x126840=>_0x210ebb[_0x7e9c75(0x7d)](_0x3d6615=>_0x3d6615['id']===_0x126840))[_0x7e9c75(0xea)](_0x5643d6=>!!_0x5643d6)),_0x5aa099=_0x5aa099[_0x7e9c75(0xec)](_0x351ae7=>_0x351ae7[_0x7e9c75(0x97)]?_0x351ae7:this[_0x7e9c75(0xd3)](_0x351ae7));const _0x5dbc12=_0x5aa099[_0x7e9c75(0x68)](_0x393767=>_0x393767[_0x7e9c75(0x97)]||_0x7e9c75(0xaf)===_0x393767['id']);let _0xddd073=[],_0xed330e=[],_0xfeb2fe=null;if(_0x5dbc12){const _0x501c26=await this[_0x7e9c75(0x8b)]();_0xddd073=_0x501c26[_0x7e9c75(0xd9)],_0xed330e=_0x501c26[_0x7e9c75(0xb0)],_0xfeb2fe=_0x501c26[_0x7e9c75(0x6b)];}const _0x121257=new _0x4b1a82(_0xddd073,_0xed330e,_0xfeb2fe);return _0x121257[_0x7e9c75(0xeb)](_0x5aa099),_0x5dbc12&&this[_0x7e9c75(0x8a)](_0x121257),_0x121257;}[_0x289a27(0xda)](){const _0x206362=_0x289a27;return(this[_0x206362(0x76)][_0x206362(0xa2)][_0x206362(0xc8)](_0x206362(0x88))||[])[_0x206362(0xec)](_0x4a4231=>({'id':_0x4a4231['id'],'commandId':_0x4a4231['id'],'title':_0x4a4231[_0x206362(0x8f)],'description':_0x4a4231[_0x206362(0xa0)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x4a4231[_0x206362(0x85)],'model':_0x4a4231[_0x206362(0xbf)]}));}[_0x289a27(0xa9)](_0x26bf8a,_0x4f9d98){const _0x524e35=_0x289a27,_0x348d6b=_0x26bf8a[_0x524e35(0xea)](_0x3eb8f2=>!_0x4f9d98[_0x524e35(0x68)](_0xe4da40=>_0xe4da40['id']===_0x3eb8f2));_0x348d6b[_0x524e35(0x7f)]&&this[_0x524e35(0xd4)](new _0x3838b1(_0x524e35(0xcb),this,{'commandIds':_0x348d6b[_0x524e35(0xf1)](',\x20')}),!0x0);}async[_0x289a27(0x8b)](){const _0x564587=_0x289a27;try{const _0x4ad675=new _0x1ffb5f({'connector':this[_0x564587(0x94)],'config':this[_0x564587(0x76)][_0x564587(0xa2)][_0x564587(0xc8)](_0x564587(0x9b)),'locale':this[_0x564587(0x76)][_0x564587(0xcd)]});return{'all':await _0x4ad675[_0x564587(0xab)](),'recommended':await _0x4ad675[_0x564587(0xaa)](),'default':await _0x4ad675[_0x564587(0xe8)]()};}catch(_0x22b7f0){return this[_0x564587(0xd4)](new _0x3838b1(_0x564587(0xd5),this,void 0x0,_0x22b7f0)),{'all':[],'recommended':[],'default':null};}}[_0x289a27(0xd3)](_0x585f52){const _0xca9326=_0x289a27,_0x5a745d=_0xca9326(0xd2)+_0x585f52['id'][_0xca9326(0xdb)]()[_0xca9326(0xef)]('-','_'),_0x249788={..._0x585f52,'title':this[_0xca9326(0x6f)](_0x5a745d+_0xca9326(0x78),_0x585f52[_0xca9326(0xd6)]),'description':this[_0xca9326(0x6f)](_0x5a745d+_0xca9326(0xf2),_0x585f52[_0xca9326(0xa0)])};return _0x585f52[_0xca9326(0xba)]&&(_0x249788[_0xca9326(0xba)]=_0x585f52[_0xca9326(0xba)][_0xca9326(0xec)](_0x15fdd9=>({..._0x15fdd9,'label':this[_0xca9326(0x6f)](_0x5a745d+_0xca9326(0xed),_0x15fdd9[_0xca9326(0x8f)]||''),'data':_0x15fdd9[_0xca9326(0x8e)]?_0x15fdd9[_0xca9326(0x8e)][_0xca9326(0xec)](_0x16b64a=>({..._0x16b64a,'label':this[_0xca9326(0x6f)](_0x5a745d+_0xca9326(0xc3)+_0x16b64a['id'][_0xca9326(0xdb)](),_0x16b64a[_0xca9326(0x8f)])})):void 0x0}))),_0x249788;}[_0x289a27(0x8a)](_0x3d680c){const _0x1a32b9=_0x289a27,_0x154473=[];_0x3d680c[_0x1a32b9(0x84)][_0x1a32b9(0x6d)](_0xe103ea=>{const _0x492996=_0x1a32b9;(_0xe103ea instanceof _0x527f4b&&!_0xe103ea[_0x492996(0xbc)]||_0xe103ea instanceof _0xacf94b&&!_0xe103ea[_0x492996(0xcf)][_0x492996(0x7f)])&&_0x154473[_0x492996(0x92)](_0xe103ea['id']);}),_0x154473[_0x1a32b9(0x7f)]&&_0x154473[_0x1a32b9(0x6d)](_0x43e597=>{const _0x1438c1=_0x1a32b9;_0x3d680c[_0x1438c1(0xc7)](_0x43e597),this[_0x1438c1(0xd4)](new _0x3838b1(_0x1438c1(0x91),this,{'commandId':_0x43e597}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x431993=_0xcb4c;function _0xcb4c(_0x4eeecc,_0x33f875){const _0x17b7d4=_0x17b7();return _0xcb4c=function(_0xcb4cad,_0x4f1fc4){_0xcb4cad=_0xcb4cad-0xe4;let _0x471cec=_0x17b7d4[_0xcb4cad];return _0x471cec;},_0xcb4c(_0x4eeecc,_0x33f875);}(function(_0x3db462,_0x28fa80){const _0x41eabf=_0xcb4c,_0x4d9bdc=_0x3db462();while(!![]){try{const _0x238e3b=-parseInt(_0x41eabf(0xf4))/0x1*(-parseInt(_0x41eabf(0xf0))/0x2)+parseInt(_0x41eabf(0xf9))/0x3*(parseInt(_0x41eabf(0xfa))/0x4)+parseInt(_0x41eabf(0xea))/0x5+parseInt(_0x41eabf(0x100))/0x6*(-parseInt(_0x41eabf(0xfd))/0x7)+parseInt(_0x41eabf(0x103))/0x8*(parseInt(_0x41eabf(0xf5))/0x9)+-parseInt(_0x41eabf(0xe8))/0xa+parseInt(_0x41eabf(0xfb))/0xb;if(_0x238e3b===_0x28fa80)break;else _0x4d9bdc['push'](_0x4d9bdc['shift']());}catch(_0x219dc4){_0x4d9bdc['push'](_0x4d9bdc['shift']());}}}(_0x17b7,0x1c2ef));import{FormHeaderView as _0x20e3f9}from'ckeditor5/src/ui.js';import{IconAIReview as _0x30accd}from'ckeditor5/src/icons.js';import{getTranslation as _0x58d5b7}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x1462dc}from'../aireviewcore/ui/aireviewcoreview.js';function _0x17b7(){const _0x319ff2=['AIReviewModeUI','addTab','1901460yxQLUn','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','434635krHMLv','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','activateTab','createMainView','plugins','pluginName','131132rxiwMe','context','ck-ai-header\x20ck-ai-header_review','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','2zkXtQp','6300hBVNpL','leaveReview','fire','_mainView','3lpCbgz','404944pjhjdd','509806OWvynp','getReviewCheckList','77iwrZWO','AITabs','reviewMode','124776jwZbiH','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','get','1928JfXOcs','registerTab','locale','view','AI_REVIEW_MODE'];_0x17b7=function(){return _0x319ff2;};return _0x17b7();}import{AIReviewCoreUI as _0x41ec55}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x5c3718}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x2e3fa3}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x55d99c}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';import'../../theme/aireviewmode/aireviewmode.css';export class AIReviewModeUI extends _0x41ec55{static get[_0x431993(0xef)](){const _0x279d4d=_0x431993;return _0x279d4d(0xe6);}[_0x431993(0xed)](){const _0x56aadf=_0x431993,_0x3b9e27=this[_0x56aadf(0xf1)][_0x56aadf(0x105)],_0x30ae53=new _0x20e3f9(_0x3b9e27,{'label':_0x58d5b7(_0x3b9e27,_0x56aadf(0xe5)),'icon':_0x30accd,'class':_0x56aadf(0xf2)});return new _0x1462dc(this[_0x56aadf(0xf1)][_0x56aadf(0x105)],{'header':_0x30ae53,'list':new _0x55d99c(_0x3b9e27),'results':new _0x5c3718(_0x3b9e27,{'generalErrorText':_0x58d5b7(_0x3b9e27,_0x56aadf(0xe9))}),'completed':new _0x2e3fa3(_0x3b9e27,{'headerText':_0x58d5b7(_0x3b9e27,_0x56aadf(0xf3)),'emptyResultsText':_0x58d5b7(_0x3b9e27,_0x56aadf(0x101)),'buttonText':_0x58d5b7(_0x3b9e27,_0x56aadf(0xeb))})});}[_0x431993(0x104)](){const _0x39d87d=_0x431993,_0x3ce8cf=this[_0x39d87d(0xf1)][_0x39d87d(0xee)][_0x39d87d(0x102)](_0x39d87d(0xfe));_0x3ce8cf[_0x39d87d(0xe4)]['on'](_0x39d87d(0xec),(_0xa4717c,_0x50a6b8)=>{const _0x4460c3=_0x39d87d;_0x4460c3(0xff)===_0x50a6b8?this[_0x4460c3(0xf7)](_0x4460c3(0xfc)):this[_0x4460c3(0xf7)](_0x4460c3(0xf6));}),_0x3ce8cf[_0x39d87d(0xe4)][_0x39d87d(0xe7)]({'id':_0x39d87d(0xff),'buttonLabel':_0x58d5b7(this[_0x39d87d(0xf1)][_0x39d87d(0x105)],_0x39d87d(0xe5)),'buttonIcon':_0x30accd,'order':0x0,'content':this[_0x39d87d(0xf8)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5c2286=_0x4a4f;(function(_0x1ec58c,_0x4a9245){var _0x290b54=_0x4a4f,_0x2ece64=_0x1ec58c();while(!![]){try{var _0x54395b=parseInt(_0x290b54(0x1a4))/0x1*(parseInt(_0x290b54(0x1a7))/0x2)+-parseInt(_0x290b54(0x1a6))/0x3+parseInt(_0x290b54(0x1a1))/0x4*(parseInt(_0x290b54(0x1a2))/0x5)+-parseInt(_0x290b54(0x19c))/0x6*(parseInt(_0x290b54(0x1a8))/0x7)+parseInt(_0x290b54(0x19f))/0x8+-parseInt(_0x290b54(0x19d))/0x9+parseInt(_0x290b54(0x19b))/0xa;if(_0x54395b===_0x4a9245)break;else _0x2ece64['push'](_0x2ece64['shift']());}catch(_0x13c56a){_0x2ece64['push'](_0x2ece64['shift']());}}}(_0xa797,0xef8f7));import{AIReviewCheck as _0x297029}from'../../aireviewcore/model/aireviewcheck.js';function _0x4a4f(_0x423ec6,_0x37715f){var _0xa797c9=_0xa797();return _0x4a4f=function(_0x4a4f11,_0x33b59d){_0x4a4f11=_0x4a4f11-0x19b;var _0x12874b=_0xa797c9[_0x4a4f11];return _0x12874b;},_0x4a4f(_0x423ec6,_0x37715f);}export class AIReviewCheckCustom extends _0x297029{[_0x5c2286(0x1a0)]=[];[_0x5c2286(0x1a5)]=null;constructor(_0x4fbeb3,_0x54ab05,_0x4a6ce0){var _0x548016=_0x5c2286;super(_0x4fbeb3),this[_0x548016(0x1a0)]=_0x54ab05,this[_0x548016(0x1a5)]=_0x4a6ce0;}get[_0x5c2286(0x19e)](){var _0x581ced=_0x5c2286;return this[_0x581ced(0x1a0)];}get[_0x5c2286(0x1a3)](){var _0x941885=_0x5c2286;return this[_0x941885(0x1a5)];}}function _0xa797(){var _0x3ea86c=['5hNogtw','defaultModel','230446iRZOsB','_defaultModel','3574713toSXVz','8EicaHz','13287876RfBtcS','28976350WCWgwu','6cixuSC','17228016ifJCAS','models','6241312YUrMtu','_models','5542876vLdCuK'];_0xa797=function(){return _0x3ea86c;};return _0xa797();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2c41(_0x500b25,_0x28477a){var _0x43bac5=_0x43ba();return _0x2c41=function(_0x2c41a5,_0x4ed74d){_0x2c41a5=_0x2c41a5-0xe1;var _0x8b5ee7=_0x43bac5[_0x2c41a5];return _0x8b5ee7;},_0x2c41(_0x500b25,_0x28477a);}function _0x43ba(){var _0x96fd0f=['4461208FNmgbS','11442uQsscm','isExtra','790PpLtyl','model','1869861MUvlog','find','2703201PBYpve','6739920VvlzuI','defaultModel','5823IEhteO','335476JgVeeK','1330yDQLwr','5ZSUfyF','_defaultModel','prompt'];_0x43ba=function(){return _0x96fd0f;};return _0x43ba();}var _0x15243d=_0x2c41;(function(_0x476efc,_0x4b0e67){var _0x56001e=_0x2c41,_0xcae9ac=_0x476efc();while(!![]){try{var _0x4484f3=parseInt(_0x56001e(0xe8))/0x1*(parseInt(_0x56001e(0xe6))/0x2)+-parseInt(_0x56001e(0xe2))/0x3+parseInt(_0x56001e(0xeb))/0x4+parseInt(_0x56001e(0xee))/0x5*(parseInt(_0x56001e(0xec))/0x6)+parseInt(_0x56001e(0xf0))/0x7+-parseInt(_0x56001e(0xe3))/0x8+-parseInt(_0x56001e(0xe5))/0x9*(parseInt(_0x56001e(0xe7))/0xa);if(_0x4484f3===_0x4b0e67)break;else _0xcae9ac['push'](_0xcae9ac['shift']());}catch(_0x4ecef8){_0xcae9ac['push'](_0xcae9ac['shift']());}}}(_0x43ba,0xa924d));import{AIReviewCheck as _0x5cf876}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckExtra extends _0x5cf876{[_0x15243d(0xed)]=!0x0;[_0x15243d(0xea)];[_0x15243d(0xef)];[_0x15243d(0xe9)]=null;constructor(_0x1710c7,_0x2fc4de,_0xb79f4d){var _0x393c1c=_0x15243d;super(_0x1710c7),this[_0x393c1c(0xea)]=_0x1710c7[_0x393c1c(0xea)],this[_0x393c1c(0xef)]=_0x1710c7[_0x393c1c(0xef)],this[_0x393c1c(0xef)]?this[_0x393c1c(0xe9)]=_0x2fc4de[_0x393c1c(0xe1)](_0x3b39ff=>_0x3b39ff['id']===this[_0x393c1c(0xef)])||null:this[_0x393c1c(0xe9)]=_0xb79f4d;}get[_0x15243d(0xe4)](){var _0x2ec3df=_0x15243d;return this[_0x2ec3df(0xe9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4d1f0a=_0x44bc;(function(_0x252f66,_0x590e21){var _0x495e52=_0x44bc,_0x27ced0=_0x252f66();while(!![]){try{var _0x1a099d=parseInt(_0x495e52(0x155))/0x1*(parseInt(_0x495e52(0x151))/0x2)+-parseInt(_0x495e52(0x156))/0x3+parseInt(_0x495e52(0x152))/0x4*(parseInt(_0x495e52(0x14c))/0x5)+-parseInt(_0x495e52(0x15b))/0x6*(parseInt(_0x495e52(0x14e))/0x7)+-parseInt(_0x495e52(0x157))/0x8+-parseInt(_0x495e52(0x149))/0x9*(parseInt(_0x495e52(0x15c))/0xa)+parseInt(_0x495e52(0x15a))/0xb;if(_0x1a099d===_0x590e21)break;else _0x27ced0['push'](_0x27ced0['shift']());}catch(_0x5e6e3b){_0x27ced0['push'](_0x27ced0['shift']());}}}(_0x1037,0x4c230));function _0x44bc(_0x2af13f,_0x4a160a){var _0x1037cc=_0x1037();return _0x44bc=function(_0x44bcd8,_0x5478c0){_0x44bcd8=_0x44bcd8-0x149;var _0x485b13=_0x1037cc[_0x44bcd8];return _0x485b13;},_0x44bc(_0x2af13f,_0x4a160a);}import{AIReviewCheckRun as _0x59efcd}from'../../aireviewcore/model/aireviewcheckrun.js';function _0x1037(){var _0x1500e3=['subTitle','7Dynzrv','_aiConnector','callCustomReview','67006xbqcBC','4sDxEir','_createApiRequest','_documentData','13dlaPjN','281259lQvaZc','3633800HcJnSZ','_sendRatingRequest','_prompt','9455875tlwOlP','2929506jrMAwO','10FwdaUB','_model','684846cCGvef','upsertCustomAIReviewRating','content','645075Jfflch'];_0x1037=function(){return _0x1500e3;};return _0x1037();}export class AIReviewCustomCheckRun extends _0x59efcd{[_0x4d1f0a(0x159)];[_0x4d1f0a(0x15d)];constructor(_0xd1f5b8,_0x4b0a99,_0x10aa2e,_0x1fb159,_0x3fca17){var _0x2733f6=_0x4d1f0a;super(_0x10aa2e,_0x1fb159,_0x3fca17),this[_0x2733f6(0x159)]=_0xd1f5b8,this[_0x2733f6(0x15d)]=_0x4b0a99;}get[_0x4d1f0a(0x14d)](){var _0x2e6e6a=_0x4d1f0a;return this[_0x2e6e6a(0x159)];}[_0x4d1f0a(0x153)](){var _0x238ae2=_0x4d1f0a;return this[_0x238ae2(0x14f)][_0x238ae2(0x150)]({'content':this[_0x238ae2(0x154)][_0x238ae2(0x14b)],'prompt':this[_0x238ae2(0x159)],'model':this[_0x238ae2(0x15d)]});}[_0x4d1f0a(0x158)](_0x5aea69,_0x755574,_0x579190){var _0x353da5=_0x4d1f0a;return this[_0x353da5(0x14f)][_0x353da5(0x14a)](_0x755574,_0x5aea69,_0x579190);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x32b366=_0x3414;function _0x3414(_0x3dfa46,_0x2e2186){var _0x5f56ec=_0x5f56();return _0x3414=function(_0x3414b1,_0x10c680){_0x3414b1=_0x3414b1-0xf7;var _0x38950e=_0x5f56ec[_0x3414b1];return _0x38950e;},_0x3414(_0x3dfa46,_0x2e2186);}(function(_0x438243,_0x342c9e){var _0x24af43=_0x3414,_0x20925b=_0x438243();while(!![]){try{var _0x3776bb=-parseInt(_0x24af43(0xf9))/0x1+parseInt(_0x24af43(0x100))/0x2+parseInt(_0x24af43(0x104))/0x3*(parseInt(_0x24af43(0xfe))/0x4)+parseInt(_0x24af43(0xfa))/0x5*(parseInt(_0x24af43(0xfb))/0x6)+-parseInt(_0x24af43(0x101))/0x7+parseInt(_0x24af43(0xff))/0x8*(parseInt(_0x24af43(0x105))/0x9)+-parseInt(_0x24af43(0xf7))/0xa*(-parseInt(_0x24af43(0xf8))/0xb);if(_0x3776bb===_0x342c9e)break;else _0x20925b['push'](_0x20925b['shift']());}catch(_0x5cb171){_0x20925b['push'](_0x20925b['shift']());}}}(_0x5f56,0xdfe2e));import{AIReviewCustomCheckRun as _0x4114a1}from'./aireviewcustomcheckrun.js';function _0x5f56(){var _0x33c0c0=['_prompt','prompt','239703tDIHmU','63UnSiKv','model','10vbVGXs','7915303ufARaR','1553109iJAitN','5CqqeBd','3435714WIDBGo','subTitle','_model','4TAtlMy','1938632wCzMBp','935806UklWBT','7463064zAXHhO'];_0x5f56=function(){return _0x33c0c0;};return _0x5f56();}export class AIReviewExtraCheckRun extends _0x4114a1{get[_0x32b366(0xfc)](){return'';}set[_0x32b366(0x103)](_0x5aca59){var _0x3ae426=_0x32b366;this[_0x3ae426(0x102)]=_0x5aca59;}set[_0x32b366(0x106)](_0x2cedee){var _0x355a16=_0x32b366;this[_0x355a16(0xfd)]=_0x2cedee;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x570f61=_0x3da3;(function(_0x3c1480,_0x245f35){var _0x24b4a7=_0x3da3,_0x344784=_0x3c1480();while(!![]){try{var _0x324808=parseInt(_0x24b4a7(0xf6))/0x1*(parseInt(_0x24b4a7(0xf8))/0x2)+parseInt(_0x24b4a7(0xfe))/0x3+-parseInt(_0x24b4a7(0xee))/0x4*(-parseInt(_0x24b4a7(0xfd))/0x5)+-parseInt(_0x24b4a7(0xf9))/0x6*(-parseInt(_0x24b4a7(0x100))/0x7)+-parseInt(_0x24b4a7(0xfa))/0x8*(parseInt(_0x24b4a7(0xef))/0x9)+parseInt(_0x24b4a7(0xf1))/0xa+-parseInt(_0x24b4a7(0xfc))/0xb;if(_0x324808===_0x245f35)break;else _0x344784['push'](_0x344784['shift']());}catch(_0x10f665){_0x344784['push'](_0x344784['shift']());}}}(_0x408a,0x2c5ac));import{AIReviewCheckList as _0x2e85cb}from'../../aireviewcore/model/aireviewchecklist.js';import{AIReviewCheck as _0x13be9d}from'../../aireviewcore/model/aireviewcheck.js';function _0x3da3(_0x320164,_0x4820dd){var _0x408ac0=_0x408a();return _0x3da3=function(_0x3da3f8,_0x37a960){_0x3da3f8=_0x3da3f8-0xee;var _0x413c9c=_0x408ac0[_0x3da3f8];return _0x413c9c;},_0x3da3(_0x320164,_0x4820dd);}import{AIReviewCheckCustom as _0x2d2e01}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x36ac3b}from'./aireviewcheckextra.js';function _0x408a(){var _0x10cb44=['4865355ZAxYWQ','292180jJcTtL','406215RCfQcO','_recommendedModels','651AldhOm','24sNvJsb','9TyLoFt','isExtra','2616600IjNVtT','custom','setupChecks','map','_allModels','1HxulYC','_defaultModel','192358rLCnTw','4596AGhlyE','2328936nxgjfo','_checks'];_0x408a=function(){return _0x10cb44;};return _0x408a();}export class AIReviewModeCheckList extends _0x2e85cb{[_0x570f61(0xf5)]=[];[_0x570f61(0xff)]=[];[_0x570f61(0xf7)]=null;constructor(_0x547e80,_0xe84719,_0x5b1a92){var _0x530ce3=_0x570f61;super(),this[_0x530ce3(0xf5)]=_0x547e80,this[_0x530ce3(0xff)]=_0xe84719,this[_0x530ce3(0xf7)]=_0x5b1a92;}[_0x570f61(0xf3)](_0x1350a0){var _0x4e6f8d=_0x570f61;this[_0x4e6f8d(0xfb)]=_0x1350a0[_0x4e6f8d(0xf4)](_0x1ad0e6=>!0x0===_0x1ad0e6[_0x4e6f8d(0xf0)]?new _0x36ac3b(_0x1ad0e6,this[_0x4e6f8d(0xf5)],this[_0x4e6f8d(0xf7)]):_0x4e6f8d(0xf2)===_0x1ad0e6['id']?new _0x2d2e01(_0x1ad0e6,this[_0x4e6f8d(0xff)],this[_0x4e6f8d(0xf7)]):new _0x13be9d(_0x1ad0e6));}}
|