@ckeditor/ckeditor5-ai 47.7.2-alpha.0 → 47.7.2
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/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/awstextadapter.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- 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/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/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.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/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/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.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/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/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/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/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.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/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.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/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/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/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/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29388a=_0x2f89;(function(_0x2b11c4,_0x3ba56d){const _0x23108a=_0x2f89,_0x12996e=_0x2b11c4();while(!![]){try{const _0x55a64f=parseInt(_0x23108a(0x175))/0x1+-parseInt(_0x23108a(0x185))/0x2*(-parseInt(_0x23108a(0x186))/0x3)+-parseInt(_0x23108a(0x19a))/0x4+parseInt(_0x23108a(0x19e))/0x5*(parseInt(_0x23108a(0x16f))/0x6)+parseInt(_0x23108a(0x194))/0x7*(parseInt(_0x23108a(0x18f))/0x8)+parseInt(_0x23108a(0x17f))/0x9*(parseInt(_0x23108a(0x18e))/0xa)+-parseInt(_0x23108a(0x183))/0xb*(parseInt(_0x23108a(0x17c))/0xc);if(_0x55a64f===_0x3ba56d)break;else _0x12996e['push'](_0x12996e['shift']());}catch(_0x1c76e3){_0x12996e['push'](_0x12996e['shift']());}}}(_0x28bc,0xee5bb));import{ButtonView as _0x3337a5,IconView as _0x7d30dd,ToolbarView as _0x33db5c}from'ckeditor5/src/ui.js';import{IconCheck as _0x9949af,IconCopy as _0x332129,IconShowChangesOff as _0x440d00,IconShowChangesOn as _0x192401,IconThumbDown as _0x35ca23,IconThumbUp as _0x2bfdc0}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x20316a}from'../../utils/common-translations.js';function _0x2f89(_0x321456,_0x4b9380){const _0x28bca1=_0x28bc();return _0x2f89=function(_0x2f8959,_0x52967c){_0x2f8959=_0x2f8959-0x168;let _0x35c86f=_0x28bca1[_0x2f8959];return _0x35c86f;},_0x2f89(_0x321456,_0x4b9380);}import'../../../../theme/aichat/aiminitoolbar.css';function _0x28bc(){const _0x43cdc0=['dislike','copyButton','length','160dOtldQ','728KYkrcv','class','like','showDislike','addMany','17059ruDeRH','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','locale','ck-ai-mini-toolbar-copy-button__check-mark','isEnabled','ck-ai-mini-toolbar\x20ck-hidden','5074144DxBkcQ','AI_MINI_TOOLBAR_COPY','toggleShowChanges','isShowChangesOn','7176815UbfjWK','bind','full','_setupCopyButton','ck-ai-mini-toolbar-copy-button','_setupShowChangesButton','items','customView','showCopy','6nAShhT','isOn','likeButton','extendTemplate','icon','fire','893820aBzAnC','ck-ai-button-tertiary','AI_SUGGESTION_BUTTON_SHOW_CHANGES','AI_MINI_TOOLBAR_DISLIKE','AI_MINI_TOOLBAR_LIKE','ck-ai-mini-toolbar','add','3156dTImZs','execute','showChanges','198342oOIepJ','toggleShowChangesEnabled','showChangesButton','showLike','34793brDEgS','dislikeButton','1852usjjVM','561bItBNC','set','children','_setupRatingButtons','_config'];_0x28bc=function(){return _0x43cdc0;};return _0x28bc();}export class AIMiniToolbarView extends _0x33db5c{[_0x29388a(0x18c)];[_0x29388a(0x171)];[_0x29388a(0x184)];[_0x29388a(0x181)];[_0x29388a(0x18a)];constructor(_0x315197,_0x528a83={}){const _0x4583ea=_0x29388a;super(_0x315197),this[_0x4583ea(0x187)](_0x4583ea(0x198),!0x0),this[_0x4583ea(0x187)](_0x4583ea(0x19d),!0x1),this[_0x4583ea(0x18a)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x528a83};const _0x163ff7=!(this[_0x4583ea(0x18a)][_0x4583ea(0x16e)]||this[_0x4583ea(0x18a)][_0x4583ea(0x17e)]||this[_0x4583ea(0x18a)][_0x4583ea(0x182)]||this[_0x4583ea(0x18a)][_0x4583ea(0x192)]||this[_0x4583ea(0x18a)][_0x4583ea(0x16d)]?.[_0x4583ea(0x18d)]);this[_0x4583ea(0x190)]=_0x163ff7?_0x4583ea(0x199):_0x4583ea(0x17a),this[_0x4583ea(0x18a)][_0x4583ea(0x16e)]&&(this[_0x4583ea(0x169)](),this[_0x4583ea(0x16c)][_0x4583ea(0x17b)](this[_0x4583ea(0x18c)])),this[_0x4583ea(0x18a)][_0x4583ea(0x17e)]&&(this[_0x4583ea(0x16b)](),this[_0x4583ea(0x16c)][_0x4583ea(0x17b)](this[_0x4583ea(0x181)])),this[_0x4583ea(0x189)](),this[_0x4583ea(0x18a)][_0x4583ea(0x182)]&&this[_0x4583ea(0x16c)][_0x4583ea(0x17b)](this[_0x4583ea(0x171)]),this[_0x4583ea(0x18a)][_0x4583ea(0x192)]&&this[_0x4583ea(0x16c)][_0x4583ea(0x17b)](this[_0x4583ea(0x184)]),this[_0x4583ea(0x18a)][_0x4583ea(0x16d)]&&this[_0x4583ea(0x16c)][_0x4583ea(0x193)](this[_0x4583ea(0x18a)][_0x4583ea(0x16d)]);}[_0x29388a(0x180)](_0x1b7e0c){const _0x358457=_0x29388a;this[_0x358457(0x181)][_0x358457(0x198)]=_0x1b7e0c;}[_0x29388a(0x189)](){const _0x7edfa5=_0x29388a;this[_0x7edfa5(0x171)]=new _0x3337a5(this[_0x7edfa5(0x196)]),this[_0x7edfa5(0x171)][_0x7edfa5(0x187)]({'icon':_0x2bfdc0,'label':_0x20316a(this[_0x7edfa5(0x196)],_0x7edfa5(0x179)),'tooltip':!0x0}),this[_0x7edfa5(0x171)][_0x7edfa5(0x19f)](_0x7edfa5(0x198))['to'](this),this[_0x7edfa5(0x171)]['on'](_0x7edfa5(0x17d),()=>{const _0x5c6439=_0x7edfa5;this[_0x5c6439(0x174)](_0x5c6439(0x191));}),this[_0x7edfa5(0x184)]=new _0x3337a5(this[_0x7edfa5(0x196)]),this[_0x7edfa5(0x184)][_0x7edfa5(0x187)]({'icon':_0x35ca23,'label':_0x20316a(this[_0x7edfa5(0x196)],_0x7edfa5(0x178)),'tooltip':!0x0}),this[_0x7edfa5(0x184)][_0x7edfa5(0x19f)](_0x7edfa5(0x198))['to'](this),this[_0x7edfa5(0x184)]['on'](_0x7edfa5(0x17d),()=>{const _0x9bda78=_0x7edfa5;this[_0x9bda78(0x174)](_0x9bda78(0x18b));});}[_0x29388a(0x169)](){const _0x25d143=_0x29388a;this[_0x25d143(0x18c)]=new _0x3337a5(this[_0x25d143(0x196)]),this[_0x25d143(0x18c)][_0x25d143(0x187)]({'icon':_0x332129,'label':_0x20316a(this[_0x25d143(0x196)],_0x25d143(0x19b)),'class':_0x25d143(0x16a),'tooltip':!0x0}),this[_0x25d143(0x18c)][_0x25d143(0x19f)](_0x25d143(0x198))['to'](this);const _0x5c5418=new _0x7d30dd();_0x5c5418[_0x25d143(0x187)]({'content':_0x9949af}),_0x5c5418[_0x25d143(0x172)]({'attributes':{'class':[_0x25d143(0x197)]}}),this[_0x25d143(0x18c)]['on'](_0x25d143(0x17d),()=>{const _0x23688d=_0x25d143;this[_0x23688d(0x18c)][_0x23688d(0x190)]=_0x23688d(0x195),setTimeout(()=>{const _0x53cd8f=_0x23688d;this[_0x53cd8f(0x18c)][_0x53cd8f(0x190)]=_0x53cd8f(0x16a);},0x7d0);}),this[_0x25d143(0x18c)][_0x25d143(0x188)][_0x25d143(0x17b)](_0x5c5418);}[_0x29388a(0x16b)](){const _0x14bf5b=_0x29388a;this[_0x14bf5b(0x181)]=new _0x3337a5(this[_0x14bf5b(0x196)]),this[_0x14bf5b(0x181)][_0x14bf5b(0x187)]({'icon':_0x440d00,'label':_0x20316a(this[_0x14bf5b(0x196)],_0x14bf5b(0x177)),'withText':_0x14bf5b(0x168)==this[_0x14bf5b(0x18a)][_0x14bf5b(0x17e)],'tooltip':_0x14bf5b(0x168)!=this[_0x14bf5b(0x18a)][_0x14bf5b(0x17e)],'class':_0x14bf5b(0x176)}),this[_0x14bf5b(0x181)][_0x14bf5b(0x19f)](_0x14bf5b(0x170))['to'](this,_0x14bf5b(0x19d)),this[_0x14bf5b(0x181)][_0x14bf5b(0x19f)](_0x14bf5b(0x198))['to'](this),this[_0x14bf5b(0x181)][_0x14bf5b(0x19f)](_0x14bf5b(0x173))['to'](this,_0x14bf5b(0x19d),_0x48a0af=>_0x48a0af?_0x192401:_0x440d00),this[_0x14bf5b(0x181)]['on'](_0x14bf5b(0x17d),()=>{const _0x44acfc=_0x14bf5b;this[_0x44acfc(0x174)](_0x44acfc(0x19c));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23142d=_0x4d3d;(function(_0x2b08f6,_0x242a7e){const _0x1a0b3c=_0x4d3d,_0x205875=_0x2b08f6();while(!![]){try{const _0x15812e=-parseInt(_0x1a0b3c(0x87))/0x1+-parseInt(_0x1a0b3c(0xa9))/0x2+parseInt(_0x1a0b3c(0x88))/0x3*(-parseInt(_0x1a0b3c(0xb9))/0x4)+parseInt(_0x1a0b3c(0x7d))/0x5+-parseInt(_0x1a0b3c(0x97))/0x6+parseInt(_0x1a0b3c(0xa4))/0x7*(-parseInt(_0x1a0b3c(0xa1))/0x8)+parseInt(_0x1a0b3c(0xb1))/0x9*(parseInt(_0x1a0b3c(0x9f))/0xa);if(_0x15812e===_0x242a7e)break;else _0x205875['push'](_0x205875['shift']());}catch(_0x24a47c){_0x205875['push'](_0x205875['shift']());}}}(_0x1d53,0x2b091));import{View as _0x3ca48a}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x4626c8}from'./aisuggestioncontentpartview.js';function _0x4d3d(_0x559097,_0x46a1e3){const _0x1d5306=_0x1d53();return _0x4d3d=function(_0x4d3d4d,_0x2bd99f){_0x4d3d4d=_0x4d3d4d-0x7d;let _0x31f265=_0x1d5306[_0x4d3d4d];return _0x31f265;},_0x4d3d(_0x559097,_0x46a1e3);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x37907c}from'../../utils/eventnames.js';function _0x1d53(){const _0x3c2517=['locale','addEventListener','isActive','delegate','enqueue','createCollection','updateSources','some','bodyCollection','_emptyPartsWarningView','82812nXEIrM','find','_switchButtonLabelsPlurality','partsCount','isTrackChangesOn','hasPendingParts','addSource','set','10gDnsLK','add','8ijZten','AI_SUGGESTION_NO_PARTS_WARNING','from','444472KKACTG','ck-ai-suggestion__body__content-parts','updatePartState','warning','_updateContentPartsPromiseQueue','578554CLTgwY','bind','partDefinition','index','setContent','isVisible','_children','ck-ai-suggestion__body','6886395wriWoe','isEnabled','_cachedContentParts','markAsDone','_availableActions','filter','_areActionsDisabled','pending','112DAzhUL','updateVisibility','setPartActive','updateContentParts','empty-parts-warning','areActionsDisabled','availableActions','setTemplate','_sourcesView','hasChanges','getPartView','818385IGRoHF','div','_actionsView','state','queueEmptyPromise','AI_SUGGESTION_EMPTY_PART_WARNING','updateContent','length','push','forEach','258136XUdwZj','13698IySpkU','abort','_showUnchangedParts','findIndex','hasNonEmptyParts'];_0x1d53=function(){return _0x3c2517;};return _0x1d53();}import{PromiseQueue as _0x46a451}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x2570d3}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x21e294}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0xfb128e}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0xe0fd5f}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x3ca48a{[_0x23142d(0x7f)];[_0x23142d(0xc1)];[_0x23142d(0xaf)];[_0x23142d(0xb7)];[_0x23142d(0x8a)];[_0x23142d(0xa8)];[_0x23142d(0x96)];[_0x23142d(0xb5)];[_0x23142d(0xb3)]=[];constructor(_0x3aacf8,_0x22b99a){const _0x5894e8=_0x23142d;super(_0x3aacf8);const {areActionsDisabled:_0x32e96d,showUnchangedParts:_0x4d4d5b,availableActions:_0x4d20b4}=_0x22b99a;this[_0x5894e8(0xb7)]=_0x32e96d,this[_0x5894e8(0x8a)]=_0x4d4d5b,this[_0x5894e8(0xb5)]=_0x4d20b4,this[_0x5894e8(0x9e)](_0x5894e8(0x9c),!0x1),this[_0x5894e8(0x9e)](_0x5894e8(0x9b),!0x1),this[_0x5894e8(0xaf)]=this[_0x5894e8(0x92)](),this[_0x5894e8(0xa8)]=new _0x46a451(),this[_0x5894e8(0x96)]=new _0x2570d3({'id':_0x5894e8(0xbd),'initialContent':_0x21e294(_0x3aacf8,_0x5894e8(0x82)),'level':_0x5894e8(0xa7)}),this[_0x5894e8(0x96)][_0x5894e8(0xae)]=!0x1,this[_0x5894e8(0x7f)]=new _0xfb128e(_0x3aacf8,_0x22b99a[_0x5894e8(0xbf)],this[_0x5894e8(0xb7)]),this[_0x5894e8(0x7f)][_0x5894e8(0xaa)](_0x5894e8(0x9b))['to'](this),this[_0x5894e8(0xc1)]=new _0xe0fd5f(this[_0x5894e8(0x8d)],_0x22b99a[_0x5894e8(0x95)]),_0x22b99a[_0x5894e8(0xbe)]?this[_0x5894e8(0x7f)][_0x5894e8(0xb2)]=!0x1:this[_0x5894e8(0x7f)][_0x5894e8(0xaa)](_0x5894e8(0xb2))['to'](this,_0x5894e8(0x9c)),this[_0x5894e8(0x7f)][_0x5894e8(0x90)](..._0x37907c)['to'](this),this[_0x5894e8(0xc0)]({'tag':_0x5894e8(0x7e),'attributes':{'class':['ck',_0x5894e8(0xb0)]},'children':[{'tag':_0x5894e8(0x7e),'attributes':{'class':['ck',_0x5894e8(0xa5)]},'children':this[_0x5894e8(0xaf)]},this[_0x5894e8(0x96)],this[_0x5894e8(0x7f)],this[_0x5894e8(0xc1)]]});}get[_0x23142d(0x9a)](){const _0x30a3e6=_0x23142d;return this[_0x30a3e6(0xaf)][_0x30a3e6(0x84)];}async[_0x23142d(0xbc)]({parts:_0x26f693,renderingStrategy:_0x4ddce5,abortSignal:_0x21628a}){const _0x30cb1b=_0x23142d;this[_0x30cb1b(0xaf)][_0x30cb1b(0x84)]?_0x26f693[_0x30cb1b(0x86)](_0x510154=>{const _0x2f65c2=_0x30cb1b,_0x115bd9=this[_0x2f65c2(0xb3)][_0x2f65c2(0x8b)](_0x1804f2=>_0x1804f2[_0x2f65c2(0xac)]==_0x510154[_0x2f65c2(0xac)]);-0x1===_0x115bd9?this[_0x2f65c2(0xb3)][_0x2f65c2(0x85)](_0x510154):this[_0x2f65c2(0xb3)][_0x115bd9]=_0x510154;}):this[_0x30cb1b(0xb3)]=_0x26f693;const _0x182ed2=this[_0x30cb1b(0x8a)]?_0x26f693:_0x26f693[_0x30cb1b(0xb6)](_0x446730=>_0x446730[_0x30cb1b(0xc2)]);this[_0x30cb1b(0x7f)][_0x30cb1b(0x99)](_0x182ed2[_0x30cb1b(0x84)]>0x1);for(const _0x1420ec of _0x182ed2)this[_0x30cb1b(0xa8)][_0x30cb1b(0x91)](async _0x435d98=>{const _0x51f3e5=_0x30cb1b;let _0x2217f3=this[_0x51f3e5(0xc3)](_0x1420ec[_0x51f3e5(0xac)]);_0x2217f3||(_0x2217f3=new _0x4626c8(this[_0x51f3e5(0x8d)],{'part':_0x1420ec,'uiIndex':this[_0x51f3e5(0xaf)][_0x51f3e5(0x84)]+0x1,'areActionsDisabled':this[_0x51f3e5(0xb7)],'availableActions':this[_0x51f3e5(0xb5)]}),_0x2217f3[_0x51f3e5(0x90)](..._0x37907c)['to'](this),this[_0x51f3e5(0xaf)][_0x51f3e5(0xa0)](_0x2217f3),this[_0x51f3e5(0x9c)]=!0x0),await _0x2217f3[_0x51f3e5(0x83)]({'part':_0x1420ec,'renderingStrategy':_0x4ddce5,'showUnchangedParts':this[_0x51f3e5(0x8a)],'abortSignal':_0x435d98}),_0x2217f3[_0x51f3e5(0xb4)]();});return _0x21628a?.[_0x30cb1b(0x8e)](_0x30cb1b(0x89),()=>{const _0x23a564=_0x30cb1b;this[_0x23a564(0xa8)][_0x23a564(0x89)]();}),this[_0x30cb1b(0xa8)][_0x30cb1b(0x81)];}[_0x23142d(0xa6)](_0x18a218,_0x1dbb74){const _0x43f68b=_0x23142d,_0x571528=this[_0x43f68b(0xc3)](_0x18a218);_0x571528&&(_0x571528[_0x43f68b(0x80)]=_0x1dbb74),this[_0x43f68b(0x9c)]=_0x43f68b(0xb8)==_0x1dbb74||Array[_0x43f68b(0xa3)](this[_0x43f68b(0xaf)])[_0x43f68b(0x94)](_0xd5f230=>_0x43f68b(0xb8)==_0xd5f230[_0x43f68b(0x80)]);}[_0x23142d(0xbb)](_0x5d490b,_0x23221e){const _0x4013aa=_0x23142d;if(!0x1===_0x5d490b){for(const _0xe57667 of this[_0x4013aa(0xaf)])_0xe57667[_0x4013aa(0x8f)]=!0x1;}else{const _0x301dfd=this[_0x4013aa(0xc3)](_0x5d490b);_0x301dfd&&(_0x301dfd[_0x4013aa(0x8f)]=_0x23221e);}}[_0x23142d(0x93)](_0x43574f){const _0x2006b5=_0x23142d;_0x43574f[_0x2006b5(0x86)](_0x16deb6=>this[_0x2006b5(0xc1)][_0x2006b5(0x9d)](_0x16deb6)),this[_0x2006b5(0xc1)][_0x2006b5(0xae)]=!0x0;}[_0x23142d(0xc3)](_0x548d46){const _0x2b1266=_0x23142d;return this[_0x2b1266(0xaf)][_0x2b1266(0x98)](_0x382fd7=>_0x382fd7[_0x2b1266(0xab)][_0x2b1266(0xac)]==_0x548d46)??null;}[_0x23142d(0xb4)](){const _0x4f558f=_0x23142d;if(!this[_0x4f558f(0x8a)]){const _0x364ebd=!this[_0x4f558f(0xb3)][_0x4f558f(0x98)](({hasChanges:_0x59601b})=>_0x59601b),_0x49025e=!!this[_0x4f558f(0xb3)][_0x4f558f(0x98)](({hasChanges:_0xbe84bb})=>!_0xbe84bb);this[_0x4f558f(0x96)][_0x4f558f(0xae)]=0x0==this[_0x4f558f(0xaf)][_0x4f558f(0x84)]||_0x49025e,_0x364ebd?this[_0x4f558f(0x96)][_0x4f558f(0xad)](_0x21e294(this[_0x4f558f(0x8d)],_0x4f558f(0xa2))):this[_0x4f558f(0x96)][_0x4f558f(0xad)](_0x21e294(this[_0x4f558f(0x8d)],_0x4f558f(0x82)));}this[_0x4f558f(0xaf)][_0x4f558f(0x86)](_0x122dcd=>_0x122dcd[_0x4f558f(0xb4)]()),this[_0x4f558f(0x7f)][_0x4f558f(0xba)](this[_0x4f558f(0x8c)]);}get[_0x23142d(0x8c)](){const _0x147ca1=_0x23142d;return this[_0x147ca1(0xaf)][_0x147ca1(0xb6)](_0x5d7a76=>_0x5d7a76[_0x147ca1(0xab)][_0x147ca1(0xc2)])[_0x147ca1(0x84)]>0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52f5ab=_0x4b60;(function(_0x23bb33,_0x454795){const _0x5cfa85=_0x4b60,_0x1aef43=_0x23bb33();while(!![]){try{const _0xa4f6eb=-parseInt(_0x5cfa85(0x1b1))/0x1*(-parseInt(_0x5cfa85(0x1d2))/0x2)+-parseInt(_0x5cfa85(0x1b3))/0x3*(-parseInt(_0x5cfa85(0x1c9))/0x4)+-parseInt(_0x5cfa85(0x1d3))/0x5*(parseInt(_0x5cfa85(0x1b2))/0x6)+-parseInt(_0x5cfa85(0x1bc))/0x7*(parseInt(_0x5cfa85(0x1b4))/0x8)+-parseInt(_0x5cfa85(0x1c3))/0x9*(parseInt(_0x5cfa85(0x1bb))/0xa)+parseInt(_0x5cfa85(0x1c5))/0xb+-parseInt(_0x5cfa85(0x1be))/0xc*(-parseInt(_0x5cfa85(0x1ba))/0xd);if(_0xa4f6eb===_0x454795)break;else _0x1aef43['push'](_0x1aef43['shift']());}catch(_0x302a94){_0x1aef43['push'](_0x1aef43['shift']());}}}(_0x547b,0xa980f));function _0x4b60(_0x5565f6,_0x92e144){const _0x547b20=_0x547b();return _0x4b60=function(_0x4b6096,_0x2fb6a1){_0x4b6096=_0x4b6096-0x1b1;let _0x4e2eca=_0x547b20[_0x4b6096];return _0x4e2eca;},_0x4b60(_0x5565f6,_0x92e144);}import{View as _0x5b7987}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x229fbe}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0xea5e3e}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x88b47}from'../../utils/eventnames.js';function _0x547b(){const _0x155b38=['isOn','updateContentParts','bind','ck-rounded-corners','2pTEwjj','68025mhkZXH','ck-ai-suggestion__container','children','981473sMyfuU','498LLvaci','2391kJUOGR','828680QYZfIk','delegate','set','fire','div','bodyView','1963pJtjYV','3649230movWQf','7LYKBwL','headerView','87540eTxeyo','toggleSuggestionDisplayMode','isShowChangesToggleVisible','toggleShowChanges','updateContent','9nIkDlB','hasNonEmptyParts','1886863neKZjV','add','createCollection','areChangesVisible','188NcCVEo','updateSources','markAsDone','isTrackChangesOn','setTemplate'];_0x547b=function(){return _0x155b38;};return _0x547b();}import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0x5b7987{[_0x52f5ab(0x1b9)];[_0x52f5ab(0x1d5)];[_0x52f5ab(0x1bd)];constructor(_0x163349,_0x59397b,_0x314ceb){const _0xfb13ee=_0x52f5ab;super(_0x163349);const {showDiff:_0x570d62,areActionsDisabled:_0x179cbe,showUnchangedParts:_0x406937,availableActions:_0x47f1b7}=_0x59397b;this[_0xfb13ee(0x1b6)](_0xfb13ee(0x1cc),!0x1),this[_0xfb13ee(0x1b6)](_0xfb13ee(0x1c8),!0x1),this[_0xfb13ee(0x1d5)]=this[_0xfb13ee(0x1c7)](),this[_0xfb13ee(0x1bd)]=new _0x229fbe(_0x163349,{'showDiff':_0x570d62}),this[_0xfb13ee(0x1bd)]['on'](_0xfb13ee(0x1c1),(_0x540a63,_0x387794)=>{const _0x10fa1f=_0xfb13ee;this[_0x10fa1f(0x1c8)]=_0x387794[_0x10fa1f(0x1ce)],this[_0x10fa1f(0x1b7)](_0x10fa1f(0x1bf),{'showDiff':_0x387794[_0x10fa1f(0x1ce)]});}),this[_0xfb13ee(0x1d5)][_0xfb13ee(0x1c6)](this[_0xfb13ee(0x1bd)]),this[_0xfb13ee(0x1b9)]=new _0xea5e3e(_0x163349,{'areActionsDisabled':_0x179cbe,'showUnchangedParts':!!_0x406937,'availableActions':_0x47f1b7,'bodyCollection':_0x314ceb}),this[_0xfb13ee(0x1b9)][_0xfb13ee(0x1b5)](..._0x88b47)['to'](this),this[_0xfb13ee(0x1b9)][_0xfb13ee(0x1d0)](_0xfb13ee(0x1cc))['to'](this),this[_0xfb13ee(0x1d5)][_0xfb13ee(0x1c6)](this[_0xfb13ee(0x1b9)]),this[_0xfb13ee(0x1cd)]({'tag':_0xfb13ee(0x1b8),'attributes':{'class':['ck',_0xfb13ee(0x1d4),_0xfb13ee(0x1d1)]},'children':this[_0xfb13ee(0x1d5)]});}async[_0x52f5ab(0x1c2)](_0x1da433){const _0x3924dd=_0x52f5ab;await this[_0x3924dd(0x1b9)][_0x3924dd(0x1cf)](_0x1da433);}[_0x52f5ab(0x1ca)](_0x218eda){const _0x503ec8=_0x52f5ab;this[_0x503ec8(0x1b9)][_0x503ec8(0x1ca)](_0x218eda);}[_0x52f5ab(0x1cb)](){const _0x44a282=_0x52f5ab;this[_0x44a282(0x1b9)][_0x44a282(0x1cb)](),this[_0x44a282(0x1bd)]&&(this[_0x44a282(0x1bd)][_0x44a282(0x1c0)]=this[_0x44a282(0x1b9)][_0x44a282(0x1c4)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1ed919=_0x58f9;(function(_0x52be79,_0x572af7){var _0x3bf2cc=_0x58f9,_0x4d397d=_0x52be79();while(!![]){try{var _0x57b31c=-parseInt(_0x3bf2cc(0x117))/0x1+-parseInt(_0x3bf2cc(0x12c))/0x2*(parseInt(_0x3bf2cc(0x114))/0x3)+-parseInt(_0x3bf2cc(0x12b))/0x4+-parseInt(_0x3bf2cc(0x10e))/0x5*(parseInt(_0x3bf2cc(0x11d))/0x6)+parseInt(_0x3bf2cc(0x119))/0x7+parseInt(_0x3bf2cc(0x129))/0x8*(parseInt(_0x3bf2cc(0x11f))/0x9)+parseInt(_0x3bf2cc(0x11c))/0xa*(parseInt(_0x3bf2cc(0x11a))/0xb);if(_0x57b31c===_0x572af7)break;else _0x4d397d['push'](_0x4d397d['shift']());}catch(_0x2c731f){_0x4d397d['push'](_0x4d397d['shift']());}}}(_0x1fd6,0xd7dad));import{View as _0x412287}from'ckeditor5/src/ui.js';import{getTranslation as _0x104eca}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x1101ab}from'./aisuggestioncontentpartstateview.js';function _0x58f9(_0x1e75e1,_0xad01fb){var _0x1fd68a=_0x1fd6();return _0x58f9=function(_0x58f94f,_0x16bdf6){_0x58f94f=_0x58f94f-0x10d;var _0x9c976a=_0x1fd68a[_0x58f94f];return _0x9c976a;},_0x58f9(_0x1e75e1,_0xad01fb);}import{AISuggestionContentPartToolbarView as _0x5d3498}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x412287{[_0x1ed919(0x11e)];[_0x1ed919(0x115)];[_0x1ed919(0x121)];[_0x1ed919(0x133)];constructor(_0x5f2506,{part:_0x1bce92,uiIndex:_0x283189,availableActions:_0x5e1db2,areActionsDisabled:_0x3635b4}){var _0x137022=_0x1ed919;super(_0x5f2506),this[_0x137022(0x118)](_0x137022(0x12f),!0x0),this[_0x137022(0x118)](_0x137022(0x128),_0x137022(0x11b)),this[_0x137022(0x11e)]=new _0x5d3498(_0x5f2506,_0x5e1db2,_0x3635b4),this[_0x137022(0x11e)]['on'](_0x137022(0x116),()=>{var _0x26e5f4=_0x137022;this[_0x26e5f4(0x10d)](_0x26e5f4(0x116),{'index':_0x1bce92[_0x26e5f4(0x113)]});}),this[_0x137022(0x11e)]['on'](_0x137022(0x124),()=>{var _0x3348f1=_0x137022;this[_0x3348f1(0x10d)](_0x3348f1(0x124),{'index':_0x1bce92[_0x3348f1(0x113)]});}),this[_0x137022(0x11e)]['on'](_0x137022(0x112),()=>{var _0xf2b541=_0x137022;this[_0xf2b541(0x10d)](_0xf2b541(0x112),{'index':_0x1bce92[_0xf2b541(0x113)]});}),this[_0x137022(0x11e)][_0x137022(0x131)](_0x137022(0x12f))['to'](this),this[_0x137022(0x115)]=new _0x1101ab(_0x5f2506),this[_0x137022(0x121)]=new AISuggestionBodyContentPartTitleLabelView(_0x5f2506,_0x283189),this[_0x137022(0x133)]=this[_0x137022(0x10f)](),this[_0x137022(0x133)][_0x137022(0x120)]([this[_0x137022(0x121)],this[_0x137022(0x11e)]]),this[_0x137022(0x130)]({'tag':_0x137022(0x122),'attributes':{'class':['ck',_0x137022(0x127),_0x137022(0x110)]},'children':this[_0x137022(0x133)]}),this['on'](_0x137022(0x12a),(_0x540d4b,_0x3a7388,_0x27a9ba,_0x6a7fa)=>{var _0x231dc9=_0x137022;_0x231dc9(0x11b)===_0x6a7fa?this[_0x231dc9(0x133)][_0x231dc9(0x12d)](this[_0x231dc9(0x11e)]):this[_0x231dc9(0x133)][_0x231dc9(0x12d)](this[_0x231dc9(0x115)]),_0x231dc9(0x11b)===_0x27a9ba?this[_0x231dc9(0x133)][_0x231dc9(0x132)](this[_0x231dc9(0x11e)]):(this[_0x231dc9(0x115)][_0x231dc9(0x126)](_0x27a9ba),this[_0x231dc9(0x133)][_0x231dc9(0x132)](this[_0x231dc9(0x115)]));});}}class AISuggestionBodyContentPartTitleLabelView extends _0x412287{constructor(_0xa97ccd,_0x2afa49){var _0x29838c=_0x1ed919;super(_0xa97ccd),this[_0x29838c(0x130)]({'tag':_0x29838c(0x12e),'attributes':{'class':['ck',_0x29838c(0x123)]},'children':[_0x104eca(_0xa97ccd,_0x29838c(0x125),_0x2afa49[_0x29838c(0x111)]())]});}}function _0x1fd6(){var _0x3e4d17=['toString','applySuggestion','index','417nEocfk','stateView','rejectSuggestion','1262943XuTqEd','set','1602783BVzweu','11ZdIvSR','pending','35791160QlXrGJ','364914puPGbE','toolbarView','909WbxPLS','addMany','titleLabelView','div','ck-ai-suggestion__body__content-part__title__label','insertSuggestion','AI_SUGGESTION_CONTENT_PART_TITLE','setState','ck-reset_all-excluded','state','26968fdqYJW','change:state','3024728RxXBam','10042olMAas','remove','span','isEnabled','setTemplate','bind','add','children','fire','45IvaFXr','createCollection','ck-ai-suggestion__body__content-part__title'];_0x1fd6=function(){return _0x3e4d17;};return _0x1fd6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3674dd=_0x90c2;(function(_0x2b0048,_0x4e9921){const _0x453743=_0x90c2,_0x43ee95=_0x2b0048();while(!![]){try{const _0x11c4cb=-parseInt(_0x453743(0xf0))/0x1+parseInt(_0x453743(0xdf))/0x2+-parseInt(_0x453743(0xe9))/0x3*(parseInt(_0x453743(0xe6))/0x4)+parseInt(_0x453743(0xe5))/0x5*(-parseInt(_0x453743(0xd4))/0x6)+parseInt(_0x453743(0xf1))/0x7+-parseInt(_0x453743(0xdd))/0x8+-parseInt(_0x453743(0xe3))/0x9*(-parseInt(_0x453743(0xd3))/0xa);if(_0x11c4cb===_0x4e9921)break;else _0x43ee95['push'](_0x43ee95['shift']());}catch(_0x1a972d){_0x43ee95['push'](_0x43ee95['shift']());}}}(_0x1138,0x30f6e));import{IconView as _0x42f566,View as _0x40dd4c}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x3f36d8,IconBoxWithCheck as _0x3d12eb}from'ckeditor5/src/icons.js';import{getTranslation as _0x34aafe}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x3d12eb,'rejected':_0x3f36d8,'outdated':_0x3f36d8};function _0x90c2(_0x23b168,_0x38ebe3){const _0x1138b2=_0x1138();return _0x90c2=function(_0x90c2ef,_0x24d284){_0x90c2ef=_0x90c2ef-0xd3;let _0x59fd58=_0x1138b2[_0x90c2ef];return _0x59fd58;},_0x90c2(_0x23b168,_0x38ebe3);}function _0x1138(){const _0x1ba622=['isVisible','9MphVFs','ck-hidden','20PLYdST','211672SbmMZW','setTemplate','rejected','18lfyIog','stateIconView','ck-ai-suggestion__content-part-state_','outdated','set','div','ck-ai-suggestion__content-part-state','388562MnrZFr','964040gbuWSx','bindTemplate','8784710FDOrpS','496146uBcOMc','setState','content','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','state','change:state','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','accepted','1295240SdnxZE','ck-ai-suggestion__content-part-state__label','766212ksQUkF','bind','span'];_0x1138=function(){return _0x1ba622;};return _0x1138();}export class AISuggestionContentPartStateView extends _0x40dd4c{[_0x3674dd(0xea)];constructor(_0x2c9a38){const _0x4c3b8e=_0x3674dd;super(_0x2c9a38);const _0x4e2ed4=this[_0x4c3b8e(0xf2)];this[_0x4c3b8e(0xed)](_0x4c3b8e(0xd8),_0x4c3b8e(0xdc)),this[_0x4c3b8e(0xed)](_0x4c3b8e(0xe2),!0x0),this[_0x4c3b8e(0xea)]=new StateIconView(),this[_0x4c3b8e(0xea)][_0x4c3b8e(0xe0)](_0x4c3b8e(0xd8))['to'](this),this[_0x4c3b8e(0xe7)]({'tag':_0x4c3b8e(0xee),'attributes':{'class':['ck',_0x4c3b8e(0xef),_0x4e2ed4['to'](_0x4c3b8e(0xd8),_0x42a40e=>_0x4c3b8e(0xeb)+_0x42a40e),_0x4e2ed4['if'](_0x4c3b8e(0xe2),_0x4c3b8e(0xe4),_0x68ae88=>!_0x68ae88)]},'children':[{'tag':_0x4c3b8e(0xe1),'attributes':{'class':[_0x4c3b8e(0xde)]},'children':[{'text':_0x4e2ed4['to'](_0x4c3b8e(0xd8),_0x2c181d=>{const _0x51b047=_0x4c3b8e;switch(_0x2c181d){case _0x51b047(0xdc):return _0x34aafe(_0x2c9a38,_0x51b047(0xdb));case _0x51b047(0xe8):return _0x34aafe(_0x2c9a38,_0x51b047(0xd7));case _0x51b047(0xec):return _0x34aafe(_0x2c9a38,_0x51b047(0xda));}})}]},this[_0x4c3b8e(0xea)]]});}[_0x3674dd(0xd5)](_0x543b3a){const _0xfc7e5f=_0x3674dd;this[_0xfc7e5f(0xd8)]=_0x543b3a;}}export class StateIconView extends _0x42f566{constructor(){const _0x4dd371=_0x3674dd;super(),this[_0x4dd371(0xed)](_0x4dd371(0xd8),_0x4dd371(0xdc)),this[_0x4dd371(0xd6)]=ICON_STATE_MAP[this[_0x4dd371(0xd8)]],this['on'](_0x4dd371(0xd9),()=>{const _0x21c944=_0x4dd371;this[_0x21c944(0xd6)]=ICON_STATE_MAP[this[_0x21c944(0xd8)]];});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2bf69b=_0x5799;(function(_0x2d8c0f,_0x2a7f80){const _0x51f41c=_0x5799,_0x1ae26e=_0x2d8c0f();while(!![]){try{const _0x1d02a1=parseInt(_0x51f41c(0x175))/0x1*(parseInt(_0x51f41c(0x188))/0x2)+parseInt(_0x51f41c(0x176))/0x3*(-parseInt(_0x51f41c(0x187))/0x4)+-parseInt(_0x51f41c(0x18a))/0x5*(parseInt(_0x51f41c(0x17c))/0x6)+parseInt(_0x51f41c(0x18b))/0x7+parseInt(_0x51f41c(0x171))/0x8*(parseInt(_0x51f41c(0x178))/0x9)+parseInt(_0x51f41c(0x191))/0xa+parseInt(_0x51f41c(0x18f))/0xb*(-parseInt(_0x51f41c(0x189))/0xc);if(_0x1d02a1===_0x2a7f80)break;else _0x1ae26e['push'](_0x1ae26e['shift']());}catch(_0x39acdb){_0x1ae26e['push'](_0x1ae26e['shift']());}}}(_0x269b,0x638bb));import{ButtonView as _0x4de861,ToolbarView as _0x448ddf}from'ckeditor5/src/ui.js';function _0x5799(_0x3e18cd,_0x59e1f7){const _0x269b69=_0x269b();return _0x5799=function(_0x5799e3,_0x5614cf){_0x5799e3=_0x5799e3-0x16e;let _0x49f412=_0x269b69[_0x5799e3];return _0x49f412;},_0x5799(_0x3e18cd,_0x59e1f7);}import{getTranslation as _0x47313c}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x34bf7c,IconBoxWithCheck as _0x2694ee,IconBoxWithMarker as _0x462c56,IconInfo as _0x5e0f99}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';function _0x269b(){const _0x20d252=['addMany','execute','36LOYkvc','items','extendTemplate','setButtonsVisibility','_applyButton','bindTemplate','isVisible','applySuggestion','class','ck-hidden','AI_SUGGESTION_CONTENT_PART_APPLY','3568dtJnSe','20044TyumFz','2076WZSxXI','388060xtLIIZ','3946817maALwg','_suggestButton','bind','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','20141mQZyXT','isEnabled','676580loRWKb','set','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','AI_SUGGESTION_CONTENT_PART_REJECT','fire','8qdhIkO','push','ck-ai-suggestion-content-part-toolbar','insertSuggestion','64meMxFA','561ASoRve','includes','756729ekGoOD','rejectSuggestion'];_0x269b=function(){return _0x20d252;};return _0x269b();}export class AISuggestionContentPartToolbarView extends _0x448ddf{[_0x2bf69b(0x180)];[_0x2bf69b(0x18c)];constructor(_0x1a43a8,_0x4a7b83,_0x3dbde9){const _0x1a3351=_0x2bf69b;super(_0x1a43a8);const _0x2b8df0=Boolean(_0x3dbde9);this[_0x1a3351(0x192)](_0x1a3351(0x190),!_0x2b8df0),this[_0x1a3351(0x192)](_0x1a3351(0x182),!0x0),this[_0x1a3351(0x184)]=_0x1a3351(0x173);const _0x51a70b=[];if(_0x2b8df0){const _0x182ce2=new _0x4de861(_0x1a43a8);_0x182ce2[_0x1a3351(0x192)]({'label':_0x47313c(_0x1a43a8,_0x1a3351(0x18e)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5e0f99}),_0x51a70b[_0x1a3351(0x172)](_0x182ce2);}else{_0x4a7b83[_0x1a3351(0x177)](_0x1a3351(0x183))&&(this[_0x1a3351(0x180)]=new _0x4de861(_0x1a43a8),this[_0x1a3351(0x180)][_0x1a3351(0x192)]({'label':_0x47313c(_0x1a43a8,_0x1a3351(0x186)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x2694ee}),this[_0x1a3351(0x180)][_0x1a3351(0x18d)](_0x1a3351(0x190))['to'](this),this[_0x1a3351(0x180)]['on'](_0x1a3351(0x17b),()=>{const _0x3a44fd=_0x1a3351;this[_0x3a44fd(0x170)](_0x3a44fd(0x183));}),_0x51a70b[_0x1a3351(0x172)](this[_0x1a3351(0x180)])),_0x4a7b83[_0x1a3351(0x177)](_0x1a3351(0x174))&&(this[_0x1a3351(0x18c)]=new _0x4de861(_0x1a43a8),this[_0x1a3351(0x18c)][_0x1a3351(0x192)]({'label':_0x47313c(_0x1a43a8,_0x1a3351(0x16e)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x462c56}),this[_0x1a3351(0x18c)][_0x1a3351(0x18d)](_0x1a3351(0x190))['to'](this),this[_0x1a3351(0x18c)]['on'](_0x1a3351(0x17b),()=>{const _0x51e59e=_0x1a3351;this[_0x51e59e(0x170)](_0x51e59e(0x174));}),_0x51a70b[_0x1a3351(0x172)](this[_0x1a3351(0x18c)]));const _0x44ccdf=new _0x4de861(_0x1a43a8);_0x44ccdf[_0x1a3351(0x192)]({'label':_0x47313c(_0x1a43a8,_0x1a3351(0x16f)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x34bf7c}),_0x44ccdf[_0x1a3351(0x18d)](_0x1a3351(0x190))['to'](this),_0x44ccdf['on'](_0x1a3351(0x17b),()=>{const _0x1fb722=_0x1a3351;this[_0x1fb722(0x170)](_0x1fb722(0x179));}),_0x51a70b[_0x1a3351(0x172)](_0x44ccdf);}this[_0x1a3351(0x17d)][_0x1a3351(0x17a)](_0x51a70b);const _0x54826e=this[_0x1a3351(0x181)];this[_0x1a3351(0x17e)]({'attributes':{'class':[_0x54826e['if'](_0x1a3351(0x182),_0x1a3351(0x185),_0x3d4f85=>!_0x3d4f85)]}});}[_0x2bf69b(0x17f)]({showApplyButton:_0x417e18,showSuggestButton:_0x4ae8a8}){const _0x235217=_0x2bf69b;this[_0x235217(0x180)]&&(this[_0x235217(0x180)][_0x235217(0x182)]=_0x417e18),this[_0x235217(0x18c)]&&(this[_0x235217(0x18c)][_0x235217(0x182)]=_0x4ae8a8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2b82(_0x79b0b3,_0x226ca8){const _0x35d093=_0x35d0();return _0x2b82=function(_0x2b8279,_0x4161a6){_0x2b8279=_0x2b8279-0xd8;let _0x4dcf97=_0x35d093[_0x2b8279];return _0x4dcf97;},_0x2b82(_0x79b0b3,_0x226ca8);}const _0x1c04e6=_0x2b82;function _0x35d0(){const _0xfb80e7=['delegate','ck-ai-suggestion__body__content-part_','element','ck-ai-suggestion__body__content-part_enabled','createCollection','index','showChangeInText','ck-hidden','ck-ai-suggestion__body__content-part_active','toolbarView','addMany','mouseLeaveSuggestion','setTemplate','ck-ai-suggestion__body__content-part','bindTemplate','21WauAVI','partDefinition','contains','_children','isDone','3161730DABOUU','7fHZLaO','isActive','change:isDone','div','fire','hasChanges','412982HGrowe','set','isVisible','markAsDone','mouseOverSuggestion','2751032PrDLuU','updateContent','bind','5111766nTiBjN','isEnabled','update','change:state','1257246cwRiOa','_headerView','2kQVrSX','3744135fSilxJ','target','pending','_streamableContentView','state','111092fQzFKO'];_0x35d0=function(){return _0xfb80e7;};return _0x35d0();}(function(_0x1644ac,_0x5da352){const _0x4513db=_0x2b82,_0xb5ebbe=_0x1644ac();while(!![]){try{const _0x35c1f4=parseInt(_0x4513db(0xe9))/0x1*(parseInt(_0x4513db(0xf7))/0x2)+parseInt(_0x4513db(0xdd))/0x3*(-parseInt(_0x4513db(0xfd))/0x4)+-parseInt(_0x4513db(0xf8))/0x5+parseInt(_0x4513db(0xf1))/0x6+parseInt(_0x4513db(0xe3))/0x7*(-parseInt(_0x4513db(0xee))/0x8)+parseInt(_0x4513db(0xf5))/0x9+parseInt(_0x4513db(0xe2))/0xa;if(_0x35c1f4===_0x5da352)break;else _0xb5ebbe['push'](_0xb5ebbe['shift']());}catch(_0x7710de){_0xb5ebbe['push'](_0xb5ebbe['shift']());}}}(_0x35d0,0x69e1d));import{View as _0x2ece16}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xf9d9ad}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x2d0ae1}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x906d5d}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0x2ece16{[_0x1c04e6(0xe0)];[_0x1c04e6(0xf6)];[_0x1c04e6(0xfb)];constructor(_0x10e0a7,{part:_0x270a8e,uiIndex:_0x3da7ec,areActionsDisabled:_0x186f96,availableActions:_0x3a0175}){const _0x1699ce=_0x1c04e6;super(_0x10e0a7);const _0x2e71e1=this[_0x1699ce(0xdc)];this[_0x1699ce(0xea)](_0x1699ce(0xfc),_0x1699ce(0xfa)),this[_0x1699ce(0xea)](_0x1699ce(0xe1),!0x1),this[_0x1699ce(0xea)](_0x1699ce(0xeb),!0x1),this[_0x1699ce(0xea)](_0x1699ce(0xe4),!0x1),this[_0x1699ce(0xea)](_0x1699ce(0xf2),!0x1);const _0x3925e0=()=>{const _0x18ef15=_0x1699ce;this[_0x18ef15(0xf2)]=this[_0x18ef15(0xe1)]&&_0x18ef15(0xfa)==this[_0x18ef15(0xfc)]&&!_0x186f96;};this['on'](_0x1699ce(0xf4),_0x3925e0),this['on'](_0x1699ce(0xe5),_0x3925e0),_0x3925e0(),this[_0x1699ce(0xe0)]=this[_0x1699ce(0x102)](),this[_0x1699ce(0xf6)]=new _0x2d0ae1(_0x10e0a7,{'part':_0x270a8e,'uiIndex':_0x3da7ec,'availableActions':_0x3a0175,'areActionsDisabled':_0x186f96}),this[_0x1699ce(0xf6)][_0x1699ce(0xf0)](_0x1699ce(0xf2),_0x1699ce(0xfc))['to'](this),this[_0x1699ce(0xf6)][_0x1699ce(0xfe)](..._0xf9d9ad)['to'](this),this[_0x1699ce(0xfb)]=new _0x906d5d(_0x10e0a7),this[_0x1699ce(0xe0)][_0x1699ce(0xd8)]([this[_0x1699ce(0xf6)],this[_0x1699ce(0xfb)]]),this[_0x1699ce(0xda)]({'tag':_0x1699ce(0xe6),'attributes':{'class':['ck',_0x1699ce(0xdb),_0x2e71e1['to'](_0x1699ce(0xfc),_0x3a3c3d=>_0x1699ce(0xff)+_0x3a3c3d),_0x2e71e1['if'](_0x1699ce(0xf2),_0x1699ce(0x101)),_0x2e71e1['if'](_0x1699ce(0xe4),_0x1699ce(0x106)),_0x2e71e1['if'](_0x1699ce(0xeb),_0x1699ce(0x105),_0x3e7834=>!_0x3e7834)]},'children':this[_0x1699ce(0xe0)],'on':{'mouseenter':_0x2e71e1['to'](()=>{const _0x3abd8f=_0x1699ce;this[_0x3abd8f(0xf2)]&&this[_0x3abd8f(0xe7)](_0x3abd8f(0xed),{'index':_0x270a8e[_0x3abd8f(0x103)]});}),'mouseleave':_0x2e71e1['to'](()=>{const _0x199d4d=_0x1699ce;this[_0x199d4d(0xf2)]&&this[_0x199d4d(0xe7)](_0x199d4d(0xd9),{'index':_0x270a8e[_0x199d4d(0x103)]});}),'click':_0x2e71e1['to'](_0xa38e9c=>{const _0x56fb1a=_0x1699ce,_0x3c3e50=_0xa38e9c[_0x56fb1a(0xf9)];this[_0x56fb1a(0xf2)]&&!this[_0x56fb1a(0xf6)][_0x56fb1a(0x107)][_0x56fb1a(0x100)][_0x56fb1a(0xdf)](_0x3c3e50)&&this[_0x56fb1a(0xe7)](_0x56fb1a(0x104),{'index':_0x270a8e[_0x56fb1a(0x103)]});})}});}async[_0x1c04e6(0xef)]({part:_0x618130,renderingStrategy:_0x2a84ee,showUnchangedParts:_0x3111ed=!0x1,abortSignal:_0x427511}){const _0x311f41=_0x1c04e6;this[_0x311f41(0xde)]=_0x618130,this[_0x311f41(0xeb)]=this[_0x311f41(0xde)][_0x311f41(0xe8)]||_0x3111ed,this[_0x311f41(0xeb)]&&await this[_0x311f41(0xfb)][_0x311f41(0xf3)]({'part':_0x618130,'renderingStrategy':_0x2a84ee,'abortSignal':_0x427511});}[_0x1c04e6(0xec)](){const _0x2d3947=_0x1c04e6;this[_0x2d3947(0xe1)]=!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51388c=_0x5c1e;(function(_0x16fe41,_0x5a6b2c){const _0x1db85a=_0x5c1e,_0x357b88=_0x16fe41();while(!![]){try{const _0x40afbe=parseInt(_0x1db85a(0x1b3))/0x1+-parseInt(_0x1db85a(0x1b8))/0x2*(-parseInt(_0x1db85a(0x1af))/0x3)+-parseInt(_0x1db85a(0x1c7))/0x4+-parseInt(_0x1db85a(0x1cd))/0x5*(-parseInt(_0x1db85a(0x1cf))/0x6)+parseInt(_0x1db85a(0x1c3))/0x7*(-parseInt(_0x1db85a(0x1ca))/0x8)+-parseInt(_0x1db85a(0x1b7))/0x9*(parseInt(_0x1db85a(0x1ba))/0xa)+parseInt(_0x1db85a(0x1d0))/0xb*(-parseInt(_0x1db85a(0x1c0))/0xc);if(_0x40afbe===_0x5a6b2c)break;else _0x357b88['push'](_0x357b88['shift']());}catch(_0x12d5cc){_0x357b88['push'](_0x357b88['shift']());}}}(_0x5ccc,0x3ddf1));function _0x5ccc(){const _0x3b60e7=['span','90EVeRMy','showHeader','ck-ai-suggestion__header','bind','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','children','372dGfasw','isOn','filter','7TCYiwV','execute','icon','render','1553840MeWtRs','setTemplate','set','182216HhfenR','content','iconView','20EsSMOC','remove','711828jPlpeX','23166ZyZkWA','div','fire','isShowChangesToggleVisible','showDiff','AI_SUGGESTION_BUTTON_SHOW_CHANGES','30mwxENF','add','ck-hidden','showChangesToggleView','501795BoQEXy','toggleShowChanges','AI_SUGGESTION_HEADER_TITLE','isVisible','370989MOBHJo','24918xBOpqz'];_0x5ccc=function(){return _0x3b60e7;};return _0x5ccc();}import{getTranslation as _0x109d76}from'../../utils/common-translations.js';import{ButtonView as _0x2ca912,IconView as _0x4acde5,View as _0x998003}from'ckeditor5/src/ui.js';import{IconDocument as _0x419b16,IconShowChangesOff as _0x22ec48,IconShowChangesOn as _0x2f0ae8}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x998003{[_0x51388c(0x1b2)];constructor(_0x564fa8,_0x4c528b){const _0x469f2f=_0x51388c;super(_0x564fa8),this[_0x469f2f(0x1c9)](_0x469f2f(0x1ac),!0x0),this[_0x469f2f(0x1b2)]=new ShowChangesToggleView(_0x564fa8),this[_0x469f2f(0x1b2)][_0x469f2f(0x1c9)]({'class':_0x469f2f(0x1be),'label':_0x109d76(_0x564fa8,_0x469f2f(0x1ae)),'withText':!0x0}),this[_0x469f2f(0x1b2)][_0x469f2f(0x1c1)]=_0x4c528b[_0x469f2f(0x1ad)],this[_0x469f2f(0x1b2)][_0x469f2f(0x1bd)](_0x469f2f(0x1b6))['to'](this,_0x469f2f(0x1ac)),this[_0x469f2f(0x1b2)][_0x469f2f(0x1bd)](_0x469f2f(0x1c5))['to'](this[_0x469f2f(0x1b2)],_0x469f2f(0x1c1),_0x2ccc35=>_0x2ccc35?_0x2f0ae8:_0x22ec48),this[_0x469f2f(0x1b2)]['on'](_0x469f2f(0x1c4),()=>{const _0x42c1ce=_0x469f2f;this[_0x42c1ce(0x1b2)][_0x42c1ce(0x1c1)]=!this[_0x42c1ce(0x1b2)][_0x42c1ce(0x1c1)],this[_0x42c1ce(0x1d2)](_0x42c1ce(0x1b4),{'isOn':this[_0x42c1ce(0x1b2)][_0x42c1ce(0x1c1)]});});const _0x5b28f6=new _0x4acde5();_0x5b28f6[_0x469f2f(0x1cb)]=_0x419b16,this[_0x469f2f(0x1c8)]({'tag':_0x469f2f(0x1d1),'attributes':{'class':['ck',_0x469f2f(0x1bc),!0x1===_0x4c528b[_0x469f2f(0x1bb)]?_0x469f2f(0x1b1):null][_0x469f2f(0x1c2)](Boolean)},'children':[_0x5b28f6,{'tag':_0x469f2f(0x1b9),'children':[_0x109d76(_0x564fa8,_0x469f2f(0x1b5))]},this[_0x469f2f(0x1b2)]]});}}function _0x5c1e(_0x2cb53f,_0x32c5f3){const _0x5ccc48=_0x5ccc();return _0x5c1e=function(_0x5c1e1e,_0x471378){_0x5c1e1e=_0x5c1e1e-0x1ac;let _0xdb54e3=_0x5ccc48[_0x5c1e1e];return _0xdb54e3;},_0x5c1e(_0x2cb53f,_0x32c5f3);}export class ShowChangesToggleView extends _0x2ca912{[_0x51388c(0x1c6)](){const _0x4c25a2=_0x51388c;super[_0x4c25a2(0x1c6)](),this[_0x4c25a2(0x1bf)][_0x4c25a2(0x1ce)](this[_0x4c25a2(0x1cc)]),this[_0x4c25a2(0x1bf)][_0x4c25a2(0x1b0)](this[_0x4c25a2(0x1cc)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xa9bb(_0x3c4f64,_0x1e78b7){const _0x209e0e=_0x209e();return _0xa9bb=function(_0xa9bbed,_0x12d978){_0xa9bbed=_0xa9bbed-0x105;let _0x53820e=_0x209e0e[_0xa9bbed];return _0x53820e;},_0xa9bb(_0x3c4f64,_0x1e78b7);}(function(_0x227c50,_0x2d8fe1){const _0xe06129=_0xa9bb,_0x34f5e8=_0x227c50();while(!![]){try{const _0x290a0d=-parseInt(_0xe06129(0x11a))/0x1*(-parseInt(_0xe06129(0x114))/0x2)+-parseInt(_0xe06129(0x115))/0x3+-parseInt(_0xe06129(0x10e))/0x4+-parseInt(_0xe06129(0x107))/0x5*(parseInt(_0xe06129(0x109))/0x6)+parseInt(_0xe06129(0x116))/0x7+-parseInt(_0xe06129(0x10f))/0x8*(-parseInt(_0xe06129(0x119))/0x9)+-parseInt(_0xe06129(0x10b))/0xa*(-parseInt(_0xe06129(0x10c))/0xb);if(_0x290a0d===_0x2d8fe1)break;else _0x34f5e8['push'](_0x34f5e8['shift']());}catch(_0xdb55e0){_0x34f5e8['push'](_0x34f5e8['shift']());}}}(_0x209e,0xdf3a8));import{View as _0x56872b}from'ckeditor5/src/ui.js';function _0x209e(){const _0x37fcd3=['71202IqMZTd','3282454EUjvAR','div','ck-ai-suggestion__loader','18ZaPdOo','4XULYwt','locale','ck-hidden','isVisible','1955515vCBGef','setTemplate','24GEpMnH','ck-ai-suggestion__loader-text','14026340HWgzSH','11BZWwcF','AI_CHAT_IS_WRITING','7112424RNRzjH','7182192prIUbP','span','bindTemplate','small','set','306746ZzLANq'];_0x209e=function(){return _0x37fcd3;};return _0x209e();}import{AISpinnerView as _0x3b8bb7}from'../aispinner.js';import{getTranslation as _0x2fdd83}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0x56872b{constructor(_0x46ff8b){const _0x2cb8cf=_0xa9bb;super(_0x46ff8b),this[_0x2cb8cf(0x113)](_0x2cb8cf(0x106),!0x0);const _0x8c4536=new _0x3b8bb7(_0x2cb8cf(0x112));_0x8c4536[_0x2cb8cf(0x106)]=!0x0;const _0x2cc081=new _0x56872b(this[_0x2cb8cf(0x11b)]);_0x2cc081[_0x2cb8cf(0x108)]({'tag':_0x2cb8cf(0x110),'attributes':{'class':['ck',_0x2cb8cf(0x10a)]},'children':[_0x2fdd83(this[_0x2cb8cf(0x11b)],_0x2cb8cf(0x10d))]}),this[_0x2cb8cf(0x108)]({'tag':_0x2cb8cf(0x117),'attributes':{'class':['ck',_0x2cb8cf(0x118),this[_0x2cb8cf(0x111)]['if'](_0x2cb8cf(0x106),_0x2cb8cf(0x105),_0x4fdf6c=>!_0x4fdf6c)]},'children':[_0x8c4536,_0x2cc081]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x11d8d8=_0x2dfb;(function(_0x4570e4,_0x4739da){var _0xfc6ee7=_0x2dfb,_0x3ee503=_0x4570e4();while(!![]){try{var _0x80bbbd=-parseInt(_0xfc6ee7(0xd8))/0x1*(parseInt(_0xfc6ee7(0xd3))/0x2)+-parseInt(_0xfc6ee7(0xc5))/0x3+-parseInt(_0xfc6ee7(0xd2))/0x4*(parseInt(_0xfc6ee7(0xdd))/0x5)+parseInt(_0xfc6ee7(0xc6))/0x6*(-parseInt(_0xfc6ee7(0xc7))/0x7)+parseInt(_0xfc6ee7(0xcd))/0x8*(parseInt(_0xfc6ee7(0xd5))/0x9)+parseInt(_0xfc6ee7(0xc9))/0xa*(-parseInt(_0xfc6ee7(0xd4))/0xb)+-parseInt(_0xfc6ee7(0xd9))/0xc*(-parseInt(_0xfc6ee7(0xd1))/0xd);if(_0x80bbbd===_0x4739da)break;else _0x3ee503['push'](_0x3ee503['shift']());}catch(_0xb3c45b){_0x3ee503['push'](_0x3ee503['shift']());}}}(_0x1f22,0xaf2d2));import{View as _0x4d63cb}from'ckeditor5/src/ui.js';function _0x1f22(){var _0x31ae14=['185ksbMxl','clear','stream','ck-reset_all-excluded','4041648ZinGpm','3786sdPvrD','4249tOagYE','htmlStreamer','74810PYTCWJ','element','ck-content','update','8zMeeQQ','ck-ai-suggestion-streamable-content','animation:\x20ck-html-streamer-fade-in\x20.5s','innerHTML','3809kJfqTE','18116cnaNcp','21478YxjiSO','165ckaQai','547659knDQBB','streaming','content','113MdoryH','158916WGyHQQ','reset','div','setTemplate'];_0x1f22=function(){return _0x31ae14;};return _0x1f22();}function _0x2dfb(_0x352d6c,_0x627a64){var _0x1f22ce=_0x1f22();return _0x2dfb=function(_0x2dfb8c,_0x188fa5){_0x2dfb8c=_0x2dfb8c-0xc3;var _0x3c7bcc=_0x1f22ce[_0x2dfb8c];return _0x3c7bcc;},_0x2dfb(_0x352d6c,_0x627a64);}import{HTMLStreamer as _0x1d3739}from'../../utils/htmlstreamer.js';import{serialize as _0x2b5c1b}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x4d63cb{[_0x11d8d8(0xc8)];constructor(_0x379c7e){var _0x597489=_0x11d8d8;super(_0x379c7e),this[_0x597489(0xc8)]=new _0x1d3739({'textNodeStyle':_0x597489(0xcf),'delay':0x14}),this[_0x597489(0xdc)]({'tag':_0x597489(0xdb),'attributes':{'class':['ck',_0x597489(0xcb),_0x597489(0xc4),_0x597489(0xce)]}});}async[_0x11d8d8(0xcc)]({part:_0x9c033,renderingStrategy:_0x18bfbc,abortSignal:_0x5b781c}){var _0x5ee461=_0x11d8d8;_0x5ee461(0xd6)===_0x18bfbc?await this[_0x5ee461(0xc8)][_0x5ee461(0xc3)]({'document':_0x9c033[_0x5ee461(0xd7)],'targetElement':this[_0x5ee461(0xca)],'abortSignal':_0x5b781c}):this[_0x5ee461(0xca)][_0x5ee461(0xd0)]=_0x2b5c1b(_0x9c033[_0x5ee461(0xd7)]);}[_0x11d8d8(0xde)](){var _0x523775=_0x11d8d8;this[_0x523775(0xc8)][_0x523775(0xda)](),this[_0x523775(0xca)][_0x523775(0xd0)]='';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f6d48=_0x3a22;(function(_0x1c4fd4,_0x3b563f){const _0x6696fc=_0x3a22,_0x1fec0c=_0x1c4fd4();while(!![]){try{const _0x413c4c=parseInt(_0x6696fc(0x107))/0x1+parseInt(_0x6696fc(0xd5))/0x2+-parseInt(_0x6696fc(0xce))/0x3*(-parseInt(_0x6696fc(0xf3))/0x4)+parseInt(_0x6696fc(0xd6))/0x5*(parseInt(_0x6696fc(0x108))/0x6)+-parseInt(_0x6696fc(0xcf))/0x7*(parseInt(_0x6696fc(0xd8))/0x8)+parseInt(_0x6696fc(0xcb))/0x9+-parseInt(_0x6696fc(0xe4))/0xa;if(_0x413c4c===_0x3b563f)break;else _0x1fec0c['push'](_0x1fec0c['shift']());}catch(_0x5b8fcb){_0x1fec0c['push'](_0x1fec0c['shift']());}}}(_0x4587,0xbc85e));import{View as _0x3e0b7f,ButtonView as _0x4f7602,IconView as _0x1835a4,BalloonPanelView as _0x847d3b}from'ckeditor5/src/ui.js';function _0x4587(){const _0x110ba8=['ck-ai-web-sources','7925823JfKuKo','createCollection','AI_CHAT_SOURCES_HEADER','2151JmLkvv','21uZjrqS','set','isVisible','span','ck-ai-web-source__tooltip-image','pin','443300PKesxD','5jvogOL','setTemplate','1726288NbamdJ','length','open','hide','show','ck-ai-web-source__tooltip-url','bodyCollection','_hideTooltip','northArrowSouth','ck-hidden','add','_updateTooltipContent','20471260wzdWAa','_showTooltip','balloonPanelView','favicon','_setupBalloonPanel','locale','hostname','addSource','_createTooltipContentView','...','defaultPositions','title','substring','icon','northArrowSouthWest','3560vpckvh','get','children','ck-ai-web-sources__header','.ck-ai-chat','push','northArrowSouthEast','clear','destroy','ck-ai-web-source__tooltip-balloon','div','ck-ai-web-source__tooltip-title','element','_blank','extendTemplate','querySelector','source','ck\x20ck-ai-web-source','content','bindTemplate','510436bqwbvd','7294866RLJNQE','url','img','ck-ai-web-source__image','ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip'];_0x4587=function(){return _0x110ba8;};return _0x4587();}import{IconWeb as _0x94bf9f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x357851}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x3e0b7f{[_0x2f6d48(0xf5)];[_0x2f6d48(0xe6)];[_0x2f6d48(0xde)];constructor(_0x432caf,_0x28d204){const _0x3e5f9a=_0x2f6d48;super(_0x432caf),this[_0x3e5f9a(0xde)]=_0x28d204,this[_0x3e5f9a(0xf5)]=this[_0x3e5f9a(0xcc)](),this[_0x3e5f9a(0xd0)](_0x3e5f9a(0xd1),!0x1),this[_0x3e5f9a(0xd7)]({'tag':_0x3e5f9a(0xfd),'attributes':{'class':['ck',_0x3e5f9a(0xca),this[_0x3e5f9a(0x106)]['if'](_0x3e5f9a(0xd1),_0x3e5f9a(0xe1),_0x2d9f09=>!_0x2d9f09)]},'children':this[_0x3e5f9a(0xf5)]});const _0x19f43d=new _0x3e0b7f(this[_0x3e5f9a(0xe9)]),_0x12a563=new _0x1835a4();_0x12a563[_0x3e5f9a(0x105)]=_0x94bf9f,_0x19f43d[_0x3e5f9a(0xd7)]({'tag':_0x3e5f9a(0xfd),'attributes':{'class':['ck',_0x3e5f9a(0xf6)]},'children':[_0x12a563,{'tag':_0x3e5f9a(0xd2),'children':[{'text':_0x357851(this[_0x3e5f9a(0xe9)],_0x3e5f9a(0xcd))}]}]}),this[_0x3e5f9a(0xf5)][_0x3e5f9a(0xe2)](_0x19f43d),this[_0x3e5f9a(0xe8)](_0x432caf);}[_0x2f6d48(0xeb)](_0x8f4f50){const _0x4af803=_0x2f6d48;this[_0x4af803(0xf5)][_0x4af803(0xe2)](new AIWebSourceView(this[_0x4af803(0xe9)],_0x8f4f50,this[_0x4af803(0xe6)]));}[_0x2f6d48(0xe8)](_0x2ff7db){const _0x408e4f=_0x2f6d48;this[_0x408e4f(0xe6)]=new _0x847d3b(_0x2ff7db),this[_0x408e4f(0xe6)][_0x408e4f(0x101)]({'attributes':{'class':[_0x408e4f(0xfc)]}}),this[_0x408e4f(0xde)][_0x408e4f(0xe2)](this[_0x408e4f(0xe6)]);}}function _0x3a22(_0x490494,_0x5d28f5){const _0x458779=_0x4587();return _0x3a22=function(_0x3a2271,_0x245673){_0x3a2271=_0x3a2271-0xc9;let _0x1c1486=_0x458779[_0x3a2271];return _0x1c1486;},_0x3a22(_0x490494,_0x5d28f5);}export class AIWebSourceView extends _0x4f7602{[_0x2f6d48(0xe6)];[_0x2f6d48(0x103)];constructor(_0x1d8354,_0x3ee8ff,_0x4d8cdd){const _0x26f499=_0x2f6d48;super(_0x1d8354),this[_0x26f499(0x103)]=_0x3ee8ff,this[_0x26f499(0xe6)]=_0x4d8cdd,this[_0x26f499(0xd0)]({'label':_0x3ee8ff[_0x26f499(0xef)],'class':[_0x26f499(0x104)],'withText':!0x0});const _0xc9480e=this[_0x26f499(0x106)];if(this[_0x26f499(0x101)]({'on':{'click':_0xc9480e['to'](()=>{const _0x3e2270=_0x26f499;window[_0x3e2270(0xda)](_0x3ee8ff[_0x3e2270(0x109)],_0x3e2270(0x100));}),'mouseenter':_0xc9480e['to'](()=>{const _0x2d0765=_0x26f499;this[_0x2d0765(0xe5)]();}),'mouseleave':_0xc9480e['to'](()=>{const _0x1db896=_0x26f499;this[_0x1db896(0xdf)]();})}}),_0x3ee8ff[_0x26f499(0xe7)]){const _0x15d75f=new _0x3e0b7f(_0x1d8354);_0x15d75f[_0x26f499(0xd7)]({'tag':_0x26f499(0x10a),'attributes':{'src':_0x3ee8ff[_0x26f499(0xe7)]||_0x94bf9f,'alt':_0x3ee8ff[_0x26f499(0xef)],'class':[_0x26f499(0x10b)]}}),this[_0x26f499(0xf5)][_0x26f499(0xe2)](_0x15d75f);}else this[_0x26f499(0xd0)](_0x26f499(0xf1),_0x94bf9f);}[_0x2f6d48(0xec)](_0x579b0a,_0x3f7071){const _0x3687d1=_0x2f6d48,_0x457ffd=new _0x3e0b7f(_0x579b0a),_0x1187f8=[];let _0x176968;_0x3f7071?.[_0x3687d1(0xe7)]?(_0x176968=new _0x3e0b7f(_0x579b0a),_0x176968[_0x3687d1(0xd7)]({'tag':_0x3687d1(0x10a),'attributes':{'src':_0x3f7071[_0x3687d1(0xe7)],'alt':_0x3f7071[_0x3687d1(0xef)],'class':[_0x3687d1(0xd3)]}})):(_0x176968=new _0x1835a4(),_0x176968[_0x3687d1(0x105)]=_0x94bf9f,_0x176968[_0x3687d1(0x101)]({'attributes':{'alt':_0x3f7071[_0x3687d1(0xef)],'class':[_0x3687d1(0xd3)]}})),_0x1187f8[_0x3687d1(0xf8)](_0x176968);const _0x3f18c6=new _0x3e0b7f(_0x579b0a);_0x3f18c6[_0x3687d1(0xd7)]({'tag':'a','attributes':{'class':[_0x3687d1(0xdd)],'href':_0x3f7071[_0x3687d1(0x109)]},'children':[{'text':new URL(_0x3f7071[_0x3687d1(0x109)])?.[_0x3687d1(0xea)]}]}),_0x1187f8[_0x3687d1(0xf8)](_0x3f18c6);const _0x2e18d8=new _0x3e0b7f(_0x579b0a);_0x2e18d8[_0x3687d1(0xd7)]({'tag':_0x3687d1(0xfd),'attributes':{'class':[_0x3687d1(0x10c)]},'children':_0x1187f8});const _0x432967=new _0x3e0b7f(_0x579b0a);return _0x432967[_0x3687d1(0xd7)]({'tag':_0x3687d1(0xd2),'attributes':{'class':[_0x3687d1(0x10c),_0x3687d1(0xfe)]},'children':[{'text':_0x3f7071[_0x3687d1(0xef)][_0x3687d1(0xd9)]>0x190?_0x3f7071[_0x3687d1(0xef)][_0x3687d1(0xf0)](0x0,0x190)+_0x3687d1(0xed):_0x3f7071[_0x3687d1(0xef)]}]}),_0x457ffd[_0x3687d1(0xd7)]({'tag':_0x3687d1(0xfd),'attributes':{'class':['ck',_0x3687d1(0xc9)]},'children':[_0x2e18d8,_0x432967]}),_0x457ffd;}[_0x2f6d48(0xe5)](){const _0x3d7445=_0x2f6d48;this[_0x3d7445(0xe3)](),this[_0x3d7445(0xe6)][_0x3d7445(0xd4)]({'target':this[_0x3d7445(0xff)],'positions':[_0x847d3b[_0x3d7445(0xee)][_0x3d7445(0xe0)],_0x847d3b[_0x3d7445(0xee)][_0x3d7445(0xf2)],_0x847d3b[_0x3d7445(0xee)][_0x3d7445(0xf9)]],'limiter':document[_0x3d7445(0x102)](_0x3d7445(0xf7))}),this[_0x3d7445(0xe6)][_0x3d7445(0xdc)]();}[_0x2f6d48(0xdf)](){const _0x5d31ff=_0x2f6d48;this[_0x5d31ff(0xe6)][_0x5d31ff(0xdb)]();}[_0x2f6d48(0xe3)](){const _0x53d3ca=_0x2f6d48;this[_0x53d3ca(0xe6)][_0x53d3ca(0x105)][_0x53d3ca(0xf4)](0x0)?.[_0x53d3ca(0xfb)](),this[_0x53d3ca(0xe6)][_0x53d3ca(0x105)][_0x53d3ca(0xfa)]();const _0x326e97=this[_0x53d3ca(0xec)](this[_0x53d3ca(0xe9)],this[_0x53d3ca(0x103)]);this[_0x53d3ca(0xe6)][_0x53d3ca(0x105)][_0x53d3ca(0xe2)](_0x326e97);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x509626=_0x41a2;(function(_0x3f6c58,_0x3d843f){const _0x9d03e9=_0x41a2,_0x316b4b=_0x3f6c58();while(!![]){try{const _0x4ee5f9=parseInt(_0x9d03e9(0x201))/0x1*(-parseInt(_0x9d03e9(0x202))/0x2)+-parseInt(_0x9d03e9(0x1e7))/0x3*(parseInt(_0x9d03e9(0x1ee))/0x4)+-parseInt(_0x9d03e9(0x1f3))/0x5+-parseInt(_0x9d03e9(0x1fd))/0x6+parseInt(_0x9d03e9(0x1e8))/0x7*(parseInt(_0x9d03e9(0x203))/0x8)+parseInt(_0x9d03e9(0x1f0))/0x9+-parseInt(_0x9d03e9(0x1f8))/0xa*(-parseInt(_0x9d03e9(0x1fb))/0xb);if(_0x4ee5f9===_0x3d843f)break;else _0x316b4b['push'](_0x316b4b['shift']());}catch(_0x5c6921){_0x316b4b['push'](_0x316b4b['shift']());}}}(_0x4579,0x90a3d));function _0x41a2(_0x4483a8,_0x2c6399){const _0x457932=_0x4579();return _0x41a2=function(_0x41a225,_0x3a4d8c){_0x41a225=_0x41a225-0x1e6;let _0x211308=_0x457932[_0x41a225];return _0x211308;},_0x41a2(_0x4483a8,_0x2c6399);}import{CKEditorError as _0x33f881,compareArrays as _0x1d86b6}from'ckeditor5/src/utils.js';import{getNodePath as _0x4b5aac,isText as _0x489da7,getChildren as _0x15a75f,isDocument as _0x39bc87,getParent as _0x306d31,textContent as _0x528a0e,hasChildren as _0x25ac58}from'./htmlparser.js';export class DocumentPosition{[_0x509626(0x1e6)];[_0x509626(0x1f2)];[_0x509626(0x1ff)];constructor(_0x12e097,_0x349e0d,_0x1c8a57){const _0xbf4f30=_0x509626;if(_0x489da7(_0x349e0d)&&_0x1c8a57>_0x349e0d[_0xbf4f30(0x1f1)][_0xbf4f30(0x1ea)])throw new _0x33f881(_0xbf4f30(0x1fe),null,{'index':_0x1c8a57,'parent':_0x349e0d});if(_0x25ac58(_0x349e0d)&&_0x1c8a57>_0x15a75f(_0x349e0d)[_0xbf4f30(0x1ea)])throw new _0x33f881(_0xbf4f30(0x1fe),null,{'index':_0x1c8a57,'parent':_0x349e0d});if(_0x1c8a57<0x0)throw new _0x33f881(_0xbf4f30(0x1fe),null,{'index':_0x1c8a57,'parent':_0x349e0d});this[_0xbf4f30(0x1e6)]=_0x349e0d,this[_0xbf4f30(0x1f2)]=_0x1c8a57,this[_0xbf4f30(0x1ff)]=_0x12e097;}get[_0x509626(0x1f6)](){const _0x45750b=_0x509626;return[..._0x4b5aac(this[_0x45750b(0x1e6)]),this[_0x45750b(0x1f2)]];}[_0x509626(0x1f4)](_0x211f68){const _0x310fc7=_0x509626;return this[_0x310fc7(0x1ff)]==_0x211f68[_0x310fc7(0x1ff)]&&_0x310fc7(0x1f7)===_0x1d86b6(this[_0x310fc7(0x1f6)],_0x211f68[_0x310fc7(0x1f6)]);}get[_0x509626(0x1e9)](){const _0x490a91=_0x509626;if(_0x25ac58(this[_0x490a91(0x1e6)])){const _0x4b4cb9=_0x15a75f(this[_0x490a91(0x1e6)])[this[_0x490a91(0x1f2)]];if(_0x4b4cb9)return _0x4b4cb9;{const _0x348a2e=DocumentPosition[_0x490a91(0x205)](this[_0x490a91(0x1ff)],this[_0x490a91(0x1e6)]);if(_0x348a2e)return _0x348a2e[_0x490a91(0x1e9)];}}return null;}get[_0x509626(0x206)](){const _0x350018=_0x509626;if(_0x25ac58(this[_0x350018(0x1e6)])){const _0x49b102=_0x15a75f(this[_0x350018(0x1e6)])[this[_0x350018(0x1f2)]-0x1];if(_0x49b102)return _0x49b102;{const _0x18378e=DocumentPosition[_0x350018(0x1fc)](this[_0x350018(0x1ff)],this[_0x350018(0x1e6)]);if(_0x18378e)return _0x18378e[_0x350018(0x206)];}}return null;}[_0x509626(0x204)](_0x337193=_0x509626(0x1f5)){const _0x58b10b=_0x509626;if(!_0x489da7(this[_0x58b10b(0x1e6)]))return this;const _0x55d551=this[_0x58b10b(0x1f6)][this[_0x58b10b(0x1f6)][_0x58b10b(0x1ea)]-0x1],_0x55e1b7=_0x528a0e(this[_0x58b10b(0x1e6)])[_0x58b10b(0x207)](/(?:\s*\S+\s*)/g);let _0x528c04=0x0,_0x157870=_0x55d551;for(const _0x1d115e of _0x55e1b7){if(_0x528c04+_0x1d115e[_0x58b10b(0x1ea)]===_0x55d551)return this;if(_0x528c04+_0x1d115e[_0x58b10b(0x1ea)]>_0x55d551){_0x157870=_0x58b10b(0x1f5)===_0x337193?_0x528c04:_0x528c04+_0x1d115e[_0x58b10b(0x1ea)];break;}_0x528c04+=_0x1d115e[_0x58b10b(0x1ea)];}return DocumentPosition[_0x58b10b(0x1f9)](this[_0x58b10b(0x1ff)],this[_0x58b10b(0x1e6)],_0x157870);}static[_0x509626(0x205)](_0x458b5e,_0x4b2a98){const _0x187e9d=_0x509626;if(_0x39bc87(_0x4b2a98))return null;const _0x4e5619=_0x306d31(_0x4b2a98);return DocumentPosition[_0x187e9d(0x1f9)](_0x458b5e,_0x4e5619,_0x15a75f(_0x4e5619)[_0x187e9d(0x1ef)](_0x4b2a98)+0x1);}static[_0x509626(0x1fc)](_0x593e78,_0x10b663){const _0x51a163=_0x509626;if(_0x39bc87(_0x10b663))return null;const _0x366774=_0x306d31(_0x10b663);return DocumentPosition[_0x51a163(0x1f9)](_0x593e78,_0x366774,_0x15a75f(_0x366774)[_0x51a163(0x1ef)](_0x10b663));}static[_0x509626(0x1f9)](_0x4e4aa7,_0x33577c,_0x125d4c=_0x509626(0x1f5)){const _0xcd11e=_0x509626;return new DocumentPosition(_0x4e4aa7,_0x33577c,_0xcd11e(0x1f5)===_0x125d4c?0x0:_0xcd11e(0x1fa)===_0x125d4c?_0x489da7(_0x33577c)?_0x33577c[_0xcd11e(0x1f1)][_0xcd11e(0x1ea)]:_0x15a75f(_0x33577c)[_0xcd11e(0x1ea)]:_0x125d4c);}static[_0x509626(0x1eb)](_0x3a214a,_0x55d87f){const _0xc8c51f=_0x509626;if(!_0x55d87f[_0xc8c51f(0x1ea)])throw new _0x33f881(_0xc8c51f(0x1ed),null,{'path':_0x55d87f});const _0x1abca6=_0x55d87f[_0xc8c51f(0x200)](0x0,-0x1)[_0xc8c51f(0x1ec)]((_0x292cb0,_0x21d1de)=>_0x489da7(_0x292cb0)?_0x292cb0:_0x15a75f(_0x292cb0)[_0x21d1de],_0x3a214a);return DocumentPosition[_0xc8c51f(0x1f9)](_0x3a214a,_0x1abca6,_0x55d87f[_0x55d87f[_0xc8c51f(0x1ea)]-0x1]);}}function _0x4579(){const _0xbdf934=['start','path','same','160930sAMoRE','createAt','end','946HQdVUB','createBefore','1209720IzdbuR','ai-documentposition-index-out-of-bounds','document','slice','1kEmrUf','1225260aCyywZ','6705960izwPOl','getNudgedToWordBoundary','createAfter','previousNode','match','parent','1532814ZOZirJ','7PVlHzC','nextNode','length','createFromPath','reduce','ai-documentposition-createfrompath-path-cannot-be-empty','4woyEay','indexOf','901656tGxRvy','data','index','2023970NCpMJy','isEqual'];_0x4579=function(){return _0xbdf934;};return _0x4579();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ef2d2=_0x8c39;function _0x8c39(_0x41f825,_0x146893){const _0x2a3a11=_0x2a3a();return _0x8c39=function(_0x8c3937,_0x51b0db){_0x8c3937=_0x8c3937-0x1e6;let _0x4a5b9b=_0x2a3a11[_0x8c3937];return _0x4a5b9b;},_0x8c39(_0x41f825,_0x146893);}(function(_0x166c38,_0x4680ef){const _0x44c7c6=_0x8c39,_0x34ed23=_0x166c38();while(!![]){try{const _0x464a24=parseInt(_0x44c7c6(0x1f6))/0x1*(-parseInt(_0x44c7c6(0x1fa))/0x2)+-parseInt(_0x44c7c6(0x1ff))/0x3*(parseInt(_0x44c7c6(0x1f1))/0x4)+-parseInt(_0x44c7c6(0x203))/0x5*(parseInt(_0x44c7c6(0x1fb))/0x6)+-parseInt(_0x44c7c6(0x200))/0x7+-parseInt(_0x44c7c6(0x201))/0x8+parseInt(_0x44c7c6(0x1ed))/0x9+parseInt(_0x44c7c6(0x1e7))/0xa*(parseInt(_0x44c7c6(0x206))/0xb);if(_0x464a24===_0x4680ef)break;else _0x34ed23['push'](_0x34ed23['shift']());}catch(_0x401c18){_0x34ed23['push'](_0x34ed23['shift']());}}}(_0x2a3a,0x360ef));import{DocumentPosition as _0x1bcbf6}from'./documentposition.js';import{clone as _0x5a53df,getParents as _0x5aaf7f,Document as _0x4ba51f,Text as _0x2e32f1,isTag as _0x1a635a,isText as _0x1ac45a,replaceElement as _0x2fffaa,removeElement as _0x443df1}from'./htmlparser.js';export class DocumentRange{[_0x3ef2d2(0x1fe)];[_0x3ef2d2(0x1fd)];constructor(_0x5d7ef6,_0x528643){const _0x110d1a=_0x3ef2d2;this[_0x110d1a(0x1fe)]=_0x5d7ef6,this[_0x110d1a(0x1fd)]=_0x528643;}[_0x3ef2d2(0x202)](_0x2f9c55){const _0x41d41e=_0x3ef2d2;return this==_0x2f9c55||this[_0x41d41e(0x1fe)][_0x41d41e(0x202)](_0x2f9c55[_0x41d41e(0x1fe)])&&this[_0x41d41e(0x1fd)][_0x41d41e(0x202)](_0x2f9c55[_0x41d41e(0x1fd)]);}[_0x3ef2d2(0x205)](){const _0x50c211=_0x3ef2d2;return new DocumentRange(this[_0x50c211(0x1fe)][_0x50c211(0x205)](_0x50c211(0x1fe)),this[_0x50c211(0x1fd)][_0x50c211(0x205)](_0x50c211(0x1fd)));}[_0x3ef2d2(0x207)](){const _0x193e38=_0x3ef2d2,_0xf2fe66=_0x5a53df(this[_0x193e38(0x1fe)][_0x193e38(0x1fc)]),_0x2fd8da=_0x1bcbf6[_0x193e38(0x1e9)](_0xf2fe66,this[_0x193e38(0x1fe)][_0x193e38(0x1f3)]),_0x216b88=_0x1bcbf6[_0x193e38(0x1e9)](_0xf2fe66,this[_0x193e38(0x1fd)][_0x193e38(0x1f3)]);let _0x1e1000,_0x3c7e29;if(_0x1ac45a(_0x2fd8da[_0x193e38(0x1f9)])){const _0xbec130=_0x2fd8da[_0x193e38(0x1f3)][_0x2fd8da[_0x193e38(0x1f3)][_0x193e38(0x1eb)]-0x1],_0x348062=new _0x2e32f1(_0x2fd8da[_0x193e38(0x1f9)][_0x193e38(0x1f0)][_0x193e38(0x204)](_0xbec130));_0x2fffaa(_0x2fd8da[_0x193e38(0x1f9)],_0x348062),_0x1e1000=_0x348062;}else _0x1e1000=_0x2fd8da[_0x193e38(0x1ea)];if(_0x1ac45a(_0x216b88[_0x193e38(0x1f9)])){const _0x5cfe26=_0x216b88[_0x193e38(0x1f3)][_0x216b88[_0x193e38(0x1f3)][_0x193e38(0x1eb)]-0x1],_0x488655=new _0x2e32f1(_0x216b88[_0x193e38(0x1f9)][_0x193e38(0x1f0)][_0x193e38(0x204)](0x0,_0x5cfe26));_0x2fffaa(_0x216b88[_0x193e38(0x1f9)],_0x488655),_0x3c7e29=_0x488655;}else _0x3c7e29=_0x216b88[_0x193e38(0x1f2)];if(!(_0x1e1000&&_0x3c7e29&&_0xf2fe66[_0x193e38(0x1e6)]&&_0xf2fe66[_0x193e38(0x1f7)]))return new _0x4ba51f([]);const _0x1c767a=_0x5aaf7f(_0x1e1000),_0x119ed9=_0x5aaf7f(_0x3c7e29),_0x5d2b9b=[],_0x28c6ac=[];let _0x7a3879=_0xf2fe66[_0x193e38(0x1e6)];for(;_0x7a3879&&_0x7a3879!==_0x1e1000;){let _0x4a843c;_0x1c767a[_0x193e38(0x1ee)](_0x7a3879)||_0x5d2b9b[_0x193e38(0x1e8)](_0x7a3879),_0x4a843c=_0x1a635a(_0x7a3879)?_0x1bcbf6[_0x193e38(0x1ec)](_0xf2fe66,_0x7a3879,_0x193e38(0x1fe)):_0x1bcbf6[_0x193e38(0x1f8)](_0xf2fe66,_0x7a3879),_0x7a3879=_0x4a843c?_0x4a843c[_0x193e38(0x1ea)]:null;}for(_0x7a3879=_0xf2fe66[_0x193e38(0x1f7)];_0x7a3879&&_0x7a3879!==_0x3c7e29;){let _0x2fd78d;_0x119ed9[_0x193e38(0x1ee)](_0x7a3879)||_0x28c6ac[_0x193e38(0x1e8)](_0x7a3879),_0x2fd78d=_0x1a635a(_0x7a3879)?_0x1bcbf6[_0x193e38(0x1ec)](_0xf2fe66,_0x7a3879,_0x193e38(0x1fd)):_0x1bcbf6[_0x193e38(0x1f5)](_0xf2fe66,_0x7a3879),_0x7a3879=_0x2fd78d?_0x2fd78d[_0x193e38(0x1f2)]:null;}return _0x5d2b9b[_0x193e38(0x1ef)](_0x314f27=>{_0x443df1(_0x314f27);}),_0x28c6ac[_0x193e38(0x1f4)]()[_0x193e38(0x1ef)](_0x21b88a=>{_0x443df1(_0x21b88a);}),_0xf2fe66;}}function _0x2a3a(){const _0x22ecb9=['createAfter','parent','474xzcRjT','6uqKFoK','document','end','start','39cpXVJS','462966JLZjEt','2876592IGwHKs','isEqual','308525xRIjpG','slice','getNudgedToWordBoundary','22yqZToo','getContent','firstChild','4295890HdOoCZ','push','createFromPath','nextNode','length','createAt','2208645SqRqLK','includes','forEach','data','69700ZPYjPw','previousNode','path','reverse','createBefore','714nhlPsh','lastChild'];_0x2a3a=function(){return _0x22ecb9;};return _0x2a3a();}
|