@ckeditor/ckeditor5-ai 47.7.3 → 47.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/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 +16 -16
- 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.d.ts +21 -14
- 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.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
|
-
function
|
|
23
|
+
var _0x59d50e=_0x4e57;function _0x4e57(_0x31ae7f,_0x11750d){var _0x438365=_0x4383();return _0x4e57=function(_0x4e5713,_0x5cba78){_0x4e5713=_0x4e5713-0x1b1;var _0x50d31e=_0x438365[_0x4e5713];return _0x50d31e;},_0x4e57(_0x31ae7f,_0x11750d);}(function(_0xbef0bb,_0x333f29){var _0xe894f3=_0x4e57,_0x5ef28a=_0xbef0bb();while(!![]){try{var _0x11cdd9=parseInt(_0xe894f3(0x1b6))/0x1+-parseInt(_0xe894f3(0x1c0))/0x2*(-parseInt(_0xe894f3(0x1b1))/0x3)+-parseInt(_0xe894f3(0x1bb))/0x4+parseInt(_0xe894f3(0x1b9))/0x5+parseInt(_0xe894f3(0x1bd))/0x6+parseInt(_0xe894f3(0x1b5))/0x7+parseInt(_0xe894f3(0x1b2))/0x8*(-parseInt(_0xe894f3(0x1bf))/0x9);if(_0x11cdd9===_0x333f29)break;else _0x5ef28a['push'](_0x5ef28a['shift']());}catch(_0x570c97){_0x5ef28a['push'](_0x5ef28a['shift']());}}}(_0x4383,0xda35c));function _0x4383(){var _0x49b5fa=['title','2445720KnIubf','commandId','9bajOYI','2CCdGMj','isParameterized','190401sSysOq','15899864XiErPd','description','apiId','971600bqQhaF','535402cWrIJj','options','useArgs','8841395dbApjJ','args','129188jJrUgx'];_0x4383=function(){return _0x49b5fa;};return _0x4383();}export class AIReviewCheck{['id'];[_0x59d50e(0x1be)];[_0x59d50e(0x1bc)];[_0x59d50e(0x1b3)];[_0x59d50e(0x1c1)];[_0x59d50e(0x1b8)];[_0x59d50e(0x1b7)];[_0x59d50e(0x1ba)];get[_0x59d50e(0x1b4)](){var _0x43257d=_0x59d50e;return this[_0x43257d(0x1be)];}constructor(_0x311ad4){var _0x3e5ed9=_0x59d50e;this['id']=_0x311ad4['id'],this[_0x3e5ed9(0x1be)]=_0x311ad4[_0x3e5ed9(0x1be)],this[_0x3e5ed9(0x1bc)]=_0x311ad4[_0x3e5ed9(0x1bc)],this[_0x3e5ed9(0x1b3)]=_0x311ad4[_0x3e5ed9(0x1b3)],this[_0x3e5ed9(0x1c1)]=_0x311ad4[_0x3e5ed9(0x1c1)],this[_0x3e5ed9(0x1b8)]=_0x311ad4[_0x3e5ed9(0x1b8)],this[_0x3e5ed9(0x1b7)]=_0x311ad4[_0x3e5ed9(0x1b7)],this[_0x3e5ed9(0x1ba)]=_0x311ad4[_0x3e5ed9(0x1ba)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1606a9=_0x40f4;(function(_0x145a77,_0x3a04a6){var _0x13f3bf=_0x40f4,_0x3c4f6a=_0x145a77();while(!![]){try{var _0x580f15=parseInt(_0x13f3bf(0x135))/0x1*(parseInt(_0x13f3bf(0x13d))/0x2)+-parseInt(_0x13f3bf(0x134))/0x3*(parseInt(_0x13f3bf(0x141))/0x4)+parseInt(_0x13f3bf(0x144))/0x5*(-parseInt(_0x13f3bf(0x139))/0x6)+parseInt(_0x13f3bf(0x137))/0x7*(parseInt(_0x13f3bf(0x142))/0x8)+parseInt(_0x13f3bf(0x13c))/0x9*(-parseInt(_0x13f3bf(0x13a))/0xa)+parseInt(_0x13f3bf(0x13e))/0xb*(parseInt(_0x13f3bf(0x140))/0xc)+parseInt(_0x13f3bf(0x145))/0xd;if(_0x580f15===_0x3a04a6)break;else _0x3c4f6a['push'](_0x3c4f6a['shift']());}catch(_0x35ae54){_0x3c4f6a['push'](_0x3c4f6a['shift']());}}}(_0x4b3c,0x76ecf));function _0x4b3c(){var _0x437b52=['36PuadxA','1084nJAbZa','88KUtpEo','checks','1325840nOqeiz','19474689ATwAfE','removeCheckById','find','filter','9033ZWsZEV','207CqppDy','_checks','188713NgRDrR','setupChecks','6gpIwBR','10aXSqUS','getCheckById','3241503xTDnoY','746HfPrPA','207614QxrglJ','map'];_0x4b3c=function(){return _0x437b52;};return _0x4b3c();}function _0x40f4(_0x34185e,_0x38ac3e){var _0x4b3ce9=_0x4b3c();return _0x40f4=function(_0x40f41e,_0x304f46){_0x40f41e=_0x40f41e-0x132;var _0x76ec1a=_0x4b3ce9[_0x40f41e];return _0x76ec1a;},_0x40f4(_0x34185e,_0x38ac3e);}import{ObservableMixin as _0x18c93e}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x383f88}from'./aireviewcheck.js';export class AIReviewCheckList extends _0x18c93e(){[_0x1606a9(0x136)]=[];[_0x1606a9(0x138)](_0xe10dfc){var _0x505199=_0x1606a9;this[_0x505199(0x136)]=_0xe10dfc[_0x505199(0x13f)](_0xb31868=>new _0x383f88(_0xb31868));}get[_0x1606a9(0x143)](){var _0x2b5e44=_0x1606a9;return this[_0x2b5e44(0x136)];}[_0x1606a9(0x13b)](_0x1b7542){var _0x1a19d0=_0x1606a9;return this[_0x1a19d0(0x143)][_0x1a19d0(0x132)](_0x56028d=>_0x56028d['id']===_0x1b7542);}[_0x1606a9(0x146)](_0x4021a8){var _0x15167b=_0x1606a9;this[_0x15167b(0x136)]=this[_0x15167b(0x136)][_0x15167b(0x133)](_0xf6c56a=>_0xf6c56a['id']!==_0x4021a8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5a5d(_0x5ccf40,_0x14dd89){var _0x57b2d0=_0x57b2();return _0x5a5d=function(_0x5a5dd7,_0x4bbfc7){_0x5a5dd7=_0x5a5dd7-0xcd;var _0x3f805d=_0x57b2d0[_0x5a5dd7];return _0x3f805d;},_0x5a5d(_0x5ccf40,_0x14dd89);}var _0x16e570=_0x5a5d;(function(_0x392dc2,_0x5b8a3d){var _0x5d03eb=_0x5a5d,_0x472291=_0x392dc2();while(!![]){try{var _0x526bed=-parseInt(_0x5d03eb(0xd3))/0x1*(parseInt(_0x5d03eb(0xd5))/0x2)+parseInt(_0x5d03eb(0xda))/0x3+-parseInt(_0x5d03eb(0xd6))/0x4*(parseInt(_0x5d03eb(0xd1))/0x5)+-parseInt(_0x5d03eb(0xcd))/0x6+-parseInt(_0x5d03eb(0xd0))/0x7+parseInt(_0x5d03eb(0xd2))/0x8*(-parseInt(_0x5d03eb(0xd9))/0x9)+-parseInt(_0x5d03eb(0xd7))/0xa*(-parseInt(_0x5d03eb(0xd8))/0xb);if(_0x526bed===_0x5b8a3d)break;else _0x472291['push'](_0x472291['shift']());}catch(_0x34b962){_0x472291['push'](_0x472291['shift']());}}}(_0x57b2,0x8ccae));import{EmitterMixin as _0x3c8fb6}from'ckeditor5/src/utils.js';function _0x57b2(){var _0x2ea53b=['contentNew','6993595LKUpVG','162765gljyHn','8tMEEUT','253uKfzzd','documentVersion','3716XkQhvb','104dSQqai','1237760FTQLtU','352hNgmSQ','9654759yguXut','1240065SmSFcg','2455278IxhyjH','contentInitial'];_0x57b2=function(){return _0x2ea53b;};return _0x57b2();}export class AIReviewCheckResult extends _0x3c8fb6(){['id'];[_0x16e570(0xcf)];[_0x16e570(0xce)];[_0x16e570(0xd4)];constructor({id:_0x4a0145,contentNew:_0x1f3a25,contentInitial:_0x386a91,documentVersion:_0x1fbf40}){var _0x144f27=_0x16e570;super(),this['id']=_0x4a0145,this[_0x144f27(0xcf)]=_0x1f3a25,this[_0x144f27(0xce)]=_0x386a91,this[_0x144f27(0xd4)]=_0x1fbf40;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4d967d=_0x2034;(function(_0x4055a6,_0x142539){var _0x19b48d=_0x2034,_0x51c9d2=_0x4055a6();while(!![]){try{var _0x3f8f8d=parseInt(_0x19b48d(0x1e9))/0x1+-parseInt(_0x19b48d(0x1ec))/0x2*(-parseInt(_0x19b48d(0x1f9))/0x3)+-parseInt(_0x19b48d(0x1f4))/0x4+-parseInt(_0x19b48d(0x1f3))/0x5*(-parseInt(_0x19b48d(0x1ef))/0x6)+parseInt(_0x19b48d(0x1f2))/0x7+-parseInt(_0x19b48d(0x1ed))/0x8*(-parseInt(_0x19b48d(0x1f0))/0x9)+-parseInt(_0x19b48d(0x1f7))/0xa;if(_0x3f8f8d===_0x142539)break;else _0x51c9d2['push'](_0x51c9d2['shift']());}catch(_0x4314b1){_0x51c9d2['push'](_0x51c9d2['shift']());}}}(_0x11cf,0x2ec9c));import{ObservableMixin as _0x4dd0d0}from'ckeditor5/src/utils.js';function _0x11cf(){var _0x40e661=['3777700gpKIYf','change:status','12NrZcNa','isActivated','contentDiffed','status','set','operationsIsolated','_editorOperations','236658hpDtpx','context','isRated','260PdPicf','1068208XuBHrT','pending','6ZoDxTz','18KtnhKZ','parent','68768ukUfgL','356335deLcZO','63628STUxCX','_data','operations'];_0x11cf=function(){return _0x40e661;};return _0x11cf();}function _0x2034(_0x561fb2,_0x32489c){var _0x11cff1=_0x11cf();return _0x2034=function(_0x20348b,_0x52e063){_0x20348b=_0x20348b-0x1e6;var _0x39faca=_0x11cff1[_0x20348b];return _0x39faca;},_0x2034(_0x561fb2,_0x32489c);}export class AIReviewCheckResultChange extends _0x4dd0d0(){['id'];[_0x4d967d(0x1f1)];[_0x4d967d(0x1f5)];[_0x4d967d(0x1e8)]=[];constructor(_0x2a933d,_0x37c27e,_0xe7b35a){var _0x4e25b3=_0x4d967d;super(),this['id']=_0x2a933d,this[_0x4e25b3(0x1f1)]=_0xe7b35a,this[_0x4e25b3(0x1f5)]=_0x37c27e,this[_0x4e25b3(0x1e6)](_0x4e25b3(0x1fa),!0x1),this[_0x4e25b3(0x1e6)](_0x4e25b3(0x1eb),!0x1),this[_0x4e25b3(0x1e6)](_0x4e25b3(0x1fc),_0x4e25b3(0x1ee)),this['on'](_0x4e25b3(0x1f8),()=>{var _0x449061=_0x4e25b3;_0x449061(0x1ee)!==this[_0x449061(0x1fc)]&&this[_0x449061(0x1fa)]&&(this[_0x449061(0x1fa)]=!0x1);});}get[_0x4d967d(0x1fb)](){var _0x4a4fac=_0x4d967d;return this[_0x4a4fac(0x1f5)][_0x4a4fac(0x1ea)]();}get[_0x4d967d(0x1f6)](){var _0x186f49=_0x4d967d;return this[_0x186f49(0x1f5)][_0x186f49(0x1f6)];}get[_0x4d967d(0x1e7)](){var _0xdb3ec=_0x4d967d;return this[_0xdb3ec(0x1f5)][_0xdb3ec(0x1e7)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e82bb=_0x5bab;(function(_0x46a1bd,_0x300560){const _0x99c2ff=_0x5bab,_0xf8b92f=_0x46a1bd();while(!![]){try{const _0x154970=-parseInt(_0x99c2ff(0x11f))/0x1+parseInt(_0x99c2ff(0xf9))/0x2+-parseInt(_0x99c2ff(0xd2))/0x3*(parseInt(_0x99c2ff(0x120))/0x4)+parseInt(_0x99c2ff(0xcc))/0x5+parseInt(_0x99c2ff(0xee))/0x6*(parseInt(_0x99c2ff(0xcf))/0x7)+parseInt(_0x99c2ff(0x114))/0x8*(parseInt(_0x99c2ff(0x103))/0x9)+-parseInt(_0x99c2ff(0xd6))/0xa;if(_0x154970===_0x300560)break;else _0xf8b92f['push'](_0xf8b92f['shift']());}catch(_0x28e10b){_0xf8b92f['push'](_0xf8b92f['shift']());}}}(_0x1682,0xb3ea9));import{ObservableMixin as _0x3f42b5,uid as _0x3ce602}from'ckeditor5/src/utils.js';function _0x5bab(_0x80cffc,_0x255846){const _0x168228=_0x1682();return _0x5bab=function(_0x5babec,_0x32a31b){_0x5babec=_0x5babec-0xbe;let _0xe39ccb=_0x168228[_0x5babec];return _0xe39ccb;},_0x5bab(_0x80cffc,_0x255846);}import{AIReviewCheckResult as _0x427e04}from'./aireviewcheckresult.js';function _0x1682(){const _0x9e5b4f=['initialized','sendRating','finished','isChangeActive','status','abortController','9pPCIkf','loading','error-chunk','_changes','change:isActivated','_wasAborted','set','_sendRatingRequest','_reviewParams','abort','_sourceCheck','reviewCheckResultChangeStatusUpdated','callId','updateDocumentData','subTitle','change:status','start','1669896DNtPPV','outdated','some','markChangeAsPending','markChangeAsOutdated','currentError','reviewCheckResultReady','pending','push','_reviewArgs','aborted','484907TpUPCv','652fcYnXN','_activeRequest','reviewCheckResultAdded','find','documentData','unmodified','_createApiRequest','accepted','clear','forEach','getStream','reviewName','isAnyChangeActivated','_checkIfFinished','isRated','getContent','dataId','6884685nkDdGt','version','getChangeById','7BzwIqL','_documentData','reviewCheckRunUpdated','15303Nqonwt','length','error-general','markChangeAsAccepted','6379290zXwnyQ','_addReviewCheckResult','hasModifications','processedResultsCount','ready','reviewCheckResultActivated','_aiConnector','filter','parent','deactivateChange','review-metadata','includes','message','error','_results','getActiveChanges','textDelta','markChangeAsRejected','restart','rejected','size','ai-request-aborted','event','operation','2280534yMEjUW','addResultChanges','forceReadyState','_currentError','reviewCheckResultDeactivated','activateChange','markAllChangesAsAccepted','fire','get','isActivated','data','1450946LbhwiK','elements','title','every'];_0x1682=function(){return _0x9e5b4f;};return _0x1682();}import{AIReviewCheckResultChange as _0x8e3c80}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x3f42b5(){['id']=_0x3ce602();[_0x5e82bb(0x10f)];[_0x5e82bb(0xe4)]=new Map();[_0x5e82bb(0x106)]=[];[_0x5e82bb(0x10d)];[_0x5e82bb(0xd0)];[_0x5e82bb(0xdc)];[_0x5e82bb(0x10b)];[_0x5e82bb(0x11d)];[_0x5e82bb(0x121)]=null;[_0x5e82bb(0xf1)];[_0x5e82bb(0x108)]=!0x1;constructor(_0x24ca87,_0x3affbc,_0x49ec69,_0x5c0593,_0x37d660){const _0x457894=_0x5e82bb;super(),this[_0x457894(0x10d)]=_0x3affbc,this[_0x457894(0xd0)]=_0x24ca87,this[_0x457894(0xdc)]=_0x49ec69,this[_0x457894(0x10b)]=_0x5c0593,this[_0x457894(0x11d)]=_0x37d660,this['on'](_0x457894(0x112),(_0xbcb486,_0x584ce2,_0x3e8b87)=>{const _0x202494=_0x457894;_0x202494(0x11e)==_0x3e8b87&&(this[_0x202494(0x108)]=!0x0),this[_0x202494(0xf5)](_0x202494(0xd1),{'status':_0x3e8b87,'run':this,'error':this[_0x202494(0xf1)]});}),this[_0x457894(0x109)](_0x457894(0x101),_0x457894(0xfd));}get[_0x5e82bb(0xbf)](){const _0x4a13e0=_0x5e82bb;return this[_0x4a13e0(0xd0)];}get[_0x5e82bb(0xd9)](){const _0x7b1bea=_0x5e82bb;return this[_0x7b1bea(0xe4)][_0x7b1bea(0xea)];}get[_0x5e82bb(0xfb)](){const _0x4d73cd=_0x5e82bb;return this[_0x4d73cd(0x10d)][_0x4d73cd(0xfb)];}get[_0x5e82bb(0x111)](){return'';}get[_0x5e82bb(0xc6)](){const _0xeac1ef=_0x5e82bb;return this[_0xeac1ef(0x10d)]['id'];}get[_0x5e82bb(0xd8)](){const _0xed29ab=_0x5e82bb;return!this[_0xed29ab(0x106)][_0xed29ab(0xfc)](_0x445d22=>_0xed29ab(0x11b)===_0x445d22[_0xed29ab(0x101)]);}get[_0x5e82bb(0x119)](){const _0x325873=_0x5e82bb;return this[_0x325873(0xf1)];}[_0x5e82bb(0x110)](_0x308dff){const _0x510b57=_0x5e82bb;this[_0x510b57(0xd0)]=_0x308dff;}async[_0x5e82bb(0x113)](){const _0x2c59b8=_0x5e82bb;this[_0x2c59b8(0x101)]=_0x2c59b8(0x104),this[_0x2c59b8(0xf1)]=void 0x0;try{this[_0x2c59b8(0x121)]=this[_0x2c59b8(0xc1)]();const _0x30d698=await this[_0x2c59b8(0x121)][_0x2c59b8(0xc5)]();this[_0x2c59b8(0x101)]=_0x2c59b8(0xf8);for await(const _0x4bdb6c of _0x30d698)_0x2c59b8(0xc0)!==_0x4bdb6c[_0x2c59b8(0xf8)][_0x2c59b8(0xed)]&&(_0x2c59b8(0xe3)!==_0x4bdb6c[_0x2c59b8(0xf8)][_0x2c59b8(0xed)]?_0x2c59b8(0xe0)!==_0x4bdb6c[_0x2c59b8(0xec)]?this[_0x2c59b8(0xd7)](_0x4bdb6c[_0x2c59b8(0xf8)][_0x2c59b8(0xcb)],_0x4bdb6c[_0x2c59b8(0xf8)][_0x2c59b8(0xe6)]):this[_0x2c59b8(0x10f)]=_0x4bdb6c[_0x2c59b8(0xf8)][_0x2c59b8(0x10f)]:this[_0x2c59b8(0x101)]=_0x2c59b8(0x105));_0x2c59b8(0x105)!==this[_0x2c59b8(0x101)]&&(0x0===this[_0x2c59b8(0xe4)][_0x2c59b8(0xea)]||0x0===this[_0x2c59b8(0x106)][_0x2c59b8(0xd3)]?this[_0x2c59b8(0x101)]=_0x2c59b8(0xc0):this[_0x2c59b8(0x101)]=_0x2c59b8(0xda));}catch(_0x30ecf9){this[_0x2c59b8(0xf1)]=_0x30ecf9,_0x30ecf9 instanceof Error&&_0x30ecf9[_0x2c59b8(0xe2)][_0x2c59b8(0xe1)](_0x2c59b8(0xeb))?this[_0x2c59b8(0x101)]=_0x2c59b8(0x11e):this[_0x2c59b8(0x101)]=_0x2c59b8(0xd4);}finally{this[_0x2c59b8(0x121)]=null;}}async[_0x5e82bb(0xe8)](){const _0x1bdb48=_0x5e82bb;this[_0x1bdb48(0xe4)][_0x1bdb48(0xc3)](),this[_0x1bdb48(0x106)][_0x1bdb48(0xd3)]=0x0,this[_0x1bdb48(0xf1)]=void 0x0,await this[_0x1bdb48(0x113)]();}[_0x5e82bb(0xef)](_0xe62f0,_0x324bd0){const _0x132271=_0x5e82bb,_0x40ebbb=this[_0x132271(0xe4)][_0x132271(0xf6)](_0xe62f0);if(!_0x40ebbb)return;if(0x0===_0x324bd0[_0x132271(0xd3)])return;const _0x82d29e=[];_0x324bd0[_0x132271(0xc4)]((_0x528118,_0x26404e)=>{const _0x508c81=_0x132271,_0x2a155c=new _0x8e3c80(_0x40ebbb['id']+'-'+_0x26404e,_0x528118,_0x40ebbb);_0x2a155c['on'](_0x508c81(0x112),()=>{const _0x32dd68=_0x508c81;this[_0x32dd68(0xf5)](_0x32dd68(0x10e),{'change':_0x2a155c,'status':_0x2a155c[_0x32dd68(0x101)]});}),_0x2a155c['on'](_0x508c81(0x107),()=>{const _0x4cd008=_0x508c81;_0x2a155c[_0x4cd008(0xf7)]?this[_0x4cd008(0xf5)](_0x4cd008(0xdb),{'change':_0x2a155c}):this[_0x4cd008(0xf5)](_0x4cd008(0xf2),{'change':_0x2a155c});}),this[_0x508c81(0x106)][_0x508c81(0x11c)](_0x2a155c),_0x82d29e[_0x508c81(0x11c)](_0x2a155c);}),this[_0x132271(0xf5)](_0x132271(0x11a),{'changes':_0x82d29e,'result':_0x40ebbb,'source':this});}[_0x5e82bb(0x10c)](){const _0x11276a=_0x5e82bb;this[_0x11276a(0x121)]&&(this[_0x11276a(0x121)][_0x11276a(0x102)][_0x11276a(0x10c)](),this[_0x11276a(0x121)]=null,this[_0x11276a(0x101)]=_0x11276a(0x11e));}[_0x5e82bb(0x100)](_0x95fd7c){const _0x2e0429=_0x5e82bb,_0x637dc8=this[_0x2e0429(0x106)][_0x2e0429(0xbe)](_0x1b8ebb=>_0x1b8ebb['id']===_0x95fd7c);return!(!_0x637dc8||_0x2e0429(0x11b)!==_0x637dc8[_0x2e0429(0x101)]);}[_0x5e82bb(0xc7)](){const _0x48337c=_0x5e82bb;return this[_0x48337c(0x106)][_0x48337c(0x116)](_0x1eeb0a=>!0x0===_0x1eeb0a[_0x48337c(0xf7)]);}[_0x5e82bb(0xe5)](){const _0x1f1bed=_0x5e82bb;return this[_0x1f1bed(0x106)][_0x1f1bed(0xdd)](_0x593cbb=>_0x1f1bed(0x11b)===_0x593cbb[_0x1f1bed(0x101)]);}[_0x5e82bb(0xce)](_0x752346){const _0x25484c=_0x5e82bb;return this[_0x25484c(0x106)][_0x25484c(0xbe)](_0x13480e=>_0x13480e['id']===_0x752346);}[_0x5e82bb(0xf4)](){const _0x3f3d21=_0x5e82bb;for(const _0x406cb0 of this[_0x3f3d21(0x106)])_0x3f3d21(0x11b)===_0x406cb0[_0x3f3d21(0x101)]&&(_0x406cb0[_0x3f3d21(0x101)]=_0x3f3d21(0xc2));this[_0x3f3d21(0xc8)]();}[_0x5e82bb(0xd5)](_0x40f0c7){const _0x536355=_0x5e82bb,_0x1d1943=this[_0x536355(0x106)][_0x536355(0xbe)](_0x1861f1=>_0x1861f1['id']===_0x40f0c7);_0x1d1943&&_0x536355(0x11b)===_0x1d1943[_0x536355(0x101)]&&(_0x1d1943[_0x536355(0x101)]=_0x536355(0xc2)),this[_0x536355(0xc8)]();}[_0x5e82bb(0xe7)](_0x1901ae){const _0x22fb9c=_0x5e82bb,_0x48ba93=this[_0x22fb9c(0x106)][_0x22fb9c(0xbe)](_0x597534=>_0x597534['id']===_0x1901ae);_0x48ba93&&_0x22fb9c(0x11b)===_0x48ba93[_0x22fb9c(0x101)]&&(_0x48ba93[_0x22fb9c(0x101)]=_0x22fb9c(0xe9)),this[_0x22fb9c(0xc8)]();}[_0x5e82bb(0x118)](_0x59217b){const _0x57aa59=_0x5e82bb,_0x46359e=this[_0x57aa59(0x106)][_0x57aa59(0xbe)](_0x229f1d=>_0x229f1d['id']===_0x59217b);_0x46359e&&_0x57aa59(0x11b)===_0x46359e[_0x57aa59(0x101)]&&(_0x46359e[_0x57aa59(0x101)]=_0x57aa59(0x115)),this[_0x57aa59(0xc8)]();}[_0x5e82bb(0x117)](_0x564a28){const _0x4f4c9e=_0x5e82bb,_0x311039=this[_0x4f4c9e(0x106)][_0x4f4c9e(0xbe)](_0x500281=>_0x500281['id']===_0x564a28);_0x311039&&_0x4f4c9e(0x115)===_0x311039[_0x4f4c9e(0x101)]&&(_0x311039[_0x4f4c9e(0x101)]=_0x4f4c9e(0x11b)),this[_0x4f4c9e(0xc8)]();}[_0x5e82bb(0xf3)](_0x2a99db){const _0x143570=_0x5e82bb;this[_0x143570(0x106)][_0x143570(0xdd)](_0x20ab41=>_0x20ab41[_0x143570(0xf7)]&&_0x20ab41['id']!==_0x2a99db)[_0x143570(0xc4)](_0xded219=>{const _0x2256b3=_0x143570;_0xded219[_0x2256b3(0xf7)]=!0x1;});const _0x5b0d37=this[_0x143570(0x106)][_0x143570(0xbe)](_0x574075=>_0x574075['id']===_0x2a99db);_0x5b0d37&&_0x143570(0x11b)===_0x5b0d37[_0x143570(0x101)]&&(_0x5b0d37[_0x143570(0xf7)]=!0x0);}[_0x5e82bb(0xdf)](){const _0x44bfd1=_0x5e82bb;this[_0x44bfd1(0x106)][_0x44bfd1(0xdd)](_0x203d5c=>_0x203d5c[_0x44bfd1(0xf7)])[_0x44bfd1(0xc4)](_0x5ac151=>{const _0x1ef6be=_0x44bfd1;_0x5ac151[_0x1ef6be(0xf7)]=!0x1;});}[_0x5e82bb(0xf0)](){const _0x57bee1=_0x5e82bb;this[_0x57bee1(0x101)]=_0x57bee1(0xda);}async[_0x5e82bb(0xfe)](_0x335b7f){const _0x1d1502=_0x5e82bb;if(_0x1d1502(0xfd)===this[_0x1d1502(0x101)]||_0x1d1502(0x104)===this[_0x1d1502(0x101)]||_0x1d1502(0xf8)===this[_0x1d1502(0x101)]||this[_0x1d1502(0x108)])return;if(!this[_0x1d1502(0x10f)]||0x0===this[_0x1d1502(0x106)][_0x1d1502(0xd3)])return;let _0x29473c;if(_0x335b7f){const _0x4b59ae=this[_0x1d1502(0x106)][_0x1d1502(0xbe)](_0x1f4193=>_0x1f4193['id']===_0x335b7f);if(_0x4b59ae&&_0x4b59ae[_0x1d1502(0xc9)])return;_0x4b59ae&&(_0x29473c=_0x4b59ae[_0x1d1502(0xde)]['id'],_0x4b59ae[_0x1d1502(0xc9)]=!0x0);}const _0x3d04e0={'positiveCount':this[_0x1d1502(0x106)][_0x1d1502(0xdd)](_0xe4053e=>_0x1d1502(0xc2)===_0xe4053e[_0x1d1502(0x101)])[_0x1d1502(0xd3)],'totalCount':this[_0x1d1502(0x106)][_0x1d1502(0xd3)]};this[_0x1d1502(0x10a)](_0x3d04e0,this[_0x1d1502(0x10f)],_0x29473c);}[_0x5e82bb(0xd7)](_0x36a6a3,_0x3f83e3){const _0x5b20a1=_0x5e82bb,_0x4e88d7=this[_0x5b20a1(0xd0)][_0x5b20a1(0xfa)][_0x5b20a1(0xf6)](_0x36a6a3);if(!_0x4e88d7)return;const _0x4b612a=_0x4e88d7[_0x5b20a1(0xca)]();if(_0x4b612a===_0x3f83e3)return;const _0x45340e=new _0x427e04({'id':_0x36a6a3,'contentInitial':_0x4b612a,'contentNew':_0x3f83e3,'documentVersion':this[_0x5b20a1(0xd0)][_0x5b20a1(0xcd)]});this[_0x5b20a1(0xe4)][_0x5b20a1(0x109)](_0x45340e['id'],_0x45340e),this[_0x5b20a1(0xf5)](_0x5b20a1(0x122),{'result':_0x45340e,'source':this});}[_0x5e82bb(0xc8)](){const _0x48ec8d=_0x5e82bb;_0x48ec8d(0xff)===this[_0x48ec8d(0x101)]&&(this[_0x48ec8d(0x106)][_0x48ec8d(0xdd)](_0x311628=>_0x48ec8d(0x11b)===_0x311628[_0x48ec8d(0x101)])[_0x48ec8d(0xd3)]>0x0&&(this[_0x48ec8d(0x101)]=_0x48ec8d(0xda))),_0x48ec8d(0xda)===this[_0x48ec8d(0x101)]&&(0x0===this[_0x48ec8d(0x106)][_0x48ec8d(0xdd)](_0x13fc79=>_0x48ec8d(0x11b)===_0x13fc79[_0x48ec8d(0x101)])[_0x48ec8d(0xd3)]&&(this[_0x48ec8d(0x101)]=_0x48ec8d(0xff)));}}
|
|
23
|
+
const _0x5ae885=_0x31e5;(function(_0x5e6e12,_0x33831c){const _0x5c8c0b=_0x31e5,_0x32aba3=_0x5e6e12();while(!![]){try{const _0x51257a=parseInt(_0x5c8c0b(0x22d))/0x1*(-parseInt(_0x5c8c0b(0x1fe))/0x2)+-parseInt(_0x5c8c0b(0x20d))/0x3*(-parseInt(_0x5c8c0b(0x1df))/0x4)+parseInt(_0x5c8c0b(0x22f))/0x5+-parseInt(_0x5c8c0b(0x1d9))/0x6*(parseInt(_0x5c8c0b(0x1e4))/0x7)+parseInt(_0x5c8c0b(0x236))/0x8*(-parseInt(_0x5c8c0b(0x224))/0x9)+parseInt(_0x5c8c0b(0x22b))/0xa+parseInt(_0x5c8c0b(0x205))/0xb*(-parseInt(_0x5c8c0b(0x1f4))/0xc);if(_0x51257a===_0x33831c)break;else _0x32aba3['push'](_0x32aba3['shift']());}catch(_0x3e989d){_0x32aba3['push'](_0x32aba3['shift']());}}}(_0x282f,0x49f76));function _0x282f(){const _0xe0cfa5=['_currentError','callId','4525260vtYutt','getStream','36DADtNL','fire','226310trOPOs','markChangeAsPending','error-general','set','get','documentData','subTitle','88ACzpNa','reviewCheckResultAdded','abortController','getActiveChanges','_aiConnector','aborted','error-chunk','_sourceCheck','processedResultsCount','_sendRatingRequest','372cmckEE','outdated','_reviewParams','_wasAborted','getChangeById','_activeRequest','188xniDVb','title','isRated','_documentData','push','30359jiPvwb','isActivated','_checkIfFinished','length','markChangeAsOutdated','find','reviewCheckResultChangeStatusUpdated','reviewCheckResultReady','parent','initialized','dataId','isChangeActive','forceReadyState','pending','deactivateChange','currentError','168FbEmbp','review-metadata','loading','reviewCheckRunUpdated','_createApiRequest','markChangeAsAccepted','filter','size','reviewName','markAllChangesAsAccepted','22438husgas','reviewCheckResultActivated','restart','start','_results','_changes','isAnyChangeActivated','51799GeIMey','message','updateDocumentData','accepted','error','rejected','event','_reviewArgs','37959itsNtc','addResultChanges','data','change:isActivated','includes','clear','finished','getContent','status','version','elements','activateChange','markChangeAsRejected','unmodified','sendRating','change:status','ready','hasModifications','forEach','operation','every','abort','reviewCheckResultDeactivated','41571GWWArr','_addReviewCheckResult','textDelta','ai-request-aborted','some'];_0x282f=function(){return _0xe0cfa5;};return _0x282f();}import{ObservableMixin as _0xeb0e87,uid as _0x195aa2}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x5ea9b3}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x6392d6}from'./aireviewcheckresultchange.js';function _0x31e5(_0xb4f0fe,_0xd61a2){const _0x282fb9=_0x282f();return _0x31e5=function(_0x31e5fd,_0x3579d3){_0x31e5fd=_0x31e5fd-0x1d1;let _0x55d5e5=_0x282fb9[_0x31e5fd];return _0x55d5e5;},_0x31e5(_0xb4f0fe,_0xd61a2);}export class AIReviewCheckRun extends _0xeb0e87(){['id']=_0x195aa2();[_0x5ae885(0x22a)];[_0x5ae885(0x202)]=new Map();[_0x5ae885(0x203)]=[];[_0x5ae885(0x1d6)];[_0x5ae885(0x1e2)];[_0x5ae885(0x1d3)];[_0x5ae885(0x1db)];[_0x5ae885(0x20c)];[_0x5ae885(0x1de)]=null;[_0x5ae885(0x229)];[_0x5ae885(0x1dc)]=!0x1;constructor(_0x3f349a,_0x520573,_0x3ce627,_0x4f86c2,_0x98b6b5){const _0x4ce438=_0x5ae885;super(),this[_0x4ce438(0x1d6)]=_0x520573,this[_0x4ce438(0x1e2)]=_0x3f349a,this[_0x4ce438(0x1d3)]=_0x3ce627,this[_0x4ce438(0x1db)]=_0x4f86c2,this[_0x4ce438(0x20c)]=_0x98b6b5,this['on'](_0x4ce438(0x21c),(_0x2bc798,_0x574c1e,_0x1b174f)=>{const _0x4693dc=_0x4ce438;_0x4693dc(0x1d4)==_0x1b174f&&(this[_0x4693dc(0x1dc)]=!0x0),this[_0x4693dc(0x22e)](_0x4693dc(0x1f7),{'status':_0x1b174f,'run':this,'error':this[_0x4693dc(0x229)]});}),this[_0x4ce438(0x232)](_0x4ce438(0x215),_0x4ce438(0x1ed));}get[_0x5ae885(0x234)](){const _0x340ae9=_0x5ae885;return this[_0x340ae9(0x1e2)];}get[_0x5ae885(0x1d7)](){const _0x3772b9=_0x5ae885;return this[_0x3772b9(0x202)][_0x3772b9(0x1fb)];}get[_0x5ae885(0x1e0)](){const _0x4ffba5=_0x5ae885;return this[_0x4ffba5(0x1d6)][_0x4ffba5(0x1e0)];}get[_0x5ae885(0x235)](){return'';}get[_0x5ae885(0x1fc)](){const _0x5db492=_0x5ae885;return this[_0x5db492(0x1d6)]['id'];}get[_0x5ae885(0x21e)](){const _0x15204b=_0x5ae885;return!this[_0x15204b(0x203)][_0x15204b(0x221)](_0x2c7c06=>_0x15204b(0x1f1)===_0x2c7c06[_0x15204b(0x215)]);}get[_0x5ae885(0x1f3)](){const _0x1639a8=_0x5ae885;return this[_0x1639a8(0x229)];}[_0x5ae885(0x207)](_0x45fbb3){const _0x2984c5=_0x5ae885;this[_0x2984c5(0x1e2)]=_0x45fbb3;}async[_0x5ae885(0x201)](){const _0x49dbb2=_0x5ae885;this[_0x49dbb2(0x215)]=_0x49dbb2(0x1f6),this[_0x49dbb2(0x229)]=void 0x0;try{this[_0x49dbb2(0x1de)]=this[_0x49dbb2(0x1f8)]();const _0x4d52bf=await this[_0x49dbb2(0x1de)][_0x49dbb2(0x22c)]();this[_0x49dbb2(0x215)]=_0x49dbb2(0x20f);for await(const _0x5c0f52 of _0x4d52bf)_0x49dbb2(0x21a)!==_0x5c0f52[_0x49dbb2(0x20f)][_0x49dbb2(0x220)]&&(_0x49dbb2(0x209)!==_0x5c0f52[_0x49dbb2(0x20f)][_0x49dbb2(0x220)]?_0x49dbb2(0x1f5)!==_0x5c0f52[_0x49dbb2(0x20b)]?this[_0x49dbb2(0x225)](_0x5c0f52[_0x49dbb2(0x20f)][_0x49dbb2(0x1ee)],_0x5c0f52[_0x49dbb2(0x20f)][_0x49dbb2(0x226)]):this[_0x49dbb2(0x22a)]=_0x5c0f52[_0x49dbb2(0x20f)][_0x49dbb2(0x22a)]:this[_0x49dbb2(0x215)]=_0x49dbb2(0x1d5));_0x49dbb2(0x1d5)!==this[_0x49dbb2(0x215)]&&(0x0===this[_0x49dbb2(0x202)][_0x49dbb2(0x1fb)]||0x0===this[_0x49dbb2(0x203)][_0x49dbb2(0x1e7)]?this[_0x49dbb2(0x215)]=_0x49dbb2(0x21a):this[_0x49dbb2(0x215)]=_0x49dbb2(0x21d));}catch(_0x538d86){this[_0x49dbb2(0x229)]=_0x538d86,_0x538d86 instanceof Error&&_0x538d86[_0x49dbb2(0x206)][_0x49dbb2(0x211)](_0x49dbb2(0x227))?this[_0x49dbb2(0x215)]=_0x49dbb2(0x1d4):this[_0x49dbb2(0x215)]=_0x49dbb2(0x231);}finally{this[_0x49dbb2(0x1de)]=null;}}async[_0x5ae885(0x200)](){const _0x172e20=_0x5ae885;this[_0x172e20(0x202)][_0x172e20(0x212)](),this[_0x172e20(0x203)][_0x172e20(0x1e7)]=0x0,this[_0x172e20(0x229)]=void 0x0,await this[_0x172e20(0x201)]();}[_0x5ae885(0x20e)](_0x34268c,_0x4f7b22){const _0x3a0346=_0x5ae885,_0xd0d6c5=this[_0x3a0346(0x202)][_0x3a0346(0x233)](_0x34268c);if(!_0xd0d6c5)return;if(0x0===_0x4f7b22[_0x3a0346(0x1e7)])return;const _0x116049=[];_0x4f7b22[_0x3a0346(0x21f)]((_0x310a63,_0xb14a5f)=>{const _0x28b4d0=_0x3a0346,_0x39fdec=new _0x6392d6(_0xd0d6c5['id']+'-'+_0xb14a5f,_0x310a63,_0xd0d6c5);_0x39fdec['on'](_0x28b4d0(0x21c),()=>{const _0x100f12=_0x28b4d0;this[_0x100f12(0x22e)](_0x100f12(0x1ea),{'change':_0x39fdec,'status':_0x39fdec[_0x100f12(0x215)]});}),_0x39fdec['on'](_0x28b4d0(0x210),()=>{const _0x4b2377=_0x28b4d0;_0x39fdec[_0x4b2377(0x1e5)]?this[_0x4b2377(0x22e)](_0x4b2377(0x1ff),{'change':_0x39fdec}):this[_0x4b2377(0x22e)](_0x4b2377(0x223),{'change':_0x39fdec});}),this[_0x28b4d0(0x203)][_0x28b4d0(0x1e3)](_0x39fdec),_0x116049[_0x28b4d0(0x1e3)](_0x39fdec);}),this[_0x3a0346(0x22e)](_0x3a0346(0x1eb),{'changes':_0x116049,'result':_0xd0d6c5,'source':this});}[_0x5ae885(0x222)](){const _0x1a2d12=_0x5ae885;this[_0x1a2d12(0x1de)]&&(this[_0x1a2d12(0x1de)][_0x1a2d12(0x1d1)][_0x1a2d12(0x222)](),this[_0x1a2d12(0x1de)]=null,this[_0x1a2d12(0x215)]=_0x1a2d12(0x1d4));}[_0x5ae885(0x1ef)](_0x105cec){const _0x477520=_0x5ae885,_0xf1eb58=this[_0x477520(0x203)][_0x477520(0x1e9)](_0x795e3a=>_0x795e3a['id']===_0x105cec);return!(!_0xf1eb58||_0x477520(0x1f1)!==_0xf1eb58[_0x477520(0x215)]);}[_0x5ae885(0x204)](){const _0x2f3734=_0x5ae885;return this[_0x2f3734(0x203)][_0x2f3734(0x228)](_0x5aec7d=>!0x0===_0x5aec7d[_0x2f3734(0x1e5)]);}[_0x5ae885(0x1d2)](){const _0xc52019=_0x5ae885;return this[_0xc52019(0x203)][_0xc52019(0x1fa)](_0x20a4d0=>_0xc52019(0x1f1)===_0x20a4d0[_0xc52019(0x215)]);}[_0x5ae885(0x1dd)](_0x55c63d){const _0x25ac15=_0x5ae885;return this[_0x25ac15(0x203)][_0x25ac15(0x1e9)](_0x3da824=>_0x3da824['id']===_0x55c63d);}[_0x5ae885(0x1fd)](){const _0x6c3585=_0x5ae885;for(const _0x1c767d of this[_0x6c3585(0x203)])_0x6c3585(0x1f1)===_0x1c767d[_0x6c3585(0x215)]&&(_0x1c767d[_0x6c3585(0x215)]=_0x6c3585(0x208));this[_0x6c3585(0x1e6)]();}[_0x5ae885(0x1f9)](_0x47f1ae){const _0x135926=_0x5ae885,_0x2c78ab=this[_0x135926(0x203)][_0x135926(0x1e9)](_0x455185=>_0x455185['id']===_0x47f1ae);_0x2c78ab&&_0x135926(0x1f1)===_0x2c78ab[_0x135926(0x215)]&&(_0x2c78ab[_0x135926(0x215)]=_0x135926(0x208)),this[_0x135926(0x1e6)]();}[_0x5ae885(0x219)](_0x34bf98){const _0x4c838b=_0x5ae885,_0x35957c=this[_0x4c838b(0x203)][_0x4c838b(0x1e9)](_0x2167a7=>_0x2167a7['id']===_0x34bf98);_0x35957c&&_0x4c838b(0x1f1)===_0x35957c[_0x4c838b(0x215)]&&(_0x35957c[_0x4c838b(0x215)]=_0x4c838b(0x20a)),this[_0x4c838b(0x1e6)]();}[_0x5ae885(0x1e8)](_0x42636c){const _0x2aa85f=_0x5ae885,_0x52e0f4=this[_0x2aa85f(0x203)][_0x2aa85f(0x1e9)](_0x51f6c7=>_0x51f6c7['id']===_0x42636c);_0x52e0f4&&_0x2aa85f(0x1f1)===_0x52e0f4[_0x2aa85f(0x215)]&&(_0x52e0f4[_0x2aa85f(0x215)]=_0x2aa85f(0x1da)),this[_0x2aa85f(0x1e6)]();}[_0x5ae885(0x230)](_0x633fcf){const _0x50d28d=_0x5ae885,_0x1a5ff2=this[_0x50d28d(0x203)][_0x50d28d(0x1e9)](_0x135eb8=>_0x135eb8['id']===_0x633fcf);_0x1a5ff2&&_0x50d28d(0x1da)===_0x1a5ff2[_0x50d28d(0x215)]&&(_0x1a5ff2[_0x50d28d(0x215)]=_0x50d28d(0x1f1)),this[_0x50d28d(0x1e6)]();}[_0x5ae885(0x218)](_0x52bac9){const _0x4d1b74=_0x5ae885;this[_0x4d1b74(0x203)][_0x4d1b74(0x1fa)](_0x4328c7=>_0x4328c7[_0x4d1b74(0x1e5)]&&_0x4328c7['id']!==_0x52bac9)[_0x4d1b74(0x21f)](_0x536fbc=>{const _0x3f620d=_0x4d1b74;_0x536fbc[_0x3f620d(0x1e5)]=!0x1;});const _0x2d4c4d=this[_0x4d1b74(0x203)][_0x4d1b74(0x1e9)](_0x79a49c=>_0x79a49c['id']===_0x52bac9);_0x2d4c4d&&_0x4d1b74(0x1f1)===_0x2d4c4d[_0x4d1b74(0x215)]&&(_0x2d4c4d[_0x4d1b74(0x1e5)]=!0x0);}[_0x5ae885(0x1f2)](){const _0x2f06c6=_0x5ae885;this[_0x2f06c6(0x203)][_0x2f06c6(0x1fa)](_0x53cc25=>_0x53cc25[_0x2f06c6(0x1e5)])[_0x2f06c6(0x21f)](_0x1afbef=>{const _0x257b40=_0x2f06c6;_0x1afbef[_0x257b40(0x1e5)]=!0x1;});}[_0x5ae885(0x1f0)](){const _0x983941=_0x5ae885;this[_0x983941(0x215)]=_0x983941(0x21d);}async[_0x5ae885(0x21b)](_0x18e4af){const _0x4967bf=_0x5ae885;if(_0x4967bf(0x1ed)===this[_0x4967bf(0x215)]||_0x4967bf(0x1f6)===this[_0x4967bf(0x215)]||_0x4967bf(0x20f)===this[_0x4967bf(0x215)]||this[_0x4967bf(0x1dc)])return;if(!this[_0x4967bf(0x22a)]||0x0===this[_0x4967bf(0x203)][_0x4967bf(0x1e7)])return;let _0x18ffe1;if(_0x18e4af){const _0x3cca32=this[_0x4967bf(0x203)][_0x4967bf(0x1e9)](_0x57dfcc=>_0x57dfcc['id']===_0x18e4af);if(_0x3cca32&&_0x3cca32[_0x4967bf(0x1e1)])return;_0x3cca32&&(_0x18ffe1=_0x3cca32[_0x4967bf(0x1ec)]['id'],_0x3cca32[_0x4967bf(0x1e1)]=!0x0);}const _0x5ca671={'positiveCount':this[_0x4967bf(0x203)][_0x4967bf(0x1fa)](_0xbb8a47=>_0x4967bf(0x208)===_0xbb8a47[_0x4967bf(0x215)])[_0x4967bf(0x1e7)],'totalCount':this[_0x4967bf(0x203)][_0x4967bf(0x1e7)]};this[_0x4967bf(0x1d8)](_0x5ca671,this[_0x4967bf(0x22a)],_0x18ffe1);}[_0x5ae885(0x225)](_0x1ca404,_0x54deff){const _0x190938=_0x5ae885,_0x16897c=this[_0x190938(0x1e2)][_0x190938(0x217)][_0x190938(0x233)](_0x1ca404);if(!_0x16897c)return;const _0x1003bb=_0x16897c[_0x190938(0x214)]();if(_0x1003bb===_0x54deff)return;const _0x1d9d8c=new _0x5ea9b3({'id':_0x1ca404,'contentInitial':_0x1003bb,'contentNew':_0x54deff,'documentVersion':this[_0x190938(0x1e2)][_0x190938(0x216)]});this[_0x190938(0x202)][_0x190938(0x232)](_0x1d9d8c['id'],_0x1d9d8c),this[_0x190938(0x22e)](_0x190938(0x237),{'result':_0x1d9d8c,'source':this});}[_0x5ae885(0x1e6)](){const _0x33d6af=_0x5ae885;_0x33d6af(0x213)===this[_0x33d6af(0x215)]&&(this[_0x33d6af(0x203)][_0x33d6af(0x1fa)](_0x3ce3d9=>_0x33d6af(0x1f1)===_0x3ce3d9[_0x33d6af(0x215)])[_0x33d6af(0x1e7)]>0x0&&(this[_0x33d6af(0x215)]=_0x33d6af(0x21d))),_0x33d6af(0x21d)===this[_0x33d6af(0x215)]&&(0x0===this[_0x33d6af(0x203)][_0x33d6af(0x1fa)](_0x5854ff=>_0x33d6af(0x1f1)===_0x5854ff[_0x33d6af(0x215)])[_0x33d6af(0x1e7)]&&(this[_0x33d6af(0x215)]=_0x33d6af(0x213)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5920(){const _0x4a5769=['push','apiId','_createApiRequest','useArgs','3465329OFAopQ','callSystemReview','join','label','upsertAIReviewRating','_composeReviewName','_sendRatingRequest','2856972wRtohk','_documentData','length','_reviewParams','770656jUTjUk','_reviewArgs','_aiConnector','1139340hxfmGr','1259790gkRZhS','reviewName','find','subTitle','_sourceCheck','data','options','568488wtbQFO','39240eEqOuL','content'];_0x5920=function(){return _0x4a5769;};return _0x5920();}function _0xa360(_0x4f49fd,_0x4e7c9c){const _0x59204f=_0x5920();return _0xa360=function(_0xa360ed,_0x2b32ce){_0xa360ed=_0xa360ed-0x1f0;let _0x3eaa84=_0x59204f[_0xa360ed];return _0x3eaa84;},_0xa360(_0x4f49fd,_0x4e7c9c);}const _0x381f59=_0xa360;(function(_0x5ec386,_0x499f5e){const _0x230697=_0xa360,_0xeac34f=_0x5ec386();while(!![]){try{const _0x3cc2d0=-parseInt(_0x230697(0x1fb))/0x1+parseInt(_0x230697(0x1f0))/0x2+-parseInt(_0x230697(0x1fc))/0x3+parseInt(_0x230697(0x1f3))/0x4+parseInt(_0x230697(0x1f4))/0x5+parseInt(_0x230697(0x209))/0x6+-parseInt(_0x230697(0x202))/0x7;if(_0x3cc2d0===_0x499f5e)break;else _0xeac34f['push'](_0xeac34f['shift']());}catch(_0x26bfb4){_0xeac34f['push'](_0xeac34f['shift']());}}}(_0x5920,0x4e884));import{AIReviewCheckRun as _0x17d6e2}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x17d6e2{get[_0x381f59(0x1f7)](){const _0xa72a41=_0x381f59;if(!this[_0xa72a41(0x20c)]||0x0===this[_0xa72a41(0x20c)][_0xa72a41(0x20b)])return'';const _0x577e5f=[];if(this[_0xa72a41(0x20c)][_0xa72a41(0x20b)]>0x0&&this[_0xa72a41(0x1f8)][_0xa72a41(0x1fa)])for(let _0x3d952b=0x0;_0x3d952b<this[_0xa72a41(0x20c)][_0xa72a41(0x20b)];_0x3d952b++){if(!this[_0xa72a41(0x20c)][_0x3d952b]||!this[_0xa72a41(0x1f8)][_0xa72a41(0x1fa)][_0x3d952b])continue;const _0x27d1f3=this[_0xa72a41(0x1f8)][_0xa72a41(0x1fa)][_0x3d952b],_0x3483ce=_0x27d1f3[_0xa72a41(0x1f9)]?.[_0xa72a41(0x1f6)](_0x3dc2aa=>_0x3dc2aa['id']===this[_0xa72a41(0x20c)][_0x3d952b]);_0x3483ce&&_0x577e5f[_0xa72a41(0x1fe)](_0x3483ce[_0xa72a41(0x205)]);}return _0x577e5f[_0xa72a41(0x204)](',\x20');}get[_0x381f59(0x1f5)](){const _0x346d42=_0x381f59;return this[_0x346d42(0x207)]();}[_0x381f59(0x200)](){const _0x460a0e=_0x381f59;return this[_0x460a0e(0x1f2)][_0x460a0e(0x203)]({'reviewName':this[_0x460a0e(0x207)](),'content':this[_0x460a0e(0x20a)][_0x460a0e(0x1fd)],'args':this[_0x460a0e(0x1f1)]});}[_0x381f59(0x208)](_0x34773e,_0x4980c4,_0x57e9cb){const _0x4ef280=_0x381f59;return this[_0x4ef280(0x1f2)][_0x4ef280(0x206)](this[_0x4ef280(0x1f5)],_0x4980c4,_0x34773e,_0x57e9cb);}[_0x381f59(0x207)](){const _0x16f524=_0x381f59;return!this[_0x16f524(0x20c)]||0x0===this[_0x16f524(0x20c)][_0x16f524(0x20b)]||this[_0x16f524(0x1f8)][_0x16f524(0x201)]?this[_0x16f524(0x1f8)][_0x16f524(0x1ff)]:[this[_0x16f524(0x1f8)][_0x16f524(0x1ff)],...this[_0x16f524(0x20c)]][_0x16f524(0x204)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27e8d4=_0x1a5b;(function(_0x5a1dd3,_0x1aa6d8){const _0x41f891=_0x1a5b,_0x2e456f=_0x5a1dd3();while(!![]){try{const _0x42fa7b=parseInt(_0x41f891(0x1f1))/0x1*(parseInt(_0x41f891(0x200))/0x2)+parseInt(_0x41f891(0x1d4))/0x3+parseInt(_0x41f891(0x203))/0x4*(-parseInt(_0x41f891(0x21a))/0x5)+-parseInt(_0x41f891(0x1dd))/0x6+parseInt(_0x41f891(0x1f7))/0x7+parseInt(_0x41f891(0x205))/0x8*(-parseInt(_0x41f891(0x1f0))/0x9)+parseInt(_0x41f891(0x1fa))/0xa*(parseInt(_0x41f891(0x1e6))/0xb);if(_0x42fa7b===_0x1aa6d8)break;else _0x2e456f['push'](_0x2e456f['shift']());}catch(_0x426f09){_0x2e456f['push'](_0x2e456f['shift']());}}}(_0x4afa,0x55c4c));import{Rect as _0x303656,getConstrainedViewportRect as _0x1ff9f7}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x41d869,View as _0x360859,clickOutsideHandler as _0x192b36}from'ckeditor5/src/ui.js';function _0x1a5b(_0x255407,_0x517c6a){const _0x4afa01=_0x4afa();return _0x1a5b=function(_0x1a5b92,_0x62f241){_0x1a5b92=_0x1a5b92-0x1d3;let _0x50069d=_0x4afa01[_0x1a5b92];return _0x50069d;},_0x1a5b(_0x255407,_0x517c6a);}import{AIReviewCoreReviewCheckListItemResultsView as _0xcb507e}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x41d869{[_0x27e8d4(0x1ff)];[_0x27e8d4(0x204)]=void 0x0;[_0x27e8d4(0x1e5)]=void 0x0;[_0x27e8d4(0x20e)]=void 0x0;constructor(_0x4d4804,_0x1000ce){const _0x3eec61=_0x27e8d4;super(_0x4d4804),this[_0x3eec61(0x1e2)]({'isVisible':!0x1,'position':_0x3eec61(0x1ef),'class':null,'top':0x0,'left':0x0}),this[_0x3eec61(0x1d7)]({'tag':_0x3eec61(0x202),'attributes':{'class':[_0x3eec61(0x20b)],'tabindex':'-1'}}),this[_0x3eec61(0x1e2)](_0x3eec61(0x1e9),!0x1),this[_0x3eec61(0x1fb)][_0x3eec61(0x1d5)](this[_0x3eec61(0x20f)]()),_0x1000ce[_0x3eec61(0x1d5)](this);}[_0x27e8d4(0x212)](){const _0x41d485=_0x27e8d4;super[_0x41d485(0x212)](),this[_0x41d485(0x1d9)]();}[_0x27e8d4(0x1f3)](_0x175466){const _0x7f12e3=_0x27e8d4;this[_0x7f12e3(0x1ff)][_0x7f12e3(0x1e3)]=_0x175466['id'],this[_0x7f12e3(0x1ff)][_0x7f12e3(0x208)][_0x7f12e3(0x1d6)][_0x7f12e3(0x221)]=_0x175466[_0x7f12e3(0x1df)];}[_0x27e8d4(0x201)](_0x5c5706,_0x520198,_0x1a8565,_0x39afc8,_0x422e0e,_0xcad9ed){const _0x2dec46=_0x27e8d4,_0xa6c75a=_0x520198();if(!_0xa6c75a)return;this[_0x2dec46(0x1f3)](_0x5c5706),this[_0x2dec46(0x211)]();const _0x5ef9de=Array[_0x2dec46(0x21b)](_0xa6c75a[_0x2dec46(0x217)]())[_0x2dec46(0x207)](),_0x4362af=this[_0x2dec46(0x1ec)](_0x1a8565,_0x5ef9de),_0x146238=_0x5ef9de[_0x4362af??0x0];_0x2dec46(0x1fe)===_0x39afc8?(this[_0x2dec46(0x1e9)]=!0x0,this[_0x2dec46(0x21f)]({'target':()=>this[_0x2dec46(0x1f4)](_0x520198(),_0x4362af,_0x5c5706['id'],_0x422e0e,_0xcad9ed)||_0x146238})):_0x2dec46(0x1de)===_0x39afc8&&(this[_0x2dec46(0x1e9)]=!0x1,this[_0x2dec46(0x21f)]({'target':()=>this[_0x2dec46(0x21c)](_0x520198(),_0x4362af,_0x5c5706['id'])||_0x146238}));}[_0x27e8d4(0x1e0)](){const _0x240b00=_0x27e8d4;this[_0x240b00(0x1e7)](),this[_0x240b00(0x21d)](),this[_0x240b00(0x204)]=void 0x0,this[_0x240b00(0x1e5)]=void 0x0,this[_0x240b00(0x20e)]=void 0x0;}[_0x27e8d4(0x213)](){const _0x22bd83=_0x27e8d4;this[_0x22bd83(0x1ff)][_0x22bd83(0x214)]=!0x1;}[_0x27e8d4(0x219)](){const _0x5dcf7a=_0x27e8d4;this[_0x5dcf7a(0x1ff)][_0x5dcf7a(0x214)]=!0x0;}[_0x27e8d4(0x1f5)](){const _0x105dff=_0x27e8d4;this[_0x105dff(0x1fd)](_0x105dff(0x1f5),{'origin':_0x105dff(0x1e1)});}[_0x27e8d4(0x1d9)](){const _0x37dfc1=_0x27e8d4;_0x192b36({'emitter':this,'activator':()=>this[_0x37dfc1(0x20c)],'contextElements':()=>{const _0x13960d=_0x37dfc1,_0x53b51e=[this[_0x13960d(0x1d6)]];return this[_0x13960d(0x1e5)]&&_0x53b51e[_0x13960d(0x1ea)](this[_0x13960d(0x1e5)]),_0x53b51e;},'callback':()=>{const _0x2c61eb=_0x37dfc1;this[_0x2c61eb(0x1e7)](),this[_0x2c61eb(0x21d)](),this[_0x2c61eb(0x1f5)](),this[_0x2c61eb(0x1e5)]=void 0x0,this[_0x2c61eb(0x204)]=void 0x0,this[_0x2c61eb(0x20e)]=void 0x0;}});}[_0x27e8d4(0x20f)](){const _0xaeb126=_0x27e8d4,_0x5431b5=new _0x360859();return this[_0xaeb126(0x1ff)]=new _0xcb507e(this[_0xaeb126(0x1fc)],''),this[_0xaeb126(0x1ff)][_0xaeb126(0x208)][_0xaeb126(0x1d7)]({'attributes':{'class':[_0xaeb126(0x222)]}}),this[_0xaeb126(0x1ff)][_0xaeb126(0x210)](_0xaeb126(0x1db),_0xaeb126(0x218))['to'](this),_0x5431b5[_0xaeb126(0x1f6)]({'tag':_0xaeb126(0x202),'attributes':{'class':[_0xaeb126(0x20b),_0xaeb126(0x1ed),this[_0xaeb126(0x1e4)]['if'](_0xaeb126(0x1e9),_0xaeb126(0x209))]},'children':[{'tag':'p','attributes':{'class':[_0xaeb126(0x1f8)]},'children':[this[_0xaeb126(0x1ff)]]}]}),_0x5431b5;}[_0x27e8d4(0x1f4)](_0x194606,_0x25f2f3,_0x16c74c,_0xe5e1be,_0x4caff6){const _0x2da983=_0x27e8d4;if(!_0x194606)return null;const _0x449d50=this[_0x2da983(0x20d)][_0x2da983(0x206)](_0x2da983(0x1dc),''),_0x1fa281=Array[_0x2da983(0x21b)](_0x194606[_0x2da983(0x217)]());let _0x29edb5,_0x4c77a2=_0x1fa281[_0x2da983(0x207)]();return void 0x0!==_0x25f2f3&&this[_0x2da983(0x20a)](_0x4c77a2[_0x25f2f3],_0xe5e1be,_0x4caff6)?(_0x29edb5=_0x4c77a2[_0x25f2f3],this[_0x2da983(0x204)]=_0x25f2f3):this[_0x2da983(0x20a)](_0x4c77a2[0x0],_0xe5e1be,_0x4caff6)&&void 0x0===_0x25f2f3?_0x29edb5=_0x4c77a2[0x0]:(_0x4c77a2='s'==_0x449d50[0x0]?[..._0x1fa281][_0x2da983(0x207)]():_0x1fa281,_0x4c77a2[_0x2da983(0x220)](_0x2ea729=>{const _0x1512ef=_0x2da983;this[_0x1512ef(0x20a)](_0x2ea729,_0xe5e1be,_0x4caff6)&&(_0x29edb5=_0x2ea729);})),this[_0x2da983(0x20e)]=_0x16c74c,this[_0x2da983(0x1e5)]=_0x194606,_0x29edb5||_0x194606[_0x2da983(0x1ee)]();}[_0x27e8d4(0x21c)](_0x18d02d,_0x27e169,_0x2cbca0){const _0x31f528=_0x27e8d4;if(!_0x18d02d)return null;const _0x2a3e4a=Array[_0x31f528(0x21b)](_0x18d02d[_0x31f528(0x217)]())[_0x31f528(0x207)]();if(void 0x0===this[_0x31f528(0x204)]&&void 0x0!==_0x27e169&&this[_0x31f528(0x20e)]!==_0x2cbca0)return this[_0x31f528(0x204)]=_0x27e169,this[_0x31f528(0x1e5)]=_0x18d02d,this[_0x31f528(0x20e)]=_0x2cbca0,_0x2a3e4a[_0x27e169];if(void 0x0!==this[_0x31f528(0x204)]&&this[_0x31f528(0x20e)]===_0x2cbca0){if(_0x18d02d!==this[_0x31f528(0x1e5)])return Array[_0x31f528(0x21b)](this[_0x31f528(0x1e5)][_0x31f528(0x217)]())[_0x31f528(0x207)]()[this[_0x31f528(0x204)]];return _0x2a3e4a[this[_0x31f528(0x204)]];}return void 0x0!==_0x27e169&&this[_0x31f528(0x20e)]!==_0x2cbca0?(this[_0x31f528(0x204)]=_0x27e169,this[_0x31f528(0x1e5)]=_0x18d02d,this[_0x31f528(0x20e)]=_0x2cbca0,_0x2a3e4a[_0x27e169]):_0x18d02d[_0x31f528(0x1ee)]();}[_0x27e8d4(0x1ec)](_0x169587,_0x3cb494){const _0x56b814=_0x27e8d4;if(_0x169587)for(let _0x2b8f15=0x0;_0x2b8f15<_0x3cb494[_0x56b814(0x21e)];_0x2b8f15++){const _0xf13a6e=_0x3cb494[_0x2b8f15];if(_0x169587[_0x56b814(0x1f9)]>=_0xf13a6e[_0x56b814(0x1da)]-0x3&&_0x169587[_0x56b814(0x1f9)]<=_0xf13a6e[_0x56b814(0x1e8)]+0x3&&_0x169587[_0x56b814(0x216)]>=_0xf13a6e[_0x56b814(0x1d3)]-0x3&&_0x169587[_0x56b814(0x216)]<=_0xf13a6e[_0x56b814(0x1d8)]+0x3)return _0x2b8f15;}}[_0x27e8d4(0x20a)](_0x2c2ddf,_0x75cd1d,_0x13d7b7){const _0x280bc6=_0x27e8d4,_0x45c48c=new _0x303656(_0x2c2ddf),_0x25a270=_0x75cd1d||document[_0x280bc6(0x1eb)],_0x4fb257=_0x45c48c[_0x280bc6(0x1f2)](_0x1ff9f7(_0x13d7b7)),_0x5d10e8=new _0x303656(_0x25a270)[_0x280bc6(0x1f2)](_0x45c48c);return!!(_0x4fb257&&_0x5d10e8&&_0x45c48c[_0x280bc6(0x215)]>0x0);}}function _0x4afa(){const _0x6967d3=['unpin','length','pin','forEach','innerHTML','ck-content','top','4029CandzM','add','element','extendTemplate','bottom','_setupClickOutsideHandler','left','acceptChange','arrow_','3520524rkLbEA','hover','contentDiffed','hideBalloon','balloon','set','changeId','bindTemplate','_pinnedTargetElement','22AZyKAX','hide','right','isDiffActive','push','documentElement','_getPointedRectIndexFromEvent','ck-ai_review-balloon-panel-suggestion','getBoundingClientRect','arrow_se','265968ckxNfv','4LBfylG','getIntersection','updateContent','_getBestRectPositionOnClick','deactivateChange','setTemplate','4667278eLlBdm','ck-ai_review__suggestion-text','clientX','6883460HwRmey','content','locale','fire','click','resultItemView','10714pIdQGr','showBalloon','div','28692ynHKEe','_pinnedRectIndex','152rklnJX','replace','reverse','resultResponseView','ck-ai_review-balloon-panel-suggestion_diff-active','_isPinnedRectVisible','ck-reset','isVisible','position','_pinnedTargetChangeId','_createContentView','delegate','show','render','hideDiffInBalloon','showDiff','width','clientY','getClientRects','dismissChange','showDiffInBalloon','395usaQpp','from','_getBestRectPositionOnHover'];_0x4afa=function(){return _0x6967d3;};return _0x4afa();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2902ed=_0x38aa;function _0x38aa(_0x2a513a,_0x566a2f){const _0xdc00d=_0xdc00();return _0x38aa=function(_0x38aab3,_0xfc77ec){_0x38aab3=_0x38aab3-0xb0;let _0x833b94=_0xdc00d[_0x38aab3];return _0x833b94;},_0x38aa(_0x2a513a,_0x566a2f);}(function(_0x1555a9,_0x554395){const _0x459a3a=_0x38aa,_0x3ce2dc=_0x1555a9();while(!![]){try{const _0x4acf80=parseInt(_0x459a3a(0xcc))/0x1*(-parseInt(_0x459a3a(0xd4))/0x2)+parseInt(_0x459a3a(0xc0))/0x3*(parseInt(_0x459a3a(0xe2))/0x4)+parseInt(_0x459a3a(0xfa))/0x5+parseInt(_0x459a3a(0xf5))/0x6*(parseInt(_0x459a3a(0xd6))/0x7)+parseInt(_0x459a3a(0xc6))/0x8+-parseInt(_0x459a3a(0xc9))/0x9+-parseInt(_0x459a3a(0xce))/0xa;if(_0x4acf80===_0x554395)break;else _0x3ce2dc['push'](_0x3ce2dc['shift']());}catch(_0x19ef65){_0x3ce2dc['push'](_0x3ce2dc['shift']());}}}(_0xdc00,0x1e419));import{View as _0x2c9a10,ButtonView as _0x139505}from'ckeditor5/src/ui.js';import{IconInfo as _0xcdf8d4,IconCheck as _0x230244,IconCancel as _0x519681,IconOutdated as _0x5dc3b3}from'ckeditor5/src/icons.js';import{getTranslation as _0x156943}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x2c9a10{[_0x2902ed(0xef)];[_0x2902ed(0xca)];[_0x2902ed(0xc3)];[_0x2902ed(0xb8)];[_0x2902ed(0xbd)];constructor(_0x28057d,_0x1e8cfe){const _0x4c97cd=_0x2902ed;super(_0x28057d),this['id']=_0x1e8cfe,this[_0x4c97cd(0xde)](_0x4c97cd(0xe5),_0x4c97cd(0xc1)),this[_0x4c97cd(0xde)](_0x4c97cd(0xfe),_0x1e8cfe),this[_0x4c97cd(0xef)]=this[_0x4c97cd(0xcf)](),this[_0x4c97cd(0xca)]=this[_0x4c97cd(0xdb)](),this[_0x4c97cd(0xc3)]=this[_0x4c97cd(0xfc)](),this[_0x4c97cd(0xb8)]=this[_0x4c97cd(0xd3)](),this[_0x4c97cd(0xbd)]=this[_0x4c97cd(0xb5)](),this[_0x4c97cd(0xde)](_0x4c97cd(0xd2),!0x1),this[_0x4c97cd(0xde)](_0x4c97cd(0xe4),!0x1),this[_0x4c97cd(0xde)](_0x4c97cd(0xb0),!0x0),this[_0x4c97cd(0xf3)]({'tag':_0x4c97cd(0xe6),'attributes':{'class':[_0x4c97cd(0xb7),this[_0x4c97cd(0xc8)]['if'](_0x4c97cd(0xe4),_0x4c97cd(0xd5))]},'on':{'click':this[_0x4c97cd(0xc8)]['to'](_0x4c97cd(0xd9)),'mouseover':this[_0x4c97cd(0xc8)]['to'](_0x4c97cd(0xf8)),'mouseout':this[_0x4c97cd(0xc8)]['to'](_0x4c97cd(0xe1))},'children':[this[_0x4c97cd(0xef)],{'tag':_0x4c97cd(0xe6),'attributes':{'class':[_0x4c97cd(0xb6)]},'children':[{'tag':_0x4c97cd(0xe6),'attributes':{'class':[_0x4c97cd(0xdc)]},'children':[this[_0x4c97cd(0xca)],this[_0x4c97cd(0xc3)],this[_0x4c97cd(0xbd)]]},this[_0x4c97cd(0xb8)]]}]}),this['on'](_0x4c97cd(0xd9),(_0x138243,_0x4e7470)=>{const _0x5e386f=_0x4c97cd;_0x4e7470&&_0x4e7470[_0x5e386f(0xe3)]&&'A'===_0x4e7470[_0x5e386f(0xe3)][_0x5e386f(0xf0)]&&_0x4e7470[_0x5e386f(0xe7)](),this[_0x5e386f(0xee)](_0x5e386f(0xda),{'id':_0x1e8cfe,'source':this,'uiInteraction':_0x5e386f(0xd9)});}),this['on'](_0x4c97cd(0xf8),()=>{const _0x45c706=_0x4c97cd;this[_0x45c706(0xee)](_0x45c706(0xda),{'id':_0x1e8cfe,'source':this,'uiInteraction':_0x45c706(0xc5)});}),this['on'](_0x4c97cd(0xe1),()=>{const _0x36a6ac=_0x4c97cd;this[_0x36a6ac(0xee)](_0x36a6ac(0xdd),{'origin':_0x36a6ac(0xea),'id':_0x1e8cfe,'source':this});});}[_0x2902ed(0xec)](){const _0x51ef22=_0x2902ed;this[_0x51ef22(0xe4)]=!0x0;}[_0x2902ed(0xe8)](){const _0x11dbe6=_0x2902ed;this[_0x11dbe6(0xe4)]=!0x1;}[_0x2902ed(0xcf)](){const _0x2941c3=_0x2902ed,_0x500068=new _0x2c9a10(this[_0x2941c3(0xba)]);return _0x500068[_0x2941c3(0xf3)]({'tag':_0x2941c3(0xe6),'attributes':{'class':['ck',_0x2941c3(0xf9),_0x2941c3(0xf6),_0x2941c3(0xe0),this[_0x2941c3(0xc8)]['if'](_0x2941c3(0xb0),_0x2941c3(0xb9),_0x4b192c=>!_0x4b192c)]}}),_0x500068;}[_0x2902ed(0xdb)](){const _0x3e5c8d=_0x2902ed,_0x2f4310=new _0x139505(this[_0x3e5c8d(0xba)]);return _0x2f4310[_0x3e5c8d(0xde)]({'label':_0x156943(this[_0x3e5c8d(0xba)],_0x3e5c8d(0xd8)),'withText':!0x0}),_0x2f4310[_0x3e5c8d(0xdf)]({'on':{'click':this[_0x3e5c8d(0xc8)]['to'](_0x2c445b=>{const _0x245898=_0x3e5c8d;this[_0x245898(0xee)](_0x245898(0xf7),{'id':this[_0x245898(0xfe)]}),_0x2c445b[_0x245898(0xc2)]();})},'attributes':{'class':[_0x3e5c8d(0xfb),_0x3e5c8d(0xf4),this[_0x3e5c8d(0xc8)]['if'](_0x3e5c8d(0xe5),_0x3e5c8d(0xb9),_0x5de2b2=>_0x3e5c8d(0xc1)!==_0x5de2b2&&_0x3e5c8d(0xb3)!==_0x5de2b2),this[_0x3e5c8d(0xc8)]['if'](_0x3e5c8d(0xe5),_0x3e5c8d(0xf4),_0x2d3877=>_0x3e5c8d(0xc1)===_0x2d3877),this[_0x3e5c8d(0xc8)]['if'](_0x3e5c8d(0xe5),_0x3e5c8d(0xbe),_0x1e51d6=>_0x3e5c8d(0xb3)===_0x1e51d6)]}}),this['on'](_0x3e5c8d(0xd0),(_0x408a8a,_0x3eae88,_0x140e30)=>{const _0x120368=_0x3e5c8d;_0x2f4310[_0x120368(0xbb)]=_0x120368(0xc1)===_0x140e30,_0x120368(0xb3)===_0x140e30&&(_0x2f4310[_0x120368(0xbf)]=_0x156943(this[_0x120368(0xba)],_0x120368(0xbc)),_0x2f4310[_0x120368(0xc4)]=_0x230244);}),_0x2f4310;}[_0x2902ed(0xfc)](){const _0x44eb80=_0x2902ed,_0x1cd42c=new _0x139505(this[_0x44eb80(0xba)]);return _0x1cd42c[_0x44eb80(0xde)]({'label':_0x156943(this[_0x44eb80(0xba)],_0x44eb80(0xc7)),'withText':!0x0}),_0x1cd42c[_0x44eb80(0xdf)]({'on':{'click':this[_0x44eb80(0xc8)]['to'](_0xe5468a=>{const _0x411153=_0x44eb80;this[_0x411153(0xee)](_0x411153(0xb4),{'id':this[_0x411153(0xfe)]}),_0xe5468a[_0x411153(0xc2)]();})},'attributes':{'class':[_0x44eb80(0xcb),this[_0x44eb80(0xc8)]['if'](_0x44eb80(0xe5),_0x44eb80(0xb9),_0x330b61=>_0x44eb80(0xc1)!==_0x330b61&&_0x44eb80(0xed)!==_0x330b61),this[_0x44eb80(0xc8)]['if'](_0x44eb80(0xe5),_0x44eb80(0xd1),_0x4b39b0=>_0x44eb80(0xc1)===_0x4b39b0),this[_0x44eb80(0xc8)]['if'](_0x44eb80(0xe5),_0x44eb80(0xbe),_0x2100ad=>_0x44eb80(0xed)===_0x2100ad)]}}),this['on'](_0x44eb80(0xd0),(_0x3628f3,_0xaee846,_0x39cf81)=>{const _0x597e0f=_0x44eb80;_0x1cd42c[_0x597e0f(0xbb)]=_0x597e0f(0xc1)===_0x39cf81,_0x597e0f(0xed)===_0x39cf81&&(_0x1cd42c[_0x597e0f(0xbf)]=_0x156943(this[_0x597e0f(0xba)],_0x597e0f(0xf2)),_0x1cd42c[_0x597e0f(0xc4)]=_0x519681);}),_0x1cd42c;}[_0x2902ed(0xd3)](){const _0x21071d=_0x2902ed,_0x5c4a3c=new _0x139505(this[_0x21071d(0xba)]);return _0x5c4a3c[_0x21071d(0xde)]({'label':_0x156943(this[_0x21071d(0xba)],_0x21071d(0xeb)),'icon':_0xcdf8d4,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x21071d(0xb2),'class':_0x21071d(0xcd)}),_0x5c4a3c[_0x21071d(0xb1)](_0x21071d(0xff))['to'](this,_0x21071d(0xd2),_0x3203f5=>_0x3203f5),_0x5c4a3c['on'](_0x21071d(0xfd),()=>{const _0x5830df=_0x21071d;this[_0x5830df(0xd2)]=!this[_0x5830df(0xd2)];}),_0x5c4a3c;}[_0x2902ed(0xb5)](){const _0x27085e=_0x2902ed,_0x7e30b7=new _0x139505(this[_0x27085e(0xba)]);return _0x7e30b7[_0x27085e(0xde)]({'label':_0x156943(this[_0x27085e(0xba)],_0x27085e(0xd7)),'icon':_0x5dc3b3,'withText':!0x0,'isEnabled':!0x1}),_0x7e30b7[_0x27085e(0xdf)]({'attributes':{'class':[_0x27085e(0xfb),_0x27085e(0xbe),this[_0x27085e(0xc8)]['if'](_0x27085e(0xe5),_0x27085e(0xb9),_0x51746a=>_0x27085e(0xf1)!==_0x51746a)],'disabled':_0x27085e(0xe9)}}),_0x7e30b7;}}function _0xdc00(){const _0x60d8dc=['mouseover','ck-content','847885jSzKcX','ck-ai-button-secondary','_createDismissButtonView','execute','changeId','isOn','showDiff','bind','menuitemcheckbox','accepted','dismissChange','_createOutdatedButtonView','ck-ai_review__check-run-result-footer','ck-ai_review__check-run-result','infoButtonView','ck-hidden','locale','isEnabled','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','outdatedButtonView','ck-ai_review__check-run-result-status-button','label','4137KEIJZj','pending','stopPropagation','dismissButtonView','icon','hover','121920rZgORO','AI_REVIEW_MODE_DISMISS_CHANGE','bindTemplate','1323027vfBenD','acceptButtonView','ck-ai-button-tertiary','1MxldOk','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','2116030KNiqXz','_createResultResponseView','change:status','ck-ai_review__check-run-result-dismiss-button','isInfoToggleOn','_createInfoButtonView','103654ATjeKv','ck-ai_review__check-run-result_active','246078AnxtCN','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','AI_REVIEW_MODE_ACCEPT_CHANGE','click','activateChange','_createAcceptButtonView','ck-ai_review__check-run-result-action-buttons','deactivateChange','set','extendTemplate','ck-ai_review__check-run-result-response','mouseout','708ntaGRJ','target','isActive','status','div','preventDefault','setItemAsInactive','disabled','panel','AI_REVIEW_MODE_LEARN_MORE','setItemAsActive','rejected','fire','resultResponseView','tagName','outdated','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','setTemplate','ck-ai_review__check-run-result-accept-button','18iUkHEt','ck-reset_all-excluded','acceptChange'];_0xdc00=function(){return _0x60d8dc;};return _0xdc00();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x4d586a,KeystrokeHandler as _0xe83c00,FocusTracker as _0x138887}from'ckeditor5/src/utils.js';import{View as _0x45d871,ViewCollection as _0x29fdd1,ButtonView as _0x58328a,FormRowView as _0x14f14a,createDropdown as _0x383d3e,addListToDropdown as _0x976e35,UIModel as _0x56c7bd,ButtonLabelView as _0xa1357b,LabeledFieldView as _0x5a2e2a,FocusCycler as _0x300f61}from'ckeditor5/src/ui.js';import{getTranslation as _0x3075d6}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x51237e}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x45d871{['focusTracker']=new _0x138887();['keystrokes']=new _0xe83c00();['focusCycler'];['_focusables']=new _0x29fdd1();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x464d85,_0x9dbabb,_0xfcfc2e=!0x1){super(_0x464d85),this['_check']=_0x9dbabb,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x9dbabb['defaultModel']?_0x9dbabb['defaultModel']['id']:'',this['_defaultLabel']=_0x9dbabb['defaultModel']?_0x9dbabb['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x5a2e2a(this['locale'],()=>new _0x51237e(_0x464d85)),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 _0x4d586a(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0xfcfc2e),_0x976e35(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x14f14a(this['locale'],{'children':[this['promptInputView']]}),new _0x14f14a(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x55fe42,_0xcbecaa)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0xcbecaa()):_0xcbecaa();}),this['focusCycler']=new _0x300f61({'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'](_0x421959=>{this['_focusables']['add'](_0x421959),this['focusTracker']['add'](_0x421959['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 _0x338616 of this['_getFormValidators']()){const _0x3e7cf6=_0x338616();if(_0x3e7cf6)return this['promptInputView']['errorText']=_0x3e7cf6,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x3075d6(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3716dc=new _0x58328a(this['locale']),t=this['locale']['t'];return _0x3716dc['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3716dc['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3716dc;}['_createCancelButtonView'](){const _0x38faf8=new _0x58328a(this['locale']),t=this['locale']['t'];return _0x38faf8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x38faf8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2c35d5=>{_0x2c35d5['stopPropagation']();})}}),_0x38faf8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x38faf8;}['_setModelList'](_0x4829a6){this['_modelSelectionDropdownItems']['clear']();const _0x235d9f=this['_check']['models'];if(_0x4829a6)this['set']('modelDisplayMode','hidden');else{const _0x55d192=0x1===_0x235d9f['length'];this['set']('modelDisplayMode',_0x55d192?'name':'selector');}if(this['resetToDefault'](),_0x235d9f?.['length']){0x1===_0x235d9f['length']&&this['set']('activeModelName',_0x235d9f[0x0]['name']||_0x235d9f[0x0]['id']);for(const _0x3e13a of _0x235d9f){const _0x231326=new _0x56c7bd({'label':_0x3e13a['name'],'withText':!0x0,'role':'menuitemradio','id':_0x3e13a['id'],'model':_0x3e13a});_0x231326['bind']('isOn')['to'](this,'modelId',_0x361ab6=>_0x361ab6===_0x3e13a['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x231326,'labelView':new ModelButtonLabelView(this['locale'],_0x3e13a)});}}}['_createModelSelectionDropdown'](){const _0x11e455=_0x383d3e(this['locale']);return _0x11e455['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x11e455['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x11e455['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x29294e=>'selector'===_0x29294e),this['listenTo'](_0x11e455,'execute',_0x406bfc=>{this['modelId']=_0x406bfc['source']['model']['id'],_0x11e455['buttonView']['label']=_0x406bfc['source']['label'];}),_0x11e455;}['_createModelNameView'](){const _0x1e1548=new ModelNameView(this['locale']);return _0x1e1548['bind']('text')['to'](this,'activeModelName',_0x592270=>_0x592270??''),_0x1e1548['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2d0e17=>'name'===_0x2d0e17),_0x1e1548;}['_createActionsFooterView'](){const _0x483b45=new _0x45d871(this['locale']);return _0x483b45['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']]}]}),_0x483b45;}}class ModelNameView extends _0x45d871{constructor(_0x54a51a){super(_0x54a51a),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x289cb6=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x289cb6['if']('isVisible','ck-hidden',_0x2e1a07=>!_0x2e1a07)]},'children':[{'text':_0x289cb6['to']('text')}]});}}class ModelButtonLabelView extends _0xa1357b{constructor(_0x52de61,_0x393180){super();const _0x59263d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x59263d['to']('style'),'id':_0x59263d['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x59263d['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x393180['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2a041c,_0x17767e){var _0x48a132=_0x1fc8,_0x46e15a=_0x2a041c();while(!![]){try{var _0x171397=parseInt(_0x48a132(0x1f1))/0x1+-parseInt(_0x48a132(0x1e5))/0x2+parseInt(_0x48a132(0x1e8))/0x3*(-parseInt(_0x48a132(0x1e9))/0x4)+-parseInt(_0x48a132(0x1ec))/0x5+-parseInt(_0x48a132(0x1eb))/0x6*(parseInt(_0x48a132(0x1f0))/0x7)+parseInt(_0x48a132(0x1ee))/0x8*(parseInt(_0x48a132(0x1ef))/0x9)+parseInt(_0x48a132(0x1e7))/0xa;if(_0x171397===_0x17767e)break;else _0x46e15a['push'](_0x46e15a['shift']());}catch(_0x1ce135){_0x46e15a['push'](_0x46e15a['shift']());}}}(_0x5b78,0x250bb));import{ButtonView as _0x5b5436}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x5b78(){var _0x3ab03f=['12wUwgoF','872760uxzntf','set','23064bKFjsS','567LMTzvt','954968XAxaNd','42180JkaJXg','ck-ai-button-primary','finishReview','287628fzUVvJ','fire','8182080mrwlRI','3iORVBj','1196256leuLae','execute'];_0x5b78=function(){return _0x3ab03f;};return _0x5b78();}function _0x1fc8(_0x12f27a,_0x211685){var _0x5b78d2=_0x5b78();return _0x1fc8=function(_0x1fc84f,_0x8c339b){_0x1fc84f=_0x1fc84f-0x1e4;var _0x49a088=_0x5b78d2[_0x1fc84f];return _0x49a088;},_0x1fc8(_0x12f27a,_0x211685);}export class AIReviewCoreFinishReviewButtonView extends _0x5b5436{constructor(_0x520e70,_0x586c57){var _0x511ba9=_0x1fc8;super(_0x586c57),this[_0x511ba9(0x1ed)]({'label':_0x520e70,'withText':!0x0,'class':_0x511ba9(0x1f2)}),this['on'](_0x511ba9(0x1ea),()=>{var _0x4ac745=_0x511ba9;this[_0x4ac745(0x1e6)](_0x4ac745(0x1e4));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5a61(_0x2afd16,_0x4cf287){const _0x17c281=_0x17c2();return _0x5a61=function(_0x5a61d6,_0xa98e18){_0x5a61d6=_0x5a61d6-0x7e;let _0x368753=_0x17c281[_0x5a61d6];return _0x368753;},_0x5a61(_0x2afd16,_0x4cf287);}(function(_0x18cba1,_0x48264f){const _0xb89a31=_0x5a61,_0x269239=_0x18cba1();while(!![]){try{const _0x23abff=parseInt(_0xb89a31(0x81))/0x1*(parseInt(_0xb89a31(0x90))/0x2)+-parseInt(_0xb89a31(0x85))/0x3+parseInt(_0xb89a31(0x83))/0x4+-parseInt(_0xb89a31(0x82))/0x5*(-parseInt(_0xb89a31(0x7f))/0x6)+parseInt(_0xb89a31(0x89))/0x7*(parseInt(_0xb89a31(0x84))/0x8)+-parseInt(_0xb89a31(0x8b))/0x9*(parseInt(_0xb89a31(0x80))/0xa)+-parseInt(_0xb89a31(0x8c))/0xb*(-parseInt(_0xb89a31(0x92))/0xc);if(_0x23abff===_0x48264f)break;else _0x269239['push'](_0x269239['shift']());}catch(_0x2c22bd){_0x269239['push'](_0x269239['shift']());}}}(_0x17c2,0xdb8fb));import{View as _0x148b9a}from'ckeditor5/src/ui.js';function _0x17c2(){const _0x139733=['7299mPVTTk','5907QxiaZQ','setTemplate','isVisible','ck-hidden','1034WnqpVu','div','3264nMwWxa','ck-ai_review__general-error-container','24IEpPJh','18830fzkLtj','1709XiqlXC','1066810ppBBKV','2079440aejAoR','10512344EykEAT','3871596SdyPAJ','bindTemplate','errorMessage','ck\x20ck-ai-notification\x20ck-ai-notification_error','7cEATEk','set'];_0x17c2=function(){return _0x139733;};return _0x17c2();}export class AIReviewCoreGeneralErrorView extends _0x148b9a{constructor(_0x4aa0ca){const _0x1e437c=_0x5a61;super(_0x4aa0ca),this[_0x1e437c(0x8a)](_0x1e437c(0x8e),!0x1),this[_0x1e437c(0x8a)](_0x1e437c(0x87),'');const _0x488e03=this[_0x1e437c(0x86)];this[_0x1e437c(0x8d)]({'tag':_0x1e437c(0x91),'attributes':{'class':['ck',_0x1e437c(0x7e),_0x488e03['if'](_0x1e437c(0x8e),_0x1e437c(0x8f),_0x31a143=>!_0x31a143)]},'children':[{'tag':'p','attributes':{'class':_0x1e437c(0x88)},'children':[{'text':_0x488e03['to'](_0x1e437c(0x87))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5d7a(_0x357a1a,_0x2e7d72){var _0x129f2f=_0x129f();return _0x5d7a=function(_0x5d7a48,_0x36cf44){_0x5d7a48=_0x5d7a48-0x124;var _0x1553d8=_0x129f2f[_0x5d7a48];return _0x1553d8;},_0x5d7a(_0x357a1a,_0x2e7d72);}var _0x5bde0b=_0x5d7a;(function(_0x5b71c6,_0x563343){var _0x49fe1e=_0x5d7a,_0x47c011=_0x5b71c6();while(!![]){try{var _0x2b6863=-parseInt(_0x49fe1e(0x132))/0x1*(parseInt(_0x49fe1e(0x12b))/0x2)+-parseInt(_0x49fe1e(0x135))/0x3*(-parseInt(_0x49fe1e(0x13e))/0x4)+-parseInt(_0x49fe1e(0x13d))/0x5*(parseInt(_0x49fe1e(0x134))/0x6)+parseInt(_0x49fe1e(0x133))/0x7+parseInt(_0x49fe1e(0x126))/0x8*(-parseInt(_0x49fe1e(0x12d))/0x9)+-parseInt(_0x49fe1e(0x12c))/0xa+parseInt(_0x49fe1e(0x131))/0xb;if(_0x2b6863===_0x563343)break;else _0x47c011['push'](_0x47c011['shift']());}catch(_0x52da09){_0x47c011['push'](_0x47c011['shift']());}}}(_0x129f,0x99470));import{TextareaView as _0x175d78}from'ckeditor5/src/ui.js';function _0x129f(){var _0x424a07=['extendTemplate','MIN_ROWS','MAX_ROWS','2350650AoPyrR','4129920LQjlgb','27kxPVte','value','trim','element','6242258iIWBNP','1KYBlIo','4686766qTClTc','90PiCUZd','15jgNNCt','update','listenTo','keystrokes','ck-review__prompt-input','minRows','maxRows','isEmpty','45485VdRXgI','969876qeAmup','render','ai-review-prompt-input','258040TytUIg','set'];_0x129f=function(){return _0x424a07;};return _0x129f();}import{KeystrokeHandler as _0x56e9fc}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x175d78{[_0x5bde0b(0x138)];static [_0x5bde0b(0x129)]=0x1;static [_0x5bde0b(0x12a)]=0xc;constructor(_0x5b72c1){var _0x3cfcff=_0x5bde0b;super(_0x5b72c1),this[_0x3cfcff(0x127)](_0x3cfcff(0x13c),!0x0),this[_0x3cfcff(0x138)]=new _0x56e9fc(),this[_0x3cfcff(0x13a)]=AIReviewCorePromptInputView[_0x3cfcff(0x129)],this[_0x3cfcff(0x13b)]=AIReviewCorePromptInputView[_0x3cfcff(0x12a)],this[_0x3cfcff(0x128)]({'attributes':{'id':_0x3cfcff(0x125),'class':['ck',_0x3cfcff(0x139)]}});}[_0x5bde0b(0x124)](){var _0x280495=_0x5bde0b;super[_0x280495(0x124)](),this['on'](_0x280495(0x136),()=>{var _0x522f9a=_0x280495;this[_0x522f9a(0x13c)]=''===this[_0x522f9a(0x130)][_0x522f9a(0x12e)]?.[_0x522f9a(0x12f)]();}),this[_0x280495(0x138)][_0x280495(0x137)](this[_0x280495(0x130)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f4e7d=_0x21d9;(function(_0x72bd17,_0x2b84f9){const _0x12b3fd=_0x21d9,_0x3ff877=_0x72bd17();while(!![]){try{const _0x2635f4=parseInt(_0x12b3fd(0x1b7))/0x1+parseInt(_0x12b3fd(0x1c1))/0x2*(parseInt(_0x12b3fd(0x1cf))/0x3)+parseInt(_0x12b3fd(0x1be))/0x4+-parseInt(_0x12b3fd(0x1c4))/0x5*(parseInt(_0x12b3fd(0x1cd))/0x6)+parseInt(_0x12b3fd(0x1b8))/0x7*(-parseInt(_0x12b3fd(0x1d3))/0x8)+parseInt(_0x12b3fd(0x1c0))/0x9+-parseInt(_0x12b3fd(0x1d1))/0xa*(parseInt(_0x12b3fd(0x1c8))/0xb);if(_0x2635f4===_0x2b84f9)break;else _0x3ff877['push'](_0x3ff877['shift']());}catch(_0x154dd1){_0x3ff877['push'](_0x3ff877['shift']());}}}(_0x316e,0x2afa0));function _0x316e(){const _0x23e4f0=['setChecks','entries','1144712uJQLLS','runReviewCheck','3060612OrrSXE','7106zhHiiV','ck-hidden','resetToDefault','27050zfJKHV','length','div','ck-ai_review__check-list','167255ywyHcT','isVisible','bindTemplate','_setupTemplate','delegate','18MRzkXR','add','228gOiqaf','locale','430Gbcbck','resetAllParameterizedChecks','835352BKLERX','_checkViews','54222hwPNjr','7HVXGJs','clear','hasChecks','setTemplate'];_0x316e=function(){return _0x23e4f0;};return _0x316e();}import{ListItemView as _0x592c29,ViewCollection as _0x32c9bf}from'ckeditor5/src/ui.js';function _0x21d9(_0x5c3dd0,_0x1db024){const _0x316e18=_0x316e();return _0x21d9=function(_0x21d9d1,_0x2e7b20){_0x21d9d1=_0x21d9d1-0x1b6;let _0x5f0d51=_0x316e18[_0x21d9d1];return _0x5f0d51;},_0x21d9(_0x5c3dd0,_0x1db024);}import{AIReviewCoreReviewCommandListItemView as _0x2a2247}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x592c29{[_0x4f4e7d(0x1b6)];constructor(_0x1efdd3){const _0x1582ca=_0x4f4e7d;super(_0x1efdd3),this[_0x1582ca(0x1b6)]=new _0x32c9bf(),this[_0x1582ca(0x1cb)]();}[_0x4f4e7d(0x1bc)](_0x4c5689,_0x3b577b=!0x1){const _0x384d22=_0x4f4e7d;this[_0x384d22(0x1b6)][_0x384d22(0x1b9)]();for(const [_0x569aaa,_0x20f5be]of _0x4c5689[_0x384d22(0x1bd)]()){const _0x84f105=new _0x2a2247(this[_0x384d22(0x1d0)],_0x20f5be,_0x569aaa,_0x3b577b);_0x84f105[_0x384d22(0x1cc)](_0x384d22(0x1bf))['to'](this),this[_0x384d22(0x1b6)][_0x384d22(0x1ce)](_0x84f105);}}[_0x4f4e7d(0x1ba)](){const _0x330299=_0x4f4e7d;return this[_0x330299(0x1b6)][_0x330299(0x1c5)]>0x0;}[_0x4f4e7d(0x1d2)](){const _0x4ac6a0=_0x4f4e7d;for(const _0x16a890 of this[_0x4ac6a0(0x1b6)])_0x16a890 instanceof _0x2a2247&&_0x16a890[_0x4ac6a0(0x1c3)]();}[_0x4f4e7d(0x1cb)](){const _0x5e1d8b=_0x4f4e7d,_0x55718d=this[_0x5e1d8b(0x1ca)];this[_0x5e1d8b(0x1bb)]({'tag':_0x5e1d8b(0x1c6),'attributes':{'class':[_0x5e1d8b(0x1c7),_0x55718d['if'](_0x5e1d8b(0x1c9),_0x5e1d8b(0x1c2),_0x145983=>!_0x145983)]},'children':this[_0x5e1d8b(0x1b6)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x51abfd,IconView as _0x1d9c85,View as _0x14f47c,ViewCollection as _0x20d9cc,ButtonView as _0x362845,clickOutsideHandler as ts}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x188d98}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x307ff0}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x141e03}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x51abfd{['_formItemsCollection']=new _0x20d9cc();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x23a057,_0x82dd9b,_0x1fff1a,_0x388541=!0x1){super(_0x23a057),this['_hideModels']=_0x388541,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x82dd9b['isParameterized']);const _0x2f4594=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x3b1637=>_0x3b1637),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x3144ed=>_0x3144ed)],'style':{'--ck-ai-review-check-list-item-index':_0x1fff1a}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x82dd9b['title']}]},_0x2f4594]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x82dd9b['description']?[{'text':_0x82dd9b['description']}]:[]}]}]},..._0x82dd9b['isParameterized']?[this['_createParameterizedView'](_0x82dd9b)]:[],...'custom'===_0x82dd9b['id']?[this['_createCustomView'](_0x82dd9b,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x82dd9b['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x82dd9b['id'],'args':_0x82dd9b['useArgs']?_0x82dd9b['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&ts({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x24e3f5=>{_0x24e3f5['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x470d8d=new _0x1d9c85();return _0x470d8d['content']=_0x188d98,_0x470d8d['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x470d8d;}['_createParameterizedView'](_0x27bab6){const _0x53e9b4=new _0x14f47c(),_0x20c5c3=this['_createFormView'](_0x27bab6);return _0x53e9b4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0xa7c0d=>!_0xa7c0d)]},'children':[_0x20c5c3]}),_0x53e9b4;}['_createFormView'](_0x138468){const _0x3cba10=new _0x14f47c(),_0x5dbda9=Array['isArray'](_0x138468['options'])?_0x138468['options']:[],_0x8c2aa9=new _0x362845(this['locale']),t=this['locale']['t'];_0x8c2aa9['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x8c2aa9['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4fb6ce=>{_0x4fb6ce['stopPropagation']();})}}),_0x8c2aa9['on']('execute',()=>{const _0x12654b=[],_0x43c9ef={};this['_formItemsCollection']['forEach'](_0x5ce717=>{_0x12654b['push'](_0x5ce717['value']),_0x138468['useArgs']&&_0x138468['options']&&(_0x43c9ef[_0x5ce717['argsKey']]=_0x5ce717['value']);}),this['fire']('runReviewCheck',{'id':_0x138468['id'],'params':_0x12654b['length']?_0x12654b:void 0x0,'args':Object['keys'](_0x43c9ef)['length']?_0x43c9ef:void 0x0});});const _0x3e667b=_0x5dbda9['length'];return _0x5dbda9['forEach']((_0x401d1b,_0xedadfd)=>{const _0x2b393d=_0xedadfd===_0x3e667b-0x1;this['_formItemsCollection']['add'](new _0x307ff0(this['locale'],_0x401d1b,_0x2b393d?_0x8c2aa9:null));}),_0x3cba10['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x3cba10;}['_createCustomView'](_0x558c4d,_0x144167=!0x1){return this['_customCheckView']=new _0x141e03(this['locale'],_0x558c4d,_0x144167),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x30f25f=>!_0x30f25f)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x17a41b,_0x12502e,_0x1a0dac)=>{_0x1a0dac||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x148b11=_0x11c8;function _0x11c8(_0x49184c,_0x2caa98){const _0x593172=_0x5931();return _0x11c8=function(_0x11c869,_0xa90ee9){_0x11c869=_0x11c869-0x110;let _0x1b5c4f=_0x593172[_0x11c869];return _0x1b5c4f;},_0x11c8(_0x49184c,_0x2caa98);}function _0x5931(){const _0x2a9f6d=['bindTemplate','emptyResultsText','ck-ai_review__review-completed-header-buttons','11538nsUXXr','finishReview','ck-ai_review__review-completed-content-text','45572oiWeBF','delegate','178665mxFbJE','60XGjNFv','isVisible','8EeFtcs','ck-ai_review__review-completed','setTemplate','102210ToetvA','312330PHfpRs','ck-ai_review__review-completed-header-title','_createResultHeaderView','2049775yKPrjS','_resultsHeader','ck-hidden','_createFinishReviewButtonView','ck-ai_review__review-completed-header','span','120QPVUpW','buttonText','locale','198dSChgu','ck-ai_review__review-completed-content','headerText','_finishReviewButtonView','ck-ai_review__review-completed-content-icon','div','269505wdPHJp'];_0x5931=function(){return _0x2a9f6d;};return _0x5931();}(function(_0x5131ba,_0x293c79){const _0x28756b=_0x11c8,_0x7017c9=_0x5131ba();while(!![]){try{const _0x1bb57c=-parseInt(_0x28756b(0x12a))/0x1+parseInt(_0x28756b(0x125))/0x2*(-parseInt(_0x28756b(0x118))/0x3)+parseInt(_0x28756b(0x128))/0x4*(parseInt(_0x28756b(0x12b))/0x5)+parseInt(_0x28756b(0x131))/0x6+parseInt(_0x28756b(0x112))/0x7+parseInt(_0x28756b(0x12d))/0x8*(-parseInt(_0x28756b(0x121))/0x9)+-parseInt(_0x28756b(0x130))/0xa*(-parseInt(_0x28756b(0x11b))/0xb);if(_0x1bb57c===_0x293c79)break;else _0x7017c9['push'](_0x7017c9['shift']());}catch(_0x21bd9e){_0x7017c9['push'](_0x7017c9['shift']());}}}(_0x5931,0x3739c));import{ListItemView as _0x225a03,View as _0xd829d}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x4a6f31}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x225a03{[_0x148b11(0x113)];[_0x148b11(0x11e)];constructor(_0x22bc50,_0x5739d9){const _0x1aeefa=_0x148b11;super(_0x22bc50),this[_0x1aeefa(0x11e)]=this[_0x1aeefa(0x115)](_0x5739d9[_0x1aeefa(0x119)]),this[_0x1aeefa(0x113)]=this[_0x1aeefa(0x111)](_0x5739d9[_0x1aeefa(0x11d)]);const _0x1b5596=this[_0x1aeefa(0x122)];this[_0x1aeefa(0x12f)]({'tag':_0x1aeefa(0x120),'attributes':{'class':[_0x1aeefa(0x12e),_0x1b5596['if'](_0x1aeefa(0x12c),_0x1aeefa(0x114),_0x32ac90=>!_0x32ac90)]},'children':[this[_0x1aeefa(0x113)],{'tag':_0x1aeefa(0x120),'attributes':{'class':[_0x1aeefa(0x11c)]},'children':[{'tag':_0x1aeefa(0x117),'attributes':{'class':[_0x1aeefa(0x11f)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x1aeefa(0x127)]},'children':[{'text':_0x5739d9[_0x1aeefa(0x123)]}]}]}]});}[_0x148b11(0x115)](_0x14e15f){const _0x51e576=_0x148b11,_0x3bca60=new _0x4a6f31(_0x14e15f,this[_0x51e576(0x11a)]);return _0x3bca60[_0x51e576(0x129)](_0x51e576(0x126))['to'](this),_0x3bca60;}[_0x148b11(0x111)](_0xf74f6f){const _0x5c127b=_0x148b11,_0x27b493=new _0xd829d(this[_0x5c127b(0x11a)]);return _0x27b493[_0x5c127b(0x12f)]({'tag':_0x5c127b(0x120),'attributes':{'class':[_0x5c127b(0x116)]},'children':[{'tag':_0x5c127b(0x117),'attributes':{'class':[_0x5c127b(0x110)]},'children':[{'text':_0xf74f6f}]},{'tag':_0x5c127b(0x120),'attributes':{'class':[_0x5c127b(0x124)]},'children':[this[_0x5c127b(0x11e)]]}]}),_0x27b493;}}
|