@ckeditor/ckeditor5-ai 47.3.0-alpha.2 → 47.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index-editor.css +18 -11
- package/dist/index.css +19 -11
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/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/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.d.ts +1 -0
- 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/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.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/aireviewmodegeneralerrorview.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/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +2 -1
- package/theme/aiquickactions/aiquickactions.css +17 -10
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1cc891=_0x108e;function _0x5339(){const _0x5566e9=['activateChange','currentError','rejectChange','_logError','showReviewCheckList','startsWith','setCheckResultTitle','domElement','4385773KIUVhM','isOfficialPlugin','clearAllMarkers','setAvailableChecks','_aiReviewCheckList','removeCheckById','length','diffContent','5190lPCYvb','reviewCheckResultActivated','leaveReviewModeResultList','forceReadyState','50625IGTEtR','description','2EEJrGd','markChangeAsPending','retryReview','aborted','updateDocumentData','isChangeActive','deactivateChange','AIConnector','getAll','markChangePositionInEditorContent','getCheckById','showNoChangesView','changeMarkerRemoved','_onReviewModeRunLeave','_OPTIONS_DATA_','_OPTIONS_LABEL','AI_MODEL_DESCRIPTION_','isAnyChangeActivated','includes','updateChangeState','ck-ai-review-mode-highlights','AIReviewModeUI','sendRating','closest','showCheckRunResults','dismissChange','error-general','acceptChange','emitter','ai.reviewMode.translations','changeMarkerBlurred','content','setActiveStateInResults','map','message','changeId','reviewCheckResultReady','changes','start','markChangeAsRejected','AI_REVIEW_CHECK_','abortReviewStream','getReviewCheckList','markerElement','viewportOffset','3825882NfNLWL','acceptAllChanges','data','ai-review-mode-no-current-check-run','click','getRoot','reviewCheckResultDeactivated','params','subTitle','stopListening','_aiConnector','view','find','result','reviewCheckResultAdded','AIReviewModeController','changeMarkerClick','finishReview','label','plugins','showChangeBalloon','init','restart','getDomRoot','hasModifications','.ck-ai-review-mode__check-run-result','1752524wVPqRi','models','title','status','context','_changeActivationSource','getDocumentData','removeClass','abort','toggleDiff','ai-review-mode-check-run-general-error','prompt','markChangeAsAccepted','hideChangeBalloon','_isDiffOn','_TITLE','ai-review-mode-models-unable-to-retrieve','337118zVZwrF','_DESCRIPTION','model','changeMarkerHovered','ready','checks','contentNew','getEditor','unmodified','reviewCheckRunUpdated','3327728Cmyvca','change','runReviewCheck','document','toUpperCase','domEvent','markChangeAsOutdated','loading','isCustom','ai-request-aborted','contentInitial','panel','showCheckRunResult','getMarkerElementForChange','isPremiumPlugin','ai-review-mode-check-run-failed','showReviewCompletedView','applyChange','_translateReviewChecks','showActionsWhenResultIsReady','source','leaveReviewMode','switchToReadOnly','resetActiveStateInResults','showChunkErrorView','reviewCheckResultChangeStatusUpdated','showGeneralResultsErrorView','AIReviewModeEditing','options','getActiveChanges','replaceAll','ck-ai-review-mode-diff','_aiReviewModeUi','processedResultsCount','_onDiffChange','changeMarkerRestored','_currentReviewCheckRun','custom','config','documentData','error-chunk','_getTranslationWithDefault','addClass','showDiffInBalloon','showGeneralReviewModeErrorView','addResultChanges','locale','getChangeElement','15aCKzkM','ai-review-mode-check-run-chunk-error','hideDiffInBalloon','translate','editing','listenTo','get','_aiReviewModeEditing','requires','finished','switchToEdit','args','pluginName','hover','markAllChangesAsAccepted','ai-review-mode-source-check-not-found','2512602uWyICe','getChangeById'];_0x5339=function(){return _0x5566e9;};return _0x5339();}(function(_0x5c4e9b,_0x59fabb){const _0x5ee7ff=_0x108e,_0x546b1f=_0x5c4e9b();while(!![]){try{const _0x204c86=parseInt(_0x5ee7ff(0x231))/0x1*(-parseInt(_0x5ee7ff(0x1d9))/0x2)+parseInt(_0x5ee7ff(0x206))/0x3+parseInt(_0x5ee7ff(0x220))/0x4+-parseInt(_0x5ee7ff(0x1b1))/0x5*(-parseInt(_0x5ee7ff(0x1c1))/0x6)+parseInt(_0x5ee7ff(0x1cb))/0x7+parseInt(_0x5ee7ff(0x23b))/0x8+parseInt(_0x5ee7ff(0x1d7))/0x9*(-parseInt(_0x5ee7ff(0x1d3))/0xa);if(_0x204c86===_0x59fabb)break;else _0x546b1f['push'](_0x546b1f['shift']());}catch(_0x576bdf){_0x546b1f['push'](_0x546b1f['shift']());}}}(_0x5339,0xb881a));import{ContextPlugin as _0xf176fc}from'ckeditor5/src/core.js';function _0x108e(_0x25be4e,_0x3e35b2){const _0x533934=_0x5339();return _0x108e=function(_0x108e87,_0xf549f0){_0x108e87=_0x108e87-0x1a3;let _0x2fd800=_0x533934[_0x108e87];return _0x2fd800;},_0x108e(_0x25be4e,_0x3e35b2);}import{CKEditorError as _0x58584f,logError as _0x1ed761,scrollAncestorsToShowTarget as _0xc5c9b6,scrollViewportToShowTarget as _0x11f1a3}from'ckeditor5/src/utils.js';import{AIConnector as _0xed3988}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x36e792}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x9f2ed}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x482227}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x4a1656}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0xdde60c}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2e082d}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0xf176fc{[_0x1cc891(0x210)];[_0x1cc891(0x25b)];[_0x1cc891(0x1b8)];[_0x1cc891(0x1cf)];[_0x1cc891(0x1a5)];[_0x1cc891(0x22e)]=!0x1;[_0x1cc891(0x225)]=null;static get[_0x1cc891(0x1b9)](){return[_0xed3988];}static get[_0x1cc891(0x1bd)](){const _0xac3202=_0x1cc891;return _0xac3202(0x215);}static get[_0x1cc891(0x1cc)](){return!0x0;}static get[_0x1cc891(0x249)](){return!0x0;}async[_0x1cc891(0x21b)](){const _0x147a66=_0x1cc891;this[_0x147a66(0x210)]=this[_0x147a66(0x224)][_0x147a66(0x219)][_0x147a66(0x1b7)](_0x147a66(0x1e0)),this[_0x147a66(0x25b)]=this[_0x147a66(0x224)][_0x147a66(0x219)][_0x147a66(0x1b7)](_0x147a66(0x1ee)),this[_0x147a66(0x1b8)]=this[_0x147a66(0x224)][_0x147a66(0x219)][_0x147a66(0x1b7)](_0x147a66(0x256));const _0x47a3dd=this[_0x147a66(0x224)][_0x147a66(0x1a7)][_0x147a66(0x1b7)](_0x147a66(0x1f6));if(_0x47a3dd){for(const _0x57e2b9 of _0xdde60c)_0x147a66(0x1b4)===_0x57e2b9['id']&&(_0x57e2b9[_0x147a66(0x257)][0x0][_0x147a66(0x208)]=_0x47a3dd);}const _0x59a77a=this[_0x147a66(0x24d)](_0xdde60c);this[_0x147a66(0x1cf)]=new _0x36e792(_0x59a77a);const _0x127cef=this[_0x147a66(0x1cf)][_0x147a66(0x236)][_0x147a66(0x212)](_0x25bf7f=>_0x147a66(0x1a6)===_0x25bf7f['id']);if(_0x127cef)try{const _0x564ca6=await new _0x4a1656({'connector':this[_0x147a66(0x210)]})[_0x147a66(0x1e1)]();_0x127cef[_0x147a66(0x221)]=_0x564ca6[_0x147a66(0x1fa)](_0x21cc2e=>({..._0x21cc2e,'description':this[_0x147a66(0x1aa)](_0x147a66(0x1e9)+_0x21cc2e['id'][_0x147a66(0x23f)](),_0x21cc2e[_0x147a66(0x1d8)])}));}catch(_0x34e2f5){this[_0x147a66(0x1cf)][_0x147a66(0x1d0)](_0x147a66(0x1a6)),this[_0x147a66(0x1c6)](new _0x58584f(_0x147a66(0x230),this,{'error':_0x34e2f5}));}this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x203),()=>{const _0x377fc4=_0x147a66;this[_0x377fc4(0x25b)][_0x377fc4(0x1ce)](this[_0x377fc4(0x1cf)][_0x377fc4(0x236)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x23d),async(_0x4cbe1a,_0x14bb39)=>{const _0x3eb80c=_0x147a66,_0x566476=this[_0x3eb80c(0x1cf)][_0x3eb80c(0x1e3)](_0x14bb39['id']);if(_0x566476){this[_0x3eb80c(0x1a3)](this[_0x3eb80c(0x22e)]),_0x14bb39[_0x3eb80c(0x243)]?this[_0x3eb80c(0x1a5)]=new _0x482227(_0x14bb39[_0x3eb80c(0x1bc)][_0x3eb80c(0x22b)],_0x14bb39[_0x3eb80c(0x1bc)][_0x3eb80c(0x233)],this[_0x3eb80c(0x1b8)][_0x3eb80c(0x226)](),_0x566476,this[_0x3eb80c(0x210)]):this[_0x3eb80c(0x1a5)]=new _0x9f2ed(this[_0x3eb80c(0x1b8)][_0x3eb80c(0x226)](),_0x566476,this[_0x3eb80c(0x210)],_0x14bb39[_0x3eb80c(0x20d)],_0x14bb39[_0x3eb80c(0x1bc)]),this[_0x3eb80c(0x25b)][_0x3eb80c(0x1c9)](this[_0x3eb80c(0x1a5)][_0x3eb80c(0x222)],this[_0x3eb80c(0x1a5)][_0x3eb80c(0x20e)]),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x23a),(_0x574e9c,_0x219f1c)=>{const _0x8bd951=_0x3eb80c;_0x8bd951(0x208)===_0x219f1c[_0x8bd951(0x223)]||_0x8bd951(0x242)===_0x219f1c[_0x8bd951(0x223)]?(this[_0x8bd951(0x1b8)][_0x8bd951(0x251)](),this[_0x8bd951(0x25b)][_0x8bd951(0x1f1)](_0x219f1c)):_0x8bd951(0x1ba)===_0x219f1c[_0x8bd951(0x223)]?this[_0x8bd951(0x25b)][_0x8bd951(0x24b)]():_0x8bd951(0x235)===_0x219f1c[_0x8bd951(0x223)]?this[_0x8bd951(0x25b)][_0x8bd951(0x24e)]():_0x8bd951(0x239)===_0x219f1c[_0x8bd951(0x223)]?this[_0x8bd951(0x25b)][_0x8bd951(0x1e4)]():_0x8bd951(0x1f3)===_0x219f1c[_0x8bd951(0x223)]?(this[_0x8bd951(0x25b)][_0x8bd951(0x255)](),this[_0x8bd951(0x1c6)](new _0x58584f(_0x8bd951(0x22a),this,this[_0x8bd951(0x1a5)]?.[_0x8bd951(0x1c4)]))):_0x8bd951(0x1a9)===_0x219f1c[_0x8bd951(0x223)]?(this[_0x8bd951(0x25b)][_0x8bd951(0x253)](),this[_0x8bd951(0x1c6)](new _0x58584f(_0x8bd951(0x1b2),this,this[_0x8bd951(0x1a5)]?.[_0x8bd951(0x1c4)]))):_0x8bd951(0x1dc)===_0x219f1c[_0x8bd951(0x223)]&&(this[_0x8bd951(0x1a5)]&&this[_0x8bd951(0x1a5)][_0x8bd951(0x25c)]>0x0?setTimeout(()=>{const _0x1b95c1=_0x8bd951;this[_0x1b95c1(0x1a5)]?.[_0x1b95c1(0x1d6)]();},0x0):this[_0x8bd951(0x1e6)](!0x0)),_0x8bd951(0x235)!==_0x219f1c[_0x8bd951(0x223)]&&_0x8bd951(0x1a9)!==_0x219f1c[_0x8bd951(0x223)]&&_0x8bd951(0x1f3)!==_0x219f1c[_0x8bd951(0x223)]||this[_0x8bd951(0x1a5)]?.[_0x8bd951(0x1ef)]();}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x214),(_0x2891e3,_0x387e87)=>{const _0x3c0364=_0x3eb80c;if(!this[_0x3c0364(0x1a5)])throw new _0x58584f(_0x3c0364(0x209),this);const _0x2de3b1=this[_0x3c0364(0x1b8)][_0x3c0364(0x1d2)](_0x387e87[_0x3c0364(0x213)][_0x3c0364(0x245)],_0x387e87[_0x3c0364(0x213)][_0x3c0364(0x237)]);_0x387e87[_0x3c0364(0x24f)][_0x3c0364(0x1ae)](_0x387e87[_0x3c0364(0x213)]['id'],_0x2de3b1);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x1fd),(_0x40c20a,_0x6c10e5)=>{const _0x59e8d4=_0x3eb80c;for(const _0x22cd9b of _0x6c10e5[_0x59e8d4(0x1fe)])this[_0x59e8d4(0x25b)][_0x59e8d4(0x247)](_0x22cd9b);this[_0x59e8d4(0x1b8)][_0x59e8d4(0x1e2)](_0x6c10e5[_0x59e8d4(0x1fe)],_0x6c10e5[_0x59e8d4(0x24f)][_0x59e8d4(0x1a8)]);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x254),(_0x204100,_0x57c183)=>{const _0x2402c6=_0x3eb80c;this[_0x2402c6(0x25b)][_0x2402c6(0x1ec)](_0x57c183[_0x2402c6(0x23c)]['id'],_0x57c183[_0x2402c6(0x223)]);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x1d4),(_0x2b3736,_0x573046)=>{const _0x1065ea=_0x3eb80c;this[_0x1065ea(0x25b)][_0x1065ea(0x1f9)](_0x573046[_0x1065ea(0x23c)]['id']);const _0x375c66=this[_0x1065ea(0x1b8)][_0x1065ea(0x248)](_0x573046[_0x1065ea(0x23c)]['id']);if(!_0x375c66)return;if(_0x1065ea(0x1f8)===this[_0x1065ea(0x225)]){const _0x4beb8d=this[_0x1065ea(0x25b)][_0x1065ea(0x1b0)](_0x573046[_0x1065ea(0x23c)]['id']);_0x4beb8d&&_0xc5c9b6(_0x4beb8d[_0x1065ea(0x1f0)](_0x1065ea(0x21f))||_0x4beb8d);}else{if(_0x1065ea(0x246)===this[_0x1065ea(0x225)]){const _0x3d04f4={'target':_0x375c66[_0x1065ea(0x1ca)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x11f1a3(_0x3d04f4);}}const _0x51bd45=this[_0x1065ea(0x1b8)][_0x1065ea(0x238)]();this[_0x1065ea(0x25b)][_0x1065ea(0x21a)](_0x573046[_0x1065ea(0x23c)],_0x375c66[_0x1065ea(0x1ca)],void 0x0,_0x1065ea(0x20a),_0x51bd45?.[_0x1065ea(0x1b5)]?.[_0x1065ea(0x211)]?.[_0x1065ea(0x21d)](),_0x51bd45?.['ui']?.[_0x1065ea(0x205)]);}),this[_0x3eb80c(0x1a5)]['on'](_0x3eb80c(0x20c),()=>{const _0x3317a2=_0x3eb80c;this[_0x3317a2(0x25b)][_0x3317a2(0x252)](),this[_0x3317a2(0x25b)][_0x3317a2(0x22d)]();});try{await this[_0x3eb80c(0x1a5)][_0x3eb80c(0x1ff)]();}catch(_0x585294){_0x585294 instanceof Error&&_0x585294[_0x3eb80c(0x1fb)][_0x3eb80c(0x1eb)](_0x3eb80c(0x244))||(_0x585294 instanceof _0x58584f?this[_0x3eb80c(0x1c6)](_0x585294):this[_0x3eb80c(0x1c6)](new _0x58584f(_0x3eb80c(0x24a),this,{'error':_0x585294})));}}else this[_0x3eb80c(0x1c6)](new _0x58584f(_0x3eb80c(0x1c0),this,{'checkId':_0x14bb39['id']}));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x250),()=>{const _0x5406da=_0x147a66;this[_0x5406da(0x1e6)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1d5),()=>{const _0x1630a1=_0x147a66;this[_0x1630a1(0x1e6)](!0x0);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x202),()=>{const _0x45bcc9=_0x147a66;this[_0x45bcc9(0x1a5)]&&this[_0x45bcc9(0x1a5)][_0x45bcc9(0x228)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x217),()=>{const _0x367af0=_0x147a66;this[_0x367af0(0x1e6)](!0x0);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x207),()=>{const _0x133b4b=_0x147a66;if(!this[_0x133b4b(0x1a5)])return;const _0x5e62bb=this[_0x133b4b(0x1a5)][_0x133b4b(0x258)]();_0x5e62bb[_0x133b4b(0x1d1)]&&(this[_0x133b4b(0x1b8)][_0x133b4b(0x24c)](_0x5e62bb[_0x133b4b(0x1fa)](_0x1b8b03=>_0x1b8b03['id'])),this[_0x133b4b(0x1a5)][_0x133b4b(0x1bf)](),this[_0x133b4b(0x1a5)][_0x133b4b(0x1ef)]());}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1f4),(_0x544ac3,_0x4c2787)=>{const _0x3cc54e=_0x147a66;this[_0x3cc54e(0x1a5)]&&this[_0x3cc54e(0x1a5)][_0x3cc54e(0x1de)](_0x4c2787['id'])&&(this[_0x3cc54e(0x1b8)][_0x3cc54e(0x24c)]([_0x4c2787['id']]),this[_0x3cc54e(0x1a5)][_0x3cc54e(0x22c)](_0x4c2787['id']),this[_0x3cc54e(0x25b)][_0x3cc54e(0x22d)](),this[_0x3cc54e(0x1a5)][_0x3cc54e(0x1ef)](_0x4c2787['id']));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1f2),(_0x221daa,_0x4ff7f3)=>{const _0x3c083e=_0x147a66;this[_0x3c083e(0x1a5)]&&this[_0x3c083e(0x1a5)][_0x3c083e(0x1de)](_0x4ff7f3['id'])&&(this[_0x3c083e(0x1b8)][_0x3c083e(0x1c5)](_0x4ff7f3['id']),this[_0x3c083e(0x1a5)][_0x3c083e(0x200)](_0x4ff7f3['id']),this[_0x3c083e(0x25b)][_0x3c083e(0x22d)](),this[_0x3c083e(0x1a5)][_0x3c083e(0x1ef)](_0x4ff7f3['id']));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x229),(_0x2d9df1,_0x8b89f3)=>{const _0x498dd9=_0x147a66;this[_0x498dd9(0x22e)]=_0x8b89f3['on'],this[_0x498dd9(0x1a3)](this[_0x498dd9(0x22e)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1db),async()=>{const _0x2900d4=_0x147a66;this[_0x2900d4(0x1a5)]&&(this[_0x2900d4(0x1b8)][_0x2900d4(0x1cd)](),this[_0x2900d4(0x1a5)][_0x2900d4(0x1dd)](this[_0x2900d4(0x1b8)][_0x2900d4(0x226)]()),await this[_0x2900d4(0x1a5)][_0x2900d4(0x21c)]());}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1c3),(_0x20ec1f,_0x45d7bb)=>{const _0x336300=_0x147a66;this[_0x336300(0x1a5)]&&(this[_0x336300(0x225)]=_0x336300(0x246),this[_0x336300(0x1a5)][_0x336300(0x1c3)](_0x45d7bb['id']));}),this[_0x147a66(0x1b6)](this[_0x147a66(0x25b)],_0x147a66(0x1df),()=>{const _0x2e8875=_0x147a66;this[_0x2e8875(0x1a5)]&&this[_0x2e8875(0x1a5)][_0x2e8875(0x1df)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x216),(_0x596c30,_0x108bdd)=>{const _0x250ff8=_0x147a66;if(!this[_0x250ff8(0x1a5)])return;this[_0x250ff8(0x225)]=_0x250ff8(0x1f8),this[_0x250ff8(0x1a5)][_0x250ff8(0x1c3)](_0x108bdd[_0x250ff8(0x1fc)]);const _0x2dd393=this[_0x250ff8(0x1a5)][_0x250ff8(0x1c2)](_0x108bdd[_0x250ff8(0x1fc)]);if(!_0x2dd393)return;const _0x13754e=this[_0x250ff8(0x1b8)][_0x250ff8(0x238)]();this[_0x250ff8(0x25b)][_0x250ff8(0x21a)](_0x2dd393,_0x108bdd[_0x250ff8(0x204)],_0x108bdd[_0x250ff8(0x240)],_0x250ff8(0x20a),_0x13754e?.[_0x250ff8(0x1b5)]?.[_0x250ff8(0x211)]?.[_0x250ff8(0x21d)](),_0x13754e?.['ui']?.[_0x250ff8(0x205)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x234),(_0x5a8913,_0x51ee74)=>{const _0xaeed90=_0x147a66;if(!this[_0xaeed90(0x1a5)])return;if(this[_0xaeed90(0x1a5)][_0xaeed90(0x1ea)]())return;const _0x1b28b7=this[_0xaeed90(0x1a5)][_0xaeed90(0x1c2)](_0x51ee74[_0xaeed90(0x1fc)]);if(!_0x1b28b7)return;const _0xaf8252=this[_0xaeed90(0x1b8)][_0xaeed90(0x238)]();this[_0xaeed90(0x25b)][_0xaeed90(0x21a)](_0x1b28b7,_0x51ee74[_0xaeed90(0x204)],_0x51ee74[_0xaeed90(0x240)],_0xaeed90(0x1be),_0xaf8252?.[_0xaeed90(0x1b5)]?.[_0xaeed90(0x211)]?.[_0xaeed90(0x21d)](),_0xaf8252?.['ui']?.[_0xaeed90(0x205)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x1f7),()=>{const _0x869aee=_0x147a66;if(!this[_0x869aee(0x1a5)])return;this[_0x869aee(0x1a5)][_0x869aee(0x1ea)]()||this[_0x869aee(0x25b)][_0x869aee(0x22d)]();}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x1e5),(_0x210ae2,_0x5de725)=>{const _0x20d4ea=_0x147a66;this[_0x20d4ea(0x1a5)]&&this[_0x20d4ea(0x1a5)][_0x20d4ea(0x241)](_0x5de725[_0x20d4ea(0x1fc)]);}),this[_0x147a66(0x1b6)](this[_0x147a66(0x1b8)][_0x147a66(0x1f5)],_0x147a66(0x1a4),(_0x302545,_0xee68c)=>{const _0x553fe2=_0x147a66;this[_0x553fe2(0x1a5)]&&this[_0x553fe2(0x1a5)][_0x553fe2(0x1da)](_0xee68c[_0x553fe2(0x1fc)]);});}[_0x1cc891(0x1e6)](_0x25a5dc=!0x1){const _0x28c2f5=_0x1cc891;this[_0x28c2f5(0x1a5)]&&(this[_0x28c2f5(0x1a5)][_0x28c2f5(0x21e)]||this[_0x28c2f5(0x1a5)][_0x28c2f5(0x1ef)](),this[_0x28c2f5(0x1a5)][_0x28c2f5(0x20f)](),this[_0x28c2f5(0x1a5)][_0x28c2f5(0x228)](),this[_0x28c2f5(0x1a5)]=void 0x0),_0x25a5dc&&this[_0x28c2f5(0x25b)][_0x28c2f5(0x1c7)](),this[_0x28c2f5(0x1b8)][_0x28c2f5(0x1cd)](),this[_0x28c2f5(0x1b8)][_0x28c2f5(0x1bb)](),this[_0x28c2f5(0x225)]=null;const _0x13761d=this[_0x28c2f5(0x1b8)][_0x28c2f5(0x238)]();_0x13761d&&_0x13761d[_0x28c2f5(0x1b5)][_0x28c2f5(0x211)][_0x28c2f5(0x23c)](_0x414e87=>{const _0x43063c=_0x28c2f5,_0x250138=_0x13761d[_0x43063c(0x1b5)][_0x43063c(0x211)][_0x43063c(0x23e)][_0x43063c(0x20b)]();_0x414e87[_0x43063c(0x227)](_0x43063c(0x25a),_0x250138),_0x414e87[_0x43063c(0x227)](_0x43063c(0x1ed),_0x250138);});}[_0x1cc891(0x1a3)](_0x42dcb9){const _0x3739b6=_0x1cc891,_0x469746=this[_0x3739b6(0x1b8)][_0x3739b6(0x238)]();_0x42dcb9?this[_0x3739b6(0x25b)][_0x3739b6(0x1b3)]():this[_0x3739b6(0x25b)][_0x3739b6(0x1ac)](),_0x469746&&_0x469746[_0x3739b6(0x1b5)][_0x3739b6(0x211)][_0x3739b6(0x23c)](_0x304f9a=>{const _0x773e7c=_0x3739b6,_0x9624e2=_0x469746[_0x773e7c(0x1b5)][_0x773e7c(0x211)][_0x773e7c(0x23e)][_0x773e7c(0x20b)]();_0x304f9a[_0x773e7c(0x227)](_0x773e7c(0x25a),_0x9624e2),_0x304f9a[_0x773e7c(0x227)](_0x773e7c(0x1ed),_0x9624e2),_0x304f9a[_0x773e7c(0x1ab)](_0x42dcb9?_0x773e7c(0x25a):_0x773e7c(0x1ed),_0x9624e2);});}[_0x1cc891(0x24d)](_0x4b8541){const _0x40c8a7=_0x1cc891;return _0x4b8541[_0x40c8a7(0x1fa)](_0x374749=>{const _0x319927=_0x40c8a7,_0x35ee82=_0x319927(0x201)+_0x374749['id'][_0x319927(0x23f)]()[_0x319927(0x259)]('-','_'),_0x24dd34={..._0x374749,'title':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x22f),_0x374749[_0x319927(0x222)]),'description':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x232),_0x374749[_0x319927(0x1d8)])};return _0x374749[_0x319927(0x257)]&&(_0x24dd34[_0x319927(0x257)]=_0x374749[_0x319927(0x257)][_0x319927(0x1fa)](_0x39ddd6=>({..._0x39ddd6,'label':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x1e8),_0x39ddd6[_0x319927(0x218)]||''),'data':_0x39ddd6[_0x319927(0x208)]?_0x39ddd6[_0x319927(0x208)][_0x319927(0x1fa)](_0x18f2db=>({..._0x18f2db,'label':this[_0x319927(0x1aa)](_0x35ee82+_0x319927(0x1e7)+_0x18f2db['id'][_0x319927(0x23f)](),_0x18f2db[_0x319927(0x218)])})):void 0x0}))),_0x24dd34;});}[_0x1cc891(0x1aa)](_0xe8e1f4,_0x5c48fb){const _0xb3fccf=_0x1cc891,_0xd78b8f=this[_0xb3fccf(0x224)][_0xb3fccf(0x1af)],_0x3c3acc=_0x2e082d(_0xd78b8f,_0xe8e1f4);return _0x3c3acc===_0xe8e1f4?_0x5c48fb:_0x3c3acc;}[_0x1cc891(0x1c6)](_0x2c2217){const _0x400ffc=_0x1cc891;_0x1ed761(_0x2c2217[_0x400ffc(0x1fb)]),_0x2c2217[_0x400ffc(0x1fb)][_0x400ffc(0x1c8)](_0x400ffc(0x230))?this[_0x400ffc(0x25b)][_0x400ffc(0x1ad)]():this[_0x400ffc(0x25b)][_0x400ffc(0x255)]();}}
|
|
23
|
+
function _0x1f5b(){const _0x4ac8bb=['resetActiveStateInResults','showDiffInBalloon','click','clearAllMarkers','ai.reviewMode.translations','switchToReadOnly','panel','markChangeAsRejected','showReviewCompletedView','setAvailableChecks','config','ck-ai-review-mode-diff','ai-review-mode-check-run-general-error','locale','title','.ck-ai-review-mode__check-run-result','deactivateChange','ai-review-mode-source-check-not-found','changeMarkerRemoved','listenTo','finished','ready','changeMarkerClick','emitter','startsWith','models','ck-ai-review-mode-highlights','_TITLE','hover','AI_REVIEW_CHECK_','replaceAll','264DDbkfE','closest','getDomRoot','content','reviewCheckResultDeactivated','markerElement','144819Raadfw','abort','AIReviewModeUI','355242TTcumm','AIReviewModeEditing','options','error-general','AIConnector','isChangeActive','updateChangeState','changeMarkerBlurred','activateChange','toggleDiff','changeId','markChangeAsPending','contentInitial','requires','args','translate','markChangePositionInEditorContent','domEvent','reviewCheckRunUpdated','aborted','documentData','plugins','forceReadyState','params','start','processedResultsCount','showChunkErrorView','leaveReviewModeResultList','setActiveStateInResults','setCheckResultTitle','addClass','acceptChange','markChangeAsOutdated','reviewCheckResultAdded','hideDiffInBalloon','applyChange','getCheckById','getActiveChanges','markChangeAsAccepted','subTitle','currentError','AI_MODEL_DESCRIPTION_','showGeneralReviewModeErrorView','document','domElement','3qzfSIX','init','toUpperCase','4156900lyRJjW','1137444JcceOZ','unmodified','_aiConnector','_aiReviewModeUi','getEditor','acceptAllChanges','pluginName','leaveReviewMode','getMarkerElementForChange','showNoChangesView','abortReviewStream','removeClass','switchToEdit','getChangeElement','_translateReviewChecks','_DESCRIPTION','1285768yxNKWQ','editing','changeMarkerHovered','_currentReviewCheckRun','hideChangeBalloon','getDocumentData','description','showActionsWhenResultIsReady','_onDiffChange','stopListening','map','_logError','diffContent','AIReviewModeController','changeMarkerRestored','_OPTIONS_LABEL','change','reviewCheckResultChangeStatusUpdated','includes','1123745dRvuJq','get','error-chunk','_aiReviewModeEditing','result','showCheckRunResult','finishReview','length','prompt','label','6EGrwCr','custom','reviewCheckResultReady','context','getRoot','getReviewCheckList','contentNew','removeCheckById','isCustom','showCheckRunResults','markAllChangesAsAccepted','loading','viewportOffset','reviewCheckResultActivated','ai-request-aborted','checks','2170952DdHLXD','source','dismissChange','find','addResultChanges','data','ai-review-mode-check-run-chunk-error','message','ai-review-mode-no-current-check-run','showChangeBalloon','isAnyChangeActivated','_getTranslationWithDefault','ai-review-mode-models-unable-to-retrieve','_aiReviewCheckList','updateDocumentData','_isDiffOn','isOfficialPlugin','showReviewCheckList','sendRating','getChangeById','hasModifications','_changeActivationSource','ai-review-mode-check-run-failed','_onReviewModeRunLeave','restart','status','view','rejectChange','_OPTIONS_DATA_','model','isPremiumPlugin','getAll','showGeneralResultsErrorView','retryReview','runReviewCheck','changes'];_0x1f5b=function(){return _0x4ac8bb;};return _0x1f5b();}const _0x459cda=_0x6674;(function(_0x5a64a5,_0xc23a80){const _0x52c312=_0x6674,_0x40fd0f=_0x5a64a5();while(!![]){try{const _0x589cb0=parseInt(_0x52c312(0x26b))/0x1*(-parseInt(_0x52c312(0x23e))/0x2)+-parseInt(_0x52c312(0x1e2))/0x3*(-parseInt(_0x52c312(0x1c5))/0x4)+parseInt(_0x52c312(0x1d8))/0x5+-parseInt(_0x52c312(0x26f))/0x6+parseInt(_0x52c312(0x1f2))/0x7+-parseInt(_0x52c312(0x235))/0x8*(parseInt(_0x52c312(0x23b))/0x9)+parseInt(_0x52c312(0x26e))/0xa;if(_0x589cb0===_0xc23a80)break;else _0x40fd0f['push'](_0x40fd0f['shift']());}catch(_0x138503){_0x40fd0f['push'](_0x40fd0f['shift']());}}}(_0x1f5b,0x53033));import{ContextPlugin as _0x5092fd}from'ckeditor5/src/core.js';import{CKEditorError as _0x244d19,logError as _0x5d95de,scrollAncestorsToShowTarget as _0x162aa2,scrollViewportToShowTarget as _0x223172}from'ckeditor5/src/utils.js';import{AIConnector as _0x19d8ec}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3aee9b}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x3721fb}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1ab082}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x5a2deb}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x205fee}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2235a2}from'../aicore/utils/common-translations.js';function _0x6674(_0x3d07f7,_0x424d8d){const _0x1f5bd4=_0x1f5b();return _0x6674=function(_0x667480,_0x3607cc){_0x667480=_0x667480-0x1bf;let _0x19457e=_0x1f5bd4[_0x667480];return _0x19457e;},_0x6674(_0x3d07f7,_0x424d8d);}export class AIReviewModeController extends _0x5092fd{[_0x459cda(0x271)];[_0x459cda(0x272)];[_0x459cda(0x1db)];[_0x459cda(0x1ff)];[_0x459cda(0x1c8)];[_0x459cda(0x201)]=!0x1;[_0x459cda(0x207)]=null;static get[_0x459cda(0x24b)](){return[_0x19d8ec];}static get[_0x459cda(0x275)](){const _0xf757cf=_0x459cda;return _0xf757cf(0x1d2);}static get[_0x459cda(0x202)](){return!0x0;}static get[_0x459cda(0x210)](){return!0x0;}async[_0x459cda(0x26c)](){const _0x2717b1=_0x459cda;this[_0x2717b1(0x271)]=this[_0x2717b1(0x1e5)][_0x2717b1(0x253)][_0x2717b1(0x1d9)](_0x2717b1(0x242)),this[_0x2717b1(0x272)]=this[_0x2717b1(0x1e5)][_0x2717b1(0x253)][_0x2717b1(0x1d9)](_0x2717b1(0x23d)),this[_0x2717b1(0x1db)]=this[_0x2717b1(0x1e5)][_0x2717b1(0x253)][_0x2717b1(0x1d9)](_0x2717b1(0x23f));const _0x2db3b5=this[_0x2717b1(0x1e5)][_0x2717b1(0x220)][_0x2717b1(0x1d9)](_0x2717b1(0x21a));if(_0x2db3b5){for(const _0x415836 of _0x205fee)_0x2717b1(0x24d)===_0x415836['id']&&(_0x415836[_0x2717b1(0x240)][0x0][_0x2717b1(0x1f7)]=_0x2db3b5);}const _0x585111=this[_0x2717b1(0x1c3)](_0x205fee);this[_0x2717b1(0x1ff)]=new _0x3aee9b(_0x585111);const _0x7c790b=this[_0x2717b1(0x1ff)][_0x2717b1(0x1f1)][_0x2717b1(0x1f5)](_0x26e15f=>_0x2717b1(0x1e3)===_0x26e15f['id']);if(_0x7c790b)try{const _0x9eaa3c=await new _0x5a2deb({'connector':this[_0x2717b1(0x271)]})[_0x2717b1(0x211)]();_0x7c790b[_0x2717b1(0x22f)]=_0x9eaa3c[_0x2717b1(0x1cf)](_0x17f9b1=>({..._0x17f9b1,'description':this[_0x2717b1(0x1fd)](_0x2717b1(0x267)+_0x17f9b1['id'][_0x2717b1(0x26d)](),_0x17f9b1[_0x2717b1(0x1cb)])}));}catch(_0x54d993){this[_0x2717b1(0x1ff)][_0x2717b1(0x1e9)](_0x2717b1(0x1e3)),this[_0x2717b1(0x1d0)](new _0x244d19(_0x2717b1(0x1fe),this,{'error':_0x54d993}));}this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1e7),()=>{const _0xa09478=_0x2717b1;this[_0xa09478(0x272)][_0xa09478(0x21f)](this[_0xa09478(0x1ff)][_0xa09478(0x1f1)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x214),async(_0x1fa051,_0x105e2f)=>{const _0xf5e683=_0x2717b1,_0x15e18b=this[_0xf5e683(0x1ff)][_0xf5e683(0x262)](_0x105e2f['id']);if(_0x15e18b){this[_0xf5e683(0x1cd)](this[_0xf5e683(0x201)]),_0x105e2f[_0xf5e683(0x1ea)]?this[_0xf5e683(0x1c8)]=new _0x1ab082(_0x105e2f[_0xf5e683(0x24c)][_0xf5e683(0x1e0)],_0x105e2f[_0xf5e683(0x24c)][_0xf5e683(0x20f)],this[_0xf5e683(0x1db)][_0xf5e683(0x1ca)](),_0x15e18b,this[_0xf5e683(0x271)]):this[_0xf5e683(0x1c8)]=new _0x3721fb(this[_0xf5e683(0x1db)][_0xf5e683(0x1ca)](),_0x15e18b,this[_0xf5e683(0x271)],_0x105e2f[_0xf5e683(0x255)],_0x105e2f[_0xf5e683(0x24c)]),this[_0xf5e683(0x272)][_0xf5e683(0x25b)](this[_0xf5e683(0x1c8)][_0xf5e683(0x224)],this[_0xf5e683(0x1c8)][_0xf5e683(0x265)]),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x250),(_0x1e181a,_0x4cca6b)=>{const _0x54ff84=_0xf5e683;_0x54ff84(0x1f7)===_0x4cca6b[_0x54ff84(0x20b)]||_0x54ff84(0x1ed)===_0x4cca6b[_0x54ff84(0x20b)]?(this[_0x54ff84(0x1db)][_0x54ff84(0x21b)](),this[_0x54ff84(0x272)][_0x54ff84(0x1eb)](_0x4cca6b)):_0x54ff84(0x22a)===_0x4cca6b[_0x54ff84(0x20b)]?this[_0x54ff84(0x272)][_0x54ff84(0x21e)]():_0x54ff84(0x22b)===_0x4cca6b[_0x54ff84(0x20b)]?this[_0x54ff84(0x272)][_0x54ff84(0x1cc)]():_0x54ff84(0x270)===_0x4cca6b[_0x54ff84(0x20b)]?this[_0x54ff84(0x272)][_0x54ff84(0x278)]():_0x54ff84(0x241)===_0x4cca6b[_0x54ff84(0x20b)]?(this[_0x54ff84(0x272)][_0x54ff84(0x212)](),this[_0x54ff84(0x1d0)](new _0x244d19(_0x54ff84(0x222),this,this[_0x54ff84(0x1c8)]?.[_0x54ff84(0x266)]))):_0x54ff84(0x1da)===_0x4cca6b[_0x54ff84(0x20b)]?(this[_0x54ff84(0x272)][_0x54ff84(0x258)](),this[_0x54ff84(0x1d0)](new _0x244d19(_0x54ff84(0x1f8),this,this[_0x54ff84(0x1c8)]?.[_0x54ff84(0x266)]))):_0x54ff84(0x251)===_0x4cca6b[_0x54ff84(0x20b)]&&(this[_0x54ff84(0x1c8)]&&this[_0x54ff84(0x1c8)][_0x54ff84(0x257)]>0x0?setTimeout(()=>{const _0x21678f=_0x54ff84;this[_0x21678f(0x1c8)]?.[_0x21678f(0x254)]();},0x0):this[_0x54ff84(0x209)](!0x0)),_0x54ff84(0x22b)!==_0x4cca6b[_0x54ff84(0x20b)]&&_0x54ff84(0x1da)!==_0x4cca6b[_0x54ff84(0x20b)]&&_0x54ff84(0x241)!==_0x4cca6b[_0x54ff84(0x20b)]||this[_0x54ff84(0x1c8)]?.[_0x54ff84(0x204)]();}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x25f),(_0x17993c,_0x543e07)=>{const _0x2c2c1d=_0xf5e683;if(!this[_0x2c2c1d(0x1c8)])throw new _0x244d19(_0x2c2c1d(0x1fa),this);const _0x16ee88=this[_0x2c2c1d(0x1db)][_0x2c2c1d(0x1d1)](_0x543e07[_0x2c2c1d(0x1dc)][_0x2c2c1d(0x24a)],_0x543e07[_0x2c2c1d(0x1dc)][_0x2c2c1d(0x1e8)]);_0x543e07[_0x2c2c1d(0x1f3)][_0x2c2c1d(0x1f6)](_0x543e07[_0x2c2c1d(0x1dc)]['id'],_0x16ee88);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x1e4),(_0x3b77ba,_0x136952)=>{const _0x866e55=_0xf5e683;for(const _0x30ac6c of _0x136952[_0x866e55(0x215)])this[_0x866e55(0x272)][_0x866e55(0x1dd)](_0x30ac6c);this[_0x866e55(0x1db)][_0x866e55(0x24e)](_0x136952[_0x866e55(0x215)],_0x136952[_0x866e55(0x1f3)][_0x866e55(0x252)]);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x1d6),(_0x519d6f,_0x306855)=>{const _0x37f104=_0xf5e683;this[_0x37f104(0x272)][_0x37f104(0x244)](_0x306855[_0x37f104(0x1d5)]['id'],_0x306855[_0x37f104(0x20b)]);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x1ef),(_0x2e81be,_0x41d441)=>{const _0x1a5bee=_0xf5e683;this[_0x1a5bee(0x272)][_0x1a5bee(0x25a)](_0x41d441[_0x1a5bee(0x1d5)]['id']);const _0x6d3bbf=this[_0x1a5bee(0x1db)][_0x1a5bee(0x277)](_0x41d441[_0x1a5bee(0x1d5)]['id']);if(!_0x6d3bbf)return;if(_0x1a5bee(0x238)===this[_0x1a5bee(0x207)]){const _0x1d40fb=this[_0x1a5bee(0x272)][_0x1a5bee(0x1c2)](_0x41d441[_0x1a5bee(0x1d5)]['id']);_0x1d40fb&&_0x162aa2(_0x1d40fb[_0x1a5bee(0x236)](_0x1a5bee(0x225))||_0x1d40fb);}else{if(_0x1a5bee(0x21c)===this[_0x1a5bee(0x207)]){const _0x21c001={'target':_0x6d3bbf[_0x1a5bee(0x26a)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x223172(_0x21c001);}}const _0x55e4a6=this[_0x1a5bee(0x1db)][_0x1a5bee(0x273)]();this[_0x1a5bee(0x272)][_0x1a5bee(0x1fb)](_0x41d441[_0x1a5bee(0x1d5)],_0x6d3bbf[_0x1a5bee(0x26a)],void 0x0,_0x1a5bee(0x218),_0x55e4a6?.[_0x1a5bee(0x1c6)]?.[_0x1a5bee(0x20c)]?.[_0x1a5bee(0x237)](),_0x55e4a6?.['ui']?.[_0x1a5bee(0x1ee)]);}),this[_0xf5e683(0x1c8)]['on'](_0xf5e683(0x239),()=>{const _0x3246a8=_0xf5e683;this[_0x3246a8(0x272)][_0x3246a8(0x216)](),this[_0x3246a8(0x272)][_0x3246a8(0x1c9)]();});try{await this[_0xf5e683(0x1c8)][_0xf5e683(0x256)]();}catch(_0x22006b){_0x22006b instanceof Error&&_0x22006b[_0xf5e683(0x1f9)][_0xf5e683(0x1d7)](_0xf5e683(0x1f0))||(_0x22006b instanceof _0x244d19?this[_0xf5e683(0x1d0)](_0x22006b):this[_0xf5e683(0x1d0)](new _0x244d19(_0xf5e683(0x208),this,{'error':_0x22006b})));}}else this[_0xf5e683(0x1d0)](new _0x244d19(_0xf5e683(0x227),this,{'checkId':_0x105e2f['id']}));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x276),()=>{const _0x1dfa07=_0x2717b1;this[_0x1dfa07(0x209)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x259),()=>{const _0x19bf11=_0x2717b1;this[_0x19bf11(0x209)](!0x0);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1bf),()=>{const _0x4c3502=_0x2717b1;this[_0x4c3502(0x1c8)]&&this[_0x4c3502(0x1c8)][_0x4c3502(0x23c)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1de),()=>{const _0x20373f=_0x2717b1;this[_0x20373f(0x209)](!0x0);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x274),()=>{const _0x337aa0=_0x2717b1;if(!this[_0x337aa0(0x1c8)])return;const _0x22e923=this[_0x337aa0(0x1c8)][_0x337aa0(0x263)]();_0x22e923[_0x337aa0(0x1df)]&&(this[_0x337aa0(0x1db)][_0x337aa0(0x261)](_0x22e923[_0x337aa0(0x1cf)](_0x4d5f28=>_0x4d5f28['id'])),this[_0x337aa0(0x1c8)][_0x337aa0(0x1ec)](),this[_0x337aa0(0x1c8)][_0x337aa0(0x204)]());}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x25d),(_0x2bcffb,_0x3f89ce)=>{const _0x51f970=_0x2717b1;this[_0x51f970(0x1c8)]&&this[_0x51f970(0x1c8)][_0x51f970(0x243)](_0x3f89ce['id'])&&(this[_0x51f970(0x1db)][_0x51f970(0x261)]([_0x3f89ce['id']]),this[_0x51f970(0x1c8)][_0x51f970(0x264)](_0x3f89ce['id']),this[_0x51f970(0x272)][_0x51f970(0x1c9)](),this[_0x51f970(0x1c8)][_0x51f970(0x204)](_0x3f89ce['id']));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x1f4),(_0x4b4646,_0x4bc13b)=>{const _0x30edac=_0x2717b1;this[_0x30edac(0x1c8)]&&this[_0x30edac(0x1c8)][_0x30edac(0x243)](_0x4bc13b['id'])&&(this[_0x30edac(0x1db)][_0x30edac(0x20d)](_0x4bc13b['id']),this[_0x30edac(0x1c8)][_0x30edac(0x21d)](_0x4bc13b['id']),this[_0x30edac(0x272)][_0x30edac(0x1c9)](),this[_0x30edac(0x1c8)][_0x30edac(0x204)](_0x4bc13b['id']));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x247),(_0x281ca8,_0x1fb4a2)=>{const _0x16179b=_0x2717b1;this[_0x16179b(0x201)]=_0x1fb4a2['on'],this[_0x16179b(0x1cd)](this[_0x16179b(0x201)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x213),async()=>{const _0x316f0a=_0x2717b1;this[_0x316f0a(0x1c8)]&&(this[_0x316f0a(0x1db)][_0x316f0a(0x219)](),this[_0x316f0a(0x1c8)][_0x316f0a(0x200)](this[_0x316f0a(0x1db)][_0x316f0a(0x1ca)]()),await this[_0x316f0a(0x1c8)][_0x316f0a(0x20a)]());}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x246),(_0x2fac5a,_0x345323)=>{const _0x42bc5b=_0x2717b1;this[_0x42bc5b(0x1c8)]&&(this[_0x42bc5b(0x207)]=_0x42bc5b(0x21c),this[_0x42bc5b(0x1c8)][_0x42bc5b(0x246)](_0x345323['id']));}),this[_0x2717b1(0x229)](this[_0x2717b1(0x272)],_0x2717b1(0x226),()=>{const _0xbe4170=_0x2717b1;this[_0xbe4170(0x1c8)]&&this[_0xbe4170(0x1c8)][_0xbe4170(0x226)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x22c),(_0x150b11,_0x363616)=>{const _0x26d66f=_0x2717b1;if(!this[_0x26d66f(0x1c8)])return;this[_0x26d66f(0x207)]=_0x26d66f(0x238),this[_0x26d66f(0x1c8)][_0x26d66f(0x246)](_0x363616[_0x26d66f(0x248)]);const _0x443fa8=this[_0x26d66f(0x1c8)][_0x26d66f(0x205)](_0x363616[_0x26d66f(0x248)]);if(!_0x443fa8)return;const _0x1d0e04=this[_0x26d66f(0x1db)][_0x26d66f(0x273)]();this[_0x26d66f(0x272)][_0x26d66f(0x1fb)](_0x443fa8,_0x363616[_0x26d66f(0x23a)],_0x363616[_0x26d66f(0x24f)],_0x26d66f(0x218),_0x1d0e04?.[_0x26d66f(0x1c6)]?.[_0x26d66f(0x20c)]?.[_0x26d66f(0x237)](),_0x1d0e04?.['ui']?.[_0x26d66f(0x1ee)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x1c7),(_0x58187c,_0x95e92d)=>{const _0x5edaf2=_0x2717b1;if(!this[_0x5edaf2(0x1c8)])return;if(this[_0x5edaf2(0x1c8)][_0x5edaf2(0x1fc)]())return;const _0x4b3ad4=this[_0x5edaf2(0x1c8)][_0x5edaf2(0x205)](_0x95e92d[_0x5edaf2(0x248)]);if(!_0x4b3ad4)return;const _0x26cb9a=this[_0x5edaf2(0x1db)][_0x5edaf2(0x273)]();this[_0x5edaf2(0x272)][_0x5edaf2(0x1fb)](_0x4b3ad4,_0x95e92d[_0x5edaf2(0x23a)],_0x95e92d[_0x5edaf2(0x24f)],_0x5edaf2(0x232),_0x26cb9a?.[_0x5edaf2(0x1c6)]?.[_0x5edaf2(0x20c)]?.[_0x5edaf2(0x237)](),_0x26cb9a?.['ui']?.[_0x5edaf2(0x1ee)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x245),()=>{const _0x22a3a1=_0x2717b1;if(!this[_0x22a3a1(0x1c8)])return;this[_0x22a3a1(0x1c8)][_0x22a3a1(0x1fc)]()||this[_0x22a3a1(0x272)][_0x22a3a1(0x1c9)]();}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x228),(_0x160ec6,_0x182199)=>{const _0x244f09=_0x2717b1;this[_0x244f09(0x1c8)]&&this[_0x244f09(0x1c8)][_0x244f09(0x25e)](_0x182199[_0x244f09(0x248)]);}),this[_0x2717b1(0x229)](this[_0x2717b1(0x1db)][_0x2717b1(0x22d)],_0x2717b1(0x1d3),(_0x1d6109,_0x183f6f)=>{const _0x54894f=_0x2717b1;this[_0x54894f(0x1c8)]&&this[_0x54894f(0x1c8)][_0x54894f(0x249)](_0x183f6f[_0x54894f(0x248)]);});}[_0x459cda(0x209)](_0x1290a8=!0x1){const _0x2aa7e1=_0x459cda;this[_0x2aa7e1(0x1c8)]&&(this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x206)]||this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x204)](),this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x1ce)](),this[_0x2aa7e1(0x1c8)][_0x2aa7e1(0x23c)](),this[_0x2aa7e1(0x1c8)]=void 0x0),_0x1290a8&&this[_0x2aa7e1(0x272)][_0x2aa7e1(0x203)](),this[_0x2aa7e1(0x1db)][_0x2aa7e1(0x219)](),this[_0x2aa7e1(0x1db)][_0x2aa7e1(0x1c1)](),this[_0x2aa7e1(0x207)]=null;const _0x1e0a8f=this[_0x2aa7e1(0x1db)][_0x2aa7e1(0x273)]();_0x1e0a8f&&_0x1e0a8f[_0x2aa7e1(0x1c6)][_0x2aa7e1(0x20c)][_0x2aa7e1(0x1d5)](_0x3f63ca=>{const _0x3f7470=_0x2aa7e1,_0x1a5cf0=_0x1e0a8f[_0x3f7470(0x1c6)][_0x3f7470(0x20c)][_0x3f7470(0x269)][_0x3f7470(0x1e6)]();_0x3f63ca[_0x3f7470(0x1c0)](_0x3f7470(0x221),_0x1a5cf0),_0x3f63ca[_0x3f7470(0x1c0)](_0x3f7470(0x230),_0x1a5cf0);});}[_0x459cda(0x1cd)](_0x21a6c8){const _0x56bed0=_0x459cda,_0x1bf076=this[_0x56bed0(0x1db)][_0x56bed0(0x273)]();_0x21a6c8?this[_0x56bed0(0x272)][_0x56bed0(0x260)]():this[_0x56bed0(0x272)][_0x56bed0(0x217)](),_0x1bf076&&_0x1bf076[_0x56bed0(0x1c6)][_0x56bed0(0x20c)][_0x56bed0(0x1d5)](_0x44f7ac=>{const _0x214de9=_0x56bed0,_0x443e30=_0x1bf076[_0x214de9(0x1c6)][_0x214de9(0x20c)][_0x214de9(0x269)][_0x214de9(0x1e6)]();_0x44f7ac[_0x214de9(0x1c0)](_0x214de9(0x221),_0x443e30),_0x44f7ac[_0x214de9(0x1c0)](_0x214de9(0x230),_0x443e30),_0x44f7ac[_0x214de9(0x25c)](_0x21a6c8?_0x214de9(0x221):_0x214de9(0x230),_0x443e30);});}[_0x459cda(0x1c3)](_0x2ca4d5){const _0x4caa28=_0x459cda;return _0x2ca4d5[_0x4caa28(0x1cf)](_0x3dc012=>{const _0x88937=_0x4caa28,_0x400f47=_0x88937(0x233)+_0x3dc012['id'][_0x88937(0x26d)]()[_0x88937(0x234)]('-','_'),_0x1d41de={..._0x3dc012,'title':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x231),_0x3dc012[_0x88937(0x224)]),'description':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x1c4),_0x3dc012[_0x88937(0x1cb)])};return _0x3dc012[_0x88937(0x240)]&&(_0x1d41de[_0x88937(0x240)]=_0x3dc012[_0x88937(0x240)][_0x88937(0x1cf)](_0x56d87=>({..._0x56d87,'label':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x1d4),_0x56d87[_0x88937(0x1e1)]||''),'data':_0x56d87[_0x88937(0x1f7)]?_0x56d87[_0x88937(0x1f7)][_0x88937(0x1cf)](_0x38dd9b=>({..._0x38dd9b,'label':this[_0x88937(0x1fd)](_0x400f47+_0x88937(0x20e)+_0x38dd9b['id'][_0x88937(0x26d)](),_0x38dd9b[_0x88937(0x1e1)])})):void 0x0}))),_0x1d41de;});}[_0x459cda(0x1fd)](_0x7e5418,_0x48bacb){const _0x2ed208=_0x459cda,_0x26cd98=this[_0x2ed208(0x1e5)][_0x2ed208(0x223)],_0x869b11=_0x2235a2(_0x26cd98,_0x7e5418);return _0x869b11===_0x7e5418?_0x48bacb:_0x869b11;}[_0x459cda(0x1d0)](_0x319778){const _0x1ed4e5=_0x459cda;_0x5d95de(_0x319778[_0x1ed4e5(0x1f9)]),_0x319778[_0x1ed4e5(0x1f9)][_0x1ed4e5(0x22e)](_0x1ed4e5(0x1fe))?this[_0x1ed4e5(0x272)][_0x1ed4e5(0x268)]():this[_0x1ed4e5(0x272)][_0x1ed4e5(0x212)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x48c209=_0xa998;(function(_0x43f1c4,_0x44bcf9){const _0x2e0733=_0xa998,_0x4ae921=_0x43f1c4();while(!![]){try{const _0x1c9089=-parseInt(_0x2e0733(0x205))/0x1*(parseInt(_0x2e0733(0x1a1))/0x2)+parseInt(_0x2e0733(0x133))/0x3+parseInt(_0x2e0733(0x1db))/0x4*(parseInt(_0x2e0733(0x12f))/0x5)+-parseInt(_0x2e0733(0x192))/0x6+-parseInt(_0x2e0733(0x169))/0x7+-parseInt(_0x2e0733(0x1c9))/0x8*(parseInt(_0x2e0733(0x144))/0x9)+parseInt(_0x2e0733(0x13a))/0xa;if(_0x1c9089===_0x44bcf9)break;else _0x4ae921['push'](_0x4ae921['shift']());}catch(_0x137cc0){_0x4ae921['push'](_0x4ae921['shift']());}}}(_0x4f94,0x837a9));import{InsertOperation as _0x22c58b,MarkerOperation as _0x2815f4,ModelDocumentFragment as _0x37daec,ModelPosition as _0x270ee2,ModelRange as _0x4d6049,ModelTreeWalker as _0xf562c2,transformOperationSets as _0x5e8d9f}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x2bfa9e,EmitterMixin as _0x230d70}from'ckeditor5/src/utils.js';function _0x4f94(){const _0x409c45=['changeMarkerRemoved','rootName','_markers','oldRange','_changeOperationOwnerDocument','diffContent','root','operationsIsolated','suggestion-context','version','changeMarkerBlurred','_upsertDataId','_haveSingleTopLevelElement','_findMarkerElement','exec','ai-review-mode','_removeAttribute','domConverter','_createGetContextFn','4757382MfcWgq','getAttribute','deleteContent','nodes','context','push','_getChangeContext','data','newRange','changeMarkerHovered','markerToHighlight','includes','backward','removeMarker','_eventEmitter','1162LvgunT','add','outerHTML','isPremiumPlugin','listenTo','isOfficialPlugin','data-marker-id','$textProxy','getDocumentData','_sortMarkers','_groupAdjacentOperations','delete','rejectChange','remove-context','registerPostFixer','containerElement','_hasSameTopLevelElement','markChangePositionInEditorContent','startsWith','switchToEdit','offsetSize','editingDowncast','model:$text','getStart','requires','size','_validateMarkers','isIntersecting','htmlProcessor','ck-ai_review-mode-marker_strikethrough','_appendChild','get','hasContentBefore','name','clear','AIEditing','length','_getOperationEnd','append','addOperation','16PcUwhi','dataDowncast','createSelection','_clone','$markedRemove','groupId','view','howMany','conversion','[data-marker-id=\x22','suggestion:insertion:id:authorId:','getChanges','remove-text','_findAdjacentContextDistance','getEditor','DocumentCompare','applyChange','_changePosition','1286364trRPvQ','getHtml','_changeRangeOwnerDocument','split','createUIElement','filter','switchToReadOnly','documentFragment','markerToElement','ck-ai_review-mode-marker_context-end','type','map','createPositionAt','concat','addMarker','plugins','elements','innerHTML','insert','for','getOperations','getChild','text','getRange','clone','toView','_createGetContentUsingDataIdFn','$graveyard','getDiff','click','batch','parentElement','reviewmode-','hasClass','remove-only','model','history','ck-ai_review-mode-marker_context-start','htmlWriter','[data-id=\x22','_translateOperationToEditorContent','closest','1783ZDQpHB','_setAttribute','_shiftOperation','applyOperation','ck-ai_review-mode-marker_underline','ck-ai_review-mode-marker_context-','getChildren','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','afterInit','suggestion:deletion:id:authorId:','forEach','createPositionAfter','hasContentAfter','operationsA','ck-ai_review-mode-marker_hide','getPath','every','isDocumentOperation','target','childCount','querySelector','getChangedMarkers','AIReviewModeEditing','ck-ai_review-mode-marker_','getMarkerElementForChange','createRawElement','stringify','parent','path','warn','editing','changeMarkerClick','toDomElement','15UfbGOu','isTouching','markers','differ','775374lpeDai','processor','_domEmitter','createText','start','createRange','ellipsisBefore','17113740fclMTv','getDomRoot','affectsData','_parseMarkerName','element','index','_getOperationStart','end','fire','keys','1080369xKQzpa','parse','change','jumpTo','viewToDom','className','isOpening','values','position','flat','pop','span','schema','createDocumentFragment','from','isInline','marker','changeMarkerRestored','isAtStart','disableReadOnlyMode','document','mouseover','emitter','$documentFragment','getRoot','offset','_nextDataId','_handleMarkerChanges','relatedTarget','ellipsisAfter','markerName','_changeRange','_changePositionOwnerDocument','getRoots','_getMarkersDataForGroup','remove','_createGetContentFn','2290162cnZiiY','getShiftedBy','containsRange','attributeToAttribute','set','ck-ai_review-mode-marker_add','_removeChildren','_haveOnlyInlineContent','pluginName','isAtEnd','has','toData','enableReadOnlyMode','sort','No\x20element\x20found\x20for\x20ID:\x20','clearAllMarkers','downcast','hasAttribute','insertContent','forward','baseVersion','_insertMarkers'];_0x4f94=function(){return _0x409c45;};return _0x4f94();}import{ContextPlugin as _0x5bc5a3}from'ckeditor5/src/core.js';function _0xa998(_0x2e4442,_0x3b9412){const _0x4f944d=_0x4f94();return _0xa998=function(_0xa9981b,_0x2e8e35){_0xa9981b=_0xa9981b-0x11a;let _0x43f65b=_0x4f944d[_0xa9981b];return _0x43f65b;},_0xa998(_0x2e4442,_0x3b9412);}import{DocumentCompare as _0x4fff19,DATA_ID_MODEL_ATTRIBUTE as _0x5c60be,DATA_ID_VIEW_ATTRIBUTE as _0x463e17}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x1174f5}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xda4f00}from'../aicore/aiediting.js';import{debounce as _0x394363}from'es-toolkit/compat';const le=_0x48c209(0x1fb);export class AIReviewModeEditing extends _0x5bc5a3{static get[_0x48c209(0x171)](){const _0x543cc6=_0x48c209;return _0x543cc6(0x124);}static get[_0x48c209(0x1b9)](){return[_0x4fff19,_0xda4f00];}static get[_0x48c209(0x1a6)](){return!0x0;}static get[_0x48c209(0x1a4)](){return!0x0;}[_0x48c209(0x181)]=new Map();[_0x48c209(0x135)];[_0x48c209(0x1a0)];constructor(_0x2333c5){const _0x5cb2cc=_0x48c209;super(_0x2333c5),this[_0x5cb2cc(0x135)]=new(_0x2bfa9e())(),this[_0x5cb2cc(0x1a0)]=new(_0x230d70())();}get[_0x48c209(0x15a)](){const _0x80a1e6=_0x48c209;return this[_0x80a1e6(0x1a0)];}[_0x48c209(0x20d)](){const _0xaad985=_0x48c209,_0x5d92d0=_0x1174f5(this[_0xaad985(0x196)]);_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x1e3)]({'model':le+_0xaad985(0x1ed),'view':(_0x3f456f,{writer:_0xc9f915})=>{const _0x30905=_0xaad985,_0x4991b5=this[_0x30905(0x181)][_0x30905(0x1c0)](_0x3f456f[_0x30905(0x162)]),_0x4e2623={'class':_0x30905(0x16e),'data-marker-id':_0x3f456f[_0x30905(0x162)]};return _0xc9f915[_0x30905(0x1df)](_0x30905(0x14f),_0x4e2623,function(_0xa647b){const _0x3b761c=_0x30905,_0x441f8d=this[_0x3b761c(0x12e)](_0xa647b);return _0x441f8d[_0x3b761c(0x1ec)]=_0x4991b5?.[_0x3b761c(0x1f1)]||'',_0x441f8d;});}}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x19c)]({'model':le+_0xaad985(0x1fd),'view':_0x1ace28=>({'classes':_0xaad985(0x1be),'attributes':{'data-marker-id':_0x1ace28[_0xaad985(0x162)]}})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x19c)]({'model':le+_0xaad985(0x1ae),'view':_0x50cc87=>({'classes':_0xaad985(0x209),'attributes':{'data-marker-id':_0x50cc87[_0xaad985(0x162)]}})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1b6))[_0xaad985(0x19c)]({'model':le+_0xaad985(0x1d5),'view':_0x44ef8e=>({'classes':_0xaad985(0x11c),'attributes':{'data-marker-id':_0x44ef8e[_0xaad985(0x162)]}})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x1ca))[_0xaad985(0x1e3)]({'model':le+_0xaad985(0x187),'view':(_0x1f6909,{writer:_0x2597df})=>_0x2597df[_0xaad985(0x127)](_0xaad985(0x14f),{'class':_0xaad985(0x20a)+(_0x1f6909[_0xaad985(0x14a)]?_0xaad985(0x137):_0xaad985(0x141))})}),_0x5d92d0[_0xaad985(0x1d1)][_0xaad985(0x1ee)](_0xaad985(0x179))[_0xaad985(0x16c)]({'model':_0x5c60be,'view':_0x463e17}),this[_0xaad985(0x135)][_0xaad985(0x1a5)](document,_0xaad985(0x1f8),(_0x575c62,_0x3a7a90)=>{const _0x585cad=_0xaad985,_0x1e28a5=_0x3a7a90[_0x585cad(0x120)],_0x5515d7=this[_0x585cad(0x18c)](_0x1e28a5);if(!_0x5515d7)return;const _0x919803=_0x5515d7[_0x585cad(0x193)](_0x585cad(0x1a7)),_0x11fb80=_0x919803[_0x585cad(0x1de)](':')[_0x585cad(0x14e)]()?.[_0x585cad(0x1de)]('_')[0x0];this[_0x585cad(0x1a0)][_0x585cad(0x142)](_0x585cad(0x12d),{'markerId':_0x919803,'changeId':_0x11fb80,'markerElement':_0x5515d7,'domEvent':_0x3a7a90});}),this[_0xaad985(0x135)][_0xaad985(0x1a5)](document,_0xaad985(0x159),(_0x17ecd0,_0xbf9ffa)=>{const _0x567f62=_0xaad985,_0x2f99ef=_0xbf9ffa[_0x567f62(0x120)],_0x135fdf=_0xbf9ffa[_0x567f62(0x160)];let _0x4443b4=this[_0x567f62(0x18c)](_0x2f99ef);if(!_0x4443b4&&_0x135fdf&&(_0x4443b4=this[_0x567f62(0x18c)](_0x135fdf)),!_0x4443b4)return;const _0x8c6dac=_0x4443b4[_0x567f62(0x193)](_0x567f62(0x1a7)),_0x167e91=_0x8c6dac[_0x567f62(0x1de)](':')[_0x567f62(0x14e)]()?.[_0x567f62(0x1de)]('_')[0x0];this[_0x567f62(0x1a0)][_0x567f62(0x142)](_0x567f62(0x19b),{'changeId':_0x167e91,'markerElement':_0x4443b4,'domEvent':_0xbf9ffa});}),this[_0xaad985(0x135)][_0xaad985(0x1a5)](document,_0xaad985(0x159),_0x394363((_0xabb3eb,_0x5772b7)=>{const _0x1e8801=_0xaad985,_0xe83202=_0x5772b7[_0x1e8801(0x120)];if(this[_0x1e8801(0x18c)](_0xe83202))return;_0xe83202[_0x1e8801(0x204)](_0x1e8801(0x20c))||this[_0x1e8801(0x1a0)][_0x1e8801(0x142)](_0x1e8801(0x189));},0xc8)),_0x5d92d0[_0xaad985(0x1fe)][_0xaad985(0x158)][_0xaad985(0x1af)](_0x2772e5=>this[_0xaad985(0x1bb)](_0x5d92d0,_0x2772e5)),_0x5d92d0[_0xaad985(0x1fe)][_0xaad985(0x158)]['on'](_0xaad985(0x146),()=>this[_0xaad985(0x15f)](_0x5d92d0));}[_0x48c209(0x1a9)](){const _0x3662ad=_0x48c209,_0x5b6dea=this[_0x3662ad(0x196)][_0x3662ad(0x1ea)][_0x3662ad(0x1c0)](_0x3662ad(0x1c4)),_0x2bc4a3=_0x1174f5(this[_0x3662ad(0x196)]),_0x2bfc9e=_0x2bc4a3[_0x3662ad(0x1fe)],_0x56c29a=new _0x37daec();for(const _0x2ac798 of _0x2bfc9e[_0x3662ad(0x158)][_0x3662ad(0x15c)]()[_0x3662ad(0x20b)]()){const _0x41ee07=_0x2ac798[_0x3662ad(0x1cc)](!0x0);_0x56c29a[_0x3662ad(0x1bf)](_0x41ee07);}for(const _0x1914da of _0x2bfc9e[_0x3662ad(0x131)])_0x56c29a[_0x3662ad(0x131)][_0x3662ad(0x16d)](_0x1914da[_0x3662ad(0x1c2)],this[_0x3662ad(0x1dd)](_0x1914da[_0x3662ad(0x1f2)]()[_0x3662ad(0x1f3)](),_0x56c29a));const _0x204d65=new _0xf562c2({'ignoreElementEnd':!0x0,'startPosition':_0x2bfc9e[_0x3662ad(0x1e7)](_0x56c29a,0x0)}),_0x355214=new Set(),_0x10e7b=new Map();for(const {item:_0x4fa945}of _0x204d65){if(!_0x4fa945['is'](_0x3662ad(0x1a8)))continue;const _0x57cc6c=_0x4fa945[_0x3662ad(0x129)];if(_0x57cc6c&&_0x57cc6c['is'](_0x3662ad(0x13e))){const _0x29d592=this[_0x3662ad(0x18a)](_0x57cc6c,()=>_0x5b6dea[_0x3662ad(0x15e)](_0x355214));_0x355214[_0x3662ad(0x1a2)](_0x29d592);for(const _0x2f70f2 of _0x57cc6c[_0x3662ad(0x20b)]())_0x2f70f2['is'](_0x3662ad(0x13e))&&_0x355214[_0x3662ad(0x1a2)](this[_0x3662ad(0x18a)](_0x2f70f2,()=>_0x5b6dea[_0x3662ad(0x15e)](_0x355214)));let _0x271a5d=_0x57cc6c;for(;_0x271a5d[_0x3662ad(0x129)]&&!_0x271a5d[_0x3662ad(0x129)]['is'](_0x3662ad(0x1e2));)_0x271a5d=_0x271a5d[_0x3662ad(0x129)],_0x271a5d[_0x3662ad(0x17a)](_0x5c60be)&&_0x271a5d[_0x3662ad(0x18f)](_0x5c60be);_0x10e7b[_0x3662ad(0x16d)](_0x29d592,{'path':_0x57cc6c[_0x3662ad(0x11d)](),'getContent':this[_0x3662ad(0x1f5)](_0x271a5d[_0x3662ad(0x1cc)](!0x0),_0x29d592,_0x2bc4a3[_0x3662ad(0x199)])}),_0x204d65[_0x3662ad(0x147)](_0x2bfc9e[_0x3662ad(0x210)](_0x57cc6c));}}return{'content':_0x2bc4a3[_0x3662ad(0x199)][_0x3662ad(0x134)][_0x3662ad(0x174)](_0x2bc4a3[_0x3662ad(0x199)][_0x3662ad(0x1f4)](_0x56c29a)),'version':_0x2bc4a3[_0x3662ad(0x1fe)][_0x3662ad(0x158)][_0x3662ad(0x188)],'elements':_0x10e7b};}[_0x48c209(0x184)](_0x34f104,_0x588245){const _0x397db3=_0x48c209,_0x3c0e8f=[],_0x7ec7aa=_0x1174f5(this[_0x397db3(0x196)]),_0x563353=_0x7ec7aa[_0x397db3(0x199)][_0x397db3(0x145)](_0x588245,_0x397db3(0x15b)),_0x1a42c6=_0x7ec7aa[_0x397db3(0x199)][_0x397db3(0x145)](_0x34f104,_0x397db3(0x15b)),_0xd3e307=_0x7ec7aa[_0x397db3(0x1fe)][_0x397db3(0x1e7)](_0x1a42c6,0x0);if(this[_0x397db3(0x18b)](_0x563353)){if(!this[_0x397db3(0x1b1)](_0x1a42c6,_0x563353))return _0x3c0e8f;}else{const _0x5a8309=_0x7ec7aa[_0x397db3(0x1fe)][_0x397db3(0x150)];if(!this[_0x397db3(0x170)](_0x1a42c6,_0x5a8309)||!this[_0x397db3(0x170)](_0x563353,_0x5a8309))return _0x3c0e8f;}const _0x1fe076=this[_0x397db3(0x196)][_0x397db3(0x1ea)][_0x397db3(0x1c0)](_0x397db3(0x1d8))[_0x397db3(0x1f7)](_0x34f104,_0x588245,{'anchor':_0xd3e307,'markDeletions':!0x0})[_0x397db3(0x1ef)]()[_0x397db3(0x1e0)](_0xfb2937=>_0x397db3(0x1ed)===_0xfb2937[_0x397db3(0x1e5)]||_0x397db3(0x154)===_0xfb2937[_0x397db3(0x1e5)]&&_0xfb2937[_0x397db3(0x1c2)][_0x397db3(0x1b3)](_0x397db3(0x1cd))),_0x2946c9=this[_0x397db3(0x1ab)](_0x1fe076);let _0x3a2943=0x0;return _0x7ec7aa[_0x397db3(0x1fe)][_0x397db3(0x146)](_0x467163=>{const _0x2f91e3=_0x397db3;for(let _0x171943=0x0;_0x171943<_0x2946c9[_0x2f91e3(0x1c5)];_0x171943++){const _0x3c6213=_0x2946c9[_0x171943],_0x2486f6=_0x467163[_0x2f91e3(0x151)]();for(const _0x1323e6 of _0x1a42c6[_0x2f91e3(0x20b)]())_0x467163[_0x2f91e3(0x1c7)](_0x1323e6[_0x2f91e3(0x1cc)](!0x0),_0x2486f6);for(const _0x2d57a7 of _0x3c6213[_0x2f91e3(0x186)])if(_0x2f91e3(0x1ed)===_0x2d57a7[_0x2f91e3(0x1e5)]){const _0x36a4f5=_0x2d57a7;_0x36a4f5[_0x2f91e3(0x17d)]=null,_0x36a4f5[_0x2f91e3(0x11f)]=!0x1,this[_0x2f91e3(0x183)](_0x36a4f5,_0x2486f6),_0x467163[_0x2f91e3(0x1f9)][_0x2f91e3(0x1c8)](_0x2d57a7),_0x7ec7aa[_0x2f91e3(0x1fe)][_0x2f91e3(0x208)](_0x2d57a7);const _0x2bd962=_0x2f91e3(0x1d3)+_0x3a2943++,_0x343861=_0x7ec7aa[_0x2f91e3(0x1fe)][_0x2f91e3(0x138)](_0x36a4f5[_0x2f91e3(0x14c)],_0x36a4f5[_0x2f91e3(0x14c)][_0x2f91e3(0x16a)](_0x36a4f5[_0x2f91e3(0x1d0)]));_0x2486f6[_0x2f91e3(0x131)][_0x2f91e3(0x16d)](_0x2bd962,_0x343861);}else{if(_0x2f91e3(0x154)===_0x2d57a7[_0x2f91e3(0x1e5)]&&_0x2d57a7[_0x2f91e3(0x1c2)][_0x2f91e3(0x1b3)](_0x2f91e3(0x1cd))){const _0x297671=_0x2d57a7,_0x30ae65=_0x2f91e3(0x20e)+_0x3a2943++;this[_0x2f91e3(0x183)](_0x297671,_0x2486f6),_0x2486f6[_0x2f91e3(0x131)][_0x2f91e3(0x16d)](_0x30ae65,_0x297671[_0x2f91e3(0x19a)]);}}const _0x123105=this[_0x2f91e3(0x198)](this[_0x2f91e3(0x164)](this[_0x2f91e3(0x140)](_0x3c6213[_0x2f91e3(0x186)][0x0]),_0x2486f6),this[_0x2f91e3(0x164)](this[_0x2f91e3(0x1c6)](_0x3c6213[_0x2f91e3(0x186)][_0x3c6213[_0x2f91e3(0x186)][_0x2f91e3(0x1c5)]-0x1]),_0x2486f6));_0x2486f6[_0x2f91e3(0x131)][_0x2f91e3(0x16d)](le+_0x2f91e3(0x187),new _0x4d6049(_0x123105[_0x2f91e3(0x137)],_0x123105[_0x2f91e3(0x141)])),_0x3c0e8f[_0x2f91e3(0x197)]({..._0x3c6213,'context':this[_0x2f91e3(0x191)](_0x2486f6,_0x7ec7aa[_0x2f91e3(0x199)],{'ellipsisBefore':_0x123105[_0x2f91e3(0x1c1)],'ellipsisAfter':_0x123105[_0x2f91e3(0x11a)]}),'content':this[_0x2f91e3(0x168)](_0x2486f6,_0x7ec7aa[_0x2f91e3(0x199)])});}}),_0x3c0e8f;}[_0x48c209(0x1b2)](_0x54f181,_0x11a8ec){const _0x266a89=_0x48c209;if(!_0x54f181[_0x266a89(0x1c5)])return;const _0x52839b=_0x54f181[0x0][_0x266a89(0x129)]['id'],_0x37e874=_0x11a8ec[_0x266a89(0x1eb)][_0x266a89(0x1c0)](_0x52839b);if(!_0x37e874)return void console[_0x266a89(0x12b)](_0x266a89(0x177)+_0x52839b);const _0x4cd5ba=_0x37e874[_0x266a89(0x12a)],_0x4d5808=_0x1174f5(this[_0x266a89(0x196)]),_0x10bde6=_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x158)][_0x266a89(0x1ff)][_0x266a89(0x1ef)](_0x11a8ec[_0x266a89(0x188)]),_0x3963d6=[];for(const _0x21e496 of _0x54f181){const _0x50becf=_0x21e496[_0x266a89(0x186)][_0x266a89(0x1e6)](_0x43852c=>this[_0x266a89(0x203)](_0x43852c,_0x4cd5ba,_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x158)][_0x266a89(0x165)]()[0x0]));if(!_0x50becf||!_0x50becf[_0x266a89(0x1c5)])continue;const _0x1d64b6=_0x50becf[_0x266a89(0x11e)](_0x396157=>_0x266a89(0x154)===_0x396157[_0x266a89(0x1e5)]&&_0x396157[_0x266a89(0x1c2)][_0x266a89(0x1b3)](_0x266a89(0x1cd))),_0x3afcd1={'document':_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x158)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2e7c1e=_0x5e8d9f(_0x50becf,_0x10bde6,_0x3afcd1)[_0x266a89(0x11b)];for(const _0x101bcb of _0x2e7c1e)if(_0x266a89(0x1ed)===_0x101bcb[_0x266a89(0x1e5)]){const _0x3298f5=_0x101bcb,_0x49f479=_0x3298f5[_0x266a89(0x195)];let _0xea7202='';for(const _0x47e422 of _0x49f479)_0x47e422&&_0x47e422['is'](_0x266a89(0x1b7))&&(_0xea7202+=_0x47e422[_0x266a89(0x199)]);_0x3963d6[_0x266a89(0x197)]({'start':_0x3298f5[_0x266a89(0x14c)],'end':_0x3298f5[_0x266a89(0x14c)],'type':_0x266a89(0x1ed),'groupId':_0x21e496['id'],'text':_0xea7202});}else{if(_0x266a89(0x154)===_0x101bcb[_0x266a89(0x1e5)]&&_0x101bcb[_0x266a89(0x1c2)][_0x266a89(0x1b3)](_0x266a89(0x1cd))){const _0x2f2bcc=_0x101bcb;let _0x7da956=_0x266a89(0x1d5);if(_0x1d64b6){const _0x4df298=this[_0x266a89(0x1d6)](_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x137)],_0x266a89(0x19e),_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x150)]),_0x2b61bd=this[_0x266a89(0x1d6)](_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x141)],_0x266a89(0x17c),_0x4d5808[_0x266a89(0x1fe)][_0x266a89(0x150)]);if(_0x4df298||_0x2b61bd){const _0x2175f2=_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x137)][_0x266a89(0x16a)](-_0x4df298),_0x33db8c=_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x141)][_0x266a89(0x16a)](_0x2b61bd);_0x3963d6[_0x266a89(0x197)]({'start':_0x2175f2,'end':_0x33db8c,'groupId':_0x21e496['id'],'type':_0x266a89(0x1ae)});}else _0x7da956=_0x266a89(0x1fd);}_0x3963d6[_0x266a89(0x197)]({'start':_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x137)],'end':_0x2f2bcc[_0x266a89(0x19a)][_0x266a89(0x141)],'groupId':_0x21e496['id'],'type':_0x7da956});}}}this[_0x266a89(0x17e)](_0x3963d6);}[_0x48c209(0x178)](){const _0x198f73=_0x48c209,_0xfab557=_0x1174f5(this[_0x198f73(0x196)]);_0xfab557[_0x198f73(0x1fe)][_0x198f73(0x146)](_0x37a954=>{const _0x277103=_0x198f73;for(const _0x1ebdae of this[_0x277103(0x181)][_0x277103(0x143)]())_0xfab557[_0x277103(0x1fe)][_0x277103(0x131)][_0x277103(0x1c0)](_0x1ebdae)&&_0x37a954[_0x277103(0x19f)](_0x1ebdae);}),this[_0x198f73(0x181)][_0x198f73(0x1c3)]();}[_0x48c209(0x1e1)](){const _0x190667=_0x48c209;_0x1174f5(this[_0x190667(0x196)])[_0x190667(0x175)](_0x190667(0x18e));}[_0x48c209(0x1b4)](){const _0x59b7db=_0x48c209;_0x1174f5(this[_0x59b7db(0x196)])[_0x59b7db(0x157)](_0x59b7db(0x18e));}[_0x48c209(0x1d9)](_0x3c3136){const _0x28f4ff=_0x48c209,_0x1d320b=_0x1174f5(this[_0x28f4ff(0x196)]),_0x181e1e=_0x1d320b[_0x28f4ff(0x1fe)],_0x19f7bc=_0x3c3136[_0x28f4ff(0x1e6)](_0x8c81de=>this[_0x28f4ff(0x166)](_0x8c81de))[_0x28f4ff(0x14d)]();_0x181e1e[_0x28f4ff(0x146)](_0x10ea3b=>{const _0x409237=_0x28f4ff;for(const _0x315b81 of _0x19f7bc){const _0x248fdd=_0x1d320b[_0x409237(0x1fe)][_0x409237(0x131)][_0x409237(0x1c0)](_0x315b81['id']);_0x248fdd&&(_0x409237(0x1ed)===_0x315b81[_0x409237(0x1e5)]?_0x181e1e[_0x409237(0x17b)](_0x10ea3b[_0x409237(0x136)](_0x315b81[_0x409237(0x1f1)]||''),_0x248fdd[_0x409237(0x1f2)]()[_0x409237(0x137)]):_0x409237(0x1d5)!==_0x315b81[_0x409237(0x1e5)]&&_0x409237(0x1fd)!==_0x315b81[_0x409237(0x1e5)]||_0x181e1e[_0x409237(0x194)](_0x181e1e[_0x409237(0x1cb)](_0x248fdd[_0x409237(0x1f2)]())),_0x10ea3b[_0x409237(0x19f)](_0x315b81['id']),this[_0x409237(0x181)][_0x409237(0x1ac)](_0x315b81['id']));}});}[_0x48c209(0x1ad)](_0x33a841){const _0x5c5ce6=_0x48c209,_0x36e849=_0x1174f5(this[_0x5c5ce6(0x196)]),_0x278cb4=this[_0x5c5ce6(0x166)](_0x33a841);_0x36e849[_0x5c5ce6(0x1fe)][_0x5c5ce6(0x146)](_0x187f3e=>{const _0x515338=_0x5c5ce6;for(const _0x57bc8d of _0x278cb4)_0x187f3e[_0x515338(0x19f)](_0x57bc8d['id']),this[_0x515338(0x181)][_0x515338(0x1ac)](_0x57bc8d['id']);});}[_0x48c209(0x1d7)](){const _0x5c2239=_0x48c209;return _0x1174f5(this[_0x5c2239(0x196)]);}[_0x48c209(0x126)](_0x535a35){const _0x9d779c=_0x48c209,_0x5ac5cf=Array[_0x9d779c(0x152)](this[_0x9d779c(0x181)][_0x9d779c(0x14b)]())[_0x9d779c(0x1e0)](_0x3d8e17=>_0x3d8e17[_0x9d779c(0x1ce)]===_0x535a35);if(!_0x5ac5cf[_0x9d779c(0x1c5)])return null;const _0x4eb0cd=0x1===_0x5ac5cf[_0x9d779c(0x1c5)]?_0x5ac5cf[0x0]:this[_0x9d779c(0x1aa)](_0x5ac5cf)[0x0],_0x7359b3=_0x1174f5(this[_0x9d779c(0x196)]),_0x1068b2=_0x7359b3[_0x9d779c(0x1fe)][_0x9d779c(0x131)][_0x9d779c(0x1c0)](_0x4eb0cd['id']);if(!_0x1068b2)return null;const _0x49ddd3=_0x1068b2[_0x9d779c(0x1f2)](),_0x103dbb=_0x7359b3[_0x9d779c(0x12c)][_0x9d779c(0x1cf)][_0x9d779c(0x13b)]();if(!_0x103dbb||!_0x49ddd3)return null;const _0x5ba943=_0x103dbb[_0x9d779c(0x122)](_0x9d779c(0x1d2)+_0x4eb0cd['id']+'\x22]');return _0x5ba943?{'modelRange':_0x49ddd3,'domElement':_0x5ba943}:null;}[_0x48c209(0x1bb)](_0x133c31,_0x3f6e2d){const _0x304710=_0x48c209,_0xefced8=Array[_0x304710(0x152)](this[_0x304710(0x181)][_0x304710(0x143)]()),_0x46e6fd=new Map();for(const _0x42f5f2 of _0xefced8){const _0x34086e=_0x133c31[_0x304710(0x1fe)][_0x304710(0x131)][_0x304710(0x1c0)](_0x42f5f2);if(!_0x34086e)continue;const _0x173e97=_0x34086e[_0x304710(0x1b8)]()[_0x304710(0x12a)][0x0];_0x46e6fd[_0x304710(0x173)](_0x173e97)||_0x46e6fd[_0x304710(0x16d)](_0x173e97,[]),_0x46e6fd[_0x304710(0x1c0)](_0x173e97)[_0x304710(0x197)](_0x34086e);}const _0x591daa=new Set();for(const _0x482e5a of _0x133c31[_0x304710(0x1fe)][_0x304710(0x158)][_0x304710(0x132)][_0x304710(0x1d4)]()){let _0x5cf8c8=-0x1,_0x4d1ca1=null;if(_0x304710(0x1ed)===_0x482e5a[_0x304710(0x1e5)])_0x4d1ca1=new _0x4d6049(_0x482e5a[_0x304710(0x14c)],_0x482e5a[_0x304710(0x14c)][_0x304710(0x16a)](_0x482e5a[_0x304710(0x1c5)])),_0x5cf8c8=_0x482e5a[_0x304710(0x14c)][_0x304710(0x12a)][0x0];else{if(_0x304710(0x167)!==_0x482e5a[_0x304710(0x1e5)])continue;_0x4d1ca1=new _0x4d6049(_0x482e5a[_0x304710(0x14c)]),_0x5cf8c8=_0x482e5a[_0x304710(0x14c)][_0x304710(0x12a)][0x0];}const _0x4950ae=_0x46e6fd[_0x304710(0x1c0)](_0x5cf8c8)||[];if(_0x4950ae[_0x304710(0x1c5)]){for(const _0x429004 of _0x4950ae)if(_0x4d1ca1[_0x304710(0x185)][_0x304710(0x180)]===_0x429004[_0x304710(0x1f2)]()[_0x304710(0x185)][_0x304710(0x180)]&&(_0x304710(0x1ed)!==_0x482e5a[_0x304710(0x1e5)]||!_0x4d1ca1[_0x304710(0x16b)](_0x429004[_0x304710(0x1f2)]()))&&(_0x4d1ca1[_0x304710(0x1bc)](_0x429004[_0x304710(0x1f2)]())||_0x4d1ca1[_0x304710(0x137)][_0x304710(0x130)](_0x429004[_0x304710(0x1f2)]()[_0x304710(0x141)])||_0x4d1ca1[_0x304710(0x141)][_0x304710(0x130)](_0x429004[_0x304710(0x1f2)]()[_0x304710(0x137)]))){const _0x2d8ed7=this[_0x304710(0x13d)](_0x429004[_0x304710(0x1c2)]);Array[_0x304710(0x152)](this[_0x304710(0x181)][_0x304710(0x14b)]())[_0x304710(0x1e0)](_0x457e6=>_0x457e6[_0x304710(0x1ce)]===_0x2d8ed7[_0x304710(0x1ce)])[_0x304710(0x20f)](_0x31f8f1=>_0x591daa[_0x304710(0x1a2)](_0x31f8f1['id']));}}}if(_0x591daa[_0x304710(0x1ba)]){for(const _0x12210c of _0x591daa)_0x3f6e2d[_0x304710(0x19f)](_0x12210c);return!0x0;}return!0x1;}[_0x48c209(0x15f)](_0x175d57){const _0x285490=_0x48c209;for(const {name:_0x3acc11,data:_0xe70883}of _0x175d57[_0x285490(0x1fe)][_0x285490(0x158)][_0x285490(0x132)][_0x285490(0x123)]()){if(!_0x3acc11[_0x285490(0x1b3)](le))continue;const _0x12d0bc=_0xe70883[_0x285490(0x182)],_0x1919f1=_0xe70883[_0x285490(0x19a)],_0x6b1feb=_0x12d0bc&&_0x285490(0x1f6)===_0x12d0bc[_0x285490(0x185)][_0x285490(0x180)],_0x4d518b=_0x1919f1&&_0x285490(0x1f6)===_0x1919f1[_0x285490(0x185)][_0x285490(0x180)];if(_0x6b1feb&&_0x4d518b)continue;const _0x33d375=this[_0x285490(0x13d)](_0x3acc11);this[_0x285490(0x181)][_0x285490(0x1c0)](_0x3acc11)&&(_0x4d518b||!_0x1919f1?this[_0x285490(0x1a0)][_0x285490(0x142)](_0x285490(0x17f),{'markerId':_0x3acc11,'changeId':_0x33d375[_0x285490(0x1ce)]}):_0x6b1feb&&_0x1919f1&&this[_0x285490(0x1a0)][_0x285490(0x142)](_0x285490(0x155),{'markerId':_0x3acc11,'changeId':_0x33d375[_0x285490(0x1ce)]}));}}[_0x48c209(0x13d)](_0x55f438){const _0x522b64=_0x48c209,_0x40fa8c=_0x55f438[_0x522b64(0x1de)](':'),_0x431013=(_0x40fa8c[0x1]||'')[_0x522b64(0x1de)]('_');return{'prefix':_0x40fa8c[0x0],'groupId':_0x431013[0x0],'suffix':_0x431013[0x1]};}[_0x48c209(0x203)](_0x2b3bb8,_0x5e6e0b,_0x1ca0ae){const _0x5e5f35=_0x48c209;if(_0x5e5f35(0x1ed)===_0x2b3bb8[_0x5e5f35(0x1e5)]){const _0x39a27b=_0x2b3bb8;return new _0x22c58b(this[_0x5e5f35(0x1da)](_0x5e6e0b[_0x5e5f35(0x1e8)](_0x39a27b[_0x5e5f35(0x14c)][_0x5e5f35(0x15d)]),_0x1ca0ae),_0x39a27b[_0x5e5f35(0x195)],_0x39a27b[_0x5e5f35(0x17d)]);}if(_0x5e5f35(0x154)===_0x2b3bb8[_0x5e5f35(0x1e5)]&&_0x2b3bb8[_0x5e5f35(0x1c2)][_0x5e5f35(0x1b3)](_0x5e5f35(0x1cd))){const _0x43697b=_0x2b3bb8;return new _0x2815f4(_0x43697b[_0x5e5f35(0x1c2)],_0x43697b[_0x5e5f35(0x182)],this[_0x5e5f35(0x163)](_0x43697b[_0x5e5f35(0x19a)],_0x5e6e0b[_0x5e5f35(0x1e8)](_0x43697b[_0x5e5f35(0x19a)][_0x5e5f35(0x137)][_0x5e5f35(0x15d)]),_0x5e6e0b[_0x5e5f35(0x1e8)](_0x43697b[_0x5e5f35(0x19a)][_0x5e5f35(0x141)][_0x5e5f35(0x15d)]),_0x1ca0ae),_0x43697b[_0x5e5f35(0x181)],_0x43697b[_0x5e5f35(0x13c)],_0x43697b[_0x5e5f35(0x17d)]);}return _0x2b3bb8;}[_0x48c209(0x1ab)](_0x17e5f5){const _0x4b776c=_0x48c209;if(!_0x17e5f5[_0x4b776c(0x1c5)])return[];const _0x3b9bb1=[];let _0x358a96=0x0,_0x548fad=0x0,_0x38058=[];for(let _0x218f10=0x0;_0x218f10<=_0x17e5f5[_0x4b776c(0x1c5)];_0x218f10++){const _0x10c752=_0x17e5f5[_0x218f10],_0x2a0ef8=_0x17e5f5[_0x218f10-0x1];!_0x10c752||_0x2a0ef8&&!this[_0x4b776c(0x1c6)](_0x2a0ef8)[_0x4b776c(0x130)](this[_0x4b776c(0x140)](_0x10c752))?(_0x3b9bb1[_0x4b776c(0x197)]({'operations':_0x38058,'operationsIsolated':_0x38058[_0x4b776c(0x1e6)](_0x40c0f9=>this[_0x4b776c(0x207)](_0x40c0f9[_0x4b776c(0x1f3)](),-_0x548fad)),'groupOffset':_0x358a96}),_0x38058=_0x10c752?[_0x10c752]:[],_0x548fad+=_0x358a96,_0x358a96=0x0):_0x38058[_0x4b776c(0x197)](_0x10c752),_0x10c752&&_0x4b776c(0x1ed)===_0x10c752[_0x4b776c(0x1e5)]&&(_0x358a96+=_0x10c752[_0x4b776c(0x1d0)]);}return _0x3b9bb1;}[_0x48c209(0x1d6)](_0x168abf,_0x9d6af0,_0xeb74f5,_0x2c9280=0x1){const _0x36743b=_0x48c209,_0x4ba9a0=new _0xf562c2({'startPosition':_0x168abf,'direction':_0x9d6af0});let _0x30edf6=0x0;for(let _0x18e6ca=0x0;_0x18e6ca<_0x2c9280;_0x18e6ca++){let _0x29c38b=0x0,_0x4bae7d=!0x1,_0x374698=_0x36743b(0x17c)===_0x9d6af0?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x29ae87}of _0x4ba9a0)if(_0x29ae87['is'](_0x36743b(0x1a8))){const _0x3ef8ef=_0x374698[_0x36743b(0x18d)](_0x29ae87[_0x36743b(0x199)]);if(_0x3ef8ef&&_0x3ef8ef[_0x36743b(0x1c5)]){if(_0x29c38b+=_0x36743b(0x17c)===_0x9d6af0?_0x3ef8ef[_0x36743b(0x13f)]+_0x3ef8ef[0x0][_0x36743b(0x1c5)]:_0x29ae87[_0x36743b(0x199)][_0x36743b(0x1c5)]-_0x3ef8ef[_0x36743b(0x13f)],_0x3ef8ef[0x0][_0x36743b(0x1c5)]!==_0x29ae87[_0x36743b(0x199)][_0x36743b(0x1c5)])break;_0x4bae7d=!0x0,_0x374698=_0x36743b(0x17c)===_0x9d6af0?/^\w+/:/\w+$/;}else{if(_0x4bae7d)break;_0x29c38b+=_0x29ae87[_0x36743b(0x1b5)];}}else{if(_0x29ae87['is'](_0x36743b(0x13e))){_0xeb74f5[_0x36743b(0x153)](_0x29ae87)&&!_0x4bae7d&&(_0x29c38b+=0x1);break;}}_0x30edf6+=_0x29c38b,_0x4ba9a0[_0x36743b(0x147)](_0x168abf[_0x36743b(0x16a)](_0x36743b(0x17c)===_0x9d6af0?_0x30edf6:-_0x30edf6));}return _0x30edf6;}[_0x48c209(0x198)](_0x2bcc04,_0x136ebd){const _0x4958d4=_0x48c209,_0x3d1d5e=_0x1174f5(this[_0x4958d4(0x196)])[_0x4958d4(0x1fe)][_0x4958d4(0x150)],_0x22d6b5=this[_0x4958d4(0x1d6)](_0x2bcc04,_0x4958d4(0x19e),_0x3d1d5e,0x6),_0x3358e0=this[_0x4958d4(0x1d6)](_0x136ebd,_0x4958d4(0x17c),_0x3d1d5e,0x6),_0x45aeda=_0x2bcc04[_0x4958d4(0x16a)](-_0x22d6b5),_0x1a8a0d=_0x136ebd[_0x4958d4(0x16a)](_0x3358e0);return{'start':_0x45aeda,'end':_0x1a8a0d,'hasContentBefore':!_0x45aeda[_0x4958d4(0x156)],'hasContentAfter':!_0x1a8a0d[_0x4958d4(0x172)]};}[_0x48c209(0x17e)](_0x254c61){const _0x1a4d07=_0x48c209,_0x345cea=this[_0x1a4d07(0x196)][_0x1a4d07(0x1ea)][_0x1a4d07(0x1c0)](_0x1a4d07(0x1c4)),_0x2932da=new Set();_0x1174f5(this[_0x1a4d07(0x196)])[_0x1a4d07(0x1fe)][_0x1a4d07(0x146)](_0x1c5d27=>{const _0x444e1a=_0x1a4d07;for(const _0x290ba5 of _0x254c61){const _0x204f26=''+le+_0x290ba5[_0x444e1a(0x1e5)]+':'+_0x290ba5[_0x444e1a(0x1ce)]+'_'+_0x345cea[_0x444e1a(0x15e)](_0x2932da);this[_0x444e1a(0x181)][_0x444e1a(0x16d)](_0x204f26,{'id':_0x204f26,'groupId':_0x290ba5[_0x444e1a(0x1ce)],'type':_0x290ba5[_0x444e1a(0x1e5)],'text':_0x290ba5[_0x444e1a(0x1f1)]}),_0x1c5d27[_0x444e1a(0x1e9)](_0x204f26,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1c5d27[_0x444e1a(0x138)](_0x290ba5[_0x444e1a(0x137)],_0x290ba5[_0x444e1a(0x141)])});}});}[_0x48c209(0x191)](_0xf33a34,_0x2fcf38,_0x3683da){let _0x6ff391='';return()=>{const _0x20b993=_0xa998;if(!_0x6ff391){const _0x462299=_0x2fcf38[_0x20b993(0x1f4)](_0xf33a34,{'showSuggestionHighlights':!0x0});let _0x44a387=_0x462299[_0x20b993(0x1f0)](0x0);if(_0x44a387['is'](_0x20b993(0x1b0))||(_0x44a387=_0x462299),!_0x44a387)return'';let _0x3cabc1=!0x1;const _0x3d457e=[];for(const _0x511ae4 of _0x44a387[_0x20b993(0x20b)]())_0x511ae4['is'](_0x20b993(0x13e),_0x20b993(0x14f))&&_0x511ae4[_0x20b993(0x1fc)](_0x20b993(0x1e4))&&(_0x3cabc1=!0x1),_0x3cabc1&&_0x3d457e[_0x20b993(0x197)](_0x511ae4),_0x511ae4['is'](_0x20b993(0x13e),_0x20b993(0x14f))&&_0x511ae4[_0x20b993(0x1fc)](_0x20b993(0x200))&&(_0x3cabc1=!0x0);_0x44a387[_0x20b993(0x16f)](0x0,_0x44a387[_0x20b993(0x121)]),_0x3683da?.[_0x20b993(0x139)]&&_0x44a387[_0x20b993(0x1bf)]('…'),_0x44a387[_0x20b993(0x1bf)](_0x3d457e),_0x3683da?.[_0x20b993(0x161)]&&_0x44a387[_0x20b993(0x1bf)]('…');const _0x592c55=_0x2fcf38[_0x20b993(0x1bd)][_0x20b993(0x190)][_0x20b993(0x148)](_0x462299),_0x3e7c34=_0x2fcf38[_0x20b993(0x1bd)][_0x20b993(0x201)][_0x20b993(0x1dc)](_0x592c55);_0x6ff391=_0x3e7c34;}return _0x6ff391;};}[_0x48c209(0x168)](_0x1b0fa5,_0x24d24f){const _0x215cf6=_0x48c209;let _0x42aed9='';return()=>(_0x42aed9||(_0x42aed9=_0x24d24f[_0x215cf6(0x128)](_0x1b0fa5,{'showSuggestionHighlights':!0x0})),_0x42aed9);}[_0x48c209(0x1f5)](_0x39dce5,_0x282a1b,_0x1390d0){let _0x5beba0='';return()=>{const _0x2c444b=_0xa998;if(!_0x5beba0){const _0x2d6bcb=_0x1390d0[_0x2c444b(0x1f4)](new _0x37daec(_0x39dce5)),_0x356d17=_0x1390d0[_0x2c444b(0x1bd)][_0x2c444b(0x190)][_0x2c444b(0x148)](_0x2d6bcb)[_0x2c444b(0x122)](_0x2c444b(0x202)+_0x282a1b+'\x22]');_0x5beba0=_0x356d17?.[_0x2c444b(0x1a3)]||'';}return _0x5beba0;};}[_0x48c209(0x18c)](_0x3e7753,_0x156dc1=0x5){const _0x5c7601=_0x48c209;let _0x2fa0fe=_0x3e7753,_0x17f580=null;for(let _0x1d770e=0x0;_0x1d770e<_0x156dc1&&_0x2fa0fe;_0x1d770e++){if(!_0x2fa0fe[_0x5c7601(0x149)]){_0x2fa0fe=_0x2fa0fe[_0x5c7601(0x1fa)];continue;}if(!(''+_0x2fa0fe[_0x5c7601(0x149)])[_0x5c7601(0x19d)](_0x5c7601(0x125))){_0x2fa0fe=_0x2fa0fe[_0x5c7601(0x1fa)];continue;}if(!_0x2fa0fe[_0x5c7601(0x193)](_0x5c7601(0x1a7)))break;_0x17f580=_0x2fa0fe;break;}return _0x17f580;}[_0x48c209(0x166)](_0x3d48b2){const _0x39e3a0=_0x48c209;return Array[_0x39e3a0(0x152)](this[_0x39e3a0(0x181)][_0x39e3a0(0x14b)]())[_0x39e3a0(0x1e0)](_0x25123f=>_0x25123f[_0x39e3a0(0x1ce)]===_0x3d48b2);}[_0x48c209(0x140)](_0x3244dd){const _0x289c4b=_0x48c209;return _0x289c4b(0x1ed)===_0x3244dd[_0x289c4b(0x1e5)]?_0x3244dd[_0x289c4b(0x14c)]:_0x3244dd[_0x289c4b(0x19a)][_0x289c4b(0x137)];}[_0x48c209(0x1c6)](_0xb74ba9,_0x3dd2b6=!0x1){const _0x557ef6=_0x48c209;return _0x557ef6(0x1ed)===_0xb74ba9[_0x557ef6(0x1e5)]?_0x3dd2b6?_0xb74ba9[_0x557ef6(0x14c)]:_0xb74ba9[_0x557ef6(0x14c)][_0x557ef6(0x16a)](_0xb74ba9[_0x557ef6(0x1d0)]):_0xb74ba9[_0x557ef6(0x19a)][_0x557ef6(0x141)];}[_0x48c209(0x207)](_0x5bab20,_0x3ac622){const _0xb70505=_0x48c209;return _0xb70505(0x1ed)===_0x5bab20[_0xb70505(0x1e5)]?_0x5bab20[_0xb70505(0x14c)]=_0x5bab20[_0xb70505(0x14c)][_0xb70505(0x16a)](_0x3ac622):_0xb70505(0x154)===_0x5bab20[_0xb70505(0x1e5)]&&_0x5bab20[_0xb70505(0x19a)]&&(_0x5bab20[_0xb70505(0x19a)]=new _0x4d6049(_0x5bab20[_0xb70505(0x19a)][_0xb70505(0x137)][_0xb70505(0x16a)](_0x3ac622),_0x5bab20[_0xb70505(0x19a)][_0xb70505(0x141)][_0xb70505(0x16a)](_0x3ac622))),_0x5bab20;}[_0x48c209(0x183)](_0x29df50,_0xa25ade){const _0x376624=_0x48c209;_0x376624(0x1ed)===_0x29df50[_0x376624(0x1e5)]?_0x29df50[_0x376624(0x14c)]=this[_0x376624(0x164)](_0x29df50[_0x376624(0x14c)],_0xa25ade):_0x376624(0x154)===_0x29df50[_0x376624(0x1e5)]&&_0x29df50[_0x376624(0x19a)]&&(_0x29df50[_0x376624(0x19a)]=this[_0x376624(0x1dd)](_0x29df50[_0x376624(0x19a)],_0xa25ade));}[_0x48c209(0x164)](_0x4b5f0f,_0x335269){const _0x3c0854=_0x48c209;return new _0x270ee2(_0x335269,_0x4b5f0f[_0x3c0854(0x12a)]);}[_0x48c209(0x1dd)](_0x2c4ebb,_0x16ec1c){const _0x1c7c79=_0x48c209;return new _0x4d6049(this[_0x1c7c79(0x164)](_0x2c4ebb[_0x1c7c79(0x137)],_0x16ec1c),this[_0x1c7c79(0x164)](_0x2c4ebb[_0x1c7c79(0x141)],_0x16ec1c));}[_0x48c209(0x1da)](_0x23e0bd,_0x13c559){return new _0x270ee2(_0x13c559,[..._0x23e0bd]);}[_0x48c209(0x163)](_0x3a9fff,_0x111368,_0x396077,_0x2665a4){const _0x503dfc=_0x48c209;return new _0x4d6049(this[_0x503dfc(0x1da)](_0x111368,_0x2665a4),this[_0x503dfc(0x1da)](_0x396077,_0x2665a4));}[_0x48c209(0x1aa)](_0x1c7af7){const _0x40492c=_0x48c209,_0x1926ee=_0x2b3b65=>{const _0x23404b=_0xa998;switch(_0x2b3b65){case _0x23404b(0x1ed):return 0x1;case _0x23404b(0x1ae):return 0x2;case _0x23404b(0x1fd):return 0x3;case _0x23404b(0x1d5):return 0x4;}};return _0x1c7af7[_0x40492c(0x176)]((_0x1ec891,_0xae4807)=>_0x1926ee(_0x1ec891[_0x40492c(0x1e5)])-_0x1926ee(_0xae4807[_0x40492c(0x1e5)]));}[_0x48c209(0x1b1)](_0x52300e,_0xe2ff2e){const _0x312f70=_0x48c209,_0x465a33=_0x52300e[_0x312f70(0x1f0)](0x0),_0x181f9b=_0xe2ff2e[_0x312f70(0x1f0)](0x0);return!(!_0x465a33||!_0x181f9b)&&((!_0x465a33['is'](_0x312f70(0x13e))||!_0x181f9b['is'](_0x312f70(0x13e))||_0x465a33[_0x312f70(0x1c2)]===_0x181f9b[_0x312f70(0x1c2)])&&!(_0x465a33['is'](_0x312f70(0x13e))&&!_0x181f9b['is'](_0x312f70(0x13e))||!_0x465a33['is'](_0x312f70(0x13e))&&_0x181f9b['is'](_0x312f70(0x13e))));}[_0x48c209(0x18b)](_0x5ee89b){const _0xf3ffe4=_0x48c209;return 0x1===_0x5ee89b[_0xf3ffe4(0x121)];}[_0x48c209(0x170)](_0x362ca2,_0x2b8e9c){const _0x4fa120=_0x48c209;for(const _0x5c0857 of _0x362ca2[_0x4fa120(0x20b)]())if(_0x5c0857['is'](_0x4fa120(0x13e))&&!_0x2b8e9c[_0x4fa120(0x153)](_0x5c0857))return!0x1;return!0x0;}[_0x48c209(0x18a)](_0x5087ce,_0x2a2368){const _0x2e8367=_0x48c209;let _0x3e10a7=_0x5087ce[_0x2e8367(0x193)](_0x5c60be);return _0x3e10a7||(_0x3e10a7=_0x2a2368(),_0x5087ce[_0x2e8367(0x206)](_0x5c60be,_0x3e10a7)),_0x3e10a7;}}
|
|
23
|
+
const _0x52548d=_0x20f1;(function(_0x2e8e4d,_0x4b916a){const _0xbedb9a=_0x20f1,_0x47eb2b=_0x2e8e4d();while(!![]){try{const _0x1deb70=-parseInt(_0xbedb9a(0x190))/0x1+-parseInt(_0xbedb9a(0x1c8))/0x2+-parseInt(_0xbedb9a(0x25a))/0x3*(-parseInt(_0xbedb9a(0x1c2))/0x4)+-parseInt(_0xbedb9a(0x1f2))/0x5+parseInt(_0xbedb9a(0x1cc))/0x6*(-parseInt(_0xbedb9a(0x207))/0x7)+parseInt(_0xbedb9a(0x1c4))/0x8+parseInt(_0xbedb9a(0x1b7))/0x9;if(_0x1deb70===_0x4b916a)break;else _0x47eb2b['push'](_0x47eb2b['shift']());}catch(_0x5a8e6b){_0x47eb2b['push'](_0x47eb2b['shift']());}}}(_0x5781,0x8f9f2));import{InsertOperation as _0x425577,MarkerOperation as _0x55dce9,ModelDocumentFragment as _0x3b6da7,ModelPosition as _0x21df25,ModelRange as _0x47bce5,ModelTreeWalker as _0x90e179,transformOperationSets as _0x5cb8c5}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x508ad1,EmitterMixin as _0x4b68d4}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x4c46be}from'ckeditor5/src/core.js';import{DocumentCompare as _0x4d02be,DATA_ID_MODEL_ATTRIBUTE as _0x50ebc7,DATA_ID_VIEW_ATTRIBUTE as _0x500d39}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5781(){const _0x3561bb=['affectsData','target','keys','getChildren','_changePosition','schema','_haveSingleTopLevelElement','ellipsisBefore','23184432tSlIcz','applyChange','createUIElement','includes','elements','remove-text','_getChangeContext','length','remove','dataDowncast','fire','692596YuwBvl','containsRange','5784248FvpMQH','data','disableReadOnlyMode','enableReadOnlyMode','1498256NqqfIz','from','[data-marker-id=\x22','switchToReadOnly','2095866SLTWzo','howMany','htmlWriter','closest','baseVersion','clone','suggestion-context','editing','getRoot','_findAdjacentContextDistance','sort','hasContentBefore','_changeOperationOwnerDocument','relatedTarget','_validateMarkers','markChangePositionInEditorContent','AIReviewModeEditing','querySelector','pop','addMarker','warn','editingDowncast','getChangedMarkers','_eventEmitter','add','isTouching','operationsA','_appendChild','push','model:$text','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','document','context','innerHTML','emitter','ck-ai_review-mode-marker_strikethrough','changeMarkerRemoved','stringify','1597270GvFyaE','flat','append','oldRange','_setAttribute','path','ck-ai_review-mode-marker_context-start','click','createPositionAt','domConverter','markerToElement','rejectChange','concat','_nextDataId','_hasSameTopLevelElement','backward','getDiff','getOperations','jumpTo','_clone','getDocumentData','21ihAphI','_shiftOperation','hasAttribute','toDomElement','_changePositionOwnerDocument','model','_translateOperationToEditorContent','_changeRangeOwnerDocument','requires','$textProxy','values','ck-ai_review-mode-marker_context-','registerPostFixer','pluginName','split','markerName','delete','changeMarkerClick','get','createText','clearAllMarkers','_changeRange','ck-ai_review-mode-marker_context-end','$markedRemove','nodes','getEditor','_groupAdjacentOperations','DocumentCompare','[data-id=\x22','view','isOfficialPlugin','toData','isIntersecting','viewToDom','processor','$graveyard','offsetSize','afterInit','isOpening','type','parent','_createGetContentFn','for','switchToEdit','_sortMarkers','_handleMarkerChanges','clear','_getOperationEnd','applyOperation','_domEmitter','_removeAttribute','has','startsWith','newRange','ck-ai_review-mode-marker_hide','outerHTML','getStart','start','plugins','insertContent','position','span','rootName','addOperation','_haveOnlyInlineContent','changeMarkerHovered','forward','markerToHighlight','ellipsisAfter','getDomRoot','filter','listenTo','toView','root','conversion','forEach','map','insert','_insertMarkers','documentFragment','getPath','mouseover','htmlProcessor','9TRgIar','changeMarkerRestored','groupId','markers','element','No\x20element\x20found\x20for\x20ID:\x20','_markers','changeMarkerBlurred','size','attributeToAttribute','isPremiumPlugin','hasContentAfter','history','_getOperationStart','isInline','getChild','AIEditing','_upsertDataId','createSelection','createDocumentFragment','createPositionAfter','deleteContent','createRawElement','offset','parentElement','_createGetContentUsingDataIdFn','removeMarker','_createGetContextFn','remove-only','_parseMarkerName','suggestion:insertion:id:authorId:','_findMarkerElement','every','index','suggestion:deletion:id:authorId:','getShiftedBy','_removeChildren','diffContent','ck-ai_review-mode-marker_add','isDocumentOperation','end','getHtml','text','batch','1113737AbwOOS','change','name','ai-review-mode','getMarkerElementForChange','set','reviewmode-','exec','getRange','data-marker-id','remove-context','hasClass','parse','getAttribute','$documentFragment','version','downcast','childCount','marker','operationsIsolated','differ','ck-ai_review-mode-marker_','isAtEnd','ck-ai_review-mode-marker_underline','_getMarkersDataForGroup','createRange','containerElement','className','getChanges','isAtStart','getRoots'];_0x5781=function(){return _0x3561bb;};return _0x5781();}import{getEditorFromContext as _0xdca771}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0xb00dda}from'../aicore/aiediting.js';import{debounce as _0x2ccfa0}from'es-toolkit/compat';function _0x20f1(_0x104f6b,_0x40a11a){const _0x57814e=_0x5781();return _0x20f1=function(_0x20f191,_0x5a2df4){_0x20f191=_0x20f191-0x177;let _0x25e858=_0x57814e[_0x20f191];return _0x25e858;},_0x20f1(_0x104f6b,_0x40a11a);}const pe=_0x52548d(0x196);export class AIReviewModeEditing extends _0x4c46be{static get[_0x52548d(0x214)](){const _0x8652b9=_0x52548d;return _0x8652b9(0x1dc);}static get[_0x52548d(0x20f)](){return[_0x4d02be,_0xb00dda];}static get[_0x52548d(0x225)](){return!0x0;}static get[_0x52548d(0x264)](){return!0x0;}[_0x52548d(0x260)]=new Map();[_0x52548d(0x238)];[_0x52548d(0x1e3)];constructor(_0x805522){const _0xc6d1cc=_0x52548d;super(_0x805522),this[_0xc6d1cc(0x238)]=new(_0x508ad1())(),this[_0xc6d1cc(0x1e3)]=new(_0x4b68d4())();}get[_0x52548d(0x1ee)](){const _0x41f239=_0x52548d;return this[_0x41f239(0x1e3)];}[_0x52548d(0x22c)](){const _0x583d05=_0x52548d,_0x4828c5=_0xdca771(this[_0x583d05(0x1ec)]);_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1e1))[_0x583d05(0x1fc)]({'model':pe+_0x583d05(0x254),'view':(_0x46147c,{writer:_0x20075b})=>{const _0x1508c9=_0x583d05,_0x49a9d0=this[_0x1508c9(0x260)][_0x1508c9(0x219)](_0x46147c[_0x1508c9(0x216)]),_0x39928a={'class':_0x1508c9(0x18a),'data-marker-id':_0x46147c[_0x1508c9(0x216)]};return _0x20075b[_0x1508c9(0x1b9)](_0x1508c9(0x244),_0x39928a,function(_0x5c7336){const _0x43a7d4=_0x1508c9,_0x5cd06d=this[_0x43a7d4(0x20a)](_0x5c7336);return _0x5cd06d[_0x43a7d4(0x1ed)]=_0x49a9d0?.[_0x43a7d4(0x18e)]||'',_0x5cd06d;});}}),_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1e1))[_0x583d05(0x24a)]({'model':pe+_0x583d05(0x180),'view':_0x3ad82a=>({'classes':_0x583d05(0x1ef),'attributes':{'data-marker-id':_0x3ad82a[_0x583d05(0x216)]}})}),_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1e1))[_0x583d05(0x24a)]({'model':pe+_0x583d05(0x19a),'view':_0x1d1be1=>({'classes':_0x583d05(0x1a7),'attributes':{'data-marker-id':_0x1d1be1[_0x583d05(0x216)]}})}),_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1e1))[_0x583d05(0x24a)]({'model':pe+_0x583d05(0x1bc),'view':_0x4993d4=>({'classes':_0x583d05(0x23d),'attributes':{'data-marker-id':_0x4993d4[_0x583d05(0x216)]}})}),_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1c0))[_0x583d05(0x1fc)]({'model':pe+_0x583d05(0x1d2),'view':(_0x61d62c,{writer:_0x3c07d2})=>_0x3c07d2[_0x583d05(0x17a)](_0x583d05(0x244),{'class':_0x583d05(0x212)+(_0x61d62c[_0x583d05(0x22d)]?_0x583d05(0x240):_0x583d05(0x18c))})}),_0x4828c5[_0x583d05(0x251)][_0x583d05(0x231)](_0x583d05(0x1a0))[_0x583d05(0x263)]({'model':_0x50ebc7,'view':_0x500d39}),this[_0x583d05(0x238)][_0x583d05(0x24e)](document,_0x583d05(0x1f9),(_0xbb6a37,_0x35c271)=>{const _0x346261=_0x583d05,_0x570fab=_0x35c271[_0x346261(0x1b0)],_0x3ad3a8=this[_0x346261(0x183)](_0x570fab);if(!_0x3ad3a8)return;const _0x33ff74=_0x3ad3a8[_0x346261(0x19d)](_0x346261(0x199)),_0x3d712d=_0x33ff74[_0x346261(0x215)](':')[_0x346261(0x1de)]()?.[_0x346261(0x215)]('_')[0x0];this[_0x346261(0x1e3)][_0x346261(0x1c1)](_0x346261(0x218),{'markerId':_0x33ff74,'changeId':_0x3d712d,'markerElement':_0x3ad3a8,'domEvent':_0x35c271});}),this[_0x583d05(0x238)][_0x583d05(0x24e)](document,_0x583d05(0x258),(_0x1a970f,_0x18d362)=>{const _0x596b90=_0x583d05,_0x1126af=_0x18d362[_0x596b90(0x1b0)],_0x56a1da=_0x18d362[_0x596b90(0x1d9)];let _0xb2404d=this[_0x596b90(0x183)](_0x1126af);if(!_0xb2404d&&_0x56a1da&&(_0xb2404d=this[_0x596b90(0x183)](_0x56a1da)),!_0xb2404d)return;const _0x3b5d84=_0xb2404d[_0x596b90(0x19d)](_0x596b90(0x199)),_0x2fff21=_0x3b5d84[_0x596b90(0x215)](':')[_0x596b90(0x1de)]()?.[_0x596b90(0x215)]('_')[0x0];this[_0x596b90(0x1e3)][_0x596b90(0x1c1)](_0x596b90(0x248),{'changeId':_0x2fff21,'markerElement':_0xb2404d,'domEvent':_0x18d362});}),this[_0x583d05(0x238)][_0x583d05(0x24e)](document,_0x583d05(0x258),_0x2ccfa0((_0x534d40,_0x31fdb0)=>{const _0xc75659=_0x583d05,_0x2b7074=_0x31fdb0[_0xc75659(0x1b0)];if(this[_0xc75659(0x183)](_0x2b7074))return;_0x2b7074[_0xc75659(0x1cf)](_0xc75659(0x1ea))||this[_0xc75659(0x1e3)][_0xc75659(0x1c1)](_0xc75659(0x261));},0xc8)),_0x4828c5[_0x583d05(0x20c)][_0x583d05(0x1eb)][_0x583d05(0x213)](_0x2b2052=>this[_0x583d05(0x1da)](_0x4828c5,_0x2b2052)),_0x4828c5[_0x583d05(0x20c)][_0x583d05(0x1eb)]['on'](_0x583d05(0x191),()=>this[_0x583d05(0x234)](_0x4828c5));}[_0x52548d(0x206)](){const _0x334fc6=_0x52548d,_0x5b1711=this[_0x334fc6(0x1ec)][_0x334fc6(0x241)][_0x334fc6(0x219)](_0x334fc6(0x26a)),_0x4f0d05=_0xdca771(this[_0x334fc6(0x1ec)]),_0x48f8b5=_0x4f0d05[_0x334fc6(0x20c)],_0x7d8c7c=new _0x3b6da7();for(const _0x52a3b9 of _0x48f8b5[_0x334fc6(0x1eb)][_0x334fc6(0x1d4)]()[_0x334fc6(0x1b2)]()){const _0x37a490=_0x52a3b9[_0x334fc6(0x205)](!0x0);_0x7d8c7c[_0x334fc6(0x1e7)](_0x37a490);}for(const _0x25335e of _0x48f8b5[_0x334fc6(0x25d)])_0x7d8c7c[_0x334fc6(0x25d)][_0x334fc6(0x195)](_0x25335e[_0x334fc6(0x192)],this[_0x334fc6(0x20e)](_0x25335e[_0x334fc6(0x198)]()[_0x334fc6(0x1d1)](),_0x7d8c7c));const _0x13eef5=new _0x90e179({'ignoreElementEnd':!0x0,'startPosition':_0x48f8b5[_0x334fc6(0x1fa)](_0x7d8c7c,0x0)}),_0x1414d1=new Set(),_0x5b2c5a=new Map();for(const {item:_0x205920}of _0x13eef5){if(!_0x205920['is'](_0x334fc6(0x210)))continue;const _0x32c5b4=_0x205920[_0x334fc6(0x22f)];if(_0x32c5b4&&_0x32c5b4['is'](_0x334fc6(0x25e))){const _0x556ca9=this[_0x334fc6(0x26b)](_0x32c5b4,()=>_0x5b1711[_0x334fc6(0x1ff)](_0x1414d1));_0x1414d1[_0x334fc6(0x1e4)](_0x556ca9);for(const _0x5b495a of _0x32c5b4[_0x334fc6(0x1b2)]())_0x5b495a['is'](_0x334fc6(0x25e))&&_0x1414d1[_0x334fc6(0x1e4)](this[_0x334fc6(0x26b)](_0x5b495a,()=>_0x5b1711[_0x334fc6(0x1ff)](_0x1414d1)));let _0x2c0b12=_0x32c5b4;for(;_0x2c0b12[_0x334fc6(0x22f)]&&!_0x2c0b12[_0x334fc6(0x22f)]['is'](_0x334fc6(0x256));)_0x2c0b12=_0x2c0b12[_0x334fc6(0x22f)],_0x2c0b12[_0x334fc6(0x209)](_0x50ebc7)&&_0x2c0b12[_0x334fc6(0x239)](_0x50ebc7);_0x5b2c5a[_0x334fc6(0x195)](_0x556ca9,{'path':_0x32c5b4[_0x334fc6(0x257)](),'getContent':this[_0x334fc6(0x17d)](_0x2c0b12[_0x334fc6(0x205)](!0x0),_0x556ca9,_0x4f0d05[_0x334fc6(0x1c5)])}),_0x13eef5[_0x334fc6(0x204)](_0x48f8b5[_0x334fc6(0x178)](_0x32c5b4));}}return{'content':_0x4f0d05[_0x334fc6(0x1c5)][_0x334fc6(0x229)][_0x334fc6(0x226)](_0x4f0d05[_0x334fc6(0x1c5)][_0x334fc6(0x24f)](_0x7d8c7c)),'version':_0x4f0d05[_0x334fc6(0x20c)][_0x334fc6(0x1eb)][_0x334fc6(0x19f)],'elements':_0x5b2c5a};}[_0x52548d(0x189)](_0x56f514,_0xc6a80f){const _0x1e1f6d=_0x52548d,_0xe90d27=[],_0x9dbb30=_0xdca771(this[_0x1e1f6d(0x1ec)]),_0x508f32=_0x9dbb30[_0x1e1f6d(0x1c5)][_0x1e1f6d(0x19c)](_0xc6a80f,_0x1e1f6d(0x19e)),_0x53e0fd=_0x9dbb30[_0x1e1f6d(0x1c5)][_0x1e1f6d(0x19c)](_0x56f514,_0x1e1f6d(0x19e)),_0x13f5fd=_0x9dbb30[_0x1e1f6d(0x20c)][_0x1e1f6d(0x1fa)](_0x53e0fd,0x0);if(this[_0x1e1f6d(0x1b5)](_0x508f32)){if(!this[_0x1e1f6d(0x200)](_0x53e0fd,_0x508f32))return _0xe90d27;}else{const _0x3b6b82=_0x9dbb30[_0x1e1f6d(0x20c)][_0x1e1f6d(0x1b4)];if(!this[_0x1e1f6d(0x247)](_0x53e0fd,_0x3b6b82)||!this[_0x1e1f6d(0x247)](_0x508f32,_0x3b6b82))return _0xe90d27;}const _0x406cf9=this[_0x1e1f6d(0x1ec)][_0x1e1f6d(0x241)][_0x1e1f6d(0x219)](_0x1e1f6d(0x222))[_0x1e1f6d(0x202)](_0x56f514,_0xc6a80f,{'anchor':_0x13f5fd,'markDeletions':!0x0})[_0x1e1f6d(0x203)]()[_0x1e1f6d(0x24d)](_0x54648c=>_0x1e1f6d(0x254)===_0x54648c[_0x1e1f6d(0x22e)]||_0x1e1f6d(0x1a2)===_0x54648c[_0x1e1f6d(0x22e)]&&_0x54648c[_0x1e1f6d(0x192)][_0x1e1f6d(0x23b)](_0x1e1f6d(0x21e))),_0x179d1b=this[_0x1e1f6d(0x221)](_0x406cf9);let _0x5da099=0x0;return _0x9dbb30[_0x1e1f6d(0x20c)][_0x1e1f6d(0x191)](_0x3a6835=>{const _0x52804e=_0x1e1f6d;for(let _0x1b45f5=0x0;_0x1b45f5<_0x179d1b[_0x52804e(0x1be)];_0x1b45f5++){const _0x501dd8=_0x179d1b[_0x1b45f5],_0x4b453c=_0x3a6835[_0x52804e(0x177)]();for(const _0x450350 of _0x53e0fd[_0x52804e(0x1b2)]())_0x3a6835[_0x52804e(0x1f4)](_0x450350[_0x52804e(0x205)](!0x0),_0x4b453c);for(const _0x9226f0 of _0x501dd8[_0x52804e(0x1a3)])if(_0x52804e(0x254)===_0x9226f0[_0x52804e(0x22e)]){const _0x1396ad=_0x9226f0;_0x1396ad[_0x52804e(0x1d0)]=null,_0x1396ad[_0x52804e(0x18b)]=!0x1,this[_0x52804e(0x1d8)](_0x1396ad,_0x4b453c),_0x3a6835[_0x52804e(0x18f)][_0x52804e(0x246)](_0x9226f0),_0x9dbb30[_0x52804e(0x20c)][_0x52804e(0x237)](_0x9226f0);const _0x144a41=_0x52804e(0x182)+_0x5da099++,_0xfc8fd8=_0x9dbb30[_0x52804e(0x20c)][_0x52804e(0x1a9)](_0x1396ad[_0x52804e(0x243)],_0x1396ad[_0x52804e(0x243)][_0x52804e(0x187)](_0x1396ad[_0x52804e(0x1cd)]));_0x4b453c[_0x52804e(0x25d)][_0x52804e(0x195)](_0x144a41,_0xfc8fd8);}else{if(_0x52804e(0x1a2)===_0x9226f0[_0x52804e(0x22e)]&&_0x9226f0[_0x52804e(0x192)][_0x52804e(0x23b)](_0x52804e(0x21e))){const _0x2459ae=_0x9226f0,_0x2116e1=_0x52804e(0x186)+_0x5da099++;this[_0x52804e(0x1d8)](_0x2459ae,_0x4b453c),_0x4b453c[_0x52804e(0x25d)][_0x52804e(0x195)](_0x2116e1,_0x2459ae[_0x52804e(0x23c)]);}}const _0x2ca19c=this[_0x52804e(0x1bd)](this[_0x52804e(0x20b)](this[_0x52804e(0x267)](_0x501dd8[_0x52804e(0x1a3)][0x0]),_0x4b453c),this[_0x52804e(0x20b)](this[_0x52804e(0x236)](_0x501dd8[_0x52804e(0x1a3)][_0x501dd8[_0x52804e(0x1a3)][_0x52804e(0x1be)]-0x1]),_0x4b453c));_0x4b453c[_0x52804e(0x25d)][_0x52804e(0x195)](pe+_0x52804e(0x1d2),new _0x47bce5(_0x2ca19c[_0x52804e(0x240)],_0x2ca19c[_0x52804e(0x18c)])),_0xe90d27[_0x52804e(0x1e8)]({..._0x501dd8,'context':this[_0x52804e(0x17f)](_0x4b453c,_0x9dbb30[_0x52804e(0x1c5)],{'ellipsisBefore':_0x2ca19c[_0x52804e(0x1d7)],'ellipsisAfter':_0x2ca19c[_0x52804e(0x265)]}),'content':this[_0x52804e(0x230)](_0x4b453c,_0x9dbb30[_0x52804e(0x1c5)])});}}),_0xe90d27;}[_0x52548d(0x1db)](_0x3a1dea,_0x1c03da){const _0x26f45a=_0x52548d;if(!_0x3a1dea[_0x26f45a(0x1be)])return;const _0x6af4c3=_0x3a1dea[0x0][_0x26f45a(0x22f)]['id'],_0xd90b97=_0x1c03da[_0x26f45a(0x1bb)][_0x26f45a(0x219)](_0x6af4c3);if(!_0xd90b97)return void console[_0x26f45a(0x1e0)](_0x26f45a(0x25f)+_0x6af4c3);const _0x506cae=_0xd90b97[_0x26f45a(0x1f7)],_0x54aab1=_0xdca771(this[_0x26f45a(0x1ec)]),_0xa809e2=_0x54aab1[_0x26f45a(0x20c)][_0x26f45a(0x1eb)][_0x26f45a(0x266)][_0x26f45a(0x203)](_0x1c03da[_0x26f45a(0x19f)]),_0x317850=[];for(const _0x5b641f of _0x3a1dea){const _0x1b2a50=_0x5b641f[_0x26f45a(0x1a3)][_0x26f45a(0x253)](_0x41693a=>this[_0x26f45a(0x20d)](_0x41693a,_0x506cae,_0x54aab1[_0x26f45a(0x20c)][_0x26f45a(0x1eb)][_0x26f45a(0x1ae)]()[0x0]));if(!_0x1b2a50||!_0x1b2a50[_0x26f45a(0x1be)])continue;const _0x1b4fe4=_0x1b2a50[_0x26f45a(0x184)](_0x1ac1f7=>_0x26f45a(0x1a2)===_0x1ac1f7[_0x26f45a(0x22e)]&&_0x1ac1f7[_0x26f45a(0x192)][_0x26f45a(0x23b)](_0x26f45a(0x21e))),_0x2e68fc={'document':_0x54aab1[_0x26f45a(0x20c)][_0x26f45a(0x1eb)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3754f9=_0x5cb8c5(_0x1b2a50,_0xa809e2,_0x2e68fc)[_0x26f45a(0x1e6)];for(const _0x4d8386 of _0x3754f9)if(_0x26f45a(0x254)===_0x4d8386[_0x26f45a(0x22e)]){const _0x26c47f=_0x4d8386,_0x55569a=_0x26c47f[_0x26f45a(0x21f)];let _0x3fe23c='';for(const _0x1f5ae2 of _0x55569a)_0x1f5ae2&&_0x1f5ae2['is'](_0x26f45a(0x1e9))&&(_0x3fe23c+=_0x1f5ae2[_0x26f45a(0x1c5)]);_0x317850[_0x26f45a(0x1e8)]({'start':_0x26c47f[_0x26f45a(0x243)],'end':_0x26c47f[_0x26f45a(0x243)],'type':_0x26f45a(0x254),'groupId':_0x5b641f['id'],'text':_0x3fe23c});}else{if(_0x26f45a(0x1a2)===_0x4d8386[_0x26f45a(0x22e)]&&_0x4d8386[_0x26f45a(0x192)][_0x26f45a(0x23b)](_0x26f45a(0x21e))){const _0x81dc8c=_0x4d8386;let _0x4f6079=_0x26f45a(0x1bc);if(_0x1b4fe4){const _0x36080b=this[_0x26f45a(0x1d5)](_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x240)],_0x26f45a(0x201),_0x54aab1[_0x26f45a(0x20c)][_0x26f45a(0x1b4)]),_0x5e2cd1=this[_0x26f45a(0x1d5)](_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x18c)],_0x26f45a(0x249),_0x54aab1[_0x26f45a(0x20c)][_0x26f45a(0x1b4)]);if(_0x36080b||_0x5e2cd1){const _0x18ba05=_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x240)][_0x26f45a(0x187)](-_0x36080b),_0x20ed0f=_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x18c)][_0x26f45a(0x187)](_0x5e2cd1);_0x317850[_0x26f45a(0x1e8)]({'start':_0x18ba05,'end':_0x20ed0f,'groupId':_0x5b641f['id'],'type':_0x26f45a(0x19a)});}else _0x4f6079=_0x26f45a(0x180);}_0x317850[_0x26f45a(0x1e8)]({'start':_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x240)],'end':_0x81dc8c[_0x26f45a(0x23c)][_0x26f45a(0x18c)],'groupId':_0x5b641f['id'],'type':_0x4f6079});}}}this[_0x26f45a(0x255)](_0x317850);}[_0x52548d(0x21b)](){const _0x27c376=_0x52548d,_0x3adf6e=_0xdca771(this[_0x27c376(0x1ec)]);_0x3adf6e[_0x27c376(0x20c)][_0x27c376(0x191)](_0x39069f=>{const _0x3743ab=_0x27c376;for(const _0x36e885 of this[_0x3743ab(0x260)][_0x3743ab(0x1b1)]())_0x3adf6e[_0x3743ab(0x20c)][_0x3743ab(0x25d)][_0x3743ab(0x219)](_0x36e885)&&_0x39069f[_0x3743ab(0x17e)](_0x36e885);}),this[_0x27c376(0x260)][_0x27c376(0x235)]();}[_0x52548d(0x1cb)](){const _0x7d00ad=_0x52548d;_0xdca771(this[_0x7d00ad(0x1ec)])[_0x7d00ad(0x1c7)](_0x7d00ad(0x193));}[_0x52548d(0x232)](){const _0x4ccef3=_0x52548d;_0xdca771(this[_0x4ccef3(0x1ec)])[_0x4ccef3(0x1c6)](_0x4ccef3(0x193));}[_0x52548d(0x1b8)](_0x2ab2f6){const _0x2d084b=_0x52548d,_0x584523=_0xdca771(this[_0x2d084b(0x1ec)]),_0x2bfb85=_0x584523[_0x2d084b(0x20c)],_0x378574=_0x2ab2f6[_0x2d084b(0x253)](_0x502e97=>this[_0x2d084b(0x1a8)](_0x502e97))[_0x2d084b(0x1f3)]();_0x2bfb85[_0x2d084b(0x191)](_0x4528aa=>{const _0x228991=_0x2d084b;for(const _0x2b2392 of _0x378574){const _0x5f5766=_0x584523[_0x228991(0x20c)][_0x228991(0x25d)][_0x228991(0x219)](_0x2b2392['id']);_0x5f5766&&(_0x228991(0x254)===_0x2b2392[_0x228991(0x22e)]?_0x2bfb85[_0x228991(0x242)](_0x4528aa[_0x228991(0x21a)](_0x2b2392[_0x228991(0x18e)]||''),_0x5f5766[_0x228991(0x198)]()[_0x228991(0x240)]):_0x228991(0x1bc)!==_0x2b2392[_0x228991(0x22e)]&&_0x228991(0x180)!==_0x2b2392[_0x228991(0x22e)]||_0x2bfb85[_0x228991(0x179)](_0x2bfb85[_0x228991(0x26c)](_0x5f5766[_0x228991(0x198)]())),_0x4528aa[_0x228991(0x17e)](_0x2b2392['id']),this[_0x228991(0x260)][_0x228991(0x217)](_0x2b2392['id']));}});}[_0x52548d(0x1fd)](_0x18c7bc){const _0x4be503=_0x52548d,_0x21ce3e=_0xdca771(this[_0x4be503(0x1ec)]),_0x1b9a30=this[_0x4be503(0x1a8)](_0x18c7bc);_0x21ce3e[_0x4be503(0x20c)][_0x4be503(0x191)](_0x1260bd=>{const _0x3745b5=_0x4be503;for(const _0x48ed7f of _0x1b9a30)_0x1260bd[_0x3745b5(0x17e)](_0x48ed7f['id']),this[_0x3745b5(0x260)][_0x3745b5(0x217)](_0x48ed7f['id']);});}[_0x52548d(0x220)](){const _0x286ccf=_0x52548d;return _0xdca771(this[_0x286ccf(0x1ec)]);}[_0x52548d(0x194)](_0x26d57b){const _0x3ce57d=_0x52548d,_0x11a234=Array[_0x3ce57d(0x1c9)](this[_0x3ce57d(0x260)][_0x3ce57d(0x211)]())[_0x3ce57d(0x24d)](_0x324d98=>_0x324d98[_0x3ce57d(0x25c)]===_0x26d57b);if(!_0x11a234[_0x3ce57d(0x1be)])return null;const _0x2b8ad6=0x1===_0x11a234[_0x3ce57d(0x1be)]?_0x11a234[0x0]:this[_0x3ce57d(0x233)](_0x11a234)[0x0],_0x201fb9=_0xdca771(this[_0x3ce57d(0x1ec)]),_0x510ad8=_0x201fb9[_0x3ce57d(0x20c)][_0x3ce57d(0x25d)][_0x3ce57d(0x219)](_0x2b8ad6['id']);if(!_0x510ad8)return null;const _0x1ce13b=_0x510ad8[_0x3ce57d(0x198)](),_0x3ff77a=_0x201fb9[_0x3ce57d(0x1d3)][_0x3ce57d(0x224)][_0x3ce57d(0x24c)]();if(!_0x3ff77a||!_0x1ce13b)return null;const _0x38042d=_0x3ff77a[_0x3ce57d(0x1dd)](_0x3ce57d(0x1ca)+_0x2b8ad6['id']+'\x22]');return _0x38042d?{'modelRange':_0x1ce13b,'domElement':_0x38042d}:null;}[_0x52548d(0x1da)](_0x368b64,_0x5d22c7){const _0x57a0f5=_0x52548d,_0x1ae1d6=Array[_0x57a0f5(0x1c9)](this[_0x57a0f5(0x260)][_0x57a0f5(0x1b1)]()),_0x3fc3c6=new Map();for(const _0x3f959d of _0x1ae1d6){const _0x2cab30=_0x368b64[_0x57a0f5(0x20c)][_0x57a0f5(0x25d)][_0x57a0f5(0x219)](_0x3f959d);if(!_0x2cab30)continue;const _0x4d2d30=_0x2cab30[_0x57a0f5(0x23f)]()[_0x57a0f5(0x1f7)][0x0];_0x3fc3c6[_0x57a0f5(0x23a)](_0x4d2d30)||_0x3fc3c6[_0x57a0f5(0x195)](_0x4d2d30,[]),_0x3fc3c6[_0x57a0f5(0x219)](_0x4d2d30)[_0x57a0f5(0x1e8)](_0x2cab30);}const _0x496830=new Set();for(const _0x8f4da8 of _0x368b64[_0x57a0f5(0x20c)][_0x57a0f5(0x1eb)][_0x57a0f5(0x1a4)][_0x57a0f5(0x1ac)]()){let _0x50c67e=-0x1,_0x2c6d4e=null;if(_0x57a0f5(0x254)===_0x8f4da8[_0x57a0f5(0x22e)])_0x2c6d4e=new _0x47bce5(_0x8f4da8[_0x57a0f5(0x243)],_0x8f4da8[_0x57a0f5(0x243)][_0x57a0f5(0x187)](_0x8f4da8[_0x57a0f5(0x1be)])),_0x50c67e=_0x8f4da8[_0x57a0f5(0x243)][_0x57a0f5(0x1f7)][0x0];else{if(_0x57a0f5(0x1bf)!==_0x8f4da8[_0x57a0f5(0x22e)])continue;_0x2c6d4e=new _0x47bce5(_0x8f4da8[_0x57a0f5(0x243)]),_0x50c67e=_0x8f4da8[_0x57a0f5(0x243)][_0x57a0f5(0x1f7)][0x0];}const _0x1cd285=_0x3fc3c6[_0x57a0f5(0x219)](_0x50c67e)||[];if(_0x1cd285[_0x57a0f5(0x1be)]){for(const _0x17bb1d of _0x1cd285)if(_0x2c6d4e[_0x57a0f5(0x250)][_0x57a0f5(0x245)]===_0x17bb1d[_0x57a0f5(0x198)]()[_0x57a0f5(0x250)][_0x57a0f5(0x245)]&&(_0x57a0f5(0x254)!==_0x8f4da8[_0x57a0f5(0x22e)]||!_0x2c6d4e[_0x57a0f5(0x1c3)](_0x17bb1d[_0x57a0f5(0x198)]()))&&(_0x2c6d4e[_0x57a0f5(0x227)](_0x17bb1d[_0x57a0f5(0x198)]())||_0x2c6d4e[_0x57a0f5(0x240)][_0x57a0f5(0x1e5)](_0x17bb1d[_0x57a0f5(0x198)]()[_0x57a0f5(0x18c)])||_0x2c6d4e[_0x57a0f5(0x18c)][_0x57a0f5(0x1e5)](_0x17bb1d[_0x57a0f5(0x198)]()[_0x57a0f5(0x240)]))){const _0x533de6=this[_0x57a0f5(0x181)](_0x17bb1d[_0x57a0f5(0x192)]);Array[_0x57a0f5(0x1c9)](this[_0x57a0f5(0x260)][_0x57a0f5(0x211)]())[_0x57a0f5(0x24d)](_0xce6603=>_0xce6603[_0x57a0f5(0x25c)]===_0x533de6[_0x57a0f5(0x25c)])[_0x57a0f5(0x252)](_0x952021=>_0x496830[_0x57a0f5(0x1e4)](_0x952021['id']));}}}if(_0x496830[_0x57a0f5(0x262)]){for(const _0x29f42c of _0x496830)_0x5d22c7[_0x57a0f5(0x17e)](_0x29f42c);return!0x0;}return!0x1;}[_0x52548d(0x234)](_0x45eb05){const _0x2f904b=_0x52548d;for(const {name:_0x20af64,data:_0x555a91}of _0x45eb05[_0x2f904b(0x20c)][_0x2f904b(0x1eb)][_0x2f904b(0x1a4)][_0x2f904b(0x1e2)]()){if(!_0x20af64[_0x2f904b(0x23b)](pe))continue;const _0x5a412f=_0x555a91[_0x2f904b(0x1f5)],_0xb8b5ea=_0x555a91[_0x2f904b(0x23c)],_0x3b884b=_0x5a412f&&_0x2f904b(0x22a)===_0x5a412f[_0x2f904b(0x250)][_0x2f904b(0x245)],_0x176d32=_0xb8b5ea&&_0x2f904b(0x22a)===_0xb8b5ea[_0x2f904b(0x250)][_0x2f904b(0x245)];if(_0x3b884b&&_0x176d32)continue;const _0x180c5e=this[_0x2f904b(0x181)](_0x20af64);this[_0x2f904b(0x260)][_0x2f904b(0x219)](_0x20af64)&&(_0x176d32||!_0xb8b5ea?this[_0x2f904b(0x1e3)][_0x2f904b(0x1c1)](_0x2f904b(0x1f0),{'markerId':_0x20af64,'changeId':_0x180c5e[_0x2f904b(0x25c)]}):_0x3b884b&&_0xb8b5ea&&this[_0x2f904b(0x1e3)][_0x2f904b(0x1c1)](_0x2f904b(0x25b),{'markerId':_0x20af64,'changeId':_0x180c5e[_0x2f904b(0x25c)]}));}}[_0x52548d(0x181)](_0x5b9684){const _0x260d2e=_0x52548d,_0x11a822=_0x5b9684[_0x260d2e(0x215)](':'),_0x4d077e=(_0x11a822[0x1]||'')[_0x260d2e(0x215)]('_');return{'prefix':_0x11a822[0x0],'groupId':_0x4d077e[0x0],'suffix':_0x4d077e[0x1]};}[_0x52548d(0x20d)](_0x59fd87,_0x5cae82,_0x344afa){const _0xfbc199=_0x52548d;if(_0xfbc199(0x254)===_0x59fd87[_0xfbc199(0x22e)]){const _0x535eac=_0x59fd87;return new _0x425577(this[_0xfbc199(0x1b3)](_0x5cae82[_0xfbc199(0x1fe)](_0x535eac[_0xfbc199(0x243)][_0xfbc199(0x17b)]),_0x344afa),_0x535eac[_0xfbc199(0x21f)],_0x535eac[_0xfbc199(0x1d0)]);}if(_0xfbc199(0x1a2)===_0x59fd87[_0xfbc199(0x22e)]&&_0x59fd87[_0xfbc199(0x192)][_0xfbc199(0x23b)](_0xfbc199(0x21e))){const _0x1dec39=_0x59fd87;return new _0x55dce9(_0x1dec39[_0xfbc199(0x192)],_0x1dec39[_0xfbc199(0x1f5)],this[_0xfbc199(0x21c)](_0x1dec39[_0xfbc199(0x23c)],_0x5cae82[_0xfbc199(0x1fe)](_0x1dec39[_0xfbc199(0x23c)][_0xfbc199(0x240)][_0xfbc199(0x17b)]),_0x5cae82[_0xfbc199(0x1fe)](_0x1dec39[_0xfbc199(0x23c)][_0xfbc199(0x18c)][_0xfbc199(0x17b)]),_0x344afa),_0x1dec39[_0xfbc199(0x260)],_0x1dec39[_0xfbc199(0x1af)],_0x1dec39[_0xfbc199(0x1d0)]);}return _0x59fd87;}[_0x52548d(0x221)](_0x49987b){const _0x11a85f=_0x52548d;if(!_0x49987b[_0x11a85f(0x1be)])return[];const _0x126356=[];let _0x41fc08=0x0,_0x12e3ae=0x0,_0x3508c4=[];for(let _0x1dba60=0x0;_0x1dba60<=_0x49987b[_0x11a85f(0x1be)];_0x1dba60++){const _0x43299b=_0x49987b[_0x1dba60],_0x1ab382=_0x49987b[_0x1dba60-0x1];!_0x43299b||_0x1ab382&&!this[_0x11a85f(0x236)](_0x1ab382)[_0x11a85f(0x1e5)](this[_0x11a85f(0x267)](_0x43299b))?(_0x126356[_0x11a85f(0x1e8)]({'operations':_0x3508c4,'operationsIsolated':_0x3508c4[_0x11a85f(0x253)](_0x2ea5f1=>this[_0x11a85f(0x208)](_0x2ea5f1[_0x11a85f(0x1d1)](),-_0x12e3ae)),'groupOffset':_0x41fc08}),_0x3508c4=_0x43299b?[_0x43299b]:[],_0x12e3ae+=_0x41fc08,_0x41fc08=0x0):_0x3508c4[_0x11a85f(0x1e8)](_0x43299b),_0x43299b&&_0x11a85f(0x254)===_0x43299b[_0x11a85f(0x22e)]&&(_0x41fc08+=_0x43299b[_0x11a85f(0x1cd)]);}return _0x126356;}[_0x52548d(0x1d5)](_0xb69dd2,_0x536836,_0x4c9386,_0x47a411=0x1){const _0x14e437=_0x52548d,_0x377224=new _0x90e179({'startPosition':_0xb69dd2,'direction':_0x536836});let _0x29773d=0x0;for(let _0x7fb8ba=0x0;_0x7fb8ba<_0x47a411;_0x7fb8ba++){let _0x4d0fa3=0x0,_0x317ac1=!0x1,_0x3a698c=_0x14e437(0x249)===_0x536836?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4970cc}of _0x377224)if(_0x4970cc['is'](_0x14e437(0x210))){const _0x860a9e=_0x3a698c[_0x14e437(0x197)](_0x4970cc[_0x14e437(0x1c5)]);if(_0x860a9e&&_0x860a9e[_0x14e437(0x1be)]){if(_0x4d0fa3+=_0x14e437(0x249)===_0x536836?_0x860a9e[_0x14e437(0x185)]+_0x860a9e[0x0][_0x14e437(0x1be)]:_0x4970cc[_0x14e437(0x1c5)][_0x14e437(0x1be)]-_0x860a9e[_0x14e437(0x185)],_0x860a9e[0x0][_0x14e437(0x1be)]!==_0x4970cc[_0x14e437(0x1c5)][_0x14e437(0x1be)])break;_0x317ac1=!0x0,_0x3a698c=_0x14e437(0x249)===_0x536836?/^\w+/:/\w+$/;}else{if(_0x317ac1)break;_0x4d0fa3+=_0x4970cc[_0x14e437(0x22b)];}}else{if(_0x4970cc['is'](_0x14e437(0x25e))){_0x4c9386[_0x14e437(0x268)](_0x4970cc)&&!_0x317ac1&&(_0x4d0fa3+=0x1);break;}}_0x29773d+=_0x4d0fa3,_0x377224[_0x14e437(0x204)](_0xb69dd2[_0x14e437(0x187)](_0x14e437(0x249)===_0x536836?_0x29773d:-_0x29773d));}return _0x29773d;}[_0x52548d(0x1bd)](_0x2cdc9f,_0x500fe7){const _0xa3616c=_0x52548d,_0x1abc4b=_0xdca771(this[_0xa3616c(0x1ec)])[_0xa3616c(0x20c)][_0xa3616c(0x1b4)],_0x315136=this[_0xa3616c(0x1d5)](_0x2cdc9f,_0xa3616c(0x201),_0x1abc4b,0x6),_0x54a83d=this[_0xa3616c(0x1d5)](_0x500fe7,_0xa3616c(0x249),_0x1abc4b,0x6),_0x164110=_0x2cdc9f[_0xa3616c(0x187)](-_0x315136),_0x35f25b=_0x500fe7[_0xa3616c(0x187)](_0x54a83d);return{'start':_0x164110,'end':_0x35f25b,'hasContentBefore':!_0x164110[_0xa3616c(0x1ad)],'hasContentAfter':!_0x35f25b[_0xa3616c(0x1a6)]};}[_0x52548d(0x255)](_0x41f3fc){const _0x3283f9=_0x52548d,_0x8648e1=this[_0x3283f9(0x1ec)][_0x3283f9(0x241)][_0x3283f9(0x219)](_0x3283f9(0x26a)),_0x574e8b=new Set();_0xdca771(this[_0x3283f9(0x1ec)])[_0x3283f9(0x20c)][_0x3283f9(0x191)](_0xab4c6e=>{const _0x166723=_0x3283f9;for(const _0x700282 of _0x41f3fc){const _0x4f1c21=''+pe+_0x700282[_0x166723(0x22e)]+':'+_0x700282[_0x166723(0x25c)]+'_'+_0x8648e1[_0x166723(0x1ff)](_0x574e8b);this[_0x166723(0x260)][_0x166723(0x195)](_0x4f1c21,{'id':_0x4f1c21,'groupId':_0x700282[_0x166723(0x25c)],'type':_0x700282[_0x166723(0x22e)],'text':_0x700282[_0x166723(0x18e)]}),_0xab4c6e[_0x166723(0x1df)](_0x4f1c21,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xab4c6e[_0x166723(0x1a9)](_0x700282[_0x166723(0x240)],_0x700282[_0x166723(0x18c)])});}});}[_0x52548d(0x17f)](_0x231fa6,_0x5ba1ef,_0x318b3b){let _0xf36b02='';return()=>{const _0x3f8bed=_0x20f1;if(!_0xf36b02){const _0x1ebaa5=_0x5ba1ef[_0x3f8bed(0x24f)](_0x231fa6,{'showSuggestionHighlights':!0x0});let _0x1cfabc=_0x1ebaa5[_0x3f8bed(0x269)](0x0);if(_0x1cfabc['is'](_0x3f8bed(0x1aa))||(_0x1cfabc=_0x1ebaa5),!_0x1cfabc)return'';let _0x44fbc0=!0x1;const _0xf0602b=[];for(const _0x6a89bc of _0x1cfabc[_0x3f8bed(0x1b2)]())_0x6a89bc['is'](_0x3f8bed(0x25e),_0x3f8bed(0x244))&&_0x6a89bc[_0x3f8bed(0x19b)](_0x3f8bed(0x21d))&&(_0x44fbc0=!0x1),_0x44fbc0&&_0xf0602b[_0x3f8bed(0x1e8)](_0x6a89bc),_0x6a89bc['is'](_0x3f8bed(0x25e),_0x3f8bed(0x244))&&_0x6a89bc[_0x3f8bed(0x19b)](_0x3f8bed(0x1f8))&&(_0x44fbc0=!0x0);_0x1cfabc[_0x3f8bed(0x188)](0x0,_0x1cfabc[_0x3f8bed(0x1a1)]),_0x318b3b?.[_0x3f8bed(0x1b6)]&&_0x1cfabc[_0x3f8bed(0x1e7)]('…'),_0x1cfabc[_0x3f8bed(0x1e7)](_0xf0602b),_0x318b3b?.[_0x3f8bed(0x24b)]&&_0x1cfabc[_0x3f8bed(0x1e7)]('…');const _0x4772b2=_0x5ba1ef[_0x3f8bed(0x259)][_0x3f8bed(0x1fb)][_0x3f8bed(0x228)](_0x1ebaa5),_0x257298=_0x5ba1ef[_0x3f8bed(0x259)][_0x3f8bed(0x1ce)][_0x3f8bed(0x18d)](_0x4772b2);_0xf36b02=_0x257298;}return _0xf36b02;};}[_0x52548d(0x230)](_0xc99694,_0x5d203b){const _0xbebeef=_0x52548d;let _0x2653b9='';return()=>(_0x2653b9||(_0x2653b9=_0x5d203b[_0xbebeef(0x1f1)](_0xc99694,{'showSuggestionHighlights':!0x0})),_0x2653b9);}[_0x52548d(0x17d)](_0x547ea3,_0x18eb58,_0x746bb9){let _0x39c36c='';return()=>{const _0x5b82ea=_0x20f1;if(!_0x39c36c){const _0x3e1514=_0x746bb9[_0x5b82ea(0x24f)](new _0x3b6da7(_0x547ea3)),_0x1f673a=_0x746bb9[_0x5b82ea(0x259)][_0x5b82ea(0x1fb)][_0x5b82ea(0x228)](_0x3e1514)[_0x5b82ea(0x1dd)](_0x5b82ea(0x223)+_0x18eb58+'\x22]');_0x39c36c=_0x1f673a?.[_0x5b82ea(0x23e)]||'';}return _0x39c36c;};}[_0x52548d(0x183)](_0x5c4d27,_0x1227e8=0x5){const _0x4fcb55=_0x52548d;let _0x362be7=_0x5c4d27,_0x90e365=null;for(let _0x44980f=0x0;_0x44980f<_0x1227e8&&_0x362be7;_0x44980f++){if(!_0x362be7[_0x4fcb55(0x1ab)]){_0x362be7=_0x362be7[_0x4fcb55(0x17c)];continue;}if(!(''+_0x362be7[_0x4fcb55(0x1ab)])[_0x4fcb55(0x1ba)](_0x4fcb55(0x1a5))){_0x362be7=_0x362be7[_0x4fcb55(0x17c)];continue;}if(!_0x362be7[_0x4fcb55(0x19d)](_0x4fcb55(0x199)))break;_0x90e365=_0x362be7;break;}return _0x90e365;}[_0x52548d(0x1a8)](_0x4bb5a0){const _0x4f9720=_0x52548d;return Array[_0x4f9720(0x1c9)](this[_0x4f9720(0x260)][_0x4f9720(0x211)]())[_0x4f9720(0x24d)](_0x2a3358=>_0x2a3358[_0x4f9720(0x25c)]===_0x4bb5a0);}[_0x52548d(0x267)](_0x14deb4){const _0x37ef08=_0x52548d;return _0x37ef08(0x254)===_0x14deb4[_0x37ef08(0x22e)]?_0x14deb4[_0x37ef08(0x243)]:_0x14deb4[_0x37ef08(0x23c)][_0x37ef08(0x240)];}[_0x52548d(0x236)](_0x2c8ee7,_0x14f958=!0x1){const _0x4798cc=_0x52548d;return _0x4798cc(0x254)===_0x2c8ee7[_0x4798cc(0x22e)]?_0x14f958?_0x2c8ee7[_0x4798cc(0x243)]:_0x2c8ee7[_0x4798cc(0x243)][_0x4798cc(0x187)](_0x2c8ee7[_0x4798cc(0x1cd)]):_0x2c8ee7[_0x4798cc(0x23c)][_0x4798cc(0x18c)];}[_0x52548d(0x208)](_0x55ca48,_0x56b2fa){const _0x5a22fb=_0x52548d;return _0x5a22fb(0x254)===_0x55ca48[_0x5a22fb(0x22e)]?_0x55ca48[_0x5a22fb(0x243)]=_0x55ca48[_0x5a22fb(0x243)][_0x5a22fb(0x187)](_0x56b2fa):_0x5a22fb(0x1a2)===_0x55ca48[_0x5a22fb(0x22e)]&&_0x55ca48[_0x5a22fb(0x23c)]&&(_0x55ca48[_0x5a22fb(0x23c)]=new _0x47bce5(_0x55ca48[_0x5a22fb(0x23c)][_0x5a22fb(0x240)][_0x5a22fb(0x187)](_0x56b2fa),_0x55ca48[_0x5a22fb(0x23c)][_0x5a22fb(0x18c)][_0x5a22fb(0x187)](_0x56b2fa))),_0x55ca48;}[_0x52548d(0x1d8)](_0x2c5aa8,_0x84bceb){const _0x3ebba2=_0x52548d;_0x3ebba2(0x254)===_0x2c5aa8[_0x3ebba2(0x22e)]?_0x2c5aa8[_0x3ebba2(0x243)]=this[_0x3ebba2(0x20b)](_0x2c5aa8[_0x3ebba2(0x243)],_0x84bceb):_0x3ebba2(0x1a2)===_0x2c5aa8[_0x3ebba2(0x22e)]&&_0x2c5aa8[_0x3ebba2(0x23c)]&&(_0x2c5aa8[_0x3ebba2(0x23c)]=this[_0x3ebba2(0x20e)](_0x2c5aa8[_0x3ebba2(0x23c)],_0x84bceb));}[_0x52548d(0x20b)](_0x510cd7,_0x440253){const _0x7ad9df=_0x52548d;return new _0x21df25(_0x440253,_0x510cd7[_0x7ad9df(0x1f7)]);}[_0x52548d(0x20e)](_0x5332fe,_0x3b5675){const _0x43f36b=_0x52548d;return new _0x47bce5(this[_0x43f36b(0x20b)](_0x5332fe[_0x43f36b(0x240)],_0x3b5675),this[_0x43f36b(0x20b)](_0x5332fe[_0x43f36b(0x18c)],_0x3b5675));}[_0x52548d(0x1b3)](_0x346021,_0x277a9c){return new _0x21df25(_0x277a9c,[..._0x346021]);}[_0x52548d(0x21c)](_0x123276,_0x25f935,_0x45ebd2,_0x256f87){const _0x339011=_0x52548d;return new _0x47bce5(this[_0x339011(0x1b3)](_0x25f935,_0x256f87),this[_0x339011(0x1b3)](_0x45ebd2,_0x256f87));}[_0x52548d(0x233)](_0x2fdd26){const _0x2f78c4=_0x52548d,_0x5ed281=_0x50491c=>{const _0xd28d58=_0x20f1;switch(_0x50491c){case _0xd28d58(0x254):return 0x1;case _0xd28d58(0x19a):return 0x2;case _0xd28d58(0x180):return 0x3;case _0xd28d58(0x1bc):return 0x4;}};return _0x2fdd26[_0x2f78c4(0x1d6)]((_0x1ec957,_0x26346a)=>_0x5ed281(_0x1ec957[_0x2f78c4(0x22e)])-_0x5ed281(_0x26346a[_0x2f78c4(0x22e)]));}[_0x52548d(0x200)](_0x231029,_0x513af0){const _0x20ede8=_0x52548d,_0x44cc59=_0x231029[_0x20ede8(0x269)](0x0),_0x2274c7=_0x513af0[_0x20ede8(0x269)](0x0);return!(!_0x44cc59||!_0x2274c7)&&((!_0x44cc59['is'](_0x20ede8(0x25e))||!_0x2274c7['is'](_0x20ede8(0x25e))||_0x44cc59[_0x20ede8(0x192)]===_0x2274c7[_0x20ede8(0x192)])&&!(_0x44cc59['is'](_0x20ede8(0x25e))&&!_0x2274c7['is'](_0x20ede8(0x25e))||!_0x44cc59['is'](_0x20ede8(0x25e))&&_0x2274c7['is'](_0x20ede8(0x25e))));}[_0x52548d(0x1b5)](_0x2be498){const _0x2015c2=_0x52548d;return 0x1===_0x2be498[_0x2015c2(0x1a1)];}[_0x52548d(0x247)](_0x52d8c4,_0xc34da9){const _0x598868=_0x52548d;for(const _0x3a5fb4 of _0x52d8c4[_0x598868(0x1b2)]())if(_0x3a5fb4['is'](_0x598868(0x25e))&&!_0xc34da9[_0x598868(0x268)](_0x3a5fb4))return!0x1;return!0x0;}[_0x52548d(0x26b)](_0x13b567,_0x252044){const _0xddd108=_0x52548d;let _0x2d3157=_0x13b567[_0xddd108(0x19d)](_0x50ebc7);return _0x2d3157||(_0x2d3157=_0x252044(),_0x13b567[_0xddd108(0x1f6)](_0x50ebc7,_0x2d3157)),_0x2d3157;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f93cf=_0x39c9;(function(_0x2f31bf,_0x3da1f0){const _0x56efef=_0x39c9,_0x237db1=_0x2f31bf();while(!![]){try{const _0x5b42b5=parseInt(_0x56efef(0x220))/0x1*(-parseInt(_0x56efef(0x21b))/0x2)+parseInt(_0x56efef(0x1dd))/0x3+parseInt(_0x56efef(0x207))/0x4+parseInt(_0x56efef(0x20c))/0x5+-parseInt(_0x56efef(0x216))/0x6*(-parseInt(_0x56efef(0x22e))/0x7)+parseInt(_0x56efef(0x22f))/0x8+parseInt(_0x56efef(0x231))/0x9*(-parseInt(_0x56efef(0x1f6))/0xa);if(_0x5b42b5===_0x3da1f0)break;else _0x237db1['push'](_0x237db1['shift']());}catch(_0x44e23c){_0x237db1['push'](_0x237db1['shift']());}}}(_0x2304,0xc9cf1));import{ContextPlugin as _0x4441f2}from'ckeditor5/src/core.js';function _0x39c9(_0x5da928,_0x24c275){const _0x230467=_0x2304();return _0x39c9=function(_0x39c9a9,_0x52700b){_0x39c9a9=_0x39c9a9-0x1db;let _0x342a52=_0x230467[_0x39c9a9];return _0x342a52;},_0x39c9(_0x5da928,_0x24c275);}import{IconAIReview as _0xd21176}from'ckeditor5/src/icons.js';import{BodyCollection as _0x1874e1}from'ckeditor5/src/ui.js';import{AITabs as _0x4a6173}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x2bb511}from'./ui/aireviewmodeview.js';import{getTranslation as _0x3caa43}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x178f51}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x3f93cf(0x206),_0x3f93cf(0x230),_0x3f93cf(0x233),_0x3f93cf(0x201),_0x3f93cf(0x232),_0x3f93cf(0x236),_0x3f93cf(0x215),_0x3f93cf(0x20b),_0x3f93cf(0x1e1),_0x3f93cf(0x20a),_0x3f93cf(0x21e),_0x3f93cf(0x202)];export class AIReviewModeUI extends _0x4441f2{[_0x3f93cf(0x1eb)];[_0x3f93cf(0x203)];[_0x3f93cf(0x226)];static get[_0x3f93cf(0x1f3)](){return[_0x4a6173];}static get[_0x3f93cf(0x1ee)](){const _0x18d281=_0x3f93cf;return _0x18d281(0x21a);}static get[_0x3f93cf(0x20e)](){return!0x0;}static get[_0x3f93cf(0x1fa)](){return!0x0;}constructor(_0x1827c0){const _0x4c2113=_0x3f93cf;super(_0x1827c0),this[_0x4c2113(0x226)]=new _0x1874e1(this[_0x4c2113(0x209)][_0x4c2113(0x1de)]),this[_0x4c2113(0x226)][_0x4c2113(0x1e3)](),this[_0x4c2113(0x1eb)]=new _0x2bb511(this[_0x4c2113(0x209)][_0x4c2113(0x1de)]),this[_0x4c2113(0x1eb)][_0x4c2113(0x218)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x4c2113(0x203)]=new _0x178f51(this[_0x4c2113(0x209)][_0x4c2113(0x1de)],this[_0x4c2113(0x226)]),this[_0x4c2113(0x203)][_0x4c2113(0x218)](_0x4c2113(0x20b),_0x4c2113(0x1e1),_0x4c2113(0x20d))['to'](this);}[_0x3f93cf(0x212)](){const _0x2120a9=_0x3f93cf,_0x4ddf42=this[_0x2120a9(0x209)][_0x2120a9(0x204)][_0x2120a9(0x1e0)](_0x2120a9(0x1ec));_0x4ddf42[_0x2120a9(0x221)]['on'](_0x2120a9(0x21d),(_0x3a063d,_0x595438)=>{const _0x5b9b3e=_0x2120a9;_0x5b9b3e(0x1dc)===_0x595438?this[_0x5b9b3e(0x1ed)](_0x5b9b3e(0x206)):this[_0x5b9b3e(0x1ed)](_0x5b9b3e(0x1db));}),_0x4ddf42[_0x2120a9(0x221)][_0x2120a9(0x1e9)]({'id':_0x2120a9(0x1dc),'buttonLabel':_0x3caa43(this[_0x2120a9(0x209)][_0x2120a9(0x1de)],_0x2120a9(0x225)),'buttonIcon':_0xd21176,'order':0x0,'content':this[_0x2120a9(0x1eb)]});}[_0x3f93cf(0x1f7)](){const _0x3b4d3c=_0x3f93cf;this[_0x3b4d3c(0x226)][_0x3b4d3c(0x21c)](),super[_0x3b4d3c(0x1f7)]();}[_0x3f93cf(0x1e2)](_0x3a0caa){const _0x1b5d78=_0x3f93cf;this[_0x1b5d78(0x1eb)][_0x1b5d78(0x1fc)][_0x1b5d78(0x1f9)]()||this[_0x1b5d78(0x1eb)][_0x1b5d78(0x1fc)][_0x1b5d78(0x22b)](_0x3a0caa),this[_0x1b5d78(0x1eb)][_0x1b5d78(0x219)]();}[_0x3f93cf(0x1fb)](){const _0x4db764=_0x3f93cf;this[_0x4db764(0x1ed)](_0x4db764(0x206));}[_0x3f93cf(0x235)](_0x3a7b63){const _0x38cf4a=_0x3f93cf;_0x3a7b63&&(_0x38cf4a(0x21f)!==_0x3a7b63[_0x38cf4a(0x1e6)]?_0x38cf4a(0x211)!==_0x3a7b63[_0x38cf4a(0x1e6)]?this[_0x38cf4a(0x1eb)][_0x38cf4a(0x22d)]():this[_0x38cf4a(0x234)]():this[_0x38cf4a(0x1f4)]());}[_0x3f93cf(0x1ea)](_0x49d0f0){const _0x54ee20=_0x3f93cf;this[_0x54ee20(0x1eb)][_0x54ee20(0x22a)](_0x49d0f0);}[_0x3f93cf(0x1f4)](){const _0x57790c=_0x3f93cf;this[_0x57790c(0x1eb)][_0x57790c(0x1f4)]();}[_0x3f93cf(0x227)](_0x591e50){const _0x134e56=_0x3f93cf;this[_0x134e56(0x1eb)][_0x134e56(0x227)](_0x591e50??_0x3caa43(this[_0x134e56(0x209)][_0x134e56(0x1de)],_0x134e56(0x205)));}[_0x3f93cf(0x234)](){const _0x2c1ec1=_0x3f93cf;this[_0x2c1ec1(0x1eb)][_0x2c1ec1(0x234)]();}[_0x3f93cf(0x213)](_0xae5c05,_0x441bbb){const _0x8c2513=_0x3f93cf;this[_0x8c2513(0x1eb)][_0x8c2513(0x217)][_0x8c2513(0x1fe)](_0xae5c05,_0x441bbb);}[_0x3f93cf(0x1f8)](_0x5191cb){const _0xcb9675=_0x3f93cf;this[_0xcb9675(0x1eb)][_0xcb9675(0x217)][_0xcb9675(0x228)]()[_0xcb9675(0x22c)](_0x4f5ef1=>{const _0x5a7983=_0xcb9675;_0x4f5ef1['id']===_0x5191cb&&_0x4f5ef1[_0x5a7983(0x214)]();});}[_0x3f93cf(0x200)](){const _0x124bf5=_0x3f93cf;this[_0x124bf5(0x1eb)][_0x124bf5(0x217)][_0x124bf5(0x228)]()[_0x124bf5(0x22c)](_0x2e7000=>_0x2e7000[_0x124bf5(0x229)]());}[_0x3f93cf(0x1ef)](_0x3fd905,_0x47ccb7){const _0x5ee51c=_0x3f93cf;_0x5ee51c(0x222)===_0x47ccb7||_0x5ee51c(0x1e7)===_0x47ccb7||_0x5ee51c(0x224)===_0x47ccb7?this[_0x5ee51c(0x1eb)][_0x5ee51c(0x217)][_0x5ee51c(0x1ff)](_0x3fd905,_0x47ccb7):this[_0x5ee51c(0x1eb)][_0x5ee51c(0x217)][_0x5ee51c(0x1e4)](_0x3fd905,_0x47ccb7);}[_0x3f93cf(0x20f)](){const _0x2149bf=_0x3f93cf;this[_0x2149bf(0x1eb)][_0x2149bf(0x20f)]();}[_0x3f93cf(0x1df)](){const _0x2cfd5f=_0x3f93cf;this[_0x2cfd5f(0x1eb)][_0x2cfd5f(0x1df)]();}[_0x3f93cf(0x1f5)](){const _0xac33d9=_0x3f93cf;this[_0xac33d9(0x1eb)][_0xac33d9(0x1f5)]();}[_0x3f93cf(0x223)](){const _0x1feb22=_0x3f93cf;this[_0x1feb22(0x1eb)][_0x1feb22(0x223)]();}[_0x3f93cf(0x237)](_0x2a0655,_0x55f8ba,_0x4843bf,_0x176233,_0x26ed95,_0x1b446c){const _0x5d5d77=_0x3f93cf;this[_0x5d5d77(0x203)][_0x5d5d77(0x1f2)](_0x2a0655,_0x55f8ba,_0x4843bf,_0x176233,_0x26ed95,_0x1b446c);}[_0x3f93cf(0x1e8)](){const _0x3a2e2f=_0x3f93cf;this[_0x3a2e2f(0x203)][_0x3a2e2f(0x210)]();}[_0x3f93cf(0x1f0)](){const _0x36d026=_0x3f93cf;this[_0x36d026(0x203)][_0x36d026(0x1f0)]();}[_0x3f93cf(0x208)](){const _0x4563f6=_0x3f93cf;this[_0x4563f6(0x203)][_0x4563f6(0x208)]();}[_0x3f93cf(0x1e5)](_0x3638b0){const _0x2f8096=_0x3f93cf,_0x560b67=this[_0x2f8096(0x1eb)][_0x2f8096(0x217)][_0x2f8096(0x228)]()[_0x2f8096(0x1fd)](_0x5e9435=>_0x5e9435['id']===_0x3638b0);return _0x560b67?_0x560b67[_0x2f8096(0x1f1)]:null;}[_0x3f93cf(0x20d)](){const _0x3724ca=_0x3f93cf;this[_0x3724ca(0x203)][_0x3724ca(0x20d)]();}}function _0x2304(){const _0x133a16=['5102UrBtTL','detachFromDom','activateTab','finishReview','error-general','206ZHRtrH','view','accepted','hideActionsWhenResultIsReady','outdated','AI_REVIEW_MODE','_bodyCollection','showGeneralReviewModeErrorView','getResults','setItemAsInactive','addCheckRunResult','setChecks','forEach','showReviewCheckResultsView','8106hRiIuS','288424vaJURF','runReviewCheck','3459825IzPFgu','acceptAllChanges','abortReviewStream','showChunkErrorView','showCheckRunResults','leaveReviewModeResultList','showChangeBalloon','leaveReviewMode','reviewMode','2326428UosKvp','locale','showActionsWhenResultIsReady','get','dismissChange','setAvailableChecks','attachToDom','showResult','getChangeElement','status','rejected','hideChangeBalloon','addTab','showCheckRunResult','_reviewModeView','AITabs','fire','pluginName','updateChangeState','hideDiffInBalloon','element','showBalloon','requires','showGeneralResultsErrorView','showNoChangesView','60imaGRZ','destroy','setActiveStateInResults','hasChecks','isPremiumPlugin','showReviewCheckList','reviewCheckListView','find','setTitle','hideResult','resetActiveStateInResults','toggleDiff','retryReview','_reviewModeBalloonSuggestionItemView','plugins','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','getReviewCheckList','1205372TCfvBJ','showDiffInBalloon','context','learnMore','acceptChange','4588225fHZNdw','deactivateChange','isOfficialPlugin','showReviewCompletedView','hideBalloon','error-chunk','init','setCheckResultTitle','setItemAsActive','activateChange','8436nZFURQ','reviewCheckResultsView','delegate','showReviewCheckListView','AIReviewModeUI'];_0x2304=function(){return _0x133a16;};return _0x2304();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x49589e=_0x220a;function _0x2ac1(){var _0x353f20=['description','30XvlWqH','title','isParameterized','498967cMBQkt','2080792mfOhRx','options','useArgs','499494uACfNy','4562106bniWCg','36010GerhgU','685458VSPVMd','216lQeAtr','137280qftEfi'];_0x2ac1=function(){return _0x353f20;};return _0x2ac1();}(function(_0x4f7bfd,_0x1cf6c3){var _0x1e6593=_0x220a,_0x829a6a=_0x4f7bfd();while(!![]){try{var _0x5a573f=parseInt(_0x1e6593(0x134))/0x1*(-parseInt(_0x1e6593(0x139))/0x2)+parseInt(_0x1e6593(0x132))/0x3+-parseInt(_0x1e6593(0x13d))/0x4+parseInt(_0x1e6593(0x137))/0x5+-parseInt(_0x1e6593(0x133))/0x6+parseInt(_0x1e6593(0x13c))/0x7+-parseInt(_0x1e6593(0x136))/0x8*(-parseInt(_0x1e6593(0x135))/0x9);if(_0x5a573f===_0x1cf6c3)break;else _0x829a6a['push'](_0x829a6a['shift']());}catch(_0xbd929d){_0x829a6a['push'](_0x829a6a['shift']());}}}(_0x2ac1,0x7a4ae));function _0x220a(_0x2f1055,_0x53b8e6){var _0x2ac145=_0x2ac1();return _0x220a=function(_0x220a57,_0x1157b2){_0x220a57=_0x220a57-0x130;var _0xf7d224=_0x2ac145[_0x220a57];return _0xf7d224;},_0x220a(_0x2f1055,_0x53b8e6);}export class AIReviewCheck{['id'];[_0x49589e(0x13a)];[_0x49589e(0x138)];[_0x49589e(0x13b)];[_0x49589e(0x131)];[_0x49589e(0x130)];constructor({id:_0x98fff,title:_0x109efc,description:_0x2690b5,isParameterized:_0x4136f9,useArgs:_0x13102c,options:_0x5c115b}){var _0x209742=_0x49589e;this['id']=_0x98fff,this[_0x209742(0x13a)]=_0x109efc,this[_0x209742(0x138)]=_0x2690b5,this[_0x209742(0x13b)]=_0x4136f9,this[_0x209742(0x131)]=_0x13102c,this[_0x209742(0x130)]=_0x5c115b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5eb877=_0x40a6;(function(_0x562139,_0x61f6bc){var _0x4e9e88=_0x40a6,_0x4c9f72=_0x562139();while(!![]){try{var _0xe04706=parseInt(_0x4e9e88(0xba))/0x1+parseInt(_0x4e9e88(0xb1))/0x2*(parseInt(_0x4e9e88(0xbc))/0x3)+parseInt(_0x4e9e88(0xbb))/0x4+parseInt(_0x4e9e88(0xb2))/0x5+parseInt(_0x4e9e88(0xb4))/0x6*(-parseInt(_0x4e9e88(0xb3))/0x7)+-parseInt(_0x4e9e88(0xb7))/0x8*(parseInt(_0x4e9e88(0xb9))/0x9)+-parseInt(_0x4e9e88(0xb5))/0xa*(parseInt(_0x4e9e88(0xb6))/0xb);if(_0xe04706===_0x61f6bc)break;else _0x4c9f72['push'](_0x4c9f72['shift']());}catch(_0x536fc6){_0x4c9f72['push'](_0x4c9f72['shift']());}}}(_0x4b8d,0x1d4c4));import{AIReviewCheck as _0x318f0e}from'./aireviewcheck.js';function _0x4b8d(){var _0x31d085=['42yEukQO','131418ziQBPL','663990nemFNi','77KWnXnM','195768bNWQkF','models','9ZymyyG','124041EDMiyb','761104pgVmIG','39594QsFzvZ','_models','32sRRLGI','1076005kOmQro'];_0x4b8d=function(){return _0x31d085;};return _0x4b8d();}function _0x40a6(_0x1baae1,_0x3d6c51){var _0x4b8d3a=_0x4b8d();return _0x40a6=function(_0x40a645,_0x23ab58){_0x40a645=_0x40a645-0xb1;var _0x391871=_0x4b8d3a[_0x40a645];return _0x391871;},_0x40a6(_0x1baae1,_0x3d6c51);}export class AIReviewCheckCustom extends _0x318f0e{[_0x5eb877(0xbd)]=[];get[_0x5eb877(0xb8)](){var _0x5bc373=_0x5eb877;return this[_0x5bc373(0xbd)];}set[_0x5eb877(0xb8)](_0x3f659e){var _0x43cc9e=_0x5eb877;this[_0x43cc9e(0xbd)]=_0x3f659e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x523ac9=_0xed5b;function _0xed5b(_0x145af4,_0x2505c5){var _0x19b261=_0x19b2();return _0xed5b=function(_0xed5ba1,_0x3ded8e){_0xed5ba1=_0xed5ba1-0x76;var _0x51bba2=_0x19b261[_0xed5ba1];return _0x51bba2;},_0xed5b(_0x145af4,_0x2505c5);}(function(_0x38c5ed,_0x5c8132){var _0x13e8de=_0xed5b,_0x4f5f85=_0x38c5ed();while(!![]){try{var _0x402481=-parseInt(_0x13e8de(0x89))/0x1*(-parseInt(_0x13e8de(0x83))/0x2)+-parseInt(_0x13e8de(0x77))/0x3+-parseInt(_0x13e8de(0x78))/0x4*(parseInt(_0x13e8de(0x7b))/0x5)+parseInt(_0x13e8de(0x7c))/0x6+parseInt(_0x13e8de(0x81))/0x7+parseInt(_0x13e8de(0x82))/0x8*(-parseInt(_0x13e8de(0x76))/0x9)+parseInt(_0x13e8de(0x86))/0xa*(parseInt(_0x13e8de(0x85))/0xb);if(_0x402481===_0x5c8132)break;else _0x4f5f85['push'](_0x4f5f85['shift']());}catch(_0x58386d){_0x4f5f85['push'](_0x4f5f85['shift']());}}}(_0x19b2,0x1bbe0));import{ObservableMixin as _0x3f275f}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x5e2b52}from'./aireviewcheck.js';function _0x19b2(){var _0x1d254f=['getCheckById','filter','custom','317737sPtLhT','8PGsCeQ','4NQfURu','map','3171047JKkqSg','10uNysby','_mapCheckDefinitions','removeCheckById','55343bxvjNC','828495tfgdoT','662418dWFayz','88436rxtbde','find','checks','35GjzPvr','821412SQLoZO','_checks'];_0x19b2=function(){return _0x1d254f;};return _0x19b2();}import{AIReviewCheckCustom as _0x3c574a}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x3f275f(){[_0x523ac9(0x7d)];constructor(_0x2b55b6){var _0x2be6f7=_0x523ac9;super(),this[_0x2be6f7(0x7d)]=this[_0x2be6f7(0x87)](_0x2b55b6);}get[_0x523ac9(0x7a)](){var _0x5cb156=_0x523ac9;return this[_0x5cb156(0x7d)];}[_0x523ac9(0x7e)](_0x45b869){var _0xdc4dc7=_0x523ac9;return this[_0xdc4dc7(0x7a)][_0xdc4dc7(0x79)](_0x22f23c=>_0x22f23c['id']===_0x45b869);}[_0x523ac9(0x88)](_0x288da6){var _0x5dc424=_0x523ac9;this[_0x5dc424(0x7d)]=this[_0x5dc424(0x7d)][_0x5dc424(0x7f)](_0x39e130=>_0x39e130['id']!==_0x288da6);}[_0x523ac9(0x87)](_0x5b6289){var _0x49826c=_0x523ac9;return _0x5b6289[_0x49826c(0x84)](_0x5b34ba=>_0x49826c(0x80)===_0x5b34ba['id']?new _0x3c574a(_0x5b34ba):new _0x5e2b52(_0x5b34ba));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x114e57=_0x5c17;(function(_0x23e48e,_0x2bb9fc){var _0x2d0aed=_0x5c17,_0x34b165=_0x23e48e();while(!![]){try{var _0x51178c=parseInt(_0x2d0aed(0x1e8))/0x1*(-parseInt(_0x2d0aed(0x1eb))/0x2)+-parseInt(_0x2d0aed(0x1de))/0x3+parseInt(_0x2d0aed(0x1df))/0x4*(parseInt(_0x2d0aed(0x1e1))/0x5)+parseInt(_0x2d0aed(0x1e2))/0x6*(-parseInt(_0x2d0aed(0x1e0))/0x7)+parseInt(_0x2d0aed(0x1e6))/0x8*(parseInt(_0x2d0aed(0x1ec))/0x9)+-parseInt(_0x2d0aed(0x1e3))/0xa*(parseInt(_0x2d0aed(0x1e9))/0xb)+-parseInt(_0x2d0aed(0x1ed))/0xc*(-parseInt(_0x2d0aed(0x1ea))/0xd);if(_0x51178c===_0x2bb9fc)break;else _0x34b165['push'](_0x34b165['shift']());}catch(_0x5bc813){_0x34b165['push'](_0x34b165['shift']());}}}(_0x3062,0xcbb13));import{EmitterMixin as _0x38b096}from'ckeditor5/src/utils.js';function _0x5c17(_0x20c07e,_0x20b847){var _0x30628b=_0x3062();return _0x5c17=function(_0x5c17ca,_0x44ae62){_0x5c17ca=_0x5c17ca-0x1de;var _0x776906=_0x30628b[_0x5c17ca];return _0x776906;},_0x5c17(_0x20c07e,_0x20b847);}export class AIReviewCheckResult extends _0x38b096(){['id'];[_0x114e57(0x1e5)];[_0x114e57(0x1e7)];[_0x114e57(0x1e4)];constructor({id:_0x2dbcd6,contentNew:_0x29e911,contentInitial:_0x18d40b,documentVersion:_0x379ddf}){var _0x442851=_0x114e57;super(),this['id']=_0x2dbcd6,this[_0x442851(0x1e5)]=_0x29e911,this[_0x442851(0x1e7)]=_0x18d40b,this[_0x442851(0x1e4)]=_0x379ddf;}}function _0x3062(){var _0x413772=['12370DMPrHC','documentVersion','contentNew','5455528VZLvZf','contentInitial','3hnlioJ','3311tVZNis','34753589WcHDom','1105982VodLiY','9GCKEOM','12njfMoQ','908535OpoihT','60xmPkfW','1855749DSLziM','202835RQunGP','18vDWysu'];_0x3062=function(){return _0x413772;};return _0x3062();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x43cbcc=_0x3421;function _0x2b32(){var _0x553673=['_editorOperations','set','isActivated','7kIAKUE','change:status','context','264XIFLWS','1394046VRoYct','99445ZIPJhW','operations','pending','isRated','parent','283976PUrvRF','18818150hoEExP','operationsIsolated','836560SXkDCF','_data','100IiQyWz','4461736LnSASm','contentDiffed','105435aKIwTJ','status'];_0x2b32=function(){return _0x553673;};return _0x2b32();}function _0x3421(_0x4a69d8,_0x47579e){var _0x2b32d0=_0x2b32();return _0x3421=function(_0x3421d7,_0x44c0b3){_0x3421d7=_0x3421d7-0x178;var _0x303f9b=_0x2b32d0[_0x3421d7];return _0x303f9b;},_0x3421(_0x4a69d8,_0x47579e);}(function(_0x55c2e9,_0x5dd09e){var _0x3f35f=_0x3421,_0x482e5b=_0x55c2e9();while(!![]){try{var _0x4874d2=-parseInt(_0x3f35f(0x18b))/0x1+-parseInt(_0x3f35f(0x188))/0x2+-parseInt(_0x3f35f(0x179))/0x3*(-parseInt(_0x3f35f(0x18d))/0x4)+parseInt(_0x3f35f(0x183))/0x5*(-parseInt(_0x3f35f(0x181))/0x6)+parseInt(_0x3f35f(0x17e))/0x7*(-parseInt(_0x3f35f(0x18e))/0x8)+parseInt(_0x3f35f(0x182))/0x9+parseInt(_0x3f35f(0x189))/0xa;if(_0x4874d2===_0x5dd09e)break;else _0x482e5b['push'](_0x482e5b['shift']());}catch(_0x1f9417){_0x482e5b['push'](_0x482e5b['shift']());}}}(_0x2b32,0x7b091));import{ObservableMixin as _0x5a88de}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x5a88de(){['id'];[_0x43cbcc(0x187)];[_0x43cbcc(0x18c)];[_0x43cbcc(0x17b)]=[];constructor(_0x50a67d,_0x33327d,_0x575ee3){var _0x5385a0=_0x43cbcc;super(),this['id']=_0x50a67d,this[_0x5385a0(0x187)]=_0x575ee3,this[_0x5385a0(0x18c)]=_0x33327d,this[_0x5385a0(0x17c)](_0x5385a0(0x17d),!0x1),this[_0x5385a0(0x17c)](_0x5385a0(0x186),!0x1),this[_0x5385a0(0x17c)](_0x5385a0(0x17a),_0x5385a0(0x185)),this['on'](_0x5385a0(0x17f),()=>{var _0x38e54b=_0x5385a0;_0x38e54b(0x185)!==this[_0x38e54b(0x17a)]&&this[_0x38e54b(0x17d)]&&(this[_0x38e54b(0x17d)]=!0x1);});}get[_0x43cbcc(0x178)](){var _0x2139dc=_0x43cbcc;return this[_0x2139dc(0x18c)][_0x2139dc(0x180)]();}get[_0x43cbcc(0x184)](){var _0x436969=_0x43cbcc;return this[_0x436969(0x18c)][_0x436969(0x184)];}get[_0x43cbcc(0x18a)](){var _0x4be720=_0x43cbcc;return this[_0x4be720(0x18c)][_0x4be720(0x18a)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3ce93b=_0x18d7;(function(_0x1e55f7,_0x414ccf){const _0x331fc2=_0x18d7,_0x205e6c=_0x1e55f7();while(!![]){try{const _0x4d8281=-parseInt(_0x331fc2(0x104))/0x1*(-parseInt(_0x331fc2(0x140))/0x2)+-parseInt(_0x331fc2(0x150))/0x3*(-parseInt(_0x331fc2(0x158))/0x4)+-parseInt(_0x331fc2(0x136))/0x5*(parseInt(_0x331fc2(0x108))/0x6)+-parseInt(_0x331fc2(0x12e))/0x7+parseInt(_0x331fc2(0x105))/0x8*(parseInt(_0x331fc2(0x11a))/0x9)+-parseInt(_0x331fc2(0x157))/0xa+parseInt(_0x331fc2(0x151))/0xb;if(_0x4d8281===_0x414ccf)break;else _0x205e6c['push'](_0x205e6c['shift']());}catch(_0x3426f9){_0x205e6c['push'](_0x205e6c['shift']());}}}(_0x1d66,0x51bd0));function _0x1d66(){const _0xd5670=['isActivated','event','updateDocumentData','length','reviewCheckResultAdded','258570gqMsjd','4FLBOHV','sendRating','filter','callId','error','pending','_reviewParams','activateChange','ready','set','textDelta','reviewCheckResultDeactivated','deactivateChange','parent','markChangeAsAccepted','aborted','isChangeActive','29kkGwqC','568VGrqOJ','getChangeById','documentData','69018eUeyJr','change:isActivated','_results','reviewCheckRunUpdated','size','abortController','accepted','clear','isRated','subTitle','unmodified','_documentData','_currentError','some','initialized','addResultChanges','change:status','forceReadyState','27531fXfvBx','_checkIfFinished','_sendRatingRequest','markChangeAsRejected','find','getContent','dataId','reviewCheckResultReady','every','loading','_activeRequest','finished','restart','ai-request-aborted','_reviewArgs','processedResultsCount','error-chunk','operation','error-general','_aiConnector','3656996VbTYos','forEach','status','get','_sourceCheck','_addReviewCheckResult','markAllChangesAsAccepted','reviewCheckResultActivated','205nXVrnU','elements','abort','isAnyChangeActivated','message','getStream','_changes','start','currentError','outdated','942wteNKl','markChangeAsPending','hasModifications','review-metadata','reviewName','push','_createApiRequest','title','rejected','version','getActiveChanges','reviewCheckResultChangeStatusUpdated','data','fire','markChangeAsOutdated','includes','1550877jKRCHK','6675911mQKaim'];_0x1d66=function(){return _0xd5670;};return _0x1d66();}import{ObservableMixin as _0x5955c,uid as _0xb0c93}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x215ed0}from'./aireviewcheckresult.js';function _0x18d7(_0x437e27,_0x16200c){const _0x1d6674=_0x1d66();return _0x18d7=function(_0x18d749,_0x354fea){_0x18d749=_0x18d749-0xfb;let _0x48e603=_0x1d6674[_0x18d749];return _0x48e603;},_0x18d7(_0x437e27,_0x16200c);}import{AIReviewCheckResultChange as _0x12663c}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x5955c(){['id']=_0xb0c93();[_0x3ce93b(0x15b)];[_0x3ce93b(0x10a)]=new Map();[_0x3ce93b(0x13c)]=[];[_0x3ce93b(0x132)];[_0x3ce93b(0x113)];[_0x3ce93b(0x12d)];[_0x3ce93b(0x15e)];[_0x3ce93b(0x128)];[_0x3ce93b(0x124)]=null;[_0x3ce93b(0x114)];constructor(_0x175c96,_0x25b8d9,_0x44b24c,_0x8668ca,_0x3ffc04){const _0x222da8=_0x3ce93b;super(),this[_0x222da8(0x132)]=_0x25b8d9,this[_0x222da8(0x113)]=_0x175c96,this[_0x222da8(0x12d)]=_0x44b24c,this[_0x222da8(0x15e)]=_0x8668ca,this[_0x222da8(0x128)]=_0x3ffc04,this['on'](_0x222da8(0x118),(_0x4332d8,_0x2eeb13,_0x12caa9)=>{const _0x7ec54c=_0x222da8;this[_0x7ec54c(0x14d)](_0x7ec54c(0x10b),{'status':_0x12caa9,'run':this,'error':this[_0x7ec54c(0x114)]});}),this[_0x222da8(0xfc)](_0x222da8(0x130),_0x222da8(0x116));}get[_0x3ce93b(0x107)](){const _0x5b6066=_0x3ce93b;return this[_0x5b6066(0x113)];}get[_0x3ce93b(0x129)](){const _0x279020=_0x3ce93b;return this[_0x279020(0x10a)][_0x279020(0x10c)];}get[_0x3ce93b(0x147)](){const _0x15c42e=_0x3ce93b;return this[_0x15c42e(0x132)][_0x15c42e(0x147)];}get[_0x3ce93b(0x111)](){return'';}get[_0x3ce93b(0x144)](){const _0x293da8=_0x3ce93b;return this[_0x293da8(0x132)]['id'];}get[_0x3ce93b(0x142)](){const _0x216063=_0x3ce93b;return!this[_0x216063(0x13c)][_0x216063(0x122)](_0x131882=>_0x216063(0x15d)===_0x131882[_0x216063(0x130)]);}get[_0x3ce93b(0x13e)](){const _0x4df5db=_0x3ce93b;return this[_0x4df5db(0x114)];}[_0x3ce93b(0x154)](_0x583fb1){const _0x24f919=_0x3ce93b;this[_0x24f919(0x113)]=_0x583fb1;}async[_0x3ce93b(0x13d)](){const _0x2de1db=_0x3ce93b;this[_0x2de1db(0x130)]=_0x2de1db(0x123),this[_0x2de1db(0x114)]=void 0x0;try{this[_0x2de1db(0x124)]=this[_0x2de1db(0x146)]();const _0x1226d8=await this[_0x2de1db(0x124)][_0x2de1db(0x13b)]();this[_0x2de1db(0x130)]=_0x2de1db(0x14c);for await(const _0x24f05e of _0x1226d8)_0x2de1db(0x112)!==_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x12b)]&&(_0x2de1db(0x15c)!==_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x12b)]?_0x2de1db(0x143)!==_0x24f05e[_0x2de1db(0x153)]?this[_0x2de1db(0x133)](_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x120)],_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0xfd)]):this[_0x2de1db(0x15b)]=_0x24f05e[_0x2de1db(0x14c)][_0x2de1db(0x15b)]:this[_0x2de1db(0x130)]=_0x2de1db(0x12a));_0x2de1db(0x12a)!==this[_0x2de1db(0x130)]&&(0x0===this[_0x2de1db(0x10a)][_0x2de1db(0x10c)]?this[_0x2de1db(0x130)]=_0x2de1db(0x112):this[_0x2de1db(0x130)]=_0x2de1db(0xfb));}catch(_0x43109a){this[_0x2de1db(0x114)]=_0x43109a,_0x43109a instanceof Error&&_0x43109a[_0x2de1db(0x13a)][_0x2de1db(0x14f)](_0x2de1db(0x127))?this[_0x2de1db(0x130)]=_0x2de1db(0x102):this[_0x2de1db(0x130)]=_0x2de1db(0x12c);}finally{this[_0x2de1db(0x124)]=null;}}async[_0x3ce93b(0x126)](){const _0x3410bb=_0x3ce93b;this[_0x3410bb(0x10a)][_0x3410bb(0x10f)](),this[_0x3410bb(0x13c)][_0x3410bb(0x155)]=0x0,this[_0x3410bb(0x114)]=void 0x0,await this[_0x3410bb(0x13d)]();}[_0x3ce93b(0x117)](_0x404120,_0x3bff9b){const _0x5cba15=_0x3ce93b,_0x6490f2=this[_0x5cba15(0x10a)][_0x5cba15(0x131)](_0x404120);if(!_0x6490f2)return;const _0x152e4b=[];_0x3bff9b[_0x5cba15(0x12f)]((_0x2ea222,_0x1fc7ec)=>{const _0x405e68=_0x5cba15,_0x4f894e=new _0x12663c(_0x6490f2['id']+'-'+_0x1fc7ec,_0x2ea222,_0x6490f2);_0x4f894e['on'](_0x405e68(0x118),()=>{const _0x58b90c=_0x405e68;this[_0x58b90c(0x14d)](_0x58b90c(0x14b),{'change':_0x4f894e,'status':_0x4f894e[_0x58b90c(0x130)]});}),_0x4f894e['on'](_0x405e68(0x109),()=>{const _0x3124e1=_0x405e68;_0x4f894e[_0x3124e1(0x152)]?this[_0x3124e1(0x14d)](_0x3124e1(0x135),{'change':_0x4f894e}):this[_0x3124e1(0x14d)](_0x3124e1(0xfe),{'change':_0x4f894e});}),this[_0x405e68(0x13c)][_0x405e68(0x145)](_0x4f894e),_0x152e4b[_0x405e68(0x145)](_0x4f894e);}),this[_0x5cba15(0x14d)](_0x5cba15(0x121),{'changes':_0x152e4b,'result':_0x6490f2,'source':this});}[_0x3ce93b(0x138)](){const _0x501042=_0x3ce93b;this[_0x501042(0x124)]&&(this[_0x501042(0x124)][_0x501042(0x10d)][_0x501042(0x138)](),this[_0x501042(0x124)]=null,this[_0x501042(0x130)]=_0x501042(0x102));}[_0x3ce93b(0x103)](_0x1b807c){const _0x38a9ed=_0x3ce93b,_0x23a3ad=this[_0x38a9ed(0x13c)][_0x38a9ed(0x11e)](_0x2b81ad=>_0x2b81ad['id']===_0x1b807c);return!(!_0x23a3ad||_0x38a9ed(0x15d)!==_0x23a3ad[_0x38a9ed(0x130)]);}[_0x3ce93b(0x139)](){const _0x4bed65=_0x3ce93b;return this[_0x4bed65(0x13c)][_0x4bed65(0x115)](_0x558b88=>!0x0===_0x558b88[_0x4bed65(0x152)]);}[_0x3ce93b(0x14a)](){const _0x4e422b=_0x3ce93b;return this[_0x4e422b(0x13c)][_0x4e422b(0x15a)](_0x38a1fa=>_0x4e422b(0x15d)===_0x38a1fa[_0x4e422b(0x130)]);}[_0x3ce93b(0x106)](_0x49812e){const _0x4da0e4=_0x3ce93b;return this[_0x4da0e4(0x13c)][_0x4da0e4(0x11e)](_0x181516=>_0x181516['id']===_0x49812e);}[_0x3ce93b(0x134)](){const _0x85353=_0x3ce93b;for(const _0x38e0f6 of this[_0x85353(0x13c)])_0x85353(0x15d)===_0x38e0f6[_0x85353(0x130)]&&(_0x38e0f6[_0x85353(0x130)]=_0x85353(0x10e));this[_0x85353(0x11b)]();}[_0x3ce93b(0x101)](_0x327c40){const _0x145826=_0x3ce93b,_0x3a268c=this[_0x145826(0x13c)][_0x145826(0x11e)](_0x2830dd=>_0x2830dd['id']===_0x327c40);_0x3a268c&&_0x145826(0x15d)===_0x3a268c[_0x145826(0x130)]&&(_0x3a268c[_0x145826(0x130)]=_0x145826(0x10e)),this[_0x145826(0x11b)]();}[_0x3ce93b(0x11d)](_0x4134d6){const _0x12f353=_0x3ce93b,_0x371892=this[_0x12f353(0x13c)][_0x12f353(0x11e)](_0x1d5306=>_0x1d5306['id']===_0x4134d6);_0x371892&&_0x12f353(0x15d)===_0x371892[_0x12f353(0x130)]&&(_0x371892[_0x12f353(0x130)]=_0x12f353(0x148)),this[_0x12f353(0x11b)]();}[_0x3ce93b(0x14e)](_0x28f0f0){const _0x1d3fc8=_0x3ce93b,_0x5b7c58=this[_0x1d3fc8(0x13c)][_0x1d3fc8(0x11e)](_0x505fde=>_0x505fde['id']===_0x28f0f0);_0x5b7c58&&_0x1d3fc8(0x15d)===_0x5b7c58[_0x1d3fc8(0x130)]&&(_0x5b7c58[_0x1d3fc8(0x130)]=_0x1d3fc8(0x13f)),this[_0x1d3fc8(0x11b)]();}[_0x3ce93b(0x141)](_0x5a3b65){const _0x364490=_0x3ce93b,_0xbcf7e9=this[_0x364490(0x13c)][_0x364490(0x11e)](_0xbdbe29=>_0xbdbe29['id']===_0x5a3b65);_0xbcf7e9&&_0x364490(0x13f)===_0xbcf7e9[_0x364490(0x130)]&&(_0xbcf7e9[_0x364490(0x130)]=_0x364490(0x15d)),this[_0x364490(0x11b)]();}[_0x3ce93b(0x15f)](_0x357490){const _0x504501=_0x3ce93b;this[_0x504501(0x13c)][_0x504501(0x15a)](_0x464561=>_0x464561[_0x504501(0x152)]&&_0x464561['id']!==_0x357490)[_0x504501(0x12f)](_0x296594=>{const _0x5b96f4=_0x504501;_0x296594[_0x5b96f4(0x152)]=!0x1;});const _0x257044=this[_0x504501(0x13c)][_0x504501(0x11e)](_0x4b231d=>_0x4b231d['id']===_0x357490);_0x257044&&_0x504501(0x15d)===_0x257044[_0x504501(0x130)]&&(_0x257044[_0x504501(0x152)]=!0x0);}[_0x3ce93b(0xff)](){const _0x57ae0d=_0x3ce93b;this[_0x57ae0d(0x13c)][_0x57ae0d(0x15a)](_0x281c15=>_0x281c15[_0x57ae0d(0x152)])[_0x57ae0d(0x12f)](_0x3f7300=>{const _0x46f01a=_0x57ae0d;_0x3f7300[_0x46f01a(0x152)]=!0x1;});}[_0x3ce93b(0x119)](){const _0x338880=_0x3ce93b;this[_0x338880(0x130)]=_0x338880(0xfb);}async[_0x3ce93b(0x159)](_0x31257e){const _0x14db4f=_0x3ce93b;if(_0x14db4f(0x116)===this[_0x14db4f(0x130)]||_0x14db4f(0x123)===this[_0x14db4f(0x130)]||_0x14db4f(0x14c)===this[_0x14db4f(0x130)])return;if(!this[_0x14db4f(0x15b)]||0x0===this[_0x14db4f(0x13c)][_0x14db4f(0x155)])return;let _0x1b2f60;if(_0x31257e){const _0xd13cd7=this[_0x14db4f(0x13c)][_0x14db4f(0x11e)](_0x21ebb6=>_0x21ebb6['id']===_0x31257e);if(_0xd13cd7&&_0xd13cd7[_0x14db4f(0x110)])return;_0xd13cd7&&(_0x1b2f60=_0xd13cd7[_0x14db4f(0x100)]['id'],_0xd13cd7[_0x14db4f(0x110)]=!0x0);}const _0x1f3d8a={'positiveCount':this[_0x14db4f(0x13c)][_0x14db4f(0x15a)](_0x7e1287=>_0x14db4f(0x10e)===_0x7e1287[_0x14db4f(0x130)])[_0x14db4f(0x155)],'totalCount':this[_0x14db4f(0x13c)][_0x14db4f(0x155)]};this[_0x14db4f(0x11c)](_0x1f3d8a,this[_0x14db4f(0x15b)],_0x1b2f60);}[_0x3ce93b(0x133)](_0x241694,_0x1b2ee6){const _0x452690=_0x3ce93b,_0x36ff64=this[_0x452690(0x113)][_0x452690(0x137)][_0x452690(0x131)](_0x241694);if(!_0x36ff64)return;const _0x3ba562=_0x36ff64[_0x452690(0x11f)]();if(_0x3ba562===_0x1b2ee6)return;const _0x49a509=new _0x215ed0({'id':_0x241694,'contentInitial':_0x3ba562,'contentNew':_0x1b2ee6,'documentVersion':this[_0x452690(0x113)][_0x452690(0x149)]});this[_0x452690(0x10a)][_0x452690(0xfc)](_0x49a509['id'],_0x49a509),this[_0x452690(0x14d)](_0x452690(0x156),{'result':_0x49a509,'source':this});}[_0x3ce93b(0x11b)](){const _0x4cb8b3=_0x3ce93b;_0x4cb8b3(0x125)===this[_0x4cb8b3(0x130)]&&(this[_0x4cb8b3(0x13c)][_0x4cb8b3(0x15a)](_0x3bae4d=>_0x4cb8b3(0x15d)===_0x3bae4d[_0x4cb8b3(0x130)])[_0x4cb8b3(0x155)]>0x0&&(this[_0x4cb8b3(0x130)]=_0x4cb8b3(0xfb))),_0x4cb8b3(0xfb)===this[_0x4cb8b3(0x130)]&&(0x0===this[_0x4cb8b3(0x13c)][_0x4cb8b3(0x15a)](_0x59bbf6=>_0x4cb8b3(0x15d)===_0x59bbf6[_0x4cb8b3(0x130)])[_0x4cb8b3(0x155)]&&(this[_0x4cb8b3(0x130)]=_0x4cb8b3(0x125)));}}
|
|
23
|
+
const _0x201e4a=_0x3f16;function _0x2598(){const _0x14c0fa=['finished','abort','_changes','sendRating','get','reviewCheckResultActivated','error-chunk','markAllChangesAsAccepted','forceReadyState','getContent','pending','elements','hasModifications','version','9eHDvEP','processedResultsCount','56TaikWw','markChangeAsAccepted','change:isActivated','_currentError','activateChange','find','markChangeAsOutdated','subTitle','50300zJYhyj','1077594kwsKXj','markChangeAsRejected','_sendRatingRequest','forEach','_reviewArgs','abortController','aborted','reviewCheckResultAdded','length','accepted','fire','updateDocumentData','isAnyChangeActivated','change:status','deactivateChange','rejected','ai-request-aborted','reviewCheckResultDeactivated','parent','currentError','loading','set','status','1468048AFbMkw','33209WYBwte','_sourceCheck','push','getActiveChanges','_activeRequest','title','event','clear','message','_addReviewCheckResult','_results','restart','reviewCheckResultReady','markChangeAsPending','error','_documentData','getStream','_checkIfFinished','36nAkbLd','documentData','_aiConnector','operation','isChangeActive','_reviewParams','_createApiRequest','every','callId','ready','size','reviewCheckResultChangeStatusUpdated','error-general','getChangeById','filter','reviewName','isRated','713480DuTRLv','285zaAIto','review-metadata','unmodified','82381bElmSj','2556PZUATx','includes','reviewCheckRunUpdated','addResultChanges','some','initialized','textDelta','outdated','data','isActivated','6339155zXchNZ','start','dataId'];_0x2598=function(){return _0x14c0fa;};return _0x2598();}function _0x3f16(_0x19f51c,_0x38f0a2){const _0x25983c=_0x2598();return _0x3f16=function(_0x3f164c,_0x25de57){_0x3f164c=_0x3f164c-0x1b3;let _0x41c606=_0x25983c[_0x3f164c];return _0x41c606;},_0x3f16(_0x19f51c,_0x38f0a2);}(function(_0x5cdd7c,_0x20ae39){const _0x5621f9=_0x3f16,_0x17ce34=_0x5cdd7c();while(!![]){try{const _0x4870cb=parseInt(_0x5621f9(0x1c5))/0x1*(parseInt(_0x5621f9(0x216))/0x2)+-parseInt(_0x5621f9(0x1c2))/0x3*(parseInt(_0x5621f9(0x1eb))/0x4)+parseInt(_0x5621f9(0x1d0))/0x5+-parseInt(_0x5621f9(0x1ec))/0x6*(parseInt(_0x5621f9(0x1e3))/0x7)+-parseInt(_0x5621f9(0x203))/0x8*(-parseInt(_0x5621f9(0x1e1))/0x9)+-parseInt(_0x5621f9(0x1c1))/0xa+-parseInt(_0x5621f9(0x204))/0xb*(-parseInt(_0x5621f9(0x1c6))/0xc);if(_0x4870cb===_0x20ae39)break;else _0x17ce34['push'](_0x17ce34['shift']());}catch(_0x497000){_0x17ce34['push'](_0x17ce34['shift']());}}}(_0x2598,0xd57ed));import{ObservableMixin as _0x4ae6eb,uid as _0x48004b}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x1d67c1}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x320ab1}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x4ae6eb(){['id']=_0x48004b();[_0x201e4a(0x1b8)];[_0x201e4a(0x20e)]=new Map();[_0x201e4a(0x1d5)]=[];[_0x201e4a(0x205)];[_0x201e4a(0x213)];[_0x201e4a(0x218)];[_0x201e4a(0x1b5)];[_0x201e4a(0x1f0)];[_0x201e4a(0x208)]=null;[_0x201e4a(0x1e6)];constructor(_0x18dc53,_0x2ce394,_0x29c07f,_0x26be62,_0x185a6e){const _0x5dd9d7=_0x201e4a;super(),this[_0x5dd9d7(0x205)]=_0x2ce394,this[_0x5dd9d7(0x213)]=_0x18dc53,this[_0x5dd9d7(0x218)]=_0x29c07f,this[_0x5dd9d7(0x1b5)]=_0x26be62,this[_0x5dd9d7(0x1f0)]=_0x185a6e,this['on'](_0x5dd9d7(0x1f9),(_0x4a38fa,_0x53d1b2,_0x14cc26)=>{const _0x2431c1=_0x5dd9d7;this[_0x2431c1(0x1f6)](_0x2431c1(0x1c8),{'status':_0x14cc26,'run':this,'error':this[_0x2431c1(0x1e6)]});}),this[_0x5dd9d7(0x201)](_0x5dd9d7(0x202),_0x5dd9d7(0x1cb));}get[_0x201e4a(0x217)](){const _0x40a9e5=_0x201e4a;return this[_0x40a9e5(0x213)];}get[_0x201e4a(0x1e2)](){const _0x69b4a2=_0x201e4a;return this[_0x69b4a2(0x20e)][_0x69b4a2(0x1ba)];}get[_0x201e4a(0x209)](){const _0x3cdee5=_0x201e4a;return this[_0x3cdee5(0x205)][_0x3cdee5(0x209)];}get[_0x201e4a(0x1ea)](){return'';}get[_0x201e4a(0x1bf)](){const _0x529048=_0x201e4a;return this[_0x529048(0x205)]['id'];}get[_0x201e4a(0x1df)](){const _0x2c0e34=_0x201e4a;return!this[_0x2c0e34(0x1d5)][_0x2c0e34(0x1b7)](_0xc13a27=>_0x2c0e34(0x1dd)===_0xc13a27[_0x2c0e34(0x202)]);}get[_0x201e4a(0x1ff)](){const _0x10c17c=_0x201e4a;return this[_0x10c17c(0x1e6)];}[_0x201e4a(0x1f7)](_0x330aca){const _0x134b4c=_0x201e4a;this[_0x134b4c(0x213)]=_0x330aca;}async[_0x201e4a(0x1d1)](){const _0x12b1bd=_0x201e4a;this[_0x12b1bd(0x202)]=_0x12b1bd(0x200),this[_0x12b1bd(0x1e6)]=void 0x0;try{this[_0x12b1bd(0x208)]=this[_0x12b1bd(0x1b6)]();const _0x5ea1f1=await this[_0x12b1bd(0x208)][_0x12b1bd(0x214)]();this[_0x12b1bd(0x202)]=_0x12b1bd(0x1ce);for await(const _0x17324f of _0x5ea1f1)_0x12b1bd(0x1c4)!==_0x17324f[_0x12b1bd(0x1ce)][_0x12b1bd(0x1b3)]&&(_0x12b1bd(0x212)!==_0x17324f[_0x12b1bd(0x1ce)][_0x12b1bd(0x1b3)]?_0x12b1bd(0x1c3)!==_0x17324f[_0x12b1bd(0x20a)]?this[_0x12b1bd(0x20d)](_0x17324f[_0x12b1bd(0x1ce)][_0x12b1bd(0x1d2)],_0x17324f[_0x12b1bd(0x1ce)][_0x12b1bd(0x1cc)]):this[_0x12b1bd(0x1b8)]=_0x17324f[_0x12b1bd(0x1ce)][_0x12b1bd(0x1b8)]:this[_0x12b1bd(0x202)]=_0x12b1bd(0x1d9));_0x12b1bd(0x1d9)!==this[_0x12b1bd(0x202)]&&(0x0===this[_0x12b1bd(0x20e)][_0x12b1bd(0x1ba)]?this[_0x12b1bd(0x202)]=_0x12b1bd(0x1c4):this[_0x12b1bd(0x202)]=_0x12b1bd(0x1b9));}catch(_0xf5f2ae){this[_0x12b1bd(0x1e6)]=_0xf5f2ae,_0xf5f2ae instanceof Error&&_0xf5f2ae[_0x12b1bd(0x20c)][_0x12b1bd(0x1c7)](_0x12b1bd(0x1fc))?this[_0x12b1bd(0x202)]=_0x12b1bd(0x1f2):this[_0x12b1bd(0x202)]=_0x12b1bd(0x1bc);}finally{this[_0x12b1bd(0x208)]=null;}}async[_0x201e4a(0x20f)](){const _0x974537=_0x201e4a;this[_0x974537(0x20e)][_0x974537(0x20b)](),this[_0x974537(0x1d5)][_0x974537(0x1f4)]=0x0,this[_0x974537(0x1e6)]=void 0x0,await this[_0x974537(0x1d1)]();}[_0x201e4a(0x1c9)](_0x1098f1,_0x585a23){const _0x1db243=_0x201e4a,_0x490a41=this[_0x1db243(0x20e)][_0x1db243(0x1d7)](_0x1098f1);if(!_0x490a41)return;const _0x51eb4c=[];_0x585a23[_0x1db243(0x1ef)]((_0x5135c4,_0x3ce6a1)=>{const _0x5302cd=_0x1db243,_0x1eaf2e=new _0x320ab1(_0x490a41['id']+'-'+_0x3ce6a1,_0x5135c4,_0x490a41);_0x1eaf2e['on'](_0x5302cd(0x1f9),()=>{const _0x2a1838=_0x5302cd;this[_0x2a1838(0x1f6)](_0x2a1838(0x1bb),{'change':_0x1eaf2e,'status':_0x1eaf2e[_0x2a1838(0x202)]});}),_0x1eaf2e['on'](_0x5302cd(0x1e5),()=>{const _0xc97252=_0x5302cd;_0x1eaf2e[_0xc97252(0x1cf)]?this[_0xc97252(0x1f6)](_0xc97252(0x1d8),{'change':_0x1eaf2e}):this[_0xc97252(0x1f6)](_0xc97252(0x1fd),{'change':_0x1eaf2e});}),this[_0x5302cd(0x1d5)][_0x5302cd(0x206)](_0x1eaf2e),_0x51eb4c[_0x5302cd(0x206)](_0x1eaf2e);}),this[_0x1db243(0x1f6)](_0x1db243(0x210),{'changes':_0x51eb4c,'result':_0x490a41,'source':this});}[_0x201e4a(0x1d4)](){const _0x4b520c=_0x201e4a;this[_0x4b520c(0x208)]&&(this[_0x4b520c(0x208)][_0x4b520c(0x1f1)][_0x4b520c(0x1d4)](),this[_0x4b520c(0x208)]=null,this[_0x4b520c(0x202)]=_0x4b520c(0x1f2));}[_0x201e4a(0x1b4)](_0x11f739){const _0x4395b5=_0x201e4a,_0x41b52d=this[_0x4395b5(0x1d5)][_0x4395b5(0x1e8)](_0x16e631=>_0x16e631['id']===_0x11f739);return!(!_0x41b52d||_0x4395b5(0x1dd)!==_0x41b52d[_0x4395b5(0x202)]);}[_0x201e4a(0x1f8)](){const _0x230562=_0x201e4a;return this[_0x230562(0x1d5)][_0x230562(0x1ca)](_0x5eee6e=>!0x0===_0x5eee6e[_0x230562(0x1cf)]);}[_0x201e4a(0x207)](){const _0x29c5d6=_0x201e4a;return this[_0x29c5d6(0x1d5)][_0x29c5d6(0x1be)](_0x427582=>_0x29c5d6(0x1dd)===_0x427582[_0x29c5d6(0x202)]);}[_0x201e4a(0x1bd)](_0x146b0b){const _0xcfbdd7=_0x201e4a;return this[_0xcfbdd7(0x1d5)][_0xcfbdd7(0x1e8)](_0x4539c8=>_0x4539c8['id']===_0x146b0b);}[_0x201e4a(0x1da)](){const _0x57de2b=_0x201e4a;for(const _0x5a1f27 of this[_0x57de2b(0x1d5)])_0x57de2b(0x1dd)===_0x5a1f27[_0x57de2b(0x202)]&&(_0x5a1f27[_0x57de2b(0x202)]=_0x57de2b(0x1f5));this[_0x57de2b(0x215)]();}[_0x201e4a(0x1e4)](_0x1fee14){const _0x1093be=_0x201e4a,_0x4e6a73=this[_0x1093be(0x1d5)][_0x1093be(0x1e8)](_0x4115cc=>_0x4115cc['id']===_0x1fee14);_0x4e6a73&&_0x1093be(0x1dd)===_0x4e6a73[_0x1093be(0x202)]&&(_0x4e6a73[_0x1093be(0x202)]=_0x1093be(0x1f5)),this[_0x1093be(0x215)]();}[_0x201e4a(0x1ed)](_0x3441e4){const _0x242593=_0x201e4a,_0x3f1f78=this[_0x242593(0x1d5)][_0x242593(0x1e8)](_0xeb29f9=>_0xeb29f9['id']===_0x3441e4);_0x3f1f78&&_0x242593(0x1dd)===_0x3f1f78[_0x242593(0x202)]&&(_0x3f1f78[_0x242593(0x202)]=_0x242593(0x1fb)),this[_0x242593(0x215)]();}[_0x201e4a(0x1e9)](_0x25332f){const _0x1c4528=_0x201e4a,_0x1ea054=this[_0x1c4528(0x1d5)][_0x1c4528(0x1e8)](_0x8cbd48=>_0x8cbd48['id']===_0x25332f);_0x1ea054&&_0x1c4528(0x1dd)===_0x1ea054[_0x1c4528(0x202)]&&(_0x1ea054[_0x1c4528(0x202)]=_0x1c4528(0x1cd)),this[_0x1c4528(0x215)]();}[_0x201e4a(0x211)](_0x3447bc){const _0x415269=_0x201e4a,_0x47253b=this[_0x415269(0x1d5)][_0x415269(0x1e8)](_0x230081=>_0x230081['id']===_0x3447bc);_0x47253b&&_0x415269(0x1cd)===_0x47253b[_0x415269(0x202)]&&(_0x47253b[_0x415269(0x202)]=_0x415269(0x1dd)),this[_0x415269(0x215)]();}[_0x201e4a(0x1e7)](_0x4fe966){const _0x191ea9=_0x201e4a;this[_0x191ea9(0x1d5)][_0x191ea9(0x1be)](_0x342dcf=>_0x342dcf[_0x191ea9(0x1cf)]&&_0x342dcf['id']!==_0x4fe966)[_0x191ea9(0x1ef)](_0x5319e8=>{const _0x4a6f53=_0x191ea9;_0x5319e8[_0x4a6f53(0x1cf)]=!0x1;});const _0x4e4549=this[_0x191ea9(0x1d5)][_0x191ea9(0x1e8)](_0x60443=>_0x60443['id']===_0x4fe966);_0x4e4549&&_0x191ea9(0x1dd)===_0x4e4549[_0x191ea9(0x202)]&&(_0x4e4549[_0x191ea9(0x1cf)]=!0x0);}[_0x201e4a(0x1fa)](){const _0x561697=_0x201e4a;this[_0x561697(0x1d5)][_0x561697(0x1be)](_0x54b6e5=>_0x54b6e5[_0x561697(0x1cf)])[_0x561697(0x1ef)](_0x3fc0b6=>{const _0xc712e1=_0x561697;_0x3fc0b6[_0xc712e1(0x1cf)]=!0x1;});}[_0x201e4a(0x1db)](){const _0x5a77b9=_0x201e4a;this[_0x5a77b9(0x202)]=_0x5a77b9(0x1b9);}async[_0x201e4a(0x1d6)](_0xb210ab){const _0x2e2cc9=_0x201e4a;if(_0x2e2cc9(0x1cb)===this[_0x2e2cc9(0x202)]||_0x2e2cc9(0x200)===this[_0x2e2cc9(0x202)]||_0x2e2cc9(0x1ce)===this[_0x2e2cc9(0x202)])return;if(!this[_0x2e2cc9(0x1b8)]||0x0===this[_0x2e2cc9(0x1d5)][_0x2e2cc9(0x1f4)])return;let _0x10eeaa;if(_0xb210ab){const _0x48dded=this[_0x2e2cc9(0x1d5)][_0x2e2cc9(0x1e8)](_0x49f065=>_0x49f065['id']===_0xb210ab);if(_0x48dded&&_0x48dded[_0x2e2cc9(0x1c0)])return;_0x48dded&&(_0x10eeaa=_0x48dded[_0x2e2cc9(0x1fe)]['id'],_0x48dded[_0x2e2cc9(0x1c0)]=!0x0);}const _0x17a5d5={'positiveCount':this[_0x2e2cc9(0x1d5)][_0x2e2cc9(0x1be)](_0xf8d2c8=>_0x2e2cc9(0x1f5)===_0xf8d2c8[_0x2e2cc9(0x202)])[_0x2e2cc9(0x1f4)],'totalCount':this[_0x2e2cc9(0x1d5)][_0x2e2cc9(0x1f4)]};this[_0x2e2cc9(0x1ee)](_0x17a5d5,this[_0x2e2cc9(0x1b8)],_0x10eeaa);}[_0x201e4a(0x20d)](_0x42f8ea,_0x6c1365){const _0x166cfc=_0x201e4a,_0x2a96a0=this[_0x166cfc(0x213)][_0x166cfc(0x1de)][_0x166cfc(0x1d7)](_0x42f8ea);if(!_0x2a96a0)return;const _0x11b494=_0x2a96a0[_0x166cfc(0x1dc)]();if(_0x11b494===_0x6c1365)return;const _0x4d2938=new _0x1d67c1({'id':_0x42f8ea,'contentInitial':_0x11b494,'contentNew':_0x6c1365,'documentVersion':this[_0x166cfc(0x213)][_0x166cfc(0x1e0)]});this[_0x166cfc(0x20e)][_0x166cfc(0x201)](_0x4d2938['id'],_0x4d2938),this[_0x166cfc(0x1f6)](_0x166cfc(0x1f3),{'result':_0x4d2938,'source':this});}[_0x201e4a(0x215)](){const _0x218d17=_0x201e4a;_0x218d17(0x1d3)===this[_0x218d17(0x202)]&&(this[_0x218d17(0x1d5)][_0x218d17(0x1be)](_0x3ccf5d=>_0x218d17(0x1dd)===_0x3ccf5d[_0x218d17(0x202)])[_0x218d17(0x1f4)]>0x0&&(this[_0x218d17(0x202)]=_0x218d17(0x1b9))),_0x218d17(0x1b9)===this[_0x218d17(0x202)]&&(0x0===this[_0x218d17(0x1d5)][_0x218d17(0x1be)](_0xabd43d=>_0x218d17(0x1dd)===_0xabd43d[_0x218d17(0x202)])[_0x218d17(0x1f4)]&&(this[_0x218d17(0x202)]=_0x218d17(0x1d3)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x56d25e=_0x1246;(function(_0x2de255,_0x398b9f){var _0x3a02a4=_0x1246,_0x5966ba=_0x2de255();while(!![]){try{var _0x2f41f7=parseInt(_0x3a02a4(0x123))/0x1+-parseInt(_0x3a02a4(0x12c))/0x2+-parseInt(_0x3a02a4(0x129))/0x3+parseInt(_0x3a02a4(0x126))/0x4*(parseInt(_0x3a02a4(0x135))/0x5)+-parseInt(_0x3a02a4(0x130))/0x6*(-parseInt(_0x3a02a4(0x122))/0x7)+-parseInt(_0x3a02a4(0x12e))/0x8*(-parseInt(_0x3a02a4(0x133))/0x9)+-parseInt(_0x3a02a4(0x128))/0xa*(-parseInt(_0x3a02a4(0x121))/0xb);if(_0x2f41f7===_0x398b9f)break;else _0x5966ba['push'](_0x5966ba['shift']());}catch(_0x2e2532){_0x5966ba['push'](_0x5966ba['shift']());}}}(_0x4501,0xc4d6a));import{AIReviewCheckRun as _0x1b8bcf}from'./aireviewcheckrun.js';function _0x4501(){var _0xd95ef=['_prompt','105786tKhzhl','upsertCustomAIReviewRating','605NcBLEo','11DoeXUp','56357jWgmsF','1145439ktbSGr','subTitle','_sendRatingRequest','18232whNXNq','_documentData','1341240pEEREu','308190XtvaQx','_model','content','2554936xPQiTA','_createApiRequest','72ocVidj','callCustomReview','186uIaAtk','_aiConnector'];_0x4501=function(){return _0xd95ef;};return _0x4501();}function _0x1246(_0x583c1c,_0x425e91){var _0x45016e=_0x4501();return _0x1246=function(_0x124650,_0x948df1){_0x124650=_0x124650-0x121;var _0x431482=_0x45016e[_0x124650];return _0x431482;},_0x1246(_0x583c1c,_0x425e91);}export class AIReviewCustomCheckRun extends _0x1b8bcf{[_0x56d25e(0x132)];[_0x56d25e(0x12a)];constructor(_0x4807de,_0x25c809,_0x1b7f18,_0x2c736e,_0x5d46aa){var _0x762e81=_0x56d25e;super(_0x1b7f18,_0x2c736e,_0x5d46aa),this[_0x762e81(0x132)]=_0x4807de,this[_0x762e81(0x12a)]=_0x25c809;}get[_0x56d25e(0x124)](){var _0x339431=_0x56d25e;return this[_0x339431(0x132)];}[_0x56d25e(0x12d)](){var _0x4ea583=_0x56d25e;return this[_0x4ea583(0x131)][_0x4ea583(0x12f)]({'content':this[_0x4ea583(0x127)][_0x4ea583(0x12b)],'prompt':this[_0x4ea583(0x132)],'model':this[_0x4ea583(0x12a)]});}[_0x56d25e(0x125)](_0x42cbf0,_0x253abf,_0x199cc2){var _0xd268c8=_0x56d25e;return this[_0xd268c8(0x131)][_0xd268c8(0x134)](_0x253abf,_0x42cbf0,_0x199cc2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4e3b(_0x46ca05,_0x2b297d){const _0x4e3a42=_0x4e3a();return _0x4e3b=function(_0x4e3b31,_0x2d09f8){_0x4e3b31=_0x4e3b31-0x196;let _0x13f4db=_0x4e3a42[_0x4e3b31];return _0x13f4db;},_0x4e3b(_0x46ca05,_0x2b297d);}const _0x139357=_0x4e3b;(function(_0x1aff7b,_0x12f14e){const _0x62cf97=_0x4e3b,_0x340c13=_0x1aff7b();while(!![]){try{const _0x3cfd83=-parseInt(_0x62cf97(0x1ae))/0x1+-parseInt(_0x62cf97(0x1a3))/0x2*(-parseInt(_0x62cf97(0x1ac))/0x3)+-parseInt(_0x62cf97(0x1a4))/0x4*(-parseInt(_0x62cf97(0x1a0))/0x5)+parseInt(_0x62cf97(0x1b7))/0x6*(-parseInt(_0x62cf97(0x19a))/0x7)+-parseInt(_0x62cf97(0x19b))/0x8*(parseInt(_0x62cf97(0x198))/0x9)+-parseInt(_0x62cf97(0x1a8))/0xa*(-parseInt(_0x62cf97(0x19d))/0xb)+-parseInt(_0x62cf97(0x196))/0xc*(-parseInt(_0x62cf97(0x19e))/0xd);if(_0x3cfd83===_0x12f14e)break;else _0x340c13['push'](_0x340c13['shift']());}catch(_0x659b9b){_0x340c13['push'](_0x340c13['shift']());}}}(_0x4e3a,0x9c47c));import{AIReviewCheckRun as _0x558a06}from'./aireviewcheckrun.js';function _0x4e3a(){const _0x45fca0=['content','2BUCfRB','539680AmSefo','find','reviewName','_sendRatingRequest','1450390rdHIfJ','_aiConnector','_documentData','label','1090038XQazdQ','useArgs','1006881gPPKhw','data','_composeReviewName','upsertAIReviewRating','_reviewArgs','_reviewParams','subTitle','push','length','1074QBwCMf','12nsiKfD','options','53532kIQWkK','join','9709RCZepD','552iVqzNe','_sourceCheck','33zSZqwi','9070191UeWlbP','callSystemReview','30QCInRX','_createApiRequest'];_0x4e3a=function(){return _0x45fca0;};return _0x4e3a();}export class AIReviewSystemCheckRun extends _0x558a06{get[_0x139357(0x1b4)](){const _0x432b07=_0x139357;if(!this[_0x432b07(0x1b3)]||0x0===this[_0x432b07(0x1b3)][_0x432b07(0x1b6)])return'';const _0x53996e=[];if(this[_0x432b07(0x1b3)][_0x432b07(0x1b6)]>0x0&&this[_0x432b07(0x19c)][_0x432b07(0x197)])for(let _0x58209e=0x0;_0x58209e<this[_0x432b07(0x1b3)][_0x432b07(0x1b6)];_0x58209e++){if(!this[_0x432b07(0x1b3)][_0x58209e]||!this[_0x432b07(0x19c)][_0x432b07(0x197)][_0x58209e])continue;const _0xf3ab90=this[_0x432b07(0x19c)][_0x432b07(0x197)][_0x58209e],_0x2da7e1=_0xf3ab90[_0x432b07(0x1af)]?.[_0x432b07(0x1a5)](_0x2e342a=>_0x2e342a['id']===this[_0x432b07(0x1b3)][_0x58209e]);_0x2da7e1&&_0x53996e[_0x432b07(0x1b5)](_0x2da7e1[_0x432b07(0x1ab)]);}return _0x53996e[_0x432b07(0x199)](',\x20');}get[_0x139357(0x1a6)](){const _0x9b874b=_0x139357;return this[_0x9b874b(0x1b0)]();}[_0x139357(0x1a1)](){const _0x1b64ca=_0x139357;return this[_0x1b64ca(0x1a9)][_0x1b64ca(0x19f)]({'reviewName':this[_0x1b64ca(0x1b0)](),'content':this[_0x1b64ca(0x1aa)][_0x1b64ca(0x1a2)],'args':this[_0x1b64ca(0x1b2)]});}[_0x139357(0x1a7)](_0x2d805e,_0x4843a5,_0x3b659d){const _0x17a64c=_0x139357;return this[_0x17a64c(0x1a9)][_0x17a64c(0x1b1)](this[_0x17a64c(0x1a6)],_0x4843a5,_0x2d805e,_0x3b659d);}[_0x139357(0x1b0)](){const _0x34de08=_0x139357;return!this[_0x34de08(0x1b3)]||0x0===this[_0x34de08(0x1b3)][_0x34de08(0x1b6)]||this[_0x34de08(0x19c)][_0x34de08(0x1ad)]?this[_0x34de08(0x19c)]['id']:[this[_0x34de08(0x19c)]['id'],...this[_0x34de08(0x1b3)]][_0x34de08(0x199)]('-');}}
|