@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.3
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/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.d.ts +8 -4
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51631d=_0x4dfa;(function(_0xce77dd,_0x5e482a){const _0x3c6134=_0x4dfa,_0x4a07c6=_0xce77dd();while(!![]){try{const _0x2168e2=-parseInt(_0x3c6134(0x214))/0x1+-parseInt(_0x3c6134(0x206))/0x2+-parseInt(_0x3c6134(0x217))/0x3+-parseInt(_0x3c6134(0x1d5))/0x4*(parseInt(_0x3c6134(0x1e6))/0x5)+parseInt(_0x3c6134(0x22d))/0x6*(-parseInt(_0x3c6134(0x1df))/0x7)+parseInt(_0x3c6134(0x225))/0x8+-parseInt(_0x3c6134(0x1f3))/0x9*(-parseInt(_0x3c6134(0x1f8))/0xa);if(_0x2168e2===_0x5e482a)break;else _0x4a07c6['push'](_0x4a07c6['shift']());}catch(_0x58ff28){_0x4a07c6['push'](_0x4a07c6['shift']());}}}(_0x1cb1,0xabe18));function _0x1cb1(){const _0xfdad17=['showGeneralReviewCoreErrorView','registerTab','isPremiumPlugin','hideBalloon','fire','locale','status','2669822fGUIJY','dismissChange','showCheckRunResult','setCheckResultTitle','rejected','getResults','element','ai.models.showModelSelector','showReviewCheckResultsView','showReviewCheckList','_bodyCollection','attachToDom','showResult','toggleDiff','133887ZZQEPU','hideDiffInBalloon','acceptAllChanges','1596741idrQLN','resetActiveStateInResults','hasChecks','setActiveStateInResults','finishReview','reviewCheckResultsView','detachFromDom','leaveReviewCoreResultList','runReviewCheck','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','get','showBalloon','context','isOfficialPlugin','1769800thHtRJ','activateChange','config','requires','hideChangeBalloon','showActionsWhenResultIsReady','reviewCheckListView','showChunkErrorView','2231292lunilq','160YRBkuq','accepted','acceptChange','setItemAsActive','init','getReviewCheckList','showReviewCompletedView','showCheckRunResults','setItemAsInactive','showChangeBalloon','14oVlMYU','_balloonSuggestionView','error-general','showNoChangesView','destroy','find','showDiffInBalloon','129005YFYjSB','deactivateChange','error-chunk','hideActionsWhenResultIsReady','setAvailableChecks','hideResult','setTitle','delegate','_mainView','plugins','retryReview','setChecks','showReviewCheckListView','9584208ittGrB','getChangeElement','showGeneralResultsErrorView','learnMore','forEach','40KelPXf','addCheckRunResult','createMainView','updateChangeState','AITabs','abortReviewStream','outdated'];_0x1cb1=function(){return _0xfdad17;};return _0x1cb1();}import{ContextPlugin as _0x20403f}from'ckeditor5/src/core.js';import{BodyCollection as _0x4cac53}from'ckeditor5/src/ui.js';import{getTranslation as _0x52f3ac}from'../aicore/utils/common-translations.js';import{AITabs as _0x2a6800}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x198759}from'./ui/aireviewcoreballoonsuggestionview.js';function _0x4dfa(_0x838b4,_0x351458){const _0x1cb1b4=_0x1cb1();return _0x4dfa=function(_0x4dfaba,_0x29ccd9){_0x4dfaba=_0x4dfaba-0x1d5;let _0x10836b=_0x1cb1b4[_0x4dfaba];return _0x10836b;},_0x4dfa(_0x838b4,_0x351458);}export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x51631d(0x1da),_0x51631d(0x21f),_0x51631d(0x1fd),_0x51631d(0x213),_0x51631d(0x216),_0x51631d(0x21e),_0x51631d(0x226),_0x51631d(0x1e7),_0x51631d(0x1d7),_0x51631d(0x207),_0x51631d(0x1f6),_0x51631d(0x21b),_0x51631d(0x1f0)];export class AIReviewCoreUI extends _0x20403f{[_0x51631d(0x1ee)];[_0x51631d(0x1e0)];[_0x51631d(0x210)];static get[_0x51631d(0x228)](){return[_0x2a6800];}static get[_0x51631d(0x224)](){return!0x0;}static get[_0x51631d(0x201)](){return!0x0;}constructor(_0x26bc12){const _0x2577c9=_0x51631d;super(_0x26bc12),this[_0x2577c9(0x210)]=new _0x4cac53(this[_0x2577c9(0x223)][_0x2577c9(0x204)]),this[_0x2577c9(0x210)][_0x2577c9(0x211)](),this[_0x2577c9(0x1ee)]=this[_0x2577c9(0x1fa)](),this[_0x2577c9(0x1ee)][_0x2577c9(0x1ed)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x2577c9(0x1e0)]=new _0x198759(this[_0x2577c9(0x223)][_0x2577c9(0x204)],this[_0x2577c9(0x210)]),this[_0x2577c9(0x1e0)][_0x2577c9(0x1ed)](_0x2577c9(0x1d7),_0x2577c9(0x207),_0x2577c9(0x1e7))['to'](this);}[_0x51631d(0x1d9)](){const _0x19144d=_0x51631d,_0x6e7f9c=this[_0x19144d(0x223)][_0x19144d(0x1ef)][_0x19144d(0x221)](_0x19144d(0x1fc));this[_0x19144d(0x200)](_0x6e7f9c);}[_0x51631d(0x1e3)](){const _0x1670a9=_0x51631d;this[_0x1670a9(0x210)][_0x1670a9(0x21d)](),super[_0x1670a9(0x1e3)]();}[_0x51631d(0x1ea)](_0x2c71f9){const _0x324eb5=_0x51631d;if(!this[_0x324eb5(0x1ee)][_0x324eb5(0x22b)][_0x324eb5(0x219)]()){const _0x1d6304=!this[_0x324eb5(0x223)][_0x324eb5(0x227)][_0x324eb5(0x221)](_0x324eb5(0x20d));this[_0x324eb5(0x1ee)][_0x324eb5(0x22b)][_0x324eb5(0x1f1)](_0x2c71f9,_0x1d6304);}this[_0x324eb5(0x1ee)][_0x324eb5(0x1f2)]();}[_0x51631d(0x20f)](){const _0x5584f7=_0x51631d;this[_0x5584f7(0x203)](_0x5584f7(0x1da));}[_0x51631d(0x1dc)](_0x54344c){const _0x147a4a=_0x51631d;_0x54344c&&(_0x147a4a(0x1e1)!==_0x54344c[_0x147a4a(0x205)]?_0x147a4a(0x1e8)!==_0x54344c[_0x147a4a(0x205)]?this[_0x147a4a(0x1ee)][_0x147a4a(0x20e)]():this[_0x147a4a(0x22c)]():this[_0x147a4a(0x1f5)]());}[_0x51631d(0x208)](_0x5aa276){const _0x107dd1=_0x51631d;this[_0x107dd1(0x1ee)][_0x107dd1(0x1f9)](_0x5aa276);}[_0x51631d(0x1f5)](){const _0x1209d7=_0x51631d;this[_0x1209d7(0x1ee)][_0x1209d7(0x1f5)]();}[_0x51631d(0x1ff)](_0x159861){const _0x8aa879=_0x51631d;this[_0x8aa879(0x1ee)][_0x8aa879(0x1ff)](_0x159861??_0x52f3ac(this[_0x8aa879(0x223)][_0x8aa879(0x204)],_0x8aa879(0x220)));}[_0x51631d(0x22c)](){const _0x41bb1e=_0x51631d;this[_0x41bb1e(0x1ee)][_0x41bb1e(0x22c)]();}[_0x51631d(0x209)](_0x44c591,_0x1acd46){const _0x5626ab=_0x51631d;this[_0x5626ab(0x1ee)][_0x5626ab(0x21c)][_0x5626ab(0x1ec)](_0x44c591,_0x1acd46);}[_0x51631d(0x21a)](_0x18955c){const _0x177db3=_0x51631d;this[_0x177db3(0x1ee)][_0x177db3(0x21c)][_0x177db3(0x20b)]()[_0x177db3(0x1f7)](_0x457954=>{const _0x4b9d43=_0x177db3;_0x457954['id']===_0x18955c&&_0x457954[_0x4b9d43(0x1d8)]();});}[_0x51631d(0x218)](){const _0x3a2f37=_0x51631d;this[_0x3a2f37(0x1ee)][_0x3a2f37(0x21c)][_0x3a2f37(0x20b)]()[_0x3a2f37(0x1f7)](_0x25097d=>_0x25097d[_0x3a2f37(0x1dd)]());}[_0x51631d(0x1fb)](_0x3813ba,_0x4df6a2){const _0xf61def=_0x51631d;_0xf61def(0x1d6)===_0x4df6a2||_0xf61def(0x20a)===_0x4df6a2||_0xf61def(0x1fe)===_0x4df6a2?this[_0xf61def(0x1ee)][_0xf61def(0x21c)][_0xf61def(0x1eb)](_0x3813ba,_0x4df6a2):this[_0xf61def(0x1ee)][_0xf61def(0x21c)][_0xf61def(0x212)](_0x3813ba,_0x4df6a2);}[_0x51631d(0x1db)](){const _0x98f73b=_0x51631d;this[_0x98f73b(0x1ee)][_0x98f73b(0x1db)]();}[_0x51631d(0x22a)](){const _0x5ba768=_0x51631d;this[_0x5ba768(0x1ee)][_0x5ba768(0x22a)]();}[_0x51631d(0x1e2)](){const _0x2a27a2=_0x51631d;this[_0x2a27a2(0x1ee)][_0x2a27a2(0x1e2)]();}[_0x51631d(0x1e9)](){const _0x24ac46=_0x51631d;this[_0x24ac46(0x1ee)][_0x24ac46(0x1e9)]();}[_0x51631d(0x1de)](_0x24e33f,_0x37521a,_0x5e32fe,_0x474789,_0x5070fb,_0x3ddf04){const _0xfc2623=_0x51631d;this[_0xfc2623(0x1e0)][_0xfc2623(0x222)](_0x24e33f,_0x37521a,_0x5e32fe,_0x474789,_0x5070fb,_0x3ddf04);}[_0x51631d(0x229)](){const _0x203e7d=_0x51631d;this[_0x203e7d(0x1e0)][_0x203e7d(0x202)]();}[_0x51631d(0x215)](){const _0x14e52e=_0x51631d;this[_0x14e52e(0x1e0)][_0x14e52e(0x215)]();}[_0x51631d(0x1e5)](){const _0x144d1a=_0x51631d;this[_0x144d1a(0x1e0)][_0x144d1a(0x1e5)]();}[_0x51631d(0x1f4)](_0x1aec80){const _0x2cae8f=_0x51631d,_0x506411=this[_0x2cae8f(0x1ee)][_0x2cae8f(0x21c)][_0x2cae8f(0x20b)]()[_0x2cae8f(0x1e4)](_0x1c6d5f=>_0x1c6d5f['id']===_0x1aec80);return _0x506411?_0x506411[_0x2cae8f(0x20c)]:null;}[_0x51631d(0x1e7)](){const _0x54b97e=_0x51631d;this[_0x54b97e(0x1e0)][_0x54b97e(0x1e7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x560d(_0x2d7dd0,_0x1c34b5){var _0xe83315=_0xe833();return _0x560d=function(_0x560d2a,_0x22dce4){_0x560d2a=_0x560d2a-0x101;var _0x35617b=_0xe83315[_0x560d2a];return _0x35617b;},_0x560d(_0x2d7dd0,_0x1c34b5);}var _0x10c408=_0x560d;function _0xe833(){var _0x544675=['apiId','options','5951808yYRrXN','634295LYRzPh','38593lzPWvy','10509128CPpPiW','useArgs','title','commandId','1123020yixeHO','18AnRMJy','description','args','228540obxyFC','23897826tPkumd','30FxEKBF','isParameterized'];_0xe833=function(){return _0x544675;};return _0xe833();}(function(_0x5b4483,_0x26836b){var _0xa989c1=_0x560d,_0x4b2b2c=_0x5b4483();while(!![]){try{var _0x557503=-parseInt(_0xa989c1(0x107))/0x1+-parseInt(_0xa989c1(0x10c))/0x2+parseInt(_0xa989c1(0x101))/0x3*(parseInt(_0xa989c1(0x110))/0x4)+-parseInt(_0xa989c1(0x106))/0x5*(-parseInt(_0xa989c1(0x10d))/0x6)+-parseInt(_0xa989c1(0x108))/0x7+-parseInt(_0xa989c1(0x105))/0x8+parseInt(_0xa989c1(0x111))/0x9;if(_0x557503===_0x26836b)break;else _0x4b2b2c['push'](_0x4b2b2c['shift']());}catch(_0x123878){_0x4b2b2c['push'](_0x4b2b2c['shift']());}}}(_0xe833,0xba002));export class AIReviewCheck{['id'];[_0x10c408(0x10b)];[_0x10c408(0x10a)];[_0x10c408(0x10e)];[_0x10c408(0x102)];[_0x10c408(0x109)];[_0x10c408(0x104)];[_0x10c408(0x10f)];get[_0x10c408(0x103)](){var _0x5294d2=_0x10c408;return this[_0x5294d2(0x10b)];}constructor(_0x375f5e){var _0x45b62b=_0x10c408;this['id']=_0x375f5e['id'],this[_0x45b62b(0x10b)]=_0x375f5e[_0x45b62b(0x10b)],this[_0x45b62b(0x10a)]=_0x375f5e[_0x45b62b(0x10a)],this[_0x45b62b(0x10e)]=_0x375f5e[_0x45b62b(0x10e)],this[_0x45b62b(0x102)]=_0x375f5e[_0x45b62b(0x102)],this[_0x45b62b(0x109)]=_0x375f5e[_0x45b62b(0x109)],this[_0x45b62b(0x104)]=_0x375f5e[_0x45b62b(0x104)],this[_0x45b62b(0x10f)]=_0x375f5e[_0x45b62b(0x10f)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x338abe=_0x3fa0;(function(_0x5817b5,_0xef1316){var _0x2447fd=_0x3fa0,_0x2c99b7=_0x5817b5();while(!![]){try{var _0x32be0c=-parseInt(_0x2447fd(0x1c3))/0x1+-parseInt(_0x2447fd(0x1c8))/0x2*(parseInt(_0x2447fd(0x1c6))/0x3)+-parseInt(_0x2447fd(0x1bd))/0x4*(-parseInt(_0x2447fd(0x1c1))/0x5)+parseInt(_0x2447fd(0x1cd))/0x6+parseInt(_0x2447fd(0x1c4))/0x7+parseInt(_0x2447fd(0x1be))/0x8*(-parseInt(_0x2447fd(0x1c7))/0x9)+parseInt(_0x2447fd(0x1cb))/0xa*(parseInt(_0x2447fd(0x1cc))/0xb);if(_0x32be0c===_0xef1316)break;else _0x2c99b7['push'](_0x2c99b7['shift']());}catch(_0x503620){_0x2c99b7['push'](_0x2c99b7['shift']());}}}(_0x7bca,0xd0108));import{ObservableMixin as _0x356b12}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x15204a}from'./aireviewcheck.js';function _0x3fa0(_0x2f0e25,_0x3b0182){var _0x7bcac8=_0x7bca();return _0x3fa0=function(_0x3fa058,_0x1d72b4){_0x3fa058=_0x3fa058-0x1bd;var _0x406667=_0x7bcac8[_0x3fa058];return _0x406667;},_0x3fa0(_0x2f0e25,_0x3b0182);}function _0x7bca(){var _0x1eac87=['3442660aCTBpZ','11DCraTd','3438126jhziqN','setupChecks','getCheckById','369308PoZMUx','376PYkppd','removeCheckById','filter','75nsRkHz','_checks','1089988jmwdPu','9122351jEmMaq','map','2073JwMQSl','281826hsDLgi','554GHqRob','checks','find'];_0x7bca=function(){return _0x1eac87;};return _0x7bca();}export class AIReviewCheckList extends _0x356b12(){[_0x338abe(0x1c2)]=[];[_0x338abe(0x1ce)](_0x1895e1){var _0x49c1d2=_0x338abe;this[_0x49c1d2(0x1c2)]=_0x1895e1[_0x49c1d2(0x1c5)](_0xdb4b04=>new _0x15204a(_0xdb4b04));}get[_0x338abe(0x1c9)](){var _0x29b487=_0x338abe;return this[_0x29b487(0x1c2)];}[_0x338abe(0x1cf)](_0x4bbed5){var _0x23277d=_0x338abe;return this[_0x23277d(0x1c9)][_0x23277d(0x1ca)](_0x346732=>_0x346732['id']===_0x4bbed5);}[_0x338abe(0x1bf)](_0x357530){var _0x161c9f=_0x338abe;this[_0x161c9f(0x1c2)]=this[_0x161c9f(0x1c2)][_0x161c9f(0x1c0)](_0xbf397e=>_0xbf397e['id']!==_0x357530);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x334750=_0x1daf;function _0x1e99(){var _0x10d201=['139112abRJYW','17oBsjDe','contentNew','1168443buwuGa','1499656OpkLGu','431742XKjFDw','documentVersion','21694fVmeJB','767816llrEeE','4630zaWqHb','1098mFOukb','contentInitial'];_0x1e99=function(){return _0x10d201;};return _0x1e99();}(function(_0x2bf1d9,_0x230119){var _0x243467=_0x1daf,_0x348e36=_0x2bf1d9();while(!![]){try{var _0x15a6eb=parseInt(_0x243467(0x1df))/0x1*(parseInt(_0x243467(0x1e5))/0x2)+-parseInt(_0x243467(0x1e3))/0x3+-parseInt(_0x243467(0x1de))/0x4+parseInt(_0x243467(0x1e7))/0x5*(parseInt(_0x243467(0x1e8))/0x6)+-parseInt(_0x243467(0x1e6))/0x7+parseInt(_0x243467(0x1e2))/0x8+-parseInt(_0x243467(0x1e1))/0x9;if(_0x15a6eb===_0x230119)break;else _0x348e36['push'](_0x348e36['shift']());}catch(_0x115589){_0x348e36['push'](_0x348e36['shift']());}}}(_0x1e99,0x1e0e3));import{EmitterMixin as _0x1d9a1c}from'ckeditor5/src/utils.js';function _0x1daf(_0x3fcdbb,_0x1893c4){var _0x1e9997=_0x1e99();return _0x1daf=function(_0x1daff6,_0x4fd164){_0x1daff6=_0x1daff6-0x1de;var _0x13311e=_0x1e9997[_0x1daff6];return _0x13311e;},_0x1daf(_0x3fcdbb,_0x1893c4);}export class AIReviewCheckResult extends _0x1d9a1c(){['id'];[_0x334750(0x1e0)];[_0x334750(0x1e9)];[_0x334750(0x1e4)];constructor({id:_0x1d1ab3,contentNew:_0x127565,contentInitial:_0x105a10,documentVersion:_0x9baf63}){var _0x38c212=_0x334750;super(),this['id']=_0x1d1ab3,this[_0x38c212(0x1e0)]=_0x127565,this[_0x38c212(0x1e9)]=_0x105a10,this[_0x38c212(0x1e4)]=_0x9baf63;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3380(){var _0x507be9=['_editorOperations','745fdzfcX','_data','set','isActivated','499514vLKoKd','156921wyQEMO','9218OoRJYu','context','isRated','contentDiffed','operations','parent','3550xqcnUf','8aTGsBD','status','152458KSbfzj','6NmfcUu','operationsIsolated','2719213vkPybA','5540WGrJWx','change:status','pending','3345462ntGYYk'];_0x3380=function(){return _0x507be9;};return _0x3380();}var _0xa1c1f4=_0xe378;(function(_0x2b138b,_0x3e9f26){var _0xd3c569=_0xe378,_0x9eff45=_0x2b138b();while(!![]){try{var _0x2ae242=parseInt(_0xd3c569(0xa4))/0x1+-parseInt(_0xd3c569(0xaf))/0x2+-parseInt(_0xd3c569(0xa5))/0x3+-parseInt(_0xd3c569(0x9b))/0x4*(-parseInt(_0xd3c569(0xa0))/0x5)+-parseInt(_0xd3c569(0xb0))/0x6*(-parseInt(_0xd3c569(0xb2))/0x7)+parseInt(_0xd3c569(0xad))/0x8*(-parseInt(_0xd3c569(0x9e))/0x9)+parseInt(_0xd3c569(0xac))/0xa*(-parseInt(_0xd3c569(0xa6))/0xb);if(_0x2ae242===_0x3e9f26)break;else _0x9eff45['push'](_0x9eff45['shift']());}catch(_0x5398cb){_0x9eff45['push'](_0x9eff45['shift']());}}}(_0x3380,0x48692));import{ObservableMixin as _0x58cd2f}from'ckeditor5/src/utils.js';function _0xe378(_0x32ac6a,_0x598c88){var _0x3380f3=_0x3380();return _0xe378=function(_0xe37802,_0x41fbc4){_0xe37802=_0xe37802-0x9b;var _0x1ec96d=_0x3380f3[_0xe37802];return _0x1ec96d;},_0xe378(_0x32ac6a,_0x598c88);}export class AIReviewCheckResultChange extends _0x58cd2f(){['id'];[_0xa1c1f4(0xab)];[_0xa1c1f4(0xa1)];[_0xa1c1f4(0x9f)]=[];constructor(_0x1be0ad,_0x58da9b,_0x218954){var _0x43b379=_0xa1c1f4;super(),this['id']=_0x1be0ad,this[_0x43b379(0xab)]=_0x218954,this[_0x43b379(0xa1)]=_0x58da9b,this[_0x43b379(0xa2)](_0x43b379(0xa3),!0x1),this[_0x43b379(0xa2)](_0x43b379(0xa8),!0x1),this[_0x43b379(0xa2)](_0x43b379(0xae),_0x43b379(0x9d)),this['on'](_0x43b379(0x9c),()=>{var _0x33f644=_0x43b379;_0x33f644(0x9d)!==this[_0x33f644(0xae)]&&this[_0x33f644(0xa3)]&&(this[_0x33f644(0xa3)]=!0x1);});}get[_0xa1c1f4(0xa9)](){var _0x220205=_0xa1c1f4;return this[_0x220205(0xa1)][_0x220205(0xa7)]();}get[_0xa1c1f4(0xaa)](){var _0x302c36=_0xa1c1f4;return this[_0x302c36(0xa1)][_0x302c36(0xaa)];}get[_0xa1c1f4(0xb1)](){var _0x12fc7e=_0xa1c1f4;return this[_0x12fc7e(0xa1)][_0x12fc7e(0xb1)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1bb500=_0x3808;(function(_0x43f0cb,_0x29dd8a){const _0x38cb80=_0x3808,_0x1bdf22=_0x43f0cb();while(!![]){try{const _0x5dae11=-parseInt(_0x38cb80(0x1ef))/0x1+parseInt(_0x38cb80(0x202))/0x2+-parseInt(_0x38cb80(0x1c0))/0x3*(parseInt(_0x38cb80(0x204))/0x4)+-parseInt(_0x38cb80(0x1dc))/0x5*(parseInt(_0x38cb80(0x1d8))/0x6)+-parseInt(_0x38cb80(0x1e1))/0x7*(parseInt(_0x38cb80(0x1d3))/0x8)+-parseInt(_0x38cb80(0x1cf))/0x9+parseInt(_0x38cb80(0x215))/0xa;if(_0x5dae11===_0x29dd8a)break;else _0x1bdf22['push'](_0x1bdf22['shift']());}catch(_0x4329f4){_0x1bdf22['push'](_0x1bdf22['shift']());}}}(_0x1254,0x9cecb));function _0x3808(_0xb76b8,_0x3e7652){const _0x12540b=_0x1254();return _0x3808=function(_0x38089c,_0x110a21){_0x38089c=_0x38089c-0x1b8;let _0xe82a87=_0x12540b[_0x38089c];return _0xe82a87;},_0x3808(_0xb76b8,_0x3e7652);}function _0x1254(){const _0x4e2805=['event','680695XVPCuD','_addReviewCheckResult','clear','change:isActivated','isChangeActive','63xlGQdB','getStream','_aiConnector','ready','_documentData','currentError','_results','_changes','reviewCheckResultChangeStatusUpdated','markChangeAsPending','filter','length','set','isRated','459255eDMRQe','_currentError','loading','initialized','status','getActiveChanges','outdated','reviewCheckResultReady','documentData','find','addResultChanges','forceReadyState','reviewName','operation','restart','subTitle','parent','every','reviewCheckResultActivated','1473490wrVzWG','textDelta','268kCvxJa','includes','markChangeAsAccepted','title','_activeRequest','callId','get','_checkIfFinished','dataId','review-metadata','_wasAborted','isActivated','pending','ai-request-aborted','push','_reviewParams','fire','33024480zVCFYv','version','aborted','sendRating','unmodified','error','elements','isAnyChangeActivated','forEach','getContent','accepted','error-general','markChangeAsOutdated','_createApiRequest','error-chunk','deactivateChange','43455FUrAzf','markChangeAsRejected','_reviewArgs','reviewCheckResultAdded','_sendRatingRequest','data','some','updateDocumentData','finished','processedResultsCount','_sourceCheck','hasModifications','message','size','markAllChangesAsAccepted','8627139YEFKRw','change:status','reviewCheckResultDeactivated','abortController','654072rToctY','abort','getChangeById','reviewCheckRunUpdated','activateChange','12bffiRi','start','rejected'];_0x1254=function(){return _0x4e2805;};return _0x1254();}import{ObservableMixin as _0x10622f,uid as _0x14e6f4}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x43c07f}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x1a0fde}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x10622f(){['id']=_0x14e6f4();[_0x1bb500(0x209)];[_0x1bb500(0x1e7)]=new Map();[_0x1bb500(0x1e8)]=[];[_0x1bb500(0x1ca)];[_0x1bb500(0x1e5)];[_0x1bb500(0x1e3)];[_0x1bb500(0x213)];[_0x1bb500(0x1c2)];[_0x1bb500(0x208)]=null;[_0x1bb500(0x1f0)];[_0x1bb500(0x20e)]=!0x1;constructor(_0x4c4889,_0x560200,_0x464183,_0x3e92cb,_0x3edad3){const _0x41bb6a=_0x1bb500;super(),this[_0x41bb6a(0x1ca)]=_0x560200,this[_0x41bb6a(0x1e5)]=_0x4c4889,this[_0x41bb6a(0x1e3)]=_0x464183,this[_0x41bb6a(0x213)]=_0x3e92cb,this[_0x41bb6a(0x1c2)]=_0x3edad3,this['on'](_0x41bb6a(0x1d0),(_0x1aa51b,_0x25383f,_0x29ebf9)=>{const _0x2bd2e6=_0x41bb6a;_0x2bd2e6(0x217)==_0x29ebf9&&(this[_0x2bd2e6(0x20e)]=!0x0),this[_0x2bd2e6(0x214)](_0x2bd2e6(0x1d6),{'status':_0x29ebf9,'run':this,'error':this[_0x2bd2e6(0x1f0)]});}),this[_0x41bb6a(0x1ed)](_0x41bb6a(0x1f3),_0x41bb6a(0x1f2));}get[_0x1bb500(0x1f7)](){const _0x5689ca=_0x1bb500;return this[_0x5689ca(0x1e5)];}get[_0x1bb500(0x1c9)](){const _0x3192ea=_0x1bb500;return this[_0x3192ea(0x1e7)][_0x3192ea(0x1cd)];}get[_0x1bb500(0x207)](){const _0x102730=_0x1bb500;return this[_0x102730(0x1ca)][_0x102730(0x207)];}get[_0x1bb500(0x1fe)](){return'';}get[_0x1bb500(0x1fb)](){const _0xaeb892=_0x1bb500;return this[_0xaeb892(0x1ca)]['id'];}get[_0x1bb500(0x1cb)](){const _0x44c1a4=_0x1bb500;return!this[_0x44c1a4(0x1e8)][_0x44c1a4(0x200)](_0x2b0a7a=>_0x44c1a4(0x210)===_0x2b0a7a[_0x44c1a4(0x1f3)]);}get[_0x1bb500(0x1e6)](){const _0x323822=_0x1bb500;return this[_0x323822(0x1f0)];}[_0x1bb500(0x1c7)](_0x3ce062){const _0x2f0447=_0x1bb500;this[_0x2f0447(0x1e5)]=_0x3ce062;}async[_0x1bb500(0x1d9)](){const _0x517863=_0x1bb500;this[_0x517863(0x1f3)]=_0x517863(0x1f1),this[_0x517863(0x1f0)]=void 0x0;try{this[_0x517863(0x208)]=this[_0x517863(0x1bd)]();const _0xb89757=await this[_0x517863(0x208)][_0x517863(0x1e2)]();this[_0x517863(0x1f3)]=_0x517863(0x1c5);for await(const _0x1b4b6a of _0xb89757)_0x517863(0x219)!==_0x1b4b6a[_0x517863(0x1c5)][_0x517863(0x1fc)]&&(_0x517863(0x21a)!==_0x1b4b6a[_0x517863(0x1c5)][_0x517863(0x1fc)]?_0x517863(0x20d)!==_0x1b4b6a[_0x517863(0x1db)]?this[_0x517863(0x1dd)](_0x1b4b6a[_0x517863(0x1c5)][_0x517863(0x20c)],_0x1b4b6a[_0x517863(0x1c5)][_0x517863(0x203)]):this[_0x517863(0x209)]=_0x1b4b6a[_0x517863(0x1c5)][_0x517863(0x209)]:this[_0x517863(0x1f3)]=_0x517863(0x1be));_0x517863(0x1be)!==this[_0x517863(0x1f3)]&&(0x0===this[_0x517863(0x1e7)][_0x517863(0x1cd)]||0x0===this[_0x517863(0x1e8)][_0x517863(0x1ec)]?this[_0x517863(0x1f3)]=_0x517863(0x219):this[_0x517863(0x1f3)]=_0x517863(0x1e4));}catch(_0x1651f9){this[_0x517863(0x1f0)]=_0x1651f9,_0x1651f9 instanceof Error&&_0x1651f9[_0x517863(0x1cc)][_0x517863(0x205)](_0x517863(0x211))?this[_0x517863(0x1f3)]=_0x517863(0x217):this[_0x517863(0x1f3)]=_0x517863(0x1bb);}finally{this[_0x517863(0x208)]=null;}}async[_0x1bb500(0x1fd)](){const _0xaa2900=_0x1bb500;this[_0xaa2900(0x1e7)][_0xaa2900(0x1de)](),this[_0xaa2900(0x1e8)][_0xaa2900(0x1ec)]=0x0,this[_0xaa2900(0x1f0)]=void 0x0,await this[_0xaa2900(0x1d9)]();}[_0x1bb500(0x1f9)](_0x147f32,_0x411364){const _0x1eb096=_0x1bb500,_0x432074=this[_0x1eb096(0x1e7)][_0x1eb096(0x20a)](_0x147f32);if(!_0x432074)return;if(0x0===_0x411364[_0x1eb096(0x1ec)])return;const _0xd07499=[];_0x411364[_0x1eb096(0x1b8)]((_0x16f16d,_0x7f9067)=>{const _0x58caca=_0x1eb096,_0x4dc661=new _0x1a0fde(_0x432074['id']+'-'+_0x7f9067,_0x16f16d,_0x432074);_0x4dc661['on'](_0x58caca(0x1d0),()=>{const _0x282705=_0x58caca;this[_0x282705(0x214)](_0x282705(0x1e9),{'change':_0x4dc661,'status':_0x4dc661[_0x282705(0x1f3)]});}),_0x4dc661['on'](_0x58caca(0x1df),()=>{const _0x398eb7=_0x58caca;_0x4dc661[_0x398eb7(0x20f)]?this[_0x398eb7(0x214)](_0x398eb7(0x201),{'change':_0x4dc661}):this[_0x398eb7(0x214)](_0x398eb7(0x1d1),{'change':_0x4dc661});}),this[_0x58caca(0x1e8)][_0x58caca(0x212)](_0x4dc661),_0xd07499[_0x58caca(0x212)](_0x4dc661);}),this[_0x1eb096(0x214)](_0x1eb096(0x1f6),{'changes':_0xd07499,'result':_0x432074,'source':this});}[_0x1bb500(0x1d4)](){const _0x1c44a3=_0x1bb500;this[_0x1c44a3(0x208)]&&(this[_0x1c44a3(0x208)][_0x1c44a3(0x1d2)][_0x1c44a3(0x1d4)](),this[_0x1c44a3(0x208)]=null,this[_0x1c44a3(0x1f3)]=_0x1c44a3(0x217));}[_0x1bb500(0x1e0)](_0x4a9c52){const _0x127bda=_0x1bb500,_0x9ff37=this[_0x127bda(0x1e8)][_0x127bda(0x1f8)](_0x3819ef=>_0x3819ef['id']===_0x4a9c52);return!(!_0x9ff37||_0x127bda(0x210)!==_0x9ff37[_0x127bda(0x1f3)]);}[_0x1bb500(0x21c)](){const _0x37d5d2=_0x1bb500;return this[_0x37d5d2(0x1e8)][_0x37d5d2(0x1c6)](_0x9e4918=>!0x0===_0x9e4918[_0x37d5d2(0x20f)]);}[_0x1bb500(0x1f4)](){const _0x9e8b5=_0x1bb500;return this[_0x9e8b5(0x1e8)][_0x9e8b5(0x1eb)](_0x33a9f4=>_0x9e8b5(0x210)===_0x33a9f4[_0x9e8b5(0x1f3)]);}[_0x1bb500(0x1d5)](_0x3f1255){const _0x4e03d8=_0x1bb500;return this[_0x4e03d8(0x1e8)][_0x4e03d8(0x1f8)](_0x364d8a=>_0x364d8a['id']===_0x3f1255);}[_0x1bb500(0x1ce)](){const _0x765dff=_0x1bb500;for(const _0x43fed9 of this[_0x765dff(0x1e8)])_0x765dff(0x210)===_0x43fed9[_0x765dff(0x1f3)]&&(_0x43fed9[_0x765dff(0x1f3)]=_0x765dff(0x1ba));this[_0x765dff(0x20b)]();}[_0x1bb500(0x206)](_0x32ce25){const _0x41790c=_0x1bb500,_0x5adc54=this[_0x41790c(0x1e8)][_0x41790c(0x1f8)](_0x5173ee=>_0x5173ee['id']===_0x32ce25);_0x5adc54&&_0x41790c(0x210)===_0x5adc54[_0x41790c(0x1f3)]&&(_0x5adc54[_0x41790c(0x1f3)]=_0x41790c(0x1ba)),this[_0x41790c(0x20b)]();}[_0x1bb500(0x1c1)](_0x4c29fe){const _0x3d0284=_0x1bb500,_0x2720bf=this[_0x3d0284(0x1e8)][_0x3d0284(0x1f8)](_0x4dd5f6=>_0x4dd5f6['id']===_0x4c29fe);_0x2720bf&&_0x3d0284(0x210)===_0x2720bf[_0x3d0284(0x1f3)]&&(_0x2720bf[_0x3d0284(0x1f3)]=_0x3d0284(0x1da)),this[_0x3d0284(0x20b)]();}[_0x1bb500(0x1bc)](_0x26c313){const _0x162354=_0x1bb500,_0x166057=this[_0x162354(0x1e8)][_0x162354(0x1f8)](_0x3021c5=>_0x3021c5['id']===_0x26c313);_0x166057&&_0x162354(0x210)===_0x166057[_0x162354(0x1f3)]&&(_0x166057[_0x162354(0x1f3)]=_0x162354(0x1f5)),this[_0x162354(0x20b)]();}[_0x1bb500(0x1ea)](_0x3bd091){const _0x575cb8=_0x1bb500,_0x5c2c50=this[_0x575cb8(0x1e8)][_0x575cb8(0x1f8)](_0x492f4f=>_0x492f4f['id']===_0x3bd091);_0x5c2c50&&_0x575cb8(0x1f5)===_0x5c2c50[_0x575cb8(0x1f3)]&&(_0x5c2c50[_0x575cb8(0x1f3)]=_0x575cb8(0x210)),this[_0x575cb8(0x20b)]();}[_0x1bb500(0x1d7)](_0x1a33c5){const _0x17b9f7=_0x1bb500;this[_0x17b9f7(0x1e8)][_0x17b9f7(0x1eb)](_0x1c4993=>_0x1c4993[_0x17b9f7(0x20f)]&&_0x1c4993['id']!==_0x1a33c5)[_0x17b9f7(0x1b8)](_0x556552=>{const _0x3c5981=_0x17b9f7;_0x556552[_0x3c5981(0x20f)]=!0x1;});const _0x5cca01=this[_0x17b9f7(0x1e8)][_0x17b9f7(0x1f8)](_0x5d1946=>_0x5d1946['id']===_0x1a33c5);_0x5cca01&&_0x17b9f7(0x210)===_0x5cca01[_0x17b9f7(0x1f3)]&&(_0x5cca01[_0x17b9f7(0x20f)]=!0x0);}[_0x1bb500(0x1bf)](){const _0x4fc59e=_0x1bb500;this[_0x4fc59e(0x1e8)][_0x4fc59e(0x1eb)](_0x6932ac=>_0x6932ac[_0x4fc59e(0x20f)])[_0x4fc59e(0x1b8)](_0x3d2399=>{const _0x124f86=_0x4fc59e;_0x3d2399[_0x124f86(0x20f)]=!0x1;});}[_0x1bb500(0x1fa)](){const _0x36fbf5=_0x1bb500;this[_0x36fbf5(0x1f3)]=_0x36fbf5(0x1e4);}async[_0x1bb500(0x218)](_0x5567e0){const _0x13d0a8=_0x1bb500;if(_0x13d0a8(0x1f2)===this[_0x13d0a8(0x1f3)]||_0x13d0a8(0x1f1)===this[_0x13d0a8(0x1f3)]||_0x13d0a8(0x1c5)===this[_0x13d0a8(0x1f3)]||this[_0x13d0a8(0x20e)])return;if(!this[_0x13d0a8(0x209)]||0x0===this[_0x13d0a8(0x1e8)][_0x13d0a8(0x1ec)])return;let _0x4bbf38;if(_0x5567e0){const _0x2dbd5c=this[_0x13d0a8(0x1e8)][_0x13d0a8(0x1f8)](_0x4ffe90=>_0x4ffe90['id']===_0x5567e0);if(_0x2dbd5c&&_0x2dbd5c[_0x13d0a8(0x1ee)])return;_0x2dbd5c&&(_0x4bbf38=_0x2dbd5c[_0x13d0a8(0x1ff)]['id'],_0x2dbd5c[_0x13d0a8(0x1ee)]=!0x0);}const _0x3580af={'positiveCount':this[_0x13d0a8(0x1e8)][_0x13d0a8(0x1eb)](_0x1658d8=>_0x13d0a8(0x1ba)===_0x1658d8[_0x13d0a8(0x1f3)])[_0x13d0a8(0x1ec)],'totalCount':this[_0x13d0a8(0x1e8)][_0x13d0a8(0x1ec)]};this[_0x13d0a8(0x1c4)](_0x3580af,this[_0x13d0a8(0x209)],_0x4bbf38);}[_0x1bb500(0x1dd)](_0x594a96,_0x3495f6){const _0x1b616b=_0x1bb500,_0x5a7860=this[_0x1b616b(0x1e5)][_0x1b616b(0x21b)][_0x1b616b(0x20a)](_0x594a96);if(!_0x5a7860)return;const _0x3eb6f7=_0x5a7860[_0x1b616b(0x1b9)]();if(_0x3eb6f7===_0x3495f6)return;const _0x2733a7=new _0x43c07f({'id':_0x594a96,'contentInitial':_0x3eb6f7,'contentNew':_0x3495f6,'documentVersion':this[_0x1b616b(0x1e5)][_0x1b616b(0x216)]});this[_0x1b616b(0x1e7)][_0x1b616b(0x1ed)](_0x2733a7['id'],_0x2733a7),this[_0x1b616b(0x214)](_0x1b616b(0x1c3),{'result':_0x2733a7,'source':this});}[_0x1bb500(0x20b)](){const _0x11ad98=_0x1bb500;_0x11ad98(0x1c8)===this[_0x11ad98(0x1f3)]&&(this[_0x11ad98(0x1e8)][_0x11ad98(0x1eb)](_0x588cc7=>_0x11ad98(0x210)===_0x588cc7[_0x11ad98(0x1f3)])[_0x11ad98(0x1ec)]>0x0&&(this[_0x11ad98(0x1f3)]=_0x11ad98(0x1e4))),_0x11ad98(0x1e4)===this[_0x11ad98(0x1f3)]&&(0x0===this[_0x11ad98(0x1e8)][_0x11ad98(0x1eb)](_0x31ded6=>_0x11ad98(0x210)===_0x31ded6[_0x11ad98(0x1f3)])[_0x11ad98(0x1ec)]&&(this[_0x11ad98(0x1f3)]=_0x11ad98(0x1c8)));}}
|
|
23
|
+
function _0x191a(_0x954d20,_0x235160){const _0x1b17fa=_0x1b17();return _0x191a=function(_0x191a15,_0x1167df){_0x191a15=_0x191a15-0x85;let _0x29675d=_0x1b17fa[_0x191a15];return _0x29675d;},_0x191a(_0x954d20,_0x235160);}const _0x4a7a8f=_0x191a;(function(_0x16d9bf,_0x4f512d){const _0xc2ce09=_0x191a,_0x525255=_0x16d9bf();while(!![]){try{const _0x3db6d4=-parseInt(_0xc2ce09(0x89))/0x1*(-parseInt(_0xc2ce09(0xaf))/0x2)+-parseInt(_0xc2ce09(0xb9))/0x3*(-parseInt(_0xc2ce09(0xc2))/0x4)+-parseInt(_0xc2ce09(0xe2))/0x5*(parseInt(_0xc2ce09(0x88))/0x6)+parseInt(_0xc2ce09(0x92))/0x7+-parseInt(_0xc2ce09(0x9a))/0x8*(parseInt(_0xc2ce09(0xba))/0x9)+parseInt(_0xc2ce09(0xcc))/0xa+-parseInt(_0xc2ce09(0x91))/0xb;if(_0x3db6d4===_0x4f512d)break;else _0x525255['push'](_0x525255['shift']());}catch(_0x5c209f){_0x525255['push'](_0x525255['shift']());}}}(_0x1b17,0x7ae5b));import{ObservableMixin as _0xe865d1,uid as _0xc02fe0}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x12a3b4}from'./aireviewcheckresult.js';function _0x1b17(){const _0x148de4=['2435755QCwZNd','rejected','activateChange','push','getStream','status','restart','operation','88UKdTSP','_createApiRequest','_sendRatingRequest','updateDocumentData','markChangeAsAccepted','_currentError','_aiConnector','reviewCheckResultDeactivated','pending','message','_activeRequest','forceReadyState','clear','accepted','error-general','markChangeAsOutdated','_results','isActivated','fire','review-metadata','ready','6EhYPsf','outdated','processedResultsCount','elements','loading','initialized','_checkIfFinished','title','aborted','ai-request-aborted','33qesrXX','66762FlwpBn','start','parent','textDelta','reviewName','change:status','unmodified','getActiveChanges','277060csbCpv','_reviewArgs','subTitle','includes','markChangeAsRejected','event','dataId','markAllChangesAsAccepted','documentData','_addReviewCheckResult','4929350dtRBSn','markChangeAsPending','reviewCheckResultChangeStatusUpdated','reviewCheckRunUpdated','data','getChangeById','error-chunk','change:isActivated','abortController','_documentData','abort','reviewCheckResultActivated','_reviewParams','find','reviewCheckResultAdded','forEach','error','version','callId','isChangeActive','filter','size','120530cdsjKL','reviewCheckResultReady','isAnyChangeActivated','some','isRated','set','_wasAborted','finished','_changes','hasModifications','get','sendRating','54FmEkoG','121189bLRniL','addResultChanges','length','currentError','deactivateChange','getContent','_sourceCheck','every','12808873awtdaP'];_0x1b17=function(){return _0x148de4;};return _0x1b17();}import{AIReviewCheckResultChange as _0x184859}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0xe865d1(){['id']=_0xc02fe0();[_0x4a7a8f(0xde)];[_0x4a7a8f(0xaa)]=new Map();[_0x4a7a8f(0xea)]=[];[_0x4a7a8f(0x8f)];[_0x4a7a8f(0xd5)];[_0x4a7a8f(0xa0)];[_0x4a7a8f(0xd8)];[_0x4a7a8f(0xc3)];[_0x4a7a8f(0xa4)]=null;[_0x4a7a8f(0x9f)];[_0x4a7a8f(0xe8)]=!0x1;constructor(_0x382d22,_0x171aec,_0x41f879,_0x3d7f70,_0x33a045){const _0x12f18b=_0x4a7a8f;super(),this[_0x12f18b(0x8f)]=_0x171aec,this[_0x12f18b(0xd5)]=_0x382d22,this[_0x12f18b(0xa0)]=_0x41f879,this[_0x12f18b(0xd8)]=_0x3d7f70,this[_0x12f18b(0xc3)]=_0x33a045,this['on'](_0x12f18b(0xbf),(_0x1ec429,_0x51db36,_0x4ba5d3)=>{const _0xeb550=_0x12f18b;_0xeb550(0xb7)==_0x4ba5d3&&(this[_0xeb550(0xe8)]=!0x0),this[_0xeb550(0xac)](_0xeb550(0xcf),{'status':_0x4ba5d3,'run':this,'error':this[_0xeb550(0x9f)]});}),this[_0x12f18b(0xe7)](_0x12f18b(0x97),_0x12f18b(0xb4));}get[_0x4a7a8f(0xca)](){const _0x202bd5=_0x4a7a8f;return this[_0x202bd5(0xd5)];}get[_0x4a7a8f(0xb1)](){const _0x100962=_0x4a7a8f;return this[_0x100962(0xaa)][_0x100962(0xe1)];}get[_0x4a7a8f(0xb6)](){const _0x56a38a=_0x4a7a8f;return this[_0x56a38a(0x8f)][_0x56a38a(0xb6)];}get[_0x4a7a8f(0xc4)](){return'';}get[_0x4a7a8f(0xbe)](){const _0x459dc9=_0x4a7a8f;return this[_0x459dc9(0x8f)]['id'];}get[_0x4a7a8f(0x85)](){const _0x5e3d99=_0x4a7a8f;return!this[_0x5e3d99(0xea)][_0x5e3d99(0x90)](_0x1c9a7f=>_0x5e3d99(0xa2)===_0x1c9a7f[_0x5e3d99(0x97)]);}get[_0x4a7a8f(0x8c)](){const _0x2c8953=_0x4a7a8f;return this[_0x2c8953(0x9f)];}[_0x4a7a8f(0x9d)](_0x44ab27){const _0x4c9073=_0x4a7a8f;this[_0x4c9073(0xd5)]=_0x44ab27;}async[_0x4a7a8f(0xbb)](){const _0x4c2789=_0x4a7a8f;this[_0x4c2789(0x97)]=_0x4c2789(0xb3),this[_0x4c2789(0x9f)]=void 0x0;try{this[_0x4c2789(0xa4)]=this[_0x4c2789(0x9b)]();const _0x340d29=await this[_0x4c2789(0xa4)][_0x4c2789(0x96)]();this[_0x4c2789(0x97)]=_0x4c2789(0xd0);for await(const _0x3f79f7 of _0x340d29)_0x4c2789(0xc0)!==_0x3f79f7[_0x4c2789(0xd0)][_0x4c2789(0x99)]&&(_0x4c2789(0xdc)!==_0x3f79f7[_0x4c2789(0xd0)][_0x4c2789(0x99)]?_0x4c2789(0xad)!==_0x3f79f7[_0x4c2789(0xc7)]?this[_0x4c2789(0xcb)](_0x3f79f7[_0x4c2789(0xd0)][_0x4c2789(0xc8)],_0x3f79f7[_0x4c2789(0xd0)][_0x4c2789(0xbd)]):this[_0x4c2789(0xde)]=_0x3f79f7[_0x4c2789(0xd0)][_0x4c2789(0xde)]:this[_0x4c2789(0x97)]=_0x4c2789(0xd2));_0x4c2789(0xd2)!==this[_0x4c2789(0x97)]&&(0x0===this[_0x4c2789(0xaa)][_0x4c2789(0xe1)]||0x0===this[_0x4c2789(0xea)][_0x4c2789(0x8b)]?this[_0x4c2789(0x97)]=_0x4c2789(0xc0):this[_0x4c2789(0x97)]=_0x4c2789(0xae));}catch(_0x4e43f7){this[_0x4c2789(0x9f)]=_0x4e43f7,_0x4e43f7 instanceof Error&&_0x4e43f7[_0x4c2789(0xa3)][_0x4c2789(0xc5)](_0x4c2789(0xb8))?this[_0x4c2789(0x97)]=_0x4c2789(0xb7):this[_0x4c2789(0x97)]=_0x4c2789(0xa8);}finally{this[_0x4c2789(0xa4)]=null;}}async[_0x4a7a8f(0x98)](){const _0x3ef726=_0x4a7a8f;this[_0x3ef726(0xaa)][_0x3ef726(0xa6)](),this[_0x3ef726(0xea)][_0x3ef726(0x8b)]=0x0,this[_0x3ef726(0x9f)]=void 0x0,await this[_0x3ef726(0xbb)]();}[_0x4a7a8f(0x8a)](_0x2185e7,_0xf514b4){const _0x16f2e9=_0x4a7a8f,_0x5d56b0=this[_0x16f2e9(0xaa)][_0x16f2e9(0x86)](_0x2185e7);if(!_0x5d56b0)return;if(0x0===_0xf514b4[_0x16f2e9(0x8b)])return;const _0x104019=[];_0xf514b4[_0x16f2e9(0xdb)]((_0x175bb0,_0x3f32f9)=>{const _0x17ab97=_0x16f2e9,_0xdb304b=new _0x184859(_0x5d56b0['id']+'-'+_0x3f32f9,_0x175bb0,_0x5d56b0);_0xdb304b['on'](_0x17ab97(0xbf),()=>{const _0x4d96ce=_0x17ab97;this[_0x4d96ce(0xac)](_0x4d96ce(0xce),{'change':_0xdb304b,'status':_0xdb304b[_0x4d96ce(0x97)]});}),_0xdb304b['on'](_0x17ab97(0xd3),()=>{const _0x4ff84a=_0x17ab97;_0xdb304b[_0x4ff84a(0xab)]?this[_0x4ff84a(0xac)](_0x4ff84a(0xd7),{'change':_0xdb304b}):this[_0x4ff84a(0xac)](_0x4ff84a(0xa1),{'change':_0xdb304b});}),this[_0x17ab97(0xea)][_0x17ab97(0x95)](_0xdb304b),_0x104019[_0x17ab97(0x95)](_0xdb304b);}),this[_0x16f2e9(0xac)](_0x16f2e9(0xe3),{'changes':_0x104019,'result':_0x5d56b0,'source':this});}[_0x4a7a8f(0xd6)](){const _0x15ee32=_0x4a7a8f;this[_0x15ee32(0xa4)]&&(this[_0x15ee32(0xa4)][_0x15ee32(0xd4)][_0x15ee32(0xd6)](),this[_0x15ee32(0xa4)]=null,this[_0x15ee32(0x97)]=_0x15ee32(0xb7));}[_0x4a7a8f(0xdf)](_0x3d6de1){const _0x13b6c3=_0x4a7a8f,_0x472aee=this[_0x13b6c3(0xea)][_0x13b6c3(0xd9)](_0x4b7566=>_0x4b7566['id']===_0x3d6de1);return!(!_0x472aee||_0x13b6c3(0xa2)!==_0x472aee[_0x13b6c3(0x97)]);}[_0x4a7a8f(0xe4)](){const _0x3d12ed=_0x4a7a8f;return this[_0x3d12ed(0xea)][_0x3d12ed(0xe5)](_0xc845a5=>!0x0===_0xc845a5[_0x3d12ed(0xab)]);}[_0x4a7a8f(0xc1)](){const _0x11bdce=_0x4a7a8f;return this[_0x11bdce(0xea)][_0x11bdce(0xe0)](_0x1dd6a3=>_0x11bdce(0xa2)===_0x1dd6a3[_0x11bdce(0x97)]);}[_0x4a7a8f(0xd1)](_0x3635e4){const _0x2f19e5=_0x4a7a8f;return this[_0x2f19e5(0xea)][_0x2f19e5(0xd9)](_0x19dc1c=>_0x19dc1c['id']===_0x3635e4);}[_0x4a7a8f(0xc9)](){const _0x5cc483=_0x4a7a8f;for(const _0x3cd6ce of this[_0x5cc483(0xea)])_0x5cc483(0xa2)===_0x3cd6ce[_0x5cc483(0x97)]&&(_0x3cd6ce[_0x5cc483(0x97)]=_0x5cc483(0xa7));this[_0x5cc483(0xb5)]();}[_0x4a7a8f(0x9e)](_0x3e4319){const _0x61eb04=_0x4a7a8f,_0x27ffe2=this[_0x61eb04(0xea)][_0x61eb04(0xd9)](_0x148494=>_0x148494['id']===_0x3e4319);_0x27ffe2&&_0x61eb04(0xa2)===_0x27ffe2[_0x61eb04(0x97)]&&(_0x27ffe2[_0x61eb04(0x97)]=_0x61eb04(0xa7)),this[_0x61eb04(0xb5)]();}[_0x4a7a8f(0xc6)](_0x3e17a0){const _0x3ce71b=_0x4a7a8f,_0x483ab3=this[_0x3ce71b(0xea)][_0x3ce71b(0xd9)](_0x22a9a1=>_0x22a9a1['id']===_0x3e17a0);_0x483ab3&&_0x3ce71b(0xa2)===_0x483ab3[_0x3ce71b(0x97)]&&(_0x483ab3[_0x3ce71b(0x97)]=_0x3ce71b(0x93)),this[_0x3ce71b(0xb5)]();}[_0x4a7a8f(0xa9)](_0x34a0e5){const _0x1b249c=_0x4a7a8f,_0x1994bd=this[_0x1b249c(0xea)][_0x1b249c(0xd9)](_0x2935ff=>_0x2935ff['id']===_0x34a0e5);_0x1994bd&&_0x1b249c(0xa2)===_0x1994bd[_0x1b249c(0x97)]&&(_0x1994bd[_0x1b249c(0x97)]=_0x1b249c(0xb0)),this[_0x1b249c(0xb5)]();}[_0x4a7a8f(0xcd)](_0x2f8163){const _0x365bf2=_0x4a7a8f,_0x27bd30=this[_0x365bf2(0xea)][_0x365bf2(0xd9)](_0x87ae4=>_0x87ae4['id']===_0x2f8163);_0x27bd30&&_0x365bf2(0xb0)===_0x27bd30[_0x365bf2(0x97)]&&(_0x27bd30[_0x365bf2(0x97)]=_0x365bf2(0xa2)),this[_0x365bf2(0xb5)]();}[_0x4a7a8f(0x94)](_0x28261e){const _0x46c1d9=_0x4a7a8f;this[_0x46c1d9(0xea)][_0x46c1d9(0xe0)](_0x72625=>_0x72625[_0x46c1d9(0xab)]&&_0x72625['id']!==_0x28261e)[_0x46c1d9(0xdb)](_0x10a07d=>{const _0x3daac4=_0x46c1d9;_0x10a07d[_0x3daac4(0xab)]=!0x1;});const _0xd896ea=this[_0x46c1d9(0xea)][_0x46c1d9(0xd9)](_0x5ee850=>_0x5ee850['id']===_0x28261e);_0xd896ea&&_0x46c1d9(0xa2)===_0xd896ea[_0x46c1d9(0x97)]&&(_0xd896ea[_0x46c1d9(0xab)]=!0x0);}[_0x4a7a8f(0x8d)](){const _0x33829b=_0x4a7a8f;this[_0x33829b(0xea)][_0x33829b(0xe0)](_0x44195f=>_0x44195f[_0x33829b(0xab)])[_0x33829b(0xdb)](_0x2bc31d=>{const _0x69d493=_0x33829b;_0x2bc31d[_0x69d493(0xab)]=!0x1;});}[_0x4a7a8f(0xa5)](){const _0x12834f=_0x4a7a8f;this[_0x12834f(0x97)]=_0x12834f(0xae);}async[_0x4a7a8f(0x87)](_0x1b019a){const _0x565f57=_0x4a7a8f;if(_0x565f57(0xb4)===this[_0x565f57(0x97)]||_0x565f57(0xb3)===this[_0x565f57(0x97)]||_0x565f57(0xd0)===this[_0x565f57(0x97)]||this[_0x565f57(0xe8)])return;if(!this[_0x565f57(0xde)]||0x0===this[_0x565f57(0xea)][_0x565f57(0x8b)])return;let _0x3e19e8;if(_0x1b019a){const _0x4033dd=this[_0x565f57(0xea)][_0x565f57(0xd9)](_0x187f66=>_0x187f66['id']===_0x1b019a);if(_0x4033dd&&_0x4033dd[_0x565f57(0xe6)])return;_0x4033dd&&(_0x3e19e8=_0x4033dd[_0x565f57(0xbc)]['id'],_0x4033dd[_0x565f57(0xe6)]=!0x0);}const _0x4d5f97={'positiveCount':this[_0x565f57(0xea)][_0x565f57(0xe0)](_0x4638b6=>_0x565f57(0xa7)===_0x4638b6[_0x565f57(0x97)])[_0x565f57(0x8b)],'totalCount':this[_0x565f57(0xea)][_0x565f57(0x8b)]};this[_0x565f57(0x9c)](_0x4d5f97,this[_0x565f57(0xde)],_0x3e19e8);}[_0x4a7a8f(0xcb)](_0xc5b599,_0x52ebfc){const _0x1b081c=_0x4a7a8f,_0x5cc8e9=this[_0x1b081c(0xd5)][_0x1b081c(0xb2)][_0x1b081c(0x86)](_0xc5b599);if(!_0x5cc8e9)return;const _0x48c0a0=_0x5cc8e9[_0x1b081c(0x8e)]();if(_0x48c0a0===_0x52ebfc)return;const _0x58c624=new _0x12a3b4({'id':_0xc5b599,'contentInitial':_0x48c0a0,'contentNew':_0x52ebfc,'documentVersion':this[_0x1b081c(0xd5)][_0x1b081c(0xdd)]});this[_0x1b081c(0xaa)][_0x1b081c(0xe7)](_0x58c624['id'],_0x58c624),this[_0x1b081c(0xac)](_0x1b081c(0xda),{'result':_0x58c624,'source':this});}[_0x4a7a8f(0xb5)](){const _0x47d1f7=_0x4a7a8f;_0x47d1f7(0xe9)===this[_0x47d1f7(0x97)]&&(this[_0x47d1f7(0xea)][_0x47d1f7(0xe0)](_0x1599d9=>_0x47d1f7(0xa2)===_0x1599d9[_0x47d1f7(0x97)])[_0x47d1f7(0x8b)]>0x0&&(this[_0x47d1f7(0x97)]=_0x47d1f7(0xae))),_0x47d1f7(0xae)===this[_0x47d1f7(0x97)]&&(0x0===this[_0x47d1f7(0xea)][_0x47d1f7(0xe0)](_0x3abfac=>_0x47d1f7(0xa2)===_0x3abfac[_0x47d1f7(0x97)])[_0x47d1f7(0x8b)]&&(this[_0x47d1f7(0x97)]=_0x47d1f7(0xe9)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2eb6(){const _0x3e412d=['186128wNxZdv','_composeReviewName','3278898TvXxWX','apiId','subTitle','_sendRatingRequest','_aiConnector','callSystemReview','_reviewArgs','label','_createApiRequest','length','1845618WhmIzg','10BIhJvd','657tbhRYe','options','upsertAIReviewRating','_sourceCheck','789kDVhkz','useArgs','find','join','push','content','13214rKGuqz','1167982iUTHlJ','4994812nnrIBT','reviewName','_reviewParams','5GYqdAf','_documentData','50076081DUNKrM','data'];_0x2eb6=function(){return _0x3e412d;};return _0x2eb6();}function _0x4c3d(_0x35b143,_0x2d1ff2){const _0x2eb695=_0x2eb6();return _0x4c3d=function(_0x4c3da8,_0x5c5728){_0x4c3da8=_0x4c3da8-0xa9;let _0x14bd47=_0x2eb695[_0x4c3da8];return _0x14bd47;},_0x4c3d(_0x35b143,_0x2d1ff2);}const _0x15a850=_0x4c3d;(function(_0x35e982,_0x5b036d){const _0x54bd7d=_0x4c3d,_0xc9d783=_0x35e982();while(!![]){try{const _0x4744df=parseInt(_0x54bd7d(0xc6))/0x1+-parseInt(_0x54bd7d(0xc5))/0x2*(parseInt(_0x54bd7d(0xbf))/0x3)+-parseInt(_0x54bd7d(0xc7))/0x4*(parseInt(_0x54bd7d(0xa9))/0x5)+parseInt(_0x54bd7d(0xb9))/0x6+-parseInt(_0x54bd7d(0xaf))/0x7+parseInt(_0x54bd7d(0xad))/0x8*(-parseInt(_0x54bd7d(0xbb))/0x9)+parseInt(_0x54bd7d(0xba))/0xa*(parseInt(_0x54bd7d(0xab))/0xb);if(_0x4744df===_0x5b036d)break;else _0xc9d783['push'](_0xc9d783['shift']());}catch(_0x175b45){_0xc9d783['push'](_0xc9d783['shift']());}}}(_0x2eb6,0xd591c));import{AIReviewCheckRun as _0x4ad66d}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x4ad66d{get[_0x15a850(0xb1)](){const _0x462f41=_0x15a850;if(!this[_0x462f41(0xc9)]||0x0===this[_0x462f41(0xc9)][_0x462f41(0xb8)])return'';const _0x4a5e57=[];if(this[_0x462f41(0xc9)][_0x462f41(0xb8)]>0x0&&this[_0x462f41(0xbe)][_0x462f41(0xbc)])for(let _0x2d2b67=0x0;_0x2d2b67<this[_0x462f41(0xc9)][_0x462f41(0xb8)];_0x2d2b67++){if(!this[_0x462f41(0xc9)][_0x2d2b67]||!this[_0x462f41(0xbe)][_0x462f41(0xbc)][_0x2d2b67])continue;const _0x2612aa=this[_0x462f41(0xbe)][_0x462f41(0xbc)][_0x2d2b67],_0x43fc35=_0x2612aa[_0x462f41(0xac)]?.[_0x462f41(0xc1)](_0xa66044=>_0xa66044['id']===this[_0x462f41(0xc9)][_0x2d2b67]);_0x43fc35&&_0x4a5e57[_0x462f41(0xc3)](_0x43fc35[_0x462f41(0xb6)]);}return _0x4a5e57[_0x462f41(0xc2)](',\x20');}get[_0x15a850(0xc8)](){const _0x42e346=_0x15a850;return this[_0x42e346(0xae)]();}[_0x15a850(0xb7)](){const _0x540f4c=_0x15a850;return this[_0x540f4c(0xb3)][_0x540f4c(0xb4)]({'reviewName':this[_0x540f4c(0xae)](),'content':this[_0x540f4c(0xaa)][_0x540f4c(0xc4)],'args':this[_0x540f4c(0xb5)]});}[_0x15a850(0xb2)](_0x4d4066,_0x5dabe0,_0xf252a3){const _0x586a00=_0x15a850;return this[_0x586a00(0xb3)][_0x586a00(0xbd)](this[_0x586a00(0xc8)],_0x5dabe0,_0x4d4066,_0xf252a3);}[_0x15a850(0xae)](){const _0x4ec664=_0x15a850;return!this[_0x4ec664(0xc9)]||0x0===this[_0x4ec664(0xc9)][_0x4ec664(0xb8)]||this[_0x4ec664(0xbe)][_0x4ec664(0xc0)]?this[_0x4ec664(0xbe)][_0x4ec664(0xb0)]:[this[_0x4ec664(0xbe)][_0x4ec664(0xb0)],...this[_0x4ec664(0xc9)]][_0x4ec664(0xc2)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x37ef(){const _0x50ce6c=['div','arrow_','10238229egXdgR','_pinnedRectIndex','balloon','render','14gfcDLj','hideDiffInBalloon','push','changeId','set','bindTemplate','_pinnedTargetChangeId','reverse','position','add','hover','_isPinnedRectVisible','clientY','getBoundingClientRect','ck-ai_review__suggestion-text','hide','right','1536759pzkcfn','documentElement','fire','ck-reset','bottom','clientX','462834UJvUJI','innerHTML','resultItemView','getIntersection','_createContentView','isDiffActive','hideBalloon','left','1543768XooNFq','1990jdKDRI','width','show','content','acceptChange','deactivateChange','unpin','delegate','replace','ck-ai_review-balloon-panel-suggestion','1001706NOuqBN','element','from','resultResponseView','pin','forEach','ck-ai_review-balloon-panel-suggestion_diff-active','dismissChange','337981hzMUWw','isVisible','getClientRects','setTemplate','updateContent','length','showDiff','5192RxBoUX','_getPointedRectIndexFromEvent','_pinnedTargetElement','arrow_se','_setupClickOutsideHandler','top','click','locale','showDiffInBalloon','showBalloon','ck-content','_getBestRectPositionOnHover','contentDiffed','extendTemplate','_getBestRectPositionOnClick'];_0x37ef=function(){return _0x50ce6c;};return _0x37ef();}function _0x5963(_0x4cb0b8,_0x481a5f){const _0x37efac=_0x37ef();return _0x5963=function(_0x5963e9,_0x18b4cc){_0x5963e9=_0x5963e9-0x12d;let _0x43f876=_0x37efac[_0x5963e9];return _0x43f876;},_0x5963(_0x4cb0b8,_0x481a5f);}const _0x6cd3c9=_0x5963;(function(_0x28347c,_0x4956d1){const _0x2d1cc8=_0x5963,_0x419279=_0x28347c();while(!![]){try{const _0x138f5f=-parseInt(_0x2d1cc8(0x160))/0x1+parseInt(_0x2d1cc8(0x145))/0x2+parseInt(_0x2d1cc8(0x13f))/0x3+-parseInt(_0x2d1cc8(0x167))/0x4*(-parseInt(_0x2d1cc8(0x14e))/0x5)+parseInt(_0x2d1cc8(0x158))/0x6+parseInt(_0x2d1cc8(0x12e))/0x7*(parseInt(_0x2d1cc8(0x14d))/0x8)+-parseInt(_0x2d1cc8(0x178))/0x9;if(_0x138f5f===_0x4956d1)break;else _0x419279['push'](_0x419279['shift']());}catch(_0x1abd69){_0x419279['push'](_0x419279['shift']());}}}(_0x37ef,0x526c5));import{Rect as _0x5a56ef,getConstrainedViewportRect as _0x58f17d}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x94cf5a,View as _0x1da03a,clickOutsideHandler as _0x2b78dd}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x537a58}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x94cf5a{[_0x6cd3c9(0x147)];[_0x6cd3c9(0x179)]=void 0x0;[_0x6cd3c9(0x169)]=void 0x0;[_0x6cd3c9(0x134)]=void 0x0;constructor(_0x5a065d,_0x209274){const _0x14e749=_0x6cd3c9;super(_0x5a065d),this[_0x14e749(0x132)]({'isVisible':!0x1,'position':_0x14e749(0x16a),'class':null,'top':0x0,'left':0x0}),this[_0x14e749(0x174)]({'tag':_0x14e749(0x176),'attributes':{'class':[_0x14e749(0x142)],'tabindex':'-1'}}),this[_0x14e749(0x132)](_0x14e749(0x14a),!0x1),this[_0x14e749(0x151)][_0x14e749(0x137)](this[_0x14e749(0x149)]()),_0x209274[_0x14e749(0x137)](this);}[_0x6cd3c9(0x12d)](){const _0x1b7e47=_0x6cd3c9;super[_0x1b7e47(0x12d)](),this[_0x1b7e47(0x16b)]();}[_0x6cd3c9(0x164)](_0x1f7cb4){const _0x373f05=_0x6cd3c9;this[_0x373f05(0x147)][_0x373f05(0x131)]=_0x1f7cb4['id'],this[_0x373f05(0x147)][_0x373f05(0x15b)][_0x373f05(0x159)][_0x373f05(0x146)]=_0x1f7cb4[_0x373f05(0x173)];}[_0x6cd3c9(0x170)](_0x3012a9,_0x5a76df,_0x3cd0fb,_0x1c7431,_0x39d919,_0x59a094){const _0x2be052=_0x6cd3c9,_0x28bccd=_0x5a76df();if(!_0x28bccd)return;this[_0x2be052(0x164)](_0x3012a9),this[_0x2be052(0x150)]();const _0x1141d6=Array[_0x2be052(0x15a)](_0x28bccd[_0x2be052(0x162)]())[_0x2be052(0x135)](),_0x4cfa65=this[_0x2be052(0x168)](_0x3cd0fb,_0x1141d6),_0x19566d=_0x1141d6[_0x4cfa65??0x0];_0x2be052(0x16d)===_0x1c7431?(this[_0x2be052(0x14a)]=!0x0,this[_0x2be052(0x15c)]({'target':()=>this[_0x2be052(0x175)](_0x5a76df(),_0x4cfa65,_0x3012a9['id'],_0x39d919,_0x59a094)||_0x19566d})):_0x2be052(0x138)===_0x1c7431&&(this[_0x2be052(0x14a)]=!0x1,this[_0x2be052(0x15c)]({'target':()=>this[_0x2be052(0x172)](_0x5a76df(),_0x4cfa65,_0x3012a9['id'])||_0x19566d}));}[_0x6cd3c9(0x14b)](){const _0x3b4128=_0x6cd3c9;this[_0x3b4128(0x13d)](),this[_0x3b4128(0x154)](),this[_0x3b4128(0x179)]=void 0x0,this[_0x3b4128(0x169)]=void 0x0,this[_0x3b4128(0x134)]=void 0x0;}[_0x6cd3c9(0x12f)](){const _0x3a1248=_0x6cd3c9;this[_0x3a1248(0x147)][_0x3a1248(0x166)]=!0x1;}[_0x6cd3c9(0x16f)](){const _0x4a0869=_0x6cd3c9;this[_0x4a0869(0x147)][_0x4a0869(0x166)]=!0x0;}[_0x6cd3c9(0x153)](){const _0x43134e=_0x6cd3c9;this[_0x43134e(0x141)](_0x43134e(0x153),{'origin':_0x43134e(0x17a)});}[_0x6cd3c9(0x16b)](){const _0x4361b6=_0x6cd3c9;_0x2b78dd({'emitter':this,'activator':()=>this[_0x4361b6(0x161)],'contextElements':()=>{const _0x384c62=_0x4361b6,_0x10c3e7=[this[_0x384c62(0x159)]];return this[_0x384c62(0x169)]&&_0x10c3e7[_0x384c62(0x130)](this[_0x384c62(0x169)]),_0x10c3e7;},'callback':()=>{const _0x510526=_0x4361b6;this[_0x510526(0x13d)](),this[_0x510526(0x154)](),this[_0x510526(0x153)](),this[_0x510526(0x169)]=void 0x0,this[_0x510526(0x179)]=void 0x0,this[_0x510526(0x134)]=void 0x0;}});}[_0x6cd3c9(0x149)](){const _0x485fb6=_0x6cd3c9,_0x7c2c48=new _0x1da03a();return this[_0x485fb6(0x147)]=new _0x537a58(this[_0x485fb6(0x16e)],''),this[_0x485fb6(0x147)][_0x485fb6(0x15b)][_0x485fb6(0x174)]({'attributes':{'class':[_0x485fb6(0x171)]}}),this[_0x485fb6(0x147)][_0x485fb6(0x155)](_0x485fb6(0x152),_0x485fb6(0x15f))['to'](this),_0x7c2c48[_0x485fb6(0x163)]({'tag':_0x485fb6(0x176),'attributes':{'class':[_0x485fb6(0x142),_0x485fb6(0x157),this[_0x485fb6(0x133)]['if'](_0x485fb6(0x14a),_0x485fb6(0x15e))]},'children':[{'tag':'p','attributes':{'class':[_0x485fb6(0x13c)]},'children':[this[_0x485fb6(0x147)]]}]}),_0x7c2c48;}[_0x6cd3c9(0x175)](_0x31a603,_0x29589c,_0x4ff7fd,_0x1007b1,_0xb7a1ff){const _0x2a752e=_0x6cd3c9;if(!_0x31a603)return null;const _0x125e7d=this[_0x2a752e(0x136)][_0x2a752e(0x156)](_0x2a752e(0x177),''),_0x2a5156=Array[_0x2a752e(0x15a)](_0x31a603[_0x2a752e(0x162)]());let _0x3f23d4,_0x18e7d7=_0x2a5156[_0x2a752e(0x135)]();return void 0x0!==_0x29589c&&this[_0x2a752e(0x139)](_0x18e7d7[_0x29589c],_0x1007b1,_0xb7a1ff)?(_0x3f23d4=_0x18e7d7[_0x29589c],this[_0x2a752e(0x179)]=_0x29589c):this[_0x2a752e(0x139)](_0x18e7d7[0x0],_0x1007b1,_0xb7a1ff)&&void 0x0===_0x29589c?_0x3f23d4=_0x18e7d7[0x0]:(_0x18e7d7='s'==_0x125e7d[0x0]?[..._0x2a5156][_0x2a752e(0x135)]():_0x2a5156,_0x18e7d7[_0x2a752e(0x15d)](_0x52bd15=>{const _0x5cc3af=_0x2a752e;this[_0x5cc3af(0x139)](_0x52bd15,_0x1007b1,_0xb7a1ff)&&(_0x3f23d4=_0x52bd15);})),this[_0x2a752e(0x134)]=_0x4ff7fd,this[_0x2a752e(0x169)]=_0x31a603,_0x3f23d4||_0x31a603[_0x2a752e(0x13b)]();}[_0x6cd3c9(0x172)](_0x1768eb,_0x33ef37,_0x4c07bb){const _0x2bc9bb=_0x6cd3c9;if(!_0x1768eb)return null;const _0xd84f4a=Array[_0x2bc9bb(0x15a)](_0x1768eb[_0x2bc9bb(0x162)]())[_0x2bc9bb(0x135)]();if(void 0x0===this[_0x2bc9bb(0x179)]&&void 0x0!==_0x33ef37&&this[_0x2bc9bb(0x134)]!==_0x4c07bb)return this[_0x2bc9bb(0x179)]=_0x33ef37,this[_0x2bc9bb(0x169)]=_0x1768eb,this[_0x2bc9bb(0x134)]=_0x4c07bb,_0xd84f4a[_0x33ef37];if(void 0x0!==this[_0x2bc9bb(0x179)]&&this[_0x2bc9bb(0x134)]===_0x4c07bb){if(_0x1768eb!==this[_0x2bc9bb(0x169)])return Array[_0x2bc9bb(0x15a)](this[_0x2bc9bb(0x169)][_0x2bc9bb(0x162)]())[_0x2bc9bb(0x135)]()[this[_0x2bc9bb(0x179)]];return _0xd84f4a[this[_0x2bc9bb(0x179)]];}return void 0x0!==_0x33ef37&&this[_0x2bc9bb(0x134)]!==_0x4c07bb?(this[_0x2bc9bb(0x179)]=_0x33ef37,this[_0x2bc9bb(0x169)]=_0x1768eb,this[_0x2bc9bb(0x134)]=_0x4c07bb,_0xd84f4a[_0x33ef37]):_0x1768eb[_0x2bc9bb(0x13b)]();}[_0x6cd3c9(0x168)](_0x3e06c7,_0x4ba607){const _0x37fb97=_0x6cd3c9;if(_0x3e06c7)for(let _0x1ad234=0x0;_0x1ad234<_0x4ba607[_0x37fb97(0x165)];_0x1ad234++){const _0xe0044a=_0x4ba607[_0x1ad234];if(_0x3e06c7[_0x37fb97(0x144)]>=_0xe0044a[_0x37fb97(0x14c)]-0x3&&_0x3e06c7[_0x37fb97(0x144)]<=_0xe0044a[_0x37fb97(0x13e)]+0x3&&_0x3e06c7[_0x37fb97(0x13a)]>=_0xe0044a[_0x37fb97(0x16c)]-0x3&&_0x3e06c7[_0x37fb97(0x13a)]<=_0xe0044a[_0x37fb97(0x143)]+0x3)return _0x1ad234;}}[_0x6cd3c9(0x139)](_0x842cb3,_0x3cd03f,_0x4ac4a2){const _0x2eb827=_0x6cd3c9,_0x428f50=new _0x5a56ef(_0x842cb3),_0x381d12=_0x3cd03f||document[_0x2eb827(0x140)],_0x56ceab=_0x428f50[_0x2eb827(0x148)](_0x58f17d(_0x4ac4a2)),_0x308d98=new _0x5a56ef(_0x381d12)[_0x2eb827(0x148)](_0x428f50);return!!(_0x56ceab&&_0x308d98&&_0x428f50[_0x2eb827(0x14f)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x486f52=_0x2e98;function _0x24fb(){const _0x4e4601=['tagName','267741GQTzOQ','locale','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','setItemAsActive','outdated','706256LxWcGs','ck-ai_review__check-run-result-action-buttons','AI_REVIEW_MODE_ACCEPT_CHANGE','execute','status','setTemplate','accepted','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','14288UzcdkX','isOn','change:status','ck-ai_review__check-run-result-accept-button','mouseover','label','bindTemplate','7046379QCbWMP','preventDefault','ck-ai_review__check-run-result-dismiss-button','124vxnmuy','477624JPvMdD','menuitemcheckbox','setItemAsInactive','resultResponseView','icon','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','acceptButtonView','extendTemplate','_createInfoButtonView','rejected','disabled','showDiff','target','31370OCwtxP','changeId','set','ck-ai_review__check-run-result','_createAcceptButtonView','stopPropagation','ck-ai_review__check-run-result_active','1358BNAVEi','hover','isEnabled','deactivateChange','_createDismissButtonView','pending','ck-content','acceptChange','isInfoToggleOn','dismissButtonView','ck-ai-button-secondary','isActive','activateChange','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-button-tertiary','outdatedButtonView','134316GNnnME','div','infoButtonView','mouseout','ck-ai_review__check-run-result-status-button','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','bind','ck-ai_review__check-run-result-footer','click','ck-ai_review__check-run-result-response','ck-reset_all-excluded','fire','_createOutdatedButtonView','_createResultResponseView','dismissChange','AI_REVIEW_MODE_LEARN_MORE','panel','ck-hidden'];_0x24fb=function(){return _0x4e4601;};return _0x24fb();}(function(_0x53579e,_0x1173ec){const _0x139ea0=_0x2e98,_0x474ef1=_0x53579e();while(!![]){try{const _0x2c7a34=-parseInt(_0x139ea0(0x1b1))/0x1+-parseInt(_0x139ea0(0x1b6))/0x2+parseInt(_0x139ea0(0x1c9))/0x3+-parseInt(_0x139ea0(0x1c8))/0x4*(-parseInt(_0x139ea0(0x1d6))/0x5)+parseInt(_0x139ea0(0x19e))/0x6+-parseInt(_0x139ea0(0x1dd))/0x7*(parseInt(_0x139ea0(0x1be))/0x8)+parseInt(_0x139ea0(0x1c5))/0x9;if(_0x2c7a34===_0x1173ec)break;else _0x474ef1['push'](_0x474ef1['shift']());}catch(_0x4f1df1){_0x474ef1['push'](_0x474ef1['shift']());}}}(_0x24fb,0x2ecb2));import{View as _0x302098,ButtonView as _0x19c5c7}from'ckeditor5/src/ui.js';function _0x2e98(_0x2c2fd0,_0x3071d7){const _0x24fb35=_0x24fb();return _0x2e98=function(_0x2e983f,_0x447382){_0x2e983f=_0x2e983f-0x198;let _0x4217f1=_0x24fb35[_0x2e983f];return _0x4217f1;},_0x2e98(_0x2c2fd0,_0x3071d7);}import{IconInfo as _0x4b50a2,IconCheck as _0x736f5a,IconCancel as _0x5a7137,IconOutdated as _0x5bde53}from'ckeditor5/src/icons.js';import{getTranslation as _0x156c2f}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x302098{[_0x486f52(0x1cc)];[_0x486f52(0x1cf)];[_0x486f52(0x1e6)];[_0x486f52(0x1a0)];[_0x486f52(0x19d)];constructor(_0x10f866,_0x547c9f){const _0x87bad8=_0x486f52;super(_0x10f866),this['id']=_0x547c9f,this[_0x87bad8(0x1d8)](_0x87bad8(0x1ba),_0x87bad8(0x1e2)),this[_0x87bad8(0x1d8)](_0x87bad8(0x1d7),_0x547c9f),this[_0x87bad8(0x1cc)]=this[_0x87bad8(0x1ab)](),this[_0x87bad8(0x1cf)]=this[_0x87bad8(0x1da)](),this[_0x87bad8(0x1e6)]=this[_0x87bad8(0x1e1)](),this[_0x87bad8(0x1a0)]=this[_0x87bad8(0x1d1)](),this[_0x87bad8(0x19d)]=this[_0x87bad8(0x1aa)](),this[_0x87bad8(0x1d8)](_0x87bad8(0x1e5),!0x1),this[_0x87bad8(0x1d8)](_0x87bad8(0x199),!0x1),this[_0x87bad8(0x1d8)](_0x87bad8(0x1d4),!0x0),this[_0x87bad8(0x1bb)]({'tag':_0x87bad8(0x19f),'attributes':{'class':[_0x87bad8(0x1d9),this[_0x87bad8(0x1c4)]['if'](_0x87bad8(0x199),_0x87bad8(0x1dc))]},'on':{'click':this[_0x87bad8(0x1c4)]['to'](_0x87bad8(0x1a6)),'mouseover':this[_0x87bad8(0x1c4)]['to'](_0x87bad8(0x1c2)),'mouseout':this[_0x87bad8(0x1c4)]['to'](_0x87bad8(0x1a1))},'children':[this[_0x87bad8(0x1cc)],{'tag':_0x87bad8(0x19f),'attributes':{'class':[_0x87bad8(0x1a5)]},'children':[{'tag':_0x87bad8(0x19f),'attributes':{'class':[_0x87bad8(0x1b7)]},'children':[this[_0x87bad8(0x1cf)],this[_0x87bad8(0x1e6)],this[_0x87bad8(0x19d)]]},this[_0x87bad8(0x1a0)]]}]}),this['on'](_0x87bad8(0x1a6),(_0x352e1d,_0x13d3fc)=>{const _0x105016=_0x87bad8;_0x13d3fc&&_0x13d3fc[_0x105016(0x1d5)]&&'A'===_0x13d3fc[_0x105016(0x1d5)][_0x105016(0x1b0)]&&_0x13d3fc[_0x105016(0x1c6)](),this[_0x105016(0x1a9)](_0x105016(0x19a),{'id':_0x547c9f,'source':this,'uiInteraction':_0x105016(0x1a6)});}),this['on'](_0x87bad8(0x1c2),()=>{const _0x546e9c=_0x87bad8;this[_0x546e9c(0x1a9)](_0x546e9c(0x19a),{'id':_0x547c9f,'source':this,'uiInteraction':_0x546e9c(0x1de)});}),this['on'](_0x87bad8(0x1a1),()=>{const _0x5aeda0=_0x87bad8;this[_0x5aeda0(0x1a9)](_0x5aeda0(0x1e0),{'origin':_0x5aeda0(0x1ae),'id':_0x547c9f,'source':this});});}[_0x486f52(0x1b4)](){const _0x5e3dcd=_0x486f52;this[_0x5e3dcd(0x199)]=!0x0;}[_0x486f52(0x1cb)](){const _0x262dd0=_0x486f52;this[_0x262dd0(0x199)]=!0x1;}[_0x486f52(0x1ab)](){const _0x24db26=_0x486f52,_0x21a16a=new _0x302098(this[_0x24db26(0x1b2)]);return _0x21a16a[_0x24db26(0x1bb)]({'tag':_0x24db26(0x19f),'attributes':{'class':['ck',_0x24db26(0x1e3),_0x24db26(0x1a8),_0x24db26(0x1a7),this[_0x24db26(0x1c4)]['if'](_0x24db26(0x1d4),_0x24db26(0x1af),_0x4b48c9=>!_0x4b48c9)]}}),_0x21a16a;}[_0x486f52(0x1da)](){const _0x36e549=_0x486f52,_0x2d5d28=new _0x19c5c7(this[_0x36e549(0x1b2)]);return _0x2d5d28[_0x36e549(0x1d8)]({'label':_0x156c2f(this[_0x36e549(0x1b2)],_0x36e549(0x1b8)),'withText':!0x0}),_0x2d5d28[_0x36e549(0x1d0)]({'on':{'click':this[_0x36e549(0x1c4)]['to'](_0x248ceb=>{const _0x59517b=_0x36e549;this[_0x59517b(0x1a9)](_0x59517b(0x1e4),{'id':this[_0x59517b(0x1d7)]}),_0x248ceb[_0x59517b(0x1db)]();})},'attributes':{'class':[_0x36e549(0x198),_0x36e549(0x1c1),this[_0x36e549(0x1c4)]['if'](_0x36e549(0x1ba),_0x36e549(0x1af),_0x45eb75=>_0x36e549(0x1e2)!==_0x45eb75&&_0x36e549(0x1bc)!==_0x45eb75),this[_0x36e549(0x1c4)]['if'](_0x36e549(0x1ba),_0x36e549(0x1c1),_0x2638c9=>_0x36e549(0x1e2)===_0x2638c9),this[_0x36e549(0x1c4)]['if'](_0x36e549(0x1ba),_0x36e549(0x1a2),_0x319804=>_0x36e549(0x1bc)===_0x319804)]}}),this['on'](_0x36e549(0x1c0),(_0x18abcd,_0x16dd97,_0x45a86a)=>{const _0x4763b8=_0x36e549;_0x2d5d28[_0x4763b8(0x1df)]=_0x4763b8(0x1e2)===_0x45a86a,_0x4763b8(0x1bc)===_0x45a86a&&(_0x2d5d28[_0x4763b8(0x1c3)]=_0x156c2f(this[_0x4763b8(0x1b2)],_0x4763b8(0x1bd)),_0x2d5d28[_0x4763b8(0x1cd)]=_0x736f5a);}),_0x2d5d28;}[_0x486f52(0x1e1)](){const _0x1fe967=_0x486f52,_0x667b1=new _0x19c5c7(this[_0x1fe967(0x1b2)]);return _0x667b1[_0x1fe967(0x1d8)]({'label':_0x156c2f(this[_0x1fe967(0x1b2)],_0x1fe967(0x19b)),'withText':!0x0}),_0x667b1[_0x1fe967(0x1d0)]({'on':{'click':this[_0x1fe967(0x1c4)]['to'](_0x131528=>{const _0x54e481=_0x1fe967;this[_0x54e481(0x1a9)](_0x54e481(0x1ac),{'id':this[_0x54e481(0x1d7)]}),_0x131528[_0x54e481(0x1db)]();})},'attributes':{'class':[_0x1fe967(0x19c),this[_0x1fe967(0x1c4)]['if'](_0x1fe967(0x1ba),_0x1fe967(0x1af),_0x24f8da=>_0x1fe967(0x1e2)!==_0x24f8da&&_0x1fe967(0x1d2)!==_0x24f8da),this[_0x1fe967(0x1c4)]['if'](_0x1fe967(0x1ba),_0x1fe967(0x1c7),_0x5852bd=>_0x1fe967(0x1e2)===_0x5852bd),this[_0x1fe967(0x1c4)]['if'](_0x1fe967(0x1ba),_0x1fe967(0x1a2),_0x21ab87=>_0x1fe967(0x1d2)===_0x21ab87)]}}),this['on'](_0x1fe967(0x1c0),(_0x325903,_0x24a92e,_0x390210)=>{const _0x26880a=_0x1fe967;_0x667b1[_0x26880a(0x1df)]=_0x26880a(0x1e2)===_0x390210,_0x26880a(0x1d2)===_0x390210&&(_0x667b1[_0x26880a(0x1c3)]=_0x156c2f(this[_0x26880a(0x1b2)],_0x26880a(0x1ce)),_0x667b1[_0x26880a(0x1cd)]=_0x5a7137);}),_0x667b1;}[_0x486f52(0x1d1)](){const _0x467486=_0x486f52,_0x41c0c2=new _0x19c5c7(this[_0x467486(0x1b2)]);return _0x41c0c2[_0x467486(0x1d8)]({'label':_0x156c2f(this[_0x467486(0x1b2)],_0x467486(0x1ad)),'icon':_0x4b50a2,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x467486(0x1ca),'class':_0x467486(0x1b3)}),_0x41c0c2[_0x467486(0x1a4)](_0x467486(0x1bf))['to'](this,_0x467486(0x1e5),_0x2c8e26=>_0x2c8e26),_0x41c0c2['on'](_0x467486(0x1b9),()=>{const _0x3ab792=_0x467486;this[_0x3ab792(0x1e5)]=!this[_0x3ab792(0x1e5)];}),_0x41c0c2;}[_0x486f52(0x1aa)](){const _0x55e1df=_0x486f52,_0x1784a8=new _0x19c5c7(this[_0x55e1df(0x1b2)]);return _0x1784a8[_0x55e1df(0x1d8)]({'label':_0x156c2f(this[_0x55e1df(0x1b2)],_0x55e1df(0x1a3)),'icon':_0x5bde53,'withText':!0x0,'isEnabled':!0x1}),_0x1784a8[_0x55e1df(0x1d0)]({'attributes':{'class':[_0x55e1df(0x198),_0x55e1df(0x1a2),this[_0x55e1df(0x1c4)]['if'](_0x55e1df(0x1ba),_0x55e1df(0x1af),_0x58cea0=>_0x55e1df(0x1b5)!==_0x58cea0)],'disabled':_0x55e1df(0x1d3)}}),_0x1784a8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x4ee1e8,KeystrokeHandler as _0x1ddfce,FocusTracker as _0x14d7fb}from'ckeditor5/src/utils.js';import{View as _0x3d94ce,ViewCollection as _0x25683d,ButtonView as _0x2a891b,FormRowView as _0x37abd7,createDropdown as _0x1f1c80,addListToDropdown as _0x183875,UIModel as _0x1565c8,ButtonLabelView as _0x144f8b,LabeledFieldView as _0x4b1b45,FocusCycler as _0x542ac7}from'ckeditor5/src/ui.js';import{getTranslation as _0x3c5e57}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x4be75c}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x3d94ce{['focusTracker']=new _0x14d7fb();['keystrokes']=new _0x1ddfce();['focusCycler'];['_focusables']=new _0x25683d();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x58df40,_0x3289d5,_0x1f058d=!0x1){super(_0x58df40),this['_check']=_0x3289d5,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x3289d5['defaultModel']?_0x3289d5['defaultModel']['id']:'',this['_defaultLabel']=_0x3289d5['defaultModel']?_0x3289d5['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x4b1b45(this['locale'],()=>new _0x4be75c(_0x58df40)),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 _0x4ee1e8(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1f058d),_0x183875(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x37abd7(this['locale'],{'children':[this['promptInputView']]}),new _0x37abd7(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x7d34f2,_0xea8af)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0xea8af()):_0xea8af();}),this['focusCycler']=new _0x542ac7({'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'](_0x28310c=>{this['_focusables']['add'](_0x28310c),this['focusTracker']['add'](_0x28310c['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 _0x2c8105 of this['_getFormValidators']()){const _0x42ef19=_0x2c8105();if(_0x42ef19)return this['promptInputView']['errorText']=_0x42ef19,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x3c5e57(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x44204b=new _0x2a891b(this['locale']),t=this['locale']['t'];return _0x44204b['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x44204b['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x44204b;}['_createCancelButtonView'](){const _0x36e50a=new _0x2a891b(this['locale']),t=this['locale']['t'];return _0x36e50a['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x36e50a['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x9e73c2=>{_0x9e73c2['stopPropagation']();})}}),_0x36e50a['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x36e50a;}['_setModelList'](_0x1eca2b){this['_modelSelectionDropdownItems']['clear']();const _0x4c3376=this['_check']['models'];if(_0x1eca2b)this['set']('modelDisplayMode','hidden');else{const _0x288b31=0x1===_0x4c3376['length'];this['set']('modelDisplayMode',_0x288b31?'name':'selector');}if(this['resetToDefault'](),_0x4c3376?.['length']){0x1===_0x4c3376['length']&&this['set']('activeModelName',_0x4c3376[0x0]['name']||_0x4c3376[0x0]['id']);for(const _0x1e12bf of _0x4c3376){const _0x283ba6=new _0x1565c8({'label':_0x1e12bf['name'],'withText':!0x0,'role':'menuitemradio','id':_0x1e12bf['id'],'model':_0x1e12bf});_0x283ba6['bind']('isOn')['to'](this,'modelId',_0x1f1b92=>_0x1f1b92===_0x1e12bf['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x283ba6,'labelView':new ko(this['locale'],_0x1e12bf)});}}}['_createModelSelectionDropdown'](){const _0x2f7780=_0x1f1c80(this['locale']);return _0x2f7780['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x2f7780['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x2f7780['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3fcde3=>'selector'===_0x3fcde3),this['listenTo'](_0x2f7780,'execute',_0x57c621=>{this['modelId']=_0x57c621['source']['model']['id'],_0x2f7780['buttonView']['label']=_0x57c621['source']['label'];}),_0x2f7780;}['_createModelNameView'](){const _0x4376c6=new _o(this['locale']);return _0x4376c6['bind']('text')['to'](this,'activeModelName',_0x5bc8c0=>_0x5bc8c0??''),_0x4376c6['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2100fd=>'name'===_0x2100fd),_0x4376c6;}['_createActionsFooterView'](){const _0x4299e3=new _0x3d94ce(this['locale']);return _0x4299e3['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x4299e3;}}class _o extends _0x3d94ce{constructor(_0x4bc7a5){super(_0x4bc7a5),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0xce3cf5=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0xce3cf5['if']('isVisible','ck-hidden',_0x533a4a=>!_0x533a4a)]},'children':[{'text':_0xce3cf5['to']('text')}]});}}class ko extends _0x144f8b{constructor(_0x1cd1cd,_0x5a37ae){super();const _0x545323=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x545323['to']('style'),'id':_0x545323['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x545323['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x5a37ae['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x28a43f,_0x74054){var _0x41605e=_0x56aa,_0x363b07=_0x28a43f();while(!![]){try{var _0x4f63ef=-parseInt(_0x41605e(0xfe))/0x1+-parseInt(_0x41605e(0xfc))/0x2+-parseInt(_0x41605e(0x100))/0x3+parseInt(_0x41605e(0x104))/0x4+parseInt(_0x41605e(0xfd))/0x5+parseInt(_0x41605e(0xfa))/0x6*(parseInt(_0x41605e(0x103))/0x7)+parseInt(_0x41605e(0xfb))/0x8;if(_0x4f63ef===_0x74054)break;else _0x363b07['push'](_0x363b07['shift']());}catch(_0x1e92f7){_0x363b07['push'](_0x363b07['shift']());}}}(_0x21d4,0xc3786));import{ButtonView as _0x1bd7b7}from'ckeditor5/src/ui.js';function _0x21d4(){var _0x4820cf=['execute','set','64918HXXvTT','2371384TYtPnq','fire','finishReview','894DYNfLB','1231608PCMweQ','868944NCVBHu','3681515dxhFmG','76357NpsMdq','ck-ai-button-primary','4660353lWMGqs'];_0x21d4=function(){return _0x4820cf;};return _0x21d4();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x56aa(_0x4675b6,_0x1b29be){var _0x21d4a4=_0x21d4();return _0x56aa=function(_0x56aa5f,_0x4c95f7){_0x56aa5f=_0x56aa5f-0xf8;var _0xcb85d5=_0x21d4a4[_0x56aa5f];return _0xcb85d5;},_0x56aa(_0x4675b6,_0x1b29be);}export class AIReviewCoreFinishReviewButtonView extends _0x1bd7b7{constructor(_0x212692,_0x8d038b){var _0x713be0=_0x56aa;super(_0x8d038b),this[_0x713be0(0x102)]({'label':_0x212692,'withText':!0x0,'class':_0x713be0(0xff)}),this['on'](_0x713be0(0x101),()=>{var _0x5905bf=_0x713be0;this[_0x5905bf(0xf8)](_0x5905bf(0xf9));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3189d7,_0x470462){const _0x2f7026=_0x3d51,_0x405220=_0x3189d7();while(!![]){try{const _0x369f2c=parseInt(_0x2f7026(0x8c))/0x1+-parseInt(_0x2f7026(0x88))/0x2+-parseInt(_0x2f7026(0x8a))/0x3*(-parseInt(_0x2f7026(0x7d))/0x4)+parseInt(_0x2f7026(0x7b))/0x5*(parseInt(_0x2f7026(0x7c))/0x6)+parseInt(_0x2f7026(0x8b))/0x7*(-parseInt(_0x2f7026(0x80))/0x8)+-parseInt(_0x2f7026(0x81))/0x9*(-parseInt(_0x2f7026(0x8d))/0xa)+-parseInt(_0x2f7026(0x87))/0xb;if(_0x369f2c===_0x470462)break;else _0x405220['push'](_0x405220['shift']());}catch(_0x4bb5f4){_0x405220['push'](_0x405220['shift']());}}}(_0x3a24,0x7c1df));import{View as _0x3421f6}from'ckeditor5/src/ui.js';function _0x3a24(){const _0x3bf0b4=['ck-ai_review__general-error-container','ck\x20ck-ai-notification\x20ck-ai-notification_error','errorMessage','isVisible','6034655AyTYGH','1070530pNRjBT','div','251598DxtcEs','7KLfRzL','729628lCSJNc','1305190JrvQwT','setTemplate','1980FPsxIU','13002YfqyfM','28zYQgbd','set','bindTemplate','6748856nREsbH','18snKdYU','ck-hidden'];_0x3a24=function(){return _0x3bf0b4;};return _0x3a24();}function _0x3d51(_0x3d5d3e,_0x14f00a){const _0x3a247d=_0x3a24();return _0x3d51=function(_0x3d51a7,_0x1280ca){_0x3d51a7=_0x3d51a7-0x7b;let _0x34df31=_0x3a247d[_0x3d51a7];return _0x34df31;},_0x3d51(_0x3d5d3e,_0x14f00a);}export class AIReviewCoreGeneralErrorView extends _0x3421f6{constructor(_0x454105){const _0x16c2d2=_0x3d51;super(_0x454105),this[_0x16c2d2(0x7e)](_0x16c2d2(0x86),!0x1),this[_0x16c2d2(0x7e)](_0x16c2d2(0x85),'');const _0x24f74c=this[_0x16c2d2(0x7f)];this[_0x16c2d2(0x8e)]({'tag':_0x16c2d2(0x89),'attributes':{'class':['ck',_0x16c2d2(0x83),_0x24f74c['if'](_0x16c2d2(0x86),_0x16c2d2(0x82),_0x5ba1af=>!_0x5ba1af)]},'children':[{'tag':'p','attributes':{'class':_0x16c2d2(0x84)},'children':[{'text':_0x24f74c['to'](_0x16c2d2(0x85))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x20afb5=_0x5bba;function _0x1902(){var _0x543caa=['listenTo','1742986EjwfQf','6483550xFeeeA','40fThRMu','85122FLmKWy','set','trim','26664VEPGow','value','extendTemplate','element','50AvYzfl','minRows','update','MIN_ROWS','125331fQpnEz','23576LPTMLo','render','414YpLkwS','456ejPYgR','isEmpty','maxRows','8slJUTT','ai-review-prompt-input','ck-review__prompt-input','keystrokes','MAX_ROWS','28400GUVcnA'];_0x1902=function(){return _0x543caa;};return _0x1902();}function _0x5bba(_0x175e96,_0x10775c){var _0x1902e7=_0x1902();return _0x5bba=function(_0x5bba99,_0x32453d){_0x5bba99=_0x5bba99-0x11f;var _0x36e2c3=_0x1902e7[_0x5bba99];return _0x36e2c3;},_0x5bba(_0x175e96,_0x10775c);}(function(_0x5f197b,_0x2b9924){var _0x44a577=_0x5bba,_0x29f840=_0x5f197b();while(!![]){try{var _0x597455=parseInt(_0x44a577(0x122))/0x1*(parseInt(_0x44a577(0x13a))/0x2)+parseInt(_0x44a577(0x12e))/0x3*(parseInt(_0x44a577(0x135))/0x4)+parseInt(_0x44a577(0x12a))/0x5*(parseInt(_0x44a577(0x123))/0x6)+parseInt(_0x44a577(0x120))/0x7+-parseInt(_0x44a577(0x12f))/0x8*(parseInt(_0x44a577(0x131))/0x9)+-parseInt(_0x44a577(0x121))/0xa+-parseInt(_0x44a577(0x126))/0xb*(-parseInt(_0x44a577(0x132))/0xc);if(_0x597455===_0x2b9924)break;else _0x29f840['push'](_0x29f840['shift']());}catch(_0x17c21a){_0x29f840['push'](_0x29f840['shift']());}}}(_0x1902,0x55999));import{TextareaView as _0x368ce2}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x253d2c}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x368ce2{[_0x20afb5(0x138)];static [_0x20afb5(0x12d)]=0x1;static [_0x20afb5(0x139)]=0xc;constructor(_0x5508fb){var _0x44e4ea=_0x20afb5;super(_0x5508fb),this[_0x44e4ea(0x124)](_0x44e4ea(0x133),!0x0),this[_0x44e4ea(0x138)]=new _0x253d2c(),this[_0x44e4ea(0x12b)]=AIReviewCorePromptInputView[_0x44e4ea(0x12d)],this[_0x44e4ea(0x134)]=AIReviewCorePromptInputView[_0x44e4ea(0x139)],this[_0x44e4ea(0x128)]({'attributes':{'id':_0x44e4ea(0x136),'class':['ck',_0x44e4ea(0x137)]}});}[_0x20afb5(0x130)](){var _0x592acf=_0x20afb5;super[_0x592acf(0x130)](),this['on'](_0x592acf(0x12c),()=>{var _0x184713=_0x592acf;this[_0x184713(0x133)]=''===this[_0x184713(0x129)][_0x184713(0x127)]?.[_0x184713(0x125)]();}),this[_0x592acf(0x138)][_0x592acf(0x11f)](this[_0x592acf(0x129)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b205d=_0x27f2;(function(_0x6c592d,_0x6821a2){const _0x2c04fb=_0x27f2,_0xfa4c71=_0x6c592d();while(!![]){try{const _0x15aab8=parseInt(_0x2c04fb(0x1bf))/0x1+parseInt(_0x2c04fb(0x1c8))/0x2*(parseInt(_0x2c04fb(0x1d8))/0x3)+-parseInt(_0x2c04fb(0x1d4))/0x4+-parseInt(_0x2c04fb(0x1cd))/0x5+-parseInt(_0x2c04fb(0x1c1))/0x6+parseInt(_0x2c04fb(0x1c2))/0x7+-parseInt(_0x2c04fb(0x1c7))/0x8*(-parseInt(_0x2c04fb(0x1c5))/0x9);if(_0x15aab8===_0x6821a2)break;else _0xfa4c71['push'](_0xfa4c71['shift']());}catch(_0x10458c){_0xfa4c71['push'](_0xfa4c71['shift']());}}}(_0x3a5f,0x44e89));import{ListItemView as _0x520058,ViewCollection as _0x4c7cb9}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x1ed45c}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x520058{[_0x4b205d(0x1cf)];constructor(_0x332a6e){const _0x286d44=_0x4b205d;super(_0x332a6e),this[_0x286d44(0x1cf)]=new _0x4c7cb9(),this[_0x286d44(0x1d6)]();}[_0x4b205d(0x1c4)](_0x58bc00,_0x5b7eb4=!0x1){const _0x1cf95b=_0x4b205d;this[_0x1cf95b(0x1cf)][_0x1cf95b(0x1c0)]();for(const [_0x29fc56,_0x22bbf6]of _0x58bc00[_0x1cf95b(0x1ce)]()){const _0x11543e=new _0x1ed45c(this[_0x1cf95b(0x1ca)],_0x22bbf6,_0x29fc56,_0x5b7eb4);_0x11543e[_0x1cf95b(0x1d3)](_0x1cf95b(0x1d5))['to'](this),this[_0x1cf95b(0x1cf)][_0x1cf95b(0x1c6)](_0x11543e);}}[_0x4b205d(0x1d9)](){const _0x51b064=_0x4b205d;return this[_0x51b064(0x1cf)][_0x51b064(0x1c9)]>0x0;}[_0x4b205d(0x1cb)](){const _0x269c04=_0x4b205d;for(const _0x13443b of this[_0x269c04(0x1cf)])_0x13443b instanceof _0x1ed45c&&_0x13443b[_0x269c04(0x1da)]();}[_0x4b205d(0x1d6)](){const _0x284b8e=_0x4b205d,_0x402b77=this[_0x284b8e(0x1d0)];this[_0x284b8e(0x1cc)]({'tag':_0x284b8e(0x1d7),'attributes':{'class':[_0x284b8e(0x1c3),_0x402b77['if'](_0x284b8e(0x1d2),_0x284b8e(0x1d1),_0xb03e89=>!_0xb03e89)]},'children':this[_0x284b8e(0x1cf)]});}}function _0x27f2(_0x40ebb0,_0x486eea){const _0x3a5f11=_0x3a5f();return _0x27f2=function(_0x27f254,_0xe3f03b){_0x27f254=_0x27f254-0x1bf;let _0x2069a5=_0x3a5f11[_0x27f254];return _0x2069a5;},_0x27f2(_0x40ebb0,_0x486eea);}function _0x3a5f(){const _0x47036f=['setTemplate','2009300GOplSS','entries','_checkViews','bindTemplate','ck-hidden','isVisible','delegate','1731772SIeNVh','runReviewCheck','_setupTemplate','div','21kPpOyO','hasChecks','resetToDefault','458625Xzvxog','clear','3136380xexPdL','2237067MQyDQk','ck-ai_review__check-list','setChecks','129051SFFbJL','add','248AzmiCz','119162biDPrE','length','locale','resetAllParameterizedChecks'];_0x3a5f=function(){return _0x47036f;};return _0x3a5f();}
|