@ckeditor/ckeditor5-ai 47.7.3 → 47.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +16 -16
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.d.ts +21 -14
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2b3e(){const _0x5e9b4a=['9srNPAL','document','get','plugins','set','3607037DwvBjs','getRanges','add','icon','365352iCOKoo','291aAXOLk','resetSearch','buttonView','3930tEJlQi','showFakeVisualSelection','AIEditing','children','12351850unhKAL','1475156PwDFRk','locale','hideFakeVisualSelection','panelView','869492KbSVPS','length','change:isOpen','ck-ai-quick-actions-dropdown','29708FyrFfq','ai-quick-actions-dropdown-selection','has','5682XExCEz','model','selection','from','label'];_0x2b3e=function(){return _0x5e9b4a;};return _0x2b3e();}(function(_0x808618,_0x2de7cf){const _0x2c78aa=_0x43d5,_0x51d358=_0x808618();while(!![]){try{const _0x439f03=-parseInt(_0x2c78aa(0xe6))/0x1+parseInt(_0x2c78aa(0xe2))/0x2+-parseInt(_0x2c78aa(0xfc))/0x3*(-parseInt(_0x2c78aa(0xea))/0x4)+parseInt(_0x2c78aa(0xdd))/0x5*(-parseInt(_0x2c78aa(0xed))/0x6)+-parseInt(_0x2c78aa(0xf7))/0x7+parseInt(_0x2c78aa(0xfb))/0x8*(-parseInt(_0x2c78aa(0xf2))/0x9)+parseInt(_0x2c78aa(0xe1))/0xa;if(_0x439f03===_0x2de7cf)break;else _0x51d358['push'](_0x51d358['shift']());}catch(_0x349ab1){_0x51d358['push'](_0x51d358['shift']());}}}(_0x2b3e,0x7e8f4));import{createDropdown as _0x125087}from'ckeditor5/src/ui.js';function _0x43d5(_0x55e218,_0xcb268b){const _0x2b3e5c=_0x2b3e();return _0x43d5=function(_0x43d58b,_0x2e98e0){_0x43d58b=_0x43d58b-0xdc;let _0x37a0ae=_0x2b3e5c[_0x43d58b];return _0x37a0ae;},_0x43d5(_0x55e218,_0xcb268b);}import{IconAIQuickActions as _0x51a6c0}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x282f93}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x3fecd6}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x5e329d){const {editor:_0x54627b,content:_0x4db0d1,buttonDefinition:_0x4b2130,bodyCollection:_0x30abf0,hasSearch:_0xb59693=!0x1}=_0x5e329d;return()=>{const _0x97ec5c=_0x43d5,_0x56c07f=_0x54627b[_0x97ec5c(0xe3)],_0x28dedb=_0x125087(_0x56c07f);_0x28dedb[_0x97ec5c(0xdc)][_0x97ec5c(0xf6)]({'icon':_0x4b2130[_0x97ec5c(0xfa)]??_0x51a6c0,'label':_0x4b2130[_0x97ec5c(0xf1)],'tooltip':!0x0}),_0x28dedb[_0x97ec5c(0xf6)]({'class':_0x97ec5c(0xe9)});const _0x5c58dc=new _0x282f93(_0x54627b,_0x4db0d1,_0x28dedb,_0x30abf0,_0xb59693);if(_0x28dedb[_0x97ec5c(0xe5)][_0x97ec5c(0xe0)][_0x97ec5c(0xf9)](_0x5c58dc),_0xb59693){const _0xe0a320=_0x97ec5c(0xeb);_0x28dedb['on'](_0x97ec5c(0xe8),(_0x3a3ebe,_0x4a161e,_0x546a4e)=>{const _0x3923e2=_0x97ec5c;if(_0x546a4e){if(_0x54627b[_0x3923e2(0xf5)][_0x3923e2(0xec)](_0x3923e2(0xdf))){const _0xb96be8=_0x54627b[_0x3923e2(0xf5)][_0x3923e2(0xf4)](_0x3fecd6),_0x353020=_0x54627b[_0x3923e2(0xee)][_0x3923e2(0xf3)][_0x3923e2(0xef)],_0x53074f=Array[_0x3923e2(0xf0)](_0x353020[_0x3923e2(0xf8)]());_0x53074f[_0x3923e2(0xe7)]>0x0&&_0xb96be8[_0x3923e2(0xde)](_0x53074f,_0xe0a320,!0x1,!0x0);}}else _0x54627b[_0x3923e2(0xf5)][_0x3923e2(0xec)](_0x3923e2(0xdf))&&_0x54627b[_0x3923e2(0xf5)][_0x3923e2(0xf4)](_0x3fecd6)[_0x3923e2(0xe4)](_0xe0a320),_0x5c58dc[_0x3923e2(0xfd)]();});}return _0x28dedb;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xb18506=_0xba07;(function(_0x445d0e,_0x2fc989){const _0x49848c=_0xba07,_0xe9e134=_0x445d0e();while(!![]){try{const _0x2552fd=parseInt(_0x49848c(0xc1))/0x1*(parseInt(_0x49848c(0xb5))/0x2)+parseInt(_0x49848c(0xbb))/0x3*(parseInt(_0x49848c(0xc2))/0x4)+parseInt(_0x49848c(0xc5))/0x5*(-parseInt(_0x49848c(0xb4))/0x6)+parseInt(_0x49848c(0xaf))/0x7+-parseInt(_0x49848c(0xad))/0x8+-parseInt(_0x49848c(0xbd))/0x9*(-parseInt(_0x49848c(0xb0))/0xa)+-parseInt(_0x49848c(0xc7))/0xb;if(_0x2552fd===_0x2fc989)break;else _0xe9e134['push'](_0xe9e134['shift']());}catch(_0x15c5df){_0xe9e134['push'](_0xe9e134['shift']());}}}(_0x2c63,0xc003f));import{ListView as _0x571f4c}from'ckeditor5/src/ui.js';function _0x2c63(){const _0x4d9836=['function','source','sort','3842082TELanJ','201234YERINs','_highlightQuery','_clearHighlight','forEach','toLowerCase','length','24ZkOVDz','label','14090805UZUvNa','groupLabel','_allListItems','item','1RqbGwY','700232YrfMUn','clear','highlightText','5sflrRK','items','27357715YVccIR','includes','trim','_allSearchableItems','addMany','highlightViews','map','1729288zAmrFq','filter','7443394nlIqWQ','10NMSFIE'];_0x2c63=function(){return _0x4d9836;};return _0x2c63();}import{escapeRegExp as _0x541948}from'es-toolkit/compat';function _0xba07(_0x1d7166,_0x89c558){const _0x2c6300=_0x2c63();return _0xba07=function(_0xba07a6,_0x4b7974){_0xba07a6=_0xba07a6-0xa9;let _0x25ac3c=_0x2c6300[_0xba07a6];return _0x25ac3c;},_0xba07(_0x1d7166,_0x89c558);}export class AIQuickActionsFilteredListView extends _0x571f4c{[_0xb18506(0xbf)];[_0xb18506(0xa9)];constructor(_0x95501b,_0x17454e,_0x24b88d){const _0x39c621=_0xb18506;super(_0x95501b),this[_0x39c621(0xbf)]=_0x17454e,this[_0x39c621(0xa9)]=_0x24b88d;}[_0xb18506(0xae)](_0x2f1d77){const _0x5ed901=_0xb18506;if(!_0x2f1d77)return this[_0x5ed901(0xc6)][_0x5ed901(0xc3)](),this[_0x5ed901(0xc6)][_0x5ed901(0xaa)](this[_0x5ed901(0xbf)]),this[_0x5ed901(0xb7)](),{'resultsCount':this[_0x5ed901(0xbf)][_0x5ed901(0xba)],'totalItemsCount':this[_0x5ed901(0xbf)][_0x5ed901(0xba)]};const _0x1c5440=_0x2f1d77[_0x5ed901(0xb2)][_0x5ed901(0xb9)]()[_0x5ed901(0xc9)](),_0x3ae2d0=this[_0x5ed901(0xa9)][_0x5ed901(0xae)](_0x5b1d38=>(_0x5b1d38[_0x5ed901(0xbe)]?_0x5b1d38[_0x5ed901(0xbc)]+'\x20('+_0x5b1d38[_0x5ed901(0xbe)]+')':_0x5b1d38[_0x5ed901(0xbc)])[_0x5ed901(0xb9)]()[_0x5ed901(0xc8)](_0x1c5440));return this[_0x5ed901(0xc6)][_0x5ed901(0xc3)](),this[_0x5ed901(0xc6)][_0x5ed901(0xaa)](_0x3ae2d0[_0x5ed901(0xb3)]((_0xd97b45,_0x473dce)=>{const _0x4b236a=_0x5ed901,_0x4de98=_0xd97b45[_0x4b236a(0xbe)],_0x273722=_0x473dce[_0x4b236a(0xbe)];return _0x4de98||_0x273722?_0x4de98?0x1:-0x1:0x0;})[_0x5ed901(0xac)](_0x1be1a7=>_0x1be1a7[_0x5ed901(0xc0)])),this[_0x5ed901(0xb6)](_0x1c5440,_0x3ae2d0),{'resultsCount':_0x3ae2d0[_0x5ed901(0xba)],'totalItemsCount':this[_0x5ed901(0xa9)][_0x5ed901(0xba)]};}[_0xb18506(0xb6)](_0x1e61d7,_0x20f4f1){const _0xde4b32=_0xb18506;if(!_0x1e61d7)return;const _0x55714f=new RegExp(_0x541948(_0x1e61d7),'gi');_0x20f4f1[_0xde4b32(0xb8)](_0x597885=>{const _0x377ef4=_0xde4b32;_0x597885[_0x377ef4(0xab)]&&_0x597885[_0x377ef4(0xab)][_0x377ef4(0xb8)](_0x101fda=>{const _0x2d4cf7=_0x377ef4;_0x2d4cf7(0xb1)==typeof _0x101fda[_0x2d4cf7(0xc4)]&&_0x101fda[_0x2d4cf7(0xc4)](_0x55714f);});});}[_0xb18506(0xb7)](){const _0xd99c34=_0xb18506;this[_0xd99c34(0xa9)][_0xd99c34(0xb8)](_0x1213cb=>{const _0xdb6f38=_0xd99c34;_0x1213cb[_0xdb6f38(0xab)]&&_0x1213cb[_0xdb6f38(0xab)][_0xdb6f38(0xb8)](_0x55e690=>{const _0xdcace9=_0xdb6f38;_0xdcace9(0xb1)==typeof _0x55e690[_0xdcace9(0xc4)]&&_0x55e690[_0xdcace9(0xc4)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2177f5,_0x53d8e7){var _0x1184af=_0xf9ba,_0x497e4b=_0x2177f5();while(!![]){try{var _0x172f38=parseInt(_0x1184af(0x1ea))/0x1*(-parseInt(_0x1184af(0x1e6))/0x2)+-parseInt(_0x1184af(0x1df))/0x3*(parseInt(_0x1184af(0x1e8))/0x4)+-parseInt(_0x1184af(0x1ec))/0x5+parseInt(_0x1184af(0x1ed))/0x6*(-parseInt(_0x1184af(0x1e4))/0x7)+-parseInt(_0x1184af(0x1e3))/0x8*(parseInt(_0x1184af(0x1e1))/0x9)+parseInt(_0x1184af(0x1e7))/0xa+parseInt(_0x1184af(0x1de))/0xb;if(_0x172f38===_0x53d8e7)break;else _0x497e4b['push'](_0x497e4b['shift']());}catch(_0x3f7942){_0x497e4b['push'](_0x497e4b['shift']());}}}(_0x52a8,0xce4da));function _0xf9ba(_0x35efc5,_0x585a2a){var _0x52a872=_0x52a8();return _0xf9ba=function(_0xf9ba78,_0x14f459){_0xf9ba78=_0xf9ba78-0x1de;var _0x2da6f5=_0x52a872[_0xf9ba78];return _0x2da6f5;},_0xf9ba(_0x35efc5,_0x585a2a);}import{View as _0x32940b}from'ckeditor5/src/ui.js';import{getTranslation as _0x4048d5}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x32940b{constructor(_0x113a63){var _0x5dff4e=_0xf9ba;super(_0x113a63),this[_0x5dff4e(0x1e9)]({'tag':_0x5dff4e(0x1e5),'attributes':{'class':['ck',_0x5dff4e(0x1eb)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x5dff4e(0x1e2)]},'children':[{'text':_0x4048d5(_0x113a63,_0x5dff4e(0x1e0))}]}]});}}function _0x52a8(){var _0x593a9a=['182919YxSeYB','AI_DISCLAIMER_TEXT','18BvdUTL','ck-ai-balloon__disclaimer-content','6566408XfFQiH','175819YlbsWq','div','10334vBzAEt','9556620OmpcTb','88osVshx','setTemplate','309CECdkI','ck-ai-balloon__disclaimer','1858900QvtUXZ','18XBQjiM','54077078tHrxBj'];_0x52a8=function(){return _0x593a9a;};return _0x52a8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4336da=_0x2e3d;function _0x2e3d(_0x5ec4f4,_0x3902d6){const _0x1439cb=_0x1439();return _0x2e3d=function(_0x2e3d23,_0x5654fb){_0x2e3d23=_0x2e3d23-0xd8;let _0xd1f9b2=_0x1439cb[_0x2e3d23];return _0xd1f9b2;},_0x2e3d(_0x5ec4f4,_0x3902d6);}(function(_0xe72d12,_0x459c78){const _0x1817cb=_0x2e3d,_0x13b1a6=_0xe72d12();while(!![]){try{const _0x146624=-parseInt(_0x1817cb(0xe8))/0x1*(parseInt(_0x1817cb(0xe1))/0x2)+parseInt(_0x1817cb(0xea))/0x3*(-parseInt(_0x1817cb(0xdb))/0x4)+parseInt(_0x1817cb(0xd9))/0x5+parseInt(_0x1817cb(0xe2))/0x6+parseInt(_0x1817cb(0xee))/0x7+parseInt(_0x1817cb(0xd8))/0x8+parseInt(_0x1817cb(0xf2))/0x9*(-parseInt(_0x1817cb(0xe5))/0xa);if(_0x146624===_0x459c78)break;else _0x13b1a6['push'](_0x13b1a6['shift']());}catch(_0x5edfda){_0x13b1a6['push'](_0x13b1a6['shift']());}}}(_0x1439,0x1da65));import{ToolbarView as _0x3261ff,ButtonView as _0x5b7c51}from'ckeditor5/src/ui.js';function _0x1439(){const _0x2e5f54=['isEnabled','8GWGmjW','setButtonsVisibility','ck-ai-button-secondary','locale','AI_BALLOON_APPLY_BUTTON','bind','15212rXlcdo','1242198IIfslk','ck-ai-balloon__toolbar','AI_BALLOON_SUGGEST_BUTTON','20OAgXAe','set','_createButton','23JQWpDi','extendTemplate','297051DyaDid','ck-ai-button-primary','suggestButton','items','1690073sJkFhZ','applyButton','add','isVisible','791433wQdJHx','975952hKPIgr','499125Yttupw'];_0x1439=function(){return _0x2e5f54;};return _0x1439();}import{getTranslation as _0x1d70c1}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x3261ff{constructor(_0x3a0920,_0xba4d11=!0x0,_0x3d617e=!0x0){const _0x34b2c8=_0x2e3d;super(_0x3a0920),this[_0x34b2c8(0xe6)](_0x34b2c8(0xda),!0x1),_0xba4d11&&(this[_0x34b2c8(0xef)]=this[_0x34b2c8(0xe7)](_0x1d70c1(_0x3a0920,_0x34b2c8(0xdf)),_0x34b2c8(0xeb)),this[_0x34b2c8(0xef)][_0x34b2c8(0xe0)](_0x34b2c8(0xda))['to'](this),this[_0x34b2c8(0xed)][_0x34b2c8(0xf0)](this[_0x34b2c8(0xef)])),_0x3d617e&&(this[_0x34b2c8(0xec)]=this[_0x34b2c8(0xe7)](_0x1d70c1(_0x3a0920,_0x34b2c8(0xe4)),_0xba4d11?_0x34b2c8(0xdd):_0x34b2c8(0xeb)),this[_0x34b2c8(0xec)][_0x34b2c8(0xe0)](_0x34b2c8(0xda))['to'](this),this[_0x34b2c8(0xed)][_0x34b2c8(0xf0)](this[_0x34b2c8(0xec)])),this[_0x34b2c8(0xdc)]({'showApplyButton':_0xba4d11,'showSuggestButton':_0x3d617e}),this[_0x34b2c8(0xe9)]({'attributes':{'class':[_0x34b2c8(0xe3)]}});}[_0x4336da(0xdc)]({showApplyButton:_0x19117d,showSuggestButton:_0xcb7efe}){const _0x267cce=_0x4336da;this[_0x267cce(0xef)]&&(this[_0x267cce(0xef)][_0x267cce(0xf1)]=_0x19117d),this[_0x267cce(0xec)]&&(this[_0x267cce(0xec)][_0x267cce(0xf1)]=_0xcb7efe);}[_0x4336da(0xe7)](_0x574b11,_0x2cff87){const _0x979dc2=_0x4336da,_0x45a3fd=new _0x5b7c51(this[_0x979dc2(0xde)]);return _0x45a3fd[_0x979dc2(0xe6)]({'label':_0x574b11,'class':_0x2cff87,'isVisible':!0x0,'withText':!0x0}),_0x45a3fd;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x53e5ed=_0x595d;(function(_0x314081,_0x1dc74d){const _0x3d71ee=_0x595d,_0x18ac40=_0x314081();while(!![]){try{const _0x37ab21=parseInt(_0x3d71ee(0x19a))/0x1*(parseInt(_0x3d71ee(0x1cd))/0x2)+parseInt(_0x3d71ee(0x1c1))/0x3*(-parseInt(_0x3d71ee(0x1be))/0x4)+parseInt(_0x3d71ee(0x1b1))/0x5+-parseInt(_0x3d71ee(0x1ee))/0x6*(-parseInt(_0x3d71ee(0x196))/0x7)+-parseInt(_0x3d71ee(0x1b2))/0x8+parseInt(_0x3d71ee(0x1b5))/0x9*(parseInt(_0x3d71ee(0x201))/0xa)+-parseInt(_0x3d71ee(0x1a5))/0xb*(parseInt(_0x3d71ee(0x1c3))/0xc);if(_0x37ab21===_0x1dc74d)break;else _0x18ac40['push'](_0x18ac40['shift']());}catch(_0x5551c3){_0x18ac40['push'](_0x18ac40['shift']());}}}(_0x57e8,0xb6168));import{ViewCollection as _0x50f887,FocusCycler as _0x152fde,ButtonView as _0x56f8b2,View as _0x5d49bb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2ad1bc,KeystrokeHandler as _0xe5df2f}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x3f19aa}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1e26c1}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x3eb9d6}from'../../../aicore/utils/scrollmanager.js';function _0x595d(_0x1eaa48,_0xfa61ac){const _0x57e880=_0x57e8();return _0x595d=function(_0x595d2d,_0x293598){_0x595d2d=_0x595d2d-0x189;let _0x1055a1=_0x57e880[_0x595d2d];return _0x1055a1;},_0x595d(_0x1eaa48,_0xfa61ac);}import{AIMiniToolbarView as _0x44a68c}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xa2c8e2}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x2a097a}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x2b6dbc}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';function _0x57e8(){const _0x57bd10=['_createMiniToolbar','availableActions','clear','_miniToolbarView','updateContent','_scrollManager','tryAgain','remove','AI_ACTIONS_PREVIOUS_INTERACTION','AI_ACTIONS_NEXT_INTERACTION','stop','6482cZJxvM','toggleIsLoading','ck-ai-actions-balloon-main','isVisible','43960IdyRoQ','focusFirst','miniToolbarConfig','ck-ai-actions-balloon-content','_toolbarView','_focusTracker','ck-ai-actions-balloon-content-wrapper','removeMiniToolbarItem','_navigationNextButton','disableMiniToolbarButtons','element','4398691IVizYx','focusCycler','AI_ACTIONS_TRY_AGAIN','showError','change:isTrackChangesOn','fire','span','showLoader','start','ck-ai-interaction-counter','includes','update','2522975FoaLsU','11216664vTeqgu','_keystrokes','has','1737jVddic','showBlockingError','_navigationTryAgainButton','_hasError','_setupMiniToolbarButtons','isEnabled','clearErrorState','addMany','ck-ai-navigation-button\x20ck-ai-next-button','15800wniidN','_addToolbar','execute','408KzkCew','add','12hWvSuv','ck-ai-custom-action-button','setErrorState','setIsLoading','tab','_isLoading','createCollection','_addContentWrapper','_initializeScrollManager','showNext','28vHZBZZ','_createStreamableContentView','interactionCount','applyButton','_disclaimerView','_getScrollableElement','_addDisclaimerView','_streamableContentView','hideLoader','focus','1/1','suggestButton','toggleSuggestionDisplayMode','showPrevious','addMiniToolbarItem','ck-ai-navigation-button\x20ck-ai-previous-button','setInteractionCount','isTrackChangesOn','isShowChangesOn','destroy','delegate','_navigationCounter','shift\x20+\x20tab','_contentWrapper','bind','stopAutoScroll','set','toggleShowChangesEnabled','resetShowChangesButton','_toggleToolbarButtonsVisibility','_createLoaderView','isBusy','startAutoScroll','7686OwGzdd','_errorView','applySuggestion','locale','items','_config','_loaderView','_navigationPreviousButton','updateMiniToolbarButtons','_focusables','render','setButtonsVisibility','focusLast','setTemplate','toggleShowChanges','hideError','insertSuggestion','listenTo','clearContent','40350roPebv','_dialogContent','div','bindTemplate'];_0x57e8=function(){return _0x57bd10;};return _0x57e8();}import{IconNextArrow as _0x38150b,IconPreviousArrow as _0x59eed5,IconRefresh as _0x532c6b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2ea00b}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x56d2f3}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x53e5ed(0x1f0),_0x53e5ed(0x1fe)];export class AIActionsBalloonView extends _0x56d2f3{[_0x53e5ed(0x1a6)];[_0x53e5ed(0x1f3)];[_0x53e5ed(0x1e4)];[_0x53e5ed(0x1d4)];[_0x53e5ed(0x19e)];[_0x53e5ed(0x18e)];[_0x53e5ed(0x1f4)];[_0x53e5ed(0x1d1)];[_0x53e5ed(0x19f)];[_0x53e5ed(0x1b3)];[_0x53e5ed(0x202)];[_0x53e5ed(0x1f7)];[_0x53e5ed(0x190)];[_0x53e5ed(0x1f5)];[_0x53e5ed(0x1a2)];[_0x53e5ed(0x1b7)];[_0x53e5ed(0x1e2)];constructor(_0x1c54df,_0x3f5ff5){const _0x5a65fe=_0x53e5ed;super(_0x1c54df),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1ec),!0x1),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1de),!0x1),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1c8),!0x1),this[_0x5a65fe(0x1e7)](_0x5a65fe(0x1b8),!0x1),this[_0x5a65fe(0x1f3)]=_0x3f5ff5,this[_0x5a65fe(0x19f)]=new _0x2ad1bc(),this[_0x5a65fe(0x1b3)]=new _0xe5df2f(),this[_0x5a65fe(0x1f7)]=this[_0x5a65fe(0x1c9)](),this[_0x5a65fe(0x1a6)]=new _0x152fde({'focusables':this[_0x5a65fe(0x1f7)],'focusTracker':this[_0x5a65fe(0x19f)],'keystrokeHandler':this[_0x5a65fe(0x1b3)],'actions':{'focusPrevious':_0x5a65fe(0x1e3),'focusNext':_0x5a65fe(0x1c7)}}),this[_0x5a65fe(0x202)]=new _0x50f887(),this[_0x5a65fe(0x1ca)](_0x3f5ff5),this[_0x5a65fe(0x1d3)](),this[_0x5a65fe(0x1bf)](_0x3f5ff5),this[_0x5a65fe(0x1f7)][_0x5a65fe(0x18d)](),this[_0x5a65fe(0x1f7)][_0x5a65fe(0x1bc)]([this[_0x5a65fe(0x19e)]]),this[_0x5a65fe(0x1fb)]({'tag':_0x5a65fe(0x189),'attributes':{'class':[_0x5a65fe(0x198)]},'children':this[_0x5a65fe(0x202)]}),this['on'](_0x5a65fe(0x1a9),()=>{const _0x504aa5=_0x5a65fe;this[_0x504aa5(0x1ea)](_0x3f5ff5);});}[_0x53e5ed(0x1f8)](){const _0x589567=_0x53e5ed;super[_0x589567(0x1f8)]();for(const _0x179702 of this[_0x589567(0x1f7)])this[_0x589567(0x19f)][_0x589567(0x1c2)](_0x179702[_0x589567(0x1a4)]);this[_0x589567(0x1b3)][_0x589567(0x1ff)](this[_0x589567(0x1a4)]),this[_0x589567(0x1cb)]();}[_0x53e5ed(0x1e0)](){const _0x428427=_0x53e5ed;super[_0x428427(0x1e0)](),this[_0x428427(0x190)]&&this[_0x428427(0x190)][_0x428427(0x1e0)]();}[_0x53e5ed(0x1d6)](_0x26b699){const _0x3c1504=_0x53e5ed;-0x1===_0x26b699?this[_0x3c1504(0x1a6)][_0x3c1504(0x1fa)]():this[_0x3c1504(0x1a6)][_0x3c1504(0x19b)]();}[_0x53e5ed(0x1c6)](_0x3382d1){const _0x53ca6b=_0x53e5ed;this[_0x53ca6b(0x1c8)]=_0x3382d1;}[_0x53e5ed(0x1c5)](){const _0x259736=_0x53e5ed;this[_0x259736(0x1b8)]=!0x0,this[_0x259736(0x18e)][_0x259736(0x1e8)](!0x1);}[_0x53e5ed(0x1bb)](){const _0x5c576f=_0x53e5ed;this[_0x5c576f(0x1b8)]=!0x1,this[_0x5c576f(0x18e)][_0x5c576f(0x1e8)](!0x0);}[_0x53e5ed(0x1a8)](_0x639b0a){const _0x277727=_0x53e5ed;super[_0x277727(0x1a8)](_0x639b0a),this[_0x277727(0x202)][_0x277727(0x1b4)](this[_0x277727(0x1ef)])||this[_0x277727(0x202)][_0x277727(0x1c2)](this[_0x277727(0x1ef)],0x0);}[_0x53e5ed(0x1fd)](){const _0x3e8866=_0x53e5ed;super[_0x3e8866(0x1fd)](),this[_0x3e8866(0x1bb)]();}[_0x53e5ed(0x1b6)](_0x567758){const _0x1ec774=_0x53e5ed;super[_0x1ec774(0x1b6)](_0x567758),this[_0x1ec774(0x1c5)]();}[_0x53e5ed(0x1db)](_0x593da4){const _0x448063=_0x53e5ed;this[_0x448063(0x18e)][_0x448063(0x1f2)][_0x448063(0x1b4)](_0x593da4)||this[_0x448063(0x18e)][_0x448063(0x1f2)][_0x448063(0x1c2)](_0x593da4);}[_0x53e5ed(0x1a1)](_0x1a3f66){const _0x135a4c=_0x53e5ed;this[_0x135a4c(0x18e)][_0x135a4c(0x1f2)][_0x135a4c(0x1b4)](_0x1a3f66)&&this[_0x135a4c(0x18e)][_0x135a4c(0x1f2)][_0x135a4c(0x192)](_0x1a3f66);}[_0x53e5ed(0x1ac)](){const _0xbe970a=_0x53e5ed;this[_0xbe970a(0x1f4)]&&(this[_0xbe970a(0x1c8)]=!0x0);}[_0x53e5ed(0x1d5)](){const _0x5a7009=_0x53e5ed;this[_0x5a7009(0x1f4)]&&(this[_0x5a7009(0x1c8)]=!0x1);}[_0x53e5ed(0x1ea)]({showApplyButton:_0x4075bd,showSuggestButton:_0x504644}){const _0x3103de=_0x53e5ed;_0x4075bd=_0x4075bd&&!this[_0x3103de(0x1de)]&&this[_0x3103de(0x1f3)][_0x3103de(0x18c)][_0x3103de(0x1af)](_0x3103de(0x1f0)),_0x504644=_0x504644&&this[_0x3103de(0x1f3)][_0x3103de(0x18c)][_0x3103de(0x1af)](_0x3103de(0x1fe)),this[_0x3103de(0x19e)][_0x3103de(0x1f9)]({'showApplyButton':_0x4075bd,'showSuggestButton':_0x504644});}async[_0x53e5ed(0x18f)](_0x5b2f86){const _0x44241f=_0x53e5ed;await this[_0x44241f(0x1d4)][_0x44241f(0x1b0)](_0x5b2f86);}[_0x53e5ed(0x200)](){const _0x402132=_0x53e5ed;this[_0x402132(0x1d4)][_0x402132(0x18d)]();}[_0x53e5ed(0x1ca)](_0x409f6d){const _0x149f99=_0x53e5ed;this[_0x149f99(0x1e4)]=new _0x5d49bb(this[_0x149f99(0x1f1)]),this[_0x149f99(0x1e4)][_0x149f99(0x1fb)]({'tag':_0x149f99(0x189),'attributes':{'class':[_0x149f99(0x19d)]},'children':[{'tag':_0x149f99(0x189),'attributes':{'class':[_0x149f99(0x1a0)]},'children':[this[_0x149f99(0x1eb)](),this[_0x149f99(0x1ce)]()]},this[_0x149f99(0x18b)](_0x409f6d[_0x149f99(0x19c)])]}),this[_0x149f99(0x202)][_0x149f99(0x1c2)](this[_0x149f99(0x1e4)]);}[_0x53e5ed(0x1d3)](){const _0x5d95b1=_0x53e5ed;this[_0x5d95b1(0x1d1)]=new _0x1e26c1(this[_0x5d95b1(0x1f1)]),this[_0x5d95b1(0x202)][_0x5d95b1(0x1c2)](this[_0x5d95b1(0x1d1)]);}[_0x53e5ed(0x1bf)]({showApplyButton:_0x186656,showSuggestButton:_0x2237b5}){const _0x24d448=_0x53e5ed;this[_0x24d448(0x19e)]=new _0x3f19aa(this[_0x24d448(0x1f1)],_0x186656,_0x2237b5),this[_0x24d448(0x19e)][_0x24d448(0x1d0)]?.['on'](_0x24d448(0x1c0),()=>{const _0x3543ed=_0x24d448;this[_0x3543ed(0x1aa)](_0x3543ed(0x1f0));}),this[_0x24d448(0x19e)][_0x24d448(0x1d8)]?.['on'](_0x24d448(0x1c0),()=>{const _0x331697=_0x24d448;this[_0x331697(0x1aa)](_0x331697(0x1fe));}),this[_0x24d448(0x19e)][_0x24d448(0x1e5)](_0x24d448(0x1ba))['to'](this,_0x24d448(0x1ec),this,_0x24d448(0x1c8),this,_0x24d448(0x1b8),(_0x2ea52e,_0x3e3785,_0x458dc6)=>!(_0x2ea52e||_0x3e3785||_0x458dc6)),this[_0x24d448(0x1ea)]({'showApplyButton':_0x186656,'showSuggestButton':_0x2237b5}),this[_0x24d448(0x202)][_0x24d448(0x1c2)](this[_0x24d448(0x19e)]);}[_0x53e5ed(0x18b)](_0x139cff){const _0x59429d=_0x53e5ed;return this[_0x59429d(0x18e)]=new _0x44a68c(this[_0x59429d(0x1f1)],_0x139cff),this[_0x59429d(0x18e)][_0x59429d(0x1e1)](..._0xa2c8e2)['to'](this),this[_0x59429d(0x18e)]['on'](_0x59429d(0x1fc),()=>{const _0x407903=_0x59429d;this[_0x407903(0x18e)][_0x407903(0x1df)]=!this[_0x407903(0x18e)][_0x407903(0x1df)],this[_0x407903(0x1aa)](_0x407903(0x1d9),{'showDiff':this[_0x407903(0x18e)][_0x407903(0x1df)]});}),this[_0x59429d(0x18e)][_0x59429d(0x1e5)](_0x59429d(0x1ba))['to'](this,_0x59429d(0x1ec),this,_0x59429d(0x1c8),(_0x58bafe,_0x586227)=>!(_0x58bafe||_0x586227)),this[_0x59429d(0x18e)];}[_0x53e5ed(0x1eb)](){const _0x42ac0a=_0x53e5ed;return this[_0x42ac0a(0x1f4)]=new _0x2a097a(this[_0x42ac0a(0x1f1)]),this[_0x42ac0a(0x1f4)][_0x42ac0a(0x1e5)](_0x42ac0a(0x199))['to'](this,_0x42ac0a(0x1c8)),this[_0x42ac0a(0x1f4)];}[_0x53e5ed(0x1ce)](){const _0x13f442=_0x53e5ed;return this[_0x13f442(0x1d4)]=new _0x2b6dbc(this[_0x13f442(0x1f1)]),this[_0x13f442(0x1d4)];}[_0x53e5ed(0x1b9)](){const _0x1a7a6c=_0x53e5ed,_0x5b74b0=new _0x56f8b2(this[_0x1a7a6c(0x1f1)]),_0x5abd99=new _0x56f8b2(this[_0x1a7a6c(0x1f1)]),_0x94e289=new AIActionsBalloonNavigationCounterView(this[_0x1a7a6c(0x1f1)]),_0x538385=new _0x56f8b2(this[_0x1a7a6c(0x1f1)]);_0x5b74b0[_0x1a7a6c(0x1e7)]({'icon':_0x532c6b,'label':_0x2ea00b(this[_0x1a7a6c(0x1f1)],_0x1a7a6c(0x1a7)),'tooltip':!0x0,'class':_0x1a7a6c(0x1c4)}),_0x5abd99[_0x1a7a6c(0x1e7)]({'icon':_0x59eed5,'tooltip':_0x2ea00b(this[_0x1a7a6c(0x1f1)],_0x1a7a6c(0x193)),'class':_0x1a7a6c(0x1dc)}),_0x538385[_0x1a7a6c(0x1e7)]({'icon':_0x38150b,'tooltip':_0x2ea00b(this[_0x1a7a6c(0x1f1)],_0x1a7a6c(0x194)),'class':_0x1a7a6c(0x1bd)}),_0x5b74b0[_0x1a7a6c(0x1e5)](_0x1a7a6c(0x1ba))['to'](this,_0x1a7a6c(0x1ec),_0x3f4323=>!_0x3f4323),_0x5b74b0['on'](_0x1a7a6c(0x1c0),()=>{const _0x45d779=_0x1a7a6c;this[_0x45d779(0x1aa)](_0x45d779(0x191));}),_0x5abd99[_0x1a7a6c(0x1e5)](_0x1a7a6c(0x1ba))['to'](this,_0x1a7a6c(0x1ec),_0x39ea84=>!_0x39ea84),_0x5abd99['on'](_0x1a7a6c(0x1c0),()=>{const _0x5e421f=_0x1a7a6c;this[_0x5e421f(0x1aa)](_0x5e421f(0x1da));}),_0x538385[_0x1a7a6c(0x1e5)](_0x1a7a6c(0x1ba))['to'](this,_0x1a7a6c(0x1ec),_0x5a8639=>!_0x5a8639),_0x538385['on'](_0x1a7a6c(0x1c0),()=>{const _0x2d0c6a=_0x1a7a6c;this[_0x2d0c6a(0x1aa)](_0x2d0c6a(0x1cc));}),this[_0x1a7a6c(0x1f5)]=_0x5abd99,this[_0x1a7a6c(0x1e2)]=_0x94e289,this[_0x1a7a6c(0x1a2)]=_0x538385,this[_0x1a7a6c(0x1b7)]=_0x5b74b0;}[_0x53e5ed(0x1f6)](_0x10d60f,_0x2a71d0){const _0x5c1b33=_0x53e5ed;this[_0x5c1b33(0x1f5)]||this[_0x5c1b33(0x1b9)]();const _0x369ce8=_0x10d60f>0x1;if(this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1b7)]),_0x369ce8){this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1f5)]),this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1e2)]),this[_0x5c1b33(0x1db)](this[_0x5c1b33(0x1a2)]);const _0x4e8c71=_0x10d60f-_0x2a71d0;this[_0x5c1b33(0x1e2)][_0x5c1b33(0x1dd)](_0x4e8c71+'/'+_0x10d60f),this[_0x5c1b33(0x1f5)][_0x5c1b33(0x1ba)]=_0x2a71d0<_0x10d60f-0x1,this[_0x5c1b33(0x1a2)][_0x5c1b33(0x1ba)]=_0x2a71d0>0x0;}else this[_0x5c1b33(0x1a1)](this[_0x5c1b33(0x1f5)]),this[_0x5c1b33(0x1a1)](this[_0x5c1b33(0x1e2)]),this[_0x5c1b33(0x1a1)](this[_0x5c1b33(0x1a2)]);}[_0x53e5ed(0x1a3)](){const _0x4c55a7=_0x53e5ed;this[_0x4c55a7(0x1b7)][_0x4c55a7(0x1ba)]=!0x1,this[_0x4c55a7(0x1f5)][_0x4c55a7(0x1ba)]=!0x1,this[_0x4c55a7(0x1a2)][_0x4c55a7(0x1ba)]=!0x1;}[_0x53e5ed(0x1ed)](){const _0x36d74c=_0x53e5ed;this[_0x36d74c(0x1cb)](),this[_0x36d74c(0x190)]&&this[_0x36d74c(0x190)][_0x36d74c(0x1ad)]();}[_0x53e5ed(0x1e6)](){const _0x5444f7=_0x53e5ed;this[_0x5444f7(0x190)]&&this[_0x5444f7(0x190)][_0x5444f7(0x195)]();}[_0x53e5ed(0x197)](_0x22e96d){const _0x30d366=_0x53e5ed;this[_0x30d366(0x1c8)]=_0x22e96d;}[_0x53e5ed(0x1e9)](){const _0x2a5f0b=_0x53e5ed;this[_0x2a5f0b(0x18e)][_0x2a5f0b(0x1df)]=!0x1;}[_0x53e5ed(0x1cb)](){const _0x1e2f1e=_0x53e5ed,_0xe6d888=this[_0x1e2f1e(0x1d2)]();_0xe6d888&&!this[_0x1e2f1e(0x190)]&&(this[_0x1e2f1e(0x190)]=new _0x3eb9d6(_0xe6d888));}[_0x53e5ed(0x1d2)](){const _0x3596dc=_0x53e5ed;return this[_0x3596dc(0x1d4)][_0x3596dc(0x1a4)];}}class AIActionsBalloonNavigationCounterView extends _0x5d49bb{constructor(_0x5e4365){const _0x4b1704=_0x53e5ed;super(_0x5e4365);const _0x263fb2=this[_0x4b1704(0x18a)];this[_0x4b1704(0x1e7)](_0x4b1704(0x1cf),_0x4b1704(0x1d7)),this[_0x4b1704(0x1fb)]({'tag':_0x4b1704(0x1ab),'attributes':{'class':[_0x4b1704(0x1ae)]},'children':[{'text':_0x263fb2['to'](_0x4b1704(0x1cf))}]});}[_0x53e5ed(0x1dd)](_0x22d566){const _0x38371e=_0x53e5ed;this[_0x38371e(0x1e7)](_0x38371e(0x1cf),_0x22d566);}}
|
|
23
|
+
const _0x3bca23=_0x7e87;(function(_0x533986,_0x30b23a){const _0x30b739=_0x7e87,_0x128a1e=_0x533986();while(!![]){try{const _0x2e729e=-parseInt(_0x30b739(0x208))/0x1+-parseInt(_0x30b739(0x1fc))/0x2+-parseInt(_0x30b739(0x1f8))/0x3+-parseInt(_0x30b739(0x20f))/0x4+parseInt(_0x30b739(0x220))/0x5*(parseInt(_0x30b739(0x247))/0x6)+-parseInt(_0x30b739(0x21a))/0x7+parseInt(_0x30b739(0x244))/0x8;if(_0x2e729e===_0x30b23a)break;else _0x128a1e['push'](_0x128a1e['shift']());}catch(_0x3362f0){_0x128a1e['push'](_0x128a1e['shift']());}}}(_0x3ac4,0x5302c));import{ViewCollection as _0x1591d6,FocusCycler as _0x3844c3,ButtonView as _0x51d84e,View as _0x5b54d0}from'ckeditor5/src/ui.js';import{FocusTracker as _0x230ae0,KeystrokeHandler as _0x1ea5a3}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x262c73}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x5c6d0c}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x50fe05}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x35c6e0}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5deb40}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x349479}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x4eebc2}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x16a11b,IconPreviousArrow as _0xda2287,IconRefresh as _0x549f85}from'@ckeditor/ckeditor5-icons';function _0x7e87(_0x14b704,_0x2e9e02){const _0x3ac496=_0x3ac4();return _0x7e87=function(_0x7e8722,_0x48735d){_0x7e8722=_0x7e8722-0x1eb;let _0x1fe255=_0x3ac496[_0x7e8722];return _0x1fe255;},_0x7e87(_0x14b704,_0x2e9e02);}import{getTranslation as _0x28283d}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x187db6}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x3bca23(0x20d),_0x3bca23(0x251)];function _0x3ac4(){const _0x44ef48=['resetShowChangesButton','_navigationNextButton','destroy','isEnabled','_config','ck-ai-actions-balloon-main','ck-ai-navigation-button\x20ck-ai-previous-button','_navigationCounter','removeMiniToolbarItem','isVisible','AI_ACTIONS_PREVIOUS_INTERACTION','1989624YOkOXS','updateContent','addMiniToolbarItem','isTrackChangesOn','1138928dArRDE','element','isBusy','focusFirst','bindTemplate','_navigationPreviousButton','_initializeScrollManager','_createStreamableContentView','_createMiniToolbar','clear','add','focusLast','10213elYFLE','1/1','showError','stopAutoScroll','_focusables','applySuggestion','setInteractionCount','2284724JITMqx','_isLoading','_keystrokes','_setupMiniToolbarButtons','_dialogContent','change:isTrackChangesOn','disableMiniToolbarButtons','focusCycler','AI_ACTIONS_NEXT_INTERACTION','_disclaimerView','set','4587618NWasxr','span','div','locale','AI_ACTIONS_TRY_AGAIN','_streamableContentView','25lwciUQ','ck-ai-navigation-button\x20ck-ai-next-button','ck-ai-custom-action-button','tryAgain','createCollection','_addDisclaimerView','clearContent','has','tab','focus','_toolbarView','showPrevious','stop','addMany','bind','_loaderView','_scrollManager','_toggleToolbarButtonsVisibility','_addContentWrapper','_hasError','_contentWrapper','execute','showNext','applyButton','start','toggleIsLoading','_navigationTryAgainButton','showLoader','ck-ai-actions-balloon-content-wrapper','_focusTracker','toggleShowChangesEnabled','listenTo','setTemplate','_errorView','_addToolbar','remove','17171576KwVAYE','availableActions','hideError','795606HNfJxu','showBlockingError','interactionCount','ck-ai-interaction-counter','_getScrollableElement','setButtonsVisibility','setIsLoading','render','suggestButton','clearErrorState','insertSuggestion','miniToolbarConfig','shift\x20+\x20tab','includes','fire','toggleShowChanges','hideLoader','isShowChangesOn','updateMiniToolbarButtons','startAutoScroll','ck-ai-actions-balloon-content','_miniToolbarView','update','items','setErrorState','_createLoaderView','delegate','toggleSuggestionDisplayMode'];_0x3ac4=function(){return _0x44ef48;};return _0x3ac4();}export class AIActionsBalloonView extends _0x187db6{[_0x3bca23(0x216)];[_0x3bca23(0x1f1)];[_0x3bca23(0x234)];[_0x3bca23(0x21f)];[_0x3bca23(0x22a)];[_0x3bca23(0x25c)];[_0x3bca23(0x22f)];[_0x3bca23(0x218)];[_0x3bca23(0x23d)];[_0x3bca23(0x211)];[_0x3bca23(0x213)];[_0x3bca23(0x20c)];[_0x3bca23(0x230)];[_0x3bca23(0x201)];[_0x3bca23(0x1ee)];[_0x3bca23(0x23a)];[_0x3bca23(0x1f4)];constructor(_0x4238f4,_0x333141){const _0x517d86=_0x3bca23;super(_0x4238f4),this[_0x517d86(0x219)](_0x517d86(0x1fe),!0x1),this[_0x517d86(0x219)](_0x517d86(0x1fb),!0x1),this[_0x517d86(0x219)](_0x517d86(0x210),!0x1),this[_0x517d86(0x219)](_0x517d86(0x233),!0x1),this[_0x517d86(0x1f1)]=_0x333141,this[_0x517d86(0x23d)]=new _0x230ae0(),this[_0x517d86(0x211)]=new _0x1ea5a3(),this[_0x517d86(0x20c)]=this[_0x517d86(0x224)](),this[_0x517d86(0x216)]=new _0x3844c3({'focusables':this[_0x517d86(0x20c)],'focusTracker':this[_0x517d86(0x23d)],'keystrokeHandler':this[_0x517d86(0x211)],'actions':{'focusPrevious':_0x517d86(0x253),'focusNext':_0x517d86(0x228)}}),this[_0x517d86(0x213)]=new _0x1591d6(),this[_0x517d86(0x232)](_0x333141),this[_0x517d86(0x225)](),this[_0x517d86(0x242)](_0x333141),this[_0x517d86(0x20c)][_0x517d86(0x205)](),this[_0x517d86(0x20c)][_0x517d86(0x22d)]([this[_0x517d86(0x22a)]]),this[_0x517d86(0x240)]({'tag':_0x517d86(0x21c),'attributes':{'class':[_0x517d86(0x1f2)]},'children':this[_0x517d86(0x213)]}),this['on'](_0x517d86(0x214),()=>{const _0x4bf68e=_0x517d86;this[_0x4bf68e(0x231)](_0x333141);});}[_0x3bca23(0x24e)](){const _0x1bc740=_0x3bca23;super[_0x1bc740(0x24e)]();for(const _0x602383 of this[_0x1bc740(0x20c)])this[_0x1bc740(0x23d)][_0x1bc740(0x206)](_0x602383[_0x1bc740(0x1fd)]);this[_0x1bc740(0x211)][_0x1bc740(0x23f)](this[_0x1bc740(0x1fd)]),this[_0x1bc740(0x202)]();}[_0x3bca23(0x1ef)](){const _0x202e4a=_0x3bca23;super[_0x202e4a(0x1ef)](),this[_0x202e4a(0x230)]&&this[_0x202e4a(0x230)][_0x202e4a(0x1ef)]();}[_0x3bca23(0x229)](_0x7119e6){const _0x5ceb87=_0x3bca23;-0x1===_0x7119e6?this[_0x5ceb87(0x216)][_0x5ceb87(0x207)]():this[_0x5ceb87(0x216)][_0x5ceb87(0x1ff)]();}[_0x3bca23(0x24d)](_0x2c919e){const _0x351be3=_0x3bca23;this[_0x351be3(0x210)]=_0x2c919e;}[_0x3bca23(0x25f)](){const _0x418821=_0x3bca23;this[_0x418821(0x233)]=!0x0,this[_0x418821(0x25c)][_0x418821(0x23e)](!0x1);}[_0x3bca23(0x250)](){const _0x281b85=_0x3bca23;this[_0x281b85(0x233)]=!0x1,this[_0x281b85(0x25c)][_0x281b85(0x23e)](!0x0);}[_0x3bca23(0x20a)](_0x49c816){const _0x540a8e=_0x3bca23;super[_0x540a8e(0x20a)](_0x49c816),this[_0x540a8e(0x213)][_0x540a8e(0x227)](this[_0x540a8e(0x241)])||this[_0x540a8e(0x213)][_0x540a8e(0x206)](this[_0x540a8e(0x241)],0x0);}[_0x3bca23(0x246)](){const _0x51d870=_0x3bca23;super[_0x51d870(0x246)](),this[_0x51d870(0x250)]();}[_0x3bca23(0x248)](_0x2b8eba){const _0x12c364=_0x3bca23;super[_0x12c364(0x248)](_0x2b8eba),this[_0x12c364(0x25f)]();}[_0x3bca23(0x1fa)](_0x5739ce){const _0x98784c=_0x3bca23;this[_0x98784c(0x25c)][_0x98784c(0x25e)][_0x98784c(0x227)](_0x5739ce)||this[_0x98784c(0x25c)][_0x98784c(0x25e)][_0x98784c(0x206)](_0x5739ce);}[_0x3bca23(0x1f5)](_0x5129c1){const _0x34b61d=_0x3bca23;this[_0x34b61d(0x25c)][_0x34b61d(0x25e)][_0x34b61d(0x227)](_0x5129c1)&&this[_0x34b61d(0x25c)][_0x34b61d(0x25e)][_0x34b61d(0x243)](_0x5129c1);}[_0x3bca23(0x23b)](){const _0x1fbd30=_0x3bca23;this[_0x1fbd30(0x22f)]&&(this[_0x1fbd30(0x210)]=!0x0);}[_0x3bca23(0x257)](){const _0x264598=_0x3bca23;this[_0x264598(0x22f)]&&(this[_0x264598(0x210)]=!0x1);}[_0x3bca23(0x231)]({showApplyButton:_0x2bf1ee,showSuggestButton:_0x1a4a53}){const _0x2b0ae9=_0x3bca23;_0x2bf1ee=_0x2bf1ee&&!this[_0x2b0ae9(0x1fb)]&&this[_0x2b0ae9(0x1f1)][_0x2b0ae9(0x245)][_0x2b0ae9(0x254)](_0x2b0ae9(0x20d)),_0x1a4a53=_0x1a4a53&&this[_0x2b0ae9(0x1f1)][_0x2b0ae9(0x245)][_0x2b0ae9(0x254)](_0x2b0ae9(0x251)),this[_0x2b0ae9(0x22a)][_0x2b0ae9(0x24c)]({'showApplyButton':_0x2bf1ee,'showSuggestButton':_0x1a4a53});}async[_0x3bca23(0x1f9)](_0x1b1b1e){const _0x5133db=_0x3bca23;await this[_0x5133db(0x21f)][_0x5133db(0x25d)](_0x1b1b1e);}[_0x3bca23(0x226)](){const _0x2b77d7=_0x3bca23;this[_0x2b77d7(0x21f)][_0x2b77d7(0x205)]();}[_0x3bca23(0x232)](_0x2d03ad){const _0x2eb950=_0x3bca23;this[_0x2eb950(0x234)]=new _0x5b54d0(this[_0x2eb950(0x21d)]),this[_0x2eb950(0x234)][_0x2eb950(0x240)]({'tag':_0x2eb950(0x21c),'attributes':{'class':[_0x2eb950(0x25b)]},'children':[{'tag':_0x2eb950(0x21c),'attributes':{'class':[_0x2eb950(0x23c)]},'children':[this[_0x2eb950(0x260)](),this[_0x2eb950(0x203)]()]},this[_0x2eb950(0x204)](_0x2d03ad[_0x2eb950(0x252)])]}),this[_0x2eb950(0x213)][_0x2eb950(0x206)](this[_0x2eb950(0x234)]);}[_0x3bca23(0x225)](){const _0x5c85e0=_0x3bca23;this[_0x5c85e0(0x218)]=new _0x5c6d0c(this[_0x5c85e0(0x21d)]),this[_0x5c85e0(0x213)][_0x5c85e0(0x206)](this[_0x5c85e0(0x218)]);}[_0x3bca23(0x242)]({showApplyButton:_0x3df0f2,showSuggestButton:_0x2bf9fe}){const _0x6fbcbd=_0x3bca23;this[_0x6fbcbd(0x22a)]=new _0x262c73(this[_0x6fbcbd(0x21d)],_0x3df0f2,_0x2bf9fe),this[_0x6fbcbd(0x22a)][_0x6fbcbd(0x237)]?.['on'](_0x6fbcbd(0x235),()=>{const _0x4955b5=_0x6fbcbd;this[_0x4955b5(0x255)](_0x4955b5(0x20d));}),this[_0x6fbcbd(0x22a)][_0x6fbcbd(0x24f)]?.['on'](_0x6fbcbd(0x235),()=>{const _0x56bedc=_0x6fbcbd;this[_0x56bedc(0x255)](_0x56bedc(0x251));}),this[_0x6fbcbd(0x22a)][_0x6fbcbd(0x22e)](_0x6fbcbd(0x1f0))['to'](this,_0x6fbcbd(0x1fe),this,_0x6fbcbd(0x210),this,_0x6fbcbd(0x233),(_0x198e3b,_0x205beb,_0x39dc8b)=>!(_0x198e3b||_0x205beb||_0x39dc8b)),this[_0x6fbcbd(0x231)]({'showApplyButton':_0x3df0f2,'showSuggestButton':_0x2bf9fe}),this[_0x6fbcbd(0x213)][_0x6fbcbd(0x206)](this[_0x6fbcbd(0x22a)]);}[_0x3bca23(0x204)](_0x2dea3c){const _0x55f3b0=_0x3bca23;return this[_0x55f3b0(0x25c)]=new _0x35c6e0(this[_0x55f3b0(0x21d)],_0x2dea3c),this[_0x55f3b0(0x25c)][_0x55f3b0(0x1eb)](..._0x5deb40)['to'](this),this[_0x55f3b0(0x25c)]['on'](_0x55f3b0(0x256),()=>{const _0x954bca=_0x55f3b0;this[_0x954bca(0x25c)][_0x954bca(0x258)]=!this[_0x954bca(0x25c)][_0x954bca(0x258)],this[_0x954bca(0x255)](_0x954bca(0x1ec),{'showDiff':this[_0x954bca(0x25c)][_0x954bca(0x258)]});}),this[_0x55f3b0(0x25c)][_0x55f3b0(0x22e)](_0x55f3b0(0x1f0))['to'](this,_0x55f3b0(0x1fe),this,_0x55f3b0(0x210),(_0x362a8c,_0xa52320)=>!(_0x362a8c||_0xa52320)),this[_0x55f3b0(0x25c)];}[_0x3bca23(0x260)](){const _0x4c3794=_0x3bca23;return this[_0x4c3794(0x22f)]=new _0x349479(this[_0x4c3794(0x21d)]),this[_0x4c3794(0x22f)][_0x4c3794(0x22e)](_0x4c3794(0x1f6))['to'](this,_0x4c3794(0x210)),this[_0x4c3794(0x22f)];}[_0x3bca23(0x203)](){const _0x543555=_0x3bca23;return this[_0x543555(0x21f)]=new _0x4eebc2(this[_0x543555(0x21d)]),this[_0x543555(0x21f)];}[_0x3bca23(0x212)](){const _0x42bf44=_0x3bca23,_0x30c188=new _0x51d84e(this[_0x42bf44(0x21d)]),_0x2cd3f7=new _0x51d84e(this[_0x42bf44(0x21d)]),_0x1d0c47=new AIActionsBalloonNavigationCounterView(this[_0x42bf44(0x21d)]),_0x5eee17=new _0x51d84e(this[_0x42bf44(0x21d)]);_0x30c188[_0x42bf44(0x219)]({'icon':_0x549f85,'label':_0x28283d(this[_0x42bf44(0x21d)],_0x42bf44(0x21e)),'tooltip':!0x0,'class':_0x42bf44(0x222)}),_0x2cd3f7[_0x42bf44(0x219)]({'icon':_0xda2287,'tooltip':_0x28283d(this[_0x42bf44(0x21d)],_0x42bf44(0x1f7)),'class':_0x42bf44(0x1f3)}),_0x5eee17[_0x42bf44(0x219)]({'icon':_0x16a11b,'tooltip':_0x28283d(this[_0x42bf44(0x21d)],_0x42bf44(0x217)),'class':_0x42bf44(0x221)}),_0x30c188[_0x42bf44(0x22e)](_0x42bf44(0x1f0))['to'](this,_0x42bf44(0x1fe),_0x3ba8ec=>!_0x3ba8ec),_0x30c188['on'](_0x42bf44(0x235),()=>{const _0x5f4bb9=_0x42bf44;this[_0x5f4bb9(0x255)](_0x5f4bb9(0x223));}),_0x2cd3f7[_0x42bf44(0x22e)](_0x42bf44(0x1f0))['to'](this,_0x42bf44(0x1fe),_0x11c1b5=>!_0x11c1b5),_0x2cd3f7['on'](_0x42bf44(0x235),()=>{const _0x3b91cf=_0x42bf44;this[_0x3b91cf(0x255)](_0x3b91cf(0x22b));}),_0x5eee17[_0x42bf44(0x22e)](_0x42bf44(0x1f0))['to'](this,_0x42bf44(0x1fe),_0x3ef8f6=>!_0x3ef8f6),_0x5eee17['on'](_0x42bf44(0x235),()=>{const _0x12d03a=_0x42bf44;this[_0x12d03a(0x255)](_0x12d03a(0x236));}),this[_0x42bf44(0x201)]=_0x2cd3f7,this[_0x42bf44(0x1f4)]=_0x1d0c47,this[_0x42bf44(0x1ee)]=_0x5eee17,this[_0x42bf44(0x23a)]=_0x30c188;}[_0x3bca23(0x259)](_0x856019,_0x51362a){const _0x20b3ae=_0x3bca23;this[_0x20b3ae(0x201)]||this[_0x20b3ae(0x212)]();const _0x511ec6=_0x856019>0x1;if(this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x23a)]),_0x511ec6){this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x201)]),this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x1f4)]),this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x1ee)]);const _0x4c21a6=_0x856019-_0x51362a;this[_0x20b3ae(0x1f4)][_0x20b3ae(0x20e)](_0x4c21a6+'/'+_0x856019),this[_0x20b3ae(0x201)][_0x20b3ae(0x1f0)]=_0x51362a<_0x856019-0x1,this[_0x20b3ae(0x1ee)][_0x20b3ae(0x1f0)]=_0x51362a>0x0;}else this[_0x20b3ae(0x1f5)](this[_0x20b3ae(0x201)]),this[_0x20b3ae(0x1f5)](this[_0x20b3ae(0x1f4)]),this[_0x20b3ae(0x1f5)](this[_0x20b3ae(0x1ee)]);}[_0x3bca23(0x215)](){const _0x4018bf=_0x3bca23;this[_0x4018bf(0x23a)][_0x4018bf(0x1f0)]=!0x1,this[_0x4018bf(0x201)][_0x4018bf(0x1f0)]=!0x1,this[_0x4018bf(0x1ee)][_0x4018bf(0x1f0)]=!0x1;}[_0x3bca23(0x25a)](){const _0x3bc22c=_0x3bca23;this[_0x3bc22c(0x202)](),this[_0x3bc22c(0x230)]&&this[_0x3bc22c(0x230)][_0x3bc22c(0x238)]();}[_0x3bca23(0x20b)](){const _0x303b44=_0x3bca23;this[_0x303b44(0x230)]&&this[_0x303b44(0x230)][_0x303b44(0x22c)]();}[_0x3bca23(0x239)](_0x16d97a){const _0x30c072=_0x3bca23;this[_0x30c072(0x210)]=_0x16d97a;}[_0x3bca23(0x1ed)](){const _0x409e23=_0x3bca23;this[_0x409e23(0x25c)][_0x409e23(0x258)]=!0x1;}[_0x3bca23(0x202)](){const _0x13c6a0=_0x3bca23,_0xe7229=this[_0x13c6a0(0x24b)]();_0xe7229&&!this[_0x13c6a0(0x230)]&&(this[_0x13c6a0(0x230)]=new _0x50fe05(_0xe7229));}[_0x3bca23(0x24b)](){const _0x43e96f=_0x3bca23;return this[_0x43e96f(0x21f)][_0x43e96f(0x1fd)];}}class AIActionsBalloonNavigationCounterView extends _0x5b54d0{constructor(_0x42fa80){const _0x5d53e4=_0x3bca23;super(_0x42fa80);const _0x1e8a02=this[_0x5d53e4(0x200)];this[_0x5d53e4(0x219)](_0x5d53e4(0x249),_0x5d53e4(0x209)),this[_0x5d53e4(0x240)]({'tag':_0x5d53e4(0x21b),'attributes':{'class':[_0x5d53e4(0x24a)]},'children':[{'text':_0x1e8a02['to'](_0x5d53e4(0x249))}]});}[_0x3bca23(0x20e)](_0x1edc2d){const _0x34f204=_0x3bca23;this[_0x34f204(0x219)](_0x34f204(0x249),_0x1edc2d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x467ed6=_0x304c;(function(_0x1c75d2,_0x3797c4){const _0x5d0383=_0x304c,_0x262fd3=_0x1c75d2();while(!![]){try{const _0x34279f=parseInt(_0x5d0383(0x101))/0x1*(-parseInt(_0x5d0383(0xfe))/0x2)+parseInt(_0x5d0383(0x110))/0x3+-parseInt(_0x5d0383(0x10f))/0x4*(parseInt(_0x5d0383(0x10b))/0x5)+-parseInt(_0x5d0383(0xf8))/0x6+parseInt(_0x5d0383(0xfd))/0x7*(-parseInt(_0x5d0383(0xfa))/0x8)+parseInt(_0x5d0383(0x10c))/0x9*(-parseInt(_0x5d0383(0x103))/0xa)+parseInt(_0x5d0383(0x10a))/0xb*(parseInt(_0x5d0383(0x102))/0xc);if(_0x34279f===_0x3797c4)break;else _0x262fd3['push'](_0x262fd3['shift']());}catch(_0x25c272){_0x262fd3['push'](_0x262fd3['shift']());}}}(_0x5089,0x1dddc));import{IconView as _0x15427c,ListItemButtonView as _0x518ee4}from'ckeditor5/src/ui.js';function _0x5089(){const _0x5e2628=['598803SSStUN','_createArrowView','990618cstjna','add','56FYZelH','arrowView','ck-dropdown-menu-list__nested-menu__button','151291dLxUtR','26BhRIve','mouseenter','children','16351TXLcRW','239508TLfbbF','60essLPp','content','isOn','bindTemplate','ck-dropdown-menu-list__nested-menu__button__arrow','extendTemplate','render','253sLZvIB','15065mEHoHW','6534ggnmZr','menuitem','set','4OgeIDR'];_0x5089=function(){return _0x5e2628;};return _0x5089();}import{IconDropdownArrow as _0x5403a9}from'@ckeditor/ckeditor5-icons';function _0x304c(_0x469210,_0x1432ad){const _0x50897a=_0x5089();return _0x304c=function(_0x304cae,_0x46e82f){_0x304cae=_0x304cae-0xf7;let _0xa47922=_0x50897a[_0x304cae];return _0xa47922;},_0x304c(_0x469210,_0x1432ad);}export class DropdownMenuButtonWithHighlightView extends _0x518ee4{[_0x467ed6(0xfb)];constructor(_0x132591,_0x453bea){const _0x4a2708=_0x467ed6;super(_0x132591,_0x453bea);const _0x88c46d=this[_0x4a2708(0x106)];this[_0x4a2708(0x10e)]({'withText':!0x0,'role':_0x4a2708(0x10d)}),this[_0x4a2708(0xfb)]=this[_0x4a2708(0xf7)](),this[_0x4a2708(0x108)]({'attributes':{'class':[_0x4a2708(0xfc)],'aria-haspopup':!0x0,'aria-expanded':this[_0x4a2708(0x106)]['to'](_0x4a2708(0x105),_0x493595=>String(_0x493595)),'data-cke-tooltip-disabled':_0x88c46d['to'](_0x4a2708(0x105))},'on':{'mouseenter':_0x88c46d['to'](_0x4a2708(0xff))}});}[_0x467ed6(0x109)](){const _0x7062ae=_0x467ed6;super[_0x7062ae(0x109)](),this[_0x7062ae(0x100)][_0x7062ae(0xf9)](this[_0x7062ae(0xfb)]);}[_0x467ed6(0xf7)](){const _0x567485=_0x467ed6,_0x286460=new _0x15427c();return _0x286460[_0x567485(0x104)]=_0x5403a9,_0x286460[_0x567485(0x108)]({'attributes':{'class':_0x567485(0x107)}}),_0x286460;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x47dbf6=_0x57cf;function _0x57cf(_0x344612,_0x3033fa){const _0x4481de=_0x4481();return _0x57cf=function(_0x57cfea,_0x348de3){_0x57cfea=_0x57cfea-0xbb;let _0x44180a=_0x4481de[_0x57cfea];return _0x44180a;},_0x57cf(_0x344612,_0x3033fa);}function _0x4481(){const _0x20b2e3=['_onChangeMarkerBlurred','5978244EmOQVF','abortReviewStream','2065614WgMTay','listenTo','changeMarkerRestored','message','ai-review-mode-check-run-chunk-error','rejectChange','error-chunk','isChangeActive','markChangeAsPending','args','ck-ai-translate-mode-content','_aiReviewCoreEditing','showCheckRunResult','_logError','acceptChange','ai-review-mode-no-current-check-run','_onReviewRunLeave','dismissChange','reviewCheckResultReady','_onReviewCheckResultDeactivated','_diffContent','markChangeAsOutdated','applyChange','showReviewCheckList','stopListening','contentInitial','ai-review-mode-check-run-general-error','documentData','hasModifications','5154048ewQhiG','getRoot','_onChangeMarkerHovered','updateChangeState','_onReviewCheckResultActivated','AIConnector','_createReviewCheckRun','getDocumentData','clearAllMarkers','title','leaveReview','_getChecksList','setAvailableChecks','21805176wiBbQL','showReviewCompletedView','_changeActivationSource','showActionsWhenResultIsReady','showCheckRunResults','removeClass','_onActivateChange','params','closest','_getChangeContentElement','changeMarkerRemoved','_getTranslationWithDefault','emitter','unmodified','reviewCheckResultAdded','changeMarkerHovered','currentError','3150840RkfjUt','_onChangeMarkerClicked','ai-review-mode-check-run-failed','changeId','locale','plugins','_onChangeMarkerRestored','ck-ai_review-highlights','deactivateChange','showGeneralReviewCoreErrorView','getEditor','3RaQnTI','leaveReviewCoreResultList','ready','data','map','_onReviewCheckRun','source','view','start','changeMarkerBlurred','reviewCheckRunUpdated','checks','236891PosIew','_aiConnector','addResultChanges','_aiReviewCoreUi','finished','.ck-ai_review__check-run-result','getReviewCheckList','changes','markChangeAsAccepted','_onChangeMarkerRemoved','reviewCheckResultChangeStatusUpdated','init','updateDocumentData','get','2713564tDznuD','showChunkErrorView','_scrollToChange','change','_aiReviewCheckList','acceptAllChanges','ai-review-mode-source-check-not-found','runReviewCheck','getActiveChanges','length','document','includes','markChangeAsRejected','status','showNoChangesView','retryReview','forceReadyState','ai-review-mode-models-unable-to-retrieve','getCheckById','ai-request-aborted','getChangeElement','contentNew','changeMarkerClicked','sendRating','showGeneralResultsErrorView','_initRequiredPlugins','startsWith','finishReview','_currentReviewCheckRun','error-general','editing','panel','restart','requires','processedResultsCount','activateChange','result','reviewCheckResultDeactivated','context','subTitle','reviewCheckResultActivated','isPremiumPlugin','content','_onDeactivateChange','_onCheckRunFinished','hideChangeBalloon','switchToEdit','ck-ai_review-diff','abort','aborted','isOfficialPlugin','markAllChangesAsAccepted','_markChangePositionInEditorContent','setCheckResultTitle','loading','switchToReadOnly'];_0x4481=function(){return _0x20b2e3;};return _0x4481();}(function(_0xa35dba,_0x486d73){const _0x163f0a=_0x57cf,_0x5ee794=_0xa35dba();while(!![]){try{const _0x36405d=-parseInt(_0x163f0a(0x11a))/0x1+parseInt(_0x163f0a(0xc8))/0x2*(-parseInt(_0x163f0a(0x10e))/0x3)+parseInt(_0x163f0a(0xe5))/0x4+-parseInt(_0x163f0a(0x103))/0x5+-parseInt(_0x163f0a(0xc6))/0x6+-parseInt(_0x163f0a(0x128))/0x7+parseInt(_0x163f0a(0xf2))/0x8;if(_0x36405d===_0x486d73)break;else _0x5ee794['push'](_0x5ee794['shift']());}catch(_0x17b166){_0x5ee794['push'](_0x5ee794['shift']());}}}(_0x4481,0xb249b));import{ContextPlugin as _0x4dd88a}from'ckeditor5/src/core.js';import{CKEditorError as _0x42a33e,logError as _0x3460d8,scrollAncestorsToShowTarget as _0x2af3e5,scrollViewportToShowTarget as _0x219926}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x4bf87c}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0x19ad02}from'../aicore/utils/common-translations.js';import{AIConnector as _0xc09527}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x4dd88a{[_0x47dbf6(0x11b)];[_0x47dbf6(0x11d)];[_0x47dbf6(0xd3)];[_0x47dbf6(0x12c)];[_0x47dbf6(0x144)];[_0x47dbf6(0xf4)]=null;static get[_0x47dbf6(0x149)](){return[_0xc09527];}static get[_0x47dbf6(0xbf)](){return!0x0;}static get[_0x47dbf6(0x151)](){return!0x0;}async[_0x47dbf6(0x125)](){const _0x52a5bb=_0x47dbf6;this[_0x52a5bb(0x141)](),this[_0x52a5bb(0x12c)]=await this[_0x52a5bb(0xf0)](),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x120),()=>{const _0x3b761e=_0x52a5bb;this[_0x3b761e(0x11d)][_0x3b761e(0xf1)](this[_0x3b761e(0x12c)][_0x3b761e(0x119)]);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x12f),async(_0x19425b,_0x5400d0)=>{const _0x50035c=_0x52a5bb,_0x1f4999=this[_0x50035c(0x12c)][_0x50035c(0x13a)](_0x5400d0['id']);if(_0x1f4999){this[_0x50035c(0x113)](_0x5400d0),this[_0x50035c(0xd3)][_0x50035c(0xc4)](),this[_0x50035c(0x144)]=this[_0x50035c(0xeb)](_0x5400d0,_0x1f4999),this[_0x50035c(0x11d)][_0x50035c(0xc2)](this[_0x50035c(0x144)][_0x50035c(0xee)],this[_0x50035c(0x144)][_0x50035c(0x14f)]),this[_0x50035c(0x144)]['on'](_0x50035c(0x118),(_0x2347d9,_0x291682)=>{const _0xb5de3=_0x50035c;switch(_0x291682[_0xb5de3(0x135)]){case _0xb5de3(0x111):case _0xb5de3(0xc3):this[_0xb5de3(0x11d)][_0xb5de3(0xf6)](_0x291682);break;case _0xb5de3(0x11e):this[_0xb5de3(0x154)]();break;case _0xb5de3(0x110):this[_0xb5de3(0x11d)][_0xb5de3(0xf5)]();break;case _0xb5de3(0xff):this[_0xb5de3(0x11d)][_0xb5de3(0x136)]();break;case _0xb5de3(0x145):this[_0xb5de3(0x11d)][_0xb5de3(0x140)](),this[_0xb5de3(0xd5)](new _0x42a33e(_0xb5de3(0xe2),this,void 0x0,this[_0xb5de3(0x144)]?.[_0xb5de3(0x102)]));break;case _0xb5de3(0xce):this[_0xb5de3(0x11d)][_0xb5de3(0x129)](),this[_0xb5de3(0xd5)](new _0x42a33e(_0xb5de3(0xcc),this,void 0x0,this[_0xb5de3(0x144)]?.[_0xb5de3(0x102)]));break;case _0xb5de3(0xbe):this[_0xb5de3(0x144)]&&this[_0xb5de3(0x144)][_0xb5de3(0x14a)]>0x0?setTimeout(()=>{const _0x1d26d1=_0xb5de3;this[_0x1d26d1(0x144)]?.[_0x1d26d1(0x138)]();},0x0):this[_0xb5de3(0xd8)](!0x0);}_0xb5de3(0x110)!==_0x291682[_0xb5de3(0x135)]&&_0xb5de3(0xce)!==_0x291682[_0xb5de3(0x135)]&&_0xb5de3(0x145)!==_0x291682[_0xb5de3(0x135)]||this[_0xb5de3(0x144)]?.[_0xb5de3(0x13f)]();}),this[_0x50035c(0x144)]['on'](_0x50035c(0x100),(_0x4ebf87,_0x30b841)=>{const _0x2e34d0=_0x50035c;if(!this[_0x2e34d0(0x144)])throw new _0x42a33e(_0x2e34d0(0xd7),this);const _0x41cd70=this[_0x2e34d0(0xdc)](_0x30b841[_0x2e34d0(0x14c)][_0x2e34d0(0xe1)],_0x30b841[_0x2e34d0(0x14c)][_0x2e34d0(0x13d)]);_0x30b841[_0x2e34d0(0x114)][_0x2e34d0(0x11c)](_0x30b841[_0x2e34d0(0x14c)]['id'],_0x41cd70);}),this[_0x50035c(0x144)]['on'](_0x50035c(0xda),(_0x1ffbb8,_0x416592)=>{const _0x29b325=_0x50035c;for(const _0x55e283 of _0x416592[_0x29b325(0x121)])this[_0x29b325(0x11d)][_0x29b325(0xd4)](_0x55e283);this[_0x29b325(0xc1)](_0x416592[_0x29b325(0x121)],_0x416592[_0x29b325(0x114)][_0x29b325(0xe3)]);}),this[_0x50035c(0x144)]['on'](_0x50035c(0x124),(_0x231dd4,_0x30a55c)=>{const _0x12a07d=_0x50035c;this[_0x12a07d(0x11d)][_0x12a07d(0xe8)](_0x30a55c[_0x12a07d(0x12b)]['id'],_0x30a55c[_0x12a07d(0x135)]);}),this[_0x50035c(0x144)]['on'](_0x50035c(0x150),(_0xfe9c8a,_0x53ba6f)=>{const _0x3f3004=_0x50035c;this[_0x3f3004(0xe9)](_0x53ba6f);}),this[_0x50035c(0x144)]['on'](_0x50035c(0x14d),()=>{const _0x411e6d=_0x50035c;this[_0x411e6d(0xdb)]();});try{await this[_0x50035c(0x144)][_0x50035c(0x116)]();}catch(_0x39a770){_0x39a770 instanceof Error&&_0x39a770[_0x50035c(0xcb)][_0x50035c(0x133)](_0x50035c(0x13b))||(_0x39a770 instanceof _0x42a33e?this[_0x50035c(0xd5)](_0x39a770):this[_0x50035c(0xd5)](new _0x42a33e(_0x50035c(0x105),this,void 0x0,_0x39a770)));}}else this[_0x50035c(0xd5)](new _0x42a33e(_0x50035c(0x12e),this,{'checkId':_0x5400d0['id']}));}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0xef),()=>{const _0x458956=_0x52a5bb;this[_0x458956(0xd8)]();}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x10f),()=>{const _0x57e7b5=_0x52a5bb;this[_0x57e7b5(0xd8)](!0x0);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0xc7),()=>{const _0x572ddd=_0x52a5bb;this[_0x572ddd(0x144)]&&this[_0x572ddd(0x144)][_0x572ddd(0xbd)]();}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x143),()=>{const _0x2dda0e=_0x52a5bb;this[_0x2dda0e(0xd8)](!0x0);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x12d),()=>{const _0x3ad50e=_0x52a5bb;if(!this[_0x3ad50e(0x144)])return;const _0x18a976=this[_0x3ad50e(0x144)][_0x3ad50e(0x130)]();if(!_0x18a976[_0x3ad50e(0x131)])return;this[_0x3ad50e(0xd3)][_0x3ad50e(0xde)](_0x18a976[_0x3ad50e(0x112)](_0x3f0d33=>_0x3f0d33['id']));const _0x44c0bf=this[_0x3ad50e(0x144)];_0x44c0bf[_0x3ad50e(0xc0)](),_0x44c0bf[_0x3ad50e(0x13f)]();}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0xd6),(_0x53a9d2,_0x269f2e)=>{const _0x5b07ad=_0x52a5bb;this[_0x5b07ad(0x144)]&&this[_0x5b07ad(0x144)][_0x5b07ad(0xcf)](_0x269f2e['id'])&&(this[_0x5b07ad(0xd3)][_0x5b07ad(0xde)]([_0x269f2e['id']]),this[_0x5b07ad(0x144)][_0x5b07ad(0x122)](_0x269f2e['id']),this[_0x5b07ad(0x11d)][_0x5b07ad(0x155)](),this[_0x5b07ad(0x144)][_0x5b07ad(0x13f)](_0x269f2e['id']));}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0xd9),(_0x51ffde,_0x2c2f0e)=>{const _0x2598a2=_0x52a5bb;this[_0x2598a2(0x144)]&&this[_0x2598a2(0x144)][_0x2598a2(0xcf)](_0x2c2f0e['id'])&&(this[_0x2598a2(0xd3)][_0x2598a2(0xcd)](_0x2c2f0e['id']),this[_0x2598a2(0x144)][_0x2598a2(0x134)](_0x2c2f0e['id']),this[_0x2598a2(0x11d)][_0x2598a2(0x155)](),this[_0x2598a2(0x144)][_0x2598a2(0x13f)](_0x2c2f0e['id']));}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x137),async()=>{const _0x5528e9=_0x52a5bb;this[_0x5528e9(0x144)]&&(this[_0x5528e9(0xd3)][_0x5528e9(0xed)](),this[_0x5528e9(0x144)][_0x5528e9(0x126)](this[_0x5528e9(0xd3)][_0x5528e9(0xec)]()),await this[_0x5528e9(0x144)][_0x5528e9(0x148)]());}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x14b),(_0x581649,_0x9bba44)=>{const _0x17a04c=_0x52a5bb;this[_0x17a04c(0xf8)](_0x9bba44);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0x11d)],_0x52a5bb(0x10b),(_0x37078e,_0x55c3fd)=>{const _0x45c0ec=_0x52a5bb;this[_0x45c0ec(0x153)](_0x55c3fd);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0xd3)][_0x52a5bb(0xfe)],_0x52a5bb(0x13e),(_0x1856da,_0x2b71da)=>{const _0x51571f=_0x52a5bb;this[_0x51571f(0x104)](_0x1856da,_0x2b71da);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0xd3)][_0x52a5bb(0xfe)],_0x52a5bb(0x101),(_0x439b6c,_0x27daf7)=>{const _0x2cfb27=_0x52a5bb;this[_0x2cfb27(0xe7)](_0x439b6c,_0x27daf7);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0xd3)][_0x52a5bb(0xfe)],_0x52a5bb(0x117),()=>{const _0x70cc22=_0x52a5bb;this[_0x70cc22(0xc5)]();}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0xd3)][_0x52a5bb(0xfe)],_0x52a5bb(0xfc),(_0x263961,_0x1e67f5)=>{const _0x4fb884=_0x52a5bb;this[_0x4fb884(0x123)](_0x263961,_0x1e67f5);}),this[_0x52a5bb(0xc9)](this[_0x52a5bb(0xd3)][_0x52a5bb(0xfe)],_0x52a5bb(0xca),(_0x2dff1d,_0x5b5c76)=>{const _0x4574a9=_0x52a5bb;this[_0x4574a9(0x109)](_0x2dff1d,_0x5b5c76);});}[_0x47dbf6(0xeb)](_0x4c472d,_0x28834e){const _0x26574e=_0x47dbf6;return new _0x4bf87c(this[_0x26574e(0xd3)][_0x26574e(0xec)](),_0x28834e,this[_0x26574e(0x11b)],_0x4c472d[_0x26574e(0xf9)],_0x4c472d[_0x26574e(0xd1)]);}[_0x47dbf6(0x123)](_0x12506b,_0xcfa5){const _0x44c78a=_0x47dbf6;this[_0x44c78a(0x144)]&&this[_0x44c78a(0x144)][_0x44c78a(0xdd)](_0xcfa5[_0x44c78a(0x106)]);}[_0x47dbf6(0x109)](_0x3b6a2c,_0x6b725d){const _0x9e5c49=_0x47dbf6;this[_0x9e5c49(0x144)]&&this[_0x9e5c49(0x144)][_0x9e5c49(0xd0)](_0x6b725d[_0x9e5c49(0x106)]);}[_0x47dbf6(0x154)](){const _0x43857f=_0x47dbf6;this[_0x43857f(0x11d)][_0x43857f(0xf3)]();}[_0x47dbf6(0x141)](){const _0x1b4a21=_0x47dbf6;this[_0x1b4a21(0x11b)]=this[_0x1b4a21(0x14e)][_0x1b4a21(0x108)][_0x1b4a21(0x127)](_0x1b4a21(0xea));}[_0x47dbf6(0xd8)](_0x59c40b=!0x1){const _0x1c844a=_0x47dbf6;this[_0x1c844a(0x144)]&&(this[_0x1c844a(0x144)][_0x1c844a(0xe4)]||this[_0x1c844a(0x144)][_0x1c844a(0x13f)](),this[_0x1c844a(0x144)][_0x1c844a(0xe0)](),this[_0x1c844a(0x144)][_0x1c844a(0xbd)](),this[_0x1c844a(0x144)]=void 0x0),_0x59c40b&&this[_0x1c844a(0x11d)][_0x1c844a(0xdf)](),this[_0x1c844a(0xd3)][_0x1c844a(0xed)](),this[_0x1c844a(0xd3)][_0x1c844a(0xbb)](),this[_0x1c844a(0xf4)]=null;const _0x1827c7=this[_0x1c844a(0xd3)][_0x1c844a(0x10d)]();_0x1827c7&&_0x1827c7[_0x1c844a(0x146)][_0x1c844a(0x115)][_0x1c844a(0x12b)](_0x49fe2d=>{const _0x5961af=_0x1c844a,_0x36c7ee=_0x1827c7[_0x5961af(0x146)][_0x5961af(0x115)][_0x5961af(0x132)][_0x5961af(0xe6)]();_0x49fe2d[_0x5961af(0xf7)](_0x5961af(0xbc),_0x36c7ee),_0x49fe2d[_0x5961af(0xf7)](_0x5961af(0x10a),_0x36c7ee),_0x49fe2d[_0x5961af(0xf7)](_0x5961af(0xd2),_0x36c7ee);});}[_0x47dbf6(0xfd)](_0xd16135,_0x533e15){const _0x4bf111=_0x47dbf6,_0x30316e=this[_0x4bf111(0x14e)][_0x4bf111(0x107)],_0x412e96=_0x19ad02(_0x30316e,_0xd16135);return _0x412e96===_0xd16135?_0x533e15:_0x412e96;}[_0x47dbf6(0xd5)](_0x1142a6,_0x9c02c7=!0x1){const _0x468843=_0x47dbf6;_0x3460d8(_0x1142a6[_0x468843(0xcb)]),_0x9c02c7||(_0x1142a6[_0x468843(0xcb)][_0x468843(0x142)](_0x468843(0x139))?this[_0x468843(0x11d)][_0x468843(0x10c)]():this[_0x468843(0x11d)][_0x468843(0x140)]());}[_0x47dbf6(0x12a)](_0x58fe9f){const _0x521350=_0x47dbf6;if(_0x521350(0x152)===this[_0x521350(0xf4)]){const _0x59641d=this[_0x521350(0x11d)][_0x521350(0x13c)](_0x58fe9f);_0x59641d&&_0x2af3e5(_0x59641d[_0x521350(0xfa)](_0x521350(0x11f))||_0x59641d);}else{if(_0x521350(0x147)===this[_0x521350(0xf4)]){const _0x920862=this[_0x521350(0xfb)](_0x58fe9f);if(!_0x920862)return;_0x219926({'target':_0x920862,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
23
|
+
const _0x3c8b89=_0x101c;(function(_0x46a573,_0x3e5318){const _0x2a0574=_0x101c,_0x4ebe5e=_0x46a573();while(!![]){try{const _0x290840=parseInt(_0x2a0574(0xf5))/0x1*(parseInt(_0x2a0574(0xe4))/0x2)+-parseInt(_0x2a0574(0x116))/0x3+parseInt(_0x2a0574(0x150))/0x4+-parseInt(_0x2a0574(0x144))/0x5*(-parseInt(_0x2a0574(0x104))/0x6)+parseInt(_0x2a0574(0x124))/0x7*(parseInt(_0x2a0574(0x11d))/0x8)+parseInt(_0x2a0574(0xfa))/0x9+-parseInt(_0x2a0574(0x110))/0xa;if(_0x290840===_0x3e5318)break;else _0x4ebe5e['push'](_0x4ebe5e['shift']());}catch(_0x27caab){_0x4ebe5e['push'](_0x4ebe5e['shift']());}}}(_0x2788,0x40abf));function _0x101c(_0x4de5ec,_0x5c5b54){const _0x2788a9=_0x2788();return _0x101c=function(_0x101c00,_0x12ec38){_0x101c00=_0x101c00-0xbb;let _0x1e9f3e=_0x2788a9[_0x101c00];return _0x1e9f3e;},_0x101c(_0x4de5ec,_0x5c5b54);}import{ContextPlugin as _0x2d0492}from'ckeditor5/src/core.js';import{CKEditorError as _0x5bb30e,logError as _0x532834,scrollAncestorsToShowTarget as _0x52b2e0,scrollViewportToShowTarget as _0x121c84}from'ckeditor5/src/utils.js';import{AIReviewSystemCheckRun as _0x267808}from'./model/aireviewsystemcheckrun.js';import{getTranslation as _0xf17ed0}from'../aicore/utils/common-translations.js';function _0x2788(){const _0x5194f0=['args','showReviewCompletedView','view','startsWith','375FfAiuY','currentError','message','markChangeAsOutdated','leaveReview','reviewCheckResultAdded','ai-review-mode-check-run-general-error','removeClass','deactivateChange','reviewCheckResultReady','leaveReviewCoreResultList','applyChange','745304bYLZzp','unmodified','_aiReviewCoreEditing','showGeneralReviewCoreErrorView','_onChangeMarkerBlurred','getActiveChanges','listenTo','checks','_currentReviewCheckRun','acceptAllChanges','requires','status','.ck-ai_review__check-run-result','_onActivateChange','getEditor','forceReadyState','_onChangeMarkerRestored','map','activateChange','_scrollToChange','markAllChangesAsAccepted','context','showCheckRunResults','contentInitial','reviewCheckResultChangeStatusUpdated','ck-ai_review-diff','getReviewCheckList','_getTranslationWithDefault','sendRating','result','rejectChange','locale','_createReviewCheckRun','params','includes','abort','_aiReviewCoreUi','getChangeElement','showActionsWhenResultIsReady','_initRequiredPlugins','markChangeAsPending','document','error-chunk','changes','processedResultsCount','showReviewCheckList','panel','hasModifications','loading','14ATFFcP','title','_markChangePositionInEditorContent','stopListening','get','getCheckById','subTitle','setAvailableChecks','aborted','_logError','showCheckRunResult','closest','updateChangeState','_aiConnector','_onCheckRunFinished','ready','_onChangeMarkerRemoved','22219oNJPjL','ai-review-mode-models-unable-to-retrieve','ai-review-mode-check-run-chunk-error','_onReviewCheckResultActivated','reviewCheckResultActivated','1427922IeZIOF','ck-ai-translate-mode-content','_onDeactivateChange','dismissChange','ai-request-aborted','clearAllMarkers','changeMarkerClicked','plugins','isOfficialPlugin','content','34416oLJvxE','changeMarkerRemoved','showChunkErrorView','hideChangeBalloon','source','runReviewCheck','_onReviewCheckRun','changeMarkerRestored','start','ai-review-mode-source-check-not-found','getRoot','getDocumentData','4880410NPwtvO','abortReviewStream','change','_getChecksList','addResultChanges','changeMarkerHovered','747744ACXZql','reviewCheckRunUpdated','finishReview','emitter','changeId','_aiReviewCheckList','_onReviewCheckResultDeactivated','51976HwkcjW','restart','_onReviewRunLeave','_onChangeMarkerHovered','error-general','changeMarkerBlurred','ai-review-mode-check-run-failed','77BEXEUA','markChangeAsRejected','editing','ai-review-mode-no-current-check-run','_getChangeContentElement','markChangeAsAccepted','length','AIConnector','documentData','data','updateDocumentData','showGeneralResultsErrorView','switchToReadOnly','isPremiumPlugin','isChangeActive','showNoChangesView','_changeActivationSource','_diffContent','init','setCheckResultTitle','switchToEdit','acceptChange','ck-ai_review-highlights','retryReview','_onChangeMarkerClicked','reviewCheckResultDeactivated','contentNew','finished'];_0x2788=function(){return _0x5194f0;};return _0x2788();}import{AIConnector as _0x2a4d10}from'../aicore/aiconnector.js';export class AIReviewCoreController extends _0x2d0492{[_0x3c8b89(0xf1)];[_0x3c8b89(0xd7)];[_0x3c8b89(0x152)];[_0x3c8b89(0x11b)];[_0x3c8b89(0xbb)];[_0x3c8b89(0x134)]=null;static get[_0x3c8b89(0xbd)](){return[_0x2a4d10];}static get[_0x3c8b89(0x102)](){return!0x0;}static get[_0x3c8b89(0x131)](){return!0x0;}async[_0x3c8b89(0x136)](){const _0x4393af=_0x3c8b89;this[_0x4393af(0xda)](),this[_0x4393af(0x11b)]=await this[_0x4393af(0x113)](),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0xcd),()=>{const _0x33764a=_0x4393af;this[_0x33764a(0xd7)][_0x33764a(0xeb)](this[_0x33764a(0x11b)][_0x33764a(0x157)]);}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0x109),async(_0x189cbe,_0x1c29d6)=>{const _0x683283=_0x4393af,_0x3d8ade=this[_0x683283(0x11b)][_0x683283(0xe9)](_0x1c29d6['id']);if(_0x3d8ade){this[_0x683283(0x10a)](_0x1c29d6),this[_0x683283(0x152)][_0x683283(0x130)](),this[_0x683283(0xbb)]=this[_0x683283(0xd3)](_0x1c29d6,_0x3d8ade),this[_0x683283(0xd7)][_0x683283(0x137)](this[_0x683283(0xbb)][_0x683283(0xe5)],this[_0x683283(0xbb)][_0x683283(0xea)]),this[_0x683283(0xbb)]['on'](_0x683283(0x117),(_0x152960,_0x4f4a75)=>{const _0x3efffa=_0x683283;switch(_0x4f4a75[_0x3efffa(0xbe)]){case _0x3efffa(0x12d):case _0x3efffa(0xe3):this[_0x3efffa(0xd7)][_0x3efffa(0xc9)](_0x4f4a75);break;case _0x3efffa(0x13f):this[_0x3efffa(0xf2)]();break;case _0x3efffa(0xf3):this[_0x3efffa(0xd7)][_0x3efffa(0xd9)]();break;case _0x3efffa(0x151):this[_0x3efffa(0xd7)][_0x3efffa(0x133)]();break;case _0x3efffa(0x121):this[_0x3efffa(0xd7)][_0x3efffa(0x12f)](),this[_0x3efffa(0xed)](new _0x5bb30e(_0x3efffa(0x14a),this,void 0x0,this[_0x3efffa(0xbb)]?.[_0x3efffa(0x145)]));break;case _0x3efffa(0xdd):this[_0x3efffa(0xd7)][_0x3efffa(0x106)](),this[_0x3efffa(0xed)](new _0x5bb30e(_0x3efffa(0xf7),this,void 0x0,this[_0x3efffa(0xbb)]?.[_0x3efffa(0x145)]));break;case _0x3efffa(0xec):this[_0x3efffa(0xbb)]&&this[_0x3efffa(0xbb)][_0x3efffa(0xdf)]>0x0?setTimeout(()=>{const _0x436edf=_0x3efffa;this[_0x436edf(0xbb)]?.[_0x436edf(0xc2)]();},0x0):this[_0x3efffa(0x11f)](!0x0);}_0x3efffa(0xf3)!==_0x4f4a75[_0x3efffa(0xbe)]&&_0x3efffa(0xdd)!==_0x4f4a75[_0x3efffa(0xbe)]&&_0x3efffa(0x121)!==_0x4f4a75[_0x3efffa(0xbe)]||this[_0x3efffa(0xbb)]?.[_0x3efffa(0xcf)]();}),this[_0x683283(0xbb)]['on'](_0x683283(0x149),(_0x3ef69f,_0x522f5b)=>{const _0x557a31=_0x683283;if(!this[_0x557a31(0xbb)])throw new _0x5bb30e(_0x557a31(0x127),this);const _0x1d9d1a=this[_0x557a31(0x135)](_0x522f5b[_0x557a31(0xd0)][_0x557a31(0xca)],_0x522f5b[_0x557a31(0xd0)][_0x557a31(0x13e)]);_0x522f5b[_0x557a31(0x108)][_0x557a31(0x114)](_0x522f5b[_0x557a31(0xd0)]['id'],_0x1d9d1a);}),this[_0x683283(0xbb)]['on'](_0x683283(0x14d),(_0x141f7f,_0x23a52a)=>{const _0x202b70=_0x683283;for(const _0x47c354 of _0x23a52a[_0x202b70(0xde)])this[_0x202b70(0xd7)][_0x202b70(0xee)](_0x47c354);this[_0x202b70(0xe6)](_0x23a52a[_0x202b70(0xde)],_0x23a52a[_0x202b70(0x108)][_0x202b70(0x12c)]);}),this[_0x683283(0xbb)]['on'](_0x683283(0xcb),(_0x32eb84,_0x4cea05)=>{const _0x5c3ae7=_0x683283;this[_0x5c3ae7(0xd7)][_0x5c3ae7(0xf0)](_0x4cea05[_0x5c3ae7(0x112)]['id'],_0x4cea05[_0x5c3ae7(0xbe)]);}),this[_0x683283(0xbb)]['on'](_0x683283(0xf9),(_0x1c92ca,_0x391009)=>{const _0x88ddaf=_0x683283;this[_0x88ddaf(0xf8)](_0x391009);}),this[_0x683283(0xbb)]['on'](_0x683283(0x13d),()=>{const _0x5df6e3=_0x683283;this[_0x5df6e3(0x11c)]();});try{await this[_0x683283(0xbb)][_0x683283(0x10c)]();}catch(_0x45bc61){_0x45bc61 instanceof Error&&_0x45bc61[_0x683283(0x146)][_0x683283(0xd5)](_0x683283(0xfe))||(_0x45bc61 instanceof _0x5bb30e?this[_0x683283(0xed)](_0x45bc61):this[_0x683283(0xed)](new _0x5bb30e(_0x683283(0x123),this,void 0x0,_0x45bc61)));}}else this[_0x683283(0xed)](new _0x5bb30e(_0x683283(0x10d),this,{'checkId':_0x1c29d6['id']}));}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0x148),()=>{const _0x341d82=_0x4393af;this[_0x341d82(0x11f)]();}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0x14e),()=>{const _0xb39772=_0x4393af;this[_0xb39772(0x11f)](!0x0);}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0x111),()=>{const _0x3569d2=_0x4393af;this[_0x3569d2(0xbb)]&&this[_0x3569d2(0xbb)][_0x3569d2(0xd6)]();}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0x118),()=>{const _0x34e8be=_0x4393af;this[_0x34e8be(0x11f)](!0x0);}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0xbc),()=>{const _0x2c8f26=_0x4393af;if(!this[_0x2c8f26(0xbb)])return;const _0xe6c945=this[_0x2c8f26(0xbb)][_0x2c8f26(0x155)]();if(!_0xe6c945[_0x2c8f26(0x12a)])return;this[_0x2c8f26(0x152)][_0x2c8f26(0x14f)](_0xe6c945[_0x2c8f26(0xc4)](_0x3a2fd3=>_0x3a2fd3['id']));const _0x56ef0f=this[_0x2c8f26(0xbb)];_0x56ef0f[_0x2c8f26(0xc7)](),_0x56ef0f[_0x2c8f26(0xcf)]();}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0x139),(_0x1d6542,_0x5b9731)=>{const _0x9d13c3=_0x4393af;this[_0x9d13c3(0xbb)]&&this[_0x9d13c3(0xbb)][_0x9d13c3(0x132)](_0x5b9731['id'])&&(this[_0x9d13c3(0x152)][_0x9d13c3(0x14f)]([_0x5b9731['id']]),this[_0x9d13c3(0xbb)][_0x9d13c3(0x129)](_0x5b9731['id']),this[_0x9d13c3(0xd7)][_0x9d13c3(0x107)](),this[_0x9d13c3(0xbb)][_0x9d13c3(0xcf)](_0x5b9731['id']));}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0xfd),(_0x4f6251,_0x416852)=>{const _0x5b1cd2=_0x4393af;this[_0x5b1cd2(0xbb)]&&this[_0x5b1cd2(0xbb)][_0x5b1cd2(0x132)](_0x416852['id'])&&(this[_0x5b1cd2(0x152)][_0x5b1cd2(0xd1)](_0x416852['id']),this[_0x5b1cd2(0xbb)][_0x5b1cd2(0x125)](_0x416852['id']),this[_0x5b1cd2(0xd7)][_0x5b1cd2(0x107)](),this[_0x5b1cd2(0xbb)][_0x5b1cd2(0xcf)](_0x416852['id']));}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0x13b),async()=>{const _0x59b48e=_0x4393af;this[_0x59b48e(0xbb)]&&(this[_0x59b48e(0x152)][_0x59b48e(0xff)](),this[_0x59b48e(0xbb)][_0x59b48e(0x12e)](this[_0x59b48e(0x152)][_0x59b48e(0x10f)]()),await this[_0x59b48e(0xbb)][_0x59b48e(0x11e)]());}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0xc5),(_0x5413ef,_0x37ab88)=>{const _0x328459=_0x4393af;this[_0x328459(0xc0)](_0x37ab88);}),this[_0x4393af(0x156)](this[_0x4393af(0xd7)],_0x4393af(0x14c),(_0x1f1966,_0x35010b)=>{const _0x3548b4=_0x4393af;this[_0x3548b4(0xfc)](_0x35010b);}),this[_0x4393af(0x156)](this[_0x4393af(0x152)][_0x4393af(0x119)],_0x4393af(0x100),(_0x5a803f,_0x29f5ed)=>{const _0x8da950=_0x4393af;this[_0x8da950(0x13c)](_0x5a803f,_0x29f5ed);}),this[_0x4393af(0x156)](this[_0x4393af(0x152)][_0x4393af(0x119)],_0x4393af(0x115),(_0x288b84,_0x3189ad)=>{const _0xf6aaa5=_0x4393af;this[_0xf6aaa5(0x120)](_0x288b84,_0x3189ad);}),this[_0x4393af(0x156)](this[_0x4393af(0x152)][_0x4393af(0x119)],_0x4393af(0x122),()=>{const _0x40249a=_0x4393af;this[_0x40249a(0x154)]();}),this[_0x4393af(0x156)](this[_0x4393af(0x152)][_0x4393af(0x119)],_0x4393af(0x105),(_0x33e2aa,_0x5053d1)=>{const _0x5849bb=_0x4393af;this[_0x5849bb(0xf4)](_0x33e2aa,_0x5053d1);}),this[_0x4393af(0x156)](this[_0x4393af(0x152)][_0x4393af(0x119)],_0x4393af(0x10b),(_0x56ed61,_0x20c717)=>{const _0x349073=_0x4393af;this[_0x349073(0xc3)](_0x56ed61,_0x20c717);});}[_0x3c8b89(0xd3)](_0x1fcc63,_0x266f6a){const _0x2b4490=_0x3c8b89;return new _0x267808(this[_0x2b4490(0x152)][_0x2b4490(0x10f)](),_0x266f6a,this[_0x2b4490(0xf1)],_0x1fcc63[_0x2b4490(0xd4)],_0x1fcc63[_0x2b4490(0x140)]);}[_0x3c8b89(0xf4)](_0x248239,_0xe933c6){const _0x3bf317=_0x3c8b89;this[_0x3bf317(0xbb)]&&this[_0x3bf317(0xbb)][_0x3bf317(0x147)](_0xe933c6[_0x3bf317(0x11a)]);}[_0x3c8b89(0xc3)](_0x3a345e,_0x322b91){const _0x405041=_0x3c8b89;this[_0x405041(0xbb)]&&this[_0x405041(0xbb)][_0x405041(0xdb)](_0x322b91[_0x405041(0x11a)]);}[_0x3c8b89(0xf2)](){const _0x3a88ef=_0x3c8b89;this[_0x3a88ef(0xd7)][_0x3a88ef(0x141)]();}[_0x3c8b89(0xda)](){const _0x36f33a=_0x3c8b89;this[_0x36f33a(0xf1)]=this[_0x36f33a(0xc8)][_0x36f33a(0x101)][_0x36f33a(0xe8)](_0x36f33a(0x12b));}[_0x3c8b89(0x11f)](_0x3cf62b=!0x1){const _0x3471f9=_0x3c8b89;this[_0x3471f9(0xbb)]&&(this[_0x3471f9(0xbb)][_0x3471f9(0xe2)]||this[_0x3471f9(0xbb)][_0x3471f9(0xcf)](),this[_0x3471f9(0xbb)][_0x3471f9(0xe7)](),this[_0x3471f9(0xbb)][_0x3471f9(0xd6)](),this[_0x3471f9(0xbb)]=void 0x0),_0x3cf62b&&this[_0x3471f9(0xd7)][_0x3471f9(0xe0)](),this[_0x3471f9(0x152)][_0x3471f9(0xff)](),this[_0x3471f9(0x152)][_0x3471f9(0x138)](),this[_0x3471f9(0x134)]=null;const _0x4b16e3=this[_0x3471f9(0x152)][_0x3471f9(0xc1)]();_0x4b16e3&&_0x4b16e3[_0x3471f9(0x126)][_0x3471f9(0x142)][_0x3471f9(0x112)](_0x6b3bb6=>{const _0x2fb02a=_0x3471f9,_0x19aced=_0x4b16e3[_0x2fb02a(0x126)][_0x2fb02a(0x142)][_0x2fb02a(0xdc)][_0x2fb02a(0x10e)]();_0x6b3bb6[_0x2fb02a(0x14b)](_0x2fb02a(0xcc),_0x19aced),_0x6b3bb6[_0x2fb02a(0x14b)](_0x2fb02a(0x13a),_0x19aced),_0x6b3bb6[_0x2fb02a(0x14b)](_0x2fb02a(0xfb),_0x19aced);});}[_0x3c8b89(0xce)](_0x239f72,_0x59d077){const _0x2e31e6=_0x3c8b89,_0x3eda13=this[_0x2e31e6(0xc8)][_0x2e31e6(0xd2)],_0x230167=_0xf17ed0(_0x3eda13,_0x239f72);return _0x230167===_0x239f72?_0x59d077:_0x230167;}[_0x3c8b89(0xed)](_0x10b98b,_0x52667c=!0x1){const _0x13766c=_0x3c8b89;_0x532834(_0x10b98b[_0x13766c(0x146)]),_0x52667c||(_0x10b98b[_0x13766c(0x146)][_0x13766c(0x143)](_0x13766c(0xf6))?this[_0x13766c(0xd7)][_0x13766c(0x153)]():this[_0x13766c(0xd7)][_0x13766c(0x12f)]());}[_0x3c8b89(0xc6)](_0x2edd8e){const _0x3034e5=_0x3c8b89;if(_0x3034e5(0x103)===this[_0x3034e5(0x134)]){const _0x513fec=this[_0x3034e5(0xd7)][_0x3034e5(0xd8)](_0x2edd8e);_0x513fec&&_0x52b2e0(_0x513fec[_0x3034e5(0xef)](_0x3034e5(0xbf))||_0x513fec);}else{if(_0x3034e5(0xe1)===this[_0x3034e5(0x134)]){const _0x465d60=this[_0x3034e5(0x128)](_0x2edd8e);if(!_0x465d60)return;_0x121c84({'target':_0x465d60,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x50d456=_0x184d;function _0x184d(_0x5d6a27,_0x3db146){const _0x21e84f=_0x21e8();return _0x184d=function(_0x184df8,_0x369911){_0x184df8=_0x184df8-0x1c5;let _0x44e6f4=_0x21e84f[_0x184df8];return _0x44e6f4;},_0x184d(_0x5d6a27,_0x3db146);}function _0x21e8(){const _0x2f9373=['ck-ai_review-marker_context-','closest','ck-ai_review-marker_underline','requires','asString','\x20ck-ai_review__change_active','registerPostFixer','_getOperationStart','hasAttribute','relatedTarget','delete','parse','htmlProcessor','batch','mouseup','_findAdjacentContextDistance','getChangedMarkers','DocumentCompare','every','history','flat','markerName','getChanges','parent','_domEmitter','childCount','getRange','viewToDom','_haveSingleTopLevelElement','_handleMarkerChanges','_getPositionLimitingRange','body','_getChangeContext','toView','setMarkersInElementAsActive','nodes','document','isAtStart','_changePosition','ck-ai_review-marker_hide','data','getEditableElement','AIReviewCoreEditing','suggestion:insertion:id:authorId:','afterInit','containsRange','parentElement','backward','_getMarkersDataForGroup','No\x20element\x20found\x20for\x20ID:\x20','push','isOpening','getAttribute','$documentFragment','insert','containerElement','$graveyard','fire','pluginName','createRangeIn','_getOperationEnd','suggestion-context','remove','data-marker-id','downcast','_sortMarkers','position','end','operationsA','ck-ai_review-marker_strikethrough','4032060aEdjVr','listenTo','oldRange','[data-id=\x22','$markedRemove','_removeAttribute','howMany','append','getDocumentData','startsWith','_upsertDataId','plugins','rejectChange','createSelection','_setAttribute','markerToElement','_createGetContentFn','_haveOnlyInlineContent','applyChange','_changePositionOwnerDocument','ellipsisAfter','forward','set','editingDowncast','exec','171eispZM','196455lrILvM','getDiff','highest','switchToEdit','_activeMarkers','warn','element','attributeToAttribute','querySelector','_appendChild','changeMarkerBlurred','processor','_parseMarkerName','add','getOperations','remove-context','changeMarkerClicked','review-','4sIjzGH','_groupAdjacentOperations','index','toDomElement','getDomRoot','sort','get','outside','version','groupId','disableReadOnlyMode','content','$textProxy','_findMarkerElementById','newRange','toData','10nfNODK','15864IKVtUf','operations','createRange','reconvertMarker','root','stringify','span','createPositionAt','baseVersion','getContentElementForChange','addMarker','offsetSize','isLimit','switchToReadOnly','_nextDataId','change','operationsIsolated','2399395iXdJda','removeMarker','outerHTML','path','1206980bfgnKv','hasContentBefore','keys','isIntersecting','view','ai-review','schema','applyOperation','createUIElement','marker','_markers','has','isInline','type','reactivateMarkers','ellipsisBefore','$markedRemove:synthetic','split','mouseover','map','ck-ai_review-marker_add','changeMarkerHovered','for','enableReadOnlyMode','markerToHighlight','join','getRoot','getMarkerElementForChange','$root','getEditor','_changeRangeOwnerDocument','_changeRange','_changeOperationOwnerDocument','isOfficialPlugin','_shiftOperation','getChild','getChildren','isPremiumPlugin','ck-ai_review__change_active','createRangeOn','remove-only','_validateMarkers','name','length','_translateOperationToEditorContent','differ','hasContentAfter','emitter','target','from','dataDowncast','remove-text','getPath','_findMarkerElement','editing','insertContent','clear','start','_removeChildren','[data-marker-id=\x22','_hasSameTopLevelElement','isAtEnd','changeMarkerRestored','clone','getHtml','concat','246VtOjKi','getStart','getRoots','ck-ai_review-marker_','values','conversion','pop','ck-ai_review-marker_context-start','markers','_createGetContextFn','isTouching','AIEditing','_clone','model','addOperation','filter','1282752TpWJfJ','ck-ai_review-marker_context-end','offset','innerHTML','deleteContent','createRawElement','inside','markChangePositionInEditorContent','isDocumentOperation','changeMarkerRemoved','affectsData','_insertMarkers','_createGetContentUsingDataIdFn','jumpTo','size','createPositionAfter','_eventEmitter','asFragment','className','documentFragment','isBlock','7833518MgJUKJ','diffContent','includes','htmlWriter','createDocumentFragment','elements','context','suggestion:deletion:id:authorId:','domConverter','.ck-reset.ck-ai_review-balloon-panel-suggestion','setAllMarkersAsInactive','clearAllMarkers','rootName','hasClass','forEach','getShiftedBy'];_0x21e8=function(){return _0x2f9373;};return _0x21e8();}(function(_0x28397a,_0x4297d1){const _0x36b271=_0x184d,_0x149ef3=_0x28397a();while(!![]){try{const _0x511dfa=-parseInt(_0x36b271(0x22b))/0x1+-parseInt(_0x36b271(0x1d9))/0x2+parseInt(_0x36b271(0x296))/0x3+-parseInt(_0x36b271(0x2c2))/0x4*(parseInt(_0x36b271(0x1d5))/0x5)+-parseInt(_0x36b271(0x21b))/0x6*(-parseInt(_0x36b271(0x2b0))/0x7)+-parseInt(_0x36b271(0x2d3))/0x8*(parseInt(_0x36b271(0x2af))/0x9)+parseInt(_0x36b271(0x2d2))/0xa*(parseInt(_0x36b271(0x240))/0xb);if(_0x511dfa===_0x4297d1)break;else _0x149ef3['push'](_0x149ef3['shift']());}catch(_0x3a18ba){_0x149ef3['push'](_0x149ef3['shift']());}}}(_0x21e8,0xc40d1));import{InsertOperation as _0x4ba030,MarkerOperation as _0x104980,ModelDocumentFragment as _0x40836f,ModelPosition as _0xc5864f,ModelRange as _0x44ff33,ModelTreeWalker as _0x4ad6a7,transformOperationSets as _0x4d3fc7}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x563e9c,EmitterMixin as _0x29b942,uid as _0x5c9ea2}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x427876}from'ckeditor5/src/core.js';import{DocumentCompare as _0x2f3ac1,DATA_ID_MODEL_ATTRIBUTE as _0x3421b6,DATA_ID_VIEW_ATTRIBUTE as _0x982da9,getMarkerDomElement as _0x29dfa5}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0xad64f5}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x19dc1a}from'../aicore/aiediting.js';import{debounce as _0x2c0ab9}from'es-toolkit/compat';const fe=_0x50d456(0x2c1);export class AIReviewCoreEditing extends _0x427876{static get[_0x50d456(0x253)](){return[_0x2f3ac1,_0x19dc1a];}static get[_0x50d456(0x28a)](){const _0x139004=_0x50d456;return _0x139004(0x27a);}static get[_0x50d456(0x1fa)](){return!0x0;}static get[_0x50d456(0x1fe)](){return!0x0;}[_0x50d456(0x1e3)]=new Map();[_0x50d456(0x2b4)]=new Set();[_0x50d456(0x268)];[_0x50d456(0x23b)];constructor(_0x5bf9fc){const _0x5f320a=_0x50d456;super(_0x5bf9fc),this[_0x5f320a(0x268)]=new(_0x563e9c())(),this[_0x5f320a(0x23b)]=new(_0x29b942())();}get[_0x50d456(0x208)](){const _0x491d5c=_0x50d456;return this[_0x491d5c(0x23b)];}[_0x50d456(0x27c)](){const _0x47d8b8=_0x50d456,_0x264ba5=_0xad64f5(this[_0x47d8b8(0x246)]);_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x2ad))[_0x47d8b8(0x2a5)]({'model':fe+_0x47d8b8(0x286),'view':(_0x1a0113,{writer:_0x344057})=>{const _0x404da8=_0x47d8b8,_0x537a57=this[_0x404da8(0x1e3)][_0x404da8(0x2c8)](_0x1a0113[_0x404da8(0x265)]),_0xc89d26={'class':_0x404da8(0x1ed)+(this[_0x404da8(0x2b4)][_0x404da8(0x1e4)](_0x537a57?.['id']||'')?_0x404da8(0x255):''),'data-marker-id':_0x1a0113[_0x404da8(0x265)]};return _0x344057[_0x404da8(0x1e1)](_0x404da8(0x1ca),_0xc89d26,function(_0x1958e0){const _0x538be7=_0x404da8,_0x1f2a47=this[_0x538be7(0x2c5)](_0x1958e0);return _0x1f2a47[_0x538be7(0x22e)]=_0x537a57?.[_0x538be7(0x2cd)]?.[_0x538be7(0x254)]||'',_0x1f2a47;});}}),_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x2ad))[_0x47d8b8(0x1f1)]({'model':fe+_0x47d8b8(0x201),'view':_0x4f7e43=>{const _0x1478e9=_0x47d8b8,_0x20ca33=this[_0x1478e9(0x1e3)][_0x1478e9(0x2c8)](_0x4f7e43[_0x1478e9(0x265)]),_0x4d26d2=[_0x1478e9(0x295)];return this[_0x1478e9(0x2b4)][_0x1478e9(0x1e4)](_0x20ca33?.['id']||'')&&_0x4d26d2[_0x1478e9(0x282)](_0x1478e9(0x1ff)),{'classes':_0x4d26d2,'attributes':{'data-marker-id':_0x4f7e43[_0x1478e9(0x265)]}};}}),_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x2ad))[_0x47d8b8(0x1f1)]({'model':fe+_0x47d8b8(0x2bf),'view':_0x9a3aab=>{const _0x4a52fd=_0x47d8b8,_0x5b8caa=this[_0x4a52fd(0x1e3)][_0x4a52fd(0x2c8)](_0x9a3aab[_0x4a52fd(0x265)]),_0x453a1d=[_0x4a52fd(0x252)];return this[_0x4a52fd(0x2b4)][_0x4a52fd(0x1e4)](_0x5b8caa?.['id']||'')&&_0x453a1d[_0x4a52fd(0x282)](_0x4a52fd(0x1ff)),{'classes':_0x453a1d,'attributes':{'data-marker-id':_0x9a3aab[_0x4a52fd(0x265)]}};}}),_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x2ad))[_0x47d8b8(0x1f1)]({'model':fe+_0x47d8b8(0x20c),'view':_0x4e5b5e=>{const _0x135510=_0x47d8b8,_0x18b3c8=this[_0x135510(0x1e3)][_0x135510(0x2c8)](_0x4e5b5e[_0x135510(0x265)]),_0xfbfeca=[_0x135510(0x277)];return this[_0x135510(0x2b4)][_0x135510(0x1e4)](_0x18b3c8?.['id']||'')&&_0xfbfeca[_0x135510(0x282)](_0x135510(0x1ff)),{'classes':_0xfbfeca,'attributes':{'data-marker-id':_0x4e5b5e[_0x135510(0x265)]}};}}),_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x20b))[_0x47d8b8(0x2a5)]({'model':fe+_0x47d8b8(0x28d),'view':(_0x41ad0b,{writer:_0x3e07a3})=>_0x3e07a3[_0x47d8b8(0x230)](_0x47d8b8(0x1ca),{'class':_0x47d8b8(0x250)+(_0x41ad0b[_0x47d8b8(0x283)]?_0x47d8b8(0x212):_0x47d8b8(0x293))})}),_0x264ba5[_0x47d8b8(0x220)][_0x47d8b8(0x1ef)](_0x47d8b8(0x290))[_0x47d8b8(0x2b7)]({'model':_0x3421b6,'view':_0x982da9});const _0x44e62c=_0x264ba5['ui'][_0x47d8b8(0x279)]()||document[_0x47d8b8(0x26f)];this[_0x47d8b8(0x268)][_0x47d8b8(0x297)](_0x44e62c,_0x47d8b8(0x25e),(_0x5174b1,_0xd4d380)=>{const _0x210ea8=_0x47d8b8,_0x410119=_0xd4d380[_0x210ea8(0x209)],_0x332982=this[_0x210ea8(0x20e)](_0x410119);if(!_0x332982)return;const _0x56e934=_0x332982[_0x210ea8(0x284)](_0x210ea8(0x28f)),_0x3e6018=_0x56e934[_0x210ea8(0x1ea)](':')[_0x210ea8(0x221)]()?.[_0x210ea8(0x1ea)]('_')[0x0];this[_0x210ea8(0x23b)][_0x210ea8(0x289)](_0x210ea8(0x2c0),{'markerId':_0x56e934,'changeId':_0x3e6018,'markerElement':()=>this[_0x210ea8(0x2cf)](_0x56e934),'domEvent':_0xd4d380});},{'usePassive':!0x0,'priority':_0x47d8b8(0x2b2)}),this[_0x47d8b8(0x268)][_0x47d8b8(0x297)](_0x44e62c,_0x47d8b8(0x1eb),(_0x295cf4,_0x2a062a)=>{const _0x59c741=_0x47d8b8,_0x388a80=_0x2a062a[_0x59c741(0x209)],_0x49844d=_0x2a062a[_0x59c741(0x259)];let _0x1774fb=this[_0x59c741(0x20e)](_0x388a80);if(!_0x1774fb&&_0x49844d&&(_0x1774fb=this[_0x59c741(0x20e)](_0x49844d)),!_0x1774fb)return;const _0x560b42=_0x1774fb[_0x59c741(0x284)](_0x59c741(0x28f)),_0x24a115=_0x560b42[_0x59c741(0x1ea)](':')[_0x59c741(0x221)]()?.[_0x59c741(0x1ea)]('_')[0x0];this[_0x59c741(0x23b)][_0x59c741(0x289)](_0x59c741(0x1ee),{'changeId':_0x24a115,'markerElement':()=>this[_0x59c741(0x2cf)](_0x560b42),'domEvent':_0x2a062a});}),this[_0x47d8b8(0x268)][_0x47d8b8(0x297)](document,_0x47d8b8(0x1eb),_0x2c0ab9((_0x16c6d3,_0x3cacf9)=>{const _0x1df4aa=_0x47d8b8,_0x1084f0=_0x3cacf9[_0x1df4aa(0x209)];if(this[_0x1df4aa(0x20e)](_0x1084f0))return;_0x1084f0[_0x1df4aa(0x251)](_0x1df4aa(0x249))||this[_0x1df4aa(0x23b)][_0x1df4aa(0x289)](_0x1df4aa(0x2ba));},0xc8)),_0x264ba5[_0x47d8b8(0x228)][_0x47d8b8(0x274)][_0x47d8b8(0x256)](_0x1a400e=>this[_0x47d8b8(0x202)](_0x264ba5,_0x1a400e)),_0x264ba5[_0x47d8b8(0x228)][_0x47d8b8(0x274)]['on'](_0x47d8b8(0x1d3),()=>this[_0x47d8b8(0x26d)](_0x264ba5));}[_0x50d456(0x29e)](){const _0x520c96=_0x50d456,_0x2607bd=this[_0x520c96(0x246)][_0x520c96(0x2a1)][_0x520c96(0x2c8)](_0x520c96(0x226)),_0x390465=_0xad64f5(this[_0x520c96(0x246)]),_0x545375=_0x390465[_0x520c96(0x228)],_0x2b0232=new _0x40836f();for(const _0x4354e9 of _0x545375[_0x520c96(0x274)][_0x520c96(0x1f3)]()[_0x520c96(0x1fd)]()){const _0x135d0e=_0x4354e9[_0x520c96(0x227)](!0x0);_0x2b0232[_0x520c96(0x2b9)](_0x135d0e);}for(const _0x2f27d4 of _0x545375[_0x520c96(0x223)])_0x2b0232[_0x520c96(0x223)][_0x520c96(0x2ac)](_0x2f27d4[_0x520c96(0x203)],this[_0x520c96(0x1f7)](_0x2f27d4[_0x520c96(0x26a)]()[_0x520c96(0x218)](),_0x2b0232));const _0x57f245=new _0x4ad6a7({'ignoreElementEnd':!0x0,'startPosition':_0x545375[_0x520c96(0x1cb)](_0x2b0232,0x0)}),_0x4d8b3a=new Set(),_0x7d146d=new Map();for(const {item:_0x261674}of _0x57f245){if(!_0x261674['is'](_0x520c96(0x2ce)))continue;const _0x242e4a=_0x261674[_0x520c96(0x267)];if(_0x242e4a&&_0x242e4a['is'](_0x520c96(0x2b6))){const _0xb0fb25=this[_0x520c96(0x2a0)](_0x242e4a,()=>_0x2607bd[_0x520c96(0x1d2)](_0x4d8b3a));_0x4d8b3a[_0x520c96(0x2bd)](_0xb0fb25);for(const _0x4ac6e1 of _0x242e4a[_0x520c96(0x1fd)]())_0x4ac6e1['is'](_0x520c96(0x2b6))&&_0x4d8b3a[_0x520c96(0x2bd)](this[_0x520c96(0x2a0)](_0x4ac6e1,()=>_0x2607bd[_0x520c96(0x1d2)](_0x4d8b3a)));let _0x557770=_0x242e4a;for(;_0x557770[_0x520c96(0x267)]&&!_0x557770[_0x520c96(0x267)]['is'](_0x520c96(0x23e));)_0x557770=_0x557770[_0x520c96(0x267)],_0x557770[_0x520c96(0x258)](_0x3421b6)&&_0x557770[_0x520c96(0x29b)](_0x3421b6);_0x7d146d[_0x520c96(0x2ac)](_0xb0fb25,{'path':_0x242e4a[_0x520c96(0x20d)](),'getContent':this[_0x520c96(0x237)](_0x557770[_0x520c96(0x227)](!0x0),_0xb0fb25,_0x390465[_0x520c96(0x278)])}),_0x57f245[_0x520c96(0x238)](_0x545375[_0x520c96(0x23a)](_0x242e4a));}}return{'content':_0x390465[_0x520c96(0x278)][_0x520c96(0x2bb)][_0x520c96(0x2d1)](_0x390465[_0x520c96(0x278)][_0x520c96(0x271)](_0x2b0232)),'version':_0x390465[_0x520c96(0x228)][_0x520c96(0x274)][_0x520c96(0x2ca)],'elements':_0x7d146d};}[_0x50d456(0x241)](_0xe8fa8,_0x12e75d,_0x490f40=!0x1){const _0x6db840=_0x50d456,_0x2a8b1d=[],_0x41754d=_0xad64f5(this[_0x6db840(0x246)]),_0x4da977=_0x41754d[_0x6db840(0x278)][_0x6db840(0x25b)](_0x12e75d,_0x6db840(0x285)),_0x44537c=_0x41754d[_0x6db840(0x278)][_0x6db840(0x25b)](_0xe8fa8,_0x6db840(0x285)),_0x4c83d1=_0x41754d[_0x6db840(0x228)][_0x6db840(0x1cb)](_0x44537c,0x0);if(this[_0x6db840(0x26c)](_0x4da977)){if(!this[_0x6db840(0x215)](_0x44537c,_0x4da977))return _0x2a8b1d;}else{const _0x444fb8=_0x41754d[_0x6db840(0x228)][_0x6db840(0x1df)];if(!this[_0x6db840(0x2a7)](_0x44537c,_0x444fb8)||!this[_0x6db840(0x2a7)](_0x4da977,_0x444fb8))return _0x2a8b1d;}const _0x272931=this[_0x6db840(0x246)][_0x6db840(0x2a1)][_0x6db840(0x2c8)](_0x6db840(0x261))[_0x6db840(0x2b1)](_0xe8fa8,_0x12e75d,{'anchor':_0x4c83d1,'markDeletions':!0x0})[_0x6db840(0x2be)]()[_0x6db840(0x22a)](_0x16471b=>_0x6db840(0x286)===_0x16471b[_0x6db840(0x1e6)]||_0x6db840(0x1e2)===_0x16471b[_0x6db840(0x1e6)]&&_0x16471b[_0x6db840(0x203)][_0x6db840(0x29f)](_0x6db840(0x29a))),_0x37d369=this[_0x6db840(0x2c3)](_0x272931),_0x24d3fa=[];if(_0x490f40){if(_0x37d369[_0x6db840(0x204)]){const _0x25eee5=_0x37d369[0x0][_0x6db840(0x1c5)][0x0],_0x19cdc2=_0x6db840(0x286)===_0x25eee5[_0x6db840(0x1e6)]?_0x25eee5[_0x6db840(0x292)]:_0x25eee5[_0x6db840(0x2d0)][_0x6db840(0x212)],_0x1e44eb=this[_0x6db840(0x26e)](_0x19cdc2,_0x41754d,_0x6db840(0x231)),_0x59a5d1=_0x1e44eb?_0x4da977[_0x6db840(0x1fc)](0x0)[_0x6db840(0x1fd)]():_0x4da977[_0x6db840(0x1fd)](),_0x1a6da2=_0x1e44eb||_0x41754d[_0x6db840(0x228)][_0x6db840(0x28b)](_0x44537c),_0xfceb22=[new _0x104980(_0x6db840(0x1e9)+_0x5c9ea2(),null,_0x1a6da2,_0x41754d[_0x6db840(0x228)][_0x6db840(0x274)][_0x6db840(0x228)][_0x6db840(0x223)],!0x0,_0x41754d[_0x6db840(0x228)][_0x6db840(0x274)][_0x6db840(0x2ca)]+0x1),new _0x4ba030(_0x1a6da2[_0x6db840(0x293)],_0x59a5d1,_0x41754d[_0x6db840(0x228)][_0x6db840(0x274)][_0x6db840(0x2ca)]+0x2)];_0x24d3fa[_0x6db840(0x282)]({'operations':_0xfceb22,'operationsIsolated':_0xfceb22,'groupOffset':0x0});}}else _0x24d3fa[_0x6db840(0x282)](..._0x37d369);let _0x2aa9ad=0x0;return _0x41754d[_0x6db840(0x228)][_0x6db840(0x1d3)](_0x5a8fd9=>{const _0x483f0e=_0x6db840;for(let _0x419964=0x0;_0x419964<_0x24d3fa[_0x483f0e(0x204)];_0x419964++){const _0x404100=_0x24d3fa[_0x419964],_0x44179c=_0x5a8fd9[_0x483f0e(0x244)]();for(const _0x256e20 of _0x44537c[_0x483f0e(0x1fd)]())_0x5a8fd9[_0x483f0e(0x29d)](_0x256e20[_0x483f0e(0x227)](!0x0),_0x44179c);for(const _0x272e75 of _0x404100[_0x483f0e(0x1d4)])if(_0x483f0e(0x286)===_0x272e75[_0x483f0e(0x1e6)]){const _0xa9549f=_0x272e75;_0xa9549f[_0x483f0e(0x1cc)]=null,_0xa9549f[_0x483f0e(0x233)]=!0x1,this[_0x483f0e(0x1f9)](_0xa9549f,_0x44179c),_0x5a8fd9[_0x483f0e(0x25d)][_0x483f0e(0x229)](_0x272e75),_0x41754d[_0x483f0e(0x228)][_0x483f0e(0x1e0)](_0x272e75);const _0x1ae6ab=_0x483f0e(0x27b)+_0x2aa9ad++,_0x133c29=_0x41754d[_0x483f0e(0x228)][_0x483f0e(0x1c6)](_0xa9549f[_0x483f0e(0x292)],_0xa9549f[_0x483f0e(0x292)][_0x483f0e(0x24f)](_0xa9549f[_0x483f0e(0x29c)]));_0x44179c[_0x483f0e(0x223)][_0x483f0e(0x2ac)](_0x1ae6ab,_0x133c29);}else{if(_0x483f0e(0x1e2)===_0x272e75[_0x483f0e(0x1e6)]&&_0x272e75[_0x483f0e(0x203)][_0x483f0e(0x29f)](_0x483f0e(0x29a))){const _0x341a78=_0x272e75,_0x4e24e9=_0x483f0e(0x247)+_0x2aa9ad++;this[_0x483f0e(0x1f9)](_0x341a78,_0x44179c),_0x44179c[_0x483f0e(0x223)][_0x483f0e(0x2ac)](_0x4e24e9,_0x341a78[_0x483f0e(0x2d0)]);}}if(_0x490f40)_0x2a8b1d[_0x483f0e(0x282)]({..._0x404100,'context':this[_0x483f0e(0x2a6)](_0x44537c,_0x41754d[_0x483f0e(0x278)]),'content':this[_0x483f0e(0x2a6)](_0x44537c,_0x41754d[_0x483f0e(0x278)])});else{const _0xf4ebc3=this[_0x483f0e(0x270)](this[_0x483f0e(0x2a9)](this[_0x483f0e(0x257)](_0x404100[_0x483f0e(0x1d4)][0x0]),_0x44179c),this[_0x483f0e(0x2a9)](this[_0x483f0e(0x28c)](_0x404100[_0x483f0e(0x1d4)][_0x404100[_0x483f0e(0x1d4)][_0x483f0e(0x204)]-0x1]),_0x44179c));_0x44179c[_0x483f0e(0x223)][_0x483f0e(0x2ac)](fe+_0x483f0e(0x28d),new _0x44ff33(_0xf4ebc3[_0x483f0e(0x212)],_0xf4ebc3[_0x483f0e(0x293)])),_0x2a8b1d[_0x483f0e(0x282)]({..._0x404100,'context':this[_0x483f0e(0x224)](_0x44179c,_0x41754d[_0x483f0e(0x278)],{'ellipsisBefore':_0xf4ebc3[_0x483f0e(0x1da)],'ellipsisAfter':_0xf4ebc3[_0x483f0e(0x207)]}),'content':this[_0x483f0e(0x2a6)](_0x44179c,_0x41754d[_0x483f0e(0x278)])});}}}),_0x2a8b1d;}[_0x50d456(0x232)](_0x16928a,_0x42aada){const _0x1ada4b=_0x50d456;if(!_0x16928a[_0x1ada4b(0x204)])return;const _0x5a6b4d=_0x16928a[0x0][_0x1ada4b(0x267)]['id'],_0xbe18ff=_0x42aada[_0x1ada4b(0x245)][_0x1ada4b(0x2c8)](_0x5a6b4d);if(!_0xbe18ff)return void console[_0x1ada4b(0x2b5)](_0x1ada4b(0x281)+_0x5a6b4d);const _0x150861=_0xbe18ff[_0x1ada4b(0x1d8)],_0x5cfba6=_0xad64f5(this[_0x1ada4b(0x246)]),_0x3f9ce4=_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x274)][_0x1ada4b(0x263)][_0x1ada4b(0x2be)](_0x42aada[_0x1ada4b(0x2ca)]),_0x39822a=[];for(const _0xc493cc of _0x16928a){const _0x5b2750=_0xc493cc[_0x1ada4b(0x1d4)][_0x1ada4b(0x1ec)](_0x56a34a=>this[_0x1ada4b(0x205)](_0x56a34a,_0x150861,_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x274)][_0x1ada4b(0x21d)]()[0x0]));if(!_0x5b2750||!_0x5b2750[_0x1ada4b(0x204)])continue;const _0x38f743=_0x5b2750[_0x1ada4b(0x262)](_0x25c596=>_0x1ada4b(0x1e2)===_0x25c596[_0x1ada4b(0x1e6)]&&_0x25c596[_0x1ada4b(0x203)][_0x1ada4b(0x29f)](_0x1ada4b(0x29a))),_0x295dfa={'document':_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x274)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x587528=_0x4d3fc7(_0x5b2750,_0x3f9ce4,_0x295dfa)[_0x1ada4b(0x294)];for(const _0x4a949 of _0x587528)if(_0x1ada4b(0x286)===_0x4a949[_0x1ada4b(0x1e6)]){const _0x97116e=_0x4a949,_0x3daf36=_0x97116e[_0x1ada4b(0x273)];_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x1d3)](_0x1caa19=>{const _0x203f08=_0x1ada4b,_0x4836fc=_0x1caa19[_0x203f08(0x244)]();for(const _0x5bb396 of _0x3daf36)_0x1caa19[_0x203f08(0x29d)](_0x5bb396[_0x203f08(0x227)](!0x0),_0x4836fc);_0x39822a[_0x203f08(0x282)]({'start':_0x97116e[_0x203f08(0x292)],'end':_0x97116e[_0x203f08(0x292)],'type':_0x203f08(0x286),'groupId':_0xc493cc['id'],'content':{'asString':this[_0x203f08(0x2a6)](_0x4836fc,_0x5cfba6[_0x203f08(0x278)])(),'asFragment':_0x4836fc}});});}else{if(_0x1ada4b(0x1e2)===_0x4a949[_0x1ada4b(0x1e6)]&&_0x4a949[_0x1ada4b(0x203)][_0x1ada4b(0x29f)](_0x1ada4b(0x29a))){const _0x5b68bc=_0x4a949;let _0x1b5b99=_0x1ada4b(0x20c);if(_0x38f743){const _0x5cb8b3=this[_0x1ada4b(0x25f)](_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x212)],_0x1ada4b(0x27f),_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x1df)]),_0x5d3737=this[_0x1ada4b(0x25f)](_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x293)],_0x1ada4b(0x2ab),_0x5cfba6[_0x1ada4b(0x228)][_0x1ada4b(0x1df)]);if(_0x5cb8b3||_0x5d3737){const _0x5921b4=_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x212)][_0x1ada4b(0x24f)](-_0x5cb8b3),_0x3f4a90=_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x293)][_0x1ada4b(0x24f)](_0x5d3737);_0x39822a[_0x1ada4b(0x282)]({'start':_0x5921b4,'end':_0x3f4a90,'groupId':_0xc493cc['id'],'type':_0x1ada4b(0x2bf)});}else _0x1b5b99=_0x1ada4b(0x201);}_0x39822a[_0x1ada4b(0x282)]({'start':_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x212)],'end':_0x5b68bc[_0x1ada4b(0x2d0)][_0x1ada4b(0x293)],'groupId':_0xc493cc['id'],'type':_0x1b5b99});}}}this[_0x1ada4b(0x236)](_0x39822a);}[_0x50d456(0x24b)](){const _0x3d2442=_0x50d456,_0x55df2d=_0xad64f5(this[_0x3d2442(0x246)]);_0x55df2d[_0x3d2442(0x228)][_0x3d2442(0x1d3)](_0x1c078e=>{const _0x44aca3=_0x3d2442;for(const _0x3ff1f4 of this[_0x44aca3(0x1e3)][_0x44aca3(0x1db)]())_0x55df2d[_0x44aca3(0x228)][_0x44aca3(0x223)][_0x44aca3(0x2c8)](_0x3ff1f4)&&_0x1c078e[_0x44aca3(0x1d6)](_0x3ff1f4);}),this[_0x3d2442(0x1e3)][_0x3d2442(0x211)](),this[_0x3d2442(0x2b4)][_0x3d2442(0x211)]();}[_0x50d456(0x1d1)](){const _0x5c6b70=_0x50d456;_0xad64f5(this[_0x5c6b70(0x246)])[_0x5c6b70(0x1f0)](_0x5c6b70(0x1de));}[_0x50d456(0x2b3)](){const _0x182fd4=_0x50d456;_0xad64f5(this[_0x182fd4(0x246)])[_0x182fd4(0x2cc)](_0x182fd4(0x1de));}[_0x50d456(0x2a8)](_0x22f91e){const _0x1bd907=_0x50d456,_0x2418ea=_0xad64f5(this[_0x1bd907(0x246)]),_0x501fea=_0x2418ea[_0x1bd907(0x228)],_0x3bbdd7=_0x22f91e[_0x1bd907(0x1ec)](_0x5ab1ac=>this[_0x1bd907(0x280)](_0x5ab1ac))[_0x1bd907(0x264)]();_0x501fea[_0x1bd907(0x1d3)](_0x2b2540=>{const _0xe5c2e4=_0x1bd907;for(const _0x2e4e51 of _0x3bbdd7){const _0x246380=_0x2418ea[_0xe5c2e4(0x228)][_0xe5c2e4(0x223)][_0xe5c2e4(0x2c8)](_0x2e4e51['id']);if(_0x246380){if(_0xe5c2e4(0x286)===_0x2e4e51[_0xe5c2e4(0x1e6)]){if(!_0x2e4e51[_0xe5c2e4(0x2cd)])continue;_0x501fea[_0xe5c2e4(0x210)](_0x2e4e51[_0xe5c2e4(0x2cd)][_0xe5c2e4(0x23c)]||null,_0x246380[_0xe5c2e4(0x26a)]()[_0xe5c2e4(0x212)]);}else _0xe5c2e4(0x20c)!==_0x2e4e51[_0xe5c2e4(0x1e6)]&&_0xe5c2e4(0x201)!==_0x2e4e51[_0xe5c2e4(0x1e6)]||_0x501fea[_0xe5c2e4(0x22f)](_0x501fea[_0xe5c2e4(0x2a3)](_0x246380[_0xe5c2e4(0x26a)]()));_0x2b2540[_0xe5c2e4(0x1d6)](_0x2e4e51['id']),this[_0xe5c2e4(0x1e3)][_0xe5c2e4(0x25a)](_0x2e4e51['id']);}}});}[_0x50d456(0x2a2)](_0x4d078c){const _0x2cf28d=_0x50d456,_0x10a360=_0xad64f5(this[_0x2cf28d(0x246)]),_0x255c4b=this[_0x2cf28d(0x280)](_0x4d078c);_0x10a360[_0x2cf28d(0x228)][_0x2cf28d(0x1d3)](_0x41a018=>{const _0x5673f3=_0x2cf28d;for(const _0x1b3867 of _0x255c4b)_0x41a018[_0x5673f3(0x1d6)](_0x1b3867['id']),this[_0x5673f3(0x1e3)][_0x5673f3(0x25a)](_0x1b3867['id']);});}[_0x50d456(0x1f6)](){const _0x5a8f6e=_0x50d456;return _0xad64f5(this[_0x5a8f6e(0x246)]);}[_0x50d456(0x1f4)](_0x9d5c7c){const _0x11d181=_0x50d456,_0x93f45f=Array[_0x11d181(0x20a)](this[_0x11d181(0x1e3)][_0x11d181(0x21f)]())[_0x11d181(0x22a)](_0x356c7e=>_0x356c7e[_0x11d181(0x2cb)]===_0x9d5c7c);if(!_0x93f45f[_0x11d181(0x204)])return null;const _0x55840f=0x1===_0x93f45f[_0x11d181(0x204)]?_0x93f45f[0x0]:this[_0x11d181(0x291)](_0x93f45f)[0x0],_0x2f41a9=_0xad64f5(this[_0x11d181(0x246)])[_0x11d181(0x228)][_0x11d181(0x223)][_0x11d181(0x2c8)](_0x55840f['id']);if(!_0x2f41a9)return null;return{'modelRange':_0x2f41a9[_0x11d181(0x26a)](),'getElement':()=>this[_0x11d181(0x2cf)](_0x55840f['id'])};}[_0x50d456(0x1cd)](_0xc525ae){const _0x4e5f14=_0x50d456,_0x14ddd2=Array[_0x4e5f14(0x20a)](this[_0x4e5f14(0x1e3)][_0x4e5f14(0x21f)]())[_0x4e5f14(0x22a)](_0x38ac46=>_0x38ac46[_0x4e5f14(0x2cb)]===_0xc525ae);if(!_0x14ddd2[_0x4e5f14(0x204)])return null;const _0x152bdf=0x1===_0x14ddd2[_0x4e5f14(0x204)]?_0x14ddd2[0x0]:this[_0x4e5f14(0x291)](_0x14ddd2)[0x0],_0x47343b=_0xad64f5(this[_0x4e5f14(0x246)]),_0x2f45a6=_0x47343b[_0x4e5f14(0x228)][_0x4e5f14(0x223)][_0x4e5f14(0x2c8)](_0x152bdf['id']);if(!_0x2f45a6)return null;const _0x1e5909=_0x2f45a6[_0x4e5f14(0x26a)](),_0x22a2ce=_0x47343b[_0x4e5f14(0x20f)][_0x4e5f14(0x1dd)][_0x4e5f14(0x2c6)]();if(!_0x22a2ce||!_0x1e5909)return null;let _0x4c7385=_0x1e5909[_0x4e5f14(0x212)][_0x4e5f14(0x267)];for(;_0x4c7385[_0x4e5f14(0x267)]&&_0x4e5f14(0x1f5)!==_0x4c7385[_0x4e5f14(0x267)][_0x4e5f14(0x203)];)_0x4c7385=_0x4c7385[_0x4e5f14(0x267)];if(!_0x4c7385||!_0x4c7385[_0x4e5f14(0x203)])return null;const _0x26317e=_0x22a2ce[_0x4e5f14(0x2b8)](_0x4e5f14(0x214)+_0x152bdf['id']+'\x22]');if(!_0x26317e)return null;let _0x57fab3=null;_0x47343b[_0x4e5f14(0x228)][_0x4e5f14(0x1d3)](_0x4a651e=>{const _0x9e6f59=_0x4e5f14;_0x57fab3=_0x4a651e[_0x9e6f59(0x244)](),_0x4a651e[_0x9e6f59(0x29d)](_0x4c7385[_0x9e6f59(0x227)](!0x0),_0x57fab3);});const _0x566515=_0x47343b[_0x4e5f14(0x278)][_0x4e5f14(0x271)](_0x57fab3)[_0x4e5f14(0x1fc)](0x0);return _0x26317e[_0x4e5f14(0x251)](_0x566515[_0x4e5f14(0x203)]);}[_0x50d456(0x1e7)](_0x5a5d98){const _0x289e04=_0x50d456,_0x3af07e=this[_0x289e04(0x280)](_0x5a5d98);if(!_0x3af07e[_0x289e04(0x204)])return;const _0xcf02fc=Array[_0x289e04(0x20a)](this[_0x289e04(0x2b4)])[_0x289e04(0x2c7)](),_0x52a13e=Array[_0x289e04(0x20a)](new Set(_0x3af07e[_0x289e04(0x1ec)](_0x61dbbd=>_0x61dbbd['id'])))[_0x289e04(0x2c7)]();_0xcf02fc[_0x289e04(0x1f2)]('|')!==_0x52a13e[_0x289e04(0x1f2)]('|')&&(this[_0x289e04(0x24a)](),this[_0x289e04(0x272)](_0x5a5d98));}[_0x50d456(0x272)](_0x3fbe72){const _0x40b799=_0x50d456,_0x39e63c=this[_0x40b799(0x280)](_0x3fbe72);if(!_0x39e63c[_0x40b799(0x204)])return;const _0x5abc5d=_0xad64f5(this[_0x40b799(0x246)]),_0x5e2e22=new Set(_0x39e63c[_0x40b799(0x1ec)](_0x49c6a5=>_0x49c6a5['id'])),_0x1f0ae9=Array[_0x40b799(0x20a)](_0x5e2e22[_0x40b799(0x21f)]())[_0x40b799(0x1ec)](_0x4afbd0=>_0x5abc5d[_0x40b799(0x228)][_0x40b799(0x223)][_0x40b799(0x2c8)](_0x4afbd0))[_0x40b799(0x22a)](_0x3b3c2a=>!!_0x3b3c2a);_0x5e2e22[_0x40b799(0x24e)](_0xce0151=>{const _0x58ba85=_0x40b799;this[_0x58ba85(0x2b4)][_0x58ba85(0x2bd)](_0xce0151);}),_0x5abc5d[_0x40b799(0x228)][_0x40b799(0x1d3)](()=>{const _0x5a68aa=_0x40b799;_0x1f0ae9[_0x5a68aa(0x24e)](_0x6db76=>{const _0x373f5a=_0x5a68aa;_0x5abc5d[_0x373f5a(0x20f)][_0x373f5a(0x1c7)](_0x6db76);});});}[_0x50d456(0x24a)](){const _0x1b9cc5=_0x50d456,_0x1b5922=Array[_0x1b9cc5(0x20a)](this[_0x1b9cc5(0x2b4)]);if(!_0x1b5922[_0x1b9cc5(0x204)])return;this[_0x1b9cc5(0x2b4)][_0x1b9cc5(0x211)]();const _0x175556=_0xad64f5(this[_0x1b9cc5(0x246)]),_0x5eb4a7=_0x1b5922[_0x1b9cc5(0x1ec)](_0x4162d7=>_0x175556[_0x1b9cc5(0x228)][_0x1b9cc5(0x223)][_0x1b9cc5(0x2c8)](_0x4162d7))[_0x1b9cc5(0x22a)](_0x39a189=>!!_0x39a189);_0x175556[_0x1b9cc5(0x228)][_0x1b9cc5(0x1d3)](()=>{const _0x4da17a=_0x1b9cc5;_0x5eb4a7[_0x4da17a(0x24e)](_0x3accb3=>{const _0x5c9995=_0x4da17a;_0x175556[_0x5c9995(0x20f)][_0x5c9995(0x1c7)](_0x3accb3);});});}[_0x50d456(0x26e)](_0x72198c,_0x439022,_0xf9634b=_0x50d456(0x2c9)){const _0x12a12e=_0x50d456;if(!_0x72198c)return null;let _0x12f030=_0x72198c[_0x12a12e(0x267)];for(;_0x12f030&&_0x12f030[_0x12a12e(0x267)]&&_0x12a12e(0x1f5)!==_0x12f030[_0x12a12e(0x267)][_0x12a12e(0x203)]&&!_0x439022[_0x12a12e(0x228)][_0x12a12e(0x1df)][_0x12a12e(0x1d0)](_0x12f030)&&!_0x439022[_0x12a12e(0x228)][_0x12a12e(0x1df)][_0x12a12e(0x23f)](_0x12f030);)_0x12f030=_0x12f030[_0x12a12e(0x267)];if(!_0x12f030||!_0x12f030[_0x12a12e(0x203)]||_0x12a12e(0x1f5)===_0x12f030[_0x12a12e(0x203)])return null;let _0x9f083c=null;return _0x439022[_0x12a12e(0x228)][_0x12a12e(0x1d3)](_0x1beae7=>{const _0x13361d=_0x12a12e;_0x9f083c=_0x13361d(0x231)===_0xf9634b?_0x1beae7[_0x13361d(0x28b)](_0x12f030):_0x1beae7[_0x13361d(0x200)](_0x12f030);}),_0x9f083c;}[_0x50d456(0x202)](_0x433ec0,_0x1b51e6){const _0x4c9b77=_0x50d456,_0x2125d4=Array[_0x4c9b77(0x20a)](this[_0x4c9b77(0x1e3)][_0x4c9b77(0x1db)]()),_0x22c192=new Map();for(const _0x1ac954 of _0x2125d4){const _0x397fba=_0x433ec0[_0x4c9b77(0x228)][_0x4c9b77(0x223)][_0x4c9b77(0x2c8)](_0x1ac954);if(!_0x397fba)continue;const _0x527257=_0x397fba[_0x4c9b77(0x21c)]()[_0x4c9b77(0x1d8)][0x0];_0x22c192[_0x4c9b77(0x1e4)](_0x527257)||_0x22c192[_0x4c9b77(0x2ac)](_0x527257,[]),_0x22c192[_0x4c9b77(0x2c8)](_0x527257)[_0x4c9b77(0x282)](_0x397fba);}const _0x3e7550=new Set();for(const _0xc8a90f of _0x433ec0[_0x4c9b77(0x228)][_0x4c9b77(0x274)][_0x4c9b77(0x206)][_0x4c9b77(0x266)]()){let _0x4de777=-0x1,_0x2cd5a8=null;if(_0x4c9b77(0x286)===_0xc8a90f[_0x4c9b77(0x1e6)])_0x2cd5a8=new _0x44ff33(_0xc8a90f[_0x4c9b77(0x292)],_0xc8a90f[_0x4c9b77(0x292)][_0x4c9b77(0x24f)](_0xc8a90f[_0x4c9b77(0x204)])),_0x4de777=_0xc8a90f[_0x4c9b77(0x292)][_0x4c9b77(0x1d8)][0x0];else{if(_0x4c9b77(0x28e)!==_0xc8a90f[_0x4c9b77(0x1e6)])continue;_0x2cd5a8=new _0x44ff33(_0xc8a90f[_0x4c9b77(0x292)]),_0x4de777=_0xc8a90f[_0x4c9b77(0x292)][_0x4c9b77(0x1d8)][0x0];}const _0x5b3456=_0x22c192[_0x4c9b77(0x2c8)](_0x4de777)||[];if(_0x5b3456[_0x4c9b77(0x204)]){for(const _0xf00b0b of _0x5b3456)if(_0x2cd5a8[_0x4c9b77(0x1c8)][_0x4c9b77(0x24c)]===_0xf00b0b[_0x4c9b77(0x26a)]()[_0x4c9b77(0x1c8)][_0x4c9b77(0x24c)]&&(_0x4c9b77(0x286)!==_0xc8a90f[_0x4c9b77(0x1e6)]||!_0x2cd5a8[_0x4c9b77(0x27d)](_0xf00b0b[_0x4c9b77(0x26a)]()))&&(_0x2cd5a8[_0x4c9b77(0x1dc)](_0xf00b0b[_0x4c9b77(0x26a)]())||_0x2cd5a8[_0x4c9b77(0x212)][_0x4c9b77(0x225)](_0xf00b0b[_0x4c9b77(0x26a)]()[_0x4c9b77(0x293)])||_0x2cd5a8[_0x4c9b77(0x293)][_0x4c9b77(0x225)](_0xf00b0b[_0x4c9b77(0x26a)]()[_0x4c9b77(0x212)]))){const _0x1313b9=this[_0x4c9b77(0x2bc)](_0xf00b0b[_0x4c9b77(0x203)]);Array[_0x4c9b77(0x20a)](this[_0x4c9b77(0x1e3)][_0x4c9b77(0x21f)]())[_0x4c9b77(0x22a)](_0x5bd915=>_0x5bd915[_0x4c9b77(0x2cb)]===_0x1313b9[_0x4c9b77(0x2cb)])[_0x4c9b77(0x24e)](_0x2317e1=>_0x3e7550[_0x4c9b77(0x2bd)](_0x2317e1['id']));}}}if(_0x3e7550[_0x4c9b77(0x239)]){for(const _0x4fd1c2 of _0x3e7550)_0x1b51e6[_0x4c9b77(0x1d6)](_0x4fd1c2);return!0x0;}return!0x1;}[_0x50d456(0x26d)](_0x367baa){const _0x86030a=_0x50d456;for(const {name:_0x298a12,data:_0x328485}of _0x367baa[_0x86030a(0x228)][_0x86030a(0x274)][_0x86030a(0x206)][_0x86030a(0x260)]()){if(!_0x298a12[_0x86030a(0x29f)](fe))continue;const _0xcd83f3=_0x328485[_0x86030a(0x298)],_0x1352c2=_0x328485[_0x86030a(0x2d0)],_0x5acc08=_0xcd83f3&&_0x86030a(0x288)===_0xcd83f3[_0x86030a(0x1c8)][_0x86030a(0x24c)],_0x3cc2cc=_0x1352c2&&_0x86030a(0x288)===_0x1352c2[_0x86030a(0x1c8)][_0x86030a(0x24c)];if(_0x5acc08&&_0x3cc2cc)continue;const _0x181b3d=this[_0x86030a(0x2bc)](_0x298a12);this[_0x86030a(0x1e3)][_0x86030a(0x2c8)](_0x298a12)&&(_0x3cc2cc||!_0x1352c2?this[_0x86030a(0x23b)][_0x86030a(0x289)](_0x86030a(0x234),{'markerId':_0x298a12,'changeId':_0x181b3d[_0x86030a(0x2cb)]}):_0x5acc08&&_0x1352c2&&this[_0x86030a(0x23b)][_0x86030a(0x289)](_0x86030a(0x217),{'markerId':_0x298a12,'changeId':_0x181b3d[_0x86030a(0x2cb)]}));}}[_0x50d456(0x2bc)](_0x2069ca){const _0x19a733=_0x50d456,_0x2bc2a8=_0x2069ca[_0x19a733(0x1ea)](':'),_0x39ad7c=(_0x2bc2a8[0x1]||'')[_0x19a733(0x1ea)]('_');return{'prefix':_0x2bc2a8[0x0],'groupId':_0x39ad7c[0x0],'suffix':_0x39ad7c[0x1]};}[_0x50d456(0x205)](_0x2c0c8d,_0x5cac8a,_0x6617){const _0x477bac=_0x50d456;if(_0x477bac(0x286)===_0x2c0c8d[_0x477bac(0x1e6)]){const _0x58634f=_0x2c0c8d;return new _0x4ba030(this[_0x477bac(0x276)](_0x5cac8a[_0x477bac(0x21a)](_0x58634f[_0x477bac(0x292)][_0x477bac(0x22d)]),_0x6617),_0x58634f[_0x477bac(0x273)],_0x58634f[_0x477bac(0x1cc)]);}if(_0x477bac(0x1e2)===_0x2c0c8d[_0x477bac(0x1e6)]&&_0x2c0c8d[_0x477bac(0x203)][_0x477bac(0x29f)](_0x477bac(0x29a))){const _0x2ceef8=_0x2c0c8d;return new _0x104980(_0x2ceef8[_0x477bac(0x203)],_0x2ceef8[_0x477bac(0x298)],this[_0x477bac(0x1f8)](_0x2ceef8[_0x477bac(0x2d0)],_0x5cac8a[_0x477bac(0x21a)](_0x2ceef8[_0x477bac(0x2d0)][_0x477bac(0x212)][_0x477bac(0x22d)]),_0x5cac8a[_0x477bac(0x21a)](_0x2ceef8[_0x477bac(0x2d0)][_0x477bac(0x293)][_0x477bac(0x22d)]),_0x6617),_0x2ceef8[_0x477bac(0x1e3)],_0x2ceef8[_0x477bac(0x235)],_0x2ceef8[_0x477bac(0x1cc)]);}return _0x2c0c8d;}[_0x50d456(0x2c3)](_0xadf3f8){const _0x4114b8=_0x50d456;if(!_0xadf3f8[_0x4114b8(0x204)])return[];const _0x1d7c24=[];let _0x18c0b7=0x0,_0x3c5371=0x0,_0x3f3090=[];for(let _0x7f2a79=0x0;_0x7f2a79<=_0xadf3f8[_0x4114b8(0x204)];_0x7f2a79++){const _0x2f2ca2=_0xadf3f8[_0x7f2a79],_0x14787f=_0xadf3f8[_0x7f2a79-0x1];!_0x2f2ca2||_0x14787f&&!this[_0x4114b8(0x28c)](_0x14787f)[_0x4114b8(0x225)](this[_0x4114b8(0x257)](_0x2f2ca2))?(_0x1d7c24[_0x4114b8(0x282)]({'operations':_0x3f3090,'operationsIsolated':_0x3f3090[_0x4114b8(0x1ec)](_0x5bfb62=>this[_0x4114b8(0x1fb)](_0x5bfb62[_0x4114b8(0x218)](),-_0x3c5371)),'groupOffset':_0x18c0b7}),_0x3f3090=_0x2f2ca2?[_0x2f2ca2]:[],_0x3c5371+=_0x18c0b7,_0x18c0b7=0x0):_0x3f3090[_0x4114b8(0x282)](_0x2f2ca2),_0x2f2ca2&&_0x4114b8(0x286)===_0x2f2ca2[_0x4114b8(0x1e6)]&&(_0x18c0b7+=_0x2f2ca2[_0x4114b8(0x29c)]);}return _0x1d7c24;}[_0x50d456(0x25f)](_0x2b1a31,_0x294d03,_0x246280,_0x498699=0x1){const _0x14c140=_0x50d456,_0x395b78=new _0x4ad6a7({'startPosition':_0x2b1a31,'direction':_0x294d03});let _0x441d5f=0x0;for(let _0x599fbd=0x0;_0x599fbd<_0x498699;_0x599fbd++){let _0xe6ed17=0x0,_0x150e39=!0x1,_0x1e657e=_0x14c140(0x2ab)===_0x294d03?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x541adf}of _0x395b78)if(_0x541adf['is'](_0x14c140(0x2ce))){const _0x585f4=_0x1e657e[_0x14c140(0x2ae)](_0x541adf[_0x14c140(0x278)]);if(_0x585f4&&_0x585f4[_0x14c140(0x204)]){if(_0xe6ed17+=_0x14c140(0x2ab)===_0x294d03?_0x585f4[_0x14c140(0x2c4)]+_0x585f4[0x0][_0x14c140(0x204)]:_0x541adf[_0x14c140(0x278)][_0x14c140(0x204)]-_0x585f4[_0x14c140(0x2c4)],_0x585f4[0x0][_0x14c140(0x204)]!==_0x541adf[_0x14c140(0x278)][_0x14c140(0x204)])break;_0x150e39=!0x0,_0x1e657e=_0x14c140(0x2ab)===_0x294d03?/^\w+/:/\w+$/;}else{if(_0x150e39)break;_0xe6ed17+=_0x541adf[_0x14c140(0x1cf)];}}else{if(_0x541adf['is'](_0x14c140(0x2b6))){_0x246280[_0x14c140(0x1e5)](_0x541adf)&&!_0x150e39&&(_0xe6ed17+=0x1);break;}}_0x441d5f+=_0xe6ed17,_0x395b78[_0x14c140(0x238)](_0x2b1a31[_0x14c140(0x24f)](_0x14c140(0x2ab)===_0x294d03?_0x441d5f:-_0x441d5f));}return _0x441d5f;}[_0x50d456(0x270)](_0x12e557,_0x4c09fb){const _0x3c59a2=_0x50d456,_0x168104=_0xad64f5(this[_0x3c59a2(0x246)])[_0x3c59a2(0x228)][_0x3c59a2(0x1df)],_0x4a552c=this[_0x3c59a2(0x25f)](_0x12e557,_0x3c59a2(0x27f),_0x168104,0x6),_0x594acc=this[_0x3c59a2(0x25f)](_0x4c09fb,_0x3c59a2(0x2ab),_0x168104,0x6),_0xb3ceea=_0x12e557[_0x3c59a2(0x24f)](-_0x4a552c),_0x5e7acd=_0x4c09fb[_0x3c59a2(0x24f)](_0x594acc);return{'start':_0xb3ceea,'end':_0x5e7acd,'hasContentBefore':!_0xb3ceea[_0x3c59a2(0x275)],'hasContentAfter':!_0x5e7acd[_0x3c59a2(0x216)]};}[_0x50d456(0x236)](_0x5abc74){const _0x23b642=_0x50d456,_0x242cca=this[_0x23b642(0x246)][_0x23b642(0x2a1)][_0x23b642(0x2c8)](_0x23b642(0x226)),_0x4c689b=new Set();_0xad64f5(this[_0x23b642(0x246)])[_0x23b642(0x228)][_0x23b642(0x1d3)](_0x1b0fd7=>{const _0x50d498=_0x23b642;for(const _0xbe02a0 of _0x5abc74){const _0xfc8e3f=''+fe+_0xbe02a0[_0x50d498(0x1e6)]+':'+_0xbe02a0[_0x50d498(0x2cb)]+'_'+_0x242cca[_0x50d498(0x1d2)](_0x4c689b);this[_0x50d498(0x1e3)][_0x50d498(0x2ac)](_0xfc8e3f,{'id':_0xfc8e3f,'groupId':_0xbe02a0[_0x50d498(0x2cb)],'type':_0xbe02a0[_0x50d498(0x1e6)],'content':_0xbe02a0[_0x50d498(0x2cd)]}),_0x1b0fd7[_0x50d498(0x1ce)](_0xfc8e3f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1b0fd7[_0x50d498(0x1c6)](_0xbe02a0[_0x50d498(0x212)],_0xbe02a0[_0x50d498(0x293)])});}});}[_0x50d456(0x224)](_0x4615ae,_0x27b98f,_0x3b085a){let _0x487435='';return()=>{const _0x303277=_0x184d;if(!_0x487435){const _0x7b24d4=_0x27b98f[_0x303277(0x271)](_0x4615ae,{'showSuggestionHighlights':!0x0});let _0x191746=_0x7b24d4[_0x303277(0x1fc)](0x0);if(_0x191746['is'](_0x303277(0x287))||(_0x191746=_0x7b24d4),!_0x191746)return'';let _0x14ed4e=!0x1;const _0x4e0667=[];for(const _0x4e2e34 of _0x191746[_0x303277(0x1fd)]())_0x4e2e34['is'](_0x303277(0x2b6),_0x303277(0x1ca))&&_0x4e2e34[_0x303277(0x24d)](_0x303277(0x22c))&&(_0x14ed4e=!0x1),_0x14ed4e&&_0x4e0667[_0x303277(0x282)](_0x4e2e34),_0x4e2e34['is'](_0x303277(0x2b6),_0x303277(0x1ca))&&_0x4e2e34[_0x303277(0x24d)](_0x303277(0x222))&&(_0x14ed4e=!0x0);_0x191746[_0x303277(0x213)](0x0,_0x191746[_0x303277(0x269)]),_0x3b085a?.[_0x303277(0x1e8)]&&_0x191746[_0x303277(0x2b9)]('…'),_0x191746[_0x303277(0x2b9)](_0x4e0667),_0x3b085a?.[_0x303277(0x2aa)]&&_0x191746[_0x303277(0x2b9)]('…');const _0x40a1e9=_0x27b98f[_0x303277(0x25c)][_0x303277(0x248)][_0x303277(0x26b)](_0x7b24d4),_0x563539=_0x27b98f[_0x303277(0x25c)][_0x303277(0x243)][_0x303277(0x219)](_0x40a1e9);_0x487435=_0x563539;}return _0x487435;};}[_0x50d456(0x2a6)](_0x1f6fcc,_0xa965aa){const _0xb78b1d=_0x50d456;let _0x51fc5b='';return()=>(_0x51fc5b||(_0x51fc5b=_0xa965aa[_0xb78b1d(0x1c9)](_0x1f6fcc,{'showSuggestionHighlights':!0x0})),_0x51fc5b);}[_0x50d456(0x237)](_0x94e7a7,_0x1d6b1a,_0x40e66c){let _0x99d0ca='';return()=>{const _0x5051f5=_0x184d;if(!_0x99d0ca){const _0x19270e=_0x40e66c[_0x5051f5(0x271)](new _0x40836f(_0x94e7a7)),_0x282ee6=_0x40e66c[_0x5051f5(0x25c)][_0x5051f5(0x248)][_0x5051f5(0x26b)](_0x19270e)[_0x5051f5(0x2b8)](_0x5051f5(0x299)+_0x1d6b1a+'\x22]');_0x99d0ca=_0x282ee6?.[_0x5051f5(0x1d7)]||'';}return _0x99d0ca;};}[_0x50d456(0x20e)](_0x3b3a12,_0x5e4dc7=0x5){const _0x236eb1=_0x50d456;let _0xaa2114=_0x3b3a12,_0x5129e5=null;for(let _0x14306d=0x0;_0x14306d<_0x5e4dc7&&_0xaa2114;_0x14306d++){if(!_0xaa2114[_0x236eb1(0x23d)]){_0xaa2114=_0xaa2114[_0x236eb1(0x27e)];continue;}if(!(''+_0xaa2114[_0x236eb1(0x23d)])[_0x236eb1(0x242)](_0x236eb1(0x21e))){_0xaa2114=_0xaa2114[_0x236eb1(0x27e)];continue;}if(!_0xaa2114[_0x236eb1(0x284)](_0x236eb1(0x28f)))break;_0x5129e5=_0xaa2114;break;}return _0x5129e5;}[_0x50d456(0x2cf)](_0x319751){const _0x3da5df=_0x50d456,_0x54952b=_0xad64f5(this[_0x3da5df(0x246)]),_0x3e27a2=_0x54952b[_0x3da5df(0x228)][_0x3da5df(0x223)][_0x3da5df(0x2c8)](_0x319751);return _0x3e27a2?_0x29dfa5(_0x54952b[_0x3da5df(0x20f)],_0x3e27a2):null;}[_0x50d456(0x280)](_0x30470e){const _0x20506a=_0x50d456;return Array[_0x20506a(0x20a)](this[_0x20506a(0x1e3)][_0x20506a(0x21f)]())[_0x20506a(0x22a)](_0x972a83=>_0x972a83[_0x20506a(0x2cb)]===_0x30470e);}[_0x50d456(0x257)](_0x43be83){const _0x3528b2=_0x50d456;return _0x3528b2(0x286)===_0x43be83[_0x3528b2(0x1e6)]?_0x43be83[_0x3528b2(0x292)]:_0x43be83[_0x3528b2(0x2d0)][_0x3528b2(0x212)];}[_0x50d456(0x28c)](_0x221907,_0xb0bc43=!0x1){const _0x4f5ebd=_0x50d456;return _0x4f5ebd(0x286)===_0x221907[_0x4f5ebd(0x1e6)]?_0xb0bc43?_0x221907[_0x4f5ebd(0x292)]:_0x221907[_0x4f5ebd(0x292)][_0x4f5ebd(0x24f)](_0x221907[_0x4f5ebd(0x29c)]):_0x221907[_0x4f5ebd(0x2d0)][_0x4f5ebd(0x293)];}[_0x50d456(0x1fb)](_0x25830d,_0x501749){const _0x30aa58=_0x50d456;return _0x30aa58(0x286)===_0x25830d[_0x30aa58(0x1e6)]?_0x25830d[_0x30aa58(0x292)]=_0x25830d[_0x30aa58(0x292)][_0x30aa58(0x24f)](_0x501749):_0x30aa58(0x1e2)===_0x25830d[_0x30aa58(0x1e6)]&&_0x25830d[_0x30aa58(0x2d0)]&&(_0x25830d[_0x30aa58(0x2d0)]=new _0x44ff33(_0x25830d[_0x30aa58(0x2d0)][_0x30aa58(0x212)][_0x30aa58(0x24f)](_0x501749),_0x25830d[_0x30aa58(0x2d0)][_0x30aa58(0x293)][_0x30aa58(0x24f)](_0x501749))),_0x25830d;}[_0x50d456(0x1f9)](_0x22651,_0x454b7b){const _0x25d951=_0x50d456;_0x25d951(0x286)===_0x22651[_0x25d951(0x1e6)]?_0x22651[_0x25d951(0x292)]=this[_0x25d951(0x2a9)](_0x22651[_0x25d951(0x292)],_0x454b7b):_0x25d951(0x1e2)===_0x22651[_0x25d951(0x1e6)]&&_0x22651[_0x25d951(0x2d0)]&&(_0x22651[_0x25d951(0x2d0)]=this[_0x25d951(0x1f7)](_0x22651[_0x25d951(0x2d0)],_0x454b7b));}[_0x50d456(0x2a9)](_0x51312e,_0x551238){const _0x242c49=_0x50d456;return new _0xc5864f(_0x551238,_0x51312e[_0x242c49(0x1d8)]);}[_0x50d456(0x1f7)](_0x5a605,_0xe83cc6){const _0xdd906e=_0x50d456;return new _0x44ff33(this[_0xdd906e(0x2a9)](_0x5a605[_0xdd906e(0x212)],_0xe83cc6),this[_0xdd906e(0x2a9)](_0x5a605[_0xdd906e(0x293)],_0xe83cc6));}[_0x50d456(0x276)](_0xb5a4c3,_0x1befc0){return new _0xc5864f(_0x1befc0,[..._0xb5a4c3]);}[_0x50d456(0x1f8)](_0x1649ae,_0x42d825,_0x2c91a9,_0xbdd39a){const _0x5a0baf=_0x50d456;return new _0x44ff33(this[_0x5a0baf(0x276)](_0x42d825,_0xbdd39a),this[_0x5a0baf(0x276)](_0x2c91a9,_0xbdd39a));}[_0x50d456(0x291)](_0x274dca){const _0x243d71=_0x50d456,_0x527380=_0x1f95cb=>{const _0x363c47=_0x184d;switch(_0x1f95cb){case _0x363c47(0x286):return 0x0;case _0x363c47(0x2bf):return 0x1;case _0x363c47(0x201):return 0x2;case _0x363c47(0x20c):return 0x3;}};return _0x274dca[_0x243d71(0x2c7)]((_0x153cd7,_0x203dae)=>_0x527380(_0x153cd7[_0x243d71(0x1e6)])-_0x527380(_0x203dae[_0x243d71(0x1e6)]));}[_0x50d456(0x215)](_0x2d5ea5,_0x40f676){const _0x1b9a14=_0x50d456,_0x1c5617=_0x2d5ea5[_0x1b9a14(0x1fc)](0x0),_0x57cc82=_0x40f676[_0x1b9a14(0x1fc)](0x0);return!(!_0x1c5617||!_0x57cc82)&&((!_0x1c5617['is'](_0x1b9a14(0x2b6))||!_0x57cc82['is'](_0x1b9a14(0x2b6))||_0x1c5617[_0x1b9a14(0x203)]===_0x57cc82[_0x1b9a14(0x203)])&&!(_0x1c5617['is'](_0x1b9a14(0x2b6))&&!_0x57cc82['is'](_0x1b9a14(0x2b6))||!_0x1c5617['is'](_0x1b9a14(0x2b6))&&_0x57cc82['is'](_0x1b9a14(0x2b6))));}[_0x50d456(0x26c)](_0x4efd3c){const _0x51a34b=_0x50d456;return 0x1===_0x4efd3c[_0x51a34b(0x269)];}[_0x50d456(0x2a7)](_0x3fd155,_0x17f64a){const _0x2ef4f9=_0x50d456;for(const _0x2aea9a of _0x3fd155[_0x2ef4f9(0x1fd)]())if(_0x2aea9a['is'](_0x2ef4f9(0x2b6))&&!_0x17f64a[_0x2ef4f9(0x1e5)](_0x2aea9a))return!0x1;return!0x0;}[_0x50d456(0x2a0)](_0x107647,_0x8df1da){const _0x4ee381=_0x50d456;let _0x290917=_0x107647[_0x4ee381(0x284)](_0x3421b6);return _0x290917||(_0x290917=_0x8df1da(),_0x107647[_0x4ee381(0x2a4)](_0x3421b6,_0x290917)),_0x290917;}}
|
|
23
|
+
const _0x284793=_0x39ed;function _0x54ed(){const _0x4e4429=['2124730aGkivt','sort','toData','isTouching','offset','includes','containerElement','getAttribute','getChild','getHtml','push','childCount','innerHTML','context','_findAdjacentContextDistance','ck-ai_review-marker_context-end','2421hGKMMw','join','clearAllMarkers','disableReadOnlyMode','_getOperationStart','element','afterInit','AIReviewCoreEditing','querySelector','remove-text','operations','_changeOperationOwnerDocument','getChanges','_markers','ai-review','values','suggestion:insertion:id:authorId:','index','attributeToAttribute','getChangedMarkers','AIEditing','isDocumentOperation','remove-only','_nextDataId','\x20ck-ai_review__change_active','history','_haveSingleTopLevelElement','highest','switchToEdit','getDocumentData','startsWith','isPremiumPlugin','$markedRemove','target','_removeAttribute','fire','domConverter','containsRange','exec','_eventEmitter','documentFragment','isOfficialPlugin','oldRange','createPositionAfter','ck-ai_review-marker_underline','add','addMarker','createRange','groupId','_sortMarkers','setAllMarkersAsInactive','htmlProcessor','filter','_changeRangeOwnerDocument','asString','changeMarkerHovered','ck-ai_review-marker_','isIntersecting','diffContent','change','getEditor','_activeMarkers','getChildren','ck-ai_review-marker_context-start','remove-context','_shiftOperation','_findMarkerElementById','386iuKgOy','getPath','getRoots','position','reconvertMarker','data-marker-id','_translateOperationToEditorContent','_changePosition','nodes','.ck-reset.ck-ai_review-balloon-panel-suggestion','requires','DocumentCompare','newRange','map','clear','[data-id=\x22','type','plugins','changeMarkerRestored','25ARDIeJ','relatedTarget','markerName','ck-ai_review-marker_hide','from','mouseover','keys','_parseMarkerName','ck-ai_review-marker_add','_getChangeContext','closest','_findMarkerElement','_createGetContentUsingDataIdFn','outerHTML','stringify','every','differ','inside','model','parentElement','registerPostFixer','backward','downcast','pluginName','$markedRemove:synthetic','flat','_domEmitter','[data-marker-id=\x22','operationsA','toDomElement','clone','No\x20element\x20found\x20for\x20ID:\x20','review-','hasClass','parent','markChangePositionInEditorContent','hasContentBefore','_handleMarkerChanges','root','_getOperationEnd','jumpTo','getDomRoot','switchToReadOnly','_createGetContentFn','markers','_getPositionLimitingRange','ellipsisBefore','outside','setMarkersInElementAsActive','suggestion-context','2470743dFqKtT','createSelection','hasAttribute','_insertMarkers','split','createRawElement','ck-ai_review-marker_strikethrough','get','ck-ai_review__change_active','createRangeOn','mouseup','createDocumentFragment','markerToHighlight','createUIElement','hasContentAfter','editingDowncast','batch','htmlWriter','howMany','offsetSize','forward','$graveyard','baseVersion','schema','280xLyrBM','$root','_changePositionOwnerDocument','for','getStart','ck-ai_review-marker_context-','data','forEach','conversion','isAtStart','isInline','remove','dataDowncast','emitter','operationsIsolated','_clone','version','length','asFragment','document','554552emIBvv','_getMarkersDataForGroup','_haveOnlyInlineContent','marker','size','_upsertDataId','content','markerToElement','_appendChild','ellipsisAfter','path','_groupAdjacentOperations','createPositionAt','isAtEnd','changeMarkerClicked','insert','_createGetContextFn','$textProxy','end','221028ZJVVGt','336162rjpkwy','changeMarkerBlurred','deleteContent','concat','insertContent','isBlock','_removeChildren','listenTo','has','name','reactivateMarkers','$documentFragment','view','editing','rejectChange','_changeRange','delete','getRange','body','isLimit','pop','68984FOLgxV','changeMarkerRemoved','rootName','suggestion:deletion:id:authorId:','getOperations','addOperation','applyChange','_setAttribute','span','processor','parse','removeMarker','append','getDiff','start','getMarkerElementForChange','isOpening','_validateMarkers','warn','getEditableElement','elements','className','enableReadOnlyMode','affectsData','applyOperation','getShiftedBy','toView','set','_hasSameTopLevelElement','createRangeIn','getContentElementForChange','getRoot','viewToDom'];_0x54ed=function(){return _0x4e4429;};return _0x54ed();}function _0x39ed(_0x3b6cc1,_0x2bcd77){const _0x54edba=_0x54ed();return _0x39ed=function(_0x39ed7a,_0x415934){_0x39ed7a=_0x39ed7a-0x9d;let _0x122ccf=_0x54edba[_0x39ed7a];return _0x122ccf;},_0x39ed(_0x3b6cc1,_0x2bcd77);}(function(_0x4d187a,_0x16d6aa){const _0x4b7af6=_0x39ed,_0x471a99=_0x4d187a();while(!![]){try{const _0x450afe=parseInt(_0x4b7af6(0x19b))/0x1+-parseInt(_0x4b7af6(0x116))/0x2*(parseInt(_0x4b7af6(0xd3))/0x3)+parseInt(_0x4b7af6(0x187))/0x4+parseInt(_0x4b7af6(0x129))/0x5*(parseInt(_0x4b7af6(0x19a))/0x6)+parseInt(_0x4b7af6(0x173))/0x7*(-parseInt(_0x4b7af6(0xa2))/0x8)+parseInt(_0x4b7af6(0x15b))/0x9+-parseInt(_0x4b7af6(0xc3))/0xa;if(_0x450afe===_0x16d6aa)break;else _0x471a99['push'](_0x471a99['shift']());}catch(_0x5f3230){_0x471a99['push'](_0x471a99['shift']());}}}(_0x54ed,0x35cd5));import{InsertOperation as _0x39024d,MarkerOperation as _0x32fc1a,ModelDocumentFragment as _0x57f2f1,ModelPosition as _0x4c7c79,ModelRange as _0x38faa6,ModelTreeWalker as _0x57a4b9,transformOperationSets as _0x4457aa}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x165c54,EmitterMixin as _0x4e3ae1,uid as _0x10fe0d}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x3a5060}from'ckeditor5/src/core.js';import{DocumentCompare as _0x8c2151,DATA_ID_MODEL_ATTRIBUTE as _0x5dfeaa,DATA_ID_VIEW_ATTRIBUTE as _0x195766,getMarkerDomElement as _0x224ce9}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2925a8}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x1ca9db}from'../aicore/aiediting.js';import{debounce as _0x2a6ee8}from'es-toolkit/compat';const fe=_0x284793(0x149);export class AIReviewCoreEditing extends _0x3a5060{static get[_0x284793(0x120)](){return[_0x8c2151,_0x1ca9db];}static get[_0x284793(0x140)](){const _0x1c1710=_0x284793;return _0x1c1710(0xda);}static get[_0x284793(0xfc)](){return!0x0;}static get[_0x284793(0xf2)](){return!0x0;}[_0x284793(0xe0)]=new Map();[_0x284793(0x110)]=new Set();[_0x284793(0x143)];[_0x284793(0xfa)];constructor(_0x69d21f){const _0x5db14a=_0x284793;super(_0x69d21f),this[_0x5db14a(0x143)]=new(_0x165c54())(),this[_0x5db14a(0xfa)]=new(_0x4e3ae1())();}get[_0x284793(0x180)](){const _0x51d4c4=_0x284793;return this[_0x51d4c4(0xfa)];}[_0x284793(0xd9)](){const _0x5011f3=_0x284793,_0x30ae1f=_0x2925a8(this[_0x5011f3(0xd0)]);_0x30ae1f[_0x5011f3(0x17b)][_0x5011f3(0x176)](_0x5011f3(0x16a))[_0x5011f3(0x18e)]({'model':fe+_0x5011f3(0x196),'view':(_0x3040f9,{writer:_0x25d72a})=>{const _0x257720=_0x5011f3,_0x54d706=this[_0x257720(0xe0)][_0x257720(0x162)](_0x3040f9[_0x257720(0x12b)]),_0x690bd3={'class':_0x257720(0x131)+(this[_0x257720(0x110)][_0x257720(0x1a3)](_0x54d706?.['id']||'')?_0x257720(0xeb):''),'data-marker-id':_0x3040f9[_0x257720(0x12b)]};return _0x25d72a[_0x257720(0x168)](_0x257720(0xaa),_0x690bd3,function(_0x4aef47){const _0x4580cb=_0x257720,_0x5deab2=this[_0x4580cb(0x146)](_0x4aef47);return _0x5deab2[_0x4580cb(0xcf)]=_0x54d706?.[_0x4580cb(0x18d)]?.[_0x4580cb(0x109)]||'',_0x5deab2;});}}),_0x30ae1f[_0x5011f3(0x17b)][_0x5011f3(0x176)](_0x5011f3(0x16a))[_0x5011f3(0x167)]({'model':fe+_0x5011f3(0xe9),'view':_0x229379=>{const _0x11ff10=_0x5011f3,_0x46219d=this[_0x11ff10(0xe0)][_0x11ff10(0x162)](_0x229379[_0x11ff10(0x12b)]),_0x42d998=[_0x11ff10(0x161)];return this[_0x11ff10(0x110)][_0x11ff10(0x1a3)](_0x46219d?.['id']||'')&&_0x42d998[_0x11ff10(0xcd)](_0x11ff10(0x163)),{'classes':_0x42d998,'attributes':{'data-marker-id':_0x229379[_0x11ff10(0x12b)]}};}}),_0x30ae1f[_0x5011f3(0x17b)][_0x5011f3(0x176)](_0x5011f3(0x16a))[_0x5011f3(0x167)]({'model':fe+_0x5011f3(0x113),'view':_0x28e06c=>{const _0x50ace1=_0x5011f3,_0x130737=this[_0x50ace1(0xe0)][_0x50ace1(0x162)](_0x28e06c[_0x50ace1(0x12b)]),_0x1264ce=[_0x50ace1(0xff)];return this[_0x50ace1(0x110)][_0x50ace1(0x1a3)](_0x130737?.['id']||'')&&_0x1264ce[_0x50ace1(0xcd)](_0x50ace1(0x163)),{'classes':_0x1264ce,'attributes':{'data-marker-id':_0x28e06c[_0x50ace1(0x12b)]}};}}),_0x30ae1f[_0x5011f3(0x17b)][_0x5011f3(0x176)](_0x5011f3(0x16a))[_0x5011f3(0x167)]({'model':fe+_0x5011f3(0xdc),'view':_0x71bce7=>{const _0x5c6d1b=_0x5011f3,_0x5caf45=this[_0x5c6d1b(0xe0)][_0x5c6d1b(0x162)](_0x71bce7[_0x5c6d1b(0x12b)]),_0x5b26f4=[_0x5c6d1b(0x12c)];return this[_0x5c6d1b(0x110)][_0x5c6d1b(0x1a3)](_0x5caf45?.['id']||'')&&_0x5b26f4[_0x5c6d1b(0xcd)](_0x5c6d1b(0x163)),{'classes':_0x5b26f4,'attributes':{'data-marker-id':_0x71bce7[_0x5c6d1b(0x12b)]}};}}),_0x30ae1f[_0x5011f3(0x17b)][_0x5011f3(0x176)](_0x5011f3(0x17f))[_0x5011f3(0x18e)]({'model':fe+_0x5011f3(0x15a),'view':(_0x194451,{writer:_0x42e90e})=>_0x42e90e[_0x5011f3(0x160)](_0x5011f3(0xaa),{'class':_0x5011f3(0x178)+(_0x194451[_0x5011f3(0xb2)]?_0x5011f3(0xb0):_0x5011f3(0x199))})}),_0x30ae1f[_0x5011f3(0x17b)][_0x5011f3(0x176)](_0x5011f3(0x13f))[_0x5011f3(0xe5)]({'model':_0x5dfeaa,'view':_0x195766});const _0x218a2e=_0x30ae1f['ui'][_0x5011f3(0xb5)]()||document[_0x5011f3(0x9f)];this[_0x5011f3(0x143)][_0x5011f3(0x1a2)](_0x218a2e,_0x5011f3(0x165),(_0x5f23d6,_0x235bfb)=>{const _0x2a5da5=_0x5011f3,_0x53ff63=_0x235bfb[_0x2a5da5(0xf4)],_0x2c3f8a=this[_0x2a5da5(0x134)](_0x53ff63);if(!_0x2c3f8a)return;const _0x509104=_0x2c3f8a[_0x2a5da5(0xca)](_0x2a5da5(0x11b)),_0x39097d=_0x509104[_0x2a5da5(0x15f)](':')[_0x2a5da5(0xa1)]()?.[_0x2a5da5(0x15f)]('_')[0x0];this[_0x2a5da5(0xfa)][_0x2a5da5(0xf6)](_0x2a5da5(0x195),{'markerId':_0x509104,'changeId':_0x39097d,'markerElement':()=>this[_0x2a5da5(0x115)](_0x509104),'domEvent':_0x235bfb});},{'usePassive':!0x0,'priority':_0x5011f3(0xee)}),this[_0x5011f3(0x143)][_0x5011f3(0x1a2)](_0x218a2e,_0x5011f3(0x12e),(_0x55c864,_0x4bb26d)=>{const _0x1d257d=_0x5011f3,_0x3f30d5=_0x4bb26d[_0x1d257d(0xf4)],_0xfafc23=_0x4bb26d[_0x1d257d(0x12a)];let _0x28f420=this[_0x1d257d(0x134)](_0x3f30d5);if(!_0x28f420&&_0xfafc23&&(_0x28f420=this[_0x1d257d(0x134)](_0xfafc23)),!_0x28f420)return;const _0x3a49b0=_0x28f420[_0x1d257d(0xca)](_0x1d257d(0x11b)),_0x46b058=_0x3a49b0[_0x1d257d(0x15f)](':')[_0x1d257d(0xa1)]()?.[_0x1d257d(0x15f)]('_')[0x0];this[_0x1d257d(0xfa)][_0x1d257d(0xf6)](_0x1d257d(0x10a),{'changeId':_0x46b058,'markerElement':()=>this[_0x1d257d(0x115)](_0x3a49b0),'domEvent':_0x4bb26d});}),this[_0x5011f3(0x143)][_0x5011f3(0x1a2)](document,_0x5011f3(0x12e),_0x2a6ee8((_0x1f2e3b,_0x2eb111)=>{const _0x38f634=_0x5011f3,_0x5a2d1e=_0x2eb111[_0x38f634(0xf4)];if(this[_0x38f634(0x134)](_0x5a2d1e))return;_0x5a2d1e[_0x38f634(0x133)](_0x38f634(0x11f))||this[_0x38f634(0xfa)][_0x38f634(0xf6)](_0x38f634(0x19c));},0xc8)),_0x30ae1f[_0x5011f3(0x13b)][_0x5011f3(0x186)][_0x5011f3(0x13d)](_0x2d85cf=>this[_0x5011f3(0xb3)](_0x30ae1f,_0x2d85cf)),_0x30ae1f[_0x5011f3(0x13b)][_0x5011f3(0x186)]['on'](_0x5011f3(0x10e),()=>this[_0x5011f3(0x14e)](_0x30ae1f));}[_0x284793(0xf0)](){const _0x31d0b1=_0x284793,_0x3ad7e1=this[_0x31d0b1(0xd0)][_0x31d0b1(0x127)][_0x31d0b1(0x162)](_0x31d0b1(0xe7)),_0x5040ce=_0x2925a8(this[_0x31d0b1(0xd0)]),_0x1f0d59=_0x5040ce[_0x31d0b1(0x13b)],_0x57aef9=new _0x57f2f1();for(const _0x1c8429 of _0x1f0d59[_0x31d0b1(0x186)][_0x31d0b1(0xc1)]()[_0x31d0b1(0x111)]()){const _0x5aa807=_0x1c8429[_0x31d0b1(0x182)](!0x0);_0x57aef9[_0x31d0b1(0x18f)](_0x5aa807);}for(const _0x5b7aa2 of _0x1f0d59[_0x31d0b1(0x155)])_0x57aef9[_0x31d0b1(0x155)][_0x31d0b1(0xbd)](_0x5b7aa2[_0x31d0b1(0x1a4)],this[_0x31d0b1(0x108)](_0x5b7aa2[_0x31d0b1(0x9e)]()[_0x31d0b1(0x147)](),_0x57aef9));const _0x5b755=new _0x57a4b9({'ignoreElementEnd':!0x0,'startPosition':_0x1f0d59[_0x31d0b1(0x193)](_0x57aef9,0x0)}),_0x238209=new Set(),_0x40ed2e=new Map();for(const {item:_0x3893ff}of _0x5b755){if(!_0x3893ff['is'](_0x31d0b1(0x198)))continue;const _0x2da917=_0x3893ff[_0x31d0b1(0x14b)];if(_0x2da917&&_0x2da917['is'](_0x31d0b1(0xd8))){const _0x49f278=this[_0x31d0b1(0x18c)](_0x2da917,()=>_0x3ad7e1[_0x31d0b1(0xea)](_0x238209));_0x238209[_0x31d0b1(0x100)](_0x49f278);for(const _0x18156e of _0x2da917[_0x31d0b1(0x111)]())_0x18156e['is'](_0x31d0b1(0xd8))&&_0x238209[_0x31d0b1(0x100)](this[_0x31d0b1(0x18c)](_0x18156e,()=>_0x3ad7e1[_0x31d0b1(0xea)](_0x238209)));let _0x3e6110=_0x2da917;for(;_0x3e6110[_0x31d0b1(0x14b)]&&!_0x3e6110[_0x31d0b1(0x14b)]['is'](_0x31d0b1(0xfb));)_0x3e6110=_0x3e6110[_0x31d0b1(0x14b)],_0x3e6110[_0x31d0b1(0x15d)](_0x5dfeaa)&&_0x3e6110[_0x31d0b1(0xf5)](_0x5dfeaa);_0x40ed2e[_0x31d0b1(0xbd)](_0x49f278,{'path':_0x2da917[_0x31d0b1(0x117)](),'getContent':this[_0x31d0b1(0x135)](_0x3e6110[_0x31d0b1(0x182)](!0x0),_0x49f278,_0x5040ce[_0x31d0b1(0x179)])}),_0x5b755[_0x31d0b1(0x151)](_0x1f0d59[_0x31d0b1(0xfe)](_0x2da917));}}return{'content':_0x5040ce[_0x31d0b1(0x179)][_0x31d0b1(0xab)][_0x31d0b1(0xc5)](_0x5040ce[_0x31d0b1(0x179)][_0x31d0b1(0xbc)](_0x57aef9)),'version':_0x5040ce[_0x31d0b1(0x13b)][_0x31d0b1(0x186)][_0x31d0b1(0x183)],'elements':_0x40ed2e};}[_0x284793(0x10d)](_0x35267c,_0x9e461e,_0x4b5c4e=!0x1){const _0x55cf35=_0x284793,_0x49efcc=[],_0xeb1be9=_0x2925a8(this[_0x55cf35(0xd0)]),_0x2569c4=_0xeb1be9[_0x55cf35(0x179)][_0x55cf35(0xac)](_0x9e461e,_0x55cf35(0x1a6)),_0x2db325=_0xeb1be9[_0x55cf35(0x179)][_0x55cf35(0xac)](_0x35267c,_0x55cf35(0x1a6)),_0xc6dcab=_0xeb1be9[_0x55cf35(0x13b)][_0x55cf35(0x193)](_0x2db325,0x0);if(this[_0x55cf35(0xed)](_0x2569c4)){if(!this[_0x55cf35(0xbe)](_0x2db325,_0x2569c4))return _0x49efcc;}else{const _0x36bc4f=_0xeb1be9[_0x55cf35(0x13b)][_0x55cf35(0x172)];if(!this[_0x55cf35(0x189)](_0x2db325,_0x36bc4f)||!this[_0x55cf35(0x189)](_0x2569c4,_0x36bc4f))return _0x49efcc;}const _0x12c802=this[_0x55cf35(0xd0)][_0x55cf35(0x127)][_0x55cf35(0x162)](_0x55cf35(0x121))[_0x55cf35(0xaf)](_0x35267c,_0x9e461e,{'anchor':_0xc6dcab,'markDeletions':!0x0})[_0x55cf35(0xa6)]()[_0x55cf35(0x107)](_0x4451c5=>_0x55cf35(0x196)===_0x4451c5[_0x55cf35(0x126)]||_0x55cf35(0x18a)===_0x4451c5[_0x55cf35(0x126)]&&_0x4451c5[_0x55cf35(0x1a4)][_0x55cf35(0xf1)](_0x55cf35(0xf3))),_0x436a9d=this[_0x55cf35(0x192)](_0x12c802),_0x59fa92=[];if(_0x4b5c4e){if(_0x436a9d[_0x55cf35(0x184)]){const _0x5b5f4f=_0x436a9d[0x0][_0x55cf35(0xdd)][0x0],_0xd806d0=_0x55cf35(0x196)===_0x5b5f4f[_0x55cf35(0x126)]?_0x5b5f4f[_0x55cf35(0x119)]:_0x5b5f4f[_0x55cf35(0x122)][_0x55cf35(0xb0)],_0x44d642=this[_0x55cf35(0x156)](_0xd806d0,_0xeb1be9,_0x55cf35(0x13a)),_0x100d93=_0x44d642?_0x2569c4[_0x55cf35(0xcb)](0x0)[_0x55cf35(0x111)]():_0x2569c4[_0x55cf35(0x111)](),_0x328889=_0x44d642||_0xeb1be9[_0x55cf35(0x13b)][_0x55cf35(0xbf)](_0x2db325),_0xfb057c=[new _0x32fc1a(_0x55cf35(0x141)+_0x10fe0d(),null,_0x328889,_0xeb1be9[_0x55cf35(0x13b)][_0x55cf35(0x186)][_0x55cf35(0x13b)][_0x55cf35(0x155)],!0x0,_0xeb1be9[_0x55cf35(0x13b)][_0x55cf35(0x186)][_0x55cf35(0x183)]+0x1),new _0x39024d(_0x328889[_0x55cf35(0x199)],_0x100d93,_0xeb1be9[_0x55cf35(0x13b)][_0x55cf35(0x186)][_0x55cf35(0x183)]+0x2)];_0x59fa92[_0x55cf35(0xcd)]({'operations':_0xfb057c,'operationsIsolated':_0xfb057c,'groupOffset':0x0});}}else _0x59fa92[_0x55cf35(0xcd)](..._0x436a9d);let _0x45e4db=0x0;return _0xeb1be9[_0x55cf35(0x13b)][_0x55cf35(0x10e)](_0x1ddb99=>{const _0x389a82=_0x55cf35;for(let _0x41b49c=0x0;_0x41b49c<_0x59fa92[_0x389a82(0x184)];_0x41b49c++){const _0x39f6c2=_0x59fa92[_0x41b49c],_0x3fc4f6=_0x1ddb99[_0x389a82(0x166)]();for(const _0x52b650 of _0x2db325[_0x389a82(0x111)]())_0x1ddb99[_0x389a82(0xae)](_0x52b650[_0x389a82(0x182)](!0x0),_0x3fc4f6);for(const _0x2b4027 of _0x39f6c2[_0x389a82(0x181)])if(_0x389a82(0x196)===_0x2b4027[_0x389a82(0x126)]){const _0x1e86a0=_0x2b4027;_0x1e86a0[_0x389a82(0x171)]=null,_0x1e86a0[_0x389a82(0xe8)]=!0x1,this[_0x389a82(0xde)](_0x1e86a0,_0x3fc4f6),_0x1ddb99[_0x389a82(0x16b)][_0x389a82(0xa7)](_0x2b4027),_0xeb1be9[_0x389a82(0x13b)][_0x389a82(0xba)](_0x2b4027);const _0xef0ae3=_0x389a82(0xe3)+_0x45e4db++,_0x14b802=_0xeb1be9[_0x389a82(0x13b)][_0x389a82(0x102)](_0x1e86a0[_0x389a82(0x119)],_0x1e86a0[_0x389a82(0x119)][_0x389a82(0xbb)](_0x1e86a0[_0x389a82(0x16d)]));_0x3fc4f6[_0x389a82(0x155)][_0x389a82(0xbd)](_0xef0ae3,_0x14b802);}else{if(_0x389a82(0x18a)===_0x2b4027[_0x389a82(0x126)]&&_0x2b4027[_0x389a82(0x1a4)][_0x389a82(0xf1)](_0x389a82(0xf3))){const _0x467657=_0x2b4027,_0x28b589=_0x389a82(0xa5)+_0x45e4db++;this[_0x389a82(0xde)](_0x467657,_0x3fc4f6),_0x3fc4f6[_0x389a82(0x155)][_0x389a82(0xbd)](_0x28b589,_0x467657[_0x389a82(0x122)]);}}if(_0x4b5c4e)_0x49efcc[_0x389a82(0xcd)]({..._0x39f6c2,'context':this[_0x389a82(0x154)](_0x2db325,_0xeb1be9[_0x389a82(0x179)]),'content':this[_0x389a82(0x154)](_0x2db325,_0xeb1be9[_0x389a82(0x179)])});else{const _0x1a3047=this[_0x389a82(0x132)](this[_0x389a82(0x175)](this[_0x389a82(0xd7)](_0x39f6c2[_0x389a82(0x181)][0x0]),_0x3fc4f6),this[_0x389a82(0x175)](this[_0x389a82(0x150)](_0x39f6c2[_0x389a82(0x181)][_0x39f6c2[_0x389a82(0x181)][_0x389a82(0x184)]-0x1]),_0x3fc4f6));_0x3fc4f6[_0x389a82(0x155)][_0x389a82(0xbd)](fe+_0x389a82(0x15a),new _0x38faa6(_0x1a3047[_0x389a82(0xb0)],_0x1a3047[_0x389a82(0x199)])),_0x49efcc[_0x389a82(0xcd)]({..._0x39f6c2,'context':this[_0x389a82(0x197)](_0x3fc4f6,_0xeb1be9[_0x389a82(0x179)],{'ellipsisBefore':_0x1a3047[_0x389a82(0x14d)],'ellipsisAfter':_0x1a3047[_0x389a82(0x169)]}),'content':this[_0x389a82(0x154)](_0x3fc4f6,_0xeb1be9[_0x389a82(0x179)])});}}}),_0x49efcc;}[_0x284793(0x14c)](_0x19c54f,_0x362803){const _0x39cd5a=_0x284793;if(!_0x19c54f[_0x39cd5a(0x184)])return;const _0x5c55e7=_0x19c54f[0x0][_0x39cd5a(0x14b)]['id'],_0x568ec3=_0x362803[_0x39cd5a(0xb6)][_0x39cd5a(0x162)](_0x5c55e7);if(!_0x568ec3)return void console[_0x39cd5a(0xb4)](_0x39cd5a(0x148)+_0x5c55e7);const _0x499527=_0x568ec3[_0x39cd5a(0x191)],_0x34b706=_0x2925a8(this[_0x39cd5a(0xd0)]),_0xac84d3=_0x34b706[_0x39cd5a(0x13b)][_0x39cd5a(0x186)][_0x39cd5a(0xec)][_0x39cd5a(0xa6)](_0x362803[_0x39cd5a(0x183)]),_0x549e07=[];for(const _0x3e4cfd of _0x19c54f){const _0x42ed3f=_0x3e4cfd[_0x39cd5a(0x181)][_0x39cd5a(0x123)](_0x4f4d6c=>this[_0x39cd5a(0x11c)](_0x4f4d6c,_0x499527,_0x34b706[_0x39cd5a(0x13b)][_0x39cd5a(0x186)][_0x39cd5a(0x118)]()[0x0]));if(!_0x42ed3f||!_0x42ed3f[_0x39cd5a(0x184)])continue;const _0x5f02a4=_0x42ed3f[_0x39cd5a(0x138)](_0x45cba9=>_0x39cd5a(0x18a)===_0x45cba9[_0x39cd5a(0x126)]&&_0x45cba9[_0x39cd5a(0x1a4)][_0x39cd5a(0xf1)](_0x39cd5a(0xf3))),_0xdc5719={'document':_0x34b706[_0x39cd5a(0x13b)][_0x39cd5a(0x186)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x352c27=_0x4457aa(_0x42ed3f,_0xac84d3,_0xdc5719)[_0x39cd5a(0x145)];for(const _0x4f562c of _0x352c27)if(_0x39cd5a(0x196)===_0x4f562c[_0x39cd5a(0x126)]){const _0x26c096=_0x4f562c,_0x42984d=_0x26c096[_0x39cd5a(0x11e)];_0x34b706[_0x39cd5a(0x13b)][_0x39cd5a(0x10e)](_0xd176de=>{const _0x1817e9=_0x39cd5a,_0x392688=_0xd176de[_0x1817e9(0x166)]();for(const _0x427d97 of _0x42984d)_0xd176de[_0x1817e9(0xae)](_0x427d97[_0x1817e9(0x182)](!0x0),_0x392688);_0x549e07[_0x1817e9(0xcd)]({'start':_0x26c096[_0x1817e9(0x119)],'end':_0x26c096[_0x1817e9(0x119)],'type':_0x1817e9(0x196),'groupId':_0x3e4cfd['id'],'content':{'asString':this[_0x1817e9(0x154)](_0x392688,_0x34b706[_0x1817e9(0x179)])(),'asFragment':_0x392688}});});}else{if(_0x39cd5a(0x18a)===_0x4f562c[_0x39cd5a(0x126)]&&_0x4f562c[_0x39cd5a(0x1a4)][_0x39cd5a(0xf1)](_0x39cd5a(0xf3))){const _0x4e81a7=_0x4f562c;let _0x18d93b=_0x39cd5a(0xdc);if(_0x5f02a4){const _0x40138f=this[_0x39cd5a(0xd1)](_0x4e81a7[_0x39cd5a(0x122)][_0x39cd5a(0xb0)],_0x39cd5a(0x13e),_0x34b706[_0x39cd5a(0x13b)][_0x39cd5a(0x172)]),_0x31d409=this[_0x39cd5a(0xd1)](_0x4e81a7[_0x39cd5a(0x122)][_0x39cd5a(0x199)],_0x39cd5a(0x16f),_0x34b706[_0x39cd5a(0x13b)][_0x39cd5a(0x172)]);if(_0x40138f||_0x31d409){const _0x4dac5f=_0x4e81a7[_0x39cd5a(0x122)][_0x39cd5a(0xb0)][_0x39cd5a(0xbb)](-_0x40138f),_0x5761db=_0x4e81a7[_0x39cd5a(0x122)][_0x39cd5a(0x199)][_0x39cd5a(0xbb)](_0x31d409);_0x549e07[_0x39cd5a(0xcd)]({'start':_0x4dac5f,'end':_0x5761db,'groupId':_0x3e4cfd['id'],'type':_0x39cd5a(0x113)});}else _0x18d93b=_0x39cd5a(0xe9);}_0x549e07[_0x39cd5a(0xcd)]({'start':_0x4e81a7[_0x39cd5a(0x122)][_0x39cd5a(0xb0)],'end':_0x4e81a7[_0x39cd5a(0x122)][_0x39cd5a(0x199)],'groupId':_0x3e4cfd['id'],'type':_0x18d93b});}}}this[_0x39cd5a(0x15e)](_0x549e07);}[_0x284793(0xd5)](){const _0x1006aa=_0x284793,_0x16fbf8=_0x2925a8(this[_0x1006aa(0xd0)]);_0x16fbf8[_0x1006aa(0x13b)][_0x1006aa(0x10e)](_0x1c2061=>{const _0x1e2758=_0x1006aa;for(const _0x2e609e of this[_0x1e2758(0xe0)][_0x1e2758(0x12f)]())_0x16fbf8[_0x1e2758(0x13b)][_0x1e2758(0x155)][_0x1e2758(0x162)](_0x2e609e)&&_0x1c2061[_0x1e2758(0xad)](_0x2e609e);}),this[_0x1006aa(0xe0)][_0x1006aa(0x124)](),this[_0x1006aa(0x110)][_0x1006aa(0x124)]();}[_0x284793(0x153)](){const _0x55796e=_0x284793;_0x2925a8(this[_0x55796e(0xd0)])[_0x55796e(0xb8)](_0x55796e(0xe1));}[_0x284793(0xef)](){const _0x5c8bbd=_0x284793;_0x2925a8(this[_0x5c8bbd(0xd0)])[_0x5c8bbd(0xd6)](_0x5c8bbd(0xe1));}[_0x284793(0xa8)](_0x276599){const _0x4d2f70=_0x284793,_0x3ccb06=_0x2925a8(this[_0x4d2f70(0xd0)]),_0x2069e4=_0x3ccb06[_0x4d2f70(0x13b)],_0x46a9a6=_0x276599[_0x4d2f70(0x123)](_0x1d3dd0=>this[_0x4d2f70(0x188)](_0x1d3dd0))[_0x4d2f70(0x142)]();_0x2069e4[_0x4d2f70(0x10e)](_0xee4a10=>{const _0x235641=_0x4d2f70;for(const _0x161c75 of _0x46a9a6){const _0x4bdbae=_0x3ccb06[_0x235641(0x13b)][_0x235641(0x155)][_0x235641(0x162)](_0x161c75['id']);if(_0x4bdbae){if(_0x235641(0x196)===_0x161c75[_0x235641(0x126)]){if(!_0x161c75[_0x235641(0x18d)])continue;_0x2069e4[_0x235641(0x19f)](_0x161c75[_0x235641(0x18d)][_0x235641(0x185)]||null,_0x4bdbae[_0x235641(0x9e)]()[_0x235641(0xb0)]);}else _0x235641(0xdc)!==_0x161c75[_0x235641(0x126)]&&_0x235641(0xe9)!==_0x161c75[_0x235641(0x126)]||_0x2069e4[_0x235641(0x19d)](_0x2069e4[_0x235641(0x15c)](_0x4bdbae[_0x235641(0x9e)]()));_0xee4a10[_0x235641(0xad)](_0x161c75['id']),this[_0x235641(0xe0)][_0x235641(0x9d)](_0x161c75['id']);}}});}[_0x284793(0x1a9)](_0x168be4){const _0x57bec8=_0x284793,_0x365d0c=_0x2925a8(this[_0x57bec8(0xd0)]),_0x5da66b=this[_0x57bec8(0x188)](_0x168be4);_0x365d0c[_0x57bec8(0x13b)][_0x57bec8(0x10e)](_0x239e40=>{const _0x4bd68c=_0x57bec8;for(const _0x4c8c0a of _0x5da66b)_0x239e40[_0x4bd68c(0xad)](_0x4c8c0a['id']),this[_0x4bd68c(0xe0)][_0x4bd68c(0x9d)](_0x4c8c0a['id']);});}[_0x284793(0x10f)](){const _0x428a98=_0x284793;return _0x2925a8(this[_0x428a98(0xd0)]);}[_0x284793(0xb1)](_0x50edc0){const _0x22fb31=_0x284793,_0x15f55f=Array[_0x22fb31(0x12d)](this[_0x22fb31(0xe0)][_0x22fb31(0xe2)]())[_0x22fb31(0x107)](_0x5bced3=>_0x5bced3[_0x22fb31(0x103)]===_0x50edc0);if(!_0x15f55f[_0x22fb31(0x184)])return null;const _0x2c9ddc=0x1===_0x15f55f[_0x22fb31(0x184)]?_0x15f55f[0x0]:this[_0x22fb31(0x104)](_0x15f55f)[0x0],_0x42e792=_0x2925a8(this[_0x22fb31(0xd0)])[_0x22fb31(0x13b)][_0x22fb31(0x155)][_0x22fb31(0x162)](_0x2c9ddc['id']);if(!_0x42e792)return null;return{'modelRange':_0x42e792[_0x22fb31(0x9e)](),'getElement':()=>this[_0x22fb31(0x115)](_0x2c9ddc['id'])};}[_0x284793(0xc0)](_0x471946){const _0x35e596=_0x284793,_0x2def06=Array[_0x35e596(0x12d)](this[_0x35e596(0xe0)][_0x35e596(0xe2)]())[_0x35e596(0x107)](_0x591cbb=>_0x591cbb[_0x35e596(0x103)]===_0x471946);if(!_0x2def06[_0x35e596(0x184)])return null;const _0x363bd4=0x1===_0x2def06[_0x35e596(0x184)]?_0x2def06[0x0]:this[_0x35e596(0x104)](_0x2def06)[0x0],_0x54b68f=_0x2925a8(this[_0x35e596(0xd0)]),_0x334e51=_0x54b68f[_0x35e596(0x13b)][_0x35e596(0x155)][_0x35e596(0x162)](_0x363bd4['id']);if(!_0x334e51)return null;const _0x5b4d6b=_0x334e51[_0x35e596(0x9e)](),_0x577c82=_0x54b68f[_0x35e596(0x1a8)][_0x35e596(0x1a7)][_0x35e596(0x152)]();if(!_0x577c82||!_0x5b4d6b)return null;let _0x540194=_0x5b4d6b[_0x35e596(0xb0)][_0x35e596(0x14b)];for(;_0x540194[_0x35e596(0x14b)]&&_0x35e596(0x174)!==_0x540194[_0x35e596(0x14b)][_0x35e596(0x1a4)];)_0x540194=_0x540194[_0x35e596(0x14b)];if(!_0x540194||!_0x540194[_0x35e596(0x1a4)])return null;const _0x5e941f=_0x577c82[_0x35e596(0xdb)](_0x35e596(0x144)+_0x363bd4['id']+'\x22]');if(!_0x5e941f)return null;let _0x365734=null;_0x54b68f[_0x35e596(0x13b)][_0x35e596(0x10e)](_0x3c91a2=>{const _0x265a25=_0x35e596;_0x365734=_0x3c91a2[_0x265a25(0x166)](),_0x3c91a2[_0x265a25(0xae)](_0x540194[_0x265a25(0x182)](!0x0),_0x365734);});const _0x29d063=_0x54b68f[_0x35e596(0x179)][_0x35e596(0xbc)](_0x365734)[_0x35e596(0xcb)](0x0);return _0x5e941f[_0x35e596(0x133)](_0x29d063[_0x35e596(0x1a4)]);}[_0x284793(0x1a5)](_0x5ef4e8){const _0x378208=_0x284793,_0x1f194f=this[_0x378208(0x188)](_0x5ef4e8);if(!_0x1f194f[_0x378208(0x184)])return;const _0x5613bf=Array[_0x378208(0x12d)](this[_0x378208(0x110)])[_0x378208(0xc4)](),_0x998f9=Array[_0x378208(0x12d)](new Set(_0x1f194f[_0x378208(0x123)](_0x593172=>_0x593172['id'])))[_0x378208(0xc4)]();_0x5613bf[_0x378208(0xd4)]('|')!==_0x998f9[_0x378208(0xd4)]('|')&&(this[_0x378208(0x105)](),this[_0x378208(0x159)](_0x5ef4e8));}[_0x284793(0x159)](_0x2cc77d){const _0x4fbe47=_0x284793,_0x4ad821=this[_0x4fbe47(0x188)](_0x2cc77d);if(!_0x4ad821[_0x4fbe47(0x184)])return;const _0x497ddf=_0x2925a8(this[_0x4fbe47(0xd0)]),_0x354eb6=new Set(_0x4ad821[_0x4fbe47(0x123)](_0x1d8eae=>_0x1d8eae['id'])),_0x31a98d=Array[_0x4fbe47(0x12d)](_0x354eb6[_0x4fbe47(0xe2)]())[_0x4fbe47(0x123)](_0x20b781=>_0x497ddf[_0x4fbe47(0x13b)][_0x4fbe47(0x155)][_0x4fbe47(0x162)](_0x20b781))[_0x4fbe47(0x107)](_0x379fa1=>!!_0x379fa1);_0x354eb6[_0x4fbe47(0x17a)](_0x9849be=>{const _0x331874=_0x4fbe47;this[_0x331874(0x110)][_0x331874(0x100)](_0x9849be);}),_0x497ddf[_0x4fbe47(0x13b)][_0x4fbe47(0x10e)](()=>{const _0x31975a=_0x4fbe47;_0x31a98d[_0x31975a(0x17a)](_0x36c175=>{const _0x5208e8=_0x31975a;_0x497ddf[_0x5208e8(0x1a8)][_0x5208e8(0x11a)](_0x36c175);});});}[_0x284793(0x105)](){const _0x6a4e5a=_0x284793,_0xce562d=Array[_0x6a4e5a(0x12d)](this[_0x6a4e5a(0x110)]);if(!_0xce562d[_0x6a4e5a(0x184)])return;this[_0x6a4e5a(0x110)][_0x6a4e5a(0x124)]();const _0x4003b1=_0x2925a8(this[_0x6a4e5a(0xd0)]),_0x337fa8=_0xce562d[_0x6a4e5a(0x123)](_0x5ae02c=>_0x4003b1[_0x6a4e5a(0x13b)][_0x6a4e5a(0x155)][_0x6a4e5a(0x162)](_0x5ae02c))[_0x6a4e5a(0x107)](_0x26aedd=>!!_0x26aedd);_0x4003b1[_0x6a4e5a(0x13b)][_0x6a4e5a(0x10e)](()=>{const _0x16f6ba=_0x6a4e5a;_0x337fa8[_0x16f6ba(0x17a)](_0x3bd405=>{const _0x3a0d9f=_0x16f6ba;_0x4003b1[_0x3a0d9f(0x1a8)][_0x3a0d9f(0x11a)](_0x3bd405);});});}[_0x284793(0x156)](_0xda0509,_0x4f5449,_0x5bca50=_0x284793(0x158)){const _0x2f24ab=_0x284793;if(!_0xda0509)return null;let _0x42b2d0=_0xda0509[_0x2f24ab(0x14b)];for(;_0x42b2d0&&_0x42b2d0[_0x2f24ab(0x14b)]&&_0x2f24ab(0x174)!==_0x42b2d0[_0x2f24ab(0x14b)][_0x2f24ab(0x1a4)]&&!_0x4f5449[_0x2f24ab(0x13b)][_0x2f24ab(0x172)][_0x2f24ab(0xa0)](_0x42b2d0)&&!_0x4f5449[_0x2f24ab(0x13b)][_0x2f24ab(0x172)][_0x2f24ab(0x1a0)](_0x42b2d0);)_0x42b2d0=_0x42b2d0[_0x2f24ab(0x14b)];if(!_0x42b2d0||!_0x42b2d0[_0x2f24ab(0x1a4)]||_0x2f24ab(0x174)===_0x42b2d0[_0x2f24ab(0x1a4)])return null;let _0x47ab68=null;return _0x4f5449[_0x2f24ab(0x13b)][_0x2f24ab(0x10e)](_0x1e6f26=>{const _0x3b4182=_0x2f24ab;_0x47ab68=_0x3b4182(0x13a)===_0x5bca50?_0x1e6f26[_0x3b4182(0xbf)](_0x42b2d0):_0x1e6f26[_0x3b4182(0x164)](_0x42b2d0);}),_0x47ab68;}[_0x284793(0xb3)](_0x11842d,_0x26ebbb){const _0x459c59=_0x284793,_0x1a2a57=Array[_0x459c59(0x12d)](this[_0x459c59(0xe0)][_0x459c59(0x12f)]()),_0x428a8d=new Map();for(const _0x17c08e of _0x1a2a57){const _0x33c302=_0x11842d[_0x459c59(0x13b)][_0x459c59(0x155)][_0x459c59(0x162)](_0x17c08e);if(!_0x33c302)continue;const _0x10c267=_0x33c302[_0x459c59(0x177)]()[_0x459c59(0x191)][0x0];_0x428a8d[_0x459c59(0x1a3)](_0x10c267)||_0x428a8d[_0x459c59(0xbd)](_0x10c267,[]),_0x428a8d[_0x459c59(0x162)](_0x10c267)[_0x459c59(0xcd)](_0x33c302);}const _0x130887=new Set();for(const _0x37065c of _0x11842d[_0x459c59(0x13b)][_0x459c59(0x186)][_0x459c59(0x139)][_0x459c59(0xdf)]()){let _0x20a01e=-0x1,_0x1ada22=null;if(_0x459c59(0x196)===_0x37065c[_0x459c59(0x126)])_0x1ada22=new _0x38faa6(_0x37065c[_0x459c59(0x119)],_0x37065c[_0x459c59(0x119)][_0x459c59(0xbb)](_0x37065c[_0x459c59(0x184)])),_0x20a01e=_0x37065c[_0x459c59(0x119)][_0x459c59(0x191)][0x0];else{if(_0x459c59(0x17e)!==_0x37065c[_0x459c59(0x126)])continue;_0x1ada22=new _0x38faa6(_0x37065c[_0x459c59(0x119)]),_0x20a01e=_0x37065c[_0x459c59(0x119)][_0x459c59(0x191)][0x0];}const _0x5c3372=_0x428a8d[_0x459c59(0x162)](_0x20a01e)||[];if(_0x5c3372[_0x459c59(0x184)]){for(const _0x34fa4f of _0x5c3372)if(_0x1ada22[_0x459c59(0x14f)][_0x459c59(0xa4)]===_0x34fa4f[_0x459c59(0x9e)]()[_0x459c59(0x14f)][_0x459c59(0xa4)]&&(_0x459c59(0x196)!==_0x37065c[_0x459c59(0x126)]||!_0x1ada22[_0x459c59(0xf8)](_0x34fa4f[_0x459c59(0x9e)]()))&&(_0x1ada22[_0x459c59(0x10c)](_0x34fa4f[_0x459c59(0x9e)]())||_0x1ada22[_0x459c59(0xb0)][_0x459c59(0xc6)](_0x34fa4f[_0x459c59(0x9e)]()[_0x459c59(0x199)])||_0x1ada22[_0x459c59(0x199)][_0x459c59(0xc6)](_0x34fa4f[_0x459c59(0x9e)]()[_0x459c59(0xb0)]))){const _0x246bf6=this[_0x459c59(0x130)](_0x34fa4f[_0x459c59(0x1a4)]);Array[_0x459c59(0x12d)](this[_0x459c59(0xe0)][_0x459c59(0xe2)]())[_0x459c59(0x107)](_0x276bb6=>_0x276bb6[_0x459c59(0x103)]===_0x246bf6[_0x459c59(0x103)])[_0x459c59(0x17a)](_0x3a212a=>_0x130887[_0x459c59(0x100)](_0x3a212a['id']));}}}if(_0x130887[_0x459c59(0x18b)]){for(const _0xa688f4 of _0x130887)_0x26ebbb[_0x459c59(0xad)](_0xa688f4);return!0x0;}return!0x1;}[_0x284793(0x14e)](_0xfb4185){const _0x1f91ac=_0x284793;for(const {name:_0x4dca29,data:_0x1854b9}of _0xfb4185[_0x1f91ac(0x13b)][_0x1f91ac(0x186)][_0x1f91ac(0x139)][_0x1f91ac(0xe6)]()){if(!_0x4dca29[_0x1f91ac(0xf1)](fe))continue;const _0x144af4=_0x1854b9[_0x1f91ac(0xfd)],_0x401890=_0x1854b9[_0x1f91ac(0x122)],_0x18dc54=_0x144af4&&_0x1f91ac(0x170)===_0x144af4[_0x1f91ac(0x14f)][_0x1f91ac(0xa4)],_0x157f7a=_0x401890&&_0x1f91ac(0x170)===_0x401890[_0x1f91ac(0x14f)][_0x1f91ac(0xa4)];if(_0x18dc54&&_0x157f7a)continue;const _0x4481f5=this[_0x1f91ac(0x130)](_0x4dca29);this[_0x1f91ac(0xe0)][_0x1f91ac(0x162)](_0x4dca29)&&(_0x157f7a||!_0x401890?this[_0x1f91ac(0xfa)][_0x1f91ac(0xf6)](_0x1f91ac(0xa3),{'markerId':_0x4dca29,'changeId':_0x4481f5[_0x1f91ac(0x103)]}):_0x18dc54&&_0x401890&&this[_0x1f91ac(0xfa)][_0x1f91ac(0xf6)](_0x1f91ac(0x128),{'markerId':_0x4dca29,'changeId':_0x4481f5[_0x1f91ac(0x103)]}));}}[_0x284793(0x130)](_0x3c8132){const _0x3c153a=_0x284793,_0x289350=_0x3c8132[_0x3c153a(0x15f)](':'),_0x570ed5=(_0x289350[0x1]||'')[_0x3c153a(0x15f)]('_');return{'prefix':_0x289350[0x0],'groupId':_0x570ed5[0x0],'suffix':_0x570ed5[0x1]};}[_0x284793(0x11c)](_0x178de6,_0x11364f,_0x431e78){const _0xcd0c2f=_0x284793;if(_0xcd0c2f(0x196)===_0x178de6[_0xcd0c2f(0x126)]){const _0x58d5d2=_0x178de6;return new _0x39024d(this[_0xcd0c2f(0x11d)](_0x11364f[_0xcd0c2f(0x19e)](_0x58d5d2[_0xcd0c2f(0x119)][_0xcd0c2f(0xc7)]),_0x431e78),_0x58d5d2[_0xcd0c2f(0x11e)],_0x58d5d2[_0xcd0c2f(0x171)]);}if(_0xcd0c2f(0x18a)===_0x178de6[_0xcd0c2f(0x126)]&&_0x178de6[_0xcd0c2f(0x1a4)][_0xcd0c2f(0xf1)](_0xcd0c2f(0xf3))){const _0xc95fb6=_0x178de6;return new _0x32fc1a(_0xc95fb6[_0xcd0c2f(0x1a4)],_0xc95fb6[_0xcd0c2f(0xfd)],this[_0xcd0c2f(0x1aa)](_0xc95fb6[_0xcd0c2f(0x122)],_0x11364f[_0xcd0c2f(0x19e)](_0xc95fb6[_0xcd0c2f(0x122)][_0xcd0c2f(0xb0)][_0xcd0c2f(0xc7)]),_0x11364f[_0xcd0c2f(0x19e)](_0xc95fb6[_0xcd0c2f(0x122)][_0xcd0c2f(0x199)][_0xcd0c2f(0xc7)]),_0x431e78),_0xc95fb6[_0xcd0c2f(0xe0)],_0xc95fb6[_0xcd0c2f(0xb9)],_0xc95fb6[_0xcd0c2f(0x171)]);}return _0x178de6;}[_0x284793(0x192)](_0x3f6a2a){const _0x3ef588=_0x284793;if(!_0x3f6a2a[_0x3ef588(0x184)])return[];const _0x266ee4=[];let _0x9cf241=0x0,_0xbd6fe5=0x0,_0x251d86=[];for(let _0x383aec=0x0;_0x383aec<=_0x3f6a2a[_0x3ef588(0x184)];_0x383aec++){const _0x304022=_0x3f6a2a[_0x383aec],_0x32f32a=_0x3f6a2a[_0x383aec-0x1];!_0x304022||_0x32f32a&&!this[_0x3ef588(0x150)](_0x32f32a)[_0x3ef588(0xc6)](this[_0x3ef588(0xd7)](_0x304022))?(_0x266ee4[_0x3ef588(0xcd)]({'operations':_0x251d86,'operationsIsolated':_0x251d86[_0x3ef588(0x123)](_0x35260f=>this[_0x3ef588(0x114)](_0x35260f[_0x3ef588(0x147)](),-_0xbd6fe5)),'groupOffset':_0x9cf241}),_0x251d86=_0x304022?[_0x304022]:[],_0xbd6fe5+=_0x9cf241,_0x9cf241=0x0):_0x251d86[_0x3ef588(0xcd)](_0x304022),_0x304022&&_0x3ef588(0x196)===_0x304022[_0x3ef588(0x126)]&&(_0x9cf241+=_0x304022[_0x3ef588(0x16d)]);}return _0x266ee4;}[_0x284793(0xd1)](_0xb1035b,_0x5a5e64,_0xe46519,_0xd671b9=0x1){const _0x2a5172=_0x284793,_0x205b15=new _0x57a4b9({'startPosition':_0xb1035b,'direction':_0x5a5e64});let _0x42481a=0x0;for(let _0x353f81=0x0;_0x353f81<_0xd671b9;_0x353f81++){let _0x3f6d7c=0x0,_0x2240b4=!0x1,_0x531eb8=_0x2a5172(0x16f)===_0x5a5e64?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x3225aa}of _0x205b15)if(_0x3225aa['is'](_0x2a5172(0x198))){const _0x4b4274=_0x531eb8[_0x2a5172(0xf9)](_0x3225aa[_0x2a5172(0x179)]);if(_0x4b4274&&_0x4b4274[_0x2a5172(0x184)]){if(_0x3f6d7c+=_0x2a5172(0x16f)===_0x5a5e64?_0x4b4274[_0x2a5172(0xe4)]+_0x4b4274[0x0][_0x2a5172(0x184)]:_0x3225aa[_0x2a5172(0x179)][_0x2a5172(0x184)]-_0x4b4274[_0x2a5172(0xe4)],_0x4b4274[0x0][_0x2a5172(0x184)]!==_0x3225aa[_0x2a5172(0x179)][_0x2a5172(0x184)])break;_0x2240b4=!0x0,_0x531eb8=_0x2a5172(0x16f)===_0x5a5e64?/^\w+/:/\w+$/;}else{if(_0x2240b4)break;_0x3f6d7c+=_0x3225aa[_0x2a5172(0x16e)];}}else{if(_0x3225aa['is'](_0x2a5172(0xd8))){_0xe46519[_0x2a5172(0x17d)](_0x3225aa)&&!_0x2240b4&&(_0x3f6d7c+=0x1);break;}}_0x42481a+=_0x3f6d7c,_0x205b15[_0x2a5172(0x151)](_0xb1035b[_0x2a5172(0xbb)](_0x2a5172(0x16f)===_0x5a5e64?_0x42481a:-_0x42481a));}return _0x42481a;}[_0x284793(0x132)](_0x57b166,_0x9e7661){const _0x59e7d3=_0x284793,_0x145c60=_0x2925a8(this[_0x59e7d3(0xd0)])[_0x59e7d3(0x13b)][_0x59e7d3(0x172)],_0x2fcbae=this[_0x59e7d3(0xd1)](_0x57b166,_0x59e7d3(0x13e),_0x145c60,0x6),_0x27b285=this[_0x59e7d3(0xd1)](_0x9e7661,_0x59e7d3(0x16f),_0x145c60,0x6),_0x51e2d4=_0x57b166[_0x59e7d3(0xbb)](-_0x2fcbae),_0x3cad6a=_0x9e7661[_0x59e7d3(0xbb)](_0x27b285);return{'start':_0x51e2d4,'end':_0x3cad6a,'hasContentBefore':!_0x51e2d4[_0x59e7d3(0x17c)],'hasContentAfter':!_0x3cad6a[_0x59e7d3(0x194)]};}[_0x284793(0x15e)](_0x5ac9e1){const _0x5b82cf=_0x284793,_0x4c411=this[_0x5b82cf(0xd0)][_0x5b82cf(0x127)][_0x5b82cf(0x162)](_0x5b82cf(0xe7)),_0x2b8d38=new Set();_0x2925a8(this[_0x5b82cf(0xd0)])[_0x5b82cf(0x13b)][_0x5b82cf(0x10e)](_0xd06f61=>{const _0x36738a=_0x5b82cf;for(const _0x24f542 of _0x5ac9e1){const _0x95b3e=''+fe+_0x24f542[_0x36738a(0x126)]+':'+_0x24f542[_0x36738a(0x103)]+'_'+_0x4c411[_0x36738a(0xea)](_0x2b8d38);this[_0x36738a(0xe0)][_0x36738a(0xbd)](_0x95b3e,{'id':_0x95b3e,'groupId':_0x24f542[_0x36738a(0x103)],'type':_0x24f542[_0x36738a(0x126)],'content':_0x24f542[_0x36738a(0x18d)]}),_0xd06f61[_0x36738a(0x101)](_0x95b3e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xd06f61[_0x36738a(0x102)](_0x24f542[_0x36738a(0xb0)],_0x24f542[_0x36738a(0x199)])});}});}[_0x284793(0x197)](_0xe8cb41,_0x57e723,_0x2cd454){let _0x5608a8='';return()=>{const _0x3e7078=_0x39ed;if(!_0x5608a8){const _0x312b88=_0x57e723[_0x3e7078(0xbc)](_0xe8cb41,{'showSuggestionHighlights':!0x0});let _0x34940a=_0x312b88[_0x3e7078(0xcb)](0x0);if(_0x34940a['is'](_0x3e7078(0xc9))||(_0x34940a=_0x312b88),!_0x34940a)return'';let _0x12cf12=!0x1;const _0x591903=[];for(const _0x3babc7 of _0x34940a[_0x3e7078(0x111)]())_0x3babc7['is'](_0x3e7078(0xd8),_0x3e7078(0xaa))&&_0x3babc7[_0x3e7078(0x14a)](_0x3e7078(0xd2))&&(_0x12cf12=!0x1),_0x12cf12&&_0x591903[_0x3e7078(0xcd)](_0x3babc7),_0x3babc7['is'](_0x3e7078(0xd8),_0x3e7078(0xaa))&&_0x3babc7[_0x3e7078(0x14a)](_0x3e7078(0x112))&&(_0x12cf12=!0x0);_0x34940a[_0x3e7078(0x1a1)](0x0,_0x34940a[_0x3e7078(0xce)]),_0x2cd454?.[_0x3e7078(0x157)]&&_0x34940a[_0x3e7078(0x18f)]('…'),_0x34940a[_0x3e7078(0x18f)](_0x591903),_0x2cd454?.[_0x3e7078(0x190)]&&_0x34940a[_0x3e7078(0x18f)]('…');const _0x575150=_0x57e723[_0x3e7078(0x106)][_0x3e7078(0xf7)][_0x3e7078(0xc2)](_0x312b88),_0x405842=_0x57e723[_0x3e7078(0x106)][_0x3e7078(0x16c)][_0x3e7078(0xcc)](_0x575150);_0x5608a8=_0x405842;}return _0x5608a8;};}[_0x284793(0x154)](_0x53bf31,_0x2233ef){const _0x1f9d18=_0x284793;let _0xd94a63='';return()=>(_0xd94a63||(_0xd94a63=_0x2233ef[_0x1f9d18(0x137)](_0x53bf31,{'showSuggestionHighlights':!0x0})),_0xd94a63);}[_0x284793(0x135)](_0x2fce23,_0x3f61ef,_0x20ab62){let _0x20467c='';return()=>{const _0x4dcd84=_0x39ed;if(!_0x20467c){const _0x50ea73=_0x20ab62[_0x4dcd84(0xbc)](new _0x57f2f1(_0x2fce23)),_0xfad7f8=_0x20ab62[_0x4dcd84(0x106)][_0x4dcd84(0xf7)][_0x4dcd84(0xc2)](_0x50ea73)[_0x4dcd84(0xdb)](_0x4dcd84(0x125)+_0x3f61ef+'\x22]');_0x20467c=_0xfad7f8?.[_0x4dcd84(0x136)]||'';}return _0x20467c;};}[_0x284793(0x134)](_0x5db929,_0x1bfac7=0x5){const _0x316f8f=_0x284793;let _0x1178a4=_0x5db929,_0x251af9=null;for(let _0x46fd40=0x0;_0x46fd40<_0x1bfac7&&_0x1178a4;_0x46fd40++){if(!_0x1178a4[_0x316f8f(0xb7)]){_0x1178a4=_0x1178a4[_0x316f8f(0x13c)];continue;}if(!(''+_0x1178a4[_0x316f8f(0xb7)])[_0x316f8f(0xc8)](_0x316f8f(0x10b))){_0x1178a4=_0x1178a4[_0x316f8f(0x13c)];continue;}if(!_0x1178a4[_0x316f8f(0xca)](_0x316f8f(0x11b)))break;_0x251af9=_0x1178a4;break;}return _0x251af9;}[_0x284793(0x115)](_0x5eeec8){const _0x4908dd=_0x284793,_0x4e6bdd=_0x2925a8(this[_0x4908dd(0xd0)]),_0x139706=_0x4e6bdd[_0x4908dd(0x13b)][_0x4908dd(0x155)][_0x4908dd(0x162)](_0x5eeec8);return _0x139706?_0x224ce9(_0x4e6bdd[_0x4908dd(0x1a8)],_0x139706):null;}[_0x284793(0x188)](_0x26a6e3){const _0x38289c=_0x284793;return Array[_0x38289c(0x12d)](this[_0x38289c(0xe0)][_0x38289c(0xe2)]())[_0x38289c(0x107)](_0x2a2f42=>_0x2a2f42[_0x38289c(0x103)]===_0x26a6e3);}[_0x284793(0xd7)](_0x278c0f){const _0x254694=_0x284793;return _0x254694(0x196)===_0x278c0f[_0x254694(0x126)]?_0x278c0f[_0x254694(0x119)]:_0x278c0f[_0x254694(0x122)][_0x254694(0xb0)];}[_0x284793(0x150)](_0x37c568,_0x18521c=!0x1){const _0x1f67e5=_0x284793;return _0x1f67e5(0x196)===_0x37c568[_0x1f67e5(0x126)]?_0x18521c?_0x37c568[_0x1f67e5(0x119)]:_0x37c568[_0x1f67e5(0x119)][_0x1f67e5(0xbb)](_0x37c568[_0x1f67e5(0x16d)]):_0x37c568[_0x1f67e5(0x122)][_0x1f67e5(0x199)];}[_0x284793(0x114)](_0x4251e3,_0x2574e3){const _0x2bfff4=_0x284793;return _0x2bfff4(0x196)===_0x4251e3[_0x2bfff4(0x126)]?_0x4251e3[_0x2bfff4(0x119)]=_0x4251e3[_0x2bfff4(0x119)][_0x2bfff4(0xbb)](_0x2574e3):_0x2bfff4(0x18a)===_0x4251e3[_0x2bfff4(0x126)]&&_0x4251e3[_0x2bfff4(0x122)]&&(_0x4251e3[_0x2bfff4(0x122)]=new _0x38faa6(_0x4251e3[_0x2bfff4(0x122)][_0x2bfff4(0xb0)][_0x2bfff4(0xbb)](_0x2574e3),_0x4251e3[_0x2bfff4(0x122)][_0x2bfff4(0x199)][_0x2bfff4(0xbb)](_0x2574e3))),_0x4251e3;}[_0x284793(0xde)](_0x50b3ed,_0x41f0af){const _0x27e48b=_0x284793;_0x27e48b(0x196)===_0x50b3ed[_0x27e48b(0x126)]?_0x50b3ed[_0x27e48b(0x119)]=this[_0x27e48b(0x175)](_0x50b3ed[_0x27e48b(0x119)],_0x41f0af):_0x27e48b(0x18a)===_0x50b3ed[_0x27e48b(0x126)]&&_0x50b3ed[_0x27e48b(0x122)]&&(_0x50b3ed[_0x27e48b(0x122)]=this[_0x27e48b(0x108)](_0x50b3ed[_0x27e48b(0x122)],_0x41f0af));}[_0x284793(0x175)](_0x489f01,_0x3a8f7e){const _0x2e389f=_0x284793;return new _0x4c7c79(_0x3a8f7e,_0x489f01[_0x2e389f(0x191)]);}[_0x284793(0x108)](_0x5dc28c,_0x2334e1){const _0x1be569=_0x284793;return new _0x38faa6(this[_0x1be569(0x175)](_0x5dc28c[_0x1be569(0xb0)],_0x2334e1),this[_0x1be569(0x175)](_0x5dc28c[_0x1be569(0x199)],_0x2334e1));}[_0x284793(0x11d)](_0x25644e,_0x2b6ef5){return new _0x4c7c79(_0x2b6ef5,[..._0x25644e]);}[_0x284793(0x1aa)](_0x2336b6,_0x4ecaef,_0x122017,_0xf709f2){const _0x5a0eda=_0x284793;return new _0x38faa6(this[_0x5a0eda(0x11d)](_0x4ecaef,_0xf709f2),this[_0x5a0eda(0x11d)](_0x122017,_0xf709f2));}[_0x284793(0x104)](_0x2ed05b){const _0x23885e=_0x284793,_0x1688d0=_0x5ddd3d=>{const _0x2d6ab4=_0x39ed;switch(_0x5ddd3d){case _0x2d6ab4(0x196):return 0x0;case _0x2d6ab4(0x113):return 0x1;case _0x2d6ab4(0xe9):return 0x2;case _0x2d6ab4(0xdc):return 0x3;}};return _0x2ed05b[_0x23885e(0xc4)]((_0x3eb0e3,_0x37bf8c)=>_0x1688d0(_0x3eb0e3[_0x23885e(0x126)])-_0x1688d0(_0x37bf8c[_0x23885e(0x126)]));}[_0x284793(0xbe)](_0x57bc7b,_0x22d199){const _0x3fbefd=_0x284793,_0x9e888d=_0x57bc7b[_0x3fbefd(0xcb)](0x0),_0x366366=_0x22d199[_0x3fbefd(0xcb)](0x0);return!(!_0x9e888d||!_0x366366)&&((!_0x9e888d['is'](_0x3fbefd(0xd8))||!_0x366366['is'](_0x3fbefd(0xd8))||_0x9e888d[_0x3fbefd(0x1a4)]===_0x366366[_0x3fbefd(0x1a4)])&&!(_0x9e888d['is'](_0x3fbefd(0xd8))&&!_0x366366['is'](_0x3fbefd(0xd8))||!_0x9e888d['is'](_0x3fbefd(0xd8))&&_0x366366['is'](_0x3fbefd(0xd8))));}[_0x284793(0xed)](_0x496795){const _0x461058=_0x284793;return 0x1===_0x496795[_0x461058(0xce)];}[_0x284793(0x189)](_0x19b006,_0x11c753){const _0x2c9574=_0x284793;for(const _0x5afdf4 of _0x19b006[_0x2c9574(0x111)]())if(_0x5afdf4['is'](_0x2c9574(0xd8))&&!_0x11c753[_0x2c9574(0x17d)](_0x5afdf4))return!0x1;return!0x0;}[_0x284793(0x18c)](_0x3f33e4,_0x1e578c){const _0x3008fc=_0x284793;let _0x41b44b=_0x3f33e4[_0x3008fc(0xca)](_0x5dfeaa);return _0x41b44b||(_0x41b44b=_0x1e578c(),_0x3f33e4[_0x3008fc(0xa9)](_0x5dfeaa,_0x41b44b)),_0x41b44b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x195da2=_0x2ac6;(function(_0x1811c7,_0x35a6de){const _0x1bd2c5=_0x2ac6,_0x5d9de=_0x1811c7();while(!![]){try{const _0x2ed132=parseInt(_0x1bd2c5(0xeb))/0x1*(parseInt(_0x1bd2c5(0xdd))/0x2)+parseInt(_0x1bd2c5(0xb2))/0x3+parseInt(_0x1bd2c5(0xb8))/0x4+parseInt(_0x1bd2c5(0xe3))/0x5+-parseInt(_0x1bd2c5(0xa4))/0x6*(parseInt(_0x1bd2c5(0xd5))/0x7)+-parseInt(_0x1bd2c5(0xdb))/0x8+-parseInt(_0x1bd2c5(0xf0))/0x9;if(_0x2ed132===_0x35a6de)break;else _0x5d9de['push'](_0x5d9de['shift']());}catch(_0x2a8c9d){_0x5d9de['push'](_0x5d9de['shift']());}}}(_0x3f09,0x66dce));function _0x2ac6(_0x18320b,_0x5911f2){const _0x3f0944=_0x3f09();return _0x2ac6=function(_0x2ac69a,_0x552f3e){_0x2ac69a=_0x2ac69a-0x9b;let _0x419d31=_0x3f0944[_0x2ac69a];return _0x419d31;},_0x2ac6(_0x18320b,_0x5911f2);}import{ContextPlugin as _0x31d3f1}from'ckeditor5/src/core.js';import{BodyCollection as _0x457015}from'ckeditor5/src/ui.js';import{getTranslation as _0x538d16}from'../aicore/utils/common-translations.js';import{AITabs as _0x566f14}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x2a1b8f}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x195da2(0xab),_0x195da2(0x9e),_0x195da2(0xa9),_0x195da2(0xd0),_0x195da2(0xbd),_0x195da2(0xde),_0x195da2(0xc4),_0x195da2(0xac),_0x195da2(0xf1),_0x195da2(0xda),_0x195da2(0xe7),_0x195da2(0xee),_0x195da2(0xd8)];import'../../theme/common/aiheader.css';function _0x3f09(){const _0xb79bea=['AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','registerTab','forEach','hideActionsWhenResultIsReady','abortReviewStream','showChunkErrorView','getReviewCheckList','deactivateChange','createMainView','setChecks','config','showActionsWhenResultIsReady','_balloonSuggestionView','793143yQvPnS','getChangeElement','hideBalloon','detachFromDom','ai.models.showModelSelector','delegate','973324ZjSxlJ','showDiffInBalloon','init','showBalloon','showNoChangesView','acceptAllChanges','hideDiffInBalloon','isOfficialPlugin','isPremiumPlugin','setTitle','attachToDom','rejected','activateChange','requires','showResult','showCheckRunResults','status','showReviewCheckListView','fire','locale','showCheckRunResult','outdated','plugins','hideResult','toggleDiff','context','showChangeBalloon','setItemAsInactive','accepted','7XHUoIn','reviewCheckResultsView','showGeneralResultsErrorView','retryReview','showGeneralReviewCoreErrorView','dismissChange','2363744IJLJhC','setItemAsActive','9826GmWqft','leaveReviewCoreResultList','showReviewCheckList','showReviewCompletedView','hideChangeBalloon','get','719185DoNCgo','error-chunk','_bodyCollection','error-general','learnMore','setActiveStateInResults','find','addCheckRunResult','152SgsQJY','getResults','setAvailableChecks','finishReview','hasChecks','1010673fcevnd','acceptChange','showReviewCheckResultsView','setCheckResultTitle','destroy','element','runReviewCheck','AITabs','updateChangeState','resetActiveStateInResults','reviewCheckListView','_mainView','3415404yAVBwP'];_0x3f09=function(){return _0xb79bea;};return _0x3f09();}import'../../theme/common/ainotification.css';import'../../theme/common/aibutton.css';import'../../theme/common/aitrackchanges.css';import'../../theme/aireviewcore/aireviewcore.css';export class AIReviewCoreUI extends _0x31d3f1{[_0x195da2(0xa3)];[_0x195da2(0xb1)];[_0x195da2(0xe5)];static get[_0x195da2(0xc5)](){return[_0x566f14];}static get[_0x195da2(0xbf)](){return!0x0;}static get[_0x195da2(0xc0)](){return!0x0;}constructor(_0x3b3051){const _0x5e818a=_0x195da2;super(_0x3b3051),this[_0x5e818a(0xe5)]=new _0x457015(this[_0x5e818a(0xd1)][_0x5e818a(0xcb)]),this[_0x5e818a(0xe5)][_0x5e818a(0xc2)](),this[_0x5e818a(0xa3)]=this[_0x5e818a(0xad)](),this[_0x5e818a(0xa3)][_0x5e818a(0xb7)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x5e818a(0xb1)]=new _0x2a1b8f(this[_0x5e818a(0xd1)][_0x5e818a(0xcb)],this[_0x5e818a(0xe5)]),this[_0x5e818a(0xb1)][_0x5e818a(0xb7)](_0x5e818a(0xf1),_0x5e818a(0xda),_0x5e818a(0xac))['to'](this);}[_0x195da2(0xba)](){const _0x2a0c1f=_0x195da2,_0x4c7032=this[_0x2a0c1f(0xd1)][_0x2a0c1f(0xce)][_0x2a0c1f(0xe2)](_0x2a0c1f(0x9f));this[_0x2a0c1f(0xa6)](_0x4c7032);}[_0x195da2(0x9c)](){const _0x3b508f=_0x195da2;this[_0x3b508f(0xe5)][_0x3b508f(0xb5)](),super[_0x3b508f(0x9c)]();}[_0x195da2(0xed)](_0x1bf3e7){const _0x1712f9=_0x195da2;if(!this[_0x1712f9(0xa3)][_0x1712f9(0xa2)][_0x1712f9(0xef)]()){const _0x231435=!this[_0x1712f9(0xd1)][_0x1712f9(0xaf)][_0x1712f9(0xe2)](_0x1712f9(0xb6));this[_0x1712f9(0xa3)][_0x1712f9(0xa2)][_0x1712f9(0xae)](_0x1bf3e7,_0x231435);}this[_0x1712f9(0xa3)][_0x1712f9(0xc9)]();}[_0x195da2(0xdf)](){const _0x3381f0=_0x195da2;this[_0x3381f0(0xca)](_0x3381f0(0xab));}[_0x195da2(0xc7)](_0x5d544f){const _0x5c9038=_0x195da2;_0x5d544f&&(_0x5c9038(0xe6)!==_0x5d544f[_0x5c9038(0xc8)]?_0x5c9038(0xe4)!==_0x5d544f[_0x5c9038(0xc8)]?this[_0x5c9038(0xa3)][_0x5c9038(0xf2)]():this[_0x5c9038(0xaa)]():this[_0x5c9038(0xd7)]());}[_0x195da2(0xcc)](_0x4b6abc){const _0x29faf6=_0x195da2;this[_0x29faf6(0xa3)][_0x29faf6(0xea)](_0x4b6abc);}[_0x195da2(0xd7)](){const _0x18f9bb=_0x195da2;this[_0x18f9bb(0xa3)][_0x18f9bb(0xd7)]();}[_0x195da2(0xd9)](_0x1abba5){const _0x105690=_0x195da2;this[_0x105690(0xa3)][_0x105690(0xd9)](_0x1abba5??_0x538d16(this[_0x105690(0xd1)][_0x105690(0xcb)],_0x105690(0xa5)));}[_0x195da2(0xaa)](){const _0x21238a=_0x195da2;this[_0x21238a(0xa3)][_0x21238a(0xaa)]();}[_0x195da2(0x9b)](_0x249e72,_0x578e3b){const _0x5c1642=_0x195da2;this[_0x5c1642(0xa3)][_0x5c1642(0xd6)][_0x5c1642(0xc1)](_0x249e72,_0x578e3b);}[_0x195da2(0xe8)](_0x38e81d){const _0xa6d91d=_0x195da2;this[_0xa6d91d(0xa3)][_0xa6d91d(0xd6)][_0xa6d91d(0xec)]()[_0xa6d91d(0xa7)](_0x17ce0a=>{const _0x2816fb=_0xa6d91d;_0x17ce0a['id']===_0x38e81d&&_0x17ce0a[_0x2816fb(0xdc)]();});}[_0x195da2(0xa1)](){const _0x1c67a3=_0x195da2;this[_0x1c67a3(0xa3)][_0x1c67a3(0xd6)][_0x1c67a3(0xec)]()[_0x1c67a3(0xa7)](_0x5c51af=>_0x5c51af[_0x1c67a3(0xd3)]());}[_0x195da2(0xa0)](_0x1acf2e,_0x19984e){const _0x2b4246=_0x195da2;_0x2b4246(0xd4)===_0x19984e||_0x2b4246(0xc3)===_0x19984e||_0x2b4246(0xcd)===_0x19984e?this[_0x2b4246(0xa3)][_0x2b4246(0xd6)][_0x2b4246(0xcf)](_0x1acf2e,_0x19984e):this[_0x2b4246(0xa3)][_0x2b4246(0xd6)][_0x2b4246(0xc6)](_0x1acf2e,_0x19984e);}[_0x195da2(0xe0)](){const _0x34bf6c=_0x195da2;this[_0x34bf6c(0xa3)][_0x34bf6c(0xe0)]();}[_0x195da2(0xb0)](){const _0x363a4a=_0x195da2;this[_0x363a4a(0xa3)][_0x363a4a(0xb0)]();}[_0x195da2(0xbc)](){const _0x44b762=_0x195da2;this[_0x44b762(0xa3)][_0x44b762(0xbc)]();}[_0x195da2(0xa8)](){const _0x454ce5=_0x195da2;this[_0x454ce5(0xa3)][_0x454ce5(0xa8)]();}[_0x195da2(0xd2)](_0x26c8de,_0x2d9fdf,_0x2dfe0e,_0x26e9a5,_0x336534,_0x5b16e2){const _0x1bed73=_0x195da2;this[_0x1bed73(0xb1)][_0x1bed73(0xbb)](_0x26c8de,_0x2d9fdf,_0x2dfe0e,_0x26e9a5,_0x336534,_0x5b16e2);}[_0x195da2(0xe1)](){const _0x10f53f=_0x195da2;this[_0x10f53f(0xb1)][_0x10f53f(0xb4)]();}[_0x195da2(0xbe)](){const _0x3fbefd=_0x195da2;this[_0x3fbefd(0xb1)][_0x3fbefd(0xbe)]();}[_0x195da2(0xb9)](){const _0x40655c=_0x195da2;this[_0x40655c(0xb1)][_0x40655c(0xb9)]();}[_0x195da2(0xb3)](_0x59477f){const _0x3529a5=_0x195da2,_0x1edfd9=this[_0x3529a5(0xa3)][_0x3529a5(0xd6)][_0x3529a5(0xec)]()[_0x3529a5(0xe9)](_0x16f3c7=>_0x16f3c7['id']===_0x59477f);return _0x1edfd9?_0x1edfd9[_0x3529a5(0x9d)]:null;}[_0x195da2(0xac)](){const _0x14f133=_0x195da2;this[_0x14f133(0xb1)][_0x14f133(0xac)]();}}
|