@ckeditor/ckeditor5-ai 47.6.0 → 47.6.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/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.d.ts +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.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 _0x5ef24b=_0x5971;function _0x5971(_0x2a9c87,_0x232f92){const _0x23980e=_0x2398();return _0x5971=function(_0x597179,_0x4be15b){_0x597179=_0x597179-0xc6;let _0x52e503=_0x23980e[_0x597179];return _0x52e503;},_0x5971(_0x2a9c87,_0x232f92);}(function(_0x2e2520,_0x52b997){const _0x5eff50=_0x5971,_0x251ade=_0x2e2520();while(!![]){try{const _0x562f7e=parseInt(_0x5eff50(0xf6))/0x1+parseInt(_0x5eff50(0x115))/0x2+-parseInt(_0x5eff50(0xfd))/0x3*(-parseInt(_0x5eff50(0xdf))/0x4)+-parseInt(_0x5eff50(0x109))/0x5+parseInt(_0x5eff50(0x11a))/0x6+-parseInt(_0x5eff50(0xe3))/0x7*(-parseInt(_0x5eff50(0xe2))/0x8)+-parseInt(_0x5eff50(0x119))/0x9;if(_0x562f7e===_0x52b997)break;else _0x251ade['push'](_0x251ade['shift']());}catch(_0x1c12f5){_0x251ade['push'](_0x251ade['shift']());}}}(_0x2398,0x5f615));import{ContextPlugin as _0x3853a5}from'ckeditor5/src/core.js';function _0x2398(){const _0x2a6ca0=['createMainView','showDiffInBalloon','12227985rqMHiN','495336Vnwxlw','hideDiffInBalloon','leaveReviewCoreResultList','retryReview','status','acceptChange','plugins','setItemAsActive','getChangeElement','element','showResult','locale','activateChange','showReviewCompletedView','error-general','_mainView','getReviewCheckList','isOfficialPlugin','get','showCheckRunResult','destroy','showChangeBalloon','showActionsWhenResultIsReady','setActiveStateInResults','resetActiveStateInResults','learnMore','setTitle','init','hideBalloon','4mfGzui','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','forEach','307256uGkTeB','112hgmpVM','updateChangeState','hasChecks','config','showGeneralReviewCoreErrorView','outdated','rejected','AITabs','showChunkErrorView','ai.models.showModelSelector','setChecks','getResults','dismissChange','showCheckRunResults','accepted','showReviewCheckList','toggleDiff','addCheckRunResult','fire','380185iIPQHZ','delegate','showNoChangesView','_balloonSuggestionView','deactivateChange','attachToDom','hideResult','1243797IBJzko','reviewCheckListView','acceptAllChanges','detachFromDom','find','reviewCheckResultsView','setAvailableChecks','setItemAsInactive','showReviewCheckResultsView','runReviewCheck','error-chunk','showReviewCheckListView','333485KvnLUf','finishReview','setCheckResultTitle','registerTab','context','isPremiumPlugin','showGeneralResultsErrorView','abortReviewStream','hideChangeBalloon','requires','hideActionsWhenResultIsReady','showBalloon','648374KRICBB','_bodyCollection'];_0x2398=function(){return _0x2a6ca0;};return _0x2398();}import{BodyCollection as _0x363343}from'ckeditor5/src/ui.js';import{getTranslation as _0x57ec86}from'../aicore/utils/common-translations.js';import{AITabs as _0x4d0566}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x39c5db}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x5ef24b(0xd2),_0x5ef24b(0x106),_0x5ef24b(0x110),_0x5ef24b(0xf3),_0x5ef24b(0xff),_0x5ef24b(0x11c),_0x5ef24b(0xce),_0x5ef24b(0xfa),_0x5ef24b(0xc7),_0x5ef24b(0xef),_0x5ef24b(0xdb),_0x5ef24b(0x10a),_0x5ef24b(0x11d)];import'../../theme/common/aiheader.css';import'../../theme/common/ainotification.css';import'../../theme/common/aibutton.css';import'../../theme/common/aitrackchanges.css';import'../../theme/aireviewcore/aireviewcore.css';export class AIReviewCoreUI extends _0x3853a5{[_0x5ef24b(0xd1)];[_0x5ef24b(0xf9)];[_0x5ef24b(0x116)];static get[_0x5ef24b(0x112)](){return[_0x4d0566];}static get[_0x5ef24b(0xd3)](){return!0x0;}static get[_0x5ef24b(0x10e)](){return!0x0;}constructor(_0x5b882c){const _0xb29db0=_0x5ef24b;super(_0x5b882c),this[_0xb29db0(0x116)]=new _0x363343(this[_0xb29db0(0x10d)][_0xb29db0(0xcd)]),this[_0xb29db0(0x116)][_0xb29db0(0xfb)](),this[_0xb29db0(0xd1)]=this[_0xb29db0(0x117)](),this[_0xb29db0(0xd1)][_0xb29db0(0xf7)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0xb29db0(0xf9)]=new _0x39c5db(this[_0xb29db0(0x10d)][_0xb29db0(0xcd)],this[_0xb29db0(0x116)]),this[_0xb29db0(0xf9)][_0xb29db0(0xf7)](_0xb29db0(0xc7),_0xb29db0(0xef),_0xb29db0(0xfa))['to'](this);}[_0x5ef24b(0xdd)](){const _0x1e44a3=_0x5ef24b,_0xd41b1b=this[_0x1e44a3(0x10d)][_0x1e44a3(0xc8)][_0x1e44a3(0xd4)](_0x1e44a3(0xea));this[_0x1e44a3(0x10c)](_0xd41b1b);}[_0x5ef24b(0xd6)](){const _0x36b46e=_0x5ef24b;this[_0x36b46e(0x116)][_0x36b46e(0x100)](),super[_0x36b46e(0xd6)]();}[_0x5ef24b(0x103)](_0x158e71){const _0x3c3290=_0x5ef24b;if(!this[_0x3c3290(0xd1)][_0x3c3290(0xfe)][_0x3c3290(0xe5)]()){const _0x15478c=!this[_0x3c3290(0x10d)][_0x3c3290(0xe6)][_0x3c3290(0xd4)](_0x3c3290(0xec));this[_0x3c3290(0xd1)][_0x3c3290(0xfe)][_0x3c3290(0xed)](_0x158e71,_0x15478c);}this[_0x3c3290(0xd1)][_0x3c3290(0x108)]();}[_0x5ef24b(0xf2)](){const _0x490fb9=_0x5ef24b;this[_0x490fb9(0xf5)](_0x490fb9(0xd2));}[_0x5ef24b(0xf0)](_0xf2efbf){const _0x5affd8=_0x5ef24b;_0xf2efbf&&(_0x5affd8(0xd0)!==_0xf2efbf[_0x5affd8(0xc6)]?_0x5affd8(0x107)!==_0xf2efbf[_0x5affd8(0xc6)]?this[_0x5affd8(0xd1)][_0x5affd8(0x105)]():this[_0x5affd8(0xeb)]():this[_0x5affd8(0x10f)]());}[_0x5ef24b(0xd5)](_0x127027){const _0x9b13e7=_0x5ef24b;this[_0x9b13e7(0xd1)][_0x9b13e7(0xf4)](_0x127027);}[_0x5ef24b(0x10f)](){const _0x5cb84e=_0x5ef24b;this[_0x5cb84e(0xd1)][_0x5cb84e(0x10f)]();}[_0x5ef24b(0xe7)](_0x5c645b){const _0x38efc0=_0x5ef24b;this[_0x38efc0(0xd1)][_0x38efc0(0xe7)](_0x5c645b??_0x57ec86(this[_0x38efc0(0x10d)][_0x38efc0(0xcd)],_0x38efc0(0xe0)));}[_0x5ef24b(0xeb)](){const _0x3fd274=_0x5ef24b;this[_0x3fd274(0xd1)][_0x3fd274(0xeb)]();}[_0x5ef24b(0x10b)](_0x52b195,_0x3eaae0){const _0x2fc075=_0x5ef24b;this[_0x2fc075(0xd1)][_0x2fc075(0x102)][_0x2fc075(0xdc)](_0x52b195,_0x3eaae0);}[_0x5ef24b(0xd9)](_0x5c64fb){const _0x57f38a=_0x5ef24b;this[_0x57f38a(0xd1)][_0x57f38a(0x102)][_0x57f38a(0xee)]()[_0x57f38a(0xe1)](_0x294a89=>{const _0x157f5e=_0x57f38a;_0x294a89['id']===_0x5c64fb&&_0x294a89[_0x157f5e(0xc9)]();});}[_0x5ef24b(0xda)](){const _0x208be7=_0x5ef24b;this[_0x208be7(0xd1)][_0x208be7(0x102)][_0x208be7(0xee)]()[_0x208be7(0xe1)](_0x58f2d0=>_0x58f2d0[_0x208be7(0x104)]());}[_0x5ef24b(0xe4)](_0x3bfb95,_0x1736b3){const _0x5238b1=_0x5ef24b;_0x5238b1(0xf1)===_0x1736b3||_0x5238b1(0xe9)===_0x1736b3||_0x5238b1(0xe8)===_0x1736b3?this[_0x5238b1(0xd1)][_0x5238b1(0x102)][_0x5238b1(0xfc)](_0x3bfb95,_0x1736b3):this[_0x5238b1(0xd1)][_0x5238b1(0x102)][_0x5238b1(0xcc)](_0x3bfb95,_0x1736b3);}[_0x5ef24b(0xcf)](){const _0x177e82=_0x5ef24b;this[_0x177e82(0xd1)][_0x177e82(0xcf)]();}[_0x5ef24b(0xd8)](){const _0x298fd4=_0x5ef24b;this[_0x298fd4(0xd1)][_0x298fd4(0xd8)]();}[_0x5ef24b(0xf8)](){const _0x4aedce=_0x5ef24b;this[_0x4aedce(0xd1)][_0x4aedce(0xf8)]();}[_0x5ef24b(0x113)](){const _0x1d55b5=_0x5ef24b;this[_0x1d55b5(0xd1)][_0x1d55b5(0x113)]();}[_0x5ef24b(0xd7)](_0x1a5415,_0x23d772,_0x447841,_0x4bc8e3,_0x3dfe32,_0x10c8a2){const _0x507bbb=_0x5ef24b;this[_0x507bbb(0xf9)][_0x507bbb(0x114)](_0x1a5415,_0x23d772,_0x447841,_0x4bc8e3,_0x3dfe32,_0x10c8a2);}[_0x5ef24b(0x111)](){const _0x2e0be5=_0x5ef24b;this[_0x2e0be5(0xf9)][_0x2e0be5(0xde)]();}[_0x5ef24b(0x11b)](){const _0x223fa5=_0x5ef24b;this[_0x223fa5(0xf9)][_0x223fa5(0x11b)]();}[_0x5ef24b(0x118)](){const _0x26fc2c=_0x5ef24b;this[_0x26fc2c(0xf9)][_0x26fc2c(0x118)]();}[_0x5ef24b(0xca)](_0x2f08b5){const _0x3772e8=_0x5ef24b,_0x421fff=this[_0x3772e8(0xd1)][_0x3772e8(0x102)][_0x3772e8(0xee)]()[_0x3772e8(0x101)](_0x807d50=>_0x807d50['id']===_0x2f08b5);return _0x421fff?_0x421fff[_0x3772e8(0xcb)]:null;}[_0x5ef24b(0xfa)](){const _0x857c13=_0x5ef24b;this[_0x857c13(0xf9)][_0x857c13(0xfa)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xa0dd(){var _0x46d928=['310OfmlTr','4473427TltEhG','commandId','apiId','useArgs','9ISdCcx','26010rpBNje','options','826ogcRwL','description','isParameterized','5941104HbJZtz','3913940sbABHq','2630drSdhj','title','args','85016EuhqyL','1389AibbuM'];_0xa0dd=function(){return _0x46d928;};return _0xa0dd();}var _0x68d74f=_0x4085;(function(_0xe4a10a,_0x1fcf9b){var _0x37f5d8=_0x4085,_0x3a5d41=_0xe4a10a();while(!![]){try{var _0x14c98c=parseInt(_0x37f5d8(0x95))/0x1+parseInt(_0x37f5d8(0x9a))/0x2*(-parseInt(_0x37f5d8(0x9e))/0x3)+parseInt(_0x37f5d8(0x98))/0x4+parseInt(_0x37f5d8(0x9f))/0x5*(parseInt(_0x37f5d8(0x93))/0x6)+-parseInt(_0x37f5d8(0x8e))/0x7+-parseInt(_0x37f5d8(0x9d))/0x8*(-parseInt(_0x37f5d8(0x92))/0x9)+parseInt(_0x37f5d8(0x99))/0xa;if(_0x14c98c===_0x1fcf9b)break;else _0x3a5d41['push'](_0x3a5d41['shift']());}catch(_0x111e90){_0x3a5d41['push'](_0x3a5d41['shift']());}}}(_0xa0dd,0xddebb));function _0x4085(_0x24d2af,_0x238185){var _0xa0dd80=_0xa0dd();return _0x4085=function(_0x408517,_0x288055){_0x408517=_0x408517-0x8e;var _0x5b343b=_0xa0dd80[_0x408517];return _0x5b343b;},_0x4085(_0x24d2af,_0x238185);}export class AIReviewCheck{['id'];[_0x68d74f(0x8f)];[_0x68d74f(0x9b)];[_0x68d74f(0x96)];[_0x68d74f(0x97)];[_0x68d74f(0x91)];[_0x68d74f(0x94)];[_0x68d74f(0x9c)];get[_0x68d74f(0x90)](){var _0x34428e=_0x68d74f;return this[_0x34428e(0x8f)];}constructor(_0x3f2440){var _0x18f18f=_0x68d74f;this['id']=_0x3f2440['id'],this[_0x18f18f(0x8f)]=_0x3f2440[_0x18f18f(0x8f)],this[_0x18f18f(0x9b)]=_0x3f2440[_0x18f18f(0x9b)],this[_0x18f18f(0x96)]=_0x3f2440[_0x18f18f(0x96)],this[_0x18f18f(0x97)]=_0x3f2440[_0x18f18f(0x97)],this[_0x18f18f(0x91)]=_0x3f2440[_0x18f18f(0x91)],this[_0x18f18f(0x94)]=_0x3f2440[_0x18f18f(0x94)],this[_0x18f18f(0x9c)]=_0x3f2440[_0x18f18f(0x9c)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2fe4ee=_0xec57;(function(_0x2e7c38,_0xf52acc){var _0x25f141=_0xec57,_0x2fc260=_0x2e7c38();while(!![]){try{var _0x3c2e58=-parseInt(_0x25f141(0x196))/0x1*(-parseInt(_0x25f141(0x198))/0x2)+parseInt(_0x25f141(0x19b))/0x3+-parseInt(_0x25f141(0x19a))/0x4*(parseInt(_0x25f141(0x1a3))/0x5)+parseInt(_0x25f141(0x1a2))/0x6*(-parseInt(_0x25f141(0x1a0))/0x7)+parseInt(_0x25f141(0x191))/0x8+-parseInt(_0x25f141(0x197))/0x9+parseInt(_0x25f141(0x19f))/0xa*(parseInt(_0x25f141(0x194))/0xb);if(_0x3c2e58===_0xf52acc)break;else _0x2fc260['push'](_0x2fc260['shift']());}catch(_0x591f98){_0x2fc260['push'](_0x2fc260['shift']());}}}(_0x4638,0xbf582));import{ObservableMixin as _0x34e744}from'ckeditor5/src/utils.js';function _0xec57(_0x530a26,_0x245801){var _0x4638ec=_0x4638();return _0xec57=function(_0xec5792,_0x6531bf){_0xec5792=_0xec5792-0x191;var _0x1a1406=_0x4638ec[_0xec5792];return _0x1a1406;},_0xec57(_0x530a26,_0x245801);}function _0x4638(){var _0x285445=['9001363XaUqBV','setupChecks','6mUXjzB','293585wRtYtX','4482808TIWHZW','filter','getCheckById','12397UDHptp','map','6rhsOpW','2556351VWTCMi','123916ZMZbXX','find','4FgqAWV','2611815FcKmzx','_checks','checks','removeCheckById','5410sDgybl'];_0x4638=function(){return _0x285445;};return _0x4638();}import{AIReviewCheck as _0x5b1211}from'./aireviewcheck.js';export class AIReviewCheckList extends _0x34e744(){[_0x2fe4ee(0x19c)]=[];[_0x2fe4ee(0x1a1)](_0x19cb57){var _0x2b3fd5=_0x2fe4ee;this[_0x2b3fd5(0x19c)]=_0x19cb57[_0x2b3fd5(0x195)](_0x3474bd=>new _0x5b1211(_0x3474bd));}get[_0x2fe4ee(0x19d)](){var _0xde5d69=_0x2fe4ee;return this[_0xde5d69(0x19c)];}[_0x2fe4ee(0x193)](_0x5192d8){var _0x308c44=_0x2fe4ee;return this[_0x308c44(0x19d)][_0x308c44(0x199)](_0x38481d=>_0x38481d['id']===_0x5192d8);}[_0x2fe4ee(0x19e)](_0x33a468){var _0x3ea020=_0x2fe4ee;this[_0x3ea020(0x19c)]=this[_0x3ea020(0x19c)][_0x3ea020(0x192)](_0x5d54c1=>_0x5d54c1['id']!==_0x33a468);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x49d225=_0x4609;(function(_0x4af70c,_0x5871b4){var _0x346c65=_0x4609,_0x2f1445=_0x4af70c();while(!![]){try{var _0x59f86d=parseInt(_0x346c65(0x1d3))/0x1*(parseInt(_0x346c65(0x1cf))/0x2)+parseInt(_0x346c65(0x1da))/0x3+parseInt(_0x346c65(0x1db))/0x4*(-parseInt(_0x346c65(0x1d9))/0x5)+-parseInt(_0x346c65(0x1dd))/0x6*(-parseInt(_0x346c65(0x1d4))/0x7)+-parseInt(_0x346c65(0x1d0))/0x8+-parseInt(_0x346c65(0x1d1))/0x9*(parseInt(_0x346c65(0x1d5))/0xa)+-parseInt(_0x346c65(0x1d8))/0xb*(-parseInt(_0x346c65(0x1dc))/0xc);if(_0x59f86d===_0x5871b4)break;else _0x2f1445['push'](_0x2f1445['shift']());}catch(_0x2f7838){_0x2f1445['push'](_0x2f1445['shift']());}}}(_0x3c85,0xcf855));function _0x3c85(){var _0x337706=['1591380JiPdYz','42408NHQhMZ','426oSPjaY','88ZbBkTb','2885392swDBuW','1737jgTbiN','contentInitial','29983grqWTK','83146MpSlvd','85430uqDqZX','contentNew','documentVersion','2035SGQDRI','5BNcFcT','1322829YQuwDx'];_0x3c85=function(){return _0x337706;};return _0x3c85();}import{EmitterMixin as _0x41ceff}from'ckeditor5/src/utils.js';function _0x4609(_0x2e8a9e,_0x4330aa){var _0x3c85d3=_0x3c85();return _0x4609=function(_0x460966,_0x11c3ff){_0x460966=_0x460966-0x1cf;var _0x55acec=_0x3c85d3[_0x460966];return _0x55acec;},_0x4609(_0x2e8a9e,_0x4330aa);}export class AIReviewCheckResult extends _0x41ceff(){['id'];[_0x49d225(0x1d6)];[_0x49d225(0x1d2)];[_0x49d225(0x1d7)];constructor({id:_0x4c3ff3,contentNew:_0x39a4db,contentInitial:_0x3c9c29,documentVersion:_0x43e638}){var _0x2ebe62=_0x49d225;super(),this['id']=_0x4c3ff3,this[_0x2ebe62(0x1d6)]=_0x39a4db,this[_0x2ebe62(0x1d2)]=_0x3c9c29,this[_0x2ebe62(0x1d7)]=_0x43e638;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0xc28a0c=_0x13a9;function _0x13a9(_0x54de27,_0x3a6d2c){var _0x16eded=_0x16ed();return _0x13a9=function(_0x13a9a9,_0x3bb1b3){_0x13a9a9=_0x13a9a9-0x10d;var _0x20ff10=_0x16eded[_0x13a9a9];return _0x20ff10;},_0x13a9(_0x54de27,_0x3a6d2c);}function _0x16ed(){var _0x345509=['_editorOperations','set','contentDiffed','1810330ymodKj','isRated','_data','operations','69700Kmvndp','508916ycgdTw','status','pending','66nJdANy','107536mEOVZn','632244SVfceS','isActivated','36IBeWnZ','context','721686IoTpzX','parent','operationsIsolated','4kZQciH','change:status','135721eRSiHy'];_0x16ed=function(){return _0x345509;};return _0x16ed();}(function(_0x12f218,_0xe12012){var _0x2296ed=_0x13a9,_0x2325b9=_0x12f218();while(!![]){try{var _0x3986c1=-parseInt(_0x2296ed(0x116))/0x1*(parseInt(_0x2296ed(0x114))/0x2)+-parseInt(_0x2296ed(0x10d))/0x3+-parseInt(_0x2296ed(0x11f))/0x4+parseInt(_0x2296ed(0x11e))/0x5*(parseInt(_0x2296ed(0x122))/0x6)+-parseInt(_0x2296ed(0x111))/0x7+parseInt(_0x2296ed(0x123))/0x8+parseInt(_0x2296ed(0x10f))/0x9*(parseInt(_0x2296ed(0x11a))/0xa);if(_0x3986c1===_0xe12012)break;else _0x2325b9['push'](_0x2325b9['shift']());}catch(_0xe4d8b9){_0x2325b9['push'](_0x2325b9['shift']());}}}(_0x16ed,0x2b8dd));import{ObservableMixin as _0x187442}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x187442(){['id'];[_0xc28a0c(0x112)];[_0xc28a0c(0x11c)];[_0xc28a0c(0x117)]=[];constructor(_0x184e2d,_0x180f2d,_0x521bf9){var _0x363282=_0xc28a0c;super(),this['id']=_0x184e2d,this[_0x363282(0x112)]=_0x521bf9,this[_0x363282(0x11c)]=_0x180f2d,this[_0x363282(0x118)](_0x363282(0x10e),!0x1),this[_0x363282(0x118)](_0x363282(0x11b),!0x1),this[_0x363282(0x118)](_0x363282(0x120),_0x363282(0x121)),this['on'](_0x363282(0x115),()=>{var _0x3796bc=_0x363282;_0x3796bc(0x121)!==this[_0x3796bc(0x120)]&&this[_0x3796bc(0x10e)]&&(this[_0x3796bc(0x10e)]=!0x1);});}get[_0xc28a0c(0x119)](){var _0x581d3a=_0xc28a0c;return this[_0x581d3a(0x11c)][_0x581d3a(0x110)]();}get[_0xc28a0c(0x11d)](){var _0x57887d=_0xc28a0c;return this[_0x57887d(0x11c)][_0x57887d(0x11d)];}get[_0xc28a0c(0x113)](){var _0x2763d4=_0xc28a0c;return this[_0x2763d4(0x11c)][_0x2763d4(0x113)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xb28bd6=_0x1f8e;function _0x1f8e(_0x2fda32,_0x29c2b1){const _0x3f120b=_0x3f12();return _0x1f8e=function(_0x1f8efd,_0x3ab83f){_0x1f8efd=_0x1f8efd-0x118;let _0x3a1db0=_0x3f120b[_0x1f8efd];return _0x3a1db0;},_0x1f8e(_0x2fda32,_0x29c2b1);}(function(_0x46aae5,_0x271d31){const _0x116c9f=_0x1f8e,_0x58d720=_0x46aae5();while(!![]){try{const _0x35203d=-parseInt(_0x116c9f(0x119))/0x1*(-parseInt(_0x116c9f(0x146))/0x2)+parseInt(_0x116c9f(0x152))/0x3+parseInt(_0x116c9f(0x124))/0x4+parseInt(_0x116c9f(0x15f))/0x5+-parseInt(_0x116c9f(0x12d))/0x6+-parseInt(_0x116c9f(0x122))/0x7*(-parseInt(_0x116c9f(0x132))/0x8)+parseInt(_0x116c9f(0x161))/0x9*(-parseInt(_0x116c9f(0x16c))/0xa);if(_0x35203d===_0x271d31)break;else _0x58d720['push'](_0x58d720['shift']());}catch(_0x5a0034){_0x58d720['push'](_0x58d720['shift']());}}}(_0x3f12,0xbaa4f));import{ObservableMixin as _0x52c117,uid as _0x3316c8}from'ckeditor5/src/utils.js';function _0x3f12(){const _0x180869=['reviewCheckRunUpdated','length','pending','addResultChanges','filter','2286OUfZzs','subTitle','reviewCheckResultActivated','size','status','textDelta','isChangeActive','title','_sendRatingRequest','finished','dataId','ready','3473826iUSrrp','_activeRequest','set','accepted','documentData','event','change:status','every','parent','markChangeAsAccepted','initialized','_reviewParams','callId','140920rDUKvL','clear','9giEHkr','abortController','_results','_documentData','operation','rejected','markChangeAsRejected','reviewCheckResultAdded','sendRating','isActivated','includes','17831290ReZrIS','hasModifications','reviewName','getStream','abort','getActiveChanges','activateChange','unmodified','loading','deactivateChange','currentError','some','forEach','_currentError','_aiConnector','_sourceCheck','forceReadyState','_reviewArgs','1153hLDlgz','_changes','reviewCheckResultDeactivated','markChangeAsOutdated','reviewCheckResultChangeStatusUpdated','error','error-chunk','reviewCheckResultReady','review-metadata','175hmcZbe','getChangeById','1293960uMEMAf','ai-request-aborted','elements','get','updateDocumentData','markAllChangesAsAccepted','_wasAborted','data','isRated','5118576BMCrOL','start','restart','fire','_addReviewCheckResult','183432nraIeV','push','isAnyChangeActivated','change:isActivated','_checkIfFinished','find','markChangeAsPending','processedResultsCount','outdated','message','aborted','error-general','_createApiRequest','getContent','version'];_0x3f12=function(){return _0x180869;};return _0x3f12();}import{AIReviewCheckResult as _0x460b7a}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x1b3062}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x52c117(){['id']=_0x3316c8();[_0xb28bd6(0x15e)];[_0xb28bd6(0x163)]=new Map();[_0xb28bd6(0x11a)]=[];[_0xb28bd6(0x17b)];[_0xb28bd6(0x164)];[_0xb28bd6(0x17a)];[_0xb28bd6(0x15d)];[_0xb28bd6(0x118)];[_0xb28bd6(0x153)]=null;[_0xb28bd6(0x179)];[_0xb28bd6(0x12a)]=!0x1;constructor(_0x579bf7,_0x2abb8e,_0x245e58,_0x372095,_0x247210){const _0x509270=_0xb28bd6;super(),this[_0x509270(0x17b)]=_0x2abb8e,this[_0x509270(0x164)]=_0x579bf7,this[_0x509270(0x17a)]=_0x245e58,this[_0x509270(0x15d)]=_0x372095,this[_0x509270(0x118)]=_0x247210,this['on'](_0x509270(0x158),(_0x3d0d9a,_0x1a093a,_0x4f439a)=>{const _0x210f47=_0x509270;_0x210f47(0x13c)==_0x4f439a&&(this[_0x210f47(0x12a)]=!0x0),this[_0x210f47(0x130)](_0x210f47(0x141),{'status':_0x4f439a,'run':this,'error':this[_0x210f47(0x179)]});}),this[_0x509270(0x154)](_0x509270(0x14a),_0x509270(0x15c));}get[_0xb28bd6(0x156)](){const _0x11c6fd=_0xb28bd6;return this[_0x11c6fd(0x164)];}get[_0xb28bd6(0x139)](){const _0x2e24d2=_0xb28bd6;return this[_0x2e24d2(0x163)][_0x2e24d2(0x149)];}get[_0xb28bd6(0x14d)](){const _0xb954dd=_0xb28bd6;return this[_0xb954dd(0x17b)][_0xb954dd(0x14d)];}get[_0xb28bd6(0x147)](){return'';}get[_0xb28bd6(0x16e)](){const _0x2b747f=_0xb28bd6;return this[_0x2b747f(0x17b)]['id'];}get[_0xb28bd6(0x16d)](){const _0x2883f4=_0xb28bd6;return!this[_0x2883f4(0x11a)][_0x2883f4(0x159)](_0x38b663=>_0x2883f4(0x143)===_0x38b663[_0x2883f4(0x14a)]);}get[_0xb28bd6(0x176)](){const _0x398c6d=_0xb28bd6;return this[_0x398c6d(0x179)];}[_0xb28bd6(0x128)](_0x8987a4){const _0x16b7ab=_0xb28bd6;this[_0x16b7ab(0x164)]=_0x8987a4;}async[_0xb28bd6(0x12e)](){const _0x40e47f=_0xb28bd6;this[_0x40e47f(0x14a)]=_0x40e47f(0x174),this[_0x40e47f(0x179)]=void 0x0;try{this[_0x40e47f(0x153)]=this[_0x40e47f(0x13e)]();const _0x4ccfb4=await this[_0x40e47f(0x153)][_0x40e47f(0x16f)]();this[_0x40e47f(0x14a)]=_0x40e47f(0x12b);for await(const _0x3f8302 of _0x4ccfb4)_0x40e47f(0x173)!==_0x3f8302[_0x40e47f(0x12b)][_0x40e47f(0x165)]&&(_0x40e47f(0x11e)!==_0x3f8302[_0x40e47f(0x12b)][_0x40e47f(0x165)]?_0x40e47f(0x121)!==_0x3f8302[_0x40e47f(0x157)]?this[_0x40e47f(0x131)](_0x3f8302[_0x40e47f(0x12b)][_0x40e47f(0x150)],_0x3f8302[_0x40e47f(0x12b)][_0x40e47f(0x14b)]):this[_0x40e47f(0x15e)]=_0x3f8302[_0x40e47f(0x12b)][_0x40e47f(0x15e)]:this[_0x40e47f(0x14a)]=_0x40e47f(0x11f));_0x40e47f(0x11f)!==this[_0x40e47f(0x14a)]&&(0x0===this[_0x40e47f(0x163)][_0x40e47f(0x149)]||0x0===this[_0x40e47f(0x11a)][_0x40e47f(0x142)]?this[_0x40e47f(0x14a)]=_0x40e47f(0x173):this[_0x40e47f(0x14a)]=_0x40e47f(0x151));}catch(_0x3a703e){this[_0x40e47f(0x179)]=_0x3a703e,_0x3a703e instanceof Error&&_0x3a703e[_0x40e47f(0x13b)][_0x40e47f(0x16b)](_0x40e47f(0x125))?this[_0x40e47f(0x14a)]=_0x40e47f(0x13c):this[_0x40e47f(0x14a)]=_0x40e47f(0x13d);}finally{this[_0x40e47f(0x153)]=null;}}async[_0xb28bd6(0x12f)](){const _0x3402b9=_0xb28bd6;this[_0x3402b9(0x163)][_0x3402b9(0x160)](),this[_0x3402b9(0x11a)][_0x3402b9(0x142)]=0x0,this[_0x3402b9(0x179)]=void 0x0,await this[_0x3402b9(0x12e)]();}[_0xb28bd6(0x144)](_0x406c0f,_0x373e79){const _0x542c02=_0xb28bd6,_0x1b8e0b=this[_0x542c02(0x163)][_0x542c02(0x127)](_0x406c0f);if(!_0x1b8e0b)return;if(0x0===_0x373e79[_0x542c02(0x142)])return;const _0x4cbd3c=[];_0x373e79[_0x542c02(0x178)]((_0x105b69,_0x462a0e)=>{const _0x5ab479=_0x542c02,_0x104275=new _0x1b3062(_0x1b8e0b['id']+'-'+_0x462a0e,_0x105b69,_0x1b8e0b);_0x104275['on'](_0x5ab479(0x158),()=>{const _0x37ccbc=_0x5ab479;this[_0x37ccbc(0x130)](_0x37ccbc(0x11d),{'change':_0x104275,'status':_0x104275[_0x37ccbc(0x14a)]});}),_0x104275['on'](_0x5ab479(0x135),()=>{const _0x1222ee=_0x5ab479;_0x104275[_0x1222ee(0x16a)]?this[_0x1222ee(0x130)](_0x1222ee(0x148),{'change':_0x104275}):this[_0x1222ee(0x130)](_0x1222ee(0x11b),{'change':_0x104275});}),this[_0x5ab479(0x11a)][_0x5ab479(0x133)](_0x104275),_0x4cbd3c[_0x5ab479(0x133)](_0x104275);}),this[_0x542c02(0x130)](_0x542c02(0x120),{'changes':_0x4cbd3c,'result':_0x1b8e0b,'source':this});}[_0xb28bd6(0x170)](){const _0x45350e=_0xb28bd6;this[_0x45350e(0x153)]&&(this[_0x45350e(0x153)][_0x45350e(0x162)][_0x45350e(0x170)](),this[_0x45350e(0x153)]=null,this[_0x45350e(0x14a)]=_0x45350e(0x13c));}[_0xb28bd6(0x14c)](_0x216bbc){const _0x2a85f5=_0xb28bd6,_0x371344=this[_0x2a85f5(0x11a)][_0x2a85f5(0x137)](_0x5a9507=>_0x5a9507['id']===_0x216bbc);return!(!_0x371344||_0x2a85f5(0x143)!==_0x371344[_0x2a85f5(0x14a)]);}[_0xb28bd6(0x134)](){const _0x533589=_0xb28bd6;return this[_0x533589(0x11a)][_0x533589(0x177)](_0x2a7b88=>!0x0===_0x2a7b88[_0x533589(0x16a)]);}[_0xb28bd6(0x171)](){const _0x1c2018=_0xb28bd6;return this[_0x1c2018(0x11a)][_0x1c2018(0x145)](_0xd26604=>_0x1c2018(0x143)===_0xd26604[_0x1c2018(0x14a)]);}[_0xb28bd6(0x123)](_0x4a832c){const _0x5b61c5=_0xb28bd6;return this[_0x5b61c5(0x11a)][_0x5b61c5(0x137)](_0x545c53=>_0x545c53['id']===_0x4a832c);}[_0xb28bd6(0x129)](){const _0x54c64e=_0xb28bd6;for(const _0x3dbf83 of this[_0x54c64e(0x11a)])_0x54c64e(0x143)===_0x3dbf83[_0x54c64e(0x14a)]&&(_0x3dbf83[_0x54c64e(0x14a)]=_0x54c64e(0x155));this[_0x54c64e(0x136)]();}[_0xb28bd6(0x15b)](_0x156943){const _0x4cd1c1=_0xb28bd6,_0x2771e5=this[_0x4cd1c1(0x11a)][_0x4cd1c1(0x137)](_0x3e1bfe=>_0x3e1bfe['id']===_0x156943);_0x2771e5&&_0x4cd1c1(0x143)===_0x2771e5[_0x4cd1c1(0x14a)]&&(_0x2771e5[_0x4cd1c1(0x14a)]=_0x4cd1c1(0x155)),this[_0x4cd1c1(0x136)]();}[_0xb28bd6(0x167)](_0x57a3ef){const _0x437f56=_0xb28bd6,_0xc1b02f=this[_0x437f56(0x11a)][_0x437f56(0x137)](_0x9ae5ad=>_0x9ae5ad['id']===_0x57a3ef);_0xc1b02f&&_0x437f56(0x143)===_0xc1b02f[_0x437f56(0x14a)]&&(_0xc1b02f[_0x437f56(0x14a)]=_0x437f56(0x166)),this[_0x437f56(0x136)]();}[_0xb28bd6(0x11c)](_0x2113aa){const _0x4df5c0=_0xb28bd6,_0x4d52f7=this[_0x4df5c0(0x11a)][_0x4df5c0(0x137)](_0x2915ef=>_0x2915ef['id']===_0x2113aa);_0x4d52f7&&_0x4df5c0(0x143)===_0x4d52f7[_0x4df5c0(0x14a)]&&(_0x4d52f7[_0x4df5c0(0x14a)]=_0x4df5c0(0x13a)),this[_0x4df5c0(0x136)]();}[_0xb28bd6(0x138)](_0x3ef6c2){const _0x2dde28=_0xb28bd6,_0x162e71=this[_0x2dde28(0x11a)][_0x2dde28(0x137)](_0x227005=>_0x227005['id']===_0x3ef6c2);_0x162e71&&_0x2dde28(0x13a)===_0x162e71[_0x2dde28(0x14a)]&&(_0x162e71[_0x2dde28(0x14a)]=_0x2dde28(0x143)),this[_0x2dde28(0x136)]();}[_0xb28bd6(0x172)](_0x116901){const _0x443e65=_0xb28bd6;this[_0x443e65(0x11a)][_0x443e65(0x145)](_0x6fcd0c=>_0x6fcd0c[_0x443e65(0x16a)]&&_0x6fcd0c['id']!==_0x116901)[_0x443e65(0x178)](_0xb12647=>{const _0x3782f9=_0x443e65;_0xb12647[_0x3782f9(0x16a)]=!0x1;});const _0x22af36=this[_0x443e65(0x11a)][_0x443e65(0x137)](_0x3667e4=>_0x3667e4['id']===_0x116901);_0x22af36&&_0x443e65(0x143)===_0x22af36[_0x443e65(0x14a)]&&(_0x22af36[_0x443e65(0x16a)]=!0x0);}[_0xb28bd6(0x175)](){const _0x1b74aa=_0xb28bd6;this[_0x1b74aa(0x11a)][_0x1b74aa(0x145)](_0x1bb22d=>_0x1bb22d[_0x1b74aa(0x16a)])[_0x1b74aa(0x178)](_0x5102a0=>{const _0x310c05=_0x1b74aa;_0x5102a0[_0x310c05(0x16a)]=!0x1;});}[_0xb28bd6(0x17c)](){const _0x404eb4=_0xb28bd6;this[_0x404eb4(0x14a)]=_0x404eb4(0x151);}async[_0xb28bd6(0x169)](_0x2824c5){const _0x5aa79c=_0xb28bd6;if(_0x5aa79c(0x15c)===this[_0x5aa79c(0x14a)]||_0x5aa79c(0x174)===this[_0x5aa79c(0x14a)]||_0x5aa79c(0x12b)===this[_0x5aa79c(0x14a)]||this[_0x5aa79c(0x12a)])return;if(!this[_0x5aa79c(0x15e)]||0x0===this[_0x5aa79c(0x11a)][_0x5aa79c(0x142)])return;let _0x4cdc97;if(_0x2824c5){const _0x20586a=this[_0x5aa79c(0x11a)][_0x5aa79c(0x137)](_0x4b42db=>_0x4b42db['id']===_0x2824c5);if(_0x20586a&&_0x20586a[_0x5aa79c(0x12c)])return;_0x20586a&&(_0x4cdc97=_0x20586a[_0x5aa79c(0x15a)]['id'],_0x20586a[_0x5aa79c(0x12c)]=!0x0);}const _0x572646={'positiveCount':this[_0x5aa79c(0x11a)][_0x5aa79c(0x145)](_0x5e3606=>_0x5aa79c(0x155)===_0x5e3606[_0x5aa79c(0x14a)])[_0x5aa79c(0x142)],'totalCount':this[_0x5aa79c(0x11a)][_0x5aa79c(0x142)]};this[_0x5aa79c(0x14e)](_0x572646,this[_0x5aa79c(0x15e)],_0x4cdc97);}[_0xb28bd6(0x131)](_0x5a8a6c,_0x3dce66){const _0x17f011=_0xb28bd6,_0x152107=this[_0x17f011(0x164)][_0x17f011(0x126)][_0x17f011(0x127)](_0x5a8a6c);if(!_0x152107)return;const _0x3dfc7b=_0x152107[_0x17f011(0x13f)]();if(_0x3dfc7b===_0x3dce66)return;const _0x2b6998=new _0x460b7a({'id':_0x5a8a6c,'contentInitial':_0x3dfc7b,'contentNew':_0x3dce66,'documentVersion':this[_0x17f011(0x164)][_0x17f011(0x140)]});this[_0x17f011(0x163)][_0x17f011(0x154)](_0x2b6998['id'],_0x2b6998),this[_0x17f011(0x130)](_0x17f011(0x168),{'result':_0x2b6998,'source':this});}[_0xb28bd6(0x136)](){const _0x5f8e80=_0xb28bd6;_0x5f8e80(0x14f)===this[_0x5f8e80(0x14a)]&&(this[_0x5f8e80(0x11a)][_0x5f8e80(0x145)](_0x51f255=>_0x5f8e80(0x143)===_0x51f255[_0x5f8e80(0x14a)])[_0x5f8e80(0x142)]>0x0&&(this[_0x5f8e80(0x14a)]=_0x5f8e80(0x151))),_0x5f8e80(0x151)===this[_0x5f8e80(0x14a)]&&(0x0===this[_0x5f8e80(0x11a)][_0x5f8e80(0x145)](_0x2f2802=>_0x5f8e80(0x143)===_0x2f2802[_0x5f8e80(0x14a)])[_0x5f8e80(0x142)]&&(this[_0x5f8e80(0x14a)]=_0x5f8e80(0x14f)));}}
|
|
23
|
+
const _0x30ddc8=_0xe41e;(function(_0x267dda,_0x3e5de2){const _0x58213=_0xe41e,_0x506fdf=_0x267dda();while(!![]){try{const _0x4d42a8=-parseInt(_0x58213(0x1a7))/0x1+parseInt(_0x58213(0x201))/0x2*(-parseInt(_0x58213(0x1bd))/0x3)+-parseInt(_0x58213(0x1e4))/0x4*(-parseInt(_0x58213(0x1b7))/0x5)+parseInt(_0x58213(0x1c5))/0x6+-parseInt(_0x58213(0x1bc))/0x7*(parseInt(_0x58213(0x1ae))/0x8)+parseInt(_0x58213(0x1f4))/0x9*(parseInt(_0x58213(0x1f2))/0xa)+parseInt(_0x58213(0x1de))/0xb*(parseInt(_0x58213(0x1e9))/0xc);if(_0x4d42a8===_0x3e5de2)break;else _0x506fdf['push'](_0x506fdf['shift']());}catch(_0x5d10a7){_0x506fdf['push'](_0x506fdf['shift']());}}}(_0x552b,0x4496b));function _0x552b(){const _0x3ad3d2=['markChangeAsRejected','rejected','16xbnSxu','initialized','includes','error-general','reviewName','_aiConnector','operation','isChangeActive','_addReviewCheckResult','markChangeAsPending','callId','getActiveChanges','get','214967dKlIkh','_results','data','change:isActivated','sendRating','change:status','unmodified','8YTvKFd','_checkIfFinished','forceReadyState','finished','reviewCheckResultChangeStatusUpdated','_reviewParams','find','title','hasModifications','118330IAjYdC','some','addResultChanges','reviewCheckResultAdded','isRated','2748970vgZbue','75699SuyGWx','_currentError','_changes','error-chunk','subTitle','push','processedResultsCount','isAnyChangeActivated','2177286ufZOEC','markChangeAsAccepted','textDelta','isActivated','pending','size','message','reviewCheckResultActivated','error','abort','_activeRequest','review-metadata','getStream','aborted','version','set','clear','outdated','forEach','elements','fire','updateDocumentData','ai-request-aborted','currentError','_documentData','804991UCyWpI','event','_reviewArgs','restart','reviewCheckResultDeactivated','reviewCheckResultReady','16uorcJP','filter','parent','deactivateChange','abortController','24yyNjCp','length','markChangeAsOutdated','loading','accepted','activateChange','_wasAborted','getChangeById','reviewCheckRunUpdated','27490zhKEFN','getContent','1593mjyPGF','documentData','status','_sendRatingRequest','dataId','ready','start','every','markAllChangesAsAccepted','_createApiRequest','_sourceCheck'];_0x552b=function(){return _0x3ad3d2;};return _0x552b();}function _0xe41e(_0x4cd523,_0xd6c003){const _0x552b08=_0x552b();return _0xe41e=function(_0xe41e5a,_0x5a77b2){_0xe41e5a=_0xe41e5a-0x1a5;let _0x1395eb=_0x552b08[_0xe41e5a];return _0x1395eb;},_0xe41e(_0x4cd523,_0xd6c003);}import{ObservableMixin as _0x571461,uid as _0x41da9a}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x33af61}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x17e2ad}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x571461(){['id']=_0x41da9a();[_0x30ddc8(0x20b)];[_0x30ddc8(0x1a8)]=new Map();[_0x30ddc8(0x1bf)]=[];[_0x30ddc8(0x1fe)];[_0x30ddc8(0x1dd)];[_0x30ddc8(0x206)];[_0x30ddc8(0x1b3)];[_0x30ddc8(0x1e0)];[_0x30ddc8(0x1cf)]=null;[_0x30ddc8(0x1be)];[_0x30ddc8(0x1ef)]=!0x1;constructor(_0x1ae144,_0x5b6080,_0x13e713,_0x1cf6d2,_0x4765f5){const _0x2d34ce=_0x30ddc8;super(),this[_0x2d34ce(0x1fe)]=_0x5b6080,this[_0x2d34ce(0x1dd)]=_0x1ae144,this[_0x2d34ce(0x206)]=_0x13e713,this[_0x2d34ce(0x1b3)]=_0x1cf6d2,this[_0x2d34ce(0x1e0)]=_0x4765f5,this['on'](_0x2d34ce(0x1ac),(_0x199a83,_0x3b92a4,_0x546867)=>{const _0x5b0984=_0x2d34ce;_0x5b0984(0x1d2)==_0x546867&&(this[_0x5b0984(0x1ef)]=!0x0),this[_0x5b0984(0x1d9)](_0x5b0984(0x1f1),{'status':_0x546867,'run':this,'error':this[_0x5b0984(0x1be)]});}),this[_0x2d34ce(0x1d4)](_0x2d34ce(0x1f6),_0x2d34ce(0x202));}get[_0x30ddc8(0x1f5)](){const _0x1190b0=_0x30ddc8;return this[_0x1190b0(0x1dd)];}get[_0x30ddc8(0x1c3)](){const _0x271ecb=_0x30ddc8;return this[_0x271ecb(0x1a8)][_0x271ecb(0x1ca)];}get[_0x30ddc8(0x1b5)](){const _0xdbd535=_0x30ddc8;return this[_0xdbd535(0x1fe)][_0xdbd535(0x1b5)];}get[_0x30ddc8(0x1c1)](){return'';}get[_0x30ddc8(0x205)](){const _0x4856b2=_0x30ddc8;return this[_0x4856b2(0x1fe)]['id'];}get[_0x30ddc8(0x1b6)](){const _0x161a31=_0x30ddc8;return!this[_0x161a31(0x1bf)][_0x161a31(0x1fb)](_0x4233f8=>_0x161a31(0x1c9)===_0x4233f8[_0x161a31(0x1f6)]);}get[_0x30ddc8(0x1dc)](){const _0x4a150a=_0x30ddc8;return this[_0x4a150a(0x1be)];}[_0x30ddc8(0x1da)](_0x4c85d1){const _0x12fcc8=_0x30ddc8;this[_0x12fcc8(0x1dd)]=_0x4c85d1;}async[_0x30ddc8(0x1fa)](){const _0x218fe1=_0x30ddc8;this[_0x218fe1(0x1f6)]=_0x218fe1(0x1ec),this[_0x218fe1(0x1be)]=void 0x0;try{this[_0x218fe1(0x1cf)]=this[_0x218fe1(0x1fd)]();const _0x3cc184=await this[_0x218fe1(0x1cf)][_0x218fe1(0x1d1)]();this[_0x218fe1(0x1f6)]=_0x218fe1(0x1a9);for await(const _0xc06da3 of _0x3cc184)_0x218fe1(0x1ad)!==_0xc06da3[_0x218fe1(0x1a9)][_0x218fe1(0x207)]&&(_0x218fe1(0x1cd)!==_0xc06da3[_0x218fe1(0x1a9)][_0x218fe1(0x207)]?_0x218fe1(0x1d0)!==_0xc06da3[_0x218fe1(0x1df)]?this[_0x218fe1(0x209)](_0xc06da3[_0x218fe1(0x1a9)][_0x218fe1(0x1f8)],_0xc06da3[_0x218fe1(0x1a9)][_0x218fe1(0x1c7)]):this[_0x218fe1(0x20b)]=_0xc06da3[_0x218fe1(0x1a9)][_0x218fe1(0x20b)]:this[_0x218fe1(0x1f6)]=_0x218fe1(0x1c0));_0x218fe1(0x1c0)!==this[_0x218fe1(0x1f6)]&&(0x0===this[_0x218fe1(0x1a8)][_0x218fe1(0x1ca)]||0x0===this[_0x218fe1(0x1bf)][_0x218fe1(0x1ea)]?this[_0x218fe1(0x1f6)]=_0x218fe1(0x1ad):this[_0x218fe1(0x1f6)]=_0x218fe1(0x1f9));}catch(_0x8094de){this[_0x218fe1(0x1be)]=_0x8094de,_0x8094de instanceof Error&&_0x8094de[_0x218fe1(0x1cb)][_0x218fe1(0x203)](_0x218fe1(0x1db))?this[_0x218fe1(0x1f6)]=_0x218fe1(0x1d2):this[_0x218fe1(0x1f6)]=_0x218fe1(0x204);}finally{this[_0x218fe1(0x1cf)]=null;}}async[_0x30ddc8(0x1e1)](){const _0x11592f=_0x30ddc8;this[_0x11592f(0x1a8)][_0x11592f(0x1d5)](),this[_0x11592f(0x1bf)][_0x11592f(0x1ea)]=0x0,this[_0x11592f(0x1be)]=void 0x0,await this[_0x11592f(0x1fa)]();}[_0x30ddc8(0x1b9)](_0x4eadbd,_0x61c0bd){const _0x26d3b7=_0x30ddc8,_0x256b5e=this[_0x26d3b7(0x1a8)][_0x26d3b7(0x1a6)](_0x4eadbd);if(!_0x256b5e)return;if(0x0===_0x61c0bd[_0x26d3b7(0x1ea)])return;const _0x1f5500=[];_0x61c0bd[_0x26d3b7(0x1d7)]((_0xa7730a,_0x14f9ff)=>{const _0xdbdcd3=_0x26d3b7,_0x21bfb2=new _0x17e2ad(_0x256b5e['id']+'-'+_0x14f9ff,_0xa7730a,_0x256b5e);_0x21bfb2['on'](_0xdbdcd3(0x1ac),()=>{const _0x112ee6=_0xdbdcd3;this[_0x112ee6(0x1d9)](_0x112ee6(0x1b2),{'change':_0x21bfb2,'status':_0x21bfb2[_0x112ee6(0x1f6)]});}),_0x21bfb2['on'](_0xdbdcd3(0x1aa),()=>{const _0x1aa02c=_0xdbdcd3;_0x21bfb2[_0x1aa02c(0x1c8)]?this[_0x1aa02c(0x1d9)](_0x1aa02c(0x1cc),{'change':_0x21bfb2}):this[_0x1aa02c(0x1d9)](_0x1aa02c(0x1e2),{'change':_0x21bfb2});}),this[_0xdbdcd3(0x1bf)][_0xdbdcd3(0x1c2)](_0x21bfb2),_0x1f5500[_0xdbdcd3(0x1c2)](_0x21bfb2);}),this[_0x26d3b7(0x1d9)](_0x26d3b7(0x1e3),{'changes':_0x1f5500,'result':_0x256b5e,'source':this});}[_0x30ddc8(0x1ce)](){const _0xebf2d2=_0x30ddc8;this[_0xebf2d2(0x1cf)]&&(this[_0xebf2d2(0x1cf)][_0xebf2d2(0x1e8)][_0xebf2d2(0x1ce)](),this[_0xebf2d2(0x1cf)]=null,this[_0xebf2d2(0x1f6)]=_0xebf2d2(0x1d2));}[_0x30ddc8(0x208)](_0x386ff8){const _0x2150bc=_0x30ddc8,_0x583946=this[_0x2150bc(0x1bf)][_0x2150bc(0x1b4)](_0x1ddcdc=>_0x1ddcdc['id']===_0x386ff8);return!(!_0x583946||_0x2150bc(0x1c9)!==_0x583946[_0x2150bc(0x1f6)]);}[_0x30ddc8(0x1c4)](){const _0x4a6410=_0x30ddc8;return this[_0x4a6410(0x1bf)][_0x4a6410(0x1b8)](_0x3c7b29=>!0x0===_0x3c7b29[_0x4a6410(0x1c8)]);}[_0x30ddc8(0x1a5)](){const _0x2adf98=_0x30ddc8;return this[_0x2adf98(0x1bf)][_0x2adf98(0x1e5)](_0x196eaa=>_0x2adf98(0x1c9)===_0x196eaa[_0x2adf98(0x1f6)]);}[_0x30ddc8(0x1f0)](_0x511159){const _0x72080c=_0x30ddc8;return this[_0x72080c(0x1bf)][_0x72080c(0x1b4)](_0x283027=>_0x283027['id']===_0x511159);}[_0x30ddc8(0x1fc)](){const _0x16c7a1=_0x30ddc8;for(const _0x1844bd of this[_0x16c7a1(0x1bf)])_0x16c7a1(0x1c9)===_0x1844bd[_0x16c7a1(0x1f6)]&&(_0x1844bd[_0x16c7a1(0x1f6)]=_0x16c7a1(0x1ed));this[_0x16c7a1(0x1af)]();}[_0x30ddc8(0x1c6)](_0x2128e6){const _0x27ba38=_0x30ddc8,_0x406dec=this[_0x27ba38(0x1bf)][_0x27ba38(0x1b4)](_0x249050=>_0x249050['id']===_0x2128e6);_0x406dec&&_0x27ba38(0x1c9)===_0x406dec[_0x27ba38(0x1f6)]&&(_0x406dec[_0x27ba38(0x1f6)]=_0x27ba38(0x1ed)),this[_0x27ba38(0x1af)]();}[_0x30ddc8(0x1ff)](_0x490b56){const _0x4847a6=_0x30ddc8,_0x361a3d=this[_0x4847a6(0x1bf)][_0x4847a6(0x1b4)](_0x11a6ce=>_0x11a6ce['id']===_0x490b56);_0x361a3d&&_0x4847a6(0x1c9)===_0x361a3d[_0x4847a6(0x1f6)]&&(_0x361a3d[_0x4847a6(0x1f6)]=_0x4847a6(0x200)),this[_0x4847a6(0x1af)]();}[_0x30ddc8(0x1eb)](_0x32f830){const _0x828c4e=_0x30ddc8,_0x26b0e5=this[_0x828c4e(0x1bf)][_0x828c4e(0x1b4)](_0x2a079a=>_0x2a079a['id']===_0x32f830);_0x26b0e5&&_0x828c4e(0x1c9)===_0x26b0e5[_0x828c4e(0x1f6)]&&(_0x26b0e5[_0x828c4e(0x1f6)]=_0x828c4e(0x1d6)),this[_0x828c4e(0x1af)]();}[_0x30ddc8(0x20a)](_0x4d1ed7){const _0x18bef7=_0x30ddc8,_0x16a5a9=this[_0x18bef7(0x1bf)][_0x18bef7(0x1b4)](_0x395c2e=>_0x395c2e['id']===_0x4d1ed7);_0x16a5a9&&_0x18bef7(0x1d6)===_0x16a5a9[_0x18bef7(0x1f6)]&&(_0x16a5a9[_0x18bef7(0x1f6)]=_0x18bef7(0x1c9)),this[_0x18bef7(0x1af)]();}[_0x30ddc8(0x1ee)](_0x132e4a){const _0x2f167a=_0x30ddc8;this[_0x2f167a(0x1bf)][_0x2f167a(0x1e5)](_0x46182b=>_0x46182b[_0x2f167a(0x1c8)]&&_0x46182b['id']!==_0x132e4a)[_0x2f167a(0x1d7)](_0x3cee6e=>{const _0x5a2db9=_0x2f167a;_0x3cee6e[_0x5a2db9(0x1c8)]=!0x1;});const _0x1fe2e4=this[_0x2f167a(0x1bf)][_0x2f167a(0x1b4)](_0x29a357=>_0x29a357['id']===_0x132e4a);_0x1fe2e4&&_0x2f167a(0x1c9)===_0x1fe2e4[_0x2f167a(0x1f6)]&&(_0x1fe2e4[_0x2f167a(0x1c8)]=!0x0);}[_0x30ddc8(0x1e7)](){const _0xff5c96=_0x30ddc8;this[_0xff5c96(0x1bf)][_0xff5c96(0x1e5)](_0x170bea=>_0x170bea[_0xff5c96(0x1c8)])[_0xff5c96(0x1d7)](_0x44da22=>{const _0x52cae8=_0xff5c96;_0x44da22[_0x52cae8(0x1c8)]=!0x1;});}[_0x30ddc8(0x1b0)](){const _0x187bb3=_0x30ddc8;this[_0x187bb3(0x1f6)]=_0x187bb3(0x1f9);}async[_0x30ddc8(0x1ab)](_0x1b4667){const _0x2ee57d=_0x30ddc8;if(_0x2ee57d(0x202)===this[_0x2ee57d(0x1f6)]||_0x2ee57d(0x1ec)===this[_0x2ee57d(0x1f6)]||_0x2ee57d(0x1a9)===this[_0x2ee57d(0x1f6)]||this[_0x2ee57d(0x1ef)])return;if(!this[_0x2ee57d(0x20b)]||0x0===this[_0x2ee57d(0x1bf)][_0x2ee57d(0x1ea)])return;let _0x3b1bbe;if(_0x1b4667){const _0x293fce=this[_0x2ee57d(0x1bf)][_0x2ee57d(0x1b4)](_0x1bf20f=>_0x1bf20f['id']===_0x1b4667);if(_0x293fce&&_0x293fce[_0x2ee57d(0x1bb)])return;_0x293fce&&(_0x3b1bbe=_0x293fce[_0x2ee57d(0x1e6)]['id'],_0x293fce[_0x2ee57d(0x1bb)]=!0x0);}const _0x1b8a96={'positiveCount':this[_0x2ee57d(0x1bf)][_0x2ee57d(0x1e5)](_0x5c09ef=>_0x2ee57d(0x1ed)===_0x5c09ef[_0x2ee57d(0x1f6)])[_0x2ee57d(0x1ea)],'totalCount':this[_0x2ee57d(0x1bf)][_0x2ee57d(0x1ea)]};this[_0x2ee57d(0x1f7)](_0x1b8a96,this[_0x2ee57d(0x20b)],_0x3b1bbe);}[_0x30ddc8(0x209)](_0x562e19,_0x4f36e9){const _0x372e4b=_0x30ddc8,_0x209962=this[_0x372e4b(0x1dd)][_0x372e4b(0x1d8)][_0x372e4b(0x1a6)](_0x562e19);if(!_0x209962)return;const _0x18bc4b=_0x209962[_0x372e4b(0x1f3)]();if(_0x18bc4b===_0x4f36e9)return;const _0x17bada=new _0x33af61({'id':_0x562e19,'contentInitial':_0x18bc4b,'contentNew':_0x4f36e9,'documentVersion':this[_0x372e4b(0x1dd)][_0x372e4b(0x1d3)]});this[_0x372e4b(0x1a8)][_0x372e4b(0x1d4)](_0x17bada['id'],_0x17bada),this[_0x372e4b(0x1d9)](_0x372e4b(0x1ba),{'result':_0x17bada,'source':this});}[_0x30ddc8(0x1af)](){const _0x4dea6c=_0x30ddc8;_0x4dea6c(0x1b1)===this[_0x4dea6c(0x1f6)]&&(this[_0x4dea6c(0x1bf)][_0x4dea6c(0x1e5)](_0x15ac45=>_0x4dea6c(0x1c9)===_0x15ac45[_0x4dea6c(0x1f6)])[_0x4dea6c(0x1ea)]>0x0&&(this[_0x4dea6c(0x1f6)]=_0x4dea6c(0x1f9))),_0x4dea6c(0x1f9)===this[_0x4dea6c(0x1f6)]&&(0x0===this[_0x4dea6c(0x1bf)][_0x4dea6c(0x1e5)](_0x46255d=>_0x4dea6c(0x1c9)===_0x46255d[_0x4dea6c(0x1f6)])[_0x4dea6c(0x1ea)]&&(this[_0x4dea6c(0x1f6)]=_0x4dea6c(0x1b1)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x104fec=_0x4fb0;function _0x1812(){const _0x330bf5=['useArgs','116033OoqLyb','options','_aiConnector','find','_reviewParams','296349KxQKua','join','subTitle','apiId','4WJtJgc','_sourceCheck','5235zuNneS','2034864yPCbMX','774403iVaNwC','_composeReviewName','upsertAIReviewRating','1456120VKzBkn','reviewName','_reviewArgs','label','data','length','_createApiRequest','callSystemReview','224JtBjfy','push','492AdcLhI','10827MBWyCo','content','_sendRatingRequest','_documentData'];_0x1812=function(){return _0x330bf5;};return _0x1812();}(function(_0x351ce2,_0x21555a){const _0x48c1cc=_0x4fb0,_0x15686a=_0x351ce2();while(!![]){try{const _0x1f0543=parseInt(_0x48c1cc(0x12c))/0x1+-parseInt(_0x48c1cc(0x135))/0x2*(-parseInt(_0x48c1cc(0x131))/0x3)+-parseInt(_0x48c1cc(0x146))/0x4*(-parseInt(_0x48c1cc(0x137))/0x5)+-parseInt(_0x48c1cc(0x138))/0x6+-parseInt(_0x48c1cc(0x139))/0x7+-parseInt(_0x48c1cc(0x144))/0x8*(-parseInt(_0x48c1cc(0x147))/0x9)+parseInt(_0x48c1cc(0x13c))/0xa;if(_0x1f0543===_0x21555a)break;else _0x15686a['push'](_0x15686a['shift']());}catch(_0x16814a){_0x15686a['push'](_0x15686a['shift']());}}}(_0x1812,0x29f7f));import{AIReviewCheckRun as _0x1db67c}from'./aireviewcheckrun.js';function _0x4fb0(_0x19cf77,_0x96d6a6){const _0x1812df=_0x1812();return _0x4fb0=function(_0x4fb09f,_0x310627){_0x4fb09f=_0x4fb09f-0x129;let _0x53050a=_0x1812df[_0x4fb09f];return _0x53050a;},_0x4fb0(_0x19cf77,_0x96d6a6);}export class AIReviewSystemCheckRun extends _0x1db67c{get[_0x104fec(0x133)](){const _0xddeff9=_0x104fec;if(!this[_0xddeff9(0x130)]||0x0===this[_0xddeff9(0x130)][_0xddeff9(0x141)])return'';const _0x107f07=[];if(this[_0xddeff9(0x130)][_0xddeff9(0x141)]>0x0&&this[_0xddeff9(0x136)][_0xddeff9(0x12d)])for(let _0x22f89e=0x0;_0x22f89e<this[_0xddeff9(0x130)][_0xddeff9(0x141)];_0x22f89e++){if(!this[_0xddeff9(0x130)][_0x22f89e]||!this[_0xddeff9(0x136)][_0xddeff9(0x12d)][_0x22f89e])continue;const _0x24d369=this[_0xddeff9(0x136)][_0xddeff9(0x12d)][_0x22f89e],_0x506461=_0x24d369[_0xddeff9(0x140)]?.[_0xddeff9(0x12f)](_0x50dcc8=>_0x50dcc8['id']===this[_0xddeff9(0x130)][_0x22f89e]);_0x506461&&_0x107f07[_0xddeff9(0x145)](_0x506461[_0xddeff9(0x13f)]);}return _0x107f07[_0xddeff9(0x132)](',\x20');}get[_0x104fec(0x13d)](){const _0x50cd5c=_0x104fec;return this[_0x50cd5c(0x13a)]();}[_0x104fec(0x142)](){const _0x4146d5=_0x104fec;return this[_0x4146d5(0x12e)][_0x4146d5(0x143)]({'reviewName':this[_0x4146d5(0x13a)](),'content':this[_0x4146d5(0x12a)][_0x4146d5(0x148)],'args':this[_0x4146d5(0x13e)]});}[_0x104fec(0x129)](_0x3d0499,_0x3a74ba,_0xba2d89){const _0x2abab4=_0x104fec;return this[_0x2abab4(0x12e)][_0x2abab4(0x13b)](this[_0x2abab4(0x13d)],_0x3a74ba,_0x3d0499,_0xba2d89);}[_0x104fec(0x13a)](){const _0x4513e8=_0x104fec;return!this[_0x4513e8(0x130)]||0x0===this[_0x4513e8(0x130)][_0x4513e8(0x141)]||this[_0x4513e8(0x136)][_0x4513e8(0x12b)]?this[_0x4513e8(0x136)][_0x4513e8(0x134)]:[this[_0x4513e8(0x136)][_0x4513e8(0x134)],...this[_0x4513e8(0x130)]][_0x4513e8(0x132)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3595b4=_0x4852;(function(_0x35461a,_0x3304ac){const _0x36bc02=_0x4852,_0x357d92=_0x35461a();while(!![]){try{const _0x9c5c96=-parseInt(_0x36bc02(0xb2))/0x1*(parseInt(_0x36bc02(0xba))/0x2)+-parseInt(_0x36bc02(0xcc))/0x3*(-parseInt(_0x36bc02(0xd0))/0x4)+-parseInt(_0x36bc02(0x9f))/0x5+parseInt(_0x36bc02(0x8a))/0x6*(parseInt(_0x36bc02(0xc6))/0x7)+-parseInt(_0x36bc02(0xd6))/0x8*(-parseInt(_0x36bc02(0x89))/0x9)+-parseInt(_0x36bc02(0xbc))/0xa*(-parseInt(_0x36bc02(0xce))/0xb)+parseInt(_0x36bc02(0x96))/0xc*(parseInt(_0x36bc02(0xc7))/0xd);if(_0x9c5c96===_0x3304ac)break;else _0x357d92['push'](_0x357d92['shift']());}catch(_0x42d449){_0x357d92['push'](_0x357d92['shift']());}}}(_0x21ea,0xd9986));import{Rect as _0x1b6b94,getConstrainedViewportRect as _0x2d5ee5}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x7771eb,View as _0x1f528e,clickOutsideHandler as _0x127d05}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0xb07666}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';function _0x4852(_0x495dac,_0xb0de3){const _0x21ea11=_0x21ea();return _0x4852=function(_0x485271,_0x1153a4){_0x485271=_0x485271-0x88;let _0x4d9352=_0x21ea11[_0x485271];return _0x4d9352;},_0x4852(_0x495dac,_0xb0de3);}function _0x21ea(){const _0x2673cd=['308jtzdZs','pin','5884eLEKOU','replace','changeId','resultItemView','_isPinnedRectVisible','show','6832vICNuu','_pinnedRectIndex','setTemplate','hideDiffInBalloon','locale','6858vacSDL','954iAbUkN','right','showBalloon','showDiffInBalloon','documentElement','_createContentView','ck-reset','div','clientY','_pinnedTargetChangeId','clientX','getIntersection','120Wjbimf','extendTemplate','ck-content','_getBestRectPositionOnClick','ck-ai_review__suggestion-text','_getPointedRectIndexFromEvent','hide','unpin','width','2704085DCVshZ','top','hover','add','updateContent','ck-ai_review-balloon-panel-suggestion_diff-active','bindTemplate','from','content','getClientRects','arrow_','set','arrow_se','reverse','length','acceptChange','forEach','_setupClickOutsideHandler','push','1283QbJNak','ck-ai_review-balloon-panel-suggestion','contentDiffed','element','balloon','render','innerHTML','resultResponseView','2288jxgYvW','click','126530qDieHJ','bottom','left','getBoundingClientRect','fire','deactivateChange','dismissChange','_getBestRectPositionOnHover','_pinnedTargetElement','position','4305omUswC','37544wCZzmH','isDiffActive','isVisible','hideBalloon','showDiff','3606QMAYxn','delegate'];_0x21ea=function(){return _0x2673cd;};return _0x21ea();}export class AIReviewCoreBalloonSuggestionItemView extends _0x7771eb{[_0x3595b4(0xd3)];[_0x3595b4(0xd7)]=void 0x0;[_0x3595b4(0xc4)]=void 0x0;[_0x3595b4(0x93)]=void 0x0;constructor(_0x504af6,_0x256bb4){const _0x52b2c4=_0x3595b4;super(_0x504af6),this[_0x52b2c4(0xaa)]({'isVisible':!0x1,'position':_0x52b2c4(0xab),'class':null,'top':0x0,'left':0x0}),this[_0x52b2c4(0x97)]({'tag':_0x52b2c4(0x91),'attributes':{'class':[_0x52b2c4(0x90)],'tabindex':'-1'}}),this[_0x52b2c4(0xaa)](_0x52b2c4(0xc8),!0x1),this[_0x52b2c4(0xa7)][_0x52b2c4(0xa2)](this[_0x52b2c4(0x8f)]()),_0x256bb4[_0x52b2c4(0xa2)](this);}[_0x3595b4(0xb7)](){const _0x17a769=_0x3595b4;super[_0x17a769(0xb7)](),this[_0x17a769(0xb0)]();}[_0x3595b4(0xa3)](_0x1503f2){const _0xd5f603=_0x3595b4;this[_0xd5f603(0xd3)][_0xd5f603(0xd2)]=_0x1503f2['id'],this[_0xd5f603(0xd3)][_0xd5f603(0xb9)][_0xd5f603(0xb5)][_0xd5f603(0xb8)]=_0x1503f2[_0xd5f603(0xb4)];}[_0x3595b4(0x8c)](_0x11cbc3,_0x36b389,_0x573a15,_0x445d8d,_0x575593,_0x4aa6a8){const _0x53cfd0=_0x3595b4,_0x5ddb57=_0x36b389();if(!_0x5ddb57)return;this[_0x53cfd0(0xa3)](_0x11cbc3),this[_0x53cfd0(0xd5)]();const _0x55d020=Array[_0x53cfd0(0xa6)](_0x5ddb57[_0x53cfd0(0xa8)]())[_0x53cfd0(0xac)](),_0xd0968a=this[_0x53cfd0(0x9b)](_0x573a15,_0x55d020),_0x26cd66=_0x55d020[_0xd0968a??0x0];_0x53cfd0(0xbb)===_0x445d8d?(this[_0x53cfd0(0xc8)]=!0x0,this[_0x53cfd0(0xcf)]({'target':()=>this[_0x53cfd0(0x99)](_0x36b389(),_0xd0968a,_0x11cbc3['id'],_0x575593,_0x4aa6a8)||_0x26cd66})):_0x53cfd0(0xa1)===_0x445d8d&&(this[_0x53cfd0(0xc8)]=!0x1,this[_0x53cfd0(0xcf)]({'target':()=>this[_0x53cfd0(0xc3)](_0x36b389(),_0xd0968a,_0x11cbc3['id'])||_0x26cd66}));}[_0x3595b4(0xca)](){const _0x2634aa=_0x3595b4;this[_0x2634aa(0x9c)](),this[_0x2634aa(0x9d)](),this[_0x2634aa(0xd7)]=void 0x0,this[_0x2634aa(0xc4)]=void 0x0,this[_0x2634aa(0x93)]=void 0x0;}[_0x3595b4(0xd9)](){const _0x1f161e=_0x3595b4;this[_0x1f161e(0xd3)][_0x1f161e(0xcb)]=!0x1;}[_0x3595b4(0x8d)](){const _0x52c9d7=_0x3595b4;this[_0x52c9d7(0xd3)][_0x52c9d7(0xcb)]=!0x0;}[_0x3595b4(0xc1)](){const _0x32f3b3=_0x3595b4;this[_0x32f3b3(0xc0)](_0x32f3b3(0xc1),{'origin':_0x32f3b3(0xb6)});}[_0x3595b4(0xb0)](){const _0xc4220a=_0x3595b4;_0x127d05({'emitter':this,'activator':()=>this[_0xc4220a(0xc9)],'contextElements':()=>{const _0x4b4b38=_0xc4220a,_0x410ac7=[this[_0x4b4b38(0xb5)]];return this[_0x4b4b38(0xc4)]&&_0x410ac7[_0x4b4b38(0xb1)](this[_0x4b4b38(0xc4)]),_0x410ac7;},'callback':()=>{const _0x4cc7b5=_0xc4220a;this[_0x4cc7b5(0x9c)](),this[_0x4cc7b5(0x9d)](),this[_0x4cc7b5(0xc1)](),this[_0x4cc7b5(0xc4)]=void 0x0,this[_0x4cc7b5(0xd7)]=void 0x0,this[_0x4cc7b5(0x93)]=void 0x0;}});}[_0x3595b4(0x8f)](){const _0x486018=_0x3595b4,_0x1b54b0=new _0x1f528e();return this[_0x486018(0xd3)]=new _0xb07666(this[_0x486018(0x88)],''),this[_0x486018(0xd3)][_0x486018(0xb9)][_0x486018(0x97)]({'attributes':{'class':[_0x486018(0x98)]}}),this[_0x486018(0xd3)][_0x486018(0xcd)](_0x486018(0xae),_0x486018(0xc2))['to'](this),_0x1b54b0[_0x486018(0xd8)]({'tag':_0x486018(0x91),'attributes':{'class':[_0x486018(0x90),_0x486018(0xb3),this[_0x486018(0xa5)]['if'](_0x486018(0xc8),_0x486018(0xa4))]},'children':[{'tag':'p','attributes':{'class':[_0x486018(0x9a)]},'children':[this[_0x486018(0xd3)]]}]}),_0x1b54b0;}[_0x3595b4(0x99)](_0x330fc8,_0x39d4ac,_0x490275,_0x560641,_0x346794){const _0x32a5d4=_0x3595b4;if(!_0x330fc8)return null;const _0x39437b=this[_0x32a5d4(0xc5)][_0x32a5d4(0xd1)](_0x32a5d4(0xa9),''),_0x1753a6=Array[_0x32a5d4(0xa6)](_0x330fc8[_0x32a5d4(0xa8)]());let _0x445815,_0x195da0=_0x1753a6[_0x32a5d4(0xac)]();return void 0x0!==_0x39d4ac&&this[_0x32a5d4(0xd4)](_0x195da0[_0x39d4ac],_0x560641,_0x346794)?(_0x445815=_0x195da0[_0x39d4ac],this[_0x32a5d4(0xd7)]=_0x39d4ac):this[_0x32a5d4(0xd4)](_0x195da0[0x0],_0x560641,_0x346794)&&void 0x0===_0x39d4ac?_0x445815=_0x195da0[0x0]:(_0x195da0='s'==_0x39437b[0x0]?[..._0x1753a6][_0x32a5d4(0xac)]():_0x1753a6,_0x195da0[_0x32a5d4(0xaf)](_0x25e451=>{const _0x489df3=_0x32a5d4;this[_0x489df3(0xd4)](_0x25e451,_0x560641,_0x346794)&&(_0x445815=_0x25e451);})),this[_0x32a5d4(0x93)]=_0x490275,this[_0x32a5d4(0xc4)]=_0x330fc8,_0x445815||_0x330fc8[_0x32a5d4(0xbf)]();}[_0x3595b4(0xc3)](_0x1c0272,_0x5943c3,_0x53bb0e){const _0x25ef4b=_0x3595b4;if(!_0x1c0272)return null;const _0x46c273=Array[_0x25ef4b(0xa6)](_0x1c0272[_0x25ef4b(0xa8)]())[_0x25ef4b(0xac)]();if(void 0x0===this[_0x25ef4b(0xd7)]&&void 0x0!==_0x5943c3&&this[_0x25ef4b(0x93)]!==_0x53bb0e)return this[_0x25ef4b(0xd7)]=_0x5943c3,this[_0x25ef4b(0xc4)]=_0x1c0272,this[_0x25ef4b(0x93)]=_0x53bb0e,_0x46c273[_0x5943c3];if(void 0x0!==this[_0x25ef4b(0xd7)]&&this[_0x25ef4b(0x93)]===_0x53bb0e){if(_0x1c0272!==this[_0x25ef4b(0xc4)])return Array[_0x25ef4b(0xa6)](this[_0x25ef4b(0xc4)][_0x25ef4b(0xa8)]())[_0x25ef4b(0xac)]()[this[_0x25ef4b(0xd7)]];return _0x46c273[this[_0x25ef4b(0xd7)]];}return void 0x0!==_0x5943c3&&this[_0x25ef4b(0x93)]!==_0x53bb0e?(this[_0x25ef4b(0xd7)]=_0x5943c3,this[_0x25ef4b(0xc4)]=_0x1c0272,this[_0x25ef4b(0x93)]=_0x53bb0e,_0x46c273[_0x5943c3]):_0x1c0272[_0x25ef4b(0xbf)]();}[_0x3595b4(0x9b)](_0x1a9676,_0xe96a5c){const _0x209b4f=_0x3595b4;if(_0x1a9676)for(let _0x5f1e1b=0x0;_0x5f1e1b<_0xe96a5c[_0x209b4f(0xad)];_0x5f1e1b++){const _0x4e4ae9=_0xe96a5c[_0x5f1e1b];if(_0x1a9676[_0x209b4f(0x94)]>=_0x4e4ae9[_0x209b4f(0xbe)]-0x3&&_0x1a9676[_0x209b4f(0x94)]<=_0x4e4ae9[_0x209b4f(0x8b)]+0x3&&_0x1a9676[_0x209b4f(0x92)]>=_0x4e4ae9[_0x209b4f(0xa0)]-0x3&&_0x1a9676[_0x209b4f(0x92)]<=_0x4e4ae9[_0x209b4f(0xbd)]+0x3)return _0x5f1e1b;}}[_0x3595b4(0xd4)](_0xa53e9d,_0x29e467,_0x516703){const _0x1e5e65=_0x3595b4,_0x260789=new _0x1b6b94(_0xa53e9d),_0x1849b9=_0x29e467||document[_0x1e5e65(0x8e)],_0x2971d6=_0x260789[_0x1e5e65(0x95)](_0x2d5ee5(_0x516703)),_0x92a130=new _0x1b6b94(_0x1849b9)[_0x1e5e65(0x95)](_0x260789);return!!(_0x2971d6&&_0x92a130&&_0x260789[_0x1e5e65(0x9e)]>0x0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x689d14=_0x3bcf;function _0x3072(){const _0x4ea9eb=['div','infoButtonView','pending','mouseout','showDiff','label','bindTemplate','ck-ai_review__check-run-result-action-buttons','click','hover','ck-ai_review__check-run-result-dismiss-button','stopPropagation','dismissButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','resultResponseView','accepted','tagName','mouseover','ck-ai_review__check-run-result_active','_createAcceptButtonView','ck-ai_review__check-run-result-accept-button','isOn','setItemAsActive','ck-ai-button-tertiary','status','execute','9147996zFCYGj','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','change:status','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','menuitemcheckbox','setTemplate','20ChIWPD','activateChange','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','isInfoToggleOn','extendTemplate','panel','outdated','dismissChange','1277328vsytTL','target','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','ck-ai_review__check-run-result-footer','603290bzSWzQ','ck-ai-button-secondary','preventDefault','_createInfoButtonView','outdatedButtonView','1038564hLCWxA','bind','deactivateChange','_createOutdatedButtonView','disabled','icon','rejected','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-reset_all-excluded','acceptChange','ck-ai_review__check-run-result-status-button','acceptButtonView','locale','AI_REVIEW_MODE_LEARN_MORE','ck-content','isEnabled','ck-hidden','2785503LpFfYQ','setItemAsInactive','12729184nQZJJi','_createDismissButtonView','ck-ai_review__check-run-result','6246575WSjpoS','_createResultResponseView','fire','ck-ai_review__check-run-result-response','changeId','set','isActive'];_0x3072=function(){return _0x4ea9eb;};return _0x3072();}(function(_0x66851a,_0x142643){const _0x5c4e63=_0x3bcf,_0x2e999c=_0x66851a();while(!![]){try{const _0x146b0c=-parseInt(_0x5c4e63(0xfc))/0x1+-parseInt(_0x5c4e63(0x100))/0x2+-parseInt(_0x5c4e63(0x105))/0x3*(-parseInt(_0x5c4e63(0xf4))/0x4)+parseInt(_0x5c4e63(0x11b))/0x5+parseInt(_0x5c4e63(0x13c))/0x6+-parseInt(_0x5c4e63(0x116))/0x7+-parseInt(_0x5c4e63(0x118))/0x8;if(_0x146b0c===_0x142643)break;else _0x2e999c['push'](_0x2e999c['shift']());}catch(_0x3b2845){_0x2e999c['push'](_0x2e999c['shift']());}}}(_0x3072,0xe4ba7));import{View as _0x41d532,ButtonView as _0x4b1a0c}from'ckeditor5/src/ui.js';import{IconInfo as _0x136395,IconCheck as _0x80a6f,IconCancel as _0x3a64aa,IconOutdated as _0x176a6b}from'ckeditor5/src/icons.js';import{getTranslation as _0x31434c}from'../../aicore/utils/common-translations.js';function _0x3bcf(_0x150c3d,_0x46e3f8){const _0x307215=_0x3072();return _0x3bcf=function(_0x3bcf40,_0x5bdf21){_0x3bcf40=_0x3bcf40-0xf1;let _0x318319=_0x307215[_0x3bcf40];return _0x318319;},_0x3bcf(_0x150c3d,_0x46e3f8);}export class AIReviewCoreReviewCheckListItemResultsView extends _0x41d532{[_0x689d14(0x130)];[_0x689d14(0x110)];[_0x689d14(0x12e)];[_0x689d14(0x123)];[_0x689d14(0x104)];constructor(_0x52f3ca,_0x4205b3){const _0x42b5f6=_0x689d14;super(_0x52f3ca),this['id']=_0x4205b3,this[_0x42b5f6(0x120)](_0x42b5f6(0x13a),_0x42b5f6(0x124)),this[_0x42b5f6(0x120)](_0x42b5f6(0x11f),_0x4205b3),this[_0x42b5f6(0x130)]=this[_0x42b5f6(0x11c)](),this[_0x42b5f6(0x110)]=this[_0x42b5f6(0x135)](),this[_0x42b5f6(0x12e)]=this[_0x42b5f6(0x119)](),this[_0x42b5f6(0x123)]=this[_0x42b5f6(0x103)](),this[_0x42b5f6(0x104)]=this[_0x42b5f6(0x108)](),this[_0x42b5f6(0x120)](_0x42b5f6(0xf7),!0x1),this[_0x42b5f6(0x120)](_0x42b5f6(0x121),!0x1),this[_0x42b5f6(0x120)](_0x42b5f6(0x126),!0x0),this[_0x42b5f6(0xf3)]({'tag':_0x42b5f6(0x122),'attributes':{'class':[_0x42b5f6(0x11a),this[_0x42b5f6(0x128)]['if'](_0x42b5f6(0x121),_0x42b5f6(0x134))]},'on':{'click':this[_0x42b5f6(0x128)]['to'](_0x42b5f6(0x12a)),'mouseover':this[_0x42b5f6(0x128)]['to'](_0x42b5f6(0x133)),'mouseout':this[_0x42b5f6(0x128)]['to'](_0x42b5f6(0x125))},'children':[this[_0x42b5f6(0x130)],{'tag':_0x42b5f6(0x122),'attributes':{'class':[_0x42b5f6(0xff)]},'children':[{'tag':_0x42b5f6(0x122),'attributes':{'class':[_0x42b5f6(0x129)]},'children':[this[_0x42b5f6(0x110)],this[_0x42b5f6(0x12e)],this[_0x42b5f6(0x104)]]},this[_0x42b5f6(0x123)]]}]}),this['on'](_0x42b5f6(0x12a),(_0x44ac82,_0x29e8d3)=>{const _0x598b17=_0x42b5f6;_0x29e8d3&&_0x29e8d3[_0x598b17(0xfd)]&&'A'===_0x29e8d3[_0x598b17(0xfd)][_0x598b17(0x132)]&&_0x29e8d3[_0x598b17(0x102)](),this[_0x598b17(0x11d)](_0x598b17(0xf5),{'id':_0x4205b3,'source':this,'uiInteraction':_0x598b17(0x12a)});}),this['on'](_0x42b5f6(0x133),()=>{const _0xda4a1e=_0x42b5f6;this[_0xda4a1e(0x11d)](_0xda4a1e(0xf5),{'id':_0x4205b3,'source':this,'uiInteraction':_0xda4a1e(0x12b)});}),this['on'](_0x42b5f6(0x125),()=>{const _0x2685df=_0x42b5f6;this[_0x2685df(0x11d)](_0x2685df(0x107),{'origin':_0x2685df(0xf9),'id':_0x4205b3,'source':this});});}[_0x689d14(0x138)](){const _0x52fb30=_0x689d14;this[_0x52fb30(0x121)]=!0x0;}[_0x689d14(0x117)](){const _0x2de921=_0x689d14;this[_0x2de921(0x121)]=!0x1;}[_0x689d14(0x11c)](){const _0x28cd61=_0x689d14,_0x4f11b8=new _0x41d532(this[_0x28cd61(0x111)]);return _0x4f11b8[_0x28cd61(0xf3)]({'tag':_0x28cd61(0x122),'attributes':{'class':['ck',_0x28cd61(0x113),_0x28cd61(0x10d),_0x28cd61(0x11e),this[_0x28cd61(0x128)]['if'](_0x28cd61(0x126),_0x28cd61(0x115),_0x28c0d0=>!_0x28c0d0)]}}),_0x4f11b8;}[_0x689d14(0x135)](){const _0x45a7fd=_0x689d14,_0x18b5ea=new _0x4b1a0c(this[_0x45a7fd(0x111)]);return _0x18b5ea[_0x45a7fd(0x120)]({'label':_0x31434c(this[_0x45a7fd(0x111)],_0x45a7fd(0x10c)),'withText':!0x0}),_0x18b5ea[_0x45a7fd(0xf8)]({'on':{'click':this[_0x45a7fd(0x128)]['to'](_0x3346ae=>{const _0x33fe5d=_0x45a7fd;this[_0x33fe5d(0x11d)](_0x33fe5d(0x10e),{'id':this[_0x33fe5d(0x11f)]}),_0x3346ae[_0x33fe5d(0x12d)]();})},'attributes':{'class':[_0x45a7fd(0x101),_0x45a7fd(0x136),this[_0x45a7fd(0x128)]['if'](_0x45a7fd(0x13a),_0x45a7fd(0x115),_0x284b16=>_0x45a7fd(0x124)!==_0x284b16&&_0x45a7fd(0x131)!==_0x284b16),this[_0x45a7fd(0x128)]['if'](_0x45a7fd(0x13a),_0x45a7fd(0x136),_0x3f1dfb=>_0x45a7fd(0x124)===_0x3f1dfb),this[_0x45a7fd(0x128)]['if'](_0x45a7fd(0x13a),_0x45a7fd(0x10f),_0xd9675a=>_0x45a7fd(0x131)===_0xd9675a)]}}),this['on'](_0x45a7fd(0x13e),(_0x42a137,_0x34e558,_0xd9a082)=>{const _0x1703c7=_0x45a7fd;_0x18b5ea[_0x1703c7(0x114)]=_0x1703c7(0x124)===_0xd9a082,_0x1703c7(0x131)===_0xd9a082&&(_0x18b5ea[_0x1703c7(0x127)]=_0x31434c(this[_0x1703c7(0x111)],_0x1703c7(0xf1)),_0x18b5ea[_0x1703c7(0x10a)]=_0x80a6f);}),_0x18b5ea;}[_0x689d14(0x119)](){const _0x316d01=_0x689d14,_0x1f2a64=new _0x4b1a0c(this[_0x316d01(0x111)]);return _0x1f2a64[_0x316d01(0x120)]({'label':_0x31434c(this[_0x316d01(0x111)],_0x316d01(0x12f)),'withText':!0x0}),_0x1f2a64[_0x316d01(0xf8)]({'on':{'click':this[_0x316d01(0x128)]['to'](_0x5d6667=>{const _0x2b8d0f=_0x316d01;this[_0x2b8d0f(0x11d)](_0x2b8d0f(0xfb),{'id':this[_0x2b8d0f(0x11f)]}),_0x5d6667[_0x2b8d0f(0x12d)]();})},'attributes':{'class':[_0x316d01(0x139),this[_0x316d01(0x128)]['if'](_0x316d01(0x13a),_0x316d01(0x115),_0x343fa7=>_0x316d01(0x124)!==_0x343fa7&&_0x316d01(0x10b)!==_0x343fa7),this[_0x316d01(0x128)]['if'](_0x316d01(0x13a),_0x316d01(0x12c),_0x46ad37=>_0x316d01(0x124)===_0x46ad37),this[_0x316d01(0x128)]['if'](_0x316d01(0x13a),_0x316d01(0x10f),_0x1d1a0b=>_0x316d01(0x10b)===_0x1d1a0b)]}}),this['on'](_0x316d01(0x13e),(_0x5cc29c,_0x82ca8,_0x15a90b)=>{const _0x5970a5=_0x316d01;_0x1f2a64[_0x5970a5(0x114)]=_0x5970a5(0x124)===_0x15a90b,_0x5970a5(0x10b)===_0x15a90b&&(_0x1f2a64[_0x5970a5(0x127)]=_0x31434c(this[_0x5970a5(0x111)],_0x5970a5(0xf6)),_0x1f2a64[_0x5970a5(0x10a)]=_0x3a64aa);}),_0x1f2a64;}[_0x689d14(0x103)](){const _0x156d9f=_0x689d14,_0x56d6ae=new _0x4b1a0c(this[_0x156d9f(0x111)]);return _0x56d6ae[_0x156d9f(0x120)]({'label':_0x31434c(this[_0x156d9f(0x111)],_0x156d9f(0x112)),'icon':_0x136395,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x156d9f(0xf2),'class':_0x156d9f(0xfe)}),_0x56d6ae[_0x156d9f(0x106)](_0x156d9f(0x137))['to'](this,_0x156d9f(0xf7),_0x360038=>_0x360038),_0x56d6ae['on'](_0x156d9f(0x13b),()=>{const _0x2f3ebf=_0x156d9f;this[_0x2f3ebf(0xf7)]=!this[_0x2f3ebf(0xf7)];}),_0x56d6ae;}[_0x689d14(0x108)](){const _0x40e1a6=_0x689d14,_0xa05738=new _0x4b1a0c(this[_0x40e1a6(0x111)]);return _0xa05738[_0x40e1a6(0x120)]({'label':_0x31434c(this[_0x40e1a6(0x111)],_0x40e1a6(0x13d)),'icon':_0x176a6b,'withText':!0x0,'isEnabled':!0x1}),_0xa05738[_0x40e1a6(0xf8)]({'attributes':{'class':[_0x40e1a6(0x101),_0x40e1a6(0x10f),this[_0x40e1a6(0x128)]['if'](_0x40e1a6(0x13a),_0x40e1a6(0x115),_0x3dff1f=>_0x40e1a6(0xfa)!==_0x3dff1f)],'disabled':_0x40e1a6(0x109)}}),_0xa05738;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x29c2e3,KeystrokeHandler as _0x186418,FocusTracker as _0x1454a7}from'ckeditor5/src/utils.js';import{View as _0x57b8ad,ViewCollection as _0x5eed28,ButtonView as _0x41600d,FormRowView as _0x1d314c,createDropdown as _0x55b7c9,addListToDropdown as _0x2aea7f,UIModel as _0x57627b,ButtonLabelView as _0x34c91f,LabeledFieldView as _0x26298f,FocusCycler as _0x470513}from'ckeditor5/src/ui.js';import{getTranslation as _0x10f59c}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x5779d9}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x57b8ad{['focusTracker']=new _0x1454a7();['keystrokes']=new _0x186418();['focusCycler'];['_focusables']=new _0x5eed28();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0xa381d7,_0x11f499,_0x24e99d=!0x1){super(_0xa381d7),this['_check']=_0x11f499,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x11f499['defaultModel']?_0x11f499['defaultModel']['id']:'',this['_defaultLabel']=_0x11f499['defaultModel']?_0x11f499['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x26298f(this['locale'],()=>new _0x5779d9(_0xa381d7)),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 _0x29c2e3(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x24e99d),_0x2aea7f(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x1d314c(this['locale'],{'children':[this['promptInputView']]}),new _0x1d314c(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x584181,_0x45ac87)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x45ac87()):_0x45ac87();}),this['focusCycler']=new _0x470513({'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'](_0x119fb7=>{this['_focusables']['add'](_0x119fb7),this['focusTracker']['add'](_0x119fb7['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 _0x2b4d65 of this['_getFormValidators']()){const _0x455ee9=_0x2b4d65();if(_0x455ee9)return this['promptInputView']['errorText']=_0x455ee9,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x10f59c(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x2e02af=new _0x41600d(this['locale']),t=this['locale']['t'];return _0x2e02af['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x2e02af['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x2e02af;}['_createCancelButtonView'](){const _0x2e6b97=new _0x41600d(this['locale']),t=this['locale']['t'];return _0x2e6b97['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x2e6b97['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xc5b49e=>{_0xc5b49e['stopPropagation']();})}}),_0x2e6b97['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x2e6b97;}['_setModelList'](_0x4853ef){this['_modelSelectionDropdownItems']['clear']();const _0x2b3380=this['_check']['models'];if(_0x4853ef)this['set']('modelDisplayMode','hidden');else{const _0x2b929b=0x1===_0x2b3380['length'];this['set']('modelDisplayMode',_0x2b929b?'name':'selector');}if(this['resetToDefault'](),_0x2b3380?.['length']){0x1===_0x2b3380['length']&&this['set']('activeModelName',_0x2b3380[0x0]['name']||_0x2b3380[0x0]['id']);for(const _0x1f8ef4 of _0x2b3380){const _0x24f57a=new _0x57627b({'label':_0x1f8ef4['name'],'withText':!0x0,'role':'menuitemradio','id':_0x1f8ef4['id'],'model':_0x1f8ef4});_0x24f57a['bind']('isOn')['to'](this,'modelId',_0x579712=>_0x579712===_0x1f8ef4['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x24f57a,'labelView':new ko(this['locale'],_0x1f8ef4)});}}}['_createModelSelectionDropdown'](){const _0xb23441=_0x55b7c9(this['locale']);return _0xb23441['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0xb23441['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0xb23441['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2d8983=>'selector'===_0x2d8983),this['listenTo'](_0xb23441,'execute',_0x453230=>{this['modelId']=_0x453230['source']['model']['id'],_0xb23441['buttonView']['label']=_0x453230['source']['label'];}),_0xb23441;}['_createModelNameView'](){const _0x375c47=new _o(this['locale']);return _0x375c47['bind']('text')['to'](this,'activeModelName',_0x5ef059=>_0x5ef059??''),_0x375c47['bind']('isVisible')['to'](this,'modelDisplayMode',_0x691b73=>'name'===_0x691b73),_0x375c47;}['_createActionsFooterView'](){const _0x3e37a3=new _0x57b8ad(this['locale']);return _0x3e37a3['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']]}]}),_0x3e37a3;}}class _o extends _0x57b8ad{constructor(_0xf38e00){super(_0xf38e00),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x4482f6=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x4482f6['if']('isVisible','ck-hidden',_0xbea351=>!_0xbea351)]},'children':[{'text':_0x4482f6['to']('text')}]});}}class ko extends _0x34c91f{constructor(_0x3fc61d,_0x35bf88){super();const _0x1f1c5e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x1f1c5e['to']('style'),'id':_0x1f1c5e['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x1f1c5e['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x35bf88['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4a8e(){var _0x45a2f0=['5409880fFzIbd','489768Jfzxdv','6WVkvHK','102806JLiSft','5032eCGaQI','18uemUTA','execute','finishReview','ck-ai-button-primary','3930100GieEDp','567zEFuqM','fire','set','2742688SRqaGK','2217866XAqtOb'];_0x4a8e=function(){return _0x45a2f0;};return _0x4a8e();}(function(_0x348e84,_0x290ca7){var _0x2c53ad=_0x40c8,_0x3211aa=_0x348e84();while(!![]){try{var _0x2fff49=-parseInt(_0x2c53ad(0x147))/0x1+-parseInt(_0x2c53ad(0x149))/0x2+parseInt(_0x2c53ad(0x141))/0x3*(-parseInt(_0x2c53ad(0x14a))/0x4)+parseInt(_0x2c53ad(0x140))/0x5+parseInt(_0x2c53ad(0x148))/0x6*(parseInt(_0x2c53ad(0x145))/0x7)+-parseInt(_0x2c53ad(0x144))/0x8*(-parseInt(_0x2c53ad(0x14b))/0x9)+-parseInt(_0x2c53ad(0x146))/0xa;if(_0x2fff49===_0x290ca7)break;else _0x3211aa['push'](_0x3211aa['shift']());}catch(_0x49b6ea){_0x3211aa['push'](_0x3211aa['shift']());}}}(_0x4a8e,0x72681));import{ButtonView as _0x21baea}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x40c8(_0x1bf295,_0xd89ffa){var _0x4a8e5b=_0x4a8e();return _0x40c8=function(_0x40c8e0,_0x5bcd30){_0x40c8e0=_0x40c8e0-0x13f;var _0x5f2f28=_0x4a8e5b[_0x40c8e0];return _0x5f2f28;},_0x40c8(_0x1bf295,_0xd89ffa);}export class AIReviewCoreFinishReviewButtonView extends _0x21baea{constructor(_0x3ef02e,_0x5ea309){var _0x36a067=_0x40c8;super(_0x5ea309),this[_0x36a067(0x143)]({'label':_0x3ef02e,'withText':!0x0,'class':_0x36a067(0x13f)}),this['on'](_0x36a067(0x14c),()=>{var _0xb80096=_0x36a067;this[_0xb80096(0x142)](_0xb80096(0x14d));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x107a88,_0x33ae89){const _0x5f22eb=_0x1c85,_0x1a8a10=_0x107a88();while(!![]){try{const _0x302fc3=-parseInt(_0x5f22eb(0xd9))/0x1*(-parseInt(_0x5f22eb(0xe3))/0x2)+-parseInt(_0x5f22eb(0xd8))/0x3*(parseInt(_0x5f22eb(0xe0))/0x4)+parseInt(_0x5f22eb(0xe6))/0x5+parseInt(_0x5f22eb(0xe2))/0x6*(-parseInt(_0x5f22eb(0xda))/0x7)+parseInt(_0x5f22eb(0xdf))/0x8+-parseInt(_0x5f22eb(0xd5))/0x9+parseInt(_0x5f22eb(0xe5))/0xa;if(_0x302fc3===_0x33ae89)break;else _0x1a8a10['push'](_0x1a8a10['shift']());}catch(_0x450d0e){_0x1a8a10['push'](_0x1a8a10['shift']());}}}(_0x5e93,0xb48b5));function _0x5e93(){const _0x1489b1=['9900960lOThvi','1561365pKDoeC','ck-ai_review__general-error-container','3562083KqIssN','ck-hidden','ck\x20ck-ai-notification\x20ck-ai-notification_error','201uWNhKV','173aUfRkM','11333VArfpE','set','isVisible','bindTemplate','div','4482864NvBtEG','86004ayzCSz','errorMessage','2274izjuwc','15338fKRqNl','setTemplate'];_0x5e93=function(){return _0x1489b1;};return _0x5e93();}import{View as _0x406b10}from'ckeditor5/src/ui.js';function _0x1c85(_0x287a1f,_0x4bb322){const _0x5e93b8=_0x5e93();return _0x1c85=function(_0x1c85f6,_0x229942){_0x1c85f6=_0x1c85f6-0xd4;let _0x14b1fe=_0x5e93b8[_0x1c85f6];return _0x14b1fe;},_0x1c85(_0x287a1f,_0x4bb322);}export class AIReviewCoreGeneralErrorView extends _0x406b10{constructor(_0x175f3f){const _0x1cf161=_0x1c85;super(_0x175f3f),this[_0x1cf161(0xdb)](_0x1cf161(0xdc),!0x1),this[_0x1cf161(0xdb)](_0x1cf161(0xe1),'');const _0xbea822=this[_0x1cf161(0xdd)];this[_0x1cf161(0xe4)]({'tag':_0x1cf161(0xde),'attributes':{'class':['ck',_0x1cf161(0xd4),_0xbea822['if'](_0x1cf161(0xdc),_0x1cf161(0xd6),_0x333016=>!_0x333016)]},'children':[{'tag':'p','attributes':{'class':_0x1cf161(0xd7)},'children':[{'text':_0xbea822['to'](_0x1cf161(0xe1))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xd321f1=_0x497b;function _0x497b(_0x43fc79,_0x48d3e9){var _0x5d1439=_0x5d14();return _0x497b=function(_0x497b6b,_0x393269){_0x497b6b=_0x497b6b-0x1b0;var _0xa93b82=_0x5d1439[_0x497b6b];return _0xa93b82;},_0x497b(_0x43fc79,_0x48d3e9);}(function(_0x31e7f2,_0x320967){var _0x2e4f47=_0x497b,_0x4948a8=_0x31e7f2();while(!![]){try{var _0x3eb177=parseInt(_0x2e4f47(0x1be))/0x1+-parseInt(_0x2e4f47(0x1b4))/0x2+parseInt(_0x2e4f47(0x1b2))/0x3*(-parseInt(_0x2e4f47(0x1b5))/0x4)+parseInt(_0x2e4f47(0x1c2))/0x5*(parseInt(_0x2e4f47(0x1c7))/0x6)+parseInt(_0x2e4f47(0x1c0))/0x7+-parseInt(_0x2e4f47(0x1c8))/0x8+parseInt(_0x2e4f47(0x1c5))/0x9;if(_0x3eb177===_0x320967)break;else _0x4948a8['push'](_0x4948a8['shift']());}catch(_0x55b45e){_0x4948a8['push'](_0x4948a8['shift']());}}}(_0x5d14,0x8eb92));import{TextareaView as _0x4d4657}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x37ff86}from'ckeditor5/src/utils.js';function _0x5d14(){var _0x5076d1=['ai-review-prompt-input','4630824GwEdUf','listenTo','3223536GjSuMZ','7392640yWgXMn','trim','element','105993dVYiSn','render','1086620ahACQE','12XUpgHW','extendTemplate','MIN_ROWS','isEmpty','keystrokes','MAX_ROWS','set','minRows','maxRows','13967cbgurh','value','3884734DKzLCU','update','10hWUrVz','ck-review__prompt-input'];_0x5d14=function(){return _0x5076d1;};return _0x5d14();}export class AIReviewCorePromptInputView extends _0x4d4657{[_0xd321f1(0x1b9)];static [_0xd321f1(0x1b7)]=0x1;static [_0xd321f1(0x1ba)]=0xc;constructor(_0x51c0a8){var _0x2cd985=_0xd321f1;super(_0x51c0a8),this[_0x2cd985(0x1bb)](_0x2cd985(0x1b8),!0x0),this[_0x2cd985(0x1b9)]=new _0x37ff86(),this[_0x2cd985(0x1bc)]=AIReviewCorePromptInputView[_0x2cd985(0x1b7)],this[_0x2cd985(0x1bd)]=AIReviewCorePromptInputView[_0x2cd985(0x1ba)],this[_0x2cd985(0x1b6)]({'attributes':{'id':_0x2cd985(0x1c4),'class':['ck',_0x2cd985(0x1c3)]}});}[_0xd321f1(0x1b3)](){var _0x5a06a4=_0xd321f1;super[_0x5a06a4(0x1b3)](),this['on'](_0x5a06a4(0x1c1),()=>{var _0x5b4e9c=_0x5a06a4;this[_0x5b4e9c(0x1b8)]=''===this[_0x5b4e9c(0x1b1)][_0x5b4e9c(0x1bf)]?.[_0x5b4e9c(0x1b0)]();}),this[_0x5a06a4(0x1b9)][_0x5a06a4(0x1c6)](this[_0x5a06a4(0x1b1)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x153e7b=_0x9dc9;(function(_0x2f8dce,_0x33eabd){const _0x64b321=_0x9dc9,_0xa9ec19=_0x2f8dce();while(!![]){try{const _0x18296f=parseInt(_0x64b321(0xc6))/0x1+parseInt(_0x64b321(0xd8))/0x2*(-parseInt(_0x64b321(0xd0))/0x3)+parseInt(_0x64b321(0xd4))/0x4+parseInt(_0x64b321(0xc8))/0x5*(parseInt(_0x64b321(0xd2))/0x6)+parseInt(_0x64b321(0xc7))/0x7+-parseInt(_0x64b321(0xcf))/0x8+-parseInt(_0x64b321(0xd6))/0x9;if(_0x18296f===_0x33eabd)break;else _0xa9ec19['push'](_0xa9ec19['shift']());}catch(_0x22ea6f){_0xa9ec19['push'](_0xa9ec19['shift']());}}}(_0x1f42,0x348cd));function _0x9dc9(_0x486e7e,_0x3a7173){const _0x1f4286=_0x1f42();return _0x9dc9=function(_0x9dc927,_0x1d56c2){_0x9dc927=_0x9dc927-0xc1;let _0x2c8b69=_0x1f4286[_0x9dc927];return _0x2c8b69;},_0x9dc9(_0x486e7e,_0x3a7173);}import{ListItemView as _0x4a990c,ViewCollection as _0xf012b3}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x4a156e}from'./aireviewcorereviewcommandlistitemview.js';function _0x1f42(){const _0x92c324=['200348GSfeze','463330CynTjQ','19120rHbjUI','div','ck-hidden','setTemplate','isVisible','length','clear','2893752JVPMxf','8241TmaFMp','setChecks','408RSZzPi','hasChecks','1627360ZfPRoQ','resetToDefault','68193zSVZfP','bindTemplate','254CehKoE','resetAllParameterizedChecks','entries','_checkViews','ck-ai_review__check-list','locale','_setupTemplate','add','delegate','runReviewCheck'];_0x1f42=function(){return _0x92c324;};return _0x1f42();}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x4a990c{[_0x153e7b(0xdb)];constructor(_0x2e628c){const _0x13e5e7=_0x153e7b;super(_0x2e628c),this[_0x13e5e7(0xdb)]=new _0xf012b3(),this[_0x13e5e7(0xc2)]();}[_0x153e7b(0xd1)](_0x41ad67,_0xf403cd=!0x1){const _0x4f4a73=_0x153e7b;this[_0x4f4a73(0xdb)][_0x4f4a73(0xce)]();for(const [_0x4aab09,_0x394b54]of _0x41ad67[_0x4f4a73(0xda)]()){const _0x151016=new _0x4a156e(this[_0x4f4a73(0xc1)],_0x394b54,_0x4aab09,_0xf403cd);_0x151016[_0x4f4a73(0xc4)](_0x4f4a73(0xc5))['to'](this),this[_0x4f4a73(0xdb)][_0x4f4a73(0xc3)](_0x151016);}}[_0x153e7b(0xd3)](){const _0x5ee653=_0x153e7b;return this[_0x5ee653(0xdb)][_0x5ee653(0xcd)]>0x0;}[_0x153e7b(0xd9)](){const _0x3251fc=_0x153e7b;for(const _0x1d98a9 of this[_0x3251fc(0xdb)])_0x1d98a9 instanceof _0x4a156e&&_0x1d98a9[_0x3251fc(0xd5)]();}[_0x153e7b(0xc2)](){const _0x1ff513=_0x153e7b,_0x426f05=this[_0x1ff513(0xd7)];this[_0x1ff513(0xcb)]({'tag':_0x1ff513(0xc9),'attributes':{'class':[_0x1ff513(0xdc),_0x426f05['if'](_0x1ff513(0xcc),_0x1ff513(0xca),_0xc3b3d2=>!_0xc3b3d2)]},'children':this[_0x1ff513(0xdb)]});}}
|