@ckeditor/ckeditor5-ai 47.2.0-alpha.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/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/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +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/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/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/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/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x441c38=_0x6bd5;(function(_0x506e41,_0x2ae2fc){const _0x169b4d=_0x6bd5,_0x1915fb=_0x506e41();while(!![]){try{const _0xa8bb96=-parseInt(_0x169b4d(0x122))/0x1+parseInt(_0x169b4d(0x14c))/0x2*(parseInt(_0x169b4d(0x128))/0x3)+parseInt(_0x169b4d(0x11b))/0x4+parseInt(_0x169b4d(0x135))/0x5+-parseInt(_0x169b4d(0x160))/0x6+-parseInt(_0x169b4d(0x155))/0x7+-parseInt(_0x169b4d(0x16b))/0x8*(parseInt(_0x169b4d(0x157))/0x9);if(_0xa8bb96===_0x2ae2fc)break;else _0x1915fb['push'](_0x1915fb['shift']());}catch(_0x453b5e){_0x1915fb['push'](_0x1915fb['shift']());}}}(_0x2b44,0x45c0e));import{ContextPlugin as _0x3563bb}from'ckeditor5/src/core.js';import{IconAIReview as _0x59310d}from'ckeditor5/src/icons.js';function _0x2b44(){const _0x50027c=['showReviewCheckListView','showResult','showChunkErrorView','status','forEach','showCheckRunResult','detachFromDom','showReviewCompletedView','getResults','hideChangeBalloon','setActiveStateInResults','outdated','plugins','requires','error-chunk','acceptAllChanges','showGeneralErrorView','destroy','showChangeBalloon','showBalloon','425860BHWALZ','hideDiffInBalloon','leaveReviewModeResultList','acceptChange','addCheckRunResult','reviewCheckResultsView','setTitle','leaveReviewMode','setItemAsInactive','4095fhxdVk','dismissChange','9KgWCoP','runReviewCheck','showCheckRunResults','_reviewModeView','showReviewCheckList','AI_REVIEW_MODE','_bodyCollection','init','_reviewModeBalloonSuggestionItemView','2652612hqopRG','showDiffInBalloon','setChecks','isOfficialPlugin','hideResult','find','getChangeElement','finishReview','accepted','hideBalloon','fire','539536PpSHca','activateTab','showReviewCheckResultsView','setAvailableChecks','showActionsWhenResultIsReady','hasChecks','get','attachToDom','getReviewCheckList','AIReviewModeUI','2054916lTIvEm','setItemAsActive','reviewCheckListView','updateChangeState','context','view','error-general','481197BMJeiI','showNoChangesView','resetActiveStateInResults','reviewMode','AITabs','locale','6IypPFZ','learnMore','deactivateChange','element','abortReviewStream','activateChange','toggleDiff','delegate','rejected','addTab','setCheckResultTitle','hideActionsWhenResultIsReady','pluginName','1687235stjdWh','isPremiumPlugin','retryReview'];_0x2b44=function(){return _0x50027c;};return _0x2b44();}import{BodyCollection as _0x56aac1}from'ckeditor5/src/ui.js';import{AITabs as _0x4122db}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x1b18c7}from'./ui/aireviewmodeview.js';import{getTranslation as _0x45fe56}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0xb11cfb}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x441c38(0x119),_0x441c38(0x158),_0x441c38(0x12c),_0x441c38(0x12e),_0x441c38(0x147),_0x441c38(0x14e),_0x441c38(0x12d),_0x441c38(0x14f),_0x441c38(0x156),_0x441c38(0x129),_0x441c38(0x167),_0x441c38(0x137)];function _0x6bd5(_0x276c7b,_0x1aeabf){const _0x2b4455=_0x2b44();return _0x6bd5=function(_0x6bd5e1,_0x4e0f88){_0x6bd5e1=_0x6bd5e1-0x112;let _0x446485=_0x2b4455[_0x6bd5e1];return _0x446485;},_0x6bd5(_0x276c7b,_0x1aeabf);}export class AIReviewModeUI extends _0x3563bb{[_0x441c38(0x15a)];[_0x441c38(0x15f)];[_0x441c38(0x15d)];static get[_0x441c38(0x145)](){return[_0x4122db];}static get[_0x441c38(0x134)](){const _0x2b1388=_0x441c38;return _0x2b1388(0x11a);}static get[_0x441c38(0x163)](){return!0x0;}static get[_0x441c38(0x136)](){return!0x0;}constructor(_0x1ca98f){const _0x3ba3f2=_0x441c38;super(_0x1ca98f),this[_0x3ba3f2(0x15d)]=new _0x56aac1(this[_0x3ba3f2(0x11f)][_0x3ba3f2(0x127)]),this[_0x3ba3f2(0x15d)][_0x3ba3f2(0x118)](),this[_0x3ba3f2(0x15a)]=new _0x1b18c7(this[_0x3ba3f2(0x11f)][_0x3ba3f2(0x127)]),this[_0x3ba3f2(0x15a)][_0x3ba3f2(0x12f)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x3ba3f2(0x15f)]=new _0xb11cfb(this[_0x3ba3f2(0x11f)][_0x3ba3f2(0x127)],this[_0x3ba3f2(0x15d)]),this[_0x3ba3f2(0x15f)][_0x3ba3f2(0x12f)](_0x3ba3f2(0x14f),_0x3ba3f2(0x156),_0x3ba3f2(0x12a))['to'](this);}[_0x441c38(0x15e)](){const _0x59b9a5=_0x441c38,_0x168c90=this[_0x59b9a5(0x11f)][_0x59b9a5(0x144)][_0x59b9a5(0x117)](_0x59b9a5(0x126));_0x168c90[_0x59b9a5(0x120)]['on'](_0x59b9a5(0x112),(_0x282913,_0x17414a)=>{const _0x4f5542=_0x59b9a5;_0x4f5542(0x125)===_0x17414a?this[_0x4f5542(0x16a)](_0x4f5542(0x119)):this[_0x4f5542(0x16a)](_0x4f5542(0x153));}),_0x168c90[_0x59b9a5(0x120)][_0x59b9a5(0x131)]({'id':_0x59b9a5(0x125),'buttonLabel':_0x45fe56(this[_0x59b9a5(0x11f)][_0x59b9a5(0x127)],_0x59b9a5(0x15c)),'buttonIcon':_0x59310d,'order':0x0,'content':this[_0x59b9a5(0x15a)]});}[_0x441c38(0x149)](){const _0x3875e6=_0x441c38;this[_0x3875e6(0x15d)][_0x3875e6(0x13e)](),super[_0x3875e6(0x149)]();}[_0x441c38(0x114)](_0x160722){const _0x356eec=_0x441c38;this[_0x356eec(0x15a)][_0x356eec(0x11d)][_0x356eec(0x116)]()||this[_0x356eec(0x15a)][_0x356eec(0x11d)][_0x356eec(0x162)](_0x160722),this[_0x356eec(0x15a)][_0x356eec(0x138)]();}[_0x441c38(0x15b)](){const _0xe5ded5=_0x441c38;this[_0xe5ded5(0x16a)](_0xe5ded5(0x119));}[_0x441c38(0x159)](_0x3e702c){const _0x8735d9=_0x441c38;_0x3e702c&&(_0x8735d9(0x121)!==_0x3e702c[_0x8735d9(0x13b)]?_0x8735d9(0x146)!==_0x3e702c[_0x8735d9(0x13b)]?this[_0x8735d9(0x15a)][_0x8735d9(0x113)]():this[_0x8735d9(0x13a)]():this[_0x8735d9(0x148)]());}[_0x441c38(0x13d)](_0x2d0602){const _0x43fc64=_0x441c38;this[_0x43fc64(0x15a)][_0x43fc64(0x150)](_0x2d0602);}[_0x441c38(0x148)](){const _0x25864f=_0x441c38;this[_0x25864f(0x15a)][_0x25864f(0x148)]();}[_0x441c38(0x13a)](){const _0xa1b0fd=_0x441c38;this[_0xa1b0fd(0x15a)][_0xa1b0fd(0x13a)]();}[_0x441c38(0x132)](_0x480c5f,_0x313cc0){const _0x2c58d0=_0x441c38;this[_0x2c58d0(0x15a)][_0x2c58d0(0x151)][_0x2c58d0(0x152)](_0x480c5f,_0x313cc0);}[_0x441c38(0x142)](_0x4e6f6c){const _0x42bc20=_0x441c38;this[_0x42bc20(0x15a)][_0x42bc20(0x151)][_0x42bc20(0x140)]()[_0x42bc20(0x13c)](_0x4a3ee1=>{const _0x1878bb=_0x42bc20;_0x4a3ee1['id']===_0x4e6f6c&&_0x4a3ee1[_0x1878bb(0x11c)]();});}[_0x441c38(0x124)](){const _0x46a129=_0x441c38;this[_0x46a129(0x15a)][_0x46a129(0x151)][_0x46a129(0x140)]()[_0x46a129(0x13c)](_0x28329a=>_0x28329a[_0x46a129(0x154)]());}[_0x441c38(0x11e)](_0x57bf94,_0x5688e6){const _0x247bc6=_0x441c38;_0x247bc6(0x168)===_0x5688e6||_0x247bc6(0x130)===_0x5688e6||_0x247bc6(0x143)===_0x5688e6?this[_0x247bc6(0x15a)][_0x247bc6(0x151)][_0x247bc6(0x164)](_0x57bf94,_0x5688e6):this[_0x247bc6(0x15a)][_0x247bc6(0x151)][_0x247bc6(0x139)](_0x57bf94,_0x5688e6);}[_0x441c38(0x13f)](){const _0x2862fc=_0x441c38;this[_0x2862fc(0x15a)][_0x2862fc(0x13f)]();}[_0x441c38(0x115)](){const _0x4b8360=_0x441c38;this[_0x4b8360(0x15a)][_0x4b8360(0x115)]();}[_0x441c38(0x123)](){const _0xa6c560=_0x441c38;this[_0xa6c560(0x15a)][_0xa6c560(0x123)]();}[_0x441c38(0x133)](){const _0x72fc42=_0x441c38;this[_0x72fc42(0x15a)][_0x72fc42(0x133)]();}[_0x441c38(0x14a)](_0x37ff99,_0x31f98e){const _0x459ae7=_0x441c38;this[_0x459ae7(0x15f)][_0x459ae7(0x14b)](_0x37ff99,_0x31f98e);}[_0x441c38(0x141)](){const _0x3e05e9=_0x441c38;this[_0x3e05e9(0x15f)][_0x3e05e9(0x169)]();}[_0x441c38(0x14d)](){const _0x32b9e2=_0x441c38;this[_0x32b9e2(0x15f)][_0x32b9e2(0x14d)]();}[_0x441c38(0x161)](){const _0x1c548c=_0x441c38;this[_0x1c548c(0x15f)][_0x1c548c(0x161)]();}[_0x441c38(0x166)](_0x22a510){const _0x2fa58c=_0x441c38,_0x3633b2=this[_0x2fa58c(0x15a)][_0x2fa58c(0x151)][_0x2fa58c(0x140)]()[_0x2fa58c(0x165)](_0x46fcae=>_0x46fcae['id']===_0x22a510);return _0x3633b2?_0x3633b2[_0x2fa58c(0x12b)]:null;}[_0x441c38(0x12a)](){const _0x537d0e=_0x441c38;this[_0x537d0e(0x15f)][_0x537d0e(0x12a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2d7299=_0x3d53;function _0x3d53(_0xa5aabc,_0x19ab58){var _0x58d212=_0x58d2();return _0x3d53=function(_0x3d53e1,_0x93833){_0x3d53e1=_0x3d53e1-0x1a9;var _0x26275d=_0x58d212[_0x3d53e1];return _0x26275d;},_0x3d53(_0xa5aabc,_0x19ab58);}function _0x58d2(){var _0x4ec913=['1374YYnEZu','4435AeQdEW','1000516FmEvRd','416037qlwQCt','11296160PGiwih','description','531TCATAE','useArgs','1968975nsMmOb','4IrDjzk','4064284txgZbR','isParameterized','85688mdKXYX','title','options'];_0x58d2=function(){return _0x4ec913;};return _0x58d2();}(function(_0x2e2185,_0x382b19){var _0x5ec22e=_0x3d53,_0x224d29=_0x2e2185();while(!![]){try{var _0x330bf1=parseInt(_0x5ec22e(0x1ac))/0x1+parseInt(_0x5ec22e(0x1ab))/0x2+-parseInt(_0x5ec22e(0x1b1))/0x3*(parseInt(_0x5ec22e(0x1b2))/0x4)+parseInt(_0x5ec22e(0x1aa))/0x5*(parseInt(_0x5ec22e(0x1a9))/0x6)+-parseInt(_0x5ec22e(0x1b3))/0x7+-parseInt(_0x5ec22e(0x1b5))/0x8*(parseInt(_0x5ec22e(0x1af))/0x9)+parseInt(_0x5ec22e(0x1ad))/0xa;if(_0x330bf1===_0x382b19)break;else _0x224d29['push'](_0x224d29['shift']());}catch(_0x25a81e){_0x224d29['push'](_0x224d29['shift']());}}}(_0x58d2,0x5ccf4));export class AIReviewCheck{['id'];[_0x2d7299(0x1b6)];[_0x2d7299(0x1ae)];[_0x2d7299(0x1b4)];[_0x2d7299(0x1b0)];[_0x2d7299(0x1b7)];constructor({id:_0x144b5d,title:_0x5e5345,description:_0x300cf6,isParameterized:_0x2463de,useArgs:_0x4a8268,options:_0x550e34}){var _0x27a449=_0x2d7299;this['id']=_0x144b5d,this[_0x27a449(0x1b6)]=_0x5e5345,this[_0x27a449(0x1ae)]=_0x300cf6,this[_0x27a449(0x1b4)]=_0x2463de,this[_0x27a449(0x1b0)]=_0x4a8268,this[_0x27a449(0x1b7)]=_0x550e34;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x58e4(){var _0xd7b354=['_models','models','877511mGGrAp','99tMRadS','75103IMfPWj','2ParCjg','6742595JuLRHv','1804326fBpOBH','568xWOOYv','8TZsbfj','11FrTkgp','7622478cTPtxr','1068510NUhsij','71267172EtgiwL'];_0x58e4=function(){return _0xd7b354;};return _0x58e4();}function _0x10d5(_0x546186,_0x3cdce4){var _0x58e414=_0x58e4();return _0x10d5=function(_0x10d5ad,_0x42d752){_0x10d5ad=_0x10d5ad-0x180;var _0x3af846=_0x58e414[_0x10d5ad];return _0x3af846;},_0x10d5(_0x546186,_0x3cdce4);}var _0x215c46=_0x10d5;(function(_0x5c91b9,_0x5139f8){var _0x49cd63=_0x10d5,_0x1b11cf=_0x5c91b9();while(!![]){try{var _0x69ac5d=-parseInt(_0x49cd63(0x18b))/0x1*(parseInt(_0x49cd63(0x180))/0x2)+parseInt(_0x49cd63(0x182))/0x3*(-parseInt(_0x49cd63(0x184))/0x4)+-parseInt(_0x49cd63(0x181))/0x5+-parseInt(_0x49cd63(0x186))/0x6+parseInt(_0x49cd63(0x18d))/0x7*(parseInt(_0x49cd63(0x183))/0x8)+-parseInt(_0x49cd63(0x18c))/0x9*(parseInt(_0x49cd63(0x187))/0xa)+parseInt(_0x49cd63(0x185))/0xb*(parseInt(_0x49cd63(0x188))/0xc);if(_0x69ac5d===_0x5139f8)break;else _0x1b11cf['push'](_0x1b11cf['shift']());}catch(_0x28e755){_0x1b11cf['push'](_0x1b11cf['shift']());}}}(_0x58e4,0xc9a92));import{AIReviewCheck as _0x22016a}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x22016a{[_0x215c46(0x189)]=[];get[_0x215c46(0x18a)](){var _0xd32c55=_0x215c46;return this[_0xd32c55(0x189)];}set[_0x215c46(0x18a)](_0x3a5bf6){var _0x5dd2da=_0x215c46;this[_0x5dd2da(0x189)]=_0x3a5bf6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x17fa23=_0x2606;(function(_0x345012,_0x2f8883){var _0xf9ebc2=_0x2606,_0x570dde=_0x345012();while(!![]){try{var _0x7f6a5e=parseInt(_0xf9ebc2(0x130))/0x1+-parseInt(_0xf9ebc2(0x132))/0x2+-parseInt(_0xf9ebc2(0x133))/0x3*(-parseInt(_0xf9ebc2(0x12d))/0x4)+parseInt(_0xf9ebc2(0x134))/0x5*(-parseInt(_0xf9ebc2(0x139))/0x6)+parseInt(_0xf9ebc2(0x12f))/0x7+parseInt(_0xf9ebc2(0x136))/0x8+-parseInt(_0xf9ebc2(0x137))/0x9*(-parseInt(_0xf9ebc2(0x13c))/0xa);if(_0x7f6a5e===_0x2f8883)break;else _0x570dde['push'](_0x570dde['shift']());}catch(_0x3b7cca){_0x570dde['push'](_0x570dde['shift']());}}}(_0x5f46,0x8b333));function _0x2606(_0x268e0f,_0x5d044b){var _0x5f464e=_0x5f46();return _0x2606=function(_0x2606a8,_0x47551c){_0x2606a8=_0x2606a8-0x12c;var _0x325bd8=_0x5f464e[_0x2606a8];return _0x325bd8;},_0x2606(_0x268e0f,_0x5d044b);}function _0x5f46(){var _0x318405=['1699264fgrWzV','411215XdsOuz','find','1840282Oxbanw','33yGrPPw','85IclEyA','custom','3796600OrqdAt','56043JlENYe','_mapCheckDefinitions','220074WUAVrp','checks','_checks','20kcVPOx','map','353764eNTJpf','getCheckById'];_0x5f46=function(){return _0x318405;};return _0x5f46();}import{ObservableMixin as _0x4b2f56}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x5e147c}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x288b63}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x4b2f56(){[_0x17fa23(0x13b)];constructor(_0x22ae98){var _0x183e8d=_0x17fa23;super(),this[_0x183e8d(0x13b)]=this[_0x183e8d(0x138)](_0x22ae98);}get[_0x17fa23(0x13a)](){var _0x385a47=_0x17fa23;return this[_0x385a47(0x13b)];}[_0x17fa23(0x12e)](_0x19a422){var _0x889e37=_0x17fa23;return this[_0x889e37(0x13a)][_0x889e37(0x131)](_0x2f5897=>_0x2f5897['id']===_0x19a422);}[_0x17fa23(0x138)](_0x554519){var _0x5cf78f=_0x17fa23;return _0x554519[_0x5cf78f(0x12c)](_0x3f7b5b=>_0x5cf78f(0x135)===_0x3f7b5b['id']?new _0x288b63(_0x3f7b5b):new _0x5e147c(_0x3f7b5b));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x528ace=_0x2e83;function _0x2e83(_0x46196c,_0x251931){var _0x47cf36=_0x47cf();return _0x2e83=function(_0x2e8350,_0x470ac3){_0x2e8350=_0x2e8350-0x142;var _0x2e9f63=_0x47cf36[_0x2e8350];return _0x2e9f63;},_0x2e83(_0x46196c,_0x251931);}(function(_0x3fb184,_0x330658){var _0x71c16c=_0x2e83,_0xd76323=_0x3fb184();while(!![]){try{var _0x470ddf=parseInt(_0x71c16c(0x149))/0x1*(-parseInt(_0x71c16c(0x14d))/0x2)+-parseInt(_0x71c16c(0x143))/0x3*(parseInt(_0x71c16c(0x144))/0x4)+-parseInt(_0x71c16c(0x142))/0x5*(parseInt(_0x71c16c(0x14e))/0x6)+-parseInt(_0x71c16c(0x146))/0x7+parseInt(_0x71c16c(0x148))/0x8+-parseInt(_0x71c16c(0x14b))/0x9*(-parseInt(_0x71c16c(0x145))/0xa)+parseInt(_0x71c16c(0x14f))/0xb;if(_0x470ddf===_0x330658)break;else _0xd76323['push'](_0xd76323['shift']());}catch(_0x31e359){_0xd76323['push'](_0xd76323['shift']());}}}(_0x47cf,0x4af49));import{EmitterMixin as _0x2f2187}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x2f2187(){['id'];[_0x528ace(0x14c)];[_0x528ace(0x147)];[_0x528ace(0x14a)];constructor({id:_0x3d7483,contentNew:_0x3c181d,contentInitial:_0x38cf4a,documentVersion:_0x18abda}){var _0x5dd516=_0x528ace;super(),this['id']=_0x3d7483,this[_0x5dd516(0x14c)]=_0x3c181d,this[_0x5dd516(0x147)]=_0x38cf4a,this[_0x5dd516(0x14a)]=_0x18abda;}}function _0x47cf(){var _0xc8bb81=['6HNwSbM','7834310CWvfNt','2045735Gfszzv','3747CssLsn','1516hOAToP','2917480hMuYFB','653737GEmtXM','contentInitial','950488sIsCqw','131591KxrmhY','documentVersion','18tTanUQ','contentNew','2oTZtrH'];_0x47cf=function(){return _0xc8bb81;};return _0x47cf();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x56ea(){var _0x35fa9c=['set','pending','1896JszkyF','isRated','change:status','operationsIsolated','context','operations','1116891DOPOdf','845SdAsAT','_data','1fEgiXg','3032744wtGVIB','_editorOperations','status','2470890jiLIMD','contentDiffed','isActivated','4348253iGkBFS','1457604lngcda','parent','1418319bROCSf'];_0x56ea=function(){return _0x35fa9c;};return _0x56ea();}var _0x564b6b=_0x3b74;(function(_0x3bcfd4,_0x4b3b5e){var _0x531507=_0x3b74,_0xe2072d=_0x3bcfd4();while(!![]){try{var _0x285dca=-parseInt(_0x531507(0x118))/0x1*(parseInt(_0x531507(0x120))/0x2)+-parseInt(_0x531507(0x115))/0x3+-parseInt(_0x531507(0x125))/0x4*(parseInt(_0x531507(0x116))/0x5)+parseInt(_0x531507(0x11c))/0x6+parseInt(_0x531507(0x11f))/0x7+parseInt(_0x531507(0x119))/0x8+parseInt(_0x531507(0x122))/0x9;if(_0x285dca===_0x4b3b5e)break;else _0xe2072d['push'](_0xe2072d['shift']());}catch(_0x8be0b0){_0xe2072d['push'](_0xe2072d['shift']());}}}(_0x56ea,0x5ed79));import{ObservableMixin as _0x2efdb0}from'ckeditor5/src/utils.js';function _0x3b74(_0x20406f,_0x513c15){var _0x56ea3a=_0x56ea();return _0x3b74=function(_0x3b74b4,_0x2cf94d){_0x3b74b4=_0x3b74b4-0x114;var _0x2c6b22=_0x56ea3a[_0x3b74b4];return _0x2c6b22;},_0x3b74(_0x20406f,_0x513c15);}export class AIReviewCheckResultChange extends _0x2efdb0(){['id'];[_0x564b6b(0x121)];[_0x564b6b(0x117)];[_0x564b6b(0x11a)]=[];constructor(_0x545301,_0x293952,_0x270f42){var _0x35c007=_0x564b6b;super(),this['id']=_0x545301,this[_0x35c007(0x121)]=_0x270f42,this[_0x35c007(0x117)]=_0x293952,this[_0x35c007(0x123)](_0x35c007(0x11e),!0x1),this[_0x35c007(0x123)](_0x35c007(0x126),!0x1),this[_0x35c007(0x123)](_0x35c007(0x11b),_0x35c007(0x124)),this['on'](_0x35c007(0x127),()=>{var _0x2dcc1c=_0x35c007;_0x2dcc1c(0x124)!==this[_0x2dcc1c(0x11b)]&&this[_0x2dcc1c(0x11e)]&&(this[_0x2dcc1c(0x11e)]=!0x1);});}get[_0x564b6b(0x11d)](){var _0x220ce1=_0x564b6b;return this[_0x220ce1(0x117)][_0x220ce1(0x129)]();}get[_0x564b6b(0x114)](){var _0x1d6286=_0x564b6b;return this[_0x1d6286(0x117)][_0x1d6286(0x114)];}get[_0x564b6b(0x128)](){var _0x3f4ed1=_0x564b6b;return this[_0x3f4ed1(0x117)][_0x3f4ed1(0x128)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x471a(){const _0x4b6291=['_reviewParams','_checkIfFinished','17647XQWqmV','error-chunk','pending','change:isActivated','rejected','isActivated','message','activateChange','textDelta','outdated','ai-request-aborted','operation','event','1056566TkSmPP','fire','parent','19151ERViPU','2072585XUEazJ','1089476MhgMeD','dataId','getContent','abort','markChangeAsOutdated','initialized','616653NsyBNc','finished','reviewCheckRunUpdated','reviewName','markAllChangesAsAccepted','every','clear','reviewCheckResultDeactivated','hasModifications','_documentData','documentData','markChangeAsAccepted','4562568jxmdje','reviewCheckResultActivated','error-general','start','_createApiRequest','markChangeAsPending','_reviewArgs','deactivateChange','72cjdXaW','filter','addResultChanges','getActiveChanges','10370RhhbVL','currentError','3SYvWtA','includes','processedResultsCount','reviewCheckResultChangeStatusUpdated','aborted','markChangeAsRejected','_addReviewCheckResult','isChangeActive','abortController','version','forceReadyState','size','_changes','_currentError','callId','data','change:status','_aiConnector','reviewCheckResultReady','106CZhheP','accepted','error','unmodified','push','get','review-metadata','forEach','ready','sendRating','_results','title','_sendRatingRequest','_sourceCheck','status','loading','restart','subTitle','elements','getStream','reviewCheckResultAdded','set','_activeRequest','isRated','length','find'];_0x471a=function(){return _0x4b6291;};return _0x471a();}const _0x280a6c=_0x56e9;(function(_0x26a39b,_0x4beab4){const _0x1065a=_0x56e9,_0x498b7e=_0x26a39b();while(!![]){try{const _0x5b6a74=parseInt(_0x1065a(0x7d))/0x1*(parseInt(_0x1065a(0xc2))/0x2)+parseInt(_0x1065a(0xaf))/0x3*(-parseInt(_0x1065a(0x8f))/0x4)+-parseInt(_0x1065a(0x8e))/0x5+-parseInt(_0x1065a(0xa1))/0x6+parseInt(_0x1065a(0x8a))/0x7+parseInt(_0x1065a(0xa9))/0x8*(-parseInt(_0x1065a(0x95))/0x9)+-parseInt(_0x1065a(0xad))/0xa*(-parseInt(_0x1065a(0x8d))/0xb);if(_0x5b6a74===_0x4beab4)break;else _0x498b7e['push'](_0x498b7e['shift']());}catch(_0xbe83d3){_0x498b7e['push'](_0x498b7e['shift']());}}}(_0x471a,0xca11f));import{ObservableMixin as _0x3f345c,uid as _0x8c422f}from'ckeditor5/src/utils.js';function _0x56e9(_0x2bbd1e,_0x1e10dc){const _0x471a21=_0x471a();return _0x56e9=function(_0x56e97e,_0x4f9418){_0x56e97e=_0x56e97e-0x67;let _0x50b265=_0x471a21[_0x56e97e];return _0x50b265;},_0x56e9(_0x2bbd1e,_0x1e10dc);}import{AIReviewCheckResult as _0x41e75b}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x541cd0}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x3f345c(){['id']=_0x8c422f();[_0x280a6c(0xbd)];[_0x280a6c(0x6b)]=new Map();[_0x280a6c(0xbb)]=[];[_0x280a6c(0x9e)];[_0x280a6c(0x6e)];[_0x280a6c(0xc0)];[_0x280a6c(0x7b)];[_0x280a6c(0xa7)];[_0x280a6c(0x77)]=null;[_0x280a6c(0xbc)];constructor(_0x5872e9,_0x183e18,_0x2bd708,_0x179cd9,_0x3b73b5){const _0x2195c9=_0x280a6c;super(),this[_0x2195c9(0x9e)]=_0x5872e9,this[_0x2195c9(0x6e)]=_0x183e18,this[_0x2195c9(0xc0)]=_0x2bd708,this[_0x2195c9(0x7b)]=_0x179cd9,this[_0x2195c9(0xa7)]=_0x3b73b5,this['on'](_0x2195c9(0xbf),(_0x8b9fde,_0x21fc53,_0x6f7107)=>{const _0x2ae383=_0x2195c9;this[_0x2ae383(0x8b)](_0x2ae383(0x97),{'status':_0x6f7107,'run':this,'error':this[_0x2ae383(0xbc)]});}),this[_0x2195c9(0x76)](_0x2195c9(0x6f),_0x2195c9(0x94));}get[_0x280a6c(0x9f)](){const _0x227d36=_0x280a6c;return this[_0x227d36(0x9e)];}get[_0x280a6c(0xb1)](){const _0x4b83ee=_0x280a6c;return this[_0x4b83ee(0x6b)][_0x4b83ee(0xba)];}get[_0x280a6c(0x6c)](){const _0x6f2037=_0x280a6c;return this[_0x6f2037(0x6e)][_0x6f2037(0x6c)];}get[_0x280a6c(0x72)](){return'';}get[_0x280a6c(0x98)](){const _0x35e430=_0x280a6c;return this[_0x35e430(0x6e)]['id'];}get[_0x280a6c(0x9d)](){const _0x3b05a4=_0x280a6c;return!this[_0x3b05a4(0xbb)][_0x3b05a4(0x9a)](_0x53c80a=>_0x3b05a4(0x7f)===_0x53c80a[_0x3b05a4(0x6f)]);}get[_0x280a6c(0xae)](){const _0x1b2a59=_0x280a6c;return this[_0x1b2a59(0xbc)];}async[_0x280a6c(0xa4)](){const _0x2b7661=_0x280a6c;this[_0x2b7661(0x6f)]=_0x2b7661(0x70),this[_0x2b7661(0xbc)]=void 0x0;try{this[_0x2b7661(0x77)]=this[_0x2b7661(0xa5)]();const _0x3cc294=await this[_0x2b7661(0x77)][_0x2b7661(0x74)]();this[_0x2b7661(0x6f)]=_0x2b7661(0xbe);for await(const _0x136a92 of _0x3cc294)_0x2b7661(0xc5)!==_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x88)]&&(_0x2b7661(0xc4)!==_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x88)]?_0x2b7661(0x67)!==_0x136a92[_0x2b7661(0x89)]?this[_0x2b7661(0xb5)](_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x90)],_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x85)]):this[_0x2b7661(0xbd)]=_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0xbd)]:this[_0x2b7661(0x6f)]=_0x2b7661(0x7e));_0x2b7661(0x7e)!==this[_0x2b7661(0x6f)]&&(0x0===this[_0x2b7661(0x6b)][_0x2b7661(0xba)]?this[_0x2b7661(0x6f)]=_0x2b7661(0xc5):this[_0x2b7661(0x6f)]=_0x2b7661(0x69));}catch(_0x5abc46){this[_0x2b7661(0xbc)]=_0x5abc46,_0x5abc46 instanceof Error&&_0x5abc46[_0x2b7661(0x83)][_0x2b7661(0xb0)](_0x2b7661(0x87))?this[_0x2b7661(0x6f)]=_0x2b7661(0xb3):this[_0x2b7661(0x6f)]=_0x2b7661(0xa3);}finally{this[_0x2b7661(0x77)]=null;}}async[_0x280a6c(0x71)](){const _0x4caabb=_0x280a6c;this[_0x4caabb(0x6b)][_0x4caabb(0x9b)](),this[_0x4caabb(0xbb)][_0x4caabb(0x79)]=0x0,this[_0x4caabb(0xbc)]=void 0x0,await this[_0x4caabb(0xa4)]();}[_0x280a6c(0xab)](_0x498074,_0x105986){const _0x4d7b54=_0x280a6c,_0xd5c4a5=this[_0x4d7b54(0x6b)][_0x4d7b54(0xc7)](_0x498074);if(!_0xd5c4a5)return;const _0x354ea3=[];_0x105986[_0x4d7b54(0x68)]((_0x53ba32,_0x68f183)=>{const _0x4745aa=_0x4d7b54,_0x45bdde=new _0x541cd0(_0xd5c4a5['id']+'-'+_0x68f183,_0x53ba32,_0xd5c4a5);_0x45bdde['on'](_0x4745aa(0xbf),()=>{const _0x40904c=_0x4745aa;this[_0x40904c(0x8b)](_0x40904c(0xb2),{'change':_0x45bdde,'status':_0x45bdde[_0x40904c(0x6f)]});}),_0x45bdde['on'](_0x4745aa(0x80),()=>{const _0x4517a6=_0x4745aa;_0x45bdde[_0x4517a6(0x82)]?this[_0x4517a6(0x8b)](_0x4517a6(0xa2),{'change':_0x45bdde}):this[_0x4517a6(0x8b)](_0x4517a6(0x9c),{'change':_0x45bdde});}),this[_0x4745aa(0xbb)][_0x4745aa(0xc6)](_0x45bdde),_0x354ea3[_0x4745aa(0xc6)](_0x45bdde);}),this[_0x4d7b54(0x8b)](_0x4d7b54(0xc1),{'changes':_0x354ea3,'result':_0xd5c4a5,'source':this});}[_0x280a6c(0x92)](){const _0x2c39ad=_0x280a6c;this[_0x2c39ad(0x77)]&&(this[_0x2c39ad(0x77)][_0x2c39ad(0xb7)][_0x2c39ad(0x92)](),this[_0x2c39ad(0x77)]=null,this[_0x2c39ad(0x6f)]=_0x2c39ad(0xb3));}[_0x280a6c(0xb6)](_0x3c8966){const _0x1ea948=_0x280a6c,_0xb62df5=this[_0x1ea948(0xbb)][_0x1ea948(0x7a)](_0x38002e=>_0x38002e['id']===_0x3c8966);return!(!_0xb62df5||_0x1ea948(0x7f)!==_0xb62df5[_0x1ea948(0x6f)]);}[_0x280a6c(0xac)](){const _0x2bb084=_0x280a6c;return this[_0x2bb084(0xbb)][_0x2bb084(0xaa)](_0x53dea8=>_0x2bb084(0x7f)===_0x53dea8[_0x2bb084(0x6f)]);}[_0x280a6c(0x99)](){const _0x13d0bb=_0x280a6c;for(const _0x4e237e of this[_0x13d0bb(0xbb)])_0x13d0bb(0x7f)===_0x4e237e[_0x13d0bb(0x6f)]&&(_0x4e237e[_0x13d0bb(0x6f)]=_0x13d0bb(0xc3));this[_0x13d0bb(0x7c)]();}[_0x280a6c(0xa0)](_0x4f4823){const _0x2d62cb=_0x280a6c,_0x4591ce=this[_0x2d62cb(0xbb)][_0x2d62cb(0x7a)](_0x337914=>_0x337914['id']===_0x4f4823);_0x4591ce&&_0x2d62cb(0x7f)===_0x4591ce[_0x2d62cb(0x6f)]&&(_0x4591ce[_0x2d62cb(0x6f)]=_0x2d62cb(0xc3)),this[_0x2d62cb(0x7c)]();}[_0x280a6c(0xb4)](_0x4351e0){const _0x277dd7=_0x280a6c,_0x352117=this[_0x277dd7(0xbb)][_0x277dd7(0x7a)](_0x2c4e29=>_0x2c4e29['id']===_0x4351e0);_0x352117&&_0x277dd7(0x7f)===_0x352117[_0x277dd7(0x6f)]&&(_0x352117[_0x277dd7(0x6f)]=_0x277dd7(0x81)),this[_0x277dd7(0x7c)]();}[_0x280a6c(0x93)](_0x471afc){const _0x581c8d=_0x280a6c,_0x1b105f=this[_0x581c8d(0xbb)][_0x581c8d(0x7a)](_0x5e05d7=>_0x5e05d7['id']===_0x471afc);_0x1b105f&&_0x581c8d(0x7f)===_0x1b105f[_0x581c8d(0x6f)]&&(_0x1b105f[_0x581c8d(0x6f)]=_0x581c8d(0x86)),this[_0x581c8d(0x7c)]();}[_0x280a6c(0xa6)](_0xd744b1){const _0x20eb8d=_0x280a6c,_0x35864e=this[_0x20eb8d(0xbb)][_0x20eb8d(0x7a)](_0x5c1226=>_0x5c1226['id']===_0xd744b1);_0x35864e&&_0x20eb8d(0x86)===_0x35864e[_0x20eb8d(0x6f)]&&(_0x35864e[_0x20eb8d(0x6f)]=_0x20eb8d(0x7f)),this[_0x20eb8d(0x7c)]();}[_0x280a6c(0x84)](_0x586e09){const _0x4cc439=_0x280a6c;this[_0x4cc439(0xbb)][_0x4cc439(0xaa)](_0x144a29=>_0x144a29[_0x4cc439(0x82)]&&_0x144a29['id']!==_0x586e09)[_0x4cc439(0x68)](_0x348b3f=>{const _0x3d20cb=_0x4cc439;_0x348b3f[_0x3d20cb(0x82)]=!0x1;});const _0x309619=this[_0x4cc439(0xbb)][_0x4cc439(0x7a)](_0x5bf310=>_0x5bf310['id']===_0x586e09);_0x309619&&_0x4cc439(0x7f)===_0x309619[_0x4cc439(0x6f)]&&(_0x309619[_0x4cc439(0x82)]=!0x0);}[_0x280a6c(0xa8)](){const _0x32d0eb=_0x280a6c;this[_0x32d0eb(0xbb)][_0x32d0eb(0xaa)](_0x1a155f=>_0x1a155f[_0x32d0eb(0x82)])[_0x32d0eb(0x68)](_0x270c9e=>{const _0x2a58e4=_0x32d0eb;_0x270c9e[_0x2a58e4(0x82)]=!0x1;});}[_0x280a6c(0xb9)](){const _0x1ce869=_0x280a6c;this[_0x1ce869(0x6f)]=_0x1ce869(0x69);}async[_0x280a6c(0x6a)](_0x18e95b){const _0x461ed0=_0x280a6c;if(_0x461ed0(0x94)===this[_0x461ed0(0x6f)]||_0x461ed0(0x70)===this[_0x461ed0(0x6f)]||_0x461ed0(0xbe)===this[_0x461ed0(0x6f)])return;if(!this[_0x461ed0(0xbd)]||0x0===this[_0x461ed0(0xbb)][_0x461ed0(0x79)])return;let _0x198f82;if(_0x18e95b){const _0x5987e2=this[_0x461ed0(0xbb)][_0x461ed0(0x7a)](_0x4ec401=>_0x4ec401['id']===_0x18e95b);if(_0x5987e2&&_0x5987e2[_0x461ed0(0x78)])return;_0x5987e2&&(_0x198f82=_0x5987e2[_0x461ed0(0x8c)]['id'],_0x5987e2[_0x461ed0(0x78)]=!0x0);}const _0x234ff1={'positiveCount':this[_0x461ed0(0xbb)][_0x461ed0(0xaa)](_0x25a39c=>_0x461ed0(0xc3)===_0x25a39c[_0x461ed0(0x6f)])[_0x461ed0(0x79)],'totalCount':this[_0x461ed0(0xbb)][_0x461ed0(0x79)]};this[_0x461ed0(0x6d)](_0x234ff1,this[_0x461ed0(0xbd)],_0x198f82);}[_0x280a6c(0xb5)](_0x507e79,_0x61b4a9){const _0x9123af=_0x280a6c,_0x36cab0=this[_0x9123af(0x9e)][_0x9123af(0x73)][_0x9123af(0xc7)](_0x507e79);if(!_0x36cab0)return;const _0x433030=_0x36cab0[_0x9123af(0x91)]();if(_0x433030===_0x61b4a9)return;const _0xdc2c03=new _0x41e75b({'id':_0x507e79,'contentInitial':_0x433030,'contentNew':_0x61b4a9,'documentVersion':this[_0x9123af(0x9e)][_0x9123af(0xb8)]});this[_0x9123af(0x6b)][_0x9123af(0x76)](_0xdc2c03['id'],_0xdc2c03),this[_0x9123af(0x8b)](_0x9123af(0x75),{'result':_0xdc2c03,'source':this});}[_0x280a6c(0x7c)](){const _0x1dd64c=_0x280a6c;_0x1dd64c(0x96)===this[_0x1dd64c(0x6f)]&&(this[_0x1dd64c(0xbb)][_0x1dd64c(0xaa)](_0x5f23f5=>_0x1dd64c(0x7f)===_0x5f23f5[_0x1dd64c(0x6f)])[_0x1dd64c(0x79)]>0x0&&(this[_0x1dd64c(0x6f)]=_0x1dd64c(0x69))),_0x1dd64c(0x69)===this[_0x1dd64c(0x6f)]&&(0x0===this[_0x1dd64c(0xbb)][_0x1dd64c(0xaa)](_0x2b9431=>_0x1dd64c(0x7f)===_0x2b9431[_0x1dd64c(0x6f)])[_0x1dd64c(0x79)]&&(this[_0x1dd64c(0x6f)]=_0x1dd64c(0x96)));}}
|
|
23
|
+
const _0x215b2d=_0x22ce;(function(_0x1404b1,_0x554fdb){const _0xb52a8c=_0x22ce,_0x33a07a=_0x1404b1();while(!![]){try{const _0x19b591=parseInt(_0xb52a8c(0x153))/0x1+parseInt(_0xb52a8c(0x190))/0x2*(parseInt(_0xb52a8c(0x16d))/0x3)+-parseInt(_0xb52a8c(0x161))/0x4+-parseInt(_0xb52a8c(0x17c))/0x5+-parseInt(_0xb52a8c(0x199))/0x6+-parseInt(_0xb52a8c(0x156))/0x7+parseInt(_0xb52a8c(0x18b))/0x8*(parseInt(_0xb52a8c(0x196))/0x9);if(_0x19b591===_0x554fdb)break;else _0x33a07a['push'](_0x33a07a['shift']());}catch(_0x1b0a88){_0x33a07a['push'](_0x33a07a['shift']());}}}(_0x16ec,0xf3786));import{ObservableMixin as _0x214a67,uid as _0x4267d6}from'ckeditor5/src/utils.js';function _0x16ec(){const _0x4d5494=['loading','_sourceCheck','hasModifications','currentError','_addReviewCheckResult','_results','markChangeAsRejected','1489707YNcScH','size','find','_documentData','error-chunk','data','restart','error','reviewCheckResultDeactivated','initialized','markChangeAsOutdated','status','_reviewParams','reviewCheckRunUpdated','_createApiRequest','647855sBlMvg','change:status','message','documentData','dataId','accepted','set','sendRating','aborted','elements','subTitle','forEach','rejected','ai-request-aborted','_aiConnector','8ahQfqI','finished','textDelta','getContent','fire','6tNEnNR','event','callId','abort','markChangeAsAccepted','length','7373610mMGHgz','parent','processedResultsCount','3124788xPXGHy','reviewCheckResultActivated','reviewCheckResultChangeStatusUpdated','includes','addResultChanges','isRated','markAllChangesAsAccepted','_sendRatingRequest','reviewCheckResultReady','clear','review-metadata','ready','markChangeAsPending','_currentError','activateChange','every','forceReadyState','reviewName','pending','filter','reviewCheckResultAdded','change:isActivated','push','deactivateChange','outdated','1019545yqymLt','error-general','unmodified','2559928IwGpCW','version','operation','start','_reviewArgs','title','get','_activeRequest','_changes','isActivated','_checkIfFinished','5260860yQBuRt','isChangeActive','abortController','getActiveChanges','getStream'];_0x16ec=function(){return _0x4d5494;};return _0x16ec();}import{AIReviewCheckResult as _0x4bf7cb}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x3ebd55}from'./aireviewcheckresultchange.js';function _0x22ce(_0x3679c7,_0x87046a){const _0x16ec4f=_0x16ec();return _0x22ce=function(_0x22ce1b,_0x283823){_0x22ce1b=_0x22ce1b-0x13f;let _0x47c6d3=_0x16ec4f[_0x22ce1b];return _0x47c6d3;},_0x22ce(_0x3679c7,_0x87046a);}export class AIReviewCheckRun extends _0x214a67(){['id']=_0x4267d6();[_0x215b2d(0x192)];[_0x215b2d(0x16b)]=new Map();[_0x215b2d(0x15e)]=[];[_0x215b2d(0x170)];[_0x215b2d(0x167)];[_0x215b2d(0x18a)];[_0x215b2d(0x179)];[_0x215b2d(0x15a)];[_0x215b2d(0x15d)]=null;[_0x215b2d(0x147)];constructor(_0x407429,_0x3eaa2f,_0x2d365a,_0x29bda6,_0x1daf53){const _0x438dfe=_0x215b2d;super(),this[_0x438dfe(0x170)]=_0x407429,this[_0x438dfe(0x167)]=_0x3eaa2f,this[_0x438dfe(0x18a)]=_0x2d365a,this[_0x438dfe(0x179)]=_0x29bda6,this[_0x438dfe(0x15a)]=_0x1daf53,this['on'](_0x438dfe(0x17d),(_0x552a6f,_0x1a1c6d,_0x4c5b04)=>{const _0x5680b6=_0x438dfe;this[_0x5680b6(0x18f)](_0x5680b6(0x17a),{'status':_0x4c5b04,'run':this,'error':this[_0x5680b6(0x147)]});}),this[_0x438dfe(0x182)](_0x438dfe(0x178),_0x438dfe(0x176));}get[_0x215b2d(0x17f)](){const _0x4637ed=_0x215b2d;return this[_0x4637ed(0x170)];}get[_0x215b2d(0x198)](){const _0x12d6e9=_0x215b2d;return this[_0x12d6e9(0x16b)][_0x12d6e9(0x16e)];}get[_0x215b2d(0x15b)](){const _0x404715=_0x215b2d;return this[_0x404715(0x167)][_0x404715(0x15b)];}get[_0x215b2d(0x186)](){return'';}get[_0x215b2d(0x14b)](){const _0x15a8bf=_0x215b2d;return this[_0x15a8bf(0x167)]['id'];}get[_0x215b2d(0x168)](){const _0x1406f0=_0x215b2d;return!this[_0x1406f0(0x15e)][_0x1406f0(0x149)](_0x2d2b38=>_0x1406f0(0x14c)===_0x2d2b38[_0x1406f0(0x178)]);}get[_0x215b2d(0x169)](){const _0x497f64=_0x215b2d;return this[_0x497f64(0x147)];}async[_0x215b2d(0x159)](){const _0xa2d856=_0x215b2d;this[_0xa2d856(0x178)]=_0xa2d856(0x166),this[_0xa2d856(0x147)]=void 0x0;try{this[_0xa2d856(0x15d)]=this[_0xa2d856(0x17b)]();const _0x43b3f0=await this[_0xa2d856(0x15d)][_0xa2d856(0x165)]();this[_0xa2d856(0x178)]=_0xa2d856(0x172);for await(const _0x3ca593 of _0x43b3f0)_0xa2d856(0x155)!==_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x158)]&&(_0xa2d856(0x174)!==_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x158)]?_0xa2d856(0x144)!==_0x3ca593[_0xa2d856(0x191)]?this[_0xa2d856(0x16a)](_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x180)],_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x18d)]):this[_0xa2d856(0x192)]=_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x192)]:this[_0xa2d856(0x178)]=_0xa2d856(0x171));_0xa2d856(0x171)!==this[_0xa2d856(0x178)]&&(0x0===this[_0xa2d856(0x16b)][_0xa2d856(0x16e)]?this[_0xa2d856(0x178)]=_0xa2d856(0x155):this[_0xa2d856(0x178)]=_0xa2d856(0x145));}catch(_0x10cd8b){this[_0xa2d856(0x147)]=_0x10cd8b,_0x10cd8b instanceof Error&&_0x10cd8b[_0xa2d856(0x17e)][_0xa2d856(0x19c)](_0xa2d856(0x189))?this[_0xa2d856(0x178)]=_0xa2d856(0x184):this[_0xa2d856(0x178)]=_0xa2d856(0x154);}finally{this[_0xa2d856(0x15d)]=null;}}async[_0x215b2d(0x173)](){const _0x11a395=_0x215b2d;this[_0x11a395(0x16b)][_0x11a395(0x143)](),this[_0x11a395(0x15e)][_0x11a395(0x195)]=0x0,this[_0x11a395(0x147)]=void 0x0,await this[_0x11a395(0x159)]();}[_0x215b2d(0x19d)](_0x34aa02,_0x7b227c){const _0x33958e=_0x215b2d,_0x1b3b46=this[_0x33958e(0x16b)][_0x33958e(0x15c)](_0x34aa02);if(!_0x1b3b46)return;const _0x1fe288=[];_0x7b227c[_0x33958e(0x187)]((_0x554533,_0x527531)=>{const _0x239f1d=_0x33958e,_0x510600=new _0x3ebd55(_0x1b3b46['id']+'-'+_0x527531,_0x554533,_0x1b3b46);_0x510600['on'](_0x239f1d(0x17d),()=>{const _0x5b393c=_0x239f1d;this[_0x5b393c(0x18f)](_0x5b393c(0x19b),{'change':_0x510600,'status':_0x510600[_0x5b393c(0x178)]});}),_0x510600['on'](_0x239f1d(0x14f),()=>{const _0x20cc98=_0x239f1d;_0x510600[_0x20cc98(0x15f)]?this[_0x20cc98(0x18f)](_0x20cc98(0x19a),{'change':_0x510600}):this[_0x20cc98(0x18f)](_0x20cc98(0x175),{'change':_0x510600});}),this[_0x239f1d(0x15e)][_0x239f1d(0x150)](_0x510600),_0x1fe288[_0x239f1d(0x150)](_0x510600);}),this[_0x33958e(0x18f)](_0x33958e(0x142),{'changes':_0x1fe288,'result':_0x1b3b46,'source':this});}[_0x215b2d(0x193)](){const _0x343a07=_0x215b2d;this[_0x343a07(0x15d)]&&(this[_0x343a07(0x15d)][_0x343a07(0x163)][_0x343a07(0x193)](),this[_0x343a07(0x15d)]=null,this[_0x343a07(0x178)]=_0x343a07(0x184));}[_0x215b2d(0x162)](_0x5ad2ab){const _0x30c4a3=_0x215b2d,_0x381666=this[_0x30c4a3(0x15e)][_0x30c4a3(0x16f)](_0x15c8bc=>_0x15c8bc['id']===_0x5ad2ab);return!(!_0x381666||_0x30c4a3(0x14c)!==_0x381666[_0x30c4a3(0x178)]);}[_0x215b2d(0x164)](){const _0x1b1d4d=_0x215b2d;return this[_0x1b1d4d(0x15e)][_0x1b1d4d(0x14d)](_0x445d38=>_0x1b1d4d(0x14c)===_0x445d38[_0x1b1d4d(0x178)]);}[_0x215b2d(0x140)](){const _0x100809=_0x215b2d;for(const _0x111998 of this[_0x100809(0x15e)])_0x100809(0x14c)===_0x111998[_0x100809(0x178)]&&(_0x111998[_0x100809(0x178)]=_0x100809(0x181));this[_0x100809(0x160)]();}[_0x215b2d(0x194)](_0x47230b){const _0xf4942=_0x215b2d,_0x151677=this[_0xf4942(0x15e)][_0xf4942(0x16f)](_0x4795d3=>_0x4795d3['id']===_0x47230b);_0x151677&&_0xf4942(0x14c)===_0x151677[_0xf4942(0x178)]&&(_0x151677[_0xf4942(0x178)]=_0xf4942(0x181)),this[_0xf4942(0x160)]();}[_0x215b2d(0x16c)](_0x4e1749){const _0x4bd608=_0x215b2d,_0x3c3a17=this[_0x4bd608(0x15e)][_0x4bd608(0x16f)](_0x5f1238=>_0x5f1238['id']===_0x4e1749);_0x3c3a17&&_0x4bd608(0x14c)===_0x3c3a17[_0x4bd608(0x178)]&&(_0x3c3a17[_0x4bd608(0x178)]=_0x4bd608(0x188)),this[_0x4bd608(0x160)]();}[_0x215b2d(0x177)](_0x2ac63d){const _0x2e551c=_0x215b2d,_0x3bc329=this[_0x2e551c(0x15e)][_0x2e551c(0x16f)](_0x4ea913=>_0x4ea913['id']===_0x2ac63d);_0x3bc329&&_0x2e551c(0x14c)===_0x3bc329[_0x2e551c(0x178)]&&(_0x3bc329[_0x2e551c(0x178)]=_0x2e551c(0x152)),this[_0x2e551c(0x160)]();}[_0x215b2d(0x146)](_0x566305){const _0x213bdb=_0x215b2d,_0x3fbc39=this[_0x213bdb(0x15e)][_0x213bdb(0x16f)](_0x17cf27=>_0x17cf27['id']===_0x566305);_0x3fbc39&&_0x213bdb(0x152)===_0x3fbc39[_0x213bdb(0x178)]&&(_0x3fbc39[_0x213bdb(0x178)]=_0x213bdb(0x14c)),this[_0x213bdb(0x160)]();}[_0x215b2d(0x148)](_0x24b818){const _0x9051ef=_0x215b2d;this[_0x9051ef(0x15e)][_0x9051ef(0x14d)](_0x565d28=>_0x565d28[_0x9051ef(0x15f)]&&_0x565d28['id']!==_0x24b818)[_0x9051ef(0x187)](_0x2b160c=>{const _0x5b6827=_0x9051ef;_0x2b160c[_0x5b6827(0x15f)]=!0x1;});const _0x30e2cf=this[_0x9051ef(0x15e)][_0x9051ef(0x16f)](_0x49f06f=>_0x49f06f['id']===_0x24b818);_0x30e2cf&&_0x9051ef(0x14c)===_0x30e2cf[_0x9051ef(0x178)]&&(_0x30e2cf[_0x9051ef(0x15f)]=!0x0);}[_0x215b2d(0x151)](){const _0x20bae7=_0x215b2d;this[_0x20bae7(0x15e)][_0x20bae7(0x14d)](_0x509976=>_0x509976[_0x20bae7(0x15f)])[_0x20bae7(0x187)](_0x218141=>{const _0x5060e5=_0x20bae7;_0x218141[_0x5060e5(0x15f)]=!0x1;});}[_0x215b2d(0x14a)](){const _0x294e41=_0x215b2d;this[_0x294e41(0x178)]=_0x294e41(0x145);}async[_0x215b2d(0x183)](_0xccfaa8){const _0x2ca46c=_0x215b2d;if(_0x2ca46c(0x176)===this[_0x2ca46c(0x178)]||_0x2ca46c(0x166)===this[_0x2ca46c(0x178)]||_0x2ca46c(0x172)===this[_0x2ca46c(0x178)])return;if(!this[_0x2ca46c(0x192)]||0x0===this[_0x2ca46c(0x15e)][_0x2ca46c(0x195)])return;let _0x3b45dd;if(_0xccfaa8){const _0x124841=this[_0x2ca46c(0x15e)][_0x2ca46c(0x16f)](_0x23bbd3=>_0x23bbd3['id']===_0xccfaa8);if(_0x124841&&_0x124841[_0x2ca46c(0x13f)])return;_0x124841&&(_0x3b45dd=_0x124841[_0x2ca46c(0x197)]['id'],_0x124841[_0x2ca46c(0x13f)]=!0x0);}const _0xa8f6bc={'positiveCount':this[_0x2ca46c(0x15e)][_0x2ca46c(0x14d)](_0x445e43=>_0x2ca46c(0x181)===_0x445e43[_0x2ca46c(0x178)])[_0x2ca46c(0x195)],'totalCount':this[_0x2ca46c(0x15e)][_0x2ca46c(0x195)]};this[_0x2ca46c(0x141)](_0xa8f6bc,this[_0x2ca46c(0x192)],_0x3b45dd);}[_0x215b2d(0x16a)](_0x1eef2f,_0x42c1db){const _0x3f1199=_0x215b2d,_0x237df6=this[_0x3f1199(0x170)][_0x3f1199(0x185)][_0x3f1199(0x15c)](_0x1eef2f);if(!_0x237df6)return;const _0x2a9514=_0x237df6[_0x3f1199(0x18e)]();if(_0x2a9514===_0x42c1db)return;const _0x226b34=new _0x4bf7cb({'id':_0x1eef2f,'contentInitial':_0x2a9514,'contentNew':_0x42c1db,'documentVersion':this[_0x3f1199(0x170)][_0x3f1199(0x157)]});this[_0x3f1199(0x16b)][_0x3f1199(0x182)](_0x226b34['id'],_0x226b34),this[_0x3f1199(0x18f)](_0x3f1199(0x14e),{'result':_0x226b34,'source':this});}[_0x215b2d(0x160)](){const _0x382b6d=_0x215b2d;_0x382b6d(0x18c)===this[_0x382b6d(0x178)]&&(this[_0x382b6d(0x15e)][_0x382b6d(0x14d)](_0x3ccb67=>_0x382b6d(0x14c)===_0x3ccb67[_0x382b6d(0x178)])[_0x382b6d(0x195)]>0x0&&(this[_0x382b6d(0x178)]=_0x382b6d(0x145))),_0x382b6d(0x145)===this[_0x382b6d(0x178)]&&(0x0===this[_0x382b6d(0x15e)][_0x382b6d(0x14d)](_0x500af5=>_0x382b6d(0x14c)===_0x500af5[_0x382b6d(0x178)])[_0x382b6d(0x195)]&&(this[_0x382b6d(0x178)]=_0x382b6d(0x18c)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xc2e149=_0x1c87;(function(_0x3f8299,_0x5d4602){var _0x4fee21=_0x1c87,_0x317555=_0x3f8299();while(!![]){try{var _0x327803=-parseInt(_0x4fee21(0x181))/0x1+parseInt(_0x4fee21(0x188))/0x2+-parseInt(_0x4fee21(0x17d))/0x3*(parseInt(_0x4fee21(0x182))/0x4)+-parseInt(_0x4fee21(0x17c))/0x5+-parseInt(_0x4fee21(0x18b))/0x6*(-parseInt(_0x4fee21(0x184))/0x7)+parseInt(_0x4fee21(0x18c))/0x8+parseInt(_0x4fee21(0x17e))/0x9;if(_0x327803===_0x5d4602)break;else _0x317555['push'](_0x317555['shift']());}catch(_0x8486cf){_0x317555['push'](_0x317555['shift']());}}}(_0x4115,0xceba0));function _0x1c87(_0x16aea8,_0x44ae73){var _0x4115e8=_0x4115();return _0x1c87=function(_0x1c87df,_0x4362bb){_0x1c87df=_0x1c87df-0x17c;var _0x4e5cc3=_0x4115e8[_0x1c87df];return _0x4e5cc3;},_0x1c87(_0x16aea8,_0x44ae73);}function _0x4115(){var _0x24c0df=['_createApiRequest','_documentData','166236Jjechi','2162184bXGSgc','subTitle','_sendRatingRequest','444905tWDFWb','119580NLmVxc','12654738jZcxEN','_prompt','_model','1550054UFqrNf','48dFgctz','content','287zKJzBK','callCustomReview','upsertCustomAIReviewRating','_aiConnector','303612myaRVs'];_0x4115=function(){return _0x24c0df;};return _0x4115();}import{AIReviewCheckRun as _0x3b7504}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x3b7504{[_0xc2e149(0x17f)];[_0xc2e149(0x180)];constructor(_0x4ef064,_0x1a9c03,_0x1ab612,_0x21155f,_0x4c48fb){var _0x23fdff=_0xc2e149;super(_0x1ab612,_0x21155f,_0x4c48fb),this[_0x23fdff(0x17f)]=_0x4ef064,this[_0x23fdff(0x180)]=_0x1a9c03;}get[_0xc2e149(0x18d)](){var _0x1811ed=_0xc2e149;return this[_0x1811ed(0x17f)];}[_0xc2e149(0x189)](){var _0x59735c=_0xc2e149;return this[_0x59735c(0x187)][_0x59735c(0x185)]({'content':this[_0x59735c(0x18a)][_0x59735c(0x183)],'prompt':this[_0x59735c(0x17f)],'model':this[_0x59735c(0x180)]});}[_0xc2e149(0x18e)](_0x468292,_0x554137,_0x325937){var _0x740d7d=_0xc2e149;return this[_0x740d7d(0x187)][_0x740d7d(0x186)](_0x554137,_0x468292,_0x325937);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1752b=_0x44d3;(function(_0x510d98,_0x1a904b){const _0x3404fd=_0x44d3,_0x2688b6=_0x510d98();while(!![]){try{const _0xb3efbd=-parseInt(_0x3404fd(0x1ff))/0x1+parseInt(_0x3404fd(0x1f5))/0x2*(parseInt(_0x3404fd(0x207))/0x3)+-parseInt(_0x3404fd(0x20d))/0x4*(-parseInt(_0x3404fd(0x209))/0x5)+-parseInt(_0x3404fd(0x1f4))/0x6*(-parseInt(_0x3404fd(0x211))/0x7)+-parseInt(_0x3404fd(0x20a))/0x8*(-parseInt(_0x3404fd(0x208))/0x9)+parseInt(_0x3404fd(0x1f8))/0xa+-parseInt(_0x3404fd(0x200))/0xb;if(_0xb3efbd===_0x1a904b)break;else _0x2688b6['push'](_0x2688b6['shift']());}catch(_0x5eba18){_0x2688b6['push'](_0x2688b6['shift']());}}}(_0x917d,0x244e3));function _0x44d3(_0x3f4c0e,_0x59c54f){const _0x917df1=_0x917d();return _0x44d3=function(_0x44d37d,_0x2f1ae4){_0x44d37d=_0x44d37d-0x1f3;let _0x185f15=_0x917df1[_0x44d37d];return _0x185f15;},_0x44d3(_0x3f4c0e,_0x59c54f);}import{AIReviewCheckRun as _0x3d9f16}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x3d9f16{get[_0x1752b(0x20b)](){const _0x18acf7=_0x1752b;if(!this[_0x18acf7(0x201)]||0x0===this[_0x18acf7(0x201)][_0x18acf7(0x1fe)])return'';const _0x3f417c=[];if(this[_0x18acf7(0x201)][_0x18acf7(0x1fe)]>0x0&&this[_0x18acf7(0x202)][_0x18acf7(0x1fb)])for(let _0x7a6fa0=0x0;_0x7a6fa0<this[_0x18acf7(0x201)][_0x18acf7(0x1fe)];_0x7a6fa0++){if(!this[_0x18acf7(0x201)][_0x7a6fa0]||!this[_0x18acf7(0x202)][_0x18acf7(0x1fb)][_0x7a6fa0])continue;const _0x397480=this[_0x18acf7(0x202)][_0x18acf7(0x1fb)][_0x7a6fa0],_0x3f1ce7=_0x397480[_0x18acf7(0x206)]?.[_0x18acf7(0x203)](_0x1bb741=>_0x1bb741['id']===this[_0x18acf7(0x201)][_0x7a6fa0]);_0x3f1ce7&&_0x3f417c[_0x18acf7(0x1f3)](_0x3f1ce7[_0x18acf7(0x20e)]);}return _0x3f417c[_0x18acf7(0x1f9)](',\x20');}get[_0x1752b(0x20f)](){const _0x48e1da=_0x1752b;return this[_0x48e1da(0x212)]();}[_0x1752b(0x210)](){const _0x298be0=_0x1752b;return this[_0x298be0(0x1fc)][_0x298be0(0x204)]({'reviewName':this[_0x298be0(0x212)](),'content':this[_0x298be0(0x1fa)][_0x298be0(0x1f6)],'args':this[_0x298be0(0x205)]});}[_0x1752b(0x1f7)](_0x364e36,_0x6a3581,_0x451445){const _0x10c867=_0x1752b;return this[_0x10c867(0x1fc)][_0x10c867(0x20c)](this[_0x10c867(0x20f)],_0x6a3581,_0x364e36,_0x451445);}[_0x1752b(0x212)](){const _0x267cec=_0x1752b;return!this[_0x267cec(0x201)]||0x0===this[_0x267cec(0x201)][_0x267cec(0x1fe)]||this[_0x267cec(0x202)][_0x267cec(0x1fd)]?this[_0x267cec(0x202)]['id']:[this[_0x267cec(0x202)]['id'],...this[_0x267cec(0x201)]][_0x267cec(0x1f9)]('-');}}function _0x917d(){const _0x5e5fff=['2154720bqysIV','join','_documentData','options','_aiConnector','useArgs','length','120056KUOnnu','8500184PCOuMN','_reviewParams','_sourceCheck','find','callSystemReview','_reviewArgs','data','1695WncBtb','15462nbGUvN','65yJmjad','1296DVSRHz','subTitle','upsertAIReviewRating','87284MHDQfZ','label','reviewName','_createApiRequest','59171DkHEWz','_composeReviewName','push','102zUIQdg','426gkowMj','content','_sendRatingRequest'];_0x917d=function(){return _0x5e5fff;};return _0x917d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x18075e=_0x2ac8;(function(_0x555fd3,_0x3f5acd){var _0x188fe4=_0x2ac8,_0x146010=_0x555fd3();while(!![]){try{var _0x2a6805=-parseInt(_0x188fe4(0x76))/0x1*(parseInt(_0x188fe4(0x79))/0x2)+-parseInt(_0x188fe4(0x7f))/0x3+-parseInt(_0x188fe4(0x8a))/0x4+parseInt(_0x188fe4(0x74))/0x5+-parseInt(_0x188fe4(0x86))/0x6+parseInt(_0x188fe4(0x7a))/0x7*(-parseInt(_0x188fe4(0x83))/0x8)+parseInt(_0x188fe4(0x88))/0x9;if(_0x2a6805===_0x3f5acd)break;else _0x146010['push'](_0x146010['shift']());}catch(_0x1ae6aa){_0x146010['push'](_0x146010['shift']());}}}(_0x11d8,0x54d53));import{TextareaView as _0x43f4c3}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x450c04}from'ckeditor5/src/utils.js';function _0x2ac8(_0x2deb12,_0x1a9f4e){var _0x11d8ee=_0x11d8();return _0x2ac8=function(_0x2ac89b,_0x2a1693){_0x2ac89b=_0x2ac89b-0x72;var _0x34ec2e=_0x11d8ee[_0x2ac89b];return _0x34ec2e;},_0x2ac8(_0x2deb12,_0x1a9f4e);}function _0x11d8(){var _0x115916=['2459400QgDgTr','set','118439gNLaAa','extendTemplate','MIN_ROWS','8uRoFIz','7AYdIsm','ai-review-mode-prompt-input','ck-review-mode__prompt-input','minRows','element','812778wRbIPy','update','maxRows','render','802856NaWziT','listenTo','keystrokes','3185130xoYzbe','trim','11424132mTMWyI','isEmpty','151436BJFHNl','value','MAX_ROWS'];_0x11d8=function(){return _0x115916;};return _0x11d8();}export class AIReviewModePromptInputView extends _0x43f4c3{[_0x18075e(0x85)];static [_0x18075e(0x78)]=0x1;static [_0x18075e(0x73)]=0xc;constructor(_0x562e4e){var _0x2a2b5c=_0x18075e;super(_0x562e4e),this[_0x2a2b5c(0x75)](_0x2a2b5c(0x89),!0x0),this[_0x2a2b5c(0x85)]=new _0x450c04(),this[_0x2a2b5c(0x7d)]=AIReviewModePromptInputView[_0x2a2b5c(0x78)],this[_0x2a2b5c(0x81)]=AIReviewModePromptInputView[_0x2a2b5c(0x73)],this[_0x2a2b5c(0x77)]({'attributes':{'id':_0x2a2b5c(0x7b),'class':['ck',_0x2a2b5c(0x7c)]}});}[_0x18075e(0x82)](){var _0x6a03e3=_0x18075e;super[_0x6a03e3(0x82)](),this['on'](_0x6a03e3(0x80),()=>{var _0x57e78c=_0x6a03e3;this[_0x57e78c(0x89)]=''===this[_0x57e78c(0x7e)][_0x57e78c(0x72)]?.[_0x57e78c(0x87)]();}),this[_0x6a03e3(0x85)][_0x6a03e3(0x84)](this[_0x6a03e3(0x7e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ad900=_0x27f8;(function(_0x2850dc,_0x5d2e70){const _0x4e6823=_0x27f8,_0x5d17e8=_0x2850dc();while(!![]){try{const _0x52a77e=parseInt(_0x4e6823(0x124))/0x1+-parseInt(_0x4e6823(0x122))/0x2+-parseInt(_0x4e6823(0x12a))/0x3*(-parseInt(_0x4e6823(0x114))/0x4)+-parseInt(_0x4e6823(0x10d))/0x5*(-parseInt(_0x4e6823(0x119))/0x6)+-parseInt(_0x4e6823(0x104))/0x7+parseInt(_0x4e6823(0x11b))/0x8+-parseInt(_0x4e6823(0x10e))/0x9;if(_0x52a77e===_0x5d2e70)break;else _0x5d17e8['push'](_0x5d17e8['shift']());}catch(_0xfc2a36){_0x5d17e8['push'](_0x5d17e8['shift']());}}}(_0x6f3b,0x87bc5));import{BalloonPanelView as _0x33f6e8,View as _0x366715,clickOutsideHandler as _0x3eb825}from'ckeditor5/src/ui.js';function _0x27f8(_0x22371d,_0x116cdf){const _0x6f3bcc=_0x6f3b();return _0x27f8=function(_0x27f8fd,_0x5ea75e){_0x27f8fd=_0x27f8fd-0x102;let _0xfea8f=_0x6f3bcc[_0x27f8fd];return _0xfea8f;},_0x27f8(_0x22371d,_0x116cdf);}function _0x6f3b(){const _0x1d65b5=['ck-reset','showDiffInBalloon','showDiff','content','hideDiffInBalloon','fire','_setupClickOutsideHandler','getClientRects','show','extendTemplate','updateContent','7430843OgtFBr','locale','contentDiffed','deactivateChange','set','setTemplate','ck-ai-review-mode__suggestion-text','unpin','_createContentView','655rhBEXd','2718954ICKFvW','find','element','delegate','resultItemView','render','19540blhWyB','showBalloon','dismissChange','arrow_se','ck-content','28128cyEQdF','from','184120JPzwit','isVisible','innerHTML','changeId','hide','pin','width','259274VCNYgF','resultResponseView','992012AXkzyA','div','hideBalloon','acceptChange','ck-ai-review-mode-balloon-panel-suggestion','add','258XgHTcU','_getBestRectPosition'];_0x6f3b=function(){return _0x1d65b5;};return _0x6f3b();}import{AIReviewModeReviewCheckListItemResultsView as _0x4b04d4}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x33f6e8{[_0x4ad900(0x112)];constructor(_0x4730c7,_0x1507e5){const _0x107c08=_0x4ad900;super(_0x4730c7),this[_0x107c08(0x108)]({'isVisible':!0x1,'position':_0x107c08(0x117),'class':null,'top':0x0,'left':0x0}),this[_0x107c08(0x102)]({'tag':_0x107c08(0x125),'attributes':{'class':[_0x107c08(0x12c)],'tabindex':'-1'}}),this[_0x107c08(0x12f)][_0x107c08(0x129)](this[_0x107c08(0x10c)]()),_0x1507e5[_0x107c08(0x129)](this);}[_0x4ad900(0x113)](){const _0x2a00b6=_0x4ad900;super[_0x2a00b6(0x113)](),this[_0x2a00b6(0x132)]();}[_0x4ad900(0x103)](_0x4cfd6d){const _0x411856=_0x4ad900;this[_0x411856(0x112)][_0x411856(0x11e)]=_0x4cfd6d['id'],this[_0x411856(0x112)][_0x411856(0x123)][_0x411856(0x110)][_0x411856(0x11d)]=_0x4cfd6d[_0x411856(0x106)];}[_0x4ad900(0x115)](_0x309056,_0x537d30){const _0x1371d8=_0x4ad900;this[_0x1371d8(0x103)](_0x309056),this[_0x1371d8(0x134)](),this[_0x1371d8(0x120)]({'target':()=>this[_0x1371d8(0x12b)](_0x537d30)});}[_0x4ad900(0x126)](){const _0x46db8e=_0x4ad900;this[_0x46db8e(0x11f)](),this[_0x46db8e(0x10b)]();}[_0x4ad900(0x130)](){const _0x3ea298=_0x4ad900;this[_0x3ea298(0x112)][_0x3ea298(0x12e)]=!0x1;}[_0x4ad900(0x12d)](){const _0x230c5a=_0x4ad900;this[_0x230c5a(0x112)][_0x230c5a(0x12e)]=!0x0;}[_0x4ad900(0x107)](){const _0x3e20bc=_0x4ad900;this[_0x3e20bc(0x131)](_0x3e20bc(0x107));}[_0x4ad900(0x132)](){const _0x2ad152=_0x4ad900;_0x3eb825({'emitter':this,'activator':()=>this[_0x2ad152(0x11c)],'contextElements':[this[_0x2ad152(0x110)]],'callback':()=>{const _0x565983=_0x2ad152;this[_0x565983(0x126)](),this[_0x565983(0x107)]();}});}[_0x4ad900(0x10c)](){const _0x3f68a1=_0x4ad900,_0x33b6de=new _0x366715();return this[_0x3f68a1(0x112)]=new _0x4b04d4(this[_0x3f68a1(0x105)],''),this[_0x3f68a1(0x112)][_0x3f68a1(0x123)][_0x3f68a1(0x102)]({'attributes':{'class':[_0x3f68a1(0x118)]}}),this[_0x3f68a1(0x112)][_0x3f68a1(0x111)](_0x3f68a1(0x127),_0x3f68a1(0x116))['to'](this),_0x33b6de[_0x3f68a1(0x109)]({'tag':_0x3f68a1(0x125),'attributes':{'class':[_0x3f68a1(0x12c),_0x3f68a1(0x128)]},'children':[{'tag':'p','attributes':{'class':[_0x3f68a1(0x10a)]},'children':[this[_0x3f68a1(0x112)]]}]}),_0x33b6de;}[_0x4ad900(0x12b)](_0x49db65){const _0x3a831d=_0x4ad900,_0x14706e=Array[_0x3a831d(0x11a)](_0x49db65[_0x3a831d(0x133)]());return _0x14706e[_0x3a831d(0x10f)](_0x423113=>_0x423113[_0x3a831d(0x121)]>0x0)||_0x14706e[0x0];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3aed5f=_0x1bbb;(function(_0x1ea0f6,_0x16b6c1){const _0x4ac7f2=_0x1bbb,_0x770f3a=_0x1ea0f6();while(!![]){try{const _0x17f212=-parseInt(_0x4ac7f2(0x1f4))/0x1+parseInt(_0x4ac7f2(0x1fb))/0x2+-parseInt(_0x4ac7f2(0x1ca))/0x3*(parseInt(_0x4ac7f2(0x205))/0x4)+-parseInt(_0x4ac7f2(0x207))/0x5*(parseInt(_0x4ac7f2(0x1ec))/0x6)+parseInt(_0x4ac7f2(0x1f2))/0x7*(parseInt(_0x4ac7f2(0x1f1))/0x8)+parseInt(_0x4ac7f2(0x1ed))/0x9+parseInt(_0x4ac7f2(0x1e6))/0xa;if(_0x17f212===_0x16b6c1)break;else _0x770f3a['push'](_0x770f3a['shift']());}catch(_0x512f21){_0x770f3a['push'](_0x770f3a['shift']());}}}(_0x4ced,0x80f4c));import{View as _0x53c2f5,ButtonView as _0xfe63e2}from'ckeditor5/src/ui.js';function _0x1bbb(_0x3171c8,_0xefbdce){const _0x4ced5d=_0x4ced();return _0x1bbb=function(_0x1bbb0a,_0x4d7aa5){_0x1bbb0a=_0x1bbb0a-0x1c8;let _0x2cfa7d=_0x4ced5d[_0x1bbb0a];return _0x2cfa7d;},_0x1bbb(_0x3171c8,_0xefbdce);}import{IconInfo as _0xfc3154,IconCheck as _0x6d052f,IconCancel as _0x38dbfb,IconOutdated as _0x190273}from'ckeditor5/src/icons.js';function _0x4ced(){const _0x3e103e=['_createResultResponseView','setItemAsInactive','54VWoNGC','7530867aRyCnv','acceptChange','dismissButtonView','ck-content-direct-excluded','56LHlhkp','9569LrpWRU','showDiff','548084HDpKnO','extendTemplate','toUpperCase','AI_REVIEW_MODE_ACCEPT_CHANGE','isInfoToggleOn','click','REJECTED','204028ypixFh','infoButtonView','_createDismissButtonView','ck-ai-review-mode__check-run-result-action-buttons','isOn','statusButtonView','ck-ai-review-mode__check-run-result','ACCEPTED','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-review-mode__check-run-result-accept-button','4LVAgcI','AI_REVIEW_MODE_CHECK_STATUS_','146480PXDyVz','setItemAsActive','setTemplate','dismissChange','ck-ai-button-tertiary-filled','label','ck-ai-review-mode__check-run-result-footer','2480817kEFUuv','icon','ck-ai-button-secondary','disabled','_createAcceptButtonView','ck-content','fire','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','div','acceptButtonView','locale','ck-ai-review-mode__check-run-result-status-button','bind','ck-ai-review-mode__check-run-result_active','menuitemcheckbox','ck-ai-review-mode__check-run-result-dismiss-button','bindTemplate','changeId','_createStatusButtonView','activateChange','ck-hidden','resultResponseView','status','execute','ck-ai-review-mode__check-run-result-response','stopPropagation','isActive','set','12185450wKftuu','pending','AI_REVIEW_MODE_LEARN_MORE','_createInfoButtonView'];_0x4ced=function(){return _0x3e103e;};return _0x4ced();}import{getTranslation as _0x4558f4}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x53c2f5{[_0x3aed5f(0x1df)];[_0x3aed5f(0x1d3)];[_0x3aed5f(0x1ef)];[_0x3aed5f(0x1fc)];[_0x3aed5f(0x200)];constructor(_0x380113,_0x3fe03a){const _0x3fc360=_0x3aed5f;super(_0x380113),this['id']=_0x3fe03a,this[_0x3fc360(0x1e5)](_0x3fc360(0x1e0),_0x3fc360(0x1e7)),this[_0x3fc360(0x1e5)](_0x3fc360(0x1db),_0x3fe03a),this[_0x3fc360(0x1df)]=this[_0x3fc360(0x1ea)](),this[_0x3fc360(0x1d3)]=this[_0x3fc360(0x1ce)](),this[_0x3fc360(0x1ef)]=this[_0x3fc360(0x1fd)](),this[_0x3fc360(0x1fc)]=this[_0x3fc360(0x1e9)](),this[_0x3fc360(0x200)]=this[_0x3fc360(0x1dc)](),this[_0x3fc360(0x1e5)](_0x3fc360(0x1f8),!0x1),this[_0x3fc360(0x1e5)](_0x3fc360(0x1e4),!0x1),this[_0x3fc360(0x1e5)](_0x3fc360(0x1f3),!0x0),this[_0x3fc360(0x209)]({'tag':_0x3fc360(0x1d2),'attributes':{'class':[_0x3fc360(0x201),this[_0x3fc360(0x1da)]['if'](_0x3fc360(0x1e4),_0x3fc360(0x1d7))]},'on':{'click':this[_0x3fc360(0x1da)]['to'](_0x3fc360(0x1f9))},'children':[this[_0x3fc360(0x1df)],{'tag':_0x3fc360(0x1d2),'attributes':{'class':[_0x3fc360(0x1c9)]},'children':[{'tag':_0x3fc360(0x1d2),'attributes':{'class':[_0x3fc360(0x1fe)]},'children':[this[_0x3fc360(0x1d3)],this[_0x3fc360(0x1ef)],this[_0x3fc360(0x200)]]},this[_0x3fc360(0x1fc)]]}]}),this['on'](_0x3fc360(0x1f9),()=>{const _0x43b430=_0x3fc360;this[_0x43b430(0x1d0)](_0x43b430(0x1dd),{'id':_0x3fe03a,'source':this});});}[_0x3aed5f(0x208)](){const _0x10b5b1=_0x3aed5f;this[_0x10b5b1(0x1e4)]=!0x0;}[_0x3aed5f(0x1eb)](){const _0x22f2eb=_0x3aed5f;this[_0x22f2eb(0x1e4)]=!0x1;}[_0x3aed5f(0x1ea)](){const _0x21d7c2=_0x3aed5f,_0x226655=new _0x53c2f5(this[_0x21d7c2(0x1d4)]);return _0x226655[_0x21d7c2(0x209)]({'tag':_0x21d7c2(0x1d2),'attributes':{'class':['ck',_0x21d7c2(0x1cf),_0x21d7c2(0x1f0),_0x21d7c2(0x1e2),this[_0x21d7c2(0x1da)]['if'](_0x21d7c2(0x1f3),_0x21d7c2(0x1de),_0x590330=>!_0x590330)]}}),_0x226655;}[_0x3aed5f(0x1ce)](){const _0x3cfb50=_0x3aed5f,_0x4b4988=new _0xfe63e2(this[_0x3cfb50(0x1d4)]);return _0x4b4988[_0x3cfb50(0x1e5)]({'label':_0x4558f4(this[_0x3cfb50(0x1d4)],_0x3cfb50(0x1f7)),'withText':!0x0}),_0x4b4988[_0x3cfb50(0x1f5)]({'on':{'click':this[_0x3cfb50(0x1da)]['to'](_0x480ee2=>{const _0x3f9f8b=_0x3cfb50;this[_0x3f9f8b(0x1d0)](_0x3f9f8b(0x1ee),{'id':this[_0x3f9f8b(0x1db)]}),_0x480ee2[_0x3f9f8b(0x1e3)]();})},'attributes':{'class':[_0x3cfb50(0x1cc),_0x3cfb50(0x204),this[_0x3cfb50(0x1da)]['if'](_0x3cfb50(0x1e0),_0x3cfb50(0x1de),_0x3e1cb7=>_0x3cfb50(0x1e7)!==_0x3e1cb7)]}}),_0x4b4988;}[_0x3aed5f(0x1fd)](){const _0x221972=_0x3aed5f,_0x842d50=new _0xfe63e2(this[_0x221972(0x1d4)]);return _0x842d50[_0x221972(0x1e5)]({'label':_0x4558f4(this[_0x221972(0x1d4)],_0x221972(0x203)),'withText':!0x0}),_0x842d50[_0x221972(0x1f5)]({'on':{'click':this[_0x221972(0x1da)]['to'](_0x32f360=>{const _0x5eedb4=_0x221972;this[_0x5eedb4(0x1d0)](_0x5eedb4(0x20a),{'id':this[_0x5eedb4(0x1db)]}),_0x32f360[_0x5eedb4(0x1e3)]();})},'attributes':{'class':[_0x221972(0x20b),_0x221972(0x1d9),this[_0x221972(0x1da)]['if'](_0x221972(0x1e0),_0x221972(0x1de),_0x5440ee=>_0x221972(0x1e7)!==_0x5440ee)]}}),_0x842d50;}[_0x3aed5f(0x1e9)](){const _0x19d2c0=_0x3aed5f,_0x3da62f=new _0xfe63e2(this[_0x19d2c0(0x1d4)]);return _0x3da62f[_0x19d2c0(0x1e5)]({'label':_0x4558f4(this[_0x19d2c0(0x1d4)],_0x19d2c0(0x1e8)),'icon':_0xfc3154,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x19d2c0(0x1d8),'class':_0x19d2c0(0x1d1)}),_0x3da62f[_0x19d2c0(0x1d6)](_0x19d2c0(0x1ff))['to'](this,_0x19d2c0(0x1f8),_0x2d89d2=>_0x2d89d2),_0x3da62f['on'](_0x19d2c0(0x1e1),()=>{const _0x3c5ab8=_0x19d2c0;this[_0x3c5ab8(0x1f8)]=!this[_0x3c5ab8(0x1f8)];}),_0x3da62f;}[_0x3aed5f(0x1dc)](){const _0x2a4fac=_0x3aed5f,_0x52f88f=new _0xfe63e2(this[_0x2a4fac(0x1d4)]);return _0x52f88f[_0x2a4fac(0x1e5)]({'withText':!0x0,'isEnabled':!0x1}),_0x52f88f[_0x2a4fac(0x1d6)](_0x2a4fac(0x1c8))['to'](this,_0x2a4fac(0x1e0),_0x1da0d2=>_0x4558f4(this[_0x2a4fac(0x1d4)],_0x2a4fac(0x206)+_0x1da0d2[_0x2a4fac(0x1f6)]())),_0x52f88f[_0x2a4fac(0x1d6)](_0x2a4fac(0x1cb))['to'](this,_0x2a4fac(0x1e0),_0x39cdc3=>_0x2a4fac(0x202)===_0x39cdc3[_0x2a4fac(0x1f6)]()?_0x6d052f:_0x2a4fac(0x1fa)===_0x39cdc3[_0x2a4fac(0x1f6)]()?_0x38dbfb:_0x190273),_0x52f88f[_0x2a4fac(0x1f5)]({'attributes':{'class':[_0x2a4fac(0x1cc),_0x2a4fac(0x1d5),this[_0x2a4fac(0x1da)]['if'](_0x2a4fac(0x1e0),_0x2a4fac(0x1de),_0x26b155=>_0x2a4fac(0x1e7)===_0x26b155)],'disabled':_0x2a4fac(0x1cd)}}),_0x52f88f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x14ad7b,KeystrokeHandler as _0x103622,FocusTracker as ts}from'ckeditor5/src/utils.js';import{View as _0x1a1724,ViewCollection as _0x28315d,ButtonView as _0x46edd8,FormRowView as _0x3d64f4,createDropdown as _0x247fc8,addListToDropdown as _0x24eb8d,UIModel as _0x3b1e6d,ButtonLabelView as _0x49b586,LabeledFieldView as _0x3344c1,FocusCycler as $t}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0xbcd24b}from'./aireviemodepromptinputview.js';import{getTranslation as _0x481da8}from'../../aicore/utils/common-translations.js';import{AIModels as _0xdb13f2}from'../../aicore/model/aimodels.js';export class AIReviewModeCustomCheckView extends _0x1a1724{['focusTracker']=new ts();['keystrokes']=new _0x103622();['focusCycler'];['_focusables']=new _0x28315d();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x588bcc,_0x26dd3){super(_0x588bcc),this['_check']=_0x26dd3,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x26dd3['models']&&_0x26dd3['models']['length']>0x0?_0x26dd3['models'][0x0]['id']:'',this['_defaultLabel']=_0x26dd3['models']&&_0x26dd3['models']['length']>0x0?_0x26dd3['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x3344c1(this['locale'],()=>new _0xbcd24b(_0x588bcc)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x14ad7b(),this['_setModelList'](),_0x24eb8d(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x3d64f4(this['locale'],{'children':[this['promptInputView']]}),new _0x3d64f4(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x4c9b81,_0x347fc6)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x347fc6()):_0x347fc6();}),this['focusCycler']=new $t({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x3b89e7=>{this['_focusables']['add'](_0x3b89e7),this['focusTracker']['add'](_0x3b89e7['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x4d8ba5 of this['_getFormValidators']()){const _0x4e22a1=_0x4d8ba5();if(_0x4e22a1)return this['promptInputView']['errorText']=_0x4e22a1,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x481da8(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x285652=new _0x46edd8(this['locale']),t=this['locale']['t'];return _0x285652['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x285652['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x285652;}['_createCancelButtonView'](){const _0x22eec2=new _0x46edd8(this['locale']),t=this['locale']['t'];return _0x22eec2['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x22eec2['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2e21bb=>{_0x2e21bb['stopPropagation']();})}}),_0x22eec2['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x22eec2;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x16197a=this['_check']['models'];if(this['resetToDefault'](),_0x16197a?.['length']){const _0x4e2e16=_0xdb13f2['getLocalized'](this['locale'],_0x16197a);for(const _0x59bdea of _0x4e2e16){const _0x4be839=new _0x3b1e6d({'label':_0x59bdea['name'],'withText':!0x0,'role':'menuitemradio','id':_0x59bdea['id'],'model':_0x59bdea});_0x4be839['bind']('isOn')['to'](this,'modelId',_0x192dc7=>_0x192dc7===_0x59bdea['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4be839,'labelView':new Ws(this['locale'],_0x59bdea)});}}}['_createModelSelectionDropdown'](){const _0x32908a=_0x247fc8(this['locale']);return _0x32908a['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x32908a['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x32908a,'execute',_0x72d10=>{this['modelId']=_0x72d10['source']['model']['id'],_0x32908a['buttonView']['label']=_0x72d10['source']['label'];}),_0x32908a;}['_createActionsFooterView'](){const _0x124207=new _0x1a1724(this['locale']);return _0x124207['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x124207;}}class Ws extends _0x49b586{constructor(_0x30cf44,_0x133059){super();const _0x53732f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x53732f['to']('style'),'id':_0x53732f['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x53732f['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x133059['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x38d212,_0x3f6b18){var _0x291eb1=_0x6681,_0x3c2b20=_0x38d212();while(!![]){try{var _0x3d369e=parseInt(_0x291eb1(0x1a2))/0x1+parseInt(_0x291eb1(0x1ac))/0x2*(parseInt(_0x291eb1(0x1a3))/0x3)+parseInt(_0x291eb1(0x1ad))/0x4+-parseInt(_0x291eb1(0x1ae))/0x5*(parseInt(_0x291eb1(0x1a8))/0x6)+-parseInt(_0x291eb1(0x1a0))/0x7+parseInt(_0x291eb1(0x1a6))/0x8+-parseInt(_0x291eb1(0x1af))/0x9;if(_0x3d369e===_0x3f6b18)break;else _0x3c2b20['push'](_0x3c2b20['shift']());}catch(_0x469d32){_0x3c2b20['push'](_0x3c2b20['shift']());}}}(_0x504b,0x52428));function _0x6681(_0x1e4e52,_0x2eaa91){var _0x504b68=_0x504b();return _0x6681=function(_0x6681db,_0x401412){_0x6681db=_0x6681db-0x1a0;var _0x3e9af1=_0x504b68[_0x6681db];return _0x3e9af1;},_0x6681(_0x1e4e52,_0x2eaa91);}import{ButtonView as _0x3cc038}from'ckeditor5/src/ui.js';import{getTranslation as _0x56ed6f}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x3cc038{constructor(_0x2685cf){var _0x4dacb8=_0x6681;super(_0x2685cf),this[_0x4dacb8(0x1aa)]({'label':_0x56ed6f(this[_0x4dacb8(0x1a9)],_0x4dacb8(0x1a5)),'withText':!0x0,'class':_0x4dacb8(0x1ab)}),this['on'](_0x4dacb8(0x1a4),()=>{var _0x584103=_0x4dacb8;this[_0x584103(0x1a1)](_0x584103(0x1a7));});}}function _0x504b(){var _0xf7c2b9=['171FYZZFC','execute','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','2081120OLDflY','finishReview','168AQSffW','locale','set','ck-ai-button-primary','1404cCWQDh','1087608QzaBNc','2175jNJAbz','371673drxTXI','2441530kbqKyb','fire','167147yrJCwx'];_0x504b=function(){return _0xf7c2b9;};return _0x504b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x398b(_0x27e0fc,_0x3cc2ea){const _0x166f4a=_0x166f();return _0x398b=function(_0x398b71,_0x5cae34){_0x398b71=_0x398b71-0x191;let _0x45cf04=_0x166f4a[_0x398b71];return _0x45cf04;},_0x398b(_0x27e0fc,_0x3cc2ea);}const _0x1054b4=_0x398b;(function(_0xb69093,_0x51c765){const _0x4503b8=_0x398b,_0x3d3b8b=_0xb69093();while(!![]){try{const _0x543f4d=parseInt(_0x4503b8(0x1a8))/0x1+parseInt(_0x4503b8(0x196))/0x2+parseInt(_0x4503b8(0x1a3))/0x3*(-parseInt(_0x4503b8(0x195))/0x4)+-parseInt(_0x4503b8(0x1a5))/0x5+parseInt(_0x4503b8(0x1a1))/0x6*(parseInt(_0x4503b8(0x19a))/0x7)+-parseInt(_0x4503b8(0x19c))/0x8+-parseInt(_0x4503b8(0x1a2))/0x9;if(_0x543f4d===_0x51c765)break;else _0x3d3b8b['push'](_0x3d3b8b['shift']());}catch(_0x105a02){_0x3d3b8b['push'](_0x3d3b8b['shift']());}}}(_0x166f,0xa18b1));import{ListItemView as _0x277b81,ViewCollection as _0xc25d34}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x5e4e3c}from'./aireviewmodereviewcommandlistitemview.js';function _0x166f(){const _0x1f87b3=['616joXkMu','hasChecks','5412696LUaeam','div','locale','add','resetToDefault','89748PBxbQk','761877hPzlaX','27gsJJFc','length','2959225wtvWBS','setChecks','runReviewCheck','424980uDrMzu','entries','ck-hidden','clear','delegate','setTemplate','ck-ai-review-mode__check-list','_checkViews','52432taMZjp','782908opkcbM','isVisible','bindTemplate','resetAllParameterizedChecks'];_0x166f=function(){return _0x1f87b3;};return _0x166f();}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x277b81{[_0x1054b4(0x194)];constructor(_0x19efb8){const _0x40852c=_0x1054b4;super(_0x19efb8),this[_0x40852c(0x194)]=new _0xc25d34();const _0x52c933=this[_0x40852c(0x198)];this[_0x40852c(0x192)]({'tag':_0x40852c(0x19d),'attributes':{'class':[_0x40852c(0x193),_0x52c933['if'](_0x40852c(0x197),_0x40852c(0x1aa),_0x4a9849=>!_0x4a9849)]},'children':this[_0x40852c(0x194)]});}[_0x1054b4(0x1a6)](_0x48bfb3){const _0x2ac341=_0x1054b4;this[_0x2ac341(0x194)][_0x2ac341(0x1ab)]();for(const [_0x35907c,_0x28c1d7]of _0x48bfb3[_0x2ac341(0x1a9)]()){const _0x56ce33=new _0x5e4e3c(this[_0x2ac341(0x19e)],_0x28c1d7,_0x35907c);_0x56ce33[_0x2ac341(0x191)](_0x2ac341(0x1a7))['to'](this),this[_0x2ac341(0x194)][_0x2ac341(0x19f)](_0x56ce33);}}[_0x1054b4(0x19b)](){const _0x38ce4c=_0x1054b4;return this[_0x38ce4c(0x194)][_0x38ce4c(0x1a4)]>0x0;}[_0x1054b4(0x199)](){const _0x5e7220=_0x1054b4;for(const _0x43efba of this[_0x5e7220(0x194)])_0x43efba instanceof _0x5e4e3c&&_0x43efba[_0x5e7220(0x1a0)]();}}
|