@ckeditor/ckeditor5-ai 47.7.2 → 47.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/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.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
|
-
const
|
|
23
|
+
function _0x5da6(_0x501ec9,_0x500562){const _0x3aeee4=_0x3aee();return _0x5da6=function(_0x5da630,_0x520f47){_0x5da630=_0x5da630-0xfd;let _0x458329=_0x3aeee4[_0x5da630];return _0x458329;},_0x5da6(_0x501ec9,_0x500562);}const _0x132612=_0x5da6;(function(_0x1dea93,_0x6e007d){const _0x32aa6b=_0x5da6,_0x351382=_0x1dea93();while(!![]){try{const _0x49b2df=parseInt(_0x32aa6b(0x116))/0x1+-parseInt(_0x32aa6b(0x105))/0x2*(parseInt(_0x32aa6b(0x101))/0x3)+parseInt(_0x32aa6b(0x10e))/0x4*(parseInt(_0x32aa6b(0x111))/0x5)+-parseInt(_0x32aa6b(0x11d))/0x6*(parseInt(_0x32aa6b(0x104))/0x7)+-parseInt(_0x32aa6b(0x10c))/0x8*(-parseInt(_0x32aa6b(0x107))/0x9)+parseInt(_0x32aa6b(0x11c))/0xa+parseInt(_0x32aa6b(0x11e))/0xb*(-parseInt(_0x32aa6b(0x106))/0xc);if(_0x49b2df===_0x6e007d)break;else _0x351382['push'](_0x351382['shift']());}catch(_0x244105){_0x351382['push'](_0x351382['shift']());}}}(_0x3aee,0x1a4f6));import{CKEditorError as _0x276641,compareArrays as _0x31b585}from'ckeditor5/src/utils.js';import{getNodePath as _0x1986a8,isText as _0x552fa1,getChildren as _0x57bfb0,isDocument as _0x559ba5,getParent as _0x57f07f,textContent as _0x48d496,hasChildren as _0x2325e2}from'./htmlparser.js';export class DocumentPosition{[_0x132612(0x11f)];[_0x132612(0x10f)];[_0x132612(0xfe)];constructor(_0x378eb2,_0x332f01,_0xe08c30){const _0x4dcac8=_0x132612;if(_0x552fa1(_0x332f01)&&_0xe08c30>_0x332f01[_0x4dcac8(0x117)][_0x4dcac8(0x10d)])throw new _0x276641(_0x4dcac8(0x108),null,{'index':_0xe08c30,'parent':_0x332f01});if(_0x2325e2(_0x332f01)&&_0xe08c30>_0x57bfb0(_0x332f01)[_0x4dcac8(0x10d)])throw new _0x276641(_0x4dcac8(0x108),null,{'index':_0xe08c30,'parent':_0x332f01});if(_0xe08c30<0x0)throw new _0x276641(_0x4dcac8(0x108),null,{'index':_0xe08c30,'parent':_0x332f01});this[_0x4dcac8(0x11f)]=_0x332f01,this[_0x4dcac8(0x10f)]=_0xe08c30,this[_0x4dcac8(0xfe)]=_0x378eb2;}get[_0x132612(0x11a)](){const _0x1357f6=_0x132612;return[..._0x1986a8(this[_0x1357f6(0x11f)]),this[_0x1357f6(0x10f)]];}[_0x132612(0x110)](_0x44724f){const _0x240171=_0x132612;return this[_0x240171(0xfe)]==_0x44724f[_0x240171(0xfe)]&&_0x240171(0xfd)===_0x31b585(this[_0x240171(0x11a)],_0x44724f[_0x240171(0x11a)]);}get[_0x132612(0x10a)](){const _0x19c694=_0x132612;if(_0x2325e2(this[_0x19c694(0x11f)])){const _0x84633d=_0x57bfb0(this[_0x19c694(0x11f)])[this[_0x19c694(0x10f)]];if(_0x84633d)return _0x84633d;{const _0x2d176f=DocumentPosition[_0x19c694(0x118)](this[_0x19c694(0xfe)],this[_0x19c694(0x11f)]);if(_0x2d176f)return _0x2d176f[_0x19c694(0x10a)];}}return null;}get[_0x132612(0x114)](){const _0x2fef6f=_0x132612;if(_0x2325e2(this[_0x2fef6f(0x11f)])){const _0x36c850=_0x57bfb0(this[_0x2fef6f(0x11f)])[this[_0x2fef6f(0x10f)]-0x1];if(_0x36c850)return _0x36c850;{const _0x3d945d=DocumentPosition[_0x2fef6f(0x11b)](this[_0x2fef6f(0xfe)],this[_0x2fef6f(0x11f)]);if(_0x3d945d)return _0x3d945d[_0x2fef6f(0x114)];}}return null;}[_0x132612(0x100)](_0x54329c=_0x132612(0xff)){const _0x435537=_0x132612;if(!_0x552fa1(this[_0x435537(0x11f)]))return this;const _0x4c450c=this[_0x435537(0x11a)][this[_0x435537(0x11a)][_0x435537(0x10d)]-0x1],_0x21a936=_0x48d496(this[_0x435537(0x11f)])[_0x435537(0x119)](/(?:\s*\S+\s*)/g);let _0x564744=0x0,_0x5875a3=_0x4c450c;for(const _0x434a10 of _0x21a936){if(_0x564744+_0x434a10[_0x435537(0x10d)]===_0x4c450c)return this;if(_0x564744+_0x434a10[_0x435537(0x10d)]>_0x4c450c){_0x5875a3=_0x435537(0xff)===_0x54329c?_0x564744:_0x564744+_0x434a10[_0x435537(0x10d)];break;}_0x564744+=_0x434a10[_0x435537(0x10d)];}return DocumentPosition[_0x435537(0x113)](this[_0x435537(0xfe)],this[_0x435537(0x11f)],_0x5875a3);}static[_0x132612(0x118)](_0x5934cc,_0x4882a8){const _0x4cf5ef=_0x132612;if(_0x559ba5(_0x4882a8))return null;const _0x4eb3c7=_0x57f07f(_0x4882a8);return DocumentPosition[_0x4cf5ef(0x113)](_0x5934cc,_0x4eb3c7,_0x57bfb0(_0x4eb3c7)[_0x4cf5ef(0x102)](_0x4882a8)+0x1);}static[_0x132612(0x11b)](_0x285466,_0x2c3a13){const _0x12a908=_0x132612;if(_0x559ba5(_0x2c3a13))return null;const _0x35aa37=_0x57f07f(_0x2c3a13);return DocumentPosition[_0x12a908(0x113)](_0x285466,_0x35aa37,_0x57bfb0(_0x35aa37)[_0x12a908(0x102)](_0x2c3a13));}static[_0x132612(0x113)](_0x493810,_0x52702a,_0x2126f9=_0x132612(0xff)){const _0x39a5b7=_0x132612;return new DocumentPosition(_0x493810,_0x52702a,_0x39a5b7(0xff)===_0x2126f9?0x0:_0x39a5b7(0x115)===_0x2126f9?_0x552fa1(_0x52702a)?_0x52702a[_0x39a5b7(0x117)][_0x39a5b7(0x10d)]:_0x57bfb0(_0x52702a)[_0x39a5b7(0x10d)]:_0x2126f9);}static[_0x132612(0x10b)](_0x4b4533,_0x4129a1){const _0x52dc8d=_0x132612;if(!_0x4129a1[_0x52dc8d(0x10d)])throw new _0x276641(_0x52dc8d(0x112),null,{'path':_0x4129a1});const _0x4ba3f9=_0x4129a1[_0x52dc8d(0x109)](0x0,-0x1)[_0x52dc8d(0x103)]((_0x360142,_0x6a05a6)=>_0x552fa1(_0x360142)?_0x360142:_0x57bfb0(_0x360142)[_0x6a05a6],_0x4b4533);return DocumentPosition[_0x52dc8d(0x113)](_0x4b4533,_0x4ba3f9,_0x4129a1[_0x4129a1[_0x52dc8d(0x10d)]-0x1]);}}function _0x3aee(){const _0xd03b93=['1383PeClyR','indexOf','reduce','581zSrTNi','352BgCNvm','7152PcxQYB','689598QrNCiQ','ai-documentposition-index-out-of-bounds','slice','nextNode','createFromPath','8wFYeTt','length','84XoUvjT','index','isEqual','40415HLngVn','ai-documentposition-createfrompath-path-cannot-be-empty','createAt','previousNode','end','87325nyPiOO','data','createAfter','match','path','createBefore','53870mYXPkX','9822ocWQvV','264TSIZLt','parent','same','document','start','getNudgedToWordBoundary'];_0x3aee=function(){return _0xd03b93;};return _0x3aee();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x503425=_0x5728;(function(_0x51be6e,_0x3334c2){const _0x1f235f=_0x5728,_0x1fda2c=_0x51be6e();while(!![]){try{const _0x520c84=parseInt(_0x1f235f(0xba))/0x1+-parseInt(_0x1f235f(0xbe))/0x2*(parseInt(_0x1f235f(0xc8))/0x3)+parseInt(_0x1f235f(0xd4))/0x4+parseInt(_0x1f235f(0xc5))/0x5*(-parseInt(_0x1f235f(0xcc))/0x6)+parseInt(_0x1f235f(0xb8))/0x7*(-parseInt(_0x1f235f(0xd1))/0x8)+-parseInt(_0x1f235f(0xc1))/0x9*(-parseInt(_0x1f235f(0xca))/0xa)+parseInt(_0x1f235f(0xc6))/0xb*(parseInt(_0x1f235f(0xbc))/0xc);if(_0x520c84===_0x3334c2)break;else _0x1fda2c['push'](_0x1fda2c['shift']());}catch(_0x3f092d){_0x1fda2c['push'](_0x1fda2c['shift']());}}}(_0x49e6,0x1dd70));import{DocumentPosition as _0x41b57a}from'./documentposition.js';function _0x5728(_0x56a53f,_0x5b80a2){const _0x49e61e=_0x49e6();return _0x5728=function(_0x572860,_0x1da338){_0x572860=_0x572860-0xb5;let _0x5a32ce=_0x49e61e[_0x572860];return _0x5a32ce;},_0x5728(_0x56a53f,_0x5b80a2);}import{clone as _0x398ba7,getParents as _0x59249e,Document as _0x23118c,Text as _0x3a9dee,isTag as _0x3f1ca1,isText as _0x208928,replaceElement as _0x2b916f,removeElement as _0x4c554b}from'./htmlparser.js';function _0x49e6(){const _0x2b489d=['getNudgedToWordBoundary','3040mgrfSf','55abBGML','start','579CHjokb','parent','120VEeDvk','end','1176tHDDJV','includes','forEach','length','getContent','16nOsKuf','data','lastChild','457120fgZwuB','isEqual','reverse','previousNode','createBefore','path','createAt','703514YdpymX','createAfter','151291gFMhAU','createFromPath','156336ATYkkM','push','1294wizXOn','firstChild','nextNode','177417mhMjrp','slice','document'];_0x49e6=function(){return _0x2b489d;};return _0x49e6();}export class DocumentRange{[_0x503425(0xc7)];[_0x503425(0xcb)];constructor(_0xde914a,_0x4e2b37){const _0x48b905=_0x503425;this[_0x48b905(0xc7)]=_0xde914a,this[_0x48b905(0xcb)]=_0x4e2b37;}[_0x503425(0xd5)](_0xaad9c7){const _0x3d7af2=_0x503425;return this==_0xaad9c7||this[_0x3d7af2(0xc7)][_0x3d7af2(0xd5)](_0xaad9c7[_0x3d7af2(0xc7)])&&this[_0x3d7af2(0xcb)][_0x3d7af2(0xd5)](_0xaad9c7[_0x3d7af2(0xcb)]);}[_0x503425(0xc4)](){const _0x221373=_0x503425;return new DocumentRange(this[_0x221373(0xc7)][_0x221373(0xc4)](_0x221373(0xc7)),this[_0x221373(0xcb)][_0x221373(0xc4)](_0x221373(0xcb)));}[_0x503425(0xd0)](){const _0x34973f=_0x503425,_0x486065=_0x398ba7(this[_0x34973f(0xc7)][_0x34973f(0xc3)]),_0x569075=_0x41b57a[_0x34973f(0xbb)](_0x486065,this[_0x34973f(0xc7)][_0x34973f(0xb6)]),_0xfa9d0=_0x41b57a[_0x34973f(0xbb)](_0x486065,this[_0x34973f(0xcb)][_0x34973f(0xb6)]);let _0x4a4fc3,_0x466004;if(_0x208928(_0x569075[_0x34973f(0xc9)])){const _0x4f7273=_0x569075[_0x34973f(0xb6)][_0x569075[_0x34973f(0xb6)][_0x34973f(0xcf)]-0x1],_0xc27315=new _0x3a9dee(_0x569075[_0x34973f(0xc9)][_0x34973f(0xd2)][_0x34973f(0xc2)](_0x4f7273));_0x2b916f(_0x569075[_0x34973f(0xc9)],_0xc27315),_0x4a4fc3=_0xc27315;}else _0x4a4fc3=_0x569075[_0x34973f(0xc0)];if(_0x208928(_0xfa9d0[_0x34973f(0xc9)])){const _0x57b4d2=_0xfa9d0[_0x34973f(0xb6)][_0xfa9d0[_0x34973f(0xb6)][_0x34973f(0xcf)]-0x1],_0x28e006=new _0x3a9dee(_0xfa9d0[_0x34973f(0xc9)][_0x34973f(0xd2)][_0x34973f(0xc2)](0x0,_0x57b4d2));_0x2b916f(_0xfa9d0[_0x34973f(0xc9)],_0x28e006),_0x466004=_0x28e006;}else _0x466004=_0xfa9d0[_0x34973f(0xd7)];if(!(_0x4a4fc3&&_0x466004&&_0x486065[_0x34973f(0xbf)]&&_0x486065[_0x34973f(0xd3)]))return new _0x23118c([]);const _0x5b1f68=_0x59249e(_0x4a4fc3),_0x4a1fc7=_0x59249e(_0x466004),_0x2e9c94=[],_0xde8374=[];let _0x53baff=_0x486065[_0x34973f(0xbf)];for(;_0x53baff&&_0x53baff!==_0x4a4fc3;){let _0x3f66c0;_0x5b1f68[_0x34973f(0xcd)](_0x53baff)||_0x2e9c94[_0x34973f(0xbd)](_0x53baff),_0x3f66c0=_0x3f1ca1(_0x53baff)?_0x41b57a[_0x34973f(0xb7)](_0x486065,_0x53baff,_0x34973f(0xc7)):_0x41b57a[_0x34973f(0xb9)](_0x486065,_0x53baff),_0x53baff=_0x3f66c0?_0x3f66c0[_0x34973f(0xc0)]:null;}for(_0x53baff=_0x486065[_0x34973f(0xd3)];_0x53baff&&_0x53baff!==_0x466004;){let _0x53250d;_0x4a1fc7[_0x34973f(0xcd)](_0x53baff)||_0xde8374[_0x34973f(0xbd)](_0x53baff),_0x53250d=_0x3f1ca1(_0x53baff)?_0x41b57a[_0x34973f(0xb7)](_0x486065,_0x53baff,_0x34973f(0xcb)):_0x41b57a[_0x34973f(0xb5)](_0x486065,_0x53baff),_0x53baff=_0x53250d?_0x53250d[_0x34973f(0xd7)]:null;}return _0x2e9c94[_0x34973f(0xce)](_0x3c0709=>{_0x4c554b(_0x3c0709);}),_0xde8374[_0x34973f(0xd6)]()[_0x34973f(0xce)](_0x5849f4=>{_0x4c554b(_0x5849f4);}),_0x486065;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1ca7fd=_0x3c19;function _0x3c19(_0x1a9618,_0x5d91b4){const _0xe60653=_0xe606();return _0x3c19=function(_0x3c1956,_0x9dd922){_0x3c1956=_0x3c1956-0x12e;let _0x136c84=_0xe60653[_0x3c1956];return _0x136c84;},_0x3c19(_0x1a9618,_0x5d91b4);}(function(_0x178402,_0x15becb){const _0x47dd53=_0x3c19,_0x562352=_0x178402();while(!![]){try{const _0x4a9238=parseInt(_0x47dd53(0x138))/0x1*(-parseInt(_0x47dd53(0x12f))/0x2)+-parseInt(_0x47dd53(0x139))/0x3*(parseInt(_0x47dd53(0x134))/0x4)+-parseInt(_0x47dd53(0x130))/0x5+parseInt(_0x47dd53(0x137))/0x6+parseInt(_0x47dd53(0x131))/0x7*(parseInt(_0x47dd53(0x132))/0x8)+parseInt(_0x47dd53(0x133))/0x9+parseInt(_0x47dd53(0x135))/0xa;if(_0x4a9238===_0x15becb)break;else _0x562352['push'](_0x562352['shift']());}catch(_0x3058c8){_0x562352['push'](_0x562352['shift']());}}}(_0xe606,0xbe373));function _0xe606(){const _0x1662d8=['5588PnAoeP','7418070ncaOZA','19838nPxmkV','1168NxafGa','10912941YOUePY','60xqPDMi','23747100xTuPum','dislike','4990512IZgPSs','397DPdLPX','292164ErSDta','mouseLeaveSuggestion','showChangeInText','insertSuggestion','like','rejectSuggestion','applySuggestion','mouseOverSuggestion','toggleSuggestionDisplayMode'];_0xe606=function(){return _0x1662d8;};return _0xe606();}export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x1ca7fd(0x13b),_0x1ca7fd(0x13c),_0x1ca7fd(0x13f),_0x1ca7fd(0x13e),_0x1ca7fd(0x140),_0x1ca7fd(0x13a),_0x1ca7fd(0x12e),_0x1ca7fd(0x13d),_0x1ca7fd(0x136)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x59f6(){var _0x399615=['warn','860920RmQHCj','125MZtJyb','1786257uOUlPS','77520EiPGSA','editors','1530FpXFdg','10rQPAyr','get','52664ueIXTR','ai-get-editor-from-context-no-editor','length','9pdVRci','70580UddpFO','565166euzuhW','108gOpiBD','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.'];_0x59f6=function(){return _0x399615;};return _0x59f6();}function _0x3975(_0x44bdba,_0x4a66f2){var _0x59f65b=_0x59f6();return _0x3975=function(_0x39753d,_0x3efae8){_0x39753d=_0x39753d-0x1a9;var _0x33b7d0=_0x59f65b[_0x39753d];return _0x33b7d0;},_0x3975(_0x44bdba,_0x4a66f2);}(function(_0x2cbacf,_0x2d3264){var _0x44c995=_0x3975,_0x398665=_0x2cbacf();while(!![]){try{var _0xbfbe50=parseInt(_0x44c995(0x1b6))/0x1*(parseInt(_0x44c995(0x1a9))/0x2)+-parseInt(_0x44c995(0x1af))/0x3*(parseInt(_0x44c995(0x1b0))/0x4)+-parseInt(_0x44c995(0x1b5))/0x5+-parseInt(_0x44c995(0x1b8))/0x6+parseInt(_0x44c995(0x1b1))/0x7+parseInt(_0x44c995(0x1ac))/0x8*(parseInt(_0x44c995(0x1b2))/0x9)+-parseInt(_0x44c995(0x1aa))/0xa*(-parseInt(_0x44c995(0x1b7))/0xb);if(_0xbfbe50===_0x2d3264)break;else _0x398665['push'](_0x398665['shift']());}catch(_0x35ff7a){_0x398665['push'](_0x398665['shift']());}}}(_0x59f6,0x2bdfb));import{CKEditorError as _0x22c423}from'ckeditor5/src/utils.js';import{Editor as _0x141b86}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x550471){var _0x406791=_0x3975;if(_0x550471 instanceof _0x141b86)return _0x550471;if(_0x550471?.[_0x406791(0x1b9)]&&_0x550471[_0x406791(0x1b9)][_0x406791(0x1ab)](0x0))return _0x550471[_0x406791(0x1b9)][_0x406791(0x1ae)]>0x1&&console[_0x406791(0x1b4)](_0x406791(0x1b3)),_0x550471[_0x406791(0x1b9)][_0x406791(0x1ab)](0x0);throw new _0x22c423(_0x406791(0x1ad));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x45a01e,_0x50a99a){const _0x2373cd=_0x35a5,_0x341c2c=_0x45a01e();while(!![]){try{const _0x599126=parseInt(_0x2373cd(0x74))/0x1*(parseInt(_0x2373cd(0x89))/0x2)+-parseInt(_0x2373cd(0x7b))/0x3*(-parseInt(_0x2373cd(0x85))/0x4)+parseInt(_0x2373cd(0x98))/0x5*(parseInt(_0x2373cd(0x96))/0x6)+-parseInt(_0x2373cd(0x7c))/0x7*(parseInt(_0x2373cd(0x87))/0x8)+-parseInt(_0x2373cd(0x99))/0x9+-parseInt(_0x2373cd(0x78))/0xa+-parseInt(_0x2373cd(0x82))/0xb;if(_0x599126===_0x50a99a)break;else _0x341c2c['push'](_0x341c2c['shift']());}catch(_0x65aca6){_0x341c2c['push'](_0x341c2c['shift']());}}}(_0x672d,0xa02e2));function _0x672d(){const _0x27d568=['new','3356748ivZYNx','21jaaxba','getDocumentContext','oldRange','markers','get','getOperations','972147nATWIe','history','name','4AkqQsi','document','1922144mbVfuK','map','94pfptaR','content','previousSibling','operationsA','documentContextContent','type','filter','anchorId','data-id','shift','node','getDiff','cloneNode','198SxTBzw','marker','6890fkFnoi','1838106BttaEQ','length','23678QmcKpF','removed','model','getRange','6077430SgcmQa','version'];_0x672d=function(){return _0x27d568;};return _0x672d();}import{transformOperationSets as _0x37c79a}from'ckeditor5/src/engine.js';import{append as _0x7c5b2f,findByAttribute as _0x38bdfb,prependChild as _0x409670,removeElement as _0x5d0f8f,serialize as _0x260ae3}from'./htmlparser.js';function _0x35a5(_0x542492,_0x29942b){const _0x672ddb=_0x672d();return _0x35a5=function(_0x35a55a,_0x4f95b8){_0x35a55a=_0x35a55a-0x74;let _0x5ab4fb=_0x672ddb[_0x35a55a];return _0x5ab4fb;},_0x35a5(_0x542492,_0x29942b);}export function getOperationsFromReply({editor:_0x4fd54d,interaction:_0x1c5dd6,reply:_0x31b782,groups:_0x4060b9,transform:_0x57c7a1,documentCompare:_0x29d8ae,documentCompareOptions:_0x72784b}){const _0x192129=_0x35a5,_0x547328=_0x1c5dd6[_0x192129(0x7d)]();if(!_0x547328)return[];const _0x2eecbf=_0x547328[_0x192129(0x8a)],_0x278134=_0x547328[_0x192129(0x79)],_0x158559=_0x31b782[_0x192129(0x8d)][_0x192129(0x95)](!0x0);for(const {changes:_0xf51e28}of _0x4060b9){const _0x32990b=_0xf51e28[_0x192129(0x8f)](_0xe0a940=>_0x192129(0x7a)!=_0xe0a940[_0x192129(0x8e)])[_0x192129(0x88)](_0x513011=>_0x38bdfb(_0x192129(0x91),_0x513011['id'],_0x158559)),_0x2694d4=_0xf51e28[_0x192129(0x8f)](_0x190be6=>_0x192129(0x75)!=_0x190be6[_0x192129(0x8e)])[_0x192129(0x88)](_0x595670=>_0x595670[_0x192129(0x93)][_0x192129(0x95)](!0x0));let _0x337e26=null;if(_0x32990b[_0x192129(0x9a)]){_0x337e26=_0x32990b[0x0][_0x192129(0x8b)];for(let _0x28eace=0x0;_0x28eace<_0x32990b[_0x192129(0x9a)];_0x28eace++)_0x5d0f8f(_0x32990b[_0x28eace]);}if(_0x2694d4[_0x192129(0x9a)]){_0x337e26||(_0xf51e28[0x0][_0x192129(0x90)]?_0x337e26=_0x38bdfb(_0x192129(0x91),_0xf51e28[0x0][_0x192129(0x90)],_0x158559):(_0x337e26=_0x2694d4[_0x192129(0x92)](),_0x409670(_0x158559,_0x337e26)));for(let _0x1f3f49=0x0;_0x1f3f49<_0x2694d4[_0x192129(0x9a)];_0x1f3f49++)_0x7c5b2f(_0x337e26,_0x2694d4[_0x1f3f49]),_0x337e26=_0x2694d4[_0x1f3f49];}}const _0x23b52f=_0x260ae3(_0x158559),_0x4473af=_0x29d8ae[_0x192129(0x94)](_0x2eecbf,_0x23b52f,_0x72784b)[_0x192129(0x81)]();if(_0x57c7a1){const _0x258f13=_0x4fd54d[_0x192129(0x76)][_0x192129(0x86)][_0x192129(0x83)][_0x192129(0x81)](_0x278134),_0x2aead7={'document':_0x4fd54d[_0x192129(0x76)][_0x192129(0x86)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x37c79a(_0x4473af,_0x258f13,_0x2aead7)[_0x192129(0x8c)];}return _0x4473af;}export function fixMarkerOperationOldRange(_0x537078,_0x280486){const _0x321c67=_0x35a5;if(_0x321c67(0x97)!=_0x280486[_0x321c67(0x8e)])return;const _0x353b5c=_0x537078[_0x321c67(0x76)][_0x321c67(0x7f)][_0x321c67(0x80)](_0x280486[_0x321c67(0x84)]);_0x353b5c&&(_0x280486[_0x321c67(0x7e)]=_0x353b5c[_0x321c67(0x77)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x57917d,_0x308aae){const _0x4623f7=_0x439f,_0x5b1871=_0x57917d();while(!![]){try{const _0x57154f=parseInt(_0x4623f7(0xac))/0x1*(-parseInt(_0x4623f7(0x9b))/0x2)+parseInt(_0x4623f7(0xc4))/0x3+-parseInt(_0x4623f7(0xe9))/0x4+parseInt(_0x4623f7(0xb5))/0x5+parseInt(_0x4623f7(0xf2))/0x6*(parseInt(_0x4623f7(0xf0))/0x7)+-parseInt(_0x4623f7(0x107))/0x8*(-parseInt(_0x4623f7(0xbc))/0x9)+parseInt(_0x4623f7(0xc2))/0xa;if(_0x57154f===_0x308aae)break;else _0x5b1871['push'](_0x5b1871['shift']());}catch(_0x32c930){_0x5b1871['push'](_0x5b1871['shift']());}}}(_0x3dc4,0xbbc5c));import{findOne as _0x2afa0e,getAttribute as _0x5a1537,Document as _0x27116c,serialize as _0x41cafb,parse as _0xfeea39}from'./htmlparser.js';import{fixElementSuggestionRange as _0x5418ac}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x5cf2cf,_DetachOperation as _0x4d4022,_removeFromModelNodeList as _0x2afe10,_insertIntoModelNodeList as _0x4e5063}from'ckeditor5/src/engine.js';function _0x3dc4(){const _0x2e29cd=['removeAttribute','model','delete','isAfter','push','data','removed','add','232tsrDrM','POSITIVE_INFINITY','setTo','oldValue','insert','suggestion:insertion:','path','textNode','isObject','2hntndI','clone','element','parse','getDiff','getShiftedBy','_getTransformedByInsertion','oldName','forward','createRange','createSelection','remove','cloneNode','$root','applyOperation','moveTargetPosition','newRange','1448949xkbaqf','get','merge','newName','root','getOperations','word','splitPosition','type','804275fSWKIm','slice','length','sourcePosition','howMany','getTransformedByOperation','new','160452WdTGqu','isBefore','start','modifySelection','newValue','isBlock','5156900yPmdWb','split','3976194QPYSGt','$text','suggestion:formatBlock:$fakeWrap:','isRegisteredAttribute','batch','nodeBefore','end','baseVersion','isDocumentOperation','backward','node','createPositionFromPath','getMinimalFlatRanges','stringify','createPositionAt','createRangeOn','getFirstRange','stickiness','map','changeAttribute','range','addAttribute','plugins','parent','addOperation','_createFromRanges','children','reverse','isMarkedRemoveOperation','index','suggestion:attribute:','rename','changes','$elementName','marker',':$aiSuggestion','_getTransformedByDeletion','4864096OfGcTj','getMovedRangeStart','...','nodeAfter','key','DocumentCompare','position','154euAMxj','name','249582oPqRgB','markers','toNone','offset','focus','schema','SuggestionsConversion','move','targetPosition','suggestion:deletion:','change','set','data-id'];_0x3dc4=function(){return _0x2e29cd;};return _0x3dc4();}import{uid as _0x921827}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x37f68f,changeGroups:_0x1647e9,documentContextContent:_0x1c1ea0,showDiff:_0x33501a,trimUnchanged:_0x58360b=!0x0}){const _0x399f24=_0x439f;return _0x1647e9[_0x399f24(0xd6)](_0xca4e3=>{const _0x591436=_0x399f24,_0x3d2aad=new _0x27116c([]),_0x4446a5=new _0x27116c([]);for(const _0x40a209 of _0xca4e3[_0x591436(0xe4)])if(_0x33501a&&_0x591436(0x105)==_0x40a209[_0x591436(0xb4)]||_0x4446a5[_0x591436(0xde)][_0x591436(0x103)](_0x40a209[_0x591436(0xce)][_0x591436(0xa7)](!0x0)),_0x591436(0xbb)!=_0x40a209[_0x591436(0xb4)]&&(_0x33501a||_0x591436(0x105)!=_0x40a209[_0x591436(0xb4)])){const _0x11f728=_0x2afa0e(_0x1338bc=>_0x5a1537(_0x1338bc,_0x591436(0xfe))==_0x40a209['id'],_0x1c1ea0,!0x0);_0x11f728&&_0x3d2aad[_0x591436(0xde)][_0x591436(0x103)](_0x11f728[_0x591436(0xa7)](!0x0));}const {content:_0x19271f,hasChanges:_0x257876}=function(_0x269d63,_0x1d28be,_0x5e3039,_0x5e7d85,_0x48a34e=!0x0){const _0x35e524=_0x591436,_0x4c0cd3=_0x269d63[_0x35e524(0xda)][_0x35e524(0xad)](_0x35e524(0xee)),_0x299bca=_0x41cafb(_0x1d28be),_0x5a7db8=_0x41cafb(_0x5e3039),_0x4ae18f=_0x269d63[_0x35e524(0x104)][_0x35e524(0x9e)](_0x299bca,_0x35e524(0xa8)),_0x317921=_0x269d63[_0x35e524(0x100)][_0x35e524(0xd2)](_0x4ae18f,0x0),_0x20bb7c=_0x4c0cd3[_0x35e524(0x9f)](_0x299bca,_0x5a7db8,{'anchor':_0x317921,'markDeletions':_0x5e7d85}),_0x41fcec=_0x20bb7c[_0x35e524(0xb1)]();if(0x0==_0x41fcec[_0x35e524(0xb7)])return{'content':_0x1d28be[_0x35e524(0xa7)](!0x0),'hasChanges':!0x1};_0x5e7d85?function(_0x551bfc,_0x405323,_0x501974){const _0x39eedc=_0x35e524;if(0x0==_0x551bfc[_0x39eedc(0xb7)])return;const _0x27b865=_0x501974[_0x39eedc(0xda)][_0x39eedc(0xad)](_0x39eedc(0xee)),_0x327b81=_0x501974[_0x39eedc(0xda)][_0x39eedc(0xad)](_0x39eedc(0xf8));_0x501974[_0x39eedc(0x100)][_0x39eedc(0xfc)](_0x348674=>{const _0x2ed75f=_0x39eedc,_0x200594=new Set();for(let _0x3beaac=0x0;_0x3beaac<_0x551bfc[_0x2ed75f(0xb7)];_0x3beaac++){const _0x12f147=_0x551bfc[_0x3beaac];if(_0x12f147[_0x2ed75f(0xcb)]=null,_0x12f147[_0x2ed75f(0xcc)]=!0x1,_0x27b865[_0x2ed75f(0xe0)](_0x12f147)){const _0x44bd6b=_0x5418ac(_0x12f147[_0x2ed75f(0xab)],_0x501974[_0x2ed75f(0x100)]),_0x43b46f=_0x2ed75f(0xfb)+_0x921827()+_0x2ed75f(0xe7);_0x405323[_0x2ed75f(0xf3)][_0x2ed75f(0xfd)](_0x43b46f,_0x44bd6b);}else switch(_0x12f147[_0x2ed75f(0xb4)]){case _0x2ed75f(0xe3):{if(_0x12f147[_0x2ed75f(0xa2)]==_0x12f147[_0x2ed75f(0xaf)])break;_0x348674[_0x2ed75f(0xc8)][_0x2ed75f(0xdc)](_0x12f147),_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xa9)](_0x12f147);const _0x35ac14=_0x2ed75f(0xe5),_0x2393d1=_0x12f147[_0x2ed75f(0xef)],_0x581dde=_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xa4)](_0x2393d1,_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xd2)](_0x2393d1[_0x2ed75f(0xec)],_0x2ed75f(0xca))),_0x41d65b=_0x2ed75f(0xe2)+_0x35ac14+':'+_0x921827()+_0x2ed75f(0xe7);_0x405323[_0x2ed75f(0xf3)][_0x2ed75f(0xfd)](_0x41d65b,_0x581dde);break;}case _0x2ed75f(0xd9):case _0x2ed75f(0xff):case _0x2ed75f(0xd7):{if(_0x12f147[_0x2ed75f(0x10a)]==_0x12f147[_0x2ed75f(0xc0)])break;_0x348674[_0x2ed75f(0xc8)][_0x2ed75f(0xdc)](_0x12f147),_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xa9)](_0x12f147);const _0x57f8cb=_0x12f147[_0x2ed75f(0xed)];if(!_0x327b81[_0x2ed75f(0xc7)](_0x57f8cb))break;const _0x334e21=_0x5418ac(_0x12f147[_0x2ed75f(0xd8)],_0x501974[_0x2ed75f(0x100)]),_0x1cbb4f=_0x2ed75f(0xe2)+_0x57f8cb+':'+_0x921827()+_0x2ed75f(0xe7);_0x405323[_0x2ed75f(0xf3)][_0x2ed75f(0xfd)](_0x1cbb4f,_0x334e21);break;}case _0x2ed75f(0x10b):{_0x348674[_0x2ed75f(0xc8)][_0x2ed75f(0xdc)](_0x12f147),_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xa9)](_0x12f147);if(_0x551bfc[_0x3beaac+0x1]&&_0x2ed75f(0xf9)==_0x551bfc[_0x3beaac+0x1][_0x2ed75f(0xb4)]){no(_0x405323,_0x12f147);break;}const _0x1a859f=_0x12f147[_0x2ed75f(0xef)],_0x17cf02=_0x12f147[_0x2ed75f(0xb9)],_0x5d9f13=_0x5418ac(_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xa4)](_0x1a859f,_0x1a859f[_0x2ed75f(0xa0)](_0x17cf02)),_0x501974[_0x2ed75f(0x100)]),_0x383b84=_0x2ed75f(0x10c)+_0x921827()+_0x2ed75f(0xe7);_0x405323[_0x2ed75f(0xf3)][_0x2ed75f(0xfd)](_0x383b84,_0x5d9f13);break;}case _0x2ed75f(0xc3):{_0x348674[_0x2ed75f(0xc8)][_0x2ed75f(0xdc)](_0x12f147),_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xa9)](_0x12f147);const _0x1b5390=_0x12f147[_0x2ed75f(0xb3)],_0x457df7=_0x12f147[_0x2ed75f(0xaa)],_0x49488f=_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xa4)](_0x1b5390,_0x457df7),_0x20808e=_0x2ed75f(0x10c)+_0x921827()+_0x2ed75f(0xe7);_0x405323[_0x2ed75f(0xf3)][_0x2ed75f(0xfd)](_0x20808e,_0x49488f);break;}case _0x2ed75f(0xf9):{_0x348674[_0x2ed75f(0xc8)][_0x2ed75f(0xdc)](_0x12f147),_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xa9)](_0x12f147),_0x551bfc[_0x3beaac-0x1]&&_0x2ed75f(0x10b)==_0x551bfc[_0x3beaac-0x1][_0x2ed75f(0xb4)]&&no(_0x405323,_0x12f147);const _0x32bd7e=_0x12f147[_0x2ed75f(0xea)](),_0x19d2a6=_0x12f147[_0x2ed75f(0xb9)];for(let _0x12f558=0x0;_0x12f558<_0x19d2a6;_0x12f558++){const _0x21a7af=_0x32bd7e[_0x2ed75f(0xa0)](_0x12f558)[_0x2ed75f(0xec)];_0x200594[_0x2ed75f(0x106)](_0x21a7af);}break;}case _0x2ed75f(0xa6):{const _0x6e31af=_0x12f147[_0x2ed75f(0xb8)],_0x54c5da=_0x12f147[_0x2ed75f(0xb9)],_0x1b26e4=new _0x4d4022(_0x6e31af,_0x54c5da);_0x348674[_0x2ed75f(0xc8)][_0x2ed75f(0xdc)](_0x1b26e4),_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xa9)](_0x1b26e4);break;}}}for(const _0x550d00 of _0x200594){const _0x119674=_0x501974[_0x2ed75f(0x100)][_0x2ed75f(0xd3)](_0x550d00),_0x53e838=_0x2ed75f(0xc6)+_0x921827()+_0x2ed75f(0xe7);_0x405323[_0x2ed75f(0xf3)][_0x2ed75f(0xfd)](_0x53e838,_0x5418ac(_0x119674,_0x501974[_0x2ed75f(0x100)]));}});}(_0x41fcec,_0x4ae18f,_0x269d63):_0x269d63[_0x35e524(0x100)][_0x35e524(0xfc)](_0x470d9a=>{const _0x18c6f2=_0x35e524;for(const _0x53fb83 of _0x41fcec)if(_0x18c6f2(0xa6)==_0x53fb83[_0x18c6f2(0xb4)]){const _0x12e5d3=_0x53fb83[_0x18c6f2(0xb8)],_0x3aa137=_0x53fb83[_0x18c6f2(0xb9)],_0x377d5b=new _0x4d4022(_0x12e5d3,_0x3aa137);_0x470d9a[_0x18c6f2(0xc8)][_0x18c6f2(0xdc)](_0x377d5b),_0x269d63[_0x18c6f2(0x100)][_0x18c6f2(0xa9)](_0x377d5b);}else{if(_0x18c6f2(0xe6)==_0x53fb83[_0x18c6f2(0xb4)]){const _0x565b23=_0x53fb83[_0x18c6f2(0xf1)],_0x2098ad=_0x53fb83[_0x18c6f2(0xab)];null!==_0x2098ad?_0x4ae18f[_0x18c6f2(0xf3)][_0x18c6f2(0xfd)](_0x565b23,_0x2098ad):_0x4ae18f[_0x18c6f2(0xf3)][_0x18c6f2(0x101)](_0x565b23);}else _0x53fb83[_0x18c6f2(0xcb)]=null,_0x53fb83[_0x18c6f2(0xcc)]=!0x1,_0x470d9a[_0x18c6f2(0xc8)][_0x18c6f2(0xdc)](_0x53fb83),_0x269d63[_0x18c6f2(0x100)][_0x18c6f2(0xa9)](_0x53fb83);}});if(_0x48a34e){const _0x47e9b0=getMinimalSelection(_0x269d63,_0x41fcec,_0x4ae18f);expandSelectionWithContext(_0x269d63[_0x35e524(0x100)],_0x47e9b0),function(_0x5d05f9,_0x32b4bd){const _0x27aada=_0x35e524,_0x4d978c=_0x32b4bd[_0x27aada(0xd4)]()[_0x27aada(0xbe)];let _0x3f793f=_0x32b4bd[_0x27aada(0xd4)]()[_0x27aada(0xca)];const _0xd1ffe0=_0x4d978c[_0x27aada(0xb0)];(_0x3f793f[_0x27aada(0x99)]||_0x3f793f[_0x27aada(0xec)]&&_0x3f793f[_0x27aada(0xec)]['is'](_0x27aada(0xc5)))&&(_0x4e5063(_0x3f793f,_0x27aada(0xeb)),_0x3f793f=_0x3f793f[_0x27aada(0xa0)](0x3)),(_0x4d978c[_0x27aada(0x99)]||_0x4d978c[_0x27aada(0xc9)]&&_0x4d978c[_0x27aada(0xc9)]['is'](_0x27aada(0xc5)))&&(_0x4e5063(_0x4d978c,_0x27aada(0xeb)),function(_0xaf12aa,_0x4cc79a,_0x124d9f){const _0x1af3c0=_0x27aada;for(let [_0xa8f8d1,_0x36ac48]of _0xaf12aa[_0x1af3c0(0xf3)]){const _0x4ccd6a=_0x36ac48[_0x1af3c0(0xa1)](_0x4cc79a,_0x124d9f,!0x1);_0x36ac48=_0x4ccd6a[0x0],_0xaf12aa[_0x1af3c0(0xf3)][_0x1af3c0(0xfd)](_0xa8f8d1,_0x36ac48);}}(_0xd1ffe0,_0x4d978c,0x3),_0x4d978c[_0x27aada(0xdb)]==_0x3f793f[_0x27aada(0xdb)]&&(_0x3f793f=_0x3f793f[_0x27aada(0xa0)](0x3)));const _0xa611f=_0x5d05f9[_0x27aada(0xa4)](_0x5d05f9[_0x27aada(0xd2)](_0xd1ffe0,0x0),_0x4d978c),_0x3e7895=_0x5d05f9[_0x27aada(0xa4)](_0x3f793f,_0x5d05f9[_0x27aada(0xd2)](_0xd1ffe0,_0x27aada(0xca))),_0x37f1fe=[..._0xa611f[_0x27aada(0xd0)](),..._0x3e7895[_0x27aada(0xd0)]()];_0x37f1fe[_0x27aada(0xdf)]();for(const _0x271558 of _0x37f1fe)_0x2afe10(_0x271558),_transformMarkersByDeletion(_0xd1ffe0,_0x271558);}(_0x269d63[_0x35e524(0x100)],_0x47e9b0);}const _0xf78197=_0x269d63[_0x35e524(0x104)][_0x35e524(0xd1)](_0x4ae18f,{'showSuggestionHighlights':!0x0});return{'content':_0xfeea39(_0xf78197),'hasChanges':!0x0};}(_0x37f68f,_0x3d2aad,_0x4446a5,_0x33501a,_0x58360b);return{'type':_0xca4e3[_0x591436(0xe4)][0x0][_0x591436(0xb4)],'index':_0xca4e3[_0x591436(0xe1)],'content':_0x19271f,'hasChanges':_0x257876};});}function no(_0x55c111,_0x283375){const _0x22b41a=_0x439f;for(const [_0x51b609,_0x3f7d64]of _0x55c111[_0x22b41a(0xf3)]){const _0x36935d=_0x5cf2cf[_0x22b41a(0xdd)](_0x3f7d64[_0x22b41a(0xba)](_0x283375));_0x55c111[_0x22b41a(0xf3)][_0x22b41a(0xfd)](_0x51b609,_0x36935d);}}export function getMinimalSelection(_0x221232,_0x260160,_0x568a04){const _0x3d2478=_0x439f,_0x5e556c=_0x221232[_0x3d2478(0xda)][_0x3d2478(0xad)](_0x3d2478(0xee));let _0x3eae90=_0x221232[_0x3d2478(0x100)][_0x3d2478(0xd2)](_0x568a04,Number[_0x3d2478(0x108)]),_0x15e200=_0x221232[_0x3d2478(0x100)][_0x3d2478(0xd2)](_0x568a04,0x0);for(const _0x158ddc of _0x260160){let _0x52e5d9,_0x5e4a6c;if(_0x5e556c[_0x3d2478(0xe0)](_0x158ddc))_0x52e5d9=_0x158ddc[_0x3d2478(0xab)][_0x3d2478(0xbe)],_0x5e4a6c=_0x158ddc[_0x3d2478(0xab)][_0x3d2478(0xca)];else switch(_0x3eae90=_0x3eae90[_0x3d2478(0xba)](_0x158ddc),_0x15e200=_0x15e200[_0x3d2478(0xba)](_0x158ddc),_0x158ddc[_0x3d2478(0xb4)]){case _0x3d2478(0xe3):_0x52e5d9=_0x158ddc[_0x3d2478(0xef)],_0x5e4a6c=_0x52e5d9[_0x3d2478(0xa0)](0x1);break;case _0x3d2478(0xd9):case _0x3d2478(0xff):case _0x3d2478(0xd7):_0x52e5d9=_0x158ddc[_0x3d2478(0xd8)][_0x3d2478(0xbe)],_0x5e4a6c=_0x158ddc[_0x3d2478(0xd8)][_0x3d2478(0xca)];break;case _0x3d2478(0x10b):_0x52e5d9=_0x158ddc[_0x3d2478(0xef)],_0x5e4a6c=_0x52e5d9[_0x3d2478(0xa0)](_0x158ddc[_0x3d2478(0xb9)]);break;case _0x3d2478(0xc3):_0x52e5d9=_0x158ddc[_0x3d2478(0xb3)],_0x5e4a6c=_0x158ddc[_0x3d2478(0xaa)];break;case _0x3d2478(0xae):{const _0x4841d8=_0x158ddc[_0x3d2478(0xfa)][_0x3d2478(0x98)][_0x3d2478(0xb6)](0x0,-0x1);_0x52e5d9=_0x221232[_0x3d2478(0x100)][_0x3d2478(0xcf)](_0x568a04,_0x4841d8),_0x5e4a6c=_0x52e5d9[_0x3d2478(0xa0)](0x1);break;}case _0x3d2478(0xa6):{const _0x1f992b=_0x158ddc[_0x3d2478(0xb9)],_0x2d72d9=_0x158ddc[_0x3d2478(0xb8)][_0x3d2478(0xa1)](_0x158ddc[_0x3d2478(0xfa)],_0x1f992b),_0x4b8e38=_0x158ddc[_0x3d2478(0xea)]();_0x3d2478(0xa6)==_0x158ddc[_0x3d2478(0xb4)]?(_0x52e5d9=_0x2d72d9,_0x5e4a6c=_0x2d72d9):(_0x52e5d9=_0x4b8e38,_0x5e4a6c=_0x4b8e38[_0x3d2478(0xa0)](_0x1f992b));break;}}_0x52e5d9&&_0x52e5d9[_0x3d2478(0xbd)](_0x3eae90)&&(_0x3eae90=_0x52e5d9[_0x3d2478(0x9c)](),_0x3eae90[_0x3d2478(0xd5)]=_0x3d2478(0xf4)),_0x5e4a6c&&_0x5e4a6c[_0x3d2478(0x102)](_0x15e200)&&(_0x15e200=_0x5e4a6c[_0x3d2478(0x9c)](),_0x15e200[_0x3d2478(0xd5)]=_0x3d2478(0xf4));}return _0x221232[_0x3d2478(0x100)][_0x3d2478(0xa5)](_0x221232[_0x3d2478(0x100)][_0x3d2478(0xa4)](_0x3eae90,_0x15e200));}export function expandSelectionWithContext(_0x5cf428,_0x224a2b){const _0x3242ac=_0x439f;ro(_0x5cf428,_0x224a2b,_0x3242ac(0xa3));const _0x534539=_0x224a2b[_0x3242ac(0xd4)]();_0x224a2b[_0x3242ac(0x109)]([]),_0x224a2b[_0x3242ac(0x109)](_0x534539,{'backward':!0x0}),ro(_0x5cf428,_0x224a2b,_0x3242ac(0xcd));}function _0x439f(_0x18d191,_0x398ec4){const _0x3dc4db=_0x3dc4();return _0x439f=function(_0x439f8b,_0x590904){_0x439f8b=_0x439f8b-0x98;let _0x52878d=_0x3dc4db[_0x439f8b];return _0x52878d;},_0x439f(_0x18d191,_0x398ec4);}function ro(_0x1b27d9,_0x55b43c,_0x51d8e6){const _0x7206db=_0x439f;let _0x6ab492=0x14;for(;_0x6ab492;){_0x1b27d9[_0x7206db(0xbf)](_0x55b43c,{'unit':_0x7206db(0xb2),'direction':_0x51d8e6}),_0x6ab492--;const _0x1184bc=_0x55b43c[_0x7206db(0xf6)][_0x7206db(0xa3)==_0x51d8e6?_0x7206db(0xc9):_0x7206db(0xec)];if(_0x1184bc&&_0x1184bc['is'](_0x7206db(0x9d))&&_0x1b27d9[_0x7206db(0xf7)][_0x7206db(0xc1)](_0x1184bc)&&_0x1b27d9[_0x7206db(0xf7)][_0x7206db(0x9a)](_0x1184bc))break;}}export function _transformMarkersByDeletion(_0x2cca4d,_0x22ab5d){const _0x52dd39=_0x439f;for(const [_0x47c222,_0x325d4e]of _0x2cca4d[_0x52dd39(0xf3)]){const _0x38aec5=_0x325d4e[_0x52dd39(0xe8)](_0x22ab5d[_0x52dd39(0xbe)],_0x22ab5d[_0x52dd39(0xca)][_0x52dd39(0xf5)]-_0x22ab5d[_0x52dd39(0xbe)][_0x52dd39(0xf5)]);null!=_0x38aec5?_0x2cca4d[_0x52dd39(0xf3)][_0x52dd39(0xfd)](_0x47c222,_0x38aec5):_0x2cca4d[_0x52dd39(0xf3)][_0x52dd39(0x101)](_0x47c222);}}
|
|
23
|
+
(function(_0x49cf59,_0x56258e){const _0x3e8565=_0x13b9,_0x524fee=_0x49cf59();while(!![]){try{const _0x1a5496=parseInt(_0x3e8565(0x13c))/0x1+parseInt(_0x3e8565(0xf6))/0x2*(-parseInt(_0x3e8565(0xd7))/0x3)+parseInt(_0x3e8565(0x12e))/0x4+parseInt(_0x3e8565(0xe2))/0x5+-parseInt(_0x3e8565(0xe4))/0x6*(parseInt(_0x3e8565(0xdd))/0x7)+-parseInt(_0x3e8565(0x10e))/0x8*(-parseInt(_0x3e8565(0xd5))/0x9)+-parseInt(_0x3e8565(0xd3))/0xa;if(_0x1a5496===_0x56258e)break;else _0x524fee['push'](_0x524fee['shift']());}catch(_0x2de074){_0x524fee['push'](_0x524fee['shift']());}}}(_0x3d25,0x2eac7));import{findOne as _0x2f4c05,getAttribute as _0x224f49,Document as _0x425307,serialize as _0x44299e,parse as _0x2d9bd5}from'./htmlparser.js';function _0x13b9(_0x1e41ed,_0x154046){const _0x3d25c1=_0x3d25();return _0x13b9=function(_0x13b99a,_0x4caf0d){_0x13b99a=_0x13b99a-0xca;let _0x5471bf=_0x3d25c1[_0x13b99a];return _0x5471bf;},_0x13b9(_0x1e41ed,_0x154046);}import{fixElementSuggestionRange as _0x347928}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x136a62,_DetachOperation as _0x54305d,_removeFromModelNodeList as _0x4aa868,_insertIntoModelNodeList as _0x15d886}from'ckeditor5/src/engine.js';import{uid as _0x2f5197}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x5394b0,changeGroups:_0x4a3fbb,documentContextContent:_0x490938,showDiff:_0x2a273e,trimUnchanged:_0x31fa5a=!0x0}){const _0x5a7711=_0x13b9;return _0x4a3fbb[_0x5a7711(0xd9)](_0x282263=>{const _0x4f1ca9=_0x5a7711,_0x5d1902=new _0x425307([]),_0x2b1a44=new _0x425307([]);for(const _0x4b40a6 of _0x282263[_0x4f1ca9(0xcb)])if(_0x2a273e&&_0x4f1ca9(0x12d)==_0x4b40a6[_0x4f1ca9(0xef)]||_0x2b1a44[_0x4f1ca9(0x12b)][_0x4f1ca9(0x10f)](_0x4b40a6[_0x4f1ca9(0xe7)][_0x4f1ca9(0xe0)](!0x0)),_0x4f1ca9(0x126)!=_0x4b40a6[_0x4f1ca9(0xef)]&&(_0x2a273e||_0x4f1ca9(0x12d)!=_0x4b40a6[_0x4f1ca9(0xef)])){const _0x5e5b25=_0x2f4c05(_0x3b0e23=>_0x224f49(_0x3b0e23,_0x4f1ca9(0xde))==_0x4b40a6['id'],_0x490938,!0x0);_0x5e5b25&&_0x5d1902[_0x4f1ca9(0x12b)][_0x4f1ca9(0x10f)](_0x5e5b25[_0x4f1ca9(0xe0)](!0x0));}const {content:_0x293943,hasChanges:_0x5baa90}=function(_0xea46a8,_0x16fe24,_0x3518e9,_0x3034db,_0x41702d=!0x0){const _0x25ff6f=_0x4f1ca9,_0x5769e2=_0xea46a8[_0x25ff6f(0x12f)][_0x25ff6f(0x11a)](_0x25ff6f(0xeb)),_0x4d65e5=_0x44299e(_0x16fe24),_0x59cafc=_0x44299e(_0x3518e9),_0x564b96=_0xea46a8[_0x25ff6f(0xcc)][_0x25ff6f(0x13b)](_0x4d65e5,_0x25ff6f(0xfe)),_0x33f9a7=_0xea46a8[_0x25ff6f(0x108)][_0x25ff6f(0x11d)](_0x564b96,0x0),_0x688855=_0x5769e2[_0x25ff6f(0xf4)](_0x4d65e5,_0x59cafc,{'anchor':_0x33f9a7,'markDeletions':_0x3034db}),_0x3cf451=_0x688855[_0x25ff6f(0x105)]();if(0x0==_0x3cf451[_0x25ff6f(0x11b)])return{'content':_0x16fe24[_0x25ff6f(0xe0)](!0x0),'hasChanges':!0x1};_0x3034db?function(_0x23cfbb,_0x4ff0aa,_0x2aae55){const _0x474c2b=_0x25ff6f;if(0x0==_0x23cfbb[_0x474c2b(0x11b)])return;const _0x198143=_0x2aae55[_0x474c2b(0x12f)][_0x474c2b(0x11a)](_0x474c2b(0xeb)),_0x3847dc=_0x2aae55[_0x474c2b(0x12f)][_0x474c2b(0x11a)](_0x474c2b(0x110));_0x2aae55[_0x474c2b(0x108)][_0x474c2b(0xca)](_0x494d4a=>{const _0x178812=_0x474c2b,_0x4bd7de=new Set();for(let _0x5bb32b=0x0;_0x5bb32b<_0x23cfbb[_0x178812(0x11b)];_0x5bb32b++){const _0x7e8d8=_0x23cfbb[_0x5bb32b];if(_0x7e8d8[_0x178812(0xed)]=null,_0x7e8d8[_0x178812(0x118)]=!0x1,_0x198143[_0x178812(0x137)](_0x7e8d8)){const _0x89db82=_0x347928(_0x7e8d8[_0x178812(0xe1)],_0x2aae55[_0x178812(0x108)]),_0x50568c=_0x178812(0xf9)+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x50568c,_0x89db82);}else switch(_0x7e8d8[_0x178812(0xef)]){case _0x178812(0x11f):{if(_0x7e8d8[_0x178812(0xe8)]==_0x7e8d8[_0x178812(0x10d)])break;_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x7e8d8),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x7e8d8);const _0x276735=_0x178812(0xf3),_0x6c6fb1=_0x7e8d8[_0x178812(0xfb)],_0x3ec37d=_0x2aae55[_0x178812(0x108)][_0x178812(0x13d)](_0x6c6fb1,_0x2aae55[_0x178812(0x108)][_0x178812(0x11d)](_0x6c6fb1[_0x178812(0x122)],_0x178812(0xe5))),_0x27ba31=_0x178812(0xe6)+_0x276735+':'+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x27ba31,_0x3ec37d);break;}case _0x178812(0x103):case _0x178812(0xe3):case _0x178812(0x11e):{if(_0x7e8d8[_0x178812(0x130)]==_0x7e8d8[_0x178812(0x101)])break;_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x7e8d8),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x7e8d8);const _0x398bdd=_0x7e8d8[_0x178812(0x125)];if(!_0x3847dc[_0x178812(0xff)](_0x398bdd))break;const _0x556d72=_0x347928(_0x7e8d8[_0x178812(0x120)],_0x2aae55[_0x178812(0x108)]),_0x3bc2b0=_0x178812(0xe6)+_0x398bdd+':'+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x3bc2b0,_0x556d72);break;}case _0x178812(0x115):{_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x7e8d8),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x7e8d8);if(_0x23cfbb[_0x5bb32b+0x1]&&_0x178812(0xd2)==_0x23cfbb[_0x5bb32b+0x1][_0x178812(0xef)]){no(_0x4ff0aa,_0x7e8d8);break;}const _0x4eaddb=_0x7e8d8[_0x178812(0xfb)],_0x26696b=_0x7e8d8[_0x178812(0x11c)],_0x3e7d63=_0x347928(_0x2aae55[_0x178812(0x108)][_0x178812(0x13d)](_0x4eaddb,_0x4eaddb[_0x178812(0xf8)](_0x26696b)),_0x2aae55[_0x178812(0x108)]),_0x1d8339=_0x178812(0x13e)+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x1d8339,_0x3e7d63);break;}case _0x178812(0x127):{_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x7e8d8),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x7e8d8);const _0x436251=_0x7e8d8[_0x178812(0xf5)],_0x526911=_0x7e8d8[_0x178812(0x102)],_0x1d4c88=_0x2aae55[_0x178812(0x108)][_0x178812(0x13d)](_0x436251,_0x526911),_0x1528b6=_0x178812(0x13e)+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x1528b6,_0x1d4c88);break;}case _0x178812(0xd2):{_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x7e8d8),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x7e8d8),_0x23cfbb[_0x5bb32b-0x1]&&_0x178812(0x115)==_0x23cfbb[_0x5bb32b-0x1][_0x178812(0xef)]&&no(_0x4ff0aa,_0x7e8d8);const _0x39466b=_0x7e8d8[_0x178812(0x104)](),_0x3146f1=_0x7e8d8[_0x178812(0x11c)];for(let _0x55d312=0x0;_0x55d312<_0x3146f1;_0x55d312++){const _0x24de34=_0x39466b[_0x178812(0xf8)](_0x55d312)[_0x178812(0x122)];_0x4bd7de[_0x178812(0x113)](_0x24de34);}break;}case _0x178812(0x10b):{const _0x505f6c=_0x7e8d8[_0x178812(0x100)],_0x3b9f45=_0x7e8d8[_0x178812(0x11c)],_0x3c9592=new _0x54305d(_0x505f6c,_0x3b9f45);_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x3c9592),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x3c9592);break;}}}for(const _0x44f897 of _0x4bd7de){const _0x67f9d8=_0x2aae55[_0x178812(0x108)][_0x178812(0xdb)](_0x44f897),_0x1e1e8a=_0x178812(0x10a)+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x1e1e8a,_0x347928(_0x67f9d8,_0x2aae55[_0x178812(0x108)]));}});}(_0x3cf451,_0x564b96,_0xea46a8):_0xea46a8[_0x25ff6f(0x108)][_0x25ff6f(0xca)](_0x472e4b=>{const _0x29e1dd=_0x25ff6f;for(const _0x5120b9 of _0x3cf451)if(_0x29e1dd(0x10b)==_0x5120b9[_0x29e1dd(0xef)]){const _0x403f82=_0x5120b9[_0x29e1dd(0x100)],_0x4e87ef=_0x5120b9[_0x29e1dd(0x11c)],_0x35efbe=new _0x54305d(_0x403f82,_0x4e87ef);_0x472e4b[_0x29e1dd(0xfc)][_0x29e1dd(0x136)](_0x35efbe),_0xea46a8[_0x29e1dd(0x108)][_0x29e1dd(0xd6)](_0x35efbe);}else{if(_0x29e1dd(0xec)==_0x5120b9[_0x29e1dd(0xef)]){const _0x2b9385=_0x5120b9[_0x29e1dd(0x133)],_0x388343=_0x5120b9[_0x29e1dd(0xe1)];null!==_0x388343?_0x564b96[_0x29e1dd(0x112)][_0x29e1dd(0x128)](_0x2b9385,_0x388343):_0x564b96[_0x29e1dd(0x112)][_0x29e1dd(0xf7)](_0x2b9385);}else _0x5120b9[_0x29e1dd(0xed)]=null,_0x5120b9[_0x29e1dd(0x118)]=!0x1,_0x472e4b[_0x29e1dd(0xfc)][_0x29e1dd(0x136)](_0x5120b9),_0xea46a8[_0x29e1dd(0x108)][_0x29e1dd(0xd6)](_0x5120b9);}});if(_0x41702d){const _0x44507d=getMinimalSelection(_0xea46a8,_0x3cf451,_0x564b96);expandSelectionWithContext(_0xea46a8[_0x25ff6f(0x108)],_0x44507d),function(_0x28d5df,_0x26cbd5){const _0x5002d7=_0x25ff6f,_0x4d7d90=_0x26cbd5[_0x5002d7(0xd4)]()[_0x5002d7(0x117)];let _0x1b7d5b=_0x26cbd5[_0x5002d7(0xd4)]()[_0x5002d7(0xe5)];const _0x5a70e2=_0x4d7d90[_0x5002d7(0x131)];(_0x1b7d5b[_0x5002d7(0xe9)]||_0x1b7d5b[_0x5002d7(0x122)]&&_0x1b7d5b[_0x5002d7(0x122)]['is'](_0x5002d7(0x13a)))&&(_0x15d886(_0x1b7d5b,_0x5002d7(0x106)),_0x1b7d5b=_0x1b7d5b[_0x5002d7(0xf8)](0x3)),(_0x4d7d90[_0x5002d7(0xe9)]||_0x4d7d90[_0x5002d7(0x107)]&&_0x4d7d90[_0x5002d7(0x107)]['is'](_0x5002d7(0x13a)))&&(_0x15d886(_0x4d7d90,_0x5002d7(0x106)),function(_0xd7f549,_0x188baa,_0x238aae){const _0x11acc6=_0x5002d7;for(let [_0x5c5df2,_0xf4f15a]of _0xd7f549[_0x11acc6(0x112)]){const _0x196aa3=_0xf4f15a[_0x11acc6(0x10c)](_0x188baa,_0x238aae,!0x1);_0xf4f15a=_0x196aa3[0x0],_0xd7f549[_0x11acc6(0x112)][_0x11acc6(0x128)](_0x5c5df2,_0xf4f15a);}}(_0x5a70e2,_0x4d7d90,0x3),_0x4d7d90[_0x5002d7(0xd8)]==_0x1b7d5b[_0x5002d7(0xd8)]&&(_0x1b7d5b=_0x1b7d5b[_0x5002d7(0xf8)](0x3)));const _0x6fe929=_0x28d5df[_0x5002d7(0x13d)](_0x28d5df[_0x5002d7(0x11d)](_0x5a70e2,0x0),_0x4d7d90),_0xf7b8db=_0x28d5df[_0x5002d7(0x13d)](_0x1b7d5b,_0x28d5df[_0x5002d7(0x11d)](_0x5a70e2,_0x5002d7(0xe5))),_0x39a61b=[..._0x6fe929[_0x5002d7(0x119)](),..._0xf7b8db[_0x5002d7(0x119)]()];_0x39a61b[_0x5002d7(0xdc)]();for(const _0xc5a928 of _0x39a61b)_0x4aa868(_0xc5a928),_transformMarkersByDeletion(_0x5a70e2,_0xc5a928);}(_0xea46a8[_0x25ff6f(0x108)],_0x44507d);}const _0x5ebb87=_0xea46a8[_0x25ff6f(0xcc)][_0x25ff6f(0xcf)](_0x564b96,{'showSuggestionHighlights':!0x0});return{'content':_0x2d9bd5(_0x5ebb87),'hasChanges':!0x0};}(_0x5394b0,_0x5d1902,_0x2b1a44,_0x2a273e,_0x31fa5a);return{'type':_0x282263[_0x4f1ca9(0xcb)][0x0][_0x4f1ca9(0xef)],'index':_0x282263[_0x4f1ca9(0xda)],'content':_0x293943,'hasChanges':_0x5baa90};});}function no(_0x3bdc25,_0x267d21){const _0x48ad1e=_0x13b9;for(const [_0x1c3439,_0x1b9929]of _0x3bdc25[_0x48ad1e(0x112)]){const _0x1ba97c=_0x136a62[_0x48ad1e(0x129)](_0x1b9929[_0x48ad1e(0x123)](_0x267d21));_0x3bdc25[_0x48ad1e(0x112)][_0x48ad1e(0x128)](_0x1c3439,_0x1ba97c);}}export function getMinimalSelection(_0x290c14,_0x28f052,_0x1d6d9a){const _0x259b13=_0x13b9,_0x470793=_0x290c14[_0x259b13(0x12f)][_0x259b13(0x11a)](_0x259b13(0xeb));let _0x343fdd=_0x290c14[_0x259b13(0x108)][_0x259b13(0x11d)](_0x1d6d9a,Number[_0x259b13(0xf2)]),_0x560b08=_0x290c14[_0x259b13(0x108)][_0x259b13(0x11d)](_0x1d6d9a,0x0);for(const _0x6a5b8a of _0x28f052){let _0x46af1b,_0x24f3fe;if(_0x470793[_0x259b13(0x137)](_0x6a5b8a))_0x46af1b=_0x6a5b8a[_0x259b13(0xe1)][_0x259b13(0x117)],_0x24f3fe=_0x6a5b8a[_0x259b13(0xe1)][_0x259b13(0xe5)];else switch(_0x343fdd=_0x343fdd[_0x259b13(0x123)](_0x6a5b8a),_0x560b08=_0x560b08[_0x259b13(0x123)](_0x6a5b8a),_0x6a5b8a[_0x259b13(0xef)]){case _0x259b13(0x11f):_0x46af1b=_0x6a5b8a[_0x259b13(0xfb)],_0x24f3fe=_0x46af1b[_0x259b13(0xf8)](0x1);break;case _0x259b13(0x103):case _0x259b13(0xe3):case _0x259b13(0x11e):_0x46af1b=_0x6a5b8a[_0x259b13(0x120)][_0x259b13(0x117)],_0x24f3fe=_0x6a5b8a[_0x259b13(0x120)][_0x259b13(0xe5)];break;case _0x259b13(0x115):_0x46af1b=_0x6a5b8a[_0x259b13(0xfb)],_0x24f3fe=_0x46af1b[_0x259b13(0xf8)](_0x6a5b8a[_0x259b13(0x11c)]);break;case _0x259b13(0x127):_0x46af1b=_0x6a5b8a[_0x259b13(0xf5)],_0x24f3fe=_0x6a5b8a[_0x259b13(0x102)];break;case _0x259b13(0xee):{const _0x29ad37=_0x6a5b8a[_0x259b13(0x124)][_0x259b13(0x12c)][_0x259b13(0x132)](0x0,-0x1);_0x46af1b=_0x290c14[_0x259b13(0x108)][_0x259b13(0x139)](_0x1d6d9a,_0x29ad37),_0x24f3fe=_0x46af1b[_0x259b13(0xf8)](0x1);break;}case _0x259b13(0x10b):{const _0x5b296d=_0x6a5b8a[_0x259b13(0x11c)],_0x2361aa=_0x6a5b8a[_0x259b13(0x100)][_0x259b13(0x10c)](_0x6a5b8a[_0x259b13(0x124)],_0x5b296d),_0x282e46=_0x6a5b8a[_0x259b13(0x104)]();_0x259b13(0x10b)==_0x6a5b8a[_0x259b13(0xef)]?(_0x46af1b=_0x2361aa,_0x24f3fe=_0x2361aa):(_0x46af1b=_0x282e46,_0x24f3fe=_0x282e46[_0x259b13(0xf8)](_0x5b296d));break;}}_0x46af1b&&_0x46af1b[_0x259b13(0x111)](_0x343fdd)&&(_0x343fdd=_0x46af1b[_0x259b13(0xfd)](),_0x343fdd[_0x259b13(0x114)]=_0x259b13(0x121)),_0x24f3fe&&_0x24f3fe[_0x259b13(0xce)](_0x560b08)&&(_0x560b08=_0x24f3fe[_0x259b13(0xfd)](),_0x560b08[_0x259b13(0x114)]=_0x259b13(0x121));}return _0x290c14[_0x259b13(0x108)][_0x259b13(0x12a)](_0x290c14[_0x259b13(0x108)][_0x259b13(0x13d)](_0x343fdd,_0x560b08));}export function expandSelectionWithContext(_0x1a81aa,_0xf5ecd9){const _0x20eac9=_0x13b9;ro(_0x1a81aa,_0xf5ecd9,_0x20eac9(0xea));const _0x30884c=_0xf5ecd9[_0x20eac9(0xd4)]();_0xf5ecd9[_0x20eac9(0xd0)]([]),_0xf5ecd9[_0x20eac9(0xd0)](_0x30884c,{'backward':!0x0}),ro(_0x1a81aa,_0xf5ecd9,_0x20eac9(0x109));}function ro(_0xe54b7f,_0x13a332,_0xec200c){const _0x505f02=_0x13b9;let _0x2580f1=0x14;for(;_0x2580f1;){_0xe54b7f[_0x505f02(0xdf)](_0x13a332,{'unit':_0x505f02(0x138),'direction':_0xec200c}),_0x2580f1--;const _0x539df7=_0x13a332[_0x505f02(0xfa)][_0x505f02(0xea)==_0xec200c?_0x505f02(0x107):_0x505f02(0x122)];if(_0x539df7&&_0x539df7['is'](_0x505f02(0xf0))&&_0xe54b7f[_0x505f02(0xf1)][_0x505f02(0xcd)](_0x539df7)&&_0xe54b7f[_0x505f02(0xf1)][_0x505f02(0xd1)](_0x539df7))break;}}export function _transformMarkersByDeletion(_0x3b6354,_0x5802d9){const _0x1f3c40=_0x13b9;for(const [_0xde3af6,_0x54165a]of _0x3b6354[_0x1f3c40(0x112)]){const _0x351965=_0x54165a[_0x1f3c40(0x116)](_0x5802d9[_0x1f3c40(0x117)],_0x5802d9[_0x1f3c40(0xe5)][_0x1f3c40(0x134)]-_0x5802d9[_0x1f3c40(0x117)][_0x1f3c40(0x134)]);null!=_0x351965?_0x3b6354[_0x1f3c40(0x112)][_0x1f3c40(0x128)](_0xde3af6,_0x351965):_0x3b6354[_0x1f3c40(0x112)][_0x1f3c40(0xf7)](_0xde3af6);}}function _0x3d25(){const _0x1e5dce=['$elementName','getDiff','splitPosition','51816curRFI','delete','getShiftedBy','suggestion:deletion:','focus','position','batch','clone','$root','isRegisteredAttribute','sourcePosition','newValue','moveTargetPosition','addAttribute','getMovedRangeStart','getOperations','...','nodeBefore','model','backward','suggestion:formatBlock:$fakeWrap:','remove','_getTransformedByInsertion','newName','30544fDMQzo','push','SuggestionsConversion','isBefore','markers','add','stickiness','insert','_getTransformedByDeletion','start','isDocumentOperation','getMinimalFlatRanges','get','length','howMany','createPositionAt','changeAttribute','rename','range','toNone','nodeAfter','getTransformedByOperation','targetPosition','key','new','split','set','_createFromRanges','createSelection','children','path','removed','968200kzGfaV','plugins','oldValue','root','slice','name','offset',':$aiSuggestion','addOperation','isMarkedRemoveOperation','word','createPositionFromPath','$text','parse','276525LBTBOP','createRange','suggestion:insertion:','change','changes','data','isBlock','isAfter','stringify','setTo','isObject','move','193010MwYhtZ','getFirstRange','99jdZlbz','applyOperation','3NJuyDD','parent','map','index','createRangeOn','reverse','1231622mUsvRW','data-id','modifySelection','cloneNode','newRange','138515FQASgT','removeAttribute','12OXQpCO','end','suggestion:attribute:','node','oldName','textNode','forward','DocumentCompare','marker','baseVersion','merge','type','element','schema','POSITIVE_INFINITY'];_0x3d25=function(){return _0x1e5dce;};return _0x3d25();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x12aa39,_0x2eed68){const _0x236d24=_0x2d79,_0x1b30bc=_0x12aa39();while(!![]){try{const _0x4c2c64=-parseInt(_0x236d24(0x131))/0x1+parseInt(_0x236d24(0x141))/0x2*(parseInt(_0x236d24(0x138))/0x3)+-parseInt(_0x236d24(0x136))/0x4*(-parseInt(_0x236d24(0x12d))/0x5)+-parseInt(_0x236d24(0x12e))/0x6*(-parseInt(_0x236d24(0x13d))/0x7)+parseInt(_0x236d24(0x139))/0x8+parseInt(_0x236d24(0x130))/0x9+-parseInt(_0x236d24(0x144))/0xa;if(_0x4c2c64===_0x2eed68)break;else _0x1b30bc['push'](_0x1b30bc['shift']());}catch(_0x5a5b1d){_0x1b30bc['push'](_0x1b30bc['shift']());}}}(_0x2bd8,0x1ac4a));import{parseDocument as _0x494490}from'htmlparser2';import{append as _0x220308,appendChild as _0x2c801e,find as _0x40ffef,findAll as _0x1874fb,findOne as _0x5620b5,getChildren as _0x17594c,isComment as _0x1b663c,isTag as _0x37082e,prepend as _0x2c2df2,prependChild as _0x57def4,removeElement as _0x2210ae,replaceElement as _0xfed378,textContent as _0x165461,getParent as _0x5398ad,hasChildren as _0x272f22}from'domutils';function _0x2d79(_0x127242,_0x4f3d5f){const _0x2bd8ac=_0x2bd8();return _0x2d79=function(_0x2d79e1,_0x18b45f){_0x2d79e1=_0x2d79e1-0x12c;let _0x165a4e=_0x2bd8ac[_0x2d79e1];return _0x165a4e;},_0x2d79(_0x127242,_0x4f3d5f);}import _0x209ef2 from'dom-serializer';import{cloneNode as _0x482006,isDocument as _0x4ddef4,isText as _0x2e013d,Element as _0x2e786c,Text as _0x508d6d,Document as _0x2ade24,NodeWithChildren as _0x1944d5}from'domhandler';export{_0x482006 as cloneNode,_0x40ffef as find,_0x5620b5 as findOne,_0x1874fb as findAll,_0x17594c as getChildren,_0x5398ad as getParent,_0x1b663c as isComment,_0x4ddef4 as isDocument,_0x37082e as isTag,_0x2e013d as isText,_0x220308 as append,_0x2c801e as appendChild,_0x2c2df2 as prepend,_0x57def4 as prependChild,_0x209ef2 as render,_0x2210ae as removeElement,_0xfed378 as replaceElement,_0x165461 as textContent,_0x272f22 as hasChildren,_0x2e786c as Element,_0x2ade24 as Document,_0x1944d5 as NodeWithChildren,_0x508d6d as Text};function _0x2bd8(){const _0x3051eb=['parentNode','3265210zmGyZm','attribs','5RywxVR','8754tAVeZb','push','1077732OqylKL','185091Waqhmi','beforeend','afterbegin','afterend','indexOf','354916aTnCLR','beforebegin','15888XybTkS','1339120VlcXFm','reverse','nextSibling','map','847sYqFcR','replace','forEach','slice','26flORan','cloneNode'];_0x2bd8=function(){return _0x3051eb;};return _0x2bd8();}export function parse(_0x56cc75){return _0x494490(_0x56cc75);}export function serialize(_0x1ca8c1){return _0x209ef2(_0x1ca8c1);}export function findByAttribute(_0x3152d2,_0x52ead7,_0x3cf23f){const _0x456566=_0x2d79,_0x108160=null!==_0x52ead7?_0x3886a9=>_0x3886a9[_0x456566(0x12c)][_0x3152d2]===_0x52ead7:_0x543d07=>Boolean(_0x543d07[_0x456566(0x12c)][_0x3152d2]);return _0x5620b5(_0x252a89=>_0x37082e(_0x252a89)&&_0x108160(_0x252a89),_0x3cf23f);}export function findAllByAttribute(_0x5d032f,_0x34f331,_0x41a319){const _0x10a838=_0x2d79,_0x25b1db=null!==_0x34f331?_0xe7d10a=>_0xe7d10a[_0x10a838(0x12c)][_0x5d032f]===_0x34f331:_0x248f7e=>Boolean(_0x248f7e[_0x10a838(0x12c)][_0x5d032f]);return _0x1874fb(_0x50f078=>_0x37082e(_0x50f078)&&_0x25b1db(_0x50f078),_0x41a319);}export function findAllComments(_0xefcf05){return _0x40ffef(_0x4ec608=>_0x1b663c(_0x4ec608),_0xefcf05,!0x0,0x1/0x0);}export function getAttribute(_0x13c9ce,_0x40fe0b){const _0x5132d0=_0x2d79;return _0x13c9ce&&_0x37082e(_0x13c9ce)?_0x13c9ce[_0x5132d0(0x12c)][_0x40fe0b]:null;}export function setAttribute(_0x58f8c4,_0x31a333,_0x3bbc59){const _0x380d59=_0x2d79;_0x37082e(_0x58f8c4)&&(null===_0x3bbc59?delete _0x58f8c4[_0x380d59(0x12c)][_0x31a333]:_0x58f8c4[_0x380d59(0x12c)][_0x31a333]=_0x3bbc59);}export function insertElement(_0x140c73,_0x3e1e99,_0x2824bc){const _0x5a04a3=_0x2d79,_0x26f869=_0x3e1e99[_0x5a04a3(0x142)](!0x0);_0x5a04a3(0x137)===_0x2824bc?_0x2c2df2(_0x140c73,_0x26f869):_0x5a04a3(0x133)===_0x2824bc?_0x57def4(_0x140c73,_0x26f869):_0x5a04a3(0x132)===_0x2824bc?_0x2c801e(_0x140c73,_0x26f869):_0x5a04a3(0x134)===_0x2824bc&&_0x220308(_0x140c73,_0x26f869);}export function moveElement(_0x3fb05c,_0x1ed225){_0x2210ae(_0x3fb05c),_0xfed378(_0x1ed225,_0x3fb05c);}export function clone(_0x39a96f){const _0x273cc7=_0x2d79;return _0x39a96f[_0x273cc7(0x142)](!0x0);}export function getParents(_0x507d92){const _0x12d945=_0x2d79,_0x4328ab=[];let _0x12b020=_0x507d92;for(;_0x12b020;)_0x12b020=_0x5398ad(_0x12b020),_0x12b020&&_0x4328ab[_0x12d945(0x12f)](_0x12b020);return _0x4328ab;}export function normalizeHTML(_0x3fea9c){const _0x8e98d5=_0x2d79;return _0x3fea9c[_0x8e98d5(0x13e)](/^\s+/gm,'')[_0x8e98d5(0x13e)](/\s+$/gm,'')[_0x8e98d5(0x13e)](/\n*/g,'')[_0x8e98d5(0x13e)](/\s+/g,'\x20')[_0x8e98d5(0x13e)](/>\s*</g,'><');}export function areNodesSame(_0x4782a5,_0x300eb1){return normalizeHTML(serialize(_0x4782a5))===normalizeHTML(serialize(_0x300eb1));}export function getNodeNestingLevel(_0x11b1a8){const _0x2cf69a=_0x2d79;let _0x4d97c8=0x0;for(;_0x11b1a8[_0x2cf69a(0x143)];)_0x11b1a8=_0x11b1a8[_0x2cf69a(0x143)],_0x4d97c8++;return _0x4d97c8;}export function removeElementsAfter(_0x281fe6){const _0x584d40=_0x2d79,_0xcae489=[];let _0x31fb88=_0x281fe6[_0x584d40(0x13b)];for(;_0x31fb88;)_0xcae489[_0x584d40(0x12f)](_0x31fb88),_0x31fb88=_0x31fb88[_0x584d40(0x13b)];_0xcae489[_0x584d40(0x13f)](_0x5ad70b=>{_0x2210ae(_0x5ad70b);});}export function getNodePath(_0x5bc6a5){const _0x1c785d=_0x2d79;return[_0x5bc6a5,...getParents(_0x5bc6a5)][_0x1c785d(0x140)](0x0,-0x1)[_0x1c785d(0x13c)](_0x20bfb8=>{const _0x5c17e4=_0x1c785d,_0x1559db=_0x5398ad(_0x20bfb8);return _0x17594c(_0x1559db)[_0x5c17e4(0x135)](_0x20bfb8);})[_0x1c785d(0x13a)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x8e7a(_0x1ba092,_0x20462a){const _0x4bdb48=_0x4bdb();return _0x8e7a=function(_0x8e7a03,_0x2f1c9b){_0x8e7a03=_0x8e7a03-0xe3;let _0x210c22=_0x4bdb48[_0x8e7a03];return _0x210c22;},_0x8e7a(_0x1ba092,_0x20462a);}const _0x431728=_0x8e7a;(function(_0x36d785,_0x16971b){const _0x3d06d6=_0x8e7a,_0x166837=_0x36d785();while(!![]){try{const _0x25be22=parseInt(_0x3d06d6(0xea))/0x1+-parseInt(_0x3d06d6(0xf6))/0x2+-parseInt(_0x3d06d6(0x10f))/0x3*(parseInt(_0x3d06d6(0x111))/0x4)+parseInt(_0x3d06d6(0x11e))/0x5+parseInt(_0x3d06d6(0x11d))/0x6*(-parseInt(_0x3d06d6(0x10a))/0x7)+parseInt(_0x3d06d6(0xe8))/0x8+parseInt(_0x3d06d6(0x114))/0x9;if(_0x25be22===_0x16971b)break;else _0x166837['push'](_0x166837['shift']());}catch(_0x84cba3){_0x166837['push'](_0x166837['shift']());}}}(_0x4bdb,0xf1db7));import _0x3648e7 from'morphdom';import{NodeWithChildren as _0x1a2cdc,Text as _0x4d614e,Element as _0x3667c7,isText as _0xc0e9ff,isDocument as _0x101d4f,isTag as _0xb27930,cloneNode as _0x4e3223,getChildren as _0x211b02,prepend as _0x186ac9,removeElement as _0x18af84,textContent as _0x418766,render as _0x2b9086}from'./htmlparser.js';export class HTMLStreamer{[_0x431728(0x11f)];[_0x431728(0xf1)]=!0x1;[_0x431728(0x116)]=null;[_0x431728(0x113)]=[];[_0x431728(0xec)]=0x0;[_0x431728(0x10e)]=null;[_0x431728(0x112)]=0x0;constructor(_0x449fbf){const _0x23458f=_0x431728;this[_0x23458f(0x11f)]={'delay':_0x449fbf[_0x23458f(0xf4)]??0x14,'textNodeStyle':_0x449fbf[_0x23458f(0x118)],'onStreamUpdate':_0x449fbf[_0x23458f(0xe9)]||(()=>{})};}async[_0x431728(0xf5)]({document:_0x5f1b55,targetElement:_0x28c0a0,abortSignal:_0x3dd938}){const _0x3e6bc5=_0x431728;this[_0x3e6bc5(0xf1)]&&this[_0x3e6bc5(0xfa)](),_0x3dd938?.[_0x3e6bc5(0x108)](_0x3e6bc5(0xe5),this[_0x3e6bc5(0xfa)][_0x3e6bc5(0xf3)](this)),this[_0x3e6bc5(0x116)]=_0x4e3223(_0x5f1b55,!0x0),this[_0x3e6bc5(0x113)]=this[_0x3e6bc5(0xf0)](),this[_0x3e6bc5(0xf1)]=!0x0,this[_0x3e6bc5(0xec)]>this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)]&&(this[_0x3e6bc5(0xec)]=this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)]);for(let _0x186aa2=0x0;_0x186aa2<this[_0x3e6bc5(0xec)];_0x186aa2++)this[_0x3e6bc5(0x113)][_0x186aa2][_0x3e6bc5(0xe3)]=!0x0;do{const _0x25d075=Date[_0x3e6bc5(0x117)](),_0x39b7d3=this[_0x3e6bc5(0x113)][this[_0x3e6bc5(0xec)]],_0x28b163=_0x25d075-this[_0x3e6bc5(0x112)];if(_0x39b7d3){_0x39b7d3[_0x3e6bc5(0xe3)]=!0x0;let _0x5968e4=_0x39b7d3[_0x3e6bc5(0xed)];for(;_0x5968e4;)_0x5968e4[_0x3e6bc5(0xe3)]=!0x0,_0x5968e4=_0x5968e4[_0x3e6bc5(0xed)];}if(_0x28b163<this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xf4)])try{const {promise:_0x325caa,abortController:_0x7c674b}=Cs(this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xf4)]-_0x28b163);this[_0x3e6bc5(0x10e)]=_0x7c674b,await _0x325caa;}catch(_0x229e07){return;}_0x3648e7(_0x28c0a0,'<'+_0x28c0a0[_0x3e6bc5(0x10b)]+'>'+this[_0x3e6bc5(0xf7)](this[_0x3e6bc5(0x116)])+'</'+_0x28c0a0[_0x3e6bc5(0x10b)]+'>',{'childrenOnly':!0x0}),this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xe9)]&&this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xe9)](),this[_0x3e6bc5(0xec)]++,this[_0x3e6bc5(0x112)]=Date[_0x3e6bc5(0x117)]();}while(this[_0x3e6bc5(0xec)]<this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)]);this[_0x3e6bc5(0xec)]=this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)],this[_0x3e6bc5(0xf1)]=!0x1;}[_0x431728(0x11a)](){const _0x664ff5=_0x431728;this[_0x664ff5(0xf1)]=!0x1,this[_0x664ff5(0x116)]=null,this[_0x664ff5(0x113)]=[],this[_0x664ff5(0xec)]=0x0,this[_0x664ff5(0x10e)]=null;}[_0x431728(0xee)]({targetElement:_0x180e6c}){const _0x34b3a2=_0x431728;Array[_0x34b3a2(0x101)](_0x180e6c[_0x34b3a2(0xf9)](_0x34b3a2(0xef)))[_0x34b3a2(0x10d)]()[_0x34b3a2(0x115)](_0x29ffa1=>{const _0xe27c80=_0x34b3a2;_0x29ffa1[_0xe27c80(0x11b)](_0x29ffa1[_0xe27c80(0xe7)][0x0]);});}[_0x431728(0xfa)](){const _0x47823b=_0x431728;this[_0x47823b(0xf1)]=!0x1,this[_0x47823b(0x10e)]&&(this[_0x47823b(0x10e)][_0x47823b(0xe5)](),this[_0x47823b(0x10e)]=null);}[_0x431728(0xf7)](_0x1ad039){const _0x2db88a=_0x431728;let _0x4e0ad4='';if(function(_0x549059){return _0x101d4f(_0x549059);}(_0x1ad039)){for(const _0x45e212 of _0x1ad039[_0x2db88a(0x103)])_0x4e0ad4+=this[_0x2db88a(0xf7)](_0x45e212);}else{if(Ts(_0x1ad039)){if(!_0x1ad039[_0x2db88a(0xe3)])return'';const _0x214dab=_0x1ad039,_0x14ee4e=Object[_0x2db88a(0xf2)](_0x214dab[_0x2db88a(0x102)])[_0x2db88a(0x11c)](([_0x109447,_0x29ea31])=>_0x109447+'=\x22'+_0x29ea31+'\x22')[_0x2db88a(0x110)]('\x20');_0x4e0ad4+='<'+_0x214dab[_0x2db88a(0x10b)]+(_0x14ee4e?'\x20'+_0x14ee4e:'')+'>';for(const _0x4bc1cb of _0x211b02(_0x214dab))_0x4e0ad4+=this[_0x2db88a(0xf7)](_0x4bc1cb);_0x4e0ad4+='</'+_0x214dab[_0x2db88a(0x10b)]+'>';}else{if(!Ss(_0x1ad039))return'';if(!_0x1ad039[_0x2db88a(0xe3)])return'';!function(_0x4f332a){const _0x3fd68b=_0x2db88a;if(!_0x4f332a[_0x3fd68b(0xed)]||!Ts(_0x4f332a[_0x3fd68b(0xed)]))return!0x1;if(!ys[_0x3fd68b(0xeb)](_0x4f332a[_0x3fd68b(0xed)][_0x3fd68b(0x10b)]))return!0x1;return!_0x418766(_0x4f332a)[_0x3fd68b(0xfc)](/^\s*[<>]\s*$/);}(_0x1ad039)?_0x4e0ad4+=_0x2b9086(_0x1ad039):_0x4e0ad4+=_0x2b9086(new _0x3667c7(_0x2db88a(0x106),{'data-ck-html-streamer-word-chunk':'','style':this[_0x2db88a(0x11f)][_0x2db88a(0x118)]},[_0x1ad039]));}}return _0x4e0ad4;}[_0x431728(0xf0)](){const _0x4bfddd=_0x431728,_0x5bd11b=[];return function(_0x47a000,_0x473609){const _0x39a327=_0x8e7a,_0x424ed1=_0x303c42=>{const _0x1c3119=_0x8e7a;if(_0x473609(_0x303c42),_0x303c42 instanceof _0x1a2cdc)for(let _0x2aabe9=0x0;_0x2aabe9<_0x303c42[_0x1c3119(0x103)][_0x1c3119(0x10c)];_0x2aabe9++){const _0x1a936b=_0x303c42[_0x1c3119(0x103)][_0x2aabe9];_0x424ed1(_0x1a936b);}};for(let _0x23c8ee=0x0;_0x23c8ee<_0x47a000[_0x39a327(0x103)][_0x39a327(0x10c)];_0x23c8ee++)_0x424ed1(_0x47a000[_0x39a327(0x103)][_0x23c8ee]);}(this[_0x4bfddd(0x116)],_0x5216a0=>{const _0x9f6066=_0x4bfddd;if(Ss(_0x5216a0)){const _0x4668c4=this[_0x9f6066(0x119)](_0x5216a0);_0x4668c4[_0x9f6066(0x10c)]&&_0x5bd11b[_0x9f6066(0xe4)](..._0x4668c4);}_0x5216a0[_0x9f6066(0xfb)]||_0x5216a0[_0x9f6066(0x100)]||_0x5bd11b[_0x9f6066(0xe4)](_0x5216a0);}),_0x5bd11b;}[_0x431728(0x119)](_0x542427){const _0x5c25dc=_0x431728;if(_0x542427[_0x5c25dc(0xfb)]||_0x542427[_0x5c25dc(0x100)])return[];const _0x355949=_0x418766(_0x542427)[_0x5c25dc(0xfc)](/(?:\s*\S+\s*)/g),_0x41f1b9=[];if(_0x355949&&_0x355949[_0x5c25dc(0x10c)]>0x1){for(const _0x2893e of _0x355949){const _0x122b5a=new _0x4d614e(_0x2893e);_0x122b5a[_0x5c25dc(0x100)]=!0x0,_0x186ac9(_0x542427,_0x122b5a),_0x41f1b9[_0x5c25dc(0xe4)](_0x122b5a);}_0x542427[_0x5c25dc(0xfb)]=!0x0,_0x18af84(_0x542427);}return _0x41f1b9;}}const ys=['p','li','td','th',_0x431728(0x106),'h1','h2','h3','h4','h5','h6','b',_0x431728(0x109),'i','em',_0x431728(0xfe),_0x431728(0xe6),_0x431728(0xf8),_0x431728(0x104),_0x431728(0xff),'a',_0x431728(0x105),_0x431728(0xfd)];function Ss(_0x1e299c){return _0xc0e9ff(_0x1e299c);}function Ts(_0x351ac1){return _0xb27930(_0x351ac1);}function Cs(_0x1412c2){const _0x26a073=new AbortController();return{'promise':new Promise((_0x353efc,_0x196111)=>{const _0x3979c0=_0x8e7a,_0x4e9a8d=setTimeout(_0x353efc,_0x1412c2);_0x26a073[_0x3979c0(0x107)][_0x3979c0(0x108)](_0x3979c0(0xe5),()=>{clearTimeout(_0x4e9a8d),_0x196111();});}),'abortController':_0x26a073};}function _0x4bdb(){const _0xbf4cd9=['shouldBeStreamed','push','abort','del','childNodes','2751104ixQQGW','onStreamUpdate','1157790GXNAsa','includes','currentIndex','parent','cleanUpAnimations','span[data-ck-html-streamer-word-chunk]','getParsedDocumentNodeList','isStreaming','entries','bind','delay','stream','1424184EbAPmH','renderNode','ins','querySelectorAll','stop','isWordSplitSource','match','div','mark','sub','isWordSplitResult','from','attribs','children','sup','code','span','signal','addEventListener','strong','28QfCLpi','tagName','length','reverse','timeoutAbortController','39948eJlwRb','join','140NDBApS','lastUpdateTime','nodesList','3838590rHhHUQ','forEach','document','now','textNodeStyle','splitTextNodeIntoWordNodes','reset','replaceWith','map','600354NVuWwq','3204235cbStfA','options'];_0x4bdb=function(){return _0xbf4cd9;};return _0x4bdb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x10ac(){const _0x22ce1f=['addEventListener','animationFrameId','174978gMuCHw','681320zmMrIY','scrollTo','pointerdown','PageDown','signal','Home','PageUp','key','ArrowDown','End','_rafUpdate','bind','destroy','28BSfGzg','_onUserEvent','_isAtBottom','start','2629847CwyXQu','ArrowUp','element','8EunXuc','10sBfNLv','429450cJkOqe','2062lpnLnM','wheel','abortController','751036FVQaAh','isUserPaused','_stop','touchstart','abort','stop','type','deltaY','scrollHeight','1207125ZPzuZI','47losPeD','auto','isRunning','keydown','includes'];_0x10ac=function(){return _0x22ce1f;};return _0x10ac();}function _0x516a(_0x19ebcb,_0x1be933){const _0x10ac81=_0x10ac();return _0x516a=function(_0x516ad6,_0x165806){_0x516ad6=_0x516ad6-0x172;let _0x2e45d0=_0x10ac81[_0x516ad6];return _0x2e45d0;},_0x516a(_0x19ebcb,_0x1be933);}const _0x5ad904=_0x516a;(function(_0x46162b,_0x3d08ac){const _0x2fb6af=_0x516a,_0xcde8d8=_0x46162b();while(!![]){try{const _0x30e85f=parseInt(_0x2fb6af(0x17f))/0x1*(parseInt(_0x2fb6af(0x172))/0x2)+-parseInt(_0x2fb6af(0x19d))/0x3+parseInt(_0x2fb6af(0x175))/0x4+parseInt(_0x2fb6af(0x187))/0x5+-parseInt(_0x2fb6af(0x186))/0x6*(parseInt(_0x2fb6af(0x194))/0x7)+-parseInt(_0x2fb6af(0x19b))/0x8*(parseInt(_0x2fb6af(0x17e))/0x9)+parseInt(_0x2fb6af(0x19c))/0xa*(parseInt(_0x2fb6af(0x198))/0xb);if(_0x30e85f===_0x3d08ac)break;else _0xcde8d8['push'](_0xcde8d8['shift']());}catch(_0x30470f){_0xcde8d8['push'](_0xcde8d8['shift']());}}}(_0x10ac,0x3521e));const Fs=[_0x5ad904(0x173),_0x5ad904(0x178),_0x5ad904(0x189),_0x5ad904(0x182)],Us=[_0x5ad904(0x199),_0x5ad904(0x18f),_0x5ad904(0x18d),_0x5ad904(0x18a),_0x5ad904(0x18c),_0x5ad904(0x190),'\x20'];export class ScrollManager{[_0x5ad904(0x19a)];[_0x5ad904(0x185)];[_0x5ad904(0x181)];[_0x5ad904(0x174)];[_0x5ad904(0x176)];constructor(_0x5a3c58){const _0x8f63ee=_0x5ad904;this[_0x8f63ee(0x19a)]=_0x5a3c58,this[_0x8f63ee(0x185)]=null,this[_0x8f63ee(0x181)]=!0x1,this[_0x8f63ee(0x174)]=new AbortController(),this[_0x8f63ee(0x176)]=!0x1;for(const _0x4de42f of Fs){const _0x148a49=_0x8f63ee(0x182)!==_0x4de42f;this[_0x8f63ee(0x19a)][_0x8f63ee(0x184)](_0x4de42f,this[_0x8f63ee(0x195)][_0x8f63ee(0x192)](this),{'passive':_0x148a49,'signal':this[_0x8f63ee(0x174)][_0x8f63ee(0x18b)]});}}[_0x5ad904(0x197)](){const _0x58a2e6=_0x5ad904;this[_0x58a2e6(0x181)]||(this[_0x58a2e6(0x181)]=!0x0,this[_0x58a2e6(0x176)]=!0x1,this[_0x58a2e6(0x185)]=requestAnimationFrame(this[_0x58a2e6(0x191)][_0x58a2e6(0x192)](this)));}[_0x5ad904(0x17a)](){requestAnimationFrame(()=>{const _0x4f1605=_0x516a;this[_0x4f1605(0x177)]();});}[_0x5ad904(0x193)](){const _0x19f09b=_0x5ad904;this[_0x19f09b(0x177)](),this[_0x19f09b(0x174)][_0x19f09b(0x179)]();}[_0x5ad904(0x177)](){const _0x44a5be=_0x5ad904;null!==this[_0x44a5be(0x185)]&&(cancelAnimationFrame(this[_0x44a5be(0x185)]),this[_0x44a5be(0x185)]=null),this[_0x44a5be(0x181)]&&(this[_0x44a5be(0x181)]=!0x1),this[_0x44a5be(0x176)]=!0x1;}[_0x5ad904(0x195)](_0x541304){const _0x4cff36=_0x5ad904;if(this[_0x4cff36(0x181)]){if(_0x4cff36(0x182)===_0x541304[_0x4cff36(0x17b)]){const _0x59b0cc=_0x541304[_0x4cff36(0x18e)];if(!Us[_0x4cff36(0x183)](_0x59b0cc))return;}_0x541304 instanceof WheelEvent?_0x541304[_0x4cff36(0x17c)]<0x0?this[_0x4cff36(0x176)]=!0x0:this[_0x4cff36(0x176)]=!this[_0x4cff36(0x196)]():this[_0x4cff36(0x176)]=!0x0;}}[_0x5ad904(0x196)](){const _0x4d8691=_0x5ad904,{scrollTop:_0x2298bb,scrollHeight:_0x750c5c,clientHeight:_0x49615b}=this[_0x4d8691(0x19a)];return _0x750c5c-_0x2298bb-_0x49615b<=0x5;}[_0x5ad904(0x191)](){const _0x2ce313=_0x5ad904;this[_0x2ce313(0x181)]&&(this[_0x2ce313(0x176)]||this[_0x2ce313(0x19a)][_0x2ce313(0x188)]({'top':this[_0x2ce313(0x19a)][_0x2ce313(0x17d)],'behavior':_0x2ce313(0x180)}),this[_0x2ce313(0x185)]=requestAnimationFrame(this[_0x2ce313(0x191)][_0x2ce313(0x192)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x7910(_0x4c347e,_0x29975a){var _0x55dedf=_0x55de();return _0x7910=function(_0x791025,_0x1cec4c){_0x791025=_0x791025-0x69;var _0x4cb9a6=_0x55dedf[_0x791025];return _0x4cb9a6;},_0x7910(_0x4c347e,_0x29975a);}var _0x50b41d=_0x7910;(function(_0x1cf934,_0x141cbb){var _0x562993=_0x7910,_0xb8b49e=_0x1cf934();while(!![]){try{var _0x45b6dd=-parseInt(_0x562993(0x70))/0x1*(-parseInt(_0x562993(0x75))/0x2)+-parseInt(_0x562993(0x78))/0x3+-parseInt(_0x562993(0x6b))/0x4*(parseInt(_0x562993(0x6c))/0x5)+-parseInt(_0x562993(0x74))/0x6+parseInt(_0x562993(0x73))/0x7*(-parseInt(_0x562993(0x6d))/0x8)+-parseInt(_0x562993(0x6e))/0x9+parseInt(_0x562993(0x69))/0xa*(parseInt(_0x562993(0x76))/0xb);if(_0x45b6dd===_0x141cbb)break;else _0xb8b49e['push'](_0xb8b49e['shift']());}catch(_0x52c58e){_0xb8b49e['push'](_0xb8b49e['shift']());}}}(_0x55de,0x24f0b));import{Plugin as _0x2f8e43}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x51c722}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x1b7062}from'../aichat/aichatballoon.js';function _0x55de(){var _0x3cf03d=['2NopStD','5789872xPHYBl','pluginName','719943yTdVPZ','10vVAQrA','requires','52fXaIex','2995tXaXDH','168UASMjN','1317735PDysyk','isOfficialPlugin','298907PlZccd','AIEditorIntegration','isPremiumPlugin','49658teoUSi','784770GkeRUA'];_0x55de=function(){return _0x3cf03d;};return _0x55de();}import{SuggestionsConversion as _0x21a2f1}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x2f8e43{static get[_0x50b41d(0x6a)](){return[_0x51c722,_0x1b7062,_0x21a2f1];}static get[_0x50b41d(0x77)](){var _0x1d7eec=_0x50b41d;return _0x1d7eec(0x71);}static get[_0x50b41d(0x6f)](){return!0x0;}static get[_0x50b41d(0x72)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34135a=_0x26c2;function _0x1dcf(){const _0x3705b3=['1056336EmOfCZ','isEnabled','734856AGuKRc','200384cUCqZC','36tIqruD','get','AIToggleButtonUI','isPremiumPlugin','toggleAi','requires','add','listenTo','2756169bbuXVn','value','menuBar:toggleAi','ck-ai-toggle-button','isOfficialPlugin','bind','locale','execute','7CzkyKf','AI_TOGGLE_BUTTON_LABEL','_createAIUIButton','isOn','484119gbOagi','3296LXulTN','911505FznOsf','componentFactory','pluginName','menuitemcheckbox','editor','set','init','commands'];_0x1dcf=function(){return _0x3705b3;};return _0x1dcf();}(function(_0x2109c5,_0x46b256){const _0x160c4a=_0x26c2,_0x5992de=_0x2109c5();while(!![]){try{const _0x484981=-parseInt(_0x160c4a(0xd8))/0x1*(parseInt(_0x160c4a(0xc3))/0x2)+-parseInt(_0x160c4a(0xd7))/0x3+-parseInt(_0x160c4a(0xc2))/0x4+parseInt(_0x160c4a(0xb7))/0x5+parseInt(_0x160c4a(0xbf))/0x6*(-parseInt(_0x160c4a(0xd3))/0x7)+parseInt(_0x160c4a(0xc1))/0x8+parseInt(_0x160c4a(0xcb))/0x9;if(_0x484981===_0x46b256)break;else _0x5992de['push'](_0x5992de['shift']());}catch(_0x517b12){_0x5992de['push'](_0x5992de['shift']());}}}(_0x1dcf,0x209aa));import{Plugin as _0x4fa658}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x3251ff}from'./toggleaicommand.js';import{ButtonView as _0x1ec7d1,MenuBarMenuListItemButtonView as _0x36e577}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x561762}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x375a8c}from'../../aicore/utils/common-translations.js';import{AITabs as _0x45276a}from'../../aitabs/aitabs.js';function _0x26c2(_0x2fbe2c,_0x5e1348){const _0x1dcf7c=_0x1dcf();return _0x26c2=function(_0x26c229,_0x32ba2b){_0x26c229=_0x26c229-0xb7;let _0x5e85a8=_0x1dcf7c[_0x26c229];return _0x5e85a8;},_0x26c2(_0x2fbe2c,_0x5e1348);}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x4fa658{static get[_0x34135a(0xc8)](){return[_0x45276a];}static get[_0x34135a(0xb9)](){const _0x51a5a8=_0x34135a;return _0x51a5a8(0xc5);}static get[_0x34135a(0xcf)](){return!0x0;}static get[_0x34135a(0xc6)](){return!0x0;}[_0x34135a(0xbd)](){const _0x29fc37=_0x34135a,_0x196dfc=this[_0x29fc37(0xbb)];_0x196dfc[_0x29fc37(0xbe)][_0x29fc37(0xc9)](_0x29fc37(0xc7),new _0x3251ff(_0x196dfc)),_0x196dfc['ui'][_0x29fc37(0xb8)][_0x29fc37(0xc9)](_0x29fc37(0xc7),()=>{const _0x51bbd4=_0x29fc37,_0x336d68=this[_0x51bbd4(0xd5)](_0x1ec7d1);return _0x336d68[_0x51bbd4(0xbc)]({'tooltip':!0x0,'class':_0x51bbd4(0xce)}),_0x336d68;}),_0x196dfc['ui'][_0x29fc37(0xb8)][_0x29fc37(0xc9)](_0x29fc37(0xcd),()=>{const _0x134e68=_0x29fc37,_0x9f5ea1=this[_0x134e68(0xd5)](_0x36e577);return _0x9f5ea1[_0x134e68(0xbc)]({'role':_0x134e68(0xba)}),_0x9f5ea1;});}[_0x34135a(0xd5)](_0x5bf1df){const _0xca162c=_0x34135a,_0x2d6cd0=this[_0xca162c(0xbb)],_0x2f753f=_0x2d6cd0[_0xca162c(0xbe)][_0xca162c(0xc4)](_0xca162c(0xc7)),_0x478959=new _0x5bf1df(_0x2d6cd0[_0xca162c(0xd1)]);return _0x478959[_0xca162c(0xbc)]({'label':_0x375a8c(_0x2d6cd0[_0xca162c(0xd1)],_0xca162c(0xd4)),'icon':_0x561762,'isToggleable':!0x0}),_0x478959[_0xca162c(0xd0)](_0xca162c(0xc0))['to'](_0x2f753f),_0x478959[_0xca162c(0xd0)](_0xca162c(0xd6))['to'](_0x2f753f,_0xca162c(0xcc),_0x1df95b=>!!_0x1df95b),this[_0xca162c(0xca)](_0x478959,_0xca162c(0xd2),()=>{const _0x249a57=_0xca162c;_0x2f753f[_0x249a57(0xd2)]();}),_0x478959;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x42b4d6=_0x55d7;(function(_0x144e7c,_0x5da22f){const _0x3754c6=_0x55d7,_0x42ed91=_0x144e7c();while(!![]){try{const _0x85ea0e=parseInt(_0x3754c6(0x135))/0x1*(parseInt(_0x3754c6(0x134))/0x2)+parseInt(_0x3754c6(0x138))/0x3+-parseInt(_0x3754c6(0x12d))/0x4+parseInt(_0x3754c6(0x136))/0x5*(-parseInt(_0x3754c6(0x13b))/0x6)+parseInt(_0x3754c6(0x12b))/0x7+parseInt(_0x3754c6(0x130))/0x8*(parseInt(_0x3754c6(0x133))/0x9)+parseInt(_0x3754c6(0x12f))/0xa*(-parseInt(_0x3754c6(0x137))/0xb);if(_0x85ea0e===_0x5da22f)break;else _0x42ed91['push'](_0x42ed91['shift']());}catch(_0x59af49){_0x42ed91['push'](_0x42ed91['shift']());}}}(_0x2570,0xb5aca));function _0x2570(){const _0x4d19c7=['13305087JLxXEp','122cqJmbY','19528foxtph','885UHJjvW','3377TfgZXN','2319954GMSdac','plugins','value','16554ySAoet','editor','isVisible','execute','get','5347321duqsxm','view','2592608hPpzTo','bind','75770pSkpJf','8CwCoLt','isEnabled','AITabs'];_0x2570=function(){return _0x4d19c7;};return _0x2570();}import{Command as _0xfbc57f}from'ckeditor5/src/core.js';function _0x55d7(_0xe92c56,_0x24b259){const _0x257006=_0x2570();return _0x55d7=function(_0x55d7d0,_0x2ae7e7){_0x55d7d0=_0x55d7d0-0x12a;let _0x58ae77=_0x257006[_0x55d7d0];return _0x58ae77;},_0x55d7(_0xe92c56,_0x24b259);}export class ToggleAICommand extends _0xfbc57f{constructor(_0x39def3){const _0x2d48c2=_0x55d7;super(_0x39def3);const _0x134264=_0x39def3[_0x2d48c2(0x139)][_0x2d48c2(0x12a)](_0x2d48c2(0x132))[_0x2d48c2(0x12c)];this[_0x2d48c2(0x12e)](_0x2d48c2(0x13a))['to'](_0x134264,_0x2d48c2(0x13d)),this[_0x2d48c2(0x131)]=!0x0;}[_0x42b4d6(0x13e)](){const _0x1f1ae5=_0x42b4d6,_0x1ca24b=this[_0x1f1ae5(0x13c)][_0x1f1ae5(0x139)][_0x1f1ae5(0x12a)](_0x1f1ae5(0x132))[_0x1f1ae5(0x12c)];_0x1ca24b[_0x1f1ae5(0x13d)]=!_0x1ca24b[_0x1f1ae5(0x13d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x22f8(_0x5c5917,_0x4e8844){var _0x479d1c=_0x479d();return _0x22f8=function(_0x22f8ed,_0x162948){_0x22f8ed=_0x22f8ed-0x1b9;var _0x34354a=_0x479d1c[_0x22f8ed];return _0x34354a;},_0x22f8(_0x5c5917,_0x4e8844);}var _0x3bf466=_0x22f8;(function(_0x40ae3c,_0x4a470d){var _0x234311=_0x22f8,_0xe246d8=_0x40ae3c();while(!![]){try{var _0x406696=-parseInt(_0x234311(0x1b9))/0x1+-parseInt(_0x234311(0x1c8))/0x2*(-parseInt(_0x234311(0x1bb))/0x3)+-parseInt(_0x234311(0x1ca))/0x4*(parseInt(_0x234311(0x1c1))/0x5)+-parseInt(_0x234311(0x1c4))/0x6+parseInt(_0x234311(0x1bc))/0x7+-parseInt(_0x234311(0x1be))/0x8+parseInt(_0x234311(0x1ba))/0x9*(parseInt(_0x234311(0x1c6))/0xa);if(_0x406696===_0x4a470d)break;else _0xe246d8['push'](_0xe246d8['shift']());}catch(_0x4c05ec){_0xe246d8['push'](_0xe246d8['shift']());}}}(_0x479d,0x51aca));import{Plugin as _0xd52d65}from'ckeditor5/src/core.js';function _0x479d(){var _0x562faa=['1728430MODYve','isPremiumPlugin','180904kUXXuA','pluginName','45420beJjhU','319711wNYuWI','63rPABMl','12csalcM','705789bUQBSX','isOfficialPlugin','1769816iOAcxj','define','config','265qjhjcj','AIQuickActions','ai.quickActions','1171470UiWknD','requires'];_0x479d=function(){return _0x562faa;};return _0x479d();}import{AIQuickActionsUI as _0x305d61}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x20417f}from'./aiquickactionsediting.js';import{AIActions as _0x33beb8}from'../aiactions/aiactions.js';export class AIQuickActions extends _0xd52d65{static get[_0x3bf466(0x1c5)](){return[_0x305d61,_0x20417f,_0x33beb8];}static get[_0x3bf466(0x1c9)](){var _0x22e9a5=_0x3bf466;return _0x22e9a5(0x1c2);}static get[_0x3bf466(0x1bd)](){return!0x0;}static get[_0x3bf466(0x1c7)](){return!0x0;}constructor(_0x142adb){var _0x2a7d10=_0x3bf466;super(_0x142adb),_0x142adb[_0x2a7d10(0x1c0)][_0x2a7d10(0x1bf)](_0x2a7d10(0x1c3),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1dd42a=_0x40c4;(function(_0x47eb01,_0x981f27){const _0x5d1522=_0x40c4,_0x562d8c=_0x47eb01();while(!![]){try{const _0x1e30b7=parseInt(_0x5d1522(0x118))/0x1*(-parseInt(_0x5d1522(0xf6))/0x2)+-parseInt(_0x5d1522(0xf2))/0x3+-parseInt(_0x5d1522(0x110))/0x4*(-parseInt(_0x5d1522(0xf0))/0x5)+-parseInt(_0x5d1522(0x122))/0x6+-parseInt(_0x5d1522(0x125))/0x7+-parseInt(_0x5d1522(0x119))/0x8*(parseInt(_0x5d1522(0xfb))/0x9)+parseInt(_0x5d1522(0x124))/0xa;if(_0x1e30b7===_0x981f27)break;else _0x562d8c['push'](_0x562d8c['shift']());}catch(_0x44626f){_0x562d8c['push'](_0x562d8c['shift']());}}}(_0x4703,0xc2622));import{Command as _0x418211}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d54d9,first as _0x9145b7}from'ckeditor5/src/utils.js';function _0x40c4(_0x210f1e,_0x5d5e2a){const _0x47039c=_0x4703();return _0x40c4=function(_0x40c403,_0xc76e51){_0x40c403=_0x40c403-0xed;let _0x2d4e13=_0x47039c[_0x40c403];return _0x2d4e13;},_0x40c4(_0x210f1e,_0x5d5e2a);}import{AIQuickActionType as _0x1f3c2b}from'./aiquickactionsui.js';import{getTranslation as _0x1f6801}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x418211{[_0x1dd42a(0x101)](_0x2a7337){const _0x446204=_0x1dd42a;switch(this[_0x446204(0x123)](),_0x2a7337[_0x446204(0x10f)]){case _0x1f3c2b[_0x446204(0x109)]:if(!this[_0x446204(0x103)][_0x446204(0xf7)][_0x446204(0x111)](_0x446204(0x129))){const _0x31148e=_0x1f6801(this[_0x446204(0x103)][_0x446204(0x11d)],_0x446204(0x121),_0x446204(0x129));throw new _0x3d54d9(_0x446204(0xed),this[_0x446204(0x103)],{'errorMessage':_0x31148e});}this[_0x446204(0xfc)](_0x2a7337);break;case _0x1f3c2b[_0x446204(0xfa)]:if(!this[_0x446204(0x103)][_0x446204(0xf7)][_0x446204(0x111)](_0x446204(0x11a))){const _0x3faf20=_0x1f6801(this[_0x446204(0x103)][_0x446204(0x11d)],_0x446204(0x121),_0x446204(0x11a));throw new _0x3d54d9(_0x446204(0xed),this[_0x446204(0x103)],{'errorMessage':_0x3faf20});}this[_0x446204(0x10d)](_0x2a7337);break;case _0x1f3c2b[_0x446204(0x10c)]:if(!this[_0x446204(0x103)][_0x446204(0xf7)][_0x446204(0x111)](_0x446204(0x108))){const _0x723d5e=_0x1f6801(this[_0x446204(0x103)][_0x446204(0x11d)],_0x446204(0x121),_0x446204(0x108));throw new _0x3d54d9(_0x446204(0xed),this[_0x446204(0x103)],{'errorMessage':_0x723d5e});}this[_0x446204(0xf4)](_0x2a7337);}}async[_0x1dd42a(0xfc)](_0x5cf097){const _0x35bbd5=_0x1dd42a,_0x32f239=this[_0x35bbd5(0x103)][_0x35bbd5(0xf7)][_0x35bbd5(0x10e)](_0x35bbd5(0x129)),_0x6c4187=this[_0x35bbd5(0x103)][_0x35bbd5(0xf7)][_0x35bbd5(0x10e)](_0x35bbd5(0xf1)),_0x819bb7=this[_0x35bbd5(0x103)][_0x35bbd5(0xf7)][_0x35bbd5(0x10e)](_0x35bbd5(0xf8))[_0x35bbd5(0x114)];if(_0x819bb7[_0x35bbd5(0x117)]||(_0x819bb7[_0x35bbd5(0x117)]=!0x0),_0x35bbd5(0x11c)!==_0x819bb7[_0x35bbd5(0x12a)]&&_0x819bb7[_0x35bbd5(0x100)](_0x35bbd5(0x11c)),_0x35bbd5(0x113)===_0x5cf097['id'])_0x6c4187[_0x35bbd5(0xef)](),await _0x32f239[_0x35bbd5(0x127)](),_0x32f239[_0x35bbd5(0x115)]();else await _0x32f239[_0x35bbd5(0x10b)](),_0x6c4187[_0x35bbd5(0xef)](),await _0x32f239[_0x35bbd5(0x127)](),_0x32f239[_0x35bbd5(0x115)](),await _0x32f239[_0x35bbd5(0xff)]({'message':_0x5cf097[_0x35bbd5(0x11b)]||_0x5cf097[_0x35bbd5(0x128)],'attributes':{'quickActionData':{'id':_0x5cf097['id']},'displayedPrompt':_0x5cf097[_0x35bbd5(0x128)]}});}[_0x1dd42a(0x123)](){const _0x3fc7df=_0x1dd42a,_0x3ad438=this[_0x3fc7df(0x103)],_0x4790df=_0x3ad438[_0x3fc7df(0x126)][_0x3fc7df(0x11e)][_0x3fc7df(0x120)];if(!_0x4790df[_0x3fc7df(0xee)])return;const _0x175b50=_0x9145b7(_0x4790df[_0x3fc7df(0x10a)]())||_0x3ad438[_0x3fc7df(0x126)][_0x3fc7df(0x107)][_0x3fc7df(0x112)](_0x4790df);_0x3ad438[_0x3fc7df(0x126)][_0x3fc7df(0x105)](_0x4e44c9=>{const _0x1423c2=_0x3fc7df;_0x4e44c9[_0x1423c2(0x12b)](_0x175b50,'in');});}[_0x1dd42a(0xfe)](_0x501623){const _0x372796=_0x1dd42a;return _0x501623[_0x372796(0x102)]?.[_0x372796(0x104)]&&_0x372796(0xf5)!==_0x501623[_0x372796(0x102)]?.['id']?_0x501623[_0x372796(0x102)][_0x372796(0x104)]+':\x20'+_0x501623[_0x372796(0x128)]:_0x501623[_0x372796(0x128)];}async[_0x1dd42a(0x10d)](_0x467aef){const _0x2a899c=_0x1dd42a,_0x371d99=this[_0x2a899c(0x103)][_0x2a899c(0xf7)][_0x2a899c(0x10e)](_0x2a899c(0x11a)),_0x581979=_0x467aef[_0x2a899c(0x11b)]?{'userMessage':_0x467aef[_0x2a899c(0x11b)],'model':_0x467aef[_0x2a899c(0x126)]}:{'actionName':_0x467aef[_0x2a899c(0xf3)]||_0x467aef['id'],'args':_0x467aef[_0x2a899c(0x11f)]},_0x466bf4=this[_0x2a899c(0xfe)](_0x467aef);await _0x371d99[_0x2a899c(0x116)](_0x581979,_0x466bf4,_0x467aef[_0x2a899c(0xfd)]);}async[_0x1dd42a(0xf4)](_0x3cc549){const _0x1f6d63=_0x1dd42a;console[_0x1f6d63(0xf9)](_0x1f6d63(0x106),_0x3cc549);}}function _0x4703(){const _0x398a83=['_handleAIActionsAction','get','type','36cWhdHm','has','getLimitElement','ask-ai','view','focusPromptInput','executeAction','isVisible','17171ZzfkaH','20376GnOZWf','AIActions','prompt','chat','locale','document','args','selection','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','165978dpkamn','_expandSelectionIfCollapsed','36275980PZSrWA','3330117epWPJh','model','addSelectionToChatContext','displayedPrompt','AIChat','activeTab','setSelection','ai-quick-actions-plugin-not-found','isCollapsed','removeSelectionFromChatContext','873530PDimcN','AIChatController','4738365IyavZl','actionName','_handleAIReviewAction','other','184xEQoRr','plugins','AITabs','log','ACTION','2619kNLaiM','_handleAIChatAction','icon','_handleAIActionsActionLabel','sendMessage','activateTab','execute','parent','editor','label','change','handleAIReviewAction','schema','AIReviewMode','CHAT','getSelectedBlocks','startConversation','REVIEW'];_0x4703=function(){return _0x398a83;};return _0x4703();}
|