@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +0 -4
- package/build/ai.js +2 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +1 -0
- package/package.json +15 -16
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.d.ts +15 -156
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.d.ts +2 -0
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/build/966.ai.js +0 -5
- package/build/translations/en.js +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as _0x2b1a12,View as _0x17291b,ViewCollection as _0x298858,ButtonView as _0x469a3f}from'ckeditor5/src/ui.js';import{IconStop as _0x22282d,IconEye as _0x4362d8,IconEyeCrossedOut as _0xff1b8e}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x5a4b7b,SKELETON_DEFINITIONS as _0x1b6d35}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x2f5576}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1c31af}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x34e6c2}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x8f6a31}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x3932ea}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x2b1a12{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x11abe2,_0x1be62b){super(_0x11abe2),this['_contents']=_0x1be62b,this['_resultViews']=new _0x298858(),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 _0x2f5576(_0x11abe2),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 _0x374737=this['_createCombinedSkeletonLoader'](),_0x2c26f2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x2c26f2['if']('isLoading','ck-ai_review__check-run_loading',_0x413edf=>_0x413edf),_0x2c26f2['if']('isResultReady','ck-ai_review__check-run_ready',_0x32d561=>_0x32d561),_0x2c26f2['if']('isVisible','ck-hidden',_0x4fbeb9=>!_0x4fbeb9)]},'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',_0x396b73=>_0x396b73)]},'children':this['_resultViews']},_0x374737]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x446567){const _0x14343=new _0x8f6a31(this['locale'],_0x446567['id']);_0x14343['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x14343),_0x14343['resultResponseView']['element']['innerHTML']=_0x446567['contentDiffed'];}['hideResult'](_0x132d2f,_0x5ad51d){if('pending'===_0x5ad51d)return;const _0x5828a3=this['_resultViews']['find'](_0x40e21b=>_0x40e21b['id']===_0x132d2f);_0x5828a3&&(_0x5828a3['status']=_0x5ad51d,_0x5828a3['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x422dc1,_0x395aba){if('pending'!==_0x395aba)return;const _0x47fc5d=this['_resultViews']['find'](_0x1eae1a=>_0x1eae1a['id']===_0x422dc1);_0x47fc5d&&(_0x47fc5d['status']=_0x395aba,_0x47fc5d['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x1abeb8,_0x13bacb){this['headerTitle']=_0x1abeb8,this['headerSubtitle']=_0x13bacb||'';}['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 _0x5a4b7b(this['locale'],_0x1b6d35['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x292f95=new _0x17291b(this['locale']),_0x208d89=[];for(let _0x376f99=0x0;_0x376f99<0x10;_0x376f99++){const _0x7d3a3f=this['_createSkeletonLoader']();_0x7d3a3f['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x208d89['push'](_0x7d3a3f);}return _0x292f95['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x191b86=>!_0x191b86)]},'children':_0x208d89}),_0x292f95;}['_createErrorView'](){const _0x2c41aa=new _0x17291b(this['locale']),_0x1d2850=new _0x469a3f(this['locale']),t=this['locale']['t'];return _0x2c41aa['delegate']('retryReview')['to'](this),_0x1d2850['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x1d2850['on']('execute',()=>{this['fire']('retryReview');}),_0x2c41aa['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x1473da=>!_0x1473da),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x567df8=>'chunk'===_0x567df8)]},'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',_0xebf566=>'chunk'===_0xebf566)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x410082=>'general'!==_0x410082)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x28db40=>'chunk'!==_0x28db40)]},'children':[{'text':_0x1c31af(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x1d2850]}),_0x2c41aa;}['_createCancelButtonView'](){const _0x1d0b4e=new _0x469a3f(this['locale']);return _0x1d0b4e['set']({'label':_0x1c31af(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x22282d}),_0x1d0b4e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5a7edb=>_0x5a7edb),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3fe2d0=>_0x3fe2d0)]}}),_0x1d0b4e['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x1d0b4e;}['_createToggleDiffButtonView'](){const _0x5504d2=new _0x469a3f(this['locale']);_0x5504d2['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x5504d2['bind']('isEnabled')['to'](this,'isError',_0xe66d36=>!_0xe66d36),_0x5504d2['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x433967=>!_0x433967),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x23ebaf=>_0x23ebaf)]}});const _0x29a29e=_0x1c31af(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x39dd11=_0x1c31af(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x5504d2['bind']('isOn')['to'](this,'isToggleDiffOn',_0x59cfa8=>_0x59cfa8),_0x5504d2['bind']('icon')['to'](this,'isToggleDiffOn',_0x583338=>_0x583338?_0x4362d8:_0xff1b8e),_0x5504d2['bind']('label')['to'](this,'isToggleDiffOn',_0x1f8ffc=>_0x1f8ffc?_0x29a29e:_0x39dd11),_0x5504d2['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x5504d2;}['_createAcceptAllButtonView'](){const _0x51e6ad=new _0x469a3f(this['locale']);return _0x51e6ad['set']({'label':_0x1c31af(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x51e6ad['bind']('isEnabled')['to'](this,'isError',_0xe9a028=>!_0xe9a028),_0x51e6ad['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x486a4e=>!_0x486a4e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x282b2a=>_0x282b2a)]}}),_0x51e6ad['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x51e6ad;}['_createExitReviewButtonView'](){const _0x57650d=new _0x469a3f(this['locale']);return _0x57650d['set']({'label':_0x1c31af(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x57650d['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x36463d=>!_0x36463d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x298550=>_0x298550)]}}),_0x57650d['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x57650d;}['_createResultHeaderView'](){const _0x12deea=new _0x17291b(this['locale']),_0x523d5e=this['_createTitleView']();return _0x12deea['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x32a1c3=>_0x32a1c3)]},'children':[_0x523d5e,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x12deea;}['_createTitleView'](){const _0x13a0c0=new _0x17291b(this['locale']),_0x554662=new _0x34e6c2();return _0x554662['bind']('isVisible')['to'](this,'isResultReady',_0x153c57=>!_0x153c57),_0x13a0c0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x554662,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0xe8e474=>_0xe8e474)]},'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',_0x2da98a=>!_0x2da98a)]},'children':[{'text':_0x1c31af(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x13a0c0;}['_createFinishReviewButtonView'](){const _0x1e7580=new _0x3932ea(_0x1c31af(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x1e7580['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3af250=>!_0x3af250)]}}),_0x1e7580['delegate']('finishReview')['to'](this),_0x1e7580;}}
|
|
23
|
+
import{ListItemView as _0x8fab82,View as _0x1e68a8,ViewCollection as _0x1f242c,ButtonView as _0x1b7ea1}from'ckeditor5/src/ui.js';import{IconStop as _0x2e5a4e,IconEye as _0x2c52e8,IconEyeCrossedOut as _0x40ee82}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x48d7af,SKELETON_DEFINITIONS as _0x1735f8}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x1dab8f}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x23b0b1}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x5c1f7e}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x1b49e2}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x4dbcf0}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x8fab82{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x872cd6,_0x41df38){super(_0x872cd6),this['_contents']=_0x41df38,this['_resultViews']=new _0x1f242c(),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 _0x1dab8f(_0x872cd6),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 _0x41b42b=this['_createCombinedSkeletonLoader'](),_0x3ae858=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x3ae858['if']('isLoading','ck-ai_review__check-run_loading',_0xae5c12=>_0xae5c12),_0x3ae858['if']('isResultReady','ck-ai_review__check-run_ready',_0x125ea6=>_0x125ea6),_0x3ae858['if']('isVisible','ck-hidden',_0x1f4067=>!_0x1f4067)]},'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',_0x4c6841=>_0x4c6841)]},'children':this['_resultViews']},_0x41b42b]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x50e8ef){const _0x507b9a=new _0x1b49e2(this['locale'],_0x50e8ef['id']);_0x507b9a['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x507b9a),_0x507b9a['resultResponseView']['element']['innerHTML']=_0x50e8ef['contentDiffed'];}['hideResult'](_0x1e32a2,_0x31543c){if('pending'===_0x31543c)return;const _0x1370aa=this['_resultViews']['find'](_0x5c3852=>_0x5c3852['id']===_0x1e32a2);_0x1370aa&&(_0x1370aa['status']=_0x31543c,_0x1370aa['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x4076da,_0x2fbf9a){if('pending'!==_0x2fbf9a)return;const _0x50f557=this['_resultViews']['find'](_0x1324da=>_0x1324da['id']===_0x4076da);_0x50f557&&(_0x50f557['status']=_0x2fbf9a,_0x50f557['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x4e865f,_0x40e593){this['headerTitle']=_0x4e865f,this['headerSubtitle']=_0x40e593||'';}['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 _0x48d7af(this['locale'],_0x1735f8['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x19510d=new _0x1e68a8(this['locale']),_0x856e1b=[];for(let _0x1b3264=0x0;_0x1b3264<0x10;_0x1b3264++){const _0x47f285=this['_createSkeletonLoader']();_0x47f285['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x856e1b['push'](_0x47f285);}return _0x19510d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x4f645d=>!_0x4f645d)]},'children':_0x856e1b}),_0x19510d;}['_createErrorView'](){const _0x4b5a93=new _0x1e68a8(this['locale']),_0x175b94=new _0x1b7ea1(this['locale']),t=this['locale']['t'];return _0x4b5a93['delegate']('retryReview')['to'](this),_0x175b94['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x175b94['on']('execute',()=>{this['fire']('retryReview');}),_0x4b5a93['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0xaefe2b=>!_0xaefe2b),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x258275=>'chunk'===_0x258275)]},'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',_0x28dd79=>'chunk'===_0x28dd79)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x464507=>'general'!==_0x464507)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xd59815=>'chunk'!==_0xd59815)]},'children':[{'text':_0x23b0b1(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x175b94]}),_0x4b5a93;}['_createCancelButtonView'](){const _0x1b6e4a=new _0x1b7ea1(this['locale']);return _0x1b6e4a['set']({'label':_0x23b0b1(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x2e5a4e}),_0x1b6e4a['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x356755=>_0x356755),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x33a224=>_0x33a224)]}}),_0x1b6e4a['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x1b6e4a;}['_createToggleDiffButtonView'](){const _0x3db980=new _0x1b7ea1(this['locale']);_0x3db980['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x3db980['bind']('isEnabled')['to'](this,'isError',_0x657bc1=>!_0x657bc1),_0x3db980['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4f091c=>!_0x4f091c),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3d7442=>_0x3d7442)]}});const _0x45eddc=_0x23b0b1(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x282d3b=_0x23b0b1(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x3db980['bind']('isOn')['to'](this,'isToggleDiffOn',_0x45d95e=>_0x45d95e),_0x3db980['bind']('icon')['to'](this,'isToggleDiffOn',_0x5d90be=>_0x5d90be?_0x2c52e8:_0x40ee82),_0x3db980['bind']('label')['to'](this,'isToggleDiffOn',_0x25e3cb=>_0x25e3cb?_0x45eddc:_0x282d3b),_0x3db980['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x3db980;}['_createAcceptAllButtonView'](){const _0xdc1265=new _0x1b7ea1(this['locale']);return _0xdc1265['set']({'label':_0x23b0b1(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0xdc1265['bind']('isEnabled')['to'](this,'isError',_0x2c4b2f=>!_0x2c4b2f),_0xdc1265['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xfeb37c=>!_0xfeb37c),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2fa8dc=>_0x2fa8dc)]}}),_0xdc1265['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0xdc1265;}['_createExitReviewButtonView'](){const _0x44095a=new _0x1b7ea1(this['locale']);return _0x44095a['set']({'label':_0x23b0b1(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x44095a['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x51c38b=>!_0x51c38b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4c9936=>_0x4c9936)]}}),_0x44095a['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x44095a;}['_createResultHeaderView'](){const _0x4b0cd4=new _0x1e68a8(this['locale']),_0x340241=this['_createTitleView']();return _0x4b0cd4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x4ef5ea=>_0x4ef5ea)]},'children':[_0x340241,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x4b0cd4;}['_createTitleView'](){const _0x2717c6=new _0x1e68a8(this['locale']),_0x1f07a8=new _0x5c1f7e();return _0x1f07a8['bind']('isVisible')['to'](this,'isResultReady',_0x23ade9=>!_0x23ade9),_0x2717c6['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x1f07a8,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1af676=>_0x1af676)]},'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',_0x4216a0=>!_0x4216a0)]},'children':[{'text':_0x23b0b1(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x2717c6;}['_createFinishReviewButtonView'](){const _0x3194b7=new _0x4dbcf0(_0x23b0b1(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x3194b7['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1ab1fd=>!_0x1ab1fd)]}}),_0x3194b7['delegate']('finishReview')['to'](this),_0x3194b7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2260(){var _0x3aa54c=['showGeneralErrorMessage','div','isResultReady','ltr','949288ZdslBP','reviewCoreHeader','showGeneralResultsErrorView','showReviewCheckListView','errorMessage','showGeneralReviewCoreErrorView','ck-ai-review','showChunkErrorMessage','reviewCheckListView','isCompleted','7854784jvRpGg','216wEcjYL','set','list','reviewCompletedView','2841195KvxKTf','6594150kfXGYC','generalErrorView','hideActionsWhenResultIsReady','completed','showReviewCheckResultsView','header','2DKTNXc','addCheckRunResult','257228rDWvBj','clearResults','reviewCheckResultsView','setTemplate','showNoChangesView','resetAllParameterizedChecks','resetErrorState','addResult','isVisible','18URCweo','5328822RNAJWV','delegate','77rPtqcw','showReviewCompletedView','showActionsWhenResultIsReady','finishReview','showChunkErrorView','ck-reset_all','ck-rounded-corners','results','152946Cprrcc','isLoading'];_0x2260=function(){return _0x3aa54c;};return _0x2260();}var _0x15d993=_0x50e0;(function(_0x5866f5,_0x395634){var _0xbc8264=_0x50e0,_0xeb3b97=_0x5866f5();while(!![]){try{var _0xca0ad7=parseInt(_0xbc8264(0x96))/0x1+parseInt(_0xbc8264(0x94))/0x2*(-parseInt(_0xbc8264(0xa0))/0x3)+parseInt(_0xbc8264(0xb0))/0x4+-parseInt(_0xbc8264(0xbf))/0x5*(parseInt(_0xbc8264(0x9f))/0x6)+-parseInt(_0xbc8264(0xba))/0x7+-parseInt(_0xbc8264(0xbb))/0x8*(-parseInt(_0xbc8264(0xaa))/0x9)+-parseInt(_0xbc8264(0xc0))/0xa*(-parseInt(_0xbc8264(0xa2))/0xb);if(_0xca0ad7===_0x395634)break;else _0xeb3b97['push'](_0xeb3b97['shift']());}catch(_0x396d03){_0xeb3b97['push'](_0xeb3b97['shift']());}}}(_0x2260,0xebe2e));function _0x50e0(_0x19cb10,_0x2a9b55){var _0x22602=_0x2260();return _0x50e0=function(_0x50e075,_0x1a08b1){_0x50e075=_0x50e075-0x94;var _0x1d7736=_0x22602[_0x50e075];return _0x1d7736;},_0x50e0(_0x19cb10,_0x2a9b55);}import{View as _0xe18e3f}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x2be6cc}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x2f56ef}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0xe18e3f{[_0x15d993(0xb1)];[_0x15d993(0xc1)];[_0x15d993(0xb8)];[_0x15d993(0x98)];[_0x15d993(0xbe)];constructor(_0x321e45,_0x95abe6){var _0x5ad188=_0x15d993;super(_0x321e45),this[_0x5ad188(0xb1)]=_0x95abe6[_0x5ad188(0xc5)],this[_0x5ad188(0xc1)]=new _0x2f56ef(_0x321e45),this[_0x5ad188(0xb8)]=_0x95abe6[_0x5ad188(0xbd)],this[_0x5ad188(0xb8)][_0x5ad188(0xa1)](..._0x2be6cc)['to'](this),this[_0x5ad188(0x98)]=_0x95abe6[_0x5ad188(0xa9)],this[_0x5ad188(0x98)][_0x5ad188(0xa1)](..._0x2be6cc)['to'](this),this[_0x5ad188(0xbe)]=_0x95abe6[_0x5ad188(0xc3)],this[_0x5ad188(0xbe)][_0x5ad188(0xa1)](_0x5ad188(0xa5))['to'](this),this[_0x5ad188(0xb8)][_0x5ad188(0xbc)](_0x5ad188(0x9e),!0x1),this[_0x5ad188(0x98)][_0x5ad188(0xbc)](_0x5ad188(0x9e),!0x1),this[_0x5ad188(0x98)][_0x5ad188(0xbc)](_0x5ad188(0xab),!0x1),this[_0x5ad188(0x98)][_0x5ad188(0xbc)](_0x5ad188(0xae),!0x1),this[_0x5ad188(0xbe)][_0x5ad188(0xbc)](_0x5ad188(0x9e),!0x1),this[_0x5ad188(0x99)]({'tag':_0x5ad188(0xad),'attributes':{'class':['ck',_0x5ad188(0xa7),_0x5ad188(0xb6),_0x5ad188(0xa8)],'dir':_0x5ad188(0xaf)},'children':[this[_0x5ad188(0xb1)],this[_0x5ad188(0xc1)],this[_0x5ad188(0xb8)],this[_0x5ad188(0x98)],this[_0x5ad188(0xbe)]]});}[_0x15d993(0xb3)](){var _0x98c095=_0x15d993;this[_0x98c095(0xb8)][_0x98c095(0x9b)](),this[_0x98c095(0xb8)][_0x98c095(0xbc)](_0x98c095(0x9e),!0x0),this[_0x98c095(0x98)][_0x98c095(0xbc)](_0x98c095(0x9e),!0x1),this[_0x98c095(0xbe)][_0x98c095(0xbc)](_0x98c095(0x9e),!0x1);}[_0x15d993(0xc4)](){var _0x44cbfb=_0x15d993;this[_0x44cbfb(0xc2)](),this[_0x44cbfb(0x98)][_0x44cbfb(0x9c)](),this[_0x44cbfb(0xb8)][_0x44cbfb(0xbc)](_0x44cbfb(0x9e),!0x1),this[_0x44cbfb(0x98)][_0x44cbfb(0xbc)](_0x44cbfb(0x9e),!0x0),this[_0x44cbfb(0x98)][_0x44cbfb(0x97)](),this[_0x44cbfb(0x98)][_0x44cbfb(0xbc)](_0x44cbfb(0xab),!0x0),this[_0x44cbfb(0x98)][_0x44cbfb(0xbc)](_0x44cbfb(0xb9),!0x1);}[_0x15d993(0x95)](_0x27a8a4){var _0x31b4e5=_0x15d993;this[_0x31b4e5(0x98)][_0x31b4e5(0x9d)](_0x27a8a4),this[_0x31b4e5(0x98)][_0x31b4e5(0xbc)](_0x31b4e5(0xab),!0x1);}[_0x15d993(0xa3)](){var _0x4f82a8=_0x15d993;this[_0x4f82a8(0x98)][_0x4f82a8(0xbc)](_0x4f82a8(0x9e),!0x0),this[_0x4f82a8(0xbe)][_0x4f82a8(0xbc)](_0x4f82a8(0x9e),!0x1),this[_0x4f82a8(0x98)][_0x4f82a8(0xbc)](_0x4f82a8(0xb9),!0x0),this[_0x4f82a8(0xb8)][_0x4f82a8(0xbc)](_0x4f82a8(0x9e),!0x1);}[_0x15d993(0xa4)](){var _0x1e6938=_0x15d993;this[_0x1e6938(0x98)][_0x1e6938(0xae)]?(this[_0x1e6938(0xb8)][_0x1e6938(0xbc)](_0x1e6938(0x9e),!0x1),this[_0x1e6938(0x98)][_0x1e6938(0xbc)](_0x1e6938(0x9e),!0x0),this[_0x1e6938(0xbe)][_0x1e6938(0xbc)](_0x1e6938(0x9e),!0x1)):this[_0x1e6938(0x98)][_0x1e6938(0xae)]=!0x0;}[_0x15d993(0x9a)](){var _0x117e82=_0x15d993;this[_0x117e82(0xb8)][_0x117e82(0xbc)](_0x117e82(0x9e),!0x1),this[_0x117e82(0x98)][_0x117e82(0xbc)](_0x117e82(0x9e),!0x1),this[_0x117e82(0xbe)][_0x117e82(0xbc)](_0x117e82(0x9e),!0x0);}[_0x15d993(0xc2)](){var _0x89c4dc=_0x15d993;this[_0x89c4dc(0x98)][_0x89c4dc(0xae)]=!0x1;}[_0x15d993(0xb5)](_0x371488){var _0x536c9b=_0x15d993;this[_0x536c9b(0xc1)][_0x536c9b(0xbc)](_0x536c9b(0x9e),!0x0),this[_0x536c9b(0xc1)][_0x536c9b(0xb4)]=_0x371488;}[_0x15d993(0xb2)](){var _0x3c7dba=_0x15d993;this[_0x3c7dba(0x98)][_0x3c7dba(0xbc)](_0x3c7dba(0xab),!0x1),this[_0x3c7dba(0xa4)](),this[_0x3c7dba(0x98)][_0x3c7dba(0xac)]();}[_0x15d993(0xa6)](){var _0x262a32=_0x15d993;this[_0x262a32(0x98)][_0x262a32(0xbc)](_0x262a32(0xab),!0x1),this[_0x262a32(0xa4)](),this[_0x262a32(0x98)][_0x262a32(0xb7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2591(_0x345979,_0x2e935b){const _0x55f4de=_0x55f4();return _0x2591=function(_0x2591e2,_0x18f2e2){_0x2591e2=_0x2591e2-0x190;let _0x2f3442=_0x55f4de[_0x2591e2];return _0x2f3442;},_0x2591(_0x345979,_0x2e935b);}const _0x340980=_0x2591;(function(_0x460d9d,_0x421df0){const _0x4a3c96=_0x2591,_0x3d4c81=_0x460d9d();while(!![]){try{const _0x11760b=parseInt(_0x4a3c96(0x1b2))/0x1+parseInt(_0x4a3c96(0x195))/0x2+parseInt(_0x4a3c96(0x1aa))/0x3*(parseInt(_0x4a3c96(0x1b3))/0x4)+-parseInt(_0x4a3c96(0x199))/0x5+-parseInt(_0x4a3c96(0x1ae))/0x6+-parseInt(_0x4a3c96(0x197))/0x7+-parseInt(_0x4a3c96(0x1b7))/0x8*(-parseInt(_0x4a3c96(0x1b1))/0x9);if(_0x11760b===_0x421df0)break;else _0x3d4c81['push'](_0x3d4c81['shift']());}catch(_0x5aec2d){_0x3d4c81['push'](_0x3d4c81['shift']());}}}(_0x55f4,0x86bdd));import{Collection as _0x12ff45}from'ckeditor5/src/utils.js';import{View as _0x451c4c,createDropdown as _0x16e72e,addListToDropdown as _0x343683,UIModel as _0x37b5c7}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x451c4c{[_0x340980(0x19f)];[_0x340980(0x1ad)];[_0x340980(0x1a9)];constructor(_0x2bc599,_0x4b4e20){const _0x44902a=_0x340980;super(_0x2bc599),this[_0x44902a(0x1ad)]=_0x4b4e20[_0x44902a(0x190)]||(_0x4b4e20[_0x44902a(0x1a8)][_0x44902a(0x1af)]>0x0?_0x4b4e20[_0x44902a(0x1a8)][0x0]['id']:''),this[_0x44902a(0x1a9)]=_0x4b4e20[_0x44902a(0x1a8)][_0x44902a(0x194)](_0x5a84c5=>_0x5a84c5['id']===this[_0x44902a(0x1ad)])?.[_0x44902a(0x19b)]||'',this[_0x44902a(0x1a1)](_0x44902a(0x193),''),this[_0x44902a(0x19f)]=_0x16e72e(this[_0x44902a(0x1b4)]);const _0x4a9b25=this[_0x44902a(0x19a)](_0x4b4e20[_0x44902a(0x1a8)]);_0x343683(this[_0x44902a(0x19f)],_0x4a9b25,{'role':_0x44902a(0x19e),'ariaLabel':_0x4b4e20[_0x44902a(0x19b)]}),this[_0x44902a(0x19f)][_0x44902a(0x192)][_0x44902a(0x1a1)]({'label':this[_0x44902a(0x1a9)],'withText':!0x0}),this[_0x44902a(0x19f)][_0x44902a(0x19c)]({'on':{'click':this[_0x44902a(0x1a2)]['to'](_0x59fd73=>{const _0x195c27=_0x44902a;_0x59fd73[_0x195c27(0x196)]();})}}),this[_0x44902a(0x1a4)](this[_0x44902a(0x19f)],_0x44902a(0x1a6),_0x1e0ad0=>{const _0x2d471f=_0x44902a;this[_0x2d471f(0x193)]=_0x1e0ad0[_0x2d471f(0x1b8)][_0x2d471f(0x191)]['id'],this[_0x2d471f(0x19f)][_0x2d471f(0x192)][_0x2d471f(0x19b)]=_0x1e0ad0[_0x2d471f(0x1b8)][_0x2d471f(0x191)][_0x2d471f(0x19b)];}),this[_0x44902a(0x1b5)]({'tag':_0x44902a(0x198),'attributes':{'class':['ck',_0x44902a(0x1ab),_0x44902a(0x1b0),_0x44902a(0x1a7)]},'children':[this[_0x44902a(0x19f)]]});}[_0x340980(0x19d)](){const _0x59c199=_0x340980;this[_0x59c199(0x193)]=this[_0x59c199(0x1ad)],this[_0x59c199(0x19f)][_0x59c199(0x192)][_0x59c199(0x19b)]=this[_0x59c199(0x1a9)];}[_0x340980(0x19a)](_0x439cfd=[]){const _0x35edd9=_0x340980,_0x19086f=new _0x12ff45();this[_0x35edd9(0x19d)]();for(const _0x37ee1f of _0x439cfd){const _0x3bab40=new _0x37b5c7({'label':_0x37ee1f[_0x35edd9(0x19b)],'withText':!0x0,'role':_0x35edd9(0x1ac),'id':_0x37ee1f['id'],'model':_0x37ee1f});_0x3bab40[_0x35edd9(0x1a3)](_0x35edd9(0x1a5))['to'](this,_0x35edd9(0x193),_0x2f7f6b=>_0x2f7f6b===_0x3bab40['id']);const _0x69f457={'type':_0x35edd9(0x1a0),'model':_0x3bab40};_0x19086f[_0x35edd9(0x1b6)](_0x69f457);}return _0x19086f;}}function _0x55f4(){const _0x20fa58=['execute','ck-ai_review__check-list-item-parameterized-form-element_dropdown','data','_defaultLabel','290163KIklzj','ck-reset_all','menuitemradio','_defaultValue','862410OTUrmS','length','ck-ai_review__check-list-item-parameterized-form-element','19674TgeMqX','732033ooWJnX','32xFlTrI','locale','setTemplate','add','1512oeeiMC','source','default','model','buttonView','formValue','find','411110GAhqIq','stopPropagation','4125856COdlAW','div','4197330LRyaLY','_prepareListOptions','label','extendTemplate','resetToDefault','menu','_dropdownView','button','set','bindTemplate','bind','listenTo','isOn'];_0x55f4=function(){return _0x20fa58;};return _0x55f4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x176fd4=_0x3d03;(function(_0x16e4af,_0x28e902){const _0x40a966=_0x3d03,_0x136f1b=_0x16e4af();while(!![]){try{const _0x511668=-parseInt(_0x40a966(0x1bc))/0x1*(parseInt(_0x40a966(0x1c3))/0x2)+-parseInt(_0x40a966(0x1c6))/0x3+-parseInt(_0x40a966(0x1c9))/0x4*(-parseInt(_0x40a966(0x1ca))/0x5)+-parseInt(_0x40a966(0x1c4))/0x6*(parseInt(_0x40a966(0x1c7))/0x7)+-parseInt(_0x40a966(0x1c0))/0x8*(-parseInt(_0x40a966(0x1c2))/0x9)+-parseInt(_0x40a966(0x1b6))/0xa*(parseInt(_0x40a966(0x1c8))/0xb)+parseInt(_0x40a966(0x1b9))/0xc*(parseInt(_0x40a966(0x1b2))/0xd);if(_0x511668===_0x28e902)break;else _0x136f1b['push'](_0x136f1b['shift']());}catch(_0x21680e){_0x136f1b['push'](_0x136f1b['shift']());}}}(_0x275e,0xbf036));import{FormRowView as _0x265feb,ListItemView as _0xda234b}from'ckeditor5/src/ui.js';function _0x275e(){const _0x5cff4c=['598QiTZmg','children','add','bind','11869970qftkrT','_formItem','locale','635424tZAdpM','setTemplate','resetToDefault','2nPlAjX','div','argsKey','ck-reset_all','3587824HjunXD','formType','27UFHoau','1482118MZsvFd','12ewolWL','value','1447773rgGvRO','948241WTOrsO','11ZxnULM','808obkZqe','10490kIRAJG','formValue','ck-form__row_with-submit','dropdown','ck-ai_review__form-item','set'];_0x275e=function(){return _0x5cff4c;};return _0x275e();}import{AIReviewCoreFormDropdownView as _0x3674dd}from'./aireviewcoreformdropdown.js';function _0x3d03(_0x3e8054,_0x19d4d9){const _0x275e55=_0x275e();return _0x3d03=function(_0x3d03e1,_0xb61a2a){_0x3d03e1=_0x3d03e1-0x1ae;let _0x447c51=_0x275e55[_0x3d03e1];return _0x447c51;},_0x3d03(_0x3e8054,_0x19d4d9);}export class AIReviewCoreFormManagerView extends _0xda234b{[_0x176fd4(0x1b7)]=null;constructor(_0x485551,_0x287e01,_0x37a449){const _0x576aad=_0x176fd4;super(_0x485551),this[_0x576aad(0x1be)]=_0x287e01?.[_0x576aad(0x1be)];if(_0x576aad(0x1af)===_0x287e01[_0x576aad(0x1c1)])this[_0x576aad(0x1b7)]=new _0x3674dd(this[_0x576aad(0x1b8)],_0x287e01);this[_0x576aad(0x1b1)](_0x576aad(0x1c5),''),this[_0x576aad(0x1b5)](_0x576aad(0x1c5))['to'](this[_0x576aad(0x1b7)],_0x576aad(0x1cb));const _0x1ac8c9=new _0x265feb(this[_0x576aad(0x1b8)],{'children':[this[_0x576aad(0x1b7)]],'class':[_0x37a449?_0x576aad(0x1ae):'']});_0x37a449&&_0x1ac8c9[_0x576aad(0x1b3)][_0x576aad(0x1b4)](_0x37a449),this[_0x576aad(0x1ba)]({'tag':_0x576aad(0x1bd),'attributes':{'class':['ck',_0x576aad(0x1b0),_0x576aad(0x1bf)]},'children':[_0x1ac8c9]});}[_0x176fd4(0x1bb)](){const _0x47a93f=_0x176fd4;this[_0x47a93f(0x1b7)][_0x47a93f(0x1bb)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29d352=_0x12b5;(function(_0x2a37ad,_0x4a7d38){const _0x2d358b=_0x12b5,_0x111ba1=_0x2a37ad();while(!![]){try{const _0x45b7c2=-parseInt(_0x2d358b(0x1bb))/0x1+parseInt(_0x2d358b(0x1d0))/0x2+-parseInt(_0x2d358b(0x1a7))/0x3*(parseInt(_0x2d358b(0x1c6))/0x4)+-parseInt(_0x2d358b(0x1ad))/0x5*(-parseInt(_0x2d358b(0x1ae))/0x6)+-parseInt(_0x2d358b(0x1cd))/0x7+-parseInt(_0x2d358b(0x1c5))/0x8+parseInt(_0x2d358b(0x1cf))/0x9*(parseInt(_0x2d358b(0x1cc))/0xa);if(_0x45b7c2===_0x4a7d38)break;else _0x111ba1['push'](_0x111ba1['shift']());}catch(_0x37475e){_0x111ba1['push'](_0x111ba1['shift']());}}}(_0x58f2,0x855df));function _0x12b5(_0x3bb669,_0x544445){const _0x58f2c9=_0x58f2();return _0x12b5=function(_0x12b5c3,_0x46f587){_0x12b5c3=_0x12b5c3-0x1a5;let _0x5d02ed=_0x58f2c9[_0x12b5c3];return _0x5d02ed;},_0x12b5(_0x3bb669,_0x544445);}function _0x58f2(){const _0x1014ff=['clarity','correctness','Custom\x20command','shorter','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','1126688FfwOoH','1996024zEbYmT','dropdown','confident','readability','Friendly','Longer','63550bouYYB','6754153KRQpEn','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','2799IshYrv','347472nnBJsZ','direct','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','make-tone','3SQZspx','longer','Adjust\x20length','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Adjust\x20tone\x20and\x20style','Casual','5hkKlEb','22362bcZifw','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','casual','make','Confident','professional','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Professional','Readability','length','Direct','Correctness','tone','2876QEUUFg','Shorter','Clarity','friendly','custom'];_0x58f2=function(){return _0x1014ff;};return _0x58f2();}export const AI_REVIEW_CHECKS=[{'id':_0x29d352(0x1bf),'commandId':_0x29d352(0x1bf),'title':_0x29d352(0x1c2),'description':_0x29d352(0x1af),'isParameterized':!0x0},{'id':_0x29d352(0x1c1),'commandId':_0x29d352(0x1c1),'title':_0x29d352(0x1b9),'description':_0x29d352(0x1aa),'isParameterized':!0x1},{'id':_0x29d352(0x1c0),'commandId':_0x29d352(0x1c0),'title':_0x29d352(0x1bd),'description':_0x29d352(0x1b4),'isParameterized':!0x1},{'id':_0x29d352(0x1c9),'commandId':_0x29d352(0x1c9),'title':_0x29d352(0x1b6),'description':_0x29d352(0x1ce),'isParameterized':!0x1},{'id':_0x29d352(0x1b7),'commandId':_0x29d352(0x1b1),'title':_0x29d352(0x1a9),'description':_0x29d352(0x1a5),'isParameterized':!0x0,'options':[{'formType':_0x29d352(0x1c7),'label':_0x29d352(0x1a9),'default':_0x29d352(0x1a8),'data':[{'label':_0x29d352(0x1cb),'id':_0x29d352(0x1a8)},{'label':_0x29d352(0x1bc),'id':_0x29d352(0x1c3)}]}]},{'id':_0x29d352(0x1ba),'commandId':_0x29d352(0x1a6),'title':_0x29d352(0x1ab),'description':_0x29d352(0x1c4),'isParameterized':!0x0,'options':[{'formType':_0x29d352(0x1c7),'label':_0x29d352(0x1ab),'default':_0x29d352(0x1b0),'data':[{'label':_0x29d352(0x1ac),'id':_0x29d352(0x1b0)},{'label':_0x29d352(0x1b8),'id':_0x29d352(0x1d1)},{'label':_0x29d352(0x1ca),'id':_0x29d352(0x1be)},{'label':_0x29d352(0x1b2),'id':_0x29d352(0x1c8)},{'label':_0x29d352(0x1b5),'id':_0x29d352(0x1b3)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x54338a=_0x233a;(function(_0x42098b,_0x154898){var _0x58925f=_0x233a,_0x18ae56=_0x42098b();while(!![]){try{var _0x47cebc=-parseInt(_0x58925f(0x141))/0x1+-parseInt(_0x58925f(0x13a))/0x2+-parseInt(_0x58925f(0x13e))/0x3*(-parseInt(_0x58925f(0x13f))/0x4)+parseInt(_0x58925f(0x139))/0x5+parseInt(_0x58925f(0x138))/0x6+-parseInt(_0x58925f(0x13b))/0x7+parseInt(_0x58925f(0x137))/0x8;if(_0x47cebc===_0x154898)break;else _0x18ae56['push'](_0x18ae56['shift']());}catch(_0x4a1fde){_0x18ae56['push'](_0x18ae56['shift']());}}}(_0x5937,0xc08e3));import{ContextPlugin as _0x21a893}from'ckeditor5/src/core.js';import{AIReviewModeUI as _0x5a25b5}from'./aireviewmodeui.js';import{AIReviewCoreEditing as _0x1f5413}from'../aireviewcore/aireviewcoreediting.js';function _0x233a(_0x22f240,_0xb3878e){var _0x59375b=_0x5937();return _0x233a=function(_0x233a2e,_0x29f41c){_0x233a2e=_0x233a2e-0x135;var _0x44547b=_0x59375b[_0x233a2e];return _0x44547b;},_0x233a(_0x22f240,_0xb3878e);}import{AIReviewModeController as _0x1d0978}from'./aireviewmodecontroller.js';function _0x5937(){var _0x2edbeb=['678137JpfxUu','isPremiumPlugin','isOfficialPlugin','2709784JSqfFj','1476720mLUIvL','6610055xAoYbG','422490aPPGQE','10325959qBPPOT','pluginName','AIReviewMode','1869558zQuYTz','8gjTyWX','requires'];_0x5937=function(){return _0x2edbeb;};return _0x5937();}export class AIReviewMode extends _0x21a893{static get[_0x54338a(0x140)](){return[_0x1d0978,_0x5a25b5,_0x1f5413];}static get[_0x54338a(0x13c)](){var _0xe4a8b9=_0x54338a;return _0xe4a8b9(0x13d);}static get[_0x54338a(0x136)](){return!0x0;}static get[_0x54338a(0x135)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1d4aa5=_0x5884;(function(_0x37fe88,_0x464179){const _0x5d4dc4=_0x5884,_0xebfc25=_0x37fe88();while(!![]){try{const _0x523e60=parseInt(_0x5d4dc4(0xa7))/0x1+-parseInt(_0x5d4dc4(0x95))/0x2*(-parseInt(_0x5d4dc4(0xf0))/0x3)+parseInt(_0x5d4dc4(0xa0))/0x4*(-parseInt(_0x5d4dc4(0xa6))/0x5)+-parseInt(_0x5d4dc4(0xd3))/0x6*(parseInt(_0x5d4dc4(0xe3))/0x7)+-parseInt(_0x5d4dc4(0xdb))/0x8+parseInt(_0x5d4dc4(0xb7))/0x9*(parseInt(_0x5d4dc4(0xbf))/0xa)+parseInt(_0x5d4dc4(0x103))/0xb;if(_0x523e60===_0x464179)break;else _0xebfc25['push'](_0xebfc25['shift']());}catch(_0x1f0ac9){_0xebfc25['push'](_0xebfc25['shift']());}}}(_0x1bad,0x4650a));import{CKEditorError as _0x5f3f2d}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x215b5e}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x31e9e9}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0xf340}from'./model/aireviewmodechecklist.js';function _0x5884(_0x460082,_0xa707ff){const _0x1bad7b=_0x1bad();return _0x5884=function(_0x588497,_0x576452){_0x588497=_0x588497-0x8d;let _0x343e63=_0x1bad7b[_0x588497];return _0x343e63;},_0x5884(_0x460082,_0xa707ff);}import{AIReviewCustomCheckRun as _0x21c877}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x3b3815}from'../aireviewcore/model/aireviewsystemcheckrun.js';function _0x1bad(){const _0x71767d=['1152490wCxyJw','origin','pluginName','viewportOffset','_aiConnector','markerElement','ai.review.availableCommands','_getChecksList','_onChangeMarkerClicked','getDomRoot','_onReviewCheckResultDeactivated','context','document','markChangePositionInEditorContent','_isDiffOn','label','models','change','replaceAll','some','162Duzgga','all','title','listenTo','_hasDefaultAvailableCommands','_onDiffChange','params','changeId','4055480Nawidz','content','startsWith','length','isAnyChangeActivated','view','_markChangePositionInEditorContent','AI_REVIEW_CHECK_','139524LOepyA','removeClass','_createReviewCheckRun','ai.models','balloon','init','hover','isCustom','getAvailableModels','model','showChangeBalloon','resetActiveStateInResults','setMarkersInElementAsActive','6mIwRhp','getChangeById','deactivateChange','uiInteraction','prompt','push','_filterChecksWithMissingModel','_getTranslationWithDefault','_logError','options','_getModels','getRoot','_TITLE','removeCheckById','getMarkerElementForChange','_diffContent','_OPTIONS_LABEL','getDocumentData','_onReviewCheckResultActivated','4034184GeOWbM','editing','isExtra','_currentReviewCheckRun','domEvent','_scrollToChange','_onChangeMarkerBlurred','define','hideChangeBalloon','showDiffInBalloon','ai-review-mode-non-existent-commands-used','toggleDiff','_aiReviewCoreUi','_aiReviewCoreEditing','get','_onActivateChange','click','toUpperCase','ai.review.extraCommands','plugins','hideDiffInBalloon','forEach','_getChangeContentElement','setAllMarkersAsInactive','join','locale','defaultModel','_onReviewCheckRun','config','_translateReviewCheck','431020ZdTUKL','_onChangeMarkerHovered','filter','args','addClass','custom','getDefault','activateChange','data','diffContent','recommended','452QWUPNN','ck-ai_review-diff','setActiveStateInResults','_logErrorForNonExistentChecks','_OPTIONS_DATA_','getAll','605BUCTfi','203271EvRRQb','getElement','ai-review-mode-models-unable-to-retrieve','getClassNames','getEditor','default','setupChecks','_initRequiredPlugins','find','panel','ai-review-mode-command-unavailable-due-to-missing-model','description','AIReviewModeUI','_onDeactivateChange','AIReviewModeController','AIReviewCoreEditing','27XDDWnz','checks','_changeActivationSource','ck-ai_review-','_getExtraChecks','ck-ai_review-highlights','map','_DESCRIPTION'];_0x1bad=function(){return _0x71767d;};return _0x1bad();}import{AIModels as _0x58f5cc}from'../aicore/model/aimodels.js';import{AIReviewCheckCustom as _0x4c7821}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x417705}from'./model/aireviewcheckextra.js';import{AIReviewExtraCheckRun as _0x33434a}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x215b5e{static get[_0x1d4aa5(0xc1)](){const _0x19c3a6=_0x1d4aa5;return _0x19c3a6(0xb5);}[_0x1d4aa5(0xcd)]=!0x1;[_0x1d4aa5(0xd7)]=!0x1;constructor(_0x2bd1a4){const _0x42c9c8=_0x1d4aa5;super(_0x2bd1a4),this[_0x42c9c8(0xd7)]=!this[_0x42c9c8(0xca)][_0x42c9c8(0x93)][_0x42c9c8(0x111)](_0x42c9c8(0xc5)),this[_0x42c9c8(0xca)][_0x42c9c8(0x93)][_0x42c9c8(0x10a)](_0x42c9c8(0xc5),_0x31e9e9[_0x42c9c8(0xbd)](_0x4f4aa0=>_0x4f4aa0['id'])),this[_0x42c9c8(0xca)][_0x42c9c8(0x93)][_0x42c9c8(0x10a)](_0x42c9c8(0x115),[]);}async[_0x1d4aa5(0xe8)](){const _0x46e300=_0x1d4aa5;await super[_0x46e300(0xe8)](),this[_0x46e300(0xd6)](this[_0x46e300(0x10f)],_0x46e300(0x10e),(_0x5d4539,_0x2b73ff)=>{const _0x16da58=_0x46e300;this[_0x16da58(0xcd)]=_0x2b73ff['on'],this[_0x16da58(0xd8)](this[_0x16da58(0xcd)]);});}[_0x1d4aa5(0xae)](){const _0x5a1f33=_0x1d4aa5;super[_0x5a1f33(0xae)](),this[_0x5a1f33(0x10f)]=this[_0x5a1f33(0xca)][_0x5a1f33(0x116)][_0x5a1f33(0x111)](_0x5a1f33(0xb3)),this[_0x5a1f33(0x110)]=this[_0x5a1f33(0xca)][_0x5a1f33(0x116)][_0x5a1f33(0x111)](_0x5a1f33(0xb6));}[_0x1d4aa5(0xe5)](_0x42a6a8,_0xad5d4b){const _0xb95eae=_0x1d4aa5;return _0x42a6a8[_0xb95eae(0xea)]?new _0x21c877(_0x42a6a8[_0xb95eae(0x98)][_0xb95eae(0xf4)],_0x42a6a8[_0xb95eae(0x98)][_0xb95eae(0xec)],this[_0xb95eae(0x110)][_0xb95eae(0x101)](),_0xad5d4b,this[_0xb95eae(0xc3)]):_0xad5d4b[_0xb95eae(0x105)]?new _0x33434a(_0xad5d4b[_0xb95eae(0xf4)],_0xad5d4b[_0xb95eae(0x91)]['id'],this[_0xb95eae(0x110)][_0xb95eae(0x101)](),_0xad5d4b,this[_0xb95eae(0xc3)]):new _0x3b3815(this[_0xb95eae(0x110)][_0xb95eae(0x101)](),_0xad5d4b,this[_0xb95eae(0xc3)],_0x42a6a8[_0xb95eae(0xd9)],_0x42a6a8[_0xb95eae(0x98)]);}[_0x1d4aa5(0x102)](_0x50d3e1){const _0x5e9639=_0x1d4aa5;this[_0x5e9639(0x10f)][_0x5e9639(0xa2)](_0x50d3e1[_0x5e9639(0xd0)]['id']),this[_0x5e9639(0x108)](_0x50d3e1[_0x5e9639(0xd0)]['id']);const _0x4f5785=this[_0x5e9639(0x110)][_0x5e9639(0xfe)](_0x50d3e1[_0x5e9639(0xd0)]['id']);if(!_0x4f5785)return;const _0x40c3=this[_0x5e9639(0x110)][_0x5e9639(0xab)]();this[_0x5e9639(0x10f)][_0x5e9639(0xed)](_0x50d3e1[_0x5e9639(0xd0)],()=>_0x4f5785[_0x5e9639(0xa8)](),void 0x0,_0x5e9639(0x113),_0x40c3?.[_0x5e9639(0x104)]?.[_0x5e9639(0xe0)]?.[_0x5e9639(0xc8)](),_0x40c3?.['ui']?.[_0x5e9639(0xc2)]),this[_0x5e9639(0x110)][_0x5e9639(0xef)](_0x50d3e1[_0x5e9639(0xd0)]['id']);}[_0x1d4aa5(0xc9)](){const _0x41b304=_0x1d4aa5;this[_0x41b304(0x10f)][_0x41b304(0xee)](),this[_0x41b304(0x10f)][_0x41b304(0x10b)](),this[_0x41b304(0x110)][_0x41b304(0x8e)]();}[_0x1d4aa5(0x112)](_0x3f02e0){const _0x27469e=_0x1d4aa5;this[_0x27469e(0x106)]&&_0x27469e(0x113)===_0x3f02e0[_0x27469e(0xf3)]&&(this[_0x27469e(0xb9)]=_0x27469e(0xb0),this[_0x27469e(0x106)][_0x27469e(0x9c)](_0x3f02e0['id']));}[_0x1d4aa5(0xb4)](_0x974965){const _0x363dce=_0x1d4aa5;this[_0x363dce(0x106)]&&_0x363dce(0xe7)===_0x974965[_0x363dce(0xc0)]&&this[_0x363dce(0x106)][_0x363dce(0xf2)]();}[_0x1d4aa5(0xc7)](_0x1b9189,_0x347867){const _0x5ce957=_0x1d4aa5;if(!this[_0x5ce957(0x106)])return;this[_0x5ce957(0xb9)]=_0x5ce957(0xdc),this[_0x5ce957(0x106)][_0x5ce957(0x9c)](_0x347867[_0x5ce957(0xda)]);const _0x3d3925=this[_0x5ce957(0x106)][_0x5ce957(0xf1)](_0x347867[_0x5ce957(0xda)]);if(!_0x3d3925)return;const _0x54991c=this[_0x5ce957(0x110)][_0x5ce957(0xab)]();this[_0x5ce957(0x10f)][_0x5ce957(0xed)](_0x3d3925,_0x347867[_0x5ce957(0xc4)],_0x347867[_0x5ce957(0x107)],_0x5ce957(0x113),_0x54991c?.[_0x5ce957(0x104)]?.[_0x5ce957(0xe0)]?.[_0x5ce957(0xc8)](),_0x54991c?.['ui']?.[_0x5ce957(0xc2)]);}[_0x1d4aa5(0x96)](_0x38d214,_0x73fcfd){const _0x61571d=_0x1d4aa5;if(!this[_0x61571d(0x106)])return;if(this[_0x61571d(0x106)][_0x61571d(0xdf)]())return;const _0x300ee3=this[_0x61571d(0x106)][_0x61571d(0xf1)](_0x73fcfd[_0x61571d(0xda)]);if(!_0x300ee3)return;const _0x516be4=this[_0x61571d(0x110)][_0x61571d(0xab)]();this[_0x61571d(0x10f)][_0x61571d(0xed)](_0x300ee3,_0x73fcfd[_0x61571d(0xc4)],_0x73fcfd[_0x61571d(0x107)],_0x61571d(0xe9),_0x516be4?.[_0x61571d(0x104)]?.[_0x61571d(0xe0)]?.[_0x61571d(0xc8)](),_0x516be4?.['ui']?.[_0x61571d(0xc2)]);}[_0x1d4aa5(0x109)](){const _0x2a403d=_0x1d4aa5;if(!this[_0x2a403d(0x106)])return;this[_0x2a403d(0x106)][_0x2a403d(0xdf)]()||this[_0x2a403d(0x10f)][_0x2a403d(0x10b)]();}[_0x1d4aa5(0x8d)](_0x30b286){const _0xb11ba3=_0x1d4aa5,_0x1ab82a=this[_0xb11ba3(0x110)][_0xb11ba3(0xfe)](_0x30b286);return _0x1ab82a?_0x1ab82a[_0xb11ba3(0xa8)]():null;}[_0x1d4aa5(0xe1)](_0x2c226a,_0x516fb8){const _0x18802e=_0x1d4aa5;this[_0x18802e(0x110)][_0x18802e(0xcc)](_0x2c226a,_0x516fb8);}[_0x1d4aa5(0xff)](_0x144493,_0x6809c5){const _0x11136d=_0x1d4aa5;return this[_0x11136d(0x110)][_0x11136d(0x9e)](_0x144493,_0x6809c5);}[_0x1d4aa5(0x92)](){const _0x4bcbbe=_0x1d4aa5;this[_0x4bcbbe(0xd8)](this[_0x4bcbbe(0xcd)]);}[_0x1d4aa5(0xd8)](_0x285d2c){const _0x5cf35d=_0x1d4aa5,_0x138bc6=this[_0x5cf35d(0x110)][_0x5cf35d(0xab)]();_0x285d2c?this[_0x5cf35d(0x10f)][_0x5cf35d(0x117)]():this[_0x5cf35d(0x10f)][_0x5cf35d(0x10c)](),_0x138bc6&&_0x138bc6[_0x5cf35d(0x104)][_0x5cf35d(0xe0)][_0x5cf35d(0xd0)](_0x39d108=>{const _0x42a1b3=_0x5cf35d,_0x47aa76=_0x138bc6[_0x42a1b3(0x104)][_0x42a1b3(0xe0)][_0x42a1b3(0xcb)][_0x42a1b3(0xfb)]();for(const _0x2d6476 of _0x47aa76[_0x42a1b3(0xaa)]())_0x2d6476[_0x42a1b3(0xdd)](_0x42a1b3(0xba))&&_0x39d108[_0x42a1b3(0xe4)](_0x2d6476,_0x47aa76);_0x39d108[_0x42a1b3(0x99)](_0x285d2c?_0x42a1b3(0xa1):_0x42a1b3(0xbc),_0x47aa76);});}async[_0x1d4aa5(0xc6)](){const _0x4a4dd6=_0x1d4aa5,_0x86193a=[..._0x31e9e9,...this[_0x4a4dd6(0xbb)]()],_0x12cddf=this[_0x4a4dd6(0xca)][_0x4a4dd6(0x93)][_0x4a4dd6(0x111)](_0x4a4dd6(0xc5))||[];this[_0x4a4dd6(0xa3)](_0x12cddf,_0x86193a);let _0x27b505=_0x86193a;this[_0x4a4dd6(0xd7)]||(_0x27b505=_0x12cddf[_0x4a4dd6(0xbd)](_0x6fda73=>_0x86193a[_0x4a4dd6(0xaf)](_0x59e244=>_0x59e244['id']===_0x6fda73))[_0x4a4dd6(0x97)](_0x5a530e=>!!_0x5a530e)),_0x27b505=_0x27b505[_0x4a4dd6(0xbd)](_0x3e9c95=>_0x3e9c95[_0x4a4dd6(0x105)]?_0x3e9c95:this[_0x4a4dd6(0x94)](_0x3e9c95));const _0x4efd11=_0x27b505[_0x4a4dd6(0xd2)](_0x4ae2b9=>_0x4ae2b9[_0x4a4dd6(0x105)]||_0x4a4dd6(0x9a)===_0x4ae2b9['id']);let _0x558ddc=[],_0x41ec8f=[],_0x326257=null;if(_0x4efd11){const _0x159dec=await this[_0x4a4dd6(0xfa)]();_0x558ddc=_0x159dec[_0x4a4dd6(0xd4)],_0x41ec8f=_0x159dec[_0x4a4dd6(0x9f)],_0x326257=_0x159dec[_0x4a4dd6(0xac)];}const _0x166799=new _0xf340(_0x558ddc,_0x41ec8f,_0x326257);return _0x166799[_0x4a4dd6(0xad)](_0x27b505),_0x4efd11&&this[_0x4a4dd6(0xf6)](_0x166799),_0x166799;}[_0x1d4aa5(0xbb)](){const _0x203c76=_0x1d4aa5;return(this[_0x203c76(0xca)][_0x203c76(0x93)][_0x203c76(0x111)](_0x203c76(0x115))||[])[_0x203c76(0xbd)](_0xffe89c=>({'id':_0xffe89c['id'],'commandId':_0xffe89c['id'],'title':_0xffe89c[_0x203c76(0xce)],'description':_0xffe89c[_0x203c76(0xb2)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0xffe89c[_0x203c76(0xf4)],'model':_0xffe89c[_0x203c76(0xec)]}));}[_0x1d4aa5(0xa3)](_0x9223bd,_0x24e71a){const _0x3609a3=_0x1d4aa5,_0xb8657=_0x9223bd[_0x3609a3(0x97)](_0xd88d9c=>!_0x24e71a[_0x3609a3(0xd2)](_0x2b4965=>_0x2b4965['id']===_0xd88d9c));_0xb8657[_0x3609a3(0xde)]&&this[_0x3609a3(0xf8)](new _0x5f3f2d(_0x3609a3(0x10d),this,{'commandIds':_0xb8657[_0x3609a3(0x8f)](',\x20')}),!0x0);}async[_0x1d4aa5(0xfa)](){const _0x372aa1=_0x1d4aa5;try{const _0x114a10=new _0x58f5cc({'connector':this[_0x372aa1(0xc3)],'config':this[_0x372aa1(0xca)][_0x372aa1(0x93)][_0x372aa1(0x111)](_0x372aa1(0xe6)),'locale':this[_0x372aa1(0xca)][_0x372aa1(0x90)]});return{'all':await _0x114a10[_0x372aa1(0xa5)](),'recommended':await _0x114a10[_0x372aa1(0xeb)](),'default':await _0x114a10[_0x372aa1(0x9b)]()};}catch(_0x184aff){return this[_0x372aa1(0xf8)](new _0x5f3f2d(_0x372aa1(0xa9),this,void 0x0,_0x184aff)),{'all':[],'recommended':[],'default':null};}}[_0x1d4aa5(0x94)](_0x3b8fdf){const _0xe6c067=_0x1d4aa5,_0x3237ae=_0xe6c067(0xe2)+_0x3b8fdf['id'][_0xe6c067(0x114)]()[_0xe6c067(0xd1)]('-','_'),_0x4a3216={..._0x3b8fdf,'title':this[_0xe6c067(0xf7)](_0x3237ae+_0xe6c067(0xfc),_0x3b8fdf[_0xe6c067(0xd5)]),'description':this[_0xe6c067(0xf7)](_0x3237ae+_0xe6c067(0xbe),_0x3b8fdf[_0xe6c067(0xb2)])};return _0x3b8fdf[_0xe6c067(0xf9)]&&(_0x4a3216[_0xe6c067(0xf9)]=_0x3b8fdf[_0xe6c067(0xf9)][_0xe6c067(0xbd)](_0x4b39d5=>({..._0x4b39d5,'label':this[_0xe6c067(0xf7)](_0x3237ae+_0xe6c067(0x100),_0x4b39d5[_0xe6c067(0xce)]||''),'data':_0x4b39d5[_0xe6c067(0x9d)]?_0x4b39d5[_0xe6c067(0x9d)][_0xe6c067(0xbd)](_0x5ac491=>({..._0x5ac491,'label':this[_0xe6c067(0xf7)](_0x3237ae+_0xe6c067(0xa4)+_0x5ac491['id'][_0xe6c067(0x114)](),_0x5ac491[_0xe6c067(0xce)])})):void 0x0}))),_0x4a3216;}[_0x1d4aa5(0xf6)](_0xa27cfd){const _0x43dc7b=_0x1d4aa5,_0x3a29ef=[];_0xa27cfd[_0x43dc7b(0xb8)][_0x43dc7b(0x118)](_0x53e94b=>{const _0x21da68=_0x43dc7b;(_0x53e94b instanceof _0x417705&&!_0x53e94b[_0x21da68(0x91)]||_0x53e94b instanceof _0x4c7821&&!_0x53e94b[_0x21da68(0xcf)][_0x21da68(0xde)])&&_0x3a29ef[_0x21da68(0xf5)](_0x53e94b['id']);}),_0x3a29ef[_0x43dc7b(0xde)]&&_0x3a29ef[_0x43dc7b(0x118)](_0x447557=>{const _0x3df9a9=_0x43dc7b;_0xa27cfd[_0x3df9a9(0xfd)](_0x447557),this[_0x3df9a9(0xf8)](new _0x5f3f2d(_0x3df9a9(0xb1),this,{'commandId':_0x447557}),!0x0);});}}
|
|
23
|
+
const _0x3446d6=_0x187d;(function(_0x412a45,_0x3ae5da){const _0x49c49f=_0x187d,_0xa5e02=_0x412a45();while(!![]){try{const _0x32d590=parseInt(_0x49c49f(0x243))/0x1+parseInt(_0x49c49f(0x209))/0x2+-parseInt(_0x49c49f(0x1de))/0x3+parseInt(_0x49c49f(0x21e))/0x4+parseInt(_0x49c49f(0x227))/0x5*(-parseInt(_0x49c49f(0x229))/0x6)+-parseInt(_0x49c49f(0x201))/0x7*(parseInt(_0x49c49f(0x1fd))/0x8)+parseInt(_0x49c49f(0x204))/0x9*(parseInt(_0x49c49f(0x1e7))/0xa);if(_0x32d590===_0x3ae5da)break;else _0xa5e02['push'](_0xa5e02['shift']());}catch(_0x51e03a){_0xa5e02['push'](_0xa5e02['shift']());}}}(_0x2b58,0x9a810));import{CKEditorError as _0x16c9c0}from'ckeditor5/src/utils.js';import{AIReviewCoreController as _0x295b88}from'../aireviewcore/aireviewcorecontroller.js';import{AI_REVIEW_CHECKS as _0x1c7563}from'./aireviewcheckdefinitions.js';import{AIReviewModeCheckList as _0x34becb}from'./model/aireviewmodechecklist.js';import{AIReviewCustomCheckRun as _0x2e00c7}from'./model/aireviewcustomcheckrun.js';import{AIReviewSystemCheckRun as _0x371c16}from'../aireviewcore/model/aireviewsystemcheckrun.js';import{AIModels as _0x5ea064}from'../aicore/model/aimodels.js';function _0x187d(_0x281ed9,_0x37a800){const _0x2b5875=_0x2b58();return _0x187d=function(_0x187d3e,_0x593404){_0x187d3e=_0x187d3e-0x1d8;let _0x1c2292=_0x2b5875[_0x187d3e];return _0x1c2292;},_0x187d(_0x281ed9,_0x37a800);}import{AIReviewCheckCustom as _0x46e9d1}from'./model/aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x5aab1d}from'./model/aireviewcheckextra.js';function _0x2b58(){const _0x4c2540=['ck-ai_review-diff','default','ai-review-mode-non-existent-commands-used','7AgjMjf','balloon','click','180Hirmkk','join','checks','model','_getModels','1191236ulSDcF','startsWith','_onChangeMarkerBlurred','_onChangeMarkerClicked','recommended','config','_aiConnector','pluginName','_aiReviewCoreEditing','ai.models','description','_aiReviewCoreUi','_getChecksList','_currentReviewCheckRun','ck-ai_review-','changeId','addClass','ai.review.availableCommands','prompt','removeClass','_onChangeMarkerHovered','935528REYXmL','viewportOffset','_getChangeContentElement','showDiffInBalloon','toUpperCase','_onDiffChange','domEvent','getAvailableModels','define','1955ECirbc','label','1110KOoISJ','_onDeactivateChange','getDomRoot','getMarkerElementForChange','_getExtraChecks','markChangePositionInEditorContent','ai.review.extraCommands','uiInteraction','replaceAll','getEditor','origin','isExtra','getDocumentData','locale','getClassNames','editing','toggleDiff','ai-review-mode-command-unavailable-due-to-missing-model','content','_onReviewCheckResultDeactivated','hideChangeBalloon','find','_onActivateChange','resetActiveStateInResults','_DESCRIPTION','get','179776veYJmR','plugins','markerElement','_onReviewCheckRun','getDefault','_onReviewCheckResultActivated','_hasDefaultAvailableCommands','getChangeById','AI_REVIEW_CHECK_','data','params','_changeActivationSource','_getTranslationWithDefault','_scrollToChange','forEach','options','_translateReviewCheck','init','view','all','isCustom','getAll','document','setupChecks','setMarkersInElementAsActive','removeCheckById','isAnyChangeActivated','push','getRoot','some','_markChangePositionInEditorContent','models','AIReviewCoreEditing','AIReviewModeController','getElement','ck-ai_review-highlights','title','listenTo','2806386KyUQAp','map','_OPTIONS_LABEL','_filterChecksWithMissingModel','hideDiffInBalloon','hover','diffContent','ai-review-mode-models-unable-to-retrieve','setAllMarkersAsInactive','645280HxBVSj','_diffContent','_createReviewCheckRun','filter','activateChange','deactivateChange','_isDiffOn','context','_initRequiredPlugins','_OPTIONS_DATA_','change','length','custom','defaultModel','AIReviewModeUI','args','panel','showChangeBalloon','_logErrorForNonExistentChecks','_logError','setActiveStateInResults','_TITLE','5273528EuUdkY'];_0x2b58=function(){return _0x4c2540;};return _0x2b58();}import{AIReviewExtraCheckRun as _0x2a51a0}from'./model/aireviewextracheckrun.js';export class AIReviewModeController extends _0x295b88{static get[_0x3446d6(0x210)](){const _0xc8b433=_0x3446d6;return _0xc8b433(0x1d9);}[_0x3446d6(0x1ed)]=!0x1;[_0x3446d6(0x249)]=!0x1;constructor(_0x338cab){const _0x4af6ff=_0x3446d6;super(_0x338cab),this[_0x4af6ff(0x249)]=!this[_0x4af6ff(0x1ee)][_0x4af6ff(0x20e)][_0x4af6ff(0x242)](_0x4af6ff(0x21a)),this[_0x4af6ff(0x1ee)][_0x4af6ff(0x20e)][_0x4af6ff(0x226)](_0x4af6ff(0x21a),_0x1c7563[_0x4af6ff(0x1df)](_0x41a2a=>_0x41a2a['id'])),this[_0x4af6ff(0x1ee)][_0x4af6ff(0x20e)][_0x4af6ff(0x226)](_0x4af6ff(0x22f),[]);}async[_0x3446d6(0x254)](){const _0x2eb988=_0x3446d6;await super[_0x2eb988(0x254)](),this[_0x2eb988(0x1dd)](this[_0x2eb988(0x214)],_0x2eb988(0x239),(_0x5cdecb,_0x4daa35)=>{const _0x28bc1e=_0x2eb988;this[_0x28bc1e(0x1ed)]=_0x4daa35['on'],this[_0x28bc1e(0x223)](this[_0x28bc1e(0x1ed)]);});}[_0x3446d6(0x1ef)](){const _0x37e071=_0x3446d6;super[_0x37e071(0x1ef)](),this[_0x37e071(0x214)]=this[_0x37e071(0x1ee)][_0x37e071(0x244)][_0x37e071(0x242)](_0x37e071(0x1f5)),this[_0x37e071(0x211)]=this[_0x37e071(0x1ee)][_0x37e071(0x244)][_0x37e071(0x242)](_0x37e071(0x1d8));}[_0x3446d6(0x1e9)](_0x4d1eb1,_0x3e4da7){const _0x2592f7=_0x3446d6;return _0x4d1eb1[_0x2592f7(0x257)]?new _0x2e00c7(_0x4d1eb1[_0x2592f7(0x1f6)][_0x2592f7(0x21b)],_0x4d1eb1[_0x2592f7(0x1f6)][_0x2592f7(0x207)],this[_0x2592f7(0x211)][_0x2592f7(0x235)](),_0x3e4da7,this[_0x2592f7(0x20f)]):_0x3e4da7[_0x2592f7(0x234)]?new _0x2a51a0(_0x3e4da7[_0x2592f7(0x21b)],_0x3e4da7[_0x2592f7(0x1f4)]['id'],this[_0x2592f7(0x211)][_0x2592f7(0x235)](),_0x3e4da7,this[_0x2592f7(0x20f)]):new _0x371c16(this[_0x2592f7(0x211)][_0x2592f7(0x235)](),_0x3e4da7,this[_0x2592f7(0x20f)],_0x4d1eb1[_0x2592f7(0x24d)],_0x4d1eb1[_0x2592f7(0x1f6)]);}[_0x3446d6(0x248)](_0xd87c79){const _0x366ce5=_0x3446d6;this[_0x366ce5(0x214)][_0x366ce5(0x1fb)](_0xd87c79[_0x366ce5(0x1f1)]['id']),this[_0x366ce5(0x250)](_0xd87c79[_0x366ce5(0x1f1)]['id']);const _0x102e92=this[_0x366ce5(0x211)][_0x366ce5(0x22c)](_0xd87c79[_0x366ce5(0x1f1)]['id']);if(!_0x102e92)return;const _0x291e29=this[_0x366ce5(0x211)][_0x366ce5(0x232)]();this[_0x366ce5(0x214)][_0x366ce5(0x1f8)](_0xd87c79[_0x366ce5(0x1f1)],()=>_0x102e92[_0x366ce5(0x1da)](),void 0x0,_0x366ce5(0x203),_0x291e29?.[_0x366ce5(0x238)]?.[_0x366ce5(0x255)]?.[_0x366ce5(0x22b)](),_0x291e29?.['ui']?.[_0x366ce5(0x21f)]),this[_0x366ce5(0x211)][_0x366ce5(0x25b)](_0xd87c79[_0x366ce5(0x1f1)]['id']);}[_0x3446d6(0x23c)](){const _0x3fdbed=_0x3446d6;this[_0x3fdbed(0x214)][_0x3fdbed(0x240)](),this[_0x3fdbed(0x214)][_0x3fdbed(0x23d)](),this[_0x3fdbed(0x211)][_0x3fdbed(0x1e6)]();}[_0x3446d6(0x23f)](_0x4a1489){const _0x1c233e=_0x3446d6;this[_0x1c233e(0x216)]&&_0x1c233e(0x203)===_0x4a1489[_0x1c233e(0x230)]&&(this[_0x1c233e(0x24e)]=_0x1c233e(0x1f7),this[_0x1c233e(0x216)][_0x1c233e(0x1eb)](_0x4a1489['id']));}[_0x3446d6(0x22a)](_0x40f8e4){const _0x4f89af=_0x3446d6;this[_0x4f89af(0x216)]&&_0x4f89af(0x202)===_0x40f8e4[_0x4f89af(0x233)]&&this[_0x4f89af(0x216)][_0x4f89af(0x1ec)]();}[_0x3446d6(0x20c)](_0x123467,_0x27ce54){const _0x18e3dc=_0x3446d6;if(!this[_0x18e3dc(0x216)])return;this[_0x18e3dc(0x24e)]=_0x18e3dc(0x23b),this[_0x18e3dc(0x216)][_0x18e3dc(0x1eb)](_0x27ce54[_0x18e3dc(0x218)]);const _0xb2d52a=this[_0x18e3dc(0x216)][_0x18e3dc(0x24a)](_0x27ce54[_0x18e3dc(0x218)]);if(!_0xb2d52a)return;const _0xe18ebf=this[_0x18e3dc(0x211)][_0x18e3dc(0x232)]();this[_0x18e3dc(0x214)][_0x18e3dc(0x1f8)](_0xb2d52a,_0x27ce54[_0x18e3dc(0x245)],_0x27ce54[_0x18e3dc(0x224)],_0x18e3dc(0x203),_0xe18ebf?.[_0x18e3dc(0x238)]?.[_0x18e3dc(0x255)]?.[_0x18e3dc(0x22b)](),_0xe18ebf?.['ui']?.[_0x18e3dc(0x21f)]);}[_0x3446d6(0x21d)](_0x3433b6,_0x2698ce){const _0x47ca8d=_0x3446d6;if(!this[_0x47ca8d(0x216)])return;if(this[_0x47ca8d(0x216)][_0x47ca8d(0x25d)]())return;const _0x461182=this[_0x47ca8d(0x216)][_0x47ca8d(0x24a)](_0x2698ce[_0x47ca8d(0x218)]);if(!_0x461182)return;const _0x12aa33=this[_0x47ca8d(0x211)][_0x47ca8d(0x232)]();this[_0x47ca8d(0x214)][_0x47ca8d(0x1f8)](_0x461182,_0x2698ce[_0x47ca8d(0x245)],_0x2698ce[_0x47ca8d(0x224)],_0x47ca8d(0x1e3),_0x12aa33?.[_0x47ca8d(0x238)]?.[_0x47ca8d(0x255)]?.[_0x47ca8d(0x22b)](),_0x12aa33?.['ui']?.[_0x47ca8d(0x21f)]);}[_0x3446d6(0x20b)](){const _0x162a09=_0x3446d6;if(!this[_0x162a09(0x216)])return;this[_0x162a09(0x216)][_0x162a09(0x25d)]()||this[_0x162a09(0x214)][_0x162a09(0x23d)]();}[_0x3446d6(0x220)](_0x8d650c){const _0x307407=_0x3446d6,_0x4fc8ba=this[_0x307407(0x211)][_0x307407(0x22c)](_0x8d650c);return _0x4fc8ba?_0x4fc8ba[_0x307407(0x1da)]():null;}[_0x3446d6(0x261)](_0x461819,_0x2b20d1){const _0x5b109c=_0x3446d6;this[_0x5b109c(0x211)][_0x5b109c(0x22e)](_0x461819,_0x2b20d1);}[_0x3446d6(0x1e8)](_0x3fb0c8,_0x372ff3){const _0x4d3a7e=_0x3446d6;return this[_0x4d3a7e(0x211)][_0x4d3a7e(0x1e4)](_0x3fb0c8,_0x372ff3);}[_0x3446d6(0x246)](){const _0x3a643d=_0x3446d6;this[_0x3a643d(0x223)](this[_0x3a643d(0x1ed)]);}[_0x3446d6(0x223)](_0x3c741b){const _0x109ec0=_0x3446d6,_0x13ab87=this[_0x109ec0(0x211)][_0x109ec0(0x232)]();_0x3c741b?this[_0x109ec0(0x214)][_0x109ec0(0x1e2)]():this[_0x109ec0(0x214)][_0x109ec0(0x221)](),_0x13ab87&&_0x13ab87[_0x109ec0(0x238)][_0x109ec0(0x255)][_0x109ec0(0x1f1)](_0x31ba64=>{const _0x3384f2=_0x109ec0,_0x3e4e3b=_0x13ab87[_0x3384f2(0x238)][_0x3384f2(0x255)][_0x3384f2(0x259)][_0x3384f2(0x25f)]();for(const _0x4e5871 of _0x3e4e3b[_0x3384f2(0x237)]())_0x4e5871[_0x3384f2(0x20a)](_0x3384f2(0x217))&&_0x31ba64[_0x3384f2(0x21c)](_0x4e5871,_0x3e4e3b);_0x31ba64[_0x3384f2(0x219)](_0x3c741b?_0x3384f2(0x1fe):_0x3384f2(0x1db),_0x3e4e3b);});}async[_0x3446d6(0x215)](){const _0x1daac8=_0x3446d6,_0x320f08=[..._0x1c7563,...this[_0x1daac8(0x22d)]()],_0x52a321=this[_0x1daac8(0x1ee)][_0x1daac8(0x20e)][_0x1daac8(0x242)](_0x1daac8(0x21a))||[];this[_0x1daac8(0x1f9)](_0x52a321,_0x320f08);let _0x2f7d15=_0x320f08;this[_0x1daac8(0x249)]||(_0x2f7d15=_0x52a321[_0x1daac8(0x1df)](_0x10c0e4=>_0x320f08[_0x1daac8(0x23e)](_0x580381=>_0x580381['id']===_0x10c0e4))[_0x1daac8(0x1ea)](_0x4a03c2=>!!_0x4a03c2)),_0x2f7d15=_0x2f7d15[_0x1daac8(0x1df)](_0x29924e=>_0x29924e[_0x1daac8(0x234)]?_0x29924e:this[_0x1daac8(0x253)](_0x29924e));const _0x3eee48=_0x2f7d15[_0x1daac8(0x260)](_0x1e4581=>_0x1e4581[_0x1daac8(0x234)]||_0x1daac8(0x1f3)===_0x1e4581['id']);let _0x583246=[],_0x216b66=[],_0x391471=null;if(_0x3eee48){const _0x34cd80=await this[_0x1daac8(0x208)]();_0x583246=_0x34cd80[_0x1daac8(0x256)],_0x216b66=_0x34cd80[_0x1daac8(0x20d)],_0x391471=_0x34cd80[_0x1daac8(0x1ff)];}const _0x161241=new _0x34becb(_0x583246,_0x216b66,_0x391471);return _0x161241[_0x1daac8(0x25a)](_0x2f7d15),_0x3eee48&&this[_0x1daac8(0x1e1)](_0x161241),_0x161241;}[_0x3446d6(0x22d)](){const _0x2273a9=_0x3446d6;return(this[_0x2273a9(0x1ee)][_0x2273a9(0x20e)][_0x2273a9(0x242)](_0x2273a9(0x22f))||[])[_0x2273a9(0x1df)](_0x4096cf=>({'id':_0x4096cf['id'],'commandId':_0x4096cf['id'],'title':_0x4096cf[_0x2273a9(0x228)],'description':_0x4096cf[_0x2273a9(0x213)],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x4096cf[_0x2273a9(0x21b)],'model':_0x4096cf[_0x2273a9(0x207)]}));}[_0x3446d6(0x1f9)](_0x159079,_0x44e0d6){const _0x15e85c=_0x3446d6,_0x5cd5ca=_0x159079[_0x15e85c(0x1ea)](_0x3ef7fc=>!_0x44e0d6[_0x15e85c(0x260)](_0x20d5da=>_0x20d5da['id']===_0x3ef7fc));_0x5cd5ca[_0x15e85c(0x1f2)]&&this[_0x15e85c(0x1fa)](new _0x16c9c0(_0x15e85c(0x200),this,{'commandIds':_0x5cd5ca[_0x15e85c(0x205)](',\x20')}),!0x0);}async[_0x3446d6(0x208)](){const _0x117965=_0x3446d6;try{const _0x3db6c2=new _0x5ea064({'connector':this[_0x117965(0x20f)],'config':this[_0x117965(0x1ee)][_0x117965(0x20e)][_0x117965(0x242)](_0x117965(0x212)),'locale':this[_0x117965(0x1ee)][_0x117965(0x236)]});return{'all':await _0x3db6c2[_0x117965(0x258)](),'recommended':await _0x3db6c2[_0x117965(0x225)](),'default':await _0x3db6c2[_0x117965(0x247)]()};}catch(_0x27cb1d){return this[_0x117965(0x1fa)](new _0x16c9c0(_0x117965(0x1e5),this,void 0x0,_0x27cb1d)),{'all':[],'recommended':[],'default':null};}}[_0x3446d6(0x253)](_0xba39e){const _0x43f519=_0x3446d6,_0x3d1412=_0x43f519(0x24b)+_0xba39e['id'][_0x43f519(0x222)]()[_0x43f519(0x231)]('-','_'),_0x35c7e7={..._0xba39e,'title':this[_0x43f519(0x24f)](_0x3d1412+_0x43f519(0x1fc),_0xba39e[_0x43f519(0x1dc)]),'description':this[_0x43f519(0x24f)](_0x3d1412+_0x43f519(0x241),_0xba39e[_0x43f519(0x213)])};return _0xba39e[_0x43f519(0x252)]&&(_0x35c7e7[_0x43f519(0x252)]=_0xba39e[_0x43f519(0x252)][_0x43f519(0x1df)](_0x2a376c=>({..._0x2a376c,'label':this[_0x43f519(0x24f)](_0x3d1412+_0x43f519(0x1e0),_0x2a376c[_0x43f519(0x228)]||''),'data':_0x2a376c[_0x43f519(0x24c)]?_0x2a376c[_0x43f519(0x24c)][_0x43f519(0x1df)](_0x387a7b=>({..._0x387a7b,'label':this[_0x43f519(0x24f)](_0x3d1412+_0x43f519(0x1f0)+_0x387a7b['id'][_0x43f519(0x222)](),_0x387a7b[_0x43f519(0x228)])})):void 0x0}))),_0x35c7e7;}[_0x3446d6(0x1e1)](_0x4bc4bb){const _0x11c602=_0x3446d6,_0x3e8be5=[];_0x4bc4bb[_0x11c602(0x206)][_0x11c602(0x251)](_0x461640=>{const _0x28f1f5=_0x11c602;(_0x461640 instanceof _0x5aab1d&&!_0x461640[_0x28f1f5(0x1f4)]||_0x461640 instanceof _0x46e9d1&&!_0x461640[_0x28f1f5(0x262)][_0x28f1f5(0x1f2)])&&_0x3e8be5[_0x28f1f5(0x25e)](_0x461640['id']);}),_0x3e8be5[_0x11c602(0x1f2)]&&_0x3e8be5[_0x11c602(0x251)](_0x72ca3e=>{const _0x5672f8=_0x11c602;_0x4bc4bb[_0x5672f8(0x25c)](_0x72ca3e),this[_0x5672f8(0x1fa)](new _0x16c9c0(_0x5672f8(0x23a),this,{'commandId':_0x72ca3e}),!0x0);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15db13=_0x57a5;(function(_0x185b7c,_0x53d54b){const _0x25a20c=_0x57a5,_0x31e7c9=_0x185b7c();while(!![]){try{const _0x549e03=-parseInt(_0x25a20c(0xc9))/0x1+-parseInt(_0x25a20c(0xd0))/0x2+parseInt(_0x25a20c(0xc5))/0x3*(parseInt(_0x25a20c(0xd1))/0x4)+parseInt(_0x25a20c(0xc8))/0x5*(parseInt(_0x25a20c(0xbc))/0x6)+-parseInt(_0x25a20c(0xd8))/0x7+parseInt(_0x25a20c(0xbd))/0x8+-parseInt(_0x25a20c(0xc3))/0x9;if(_0x549e03===_0x53d54b)break;else _0x31e7c9['push'](_0x31e7c9['shift']());}catch(_0x14e703){_0x31e7c9['push'](_0x31e7c9['shift']());}}}(_0x1511,0xc9285));function _0x1511(){const _0x5362f7=['6153748SHxnIa','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','plugins','registerTab','fire','view','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','403585kzPoBY','addTab','AITabs','createMainView','1434366rPNqMG','1203296yatJnp','_mainView','ck-ai-header\x20ck-ai-header_review','AIReviewModeUI','locale','context','2178504TfOnSW','get','3XWdBVq','activateTab','reviewMode','30mgbIXC','915312gxvwKx','pluginName','leaveReview','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','getReviewCheckList','AI_REVIEW_MODE','2168502dvsFhx'];_0x1511=function(){return _0x5362f7;};return _0x1511();}function _0x57a5(_0x44611b,_0x513b35){const _0x151113=_0x1511();return _0x57a5=function(_0x57a526,_0x2cd583){_0x57a526=_0x57a526-0xbb;let _0x15fcef=_0x151113[_0x57a526];return _0x15fcef;},_0x57a5(_0x44611b,_0x513b35);}import{FormHeaderView as _0x5709e9}from'ckeditor5/src/ui.js';import{IconAIReview as _0x3b233f}from'ckeditor5/src/icons.js';import{getTranslation as _0x330b9a}from'../aicore/utils/common-translations.js';import{AIReviewCoreView as _0x556637}from'../aireviewcore/ui/aireviewcoreview.js';import{AIReviewCoreUI as _0x2a2ad0}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreUICheckResultsView as _0x5d20d9}from'../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x37cc6f}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AIReviewCoreReviewCheckListView as _0x3e063a}from'../aireviewcore/ui/aireviewcorereviewchecklistview.js';export class AIReviewModeUI extends _0x2a2ad0{static get[_0x15db13(0xca)](){const _0x2ffdd2=_0x15db13;return _0x2ffdd2(0xc0);}[_0x15db13(0xbb)](){const _0x1ad719=_0x15db13,_0x1a654b=this[_0x1ad719(0xc2)][_0x1ad719(0xc1)],_0x441904=new _0x5709e9(_0x1a654b,{'label':_0x330b9a(_0x1a654b,_0x1ad719(0xcf)),'icon':_0x3b233f,'class':_0x1ad719(0xbf)});return new _0x556637(this[_0x1ad719(0xc2)][_0x1ad719(0xc1)],{'header':_0x441904,'list':new _0x3e063a(_0x1a654b),'results':new _0x5d20d9(_0x1a654b,{'generalErrorText':_0x330b9a(_0x1a654b,_0x1ad719(0xcd))}),'completed':new _0x37cc6f(_0x1a654b,{'headerText':_0x330b9a(_0x1a654b,_0x1ad719(0xcc)),'emptyResultsText':_0x330b9a(_0x1a654b,_0x1ad719(0xd7)),'buttonText':_0x330b9a(_0x1a654b,_0x1ad719(0xd2))})});}[_0x15db13(0xd4)](){const _0x2228ea=_0x15db13,_0x19afac=this[_0x2228ea(0xc2)][_0x2228ea(0xd3)][_0x2228ea(0xc4)](_0x2228ea(0xda));_0x19afac[_0x2228ea(0xd6)]['on'](_0x2228ea(0xc6),(_0x1987e8,_0x189c99)=>{const _0x3a79a1=_0x2228ea;_0x3a79a1(0xc7)===_0x189c99?this[_0x3a79a1(0xd5)](_0x3a79a1(0xce)):this[_0x3a79a1(0xd5)](_0x3a79a1(0xcb));}),_0x19afac[_0x2228ea(0xd6)][_0x2228ea(0xd9)]({'id':_0x2228ea(0xc7),'buttonLabel':_0x330b9a(this[_0x2228ea(0xc2)][_0x2228ea(0xc1)],_0x2228ea(0xcf)),'buttonIcon':_0x3b233f,'order':0x0,'content':this[_0x2228ea(0xbe)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x543f(){var _0x47a141=['_defaultModel','909496pIIaPF','6834260RYCpfz','_models','5444886mNKAgc','1011560zTNoVK','defaultModel','219yMJeFU','1035DDPaEI','99464OJIaWZ','220fNcvte','7tRmcCw','models','2892538FMXhjo','16082hweiHV'];_0x543f=function(){return _0x47a141;};return _0x543f();}var _0x276705=_0x3e91;function _0x3e91(_0x51d377,_0x1c75fe){var _0x543f22=_0x543f();return _0x3e91=function(_0x3e912e,_0x1a52c2){_0x3e912e=_0x3e912e-0x1c8;var _0x3dc5ed=_0x543f22[_0x3e912e];return _0x3dc5ed;},_0x3e91(_0x51d377,_0x1c75fe);}(function(_0x35843b,_0x47f851){var _0x356cff=_0x3e91,_0x174fda=_0x35843b();while(!![]){try{var _0x55f42b=-parseInt(_0x356cff(0x1d3))/0x1+-parseInt(_0x356cff(0x1d1))/0x2*(parseInt(_0x356cff(0x1ca))/0x3)+parseInt(_0x356cff(0x1c8))/0x4+-parseInt(_0x356cff(0x1d4))/0x5+parseInt(_0x356cff(0x1d6))/0x6*(-parseInt(_0x356cff(0x1ce))/0x7)+-parseInt(_0x356cff(0x1cc))/0x8*(parseInt(_0x356cff(0x1cb))/0x9)+parseInt(_0x356cff(0x1cd))/0xa*(parseInt(_0x356cff(0x1d0))/0xb);if(_0x55f42b===_0x47f851)break;else _0x174fda['push'](_0x174fda['shift']());}catch(_0x524919){_0x174fda['push'](_0x174fda['shift']());}}}(_0x543f,0xcc6e5));import{AIReviewCheck as _0x5696c8}from'../../aireviewcore/model/aireviewcheck.js';export class AIReviewCheckCustom extends _0x5696c8{[_0x276705(0x1d5)]=[];[_0x276705(0x1d2)]=null;constructor(_0x268354,_0xdaec22,_0xa6b433){var _0x56d9e8=_0x276705;super(_0x268354),this[_0x56d9e8(0x1d5)]=_0xdaec22,this[_0x56d9e8(0x1d2)]=_0xa6b433;}get[_0x276705(0x1cf)](){var _0x41bc1c=_0x276705;return this[_0x41bc1c(0x1d5)];}get[_0x276705(0x1c9)](){var _0x3934ed=_0x276705;return this[_0x3934ed(0x1d2)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x56bdb3=_0x2fc3;(function(_0x2e63c6,_0x35c324){var _0x57ec3d=_0x2fc3,_0x5da4f5=_0x2e63c6();while(!![]){try{var _0x269284=parseInt(_0x57ec3d(0x1c3))/0x1+-parseInt(_0x57ec3d(0x1c6))/0x2*(parseInt(_0x57ec3d(0x1bf))/0x3)+parseInt(_0x57ec3d(0x1be))/0x4+-parseInt(_0x57ec3d(0x1bc))/0x5+-parseInt(_0x57ec3d(0x1c5))/0x6*(-parseInt(_0x57ec3d(0x1bb))/0x7)+parseInt(_0x57ec3d(0x1c0))/0x8+-parseInt(_0x57ec3d(0x1bd))/0x9;if(_0x269284===_0x35c324)break;else _0x5da4f5['push'](_0x5da4f5['shift']());}catch(_0x15d945){_0x5da4f5['push'](_0x5da4f5['shift']());}}}(_0xd5f9,0x23d49));import{AIReviewCheck as _0x5c9783}from'../../aireviewcore/model/aireviewcheck.js';function _0x2fc3(_0x2e7335,_0x99e9e3){var _0xd5f9bd=_0xd5f9();return _0x2fc3=function(_0x2fc350,_0x2538fa){_0x2fc350=_0x2fc350-0x1b8;var _0x1e6458=_0xd5f9bd[_0x2fc350];return _0x1e6458;},_0x2fc3(_0x2e7335,_0x99e9e3);}function _0xd5f9(){var _0x550453=['2327985gcPTFn','165628HWUYGZ','6WkAZGu','1681344PTOHkv','_defaultModel','isExtra','248185cKdPKu','defaultModel','96psdPsF','26498SoexBf','model','prompt','find','54803cNzirK','965500HwAaVi'];_0xd5f9=function(){return _0x550453;};return _0xd5f9();}export class AIReviewCheckExtra extends _0x5c9783{[_0x56bdb3(0x1c2)]=!0x0;[_0x56bdb3(0x1b9)];[_0x56bdb3(0x1b8)];[_0x56bdb3(0x1c1)]=null;constructor(_0x298e7b,_0xa64908,_0x3a3490){var _0xe909b3=_0x56bdb3;super(_0x298e7b),this[_0xe909b3(0x1b9)]=_0x298e7b[_0xe909b3(0x1b9)],this[_0xe909b3(0x1b8)]=_0x298e7b[_0xe909b3(0x1b8)],this[_0xe909b3(0x1b8)]?this[_0xe909b3(0x1c1)]=_0xa64908[_0xe909b3(0x1ba)](_0x4a640a=>_0x4a640a['id']===this[_0xe909b3(0x1b8)])||null:this[_0xe909b3(0x1c1)]=_0x3a3490;}get[_0x56bdb3(0x1c4)](){var _0x80ae58=_0x56bdb3;return this[_0x80ae58(0x1c1)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x546779=_0x5581;(function(_0x59d8c8,_0x22964c){var _0x245fe1=_0x5581,_0x4f8e60=_0x59d8c8();while(!![]){try{var _0x12d023=-parseInt(_0x245fe1(0x133))/0x1*(parseInt(_0x245fe1(0x135))/0x2)+parseInt(_0x245fe1(0x123))/0x3*(parseInt(_0x245fe1(0x125))/0x4)+parseInt(_0x245fe1(0x12e))/0x5+parseInt(_0x245fe1(0x131))/0x6+-parseInt(_0x245fe1(0x127))/0x7*(parseInt(_0x245fe1(0x136))/0x8)+parseInt(_0x245fe1(0x129))/0x9*(-parseInt(_0x245fe1(0x126))/0xa)+parseInt(_0x245fe1(0x132))/0xb;if(_0x12d023===_0x22964c)break;else _0x4f8e60['push'](_0x4f8e60['shift']());}catch(_0x5ce225){_0x4f8e60['push'](_0x4f8e60['shift']());}}}(_0x4cb9,0xa77dc));import{AIReviewCheckRun as _0x2e6371}from'../../aireviewcore/model/aireviewcheckrun.js';function _0x5581(_0x290aac,_0x3ad2e7){var _0x4cb94e=_0x4cb9();return _0x5581=function(_0x5581a5,_0x35dff1){_0x5581a5=_0x5581a5-0x123;var _0x1d3422=_0x4cb94e[_0x5581a5];return _0x1d3422;},_0x5581(_0x290aac,_0x3ad2e7);}export class AIReviewCustomCheckRun extends _0x2e6371{[_0x546779(0x12d)];[_0x546779(0x124)];constructor(_0x172858,_0x404ae9,_0x1daf00,_0x267649,_0x443744){var _0x3843a0=_0x546779;super(_0x1daf00,_0x267649,_0x443744),this[_0x3843a0(0x12d)]=_0x172858,this[_0x3843a0(0x124)]=_0x404ae9;}get[_0x546779(0x130)](){var _0x206cae=_0x546779;return this[_0x206cae(0x12d)];}[_0x546779(0x12c)](){var _0x489111=_0x546779;return this[_0x489111(0x12b)][_0x489111(0x128)]({'content':this[_0x489111(0x137)][_0x489111(0x12a)],'prompt':this[_0x489111(0x12d)],'model':this[_0x489111(0x124)]});}[_0x546779(0x12f)](_0x256467,_0x40e07e,_0xcbe3b4){var _0x2ce1a9=_0x546779;return this[_0x2ce1a9(0x12b)][_0x2ce1a9(0x134)](_0x40e07e,_0x256467,_0xcbe3b4);}}function _0x4cb9(){var _0x38e4a5=['3900804yapMON','16101338ZlIwml','4077wJXjZK','upsertCustomAIReviewRating','216pKcdfO','416TVdJQT','_documentData','3KFfCaa','_model','3215756jKVukn','20gJbzGz','174237xqoJma','callCustomReview','5898636aLsjaH','content','_aiConnector','_createApiRequest','_prompt','4068345zoQamC','_sendRatingRequest','subTitle'];_0x4cb9=function(){return _0x38e4a5;};return _0x4cb9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0xb7c631=_0x4fb5;function _0x32a8(){var _0x2812c8=['4426785GABwNP','8srLnrd','model','1854391zTZJMy','13287362usisGP','119084nfleeM','prompt','3606CulgHy','3HNwzZB','_model','3955vSmqpo','6217910RwqLjo','188RLmhpI','_prompt','subTitle','39747FsIPDw'];_0x32a8=function(){return _0x2812c8;};return _0x32a8();}(function(_0x4d747c,_0x3a048a){var _0x1fdc83=_0x4fb5,_0x5c7b50=_0x4d747c();while(!![]){try{var _0x1d7a79=parseInt(_0x1fdc83(0x105))/0x1*(-parseInt(_0x1fdc83(0x102))/0x2)+parseInt(_0x1fdc83(0x10c))/0x3*(-parseInt(_0x1fdc83(0x109))/0x4)+parseInt(_0x1fdc83(0x107))/0x5*(-parseInt(_0x1fdc83(0x104))/0x6)+-parseInt(_0x1fdc83(0x110))/0x7*(-parseInt(_0x1fdc83(0x10e))/0x8)+-parseInt(_0x1fdc83(0x10d))/0x9+parseInt(_0x1fdc83(0x108))/0xa+parseInt(_0x1fdc83(0x101))/0xb;if(_0x1d7a79===_0x3a048a)break;else _0x5c7b50['push'](_0x5c7b50['shift']());}catch(_0x2d5dc8){_0x5c7b50['push'](_0x5c7b50['shift']());}}}(_0x32a8,0x4f9ad));import{AIReviewCustomCheckRun as _0x1e63f7}from'./aireviewcustomcheckrun.js';function _0x4fb5(_0x52f5ab,_0x4f3b02){var _0x32a813=_0x32a8();return _0x4fb5=function(_0x4fb582,_0x579e3a){_0x4fb582=_0x4fb582-0x101;var _0x5d4f0d=_0x32a813[_0x4fb582];return _0x5d4f0d;},_0x4fb5(_0x52f5ab,_0x4f3b02);}export class AIReviewExtraCheckRun extends _0x1e63f7{get[_0xb7c631(0x10b)](){return'';}set[_0xb7c631(0x103)](_0x5dbd78){var _0x112998=_0xb7c631;this[_0x112998(0x10a)]=_0x5dbd78;}set[_0xb7c631(0x10f)](_0x182ce4){var _0x50d1dd=_0xb7c631;this[_0x50d1dd(0x106)]=_0x182ce4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x430782=_0x11ed;(function(_0x268738,_0x11b6e3){var _0x4ecbed=_0x11ed,_0x4a1359=_0x268738();while(!![]){try{var _0x1c674c=-parseInt(_0x4ecbed(0xba))/0x1*(-parseInt(_0x4ecbed(0xbc))/0x2)+parseInt(_0x4ecbed(0xb9))/0x3*(-parseInt(_0x4ecbed(0xbb))/0x4)+-parseInt(_0x4ecbed(0xbf))/0x5*(parseInt(_0x4ecbed(0xb4))/0x6)+parseInt(_0x4ecbed(0xc0))/0x7+parseInt(_0x4ecbed(0xc2))/0x8*(-parseInt(_0x4ecbed(0xb7))/0x9)+parseInt(_0x4ecbed(0xbe))/0xa*(-parseInt(_0x4ecbed(0xb5))/0xb)+-parseInt(_0x4ecbed(0xb1))/0xc*(-parseInt(_0x4ecbed(0xaf))/0xd);if(_0x1c674c===_0x11b6e3)break;else _0x4a1359['push'](_0x4a1359['shift']());}catch(_0x181997){_0x4a1359['push'](_0x4a1359['shift']());}}}(_0x5cb5,0x2fae2));import{AIReviewCheckList as _0x5893d2}from'../../aireviewcore/model/aireviewchecklist.js';function _0x11ed(_0x3f833e,_0x5c5819){var _0x5cb559=_0x5cb5();return _0x11ed=function(_0x11ed4b,_0x5a676d){_0x11ed4b=_0x11ed4b-0xae;var _0x1dcbdd=_0x5cb559[_0x11ed4b];return _0x1dcbdd;},_0x11ed(_0x3f833e,_0x5c5819);}import{AIReviewCheck as _0x45fdec}from'../../aireviewcore/model/aireviewcheck.js';import{AIReviewCheckCustom as _0x2f4d5c}from'./aireviewcheckcustom.js';import{AIReviewCheckExtra as _0x3f8a9d}from'./aireviewcheckextra.js';export class AIReviewModeCheckList extends _0x5893d2{[_0x430782(0xbd)]=[];[_0x430782(0xb8)]=[];[_0x430782(0xc1)]=null;constructor(_0x52161c,_0x3d9a81,_0x36c6aa){var _0x549648=_0x430782;super(),this[_0x549648(0xbd)]=_0x52161c,this[_0x549648(0xb8)]=_0x3d9a81,this[_0x549648(0xc1)]=_0x36c6aa;}[_0x430782(0xb0)](_0x19f9ab){var _0x410363=_0x430782;this[_0x410363(0xae)]=_0x19f9ab[_0x410363(0xb6)](_0x4a6843=>!0x0===_0x4a6843[_0x410363(0xb3)]?new _0x3f8a9d(_0x4a6843,this[_0x410363(0xbd)],this[_0x410363(0xc1)]):_0x410363(0xb2)===_0x4a6843['id']?new _0x2f4d5c(_0x4a6843,this[_0x410363(0xb8)],this[_0x410363(0xc1)]):new _0x45fdec(_0x4a6843));}}function _0x5cb5(){var _0x141f80=['_allModels','110OYEgGc','909955DbBuXh','530656tfenlx','_defaultModel','1112VDegxE','_checks','10298743iDCvkR','setupChecks','12jUApUZ','custom','isExtra','6kfVvmi','357533vUpahg','map','21051oUjqwK','_recommendedModels','6756YabCZO','8WzTRsz','108NbfEBl','63182ksvFdZ'];_0x5cb5=function(){return _0x141f80;};return _0x5cb5();}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x8c86(_0x3b02c8,_0xafa317){const _0x3611b0=_0x3611();return _0x8c86=function(_0x8c8690,_0x482412){_0x8c8690=_0x8c8690-0x1ef;let _0x3f5361=_0x3611b0[_0x8c8690];return _0x3f5361;},_0x8c86(_0x3b02c8,_0xafa317);}const _0xc3afa4=_0x8c86;(function(_0x428cd0,_0x43a5fd){const _0x42dbfa=_0x8c86,_0x2892b0=_0x428cd0();while(!![]){try{const _0x9e6d07=-parseInt(_0x42dbfa(0x219))/0x1*(parseInt(_0x42dbfa(0x214))/0x2)+parseInt(_0x42dbfa(0x21a))/0x3*(-parseInt(_0x42dbfa(0x1fc))/0x4)+parseInt(_0x42dbfa(0x21e))/0x5+parseInt(_0x42dbfa(0x1ef))/0x6+parseInt(_0x42dbfa(0x1fd))/0x7+parseInt(_0x42dbfa(0x21f))/0x8+parseInt(_0x42dbfa(0x200))/0x9;if(_0x9e6d07===_0x43a5fd)break;else _0x2892b0['push'](_0x2892b0['shift']());}catch(_0x52844d){_0x2892b0['push'](_0x2892b0['shift']());}}}(_0x3611,0x9c189));import{ContextPlugin as _0xd8b8e9,Editor as _0x11fe9d}from'ckeditor5/src/core.js';import{CKEditorError as _0x3c4a61}from'ckeditor5/src/utils.js';import{AITabsMainView as _0xd5e793,AI_TABS_VIEW_SIDES as _0x1d0728,AI_TABS_VIEW_TYPES as _0x2e3905}from'./aitabsmainview.js';function _0x3611(){const _0x469d85=['pluginName','set','view','includes','showResizeButton','ai-tabs-sidebar-container-element-not-found','fire','type','body','add','visibleByDefault','ai-tabs-unsupported-ui-type','AITabs','bind','remove','side','render','isPremiumPlugin','2SRXKcy','custom','locale','sidebar','resize','489103cqQSKb','9MoHKyN','ai-tabs-unsupported-ui-side','destroy','switchSide','425415DHgtev','3532416UCJHWg','6649320VnboKM','focusTracker','config','context','ai-tabs-configuration-not-found','container','get','isMaximized','resizedTabs','element','switchType','overlay','ai.container','1584868EtZNGX','3383415AKIudr','right','isOfficialPlugin','1790307wzetQq','appendChild'];_0x3611=function(){return _0x469d85;};return _0x3611();}export class AITabs extends _0xd8b8e9{[_0xc3afa4(0x204)];[_0xc3afa4(0x1f4)]=null;[_0xc3afa4(0x206)]=!0x0;static get[_0xc3afa4(0x202)](){const _0xd8aed0=_0xc3afa4;return _0xd8aed0(0x20e);}static get[_0xc3afa4(0x1ff)](){return!0x0;}static get[_0xc3afa4(0x213)](){return!0x0;}constructor(_0x24b0a2){const _0x51aab8=_0xc3afa4;super(_0x24b0a2);const _0x5176ad=this[_0x51aab8(0x1f2)][_0x51aab8(0x1f1)][_0x51aab8(0x1f5)](_0x51aab8(0x1fb));if(this[_0x51aab8(0x203)](_0x51aab8(0x211),_0x51aab8(0x1fe)),!_0x5176ad)throw new _0x3c4a61(_0x51aab8(0x1f3));if(void 0x0!==_0x5176ad[_0x51aab8(0x206)]&&(this[_0x51aab8(0x206)]=_0x5176ad[_0x51aab8(0x206)]),_0x51aab8(0x217)!==_0x5176ad[_0x51aab8(0x209)]&&_0x51aab8(0x1fa)!==_0x5176ad[_0x51aab8(0x209)]||_0x5176ad[_0x51aab8(0x211)]&&(this[_0x51aab8(0x211)]=_0x5176ad[_0x51aab8(0x211)]),_0x51aab8(0x217)===_0x5176ad[_0x51aab8(0x209)]){if(this[_0x51aab8(0x1f4)]=_0x5176ad[_0x51aab8(0x1f8)],this[_0x51aab8(0x203)](_0x51aab8(0x209),_0x51aab8(0x217)),!this[_0x51aab8(0x1f4)])throw new _0x3c4a61(_0x51aab8(0x207));}else _0x51aab8(0x1fa)===_0x5176ad[_0x51aab8(0x209)]?(this[_0x51aab8(0x1f4)]=document[_0x51aab8(0x20a)],this[_0x51aab8(0x203)](_0x51aab8(0x209),_0x51aab8(0x1fa))):(this[_0x51aab8(0x1f4)]=null,this[_0x51aab8(0x203)](_0x51aab8(0x209),_0x51aab8(0x215)));this[_0x51aab8(0x204)]=new _0xd5e793(this[_0x51aab8(0x1f2)][_0x51aab8(0x216)],{'side':this[_0x51aab8(0x211)],'type':this[_0x51aab8(0x209)],'visibleByDefault':void 0x0===_0x5176ad[_0x51aab8(0x20c)]||_0x5176ad[_0x51aab8(0x20c)]}),this[_0x51aab8(0x204)][_0x51aab8(0x212)](),this[_0x51aab8(0x204)][_0x51aab8(0x20f)](_0x51aab8(0x211))['to'](this,_0x51aab8(0x211)),this[_0x51aab8(0x204)][_0x51aab8(0x20f)](_0x51aab8(0x209))['to'](this,_0x51aab8(0x209)),this[_0x51aab8(0x1f4)]&&this[_0x51aab8(0x1f4)][_0x51aab8(0x201)](this[_0x51aab8(0x204)][_0x51aab8(0x1f8)]),this[_0x51aab8(0x1f2)]instanceof _0x11fe9d&&this[_0x51aab8(0x1f2)]['ui'][_0x51aab8(0x1f0)][_0x51aab8(0x20b)](this[_0x51aab8(0x204)][_0x51aab8(0x1f8)]);}[_0xc3afa4(0x1f9)](_0x11a880){const _0x431e8b=_0xc3afa4;if(_0x11a880&&this[_0x431e8b(0x209)]!==_0x11a880){if(!_0x2e3905[_0x431e8b(0x205)](_0x11a880))throw new _0x3c4a61(_0x431e8b(0x20d));this[_0x431e8b(0x209)]=_0x11a880;}}[_0xc3afa4(0x21d)](_0x49d6ea){const _0x4c06e7=_0xc3afa4;if(_0x49d6ea&&this[_0x4c06e7(0x211)]!==_0x49d6ea){if(!_0x1d0728[_0x4c06e7(0x205)](_0x49d6ea))throw new _0x3c4a61(_0x4c06e7(0x21b));this[_0x4c06e7(0x211)]=_0x49d6ea;}}[_0xc3afa4(0x218)](){const _0xb9d0a5=_0xc3afa4;this[_0xb9d0a5(0x204)][_0xb9d0a5(0x1f6)]=!this[_0xb9d0a5(0x204)][_0xb9d0a5(0x1f6)],this[_0xb9d0a5(0x208)](_0xb9d0a5(0x1f7),this[_0xb9d0a5(0x204)][_0xb9d0a5(0x1f6)]);}[_0xc3afa4(0x21c)](){const _0x111966=_0xc3afa4;super[_0x111966(0x21c)](),this[_0x111966(0x204)][_0x111966(0x21c)](),this[_0x111966(0x204)][_0x111966(0x1f8)]&&this[_0x111966(0x204)][_0x111966(0x1f8)][_0x111966(0x210)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x559f15=_0x319d;(function(_0x3225e3,_0x51d0e4){const _0x4f54be=_0x319d,_0x2bfc4e=_0x3225e3();while(!![]){try{const _0x4c28dd=parseInt(_0x4f54be(0x9a))/0x1+parseInt(_0x4f54be(0x92))/0x2*(-parseInt(_0x4f54be(0x99))/0x3)+parseInt(_0x4f54be(0x98))/0x4+-parseInt(_0x4f54be(0x9e))/0x5*(-parseInt(_0x4f54be(0x93))/0x6)+parseInt(_0x4f54be(0xa0))/0x7*(parseInt(_0x4f54be(0x95))/0x8)+-parseInt(_0x4f54be(0x8b))/0x9+-parseInt(_0x4f54be(0x8c))/0xa;if(_0x4c28dd===_0x51d0e4)break;else _0x2bfc4e['push'](_0x2bfc4e['shift']());}catch(_0x4400a1){_0x2bfc4e['push'](_0x2bfc4e['shift']());}}}(_0x2721,0x27a13));function _0x319d(_0x558d14,_0x38cc02){const _0x2721da=_0x2721();return _0x319d=function(_0x319d1f,_0x1180f4){_0x319d1f=_0x319d1f-0x88;let _0x2becc0=_0x2721da[_0x319d1f];return _0x2becc0;},_0x319d(_0x558d14,_0x38cc02);}import{AITabsView as _0x1a324f}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x559f15(0x8e),_0x559f15(0x8f),_0x559f15(0x96)];export const AI_TABS_VIEW_SIDES=[_0x559f15(0x9f),_0x559f15(0x91)];function _0x2721(){const _0x295335=['visibleByDefault','withText','1399644vDKTTY','228000WFSjEK','ck-ai-tabs__overlay','overlay','sidebar','buttonViews','right','2cMuhem','438324HNUQTr','add','8xLaTVB','custom','ck-ai-tabs__sidebar','446308YPlPNM','895029LNmMuh','131609ZyQrWE','type','isVisible','set','15VnWxyl','left','1236438NukkFr','ck-ai-tabs','extendTemplate','side','bindTemplate','ck-hidden'];_0x2721=function(){return _0x295335;};return _0x2721();}export class AITabsMainView extends _0x1a324f{constructor(_0x49781c,_0x26c8be={}){const _0x57f028=_0x559f15;super(_0x49781c,_0x26c8be),this[_0x57f028(0x9d)](_0x57f028(0x9b),_0x26c8be[_0x57f028(0x9b)]||_0x57f028(0x8f)),this[_0x57f028(0x9d)](_0x57f028(0xa3),_0x26c8be[_0x57f028(0xa3)]||_0x57f028(0x91)),this[_0x57f028(0x9d)](_0x57f028(0x9c),_0x26c8be[_0x57f028(0x89)]??!0x0);const _0x3cfb46=this[_0x57f028(0xa4)];this[_0x57f028(0xa2)]({'attributes':{'class':[_0x57f028(0xa1),_0x3cfb46['if'](_0x57f028(0x9b),_0x57f028(0x8d),_0xc2c095=>_0x57f028(0x8e)===_0xc2c095),_0x3cfb46['if'](_0x57f028(0x9b),_0x57f028(0x97),_0x1fdcd0=>_0x57f028(0x8f)===_0x1fdcd0),_0x3cfb46['if'](_0x57f028(0x9c),_0x57f028(0x88),_0x20960c=>!_0x20960c)]}}),this[_0x57f028(0x90)]['on'](_0x57f028(0x94),(_0x3c2ba0,_0x3ebba3)=>{const _0x5b7e66=_0x57f028;_0x3ebba3[_0x5b7e66(0x9d)](_0x5b7e66(0x8a),!0x1);});}}
|