@ckeditor/ckeditor5-ai 47.4.0-alpha.5 → 47.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/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/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/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/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/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/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/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.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/dropdownmenubuttonwithhighlightview.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/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/aireviewmodegeneralerrorview.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/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xa8d5(_0x34c20b,_0x3625ee){const _0x1db760=_0x1db7();return _0xa8d5=function(_0xa8d5e,_0x41db6a){_0xa8d5e=_0xa8d5e-0x19a;let _0x4d3d47=_0x1db760[_0xa8d5e];return _0x4d3d47;},_0xa8d5(_0x34c20b,_0x3625ee);}const _0x319689=_0xa8d5;(function(_0x5448bf,_0x13531b){const _0x3592a6=_0xa8d5,_0x38c71c=_0x5448bf();while(!![]){try{const _0x380352=parseInt(_0x3592a6(0x1d3))/0x1+parseInt(_0x3592a6(0x19e))/0x2+parseInt(_0x3592a6(0x1cd))/0x3+parseInt(_0x3592a6(0x19c))/0x4+-parseInt(_0x3592a6(0x1ac))/0x5+parseInt(_0x3592a6(0x1c4))/0x6+-parseInt(_0x3592a6(0x1c3))/0x7*(parseInt(_0x3592a6(0x1f0))/0x8);if(_0x380352===_0x13531b)break;else _0x38c71c['push'](_0x38c71c['shift']());}catch(_0x3095f4){_0x38c71c['push'](_0x38c71c['shift']());}}}(_0x1db7,0x9996c));import{ContextPlugin as _0x41a668}from'ckeditor5/src/core.js';import{IconAIReview as _0x20ed23}from'ckeditor5/src/icons.js';import{BodyCollection as _0x41387f}from'ckeditor5/src/ui.js';import{AITabs as _0x1963f0}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x219b77}from'./ui/aireviewmodeview.js';import{getTranslation as _0x383c24}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x2a2960}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x319689(0x1c1),_0x319689(0x1dd),_0x319689(0x1d6),_0x319689(0x1b2),_0x319689(0x19b),_0x319689(0x1e1),_0x319689(0x1cf),_0x319689(0x1f3),_0x319689(0x1af),_0x319689(0x1ea),_0x319689(0x19f),_0x319689(0x1d7)];function _0x1db7(){const _0x28a48c=['setItemAsActive','AITabs','_bodyCollection','1293872RQVZGu','showNoChangesView','deactivateChange','acceptChange','hasChecks','fire','acceptAllChanges','882744iHuMdT','showDiffInBalloon','1142432woHkWZ','finishReview','showCheckRunResults','updateChangeState','setChecks','showReviewCheckList','isPremiumPlugin','isOfficialPlugin','showReviewCompletedView','showActionsWhenResultIsReady','activateTab','init','attachToDom','getChangeElement','3246930wUjBiU','forEach','setCheckResultTitle','dismissChange','showReviewCheckListView','reviewCheckResultsView','toggleDiff','addTab','setItemAsInactive','showCheckRunResult','error-chunk','error-general','resetActiveStateInResults','destroy','showReviewCheckResultsView','find','showBalloon','addCheckRunResult','leaveReviewMode','rejected','hideResult','getReviewCheckList','pluginName','98CzFOzT','3723294XMWyBi','showResult','element','outdated','requires','plugins','hideBalloon','accepted','showGeneralResultsErrorView','3628053kOLesE','hideDiffInBalloon','activateChange','get','_reviewModeBalloonSuggestionItemView','setAvailableChecks','920960ZQMKks','getResults','reviewMode','abortReviewStream','retryReview','_reviewModeView','showGeneralReviewModeErrorView','delegate','hideChangeBalloon','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','runReviewCheck','setActiveStateInResults','hideActionsWhenResultIsReady','detachFromDom','leaveReviewModeResultList','AIReviewModeUI','AI_REVIEW_MODE','locale','showChangeBalloon','setTitle','view','reviewCheckListView','showChunkErrorView','learnMore','status','context'];_0x1db7=function(){return _0x28a48c;};return _0x1db7();}export class AIReviewModeUI extends _0x41a668{[_0x319689(0x1d8)];[_0x319689(0x1d1)];[_0x319689(0x1ef)];static get[_0x319689(0x1c8)](){return[_0x1963f0];}static get[_0x319689(0x1c2)](){const _0x4c70dd=_0x319689;return _0x4c70dd(0x1e2);}static get[_0x319689(0x1a5)](){return!0x0;}static get[_0x319689(0x1a4)](){return!0x0;}constructor(_0x11a0ed){const _0x397e2d=_0x319689;super(_0x11a0ed),this[_0x397e2d(0x1ef)]=new _0x41387f(this[_0x397e2d(0x1ec)][_0x397e2d(0x1e4)]),this[_0x397e2d(0x1ef)][_0x397e2d(0x1aa)](),this[_0x397e2d(0x1d8)]=new _0x219b77(this[_0x397e2d(0x1ec)][_0x397e2d(0x1e4)]),this[_0x397e2d(0x1d8)][_0x397e2d(0x1da)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x397e2d(0x1d1)]=new _0x2a2960(this[_0x397e2d(0x1ec)][_0x397e2d(0x1e4)],this[_0x397e2d(0x1ef)]),this[_0x397e2d(0x1d1)][_0x397e2d(0x1da)](_0x397e2d(0x1f3),_0x397e2d(0x1af),_0x397e2d(0x1f2))['to'](this);}[_0x319689(0x1a9)](){const _0x32f8bd=_0x319689,_0x40ce6d=this[_0x32f8bd(0x1ec)][_0x32f8bd(0x1c9)][_0x32f8bd(0x1d0)](_0x32f8bd(0x1ee));_0x40ce6d[_0x32f8bd(0x1e7)]['on'](_0x32f8bd(0x1a8),(_0x134e98,_0x1afd1a)=>{const _0x522311=_0x32f8bd;_0x522311(0x1d5)===_0x1afd1a?this[_0x522311(0x19a)](_0x522311(0x1c1)):this[_0x522311(0x19a)](_0x522311(0x1be));}),_0x40ce6d[_0x32f8bd(0x1e7)][_0x32f8bd(0x1b3)]({'id':_0x32f8bd(0x1d5),'buttonLabel':_0x383c24(this[_0x32f8bd(0x1ec)][_0x32f8bd(0x1e4)],_0x32f8bd(0x1e3)),'buttonIcon':_0x20ed23,'order':0x0,'content':this[_0x32f8bd(0x1d8)]});}[_0x319689(0x1b9)](){const _0xac385e=_0x319689;this[_0xac385e(0x1ef)][_0xac385e(0x1e0)](),super[_0xac385e(0x1b9)]();}[_0x319689(0x1d2)](_0x3cd50e){const _0x278968=_0x319689;this[_0x278968(0x1d8)][_0x278968(0x1e8)][_0x278968(0x1f4)]()||this[_0x278968(0x1d8)][_0x278968(0x1e8)][_0x278968(0x1a2)](_0x3cd50e),this[_0x278968(0x1d8)][_0x278968(0x1b0)]();}[_0x319689(0x1a3)](){const _0x145cbc=_0x319689;this[_0x145cbc(0x19a)](_0x145cbc(0x1c1));}[_0x319689(0x1a0)](_0x49eaa4){const _0x2e8a13=_0x319689;_0x49eaa4&&(_0x2e8a13(0x1b7)!==_0x49eaa4[_0x2e8a13(0x1eb)]?_0x2e8a13(0x1b6)!==_0x49eaa4[_0x2e8a13(0x1eb)]?this[_0x2e8a13(0x1d8)][_0x2e8a13(0x1ba)]():this[_0x2e8a13(0x1e9)]():this[_0x2e8a13(0x1cc)]());}[_0x319689(0x1b5)](_0x3eb678){const _0x5292fe=_0x319689;this[_0x5292fe(0x1d8)][_0x5292fe(0x1bd)](_0x3eb678);}[_0x319689(0x1cc)](){const _0x54e92c=_0x319689;this[_0x54e92c(0x1d8)][_0x54e92c(0x1cc)]();}[_0x319689(0x1d9)](_0x56f05e){const _0x252d6=_0x319689;this[_0x252d6(0x1d8)][_0x252d6(0x1d9)](_0x56f05e??_0x383c24(this[_0x252d6(0x1ec)][_0x252d6(0x1e4)],_0x252d6(0x1dc)));}[_0x319689(0x1e9)](){const _0x3bb1d6=_0x319689;this[_0x3bb1d6(0x1d8)][_0x3bb1d6(0x1e9)]();}[_0x319689(0x1ae)](_0x4ca3c5,_0x7a9fe8){const _0x3b96bb=_0x319689;this[_0x3b96bb(0x1d8)][_0x3b96bb(0x1b1)][_0x3b96bb(0x1e6)](_0x4ca3c5,_0x7a9fe8);}[_0x319689(0x1de)](_0x330e78){const _0x477387=_0x319689;this[_0x477387(0x1d8)][_0x477387(0x1b1)][_0x477387(0x1d4)]()[_0x477387(0x1ad)](_0x3bb30a=>{const _0xdbaa43=_0x477387;_0x3bb30a['id']===_0x330e78&&_0x3bb30a[_0xdbaa43(0x1ed)]();});}[_0x319689(0x1b8)](){const _0x3e1386=_0x319689;this[_0x3e1386(0x1d8)][_0x3e1386(0x1b1)][_0x3e1386(0x1d4)]()[_0x3e1386(0x1ad)](_0x24afde=>_0x24afde[_0x3e1386(0x1b4)]());}[_0x319689(0x1a1)](_0x3770f0,_0x14015d){const _0x5c381c=_0x319689;_0x5c381c(0x1cb)===_0x14015d||_0x5c381c(0x1bf)===_0x14015d||_0x5c381c(0x1c7)===_0x14015d?this[_0x5c381c(0x1d8)][_0x5c381c(0x1b1)][_0x5c381c(0x1c0)](_0x3770f0,_0x14015d):this[_0x5c381c(0x1d8)][_0x5c381c(0x1b1)][_0x5c381c(0x1c5)](_0x3770f0,_0x14015d);}[_0x319689(0x1a6)](){const _0x2e5cd6=_0x319689;this[_0x2e5cd6(0x1d8)][_0x2e5cd6(0x1a6)]();}[_0x319689(0x1a7)](){const _0x3c8404=_0x319689;this[_0x3c8404(0x1d8)][_0x3c8404(0x1a7)]();}[_0x319689(0x1f1)](){const _0x4d97e7=_0x319689;this[_0x4d97e7(0x1d8)][_0x4d97e7(0x1f1)]();}[_0x319689(0x1df)](){const _0x471ffd=_0x319689;this[_0x471ffd(0x1d8)][_0x471ffd(0x1df)]();}[_0x319689(0x1e5)](_0xfe4f35,_0x45e9b3,_0x24a4b3,_0x40e322,_0x408f57,_0x41e83c){const _0x4c74d4=_0x319689;this[_0x4c74d4(0x1d1)][_0x4c74d4(0x1bc)](_0xfe4f35,_0x45e9b3,_0x24a4b3,_0x40e322,_0x408f57,_0x41e83c);}[_0x319689(0x1db)](){const _0x383f30=_0x319689;this[_0x383f30(0x1d1)][_0x383f30(0x1ca)]();}[_0x319689(0x1ce)](){const _0x4b5050=_0x319689;this[_0x4b5050(0x1d1)][_0x4b5050(0x1ce)]();}[_0x319689(0x19d)](){const _0xb10078=_0x319689;this[_0xb10078(0x1d1)][_0xb10078(0x19d)]();}[_0x319689(0x1ab)](_0x5df576){const _0x20b393=_0x319689,_0xee7448=this[_0x20b393(0x1d8)][_0x20b393(0x1b1)][_0x20b393(0x1d4)]()[_0x20b393(0x1bb)](_0x242ef7=>_0x242ef7['id']===_0x5df576);return _0xee7448?_0xee7448[_0x20b393(0x1c6)]:null;}[_0x319689(0x1f2)](){const _0x39053d=_0x319689;this[_0x39053d(0x1d1)][_0x39053d(0x1f2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x221f60=_0x5177;(function(_0x17f946,_0x5145ec){var _0x138022=_0x5177,_0x599ca2=_0x17f946();while(!![]){try{var _0x1bd8f4=parseInt(_0x138022(0xb9))/0x1+parseInt(_0x138022(0xbc))/0x2+-parseInt(_0x138022(0xc1))/0x3*(parseInt(_0x138022(0xbd))/0x4)+parseInt(_0x138022(0xb6))/0x5*(parseInt(_0x138022(0xbb))/0x6)+-parseInt(_0x138022(0xb7))/0x7*(-parseInt(_0x138022(0xbf))/0x8)+parseInt(_0x138022(0xba))/0x9+-parseInt(_0x138022(0xc0))/0xa;if(_0x1bd8f4===_0x5145ec)break;else _0x599ca2['push'](_0x599ca2['shift']());}catch(_0x4c420e){_0x599ca2['push'](_0x599ca2['shift']());}}}(_0x4281,0x53ccd));import{AIReviewCheck as _0x145e54}from'./aireviewcheck.js';function _0x4281(){var _0x2491c1=['456282jdgeOv','4WPQfrs','models','286256lPqycu','12571210wFsDWn','1924179EZkgul','285dKZpAL','126jdZNcN','_models','327292qinYTJ','4085577qGkPgz','61926oWuVye'];_0x4281=function(){return _0x2491c1;};return _0x4281();}function _0x5177(_0x3c9a85,_0x46f61b){var _0x42817a=_0x4281();return _0x5177=function(_0x517704,_0x368d4d){_0x517704=_0x517704-0xb6;var _0x388bba=_0x42817a[_0x517704];return _0x388bba;},_0x5177(_0x3c9a85,_0x46f61b);}export class AIReviewCheckCustom extends _0x145e54{[_0x221f60(0xb8)]=[];get[_0x221f60(0xbe)](){var _0x302a7e=_0x221f60;return this[_0x302a7e(0xb8)];}set[_0x221f60(0xbe)](_0x33de7b){var _0x58e5e0=_0x221f60;this[_0x58e5e0(0xb8)]=_0x33de7b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x444143=_0x1c9a;function _0x1c9a(_0x2c3da1,_0x135a83){var _0x10d5b4=_0x10d5();return _0x1c9a=function(_0x1c9a51,_0x36595f){_0x1c9a51=_0x1c9a51-0xb7;var _0x4e4027=_0x10d5b4[_0x1c9a51];return _0x4e4027;},_0x1c9a(_0x2c3da1,_0x135a83);}function _0x10d5(){var _0x36e3dd=['5182JlNhxi','111670BrxECv','267TPiVAN','custom','find','map','_checks','30751798GqySIK','110MMPYKB','2796180EWgEOr','removeCheckById','659057OuHGzr','67576Lelyph','checks','30tdtmRA','104ewrLCU','332235Ymeynk','_mapCheckDefinitions','getCheckById','filter'];_0x10d5=function(){return _0x36e3dd;};return _0x10d5();}(function(_0x4d2ffc,_0x3dbbea){var _0x51027b=_0x1c9a,_0x475f05=_0x4d2ffc();while(!![]){try{var _0x5c461c=-parseInt(_0x51027b(0xc7))/0x1*(parseInt(_0x51027b(0xc5))/0x2)+-parseInt(_0x51027b(0xba))/0x3+-parseInt(_0x51027b(0xbd))/0x4*(-parseInt(_0x51027b(0xb9))/0x5)+-parseInt(_0x51027b(0xbf))/0x6*(parseInt(_0x51027b(0xbc))/0x7)+-parseInt(_0x51027b(0xc0))/0x8*(parseInt(_0x51027b(0xc1))/0x9)+-parseInt(_0x51027b(0xc6))/0xa+parseInt(_0x51027b(0xb8))/0xb;if(_0x5c461c===_0x3dbbea)break;else _0x475f05['push'](_0x475f05['shift']());}catch(_0x58a3bb){_0x475f05['push'](_0x475f05['shift']());}}}(_0x10d5,0x8dfec));import{ObservableMixin as _0x367d41}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x5c23af}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x48e67c}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x367d41(){[_0x444143(0xb7)];constructor(_0x4b8965){var _0x11afc8=_0x444143;super(),this[_0x11afc8(0xb7)]=this[_0x11afc8(0xc2)](_0x4b8965);}get[_0x444143(0xbe)](){var _0x187096=_0x444143;return this[_0x187096(0xb7)];}[_0x444143(0xc3)](_0x20dff1){var _0x5140a0=_0x444143;return this[_0x5140a0(0xbe)][_0x5140a0(0xc9)](_0x16fa77=>_0x16fa77['id']===_0x20dff1);}[_0x444143(0xbb)](_0x5e6d63){var _0x452a58=_0x444143;this[_0x452a58(0xb7)]=this[_0x452a58(0xb7)][_0x452a58(0xc4)](_0xeb6fc1=>_0xeb6fc1['id']!==_0x5e6d63);}[_0x444143(0xc2)](_0xc4d954){var _0x262693=_0x444143;return _0xc4d954[_0x262693(0xca)](_0x129da2=>_0x262693(0xc8)===_0x129da2['id']?new _0x48e67c(_0x129da2):new _0x5c23af(_0x129da2));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4e5b3d=_0x371d;(function(_0x31a2e6,_0x1e61b6){var _0x52e7eb=_0x371d,_0x13f7f9=_0x31a2e6();while(!![]){try{var _0x9f7fb5=-parseInt(_0x52e7eb(0x1ec))/0x1*(-parseInt(_0x52e7eb(0x1e7))/0x2)+parseInt(_0x52e7eb(0x1e6))/0x3*(-parseInt(_0x52e7eb(0x1e3))/0x4)+parseInt(_0x52e7eb(0x1e2))/0x5+-parseInt(_0x52e7eb(0x1ee))/0x6*(-parseInt(_0x52e7eb(0x1e9))/0x7)+parseInt(_0x52e7eb(0x1ed))/0x8*(parseInt(_0x52e7eb(0x1e5))/0x9)+-parseInt(_0x52e7eb(0x1e1))/0xa+parseInt(_0x52e7eb(0x1e4))/0xb;if(_0x9f7fb5===_0x1e61b6)break;else _0x13f7f9['push'](_0x13f7f9['shift']());}catch(_0x46c58e){_0x13f7f9['push'](_0x13f7f9['shift']());}}}(_0x352e,0xe0657));import{EmitterMixin as _0x16ca3d}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x16ca3d(){['id'];[_0x4e5b3d(0x1e8)];[_0x4e5b3d(0x1ea)];[_0x4e5b3d(0x1eb)];constructor({id:_0x5ed8de,contentNew:_0x14bc18,contentInitial:_0x1bb0a7,documentVersion:_0x47e83b}){var _0x36765d=_0x4e5b3d;super(),this['id']=_0x5ed8de,this[_0x36765d(0x1e8)]=_0x14bc18,this[_0x36765d(0x1ea)]=_0x1bb0a7,this[_0x36765d(0x1eb)]=_0x47e83b;}}function _0x371d(_0x39f809,_0x5e6445){var _0x352efe=_0x352e();return _0x371d=function(_0x371d60,_0x214e7b){_0x371d60=_0x371d60-0x1e1;var _0x15f8f2=_0x352efe[_0x371d60];return _0x15f8f2;},_0x371d(_0x39f809,_0x5e6445);}function _0x352e(){var _0x24dd68=['contentNew','204211ZzYNno','contentInitial','documentVersion','1fFhTvz','16qQWlGf','18LjWBGN','8201710DyNEtn','289240ErqGeI','47812AAWRBK','3705757MQnWWk','7463601pMHGnC','201dzFNiU','798634SRXpTB'];_0x352e=function(){return _0x24dd68;};return _0x352e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4ca3(_0x4d7a7b,_0x52c00e){var _0x5b4d92=_0x5b4d();return _0x4ca3=function(_0x4ca33a,_0x58a0d7){_0x4ca33a=_0x4ca33a-0xa1;var _0x36dcf7=_0x5b4d92[_0x4ca33a];return _0x36dcf7;},_0x4ca3(_0x4d7a7b,_0x52c00e);}var _0x2fd4f4=_0x4ca3;(function(_0x35e885,_0x7f3155){var _0x28511f=_0x4ca3,_0x4c5f70=_0x35e885();while(!![]){try{var _0x5b78f7=-parseInt(_0x28511f(0xb4))/0x1*(parseInt(_0x28511f(0xa8))/0x2)+-parseInt(_0x28511f(0xaa))/0x3*(-parseInt(_0x28511f(0xb5))/0x4)+parseInt(_0x28511f(0xb9))/0x5+parseInt(_0x28511f(0xac))/0x6*(parseInt(_0x28511f(0xab))/0x7)+parseInt(_0x28511f(0xb7))/0x8*(parseInt(_0x28511f(0xa7))/0x9)+parseInt(_0x28511f(0xa3))/0xa+parseInt(_0x28511f(0xb3))/0xb*(-parseInt(_0x28511f(0xb6))/0xc);if(_0x5b78f7===_0x7f3155)break;else _0x4c5f70['push'](_0x4c5f70['shift']());}catch(_0x76b168){_0x4c5f70['push'](_0x4c5f70['shift']());}}}(_0x5b4d,0x6a3fc));import{ObservableMixin as _0x59de93}from'ckeditor5/src/utils.js';function _0x5b4d(){var _0x2d55a9=['721NxqWet','21246VJfloa','parent','_editorOperations','status','isActivated','isRated','contentDiffed','1056tczCaJ','50236HStyZn','445052giYLdG','51840nOYlrC','32uYQhLa','pending','2372090FjpBgb','operationsIsolated','change:status','2119440UXoYUd','context','_data','set','1105524nboLIp','32IkmRjU','operations','3etZhXb'];_0x5b4d=function(){return _0x2d55a9;};return _0x5b4d();}export class AIReviewCheckResultChange extends _0x59de93(){['id'];[_0x2fd4f4(0xad)];[_0x2fd4f4(0xa5)];[_0x2fd4f4(0xae)]=[];constructor(_0x48ee4e,_0x452d96,_0x2bec2c){var _0x321aa2=_0x2fd4f4;super(),this['id']=_0x48ee4e,this[_0x321aa2(0xad)]=_0x2bec2c,this[_0x321aa2(0xa5)]=_0x452d96,this[_0x321aa2(0xa6)](_0x321aa2(0xb0),!0x1),this[_0x321aa2(0xa6)](_0x321aa2(0xb1),!0x1),this[_0x321aa2(0xa6)](_0x321aa2(0xaf),_0x321aa2(0xb8)),this['on'](_0x321aa2(0xa2),()=>{var _0x2a1c91=_0x321aa2;_0x2a1c91(0xb8)!==this[_0x2a1c91(0xaf)]&&this[_0x2a1c91(0xb0)]&&(this[_0x2a1c91(0xb0)]=!0x1);});}get[_0x2fd4f4(0xb2)](){var _0x30353d=_0x2fd4f4;return this[_0x30353d(0xa5)][_0x30353d(0xa4)]();}get[_0x2fd4f4(0xa9)](){var _0x3ef289=_0x2fd4f4;return this[_0x3ef289(0xa5)][_0x3ef289(0xa9)];}get[_0x2fd4f4(0xa1)](){var _0x263d27=_0x2fd4f4;return this[_0x263d27(0xa5)][_0x263d27(0xa1)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x16da33=_0x3e31;(function(_0x35bd3d,_0x451bdd){const _0xc0326e=_0x3e31,_0x316779=_0x35bd3d();while(!![]){try{const _0x467bc4=-parseInt(_0xc0326e(0x16e))/0x1+-parseInt(_0xc0326e(0x187))/0x2+-parseInt(_0xc0326e(0x161))/0x3*(-parseInt(_0xc0326e(0x17e))/0x4)+-parseInt(_0xc0326e(0x152))/0x5+parseInt(_0xc0326e(0x16d))/0x6*(-parseInt(_0xc0326e(0x188))/0x7)+parseInt(_0xc0326e(0x15d))/0x8*(-parseInt(_0xc0326e(0x172))/0x9)+parseInt(_0xc0326e(0x153))/0xa;if(_0x467bc4===_0x451bdd)break;else _0x316779['push'](_0x316779['shift']());}catch(_0x486998){_0x316779['push'](_0x316779['shift']());}}}(_0x2c29,0xc2b82));function _0x2c29(){const _0x5e9f3a=['title','message','_addReviewCheckResult','change:status','isActivated','event','reviewCheckResultChangeStatusUpdated','aborted','770595sFqiGs','32542980sBxxDv','processedResultsCount','sendRating','isChangeActive','status','getActiveChanges','get','getChangeById','markChangeAsRejected','abortController','8424cSHaAH','subTitle','ready','reviewCheckResultAdded','477hOfeOw','review-metadata','_activeRequest','_aiConnector','_sendRatingRequest','reviewName','documentData','fire','updateDocumentData','elements','isRated','error-general','325266GZJrnZ','924494lGuOkt','callId','size','data','63xNRtPt','find','version','_changes','hasModifications','clear','markChangeAsPending','finished','forceReadyState','includes','_reviewParams','_sourceCheck','33752ywqJdM','isAnyChangeActivated','length','getContent','dataId','rejected','filter','addResultChanges','change:isActivated','2280534PuzkQA','203HOpyLq','getStream','abort','_results','markChangeAsAccepted','reviewCheckResultActivated','currentError','push','reviewCheckResultDeactivated','operation','textDelta','some','_checkIfFinished','accepted','_createApiRequest','reviewCheckRunUpdated','every','activateChange','error','loading','markChangeAsOutdated','_documentData','set','forEach','initialized','_currentError','outdated','pending','restart','parent','markAllChangesAsAccepted','error-chunk','unmodified','ai-request-aborted','_reviewArgs','reviewCheckResultReady','start','deactivateChange'];_0x2c29=function(){return _0x5e9f3a;};return _0x2c29();}import{ObservableMixin as _0x157eff,uid as _0x252c3f}from'ckeditor5/src/utils.js';function _0x3e31(_0x59a574,_0x48b183){const _0x2c29b3=_0x2c29();return _0x3e31=function(_0x3e31a7,_0x56a2b6){_0x3e31a7=_0x3e31a7-0x152;let _0xc6e81e=_0x2c29b3[_0x3e31a7];return _0xc6e81e;},_0x3e31(_0x59a574,_0x48b183);}import{AIReviewCheckResult as _0x1dc359}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x16a447}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x157eff(){['id']=_0x252c3f();[_0x16da33(0x16f)];[_0x16da33(0x18b)]=new Map();[_0x16da33(0x175)]=[];[_0x16da33(0x17d)];[_0x16da33(0x19d)];[_0x16da33(0x164)];[_0x16da33(0x17c)];[_0x16da33(0x1aa)];[_0x16da33(0x163)]=null;[_0x16da33(0x1a1)];constructor(_0x290053,_0x2255f7,_0x1ad20f,_0x25cc64,_0x26d272){const _0x572949=_0x16da33;super(),this[_0x572949(0x17d)]=_0x2255f7,this[_0x572949(0x19d)]=_0x290053,this[_0x572949(0x164)]=_0x1ad20f,this[_0x572949(0x17c)]=_0x25cc64,this[_0x572949(0x1aa)]=_0x26d272,this['on'](_0x572949(0x1b1),(_0x4bc660,_0x1b7230,_0x31f8ff)=>{const _0x52bbde=_0x572949;this[_0x52bbde(0x168)](_0x52bbde(0x197),{'status':_0x31f8ff,'run':this,'error':this[_0x52bbde(0x1a1)]});}),this[_0x572949(0x19e)](_0x572949(0x157),_0x572949(0x1a0));}get[_0x16da33(0x167)](){const _0x3e4c7f=_0x16da33;return this[_0x3e4c7f(0x19d)];}get[_0x16da33(0x154)](){const _0x168800=_0x16da33;return this[_0x168800(0x18b)][_0x168800(0x170)];}get[_0x16da33(0x1ae)](){const _0x49f0c8=_0x16da33;return this[_0x49f0c8(0x17d)][_0x49f0c8(0x1ae)];}get[_0x16da33(0x15e)](){return'';}get[_0x16da33(0x166)](){const _0x409287=_0x16da33;return this[_0x409287(0x17d)]['id'];}get[_0x16da33(0x176)](){const _0x48312d=_0x16da33;return!this[_0x48312d(0x175)][_0x48312d(0x198)](_0x2daf70=>_0x48312d(0x1a3)===_0x2daf70[_0x48312d(0x157)]);}get[_0x16da33(0x18e)](){const _0x39aee1=_0x16da33;return this[_0x39aee1(0x1a1)];}[_0x16da33(0x169)](_0xca22c4){const _0x5147e0=_0x16da33;this[_0x5147e0(0x19d)]=_0xca22c4;}async[_0x16da33(0x1ac)](){const _0x3b030e=_0x16da33;this[_0x3b030e(0x157)]=_0x3b030e(0x19b),this[_0x3b030e(0x1a1)]=void 0x0;try{this[_0x3b030e(0x163)]=this[_0x3b030e(0x196)]();const _0x4fe4f4=await this[_0x3b030e(0x163)][_0x3b030e(0x189)]();this[_0x3b030e(0x157)]=_0x3b030e(0x171);for await(const _0x54611d of _0x4fe4f4)_0x3b030e(0x1a8)!==_0x54611d[_0x3b030e(0x171)][_0x3b030e(0x191)]&&(_0x3b030e(0x19a)!==_0x54611d[_0x3b030e(0x171)][_0x3b030e(0x191)]?_0x3b030e(0x162)!==_0x54611d[_0x3b030e(0x1b3)]?this[_0x3b030e(0x1b0)](_0x54611d[_0x3b030e(0x171)][_0x3b030e(0x182)],_0x54611d[_0x3b030e(0x171)][_0x3b030e(0x192)]):this[_0x3b030e(0x16f)]=_0x54611d[_0x3b030e(0x171)][_0x3b030e(0x16f)]:this[_0x3b030e(0x157)]=_0x3b030e(0x1a7));_0x3b030e(0x1a7)!==this[_0x3b030e(0x157)]&&(0x0===this[_0x3b030e(0x18b)][_0x3b030e(0x170)]||0x0===this[_0x3b030e(0x175)][_0x3b030e(0x180)]?this[_0x3b030e(0x157)]=_0x3b030e(0x1a8):this[_0x3b030e(0x157)]=_0x3b030e(0x15f));}catch(_0x59c4ac){this[_0x3b030e(0x1a1)]=_0x59c4ac,_0x59c4ac instanceof Error&&_0x59c4ac[_0x3b030e(0x1af)][_0x3b030e(0x17b)](_0x3b030e(0x1a9))?this[_0x3b030e(0x157)]=_0x3b030e(0x1b5):this[_0x3b030e(0x157)]=_0x3b030e(0x16c);}finally{this[_0x3b030e(0x163)]=null;}}async[_0x16da33(0x1a4)](){const _0x424ffc=_0x16da33;this[_0x424ffc(0x18b)][_0x424ffc(0x177)](),this[_0x424ffc(0x175)][_0x424ffc(0x180)]=0x0,this[_0x424ffc(0x1a1)]=void 0x0,await this[_0x424ffc(0x1ac)]();}[_0x16da33(0x185)](_0x40369c,_0x1d8aad){const _0x59fa7d=_0x16da33,_0x3e0277=this[_0x59fa7d(0x18b)][_0x59fa7d(0x159)](_0x40369c);if(!_0x3e0277)return;if(0x0===_0x1d8aad[_0x59fa7d(0x180)])return;const _0x2d0051=[];_0x1d8aad[_0x59fa7d(0x19f)]((_0x121883,_0x126db2)=>{const _0x5175a0=_0x59fa7d,_0x45b07f=new _0x16a447(_0x3e0277['id']+'-'+_0x126db2,_0x121883,_0x3e0277);_0x45b07f['on'](_0x5175a0(0x1b1),()=>{const _0x134498=_0x5175a0;this[_0x134498(0x168)](_0x134498(0x1b4),{'change':_0x45b07f,'status':_0x45b07f[_0x134498(0x157)]});}),_0x45b07f['on'](_0x5175a0(0x186),()=>{const _0x11ad90=_0x5175a0;_0x45b07f[_0x11ad90(0x1b2)]?this[_0x11ad90(0x168)](_0x11ad90(0x18d),{'change':_0x45b07f}):this[_0x11ad90(0x168)](_0x11ad90(0x190),{'change':_0x45b07f});}),this[_0x5175a0(0x175)][_0x5175a0(0x18f)](_0x45b07f),_0x2d0051[_0x5175a0(0x18f)](_0x45b07f);}),this[_0x59fa7d(0x168)](_0x59fa7d(0x1ab),{'changes':_0x2d0051,'result':_0x3e0277,'source':this});}[_0x16da33(0x18a)](){const _0x3705ce=_0x16da33;this[_0x3705ce(0x163)]&&(this[_0x3705ce(0x163)][_0x3705ce(0x15c)][_0x3705ce(0x18a)](),this[_0x3705ce(0x163)]=null,this[_0x3705ce(0x157)]=_0x3705ce(0x1b5));}[_0x16da33(0x156)](_0x5dc7b6){const _0x56116d=_0x16da33,_0x494320=this[_0x56116d(0x175)][_0x56116d(0x173)](_0x5119fe=>_0x5119fe['id']===_0x5dc7b6);return!(!_0x494320||_0x56116d(0x1a3)!==_0x494320[_0x56116d(0x157)]);}[_0x16da33(0x17f)](){const _0x486515=_0x16da33;return this[_0x486515(0x175)][_0x486515(0x193)](_0x33d80f=>!0x0===_0x33d80f[_0x486515(0x1b2)]);}[_0x16da33(0x158)](){const _0x42a597=_0x16da33;return this[_0x42a597(0x175)][_0x42a597(0x184)](_0x1a2cfa=>_0x42a597(0x1a3)===_0x1a2cfa[_0x42a597(0x157)]);}[_0x16da33(0x15a)](_0x249c03){const _0x35d60e=_0x16da33;return this[_0x35d60e(0x175)][_0x35d60e(0x173)](_0x3ad716=>_0x3ad716['id']===_0x249c03);}[_0x16da33(0x1a6)](){const _0x1a243e=_0x16da33;for(const _0x30ce5d of this[_0x1a243e(0x175)])_0x1a243e(0x1a3)===_0x30ce5d[_0x1a243e(0x157)]&&(_0x30ce5d[_0x1a243e(0x157)]=_0x1a243e(0x195));this[_0x1a243e(0x194)]();}[_0x16da33(0x18c)](_0x272333){const _0xd8ff32=_0x16da33,_0x300ac8=this[_0xd8ff32(0x175)][_0xd8ff32(0x173)](_0x1fd544=>_0x1fd544['id']===_0x272333);_0x300ac8&&_0xd8ff32(0x1a3)===_0x300ac8[_0xd8ff32(0x157)]&&(_0x300ac8[_0xd8ff32(0x157)]=_0xd8ff32(0x195)),this[_0xd8ff32(0x194)]();}[_0x16da33(0x15b)](_0x24d3c6){const _0x560fe2=_0x16da33,_0x355d4a=this[_0x560fe2(0x175)][_0x560fe2(0x173)](_0x119826=>_0x119826['id']===_0x24d3c6);_0x355d4a&&_0x560fe2(0x1a3)===_0x355d4a[_0x560fe2(0x157)]&&(_0x355d4a[_0x560fe2(0x157)]=_0x560fe2(0x183)),this[_0x560fe2(0x194)]();}[_0x16da33(0x19c)](_0x3f4aad){const _0x494d9f=_0x16da33,_0x1d5511=this[_0x494d9f(0x175)][_0x494d9f(0x173)](_0x4997b6=>_0x4997b6['id']===_0x3f4aad);_0x1d5511&&_0x494d9f(0x1a3)===_0x1d5511[_0x494d9f(0x157)]&&(_0x1d5511[_0x494d9f(0x157)]=_0x494d9f(0x1a2)),this[_0x494d9f(0x194)]();}[_0x16da33(0x178)](_0x36a616){const _0xf42bd9=_0x16da33,_0x2e9052=this[_0xf42bd9(0x175)][_0xf42bd9(0x173)](_0x3971e6=>_0x3971e6['id']===_0x36a616);_0x2e9052&&_0xf42bd9(0x1a2)===_0x2e9052[_0xf42bd9(0x157)]&&(_0x2e9052[_0xf42bd9(0x157)]=_0xf42bd9(0x1a3)),this[_0xf42bd9(0x194)]();}[_0x16da33(0x199)](_0x5ad467){const _0x4affcb=_0x16da33;this[_0x4affcb(0x175)][_0x4affcb(0x184)](_0x2a4ad5=>_0x2a4ad5[_0x4affcb(0x1b2)]&&_0x2a4ad5['id']!==_0x5ad467)[_0x4affcb(0x19f)](_0x313c6a=>{const _0x4b5a88=_0x4affcb;_0x313c6a[_0x4b5a88(0x1b2)]=!0x1;});const _0x1d90d4=this[_0x4affcb(0x175)][_0x4affcb(0x173)](_0x474d48=>_0x474d48['id']===_0x5ad467);_0x1d90d4&&_0x4affcb(0x1a3)===_0x1d90d4[_0x4affcb(0x157)]&&(_0x1d90d4[_0x4affcb(0x1b2)]=!0x0);}[_0x16da33(0x1ad)](){const _0x38b18f=_0x16da33;this[_0x38b18f(0x175)][_0x38b18f(0x184)](_0x3cac60=>_0x3cac60[_0x38b18f(0x1b2)])[_0x38b18f(0x19f)](_0x33d9ec=>{const _0x205834=_0x38b18f;_0x33d9ec[_0x205834(0x1b2)]=!0x1;});}[_0x16da33(0x17a)](){const _0x465366=_0x16da33;this[_0x465366(0x157)]=_0x465366(0x15f);}async[_0x16da33(0x155)](_0x5ddd7d){const _0x28d3bc=_0x16da33;if(_0x28d3bc(0x1a0)===this[_0x28d3bc(0x157)]||_0x28d3bc(0x19b)===this[_0x28d3bc(0x157)]||_0x28d3bc(0x171)===this[_0x28d3bc(0x157)])return;if(!this[_0x28d3bc(0x16f)]||0x0===this[_0x28d3bc(0x175)][_0x28d3bc(0x180)])return;let _0x51810f;if(_0x5ddd7d){const _0x4e3161=this[_0x28d3bc(0x175)][_0x28d3bc(0x173)](_0x2da86b=>_0x2da86b['id']===_0x5ddd7d);if(_0x4e3161&&_0x4e3161[_0x28d3bc(0x16b)])return;_0x4e3161&&(_0x51810f=_0x4e3161[_0x28d3bc(0x1a5)]['id'],_0x4e3161[_0x28d3bc(0x16b)]=!0x0);}const _0x1d0b45={'positiveCount':this[_0x28d3bc(0x175)][_0x28d3bc(0x184)](_0x281191=>_0x28d3bc(0x195)===_0x281191[_0x28d3bc(0x157)])[_0x28d3bc(0x180)],'totalCount':this[_0x28d3bc(0x175)][_0x28d3bc(0x180)]};this[_0x28d3bc(0x165)](_0x1d0b45,this[_0x28d3bc(0x16f)],_0x51810f);}[_0x16da33(0x1b0)](_0x27ff8e,_0x1db4b0){const _0x38b852=_0x16da33,_0x2679f2=this[_0x38b852(0x19d)][_0x38b852(0x16a)][_0x38b852(0x159)](_0x27ff8e);if(!_0x2679f2)return;const _0x8e8e16=_0x2679f2[_0x38b852(0x181)]();if(_0x8e8e16===_0x1db4b0)return;const _0x2a0c8a=new _0x1dc359({'id':_0x27ff8e,'contentInitial':_0x8e8e16,'contentNew':_0x1db4b0,'documentVersion':this[_0x38b852(0x19d)][_0x38b852(0x174)]});this[_0x38b852(0x18b)][_0x38b852(0x19e)](_0x2a0c8a['id'],_0x2a0c8a),this[_0x38b852(0x168)](_0x38b852(0x160),{'result':_0x2a0c8a,'source':this});}[_0x16da33(0x194)](){const _0x2e05ae=_0x16da33;_0x2e05ae(0x179)===this[_0x2e05ae(0x157)]&&(this[_0x2e05ae(0x175)][_0x2e05ae(0x184)](_0xc62f9c=>_0x2e05ae(0x1a3)===_0xc62f9c[_0x2e05ae(0x157)])[_0x2e05ae(0x180)]>0x0&&(this[_0x2e05ae(0x157)]=_0x2e05ae(0x15f))),_0x2e05ae(0x15f)===this[_0x2e05ae(0x157)]&&(0x0===this[_0x2e05ae(0x175)][_0x2e05ae(0x184)](_0x382230=>_0x2e05ae(0x1a3)===_0x382230[_0x2e05ae(0x157)])[_0x2e05ae(0x180)]&&(this[_0x2e05ae(0x157)]=_0x2e05ae(0x179)));}}
|
|
23
|
+
const _0x56c605=_0x7ea2;function _0x3ae5(){const _0x53b4f9=['reviewCheckResultActivated','612477qZWdTS','clear','abort','12719URevNb','initialized','get','unmodified','forceReadyState','_documentData','_checkIfFinished','dataId','error-chunk','sendRating','markChangeAsPending','callId','forEach','_sendRatingRequest','markAllChangesAsAccepted','some','1416732dHNayU','928704ukJylm','getContent','_results','processedResultsCount','isAnyChangeActivated','loading','pending','push','_sourceCheck','accepted','error','size','change:status','operation','reviewCheckResultDeactivated','reviewCheckRunUpdated','aborted','currentError','_reviewParams','error-general','addResultChanges','208EQsJNJ','isRated','reviewName','6482160QWzAUP','status','subTitle','1116rtaTPf','title','parent','2097586tYwwBd','start','_createApiRequest','_addReviewCheckResult','reviewCheckResultChangeStatusUpdated','elements','length','reviewCheckResultReady','_changes','finished','event','isChangeActive','change:isActivated','find','ready','hasModifications','_currentError','_aiConnector','getStream','deactivateChange','_reviewArgs','markChangeAsOutdated','1207517opmIbi','markChangeAsAccepted','includes','restart','_activeRequest','version','markChangeAsRejected','fire','getChangeById','isActivated','data','review-metadata','outdated','set','textDelta','abortController','documentData','filter','getActiveChanges','ai-request-aborted','every','rejected','activateChange','reviewCheckResultAdded','message','updateDocumentData'];_0x3ae5=function(){return _0x53b4f9;};return _0x3ae5();}(function(_0xe21f8b,_0x12d5f6){const _0xba4ea3=_0x7ea2,_0x32f211=_0xe21f8b();while(!![]){try{const _0x12b813=-parseInt(_0xba4ea3(0x1b4))/0x1+parseInt(_0xba4ea3(0x201))/0x2+-parseInt(_0xba4ea3(0x1e3))/0x3+parseInt(_0xba4ea3(0x1e2))/0x4+-parseInt(_0xba4ea3(0x1fb))/0x5+-parseInt(_0xba4ea3(0x1fe))/0x6*(-parseInt(_0xba4ea3(0x1d2))/0x7)+parseInt(_0xba4ea3(0x1f8))/0x8*(parseInt(_0xba4ea3(0x1cf))/0x9);if(_0x12b813===_0x12d5f6)break;else _0x32f211['push'](_0x32f211['shift']());}catch(_0x4f7d05){_0x32f211['push'](_0x32f211['shift']());}}}(_0x3ae5,0xaa1df));import{ObservableMixin as _0x207c98,uid as _0x34bd34}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x33c600}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x13b744}from'./aireviewcheckresultchange.js';function _0x7ea2(_0x23d1b5,_0x31f6a4){const _0x3ae5c0=_0x3ae5();return _0x7ea2=function(_0x7ea278,_0x4d41e9){_0x7ea278=_0x7ea278-0x1a9;let _0xb65b70=_0x3ae5c0[_0x7ea278];return _0xb65b70;},_0x7ea2(_0x23d1b5,_0x31f6a4);}export class AIReviewCheckRun extends _0x207c98(){['id']=_0x34bd34();[_0x56c605(0x1dd)];[_0x56c605(0x1e5)]=new Map();[_0x56c605(0x209)]=[];[_0x56c605(0x1eb)];[_0x56c605(0x1d7)];[_0x56c605(0x1af)];[_0x56c605(0x1f5)];[_0x56c605(0x1b2)];[_0x56c605(0x1b8)]=null;[_0x56c605(0x1ae)];constructor(_0x12d98b,_0x42456f,_0x226e33,_0x2bdbe4,_0x1f7573){const _0x3a2476=_0x56c605;super(),this[_0x3a2476(0x1eb)]=_0x42456f,this[_0x3a2476(0x1d7)]=_0x12d98b,this[_0x3a2476(0x1af)]=_0x226e33,this[_0x3a2476(0x1f5)]=_0x2bdbe4,this[_0x3a2476(0x1b2)]=_0x1f7573,this['on'](_0x3a2476(0x1ef),(_0x5520d5,_0x2993b5,_0x2026ea)=>{const _0x16a0eb=_0x3a2476;this[_0x16a0eb(0x1bb)](_0x16a0eb(0x1f2),{'status':_0x2026ea,'run':this,'error':this[_0x16a0eb(0x1ae)]});}),this[_0x3a2476(0x1c1)](_0x3a2476(0x1fc),_0x3a2476(0x1d3));}get[_0x56c605(0x1c4)](){const _0x3c90d9=_0x56c605;return this[_0x3c90d9(0x1d7)];}get[_0x56c605(0x1e6)](){const _0x3e7196=_0x56c605;return this[_0x3e7196(0x1e5)][_0x3e7196(0x1ee)];}get[_0x56c605(0x1ff)](){const _0x515977=_0x56c605;return this[_0x515977(0x1eb)][_0x515977(0x1ff)];}get[_0x56c605(0x1fd)](){return'';}get[_0x56c605(0x1fa)](){const _0xe19273=_0x56c605;return this[_0xe19273(0x1eb)]['id'];}get[_0x56c605(0x1ad)](){const _0x340c09=_0x56c605;return!this[_0x340c09(0x209)][_0x340c09(0x1c8)](_0x316086=>_0x340c09(0x1e9)===_0x316086[_0x340c09(0x1fc)]);}get[_0x56c605(0x1f4)](){const _0x1f7c9d=_0x56c605;return this[_0x1f7c9d(0x1ae)];}[_0x56c605(0x1cd)](_0x44da3c){const _0x49122c=_0x56c605;this[_0x49122c(0x1d7)]=_0x44da3c;}async[_0x56c605(0x202)](){const _0x31223f=_0x56c605;this[_0x31223f(0x1fc)]=_0x31223f(0x1e8),this[_0x31223f(0x1ae)]=void 0x0;try{this[_0x31223f(0x1b8)]=this[_0x31223f(0x203)]();const _0x5c74f2=await this[_0x31223f(0x1b8)][_0x31223f(0x1b0)]();this[_0x31223f(0x1fc)]=_0x31223f(0x1be);for await(const _0x2f2e7a of _0x5c74f2)_0x31223f(0x1d5)!==_0x2f2e7a[_0x31223f(0x1be)][_0x31223f(0x1f0)]&&(_0x31223f(0x1ed)!==_0x2f2e7a[_0x31223f(0x1be)][_0x31223f(0x1f0)]?_0x31223f(0x1bf)!==_0x2f2e7a[_0x31223f(0x20b)]?this[_0x31223f(0x204)](_0x2f2e7a[_0x31223f(0x1be)][_0x31223f(0x1d9)],_0x2f2e7a[_0x31223f(0x1be)][_0x31223f(0x1c2)]):this[_0x31223f(0x1dd)]=_0x2f2e7a[_0x31223f(0x1be)][_0x31223f(0x1dd)]:this[_0x31223f(0x1fc)]=_0x31223f(0x1da));_0x31223f(0x1da)!==this[_0x31223f(0x1fc)]&&(0x0===this[_0x31223f(0x1e5)][_0x31223f(0x1ee)]||0x0===this[_0x31223f(0x209)][_0x31223f(0x207)]?this[_0x31223f(0x1fc)]=_0x31223f(0x1d5):this[_0x31223f(0x1fc)]=_0x31223f(0x1ac));}catch(_0x2607e1){this[_0x31223f(0x1ae)]=_0x2607e1,_0x2607e1 instanceof Error&&_0x2607e1[_0x31223f(0x1cc)][_0x31223f(0x1b6)](_0x31223f(0x1c7))?this[_0x31223f(0x1fc)]=_0x31223f(0x1f3):this[_0x31223f(0x1fc)]=_0x31223f(0x1f6);}finally{this[_0x31223f(0x1b8)]=null;}}async[_0x56c605(0x1b7)](){const _0x1041dd=_0x56c605;this[_0x1041dd(0x1e5)][_0x1041dd(0x1d0)](),this[_0x1041dd(0x209)][_0x1041dd(0x207)]=0x0,this[_0x1041dd(0x1ae)]=void 0x0,await this[_0x1041dd(0x202)]();}[_0x56c605(0x1f7)](_0x4c9019,_0x3c992e){const _0x129815=_0x56c605,_0x313007=this[_0x129815(0x1e5)][_0x129815(0x1d4)](_0x4c9019);if(!_0x313007)return;if(0x0===_0x3c992e[_0x129815(0x207)])return;const _0x1105c4=[];_0x3c992e[_0x129815(0x1de)]((_0x1839ce,_0x55ea49)=>{const _0x3a10bc=_0x129815,_0x11519f=new _0x13b744(_0x313007['id']+'-'+_0x55ea49,_0x1839ce,_0x313007);_0x11519f['on'](_0x3a10bc(0x1ef),()=>{const _0xc2968=_0x3a10bc;this[_0xc2968(0x1bb)](_0xc2968(0x205),{'change':_0x11519f,'status':_0x11519f[_0xc2968(0x1fc)]});}),_0x11519f['on'](_0x3a10bc(0x1aa),()=>{const _0x3cece0=_0x3a10bc;_0x11519f[_0x3cece0(0x1bd)]?this[_0x3cece0(0x1bb)](_0x3cece0(0x1ce),{'change':_0x11519f}):this[_0x3cece0(0x1bb)](_0x3cece0(0x1f1),{'change':_0x11519f});}),this[_0x3a10bc(0x209)][_0x3a10bc(0x1ea)](_0x11519f),_0x1105c4[_0x3a10bc(0x1ea)](_0x11519f);}),this[_0x129815(0x1bb)](_0x129815(0x208),{'changes':_0x1105c4,'result':_0x313007,'source':this});}[_0x56c605(0x1d1)](){const _0x76e3e4=_0x56c605;this[_0x76e3e4(0x1b8)]&&(this[_0x76e3e4(0x1b8)][_0x76e3e4(0x1c3)][_0x76e3e4(0x1d1)](),this[_0x76e3e4(0x1b8)]=null,this[_0x76e3e4(0x1fc)]=_0x76e3e4(0x1f3));}[_0x56c605(0x1a9)](_0x7e46b8){const _0x5e0e1a=_0x56c605,_0x1eac2e=this[_0x5e0e1a(0x209)][_0x5e0e1a(0x1ab)](_0x11f35=>_0x11f35['id']===_0x7e46b8);return!(!_0x1eac2e||_0x5e0e1a(0x1e9)!==_0x1eac2e[_0x5e0e1a(0x1fc)]);}[_0x56c605(0x1e7)](){const _0x454981=_0x56c605;return this[_0x454981(0x209)][_0x454981(0x1e1)](_0x8db58e=>!0x0===_0x8db58e[_0x454981(0x1bd)]);}[_0x56c605(0x1c6)](){const _0x525c5b=_0x56c605;return this[_0x525c5b(0x209)][_0x525c5b(0x1c5)](_0x1a51d4=>_0x525c5b(0x1e9)===_0x1a51d4[_0x525c5b(0x1fc)]);}[_0x56c605(0x1bc)](_0x172dc7){const _0x38b914=_0x56c605;return this[_0x38b914(0x209)][_0x38b914(0x1ab)](_0x5a19ae=>_0x5a19ae['id']===_0x172dc7);}[_0x56c605(0x1e0)](){const _0x158ea4=_0x56c605;for(const _0x5ccef5 of this[_0x158ea4(0x209)])_0x158ea4(0x1e9)===_0x5ccef5[_0x158ea4(0x1fc)]&&(_0x5ccef5[_0x158ea4(0x1fc)]=_0x158ea4(0x1ec));this[_0x158ea4(0x1d8)]();}[_0x56c605(0x1b5)](_0x32e503){const _0x31d2f3=_0x56c605,_0x533965=this[_0x31d2f3(0x209)][_0x31d2f3(0x1ab)](_0x56f12b=>_0x56f12b['id']===_0x32e503);_0x533965&&_0x31d2f3(0x1e9)===_0x533965[_0x31d2f3(0x1fc)]&&(_0x533965[_0x31d2f3(0x1fc)]=_0x31d2f3(0x1ec)),this[_0x31d2f3(0x1d8)]();}[_0x56c605(0x1ba)](_0x11249){const _0x5e53b1=_0x56c605,_0xaef0e6=this[_0x5e53b1(0x209)][_0x5e53b1(0x1ab)](_0x19c0fc=>_0x19c0fc['id']===_0x11249);_0xaef0e6&&_0x5e53b1(0x1e9)===_0xaef0e6[_0x5e53b1(0x1fc)]&&(_0xaef0e6[_0x5e53b1(0x1fc)]=_0x5e53b1(0x1c9)),this[_0x5e53b1(0x1d8)]();}[_0x56c605(0x1b3)](_0x1dd8a9){const _0x4422b9=_0x56c605,_0x4614fa=this[_0x4422b9(0x209)][_0x4422b9(0x1ab)](_0x5f0696=>_0x5f0696['id']===_0x1dd8a9);_0x4614fa&&_0x4422b9(0x1e9)===_0x4614fa[_0x4422b9(0x1fc)]&&(_0x4614fa[_0x4422b9(0x1fc)]=_0x4422b9(0x1c0)),this[_0x4422b9(0x1d8)]();}[_0x56c605(0x1dc)](_0x32550e){const _0x13f1e3=_0x56c605,_0x25c47f=this[_0x13f1e3(0x209)][_0x13f1e3(0x1ab)](_0x1938ee=>_0x1938ee['id']===_0x32550e);_0x25c47f&&_0x13f1e3(0x1c0)===_0x25c47f[_0x13f1e3(0x1fc)]&&(_0x25c47f[_0x13f1e3(0x1fc)]=_0x13f1e3(0x1e9)),this[_0x13f1e3(0x1d8)]();}[_0x56c605(0x1ca)](_0x2aaab7){const _0x14bfda=_0x56c605;this[_0x14bfda(0x209)][_0x14bfda(0x1c5)](_0xf0d4a=>_0xf0d4a[_0x14bfda(0x1bd)]&&_0xf0d4a['id']!==_0x2aaab7)[_0x14bfda(0x1de)](_0x3e0689=>{const _0x34510=_0x14bfda;_0x3e0689[_0x34510(0x1bd)]=!0x1;});const _0x3d78dc=this[_0x14bfda(0x209)][_0x14bfda(0x1ab)](_0xff6cbc=>_0xff6cbc['id']===_0x2aaab7);_0x3d78dc&&_0x14bfda(0x1e9)===_0x3d78dc[_0x14bfda(0x1fc)]&&(_0x3d78dc[_0x14bfda(0x1bd)]=!0x0);}[_0x56c605(0x1b1)](){const _0x194358=_0x56c605;this[_0x194358(0x209)][_0x194358(0x1c5)](_0x5f0089=>_0x5f0089[_0x194358(0x1bd)])[_0x194358(0x1de)](_0xbcd74e=>{const _0x478c41=_0x194358;_0xbcd74e[_0x478c41(0x1bd)]=!0x1;});}[_0x56c605(0x1d6)](){const _0x4a6922=_0x56c605;this[_0x4a6922(0x1fc)]=_0x4a6922(0x1ac);}async[_0x56c605(0x1db)](_0x5432f9){const _0x5d0954=_0x56c605;if(_0x5d0954(0x1d3)===this[_0x5d0954(0x1fc)]||_0x5d0954(0x1e8)===this[_0x5d0954(0x1fc)]||_0x5d0954(0x1be)===this[_0x5d0954(0x1fc)])return;if(!this[_0x5d0954(0x1dd)]||0x0===this[_0x5d0954(0x209)][_0x5d0954(0x207)])return;let _0x2c1e62;if(_0x5432f9){const _0x3c5960=this[_0x5d0954(0x209)][_0x5d0954(0x1ab)](_0x455ef4=>_0x455ef4['id']===_0x5432f9);if(_0x3c5960&&_0x3c5960[_0x5d0954(0x1f9)])return;_0x3c5960&&(_0x2c1e62=_0x3c5960[_0x5d0954(0x200)]['id'],_0x3c5960[_0x5d0954(0x1f9)]=!0x0);}const _0xb26ad6={'positiveCount':this[_0x5d0954(0x209)][_0x5d0954(0x1c5)](_0x4fef26=>_0x5d0954(0x1ec)===_0x4fef26[_0x5d0954(0x1fc)])[_0x5d0954(0x207)],'totalCount':this[_0x5d0954(0x209)][_0x5d0954(0x207)]};this[_0x5d0954(0x1df)](_0xb26ad6,this[_0x5d0954(0x1dd)],_0x2c1e62);}[_0x56c605(0x204)](_0x47aac1,_0x56b1eb){const _0x3972ac=_0x56c605,_0x2652e7=this[_0x3972ac(0x1d7)][_0x3972ac(0x206)][_0x3972ac(0x1d4)](_0x47aac1);if(!_0x2652e7)return;const _0xe53f41=_0x2652e7[_0x3972ac(0x1e4)]();if(_0xe53f41===_0x56b1eb)return;const _0x46be94=new _0x33c600({'id':_0x47aac1,'contentInitial':_0xe53f41,'contentNew':_0x56b1eb,'documentVersion':this[_0x3972ac(0x1d7)][_0x3972ac(0x1b9)]});this[_0x3972ac(0x1e5)][_0x3972ac(0x1c1)](_0x46be94['id'],_0x46be94),this[_0x3972ac(0x1bb)](_0x3972ac(0x1cb),{'result':_0x46be94,'source':this});}[_0x56c605(0x1d8)](){const _0x2fe407=_0x56c605;_0x2fe407(0x20a)===this[_0x2fe407(0x1fc)]&&(this[_0x2fe407(0x209)][_0x2fe407(0x1c5)](_0x46d25a=>_0x2fe407(0x1e9)===_0x46d25a[_0x2fe407(0x1fc)])[_0x2fe407(0x207)]>0x0&&(this[_0x2fe407(0x1fc)]=_0x2fe407(0x1ac))),_0x2fe407(0x1ac)===this[_0x2fe407(0x1fc)]&&(0x0===this[_0x2fe407(0x209)][_0x2fe407(0x1c5)](_0x46abf5=>_0x2fe407(0x1e9)===_0x46abf5[_0x2fe407(0x1fc)])[_0x2fe407(0x207)]&&(this[_0x2fe407(0x1fc)]=_0x2fe407(0x20a)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2594cd=_0x14ad;(function(_0x34bcf8,_0x372224){var _0xc162d5=_0x14ad,_0x3828c1=_0x34bcf8();while(!![]){try{var _0xfb34c0=parseInt(_0xc162d5(0xfa))/0x1+-parseInt(_0xc162d5(0xf1))/0x2*(parseInt(_0xc162d5(0x100))/0x3)+parseInt(_0xc162d5(0xf5))/0x4*(parseInt(_0xc162d5(0xf6))/0x5)+-parseInt(_0xc162d5(0xf0))/0x6+parseInt(_0xc162d5(0xfe))/0x7*(parseInt(_0xc162d5(0xf4))/0x8)+-parseInt(_0xc162d5(0xfd))/0x9+parseInt(_0xc162d5(0xef))/0xa;if(_0xfb34c0===_0x372224)break;else _0x3828c1['push'](_0x3828c1['shift']());}catch(_0x1a4036){_0x3828c1['push'](_0x3828c1['shift']());}}}(_0x4171,0x9dd93));import{AIReviewCheckRun as _0x36ae41}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x36ae41{[_0x2594cd(0xf9)];[_0x2594cd(0xf8)];constructor(_0x44bf63,_0x330938,_0x3e0f28,_0x119602,_0x1958db){var _0x10d687=_0x2594cd;super(_0x3e0f28,_0x119602,_0x1958db),this[_0x10d687(0xf9)]=_0x44bf63,this[_0x10d687(0xf8)]=_0x330938;}get[_0x2594cd(0xf3)](){var _0x404b35=_0x2594cd;return this[_0x404b35(0xf9)];}[_0x2594cd(0xf7)](){var _0xedaef9=_0x2594cd;return this[_0xedaef9(0xfc)][_0xedaef9(0xee)]({'content':this[_0xedaef9(0xff)][_0xedaef9(0xf2)],'prompt':this[_0xedaef9(0xf9)],'model':this[_0xedaef9(0xf8)]});}[_0x2594cd(0xfb)](_0x5d574b,_0x40042f,_0x3948da){var _0x52f0e5=_0x2594cd;return this[_0x52f0e5(0xfc)][_0x52f0e5(0x101)](_0x40042f,_0x5d574b,_0x3948da);}}function _0x14ad(_0x29f944,_0x4e9df8){var _0x41719f=_0x4171();return _0x14ad=function(_0x14ad05,_0x4e7568){_0x14ad05=_0x14ad05-0xee;var _0x5bc7cc=_0x41719f[_0x14ad05];return _0x5bc7cc;},_0x14ad(_0x29f944,_0x4e9df8);}function _0x4171(){var _0x15ff65=['164494dDzkwp','_sendRatingRequest','_aiConnector','3717909OsTLgE','2471JZVAQZ','_documentData','192KWnGvs','upsertCustomAIReviewRating','callCustomReview','17645130iawcwV','4599720eKjFId','29958AQvesa','content','subTitle','6712XZueDQ','40HGunhx','279875UZQYqS','_createApiRequest','_model','_prompt'];_0x4171=function(){return _0x15ff65;};return _0x4171();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5174e3=_0x3605;(function(_0xae3c42,_0xa89134){const _0x245707=_0x3605,_0x49b85a=_0xae3c42();while(!![]){try{const _0x4b8ed3=-parseInt(_0x245707(0xfc))/0x1*(-parseInt(_0x245707(0xff))/0x2)+-parseInt(_0x245707(0xfe))/0x3*(-parseInt(_0x245707(0xfd))/0x4)+-parseInt(_0x245707(0x111))/0x5*(-parseInt(_0x245707(0x10a))/0x6)+parseInt(_0x245707(0x10d))/0x7*(-parseInt(_0x245707(0x103))/0x8)+-parseInt(_0x245707(0x10c))/0x9*(-parseInt(_0x245707(0x118))/0xa)+-parseInt(_0x245707(0xfb))/0xb+parseInt(_0x245707(0x11b))/0xc*(parseInt(_0x245707(0x108))/0xd);if(_0x4b8ed3===_0xa89134)break;else _0x49b85a['push'](_0x49b85a['shift']());}catch(_0xa15cff){_0x49b85a['push'](_0x49b85a['shift']());}}}(_0x4904,0x8e9d0));import{AIReviewCheckRun as _0x27583f}from'./aireviewcheckrun.js';function _0x3605(_0x5f5037,_0x823db1){const _0x490420=_0x4904();return _0x3605=function(_0x360521,_0x4816ef){_0x360521=_0x360521-0xfa;let _0x12942e=_0x490420[_0x360521];return _0x12942e;},_0x3605(_0x5f5037,_0x823db1);}export class AIReviewSystemCheckRun extends _0x27583f{get[_0x5174e3(0x119)](){const _0x145134=_0x5174e3;if(!this[_0x145134(0x113)]||0x0===this[_0x145134(0x113)][_0x145134(0x10b)])return'';const _0x22d53d=[];if(this[_0x145134(0x113)][_0x145134(0x10b)]>0x0&&this[_0x145134(0x10f)][_0x145134(0xfa)])for(let _0x5e7141=0x0;_0x5e7141<this[_0x145134(0x113)][_0x145134(0x10b)];_0x5e7141++){if(!this[_0x145134(0x113)][_0x5e7141]||!this[_0x145134(0x10f)][_0x145134(0xfa)][_0x5e7141])continue;const _0x2e27b8=this[_0x145134(0x10f)][_0x145134(0xfa)][_0x5e7141],_0x55adb0=_0x2e27b8[_0x145134(0x10e)]?.[_0x145134(0x112)](_0x5e4e1d=>_0x5e4e1d['id']===this[_0x145134(0x113)][_0x5e7141]);_0x55adb0&&_0x22d53d[_0x145134(0x102)](_0x55adb0[_0x145134(0x100)]);}return _0x22d53d[_0x145134(0x117)](',\x20');}get[_0x5174e3(0x11a)](){const _0x566bc9=_0x5174e3;return this[_0x566bc9(0x109)]();}[_0x5174e3(0x115)](){const _0x279276=_0x5174e3;return this[_0x279276(0x110)][_0x279276(0x105)]({'reviewName':this[_0x279276(0x109)](),'content':this[_0x279276(0x107)][_0x279276(0x116)],'args':this[_0x279276(0x114)]});}[_0x5174e3(0x101)](_0x26a4ea,_0x5a3882,_0x120e3a){const _0x430f7e=_0x5174e3;return this[_0x430f7e(0x110)][_0x430f7e(0x104)](this[_0x430f7e(0x11a)],_0x5a3882,_0x26a4ea,_0x120e3a);}[_0x5174e3(0x109)](){const _0x1da3a2=_0x5174e3;return!this[_0x1da3a2(0x113)]||0x0===this[_0x1da3a2(0x113)][_0x1da3a2(0x10b)]||this[_0x1da3a2(0x10f)][_0x1da3a2(0x106)]?this[_0x1da3a2(0x10f)]['id']:[this[_0x1da3a2(0x10f)]['id'],...this[_0x1da3a2(0x113)]][_0x1da3a2(0x117)]('-');}}function _0x4904(){const _0x4fa731=['callSystemReview','useArgs','_documentData','225628wRSHCe','_composeReviewName','12HrNWEZ','length','18hnObDh','21SkyYzr','data','_sourceCheck','_aiConnector','1743780TTiOPg','find','_reviewParams','_reviewArgs','_createApiRequest','content','join','1672390enmPDF','subTitle','reviewName','288UWgils','options','10053593rqJeEw','460fzMpbl','157524nsWFBl','57pkDFYB','1754ZfFWAC','label','_sendRatingRequest','push','2938896qoSGiE','upsertAIReviewRating'];_0x4904=function(){return _0x4fa731;};return _0x4904();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5a7e3b=_0x301f;(function(_0xc6f1af,_0xb5272d){var _0x571d29=_0x301f,_0x4e8898=_0xc6f1af();while(!![]){try{var _0x22e844=-parseInt(_0x571d29(0x1d8))/0x1+-parseInt(_0x571d29(0x1d6))/0x2+parseInt(_0x571d29(0x1d2))/0x3*(parseInt(_0x571d29(0x1c4))/0x4)+-parseInt(_0x571d29(0x1d1))/0x5+-parseInt(_0x571d29(0x1c5))/0x6*(-parseInt(_0x571d29(0x1d5))/0x7)+parseInt(_0x571d29(0x1d4))/0x8*(parseInt(_0x571d29(0x1db))/0x9)+parseInt(_0x571d29(0x1c8))/0xa*(parseInt(_0x571d29(0x1c7))/0xb);if(_0x22e844===_0xb5272d)break;else _0x4e8898['push'](_0x4e8898['shift']());}catch(_0x1747a7){_0x4e8898['push'](_0x4e8898['shift']());}}}(_0x3693,0xabaa2));import{TextareaView as _0x7f900b}from'ckeditor5/src/ui.js';function _0x3693(){var _0x5e2168=['listenTo','isEmpty','element','set','6240490daAFWH','3RmWUXf','keystrokes','104hGgRst','1790355yKvvMi','1728032qYzbWu','trim','74790BCGMZm','render','extendTemplate','534987XMJIPR','ai-review-mode-prompt-input','update','MAX_ROWS','2862068ZVAHhu','30MvVMfH','minRows','77KQfsjA','175630sMZUSn','MIN_ROWS','ck-review-mode__prompt-input','value','maxRows'];_0x3693=function(){return _0x5e2168;};return _0x3693();}function _0x301f(_0x273ae9,_0x334451){var _0x36935f=_0x3693();return _0x301f=function(_0x301f96,_0x1e33ab){_0x301f96=_0x301f96-0x1c2;var _0x3d080f=_0x36935f[_0x301f96];return _0x3d080f;},_0x301f(_0x273ae9,_0x334451);}import{KeystrokeHandler as _0x2c8cc1}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x7f900b{[_0x5a7e3b(0x1d3)];static [_0x5a7e3b(0x1c9)]=0x1;static [_0x5a7e3b(0x1c3)]=0xc;constructor(_0x453507){var _0x12503a=_0x5a7e3b;super(_0x453507),this[_0x12503a(0x1d0)](_0x12503a(0x1ce),!0x0),this[_0x12503a(0x1d3)]=new _0x2c8cc1(),this[_0x12503a(0x1c6)]=AIReviewModePromptInputView[_0x12503a(0x1c9)],this[_0x12503a(0x1cc)]=AIReviewModePromptInputView[_0x12503a(0x1c3)],this[_0x12503a(0x1da)]({'attributes':{'id':_0x12503a(0x1dc),'class':['ck',_0x12503a(0x1ca)]}});}[_0x5a7e3b(0x1d9)](){var _0x55afed=_0x5a7e3b;super[_0x55afed(0x1d9)](),this['on'](_0x55afed(0x1c2),()=>{var _0x93c9d7=_0x55afed;this[_0x93c9d7(0x1ce)]=''===this[_0x93c9d7(0x1cf)][_0x93c9d7(0x1cb)]?.[_0x93c9d7(0x1d7)]();}),this[_0x55afed(0x1d3)][_0x55afed(0x1cd)](this[_0x55afed(0x1cf)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58973a=_0x3297;(function(_0x194e20,_0x73b053){const _0x158574=_0x3297,_0x1ab408=_0x194e20();while(!![]){try{const _0x279efe=parseInt(_0x158574(0xfa))/0x1*(parseInt(_0x158574(0xda))/0x2)+-parseInt(_0x158574(0xe9))/0x3+parseInt(_0x158574(0x115))/0x4+parseInt(_0x158574(0x11b))/0x5+-parseInt(_0x158574(0x105))/0x6*(parseInt(_0x158574(0x10a))/0x7)+parseInt(_0x158574(0x111))/0x8+parseInt(_0x158574(0x10e))/0x9*(-parseInt(_0x158574(0x104))/0xa);if(_0x279efe===_0x73b053)break;else _0x1ab408['push'](_0x1ab408['shift']());}catch(_0x326dd2){_0x1ab408['push'](_0x1ab408['shift']());}}}(_0x1805,0xd31bb));import{Rect as _0x36c821,getConstrainedViewportRect as _0x569f31,global as _0x33e615}from'ckeditor5/src/utils.js';function _0x3297(_0x2fd5de,_0x1457ad){const _0x180544=_0x1805();return _0x3297=function(_0x3297ab,_0x39fe4e){_0x3297ab=_0x3297ab-0xd5;let _0x3b5845=_0x180544[_0x3297ab];return _0x3b5845;},_0x3297(_0x2fd5de,_0x1457ad);}import{BalloonPanelView as _0x24c4c3,View as _0x1d4e2a,clickOutsideHandler as _0x52c85a}from'ckeditor5/src/ui.js';function _0x1805(){const _0x491883=['push','_getBestRectPositionOnHover','_getPointedRectIndexFromEvent','_pinnedRectIndex','ck-reset','unpin','3369504cMJxRt','showDiff','hideBalloon','.ck-ai-review-mode__change_active','document','from','updateContent','resultItemView','bindTemplate','reverse','_isPinnedRectVisible','deactivateChange','_pinnedTargetElement','querySelectorAll','isDiffActive','resultResponseView','position','1GEoeMm','clientX','right','element','delegate','hideDiffInBalloon','_getBestRectPositionOnClick','ck-ai-review-mode-balloon-panel-suggestion_diff-active','ck-ai-review-mode__suggestion-text','showDiffInBalloon','10GpOBIs','1180890kljaQX','width','ck-content','acceptChange','locale','7bnPPoK','ck-ai-review-mode__change_active','length','hide','8475147ukMlgx','bottom','span[data-marker-id*=\x22','7826176IilWQE','content','render','_removeActiveClassFromMarkers','2229692PaQfqw','_createContentView','getBoundingClientRect','changeId','getIntersection','_setActiveClassOnMarker','6001800eVqlBm','pin','_pinnedTargetChangeId','dismissChange','click','div','show','add','setTemplate','forEach','clientY','replace','isVisible','classList','showBalloon','getClientRects','set','arrow_','documentElement','extendTemplate','innerHTML','fire','780620MQegwS','_setupClickOutsideHandler','left','ck-ai-review-mode-balloon-panel-suggestion','arrow_se','contentDiffed','top','hover','remove'];_0x1805=function(){return _0x491883;};return _0x1805();}import{AIReviewModeReviewCheckListItemResultsView as _0x1d00bc}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x24c4c3{[_0x58973a(0xf0)];[_0x58973a(0xe6)]=void 0x0;[_0x58973a(0xf5)]=void 0x0;[_0x58973a(0x11d)]=void 0x0;constructor(_0x26db49,_0x3c0f0a){const _0x4ce7db=_0x58973a;super(_0x26db49),this[_0x4ce7db(0x12b)]({'isVisible':!0x1,'position':_0x4ce7db(0xde),'class':null,'top':0x0,'left':0x0}),this[_0x4ce7db(0xd7)]({'tag':_0x4ce7db(0x120),'attributes':{'class':[_0x4ce7db(0xe7)],'tabindex':'-1'}}),this[_0x4ce7db(0x12b)](_0x4ce7db(0xf7),!0x1),this[_0x4ce7db(0x112)][_0x4ce7db(0x122)](this[_0x4ce7db(0x116)]()),_0x3c0f0a[_0x4ce7db(0x122)](this);}[_0x58973a(0x113)](){const _0x25ddfd=_0x58973a;super[_0x25ddfd(0x113)](),this[_0x25ddfd(0xdb)]();}[_0x58973a(0xef)](_0x12bf45){const _0x33d6c9=_0x58973a;this[_0x33d6c9(0xf0)][_0x33d6c9(0x118)]=_0x12bf45['id'],this[_0x33d6c9(0xf0)][_0x33d6c9(0xf8)][_0x33d6c9(0xfd)][_0x33d6c9(0xd8)]=_0x12bf45[_0x33d6c9(0xdf)];}[_0x58973a(0x129)](_0x2fad9e,_0x2c6a9f,_0x11bb8,_0x9cc30e,_0x225c9c,_0x327193){const _0x42bda5=_0x58973a;this[_0x42bda5(0x114)](),this[_0x42bda5(0xef)](_0x2fad9e),this[_0x42bda5(0x121)]();const _0x29ea63=Array[_0x42bda5(0xee)](_0x2c6a9f[_0x42bda5(0x12a)]())[_0x42bda5(0xf2)](),_0x2c03cf=this[_0x42bda5(0xe5)](_0x11bb8,_0x29ea63);_0x42bda5(0x11f)===_0x9cc30e?(this[_0x42bda5(0xf7)]=!0x0,this[_0x42bda5(0x11a)](_0x2fad9e['id']),this[_0x42bda5(0x11c)]({'target':()=>this[_0x42bda5(0x100)](_0x2c6a9f,_0x2c03cf,_0x2fad9e['id'],_0x225c9c,_0x327193)})):_0x42bda5(0xe1)===_0x9cc30e&&(this[_0x42bda5(0xf7)]=!0x1,this[_0x42bda5(0x11c)]({'target':()=>this[_0x42bda5(0xe4)](_0x2c6a9f,_0x2c03cf,_0x2fad9e['id'])}));}[_0x58973a(0xeb)](){const _0x46cf97=_0x58973a;this[_0x46cf97(0x10d)](),this[_0x46cf97(0xe8)](),this[_0x46cf97(0x114)](),this[_0x46cf97(0xe6)]=void 0x0,this[_0x46cf97(0xf5)]=void 0x0,this[_0x46cf97(0x11d)]=void 0x0;}[_0x58973a(0xff)](){const _0x48a77d=_0x58973a;this[_0x48a77d(0xf0)][_0x48a77d(0xea)]=!0x1;}[_0x58973a(0x103)](){const _0x25e479=_0x58973a;this[_0x25e479(0xf0)][_0x25e479(0xea)]=!0x0;}[_0x58973a(0xf4)](){const _0x251e32=_0x58973a;this[_0x251e32(0xd9)](_0x251e32(0xf4));}[_0x58973a(0x114)](){const _0x11853b=_0x58973a;_0x33e615[_0x11853b(0xed)][_0x11853b(0xf6)](_0x11853b(0xec))[_0x11853b(0x124)](_0x3edefb=>{const _0x22e476=_0x11853b;_0x3edefb[_0x22e476(0x128)][_0x22e476(0xe2)](_0x22e476(0x10b));});}[_0x58973a(0x11a)](_0xdf9d93){const _0x10e742=_0x58973a;_0x33e615[_0x10e742(0xed)][_0x10e742(0xf6)](_0x10e742(0x110)+_0xdf9d93+'\x22]')[_0x10e742(0x124)](_0x26817f=>{const _0x3871d7=_0x10e742;_0x26817f[_0x3871d7(0x128)][_0x3871d7(0x122)](_0x3871d7(0x10b));});}[_0x58973a(0xdb)](){const _0x34f95d=_0x58973a;_0x52c85a({'emitter':this,'activator':()=>this[_0x34f95d(0x127)],'contextElements':()=>{const _0x215776=_0x34f95d,_0x5a9e13=[this[_0x215776(0xfd)]];return this[_0x215776(0xf5)]&&_0x5a9e13[_0x215776(0xe3)](this[_0x215776(0xf5)]),_0x5a9e13;},'callback':()=>{const _0x3a194d=_0x34f95d;this[_0x3a194d(0x10d)](),this[_0x3a194d(0xe8)](),this[_0x3a194d(0x114)](),this[_0x3a194d(0xf4)](),this[_0x3a194d(0xf5)]=void 0x0,this[_0x3a194d(0xe6)]=void 0x0,this[_0x3a194d(0x11d)]=void 0x0;}});}[_0x58973a(0x116)](){const _0x41a216=_0x58973a,_0x223ffe=new _0x1d4e2a();return this[_0x41a216(0xf0)]=new _0x1d00bc(this[_0x41a216(0x109)],''),this[_0x41a216(0xf0)][_0x41a216(0xf8)][_0x41a216(0xd7)]({'attributes':{'class':[_0x41a216(0x107)]}}),this[_0x41a216(0xf0)][_0x41a216(0xfe)](_0x41a216(0x108),_0x41a216(0x11e))['to'](this),_0x223ffe[_0x41a216(0x123)]({'tag':_0x41a216(0x120),'attributes':{'class':[_0x41a216(0xe7),_0x41a216(0xdd),this[_0x41a216(0xf1)]['if'](_0x41a216(0xf7),_0x41a216(0x101))]},'children':[{'tag':'p','attributes':{'class':[_0x41a216(0x102)]},'children':[this[_0x41a216(0xf0)]]}]}),_0x223ffe;}[_0x58973a(0x100)](_0x58b0be,_0x33ab48,_0x52ce7f,_0x580a81,_0x1f9cdf){const _0x1e81c7=_0x58973a,_0x329921=this[_0x1e81c7(0xf9)][_0x1e81c7(0x126)](_0x1e81c7(0xd5),''),_0x534d07=Array[_0x1e81c7(0xee)](_0x58b0be[_0x1e81c7(0x12a)]());let _0x314710,_0x301839=_0x534d07[_0x1e81c7(0xf2)]();return void 0x0!==_0x33ab48&&this[_0x1e81c7(0xf3)](_0x301839[_0x33ab48],_0x580a81,_0x1f9cdf)?(_0x314710=_0x301839[_0x33ab48],this[_0x1e81c7(0xe6)]=_0x33ab48):this[_0x1e81c7(0xf3)](_0x301839[0x0],_0x580a81,_0x1f9cdf)&&void 0x0===_0x33ab48?_0x314710=_0x301839[0x0]:(_0x301839='s'==_0x329921[0x0]?[..._0x534d07][_0x1e81c7(0xf2)]():_0x534d07,_0x301839[_0x1e81c7(0x124)](_0x1f63ec=>{const _0x491f3c=_0x1e81c7;this[_0x491f3c(0xf3)](_0x1f63ec,_0x580a81,_0x1f9cdf)&&(_0x314710=_0x1f63ec);})),this[_0x1e81c7(0x11d)]=_0x52ce7f,this[_0x1e81c7(0xf5)]=_0x58b0be,_0x314710||_0x58b0be[_0x1e81c7(0x117)]();}[_0x58973a(0xe4)](_0xcdfecd,_0x8accdb,_0x528064){const _0x5566a6=_0x58973a,_0x1b58b3=Array[_0x5566a6(0xee)](_0xcdfecd[_0x5566a6(0x12a)]())[_0x5566a6(0xf2)]();if(void 0x0===this[_0x5566a6(0xe6)]&&void 0x0!==_0x8accdb&&this[_0x5566a6(0x11d)]!==_0x528064)return this[_0x5566a6(0xe6)]=_0x8accdb,this[_0x5566a6(0xf5)]=_0xcdfecd,this[_0x5566a6(0x11d)]=_0x528064,_0x1b58b3[_0x8accdb];if(void 0x0!==this[_0x5566a6(0xe6)]&&this[_0x5566a6(0x11d)]===_0x528064){if(_0xcdfecd!==this[_0x5566a6(0xf5)])return Array[_0x5566a6(0xee)](this[_0x5566a6(0xf5)][_0x5566a6(0x12a)]())[_0x5566a6(0xf2)]()[this[_0x5566a6(0xe6)]];return _0x1b58b3[this[_0x5566a6(0xe6)]];}return void 0x0!==_0x8accdb&&this[_0x5566a6(0x11d)]!==_0x528064?(this[_0x5566a6(0xe6)]=_0x8accdb,this[_0x5566a6(0xf5)]=_0xcdfecd,this[_0x5566a6(0x11d)]=_0x528064,_0x1b58b3[_0x8accdb]):_0xcdfecd[_0x5566a6(0x117)]();}[_0x58973a(0xe5)](_0x10546e,_0x3d5d42){const _0x5adcf7=_0x58973a;if(_0x10546e)for(let _0x1beb08=0x0;_0x1beb08<_0x3d5d42[_0x5adcf7(0x10c)];_0x1beb08++){const _0x17ac01=_0x3d5d42[_0x1beb08];if(_0x10546e[_0x5adcf7(0xfb)]>=_0x17ac01[_0x5adcf7(0xdc)]-0x3&&_0x10546e[_0x5adcf7(0xfb)]<=_0x17ac01[_0x5adcf7(0xfc)]+0x3&&_0x10546e[_0x5adcf7(0x125)]>=_0x17ac01[_0x5adcf7(0xe0)]-0x3&&_0x10546e[_0x5adcf7(0x125)]<=_0x17ac01[_0x5adcf7(0x10f)]+0x3)return _0x1beb08;}}[_0x58973a(0xf3)](_0x237f26,_0x4924de,_0xd524ea){const _0x20ec17=_0x58973a,_0x4ee4c9=new _0x36c821(_0x237f26),_0x53b146=_0x4924de||document[_0x20ec17(0xd6)],_0x47a2fb=_0x4ee4c9[_0x20ec17(0x119)](_0x569f31(_0xd524ea)),_0x5544c9=new _0x36c821(_0x53b146)[_0x20ec17(0x119)](_0x4ee4c9);return!!(_0x47a2fb&&_0x5544c9&&_0x4ee4c9[_0x20ec17(0x106)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f3a15=_0x4d35;(function(_0x50800e,_0x316cb7){const _0x291724=_0x4d35,_0x1a9a52=_0x50800e();while(!![]){try{const _0x159170=-parseInt(_0x291724(0x12d))/0x1*(parseInt(_0x291724(0x13c))/0x2)+-parseInt(_0x291724(0x133))/0x3+-parseInt(_0x291724(0x10e))/0x4+-parseInt(_0x291724(0x141))/0x5+parseInt(_0x291724(0x10a))/0x6*(-parseInt(_0x291724(0x13e))/0x7)+parseInt(_0x291724(0x120))/0x8+parseInt(_0x291724(0x13b))/0x9;if(_0x159170===_0x316cb7)break;else _0x1a9a52['push'](_0x1a9a52['shift']());}catch(_0xde4188){_0x1a9a52['push'](_0x1a9a52['shift']());}}}(_0x225b,0xae1d6));import{View as _0x4c385a,ButtonView as _0x3cfc1f}from'ckeditor5/src/ui.js';import{IconInfo as _0x4b601a,IconCheck as _0x54a571,IconCancel as _0x12b8ea,IconOutdated as _0x4baab8}from'ckeditor5/src/icons.js';function _0x4d35(_0x5e5a32,_0x4a7c59){const _0x225bac=_0x225b();return _0x4d35=function(_0x4d3558,_0x3e67fb){_0x4d3558=_0x4d3558-0xfb;let _0x1362e5=_0x225bac[_0x4d3558];return _0x1362e5;},_0x4d35(_0x5e5a32,_0x4a7c59);}import{getTranslation as _0x5439ba}from'../../aicore/utils/common-translations.js';function _0x225b(){const _0x37812b=['acceptChange','menuitemcheckbox','click','activateChange','change:status','ck-ai-review-mode__check-run-result-footer','ck-content-direct-excluded','accepted','isEnabled','outdatedButtonView','6763376qrYDLf','bindTemplate','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','stopPropagation','isActive','isInfoToggleOn','outdated','setTemplate','dismissChange','ck-ai-review-mode__check-run-result','AI_REVIEW_MODE_LEARN_MORE','isOn','disabled','1uVBqUM','_createResultResponseView','rejected','bind','fire','AI_REVIEW_MODE_DISMISS_CHANGE','1720089OKvBNN','pending','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai-button-secondary','ck-ai-review-mode__check-run-result-response','status','locale','14727411cLnYat','785806IHgrNU','changeId','7zGCHKi','extendTemplate','div','58625vziqFY','dismissButtonView','setItemAsInactive','_createAcceptButtonView','icon','execute','ck-ai-button-tertiary-filled','_createDismissButtonView','set','ck-content','ck-ai-review-mode__check-run-result-accept-button','resultResponseView','_createOutdatedButtonView','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','acceptButtonView','_createInfoButtonView','1015038LhhJJG','label','setItemAsActive','infoButtonView','2485852udWotk','ck-ai-review-mode__check-run-result-action-buttons','ck-hidden','ck-ai-review-mode__check-run-result_active','ck-ai-review-mode__check-run-result-status-button','AI_REVIEW_MODE_ACCEPT_CHANGE','showDiff','ck-ai-review-mode__check-run-result-dismiss-button'];_0x225b=function(){return _0x37812b;};return _0x225b();}export class AIReviewModeReviewCheckListItemResultsView extends _0x4c385a{[_0x4f3a15(0x105)];[_0x4f3a15(0x108)];[_0x4f3a15(0xfb)];[_0x4f3a15(0x10d)];[_0x4f3a15(0x11f)];constructor(_0x32499f,_0x15a693){const _0x4ab906=_0x4f3a15;super(_0x32499f),this['id']=_0x15a693,this[_0x4ab906(0x102)](_0x4ab906(0x139),_0x4ab906(0x134)),this[_0x4ab906(0x102)](_0x4ab906(0x13d),_0x15a693),this[_0x4ab906(0x105)]=this[_0x4ab906(0x12e)](),this[_0x4ab906(0x108)]=this[_0x4ab906(0xfd)](),this[_0x4ab906(0xfb)]=this[_0x4ab906(0x101)](),this[_0x4ab906(0x10d)]=this[_0x4ab906(0x109)](),this[_0x4ab906(0x11f)]=this[_0x4ab906(0x106)](),this[_0x4ab906(0x102)](_0x4ab906(0x125),!0x1),this[_0x4ab906(0x102)](_0x4ab906(0x124),!0x1),this[_0x4ab906(0x102)](_0x4ab906(0x114),!0x0),this[_0x4ab906(0x127)]({'tag':_0x4ab906(0x140),'attributes':{'class':[_0x4ab906(0x129),this[_0x4ab906(0x121)]['if'](_0x4ab906(0x124),_0x4ab906(0x111))]},'on':{'click':this[_0x4ab906(0x121)]['to'](_0x4ab906(0x118))},'children':[this[_0x4ab906(0x105)],{'tag':_0x4ab906(0x140),'attributes':{'class':[_0x4ab906(0x11b)]},'children':[{'tag':_0x4ab906(0x140),'attributes':{'class':[_0x4ab906(0x10f)]},'children':[this[_0x4ab906(0x108)],this[_0x4ab906(0xfb)],this[_0x4ab906(0x11f)]]},this[_0x4ab906(0x10d)]]}]}),this['on'](_0x4ab906(0x118),()=>{const _0x352122=_0x4ab906;this[_0x352122(0x131)](_0x352122(0x119),{'id':_0x15a693,'source':this});});}[_0x4f3a15(0x10c)](){const _0x24cfaa=_0x4f3a15;this[_0x24cfaa(0x124)]=!0x0;}[_0x4f3a15(0xfc)](){const _0x583584=_0x4f3a15;this[_0x583584(0x124)]=!0x1;}[_0x4f3a15(0x12e)](){const _0xb55d6a=_0x4f3a15,_0x16bd0f=new _0x4c385a(this[_0xb55d6a(0x13a)]);return _0x16bd0f[_0xb55d6a(0x127)]({'tag':_0xb55d6a(0x140),'attributes':{'class':['ck',_0xb55d6a(0x103),_0xb55d6a(0x11c),_0xb55d6a(0x138),this[_0xb55d6a(0x121)]['if'](_0xb55d6a(0x114),_0xb55d6a(0x110),_0x194b81=>!_0x194b81)]}}),_0x16bd0f;}[_0x4f3a15(0xfd)](){const _0xe9c9ee=_0x4f3a15,_0xbe0bdc=new _0x3cfc1f(this[_0xe9c9ee(0x13a)]);return _0xbe0bdc[_0xe9c9ee(0x102)]({'label':_0x5439ba(this[_0xe9c9ee(0x13a)],_0xe9c9ee(0x113)),'withText':!0x0}),_0xbe0bdc[_0xe9c9ee(0x13f)]({'on':{'click':this[_0xe9c9ee(0x121)]['to'](_0x572da4=>{const _0x1ac9c0=_0xe9c9ee;this[_0x1ac9c0(0x131)](_0x1ac9c0(0x116),{'id':this[_0x1ac9c0(0x13d)]}),_0x572da4[_0x1ac9c0(0x123)]();})},'attributes':{'class':[_0xe9c9ee(0x137),_0xe9c9ee(0x104),this[_0xe9c9ee(0x121)]['if'](_0xe9c9ee(0x139),_0xe9c9ee(0x110),_0x2232d8=>_0xe9c9ee(0x134)!==_0x2232d8&&_0xe9c9ee(0x11d)!==_0x2232d8),this[_0xe9c9ee(0x121)]['if'](_0xe9c9ee(0x139),_0xe9c9ee(0x104),_0x525942=>_0xe9c9ee(0x134)===_0x525942),this[_0xe9c9ee(0x121)]['if'](_0xe9c9ee(0x139),_0xe9c9ee(0x112),_0x2ad5a3=>_0xe9c9ee(0x11d)===_0x2ad5a3)]}}),this['on'](_0xe9c9ee(0x11a),(_0x163e86,_0x14827b,_0x52d059)=>{const _0xc06219=_0xe9c9ee;_0xbe0bdc[_0xc06219(0x11e)]=!0x1,_0xc06219(0x11d)===_0x52d059&&(_0xbe0bdc[_0xc06219(0x10b)]=_0x5439ba(this[_0xc06219(0x13a)],_0xc06219(0x136)),_0xbe0bdc[_0xc06219(0xfe)]=_0x54a571);}),_0xbe0bdc;}[_0x4f3a15(0x101)](){const _0x225c18=_0x4f3a15,_0x1a946a=new _0x3cfc1f(this[_0x225c18(0x13a)]);return _0x1a946a[_0x225c18(0x102)]({'label':_0x5439ba(this[_0x225c18(0x13a)],_0x225c18(0x132)),'withText':!0x0}),_0x1a946a[_0x225c18(0x13f)]({'on':{'click':this[_0x225c18(0x121)]['to'](_0x4c91a7=>{const _0x1a1c0d=_0x225c18;this[_0x1a1c0d(0x131)](_0x1a1c0d(0x128),{'id':this[_0x1a1c0d(0x13d)]}),_0x4c91a7[_0x1a1c0d(0x123)]();})},'attributes':{'class':[_0x225c18(0x100),this[_0x225c18(0x121)]['if'](_0x225c18(0x139),_0x225c18(0x110),_0x131acd=>_0x225c18(0x134)!==_0x131acd&&_0x225c18(0x12f)!==_0x131acd),this[_0x225c18(0x121)]['if'](_0x225c18(0x139),_0x225c18(0x115),_0x258d6a=>_0x225c18(0x134)===_0x258d6a),this[_0x225c18(0x121)]['if'](_0x225c18(0x139),_0x225c18(0x112),_0x19f7aa=>_0x225c18(0x12f)===_0x19f7aa)]}}),this['on'](_0x225c18(0x11a),(_0x23be9b,_0xf47d7e,_0x96bf60)=>{const _0xb8ccaf=_0x225c18;_0x1a946a[_0xb8ccaf(0x11e)]=!0x1,_0xb8ccaf(0x12f)===_0x96bf60&&(_0x1a946a[_0xb8ccaf(0x10b)]=_0x5439ba(this[_0xb8ccaf(0x13a)],_0xb8ccaf(0x122)),_0x1a946a[_0xb8ccaf(0xfe)]=_0x12b8ea);}),_0x1a946a;}[_0x4f3a15(0x109)](){const _0x48dafe=_0x4f3a15,_0xd41d56=new _0x3cfc1f(this[_0x48dafe(0x13a)]);return _0xd41d56[_0x48dafe(0x102)]({'label':_0x5439ba(this[_0x48dafe(0x13a)],_0x48dafe(0x12a)),'icon':_0x4b601a,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x48dafe(0x117),'class':_0x48dafe(0x107)}),_0xd41d56[_0x48dafe(0x130)](_0x48dafe(0x12b))['to'](this,_0x48dafe(0x125),_0x249e52=>_0x249e52),_0xd41d56['on'](_0x48dafe(0xff),()=>{const _0x2039ac=_0x48dafe;this[_0x2039ac(0x125)]=!this[_0x2039ac(0x125)];}),_0xd41d56;}[_0x4f3a15(0x106)](){const _0x2391e8=_0x4f3a15,_0x28604f=new _0x3cfc1f(this[_0x2391e8(0x13a)]);return _0x28604f[_0x2391e8(0x102)]({'label':_0x5439ba(this[_0x2391e8(0x13a)],_0x2391e8(0x135)),'icon':_0x4baab8,'withText':!0x0,'isEnabled':!0x1}),_0x28604f[_0x2391e8(0x13f)]({'attributes':{'class':[_0x2391e8(0x137),_0x2391e8(0x112),this[_0x2391e8(0x121)]['if'](_0x2391e8(0x139),_0x2391e8(0x110),_0x64099a=>_0x2391e8(0x126)!==_0x64099a)],'disabled':_0x2391e8(0x12c)}}),_0x28604f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x589c02,KeystrokeHandler as Bt,FocusTracker as jt}from'ckeditor5/src/utils.js';import{View as _0x2ce9f2,ViewCollection as _0x1d9dd0,ButtonView as _0x5dcfbf,FormRowView as _0x336175,createDropdown as _0x3d9a0f,addListToDropdown as _0x2c585c,UIModel as _0x681d9a,ButtonLabelView as _0x330b67,LabeledFieldView as _0x3db662,FocusCycler as Vt}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x4e4733}from'./aireviemodepromptinputview.js';import{getTranslation as _0x5e08c8}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0x2ce9f2{['focusTracker']=new jt();['keystrokes']=new Bt();['focusCycler'];['_focusables']=new _0x1d9dd0();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x4d49df,_0x221700){super(_0x4d49df),this['_check']=_0x221700,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x221700['models']&&_0x221700['models']['length']>0x0?_0x221700['models'][0x0]['id']:'',this['_defaultLabel']=_0x221700['models']&&_0x221700['models']['length']>0x0?_0x221700['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x3db662(this['locale'],()=>new _0x4e4733(_0x4d49df)),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 _0x589c02(),this['_setModelList'](),_0x2c585c(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 _0x336175(this['locale'],{'children':[this['promptInputView']]}),new _0x336175(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x431ca7,_0x582e95)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x582e95()):_0x582e95();}),this['focusCycler']=new Vt({'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'](_0x25b42e=>{this['_focusables']['add'](_0x25b42e),this['focusTracker']['add'](_0x25b42e['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 _0x244758 of this['_getFormValidators']()){const _0x34cb98=_0x244758();if(_0x34cb98)return this['promptInputView']['errorText']=_0x34cb98,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x5e08c8(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x444ec8=new _0x5dcfbf(this['locale']),t=this['locale']['t'];return _0x444ec8['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x444ec8['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x444ec8;}['_createCancelButtonView'](){const _0x31264b=new _0x5dcfbf(this['locale']),t=this['locale']['t'];return _0x31264b['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x31264b['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2f7187=>{_0x2f7187['stopPropagation']();})}}),_0x31264b['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x31264b;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x4661d0=this['_check']['models'];if(this['resetToDefault'](),_0x4661d0?.['length'])for(const _0x1daec2 of _0x4661d0){const _0x2abddf=new _0x681d9a({'label':_0x1daec2['name'],'withText':!0x0,'role':'menuitemradio','id':_0x1daec2['id'],'model':_0x1daec2});_0x2abddf['bind']('isOn')['to'](this,'modelId',_0x5be7b5=>_0x5be7b5===_0x1daec2['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x2abddf,'labelView':new zs(this['locale'],_0x1daec2)});}}['_createModelSelectionDropdown'](){const _0x53b9c2=_0x3d9a0f(this['locale']);return _0x53b9c2['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x53b9c2['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x53b9c2,'execute',_0x466191=>{this['modelId']=_0x466191['source']['model']['id'],_0x53b9c2['buttonView']['label']=_0x466191['source']['label'];}),_0x53b9c2;}['_createActionsFooterView'](){const _0x5d91f9=new _0x2ce9f2(this['locale']);return _0x5d91f9['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']]}]}),_0x5d91f9;}}class zs extends _0x330b67{constructor(_0x42b6ed,_0x13f62c){super();const _0x4e0d97=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x4e0d97['to']('style'),'id':_0x4e0d97['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x4e0d97['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x13f62c['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x586ba5,_0x5587e8){var _0x1b0eda=_0x161a,_0x23ffb5=_0x586ba5();while(!![]){try{var _0x1d8b82=parseInt(_0x1b0eda(0x106))/0x1*(-parseInt(_0x1b0eda(0x10e))/0x2)+parseInt(_0x1b0eda(0x111))/0x3+parseInt(_0x1b0eda(0x114))/0x4+parseInt(_0x1b0eda(0x104))/0x5*(-parseInt(_0x1b0eda(0x10a))/0x6)+parseInt(_0x1b0eda(0x10c))/0x7+-parseInt(_0x1b0eda(0x105))/0x8*(parseInt(_0x1b0eda(0x10f))/0x9)+-parseInt(_0x1b0eda(0x10b))/0xa;if(_0x1d8b82===_0x5587e8)break;else _0x23ffb5['push'](_0x23ffb5['shift']());}catch(_0xfdbe51){_0x23ffb5['push'](_0x23ffb5['shift']());}}}(_0x2fdb,0xf190d));import{ButtonView as _0x153cb9}from'ckeditor5/src/ui.js';import{getTranslation as _0x4f83b5}from'../../aicore/utils/common-translations.js';function _0x161a(_0x1d253e,_0x3f19a4){var _0x2fdb43=_0x2fdb();return _0x161a=function(_0x161a49,_0x30f16f){_0x161a49=_0x161a49-0x104;var _0x3b666b=_0x2fdb43[_0x161a49];return _0x3b666b;},_0x161a(_0x1d253e,_0x3f19a4);}import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x153cb9{constructor(_0x1abff8){var _0x54dc64=_0x161a;super(_0x1abff8),this[_0x54dc64(0x10d)]({'label':_0x4f83b5(this[_0x54dc64(0x110)],_0x54dc64(0x109)),'withText':!0x0,'class':_0x54dc64(0x113)}),this['on'](_0x54dc64(0x107),()=>{var _0x26c4ae=_0x54dc64;this[_0x26c4ae(0x112)](_0x26c4ae(0x108));});}}function _0x2fdb(){var _0x1349c8=['13oUBxJm','execute','finishReview','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','6rwbMaI','14774270MYDwGu','12062561QCuxiD','set','64738KFZBYY','27kbzvuV','locale','4099668jLvBkq','fire','ck-ai-button-primary','6340168nEYAeu','6164605pFTsDt','1477928MNkzpC'];_0x2fdb=function(){return _0x1349c8;};return _0x2fdb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x161833,_0xff9697){const _0x69b757=_0x5cf8,_0x355395=_0x161833();while(!![]){try{const _0x496a8e=parseInt(_0x69b757(0x176))/0x1+-parseInt(_0x69b757(0x172))/0x2+parseInt(_0x69b757(0x166))/0x3+parseInt(_0x69b757(0x164))/0x4+-parseInt(_0x69b757(0x167))/0x5*(-parseInt(_0x69b757(0x169))/0x6)+parseInt(_0x69b757(0x173))/0x7*(-parseInt(_0x69b757(0x171))/0x8)+-parseInt(_0x69b757(0x16e))/0x9*(parseInt(_0x69b757(0x16d))/0xa);if(_0x496a8e===_0xff9697)break;else _0x355395['push'](_0x355395['shift']());}catch(_0x16e436){_0x355395['push'](_0x355395['shift']());}}}(_0x5149,0x81aaf));function _0x5149(){const _0x3b2ce5=['ck\x20ck-ai-notification\x20ck-ai-notification_error','setTemplate','4838744rHkPDH','1096582AMYLWU','7luoOhJ','isVisible','ck-ai-review-mode__general-error-container','698237IkVOkC','2328388TsvdMZ','div','1493355bLHUzK','25ounJBH','errorMessage','988860wiNkdd','set','ck-hidden','bindTemplate','30pyqWLa','2753748xBOSsf'];_0x5149=function(){return _0x3b2ce5;};return _0x5149();}function _0x5cf8(_0x444ded,_0x560795){const _0x51495b=_0x5149();return _0x5cf8=function(_0x5cf8eb,_0x3ca209){_0x5cf8eb=_0x5cf8eb-0x164;let _0x2f99e8=_0x51495b[_0x5cf8eb];return _0x2f99e8;},_0x5cf8(_0x444ded,_0x560795);}import{View as _0x521a05}from'ckeditor5/src/ui.js';export class AIReviewModeGeneralErrorView extends _0x521a05{constructor(_0x43032d){const _0x5deada=_0x5cf8;super(_0x43032d),this[_0x5deada(0x16a)](_0x5deada(0x174),!0x1),this[_0x5deada(0x16a)](_0x5deada(0x168),'');const _0x232aa8=this[_0x5deada(0x16c)];this[_0x5deada(0x170)]({'tag':_0x5deada(0x165),'attributes':{'class':['ck',_0x5deada(0x175),_0x232aa8['if'](_0x5deada(0x174),_0x5deada(0x16b),_0x274573=>!_0x274573)]},'children':[{'tag':'p','attributes':{'class':_0x5deada(0x16f)},'children':[{'text':_0x232aa8['to'](_0x5deada(0x168))}]}]});}}
|