@ckeditor/ckeditor5-ai 47.0.0-alpha.3 → 47.0.0-alpha.5
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-editor.css +10 -1
- package/dist/index.css +10 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- 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/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/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/utils/common-translations.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/aireviewmodels.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/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/aireviewmodeformamanager.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/index.js +1 -1
- package/theme/aireviewmode/aireviewmode-check-list.css +10 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x185edd=_0x21dd;(function(_0x38c80f,_0x471104){const _0x2a7d10=_0x21dd,_0x4922b1=_0x38c80f();while(!![]){try{const _0x3f65ea=-parseInt(_0x2a7d10(0xd7))/0x1+-parseInt(_0x2a7d10(0x9f))/0x2+parseInt(_0x2a7d10(0xb3))/0x3*(parseInt(_0x2a7d10(0xc2))/0x4)+parseInt(_0x2a7d10(0x99))/0x5+-parseInt(_0x2a7d10(0xaa))/0x6*(parseInt(_0x2a7d10(0x94))/0x7)+parseInt(_0x2a7d10(0x9b))/0x8*(-parseInt(_0x2a7d10(0x96))/0x9)+parseInt(_0x2a7d10(0xc6))/0xa;if(_0x3f65ea===_0x471104)break;else _0x4922b1['push'](_0x4922b1['shift']());}catch(_0x5b01dd){_0x4922b1['push'](_0x4922b1['shift']());}}}(_0x4220,0x6460c));import{ContextPlugin as _0x203c1e}from'ckeditor5/src/core.js';import{IconAIReview as _0xe0a704}from'ckeditor5/src/icons.js';import{BodyCollection as _0x503350}from'ckeditor5/src/ui.js';import{AITabs as _0x5a32d6}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x5346fe}from'./ui/aireviewmodeview.js';function _0x4220(){const _0x11c4ac=['599822oUDnva','getChangeElement','leaveReviewModeResultList','updateChangeState','acceptAllChanges','init','hideActionsWhenResultIsReady','learnMore','AITabs','_reviewModeView','AIReviewModeUI','4092Yctlgl','showChangeBalloon','showReviewCheckListView','rejected','setTitle','plugins','deactivateChange','addCheckRunResult','hideResult','669dGcYqI','abortReviewStream','showCheckRunResult','getResults','showCheckRunResults','setActiveStateInResults','status','reviewCheckResultsView','showBalloon','attachToDom','setChecks','reviewCheckListView','AI_REVIEW_MODE','finishReview','showNoChangesView','13768ZhfYHZ','_reviewModeBalloonSuggestionItemView','showReviewCompletedView','detachFromDom','13649310VuPrRH','showActionsWhenResultIsReady','isOfficialPlugin','runReviewCheck','locale','showChunkErrorView','retryReview','setItemAsActive','acceptChange','context','accepted','showGeneralErrorView','_bodyCollection','showReviewCheckList','activateChange','error-chunk','hasChecks','487555NPSdOa','setItemAsInactive','error-general','toggleDiff','resetActiveStateInResults','leaveReviewMode','find','view','fire','pluginName','showReviewCheckResultsView','addTab','setAvailableChecks','hideChangeBalloon','destroy','activateTab','delegate','reviewMode','isPremiumPlugin','forEach','5866NTlFBT','setCheckResultTitle','250659VSLZfp','get','hideBalloon','555500VNTPpA','dismissChange','136LWKXbn','requires','element','getReviewCheckList'];_0x4220=function(){return _0x11c4ac;};return _0x4220();}import{getTranslation as _0x35105e}from'../aicore/utils/common-translations.js';function _0x21dd(_0x46c255,_0x209ba7){const _0x42201a=_0x4220();return _0x21dd=function(_0x21dd89,_0x4609d1){_0x21dd89=_0x21dd89-0x8e;let _0x3163a2=_0x42201a[_0x21dd89];return _0x3163a2;},_0x21dd(_0x46c255,_0x209ba7);}import{AIReviewModeBalloonSuggestionItemView as _0xcad3cb}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x185edd(0x9e),_0x185edd(0xc9),_0x185edd(0xb4),_0x185edd(0xda),_0x185edd(0xa3),_0x185edd(0xa1),_0x185edd(0xd4),_0x185edd(0xce),_0x185edd(0x9a),_0x185edd(0xa6),_0x185edd(0xc0),_0x185edd(0xcc)];export class AIReviewModeUI extends _0x203c1e{[_0x185edd(0xa8)];[_0x185edd(0xc3)];[_0x185edd(0xd2)];static get[_0x185edd(0x9c)](){return[_0x5a32d6];}static get[_0x185edd(0xe0)](){const _0xdee1e5=_0x185edd;return _0xdee1e5(0xa9);}static get[_0x185edd(0xc8)](){return!0x0;}static get[_0x185edd(0x92)](){return!0x0;}constructor(_0x245e93){const _0x3de510=_0x185edd;super(_0x245e93),this[_0x3de510(0xd2)]=new _0x503350(this[_0x3de510(0xcf)][_0x3de510(0xca)]),this[_0x3de510(0xd2)][_0x3de510(0xbc)](),this[_0x3de510(0xa8)]=new _0x5346fe(this[_0x3de510(0xcf)][_0x3de510(0xca)]),this[_0x3de510(0xa8)][_0x3de510(0x90)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x3de510(0xc3)]=new _0xcad3cb(this[_0x3de510(0xcf)][_0x3de510(0xca)],this[_0x3de510(0xd2)]),this[_0x3de510(0xc3)][_0x3de510(0x90)](_0x3de510(0xce),_0x3de510(0x9a),_0x3de510(0xb0))['to'](this);}[_0x185edd(0xa4)](){const _0x3b1db7=_0x185edd,_0x5ee87d=this[_0x3b1db7(0xcf)][_0x3b1db7(0xaf)][_0x3b1db7(0x97)](_0x3b1db7(0xa7));_0x5ee87d[_0x3b1db7(0xde)]['on'](_0x3b1db7(0x8f),(_0xa1c596,_0x47a126)=>{const _0x4a22cb=_0x3b1db7;_0x4a22cb(0x91)===_0x47a126?this[_0x4a22cb(0xdf)](_0x4a22cb(0x9e)):this[_0x4a22cb(0xdf)](_0x4a22cb(0xdc));}),_0x5ee87d[_0x3b1db7(0xde)][_0x3b1db7(0xe2)]({'id':_0x3b1db7(0x91),'buttonLabel':_0x35105e(this[_0x3b1db7(0xcf)][_0x3b1db7(0xca)],_0x3b1db7(0xbf)),'buttonIcon':_0xe0a704,'order':0x0,'content':this[_0x3b1db7(0xa8)]});}[_0x185edd(0x8e)](){const _0x43e6ff=_0x185edd;this[_0x43e6ff(0xd2)][_0x43e6ff(0xc5)](),super[_0x43e6ff(0x8e)]();}[_0x185edd(0xe3)](_0x596853){const _0x2d05ce=_0x185edd;this[_0x2d05ce(0xa8)][_0x2d05ce(0xbe)][_0x2d05ce(0xd6)]()||this[_0x2d05ce(0xa8)][_0x2d05ce(0xbe)][_0x2d05ce(0xbd)](_0x596853),this[_0x2d05ce(0xa8)][_0x2d05ce(0xac)]();}[_0x185edd(0xd3)](){const _0x540401=_0x185edd;this[_0x540401(0xdf)](_0x540401(0x9e));}[_0x185edd(0xb7)](_0x46811d){const _0x18fd63=_0x185edd;_0x46811d&&(_0x18fd63(0xd9)!==_0x46811d[_0x18fd63(0xb9)]?_0x18fd63(0xd5)!==_0x46811d[_0x18fd63(0xb9)]?this[_0x18fd63(0xa8)][_0x18fd63(0xe1)]():this[_0x18fd63(0xcb)]():this[_0x18fd63(0xd1)]());}[_0x185edd(0xb5)](_0x405d72){const _0xbafa73=_0x185edd;this[_0xbafa73(0xa8)][_0xbafa73(0xb1)](_0x405d72);}[_0x185edd(0xd1)](){const _0x525bcc=_0x185edd;this[_0x525bcc(0xa8)][_0x525bcc(0xd1)]();}[_0x185edd(0xcb)](){const _0x36ee55=_0x185edd;this[_0x36ee55(0xa8)][_0x36ee55(0xcb)]();}[_0x185edd(0x95)](_0x37512d){const _0x165a53=_0x185edd;this[_0x165a53(0xa8)][_0x165a53(0xba)][_0x165a53(0xae)](_0x37512d);}[_0x185edd(0xb8)](_0x16b35a){const _0x3bdd21=_0x185edd;this[_0x3bdd21(0xa8)][_0x3bdd21(0xba)][_0x3bdd21(0xb6)]()[_0x3bdd21(0x93)](_0x5d1f91=>{const _0x16ea65=_0x3bdd21;_0x5d1f91['id']===_0x16b35a&&_0x5d1f91[_0x16ea65(0xcd)]();});}[_0x185edd(0xdb)](){const _0x2b7d75=_0x185edd;this[_0x2b7d75(0xa8)][_0x2b7d75(0xba)][_0x2b7d75(0xb6)]()[_0x2b7d75(0x93)](_0x5c82cc=>_0x5c82cc[_0x2b7d75(0xd8)]());}[_0x185edd(0xa2)](_0x6af355,_0x3b2722){const _0x2e842d=_0x185edd;_0x2e842d(0xd0)!==_0x3b2722&&_0x2e842d(0xad)!==_0x3b2722||this[_0x2e842d(0xa8)][_0x2e842d(0xba)][_0x2e842d(0xb2)](_0x6af355);}[_0x185edd(0xc4)](){const _0x5b4d20=_0x185edd;this[_0x5b4d20(0xa8)][_0x5b4d20(0xc4)]();}[_0x185edd(0xc7)](){const _0x41cc90=_0x185edd;this[_0x41cc90(0xa8)][_0x41cc90(0xc7)]();}[_0x185edd(0xc1)](){const _0x415def=_0x185edd;this[_0x415def(0xa8)][_0x415def(0xc1)]();}[_0x185edd(0xa5)](){const _0x1845bf=_0x185edd;this[_0x1845bf(0xa8)][_0x1845bf(0xa5)]();}[_0x185edd(0xab)](_0x596264,_0x15cdea){const _0x316b8d=_0x185edd;this[_0x316b8d(0xc3)][_0x316b8d(0xbb)](_0x596264,_0x15cdea);}[_0x185edd(0xe4)](){const _0x14061f=_0x185edd;this[_0x14061f(0xc3)][_0x14061f(0x98)]();}[_0x185edd(0xa0)](_0x810d0e){const _0x4b131d=_0x185edd,_0x590528=this[_0x4b131d(0xa8)][_0x4b131d(0xba)][_0x4b131d(0xb6)]()[_0x4b131d(0xdd)](_0x470f25=>_0x470f25['id']===_0x810d0e);return _0x590528?_0x590528[_0x4b131d(0x9d)]:null;}[_0x185edd(0xb0)](){const _0x4bcbb0=_0x185edd;this[_0x4bcbb0(0xc3)][_0x4bcbb0(0xb0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x17a497=_0x1d13;function _0x4d96(){var _0x511379=['85295MLqUWg','1098628IyNxks','114AWEyzg','6937750YEMPqP','description','title','2502568PSigyp','1751829aBIRit','isParameterized','useArgs','2pnGEWU','options','9qZIlYF','511581pNBWcI','701608FuXacS'];_0x4d96=function(){return _0x511379;};return _0x4d96();}function _0x1d13(_0x131626,_0x116cdc){var _0x4d96d6=_0x4d96();return _0x1d13=function(_0x1d13cb,_0x505e2a){_0x1d13cb=_0x1d13cb-0x113;var _0x155945=_0x4d96d6[_0x1d13cb];return _0x155945;},_0x1d13(_0x131626,_0x116cdc);}(function(_0x1c892f,_0x3fd3d9){var _0x3fd462=_0x1d13,_0x27678f=_0x1c892f();while(!![]){try{var _0x33f03a=-parseInt(_0x3fd462(0x117))/0x1+-parseInt(_0x3fd462(0x113))/0x2*(-parseInt(_0x3fd462(0x11f))/0x3)+-parseInt(_0x3fd462(0x119))/0x4+-parseInt(_0x3fd462(0x118))/0x5*(-parseInt(_0x3fd462(0x11a))/0x6)+parseInt(_0x3fd462(0x116))/0x7+-parseInt(_0x3fd462(0x11e))/0x8*(parseInt(_0x3fd462(0x115))/0x9)+parseInt(_0x3fd462(0x11b))/0xa;if(_0x33f03a===_0x3fd3d9)break;else _0x27678f['push'](_0x27678f['shift']());}catch(_0x31e66d){_0x27678f['push'](_0x27678f['shift']());}}}(_0x4d96,0x5e32c));export class AIReviewCheck{['id'];[_0x17a497(0x11d)];[_0x17a497(0x11c)];[_0x17a497(0x120)];[_0x17a497(0x121)];[_0x17a497(0x114)];constructor({id:_0x56282a,title:_0x1408e4,description:_0x59e3b7,isParameterized:_0x101a30,useArgs:_0x5410a7,options:_0xd2d04f}){var _0x10cadf=_0x17a497;this['id']=_0x56282a,this[_0x10cadf(0x11d)]=_0x1408e4,this[_0x10cadf(0x11c)]=_0x59e3b7,this[_0x10cadf(0x120)]=_0x101a30,this[_0x10cadf(0x121)]=_0x5410a7,this[_0x10cadf(0x114)]=_0xd2d04f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5f213d=_0x427c;(function(_0x1a2444,_0x2b3544){var _0x2e0faa=_0x427c,_0x5485a1=_0x1a2444();while(!![]){try{var _0x59a835=-parseInt(_0x2e0faa(0x175))/0x1+-parseInt(_0x2e0faa(0x178))/0x2*(-parseInt(_0x2e0faa(0x17f))/0x3)+-parseInt(_0x2e0faa(0x177))/0x4*(-parseInt(_0x2e0faa(0x17a))/0x5)+parseInt(_0x2e0faa(0x179))/0x6+-parseInt(_0x2e0faa(0x180))/0x7+-parseInt(_0x2e0faa(0x17d))/0x8*(parseInt(_0x2e0faa(0x174))/0x9)+parseInt(_0x2e0faa(0x17b))/0xa*(parseInt(_0x2e0faa(0x17c))/0xb);if(_0x59a835===_0x2b3544)break;else _0x5485a1['push'](_0x5485a1['shift']());}catch(_0x1b00b9){_0x5485a1['push'](_0x5485a1['shift']());}}}(_0x3229,0xe39b3));import{AIReviewCheck as _0x3ded35}from'./aireviewcheck.js';function _0x427c(_0xe2d88a,_0x3f4073){var _0x322971=_0x3229();return _0x427c=function(_0x427c86,_0x2a335b){_0x427c86=_0x427c86-0x174;var _0x4317cf=_0x322971[_0x427c86];return _0x4317cf;},_0x427c(_0xe2d88a,_0x3f4073);}export class AIReviewCheckCustom extends _0x3ded35{[_0x5f213d(0x17e)]=[];get[_0x5f213d(0x176)](){var _0x1c1132=_0x5f213d;return this[_0x1c1132(0x17e)];}set[_0x5f213d(0x176)](_0xf4f2c7){var _0x197488=_0x5f213d;this[_0x197488(0x17e)]=_0xf4f2c7;}}function _0x3229(){var _0x5382f7=['1492KvaBHD','146678ievqty','10456236OxnTAs','4175gdLYNk','10RmORAZ','31121882EKSBxX','128GvBKXv','_models','15BWxBXM','12480034dPMnCR','938574rxnWqf','866405qgSZYV','models'];_0x3229=function(){return _0x5382f7;};return _0x3229();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2f46(){var _0x5bf90b=['5964115mzWjjP','4553521JwMTgH','6camAlv','26891550QlJuFo','checks','map','getCheckById','709011Bonvak','custom','_checks','_mapCheckDefinitions','4151272JMJvgP','1201637BHUdcM','2FvxqMZ','find','255iXUKgz','39076jvYqEQ'];_0x2f46=function(){return _0x5bf90b;};return _0x2f46();}var _0x47ca01=_0x3985;(function(_0x44f862,_0x381d94){var _0x284810=_0x3985,_0x4ba646=_0x44f862();while(!![]){try{var _0x4d9855=parseInt(_0x284810(0x19c))/0x1*(parseInt(_0x284810(0x19d))/0x2)+-parseInt(_0x284810(0x19f))/0x3*(-parseInt(_0x284810(0x1a0))/0x4)+parseInt(_0x284810(0x1a1))/0x5*(parseInt(_0x284810(0x1a3))/0x6)+parseInt(_0x284810(0x1a2))/0x7+-parseInt(_0x284810(0x19b))/0x8+parseInt(_0x284810(0x197))/0x9+-parseInt(_0x284810(0x1a4))/0xa;if(_0x4d9855===_0x381d94)break;else _0x4ba646['push'](_0x4ba646['shift']());}catch(_0x1e3fa2){_0x4ba646['push'](_0x4ba646['shift']());}}}(_0x2f46,0xb623b));import{ObservableMixin as _0x46ddc3}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x35b480}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x1b8ed7}from'./aireviewcheckcustom.js';function _0x3985(_0x224e72,_0x5119bb){var _0x2f4600=_0x2f46();return _0x3985=function(_0x398514,_0x21b3aa){_0x398514=_0x398514-0x195;var _0x589095=_0x2f4600[_0x398514];return _0x589095;},_0x3985(_0x224e72,_0x5119bb);}export class AIReviewCheckList extends _0x46ddc3(){[_0x47ca01(0x199)];constructor(_0x34c11c){var _0x33570c=_0x47ca01;super(),this[_0x33570c(0x199)]=this[_0x33570c(0x19a)](_0x34c11c);}get[_0x47ca01(0x1a5)](){var _0x12a4bd=_0x47ca01;return this[_0x12a4bd(0x199)];}[_0x47ca01(0x196)](_0x3421c2){var _0x4369a9=_0x47ca01;return this[_0x4369a9(0x1a5)][_0x4369a9(0x19e)](_0x2f0944=>_0x2f0944['id']===_0x3421c2);}[_0x47ca01(0x19a)](_0x354744){var _0x3121d9=_0x47ca01;return _0x354744[_0x3121d9(0x195)](_0x598d26=>_0x3121d9(0x198)===_0x598d26['id']?new _0x1b8ed7(_0x598d26):new _0x35b480(_0x598d26));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xdeb5(){var _0x4fc736=['481924kmnRSR','documentVersion','1466638aDjFtE','4118420AJiEen','contentNew','6BXpaHW','561108JhdZCy','562611dqNPRG','contentInitial','137235hoXbwz','8639320QMPcOE'];_0xdeb5=function(){return _0x4fc736;};return _0xdeb5();}var _0xf9b482=_0x5e73;function _0x5e73(_0xea85c6,_0x5ea739){var _0xdeb5eb=_0xdeb5();return _0x5e73=function(_0x5e73cb,_0x249475){_0x5e73cb=_0x5e73cb-0x71;var _0x5c9c8f=_0xdeb5eb[_0x5e73cb];return _0x5c9c8f;},_0x5e73(_0xea85c6,_0x5ea739);}(function(_0x2e37f0,_0x6d9ee1){var _0x3805b9=_0x5e73,_0x5895e7=_0x2e37f0();while(!![]){try{var _0x1c5418=-parseInt(_0x3805b9(0x78))/0x1+parseInt(_0x3805b9(0x74))/0x2+-parseInt(_0x3805b9(0x7b))/0x3+parseInt(_0x3805b9(0x72))/0x4+parseInt(_0x3805b9(0x75))/0x5*(-parseInt(_0x3805b9(0x77))/0x6)+-parseInt(_0x3805b9(0x79))/0x7+parseInt(_0x3805b9(0x71))/0x8;if(_0x1c5418===_0x6d9ee1)break;else _0x5895e7['push'](_0x5895e7['shift']());}catch(_0x4d9620){_0x5895e7['push'](_0x5895e7['shift']());}}}(_0xdeb5,0x67395));import{EmitterMixin as _0x4a2adc}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x4a2adc(){['id'];[_0xf9b482(0x76)];[_0xf9b482(0x7a)];[_0xf9b482(0x73)];constructor({id:_0x1cd573,contentNew:_0x179200,contentInitial:_0x3615e3,documentVersion:_0x5b584d}){var _0x4cd3c0=_0xf9b482;super(),this['id']=_0x1cd573,this[_0x4cd3c0(0x76)]=_0x179200,this[_0x4cd3c0(0x7a)]=_0x3615e3,this[_0x4cd3c0(0x73)]=_0x5b584d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1894ad=_0x176d;(function(_0x44c3b5,_0x3b8fee){var _0x3ced29=_0x176d,_0x46ddc3=_0x44c3b5();while(!![]){try{var _0x58d650=-parseInt(_0x3ced29(0x17c))/0x1+-parseInt(_0x3ced29(0x18d))/0x2+-parseInt(_0x3ced29(0x187))/0x3*(-parseInt(_0x3ced29(0x18b))/0x4)+-parseInt(_0x3ced29(0x18f))/0x5*(-parseInt(_0x3ced29(0x17f))/0x6)+-parseInt(_0x3ced29(0x189))/0x7*(parseInt(_0x3ced29(0x190))/0x8)+-parseInt(_0x3ced29(0x192))/0x9*(-parseInt(_0x3ced29(0x180))/0xa)+parseInt(_0x3ced29(0x181))/0xb*(-parseInt(_0x3ced29(0x17e))/0xc);if(_0x58d650===_0x3b8fee)break;else _0x46ddc3['push'](_0x46ddc3['shift']());}catch(_0x360016){_0x46ddc3['push'](_0x46ddc3['shift']());}}}(_0x1f96,0x8a4c2));import{ObservableMixin as _0x1993c8}from'ckeditor5/src/utils.js';function _0x176d(_0x9b1eda,_0xa26db0){var _0x1f96ee=_0x1f96();return _0x176d=function(_0x176dbe,_0x45b6d5){_0x176dbe=_0x176dbe-0x17c;var _0x269d3a=_0x1f96ee[_0x176dbe];return _0x269d3a;},_0x176d(_0x9b1eda,_0xa26db0);}function _0x1f96(){var _0x349262=['_editorOperations','1477GhtIqg','isActivated','8QRfPqz','_data','237858QoEvKn','operationsIsolated','10kXGbzf','17160ahSpZJ','operations','1206GUPHwY','492398PdksML','set','12VYGKNU','3123978OghCgh','55180pRGlIu','7523032vWFtDf','context','contentDiffed','status','active','parent','800343ygWCQT'];_0x1f96=function(){return _0x349262;};return _0x1f96();}export class AIReviewCheckResultChange extends _0x1993c8(){['id'];[_0x1894ad(0x186)];[_0x1894ad(0x18c)];[_0x1894ad(0x188)]=[];constructor(_0x55e8bc,_0xfa54c4,_0x4a7c24){var _0x7687e1=_0x1894ad;super(),this['id']=_0x55e8bc,this[_0x7687e1(0x186)]=_0x4a7c24,this[_0x7687e1(0x18c)]=_0xfa54c4,this[_0x7687e1(0x17d)](_0x7687e1(0x18a),!0x1),this[_0x7687e1(0x17d)](_0x7687e1(0x184),_0x7687e1(0x185));}get[_0x1894ad(0x183)](){var _0x16145f=_0x1894ad;return this[_0x16145f(0x18c)][_0x16145f(0x182)]();}get[_0x1894ad(0x191)](){var _0x1b9c18=_0x1894ad;return this[_0x1b9c18(0x18c)][_0x1b9c18(0x191)];}get[_0x1894ad(0x18e)](){var _0x268a0f=_0x1894ad;return this[_0x268a0f(0x18c)][_0x268a0f(0x18e)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x278339=_0x1773;function _0x1773(_0x1ad13d,_0x2075be){const _0xc4337c=_0xc433();return _0x1773=function(_0x1773e5,_0x52254a){_0x1773e5=_0x1773e5-0x1e2;let _0xe92e18=_0xc4337c[_0x1773e5];return _0xe92e18;},_0x1773(_0x1ad13d,_0x2075be);}(function(_0x5279f3,_0x428b63){const _0x41f928=_0x1773,_0x1a755c=_0x5279f3();while(!![]){try{const _0x82517c=parseInt(_0x41f928(0x1fb))/0x1+-parseInt(_0x41f928(0x218))/0x2+-parseInt(_0x41f928(0x20a))/0x3*(-parseInt(_0x41f928(0x1ef))/0x4)+parseInt(_0x41f928(0x1eb))/0x5+-parseInt(_0x41f928(0x1fa))/0x6*(parseInt(_0x41f928(0x1ec))/0x7)+-parseInt(_0x41f928(0x1e3))/0x8*(parseInt(_0x41f928(0x1e7))/0x9)+parseInt(_0x41f928(0x213))/0xa*(parseInt(_0x41f928(0x21d))/0xb);if(_0x82517c===_0x428b63)break;else _0x1a755c['push'](_0x1a755c['shift']());}catch(_0x5299d5){_0x1a755c['push'](_0x1a755c['shift']());}}}(_0xc433,0xd145a));import{ObservableMixin as _0x19912d,uid as _0x297d31}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x31997c}from'./aireviewcheckresult.js';function _0xc433(){const _0x115110=['forEach','push','_reviewParams','data','rejected','_aiConnector','change:status','_reviewArgs','getStream','activateChange','markChangeAsRejected','change:isActivated','dataId','1903624pauugg','error','reviewCheckResultRejected','operation','27GLeJOI','accepted','_activeRequest','_createApiRequest','4304580usGNsR','54971bPOSzI','filter','abortController','248PqqpPt','get','length','forceReadyState','find','finished','active','_documentData','error-chunk','addResultChanges','aborted','822KBCNkS','918504TVAPBW','elements','_results','size','reviewCheckResultAdded','_sourceCheck','includes','reviewCheckRunUpdated','_checkIfFinished','Not\x20implemented.','isChangeActive','_changes','restart','title','set','15666VVCnJA','documentData','markAllChangesAsAccepted','error-general','_addReviewCheckResult','getActiveChanges','reviewCheckResultAccepted','deactivateChange','markChangeAsAccepted','30TDdTeJ','reviewCheckResultReady','textDelta','clear','status','1205958gSLdIy','getContent','reviewCheckResultActivated','isActivated','reviewCheckResultDeactivated','4204541nEbpPV','ready','start','abort','initialized','loading','_currentError','version','unmodified','fire','message','processedResultsCount','ai-request-aborted'];_0xc433=function(){return _0x115110;};return _0xc433();}import{AIReviewCheckResultChange as _0x2f487d}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x19912d(){['id']=_0x297d31();[_0x278339(0x1fd)]=new Map();[_0x278339(0x206)]=[];[_0x278339(0x1f6)];[_0x278339(0x200)];[_0x278339(0x22f)];[_0x278339(0x22c)];[_0x278339(0x231)];[_0x278339(0x1e9)]=null;[_0x278339(0x223)];constructor(_0x760269,_0x20e5d1,_0x14afa8,_0x55e72e,_0x1cade8){const _0x102c25=_0x278339;super(),this[_0x102c25(0x1f6)]=_0x760269,this[_0x102c25(0x200)]=_0x20e5d1,this[_0x102c25(0x22f)]=_0x14afa8,this[_0x102c25(0x22c)]=_0x55e72e,this[_0x102c25(0x231)]=_0x1cade8,this['on'](_0x102c25(0x230),(_0x34fc09,_0xce93ec,_0x499f4b)=>{const _0x85f60e=_0x102c25;this[_0x85f60e(0x226)](_0x85f60e(0x202),{'status':_0x499f4b,'run':this,'error':this[_0x85f60e(0x223)]});}),this[_0x102c25(0x209)](_0x102c25(0x217),_0x102c25(0x221));}get[_0x278339(0x20b)](){const _0x293587=_0x278339;return this[_0x293587(0x1f6)];}get[_0x278339(0x228)](){const _0x553eb2=_0x278339;return this[_0x553eb2(0x1fd)][_0x553eb2(0x1fe)];}get[_0x278339(0x208)](){const _0x12e770=_0x278339;return this[_0x12e770(0x200)][_0x12e770(0x208)];}async[_0x278339(0x21f)](){const _0x61b67=_0x278339;this[_0x61b67(0x217)]=_0x61b67(0x222),this[_0x61b67(0x223)]=void 0x0;try{this[_0x61b67(0x1e9)]=this[_0x61b67(0x1ea)]();const _0x44c5d0=await this[_0x61b67(0x1e9)][_0x61b67(0x232)]();this[_0x61b67(0x217)]=_0x61b67(0x22d);for await(const _0x39af4d of _0x44c5d0)_0x61b67(0x225)!==_0x39af4d[_0x61b67(0x22d)][_0x61b67(0x1e6)]&&(_0x61b67(0x1e4)!==_0x39af4d[_0x61b67(0x22d)][_0x61b67(0x1e6)]?this[_0x61b67(0x20e)](_0x39af4d[_0x61b67(0x22d)][_0x61b67(0x1e2)],_0x39af4d[_0x61b67(0x22d)][_0x61b67(0x215)]):this[_0x61b67(0x217)]=_0x61b67(0x1f7));_0x61b67(0x1f7)!==this[_0x61b67(0x217)]&&(0x0===this[_0x61b67(0x1fd)][_0x61b67(0x1fe)]?this[_0x61b67(0x217)]=_0x61b67(0x225):this[_0x61b67(0x217)]=_0x61b67(0x21e));}catch(_0x4b67d6){this[_0x61b67(0x223)]=_0x4b67d6,_0x4b67d6 instanceof Error&&_0x4b67d6[_0x61b67(0x227)][_0x61b67(0x201)](_0x61b67(0x229))?this[_0x61b67(0x217)]=_0x61b67(0x1f9):this[_0x61b67(0x217)]=_0x61b67(0x20d);}finally{this[_0x61b67(0x1e9)]=null;}}async[_0x278339(0x207)](){const _0x26b08a=_0x278339;this[_0x26b08a(0x1fd)][_0x26b08a(0x216)](),this[_0x26b08a(0x206)][_0x26b08a(0x1f1)]=0x0,this[_0x26b08a(0x223)]=void 0x0,await this[_0x26b08a(0x21f)]();}[_0x278339(0x1f8)](_0x34802f,_0x5b4c6d){const _0x1674a8=_0x278339,_0x2b964a=this[_0x1674a8(0x1fd)][_0x1674a8(0x1f0)](_0x34802f);if(!_0x2b964a)return;const _0x42bc14=[];_0x5b4c6d[_0x1674a8(0x22a)]((_0x11f1fa,_0x5eb950)=>{const _0x2dd89b=_0x1674a8,_0x56c6cb=new _0x2f487d(_0x2b964a['id']+'-'+_0x5eb950,_0x11f1fa,_0x2b964a);_0x56c6cb['on'](_0x2dd89b(0x230),()=>{const _0x312101=_0x2dd89b;_0x312101(0x1e8)===_0x56c6cb[_0x312101(0x217)]?this[_0x312101(0x226)](_0x312101(0x210),{'change':_0x56c6cb}):_0x312101(0x22e)===_0x56c6cb[_0x312101(0x217)]&&this[_0x312101(0x226)](_0x312101(0x1e5),{'change':_0x56c6cb});}),_0x56c6cb['on'](_0x2dd89b(0x235),()=>{const _0x2471f=_0x2dd89b;_0x56c6cb[_0x2471f(0x21b)]?this[_0x2471f(0x226)](_0x2471f(0x21a),{'change':_0x56c6cb}):this[_0x2471f(0x226)](_0x2471f(0x21c),{'change':_0x56c6cb});}),this[_0x2dd89b(0x206)][_0x2dd89b(0x22b)](_0x56c6cb),_0x42bc14[_0x2dd89b(0x22b)](_0x56c6cb);}),this[_0x1674a8(0x226)](_0x1674a8(0x214),{'changes':_0x42bc14,'result':_0x2b964a,'source':this});}[_0x278339(0x220)](){const _0x28f56c=_0x278339;this[_0x28f56c(0x1e9)]&&(this[_0x28f56c(0x1e9)][_0x28f56c(0x1ee)][_0x28f56c(0x220)](),this[_0x28f56c(0x1e9)]=null,this[_0x28f56c(0x217)]=_0x28f56c(0x1f9));}[_0x278339(0x205)](_0x925088){const _0x4609c8=_0x278339,_0x76e32f=this[_0x4609c8(0x206)][_0x4609c8(0x1f3)](_0x2dcdd9=>_0x2dcdd9['id']===_0x925088);return!(!_0x76e32f||_0x4609c8(0x1f5)!==_0x76e32f[_0x4609c8(0x217)]);}[_0x278339(0x20f)](){const _0x669ac2=_0x278339;return this[_0x669ac2(0x206)][_0x669ac2(0x1ed)](_0x5e88e1=>_0x669ac2(0x1f5)===_0x5e88e1[_0x669ac2(0x217)]);}[_0x278339(0x20c)](){const _0x5d39a3=_0x278339;for(const _0x11849d of this[_0x5d39a3(0x206)])_0x5d39a3(0x1f5)===_0x11849d[_0x5d39a3(0x217)]&&(_0x11849d[_0x5d39a3(0x217)]=_0x5d39a3(0x1e8));this[_0x5d39a3(0x203)]();}[_0x278339(0x212)](_0x1537de){const _0x1201b6=_0x278339,_0x11040b=this[_0x1201b6(0x206)][_0x1201b6(0x1f3)](_0x326a6d=>_0x326a6d['id']===_0x1537de);_0x11040b&&_0x1201b6(0x1f5)===_0x11040b[_0x1201b6(0x217)]&&(_0x11040b[_0x1201b6(0x217)]=_0x1201b6(0x1e8)),this[_0x1201b6(0x203)]();}[_0x278339(0x234)](_0xf50de4){const _0x146e89=_0x278339,_0x24b89a=this[_0x146e89(0x206)][_0x146e89(0x1f3)](_0x3b760a=>_0x3b760a['id']===_0xf50de4);_0x24b89a&&_0x146e89(0x1f5)===_0x24b89a[_0x146e89(0x217)]&&(_0x24b89a[_0x146e89(0x217)]=_0x146e89(0x22e)),this[_0x146e89(0x203)]();}[_0x278339(0x233)](_0xd2a7bf){const _0x3b914f=_0x278339;this[_0x3b914f(0x206)][_0x3b914f(0x1ed)](_0x410c13=>_0x410c13[_0x3b914f(0x21b)]&&_0x410c13['id']!==_0xd2a7bf)[_0x3b914f(0x22a)](_0x168e08=>{const _0x574f34=_0x3b914f;_0x168e08[_0x574f34(0x21b)]=!0x1;});const _0x485460=this[_0x3b914f(0x206)][_0x3b914f(0x1f3)](_0x3a1c47=>_0x3a1c47['id']===_0xd2a7bf);_0x485460&&(_0x485460[_0x3b914f(0x21b)]=!0x0);}[_0x278339(0x211)](){const _0x42903e=_0x278339;this[_0x42903e(0x206)][_0x42903e(0x1ed)](_0x7b274f=>_0x7b274f[_0x42903e(0x21b)])[_0x42903e(0x22a)](_0x2c2645=>{const _0x27de2f=_0x42903e;_0x2c2645[_0x27de2f(0x21b)]=!0x1;});}[_0x278339(0x1f2)](){const _0x8f9be1=_0x278339;this[_0x8f9be1(0x217)]=_0x8f9be1(0x21e);}[_0x278339(0x20e)](_0x3f34d3,_0x18b77d){const _0x1098e8=_0x278339,_0x1a429e=this[_0x1098e8(0x1f6)][_0x1098e8(0x1fc)][_0x1098e8(0x1f0)](_0x3f34d3);if(!_0x1a429e)return;const _0x3d90fe=_0x1a429e[_0x1098e8(0x219)]();if(_0x3d90fe===_0x18b77d)return;const _0x5dfc64=new _0x31997c({'id':_0x3f34d3,'contentInitial':_0x3d90fe,'contentNew':_0x18b77d,'documentVersion':this[_0x1098e8(0x1f6)][_0x1098e8(0x224)]});this[_0x1098e8(0x1fd)][_0x1098e8(0x209)](_0x5dfc64['id'],_0x5dfc64),this[_0x1098e8(0x226)](_0x1098e8(0x1ff),{'result':_0x5dfc64,'source':this});}[_0x278339(0x203)](){const _0x46905e=_0x278339;if(_0x46905e(0x21e)!==this[_0x46905e(0x217)])return;0x0===this[_0x46905e(0x206)][_0x46905e(0x1ed)](_0x1e83e2=>_0x46905e(0x1f5)===_0x1e83e2[_0x46905e(0x217)])[_0x46905e(0x1f1)]&&(this[_0x46905e(0x217)]=_0x46905e(0x1f4));}[_0x278339(0x1ea)](){const _0x34270e=_0x278339;throw new Error(_0x34270e(0x204));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2504(_0x5dea5b,_0x115e9c){var _0xa6b5a3=_0xa6b5();return _0x2504=function(_0x2504e9,_0x4c23ff){_0x2504e9=_0x2504e9-0xf6;var _0x394dbd=_0xa6b5a3[_0x2504e9];return _0x394dbd;},_0x2504(_0x5dea5b,_0x115e9c);}var _0x1cf50c=_0x2504;(function(_0x59c9b1,_0x33a89e){var _0x1389c3=_0x2504,_0x4acd77=_0x59c9b1();while(!![]){try{var _0x50c3c7=parseInt(_0x1389c3(0xfe))/0x1*(-parseInt(_0x1389c3(0xf8))/0x2)+-parseInt(_0x1389c3(0x107))/0x3*(-parseInt(_0x1389c3(0xf9))/0x4)+parseInt(_0x1389c3(0x106))/0x5*(parseInt(_0x1389c3(0x103))/0x6)+parseInt(_0x1389c3(0xff))/0x7+parseInt(_0x1389c3(0xfc))/0x8+parseInt(_0x1389c3(0x105))/0x9+-parseInt(_0x1389c3(0x100))/0xa;if(_0x50c3c7===_0x33a89e)break;else _0x4acd77['push'](_0x4acd77['shift']());}catch(_0x117018){_0x4acd77['push'](_0x4acd77['shift']());}}}(_0xa6b5,0xf387e));function _0xa6b5(){var _0x79a818=['4ogKUxB','_model','_aiConnector','7378824drEAoY','_documentData','27234gjBWrH','8599640DDEhyV','24215870GQHOdW','callCustomReview','_createApiRequest','495024WaVFqq','content','8162118RFaBpy','25QmDMIO','4176588mivAHp','title','_prompt','106NyDlcR'];_0xa6b5=function(){return _0x79a818;};return _0xa6b5();}import{AIReviewCheckRun as _0x1b034c}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x1b034c{[_0x1cf50c(0xf7)];[_0x1cf50c(0xfa)];constructor(_0x1ae990,_0x59427e,_0x334a46,_0x2962ee,_0x29941c){var _0x49107d=_0x1cf50c;super(_0x334a46,_0x2962ee,_0x29941c),this[_0x49107d(0xf7)]=_0x1ae990,this[_0x49107d(0xfa)]=_0x59427e;}get[_0x1cf50c(0xf6)](){var _0x3e5666=_0x1cf50c;return this[_0x3e5666(0xf7)];}[_0x1cf50c(0x102)](){var _0x553678=_0x1cf50c;return this[_0x553678(0xfb)][_0x553678(0x101)]({'content':this[_0x553678(0xfd)][_0x553678(0x104)],'prompt':this[_0x553678(0xf7)],'model':this[_0x553678(0xfa)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xd1fd88=_0x401b;function _0x5a32(){const _0x35ed63=['836453uojPzb','_modelList','1944691MLMKHY','1438720KFkWAG','18DQowTI','getAll','items','_connector','list','getModels','3657432WTBKby','length','16hrZosM','40dsJkPP','502696pajvdL','2119608hnbCuN','585261jPfDmS'];_0x5a32=function(){return _0x35ed63;};return _0x5a32();}function _0x401b(_0x39517c,_0xf3be60){const _0x5a3274=_0x5a32();return _0x401b=function(_0x401b5c,_0x24656e){_0x401b5c=_0x401b5c-0x1d8;let _0x51b723=_0x5a3274[_0x401b5c];return _0x51b723;},_0x401b(_0x39517c,_0xf3be60);}(function(_0xfdf0df,_0x2285ac){const _0x2682b3=_0x401b,_0xde06bd=_0xfdf0df();while(!![]){try{const _0x4fcf29=parseInt(_0x2682b3(0x1e6))/0x1+parseInt(_0x2682b3(0x1e3))/0x2+parseInt(_0x2682b3(0x1e5))/0x3*(parseInt(_0x2682b3(0x1e1))/0x4)+parseInt(_0x2682b3(0x1d8))/0x5+parseInt(_0x2682b3(0x1d9))/0x6*(-parseInt(_0x2682b3(0x1e8))/0x7)+parseInt(_0x2682b3(0x1df))/0x8+-parseInt(_0x2682b3(0x1e4))/0x9*(parseInt(_0x2682b3(0x1e2))/0xa);if(_0x4fcf29===_0x2285ac)break;else _0xde06bd['push'](_0xde06bd['shift']());}catch(_0x48134b){_0xde06bd['push'](_0xde06bd['shift']());}}}(_0x5a32,0xcc7d1));import{EmitterMixin as _0x446afd}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x446afd(){[_0xd1fd88(0x1e7)]=[];[_0xd1fd88(0x1dc)];constructor({connector:_0x346d2f}){const _0x285528=_0xd1fd88;super(),this[_0x285528(0x1dc)]=_0x346d2f;}async[_0xd1fd88(0x1da)](){const _0x36280c=_0xd1fd88;if(!this[_0x36280c(0x1e7)][_0x36280c(0x1e0)])try{const _0x47d901=this[_0x36280c(0x1dc)][_0x36280c(0x1de)](),_0x46a046=await _0x47d901[_0x36280c(0x1dd)]();this[_0x36280c(0x1e7)]=_0x46a046[_0x36280c(0x1db)];}catch{}return this[_0x36280c(0x1e7)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4dd133=_0x3f74;function _0x3f74(_0x34cf67,_0x3066fa){const _0x5ef5eb=_0x5ef5();return _0x3f74=function(_0x3f7460,_0x2530c5){_0x3f7460=_0x3f7460-0x18f;let _0x1647ec=_0x5ef5eb[_0x3f7460];return _0x1647ec;},_0x3f74(_0x34cf67,_0x3066fa);}(function(_0x288698,_0x34beef){const _0x10be01=_0x3f74,_0x4d8511=_0x288698();while(!![]){try{const _0x58f233=-parseInt(_0x10be01(0x1a1))/0x1*(parseInt(_0x10be01(0x18f))/0x2)+-parseInt(_0x10be01(0x19a))/0x3*(parseInt(_0x10be01(0x1aa))/0x4)+-parseInt(_0x10be01(0x19c))/0x5*(-parseInt(_0x10be01(0x195))/0x6)+parseInt(_0x10be01(0x190))/0x7*(parseInt(_0x10be01(0x1a5))/0x8)+parseInt(_0x10be01(0x196))/0x9*(parseInt(_0x10be01(0x1a2))/0xa)+parseInt(_0x10be01(0x1ac))/0xb+-parseInt(_0x10be01(0x19f))/0xc*(-parseInt(_0x10be01(0x1a0))/0xd);if(_0x58f233===_0x34beef)break;else _0x4d8511['push'](_0x4d8511['shift']());}catch(_0x498084){_0x4d8511['push'](_0x4d8511['shift']());}}}(_0x5ef5,0x5ed2e));function _0x5ef5(){const _0x18fd44=['13YvBrCS','1MFrzsw','63230nxaIUR','_reviewParams','label','2765384eByZhs','_createApiRequest','length','push','join','316FOaJHY','find','413666InDGND','callSystemReview','814826csXwrS','7sDlPvT','options','_reviewArgs','title','_sourceCheck','1443048dQZjEH','774JCrLcI','_documentData','_composeReviewName','data','21954ggyaSR','_aiConnector','5lkZzPx','content','useArgs','2476416dtbxwk'];_0x5ef5=function(){return _0x18fd44;};return _0x5ef5();}import{AIReviewCheckRun as _0xcba758}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0xcba758{get[_0x4dd133(0x193)](){const _0x5d1041=_0x4dd133;if(!this[_0x5d1041(0x1a3)]||0x0===this[_0x5d1041(0x1a3)][_0x5d1041(0x1a7)]||this[_0x5d1041(0x194)][_0x5d1041(0x19e)])return this[_0x5d1041(0x194)][_0x5d1041(0x193)];const _0x3f3ab0=[];if(this[_0x5d1041(0x1a3)][_0x5d1041(0x1a7)]>0x0&&this[_0x5d1041(0x194)][_0x5d1041(0x191)])for(let _0x3deca4=0x0;_0x3deca4<this[_0x5d1041(0x1a3)][_0x5d1041(0x1a7)];_0x3deca4++){if(!this[_0x5d1041(0x1a3)][_0x3deca4]||!this[_0x5d1041(0x194)][_0x5d1041(0x191)][_0x3deca4])continue;const _0x11b507=this[_0x5d1041(0x194)][_0x5d1041(0x191)][_0x3deca4],_0x4854b2=_0x11b507[_0x5d1041(0x199)]?.[_0x5d1041(0x1ab)](_0xed3022=>_0xed3022['id']===this[_0x5d1041(0x1a3)][_0x3deca4]);_0x4854b2&&_0x3f3ab0[_0x5d1041(0x1a8)](_0x4854b2[_0x5d1041(0x1a4)]);}return this[_0x5d1041(0x194)][_0x5d1041(0x193)]+':\x20'+_0x3f3ab0[_0x5d1041(0x1a9)](',\x20');}[_0x4dd133(0x1a6)](){const _0x13070c=_0x4dd133;return this[_0x13070c(0x19b)][_0x13070c(0x1ad)]({'reviewName':this[_0x13070c(0x198)](),'content':this[_0x13070c(0x197)][_0x13070c(0x19d)],'args':this[_0x13070c(0x192)]});}[_0x4dd133(0x198)](){const _0x458dc7=_0x4dd133;return!this[_0x458dc7(0x1a3)]||0x0===this[_0x458dc7(0x1a3)][_0x458dc7(0x1a7)]||this[_0x458dc7(0x194)][_0x458dc7(0x19e)]?this[_0x458dc7(0x194)]['id']:[this[_0x458dc7(0x194)]['id'],...this[_0x458dc7(0x1a3)]][_0x458dc7(0x1a9)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2ab9de=_0x1a14;(function(_0x29e99f,_0x3a9f2b){var _0x5bc614=_0x1a14,_0x1fa520=_0x29e99f();while(!![]){try{var _0x2d9f7c=parseInt(_0x5bc614(0x17b))/0x1+-parseInt(_0x5bc614(0x182))/0x2*(-parseInt(_0x5bc614(0x180))/0x3)+-parseInt(_0x5bc614(0x17c))/0x4*(-parseInt(_0x5bc614(0x174))/0x5)+-parseInt(_0x5bc614(0x184))/0x6*(parseInt(_0x5bc614(0x186))/0x7)+parseInt(_0x5bc614(0x175))/0x8+parseInt(_0x5bc614(0x18a))/0x9+-parseInt(_0x5bc614(0x173))/0xa*(parseInt(_0x5bc614(0x17f))/0xb);if(_0x2d9f7c===_0x3a9f2b)break;else _0x1fa520['push'](_0x1fa520['shift']());}catch(_0x51aa9b){_0x1fa520['push'](_0x1fa520['shift']());}}}(_0x460f,0x9e6e1));function _0x460f(){var _0x168f86=['set','671PlPtvT','495507MkGrPT','trim','14kfDKpI','ai-review-mode-prompt-input','450126KfABif','isEmpty','119CHEfNY','element','render','ck-review-mode__prompt-input','11002284RiuzfF','bindTemplate','update','maxRows','MAX_ROWS','placeholder','472510pRukdu','2603885nWTgTr','7000584QWwyrH','value','setPlaceholderText','minRows','extendTemplate','stopPropagation','1032088sIPGQH','4ygpDsm','MIN_ROWS'];_0x460f=function(){return _0x168f86;};return _0x460f();}function _0x1a14(_0x457057,_0x682c15){var _0x460f8c=_0x460f();return _0x1a14=function(_0x1a14cc,_0x24c119){_0x1a14cc=_0x1a14cc-0x16e;var _0x4d1269=_0x460f8c[_0x1a14cc];return _0x4d1269;},_0x1a14(_0x457057,_0x682c15);}import{TextareaView as _0x5dd43e}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x5dd43e{static [_0x2ab9de(0x17d)]=0x1;static [_0x2ab9de(0x171)]=0xc;constructor(_0x15e028){var _0x3dbc49=_0x2ab9de;super(_0x15e028),this[_0x3dbc49(0x17e)](_0x3dbc49(0x185),!0x0),this[_0x3dbc49(0x178)]=AIReviewModePromptInputView[_0x3dbc49(0x17d)],this[_0x3dbc49(0x170)]=AIReviewModePromptInputView[_0x3dbc49(0x171)],this[_0x3dbc49(0x179)]({'attributes':{'id':_0x3dbc49(0x183),'class':['ck',_0x3dbc49(0x189)]}}),this[_0x3dbc49(0x179)]({'on':{'click':this[_0x3dbc49(0x16e)]['to'](_0x5e2a06=>{var _0x164157=_0x3dbc49;_0x5e2a06[_0x164157(0x17a)]();})}});}[_0x2ab9de(0x188)](){var _0x123da8=_0x2ab9de;super[_0x123da8(0x188)](),this['on'](_0x123da8(0x16f),()=>{var _0x3de97a=_0x123da8;this[_0x3de97a(0x185)]=''===this[_0x3de97a(0x187)][_0x3de97a(0x176)]?.[_0x3de97a(0x181)]();});}[_0x2ab9de(0x177)](_0x1849ce){var _0xbbcde4=_0x2ab9de;this[_0xbbcde4(0x17e)](_0xbbcde4(0x172),_0x1849ce);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1090(){const _0x5e412a=['hideBalloon','resultItemView','set','unpin','content','delegate','3656tuGsIU','3205695lsokZJ','resultResponseView','innerHTML','fire','contentDiffed','2020944JohZzq','38773xtEYAk','ck-ai-review-mode__suggestion-text','add','dismissChange','changeId','483384eUEQov','show','hide','extendTemplate','setTemplate','ck-ai-review-mode-balloon-panel-suggestion','deactivateChange','element','div','showBalloon','_createContentView','630995jsQgLb','ck-content','isVisible','ck-reset','updateContent','locale','9089616UHfffL','pin','63795iZYjbb','acceptChange'];_0x1090=function(){return _0x5e412a;};return _0x1090();}const _0x3d45ca=_0xc63d;(function(_0x4767a4,_0x22cf90){const _0x4354ca=_0xc63d,_0x255946=_0x4767a4();while(!![]){try{const _0x41a7d9=parseInt(_0x4354ca(0xd2))/0x1+parseInt(_0x4354ca(0xe0))/0x2+parseInt(_0x4354ca(0xdb))/0x3+-parseInt(_0x4354ca(0xbf))/0x4+-parseInt(_0x4354ca(0xca))/0x5+parseInt(_0x4354ca(0xd0))/0x6+-parseInt(_0x4354ca(0xe1))/0x7*(parseInt(_0x4354ca(0xda))/0x8);if(_0x41a7d9===_0x22cf90)break;else _0x255946['push'](_0x255946['shift']());}catch(_0xd46f93){_0x255946['push'](_0x255946['shift']());}}}(_0x1090,0xd6b28));function _0xc63d(_0x383fb9,_0x2adeb6){const _0x1090cc=_0x1090();return _0xc63d=function(_0xc63d13,_0x40e0bf){_0xc63d13=_0xc63d13-0xbf;let _0x251407=_0x1090cc[_0xc63d13];return _0x251407;},_0xc63d(_0x383fb9,_0x2adeb6);}import{BalloonPanelView as _0x32ec09,View as _0x2d7012,clickOutsideHandler as _0x1e4338}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x1663a9}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x32ec09{[_0x3d45ca(0xd5)];constructor(_0x5582b9,_0x1acfde){const _0x43df24=_0x3d45ca;super(_0x5582b9),this[_0x43df24(0xd6)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0x43df24(0xc2)]({'tag':_0x43df24(0xc7),'attributes':{'class':[_0x43df24(0xcd)],'tabindex':'-1'}}),this[_0x43df24(0xd8)][_0x43df24(0xe3)](this[_0x43df24(0xc9)]()),_0x1acfde[_0x43df24(0xe3)](this),_0x1e4338({'emitter':this,'activator':()=>this[_0x43df24(0xcc)],'contextElements':[this[_0x43df24(0xc6)]],'callback':()=>{const _0x11936c=_0x43df24;this[_0x11936c(0xd4)](),this[_0x11936c(0xc5)]();}});}[_0x3d45ca(0xce)](_0x367595){const _0x5a2f9e=_0x3d45ca;this[_0x5a2f9e(0xd5)][_0x5a2f9e(0xe5)]=_0x367595['id'],this[_0x5a2f9e(0xd5)][_0x5a2f9e(0xdc)][_0x5a2f9e(0xc6)][_0x5a2f9e(0xdd)]=_0x367595[_0x5a2f9e(0xdf)];}[_0x3d45ca(0xc8)](_0x1dd6c4,_0x3dbac6){const _0x13c383=_0x3d45ca;this[_0x13c383(0xce)](_0x1dd6c4),this[_0x13c383(0xc0)](),this[_0x13c383(0xd1)]({'target':_0x3dbac6});}[_0x3d45ca(0xd4)](){const _0x7cc015=_0x3d45ca;this[_0x7cc015(0xc1)](),this[_0x7cc015(0xd7)]();}[_0x3d45ca(0xc5)](){const _0x5de8cd=_0x3d45ca;this[_0x5de8cd(0xde)](_0x5de8cd(0xc5));}[_0x3d45ca(0xc9)](){const _0x5921f2=_0x3d45ca,_0x4b82db=new _0x2d7012();return this[_0x5921f2(0xd5)]=new _0x1663a9(this[_0x5921f2(0xcf)],''),this[_0x5921f2(0xd5)][_0x5921f2(0xdc)][_0x5921f2(0xc2)]({'attributes':{'class':[_0x5921f2(0xcb)]}}),this[_0x5921f2(0xd5)][_0x5921f2(0xd9)](_0x5921f2(0xd3),_0x5921f2(0xe4))['to'](this),_0x4b82db[_0x5921f2(0xc3)]({'tag':_0x5921f2(0xc7),'attributes':{'class':[_0x5921f2(0xcd),_0x5921f2(0xc4)]},'children':[{'tag':'p','attributes':{'class':[_0x5921f2(0xe2)]},'children':[this[_0x5921f2(0xd5)]]}]}),_0x4b82db;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a3538=_0x4533;(function(_0x4c760a,_0x2143af){const _0x3c8557=_0x4533,_0x569ad9=_0x4c760a();while(!![]){try{const _0x3380e6=parseInt(_0x3c8557(0x1a8))/0x1+parseInt(_0x3c8557(0x1a5))/0x2+parseInt(_0x3c8557(0x1b3))/0x3*(parseInt(_0x3c8557(0x1a1))/0x4)+-parseInt(_0x3c8557(0x197))/0x5*(-parseInt(_0x3c8557(0x19c))/0x6)+-parseInt(_0x3c8557(0x182))/0x7+-parseInt(_0x3c8557(0x1a9))/0x8*(-parseInt(_0x3c8557(0x1a4))/0x9)+parseInt(_0x3c8557(0x1a0))/0xa*(-parseInt(_0x3c8557(0x1b2))/0xb);if(_0x3380e6===_0x2143af)break;else _0x569ad9['push'](_0x569ad9['shift']());}catch(_0x3e2735){_0x569ad9['push'](_0x569ad9['shift']());}}}(_0x3535,0x5426b));function _0x3535(){const _0x7b6809=['_createAcceptButtonView','acceptButtonView','setTemplate','isInfoToggleOn','setItemAsActive','menuitemcheckbox','_createResultResponseView','isActive','isOn','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','ck-ai-review-mode__check-run-result-action-buttons','ck-ai-review-mode__check-run-result-footer','ck-ai-review-mode__check-run-result-response','AI_REVIEW_MODE_DISMISS_CHANGE','extendTemplate','setItemAsInactive','498055lHVLhj','AI_REVIEW_MODE_LEARN_MORE','set','ck-ai-review-mode__check-run-result_active','resultResponseView','6gkFjgp','dismissButtonView','activateChange','log','100590JXVGKP','5000KGvdKp','stopPropagation','_createInfoButtonView','5679Ukaetv','724894AXCYCM','ck-ai-review-mode__check-run-result','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','301835hHgQBU','1208mUrvPD','acceptChange','bind','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','AI_REVIEW_MODE_ACCEPT_CHANGE','locale','click','infoButtonView','bindTemplate','1243pUBmUd','1530kPhWqT','dismissChange','_createDismissButtonView','Toggle\x20info\x20view','div','107268GSaMAD','execute','ck-content','changeId','fire'];_0x3535=function(){return _0x7b6809;};return _0x3535();}import{View as _0x327a03,ButtonView as _0x380822}from'ckeditor5/src/ui.js';import{IconInfo as _0x1fa3da}from'ckeditor5/src/icons.js';function _0x4533(_0x3057bb,_0x3fee7e){const _0x353556=_0x3535();return _0x4533=function(_0x45336d,_0xe2f989){_0x45336d=_0x45336d-0x17e;let _0x1d2002=_0x353556[_0x45336d];return _0x1d2002;},_0x4533(_0x3057bb,_0x3fee7e);}import{getTranslation as _0x132c1b}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x327a03{[_0x2a3538(0x19b)];[_0x2a3538(0x188)];[_0x2a3538(0x19d)];[_0x2a3538(0x1b0)];constructor(_0x462bed,_0x1ce347){const _0x480720=_0x2a3538;super(_0x462bed),this['id']=_0x1ce347,this[_0x480720(0x199)](_0x480720(0x185),_0x1ce347),this[_0x480720(0x19b)]=this[_0x480720(0x18d)](),this[_0x480720(0x188)]=this[_0x480720(0x187)](),this[_0x480720(0x19d)]=this[_0x480720(0x17f)](),this[_0x480720(0x1b0)]=this[_0x480720(0x1a3)](),this[_0x480720(0x199)](_0x480720(0x18a),!0x1),this[_0x480720(0x199)](_0x480720(0x18e),!0x1),this[_0x480720(0x189)]({'tag':_0x480720(0x181),'attributes':{'class':[_0x480720(0x1a6),this[_0x480720(0x1b1)]['if'](_0x480720(0x18e),_0x480720(0x19a))]},'on':{'click':this[_0x480720(0x1b1)]['to'](_0x480720(0x1af))},'children':[this[_0x480720(0x19b)],{'tag':_0x480720(0x181),'attributes':{'class':[_0x480720(0x192)]},'children':[{'tag':_0x480720(0x181),'attributes':{'class':[_0x480720(0x191)]},'children':[this[_0x480720(0x188)],this[_0x480720(0x19d)]]},this[_0x480720(0x1b0)]]}]}),this['on'](_0x480720(0x1af),()=>{const _0x315414=_0x480720;this[_0x315414(0x186)](_0x315414(0x19e),{'id':_0x1ce347,'source':this});});}[_0x2a3538(0x18b)](){const _0x121d94=_0x2a3538;this[_0x121d94(0x18e)]=!0x0;}[_0x2a3538(0x196)](){const _0xeb145b=_0x2a3538;this[_0xeb145b(0x18e)]=!0x1;}[_0x2a3538(0x18d)](){const _0x1bc3a8=_0x2a3538,_0x909280=new _0x327a03(this[_0x1bc3a8(0x1ae)]);return _0x909280[_0x1bc3a8(0x189)]({'tag':_0x1bc3a8(0x181),'attributes':{'class':['ck',_0x1bc3a8(0x184),_0x1bc3a8(0x193)]}}),_0x909280;}[_0x2a3538(0x187)](){const _0x363864=_0x2a3538,_0x910f3b=new _0x380822(this[_0x363864(0x1ae)]);return _0x910f3b[_0x363864(0x199)]({'label':_0x132c1b(this[_0x363864(0x1ae)],_0x363864(0x1ad)),'withText':!0x0,'class':_0x363864(0x190)}),_0x910f3b[_0x363864(0x195)]({'on':{'click':this[_0x363864(0x1b1)]['to'](_0x2fac64=>{const _0x872fd9=_0x363864;this[_0x872fd9(0x186)](_0x872fd9(0x1aa),{'id':this[_0x872fd9(0x185)]}),_0x2fac64[_0x872fd9(0x1a2)]();})}}),_0x910f3b;}[_0x2a3538(0x17f)](){const _0xc244d8=_0x2a3538,_0x1115aa=new _0x380822(this[_0xc244d8(0x1ae)]);return _0x1115aa[_0xc244d8(0x199)]({'label':_0x132c1b(this[_0xc244d8(0x1ae)],_0xc244d8(0x194)),'withText':!0x0,'class':_0xc244d8(0x1ac)}),_0x1115aa[_0xc244d8(0x195)]({'on':{'click':this[_0xc244d8(0x1b1)]['to'](_0x5993c8=>{const _0x581505=_0xc244d8;this[_0x581505(0x186)](_0x581505(0x17e),{'id':this[_0x581505(0x185)]}),_0x5993c8[_0x581505(0x1a2)]();})}}),_0x1115aa;}[_0x2a3538(0x1a3)](){const _0x4c00f3=_0x2a3538,_0x42026f=new _0x380822(this[_0x4c00f3(0x1ae)]);return _0x42026f[_0x4c00f3(0x199)]({'label':_0x132c1b(this[_0x4c00f3(0x1ae)],_0x4c00f3(0x198)),'icon':_0x1fa3da,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x4c00f3(0x18c),'class':_0x4c00f3(0x1a7)}),_0x42026f[_0x4c00f3(0x1ab)](_0x4c00f3(0x18f))['to'](this,_0x4c00f3(0x18a),_0x378f69=>_0x378f69),_0x42026f['on'](_0x4c00f3(0x183),()=>{const _0x369920=_0x4c00f3;console[_0x369920(0x19f)](_0x369920(0x180)),this[_0x369920(0x18a)]=!this[_0x369920(0x18a)];}),_0x42026f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x502272}from'ckeditor5/src/utils.js';import{View as Bt,ButtonView as _0x3902cf,FormRowView as _0xf5fcb7,createDropdown as _0x2e6135,addListToDropdown as _0x433bf0,UIModel as _0x1c8a05,ButtonLabelView as _0x25d49e}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x3ec4d8}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends Bt{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x423910,_0x13ef92){super(_0x423910),this['_check']=_0x13ef92,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x13ef92['models']&&_0x13ef92['models']['length']>0x0?_0x13ef92['models'][0x0]['id']:'',this['_defaultLabel']=_0x13ef92['models']&&_0x13ef92['models']['length']>0x0?_0x13ef92['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x3ec4d8(_0x423910),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x502272(),this['_setModelList'](),_0x433bf0(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x37f19e=new Bt(_0x423910);_0x37f19e['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']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0xf5fcb7(this['locale'],{'children':[this['promptInputView']]}),new _0xf5fcb7(this['locale'],{'children':[_0x37f19e]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x1a5615=new _0x3902cf(this['locale']),t=this['locale']['t'];return _0x1a5615['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1a5615['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x40808d=>{_0x40808d['stopPropagation']();})}}),_0x1a5615['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x1a5615;}['_createCancelButtonView'](){const _0x2468af=new _0x3902cf(this['locale']),t=this['locale']['t'];return _0x2468af['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x2468af['on']('execute',()=>{this['resetToDefault']();}),_0x2468af;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x835781=this['_check']['models'];if(this['resetToDefault'](),_0x835781?.['length'])for(const _0x402014 of _0x835781){const _0x3a8686=new _0x1c8a05({'label':_0x402014['name'],'withText':!0x0,'role':'menuitemradio','id':_0x402014['id'],'model':_0x402014});_0x3a8686['bind']('isOn')['to'](this,'modelId',_0x379b9c=>_0x379b9c===_0x402014['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3a8686,'labelView':new Ts(this['locale'],_0x402014)});}}['_createModelSelectionDropdown'](){const _0x1ee09b=_0x2e6135(this['locale']);return _0x1ee09b['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x1ee09b['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1dea94=>{_0x1dea94['stopPropagation']();})}}),_0x1ee09b['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x1ee09b,'execute',_0x59870b=>{this['modelId']=_0x59870b['source']['model']['id'],_0x1ee09b['buttonView']['label']=_0x59870b['source']['label'];}),_0x1ee09b;}}class Ts extends _0x25d49e{constructor(_0x38319c,_0x53a44e){super();const _0x3e3083=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3e3083['to']('style'),'id':_0x3e3083['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3e3083['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x53a44e['description']}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cbb4=_0x56a0;(function(_0x2ff0ee,_0x1942ff){const _0x1a2063=_0x56a0,_0x4a5f5b=_0x2ff0ee();while(!![]){try{const _0x2ab5b5=parseInt(_0x1a2063(0x96))/0x1*(parseInt(_0x1a2063(0x9c))/0x2)+parseInt(_0x1a2063(0x95))/0x3*(parseInt(_0x1a2063(0x9d))/0x4)+parseInt(_0x1a2063(0x9b))/0x5+-parseInt(_0x1a2063(0x90))/0x6+parseInt(_0x1a2063(0x9f))/0x7*(-parseInt(_0x1a2063(0x94))/0x8)+parseInt(_0x1a2063(0x8e))/0x9+-parseInt(_0x1a2063(0x8a))/0xa;if(_0x2ab5b5===_0x1942ff)break;else _0x4a5f5b['push'](_0x4a5f5b['shift']());}catch(_0x12120c){_0x4a5f5b['push'](_0x4a5f5b['shift']());}}}(_0x5a79,0xc93f5));import{ListItemView as _0x41b98e,ViewCollection as _0x70552d}from'ckeditor5/src/ui.js';function _0x5a79(){const _0x11979e=['length','setTemplate','ck-ai-review-mode__check-list','6434568lnzJbY','resetAllParameterizedChecks','3848220JlIRSB','clear','entries','delegate','8luYnCi','3WRsqYq','41obWgxW','resetToDefault','add','hasChecks','_checkViews','3652770AwYnbg','70812IaVfXf','4058140ckVPXz','runReviewCheck','795886kbXSig','locale','setChecks','bindTemplate','div','isVisible','ck-hidden','23323100pvdFXi'];_0x5a79=function(){return _0x11979e;};return _0x5a79();}import{AIReviewModeReviewCommandListItemView as _0x2ae9c2}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';function _0x56a0(_0x20c8ef,_0x1147fa){const _0x5a7957=_0x5a79();return _0x56a0=function(_0x56a013,_0x399814){_0x56a013=_0x56a013-0x89;let _0x5065c6=_0x5a7957[_0x56a013];return _0x5065c6;},_0x56a0(_0x20c8ef,_0x1147fa);}export class AIReviewModeReviewCheckListView extends _0x41b98e{[_0x5cbb4(0x9a)];constructor(_0x915648){const _0x47c197=_0x5cbb4;super(_0x915648),this[_0x47c197(0x9a)]=new _0x70552d();const _0x329785=this[_0x47c197(0xa2)];this[_0x47c197(0x8c)]({'tag':_0x47c197(0xa3),'attributes':{'class':[_0x47c197(0x8d),_0x329785['if'](_0x47c197(0xa4),_0x47c197(0x89),_0x2834b6=>!_0x2834b6)]},'children':this[_0x47c197(0x9a)]});}[_0x5cbb4(0xa1)](_0x4db1fb){const _0x14d948=_0x5cbb4;this[_0x14d948(0x9a)][_0x14d948(0x91)]();for(const [_0x2bdae8,_0x23b0c1]of _0x4db1fb[_0x14d948(0x92)]()){const _0x41a526=new _0x2ae9c2(this[_0x14d948(0xa0)],_0x23b0c1,_0x2bdae8);_0x41a526[_0x14d948(0x93)](_0x14d948(0x9e))['to'](this),this[_0x14d948(0x9a)][_0x14d948(0x98)](_0x41a526);}}[_0x5cbb4(0x99)](){const _0x37d636=_0x5cbb4;return this[_0x37d636(0x9a)][_0x37d636(0x8b)]>0x0;}[_0x5cbb4(0x8f)](){const _0x48078e=_0x5cbb4;for(const _0x128339 of this[_0x48078e(0x9a)])_0x128339 instanceof _0x2ae9c2&&_0x128339[_0x48078e(0x97)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x4055d3,View as Bt,ViewCollection as _0x21f4f2,ButtonView as _0x524247}from'ckeditor5/src/ui.js';import{IconStop as _0x320c24,IconEye as _0x579ab1,IconEyeCrossedOut as _0x2f930e}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x3db4ed}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x17540b,SKELETON_DEFINITIONS as _0x57d7dd}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x157bc4}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x415f57}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x478a05}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x4055d3{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0xdd8541){super(_0xdd8541),this['_resultViews']=new _0x21f4f2(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x157bc4(_0xdd8541),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x1d1700=this['_createCombinedSkeletonLoader'](),_0x1939e8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x1939e8['if']('isVisible','ck-hidden',_0x3a0f75=>!_0x3a0f75)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2e8b9f=>_0x2e8b9f)]},'children':this['_resultViews']},_0x1d1700]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1635e7){const _0x2c3b3b=new _0x3db4ed(this['locale'],_0x1635e7['id']);_0x2c3b3b['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x2c3b3b),_0x2c3b3b['resultResponseView']['element']['innerHTML']=_0x1635e7['contentDiffed'];}['hideResult'](_0x34e74e){const _0x264c1e=this['_resultViews']['find'](_0x36241a=>_0x36241a['id']===_0x34e74e);_0x264c1e&&(_0x264c1e['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x264c1e['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x264c1e),_0x264c1e['destroy']();},{'once':!0x0}));}['setTitle'](_0x247e67){this['headerTitle']=_0x247e67;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x17540b(this['locale'],_0x57d7dd['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x29ccce=new Bt(this['locale']),_0x3d3b96=[];for(let _0x32f7ab=0x0;_0x32f7ab<0x10;_0x32f7ab++){const _0x5770fb=this['_createSkeletonLoader']();_0x5770fb['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x3d3b96['push'](_0x5770fb);}return _0x29ccce['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x5fe364=>!_0x5fe364)]},'children':_0x3d3b96}),_0x29ccce;}['_createErrorView'](){const _0x6cd81a=new Bt(this['locale']),_0x2e5cf6=new _0x524247(this['locale']),t=this['locale']['t'];return _0x6cd81a['delegate']('retryReview')['to'](this),_0x2e5cf6['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x2e5cf6['on']('execute',()=>{this['fire']('retryReview');}),_0x6cd81a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x25216c=>!_0x25216c),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x571e63=>'chunk'===_0x571e63)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x538d7a=>'chunk'===_0x538d7a)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x54179f=>'general'!==_0x54179f)]},'children':[{'text':_0x415f57(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x569077=>'chunk'!==_0x569077)]},'children':[{'text':_0x415f57(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x2e5cf6]}),_0x6cd81a;}['_createCancelButtonView'](){const _0x389d51=new _0x524247(this['locale']);return _0x389d51['set']({'label':_0x415f57(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x320c24}),_0x389d51['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x30edc0=>_0x30edc0)]}}),_0x389d51['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x389d51;}['_createToggleDiffButtonView'](){const _0x60746=new _0x524247(this['locale']);_0x60746['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x60746['bind']('isEnabled')['to'](this,'isError',_0x6cd494=>!_0x6cd494),_0x60746['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2fe600=>!_0x2fe600)]}});const _0x37053b=_0x415f57(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x43d161=_0x415f57(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x60746['bind']('isOn')['to'](this,'isToggleDiffOn',_0x56330a=>_0x56330a),_0x60746['bind']('icon')['to'](this,'isToggleDiffOn',_0xf48c0b=>_0xf48c0b?_0x579ab1:_0x2f930e),_0x60746['bind']('label')['to'](this,'isToggleDiffOn',_0x257c1d=>_0x257c1d?_0x37053b:_0x43d161),_0x60746['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x60746;}['_createAcceptAllButtonView'](){const _0x3ada4c=new _0x524247(this['locale']);return _0x3ada4c['set']({'label':_0x415f57(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x3ada4c['bind']('isEnabled')['to'](this,'isError',_0x1df025=>!_0x1df025),_0x3ada4c['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2636c3=>!_0x2636c3)]}}),_0x3ada4c['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x3ada4c;}['_createExitReviewButtonView'](){const _0x22e7c0=new _0x524247(this['locale']);return _0x22e7c0['set']({'label':_0x415f57(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x22e7c0['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4dcad5=>!_0x4dcad5)]}}),_0x22e7c0['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x22e7c0;}['_createResultHeaderView'](){const _0x501bb1=new Bt(this['locale']),_0x5354c6=new _0x478a05();return _0x5354c6['bind']('isVisible')['to'](this,'isResultReady',_0x7925a8=>!_0x7925a8),_0x501bb1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x5354c6,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x501bb1;}}
|