@ckeditor/ckeditor5-ai 47.7.0 → 47.7.1-alpha.0
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
|
+
const _0x25af12=_0x1a1e;(function(_0x23683e,_0x53a678){const _0x3ad8a9=_0x1a1e,_0x49ec34=_0x23683e();while(!![]){try{const _0x4b67a9=parseInt(_0x3ad8a9(0x179))/0x1*(-parseInt(_0x3ad8a9(0x180))/0x2)+-parseInt(_0x3ad8a9(0x165))/0x3+parseInt(_0x3ad8a9(0x177))/0x4*(-parseInt(_0x3ad8a9(0x17f))/0x5)+-parseInt(_0x3ad8a9(0x181))/0x6*(-parseInt(_0x3ad8a9(0x176))/0x7)+parseInt(_0x3ad8a9(0x16c))/0x8+-parseInt(_0x3ad8a9(0x169))/0x9+-parseInt(_0x3ad8a9(0x164))/0xa*(-parseInt(_0x3ad8a9(0x163))/0xb);if(_0x4b67a9===_0x53a678)break;else _0x49ec34['push'](_0x49ec34['shift']());}catch(_0x404283){_0x49ec34['push'](_0x49ec34['shift']());}}}(_0x5492,0x880d1));import{CKEditorError as _0x142360,compareArrays as _0xeb7234}from'ckeditor5/src/utils.js';import{getNodePath as _0x20f91b,isText as _0x44a605,getChildren as _0x2b743a,isDocument as _0x242fd6,getParent as _0xeb2487,textContent as _0x3b6cf3,hasChildren as _0x5027c6}from'./htmlparser.js';function _0x5492(){const _0x4183e0=['slice','createBefore','document','path','createAfter','indexOf','parent','112vtxMAv','25396Rdgvsh','start','1gNxEbV','getNudgedToWordBoundary','reduce','isEqual','nextNode','match','215KlLWdT','1871284PtTHqF','2472stQPxI','previousNode','data','index','3728857UcHSYU','40NeGPHS','1763073fCTlDK','ai-documentposition-index-out-of-bounds','createAt','end','657486LtYjDv','same','createFromPath','8512952eWpbsm','length','ai-documentposition-createfrompath-path-cannot-be-empty'];_0x5492=function(){return _0x4183e0;};return _0x5492();}function _0x1a1e(_0x5ca75f,_0x19857f){const _0x5492b6=_0x5492();return _0x1a1e=function(_0x1a1ee2,_0x1e37a9){_0x1a1ee2=_0x1a1ee2-0x162;let _0x4bf796=_0x5492b6[_0x1a1ee2];return _0x4bf796;},_0x1a1e(_0x5ca75f,_0x19857f);}export class DocumentPosition{[_0x25af12(0x175)];[_0x25af12(0x162)];[_0x25af12(0x171)];constructor(_0x50c604,_0x23a377,_0x25773b){const _0x2e4f4c=_0x25af12;if(_0x44a605(_0x23a377)&&_0x25773b>_0x23a377[_0x2e4f4c(0x183)][_0x2e4f4c(0x16d)])throw new _0x142360(_0x2e4f4c(0x166),null,{'index':_0x25773b,'parent':_0x23a377});if(_0x5027c6(_0x23a377)&&_0x25773b>_0x2b743a(_0x23a377)[_0x2e4f4c(0x16d)])throw new _0x142360(_0x2e4f4c(0x166),null,{'index':_0x25773b,'parent':_0x23a377});if(_0x25773b<0x0)throw new _0x142360(_0x2e4f4c(0x166),null,{'index':_0x25773b,'parent':_0x23a377});this[_0x2e4f4c(0x175)]=_0x23a377,this[_0x2e4f4c(0x162)]=_0x25773b,this[_0x2e4f4c(0x171)]=_0x50c604;}get[_0x25af12(0x172)](){const _0x1b57d4=_0x25af12;return[..._0x20f91b(this[_0x1b57d4(0x175)]),this[_0x1b57d4(0x162)]];}[_0x25af12(0x17c)](_0x27f3ec){const _0x589a6c=_0x25af12;return this[_0x589a6c(0x171)]==_0x27f3ec[_0x589a6c(0x171)]&&_0x589a6c(0x16a)===_0xeb7234(this[_0x589a6c(0x172)],_0x27f3ec[_0x589a6c(0x172)]);}get[_0x25af12(0x17d)](){const _0x1692b6=_0x25af12;if(_0x5027c6(this[_0x1692b6(0x175)])){const _0x39580f=_0x2b743a(this[_0x1692b6(0x175)])[this[_0x1692b6(0x162)]];if(_0x39580f)return _0x39580f;{const _0x35d966=DocumentPosition[_0x1692b6(0x173)](this[_0x1692b6(0x171)],this[_0x1692b6(0x175)]);if(_0x35d966)return _0x35d966[_0x1692b6(0x17d)];}}return null;}get[_0x25af12(0x182)](){const _0x19d546=_0x25af12;if(_0x5027c6(this[_0x19d546(0x175)])){const _0x50c5f0=_0x2b743a(this[_0x19d546(0x175)])[this[_0x19d546(0x162)]-0x1];if(_0x50c5f0)return _0x50c5f0;{const _0x346c3b=DocumentPosition[_0x19d546(0x170)](this[_0x19d546(0x171)],this[_0x19d546(0x175)]);if(_0x346c3b)return _0x346c3b[_0x19d546(0x182)];}}return null;}[_0x25af12(0x17a)](_0x2af815=_0x25af12(0x178)){const _0x400f93=_0x25af12;if(!_0x44a605(this[_0x400f93(0x175)]))return this;const _0x1ff3f3=this[_0x400f93(0x172)][this[_0x400f93(0x172)][_0x400f93(0x16d)]-0x1],_0x221cb1=_0x3b6cf3(this[_0x400f93(0x175)])[_0x400f93(0x17e)](/(?:\s*\S+\s*)/g);let _0x402793=0x0,_0x188ea4=_0x1ff3f3;for(const _0x22a8eb of _0x221cb1){if(_0x402793+_0x22a8eb[_0x400f93(0x16d)]===_0x1ff3f3)return this;if(_0x402793+_0x22a8eb[_0x400f93(0x16d)]>_0x1ff3f3){_0x188ea4=_0x400f93(0x178)===_0x2af815?_0x402793:_0x402793+_0x22a8eb[_0x400f93(0x16d)];break;}_0x402793+=_0x22a8eb[_0x400f93(0x16d)];}return DocumentPosition[_0x400f93(0x167)](this[_0x400f93(0x171)],this[_0x400f93(0x175)],_0x188ea4);}static[_0x25af12(0x173)](_0x1b1ec7,_0x297298){const _0x4771f2=_0x25af12;if(_0x242fd6(_0x297298))return null;const _0x2881ad=_0xeb2487(_0x297298);return DocumentPosition[_0x4771f2(0x167)](_0x1b1ec7,_0x2881ad,_0x2b743a(_0x2881ad)[_0x4771f2(0x174)](_0x297298)+0x1);}static[_0x25af12(0x170)](_0x56c315,_0x4baa0b){const _0x4a30fd=_0x25af12;if(_0x242fd6(_0x4baa0b))return null;const _0x4f3d35=_0xeb2487(_0x4baa0b);return DocumentPosition[_0x4a30fd(0x167)](_0x56c315,_0x4f3d35,_0x2b743a(_0x4f3d35)[_0x4a30fd(0x174)](_0x4baa0b));}static[_0x25af12(0x167)](_0xf754e4,_0x301272,_0x3cfc14=_0x25af12(0x178)){const _0xcb6327=_0x25af12;return new DocumentPosition(_0xf754e4,_0x301272,_0xcb6327(0x178)===_0x3cfc14?0x0:_0xcb6327(0x168)===_0x3cfc14?_0x44a605(_0x301272)?_0x301272[_0xcb6327(0x183)][_0xcb6327(0x16d)]:_0x2b743a(_0x301272)[_0xcb6327(0x16d)]:_0x3cfc14);}static[_0x25af12(0x16b)](_0xc30d3d,_0x5d2fc4){const _0x4fd424=_0x25af12;if(!_0x5d2fc4[_0x4fd424(0x16d)])throw new _0x142360(_0x4fd424(0x16e),null,{'path':_0x5d2fc4});const _0x571e65=_0x5d2fc4[_0x4fd424(0x16f)](0x0,-0x1)[_0x4fd424(0x17b)]((_0x5523d0,_0x4546fd)=>_0x44a605(_0x5523d0)?_0x5523d0:_0x2b743a(_0x5523d0)[_0x4546fd],_0xc30d3d);return DocumentPosition[_0x4fd424(0x167)](_0xc30d3d,_0x571e65,_0x5d2fc4[_0x5d2fc4[_0x4fd424(0x16d)]-0x1]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x132494=_0x1028;function _0x1028(_0x1a7a2b,_0x426822){const _0xd8b4d0=_0xd8b4();return _0x1028=function(_0x1028eb,_0x3906b6){_0x1028eb=_0x1028eb-0x13d;let _0x3114ef=_0xd8b4d0[_0x1028eb];return _0x3114ef;},_0x1028(_0x1a7a2b,_0x426822);}(function(_0x5a87c6,_0x5d9111){const _0x33e8de=_0x1028,_0xcb0a81=_0x5a87c6();while(!![]){try{const _0x578ffa=-parseInt(_0x33e8de(0x145))/0x1*(parseInt(_0x33e8de(0x141))/0x2)+parseInt(_0x33e8de(0x153))/0x3+-parseInt(_0x33e8de(0x154))/0x4*(-parseInt(_0x33e8de(0x152))/0x5)+-parseInt(_0x33e8de(0x142))/0x6+-parseInt(_0x33e8de(0x14b))/0x7+parseInt(_0x33e8de(0x144))/0x8*(-parseInt(_0x33e8de(0x150))/0x9)+parseInt(_0x33e8de(0x13e))/0xa*(parseInt(_0x33e8de(0x13d))/0xb);if(_0x578ffa===_0x5d9111)break;else _0xcb0a81['push'](_0xcb0a81['shift']());}catch(_0x137eff){_0xcb0a81['push'](_0xcb0a81['shift']());}}}(_0xd8b4,0x3e5f4));import{DocumentPosition as _0x27e552}from'./documentposition.js';function _0xd8b4(){const _0x2908ee=['462805aJpnGx','1517400oGhjOh','4VdBITr','includes','document','isEqual','getContent','createAfter','push','createAt','createFromPath','length','data','4159661iYGcxR','20EIEibi','end','lastChild','292732InDiZm','784620EKNlGQ','start','66088NZZKKT','3hkugqs','getNudgedToWordBoundary','firstChild','path','parent','slice','2606520vGCSqK','reverse','createBefore','forEach','nextNode','171nzVTYu','previousNode'];_0xd8b4=function(){return _0x2908ee;};return _0xd8b4();}import{clone as _0x1e1702,getParents as _0x412ec5,Document as _0x752ff8,Text as _0x179b13,isTag as _0x123425,isText as _0x29051d,replaceElement as _0x5f28da,removeElement as _0x270ddb}from'./htmlparser.js';export class DocumentRange{[_0x132494(0x143)];[_0x132494(0x13f)];constructor(_0x5a94a1,_0x35a6e8){const _0xbded0c=_0x132494;this[_0xbded0c(0x143)]=_0x5a94a1,this[_0xbded0c(0x13f)]=_0x35a6e8;}[_0x132494(0x157)](_0x419654){const _0x505a63=_0x132494;return this==_0x419654||this[_0x505a63(0x143)][_0x505a63(0x157)](_0x419654[_0x505a63(0x143)])&&this[_0x505a63(0x13f)][_0x505a63(0x157)](_0x419654[_0x505a63(0x13f)]);}[_0x132494(0x146)](){const _0x3c893a=_0x132494;return new DocumentRange(this[_0x3c893a(0x143)][_0x3c893a(0x146)](_0x3c893a(0x143)),this[_0x3c893a(0x13f)][_0x3c893a(0x146)](_0x3c893a(0x13f)));}[_0x132494(0x158)](){const _0x4ed5f1=_0x132494,_0x3de428=_0x1e1702(this[_0x4ed5f1(0x143)][_0x4ed5f1(0x156)]),_0x41b05f=_0x27e552[_0x4ed5f1(0x15c)](_0x3de428,this[_0x4ed5f1(0x143)][_0x4ed5f1(0x148)]),_0x31abed=_0x27e552[_0x4ed5f1(0x15c)](_0x3de428,this[_0x4ed5f1(0x13f)][_0x4ed5f1(0x148)]);let _0x43b2cb,_0x497a1b;if(_0x29051d(_0x41b05f[_0x4ed5f1(0x149)])){const _0xd5fe1=_0x41b05f[_0x4ed5f1(0x148)][_0x41b05f[_0x4ed5f1(0x148)][_0x4ed5f1(0x15d)]-0x1],_0x3821e2=new _0x179b13(_0x41b05f[_0x4ed5f1(0x149)][_0x4ed5f1(0x15e)][_0x4ed5f1(0x14a)](_0xd5fe1));_0x5f28da(_0x41b05f[_0x4ed5f1(0x149)],_0x3821e2),_0x43b2cb=_0x3821e2;}else _0x43b2cb=_0x41b05f[_0x4ed5f1(0x14f)];if(_0x29051d(_0x31abed[_0x4ed5f1(0x149)])){const _0x2996f5=_0x31abed[_0x4ed5f1(0x148)][_0x31abed[_0x4ed5f1(0x148)][_0x4ed5f1(0x15d)]-0x1],_0x1a645d=new _0x179b13(_0x31abed[_0x4ed5f1(0x149)][_0x4ed5f1(0x15e)][_0x4ed5f1(0x14a)](0x0,_0x2996f5));_0x5f28da(_0x31abed[_0x4ed5f1(0x149)],_0x1a645d),_0x497a1b=_0x1a645d;}else _0x497a1b=_0x31abed[_0x4ed5f1(0x151)];if(!(_0x43b2cb&&_0x497a1b&&_0x3de428[_0x4ed5f1(0x147)]&&_0x3de428[_0x4ed5f1(0x140)]))return new _0x752ff8([]);const _0x484aae=_0x412ec5(_0x43b2cb),_0x1b06c5=_0x412ec5(_0x497a1b),_0x5ea9f9=[],_0xc7c70a=[];let _0x3beff0=_0x3de428[_0x4ed5f1(0x147)];for(;_0x3beff0&&_0x3beff0!==_0x43b2cb;){let _0x1eb60c;_0x484aae[_0x4ed5f1(0x155)](_0x3beff0)||_0x5ea9f9[_0x4ed5f1(0x15a)](_0x3beff0),_0x1eb60c=_0x123425(_0x3beff0)?_0x27e552[_0x4ed5f1(0x15b)](_0x3de428,_0x3beff0,_0x4ed5f1(0x143)):_0x27e552[_0x4ed5f1(0x159)](_0x3de428,_0x3beff0),_0x3beff0=_0x1eb60c?_0x1eb60c[_0x4ed5f1(0x14f)]:null;}for(_0x3beff0=_0x3de428[_0x4ed5f1(0x140)];_0x3beff0&&_0x3beff0!==_0x497a1b;){let _0x203871;_0x1b06c5[_0x4ed5f1(0x155)](_0x3beff0)||_0xc7c70a[_0x4ed5f1(0x15a)](_0x3beff0),_0x203871=_0x123425(_0x3beff0)?_0x27e552[_0x4ed5f1(0x15b)](_0x3de428,_0x3beff0,_0x4ed5f1(0x13f)):_0x27e552[_0x4ed5f1(0x14d)](_0x3de428,_0x3beff0),_0x3beff0=_0x203871?_0x203871[_0x4ed5f1(0x151)]:null;}return _0x5ea9f9[_0x4ed5f1(0x14e)](_0x384046=>{_0x270ddb(_0x384046);}),_0xc7c70a[_0x4ed5f1(0x14c)]()[_0x4ed5f1(0x14e)](_0x1d18d4=>{_0x270ddb(_0x1d18d4);}),_0x3de428;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d3ba9=_0x8f74;(function(_0x4f11b1,_0x3ec9f0){const _0x16992e=_0x8f74,_0x29341c=_0x4f11b1();while(!![]){try{const _0x51eb3e=parseInt(_0x16992e(0x19a))/0x1+parseInt(_0x16992e(0x19c))/0x2+parseInt(_0x16992e(0x19e))/0x3*(parseInt(_0x16992e(0x18f))/0x4)+parseInt(_0x16992e(0x191))/0x5*(parseInt(_0x16992e(0x19f))/0x6)+-parseInt(_0x16992e(0x193))/0x7*(parseInt(_0x16992e(0x198))/0x8)+-parseInt(_0x16992e(0x194))/0x9*(parseInt(_0x16992e(0x190))/0xa)+-parseInt(_0x16992e(0x19d))/0xb;if(_0x51eb3e===_0x3ec9f0)break;else _0x29341c['push'](_0x29341c['shift']());}catch(_0x57bca8){_0x29341c['push'](_0x29341c['shift']());}}}(_0x86ba,0xd6a09));export const AI_SUGGESTION_UI_EVENT_NAMES=[_0x2d3ba9(0x19b),_0x2d3ba9(0x197),_0x2d3ba9(0x199),_0x2d3ba9(0x1a0),_0x2d3ba9(0x18d),_0x2d3ba9(0x195),_0x2d3ba9(0x18e),_0x2d3ba9(0x192),_0x2d3ba9(0x196)];function _0x8f74(_0x2ef784,_0x2fa22b){const _0x86bace=_0x86ba();return _0x8f74=function(_0x8f741d,_0x3687ec){_0x8f741d=_0x8f741d-0x18d;let _0xb39dba=_0x86bace[_0x8f741d];return _0xb39dba;},_0x8f74(_0x2ef784,_0x2fa22b);}function _0x86ba(){const _0x3d7798=['rejectSuggestion','mouseOverSuggestion','toggleSuggestionDisplayMode','40Ruytdv','110vpUbpg','135eDydEI','like','7ThsIXW','1044324gOdzcS','mouseLeaveSuggestion','dislike','insertSuggestion','479128TNlJdj','applySuggestion','1154887etKoZq','showChangeInText','2239702FZUnfj','19088564htwDgH','109638iFKSPl','291228PToQrJ'];_0x86ba=function(){return _0x3d7798;};return _0x86ba();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x42d89d,_0x2a39e7){var _0x30e972=_0x275e,_0x3e4baf=_0x42d89d();while(!![]){try{var _0x4b0040=parseInt(_0x30e972(0x6a))/0x1+-parseInt(_0x30e972(0x71))/0x2*(-parseInt(_0x30e972(0x74))/0x3)+parseInt(_0x30e972(0x6d))/0x4*(-parseInt(_0x30e972(0x68))/0x5)+parseInt(_0x30e972(0x6f))/0x6+-parseInt(_0x30e972(0x65))/0x7*(parseInt(_0x30e972(0x67))/0x8)+parseInt(_0x30e972(0x6b))/0x9+parseInt(_0x30e972(0x70))/0xa;if(_0x4b0040===_0x2a39e7)break;else _0x3e4baf['push'](_0x3e4baf['shift']());}catch(_0x13132a){_0x3e4baf['push'](_0x3e4baf['shift']());}}}(_0x1a92,0xed469));function _0x1a92(){var _0x5c7bb8=['editors','785640gFovlW','1780580ukpcJn','2hwwgXB','get','ai-get-editor-from-context-no-editor','3232191mzCOqL','4366754dFIhdc','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.','8pLadDb','6520535rTBxnD','warn','642741AdygpZ','7836066bhtAjM','length','4vmPvtY'];_0x1a92=function(){return _0x5c7bb8;};return _0x1a92();}function _0x275e(_0x218c30,_0x3c35a8){var _0x1a923b=_0x1a92();return _0x275e=function(_0x275ebe,_0x76f198){_0x275ebe=_0x275ebe-0x65;var _0x1558b4=_0x1a923b[_0x275ebe];return _0x1558b4;},_0x275e(_0x218c30,_0x3c35a8);}import{CKEditorError as _0x50a89b}from'ckeditor5/src/utils.js';import{Editor as _0x3c9889}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x479971){var _0x5f10bc=_0x275e;if(_0x479971 instanceof _0x3c9889)return _0x479971;if(_0x479971?.[_0x5f10bc(0x6e)]&&_0x479971[_0x5f10bc(0x6e)][_0x5f10bc(0x72)](0x0))return _0x479971[_0x5f10bc(0x6e)][_0x5f10bc(0x6c)]>0x1&&console[_0x5f10bc(0x69)](_0x5f10bc(0x66)),_0x479971[_0x5f10bc(0x6e)][_0x5f10bc(0x72)](0x0);throw new _0x50a89b(_0x5f10bc(0x73));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2c0a96,_0xcb40d1){const _0x577a31=_0x54e0,_0x591fa0=_0x2c0a96();while(!![]){try{const _0x305d81=-parseInt(_0x577a31(0x188))/0x1*(parseInt(_0x577a31(0x171))/0x2)+-parseInt(_0x577a31(0x17d))/0x3+parseInt(_0x577a31(0x192))/0x4*(-parseInt(_0x577a31(0x18b))/0x5)+-parseInt(_0x577a31(0x17b))/0x6*(-parseInt(_0x577a31(0x177))/0x7)+parseInt(_0x577a31(0x17c))/0x8*(-parseInt(_0x577a31(0x170))/0x9)+parseInt(_0x577a31(0x18e))/0xa+parseInt(_0x577a31(0x185))/0xb;if(_0x305d81===_0xcb40d1)break;else _0x591fa0['push'](_0x591fa0['shift']());}catch(_0x2cc68a){_0x591fa0['push'](_0x591fa0['shift']());}}}(_0x3608,0x6418d));function _0x54e0(_0x47f557,_0x4d1539){const _0x360821=_0x3608();return _0x54e0=function(_0x54e067,_0x811302){_0x54e067=_0x54e067-0x170;let _0x11c362=_0x360821[_0x54e067];return _0x11c362;},_0x54e0(_0x47f557,_0x4d1539);}function _0x3608(){const _0x412790=['node','42rtkRzO','getOperations','documentContextContent','getRange','553296EwXiyf','4440728AANeBg','1182522Akokev','oldRange','previousSibling','operationsA','data-id','getDocumentContext','type','map','10695124oOfUUU','shift','document','1051WunPIM','filter','cloneNode','43885ODcEpd','markers','content','4545890qxbTFm','anchorId','model','name','100vgtmJg','marker','length','get','history','9cAyCGU','764zqvMIi','new','removed','getDiff','version'];_0x3608=function(){return _0x412790;};return _0x3608();}import{transformOperationSets as _0x3b616d}from'ckeditor5/src/engine.js';import{append as _0x452352,findByAttribute as _0xd84207,prependChild as _0x3d6169,removeElement as _0x3348ba,serialize as _0xd1d281}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x402cdd,interaction:_0x58dc33,reply:_0x1b9969,groups:_0x3a93e3,transform:_0x12985d,documentCompare:_0x4f014d,documentCompareOptions:_0x46460b}){const _0x40f36e=_0x54e0,_0x8e138a=_0x58dc33[_0x40f36e(0x182)]();if(!_0x8e138a)return[];const _0x530133=_0x8e138a[_0x40f36e(0x18d)],_0x2eeabd=_0x8e138a[_0x40f36e(0x175)],_0x138221=_0x1b9969[_0x40f36e(0x179)][_0x40f36e(0x18a)](!0x0);for(const {changes:_0x45aa2d}of _0x3a93e3){const _0x2f2a65=_0x45aa2d[_0x40f36e(0x189)](_0x52d436=>_0x40f36e(0x172)!=_0x52d436[_0x40f36e(0x183)])[_0x40f36e(0x184)](_0xc572=>_0xd84207(_0x40f36e(0x181),_0xc572['id'],_0x138221)),_0x3184b2=_0x45aa2d[_0x40f36e(0x189)](_0x51072f=>_0x40f36e(0x173)!=_0x51072f[_0x40f36e(0x183)])[_0x40f36e(0x184)](_0x5de9d1=>_0x5de9d1[_0x40f36e(0x176)][_0x40f36e(0x18a)](!0x0));let _0x19cd13=null;if(_0x2f2a65[_0x40f36e(0x194)]){_0x19cd13=_0x2f2a65[0x0][_0x40f36e(0x17f)];for(let _0x214066=0x0;_0x214066<_0x2f2a65[_0x40f36e(0x194)];_0x214066++)_0x3348ba(_0x2f2a65[_0x214066]);}if(_0x3184b2[_0x40f36e(0x194)]){_0x19cd13||(_0x45aa2d[0x0][_0x40f36e(0x18f)]?_0x19cd13=_0xd84207(_0x40f36e(0x181),_0x45aa2d[0x0][_0x40f36e(0x18f)],_0x138221):(_0x19cd13=_0x3184b2[_0x40f36e(0x186)](),_0x3d6169(_0x138221,_0x19cd13)));for(let _0x456aa5=0x0;_0x456aa5<_0x3184b2[_0x40f36e(0x194)];_0x456aa5++)_0x452352(_0x19cd13,_0x3184b2[_0x456aa5]),_0x19cd13=_0x3184b2[_0x456aa5];}}const _0x2b39da=_0xd1d281(_0x138221),_0x65a45b=_0x4f014d[_0x40f36e(0x174)](_0x530133,_0x2b39da,_0x46460b)[_0x40f36e(0x178)]();if(_0x12985d){const _0x232561=_0x402cdd[_0x40f36e(0x190)][_0x40f36e(0x187)][_0x40f36e(0x196)][_0x40f36e(0x178)](_0x2eeabd),_0x5219ef={'document':_0x402cdd[_0x40f36e(0x190)][_0x40f36e(0x187)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x3b616d(_0x65a45b,_0x232561,_0x5219ef)[_0x40f36e(0x180)];}return _0x65a45b;}export function fixMarkerOperationOldRange(_0x3beef4,_0x2e549b){const _0xaf7304=_0x54e0;if(_0xaf7304(0x193)!=_0x2e549b[_0xaf7304(0x183)])return;const _0x3f6370=_0x3beef4[_0xaf7304(0x190)][_0xaf7304(0x18c)][_0xaf7304(0x195)](_0x2e549b[_0xaf7304(0x191)]);_0x3f6370&&(_0x2e549b[_0xaf7304(0x17e)]=_0x3f6370[_0xaf7304(0x17a)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x4e7d85,_0x465def){const _0x4eb958=_0x708b,_0x2a3828=_0x4e7d85();while(!![]){try{const _0x4b289b=parseInt(_0x4eb958(0x1fb))/0x1*(parseInt(_0x4eb958(0x205))/0x2)+-parseInt(_0x4eb958(0x1f4))/0x3*(-parseInt(_0x4eb958(0x22a))/0x4)+-parseInt(_0x4eb958(0x235))/0x5*(-parseInt(_0x4eb958(0x249))/0x6)+-parseInt(_0x4eb958(0x210))/0x7+-parseInt(_0x4eb958(0x213))/0x8*(-parseInt(_0x4eb958(0x25d))/0x9)+parseInt(_0x4eb958(0x20c))/0xa+-parseInt(_0x4eb958(0x207))/0xb*(parseInt(_0x4eb958(0x1f3))/0xc);if(_0x4b289b===_0x465def)break;else _0x2a3828['push'](_0x2a3828['shift']());}catch(_0x3e824a){_0x2a3828['push'](_0x2a3828['shift']());}}}(_0x5754,0x72ea4));import{findOne as _0x55bb0c,getAttribute as _0x272648,Document as _0x4e0315,serialize as _0x2614c7,parse as _0x8c35c6}from'./htmlparser.js';import{fixElementSuggestionRange as _0x3b0718}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x2b1de9,_DetachOperation as _0x2f7019,_removeFromModelNodeList as _0x30bdc5,_insertIntoModelNodeList as _0x1fad71}from'ckeditor5/src/engine.js';import{uid as _0x3800ef}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x24099c,changeGroups:_0x1638fd,documentContextContent:_0x5e3ac9,showDiff:_0x287b28,trimUnchanged:_0x594f9b=!0x0}){const _0x2d5242=_0x708b;return _0x1638fd[_0x2d5242(0x24d)](_0x43f1b9=>{const _0x118831=_0x2d5242,_0x4d1860=new _0x4e0315([]),_0xf4a8ce=new _0x4e0315([]);for(const _0x12626e of _0x43f1b9[_0x118831(0x224)])if(_0x287b28&&_0x118831(0x260)==_0x12626e[_0x118831(0x22e)]||_0xf4a8ce[_0x118831(0x1fa)][_0x118831(0x1fc)](_0x12626e[_0x118831(0x20e)][_0x118831(0x208)](!0x0)),_0x118831(0x251)!=_0x12626e[_0x118831(0x22e)]&&(_0x287b28||_0x118831(0x260)!=_0x12626e[_0x118831(0x22e)])){const _0x21aa8c=_0x55bb0c(_0x40a6bd=>_0x272648(_0x40a6bd,_0x118831(0x252))==_0x12626e['id'],_0x5e3ac9,!0x0);_0x21aa8c&&_0x4d1860[_0x118831(0x1fa)][_0x118831(0x1fc)](_0x21aa8c[_0x118831(0x208)](!0x0));}const {content:_0x3ce536,hasChanges:_0x493bbe}=function(_0x2756f1,_0x4512e5,_0x24f99e,_0x53036a,_0x150a00=!0x0){const _0x4a456f=_0x118831,_0x53f2ca=_0x2756f1[_0x4a456f(0x261)][_0x4a456f(0x23a)](_0x4a456f(0x214)),_0x2b5873=_0x2614c7(_0x4512e5),_0x402cd4=_0x2614c7(_0x24f99e),_0x28ac68=_0x2756f1[_0x4a456f(0x233)][_0x4a456f(0x1ff)](_0x2b5873,_0x4a456f(0x209)),_0x106a3c=_0x2756f1[_0x4a456f(0x241)][_0x4a456f(0x221)](_0x28ac68,0x0),_0x469282=_0x53f2ca[_0x4a456f(0x1f9)](_0x2b5873,_0x402cd4,{'anchor':_0x106a3c,'markDeletions':_0x53036a}),_0x4604cd=_0x469282[_0x4a456f(0x1f8)]();if(0x0==_0x4604cd[_0x4a456f(0x23f)])return{'content':_0x4512e5[_0x4a456f(0x208)](!0x0),'hasChanges':!0x1};_0x53036a?function(_0x234367,_0x313ddb,_0x143a75){const _0x3e082b=_0x4a456f;if(0x0==_0x234367[_0x3e082b(0x23f)])return;const _0x59bcdc=_0x143a75[_0x3e082b(0x261)][_0x3e082b(0x23a)](_0x3e082b(0x214)),_0x3d6990=_0x143a75[_0x3e082b(0x261)][_0x3e082b(0x23a)](_0x3e082b(0x1ec));_0x143a75[_0x3e082b(0x241)][_0x3e082b(0x24a)](_0x379df9=>{const _0x68e0d4=_0x3e082b,_0x522f21=new Set();for(let _0xc380bb=0x0;_0xc380bb<_0x234367[_0x68e0d4(0x23f)];_0xc380bb++){const _0xfaf47f=_0x234367[_0xc380bb];if(_0xfaf47f[_0x68e0d4(0x203)]=null,_0xfaf47f[_0x68e0d4(0x234)]=!0x1,_0x59bcdc[_0x68e0d4(0x215)](_0xfaf47f)){const _0xbd5d16=_0x3b0718(_0xfaf47f[_0x68e0d4(0x248)],_0x143a75[_0x68e0d4(0x241)]),_0x1551a6=_0x68e0d4(0x20f)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x1551a6,_0xbd5d16);}else switch(_0xfaf47f[_0x68e0d4(0x22e)]){case _0x68e0d4(0x202):{if(_0xfaf47f[_0x68e0d4(0x230)]==_0xfaf47f[_0x68e0d4(0x245)])break;_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);const _0x515e82=_0x68e0d4(0x200),_0x5c256a=_0xfaf47f[_0x68e0d4(0x217)],_0x52b696=_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x25f)](_0x5c256a,_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x221)](_0x5c256a[_0x68e0d4(0x243)],_0x68e0d4(0x23b))),_0x31dea6=_0x68e0d4(0x250)+_0x515e82+':'+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x31dea6,_0x52b696);break;}case _0x68e0d4(0x1f0):case _0x68e0d4(0x1f5):case _0x68e0d4(0x201):{if(_0xfaf47f[_0x68e0d4(0x222)]==_0xfaf47f[_0x68e0d4(0x218)])break;_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);const _0x1bcebc=_0xfaf47f[_0x68e0d4(0x255)];if(!_0x3d6990[_0x68e0d4(0x211)](_0x1bcebc))break;const _0x15f3d3=_0x3b0718(_0xfaf47f[_0x68e0d4(0x21e)],_0x143a75[_0x68e0d4(0x241)]),_0x5d957e=_0x68e0d4(0x250)+_0x1bcebc+':'+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x5d957e,_0x15f3d3);break;}case _0x68e0d4(0x22d):{_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);if(_0x234367[_0xc380bb+0x1]&&_0x68e0d4(0x1fd)==_0x234367[_0xc380bb+0x1][_0x68e0d4(0x22e)]){no(_0x313ddb,_0xfaf47f);break;}const _0x314edd=_0xfaf47f[_0x68e0d4(0x217)],_0x2568d6=_0xfaf47f[_0x68e0d4(0x206)],_0x184b1d=_0x3b0718(_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x25f)](_0x314edd,_0x314edd[_0x68e0d4(0x1ef)](_0x2568d6)),_0x143a75[_0x68e0d4(0x241)]),_0x390ad=_0x68e0d4(0x22b)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x390ad,_0x184b1d);break;}case _0x68e0d4(0x1f7):{_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f);const _0x455766=_0xfaf47f[_0x68e0d4(0x231)],_0x450551=_0xfaf47f[_0x68e0d4(0x23d)],_0x5f9c22=_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x25f)](_0x455766,_0x450551),_0x567fbd=_0x68e0d4(0x22b)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x567fbd,_0x5f9c22);break;}case _0x68e0d4(0x1fd):{_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0xfaf47f),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0xfaf47f),_0x234367[_0xc380bb-0x1]&&_0x68e0d4(0x22d)==_0x234367[_0xc380bb-0x1][_0x68e0d4(0x22e)]&&no(_0x313ddb,_0xfaf47f);const _0xec5b8f=_0xfaf47f[_0x68e0d4(0x204)](),_0xab12d0=_0xfaf47f[_0x68e0d4(0x206)];for(let _0x9b6d1=0x0;_0x9b6d1<_0xab12d0;_0x9b6d1++){const _0x228f16=_0xec5b8f[_0x68e0d4(0x1ef)](_0x9b6d1)[_0x68e0d4(0x243)];_0x522f21[_0x68e0d4(0x226)](_0x228f16);}break;}case _0x68e0d4(0x20d):{const _0x50bf84=_0xfaf47f[_0x68e0d4(0x1f2)],_0x3da0a7=_0xfaf47f[_0x68e0d4(0x206)],_0x57cfdf=new _0x2f7019(_0x50bf84,_0x3da0a7);_0x379df9[_0x68e0d4(0x238)][_0x68e0d4(0x262)](_0x57cfdf),_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x240)](_0x57cfdf);break;}}}for(const _0x2a84d6 of _0x522f21){const _0x45bf7a=_0x143a75[_0x68e0d4(0x241)][_0x68e0d4(0x259)](_0x2a84d6),_0x490c57=_0x68e0d4(0x21a)+_0x3800ef()+_0x68e0d4(0x236);_0x313ddb[_0x68e0d4(0x216)][_0x68e0d4(0x1ee)](_0x490c57,_0x3b0718(_0x45bf7a,_0x143a75[_0x68e0d4(0x241)]));}});}(_0x4604cd,_0x28ac68,_0x2756f1):_0x2756f1[_0x4a456f(0x241)][_0x4a456f(0x24a)](_0x57f113=>{const _0x953bfd=_0x4a456f;for(const _0x43da4d of _0x4604cd)if(_0x953bfd(0x20d)==_0x43da4d[_0x953bfd(0x22e)]){const _0x22a479=_0x43da4d[_0x953bfd(0x1f2)],_0x191353=_0x43da4d[_0x953bfd(0x206)],_0x33096c=new _0x2f7019(_0x22a479,_0x191353);_0x57f113[_0x953bfd(0x238)][_0x953bfd(0x262)](_0x33096c),_0x2756f1[_0x953bfd(0x241)][_0x953bfd(0x240)](_0x33096c);}else{if(_0x953bfd(0x24b)==_0x43da4d[_0x953bfd(0x22e)]){const _0xecf39b=_0x43da4d[_0x953bfd(0x22f)],_0x48ec7d=_0x43da4d[_0x953bfd(0x248)];null!==_0x48ec7d?_0x28ac68[_0x953bfd(0x216)][_0x953bfd(0x1ee)](_0xecf39b,_0x48ec7d):_0x28ac68[_0x953bfd(0x216)][_0x953bfd(0x212)](_0xecf39b);}else _0x43da4d[_0x953bfd(0x203)]=null,_0x43da4d[_0x953bfd(0x234)]=!0x1,_0x57f113[_0x953bfd(0x238)][_0x953bfd(0x262)](_0x43da4d),_0x2756f1[_0x953bfd(0x241)][_0x953bfd(0x240)](_0x43da4d);}});if(_0x150a00){const _0x19a0a1=getMinimalSelection(_0x2756f1,_0x4604cd,_0x28ac68);expandSelectionWithContext(_0x2756f1[_0x4a456f(0x241)],_0x19a0a1),function(_0x9164bc,_0x50e3c6){const _0x35fd7f=_0x4a456f,_0x20f112=_0x50e3c6[_0x35fd7f(0x219)]()[_0x35fd7f(0x21c)];let _0x14eea8=_0x50e3c6[_0x35fd7f(0x219)]()[_0x35fd7f(0x23b)];const _0x32c7db=_0x20f112[_0x35fd7f(0x25e)];(_0x14eea8[_0x35fd7f(0x23e)]||_0x14eea8[_0x35fd7f(0x243)]&&_0x14eea8[_0x35fd7f(0x243)]['is'](_0x35fd7f(0x24e)))&&(_0x1fad71(_0x14eea8,_0x35fd7f(0x1f1)),_0x14eea8=_0x14eea8[_0x35fd7f(0x1ef)](0x3)),(_0x20f112[_0x35fd7f(0x23e)]||_0x20f112[_0x35fd7f(0x21f)]&&_0x20f112[_0x35fd7f(0x21f)]['is'](_0x35fd7f(0x24e)))&&(_0x1fad71(_0x20f112,_0x35fd7f(0x1f1)),function(_0xb9cb5,_0x3870a,_0x1fda58){const _0x1ffbd1=_0x35fd7f;for(let [_0xfa5c96,_0x305ff5]of _0xb9cb5[_0x1ffbd1(0x216)]){const _0xd0195=_0x305ff5[_0x1ffbd1(0x21b)](_0x3870a,_0x1fda58,!0x1);_0x305ff5=_0xd0195[0x0],_0xb9cb5[_0x1ffbd1(0x216)][_0x1ffbd1(0x1ee)](_0xfa5c96,_0x305ff5);}}(_0x32c7db,_0x20f112,0x3),_0x20f112[_0x35fd7f(0x256)]==_0x14eea8[_0x35fd7f(0x256)]&&(_0x14eea8=_0x14eea8[_0x35fd7f(0x1ef)](0x3)));const _0x1c1905=_0x9164bc[_0x35fd7f(0x25f)](_0x9164bc[_0x35fd7f(0x221)](_0x32c7db,0x0),_0x20f112),_0x5f48d5=_0x9164bc[_0x35fd7f(0x25f)](_0x14eea8,_0x9164bc[_0x35fd7f(0x221)](_0x32c7db,_0x35fd7f(0x23b))),_0x4539d2=[..._0x1c1905[_0x35fd7f(0x237)](),..._0x5f48d5[_0x35fd7f(0x237)]()];_0x4539d2[_0x35fd7f(0x21d)]();for(const _0x5d53c4 of _0x4539d2)_0x30bdc5(_0x5d53c4),_transformMarkersByDeletion(_0x32c7db,_0x5d53c4);}(_0x2756f1[_0x4a456f(0x241)],_0x19a0a1);}const _0x4357d9=_0x2756f1[_0x4a456f(0x233)][_0x4a456f(0x229)](_0x28ac68,{'showSuggestionHighlights':!0x0});return{'content':_0x8c35c6(_0x4357d9),'hasChanges':!0x0};}(_0x24099c,_0x4d1860,_0xf4a8ce,_0x287b28,_0x594f9b);return{'type':_0x43f1b9[_0x118831(0x224)][0x0][_0x118831(0x22e)],'index':_0x43f1b9[_0x118831(0x1fe)],'content':_0x3ce536,'hasChanges':_0x493bbe};});}function no(_0xdc21ce,_0xe42e49){const _0x348e65=_0x708b;for(const [_0x452f86,_0x57fb42]of _0xdc21ce[_0x348e65(0x216)]){const _0x45becc=_0x2b1de9[_0x348e65(0x246)](_0x57fb42[_0x348e65(0x25c)](_0xe42e49));_0xdc21ce[_0x348e65(0x216)][_0x348e65(0x1ee)](_0x452f86,_0x45becc);}}function _0x5754(){const _0x160562=['isRegisteredAttribute','delete','6471184EXlCaU','DocumentCompare','isMarkedRemoveOperation','markers','position','newValue','getFirstRange','suggestion:formatBlock:$fakeWrap:','_getTransformedByInsertion','start','reverse','range','nodeBefore','stickiness','createPositionAt','oldValue','_getTransformedByDeletion','changes','toNone','add','path','merge','stringify','4ZAIQnH','suggestion:insertion:','focus','insert','type','name','oldName','splitPosition','targetPosition','data','isDocumentOperation','30335FuGGZO',':$aiSuggestion','getMinimalFlatRanges','batch','backward','get','end','slice','moveTargetPosition','textNode','length','applyOperation','model','word','nodeAfter','createSelection','newName','_createFromRanges','element','newRange','618unSAbQ','change','marker','offset','map','$text','modifySelection','suggestion:attribute:','new','data-id','schema','isBefore','key','parent','clone','POSITIVE_INFINITY','createRangeOn','isBlock','setTo','getTransformedByOperation','9BvDJLl','root','createRange','removed','plugins','addOperation','SuggestionsConversion','isAfter','set','getShiftedBy','addAttribute','...','sourcePosition','8340lphEgl','1340799aRGXaP','removeAttribute','createPositionFromPath','split','getOperations','getDiff','children','47309gQptWL','push','move','index','parse','$elementName','changeAttribute','rename','baseVersion','getMovedRangeStart','6YMiPID','howMany','30041VcAgBi','cloneNode','$root','isObject','forward','8925250aAATvq','remove','node','suggestion:deletion:','3825129KTeeIf'];_0x5754=function(){return _0x160562;};return _0x5754();}export function getMinimalSelection(_0x19a56,_0x32fef3,_0x53fc8a){const _0x199be7=_0x708b,_0x52b09a=_0x19a56[_0x199be7(0x261)][_0x199be7(0x23a)](_0x199be7(0x214));let _0xfab513=_0x19a56[_0x199be7(0x241)][_0x199be7(0x221)](_0x53fc8a,Number[_0x199be7(0x258)]),_0x19e74b=_0x19a56[_0x199be7(0x241)][_0x199be7(0x221)](_0x53fc8a,0x0);for(const _0x5d24b6 of _0x32fef3){let _0x24956a,_0x638c9f;if(_0x52b09a[_0x199be7(0x215)](_0x5d24b6))_0x24956a=_0x5d24b6[_0x199be7(0x248)][_0x199be7(0x21c)],_0x638c9f=_0x5d24b6[_0x199be7(0x248)][_0x199be7(0x23b)];else switch(_0xfab513=_0xfab513[_0x199be7(0x25c)](_0x5d24b6),_0x19e74b=_0x19e74b[_0x199be7(0x25c)](_0x5d24b6),_0x5d24b6[_0x199be7(0x22e)]){case _0x199be7(0x202):_0x24956a=_0x5d24b6[_0x199be7(0x217)],_0x638c9f=_0x24956a[_0x199be7(0x1ef)](0x1);break;case _0x199be7(0x1f0):case _0x199be7(0x1f5):case _0x199be7(0x201):_0x24956a=_0x5d24b6[_0x199be7(0x21e)][_0x199be7(0x21c)],_0x638c9f=_0x5d24b6[_0x199be7(0x21e)][_0x199be7(0x23b)];break;case _0x199be7(0x22d):_0x24956a=_0x5d24b6[_0x199be7(0x217)],_0x638c9f=_0x24956a[_0x199be7(0x1ef)](_0x5d24b6[_0x199be7(0x206)]);break;case _0x199be7(0x1f7):_0x24956a=_0x5d24b6[_0x199be7(0x231)],_0x638c9f=_0x5d24b6[_0x199be7(0x23d)];break;case _0x199be7(0x228):{const _0xe9ff3f=_0x5d24b6[_0x199be7(0x232)][_0x199be7(0x227)][_0x199be7(0x23c)](0x0,-0x1);_0x24956a=_0x19a56[_0x199be7(0x241)][_0x199be7(0x1f6)](_0x53fc8a,_0xe9ff3f),_0x638c9f=_0x24956a[_0x199be7(0x1ef)](0x1);break;}case _0x199be7(0x20d):{const _0x2f6b6b=_0x5d24b6[_0x199be7(0x206)],_0x137c9a=_0x5d24b6[_0x199be7(0x1f2)][_0x199be7(0x21b)](_0x5d24b6[_0x199be7(0x232)],_0x2f6b6b),_0x2f13e6=_0x5d24b6[_0x199be7(0x204)]();_0x199be7(0x20d)==_0x5d24b6[_0x199be7(0x22e)]?(_0x24956a=_0x137c9a,_0x638c9f=_0x137c9a):(_0x24956a=_0x2f13e6,_0x638c9f=_0x2f13e6[_0x199be7(0x1ef)](_0x2f6b6b));break;}}_0x24956a&&_0x24956a[_0x199be7(0x254)](_0xfab513)&&(_0xfab513=_0x24956a[_0x199be7(0x257)](),_0xfab513[_0x199be7(0x220)]=_0x199be7(0x225)),_0x638c9f&&_0x638c9f[_0x199be7(0x1ed)](_0x19e74b)&&(_0x19e74b=_0x638c9f[_0x199be7(0x257)](),_0x19e74b[_0x199be7(0x220)]=_0x199be7(0x225));}return _0x19a56[_0x199be7(0x241)][_0x199be7(0x244)](_0x19a56[_0x199be7(0x241)][_0x199be7(0x25f)](_0xfab513,_0x19e74b));}export function expandSelectionWithContext(_0x14de0b,_0x31cb65){const _0x2d4c05=_0x708b;ro(_0x14de0b,_0x31cb65,_0x2d4c05(0x20b));const _0x1dd4fb=_0x31cb65[_0x2d4c05(0x219)]();_0x31cb65[_0x2d4c05(0x25b)]([]),_0x31cb65[_0x2d4c05(0x25b)](_0x1dd4fb,{'backward':!0x0}),ro(_0x14de0b,_0x31cb65,_0x2d4c05(0x239));}function _0x708b(_0x464a36,_0x4a6712){const _0x5754f8=_0x5754();return _0x708b=function(_0x708b6,_0x44391c){_0x708b6=_0x708b6-0x1ec;let _0x33b423=_0x5754f8[_0x708b6];return _0x33b423;},_0x708b(_0x464a36,_0x4a6712);}function ro(_0x511b41,_0x5f0584,_0x908a55){const _0x123514=_0x708b;let _0x5490fa=0x14;for(;_0x5490fa;){_0x511b41[_0x123514(0x24f)](_0x5f0584,{'unit':_0x123514(0x242),'direction':_0x908a55}),_0x5490fa--;const _0x5ba716=_0x5f0584[_0x123514(0x22c)][_0x123514(0x20b)==_0x908a55?_0x123514(0x21f):_0x123514(0x243)];if(_0x5ba716&&_0x5ba716['is'](_0x123514(0x247))&&_0x511b41[_0x123514(0x253)][_0x123514(0x25a)](_0x5ba716)&&_0x511b41[_0x123514(0x253)][_0x123514(0x20a)](_0x5ba716))break;}}export function _transformMarkersByDeletion(_0x3bb087,_0x31e1cc){const _0xc7cc7a=_0x708b;for(const [_0x361614,_0xdb0d67]of _0x3bb087[_0xc7cc7a(0x216)]){const _0x5b1ea1=_0xdb0d67[_0xc7cc7a(0x223)](_0x31e1cc[_0xc7cc7a(0x21c)],_0x31e1cc[_0xc7cc7a(0x23b)][_0xc7cc7a(0x24c)]-_0x31e1cc[_0xc7cc7a(0x21c)][_0xc7cc7a(0x24c)]);null!=_0x5b1ea1?_0x3bb087[_0xc7cc7a(0x216)][_0xc7cc7a(0x1ee)](_0x361614,_0x5b1ea1):_0x3bb087[_0xc7cc7a(0x216)][_0xc7cc7a(0x212)](_0x361614);}}
|
|
23
|
+
(function(_0x478a4f,_0x256253){const _0x4f29f7=_0x4817,_0x162190=_0x478a4f();while(!![]){try{const _0x35df29=-parseInt(_0x4f29f7(0x15a))/0x1+parseInt(_0x4f29f7(0x177))/0x2*(-parseInt(_0x4f29f7(0x144))/0x3)+parseInt(_0x4f29f7(0x19e))/0x4+-parseInt(_0x4f29f7(0x14d))/0x5*(parseInt(_0x4f29f7(0x148))/0x6)+parseInt(_0x4f29f7(0x194))/0x7+-parseInt(_0x4f29f7(0x166))/0x8*(-parseInt(_0x4f29f7(0x170))/0x9)+parseInt(_0x4f29f7(0x178))/0xa;if(_0x35df29===_0x256253)break;else _0x162190['push'](_0x162190['shift']());}catch(_0x508aee){_0x162190['push'](_0x162190['shift']());}}}(_0x55db,0x31266));import{findOne as _0x4c6a03,getAttribute as _0x2f664c,Document as _0x12f91e,serialize as _0x202a57,parse as _0x16d5fa}from'./htmlparser.js';import{fixElementSuggestionRange as _0x367c52}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x3cdad4,_DetachOperation as _0x8243bc,_removeFromModelNodeList as _0x470545,_insertIntoModelNodeList as _0x51a2e5}from'ckeditor5/src/engine.js';function _0x4817(_0x5602e9,_0x244c42){const _0x55db4d=_0x55db();return _0x4817=function(_0x481717,_0x62df03){_0x481717=_0x481717-0x135;let _0x2bc51c=_0x55db4d[_0x481717];return _0x2bc51c;},_0x4817(_0x5602e9,_0x244c42);}import{uid as _0x2cf2ee}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x14c25e,changeGroups:_0x3c5b3c,documentContextContent:_0x1cd55c,showDiff:_0x6768f3,trimUnchanged:_0x10e3bf=!0x0}){const _0x1749fb=_0x4817;return _0x3c5b3c[_0x1749fb(0x169)](_0x11e701=>{const _0x39a2c1=_0x1749fb,_0x5d0a28=new _0x12f91e([]),_0x50a0d1=new _0x12f91e([]);for(const _0x39e993 of _0x11e701[_0x39a2c1(0x164)])if(_0x6768f3&&_0x39a2c1(0x18f)==_0x39e993[_0x39a2c1(0x142)]||_0x50a0d1[_0x39a2c1(0x1a4)][_0x39a2c1(0x14a)](_0x39e993[_0x39a2c1(0x15f)][_0x39a2c1(0x191)](!0x0)),_0x39a2c1(0x173)!=_0x39e993[_0x39a2c1(0x142)]&&(_0x6768f3||_0x39a2c1(0x18f)!=_0x39e993[_0x39a2c1(0x142)])){const _0x2c7763=_0x4c6a03(_0x3bf28c=>_0x2f664c(_0x3bf28c,_0x39a2c1(0x163))==_0x39e993['id'],_0x1cd55c,!0x0);_0x2c7763&&_0x5d0a28[_0x39a2c1(0x1a4)][_0x39a2c1(0x14a)](_0x2c7763[_0x39a2c1(0x191)](!0x0));}const {content:_0xc135c0,hasChanges:_0xec35e}=function(_0x29203a,_0x4e1ed5,_0x57642c,_0x56b28c,_0x147190=!0x0){const _0x1e5ecf=_0x39a2c1,_0x2d443d=_0x29203a[_0x1e5ecf(0x151)][_0x1e5ecf(0x193)](_0x1e5ecf(0x159)),_0x27425b=_0x202a57(_0x4e1ed5),_0x2ee3a7=_0x202a57(_0x57642c),_0x5f3433=_0x29203a[_0x1e5ecf(0x18c)][_0x1e5ecf(0x16d)](_0x27425b,_0x1e5ecf(0x139)),_0x988b5d=_0x29203a[_0x1e5ecf(0x16f)][_0x1e5ecf(0x16a)](_0x5f3433,0x0),_0x3badf1=_0x2d443d[_0x1e5ecf(0x17d)](_0x27425b,_0x2ee3a7,{'anchor':_0x988b5d,'markDeletions':_0x56b28c}),_0x1eadf6=_0x3badf1[_0x1e5ecf(0x15e)]();if(0x0==_0x1eadf6[_0x1e5ecf(0x175)])return{'content':_0x4e1ed5[_0x1e5ecf(0x191)](!0x0),'hasChanges':!0x1};_0x56b28c?function(_0x3573ae,_0x56a604,_0x5f3e70){const _0xde5fa0=_0x1e5ecf;if(0x0==_0x3573ae[_0xde5fa0(0x175)])return;const _0x23a1f9=_0x5f3e70[_0xde5fa0(0x151)][_0xde5fa0(0x193)](_0xde5fa0(0x159)),_0x2a079f=_0x5f3e70[_0xde5fa0(0x151)][_0xde5fa0(0x193)](_0xde5fa0(0x145));_0x5f3e70[_0xde5fa0(0x16f)][_0xde5fa0(0x181)](_0x3bc61c=>{const _0x27d15a=_0xde5fa0,_0x575e02=new Set();for(let _0x1f8dc1=0x0;_0x1f8dc1<_0x3573ae[_0x27d15a(0x175)];_0x1f8dc1++){const _0x59a3ff=_0x3573ae[_0x1f8dc1];if(_0x59a3ff[_0x27d15a(0x172)]=null,_0x59a3ff[_0x27d15a(0x18d)]=!0x1,_0x23a1f9[_0x27d15a(0x184)](_0x59a3ff)){const _0x430650=_0x367c52(_0x59a3ff[_0x27d15a(0x195)],_0x5f3e70[_0x27d15a(0x16f)]),_0x46ad46=_0x27d15a(0x15b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x46ad46,_0x430650);}else switch(_0x59a3ff[_0x27d15a(0x142)]){case _0x27d15a(0x196):{if(_0x59a3ff[_0x27d15a(0x17e)]==_0x59a3ff[_0x27d15a(0x168)])break;_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x507dc5=_0x27d15a(0x16e),_0x5157c1=_0x59a3ff[_0x27d15a(0x17a)],_0x2a75a7=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x5157c1,_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x16a)](_0x5157c1[_0x27d15a(0x154)],_0x27d15a(0x140))),_0x27dd74=_0x27d15a(0x155)+_0x507dc5+':'+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x27dd74,_0x2a75a7);break;}case _0x27d15a(0x19b):case _0x27d15a(0x1a9):case _0x27d15a(0x143):{if(_0x59a3ff[_0x27d15a(0x1a8)]==_0x59a3ff[_0x27d15a(0x18a)])break;_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x4d0a6f=_0x59a3ff[_0x27d15a(0x17f)];if(!_0x2a079f[_0x27d15a(0x185)](_0x4d0a6f))break;const _0x192b56=_0x367c52(_0x59a3ff[_0x27d15a(0x192)],_0x5f3e70[_0x27d15a(0x16f)]),_0x545045=_0x27d15a(0x155)+_0x4d0a6f+':'+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x545045,_0x192b56);break;}case _0x27d15a(0x180):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);if(_0x3573ae[_0x1f8dc1+0x1]&&_0x27d15a(0x14c)==_0x3573ae[_0x1f8dc1+0x1][_0x27d15a(0x142)]){no(_0x56a604,_0x59a3ff);break;}const _0x402018=_0x59a3ff[_0x27d15a(0x17a)],_0xc49c94=_0x59a3ff[_0x27d15a(0x1a7)],_0x5fe648=_0x367c52(_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x402018,_0x402018[_0x27d15a(0x153)](_0xc49c94)),_0x5f3e70[_0x27d15a(0x16f)]),_0x5830e9=_0x27d15a(0x14b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x5830e9,_0x5fe648);break;}case _0x27d15a(0x167):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x145c2e=_0x59a3ff[_0x27d15a(0x150)],_0x81882d=_0x59a3ff[_0x27d15a(0x161)],_0x1611ee=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x145c2e,_0x81882d),_0x318602=_0x27d15a(0x14b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x318602,_0x1611ee);break;}case _0x27d15a(0x14c):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff),_0x3573ae[_0x1f8dc1-0x1]&&_0x27d15a(0x180)==_0x3573ae[_0x1f8dc1-0x1][_0x27d15a(0x142)]&&no(_0x56a604,_0x59a3ff);const _0x175d23=_0x59a3ff[_0x27d15a(0x183)](),_0x156feb=_0x59a3ff[_0x27d15a(0x1a7)];for(let _0x153602=0x0;_0x153602<_0x156feb;_0x153602++){const _0x51902e=_0x175d23[_0x27d15a(0x153)](_0x153602)[_0x27d15a(0x154)];_0x575e02[_0x27d15a(0x162)](_0x51902e);}break;}case _0x27d15a(0x136):{const _0x5f0f71=_0x59a3ff[_0x27d15a(0x13a)],_0x3ad930=_0x59a3ff[_0x27d15a(0x1a7)],_0x565820=new _0x8243bc(_0x5f0f71,_0x3ad930);_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x565820),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x565820);break;}}}for(const _0x55e8ab of _0x575e02){const _0x476521=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x157)](_0x55e8ab),_0x5e899b=_0x27d15a(0x19f)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x5e899b,_0x367c52(_0x476521,_0x5f3e70[_0x27d15a(0x16f)]));}});}(_0x1eadf6,_0x5f3433,_0x29203a):_0x29203a[_0x1e5ecf(0x16f)][_0x1e5ecf(0x181)](_0x24b26d=>{const _0x8443d5=_0x1e5ecf;for(const _0x4c32e9 of _0x1eadf6)if(_0x8443d5(0x136)==_0x4c32e9[_0x8443d5(0x142)]){const _0xb513a9=_0x4c32e9[_0x8443d5(0x13a)],_0x1dda4f=_0x4c32e9[_0x8443d5(0x1a7)],_0x1c1ff8=new _0x8243bc(_0xb513a9,_0x1dda4f);_0x24b26d[_0x8443d5(0x146)][_0x8443d5(0x17c)](_0x1c1ff8),_0x29203a[_0x8443d5(0x16f)][_0x8443d5(0x15c)](_0x1c1ff8);}else{if(_0x8443d5(0x138)==_0x4c32e9[_0x8443d5(0x142)]){const _0x38a066=_0x4c32e9[_0x8443d5(0x1a5)],_0x1c1efd=_0x4c32e9[_0x8443d5(0x195)];null!==_0x1c1efd?_0x5f3433[_0x8443d5(0x16c)][_0x8443d5(0x19a)](_0x38a066,_0x1c1efd):_0x5f3433[_0x8443d5(0x16c)][_0x8443d5(0x149)](_0x38a066);}else _0x4c32e9[_0x8443d5(0x172)]=null,_0x4c32e9[_0x8443d5(0x18d)]=!0x1,_0x24b26d[_0x8443d5(0x146)][_0x8443d5(0x17c)](_0x4c32e9),_0x29203a[_0x8443d5(0x16f)][_0x8443d5(0x15c)](_0x4c32e9);}});if(_0x147190){const _0x3d7f49=getMinimalSelection(_0x29203a,_0x1eadf6,_0x5f3433);expandSelectionWithContext(_0x29203a[_0x1e5ecf(0x16f)],_0x3d7f49),function(_0x1bc86f,_0x44f76e){const _0x54b434=_0x1e5ecf,_0x5e1dc8=_0x44f76e[_0x54b434(0x18e)]()[_0x54b434(0x19c)];let _0x54d454=_0x44f76e[_0x54b434(0x18e)]()[_0x54b434(0x140)];const _0x343bc6=_0x5e1dc8[_0x54b434(0x199)];(_0x54d454[_0x54b434(0x1a3)]||_0x54d454[_0x54b434(0x154)]&&_0x54d454[_0x54b434(0x154)]['is'](_0x54b434(0x13b)))&&(_0x51a2e5(_0x54d454,_0x54b434(0x160)),_0x54d454=_0x54d454[_0x54b434(0x153)](0x3)),(_0x5e1dc8[_0x54b434(0x1a3)]||_0x5e1dc8[_0x54b434(0x198)]&&_0x5e1dc8[_0x54b434(0x198)]['is'](_0x54b434(0x13b)))&&(_0x51a2e5(_0x5e1dc8,_0x54b434(0x160)),function(_0x3e54c2,_0x1826b7,_0x4a2831){const _0x1c7d5d=_0x54b434;for(let [_0x4d42c5,_0x3f6c74]of _0x3e54c2[_0x1c7d5d(0x16c)]){const _0x1df2f3=_0x3f6c74[_0x1c7d5d(0x13d)](_0x1826b7,_0x4a2831,!0x1);_0x3f6c74=_0x1df2f3[0x0],_0x3e54c2[_0x1c7d5d(0x16c)][_0x1c7d5d(0x19a)](_0x4d42c5,_0x3f6c74);}}(_0x343bc6,_0x5e1dc8,0x3),_0x5e1dc8[_0x54b434(0x15d)]==_0x54d454[_0x54b434(0x15d)]&&(_0x54d454=_0x54d454[_0x54b434(0x153)](0x3)));const _0x15f5ac=_0x1bc86f[_0x54b434(0x188)](_0x1bc86f[_0x54b434(0x16a)](_0x343bc6,0x0),_0x5e1dc8),_0x1214bc=_0x1bc86f[_0x54b434(0x188)](_0x54d454,_0x1bc86f[_0x54b434(0x16a)](_0x343bc6,_0x54b434(0x140))),_0x2af0ac=[..._0x15f5ac[_0x54b434(0x137)](),..._0x1214bc[_0x54b434(0x137)]()];_0x2af0ac[_0x54b434(0x14f)]();for(const _0x517693 of _0x2af0ac)_0x470545(_0x517693),_transformMarkersByDeletion(_0x343bc6,_0x517693);}(_0x29203a[_0x1e5ecf(0x16f)],_0x3d7f49);}const _0x4be8ed=_0x29203a[_0x1e5ecf(0x18c)][_0x1e5ecf(0x16b)](_0x5f3433,{'showSuggestionHighlights':!0x0});return{'content':_0x16d5fa(_0x4be8ed),'hasChanges':!0x0};}(_0x14c25e,_0x5d0a28,_0x50a0d1,_0x6768f3,_0x10e3bf);return{'type':_0x11e701[_0x39a2c1(0x164)][0x0][_0x39a2c1(0x142)],'index':_0x11e701[_0x39a2c1(0x186)],'content':_0xc135c0,'hasChanges':_0xec35e};});}function no(_0x30f2b6,_0x5d8a6e){const _0x4742a2=_0x4817;for(const [_0x3c3e06,_0x46214f]of _0x30f2b6[_0x4742a2(0x16c)]){const _0x208fc5=_0x3cdad4[_0x4742a2(0x182)](_0x46214f[_0x4742a2(0x165)](_0x5d8a6e));_0x30f2b6[_0x4742a2(0x16c)][_0x4742a2(0x19a)](_0x3c3e06,_0x208fc5);}}function _0x55db(){const _0x762827=['createPositionAt','stringify','markers','parse','$elementName','model','16038XuBCPf','_getTransformedByDeletion','baseVersion','new','isAfter','length','modifySelection','90494EOeHTs','6248770xOKRau','schema','position','isBefore','addOperation','getDiff','oldName','key','insert','change','_createFromRanges','getMovedRangeStart','isMarkedRemoveOperation','isRegisteredAttribute','index','slice','createRange','createSelection','newValue','focus','data','isDocumentOperation','getFirstRange','removed','isBlock','cloneNode','range','get','1198064vGOTAt','newRange','rename','element','nodeBefore','root','set','addAttribute','start','forward','831812ShpEng','suggestion:formatBlock:$fakeWrap:','word','POSITIVE_INFINITY','merge','textNode','children','name',':$aiSuggestion','howMany','oldValue','removeAttribute','setTo','remove','getMinimalFlatRanges','marker','$root','sourcePosition','$text','isObject','_getTransformedByInsertion','offset','path','end','backward','type','changeAttribute','24ugRurG','SuggestionsConversion','batch','clone','1506IpGNTE','delete','push','suggestion:insertion:','move','6010gDVJil','createPositionFromPath','reverse','splitPosition','plugins','stickiness','getShiftedBy','nodeAfter','suggestion:attribute:','toNone','createRangeOn','targetPosition','DocumentCompare','390248PmMqqs','suggestion:deletion:','applyOperation','parent','getOperations','node','...','moveTargetPosition','add','data-id','changes','getTransformedByOperation','1128JaxgRR','split','newName','map'];_0x55db=function(){return _0x762827;};return _0x55db();}export function getMinimalSelection(_0x57d180,_0x2052b8,_0x5c80a3){const _0x4aa329=_0x4817,_0x15db3b=_0x57d180[_0x4aa329(0x151)][_0x4aa329(0x193)](_0x4aa329(0x159));let _0x13adde=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x16a)](_0x5c80a3,Number[_0x4aa329(0x1a1)]),_0x47435d=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x16a)](_0x5c80a3,0x0);for(const _0x347aa1 of _0x2052b8){let _0x1db5d2,_0x193d22;if(_0x15db3b[_0x4aa329(0x184)](_0x347aa1))_0x1db5d2=_0x347aa1[_0x4aa329(0x195)][_0x4aa329(0x19c)],_0x193d22=_0x347aa1[_0x4aa329(0x195)][_0x4aa329(0x140)];else switch(_0x13adde=_0x13adde[_0x4aa329(0x165)](_0x347aa1),_0x47435d=_0x47435d[_0x4aa329(0x165)](_0x347aa1),_0x347aa1[_0x4aa329(0x142)]){case _0x4aa329(0x196):_0x1db5d2=_0x347aa1[_0x4aa329(0x17a)],_0x193d22=_0x1db5d2[_0x4aa329(0x153)](0x1);break;case _0x4aa329(0x19b):case _0x4aa329(0x1a9):case _0x4aa329(0x143):_0x1db5d2=_0x347aa1[_0x4aa329(0x192)][_0x4aa329(0x19c)],_0x193d22=_0x347aa1[_0x4aa329(0x192)][_0x4aa329(0x140)];break;case _0x4aa329(0x180):_0x1db5d2=_0x347aa1[_0x4aa329(0x17a)],_0x193d22=_0x1db5d2[_0x4aa329(0x153)](_0x347aa1[_0x4aa329(0x1a7)]);break;case _0x4aa329(0x167):_0x1db5d2=_0x347aa1[_0x4aa329(0x150)],_0x193d22=_0x347aa1[_0x4aa329(0x161)];break;case _0x4aa329(0x1a2):{const _0xb14ca3=_0x347aa1[_0x4aa329(0x158)][_0x4aa329(0x13f)][_0x4aa329(0x187)](0x0,-0x1);_0x1db5d2=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x14e)](_0x5c80a3,_0xb14ca3),_0x193d22=_0x1db5d2[_0x4aa329(0x153)](0x1);break;}case _0x4aa329(0x136):{const _0x14341e=_0x347aa1[_0x4aa329(0x1a7)],_0xfff4a1=_0x347aa1[_0x4aa329(0x13a)][_0x4aa329(0x13d)](_0x347aa1[_0x4aa329(0x158)],_0x14341e),_0x36a9e7=_0x347aa1[_0x4aa329(0x183)]();_0x4aa329(0x136)==_0x347aa1[_0x4aa329(0x142)]?(_0x1db5d2=_0xfff4a1,_0x193d22=_0xfff4a1):(_0x1db5d2=_0x36a9e7,_0x193d22=_0x36a9e7[_0x4aa329(0x153)](_0x14341e));break;}}_0x1db5d2&&_0x1db5d2[_0x4aa329(0x17b)](_0x13adde)&&(_0x13adde=_0x1db5d2[_0x4aa329(0x147)](),_0x13adde[_0x4aa329(0x152)]=_0x4aa329(0x156)),_0x193d22&&_0x193d22[_0x4aa329(0x174)](_0x47435d)&&(_0x47435d=_0x193d22[_0x4aa329(0x147)](),_0x47435d[_0x4aa329(0x152)]=_0x4aa329(0x156));}return _0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x189)](_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x188)](_0x13adde,_0x47435d));}export function expandSelectionWithContext(_0x174b4f,_0x48ad73){const _0xacb4f9=_0x4817;ro(_0x174b4f,_0x48ad73,_0xacb4f9(0x19d));const _0x5d21a1=_0x48ad73[_0xacb4f9(0x18e)]();_0x48ad73[_0xacb4f9(0x135)]([]),_0x48ad73[_0xacb4f9(0x135)](_0x5d21a1,{'backward':!0x0}),ro(_0x174b4f,_0x48ad73,_0xacb4f9(0x141));}function ro(_0x49490a,_0x5c1494,_0x53487e){const _0x5bfe3b=_0x4817;let _0x4d4085=0x14;for(;_0x4d4085;){_0x49490a[_0x5bfe3b(0x176)](_0x5c1494,{'unit':_0x5bfe3b(0x1a0),'direction':_0x53487e}),_0x4d4085--;const _0x498056=_0x5c1494[_0x5bfe3b(0x18b)][_0x5bfe3b(0x19d)==_0x53487e?_0x5bfe3b(0x198):_0x5bfe3b(0x154)];if(_0x498056&&_0x498056['is'](_0x5bfe3b(0x197))&&_0x49490a[_0x5bfe3b(0x179)][_0x5bfe3b(0x190)](_0x498056)&&_0x49490a[_0x5bfe3b(0x179)][_0x5bfe3b(0x13c)](_0x498056))break;}}export function _transformMarkersByDeletion(_0x2a1de4,_0x31de2d){const _0x31d4ee=_0x4817;for(const [_0x2bad1c,_0x5da1f3]of _0x2a1de4[_0x31d4ee(0x16c)]){const _0x371ae2=_0x5da1f3[_0x31d4ee(0x171)](_0x31de2d[_0x31d4ee(0x19c)],_0x31de2d[_0x31d4ee(0x140)][_0x31d4ee(0x13e)]-_0x31de2d[_0x31d4ee(0x19c)][_0x31d4ee(0x13e)]);null!=_0x371ae2?_0x2a1de4[_0x31d4ee(0x16c)][_0x31d4ee(0x19a)](_0x2bad1c,_0x371ae2):_0x2a1de4[_0x31d4ee(0x16c)][_0x31d4ee(0x149)](_0x2bad1c);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x731b2b,_0x26405e){const _0x12d0c2=_0x2574,_0x15a802=_0x731b2b();while(!![]){try{const _0x335238=-parseInt(_0x12d0c2(0x1f7))/0x1+-parseInt(_0x12d0c2(0x1fa))/0x2+-parseInt(_0x12d0c2(0x1e9))/0x3+-parseInt(_0x12d0c2(0x1ed))/0x4+-parseInt(_0x12d0c2(0x1f4))/0x5+parseInt(_0x12d0c2(0x1f8))/0x6+parseInt(_0x12d0c2(0x1f6))/0x7*(parseInt(_0x12d0c2(0x1ec))/0x8);if(_0x335238===_0x26405e)break;else _0x15a802['push'](_0x15a802['shift']());}catch(_0x400961){_0x15a802['push'](_0x15a802['shift']());}}}(_0x3645,0xbf28d));import{parseDocument as _0xb47127}from'htmlparser2';import{append as _0x16939f,appendChild as _0x2778e0,find as _0x3550d5,findAll as _0x9045e1,findOne as _0xff265d,getChildren as _0x1d74c0,isComment as _0x249f63,isTag as _0x391175,prepend as _0x1cb373,prependChild as _0x134b6e,removeElement as _0x4ead3a,replaceElement as _0x3e3ff1,textContent as _0x72db89,getParent as _0x5a92a6,hasChildren as _0x3448b7}from'domutils';function _0x2574(_0x1aeb1d,_0x29e8ce){const _0x3645aa=_0x3645();return _0x2574=function(_0x2574ff,_0x5daffe){_0x2574ff=_0x2574ff-0x1e4;let _0x4ec6e5=_0x3645aa[_0x2574ff];return _0x4ec6e5;},_0x2574(_0x1aeb1d,_0x29e8ce);}import _0x2931f7 from'dom-serializer';import{cloneNode as _0x30afa4,isDocument as _0x5b4201,isText as _0x123a16,Element as _0x4ecfb3,Text as _0x59c91f,Document as _0x59c8d0,NodeWithChildren as _0x54a18e}from'domhandler';export{_0x30afa4 as cloneNode,_0x3550d5 as find,_0xff265d as findOne,_0x9045e1 as findAll,_0x1d74c0 as getChildren,_0x5a92a6 as getParent,_0x249f63 as isComment,_0x5b4201 as isDocument,_0x391175 as isTag,_0x123a16 as isText,_0x16939f as append,_0x2778e0 as appendChild,_0x1cb373 as prepend,_0x134b6e as prependChild,_0x2931f7 as render,_0x4ead3a as removeElement,_0x3e3ff1 as replaceElement,_0x72db89 as textContent,_0x3448b7 as hasChildren,_0x4ecfb3 as Element,_0x59c8d0 as Document,_0x54a18e as NodeWithChildren,_0x59c91f as Text};export function parse(_0x40d2e2){return _0xb47127(_0x40d2e2);}function _0x3645(){const _0x17d4af=['14927816RGcqEr','398968jUfUgp','beforebegin','slice','nextSibling','forEach','replace','map','5603675pRvFbf','afterbegin','14gdANkf','120782mQoQWy','2559084hGQisP','beforeend','1607670LDfjXJ','indexOf','attribs','push','cloneNode','reverse','3691155fDtgFs','afterend','parentNode'];_0x3645=function(){return _0x17d4af;};return _0x3645();}export function serialize(_0x2252dd){return _0x2931f7(_0x2252dd);}export function findByAttribute(_0x40a93f,_0x2677fc,_0x40fe8a){const _0x530a45=_0x2574,_0x10d6ea=null!==_0x2677fc?_0x2c591a=>_0x2c591a[_0x530a45(0x1e5)][_0x40a93f]===_0x2677fc:_0x27c9c7=>Boolean(_0x27c9c7[_0x530a45(0x1e5)][_0x40a93f]);return _0xff265d(_0x10b959=>_0x391175(_0x10b959)&&_0x10d6ea(_0x10b959),_0x40fe8a);}export function findAllByAttribute(_0x10d983,_0x85d71d,_0x4d0e4a){const _0x5cb7ef=_0x2574,_0xc5b571=null!==_0x85d71d?_0x18309e=>_0x18309e[_0x5cb7ef(0x1e5)][_0x10d983]===_0x85d71d:_0xc334a0=>Boolean(_0xc334a0[_0x5cb7ef(0x1e5)][_0x10d983]);return _0x9045e1(_0x496c23=>_0x391175(_0x496c23)&&_0xc5b571(_0x496c23),_0x4d0e4a);}export function findAllComments(_0x2c349e){return _0x3550d5(_0x528e99=>_0x249f63(_0x528e99),_0x2c349e,!0x0,0x1/0x0);}export function getAttribute(_0x598843,_0x1835f8){const _0x10a957=_0x2574;return _0x598843&&_0x391175(_0x598843)?_0x598843[_0x10a957(0x1e5)][_0x1835f8]:null;}export function setAttribute(_0x287602,_0x9425a4,_0x21655e){const _0x23b388=_0x2574;_0x391175(_0x287602)&&(null===_0x21655e?delete _0x287602[_0x23b388(0x1e5)][_0x9425a4]:_0x287602[_0x23b388(0x1e5)][_0x9425a4]=_0x21655e);}export function insertElement(_0x1017dd,_0x433fcc,_0x39732c){const _0x42fc17=_0x2574,_0x3c66da=_0x433fcc[_0x42fc17(0x1e7)](!0x0);_0x42fc17(0x1ee)===_0x39732c?_0x1cb373(_0x1017dd,_0x3c66da):_0x42fc17(0x1f5)===_0x39732c?_0x134b6e(_0x1017dd,_0x3c66da):_0x42fc17(0x1f9)===_0x39732c?_0x2778e0(_0x1017dd,_0x3c66da):_0x42fc17(0x1ea)===_0x39732c&&_0x16939f(_0x1017dd,_0x3c66da);}export function moveElement(_0x2ef044,_0x36830e){_0x4ead3a(_0x2ef044),_0x3e3ff1(_0x36830e,_0x2ef044);}export function clone(_0x45ebe3){const _0x4d6a80=_0x2574;return _0x45ebe3[_0x4d6a80(0x1e7)](!0x0);}export function getParents(_0x6125e){const _0xcccc3d=_0x2574,_0x52af41=[];let _0xddaffa=_0x6125e;for(;_0xddaffa;)_0xddaffa=_0x5a92a6(_0xddaffa),_0xddaffa&&_0x52af41[_0xcccc3d(0x1e6)](_0xddaffa);return _0x52af41;}export function normalizeHTML(_0x152414){const _0x50ff99=_0x2574;return _0x152414[_0x50ff99(0x1f2)](/^\s+/gm,'')[_0x50ff99(0x1f2)](/\s+$/gm,'')[_0x50ff99(0x1f2)](/\n*/g,'')[_0x50ff99(0x1f2)](/\s+/g,'\x20')[_0x50ff99(0x1f2)](/>\s*</g,'><');}export function areNodesSame(_0x3ce5d5,_0x151c74){return normalizeHTML(serialize(_0x3ce5d5))===normalizeHTML(serialize(_0x151c74));}export function getNodeNestingLevel(_0xafbfcc){const _0x333e01=_0x2574;let _0x4d5cf8=0x0;for(;_0xafbfcc[_0x333e01(0x1eb)];)_0xafbfcc=_0xafbfcc[_0x333e01(0x1eb)],_0x4d5cf8++;return _0x4d5cf8;}export function removeElementsAfter(_0x9a4a22){const _0x2e7ac9=_0x2574,_0x5ef0fd=[];let _0x42ee1d=_0x9a4a22[_0x2e7ac9(0x1f0)];for(;_0x42ee1d;)_0x5ef0fd[_0x2e7ac9(0x1e6)](_0x42ee1d),_0x42ee1d=_0x42ee1d[_0x2e7ac9(0x1f0)];_0x5ef0fd[_0x2e7ac9(0x1f1)](_0x377605=>{_0x4ead3a(_0x377605);});}export function getNodePath(_0x1bf99b){const _0x2d27f3=_0x2574;return[_0x1bf99b,...getParents(_0x1bf99b)][_0x2d27f3(0x1ef)](0x0,-0x1)[_0x2d27f3(0x1f3)](_0x49214b=>{const _0x56da95=_0x2d27f3,_0x118b04=_0x5a92a6(_0x49214b);return _0x1d74c0(_0x118b04)[_0x56da95(0x1e4)](_0x49214b);})[_0x2d27f3(0x1e8)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46e0b8=_0x1145;function _0x26ca(){const _0x5e0bbd=['childNodes','span','stop','strong','onStreamUpdate','tagName','querySelectorAll','906724gLEumU','getParsedDocumentNodeList','reverse','textNodeStyle','254176JOgbaW','push','26352KcRNhn','renderNode','match','attribs','signal','1121859iyoyNP','length','2023124muWKdK','nodesList','timeoutAbortController','options','addEventListener','isWordSplitSource','136YnZVmK','from','replaceWith','ins','currentIndex','mark','stream','splitTextNodeIntoWordNodes','parent','forEach','shouldBeStreamed','isWordSplitResult','5507200NcoXMz','document','bind','delay','16ZhUSvR','cleanUpAnimations','lastUpdateTime','reset','div','now','entries','join','children','code','span[data-ck-html-streamer-word-chunk]','sup','map','isStreaming','del','7253964AQeGhI','abort','sub','includes'];_0x26ca=function(){return _0x5e0bbd;};return _0x26ca();}(function(_0x3db987,_0x2083cf){const _0x1f3c2b=_0x1145,_0x2d6844=_0x3db987();while(!![]){try{const _0x2849eb=parseInt(_0x1f3c2b(0x1e4))/0x1+-parseInt(_0x1f3c2b(0x1f3))/0x2*(-parseInt(_0x1f3c2b(0x1e6))/0x3)+-parseInt(_0x1f3c2b(0x1ed))/0x4+parseInt(_0x1f3c2b(0x1c2))/0x5+-parseInt(_0x1f3c2b(0x1d5))/0x6+parseInt(_0x1f3c2b(0x1e0))/0x7*(parseInt(_0x1f3c2b(0x1c6))/0x8)+parseInt(_0x1f3c2b(0x1eb))/0x9;if(_0x2849eb===_0x2083cf)break;else _0x2d6844['push'](_0x2d6844['shift']());}catch(_0x582d0a){_0x2d6844['push'](_0x2d6844['shift']());}}}(_0x26ca,0x97d2c));import _0x5610e0 from'morphdom';import{NodeWithChildren as _0x5d1a15,Text as _0x206769,Element as _0x1ed64b,isText as _0x269696,isDocument as _0x50e461,isTag as _0x3a8663,cloneNode as _0x390c38,getChildren as _0x4b71af,prepend as _0x541c4b,removeElement as _0x4749f8,textContent as _0x14b14d,render as _0x2fbbd1}from'./htmlparser.js';function _0x1145(_0x5bc81c,_0x18c702){const _0x26cab7=_0x26ca();return _0x1145=function(_0x1145cb,_0x3e6f06){_0x1145cb=_0x1145cb-0x1bb;let _0x4c5eac=_0x26cab7[_0x1145cb];return _0x4c5eac;},_0x1145(_0x5bc81c,_0x18c702);}export class HTMLStreamer{[_0x46e0b8(0x1f0)];[_0x46e0b8(0x1d3)]=!0x1;[_0x46e0b8(0x1c3)]=null;[_0x46e0b8(0x1ee)]=[];[_0x46e0b8(0x1f7)]=0x0;[_0x46e0b8(0x1ef)]=null;[_0x46e0b8(0x1c8)]=0x0;constructor(_0x2e229d){const _0x18cc91=_0x46e0b8;this[_0x18cc91(0x1f0)]={'delay':_0x2e229d[_0x18cc91(0x1c5)]??0x14,'textNodeStyle':_0x2e229d[_0x18cc91(0x1e3)],'onStreamUpdate':_0x2e229d[_0x18cc91(0x1dd)]||(()=>{})};}async[_0x46e0b8(0x1bc)]({document:_0x100dfe,targetElement:_0x2dde1b,abortSignal:_0x36427b}){const _0x21ed71=_0x46e0b8;this[_0x21ed71(0x1d3)]&&this[_0x21ed71(0x1db)](),_0x36427b?.[_0x21ed71(0x1f1)](_0x21ed71(0x1d6),this[_0x21ed71(0x1db)][_0x21ed71(0x1c4)](this)),this[_0x21ed71(0x1c3)]=_0x390c38(_0x100dfe,!0x0),this[_0x21ed71(0x1ee)]=this[_0x21ed71(0x1e1)](),this[_0x21ed71(0x1d3)]=!0x0,this[_0x21ed71(0x1f7)]>this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)]&&(this[_0x21ed71(0x1f7)]=this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)]);for(let _0x528bad=0x0;_0x528bad<this[_0x21ed71(0x1f7)];_0x528bad++)this[_0x21ed71(0x1ee)][_0x528bad][_0x21ed71(0x1c0)]=!0x0;do{const _0x25bb1a=Date[_0x21ed71(0x1cb)](),_0x5604fe=this[_0x21ed71(0x1ee)][this[_0x21ed71(0x1f7)]],_0x1a9bce=_0x25bb1a-this[_0x21ed71(0x1c8)];if(_0x5604fe){_0x5604fe[_0x21ed71(0x1c0)]=!0x0;let _0x1ab77b=_0x5604fe[_0x21ed71(0x1be)];for(;_0x1ab77b;)_0x1ab77b[_0x21ed71(0x1c0)]=!0x0,_0x1ab77b=_0x1ab77b[_0x21ed71(0x1be)];}if(_0x1a9bce<this[_0x21ed71(0x1f0)][_0x21ed71(0x1c5)])try{const {promise:_0xd61014,abortController:_0x3a84b5}=Us(this[_0x21ed71(0x1f0)][_0x21ed71(0x1c5)]-_0x1a9bce);this[_0x21ed71(0x1ef)]=_0x3a84b5,await _0xd61014;}catch(_0x322afe){return;}_0x5610e0(_0x2dde1b,'<'+_0x2dde1b[_0x21ed71(0x1de)]+'>'+this[_0x21ed71(0x1e7)](this[_0x21ed71(0x1c3)])+'</'+_0x2dde1b[_0x21ed71(0x1de)]+'>',{'childrenOnly':!0x0}),this[_0x21ed71(0x1f0)][_0x21ed71(0x1dd)]&&this[_0x21ed71(0x1f0)][_0x21ed71(0x1dd)](),this[_0x21ed71(0x1f7)]++,this[_0x21ed71(0x1c8)]=Date[_0x21ed71(0x1cb)]();}while(this[_0x21ed71(0x1f7)]<this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)]);this[_0x21ed71(0x1f7)]=this[_0x21ed71(0x1ee)][_0x21ed71(0x1ec)],this[_0x21ed71(0x1d3)]=!0x1;}[_0x46e0b8(0x1c9)](){const _0x43ad23=_0x46e0b8;this[_0x43ad23(0x1d3)]=!0x1,this[_0x43ad23(0x1c3)]=null,this[_0x43ad23(0x1ee)]=[],this[_0x43ad23(0x1f7)]=0x0,this[_0x43ad23(0x1ef)]=null;}[_0x46e0b8(0x1c7)]({targetElement:_0x3e199c}){const _0x22c77a=_0x46e0b8;Array[_0x22c77a(0x1f4)](_0x3e199c[_0x22c77a(0x1df)](_0x22c77a(0x1d0)))[_0x22c77a(0x1e2)]()[_0x22c77a(0x1bf)](_0x52b422=>{const _0x44d1d9=_0x22c77a;_0x52b422[_0x44d1d9(0x1f5)](_0x52b422[_0x44d1d9(0x1d9)][0x0]);});}[_0x46e0b8(0x1db)](){const _0x199a37=_0x46e0b8;this[_0x199a37(0x1d3)]=!0x1,this[_0x199a37(0x1ef)]&&(this[_0x199a37(0x1ef)][_0x199a37(0x1d6)](),this[_0x199a37(0x1ef)]=null);}[_0x46e0b8(0x1e7)](_0x530f9c){const _0x880373=_0x46e0b8;let _0x51b245='';if(function(_0x51853e){return _0x50e461(_0x51853e);}(_0x530f9c)){for(const _0x179c65 of _0x530f9c[_0x880373(0x1ce)])_0x51b245+=this[_0x880373(0x1e7)](_0x179c65);}else{if(Ls(_0x530f9c)){if(!_0x530f9c[_0x880373(0x1c0)])return'';const _0x2eba5e=_0x530f9c,_0x4802ff=Object[_0x880373(0x1cc)](_0x2eba5e[_0x880373(0x1e9)])[_0x880373(0x1d2)](([_0x122173,_0x417085])=>_0x122173+'=\x22'+_0x417085+'\x22')[_0x880373(0x1cd)]('\x20');_0x51b245+='<'+_0x2eba5e[_0x880373(0x1de)]+(_0x4802ff?'\x20'+_0x4802ff:'')+'>';for(const _0x3f021f of _0x4b71af(_0x2eba5e))_0x51b245+=this[_0x880373(0x1e7)](_0x3f021f);_0x51b245+='</'+_0x2eba5e[_0x880373(0x1de)]+'>';}else{if(!Ts(_0x530f9c))return'';if(!_0x530f9c[_0x880373(0x1c0)])return'';!function(_0x1079a6){const _0x1a8f4b=_0x880373;if(!_0x1079a6[_0x1a8f4b(0x1be)]||!Ls(_0x1079a6[_0x1a8f4b(0x1be)]))return!0x1;if(!ys[_0x1a8f4b(0x1d8)](_0x1079a6[_0x1a8f4b(0x1be)][_0x1a8f4b(0x1de)]))return!0x1;return!_0x14b14d(_0x1079a6)[_0x1a8f4b(0x1e8)](/^\s*[<>]\s*$/);}(_0x530f9c)?_0x51b245+=_0x2fbbd1(_0x530f9c):_0x51b245+=_0x2fbbd1(new _0x1ed64b(_0x880373(0x1da),{'data-ck-html-streamer-word-chunk':'','style':this[_0x880373(0x1f0)][_0x880373(0x1e3)]},[_0x530f9c]));}}return _0x51b245;}[_0x46e0b8(0x1e1)](){const _0x5632cc=_0x46e0b8,_0x1360fc=[];return function(_0x57ef19,_0x396c6b){const _0x108825=_0x1145,_0x3470f8=_0x308686=>{const _0x47f57c=_0x1145;if(_0x396c6b(_0x308686),_0x308686 instanceof _0x5d1a15)for(let _0x4bf7b0=0x0;_0x4bf7b0<_0x308686[_0x47f57c(0x1ce)][_0x47f57c(0x1ec)];_0x4bf7b0++){const _0x3a738e=_0x308686[_0x47f57c(0x1ce)][_0x4bf7b0];_0x3470f8(_0x3a738e);}};for(let _0x57e3a7=0x0;_0x57e3a7<_0x57ef19[_0x108825(0x1ce)][_0x108825(0x1ec)];_0x57e3a7++)_0x3470f8(_0x57ef19[_0x108825(0x1ce)][_0x57e3a7]);}(this[_0x5632cc(0x1c3)],_0x424ce7=>{const _0xd09d1f=_0x5632cc;if(Ts(_0x424ce7)){const _0x4be02a=this[_0xd09d1f(0x1bd)](_0x424ce7);_0x4be02a[_0xd09d1f(0x1ec)]&&_0x1360fc[_0xd09d1f(0x1e5)](..._0x4be02a);}_0x424ce7[_0xd09d1f(0x1f2)]||_0x424ce7[_0xd09d1f(0x1c1)]||_0x1360fc[_0xd09d1f(0x1e5)](_0x424ce7);}),_0x1360fc;}[_0x46e0b8(0x1bd)](_0x284725){const _0x140367=_0x46e0b8;if(_0x284725[_0x140367(0x1f2)]||_0x284725[_0x140367(0x1c1)])return[];const _0x27fd9b=_0x14b14d(_0x284725)[_0x140367(0x1e8)](/(?:\s*\S+\s*)/g),_0x300af5=[];if(_0x27fd9b&&_0x27fd9b[_0x140367(0x1ec)]>0x1){for(const _0x35f1f9 of _0x27fd9b){const _0x357f03=new _0x206769(_0x35f1f9);_0x357f03[_0x140367(0x1c1)]=!0x0,_0x541c4b(_0x284725,_0x357f03),_0x300af5[_0x140367(0x1e5)](_0x357f03);}_0x284725[_0x140367(0x1f2)]=!0x0,_0x4749f8(_0x284725);}return _0x300af5;}}const ys=['p','li','td','th',_0x46e0b8(0x1da),'h1','h2','h3','h4','h5','h6','b',_0x46e0b8(0x1dc),'i','em',_0x46e0b8(0x1bb),_0x46e0b8(0x1d4),_0x46e0b8(0x1f6),_0x46e0b8(0x1d1),_0x46e0b8(0x1d7),'a',_0x46e0b8(0x1cf),_0x46e0b8(0x1ca)];function Ts(_0x3bb555){return _0x269696(_0x3bb555);}function Ls(_0x8b6a33){return _0x3a8663(_0x8b6a33);}function Us(_0x2dc59c){const _0x374fd3=new AbortController();return{'promise':new Promise((_0x4f7959,_0x4a25b4)=>{const _0x4ea471=_0x1145,_0x967ffb=setTimeout(_0x4f7959,_0x2dc59c);_0x374fd3[_0x4ea471(0x1ea)][_0x4ea471(0x1f1)](_0x4ea471(0x1d6),()=>{clearTimeout(_0x967ffb),_0x4a25b4();});}),'abortController':_0x374fd3};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5c11(){const _0x27ffef=['4018428mUZkqK','auto','8PHcNLb','7651953vQhWVH','615FnXSDM','abort','9088653ClQkZw','addEventListener','PageDown','element','scrollTo','start','isRunning','7134JKbnQp','_isAtBottom','10PUHNcl','_rafUpdate','key','pointerdown','type','900427bEjEaE','includes','Home','signal','touchstart','stop','ArrowUp','End','2421159VHPzNH','bind','810437JVcbAp','isUserPaused','scrollHeight','PageUp','keydown','ArrowDown','abortController','deltaY','4sCtCmD','destroy','_stop','animationFrameId','wheel','_onUserEvent'];_0x5c11=function(){return _0x27ffef;};return _0x5c11();}const _0x56e8cf=_0x32bf;(function(_0xe60c24,_0x37dbbd){const _0x152355=_0x32bf,_0x592b8c=_0xe60c24();while(!![]){try{const _0x240fcd=-parseInt(_0x152355(0x96))/0x1+parseInt(_0x152355(0x9e))/0x2*(-parseInt(_0x152355(0x94))/0x3)+parseInt(_0x152355(0x78))/0x4+parseInt(_0x152355(0x7c))/0x5*(parseInt(_0x152355(0x85))/0x6)+-parseInt(_0x152355(0x7e))/0x7*(-parseInt(_0x152355(0x7a))/0x8)+parseInt(_0x152355(0x7b))/0x9*(parseInt(_0x152355(0x87))/0xa)+parseInt(_0x152355(0x8c))/0xb;if(_0x240fcd===_0x37dbbd)break;else _0x592b8c['push'](_0x592b8c['shift']());}catch(_0x4aa6d1){_0x592b8c['push'](_0x592b8c['shift']());}}}(_0x5c11,0xe995c));function _0x32bf(_0x519286,_0xb15b33){const _0x5c11bf=_0x5c11();return _0x32bf=function(_0x32bf98,_0x11ec7c){_0x32bf98=_0x32bf98-0x74;let _0x5ae94d=_0x5c11bf[_0x32bf98];return _0x5ae94d;},_0x32bf(_0x519286,_0xb15b33);}const Fs=[_0x56e8cf(0x76),_0x56e8cf(0x90),_0x56e8cf(0x8a),_0x56e8cf(0x9a)],qs=[_0x56e8cf(0x92),_0x56e8cf(0x9b),_0x56e8cf(0x99),_0x56e8cf(0x80),_0x56e8cf(0x8e),_0x56e8cf(0x93),'\x20'];export class ScrollManager{[_0x56e8cf(0x81)];[_0x56e8cf(0x75)];[_0x56e8cf(0x84)];[_0x56e8cf(0x9c)];[_0x56e8cf(0x97)];constructor(_0x3ad602){const _0x6652ad=_0x56e8cf;this[_0x6652ad(0x81)]=_0x3ad602,this[_0x6652ad(0x75)]=null,this[_0x6652ad(0x84)]=!0x1,this[_0x6652ad(0x9c)]=new AbortController(),this[_0x6652ad(0x97)]=!0x1;for(const _0x21c3c7 of Fs){const _0x429c8f=_0x6652ad(0x9a)!==_0x21c3c7;this[_0x6652ad(0x81)][_0x6652ad(0x7f)](_0x21c3c7,this[_0x6652ad(0x77)][_0x6652ad(0x95)](this),{'passive':_0x429c8f,'signal':this[_0x6652ad(0x9c)][_0x6652ad(0x8f)]});}}[_0x56e8cf(0x83)](){const _0x245aec=_0x56e8cf;this[_0x245aec(0x84)]||(this[_0x245aec(0x84)]=!0x0,this[_0x245aec(0x97)]=!0x1,this[_0x245aec(0x75)]=requestAnimationFrame(this[_0x245aec(0x88)][_0x245aec(0x95)](this)));}[_0x56e8cf(0x91)](){requestAnimationFrame(()=>{const _0x1f686e=_0x32bf;this[_0x1f686e(0x74)]();});}[_0x56e8cf(0x9f)](){const _0x13a319=_0x56e8cf;this[_0x13a319(0x74)](),this[_0x13a319(0x9c)][_0x13a319(0x7d)]();}[_0x56e8cf(0x74)](){const _0x99e275=_0x56e8cf;null!==this[_0x99e275(0x75)]&&(cancelAnimationFrame(this[_0x99e275(0x75)]),this[_0x99e275(0x75)]=null),this[_0x99e275(0x84)]&&(this[_0x99e275(0x84)]=!0x1),this[_0x99e275(0x97)]=!0x1;}[_0x56e8cf(0x77)](_0x151960){const _0x1ef4ec=_0x56e8cf;if(this[_0x1ef4ec(0x84)]){if(_0x1ef4ec(0x9a)===_0x151960[_0x1ef4ec(0x8b)]){const _0x425aa0=_0x151960[_0x1ef4ec(0x89)];if(!qs[_0x1ef4ec(0x8d)](_0x425aa0))return;}_0x151960 instanceof WheelEvent?_0x151960[_0x1ef4ec(0x9d)]<0x0?this[_0x1ef4ec(0x97)]=!0x0:this[_0x1ef4ec(0x97)]=!this[_0x1ef4ec(0x86)]():this[_0x1ef4ec(0x97)]=!0x0;}}[_0x56e8cf(0x86)](){const _0x25d88d=_0x56e8cf,{scrollTop:_0x5cfee1,scrollHeight:_0x279897,clientHeight:_0x46fa85}=this[_0x25d88d(0x81)];return _0x279897-_0x5cfee1-_0x46fa85<=0x5;}[_0x56e8cf(0x88)](){const _0x396afd=_0x56e8cf;this[_0x396afd(0x84)]&&(this[_0x396afd(0x97)]||this[_0x396afd(0x81)][_0x396afd(0x82)]({'top':this[_0x396afd(0x81)][_0x396afd(0x98)],'behavior':_0x396afd(0x79)}),this[_0x396afd(0x75)]=requestAnimationFrame(this[_0x396afd(0x88)][_0x396afd(0x95)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5962(){var _0x1f81b0=['260AEOVav','AIEditorIntegration','145300fxOFIr','612TpZdfS','8PFYNpX','isOfficialPlugin','16933086sgnKRp','1261357QZyAPa','isPremiumPlugin','21189DwQzWk','14DIHjRT','pluginName','486iAJklW','568513NNyiMU','5950350yTSnrE','753396JlhJmt','requires'];_0x5962=function(){return _0x1f81b0;};return _0x5962();}function _0x4292(_0x180c3c,_0x55a728){var _0x59629d=_0x5962();return _0x4292=function(_0x429269,_0x1cd2f8){_0x429269=_0x429269-0xe2;var _0x520a6c=_0x59629d[_0x429269];return _0x520a6c;},_0x4292(_0x180c3c,_0x55a728);}var _0xc743f0=_0x4292;(function(_0x291ad9,_0x579c70){var _0x23a544=_0x4292,_0x4d4156=_0x291ad9();while(!![]){try{var _0x11fb11=parseInt(_0x23a544(0xe4))/0x1+parseInt(_0x23a544(0xe7))/0x2*(-parseInt(_0x23a544(0xec))/0x3)+parseInt(_0x23a544(0xee))/0x4*(parseInt(_0x23a544(0xf0))/0x5)+-parseInt(_0x23a544(0xe9))/0x6*(parseInt(_0x23a544(0xe6))/0x7)+-parseInt(_0x23a544(0xf2))/0x8*(-parseInt(_0x23a544(0xe3))/0x9)+parseInt(_0x23a544(0xeb))/0xa+-parseInt(_0x23a544(0xea))/0xb*(parseInt(_0x23a544(0xf1))/0xc);if(_0x11fb11===_0x579c70)break;else _0x4d4156['push'](_0x4d4156['shift']());}catch(_0x262dba){_0x4d4156['push'](_0x4d4156['shift']());}}}(_0x5962,0xf129a));import{Plugin as _0x3b22a1}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4202cd}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x3037e3}from'../aichat/aichatballoon.js';import{SuggestionsConversion as _0x32b6b9}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x3b22a1{static get[_0xc743f0(0xed)](){return[_0x4202cd,_0x3037e3,_0x32b6b9];}static get[_0xc743f0(0xe8)](){var _0x4d27cb=_0xc743f0;return _0x4d27cb(0xef);}static get[_0xc743f0(0xe2)](){return!0x0;}static get[_0xc743f0(0xe5)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3268(_0x501200,_0x154e7e){const _0x4eaba5=_0x4eab();return _0x3268=function(_0x326899,_0x536743){_0x326899=_0x326899-0x175;let _0x3d35af=_0x4eaba5[_0x326899];return _0x3d35af;},_0x3268(_0x501200,_0x154e7e);}const _0x1eeb57=_0x3268;(function(_0x56dde1,_0x5df312){const _0x45fe4a=_0x3268,_0x91b59f=_0x56dde1();while(!![]){try{const _0x1c0786=parseInt(_0x45fe4a(0x18a))/0x1*(parseInt(_0x45fe4a(0x17c))/0x2)+parseInt(_0x45fe4a(0x17a))/0x3+-parseInt(_0x45fe4a(0x17f))/0x4+-parseInt(_0x45fe4a(0x198))/0x5*(-parseInt(_0x45fe4a(0x17d))/0x6)+parseInt(_0x45fe4a(0x199))/0x7*(parseInt(_0x45fe4a(0x180))/0x8)+parseInt(_0x45fe4a(0x188))/0x9*(parseInt(_0x45fe4a(0x175))/0xa)+parseInt(_0x45fe4a(0x18e))/0xb*(-parseInt(_0x45fe4a(0x18b))/0xc);if(_0x1c0786===_0x5df312)break;else _0x91b59f['push'](_0x91b59f['shift']());}catch(_0x100eef){_0x91b59f['push'](_0x91b59f['shift']());}}}(_0x4eab,0xd8657));function _0x4eab(){const _0x577fd7=['ck-ai-toggle-button','2208105YqxGtr','AIToggleButtonUI','404fBiVlH','6nraFyX','isOfficialPlugin','4441380wfDgAm','408gfliEI','componentFactory','isPremiumPlugin','listenTo','menuBar:toggleAi','toggleAi','editor','value','9bEVlkd','init','7151eKWMxA','9252dXDjTM','execute','_createAIUIButton','49962AGCNyT','AI_TOGGLE_BUTTON_LABEL','commands','menuitemcheckbox','set','get','requires','add','isOn','isEnabled','5135015IsLZEO','132489WQFBhP','13257690cJzpds','locale','pluginName','bind'];_0x4eab=function(){return _0x577fd7;};return _0x4eab();}import{Plugin as _0x3d27fd}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x57af59}from'./toggleaicommand.js';import{ButtonView as _0x5e9eb8,MenuBarMenuListItemButtonView as _0x490c7c}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x2ed289}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x457574}from'../../aicore/utils/common-translations.js';import{AITabs as _0x5697cc}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3d27fd{static get[_0x1eeb57(0x194)](){return[_0x5697cc];}static get[_0x1eeb57(0x177)](){const _0x3e75d3=_0x1eeb57;return _0x3e75d3(0x17b);}static get[_0x1eeb57(0x17e)](){return!0x0;}static get[_0x1eeb57(0x182)](){return!0x0;}[_0x1eeb57(0x189)](){const _0x522893=_0x1eeb57,_0x1c1668=this[_0x522893(0x186)];_0x1c1668[_0x522893(0x190)][_0x522893(0x195)](_0x522893(0x185),new _0x57af59(_0x1c1668)),_0x1c1668['ui'][_0x522893(0x181)][_0x522893(0x195)](_0x522893(0x185),()=>{const _0x5bf727=_0x522893,_0x3ce033=this[_0x5bf727(0x18d)](_0x5e9eb8);return _0x3ce033[_0x5bf727(0x192)]({'tooltip':!0x0,'class':_0x5bf727(0x179)}),_0x3ce033;}),_0x1c1668['ui'][_0x522893(0x181)][_0x522893(0x195)](_0x522893(0x184),()=>{const _0x31fc59=_0x522893,_0x4cddb7=this[_0x31fc59(0x18d)](_0x490c7c);return _0x4cddb7[_0x31fc59(0x192)]({'role':_0x31fc59(0x191)}),_0x4cddb7;});}[_0x1eeb57(0x18d)](_0x3d8998){const _0x2f9ff5=_0x1eeb57,_0x512dae=this[_0x2f9ff5(0x186)],_0x4b99d4=_0x512dae[_0x2f9ff5(0x190)][_0x2f9ff5(0x193)](_0x2f9ff5(0x185)),_0x5c676f=new _0x3d8998(_0x512dae[_0x2f9ff5(0x176)]);return _0x5c676f[_0x2f9ff5(0x192)]({'label':_0x457574(_0x512dae[_0x2f9ff5(0x176)],_0x2f9ff5(0x18f)),'icon':_0x2ed289,'isToggleable':!0x0}),_0x5c676f[_0x2f9ff5(0x178)](_0x2f9ff5(0x197))['to'](_0x4b99d4),_0x5c676f[_0x2f9ff5(0x178)](_0x2f9ff5(0x196))['to'](_0x4b99d4,_0x2f9ff5(0x187),_0xa1b25f=>!!_0xa1b25f),this[_0x2f9ff5(0x183)](_0x5c676f,_0x2f9ff5(0x18c),()=>{const _0x1e8a68=_0x2f9ff5;_0x4b99d4[_0x1e8a68(0x18c)]();}),_0x5c676f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50f38b=_0x10c6;(function(_0x44b319,_0x4252da){const _0x485d53=_0x10c6,_0x38b30d=_0x44b319();while(!![]){try{const _0x46e48a=-parseInt(_0x485d53(0x1a1))/0x1+parseInt(_0x485d53(0x1a7))/0x2*(parseInt(_0x485d53(0x1a6))/0x3)+-parseInt(_0x485d53(0x1a2))/0x4+-parseInt(_0x485d53(0x1a9))/0x5+-parseInt(_0x485d53(0x19f))/0x6+-parseInt(_0x485d53(0x1a0))/0x7*(parseInt(_0x485d53(0x1a3))/0x8)+parseInt(_0x485d53(0x1a4))/0x9;if(_0x46e48a===_0x4252da)break;else _0x38b30d['push'](_0x38b30d['shift']());}catch(_0x25a499){_0x38b30d['push'](_0x38b30d['shift']());}}}(_0x506c,0x1ef21));function _0x506c(){const _0x5b4877=['6969735ZCxWvY','AITabs','59043tzcPwz','12WdwFqn','execute','1193210wbnsQF','plugins','bind','value','get','view','isEnabled','editor','isVisible','272136lhwUIA','229229rbwOBE','37627tyJSvI','990564HdvpWu','48OIKxTb'];_0x506c=function(){return _0x5b4877;};return _0x506c();}function _0x10c6(_0x3a575c,_0x5c5da1){const _0x506cb4=_0x506c();return _0x10c6=function(_0x10c649,_0xe3cf4){_0x10c649=_0x10c649-0x19b;let _0x504d5f=_0x506cb4[_0x10c649];return _0x504d5f;},_0x10c6(_0x3a575c,_0x5c5da1);}import{Command as _0x17277c}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x17277c{constructor(_0x5f3a6e){const _0x1cb41f=_0x10c6;super(_0x5f3a6e);const _0x1b515a=_0x5f3a6e[_0x1cb41f(0x1aa)][_0x1cb41f(0x1ad)](_0x1cb41f(0x1a5))[_0x1cb41f(0x19b)];this[_0x1cb41f(0x1ab)](_0x1cb41f(0x1ac))['to'](_0x1b515a,_0x1cb41f(0x19e)),this[_0x1cb41f(0x19c)]=!0x0;}[_0x50f38b(0x1a8)](){const _0x1d9628=_0x50f38b,_0x5ebd3a=this[_0x1d9628(0x19d)][_0x1d9628(0x1aa)][_0x1d9628(0x1ad)](_0x1d9628(0x1a5))[_0x1d9628(0x19b)];_0x5ebd3a[_0x1d9628(0x19e)]=!_0x5ebd3a[_0x1d9628(0x19e)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x548f3a=_0x1cc8;(function(_0x5e128c,_0x1c0385){var _0x58aa6a=_0x1cc8,_0x460cb7=_0x5e128c();while(!![]){try{var _0x56bde4=-parseInt(_0x58aa6a(0x190))/0x1*(parseInt(_0x58aa6a(0x18a))/0x2)+-parseInt(_0x58aa6a(0x182))/0x3+parseInt(_0x58aa6a(0x186))/0x4*(parseInt(_0x58aa6a(0x180))/0x5)+parseInt(_0x58aa6a(0x185))/0x6+parseInt(_0x58aa6a(0x18b))/0x7+-parseInt(_0x58aa6a(0x181))/0x8+parseInt(_0x58aa6a(0x18d))/0x9*(parseInt(_0x58aa6a(0x17f))/0xa);if(_0x56bde4===_0x1c0385)break;else _0x460cb7['push'](_0x460cb7['shift']());}catch(_0x5193bd){_0x460cb7['push'](_0x460cb7['shift']());}}}(_0x581a,0xc81a8));import{Plugin as _0x1be1e7}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x1a7d99}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x17fdb4}from'./aiquickactionsediting.js';function _0x1cc8(_0x281fd4,_0x385559){var _0x581a4b=_0x581a();return _0x1cc8=function(_0x1cc89d,_0x56e4ad){_0x1cc89d=_0x1cc89d-0x17f;var _0x4b7b7e=_0x581a4b[_0x1cc89d];return _0x4b7b7e;},_0x1cc8(_0x281fd4,_0x385559);}import{AIActions as _0x57cfdc}from'../aiactions/aiactions.js';function _0x581a(){var _0x1e67b3=['250dogeLX','40wSDysx','9860128VWigjQ','765435ChXzHW','ai.quickActions','config','4842600UdTbDi','392800GmXvrr','isPremiumPlugin','AIQuickActions','requires','2014766SVOAOc','7301651wtakRo','define','244395pDCyuF','pluginName','isOfficialPlugin','1jIWPYJ'];_0x581a=function(){return _0x1e67b3;};return _0x581a();}export class AIQuickActions extends _0x1be1e7{static get[_0x548f3a(0x189)](){return[_0x1a7d99,_0x17fdb4,_0x57cfdc];}static get[_0x548f3a(0x18e)](){var _0x1e9769=_0x548f3a;return _0x1e9769(0x188);}static get[_0x548f3a(0x18f)](){return!0x0;}static get[_0x548f3a(0x187)](){return!0x0;}constructor(_0x1ab54f){var _0x51ff73=_0x548f3a;super(_0x1ab54f),_0x1ab54f[_0x51ff73(0x184)][_0x51ff73(0x18c)](_0x51ff73(0x183),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2585(){const _0x2e1b74=['other','parent','_handleAIActionsAction','type','editor','getLimitElement','_handleAIChatAction','model','getSelectedBlocks','actionName','activateTab','7936072NavoOv','chat','handleAIReviewAction','plugins','startConversation','AIChat','isVisible','removeSelectionFromChatContext','44PVGnsd','has','_handleAIActionsActionLabel','view','ask-ai','76234jqyXVc','focusPromptInput','252hIyHOn','ACTION','AIChatController','label','change','100576rZdusO','AIActions','ai-quick-actions-plugin-not-found','document','icon','args','9BaqRwX','selection','_handleAIReviewAction','sendMessage','activeTab','704485UMhYin','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','prompt','locale','log','16Tgpusd','get','execute','_expandSelectionIfCollapsed','12821210YPDTzl','11xtCCqx','27004656JFQaFW','displayedPrompt','CHAT','REVIEW','executeAction','2243865gwNKkW','AITabs','schema','isCollapsed','setSelection','AIReviewMode','addSelectionToChatContext'];_0x2585=function(){return _0x2e1b74;};return _0x2585();}function _0x55d0(_0x296537,_0x4172e2){const _0x258552=_0x2585();return _0x55d0=function(_0x55d074,_0x35f79c){_0x55d074=_0x55d074-0x181;let _0x5ad7b9=_0x258552[_0x55d074];return _0x5ad7b9;},_0x55d0(_0x296537,_0x4172e2);}const _0xc0380a=_0x55d0;(function(_0x2f3df3,_0x32f04e){const _0x591118=_0x55d0,_0x16eb2e=_0x2f3df3();while(!![]){try{const _0x2a2221=parseInt(_0x591118(0x182))/0x1*(parseInt(_0x591118(0x199))/0x2)+-parseInt(_0x591118(0x1a4))/0x3+-parseInt(_0x591118(0x1be))/0x4*(-parseInt(_0x591118(0x194))/0x5)+parseInt(_0x591118(0x184))/0x6*(-parseInt(_0x591118(0x189))/0x7)+parseInt(_0x591118(0x1b6))/0x8+-parseInt(_0x591118(0x18f))/0x9*(-parseInt(_0x591118(0x19d))/0xa)+-parseInt(_0x591118(0x19e))/0xb*(parseInt(_0x591118(0x19f))/0xc);if(_0x2a2221===_0x32f04e)break;else _0x16eb2e['push'](_0x16eb2e['shift']());}catch(_0x4f9381){_0x16eb2e['push'](_0x16eb2e['shift']());}}}(_0x2585,0xcb246));import{Command as _0x20bda4}from'ckeditor5/src/core.js';import{CKEditorError as _0x2b0599,first as _0x228489}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x41adfa}from'./aiquickactionsui.js';import{getTranslation as _0x260e26}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x20bda4{[_0xc0380a(0x19b)](_0x414d0a){const _0x2b61fe=_0xc0380a;switch(this[_0x2b61fe(0x19c)](),_0x414d0a[_0x2b61fe(0x1ae)]){case _0x41adfa[_0x2b61fe(0x1a1)]:if(!this[_0x2b61fe(0x1af)][_0x2b61fe(0x1b9)][_0x2b61fe(0x1bf)](_0x2b61fe(0x1bb))){const _0x366065=_0x260e26(this[_0x2b61fe(0x1af)][_0x2b61fe(0x197)],_0x2b61fe(0x195),_0x2b61fe(0x1bb));throw new _0x2b0599(_0x2b61fe(0x18b),this[_0x2b61fe(0x1af)],{'errorMessage':_0x366065});}this[_0x2b61fe(0x1b1)](_0x414d0a);break;case _0x41adfa[_0x2b61fe(0x185)]:if(!this[_0x2b61fe(0x1af)][_0x2b61fe(0x1b9)][_0x2b61fe(0x1bf)](_0x2b61fe(0x18a))){const _0xc5444d=_0x260e26(this[_0x2b61fe(0x1af)][_0x2b61fe(0x197)],_0x2b61fe(0x195),_0x2b61fe(0x18a));throw new _0x2b0599(_0x2b61fe(0x18b),this[_0x2b61fe(0x1af)],{'errorMessage':_0xc5444d});}this[_0x2b61fe(0x1ad)](_0x414d0a);break;case _0x41adfa[_0x2b61fe(0x1a2)]:if(!this[_0x2b61fe(0x1af)][_0x2b61fe(0x1b9)][_0x2b61fe(0x1bf)](_0x2b61fe(0x1a9))){const _0x2aeeea=_0x260e26(this[_0x2b61fe(0x1af)][_0x2b61fe(0x197)],_0x2b61fe(0x195),_0x2b61fe(0x1a9));throw new _0x2b0599(_0x2b61fe(0x18b),this[_0x2b61fe(0x1af)],{'errorMessage':_0x2aeeea});}this[_0x2b61fe(0x191)](_0x414d0a);}}async[_0xc0380a(0x1b1)](_0x1562de){const _0x2d8697=_0xc0380a,_0x4e1234=this[_0x2d8697(0x1af)][_0x2d8697(0x1b9)][_0x2d8697(0x19a)](_0x2d8697(0x1bb)),_0x3d3e0a=this[_0x2d8697(0x1af)][_0x2d8697(0x1b9)][_0x2d8697(0x19a)](_0x2d8697(0x186)),_0x3d2ff7=this[_0x2d8697(0x1af)][_0x2d8697(0x1b9)][_0x2d8697(0x19a)](_0x2d8697(0x1a5))[_0x2d8697(0x1c1)];if(_0x3d2ff7[_0x2d8697(0x1bc)]||(_0x3d2ff7[_0x2d8697(0x1bc)]=!0x0),_0x2d8697(0x1b7)!==_0x3d2ff7[_0x2d8697(0x193)]&&_0x3d2ff7[_0x2d8697(0x1b5)](_0x2d8697(0x1b7)),_0x2d8697(0x181)===_0x1562de['id'])_0x3d3e0a[_0x2d8697(0x1bd)](),await _0x4e1234[_0x2d8697(0x1aa)](),_0x4e1234[_0x2d8697(0x183)]();else await _0x4e1234[_0x2d8697(0x1ba)](),_0x3d3e0a[_0x2d8697(0x1bd)](),await _0x4e1234[_0x2d8697(0x1aa)](),_0x4e1234[_0x2d8697(0x183)](),await _0x4e1234[_0x2d8697(0x192)]({'message':_0x1562de[_0x2d8697(0x196)]||_0x1562de[_0x2d8697(0x1a0)],'attributes':{'quickActionData':{'id':_0x1562de['id']},'displayedPrompt':_0x1562de[_0x2d8697(0x1a0)]}});}[_0xc0380a(0x19c)](){const _0x517f0f=_0xc0380a,_0x3fe073=this[_0x517f0f(0x1af)],_0x1e4dd6=_0x3fe073[_0x517f0f(0x1b2)][_0x517f0f(0x18c)][_0x517f0f(0x190)];if(!_0x1e4dd6[_0x517f0f(0x1a7)])return;const _0x31952e=_0x228489(_0x1e4dd6[_0x517f0f(0x1b3)]())||_0x3fe073[_0x517f0f(0x1b2)][_0x517f0f(0x1a6)][_0x517f0f(0x1b0)](_0x1e4dd6);_0x3fe073[_0x517f0f(0x1b2)][_0x517f0f(0x188)](_0x524ef6=>{const _0x39a8f0=_0x517f0f;_0x524ef6[_0x39a8f0(0x1a8)](_0x31952e,'in');});}[_0xc0380a(0x1c0)](_0x5ec2d2){const _0x2c0713=_0xc0380a;return _0x5ec2d2[_0x2c0713(0x1ac)]?.[_0x2c0713(0x187)]&&_0x2c0713(0x1ab)!==_0x5ec2d2[_0x2c0713(0x1ac)]?.['id']?_0x5ec2d2[_0x2c0713(0x1ac)][_0x2c0713(0x187)]+':\x20'+_0x5ec2d2[_0x2c0713(0x1a0)]:_0x5ec2d2[_0x2c0713(0x1a0)];}async[_0xc0380a(0x1ad)](_0x4e3214){const _0x3827a9=_0xc0380a,_0x21272d=this[_0x3827a9(0x1af)][_0x3827a9(0x1b9)][_0x3827a9(0x19a)](_0x3827a9(0x18a)),_0x2c0f05=_0x4e3214[_0x3827a9(0x196)]?{'userMessage':_0x4e3214[_0x3827a9(0x196)],'model':_0x4e3214[_0x3827a9(0x1b2)]}:{'actionName':_0x4e3214[_0x3827a9(0x1b4)]||_0x4e3214['id'],'args':_0x4e3214[_0x3827a9(0x18e)]},_0x3ad995=this[_0x3827a9(0x1c0)](_0x4e3214);await _0x21272d[_0x3827a9(0x1a3)](_0x2c0f05,_0x3ad995,_0x4e3214[_0x3827a9(0x18d)]);}async[_0xc0380a(0x191)](_0x570f9b){const _0x1bdc45=_0xc0380a;console[_0x1bdc45(0x198)](_0x1bdc45(0x1b8),_0x570f9b);}}
|