@ckeditor/ckeditor5-ai 47.2.0-alpha.1 → 47.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.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/lang/translations/ar.po +34 -34
- package/lang/translations/bg.po +26 -26
- package/lang/translations/bn.po +26 -26
- package/lang/translations/ca.po +26 -26
- package/lang/translations/cs.po +28 -28
- package/lang/translations/da.po +26 -26
- package/lang/translations/de.po +26 -26
- package/lang/translations/el.po +26 -26
- package/lang/translations/es.po +26 -26
- package/lang/translations/et.po +26 -26
- package/lang/translations/fi.po +26 -26
- package/lang/translations/fr.po +26 -26
- package/lang/translations/he.po +26 -26
- package/lang/translations/hi.po +26 -26
- package/lang/translations/hu.po +26 -26
- package/lang/translations/id.po +24 -24
- package/lang/translations/it.po +26 -26
- package/lang/translations/ja.po +24 -24
- package/lang/translations/ko.po +24 -24
- package/lang/translations/lt.po +28 -28
- package/lang/translations/lv.po +28 -28
- package/lang/translations/ms.po +24 -24
- package/lang/translations/nl.po +26 -26
- package/lang/translations/no.po +26 -26
- package/lang/translations/pl.po +28 -28
- package/lang/translations/pt-br.po +26 -26
- package/lang/translations/pt.po +26 -26
- package/lang/translations/ro.po +28 -28
- package/lang/translations/ru.po +28 -28
- package/lang/translations/sk.po +28 -28
- package/lang/translations/sr.po +28 -28
- package/lang/translations/sv.po +26 -26
- package/lang/translations/th.po +24 -24
- package/lang/translations/tr.po +26 -26
- package/lang/translations/uk.po +28 -28
- package/lang/translations/vi.po +24 -24
- package/lang/translations/zh-cn.po +24 -24
- package/lang/translations/zh.po +24 -24
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/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/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5d82(){const _0x3ca3b6=['8iDUvCV','showDiffInBalloon','showCheckRunResult','dismissChange','ai-review-mode-check-run-general-error','markChangePositionInEditorContent','description','_OPTIONS_DATA_','args','finishReview','_aiReviewModeUi','ck-ai-review-mode-highlights','_changeActivationSource','forceReadyState','hideDiffInBalloon','change','listenTo','getChangeElement','content','aborted','showChunkErrorView','finished','diffContent','changeMarkerRemoved','acceptAllChanges','processedResultsCount','ai.reviewMode.translations','8236080EInXjo','closest','setCheckResultTitle','leaveReviewModeResultList','544GZtCAp','getMarkerElementForChange','init','loading','activateChange','subTitle','documentData','unmodified','toUpperCase','abortReviewStream','domElement','model','_aiReviewCheckList','reviewCheckResultDeactivated','requires','status','_TITLE','_isDiffOn','showCheckRunResults','addClass','emitter','resetActiveStateInResults','getCheckById','ck-ai-review-mode-diff','checks','2984784oPMxEG','isChangeActive','find','contentInitial','getActiveChanges','_OPTIONS_LABEL','error-general','getDocumentData','3833055ASFhAu','_onDiffChange','source','ai-review-mode-check-run-chunk-error','params','255609wEloZp','AI_REVIEW_CHECK_','_logError','changes','hideChangeBalloon','_aiConnector','removeClass','ai-review-mode-check-run-failed','AIReviewModeEditing','getRoot','retryReview','5vBWbMH','message','panel','showActionsWhenResultIsReady','contentNew','deactivateChange','showGeneralErrorView','sendRating','stopListening','acceptChange','ai-review-mode-no-current-check-run','switchToEdit','hasModifications','plugins','pluginName','updateChangeState','applyChange','title','runReviewCheck','changeId','getAll','toggleDiff','reviewCheckRunUpdated','setActiveStateInResults','ready','getEditor','_getTranslationWithDefault','map','48LcVyGo','_DESCRIPTION','isPremiumPlugin','rejectChange','get','label','prompt','switchToReadOnly','result','showReviewCompletedView','data','_onReviewModeRunLeave','custom','AI_MODEL_DESCRIPTION_','showReviewCheckList','start','AIReviewModeController','isCustom','74329qxJEWF','reviewCheckResultChangeStatusUpdated','_translateReviewChecks','34636JcYqtA','reviewCheckResultReady','showNoChangesView','markChangeAsOutdated','reviewCheckResultActivated','reviewCheckResultAdded','locale','_aiReviewModeEditing','document','getReviewCheckList','markChangeAsPending','1892472IELkpK','context','translate','config','addResultChanges','length','AIConnector','ai-request-aborted','models','ai-review-mode-source-check-not-found','changeMarkerRestored','_currentReviewCheckRun','.ck-ai-review-mode__check-run-result','editing','isOfficialPlugin','error-chunk','includes','setAvailableChecks','view','clearAllMarkers','showChangeBalloon','changeMarkerClick','replaceAll','AIReviewModeUI','options','markAllChangesAsAccepted','abort','leaveReviewMode','markChangeAsAccepted','markChangeAsRejected','restart','currentError'];_0x5d82=function(){return _0x3ca3b6;};return _0x5d82();}const _0x21c3ca=_0x5ae7;function _0x5ae7(_0xe623bd,_0x1dc143){const _0x5d823b=_0x5d82();return _0x5ae7=function(_0x5ae781,_0x3f470f){_0x5ae781=_0x5ae781-0x172;let _0x4fc7f9=_0x5d823b[_0x5ae781];return _0x4fc7f9;},_0x5ae7(_0xe623bd,_0x1dc143);}(function(_0x7371c8,_0x397242){const _0x1b346a=_0x5ae7,_0x14aa14=_0x7371c8();while(!![]){try{const _0x1d9289=parseInt(_0x1b346a(0x217))/0x1*(parseInt(_0x1b346a(0x199))/0x2)+-parseInt(_0x1b346a(0x1de))/0x3*(parseInt(_0x1b346a(0x205))/0x4)+parseInt(_0x1b346a(0x1e9))/0x5*(parseInt(_0x1b346a(0x179))/0x6)+parseInt(_0x1b346a(0x21a))/0x7*(parseInt(_0x1b346a(0x1b8))/0x8)+-parseInt(_0x1b346a(0x1d9))/0x9+parseInt(_0x1b346a(0x1b4))/0xa+parseInt(_0x1b346a(0x1d1))/0xb;if(_0x1d9289===_0x397242)break;else _0x14aa14['push'](_0x14aa14['shift']());}catch(_0x1c1145){_0x14aa14['push'](_0x14aa14['shift']());}}}(_0x5d82,0x91765));import{ContextPlugin as _0x1721dc}from'ckeditor5/src/core.js';import{CKEditorError as _0x4e21a3,logError as _0x221a16,scrollAncestorsToShowTarget as _0x5a6b8f,scrollViewportToShowTarget as _0x8fccfd}from'ckeditor5/src/utils.js';import{AIConnector as _0x3078e7}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x2e3c5f}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x1de102}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x2c6f3d}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4bc57b}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x295cac}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x1448c3}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x1721dc{[_0x21c3ca(0x1e3)];[_0x21c3ca(0x1a3)];[_0x21c3ca(0x175)];[_0x21c3ca(0x1c4)];[_0x21c3ca(0x184)];[_0x21c3ca(0x1c9)]=!0x1;[_0x21c3ca(0x1a5)]=null;static get[_0x21c3ca(0x1c6)](){return[_0x3078e7];}static get[_0x21c3ca(0x1f7)](){const _0x3cb7a3=_0x21c3ca;return _0x3cb7a3(0x215);}static get[_0x21c3ca(0x187)](){return!0x0;}static get[_0x21c3ca(0x207)](){return!0x0;}async[_0x21c3ca(0x1ba)](){const _0x2e8ec5=_0x21c3ca;this[_0x2e8ec5(0x1e3)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x17f)),this[_0x2e8ec5(0x1a3)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x190)),this[_0x2e8ec5(0x175)]=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x1f6)][_0x2e8ec5(0x209)](_0x2e8ec5(0x1e6));const _0x1a5bdc=this[_0x2e8ec5(0x17a)][_0x2e8ec5(0x17c)][_0x2e8ec5(0x209)](_0x2e8ec5(0x1b3));if(_0x1a5bdc){for(const _0x303d8e of _0x295cac)_0x2e8ec5(0x17b)===_0x303d8e['id']&&(_0x303d8e[_0x2e8ec5(0x191)][0x0][_0x2e8ec5(0x20f)]=_0x1a5bdc);}const _0x2bd835=this[_0x2e8ec5(0x219)](_0x295cac);this[_0x2e8ec5(0x1c4)]=new _0x2e3c5f(_0x2bd835);const _0x3c54f9=this[_0x2e8ec5(0x1c4)][_0x2e8ec5(0x1d0)][_0x2e8ec5(0x1d3)](_0x54ec41=>_0x2e8ec5(0x211)===_0x54ec41['id']);if(_0x3c54f9){const _0x33fff0=await new _0x4bc57b({'connector':this[_0x2e8ec5(0x1e3)]})[_0x2e8ec5(0x1fd)]();_0x3c54f9[_0x2e8ec5(0x181)]=_0x33fff0[_0x2e8ec5(0x204)](_0x22c0a0=>({..._0x22c0a0,'description':this[_0x2e8ec5(0x203)](_0x2e8ec5(0x212)+_0x22c0a0['id'][_0x2e8ec5(0x1c0)](),_0x22c0a0[_0x2e8ec5(0x19f)])}));}this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x177),()=>{const _0x1d770c=_0x2e8ec5;this[_0x1d770c(0x1a3)][_0x1d770c(0x18a)](this[_0x1d770c(0x1c4)][_0x1d770c(0x1d0)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1fb),async(_0x19154f,_0x3837fe)=>{const _0xa0c065=_0x2e8ec5,_0x3fbb92=this[_0xa0c065(0x1c4)][_0xa0c065(0x1ce)](_0x3837fe['id']);if(_0x3fbb92){this[_0xa0c065(0x1da)](this[_0xa0c065(0x1c9)]),_0x3837fe[_0xa0c065(0x216)]?this[_0xa0c065(0x184)]=new _0x2c6f3d(_0x3837fe[_0xa0c065(0x1a1)][_0xa0c065(0x20b)],_0x3837fe[_0xa0c065(0x1a1)][_0xa0c065(0x1c3)],this[_0xa0c065(0x175)][_0xa0c065(0x1d8)](),_0x3fbb92,this[_0xa0c065(0x1e3)]):this[_0xa0c065(0x184)]=new _0x1de102(this[_0xa0c065(0x175)][_0xa0c065(0x1d8)](),_0x3fbb92,this[_0xa0c065(0x1e3)],_0x3837fe[_0xa0c065(0x1dd)],_0x3837fe[_0xa0c065(0x1a1)]),this[_0xa0c065(0x1a3)][_0xa0c065(0x1b6)](this[_0xa0c065(0x184)][_0xa0c065(0x1fa)],this[_0xa0c065(0x184)][_0xa0c065(0x1bd)]),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x1ff),(_0x3895db,_0x417c1a)=>{const _0x2d5b52=_0xa0c065;_0x2d5b52(0x20f)===_0x417c1a[_0x2d5b52(0x1c7)]||_0x2d5b52(0x1bb)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x175)][_0x2d5b52(0x20c)](),this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ca)](_0x417c1a)):_0x2d5b52(0x1ae)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x20e)]():_0x2d5b52(0x201)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ec)]():_0x2d5b52(0x1bf)===_0x417c1a[_0x2d5b52(0x1c7)]?this[_0x2d5b52(0x1a3)][_0x2d5b52(0x21c)]():_0x2d5b52(0x1d7)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ef)](),this[_0x2d5b52(0x1e0)](new _0x4e21a3(_0x2d5b52(0x19d),this,this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x198)]))):_0x2d5b52(0x188)===_0x417c1a[_0x2d5b52(0x1c7)]?(this[_0x2d5b52(0x1a3)][_0x2d5b52(0x1ad)](),this[_0x2d5b52(0x1e0)](new _0x4e21a3(_0x2d5b52(0x1dc),this,this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x198)]))):_0x2d5b52(0x1ac)===_0x417c1a[_0x2d5b52(0x1c7)]&&(this[_0x2d5b52(0x184)]&&this[_0x2d5b52(0x184)][_0x2d5b52(0x1b2)]>0x0?setTimeout(()=>{const _0x1aa16a=_0x2d5b52;this[_0x1aa16a(0x184)]?.[_0x1aa16a(0x1a6)]();},0x0):this[_0x2d5b52(0x210)](!0x0)),_0x2d5b52(0x201)!==_0x417c1a[_0x2d5b52(0x1c7)]&&_0x2d5b52(0x188)!==_0x417c1a[_0x2d5b52(0x1c7)]&&_0x2d5b52(0x1d7)!==_0x417c1a[_0x2d5b52(0x1c7)]||this[_0x2d5b52(0x184)]?.[_0x2d5b52(0x1f0)]();}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x173),(_0x202222,_0x5cb6b9)=>{const _0x3cd408=_0xa0c065;if(!this[_0x3cd408(0x184)])throw new _0x4e21a3(_0x3cd408(0x1f3),this);const _0x247eed=this[_0x3cd408(0x175)][_0x3cd408(0x1af)](_0x5cb6b9[_0x3cd408(0x20d)][_0x3cd408(0x1d4)],_0x5cb6b9[_0x3cd408(0x20d)][_0x3cd408(0x1ed)]);_0x5cb6b9[_0x3cd408(0x1db)][_0x3cd408(0x17d)](_0x5cb6b9[_0x3cd408(0x20d)]['id'],_0x247eed);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x21b),(_0x4db190,_0x5ac8f2)=>{const _0x2df1d2=_0xa0c065;for(const _0x2793cf of _0x5ac8f2[_0x2df1d2(0x1e1)])this[_0x2df1d2(0x1a3)][_0x2df1d2(0x19b)](_0x2793cf);this[_0x2df1d2(0x175)][_0x2df1d2(0x19e)](_0x5ac8f2[_0x2df1d2(0x1e1)],_0x5ac8f2[_0x2df1d2(0x1db)][_0x2df1d2(0x1be)]);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x218),(_0x58c8d3,_0x39bf1e)=>{const _0x22d7b9=_0xa0c065;this[_0x22d7b9(0x1a3)][_0x22d7b9(0x1f8)](_0x39bf1e[_0x22d7b9(0x1a8)]['id'],_0x39bf1e[_0x22d7b9(0x1c7)]);}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x172),(_0x9253ad,_0x1ac144)=>{const _0x35e8d9=_0xa0c065;this[_0x35e8d9(0x1a3)][_0x35e8d9(0x200)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);const _0x2a5f84=this[_0x35e8d9(0x175)][_0x35e8d9(0x1b9)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);if(_0x2a5f84){if(_0x35e8d9(0x1ab)===this[_0x35e8d9(0x1a5)]){const _0x2743c8=this[_0x35e8d9(0x1a3)][_0x35e8d9(0x1aa)](_0x1ac144[_0x35e8d9(0x1a8)]['id']);_0x2743c8&&_0x5a6b8f(_0x2743c8[_0x35e8d9(0x1b5)](_0x35e8d9(0x185))||_0x2743c8);}else{if(_0x35e8d9(0x1eb)===this[_0x35e8d9(0x1a5)]){const _0x5eb658={'target':_0x2a5f84[_0x35e8d9(0x1c2)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x8fccfd(_0x5eb658);}}this[_0x35e8d9(0x1a3)][_0x35e8d9(0x18d)](_0x1ac144[_0x35e8d9(0x1a8)],_0x2a5f84[_0x35e8d9(0x1c2)]);}}),this[_0xa0c065(0x184)]['on'](_0xa0c065(0x1c5),()=>{const _0x186d71=_0xa0c065;this[_0x186d71(0x1a3)][_0x186d71(0x1cd)](),this[_0x186d71(0x1a3)][_0x186d71(0x1e2)]();});try{await this[_0xa0c065(0x184)][_0xa0c065(0x214)]();}catch(_0x450b79){_0x450b79 instanceof Error&&_0x450b79[_0xa0c065(0x1ea)][_0xa0c065(0x189)](_0xa0c065(0x180))||(_0x450b79 instanceof _0x4e21a3?this[_0xa0c065(0x1e0)](_0x450b79):this[_0xa0c065(0x1e0)](new _0x4e21a3(_0xa0c065(0x1e5),this,{'error':_0x450b79})));}}else this[_0xa0c065(0x1e0)](new _0x4e21a3(_0xa0c065(0x182),this,{'checkId':_0x3837fe['id']}));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x194),()=>{const _0x180c3e=_0x2e8ec5;this[_0x180c3e(0x210)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1b7),()=>{const _0x2a88df=_0x2e8ec5;this[_0x2a88df(0x210)](!0x0);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1c1),()=>{const _0x1f95df=_0x2e8ec5;this[_0x1f95df(0x184)]&&this[_0x1f95df(0x184)][_0x1f95df(0x193)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1a2),()=>{const _0x24d752=_0x2e8ec5;this[_0x24d752(0x210)](!0x0);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1b1),()=>{const _0xaf3d4e=_0x2e8ec5;if(!this[_0xaf3d4e(0x184)])return;const _0x4bc67b=this[_0xaf3d4e(0x184)][_0xaf3d4e(0x1d5)]();_0x4bc67b[_0xaf3d4e(0x17e)]&&(this[_0xaf3d4e(0x175)][_0xaf3d4e(0x1f9)](_0x4bc67b[_0xaf3d4e(0x204)](_0x4ff191=>_0x4ff191['id'])),this[_0xaf3d4e(0x184)][_0xaf3d4e(0x192)](),this[_0xaf3d4e(0x184)][_0xaf3d4e(0x1f0)]());}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1f2),(_0x473e6b,_0x6c57a8)=>{const _0x136dc6=_0x2e8ec5;this[_0x136dc6(0x184)]&&this[_0x136dc6(0x184)][_0x136dc6(0x1d2)](_0x6c57a8['id'])&&(this[_0x136dc6(0x175)][_0x136dc6(0x1f9)]([_0x6c57a8['id']]),this[_0x136dc6(0x184)][_0x136dc6(0x195)](_0x6c57a8['id']),this[_0x136dc6(0x1a3)][_0x136dc6(0x1e2)](),this[_0x136dc6(0x184)][_0x136dc6(0x1f0)](_0x6c57a8['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x19c),(_0x377b5b,_0x4556c1)=>{const _0x46fff2=_0x2e8ec5;this[_0x46fff2(0x184)]&&this[_0x46fff2(0x184)][_0x46fff2(0x1d2)](_0x4556c1['id'])&&(this[_0x46fff2(0x175)][_0x46fff2(0x208)](_0x4556c1['id']),this[_0x46fff2(0x184)][_0x46fff2(0x196)](_0x4556c1['id']),this[_0x46fff2(0x1a3)][_0x46fff2(0x1e2)](),this[_0x46fff2(0x184)][_0x46fff2(0x1f0)](_0x4556c1['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1fe),(_0x44b462,_0x31b8a7)=>{const _0x9a0a76=_0x2e8ec5;this[_0x9a0a76(0x1c9)]=_0x31b8a7['on'],this[_0x9a0a76(0x1da)](this[_0x9a0a76(0x1c9)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1e8),async()=>{const _0xc3ffda=_0x2e8ec5;this[_0xc3ffda(0x184)]&&await this[_0xc3ffda(0x184)][_0xc3ffda(0x197)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1bc),(_0x516a39,_0x19018e)=>{const _0x583df0=_0x2e8ec5;this[_0x583df0(0x184)]&&(this[_0x583df0(0x1a5)]=_0x583df0(0x1eb),this[_0x583df0(0x184)][_0x583df0(0x1bc)](_0x19018e['id']));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x1a3)],_0x2e8ec5(0x1ee),()=>{const _0x221547=_0x2e8ec5;this[_0x221547(0x184)]&&this[_0x221547(0x184)][_0x221547(0x1ee)]();}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x18e),(_0x36b316,_0x44a86e)=>{const _0x15728e=_0x2e8ec5;this[_0x15728e(0x184)]&&(this[_0x15728e(0x1a5)]=_0x15728e(0x1ab),this[_0x15728e(0x184)][_0x15728e(0x1bc)](_0x44a86e[_0x15728e(0x1fc)]));}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x1b0),(_0x8f1435,_0x28d1e9)=>{const _0x26414b=_0x2e8ec5;this[_0x26414b(0x184)]&&this[_0x26414b(0x184)][_0x26414b(0x21d)](_0x28d1e9[_0x26414b(0x1fc)]);}),this[_0x2e8ec5(0x1a9)](this[_0x2e8ec5(0x175)][_0x2e8ec5(0x1cc)],_0x2e8ec5(0x183),(_0x16386c,_0x1a7b6f)=>{const _0x252e75=_0x2e8ec5;this[_0x252e75(0x184)]&&this[_0x252e75(0x184)][_0x252e75(0x178)](_0x1a7b6f[_0x252e75(0x1fc)]);});}[_0x21c3ca(0x210)](_0x454f88=!0x1){const _0x231417=_0x21c3ca;this[_0x231417(0x184)]&&(this[_0x231417(0x184)][_0x231417(0x1f5)]||this[_0x231417(0x184)][_0x231417(0x1f0)](),this[_0x231417(0x184)][_0x231417(0x1f1)](),this[_0x231417(0x184)][_0x231417(0x193)](),this[_0x231417(0x184)]=void 0x0),_0x454f88&&this[_0x231417(0x1a3)][_0x231417(0x213)](),this[_0x231417(0x175)][_0x231417(0x18c)](),this[_0x231417(0x175)][_0x231417(0x1f4)](),this[_0x231417(0x1a5)]=null;const _0x52c441=this[_0x231417(0x175)][_0x231417(0x202)]();_0x52c441&&_0x52c441[_0x231417(0x186)][_0x231417(0x18b)][_0x231417(0x1a8)](_0x234bba=>{const _0x9d91b4=_0x231417,_0x7c1d3f=_0x52c441[_0x9d91b4(0x186)][_0x9d91b4(0x18b)][_0x9d91b4(0x176)][_0x9d91b4(0x1e7)]();_0x234bba[_0x9d91b4(0x1e4)](_0x9d91b4(0x1cf),_0x7c1d3f),_0x234bba[_0x9d91b4(0x1e4)](_0x9d91b4(0x1a4),_0x7c1d3f);});}[_0x21c3ca(0x1da)](_0x5bb04e){const _0x910a1e=_0x21c3ca,_0x129c46=this[_0x910a1e(0x175)][_0x910a1e(0x202)]();_0x5bb04e?this[_0x910a1e(0x1a3)][_0x910a1e(0x1a7)]():this[_0x910a1e(0x1a3)][_0x910a1e(0x19a)](),_0x129c46&&_0x129c46[_0x910a1e(0x186)][_0x910a1e(0x18b)][_0x910a1e(0x1a8)](_0x21987a=>{const _0x300e54=_0x910a1e,_0x3d9e16=_0x129c46[_0x300e54(0x186)][_0x300e54(0x18b)][_0x300e54(0x176)][_0x300e54(0x1e7)]();_0x21987a[_0x300e54(0x1e4)](_0x300e54(0x1cf),_0x3d9e16),_0x21987a[_0x300e54(0x1e4)](_0x300e54(0x1a4),_0x3d9e16),_0x21987a[_0x300e54(0x1cb)](_0x5bb04e?_0x300e54(0x1cf):_0x300e54(0x1a4),_0x3d9e16);});}[_0x21c3ca(0x219)](_0x323fbd){const _0x5bb2e7=_0x21c3ca;return _0x323fbd[_0x5bb2e7(0x204)](_0x14f8e1=>{const _0x53e231=_0x5bb2e7,_0x4d08dd=_0x53e231(0x1df)+_0x14f8e1['id'][_0x53e231(0x1c0)]()[_0x53e231(0x18f)]('-','_'),_0x541bf4={..._0x14f8e1,'title':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1c8),_0x14f8e1[_0x53e231(0x1fa)]),'description':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x206),_0x14f8e1[_0x53e231(0x19f)])};return _0x14f8e1[_0x53e231(0x191)]&&(_0x541bf4[_0x53e231(0x191)]=_0x14f8e1[_0x53e231(0x191)][_0x53e231(0x204)](_0x43dc86=>({..._0x43dc86,'label':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1d6),_0x43dc86[_0x53e231(0x20a)]||''),'data':_0x43dc86[_0x53e231(0x20f)]?_0x43dc86[_0x53e231(0x20f)][_0x53e231(0x204)](_0xabbfcc=>({..._0xabbfcc,'label':this[_0x53e231(0x203)](_0x4d08dd+_0x53e231(0x1a0)+_0xabbfcc['id'][_0x53e231(0x1c0)](),_0xabbfcc[_0x53e231(0x20a)])})):void 0x0}))),_0x541bf4;});}[_0x21c3ca(0x203)](_0x2a519d,_0x1ab7e6){const _0x5baa6e=_0x21c3ca,_0x28d75a=this[_0x5baa6e(0x17a)][_0x5baa6e(0x174)],_0x2b4eb5=_0x1448c3(_0x28d75a,_0x2a519d);return _0x2b4eb5===_0x2a519d?_0x1ab7e6:_0x2b4eb5;}[_0x21c3ca(0x1e0)](_0x477d56){const _0x175a1b=_0x21c3ca;_0x221a16(_0x477d56[_0x175a1b(0x1ea)]),this[_0x175a1b(0x1a3)][_0x175a1b(0x1ef)]();}}
|
|
23
|
+
const _0x5a3f6a=_0x210a;function _0x10e9(){const _0x2b9405=['getDocumentData','context','isPremiumPlugin','isOfficialPlugin','document','label','abort','ready','contentNew','plugins','retryReview','status','stopListening','deactivateChange','emitter','changeMarkerClick','reviewCheckResultAdded','ai-review-mode-check-run-failed','rejectChange','getChangeElement','addClass','_getTranslationWithDefault','error-chunk','_OPTIONS_LABEL','error-general','acceptAllChanges','documentData','reviewCheckResultActivated','_translateReviewChecks','AIConnector','find','subTitle','AI_MODEL_DESCRIPTION_','init','_TITLE','ai.reviewMode.translations','sendRating','markChangeAsRejected','611777HxgaGl','ai-review-mode-check-run-general-error','isCustom','pluginName','updateChangeState','resetActiveStateInResults','_changeActivationSource','_currentReviewCheckRun','diffContent','getRoot','acceptChange','reviewCheckRunUpdated','title','ck-ai-review-mode-highlights','_aiReviewModeEditing','changeMarkerRestored','51280hwBgoC','ai-review-mode-source-check-not-found','getAll','addResultChanges','_aiReviewCheckList','models','loading','finishReview','applyChange','view','showCheckRunResults','content','getEditor','AI_REVIEW_CHECK_','start','change','AIReviewModeController','params','get','1706070oUvmzW','hideChangeBalloon','_logError','getMarkerElementForChange','isChangeActive','showReviewCompletedView','switchToEdit','250UfGduc','config','reviewCheckResultReady','ai-review-mode-no-current-check-run','changeMarkerRemoved','finished','listenTo','domElement','setAvailableChecks','AIReviewModeEditing','markChangeAsOutdated','changes','_DESCRIPTION','AIReviewModeUI','hideDiffInBalloon','checks','ai-request-aborted','_onReviewModeRunLeave','_aiConnector','getActiveChanges','prompt','closest','showDiffInBalloon','showNoChangesView','setCheckResultTitle','showChunkErrorView','includes','reviewCheckResultChangeStatusUpdated','panel','unmodified','.ck-ai-review-mode__check-run-result','args','hasModifications','translate','toUpperCase','requires','length','runReviewCheck','forceReadyState','reviewCheckResultDeactivated','setActiveStateInResults','_aiReviewModeUi','ai-review-mode-check-run-chunk-error','getCheckById','abortReviewStream','options','_OPTIONS_DATA_','changeId','result','5759802gASMGa','currentError','switchToReadOnly','contentInitial','locale','data','showCheckRunResult','removeClass','203HJMhji','showGeneralErrorView','ck-ai-review-mode-diff','aborted','_onDiffChange','editing','markChangePositionInEditorContent','_isDiffOn','markChangeAsAccepted','93592KQHarj','markAllChangesAsAccepted','showChangeBalloon','restart','description','source','showActionsWhenResultIsReady','toggleDiff','message','map','dismissChange','895708ngDUvl','activateChange','model','showReviewCheckList','custom','clearAllMarkers','replaceAll','10647000accCIm','leaveReviewMode','leaveReviewModeResultList','markChangeAsPending','getReviewCheckList','processedResultsCount'];_0x10e9=function(){return _0x2b9405;};return _0x10e9();}(function(_0x52152f,_0x14bc91){const _0xd2456e=_0x210a,_0x46634b=_0x52152f();while(!![]){try{const _0x58c2f3=parseInt(_0xd2456e(0x1a6))/0x1+-parseInt(_0xd2456e(0x173))/0x2+-parseInt(_0xd2456e(0x11f))/0x3+-parseInt(_0xd2456e(0x1b6))/0x4*(parseInt(_0xd2456e(0x126))/0x5)+parseInt(_0xd2456e(0x157))/0x6+-parseInt(_0xd2456e(0x15f))/0x7*(parseInt(_0xd2456e(0x168))/0x8)+parseInt(_0xd2456e(0x17a))/0x9;if(_0x58c2f3===_0x14bc91)break;else _0x46634b['push'](_0x46634b['shift']());}catch(_0x2d98fd){_0x46634b['push'](_0x46634b['shift']());}}}(_0x10e9,0xb90a9));import{ContextPlugin as _0x2be685}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f2e5c,logError as _0x2b120f,scrollAncestorsToShowTarget as _0x666362,scrollViewportToShowTarget as _0x588a5d}from'ckeditor5/src/utils.js';function _0x210a(_0x4eaa9c,_0x59346d){const _0x10e962=_0x10e9();return _0x210a=function(_0x210a67,_0x5c444c){_0x210a67=_0x210a67-0x10e;let _0x15715f=_0x10e962[_0x210a67];return _0x15715f;},_0x210a(_0x4eaa9c,_0x59346d);}import{AIConnector as _0xf12ade}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x1cd58c}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0xf390a2}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x200249}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x1cdce6}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x53eb7b}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x3b501b}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x2be685{[_0x5a3f6a(0x138)];[_0x5a3f6a(0x14f)];[_0x5a3f6a(0x1b4)];[_0x5a3f6a(0x110)];[_0x5a3f6a(0x1ad)];[_0x5a3f6a(0x166)]=!0x1;[_0x5a3f6a(0x1ac)]=null;static get[_0x5a3f6a(0x149)](){return[_0xf12ade];}static get[_0x5a3f6a(0x1a9)](){const _0x144239=_0x5a3f6a;return _0x144239(0x11c);}static get[_0x5a3f6a(0x183)](){return!0x0;}static get[_0x5a3f6a(0x182)](){return!0x0;}async[_0x5a3f6a(0x1a1)](){const _0x41c9d9=_0x5a3f6a;this[_0x41c9d9(0x138)]=this[_0x41c9d9(0x181)][_0x41c9d9(0x189)][_0x41c9d9(0x11e)](_0x41c9d9(0x19d)),this[_0x41c9d9(0x14f)]=this[_0x41c9d9(0x181)][_0x41c9d9(0x189)][_0x41c9d9(0x11e)](_0x41c9d9(0x133)),this[_0x41c9d9(0x1b4)]=this[_0x41c9d9(0x181)][_0x41c9d9(0x189)][_0x41c9d9(0x11e)](_0x41c9d9(0x12f));const _0x890e01=this[_0x41c9d9(0x181)][_0x41c9d9(0x127)][_0x41c9d9(0x11e)](_0x41c9d9(0x1a3));if(_0x890e01){for(const _0x1db0ce of _0x53eb7b)_0x41c9d9(0x147)===_0x1db0ce['id']&&(_0x1db0ce[_0x41c9d9(0x153)][0x0][_0x41c9d9(0x15c)]=_0x890e01);}const _0x1b6638=this[_0x41c9d9(0x19c)](_0x53eb7b);this[_0x41c9d9(0x110)]=new _0x1cd58c(_0x1b6638);const _0x19118b=this[_0x41c9d9(0x110)][_0x41c9d9(0x135)][_0x41c9d9(0x19e)](_0x30258f=>_0x41c9d9(0x177)===_0x30258f['id']);if(_0x19118b){const _0x41c755=await new _0x1cdce6({'connector':this[_0x41c9d9(0x138)]})[_0x41c9d9(0x10e)]();_0x19118b[_0x41c9d9(0x111)]=_0x41c755[_0x41c9d9(0x171)](_0x3c9e80=>({..._0x3c9e80,'description':this[_0x41c9d9(0x195)](_0x41c9d9(0x1a0)+_0x3c9e80['id'][_0x41c9d9(0x148)](),_0x3c9e80[_0x41c9d9(0x16c)])}));}this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x17e),()=>{const _0xdd37d6=_0x41c9d9;this[_0xdd37d6(0x14f)][_0xdd37d6(0x12e)](this[_0xdd37d6(0x110)][_0xdd37d6(0x135)]);}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x14b),async(_0x4dbab2,_0xa53d54)=>{const _0x3220ca=_0x41c9d9,_0x1e3400=this[_0x3220ca(0x110)][_0x3220ca(0x151)](_0xa53d54['id']);if(_0x1e3400){this[_0x3220ca(0x163)](this[_0x3220ca(0x166)]),_0xa53d54[_0x3220ca(0x1a8)]?this[_0x3220ca(0x1ad)]=new _0x200249(_0xa53d54[_0x3220ca(0x145)][_0x3220ca(0x13a)],_0xa53d54[_0x3220ca(0x145)][_0x3220ca(0x175)],this[_0x3220ca(0x1b4)][_0x3220ca(0x180)](),_0x1e3400,this[_0x3220ca(0x138)]):this[_0x3220ca(0x1ad)]=new _0xf390a2(this[_0x3220ca(0x1b4)][_0x3220ca(0x180)](),_0x1e3400,this[_0x3220ca(0x138)],_0xa53d54[_0x3220ca(0x11d)],_0xa53d54[_0x3220ca(0x145)]),this[_0x3220ca(0x14f)][_0x3220ca(0x13e)](this[_0x3220ca(0x1ad)][_0x3220ca(0x1b2)],this[_0x3220ca(0x1ad)][_0x3220ca(0x19f)]),this[_0x3220ca(0x1ad)]['on'](_0x3220ca(0x1b1),(_0x5ccf9f,_0x3409a0)=>{const _0x5edb17=_0x3220ca;_0x5edb17(0x15c)===_0x3409a0[_0x5edb17(0x18b)]||_0x5edb17(0x112)===_0x3409a0[_0x5edb17(0x18b)]?(this[_0x5edb17(0x1b4)][_0x5edb17(0x159)](),this[_0x5edb17(0x14f)][_0x5edb17(0x116)](_0x3409a0)):_0x5edb17(0x12b)===_0x3409a0[_0x5edb17(0x18b)]?this[_0x5edb17(0x14f)][_0x5edb17(0x124)]():_0x5edb17(0x187)===_0x3409a0[_0x5edb17(0x18b)]?this[_0x5edb17(0x14f)][_0x5edb17(0x16e)]():_0x5edb17(0x143)===_0x3409a0[_0x5edb17(0x18b)]?this[_0x5edb17(0x14f)][_0x5edb17(0x13d)]():_0x5edb17(0x198)===_0x3409a0[_0x5edb17(0x18b)]?(this[_0x5edb17(0x14f)][_0x5edb17(0x160)](),this[_0x5edb17(0x121)](new _0x2f2e5c(_0x5edb17(0x1a7),this,this[_0x5edb17(0x1ad)]?.[_0x5edb17(0x158)]))):_0x5edb17(0x196)===_0x3409a0[_0x5edb17(0x18b)]?(this[_0x5edb17(0x14f)][_0x5edb17(0x13f)](),this[_0x5edb17(0x121)](new _0x2f2e5c(_0x5edb17(0x150),this,this[_0x5edb17(0x1ad)]?.[_0x5edb17(0x158)]))):_0x5edb17(0x162)===_0x3409a0[_0x5edb17(0x18b)]&&(this[_0x5edb17(0x1ad)]&&this[_0x5edb17(0x1ad)][_0x5edb17(0x17f)]>0x0?setTimeout(()=>{const _0x58fb78=_0x5edb17;this[_0x58fb78(0x1ad)]?.[_0x58fb78(0x14c)]();},0x0):this[_0x5edb17(0x137)](!0x0)),_0x5edb17(0x187)!==_0x3409a0[_0x5edb17(0x18b)]&&_0x5edb17(0x196)!==_0x3409a0[_0x5edb17(0x18b)]&&_0x5edb17(0x198)!==_0x3409a0[_0x5edb17(0x18b)]||this[_0x5edb17(0x1ad)]?.[_0x5edb17(0x1a4)]();}),this[_0x3220ca(0x1ad)]['on'](_0x3220ca(0x190),(_0x15a58d,_0x3b1bd7)=>{const _0x59d501=_0x3220ca;if(!this[_0x59d501(0x1ad)])throw new _0x2f2e5c(_0x59d501(0x129),this);const _0x3c45e0=this[_0x59d501(0x1b4)][_0x59d501(0x1ae)](_0x3b1bd7[_0x59d501(0x156)][_0x59d501(0x15a)],_0x3b1bd7[_0x59d501(0x156)][_0x59d501(0x188)]);_0x3b1bd7[_0x59d501(0x16d)][_0x59d501(0x10f)](_0x3b1bd7[_0x59d501(0x156)]['id'],_0x3c45e0);}),this[_0x3220ca(0x1ad)]['on'](_0x3220ca(0x128),(_0x3e88df,_0x55e1fe)=>{const _0x2e519f=_0x3220ca;for(const _0x47b1e8 of _0x55e1fe[_0x2e519f(0x131)])this[_0x2e519f(0x14f)][_0x2e519f(0x15d)](_0x47b1e8);this[_0x2e519f(0x1b4)][_0x2e519f(0x165)](_0x55e1fe[_0x2e519f(0x131)],_0x55e1fe[_0x2e519f(0x16d)][_0x2e519f(0x19a)]);}),this[_0x3220ca(0x1ad)]['on'](_0x3220ca(0x141),(_0x245cf4,_0x201a1e)=>{const _0x10916f=_0x3220ca;this[_0x10916f(0x14f)][_0x10916f(0x1aa)](_0x201a1e[_0x10916f(0x11b)]['id'],_0x201a1e[_0x10916f(0x18b)]);}),this[_0x3220ca(0x1ad)]['on'](_0x3220ca(0x19b),(_0x23f7df,_0x5f5b39)=>{const _0x333c78=_0x3220ca;this[_0x333c78(0x14f)][_0x333c78(0x14e)](_0x5f5b39[_0x333c78(0x11b)]['id']);const _0x46bd7b=this[_0x333c78(0x1b4)][_0x333c78(0x122)](_0x5f5b39[_0x333c78(0x11b)]['id']);if(_0x46bd7b){if(_0x333c78(0x117)===this[_0x333c78(0x1ac)]){const _0x315c13=this[_0x333c78(0x14f)][_0x333c78(0x193)](_0x5f5b39[_0x333c78(0x11b)]['id']);_0x315c13&&_0x666362(_0x315c13[_0x333c78(0x13b)](_0x333c78(0x144))||_0x315c13);}else{if(_0x333c78(0x142)===this[_0x333c78(0x1ac)]){const _0x444391={'target':_0x46bd7b[_0x333c78(0x12d)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x588a5d(_0x444391);}}this[_0x333c78(0x14f)][_0x333c78(0x16a)](_0x5f5b39[_0x333c78(0x11b)],_0x46bd7b[_0x333c78(0x12d)]);}}),this[_0x3220ca(0x1ad)]['on'](_0x3220ca(0x14d),()=>{const _0x20f74d=_0x3220ca;this[_0x20f74d(0x14f)][_0x20f74d(0x1ab)](),this[_0x20f74d(0x14f)][_0x20f74d(0x120)]();});try{await this[_0x3220ca(0x1ad)][_0x3220ca(0x11a)]();}catch(_0x1781ed){_0x1781ed instanceof Error&&_0x1781ed[_0x3220ca(0x170)][_0x3220ca(0x140)](_0x3220ca(0x136))||(_0x1781ed instanceof _0x2f2e5c?this[_0x3220ca(0x121)](_0x1781ed):this[_0x3220ca(0x121)](new _0x2f2e5c(_0x3220ca(0x191),this,{'error':_0x1781ed})));}}else this[_0x3220ca(0x121)](new _0x2f2e5c(_0x3220ca(0x1b7),this,{'checkId':_0xa53d54['id']}));}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x17b),()=>{const _0x505ec5=_0x41c9d9;this[_0x505ec5(0x137)]();}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x17c),()=>{const _0x2928f3=_0x41c9d9;this[_0x2928f3(0x137)](!0x0);}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x152),()=>{const _0x564fce=_0x41c9d9;this[_0x564fce(0x1ad)]&&this[_0x564fce(0x1ad)][_0x564fce(0x186)]();}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x113),()=>{const _0x3537ad=_0x41c9d9;this[_0x3537ad(0x137)](!0x0);}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x199),()=>{const _0x454378=_0x41c9d9;if(!this[_0x454378(0x1ad)])return;const _0x5a2d54=this[_0x454378(0x1ad)][_0x454378(0x139)]();_0x5a2d54[_0x454378(0x14a)]&&(this[_0x454378(0x1b4)][_0x454378(0x114)](_0x5a2d54[_0x454378(0x171)](_0x1f235e=>_0x1f235e['id'])),this[_0x454378(0x1ad)][_0x454378(0x169)](),this[_0x454378(0x1ad)][_0x454378(0x1a4)]());}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x1b0),(_0x4707e2,_0x360fbd)=>{const _0x29aa1e=_0x41c9d9;this[_0x29aa1e(0x1ad)]&&this[_0x29aa1e(0x1ad)][_0x29aa1e(0x123)](_0x360fbd['id'])&&(this[_0x29aa1e(0x1b4)][_0x29aa1e(0x114)]([_0x360fbd['id']]),this[_0x29aa1e(0x1ad)][_0x29aa1e(0x167)](_0x360fbd['id']),this[_0x29aa1e(0x14f)][_0x29aa1e(0x120)](),this[_0x29aa1e(0x1ad)][_0x29aa1e(0x1a4)](_0x360fbd['id']));}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x172),(_0x571831,_0x1fd95f)=>{const _0x30230f=_0x41c9d9;this[_0x30230f(0x1ad)]&&this[_0x30230f(0x1ad)][_0x30230f(0x123)](_0x1fd95f['id'])&&(this[_0x30230f(0x1b4)][_0x30230f(0x192)](_0x1fd95f['id']),this[_0x30230f(0x1ad)][_0x30230f(0x1a5)](_0x1fd95f['id']),this[_0x30230f(0x14f)][_0x30230f(0x120)](),this[_0x30230f(0x1ad)][_0x30230f(0x1a4)](_0x1fd95f['id']));}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x16f),(_0x26c4db,_0x449cae)=>{const _0x4ddec7=_0x41c9d9;this[_0x4ddec7(0x166)]=_0x449cae['on'],this[_0x4ddec7(0x163)](this[_0x4ddec7(0x166)]);}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x18a),async()=>{const _0x3903a8=_0x41c9d9;this[_0x3903a8(0x1ad)]&&await this[_0x3903a8(0x1ad)][_0x3903a8(0x16b)]();}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x174),(_0x189c9d,_0x1e352e)=>{const _0x2a17e6=_0x41c9d9;this[_0x2a17e6(0x1ad)]&&(this[_0x2a17e6(0x1ac)]=_0x2a17e6(0x142),this[_0x2a17e6(0x1ad)][_0x2a17e6(0x174)](_0x1e352e['id']));}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x14f)],_0x41c9d9(0x18d),()=>{const _0x95ecdc=_0x41c9d9;this[_0x95ecdc(0x1ad)]&&this[_0x95ecdc(0x1ad)][_0x95ecdc(0x18d)]();}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x1b4)][_0x41c9d9(0x18e)],_0x41c9d9(0x18f),(_0xb4ce7d,_0x3605fa)=>{const _0x3e65c6=_0x41c9d9;this[_0x3e65c6(0x1ad)]&&(this[_0x3e65c6(0x1ac)]=_0x3e65c6(0x117),this[_0x3e65c6(0x1ad)][_0x3e65c6(0x174)](_0x3605fa[_0x3e65c6(0x155)]));}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x1b4)][_0x41c9d9(0x18e)],_0x41c9d9(0x12a),(_0x2d79d7,_0x35350a)=>{const _0x32b526=_0x41c9d9;this[_0x32b526(0x1ad)]&&this[_0x32b526(0x1ad)][_0x32b526(0x130)](_0x35350a[_0x32b526(0x155)]);}),this[_0x41c9d9(0x12c)](this[_0x41c9d9(0x1b4)][_0x41c9d9(0x18e)],_0x41c9d9(0x1b5),(_0x4fd73f,_0x2c2cd9)=>{const _0x36fe97=_0x41c9d9;this[_0x36fe97(0x1ad)]&&this[_0x36fe97(0x1ad)][_0x36fe97(0x17d)](_0x2c2cd9[_0x36fe97(0x155)]);});}[_0x5a3f6a(0x137)](_0x4c7d23=!0x1){const _0x356236=_0x5a3f6a;this[_0x356236(0x1ad)]&&(this[_0x356236(0x1ad)][_0x356236(0x146)]||this[_0x356236(0x1ad)][_0x356236(0x1a4)](),this[_0x356236(0x1ad)][_0x356236(0x18c)](),this[_0x356236(0x1ad)][_0x356236(0x186)](),this[_0x356236(0x1ad)]=void 0x0),_0x4c7d23&&this[_0x356236(0x14f)][_0x356236(0x176)](),this[_0x356236(0x1b4)][_0x356236(0x178)](),this[_0x356236(0x1b4)][_0x356236(0x125)](),this[_0x356236(0x1ac)]=null;const _0x1cefbd=this[_0x356236(0x1b4)][_0x356236(0x118)]();_0x1cefbd&&_0x1cefbd[_0x356236(0x164)][_0x356236(0x115)][_0x356236(0x11b)](_0x413e43=>{const _0x1291cd=_0x356236,_0x1e39fa=_0x1cefbd[_0x1291cd(0x164)][_0x1291cd(0x115)][_0x1291cd(0x184)][_0x1291cd(0x1af)]();_0x413e43[_0x1291cd(0x15e)](_0x1291cd(0x161),_0x1e39fa),_0x413e43[_0x1291cd(0x15e)](_0x1291cd(0x1b3),_0x1e39fa);});}[_0x5a3f6a(0x163)](_0x3949af){const _0x1185e9=_0x5a3f6a,_0x4ae2b0=this[_0x1185e9(0x1b4)][_0x1185e9(0x118)]();_0x3949af?this[_0x1185e9(0x14f)][_0x1185e9(0x134)]():this[_0x1185e9(0x14f)][_0x1185e9(0x13c)](),_0x4ae2b0&&_0x4ae2b0[_0x1185e9(0x164)][_0x1185e9(0x115)][_0x1185e9(0x11b)](_0x4184f1=>{const _0x47ecf3=_0x1185e9,_0x53daf3=_0x4ae2b0[_0x47ecf3(0x164)][_0x47ecf3(0x115)][_0x47ecf3(0x184)][_0x47ecf3(0x1af)]();_0x4184f1[_0x47ecf3(0x15e)](_0x47ecf3(0x161),_0x53daf3),_0x4184f1[_0x47ecf3(0x15e)](_0x47ecf3(0x1b3),_0x53daf3),_0x4184f1[_0x47ecf3(0x194)](_0x3949af?_0x47ecf3(0x161):_0x47ecf3(0x1b3),_0x53daf3);});}[_0x5a3f6a(0x19c)](_0x3123bf){const _0x507af1=_0x5a3f6a;return _0x3123bf[_0x507af1(0x171)](_0x2bd74b=>{const _0x3f9334=_0x507af1,_0x31de45=_0x3f9334(0x119)+_0x2bd74b['id'][_0x3f9334(0x148)]()[_0x3f9334(0x179)]('-','_'),_0x5394ea={..._0x2bd74b,'title':this[_0x3f9334(0x195)](_0x31de45+_0x3f9334(0x1a2),_0x2bd74b[_0x3f9334(0x1b2)]),'description':this[_0x3f9334(0x195)](_0x31de45+_0x3f9334(0x132),_0x2bd74b[_0x3f9334(0x16c)])};return _0x2bd74b[_0x3f9334(0x153)]&&(_0x5394ea[_0x3f9334(0x153)]=_0x2bd74b[_0x3f9334(0x153)][_0x3f9334(0x171)](_0x16554f=>({..._0x16554f,'label':this[_0x3f9334(0x195)](_0x31de45+_0x3f9334(0x197),_0x16554f[_0x3f9334(0x185)]||''),'data':_0x16554f[_0x3f9334(0x15c)]?_0x16554f[_0x3f9334(0x15c)][_0x3f9334(0x171)](_0x1c60cd=>({..._0x1c60cd,'label':this[_0x3f9334(0x195)](_0x31de45+_0x3f9334(0x154)+_0x1c60cd['id'][_0x3f9334(0x148)](),_0x1c60cd[_0x3f9334(0x185)])})):void 0x0}))),_0x5394ea;});}[_0x5a3f6a(0x195)](_0x16102d,_0x538cf5){const _0x53e949=_0x5a3f6a,_0x3ff3f6=this[_0x53e949(0x181)][_0x53e949(0x15b)],_0x410eec=_0x3b501b(_0x3ff3f6,_0x16102d);return _0x410eec===_0x16102d?_0x538cf5:_0x410eec;}[_0x5a3f6a(0x121)](_0x542539){const _0x16672d=_0x5a3f6a;_0x2b120f(_0x542539[_0x16672d(0x170)]),this[_0x16672d(0x14f)][_0x16672d(0x160)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xff2b94=_0x1a8a;(function(_0x3c5e51,_0x46af51){const _0x1eb502=_0x1a8a,_0xe59827=_0x3c5e51();while(!![]){try{const _0x4089f5=-parseInt(_0x1eb502(0x176))/0x1+parseInt(_0x1eb502(0x201))/0x2+-parseInt(_0x1eb502(0x1e7))/0x3+-parseInt(_0x1eb502(0x1be))/0x4+-parseInt(_0x1eb502(0x1d8))/0x5*(-parseInt(_0x1eb502(0x1fe))/0x6)+parseInt(_0x1eb502(0x1c0))/0x7+-parseInt(_0x1eb502(0x1f2))/0x8*(-parseInt(_0x1eb502(0x151))/0x9);if(_0x4089f5===_0x46af51)break;else _0xe59827['push'](_0xe59827['shift']());}catch(_0x52fab6){_0xe59827['push'](_0xe59827['shift']());}}}(_0x4835,0x3b341));import{InsertOperation as _0x2bc0ae,MarkerOperation as _0x1ae859,ModelDocumentFragment as _0x34f008,ModelPosition as _0x29f8a7,ModelRange as _0x1ae561,ModelTreeWalker as _0x4fbbb7,transformOperationSets as _0x37f3b3}from'ckeditor5/src/engine.js';function _0x1a8a(_0x1b3bae,_0x42b59c){const _0x48358d=_0x4835();return _0x1a8a=function(_0x1a8a26,_0x4ff1f7){_0x1a8a26=_0x1a8a26-0x148;let _0x1f4018=_0x48358d[_0x1a8a26];return _0x1f4018;},_0x1a8a(_0x1b3bae,_0x42b59c);}import{DomEmitterMixin as _0x363ba,EmitterMixin as _0x56b1c2}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x2b9ee0}from'ckeditor5/src/core.js';import{DocumentCompare as _0x386002,DATA_ID_MODEL_ATTRIBUTE as _0x4840cb,DATA_ID_VIEW_ATTRIBUTE as _0x278019}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4835(){const _0x51debb=['changeMarkerRestored','$textProxy','isOpening','data-marker-id','add','suggestion:insertion:id:authorId:','differ','markChangePositionInEditorContent','caption','filter','hasAttribute','$documentFragment','jumpTo','$graveyard','_createGetContentUsingDataIdFn','ellipsisBefore','markerName','ai-review-mode','length','documentFragment','_translateOperationToEditorContent','createDocumentFragment','376708OsrhDQ','listenTo','outerHTML','ck-ai_review-mode-marker_context-start','requires','clone','ellipsisAfter','_changePositionOwnerDocument','htmlProcessor','isIntersecting','No\x20element\x20found\x20for\x20ID:\x20','toView','diffContent','childCount','parent','delete','isInline','_insertMarkers','getPath','afterInit','push','context','getDiff','getChanges','baseVersion','offset','howMany','rootName','applyOperation','dataDowncast','toDomElement','element','history','_hasSameTopLevelElement','innerHTML','processor','ck-ai_review-mode-marker_','getHtml','exec','hasContentBefore','_domEmitter','isOfficialPlugin','attributeToAttribute','schema','_shiftOperation','nodes','index','_changeRangeOwnerDocument','clear','_getOperationStart','sort','_createGetContentFn','markers','_clone','fire','getChildren','$markedRemove','operationsA','text','insertContent','ck-ai_review-mode-marker_add','isPremiumPlugin','htmlWriter','name','isDocumentOperation','DocumentCompare','newRange','getMarkerElementForChange','_eventEmitter','_parseMarkerName','batch','addMarker','899648aMljub','affectsData','1044421XBmRcG','getRoots','_removeChildren','createRawElement','remove-only','addOperation','getChangedMarkers','click','suggestion:deletion:id:authorId:','ck-ai_review-mode-marker_context-end','append','getRoot','values','className','startsWith','_markers','parentElement','insert','change','createText','pop','remove-context','disableReadOnlyMode','hasClass','1675965DnIldj','createRange','model:$text','_validateMarkers','get','[data-id=\x22','backward','_groupAdjacentOperations','_getOperationEnd','target','_getMarkersDataForGroup','ck-ai_review-mode-marker_context-','suggestion-context','oldRange','getStart','1210647UaMYmX','switchToEdit','warn','_sortMarkers','isTouching','_getChangeContext','domConverter','forEach','createPositionAt','span','from','200YBnBPn','position','_appendChild','hasContentAfter','every','ck-ai_review-mode-marker_hide','_removeAttribute','changeMarkerRemoved','getEditor','offsetSize','type','getDomRoot','6vwvqtj','_changePosition','AIEditing','9090ebzhEB','clearAllMarkers','_createGetContextFn','emitter','forward','groupId','pluginName','elements','AIReviewModeEditing','end','editing','_findAdjacentContextDistance','_changeOperationOwnerDocument','changeMarkerClick','_findMarkerElement','querySelector','switchToReadOnly','isAtEnd','createUIElement','operationsIsolated','has','includes','conversion','parse','getShiftedBy','split','markerToHighlight','enableReadOnlyMode','ck-ai_review-mode-marker_strikethrough','[data-marker-id=\x22','_changeRange','plugins','document','remove-text','getChild','data','flat','for','markerToElement','toData','model','remove','viewToDom','downcast','marker','editingDowncast','rejectChange','ck-ai_review-mode-marker_underline','getOperations','reviewmode-','applyChange','isAtStart','getDocumentData','containsRange','map','path','removeMarker','set','getAttribute','createSelection','_nextDataId','273141kNGTrZ','getRange','_setAttribute','registerPostFixer','size','version','keys','_handleMarkerChanges','concat','root','deleteContent','stringify','start','view','createPositionAfter'];_0x4835=function(){return _0x51debb;};return _0x4835();}import{getEditorFromContext as _0x2dd432}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xec86cd}from'../aicore/aiediting.js';const me=_0xff2b94(0x232);export class AIReviewModeEditing extends _0x2b9ee0{static get[_0xff2b94(0x207)](){const _0x27b2ab=_0xff2b94;return _0x27b2ab(0x209);}static get[_0xff2b94(0x17a)](){return[_0x386002,_0xec86cd];}static get[_0xff2b94(0x19f)](){return!0x0;}static get[_0xff2b94(0x1b3)](){return!0x0;}[_0xff2b94(0x1cf)]=new Map();[_0xff2b94(0x19e)];[_0xff2b94(0x1ba)];constructor(_0x2798b4){const _0x578f08=_0xff2b94;super(_0x2798b4),this[_0x578f08(0x19e)]=new(_0x363ba())(),this[_0x578f08(0x1ba)]=new(_0x56b1c2())();}get[_0xff2b94(0x204)](){const _0x45f741=_0xff2b94;return this[_0x45f741(0x1ba)];}[_0xff2b94(0x189)](){const _0x1ec386=_0xff2b94,_0x8345bb=_0x2dd432(this[_0x1ec386(0x18b)]);_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x227)]({'model':me+_0x1ec386(0x1d1),'view':(_0x3c4e3c,{writer:_0x1cc708})=>{const _0x4dd213=_0x1ec386,_0x4a34da=this[_0x4dd213(0x1cf)][_0x4dd213(0x1dc)](_0x3c4e3c[_0x4dd213(0x170)]),_0x4059ba={'class':_0x4dd213(0x1b2),'data-marker-id':_0x3c4e3c[_0x4dd213(0x170)]};return _0x1cc708[_0x4dd213(0x213)](_0x4dd213(0x1f0),_0x4059ba,function(_0x48f57c){const _0x4bd2c4=_0x4dd213,_0x3f379d=this[_0x4bd2c4(0x194)](_0x48f57c);return _0x3f379d[_0x4bd2c4(0x198)]=_0x4a34da?.[_0x4bd2c4(0x1b0)]||'',_0x3f379d;});}}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x1c4),'view':_0x126d2f=>({'classes':_0x1ec386(0x21d),'attributes':{'data-marker-id':_0x126d2f[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x1d5),'view':_0x34d165=>({'classes':_0x1ec386(0x230),'attributes':{'data-marker-id':_0x34d165[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22e))[_0x1ec386(0x21b)]({'model':me+_0x1ec386(0x222),'view':_0xa26a94=>({'classes':_0x1ec386(0x1f7),'attributes':{'data-marker-id':_0xa26a94[_0x1ec386(0x170)]}})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x193))[_0x1ec386(0x227)]({'model':me+_0x1ec386(0x1e4),'view':(_0x46e587,{writer:_0x4f041b})=>_0x4f041b[_0x1ec386(0x1c3)](_0x1ec386(0x1f0),{'class':_0x1ec386(0x1e3)+(_0x46e587[_0x1ec386(0x162)]?_0x1ec386(0x15d):_0x1ec386(0x20a))})}),_0x8345bb[_0x1ec386(0x217)][_0x1ec386(0x226)](_0x1ec386(0x22c))[_0x1ec386(0x1a0)]({'model':_0x4840cb,'view':_0x278019}),this[_0x1ec386(0x19e)][_0x1ec386(0x177)](document,_0x1ec386(0x1c7),(_0x2da34d,_0x269901)=>{const _0x1114d4=_0x1ec386,_0x5ac540=_0x269901[_0x1114d4(0x1e1)],_0xd2e8ed=this[_0x1114d4(0x20f)](_0x5ac540);if(!_0xd2e8ed)return;const _0x1bbcc7=_0xd2e8ed[_0x1114d4(0x14e)](_0x1114d4(0x163)),_0x5b8de0=_0x1bbcc7[_0x1114d4(0x21a)](':')[_0x1114d4(0x1d4)]()?.[_0x1114d4(0x21a)]('_')[0x0];this[_0x1114d4(0x1ba)][_0x1114d4(0x1ac)](_0x1114d4(0x20e),{'markerId':_0x1bbcc7,'changeId':_0x5b8de0});}),_0x8345bb[_0x1ec386(0x229)][_0x1ec386(0x221)][_0x1ec386(0x154)](_0x16f919=>this[_0x1ec386(0x1db)](_0x8345bb,_0x16f919)),_0x8345bb[_0x1ec386(0x229)][_0x1ec386(0x221)]['on'](_0x1ec386(0x1d2),()=>this[_0x1ec386(0x158)](_0x8345bb));}[_0xff2b94(0x148)](){const _0x2588cc=_0xff2b94,_0x243d9d=this[_0x2588cc(0x18b)][_0x2588cc(0x220)][_0x2588cc(0x1dc)](_0x2588cc(0x200)),_0x17df19=_0x2dd432(this[_0x2588cc(0x18b)]),_0x2c3a06=_0x17df19[_0x2588cc(0x229)],_0x3d89b8=new _0x34f008();for(const _0x119f43 of _0x2c3a06[_0x2588cc(0x221)][_0x2588cc(0x1cb)]()[_0x2588cc(0x1ad)]()){const _0x1a50ca=_0x119f43[_0x2588cc(0x1ab)](!0x0);_0x3d89b8[_0x2588cc(0x1f4)](_0x1a50ca);}for(const _0x4b956f of _0x2c3a06[_0x2588cc(0x1aa)])_0x3d89b8[_0x2588cc(0x1aa)][_0x2588cc(0x14d)](_0x4b956f[_0x2588cc(0x1b5)],this[_0x2588cc(0x1a5)](_0x4b956f[_0x2588cc(0x152)]()[_0x2588cc(0x17b)](),_0x3d89b8));const _0x4ac632=new _0x4fbbb7({'ignoreElementEnd':!0x0,'startPosition':_0x2c3a06[_0x2588cc(0x1ef)](_0x3d89b8,0x0)}),_0x178694=new Set(),_0x1715e4=new Map();for(const {item:_0x294ade}of _0x4ac632){if(!_0x294ade['is'](_0x2588cc(0x161)))continue;const _0x37b69e=_0x294ade[_0x2588cc(0x184)];if((!_0x37b69e||!_0x37b69e['is'](_0x2588cc(0x195),_0x2588cc(0x168)))&&(_0x37b69e&&_0x37b69e['is'](_0x2588cc(0x195)))){let _0x6b7f4c=_0x37b69e[_0x2588cc(0x14e)](_0x4840cb);_0x6b7f4c||(_0x6b7f4c=_0x243d9d[_0x2588cc(0x150)](_0x178694),_0x37b69e[_0x2588cc(0x153)](_0x4840cb,_0x6b7f4c)),_0x178694[_0x2588cc(0x164)](_0x6b7f4c);let _0x18d504=_0x37b69e;for(;_0x18d504[_0x2588cc(0x184)]&&!_0x18d504[_0x2588cc(0x184)]['is'](_0x2588cc(0x173));)_0x18d504=_0x18d504[_0x2588cc(0x184)],_0x18d504[_0x2588cc(0x16a)](_0x4840cb)&&_0x18d504[_0x2588cc(0x1f8)](_0x4840cb);_0x1715e4[_0x2588cc(0x14d)](_0x6b7f4c,{'path':_0x37b69e[_0x2588cc(0x188)](),'getContent':this[_0x2588cc(0x16e)](_0x18d504[_0x2588cc(0x1ab)](!0x0),_0x6b7f4c,_0x17df19[_0x2588cc(0x224)])}),_0x4ac632[_0x2588cc(0x16c)](_0x2c3a06[_0x2588cc(0x15f)](_0x37b69e));}}return{'content':_0x17df19[_0x2588cc(0x224)][_0x2588cc(0x199)][_0x2588cc(0x228)](_0x17df19[_0x2588cc(0x224)][_0x2588cc(0x181)](_0x3d89b8)),'version':_0x17df19[_0x2588cc(0x229)][_0x2588cc(0x221)][_0x2588cc(0x156)],'elements':_0x1715e4};}[_0xff2b94(0x182)](_0x15322b,_0x5af7d7){const _0x17913c=_0xff2b94,_0x14ce80=[],_0xb9e4b8=_0x2dd432(this[_0x17913c(0x18b)]),_0xb131fe=_0xb9e4b8[_0x17913c(0x224)][_0x17913c(0x218)](_0x15322b,_0x17913c(0x16b)),_0x2d85ce=_0xb9e4b8[_0x17913c(0x229)][_0x17913c(0x1ef)](_0xb131fe,0x0),_0x4374b8=_0xb9e4b8[_0x17913c(0x224)][_0x17913c(0x218)](_0x5af7d7,_0x17913c(0x16b));if(!this[_0x17913c(0x197)](_0xb131fe,_0x4374b8))return _0x14ce80;const _0x2a01fa=this[_0x17913c(0x18b)][_0x17913c(0x220)][_0x17913c(0x1dc)](_0x17913c(0x1b7))[_0x17913c(0x18c)](_0x15322b,_0x5af7d7,{'anchor':_0x2d85ce,'markDeletions':!0x0})[_0x17913c(0x231)]()[_0x17913c(0x169)](_0x5a6317=>_0x17913c(0x1d1)===_0x5a6317[_0x17913c(0x1fc)]||_0x17913c(0x22d)===_0x5a6317[_0x17913c(0x1fc)]&&_0x5a6317[_0x17913c(0x1b5)][_0x17913c(0x1ce)](_0x17913c(0x1ae))),_0x11b654=this[_0x17913c(0x1df)](_0x2a01fa);let _0x2cdd3c=0x0;return _0xb9e4b8[_0x17913c(0x229)][_0x17913c(0x1d2)](_0x1bfc87=>{const _0x3e4b75=_0x17913c;for(let _0xacb89f=0x0;_0xacb89f<_0x11b654[_0x3e4b75(0x172)];_0xacb89f++){const _0x18121c=_0x11b654[_0xacb89f],_0x36aac5=_0x1bfc87[_0x3e4b75(0x175)]();for(const _0x431cd7 of _0xb131fe[_0x3e4b75(0x1ad)]())_0x1bfc87[_0x3e4b75(0x1ca)](_0x431cd7[_0x3e4b75(0x1ab)](!0x0),_0x36aac5);for(const _0x5af803 of _0x18121c[_0x3e4b75(0x214)])if(_0x3e4b75(0x1d1)===_0x5af803[_0x3e4b75(0x1fc)]){const _0x5e9554=_0x5af803;_0x5e9554[_0x3e4b75(0x18e)]=null,_0x5e9554[_0x3e4b75(0x1b6)]=!0x1,this[_0x3e4b75(0x20d)](_0x5e9554,_0x36aac5),_0x1bfc87[_0x3e4b75(0x1bc)][_0x3e4b75(0x1c5)](_0x5af803),_0xb9e4b8[_0x3e4b75(0x229)][_0x3e4b75(0x192)](_0x5af803);const _0x100e96=_0x3e4b75(0x165)+_0x2cdd3c++,_0x5db704=_0xb9e4b8[_0x3e4b75(0x229)][_0x3e4b75(0x1d9)](_0x5e9554[_0x3e4b75(0x1f3)],_0x5e9554[_0x3e4b75(0x1f3)][_0x3e4b75(0x219)](_0x5e9554[_0x3e4b75(0x190)]));_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](_0x100e96,_0x5db704);}else{if(_0x3e4b75(0x22d)===_0x5af803[_0x3e4b75(0x1fc)]&&_0x5af803[_0x3e4b75(0x1b5)][_0x3e4b75(0x1ce)](_0x3e4b75(0x1ae))){const _0x1ca6c1=_0x5af803,_0x48ce06=_0x3e4b75(0x1c8)+_0x2cdd3c++;this[_0x3e4b75(0x20d)](_0x1ca6c1,_0x36aac5),_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](_0x48ce06,_0x1ca6c1[_0x3e4b75(0x1b8)]);}}const _0x4457d5=this[_0x3e4b75(0x1ec)](this[_0x3e4b75(0x17d)](this[_0x3e4b75(0x1a7)](_0x18121c[_0x3e4b75(0x214)][0x0]),_0x36aac5),this[_0x3e4b75(0x17d)](this[_0x3e4b75(0x1e0)](_0x18121c[_0x3e4b75(0x214)][_0x18121c[_0x3e4b75(0x214)][_0x3e4b75(0x172)]-0x1]),_0x36aac5));_0x36aac5[_0x3e4b75(0x1aa)][_0x3e4b75(0x14d)](me+_0x3e4b75(0x1e4),new _0x1ae561(_0x4457d5[_0x3e4b75(0x15d)],_0x4457d5[_0x3e4b75(0x20a)])),_0x14ce80[_0x3e4b75(0x18a)]({..._0x18121c,'context':this[_0x3e4b75(0x203)](_0x36aac5,_0xb9e4b8[_0x3e4b75(0x224)],{'ellipsisBefore':_0x4457d5[_0x3e4b75(0x19d)],'ellipsisAfter':_0x4457d5[_0x3e4b75(0x1f5)]}),'content':this[_0x3e4b75(0x1a9)](_0x36aac5,_0xb9e4b8[_0x3e4b75(0x224)])});}}),_0x14ce80;}[_0xff2b94(0x167)](_0x2b73f7,_0x281d0e){const _0x4f0fd2=_0xff2b94;if(!_0x2b73f7[_0x4f0fd2(0x172)])return;const _0x1a41cb=_0x2b73f7[0x0][_0x4f0fd2(0x184)]['id'],_0x259920=_0x281d0e[_0x4f0fd2(0x208)][_0x4f0fd2(0x1dc)](_0x1a41cb);if(!_0x259920)return void console[_0x4f0fd2(0x1e9)](_0x4f0fd2(0x180)+_0x1a41cb);const _0x59337e=_0x259920[_0x4f0fd2(0x14b)],_0x31ac8e=_0x2dd432(this[_0x4f0fd2(0x18b)]),_0xf4c1f0=_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)][_0x4f0fd2(0x196)][_0x4f0fd2(0x231)](_0x281d0e[_0x4f0fd2(0x156)]),_0x56f404=[];for(const _0x3558c3 of _0x2b73f7){const _0x3dbd6c=_0x3558c3[_0x4f0fd2(0x214)][_0x4f0fd2(0x14a)](_0x7a469d=>this[_0x4f0fd2(0x174)](_0x7a469d,_0x59337e,_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)][_0x4f0fd2(0x1c1)]()[0x0]));if(!_0x3dbd6c||!_0x3dbd6c[_0x4f0fd2(0x172)])continue;const _0x5e3a83=_0x3dbd6c[_0x4f0fd2(0x1f6)](_0x47ed2b=>_0x4f0fd2(0x22d)===_0x47ed2b[_0x4f0fd2(0x1fc)]&&_0x47ed2b[_0x4f0fd2(0x1b5)][_0x4f0fd2(0x1ce)](_0x4f0fd2(0x1ae))),_0x5daa26={'document':_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x221)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2bc37c=_0x37f3b3(_0x3dbd6c,_0xf4c1f0,_0x5daa26)[_0x4f0fd2(0x1af)];for(const _0x492ccc of _0x2bc37c)if(_0x4f0fd2(0x1d1)===_0x492ccc[_0x4f0fd2(0x1fc)]){const _0x415f6a=_0x492ccc,_0x1d0ded=_0x415f6a[_0x4f0fd2(0x1a3)];let _0xc90c70='';for(const _0x5a7ac8 of _0x1d0ded)_0x5a7ac8&&_0x5a7ac8['is'](_0x4f0fd2(0x1da))&&(_0xc90c70+=_0x5a7ac8[_0x4f0fd2(0x224)]);_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x415f6a[_0x4f0fd2(0x1f3)],'end':_0x415f6a[_0x4f0fd2(0x1f3)],'type':_0x4f0fd2(0x1d1),'groupId':_0x3558c3['id'],'text':_0xc90c70});}else{if(_0x4f0fd2(0x22d)===_0x492ccc[_0x4f0fd2(0x1fc)]&&_0x492ccc[_0x4f0fd2(0x1b5)][_0x4f0fd2(0x1ce)](_0x4f0fd2(0x1ae))){const _0x23694f=_0x492ccc;let _0x71b748=_0x4f0fd2(0x222);if(_0x5e3a83){const _0x268e06=this[_0x4f0fd2(0x20c)](_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)],_0x4f0fd2(0x1de),_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x1a1)]),_0xff835b=this[_0x4f0fd2(0x20c)](_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)],_0x4f0fd2(0x205),_0x31ac8e[_0x4f0fd2(0x229)][_0x4f0fd2(0x1a1)]);if(_0x268e06||_0xff835b){const _0x2bfed3=_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)][_0x4f0fd2(0x219)](-_0x268e06),_0x2980c9=_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)][_0x4f0fd2(0x219)](_0xff835b);_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x2bfed3,'end':_0x2980c9,'groupId':_0x3558c3['id'],'type':_0x4f0fd2(0x1d5)});}else _0x71b748=_0x4f0fd2(0x1c4);}_0x56f404[_0x4f0fd2(0x18a)]({'start':_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x15d)],'end':_0x23694f[_0x4f0fd2(0x1b8)][_0x4f0fd2(0x20a)],'groupId':_0x3558c3['id'],'type':_0x71b748});}}}this[_0x4f0fd2(0x187)](_0x56f404);}[_0xff2b94(0x202)](){const _0x3c676d=_0xff2b94,_0x1b1e9a=_0x2dd432(this[_0x3c676d(0x18b)]);_0x1b1e9a[_0x3c676d(0x229)][_0x3c676d(0x1d2)](_0x29503=>{const _0x31a430=_0x3c676d;for(const _0x22c199 of this[_0x31a430(0x1cf)][_0x31a430(0x157)]())_0x1b1e9a[_0x31a430(0x229)][_0x31a430(0x1aa)][_0x31a430(0x1dc)](_0x22c199)&&_0x29503[_0x31a430(0x14c)](_0x22c199);}),this[_0x3c676d(0x1cf)][_0x3c676d(0x1a6)]();}[_0xff2b94(0x211)](){const _0x44c299=_0xff2b94;_0x2dd432(this[_0x44c299(0x18b)])[_0x44c299(0x21c)](_0x44c299(0x171));}[_0xff2b94(0x1e8)](){const _0x3f3670=_0xff2b94;_0x2dd432(this[_0x3f3670(0x18b)])[_0x3f3670(0x1d6)](_0x3f3670(0x171));}[_0xff2b94(0x233)](_0x438faf){const _0x44781f=_0xff2b94,_0x3c5b73=_0x2dd432(this[_0x44781f(0x18b)]),_0xab6551=_0x3c5b73[_0x44781f(0x229)],_0x535b7b=_0x438faf[_0x44781f(0x14a)](_0x189ff7=>this[_0x44781f(0x1e2)](_0x189ff7))[_0x44781f(0x225)]();_0xab6551[_0x44781f(0x1d2)](_0x4b6df5=>{const _0x3ef07d=_0x44781f;for(const _0x4911c5 of _0x535b7b){const _0xe3037c=_0x3c5b73[_0x3ef07d(0x229)][_0x3ef07d(0x1aa)][_0x3ef07d(0x1dc)](_0x4911c5['id']);_0xe3037c&&(_0x3ef07d(0x1d1)===_0x4911c5[_0x3ef07d(0x1fc)]?_0xab6551[_0x3ef07d(0x1b1)](_0x4b6df5[_0x3ef07d(0x1d3)](_0x4911c5[_0x3ef07d(0x1b0)]||''),_0xe3037c[_0x3ef07d(0x152)]()[_0x3ef07d(0x15d)]):_0x3ef07d(0x222)!==_0x4911c5[_0x3ef07d(0x1fc)]&&_0x3ef07d(0x1c4)!==_0x4911c5[_0x3ef07d(0x1fc)]||_0xab6551[_0x3ef07d(0x15b)](_0xab6551[_0x3ef07d(0x14f)](_0xe3037c[_0x3ef07d(0x152)]())),_0x4b6df5[_0x3ef07d(0x14c)](_0x4911c5['id']),this[_0x3ef07d(0x1cf)][_0x3ef07d(0x185)](_0x4911c5['id']));}});}[_0xff2b94(0x22f)](_0x4134b3){const _0x2e3cec=_0xff2b94,_0xa231f7=_0x2dd432(this[_0x2e3cec(0x18b)]),_0x36932c=this[_0x2e3cec(0x1e2)](_0x4134b3);_0xa231f7[_0x2e3cec(0x229)][_0x2e3cec(0x1d2)](_0x10b305=>{const _0x16745d=_0x2e3cec;for(const _0x1f9691 of _0x36932c)_0x10b305[_0x16745d(0x14c)](_0x1f9691['id']),this[_0x16745d(0x1cf)][_0x16745d(0x185)](_0x1f9691['id']);});}[_0xff2b94(0x1fa)](){const _0x1be729=_0xff2b94;return _0x2dd432(this[_0x1be729(0x18b)]);}[_0xff2b94(0x1b9)](_0x1d9560){const _0x2a95c0=_0xff2b94,_0x71b535=Array[_0x2a95c0(0x1f1)](this[_0x2a95c0(0x1cf)][_0x2a95c0(0x1cc)]())[_0x2a95c0(0x169)](_0x3e52a3=>_0x3e52a3[_0x2a95c0(0x206)]===_0x1d9560);if(!_0x71b535[_0x2a95c0(0x172)])return null;const _0x5ede9a=0x1===_0x71b535[_0x2a95c0(0x172)]?_0x71b535[0x0]:this[_0x2a95c0(0x1ea)](_0x71b535)[0x0],_0x1f0af9=_0x2dd432(this[_0x2a95c0(0x18b)]),_0x4ef525=_0x1f0af9[_0x2a95c0(0x229)][_0x2a95c0(0x1aa)][_0x2a95c0(0x1dc)](_0x5ede9a['id']);if(!_0x4ef525)return null;const _0x51fbe8=_0x4ef525[_0x2a95c0(0x152)](),_0x1aae15=_0x1f0af9[_0x2a95c0(0x20b)][_0x2a95c0(0x15e)][_0x2a95c0(0x1fd)]();if(!_0x1aae15||!_0x51fbe8)return null;const _0xa0af19=_0x1aae15[_0x2a95c0(0x210)](_0x2a95c0(0x21e)+_0x5ede9a['id']+'\x22]');return _0xa0af19?{'modelRange':_0x51fbe8,'domElement':_0xa0af19}:null;}[_0xff2b94(0x1db)](_0x35161b,_0x32ddaf){const _0x8687ff=_0xff2b94,_0x18f533=Array[_0x8687ff(0x1f1)](this[_0x8687ff(0x1cf)][_0x8687ff(0x157)]()),_0x5a16c1=new Map();for(const _0x75eb73 of _0x18f533){const _0x1b1ff4=_0x35161b[_0x8687ff(0x229)][_0x8687ff(0x1aa)][_0x8687ff(0x1dc)](_0x75eb73);if(!_0x1b1ff4)continue;const _0x815660=_0x1b1ff4[_0x8687ff(0x1e6)]()[_0x8687ff(0x14b)][0x0];_0x5a16c1[_0x8687ff(0x215)](_0x815660)||_0x5a16c1[_0x8687ff(0x14d)](_0x815660,[]),_0x5a16c1[_0x8687ff(0x1dc)](_0x815660)[_0x8687ff(0x18a)](_0x1b1ff4);}const _0x5b83f0=new Set();for(const _0x14ff97 of _0x35161b[_0x8687ff(0x229)][_0x8687ff(0x221)][_0x8687ff(0x166)][_0x8687ff(0x18d)]()){let _0x173f45=-0x1,_0x12214c=null;if(_0x8687ff(0x1d1)===_0x14ff97[_0x8687ff(0x1fc)])_0x12214c=new _0x1ae561(_0x14ff97[_0x8687ff(0x1f3)],_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x219)](_0x14ff97[_0x8687ff(0x172)])),_0x173f45=_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x14b)][0x0];else{if(_0x8687ff(0x22a)!==_0x14ff97[_0x8687ff(0x1fc)])continue;_0x12214c=new _0x1ae561(_0x14ff97[_0x8687ff(0x1f3)]),_0x173f45=_0x14ff97[_0x8687ff(0x1f3)][_0x8687ff(0x14b)][0x0];}const _0x2e8782=_0x5a16c1[_0x8687ff(0x1dc)](_0x173f45)||[];if(_0x2e8782[_0x8687ff(0x172)]){for(const _0x3eddf8 of _0x2e8782)if(_0x12214c[_0x8687ff(0x15a)][_0x8687ff(0x191)]===_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x15a)][_0x8687ff(0x191)]&&(_0x8687ff(0x1d1)!==_0x14ff97[_0x8687ff(0x1fc)]||!_0x12214c[_0x8687ff(0x149)](_0x3eddf8[_0x8687ff(0x152)]()))&&(_0x12214c[_0x8687ff(0x17f)](_0x3eddf8[_0x8687ff(0x152)]())||_0x12214c[_0x8687ff(0x15d)][_0x8687ff(0x1eb)](_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x20a)])||_0x12214c[_0x8687ff(0x20a)][_0x8687ff(0x1eb)](_0x3eddf8[_0x8687ff(0x152)]()[_0x8687ff(0x15d)]))){const _0x53b6bd=this[_0x8687ff(0x1bb)](_0x3eddf8[_0x8687ff(0x1b5)]);Array[_0x8687ff(0x1f1)](this[_0x8687ff(0x1cf)][_0x8687ff(0x1cc)]())[_0x8687ff(0x169)](_0x1ff38e=>_0x1ff38e[_0x8687ff(0x206)]===_0x53b6bd[_0x8687ff(0x206)])[_0x8687ff(0x1ee)](_0x369764=>_0x5b83f0[_0x8687ff(0x164)](_0x369764['id']));}}}if(_0x5b83f0[_0x8687ff(0x155)]){for(const _0x5e8577 of _0x5b83f0)_0x32ddaf[_0x8687ff(0x14c)](_0x5e8577);return!0x0;}return!0x1;}[_0xff2b94(0x158)](_0xc892a5){const _0x408c10=_0xff2b94;for(const {name:_0x239891,data:_0x23371e}of _0xc892a5[_0x408c10(0x229)][_0x408c10(0x221)][_0x408c10(0x166)][_0x408c10(0x1c6)]()){if(!_0x239891[_0x408c10(0x1ce)](me))continue;const _0x5aa424=_0x23371e[_0x408c10(0x1e5)],_0x39bef8=_0x23371e[_0x408c10(0x1b8)],_0x4d44e4=_0x5aa424&&_0x408c10(0x16d)===_0x5aa424[_0x408c10(0x15a)][_0x408c10(0x191)],_0x4f7415=_0x39bef8&&_0x408c10(0x16d)===_0x39bef8[_0x408c10(0x15a)][_0x408c10(0x191)];if(_0x4d44e4&&_0x4f7415)continue;const _0x4363c2=this[_0x408c10(0x1bb)](_0x239891);this[_0x408c10(0x1cf)][_0x408c10(0x1dc)](_0x239891)&&(_0x4f7415||!_0x39bef8?this[_0x408c10(0x1ba)][_0x408c10(0x1ac)](_0x408c10(0x1f9),{'markerId':_0x239891,'changeId':_0x4363c2[_0x408c10(0x206)]}):_0x4d44e4&&_0x39bef8&&this[_0x408c10(0x1ba)][_0x408c10(0x1ac)](_0x408c10(0x160),{'markerId':_0x239891,'changeId':_0x4363c2[_0x408c10(0x206)]}));}}[_0xff2b94(0x1bb)](_0x3805eb){const _0x3d0032=_0xff2b94,_0x22cd52=_0x3805eb[_0x3d0032(0x21a)](':'),_0x1c0c47=(_0x22cd52[0x1]||'')[_0x3d0032(0x21a)]('_');return{'prefix':_0x22cd52[0x0],'groupId':_0x1c0c47[0x0],'suffix':_0x1c0c47[0x1]};}[_0xff2b94(0x174)](_0x2e9ff0,_0x19b7ca,_0x1a79cb){const _0xad83f6=_0xff2b94;if(_0xad83f6(0x1d1)===_0x2e9ff0[_0xad83f6(0x1fc)]){const _0x562917=_0x2e9ff0;return new _0x2bc0ae(this[_0xad83f6(0x1ff)](_0x19b7ca[_0xad83f6(0x159)](_0x562917[_0xad83f6(0x1f3)][_0xad83f6(0x18f)]),_0x1a79cb),_0x562917[_0xad83f6(0x1a3)],_0x562917[_0xad83f6(0x18e)]);}if(_0xad83f6(0x22d)===_0x2e9ff0[_0xad83f6(0x1fc)]&&_0x2e9ff0[_0xad83f6(0x1b5)][_0xad83f6(0x1ce)](_0xad83f6(0x1ae))){const _0x3d75cb=_0x2e9ff0;return new _0x1ae859(_0x3d75cb[_0xad83f6(0x1b5)],_0x3d75cb[_0xad83f6(0x1e5)],this[_0xad83f6(0x21f)](_0x3d75cb[_0xad83f6(0x1b8)],_0x19b7ca[_0xad83f6(0x159)](_0x3d75cb[_0xad83f6(0x1b8)][_0xad83f6(0x15d)][_0xad83f6(0x18f)]),_0x19b7ca[_0xad83f6(0x159)](_0x3d75cb[_0xad83f6(0x1b8)][_0xad83f6(0x20a)][_0xad83f6(0x18f)]),_0x1a79cb),_0x3d75cb[_0xad83f6(0x1cf)],_0x3d75cb[_0xad83f6(0x1bf)],_0x3d75cb[_0xad83f6(0x18e)]);}return _0x2e9ff0;}[_0xff2b94(0x1df)](_0x52d710){const _0x44b262=_0xff2b94;if(!_0x52d710[_0x44b262(0x172)])return[];const _0x33a3f7=[];let _0xd8f840=0x0,_0x42d77b=0x0,_0x2b3cac=[];for(let _0x4368a2=0x0;_0x4368a2<=_0x52d710[_0x44b262(0x172)];_0x4368a2++){const _0xa81a66=_0x52d710[_0x4368a2],_0x3da607=_0x52d710[_0x4368a2-0x1];!_0xa81a66||_0x3da607&&!this[_0x44b262(0x1e0)](_0x3da607)[_0x44b262(0x1eb)](this[_0x44b262(0x1a7)](_0xa81a66))?(_0x33a3f7[_0x44b262(0x18a)]({'operations':_0x2b3cac,'operationsIsolated':_0x2b3cac[_0x44b262(0x14a)](_0x2f0f1f=>this[_0x44b262(0x1a2)](_0x2f0f1f[_0x44b262(0x17b)](),-_0x42d77b)),'groupOffset':_0xd8f840}),_0x2b3cac=_0xa81a66?[_0xa81a66]:[],_0x42d77b+=_0xd8f840,_0xd8f840=0x0):_0x2b3cac[_0x44b262(0x18a)](_0xa81a66),_0xa81a66&&_0x44b262(0x1d1)===_0xa81a66[_0x44b262(0x1fc)]&&(_0xd8f840+=_0xa81a66[_0x44b262(0x190)]);}return _0x33a3f7;}[_0xff2b94(0x20c)](_0x53b9a4,_0x12a013,_0x21f484,_0x30dcb8=0x1){const _0xeed9ee=_0xff2b94,_0x498aa9=new _0x4fbbb7({'startPosition':_0x53b9a4,'direction':_0x12a013});let _0x4565a7=0x0;for(let _0x10e7ed=0x0;_0x10e7ed<_0x30dcb8;_0x10e7ed++){let _0x2f853f=0x0,_0x1382cd=!0x1,_0x50a019=_0xeed9ee(0x205)===_0x12a013?/^\W*\w+/:/\w+\W*$/;for(const {item:_0xd6e4e9}of _0x498aa9)if(_0xd6e4e9['is'](_0xeed9ee(0x161))){const _0x45f622=_0x50a019[_0xeed9ee(0x19c)](_0xd6e4e9[_0xeed9ee(0x224)]);if(_0x45f622&&_0x45f622[_0xeed9ee(0x172)]){if(_0x2f853f+=_0xeed9ee(0x205)===_0x12a013?_0x45f622[_0xeed9ee(0x1a4)]+_0x45f622[0x0][_0xeed9ee(0x172)]:_0xd6e4e9[_0xeed9ee(0x224)][_0xeed9ee(0x172)]-_0x45f622[_0xeed9ee(0x1a4)],_0x45f622[0x0][_0xeed9ee(0x172)]!==_0xd6e4e9[_0xeed9ee(0x224)][_0xeed9ee(0x172)])break;_0x1382cd=!0x0,_0x50a019=_0xeed9ee(0x205)===_0x12a013?/^\w+/:/\w+$/;}else{if(_0x1382cd)break;_0x2f853f+=_0xd6e4e9[_0xeed9ee(0x1fb)];}}else{if(_0xd6e4e9['is'](_0xeed9ee(0x195))){_0x21f484[_0xeed9ee(0x186)](_0xd6e4e9)&&!_0x1382cd&&(_0x2f853f+=0x1);break;}}_0x4565a7+=_0x2f853f,_0x498aa9[_0xeed9ee(0x16c)](_0x53b9a4[_0xeed9ee(0x219)](_0xeed9ee(0x205)===_0x12a013?_0x4565a7:-_0x4565a7));}return _0x4565a7;}[_0xff2b94(0x1ec)](_0x5517b2,_0x3df8ff){const _0x5f096e=_0xff2b94,_0x34691a=_0x2dd432(this[_0x5f096e(0x18b)])[_0x5f096e(0x229)][_0x5f096e(0x1a1)],_0x170c60=this[_0x5f096e(0x20c)](_0x5517b2,_0x5f096e(0x1de),_0x34691a,0x6),_0xa8a9f6=this[_0x5f096e(0x20c)](_0x3df8ff,_0x5f096e(0x205),_0x34691a,0x6),_0x10242d=_0x5517b2[_0x5f096e(0x219)](-_0x170c60),_0x19dce7=_0x3df8ff[_0x5f096e(0x219)](_0xa8a9f6);return{'start':_0x10242d,'end':_0x19dce7,'hasContentBefore':!_0x10242d[_0x5f096e(0x234)],'hasContentAfter':!_0x19dce7[_0x5f096e(0x212)]};}[_0xff2b94(0x187)](_0x49f264){const _0x3f6e0f=_0xff2b94,_0x239577=this[_0x3f6e0f(0x18b)][_0x3f6e0f(0x220)][_0x3f6e0f(0x1dc)](_0x3f6e0f(0x200)),_0xfba50b=new Set();_0x2dd432(this[_0x3f6e0f(0x18b)])[_0x3f6e0f(0x229)][_0x3f6e0f(0x1d2)](_0x439655=>{const _0x23a92f=_0x3f6e0f;for(const _0x40787b of _0x49f264){const _0x327854=''+me+_0x40787b[_0x23a92f(0x1fc)]+':'+_0x40787b[_0x23a92f(0x206)]+'_'+_0x239577[_0x23a92f(0x150)](_0xfba50b);this[_0x23a92f(0x1cf)][_0x23a92f(0x14d)](_0x327854,{'id':_0x327854,'groupId':_0x40787b[_0x23a92f(0x206)],'type':_0x40787b[_0x23a92f(0x1fc)],'text':_0x40787b[_0x23a92f(0x1b0)]}),_0x439655[_0x23a92f(0x1bd)](_0x327854,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x439655[_0x23a92f(0x1d9)](_0x40787b[_0x23a92f(0x15d)],_0x40787b[_0x23a92f(0x20a)])});}});}[_0xff2b94(0x203)](_0x2ea385,_0x588c37,_0x55a756){let _0xbf73f4='';return()=>{const _0x5b8d80=_0x1a8a;if(!_0xbf73f4){const _0x4473cc=_0x588c37[_0x5b8d80(0x181)](_0x2ea385,{'showSuggestionHighlights':!0x0}),_0x5763cc=_0x4473cc[_0x5b8d80(0x223)](0x0);if(!_0x5763cc)return'';let _0x230be7=!0x1;const _0x1132aa=[];for(const _0x100874 of _0x5763cc[_0x5b8d80(0x1ad)]())_0x100874['is'](_0x5b8d80(0x195),_0x5b8d80(0x1f0))&&_0x100874[_0x5b8d80(0x1d7)](_0x5b8d80(0x1c9))&&(_0x230be7=!0x1),_0x230be7&&_0x1132aa[_0x5b8d80(0x18a)](_0x100874),_0x100874['is'](_0x5b8d80(0x195),_0x5b8d80(0x1f0))&&_0x100874[_0x5b8d80(0x1d7)](_0x5b8d80(0x179))&&(_0x230be7=!0x0);_0x5763cc[_0x5b8d80(0x1c2)](0x0,_0x5763cc[_0x5b8d80(0x183)]),_0x55a756?.[_0x5b8d80(0x16f)]&&_0x5763cc[_0x5b8d80(0x1f4)]('…'),_0x5763cc[_0x5b8d80(0x1f4)](_0x1132aa),_0x55a756?.[_0x5b8d80(0x17c)]&&_0x5763cc[_0x5b8d80(0x1f4)]('…');const _0xb31746=_0x588c37[_0x5b8d80(0x17e)][_0x5b8d80(0x1ed)][_0x5b8d80(0x22b)](_0x4473cc),_0x4f9cac=_0x588c37[_0x5b8d80(0x17e)][_0x5b8d80(0x1b4)][_0x5b8d80(0x19b)](_0xb31746);_0xbf73f4=_0x4f9cac;}return _0xbf73f4;};}[_0xff2b94(0x1a9)](_0x542d13,_0x39b54e){const _0x4a1251=_0xff2b94;let _0x5df12d='';return()=>(_0x5df12d||(_0x5df12d=_0x39b54e[_0x4a1251(0x15c)](_0x542d13,{'showSuggestionHighlights':!0x0})),_0x5df12d);}[_0xff2b94(0x16e)](_0xbb570a,_0x3fe165,_0x11011a){let _0x716258='';return()=>{const _0x300e74=_0x1a8a;if(!_0x716258){const _0x2bef56=_0x11011a[_0x300e74(0x181)](new _0x34f008(_0xbb570a)),_0x1698a8=_0x11011a[_0x300e74(0x17e)][_0x300e74(0x1ed)][_0x300e74(0x22b)](_0x2bef56)[_0x300e74(0x210)](_0x300e74(0x1dd)+_0x3fe165+'\x22]');_0x716258=_0x1698a8?.[_0x300e74(0x178)]||'';}return _0x716258;};}[_0xff2b94(0x20f)](_0x926fa0,_0x1eb6ad=0x5){const _0xd030d6=_0xff2b94;let _0x15e01e=_0x926fa0,_0x57c1d1=null;for(let _0x1d299d=0x0;_0x1d299d<_0x1eb6ad&&_0x15e01e;_0x1d299d++){if(!_0x15e01e[_0xd030d6(0x1cd)]){_0x15e01e=_0x15e01e[_0xd030d6(0x1d0)];continue;}if(!(''+_0x15e01e[_0xd030d6(0x1cd)])[_0xd030d6(0x216)](_0xd030d6(0x19a))){_0x15e01e=_0x15e01e[_0xd030d6(0x1d0)];continue;}if(!_0x15e01e[_0xd030d6(0x14e)](_0xd030d6(0x163)))break;_0x57c1d1=_0x15e01e;break;}return _0x57c1d1;}[_0xff2b94(0x1e2)](_0x2a51aa){const _0x6139bf=_0xff2b94;return Array[_0x6139bf(0x1f1)](this[_0x6139bf(0x1cf)][_0x6139bf(0x1cc)]())[_0x6139bf(0x169)](_0x3907bc=>_0x3907bc[_0x6139bf(0x206)]===_0x2a51aa);}[_0xff2b94(0x1a7)](_0x3c2a96){const _0x6b67b7=_0xff2b94;return _0x6b67b7(0x1d1)===_0x3c2a96[_0x6b67b7(0x1fc)]?_0x3c2a96[_0x6b67b7(0x1f3)]:_0x3c2a96[_0x6b67b7(0x1b8)][_0x6b67b7(0x15d)];}[_0xff2b94(0x1e0)](_0x1bb3c3,_0x267a56=!0x1){const _0x110fdb=_0xff2b94;return _0x110fdb(0x1d1)===_0x1bb3c3[_0x110fdb(0x1fc)]?_0x267a56?_0x1bb3c3[_0x110fdb(0x1f3)]:_0x1bb3c3[_0x110fdb(0x1f3)][_0x110fdb(0x219)](_0x1bb3c3[_0x110fdb(0x190)]):_0x1bb3c3[_0x110fdb(0x1b8)][_0x110fdb(0x20a)];}[_0xff2b94(0x1a2)](_0x586172,_0x3175f7){const _0x4be8ce=_0xff2b94;return _0x4be8ce(0x1d1)===_0x586172[_0x4be8ce(0x1fc)]?_0x586172[_0x4be8ce(0x1f3)]=_0x586172[_0x4be8ce(0x1f3)][_0x4be8ce(0x219)](_0x3175f7):_0x4be8ce(0x22d)===_0x586172[_0x4be8ce(0x1fc)]&&_0x586172[_0x4be8ce(0x1b8)]&&(_0x586172[_0x4be8ce(0x1b8)]=new _0x1ae561(_0x586172[_0x4be8ce(0x1b8)][_0x4be8ce(0x15d)][_0x4be8ce(0x219)](_0x3175f7),_0x586172[_0x4be8ce(0x1b8)][_0x4be8ce(0x20a)][_0x4be8ce(0x219)](_0x3175f7))),_0x586172;}[_0xff2b94(0x20d)](_0x254780,_0x3fad57){const _0x1b82e7=_0xff2b94;_0x1b82e7(0x1d1)===_0x254780[_0x1b82e7(0x1fc)]?_0x254780[_0x1b82e7(0x1f3)]=this[_0x1b82e7(0x17d)](_0x254780[_0x1b82e7(0x1f3)],_0x3fad57):_0x1b82e7(0x22d)===_0x254780[_0x1b82e7(0x1fc)]&&_0x254780[_0x1b82e7(0x1b8)]&&(_0x254780[_0x1b82e7(0x1b8)]=this[_0x1b82e7(0x1a5)](_0x254780[_0x1b82e7(0x1b8)],_0x3fad57));}[_0xff2b94(0x17d)](_0x2c35dd,_0x111c30){const _0x47307b=_0xff2b94;return new _0x29f8a7(_0x111c30,_0x2c35dd[_0x47307b(0x14b)]);}[_0xff2b94(0x1a5)](_0x28b70d,_0x477310){const _0x166801=_0xff2b94;return new _0x1ae561(this[_0x166801(0x17d)](_0x28b70d[_0x166801(0x15d)],_0x477310),this[_0x166801(0x17d)](_0x28b70d[_0x166801(0x20a)],_0x477310));}[_0xff2b94(0x1ff)](_0x1997c7,_0x34cf20){return new _0x29f8a7(_0x34cf20,[..._0x1997c7]);}[_0xff2b94(0x21f)](_0x477646,_0x3af38a,_0x429736,_0x160324){const _0x2ec2c5=_0xff2b94;return new _0x1ae561(this[_0x2ec2c5(0x1ff)](_0x3af38a,_0x160324),this[_0x2ec2c5(0x1ff)](_0x429736,_0x160324));}[_0xff2b94(0x1ea)](_0x449f1c){const _0x395b6c=_0xff2b94,_0x580400=_0x1654c7=>{const _0x5a1f38=_0x1a8a;switch(_0x1654c7){case _0x5a1f38(0x1d1):return 0x1;case _0x5a1f38(0x1d5):return 0x2;case _0x5a1f38(0x1c4):return 0x3;case _0x5a1f38(0x222):return 0x4;}};return _0x449f1c[_0x395b6c(0x1a8)]((_0x241c56,_0xfdf85d)=>_0x580400(_0x241c56[_0x395b6c(0x1fc)])-_0x580400(_0xfdf85d[_0x395b6c(0x1fc)]));}[_0xff2b94(0x197)](_0x26349f,_0x1b551c){const _0x423c40=_0xff2b94,_0x42f342=_0x26349f[_0x423c40(0x223)](0x0),_0x125c62=_0x1b551c[_0x423c40(0x223)](0x0);return!(!_0x42f342||!_0x125c62)&&((!_0x42f342['is'](_0x423c40(0x195))||!_0x125c62['is'](_0x423c40(0x195))||_0x42f342[_0x423c40(0x1b5)]===_0x125c62[_0x423c40(0x1b5)])&&!(_0x42f342['is'](_0x423c40(0x195))&&!_0x125c62['is'](_0x423c40(0x195))||!_0x42f342['is'](_0x423c40(0x195))&&_0x125c62['is'](_0x423c40(0x195))));}}
|
|
23
|
+
const _0x1a7b70=_0x2083;(function(_0x281321,_0x522185){const _0x5066e0=_0x2083,_0x552dd5=_0x281321();while(!![]){try{const _0x183065=parseInt(_0x5066e0(0xe1))/0x1*(parseInt(_0x5066e0(0x11a))/0x2)+parseInt(_0x5066e0(0x160))/0x3+-parseInt(_0x5066e0(0x193))/0x4+-parseInt(_0x5066e0(0x139))/0x5+-parseInt(_0x5066e0(0x13e))/0x6+parseInt(_0x5066e0(0x176))/0x7+parseInt(_0x5066e0(0x1a6))/0x8*(parseInt(_0x5066e0(0x19b))/0x9);if(_0x183065===_0x522185)break;else _0x552dd5['push'](_0x552dd5['shift']());}catch(_0x10e5a4){_0x552dd5['push'](_0x552dd5['shift']());}}}(_0xfa5a,0x3a4db));import{InsertOperation as _0x51e264,MarkerOperation as _0x505663,ModelDocumentFragment as _0x5f55f7,ModelPosition as _0x10d0fe,ModelRange as _0x3ef203,ModelTreeWalker as _0x3103d7,transformOperationSets as _0x1b5947}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x3967f9,EmitterMixin as _0x4228e2}from'ckeditor5/src/utils.js';import{ContextPlugin as _0xc1c164}from'ckeditor5/src/core.js';import{DocumentCompare as _0x241755,DATA_ID_MODEL_ATTRIBUTE as _0x900ea1,DATA_ID_VIEW_ATTRIBUTE as _0x34a15c}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x46b112}from'../aicore/utils/geteditorfromcontext.js';function _0xfa5a(){const _0x2bfb01=['isAtEnd','parentElement','get','_changeRange','containsRange','isInline','getEditor','view','reviewmode-','outerHTML','1208eWGGho','createSelection','AIEditing','forEach','parse','processor','change','_createGetContentUsingDataIdFn','conversion','path','ellipsisBefore','getStart','hasContentBefore','offsetSize','markerToHighlight','getDiff','click','rootName','isAtStart','_findMarkerElement','_clone','includes','values','marker','getRoot','markerName','operationsA','ck-ai_review-mode-marker_','ellipsisAfter','createDocumentFragment','DocumentCompare','pop','getHtml','getDomRoot','domConverter','_parseMarkerName','_hasSameTopLevelElement','_handleMarkerChanges','isOpening','parent','44711bzeMMb','createRawElement','getDocumentData','_getMarkersDataForGroup','_setAttribute','_appendChild','set','from','_translateOperationToEditorContent','createUIElement','diffContent','_sortMarkers','remove','emitter','_markers','forward','getChanges','getAttribute','applyOperation','_removeChildren','stringify','getChangedMarkers','_removeAttribute','batch','history','backward','target','ck-ai_review-mode-marker_context-start','remove-context','_changeOperationOwnerDocument','warn','disableReadOnlyMode','span','_validateMarkers','changeMarkerRestored','clear','downcast','name','caption','editingDowncast','$documentFragment','registerPostFixer','getRoots','_getChangeContext','ck-ai_review-mode-marker_underline','clearAllMarkers','keys','querySelector','toData','isPremiumPlugin','model','_changeRangeOwnerDocument','fire','for','delete','ck-ai_review-mode-marker_hide','ck-ai_review-mode-marker_strikethrough','4hTfnjG','innerHTML','getChild','length','ck-ai_review-mode-marker_context-end','flat','attributeToAttribute','append','clone','rejectChange','element','hasContentAfter','htmlProcessor','switchToEdit','oldRange','hasAttribute','editing','affectsData','_findAdjacentContextDistance','_nextDataId','isIntersecting','[data-id=\x22','_eventEmitter','getPath','type','nodes','_domEmitter','suggestion:deletion:id:authorId:','schema','toView','removeMarker','1259415jIMYyP','size','_createGetContextFn','createPositionAfter','pluginName','2414856Mmxpqx','getMarkerElementForChange','remove-text','deleteContent','has','dataDowncast','startsWith','getOperations','requires','insertContent','position','_insertMarkers','htmlWriter','offset','addMarker','className','_groupAdjacentOperations','No\x20element\x20found\x20for\x20ID:\x20','baseVersion','add','ck-ai_review-mode-marker_add','enableReadOnlyMode','sort','context','getRange','insert','applyChange','howMany','end','exec','data','groupId','$textProxy','ai-review-mode','763170YXEofK','map','root','_changePositionOwnerDocument','remove-only','listenTo','start','_changePosition','_getOperationStart','changeMarkerRemoved','index','hasClass','toDomElement','$graveyard','text','data-marker-id','createText','operationsIsolated','push','[data-marker-id=\x22','viewToDom','every','1281392jziLhc','_getOperationEnd','document','childCount','isDocumentOperation','isOfficialPlugin','model:$text','$markedRemove','differ','afterInit','addOperation','concat','createRange','markers','newRange','markChangePositionInEditorContent','markerToElement','suggestion:insertion:id:authorId:','elements','changeMarkerClick','plugins','AIReviewModeEditing','isTouching','_shiftOperation','jumpTo','split','createPositionAt','getChildren','version','575708rXVpwf','getShiftedBy','switchToReadOnly','suggestion-context','_createGetContentFn','filter','documentFragment','ck-ai_review-mode-marker_context-','30411HIOJVX'];_0xfa5a=function(){return _0x2bfb01;};return _0xfa5a();}import{AIEditing as _0x502240}from'../aicore/aiediting.js';function _0x2083(_0x515aae,_0x800cf5){const _0xfa5a4f=_0xfa5a();return _0x2083=function(_0x208340,_0x589545){_0x208340=_0x208340-0xde;let _0x524df8=_0xfa5a4f[_0x208340];return _0x524df8;},_0x2083(_0x515aae,_0x800cf5);}const me=_0x1a7b70(0x1a4);export class AIReviewModeEditing extends _0xc1c164{static get[_0x1a7b70(0x13d)](){const _0x397f9=_0x1a7b70;return _0x397f9(0x18b);}static get[_0x1a7b70(0x146)](){return[_0x241755,_0x502240];}static get[_0x1a7b70(0x17b)](){return!0x0;}static get[_0x1a7b70(0x112)](){return!0x0;}[_0x1a7b70(0xef)]=new Map();[_0x1a7b70(0x134)];[_0x1a7b70(0x130)];constructor(_0x41ae12){const _0x366a1b=_0x1a7b70;super(_0x41ae12),this[_0x366a1b(0x134)]=new(_0x3967f9())(),this[_0x366a1b(0x130)]=new(_0x4228e2())();}get[_0x1a7b70(0xee)](){const _0x1a3439=_0x1a7b70;return this[_0x1a3439(0x130)];}[_0x1a7b70(0x17f)](){const _0xc92f76=_0x1a7b70,_0xb4bee=_0x46b112(this[_0xc92f76(0x155)]);_0xb4bee[_0xc92f76(0x1ae)][_0xc92f76(0x116)](_0xc92f76(0x108))[_0xc92f76(0x186)]({'model':me+_0xc92f76(0x157),'view':(_0x542d1f,{writer:_0x14b9e8})=>{const _0xab27d8=_0xc92f76,_0x499742=this[_0xab27d8(0xef)][_0xab27d8(0x19e)](_0x542d1f[_0xab27d8(0x1bf)]),_0x27d58c={'class':_0xab27d8(0x152),'data-marker-id':_0x542d1f[_0xab27d8(0x1bf)]};return _0x14b9e8[_0xab27d8(0xea)](_0xab27d8(0x101),_0x27d58c,function(_0x434d7f){const _0x2a930d=_0xab27d8,_0x584474=this[_0x2a930d(0x16c)](_0x434d7f);return _0x584474[_0x2a930d(0x11b)]=_0x499742?.[_0x2a930d(0x16e)]||'',_0x584474;});}}),_0xb4bee[_0xc92f76(0x1ae)][_0xc92f76(0x116)](_0xc92f76(0x108))[_0xc92f76(0x1b4)]({'model':me+_0xc92f76(0x164),'view':_0x30ec90=>({'classes':_0xc92f76(0x119),'attributes':{'data-marker-id':_0x30ec90[_0xc92f76(0x1bf)]}})}),_0xb4bee[_0xc92f76(0x1ae)][_0xc92f76(0x116)](_0xc92f76(0x108))[_0xc92f76(0x1b4)]({'model':me+_0xc92f76(0xfd),'view':_0x2735f4=>({'classes':_0xc92f76(0x10d),'attributes':{'data-marker-id':_0x2735f4[_0xc92f76(0x1bf)]}})}),_0xb4bee[_0xc92f76(0x1ae)][_0xc92f76(0x116)](_0xc92f76(0x108))[_0xc92f76(0x1b4)]({'model':me+_0xc92f76(0x140),'view':_0x5089ed=>({'classes':_0xc92f76(0x118),'attributes':{'data-marker-id':_0x5089ed[_0xc92f76(0x1bf)]}})}),_0xb4bee[_0xc92f76(0x1ae)][_0xc92f76(0x116)](_0xc92f76(0x143))[_0xc92f76(0x186)]({'model':me+_0xc92f76(0x196),'view':(_0x58a939,{writer:_0x4fdc0f})=>_0x4fdc0f[_0xc92f76(0xe2)](_0xc92f76(0x101),{'class':_0xc92f76(0x19a)+(_0x58a939[_0xc92f76(0xdf)]?_0xc92f76(0x166):_0xc92f76(0x15a))})}),_0xb4bee[_0xc92f76(0x1ae)][_0xc92f76(0x116)](_0xc92f76(0x105))[_0xc92f76(0x120)]({'model':_0x900ea1,'view':_0x34a15c}),this[_0xc92f76(0x134)][_0xc92f76(0x165)](document,_0xc92f76(0x1b6),(_0xf85f2,_0x1886bf)=>{const _0x4058f2=_0xc92f76,_0x575613=_0x1886bf[_0x4058f2(0xfb)],_0x51a94f=this[_0x4058f2(0x1b9)](_0x575613);if(!_0x51a94f)return;const _0x76da0b=_0x51a94f[_0x4058f2(0xf2)](_0x4058f2(0x16f)),_0xa77228=_0x76da0b[_0x4058f2(0x18f)](':')[_0x4058f2(0x1c5)]()?.[_0x4058f2(0x18f)]('_')[0x0];this[_0x4058f2(0x130)][_0x4058f2(0x115)](_0x4058f2(0x189),{'markerId':_0x76da0b,'changeId':_0xa77228});}),_0xb4bee[_0xc92f76(0x113)][_0xc92f76(0x178)][_0xc92f76(0x10a)](_0x3f59d7=>this[_0xc92f76(0x102)](_0xb4bee,_0x3f59d7)),_0xb4bee[_0xc92f76(0x113)][_0xc92f76(0x178)]['on'](_0xc92f76(0x1ac),()=>this[_0xc92f76(0xde)](_0xb4bee));}[_0x1a7b70(0xe3)](){const _0x434d90=_0x1a7b70,_0x4db14e=this[_0x434d90(0x155)][_0x434d90(0x18a)][_0x434d90(0x19e)](_0x434d90(0x1a8)),_0x2c23ff=_0x46b112(this[_0x434d90(0x155)]),_0xafe52=_0x2c23ff[_0x434d90(0x113)],_0x12daf2=new _0x5f55f7();for(const _0x4e1080 of _0xafe52[_0x434d90(0x178)][_0x434d90(0x1be)]()[_0x434d90(0x191)]()){const _0x5299ab=_0x4e1080[_0x434d90(0x1ba)](!0x0);_0x12daf2[_0x434d90(0xe6)](_0x5299ab);}for(const _0x2aa4bb of _0xafe52[_0x434d90(0x183)])_0x12daf2[_0x434d90(0x183)][_0x434d90(0xe7)](_0x2aa4bb[_0x434d90(0x106)],this[_0x434d90(0x114)](_0x2aa4bb[_0x434d90(0x156)]()[_0x434d90(0x122)](),_0x12daf2));const _0xa3220f=new _0x3103d7({'ignoreElementEnd':!0x0,'startPosition':_0xafe52[_0x434d90(0x190)](_0x12daf2,0x0)}),_0x5e1be3=new Set(),_0x28bb3d=new Map();for(const {item:_0x3d79de}of _0xa3220f){if(!_0x3d79de['is'](_0x434d90(0x15e)))continue;const _0x556670=_0x3d79de[_0x434d90(0xe0)];if((!_0x556670||!_0x556670['is'](_0x434d90(0x124),_0x434d90(0x107)))&&(_0x556670&&_0x556670['is'](_0x434d90(0x124)))){let _0x8903e2=_0x556670[_0x434d90(0xf2)](_0x900ea1);_0x8903e2||(_0x8903e2=_0x4db14e[_0x434d90(0x12d)](_0x5e1be3),_0x556670[_0x434d90(0xe5)](_0x900ea1,_0x8903e2)),_0x5e1be3[_0x434d90(0x151)](_0x8903e2);let _0x3dfd47=_0x556670;for(;_0x3dfd47[_0x434d90(0xe0)]&&!_0x3dfd47[_0x434d90(0xe0)]['is'](_0x434d90(0x199));)_0x3dfd47=_0x3dfd47[_0x434d90(0xe0)],_0x3dfd47[_0x434d90(0x129)](_0x900ea1)&&_0x3dfd47[_0x434d90(0xf7)](_0x900ea1);_0x28bb3d[_0x434d90(0xe7)](_0x8903e2,{'path':_0x556670[_0x434d90(0x131)](),'getContent':this[_0x434d90(0x1ad)](_0x3dfd47[_0x434d90(0x1ba)](!0x0),_0x8903e2,_0x2c23ff[_0x434d90(0x15c)])}),_0xa3220f[_0x434d90(0x18e)](_0xafe52[_0x434d90(0x13c)](_0x556670));}}return{'content':_0x2c23ff[_0x434d90(0x15c)][_0x434d90(0x1ab)][_0x434d90(0x111)](_0x2c23ff[_0x434d90(0x15c)][_0x434d90(0x137)](_0x12daf2)),'version':_0x2c23ff[_0x434d90(0x113)][_0x434d90(0x178)][_0x434d90(0x192)],'elements':_0x28bb3d};}[_0x1a7b70(0xeb)](_0x254933,_0x4e9b42){const _0x2f8e02=_0x1a7b70,_0x2643da=[],_0x2eac1f=_0x46b112(this[_0x2f8e02(0x155)]),_0x41742c=_0x2eac1f[_0x2f8e02(0x15c)][_0x2f8e02(0x1aa)](_0x254933,_0x2f8e02(0x109)),_0x2194e5=_0x2eac1f[_0x2f8e02(0x113)][_0x2f8e02(0x190)](_0x41742c,0x0),_0x183bcd=_0x2eac1f[_0x2f8e02(0x15c)][_0x2f8e02(0x1aa)](_0x4e9b42,_0x2f8e02(0x109));if(!this[_0x2f8e02(0x1ca)](_0x41742c,_0x183bcd))return _0x2643da;const _0x32ea95=this[_0x2f8e02(0x155)][_0x2f8e02(0x18a)][_0x2f8e02(0x19e)](_0x2f8e02(0x1c4))[_0x2f8e02(0x1b5)](_0x254933,_0x4e9b42,{'anchor':_0x2194e5,'markDeletions':!0x0})[_0x2f8e02(0x145)]()[_0x2f8e02(0x198)](_0x1165f1=>_0x2f8e02(0x157)===_0x1165f1[_0x2f8e02(0x132)]||_0x2f8e02(0x1bd)===_0x1165f1[_0x2f8e02(0x132)]&&_0x1165f1[_0x2f8e02(0x106)][_0x2f8e02(0x144)](_0x2f8e02(0x17d))),_0x3250a4=this[_0x2f8e02(0x14e)](_0x32ea95);let _0x5a0ab8=0x0;return _0x2eac1f[_0x2f8e02(0x113)][_0x2f8e02(0x1ac)](_0x446f01=>{const _0x6b4793=_0x2f8e02;for(let _0x173ec9=0x0;_0x173ec9<_0x3250a4[_0x6b4793(0x11d)];_0x173ec9++){const _0x3ba61c=_0x3250a4[_0x173ec9],_0xe53dc5=_0x446f01[_0x6b4793(0x1c3)]();for(const _0x50cb4c of _0x41742c[_0x6b4793(0x191)]())_0x446f01[_0x6b4793(0x121)](_0x50cb4c[_0x6b4793(0x1ba)](!0x0),_0xe53dc5);for(const _0x1a9c9f of _0x3ba61c[_0x6b4793(0x171)])if(_0x6b4793(0x157)===_0x1a9c9f[_0x6b4793(0x132)]){const _0x21dcca=_0x1a9c9f;_0x21dcca[_0x6b4793(0x150)]=null,_0x21dcca[_0x6b4793(0x17a)]=!0x1,this[_0x6b4793(0xfe)](_0x21dcca,_0xe53dc5),_0x446f01[_0x6b4793(0xf8)][_0x6b4793(0x180)](_0x1a9c9f),_0x2eac1f[_0x6b4793(0x113)][_0x6b4793(0xf3)](_0x1a9c9f);const _0x2998eb=_0x6b4793(0x187)+_0x5a0ab8++,_0x3cdbf6=_0x2eac1f[_0x6b4793(0x113)][_0x6b4793(0x182)](_0x21dcca[_0x6b4793(0x148)],_0x21dcca[_0x6b4793(0x148)][_0x6b4793(0x194)](_0x21dcca[_0x6b4793(0x159)]));_0xe53dc5[_0x6b4793(0x183)][_0x6b4793(0xe7)](_0x2998eb,_0x3cdbf6);}else{if(_0x6b4793(0x1bd)===_0x1a9c9f[_0x6b4793(0x132)]&&_0x1a9c9f[_0x6b4793(0x106)][_0x6b4793(0x144)](_0x6b4793(0x17d))){const _0x3cae8d=_0x1a9c9f,_0x1419f4=_0x6b4793(0x135)+_0x5a0ab8++;this[_0x6b4793(0xfe)](_0x3cae8d,_0xe53dc5),_0xe53dc5[_0x6b4793(0x183)][_0x6b4793(0xe7)](_0x1419f4,_0x3cae8d[_0x6b4793(0x184)]);}}const _0xd1005e=this[_0x6b4793(0x10c)](this[_0x6b4793(0x163)](this[_0x6b4793(0x168)](_0x3ba61c[_0x6b4793(0x171)][0x0]),_0xe53dc5),this[_0x6b4793(0x163)](this[_0x6b4793(0x177)](_0x3ba61c[_0x6b4793(0x171)][_0x3ba61c[_0x6b4793(0x171)][_0x6b4793(0x11d)]-0x1]),_0xe53dc5));_0xe53dc5[_0x6b4793(0x183)][_0x6b4793(0xe7)](me+_0x6b4793(0x196),new _0x3ef203(_0xd1005e[_0x6b4793(0x166)],_0xd1005e[_0x6b4793(0x15a)])),_0x2643da[_0x6b4793(0x172)]({..._0x3ba61c,'context':this[_0x6b4793(0x13b)](_0xe53dc5,_0x2eac1f[_0x6b4793(0x15c)],{'ellipsisBefore':_0xd1005e[_0x6b4793(0x1b2)],'ellipsisAfter':_0xd1005e[_0x6b4793(0x125)]}),'content':this[_0x6b4793(0x197)](_0xe53dc5,_0x2eac1f[_0x6b4793(0x15c)])});}}),_0x2643da;}[_0x1a7b70(0x185)](_0x11af77,_0x53868a){const _0x4bf7bc=_0x1a7b70;if(!_0x11af77[_0x4bf7bc(0x11d)])return;const _0x6bebc8=_0x11af77[0x0][_0x4bf7bc(0xe0)]['id'],_0x5e6605=_0x53868a[_0x4bf7bc(0x188)][_0x4bf7bc(0x19e)](_0x6bebc8);if(!_0x5e6605)return void console[_0x4bf7bc(0xff)](_0x4bf7bc(0x14f)+_0x6bebc8);const _0x3782f2=_0x5e6605[_0x4bf7bc(0x1af)],_0x3c4d8a=_0x46b112(this[_0x4bf7bc(0x155)]),_0x363466=_0x3c4d8a[_0x4bf7bc(0x113)][_0x4bf7bc(0x178)][_0x4bf7bc(0xf9)][_0x4bf7bc(0x145)](_0x53868a[_0x4bf7bc(0x192)]),_0x386a3e=[];for(const _0x37c424 of _0x11af77){const _0x5a02de=_0x37c424[_0x4bf7bc(0x171)][_0x4bf7bc(0x161)](_0x32f1b1=>this[_0x4bf7bc(0xe9)](_0x32f1b1,_0x3782f2,_0x3c4d8a[_0x4bf7bc(0x113)][_0x4bf7bc(0x178)][_0x4bf7bc(0x10b)]()[0x0]));if(!_0x5a02de||!_0x5a02de[_0x4bf7bc(0x11d)])continue;const _0x416d06=_0x5a02de[_0x4bf7bc(0x175)](_0x423b3d=>_0x4bf7bc(0x1bd)===_0x423b3d[_0x4bf7bc(0x132)]&&_0x423b3d[_0x4bf7bc(0x106)][_0x4bf7bc(0x144)](_0x4bf7bc(0x17d))),_0xbf1377={'document':_0x3c4d8a[_0x4bf7bc(0x113)][_0x4bf7bc(0x178)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x299cac=_0x1b5947(_0x5a02de,_0x363466,_0xbf1377)[_0x4bf7bc(0x1c0)];for(const _0x540a7d of _0x299cac)if(_0x4bf7bc(0x157)===_0x540a7d[_0x4bf7bc(0x132)]){const _0x412f23=_0x540a7d,_0x3ad242=_0x412f23[_0x4bf7bc(0x133)];let _0x414fc9='';for(const _0x2c3acb of _0x3ad242)_0x2c3acb&&_0x2c3acb['is'](_0x4bf7bc(0x17c))&&(_0x414fc9+=_0x2c3acb[_0x4bf7bc(0x15c)]);_0x386a3e[_0x4bf7bc(0x172)]({'start':_0x412f23[_0x4bf7bc(0x148)],'end':_0x412f23[_0x4bf7bc(0x148)],'type':_0x4bf7bc(0x157),'groupId':_0x37c424['id'],'text':_0x414fc9});}else{if(_0x4bf7bc(0x1bd)===_0x540a7d[_0x4bf7bc(0x132)]&&_0x540a7d[_0x4bf7bc(0x106)][_0x4bf7bc(0x144)](_0x4bf7bc(0x17d))){const _0x10d784=_0x540a7d;let _0x1c2891=_0x4bf7bc(0x140);if(_0x416d06){const _0xae778c=this[_0x4bf7bc(0x12c)](_0x10d784[_0x4bf7bc(0x184)][_0x4bf7bc(0x166)],_0x4bf7bc(0xfa),_0x3c4d8a[_0x4bf7bc(0x113)][_0x4bf7bc(0x136)]),_0x5198dd=this[_0x4bf7bc(0x12c)](_0x10d784[_0x4bf7bc(0x184)][_0x4bf7bc(0x15a)],_0x4bf7bc(0xf0),_0x3c4d8a[_0x4bf7bc(0x113)][_0x4bf7bc(0x136)]);if(_0xae778c||_0x5198dd){const _0x5126ff=_0x10d784[_0x4bf7bc(0x184)][_0x4bf7bc(0x166)][_0x4bf7bc(0x194)](-_0xae778c),_0x14a73c=_0x10d784[_0x4bf7bc(0x184)][_0x4bf7bc(0x15a)][_0x4bf7bc(0x194)](_0x5198dd);_0x386a3e[_0x4bf7bc(0x172)]({'start':_0x5126ff,'end':_0x14a73c,'groupId':_0x37c424['id'],'type':_0x4bf7bc(0xfd)});}else _0x1c2891=_0x4bf7bc(0x164);}_0x386a3e[_0x4bf7bc(0x172)]({'start':_0x10d784[_0x4bf7bc(0x184)][_0x4bf7bc(0x166)],'end':_0x10d784[_0x4bf7bc(0x184)][_0x4bf7bc(0x15a)],'groupId':_0x37c424['id'],'type':_0x1c2891});}}}this[_0x4bf7bc(0x149)](_0x386a3e);}[_0x1a7b70(0x10e)](){const _0x2e7f30=_0x1a7b70,_0x33d492=_0x46b112(this[_0x2e7f30(0x155)]);_0x33d492[_0x2e7f30(0x113)][_0x2e7f30(0x1ac)](_0x360dda=>{const _0x12953a=_0x2e7f30;for(const _0x23a085 of this[_0x12953a(0xef)][_0x12953a(0x10f)]())_0x33d492[_0x12953a(0x113)][_0x12953a(0x183)][_0x12953a(0x19e)](_0x23a085)&&_0x360dda[_0x12953a(0x138)](_0x23a085);}),this[_0x2e7f30(0xef)][_0x2e7f30(0x104)]();}[_0x1a7b70(0x195)](){const _0x5df707=_0x1a7b70;_0x46b112(this[_0x5df707(0x155)])[_0x5df707(0x153)](_0x5df707(0x15f));}[_0x1a7b70(0x127)](){const _0x5c4e21=_0x1a7b70;_0x46b112(this[_0x5c4e21(0x155)])[_0x5c4e21(0x100)](_0x5c4e21(0x15f));}[_0x1a7b70(0x158)](_0x3e1998){const _0x1a85e9=_0x1a7b70,_0x1a4994=_0x46b112(this[_0x1a85e9(0x155)]),_0xf03a61=_0x1a4994[_0x1a85e9(0x113)],_0x4aa372=_0x3e1998[_0x1a85e9(0x161)](_0x152ff4=>this[_0x1a85e9(0xe4)](_0x152ff4))[_0x1a85e9(0x11f)]();_0xf03a61[_0x1a85e9(0x1ac)](_0x1d54f7=>{const _0x795412=_0x1a85e9;for(const _0x362b4c of _0x4aa372){const _0x1870d5=_0x1a4994[_0x795412(0x113)][_0x795412(0x183)][_0x795412(0x19e)](_0x362b4c['id']);_0x1870d5&&(_0x795412(0x157)===_0x362b4c[_0x795412(0x132)]?_0xf03a61[_0x795412(0x147)](_0x1d54f7[_0x795412(0x170)](_0x362b4c[_0x795412(0x16e)]||''),_0x1870d5[_0x795412(0x156)]()[_0x795412(0x166)]):_0x795412(0x140)!==_0x362b4c[_0x795412(0x132)]&&_0x795412(0x164)!==_0x362b4c[_0x795412(0x132)]||_0xf03a61[_0x795412(0x141)](_0xf03a61[_0x795412(0x1a7)](_0x1870d5[_0x795412(0x156)]())),_0x1d54f7[_0x795412(0x138)](_0x362b4c['id']),this[_0x795412(0xef)][_0x795412(0x117)](_0x362b4c['id']));}});}[_0x1a7b70(0x123)](_0x59228b){const _0x3f8952=_0x1a7b70,_0x2d9ffd=_0x46b112(this[_0x3f8952(0x155)]),_0x2673f3=this[_0x3f8952(0xe4)](_0x59228b);_0x2d9ffd[_0x3f8952(0x113)][_0x3f8952(0x1ac)](_0x307609=>{const _0x3d91b1=_0x3f8952;for(const _0x58f127 of _0x2673f3)_0x307609[_0x3d91b1(0x138)](_0x58f127['id']),this[_0x3d91b1(0xef)][_0x3d91b1(0x117)](_0x58f127['id']);});}[_0x1a7b70(0x1a2)](){const _0x436910=_0x1a7b70;return _0x46b112(this[_0x436910(0x155)]);}[_0x1a7b70(0x13f)](_0x39f949){const _0x19872a=_0x1a7b70,_0x27925d=Array[_0x19872a(0xe8)](this[_0x19872a(0xef)][_0x19872a(0x1bc)]())[_0x19872a(0x198)](_0x209f46=>_0x209f46[_0x19872a(0x15d)]===_0x39f949);if(!_0x27925d[_0x19872a(0x11d)])return null;const _0x3401ec=0x1===_0x27925d[_0x19872a(0x11d)]?_0x27925d[0x0]:this[_0x19872a(0xec)](_0x27925d)[0x0],_0x446fbe=_0x46b112(this[_0x19872a(0x155)]),_0x57118f=_0x446fbe[_0x19872a(0x113)][_0x19872a(0x183)][_0x19872a(0x19e)](_0x3401ec['id']);if(!_0x57118f)return null;const _0x557cc8=_0x57118f[_0x19872a(0x156)](),_0x219393=_0x446fbe[_0x19872a(0x12a)][_0x19872a(0x1a3)][_0x19872a(0x1c7)]();if(!_0x219393||!_0x557cc8)return null;const _0x53795e=_0x219393[_0x19872a(0x110)](_0x19872a(0x173)+_0x3401ec['id']+'\x22]');return _0x53795e?{'modelRange':_0x557cc8,'domElement':_0x53795e}:null;}[_0x1a7b70(0x102)](_0x8c260b,_0x869e9){const _0x5989e9=_0x1a7b70,_0x56bbed=Array[_0x5989e9(0xe8)](this[_0x5989e9(0xef)][_0x5989e9(0x10f)]()),_0x233150=new Map();for(const _0x125c56 of _0x56bbed){const _0x3a15fa=_0x8c260b[_0x5989e9(0x113)][_0x5989e9(0x183)][_0x5989e9(0x19e)](_0x125c56);if(!_0x3a15fa)continue;const _0x34cfb5=_0x3a15fa[_0x5989e9(0x1b1)]()[_0x5989e9(0x1af)][0x0];_0x233150[_0x5989e9(0x142)](_0x34cfb5)||_0x233150[_0x5989e9(0xe7)](_0x34cfb5,[]),_0x233150[_0x5989e9(0x19e)](_0x34cfb5)[_0x5989e9(0x172)](_0x3a15fa);}const _0x99981=new Set();for(const _0x40e492 of _0x8c260b[_0x5989e9(0x113)][_0x5989e9(0x178)][_0x5989e9(0x17e)][_0x5989e9(0xf1)]()){let _0xae622f=-0x1,_0x5326ce=null;if(_0x5989e9(0x157)===_0x40e492[_0x5989e9(0x132)])_0x5326ce=new _0x3ef203(_0x40e492[_0x5989e9(0x148)],_0x40e492[_0x5989e9(0x148)][_0x5989e9(0x194)](_0x40e492[_0x5989e9(0x11d)])),_0xae622f=_0x40e492[_0x5989e9(0x148)][_0x5989e9(0x1af)][0x0];else{if(_0x5989e9(0xed)!==_0x40e492[_0x5989e9(0x132)])continue;_0x5326ce=new _0x3ef203(_0x40e492[_0x5989e9(0x148)]),_0xae622f=_0x40e492[_0x5989e9(0x148)][_0x5989e9(0x1af)][0x0];}const _0x37c129=_0x233150[_0x5989e9(0x19e)](_0xae622f)||[];if(_0x37c129[_0x5989e9(0x11d)]){for(const _0x2d2383 of _0x37c129)if(_0x5326ce[_0x5989e9(0x162)][_0x5989e9(0x1b7)]===_0x2d2383[_0x5989e9(0x156)]()[_0x5989e9(0x162)][_0x5989e9(0x1b7)]&&(_0x5989e9(0x157)!==_0x40e492[_0x5989e9(0x132)]||!_0x5326ce[_0x5989e9(0x1a0)](_0x2d2383[_0x5989e9(0x156)]()))&&(_0x5326ce[_0x5989e9(0x12e)](_0x2d2383[_0x5989e9(0x156)]())||_0x5326ce[_0x5989e9(0x166)][_0x5989e9(0x18c)](_0x2d2383[_0x5989e9(0x156)]()[_0x5989e9(0x15a)])||_0x5326ce[_0x5989e9(0x15a)][_0x5989e9(0x18c)](_0x2d2383[_0x5989e9(0x156)]()[_0x5989e9(0x166)]))){const _0x58b287=this[_0x5989e9(0x1c9)](_0x2d2383[_0x5989e9(0x106)]);Array[_0x5989e9(0xe8)](this[_0x5989e9(0xef)][_0x5989e9(0x1bc)]())[_0x5989e9(0x198)](_0x10c7d8=>_0x10c7d8[_0x5989e9(0x15d)]===_0x58b287[_0x5989e9(0x15d)])[_0x5989e9(0x1a9)](_0x3342db=>_0x99981[_0x5989e9(0x151)](_0x3342db['id']));}}}if(_0x99981[_0x5989e9(0x13a)]){for(const _0x55b832 of _0x99981)_0x869e9[_0x5989e9(0x138)](_0x55b832);return!0x0;}return!0x1;}[_0x1a7b70(0xde)](_0x308bb5){const _0x10c5f7=_0x1a7b70;for(const {name:_0x3b2c48,data:_0x345448}of _0x308bb5[_0x10c5f7(0x113)][_0x10c5f7(0x178)][_0x10c5f7(0x17e)][_0x10c5f7(0xf6)]()){if(!_0x3b2c48[_0x10c5f7(0x144)](me))continue;const _0x42d8ca=_0x345448[_0x10c5f7(0x128)],_0x11be2b=_0x345448[_0x10c5f7(0x184)],_0x5b1302=_0x42d8ca&&_0x10c5f7(0x16d)===_0x42d8ca[_0x10c5f7(0x162)][_0x10c5f7(0x1b7)],_0x2e7f1f=_0x11be2b&&_0x10c5f7(0x16d)===_0x11be2b[_0x10c5f7(0x162)][_0x10c5f7(0x1b7)];if(_0x5b1302&&_0x2e7f1f)continue;const _0x4ee3bf=this[_0x10c5f7(0x1c9)](_0x3b2c48);this[_0x10c5f7(0xef)][_0x10c5f7(0x19e)](_0x3b2c48)&&(_0x2e7f1f||!_0x11be2b?this[_0x10c5f7(0x130)][_0x10c5f7(0x115)](_0x10c5f7(0x169),{'markerId':_0x3b2c48,'changeId':_0x4ee3bf[_0x10c5f7(0x15d)]}):_0x5b1302&&_0x11be2b&&this[_0x10c5f7(0x130)][_0x10c5f7(0x115)](_0x10c5f7(0x103),{'markerId':_0x3b2c48,'changeId':_0x4ee3bf[_0x10c5f7(0x15d)]}));}}[_0x1a7b70(0x1c9)](_0x1e0022){const _0x4c611e=_0x1a7b70,_0x228798=_0x1e0022[_0x4c611e(0x18f)](':'),_0x7b5785=(_0x228798[0x1]||'')[_0x4c611e(0x18f)]('_');return{'prefix':_0x228798[0x0],'groupId':_0x7b5785[0x0],'suffix':_0x7b5785[0x1]};}[_0x1a7b70(0xe9)](_0x17d18e,_0x11a006,_0x5b25fc){const _0x254060=_0x1a7b70;if(_0x254060(0x157)===_0x17d18e[_0x254060(0x132)]){const _0x387710=_0x17d18e;return new _0x51e264(this[_0x254060(0x167)](_0x11a006[_0x254060(0x181)](_0x387710[_0x254060(0x148)][_0x254060(0x14b)]),_0x5b25fc),_0x387710[_0x254060(0x133)],_0x387710[_0x254060(0x150)]);}if(_0x254060(0x1bd)===_0x17d18e[_0x254060(0x132)]&&_0x17d18e[_0x254060(0x106)][_0x254060(0x144)](_0x254060(0x17d))){const _0x1d1be3=_0x17d18e;return new _0x505663(_0x1d1be3[_0x254060(0x106)],_0x1d1be3[_0x254060(0x128)],this[_0x254060(0x19f)](_0x1d1be3[_0x254060(0x184)],_0x11a006[_0x254060(0x181)](_0x1d1be3[_0x254060(0x184)][_0x254060(0x166)][_0x254060(0x14b)]),_0x11a006[_0x254060(0x181)](_0x1d1be3[_0x254060(0x184)][_0x254060(0x15a)][_0x254060(0x14b)]),_0x5b25fc),_0x1d1be3[_0x254060(0xef)],_0x1d1be3[_0x254060(0x12b)],_0x1d1be3[_0x254060(0x150)]);}return _0x17d18e;}[_0x1a7b70(0x14e)](_0x56c909){const _0x508b32=_0x1a7b70;if(!_0x56c909[_0x508b32(0x11d)])return[];const _0x4ebdb7=[];let _0x1b4ad9=0x0,_0x2658d5=0x0,_0x1047f6=[];for(let _0x54d090=0x0;_0x54d090<=_0x56c909[_0x508b32(0x11d)];_0x54d090++){const _0x5727ce=_0x56c909[_0x54d090],_0x189287=_0x56c909[_0x54d090-0x1];!_0x5727ce||_0x189287&&!this[_0x508b32(0x177)](_0x189287)[_0x508b32(0x18c)](this[_0x508b32(0x168)](_0x5727ce))?(_0x4ebdb7[_0x508b32(0x172)]({'operations':_0x1047f6,'operationsIsolated':_0x1047f6[_0x508b32(0x161)](_0x128c20=>this[_0x508b32(0x18d)](_0x128c20[_0x508b32(0x122)](),-_0x2658d5)),'groupOffset':_0x1b4ad9}),_0x1047f6=_0x5727ce?[_0x5727ce]:[],_0x2658d5+=_0x1b4ad9,_0x1b4ad9=0x0):_0x1047f6[_0x508b32(0x172)](_0x5727ce),_0x5727ce&&_0x508b32(0x157)===_0x5727ce[_0x508b32(0x132)]&&(_0x1b4ad9+=_0x5727ce[_0x508b32(0x159)]);}return _0x4ebdb7;}[_0x1a7b70(0x12c)](_0x4cfcbd,_0x53de87,_0x5bd3b8,_0x35b920=0x1){const _0xb1bc4c=_0x1a7b70,_0x216f87=new _0x3103d7({'startPosition':_0x4cfcbd,'direction':_0x53de87});let _0x420143=0x0;for(let _0x5ee498=0x0;_0x5ee498<_0x35b920;_0x5ee498++){let _0x40ec0f=0x0,_0x5df6a1=!0x1,_0x5b73f0=_0xb1bc4c(0xf0)===_0x53de87?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x1811f3}of _0x216f87)if(_0x1811f3['is'](_0xb1bc4c(0x15e))){const _0x4b6e4e=_0x5b73f0[_0xb1bc4c(0x15b)](_0x1811f3[_0xb1bc4c(0x15c)]);if(_0x4b6e4e&&_0x4b6e4e[_0xb1bc4c(0x11d)]){if(_0x40ec0f+=_0xb1bc4c(0xf0)===_0x53de87?_0x4b6e4e[_0xb1bc4c(0x16a)]+_0x4b6e4e[0x0][_0xb1bc4c(0x11d)]:_0x1811f3[_0xb1bc4c(0x15c)][_0xb1bc4c(0x11d)]-_0x4b6e4e[_0xb1bc4c(0x16a)],_0x4b6e4e[0x0][_0xb1bc4c(0x11d)]!==_0x1811f3[_0xb1bc4c(0x15c)][_0xb1bc4c(0x11d)])break;_0x5df6a1=!0x0,_0x5b73f0=_0xb1bc4c(0xf0)===_0x53de87?/^\w+/:/\w+$/;}else{if(_0x5df6a1)break;_0x40ec0f+=_0x1811f3[_0xb1bc4c(0x1b3)];}}else{if(_0x1811f3['is'](_0xb1bc4c(0x124))){_0x5bd3b8[_0xb1bc4c(0x1a1)](_0x1811f3)&&!_0x5df6a1&&(_0x40ec0f+=0x1);break;}}_0x420143+=_0x40ec0f,_0x216f87[_0xb1bc4c(0x18e)](_0x4cfcbd[_0xb1bc4c(0x194)](_0xb1bc4c(0xf0)===_0x53de87?_0x420143:-_0x420143));}return _0x420143;}[_0x1a7b70(0x10c)](_0x2ece1f,_0x58271e){const _0x40fb2e=_0x1a7b70,_0x52cc27=_0x46b112(this[_0x40fb2e(0x155)])[_0x40fb2e(0x113)][_0x40fb2e(0x136)],_0x126a68=this[_0x40fb2e(0x12c)](_0x2ece1f,_0x40fb2e(0xfa),_0x52cc27,0x6),_0x28cc3f=this[_0x40fb2e(0x12c)](_0x58271e,_0x40fb2e(0xf0),_0x52cc27,0x6),_0x2bc4bf=_0x2ece1f[_0x40fb2e(0x194)](-_0x126a68),_0x395b7a=_0x58271e[_0x40fb2e(0x194)](_0x28cc3f);return{'start':_0x2bc4bf,'end':_0x395b7a,'hasContentBefore':!_0x2bc4bf[_0x40fb2e(0x1b8)],'hasContentAfter':!_0x395b7a[_0x40fb2e(0x19c)]};}[_0x1a7b70(0x149)](_0x21061f){const _0x72ab5e=_0x1a7b70,_0xe770e5=this[_0x72ab5e(0x155)][_0x72ab5e(0x18a)][_0x72ab5e(0x19e)](_0x72ab5e(0x1a8)),_0x15d516=new Set();_0x46b112(this[_0x72ab5e(0x155)])[_0x72ab5e(0x113)][_0x72ab5e(0x1ac)](_0x2f773c=>{const _0xedca07=_0x72ab5e;for(const _0x10688a of _0x21061f){const _0xb73ba5=''+me+_0x10688a[_0xedca07(0x132)]+':'+_0x10688a[_0xedca07(0x15d)]+'_'+_0xe770e5[_0xedca07(0x12d)](_0x15d516);this[_0xedca07(0xef)][_0xedca07(0xe7)](_0xb73ba5,{'id':_0xb73ba5,'groupId':_0x10688a[_0xedca07(0x15d)],'type':_0x10688a[_0xedca07(0x132)],'text':_0x10688a[_0xedca07(0x16e)]}),_0x2f773c[_0xedca07(0x14c)](_0xb73ba5,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2f773c[_0xedca07(0x182)](_0x10688a[_0xedca07(0x166)],_0x10688a[_0xedca07(0x15a)])});}});}[_0x1a7b70(0x13b)](_0x2ff75c,_0xff66a2,_0x42ef59){let _0x2f409a='';return()=>{const _0x645878=_0x2083;if(!_0x2f409a){const _0x305ebd=_0xff66a2[_0x645878(0x137)](_0x2ff75c,{'showSuggestionHighlights':!0x0}),_0x462d17=_0x305ebd[_0x645878(0x11c)](0x0);if(!_0x462d17)return'';let _0x520f22=!0x1;const _0x2334be=[];for(const _0x9f4425 of _0x462d17[_0x645878(0x191)]())_0x9f4425['is'](_0x645878(0x124),_0x645878(0x101))&&_0x9f4425[_0x645878(0x16b)](_0x645878(0x11e))&&(_0x520f22=!0x1),_0x520f22&&_0x2334be[_0x645878(0x172)](_0x9f4425),_0x9f4425['is'](_0x645878(0x124),_0x645878(0x101))&&_0x9f4425[_0x645878(0x16b)](_0x645878(0xfc))&&(_0x520f22=!0x0);_0x462d17[_0x645878(0xf4)](0x0,_0x462d17[_0x645878(0x179)]),_0x42ef59?.[_0x645878(0x1b0)]&&_0x462d17[_0x645878(0xe6)]('…'),_0x462d17[_0x645878(0xe6)](_0x2334be),_0x42ef59?.[_0x645878(0x1c2)]&&_0x462d17[_0x645878(0xe6)]('…');const _0x5b9673=_0xff66a2[_0x645878(0x126)][_0x645878(0x1c8)][_0x645878(0x174)](_0x305ebd),_0x2cd2a6=_0xff66a2[_0x645878(0x126)][_0x645878(0x14a)][_0x645878(0x1c6)](_0x5b9673);_0x2f409a=_0x2cd2a6;}return _0x2f409a;};}[_0x1a7b70(0x197)](_0x381c40,_0x449a77){const _0x39286a=_0x1a7b70;let _0x45e767='';return()=>(_0x45e767||(_0x45e767=_0x449a77[_0x39286a(0xf5)](_0x381c40,{'showSuggestionHighlights':!0x0})),_0x45e767);}[_0x1a7b70(0x1ad)](_0x2d30a0,_0x48010b,_0x19f8c4){let _0x13443d='';return()=>{const _0x1b9bf6=_0x2083;if(!_0x13443d){const _0x117464=_0x19f8c4[_0x1b9bf6(0x137)](new _0x5f55f7(_0x2d30a0)),_0x463df4=_0x19f8c4[_0x1b9bf6(0x126)][_0x1b9bf6(0x1c8)][_0x1b9bf6(0x174)](_0x117464)[_0x1b9bf6(0x110)](_0x1b9bf6(0x12f)+_0x48010b+'\x22]');_0x13443d=_0x463df4?.[_0x1b9bf6(0x1a5)]||'';}return _0x13443d;};}[_0x1a7b70(0x1b9)](_0x1f420a,_0x4b30c8=0x5){const _0x48dd87=_0x1a7b70;let _0x1b7036=_0x1f420a,_0x4a48cf=null;for(let _0xcfb64c=0x0;_0xcfb64c<_0x4b30c8&&_0x1b7036;_0xcfb64c++){if(!_0x1b7036[_0x48dd87(0x14d)]){_0x1b7036=_0x1b7036[_0x48dd87(0x19d)];continue;}if(!(''+_0x1b7036[_0x48dd87(0x14d)])[_0x48dd87(0x1bb)](_0x48dd87(0x1c1))){_0x1b7036=_0x1b7036[_0x48dd87(0x19d)];continue;}if(!_0x1b7036[_0x48dd87(0xf2)](_0x48dd87(0x16f)))break;_0x4a48cf=_0x1b7036;break;}return _0x4a48cf;}[_0x1a7b70(0xe4)](_0x1407dc){const _0x132edf=_0x1a7b70;return Array[_0x132edf(0xe8)](this[_0x132edf(0xef)][_0x132edf(0x1bc)]())[_0x132edf(0x198)](_0x1430df=>_0x1430df[_0x132edf(0x15d)]===_0x1407dc);}[_0x1a7b70(0x168)](_0x5c32b5){const _0x1732f7=_0x1a7b70;return _0x1732f7(0x157)===_0x5c32b5[_0x1732f7(0x132)]?_0x5c32b5[_0x1732f7(0x148)]:_0x5c32b5[_0x1732f7(0x184)][_0x1732f7(0x166)];}[_0x1a7b70(0x177)](_0xcfba4f,_0xec8a20=!0x1){const _0x564151=_0x1a7b70;return _0x564151(0x157)===_0xcfba4f[_0x564151(0x132)]?_0xec8a20?_0xcfba4f[_0x564151(0x148)]:_0xcfba4f[_0x564151(0x148)][_0x564151(0x194)](_0xcfba4f[_0x564151(0x159)]):_0xcfba4f[_0x564151(0x184)][_0x564151(0x15a)];}[_0x1a7b70(0x18d)](_0x1304fa,_0x5373a1){const _0x8996c1=_0x1a7b70;return _0x8996c1(0x157)===_0x1304fa[_0x8996c1(0x132)]?_0x1304fa[_0x8996c1(0x148)]=_0x1304fa[_0x8996c1(0x148)][_0x8996c1(0x194)](_0x5373a1):_0x8996c1(0x1bd)===_0x1304fa[_0x8996c1(0x132)]&&_0x1304fa[_0x8996c1(0x184)]&&(_0x1304fa[_0x8996c1(0x184)]=new _0x3ef203(_0x1304fa[_0x8996c1(0x184)][_0x8996c1(0x166)][_0x8996c1(0x194)](_0x5373a1),_0x1304fa[_0x8996c1(0x184)][_0x8996c1(0x15a)][_0x8996c1(0x194)](_0x5373a1))),_0x1304fa;}[_0x1a7b70(0xfe)](_0x4e69a5,_0x5ad68d){const _0x4e38c4=_0x1a7b70;_0x4e38c4(0x157)===_0x4e69a5[_0x4e38c4(0x132)]?_0x4e69a5[_0x4e38c4(0x148)]=this[_0x4e38c4(0x163)](_0x4e69a5[_0x4e38c4(0x148)],_0x5ad68d):_0x4e38c4(0x1bd)===_0x4e69a5[_0x4e38c4(0x132)]&&_0x4e69a5[_0x4e38c4(0x184)]&&(_0x4e69a5[_0x4e38c4(0x184)]=this[_0x4e38c4(0x114)](_0x4e69a5[_0x4e38c4(0x184)],_0x5ad68d));}[_0x1a7b70(0x163)](_0x3f2c1e,_0x3b1c18){const _0x781b77=_0x1a7b70;return new _0x10d0fe(_0x3b1c18,_0x3f2c1e[_0x781b77(0x1af)]);}[_0x1a7b70(0x114)](_0x5a5c7c,_0x503211){const _0x23d552=_0x1a7b70;return new _0x3ef203(this[_0x23d552(0x163)](_0x5a5c7c[_0x23d552(0x166)],_0x503211),this[_0x23d552(0x163)](_0x5a5c7c[_0x23d552(0x15a)],_0x503211));}[_0x1a7b70(0x167)](_0x32cd50,_0x483f34){return new _0x10d0fe(_0x483f34,[..._0x32cd50]);}[_0x1a7b70(0x19f)](_0x4f5bdb,_0x1ff02a,_0x178fff,_0x587f0){const _0x43703d=_0x1a7b70;return new _0x3ef203(this[_0x43703d(0x167)](_0x1ff02a,_0x587f0),this[_0x43703d(0x167)](_0x178fff,_0x587f0));}[_0x1a7b70(0xec)](_0x41f60a){const _0x288707=_0x1a7b70,_0x5d5f00=_0x2d42f3=>{const _0x50caff=_0x2083;switch(_0x2d42f3){case _0x50caff(0x157):return 0x1;case _0x50caff(0xfd):return 0x2;case _0x50caff(0x164):return 0x3;case _0x50caff(0x140):return 0x4;}};return _0x41f60a[_0x288707(0x154)]((_0x4b297e,_0x296316)=>_0x5d5f00(_0x4b297e[_0x288707(0x132)])-_0x5d5f00(_0x296316[_0x288707(0x132)]));}[_0x1a7b70(0x1ca)](_0x2dbea0,_0xbd281b){const _0x49c52d=_0x1a7b70,_0x48cc3e=_0x2dbea0[_0x49c52d(0x11c)](0x0),_0xe7861e=_0xbd281b[_0x49c52d(0x11c)](0x0);return!(!_0x48cc3e||!_0xe7861e)&&((!_0x48cc3e['is'](_0x49c52d(0x124))||!_0xe7861e['is'](_0x49c52d(0x124))||_0x48cc3e[_0x49c52d(0x106)]===_0xe7861e[_0x49c52d(0x106)])&&!(_0x48cc3e['is'](_0x49c52d(0x124))&&!_0xe7861e['is'](_0x49c52d(0x124))||!_0x48cc3e['is'](_0x49c52d(0x124))&&_0xe7861e['is'](_0x49c52d(0x124))));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcd11bf=_0x4bcb;(function(_0xca2ad4,_0x33cdc0){const _0x5c3639=_0x4bcb,_0x2da939=_0xca2ad4();while(!![]){try{const _0x4fccfd=parseInt(_0x5c3639(0xab))/0x1*(parseInt(_0x5c3639(0xbd))/0x2)+parseInt(_0x5c3639(0xbe))/0x3*(-parseInt(_0x5c3639(0xa5))/0x4)+-parseInt(_0x5c3639(0xba))/0x5+-parseInt(_0x5c3639(0xda))/0x6*(-parseInt(_0x5c3639(0xb6))/0x7)+parseInt(_0x5c3639(0xde))/0x8*(parseInt(_0x5c3639(0xae))/0x9)+parseInt(_0x5c3639(0x91))/0xa+parseInt(_0x5c3639(0xb2))/0xb;if(_0x4fccfd===_0x33cdc0)break;else _0x2da939['push'](_0x2da939['shift']());}catch(_0x32fdc6){_0x2da939['push'](_0x2da939['shift']());}}}(_0x38b6,0x5e236));import{ContextPlugin as _0x571480}from'ckeditor5/src/core.js';import{IconAIReview as _0x5bbf95}from'ckeditor5/src/icons.js';import{BodyCollection as _0x1ab4a0}from'ckeditor5/src/ui.js';import{AITabs as _0x4f7e18}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x51a36b}from'./ui/aireviewmodeview.js';import{getTranslation as _0x2e7593}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0xc458d3}from'./ui/aireviewmodeballoonsuggestionview.js';function _0x38b6(){const _0x6c2c7f=['runReviewCheck','addCheckRunResult','1900HMisdP','_bodyCollection','showBalloon','init','outdated','showChangeBalloon','327873cHgoDI','abortReviewStream','forEach','35577jnEowf','hideResult','element','accepted','5322647UOpQwz','learnMore','get','AITabs','324961Pbvkrg','acceptChange','AI_REVIEW_MODE','reviewCheckListView','3431730tpPDZS','setActiveStateInResults','dismissChange','2NzUtMw','3684OXqCCh','resetActiveStateInResults','activateChange','showNoChangesView','showCheckRunResult','acceptAllChanges','getResults','getReviewCheckList','showChunkErrorView','retryReview','toggleDiff','context','destroy','view','setChecks','showReviewCheckListView','_reviewModeView','pluginName','plugins','finishReview','showGeneralErrorView','requires','updateChangeState','showReviewCheckList','status','getChangeElement','showReviewCompletedView','find','54nVzESp','hideChangeBalloon','_reviewModeBalloonSuggestionItemView','AIReviewModeUI','24SgAzzw','setCheckResultTitle','setAvailableChecks','attachToDom','rejected','fire','setItemAsInactive','hideBalloon','hasChecks','showReviewCheckResultsView','addTab','delegate','showActionsWhenResultIsReady','error-general','hideDiffInBalloon','4138200CwXEbW','activateTab','isOfficialPlugin','locale','leaveReviewModeResultList','setItemAsActive','reviewMode','leaveReviewMode','setTitle','showCheckRunResults','error-chunk','deactivateChange','showDiffInBalloon','reviewCheckResultsView','detachFromDom','showResult','isPremiumPlugin','hideActionsWhenResultIsReady'];_0x38b6=function(){return _0x6c2c7f;};return _0x38b6();}import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0xcd11bf(0xc5),_0xcd11bf(0xa3),_0xcd11bf(0xac),_0xcd11bf(0xc8),_0xcd11bf(0xc3),_0xcd11bf(0x95),_0xcd11bf(0xc0),_0xcd11bf(0xb7),_0xcd11bf(0xbc),_0xcd11bf(0xb3),_0xcd11bf(0xd1),_0xcd11bf(0xc7)];function _0x4bcb(_0x282d02,_0x362e24){const _0x38b6fa=_0x38b6();return _0x4bcb=function(_0x4bcb79,_0x12eba1){_0x4bcb79=_0x4bcb79-0x8c;let _0x59056c=_0x38b6fa[_0x4bcb79];return _0x59056c;},_0x4bcb(_0x282d02,_0x362e24);}export class AIReviewModeUI extends _0x571480{[_0xcd11bf(0xce)];[_0xcd11bf(0xdc)];[_0xcd11bf(0xa6)];static get[_0xcd11bf(0xd3)](){return[_0x4f7e18];}static get[_0xcd11bf(0xcf)](){const _0x3fc7ad=_0xcd11bf;return _0x3fc7ad(0xdd);}static get[_0xcd11bf(0x93)](){return!0x0;}static get[_0xcd11bf(0xa1)](){return!0x0;}constructor(_0x36c55f){const _0x28ce19=_0xcd11bf;super(_0x36c55f),this[_0x28ce19(0xa6)]=new _0x1ab4a0(this[_0x28ce19(0xc9)][_0x28ce19(0x94)]),this[_0x28ce19(0xa6)][_0x28ce19(0xe1)](),this[_0x28ce19(0xce)]=new _0x51a36b(this[_0x28ce19(0xc9)][_0x28ce19(0x94)]),this[_0x28ce19(0xce)][_0x28ce19(0x8d)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x28ce19(0xdc)]=new _0xc458d3(this[_0x28ce19(0xc9)][_0x28ce19(0x94)],this[_0x28ce19(0xa6)]),this[_0x28ce19(0xdc)][_0x28ce19(0x8d)](_0x28ce19(0xb7),_0x28ce19(0xbc),_0x28ce19(0x9c))['to'](this);}[_0xcd11bf(0xa8)](){const _0x2e9616=_0xcd11bf,_0x3bd0f8=this[_0x2e9616(0xc9)][_0x2e9616(0xd0)][_0x2e9616(0xb4)](_0x2e9616(0xb5));_0x3bd0f8[_0x2e9616(0xcb)]['on'](_0x2e9616(0x92),(_0x45d628,_0x51bdc6)=>{const _0x130381=_0x2e9616;_0x130381(0x97)===_0x51bdc6?this[_0x130381(0xe3)](_0x130381(0xc5)):this[_0x130381(0xe3)](_0x130381(0x98));}),_0x3bd0f8[_0x2e9616(0xcb)][_0x2e9616(0x8c)]({'id':_0x2e9616(0x97),'buttonLabel':_0x2e7593(this[_0x2e9616(0xc9)][_0x2e9616(0x94)],_0x2e9616(0xb8)),'buttonIcon':_0x5bbf95,'order':0x0,'content':this[_0x2e9616(0xce)]});}[_0xcd11bf(0xca)](){const _0x2d54a1=_0xcd11bf;this[_0x2d54a1(0xa6)][_0x2d54a1(0x9f)](),super[_0x2d54a1(0xca)]();}[_0xcd11bf(0xe0)](_0x2db4fd){const _0xfd2000=_0xcd11bf;this[_0xfd2000(0xce)][_0xfd2000(0xb9)][_0xfd2000(0xe6)]()||this[_0xfd2000(0xce)][_0xfd2000(0xb9)][_0xfd2000(0xcc)](_0x2db4fd),this[_0xfd2000(0xce)][_0xfd2000(0xcd)]();}[_0xcd11bf(0xd5)](){const _0x44d9aa=_0xcd11bf;this[_0x44d9aa(0xe3)](_0x44d9aa(0xc5));}[_0xcd11bf(0x9a)](_0x2652c5){const _0x551481=_0xcd11bf;_0x2652c5&&(_0x551481(0x8f)!==_0x2652c5[_0x551481(0xd6)]?_0x551481(0x9b)!==_0x2652c5[_0x551481(0xd6)]?this[_0x551481(0xce)][_0x551481(0xe7)]():this[_0x551481(0xc6)]():this[_0x551481(0xd2)]());}[_0xcd11bf(0xc2)](_0x3ddf90){const _0x37288b=_0xcd11bf;this[_0x37288b(0xce)][_0x37288b(0xa4)](_0x3ddf90);}[_0xcd11bf(0xd2)](){const _0x552e32=_0xcd11bf;this[_0x552e32(0xce)][_0x552e32(0xd2)]();}[_0xcd11bf(0xc6)](){const _0x110db3=_0xcd11bf;this[_0x110db3(0xce)][_0x110db3(0xc6)]();}[_0xcd11bf(0xdf)](_0x382e51,_0x156c57){const _0x199415=_0xcd11bf;this[_0x199415(0xce)][_0x199415(0x9e)][_0x199415(0x99)](_0x382e51,_0x156c57);}[_0xcd11bf(0xbb)](_0x4292bd){const _0x2d29da=_0xcd11bf;this[_0x2d29da(0xce)][_0x2d29da(0x9e)][_0x2d29da(0xc4)]()[_0x2d29da(0xad)](_0x360d6f=>{const _0x1cf1fc=_0x2d29da;_0x360d6f['id']===_0x4292bd&&_0x360d6f[_0x1cf1fc(0x96)]();});}[_0xcd11bf(0xbf)](){const _0x5a039b=_0xcd11bf;this[_0x5a039b(0xce)][_0x5a039b(0x9e)][_0x5a039b(0xc4)]()[_0x5a039b(0xad)](_0x16eec9=>_0x16eec9[_0x5a039b(0xe4)]());}[_0xcd11bf(0xd4)](_0x40fd5d,_0x270d36){const _0x37afbf=_0xcd11bf;_0x37afbf(0xb1)===_0x270d36||_0x37afbf(0xe2)===_0x270d36||_0x37afbf(0xa9)===_0x270d36?this[_0x37afbf(0xce)][_0x37afbf(0x9e)][_0x37afbf(0xaf)](_0x40fd5d,_0x270d36):this[_0x37afbf(0xce)][_0x37afbf(0x9e)][_0x37afbf(0xa0)](_0x40fd5d,_0x270d36);}[_0xcd11bf(0xd8)](){const _0x74a0bf=_0xcd11bf;this[_0x74a0bf(0xce)][_0x74a0bf(0xd8)]();}[_0xcd11bf(0x8e)](){const _0x2da4d1=_0xcd11bf;this[_0x2da4d1(0xce)][_0x2da4d1(0x8e)]();}[_0xcd11bf(0xc1)](){const _0x6fdb22=_0xcd11bf;this[_0x6fdb22(0xce)][_0x6fdb22(0xc1)]();}[_0xcd11bf(0xa2)](){const _0x587d10=_0xcd11bf;this[_0x587d10(0xce)][_0x587d10(0xa2)]();}[_0xcd11bf(0xaa)](_0x3c577e,_0x528970){const _0x1a6b15=_0xcd11bf;this[_0x1a6b15(0xdc)][_0x1a6b15(0xa7)](_0x3c577e,_0x528970);}[_0xcd11bf(0xdb)](){const _0x158519=_0xcd11bf;this[_0x158519(0xdc)][_0x158519(0xe5)]();}[_0xcd11bf(0x90)](){const _0x2ba824=_0xcd11bf;this[_0x2ba824(0xdc)][_0x2ba824(0x90)]();}[_0xcd11bf(0x9d)](){const _0x4299d6=_0xcd11bf;this[_0x4299d6(0xdc)][_0x4299d6(0x9d)]();}[_0xcd11bf(0xd7)](_0x4458b9){const _0x50bead=_0xcd11bf,_0x3046ba=this[_0x50bead(0xce)][_0x50bead(0x9e)][_0x50bead(0xc4)]()[_0x50bead(0xd9)](_0x5c6512=>_0x5c6512['id']===_0x4458b9);return _0x3046ba?_0x3046ba[_0x50bead(0xb0)]:null;}[_0xcd11bf(0x9c)](){const _0x4a673=_0xcd11bf;this[_0x4a673(0xdc)][_0x4a673(0x9c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x46cba8=_0x4e51;function _0x4e51(_0x4b6834,_0x2d8fdc){var _0x2e55dd=_0x2e55();return _0x4e51=function(_0x4e518c,_0x8c0f2c){_0x4e518c=_0x4e518c-0x1c5;var _0x286810=_0x2e55dd[_0x4e518c];return _0x286810;},_0x4e51(_0x4b6834,_0x2d8fdc);}(function(_0x1b1108,_0x225ac9){var _0x174472=_0x4e51,_0x4cdb05=_0x1b1108();while(!![]){try{var _0x43ba08=-parseInt(_0x174472(0x1d4))/0x1*(parseInt(_0x174472(0x1d5))/0x2)+parseInt(_0x174472(0x1d1))/0x3*(-parseInt(_0x174472(0x1c6))/0x4)+-parseInt(_0x174472(0x1c8))/0x5*(-parseInt(_0x174472(0x1ce))/0x6)+-parseInt(_0x174472(0x1d0))/0x7+-parseInt(_0x174472(0x1c5))/0x8*(parseInt(_0x174472(0x1d2))/0x9)+-parseInt(_0x174472(0x1d3))/0xa*(parseInt(_0x174472(0x1cc))/0xb)+parseInt(_0x174472(0x1c9))/0xc;if(_0x43ba08===_0x225ac9)break;else _0x4cdb05['push'](_0x4cdb05['shift']());}catch(_0x55bfab){_0x4cdb05['push'](_0x4cdb05['shift']());}}}(_0x2e55,0x496ec));function _0x2e55(){var _0x39a9b7=['1qGeytd','642300ULEosL','1486504DFXeab','304Iddstj','description','5pVfKhm','26487144hjYtmv','isParameterized','useArgs','2843049HzSVsj','options','726468StHgRF','title','900935qibJKX','19869XFEInI','27keKOzo','20UzPqVf'];_0x2e55=function(){return _0x39a9b7;};return _0x2e55();}export class AIReviewCheck{['id'];[_0x46cba8(0x1cf)];[_0x46cba8(0x1c7)];[_0x46cba8(0x1ca)];[_0x46cba8(0x1cb)];[_0x46cba8(0x1cd)];constructor({id:_0xa45cb1,title:_0x927a0f,description:_0x446910,isParameterized:_0x5106b5,useArgs:_0x3ac491,options:_0x5bb82a}){var _0xf9a73b=_0x46cba8;this['id']=_0xa45cb1,this[_0xf9a73b(0x1cf)]=_0x927a0f,this[_0xf9a73b(0x1c7)]=_0x446910,this[_0xf9a73b(0x1ca)]=_0x5106b5,this[_0xf9a73b(0x1cb)]=_0x3ac491,this[_0xf9a73b(0x1cd)]=_0x5bb82a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x9dca(){var _0x58543a=['1154590PXYTlk','3347523ldjjcr','14695KirpuR','3RtFjjT','_models','1164998GYCoXY','models','833sxHDeC','61784VqmRjK','187NdQHCq','1034319NpAHRA','3856668UFDUBm','132MRjzVg'];_0x9dca=function(){return _0x58543a;};return _0x9dca();}var _0x268f0b=_0x2a41;(function(_0x29ccff,_0x242c3c){var _0x2510e6=_0x2a41,_0x40c751=_0x29ccff();while(!![]){try{var _0x36efcd=parseInt(_0x2510e6(0x1e3))/0x1+parseInt(_0x2510e6(0x1de))/0x2*(-parseInt(_0x2510e6(0x1dc))/0x3)+-parseInt(_0x2510e6(0x1d7))/0x4+-parseInt(_0x2510e6(0x1db))/0x5*(parseInt(_0x2510e6(0x1d8))/0x6)+parseInt(_0x2510e6(0x1e0))/0x7*(-parseInt(_0x2510e6(0x1e1))/0x8)+parseInt(_0x2510e6(0x1da))/0x9+parseInt(_0x2510e6(0x1d9))/0xa*(parseInt(_0x2510e6(0x1e2))/0xb);if(_0x36efcd===_0x242c3c)break;else _0x40c751['push'](_0x40c751['shift']());}catch(_0xd69940){_0x40c751['push'](_0x40c751['shift']());}}}(_0x9dca,0xccc34));function _0x2a41(_0x557ea4,_0x321c4b){var _0x9dca2b=_0x9dca();return _0x2a41=function(_0x2a4149,_0x13ebb1){_0x2a4149=_0x2a4149-0x1d7;var _0x3ce315=_0x9dca2b[_0x2a4149];return _0x3ce315;},_0x2a41(_0x557ea4,_0x321c4b);}import{AIReviewCheck as _0x50806f}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x50806f{[_0x268f0b(0x1dd)]=[];get[_0x268f0b(0x1df)](){var _0x227b3e=_0x268f0b;return this[_0x227b3e(0x1dd)];}set[_0x268f0b(0x1df)](_0x163135){var _0x29d31c=_0x268f0b;this[_0x29d31c(0x1dd)]=_0x163135;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xeb60de=_0x30d8;(function(_0x566b59,_0x108aaf){var _0xc11f13=_0x30d8,_0xa275c0=_0x566b59();while(!![]){try{var _0x2000c6=-parseInt(_0xc11f13(0x1dd))/0x1+-parseInt(_0xc11f13(0x1ef))/0x2*(-parseInt(_0xc11f13(0x1e0))/0x3)+parseInt(_0xc11f13(0x1eb))/0x4*(-parseInt(_0xc11f13(0x1e9))/0x5)+parseInt(_0xc11f13(0x1ea))/0x6*(-parseInt(_0xc11f13(0x1e1))/0x7)+parseInt(_0xc11f13(0x1e7))/0x8*(-parseInt(_0xc11f13(0x1ee))/0x9)+parseInt(_0xc11f13(0x1df))/0xa*(-parseInt(_0xc11f13(0x1e5))/0xb)+parseInt(_0xc11f13(0x1e6))/0xc*(parseInt(_0xc11f13(0x1e3))/0xd);if(_0x2000c6===_0x108aaf)break;else _0xa275c0['push'](_0xa275c0['shift']());}catch(_0x8042a2){_0xa275c0['push'](_0xa275c0['shift']());}}}(_0x63f9,0x490b8));import{ObservableMixin as _0x3103ae}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x4a824e}from'./aireviewcheck.js';function _0x63f9(){var _0x5b07e8=['14bNWflL','_checks','2795jWKxcW','map','3707bKAfAp','47940ORSUxj','8KeQEIJ','getCheckById','32810BvSKDF','1219578fNxUxs','44VbLjUR','checks','_mapCheckDefinitions','3293019fGBmlB','684SydzzO','find','149793ErlwvN','custom','2690Gfevfl','4608uXfmhT'];_0x63f9=function(){return _0x5b07e8;};return _0x63f9();}function _0x30d8(_0x20d503,_0xae2e15){var _0x63f911=_0x63f9();return _0x30d8=function(_0x30d87f,_0x3455cc){_0x30d87f=_0x30d87f-0x1dd;var _0x160257=_0x63f911[_0x30d87f];return _0x160257;},_0x30d8(_0x20d503,_0xae2e15);}import{AIReviewCheckCustom as _0x2c20f6}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x3103ae(){[_0xeb60de(0x1e2)];constructor(_0x4aefec){var _0x46f776=_0xeb60de;super(),this[_0x46f776(0x1e2)]=this[_0x46f776(0x1ed)](_0x4aefec);}get[_0xeb60de(0x1ec)](){var _0x2a25c7=_0xeb60de;return this[_0x2a25c7(0x1e2)];}[_0xeb60de(0x1e8)](_0x32f3d7){var _0x4c3e1f=_0xeb60de;return this[_0x4c3e1f(0x1ec)][_0x4c3e1f(0x1f0)](_0x269456=>_0x269456['id']===_0x32f3d7);}[_0xeb60de(0x1ed)](_0x419fc9){var _0x467045=_0xeb60de;return _0x419fc9[_0x467045(0x1e4)](_0x3c01d2=>_0x467045(0x1de)===_0x3c01d2['id']?new _0x2c20f6(_0x3c01d2):new _0x4a824e(_0x3c01d2));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1bada4=_0x49f4;function _0x49f4(_0x1b00d9,_0x40ec7b){var _0x2eb24e=_0x2eb2();return _0x49f4=function(_0x49f476,_0xd51b9f){_0x49f476=_0x49f476-0x1df;var _0x2b2b56=_0x2eb24e[_0x49f476];return _0x2b2b56;},_0x49f4(_0x1b00d9,_0x40ec7b);}(function(_0x34db54,_0x1126ab){var _0x127a4a=_0x49f4,_0x192550=_0x34db54();while(!![]){try{var _0x21b0e8=-parseInt(_0x127a4a(0x1e7))/0x1*(parseInt(_0x127a4a(0x1e6))/0x2)+-parseInt(_0x127a4a(0x1ea))/0x3*(-parseInt(_0x127a4a(0x1ec))/0x4)+parseInt(_0x127a4a(0x1e0))/0x5+parseInt(_0x127a4a(0x1e2))/0x6+parseInt(_0x127a4a(0x1e3))/0x7+parseInt(_0x127a4a(0x1e8))/0x8*(-parseInt(_0x127a4a(0x1e9))/0x9)+-parseInt(_0x127a4a(0x1df))/0xa*(-parseInt(_0x127a4a(0x1eb))/0xb);if(_0x21b0e8===_0x1126ab)break;else _0x192550['push'](_0x192550['shift']());}catch(_0x43a979){_0x192550['push'](_0x192550['shift']());}}}(_0x2eb2,0x57707));function _0x2eb2(){var _0x1a70c8=['34conrZB','2727xVZhEh','716616avIkji','27PYRUTM','6JIAmqH','73634VLSnga','403388IlVkhV','70fbBJcv','822055GuRgEB','contentInitial','721998DAHNPH','979615VSVppG','contentNew','documentVersion'];_0x2eb2=function(){return _0x1a70c8;};return _0x2eb2();}import{EmitterMixin as _0x1fd0bc}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x1fd0bc(){['id'];[_0x1bada4(0x1e4)];[_0x1bada4(0x1e1)];[_0x1bada4(0x1e5)];constructor({id:_0x4d8b6a,contentNew:_0x1c77d0,contentInitial:_0x1d1f90,documentVersion:_0x220a5c}){var _0x5794f2=_0x1bada4;super(),this['id']=_0x4d8b6a,this[_0x5794f2(0x1e4)]=_0x1c77d0,this[_0x5794f2(0x1e1)]=_0x1d1f90,this[_0x5794f2(0x1e5)]=_0x220a5c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x26a1f5=_0x3b8f;(function(_0x42758c,_0x32f39c){var _0x447dfd=_0x3b8f,_0xafeff4=_0x42758c();while(!![]){try{var _0x41f858=parseInt(_0x447dfd(0x17f))/0x1*(parseInt(_0x447dfd(0x191))/0x2)+-parseInt(_0x447dfd(0x182))/0x3+-parseInt(_0x447dfd(0x18b))/0x4+-parseInt(_0x447dfd(0x18f))/0x5*(-parseInt(_0x447dfd(0x186))/0x6)+-parseInt(_0x447dfd(0x184))/0x7*(parseInt(_0x447dfd(0x190))/0x8)+parseInt(_0x447dfd(0x17d))/0x9+parseInt(_0x447dfd(0x18d))/0xa;if(_0x41f858===_0x32f39c)break;else _0xafeff4['push'](_0xafeff4['shift']());}catch(_0x32017e){_0xafeff4['push'](_0xafeff4['shift']());}}}(_0x3d55,0x4d1f1));import{ObservableMixin as _0x51e35b}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x51e35b(){['id'];[_0x26a1f5(0x17e)];[_0x26a1f5(0x192)];[_0x26a1f5(0x193)]=[];constructor(_0x59074c,_0x5bf8f3,_0x4167de){var _0x42a751=_0x26a1f5;super(),this['id']=_0x59074c,this[_0x42a751(0x17e)]=_0x4167de,this[_0x42a751(0x192)]=_0x5bf8f3,this[_0x42a751(0x18a)](_0x42a751(0x180),!0x1),this[_0x42a751(0x18a)](_0x42a751(0x181),!0x1),this[_0x42a751(0x18a)](_0x42a751(0x187),_0x42a751(0x189)),this['on'](_0x42a751(0x18c),()=>{var _0xa95a56=_0x42a751;_0xa95a56(0x189)!==this[_0xa95a56(0x187)]&&this[_0xa95a56(0x180)]&&(this[_0xa95a56(0x180)]=!0x1);});}get[_0x26a1f5(0x188)](){var _0x33ee6b=_0x26a1f5;return this[_0x33ee6b(0x192)][_0x33ee6b(0x183)]();}get[_0x26a1f5(0x18e)](){var _0x747f14=_0x26a1f5;return this[_0x747f14(0x192)][_0x747f14(0x18e)];}get[_0x26a1f5(0x185)](){var _0x406ccb=_0x26a1f5;return this[_0x406ccb(0x192)][_0x406ccb(0x185)];}}function _0x3b8f(_0x5f22f4,_0x279ced){var _0x3d55ad=_0x3d55();return _0x3b8f=function(_0x3b8f19,_0x16e4f3){_0x3b8f19=_0x3b8f19-0x17d;var _0x3cbbff=_0x3d55ad[_0x3b8f19];return _0x3cbbff;},_0x3b8f(_0x5f22f4,_0x279ced);}function _0x3d55(){var _0x2e0830=['parent','1gVUBYB','isActivated','isRated','555429tCnRXw','context','44870eySnzQ','operationsIsolated','243204rXcUOS','status','contentDiffed','pending','set','995680nERvJR','change:status','6050520fTnwkg','operations','10qFksqm','416NeXBus','431382JJveOt','_data','_editorOperations','1633149PViIZE'];_0x3d55=function(){return _0x2e0830;};return _0x3d55();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x215b2d=_0x22ce;(function(_0x1404b1,_0x554fdb){const _0xb52a8c=_0x22ce,_0x33a07a=_0x1404b1();while(!![]){try{const _0x19b591=parseInt(_0xb52a8c(0x153))/0x1+parseInt(_0xb52a8c(0x190))/0x2*(parseInt(_0xb52a8c(0x16d))/0x3)+-parseInt(_0xb52a8c(0x161))/0x4+-parseInt(_0xb52a8c(0x17c))/0x5+-parseInt(_0xb52a8c(0x199))/0x6+-parseInt(_0xb52a8c(0x156))/0x7+parseInt(_0xb52a8c(0x18b))/0x8*(parseInt(_0xb52a8c(0x196))/0x9);if(_0x19b591===_0x554fdb)break;else _0x33a07a['push'](_0x33a07a['shift']());}catch(_0x1b0a88){_0x33a07a['push'](_0x33a07a['shift']());}}}(_0x16ec,0xf3786));import{ObservableMixin as _0x214a67,uid as _0x4267d6}from'ckeditor5/src/utils.js';function _0x16ec(){const _0x4d5494=['loading','_sourceCheck','hasModifications','currentError','_addReviewCheckResult','_results','markChangeAsRejected','1489707YNcScH','size','find','_documentData','error-chunk','data','restart','error','reviewCheckResultDeactivated','initialized','markChangeAsOutdated','status','_reviewParams','reviewCheckRunUpdated','_createApiRequest','647855sBlMvg','change:status','message','documentData','dataId','accepted','set','sendRating','aborted','elements','subTitle','forEach','rejected','ai-request-aborted','_aiConnector','8ahQfqI','finished','textDelta','getContent','fire','6tNEnNR','event','callId','abort','markChangeAsAccepted','length','7373610mMGHgz','parent','processedResultsCount','3124788xPXGHy','reviewCheckResultActivated','reviewCheckResultChangeStatusUpdated','includes','addResultChanges','isRated','markAllChangesAsAccepted','_sendRatingRequest','reviewCheckResultReady','clear','review-metadata','ready','markChangeAsPending','_currentError','activateChange','every','forceReadyState','reviewName','pending','filter','reviewCheckResultAdded','change:isActivated','push','deactivateChange','outdated','1019545yqymLt','error-general','unmodified','2559928IwGpCW','version','operation','start','_reviewArgs','title','get','_activeRequest','_changes','isActivated','_checkIfFinished','5260860yQBuRt','isChangeActive','abortController','getActiveChanges','getStream'];_0x16ec=function(){return _0x4d5494;};return _0x16ec();}import{AIReviewCheckResult as _0x4bf7cb}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x3ebd55}from'./aireviewcheckresultchange.js';function _0x22ce(_0x3679c7,_0x87046a){const _0x16ec4f=_0x16ec();return _0x22ce=function(_0x22ce1b,_0x283823){_0x22ce1b=_0x22ce1b-0x13f;let _0x47c6d3=_0x16ec4f[_0x22ce1b];return _0x47c6d3;},_0x22ce(_0x3679c7,_0x87046a);}export class AIReviewCheckRun extends _0x214a67(){['id']=_0x4267d6();[_0x215b2d(0x192)];[_0x215b2d(0x16b)]=new Map();[_0x215b2d(0x15e)]=[];[_0x215b2d(0x170)];[_0x215b2d(0x167)];[_0x215b2d(0x18a)];[_0x215b2d(0x179)];[_0x215b2d(0x15a)];[_0x215b2d(0x15d)]=null;[_0x215b2d(0x147)];constructor(_0x407429,_0x3eaa2f,_0x2d365a,_0x29bda6,_0x1daf53){const _0x438dfe=_0x215b2d;super(),this[_0x438dfe(0x170)]=_0x407429,this[_0x438dfe(0x167)]=_0x3eaa2f,this[_0x438dfe(0x18a)]=_0x2d365a,this[_0x438dfe(0x179)]=_0x29bda6,this[_0x438dfe(0x15a)]=_0x1daf53,this['on'](_0x438dfe(0x17d),(_0x552a6f,_0x1a1c6d,_0x4c5b04)=>{const _0x5680b6=_0x438dfe;this[_0x5680b6(0x18f)](_0x5680b6(0x17a),{'status':_0x4c5b04,'run':this,'error':this[_0x5680b6(0x147)]});}),this[_0x438dfe(0x182)](_0x438dfe(0x178),_0x438dfe(0x176));}get[_0x215b2d(0x17f)](){const _0x4637ed=_0x215b2d;return this[_0x4637ed(0x170)];}get[_0x215b2d(0x198)](){const _0x12d6e9=_0x215b2d;return this[_0x12d6e9(0x16b)][_0x12d6e9(0x16e)];}get[_0x215b2d(0x15b)](){const _0x404715=_0x215b2d;return this[_0x404715(0x167)][_0x404715(0x15b)];}get[_0x215b2d(0x186)](){return'';}get[_0x215b2d(0x14b)](){const _0x15a8bf=_0x215b2d;return this[_0x15a8bf(0x167)]['id'];}get[_0x215b2d(0x168)](){const _0x1406f0=_0x215b2d;return!this[_0x1406f0(0x15e)][_0x1406f0(0x149)](_0x2d2b38=>_0x1406f0(0x14c)===_0x2d2b38[_0x1406f0(0x178)]);}get[_0x215b2d(0x169)](){const _0x497f64=_0x215b2d;return this[_0x497f64(0x147)];}async[_0x215b2d(0x159)](){const _0xa2d856=_0x215b2d;this[_0xa2d856(0x178)]=_0xa2d856(0x166),this[_0xa2d856(0x147)]=void 0x0;try{this[_0xa2d856(0x15d)]=this[_0xa2d856(0x17b)]();const _0x43b3f0=await this[_0xa2d856(0x15d)][_0xa2d856(0x165)]();this[_0xa2d856(0x178)]=_0xa2d856(0x172);for await(const _0x3ca593 of _0x43b3f0)_0xa2d856(0x155)!==_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x158)]&&(_0xa2d856(0x174)!==_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x158)]?_0xa2d856(0x144)!==_0x3ca593[_0xa2d856(0x191)]?this[_0xa2d856(0x16a)](_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x180)],_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x18d)]):this[_0xa2d856(0x192)]=_0x3ca593[_0xa2d856(0x172)][_0xa2d856(0x192)]:this[_0xa2d856(0x178)]=_0xa2d856(0x171));_0xa2d856(0x171)!==this[_0xa2d856(0x178)]&&(0x0===this[_0xa2d856(0x16b)][_0xa2d856(0x16e)]?this[_0xa2d856(0x178)]=_0xa2d856(0x155):this[_0xa2d856(0x178)]=_0xa2d856(0x145));}catch(_0x10cd8b){this[_0xa2d856(0x147)]=_0x10cd8b,_0x10cd8b instanceof Error&&_0x10cd8b[_0xa2d856(0x17e)][_0xa2d856(0x19c)](_0xa2d856(0x189))?this[_0xa2d856(0x178)]=_0xa2d856(0x184):this[_0xa2d856(0x178)]=_0xa2d856(0x154);}finally{this[_0xa2d856(0x15d)]=null;}}async[_0x215b2d(0x173)](){const _0x11a395=_0x215b2d;this[_0x11a395(0x16b)][_0x11a395(0x143)](),this[_0x11a395(0x15e)][_0x11a395(0x195)]=0x0,this[_0x11a395(0x147)]=void 0x0,await this[_0x11a395(0x159)]();}[_0x215b2d(0x19d)](_0x34aa02,_0x7b227c){const _0x33958e=_0x215b2d,_0x1b3b46=this[_0x33958e(0x16b)][_0x33958e(0x15c)](_0x34aa02);if(!_0x1b3b46)return;const _0x1fe288=[];_0x7b227c[_0x33958e(0x187)]((_0x554533,_0x527531)=>{const _0x239f1d=_0x33958e,_0x510600=new _0x3ebd55(_0x1b3b46['id']+'-'+_0x527531,_0x554533,_0x1b3b46);_0x510600['on'](_0x239f1d(0x17d),()=>{const _0x5b393c=_0x239f1d;this[_0x5b393c(0x18f)](_0x5b393c(0x19b),{'change':_0x510600,'status':_0x510600[_0x5b393c(0x178)]});}),_0x510600['on'](_0x239f1d(0x14f),()=>{const _0x20cc98=_0x239f1d;_0x510600[_0x20cc98(0x15f)]?this[_0x20cc98(0x18f)](_0x20cc98(0x19a),{'change':_0x510600}):this[_0x20cc98(0x18f)](_0x20cc98(0x175),{'change':_0x510600});}),this[_0x239f1d(0x15e)][_0x239f1d(0x150)](_0x510600),_0x1fe288[_0x239f1d(0x150)](_0x510600);}),this[_0x33958e(0x18f)](_0x33958e(0x142),{'changes':_0x1fe288,'result':_0x1b3b46,'source':this});}[_0x215b2d(0x193)](){const _0x343a07=_0x215b2d;this[_0x343a07(0x15d)]&&(this[_0x343a07(0x15d)][_0x343a07(0x163)][_0x343a07(0x193)](),this[_0x343a07(0x15d)]=null,this[_0x343a07(0x178)]=_0x343a07(0x184));}[_0x215b2d(0x162)](_0x5ad2ab){const _0x30c4a3=_0x215b2d,_0x381666=this[_0x30c4a3(0x15e)][_0x30c4a3(0x16f)](_0x15c8bc=>_0x15c8bc['id']===_0x5ad2ab);return!(!_0x381666||_0x30c4a3(0x14c)!==_0x381666[_0x30c4a3(0x178)]);}[_0x215b2d(0x164)](){const _0x1b1d4d=_0x215b2d;return this[_0x1b1d4d(0x15e)][_0x1b1d4d(0x14d)](_0x445d38=>_0x1b1d4d(0x14c)===_0x445d38[_0x1b1d4d(0x178)]);}[_0x215b2d(0x140)](){const _0x100809=_0x215b2d;for(const _0x111998 of this[_0x100809(0x15e)])_0x100809(0x14c)===_0x111998[_0x100809(0x178)]&&(_0x111998[_0x100809(0x178)]=_0x100809(0x181));this[_0x100809(0x160)]();}[_0x215b2d(0x194)](_0x47230b){const _0xf4942=_0x215b2d,_0x151677=this[_0xf4942(0x15e)][_0xf4942(0x16f)](_0x4795d3=>_0x4795d3['id']===_0x47230b);_0x151677&&_0xf4942(0x14c)===_0x151677[_0xf4942(0x178)]&&(_0x151677[_0xf4942(0x178)]=_0xf4942(0x181)),this[_0xf4942(0x160)]();}[_0x215b2d(0x16c)](_0x4e1749){const _0x4bd608=_0x215b2d,_0x3c3a17=this[_0x4bd608(0x15e)][_0x4bd608(0x16f)](_0x5f1238=>_0x5f1238['id']===_0x4e1749);_0x3c3a17&&_0x4bd608(0x14c)===_0x3c3a17[_0x4bd608(0x178)]&&(_0x3c3a17[_0x4bd608(0x178)]=_0x4bd608(0x188)),this[_0x4bd608(0x160)]();}[_0x215b2d(0x177)](_0x2ac63d){const _0x2e551c=_0x215b2d,_0x3bc329=this[_0x2e551c(0x15e)][_0x2e551c(0x16f)](_0x4ea913=>_0x4ea913['id']===_0x2ac63d);_0x3bc329&&_0x2e551c(0x14c)===_0x3bc329[_0x2e551c(0x178)]&&(_0x3bc329[_0x2e551c(0x178)]=_0x2e551c(0x152)),this[_0x2e551c(0x160)]();}[_0x215b2d(0x146)](_0x566305){const _0x213bdb=_0x215b2d,_0x3fbc39=this[_0x213bdb(0x15e)][_0x213bdb(0x16f)](_0x17cf27=>_0x17cf27['id']===_0x566305);_0x3fbc39&&_0x213bdb(0x152)===_0x3fbc39[_0x213bdb(0x178)]&&(_0x3fbc39[_0x213bdb(0x178)]=_0x213bdb(0x14c)),this[_0x213bdb(0x160)]();}[_0x215b2d(0x148)](_0x24b818){const _0x9051ef=_0x215b2d;this[_0x9051ef(0x15e)][_0x9051ef(0x14d)](_0x565d28=>_0x565d28[_0x9051ef(0x15f)]&&_0x565d28['id']!==_0x24b818)[_0x9051ef(0x187)](_0x2b160c=>{const _0x5b6827=_0x9051ef;_0x2b160c[_0x5b6827(0x15f)]=!0x1;});const _0x30e2cf=this[_0x9051ef(0x15e)][_0x9051ef(0x16f)](_0x49f06f=>_0x49f06f['id']===_0x24b818);_0x30e2cf&&_0x9051ef(0x14c)===_0x30e2cf[_0x9051ef(0x178)]&&(_0x30e2cf[_0x9051ef(0x15f)]=!0x0);}[_0x215b2d(0x151)](){const _0x20bae7=_0x215b2d;this[_0x20bae7(0x15e)][_0x20bae7(0x14d)](_0x509976=>_0x509976[_0x20bae7(0x15f)])[_0x20bae7(0x187)](_0x218141=>{const _0x5060e5=_0x20bae7;_0x218141[_0x5060e5(0x15f)]=!0x1;});}[_0x215b2d(0x14a)](){const _0x294e41=_0x215b2d;this[_0x294e41(0x178)]=_0x294e41(0x145);}async[_0x215b2d(0x183)](_0xccfaa8){const _0x2ca46c=_0x215b2d;if(_0x2ca46c(0x176)===this[_0x2ca46c(0x178)]||_0x2ca46c(0x166)===this[_0x2ca46c(0x178)]||_0x2ca46c(0x172)===this[_0x2ca46c(0x178)])return;if(!this[_0x2ca46c(0x192)]||0x0===this[_0x2ca46c(0x15e)][_0x2ca46c(0x195)])return;let _0x3b45dd;if(_0xccfaa8){const _0x124841=this[_0x2ca46c(0x15e)][_0x2ca46c(0x16f)](_0x23bbd3=>_0x23bbd3['id']===_0xccfaa8);if(_0x124841&&_0x124841[_0x2ca46c(0x13f)])return;_0x124841&&(_0x3b45dd=_0x124841[_0x2ca46c(0x197)]['id'],_0x124841[_0x2ca46c(0x13f)]=!0x0);}const _0xa8f6bc={'positiveCount':this[_0x2ca46c(0x15e)][_0x2ca46c(0x14d)](_0x445e43=>_0x2ca46c(0x181)===_0x445e43[_0x2ca46c(0x178)])[_0x2ca46c(0x195)],'totalCount':this[_0x2ca46c(0x15e)][_0x2ca46c(0x195)]};this[_0x2ca46c(0x141)](_0xa8f6bc,this[_0x2ca46c(0x192)],_0x3b45dd);}[_0x215b2d(0x16a)](_0x1eef2f,_0x42c1db){const _0x3f1199=_0x215b2d,_0x237df6=this[_0x3f1199(0x170)][_0x3f1199(0x185)][_0x3f1199(0x15c)](_0x1eef2f);if(!_0x237df6)return;const _0x2a9514=_0x237df6[_0x3f1199(0x18e)]();if(_0x2a9514===_0x42c1db)return;const _0x226b34=new _0x4bf7cb({'id':_0x1eef2f,'contentInitial':_0x2a9514,'contentNew':_0x42c1db,'documentVersion':this[_0x3f1199(0x170)][_0x3f1199(0x157)]});this[_0x3f1199(0x16b)][_0x3f1199(0x182)](_0x226b34['id'],_0x226b34),this[_0x3f1199(0x18f)](_0x3f1199(0x14e),{'result':_0x226b34,'source':this});}[_0x215b2d(0x160)](){const _0x382b6d=_0x215b2d;_0x382b6d(0x18c)===this[_0x382b6d(0x178)]&&(this[_0x382b6d(0x15e)][_0x382b6d(0x14d)](_0x3ccb67=>_0x382b6d(0x14c)===_0x3ccb67[_0x382b6d(0x178)])[_0x382b6d(0x195)]>0x0&&(this[_0x382b6d(0x178)]=_0x382b6d(0x145))),_0x382b6d(0x145)===this[_0x382b6d(0x178)]&&(0x0===this[_0x382b6d(0x15e)][_0x382b6d(0x14d)](_0x500af5=>_0x382b6d(0x14c)===_0x500af5[_0x382b6d(0x178)])[_0x382b6d(0x195)]&&(this[_0x382b6d(0x178)]=_0x382b6d(0x18c)));}}
|
|
23
|
+
const _0x250f71=_0x5b40;(function(_0x53533a,_0x383f65){const _0x12390c=_0x5b40,_0x367169=_0x53533a();while(!![]){try{const _0x519cde=-parseInt(_0x12390c(0xc8))/0x1+-parseInt(_0x12390c(0xf9))/0x2+parseInt(_0x12390c(0xc1))/0x3*(parseInt(_0x12390c(0xfc))/0x4)+parseInt(_0x12390c(0xfa))/0x5+-parseInt(_0x12390c(0xba))/0x6+-parseInt(_0x12390c(0xb1))/0x7*(-parseInt(_0x12390c(0xe6))/0x8)+parseInt(_0x12390c(0xe5))/0x9;if(_0x519cde===_0x383f65)break;else _0x367169['push'](_0x367169['shift']());}catch(_0x344b59){_0x367169['push'](_0x367169['shift']());}}}(_0x361b,0x94431));import{ObservableMixin as _0x285213,uid as _0x6cb213}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x5f5224}from'./aireviewcheckresult.js';function _0x5b40(_0x1e9e47,_0x12ded2){const _0x361ba7=_0x361b();return _0x5b40=function(_0x5b406f,_0x3a85ea){_0x5b406f=_0x5b406f-0xa9;let _0x5bd08a=_0x361ba7[_0x5b406f];return _0x5bd08a;},_0x5b40(_0x1e9e47,_0x12ded2);}function _0x361b(){const _0x1f10ae=['subTitle','reviewCheckResultReady','forEach','status','push','event','change:isActivated','forceReadyState','callId','_changes','reviewCheckRunUpdated','4391451DhVYrq','144488bMpvSZ','addResultChanges','_currentError','isChangeActive','ai-request-aborted','getStream','abort','_reviewArgs','reviewCheckResultDeactivated','error','ready','_sendRatingRequest','_activeRequest','clear','dataId','operation','_createApiRequest','every','currentError','996058mVSUoA','1766560vDBDPf','sendRating','8RsOlUd','_aiConnector','deactivateChange','change:status','aborted','unmodified','get','processedResultsCount','markChangeAsRejected','message','set','accepted','length','data','restart','markChangeAsPending','isActivated','getActiveChanges','includes','_addReviewCheckResult','301tFjCMq','markChangeAsAccepted','_sourceCheck','_results','_checkIfFinished','elements','hasModifications','activateChange','error-chunk','232830lKdmox','size','outdated','start','_documentData','abortController','version','3069gTKrTW','find','isRated','fire','title','reviewCheckResultAdded','loading','475805BiECub','markAllChangesAsAccepted','error-general','parent','initialized','documentData','markChangeAsOutdated','_reviewParams','reviewCheckResultActivated','filter','finished','review-metadata','rejected','getContent','reviewCheckResultChangeStatusUpdated','reviewName','textDelta','pending'];_0x361b=function(){return _0x1f10ae;};return _0x361b();}import{AIReviewCheckResultChange as _0x11ae06}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x285213(){['id']=_0x6cb213();[_0x250f71(0xe2)];[_0x250f71(0xb4)]=new Map();[_0x250f71(0xe3)]=[];[_0x250f71(0xbe)];[_0x250f71(0xb3)];[_0x250f71(0xfd)];[_0x250f71(0xcf)];[_0x250f71(0xed)];[_0x250f71(0xf2)]=null;[_0x250f71(0xe8)];constructor(_0x3c61c1,_0x5d3e27,_0x11a3f3,_0x28403e,_0x3a64bb){const _0x1929b5=_0x250f71;super(),this[_0x1929b5(0xbe)]=_0x3c61c1,this[_0x1929b5(0xb3)]=_0x5d3e27,this[_0x1929b5(0xfd)]=_0x11a3f3,this[_0x1929b5(0xcf)]=_0x28403e,this[_0x1929b5(0xed)]=_0x3a64bb,this['on'](_0x1929b5(0xff),(_0x33831b,_0x52d9b4,_0xaf095)=>{const _0x3f5686=_0x1929b5;this[_0x3f5686(0xc4)](_0x3f5686(0xe4),{'status':_0xaf095,'run':this,'error':this[_0x3f5686(0xe8)]});}),this[_0x1929b5(0x106)](_0x1929b5(0xdd),_0x1929b5(0xcc));}get[_0x250f71(0xcd)](){const _0x1c013e=_0x250f71;return this[_0x1c013e(0xbe)];}get[_0x250f71(0x103)](){const _0x2b4737=_0x250f71;return this[_0x2b4737(0xb4)][_0x2b4737(0xbb)];}get[_0x250f71(0xc5)](){const _0x1d6bf8=_0x250f71;return this[_0x1d6bf8(0xb3)][_0x1d6bf8(0xc5)];}get[_0x250f71(0xda)](){return'';}get[_0x250f71(0xd7)](){const _0x2c958e=_0x250f71;return this[_0x2c958e(0xb3)]['id'];}get[_0x250f71(0xb7)](){const _0x199376=_0x250f71;return!this[_0x199376(0xe3)][_0x199376(0xf7)](_0x5e2c2d=>_0x199376(0xd9)===_0x5e2c2d[_0x199376(0xdd)]);}get[_0x250f71(0xf8)](){const _0x4be276=_0x250f71;return this[_0x4be276(0xe8)];}async[_0x250f71(0xbd)](){const _0x3a099f=_0x250f71;this[_0x3a099f(0xdd)]=_0x3a099f(0xc7),this[_0x3a099f(0xe8)]=void 0x0;try{this[_0x3a099f(0xf2)]=this[_0x3a099f(0xf6)]();const _0x3e4fa3=await this[_0x3a099f(0xf2)][_0x3a099f(0xeb)]();this[_0x3a099f(0xdd)]=_0x3a099f(0xaa);for await(const _0x13fe2c of _0x3e4fa3)_0x3a099f(0x101)!==_0x13fe2c[_0x3a099f(0xaa)][_0x3a099f(0xf5)]&&(_0x3a099f(0xef)!==_0x13fe2c[_0x3a099f(0xaa)][_0x3a099f(0xf5)]?_0x3a099f(0xd3)!==_0x13fe2c[_0x3a099f(0xdf)]?this[_0x3a099f(0xb0)](_0x13fe2c[_0x3a099f(0xaa)][_0x3a099f(0xf4)],_0x13fe2c[_0x3a099f(0xaa)][_0x3a099f(0xd8)]):this[_0x3a099f(0xe2)]=_0x13fe2c[_0x3a099f(0xaa)][_0x3a099f(0xe2)]:this[_0x3a099f(0xdd)]=_0x3a099f(0xb9));_0x3a099f(0xb9)!==this[_0x3a099f(0xdd)]&&(0x0===this[_0x3a099f(0xb4)][_0x3a099f(0xbb)]?this[_0x3a099f(0xdd)]=_0x3a099f(0x101):this[_0x3a099f(0xdd)]=_0x3a099f(0xf0));}catch(_0x113b5d){this[_0x3a099f(0xe8)]=_0x113b5d,_0x113b5d instanceof Error&&_0x113b5d[_0x3a099f(0x105)][_0x3a099f(0xaf)](_0x3a099f(0xea))?this[_0x3a099f(0xdd)]=_0x3a099f(0x100):this[_0x3a099f(0xdd)]=_0x3a099f(0xca);}finally{this[_0x3a099f(0xf2)]=null;}}async[_0x250f71(0xab)](){const _0x48a875=_0x250f71;this[_0x48a875(0xb4)][_0x48a875(0xf3)](),this[_0x48a875(0xe3)][_0x48a875(0xa9)]=0x0,this[_0x48a875(0xe8)]=void 0x0,await this[_0x48a875(0xbd)]();}[_0x250f71(0xe7)](_0x2751ee,_0x2df946){const _0x4201d1=_0x250f71,_0x467f49=this[_0x4201d1(0xb4)][_0x4201d1(0x102)](_0x2751ee);if(!_0x467f49)return;const _0x7f09d8=[];_0x2df946[_0x4201d1(0xdc)]((_0x1ef614,_0x1b180b)=>{const _0x588a80=_0x4201d1,_0x24383c=new _0x11ae06(_0x467f49['id']+'-'+_0x1b180b,_0x1ef614,_0x467f49);_0x24383c['on'](_0x588a80(0xff),()=>{const _0x491505=_0x588a80;this[_0x491505(0xc4)](_0x491505(0xd6),{'change':_0x24383c,'status':_0x24383c[_0x491505(0xdd)]});}),_0x24383c['on'](_0x588a80(0xe0),()=>{const _0x594fd0=_0x588a80;_0x24383c[_0x594fd0(0xad)]?this[_0x594fd0(0xc4)](_0x594fd0(0xd0),{'change':_0x24383c}):this[_0x594fd0(0xc4)](_0x594fd0(0xee),{'change':_0x24383c});}),this[_0x588a80(0xe3)][_0x588a80(0xde)](_0x24383c),_0x7f09d8[_0x588a80(0xde)](_0x24383c);}),this[_0x4201d1(0xc4)](_0x4201d1(0xdb),{'changes':_0x7f09d8,'result':_0x467f49,'source':this});}[_0x250f71(0xec)](){const _0x3004ed=_0x250f71;this[_0x3004ed(0xf2)]&&(this[_0x3004ed(0xf2)][_0x3004ed(0xbf)][_0x3004ed(0xec)](),this[_0x3004ed(0xf2)]=null,this[_0x3004ed(0xdd)]=_0x3004ed(0x100));}[_0x250f71(0xe9)](_0x34365){const _0xfcbea8=_0x250f71,_0x113821=this[_0xfcbea8(0xe3)][_0xfcbea8(0xc2)](_0x19eeff=>_0x19eeff['id']===_0x34365);return!(!_0x113821||_0xfcbea8(0xd9)!==_0x113821[_0xfcbea8(0xdd)]);}[_0x250f71(0xae)](){const _0x1e4c0e=_0x250f71;return this[_0x1e4c0e(0xe3)][_0x1e4c0e(0xd1)](_0x3819e1=>_0x1e4c0e(0xd9)===_0x3819e1[_0x1e4c0e(0xdd)]);}[_0x250f71(0xc9)](){const _0x22e06d=_0x250f71;for(const _0x2ac734 of this[_0x22e06d(0xe3)])_0x22e06d(0xd9)===_0x2ac734[_0x22e06d(0xdd)]&&(_0x2ac734[_0x22e06d(0xdd)]=_0x22e06d(0x107));this[_0x22e06d(0xb5)]();}[_0x250f71(0xb2)](_0x55113){const _0xda9bd9=_0x250f71,_0x161434=this[_0xda9bd9(0xe3)][_0xda9bd9(0xc2)](_0x1aeb72=>_0x1aeb72['id']===_0x55113);_0x161434&&_0xda9bd9(0xd9)===_0x161434[_0xda9bd9(0xdd)]&&(_0x161434[_0xda9bd9(0xdd)]=_0xda9bd9(0x107)),this[_0xda9bd9(0xb5)]();}[_0x250f71(0x104)](_0x2ec8ba){const _0x1f8d70=_0x250f71,_0xab8256=this[_0x1f8d70(0xe3)][_0x1f8d70(0xc2)](_0x2703be=>_0x2703be['id']===_0x2ec8ba);_0xab8256&&_0x1f8d70(0xd9)===_0xab8256[_0x1f8d70(0xdd)]&&(_0xab8256[_0x1f8d70(0xdd)]=_0x1f8d70(0xd4)),this[_0x1f8d70(0xb5)]();}[_0x250f71(0xce)](_0x3ca150){const _0x5574c9=_0x250f71,_0x28bba5=this[_0x5574c9(0xe3)][_0x5574c9(0xc2)](_0x3ba7d3=>_0x3ba7d3['id']===_0x3ca150);_0x28bba5&&_0x5574c9(0xd9)===_0x28bba5[_0x5574c9(0xdd)]&&(_0x28bba5[_0x5574c9(0xdd)]=_0x5574c9(0xbc)),this[_0x5574c9(0xb5)]();}[_0x250f71(0xac)](_0x19a3d6){const _0xb17fc8=_0x250f71,_0x3ec359=this[_0xb17fc8(0xe3)][_0xb17fc8(0xc2)](_0x9ac627=>_0x9ac627['id']===_0x19a3d6);_0x3ec359&&_0xb17fc8(0xbc)===_0x3ec359[_0xb17fc8(0xdd)]&&(_0x3ec359[_0xb17fc8(0xdd)]=_0xb17fc8(0xd9)),this[_0xb17fc8(0xb5)]();}[_0x250f71(0xb8)](_0x4c184e){const _0x430e62=_0x250f71;this[_0x430e62(0xe3)][_0x430e62(0xd1)](_0x1643de=>_0x1643de[_0x430e62(0xad)]&&_0x1643de['id']!==_0x4c184e)[_0x430e62(0xdc)](_0x2e7810=>{const _0x3dbca5=_0x430e62;_0x2e7810[_0x3dbca5(0xad)]=!0x1;});const _0x2578b0=this[_0x430e62(0xe3)][_0x430e62(0xc2)](_0x2c89f4=>_0x2c89f4['id']===_0x4c184e);_0x2578b0&&_0x430e62(0xd9)===_0x2578b0[_0x430e62(0xdd)]&&(_0x2578b0[_0x430e62(0xad)]=!0x0);}[_0x250f71(0xfe)](){const _0x100feb=_0x250f71;this[_0x100feb(0xe3)][_0x100feb(0xd1)](_0x496e4a=>_0x496e4a[_0x100feb(0xad)])[_0x100feb(0xdc)](_0x15119a=>{const _0xa9c4d4=_0x100feb;_0x15119a[_0xa9c4d4(0xad)]=!0x1;});}[_0x250f71(0xe1)](){const _0x4ef069=_0x250f71;this[_0x4ef069(0xdd)]=_0x4ef069(0xf0);}async[_0x250f71(0xfb)](_0x44109d){const _0x52ca73=_0x250f71;if(_0x52ca73(0xcc)===this[_0x52ca73(0xdd)]||_0x52ca73(0xc7)===this[_0x52ca73(0xdd)]||_0x52ca73(0xaa)===this[_0x52ca73(0xdd)])return;if(!this[_0x52ca73(0xe2)]||0x0===this[_0x52ca73(0xe3)][_0x52ca73(0xa9)])return;let _0x15e0cb;if(_0x44109d){const _0x2ce0bc=this[_0x52ca73(0xe3)][_0x52ca73(0xc2)](_0x40fbf7=>_0x40fbf7['id']===_0x44109d);if(_0x2ce0bc&&_0x2ce0bc[_0x52ca73(0xc3)])return;_0x2ce0bc&&(_0x15e0cb=_0x2ce0bc[_0x52ca73(0xcb)]['id'],_0x2ce0bc[_0x52ca73(0xc3)]=!0x0);}const _0x69578e={'positiveCount':this[_0x52ca73(0xe3)][_0x52ca73(0xd1)](_0x248191=>_0x52ca73(0x107)===_0x248191[_0x52ca73(0xdd)])[_0x52ca73(0xa9)],'totalCount':this[_0x52ca73(0xe3)][_0x52ca73(0xa9)]};this[_0x52ca73(0xf1)](_0x69578e,this[_0x52ca73(0xe2)],_0x15e0cb);}[_0x250f71(0xb0)](_0x30cf75,_0x2e74ea){const _0x32ebf8=_0x250f71,_0x431ba3=this[_0x32ebf8(0xbe)][_0x32ebf8(0xb6)][_0x32ebf8(0x102)](_0x30cf75);if(!_0x431ba3)return;const _0x392388=_0x431ba3[_0x32ebf8(0xd5)]();if(_0x392388===_0x2e74ea)return;const _0x22d6f4=new _0x5f5224({'id':_0x30cf75,'contentInitial':_0x392388,'contentNew':_0x2e74ea,'documentVersion':this[_0x32ebf8(0xbe)][_0x32ebf8(0xc0)]});this[_0x32ebf8(0xb4)][_0x32ebf8(0x106)](_0x22d6f4['id'],_0x22d6f4),this[_0x32ebf8(0xc4)](_0x32ebf8(0xc6),{'result':_0x22d6f4,'source':this});}[_0x250f71(0xb5)](){const _0xba2170=_0x250f71;_0xba2170(0xd2)===this[_0xba2170(0xdd)]&&(this[_0xba2170(0xe3)][_0xba2170(0xd1)](_0xc38dcc=>_0xba2170(0xd9)===_0xc38dcc[_0xba2170(0xdd)])[_0xba2170(0xa9)]>0x0&&(this[_0xba2170(0xdd)]=_0xba2170(0xf0))),_0xba2170(0xf0)===this[_0xba2170(0xdd)]&&(0x0===this[_0xba2170(0xe3)][_0xba2170(0xd1)](_0x3fd5bc=>_0xba2170(0xd9)===_0x3fd5bc[_0xba2170(0xdd)])[_0xba2170(0xa9)]&&(this[_0xba2170(0xdd)]=_0xba2170(0xd2)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2fac63=_0x22cb;(function(_0x26237f,_0x5b63f1){var _0x52dca9=_0x22cb,_0x6a25d=_0x26237f();while(!![]){try{var _0x2d89c0=-parseInt(_0x52dca9(0x93))/0x1*(parseInt(_0x52dca9(0x94))/0x2)+-parseInt(_0x52dca9(0x8c))/0x3*(parseInt(_0x52dca9(0x8e))/0x4)+-parseInt(_0x52dca9(0x8b))/0x5+parseInt(_0x52dca9(0x92))/0x6*(parseInt(_0x52dca9(0x88))/0x7)+-parseInt(_0x52dca9(0x90))/0x8+parseInt(_0x52dca9(0x8a))/0x9+parseInt(_0x52dca9(0x84))/0xa*(parseInt(_0x52dca9(0x98))/0xb);if(_0x2d89c0===_0x5b63f1)break;else _0x6a25d['push'](_0x6a25d['shift']());}catch(_0x5130fd){_0x6a25d['push'](_0x6a25d['shift']());}}}(_0x41ae,0x72fc7));import{AIReviewCheckRun as _0x4b972e}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x4b972e{[_0x2fac63(0x85)];[_0x2fac63(0x91)];constructor(_0x390eb6,_0x335fa2,_0x2bd8db,_0x51c76b,_0x3b8f6e){var _0x1f731c=_0x2fac63;super(_0x2bd8db,_0x51c76b,_0x3b8f6e),this[_0x1f731c(0x85)]=_0x390eb6,this[_0x1f731c(0x91)]=_0x335fa2;}get[_0x2fac63(0x8d)](){var _0x1e89ba=_0x2fac63;return this[_0x1e89ba(0x85)];}[_0x2fac63(0x97)](){var _0x354886=_0x2fac63;return this[_0x354886(0x8f)][_0x354886(0x86)]({'content':this[_0x354886(0x95)][_0x354886(0x87)],'prompt':this[_0x354886(0x85)],'model':this[_0x354886(0x91)]});}[_0x2fac63(0x89)](_0x5e354a,_0x1ed92b,_0xa36693){var _0x5de1a1=_0x2fac63;return this[_0x5de1a1(0x8f)][_0x5de1a1(0x96)](_0x1ed92b,_0x5e354a,_0xa36693);}}function _0x22cb(_0x3fdce8,_0x4f985b){var _0x41ae9e=_0x41ae();return _0x22cb=function(_0x22cb7b,_0x1629fc){_0x22cb7b=_0x22cb7b-0x84;var _0xf37768=_0x41ae9e[_0x22cb7b];return _0xf37768;},_0x22cb(_0x3fdce8,_0x4f985b);}function _0x41ae(){var _0x3ea10e=['callCustomReview','content','28777TSENxO','_sendRatingRequest','2199780GpocOB','471725vVoVXp','12270pnEAHT','subTitle','300JYnVOg','_aiConnector','3942528lLujWa','_model','762ihHHUd','73koNCQZ','1346MesJWw','_documentData','upsertCustomAIReviewRating','_createApiRequest','3561283alDFiQ','20gntzOm','_prompt'];_0x41ae=function(){return _0x3ea10e;};return _0x41ae();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x157914=_0x2ee5;(function(_0x3eacbc,_0x535e73){const _0x5dd03b=_0x2ee5,_0x2c6988=_0x3eacbc();while(!![]){try{const _0x55777c=-parseInt(_0x5dd03b(0xb7))/0x1+-parseInt(_0x5dd03b(0xaf))/0x2+-parseInt(_0x5dd03b(0xb4))/0x3*(-parseInt(_0x5dd03b(0xc5))/0x4)+-parseInt(_0x5dd03b(0xc0))/0x5*(parseInt(_0x5dd03b(0xbd))/0x6)+parseInt(_0x5dd03b(0xb6))/0x7*(parseInt(_0x5dd03b(0xa8))/0x8)+parseInt(_0x5dd03b(0xbb))/0x9+-parseInt(_0x5dd03b(0xc3))/0xa;if(_0x55777c===_0x535e73)break;else _0x2c6988['push'](_0x2c6988['shift']());}catch(_0x2e51d5){_0x2c6988['push'](_0x2c6988['shift']());}}}(_0xbbea,0x4cb83));function _0x2ee5(_0xa4ffd8,_0x560196){const _0xbbea2e=_0xbbea();return _0x2ee5=function(_0x2ee53d,_0x5b9b01){_0x2ee53d=_0x2ee53d-0xa7;let _0x158e6b=_0xbbea2e[_0x2ee53d];return _0x158e6b;},_0x2ee5(_0xa4ffd8,_0x560196);}import{AIReviewCheckRun as _0x550ed0}from'./aireviewcheckrun.js';function _0xbbea(){const _0x10be90=['useArgs','3901340XFveQO','subTitle','1918072ZbjxuU','length','4064584rMSwtI','_sourceCheck','label','push','_sendRatingRequest','_reviewParams','join','76836cUIXmd','_reviewArgs','options','_composeReviewName','_createApiRequest','3ynfOAj','reviewName','7KjrLLE','167312CoPxrH','find','_documentData','upsertAIReviewRating','3942990MIOatB','callSystemReview','12LLsHAC','data','_aiConnector','1288985eqgSxS','content'];_0xbbea=function(){return _0x10be90;};return _0xbbea();}export class AIReviewSystemCheckRun extends _0x550ed0{get[_0x157914(0xc4)](){const _0x14fb95=_0x157914;if(!this[_0x14fb95(0xad)]||0x0===this[_0x14fb95(0xad)][_0x14fb95(0xa7)])return'';const _0x306fd1=[];if(this[_0x14fb95(0xad)][_0x14fb95(0xa7)]>0x0&&this[_0x14fb95(0xa9)][_0x14fb95(0xb1)])for(let _0x1c4c1b=0x0;_0x1c4c1b<this[_0x14fb95(0xad)][_0x14fb95(0xa7)];_0x1c4c1b++){if(!this[_0x14fb95(0xad)][_0x1c4c1b]||!this[_0x14fb95(0xa9)][_0x14fb95(0xb1)][_0x1c4c1b])continue;const _0x4e3314=this[_0x14fb95(0xa9)][_0x14fb95(0xb1)][_0x1c4c1b],_0x485ce3=_0x4e3314[_0x14fb95(0xbe)]?.[_0x14fb95(0xb8)](_0x49b34d=>_0x49b34d['id']===this[_0x14fb95(0xad)][_0x1c4c1b]);_0x485ce3&&_0x306fd1[_0x14fb95(0xab)](_0x485ce3[_0x14fb95(0xaa)]);}return _0x306fd1[_0x14fb95(0xae)](',\x20');}get[_0x157914(0xb5)](){const _0xe71075=_0x157914;return this[_0xe71075(0xb2)]();}[_0x157914(0xb3)](){const _0x1aed30=_0x157914;return this[_0x1aed30(0xbf)][_0x1aed30(0xbc)]({'reviewName':this[_0x1aed30(0xb2)](),'content':this[_0x1aed30(0xb9)][_0x1aed30(0xc1)],'args':this[_0x1aed30(0xb0)]});}[_0x157914(0xac)](_0x68a760,_0x2a47a4,_0x1e735b){const _0xb7ee77=_0x157914;return this[_0xb7ee77(0xbf)][_0xb7ee77(0xba)](this[_0xb7ee77(0xb5)],_0x2a47a4,_0x68a760,_0x1e735b);}[_0x157914(0xb2)](){const _0x448c29=_0x157914;return!this[_0x448c29(0xad)]||0x0===this[_0x448c29(0xad)][_0x448c29(0xa7)]||this[_0x448c29(0xa9)][_0x448c29(0xc2)]?this[_0x448c29(0xa9)]['id']:[this[_0x448c29(0xa9)]['id'],...this[_0x448c29(0xad)]][_0x448c29(0xae)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x435a(){var _0x3b9cde=['render','set','MAX_ROWS','trim','4392140XgMRRr','2615996lIAyoy','5zqNeUB','keystrokes','470486DDiILh','isEmpty','listenTo','1TAhVhu','3193505jkRNJy','maxRows','minRows','extendTemplate','MIN_ROWS','13428BjAUXR','update','ai-review-mode-prompt-input','6011892aTAXEC','element','2026335URXlZk','1072AVbdlQ','ck-review-mode__prompt-input','value'];_0x435a=function(){return _0x3b9cde;};return _0x435a();}var _0x742d03=_0x2edc;(function(_0x505e65,_0x4e2821){var _0x154fba=_0x2edc,_0x325d59=_0x505e65();while(!![]){try{var _0x502f86=parseInt(_0x154fba(0xdb))/0x1*(parseInt(_0x154fba(0xf2))/0x2)+-parseInt(_0x154fba(0xe6))/0x3+-parseInt(_0x154fba(0xef))/0x4*(-parseInt(_0x154fba(0xf0))/0x5)+parseInt(_0x154fba(0xe4))/0x6+-parseInt(_0x154fba(0xdc))/0x7+-parseInt(_0x154fba(0xe7))/0x8*(-parseInt(_0x154fba(0xe1))/0x9)+-parseInt(_0x154fba(0xee))/0xa;if(_0x502f86===_0x4e2821)break;else _0x325d59['push'](_0x325d59['shift']());}catch(_0x47bf4a){_0x325d59['push'](_0x325d59['shift']());}}}(_0x435a,0x7f056));function _0x2edc(_0x18b71e,_0x60e59f){var _0x435ae5=_0x435a();return _0x2edc=function(_0x2edcd4,_0x5e3c70){_0x2edcd4=_0x2edcd4-0xd9;var _0x3faef4=_0x435ae5[_0x2edcd4];return _0x3faef4;},_0x2edc(_0x18b71e,_0x60e59f);}import{TextareaView as _0x3e2a5b}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x38eab7}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x3e2a5b{[_0x742d03(0xf1)];static [_0x742d03(0xe0)]=0x1;static [_0x742d03(0xec)]=0xc;constructor(_0x70141a){var _0x136449=_0x742d03;super(_0x70141a),this[_0x136449(0xeb)](_0x136449(0xd9),!0x0),this[_0x136449(0xf1)]=new _0x38eab7(),this[_0x136449(0xde)]=AIReviewModePromptInputView[_0x136449(0xe0)],this[_0x136449(0xdd)]=AIReviewModePromptInputView[_0x136449(0xec)],this[_0x136449(0xdf)]({'attributes':{'id':_0x136449(0xe3),'class':['ck',_0x136449(0xe8)]}});}[_0x742d03(0xea)](){var _0x626afb=_0x742d03;super[_0x626afb(0xea)](),this['on'](_0x626afb(0xe2),()=>{var _0x32143b=_0x626afb;this[_0x32143b(0xd9)]=''===this[_0x32143b(0xe5)][_0x32143b(0xe9)]?.[_0x32143b(0xed)]();}),this[_0x626afb(0xf1)][_0x626afb(0xda)](this[_0x626afb(0xe5)]);}}
|