@ckeditor/ckeditor5-ai 47.6.2-alpha.0 → 47.6.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.
Files changed (102) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  5. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  6. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  7. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  8. package/src/aiassistant/aiassistantediting.js +1 -1
  9. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  10. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  11. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  12. package/src/aiassistant/ui/form/aiformview.js +1 -1
  13. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  14. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  15. package/src/aichat/model/aichatcontext.js +1 -1
  16. package/src/aichat/model/aichatconversation.js +1 -1
  17. package/src/aichat/model/aichatinteraction.js +1 -1
  18. package/src/aichat/ui/aichatfeedview.js +1 -1
  19. package/src/aichat/ui/aichatheaderview.js +1 -1
  20. package/src/aichat/ui/aichatview.js +1 -1
  21. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  22. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  23. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  24. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  25. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  26. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  27. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  28. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  29. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  30. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  31. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  32. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  33. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  34. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  35. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  36. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  37. package/src/aichat/utils/promisequeue.js +1 -1
  38. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  39. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  40. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  41. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  42. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  43. package/src/aicore/model/aicapabilities.js +1 -1
  44. package/src/aicore/model/aiinteraction.js +1 -1
  45. package/src/aicore/model/aimodels.js +1 -1
  46. package/src/aicore/model/aireply.js +1 -1
  47. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  48. package/src/aicore/pipeline/airesponseparser.js +2 -2
  49. package/src/aicore/ui/aiskeleton.js +1 -1
  50. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  51. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  52. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  53. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  54. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  55. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  56. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  57. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  58. package/src/aicore/utils/documentrange.js +1 -1
  59. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  60. package/src/aicore/utils/htmlparser.js +1 -1
  61. package/src/aicore/utils/htmlstreamer.js +1 -1
  62. package/src/aicore/utils/scrollmanager.js +1 -1
  63. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  64. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  65. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  66. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  67. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  68. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  69. package/src/aireviewcore/aireviewcoreui.js +1 -1
  70. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  71. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  72. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  73. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  74. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  75. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  76. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  77. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  78. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  79. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  80. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  81. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  82. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  83. package/src/aireviewmode/aireviewmode.js +1 -1
  84. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  85. package/src/aireviewmode/aireviewmodeui.js +1 -1
  86. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  87. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  88. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  89. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  90. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  91. package/src/aitabs/aitabs.js +1 -1
  92. package/src/aitabs/tabs/aitabsview.js +1 -1
  93. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  94. package/src/aitabs/tabs/tabpanelview.js +1 -1
  95. package/src/aitranslate/aitranslate.js +1 -1
  96. package/src/aitranslate/aitranslatecontroller.js +1 -1
  97. package/src/aitranslate/aitranslateui.js +1 -1
  98. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  99. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  100. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  101. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  102. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27590d=_0x3f57;(function(_0x1a6d8e,_0x3373c5){const _0x1746ae=_0x3f57,_0x2564e6=_0x1a6d8e();while(!![]){try{const _0x9a2126=parseInt(_0x1746ae(0xc5))/0x1*(-parseInt(_0x1746ae(0xfe))/0x2)+-parseInt(_0x1746ae(0xb7))/0x3*(-parseInt(_0x1746ae(0xdb))/0x4)+-parseInt(_0x1746ae(0xba))/0x5+parseInt(_0x1746ae(0xc6))/0x6+parseInt(_0x1746ae(0xf3))/0x7*(-parseInt(_0x1746ae(0xb3))/0x8)+parseInt(_0x1746ae(0xe9))/0x9*(parseInt(_0x1746ae(0xdd))/0xa)+-parseInt(_0x1746ae(0xad))/0xb;if(_0x9a2126===_0x3373c5)break;else _0x2564e6['push'](_0x2564e6['shift']());}catch(_0x46f9d5){_0x2564e6['push'](_0x2564e6['shift']());}}}(_0x1e76,0x6aad1));import{View as _0x42bcfc,SearchTextView as _0x5af3f3,FormHeaderView as _0xc11fe1,ButtonView as _0x2b9e18}from'ckeditor5/src/ui.js';function _0x1e76(){const _0x315d7a=['locale','change:hasItems','aiHistory','_createErrorView','ck-ai-notification','4zdmGMo','openChat','length','itemsViews','push','ck-ai-chat-history__empty','bind','_refreshSearch','resizeButton','div','updateLoadingState','some','hasItems','4080604vYoiOQ','AI_CHAT_HISTORY_SEARCH_LABEL','ck-ai-header\x20ck-ai-header_history','items','bindTemplate','render','775736vlpkuR','add','ck-ai-chat-history__content','AI_CHAT_LABEL_NEW_CHAT','3gaOxzR','ck-ai-chat-history','ck-ai-chat__start-conversation','1953030nnTMYr','AI_CHAT_HISTORY_EMPTY_MESSAGE','errorMessage','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','set','_createSkeletonView','search','ck-reset_all','_createListItemViews','updateTitle','mainErrorView','103403dtaBIF','3540312vOefQk','children','change:isLoading','addMany','updateHistoryItemsWithCategories','sections','ck-rounded-corners','setTemplate','fire','change:errorMessage','updateItemTitle','getItem','ck-ai-notification_error__dismiss-button','title','extendTemplate','searchView','isMaximized','ck-ai-notification_error','isEmptyViewVisible','ltr','isMainErrorViewVisible','2085368dzOzXG','removeHistoryItem','7787620paSMQz','queryView','emptyView','sectionsView','element','delegate','clear','ck-hidden','remove','removeItem','_createEmptyStateView','skeletonView','9LlmTTw','updateItemLoadingState','ck-ai-chat-history__empty-message','indexOf','_createSearchView','isVisible','splice','isSearchViewVisible','execute','value','35oxqhNS','_updateViewVisibility','fieldView','isLoading','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','AI_CHAT_HISTORY_HEADING'];_0x1e76=function(){return _0x315d7a;};return _0x1e76();}import{IconAIHistory as _0x2f1dd2,IconCancel as _0x4a93c5,IconPlus as _0x2959d0}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x522215}from'./aichathistorysectionlistview.js';import{AIChatHistoryListView as _0x5d8df}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x2f88ff}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x5610e9}from'../aichathistoryui.js';import{AISkeletonView as _0xa2bfd9,SKELETON_DEFINITIONS as _0x1e48f8}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x3eb38f}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x49651a}from'../../aicore/utils/common-translations.js';function _0x3f57(_0x37dab5,_0x44b0aa){const _0x1e7670=_0x1e76();return _0x3f57=function(_0x3f570b,_0x30acac){_0x3f570b=_0x3f570b-0xa9;let _0x50d037=_0x1e7670[_0x3f570b];return _0x50d037;},_0x3f57(_0x37dab5,_0x44b0aa);}export class AIChatHistoryView extends _0x42bcfc{[_0x27590d(0xd5)];[_0x27590d(0xc4)];[_0x27590d(0xe8)];[_0x27590d(0xdf)];[_0x27590d(0xe0)];[_0x27590d(0x106)];constructor(_0x241f51,_0x46f2d6){const _0x185723=_0x27590d;super(_0x241f51),this[_0x185723(0xbe)](_0x185723(0xac),!0x1),this[_0x185723(0xbe)](_0x185723(0xf6),!0x0),this[_0x185723(0xbe)](_0x185723(0xbc),''),this[_0x185723(0xbe)](_0x185723(0xd6),!0x1),this[_0x185723(0xbe)](_0x185723(0xf0),!0x1),this[_0x185723(0xbe)](_0x185723(0xd8),!0x1),this[_0x185723(0xbe)](_0x185723(0xda),!0x1);const _0x260000=new _0xc11fe1(_0x241f51,{'label':_0x49651a(_0x241f51,_0x185723(0xf8)),'icon':_0x2f1dd2,'class':_0x185723(0xaf)});_0x46f2d6&&(this[_0x185723(0x106)]=_0x3eb38f(_0x241f51,this),_0x260000[_0x185723(0xc7)][_0x185723(0xb4)](this[_0x185723(0x106)])),this[_0x185723(0xe0)]=new _0x522215(_0x241f51,[]),this[_0x185723(0xe0)][_0x185723(0xe2)](..._0x5610e9)['to'](this),this[_0x185723(0xc4)]=this[_0x185723(0xfc)](),this[_0x185723(0xe8)]=this[_0x185723(0xbf)](),this[_0x185723(0xdf)]=this[_0x185723(0xe7)](),this[_0x185723(0xd5)]=this[_0x185723(0xed)](),this[_0x185723(0xc4)][_0x185723(0xd4)]({'attributes':{'class':[this[_0x185723(0xb1)]['if'](_0x185723(0xda),_0x185723(0xe4),_0x124b0f=>!_0x124b0f)]}}),this['on'](_0x185723(0xc8),()=>this[_0x185723(0xf4)]()),this['on'](_0x185723(0xfa),()=>this[_0x185723(0xf4)]()),this['on'](_0x185723(0xcf),()=>this[_0x185723(0xf4)]()),this[_0x185723(0xcd)]({'tag':_0x185723(0xa9),'attributes':{'class':['ck',_0x185723(0xc1),_0x185723(0xb8),_0x185723(0xcc)],'dir':_0x185723(0xd9)},'children':[_0x260000,{'tag':_0x185723(0xa9),'attributes':{'class':[_0x185723(0xb5)]},'children':[this[_0x185723(0xe8)],this[_0x185723(0xc4)],this[_0x185723(0xdf)],this[_0x185723(0xd5)]]}]});}[_0x27590d(0xf4)](){const _0x30a101=_0x27590d;this[_0x30a101(0xf0)]=!this[_0x30a101(0xf6)]&&this[_0x30a101(0xac)],this[_0x30a101(0xd8)]=!this[_0x30a101(0xf6)]&&!this[_0x30a101(0xac)]&&!this[_0x30a101(0xbc)],this[_0x30a101(0xda)]=!this[_0x30a101(0xf0)]&&!!this[_0x30a101(0xbc)];}[_0x27590d(0xed)](){const _0x1f7575=_0x27590d,_0x48430d=new _0x5af3f3(this[_0x1f7575(0xf9)],{'filteredView':this[_0x1f7575(0xe0)],'queryView':{'label':_0x49651a(this[_0x1f7575(0xf9)],_0x1f7575(0xae))},'infoView':{'text':{'notFound':{'primary':_0x56175a=>_0x49651a(this[_0x1f7575(0xf9)],_0x1f7575(0xbd),_0x56175a),'secondary':_0x49651a(this[_0x1f7575(0xf9)],_0x1f7575(0xf7))}}}}),_0x3fb0ca=this[_0x1f7575(0xfc)]();return _0x3fb0ca[_0x1f7575(0xd4)]({'attributes':{'class':[this[_0x1f7575(0xb1)]['if'](_0x1f7575(0xbc),_0x1f7575(0xe4),_0x1b69b0=>!_0x1b69b0)]}}),_0x48430d['on'](_0x1f7575(0xb2),()=>{const _0x53d047=_0x1f7575;_0x48430d[_0x53d047(0xc7)][_0x53d047(0xb4)](_0x3fb0ca,0x1);}),_0x48430d[_0x1f7575(0xd4)]({'attributes':{'class':[this[_0x1f7575(0xb1)]['if'](_0x1f7575(0xf0),_0x1f7575(0xe4),_0xcd69ec=>!_0xcd69ec)]}}),_0x48430d;}[_0x27590d(0xbf)](){const _0x1740fe=_0x27590d,_0x5c3518=new _0xa2bfd9(this[_0x1740fe(0xf9)],_0x1e48f8[_0x1740fe(0xfb)]);return _0x5c3518[_0x1740fe(0xd4)]({'attributes':{'class':[this[_0x1740fe(0xb1)]['if'](_0x1740fe(0xf6),_0x1740fe(0xe4),_0xcc5374=>!_0xcc5374)]}}),_0x5c3518;}[_0x27590d(0xfc)](){const _0x2f31cc=_0x27590d,_0x317305=new _0x42bcfc(this[_0x2f31cc(0xf9)]),_0x4792c8=new _0x2b9e18(this[_0x2f31cc(0xf9)]);_0x4792c8[_0x2f31cc(0xbe)]({'withText':!0x1,'icon':_0x4a93c5,'class':_0x2f31cc(0xd2)}),_0x4792c8[_0x2f31cc(0x104)](_0x2f31cc(0xee))['to'](this,_0x2f31cc(0xac),_0x33d015=>!!_0x33d015),_0x4792c8['on'](_0x2f31cc(0xf1),()=>{const _0x3d089c=_0x2f31cc;this[_0x3d089c(0xbc)]='';});const _0x10b100=this[_0x2f31cc(0xb1)];return _0x317305[_0x2f31cc(0xcd)]({'tag':_0x2f31cc(0xa9),'attributes':{'class':['ck',_0x2f31cc(0xfd),_0x2f31cc(0xd7)]},'children':[{'tag':'p','children':[{'text':_0x10b100['to'](_0x2f31cc(0xbc))}]},_0x4792c8]}),_0x317305;}[_0x27590d(0xe7)](){const _0x6fd4e8=_0x27590d,_0x5ac449=new _0x2b9e18(this[_0x6fd4e8(0xf9)]);_0x5ac449[_0x6fd4e8(0xbe)]({'label':_0x49651a(this[_0x6fd4e8(0xf9)],_0x6fd4e8(0xb6)),'withText':!0x0,'icon':_0x2959d0,'class':_0x6fd4e8(0xb9)}),_0x5ac449['on'](_0x6fd4e8(0xf1),()=>{const _0x4f184e=_0x6fd4e8;this[_0x4f184e(0xce)](_0x4f184e(0xff));});const _0x6fab8d=new _0x42bcfc(this[_0x6fd4e8(0xf9)]);return _0x6fab8d[_0x6fd4e8(0xcd)]({'tag':_0x6fd4e8(0xa9),'attributes':{'class':[_0x6fd4e8(0x103),this[_0x6fd4e8(0xb1)]['if'](_0x6fd4e8(0xd8),_0x6fd4e8(0xe4),_0x4b088b=>!_0x4b088b)]},'children':[{'tag':'p','attributes':{'class':[_0x6fd4e8(0xeb)]},'children':[_0x49651a(this[_0x6fd4e8(0xf9)],_0x6fd4e8(0xbb))]},_0x5ac449]}),_0x6fab8d;}[_0x27590d(0xc2)](_0x594094,_0x1239be){const _0x4c7a4a=_0x27590d,_0x4204d2=[];for(const _0x369cac of _0x594094){const _0x46c81c=new _0x2f88ff(_0x1239be,_0x369cac);_0x46c81c[_0x4c7a4a(0xe2)](..._0x5610e9)['to'](this),_0x4204d2[_0x4c7a4a(0x102)](_0x46c81c);}return _0x4204d2;}[_0x27590d(0xca)](_0x5299e6){const _0xed8d6f=_0x27590d,_0x5a1dbc=this[_0xed8d6f(0xf9)]||'en',_0x569874=[];for(const _0x1bddfb of _0x5299e6){const _0x52e608=this[_0xed8d6f(0xc2)](_0x1bddfb[_0xed8d6f(0xb0)],_0x5a1dbc);_0x569874[_0xed8d6f(0x102)](new _0x5d8df(_0x5a1dbc,{'title':_0x1bddfb[_0xed8d6f(0xd3)],'items':_0x52e608}));}this[_0xed8d6f(0xe0)][_0xed8d6f(0xcb)]=_0x569874,this[_0xed8d6f(0xe0)][_0xed8d6f(0xb0)][_0xed8d6f(0xe3)](),this[_0xed8d6f(0xe0)][_0xed8d6f(0xb0)][_0xed8d6f(0xc9)](_0x569874),this[_0xed8d6f(0xac)]=_0x5299e6[_0xed8d6f(0xab)](_0x4d8d35=>_0x4d8d35[_0xed8d6f(0xb0)][_0xed8d6f(0x100)]>0x0),this[_0xed8d6f(0x105)]();}[_0x27590d(0xdc)](_0x5010d9){const _0x544cf2=_0x27590d;for(const _0x2e7fb4 of this[_0x544cf2(0xe0)][_0x544cf2(0xcb)]){const _0x43e802=_0x2e7fb4[_0x544cf2(0xd1)](_0x5010d9);if(_0x43e802){if(_0x2e7fb4[_0x544cf2(0xe6)](_0x43e802),0x0===_0x2e7fb4[_0x544cf2(0x101)][_0x544cf2(0x100)]){const _0x48f4b2=this[_0x544cf2(0xe0)][_0x544cf2(0xcb)][_0x544cf2(0xec)](_0x2e7fb4);-0x1!==_0x48f4b2&&(this[_0x544cf2(0xe0)][_0x544cf2(0xcb)][_0x544cf2(0xef)](_0x48f4b2,0x1),this[_0x544cf2(0xe0)][_0x544cf2(0xb0)][_0x544cf2(0xe5)](_0x2e7fb4));}this[_0x544cf2(0xac)]=this[_0x544cf2(0xe0)][_0x544cf2(0xcb)][_0x544cf2(0x100)]>0x0,this[_0x544cf2(0x105)]();break;}}}[_0x27590d(0xd0)](_0x25f15d,_0x19bb95){const _0xc13644=_0x27590d;for(const _0x15ebf7 of this[_0xc13644(0xe0)][_0xc13644(0xcb)]){const _0x3307ef=_0x15ebf7[_0xc13644(0xd1)](_0x25f15d);if(_0x3307ef){_0x3307ef[_0xc13644(0xc3)](_0x19bb95);break;}}}[_0x27590d(0xea)](_0x2c1c87,_0x4b00ee,_0x144c55){const _0x5e6bdd=_0x27590d;for(const _0x40fea5 of this[_0x5e6bdd(0xe0)][_0x5e6bdd(0xcb)]){const _0x1f5d19=_0x40fea5[_0x5e6bdd(0xd1)](_0x2c1c87);if(_0x1f5d19){_0x1f5d19[_0x5e6bdd(0xaa)](_0x4b00ee,_0x144c55);break;}}}[_0x27590d(0x105)](){const _0x28c03a=_0x27590d;if(this[_0x28c03a(0xac)]){const _0x41d7d2=this[_0x28c03a(0xd5)][_0x28c03a(0xde)][_0x28c03a(0xf5)]?.[_0x28c03a(0xe1)]?.[_0x28c03a(0xf2)]||'';this[_0x28c03a(0xd5)][_0x28c03a(0xc0)](_0x41d7d2);}}}
23
+ const _0x4795a9=_0x15c2;(function(_0x3da1db,_0x5d99e2){const _0x288991=_0x15c2,_0x530152=_0x3da1db();while(!![]){try{const _0x1321bc=-parseInt(_0x288991(0x152))/0x1*(parseInt(_0x288991(0x14c))/0x2)+-parseInt(_0x288991(0x171))/0x3+-parseInt(_0x288991(0x145))/0x4*(-parseInt(_0x288991(0x17d))/0x5)+parseInt(_0x288991(0x129))/0x6+parseInt(_0x288991(0x12f))/0x7+parseInt(_0x288991(0x146))/0x8*(-parseInt(_0x288991(0x135))/0x9)+parseInt(_0x288991(0x141))/0xa*(parseInt(_0x288991(0x165))/0xb);if(_0x1321bc===_0x5d99e2)break;else _0x530152['push'](_0x530152['shift']());}catch(_0x1caad8){_0x530152['push'](_0x530152['shift']());}}}(_0x1df6,0x22535));import{View as _0x91eb76,SearchTextView as _0x1cdb8e,FormHeaderView as _0x34884c,ButtonView as _0x491842}from'ckeditor5/src/ui.js';import{IconAIHistory as _0x144316,IconCancel as _0xc9519f,IconPlus as _0x454889}from'ckeditor5/src/icons.js';import{AIChatHistorySectionListView as _0x4590b8}from'./aichathistorysectionlistview.js';function _0x15c2(_0x4f290a,_0x687454){const _0x1df697=_0x1df6();return _0x15c2=function(_0x15c23f,_0x3b8590){_0x15c23f=_0x15c23f-0x129;let _0x39cd2a=_0x1df697[_0x15c23f];return _0x39cd2a;},_0x15c2(_0x4f290a,_0x687454);}import{AIChatHistoryListView as _0xfa366a}from'./aichathistorylistview.js';import{AIChatHistoryListItemView as _0x45f64a}from'./aichathistorylistitemview.js';import{AI_CHAT_HISTORY_UI_EVENT_NAMES as _0x108ab6}from'../aichathistoryui.js';import{AISkeletonView as _0x481ede,SKELETON_DEFINITIONS as _0x11858c}from'../../aicore/ui/aiskeleton.js';import{createResizeButton as _0x22d96d}from'../../aicore/utils/createresizebutton.js';import{getTranslation as _0x589497}from'../../aicore/utils/common-translations.js';export class AIChatHistoryView extends _0x91eb76{[_0x4795a9(0x175)];[_0x4795a9(0x160)];[_0x4795a9(0x13d)];[_0x4795a9(0x138)];[_0x4795a9(0x185)];[_0x4795a9(0x16b)];constructor(_0x4b1dfd,_0x15d3dc){const _0x44996c=_0x4795a9;super(_0x4b1dfd),this[_0x44996c(0x154)](_0x44996c(0x13c),!0x1),this[_0x44996c(0x154)](_0x44996c(0x177),!0x0),this[_0x44996c(0x154)](_0x44996c(0x14a),''),this[_0x44996c(0x154)](_0x44996c(0x14e),!0x1),this[_0x44996c(0x154)](_0x44996c(0x140),!0x1),this[_0x44996c(0x154)](_0x44996c(0x16d),!0x1),this[_0x44996c(0x154)](_0x44996c(0x166),!0x1);const _0x5b87c4=new _0x34884c(_0x4b1dfd,{'label':_0x589497(_0x4b1dfd,_0x44996c(0x15a)),'icon':_0x144316,'class':_0x44996c(0x16f)});_0x15d3dc&&(this[_0x44996c(0x16b)]=_0x22d96d(_0x4b1dfd,this),_0x5b87c4[_0x44996c(0x130)][_0x44996c(0x163)](this[_0x44996c(0x16b)])),this[_0x44996c(0x185)]=new _0x4590b8(_0x4b1dfd,[]),this[_0x44996c(0x185)][_0x44996c(0x158)](..._0x108ab6)['to'](this),this[_0x44996c(0x160)]=this[_0x44996c(0x13b)](),this[_0x44996c(0x13d)]=this[_0x44996c(0x17a)](),this[_0x44996c(0x138)]=this[_0x44996c(0x186)](),this[_0x44996c(0x175)]=this[_0x44996c(0x139)](),this[_0x44996c(0x160)][_0x44996c(0x136)]({'attributes':{'class':[this[_0x44996c(0x133)]['if'](_0x44996c(0x166),_0x44996c(0x12b),_0x1a99ba=>!_0x1a99ba)]}}),this['on'](_0x44996c(0x131),()=>this[_0x44996c(0x143)]()),this['on'](_0x44996c(0x150),()=>this[_0x44996c(0x143)]()),this['on'](_0x44996c(0x17e),()=>this[_0x44996c(0x143)]()),this[_0x44996c(0x169)]({'tag':_0x44996c(0x147),'attributes':{'class':['ck',_0x44996c(0x149),_0x44996c(0x16e),_0x44996c(0x12d)],'dir':_0x44996c(0x15c)},'children':[_0x5b87c4,{'tag':_0x44996c(0x147),'attributes':{'class':[_0x44996c(0x162)]},'children':[this[_0x44996c(0x13d)],this[_0x44996c(0x160)],this[_0x44996c(0x138)],this[_0x44996c(0x175)]]}]});}[_0x4795a9(0x143)](){const _0xe9d955=_0x4795a9;this[_0xe9d955(0x140)]=!this[_0xe9d955(0x177)]&&this[_0xe9d955(0x13c)],this[_0xe9d955(0x16d)]=!this[_0xe9d955(0x177)]&&!this[_0xe9d955(0x13c)]&&!this[_0xe9d955(0x14a)],this[_0xe9d955(0x166)]=!this[_0xe9d955(0x140)]&&!!this[_0xe9d955(0x14a)];}[_0x4795a9(0x139)](){const _0x8df2b9=_0x4795a9,_0xc32efa=new _0x1cdb8e(this[_0x8df2b9(0x144)],{'filteredView':this[_0x8df2b9(0x185)],'queryView':{'label':_0x589497(this[_0x8df2b9(0x144)],_0x8df2b9(0x174))},'infoView':{'text':{'notFound':{'primary':_0x14e035=>_0x589497(this[_0x8df2b9(0x144)],_0x8df2b9(0x13a),_0x14e035),'secondary':_0x589497(this[_0x8df2b9(0x144)],_0x8df2b9(0x137))}}}}),_0x4d1230=this[_0x8df2b9(0x13b)]();return _0x4d1230[_0x8df2b9(0x136)]({'attributes':{'class':[this[_0x8df2b9(0x133)]['if'](_0x8df2b9(0x14a),_0x8df2b9(0x12b),_0x631d67=>!_0x631d67)]}}),_0xc32efa['on'](_0x8df2b9(0x181),()=>{const _0x24b1dd=_0x8df2b9;_0xc32efa[_0x24b1dd(0x130)][_0x24b1dd(0x163)](_0x4d1230,0x1);}),_0xc32efa[_0x8df2b9(0x136)]({'attributes':{'class':[this[_0x8df2b9(0x133)]['if'](_0x8df2b9(0x140),_0x8df2b9(0x12b),_0x470032=>!_0x470032)]}}),_0xc32efa;}[_0x4795a9(0x17a)](){const _0x5afa2f=_0x4795a9,_0x1fc85f=new _0x481ede(this[_0x5afa2f(0x144)],_0x11858c[_0x5afa2f(0x134)]);return _0x1fc85f[_0x5afa2f(0x136)]({'attributes':{'class':[this[_0x5afa2f(0x133)]['if'](_0x5afa2f(0x177),_0x5afa2f(0x12b),_0x2aca35=>!_0x2aca35)]}}),_0x1fc85f;}[_0x4795a9(0x13b)](){const _0x2371ef=_0x4795a9,_0x144a8b=new _0x91eb76(this[_0x2371ef(0x144)]),_0x14c70c=new _0x491842(this[_0x2371ef(0x144)]);_0x14c70c[_0x2371ef(0x154)]({'withText':!0x1,'icon':_0xc9519f,'class':_0x2371ef(0x14f)}),_0x14c70c[_0x2371ef(0x17b)](_0x2371ef(0x183))['to'](this,_0x2371ef(0x13c),_0x24eb43=>!!_0x24eb43),_0x14c70c['on'](_0x2371ef(0x159),()=>{const _0x325b07=_0x2371ef;this[_0x325b07(0x14a)]='';});const _0xf18db4=this[_0x2371ef(0x133)];return _0x144a8b[_0x2371ef(0x169)]({'tag':_0x2371ef(0x147),'attributes':{'class':['ck',_0x2371ef(0x15f),_0x2371ef(0x12e)]},'children':[{'tag':'p','children':[{'text':_0xf18db4['to'](_0x2371ef(0x14a))}]},_0x14c70c]}),_0x144a8b;}[_0x4795a9(0x186)](){const _0x261305=_0x4795a9,_0x21cbeb=new _0x491842(this[_0x261305(0x144)]);_0x21cbeb[_0x261305(0x154)]({'label':_0x589497(this[_0x261305(0x144)],_0x261305(0x15d)),'withText':!0x0,'icon':_0x454889,'class':_0x261305(0x157)}),_0x21cbeb['on'](_0x261305(0x159),()=>{const _0x5885b2=_0x261305;this[_0x5885b2(0x176)](_0x5885b2(0x168));});const _0x95fcf8=new _0x91eb76(this[_0x261305(0x144)]);return _0x95fcf8[_0x261305(0x169)]({'tag':_0x261305(0x147),'attributes':{'class':[_0x261305(0x161),this[_0x261305(0x133)]['if'](_0x261305(0x16d),_0x261305(0x12b),_0x350e37=>!_0x350e37)]},'children':[{'tag':'p','attributes':{'class':[_0x261305(0x14b)]},'children':[_0x589497(this[_0x261305(0x144)],_0x261305(0x15e))]},_0x21cbeb]}),_0x95fcf8;}[_0x4795a9(0x142)](_0x2836ad,_0x2b610f){const _0x35c4e0=_0x4795a9,_0x42a1f4=[];for(const _0x1cf6b4 of _0x2836ad){const _0x3a7a1c=new _0x45f64a(_0x2b610f,_0x1cf6b4);_0x3a7a1c[_0x35c4e0(0x158)](..._0x108ab6)['to'](this),_0x42a1f4[_0x35c4e0(0x173)](_0x3a7a1c);}return _0x42a1f4;}[_0x4795a9(0x13e)](_0x479192){const _0x5ecb2c=_0x4795a9,_0x991485=this[_0x5ecb2c(0x144)]||'en',_0x2a73f0=[];for(const _0x17f896 of _0x479192){const _0x31a3ae=this[_0x5ecb2c(0x142)](_0x17f896[_0x5ecb2c(0x16c)],_0x991485);_0x2a73f0[_0x5ecb2c(0x173)](new _0xfa366a(_0x991485,{'title':_0x17f896[_0x5ecb2c(0x17f)],'items':_0x31a3ae}));}this[_0x5ecb2c(0x185)][_0x5ecb2c(0x184)]=_0x2a73f0,this[_0x5ecb2c(0x185)][_0x5ecb2c(0x16c)][_0x5ecb2c(0x178)](),this[_0x5ecb2c(0x185)][_0x5ecb2c(0x16c)][_0x5ecb2c(0x172)](_0x2a73f0),this[_0x5ecb2c(0x13c)]=_0x479192[_0x5ecb2c(0x13f)](_0xab2d2b=>_0xab2d2b[_0x5ecb2c(0x16c)][_0x5ecb2c(0x156)]>0x0),this[_0x5ecb2c(0x182)]();}[_0x4795a9(0x155)](_0x2f5b78){const _0x57ab64=_0x4795a9;for(const _0x3e2b83 of this[_0x57ab64(0x185)][_0x57ab64(0x184)]){const _0x9dc558=_0x3e2b83[_0x57ab64(0x17c)](_0x2f5b78);if(_0x9dc558){if(_0x3e2b83[_0x57ab64(0x12a)](_0x9dc558),0x0===_0x3e2b83[_0x57ab64(0x12c)][_0x57ab64(0x156)]){const _0x3458f4=this[_0x57ab64(0x185)][_0x57ab64(0x184)][_0x57ab64(0x132)](_0x3e2b83);-0x1!==_0x3458f4&&(this[_0x57ab64(0x185)][_0x57ab64(0x184)][_0x57ab64(0x15b)](_0x3458f4,0x1),this[_0x57ab64(0x185)][_0x57ab64(0x16c)][_0x57ab64(0x151)](_0x3e2b83));}this[_0x57ab64(0x13c)]=this[_0x57ab64(0x185)][_0x57ab64(0x184)][_0x57ab64(0x156)]>0x0,this[_0x57ab64(0x182)]();break;}}}[_0x4795a9(0x180)](_0x13302d,_0x3c7bad){const _0x5bca38=_0x4795a9;for(const _0x12560b of this[_0x5bca38(0x185)][_0x5bca38(0x184)]){const _0x225473=_0x12560b[_0x5bca38(0x17c)](_0x13302d);if(_0x225473){_0x225473[_0x5bca38(0x153)](_0x3c7bad);break;}}}[_0x4795a9(0x148)](_0x280d39,_0x4aabca,_0x428319){const _0x5bb4ac=_0x4795a9;for(const _0x25f15b of this[_0x5bb4ac(0x185)][_0x5bb4ac(0x184)]){const _0x70e831=_0x25f15b[_0x5bb4ac(0x17c)](_0x280d39);if(_0x70e831){_0x70e831[_0x5bb4ac(0x167)](_0x4aabca,_0x428319);break;}}}[_0x4795a9(0x182)](){const _0x5de738=_0x4795a9;if(this[_0x5de738(0x13c)]){const _0x452475=this[_0x5de738(0x175)][_0x5de738(0x179)][_0x5de738(0x14d)]?.[_0x5de738(0x164)]?.[_0x5de738(0x170)]||'';this[_0x5de738(0x175)][_0x5de738(0x16a)](_0x452475);}}}function _0x1df6(){const _0x4411cb=['setTemplate','search','resizeButton','items','isEmptyViewVisible','ck-ai-chat-history','ck-ai-header\x20ck-ai-header_history','value','156945tCngyy','addMany','push','AI_CHAT_HISTORY_SEARCH_LABEL','searchView','fire','isLoading','clear','queryView','_createSkeletonView','bind','getItem','288145rLQgIN','change:errorMessage','title','updateItemTitle','render','_refreshSearch','isVisible','sections','sectionsView','_createEmptyStateView','1327728jXSHNy','removeItem','ck-hidden','itemsViews','ck-rounded-corners','ck-ai-notification_error','344330hApOFS','children','change:isLoading','indexOf','bindTemplate','aiHistory','163071OItcqh','extendTemplate','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','emptyView','_createSearchView','AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','_createErrorView','hasItems','skeletonView','updateHistoryItemsWithCategories','some','isSearchViewVisible','10vGHKUH','_createListItemViews','_updateViewVisibility','locale','4BRVeVL','56zhWMNz','div','updateItemLoadingState','ck-reset_all','errorMessage','ck-ai-chat-history__empty-message','46nvEeLd','fieldView','isMaximized','ck-ai-notification_error__dismiss-button','change:hasItems','remove','3247fEyQOp','updateTitle','set','removeHistoryItem','length','ck-ai-chat__start-conversation','delegate','execute','AI_CHAT_HISTORY_HEADING','splice','ltr','AI_CHAT_LABEL_NEW_CHAT','AI_CHAT_HISTORY_EMPTY_MESSAGE','ck-ai-notification','mainErrorView','ck-ai-chat-history__empty','ck-ai-chat-history__content','add','element','729509kcMtAq','isMainErrorViewVisible','updateLoadingState','openChat'];_0x1df6=function(){return _0x4411cb;};return _0x1df6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x14a51c,_0x1d5926){const _0x3bddcd=_0x27db,_0x279e83=_0x14a51c();while(!![]){try{const _0x1b6193=parseInt(_0x3bddcd(0xe2))/0x1+-parseInt(_0x3bddcd(0xe3))/0x2*(parseInt(_0x3bddcd(0xdd))/0x3)+parseInt(_0x3bddcd(0xe1))/0x4*(-parseInt(_0x3bddcd(0xe7))/0x5)+-parseInt(_0x3bddcd(0xd8))/0x6*(parseInt(_0x3bddcd(0xde))/0x7)+-parseInt(_0x3bddcd(0xe0))/0x8+parseInt(_0x3bddcd(0xdc))/0x9*(parseInt(_0x3bddcd(0xdf))/0xa)+parseInt(_0x3bddcd(0xd7))/0xb*(parseInt(_0x3bddcd(0xe8))/0xc);if(_0x1b6193===_0x1d5926)break;else _0x279e83['push'](_0x279e83['shift']());}catch(_0x24fd07){_0x279e83['push'](_0x279e83['shift']());}}}(_0xc641,0x58914));import{ButtonView as _0x244719}from'ckeditor5/src/ui.js';function _0x27db(_0x3f0646,_0x3a1d9d){const _0xc641f1=_0xc641();return _0x27db=function(_0x27dba5,_0xe80481){_0x27dba5=_0x27dba5-0xd5;let _0xc2ee66=_0xc641f1[_0x27dba5];return _0xc2ee66;},_0x27db(_0x3f0646,_0x3a1d9d);}import{IconAIChat as _0x48fb2c,IconAIReview as _0x1b9253,IconAITranslate as _0x2f350c}from'@ckeditor/ckeditor5-icons';export class AIChatShortcutView extends _0x244719{['id'];constructor(_0x1289ce,_0x68ada0){const _0x5121a7=_0x27db;super(_0x1289ce);const {id:_0x8fc6ac,type:_0x52ec4a,icon:_0x32fa1d}=_0x68ada0;this['id']=_0x8fc6ac,this[_0x5121a7(0xd5)]({'label':_0x68ada0[_0x5121a7(0xdb)],'withText':!0x0,'class':_0x5121a7(0xd9)}),this[_0x5121a7(0xda)]({'attributes':{'data-cke-ai-shortcut-id':_0x68ada0['id']}}),_0x32fa1d?this[_0x5121a7(0xe4)]=_0x32fa1d:_0x5121a7(0xd6)===_0x52ec4a?this[_0x5121a7(0xe4)]=_0x48fb2c:_0x5121a7(0xe5)===_0x52ec4a?this[_0x5121a7(0xe4)]=_0x1b9253:_0x5121a7(0xe6)===_0x52ec4a&&(this[_0x5121a7(0xe4)]=_0x2f350c);}}function _0xc641(){const _0x4e47c7=['translate','5bjMlqa','7190916xEFXXs','set','chat','11EHkHko','2388irOmrm','ck-ai-chat-shortcut','extendTemplate','label','9HkTtaI','3khZmmp','8302KmIucK','6366070fmUbKm','3926512bHJGru','633948LkdiRy','385676SOqurv','274850iIukby','icon','review'];_0xc641=function(){return _0x4e47c7;};return _0xc641();}
23
+ (function(_0x473ad8,_0x5bdec0){const _0x5cd8f6=_0x1052,_0x1233d8=_0x473ad8();while(!![]){try{const _0x473e94=-parseInt(_0x5cd8f6(0x1ab))/0x1*(parseInt(_0x5cd8f6(0x1ae))/0x2)+-parseInt(_0x5cd8f6(0x1a6))/0x3*(parseInt(_0x5cd8f6(0x1aa))/0x4)+-parseInt(_0x5cd8f6(0x1a0))/0x5*(-parseInt(_0x5cd8f6(0x1a9))/0x6)+-parseInt(_0x5cd8f6(0x19d))/0x7+-parseInt(_0x5cd8f6(0x1a3))/0x8+parseInt(_0x5cd8f6(0x1ad))/0x9*(parseInt(_0x5cd8f6(0x19c))/0xa)+parseInt(_0x5cd8f6(0x19f))/0xb*(parseInt(_0x5cd8f6(0x1a8))/0xc);if(_0x473e94===_0x5bdec0)break;else _0x1233d8['push'](_0x1233d8['shift']());}catch(_0x715ceb){_0x1233d8['push'](_0x1233d8['shift']());}}}(_0x53b8,0x5e73c));import{ButtonView as _0x3ee9ac}from'ckeditor5/src/ui.js';function _0x1052(_0x38cfaa,_0x12c61f){const _0x53b8ff=_0x53b8();return _0x1052=function(_0x1052e3,_0x58a716){_0x1052e3=_0x1052e3-0x19b;let _0x3c8e88=_0x53b8ff[_0x1052e3];return _0x3c8e88;},_0x1052(_0x38cfaa,_0x12c61f);}import{IconAIChat as _0x3f7ed1,IconAIReview as _0x28e515,IconAITranslate as _0xf300a1}from'@ckeditor/ckeditor5-icons';function _0x53b8(){const _0x14b963=['56hVRRXJ','16KuHnuX','label','9IrePIw','70508VnpRKG','review','4511770kMluTO','1654352oRlvdu','ck-ai-chat-shortcut','10637mRvNfZ','10lMQKDp','set','translate','331320FjtubH','chat','extendTemplate','135243mDpVHu','icon','10992AucZxh','1568628cRPAYA'];_0x53b8=function(){return _0x14b963;};return _0x53b8();}export class AIChatShortcutView extends _0x3ee9ac{['id'];constructor(_0x5293f6,_0x53f297){const _0x59caf0=_0x1052;super(_0x5293f6);const {id:_0x1eef4b,type:_0xc6946e,icon:_0xbc2cd0}=_0x53f297;this['id']=_0x1eef4b,this[_0x59caf0(0x1a1)]({'label':_0x53f297[_0x59caf0(0x1ac)],'withText':!0x0,'class':_0x59caf0(0x19e)}),this[_0x59caf0(0x1a5)]({'attributes':{'data-cke-ai-shortcut-id':_0x53f297['id']}}),_0xbc2cd0?this[_0x59caf0(0x1a7)]=_0xbc2cd0:_0x59caf0(0x1a4)===_0xc6946e?this[_0x59caf0(0x1a7)]=_0x3f7ed1:_0x59caf0(0x19b)===_0xc6946e?this[_0x59caf0(0x1a7)]=_0x28e515:_0x59caf0(0x1a2)===_0xc6946e&&(this[_0x59caf0(0x1a7)]=_0xf300a1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d5c78=_0x17e7;function _0x5d80(){const _0x26584f=['497640agJpPm','_isWebSearchEnabled','setReasoning','7GEcTcn','3408108tHFNgJ','webSearch','2129205VbScwp','reset','isReasoningEnabled','isWebSearchEnabled','48jsWeMa','304GpnGsj','toggleWebSearch','105530JPIgti','reasoning','setWebSearch','4LUPQzN','1900120sAhkMX','getCapabilitiesRequestData','init','capabilitiesUpdated','7526016VMQzTc','2012HuOqMi','fire','toggleReasoning','_isReasoningEnabled','getCapabilitiesConfig'];_0x5d80=function(){return _0x26584f;};return _0x5d80();}(function(_0x15a9d6,_0x34be7d){const _0x45e81b=_0x17e7,_0x2e5406=_0x15a9d6();while(!![]){try{const _0x1269f9=parseInt(_0x45e81b(0xcc))/0x1*(parseInt(_0x45e81b(0xd7))/0x2)+parseInt(_0x45e81b(0xc7))/0x3*(parseInt(_0x45e81b(0xd1))/0x4)+parseInt(_0x45e81b(0xdc))/0x5*(parseInt(_0x45e81b(0xcb))/0x6)+-parseInt(_0x45e81b(0xdf))/0x7*(parseInt(_0x45e81b(0xd2))/0x8)+-parseInt(_0x45e81b(0xd6))/0x9+parseInt(_0x45e81b(0xce))/0xa+-parseInt(_0x45e81b(0xc5))/0xb;if(_0x1269f9===_0x34be7d)break;else _0x2e5406['push'](_0x2e5406['shift']());}catch(_0x58304e){_0x2e5406['push'](_0x2e5406['shift']());}}}(_0x5d80,0x6b1f1));function _0x17e7(_0x5e7d34,_0x3abf66){const _0x5d805d=_0x5d80();return _0x17e7=function(_0x17e7f5,_0x362102){_0x17e7f5=_0x17e7f5-0xc5;let _0x1b681f=_0x5d805d[_0x17e7f5];return _0x1b681f;},_0x17e7(_0x5e7d34,_0x3abf66);}import{EmitterMixin as _0x410872}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x2d5c78(0xd5)];export class AICapabilities extends _0x410872(){[_0x2d5c78(0xdd)];[_0x2d5c78(0xda)];constructor(){const _0x32923a=_0x2d5c78;super(),this[_0x32923a(0xdd)]=!0x1,this[_0x32923a(0xda)]=!0x1;}[_0x2d5c78(0xd4)](){const _0x452a68=_0x2d5c78;this[_0x452a68(0xc8)]();}[_0x2d5c78(0xc8)](){const _0x2ec9c3=_0x2d5c78;this[_0x2ec9c3(0xd0)](!0x1),this[_0x2ec9c3(0xde)](!0x1);}[_0x2d5c78(0xdb)](){const _0x1968ac=_0x2d5c78;return{'isWebSearchEnabled':this[_0x1968ac(0xdd)],'isReasoningEnabled':this[_0x1968ac(0xda)]};}static[_0x2d5c78(0xd3)](_0x399644){const _0x55a3dd=_0x2d5c78,_0x179755={};return _0x399644&&_0x399644[_0x55a3dd(0xca)]&&(_0x179755[_0x55a3dd(0xc6)]={}),_0x399644&&_0x399644[_0x55a3dd(0xc9)]&&(_0x179755[_0x55a3dd(0xcf)]={}),_0x179755;}[_0x2d5c78(0xcd)](){const _0x2224f9=_0x2d5c78;this[_0x2224f9(0xd0)](!this[_0x2224f9(0xdd)]);}[_0x2d5c78(0xd9)](){const _0x523509=_0x2d5c78;this[_0x523509(0xde)](!this[_0x523509(0xda)]);}[_0x2d5c78(0xd0)](_0x14c922){const _0x4fa4b0=_0x2d5c78;_0x14c922!==this[_0x4fa4b0(0xdd)]&&(this[_0x4fa4b0(0xdd)]=_0x14c922,this[_0x4fa4b0(0xd8)](_0x4fa4b0(0xd5),this[_0x4fa4b0(0xdb)]()));}[_0x2d5c78(0xde)](_0x227c05){const _0xe89e72=_0x2d5c78;_0x227c05!==this[_0xe89e72(0xda)]&&(this[_0xe89e72(0xda)]=_0x227c05,this[_0xe89e72(0xd8)](_0xe89e72(0xd5),this[_0xe89e72(0xdb)]()));}}
23
+ const _0x4bc47e=_0x39d7;(function(_0x5f4a8a,_0x2daf35){const _0x54e36c=_0x39d7,_0x284d0c=_0x5f4a8a();while(!![]){try{const _0x105900=-parseInt(_0x54e36c(0x122))/0x1+parseInt(_0x54e36c(0x12a))/0x2*(-parseInt(_0x54e36c(0x127))/0x3)+-parseInt(_0x54e36c(0x115))/0x4+-parseInt(_0x54e36c(0x117))/0x5+parseInt(_0x54e36c(0x128))/0x6*(-parseInt(_0x54e36c(0x125))/0x7)+-parseInt(_0x54e36c(0x11e))/0x8+parseInt(_0x54e36c(0x11c))/0x9*(parseInt(_0x54e36c(0x113))/0xa);if(_0x105900===_0x2daf35)break;else _0x284d0c['push'](_0x284d0c['shift']());}catch(_0x5f42ba){_0x284d0c['push'](_0x284d0c['shift']());}}}(_0x463b,0x23876));function _0x39d7(_0x4042b8,_0x4e514a){const _0x463bee=_0x463b();return _0x39d7=function(_0x39d738,_0x1d6dcc){_0x39d738=_0x39d738-0x113;let _0x504324=_0x463bee[_0x39d738];return _0x504324;},_0x39d7(_0x4042b8,_0x4e514a);}function _0x463b(){const _0x4797df=['isReasoningEnabled','init','setReasoning','setWebSearch','8341929TbJkHr','toggleReasoning','2009264bIhSdc','reset','getCapabilitiesConfig','toggleWebSearch','92943AotKjn','webSearch','getCapabilitiesRequestData','13454hEvwPk','fire','33SaNwRG','762OiAoSz','_isWebSearchEnabled','6276XlNGeA','capabilitiesUpdated','reasoning','10SNsugA','isWebSearchEnabled','109800XNxImB','_isReasoningEnabled','655960YSLnNZ'];_0x463b=function(){return _0x4797df;};return _0x463b();}import{EmitterMixin as _0x360994}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x4bc47e(0x12b)];export class AICapabilities extends _0x360994(){[_0x4bc47e(0x129)];[_0x4bc47e(0x116)];constructor(){const _0x2f3df0=_0x4bc47e;super(),this[_0x2f3df0(0x129)]=!0x1,this[_0x2f3df0(0x116)]=!0x1;}[_0x4bc47e(0x119)](){const _0x537bc0=_0x4bc47e;this[_0x537bc0(0x11f)]();}[_0x4bc47e(0x11f)](){const _0x21d2c6=_0x4bc47e;this[_0x21d2c6(0x11b)](!0x1),this[_0x21d2c6(0x11a)](!0x1);}[_0x4bc47e(0x120)](){const _0x5bc325=_0x4bc47e;return{'isWebSearchEnabled':this[_0x5bc325(0x129)],'isReasoningEnabled':this[_0x5bc325(0x116)]};}static[_0x4bc47e(0x124)](_0x3a53b8){const _0x317a25=_0x4bc47e,_0x1d7a54={};return _0x3a53b8&&_0x3a53b8[_0x317a25(0x114)]&&(_0x1d7a54[_0x317a25(0x123)]={}),_0x3a53b8&&_0x3a53b8[_0x317a25(0x118)]&&(_0x1d7a54[_0x317a25(0x12c)]={}),_0x1d7a54;}[_0x4bc47e(0x121)](){const _0x494a45=_0x4bc47e;this[_0x494a45(0x11b)](!this[_0x494a45(0x129)]);}[_0x4bc47e(0x11d)](){const _0x12f76d=_0x4bc47e;this[_0x12f76d(0x11a)](!this[_0x12f76d(0x116)]);}[_0x4bc47e(0x11b)](_0x1b15a0){const _0x46735d=_0x4bc47e;_0x1b15a0!==this[_0x46735d(0x129)]&&(this[_0x46735d(0x129)]=_0x1b15a0,this[_0x46735d(0x126)](_0x46735d(0x12b),this[_0x46735d(0x120)]()));}[_0x4bc47e(0x11a)](_0x3d7eba){const _0x160afa=_0x4bc47e;_0x3d7eba!==this[_0x160afa(0x116)]&&(this[_0x160afa(0x116)]=_0x3d7eba,this[_0x160afa(0x126)](_0x160afa(0x12b),this[_0x160afa(0x120)]()));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17c210=_0x4cb6;(function(_0x4bf623,_0xbf9b98){const _0xfaa132=_0x4cb6,_0x184e77=_0x4bf623();while(!![]){try{const _0x53b843=parseInt(_0xfaa132(0x15b))/0x1+parseInt(_0xfaa132(0x14a))/0x2+parseInt(_0xfaa132(0x139))/0x3+parseInt(_0xfaa132(0x120))/0x4*(-parseInt(_0xfaa132(0x14c))/0x5)+parseInt(_0xfaa132(0x155))/0x6*(parseInt(_0xfaa132(0x148))/0x7)+parseInt(_0xfaa132(0x165))/0x8+-parseInt(_0xfaa132(0x11e))/0x9;if(_0x53b843===_0xbf9b98)break;else _0x184e77['push'](_0x184e77['shift']());}catch(_0x27f9f3){_0x184e77['push'](_0x184e77['shift']());}}}(_0x16e5,0x6db9d));import{CKEditorError as _0x9b5873,EmitterMixin as _0x5da514,uid as _0x49c332}from'ckeditor5/src/utils.js';import{AIReply as _0x46cefb}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x17c210(0x12f),_0x17c210(0x117),_0x17c210(0x121),_0x17c210(0x12e),_0x17c210(0x140),_0x17c210(0x13c),_0x17c210(0x146),_0x17c210(0x129),_0x17c210(0x11c),_0x17c210(0x112),_0x17c210(0x162),_0x17c210(0x15e),_0x17c210(0x127),_0x17c210(0x131),_0x17c210(0x128)];export class AIInteraction extends _0x5da514(){['id'];[_0x17c210(0x125)]=[];[_0x17c210(0x142)];[_0x17c210(0x158)];[_0x17c210(0x138)];[_0x17c210(0x123)];[_0x17c210(0x141)];[_0x17c210(0x12c)]=!0x1;[_0x17c210(0x126)]=!0x1;[_0x17c210(0x15f)];[_0x17c210(0x163)]=!0x1;[_0x17c210(0x113)]=!0x1;constructor({connector:_0x2bfa09,editor:_0xad0338}){const _0x230c85=_0x17c210;super(),this['id']=_0x49c332(),this[_0x230c85(0x141)]=_0x2bfa09,this[_0x230c85(0x12c)]=!0x0,this[_0x230c85(0x15f)]=_0xad0338;}async[_0x17c210(0x13d)](){const _0x1e008f=_0x17c210,_0xcd8a29=[];let _0x50617c,_0xe3ffa4,_0x497844;this[_0x1e008f(0x12c)]=!0x1;try{this[_0x1e008f(0x123)]=await this[_0x1e008f(0x150)](),this[_0x1e008f(0x159)](_0x1e008f(0x117),this);const _0xb7b48c=await this[_0x1e008f(0x123)][_0x1e008f(0x11a)]();for await(const _0x46b96e of _0xb7b48c){if(this[_0x1e008f(0x12c)])return;if(_0x1e008f(0x128)==_0x46b96e[_0x1e008f(0x12a)])return void this[_0x1e008f(0x159)](_0x1e008f(0x128),{'error':new _0x9b5873(_0x1e008f(0x135),this)});switch(_0x46b96e[_0x1e008f(0x12a)]){case _0x1e008f(0x14d):this[_0x1e008f(0x158)]=_0x46b96e[_0x1e008f(0x152)][_0x1e008f(0x158)];break;case _0x1e008f(0x114):this[_0x1e008f(0x138)]=_0x46b96e[_0x1e008f(0x152)][_0x1e008f(0x13a)];break;case _0x1e008f(0x156):this[_0x1e008f(0x11c)](_0x46b96e[_0x1e008f(0x152)][_0x1e008f(0x134)],!0x0);break;case _0x1e008f(0x145):_0xcd8a29[_0x1e008f(0x14f)](_0x46b96e[_0x1e008f(0x152)][_0x1e008f(0x145)]);break;case _0x1e008f(0x153):this[_0x1e008f(0x113)]||(this[_0x1e008f(0x113)]=!0x0,this[_0x1e008f(0x159)](_0x1e008f(0x112),this));break;case _0x1e008f(0x137):this[_0x1e008f(0x163)]||(this[_0x1e008f(0x163)]=!0x0,this[_0x1e008f(0x159)](_0x1e008f(0x15e),this));break;case _0x1e008f(0x11f):case _0x1e008f(0x144):this[_0x1e008f(0x14e)](),this[_0x1e008f(0x12d)](),_0x50617c=_0x1e008f(0x11f)==_0x46b96e[_0x1e008f(0x12a)]?_0x1e008f(0x12b):_0x1e008f(0x161),_0xe3ffa4=_0x1e008f(0x11f)==_0x46b96e[_0x1e008f(0x12a)]?_0x46b96e[_0x1e008f(0x152)]['id']:void 0x0,this[_0x1e008f(0x142)]&&this[_0x1e008f(0x142)][_0x1e008f(0x130)]!=_0x50617c&&(this[_0x1e008f(0x142)][_0x1e008f(0x13f)](),this[_0x1e008f(0x142)]=void 0x0),this[_0x1e008f(0x142)]||(this[_0x1e008f(0x142)]=this[_0x1e008f(0x118)]({'type':_0x50617c,'interactionId':this['id'],'id':_0xe3ffa4}),_0x1e008f(0x12b)==_0x50617c&&(this[_0x1e008f(0x142)][_0x1e008f(0x11b)]=_0xcd8a29[_0x1e008f(0x13b)](0x0))),this[_0x1e008f(0x142)][_0x1e008f(0x13e)](_0x46b96e[_0x1e008f(0x152)][_0x1e008f(0x167)]);break;case _0x1e008f(0x115):_0x497844=JSON[_0x1e008f(0x157)](_0x46b96e[_0x1e008f(0x152)][_0x1e008f(0x160)]),this[_0x1e008f(0x143)]({'toolName':_0x46b96e[_0x1e008f(0x152)][_0x1e008f(0x164)],'data':_0x497844[_0x1e008f(0x152)],'attributes':_0x497844[_0x1e008f(0x15c)]});break;case _0x1e008f(0x132):this[_0x1e008f(0x15d)]({'toolName':_0x46b96e[_0x1e008f(0x152)][_0x1e008f(0x164)],'data':_0x46b96e[_0x1e008f(0x152)][_0x1e008f(0x152)]});}}}finally{this[_0x1e008f(0x12c)]||(this[_0x1e008f(0x142)]&&_0xcd8a29[_0x1e008f(0x136)]>0x0&&(this[_0x1e008f(0x142)][_0x1e008f(0x11b)]=_0xcd8a29[_0x1e008f(0x13b)](0x0)),this[_0x1e008f(0x149)](),this[_0x1e008f(0x159)](_0x1e008f(0x12e),this));}}[_0x17c210(0x11d)](){const _0x7096af=_0x17c210;this[_0x7096af(0x12c)]||(this[_0x7096af(0x149)](),this[_0x7096af(0x159)](_0x7096af(0x121),this));}[_0x17c210(0x14b)](_0x40a97c){const _0x34b4e2=_0x17c210;return this[_0x34b4e2(0x125)][_0x34b4e2(0x166)](_0x326063=>_0x326063['id']===_0x40a97c);}[_0x17c210(0x116)](){const _0x2a222b=_0x17c210;this[_0x2a222b(0x126)]||(this[_0x2a222b(0x11d)](),this[_0x2a222b(0x125)][_0x2a222b(0x15a)](_0x19b9f2=>_0x19b9f2[_0x2a222b(0x116)]()),this[_0x2a222b(0x125)]=[],this[_0x2a222b(0x126)]=!0x0,this[_0x2a222b(0x159)](_0x2a222b(0x140),this),this[_0x2a222b(0x122)]());}[_0x17c210(0x118)](_0xb17758){const _0x1c1600=_0x17c210,_0x3bd835=new _0x46cefb({'editor':this[_0x1c1600(0x15f)],'documentContextContent':this[_0x1c1600(0x124)]()?.[_0x1c1600(0x133)],..._0xb17758});return this[_0x1c1600(0x125)][_0x1c1600(0x14f)](_0x3bd835),_0x3bd835[_0x1c1600(0x154)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x1c1600(0x159)](_0x1c1600(0x13c),_0x3bd835),_0x3bd835;}[_0x17c210(0x11c)](_0x3dc945,_0x102e86=!0x1){const _0x51046d=_0x17c210;this[_0x51046d(0x159)](_0x51046d(0x11c),_0x3dc945,_0x102e86);}[_0x17c210(0x12d)](){const _0x5bbbc8=_0x17c210;this[_0x5bbbc8(0x113)]&&(this[_0x5bbbc8(0x113)]=!0x1,this[_0x5bbbc8(0x159)](_0x5bbbc8(0x162),this));}[_0x17c210(0x14e)](){const _0x2dfe4b=_0x17c210;this[_0x2dfe4b(0x163)]&&(this[_0x2dfe4b(0x163)]=!0x1,this[_0x2dfe4b(0x159)](_0x2dfe4b(0x127),this));}[_0x17c210(0x143)](_0x545927){const _0x1b9149=_0x17c210;this[_0x1b9149(0x159)](_0x1b9149(0x131),{'type':_0x1b9149(0x160),'toolName':_0x545927[_0x1b9149(0x164)],'data':structuredClone(_0x545927[_0x1b9149(0x152)]||{}),'attributes':structuredClone(_0x545927[_0x1b9149(0x15c)]||{})},this);}[_0x17c210(0x15d)](_0x1bc1e3){const _0x230468=_0x17c210;this[_0x230468(0x159)](_0x230468(0x131),{'type':_0x230468(0x151),'toolName':_0x1bc1e3[_0x230468(0x164)],'data':structuredClone(_0x1bc1e3[_0x230468(0x152)])},this);}[_0x17c210(0x149)](){const _0x5f1d02=_0x17c210;this[_0x5f1d02(0x12c)]=!0x0,this[_0x5f1d02(0x123)]&&this[_0x5f1d02(0x123)][_0x5f1d02(0x147)][_0x5f1d02(0x119)](),this[_0x5f1d02(0x142)]&&this[_0x5f1d02(0x142)][_0x5f1d02(0x13f)](),this[_0x5f1d02(0x123)]=this[_0x5f1d02(0x142)]=void 0x0;}}function _0x4cb6(_0x1e6393,_0x1fa53d){const _0x16e562=_0x16e5();return _0x4cb6=function(_0x4cb6dd,_0x3b9cab){_0x4cb6dd=_0x4cb6dd-0x112;let _0x1f05e8=_0x16e562[_0x4cb6dd];return _0x1f05e8;},_0x4cb6(_0x1e6393,_0x1fa53d);}function _0x16e5(){const _0x787683=['createReply','abort','getStream','sources','setConversationTitle','stop','6137784yDGJaE','modification-delta','4eDDIJU','interactionStopped','stopListening','currentRequest','getDocumentContext','replies','isDestroyed','reasoningFinished','error','replyChangeGroupStateUpdated','event','modification','isStopped','resetWebSearchState','interactionFinished','interactionCreated','type','toolDataReceived','mcp-tool-notification','content','conversationTitle','ai-chat-interaction-error','length','reasoning','actionCallId','573330oVcnYn','callId','splice','replyCreated','start','appendContent','done','interactionDestroyed','connector','currentReply','_handleToolResultData','text-delta','source','replyContentUpdated','abortController','1137031aioLjv','_finalizeInteraction','40602VXQkUs','getReply','1602655PKDNLP','message-metadata','resetReasoningState','push','sendRequest','notification','data','web-search','delegate','6FDxKeU','conversation-title','parse','messageId','fire','forEach','304173onbUBZ','attributes','_handleToolNotificationData','reasoningStarted','editor','result','text','webSearchFinished','_isReasoning','toolName','6191416GMgLDE','find','textDelta','webSearchStarted','_isWebSearching','action-metadata','mcp-tool-result','destroy','interactionStarted'];_0x16e5=function(){return _0x787683;};return _0x16e5();}
23
+ const _0x4289e6=_0x42c5;(function(_0x34bf3b,_0x5c0d75){const _0x4055ef=_0x42c5,_0x53bb09=_0x34bf3b();while(!![]){try{const _0x197431=-parseInt(_0x4055ef(0x140))/0x1+parseInt(_0x4055ef(0x150))/0x2+-parseInt(_0x4055ef(0x131))/0x3+parseInt(_0x4055ef(0x16e))/0x4*(-parseInt(_0x4055ef(0x171))/0x5)+parseInt(_0x4055ef(0x155))/0x6+-parseInt(_0x4055ef(0x147))/0x7*(parseInt(_0x4055ef(0x13f))/0x8)+parseInt(_0x4055ef(0x163))/0x9;if(_0x197431===_0x5c0d75)break;else _0x53bb09['push'](_0x53bb09['shift']());}catch(_0x558bd7){_0x53bb09['push'](_0x53bb09['shift']());}}}(_0x4f32,0xbfd2b));import{CKEditorError as _0x220c76,EmitterMixin as _0x19d123,uid as _0x278a49}from'ckeditor5/src/utils.js';function _0x42c5(_0xcaaab2,_0x3e225c){const _0x4f32e9=_0x4f32();return _0x42c5=function(_0x42c56a,_0x94df7e){_0x42c56a=_0x42c56a-0x125;let _0x4daa0d=_0x4f32e9[_0x42c56a];return _0x4daa0d;},_0x42c5(_0xcaaab2,_0x3e225c);}import{AIReply as _0x43518c}from'./aireply.js';function _0x4f32(){const _0x579f56=['notification','callId','result','parse','8hiBsAX','1151241eLnspa','interactionCreated','editor','type','reasoningStarted','text-delta','message-metadata','6351793BNYcCs','data','appendContent','reasoning','currentRequest','destroy','textDelta','webSearchFinished','delegate','1945200XodmBE','_isReasoning','actionCallId','replyContentUpdated','push','4743198bPkEPu','ai-chat-interaction-error','_finalizeInteraction','done','setConversationTitle','content','sendRequest','conversationTitle','length','source','abort','replyCreated','interactionStarted','_handleToolNotificationData','21198564EDZvWr','replyChangeGroupStateUpdated','conversation-title','toolName','interactionFinished','modification-delta','abortController','forEach','error','mcp-tool-notification','event','38104MmVbcV','fire','attributes','60LQhtvJ','resetReasoningState','toolDataReceived','replies','_handleToolResultData','messageId','stop','resetWebSearchState','interactionStopped','mcp-tool-result','text','stopListening','getReply','find','splice','createReply','modification','getDocumentContext','interactionDestroyed','isDestroyed','action-metadata','connector','3479610wGJGqa','isStopped','webSearchStarted','getStream','reasoningFinished','start','sources','web-search','currentReply','_isWebSearching'];_0x4f32=function(){return _0x579f56;};return _0x4f32();}export const AI_MODEL_EVENT_NAMES=[_0x4289e6(0x141),_0x4289e6(0x161),_0x4289e6(0x179),_0x4289e6(0x167),_0x4289e6(0x12d),_0x4289e6(0x160),_0x4289e6(0x153),_0x4289e6(0x164),_0x4289e6(0x159),_0x4289e6(0x133),_0x4289e6(0x14e),_0x4289e6(0x144),_0x4289e6(0x135),_0x4289e6(0x173),_0x4289e6(0x16b)];export class AIInteraction extends _0x19d123(){['id'];[_0x4289e6(0x174)]=[];[_0x4289e6(0x139)];[_0x4289e6(0x176)];[_0x4289e6(0x152)];[_0x4289e6(0x14b)];[_0x4289e6(0x130)];[_0x4289e6(0x132)]=!0x1;[_0x4289e6(0x12e)]=!0x1;[_0x4289e6(0x142)];[_0x4289e6(0x151)]=!0x1;[_0x4289e6(0x13a)]=!0x1;constructor({connector:_0x61fe09,editor:_0x4ad5b0}){const _0x596a7c=_0x4289e6;super(),this['id']=_0x278a49(),this[_0x596a7c(0x130)]=_0x61fe09,this[_0x596a7c(0x132)]=!0x0,this[_0x596a7c(0x142)]=_0x4ad5b0;}async[_0x4289e6(0x136)](){const _0x59bb9d=_0x4289e6,_0x322a7d=[];let _0x1fdacf,_0x49c987,_0x928289;this[_0x59bb9d(0x132)]=!0x1;try{this[_0x59bb9d(0x14b)]=await this[_0x59bb9d(0x15b)](),this[_0x59bb9d(0x16f)](_0x59bb9d(0x161),this);const _0xc0e8e7=await this[_0x59bb9d(0x14b)][_0x59bb9d(0x134)]();for await(const _0x4b6445 of _0xc0e8e7){if(this[_0x59bb9d(0x132)])return;if(_0x59bb9d(0x16b)==_0x4b6445[_0x59bb9d(0x16d)])return void this[_0x59bb9d(0x16f)](_0x59bb9d(0x16b),{'error':new _0x220c76(_0x59bb9d(0x156),this)});switch(_0x4b6445[_0x59bb9d(0x16d)]){case _0x59bb9d(0x146):this[_0x59bb9d(0x176)]=_0x4b6445[_0x59bb9d(0x148)][_0x59bb9d(0x176)];break;case _0x59bb9d(0x12f):this[_0x59bb9d(0x152)]=_0x4b6445[_0x59bb9d(0x148)][_0x59bb9d(0x13c)];break;case _0x59bb9d(0x165):this[_0x59bb9d(0x159)](_0x4b6445[_0x59bb9d(0x148)][_0x59bb9d(0x15c)],!0x0);break;case _0x59bb9d(0x15e):_0x322a7d[_0x59bb9d(0x154)](_0x4b6445[_0x59bb9d(0x148)][_0x59bb9d(0x15e)]);break;case _0x59bb9d(0x138):this[_0x59bb9d(0x13a)]||(this[_0x59bb9d(0x13a)]=!0x0,this[_0x59bb9d(0x16f)](_0x59bb9d(0x133),this));break;case _0x59bb9d(0x14a):this[_0x59bb9d(0x151)]||(this[_0x59bb9d(0x151)]=!0x0,this[_0x59bb9d(0x16f)](_0x59bb9d(0x144),this));break;case _0x59bb9d(0x168):case _0x59bb9d(0x145):this[_0x59bb9d(0x172)](),this[_0x59bb9d(0x178)](),_0x1fdacf=_0x59bb9d(0x168)==_0x4b6445[_0x59bb9d(0x16d)]?_0x59bb9d(0x12b):_0x59bb9d(0x125),_0x49c987=_0x59bb9d(0x168)==_0x4b6445[_0x59bb9d(0x16d)]?_0x4b6445[_0x59bb9d(0x148)]['id']:void 0x0,this[_0x59bb9d(0x139)]&&this[_0x59bb9d(0x139)][_0x59bb9d(0x143)]!=_0x1fdacf&&(this[_0x59bb9d(0x139)][_0x59bb9d(0x158)](),this[_0x59bb9d(0x139)]=void 0x0),this[_0x59bb9d(0x139)]||(this[_0x59bb9d(0x139)]=this[_0x59bb9d(0x12a)]({'type':_0x1fdacf,'interactionId':this['id'],'id':_0x49c987}),_0x59bb9d(0x12b)==_0x1fdacf&&(this[_0x59bb9d(0x139)][_0x59bb9d(0x137)]=_0x322a7d[_0x59bb9d(0x129)](0x0))),this[_0x59bb9d(0x139)][_0x59bb9d(0x149)](_0x4b6445[_0x59bb9d(0x148)][_0x59bb9d(0x14d)]);break;case _0x59bb9d(0x17a):_0x928289=JSON[_0x59bb9d(0x13e)](_0x4b6445[_0x59bb9d(0x148)][_0x59bb9d(0x13d)]),this[_0x59bb9d(0x175)]({'toolName':_0x4b6445[_0x59bb9d(0x148)][_0x59bb9d(0x166)],'data':_0x928289[_0x59bb9d(0x148)],'attributes':_0x928289[_0x59bb9d(0x170)]});break;case _0x59bb9d(0x16c):this[_0x59bb9d(0x162)]({'toolName':_0x4b6445[_0x59bb9d(0x148)][_0x59bb9d(0x166)],'data':_0x4b6445[_0x59bb9d(0x148)][_0x59bb9d(0x148)]});}}}finally{this[_0x59bb9d(0x132)]||(this[_0x59bb9d(0x139)]&&_0x322a7d[_0x59bb9d(0x15d)]>0x0&&(this[_0x59bb9d(0x139)][_0x59bb9d(0x137)]=_0x322a7d[_0x59bb9d(0x129)](0x0)),this[_0x59bb9d(0x157)](),this[_0x59bb9d(0x16f)](_0x59bb9d(0x167),this));}}[_0x4289e6(0x177)](){const _0x770dcd=_0x4289e6;this[_0x770dcd(0x132)]||(this[_0x770dcd(0x157)](),this[_0x770dcd(0x16f)](_0x770dcd(0x179),this));}[_0x4289e6(0x127)](_0x3b6f78){const _0x91d4af=_0x4289e6;return this[_0x91d4af(0x174)][_0x91d4af(0x128)](_0x2a6e8f=>_0x2a6e8f['id']===_0x3b6f78);}[_0x4289e6(0x14c)](){const _0x134460=_0x4289e6;this[_0x134460(0x12e)]||(this[_0x134460(0x177)](),this[_0x134460(0x174)][_0x134460(0x16a)](_0x1e0cea=>_0x1e0cea[_0x134460(0x14c)]()),this[_0x134460(0x174)]=[],this[_0x134460(0x12e)]=!0x0,this[_0x134460(0x16f)](_0x134460(0x12d),this),this[_0x134460(0x126)]());}[_0x4289e6(0x12a)](_0x37aa1b){const _0x38a616=_0x4289e6,_0x49d5b8=new _0x43518c({'editor':this[_0x38a616(0x142)],'documentContextContent':this[_0x38a616(0x12c)]()?.[_0x38a616(0x15a)],..._0x37aa1b});return this[_0x38a616(0x174)][_0x38a616(0x154)](_0x49d5b8),_0x49d5b8[_0x38a616(0x14f)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x38a616(0x16f)](_0x38a616(0x160),_0x49d5b8),_0x49d5b8;}[_0x4289e6(0x159)](_0x4dd1d1,_0x2bad60=!0x1){const _0x1c5af6=_0x4289e6;this[_0x1c5af6(0x16f)](_0x1c5af6(0x159),_0x4dd1d1,_0x2bad60);}[_0x4289e6(0x178)](){const _0x1fc6fc=_0x4289e6;this[_0x1fc6fc(0x13a)]&&(this[_0x1fc6fc(0x13a)]=!0x1,this[_0x1fc6fc(0x16f)](_0x1fc6fc(0x14e),this));}[_0x4289e6(0x172)](){const _0x330181=_0x4289e6;this[_0x330181(0x151)]&&(this[_0x330181(0x151)]=!0x1,this[_0x330181(0x16f)](_0x330181(0x135),this));}[_0x4289e6(0x175)](_0xcabd57){const _0x15e082=_0x4289e6;this[_0x15e082(0x16f)](_0x15e082(0x173),{'type':_0x15e082(0x13d),'toolName':_0xcabd57[_0x15e082(0x166)],'data':structuredClone(_0xcabd57[_0x15e082(0x148)]||{}),'attributes':structuredClone(_0xcabd57[_0x15e082(0x170)]||{})},this);}[_0x4289e6(0x162)](_0x3f8217){const _0x152b2c=_0x4289e6;this[_0x152b2c(0x16f)](_0x152b2c(0x173),{'type':_0x152b2c(0x13b),'toolName':_0x3f8217[_0x152b2c(0x166)],'data':structuredClone(_0x3f8217[_0x152b2c(0x148)])},this);}[_0x4289e6(0x157)](){const _0x3e5650=_0x4289e6;this[_0x3e5650(0x132)]=!0x0,this[_0x3e5650(0x14b)]&&this[_0x3e5650(0x14b)][_0x3e5650(0x169)][_0x3e5650(0x15f)](),this[_0x3e5650(0x139)]&&this[_0x3e5650(0x139)][_0x3e5650(0x158)](),this[_0x3e5650(0x14b)]=this[_0x3e5650(0x139)]=void 0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3b5b(){const _0x4cfa1b=['_modelList','some','_connector','_getModelById','has','list','getDefault','getAll','isAvailable','1962771GIJoDj','string','_locale','ai-models-unable-to-retrieve','defaultModelId','getAvailableModels','auto','agent','map','getModels','items','add','find','_isMatchingFilter','push','_filterModels','ai-chat-default-model-id-unrecognized','1171044fKcTUc','1307020nbaWue','displayedModels','_modelsRequest','50exmUtG','uiLanguage','64vcfexF','4712561tMTUVv','AI_MODEL_NAME_AUTO','provider','startsWith','toLocaleLowerCase','5346144GLecwA','97821CZBQNh','6781iNShfd','_defaultModelId','6vQKysz','recommended','name','_config','length','_retrieveModels','ai-chat-model-id-unrecognized','_availableModels','getModel','filter'];_0x3b5b=function(){return _0x4cfa1b;};return _0x3b5b();}const _0x34ec23=_0x28f3;function _0x28f3(_0x56c0a6,_0x8c4f2c){const _0x3b5b6f=_0x3b5b();return _0x28f3=function(_0x28f376,_0x5b840){_0x28f376=_0x28f376-0x15e;let _0x1858e7=_0x3b5b6f[_0x28f376];return _0x1858e7;},_0x28f3(_0x56c0a6,_0x8c4f2c);}(function(_0x5eb32e,_0x44f99f){const _0x5725c6=_0x28f3,_0x5dabdb=_0x5eb32e();while(!![]){try{const _0x4e0ada=-parseInt(_0x5725c6(0x177))/0x1*(-parseInt(_0x5725c6(0x16f))/0x2)+parseInt(_0x5725c6(0x18c))/0x3+-parseInt(_0x5725c6(0x169))/0x4+-parseInt(_0x5725c6(0x16a))/0x5+-parseInt(_0x5725c6(0x179))/0x6*(parseInt(_0x5725c6(0x170))/0x7)+parseInt(_0x5725c6(0x175))/0x8+parseInt(_0x5725c6(0x176))/0x9*(parseInt(_0x5725c6(0x16d))/0xa);if(_0x4e0ada===_0x44f99f)break;else _0x5dabdb['push'](_0x5dabdb['shift']());}catch(_0xff9d83){_0x5dabdb['push'](_0x5dabdb['shift']());}}}(_0x3b5b,0x5978a));import{EmitterMixin as _0x10952c,logWarning as _0x41d001,logError as _0x8a7e5a}from'ckeditor5/src/utils.js';import{getTranslation as _0x1a8c54}from'../utils/common-translations.js';export class AIModels extends _0x10952c(){[_0x34ec23(0x185)];[_0x34ec23(0x17c)];[_0x34ec23(0x18e)];[_0x34ec23(0x183)]=[];[_0x34ec23(0x16c)]=null;constructor({connector:_0x3e4fc6,config:_0x4e1a2f,locale:_0x3d70ca}){const _0x1c6df1=_0x34ec23;super(),this[_0x1c6df1(0x185)]=_0x3e4fc6,this[_0x1c6df1(0x17c)]=_0x4e1a2f,this[_0x1c6df1(0x18e)]=_0x3d70ca;}get[_0x34ec23(0x180)](){const _0xe6003f=_0x34ec23;return this[_0xe6003f(0x17c)]?.[_0xe6003f(0x16b)];}get[_0x34ec23(0x178)](){const _0x546868=_0x34ec23;return this[_0x546868(0x17c)]?.[_0x546868(0x190)];}async[_0x34ec23(0x18a)](){const _0x54cd55=_0x34ec23;return this[_0x54cd55(0x16c)]||(this[_0x54cd55(0x16c)]=this[_0x54cd55(0x17e)]()),this[_0x54cd55(0x16c)];}async[_0x34ec23(0x191)](){const _0x5c4a54=_0x34ec23,_0x1ad05a=await this[_0x5c4a54(0x18a)]();let _0x4f0744;return _0x4f0744=this[_0x5c4a54(0x180)]?this[_0x5c4a54(0x167)](_0x1ad05a,this[_0x5c4a54(0x180)]):_0x1ad05a[_0x5c4a54(0x182)](_0x1227d0=>_0x1227d0[_0x5c4a54(0x17a)]),_0x4f0744;}async[_0x34ec23(0x181)](_0x40bf67){const _0x2a9f96=_0x34ec23,_0x40e75b=await this[_0x2a9f96(0x18a)]();if(!_0x40e75b[_0x2a9f96(0x17d)])return null;if(_0x40bf67){const _0x1b84fe=this[_0x2a9f96(0x186)](_0x40e75b,_0x40bf67);if(_0x1b84fe)return _0x1b84fe;_0x41d001(_0x2a9f96(0x17f),{'modelId':_0x40bf67,'fallBackModelId':this[_0x2a9f96(0x178)]});}return this[_0x2a9f96(0x189)]();}async[_0x34ec23(0x189)](){const _0x40a421=_0x34ec23,_0x1b13e4=await this[_0x40a421(0x191)]();if(!_0x1b13e4[_0x40a421(0x17d)])return null;if(this[_0x40a421(0x178)]){const _0xb56d6e=this[_0x40a421(0x186)](_0x1b13e4,this[_0x40a421(0x178)]);if(_0xb56d6e)return _0xb56d6e;_0x41d001(_0x40a421(0x168),{'defaultModelId':this[_0x40a421(0x178)],'fallBackModelId':_0x1b13e4[0x0]['id']});}return _0x1b13e4[0x0];}async[_0x34ec23(0x18b)](_0x71d9ec){const _0x11f4ce=_0x34ec23;return(await this[_0x11f4ce(0x191)]())[_0x11f4ce(0x184)](_0x303fac=>_0x303fac[_0x11f4ce(0x17b)]===_0x71d9ec[_0x11f4ce(0x17b)]&&_0x303fac[_0x11f4ce(0x172)]===_0x71d9ec[_0x11f4ce(0x172)]);}async[_0x34ec23(0x17e)](){const _0x120d80=_0x34ec23;if(!this[_0x120d80(0x183)][_0x120d80(0x17d)])try{const _0x3f4c0b=this[_0x120d80(0x18e)][_0x120d80(0x16e)]||'en',_0x9f5b3e=this[_0x120d80(0x185)][_0x120d80(0x161)](_0x3f4c0b),_0x725bab=await _0x9f5b3e[_0x120d80(0x188)]();this[_0x120d80(0x183)]=_0x725bab[_0x120d80(0x162)][_0x120d80(0x160)](_0x4f2e51=>Mi(_0x4f2e51)?{..._0x4f2e51,'name':_0x1a8c54(this[_0x120d80(0x18e)],_0x120d80(0x171))}:_0x4f2e51);}catch(_0x1cc20d){throw _0x8a7e5a(_0x120d80(0x18f),{'error':_0x1cc20d}),_0x1cc20d;}return[...this[_0x120d80(0x183)]];}[_0x34ec23(0x167)](_0x53317e,_0x558721){const _0x2fa21c=_0x34ec23;let _0x191753;if(_0x558721){_0x191753=[];const _0x67f6b1=new Set(),_0x47122d=_0x2fa21c(0x18d)==typeof _0x558721?[_0x558721[_0x2fa21c(0x174)]()]:_0x558721[_0x2fa21c(0x160)](_0x6e03ef=>_0x6e03ef[_0x2fa21c(0x174)]());for(const _0x342aa8 of _0x47122d)for(const _0x290724 of _0x53317e)!_0x67f6b1[_0x2fa21c(0x187)](_0x290724['id'])&&this[_0x2fa21c(0x165)](_0x290724,_0x342aa8)&&(_0x191753[_0x2fa21c(0x166)](_0x290724),_0x67f6b1[_0x2fa21c(0x163)](_0x290724['id']));}else _0x191753=_0x53317e;return _0x191753;}[_0x34ec23(0x165)](_0x5b1a47,_0x323c44){const _0x493d15=_0x34ec23,_0x3e2cf0=_0x5b1a47['id'][_0x493d15(0x174)](),_0x3b765f=_0x5b1a47[_0x493d15(0x17b)][_0x493d15(0x174)](),_0x5d87d4=_0x5b1a47[_0x493d15(0x172)][_0x493d15(0x174)]();return _0x3e2cf0===_0x323c44||_0x3b765f===_0x323c44||Mi(_0x5b1a47)&&_0x493d15(0x15e)===_0x323c44||_0x5d87d4===_0x323c44||_0x3e2cf0[_0x493d15(0x173)](_0x323c44);}[_0x34ec23(0x186)](_0x358d1b,_0x29b922){const _0x3858be=_0x34ec23;return _0x358d1b[_0x3858be(0x164)](_0x1eef51=>Mi(_0x1eef51)&&_0x3858be(0x15e)===_0x29b922?_0x1eef51:_0x1eef51['id']===_0x29b922)||null;}}function Mi(_0x6b58bd){const _0x4ce994=_0x34ec23;return _0x6b58bd['id'][_0x4ce994(0x173)](_0x4ce994(0x15f));}
23
+ const _0x3461b9=_0x37d0;(function(_0x50951d,_0x5112ad){const _0x4b630f=_0x37d0,_0x3b14aa=_0x50951d();while(!![]){try{const _0x3a63a2=parseInt(_0x4b630f(0x214))/0x1*(parseInt(_0x4b630f(0x216))/0x2)+parseInt(_0x4b630f(0x1f6))/0x3*(-parseInt(_0x4b630f(0x226))/0x4)+-parseInt(_0x4b630f(0x217))/0x5+-parseInt(_0x4b630f(0x1fa))/0x6+parseInt(_0x4b630f(0x1f8))/0x7*(parseInt(_0x4b630f(0x1fd))/0x8)+-parseInt(_0x4b630f(0x201))/0x9+parseInt(_0x4b630f(0x227))/0xa;if(_0x3a63a2===_0x5112ad)break;else _0x3b14aa['push'](_0x3b14aa['shift']());}catch(_0x32ac36){_0x3b14aa['push'](_0x3b14aa['shift']());}}}(_0x2ac4,0x7e713));import{EmitterMixin as _0x57be17,logWarning as _0x2ddc76,logError as _0x4a184f}from'ckeditor5/src/utils.js';function _0x2ac4(){const _0x383133=['recommended','name','agent','17555GwCzow','provider','34XmypcD','4866105ZglfaL','getModels','_retrieveModels','length','_config','uiLanguage','map','getAll','find','_availableModels','ai-chat-model-id-unrecognized','auto','add','_locale','filter','17816dlsSHk','23213580qhmTVc','_getModelById','ai-models-unable-to-retrieve','579DtytmH','getModel','4627SjqMMT','_modelList','4731990igSXbM','isAvailable','defaultModelId','7928cGVsVy','_isMatchingFilter','ai-chat-default-model-id-unrecognized','some','1218861Omkpwv','toLocaleLowerCase','has','startsWith','getAvailableModels','_defaultModelId','AI_MODEL_NAME_AUTO','items','_connector','_modelsRequest','displayedModels','_filterModels','push','list','string','getDefault'];_0x2ac4=function(){return _0x383133;};return _0x2ac4();}import{getTranslation as _0x479504}from'../utils/common-translations.js';export class AIModels extends _0x57be17(){[_0x3461b9(0x209)];[_0x3461b9(0x21b)];[_0x3461b9(0x224)];[_0x3461b9(0x1f9)]=[];[_0x3461b9(0x20a)]=null;constructor({connector:_0x597525,config:_0x3d7366,locale:_0x5a1af8}){const _0x5b0431=_0x3461b9;super(),this[_0x5b0431(0x209)]=_0x597525,this[_0x5b0431(0x21b)]=_0x3d7366,this[_0x5b0431(0x224)]=_0x5a1af8;}get[_0x3461b9(0x220)](){const _0x24f9a3=_0x3461b9;return this[_0x24f9a3(0x21b)]?.[_0x24f9a3(0x20b)];}get[_0x3461b9(0x206)](){const _0x162e7b=_0x3461b9;return this[_0x162e7b(0x21b)]?.[_0x162e7b(0x1fc)];}async[_0x3461b9(0x21e)](){const _0x4fea0d=_0x3461b9;return this[_0x4fea0d(0x20a)]||(this[_0x4fea0d(0x20a)]=this[_0x4fea0d(0x219)]()),this[_0x4fea0d(0x20a)];}async[_0x3461b9(0x205)](){const _0x1d164d=_0x3461b9,_0x27878a=await this[_0x1d164d(0x21e)]();let _0x193ba2;return _0x193ba2=this[_0x1d164d(0x220)]?this[_0x1d164d(0x20c)](_0x27878a,this[_0x1d164d(0x220)]):_0x27878a[_0x1d164d(0x225)](_0x45fb17=>_0x45fb17[_0x1d164d(0x211)]),_0x193ba2;}async[_0x3461b9(0x1f7)](_0x2753ac){const _0x3d8c15=_0x3461b9,_0x35e489=await this[_0x3d8c15(0x21e)]();if(!_0x35e489[_0x3d8c15(0x21a)])return null;if(_0x2753ac){const _0x24115a=this[_0x3d8c15(0x1f4)](_0x35e489,_0x2753ac);if(_0x24115a)return _0x24115a;_0x2ddc76(_0x3d8c15(0x221),{'modelId':_0x2753ac,'fallBackModelId':this[_0x3d8c15(0x206)]});}return this[_0x3d8c15(0x210)]();}async[_0x3461b9(0x210)](){const _0x2cf4b9=_0x3461b9,_0x46024a=await this[_0x2cf4b9(0x205)]();if(!_0x46024a[_0x2cf4b9(0x21a)])return null;if(this[_0x2cf4b9(0x206)]){const _0x431771=this[_0x2cf4b9(0x1f4)](_0x46024a,this[_0x2cf4b9(0x206)]);if(_0x431771)return _0x431771;_0x2ddc76(_0x2cf4b9(0x1ff),{'defaultModelId':this[_0x2cf4b9(0x206)],'fallBackModelId':_0x46024a[0x0]['id']});}return _0x46024a[0x0];}async[_0x3461b9(0x1fb)](_0x5ab4b2){const _0x4a8136=_0x3461b9;return(await this[_0x4a8136(0x205)]())[_0x4a8136(0x200)](_0x542250=>_0x542250[_0x4a8136(0x212)]===_0x5ab4b2[_0x4a8136(0x212)]&&_0x542250[_0x4a8136(0x215)]===_0x5ab4b2[_0x4a8136(0x215)]);}async[_0x3461b9(0x219)](){const _0x48e6b8=_0x3461b9;if(!this[_0x48e6b8(0x1f9)][_0x48e6b8(0x21a)])try{const _0x1fb341=this[_0x48e6b8(0x224)][_0x48e6b8(0x21c)]||'en',_0x366619=this[_0x48e6b8(0x209)][_0x48e6b8(0x218)](_0x1fb341),_0x3e637a=await _0x366619[_0x48e6b8(0x20e)]();this[_0x48e6b8(0x1f9)]=_0x3e637a[_0x48e6b8(0x208)][_0x48e6b8(0x21d)](_0x50fd7a=>Mi(_0x50fd7a)?{..._0x50fd7a,'name':_0x479504(this[_0x48e6b8(0x224)],_0x48e6b8(0x207))}:_0x50fd7a);}catch(_0x2d2e6f){throw _0x4a184f(_0x48e6b8(0x1f5),{'error':_0x2d2e6f}),_0x2d2e6f;}return[...this[_0x48e6b8(0x1f9)]];}[_0x3461b9(0x20c)](_0x5996aa,_0x5dc4cb){const _0x14eb91=_0x3461b9;let _0x2a410c;if(_0x5dc4cb){_0x2a410c=[];const _0x1062ec=new Set(),_0x40f471=_0x14eb91(0x20f)==typeof _0x5dc4cb?[_0x5dc4cb[_0x14eb91(0x202)]()]:_0x5dc4cb[_0x14eb91(0x21d)](_0x13748d=>_0x13748d[_0x14eb91(0x202)]());for(const _0x11abaa of _0x40f471)for(const _0x55f40f of _0x5996aa)!_0x1062ec[_0x14eb91(0x203)](_0x55f40f['id'])&&this[_0x14eb91(0x1fe)](_0x55f40f,_0x11abaa)&&(_0x2a410c[_0x14eb91(0x20d)](_0x55f40f),_0x1062ec[_0x14eb91(0x223)](_0x55f40f['id']));}else _0x2a410c=_0x5996aa;return _0x2a410c;}[_0x3461b9(0x1fe)](_0x58ce9f,_0x33e12e){const _0x195bf5=_0x3461b9,_0x1ee8aa=_0x58ce9f['id'][_0x195bf5(0x202)](),_0x19b38d=_0x58ce9f[_0x195bf5(0x212)][_0x195bf5(0x202)](),_0x1c6abf=_0x58ce9f[_0x195bf5(0x215)][_0x195bf5(0x202)]();return _0x1ee8aa===_0x33e12e||_0x19b38d===_0x33e12e||Mi(_0x58ce9f)&&_0x195bf5(0x222)===_0x33e12e||_0x1c6abf===_0x33e12e||_0x1ee8aa[_0x195bf5(0x204)](_0x33e12e);}[_0x3461b9(0x1f4)](_0x2bd955,_0x3d5b93){const _0x53eded=_0x3461b9;return _0x2bd955[_0x53eded(0x21f)](_0xaf351d=>Mi(_0xaf351d)&&_0x53eded(0x222)===_0x3d5b93?_0xaf351d:_0xaf351d['id']===_0x3d5b93)||null;}}function _0x37d0(_0x367ee8,_0x19d4af){const _0x2ac49f=_0x2ac4();return _0x37d0=function(_0x37d0b5,_0x57dd6c){_0x37d0b5=_0x37d0b5-0x1f4;let _0x2fa6c9=_0x2ac49f[_0x37d0b5];return _0x2fa6c9;},_0x37d0(_0x367ee8,_0x19d4af);}function Mi(_0xfc023a){const _0x48df76=_0x3461b9;return _0xfc023a['id'][_0x48df76(0x204)](_0x48df76(0x213));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d5b1c=_0x2f9d;(function(_0x5901f2,_0x2000ae){const _0x5e4c6a=_0x2f9d,_0x455000=_0x5901f2();while(!![]){try{const _0x523246=-parseInt(_0x5e4c6a(0x1ae))/0x1*(-parseInt(_0x5e4c6a(0x190))/0x2)+-parseInt(_0x5e4c6a(0x1c9))/0x3+-parseInt(_0x5e4c6a(0x18d))/0x4*(-parseInt(_0x5e4c6a(0x1c2))/0x5)+parseInt(_0x5e4c6a(0x1ce))/0x6*(-parseInt(_0x5e4c6a(0x1bc))/0x7)+parseInt(_0x5e4c6a(0x196))/0x8*(-parseInt(_0x5e4c6a(0x1b5))/0x9)+parseInt(_0x5e4c6a(0x1c4))/0xa*(parseInt(_0x5e4c6a(0x19d))/0xb)+-parseInt(_0x5e4c6a(0x184))/0xc*(-parseInt(_0x5e4c6a(0x1bb))/0xd);if(_0x523246===_0x2000ae)break;else _0x455000['push'](_0x455000['shift']());}catch(_0xaf12e3){_0x455000['push'](_0x455000['shift']());}}}(_0x441c,0x9174f));import{CKEditorError as _0x69dba,ObservableMixin as _0x3e332e,uid as _0x41558e}from'ckeditor5/src/utils.js';import{Element as _0x32d893,findAll as _0xdecbc3,getAttribute as _0x341a39,getParents as _0x2cc929,Document as _0x56f944,parse as _0x37a537,Text as _0x19d853}from'../utils/htmlparser.js';import{AIResponseParser as _0x1aaa8f}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x45faf0}from'../pipeline/airesponseapplier.js';import{getSuggestionPartsFromReply as _0x552929}from'../utils/getsuggestionpartsfromreply.js';function _0x441c(){const _0x3f75b2=['updateChangeGroups','withoutDiff','map','changes','modified','1518BgprCd','setChangeGroupState','newNodeIds','editor','every','AI_SUGGESTION_CONTENT_PART_REMOVED','convertMarkdownToHTML','set','change:content','context','filter','includes','_getCachedContentParts','removedNodeIds','documentContextContent','aiResponseParser','parseAndNormalizeHTML','838YXkTYF','isDone','find','previousSibling','modifiedNodeIds','withDiff','locale','9mjvEEc','indexOf','new','done','splice','destroy','525031lRfUvV','7eDjLks','push','merge','node','replyContentUpdated','appendContent','10jCIYEB','fire','79510KNarQl','ai-get-editor-from-context-no-editor','data-id','changeGroups','interactionId','2283168CNxjLD','ai-reply-get-content-parts-group-not-found','aiResponseApplier','_setCachedContentParts','cloneNode','2873634kGwHgK','forEach','modification','removed','sources','content','length','areActionsDisabled','parsedMergedContent','276QHatoO','state','getContentParts','type','parsedContent','onContentChange','index','unshift','stopListening','1688268OFIvPV','nextSibling','color:\x20#808080;\x20font-style:\x20italic','190CIndmF','cachedSuggestionContentParts','span','replyChangeGroupStateUpdated','_getDifferentChangeGroups','data-unstable','8912776QnedeQ','pending'];_0x441c=function(){return _0x3f75b2;};return _0x441c();}function _0x2f9d(_0x568d67,_0x41c642){const _0x441cc9=_0x441c();return _0x2f9d=function(_0x2f9de4,_0x1063db){_0x2f9de4=_0x2f9de4-0x17d;let _0x4fa8dc=_0x441cc9[_0x2f9de4];return _0x4fa8dc;},_0x2f9d(_0x568d67,_0x41c642);}import{getTranslation as _0x93bbad}from'../utils/common-translations.js';import{cloneDeep as _0xdda41}from'es-toolkit';export class AIReply extends _0x3e332e(){['id'];[_0x4d5b1c(0x1c8)];[_0x4d5b1c(0x187)];[_0x4d5b1c(0x17f)]=[];[_0x4d5b1c(0x188)]=new _0x56f944([]);[_0x4d5b1c(0x183)]=new _0x56f944([]);[_0x4d5b1c(0x1c7)]=[];[_0x4d5b1c(0x182)]=!0x1;[_0x4d5b1c(0x1ab)];[_0x4d5b1c(0x1ac)];[_0x4d5b1c(0x1cb)];[_0x4d5b1c(0x1a0)];[_0x4d5b1c(0x191)]={'withDiff':[],'withoutDiff':[]};constructor({type:_0x2015e4,content:_0x1b4ce9='',isDone:_0x3d8e8f=!0x1,interactionId:_0x1bb853,areActionsDisabled:_0x3459c6,documentContextContent:_0x533453,editor:_0x5e9f07,id:_0x4d7b15}){const _0x30e3ca=_0x4d5b1c;super(),this['id']=_0x4d7b15||_0x41558e(),this[_0x30e3ca(0x1c8)]=_0x1bb853,this[_0x30e3ca(0x187)]=_0x2015e4,this[_0x30e3ca(0x182)]=!!_0x3459c6,this[_0x30e3ca(0x1a0)]=_0x5e9f07,this[_0x30e3ca(0x1ac)]=new _0x1aaa8f(),this[_0x30e3ca(0x1cb)]=new _0x45faf0(),this[_0x30e3ca(0x1ab)]=_0x37a537(_0x533453||''),this[_0x30e3ca(0x1a4)](_0x30e3ca(0x1af),_0x3d8e8f),this['on'](_0x30e3ca(0x1a5),()=>{const _0x1d2b44=_0x30e3ca;this[_0x1d2b44(0x189)]();}),this[_0x30e3ca(0x1a4)](_0x30e3ca(0x180),_0x1b4ce9);}[_0x4d5b1c(0x1c1)](_0x1b0245){const _0x4d9e43=_0x4d5b1c;this[_0x4d9e43(0x1a4)](_0x4d9e43(0x180),this[_0x4d9e43(0x180)]+_0x1b0245);}[_0x4d5b1c(0x1b8)](){const _0x15e493=_0x4d5b1c;this[_0x15e493(0x1af)]||(this[_0x15e493(0x1a4)](_0x15e493(0x1af),!0x0),this[_0x15e493(0x189)]());}[_0x4d5b1c(0x1ba)](){const _0x4fc714=_0x4d5b1c;this[_0x4fc714(0x18c)]();}[_0x4d5b1c(0x19e)](_0xbf97b0,_0x2373f8){const _0xd337b4=_0x4d5b1c;this[_0xd337b4(0x1c7)][_0xbf97b0][_0xd337b4(0x185)]=_0x2373f8,this[_0xd337b4(0x1c3)](_0xd337b4(0x193),{'reply':this,'index':_0xbf97b0,'state':_0x2373f8});}[_0x4d5b1c(0x186)]({showDiff:_0x58f9c0,groupIndex:_0x5c8c45}){const _0x4636fd=_0x4d5b1c;if(!this[_0x4636fd(0x1a0)])throw new _0x69dba(_0x4636fd(0x1c5),null,{'aiReply':this});const _0x52e3e3=this[_0x4636fd(0x1a9)](_0x58f9c0,_0x5c8c45);if(_0x52e3e3)return _0x52e3e3;let _0x165322=[];if(void 0x0===_0x5c8c45)_0x165322=this[_0x4636fd(0x1c7)];else{const _0x40d3cc=this[_0x4636fd(0x1c7)][_0x4636fd(0x1b0)](({index:_0x2e033e})=>_0x2e033e===_0x5c8c45);if(!_0x40d3cc)throw new _0x69dba(_0x4636fd(0x1ca),null,{'aiReply':this,'groupIndex':_0x5c8c45});_0x165322=[_0x40d3cc];}const _0x1ac291=_0x552929({'editor':this[_0x4636fd(0x1a0)],'showDiff':_0x58f9c0,'changeGroups':_0x165322,'documentContextContent':this[_0x4636fd(0x1ab)]});return this[_0x4636fd(0x1cc)](_0x58f9c0,_0x1ac291),_0x1ac291;}[_0x4d5b1c(0x1a9)](_0x3bb2a8,_0x3a44ce){const _0x5ef897=_0x4d5b1c,_0x3b5663=_0x3bb2a8?_0x5ef897(0x1b3):_0x5ef897(0x199);if(!this[_0x5ef897(0x191)][_0x3b5663][_0x5ef897(0x181)])return null;const _0x2d942e=this[_0x5ef897(0x191)][_0x3b5663];if(void 0x0===_0x3a44ce)return _0x2d942e[_0x5ef897(0x181)]>0x0&&_0x2d942e[_0x5ef897(0x181)]!==this[_0x5ef897(0x1c7)][_0x5ef897(0x181)]?(this[_0x5ef897(0x1cc)](_0x3bb2a8,null),null):_0xdda41(_0x2d942e);{const _0x385cf2=_0x2d942e[_0x5ef897(0x1b0)](({index:_0x47024c})=>_0x47024c===_0x3a44ce);if(_0x385cf2)return[_0xdda41(_0x385cf2)];}return null;}[_0x4d5b1c(0x1cc)](_0x31488d,_0x5139b1){const _0x1d9641=_0x4d5b1c,_0x2fe619=_0x31488d?_0x1d9641(0x1b3):_0x1d9641(0x199);_0x5139b1?_0x5139b1[_0x1d9641(0x1cf)](_0xdb09e6=>{const _0x4ad6df=_0x1d9641,_0xd950d1=this[_0x4ad6df(0x191)][_0x2fe619],_0x20bfbb=_0xd950d1[_0x4ad6df(0x1b0)](({index:_0x4bb910})=>_0x4bb910===_0xdb09e6[_0x4ad6df(0x18a)]);if(_0x20bfbb){const _0x1e4cec=_0xd950d1[_0x4ad6df(0x1b6)](_0x20bfbb);_0xd950d1[_0x4ad6df(0x1b9)](_0x1e4cec,0x1,_0xdb09e6);}else _0xd950d1[_0x4ad6df(0x1bd)](_0xdb09e6);}):this[_0x1d9641(0x191)][_0x2fe619][_0x1d9641(0x181)]=0x0;}[_0x4d5b1c(0x189)](){const _0x416022=_0x4d5b1c;if(_0x416022(0x17d)===this[_0x416022(0x187)]){this[_0x416022(0x188)]=this[_0x416022(0x1ac)][_0x416022(0x1ad)](this[_0x416022(0x180)]);const _0x557707=this[_0x416022(0x1c7)];this[_0x416022(0x198)]();const _0x2f26a4=this[_0x416022(0x194)](_0x557707,this[_0x416022(0x1c7)]);(_0x2f26a4[_0x416022(0x181)]||this[_0x416022(0x1af)])&&(this[_0x416022(0x1c3)](_0x416022(0x1c0),this,_0x2f26a4),this[_0x416022(0x191)][_0x416022(0x1b3)][_0x416022(0x181)]=this[_0x416022(0x191)][_0x416022(0x199)][_0x416022(0x181)]=0x0);}else this[_0x416022(0x188)]=this[_0x416022(0x1ac)][_0x416022(0x1a3)](this[_0x416022(0x180)]),this[_0x416022(0x1c3)](_0x416022(0x1c0),this);}[_0x4d5b1c(0x194)](_0x32eaed,_0x275ca8){const _0xbc8508=_0x4d5b1c,_0x567efc=[];for(const _0x3ea424 of _0x275ca8){const _0x327c80=_0x32eaed[_0x3ea424[_0xbc8508(0x18a)]];_0x327c80?_0x327c80[_0xbc8508(0x19b)][_0xbc8508(0x181)]!==_0x3ea424[_0xbc8508(0x19b)][_0xbc8508(0x181)]?_0x567efc[_0xbc8508(0x1bd)](_0x3ea424):_0x327c80[_0xbc8508(0x19b)][_0xbc8508(0x1cf)]((_0x44d310,_0x1444cd)=>{const _0x21ecc6=_0xbc8508,_0x34470a=_0x3ea424[_0x21ecc6(0x19b)][_0x1444cd];_0x44d310['id']!==_0x34470a['id']&&_0x567efc[_0x21ecc6(0x1bd)](_0x3ea424);}):_0x567efc[_0xbc8508(0x1bd)](_0x3ea424);}return _0x567efc;}[_0x4d5b1c(0x198)](){const _0x41ad3f=_0x4d5b1c,_0x4aee95=new _0x32d893('p',{},[new _0x32d893(_0x41ad3f(0x192),{'style':_0x41ad3f(0x18f)},[new _0x19d853(_0x93bbad(this[_0x41ad3f(0x1a0)][_0x41ad3f(0x1b4)],_0x41ad3f(0x1a2)))])]),_0x49cdac=this[_0x41ad3f(0x1cb)][_0x41ad3f(0x1be)](this[_0x41ad3f(0x188)],this[_0x41ad3f(0x1ab)][_0x41ad3f(0x1cd)](!0x0),{'markUnstableElements':!this[_0x41ad3f(0x1af)],'replaceRemovedWith':_0x4aee95,'cutAfterLastChange':!this[_0x41ad3f(0x1af)]});if(!_0x49cdac[_0x41ad3f(0x1b2)][_0x41ad3f(0x181)]&&!this[_0x41ad3f(0x1af)])return;this[_0x41ad3f(0x183)]=_0x49cdac[_0x41ad3f(0x188)];let _0x496bad=[];if(_0xdecbc3(_0x3651ea=>{const _0x2f4ebb=_0x41ad3f,_0x2a4d01=_0x341a39(_0x3651ea,_0x2f4ebb(0x1c6));if(!_0x2a4d01||!_0x349663(_0x2a4d01))return!0x1;const _0x29e34b=[_0x3651ea,..._0x2cc929(_0x3651ea)]['at'](-0x2);if(_0x3651ea!=_0x29e34b){const _0x338213=_0x341a39(_0x29e34b,_0x2f4ebb(0x1c6));_0x349663(_0x338213)||(_0x496bad[_0x2f4ebb(0x1bd)]({'node':_0x29e34b,'id':_0x338213,'type':_0x2f4ebb(0x19c)}),_0x49cdac[_0x2f4ebb(0x1b2)][_0x2f4ebb(0x1bd)](_0x338213));}else _0x49cdac[_0x2f4ebb(0x1b2)][_0x2f4ebb(0x1a8)](_0x2a4d01)?_0x496bad[_0x2f4ebb(0x1bd)]({'node':_0x3651ea,'type':_0x2f4ebb(0x19c),'id':_0x2a4d01}):_0x49cdac[_0x2f4ebb(0x19f)][_0x2f4ebb(0x1a8)](_0x2a4d01)?_0x496bad[_0x2f4ebb(0x1bd)]({'node':_0x3651ea,'type':_0x2f4ebb(0x1b7),'id':_0x2a4d01,'anchorId':_0x341a39(_0x3651ea[_0x2f4ebb(0x1b1)],_0x2f4ebb(0x1c6))}):_0x496bad[_0x2f4ebb(0x1bd)]({'node':_0x3651ea,'type':_0x2f4ebb(0x17e),'id':_0x2a4d01});return!0x0;},this[_0x41ad3f(0x183)]),_0x496bad=_0x496bad[_0x41ad3f(0x1a7)](({node:_0x43d8f4})=>[..._0x2cc929(_0x43d8f4),_0x43d8f4][_0x41ad3f(0x1a1)](_0x5456c6=>!_0x341a39(_0x5456c6,_0x41ad3f(0x195)))),0x0==_0x496bad[_0x41ad3f(0x181)])return;const _0x14f94b=[[_0x496bad[0x0]]];for(let _0x53d9e8=0x1;_0x53d9e8<_0x496bad[_0x41ad3f(0x181)];_0x53d9e8++){const _0x3c5234=_0x14f94b[_0x14f94b[_0x41ad3f(0x181)]-0x1],_0x3de1a7=_0x3c5234[_0x3c5234[_0x41ad3f(0x181)]-0x1];_0x496bad[_0x53d9e8][_0x41ad3f(0x1bf)][_0x41ad3f(0x1b1)]==_0x3de1a7[_0x41ad3f(0x1bf)]&&_0x41ad3f(0x19c)!=_0x496bad[_0x53d9e8][_0x41ad3f(0x187)]&&_0x41ad3f(0x19c)!=_0x3de1a7[_0x41ad3f(0x187)]?_0x3c5234[_0x41ad3f(0x1bd)](_0x496bad[_0x53d9e8]):_0x14f94b[_0x41ad3f(0x1bd)]([_0x496bad[_0x53d9e8]]);}for(const _0x122b17 of _0x14f94b){const _0x429bad=_0x122b17[0x0],_0x1e3da7=_0x122b17[_0x122b17[_0x41ad3f(0x181)]-0x1],_0x15cdea=_0x4d9479(_0x429bad[_0x41ad3f(0x1bf)][_0x41ad3f(0x1b1)]);_0x15cdea&&_0x122b17[_0x41ad3f(0x18b)](_0x15cdea);const _0xd8a5ba=_0x4d9479(_0x1e3da7[_0x41ad3f(0x1bf)][_0x41ad3f(0x18e)]);_0xd8a5ba&&_0x122b17[_0x41ad3f(0x1bd)](_0xd8a5ba);}function _0x349663(_0x391ee9){const _0x240473=_0x41ad3f;return _0x49cdac[_0x240473(0x1b2)][_0x240473(0x1a8)](_0x391ee9)||_0x49cdac[_0x240473(0x19f)][_0x240473(0x1a8)](_0x391ee9)||_0x49cdac[_0x240473(0x1aa)][_0x240473(0x1a8)](_0x391ee9);}function _0x4d9479(_0x24649f){const _0x15c1d1=_0x41ad3f;if(_0x24649f&&_0x341a39(_0x24649f,_0x15c1d1(0x1c6))&&!_0x341a39(_0x24649f,_0x15c1d1(0x195))){const _0x1e5b01=_0x341a39(_0x24649f,_0x15c1d1(0x1c6));if(!_0x349663(_0x1e5b01))return{'node':_0x24649f,'type':_0x15c1d1(0x1a6),'id':_0x1e5b01};}return null;}this[_0x41ad3f(0x1c7)]=_0x14f94b[_0x41ad3f(0x19a)]((_0x49ec4e,_0x8f68dc)=>({'changes':_0x49ec4e,'state':_0x41ad3f(0x197),'index':_0x8f68dc}));}}
23
+ const _0xa043e6=_0x5699;(function(_0x549a53,_0x4a5b84){const _0x5b6abb=_0x5699,_0x578cdd=_0x549a53();while(!![]){try{const _0x17c6da=parseInt(_0x5b6abb(0x1a3))/0x1*(parseInt(_0x5b6abb(0x1ba))/0x2)+-parseInt(_0x5b6abb(0x1e5))/0x3*(-parseInt(_0x5b6abb(0x1ea))/0x4)+-parseInt(_0x5b6abb(0x1eb))/0x5+-parseInt(_0x5b6abb(0x1cc))/0x6+-parseInt(_0x5b6abb(0x1a7))/0x7*(-parseInt(_0x5b6abb(0x1ab))/0x8)+-parseInt(_0x5b6abb(0x1d1))/0x9+parseInt(_0x5b6abb(0x1a0))/0xa*(parseInt(_0x5b6abb(0x1b0))/0xb);if(_0x17c6da===_0x4a5b84)break;else _0x578cdd['push'](_0x578cdd['shift']());}catch(_0x236b7a){_0x578cdd['push'](_0x578cdd['shift']());}}}(_0x4bd6,0x4c4ff));import{CKEditorError as _0x13bf89,ObservableMixin as _0x30607b,uid as _0x3a4970}from'ckeditor5/src/utils.js';import{Element as _0x158042,findAll as _0x192198,getAttribute as _0x4e3334,getParents as _0x95013d,Document as _0x10b70b,parse as _0x2a9ea2,Text as _0x19117a}from'../utils/htmlparser.js';import{AIResponseParser as _0x50a6e8}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x1ec513}from'../pipeline/airesponseapplier.js';function _0x5699(_0x126393,_0x1365a1){const _0x4bd656=_0x4bd6();return _0x5699=function(_0x5699e9,_0x24fae1){_0x5699e9=_0x5699e9-0x19d;let _0x261d7f=_0x4bd656[_0x5699e9];return _0x261d7f;},_0x5699(_0x126393,_0x1365a1);}import{getSuggestionPartsFromReply as _0x25c559}from'../utils/getsuggestionpartsfromreply.js';import{getTranslation as _0x1171ee}from'../utils/common-translations.js';import{cloneDeep as _0x5311a0}from'es-toolkit';function _0x4bd6(){const _0x34ad60=['fire','set','locale','setChangeGroupState','ai-get-editor-from-context-no-editor','cachedSuggestionContentParts','index','includes','appendContent','parseAndNormalizeHTML','splice','AI_SUGGESTION_CONTENT_PART_REMOVED','areActionsDisabled','3YEppqg','data-id','stopListening','forEach','replyChangeGroupStateUpdated','2379752RhVOrI','1030865JJQapV','getContentParts','span','context','new','unshift','1115430RIVtgP','data-unstable','withoutDiff','6700CYvSdn','modified','documentContextContent','cloneNode','2842091RFSapV','find','_getCachedContentParts','modifiedNodeIds','8fUxyzq','parsedMergedContent','indexOf','filter','updateChangeGroups','11psPjEy','changeGroups','state','convertMarkdownToHTML','aiResponseParser','isDone','onContentChange','aiResponseApplier','modification','color:\x20#808080;\x20font-style:\x20italic','98pUAvHA','destroy','replyContentUpdated','withDiff','removedNodeIds','length','content','done','previousSibling','ai-reply-get-content-parts-group-not-found','node','push','parsedContent','changes','map','sources','pending','removed','2981916SLvsSR','type','editor','merge','nextSibling','3825540zCpvNy','newNodeIds','_setCachedContentParts','interactionId','_getDifferentChangeGroups','change:content','every'];_0x4bd6=function(){return _0x34ad60;};return _0x4bd6();}export class AIReply extends _0x30607b(){['id'];[_0xa043e6(0x1d4)];[_0xa043e6(0x1cd)];[_0xa043e6(0x1c9)]=[];[_0xa043e6(0x1c6)]=new _0x10b70b([]);[_0xa043e6(0x1ac)]=new _0x10b70b([]);[_0xa043e6(0x1b1)]=[];[_0xa043e6(0x1e4)]=!0x1;[_0xa043e6(0x1a5)];[_0xa043e6(0x1b4)];[_0xa043e6(0x1b7)];[_0xa043e6(0x1ce)];[_0xa043e6(0x1dd)]={'withDiff':[],'withoutDiff':[]};constructor({type:_0x2bb556,content:_0x50bc97='',isDone:_0x47e95e=!0x1,interactionId:_0x35dd5d,areActionsDisabled:_0x40fd67,documentContextContent:_0x3713ca,editor:_0x572d56,id:_0x552cef}){const _0x56a097=_0xa043e6;super(),this['id']=_0x552cef||_0x3a4970(),this[_0x56a097(0x1d4)]=_0x35dd5d,this[_0x56a097(0x1cd)]=_0x2bb556,this[_0x56a097(0x1e4)]=!!_0x40fd67,this[_0x56a097(0x1ce)]=_0x572d56,this[_0x56a097(0x1b4)]=new _0x50a6e8(),this[_0x56a097(0x1b7)]=new _0x1ec513(),this[_0x56a097(0x1a5)]=_0x2a9ea2(_0x3713ca||''),this[_0x56a097(0x1d9)](_0x56a097(0x1b5),_0x47e95e),this['on'](_0x56a097(0x1d6),()=>{const _0x4e5762=_0x56a097;this[_0x4e5762(0x1b6)]();}),this[_0x56a097(0x1d9)](_0x56a097(0x1c0),_0x50bc97);}[_0xa043e6(0x1e0)](_0x1726ee){const _0x936a3a=_0xa043e6;this[_0x936a3a(0x1d9)](_0x936a3a(0x1c0),this[_0x936a3a(0x1c0)]+_0x1726ee);}[_0xa043e6(0x1c1)](){const _0x57ce83=_0xa043e6;this[_0x57ce83(0x1b5)]||(this[_0x57ce83(0x1d9)](_0x57ce83(0x1b5),!0x0),this[_0x57ce83(0x1b6)]());}[_0xa043e6(0x1bb)](){const _0x48c805=_0xa043e6;this[_0x48c805(0x1e7)]();}[_0xa043e6(0x1db)](_0x382366,_0x99a584){const _0x45e54=_0xa043e6;this[_0x45e54(0x1b1)][_0x382366][_0x45e54(0x1b2)]=_0x99a584,this[_0x45e54(0x1d8)](_0x45e54(0x1e9),{'reply':this,'index':_0x382366,'state':_0x99a584});}[_0xa043e6(0x1ec)]({showDiff:_0x94b84d,groupIndex:_0x5f32e7}){const _0x553b87=_0xa043e6;if(!this[_0x553b87(0x1ce)])throw new _0x13bf89(_0x553b87(0x1dc),null,{'aiReply':this});const _0x4a7c32=this[_0x553b87(0x1a9)](_0x94b84d,_0x5f32e7);if(_0x4a7c32)return _0x4a7c32;let _0x42bee5=[];if(void 0x0===_0x5f32e7)_0x42bee5=this[_0x553b87(0x1b1)];else{const _0x5e62d2=this[_0x553b87(0x1b1)][_0x553b87(0x1a8)](({index:_0x7e9bd8})=>_0x7e9bd8===_0x5f32e7);if(!_0x5e62d2)throw new _0x13bf89(_0x553b87(0x1c3),null,{'aiReply':this,'groupIndex':_0x5f32e7});_0x42bee5=[_0x5e62d2];}const _0x4c2fa3=_0x25c559({'editor':this[_0x553b87(0x1ce)],'showDiff':_0x94b84d,'changeGroups':_0x42bee5,'documentContextContent':this[_0x553b87(0x1a5)]});return this[_0x553b87(0x1d3)](_0x94b84d,_0x4c2fa3),_0x4c2fa3;}[_0xa043e6(0x1a9)](_0x4a68f9,_0x3c6a26){const _0x3cd915=_0xa043e6,_0x27488a=_0x4a68f9?_0x3cd915(0x1bd):_0x3cd915(0x1a2);if(!this[_0x3cd915(0x1dd)][_0x27488a][_0x3cd915(0x1bf)])return null;const _0xb6be1=this[_0x3cd915(0x1dd)][_0x27488a];if(void 0x0===_0x3c6a26)return _0xb6be1[_0x3cd915(0x1bf)]>0x0&&_0xb6be1[_0x3cd915(0x1bf)]!==this[_0x3cd915(0x1b1)][_0x3cd915(0x1bf)]?(this[_0x3cd915(0x1d3)](_0x4a68f9,null),null):_0x5311a0(_0xb6be1);{const _0x32dff9=_0xb6be1[_0x3cd915(0x1a8)](({index:_0x44438d})=>_0x44438d===_0x3c6a26);if(_0x32dff9)return[_0x5311a0(_0x32dff9)];}return null;}[_0xa043e6(0x1d3)](_0x4b620b,_0x4f8a1a){const _0xcf8aa5=_0xa043e6,_0x2b8e63=_0x4b620b?_0xcf8aa5(0x1bd):_0xcf8aa5(0x1a2);_0x4f8a1a?_0x4f8a1a[_0xcf8aa5(0x1e8)](_0x3d76e2=>{const _0x2108f7=_0xcf8aa5,_0x13d0e2=this[_0x2108f7(0x1dd)][_0x2b8e63],_0x18183e=_0x13d0e2[_0x2108f7(0x1a8)](({index:_0x5adec6})=>_0x5adec6===_0x3d76e2[_0x2108f7(0x1de)]);if(_0x18183e){const _0x2f9f35=_0x13d0e2[_0x2108f7(0x1ad)](_0x18183e);_0x13d0e2[_0x2108f7(0x1e2)](_0x2f9f35,0x1,_0x3d76e2);}else _0x13d0e2[_0x2108f7(0x1c5)](_0x3d76e2);}):this[_0xcf8aa5(0x1dd)][_0x2b8e63][_0xcf8aa5(0x1bf)]=0x0;}[_0xa043e6(0x1b6)](){const _0x106129=_0xa043e6;if(_0x106129(0x1b8)===this[_0x106129(0x1cd)]){this[_0x106129(0x1c6)]=this[_0x106129(0x1b4)][_0x106129(0x1e1)](this[_0x106129(0x1c0)]);const _0x124392=this[_0x106129(0x1b1)];this[_0x106129(0x1af)]();const _0x3489d4=this[_0x106129(0x1d5)](_0x124392,this[_0x106129(0x1b1)]);(_0x3489d4[_0x106129(0x1bf)]||this[_0x106129(0x1b5)])&&(this[_0x106129(0x1d8)](_0x106129(0x1bc),this,_0x3489d4),this[_0x106129(0x1dd)][_0x106129(0x1bd)][_0x106129(0x1bf)]=this[_0x106129(0x1dd)][_0x106129(0x1a2)][_0x106129(0x1bf)]=0x0);}else this[_0x106129(0x1c6)]=this[_0x106129(0x1b4)][_0x106129(0x1b3)](this[_0x106129(0x1c0)]),this[_0x106129(0x1d8)](_0x106129(0x1bc),this);}[_0xa043e6(0x1d5)](_0x46130d,_0x392fc5){const _0x2f2fb5=_0xa043e6,_0x2f518d=[];for(const _0x23826e of _0x392fc5){const _0x4b6baa=_0x46130d[_0x23826e[_0x2f2fb5(0x1de)]];_0x4b6baa?_0x4b6baa[_0x2f2fb5(0x1c7)][_0x2f2fb5(0x1bf)]!==_0x23826e[_0x2f2fb5(0x1c7)][_0x2f2fb5(0x1bf)]?_0x2f518d[_0x2f2fb5(0x1c5)](_0x23826e):_0x4b6baa[_0x2f2fb5(0x1c7)][_0x2f2fb5(0x1e8)]((_0xa5dc5,_0x3f9617)=>{const _0x14583d=_0x2f2fb5,_0x163c03=_0x23826e[_0x14583d(0x1c7)][_0x3f9617];_0xa5dc5['id']!==_0x163c03['id']&&_0x2f518d[_0x14583d(0x1c5)](_0x23826e);}):_0x2f518d[_0x2f2fb5(0x1c5)](_0x23826e);}return _0x2f518d;}[_0xa043e6(0x1af)](){const _0xa3a849=_0xa043e6,_0x55637e=new _0x158042('p',{},[new _0x158042(_0xa3a849(0x1ed),{'style':_0xa3a849(0x1b9)},[new _0x19117a(_0x1171ee(this[_0xa3a849(0x1ce)][_0xa3a849(0x1da)],_0xa3a849(0x1e3)))])]),_0x1725f9=this[_0xa3a849(0x1b7)][_0xa3a849(0x1cf)](this[_0xa3a849(0x1c6)],this[_0xa3a849(0x1a5)][_0xa3a849(0x1a6)](!0x0),{'markUnstableElements':!this[_0xa3a849(0x1b5)],'replaceRemovedWith':_0x55637e,'cutAfterLastChange':!this[_0xa3a849(0x1b5)]});if(!_0x1725f9[_0xa3a849(0x1aa)][_0xa3a849(0x1bf)]&&!this[_0xa3a849(0x1b5)])return;this[_0xa3a849(0x1ac)]=_0x1725f9[_0xa3a849(0x1c6)];let _0x4c75eb=[];if(_0x192198(_0x555f22=>{const _0x393e96=_0xa3a849,_0x26b07e=_0x4e3334(_0x555f22,_0x393e96(0x1e6));if(!_0x26b07e||!_0x24a6bc(_0x26b07e))return!0x1;const _0x4eb4b7=[_0x555f22,..._0x95013d(_0x555f22)]['at'](-0x2);if(_0x555f22!=_0x4eb4b7){const _0x1fe722=_0x4e3334(_0x4eb4b7,_0x393e96(0x1e6));_0x24a6bc(_0x1fe722)||(_0x4c75eb[_0x393e96(0x1c5)]({'node':_0x4eb4b7,'id':_0x1fe722,'type':_0x393e96(0x1a4)}),_0x1725f9[_0x393e96(0x1aa)][_0x393e96(0x1c5)](_0x1fe722));}else _0x1725f9[_0x393e96(0x1aa)][_0x393e96(0x1df)](_0x26b07e)?_0x4c75eb[_0x393e96(0x1c5)]({'node':_0x555f22,'type':_0x393e96(0x1a4),'id':_0x26b07e}):_0x1725f9[_0x393e96(0x1d2)][_0x393e96(0x1df)](_0x26b07e)?_0x4c75eb[_0x393e96(0x1c5)]({'node':_0x555f22,'type':_0x393e96(0x19e),'id':_0x26b07e,'anchorId':_0x4e3334(_0x555f22[_0x393e96(0x1c2)],_0x393e96(0x1e6))}):_0x4c75eb[_0x393e96(0x1c5)]({'node':_0x555f22,'type':_0x393e96(0x1cb),'id':_0x26b07e});return!0x0;},this[_0xa3a849(0x1ac)]),_0x4c75eb=_0x4c75eb[_0xa3a849(0x1ae)](({node:_0x1dee76})=>[..._0x95013d(_0x1dee76),_0x1dee76][_0xa3a849(0x1d7)](_0x2f087b=>!_0x4e3334(_0x2f087b,_0xa3a849(0x1a1)))),0x0==_0x4c75eb[_0xa3a849(0x1bf)])return;const _0x4f159a=[[_0x4c75eb[0x0]]];for(let _0x5deaac=0x1;_0x5deaac<_0x4c75eb[_0xa3a849(0x1bf)];_0x5deaac++){const _0x313d4c=_0x4f159a[_0x4f159a[_0xa3a849(0x1bf)]-0x1],_0x10db57=_0x313d4c[_0x313d4c[_0xa3a849(0x1bf)]-0x1];_0x4c75eb[_0x5deaac][_0xa3a849(0x1c4)][_0xa3a849(0x1c2)]==_0x10db57[_0xa3a849(0x1c4)]&&_0xa3a849(0x1a4)!=_0x4c75eb[_0x5deaac][_0xa3a849(0x1cd)]&&_0xa3a849(0x1a4)!=_0x10db57[_0xa3a849(0x1cd)]?_0x313d4c[_0xa3a849(0x1c5)](_0x4c75eb[_0x5deaac]):_0x4f159a[_0xa3a849(0x1c5)]([_0x4c75eb[_0x5deaac]]);}for(const _0x2bb3d9 of _0x4f159a){const _0x238299=_0x2bb3d9[0x0],_0x41d413=_0x2bb3d9[_0x2bb3d9[_0xa3a849(0x1bf)]-0x1],_0x3ab2a7=_0x5afc88(_0x238299[_0xa3a849(0x1c4)][_0xa3a849(0x1c2)]);_0x3ab2a7&&_0x2bb3d9[_0xa3a849(0x19f)](_0x3ab2a7);const _0x5b6499=_0x5afc88(_0x41d413[_0xa3a849(0x1c4)][_0xa3a849(0x1d0)]);_0x5b6499&&_0x2bb3d9[_0xa3a849(0x1c5)](_0x5b6499);}function _0x24a6bc(_0x117ace){const _0x2e75bc=_0xa3a849;return _0x1725f9[_0x2e75bc(0x1aa)][_0x2e75bc(0x1df)](_0x117ace)||_0x1725f9[_0x2e75bc(0x1d2)][_0x2e75bc(0x1df)](_0x117ace)||_0x1725f9[_0x2e75bc(0x1be)][_0x2e75bc(0x1df)](_0x117ace);}function _0x5afc88(_0xbf39b8){const _0x3af03e=_0xa3a849;if(_0xbf39b8&&_0x4e3334(_0xbf39b8,_0x3af03e(0x1e6))&&!_0x4e3334(_0xbf39b8,_0x3af03e(0x1a1))){const _0x47ea4b=_0x4e3334(_0xbf39b8,_0x3af03e(0x1e6));if(!_0x24a6bc(_0x47ea4b))return{'node':_0xbf39b8,'type':_0x3af03e(0x19d),'id':_0x47ea4b};}return null;}this[_0xa3a849(0x1b1)]=_0x4f159a[_0xa3a849(0x1c8)]((_0x4674e5,_0x4737aa)=>({'changes':_0x4674e5,'state':_0xa3a849(0x1ca),'index':_0x4737aa}));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x420e15=_0x1bee;(function(_0x1c4a89,_0x3164d9){const _0x479d13=_0x1bee,_0x18577c=_0x1c4a89();while(!![]){try{const _0x47fb61=-parseInt(_0x479d13(0x19a))/0x1+parseInt(_0x479d13(0x18d))/0x2*(parseInt(_0x479d13(0x1b2))/0x3)+parseInt(_0x479d13(0x1b5))/0x4+-parseInt(_0x479d13(0x1be))/0x5+parseInt(_0x479d13(0x192))/0x6+parseInt(_0x479d13(0x19c))/0x7+parseInt(_0x479d13(0x1b0))/0x8*(parseInt(_0x479d13(0x1a3))/0x9);if(_0x47fb61===_0x3164d9)break;else _0x18577c['push'](_0x18577c['shift']());}catch(_0x5e76b7){_0x18577c['push'](_0x18577c['shift']());}}}(_0x4f4d,0xa9be2));function _0x1bee(_0x326e2b,_0x34314a){const _0x4f4dfd=_0x4f4d();return _0x1bee=function(_0x1bee5e,_0x4efa2e){_0x1bee5e=_0x1bee5e-0x188;let _0x1e78bf=_0x4f4dfd[_0x1bee5e];return _0x1e78bf;},_0x1bee(_0x326e2b,_0x34314a);}import{ObservableMixin as _0x7fc3ff,uid as _0x418eeb}from'ckeditor5/src/utils.js';function _0x4f4d(){const _0x43ee1c=['lastTouchedId','_findNextElementWithDataId','afterbegin','_touchedNodesState','_replaceNode','112598VJdvNn','parentNode','_storeDeletedElementIds','newIds','forEach','2161656SCBrqk','markUnstableElementsDepth','_markUnstableElements','afterend','includes','match','_generateUid','splice','935899JzRcrN','replaceRemovedWith','824208RctElf','removedIds','merge','previousSibling','_isDelNode','_existingDataIds','_findFallbackReferenceNode','661293GOZQXa','_findReferenceNode','markUnstableElements','indexOf','_findPrevElementWithDataId','_isExistingNode','_hasWrappedParent','from','_markWrappedElements','_insertNodes','push','true','slice','24rWCnmO','lastChild','45bVyLCX','_isExistingContentComment','beforebegin','3973580qHOXoj','invalidIds','data-unstable','data-wrapped-id','data-removed','nextSibling','length','_getNodeDataId','childNodes','4525830GxNIvw','new-element','map','trim','_getUid','data-id','nodeType','_markLastTagElementUnstable','cutAfterLastChange','_isNewNode','_removeSpecialComments','cloneNode','has','reverse','filter','modifiedIds'];_0x4f4d=function(){return _0x43ee1c;};return _0x4f4d();}import{findAllByAttribute as _0x223374,findByAttribute as _0x50016e,getAttribute as _0x57e206,isComment as _0x210596,isTag as _0x8e6afe,insertElement as _0x2df6db,moveElement as _0x3f4977,removeElement as _0x1a9613,replaceElement as _0x260f97,serialize as _0x5dfc79,setAttribute as _0x16b2d5,clone as _0x1d3472,findAllComments as _0x191ff8,getParents as _0x1d32e6,getNodeNestingLevel as _0x5d6191,areNodesSame as _0x1a4ece,removeElementsAfter as _0x51fe75}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x7fc3ff(){[_0x420e15(0x198)];[_0x420e15(0x18b)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x420e15(0x1a1)]=new Set();constructor(_0x325520){const _0x4ecba1=_0x420e15;super(),this[_0x4ecba1(0x198)]=_0x325520||_0x418eeb;}[_0x420e15(0x19e)](_0xd01d91,_0x1ac0a4,_0x145f66){const _0x4cbd64=_0x420e15,_0x54d2e0=_0x1d3472(_0xd01d91);if(0x0===_0x1ac0a4[_0x4cbd64(0x1bd)][_0x4cbd64(0x1bb)]){const _0x52eb45=[];return _0x223374(_0x4cbd64(0x1c3),_0x4cbd64(0x1bf),_0x54d2e0)[_0x4cbd64(0x191)](_0x64a831=>{const _0x3505d5=_0x4cbd64,_0x253e01=this[_0x3505d5(0x198)]();_0x16b2d5(_0x64a831,_0x3505d5(0x1c3),_0x253e01),_0x52eb45[_0x3505d5(0x1ad)](_0x253e01);}),this[_0x4cbd64(0x1c8)](_0x54d2e0),{'parsedContent':_0x54d2e0,'newNodeIds':_0x52eb45,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x145f66&&_0x145f66[_0x4cbd64(0x1a5)]&&this[_0x4cbd64(0x1c5)](_0x54d2e0),this[_0x4cbd64(0x18b)][_0x4cbd64(0x190)]=[],this[_0x4cbd64(0x18b)][_0x4cbd64(0x1cd)]=[],this[_0x4cbd64(0x18b)][_0x4cbd64(0x19d)]=[],this[_0x4cbd64(0x18b)][_0x4cbd64(0x1b6)]=[],this[_0x4cbd64(0x18b)][_0x4cbd64(0x188)]=null,this[_0x4cbd64(0x1a1)]=new Set(_0x223374(_0x4cbd64(0x1c3),null,_0x1ac0a4)[_0x4cbd64(0x1c0)](_0x168b35=>_0x57e206(_0x168b35,_0x4cbd64(0x1c3)))[_0x4cbd64(0x1cc)](_0x14c88b=>!!_0x14c88b));let _0x29c0f5=-0x1,_0x469104=!0x1;const _0x360e20=_0x54d2e0[_0x4cbd64(0x1bd)],_0xe402af=Array[_0x4cbd64(0x1aa)](_0x360e20)[_0x4cbd64(0x1cc)](_0x3d19a0=>!(0x3===_0x3d19a0[_0x4cbd64(0x1c4)]&&''===_0x5dfc79(_0x3d19a0)[_0x4cbd64(0x1c1)]())),_0x1cb069=_0xe402af[_0x4cbd64(0x1bb)];for(let _0x593517=0x0;_0x593517<_0x1cb069;_0x593517++){const _0x2b4492=_0xe402af[_0x593517],_0x368f26=_0xe402af[_0x593517+0x1];if(this[_0x4cbd64(0x1c7)](_0x2b4492)){if(-0x1===_0x29c0f5&&(_0x29c0f5=_0x593517),this[_0x4cbd64(0x1ab)](_0x2b4492),!this[_0x4cbd64(0x1c7)](_0x368f26)){const [_0x54fdc4,_0x20200b]=this[_0x4cbd64(0x1a4)](_0x2b4492,_0x469104,_0x1ac0a4);if(_0x54fdc4){const _0x4bfb8e=Array[_0x4cbd64(0x1aa)](_0xe402af)[_0x4cbd64(0x1af)](_0x29c0f5,_0x593517+0x1);this[_0x4cbd64(0x1ac)](_0x54fdc4,_0x4bfb8e,_0x20200b),_0x29c0f5=-0x1;}}}else{if(this[_0x4cbd64(0x1b3)](_0x2b4492))_0x469104=!0x0;else{if(this[_0x4cbd64(0x1a8)](_0x2b4492)){const _0x5d64a3=_0x57e206(_0x2b4492,_0x4cbd64(0x1c3));if(_0x5d64a3&&this[_0x4cbd64(0x1a1)][_0x4cbd64(0x1ca)](_0x5d64a3)){const _0x4fb7ee=_0x50016e(_0x4cbd64(0x1c3),_0x5d64a3,_0x1ac0a4);this[_0x4cbd64(0x18c)](_0x4fb7ee,_0x2b4492);}if(this[_0x4cbd64(0x18b)][_0x4cbd64(0x19d)][_0x4cbd64(0x196)](_0x5d64a3)){const _0x3fb2d3=this[_0x4cbd64(0x18b)][_0x4cbd64(0x19d)][_0x4cbd64(0x1a6)](_0x5d64a3);this[_0x4cbd64(0x18b)][_0x4cbd64(0x19d)][_0x4cbd64(0x199)](_0x3fb2d3,0x1);}}else{if(this[_0x4cbd64(0x1a0)](_0x2b4492)){const _0x5367dd=_0x57e206(_0x2b4492,_0x4cbd64(0x1c3));this[_0x4cbd64(0x18b)][_0x4cbd64(0x1cd)][_0x4cbd64(0x196)](_0x5367dd)||this[_0x4cbd64(0x18f)](_0x2b4492);}}}}}for(const _0x1be8b7 of this[_0x4cbd64(0x18b)][_0x4cbd64(0x19d)]){const _0x3109fe=_0x50016e(_0x4cbd64(0x1c3),_0x1be8b7,_0x1ac0a4);if(_0x3109fe){if(_0x145f66&&_0x145f66[_0x4cbd64(0x19b)]){this[_0x4cbd64(0x18b)][_0x4cbd64(0x188)]=_0x1be8b7;const _0x57961c=_0x145f66[_0x4cbd64(0x19b)][_0x4cbd64(0x1c9)](!0x0);_0x16b2d5(_0x57961c,_0x4cbd64(0x1c3),_0x1be8b7),_0x16b2d5(_0x57961c,_0x4cbd64(0x1b9),_0x4cbd64(0x1ae)),_0x260f97(_0x3109fe,_0x57961c);}else _0x1a9613(_0x3109fe);}}if(_0x223374(_0x4cbd64(0x1b8),null,_0x1ac0a4)[_0x4cbd64(0x191)](_0x302b99=>{const _0x5b8d32=_0x4cbd64,_0x14f4e6=_0x57e206(_0x302b99,_0x5b8d32(0x1b8)),_0x1531b2=_0x50016e(_0x5b8d32(0x1c3),_0x14f4e6,_0x1ac0a4);_0x1531b2&&_0x3f4977(_0x1531b2,_0x302b99);}),_0x223374(_0x4cbd64(0x1c3),_0x4cbd64(0x1bf),_0x1ac0a4)[_0x4cbd64(0x191)](_0x419d2e=>{const _0x5c4bc3=_0x4cbd64,_0x4466d2=this[_0x5c4bc3(0x1c2)](_0x419d2e);_0x16b2d5(_0x419d2e,_0x5c4bc3(0x1c3),_0x4466d2),this[_0x5c4bc3(0x18b)][_0x5c4bc3(0x190)][_0x5c4bc3(0x1ad)](_0x4466d2);}),this[_0x4cbd64(0x1c8)](_0x1ac0a4),_0x145f66&&_0x145f66[_0x4cbd64(0x1a5)]&&this[_0x4cbd64(0x194)](_0x1ac0a4,_0x145f66[_0x4cbd64(0x193)]||0x0),_0x145f66&&_0x145f66[_0x4cbd64(0x1c6)]&&this[_0x4cbd64(0x18b)][_0x4cbd64(0x188)]){let _0x267a6b=_0x50016e(_0x4cbd64(0x1c3),this[_0x4cbd64(0x18b)][_0x4cbd64(0x188)],_0x1ac0a4);for(;_0x267a6b;)_0x51fe75(_0x267a6b),_0x267a6b=_0x267a6b[_0x4cbd64(0x18e)];}return{'parsedContent':_0x1ac0a4,'newNodeIds':this[_0x4cbd64(0x18b)][_0x4cbd64(0x190)],'modifiedNodeIds':this[_0x4cbd64(0x18b)][_0x4cbd64(0x1cd)],'removedNodeIds':this[_0x4cbd64(0x18b)][_0x4cbd64(0x19d)]};}[_0x420e15(0x1ac)](_0x263456,_0xd69eb3,_0x863f6b){const _0x515530=_0x420e15;for(const _0x184d59 of _0xd69eb3){const _0x26a081=this[_0x515530(0x1c2)](_0x184d59);_0x16b2d5(_0x184d59,_0x515530(0x1c3),_0x26a081),this[_0x515530(0x18b)][_0x515530(0x190)][_0x515530(0x1ad)](_0x26a081),this[_0x515530(0x18b)][_0x515530(0x188)]=_0x26a081;}const _0x116668=_0x515530(0x18a)===_0x863f6b||_0x515530(0x195)===_0x863f6b?_0xd69eb3[_0x515530(0x1cb)]():_0xd69eb3;for(const _0x40f6bc of _0x116668)_0x2df6db(_0x263456,_0x40f6bc,_0x863f6b);}[_0x420e15(0x18c)](_0x25c3ac,_0x38fe70){const _0x454a37=_0x420e15;if(!_0x25c3ac)return;if(_0x1a4ece(_0x25c3ac,_0x38fe70))return;const _0x1c678e=this[_0x454a37(0x1c2)](_0x25c3ac);_0x16b2d5(_0x38fe70,_0x454a37(0x1c3),_0x1c678e),this[_0x454a37(0x18b)][_0x454a37(0x1cd)][_0x454a37(0x1ad)](_0x1c678e),this[_0x454a37(0x18b)][_0x454a37(0x188)]=_0x1c678e,_0x260f97(_0x25c3ac,_0x38fe70[_0x454a37(0x1c9)](!0x0));}[_0x420e15(0x1a4)](_0x47d703,_0xcbd309,_0x576a03){const _0x233c8c=_0x420e15,_0x2f3f14=this[_0x233c8c(0x1a7)](_0x47d703,!0x1);if(_0x2f3f14){const _0x1b9244=this[_0x233c8c(0x1bc)](_0x2f3f14),_0x1d7326=_0x50016e(_0x233c8c(0x1c3),_0x1b9244,_0x576a03);if(_0x1d7326)return[_0x1d7326,_0x233c8c(0x195)];this[_0x233c8c(0x18b)][_0x233c8c(0x1b6)][_0x233c8c(0x1ad)](_0x1b9244);}const _0x1c6eb0=this[_0x233c8c(0x189)](_0x47d703,!0x1);if(_0x1c6eb0){const _0x461c12=this[_0x233c8c(0x1bc)](_0x1c6eb0),_0x5b165e=_0x50016e(_0x233c8c(0x1c3),_0x461c12,_0x576a03);if(_0x5b165e)return[_0x5b165e,_0x233c8c(0x1b4)];this[_0x233c8c(0x18b)][_0x233c8c(0x1b6)][_0x233c8c(0x1ad)](_0x461c12);}return _0xcbd309?_0x47d703[_0x233c8c(0x1ba)]?this[_0x233c8c(0x1a2)](_0x47d703,_0x576a03):[_0x576a03[_0x233c8c(0x1bd)][_0x576a03[_0x233c8c(0x1bd)][_0x233c8c(0x1bb)]-0x1],_0x233c8c(0x195)]:[_0x576a03[_0x233c8c(0x1bd)][0x0],_0x233c8c(0x1b4)];}[_0x420e15(0x1a2)](_0x4a111f,_0x2e9476){const _0x2e084e=_0x420e15,_0x543158=[],_0x4a0e3b=this[_0x2e084e(0x1a7)](_0x4a111f,!0x0);if(_0x4a0e3b){const _0x22c37c=this[_0x2e084e(0x1bc)](_0x4a0e3b),_0x22fa70=_0x50016e(_0x2e084e(0x1c3),_0x22c37c,_0x2e9476);_0x22fa70&&_0x543158[_0x2e084e(0x1ad)]([_0x22fa70,_0x2e084e(0x195)]);}const _0x3e2444=this[_0x2e084e(0x189)](_0x4a111f,!0x0);if(_0x3e2444){const _0x52710d=this[_0x2e084e(0x1bc)](_0x3e2444),_0x57e0cd=_0x50016e(_0x2e084e(0x1c3),_0x52710d,_0x2e9476);_0x57e0cd&&_0x543158[_0x2e084e(0x1ad)]([_0x57e0cd,_0x2e084e(0x1b4)]);}if(_0x543158[_0x2e084e(0x1bb)]>0x1)return _0x5d6191(_0x543158[0x0][0x0])<=_0x5d6191(_0x543158[0x1][0x0])?_0x543158[0x0]:_0x543158[0x1];return 0x1===_0x543158[_0x2e084e(0x1bb)]?_0x543158[0x0]:[_0x2e9476[_0x2e084e(0x1b1)],_0x2e084e(0x195)];}[_0x420e15(0x189)](_0x444ad8,_0x5a318b){const _0x24d596=_0x420e15;let _0x4b64ad=_0x444ad8[_0x24d596(0x1ba)],_0x3d7349=null,_0x2b76fa=!0x1;for(;_0x4b64ad;){if(_0x210596(_0x4b64ad)){if(this[_0x24d596(0x1a0)](_0x4b64ad)&&(_0x3d7349=_0x4b64ad),this[_0x24d596(0x1b3)](_0x4b64ad)&&_0x5a318b&&!_0x2b76fa){_0x2b76fa=!0x0,_0x4b64ad=_0x4b64ad[_0x24d596(0x1ba)];continue;}break;}const _0x361168=_0x57e206(_0x4b64ad,_0x24d596(0x1c3));if(_0x361168&&_0x24d596(0x1bf)!==_0x361168&&this[_0x24d596(0x1a1)][_0x24d596(0x1ca)](_0x361168)){_0x3d7349=_0x4b64ad;break;}_0x4b64ad=_0x4b64ad[_0x24d596(0x1ba)];}return _0x3d7349;}[_0x420e15(0x1a7)](_0x107214,_0x14da61){const _0xf7edea=_0x420e15;let _0x803db0=_0x107214[_0xf7edea(0x19f)],_0x3b8dd4=null,_0x2568a5=!0x1;for(;_0x803db0;){if(_0x210596(_0x803db0)){if(this[_0xf7edea(0x1a0)](_0x803db0)&&(_0x3b8dd4=_0x803db0),this[_0xf7edea(0x1b3)](_0x803db0)&&_0x14da61&&!_0x2568a5){_0x2568a5=!0x0,_0x803db0=_0x803db0[_0xf7edea(0x19f)];continue;}break;}const _0x49d32c=_0x57e206(_0x803db0,_0xf7edea(0x1c3));if(_0x49d32c&&_0xf7edea(0x1bf)!==_0x49d32c&&this[_0xf7edea(0x1a1)][_0xf7edea(0x1ca)](_0x49d32c)){_0x3b8dd4=_0x803db0;break;}_0x803db0=_0x803db0[_0xf7edea(0x19f)];}return _0x3b8dd4;}[_0x420e15(0x1ab)](_0x441886){const _0x2ff83f=_0x420e15;_0x8e6afe(_0x441886)&&_0x223374(_0x2ff83f(0x1c3),null,_0x441886)[_0x2ff83f(0x191)](_0x4b14e6=>{const _0x462603=_0x2ff83f;if(this[_0x462603(0x1a8)](_0x4b14e6)&&!this[_0x462603(0x1a9)](_0x4b14e6)){const _0x4cde9f=_0x57e206(_0x4b14e6,_0x462603(0x1c3));_0x16b2d5(_0x4b14e6,_0x462603(0x1b8),_0x4cde9f),_0x16b2d5(_0x4b14e6,_0x462603(0x1c3),null);}});}[_0x420e15(0x1bc)](_0x208da8){const _0x3fedbe=_0x420e15;if(!_0x208da8)return null;if(_0x8e6afe(_0x208da8))return _0x57e206(_0x208da8,_0x3fedbe(0x1c3));if(_0x210596(_0x208da8)){const _0x2ea232=_0x5dfc79(_0x208da8)[_0x3fedbe(0x197)](/removed[\s*-]data-id="([^"]+)"/);if(_0x2ea232&&_0x2ea232[0x1])return _0x2ea232[0x1];}return null;}[_0x420e15(0x18f)](_0x5dd1d3){const _0x5adfb9=_0x420e15;if(_0x210596(_0x5dd1d3)){const _0x1e67ea=_0x5dfc79(_0x5dd1d3)[_0x5adfb9(0x197)](/removed[\s*-]data-id="([^"]+)"/);_0x1e67ea&&_0x1e67ea[0x1]&&this[_0x5adfb9(0x18b)][_0x5adfb9(0x19d)][_0x5adfb9(0x1ad)](_0x1e67ea[0x1]);}}[_0x420e15(0x1c2)](_0x1c4802){const _0x1a27db=_0x420e15;return this[_0x1a27db(0x1a8)](_0x1c4802)?_0x57e206(_0x1c4802,_0x1a27db(0x1c3)):this[_0x1a27db(0x198)]();}[_0x420e15(0x1c8)](_0x95379a){const _0x346c33=_0x420e15;_0x191ff8(_0x95379a)[_0x346c33(0x1cc)](_0x5093ae=>this[_0x346c33(0x1a0)](_0x5093ae)||this[_0x346c33(0x1b3)](_0x5093ae))[_0x346c33(0x191)](_0x276634=>{_0x1a9613(_0x276634);});}[_0x420e15(0x1c5)](_0x2c3319){const _0x2032f5=_0x420e15,_0xa150d0=_0x2c3319[_0x2032f5(0x1bd)],_0x258c07=_0xa150d0[_0xa150d0[_0x2032f5(0x1bb)]-0x1];_0x258c07&&_0x8e6afe(_0x258c07)&&_0x16b2d5(_0x258c07,_0x2032f5(0x1b7),_0x2032f5(0x1ae));}[_0x420e15(0x194)](_0x26635e,_0x807e20){const _0x57cf6d=_0x420e15,_0x354e6c=_0x50016e(_0x57cf6d(0x1b7),_0x57cf6d(0x1ae),_0x26635e);if(!_0x354e6c)return;const _0x15313f=_0x1d32e6(_0x354e6c)[_0x57cf6d(0x1af)](0x0,-0x1),_0x43b3da=_0x15313f[_0x57cf6d(0x1bb)];let _0x248c99=_0x354e6c;if(_0x43b3da>_0x807e20){let _0x274f2a=_0x43b3da,_0x23a40d=null;for(;_0x274f2a>_0x807e20&&_0x274f2a>=0x0;)_0x274f2a--,_0x23a40d=_0x15313f[_0x274f2a];_0x23a40d&&(_0x248c99=_0x23a40d,_0x16b2d5(_0x354e6c,_0x57cf6d(0x1b7),null),_0x16b2d5(_0x23a40d,_0x57cf6d(0x1b7),_0x57cf6d(0x1ae)));}else{if(_0x43b3da<_0x807e20){let _0x250303=_0x43b3da,_0x3a8ed7=_0x354e6c;for(;_0x250303<_0x807e20;){const _0x17c601=_0x3a8ed7[_0x57cf6d(0x1bd)][_0x57cf6d(0x1cc)](_0x17d715=>_0x8e6afe(_0x17d715));if(0x0===_0x17c601[_0x57cf6d(0x1bb)])break;_0x250303++,_0x3a8ed7=_0x17c601[_0x17c601[_0x57cf6d(0x1bb)]-0x1];}_0x3a8ed7&&(_0x248c99=_0x3a8ed7,_0x16b2d5(_0x354e6c,_0x57cf6d(0x1b7),null),_0x16b2d5(_0x3a8ed7,_0x57cf6d(0x1b7),_0x57cf6d(0x1ae)));}}let _0x102d64=_0x248c99;for(;_0x102d64;){for(;_0x102d64[_0x57cf6d(0x1ba)];)_0x102d64=_0x102d64[_0x57cf6d(0x1ba)],_0x8e6afe(_0x102d64)&&_0x16b2d5(_0x102d64,_0x57cf6d(0x1b7),_0x57cf6d(0x1ae));_0x102d64=_0x102d64[_0x57cf6d(0x18e)];}}[_0x420e15(0x1c7)](_0x398905){const _0x451579=_0x420e15;return Boolean(_0x451579(0x1bf)===_0x57e206(_0x398905,_0x451579(0x1c3)));}[_0x420e15(0x1a8)](_0x28be7f){const _0x4d0777=_0x420e15;return Boolean((_0x57e206(_0x28be7f,_0x4d0777(0x1c3))||'')[_0x4d0777(0x1bb)]>0x0&&_0x4d0777(0x1bf)!==_0x57e206(_0x28be7f,_0x4d0777(0x1c3)));}[_0x420e15(0x1a0)](_0x58fbba){const _0x3ef9c2=_0x420e15;return!!_0x58fbba&&Boolean(_0x210596(_0x58fbba)&&_0x5dfc79(_0x58fbba)[_0x3ef9c2(0x197)](/removed[\s*-]data-id="[^"]+"/));}[_0x420e15(0x1a9)](_0xe8c5cd){const _0x5c0cad=_0x420e15;let _0x29d165=_0xe8c5cd[_0x5c0cad(0x18e)];for(;_0x29d165;){if(_0x57e206(_0x29d165,_0x5c0cad(0x1b8)))return!0x0;_0x29d165=_0x29d165[_0x5c0cad(0x18e)];}return!0x1;}[_0x420e15(0x1b3)](_0x2a28ca){const _0x45a87b=_0x420e15;return Boolean(_0x210596(_0x2a28ca)&&_0x5dfc79(_0x2a28ca)[_0x45a87b(0x197)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ const _0x4a2e37=_0x4dce;(function(_0x263ae6,_0x36a4c8){const _0xa3d0a5=_0x4dce,_0x5f3ed1=_0x263ae6();while(!![]){try{const _0x19c2d4=-parseInt(_0xa3d0a5(0xa6))/0x1+-parseInt(_0xa3d0a5(0xa2))/0x2+-parseInt(_0xa3d0a5(0xb1))/0x3*(-parseInt(_0xa3d0a5(0xb3))/0x4)+-parseInt(_0xa3d0a5(0xdc))/0x5*(-parseInt(_0xa3d0a5(0xb9))/0x6)+-parseInt(_0xa3d0a5(0xac))/0x7+-parseInt(_0xa3d0a5(0xab))/0x8+-parseInt(_0xa3d0a5(0xda))/0x9*(-parseInt(_0xa3d0a5(0xc5))/0xa);if(_0x19c2d4===_0x36a4c8)break;else _0x5f3ed1['push'](_0x5f3ed1['shift']());}catch(_0x2999ae){_0x5f3ed1['push'](_0x5f3ed1['shift']());}}}(_0x12f9,0x1abac));import{ObservableMixin as _0x226427,uid as _0x10a4d1}from'ckeditor5/src/utils.js';function _0x4dce(_0x2f79c4,_0x455519){const _0x12f9cb=_0x12f9();return _0x4dce=function(_0x4dce94,_0x4c2c7e){_0x4dce94=_0x4dce94-0x99;let _0x4995cc=_0x12f9cb[_0x4dce94];return _0x4995cc;},_0x4dce(_0x2f79c4,_0x455519);}function _0x12f9(){const _0x2d8bca=['cloneNode','_existingDataIds','parentNode','childNodes','lastChild','data-removed','_markLastTagElementUnstable','169770ZrSqkT','_markWrappedElements','includes','beforebegin','_removeSpecialComments','_findPrevElementWithDataId','markUnstableElementsDepth','from','data-unstable','removedIds','_generateUid','modifiedIds','map','_getUid','afterend','nextSibling','length','replaceRemovedWith','merge','_findFallbackReferenceNode','_storeDeletedElementIds','171HYxYRa','reverse','385GKlCND','forEach','slice','invalidIds','_isExistingNode','markUnstableElements','lastTouchedId','_markUnstableElements','previousSibling','newIds','_touchedNodesState','_isNewNode','match','262946QDbzln','true','_findReferenceNode','indexOf','200351XNIGKP','_replaceNode','filter','_isExistingContentComment','data-id','70368hoocFh','1110683FihymU','nodeType','_insertNodes','_hasWrappedParent','has','74094qlnCpQ','trim','16KvavMt','new-element','afterbegin','cutAfterLastChange','push','data-wrapped-id','14604cYwiaR','splice','_getNodeDataId','_isDelNode','_findNextElementWithDataId'];_0x12f9=function(){return _0x2d8bca;};return _0x12f9();}import{findAllByAttribute as _0x174e3c,findByAttribute as _0x26639a,getAttribute as _0x5e686a,isComment as _0x2d0259,isTag as _0x2c1bf9,insertElement as _0x214e03,moveElement as _0x3a7ad9,removeElement as _0xa6ac68,replaceElement as _0x3ec306,serialize as _0x236338,setAttribute as _0x156962,clone as _0x29270f,findAllComments as _0xcb15ca,getParents as _0x38e67e,getNodeNestingLevel as _0x14dd26,areNodesSame as _0x548837,removeElementsAfter as _0x2b90e6}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x226427(){[_0x4a2e37(0xcf)];[_0x4a2e37(0x9f)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x4a2e37(0xbf)]=new Set();constructor(_0xf33811){const _0x5de80b=_0x4a2e37;super(),this[_0x5de80b(0xcf)]=_0xf33811||_0x10a4d1;}[_0x4a2e37(0xd7)](_0x19a533,_0x293af8,_0x5701c8){const _0x3dd7da=_0x4a2e37,_0xcc30f7=_0x29270f(_0x19a533);if(0x0===_0x293af8[_0x3dd7da(0xc1)][_0x3dd7da(0xd5)]){const _0x45be75=[];return _0x174e3c(_0x3dd7da(0xaa),_0x3dd7da(0xb4),_0xcc30f7)[_0x3dd7da(0xdd)](_0x5ef951=>{const _0x5362ce=_0x3dd7da,_0x240d8c=this[_0x5362ce(0xcf)]();_0x156962(_0x5ef951,_0x5362ce(0xaa),_0x240d8c),_0x45be75[_0x5362ce(0xb7)](_0x240d8c);}),this[_0x3dd7da(0xc9)](_0xcc30f7),{'parsedContent':_0xcc30f7,'newNodeIds':_0x45be75,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x5701c8&&_0x5701c8[_0x3dd7da(0x9a)]&&this[_0x3dd7da(0xc4)](_0xcc30f7),this[_0x3dd7da(0x9f)][_0x3dd7da(0x9e)]=[],this[_0x3dd7da(0x9f)][_0x3dd7da(0xd0)]=[],this[_0x3dd7da(0x9f)][_0x3dd7da(0xce)]=[],this[_0x3dd7da(0x9f)][_0x3dd7da(0xdf)]=[],this[_0x3dd7da(0x9f)][_0x3dd7da(0x9b)]=null,this[_0x3dd7da(0xbf)]=new Set(_0x174e3c(_0x3dd7da(0xaa),null,_0x293af8)[_0x3dd7da(0xd1)](_0x3cb163=>_0x5e686a(_0x3cb163,_0x3dd7da(0xaa)))[_0x3dd7da(0xa8)](_0x56c722=>!!_0x56c722));let _0x5eb303=-0x1,_0x48ca57=!0x1;const _0x3f36ee=_0xcc30f7[_0x3dd7da(0xc1)],_0x274bc6=Array[_0x3dd7da(0xcc)](_0x3f36ee)[_0x3dd7da(0xa8)](_0x2ae2c6=>!(0x3===_0x2ae2c6[_0x3dd7da(0xad)]&&''===_0x236338(_0x2ae2c6)[_0x3dd7da(0xb2)]())),_0x2af873=_0x274bc6[_0x3dd7da(0xd5)];for(let _0x9dbbc0=0x0;_0x9dbbc0<_0x2af873;_0x9dbbc0++){const _0x4859a4=_0x274bc6[_0x9dbbc0],_0x1fa35f=_0x274bc6[_0x9dbbc0+0x1];if(this[_0x3dd7da(0xa0)](_0x4859a4)){if(-0x1===_0x5eb303&&(_0x5eb303=_0x9dbbc0),this[_0x3dd7da(0xc6)](_0x4859a4),!this[_0x3dd7da(0xa0)](_0x1fa35f)){const [_0x9ba5ff,_0x1253d8]=this[_0x3dd7da(0xa4)](_0x4859a4,_0x48ca57,_0x293af8);if(_0x9ba5ff){const _0x1b8c55=Array[_0x3dd7da(0xcc)](_0x274bc6)[_0x3dd7da(0xde)](_0x5eb303,_0x9dbbc0+0x1);this[_0x3dd7da(0xae)](_0x9ba5ff,_0x1b8c55,_0x1253d8),_0x5eb303=-0x1;}}}else{if(this[_0x3dd7da(0xa9)](_0x4859a4))_0x48ca57=!0x0;else{if(this[_0x3dd7da(0x99)](_0x4859a4)){const _0x405eec=_0x5e686a(_0x4859a4,_0x3dd7da(0xaa));if(_0x405eec&&this[_0x3dd7da(0xbf)][_0x3dd7da(0xb0)](_0x405eec)){const _0x2d44a3=_0x26639a(_0x3dd7da(0xaa),_0x405eec,_0x293af8);this[_0x3dd7da(0xa7)](_0x2d44a3,_0x4859a4);}if(this[_0x3dd7da(0x9f)][_0x3dd7da(0xce)][_0x3dd7da(0xc7)](_0x405eec)){const _0x5aaec5=this[_0x3dd7da(0x9f)][_0x3dd7da(0xce)][_0x3dd7da(0xa5)](_0x405eec);this[_0x3dd7da(0x9f)][_0x3dd7da(0xce)][_0x3dd7da(0xba)](_0x5aaec5,0x1);}}else{if(this[_0x3dd7da(0xbc)](_0x4859a4)){const _0x47d93d=_0x5e686a(_0x4859a4,_0x3dd7da(0xaa));this[_0x3dd7da(0x9f)][_0x3dd7da(0xd0)][_0x3dd7da(0xc7)](_0x47d93d)||this[_0x3dd7da(0xd9)](_0x4859a4);}}}}}for(const _0x1172e0 of this[_0x3dd7da(0x9f)][_0x3dd7da(0xce)]){const _0x338d34=_0x26639a(_0x3dd7da(0xaa),_0x1172e0,_0x293af8);if(_0x338d34){if(_0x5701c8&&_0x5701c8[_0x3dd7da(0xd6)]){this[_0x3dd7da(0x9f)][_0x3dd7da(0x9b)]=_0x1172e0;const _0x42f3e5=_0x5701c8[_0x3dd7da(0xd6)][_0x3dd7da(0xbe)](!0x0);_0x156962(_0x42f3e5,_0x3dd7da(0xaa),_0x1172e0),_0x156962(_0x42f3e5,_0x3dd7da(0xc3),_0x3dd7da(0xa3)),_0x3ec306(_0x338d34,_0x42f3e5);}else _0xa6ac68(_0x338d34);}}if(_0x174e3c(_0x3dd7da(0xb8),null,_0x293af8)[_0x3dd7da(0xdd)](_0xeec3bb=>{const _0x193acc=_0x3dd7da,_0x4f68d7=_0x5e686a(_0xeec3bb,_0x193acc(0xb8)),_0x4be916=_0x26639a(_0x193acc(0xaa),_0x4f68d7,_0x293af8);_0x4be916&&_0x3a7ad9(_0x4be916,_0xeec3bb);}),_0x174e3c(_0x3dd7da(0xaa),_0x3dd7da(0xb4),_0x293af8)[_0x3dd7da(0xdd)](_0xc48f82=>{const _0x56871a=_0x3dd7da,_0x32b844=this[_0x56871a(0xd2)](_0xc48f82);_0x156962(_0xc48f82,_0x56871a(0xaa),_0x32b844),this[_0x56871a(0x9f)][_0x56871a(0x9e)][_0x56871a(0xb7)](_0x32b844);}),this[_0x3dd7da(0xc9)](_0x293af8),_0x5701c8&&_0x5701c8[_0x3dd7da(0x9a)]&&this[_0x3dd7da(0x9c)](_0x293af8,_0x5701c8[_0x3dd7da(0xcb)]||0x0),_0x5701c8&&_0x5701c8[_0x3dd7da(0xb6)]&&this[_0x3dd7da(0x9f)][_0x3dd7da(0x9b)]){let _0x421bfe=_0x26639a(_0x3dd7da(0xaa),this[_0x3dd7da(0x9f)][_0x3dd7da(0x9b)],_0x293af8);for(;_0x421bfe;)_0x2b90e6(_0x421bfe),_0x421bfe=_0x421bfe[_0x3dd7da(0xc0)];}return{'parsedContent':_0x293af8,'newNodeIds':this[_0x3dd7da(0x9f)][_0x3dd7da(0x9e)],'modifiedNodeIds':this[_0x3dd7da(0x9f)][_0x3dd7da(0xd0)],'removedNodeIds':this[_0x3dd7da(0x9f)][_0x3dd7da(0xce)]};}[_0x4a2e37(0xae)](_0x550881,_0x1beb6c,_0x42d8fb){const _0x2ca3ed=_0x4a2e37;for(const _0x1d7c6a of _0x1beb6c){const _0x3c267a=this[_0x2ca3ed(0xd2)](_0x1d7c6a);_0x156962(_0x1d7c6a,_0x2ca3ed(0xaa),_0x3c267a),this[_0x2ca3ed(0x9f)][_0x2ca3ed(0x9e)][_0x2ca3ed(0xb7)](_0x3c267a),this[_0x2ca3ed(0x9f)][_0x2ca3ed(0x9b)]=_0x3c267a;}const _0x526f19=_0x2ca3ed(0xb5)===_0x42d8fb||_0x2ca3ed(0xd3)===_0x42d8fb?_0x1beb6c[_0x2ca3ed(0xdb)]():_0x1beb6c;for(const _0x17dcc7 of _0x526f19)_0x214e03(_0x550881,_0x17dcc7,_0x42d8fb);}[_0x4a2e37(0xa7)](_0x3ff6b9,_0x598fc3){const _0x1c58d7=_0x4a2e37;if(!_0x3ff6b9)return;if(_0x548837(_0x3ff6b9,_0x598fc3))return;const _0x52cfeb=this[_0x1c58d7(0xd2)](_0x3ff6b9);_0x156962(_0x598fc3,_0x1c58d7(0xaa),_0x52cfeb),this[_0x1c58d7(0x9f)][_0x1c58d7(0xd0)][_0x1c58d7(0xb7)](_0x52cfeb),this[_0x1c58d7(0x9f)][_0x1c58d7(0x9b)]=_0x52cfeb,_0x3ec306(_0x3ff6b9,_0x598fc3[_0x1c58d7(0xbe)](!0x0));}[_0x4a2e37(0xa4)](_0x5b909a,_0x32beed,_0x17f87b){const _0x3fc283=_0x4a2e37,_0x538439=this[_0x3fc283(0xca)](_0x5b909a,!0x1);if(_0x538439){const _0x2b3a09=this[_0x3fc283(0xbb)](_0x538439),_0xabd62d=_0x26639a(_0x3fc283(0xaa),_0x2b3a09,_0x17f87b);if(_0xabd62d)return[_0xabd62d,_0x3fc283(0xd3)];this[_0x3fc283(0x9f)][_0x3fc283(0xdf)][_0x3fc283(0xb7)](_0x2b3a09);}const _0x1ee279=this[_0x3fc283(0xbd)](_0x5b909a,!0x1);if(_0x1ee279){const _0x54101c=this[_0x3fc283(0xbb)](_0x1ee279),_0x69ccc7=_0x26639a(_0x3fc283(0xaa),_0x54101c,_0x17f87b);if(_0x69ccc7)return[_0x69ccc7,_0x3fc283(0xc8)];this[_0x3fc283(0x9f)][_0x3fc283(0xdf)][_0x3fc283(0xb7)](_0x54101c);}return _0x32beed?_0x5b909a[_0x3fc283(0xd4)]?this[_0x3fc283(0xd8)](_0x5b909a,_0x17f87b):[_0x17f87b[_0x3fc283(0xc1)][_0x17f87b[_0x3fc283(0xc1)][_0x3fc283(0xd5)]-0x1],_0x3fc283(0xd3)]:[_0x17f87b[_0x3fc283(0xc1)][0x0],_0x3fc283(0xc8)];}[_0x4a2e37(0xd8)](_0x4d2f33,_0x72e03b){const _0x2d2891=_0x4a2e37,_0x455d7a=[],_0x515400=this[_0x2d2891(0xca)](_0x4d2f33,!0x0);if(_0x515400){const _0xe5f3a1=this[_0x2d2891(0xbb)](_0x515400),_0xc4a183=_0x26639a(_0x2d2891(0xaa),_0xe5f3a1,_0x72e03b);_0xc4a183&&_0x455d7a[_0x2d2891(0xb7)]([_0xc4a183,_0x2d2891(0xd3)]);}const _0x53e6b1=this[_0x2d2891(0xbd)](_0x4d2f33,!0x0);if(_0x53e6b1){const _0x1a781b=this[_0x2d2891(0xbb)](_0x53e6b1),_0x4a86b6=_0x26639a(_0x2d2891(0xaa),_0x1a781b,_0x72e03b);_0x4a86b6&&_0x455d7a[_0x2d2891(0xb7)]([_0x4a86b6,_0x2d2891(0xc8)]);}if(_0x455d7a[_0x2d2891(0xd5)]>0x1)return _0x14dd26(_0x455d7a[0x0][0x0])<=_0x14dd26(_0x455d7a[0x1][0x0])?_0x455d7a[0x0]:_0x455d7a[0x1];return 0x1===_0x455d7a[_0x2d2891(0xd5)]?_0x455d7a[0x0]:[_0x72e03b[_0x2d2891(0xc2)],_0x2d2891(0xd3)];}[_0x4a2e37(0xbd)](_0x547b0f,_0x124b0a){const _0x538624=_0x4a2e37;let _0x3ca291=_0x547b0f[_0x538624(0xd4)],_0x2ecf7b=null,_0x3b6766=!0x1;for(;_0x3ca291;){if(_0x2d0259(_0x3ca291)){if(this[_0x538624(0xbc)](_0x3ca291)&&(_0x2ecf7b=_0x3ca291),this[_0x538624(0xa9)](_0x3ca291)&&_0x124b0a&&!_0x3b6766){_0x3b6766=!0x0,_0x3ca291=_0x3ca291[_0x538624(0xd4)];continue;}break;}const _0x1aa286=_0x5e686a(_0x3ca291,_0x538624(0xaa));if(_0x1aa286&&_0x538624(0xb4)!==_0x1aa286&&this[_0x538624(0xbf)][_0x538624(0xb0)](_0x1aa286)){_0x2ecf7b=_0x3ca291;break;}_0x3ca291=_0x3ca291[_0x538624(0xd4)];}return _0x2ecf7b;}[_0x4a2e37(0xca)](_0x2fa87b,_0x3b54a3){const _0x38e916=_0x4a2e37;let _0x221379=_0x2fa87b[_0x38e916(0x9d)],_0x159697=null,_0x1d28ac=!0x1;for(;_0x221379;){if(_0x2d0259(_0x221379)){if(this[_0x38e916(0xbc)](_0x221379)&&(_0x159697=_0x221379),this[_0x38e916(0xa9)](_0x221379)&&_0x3b54a3&&!_0x1d28ac){_0x1d28ac=!0x0,_0x221379=_0x221379[_0x38e916(0x9d)];continue;}break;}const _0x41891f=_0x5e686a(_0x221379,_0x38e916(0xaa));if(_0x41891f&&_0x38e916(0xb4)!==_0x41891f&&this[_0x38e916(0xbf)][_0x38e916(0xb0)](_0x41891f)){_0x159697=_0x221379;break;}_0x221379=_0x221379[_0x38e916(0x9d)];}return _0x159697;}[_0x4a2e37(0xc6)](_0x550336){const _0x495a44=_0x4a2e37;_0x2c1bf9(_0x550336)&&_0x174e3c(_0x495a44(0xaa),null,_0x550336)[_0x495a44(0xdd)](_0x403eaf=>{const _0x8172a7=_0x495a44;if(this[_0x8172a7(0x99)](_0x403eaf)&&!this[_0x8172a7(0xaf)](_0x403eaf)){const _0x1f7ea4=_0x5e686a(_0x403eaf,_0x8172a7(0xaa));_0x156962(_0x403eaf,_0x8172a7(0xb8),_0x1f7ea4),_0x156962(_0x403eaf,_0x8172a7(0xaa),null);}});}[_0x4a2e37(0xbb)](_0x41330d){const _0x435c53=_0x4a2e37;if(!_0x41330d)return null;if(_0x2c1bf9(_0x41330d))return _0x5e686a(_0x41330d,_0x435c53(0xaa));if(_0x2d0259(_0x41330d)){const _0x1d8a4e=_0x236338(_0x41330d)[_0x435c53(0xa1)](/removed[\s*-]data-id="([^"]+)"/);if(_0x1d8a4e&&_0x1d8a4e[0x1])return _0x1d8a4e[0x1];}return null;}[_0x4a2e37(0xd9)](_0x19c67e){const _0x3b6603=_0x4a2e37;if(_0x2d0259(_0x19c67e)){const _0x189438=_0x236338(_0x19c67e)[_0x3b6603(0xa1)](/removed[\s*-]data-id="([^"]+)"/);_0x189438&&_0x189438[0x1]&&this[_0x3b6603(0x9f)][_0x3b6603(0xce)][_0x3b6603(0xb7)](_0x189438[0x1]);}}[_0x4a2e37(0xd2)](_0x23cb5c){const _0x5716ae=_0x4a2e37;return this[_0x5716ae(0x99)](_0x23cb5c)?_0x5e686a(_0x23cb5c,_0x5716ae(0xaa)):this[_0x5716ae(0xcf)]();}[_0x4a2e37(0xc9)](_0x599656){const _0x3fd684=_0x4a2e37;_0xcb15ca(_0x599656)[_0x3fd684(0xa8)](_0x5cdb1d=>this[_0x3fd684(0xbc)](_0x5cdb1d)||this[_0x3fd684(0xa9)](_0x5cdb1d))[_0x3fd684(0xdd)](_0x118cb1=>{_0xa6ac68(_0x118cb1);});}[_0x4a2e37(0xc4)](_0x2ceff9){const _0x1bf035=_0x4a2e37,_0x5955e4=_0x2ceff9[_0x1bf035(0xc1)],_0x4a8997=_0x5955e4[_0x5955e4[_0x1bf035(0xd5)]-0x1];_0x4a8997&&_0x2c1bf9(_0x4a8997)&&_0x156962(_0x4a8997,_0x1bf035(0xcd),_0x1bf035(0xa3));}[_0x4a2e37(0x9c)](_0x286959,_0x35d683){const _0xb7d0a1=_0x4a2e37,_0x1e0e6c=_0x26639a(_0xb7d0a1(0xcd),_0xb7d0a1(0xa3),_0x286959);if(!_0x1e0e6c)return;const _0x252ab5=_0x38e67e(_0x1e0e6c)[_0xb7d0a1(0xde)](0x0,-0x1),_0x4f9b52=_0x252ab5[_0xb7d0a1(0xd5)];let _0x3719f3=_0x1e0e6c;if(_0x4f9b52>_0x35d683){let _0x354632=_0x4f9b52,_0x56ee49=null;for(;_0x354632>_0x35d683&&_0x354632>=0x0;)_0x354632--,_0x56ee49=_0x252ab5[_0x354632];_0x56ee49&&(_0x3719f3=_0x56ee49,_0x156962(_0x1e0e6c,_0xb7d0a1(0xcd),null),_0x156962(_0x56ee49,_0xb7d0a1(0xcd),_0xb7d0a1(0xa3)));}else{if(_0x4f9b52<_0x35d683){let _0x4ed183=_0x4f9b52,_0x2bda91=_0x1e0e6c;for(;_0x4ed183<_0x35d683;){const _0x1b5984=_0x2bda91[_0xb7d0a1(0xc1)][_0xb7d0a1(0xa8)](_0x38fdad=>_0x2c1bf9(_0x38fdad));if(0x0===_0x1b5984[_0xb7d0a1(0xd5)])break;_0x4ed183++,_0x2bda91=_0x1b5984[_0x1b5984[_0xb7d0a1(0xd5)]-0x1];}_0x2bda91&&(_0x3719f3=_0x2bda91,_0x156962(_0x1e0e6c,_0xb7d0a1(0xcd),null),_0x156962(_0x2bda91,_0xb7d0a1(0xcd),_0xb7d0a1(0xa3)));}}let _0x16baad=_0x3719f3;for(;_0x16baad;){for(;_0x16baad[_0xb7d0a1(0xd4)];)_0x16baad=_0x16baad[_0xb7d0a1(0xd4)],_0x2c1bf9(_0x16baad)&&_0x156962(_0x16baad,_0xb7d0a1(0xcd),_0xb7d0a1(0xa3));_0x16baad=_0x16baad[_0xb7d0a1(0xc0)];}}[_0x4a2e37(0xa0)](_0x5f39a6){const _0x1d05cb=_0x4a2e37;return Boolean(_0x1d05cb(0xb4)===_0x5e686a(_0x5f39a6,_0x1d05cb(0xaa)));}[_0x4a2e37(0x99)](_0xcbf8e5){const _0xa4d9ad=_0x4a2e37;return Boolean((_0x5e686a(_0xcbf8e5,_0xa4d9ad(0xaa))||'')[_0xa4d9ad(0xd5)]>0x0&&_0xa4d9ad(0xb4)!==_0x5e686a(_0xcbf8e5,_0xa4d9ad(0xaa)));}[_0x4a2e37(0xbc)](_0xb93dbd){const _0x2fd9bb=_0x4a2e37;return!!_0xb93dbd&&Boolean(_0x2d0259(_0xb93dbd)&&_0x236338(_0xb93dbd)[_0x2fd9bb(0xa1)](/removed[\s*-]data-id="[^"]+"/));}[_0x4a2e37(0xaf)](_0x5a2902){const _0x35b992=_0x4a2e37;let _0x4f7fe8=_0x5a2902[_0x35b992(0xc0)];for(;_0x4f7fe8;){if(_0x5e686a(_0x4f7fe8,_0x35b992(0xb8)))return!0x0;_0x4f7fe8=_0x4f7fe8[_0x35b992(0xc0)];}return!0x1;}[_0x4a2e37(0xa9)](_0xefb910){const _0x1cfcb4=_0x4a2e37;return Boolean(_0x2d0259(_0xefb910)&&_0x236338(_0xefb910)[_0x1cfcb4(0xa1)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30eeec=_0x26b7;(function(_0x55f49f,_0x8fb4c0){const _0x3f2ef5=_0x26b7,_0x5d6436=_0x55f49f();while(!![]){try{const _0x14cb39=-parseInt(_0x3f2ef5(0x7f))/0x1+-parseInt(_0x3f2ef5(0x71))/0x2+parseInt(_0x3f2ef5(0x78))/0x3*(parseInt(_0x3f2ef5(0x80))/0x4)+parseInt(_0x3f2ef5(0x83))/0x5+parseInt(_0x3f2ef5(0x75))/0x6+-parseInt(_0x3f2ef5(0x82))/0x7*(parseInt(_0x3f2ef5(0x76))/0x8)+parseInt(_0x3f2ef5(0x81))/0x9*(-parseInt(_0x3f2ef5(0x7d))/0xa);if(_0x14cb39===_0x8fb4c0)break;else _0x5d6436['push'](_0x5d6436['shift']());}catch(_0xba881d){_0x5d6436['push'](_0x5d6436['shift']());}}}(_0x2009,0xc996b));import{ObservableMixin as _0x5397b5}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x1a185d}from'@ckeditor/ckeditor5-markdown-gfm';function _0x26b7(_0x4017d3,_0x20b364){const _0x20096=_0x2009();return _0x26b7=function(_0x26b797,_0x2dc3cf){_0x26b797=_0x26b797-0x71;let _0x2ee512=_0x20096[_0x26b797];return _0x2ee512;},_0x26b7(_0x4017d3,_0x20b364);}import{parse as _0x4f5613}from'../utils/htmlparser.js';function _0x2009(){const _0x445f98=['957978XFsHCD','352UHuDQU','_m2html','1624251hZHchy','parseAndNormalizeHTML','convertMarkdownToHTML','parse','replace','4610AmnGcX','children','168732QsxXNk','8GebwQn','1737AruTuc','44107BsjZxk','4978805AJdpYS','1755204sUlcZR','<dummy>','</dummy>','_parseHTML'];_0x2009=function(){return _0x445f98;};return _0x2009();}export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x5397b5(){[_0x30eeec(0x77)];constructor(){const _0x55d3d9=_0x30eeec;super(),this[_0x55d3d9(0x77)]=new _0x1a185d();}[_0x30eeec(0x7a)](_0x4a1332){const _0x3bf290=_0x30eeec,_0x66314c=this[_0x3bf290(0x77)][_0x3bf290(0x7b)](_0x4a1332);return this[_0x3bf290(0x79)](_0x66314c);}[_0x30eeec(0x79)](_0x44262a){const _0x32e16f=_0x30eeec;return this[_0x32e16f(0x74)](_0x44262a);}[_0x30eeec(0x74)](_0x1627a4){const _0x6072c2=_0x30eeec,_0x43a51b=_0x1627a4[_0x6072c2(0x7c)](/^\t+/gm,'\x20')[_0x6072c2(0x7c)](/\n*/g,'')[_0x6072c2(0x7c)](/\s+/g,'\x20')[_0x6072c2(0x7c)](/<[^>]*?$/g,''),_0x429311=_0x4f5613(_0x6072c2(0x72)+_0x43a51b+_0x6072c2(0x73));return _0x429311[_0x6072c2(0x7e)]=_0x429311[_0x6072c2(0x7e)][0x0][_0x6072c2(0x7e)],_0x429311;}}
23
+ const _0x1b871b=_0x431b;function _0x431b(_0x371126,_0x1cc7c2){const _0x2875dc=_0x2875();return _0x431b=function(_0x431b03,_0x29c6bf){_0x431b03=_0x431b03-0xce;let _0x1773b6=_0x2875dc[_0x431b03];return _0x1773b6;},_0x431b(_0x371126,_0x1cc7c2);}(function(_0x1cc02c,_0x2ba57d){const _0xcd2d6c=_0x431b,_0x2047b5=_0x1cc02c();while(!![]){try{const _0x378b6a=parseInt(_0xcd2d6c(0xdc))/0x1*(parseInt(_0xcd2d6c(0xce))/0x2)+-parseInt(_0xcd2d6c(0xd2))/0x3*(-parseInt(_0xcd2d6c(0xd1))/0x4)+-parseInt(_0xcd2d6c(0xd3))/0x5*(-parseInt(_0xcd2d6c(0xd4))/0x6)+parseInt(_0xcd2d6c(0xdd))/0x7+parseInt(_0xcd2d6c(0xdb))/0x8+parseInt(_0xcd2d6c(0xdf))/0x9+parseInt(_0xcd2d6c(0xd7))/0xa*(-parseInt(_0xcd2d6c(0xe1))/0xb);if(_0x378b6a===_0x2ba57d)break;else _0x2047b5['push'](_0x2047b5['shift']());}catch(_0x223149){_0x2047b5['push'](_0x2047b5['shift']());}}}(_0x2875,0x8cb6a));import{ObservableMixin as _0x348bb1}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x32c1c6}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x28b068}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x348bb1(){[_0x1b871b(0xcf)];constructor(){const _0x53fb0e=_0x1b871b;super(),this[_0x53fb0e(0xcf)]=new _0x32c1c6();}[_0x1b871b(0xd8)](_0x21647c){const _0x54849d=_0x1b871b,_0x262f4a=this[_0x54849d(0xcf)][_0x54849d(0xd5)](_0x21647c);return this[_0x54849d(0xda)](_0x262f4a);}[_0x1b871b(0xda)](_0x59bdc8){const _0x40eb60=_0x1b871b;return this[_0x40eb60(0xd9)](_0x59bdc8);}[_0x1b871b(0xd9)](_0x54163c){const _0x1a641e=_0x1b871b,_0x36e099=_0x54163c[_0x1a641e(0xd0)](/^\t+/gm,'\x20')[_0x1a641e(0xd0)](/\n*/g,'')[_0x1a641e(0xd0)](/\s+/g,'\x20')[_0x1a641e(0xd0)](/<[^>]*?$/g,''),_0x35b4c7=_0x28b068(_0x1a641e(0xe0)+_0x36e099+_0x1a641e(0xd6));return _0x35b4c7[_0x1a641e(0xde)]=_0x35b4c7[_0x1a641e(0xde)][0x0][_0x1a641e(0xde)],_0x35b4c7;}}function _0x2875(){const _0x13282e=['20965qnqzPz','1272mbwIlu','parse','</dummy>','10bwYlge','convertMarkdownToHTML','_parseHTML','parseAndNormalizeHTML','6963112brgnhO','163zZPdin','1992809hswcLV','children','6039729QmRqeX','<dummy>','35747690imTfWM','1654oPXaug','_m2html','replace','12pnqYkp','976278rfMNWs'];_0x2875=function(){return _0x13282e;};return _0x2875();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2420f4=_0x5852;(function(_0x18d6e7,_0x234896){const _0x1286c9=_0x5852,_0x421c17=_0x18d6e7();while(!![]){try{const _0x2c6fc9=parseInt(_0x1286c9(0x151))/0x1*(-parseInt(_0x1286c9(0x139))/0x2)+parseInt(_0x1286c9(0x13c))/0x3*(-parseInt(_0x1286c9(0x137))/0x4)+-parseInt(_0x1286c9(0x13b))/0x5*(-parseInt(_0x1286c9(0x13e))/0x6)+parseInt(_0x1286c9(0x148))/0x7+parseInt(_0x1286c9(0x15d))/0x8+parseInt(_0x1286c9(0x15c))/0x9+-parseInt(_0x1286c9(0x154))/0xa*(parseInt(_0x1286c9(0x150))/0xb);if(_0x2c6fc9===_0x234896)break;else _0x421c17['push'](_0x421c17['shift']());}catch(_0x14cf3f){_0x421c17['push'](_0x421c17['shift']());}}}(_0x102c,0x679f0));import{View as _0x4ab263}from'ckeditor5/src/ui.js';function _0x102c(){const _0x48ed59=['44px','24px','128px','attributes','height','148183WsRzDZ','40px','div','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','_createSkeletonItems','ck-ai-skeleton__item','tag',';\x20height:\x20','250162iSlzcR','9DBuWvl','right','88px','110VDPpfA','map','100%','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','left','class','ck-ai-skeleton','center','1765026UFVJdm','5718584HAlHGp','width','250px','150px','504YhowPf','width:\x20','102062igWRHr','72px','3688855wwZqjy','12762WRMKph','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','6TNliTC','align','140px','setTemplate','fill'];_0x102c=function(){return _0x48ed59;};return _0x102c();}function _0x5852(_0x243aa9,_0x273ca0){const _0x102cd0=_0x102c();return _0x5852=function(_0x5852e4,_0x2784e6){_0x5852e4=_0x5852e4-0x135;let _0x31b76c=_0x102cd0[_0x5852e4];return _0x31b76c;},_0x5852(_0x243aa9,_0x273ca0);}import'../../../theme/common/aiskeleton.css';export class AISkeletonView extends _0x4ab263{constructor(_0x2a1814,_0x5c7941){const _0x2dd715=_0x5852;super(_0x2a1814),this[_0x2dd715(0x141)]({'tag':_0x2dd715(0x14a),'attributes':{'class':['ck',_0x2dd715(0x15a)]},'children':this[_0x2dd715(0x14c)](_0x5c7941)});}[_0x2420f4(0x14c)](_0x5cceda){const _0x14a348=_0x2420f4,_0xc407a2=['ck',_0x14a348(0x14d)];return _0x5cceda[_0x14a348(0x155)](_0x3a7b33=>{const _0x385678=_0x14a348;let _0x12a90c='';switch(_0x3a7b33[_0x385678(0x146)][_0x385678(0x13f)]){case _0x385678(0x152):_0x12a90c=_0x385678(0x14b);break;case _0x385678(0x15b):_0x12a90c=_0x385678(0x13d);break;case _0x385678(0x158):_0x12a90c=_0x385678(0x157);}return{'tag':_0x3a7b33[_0x385678(0x14e)],'attributes':{'class':[..._0xc407a2,_0x3a7b33[_0x385678(0x146)][_0x385678(0x159)]?_0x3a7b33[_0x385678(0x146)][_0x385678(0x159)]:''],'style':_0x385678(0x138)+_0x3a7b33[_0x385678(0x146)][_0x385678(0x15e)]+_0x385678(0x14f)+_0x3a7b33[_0x385678(0x146)][_0x385678(0x147)]+';'+_0x12a90c}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x2420f4(0x14a),'attributes':{'width':_0x2420f4(0x156),'height':_0x2420f4(0x13a),'align':_0x2420f4(0x152)}},{'tag':_0x2420f4(0x14a),'attributes':{'width':_0x2420f4(0x135),'height':_0x2420f4(0x149),'align':_0x2420f4(0x152)}},{'tag':_0x2420f4(0x14a),'attributes':{'width':_0x2420f4(0x156),'height':_0x2420f4(0x153),'align':_0x2420f4(0x152)}},{'tag':_0x2420f4(0x14a),'attributes':{'width':_0x2420f4(0x136),'height':_0x2420f4(0x149),'align':_0x2420f4(0x152)}},{'tag':_0x2420f4(0x14a),'attributes':{'width':_0x2420f4(0x156),'height':_0x2420f4(0x140),'align':_0x2420f4(0x152)}},{'tag':_0x2420f4(0x14a),'attributes':{'width':_0x2420f4(0x135),'height':_0x2420f4(0x149),'align':_0x2420f4(0x152)}},{'tag':_0x2420f4(0x14a),'attributes':{'width':_0x2420f4(0x156),'height':_0x2420f4(0x153),'align':_0x2420f4(0x152)}}],'aiHistory':$i(0x5,_0x2420f4(0x156),_0x2420f4(0x143),_0x2420f4(0x152)),'aiChatResources':$i(0x8,_0x2420f4(0x156),_0x2420f4(0x144),_0x2420f4(0x152)),'aiReviewChecks':[{'tag':_0x2420f4(0x14a),'attributes':{'width':_0x2420f4(0x145),'height':_0x2420f4(0x144),'align':_0x2420f4(0x158)}},{'tag':_0x2420f4(0x14a),'attributes':{'width':_0x2420f4(0x156),'height':_0x2420f4(0x144),'align':_0x2420f4(0x158)}},{'tag':_0x2420f4(0x14a),'attributes':{'width':_0x2420f4(0x145),'height':_0x2420f4(0x144),'align':_0x2420f4(0x158)}}]};function $i(_0x5db973,_0x6d926,_0x4f655c,_0x2a2f94){const _0x4cef49=_0x2420f4;return new Array(_0x5db973)[_0x4cef49(0x142)](null)[_0x4cef49(0x155)](()=>({'tag':_0x4cef49(0x14a),'attributes':{'width':_0x6d926,'height':_0x4f655c,'align':_0x2a2f94}}));}
23
+ const _0x239e5c=_0x47dd;(function(_0xd0cd76,_0x3edfa8){const _0x3f6923=_0x47dd,_0x389135=_0xd0cd76();while(!![]){try{const _0x5db8bd=-parseInt(_0x3f6923(0x17e))/0x1*(-parseInt(_0x3f6923(0x168))/0x2)+parseInt(_0x3f6923(0x171))/0x3*(parseInt(_0x3f6923(0x185))/0x4)+parseInt(_0x3f6923(0x17c))/0x5*(parseInt(_0x3f6923(0x178))/0x6)+parseInt(_0x3f6923(0x169))/0x7+-parseInt(_0x3f6923(0x174))/0x8*(parseInt(_0x3f6923(0x181))/0x9)+-parseInt(_0x3f6923(0x164))/0xa+parseInt(_0x3f6923(0x176))/0xb*(-parseInt(_0x3f6923(0x162))/0xc);if(_0x5db8bd===_0x3edfa8)break;else _0x389135['push'](_0x389135['shift']());}catch(_0x4efba3){_0x389135['push'](_0x389135['shift']());}}}(_0x1f02,0x4a77d));function _0x47dd(_0x600592,_0x2979c7){const _0x1f027e=_0x1f02();return _0x47dd=function(_0x47dd3c,_0x4997b8){_0x47dd3c=_0x47dd3c-0x15f;let _0x5e6c60=_0x1f027e[_0x47dd3c];return _0x5e6c60;},_0x47dd(_0x600592,_0x2979c7);}import{View as _0x5129c1}from'ckeditor5/src/ui.js';import'../../../theme/common/aiskeleton.css';export class AISkeletonView extends _0x5129c1{constructor(_0x4326b8,_0x4d4ea1){const _0x20dd34=_0x47dd;super(_0x4326b8),this[_0x20dd34(0x166)]({'tag':_0x20dd34(0x175),'attributes':{'class':['ck',_0x20dd34(0x187)]},'children':this[_0x20dd34(0x188)](_0x4d4ea1)});}[_0x239e5c(0x188)](_0x2a8914){const _0x39d9fd=_0x239e5c,_0x4efbc8=['ck',_0x39d9fd(0x189)];return _0x2a8914[_0x39d9fd(0x186)](_0x4647e1=>{const _0x26306d=_0x39d9fd;let _0x45f7f4='';switch(_0x4647e1[_0x26306d(0x177)][_0x26306d(0x167)]){case _0x26306d(0x184):_0x45f7f4=_0x26306d(0x180);break;case _0x26306d(0x16d):_0x45f7f4=_0x26306d(0x16e);break;case _0x26306d(0x16f):_0x45f7f4=_0x26306d(0x16c);}return{'tag':_0x4647e1[_0x26306d(0x179)],'attributes':{'class':[..._0x4efbc8,_0x4647e1[_0x26306d(0x177)][_0x26306d(0x183)]?_0x4647e1[_0x26306d(0x177)][_0x26306d(0x183)]:''],'style':_0x26306d(0x16a)+_0x4647e1[_0x26306d(0x177)][_0x26306d(0x16b)]+_0x26306d(0x173)+_0x4647e1[_0x26306d(0x177)][_0x26306d(0x161)]+';'+_0x45f7f4}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x239e5c(0x175),'attributes':{'width':_0x239e5c(0x17b),'height':_0x239e5c(0x182),'align':_0x239e5c(0x184)}},{'tag':_0x239e5c(0x175),'attributes':{'width':_0x239e5c(0x17f),'height':_0x239e5c(0x15f),'align':_0x239e5c(0x184)}},{'tag':_0x239e5c(0x175),'attributes':{'width':_0x239e5c(0x17b),'height':_0x239e5c(0x17a),'align':_0x239e5c(0x184)}},{'tag':_0x239e5c(0x175),'attributes':{'width':_0x239e5c(0x17d),'height':_0x239e5c(0x15f),'align':_0x239e5c(0x184)}},{'tag':_0x239e5c(0x175),'attributes':{'width':_0x239e5c(0x17b),'height':_0x239e5c(0x170),'align':_0x239e5c(0x184)}},{'tag':_0x239e5c(0x175),'attributes':{'width':_0x239e5c(0x17f),'height':_0x239e5c(0x15f),'align':_0x239e5c(0x184)}},{'tag':_0x239e5c(0x175),'attributes':{'width':_0x239e5c(0x17b),'height':_0x239e5c(0x17a),'align':_0x239e5c(0x184)}}],'aiHistory':ta(0x5,_0x239e5c(0x17b),_0x239e5c(0x172),_0x239e5c(0x184)),'aiChatResources':ta(0x8,_0x239e5c(0x17b),_0x239e5c(0x165),_0x239e5c(0x184)),'aiReviewChecks':[{'tag':_0x239e5c(0x175),'attributes':{'width':_0x239e5c(0x160),'height':_0x239e5c(0x165),'align':_0x239e5c(0x16f)}},{'tag':_0x239e5c(0x175),'attributes':{'width':_0x239e5c(0x17b),'height':_0x239e5c(0x165),'align':_0x239e5c(0x16f)}},{'tag':_0x239e5c(0x175),'attributes':{'width':_0x239e5c(0x160),'height':_0x239e5c(0x165),'align':_0x239e5c(0x16f)}}]};function _0x1f02(){const _0x5c7f8e=['fill','821830PzzUAt','24px','setTemplate','align','1294rFIwFM','1180893QBgxuo','width:\x20','width','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','center','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','left','140px','2031WtSspB','44px',';\x20height:\x20','32XHuyJn','div','351802zepwvl','attributes','4104LbqNEF','tag','88px','100%','590bReOdV','150px','610mBZblv','250px','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','702315oCqJIQ','72px','class','right','2972SigeQa','map','ck-ai-skeleton','_createSkeletonItems','ck-ai-skeleton__item','40px','128px','height','168EcbiRs'];_0x1f02=function(){return _0x5c7f8e;};return _0x1f02();}function ta(_0x142ae7,_0x2b5ee2,_0x1672f4,_0x2baaaf){const _0x27be9f=_0x239e5c;return new Array(_0x142ae7)[_0x27be9f(0x163)](null)[_0x27be9f(0x186)](()=>({'tag':_0x27be9f(0x175),'attributes':{'width':_0x2b5ee2,'height':_0x1672f4,'align':_0x2baaaf}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2157bd=_0x1750;function _0xea40(){const _0xd87d25=['ck-ai-mini-toolbar','21hoVYTw','isEnabled','257322AyJvVQ','_setupCopyButton','21AeLFmJ','AI_MINI_TOOLBAR_COPY','2167096gNxytY','ck-ai-mini-toolbar-copy-button','locale','class','likeButton','dislike','set','length','copyButton','add','bind','ck-ai-button-tertiary','AI_SUGGESTION_BUTTON_SHOW_CHANGES','_setupRatingButtons','showChangesButton','full','extendTemplate','toggleShowChanges','753260jGyMFO','2335401sSUBYj','18646AdhhZc','fire','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','like','showCopy','showLike','ck-ai-mini-toolbar-copy-button__check-mark','execute','toggleShowChangesEnabled','_config','ck-ai-mini-toolbar\x20ck-hidden','AI_MINI_TOOLBAR_LIKE','_setupShowChangesButton','26411MhoFPv','children','customView','isShowChangesOn','isOn','1020NwCUcf','6601200feyaDi','addMany','65TQkdrA','dislikeButton','AI_MINI_TOOLBAR_DISLIKE','icon','showChanges','items','showDislike'];_0xea40=function(){return _0xd87d25;};return _0xea40();}(function(_0x2a894f,_0x24d155){const _0x395d6a=_0x1750,_0x209dff=_0x2a894f();while(!![]){try{const _0x1bffd4=-parseInt(_0x395d6a(0x8d))/0x1*(-parseInt(_0x395d6a(0xaf))/0x2)+parseInt(_0x395d6a(0x95))/0x3*(-parseInt(_0x395d6a(0xad))/0x4)+parseInt(_0x395d6a(0x8b))/0x5+-parseInt(_0x395d6a(0x97))/0x6*(parseInt(_0x395d6a(0x99))/0x7)+parseInt(_0x395d6a(0x9b))/0x8+parseInt(_0x395d6a(0xae))/0x9+-parseInt(_0x395d6a(0xc1))/0xa*(parseInt(_0x395d6a(0xbc))/0xb);if(_0x1bffd4===_0x24d155)break;else _0x209dff['push'](_0x209dff['shift']());}catch(_0x554271){_0x209dff['push'](_0x209dff['shift']());}}}(_0xea40,0xbabab));function _0x1750(_0x4cdf34,_0x500d50){const _0xea407=_0xea40();return _0x1750=function(_0x17505d,_0x937fa1){_0x17505d=_0x17505d-0x8b;let _0xbb2ec4=_0xea407[_0x17505d];return _0xbb2ec4;},_0x1750(_0x4cdf34,_0x500d50);}import{ButtonView as _0x56e781,IconView as _0x5c2f62,ToolbarView as _0x2ae539}from'ckeditor5/src/ui.js';import{IconCheck as _0x3048de,IconCopy as _0x4ff862,IconShowChangesOff as _0x3aa4db,IconShowChangesOn as _0x2c0aec,IconThumbDown as _0x492f13,IconThumbUp as _0x40c5d5}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2b72e6}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x2ae539{[_0x2157bd(0xa3)];[_0x2157bd(0x9f)];[_0x2157bd(0x8e)];[_0x2157bd(0xa9)];[_0x2157bd(0xb8)];constructor(_0x3d2add,_0x3ba42c={}){const _0x655e20=_0x2157bd;super(_0x3d2add),this[_0x655e20(0xa1)](_0x655e20(0x96),!0x0),this[_0x655e20(0xa1)](_0x655e20(0xbf),!0x1),this[_0x655e20(0xb8)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x3ba42c};const _0x26dcbd=!(this[_0x655e20(0xb8)][_0x655e20(0xb3)]||this[_0x655e20(0xb8)][_0x655e20(0x91)]||this[_0x655e20(0xb8)][_0x655e20(0xb4)]||this[_0x655e20(0xb8)][_0x655e20(0x93)]||this[_0x655e20(0xb8)][_0x655e20(0xbe)]?.[_0x655e20(0xa2)]);this[_0x655e20(0x9e)]=_0x26dcbd?_0x655e20(0xb9):_0x655e20(0x94),this[_0x655e20(0xb8)][_0x655e20(0xb3)]&&(this[_0x655e20(0x98)](),this[_0x655e20(0x92)][_0x655e20(0xa4)](this[_0x655e20(0xa3)])),this[_0x655e20(0xb8)][_0x655e20(0x91)]&&(this[_0x655e20(0xbb)](),this[_0x655e20(0x92)][_0x655e20(0xa4)](this[_0x655e20(0xa9)])),this[_0x655e20(0xa8)](),this[_0x655e20(0xb8)][_0x655e20(0xb4)]&&this[_0x655e20(0x92)][_0x655e20(0xa4)](this[_0x655e20(0x9f)]),this[_0x655e20(0xb8)][_0x655e20(0x93)]&&this[_0x655e20(0x92)][_0x655e20(0xa4)](this[_0x655e20(0x8e)]),this[_0x655e20(0xb8)][_0x655e20(0xbe)]&&this[_0x655e20(0x92)][_0x655e20(0x8c)](this[_0x655e20(0xb8)][_0x655e20(0xbe)]);}[_0x2157bd(0xb7)](_0x58159a){const _0x59cd73=_0x2157bd;this[_0x59cd73(0xa9)][_0x59cd73(0x96)]=_0x58159a;}[_0x2157bd(0xa8)](){const _0x993ad8=_0x2157bd;this[_0x993ad8(0x9f)]=new _0x56e781(this[_0x993ad8(0x9d)]),this[_0x993ad8(0x9f)][_0x993ad8(0xa1)]({'icon':_0x40c5d5,'label':_0x2b72e6(this[_0x993ad8(0x9d)],_0x993ad8(0xba)),'tooltip':!0x0}),this[_0x993ad8(0x9f)][_0x993ad8(0xa5)](_0x993ad8(0x96))['to'](this),this[_0x993ad8(0x9f)]['on'](_0x993ad8(0xb6),()=>{const _0x1efb62=_0x993ad8;this[_0x1efb62(0xb0)](_0x1efb62(0xb2));}),this[_0x993ad8(0x8e)]=new _0x56e781(this[_0x993ad8(0x9d)]),this[_0x993ad8(0x8e)][_0x993ad8(0xa1)]({'icon':_0x492f13,'label':_0x2b72e6(this[_0x993ad8(0x9d)],_0x993ad8(0x8f)),'tooltip':!0x0}),this[_0x993ad8(0x8e)][_0x993ad8(0xa5)](_0x993ad8(0x96))['to'](this),this[_0x993ad8(0x8e)]['on'](_0x993ad8(0xb6),()=>{const _0x3d937e=_0x993ad8;this[_0x3d937e(0xb0)](_0x3d937e(0xa0));});}[_0x2157bd(0x98)](){const _0xf3e5e8=_0x2157bd;this[_0xf3e5e8(0xa3)]=new _0x56e781(this[_0xf3e5e8(0x9d)]),this[_0xf3e5e8(0xa3)][_0xf3e5e8(0xa1)]({'icon':_0x4ff862,'label':_0x2b72e6(this[_0xf3e5e8(0x9d)],_0xf3e5e8(0x9a)),'class':_0xf3e5e8(0x9c),'tooltip':!0x0}),this[_0xf3e5e8(0xa3)][_0xf3e5e8(0xa5)](_0xf3e5e8(0x96))['to'](this);const _0x5dd26b=new _0x5c2f62();_0x5dd26b[_0xf3e5e8(0xa1)]({'content':_0x3048de}),_0x5dd26b[_0xf3e5e8(0xab)]({'attributes':{'class':[_0xf3e5e8(0xb5)]}}),this[_0xf3e5e8(0xa3)]['on'](_0xf3e5e8(0xb6),()=>{const _0xb6b53=_0xf3e5e8;this[_0xb6b53(0xa3)][_0xb6b53(0x9e)]=_0xb6b53(0xb1),setTimeout(()=>{const _0x3d108c=_0xb6b53;this[_0x3d108c(0xa3)][_0x3d108c(0x9e)]=_0x3d108c(0x9c);},0x7d0);}),this[_0xf3e5e8(0xa3)][_0xf3e5e8(0xbd)][_0xf3e5e8(0xa4)](_0x5dd26b);}[_0x2157bd(0xbb)](){const _0x6e2de1=_0x2157bd;this[_0x6e2de1(0xa9)]=new _0x56e781(this[_0x6e2de1(0x9d)]),this[_0x6e2de1(0xa9)][_0x6e2de1(0xa1)]({'icon':_0x3aa4db,'label':_0x2b72e6(this[_0x6e2de1(0x9d)],_0x6e2de1(0xa7)),'withText':_0x6e2de1(0xaa)==this[_0x6e2de1(0xb8)][_0x6e2de1(0x91)],'tooltip':_0x6e2de1(0xaa)!=this[_0x6e2de1(0xb8)][_0x6e2de1(0x91)],'class':_0x6e2de1(0xa6)}),this[_0x6e2de1(0xa9)][_0x6e2de1(0xa5)](_0x6e2de1(0xc0))['to'](this,_0x6e2de1(0xbf)),this[_0x6e2de1(0xa9)][_0x6e2de1(0xa5)](_0x6e2de1(0x96))['to'](this),this[_0x6e2de1(0xa9)][_0x6e2de1(0xa5)](_0x6e2de1(0x90))['to'](this,_0x6e2de1(0xbf),_0x1fde05=>_0x1fde05?_0x2c0aec:_0x3aa4db),this[_0x6e2de1(0xa9)]['on'](_0x6e2de1(0xb6),()=>{const _0xf2e543=_0x6e2de1;this[_0xf2e543(0xb0)](_0xf2e543(0xac));});}}
23
+ const _0x2d5333=_0x2f2f;(function(_0x4f080b,_0x57476e){const _0x3c561f=_0x2f2f,_0x568c5d=_0x4f080b();while(!![]){try{const _0x2d470c=parseInt(_0x3c561f(0xa9))/0x1*(parseInt(_0x3c561f(0xce))/0x2)+parseInt(_0x3c561f(0xa8))/0x3+-parseInt(_0x3c561f(0xb0))/0x4*(-parseInt(_0x3c561f(0xcf))/0x5)+parseInt(_0x3c561f(0xa6))/0x6*(parseInt(_0x3c561f(0xd6))/0x7)+parseInt(_0x3c561f(0xa7))/0x8+parseInt(_0x3c561f(0xca))/0x9+-parseInt(_0x3c561f(0xd4))/0xa;if(_0x2d470c===_0x57476e)break;else _0x568c5d['push'](_0x568c5d['shift']());}catch(_0x3d274a){_0x568c5d['push'](_0x568c5d['shift']());}}}(_0x4d06,0x4f8a2));function _0x2f2f(_0x5364df,_0x3cc914){const _0x4d0631=_0x4d06();return _0x2f2f=function(_0x2f2f66,_0x4f8ba3){_0x2f2f66=_0x2f2f66-0xa5;let _0x2e97d8=_0x4d0631[_0x2f2f66];return _0x2e97d8;},_0x2f2f(_0x5364df,_0x3cc914);}import{ButtonView as _0x307eb8,IconView as _0x4b8f04,ToolbarView as _0x2a2580}from'ckeditor5/src/ui.js';import{IconCheck as _0x53f122,IconCopy as _0x4f3914,IconShowChangesOff as _0x2e2e62,IconShowChangesOn as _0x176885,IconThumbDown as _0x3ab8b8,IconThumbUp as _0x59a916}from'@ckeditor/ckeditor5-icons';function _0x4d06(){const _0x502be2=['69870JFAyAw','113070dhRhud','_config','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','icon','_setupShowChangesButton','7612670bFnIbD','length','49LtNxjI','execute','AI_MINI_TOOLBAR_DISLIKE','full','children','bind','50658nucAmN','764608TbTDwY','221217kCSCEe','11RuJujZ','ck-ai-mini-toolbar-copy-button','items','locale','ck-ai-mini-toolbar\x20ck-hidden','AI_MINI_TOOLBAR_LIKE','extendTemplate','56WdVoUs','showChanges','showChangesButton','AI_SUGGESTION_BUTTON_SHOW_CHANGES','toggleShowChanges','isOn','showLike','_setupRatingButtons','ck-ai-mini-toolbar','add','isShowChangesOn','ck-ai-mini-toolbar-copy-button__check-mark','AI_MINI_TOOLBAR_COPY','fire','ck-ai-button-tertiary','showCopy','copyButton','likeButton','dislikeButton','customView','dislike','_setupCopyButton','isEnabled','addMany','set','toggleShowChangesEnabled','1419876njpPmI','class','like','showDislike'];_0x4d06=function(){return _0x502be2;};return _0x4d06();}import{getTranslation as _0x20bb20}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x2a2580{[_0x2d5333(0xc0)];[_0x2d5333(0xc1)];[_0x2d5333(0xc2)];[_0x2d5333(0xb2)];[_0x2d5333(0xd0)];constructor(_0x1313cc,_0x368dd4={}){const _0x454883=_0x2d5333;super(_0x1313cc),this[_0x454883(0xc8)](_0x454883(0xc6),!0x0),this[_0x454883(0xc8)](_0x454883(0xba),!0x1),this[_0x454883(0xd0)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x368dd4};const _0x43bd3b=!(this[_0x454883(0xd0)][_0x454883(0xbf)]||this[_0x454883(0xd0)][_0x454883(0xb1)]||this[_0x454883(0xd0)][_0x454883(0xb6)]||this[_0x454883(0xd0)][_0x454883(0xcd)]||this[_0x454883(0xd0)][_0x454883(0xc3)]?.[_0x454883(0xd5)]);this[_0x454883(0xcb)]=_0x43bd3b?_0x454883(0xad):_0x454883(0xb8),this[_0x454883(0xd0)][_0x454883(0xbf)]&&(this[_0x454883(0xc5)](),this[_0x454883(0xab)][_0x454883(0xb9)](this[_0x454883(0xc0)])),this[_0x454883(0xd0)][_0x454883(0xb1)]&&(this[_0x454883(0xd3)](),this[_0x454883(0xab)][_0x454883(0xb9)](this[_0x454883(0xb2)])),this[_0x454883(0xb7)](),this[_0x454883(0xd0)][_0x454883(0xb6)]&&this[_0x454883(0xab)][_0x454883(0xb9)](this[_0x454883(0xc1)]),this[_0x454883(0xd0)][_0x454883(0xcd)]&&this[_0x454883(0xab)][_0x454883(0xb9)](this[_0x454883(0xc2)]),this[_0x454883(0xd0)][_0x454883(0xc3)]&&this[_0x454883(0xab)][_0x454883(0xc7)](this[_0x454883(0xd0)][_0x454883(0xc3)]);}[_0x2d5333(0xc9)](_0x25f64f){const _0x5ba3d6=_0x2d5333;this[_0x5ba3d6(0xb2)][_0x5ba3d6(0xc6)]=_0x25f64f;}[_0x2d5333(0xb7)](){const _0xc10ca9=_0x2d5333;this[_0xc10ca9(0xc1)]=new _0x307eb8(this[_0xc10ca9(0xac)]),this[_0xc10ca9(0xc1)][_0xc10ca9(0xc8)]({'icon':_0x59a916,'label':_0x20bb20(this[_0xc10ca9(0xac)],_0xc10ca9(0xae)),'tooltip':!0x0}),this[_0xc10ca9(0xc1)][_0xc10ca9(0xa5)](_0xc10ca9(0xc6))['to'](this),this[_0xc10ca9(0xc1)]['on'](_0xc10ca9(0xd7),()=>{const _0x5f45d5=_0xc10ca9;this[_0x5f45d5(0xbd)](_0x5f45d5(0xcc));}),this[_0xc10ca9(0xc2)]=new _0x307eb8(this[_0xc10ca9(0xac)]),this[_0xc10ca9(0xc2)][_0xc10ca9(0xc8)]({'icon':_0x3ab8b8,'label':_0x20bb20(this[_0xc10ca9(0xac)],_0xc10ca9(0xd8)),'tooltip':!0x0}),this[_0xc10ca9(0xc2)][_0xc10ca9(0xa5)](_0xc10ca9(0xc6))['to'](this),this[_0xc10ca9(0xc2)]['on'](_0xc10ca9(0xd7),()=>{const _0x52f4ca=_0xc10ca9;this[_0x52f4ca(0xbd)](_0x52f4ca(0xc4));});}[_0x2d5333(0xc5)](){const _0x3c40c8=_0x2d5333;this[_0x3c40c8(0xc0)]=new _0x307eb8(this[_0x3c40c8(0xac)]),this[_0x3c40c8(0xc0)][_0x3c40c8(0xc8)]({'icon':_0x4f3914,'label':_0x20bb20(this[_0x3c40c8(0xac)],_0x3c40c8(0xbc)),'class':_0x3c40c8(0xaa),'tooltip':!0x0}),this[_0x3c40c8(0xc0)][_0x3c40c8(0xa5)](_0x3c40c8(0xc6))['to'](this);const _0x1effbd=new _0x4b8f04();_0x1effbd[_0x3c40c8(0xc8)]({'content':_0x53f122}),_0x1effbd[_0x3c40c8(0xaf)]({'attributes':{'class':[_0x3c40c8(0xbb)]}}),this[_0x3c40c8(0xc0)]['on'](_0x3c40c8(0xd7),()=>{const _0x505bcc=_0x3c40c8;this[_0x505bcc(0xc0)][_0x505bcc(0xcb)]=_0x505bcc(0xd1),setTimeout(()=>{const _0x3ed8c2=_0x505bcc;this[_0x3ed8c2(0xc0)][_0x3ed8c2(0xcb)]=_0x3ed8c2(0xaa);},0x7d0);}),this[_0x3c40c8(0xc0)][_0x3c40c8(0xda)][_0x3c40c8(0xb9)](_0x1effbd);}[_0x2d5333(0xd3)](){const _0xb52701=_0x2d5333;this[_0xb52701(0xb2)]=new _0x307eb8(this[_0xb52701(0xac)]),this[_0xb52701(0xb2)][_0xb52701(0xc8)]({'icon':_0x2e2e62,'label':_0x20bb20(this[_0xb52701(0xac)],_0xb52701(0xb3)),'withText':_0xb52701(0xd9)==this[_0xb52701(0xd0)][_0xb52701(0xb1)],'tooltip':_0xb52701(0xd9)!=this[_0xb52701(0xd0)][_0xb52701(0xb1)],'class':_0xb52701(0xbe)}),this[_0xb52701(0xb2)][_0xb52701(0xa5)](_0xb52701(0xb5))['to'](this,_0xb52701(0xba)),this[_0xb52701(0xb2)][_0xb52701(0xa5)](_0xb52701(0xc6))['to'](this),this[_0xb52701(0xb2)][_0xb52701(0xa5)](_0xb52701(0xd2))['to'](this,_0xb52701(0xba),_0x5d94b3=>_0x5d94b3?_0x176885:_0x2e2e62),this[_0xb52701(0xb2)]['on'](_0xb52701(0xd7),()=>{const _0x51817f=_0xb52701;this[_0x51817f(0xbd)](_0x51817f(0xb4));});}}