@ckeditor/ckeditor5-ai 47.4.0-alpha.0 → 47.4.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/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/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/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/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/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/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/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x510ea6=_0xf04d;(function(_0x426cfd,_0x151547){const _0x57d6dc=_0xf04d,_0x2aadc1=_0x426cfd();while(!![]){try{const _0x4757bd=parseInt(_0x57d6dc(0x153))/0x1+parseInt(_0x57d6dc(0x143))/0x2*(-parseInt(_0x57d6dc(0x13b))/0x3)+-parseInt(_0x57d6dc(0x106))/0x4+parseInt(_0x57d6dc(0x14a))/0x5*(-parseInt(_0x57d6dc(0x130))/0x6)+parseInt(_0x57d6dc(0x138))/0x7*(-parseInt(_0x57d6dc(0x10b))/0x8)+-parseInt(_0x57d6dc(0x10e))/0x9+parseInt(_0x57d6dc(0x104))/0xa*(parseInt(_0x57d6dc(0x14c))/0xb);if(_0x4757bd===_0x151547)break;else _0x2aadc1['push'](_0x2aadc1['shift']());}catch(_0x1923af){_0x2aadc1['push'](_0x2aadc1['shift']());}}}(_0x3107,0xb860b));import{ContextPlugin as _0xc85d04}from'ckeditor5/src/core.js';import{IconAIReview as _0x5b28ba}from'ckeditor5/src/icons.js';import{BodyCollection as _0x11c106}from'ckeditor5/src/ui.js';import{AITabs as _0x42caf3}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x4168b0}from'./ui/aireviewmodeview.js';import{getTranslation as _0x4606fc}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x4acd72}from'./ui/aireviewmodeballoonsuggestionview.js';function _0xf04d(_0x520f5a,_0x437b1b){const _0x3107ce=_0x3107();return _0xf04d=function(_0xf04d8c,_0x435d3b){_0xf04d8c=_0xf04d8c-0xfd;let _0x2ca3d2=_0x3107ce[_0xf04d8c];return _0x2ca3d2;},_0xf04d(_0x520f5a,_0x437b1b);}import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x510ea6(0x158),_0x510ea6(0x12e),_0x510ea6(0x139),_0x510ea6(0x114),_0x510ea6(0x108),_0x510ea6(0x131),_0x510ea6(0xff),_0x510ea6(0x107),_0x510ea6(0xfe),_0x510ea6(0x13d),_0x510ea6(0x140),_0x510ea6(0x155)];function _0x3107(){const _0x570ab6=['showReviewCheckListView','setTitle','addCheckRunResult','leaveReviewMode','showDiffInBalloon','hideChangeBalloon','showCheckRunResult','showGeneralReviewModeErrorView','_reviewModeView','requires','error-general','forEach','runReviewCheck','resetActiveStateInResults','894DazlLr','leaveReviewModeResultList','showReviewCheckResultsView','hideDiffInBalloon','getChangeElement','init','AITabs','showReviewCheckList','6647116ojemhh','abortReviewStream','reviewMode','144MaScWO','locale','learnMore','destroy','hideActionsWhenResultIsReady','finishReview','outdated','reviewCheckListView','24294JNETxS','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','updateChangeState','showResult','context','showChunkErrorView','_bodyCollection','45040sPHpvn','deactivateChange','39458969ETxPHm','setItemAsActive','attachToDom','showNoChangesView','showActionsWhenResultIsReady','showBalloon','rejected','1169153ubsang','hideBalloon','retryReview','isOfficialPlugin','setChecks','getReviewCheckList','addTab','hasChecks','AIReviewModeUI','dismissChange','activateChange','view','showReviewCompletedView','isPremiumPlugin','accepted','10CzBkuR','hideResult','2239704AoSThF','acceptChange','acceptAllChanges','AI_REVIEW_MODE','activateTab','8XpflUQ','showGeneralResultsErrorView','setActiveStateInResults','5097231vkBEjf','plugins','element','showChangeBalloon','get','getResults','toggleDiff','_reviewModeBalloonSuggestionItemView','status','detachFromDom','error-chunk','fire','setAvailableChecks','delegate','find','showCheckRunResults','setItemAsInactive','pluginName','setCheckResultTitle','reviewCheckResultsView'];_0x3107=function(){return _0x570ab6;};return _0x3107();}export class AIReviewModeUI extends _0xc85d04{[_0x510ea6(0x12a)];[_0x510ea6(0x115)];[_0x510ea6(0x149)];static get[_0x510ea6(0x12b)](){return[_0x42caf3];}static get[_0x510ea6(0x11f)](){const _0x3d76ea=_0x510ea6;return _0x3d76ea(0xfd);}static get[_0x510ea6(0x156)](){return!0x0;}static get[_0x510ea6(0x102)](){return!0x0;}constructor(_0xf0097d){const _0x3f6105=_0x510ea6;super(_0xf0097d),this[_0x3f6105(0x149)]=new _0x11c106(this[_0x3f6105(0x147)][_0x3f6105(0x13c)]),this[_0x3f6105(0x149)][_0x3f6105(0x14e)](),this[_0x3f6105(0x12a)]=new _0x4168b0(this[_0x3f6105(0x147)][_0x3f6105(0x13c)]),this[_0x3f6105(0x12a)][_0x3f6105(0x11b)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x3f6105(0x115)]=new _0x4acd72(this[_0x3f6105(0x147)][_0x3f6105(0x13c)],this[_0x3f6105(0x149)]),this[_0x3f6105(0x115)][_0x3f6105(0x11b)](_0x3f6105(0x107),_0x3f6105(0xfe),_0x3f6105(0x14b))['to'](this);}[_0x510ea6(0x135)](){const _0x3d7c93=_0x510ea6,_0x1defb3=this[_0x3d7c93(0x147)][_0x3d7c93(0x10f)][_0x3d7c93(0x112)](_0x3d7c93(0x136));_0x1defb3[_0x3d7c93(0x100)]['on'](_0x3d7c93(0x10a),(_0x31aedc,_0x233cc0)=>{const _0x2a1ed5=_0x3d7c93;_0x2a1ed5(0x13a)===_0x233cc0?this[_0x2a1ed5(0x119)](_0x2a1ed5(0x158)):this[_0x2a1ed5(0x119)](_0x2a1ed5(0x125));}),_0x1defb3[_0x3d7c93(0x100)][_0x3d7c93(0x159)]({'id':_0x3d7c93(0x13a),'buttonLabel':_0x4606fc(this[_0x3d7c93(0x147)][_0x3d7c93(0x13c)],_0x3d7c93(0x109)),'buttonIcon':_0x5b28ba,'order':0x0,'content':this[_0x3d7c93(0x12a)]});}[_0x510ea6(0x13e)](){const _0x186e86=_0x510ea6;this[_0x186e86(0x149)][_0x186e86(0x117)](),super[_0x186e86(0x13e)]();}[_0x510ea6(0x11a)](_0x41d70b){const _0x18e093=_0x510ea6;this[_0x18e093(0x12a)][_0x18e093(0x142)][_0x18e093(0x15a)]()||this[_0x18e093(0x12a)][_0x18e093(0x142)][_0x18e093(0x157)](_0x41d70b),this[_0x18e093(0x12a)][_0x18e093(0x122)]();}[_0x510ea6(0x137)](){const _0x4770ec=_0x510ea6;this[_0x4770ec(0x119)](_0x4770ec(0x158));}[_0x510ea6(0x11d)](_0x41e9eb){const _0x37f8=_0x510ea6;_0x41e9eb&&(_0x37f8(0x12c)!==_0x41e9eb[_0x37f8(0x116)]?_0x37f8(0x118)!==_0x41e9eb[_0x37f8(0x116)]?this[_0x37f8(0x12a)][_0x37f8(0x132)]():this[_0x37f8(0x148)]():this[_0x37f8(0x10c)]());}[_0x510ea6(0x128)](_0x46c7f8){const _0x40fcef=_0x510ea6;this[_0x40fcef(0x12a)][_0x40fcef(0x124)](_0x46c7f8);}[_0x510ea6(0x10c)](){const _0x351cba=_0x510ea6;this[_0x351cba(0x12a)][_0x351cba(0x10c)]();}[_0x510ea6(0x129)](_0x1f0fa8){const _0x1f6e0d=_0x510ea6;this[_0x1f6e0d(0x12a)][_0x1f6e0d(0x129)](_0x1f0fa8??_0x4606fc(this[_0x1f6e0d(0x147)][_0x1f6e0d(0x13c)],_0x1f6e0d(0x144)));}[_0x510ea6(0x148)](){const _0x41dfab=_0x510ea6;this[_0x41dfab(0x12a)][_0x41dfab(0x148)]();}[_0x510ea6(0x120)](_0x2012e3,_0x298f01){const _0x22a75a=_0x510ea6;this[_0x22a75a(0x12a)][_0x22a75a(0x121)][_0x22a75a(0x123)](_0x2012e3,_0x298f01);}[_0x510ea6(0x10d)](_0x32f912){const _0x4addc8=_0x510ea6;this[_0x4addc8(0x12a)][_0x4addc8(0x121)][_0x4addc8(0x113)]()[_0x4addc8(0x12d)](_0x236047=>{const _0x515026=_0x4addc8;_0x236047['id']===_0x32f912&&_0x236047[_0x515026(0x14d)]();});}[_0x510ea6(0x12f)](){const _0x20fc63=_0x510ea6;this[_0x20fc63(0x12a)][_0x20fc63(0x121)][_0x20fc63(0x113)]()[_0x20fc63(0x12d)](_0x1faa49=>_0x1faa49[_0x20fc63(0x11e)]());}[_0x510ea6(0x145)](_0x193f3c,_0x6d069a){const _0x3e52c0=_0x510ea6;_0x3e52c0(0x103)===_0x6d069a||_0x3e52c0(0x152)===_0x6d069a||_0x3e52c0(0x141)===_0x6d069a?this[_0x3e52c0(0x12a)][_0x3e52c0(0x121)][_0x3e52c0(0x105)](_0x193f3c,_0x6d069a):this[_0x3e52c0(0x12a)][_0x3e52c0(0x121)][_0x3e52c0(0x146)](_0x193f3c,_0x6d069a);}[_0x510ea6(0x101)](){const _0x5e7175=_0x510ea6;this[_0x5e7175(0x12a)][_0x5e7175(0x101)]();}[_0x510ea6(0x150)](){const _0x451d14=_0x510ea6;this[_0x451d14(0x12a)][_0x451d14(0x150)]();}[_0x510ea6(0x14f)](){const _0x1187c3=_0x510ea6;this[_0x1187c3(0x12a)][_0x1187c3(0x14f)]();}[_0x510ea6(0x13f)](){const _0x509f48=_0x510ea6;this[_0x509f48(0x12a)][_0x509f48(0x13f)]();}[_0x510ea6(0x111)](_0x249e36,_0x401f76,_0x5b6780,_0x596131,_0x286c68,_0x52ab48){const _0x2f8e06=_0x510ea6;this[_0x2f8e06(0x115)][_0x2f8e06(0x151)](_0x249e36,_0x401f76,_0x5b6780,_0x596131,_0x286c68,_0x52ab48);}[_0x510ea6(0x127)](){const _0x5c5f3d=_0x510ea6;this[_0x5c5f3d(0x115)][_0x5c5f3d(0x154)]();}[_0x510ea6(0x133)](){const _0x1e699b=_0x510ea6;this[_0x1e699b(0x115)][_0x1e699b(0x133)]();}[_0x510ea6(0x126)](){const _0x43b14e=_0x510ea6;this[_0x43b14e(0x115)][_0x43b14e(0x126)]();}[_0x510ea6(0x134)](_0x143d74){const _0x345035=_0x510ea6,_0x128091=this[_0x345035(0x12a)][_0x345035(0x121)][_0x345035(0x113)]()[_0x345035(0x11c)](_0x1439c8=>_0x1439c8['id']===_0x143d74);return _0x128091?_0x128091[_0x345035(0x110)]:null;}[_0x510ea6(0x14b)](){const _0x186712=_0x510ea6;this[_0x186712(0x115)][_0x186712(0x14b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2c9a74=_0xc227;function _0x3004(){var _0x5c3b77=['options','isParameterized','description','1529479NuNuNb','1NDHiFE','9mzbrZp','33410773jWjpov','2305GDXpee','12Satnre','useArgs','2231960XBbDiB','9QOFymQ','281482diXRQn','1241652fglwhO','402JOYjty','6855192aCTECc','title'];_0x3004=function(){return _0x5c3b77;};return _0x3004();}(function(_0x4002a6,_0x354c10){var _0x4bb5fe=_0xc227,_0x3fb224=_0x4002a6();while(!![]){try{var _0x14da46=-parseInt(_0x4bb5fe(0x19b))/0x1*(parseInt(_0x4bb5fe(0x192))/0x2)+-parseInt(_0x4bb5fe(0x19c))/0x3*(parseInt(_0x4bb5fe(0x193))/0x4)+-parseInt(_0x4bb5fe(0x18d))/0x5*(-parseInt(_0x4bb5fe(0x194))/0x6)+-parseInt(_0x4bb5fe(0x19a))/0x7+-parseInt(_0x4bb5fe(0x195))/0x8+-parseInt(_0x4bb5fe(0x191))/0x9*(parseInt(_0x4bb5fe(0x190))/0xa)+parseInt(_0x4bb5fe(0x18c))/0xb*(parseInt(_0x4bb5fe(0x18e))/0xc);if(_0x14da46===_0x354c10)break;else _0x3fb224['push'](_0x3fb224['shift']());}catch(_0x330296){_0x3fb224['push'](_0x3fb224['shift']());}}}(_0x3004,0xaa53a));function _0xc227(_0xffc861,_0x1e1e74){var _0x300475=_0x3004();return _0xc227=function(_0xc22727,_0x2a505a){_0xc22727=_0xc22727-0x18c;var _0x162a82=_0x300475[_0xc22727];return _0x162a82;},_0xc227(_0xffc861,_0x1e1e74);}export class AIReviewCheck{['id'];[_0x2c9a74(0x196)];[_0x2c9a74(0x199)];[_0x2c9a74(0x198)];[_0x2c9a74(0x18f)];[_0x2c9a74(0x197)];constructor({id:_0x1f94fc,title:_0x4bb09d,description:_0x193eb1,isParameterized:_0x312342,useArgs:_0x184523,options:_0x3beeaf}){var _0x23668c=_0x2c9a74;this['id']=_0x1f94fc,this[_0x23668c(0x196)]=_0x4bb09d,this[_0x23668c(0x199)]=_0x193eb1,this[_0x23668c(0x198)]=_0x312342,this[_0x23668c(0x18f)]=_0x184523,this[_0x23668c(0x197)]=_0x3beeaf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x9493(_0x4c45ee,_0x94083a){var _0x2e7590=_0x2e75();return _0x9493=function(_0x94938,_0x2c554d){_0x94938=_0x94938-0xd9;var _0x18a3ab=_0x2e7590[_0x94938];return _0x18a3ab;},_0x9493(_0x4c45ee,_0x94083a);}function _0x2e75(){var _0x531beb=['2977420BEdMDu','2608476aRJHuT','11crgoxl','330LWRWtZ','73374TpNKcD','_models','123759CCaqYh','models','136qOOGOY','2929866IlCuts','545715XbWZef','1304620TJMume','10CaztKV'];_0x2e75=function(){return _0x531beb;};return _0x2e75();}var _0x5356bb=_0x9493;(function(_0x197932,_0x2d32c3){var _0x4b664a=_0x9493,_0x468e29=_0x197932();while(!![]){try{var _0x2c5647=-parseInt(_0x4b664a(0xe0))/0x1+parseInt(_0x4b664a(0xdf))/0x2+parseInt(_0x4b664a(0xe4))/0x3+parseInt(_0x4b664a(0xe3))/0x4*(-parseInt(_0x4b664a(0xe2))/0x5)+parseInt(_0x4b664a(0xd9))/0x6*(parseInt(_0x4b664a(0xda))/0x7)+parseInt(_0x4b664a(0xde))/0x8*(-parseInt(_0x4b664a(0xdc))/0x9)+parseInt(_0x4b664a(0xe1))/0xa*(parseInt(_0x4b664a(0xe5))/0xb);if(_0x2c5647===_0x2d32c3)break;else _0x468e29['push'](_0x468e29['shift']());}catch(_0x2313eb){_0x468e29['push'](_0x468e29['shift']());}}}(_0x2e75,0xbcc55));import{AIReviewCheck as _0x3d6e2f}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x3d6e2f{[_0x5356bb(0xdb)]=[];get[_0x5356bb(0xdd)](){var _0x60e1bf=_0x5356bb;return this[_0x60e1bf(0xdb)];}set[_0x5356bb(0xdd)](_0x13ee94){var _0x43fa94=_0x5356bb;this[_0x43fa94(0xdb)]=_0x13ee94;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x14991a=_0x49aa;(function(_0x225e15,_0x599edf){var _0x248471=_0x49aa,_0x173ebf=_0x225e15();while(!![]){try{var _0x38c719=-parseInt(_0x248471(0x1a4))/0x1+-parseInt(_0x248471(0x1a3))/0x2+parseInt(_0x248471(0x1a8))/0x3*(parseInt(_0x248471(0x19f))/0x4)+-parseInt(_0x248471(0x1aa))/0x5+-parseInt(_0x248471(0x19e))/0x6+-parseInt(_0x248471(0x1a9))/0x7*(parseInt(_0x248471(0x19b))/0x8)+parseInt(_0x248471(0x1a7))/0x9;if(_0x38c719===_0x599edf)break;else _0x173ebf['push'](_0x173ebf['shift']());}catch(_0x411f03){_0x173ebf['push'](_0x173ebf['shift']());}}}(_0x3a35,0x4356d));function _0x49aa(_0x19d299,_0x399309){var _0x3a351f=_0x3a35();return _0x49aa=function(_0x49aa7b,_0x5cba14){_0x49aa7b=_0x49aa7b-0x199;var _0x3a85ea=_0x3a351f[_0x49aa7b];return _0x3a85ea;},_0x49aa(_0x19d299,_0x399309);}import{ObservableMixin as _0x5c6099}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x5379ab}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x434ed1}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x5c6099(){[_0x14991a(0x1a5)];constructor(_0x5778a9){var _0xabeddd=_0x14991a;super(),this[_0xabeddd(0x1a5)]=this[_0xabeddd(0x19d)](_0x5778a9);}get[_0x14991a(0x1a1)](){var _0x237b2b=_0x14991a;return this[_0x237b2b(0x1a5)];}[_0x14991a(0x19c)](_0xcb18ae){var _0x18bdde=_0x14991a;return this[_0x18bdde(0x1a1)][_0x18bdde(0x1a0)](_0x213196=>_0x213196['id']===_0xcb18ae);}[_0x14991a(0x1a2)](_0x148c9d){var _0x263ea1=_0x14991a;this[_0x263ea1(0x1a5)]=this[_0x263ea1(0x1a5)][_0x263ea1(0x1a6)](_0x408346=>_0x408346['id']!==_0x148c9d);}[_0x14991a(0x19d)](_0x5c00c0){var _0x37130c=_0x14991a;return _0x5c00c0[_0x37130c(0x19a)](_0x296ed4=>_0x37130c(0x199)===_0x296ed4['id']?new _0x434ed1(_0x296ed4):new _0x5379ab(_0x296ed4));}}function _0x3a35(){var _0x433428=['_checks','filter','12178413ChLTbF','407973cxHHjF','33481iflVRJ','1373815WnxJKK','custom','map','904mVLAne','getCheckById','_mapCheckDefinitions','2188920ffFHnL','8FmiZSO','find','checks','removeCheckById','147506gnAyEo','95503xDMBKm'];_0x3a35=function(){return _0x433428;};return _0x3a35();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1d0d22=_0x1547;(function(_0x17ed17,_0x585acc){var _0x33377a=_0x1547,_0x28013e=_0x17ed17();while(!![]){try{var _0x370806=parseInt(_0x33377a(0x1cb))/0x1+parseInt(_0x33377a(0x1ca))/0x2+-parseInt(_0x33377a(0x1cc))/0x3*(parseInt(_0x33377a(0x1cd))/0x4)+parseInt(_0x33377a(0x1cf))/0x5+-parseInt(_0x33377a(0x1d3))/0x6+parseInt(_0x33377a(0x1d0))/0x7+-parseInt(_0x33377a(0x1ce))/0x8*(parseInt(_0x33377a(0x1d2))/0x9);if(_0x370806===_0x585acc)break;else _0x28013e['push'](_0x28013e['shift']());}catch(_0x122482){_0x28013e['push'](_0x28013e['shift']());}}}(_0x1109,0x4adf5));import{EmitterMixin as _0x167409}from'ckeditor5/src/utils.js';function _0x1109(){var _0xa030a=['33232aMDZYg','67557Tegjpp','60lBCmHr','57944USTNVp','1195650pdUVaY','1393742bgteVX','documentVersion','36pgpYhk','1652238pnPPIK','contentNew','contentInitial','954678ocqWPF'];_0x1109=function(){return _0xa030a;};return _0x1109();}function _0x1547(_0x3a9071,_0x3221a5){var _0x1109c5=_0x1109();return _0x1547=function(_0x154797,_0x4e6b21){_0x154797=_0x154797-0x1ca;var _0x5e990b=_0x1109c5[_0x154797];return _0x5e990b;},_0x1547(_0x3a9071,_0x3221a5);}export class AIReviewCheckResult extends _0x167409(){['id'];[_0x1d0d22(0x1d4)];[_0x1d0d22(0x1d5)];[_0x1d0d22(0x1d1)];constructor({id:_0xebd934,contentNew:_0x4fb82a,contentInitial:_0x574b58,documentVersion:_0x4826b1}){var _0x39dbd3=_0x1d0d22;super(),this['id']=_0xebd934,this[_0x39dbd3(0x1d4)]=_0x4fb82a,this[_0x39dbd3(0x1d5)]=_0x574b58,this[_0x39dbd3(0x1d1)]=_0x4826b1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2a99(_0x49af02,_0x1616f7){var _0x17eabc=_0x17ea();return _0x2a99=function(_0x2a996b,_0x1dd914){_0x2a996b=_0x2a996b-0x75;var _0x316a8a=_0x17eabc[_0x2a996b];return _0x316a8a;},_0x2a99(_0x49af02,_0x1616f7);}var _0x40e45a=_0x2a99;(function(_0x2e95aa,_0x2c268c){var _0x16a267=_0x2a99,_0x377d41=_0x2e95aa();while(!![]){try{var _0x40a456=parseInt(_0x16a267(0x75))/0x1*(parseInt(_0x16a267(0x8a))/0x2)+parseInt(_0x16a267(0x7a))/0x3+-parseInt(_0x16a267(0x87))/0x4+parseInt(_0x16a267(0x8c))/0x5*(parseInt(_0x16a267(0x83))/0x6)+parseInt(_0x16a267(0x7c))/0x7*(-parseInt(_0x16a267(0x88))/0x8)+parseInt(_0x16a267(0x7e))/0x9*(parseInt(_0x16a267(0x85))/0xa)+parseInt(_0x16a267(0x81))/0xb*(-parseInt(_0x16a267(0x8b))/0xc);if(_0x40a456===_0x2c268c)break;else _0x377d41['push'](_0x377d41['shift']());}catch(_0x3404f8){_0x377d41['push'](_0x377d41['shift']());}}}(_0x17ea,0xa5a74));function _0x17ea(){var _0x323932=['pending','isRated','set','operationsIsolated','4034718uOjXxJ','status','9947wRXrlr','context','301923XbUnIp','isActivated','_editorOperations','28281cNbprj','change:status','2665662lOAaag','_data','170tcglcF','operations','3136660dDptDP','3872RrBGKS','contentDiffed','2uMGKzL','5940yQCCaZ','10imapkg','parent','619331oYlXcH'];_0x17ea=function(){return _0x323932;};return _0x17ea();}import{ObservableMixin as _0x460b35}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x460b35(){['id'];[_0x40e45a(0x8d)];[_0x40e45a(0x84)];[_0x40e45a(0x80)]=[];constructor(_0x39927e,_0x1a0571,_0x289b8b){var _0x1388cd=_0x40e45a;super(),this['id']=_0x39927e,this[_0x1388cd(0x8d)]=_0x289b8b,this[_0x1388cd(0x84)]=_0x1a0571,this[_0x1388cd(0x78)](_0x1388cd(0x7f),!0x1),this[_0x1388cd(0x78)](_0x1388cd(0x77),!0x1),this[_0x1388cd(0x78)](_0x1388cd(0x7b),_0x1388cd(0x76)),this['on'](_0x1388cd(0x82),()=>{var _0x18bdb8=_0x1388cd;_0x18bdb8(0x76)!==this[_0x18bdb8(0x7b)]&&this[_0x18bdb8(0x7f)]&&(this[_0x18bdb8(0x7f)]=!0x1);});}get[_0x40e45a(0x89)](){var _0x9f501b=_0x40e45a;return this[_0x9f501b(0x84)][_0x9f501b(0x7d)]();}get[_0x40e45a(0x86)](){var _0x5c1bad=_0x40e45a;return this[_0x5c1bad(0x84)][_0x5c1bad(0x86)];}get[_0x40e45a(0x79)](){var _0x1b2f37=_0x40e45a;return this[_0x1b2f37(0x84)][_0x1b2f37(0x79)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x25a6(){const _0x2d92f3=['1591503iuMbWe','size','filter','event','forEach','textDelta','6472pEHviy','149402apliAK','55GJewwJ','abort','some','activateChange','parent','callId','isActivated','isRated','sendRating','_results','title','clear','get','finished','_currentError','markChangeAsAccepted','set','unmodified','documentData','currentError','change:isActivated','status','abortController','data','subTitle','markChangeAsOutdated','934020bBQgam','_aiConnector','change:status','message','reviewCheckResultActivated','reviewCheckResultChangeStatusUpdated','addResultChanges','hasModifications','reviewCheckResultReady','isChangeActive','error-chunk','push','length','_checkIfFinished','getContent','fire','dataId','updateDocumentData','10048430cUUsrU','6327VPPmYy','error-general','version','isAnyChangeActivated','review-metadata','forceReadyState','aborted','ready','loading','includes','6931519jfhbjX','processedResultsCount','_sourceCheck','4pOKRcs','484RolmiR','rejected','_documentData','_addReviewCheckResult','find','error','operation','deactivateChange','outdated','reviewCheckRunUpdated','_reviewArgs','markAllChangesAsAccepted','_activeRequest','getChangeById','_reviewParams','ai-request-aborted','reviewName','accepted','initialized','_sendRatingRequest','getActiveChanges','markChangeAsRejected','pending','getStream','elements','_createApiRequest','markChangeAsPending','reviewCheckResultAdded','restart','4jtrvOj','_changes','every','177666QbOdkq','start','reviewCheckResultDeactivated'];_0x25a6=function(){return _0x2d92f3;};return _0x25a6();}const _0x3d3de6=_0x1674;(function(_0x3eab27,_0x1803ae){const _0x1432c2=_0x1674,_0x44fbef=_0x3eab27();while(!![]){try{const _0x2578e1=parseInt(_0x1432c2(0x237))/0x1*(-parseInt(_0x1432c2(0x244))/0x2)+parseInt(_0x1432c2(0x23d))/0x3*(parseInt(_0x1432c2(0x219))/0x4)+parseInt(_0x1432c2(0x245))/0x5*(-parseInt(_0x1432c2(0x23a))/0x6)+-parseInt(_0x1432c2(0x216))/0x7+parseInt(_0x1432c2(0x243))/0x8*(-parseInt(_0x1432c2(0x20c))/0x9)+-parseInt(_0x1432c2(0x20b))/0xa+-parseInt(_0x1432c2(0x21a))/0xb*(-parseInt(_0x1432c2(0x1f9))/0xc);if(_0x2578e1===_0x1803ae)break;else _0x44fbef['push'](_0x44fbef['shift']());}catch(_0xff5913){_0x44fbef['push'](_0x44fbef['shift']());}}}(_0x25a6,0xbb3d1));import{ObservableMixin as _0x221ade,uid as _0x1c64ed}from'ckeditor5/src/utils.js';function _0x1674(_0x3e9a38,_0x4db7b8){const _0x25a62c=_0x25a6();return _0x1674=function(_0x167472,_0x1e8aaf){_0x167472=_0x167472-0x1ed;let _0x1d4db8=_0x25a62c[_0x167472];return _0x1d4db8;},_0x1674(_0x3e9a38,_0x4db7b8);}import{AIReviewCheckResult as _0x4b000d}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x23cc56}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x221ade(){['id']=_0x1c64ed();[_0x3d3de6(0x24a)];[_0x3d3de6(0x24e)]=new Map();[_0x3d3de6(0x238)]=[];[_0x3d3de6(0x218)];[_0x3d3de6(0x21c)];[_0x3d3de6(0x1fa)];[_0x3d3de6(0x228)];[_0x3d3de6(0x224)];[_0x3d3de6(0x226)]=null;[_0x3d3de6(0x1ed)];constructor(_0x218fed,_0x4a7f19,_0x3f920a,_0x3472b7,_0xdae6b1){const _0x36ce2b=_0x3d3de6;super(),this[_0x36ce2b(0x218)]=_0x4a7f19,this[_0x36ce2b(0x21c)]=_0x218fed,this[_0x36ce2b(0x1fa)]=_0x3f920a,this[_0x36ce2b(0x228)]=_0x3472b7,this[_0x36ce2b(0x224)]=_0xdae6b1,this['on'](_0x36ce2b(0x1fb),(_0x2dcf23,_0x2910e9,_0x2d0dab)=>{const _0x334df8=_0x36ce2b;this[_0x334df8(0x208)](_0x334df8(0x223),{'status':_0x2d0dab,'run':this,'error':this[_0x334df8(0x1ed)]});}),this[_0x36ce2b(0x1ef)](_0x36ce2b(0x1f4),_0x36ce2b(0x22c));}get[_0x3d3de6(0x1f1)](){const _0xd8c863=_0x3d3de6;return this[_0xd8c863(0x21c)];}get[_0x3d3de6(0x217)](){const _0x1aaa26=_0x3d3de6;return this[_0x1aaa26(0x24e)][_0x1aaa26(0x23e)];}get[_0x3d3de6(0x24f)](){const _0x276d10=_0x3d3de6;return this[_0x276d10(0x218)][_0x276d10(0x24f)];}get[_0x3d3de6(0x1f7)](){return'';}get[_0x3d3de6(0x22a)](){const _0x191bd8=_0x3d3de6;return this[_0x191bd8(0x218)]['id'];}get[_0x3d3de6(0x200)](){const _0x404dbe=_0x3d3de6;return!this[_0x404dbe(0x238)][_0x404dbe(0x239)](_0xb4713=>_0x404dbe(0x230)===_0xb4713[_0x404dbe(0x1f4)]);}get[_0x3d3de6(0x1f2)](){const _0x50bd87=_0x3d3de6;return this[_0x50bd87(0x1ed)];}[_0x3d3de6(0x20a)](_0xcc2abe){const _0x228dee=_0x3d3de6;this[_0x228dee(0x21c)]=_0xcc2abe;}async[_0x3d3de6(0x23b)](){const _0x27a4e3=_0x3d3de6;this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x214),this[_0x27a4e3(0x1ed)]=void 0x0;try{this[_0x27a4e3(0x226)]=this[_0x27a4e3(0x233)]();const _0x4aa824=await this[_0x27a4e3(0x226)][_0x27a4e3(0x231)]();this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x1f6);for await(const _0x5e0c02 of _0x4aa824)_0x27a4e3(0x1f0)!==_0x5e0c02[_0x27a4e3(0x1f6)][_0x27a4e3(0x220)]&&(_0x27a4e3(0x21f)!==_0x5e0c02[_0x27a4e3(0x1f6)][_0x27a4e3(0x220)]?_0x27a4e3(0x210)!==_0x5e0c02[_0x27a4e3(0x240)]?this[_0x27a4e3(0x21d)](_0x5e0c02[_0x27a4e3(0x1f6)][_0x27a4e3(0x209)],_0x5e0c02[_0x27a4e3(0x1f6)][_0x27a4e3(0x242)]):this[_0x27a4e3(0x24a)]=_0x5e0c02[_0x27a4e3(0x1f6)][_0x27a4e3(0x24a)]:this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x203));_0x27a4e3(0x203)!==this[_0x27a4e3(0x1f4)]&&(0x0===this[_0x27a4e3(0x24e)][_0x27a4e3(0x23e)]||0x0===this[_0x27a4e3(0x238)][_0x27a4e3(0x205)]?this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x1f0):this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x213));}catch(_0x154355){this[_0x27a4e3(0x1ed)]=_0x154355,_0x154355 instanceof Error&&_0x154355[_0x27a4e3(0x1fc)][_0x27a4e3(0x215)](_0x27a4e3(0x229))?this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x212):this[_0x27a4e3(0x1f4)]=_0x27a4e3(0x20d);}finally{this[_0x27a4e3(0x226)]=null;}}async[_0x3d3de6(0x236)](){const _0x3d4f89=_0x3d3de6;this[_0x3d4f89(0x24e)][_0x3d4f89(0x250)](),this[_0x3d4f89(0x238)][_0x3d4f89(0x205)]=0x0,this[_0x3d4f89(0x1ed)]=void 0x0,await this[_0x3d4f89(0x23b)]();}[_0x3d3de6(0x1ff)](_0x38feaf,_0x334b93){const _0x40b0e8=_0x3d3de6,_0x2ed039=this[_0x40b0e8(0x24e)][_0x40b0e8(0x251)](_0x38feaf);if(!_0x2ed039)return;if(0x0===_0x334b93[_0x40b0e8(0x205)])return;const _0x275e2c=[];_0x334b93[_0x40b0e8(0x241)]((_0x2b97df,_0x2f9b10)=>{const _0x3ebddd=_0x40b0e8,_0x2aea76=new _0x23cc56(_0x2ed039['id']+'-'+_0x2f9b10,_0x2b97df,_0x2ed039);_0x2aea76['on'](_0x3ebddd(0x1fb),()=>{const _0x4ceef2=_0x3ebddd;this[_0x4ceef2(0x208)](_0x4ceef2(0x1fe),{'change':_0x2aea76,'status':_0x2aea76[_0x4ceef2(0x1f4)]});}),_0x2aea76['on'](_0x3ebddd(0x1f3),()=>{const _0x3601ce=_0x3ebddd;_0x2aea76[_0x3601ce(0x24b)]?this[_0x3601ce(0x208)](_0x3601ce(0x1fd),{'change':_0x2aea76}):this[_0x3601ce(0x208)](_0x3601ce(0x23c),{'change':_0x2aea76});}),this[_0x3ebddd(0x238)][_0x3ebddd(0x204)](_0x2aea76),_0x275e2c[_0x3ebddd(0x204)](_0x2aea76);}),this[_0x40b0e8(0x208)](_0x40b0e8(0x201),{'changes':_0x275e2c,'result':_0x2ed039,'source':this});}[_0x3d3de6(0x246)](){const _0x491f04=_0x3d3de6;this[_0x491f04(0x226)]&&(this[_0x491f04(0x226)][_0x491f04(0x1f5)][_0x491f04(0x246)](),this[_0x491f04(0x226)]=null,this[_0x491f04(0x1f4)]=_0x491f04(0x212));}[_0x3d3de6(0x202)](_0x5ac0f3){const _0x3c9e4f=_0x3d3de6,_0x73a47=this[_0x3c9e4f(0x238)][_0x3c9e4f(0x21e)](_0x165486=>_0x165486['id']===_0x5ac0f3);return!(!_0x73a47||_0x3c9e4f(0x230)!==_0x73a47[_0x3c9e4f(0x1f4)]);}[_0x3d3de6(0x20f)](){const _0x564b0b=_0x3d3de6;return this[_0x564b0b(0x238)][_0x564b0b(0x247)](_0x184ab1=>!0x0===_0x184ab1[_0x564b0b(0x24b)]);}[_0x3d3de6(0x22e)](){const _0x46d76d=_0x3d3de6;return this[_0x46d76d(0x238)][_0x46d76d(0x23f)](_0xb29db1=>_0x46d76d(0x230)===_0xb29db1[_0x46d76d(0x1f4)]);}[_0x3d3de6(0x227)](_0x38ec13){const _0x2ed9ac=_0x3d3de6;return this[_0x2ed9ac(0x238)][_0x2ed9ac(0x21e)](_0x3ef4a7=>_0x3ef4a7['id']===_0x38ec13);}[_0x3d3de6(0x225)](){const _0x1ab6ee=_0x3d3de6;for(const _0x19b876 of this[_0x1ab6ee(0x238)])_0x1ab6ee(0x230)===_0x19b876[_0x1ab6ee(0x1f4)]&&(_0x19b876[_0x1ab6ee(0x1f4)]=_0x1ab6ee(0x22b));this[_0x1ab6ee(0x206)]();}[_0x3d3de6(0x1ee)](_0x453c76){const _0x44bc9d=_0x3d3de6,_0x5c7e82=this[_0x44bc9d(0x238)][_0x44bc9d(0x21e)](_0x577cfc=>_0x577cfc['id']===_0x453c76);_0x5c7e82&&_0x44bc9d(0x230)===_0x5c7e82[_0x44bc9d(0x1f4)]&&(_0x5c7e82[_0x44bc9d(0x1f4)]=_0x44bc9d(0x22b)),this[_0x44bc9d(0x206)]();}[_0x3d3de6(0x22f)](_0x5ae3db){const _0x11ab22=_0x3d3de6,_0x1ee209=this[_0x11ab22(0x238)][_0x11ab22(0x21e)](_0x4f6db6=>_0x4f6db6['id']===_0x5ae3db);_0x1ee209&&_0x11ab22(0x230)===_0x1ee209[_0x11ab22(0x1f4)]&&(_0x1ee209[_0x11ab22(0x1f4)]=_0x11ab22(0x21b)),this[_0x11ab22(0x206)]();}[_0x3d3de6(0x1f8)](_0x38dddb){const _0x3468ca=_0x3d3de6,_0x5ac4ca=this[_0x3468ca(0x238)][_0x3468ca(0x21e)](_0x2f47dc=>_0x2f47dc['id']===_0x38dddb);_0x5ac4ca&&_0x3468ca(0x230)===_0x5ac4ca[_0x3468ca(0x1f4)]&&(_0x5ac4ca[_0x3468ca(0x1f4)]=_0x3468ca(0x222)),this[_0x3468ca(0x206)]();}[_0x3d3de6(0x234)](_0x5bd2ce){const _0x50a89d=_0x3d3de6,_0x3fcd97=this[_0x50a89d(0x238)][_0x50a89d(0x21e)](_0x50a9fe=>_0x50a9fe['id']===_0x5bd2ce);_0x3fcd97&&_0x50a89d(0x222)===_0x3fcd97[_0x50a89d(0x1f4)]&&(_0x3fcd97[_0x50a89d(0x1f4)]=_0x50a89d(0x230)),this[_0x50a89d(0x206)]();}[_0x3d3de6(0x248)](_0x18f05b){const _0x1275f3=_0x3d3de6;this[_0x1275f3(0x238)][_0x1275f3(0x23f)](_0x4c8bab=>_0x4c8bab[_0x1275f3(0x24b)]&&_0x4c8bab['id']!==_0x18f05b)[_0x1275f3(0x241)](_0x353923=>{const _0x5e02ee=_0x1275f3;_0x353923[_0x5e02ee(0x24b)]=!0x1;});const _0xeb07cf=this[_0x1275f3(0x238)][_0x1275f3(0x21e)](_0x5c222d=>_0x5c222d['id']===_0x18f05b);_0xeb07cf&&_0x1275f3(0x230)===_0xeb07cf[_0x1275f3(0x1f4)]&&(_0xeb07cf[_0x1275f3(0x24b)]=!0x0);}[_0x3d3de6(0x221)](){const _0x82cd54=_0x3d3de6;this[_0x82cd54(0x238)][_0x82cd54(0x23f)](_0x294fbb=>_0x294fbb[_0x82cd54(0x24b)])[_0x82cd54(0x241)](_0x4cb2f8=>{const _0x389ac1=_0x82cd54;_0x4cb2f8[_0x389ac1(0x24b)]=!0x1;});}[_0x3d3de6(0x211)](){const _0x47ce7d=_0x3d3de6;this[_0x47ce7d(0x1f4)]=_0x47ce7d(0x213);}async[_0x3d3de6(0x24d)](_0x48b4dc){const _0x2e192d=_0x3d3de6;if(_0x2e192d(0x22c)===this[_0x2e192d(0x1f4)]||_0x2e192d(0x214)===this[_0x2e192d(0x1f4)]||_0x2e192d(0x1f6)===this[_0x2e192d(0x1f4)])return;if(!this[_0x2e192d(0x24a)]||0x0===this[_0x2e192d(0x238)][_0x2e192d(0x205)])return;let _0x4f1202;if(_0x48b4dc){const _0x2a0577=this[_0x2e192d(0x238)][_0x2e192d(0x21e)](_0x142151=>_0x142151['id']===_0x48b4dc);if(_0x2a0577&&_0x2a0577[_0x2e192d(0x24c)])return;_0x2a0577&&(_0x4f1202=_0x2a0577[_0x2e192d(0x249)]['id'],_0x2a0577[_0x2e192d(0x24c)]=!0x0);}const _0x14f383={'positiveCount':this[_0x2e192d(0x238)][_0x2e192d(0x23f)](_0x5aaae5=>_0x2e192d(0x22b)===_0x5aaae5[_0x2e192d(0x1f4)])[_0x2e192d(0x205)],'totalCount':this[_0x2e192d(0x238)][_0x2e192d(0x205)]};this[_0x2e192d(0x22d)](_0x14f383,this[_0x2e192d(0x24a)],_0x4f1202);}[_0x3d3de6(0x21d)](_0x5d3a24,_0x195e17){const _0x3dac6e=_0x3d3de6,_0x4c8513=this[_0x3dac6e(0x21c)][_0x3dac6e(0x232)][_0x3dac6e(0x251)](_0x5d3a24);if(!_0x4c8513)return;const _0x57b68e=_0x4c8513[_0x3dac6e(0x207)]();if(_0x57b68e===_0x195e17)return;const _0x4041fb=new _0x4b000d({'id':_0x5d3a24,'contentInitial':_0x57b68e,'contentNew':_0x195e17,'documentVersion':this[_0x3dac6e(0x21c)][_0x3dac6e(0x20e)]});this[_0x3dac6e(0x24e)][_0x3dac6e(0x1ef)](_0x4041fb['id'],_0x4041fb),this[_0x3dac6e(0x208)](_0x3dac6e(0x235),{'result':_0x4041fb,'source':this});}[_0x3d3de6(0x206)](){const _0x3d5891=_0x3d3de6;_0x3d5891(0x252)===this[_0x3d5891(0x1f4)]&&(this[_0x3d5891(0x238)][_0x3d5891(0x23f)](_0x3a3f95=>_0x3d5891(0x230)===_0x3a3f95[_0x3d5891(0x1f4)])[_0x3d5891(0x205)]>0x0&&(this[_0x3d5891(0x1f4)]=_0x3d5891(0x213))),_0x3d5891(0x213)===this[_0x3d5891(0x1f4)]&&(0x0===this[_0x3d5891(0x238)][_0x3d5891(0x23f)](_0x21f271=>_0x3d5891(0x230)===_0x21f271[_0x3d5891(0x1f4)])[_0x3d5891(0x205)]&&(this[_0x3d5891(0x1f4)]=_0x3d5891(0x252)));}}
|
|
23
|
+
const _0x5c1277=_0x12b2;(function(_0x4fed9f,_0x123ccb){const _0xbc2d17=_0x12b2,_0xade54e=_0x4fed9f();while(!![]){try{const _0x6a7377=-parseInt(_0xbc2d17(0xe9))/0x1+parseInt(_0xbc2d17(0xeb))/0x2+parseInt(_0xbc2d17(0x96))/0x3*(-parseInt(_0xbc2d17(0xd3))/0x4)+-parseInt(_0xbc2d17(0xa3))/0x5+-parseInt(_0xbc2d17(0xc3))/0x6*(-parseInt(_0xbc2d17(0x97))/0x7)+parseInt(_0xbc2d17(0xbf))/0x8+parseInt(_0xbc2d17(0xae))/0x9;if(_0x6a7377===_0x123ccb)break;else _0xade54e['push'](_0xade54e['shift']());}catch(_0x23963e){_0xade54e['push'](_0xade54e['shift']());}}}(_0x5508,0xe82cd));import{ObservableMixin as _0x25a3f0,uid as _0x5f0412}from'ckeditor5/src/utils.js';function _0x5508(){const _0x5c740c=['reviewCheckResultActivated','143190qBXyDT','clear','review-metadata','length','push','abort','markChangeAsAccepted','find','some','_currentError','_reviewParams','18125298NKFOEX','isRated','data','set','abortController','_documentData','textDelta','reviewCheckResultDeactivated','isActivated','get','_results','aborted','rejected','addResultChanges','filter','initialized','_changes','1958832GvIkBb','getStream','includes','change:status','6BLoobO','accepted','callId','sendRating','unmodified','forceReadyState','error','deactivateChange','start','elements','documentData','finished','_createApiRequest','reviewCheckResultChangeStatusUpdated','getActiveChanges','_addReviewCheckResult','429268HNtZLD','reviewCheckRunUpdated','change:isActivated','processedResultsCount','loading','status','error-general','hasModifications','reviewCheckResultAdded','every','pending','_sendRatingRequest','ready','fire','title','activateChange','restart','getContent','reviewName','updateDocumentData','getChangeById','markChangeAsOutdated','1622930rRcilf','isAnyChangeActivated','958038RMfIam','message','operation','isChangeActive','_aiConnector','dataId','size','event','_reviewArgs','subTitle','ai-request-aborted','version','markAllChangesAsAccepted','_sourceCheck','30KANYog','6565524SqCFzq','forEach','markChangeAsRejected','outdated','markChangeAsPending','reviewCheckResultReady','parent','error-chunk','_activeRequest','currentError','_checkIfFinished'];_0x5508=function(){return _0x5c740c;};return _0x5508();}import{AIReviewCheckResult as _0x194f36}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x3b4740}from'./aireviewcheckresultchange.js';function _0x12b2(_0x22941d,_0x4b3b09){const _0x5508fd=_0x5508();return _0x12b2=function(_0x12b2b1,_0x2cbc48){_0x12b2b1=_0x12b2b1-0x8b;let _0x548626=_0x5508fd[_0x12b2b1];return _0x548626;},_0x12b2(_0x22941d,_0x4b3b09);}export class AIReviewCheckRun extends _0x25a3f0(){['id']=_0x5f0412();[_0x5c1277(0xc5)];[_0x5c1277(0xb8)]=new Map();[_0x5c1277(0xbe)]=[];[_0x5c1277(0x95)];[_0x5c1277(0xb3)];[_0x5c1277(0x8c)];[_0x5c1277(0xad)];[_0x5c1277(0x90)];[_0x5c1277(0x9f)]=null;[_0x5c1277(0xac)];constructor(_0x437030,_0x39a62f,_0xa1bcc0,_0x5f5163,_0x528e1a){const _0x2a1f1b=_0x5c1277;super(),this[_0x2a1f1b(0x95)]=_0x39a62f,this[_0x2a1f1b(0xb3)]=_0x437030,this[_0x2a1f1b(0x8c)]=_0xa1bcc0,this[_0x2a1f1b(0xad)]=_0x5f5163,this[_0x2a1f1b(0x90)]=_0x528e1a,this['on'](_0x2a1f1b(0xc2),(_0x131457,_0x1147a0,_0x458e1b)=>{const _0x497131=_0x2a1f1b;this[_0x497131(0xe0)](_0x497131(0xd4),{'status':_0x458e1b,'run':this,'error':this[_0x497131(0xac)]});}),this[_0x2a1f1b(0xb1)](_0x2a1f1b(0xd8),_0x2a1f1b(0xbd));}get[_0x5c1277(0xcd)](){const _0x44c343=_0x5c1277;return this[_0x44c343(0xb3)];}get[_0x5c1277(0xd6)](){const _0x5cc601=_0x5c1277;return this[_0x5cc601(0xb8)][_0x5cc601(0x8e)];}get[_0x5c1277(0xe1)](){const _0xc562e3=_0x5c1277;return this[_0xc562e3(0x95)][_0xc562e3(0xe1)];}get[_0x5c1277(0x91)](){return'';}get[_0x5c1277(0xe5)](){const _0x44899e=_0x5c1277;return this[_0x44899e(0x95)]['id'];}get[_0x5c1277(0xda)](){const _0x4c8806=_0x5c1277;return!this[_0x4c8806(0xbe)][_0x4c8806(0xdc)](_0x369ce6=>_0x4c8806(0xdd)===_0x369ce6[_0x4c8806(0xd8)]);}get[_0x5c1277(0xa0)](){const _0x3aac6c=_0x5c1277;return this[_0x3aac6c(0xac)];}[_0x5c1277(0xe6)](_0x43d48b){const _0x32590d=_0x5c1277;this[_0x32590d(0xb3)]=_0x43d48b;}async[_0x5c1277(0xcb)](){const _0x293e97=_0x5c1277;this[_0x293e97(0xd8)]=_0x293e97(0xd7),this[_0x293e97(0xac)]=void 0x0;try{this[_0x293e97(0x9f)]=this[_0x293e97(0xcf)]();const _0x34ef41=await this[_0x293e97(0x9f)][_0x293e97(0xc0)]();this[_0x293e97(0xd8)]=_0x293e97(0xb0);for await(const _0x3cffb8 of _0x34ef41)_0x293e97(0xc7)!==_0x3cffb8[_0x293e97(0xb0)][_0x293e97(0xed)]&&(_0x293e97(0xc9)!==_0x3cffb8[_0x293e97(0xb0)][_0x293e97(0xed)]?_0x293e97(0xa5)!==_0x3cffb8[_0x293e97(0x8f)]?this[_0x293e97(0xd2)](_0x3cffb8[_0x293e97(0xb0)][_0x293e97(0x8d)],_0x3cffb8[_0x293e97(0xb0)][_0x293e97(0xb4)]):this[_0x293e97(0xc5)]=_0x3cffb8[_0x293e97(0xb0)][_0x293e97(0xc5)]:this[_0x293e97(0xd8)]=_0x293e97(0x9e));_0x293e97(0x9e)!==this[_0x293e97(0xd8)]&&(0x0===this[_0x293e97(0xb8)][_0x293e97(0x8e)]||0x0===this[_0x293e97(0xbe)][_0x293e97(0xa6)]?this[_0x293e97(0xd8)]=_0x293e97(0xc7):this[_0x293e97(0xd8)]=_0x293e97(0xdf));}catch(_0x13faa5){this[_0x293e97(0xac)]=_0x13faa5,_0x13faa5 instanceof Error&&_0x13faa5[_0x293e97(0xec)][_0x293e97(0xc1)](_0x293e97(0x92))?this[_0x293e97(0xd8)]=_0x293e97(0xb9):this[_0x293e97(0xd8)]=_0x293e97(0xd9);}finally{this[_0x293e97(0x9f)]=null;}}async[_0x5c1277(0xe3)](){const _0x100392=_0x5c1277;this[_0x100392(0xb8)][_0x100392(0xa4)](),this[_0x100392(0xbe)][_0x100392(0xa6)]=0x0,this[_0x100392(0xac)]=void 0x0,await this[_0x100392(0xcb)]();}[_0x5c1277(0xbb)](_0x48e967,_0x5907f9){const _0x37d8f9=_0x5c1277,_0x12cc98=this[_0x37d8f9(0xb8)][_0x37d8f9(0xb7)](_0x48e967);if(!_0x12cc98)return;if(0x0===_0x5907f9[_0x37d8f9(0xa6)])return;const _0x1b5fc6=[];_0x5907f9[_0x37d8f9(0x98)]((_0x57337c,_0xa540fe)=>{const _0x326999=_0x37d8f9,_0x50aab7=new _0x3b4740(_0x12cc98['id']+'-'+_0xa540fe,_0x57337c,_0x12cc98);_0x50aab7['on'](_0x326999(0xc2),()=>{const _0x275f92=_0x326999;this[_0x275f92(0xe0)](_0x275f92(0xd0),{'change':_0x50aab7,'status':_0x50aab7[_0x275f92(0xd8)]});}),_0x50aab7['on'](_0x326999(0xd5),()=>{const _0xa3b541=_0x326999;_0x50aab7[_0xa3b541(0xb6)]?this[_0xa3b541(0xe0)](_0xa3b541(0xa2),{'change':_0x50aab7}):this[_0xa3b541(0xe0)](_0xa3b541(0xb5),{'change':_0x50aab7});}),this[_0x326999(0xbe)][_0x326999(0xa7)](_0x50aab7),_0x1b5fc6[_0x326999(0xa7)](_0x50aab7);}),this[_0x37d8f9(0xe0)](_0x37d8f9(0x9c),{'changes':_0x1b5fc6,'result':_0x12cc98,'source':this});}[_0x5c1277(0xa8)](){const _0x13c2cb=_0x5c1277;this[_0x13c2cb(0x9f)]&&(this[_0x13c2cb(0x9f)][_0x13c2cb(0xb2)][_0x13c2cb(0xa8)](),this[_0x13c2cb(0x9f)]=null,this[_0x13c2cb(0xd8)]=_0x13c2cb(0xb9));}[_0x5c1277(0x8b)](_0x703e4b){const _0x44be24=_0x5c1277,_0x129d25=this[_0x44be24(0xbe)][_0x44be24(0xaa)](_0x1c8ca2=>_0x1c8ca2['id']===_0x703e4b);return!(!_0x129d25||_0x44be24(0xdd)!==_0x129d25[_0x44be24(0xd8)]);}[_0x5c1277(0xea)](){const _0x3f03e4=_0x5c1277;return this[_0x3f03e4(0xbe)][_0x3f03e4(0xab)](_0x13eaef=>!0x0===_0x13eaef[_0x3f03e4(0xb6)]);}[_0x5c1277(0xd1)](){const _0x540728=_0x5c1277;return this[_0x540728(0xbe)][_0x540728(0xbc)](_0x147f0a=>_0x540728(0xdd)===_0x147f0a[_0x540728(0xd8)]);}[_0x5c1277(0xe7)](_0x91dc57){const _0x418e4d=_0x5c1277;return this[_0x418e4d(0xbe)][_0x418e4d(0xaa)](_0x465b01=>_0x465b01['id']===_0x91dc57);}[_0x5c1277(0x94)](){const _0x5753f4=_0x5c1277;for(const _0x2f9cab of this[_0x5753f4(0xbe)])_0x5753f4(0xdd)===_0x2f9cab[_0x5753f4(0xd8)]&&(_0x2f9cab[_0x5753f4(0xd8)]=_0x5753f4(0xc4));this[_0x5753f4(0xa1)]();}[_0x5c1277(0xa9)](_0x110dcf){const _0x54c914=_0x5c1277,_0x185d01=this[_0x54c914(0xbe)][_0x54c914(0xaa)](_0x326554=>_0x326554['id']===_0x110dcf);_0x185d01&&_0x54c914(0xdd)===_0x185d01[_0x54c914(0xd8)]&&(_0x185d01[_0x54c914(0xd8)]=_0x54c914(0xc4)),this[_0x54c914(0xa1)]();}[_0x5c1277(0x99)](_0x48fb6e){const _0x14a63f=_0x5c1277,_0x3d56b8=this[_0x14a63f(0xbe)][_0x14a63f(0xaa)](_0x1e1871=>_0x1e1871['id']===_0x48fb6e);_0x3d56b8&&_0x14a63f(0xdd)===_0x3d56b8[_0x14a63f(0xd8)]&&(_0x3d56b8[_0x14a63f(0xd8)]=_0x14a63f(0xba)),this[_0x14a63f(0xa1)]();}[_0x5c1277(0xe8)](_0x96b629){const _0x2f44b6=_0x5c1277,_0x294042=this[_0x2f44b6(0xbe)][_0x2f44b6(0xaa)](_0x336710=>_0x336710['id']===_0x96b629);_0x294042&&_0x2f44b6(0xdd)===_0x294042[_0x2f44b6(0xd8)]&&(_0x294042[_0x2f44b6(0xd8)]=_0x2f44b6(0x9a)),this[_0x2f44b6(0xa1)]();}[_0x5c1277(0x9b)](_0x1c2e29){const _0x2b95be=_0x5c1277,_0xd24741=this[_0x2b95be(0xbe)][_0x2b95be(0xaa)](_0x1e7446=>_0x1e7446['id']===_0x1c2e29);_0xd24741&&_0x2b95be(0x9a)===_0xd24741[_0x2b95be(0xd8)]&&(_0xd24741[_0x2b95be(0xd8)]=_0x2b95be(0xdd)),this[_0x2b95be(0xa1)]();}[_0x5c1277(0xe2)](_0x595196){const _0x10459f=_0x5c1277;this[_0x10459f(0xbe)][_0x10459f(0xbc)](_0x579379=>_0x579379[_0x10459f(0xb6)]&&_0x579379['id']!==_0x595196)[_0x10459f(0x98)](_0x500e20=>{const _0x4426a4=_0x10459f;_0x500e20[_0x4426a4(0xb6)]=!0x1;});const _0x549e4a=this[_0x10459f(0xbe)][_0x10459f(0xaa)](_0x3a2294=>_0x3a2294['id']===_0x595196);_0x549e4a&&_0x10459f(0xdd)===_0x549e4a[_0x10459f(0xd8)]&&(_0x549e4a[_0x10459f(0xb6)]=!0x0);}[_0x5c1277(0xca)](){const _0x9f0d76=_0x5c1277;this[_0x9f0d76(0xbe)][_0x9f0d76(0xbc)](_0x4eaf2a=>_0x4eaf2a[_0x9f0d76(0xb6)])[_0x9f0d76(0x98)](_0x5da210=>{const _0x4f1fc5=_0x9f0d76;_0x5da210[_0x4f1fc5(0xb6)]=!0x1;});}[_0x5c1277(0xc8)](){const _0x818bd0=_0x5c1277;this[_0x818bd0(0xd8)]=_0x818bd0(0xdf);}async[_0x5c1277(0xc6)](_0x49d82d){const _0x57d411=_0x5c1277;if(_0x57d411(0xbd)===this[_0x57d411(0xd8)]||_0x57d411(0xd7)===this[_0x57d411(0xd8)]||_0x57d411(0xb0)===this[_0x57d411(0xd8)])return;if(!this[_0x57d411(0xc5)]||0x0===this[_0x57d411(0xbe)][_0x57d411(0xa6)])return;let _0x3ec1bf;if(_0x49d82d){const _0x2cc83d=this[_0x57d411(0xbe)][_0x57d411(0xaa)](_0x48441d=>_0x48441d['id']===_0x49d82d);if(_0x2cc83d&&_0x2cc83d[_0x57d411(0xaf)])return;_0x2cc83d&&(_0x3ec1bf=_0x2cc83d[_0x57d411(0x9d)]['id'],_0x2cc83d[_0x57d411(0xaf)]=!0x0);}const _0xf8cb73={'positiveCount':this[_0x57d411(0xbe)][_0x57d411(0xbc)](_0xb9b05=>_0x57d411(0xc4)===_0xb9b05[_0x57d411(0xd8)])[_0x57d411(0xa6)],'totalCount':this[_0x57d411(0xbe)][_0x57d411(0xa6)]};this[_0x57d411(0xde)](_0xf8cb73,this[_0x57d411(0xc5)],_0x3ec1bf);}[_0x5c1277(0xd2)](_0x413e63,_0x5db544){const _0x5a5596=_0x5c1277,_0x496719=this[_0x5a5596(0xb3)][_0x5a5596(0xcc)][_0x5a5596(0xb7)](_0x413e63);if(!_0x496719)return;const _0x57b6e6=_0x496719[_0x5a5596(0xe4)]();if(_0x57b6e6===_0x5db544)return;const _0x18c900=new _0x194f36({'id':_0x413e63,'contentInitial':_0x57b6e6,'contentNew':_0x5db544,'documentVersion':this[_0x5a5596(0xb3)][_0x5a5596(0x93)]});this[_0x5a5596(0xb8)][_0x5a5596(0xb1)](_0x18c900['id'],_0x18c900),this[_0x5a5596(0xe0)](_0x5a5596(0xdb),{'result':_0x18c900,'source':this});}[_0x5c1277(0xa1)](){const _0x26d61d=_0x5c1277;_0x26d61d(0xce)===this[_0x26d61d(0xd8)]&&(this[_0x26d61d(0xbe)][_0x26d61d(0xbc)](_0x38ba78=>_0x26d61d(0xdd)===_0x38ba78[_0x26d61d(0xd8)])[_0x26d61d(0xa6)]>0x0&&(this[_0x26d61d(0xd8)]=_0x26d61d(0xdf))),_0x26d61d(0xdf)===this[_0x26d61d(0xd8)]&&(0x0===this[_0x26d61d(0xbe)][_0x26d61d(0xbc)](_0xb3b6e4=>_0x26d61d(0xdd)===_0xb3b6e4[_0x26d61d(0xd8)])[_0x26d61d(0xa6)]&&(this[_0x26d61d(0xd8)]=_0x26d61d(0xce)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x40c0b3=_0x11f5;(function(_0x44ee81,_0x456b9f){var _0x547643=_0x11f5,_0x766e6f=_0x44ee81();while(!![]){try{var _0x19e3cb=-parseInt(_0x547643(0xd0))/0x1*(parseInt(_0x547643(0xd9))/0x2)+-parseInt(_0x547643(0xd5))/0x3*(-parseInt(_0x547643(0xcb))/0x4)+parseInt(_0x547643(0xd4))/0x5+parseInt(_0x547643(0xd3))/0x6*(parseInt(_0x547643(0xc7))/0x7)+-parseInt(_0x547643(0xca))/0x8+-parseInt(_0x547643(0xd2))/0x9*(-parseInt(_0x547643(0xd8))/0xa)+-parseInt(_0x547643(0xd6))/0xb;if(_0x19e3cb===_0x456b9f)break;else _0x766e6f['push'](_0x766e6f['shift']());}catch(_0x25b079){_0x766e6f['push'](_0x766e6f['shift']());}}}(_0x2ad5,0x7da12));import{AIReviewCheckRun as _0xd0b85d}from'./aireviewcheckrun.js';function _0x2ad5(){var _0x4cf67d=['content','subTitle','_createApiRequest','_aiConnector','142ZCLVry','upsertCustomAIReviewRating','1944UDLaXv','6mrmHCM','2882200BcotPe','1739859XctGtG','703560TTGRGp','callCustomReview','14230NPkJcf','9032LiHiwJ','_documentData','_sendRatingRequest','4970434AHJKrU','_prompt','_model','7632104ETMyTT','4mMefbx'];_0x2ad5=function(){return _0x4cf67d;};return _0x2ad5();}function _0x11f5(_0x449776,_0x46d6a8){var _0x2ad596=_0x2ad5();return _0x11f5=function(_0x11f5be,_0x41d390){_0x11f5be=_0x11f5be-0xc6;var _0x3a31e1=_0x2ad596[_0x11f5be];return _0x3a31e1;},_0x11f5(_0x449776,_0x46d6a8);}export class AIReviewCustomCheckRun extends _0xd0b85d{[_0x40c0b3(0xc8)];[_0x40c0b3(0xc9)];constructor(_0x418388,_0x515190,_0x5e1737,_0x4cac12,_0x12f054){var _0x13b003=_0x40c0b3;super(_0x5e1737,_0x4cac12,_0x12f054),this[_0x13b003(0xc8)]=_0x418388,this[_0x13b003(0xc9)]=_0x515190;}get[_0x40c0b3(0xcd)](){var _0x567768=_0x40c0b3;return this[_0x567768(0xc8)];}[_0x40c0b3(0xce)](){var _0xac86da=_0x40c0b3;return this[_0xac86da(0xcf)][_0xac86da(0xd7)]({'content':this[_0xac86da(0xda)][_0xac86da(0xcc)],'prompt':this[_0xac86da(0xc8)],'model':this[_0xac86da(0xc9)]});}[_0x40c0b3(0xc6)](_0x2d572a,_0x594327,_0x110942){var _0x20775d=_0x40c0b3;return this[_0x20775d(0xcf)][_0x20775d(0xd1)](_0x594327,_0x2d572a,_0x110942);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e6ddc=_0x536f;(function(_0x4f82a4,_0x43e64d){const _0xdabcd9=_0x536f,_0x5adfa6=_0x4f82a4();while(!![]){try{const _0x33b54e=-parseInt(_0xdabcd9(0xd9))/0x1*(parseInt(_0xdabcd9(0xc4))/0x2)+parseInt(_0xdabcd9(0xbf))/0x3+parseInt(_0xdabcd9(0xd7))/0x4+parseInt(_0xdabcd9(0xd4))/0x5+-parseInt(_0xdabcd9(0xd6))/0x6+-parseInt(_0xdabcd9(0xcf))/0x7+-parseInt(_0xdabcd9(0xc0))/0x8*(-parseInt(_0xdabcd9(0xd8))/0x9);if(_0x33b54e===_0x43e64d)break;else _0x5adfa6['push'](_0x5adfa6['shift']());}catch(_0x365f8d){_0x5adfa6['push'](_0x5adfa6['shift']());}}}(_0x1dcd,0x8d166));function _0x1dcd(){const _0xc2896a=['callSystemReview','634415CzbSkI','_aiConnector','979458bNmfeF','1676020FLKEtr','7798464VvOeSS','419AoIeiE','length','useArgs','find','1752291BIsUYT','8ZKVXXe','upsertAIReviewRating','_sourceCheck','_createApiRequest','4714AvPMEb','data','join','push','_reviewArgs','_reviewParams','_sendRatingRequest','_documentData','options','label','reviewName','1874327LCLlQc','subTitle','_composeReviewName','content'];_0x1dcd=function(){return _0xc2896a;};return _0x1dcd();}function _0x536f(_0x437b47,_0x3f55db){const _0x1dcd33=_0x1dcd();return _0x536f=function(_0x536ff4,_0x39deaa){_0x536ff4=_0x536ff4-0xbe;let _0x4a6b16=_0x1dcd33[_0x536ff4];return _0x4a6b16;},_0x536f(_0x437b47,_0x3f55db);}import{AIReviewCheckRun as _0x430b7a}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x430b7a{get[_0x3e6ddc(0xd0)](){const _0x3d0990=_0x3e6ddc;if(!this[_0x3d0990(0xc9)]||0x0===this[_0x3d0990(0xc9)][_0x3d0990(0xda)])return'';const _0x532fdf=[];if(this[_0x3d0990(0xc9)][_0x3d0990(0xda)]>0x0&&this[_0x3d0990(0xc2)][_0x3d0990(0xcc)])for(let _0x59fcac=0x0;_0x59fcac<this[_0x3d0990(0xc9)][_0x3d0990(0xda)];_0x59fcac++){if(!this[_0x3d0990(0xc9)][_0x59fcac]||!this[_0x3d0990(0xc2)][_0x3d0990(0xcc)][_0x59fcac])continue;const _0x507d6e=this[_0x3d0990(0xc2)][_0x3d0990(0xcc)][_0x59fcac],_0x50f40c=_0x507d6e[_0x3d0990(0xc5)]?.[_0x3d0990(0xbe)](_0x110555=>_0x110555['id']===this[_0x3d0990(0xc9)][_0x59fcac]);_0x50f40c&&_0x532fdf[_0x3d0990(0xc7)](_0x50f40c[_0x3d0990(0xcd)]);}return _0x532fdf[_0x3d0990(0xc6)](',\x20');}get[_0x3e6ddc(0xce)](){const _0x3412e8=_0x3e6ddc;return this[_0x3412e8(0xd1)]();}[_0x3e6ddc(0xc3)](){const _0x5ab14c=_0x3e6ddc;return this[_0x5ab14c(0xd5)][_0x5ab14c(0xd3)]({'reviewName':this[_0x5ab14c(0xd1)](),'content':this[_0x5ab14c(0xcb)][_0x5ab14c(0xd2)],'args':this[_0x5ab14c(0xc8)]});}[_0x3e6ddc(0xca)](_0x34267c,_0x148124,_0x45ae76){const _0x4a2c04=_0x3e6ddc;return this[_0x4a2c04(0xd5)][_0x4a2c04(0xc1)](this[_0x4a2c04(0xce)],_0x148124,_0x34267c,_0x45ae76);}[_0x3e6ddc(0xd1)](){const _0x2abcb0=_0x3e6ddc;return!this[_0x2abcb0(0xc9)]||0x0===this[_0x2abcb0(0xc9)][_0x2abcb0(0xda)]||this[_0x2abcb0(0xc2)][_0x2abcb0(0xdb)]?this[_0x2abcb0(0xc2)]['id']:[this[_0x2abcb0(0xc2)]['id'],...this[_0x2abcb0(0xc9)]][_0x2abcb0(0xc6)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2db9f4=_0x17a5;(function(_0xb350ec,_0x8473c6){var _0x20249c=_0x17a5,_0x57b994=_0xb350ec();while(!![]){try{var _0x538d32=parseInt(_0x20249c(0x106))/0x1*(parseInt(_0x20249c(0x103))/0x2)+parseInt(_0x20249c(0xfc))/0x3+-parseInt(_0x20249c(0x109))/0x4*(parseInt(_0x20249c(0xfd))/0x5)+parseInt(_0x20249c(0xfb))/0x6+-parseInt(_0x20249c(0x105))/0x7+-parseInt(_0x20249c(0x108))/0x8+parseInt(_0x20249c(0xfe))/0x9*(parseInt(_0x20249c(0x10e))/0xa);if(_0x538d32===_0x8473c6)break;else _0x57b994['push'](_0x57b994['shift']());}catch(_0x4c8f43){_0x57b994['push'](_0x57b994['shift']());}}}(_0x19d0,0xba2ea));import{TextareaView as _0x5d4e45}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1c56f5}from'ckeditor5/src/utils.js';function _0x19d0(){var _0x833cd3=['10688352Eixgpb','1232WgPNeS','trim','isEmpty','update','keystrokes','610060Thsqaw','set','element','minRows','ai-review-mode-prompt-input','extendTemplate','maxRows','5547450cgbamR','1006605LUFIgz','10895kMRofY','180pwXevj','render','MAX_ROWS','listenTo','ck-review-mode__prompt-input','4vaBcXi','value','7241178egtYED','662001dUfYCy','MIN_ROWS'];_0x19d0=function(){return _0x833cd3;};return _0x19d0();}function _0x17a5(_0x4aa10d,_0x24a532){var _0x19d05c=_0x19d0();return _0x17a5=function(_0x17a50f,_0x3346c9){_0x17a50f=_0x17a50f-0xf5;var _0x593d82=_0x19d05c[_0x17a50f];return _0x593d82;},_0x17a5(_0x4aa10d,_0x24a532);}export class AIReviewModePromptInputView extends _0x5d4e45{[_0x2db9f4(0x10d)];static [_0x2db9f4(0x107)]=0x1;static [_0x2db9f4(0x100)]=0xc;constructor(_0x3e9f23){var _0x20099e=_0x2db9f4;super(_0x3e9f23),this[_0x20099e(0xf5)](_0x20099e(0x10b),!0x0),this[_0x20099e(0x10d)]=new _0x1c56f5(),this[_0x20099e(0xf7)]=AIReviewModePromptInputView[_0x20099e(0x107)],this[_0x20099e(0xfa)]=AIReviewModePromptInputView[_0x20099e(0x100)],this[_0x20099e(0xf9)]({'attributes':{'id':_0x20099e(0xf8),'class':['ck',_0x20099e(0x102)]}});}[_0x2db9f4(0xff)](){var _0x431bc5=_0x2db9f4;super[_0x431bc5(0xff)](),this['on'](_0x431bc5(0x10c),()=>{var _0x4a9813=_0x431bc5;this[_0x4a9813(0x10b)]=''===this[_0x4a9813(0xf6)][_0x4a9813(0x104)]?.[_0x4a9813(0x10a)]();}),this[_0x431bc5(0x10d)][_0x431bc5(0x101)](this[_0x431bc5(0xf6)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49aa92=_0x4eb7;(function(_0x17df4d,_0x20f2d4){const _0x46cba8=_0x4eb7,_0x311f11=_0x17df4d();while(!![]){try{const _0x239430=parseInt(_0x46cba8(0xb5))/0x1+-parseInt(_0x46cba8(0xed))/0x2*(-parseInt(_0x46cba8(0xe5))/0x3)+-parseInt(_0x46cba8(0xc3))/0x4+parseInt(_0x46cba8(0xd3))/0x5*(-parseInt(_0x46cba8(0xf1))/0x6)+parseInt(_0x46cba8(0xce))/0x7+parseInt(_0x46cba8(0xbb))/0x8+parseInt(_0x46cba8(0xf9))/0x9*(-parseInt(_0x46cba8(0xc9))/0xa);if(_0x239430===_0x20f2d4)break;else _0x311f11['push'](_0x311f11['shift']());}catch(_0x2143f5){_0x311f11['push'](_0x311f11['shift']());}}}(_0x33a3,0xe3591));function _0x33a3(){const _0x52d5ee=['isVisible','span[data-marker-id*=\x22','.ck-ai-review-mode__change_active','acceptChange','setTemplate','655581WvcmqE','arrow_se','_getBestRectPositionOnClick','ck-ai-review-mode-balloon-panel-suggestion','_pinnedRectIndex','contentDiffed','12665096YwzgHM','extendTemplate','right','unpin','ck-content','deactivateChange','ck-ai-review-mode__change_active','dismissChange','5240852EtLZyi','hide','content','classList','querySelectorAll','element','80sNGmWS','click','left','length','innerHTML','9030455TGVSIs','width','show','reverse','delegate','1835UlcDrU','hideBalloon','changeId','getBoundingClientRect','_setupClickOutsideHandler','replace','_getPointedRectIndexFromEvent','render','documentElement','locale','fire','clientX','_getBestRectPositionOnHover','getIntersection','bottom','add','position','hideDiffInBalloon','6717TtwOwN','top','_isPinnedRectVisible','div','set','hover','_createContentView','forEach','1182WpKVRF','document','bindTemplate','ck-reset','11460axlcks','_removeActiveClassFromMarkers','showDiffInBalloon','resultItemView','_setActiveClassOnMarker','clientY','arrow_','_pinnedTargetElement','2148336QbvgoQ','ck-ai-review-mode__suggestion-text','from','updateContent','remove','showDiff','isDiffActive','pin','resultResponseView','getClientRects','_pinnedTargetChangeId','push','showBalloon','ck-ai-review-mode-balloon-panel-suggestion_diff-active'];_0x33a3=function(){return _0x52d5ee;};return _0x33a3();}import{Rect as _0x308dbd,getConstrainedViewportRect as _0x326ff9,global as _0x4afeb9}from'ckeditor5/src/utils.js';function _0x4eb7(_0x4775d7,_0x1dc562){const _0x33a33b=_0x33a3();return _0x4eb7=function(_0x4eb750,_0xedfc79){_0x4eb750=_0x4eb750-0xa6;let _0x970c4a=_0x33a33b[_0x4eb750];return _0x970c4a;},_0x4eb7(_0x4775d7,_0x1dc562);}import{BalloonPanelView as _0x26502a,View as _0x343b20,clickOutsideHandler as _0x16413f}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0xb5a62b}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x26502a{[_0x49aa92(0xf4)];[_0x49aa92(0xb9)]=void 0x0;[_0x49aa92(0xf8)]=void 0x0;[_0x49aa92(0xac)]=void 0x0;constructor(_0x2cb42a,_0x4f5f3c){const _0x3b3cbf=_0x49aa92;super(_0x2cb42a),this[_0x3b3cbf(0xe9)]({'isVisible':!0x1,'position':_0x3b3cbf(0xb6),'class':null,'top':0x0,'left':0x0}),this[_0x3b3cbf(0xbc)]({'tag':_0x3b3cbf(0xe8),'attributes':{'class':[_0x3b3cbf(0xf0)],'tabindex':'-1'}}),this[_0x3b3cbf(0xe9)](_0x3b3cbf(0xa8),!0x1),this[_0x3b3cbf(0xc5)][_0x3b3cbf(0xe2)](this[_0x3b3cbf(0xeb)]()),_0x4f5f3c[_0x3b3cbf(0xe2)](this);}[_0x49aa92(0xda)](){const _0x25b810=_0x49aa92;super[_0x25b810(0xda)](),this[_0x25b810(0xd7)]();}[_0x49aa92(0xfc)](_0x5246c8){const _0x1bfcca=_0x49aa92;this[_0x1bfcca(0xf4)][_0x1bfcca(0xd5)]=_0x5246c8['id'],this[_0x1bfcca(0xf4)][_0x1bfcca(0xaa)][_0x1bfcca(0xc8)][_0x1bfcca(0xcd)]=_0x5246c8[_0x1bfcca(0xba)];}[_0x49aa92(0xae)](_0x46adcb,_0xd336e9,_0x487909,_0x353717,_0x11fe7b,_0x1bc88a){const _0x18f428=_0x49aa92;this[_0x18f428(0xf2)](),this[_0x18f428(0xfc)](_0x46adcb),this[_0x18f428(0xd0)]();const _0x1029cb=Array[_0x18f428(0xfb)](_0xd336e9[_0x18f428(0xab)]())[_0x18f428(0xd1)](),_0x5a784d=this[_0x18f428(0xd9)](_0x487909,_0x1029cb);_0x18f428(0xca)===_0x353717?(this[_0x18f428(0xa8)]=!0x0,this[_0x18f428(0xf5)](_0x46adcb['id']),this[_0x18f428(0xa9)]({'target':()=>this[_0x18f428(0xb7)](_0xd336e9,_0x5a784d,_0x46adcb['id'],_0x11fe7b,_0x1bc88a)})):_0x18f428(0xea)===_0x353717&&(this[_0x18f428(0xa8)]=!0x1,this[_0x18f428(0xa9)]({'target':()=>this[_0x18f428(0xdf)](_0xd336e9,_0x5a784d,_0x46adcb['id'])}));}[_0x49aa92(0xd4)](){const _0x685a2c=_0x49aa92;this[_0x685a2c(0xc4)](),this[_0x685a2c(0xbe)](),this[_0x685a2c(0xf2)](),this[_0x685a2c(0xb9)]=void 0x0,this[_0x685a2c(0xf8)]=void 0x0,this[_0x685a2c(0xac)]=void 0x0;}[_0x49aa92(0xe4)](){const _0x24b4be=_0x49aa92;this[_0x24b4be(0xf4)][_0x24b4be(0xa7)]=!0x1;}[_0x49aa92(0xf3)](){const _0x201a6a=_0x49aa92;this[_0x201a6a(0xf4)][_0x201a6a(0xa7)]=!0x0;}[_0x49aa92(0xc0)](){const _0x3ca122=_0x49aa92;this[_0x3ca122(0xdd)](_0x3ca122(0xc0));}[_0x49aa92(0xf2)](){const _0x485a62=_0x49aa92;_0x4afeb9[_0x485a62(0xee)][_0x485a62(0xc7)](_0x485a62(0xb2))[_0x485a62(0xec)](_0x7e5980=>{const _0x1bc5aa=_0x485a62;_0x7e5980[_0x1bc5aa(0xc6)][_0x1bc5aa(0xa6)](_0x1bc5aa(0xc1));});}[_0x49aa92(0xf5)](_0x2fb4d2){const _0x4a024b=_0x49aa92;_0x4afeb9[_0x4a024b(0xee)][_0x4a024b(0xc7)](_0x4a024b(0xb1)+_0x2fb4d2+'\x22]')[_0x4a024b(0xec)](_0x4d513f=>{const _0x24bb71=_0x4a024b;_0x4d513f[_0x24bb71(0xc6)][_0x24bb71(0xe2)](_0x24bb71(0xc1));});}[_0x49aa92(0xd7)](){const _0x14d64f=_0x49aa92;_0x16413f({'emitter':this,'activator':()=>this[_0x14d64f(0xb0)],'contextElements':()=>{const _0x26587e=_0x14d64f,_0x2da7c4=[this[_0x26587e(0xc8)]];return this[_0x26587e(0xf8)]&&_0x2da7c4[_0x26587e(0xad)](this[_0x26587e(0xf8)]),_0x2da7c4;},'callback':()=>{const _0x264e5e=_0x14d64f;this[_0x264e5e(0xc4)](),this[_0x264e5e(0xbe)](),this[_0x264e5e(0xf2)](),this[_0x264e5e(0xc0)](),this[_0x264e5e(0xf8)]=void 0x0,this[_0x264e5e(0xb9)]=void 0x0,this[_0x264e5e(0xac)]=void 0x0;}});}[_0x49aa92(0xeb)](){const _0x566533=_0x49aa92,_0x10661e=new _0x343b20();return this[_0x566533(0xf4)]=new _0xb5a62b(this[_0x566533(0xdc)],''),this[_0x566533(0xf4)][_0x566533(0xaa)][_0x566533(0xbc)]({'attributes':{'class':[_0x566533(0xbf)]}}),this[_0x566533(0xf4)][_0x566533(0xd2)](_0x566533(0xb3),_0x566533(0xc2))['to'](this),_0x10661e[_0x566533(0xb4)]({'tag':_0x566533(0xe8),'attributes':{'class':[_0x566533(0xf0),_0x566533(0xb8),this[_0x566533(0xef)]['if'](_0x566533(0xa8),_0x566533(0xaf))]},'children':[{'tag':'p','attributes':{'class':[_0x566533(0xfa)]},'children':[this[_0x566533(0xf4)]]}]}),_0x10661e;}[_0x49aa92(0xb7)](_0x2851fb,_0x2e4863,_0x17a4ac,_0x4ac0bf,_0x4f1de0){const _0x23145e=_0x49aa92,_0x5f367d=this[_0x23145e(0xe3)][_0x23145e(0xd8)](_0x23145e(0xf7),''),_0x5c517c=Array[_0x23145e(0xfb)](_0x2851fb[_0x23145e(0xab)]());let _0x19b851,_0x1866f5=_0x5c517c[_0x23145e(0xd1)]();return void 0x0!==_0x2e4863&&this[_0x23145e(0xe7)](_0x1866f5[_0x2e4863],_0x4ac0bf,_0x4f1de0)?(_0x19b851=_0x1866f5[_0x2e4863],this[_0x23145e(0xb9)]=_0x2e4863):this[_0x23145e(0xe7)](_0x1866f5[0x0],_0x4ac0bf,_0x4f1de0)&&void 0x0===_0x2e4863?_0x19b851=_0x1866f5[0x0]:(_0x1866f5='s'==_0x5f367d[0x0]?[..._0x5c517c][_0x23145e(0xd1)]():_0x5c517c,_0x1866f5[_0x23145e(0xec)](_0xaf2550=>{const _0x1a1ce3=_0x23145e;this[_0x1a1ce3(0xe7)](_0xaf2550,_0x4ac0bf,_0x4f1de0)&&(_0x19b851=_0xaf2550);})),this[_0x23145e(0xac)]=_0x17a4ac,this[_0x23145e(0xf8)]=_0x2851fb,_0x19b851||_0x2851fb[_0x23145e(0xd6)]();}[_0x49aa92(0xdf)](_0x291156,_0x7c9966,_0x2038f3){const _0x12d559=_0x49aa92,_0x3c7af8=Array[_0x12d559(0xfb)](_0x291156[_0x12d559(0xab)]())[_0x12d559(0xd1)]();if(void 0x0===this[_0x12d559(0xb9)]&&void 0x0!==_0x7c9966&&this[_0x12d559(0xac)]!==_0x2038f3)return this[_0x12d559(0xb9)]=_0x7c9966,this[_0x12d559(0xf8)]=_0x291156,this[_0x12d559(0xac)]=_0x2038f3,_0x3c7af8[_0x7c9966];if(void 0x0!==this[_0x12d559(0xb9)]&&this[_0x12d559(0xac)]===_0x2038f3){if(_0x291156!==this[_0x12d559(0xf8)])return Array[_0x12d559(0xfb)](this[_0x12d559(0xf8)][_0x12d559(0xab)]())[_0x12d559(0xd1)]()[this[_0x12d559(0xb9)]];return _0x3c7af8[this[_0x12d559(0xb9)]];}return void 0x0!==_0x7c9966&&this[_0x12d559(0xac)]!==_0x2038f3?(this[_0x12d559(0xb9)]=_0x7c9966,this[_0x12d559(0xf8)]=_0x291156,this[_0x12d559(0xac)]=_0x2038f3,_0x3c7af8[_0x7c9966]):_0x291156[_0x12d559(0xd6)]();}[_0x49aa92(0xd9)](_0x22454d,_0x9a43cf){const _0x4b9fe4=_0x49aa92;if(_0x22454d)for(let _0x1cf7ca=0x0;_0x1cf7ca<_0x9a43cf[_0x4b9fe4(0xcc)];_0x1cf7ca++){const _0x495107=_0x9a43cf[_0x1cf7ca];if(_0x22454d[_0x4b9fe4(0xde)]>=_0x495107[_0x4b9fe4(0xcb)]-0x3&&_0x22454d[_0x4b9fe4(0xde)]<=_0x495107[_0x4b9fe4(0xbd)]+0x3&&_0x22454d[_0x4b9fe4(0xf6)]>=_0x495107[_0x4b9fe4(0xe6)]-0x3&&_0x22454d[_0x4b9fe4(0xf6)]<=_0x495107[_0x4b9fe4(0xe1)]+0x3)return _0x1cf7ca;}}[_0x49aa92(0xe7)](_0x5cdad1,_0xf8b6cb,_0x1beef6){const _0x503977=_0x49aa92,_0x56fef6=new _0x308dbd(_0x5cdad1),_0x432446=_0xf8b6cb||document[_0x503977(0xdb)],_0x2867aa=_0x56fef6[_0x503977(0xe0)](_0x326ff9(_0x1beef6)),_0x149ca7=new _0x308dbd(_0x432446)[_0x503977(0xe0)](_0x56fef6);return!!(_0x2867aa&&_0x149ca7&&_0x56fef6[_0x503977(0xcf)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44cce8=_0x2bde;(function(_0x51f4e6,_0x3491ef){const _0x4fb4df=_0x2bde,_0x231801=_0x51f4e6();while(!![]){try{const _0x16873c=parseInt(_0x4fb4df(0x1fd))/0x1+-parseInt(_0x4fb4df(0x208))/0x2*(parseInt(_0x4fb4df(0x1e1))/0x3)+-parseInt(_0x4fb4df(0x1c4))/0x4+-parseInt(_0x4fb4df(0x1fa))/0x5*(parseInt(_0x4fb4df(0x1d2))/0x6)+parseInt(_0x4fb4df(0x1dd))/0x7*(parseInt(_0x4fb4df(0x1de))/0x8)+parseInt(_0x4fb4df(0x1c0))/0x9+-parseInt(_0x4fb4df(0x206))/0xa*(parseInt(_0x4fb4df(0x1db))/0xb);if(_0x16873c===_0x3491ef)break;else _0x231801['push'](_0x231801['shift']());}catch(_0x5a8366){_0x231801['push'](_0x231801['shift']());}}}(_0xec2a,0x316e8));import{View as _0x36f6e5,ButtonView as _0x2d45be}from'ckeditor5/src/ui.js';import{IconInfo as _0x4f4c00,IconCheck as _0x4b01ab,IconCancel as _0x27155e,IconOutdated as _0x1e8042}from'ckeditor5/src/icons.js';import{getTranslation as _0x94fae9}from'../../aicore/utils/common-translations.js';function _0x2bde(_0x3271b2,_0x4c546a){const _0xec2a85=_0xec2a();return _0x2bde=function(_0x2bde69,_0x2d8140){_0x2bde69=_0x2bde69-0x1c0;let _0x450ac1=_0xec2a85[_0x2bde69];return _0x450ac1;},_0x2bde(_0x3271b2,_0x4c546a);}export class AIReviewModeReviewCheckListItemResultsView extends _0x36f6e5{[_0x44cce8(0x205)];[_0x44cce8(0x1e4)];[_0x44cce8(0x1f8)];[_0x44cce8(0x1ed)];[_0x44cce8(0x1cf)];constructor(_0x242c0c,_0x544f42){const _0x262e6b=_0x44cce8;super(_0x242c0c),this['id']=_0x544f42,this[_0x262e6b(0x1d9)](_0x262e6b(0x200),_0x262e6b(0x1e3)),this[_0x262e6b(0x1d9)](_0x262e6b(0x1f1),_0x544f42),this[_0x262e6b(0x205)]=this[_0x262e6b(0x1f7)](),this[_0x262e6b(0x1e4)]=this[_0x262e6b(0x203)](),this[_0x262e6b(0x1f8)]=this[_0x262e6b(0x1d6)](),this[_0x262e6b(0x1ed)]=this[_0x262e6b(0x1f9)](),this[_0x262e6b(0x1cf)]=this[_0x262e6b(0x1f0)](),this[_0x262e6b(0x1d9)](_0x262e6b(0x1eb),!0x1),this[_0x262e6b(0x1d9)](_0x262e6b(0x1cd),!0x1),this[_0x262e6b(0x1d9)](_0x262e6b(0x1fe),!0x0),this[_0x262e6b(0x1c6)]({'tag':_0x262e6b(0x1e0),'attributes':{'class':[_0x262e6b(0x1f5),this[_0x262e6b(0x207)]['if'](_0x262e6b(0x1cd),_0x262e6b(0x1f3))]},'on':{'click':this[_0x262e6b(0x207)]['to'](_0x262e6b(0x1fc))},'children':[this[_0x262e6b(0x205)],{'tag':_0x262e6b(0x1e0),'attributes':{'class':[_0x262e6b(0x1da)]},'children':[{'tag':_0x262e6b(0x1e0),'attributes':{'class':[_0x262e6b(0x1fb)]},'children':[this[_0x262e6b(0x1e4)],this[_0x262e6b(0x1f8)],this[_0x262e6b(0x1cf)]]},this[_0x262e6b(0x1ed)]]}]}),this['on'](_0x262e6b(0x1fc),()=>{const _0xab6038=_0x262e6b;this[_0xab6038(0x1d4)](_0xab6038(0x1d8),{'id':_0x544f42,'source':this});});}[_0x44cce8(0x1d5)](){const _0x300054=_0x44cce8;this[_0x300054(0x1cd)]=!0x0;}[_0x44cce8(0x1f6)](){const _0x45549c=_0x44cce8;this[_0x45549c(0x1cd)]=!0x1;}[_0x44cce8(0x1f7)](){const _0x328999=_0x44cce8,_0xa972c4=new _0x36f6e5(this[_0x328999(0x1c9)]);return _0xa972c4[_0x328999(0x1c6)]({'tag':_0x328999(0x1e0),'attributes':{'class':['ck',_0x328999(0x1c7),_0x328999(0x204),_0x328999(0x1ea),this[_0x328999(0x207)]['if'](_0x328999(0x1fe),_0x328999(0x1e2),_0x5d2671=>!_0x5d2671)]}}),_0xa972c4;}[_0x44cce8(0x203)](){const _0x4a0450=_0x44cce8,_0x49ac43=new _0x2d45be(this[_0x4a0450(0x1c9)]);return _0x49ac43[_0x4a0450(0x1d9)]({'label':_0x94fae9(this[_0x4a0450(0x1c9)],_0x4a0450(0x1ec)),'withText':!0x0}),_0x49ac43[_0x4a0450(0x1c8)]({'on':{'click':this[_0x4a0450(0x207)]['to'](_0x1eea3b=>{const _0x37cb28=_0x4a0450;this[_0x37cb28(0x1d4)](_0x37cb28(0x1d7),{'id':this[_0x37cb28(0x1f1)]}),_0x1eea3b[_0x37cb28(0x1c1)]();})},'attributes':{'class':[_0x4a0450(0x1ef),_0x4a0450(0x1f2),this[_0x4a0450(0x207)]['if'](_0x4a0450(0x200),_0x4a0450(0x1e2),_0x3be857=>_0x4a0450(0x1e3)!==_0x3be857&&_0x4a0450(0x1cc)!==_0x3be857),this[_0x4a0450(0x207)]['if'](_0x4a0450(0x200),_0x4a0450(0x1f2),_0x16b509=>_0x4a0450(0x1e3)===_0x16b509),this[_0x4a0450(0x207)]['if'](_0x4a0450(0x200),_0x4a0450(0x1c2),_0x1d0684=>_0x4a0450(0x1cc)===_0x1d0684)]}}),this['on'](_0x4a0450(0x1c3),(_0x56c3ae,_0x1b0788,_0x109cce)=>{const _0x1ad7e6=_0x4a0450;_0x49ac43[_0x1ad7e6(0x1e6)]=!0x1,_0x1ad7e6(0x1cc)===_0x109cce&&(_0x49ac43[_0x1ad7e6(0x1e7)]=_0x94fae9(this[_0x1ad7e6(0x1c9)],_0x1ad7e6(0x201)),_0x49ac43[_0x1ad7e6(0x1e9)]=_0x4b01ab);}),_0x49ac43;}[_0x44cce8(0x1d6)](){const _0x26143a=_0x44cce8,_0x2e0929=new _0x2d45be(this[_0x26143a(0x1c9)]);return _0x2e0929[_0x26143a(0x1d9)]({'label':_0x94fae9(this[_0x26143a(0x1c9)],_0x26143a(0x1ca)),'withText':!0x0}),_0x2e0929[_0x26143a(0x1c8)]({'on':{'click':this[_0x26143a(0x207)]['to'](_0x3bf2d6=>{const _0x3adea5=_0x26143a;this[_0x3adea5(0x1d4)](_0x3adea5(0x1e5),{'id':this[_0x3adea5(0x1f1)]}),_0x3bf2d6[_0x3adea5(0x1c1)]();})},'attributes':{'class':[_0x26143a(0x1df),this[_0x26143a(0x207)]['if'](_0x26143a(0x200),_0x26143a(0x1e2),_0x5e8daf=>_0x26143a(0x1e3)!==_0x5e8daf&&_0x26143a(0x1c5)!==_0x5e8daf),this[_0x26143a(0x207)]['if'](_0x26143a(0x200),_0x26143a(0x1ee),_0x1dd8b7=>_0x26143a(0x1e3)===_0x1dd8b7),this[_0x26143a(0x207)]['if'](_0x26143a(0x200),_0x26143a(0x1c2),_0x1ef8fb=>_0x26143a(0x1c5)===_0x1ef8fb)]}}),this['on'](_0x26143a(0x1c3),(_0x3e4a48,_0xda64f0,_0x4c7888)=>{const _0x51ca08=_0x26143a;_0x2e0929[_0x51ca08(0x1e6)]=!0x1,_0x51ca08(0x1c5)===_0x4c7888&&(_0x2e0929[_0x51ca08(0x1e7)]=_0x94fae9(this[_0x51ca08(0x1c9)],_0x51ca08(0x1f4)),_0x2e0929[_0x51ca08(0x1e9)]=_0x27155e);}),_0x2e0929;}[_0x44cce8(0x1f9)](){const _0x49a8b1=_0x44cce8,_0x5c9d09=new _0x2d45be(this[_0x49a8b1(0x1c9)]);return _0x5c9d09[_0x49a8b1(0x1d9)]({'label':_0x94fae9(this[_0x49a8b1(0x1c9)],_0x49a8b1(0x1dc)),'icon':_0x4f4c00,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x49a8b1(0x1e8),'class':_0x49a8b1(0x202)}),_0x5c9d09[_0x49a8b1(0x1ff)](_0x49a8b1(0x1d1))['to'](this,_0x49a8b1(0x1eb),_0x2def13=>_0x2def13),_0x5c9d09['on'](_0x49a8b1(0x1ce),()=>{const _0x547816=_0x49a8b1;this[_0x547816(0x1eb)]=!this[_0x547816(0x1eb)];}),_0x5c9d09;}[_0x44cce8(0x1f0)](){const _0x4a3596=_0x44cce8,_0x21f407=new _0x2d45be(this[_0x4a3596(0x1c9)]);return _0x21f407[_0x4a3596(0x1d9)]({'label':_0x94fae9(this[_0x4a3596(0x1c9)],_0x4a3596(0x1d0)),'icon':_0x1e8042,'withText':!0x0,'isEnabled':!0x1}),_0x21f407[_0x4a3596(0x1c8)]({'attributes':{'class':[_0x4a3596(0x1ef),_0x4a3596(0x1c2),this[_0x4a3596(0x207)]['if'](_0x4a3596(0x200),_0x4a3596(0x1e2),_0x52ca28=>_0x4a3596(0x1cb)!==_0x52ca28)],'disabled':_0x4a3596(0x1d3)}}),_0x21f407;}}function _0xec2a(){const _0x28b99e=['infoButtonView','ck-ai-review-mode__check-run-result-dismiss-button','ck-ai-button-secondary','_createOutdatedButtonView','changeId','ck-ai-review-mode__check-run-result-accept-button','ck-ai-review-mode__check-run-result_active','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','ck-ai-review-mode__check-run-result','setItemAsInactive','_createResultResponseView','dismissButtonView','_createInfoButtonView','25zknupQ','ck-ai-review-mode__check-run-result-action-buttons','click','187012uPHYJU','showDiff','bind','status','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','_createAcceptButtonView','ck-content-direct-excluded','resultResponseView','522050tKjdJT','bindTemplate','2NmYOHq','327195tCgJim','stopPropagation','ck-ai-review-mode__check-run-result-status-button','change:status','30940wDuhCe','rejected','setTemplate','ck-content','extendTemplate','locale','AI_REVIEW_MODE_DISMISS_CHANGE','outdated','accepted','isActive','execute','outdatedButtonView','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','isOn','180552VwPgJy','disabled','fire','setItemAsActive','_createDismissButtonView','acceptChange','activateChange','set','ck-ai-review-mode__check-run-result-footer','22KpVLus','AI_REVIEW_MODE_LEARN_MORE','2775353pZCtrg','8mXKBiV','ck-ai-button-tertiary-filled','div','464307ndGKic','ck-hidden','pending','acceptButtonView','dismissChange','isEnabled','label','menuitemcheckbox','icon','ck-ai-review-mode__check-run-result-response','isInfoToggleOn','AI_REVIEW_MODE_ACCEPT_CHANGE'];_0xec2a=function(){return _0x28b99e;};return _0xec2a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x23bffa,KeystrokeHandler as _0x20b267,FocusTracker as _0x3595f7}from'ckeditor5/src/utils.js';import{View as _0x3808f8,ViewCollection as _0x4112d5,ButtonView as _0x705d98,FormRowView as _0x46b920,createDropdown as _0x497499,addListToDropdown as _0x10707b,UIModel as _0x47ff12,ButtonLabelView as _0x50a4f3,LabeledFieldView as _0x429c5e,FocusCycler as _0x1ef3f5}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x1851c2}from'./aireviemodepromptinputview.js';import{getTranslation as _0x441597}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0x3808f8{['focusTracker']=new _0x3595f7();['keystrokes']=new _0x20b267();['focusCycler'];['_focusables']=new _0x4112d5();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x262735,_0x39423d){super(_0x262735),this['_check']=_0x39423d,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x39423d['models']&&_0x39423d['models']['length']>0x0?_0x39423d['models'][0x0]['id']:'',this['_defaultLabel']=_0x39423d['models']&&_0x39423d['models']['length']>0x0?_0x39423d['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x429c5e(this['locale'],()=>new _0x1851c2(_0x262735)),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 _0x23bffa(),this['_setModelList'](),_0x10707b(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 _0x46b920(this['locale'],{'children':[this['promptInputView']]}),new _0x46b920(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x5f4dac,_0x135d52)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x135d52()):_0x135d52();}),this['focusCycler']=new _0x1ef3f5({'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'](_0x4f404a=>{this['_focusables']['add'](_0x4f404a),this['focusTracker']['add'](_0x4f404a['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 _0x5990f6 of this['_getFormValidators']()){const _0x4b3bfa=_0x5990f6();if(_0x4b3bfa)return this['promptInputView']['errorText']=_0x4b3bfa,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x441597(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x59ea33=new _0x705d98(this['locale']),t=this['locale']['t'];return _0x59ea33['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x59ea33['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x59ea33;}['_createCancelButtonView'](){const _0x5c6abd=new _0x705d98(this['locale']),t=this['locale']['t'];return _0x5c6abd['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x5c6abd['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1058ed=>{_0x1058ed['stopPropagation']();})}}),_0x5c6abd['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x5c6abd;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x15433e=this['_check']['models'];if(this['resetToDefault'](),_0x15433e?.['length'])for(const _0x138ff4 of _0x15433e){const _0x3af66c=new _0x47ff12({'label':_0x138ff4['name'],'withText':!0x0,'role':'menuitemradio','id':_0x138ff4['id'],'model':_0x138ff4});_0x3af66c['bind']('isOn')['to'](this,'modelId',_0x70e620=>_0x70e620===_0x138ff4['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3af66c,'labelView':new Us(this['locale'],_0x138ff4)});}}['_createModelSelectionDropdown'](){const _0x562bb7=_0x497499(this['locale']);return _0x562bb7['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x562bb7['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x562bb7,'execute',_0x2d757d=>{this['modelId']=_0x2d757d['source']['model']['id'],_0x562bb7['buttonView']['label']=_0x2d757d['source']['label'];}),_0x562bb7;}['_createActionsFooterView'](){const _0x1dca55=new _0x3808f8(this['locale']);return _0x1dca55['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']]}]}),_0x1dca55;}}class Us extends _0x50a4f3{constructor(_0x1e7695,_0x5380c9){super();const _0xb04a78=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0xb04a78['to']('style'),'id':_0xb04a78['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0xb04a78['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x5380c9['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x351164,_0x2bc667){var _0xdc2c71=_0x19e7,_0x1f9283=_0x351164();while(!![]){try{var _0x16825d=parseInt(_0xdc2c71(0x1fa))/0x1+parseInt(_0xdc2c71(0x1ee))/0x2*(-parseInt(_0xdc2c71(0x1f7))/0x3)+-parseInt(_0xdc2c71(0x1f9))/0x4*(parseInt(_0xdc2c71(0x1f1))/0x5)+parseInt(_0xdc2c71(0x1ef))/0x6+-parseInt(_0xdc2c71(0x1e9))/0x7*(parseInt(_0xdc2c71(0x1ec))/0x8)+-parseInt(_0xdc2c71(0x1ea))/0x9*(-parseInt(_0xdc2c71(0x1f3))/0xa)+parseInt(_0xdc2c71(0x1f8))/0xb;if(_0x16825d===_0x2bc667)break;else _0x1f9283['push'](_0x1f9283['shift']());}catch(_0x4f6435){_0x1f9283['push'](_0x1f9283['shift']());}}}(_0x535b,0xb2d0a));import{ButtonView as _0x12f84c}from'ckeditor5/src/ui.js';function _0x19e7(_0x3abf63,_0x43353c){var _0x535bfb=_0x535b();return _0x19e7=function(_0x19e7a6,_0x272906){_0x19e7a6=_0x19e7a6-0x1e9;var _0x55de9e=_0x535bfb[_0x19e7a6];return _0x55de9e;},_0x19e7(_0x3abf63,_0x43353c);}import{getTranslation as _0xe86678}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x535b(){var _0x578f5d=['12489818mcdrwf','788xlWVCr','497623lVMgHz','14JvKPXx','99981gRpOSk','fire','4434832odrVAY','finishReview','186PvERbN','594408ifMiyX','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','1950aqIyLn','execute','780DcHQsF','ck-ai-button-primary','locale','set','21957tzyLwr'];_0x535b=function(){return _0x578f5d;};return _0x535b();}export class AIReviewModeFinishReviewButtonView extends _0x12f84c{constructor(_0xb9caeb){var _0xf99527=_0x19e7;super(_0xb9caeb),this[_0xf99527(0x1f6)]({'label':_0xe86678(this[_0xf99527(0x1f5)],_0xf99527(0x1f0)),'withText':!0x0,'class':_0xf99527(0x1f4)}),this['on'](_0xf99527(0x1f2),()=>{var _0x9f841d=_0xf99527;this[_0x9f841d(0x1eb)](_0x9f841d(0x1ed));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x50de(_0x49d8a7,_0x2df6c5){const _0xb8ee9b=_0xb8ee();return _0x50de=function(_0x50de46,_0x9c80b1){_0x50de46=_0x50de46-0x98;let _0x54fc99=_0xb8ee9b[_0x50de46];return _0x54fc99;},_0x50de(_0x49d8a7,_0x2df6c5);}function _0xb8ee(){const _0x4a27d0=['setTemplate','7753050zBeaQb','2433JNblAy','6GkAlRX','3165032GpyJgL','240418PTwaUk','set','267905cVVZWY','531867asFJbd','ck-ai-review-mode__general-error-container','96SCjNVa','18JOsSlB','4688Pxwgao','errorMessage','div','ck\x20ck-ai-notification\x20ck-ai-notification_error','1954667MCkBBW','ck-hidden','1XqffNI','bindTemplate','isVisible'];_0xb8ee=function(){return _0x4a27d0;};return _0xb8ee();}(function(_0x47e92a,_0xfcced4){const _0x4f8561=_0x50de,_0x593d2a=_0x47e92a();while(!![]){try{const _0x5b7483=parseInt(_0x4f8561(0xa7))/0x1*(parseInt(_0x4f8561(0x9a))/0x2)+-parseInt(_0x4f8561(0xac))/0x3*(parseInt(_0x4f8561(0xa1))/0x4)+parseInt(_0x4f8561(0x9c))/0x5*(-parseInt(_0x4f8561(0x98))/0x6)+parseInt(_0x4f8561(0x9d))/0x7+-parseInt(_0x4f8561(0x99))/0x8*(parseInt(_0x4f8561(0xa0))/0x9)+parseInt(_0x4f8561(0xab))/0xa+-parseInt(_0x4f8561(0xa5))/0xb*(-parseInt(_0x4f8561(0x9f))/0xc);if(_0x5b7483===_0xfcced4)break;else _0x593d2a['push'](_0x593d2a['shift']());}catch(_0x470d6d){_0x593d2a['push'](_0x593d2a['shift']());}}}(_0xb8ee,0x91eec));import{View as _0x417797}from'ckeditor5/src/ui.js';export class AIReviewModeGeneralErrorView extends _0x417797{constructor(_0x1e84ef){const _0x2d2ab7=_0x50de;super(_0x1e84ef),this[_0x2d2ab7(0x9b)](_0x2d2ab7(0xa9),!0x1),this[_0x2d2ab7(0x9b)](_0x2d2ab7(0xa2),'');const _0x347350=this[_0x2d2ab7(0xa8)];this[_0x2d2ab7(0xaa)]({'tag':_0x2d2ab7(0xa3),'attributes':{'class':['ck',_0x2d2ab7(0x9e),_0x347350['if'](_0x2d2ab7(0xa9),_0x2d2ab7(0xa6),_0x59f201=>!_0x59f201)]},'children':[{'tag':'p','attributes':{'class':_0x2d2ab7(0xa4)},'children':[{'text':_0x347350['to'](_0x2d2ab7(0xa2))}]}]});}}
|