@ckeditor/ckeditor5-ai 47.3.0-alpha.6 → 47.3.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/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.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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4f1937,_0x549f37){const _0x31736d=_0x881b,_0x37a421=_0x4f1937();while(!![]){try{const _0x2dfef3=-parseInt(_0x31736d(0x82))/0x1*(parseInt(_0x31736d(0x92))/0x2)+parseInt(_0x31736d(0x88))/0x3*(-parseInt(_0x31736d(0x7e))/0x4)+-parseInt(_0x31736d(0xa0))/0x5+parseInt(_0x31736d(0xa2))/0x6*(parseInt(_0x31736d(0x90))/0x7)+-parseInt(_0x31736d(0x9b))/0x8*(-parseInt(_0x31736d(0x91))/0x9)+parseInt(_0x31736d(0x8e))/0xa*(parseInt(_0x31736d(0x8b))/0xb)+-parseInt(_0x31736d(0x9e))/0xc*(-parseInt(_0x31736d(0x84))/0xd);if(_0x2dfef3===_0x549f37)break;else _0x37a421['push'](_0x37a421['shift']());}catch(_0x4d4147){_0x37a421['push'](_0x37a421['shift']());}}}(_0x5d20,0xd8006));function _0x881b(_0x4a9d3c,_0x218d6a){const _0x5d2007=_0x5d20();return _0x881b=function(_0x881b23,_0x29208a){_0x881b23=_0x881b23-0x7e;let _0x18b0ad=_0x5d2007[_0x881b23];return _0x18b0ad;},_0x881b(_0x4a9d3c,_0x218d6a);}import{createDropdown as _0x252fe1}from'ckeditor5/src/ui.js';function _0x5d20(){const _0x27d1aa=['12RfmMbt','hideFakeVisualSelection','7359520GaXbIm','label','3306tAnvuS','55324NhJsuv','children','ck-ai-quick-actions-dropdown','get','2762OpBgYj','panelView','14708902SHusuE','plugins','model','showFakeVisualSelection','12MnHzKz','add','locale','264SnOscz','from','set','140260yvvtEz','AIEditing','6181WycozF','45wponCw','906wZNXPy','resetSearch','icon','ai-quick-actions-dropdown-selection','selection','change:isOpen','has','buttonView','document','2733672oNclxX','getRanges','length'];_0x5d20=function(){return _0x27d1aa;};return _0x5d20();}import{IconAIQuickActions as _0x400a84}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0xea09b5}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x5f27fe}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x53c84c){const {editor:_0x49cae4,content:_0x385c48,buttonDefinition:_0x22da33,bodyCollection:_0x9acde,hasSearch:_0x5d0a26=!0x1}=_0x53c84c;return()=>{const _0x243e6b=_0x881b,_0x1d9111=_0x49cae4[_0x243e6b(0x8a)],_0x42c893=_0x252fe1(_0x1d9111);_0x42c893[_0x243e6b(0x99)][_0x243e6b(0x8d)]({'icon':_0x22da33[_0x243e6b(0x94)]??_0x400a84,'label':_0x22da33[_0x243e6b(0xa1)],'tooltip':!0x0}),_0x42c893[_0x243e6b(0x8d)]({'class':_0x243e6b(0x80)});const _0x3c88e0=new _0xea09b5(_0x49cae4,_0x385c48,_0x42c893,_0x9acde,_0x5d0a26);if(_0x42c893[_0x243e6b(0x83)][_0x243e6b(0x7f)][_0x243e6b(0x89)](_0x3c88e0),_0x5d0a26){const _0x59c74b=_0x243e6b(0x95);_0x42c893['on'](_0x243e6b(0x97),(_0x35fb90,_0x3a699f,_0x146949)=>{const _0x487c2f=_0x243e6b;if(_0x146949){if(_0x49cae4[_0x487c2f(0x85)][_0x487c2f(0x98)](_0x487c2f(0x8f))){const _0x17fb77=_0x49cae4[_0x487c2f(0x85)][_0x487c2f(0x81)](_0x5f27fe),_0x43b739=_0x49cae4[_0x487c2f(0x86)][_0x487c2f(0x9a)][_0x487c2f(0x96)],_0x38fe43=Array[_0x487c2f(0x8c)](_0x43b739[_0x487c2f(0x9c)]());_0x38fe43[_0x487c2f(0x9d)]>0x0&&_0x17fb77[_0x487c2f(0x87)](_0x38fe43,_0x59c74b,!0x1,!0x0);}}else _0x49cae4[_0x487c2f(0x85)][_0x487c2f(0x98)](_0x487c2f(0x8f))&&_0x49cae4[_0x487c2f(0x85)][_0x487c2f(0x81)](_0x5f27fe)[_0x487c2f(0x9f)](_0x59c74b),_0x3c88e0[_0x487c2f(0x93)]();});}return _0x42c893;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1ef1(_0x3bf7bf,_0x56c810){const _0x4d0f66=_0x4d0f();return _0x1ef1=function(_0x1ef141,_0x38469c){_0x1ef141=_0x1ef141-0x130;let _0x2ae424=_0x4d0f66[_0x1ef141];return _0x2ae424;},_0x1ef1(_0x3bf7bf,_0x56c810);}const _0xdc9d52=_0x1ef1;(function(_0x857a88,_0x14ca3b){const _0x2bd518=_0x1ef1,_0x1d45fe=_0x857a88();while(!![]){try{const _0x29903b=parseInt(_0x2bd518(0x134))/0x1+-parseInt(_0x2bd518(0x13e))/0x2+parseInt(_0x2bd518(0x130))/0x3+parseInt(_0x2bd518(0x136))/0x4+parseInt(_0x2bd518(0x137))/0x5+-parseInt(_0x2bd518(0x142))/0x6+-parseInt(_0x2bd518(0x145))/0x7*(parseInt(_0x2bd518(0x147))/0x8);if(_0x29903b===_0x14ca3b)break;else _0x1d45fe['push'](_0x1d45fe['shift']());}catch(_0x4d6060){_0x1d45fe['push'](_0x1d45fe['shift']());}}}(_0x4d0f,0x60f0f));import{ListView as _0x336ae7}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x5a4384}from'es-toolkit/compat';function _0x4d0f(){const _0x4e0ecb=['includes','map','filter','toLowerCase','916614WzbpdS','_allListItems','clear','highlightViews','3361188wyvqKj','function','groupLabel','4627kVMWvm','label','6864NfNUrt','_allSearchableItems','source','item','sort','items','length','2306049FzSFFd','forEach','_clearHighlight','trim','684627HrFcRd','_highlightQuery','1828192zgxjOh','361780aNOsYh','highlightText','addMany'];_0x4d0f=function(){return _0x4e0ecb;};return _0x4d0f();}export class AIQuickActionsFilteredListView extends _0x336ae7{[_0xdc9d52(0x13f)];[_0xdc9d52(0x148)];constructor(_0x1e499f,_0x5967d1,_0x49515e){const _0x4adb53=_0xdc9d52;super(_0x1e499f),this[_0x4adb53(0x13f)]=_0x5967d1,this[_0x4adb53(0x148)]=_0x49515e;}[_0xdc9d52(0x13c)](_0x56cc84){const _0xbe695b=_0xdc9d52;if(!_0x56cc84)return this[_0xbe695b(0x14c)][_0xbe695b(0x140)](),this[_0xbe695b(0x14c)][_0xbe695b(0x139)](this[_0xbe695b(0x13f)]),this[_0xbe695b(0x132)](),{'resultsCount':this[_0xbe695b(0x13f)][_0xbe695b(0x14d)],'totalItemsCount':this[_0xbe695b(0x13f)][_0xbe695b(0x14d)]};const _0x55dfda=_0x56cc84[_0xbe695b(0x149)][_0xbe695b(0x13d)]()[_0xbe695b(0x133)](),_0x34633a=this[_0xbe695b(0x148)][_0xbe695b(0x13c)](_0xa68100=>(_0xa68100[_0xbe695b(0x144)]?_0xa68100[_0xbe695b(0x146)]+'\x20('+_0xa68100[_0xbe695b(0x144)]+')':_0xa68100[_0xbe695b(0x146)])[_0xbe695b(0x13d)]()[_0xbe695b(0x13a)](_0x55dfda));return this[_0xbe695b(0x14c)][_0xbe695b(0x140)](),this[_0xbe695b(0x14c)][_0xbe695b(0x139)](_0x34633a[_0xbe695b(0x14b)]((_0x447817,_0x343951)=>{const _0x351c4f=_0xbe695b,_0x27096a=_0x447817[_0x351c4f(0x144)],_0x56eabe=_0x343951[_0x351c4f(0x144)];return _0x27096a||_0x56eabe?_0x27096a?0x1:-0x1:0x0;})[_0xbe695b(0x13b)](_0x220a7b=>_0x220a7b[_0xbe695b(0x14a)])),this[_0xbe695b(0x135)](_0x55dfda,_0x34633a),{'resultsCount':_0x34633a[_0xbe695b(0x14d)],'totalItemsCount':this[_0xbe695b(0x148)][_0xbe695b(0x14d)]};}[_0xdc9d52(0x135)](_0x5eb60e,_0x492169){const _0x4019b0=_0xdc9d52;if(!_0x5eb60e)return;const _0x486138=new RegExp(_0x5a4384(_0x5eb60e),'gi');_0x492169[_0x4019b0(0x131)](_0x797dc1=>{const _0x5b33d9=_0x4019b0;_0x797dc1[_0x5b33d9(0x141)]&&_0x797dc1[_0x5b33d9(0x141)][_0x5b33d9(0x131)](_0x507dfe=>{const _0x416722=_0x5b33d9;_0x416722(0x143)==typeof _0x507dfe[_0x416722(0x138)]&&_0x507dfe[_0x416722(0x138)](_0x486138);});});}[_0xdc9d52(0x132)](){const _0x5dfd71=_0xdc9d52;this[_0x5dfd71(0x148)][_0x5dfd71(0x131)](_0x210b04=>{const _0x5d3a46=_0x5dfd71;_0x210b04[_0x5d3a46(0x141)]&&_0x210b04[_0x5d3a46(0x141)][_0x5d3a46(0x131)](_0x56b629=>{const _0x2c6d97=_0x5d3a46;_0x2c6d97(0x143)==typeof _0x56b629[_0x2c6d97(0x138)]&&_0x56b629[_0x2c6d97(0x138)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3661(){const _0x2ab977=['content','menuitem','660200dBtXCp','1460735UklXLf','isOn','add','set','8236096tWbfVK','bindTemplate','84EQBmHL','737320oRadUc','154902pQbCgu','ck-dropdown-menu-list__nested-menu__button','render','arrowView','313629dTAFyG','ck-dropdown-menu-list__nested-menu__button__arrow','334646RDrcPL','extendTemplate','_createArrowView','children','mouseenter'];_0x3661=function(){return _0x2ab977;};return _0x3661();}function _0x51ee(_0x5d620f,_0x21cfe5){const _0x3661ef=_0x3661();return _0x51ee=function(_0x51ee2e,_0xc7e7e0){_0x51ee2e=_0x51ee2e-0x15a;let _0x2956ed=_0x3661ef[_0x51ee2e];return _0x2956ed;},_0x51ee(_0x5d620f,_0x21cfe5);}const _0x14ac84=_0x51ee;(function(_0x5a11ac,_0x557858){const _0x554b51=_0x51ee,_0x824755=_0x5a11ac();while(!![]){try{const _0x39a3b3=-parseInt(_0x554b51(0x16e))/0x1+-parseInt(_0x554b51(0x167))/0x2+parseInt(_0x554b51(0x16c))/0x3+-parseInt(_0x554b51(0x15f))/0x4+parseInt(_0x554b51(0x160))/0x5+parseInt(_0x554b51(0x168))/0x6*(-parseInt(_0x554b51(0x166))/0x7)+parseInt(_0x554b51(0x164))/0x8;if(_0x39a3b3===_0x557858)break;else _0x824755['push'](_0x824755['shift']());}catch(_0x552668){_0x824755['push'](_0x824755['shift']());}}}(_0x3661,0x3c8ea));import{IconView as _0x55f3a4,ListItemButtonView as _0x53aa48}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x2dc7c4}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x53aa48{[_0x14ac84(0x16b)];constructor(_0x3571ef,_0x167a7e){const _0x3d41bd=_0x14ac84;super(_0x3571ef,_0x167a7e);const _0x528c3b=this[_0x3d41bd(0x165)];this[_0x3d41bd(0x163)]({'withText':!0x0,'role':_0x3d41bd(0x15e)}),this[_0x3d41bd(0x16b)]=this[_0x3d41bd(0x15a)](),this[_0x3d41bd(0x16f)]({'attributes':{'class':[_0x3d41bd(0x169)],'aria-haspopup':!0x0,'aria-expanded':this[_0x3d41bd(0x165)]['to'](_0x3d41bd(0x161),_0x5b18b4=>String(_0x5b18b4)),'data-cke-tooltip-disabled':_0x528c3b['to'](_0x3d41bd(0x161))},'on':{'mouseenter':_0x528c3b['to'](_0x3d41bd(0x15c))}});}[_0x14ac84(0x16a)](){const _0x1beaf5=_0x14ac84;super[_0x1beaf5(0x16a)](),this[_0x1beaf5(0x15b)][_0x1beaf5(0x162)](this[_0x1beaf5(0x16b)]);}[_0x14ac84(0x15a)](){const _0x45169d=_0x14ac84,_0xb6b45e=new _0x55f3a4();return _0xb6b45e[_0x45169d(0x15d)]=_0x2dc7c4,_0xb6b45e[_0x45169d(0x16f)]({'attributes':{'class':_0x45169d(0x16d)}}),_0xb6b45e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36850a=_0x3389;(function(_0x226d6c,_0x51119b){const _0x23205f=_0x3389,_0x43755a=_0x226d6c();while(!![]){try{const _0x41f61c=-parseInt(_0x23205f(0x96))/0x1*(parseInt(_0x23205f(0xb6))/0x2)+parseInt(_0x23205f(0x76))/0x3*(-parseInt(_0x23205f(0x99))/0x4)+parseInt(_0x23205f(0x8e))/0x5+parseInt(_0x23205f(0xa0))/0x6+parseInt(_0x23205f(0x82))/0x7*(parseInt(_0x23205f(0x87))/0x8)+-parseInt(_0x23205f(0x7b))/0x9*(parseInt(_0x23205f(0xae))/0xa)+-parseInt(_0x23205f(0x9a))/0xb;if(_0x41f61c===_0x51119b)break;else _0x43755a['push'](_0x43755a['shift']());}catch(_0x3ab1e9){_0x43755a['push'](_0x43755a['shift']());}}}(_0x230c,0x8522e));function _0x230c(){const _0x538ffb=['confident','spanish','german','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','russian','5018315bGbYPM','portuguese','Translate\x20the\x20text\x20into\x20another\x20language.','english','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','longer','Italian','french','10cOmvMe','Portuguese','Korean','4eqagbs','1522048PCAXrW','language','French','Longer','japanese','Adjust\x20tone\x20and\x20style','1822428wJCovF','Adjust\x20length','make-tone','Friendly','Confident','professional','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','friendly','Japanese','dropdown','shorter','Readability','Professional','Custom\x20command','293510BwSrKR','italian','translate','clarity','custom','korean','make','Russian','115716zHEptP','Clarity','Translate','Direct','English','49929gCMziG','readability','chinese','Shorter','Casual','144tfAjpn','Correctness','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','German','direct','correctness','257327sQqNFb','Chinese\x20(Simplified)','casual','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Spanish','96FpvTZz','Select\x20language'];_0x230c=function(){return _0x538ffb;};return _0x230c();}function _0x3389(_0x164203,_0x202978){const _0x230c1f=_0x230c();return _0x3389=function(_0x338944,_0x409549){_0x338944=_0x338944-0x73;let _0x43ac63=_0x230c1f[_0x338944];return _0x43ac63;},_0x3389(_0x164203,_0x202978);}export const AI_REVIEW_CHECKS=[{'id':_0x36850a(0xb2),'title':_0x36850a(0xad),'description':_0x36850a(0x85),'isParameterized':!0x0},{'id':_0x36850a(0x81),'title':_0x36850a(0x7c),'description':_0x36850a(0x7d),'isParameterized':!0x1},{'id':_0x36850a(0xb1),'title':_0x36850a(0xb7),'description':_0x36850a(0xa6),'isParameterized':!0x1},{'id':_0x36850a(0x77),'title':_0x36850a(0xab),'description':_0x36850a(0x7e),'isParameterized':!0x1},{'id':_0x36850a(0xb4),'title':_0x36850a(0xa1),'description':_0x36850a(0x8c),'isParameterized':!0x0,'options':[{'formType':_0x36850a(0xa9),'label':_0x36850a(0xa1),'default':_0x36850a(0x93),'data':[{'label':_0x36850a(0x9d),'id':_0x36850a(0x93)},{'label':_0x36850a(0x79),'id':_0x36850a(0xaa)}]}]},{'id':_0x36850a(0xa2),'title':_0x36850a(0x9f),'description':_0x36850a(0x92),'isParameterized':!0x0,'options':[{'formType':_0x36850a(0xa9),'label':_0x36850a(0x9f),'default':_0x36850a(0x84),'data':[{'label':_0x36850a(0x7a),'id':_0x36850a(0x84)},{'label':_0x36850a(0x74),'id':_0x36850a(0x80)},{'label':_0x36850a(0xa3),'id':_0x36850a(0xa7)},{'label':_0x36850a(0xa4),'id':_0x36850a(0x89)},{'label':_0x36850a(0xac),'id':_0x36850a(0xa5)}]}]},{'id':_0x36850a(0xb0),'title':_0x36850a(0x73),'description':_0x36850a(0x90),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x36850a(0xa9),'label':_0x36850a(0x88),'argsKey':_0x36850a(0x9b),'data':[{'label':_0x36850a(0x75),'id':_0x36850a(0x91)},{'label':_0x36850a(0x86),'id':_0x36850a(0x8a)},{'label':_0x36850a(0x9c),'id':_0x36850a(0x95)},{'label':_0x36850a(0x7f),'id':_0x36850a(0x8b)},{'label':_0x36850a(0x83),'id':_0x36850a(0x78)},{'label':_0x36850a(0xa8),'id':_0x36850a(0x9e)},{'label':_0x36850a(0xb5),'id':_0x36850a(0x8d)},{'label':_0x36850a(0x97),'id':_0x36850a(0x8f)},{'label':_0x36850a(0x98),'id':_0x36850a(0xb3)},{'label':_0x36850a(0x94),'id':_0x36850a(0xaf)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x27aa(_0x529347,_0x2bc911){var _0x40d991=_0x40d9();return _0x27aa=function(_0x27aa28,_0x5ac8a9){_0x27aa28=_0x27aa28-0x95;var _0x477c15=_0x40d991[_0x27aa28];return _0x477c15;},_0x27aa(_0x529347,_0x2bc911);}var _0x35ebae=_0x27aa;(function(_0x5e14e5,_0x1ed656){var _0x1ebe0f=_0x27aa,_0x1006e2=_0x5e14e5();while(!![]){try{var _0x4a41d8=parseInt(_0x1ebe0f(0xa0))/0x1*(-parseInt(_0x1ebe0f(0x96))/0x2)+-parseInt(_0x1ebe0f(0xa3))/0x3*(parseInt(_0x1ebe0f(0x9b))/0x4)+-parseInt(_0x1ebe0f(0x97))/0x5*(-parseInt(_0x1ebe0f(0x9a))/0x6)+-parseInt(_0x1ebe0f(0x99))/0x7*(parseInt(_0x1ebe0f(0xa4))/0x8)+parseInt(_0x1ebe0f(0x95))/0x9+-parseInt(_0x1ebe0f(0x9f))/0xa+-parseInt(_0x1ebe0f(0x9e))/0xb*(-parseInt(_0x1ebe0f(0xa5))/0xc);if(_0x4a41d8===_0x1ed656)break;else _0x1006e2['push'](_0x1006e2['shift']());}catch(_0x2bca8d){_0x1006e2['push'](_0x1006e2['shift']());}}}(_0x40d9,0xd4334));import{ContextPlugin as _0xb8a7c1}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4a0381}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x1aca1e}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x2fc68a}from'./aireviewmodeediting.js';export class AIReviewMode extends _0xb8a7c1{static get[_0x35ebae(0x9c)](){return[_0x4a0381,_0x1aca1e,_0x2fc68a];}static get[_0x35ebae(0xa2)](){var _0x52ac41=_0x35ebae;return _0x52ac41(0x98);}static get[_0x35ebae(0x9d)](){return!0x0;}static get[_0x35ebae(0xa1)](){return!0x0;}}function _0x40d9(){var _0x44c740=['5805603LwzeKC','12GJyMBF','105ELBpry','AIReviewMode','5495sYJXwh','439782ZElOes','4011740CfBUUM','requires','isOfficialPlugin','25712599yhgZca','11067110pvSpPZ','108670aoSldc','isPremiumPlugin','pluginName','3JlwTMJ','9080tDfCNR','12iJFIps'];_0x40d9=function(){return _0x44c740;};return _0x40d9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x53acd7=_0x4284;(function(_0xba2752,_0x7862b3){const _0x2c6407=_0x4284,_0x2092f4=_0xba2752();while(!![]){try{const _0x508d21=parseInt(_0x2c6407(0x214))/0x1*(-parseInt(_0x2c6407(0x1a3))/0x2)+-parseInt(_0x2c6407(0x19a))/0x3*(parseInt(_0x2c6407(0x19f))/0x4)+-parseInt(_0x2c6407(0x1b6))/0x5*(-parseInt(_0x2c6407(0x21f))/0x6)+parseInt(_0x2c6407(0x1c7))/0x7*(-parseInt(_0x2c6407(0x249))/0x8)+parseInt(_0x2c6407(0x22f))/0x9+parseInt(_0x2c6407(0x221))/0xa+-parseInt(_0x2c6407(0x233))/0xb*(parseInt(_0x2c6407(0x209))/0xc);if(_0x508d21===_0x7862b3)break;else _0x2092f4['push'](_0x2092f4['shift']());}catch(_0x3d0b2c){_0x2092f4['push'](_0x2092f4['shift']());}}}(_0x1a9f,0x4481a));import{ContextPlugin as _0x571685}from'ckeditor5/src/core.js';import{CKEditorError as _0x15b765,logError as _0x6b8020,scrollAncestorsToShowTarget as _0x17d38a,scrollViewportToShowTarget as _0x1aa580}from'ckeditor5/src/utils.js';import{AIConnector as _0xfb46}from'../aicore/aiconnector.js';function _0x4284(_0x56b842,_0x48ff86){const _0x1a9ffb=_0x1a9f();return _0x4284=function(_0x4284b1,_0x44a28c){_0x4284b1=_0x4284b1-0x191;let _0x33f1f2=_0x1a9ffb[_0x4284b1];return _0x33f1f2;},_0x4284(_0x56b842,_0x48ff86);}import{AIReviewCheckList as _0x149b33}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x34c8a8}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x40cbd8}from'./model/aireviewcustomcheckrun.js';function _0x1a9f(){const _0x49f3ef=['applyChange','AIReviewModeController','showActionsWhenResultIsReady','changeMarkerHovered','removeClass','hideChangeBalloon','setAvailableChecks','updateDocumentData','getCheckById','markChangePositionInEditorContent','args','_DESCRIPTION','getActiveChanges','getDocumentData','rejectChange','_isDiffOn','replaceAll','domElement','stopListening','find','isCustom','12ksbNQs','showReviewCheckList','.ck-ai-review-mode__check-run-result','dismissChange','content','init','click','retryReview','_aiReviewCheckList','config','isOfficialPlugin','1EkhycO','hover','changeMarkerRestored','panel','loading','toUpperCase','acceptChange','AI_MODEL_DESCRIPTION_','getChangeById','switchToReadOnly','_translateReviewChecks','596592MTRwVY','_logError','3959380FymsqH','abort','message','label','_getTranslationWithDefault','map','forceReadyState','model','startsWith','ai.reviewMode.translations','AIReviewModeEditing','emitter','custom','reviewCheckResultChangeStatusUpdated','3667518PIbpWI','_OPTIONS_LABEL','deactivateChange','ready','250459qsyrlo','showChunkErrorView','showReviewCompletedView','ai-request-aborted','updateChangeState','isAnyChangeActivated','changeId','isChangeActive','closest','toggleDiff','currentError','_onReviewModeRunLeave','documentData','view','markChangeAsAccepted','_aiConnector','getRoot','getChangeElement','leaveReviewMode','diffContent','showCheckRunResult','pluginName','361976dVtGbU','subTitle','showChangeBalloon','error-chunk','addClass','options','getDomRoot','isPremiumPlugin','getAll','prompt','ck-ai-review-mode-highlights','resetActiveStateInResults','_currentReviewCheckRun','74421qQRLji','removeCheckById','unmodified','AI_REVIEW_CHECK_','abortReviewStream','40mULmWd','plugins','clearAllMarkers','markAllChangesAsAccepted','593378sdNtcL','requires','reviewCheckRunUpdated','getReviewCheckList','status','_changeActivationSource','addResultChanges','runReviewCheck','showDiffInBalloon','AIConnector','ai-review-mode-source-check-not-found','showGeneralResultsErrorView','markChangeAsOutdated','reviewCheckResultAdded','domEvent','showNoChangesView','changeMarkerClick','aborted','error-general','25IRMTdB','change','params','contentNew','data','start','acceptAllChanges','includes','finishReview','getMarkerElementForChange','restart','ai-review-mode-check-run-failed','reviewCheckResultReady','result','source','AIReviewModeUI','description','70GBZefz','processedResultsCount','switchToEdit','ai-review-mode-check-run-general-error','ai-review-mode-models-unable-to-retrieve','showCheckRunResults','checks','ai-review-mode-check-run-chunk-error','markChangeAsRejected','length','document','changeMarkerBlurred','finished','contentInitial','changeMarkerRemoved','ck-ai-review-mode-diff','title','sendRating','ai-review-mode-no-current-check-run','_onDiffChange','showGeneralReviewModeErrorView','setCheckResultTitle','markChangeAsPending','reviewCheckResultActivated','locale','_aiReviewModeEditing','leaveReviewModeResultList','models','context','viewportOffset','translate','_TITLE','activateChange','listenTo','hasModifications','_OPTIONS_DATA_','editing','get','reviewCheckResultDeactivated','markerElement','setActiveStateInResults','getEditor','changes','hideDiffInBalloon','_aiReviewModeUi'];_0x1a9f=function(){return _0x49f3ef;};return _0x1a9f();}import{AIModels as _0x40acf2}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x1c6aa4}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x4f25f4}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x571685{[_0x53acd7(0x242)];[_0x53acd7(0x1f3)];[_0x53acd7(0x1e0)];[_0x53acd7(0x211)];[_0x53acd7(0x199)];[_0x53acd7(0x203)]=!0x1;[_0x53acd7(0x1a8)]=null;static get[_0x53acd7(0x1a4)](){return[_0xfb46];}static get[_0x53acd7(0x248)](){const _0x1974a0=_0x53acd7;return _0x1974a0(0x1f5);}static get[_0x53acd7(0x213)](){return!0x0;}static get[_0x53acd7(0x194)](){return!0x0;}async[_0x53acd7(0x20e)](){const _0x161e29=_0x53acd7;this[_0x161e29(0x242)]=this[_0x161e29(0x1e3)][_0x161e29(0x1a0)][_0x161e29(0x1ec)](_0x161e29(0x1ac)),this[_0x161e29(0x1f3)]=this[_0x161e29(0x1e3)][_0x161e29(0x1a0)][_0x161e29(0x1ec)](_0x161e29(0x1c5)),this[_0x161e29(0x1e0)]=this[_0x161e29(0x1e3)][_0x161e29(0x1a0)][_0x161e29(0x1ec)](_0x161e29(0x22b));const _0x5e96e8=this[_0x161e29(0x1e3)][_0x161e29(0x212)][_0x161e29(0x1ec)](_0x161e29(0x22a));if(_0x5e96e8){for(const _0x6cad3e of _0x1c6aa4)_0x161e29(0x1e5)===_0x6cad3e['id']&&(_0x6cad3e[_0x161e29(0x192)][0x0][_0x161e29(0x1ba)]=_0x5e96e8);}const _0x2bd86b=this[_0x161e29(0x21e)](_0x1c6aa4);this[_0x161e29(0x211)]=new _0x149b33(_0x2bd86b);const _0x38e9c8=this[_0x161e29(0x211)][_0x161e29(0x1cd)][_0x161e29(0x207)](_0x3ca887=>_0x161e29(0x22d)===_0x3ca887['id']);if(_0x38e9c8)try{const _0x13347d=await new _0x40acf2({'connector':this[_0x161e29(0x242)]})[_0x161e29(0x195)]();_0x38e9c8[_0x161e29(0x1e2)]=_0x13347d[_0x161e29(0x226)](_0x1d78fa=>({..._0x1d78fa,'description':this[_0x161e29(0x225)](_0x161e29(0x21b)+_0x1d78fa['id'][_0x161e29(0x219)](),_0x1d78fa[_0x161e29(0x1c6)])}));}catch(_0x3dd626){this[_0x161e29(0x211)][_0x161e29(0x19b)](_0x161e29(0x22d)),this[_0x161e29(0x220)](new _0x15b765(_0x161e29(0x1cb),this,{'error':_0x3dd626}));}this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x1a6),()=>{const _0x50d7a8=_0x161e29;this[_0x50d7a8(0x1f3)][_0x50d7a8(0x1fa)](this[_0x50d7a8(0x211)][_0x50d7a8(0x1cd)]);}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x1aa),async(_0x5075b8,_0x494870)=>{const _0x21b002=_0x161e29,_0x4fa803=this[_0x21b002(0x211)][_0x21b002(0x1fc)](_0x494870['id']);if(_0x4fa803){this[_0x21b002(0x1da)](this[_0x21b002(0x203)]),_0x494870[_0x21b002(0x208)]?this[_0x21b002(0x199)]=new _0x40cbd8(_0x494870[_0x21b002(0x1fe)][_0x21b002(0x196)],_0x494870[_0x21b002(0x1fe)][_0x21b002(0x228)],this[_0x21b002(0x1e0)][_0x21b002(0x201)](),_0x4fa803,this[_0x21b002(0x242)]):this[_0x21b002(0x199)]=new _0x34c8a8(this[_0x21b002(0x1e0)][_0x21b002(0x201)](),_0x4fa803,this[_0x21b002(0x242)],_0x494870[_0x21b002(0x1b8)],_0x494870[_0x21b002(0x1fe)]),this[_0x21b002(0x1f3)][_0x21b002(0x1dc)](this[_0x21b002(0x199)][_0x21b002(0x1d7)],this[_0x21b002(0x199)][_0x21b002(0x24a)]),this[_0x21b002(0x199)]['on'](_0x21b002(0x1a5),(_0x5542ff,_0x1c45bb)=>{const _0x236561=_0x21b002;_0x236561(0x1ba)===_0x1c45bb[_0x236561(0x1a7)]||_0x236561(0x218)===_0x1c45bb[_0x236561(0x1a7)]?(this[_0x236561(0x1e0)][_0x236561(0x21d)](),this[_0x236561(0x1f3)][_0x236561(0x1cc)](_0x1c45bb)):_0x236561(0x1d3)===_0x1c45bb[_0x236561(0x1a7)]?this[_0x236561(0x1f3)][_0x236561(0x235)]():_0x236561(0x232)===_0x1c45bb[_0x236561(0x1a7)]?this[_0x236561(0x1f3)][_0x236561(0x1f6)]():_0x236561(0x19c)===_0x1c45bb[_0x236561(0x1a7)]?this[_0x236561(0x1f3)][_0x236561(0x1b2)]():_0x236561(0x1b5)===_0x1c45bb[_0x236561(0x1a7)]?(this[_0x236561(0x1f3)][_0x236561(0x1ae)](),this[_0x236561(0x220)](new _0x15b765(_0x236561(0x1ca),this,this[_0x236561(0x199)]?.[_0x236561(0x23d)]))):_0x236561(0x24c)===_0x1c45bb[_0x236561(0x1a7)]?(this[_0x236561(0x1f3)][_0x236561(0x234)](),this[_0x236561(0x220)](new _0x15b765(_0x236561(0x1ce),this,this[_0x236561(0x199)]?.[_0x236561(0x23d)]))):_0x236561(0x1b4)===_0x1c45bb[_0x236561(0x1a7)]&&(this[_0x236561(0x199)]&&this[_0x236561(0x199)][_0x236561(0x1c8)]>0x0?setTimeout(()=>{const _0x1875ea=_0x236561;this[_0x1875ea(0x199)]?.[_0x1875ea(0x227)]();},0x0):this[_0x236561(0x23e)](!0x0)),_0x236561(0x232)!==_0x1c45bb[_0x236561(0x1a7)]&&_0x236561(0x24c)!==_0x1c45bb[_0x236561(0x1a7)]&&_0x236561(0x1b5)!==_0x1c45bb[_0x236561(0x1a7)]||this[_0x236561(0x199)]?.[_0x236561(0x1d8)]();}),this[_0x21b002(0x199)]['on'](_0x21b002(0x1b0),(_0x38f376,_0x2cf93d)=>{const _0x490e90=_0x21b002;if(!this[_0x490e90(0x199)])throw new _0x15b765(_0x490e90(0x1d9),this);const _0x216929=this[_0x490e90(0x1e0)][_0x490e90(0x246)](_0x2cf93d[_0x490e90(0x1c3)][_0x490e90(0x1d4)],_0x2cf93d[_0x490e90(0x1c3)][_0x490e90(0x1b9)]);_0x2cf93d[_0x490e90(0x1c4)][_0x490e90(0x1a9)](_0x2cf93d[_0x490e90(0x1c3)]['id'],_0x216929);}),this[_0x21b002(0x199)]['on'](_0x21b002(0x1c2),(_0x3751bf,_0x54e8f4)=>{const _0x286dc2=_0x21b002;for(const _0x16ece5 of _0x54e8f4[_0x286dc2(0x1f1)])this[_0x286dc2(0x1f3)][_0x286dc2(0x247)](_0x16ece5);this[_0x286dc2(0x1e0)][_0x286dc2(0x1fd)](_0x54e8f4[_0x286dc2(0x1f1)],_0x54e8f4[_0x286dc2(0x1c4)][_0x286dc2(0x23f)]);}),this[_0x21b002(0x199)]['on'](_0x21b002(0x22e),(_0x1b0c00,_0x1b11cf)=>{const _0x388519=_0x21b002;this[_0x388519(0x1f3)][_0x388519(0x237)](_0x1b11cf[_0x388519(0x1b7)]['id'],_0x1b11cf[_0x388519(0x1a7)]);}),this[_0x21b002(0x199)]['on'](_0x21b002(0x1de),(_0x3cbc8b,_0x1b32f9)=>{const _0x30d123=_0x21b002;this[_0x30d123(0x1f3)][_0x30d123(0x1ef)](_0x1b32f9[_0x30d123(0x1b7)]['id']);const _0x55c717=this[_0x30d123(0x1e0)][_0x30d123(0x1bf)](_0x1b32f9[_0x30d123(0x1b7)]['id']);if(!_0x55c717)return;if(_0x30d123(0x20d)===this[_0x30d123(0x1a8)]){const _0x1c2060=this[_0x30d123(0x1f3)][_0x30d123(0x244)](_0x1b32f9[_0x30d123(0x1b7)]['id']);_0x1c2060&&_0x17d38a(_0x1c2060[_0x30d123(0x23b)](_0x30d123(0x20b))||_0x1c2060);}else{if(_0x30d123(0x217)===this[_0x30d123(0x1a8)]){const _0x1e3a0e={'target':_0x55c717[_0x30d123(0x205)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x1aa580(_0x1e3a0e);}}const _0x54049b=this[_0x30d123(0x1e0)][_0x30d123(0x1f0)]();this[_0x30d123(0x1f3)][_0x30d123(0x24b)](_0x1b32f9[_0x30d123(0x1b7)],_0x55c717[_0x30d123(0x205)],void 0x0,_0x30d123(0x20f),_0x54049b?.[_0x30d123(0x1eb)]?.[_0x30d123(0x240)]?.[_0x30d123(0x193)](),_0x54049b?.['ui']?.[_0x30d123(0x1e4)]);}),this[_0x21b002(0x199)]['on'](_0x21b002(0x1ed),()=>{const _0x317e26=_0x21b002;this[_0x317e26(0x1f3)][_0x317e26(0x198)](),this[_0x317e26(0x1f3)][_0x317e26(0x1f9)]();});try{await this[_0x21b002(0x199)][_0x21b002(0x1bb)]();}catch(_0x3e7797){_0x3e7797 instanceof Error&&_0x3e7797[_0x21b002(0x223)][_0x21b002(0x1bd)](_0x21b002(0x236))||(_0x3e7797 instanceof _0x15b765?this[_0x21b002(0x220)](_0x3e7797):this[_0x21b002(0x220)](new _0x15b765(_0x21b002(0x1c1),this,{'error':_0x3e7797})));}}else this[_0x21b002(0x220)](new _0x15b765(_0x21b002(0x1ad),this,{'checkId':_0x494870['id']}));}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x245),()=>{const _0x521259=_0x161e29;this[_0x521259(0x23e)]();}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x1e1),()=>{const _0x329529=_0x161e29;this[_0x329529(0x23e)](!0x0);}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x19e),()=>{const _0x1106a0=_0x161e29;this[_0x1106a0(0x199)]&&this[_0x1106a0(0x199)][_0x1106a0(0x222)]();}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x1be),()=>{const _0x261e16=_0x161e29;this[_0x261e16(0x23e)](!0x0);}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x1bc),()=>{const _0x472fd5=_0x161e29;if(!this[_0x472fd5(0x199)])return;const _0x7d1003=this[_0x472fd5(0x199)][_0x472fd5(0x200)]();_0x7d1003[_0x472fd5(0x1d0)]&&(this[_0x472fd5(0x1e0)][_0x472fd5(0x1f4)](_0x7d1003[_0x472fd5(0x226)](_0x402bd5=>_0x402bd5['id'])),this[_0x472fd5(0x199)][_0x472fd5(0x1a2)](),this[_0x472fd5(0x199)][_0x472fd5(0x1d8)]());}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x21a),(_0x23789d,_0x523a57)=>{const _0x3f019e=_0x161e29;this[_0x3f019e(0x199)]&&this[_0x3f019e(0x199)][_0x3f019e(0x23a)](_0x523a57['id'])&&(this[_0x3f019e(0x1e0)][_0x3f019e(0x1f4)]([_0x523a57['id']]),this[_0x3f019e(0x199)][_0x3f019e(0x241)](_0x523a57['id']),this[_0x3f019e(0x1f3)][_0x3f019e(0x1f9)](),this[_0x3f019e(0x199)][_0x3f019e(0x1d8)](_0x523a57['id']));}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x20c),(_0x1adc3b,_0x1fd502)=>{const _0x5a0024=_0x161e29;this[_0x5a0024(0x199)]&&this[_0x5a0024(0x199)][_0x5a0024(0x23a)](_0x1fd502['id'])&&(this[_0x5a0024(0x1e0)][_0x5a0024(0x202)](_0x1fd502['id']),this[_0x5a0024(0x199)][_0x5a0024(0x1cf)](_0x1fd502['id']),this[_0x5a0024(0x1f3)][_0x5a0024(0x1f9)](),this[_0x5a0024(0x199)][_0x5a0024(0x1d8)](_0x1fd502['id']));}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x23c),(_0x5734a6,_0xca454a)=>{const _0x171f57=_0x161e29;this[_0x171f57(0x203)]=_0xca454a['on'],this[_0x171f57(0x1da)](this[_0x171f57(0x203)]);}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x210),async()=>{const _0x15fea2=_0x161e29;this[_0x15fea2(0x199)]&&(this[_0x15fea2(0x1e0)][_0x15fea2(0x1a1)](),this[_0x15fea2(0x199)][_0x15fea2(0x1fb)](this[_0x15fea2(0x1e0)][_0x15fea2(0x201)]()),await this[_0x15fea2(0x199)][_0x15fea2(0x1c0)]());}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x1e7),(_0xf7c18,_0x22438c)=>{const _0x452243=_0x161e29;this[_0x452243(0x199)]&&(this[_0x452243(0x1a8)]=_0x452243(0x217),this[_0x452243(0x199)][_0x452243(0x1e7)](_0x22438c['id']));}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1f3)],_0x161e29(0x231),()=>{const _0x4202ee=_0x161e29;this[_0x4202ee(0x199)]&&this[_0x4202ee(0x199)][_0x4202ee(0x231)]();}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1e0)][_0x161e29(0x22c)],_0x161e29(0x1b3),(_0x26eb92,_0x51bb4b)=>{const _0x48a32a=_0x161e29;if(!this[_0x48a32a(0x199)])return;this[_0x48a32a(0x1a8)]=_0x48a32a(0x20d),this[_0x48a32a(0x199)][_0x48a32a(0x1e7)](_0x51bb4b[_0x48a32a(0x239)]);const _0x32a40f=this[_0x48a32a(0x199)][_0x48a32a(0x21c)](_0x51bb4b[_0x48a32a(0x239)]);if(!_0x32a40f)return;const _0x2cafe0=this[_0x48a32a(0x1e0)][_0x48a32a(0x1f0)]();this[_0x48a32a(0x1f3)][_0x48a32a(0x24b)](_0x32a40f,_0x51bb4b[_0x48a32a(0x1ee)],_0x51bb4b[_0x48a32a(0x1b1)],_0x48a32a(0x20f),_0x2cafe0?.[_0x48a32a(0x1eb)]?.[_0x48a32a(0x240)]?.[_0x48a32a(0x193)](),_0x2cafe0?.['ui']?.[_0x48a32a(0x1e4)]);}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1e0)][_0x161e29(0x22c)],_0x161e29(0x1f7),(_0x22bf1e,_0x45587c)=>{const _0x189a26=_0x161e29;if(!this[_0x189a26(0x199)])return;if(this[_0x189a26(0x199)][_0x189a26(0x238)]())return;const _0x4c9e29=this[_0x189a26(0x199)][_0x189a26(0x21c)](_0x45587c[_0x189a26(0x239)]);if(!_0x4c9e29)return;const _0x3a53f2=this[_0x189a26(0x1e0)][_0x189a26(0x1f0)]();this[_0x189a26(0x1f3)][_0x189a26(0x24b)](_0x4c9e29,_0x45587c[_0x189a26(0x1ee)],_0x45587c[_0x189a26(0x1b1)],_0x189a26(0x215),_0x3a53f2?.[_0x189a26(0x1eb)]?.[_0x189a26(0x240)]?.[_0x189a26(0x193)](),_0x3a53f2?.['ui']?.[_0x189a26(0x1e4)]);}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1e0)][_0x161e29(0x22c)],_0x161e29(0x1d2),()=>{const _0x521907=_0x161e29;if(!this[_0x521907(0x199)])return;this[_0x521907(0x199)][_0x521907(0x238)]()||this[_0x521907(0x1f3)][_0x521907(0x1f9)]();}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1e0)][_0x161e29(0x22c)],_0x161e29(0x1d5),(_0x207cea,_0x415596)=>{const _0x30ec7c=_0x161e29;this[_0x30ec7c(0x199)]&&this[_0x30ec7c(0x199)][_0x30ec7c(0x1af)](_0x415596[_0x30ec7c(0x239)]);}),this[_0x161e29(0x1e8)](this[_0x161e29(0x1e0)][_0x161e29(0x22c)],_0x161e29(0x216),(_0x3e7e48,_0x5b32a9)=>{const _0x300ded=_0x161e29;this[_0x300ded(0x199)]&&this[_0x300ded(0x199)][_0x300ded(0x1dd)](_0x5b32a9[_0x300ded(0x239)]);});}[_0x53acd7(0x23e)](_0x4e48ae=!0x1){const _0x4986f3=_0x53acd7;this[_0x4986f3(0x199)]&&(this[_0x4986f3(0x199)][_0x4986f3(0x1e9)]||this[_0x4986f3(0x199)][_0x4986f3(0x1d8)](),this[_0x4986f3(0x199)][_0x4986f3(0x206)](),this[_0x4986f3(0x199)][_0x4986f3(0x222)](),this[_0x4986f3(0x199)]=void 0x0),_0x4e48ae&&this[_0x4986f3(0x1f3)][_0x4986f3(0x20a)](),this[_0x4986f3(0x1e0)][_0x4986f3(0x1a1)](),this[_0x4986f3(0x1e0)][_0x4986f3(0x1c9)](),this[_0x4986f3(0x1a8)]=null;const _0x471da8=this[_0x4986f3(0x1e0)][_0x4986f3(0x1f0)]();_0x471da8&&_0x471da8[_0x4986f3(0x1eb)][_0x4986f3(0x240)][_0x4986f3(0x1b7)](_0x3b8541=>{const _0x5a9fad=_0x4986f3,_0x4a44bf=_0x471da8[_0x5a9fad(0x1eb)][_0x5a9fad(0x240)][_0x5a9fad(0x1d1)][_0x5a9fad(0x243)]();_0x3b8541[_0x5a9fad(0x1f8)](_0x5a9fad(0x1d6),_0x4a44bf),_0x3b8541[_0x5a9fad(0x1f8)](_0x5a9fad(0x197),_0x4a44bf);});}[_0x53acd7(0x1da)](_0x2f2c5e){const _0x3803e7=_0x53acd7,_0x113bb0=this[_0x3803e7(0x1e0)][_0x3803e7(0x1f0)]();_0x2f2c5e?this[_0x3803e7(0x1f3)][_0x3803e7(0x1f2)]():this[_0x3803e7(0x1f3)][_0x3803e7(0x1ab)](),_0x113bb0&&_0x113bb0[_0x3803e7(0x1eb)][_0x3803e7(0x240)][_0x3803e7(0x1b7)](_0x5e1c42=>{const _0x454b6a=_0x3803e7,_0x5dee45=_0x113bb0[_0x454b6a(0x1eb)][_0x454b6a(0x240)][_0x454b6a(0x1d1)][_0x454b6a(0x243)]();_0x5e1c42[_0x454b6a(0x1f8)](_0x454b6a(0x1d6),_0x5dee45),_0x5e1c42[_0x454b6a(0x1f8)](_0x454b6a(0x197),_0x5dee45),_0x5e1c42[_0x454b6a(0x191)](_0x2f2c5e?_0x454b6a(0x1d6):_0x454b6a(0x197),_0x5dee45);});}[_0x53acd7(0x21e)](_0x2f59a1){const _0x44958b=_0x53acd7;return _0x2f59a1[_0x44958b(0x226)](_0x477929=>{const _0x3419f5=_0x44958b,_0x16324f=_0x3419f5(0x19d)+_0x477929['id'][_0x3419f5(0x219)]()[_0x3419f5(0x204)]('-','_'),_0x383cc2={..._0x477929,'title':this[_0x3419f5(0x225)](_0x16324f+_0x3419f5(0x1e6),_0x477929[_0x3419f5(0x1d7)]),'description':this[_0x3419f5(0x225)](_0x16324f+_0x3419f5(0x1ff),_0x477929[_0x3419f5(0x1c6)])};return _0x477929[_0x3419f5(0x192)]&&(_0x383cc2[_0x3419f5(0x192)]=_0x477929[_0x3419f5(0x192)][_0x3419f5(0x226)](_0x2c29f3=>({..._0x2c29f3,'label':this[_0x3419f5(0x225)](_0x16324f+_0x3419f5(0x230),_0x2c29f3[_0x3419f5(0x224)]||''),'data':_0x2c29f3[_0x3419f5(0x1ba)]?_0x2c29f3[_0x3419f5(0x1ba)][_0x3419f5(0x226)](_0x373374=>({..._0x373374,'label':this[_0x3419f5(0x225)](_0x16324f+_0x3419f5(0x1ea)+_0x373374['id'][_0x3419f5(0x219)](),_0x373374[_0x3419f5(0x224)])})):void 0x0}))),_0x383cc2;});}[_0x53acd7(0x225)](_0x5a7e7d,_0x24ea29){const _0xfe66cc=_0x53acd7,_0x3238bb=this[_0xfe66cc(0x1e3)][_0xfe66cc(0x1df)],_0x38ac02=_0x4f25f4(_0x3238bb,_0x5a7e7d);return _0x38ac02===_0x5a7e7d?_0x24ea29:_0x38ac02;}[_0x53acd7(0x220)](_0x443562){const _0x12467f=_0x53acd7;_0x6b8020(_0x443562[_0x12467f(0x223)]),_0x443562[_0x12467f(0x223)][_0x12467f(0x229)](_0x12467f(0x1cb))?this[_0x12467f(0x1f3)][_0x12467f(0x1db)]():this[_0x12467f(0x1f3)][_0x12467f(0x1ae)]();}}
|
|
23
|
+
const _0x194321=_0x41aa;(function(_0x55cd70,_0xa792b1){const _0x1cde5e=_0x41aa,_0x54b9dc=_0x55cd70();while(!![]){try{const _0x179727=parseInt(_0x1cde5e(0xed))/0x1+-parseInt(_0x1cde5e(0x15c))/0x2*(-parseInt(_0x1cde5e(0xe2))/0x3)+-parseInt(_0x1cde5e(0xda))/0x4+parseInt(_0x1cde5e(0x12a))/0x5*(parseInt(_0x1cde5e(0x12b))/0x6)+-parseInt(_0x1cde5e(0x126))/0x7+parseInt(_0x1cde5e(0xc5))/0x8+-parseInt(_0x1cde5e(0xfc))/0x9*(parseInt(_0x1cde5e(0x107))/0xa);if(_0x179727===_0xa792b1)break;else _0x54b9dc['push'](_0x54b9dc['shift']());}catch(_0x1073ec){_0x54b9dc['push'](_0x54b9dc['shift']());}}}(_0x4bd6,0x31571));import{ContextPlugin as _0x132788}from'ckeditor5/src/core.js';import{CKEditorError as _0x9abc00,logError as _0xc23960,scrollAncestorsToShowTarget as _0x3e1db1,scrollViewportToShowTarget as _0x44e873}from'ckeditor5/src/utils.js';import{AIConnector as _0x289a33}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3458a5}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x46444a}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x5c5569}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x5c8a0a}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x3e865f}from'./aireviewcheckdefinitions.js';function _0x4bd6(){const _0x44f267=['aborted','ready','start','getRoot','startsWith','updateChangeState','prompt','label','showReviewCompletedView','reviewCheckResultAdded','map','getEditor','domEvent','init','showCheckRunResults','hideDiffInBalloon','locale','clearAllMarkers','markChangeAsAccepted','abort','getChangeById','leaveReviewMode','changeMarkerBlurred','error-chunk','switchToEdit','getChangeElement','getActiveChanges','removeCheckById','acceptAllChanges','showNoChangesView','contentInitial','requires','updateDocumentData','removeClass','pluginName','sendRating','viewportOffset','515062hjKjlm','setCheckResultTitle','document','closest','_aiReviewModeEditing','markerElement','_onDiffChange','ck-ai-review-mode-highlights','ai-review-mode-no-current-check-run','AI_MODEL_DESCRIPTION_','ai-review-mode-source-check-not-found','_OPTIONS_DATA_','processedResultsCount','isChangeActive','replaceAll','dismissChange','changeMarkerRestored','showGeneralReviewModeErrorView','_OPTIONS_LABEL','reviewCheckResultDeactivated','AIReviewModeController','data','currentError','rejectChange','markAllChangesAsAccepted','status','unmodified','AIReviewModeEditing','changes','view','abortReviewStream','getDomRoot','_currentReviewCheckRun','changeMarkerClick','isOfficialPlugin','2380496PKEOIr','toggleDiff','AI_REVIEW_CHECK_','_logError','isCustom','listenTo','resetActiveStateInResults','editing','plugins','forceReadyState','translate','length','stopListening','applyChange','content','showChangeBalloon','click','models','AIReviewModeUI','AIConnector','markChangeAsOutdated','1207268OKHVJG','getAll','title','finishReview','finished','contentNew','_onReviewModeRunLeave','markChangeAsPending','3BDIVvp','acceptChange','get','domElement','documentData','getMarkerElementForChange','_TITLE','options','getReviewCheckList','reviewCheckRunUpdated','retryReview','270260sydusx','ai-review-mode-check-run-failed','ai-review-mode-models-unable-to-retrieve','switchToReadOnly','params','restart','reviewCheckResultReady','addClass','getCheckById','hideChangeBalloon','_translateReviewChecks','showCheckRunResult','runReviewCheck','ck-ai-review-mode-diff','model','991152PyLjTn','_isDiffOn','getDocumentData','error-general','reviewCheckResultActivated','args','setActiveStateInResults','.ck-ai-review-mode__check-run-result','change','config','checks','10fsnrEl','_aiReviewModeUi','emitter','markChangePositionInEditorContent','ai-review-mode-check-run-chunk-error','isAnyChangeActivated','reviewCheckResultChangeStatusUpdated','result','leaveReviewModeResultList','_getTranslationWithDefault','custom','_aiConnector','panel','_aiReviewCheckList','activateChange','showGeneralResultsErrorView','subTitle','hover','addResultChanges','toUpperCase','setAvailableChecks','message','hasModifications','diffContent','ai.reviewMode.translations','markChangeAsRejected','source','showDiffInBalloon','ai-review-mode-check-run-general-error','changeMarkerHovered','showReviewCheckList','2520777eiglwZ','_DESCRIPTION','showChunkErrorView','find','1550FjLwxA','2880QylWhd','includes','loading','description','context','showActionsWhenResultIsReady','_changeActivationSource','deactivateChange','ai-request-aborted','isPremiumPlugin','changeMarkerRemoved','changeId'];_0x4bd6=function(){return _0x44f267;};return _0x4bd6();}import{getTranslation as _0x4c15b4}from'../aicore/utils/common-translations.js';function _0x41aa(_0x591fab,_0x4aef94){const _0x4bd659=_0x4bd6();return _0x41aa=function(_0x41aae0,_0xd1b0db){_0x41aae0=_0x41aae0-0xaa;let _0x909c3=_0x4bd659[_0x41aae0];return _0x909c3;},_0x41aa(_0x591fab,_0x4aef94);}export class AIReviewModeController extends _0x132788{[_0x194321(0x112)];[_0x194321(0x108)];[_0x194321(0x160)];[_0x194321(0x114)];[_0x194321(0xc2)];[_0x194321(0xfd)]=!0x1;[_0x194321(0x131)]=null;static get[_0x194321(0x156)](){return[_0x289a33];}static get[_0x194321(0x159)](){const _0x517025=_0x194321;return _0x517025(0xb6);}static get[_0x194321(0xc4)](){return!0x0;}static get[_0x194321(0x134)](){return!0x0;}async[_0x194321(0x144)](){const _0x5d1fcd=_0x194321;this[_0x5d1fcd(0x112)]=this[_0x5d1fcd(0x12f)][_0x5d1fcd(0xcd)][_0x5d1fcd(0xe4)](_0x5d1fcd(0xd8)),this[_0x5d1fcd(0x108)]=this[_0x5d1fcd(0x12f)][_0x5d1fcd(0xcd)][_0x5d1fcd(0xe4)](_0x5d1fcd(0xd7)),this[_0x5d1fcd(0x160)]=this[_0x5d1fcd(0x12f)][_0x5d1fcd(0xcd)][_0x5d1fcd(0xe4)](_0x5d1fcd(0xbd));const _0x447eaa=this[_0x5d1fcd(0x12f)][_0x5d1fcd(0x105)][_0x5d1fcd(0xe4)](_0x5d1fcd(0x11f));if(_0x447eaa){for(const _0x5db66c of _0x3e865f)_0x5d1fcd(0xcf)===_0x5db66c['id']&&(_0x5db66c[_0x5d1fcd(0xe9)][0x0][_0x5d1fcd(0xb7)]=_0x447eaa);}const _0x4fb78a=this[_0x5d1fcd(0xf7)](_0x3e865f);this[_0x5d1fcd(0x114)]=new _0x3458a5(_0x4fb78a);const _0x2b7be9=this[_0x5d1fcd(0x114)][_0x5d1fcd(0x106)][_0x5d1fcd(0x129)](_0x5b4d50=>_0x5d1fcd(0x111)===_0x5b4d50['id']);if(_0x2b7be9)try{const _0x4a483b=await new _0x5c8a0a({'connector':this[_0x5d1fcd(0x112)]})[_0x5d1fcd(0xdb)]();_0x2b7be9[_0x5d1fcd(0xd6)]=_0x4a483b[_0x5d1fcd(0x141)](_0xdeceb1=>({..._0xdeceb1,'description':this[_0x5d1fcd(0x110)](_0x5d1fcd(0xab)+_0xdeceb1['id'][_0x5d1fcd(0x11a)](),_0xdeceb1[_0x5d1fcd(0x12e)])}));}catch(_0x52dac2){this[_0x5d1fcd(0x114)][_0x5d1fcd(0x152)](_0x5d1fcd(0x111)),this[_0x5d1fcd(0xc8)](new _0x9abc00(_0x5d1fcd(0xef),this,{'error':_0x52dac2}));}this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0xea),()=>{const _0x2b3f98=_0x5d1fcd;this[_0x2b3f98(0x108)][_0x2b3f98(0x11b)](this[_0x2b3f98(0x114)][_0x2b3f98(0x106)]);}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0xf9),async(_0x2e9295,_0x170190)=>{const _0x2244f2=_0x5d1fcd,_0xb39bf0=this[_0x2244f2(0x114)][_0x2244f2(0xf5)](_0x170190['id']);if(_0xb39bf0){this[_0x2244f2(0x162)](this[_0x2244f2(0xfd)]),_0x170190[_0x2244f2(0xc9)]?this[_0x2244f2(0xc2)]=new _0x5c5569(_0x170190[_0x2244f2(0x101)][_0x2244f2(0x13d)],_0x170190[_0x2244f2(0x101)][_0x2244f2(0xfb)],this[_0x2244f2(0x160)][_0x2244f2(0xfe)](),_0xb39bf0,this[_0x2244f2(0x112)]):this[_0x2244f2(0xc2)]=new _0x46444a(this[_0x2244f2(0x160)][_0x2244f2(0xfe)](),_0xb39bf0,this[_0x2244f2(0x112)],_0x170190[_0x2244f2(0xf1)],_0x170190[_0x2244f2(0x101)]),this[_0x2244f2(0x108)][_0x2244f2(0x15d)](this[_0x2244f2(0xc2)][_0x2244f2(0xdc)],this[_0x2244f2(0xc2)][_0x2244f2(0x117)]),this[_0x2244f2(0xc2)]['on'](_0x2244f2(0xeb),(_0x3c582c,_0xdbf130)=>{const _0x1a8c67=_0x2244f2;_0x1a8c67(0xb7)===_0xdbf130[_0x1a8c67(0xbb)]||_0x1a8c67(0x12d)===_0xdbf130[_0x1a8c67(0xbb)]?(this[_0x1a8c67(0x160)][_0x1a8c67(0xf0)](),this[_0x1a8c67(0x108)][_0x1a8c67(0x145)](_0xdbf130)):_0x1a8c67(0xde)===_0xdbf130[_0x1a8c67(0xbb)]?this[_0x1a8c67(0x108)][_0x1a8c67(0x13f)]():_0x1a8c67(0x138)===_0xdbf130[_0x1a8c67(0xbb)]?this[_0x1a8c67(0x108)][_0x1a8c67(0x130)]():_0x1a8c67(0xbc)===_0xdbf130[_0x1a8c67(0xbb)]?this[_0x1a8c67(0x108)][_0x1a8c67(0x154)]():_0x1a8c67(0xff)===_0xdbf130[_0x1a8c67(0xbb)]?(this[_0x1a8c67(0x108)][_0x1a8c67(0x116)](),this[_0x1a8c67(0xc8)](new _0x9abc00(_0x1a8c67(0x123),this,this[_0x1a8c67(0xc2)]?.[_0x1a8c67(0xb8)]))):_0x1a8c67(0x14e)===_0xdbf130[_0x1a8c67(0xbb)]?(this[_0x1a8c67(0x108)][_0x1a8c67(0x128)](),this[_0x1a8c67(0xc8)](new _0x9abc00(_0x1a8c67(0x10b),this,this[_0x1a8c67(0xc2)]?.[_0x1a8c67(0xb8)]))):_0x1a8c67(0x137)===_0xdbf130[_0x1a8c67(0xbb)]&&(this[_0x1a8c67(0xc2)]&&this[_0x1a8c67(0xc2)][_0x1a8c67(0xae)]>0x0?setTimeout(()=>{const _0xf8f84b=_0x1a8c67;this[_0xf8f84b(0xc2)]?.[_0xf8f84b(0xce)]();},0x0):this[_0x1a8c67(0xe0)](!0x0)),_0x1a8c67(0x138)!==_0xdbf130[_0x1a8c67(0xbb)]&&_0x1a8c67(0x14e)!==_0xdbf130[_0x1a8c67(0xbb)]&&_0x1a8c67(0xff)!==_0xdbf130[_0x1a8c67(0xbb)]||this[_0x1a8c67(0xc2)]?.[_0x1a8c67(0x15a)]();}),this[_0x2244f2(0xc2)]['on'](_0x2244f2(0x140),(_0x3b2dbc,_0x142345)=>{const _0x3ce560=_0x2244f2;if(!this[_0x3ce560(0xc2)])throw new _0x9abc00(_0x3ce560(0xaa),this);const _0x40465d=this[_0x3ce560(0x160)][_0x3ce560(0x11e)](_0x142345[_0x3ce560(0x10e)][_0x3ce560(0x155)],_0x142345[_0x3ce560(0x10e)][_0x3ce560(0xdf)]);_0x142345[_0x3ce560(0x121)][_0x3ce560(0x119)](_0x142345[_0x3ce560(0x10e)]['id'],_0x40465d);}),this[_0x2244f2(0xc2)]['on'](_0x2244f2(0xf3),(_0x5ee6c7,_0x51f93b)=>{const _0x36efd1=_0x2244f2;for(const _0x5814b3 of _0x51f93b[_0x36efd1(0xbe)])this[_0x36efd1(0x108)][_0x36efd1(0xf8)](_0x5814b3);this[_0x36efd1(0x160)][_0x36efd1(0x10a)](_0x51f93b[_0x36efd1(0xbe)],_0x51f93b[_0x36efd1(0x121)][_0x36efd1(0xe6)]);}),this[_0x2244f2(0xc2)]['on'](_0x2244f2(0x10d),(_0x45fc76,_0x546750)=>{const _0x35cc8=_0x2244f2;this[_0x35cc8(0x108)][_0x35cc8(0x13c)](_0x546750[_0x35cc8(0x104)]['id'],_0x546750[_0x35cc8(0xbb)]);}),this[_0x2244f2(0xc2)]['on'](_0x2244f2(0x100),(_0x527f5f,_0x3ad6a7)=>{const _0x342152=_0x2244f2;this[_0x342152(0x108)][_0x342152(0x102)](_0x3ad6a7[_0x342152(0x104)]['id']);const _0x194da1=this[_0x342152(0x160)][_0x342152(0xe7)](_0x3ad6a7[_0x342152(0x104)]['id']);if(!_0x194da1)return;if(_0x342152(0xd3)===this[_0x342152(0x131)]){const _0x2ec4d7=this[_0x342152(0x108)][_0x342152(0x150)](_0x3ad6a7[_0x342152(0x104)]['id']);_0x2ec4d7&&_0x3e1db1(_0x2ec4d7[_0x342152(0x15f)](_0x342152(0x103))||_0x2ec4d7);}else{if(_0x342152(0x113)===this[_0x342152(0x131)]){const _0x1971db={'target':_0x194da1[_0x342152(0xe5)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x44e873(_0x1971db);}}const _0xbec013=this[_0x342152(0x160)][_0x342152(0x142)]();this[_0x342152(0x108)][_0x342152(0xd4)](_0x3ad6a7[_0x342152(0x104)],_0x194da1[_0x342152(0xe5)],void 0x0,_0x342152(0xd5),_0xbec013?.[_0x342152(0xcc)]?.[_0x342152(0xbf)]?.[_0x342152(0xc1)](),_0xbec013?.['ui']?.[_0x342152(0x15b)]);}),this[_0x2244f2(0xc2)]['on'](_0x2244f2(0xb5),()=>{const _0x20d774=_0x2244f2;this[_0x20d774(0x108)][_0x20d774(0xcb)](),this[_0x20d774(0x108)][_0x20d774(0xf6)]();});try{await this[_0x2244f2(0xc2)][_0x2244f2(0x139)]();}catch(_0x2a1400){_0x2a1400 instanceof Error&&_0x2a1400[_0x2244f2(0x11c)][_0x2244f2(0x12c)](_0x2244f2(0x133))||(_0x2a1400 instanceof _0x9abc00?this[_0x2244f2(0xc8)](_0x2a1400):this[_0x2244f2(0xc8)](new _0x9abc00(_0x2244f2(0xee),this,{'error':_0x2a1400})));}}else this[_0x2244f2(0xc8)](new _0x9abc00(_0x2244f2(0xac),this,{'checkId':_0x170190['id']}));}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0x14c),()=>{const _0x24f77c=_0x5d1fcd;this[_0x24f77c(0xe0)]();}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0x10f),()=>{const _0x3d903d=_0x5d1fcd;this[_0x3d903d(0xe0)](!0x0);}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0xc0),()=>{const _0xcc143a=_0x5d1fcd;this[_0xcc143a(0xc2)]&&this[_0xcc143a(0xc2)][_0xcc143a(0x14a)]();}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0xdd),()=>{const _0x12d858=_0x5d1fcd;this[_0x12d858(0xe0)](!0x0);}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0x153),()=>{const _0xcccd05=_0x5d1fcd;if(!this[_0xcccd05(0xc2)])return;const _0xc2ee4b=this[_0xcccd05(0xc2)][_0xcccd05(0x151)]();_0xc2ee4b[_0xcccd05(0xd0)]&&(this[_0xcccd05(0x160)][_0xcccd05(0xd2)](_0xc2ee4b[_0xcccd05(0x141)](_0x53281d=>_0x53281d['id'])),this[_0xcccd05(0xc2)][_0xcccd05(0xba)](),this[_0xcccd05(0xc2)][_0xcccd05(0x15a)]());}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0xe3),(_0x3a4c3c,_0x19e54b)=>{const _0x3eecaf=_0x5d1fcd;this[_0x3eecaf(0xc2)]&&this[_0x3eecaf(0xc2)][_0x3eecaf(0xaf)](_0x19e54b['id'])&&(this[_0x3eecaf(0x160)][_0x3eecaf(0xd2)]([_0x19e54b['id']]),this[_0x3eecaf(0xc2)][_0x3eecaf(0x149)](_0x19e54b['id']),this[_0x3eecaf(0x108)][_0x3eecaf(0xf6)](),this[_0x3eecaf(0xc2)][_0x3eecaf(0x15a)](_0x19e54b['id']));}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0xb1),(_0x1fbc20,_0xd0b7ca)=>{const _0x3b0945=_0x5d1fcd;this[_0x3b0945(0xc2)]&&this[_0x3b0945(0xc2)][_0x3b0945(0xaf)](_0xd0b7ca['id'])&&(this[_0x3b0945(0x160)][_0x3b0945(0xb9)](_0xd0b7ca['id']),this[_0x3b0945(0xc2)][_0x3b0945(0x120)](_0xd0b7ca['id']),this[_0x3b0945(0x108)][_0x3b0945(0xf6)](),this[_0x3b0945(0xc2)][_0x3b0945(0x15a)](_0xd0b7ca['id']));}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0xc6),(_0x4053f6,_0x13fb29)=>{const _0x4fdcd3=_0x5d1fcd;this[_0x4fdcd3(0xfd)]=_0x13fb29['on'],this[_0x4fdcd3(0x162)](this[_0x4fdcd3(0xfd)]);}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0xec),async()=>{const _0x4e01a1=_0x5d1fcd;this[_0x4e01a1(0xc2)]&&(this[_0x4e01a1(0x160)][_0x4e01a1(0x148)](),this[_0x4e01a1(0xc2)][_0x4e01a1(0x157)](this[_0x4e01a1(0x160)][_0x4e01a1(0xfe)]()),await this[_0x4e01a1(0xc2)][_0x4e01a1(0xf2)]());}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0x115),(_0x335c6c,_0x421d79)=>{const _0x82bcbb=_0x5d1fcd;this[_0x82bcbb(0xc2)]&&(this[_0x82bcbb(0x131)]=_0x82bcbb(0x113),this[_0x82bcbb(0xc2)][_0x82bcbb(0x115)](_0x421d79['id']));}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x108)],_0x5d1fcd(0x132),()=>{const _0x422b8d=_0x5d1fcd;this[_0x422b8d(0xc2)]&&this[_0x422b8d(0xc2)][_0x422b8d(0x132)]();}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x160)][_0x5d1fcd(0x109)],_0x5d1fcd(0xc3),(_0x352071,_0x17afe8)=>{const _0x5cf4ea=_0x5d1fcd;if(!this[_0x5cf4ea(0xc2)])return;this[_0x5cf4ea(0x131)]=_0x5cf4ea(0xd3),this[_0x5cf4ea(0xc2)][_0x5cf4ea(0x115)](_0x17afe8[_0x5cf4ea(0x136)]);const _0x18e461=this[_0x5cf4ea(0xc2)][_0x5cf4ea(0x14b)](_0x17afe8[_0x5cf4ea(0x136)]);if(!_0x18e461)return;const _0x2237af=this[_0x5cf4ea(0x160)][_0x5cf4ea(0x142)]();this[_0x5cf4ea(0x108)][_0x5cf4ea(0xd4)](_0x18e461,_0x17afe8[_0x5cf4ea(0x161)],_0x17afe8[_0x5cf4ea(0x143)],_0x5cf4ea(0xd5),_0x2237af?.[_0x5cf4ea(0xcc)]?.[_0x5cf4ea(0xbf)]?.[_0x5cf4ea(0xc1)](),_0x2237af?.['ui']?.[_0x5cf4ea(0x15b)]);}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x160)][_0x5d1fcd(0x109)],_0x5d1fcd(0x124),(_0x4f7410,_0x92263)=>{const _0x66a54e=_0x5d1fcd;if(!this[_0x66a54e(0xc2)])return;if(this[_0x66a54e(0xc2)][_0x66a54e(0x10c)]())return;const _0x5d8939=this[_0x66a54e(0xc2)][_0x66a54e(0x14b)](_0x92263[_0x66a54e(0x136)]);if(!_0x5d8939)return;const _0x223c4e=this[_0x66a54e(0x160)][_0x66a54e(0x142)]();this[_0x66a54e(0x108)][_0x66a54e(0xd4)](_0x5d8939,_0x92263[_0x66a54e(0x161)],_0x92263[_0x66a54e(0x143)],_0x66a54e(0x118),_0x223c4e?.[_0x66a54e(0xcc)]?.[_0x66a54e(0xbf)]?.[_0x66a54e(0xc1)](),_0x223c4e?.['ui']?.[_0x66a54e(0x15b)]);}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x160)][_0x5d1fcd(0x109)],_0x5d1fcd(0x14d),()=>{const _0x117346=_0x5d1fcd;if(!this[_0x117346(0xc2)])return;this[_0x117346(0xc2)][_0x117346(0x10c)]()||this[_0x117346(0x108)][_0x117346(0xf6)]();}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x160)][_0x5d1fcd(0x109)],_0x5d1fcd(0x135),(_0x1aa542,_0x10b63f)=>{const _0x464cf5=_0x5d1fcd;this[_0x464cf5(0xc2)]&&this[_0x464cf5(0xc2)][_0x464cf5(0xd9)](_0x10b63f[_0x464cf5(0x136)]);}),this[_0x5d1fcd(0xca)](this[_0x5d1fcd(0x160)][_0x5d1fcd(0x109)],_0x5d1fcd(0xb2),(_0x2da41a,_0x252b90)=>{const _0x5cd0bc=_0x5d1fcd;this[_0x5cd0bc(0xc2)]&&this[_0x5cd0bc(0xc2)][_0x5cd0bc(0xe1)](_0x252b90[_0x5cd0bc(0x136)]);});}[_0x194321(0xe0)](_0x51f114=!0x1){const _0x5bbb67=_0x194321;this[_0x5bbb67(0xc2)]&&(this[_0x5bbb67(0xc2)][_0x5bbb67(0x11d)]||this[_0x5bbb67(0xc2)][_0x5bbb67(0x15a)](),this[_0x5bbb67(0xc2)][_0x5bbb67(0xd1)](),this[_0x5bbb67(0xc2)][_0x5bbb67(0x14a)](),this[_0x5bbb67(0xc2)]=void 0x0),_0x51f114&&this[_0x5bbb67(0x108)][_0x5bbb67(0x125)](),this[_0x5bbb67(0x160)][_0x5bbb67(0x148)](),this[_0x5bbb67(0x160)][_0x5bbb67(0x14f)](),this[_0x5bbb67(0x131)]=null;const _0x294f9d=this[_0x5bbb67(0x160)][_0x5bbb67(0x142)]();_0x294f9d&&_0x294f9d[_0x5bbb67(0xcc)][_0x5bbb67(0xbf)][_0x5bbb67(0x104)](_0x48337f=>{const _0x509144=_0x5bbb67,_0x4d3e80=_0x294f9d[_0x509144(0xcc)][_0x509144(0xbf)][_0x509144(0x15e)][_0x509144(0x13a)]();_0x48337f[_0x509144(0x158)](_0x509144(0xfa),_0x4d3e80),_0x48337f[_0x509144(0x158)](_0x509144(0x163),_0x4d3e80);});}[_0x194321(0x162)](_0xa9e78c){const _0xa6fbbb=_0x194321,_0x28669b=this[_0xa6fbbb(0x160)][_0xa6fbbb(0x142)]();_0xa9e78c?this[_0xa6fbbb(0x108)][_0xa6fbbb(0x146)]():this[_0xa6fbbb(0x108)][_0xa6fbbb(0x122)](),_0x28669b&&_0x28669b[_0xa6fbbb(0xcc)][_0xa6fbbb(0xbf)][_0xa6fbbb(0x104)](_0x58cf5d=>{const _0x1f0107=_0xa6fbbb,_0x8c06ed=_0x28669b[_0x1f0107(0xcc)][_0x1f0107(0xbf)][_0x1f0107(0x15e)][_0x1f0107(0x13a)]();_0x58cf5d[_0x1f0107(0x158)](_0x1f0107(0xfa),_0x8c06ed),_0x58cf5d[_0x1f0107(0x158)](_0x1f0107(0x163),_0x8c06ed),_0x58cf5d[_0x1f0107(0xf4)](_0xa9e78c?_0x1f0107(0xfa):_0x1f0107(0x163),_0x8c06ed);});}[_0x194321(0xf7)](_0x440303){const _0x5ec18e=_0x194321;return _0x440303[_0x5ec18e(0x141)](_0x578029=>{const _0x17ed63=_0x5ec18e,_0xcdcaf0=_0x17ed63(0xc7)+_0x578029['id'][_0x17ed63(0x11a)]()[_0x17ed63(0xb0)]('-','_'),_0xc0e140={..._0x578029,'title':this[_0x17ed63(0x110)](_0xcdcaf0+_0x17ed63(0xe8),_0x578029[_0x17ed63(0xdc)]),'description':this[_0x17ed63(0x110)](_0xcdcaf0+_0x17ed63(0x127),_0x578029[_0x17ed63(0x12e)])};return _0x578029[_0x17ed63(0xe9)]&&(_0xc0e140[_0x17ed63(0xe9)]=_0x578029[_0x17ed63(0xe9)][_0x17ed63(0x141)](_0xbcddaf=>({..._0xbcddaf,'label':this[_0x17ed63(0x110)](_0xcdcaf0+_0x17ed63(0xb4),_0xbcddaf[_0x17ed63(0x13e)]||''),'data':_0xbcddaf[_0x17ed63(0xb7)]?_0xbcddaf[_0x17ed63(0xb7)][_0x17ed63(0x141)](_0x9356fb=>({..._0x9356fb,'label':this[_0x17ed63(0x110)](_0xcdcaf0+_0x17ed63(0xad)+_0x9356fb['id'][_0x17ed63(0x11a)](),_0x9356fb[_0x17ed63(0x13e)])})):void 0x0}))),_0xc0e140;});}[_0x194321(0x110)](_0x93f381,_0x5fdfa7){const _0x2536a6=_0x194321,_0x45dbfe=this[_0x2536a6(0x12f)][_0x2536a6(0x147)],_0x11a72f=_0x4c15b4(_0x45dbfe,_0x93f381);return _0x11a72f===_0x93f381?_0x5fdfa7:_0x11a72f;}[_0x194321(0xc8)](_0x67902e){const _0x41465b=_0x194321;_0xc23960(_0x67902e[_0x41465b(0x11c)]),_0x67902e[_0x41465b(0x11c)][_0x41465b(0x13b)](_0x41465b(0xef))?this[_0x41465b(0x108)][_0x41465b(0xb3)]():this[_0x41465b(0x108)][_0x41465b(0x116)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x575f60=_0x1570;(function(_0x3ec8b4,_0x2cb83e){const _0x5e397f=_0x1570,_0xbf5b9a=_0x3ec8b4();while(!![]){try{const _0x39f2f=-parseInt(_0x5e397f(0x192))/0x1+-parseInt(_0x5e397f(0x200))/0x2*(-parseInt(_0x5e397f(0x188))/0x3)+-parseInt(_0x5e397f(0x1f7))/0x4*(parseInt(_0x5e397f(0x1e4))/0x5)+parseInt(_0x5e397f(0x18b))/0x6*(parseInt(_0x5e397f(0x23d))/0x7)+parseInt(_0x5e397f(0x1e7))/0x8+parseInt(_0x5e397f(0x182))/0x9+-parseInt(_0x5e397f(0x22c))/0xa;if(_0x39f2f===_0x2cb83e)break;else _0xbf5b9a['push'](_0xbf5b9a['shift']());}catch(_0x45b395){_0xbf5b9a['push'](_0xbf5b9a['shift']());}}}(_0xfaf1,0xa9be7));import{InsertOperation as _0x5eee61,MarkerOperation as _0x197361,ModelDocumentFragment as _0x44174e,ModelPosition as _0x38bb32,ModelRange as _0x96f590,ModelTreeWalker as _0x4735eb,transformOperationSets as _0x226b87}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x470f6f,EmitterMixin as _0x15bc04}from'ckeditor5/src/utils.js';function _0xfaf1(){const _0x51d347=['delete','filter','587439CHItRl','createUIElement','dataDowncast','78504fQZZbD','[data-marker-id=\x22','click','index','_getMarkersDataForGroup','getHtml','[data-id=\x22','226170IRGprg','_domEmitter','className','containerElement','_changePosition','$graveyard','hasContentAfter','getDomRoot','ellipsisBefore','name','add','reviewmode-','isIntersecting','ck-ai_review-mode-marker_context-start','parent','registerPostFixer','affectsData','insert','operationsA','ck-ai_review-mode-marker_context-end','map','from','_getOperationStart','isTouching','end','forward','toData','getOperations','version','hasClass','_createGetContentFn','path','ck-ai_review-mode-marker_context-','changeMarkerBlurred','switchToEdit','remove-only','deleteContent','isPremiumPlugin','requires','for','No\x20element\x20found\x20for\x20ID:\x20','parentElement','ck-ai_review-mode-marker_underline','_validateMarkers','getAttribute','root','htmlWriter','_sortMarkers','get','hasContentBefore','offset','conversion','offsetSize','sort','getRange','changeMarkerClick','type','stringify','document','operationsIsolated','isAtEnd','childCount','createPositionAfter','insertContent','outerHTML','backward','flat','model','context','ai-review-mode','marker','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','getChanges','toDomElement','documentFragment','_shiftOperation','differ','getDiff','_findMarkerElement','_setAttribute','model:$text','element','40hDcEix','isInline','DocumentCompare','2913752cRyvII','batch','isOpening','_groupAdjacentOperations','warn','AIEditing','getChild','_removeAttribute','text','emitter','_changeRangeOwnerDocument','markers','listenTo','ellipsisAfter','markerToHighlight','_translateOperationToEditorContent','366764gRXbaO','domConverter','$documentFragment','has','includes','_createGetContextFn','createRawElement','start','rejectChange','2oxGtKE','disableReadOnlyMode','size','getPath','_changeOperationOwnerDocument','groupId','ck-ai_review-mode-marker_','$markedRemove','values','applyChange','closest','_insertMarkers','history','getDocumentData','target','createDocumentFragment','baseVersion','pluginName','innerHTML','_hasSameTopLevelElement','ck-ai_review-mode-marker_strikethrough','fire','viewToDom','hasAttribute','remove-context','suggestion-context','howMany','remove-text','elements','ck-ai_review-mode-marker_hide','forEach','_parseMarkerName','clone','length','_upsertDataId','downcast','addMarker','htmlProcessor','_changeRange','_findAdjacentContextDistance','_createGetContentUsingDataIdFn','newRange','pop','afterInit','7458490xJRvSD','view','startsWith','split','isOfficialPlugin','AIReviewModeEditing','jumpTo','editingDowncast','changeMarkerHovered','toView','createText','every','createPositionAt','changeMarkerRemoved','nodes','getStart','_clone','476VYNAvw','markerToElement','data','span','addOperation','diffContent','_appendChild','markerName','getShiftedBy','applyOperation','changeMarkerRestored','_getChangeContext','data-marker-id','_removeChildren','switchToReadOnly','keys','getRoots','suggestion:insertion:id:authorId:','getEditor','position','removeMarker','oldRange','concat','$textProxy','push','set','_nextDataId','_haveOnlyInlineContent','suggestion:deletion:id:authorId:','querySelector','clearAllMarkers','clear','schema','editing','createSelection','change','relatedTarget','_haveSingleTopLevelElement','getMarkerElementForChange','containsRange','processor','enableReadOnlyMode','parse','rootName','markChangePositionInEditorContent','exec','attributeToAttribute','ck-ai_review-mode-marker_add','isDocumentOperation','append','remove','_changePositionOwnerDocument','isAtStart','_markers','_getOperationEnd','_handleMarkerChanges','createRange','getRoot','getChangedMarkers','mouseover','8559666AcVgPP','getChildren','_eventEmitter','plugins'];_0xfaf1=function(){return _0x51d347;};return _0xfaf1();}import{ContextPlugin as _0x1d1076}from'ckeditor5/src/core.js';import{DocumentCompare as _0x2f6bf2,DATA_ID_MODEL_ATTRIBUTE as _0x274e4f,DATA_ID_VIEW_ATTRIBUTE as _0x4da495}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x30e97e}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x57ab85}from'../aicore/aiediting.js';import{debounce as _0x5bbec9}from'es-toolkit/compat';function _0x1570(_0xddb38b,_0x4ea78f){const _0xfaf1c0=_0xfaf1();return _0x1570=function(_0x1570e4,_0x426d20){_0x1570e4=_0x1570e4-0x160;let _0x5c6142=_0xfaf1c0[_0x1570e4];return _0x5c6142;},_0x1570(_0xddb38b,_0x4ea78f);}const le=_0x575f60(0x19d);export class AIReviewModeEditing extends _0x1d1076{static get[_0x575f60(0x211)](){const _0x1afad6=_0x575f60;return _0x1afad6(0x231);}static get[_0x575f60(0x1b8)](){return[_0x2f6bf2,_0x57ab85];}static get[_0x575f60(0x230)](){return!0x0;}static get[_0x575f60(0x1b7)](){return!0x0;}[_0x575f60(0x17b)]=new Map();[_0x575f60(0x193)];[_0x575f60(0x184)];constructor(_0x2e6bfd){const _0x180dbf=_0x575f60;super(_0x2e6bfd),this[_0x180dbf(0x193)]=new(_0x470f6f())(),this[_0x180dbf(0x184)]=new(_0x15bc04())();}get[_0x575f60(0x1f0)](){const _0xeeeeaa=_0x575f60;return this[_0xeeeeaa(0x184)];}[_0x575f60(0x22b)](){const _0x35113d=_0x575f60,_0x2348cc=_0x30e97e(this[_0x35113d(0x1d6)]);_0x2348cc[_0x35113d(0x1c5)][_0x35113d(0x1b9)](_0x35113d(0x233))[_0x35113d(0x23e)]({'model':le+_0x35113d(0x1a3),'view':(_0x1f4479,{writer:_0x58e1c0})=>{const _0x3e0315=_0x35113d,_0x4a90ca=this[_0x3e0315(0x17b)][_0x3e0315(0x1c2)](_0x1f4479[_0x3e0315(0x244)]),_0x34b935={'class':_0x3e0315(0x175),'data-marker-id':_0x1f4479[_0x3e0315(0x244)]};return _0x58e1c0[_0x3e0315(0x189)](_0x3e0315(0x240),_0x34b935,function(_0xd850a4){const _0x116297=_0x3e0315,_0x33cde3=this[_0x116297(0x1db)](_0xd850a4);return _0x33cde3[_0x116297(0x212)]=_0x4a90ca?.[_0x116297(0x1ef)]||'',_0x33cde3;});}}),_0x2348cc[_0x35113d(0x1c5)][_0x35113d(0x1b9)](_0x35113d(0x233))[_0x35113d(0x1f5)]({'model':le+_0x35113d(0x1b5),'view':_0x103451=>({'classes':_0x35113d(0x214),'attributes':{'data-marker-id':_0x103451[_0x35113d(0x244)]}})}),_0x2348cc[_0x35113d(0x1c5)][_0x35113d(0x1b9)](_0x35113d(0x233))[_0x35113d(0x1f5)]({'model':le+_0x35113d(0x218),'view':_0x2f2805=>({'classes':_0x35113d(0x1bc),'attributes':{'data-marker-id':_0x2f2805[_0x35113d(0x244)]}})}),_0x2348cc[_0x35113d(0x1c5)][_0x35113d(0x1b9)](_0x35113d(0x233))[_0x35113d(0x1f5)]({'model':le+_0x35113d(0x21b),'view':_0x431de3=>({'classes':_0x35113d(0x21d),'attributes':{'data-marker-id':_0x431de3[_0x35113d(0x244)]}})}),_0x2348cc[_0x35113d(0x1c5)][_0x35113d(0x1b9)](_0x35113d(0x18a))[_0x35113d(0x23e)]({'model':le+_0x35113d(0x219),'view':(_0x1b53ce,{writer:_0x12d9f5})=>_0x12d9f5[_0x35113d(0x1fd)](_0x35113d(0x240),{'class':_0x35113d(0x1b2)+(_0x1b53ce[_0x35113d(0x1e9)]?_0x35113d(0x1fe):_0x35113d(0x1aa))})}),_0x2348cc[_0x35113d(0x1c5)][_0x35113d(0x1b9)](_0x35113d(0x223))[_0x35113d(0x174)]({'model':_0x274e4f,'view':_0x4da495}),this[_0x35113d(0x193)][_0x35113d(0x1f3)](document,_0x35113d(0x18d),(_0x418421,_0x32f338)=>{const _0x43765c=_0x35113d,_0x22658d=_0x32f338[_0x43765c(0x20e)],_0x5c7ceb=this[_0x43765c(0x1e0)](_0x22658d);if(!_0x5c7ceb)return;const _0x43401c=_0x5c7ceb[_0x43765c(0x1be)](_0x43765c(0x249)),_0x5c8bd6=_0x43401c[_0x43765c(0x22f)](':')[_0x43765c(0x22a)]()?.[_0x43765c(0x22f)]('_')[0x0];this[_0x43765c(0x184)][_0x43765c(0x215)](_0x43765c(0x1c9),{'markerId':_0x43401c,'changeId':_0x5c8bd6,'markerElement':_0x5c7ceb,'domEvent':_0x32f338});}),this[_0x35113d(0x193)][_0x35113d(0x1f3)](document,_0x35113d(0x181),(_0x53bcd3,_0x4c3296)=>{const _0x1a0bb0=_0x35113d,_0x1d89ef=_0x4c3296[_0x1a0bb0(0x20e)],_0x545603=_0x4c3296[_0x1a0bb0(0x16a)];let _0xefc852=this[_0x1a0bb0(0x1e0)](_0x1d89ef);if(!_0xefc852&&_0x545603&&(_0xefc852=this[_0x1a0bb0(0x1e0)](_0x545603)),!_0xefc852)return;const _0x2cca06=_0xefc852[_0x1a0bb0(0x1be)](_0x1a0bb0(0x249)),_0x36e5e3=_0x2cca06[_0x1a0bb0(0x22f)](':')[_0x1a0bb0(0x22a)]()?.[_0x1a0bb0(0x22f)]('_')[0x0];this[_0x1a0bb0(0x184)][_0x1a0bb0(0x215)](_0x1a0bb0(0x234),{'changeId':_0x36e5e3,'markerElement':_0xefc852,'domEvent':_0x4c3296});}),this[_0x35113d(0x193)][_0x35113d(0x1f3)](document,_0x35113d(0x181),_0x5bbec9((_0x3a7411,_0x1630e1)=>{const _0x4b5757=_0x35113d,_0x44f16b=_0x1630e1[_0x4b5757(0x20e)];if(this[_0x4b5757(0x1e0)](_0x44f16b))return;_0x44f16b[_0x4b5757(0x20a)](_0x4b5757(0x1d9))||this[_0x4b5757(0x184)][_0x4b5757(0x215)](_0x4b5757(0x1b3));},0xc8)),_0x2348cc[_0x35113d(0x1d5)][_0x35113d(0x1cc)][_0x35113d(0x1a1)](_0x1aa281=>this[_0x35113d(0x1bd)](_0x2348cc,_0x1aa281)),_0x2348cc[_0x35113d(0x1d5)][_0x35113d(0x1cc)]['on'](_0x35113d(0x169),()=>this[_0x35113d(0x17d)](_0x2348cc));}[_0x575f60(0x20d)](){const _0x21d363=_0x575f60,_0x38812a=this[_0x21d363(0x1d6)][_0x21d363(0x185)][_0x21d363(0x1c2)](_0x21d363(0x1ec)),_0x495df7=_0x30e97e(this[_0x21d363(0x1d6)]),_0x3b77cb=_0x495df7[_0x21d363(0x1d5)],_0x4e423a=new _0x44174e();for(const _0x6fba15 of _0x3b77cb[_0x21d363(0x1cc)][_0x21d363(0x17f)]()[_0x21d363(0x183)]()){const _0x5a44cf=_0x6fba15[_0x21d363(0x23c)](!0x0);_0x4e423a[_0x21d363(0x243)](_0x5a44cf);}for(const _0x3fbad0 of _0x3b77cb[_0x21d363(0x1f2)])_0x4e423a[_0x21d363(0x1f2)][_0x21d363(0x256)](_0x3fbad0[_0x21d363(0x19b)],this[_0x21d363(0x1f1)](_0x3fbad0[_0x21d363(0x1c8)]()[_0x21d363(0x220)](),_0x4e423a));const _0xd4a657=new _0x4735eb({'ignoreElementEnd':!0x0,'startPosition':_0x3b77cb[_0x21d363(0x238)](_0x4e423a,0x0)}),_0x14d386=new Set(),_0x49fe3c=new Map();for(const {item:_0x2d9232}of _0xd4a657){if(!_0x2d9232['is'](_0x21d363(0x254)))continue;const _0x42a444=_0x2d9232[_0x21d363(0x1a0)];if(_0x42a444&&_0x42a444['is'](_0x21d363(0x1e3))){const _0x48144c=this[_0x21d363(0x222)](_0x42a444,()=>_0x38812a[_0x21d363(0x160)](_0x14d386));_0x14d386[_0x21d363(0x19c)](_0x48144c);for(const _0x2871e4 of _0x42a444[_0x21d363(0x183)]())_0x2871e4['is'](_0x21d363(0x1e3))&&_0x14d386[_0x21d363(0x19c)](this[_0x21d363(0x222)](_0x2871e4,()=>_0x38812a[_0x21d363(0x160)](_0x14d386)));let _0x5e5f3c=_0x42a444;for(;_0x5e5f3c[_0x21d363(0x1a0)]&&!_0x5e5f3c[_0x21d363(0x1a0)]['is'](_0x21d363(0x1dc));)_0x5e5f3c=_0x5e5f3c[_0x21d363(0x1a0)],_0x5e5f3c[_0x21d363(0x217)](_0x274e4f)&&_0x5e5f3c[_0x21d363(0x1ee)](_0x274e4f);_0x49fe3c[_0x21d363(0x256)](_0x48144c,{'path':_0x42a444[_0x21d363(0x203)](),'getContent':this[_0x21d363(0x228)](_0x5e5f3c[_0x21d363(0x23c)](!0x0),_0x48144c,_0x495df7[_0x21d363(0x23f)])}),_0xd4a657[_0x21d363(0x232)](_0x3b77cb[_0x21d363(0x1d0)](_0x42a444));}}return{'content':_0x495df7[_0x21d363(0x23f)][_0x21d363(0x16e)][_0x21d363(0x1ac)](_0x495df7[_0x21d363(0x23f)][_0x21d363(0x235)](_0x4e423a)),'version':_0x495df7[_0x21d363(0x1d5)][_0x21d363(0x1cc)][_0x21d363(0x1ae)],'elements':_0x49fe3c};}[_0x575f60(0x242)](_0x38a5ac,_0x344b15){const _0x33030a=_0x575f60,_0x582dfc=[],_0x213105=_0x30e97e(this[_0x33030a(0x1d6)]),_0x9058a4=_0x213105[_0x33030a(0x23f)][_0x33030a(0x170)](_0x344b15,_0x33030a(0x1f9)),_0x19bd3c=_0x213105[_0x33030a(0x23f)][_0x33030a(0x170)](_0x38a5ac,_0x33030a(0x1f9)),_0x5dfc24=_0x213105[_0x33030a(0x1d5)][_0x33030a(0x238)](_0x19bd3c,0x0);if(this[_0x33030a(0x16b)](_0x9058a4)){if(!this[_0x33030a(0x213)](_0x19bd3c,_0x9058a4))return _0x582dfc;}else{const _0x13c8c3=_0x213105[_0x33030a(0x1d5)][_0x33030a(0x166)];if(!this[_0x33030a(0x161)](_0x19bd3c,_0x13c8c3)||!this[_0x33030a(0x161)](_0x9058a4,_0x13c8c3))return _0x582dfc;}const _0x155b45=this[_0x33030a(0x1d6)][_0x33030a(0x185)][_0x33030a(0x1c2)](_0x33030a(0x1e6))[_0x33030a(0x1df)](_0x38a5ac,_0x344b15,{'anchor':_0x5dfc24,'markDeletions':!0x0})[_0x33030a(0x1ad)]()[_0x33030a(0x187)](_0x2f6501=>_0x33030a(0x1a3)===_0x2f6501[_0x33030a(0x1ca)]||_0x33030a(0x1d8)===_0x2f6501[_0x33030a(0x1ca)]&&_0x2f6501[_0x33030a(0x19b)][_0x33030a(0x22e)](_0x33030a(0x207))),_0x5ea0da=this[_0x33030a(0x1ea)](_0x155b45);let _0x26776c=0x0;return _0x213105[_0x33030a(0x1d5)][_0x33030a(0x169)](_0x80d080=>{const _0x2c38d4=_0x33030a;for(let _0x4cdb58=0x0;_0x4cdb58<_0x5ea0da[_0x2c38d4(0x221)];_0x4cdb58++){const _0x173544=_0x5ea0da[_0x4cdb58],_0x5bacd8=_0x80d080[_0x2c38d4(0x20f)]();for(const _0xa7e541 of _0x19bd3c[_0x2c38d4(0x183)]())_0x80d080[_0x2c38d4(0x177)](_0xa7e541[_0x2c38d4(0x23c)](!0x0),_0x5bacd8);for(const _0x411904 of _0x173544[_0x2c38d4(0x1cd)])if(_0x2c38d4(0x1a3)===_0x411904[_0x2c38d4(0x1ca)]){const _0x1bebac=_0x411904;_0x1bebac[_0x2c38d4(0x210)]=null,_0x1bebac[_0x2c38d4(0x176)]=!0x1,this[_0x2c38d4(0x204)](_0x1bebac,_0x5bacd8),_0x80d080[_0x2c38d4(0x1e8)][_0x2c38d4(0x241)](_0x411904),_0x213105[_0x2c38d4(0x1d5)][_0x2c38d4(0x246)](_0x411904);const _0x227dd7=_0x2c38d4(0x24e)+_0x26776c++,_0x35e1e6=_0x213105[_0x2c38d4(0x1d5)][_0x2c38d4(0x17e)](_0x1bebac[_0x2c38d4(0x250)],_0x1bebac[_0x2c38d4(0x250)][_0x2c38d4(0x245)](_0x1bebac[_0x2c38d4(0x21a)]));_0x5bacd8[_0x2c38d4(0x1f2)][_0x2c38d4(0x256)](_0x227dd7,_0x35e1e6);}else{if(_0x2c38d4(0x1d8)===_0x411904[_0x2c38d4(0x1ca)]&&_0x411904[_0x2c38d4(0x19b)][_0x2c38d4(0x22e)](_0x2c38d4(0x207))){const _0x15c682=_0x411904,_0x244599=_0x2c38d4(0x162)+_0x26776c++;this[_0x2c38d4(0x204)](_0x15c682,_0x5bacd8),_0x5bacd8[_0x2c38d4(0x1f2)][_0x2c38d4(0x256)](_0x244599,_0x15c682[_0x2c38d4(0x229)]);}}const _0x206d32=this[_0x2c38d4(0x248)](this[_0x2c38d4(0x179)](this[_0x2c38d4(0x1a8)](_0x173544[_0x2c38d4(0x1cd)][0x0]),_0x5bacd8),this[_0x2c38d4(0x179)](this[_0x2c38d4(0x17c)](_0x173544[_0x2c38d4(0x1cd)][_0x173544[_0x2c38d4(0x1cd)][_0x2c38d4(0x221)]-0x1]),_0x5bacd8));_0x5bacd8[_0x2c38d4(0x1f2)][_0x2c38d4(0x256)](le+_0x2c38d4(0x219),new _0x96f590(_0x206d32[_0x2c38d4(0x1fe)],_0x206d32[_0x2c38d4(0x1aa)])),_0x582dfc[_0x2c38d4(0x255)]({..._0x173544,'context':this[_0x2c38d4(0x1fc)](_0x5bacd8,_0x213105[_0x2c38d4(0x23f)],{'ellipsisBefore':_0x206d32[_0x2c38d4(0x1c3)],'ellipsisAfter':_0x206d32[_0x2c38d4(0x198)]}),'content':this[_0x2c38d4(0x1b0)](_0x5bacd8,_0x213105[_0x2c38d4(0x23f)])});}}),_0x582dfc;}[_0x575f60(0x172)](_0x5ee9cc,_0x1e5c5a){const _0x4c6c12=_0x575f60;if(!_0x5ee9cc[_0x4c6c12(0x221)])return;const _0x17aeab=_0x5ee9cc[0x0][_0x4c6c12(0x1a0)]['id'],_0x289b7a=_0x1e5c5a[_0x4c6c12(0x21c)][_0x4c6c12(0x1c2)](_0x17aeab);if(!_0x289b7a)return void console[_0x4c6c12(0x1eb)](_0x4c6c12(0x1ba)+_0x17aeab);const _0x4bda8c=_0x289b7a[_0x4c6c12(0x1b1)],_0x49c9ca=_0x30e97e(this[_0x4c6c12(0x1d6)]),_0x356dbc=_0x49c9ca[_0x4c6c12(0x1d5)][_0x4c6c12(0x1cc)][_0x4c6c12(0x20c)][_0x4c6c12(0x1ad)](_0x1e5c5a[_0x4c6c12(0x1ae)]),_0x34621a=[];for(const _0x5411c3 of _0x5ee9cc){const _0x4464f1=_0x5411c3[_0x4c6c12(0x1cd)][_0x4c6c12(0x1a6)](_0x403f72=>this[_0x4c6c12(0x1f6)](_0x403f72,_0x4bda8c,_0x49c9ca[_0x4c6c12(0x1d5)][_0x4c6c12(0x1cc)][_0x4c6c12(0x24d)]()[0x0]));if(!_0x4464f1||!_0x4464f1[_0x4c6c12(0x221)])continue;const _0x165194=_0x4464f1[_0x4c6c12(0x237)](_0x1f7ce4=>_0x4c6c12(0x1d8)===_0x1f7ce4[_0x4c6c12(0x1ca)]&&_0x1f7ce4[_0x4c6c12(0x19b)][_0x4c6c12(0x22e)](_0x4c6c12(0x207))),_0x48ef18={'document':_0x49c9ca[_0x4c6c12(0x1d5)][_0x4c6c12(0x1cc)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5f0195=_0x226b87(_0x4464f1,_0x356dbc,_0x48ef18)[_0x4c6c12(0x1a4)];for(const _0x50bd8b of _0x5f0195)if(_0x4c6c12(0x1a3)===_0x50bd8b[_0x4c6c12(0x1ca)]){const _0x35bb76=_0x50bd8b,_0x30c94e=_0x35bb76[_0x4c6c12(0x23a)];let _0x2eb179='';for(const _0x778884 of _0x30c94e)_0x778884&&_0x778884['is'](_0x4c6c12(0x1e2))&&(_0x2eb179+=_0x778884[_0x4c6c12(0x23f)]);_0x34621a[_0x4c6c12(0x255)]({'start':_0x35bb76[_0x4c6c12(0x250)],'end':_0x35bb76[_0x4c6c12(0x250)],'type':_0x4c6c12(0x1a3),'groupId':_0x5411c3['id'],'text':_0x2eb179});}else{if(_0x4c6c12(0x1d8)===_0x50bd8b[_0x4c6c12(0x1ca)]&&_0x50bd8b[_0x4c6c12(0x19b)][_0x4c6c12(0x22e)](_0x4c6c12(0x207))){const _0xf5520d=_0x50bd8b;let _0x537ac4=_0x4c6c12(0x21b);if(_0x165194){const _0x1790ee=this[_0x4c6c12(0x227)](_0xf5520d[_0x4c6c12(0x229)][_0x4c6c12(0x1fe)],_0x4c6c12(0x1d3),_0x49c9ca[_0x4c6c12(0x1d5)][_0x4c6c12(0x166)]),_0x21eef6=this[_0x4c6c12(0x227)](_0xf5520d[_0x4c6c12(0x229)][_0x4c6c12(0x1aa)],_0x4c6c12(0x1ab),_0x49c9ca[_0x4c6c12(0x1d5)][_0x4c6c12(0x166)]);if(_0x1790ee||_0x21eef6){const _0x1f2d08=_0xf5520d[_0x4c6c12(0x229)][_0x4c6c12(0x1fe)][_0x4c6c12(0x245)](-_0x1790ee),_0x340f0d=_0xf5520d[_0x4c6c12(0x229)][_0x4c6c12(0x1aa)][_0x4c6c12(0x245)](_0x21eef6);_0x34621a[_0x4c6c12(0x255)]({'start':_0x1f2d08,'end':_0x340f0d,'groupId':_0x5411c3['id'],'type':_0x4c6c12(0x218)});}else _0x537ac4=_0x4c6c12(0x1b5);}_0x34621a[_0x4c6c12(0x255)]({'start':_0xf5520d[_0x4c6c12(0x229)][_0x4c6c12(0x1fe)],'end':_0xf5520d[_0x4c6c12(0x229)][_0x4c6c12(0x1aa)],'groupId':_0x5411c3['id'],'type':_0x537ac4});}}}this[_0x4c6c12(0x20b)](_0x34621a);}[_0x575f60(0x164)](){const _0x49e017=_0x575f60,_0x22106e=_0x30e97e(this[_0x49e017(0x1d6)]);_0x22106e[_0x49e017(0x1d5)][_0x49e017(0x169)](_0x2f8eba=>{const _0x4c4eea=_0x49e017;for(const _0x45ccdf of this[_0x4c4eea(0x17b)][_0x4c4eea(0x24c)]())_0x22106e[_0x4c4eea(0x1d5)][_0x4c4eea(0x1f2)][_0x4c4eea(0x1c2)](_0x45ccdf)&&_0x2f8eba[_0x4c4eea(0x251)](_0x45ccdf);}),this[_0x49e017(0x17b)][_0x49e017(0x165)]();}[_0x575f60(0x24b)](){const _0x32420f=_0x575f60;_0x30e97e(this[_0x32420f(0x1d6)])[_0x32420f(0x16f)](_0x32420f(0x1d7));}[_0x575f60(0x1b4)](){const _0x3ff914=_0x575f60;_0x30e97e(this[_0x3ff914(0x1d6)])[_0x3ff914(0x201)](_0x3ff914(0x1d7));}[_0x575f60(0x209)](_0x169222){const _0x22c8e8=_0x575f60,_0x47688d=_0x30e97e(this[_0x22c8e8(0x1d6)]),_0x898144=_0x47688d[_0x22c8e8(0x1d5)],_0x4d68e5=_0x169222[_0x22c8e8(0x1a6)](_0x3aa0d3=>this[_0x22c8e8(0x18f)](_0x3aa0d3))[_0x22c8e8(0x1d4)]();_0x898144[_0x22c8e8(0x169)](_0x3b210e=>{const _0x12c423=_0x22c8e8;for(const _0x569ad2 of _0x4d68e5){const _0x1eab9c=_0x47688d[_0x12c423(0x1d5)][_0x12c423(0x1f2)][_0x12c423(0x1c2)](_0x569ad2['id']);_0x1eab9c&&(_0x12c423(0x1a3)===_0x569ad2[_0x12c423(0x1ca)]?_0x898144[_0x12c423(0x1d1)](_0x3b210e[_0x12c423(0x236)](_0x569ad2[_0x12c423(0x1ef)]||''),_0x1eab9c[_0x12c423(0x1c8)]()[_0x12c423(0x1fe)]):_0x12c423(0x21b)!==_0x569ad2[_0x12c423(0x1ca)]&&_0x12c423(0x1b5)!==_0x569ad2[_0x12c423(0x1ca)]||_0x898144[_0x12c423(0x1b6)](_0x898144[_0x12c423(0x168)](_0x1eab9c[_0x12c423(0x1c8)]())),_0x3b210e[_0x12c423(0x251)](_0x569ad2['id']),this[_0x12c423(0x17b)][_0x12c423(0x186)](_0x569ad2['id']));}});}[_0x575f60(0x1ff)](_0x47e95f){const _0xdf07b9=_0x575f60,_0x35f17e=_0x30e97e(this[_0xdf07b9(0x1d6)]),_0x4e21f8=this[_0xdf07b9(0x18f)](_0x47e95f);_0x35f17e[_0xdf07b9(0x1d5)][_0xdf07b9(0x169)](_0x5efde8=>{const _0x900ecd=_0xdf07b9;for(const _0x24bda1 of _0x4e21f8)_0x5efde8[_0x900ecd(0x251)](_0x24bda1['id']),this[_0x900ecd(0x17b)][_0x900ecd(0x186)](_0x24bda1['id']);});}[_0x575f60(0x24f)](){const _0x419638=_0x575f60;return _0x30e97e(this[_0x419638(0x1d6)]);}[_0x575f60(0x16c)](_0x536620){const _0x1403e3=_0x575f60,_0x59f24b=Array[_0x1403e3(0x1a7)](this[_0x1403e3(0x17b)][_0x1403e3(0x208)]())[_0x1403e3(0x187)](_0x306b08=>_0x306b08[_0x1403e3(0x205)]===_0x536620);if(!_0x59f24b[_0x1403e3(0x221)])return null;const _0x3e1631=0x1===_0x59f24b[_0x1403e3(0x221)]?_0x59f24b[0x0]:this[_0x1403e3(0x1c1)](_0x59f24b)[0x0],_0x209a9f=_0x30e97e(this[_0x1403e3(0x1d6)]),_0x3594e6=_0x209a9f[_0x1403e3(0x1d5)][_0x1403e3(0x1f2)][_0x1403e3(0x1c2)](_0x3e1631['id']);if(!_0x3594e6)return null;const _0x387f9b=_0x3594e6[_0x1403e3(0x1c8)](),_0xf8c270=_0x209a9f[_0x1403e3(0x167)][_0x1403e3(0x22d)][_0x1403e3(0x199)]();if(!_0xf8c270||!_0x387f9b)return null;const _0x2bb4dc=_0xf8c270[_0x1403e3(0x163)](_0x1403e3(0x18c)+_0x3e1631['id']+'\x22]');return _0x2bb4dc?{'modelRange':_0x387f9b,'domElement':_0x2bb4dc}:null;}[_0x575f60(0x1bd)](_0x1f825e,_0x38f20e){const _0x6598f2=_0x575f60,_0x329ef0=Array[_0x6598f2(0x1a7)](this[_0x6598f2(0x17b)][_0x6598f2(0x24c)]()),_0x5c99b5=new Map();for(const _0x27562 of _0x329ef0){const _0x464ca7=_0x1f825e[_0x6598f2(0x1d5)][_0x6598f2(0x1f2)][_0x6598f2(0x1c2)](_0x27562);if(!_0x464ca7)continue;const _0x26d0b7=_0x464ca7[_0x6598f2(0x23b)]()[_0x6598f2(0x1b1)][0x0];_0x5c99b5[_0x6598f2(0x1fa)](_0x26d0b7)||_0x5c99b5[_0x6598f2(0x256)](_0x26d0b7,[]),_0x5c99b5[_0x6598f2(0x1c2)](_0x26d0b7)[_0x6598f2(0x255)](_0x464ca7);}const _0x7e66a4=new Set();for(const _0x523d5e of _0x1f825e[_0x6598f2(0x1d5)][_0x6598f2(0x1cc)][_0x6598f2(0x1de)][_0x6598f2(0x1da)]()){let _0x89e00b=-0x1,_0x393113=null;if(_0x6598f2(0x1a3)===_0x523d5e[_0x6598f2(0x1ca)])_0x393113=new _0x96f590(_0x523d5e[_0x6598f2(0x250)],_0x523d5e[_0x6598f2(0x250)][_0x6598f2(0x245)](_0x523d5e[_0x6598f2(0x221)])),_0x89e00b=_0x523d5e[_0x6598f2(0x250)][_0x6598f2(0x1b1)][0x0];else{if(_0x6598f2(0x178)!==_0x523d5e[_0x6598f2(0x1ca)])continue;_0x393113=new _0x96f590(_0x523d5e[_0x6598f2(0x250)]),_0x89e00b=_0x523d5e[_0x6598f2(0x250)][_0x6598f2(0x1b1)][0x0];}const _0x56114e=_0x5c99b5[_0x6598f2(0x1c2)](_0x89e00b)||[];if(_0x56114e[_0x6598f2(0x221)]){for(const _0x12ee09 of _0x56114e)if(_0x393113[_0x6598f2(0x1bf)][_0x6598f2(0x171)]===_0x12ee09[_0x6598f2(0x1c8)]()[_0x6598f2(0x1bf)][_0x6598f2(0x171)]&&(_0x6598f2(0x1a3)!==_0x523d5e[_0x6598f2(0x1ca)]||!_0x393113[_0x6598f2(0x16d)](_0x12ee09[_0x6598f2(0x1c8)]()))&&(_0x393113[_0x6598f2(0x19e)](_0x12ee09[_0x6598f2(0x1c8)]())||_0x393113[_0x6598f2(0x1fe)][_0x6598f2(0x1a9)](_0x12ee09[_0x6598f2(0x1c8)]()[_0x6598f2(0x1aa)])||_0x393113[_0x6598f2(0x1aa)][_0x6598f2(0x1a9)](_0x12ee09[_0x6598f2(0x1c8)]()[_0x6598f2(0x1fe)]))){const _0x1fcb47=this[_0x6598f2(0x21f)](_0x12ee09[_0x6598f2(0x19b)]);Array[_0x6598f2(0x1a7)](this[_0x6598f2(0x17b)][_0x6598f2(0x208)]())[_0x6598f2(0x187)](_0x195c6a=>_0x195c6a[_0x6598f2(0x205)]===_0x1fcb47[_0x6598f2(0x205)])[_0x6598f2(0x21e)](_0x1bfa36=>_0x7e66a4[_0x6598f2(0x19c)](_0x1bfa36['id']));}}}if(_0x7e66a4[_0x6598f2(0x202)]){for(const _0x4c852e of _0x7e66a4)_0x38f20e[_0x6598f2(0x251)](_0x4c852e);return!0x0;}return!0x1;}[_0x575f60(0x17d)](_0x2b7bd6){const _0x514827=_0x575f60;for(const {name:_0x103fca,data:_0x241b96}of _0x2b7bd6[_0x514827(0x1d5)][_0x514827(0x1cc)][_0x514827(0x1de)][_0x514827(0x180)]()){if(!_0x103fca[_0x514827(0x22e)](le))continue;const _0x47ccf7=_0x241b96[_0x514827(0x252)],_0x5a2041=_0x241b96[_0x514827(0x229)],_0x3535c5=_0x47ccf7&&_0x514827(0x197)===_0x47ccf7[_0x514827(0x1bf)][_0x514827(0x171)],_0x2f1905=_0x5a2041&&_0x514827(0x197)===_0x5a2041[_0x514827(0x1bf)][_0x514827(0x171)];if(_0x3535c5&&_0x2f1905)continue;const _0x462a3b=this[_0x514827(0x21f)](_0x103fca);this[_0x514827(0x17b)][_0x514827(0x1c2)](_0x103fca)&&(_0x2f1905||!_0x5a2041?this[_0x514827(0x184)][_0x514827(0x215)](_0x514827(0x239),{'markerId':_0x103fca,'changeId':_0x462a3b[_0x514827(0x205)]}):_0x3535c5&&_0x5a2041&&this[_0x514827(0x184)][_0x514827(0x215)](_0x514827(0x247),{'markerId':_0x103fca,'changeId':_0x462a3b[_0x514827(0x205)]}));}}[_0x575f60(0x21f)](_0x3eeecd){const _0x561fd0=_0x575f60,_0x1ad26a=_0x3eeecd[_0x561fd0(0x22f)](':'),_0x504918=(_0x1ad26a[0x1]||'')[_0x561fd0(0x22f)]('_');return{'prefix':_0x1ad26a[0x0],'groupId':_0x504918[0x0],'suffix':_0x504918[0x1]};}[_0x575f60(0x1f6)](_0x1eada4,_0x6a2b76,_0x2a4dec){const _0x490aec=_0x575f60;if(_0x490aec(0x1a3)===_0x1eada4[_0x490aec(0x1ca)]){const _0x480ff2=_0x1eada4;return new _0x5eee61(this[_0x490aec(0x196)](_0x6a2b76[_0x490aec(0x253)](_0x480ff2[_0x490aec(0x250)][_0x490aec(0x1c4)]),_0x2a4dec),_0x480ff2[_0x490aec(0x23a)],_0x480ff2[_0x490aec(0x210)]);}if(_0x490aec(0x1d8)===_0x1eada4[_0x490aec(0x1ca)]&&_0x1eada4[_0x490aec(0x19b)][_0x490aec(0x22e)](_0x490aec(0x207))){const _0x107135=_0x1eada4;return new _0x197361(_0x107135[_0x490aec(0x19b)],_0x107135[_0x490aec(0x252)],this[_0x490aec(0x226)](_0x107135[_0x490aec(0x229)],_0x6a2b76[_0x490aec(0x253)](_0x107135[_0x490aec(0x229)][_0x490aec(0x1fe)][_0x490aec(0x1c4)]),_0x6a2b76[_0x490aec(0x253)](_0x107135[_0x490aec(0x229)][_0x490aec(0x1aa)][_0x490aec(0x1c4)]),_0x2a4dec),_0x107135[_0x490aec(0x17b)],_0x107135[_0x490aec(0x1a2)],_0x107135[_0x490aec(0x210)]);}return _0x1eada4;}[_0x575f60(0x1ea)](_0x485326){const _0x1578e8=_0x575f60;if(!_0x485326[_0x1578e8(0x221)])return[];const _0x19f5d8=[];let _0x3227ad=0x0,_0x4a9117=0x0,_0x50f20c=[];for(let _0x5d769f=0x0;_0x5d769f<=_0x485326[_0x1578e8(0x221)];_0x5d769f++){const _0x3107f9=_0x485326[_0x5d769f],_0x509534=_0x485326[_0x5d769f-0x1];!_0x3107f9||_0x509534&&!this[_0x1578e8(0x17c)](_0x509534)[_0x1578e8(0x1a9)](this[_0x1578e8(0x1a8)](_0x3107f9))?(_0x19f5d8[_0x1578e8(0x255)]({'operations':_0x50f20c,'operationsIsolated':_0x50f20c[_0x1578e8(0x1a6)](_0x5e962a=>this[_0x1578e8(0x1dd)](_0x5e962a[_0x1578e8(0x220)](),-_0x4a9117)),'groupOffset':_0x3227ad}),_0x50f20c=_0x3107f9?[_0x3107f9]:[],_0x4a9117+=_0x3227ad,_0x3227ad=0x0):_0x50f20c[_0x1578e8(0x255)](_0x3107f9),_0x3107f9&&_0x1578e8(0x1a3)===_0x3107f9[_0x1578e8(0x1ca)]&&(_0x3227ad+=_0x3107f9[_0x1578e8(0x21a)]);}return _0x19f5d8;}[_0x575f60(0x227)](_0x11d7d5,_0x1ec05f,_0x28d250,_0x337440=0x1){const _0x54e149=_0x575f60,_0x3fd826=new _0x4735eb({'startPosition':_0x11d7d5,'direction':_0x1ec05f});let _0x24ad6d=0x0;for(let _0x267977=0x0;_0x267977<_0x337440;_0x267977++){let _0x1d9eca=0x0,_0x3f5c06=!0x1,_0x4a4f1b=_0x54e149(0x1ab)===_0x1ec05f?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x220342}of _0x3fd826)if(_0x220342['is'](_0x54e149(0x254))){const _0x12f3e7=_0x4a4f1b[_0x54e149(0x173)](_0x220342[_0x54e149(0x23f)]);if(_0x12f3e7&&_0x12f3e7[_0x54e149(0x221)]){if(_0x1d9eca+=_0x54e149(0x1ab)===_0x1ec05f?_0x12f3e7[_0x54e149(0x18e)]+_0x12f3e7[0x0][_0x54e149(0x221)]:_0x220342[_0x54e149(0x23f)][_0x54e149(0x221)]-_0x12f3e7[_0x54e149(0x18e)],_0x12f3e7[0x0][_0x54e149(0x221)]!==_0x220342[_0x54e149(0x23f)][_0x54e149(0x221)])break;_0x3f5c06=!0x0,_0x4a4f1b=_0x54e149(0x1ab)===_0x1ec05f?/^\w+/:/\w+$/;}else{if(_0x3f5c06)break;_0x1d9eca+=_0x220342[_0x54e149(0x1c6)];}}else{if(_0x220342['is'](_0x54e149(0x1e3))){_0x28d250[_0x54e149(0x1e5)](_0x220342)&&!_0x3f5c06&&(_0x1d9eca+=0x1);break;}}_0x24ad6d+=_0x1d9eca,_0x3fd826[_0x54e149(0x232)](_0x11d7d5[_0x54e149(0x245)](_0x54e149(0x1ab)===_0x1ec05f?_0x24ad6d:-_0x24ad6d));}return _0x24ad6d;}[_0x575f60(0x248)](_0xd8d630,_0x3e7fe4){const _0x5406d1=_0x575f60,_0x26e5b9=_0x30e97e(this[_0x5406d1(0x1d6)])[_0x5406d1(0x1d5)][_0x5406d1(0x166)],_0x4dfd6e=this[_0x5406d1(0x227)](_0xd8d630,_0x5406d1(0x1d3),_0x26e5b9,0x6),_0xcca746=this[_0x5406d1(0x227)](_0x3e7fe4,_0x5406d1(0x1ab),_0x26e5b9,0x6),_0x4dd37d=_0xd8d630[_0x5406d1(0x245)](-_0x4dfd6e),_0x2c8c74=_0x3e7fe4[_0x5406d1(0x245)](_0xcca746);return{'start':_0x4dd37d,'end':_0x2c8c74,'hasContentBefore':!_0x4dd37d[_0x5406d1(0x17a)],'hasContentAfter':!_0x2c8c74[_0x5406d1(0x1ce)]};}[_0x575f60(0x20b)](_0x57edcc){const _0x5e0eef=_0x575f60,_0x5d582c=this[_0x5e0eef(0x1d6)][_0x5e0eef(0x185)][_0x5e0eef(0x1c2)](_0x5e0eef(0x1ec)),_0x140648=new Set();_0x30e97e(this[_0x5e0eef(0x1d6)])[_0x5e0eef(0x1d5)][_0x5e0eef(0x169)](_0x4f2b79=>{const _0x1cad85=_0x5e0eef;for(const _0x552055 of _0x57edcc){const _0x2b5829=''+le+_0x552055[_0x1cad85(0x1ca)]+':'+_0x552055[_0x1cad85(0x205)]+'_'+_0x5d582c[_0x1cad85(0x160)](_0x140648);this[_0x1cad85(0x17b)][_0x1cad85(0x256)](_0x2b5829,{'id':_0x2b5829,'groupId':_0x552055[_0x1cad85(0x205)],'type':_0x552055[_0x1cad85(0x1ca)],'text':_0x552055[_0x1cad85(0x1ef)]}),_0x4f2b79[_0x1cad85(0x224)](_0x2b5829,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4f2b79[_0x1cad85(0x17e)](_0x552055[_0x1cad85(0x1fe)],_0x552055[_0x1cad85(0x1aa)])});}});}[_0x575f60(0x1fc)](_0xca79f3,_0x466836,_0x14002c){let _0x2a9489='';return()=>{const _0x5a1e18=_0x1570;if(!_0x2a9489){const _0x5d0c13=_0x466836[_0x5a1e18(0x235)](_0xca79f3,{'showSuggestionHighlights':!0x0});let _0x242053=_0x5d0c13[_0x5a1e18(0x1ed)](0x0);if(_0x242053['is'](_0x5a1e18(0x195))||(_0x242053=_0x5d0c13),!_0x242053)return'';let _0x373a79=!0x1;const _0x1a370b=[];for(const _0x3ebf95 of _0x242053[_0x5a1e18(0x183)]())_0x3ebf95['is'](_0x5a1e18(0x1e3),_0x5a1e18(0x240))&&_0x3ebf95[_0x5a1e18(0x1af)](_0x5a1e18(0x1a5))&&(_0x373a79=!0x1),_0x373a79&&_0x1a370b[_0x5a1e18(0x255)](_0x3ebf95),_0x3ebf95['is'](_0x5a1e18(0x1e3),_0x5a1e18(0x240))&&_0x3ebf95[_0x5a1e18(0x1af)](_0x5a1e18(0x19f))&&(_0x373a79=!0x0);_0x242053[_0x5a1e18(0x24a)](0x0,_0x242053[_0x5a1e18(0x1cf)]),_0x14002c?.[_0x5a1e18(0x19a)]&&_0x242053[_0x5a1e18(0x243)]('…'),_0x242053[_0x5a1e18(0x243)](_0x1a370b),_0x14002c?.[_0x5a1e18(0x1f4)]&&_0x242053[_0x5a1e18(0x243)]('…');const _0x279264=_0x466836[_0x5a1e18(0x225)][_0x5a1e18(0x1f8)][_0x5a1e18(0x216)](_0x5d0c13),_0x2ceee4=_0x466836[_0x5a1e18(0x225)][_0x5a1e18(0x1c0)][_0x5a1e18(0x190)](_0x279264);_0x2a9489=_0x2ceee4;}return _0x2a9489;};}[_0x575f60(0x1b0)](_0x592f87,_0x7a2738){const _0x441be8=_0x575f60;let _0x5bacc1='';return()=>(_0x5bacc1||(_0x5bacc1=_0x7a2738[_0x441be8(0x1cb)](_0x592f87,{'showSuggestionHighlights':!0x0})),_0x5bacc1);}[_0x575f60(0x228)](_0x3aa8b1,_0x261cc4,_0x2d676a){let _0x576466='';return()=>{const _0x3a9d4e=_0x1570;if(!_0x576466){const _0x17027f=_0x2d676a[_0x3a9d4e(0x235)](new _0x44174e(_0x3aa8b1)),_0x596a6f=_0x2d676a[_0x3a9d4e(0x225)][_0x3a9d4e(0x1f8)][_0x3a9d4e(0x216)](_0x17027f)[_0x3a9d4e(0x163)](_0x3a9d4e(0x191)+_0x261cc4+'\x22]');_0x576466=_0x596a6f?.[_0x3a9d4e(0x1d2)]||'';}return _0x576466;};}[_0x575f60(0x1e0)](_0x4dbf7e,_0x3e1fa4=0x5){const _0x420ce1=_0x575f60;let _0x18017a=_0x4dbf7e,_0x56f2bc=null;for(let _0x419ec4=0x0;_0x419ec4<_0x3e1fa4&&_0x18017a;_0x419ec4++){if(!_0x18017a[_0x420ce1(0x194)]){_0x18017a=_0x18017a[_0x420ce1(0x1bb)];continue;}if(!(''+_0x18017a[_0x420ce1(0x194)])[_0x420ce1(0x1fb)](_0x420ce1(0x206))){_0x18017a=_0x18017a[_0x420ce1(0x1bb)];continue;}if(!_0x18017a[_0x420ce1(0x1be)](_0x420ce1(0x249)))break;_0x56f2bc=_0x18017a;break;}return _0x56f2bc;}[_0x575f60(0x18f)](_0x449cb1){const _0xa16ab4=_0x575f60;return Array[_0xa16ab4(0x1a7)](this[_0xa16ab4(0x17b)][_0xa16ab4(0x208)]())[_0xa16ab4(0x187)](_0x3459ca=>_0x3459ca[_0xa16ab4(0x205)]===_0x449cb1);}[_0x575f60(0x1a8)](_0x459b8f){const _0x4cd185=_0x575f60;return _0x4cd185(0x1a3)===_0x459b8f[_0x4cd185(0x1ca)]?_0x459b8f[_0x4cd185(0x250)]:_0x459b8f[_0x4cd185(0x229)][_0x4cd185(0x1fe)];}[_0x575f60(0x17c)](_0x4793ed,_0x49ee13=!0x1){const _0xa0072=_0x575f60;return _0xa0072(0x1a3)===_0x4793ed[_0xa0072(0x1ca)]?_0x49ee13?_0x4793ed[_0xa0072(0x250)]:_0x4793ed[_0xa0072(0x250)][_0xa0072(0x245)](_0x4793ed[_0xa0072(0x21a)]):_0x4793ed[_0xa0072(0x229)][_0xa0072(0x1aa)];}[_0x575f60(0x1dd)](_0x4d0245,_0x5a7355){const _0x499e69=_0x575f60;return _0x499e69(0x1a3)===_0x4d0245[_0x499e69(0x1ca)]?_0x4d0245[_0x499e69(0x250)]=_0x4d0245[_0x499e69(0x250)][_0x499e69(0x245)](_0x5a7355):_0x499e69(0x1d8)===_0x4d0245[_0x499e69(0x1ca)]&&_0x4d0245[_0x499e69(0x229)]&&(_0x4d0245[_0x499e69(0x229)]=new _0x96f590(_0x4d0245[_0x499e69(0x229)][_0x499e69(0x1fe)][_0x499e69(0x245)](_0x5a7355),_0x4d0245[_0x499e69(0x229)][_0x499e69(0x1aa)][_0x499e69(0x245)](_0x5a7355))),_0x4d0245;}[_0x575f60(0x204)](_0x4a34e6,_0x1bcbc7){const _0x2247fc=_0x575f60;_0x2247fc(0x1a3)===_0x4a34e6[_0x2247fc(0x1ca)]?_0x4a34e6[_0x2247fc(0x250)]=this[_0x2247fc(0x179)](_0x4a34e6[_0x2247fc(0x250)],_0x1bcbc7):_0x2247fc(0x1d8)===_0x4a34e6[_0x2247fc(0x1ca)]&&_0x4a34e6[_0x2247fc(0x229)]&&(_0x4a34e6[_0x2247fc(0x229)]=this[_0x2247fc(0x1f1)](_0x4a34e6[_0x2247fc(0x229)],_0x1bcbc7));}[_0x575f60(0x179)](_0x5657a2,_0x584a8b){const _0x3b8297=_0x575f60;return new _0x38bb32(_0x584a8b,_0x5657a2[_0x3b8297(0x1b1)]);}[_0x575f60(0x1f1)](_0x58eee2,_0x18eed3){const _0x5eaaee=_0x575f60;return new _0x96f590(this[_0x5eaaee(0x179)](_0x58eee2[_0x5eaaee(0x1fe)],_0x18eed3),this[_0x5eaaee(0x179)](_0x58eee2[_0x5eaaee(0x1aa)],_0x18eed3));}[_0x575f60(0x196)](_0x47a654,_0x36b44f){return new _0x38bb32(_0x36b44f,[..._0x47a654]);}[_0x575f60(0x226)](_0x45b439,_0x562653,_0x2e87a7,_0xbfebf9){const _0x3e18a3=_0x575f60;return new _0x96f590(this[_0x3e18a3(0x196)](_0x562653,_0xbfebf9),this[_0x3e18a3(0x196)](_0x2e87a7,_0xbfebf9));}[_0x575f60(0x1c1)](_0xc573f1){const _0x19b646=_0x575f60,_0x32a082=_0xd6b930=>{const _0x255520=_0x1570;switch(_0xd6b930){case _0x255520(0x1a3):return 0x1;case _0x255520(0x218):return 0x2;case _0x255520(0x1b5):return 0x3;case _0x255520(0x21b):return 0x4;}};return _0xc573f1[_0x19b646(0x1c7)]((_0x534a86,_0x352521)=>_0x32a082(_0x534a86[_0x19b646(0x1ca)])-_0x32a082(_0x352521[_0x19b646(0x1ca)]));}[_0x575f60(0x213)](_0x97a299,_0x11f179){const _0x3cf616=_0x575f60,_0x5357a2=_0x97a299[_0x3cf616(0x1ed)](0x0),_0x2d260d=_0x11f179[_0x3cf616(0x1ed)](0x0);return!(!_0x5357a2||!_0x2d260d)&&((!_0x5357a2['is'](_0x3cf616(0x1e3))||!_0x2d260d['is'](_0x3cf616(0x1e3))||_0x5357a2[_0x3cf616(0x19b)]===_0x2d260d[_0x3cf616(0x19b)])&&!(_0x5357a2['is'](_0x3cf616(0x1e3))&&!_0x2d260d['is'](_0x3cf616(0x1e3))||!_0x5357a2['is'](_0x3cf616(0x1e3))&&_0x2d260d['is'](_0x3cf616(0x1e3))));}[_0x575f60(0x16b)](_0x3ce511){const _0x204cf8=_0x575f60;return 0x1===_0x3ce511[_0x204cf8(0x1cf)];}[_0x575f60(0x161)](_0x40379,_0x4ee7e9){const _0x1fcf6a=_0x575f60;for(const _0x2d0cfe of _0x40379[_0x1fcf6a(0x183)]())if(_0x2d0cfe['is'](_0x1fcf6a(0x1e3))&&!_0x4ee7e9[_0x1fcf6a(0x1e5)](_0x2d0cfe))return!0x1;return!0x0;}[_0x575f60(0x222)](_0x4e05e5,_0xc0a61d){const _0x13c198=_0x575f60;let _0x37add1=_0x4e05e5[_0x13c198(0x1be)](_0x274e4f);return _0x37add1||(_0x37add1=_0xc0a61d(),_0x4e05e5[_0x13c198(0x1e1)](_0x274e4f,_0x37add1)),_0x37add1;}}
|
|
23
|
+
const _0x3caf73=_0x43ee;(function(_0xe17c67,_0x125e98){const _0x935ea4=_0x43ee,_0x12185c=_0xe17c67();while(!![]){try{const _0x432b11=-parseInt(_0x935ea4(0x1bd))/0x1+-parseInt(_0x935ea4(0x23d))/0x2*(-parseInt(_0x935ea4(0x27d))/0x3)+-parseInt(_0x935ea4(0x1c4))/0x4+-parseInt(_0x935ea4(0x24b))/0x5+parseInt(_0x935ea4(0x18a))/0x6+-parseInt(_0x935ea4(0x239))/0x7+parseInt(_0x935ea4(0x264))/0x8*(parseInt(_0x935ea4(0x224))/0x9);if(_0x432b11===_0x125e98)break;else _0x12185c['push'](_0x12185c['shift']());}catch(_0x53fa34){_0x12185c['push'](_0x12185c['shift']());}}}(_0x5692,0x6a8ad));function _0x5692(){const _0x5f342f=['_domEmitter','21ueyuck','remove-context','_changePositionOwnerDocument','2203008IXqngx','emitter','htmlProcessor','every','getChild','isIntersecting','markChangePositionInEditorContent','length','offsetSize','addOperation','type','switchToEdit','getShiftedBy','createSelection','registerPostFixer','marker','_hasSameTopLevelElement','afterInit','changeMarkerBlurred','offset','suggestion-context','toView','getChangedMarkers','ck-ai_review-mode-marker_strikethrough','document','getChildren','isDocumentOperation','$markedRemove','toData','requires','_appendChild','_changeOperationOwnerDocument','stringify','_createGetContextFn','downcast','applyChange','removeMarker','values','_groupAdjacentOperations','relatedTarget','createDocumentFragment','processor','documentFragment','reviewmode-','pop','data-marker-id','remove','get','batch','exec','[data-id=\x22','538527zRXCnM','has','getOperations','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','markerToElement','hasContentBefore','remove-text','2584136tuegAe','_handleMarkerChanges','remove-only','forward','ck-ai_review-mode-marker_hide','innerHTML','split','getRoot','span','clone','groupId','operationsIsolated','insert','parent','htmlWriter','oldRange','closest','isInline','ck-ai_review-mode-marker_','_setAttribute','concat','conversion','add','history','target','elements','getRoots','querySelector','ck-ai_review-mode-marker_context-end','getMarkerElementForChange','suggestion:insertion:id:authorId:','backward','listenTo','suggestion:deletion:id:authorId:','createPositionAfter','changeMarkerRestored','AIEditing','ck-ai_review-mode-marker_add','_nextDataId','parentElement','[data-marker-id=\x22','isAtStart','diffContent','outerHTML','domConverter','toDomElement','end','isOpening','ck-ai_review-mode-marker_context-','applyOperation','_getOperationStart','_shiftOperation','click','isTouching','getAttribute','dataDowncast','warn','createPositionAt','_changePosition','enableReadOnlyMode','nodes','fire','isAtEnd','editingDowncast','containsRange','startsWith','for','createUIElement','_sortMarkers','_parseMarkerName','differ','push','forEach','addMarker','markers','switchToReadOnly','model','_createGetContentFn','attributeToAttribute','filter','isOfficialPlugin','schema','$documentFragment','jumpTo','clearAllMarkers','_translateOperationToEditorContent','affectsData','howMany','changeMarkerRemoved','context','path','getDomRoot','append','editing','map','getPath','2522106rkmxhY','root','getDocumentData','_getMarkersDataForGroup','getRange','flat','from','_getOperationEnd','change','ai-review-mode','_removeChildren','viewToDom','markerName','createText','parse','name','isPremiumPlugin','sort','size','No\x20element\x20found\x20for\x20ID:\x20','childCount','117530yVMour','getStart','_clone','rejectChange','82572YmgTXn','_haveSingleTopLevelElement','$graveyard','model:$text','hasAttribute','baseVersion','mouseover','$textProxy','set','disableReadOnlyMode','_eventEmitter','clear','changeMarkerClick','changeMarkerHovered','2097960krqGuJ','_validateMarkers','_changeRangeOwnerDocument','_findAdjacentContextDistance','_createGetContentUsingDataIdFn','data','getHtml','containerElement','_getChangeContext','pluginName','hasContentAfter','_upsertDataId','plugins','newRange','_haveOnlyInlineContent','hasClass','operationsA','element','AIReviewModeEditing','ellipsisAfter','start','version','index','position','delete','40NlDqNC','getChanges','includes','rootName','getEditor','ck-ai_review-mode-marker_underline','_findMarkerElement','_insertMarkers','ck-ai_review-mode-marker_context-start','insertContent','DocumentCompare','className','_changeRange','createRange','_removeAttribute','text','ellipsisBefore','_markers','createRawElement','view','markerToHighlight','getDiff','deleteContent','keys'];_0x5692=function(){return _0x5f342f;};return _0x5692();}import{InsertOperation as _0x1ba194,MarkerOperation as _0xaffd1c,ModelDocumentFragment as _0x134207,ModelPosition as _0x1196ee,ModelRange as _0x2e208d,ModelTreeWalker as _0x522e03,transformOperationSets as _0x35b096}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x189a68,EmitterMixin as _0x12fb11}from'ckeditor5/src/utils.js';function _0x43ee(_0xb0721e,_0x4f99b7){const _0x569256=_0x5692();return _0x43ee=function(_0x43ee6a,_0x829229){_0x43ee6a=_0x43ee6a-0x18a;let _0x3d93fc=_0x569256[_0x43ee6a];return _0x3d93fc;},_0x43ee(_0xb0721e,_0x4f99b7);}import{ContextPlugin as _0x1fbe41}from'ckeditor5/src/core.js';import{DocumentCompare as _0x4935bf,DATA_ID_MODEL_ATTRIBUTE as _0x55f6ff,DATA_ID_VIEW_ATTRIBUTE as _0x3cec38}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2e7d1e}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x5877f8}from'../aicore/aiediting.js';import{debounce as _0x492144}from'es-toolkit/compat';const de=_0x3caf73(0x1b5);export class AIReviewModeEditing extends _0x1fbe41{static get[_0x3caf73(0x254)](){const _0x535ddb=_0x3caf73;return _0x535ddb(0x25d);}static get[_0x3caf73(0x1a7)](){return[_0x4935bf,_0x5877f8];}static get[_0x3caf73(0x214)](){return!0x0;}static get[_0x3caf73(0x234)](){return!0x0;}[_0x3caf73(0x275)]=new Map();[_0x3caf73(0x27c)];[_0x3caf73(0x247)];constructor(_0x59a2af){const _0x409c59=_0x3caf73;super(_0x59a2af),this[_0x409c59(0x27c)]=new(_0x189a68())(),this[_0x409c59(0x247)]=new(_0x12fb11())();}get[_0x3caf73(0x18b)](){const _0x51d280=_0x3caf73;return this[_0x51d280(0x247)];}[_0x3caf73(0x19b)](){const _0x4ae571=_0x3caf73,_0x1ef53c=_0x2e7d1e(this[_0x4ae571(0x21d)]);_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x203))[_0x4ae571(0x1c1)]({'model':de+_0x4ae571(0x1d0),'view':(_0x46f361,{writer:_0x2b00e7})=>{const _0x2e71bd=_0x4ae571,_0x127cee=this[_0x2e71bd(0x275)][_0x2e71bd(0x1b9)](_0x46f361[_0x2e71bd(0x230)]),_0x44a285={'class':_0x2e71bd(0x1e9),'data-marker-id':_0x46f361[_0x2e71bd(0x230)]};return _0x2b00e7[_0x2e71bd(0x207)](_0x2e71bd(0x1cc),_0x44a285,function(_0x3a4a21){const _0x2a9b14=_0x2e71bd,_0x1f9070=this[_0x2a9b14(0x1f1)](_0x3a4a21);return _0x1f9070[_0x2a9b14(0x1c9)]=_0x127cee?.[_0x2a9b14(0x273)]||'',_0x1f9070;});}}),_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x203))[_0x4ae571(0x278)]({'model':de+_0x4ae571(0x1c6),'view':_0x5c9d7=>({'classes':_0x4ae571(0x1a1),'attributes':{'data-marker-id':_0x5c9d7[_0x4ae571(0x230)]}})}),_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x203))[_0x4ae571(0x278)]({'model':de+_0x4ae571(0x27e),'view':_0x446c27=>({'classes':_0x4ae571(0x269),'attributes':{'data-marker-id':_0x446c27[_0x4ae571(0x230)]}})}),_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x203))[_0x4ae571(0x278)]({'model':de+_0x4ae571(0x1c3),'view':_0x5ae5eb=>({'classes':_0x4ae571(0x1c8),'attributes':{'data-marker-id':_0x5ae5eb[_0x4ae571(0x230)]}})}),_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x1fb))[_0x4ae571(0x1c1)]({'model':de+_0x4ae571(0x19e),'view':(_0x248934,{writer:_0x4aaa22})=>_0x4aaa22[_0x4ae571(0x276)](_0x4ae571(0x1cc),{'class':_0x4ae571(0x1f4)+(_0x248934[_0x4ae571(0x1f3)]?_0x4ae571(0x25f):_0x4ae571(0x1f2))})}),_0x1ef53c[_0x4ae571(0x1d9)][_0x4ae571(0x206)](_0x4ae571(0x1ac))[_0x4ae571(0x212)]({'model':_0x55f6ff,'view':_0x3cec38}),this[_0x4ae571(0x27c)][_0x4ae571(0x1e4)](document,_0x4ae571(0x1f8),(_0x464f7b,_0x348b2a)=>{const _0x1beb57=_0x4ae571,_0x1e6f54=_0x348b2a[_0x1beb57(0x1dc)],_0x2fa966=this[_0x1beb57(0x26a)](_0x1e6f54);if(!_0x2fa966)return;const _0x24f62c=_0x2fa966[_0x1beb57(0x1fa)](_0x1beb57(0x1b7)),_0x3f0a8a=_0x24f62c[_0x1beb57(0x1ca)](':')[_0x1beb57(0x1b6)]()?.[_0x1beb57(0x1ca)]('_')[0x0];this[_0x1beb57(0x247)][_0x1beb57(0x201)](_0x1beb57(0x249),{'markerId':_0x24f62c,'changeId':_0x3f0a8a,'markerElement':_0x2fa966,'domEvent':_0x348b2a});}),this[_0x4ae571(0x27c)][_0x4ae571(0x1e4)](document,_0x4ae571(0x243),(_0x3e398d,_0x126d7b)=>{const _0x159f0d=_0x4ae571,_0x5e0cf2=_0x126d7b[_0x159f0d(0x1dc)],_0x5632ae=_0x126d7b[_0x159f0d(0x1b1)];let _0x1d6e63=this[_0x159f0d(0x26a)](_0x5e0cf2);if(!_0x1d6e63&&_0x5632ae&&(_0x1d6e63=this[_0x159f0d(0x26a)](_0x5632ae)),!_0x1d6e63)return;const _0x360496=_0x1d6e63[_0x159f0d(0x1fa)](_0x159f0d(0x1b7)),_0x4982fc=_0x360496[_0x159f0d(0x1ca)](':')[_0x159f0d(0x1b6)]()?.[_0x159f0d(0x1ca)]('_')[0x0];this[_0x159f0d(0x247)][_0x159f0d(0x201)](_0x159f0d(0x24a),{'changeId':_0x4982fc,'markerElement':_0x1d6e63,'domEvent':_0x126d7b});}),this[_0x4ae571(0x27c)][_0x4ae571(0x1e4)](document,_0x4ae571(0x243),_0x492144((_0xe94f71,_0x3634e5)=>{const _0x13cfc5=_0x4ae571,_0x5b476b=_0x3634e5[_0x13cfc5(0x1dc)];if(this[_0x13cfc5(0x26a)](_0x5b476b))return;_0x5b476b[_0x13cfc5(0x1d4)](_0x13cfc5(0x1c0))||this[_0x13cfc5(0x247)][_0x13cfc5(0x201)](_0x13cfc5(0x19c));},0xc8)),_0x1ef53c[_0x4ae571(0x210)][_0x4ae571(0x1a2)][_0x4ae571(0x198)](_0x59f577=>this[_0x4ae571(0x24c)](_0x1ef53c,_0x59f577)),_0x1ef53c[_0x4ae571(0x210)][_0x4ae571(0x1a2)]['on'](_0x4ae571(0x22c),()=>this[_0x4ae571(0x1c5)](_0x1ef53c));}[_0x3caf73(0x226)](){const _0x36f0f3=_0x3caf73,_0x34aa48=this[_0x36f0f3(0x21d)][_0x36f0f3(0x257)][_0x36f0f3(0x1b9)](_0x36f0f3(0x1e8)),_0x117fcd=_0x2e7d1e(this[_0x36f0f3(0x21d)]),_0x307ce8=_0x117fcd[_0x36f0f3(0x210)],_0x36b908=new _0x134207();for(const _0x32844c of _0x307ce8[_0x36f0f3(0x1a2)][_0x36f0f3(0x1cb)]()[_0x36f0f3(0x1a3)]()){const _0x4a1669=_0x32844c[_0x36f0f3(0x23b)](!0x0);_0x36b908[_0x36f0f3(0x1a8)](_0x4a1669);}for(const _0x1eb9bf of _0x307ce8[_0x36f0f3(0x20e)])_0x36b908[_0x36f0f3(0x20e)][_0x36f0f3(0x245)](_0x1eb9bf[_0x36f0f3(0x233)],this[_0x36f0f3(0x24d)](_0x1eb9bf[_0x36f0f3(0x228)]()[_0x36f0f3(0x1cd)](),_0x36b908));const _0x4dc49e=new _0x522e03({'ignoreElementEnd':!0x0,'startPosition':_0x307ce8[_0x36f0f3(0x1fd)](_0x36b908,0x0)}),_0x428257=new Set(),_0x50aedc=new Map();for(const {item:_0x12f1fd}of _0x4dc49e){if(!_0x12f1fd['is'](_0x36f0f3(0x244)))continue;const _0x4394f9=_0x12f1fd[_0x36f0f3(0x1d1)];if(_0x4394f9&&_0x4394f9['is'](_0x36f0f3(0x25c))){const _0xf9990d=this[_0x36f0f3(0x256)](_0x4394f9,()=>_0x34aa48[_0x36f0f3(0x1ea)](_0x428257));_0x428257[_0x36f0f3(0x1da)](_0xf9990d);for(const _0x1cc83c of _0x4394f9[_0x36f0f3(0x1a3)]())_0x1cc83c['is'](_0x36f0f3(0x25c))&&_0x428257[_0x36f0f3(0x1da)](this[_0x36f0f3(0x256)](_0x1cc83c,()=>_0x34aa48[_0x36f0f3(0x1ea)](_0x428257)));let _0x4024b9=_0x4394f9;for(;_0x4024b9[_0x36f0f3(0x1d1)]&&!_0x4024b9[_0x36f0f3(0x1d1)]['is'](_0x36f0f3(0x1b4));)_0x4024b9=_0x4024b9[_0x36f0f3(0x1d1)],_0x4024b9[_0x36f0f3(0x241)](_0x55f6ff)&&_0x4024b9[_0x36f0f3(0x272)](_0x55f6ff);_0x50aedc[_0x36f0f3(0x245)](_0xf9990d,{'path':_0x4394f9[_0x36f0f3(0x223)](),'getContent':this[_0x36f0f3(0x24f)](_0x4024b9[_0x36f0f3(0x23b)](!0x0),_0xf9990d,_0x117fcd[_0x36f0f3(0x250)])}),_0x4dc49e[_0x36f0f3(0x217)](_0x307ce8[_0x36f0f3(0x1e6)](_0x4394f9));}}return{'content':_0x117fcd[_0x36f0f3(0x250)][_0x36f0f3(0x1b3)][_0x36f0f3(0x1a6)](_0x117fcd[_0x36f0f3(0x250)][_0x36f0f3(0x19f)](_0x36b908)),'version':_0x117fcd[_0x36f0f3(0x210)][_0x36f0f3(0x1a2)][_0x36f0f3(0x260)],'elements':_0x50aedc};}[_0x3caf73(0x1ee)](_0x5d98fd,_0x480430){const _0x3bc787=_0x3caf73,_0x2a40f9=[],_0x321bbc=_0x2e7d1e(this[_0x3bc787(0x21d)]),_0x3d9211=_0x321bbc[_0x3bc787(0x250)][_0x3bc787(0x232)](_0x480430,_0x3bc787(0x216)),_0x44d1a0=_0x321bbc[_0x3bc787(0x250)][_0x3bc787(0x232)](_0x5d98fd,_0x3bc787(0x216)),_0x302b4c=_0x321bbc[_0x3bc787(0x210)][_0x3bc787(0x1fd)](_0x44d1a0,0x0);if(this[_0x3bc787(0x23e)](_0x3d9211)){if(!this[_0x3bc787(0x19a)](_0x44d1a0,_0x3d9211))return _0x2a40f9;}else{const _0x25df01=_0x321bbc[_0x3bc787(0x210)][_0x3bc787(0x215)];if(!this[_0x3bc787(0x259)](_0x44d1a0,_0x25df01)||!this[_0x3bc787(0x259)](_0x3d9211,_0x25df01))return _0x2a40f9;}const _0x59b2d3=this[_0x3bc787(0x21d)][_0x3bc787(0x257)][_0x3bc787(0x1b9)](_0x3bc787(0x26e))[_0x3bc787(0x279)](_0x5d98fd,_0x480430,{'anchor':_0x302b4c,'markDeletions':!0x0})[_0x3bc787(0x1bf)]()[_0x3bc787(0x213)](_0xc02c9b=>_0x3bc787(0x1d0)===_0xc02c9b[_0x3bc787(0x194)]||_0x3bc787(0x199)===_0xc02c9b[_0x3bc787(0x194)]&&_0xc02c9b[_0x3bc787(0x233)][_0x3bc787(0x205)](_0x3bc787(0x1a5))),_0x70ffec=this[_0x3bc787(0x1b0)](_0x59b2d3);let _0x5a8925=0x0;return _0x321bbc[_0x3bc787(0x210)][_0x3bc787(0x22c)](_0x2106c4=>{const _0x539e83=_0x3bc787;for(let _0x169116=0x0;_0x169116<_0x70ffec[_0x539e83(0x191)];_0x169116++){const _0x12ac44=_0x70ffec[_0x169116],_0x4f5e28=_0x2106c4[_0x539e83(0x1b2)]();for(const _0x18a1ab of _0x44d1a0[_0x539e83(0x1a3)]())_0x2106c4[_0x539e83(0x220)](_0x18a1ab[_0x539e83(0x23b)](!0x0),_0x4f5e28);for(const _0x4beb8a of _0x12ac44[_0x539e83(0x1cf)])if(_0x539e83(0x1d0)===_0x4beb8a[_0x539e83(0x194)]){const _0x2645db=_0x4beb8a;_0x2645db[_0x539e83(0x242)]=null,_0x2645db[_0x539e83(0x1a4)]=!0x1,this[_0x539e83(0x1a9)](_0x2645db,_0x4f5e28),_0x2106c4[_0x539e83(0x1ba)][_0x539e83(0x193)](_0x4beb8a),_0x321bbc[_0x539e83(0x210)][_0x539e83(0x1f5)](_0x4beb8a);const _0x42cd9a=_0x539e83(0x1e2)+_0x5a8925++,_0x50453f=_0x321bbc[_0x539e83(0x210)][_0x539e83(0x271)](_0x2645db[_0x539e83(0x262)],_0x2645db[_0x539e83(0x262)][_0x539e83(0x196)](_0x2645db[_0x539e83(0x21b)]));_0x4f5e28[_0x539e83(0x20e)][_0x539e83(0x245)](_0x42cd9a,_0x50453f);}else{if(_0x539e83(0x199)===_0x4beb8a[_0x539e83(0x194)]&&_0x4beb8a[_0x539e83(0x233)][_0x539e83(0x205)](_0x539e83(0x1a5))){const _0x40eb74=_0x4beb8a,_0x184b68=_0x539e83(0x1e5)+_0x5a8925++;this[_0x539e83(0x1a9)](_0x40eb74,_0x4f5e28),_0x4f5e28[_0x539e83(0x20e)][_0x539e83(0x245)](_0x184b68,_0x40eb74[_0x539e83(0x258)]);}}const _0x3bbf47=this[_0x539e83(0x253)](this[_0x539e83(0x27f)](this[_0x539e83(0x1f6)](_0x12ac44[_0x539e83(0x1cf)][0x0]),_0x4f5e28),this[_0x539e83(0x27f)](this[_0x539e83(0x22b)](_0x12ac44[_0x539e83(0x1cf)][_0x12ac44[_0x539e83(0x1cf)][_0x539e83(0x191)]-0x1]),_0x4f5e28));_0x4f5e28[_0x539e83(0x20e)][_0x539e83(0x245)](de+_0x539e83(0x19e),new _0x2e208d(_0x3bbf47[_0x539e83(0x25f)],_0x3bbf47[_0x539e83(0x1f2)])),_0x2a40f9[_0x539e83(0x20b)]({..._0x12ac44,'context':this[_0x539e83(0x1ab)](_0x4f5e28,_0x321bbc[_0x539e83(0x250)],{'ellipsisBefore':_0x3bbf47[_0x539e83(0x1c2)],'ellipsisAfter':_0x3bbf47[_0x539e83(0x255)]}),'content':this[_0x539e83(0x211)](_0x4f5e28,_0x321bbc[_0x539e83(0x250)])});}}),_0x2a40f9;}[_0x3caf73(0x190)](_0x523245,_0x36487e){const _0x1d30b7=_0x3caf73;if(!_0x523245[_0x1d30b7(0x191)])return;const _0x1897d8=_0x523245[0x0][_0x1d30b7(0x1d1)]['id'],_0x299bf1=_0x36487e[_0x1d30b7(0x1dd)][_0x1d30b7(0x1b9)](_0x1897d8);if(!_0x299bf1)return void console[_0x1d30b7(0x1fc)](_0x1d30b7(0x237)+_0x1897d8);const _0xfb945d=_0x299bf1[_0x1d30b7(0x21e)],_0x3af439=_0x2e7d1e(this[_0x1d30b7(0x21d)]),_0x37c756=_0x3af439[_0x1d30b7(0x210)][_0x1d30b7(0x1a2)][_0x1d30b7(0x1db)][_0x1d30b7(0x1bf)](_0x36487e[_0x1d30b7(0x260)]),_0x4ba75b=[];for(const _0x28292a of _0x523245){const _0x8fd905=_0x28292a[_0x1d30b7(0x1cf)][_0x1d30b7(0x222)](_0x314ecc=>this[_0x1d30b7(0x219)](_0x314ecc,_0xfb945d,_0x3af439[_0x1d30b7(0x210)][_0x1d30b7(0x1a2)][_0x1d30b7(0x1de)]()[0x0]));if(!_0x8fd905||!_0x8fd905[_0x1d30b7(0x191)])continue;const _0x44a8d2=_0x8fd905[_0x1d30b7(0x18d)](_0x4cebee=>_0x1d30b7(0x199)===_0x4cebee[_0x1d30b7(0x194)]&&_0x4cebee[_0x1d30b7(0x233)][_0x1d30b7(0x205)](_0x1d30b7(0x1a5))),_0x26b88b={'document':_0x3af439[_0x1d30b7(0x210)][_0x1d30b7(0x1a2)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4de893=_0x35b096(_0x8fd905,_0x37c756,_0x26b88b)[_0x1d30b7(0x25b)];for(const _0x9f0b5 of _0x4de893)if(_0x1d30b7(0x1d0)===_0x9f0b5[_0x1d30b7(0x194)]){const _0x1f0983=_0x9f0b5,_0x5517a2=_0x1f0983[_0x1d30b7(0x200)];let _0x5d029c='';for(const _0xa7b40b of _0x5517a2)_0xa7b40b&&_0xa7b40b['is'](_0x1d30b7(0x240))&&(_0x5d029c+=_0xa7b40b[_0x1d30b7(0x250)]);_0x4ba75b[_0x1d30b7(0x20b)]({'start':_0x1f0983[_0x1d30b7(0x262)],'end':_0x1f0983[_0x1d30b7(0x262)],'type':_0x1d30b7(0x1d0),'groupId':_0x28292a['id'],'text':_0x5d029c});}else{if(_0x1d30b7(0x199)===_0x9f0b5[_0x1d30b7(0x194)]&&_0x9f0b5[_0x1d30b7(0x233)][_0x1d30b7(0x205)](_0x1d30b7(0x1a5))){const _0x47b83b=_0x9f0b5;let _0x1247f0=_0x1d30b7(0x1c3);if(_0x44a8d2){const _0x193f48=this[_0x1d30b7(0x24e)](_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x25f)],_0x1d30b7(0x1e3),_0x3af439[_0x1d30b7(0x210)][_0x1d30b7(0x215)]),_0x45b2a0=this[_0x1d30b7(0x24e)](_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x1f2)],_0x1d30b7(0x1c7),_0x3af439[_0x1d30b7(0x210)][_0x1d30b7(0x215)]);if(_0x193f48||_0x45b2a0){const _0x2096a4=_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x25f)][_0x1d30b7(0x196)](-_0x193f48),_0xf959e7=_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x1f2)][_0x1d30b7(0x196)](_0x45b2a0);_0x4ba75b[_0x1d30b7(0x20b)]({'start':_0x2096a4,'end':_0xf959e7,'groupId':_0x28292a['id'],'type':_0x1d30b7(0x27e)});}else _0x1247f0=_0x1d30b7(0x1c6);}_0x4ba75b[_0x1d30b7(0x20b)]({'start':_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x25f)],'end':_0x47b83b[_0x1d30b7(0x258)][_0x1d30b7(0x1f2)],'groupId':_0x28292a['id'],'type':_0x1247f0});}}}this[_0x1d30b7(0x26b)](_0x4ba75b);}[_0x3caf73(0x218)](){const _0xc232f6=_0x3caf73,_0x511adc=_0x2e7d1e(this[_0xc232f6(0x21d)]);_0x511adc[_0xc232f6(0x210)][_0xc232f6(0x22c)](_0x331f55=>{const _0x58ece8=_0xc232f6;for(const _0x42b416 of this[_0x58ece8(0x275)][_0x58ece8(0x27b)]())_0x511adc[_0x58ece8(0x210)][_0x58ece8(0x20e)][_0x58ece8(0x1b9)](_0x42b416)&&_0x331f55[_0x58ece8(0x1ae)](_0x42b416);}),this[_0xc232f6(0x275)][_0xc232f6(0x248)]();}[_0x3caf73(0x20f)](){const _0x5247ed=_0x3caf73;_0x2e7d1e(this[_0x5247ed(0x21d)])[_0x5247ed(0x1ff)](_0x5247ed(0x22d));}[_0x3caf73(0x195)](){const _0xb5baf1=_0x3caf73;_0x2e7d1e(this[_0xb5baf1(0x21d)])[_0xb5baf1(0x246)](_0xb5baf1(0x22d));}[_0x3caf73(0x1ad)](_0x5d5461){const _0x13a832=_0x3caf73,_0x35a0b5=_0x2e7d1e(this[_0x13a832(0x21d)]),_0x548901=_0x35a0b5[_0x13a832(0x210)],_0x495e88=_0x5d5461[_0x13a832(0x222)](_0x4660f9=>this[_0x13a832(0x227)](_0x4660f9))[_0x13a832(0x229)]();_0x548901[_0x13a832(0x22c)](_0x18b5aa=>{const _0xd2977c=_0x13a832;for(const _0x33e924 of _0x495e88){const _0x3c37e5=_0x35a0b5[_0xd2977c(0x210)][_0xd2977c(0x20e)][_0xd2977c(0x1b9)](_0x33e924['id']);_0x3c37e5&&(_0xd2977c(0x1d0)===_0x33e924[_0xd2977c(0x194)]?_0x548901[_0xd2977c(0x26d)](_0x18b5aa[_0xd2977c(0x231)](_0x33e924[_0xd2977c(0x273)]||''),_0x3c37e5[_0xd2977c(0x228)]()[_0xd2977c(0x25f)]):_0xd2977c(0x1c3)!==_0x33e924[_0xd2977c(0x194)]&&_0xd2977c(0x1c6)!==_0x33e924[_0xd2977c(0x194)]||_0x548901[_0xd2977c(0x27a)](_0x548901[_0xd2977c(0x197)](_0x3c37e5[_0xd2977c(0x228)]())),_0x18b5aa[_0xd2977c(0x1ae)](_0x33e924['id']),this[_0xd2977c(0x275)][_0xd2977c(0x263)](_0x33e924['id']));}});}[_0x3caf73(0x23c)](_0x13e743){const _0x23b7e5=_0x3caf73,_0x1cdf25=_0x2e7d1e(this[_0x23b7e5(0x21d)]),_0x5f1c79=this[_0x23b7e5(0x227)](_0x13e743);_0x1cdf25[_0x23b7e5(0x210)][_0x23b7e5(0x22c)](_0x277746=>{const _0x24a490=_0x23b7e5;for(const _0x496c74 of _0x5f1c79)_0x277746[_0x24a490(0x1ae)](_0x496c74['id']),this[_0x24a490(0x275)][_0x24a490(0x263)](_0x496c74['id']);});}[_0x3caf73(0x268)](){const _0x3c83d7=_0x3caf73;return _0x2e7d1e(this[_0x3c83d7(0x21d)]);}[_0x3caf73(0x1e1)](_0xe2a509){const _0x2b7ed7=_0x3caf73,_0xa07a43=Array[_0x2b7ed7(0x22a)](this[_0x2b7ed7(0x275)][_0x2b7ed7(0x1af)]())[_0x2b7ed7(0x213)](_0x133e5b=>_0x133e5b[_0x2b7ed7(0x1ce)]===_0xe2a509);if(!_0xa07a43[_0x2b7ed7(0x191)])return null;const _0x4a2d76=0x1===_0xa07a43[_0x2b7ed7(0x191)]?_0xa07a43[0x0]:this[_0x2b7ed7(0x208)](_0xa07a43)[0x0],_0x229dad=_0x2e7d1e(this[_0x2b7ed7(0x21d)]),_0x399b4a=_0x229dad[_0x2b7ed7(0x210)][_0x2b7ed7(0x20e)][_0x2b7ed7(0x1b9)](_0x4a2d76['id']);if(!_0x399b4a)return null;const _0x28901c=_0x399b4a[_0x2b7ed7(0x228)](),_0x1d2944=_0x229dad[_0x2b7ed7(0x221)][_0x2b7ed7(0x277)][_0x2b7ed7(0x21f)]();if(!_0x1d2944||!_0x28901c)return null;const _0x1ecd8a=_0x1d2944[_0x2b7ed7(0x1df)](_0x2b7ed7(0x1ec)+_0x4a2d76['id']+'\x22]');return _0x1ecd8a?{'modelRange':_0x28901c,'domElement':_0x1ecd8a}:null;}[_0x3caf73(0x24c)](_0x4ba54c,_0x15e787){const _0xbcb86b=_0x3caf73,_0x4d7db7=Array[_0xbcb86b(0x22a)](this[_0xbcb86b(0x275)][_0xbcb86b(0x27b)]()),_0x481826=new Map();for(const _0x1cdd14 of _0x4d7db7){const _0x13e3fa=_0x4ba54c[_0xbcb86b(0x210)][_0xbcb86b(0x20e)][_0xbcb86b(0x1b9)](_0x1cdd14);if(!_0x13e3fa)continue;const _0x31df0f=_0x13e3fa[_0xbcb86b(0x23a)]()[_0xbcb86b(0x21e)][0x0];_0x481826[_0xbcb86b(0x1be)](_0x31df0f)||_0x481826[_0xbcb86b(0x245)](_0x31df0f,[]),_0x481826[_0xbcb86b(0x1b9)](_0x31df0f)[_0xbcb86b(0x20b)](_0x13e3fa);}const _0x177d41=new Set();for(const _0x251461 of _0x4ba54c[_0xbcb86b(0x210)][_0xbcb86b(0x1a2)][_0xbcb86b(0x20a)][_0xbcb86b(0x265)]()){let _0x4d7c97=-0x1,_0x90c26c=null;if(_0xbcb86b(0x1d0)===_0x251461[_0xbcb86b(0x194)])_0x90c26c=new _0x2e208d(_0x251461[_0xbcb86b(0x262)],_0x251461[_0xbcb86b(0x262)][_0xbcb86b(0x196)](_0x251461[_0xbcb86b(0x191)])),_0x4d7c97=_0x251461[_0xbcb86b(0x262)][_0xbcb86b(0x21e)][0x0];else{if(_0xbcb86b(0x1b8)!==_0x251461[_0xbcb86b(0x194)])continue;_0x90c26c=new _0x2e208d(_0x251461[_0xbcb86b(0x262)]),_0x4d7c97=_0x251461[_0xbcb86b(0x262)][_0xbcb86b(0x21e)][0x0];}const _0x3b8ba3=_0x481826[_0xbcb86b(0x1b9)](_0x4d7c97)||[];if(_0x3b8ba3[_0xbcb86b(0x191)]){for(const _0x23da5a of _0x3b8ba3)if(_0x90c26c[_0xbcb86b(0x225)][_0xbcb86b(0x267)]===_0x23da5a[_0xbcb86b(0x228)]()[_0xbcb86b(0x225)][_0xbcb86b(0x267)]&&(_0xbcb86b(0x1d0)!==_0x251461[_0xbcb86b(0x194)]||!_0x90c26c[_0xbcb86b(0x204)](_0x23da5a[_0xbcb86b(0x228)]()))&&(_0x90c26c[_0xbcb86b(0x18f)](_0x23da5a[_0xbcb86b(0x228)]())||_0x90c26c[_0xbcb86b(0x25f)][_0xbcb86b(0x1f9)](_0x23da5a[_0xbcb86b(0x228)]()[_0xbcb86b(0x1f2)])||_0x90c26c[_0xbcb86b(0x1f2)][_0xbcb86b(0x1f9)](_0x23da5a[_0xbcb86b(0x228)]()[_0xbcb86b(0x25f)]))){const _0x15345c=this[_0xbcb86b(0x209)](_0x23da5a[_0xbcb86b(0x233)]);Array[_0xbcb86b(0x22a)](this[_0xbcb86b(0x275)][_0xbcb86b(0x1af)]())[_0xbcb86b(0x213)](_0x54578d=>_0x54578d[_0xbcb86b(0x1ce)]===_0x15345c[_0xbcb86b(0x1ce)])[_0xbcb86b(0x20c)](_0x5c2f67=>_0x177d41[_0xbcb86b(0x1da)](_0x5c2f67['id']));}}}if(_0x177d41[_0xbcb86b(0x236)]){for(const _0x551fe9 of _0x177d41)_0x15e787[_0xbcb86b(0x1ae)](_0x551fe9);return!0x0;}return!0x1;}[_0x3caf73(0x1c5)](_0x370085){const _0x3cfff9=_0x3caf73;for(const {name:_0x1f2cc6,data:_0x5a1c93}of _0x370085[_0x3cfff9(0x210)][_0x3cfff9(0x1a2)][_0x3cfff9(0x20a)][_0x3cfff9(0x1a0)]()){if(!_0x1f2cc6[_0x3cfff9(0x205)](de))continue;const _0x570334=_0x5a1c93[_0x3cfff9(0x1d3)],_0x293e8c=_0x5a1c93[_0x3cfff9(0x258)],_0x226d5e=_0x570334&&_0x3cfff9(0x23f)===_0x570334[_0x3cfff9(0x225)][_0x3cfff9(0x267)],_0x46e2f9=_0x293e8c&&_0x3cfff9(0x23f)===_0x293e8c[_0x3cfff9(0x225)][_0x3cfff9(0x267)];if(_0x226d5e&&_0x46e2f9)continue;const _0x309145=this[_0x3cfff9(0x209)](_0x1f2cc6);this[_0x3cfff9(0x275)][_0x3cfff9(0x1b9)](_0x1f2cc6)&&(_0x46e2f9||!_0x293e8c?this[_0x3cfff9(0x247)][_0x3cfff9(0x201)](_0x3cfff9(0x21c),{'markerId':_0x1f2cc6,'changeId':_0x309145[_0x3cfff9(0x1ce)]}):_0x226d5e&&_0x293e8c&&this[_0x3cfff9(0x247)][_0x3cfff9(0x201)](_0x3cfff9(0x1e7),{'markerId':_0x1f2cc6,'changeId':_0x309145[_0x3cfff9(0x1ce)]}));}}[_0x3caf73(0x209)](_0x3b9089){const _0x46d2d0=_0x3caf73,_0x2ecc12=_0x3b9089[_0x46d2d0(0x1ca)](':'),_0x4f2172=(_0x2ecc12[0x1]||'')[_0x46d2d0(0x1ca)]('_');return{'prefix':_0x2ecc12[0x0],'groupId':_0x4f2172[0x0],'suffix':_0x4f2172[0x1]};}[_0x3caf73(0x219)](_0x34a350,_0x2c2e3e,_0x3f937b){const _0x598c19=_0x3caf73;if(_0x598c19(0x1d0)===_0x34a350[_0x598c19(0x194)]){const _0x2e1dbc=_0x34a350;return new _0x1ba194(this[_0x598c19(0x1fe)](_0x2c2e3e[_0x598c19(0x1d8)](_0x2e1dbc[_0x598c19(0x262)][_0x598c19(0x19d)]),_0x3f937b),_0x2e1dbc[_0x598c19(0x200)],_0x2e1dbc[_0x598c19(0x242)]);}if(_0x598c19(0x199)===_0x34a350[_0x598c19(0x194)]&&_0x34a350[_0x598c19(0x233)][_0x598c19(0x205)](_0x598c19(0x1a5))){const _0x4b1b94=_0x34a350;return new _0xaffd1c(_0x4b1b94[_0x598c19(0x233)],_0x4b1b94[_0x598c19(0x1d3)],this[_0x598c19(0x270)](_0x4b1b94[_0x598c19(0x258)],_0x2c2e3e[_0x598c19(0x1d8)](_0x4b1b94[_0x598c19(0x258)][_0x598c19(0x25f)][_0x598c19(0x19d)]),_0x2c2e3e[_0x598c19(0x1d8)](_0x4b1b94[_0x598c19(0x258)][_0x598c19(0x1f2)][_0x598c19(0x19d)]),_0x3f937b),_0x4b1b94[_0x598c19(0x275)],_0x4b1b94[_0x598c19(0x21a)],_0x4b1b94[_0x598c19(0x242)]);}return _0x34a350;}[_0x3caf73(0x1b0)](_0x1129f2){const _0x2b5d35=_0x3caf73;if(!_0x1129f2[_0x2b5d35(0x191)])return[];const _0x61e0c4=[];let _0x43f07b=0x0,_0x2c5b24=0x0,_0x4a82fa=[];for(let _0x1048ec=0x0;_0x1048ec<=_0x1129f2[_0x2b5d35(0x191)];_0x1048ec++){const _0x140fca=_0x1129f2[_0x1048ec],_0x13df62=_0x1129f2[_0x1048ec-0x1];!_0x140fca||_0x13df62&&!this[_0x2b5d35(0x22b)](_0x13df62)[_0x2b5d35(0x1f9)](this[_0x2b5d35(0x1f6)](_0x140fca))?(_0x61e0c4[_0x2b5d35(0x20b)]({'operations':_0x4a82fa,'operationsIsolated':_0x4a82fa[_0x2b5d35(0x222)](_0x1c6181=>this[_0x2b5d35(0x1f7)](_0x1c6181[_0x2b5d35(0x1cd)](),-_0x2c5b24)),'groupOffset':_0x43f07b}),_0x4a82fa=_0x140fca?[_0x140fca]:[],_0x2c5b24+=_0x43f07b,_0x43f07b=0x0):_0x4a82fa[_0x2b5d35(0x20b)](_0x140fca),_0x140fca&&_0x2b5d35(0x1d0)===_0x140fca[_0x2b5d35(0x194)]&&(_0x43f07b+=_0x140fca[_0x2b5d35(0x21b)]);}return _0x61e0c4;}[_0x3caf73(0x24e)](_0x17728e,_0x1ee68f,_0x38555a,_0x16cced=0x1){const _0x441ee1=_0x3caf73,_0xfda024=new _0x522e03({'startPosition':_0x17728e,'direction':_0x1ee68f});let _0x15d719=0x0;for(let _0x1e3898=0x0;_0x1e3898<_0x16cced;_0x1e3898++){let _0x45de48=0x0,_0x43b494=!0x1,_0x116900=_0x441ee1(0x1c7)===_0x1ee68f?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x426aeb}of _0xfda024)if(_0x426aeb['is'](_0x441ee1(0x244))){const _0x3045cd=_0x116900[_0x441ee1(0x1bb)](_0x426aeb[_0x441ee1(0x250)]);if(_0x3045cd&&_0x3045cd[_0x441ee1(0x191)]){if(_0x45de48+=_0x441ee1(0x1c7)===_0x1ee68f?_0x3045cd[_0x441ee1(0x261)]+_0x3045cd[0x0][_0x441ee1(0x191)]:_0x426aeb[_0x441ee1(0x250)][_0x441ee1(0x191)]-_0x3045cd[_0x441ee1(0x261)],_0x3045cd[0x0][_0x441ee1(0x191)]!==_0x426aeb[_0x441ee1(0x250)][_0x441ee1(0x191)])break;_0x43b494=!0x0,_0x116900=_0x441ee1(0x1c7)===_0x1ee68f?/^\w+/:/\w+$/;}else{if(_0x43b494)break;_0x45de48+=_0x426aeb[_0x441ee1(0x192)];}}else{if(_0x426aeb['is'](_0x441ee1(0x25c))){_0x38555a[_0x441ee1(0x1d5)](_0x426aeb)&&!_0x43b494&&(_0x45de48+=0x1);break;}}_0x15d719+=_0x45de48,_0xfda024[_0x441ee1(0x217)](_0x17728e[_0x441ee1(0x196)](_0x441ee1(0x1c7)===_0x1ee68f?_0x15d719:-_0x15d719));}return _0x15d719;}[_0x3caf73(0x253)](_0x4b85a0,_0x3ecfa6){const _0x474723=_0x3caf73,_0x1e2261=_0x2e7d1e(this[_0x474723(0x21d)])[_0x474723(0x210)][_0x474723(0x215)],_0x5c786f=this[_0x474723(0x24e)](_0x4b85a0,_0x474723(0x1e3),_0x1e2261,0x6),_0x52d922=this[_0x474723(0x24e)](_0x3ecfa6,_0x474723(0x1c7),_0x1e2261,0x6),_0x312692=_0x4b85a0[_0x474723(0x196)](-_0x5c786f),_0x591d48=_0x3ecfa6[_0x474723(0x196)](_0x52d922);return{'start':_0x312692,'end':_0x591d48,'hasContentBefore':!_0x312692[_0x474723(0x1ed)],'hasContentAfter':!_0x591d48[_0x474723(0x202)]};}[_0x3caf73(0x26b)](_0x49a057){const _0x4a5ade=_0x3caf73,_0x55a709=this[_0x4a5ade(0x21d)][_0x4a5ade(0x257)][_0x4a5ade(0x1b9)](_0x4a5ade(0x1e8)),_0x51639d=new Set();_0x2e7d1e(this[_0x4a5ade(0x21d)])[_0x4a5ade(0x210)][_0x4a5ade(0x22c)](_0x340532=>{const _0x53e430=_0x4a5ade;for(const _0x3a0a79 of _0x49a057){const _0x39512d=''+de+_0x3a0a79[_0x53e430(0x194)]+':'+_0x3a0a79[_0x53e430(0x1ce)]+'_'+_0x55a709[_0x53e430(0x1ea)](_0x51639d);this[_0x53e430(0x275)][_0x53e430(0x245)](_0x39512d,{'id':_0x39512d,'groupId':_0x3a0a79[_0x53e430(0x1ce)],'type':_0x3a0a79[_0x53e430(0x194)],'text':_0x3a0a79[_0x53e430(0x273)]}),_0x340532[_0x53e430(0x20d)](_0x39512d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x340532[_0x53e430(0x271)](_0x3a0a79[_0x53e430(0x25f)],_0x3a0a79[_0x53e430(0x1f2)])});}});}[_0x3caf73(0x1ab)](_0x25134d,_0x2aa4c6,_0x1fc89a){let _0x3e7f48='';return()=>{const _0x11a971=_0x43ee;if(!_0x3e7f48){const _0x398e3e=_0x2aa4c6[_0x11a971(0x19f)](_0x25134d,{'showSuggestionHighlights':!0x0});let _0x2516bb=_0x398e3e[_0x11a971(0x18e)](0x0);if(_0x2516bb['is'](_0x11a971(0x252))||(_0x2516bb=_0x398e3e),!_0x2516bb)return'';let _0x1d0f42=!0x1;const _0x2fe17d=[];for(const _0x19865a of _0x2516bb[_0x11a971(0x1a3)]())_0x19865a['is'](_0x11a971(0x25c),_0x11a971(0x1cc))&&_0x19865a[_0x11a971(0x25a)](_0x11a971(0x1e0))&&(_0x1d0f42=!0x1),_0x1d0f42&&_0x2fe17d[_0x11a971(0x20b)](_0x19865a),_0x19865a['is'](_0x11a971(0x25c),_0x11a971(0x1cc))&&_0x19865a[_0x11a971(0x25a)](_0x11a971(0x26c))&&(_0x1d0f42=!0x0);_0x2516bb[_0x11a971(0x22e)](0x0,_0x2516bb[_0x11a971(0x238)]),_0x1fc89a?.[_0x11a971(0x274)]&&_0x2516bb[_0x11a971(0x1a8)]('…'),_0x2516bb[_0x11a971(0x1a8)](_0x2fe17d),_0x1fc89a?.[_0x11a971(0x25e)]&&_0x2516bb[_0x11a971(0x1a8)]('…');const _0x5849b0=_0x2aa4c6[_0x11a971(0x18c)][_0x11a971(0x1f0)][_0x11a971(0x22f)](_0x398e3e),_0x22d7bc=_0x2aa4c6[_0x11a971(0x18c)][_0x11a971(0x1d2)][_0x11a971(0x251)](_0x5849b0);_0x3e7f48=_0x22d7bc;}return _0x3e7f48;};}[_0x3caf73(0x211)](_0x5bc5d5,_0xa560ca){const _0x430e7d=_0x3caf73;let _0x18aebf='';return()=>(_0x18aebf||(_0x18aebf=_0xa560ca[_0x430e7d(0x1aa)](_0x5bc5d5,{'showSuggestionHighlights':!0x0})),_0x18aebf);}[_0x3caf73(0x24f)](_0x722669,_0x9e335a,_0x12897b){let _0x5cc871='';return()=>{const _0x2a6115=_0x43ee;if(!_0x5cc871){const _0x2cd130=_0x12897b[_0x2a6115(0x19f)](new _0x134207(_0x722669)),_0x470ca1=_0x12897b[_0x2a6115(0x18c)][_0x2a6115(0x1f0)][_0x2a6115(0x22f)](_0x2cd130)[_0x2a6115(0x1df)](_0x2a6115(0x1bc)+_0x9e335a+'\x22]');_0x5cc871=_0x470ca1?.[_0x2a6115(0x1ef)]||'';}return _0x5cc871;};}[_0x3caf73(0x26a)](_0x11b3ef,_0x4563fc=0x5){const _0x26b5d4=_0x3caf73;let _0x3604b3=_0x11b3ef,_0x41122e=null;for(let _0x4a2248=0x0;_0x4a2248<_0x4563fc&&_0x3604b3;_0x4a2248++){if(!_0x3604b3[_0x26b5d4(0x26f)]){_0x3604b3=_0x3604b3[_0x26b5d4(0x1eb)];continue;}if(!(''+_0x3604b3[_0x26b5d4(0x26f)])[_0x26b5d4(0x266)](_0x26b5d4(0x1d6))){_0x3604b3=_0x3604b3[_0x26b5d4(0x1eb)];continue;}if(!_0x3604b3[_0x26b5d4(0x1fa)](_0x26b5d4(0x1b7)))break;_0x41122e=_0x3604b3;break;}return _0x41122e;}[_0x3caf73(0x227)](_0x2f6433){const _0x1dddf7=_0x3caf73;return Array[_0x1dddf7(0x22a)](this[_0x1dddf7(0x275)][_0x1dddf7(0x1af)]())[_0x1dddf7(0x213)](_0xe24752=>_0xe24752[_0x1dddf7(0x1ce)]===_0x2f6433);}[_0x3caf73(0x1f6)](_0x28c78c){const _0x522ce5=_0x3caf73;return _0x522ce5(0x1d0)===_0x28c78c[_0x522ce5(0x194)]?_0x28c78c[_0x522ce5(0x262)]:_0x28c78c[_0x522ce5(0x258)][_0x522ce5(0x25f)];}[_0x3caf73(0x22b)](_0x270726,_0x3f166a=!0x1){const _0x2d6398=_0x3caf73;return _0x2d6398(0x1d0)===_0x270726[_0x2d6398(0x194)]?_0x3f166a?_0x270726[_0x2d6398(0x262)]:_0x270726[_0x2d6398(0x262)][_0x2d6398(0x196)](_0x270726[_0x2d6398(0x21b)]):_0x270726[_0x2d6398(0x258)][_0x2d6398(0x1f2)];}[_0x3caf73(0x1f7)](_0x2861e1,_0x548328){const _0x367555=_0x3caf73;return _0x367555(0x1d0)===_0x2861e1[_0x367555(0x194)]?_0x2861e1[_0x367555(0x262)]=_0x2861e1[_0x367555(0x262)][_0x367555(0x196)](_0x548328):_0x367555(0x199)===_0x2861e1[_0x367555(0x194)]&&_0x2861e1[_0x367555(0x258)]&&(_0x2861e1[_0x367555(0x258)]=new _0x2e208d(_0x2861e1[_0x367555(0x258)][_0x367555(0x25f)][_0x367555(0x196)](_0x548328),_0x2861e1[_0x367555(0x258)][_0x367555(0x1f2)][_0x367555(0x196)](_0x548328))),_0x2861e1;}[_0x3caf73(0x1a9)](_0x39eb38,_0x4a56e9){const _0x4d5050=_0x3caf73;_0x4d5050(0x1d0)===_0x39eb38[_0x4d5050(0x194)]?_0x39eb38[_0x4d5050(0x262)]=this[_0x4d5050(0x27f)](_0x39eb38[_0x4d5050(0x262)],_0x4a56e9):_0x4d5050(0x199)===_0x39eb38[_0x4d5050(0x194)]&&_0x39eb38[_0x4d5050(0x258)]&&(_0x39eb38[_0x4d5050(0x258)]=this[_0x4d5050(0x24d)](_0x39eb38[_0x4d5050(0x258)],_0x4a56e9));}[_0x3caf73(0x27f)](_0x584c6e,_0x5f5d9e){const _0x45033c=_0x3caf73;return new _0x1196ee(_0x5f5d9e,_0x584c6e[_0x45033c(0x21e)]);}[_0x3caf73(0x24d)](_0x2b81ca,_0x149213){const _0x1be36b=_0x3caf73;return new _0x2e208d(this[_0x1be36b(0x27f)](_0x2b81ca[_0x1be36b(0x25f)],_0x149213),this[_0x1be36b(0x27f)](_0x2b81ca[_0x1be36b(0x1f2)],_0x149213));}[_0x3caf73(0x1fe)](_0x47d71a,_0x10b6d3){return new _0x1196ee(_0x10b6d3,[..._0x47d71a]);}[_0x3caf73(0x270)](_0x2865fc,_0x1726da,_0x595c39,_0x5d6eb8){const _0x335533=_0x3caf73;return new _0x2e208d(this[_0x335533(0x1fe)](_0x1726da,_0x5d6eb8),this[_0x335533(0x1fe)](_0x595c39,_0x5d6eb8));}[_0x3caf73(0x208)](_0x397ca3){const _0x1c5cb6=_0x3caf73,_0x104e9b=_0x10d0ec=>{const _0x2db8b8=_0x43ee;switch(_0x10d0ec){case _0x2db8b8(0x1d0):return 0x1;case _0x2db8b8(0x27e):return 0x2;case _0x2db8b8(0x1c6):return 0x3;case _0x2db8b8(0x1c3):return 0x4;}};return _0x397ca3[_0x1c5cb6(0x235)]((_0x11a2eb,_0xc22ff0)=>_0x104e9b(_0x11a2eb[_0x1c5cb6(0x194)])-_0x104e9b(_0xc22ff0[_0x1c5cb6(0x194)]));}[_0x3caf73(0x19a)](_0x474049,_0x137650){const _0xf797aa=_0x3caf73,_0x28de3d=_0x474049[_0xf797aa(0x18e)](0x0),_0x24a1df=_0x137650[_0xf797aa(0x18e)](0x0);return!(!_0x28de3d||!_0x24a1df)&&((!_0x28de3d['is'](_0xf797aa(0x25c))||!_0x24a1df['is'](_0xf797aa(0x25c))||_0x28de3d[_0xf797aa(0x233)]===_0x24a1df[_0xf797aa(0x233)])&&!(_0x28de3d['is'](_0xf797aa(0x25c))&&!_0x24a1df['is'](_0xf797aa(0x25c))||!_0x28de3d['is'](_0xf797aa(0x25c))&&_0x24a1df['is'](_0xf797aa(0x25c))));}[_0x3caf73(0x23e)](_0x5656e8){const _0x318e6f=_0x3caf73;return 0x1===_0x5656e8[_0x318e6f(0x238)];}[_0x3caf73(0x259)](_0x52b8f8,_0x5a7e2a){const _0x23bf07=_0x3caf73;for(const _0x2f30d9 of _0x52b8f8[_0x23bf07(0x1a3)]())if(_0x2f30d9['is'](_0x23bf07(0x25c))&&!_0x5a7e2a[_0x23bf07(0x1d5)](_0x2f30d9))return!0x1;return!0x0;}[_0x3caf73(0x256)](_0x3bbe84,_0x164cf5){const _0xd52d90=_0x3caf73;let _0x102f89=_0x3bbe84[_0xd52d90(0x1fa)](_0x55f6ff);return _0x102f89||(_0x102f89=_0x164cf5(),_0x3bbe84[_0xd52d90(0x1d7)](_0x55f6ff,_0x102f89)),_0x102f89;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bfce4=_0x4f5b;(function(_0x11ae0d,_0x3eadcf){const _0x3f6156=_0x4f5b,_0x5a6b09=_0x11ae0d();while(!![]){try{const _0x18dc2c=parseInt(_0x3f6156(0x14a))/0x1+parseInt(_0x3f6156(0x151))/0x2*(parseInt(_0x3f6156(0x136))/0x3)+-parseInt(_0x3f6156(0x128))/0x4+parseInt(_0x3f6156(0x126))/0x5+-parseInt(_0x3f6156(0x13a))/0x6+-parseInt(_0x3f6156(0x11c))/0x7*(parseInt(_0x3f6156(0x166))/0x8)+-parseInt(_0x3f6156(0x160))/0x9;if(_0x18dc2c===_0x3eadcf)break;else _0x5a6b09['push'](_0x5a6b09['shift']());}catch(_0x4aaea2){_0x5a6b09['push'](_0x5a6b09['shift']());}}}(_0x4783,0xed0f4));import{ContextPlugin as _0x6de859}from'ckeditor5/src/core.js';import{IconAIReview as _0x10957a}from'ckeditor5/src/icons.js';import{BodyCollection as _0x597172}from'ckeditor5/src/ui.js';function _0x4f5b(_0x4b7ad6,_0x32fdc6){const _0x4783ae=_0x4783();return _0x4f5b=function(_0x4f5b93,_0x1bf692){_0x4f5b93=_0x4f5b93-0x11a;let _0x1596fd=_0x4783ae[_0x4f5b93];return _0x1596fd;},_0x4f5b(_0x4b7ad6,_0x32fdc6);}import{AITabs as _0x27c2ce}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x16c9de}from'./ui/aireviewmodeview.js';import{getTranslation as _0x133440}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0xa1e74}from'./ui/aireviewmodeballoonsuggestionview.js';function _0x4783(){const _0x3f39f9=['AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','reviewCheckListView','showGeneralReviewModeErrorView','getResults','568118cTHjNE','showReviewCheckResultsView','showActionsWhenResultIsReady','finishReview','showChunkErrorView','hideBalloon','reviewMode','element','showDiffInBalloon','setAvailableChecks','hideActionsWhenResultIsReady','deactivateChange','addTab','addCheckRunResult','getReviewCheckList','5378373aegtio','delegate','retryReview','destroy','_reviewModeBalloonSuggestionItemView','showNoChangesView','1888tXExWW','pluginName','plugins','acceptAllChanges','activateChange','getChangeElement','view','activateTab','requires','context','hideResult','leaveReviewModeResultList','status','setItemAsActive','AI_REVIEW_MODE','showCheckRunResults','accepted','learnMore','8211tqaEvN','reviewCheckResultsView','error-general','_reviewModeView','showResult','updateChangeState','error-chunk','AIReviewModeUI','locale','forEach','8524765ouTFgN','detachFromDom','4314036IggGKq','setItemAsInactive','abortReviewStream','showReviewCompletedView','fire','setChecks','attachToDom','hideChangeBalloon','leaveReviewMode','showChangeBalloon','find','outdated','showReviewCheckListView','isOfficialPlugin','15boPUVA','setActiveStateInResults','AITabs','dismissChange','2297886WPZhCa','runReviewCheck','init','rejected','showReviewCheckList','showBalloon','toggleDiff','setTitle','acceptChange','_bodyCollection','hasChecks','hideDiffInBalloon','setCheckResultTitle','isPremiumPlugin','get','showGeneralResultsErrorView','181663QTyyxC','showCheckRunResult','resetActiveStateInResults'];_0x4783=function(){return _0x3f39f9;};return _0x4783();}import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x2bfce4(0x15f),_0x2bfce4(0x13b),_0x2bfce4(0x12a),_0x2bfce4(0x140),_0x2bfce4(0x169),_0x2bfce4(0x171),_0x2bfce4(0x16a),_0x2bfce4(0x142),_0x2bfce4(0x139),_0x2bfce4(0x11b),_0x2bfce4(0x154),_0x2bfce4(0x162)];export class AIReviewModeUI extends _0x6de859{[_0x2bfce4(0x11f)];[_0x2bfce4(0x164)];[_0x2bfce4(0x143)];static get[_0x2bfce4(0x16e)](){return[_0x27c2ce];}static get[_0x2bfce4(0x167)](){const _0xec462b=_0x2bfce4;return _0xec462b(0x123);}static get[_0x2bfce4(0x135)](){return!0x0;}static get[_0x2bfce4(0x147)](){return!0x0;}constructor(_0x88cd7b){const _0x5c5eb2=_0x2bfce4;super(_0x88cd7b),this[_0x5c5eb2(0x143)]=new _0x597172(this[_0x5c5eb2(0x16f)][_0x5c5eb2(0x124)]),this[_0x5c5eb2(0x143)][_0x5c5eb2(0x12e)](),this[_0x5c5eb2(0x11f)]=new _0x16c9de(this[_0x5c5eb2(0x16f)][_0x5c5eb2(0x124)]),this[_0x5c5eb2(0x11f)][_0x5c5eb2(0x161)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x5c5eb2(0x164)]=new _0xa1e74(this[_0x5c5eb2(0x16f)][_0x5c5eb2(0x124)],this[_0x5c5eb2(0x143)]),this[_0x5c5eb2(0x164)][_0x5c5eb2(0x161)](_0x5c5eb2(0x142),_0x5c5eb2(0x139),_0x5c5eb2(0x15c))['to'](this);}[_0x2bfce4(0x13c)](){const _0x4f32a6=_0x2bfce4,_0x397ca7=this[_0x4f32a6(0x16f)][_0x4f32a6(0x168)][_0x4f32a6(0x148)](_0x4f32a6(0x138));_0x397ca7[_0x4f32a6(0x16c)]['on'](_0x4f32a6(0x16d),(_0x30c073,_0x1d27ef)=>{const _0x440a23=_0x4f32a6;_0x440a23(0x157)===_0x1d27ef?this[_0x440a23(0x12c)](_0x440a23(0x15f)):this[_0x440a23(0x12c)](_0x440a23(0x130));}),_0x397ca7[_0x4f32a6(0x16c)][_0x4f32a6(0x15d)]({'id':_0x4f32a6(0x157),'buttonLabel':_0x133440(this[_0x4f32a6(0x16f)][_0x4f32a6(0x124)],_0x4f32a6(0x174)),'buttonIcon':_0x10957a,'order':0x0,'content':this[_0x4f32a6(0x11f)]});}[_0x2bfce4(0x163)](){const _0x28ec13=_0x2bfce4;this[_0x28ec13(0x143)][_0x28ec13(0x127)](),super[_0x28ec13(0x163)]();}[_0x2bfce4(0x15a)](_0x50cf8d){const _0x4abb79=_0x2bfce4;this[_0x4abb79(0x11f)][_0x4abb79(0x14e)][_0x4abb79(0x144)]()||this[_0x4abb79(0x11f)][_0x4abb79(0x14e)][_0x4abb79(0x12d)](_0x50cf8d),this[_0x4abb79(0x11f)][_0x4abb79(0x134)]();}[_0x2bfce4(0x13e)](){const _0xda021b=_0x2bfce4;this[_0xda021b(0x12c)](_0xda021b(0x15f));}[_0x2bfce4(0x175)](_0x122be2){const _0x47818a=_0x2bfce4;_0x122be2&&(_0x47818a(0x11e)!==_0x122be2[_0x47818a(0x172)]?_0x47818a(0x122)!==_0x122be2[_0x47818a(0x172)]?this[_0x47818a(0x11f)][_0x47818a(0x152)]():this[_0x47818a(0x155)]():this[_0x47818a(0x149)]());}[_0x2bfce4(0x14b)](_0x5ed92c){const _0x320cb9=_0x2bfce4;this[_0x320cb9(0x11f)][_0x320cb9(0x15e)](_0x5ed92c);}[_0x2bfce4(0x149)](){const _0x7ec35b=_0x2bfce4;this[_0x7ec35b(0x11f)][_0x7ec35b(0x149)]();}[_0x2bfce4(0x14f)](_0x3c5e13){const _0x46bdb3=_0x2bfce4;this[_0x46bdb3(0x11f)][_0x46bdb3(0x14f)](_0x3c5e13??_0x133440(this[_0x46bdb3(0x16f)][_0x46bdb3(0x124)],_0x46bdb3(0x14d)));}[_0x2bfce4(0x155)](){const _0x45f22b=_0x2bfce4;this[_0x45f22b(0x11f)][_0x45f22b(0x155)]();}[_0x2bfce4(0x146)](_0x4d49a5,_0x2905c0){const _0x2fd7ec=_0x2bfce4;this[_0x2fd7ec(0x11f)][_0x2fd7ec(0x11d)][_0x2fd7ec(0x141)](_0x4d49a5,_0x2905c0);}[_0x2bfce4(0x137)](_0xee6e0c){const _0x15b17d=_0x2bfce4;this[_0x15b17d(0x11f)][_0x15b17d(0x11d)][_0x15b17d(0x150)]()[_0x15b17d(0x125)](_0x4edca0=>{const _0x13f726=_0x15b17d;_0x4edca0['id']===_0xee6e0c&&_0x4edca0[_0x13f726(0x173)]();});}[_0x2bfce4(0x14c)](){const _0x51950d=_0x2bfce4;this[_0x51950d(0x11f)][_0x51950d(0x11d)][_0x51950d(0x150)]()[_0x51950d(0x125)](_0x563ecb=>_0x563ecb[_0x51950d(0x129)]());}[_0x2bfce4(0x121)](_0x3b4895,_0xd4ebac){const _0x3be286=_0x2bfce4;_0x3be286(0x11a)===_0xd4ebac||_0x3be286(0x13d)===_0xd4ebac||_0x3be286(0x133)===_0xd4ebac?this[_0x3be286(0x11f)][_0x3be286(0x11d)][_0x3be286(0x170)](_0x3b4895,_0xd4ebac):this[_0x3be286(0x11f)][_0x3be286(0x11d)][_0x3be286(0x120)](_0x3b4895,_0xd4ebac);}[_0x2bfce4(0x12b)](){const _0xa35928=_0x2bfce4;this[_0xa35928(0x11f)][_0xa35928(0x12b)]();}[_0x2bfce4(0x153)](){const _0xad7ad3=_0x2bfce4;this[_0xad7ad3(0x11f)][_0xad7ad3(0x153)]();}[_0x2bfce4(0x165)](){const _0x233354=_0x2bfce4;this[_0x233354(0x11f)][_0x233354(0x165)]();}[_0x2bfce4(0x15b)](){const _0x513ea3=_0x2bfce4;this[_0x513ea3(0x11f)][_0x513ea3(0x15b)]();}[_0x2bfce4(0x131)](_0x4d181a,_0xdba37f,_0x2f0da2,_0x169387,_0x4a7cdb,_0x2a434f){const _0x338bf7=_0x2bfce4;this[_0x338bf7(0x164)][_0x338bf7(0x13f)](_0x4d181a,_0xdba37f,_0x2f0da2,_0x169387,_0x4a7cdb,_0x2a434f);}[_0x2bfce4(0x12f)](){const _0x1fd904=_0x2bfce4;this[_0x1fd904(0x164)][_0x1fd904(0x156)]();}[_0x2bfce4(0x145)](){const _0x1dd6ca=_0x2bfce4;this[_0x1dd6ca(0x164)][_0x1dd6ca(0x145)]();}[_0x2bfce4(0x159)](){const _0x377a92=_0x2bfce4;this[_0x377a92(0x164)][_0x377a92(0x159)]();}[_0x2bfce4(0x16b)](_0x16613d){const _0x545b96=_0x2bfce4,_0x42d661=this[_0x545b96(0x11f)][_0x545b96(0x11d)][_0x545b96(0x150)]()[_0x545b96(0x132)](_0x1ed78f=>_0x1ed78f['id']===_0x16613d);return _0x42d661?_0x42d661[_0x545b96(0x158)]:null;}[_0x2bfce4(0x15c)](){const _0x5dbea5=_0x2bfce4;this[_0x5dbea5(0x164)][_0x5dbea5(0x15c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x8ec85b=_0x15e6;(function(_0x137c42,_0x597986){var _0x39c9de=_0x15e6,_0x599ae7=_0x137c42();while(!![]){try{var _0x12945a=parseInt(_0x39c9de(0x1de))/0x1*(-parseInt(_0x39c9de(0x1df))/0x2)+-parseInt(_0x39c9de(0x1e0))/0x3+parseInt(_0x39c9de(0x1e4))/0x4*(parseInt(_0x39c9de(0x1e3))/0x5)+parseInt(_0x39c9de(0x1e8))/0x6+parseInt(_0x39c9de(0x1e9))/0x7+parseInt(_0x39c9de(0x1e7))/0x8+-parseInt(_0x39c9de(0x1ea))/0x9*(-parseInt(_0x39c9de(0x1eb))/0xa);if(_0x12945a===_0x597986)break;else _0x599ae7['push'](_0x599ae7['shift']());}catch(_0x230464){_0x599ae7['push'](_0x599ae7['shift']());}}}(_0x53ba,0xa0140));function _0x15e6(_0x355860,_0x44d907){var _0x53ba52=_0x53ba();return _0x15e6=function(_0x15e624,_0x53f0a3){_0x15e624=_0x15e624-0x1de;var _0x18a426=_0x53ba52[_0x15e624];return _0x18a426;},_0x15e6(_0x355860,_0x44d907);}function _0x53ba(){var _0x4b438d=['title','1GtNcgq','2514142EdLEfR','1575051kxkoyW','description','isParameterized','5ufUztf','2282956mRUWEQ','useArgs','options','1832536vPFyHV','1108926zhBYjY','332612sGkGvP','506025UCvdTj','250XQdiqf'];_0x53ba=function(){return _0x4b438d;};return _0x53ba();}export class AIReviewCheck{['id'];[_0x8ec85b(0x1ec)];[_0x8ec85b(0x1e1)];[_0x8ec85b(0x1e2)];[_0x8ec85b(0x1e5)];[_0x8ec85b(0x1e6)];constructor({id:_0x5b30dd,title:_0x4d9783,description:_0x445099,isParameterized:_0x363750,useArgs:_0x3afbcb,options:_0x4d5298}){var _0x43abc0=_0x8ec85b;this['id']=_0x5b30dd,this[_0x43abc0(0x1ec)]=_0x4d9783,this[_0x43abc0(0x1e1)]=_0x445099,this[_0x43abc0(0x1e2)]=_0x363750,this[_0x43abc0(0x1e5)]=_0x3afbcb,this[_0x43abc0(0x1e6)]=_0x4d5298;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x6a62(_0x384ce8,_0x47ff74){var _0x20f3ac=_0x20f3();return _0x6a62=function(_0x6a620a,_0x3d1864){_0x6a620a=_0x6a620a-0x169;var _0xed2817=_0x20f3ac[_0x6a620a];return _0xed2817;},_0x6a62(_0x384ce8,_0x47ff74);}var _0x5114a0=_0x6a62;(function(_0x4667ce,_0x26e85c){var _0x1e5649=_0x6a62,_0x801fef=_0x4667ce();while(!![]){try{var _0x5ade78=-parseInt(_0x1e5649(0x16b))/0x1*(parseInt(_0x1e5649(0x173))/0x2)+parseInt(_0x1e5649(0x169))/0x3*(-parseInt(_0x1e5649(0x170))/0x4)+-parseInt(_0x1e5649(0x171))/0x5*(-parseInt(_0x1e5649(0x174))/0x6)+parseInt(_0x1e5649(0x16a))/0x7+-parseInt(_0x1e5649(0x16f))/0x8*(parseInt(_0x1e5649(0x175))/0x9)+-parseInt(_0x1e5649(0x16c))/0xa+parseInt(_0x1e5649(0x172))/0xb;if(_0x5ade78===_0x26e85c)break;else _0x801fef['push'](_0x801fef['shift']());}catch(_0x463d48){_0x801fef['push'](_0x801fef['shift']());}}}(_0x20f3,0xf392e));import{AIReviewCheck as _0x49e333}from'./aireviewcheck.js';function _0x20f3(){var _0x49a178=['72ZuyUzb','357urWEEY','7157479DZFfMJ','1dKCKdN','18974810uPTtxA','_models','models','712144ifyJvl','41516mEZAUO','825130zCfCqU','28899904NUjWif','585182ZrExkl','54MgoBMw'];_0x20f3=function(){return _0x49a178;};return _0x20f3();}export class AIReviewCheckCustom extends _0x49e333{[_0x5114a0(0x16d)]=[];get[_0x5114a0(0x16e)](){var _0x17932a=_0x5114a0;return this[_0x17932a(0x16d)];}set[_0x5114a0(0x16e)](_0x409879){var _0x1fbf79=_0x5114a0;this[_0x1fbf79(0x16d)]=_0x409879;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4c28a4=_0x5cb4;(function(_0x36110b,_0x4d88c4){var _0x38bcd6=_0x5cb4,_0x591cb4=_0x36110b();while(!![]){try{var _0x134095=parseInt(_0x38bcd6(0x1e7))/0x1+-parseInt(_0x38bcd6(0x1e9))/0x2*(parseInt(_0x38bcd6(0x1eb))/0x3)+-parseInt(_0x38bcd6(0x1f2))/0x4+-parseInt(_0x38bcd6(0x1e3))/0x5+-parseInt(_0x38bcd6(0x1e4))/0x6+parseInt(_0x38bcd6(0x1f3))/0x7*(-parseInt(_0x38bcd6(0x1e5))/0x8)+-parseInt(_0x38bcd6(0x1f4))/0x9*(-parseInt(_0x38bcd6(0x1ec))/0xa);if(_0x134095===_0x4d88c4)break;else _0x591cb4['push'](_0x591cb4['shift']());}catch(_0x5b3ced){_0x591cb4['push'](_0x591cb4['shift']());}}}(_0x55ea,0x855c5));function _0x5cb4(_0x3d92d8,_0x585cf8){var _0x55eaf8=_0x55ea();return _0x5cb4=function(_0x5cb4c6,_0x26a818){_0x5cb4c6=_0x5cb4c6-0x1e3;var _0x4bcf38=_0x55eaf8[_0x5cb4c6];return _0x4bcf38;},_0x5cb4(_0x3d92d8,_0x585cf8);}import{ObservableMixin as _0x42b1e1}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x57b073}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x7bda86}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x42b1e1(){[_0x4c28a4(0x1ee)];constructor(_0x21991e){var _0x4d3432=_0x4c28a4;super(),this[_0x4d3432(0x1ee)]=this[_0x4d3432(0x1ed)](_0x21991e);}get[_0x4c28a4(0x1ea)](){var _0x402690=_0x4c28a4;return this[_0x402690(0x1ee)];}[_0x4c28a4(0x1e6)](_0x5472a2){var _0x3014f8=_0x4c28a4;return this[_0x3014f8(0x1ea)][_0x3014f8(0x1e8)](_0x3aa982=>_0x3aa982['id']===_0x5472a2);}[_0x4c28a4(0x1f1)](_0x174424){var _0xd7e69b=_0x4c28a4;this[_0xd7e69b(0x1ee)]=this[_0xd7e69b(0x1ee)][_0xd7e69b(0x1f0)](_0x1726cf=>_0x1726cf['id']!==_0x174424);}[_0x4c28a4(0x1ed)](_0x52981c){var _0x4ab708=_0x4c28a4;return _0x52981c[_0x4ab708(0x1ef)](_0x5b62bc=>_0x4ab708(0x1f5)===_0x5b62bc['id']?new _0x7bda86(_0x5b62bc):new _0x57b073(_0x5b62bc));}}function _0x55ea(){var _0x4f3dd7=['_checks','map','filter','removeCheckById','284456LXYtxD','4024349zSmXNl','252twNlsh','custom','590905SmkoWE','1805928DNdKBb','8mSqwkO','getCheckById','181517gHLaBI','find','14TTDudN','checks','176394HEcZRl','657680SqOjJU','_mapCheckDefinitions'];_0x55ea=function(){return _0x4f3dd7;};return _0x55ea();}
|