@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 47.2.0-alpha.5

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 (129) 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/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  51. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  59. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  60. package/src/aichat/utils/eventnames.js +1 -1
  61. package/src/aichat/utils/promisequeue.js +1 -1
  62. package/src/aichat/utils/scrollmanager.js +1 -1
  63. package/src/aichathistory/aichathistory.js +1 -1
  64. package/src/aichathistory/aichathistorycontroller.js +1 -1
  65. package/src/aichathistory/aichathistoryui.js +1 -1
  66. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  67. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  68. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  69. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  70. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  71. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  72. package/src/aicore/aiconnector.js +1 -1
  73. package/src/aicore/aiediting.js +1 -1
  74. package/src/aicore/model/aicapabilities.js +1 -1
  75. package/src/aicore/model/aiinteraction.js +1 -1
  76. package/src/aicore/model/aimodels.js +1 -1
  77. package/src/aicore/model/aireply.js +1 -1
  78. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  79. package/src/aicore/pipeline/airesponseparser.js +2 -2
  80. package/src/aicore/ui/aidisclaimerview.js +1 -1
  81. package/src/aicore/ui/aiskeleton.js +1 -1
  82. package/src/aicore/ui/aispinner.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  87. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  88. package/src/aicore/utils/createresizebutton.js +1 -1
  89. package/src/aicore/utils/documentrange.js +1 -1
  90. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  91. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  92. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  93. package/src/aicore/utils/htmlparser.js +1 -1
  94. package/src/aicore/utils/htmlstreamer.js +1 -1
  95. package/src/aieditorintegration/aieditorintegration.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  97. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  98. package/src/aiquickactions/aiquickactions.js +1 -1
  99. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  100. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  101. package/src/aiquickactions/aiquickactionsui.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  104. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  105. package/src/aireviewmode/aireviewmode.js +1 -1
  106. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  107. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  108. package/src/aireviewmode/aireviewmodeui.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  110. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  112. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  113. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  114. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  124. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  125. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  126. package/src/aitabs/aitabs.js +1 -1
  127. package/src/aitabs/tabs/aitabsview.js +1 -1
  128. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  129. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cbc17=_0xb580;(function(_0x4dde08,_0x447751){const _0x49646d=_0xb580,_0x2e882a=_0x4dde08();while(!![]){try{const _0xebb064=parseInt(_0x49646d(0x1ec))/0x1+parseInt(_0x49646d(0x1e6))/0x2+-parseInt(_0x49646d(0x210))/0x3+parseInt(_0x49646d(0x1f7))/0x4*(-parseInt(_0x49646d(0x1e5))/0x5)+-parseInt(_0x49646d(0x1dd))/0x6+parseInt(_0x49646d(0x1e3))/0x7*(-parseInt(_0x49646d(0x203))/0x8)+-parseInt(_0x49646d(0x1f5))/0x9*(-parseInt(_0x49646d(0x213))/0xa);if(_0xebb064===_0x447751)break;else _0x2e882a['push'](_0x2e882a['shift']());}catch(_0x9274c3){_0x2e882a['push'](_0x2e882a['shift']());}}}(_0xcf77,0xa4f85));import{ObservableMixin as _0x1b9887,uid as _0x231c4e}from'ckeditor5/src/utils.js';function _0xcf77(){const _0x331720=['map','_getUid','_hasWrappedParent','_insertNodes','modifiedIds','nextSibling','nodeType','490104ymkLZC','_markUnstableElements','true','60RWRmyR','lastChild','has','_getNodeDataId','replaceRemovedWith','new-element','_findFallbackReferenceNode','merge','_isDelNode','markUnstableElementsDepth','beforebegin','splice','data-wrapped-id','_storeDeletedElementIds','trim','cloneNode','_findPrevElementWithDataId','3340794hDUtpU','_isExistingContentComment','parentNode','removedIds','push','previousSibling','218848nzWTrn','filter','85QepxDX','2135206HDyhdp','_isExistingNode','from','indexOf','_existingDataIds','childNodes','768588BJrAvX','_removeSpecialComments','_touchedNodesState','newIds','cutAfterLastChange','_markLastTagElementUnstable','_findNextElementWithDataId','afterbegin','_replaceNode','441747OYCJBG','_findReferenceNode','69908lUbFka','markUnstableElements','match','invalidIds','data-unstable','reverse','includes','forEach','slice','_isNewNode','lastTouchedId','_markWrappedElements','112ZGlpWL','afterend','data-removed','data-id','_generateUid','length'];_0xcf77=function(){return _0x331720;};return _0xcf77();}import{findAllByAttribute as _0x3e7a1e,findByAttribute as _0x4ef788,getAttribute as _0x34b6b7,isComment as _0x5ccbac,isTag as _0x8fa7d1,insertElement as _0x272cb4,moveElement as _0x3db494,removeElement as _0x3761c9,replaceElement as _0x11fa30,serialize as _0x1117d5,setAttribute as _0x31aee7,clone as _0x4644ba,findAllComments as _0x1ffc2c,getParents as _0x21be3c,getNodeNestingLevel as _0x994146,areNodesSame as _0x3a1955,removeElementsAfter as _0x382bec}from'../utils/htmlparser.js';function _0xb580(_0x2d7900,_0x5b7bcf){const _0xcf778=_0xcf77();return _0xb580=function(_0xb58097,_0xc4e5c7){_0xb58097=_0xb58097-0x1db;let _0x3fdbdd=_0xcf778[_0xb58097];return _0x3fdbdd;},_0xb580(_0x2d7900,_0x5b7bcf);}export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x1b9887(){[_0x3cbc17(0x207)];[_0x3cbc17(0x1ee)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x3cbc17(0x1ea)]=new Set();constructor(_0x90490a){const _0x53c649=_0x3cbc17;super(),this[_0x53c649(0x207)]=_0x90490a||_0x231c4e;}[_0x3cbc17(0x21a)](_0x55cf98,_0x5bfc4a,_0x3c02f2){const _0x2ca5d7=_0x3cbc17,_0x1c7373=_0x4644ba(_0x55cf98);if(0x0===_0x5bfc4a[_0x2ca5d7(0x1eb)][_0x2ca5d7(0x208)]){const _0x1b8aee=[];return _0x3e7a1e(_0x2ca5d7(0x206),_0x2ca5d7(0x218),_0x1c7373)[_0x2ca5d7(0x1fe)](_0xeb87dc=>{const _0x312771=_0x2ca5d7,_0x36b9be=this[_0x312771(0x207)]();_0x31aee7(_0xeb87dc,_0x312771(0x206),_0x36b9be),_0x1b8aee[_0x312771(0x1e1)](_0x36b9be);}),this[_0x2ca5d7(0x1ed)](_0x1c7373),{'parsedContent':_0x1c7373,'newNodeIds':_0x1b8aee,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x3c02f2&&_0x3c02f2[_0x2ca5d7(0x1f8)]&&this[_0x2ca5d7(0x1f1)](_0x1c7373),this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1ef)]=[],this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x20d)]=[],this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)]=[],this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1fa)]=[],this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x201)]=null,this[_0x2ca5d7(0x1ea)]=new Set(_0x3e7a1e(_0x2ca5d7(0x206),null,_0x5bfc4a)[_0x2ca5d7(0x209)](_0x4b7dc4=>_0x34b6b7(_0x4b7dc4,_0x2ca5d7(0x206)))[_0x2ca5d7(0x1e4)](_0x12dad1=>!!_0x12dad1));let _0xb1d258=-0x1,_0x5e9ec2=!0x1;const _0x508617=_0x1c7373[_0x2ca5d7(0x1eb)],_0x482839=Array[_0x2ca5d7(0x1e8)](_0x508617)[_0x2ca5d7(0x1e4)](_0x3903d9=>!(0x3===_0x3903d9[_0x2ca5d7(0x20f)]&&''===_0x1117d5(_0x3903d9)[_0x2ca5d7(0x221)]())),_0x20ad49=_0x482839[_0x2ca5d7(0x208)];for(let _0x508640=0x0;_0x508640<_0x20ad49;_0x508640++){const _0x152992=_0x482839[_0x508640],_0x150826=_0x482839[_0x508640+0x1];if(this[_0x2ca5d7(0x200)](_0x152992)){if(-0x1===_0xb1d258&&(_0xb1d258=_0x508640),this[_0x2ca5d7(0x202)](_0x152992),!this[_0x2ca5d7(0x200)](_0x150826)){const [_0x3f5599,_0x26e746]=this[_0x2ca5d7(0x1f6)](_0x152992,_0x5e9ec2,_0x5bfc4a);if(_0x3f5599){const _0x50f421=Array[_0x2ca5d7(0x1e8)](_0x482839)[_0x2ca5d7(0x1ff)](_0xb1d258,_0x508640+0x1);this[_0x2ca5d7(0x20c)](_0x3f5599,_0x50f421,_0x26e746),_0xb1d258=-0x1;}}}else{if(this[_0x2ca5d7(0x1de)](_0x152992))_0x5e9ec2=!0x0;else{if(this[_0x2ca5d7(0x1e7)](_0x152992)){const _0x1f86ca=_0x34b6b7(_0x152992,_0x2ca5d7(0x206));if(_0x1f86ca&&this[_0x2ca5d7(0x1ea)][_0x2ca5d7(0x215)](_0x1f86ca)){const _0x1f8b0f=_0x4ef788(_0x2ca5d7(0x206),_0x1f86ca,_0x5bfc4a);this[_0x2ca5d7(0x1f4)](_0x1f8b0f,_0x152992);}if(this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)][_0x2ca5d7(0x1fd)](_0x1f86ca)){const _0x4112da=this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)][_0x2ca5d7(0x1e9)](_0x1f86ca);this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)][_0x2ca5d7(0x21e)](_0x4112da,0x1);}}else{if(this[_0x2ca5d7(0x21b)](_0x152992)){const _0x33090d=_0x34b6b7(_0x152992,_0x2ca5d7(0x206));this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x20d)][_0x2ca5d7(0x1fd)](_0x33090d)||this[_0x2ca5d7(0x220)](_0x152992);}}}}}for(const _0x6b16cc of this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)]){const _0x302000=_0x4ef788(_0x2ca5d7(0x206),_0x6b16cc,_0x5bfc4a);if(_0x302000){if(_0x3c02f2&&_0x3c02f2[_0x2ca5d7(0x217)]){this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x201)]=_0x6b16cc;const _0x54441a=_0x3c02f2[_0x2ca5d7(0x217)][_0x2ca5d7(0x1db)](!0x0);_0x31aee7(_0x54441a,_0x2ca5d7(0x206),_0x6b16cc),_0x31aee7(_0x54441a,_0x2ca5d7(0x205),_0x2ca5d7(0x212)),_0x11fa30(_0x302000,_0x54441a);}else _0x3761c9(_0x302000);}}if(_0x3e7a1e(_0x2ca5d7(0x21f),null,_0x5bfc4a)[_0x2ca5d7(0x1fe)](_0x3c71a5=>{const _0x1f8d1b=_0x2ca5d7,_0x21910d=_0x34b6b7(_0x3c71a5,_0x1f8d1b(0x21f)),_0x247337=_0x4ef788(_0x1f8d1b(0x206),_0x21910d,_0x5bfc4a);_0x247337&&_0x3db494(_0x247337,_0x3c71a5);}),_0x3e7a1e(_0x2ca5d7(0x206),_0x2ca5d7(0x218),_0x5bfc4a)[_0x2ca5d7(0x1fe)](_0x300afd=>{const _0x4f9564=_0x2ca5d7,_0x548201=this[_0x4f9564(0x20a)](_0x300afd);_0x31aee7(_0x300afd,_0x4f9564(0x206),_0x548201),this[_0x4f9564(0x1ee)][_0x4f9564(0x1ef)][_0x4f9564(0x1e1)](_0x548201);}),this[_0x2ca5d7(0x1ed)](_0x5bfc4a),_0x3c02f2&&_0x3c02f2[_0x2ca5d7(0x1f8)]&&this[_0x2ca5d7(0x211)](_0x5bfc4a,_0x3c02f2[_0x2ca5d7(0x21c)]||0x0),_0x3c02f2&&_0x3c02f2[_0x2ca5d7(0x1f0)]&&this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x201)]){let _0x3e2679=_0x4ef788(_0x2ca5d7(0x206),this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x201)],_0x5bfc4a);for(;_0x3e2679;)_0x382bec(_0x3e2679),_0x3e2679=_0x3e2679[_0x2ca5d7(0x1df)];}return{'parsedContent':_0x5bfc4a,'newNodeIds':this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1ef)],'modifiedNodeIds':this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x20d)],'removedNodeIds':this[_0x2ca5d7(0x1ee)][_0x2ca5d7(0x1e0)]};}[_0x3cbc17(0x20c)](_0x2aa943,_0x1f01e,_0x17edc8){const _0x26881b=_0x3cbc17;for(const _0x1ddf71 of _0x1f01e){const _0x39c259=this[_0x26881b(0x20a)](_0x1ddf71);_0x31aee7(_0x1ddf71,_0x26881b(0x206),_0x39c259),this[_0x26881b(0x1ee)][_0x26881b(0x1ef)][_0x26881b(0x1e1)](_0x39c259),this[_0x26881b(0x1ee)][_0x26881b(0x201)]=_0x39c259;}const _0x1af47d=_0x26881b(0x1f3)===_0x17edc8||_0x26881b(0x204)===_0x17edc8?_0x1f01e[_0x26881b(0x1fc)]():_0x1f01e;for(const _0x47a1c of _0x1af47d)_0x272cb4(_0x2aa943,_0x47a1c,_0x17edc8);}[_0x3cbc17(0x1f4)](_0x2910e6,_0x6e178e){const _0x1d99b4=_0x3cbc17;if(!_0x2910e6)return;if(_0x3a1955(_0x2910e6,_0x6e178e))return;const _0x3e044a=this[_0x1d99b4(0x20a)](_0x2910e6);_0x31aee7(_0x6e178e,_0x1d99b4(0x206),_0x3e044a),this[_0x1d99b4(0x1ee)][_0x1d99b4(0x20d)][_0x1d99b4(0x1e1)](_0x3e044a),this[_0x1d99b4(0x1ee)][_0x1d99b4(0x201)]=_0x3e044a,_0x11fa30(_0x2910e6,_0x6e178e[_0x1d99b4(0x1db)](!0x0));}[_0x3cbc17(0x1f6)](_0x357c82,_0x48a9d0,_0x2a3b0e){const _0x5ec504=_0x3cbc17,_0x39a16e=this[_0x5ec504(0x1dc)](_0x357c82,!0x1);if(_0x39a16e){const _0x1083f8=this[_0x5ec504(0x216)](_0x39a16e),_0x16f069=_0x4ef788(_0x5ec504(0x206),_0x1083f8,_0x2a3b0e);if(_0x16f069)return[_0x16f069,_0x5ec504(0x204)];this[_0x5ec504(0x1ee)][_0x5ec504(0x1fa)][_0x5ec504(0x1e1)](_0x1083f8);}const _0x5c12e6=this[_0x5ec504(0x1f2)](_0x357c82,!0x1);if(_0x5c12e6){const _0x2fc9de=this[_0x5ec504(0x216)](_0x5c12e6),_0x9f70e9=_0x4ef788(_0x5ec504(0x206),_0x2fc9de,_0x2a3b0e);if(_0x9f70e9)return[_0x9f70e9,_0x5ec504(0x21d)];this[_0x5ec504(0x1ee)][_0x5ec504(0x1fa)][_0x5ec504(0x1e1)](_0x2fc9de);}return _0x48a9d0?_0x357c82[_0x5ec504(0x20e)]?this[_0x5ec504(0x219)](_0x357c82,_0x2a3b0e):[_0x2a3b0e[_0x5ec504(0x1eb)][_0x2a3b0e[_0x5ec504(0x1eb)][_0x5ec504(0x208)]-0x1],_0x5ec504(0x204)]:[_0x2a3b0e[_0x5ec504(0x1eb)][0x0],_0x5ec504(0x21d)];}[_0x3cbc17(0x219)](_0x29b8a8,_0x1697e8){const _0x137b05=_0x3cbc17,_0x2871f4=[],_0x5ad9d7=this[_0x137b05(0x1dc)](_0x29b8a8,!0x0);if(_0x5ad9d7){const _0xbbe842=this[_0x137b05(0x216)](_0x5ad9d7),_0x235483=_0x4ef788(_0x137b05(0x206),_0xbbe842,_0x1697e8);_0x235483&&_0x2871f4[_0x137b05(0x1e1)]([_0x235483,_0x137b05(0x204)]);}const _0xf08df8=this[_0x137b05(0x1f2)](_0x29b8a8,!0x0);if(_0xf08df8){const _0x5114b2=this[_0x137b05(0x216)](_0xf08df8),_0x3eaa93=_0x4ef788(_0x137b05(0x206),_0x5114b2,_0x1697e8);_0x3eaa93&&_0x2871f4[_0x137b05(0x1e1)]([_0x3eaa93,_0x137b05(0x21d)]);}if(_0x2871f4[_0x137b05(0x208)]>0x1)return _0x994146(_0x2871f4[0x0][0x0])<=_0x994146(_0x2871f4[0x1][0x0])?_0x2871f4[0x0]:_0x2871f4[0x1];return 0x1===_0x2871f4[_0x137b05(0x208)]?_0x2871f4[0x0]:[_0x1697e8[_0x137b05(0x214)],_0x137b05(0x204)];}[_0x3cbc17(0x1f2)](_0x54d684,_0x19fe7){const _0x530f50=_0x3cbc17;let _0x3acbbf=_0x54d684[_0x530f50(0x20e)],_0x259015=null,_0x104d28=!0x1;for(;_0x3acbbf;){if(_0x5ccbac(_0x3acbbf)){if(this[_0x530f50(0x21b)](_0x3acbbf)&&(_0x259015=_0x3acbbf),this[_0x530f50(0x1de)](_0x3acbbf)&&_0x19fe7&&!_0x104d28){_0x104d28=!0x0,_0x3acbbf=_0x3acbbf[_0x530f50(0x20e)];continue;}break;}const _0x297809=_0x34b6b7(_0x3acbbf,_0x530f50(0x206));if(_0x297809&&_0x530f50(0x218)!==_0x297809&&this[_0x530f50(0x1ea)][_0x530f50(0x215)](_0x297809)){_0x259015=_0x3acbbf;break;}_0x3acbbf=_0x3acbbf[_0x530f50(0x20e)];}return _0x259015;}[_0x3cbc17(0x1dc)](_0x49d353,_0x4fbf01){const _0x2fe6fa=_0x3cbc17;let _0x146c4f=_0x49d353[_0x2fe6fa(0x1e2)],_0x1ee3cc=null,_0x3658e1=!0x1;for(;_0x146c4f;){if(_0x5ccbac(_0x146c4f)){if(this[_0x2fe6fa(0x21b)](_0x146c4f)&&(_0x1ee3cc=_0x146c4f),this[_0x2fe6fa(0x1de)](_0x146c4f)&&_0x4fbf01&&!_0x3658e1){_0x3658e1=!0x0,_0x146c4f=_0x146c4f[_0x2fe6fa(0x1e2)];continue;}break;}const _0x380edb=_0x34b6b7(_0x146c4f,_0x2fe6fa(0x206));if(_0x380edb&&_0x2fe6fa(0x218)!==_0x380edb&&this[_0x2fe6fa(0x1ea)][_0x2fe6fa(0x215)](_0x380edb)){_0x1ee3cc=_0x146c4f;break;}_0x146c4f=_0x146c4f[_0x2fe6fa(0x1e2)];}return _0x1ee3cc;}[_0x3cbc17(0x202)](_0x46dad3){const _0x3a0536=_0x3cbc17;_0x8fa7d1(_0x46dad3)&&_0x3e7a1e(_0x3a0536(0x206),null,_0x46dad3)[_0x3a0536(0x1fe)](_0x5a9f5a=>{const _0x37da85=_0x3a0536;if(this[_0x37da85(0x1e7)](_0x5a9f5a)&&!this[_0x37da85(0x20b)](_0x5a9f5a)){const _0x3045ff=_0x34b6b7(_0x5a9f5a,_0x37da85(0x206));_0x31aee7(_0x5a9f5a,_0x37da85(0x21f),_0x3045ff),_0x31aee7(_0x5a9f5a,_0x37da85(0x206),null);}});}[_0x3cbc17(0x216)](_0x50ee8f){const _0xb7cbfc=_0x3cbc17;if(!_0x50ee8f)return null;if(_0x8fa7d1(_0x50ee8f))return _0x34b6b7(_0x50ee8f,_0xb7cbfc(0x206));if(_0x5ccbac(_0x50ee8f)){const _0xbbef7a=_0x1117d5(_0x50ee8f)[_0xb7cbfc(0x1f9)](/removed[\s*-]data-id="([^"]+)"/);if(_0xbbef7a&&_0xbbef7a[0x1])return _0xbbef7a[0x1];}return null;}[_0x3cbc17(0x220)](_0x9bb704){const _0x120f61=_0x3cbc17;if(_0x5ccbac(_0x9bb704)){const _0x4c977b=_0x1117d5(_0x9bb704)[_0x120f61(0x1f9)](/removed[\s*-]data-id="([^"]+)"/);_0x4c977b&&_0x4c977b[0x1]&&this[_0x120f61(0x1ee)][_0x120f61(0x1e0)][_0x120f61(0x1e1)](_0x4c977b[0x1]);}}[_0x3cbc17(0x20a)](_0x3c46ee){const _0x12e989=_0x3cbc17;return this[_0x12e989(0x1e7)](_0x3c46ee)?_0x34b6b7(_0x3c46ee,_0x12e989(0x206)):this[_0x12e989(0x207)]();}[_0x3cbc17(0x1ed)](_0x7629f2){const _0x4fb33e=_0x3cbc17;_0x1ffc2c(_0x7629f2)[_0x4fb33e(0x1e4)](_0x2f9833=>this[_0x4fb33e(0x21b)](_0x2f9833)||this[_0x4fb33e(0x1de)](_0x2f9833))[_0x4fb33e(0x1fe)](_0x4cc74a=>{_0x3761c9(_0x4cc74a);});}[_0x3cbc17(0x1f1)](_0x81cdb0){const _0x5cb041=_0x3cbc17,_0x4ecf4e=_0x81cdb0[_0x5cb041(0x1eb)],_0x452a28=_0x4ecf4e[_0x4ecf4e[_0x5cb041(0x208)]-0x1];_0x452a28&&_0x8fa7d1(_0x452a28)&&_0x31aee7(_0x452a28,_0x5cb041(0x1fb),_0x5cb041(0x212));}[_0x3cbc17(0x211)](_0x1b878e,_0x42b4ad){const _0x4896f6=_0x3cbc17,_0x242a39=_0x4ef788(_0x4896f6(0x1fb),_0x4896f6(0x212),_0x1b878e);if(!_0x242a39)return;const _0x5eb15c=_0x21be3c(_0x242a39)[_0x4896f6(0x1ff)](0x0,-0x1),_0x3a8872=_0x5eb15c[_0x4896f6(0x208)];let _0x37b5bc=_0x242a39;if(_0x3a8872>_0x42b4ad){let _0x39228b=_0x3a8872,_0x19bf24=null;for(;_0x39228b>_0x42b4ad&&_0x39228b>=0x0;)_0x39228b--,_0x19bf24=_0x5eb15c[_0x39228b];_0x19bf24&&(_0x37b5bc=_0x19bf24,_0x31aee7(_0x242a39,_0x4896f6(0x1fb),null),_0x31aee7(_0x19bf24,_0x4896f6(0x1fb),_0x4896f6(0x212)));}else{if(_0x3a8872<_0x42b4ad){let _0x3e1865=_0x3a8872,_0x3abfd1=_0x242a39;for(;_0x3e1865<_0x42b4ad;){const _0x527cbd=_0x3abfd1[_0x4896f6(0x1eb)][_0x4896f6(0x1e4)](_0x7e0790=>_0x8fa7d1(_0x7e0790));if(0x0===_0x527cbd[_0x4896f6(0x208)])break;_0x3e1865++,_0x3abfd1=_0x527cbd[_0x527cbd[_0x4896f6(0x208)]-0x1];}_0x3abfd1&&(_0x37b5bc=_0x3abfd1,_0x31aee7(_0x242a39,_0x4896f6(0x1fb),null),_0x31aee7(_0x3abfd1,_0x4896f6(0x1fb),_0x4896f6(0x212)));}}let _0x29df9c=_0x37b5bc;for(;_0x29df9c;){for(;_0x29df9c[_0x4896f6(0x20e)];)_0x29df9c=_0x29df9c[_0x4896f6(0x20e)],_0x8fa7d1(_0x29df9c)&&_0x31aee7(_0x29df9c,_0x4896f6(0x1fb),_0x4896f6(0x212));_0x29df9c=_0x29df9c[_0x4896f6(0x1df)];}}[_0x3cbc17(0x200)](_0x3545dc){const _0x38cbc9=_0x3cbc17;return Boolean(_0x38cbc9(0x218)===_0x34b6b7(_0x3545dc,_0x38cbc9(0x206)));}[_0x3cbc17(0x1e7)](_0x38bb2c){const _0x2690bf=_0x3cbc17;return Boolean((_0x34b6b7(_0x38bb2c,_0x2690bf(0x206))||'')[_0x2690bf(0x208)]>0x0&&_0x2690bf(0x218)!==_0x34b6b7(_0x38bb2c,_0x2690bf(0x206)));}[_0x3cbc17(0x21b)](_0x1952bf){const _0x5a4652=_0x3cbc17;return!!_0x1952bf&&Boolean(_0x5ccbac(_0x1952bf)&&_0x1117d5(_0x1952bf)[_0x5a4652(0x1f9)](/removed[\s*-]data-id="[^"]+"/));}[_0x3cbc17(0x20b)](_0x378727){const _0x1a55ec=_0x3cbc17;let _0x2da2b5=_0x378727[_0x1a55ec(0x1df)];for(;_0x2da2b5;){if(_0x34b6b7(_0x2da2b5,_0x1a55ec(0x21f)))return!0x0;_0x2da2b5=_0x2da2b5[_0x1a55ec(0x1df)];}return!0x1;}[_0x3cbc17(0x1de)](_0x47ba51){const _0xd0ca12=_0x3cbc17;return Boolean(_0x5ccbac(_0x47ba51)&&_0x1117d5(_0x47ba51)[_0xd0ca12(0x1f9)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ const _0x2bba18=_0x2326;(function(_0xbaad62,_0x48bb03){const _0x57b821=_0x2326,_0x201409=_0xbaad62();while(!![]){try{const _0x206319=-parseInt(_0x57b821(0x230))/0x1*(-parseInt(_0x57b821(0x20d))/0x2)+parseInt(_0x57b821(0x219))/0x3*(-parseInt(_0x57b821(0x21a))/0x4)+-parseInt(_0x57b821(0x233))/0x5+parseInt(_0x57b821(0x224))/0x6+parseInt(_0x57b821(0x1fe))/0x7*(-parseInt(_0x57b821(0x1ef))/0x8)+parseInt(_0x57b821(0x1f9))/0x9*(-parseInt(_0x57b821(0x217))/0xa)+parseInt(_0x57b821(0x205))/0xb*(parseInt(_0x57b821(0x22a))/0xc);if(_0x206319===_0x48bb03)break;else _0x201409['push'](_0x201409['shift']());}catch(_0x31c206){_0x201409['push'](_0x201409['shift']());}}}(_0x2d89,0x1930f));import{ObservableMixin as _0xf5579e,uid as _0x28d4e3}from'ckeditor5/src/utils.js';function _0x2326(_0xa99c60,_0x308746){const _0x2d89a6=_0x2d89();return _0x2326=function(_0x232686,_0x586b51){_0x232686=_0x232686-0x1ed;let _0x925a6a=_0x2d89a6[_0x232686];return _0x925a6a;},_0x2326(_0xa99c60,_0x308746);}function _0x2d89(){const _0xe87c62=['match','1174710HCbRPZ','_insertNodes','data-unstable','_findFallbackReferenceNode','includes','trim','120MCJDWp','parentNode','filter','removedIds','splice','childNodes','5837lKQwyV','_markLastTagElementUnstable','beforebegin','471900YkRpug','newIds','data-wrapped-id','replaceRemovedWith','invalidIds','72IUQEqj','data-removed','_findPrevElementWithDataId','has','slice','_markUnstableElements','_isDelNode','_replaceNode','markUnstableElements','cloneNode','81obqqhx','afterbegin','_findNextElementWithDataId','_removeSpecialComments','from','105238cCOZDe','modifiedIds','_isExistingContentComment','_existingDataIds','_isExistingNode','nextSibling','_generateUid','125367uuPakA','lastChild','new-element','_isNewNode','afterend','lastTouchedId','previousSibling','_findReferenceNode','36VBgGHC','reverse','markUnstableElementsDepth','_getUid','cutAfterLastChange','_markWrappedElements','_storeDeletedElementIds','_hasWrappedParent','map','push','83250RZVDut','length','21081KssoAn','4dNNZxk','forEach','_touchedNodesState','true','nodeType','_getNodeDataId','merge','indexOf','data-id'];_0x2d89=function(){return _0xe87c62;};return _0x2d89();}import{findAllByAttribute as _0x51394b,findByAttribute as _0x312ee6,getAttribute as _0x410b67,isComment as _0x3be658,isTag as _0x1e0b80,insertElement as _0x5b377f,moveElement as _0x152da3,removeElement as _0x5a0644,replaceElement as _0x39d496,serialize as _0x416a71,setAttribute as _0x45c1f5,clone as _0x5d97ee,findAllComments as _0x123022,getParents as _0x109a8b,getNodeNestingLevel as _0x140b5d,areNodesSame as _0x3849b7,removeElementsAfter as _0x1bda48}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0xf5579e(){[_0x2bba18(0x204)];[_0x2bba18(0x21c)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x2bba18(0x201)]=new Set();constructor(_0x2ec2a8){const _0x41c5c7=_0x2bba18;super(),this[_0x41c5c7(0x204)]=_0x2ec2a8||_0x28d4e3;}[_0x2bba18(0x220)](_0x1a3769,_0x4f7675,_0x146ae3){const _0x51683c=_0x2bba18,_0x28640b=_0x5d97ee(_0x1a3769);if(0x0===_0x4f7675[_0x51683c(0x22f)][_0x51683c(0x218)]){const _0x6648c2=[];return _0x51394b(_0x51683c(0x222),_0x51683c(0x207),_0x28640b)[_0x51683c(0x21b)](_0x36d4c1=>{const _0x84df4e=_0x51683c,_0x15fec4=this[_0x84df4e(0x204)]();_0x45c1f5(_0x36d4c1,_0x84df4e(0x222),_0x15fec4),_0x6648c2[_0x84df4e(0x216)](_0x15fec4);}),this[_0x51683c(0x1fc)](_0x28640b),{'parsedContent':_0x28640b,'newNodeIds':_0x6648c2,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x146ae3&&_0x146ae3[_0x51683c(0x1f7)]&&this[_0x51683c(0x231)](_0x28640b),this[_0x51683c(0x21c)][_0x51683c(0x234)]=[],this[_0x51683c(0x21c)][_0x51683c(0x1ff)]=[],this[_0x51683c(0x21c)][_0x51683c(0x22d)]=[],this[_0x51683c(0x21c)][_0x51683c(0x1ee)]=[],this[_0x51683c(0x21c)][_0x51683c(0x20a)]=null,this[_0x51683c(0x201)]=new Set(_0x51394b(_0x51683c(0x222),null,_0x4f7675)[_0x51683c(0x215)](_0x47bff0=>_0x410b67(_0x47bff0,_0x51683c(0x222)))[_0x51683c(0x22c)](_0x4cf53e=>!!_0x4cf53e));let _0x133740=-0x1,_0x24fa54=!0x1;const _0x112367=_0x28640b[_0x51683c(0x22f)],_0x5f1e19=Array[_0x51683c(0x1fd)](_0x112367)[_0x51683c(0x22c)](_0x19536a=>!(0x3===_0x19536a[_0x51683c(0x21e)]&&''===_0x416a71(_0x19536a)[_0x51683c(0x229)]())),_0x1f779e=_0x5f1e19[_0x51683c(0x218)];for(let _0x136141=0x0;_0x136141<_0x1f779e;_0x136141++){const _0x48bdf2=_0x5f1e19[_0x136141],_0x35195e=_0x5f1e19[_0x136141+0x1];if(this[_0x51683c(0x208)](_0x48bdf2)){if(-0x1===_0x133740&&(_0x133740=_0x136141),this[_0x51683c(0x212)](_0x48bdf2),!this[_0x51683c(0x208)](_0x35195e)){const [_0x107fbd,_0x7c01bd]=this[_0x51683c(0x20c)](_0x48bdf2,_0x24fa54,_0x4f7675);if(_0x107fbd){const _0x5e87b9=Array[_0x51683c(0x1fd)](_0x5f1e19)[_0x51683c(0x1f3)](_0x133740,_0x136141+0x1);this[_0x51683c(0x225)](_0x107fbd,_0x5e87b9,_0x7c01bd),_0x133740=-0x1;}}}else{if(this[_0x51683c(0x200)](_0x48bdf2))_0x24fa54=!0x0;else{if(this[_0x51683c(0x202)](_0x48bdf2)){const _0x336076=_0x410b67(_0x48bdf2,_0x51683c(0x222));if(_0x336076&&this[_0x51683c(0x201)][_0x51683c(0x1f2)](_0x336076)){const _0x463ab4=_0x312ee6(_0x51683c(0x222),_0x336076,_0x4f7675);this[_0x51683c(0x1f6)](_0x463ab4,_0x48bdf2);}if(this[_0x51683c(0x21c)][_0x51683c(0x22d)][_0x51683c(0x228)](_0x336076)){const _0x147e97=this[_0x51683c(0x21c)][_0x51683c(0x22d)][_0x51683c(0x221)](_0x336076);this[_0x51683c(0x21c)][_0x51683c(0x22d)][_0x51683c(0x22e)](_0x147e97,0x1);}}else{if(this[_0x51683c(0x1f5)](_0x48bdf2)){const _0x22884f=_0x410b67(_0x48bdf2,_0x51683c(0x222));this[_0x51683c(0x21c)][_0x51683c(0x1ff)][_0x51683c(0x228)](_0x22884f)||this[_0x51683c(0x213)](_0x48bdf2);}}}}}for(const _0x21f9e7 of this[_0x51683c(0x21c)][_0x51683c(0x22d)]){const _0x50e411=_0x312ee6(_0x51683c(0x222),_0x21f9e7,_0x4f7675);if(_0x50e411){if(_0x146ae3&&_0x146ae3[_0x51683c(0x1ed)]){this[_0x51683c(0x21c)][_0x51683c(0x20a)]=_0x21f9e7;const _0x42b57a=_0x146ae3[_0x51683c(0x1ed)][_0x51683c(0x1f8)](!0x0);_0x45c1f5(_0x42b57a,_0x51683c(0x222),_0x21f9e7),_0x45c1f5(_0x42b57a,_0x51683c(0x1f0),_0x51683c(0x21d)),_0x39d496(_0x50e411,_0x42b57a);}else _0x5a0644(_0x50e411);}}if(_0x51394b(_0x51683c(0x235),null,_0x4f7675)[_0x51683c(0x21b)](_0x12c40a=>{const _0x147953=_0x51683c,_0xde1496=_0x410b67(_0x12c40a,_0x147953(0x235)),_0x5dbd42=_0x312ee6(_0x147953(0x222),_0xde1496,_0x4f7675);_0x5dbd42&&_0x152da3(_0x5dbd42,_0x12c40a);}),_0x51394b(_0x51683c(0x222),_0x51683c(0x207),_0x4f7675)[_0x51683c(0x21b)](_0x31fea3=>{const _0x30c91e=_0x51683c,_0xe184c8=this[_0x30c91e(0x210)](_0x31fea3);_0x45c1f5(_0x31fea3,_0x30c91e(0x222),_0xe184c8),this[_0x30c91e(0x21c)][_0x30c91e(0x234)][_0x30c91e(0x216)](_0xe184c8);}),this[_0x51683c(0x1fc)](_0x4f7675),_0x146ae3&&_0x146ae3[_0x51683c(0x1f7)]&&this[_0x51683c(0x1f4)](_0x4f7675,_0x146ae3[_0x51683c(0x20f)]||0x0),_0x146ae3&&_0x146ae3[_0x51683c(0x211)]&&this[_0x51683c(0x21c)][_0x51683c(0x20a)]){let _0x112443=_0x312ee6(_0x51683c(0x222),this[_0x51683c(0x21c)][_0x51683c(0x20a)],_0x4f7675);for(;_0x112443;)_0x1bda48(_0x112443),_0x112443=_0x112443[_0x51683c(0x22b)];}return{'parsedContent':_0x4f7675,'newNodeIds':this[_0x51683c(0x21c)][_0x51683c(0x234)],'modifiedNodeIds':this[_0x51683c(0x21c)][_0x51683c(0x1ff)],'removedNodeIds':this[_0x51683c(0x21c)][_0x51683c(0x22d)]};}[_0x2bba18(0x225)](_0x1e33dc,_0x472b61,_0x497a71){const _0x35a1e8=_0x2bba18;for(const _0x45e5e3 of _0x472b61){const _0x427fe6=this[_0x35a1e8(0x210)](_0x45e5e3);_0x45c1f5(_0x45e5e3,_0x35a1e8(0x222),_0x427fe6),this[_0x35a1e8(0x21c)][_0x35a1e8(0x234)][_0x35a1e8(0x216)](_0x427fe6),this[_0x35a1e8(0x21c)][_0x35a1e8(0x20a)]=_0x427fe6;}const _0x1d122f=_0x35a1e8(0x1fa)===_0x497a71||_0x35a1e8(0x209)===_0x497a71?_0x472b61[_0x35a1e8(0x20e)]():_0x472b61;for(const _0x20443d of _0x1d122f)_0x5b377f(_0x1e33dc,_0x20443d,_0x497a71);}[_0x2bba18(0x1f6)](_0x105884,_0x1a31cb){const _0x252db2=_0x2bba18;if(!_0x105884)return;if(_0x3849b7(_0x105884,_0x1a31cb))return;const _0x5b1c3d=this[_0x252db2(0x210)](_0x105884);_0x45c1f5(_0x1a31cb,_0x252db2(0x222),_0x5b1c3d),this[_0x252db2(0x21c)][_0x252db2(0x1ff)][_0x252db2(0x216)](_0x5b1c3d),this[_0x252db2(0x21c)][_0x252db2(0x20a)]=_0x5b1c3d,_0x39d496(_0x105884,_0x1a31cb[_0x252db2(0x1f8)](!0x0));}[_0x2bba18(0x20c)](_0x228de0,_0x12e1e1,_0x31a060){const _0x3ff218=_0x2bba18,_0xb6d08d=this[_0x3ff218(0x1f1)](_0x228de0,!0x1);if(_0xb6d08d){const _0x38a7e5=this[_0x3ff218(0x21f)](_0xb6d08d),_0x370953=_0x312ee6(_0x3ff218(0x222),_0x38a7e5,_0x31a060);if(_0x370953)return[_0x370953,_0x3ff218(0x209)];this[_0x3ff218(0x21c)][_0x3ff218(0x1ee)][_0x3ff218(0x216)](_0x38a7e5);}const _0x15b693=this[_0x3ff218(0x1fb)](_0x228de0,!0x1);if(_0x15b693){const _0x146170=this[_0x3ff218(0x21f)](_0x15b693),_0x77ab7d=_0x312ee6(_0x3ff218(0x222),_0x146170,_0x31a060);if(_0x77ab7d)return[_0x77ab7d,_0x3ff218(0x232)];this[_0x3ff218(0x21c)][_0x3ff218(0x1ee)][_0x3ff218(0x216)](_0x146170);}return _0x12e1e1?_0x228de0[_0x3ff218(0x203)]?this[_0x3ff218(0x227)](_0x228de0,_0x31a060):[_0x31a060[_0x3ff218(0x22f)][_0x31a060[_0x3ff218(0x22f)][_0x3ff218(0x218)]-0x1],_0x3ff218(0x209)]:[_0x31a060[_0x3ff218(0x22f)][0x0],_0x3ff218(0x232)];}[_0x2bba18(0x227)](_0x4b7897,_0x3344da){const _0x3c3122=_0x2bba18,_0x4f3911=[],_0x4cec7b=this[_0x3c3122(0x1f1)](_0x4b7897,!0x0);if(_0x4cec7b){const _0x50cd41=this[_0x3c3122(0x21f)](_0x4cec7b),_0x5df4f5=_0x312ee6(_0x3c3122(0x222),_0x50cd41,_0x3344da);_0x5df4f5&&_0x4f3911[_0x3c3122(0x216)]([_0x5df4f5,_0x3c3122(0x209)]);}const _0x175290=this[_0x3c3122(0x1fb)](_0x4b7897,!0x0);if(_0x175290){const _0x3e8705=this[_0x3c3122(0x21f)](_0x175290),_0x17ba9f=_0x312ee6(_0x3c3122(0x222),_0x3e8705,_0x3344da);_0x17ba9f&&_0x4f3911[_0x3c3122(0x216)]([_0x17ba9f,_0x3c3122(0x232)]);}if(_0x4f3911[_0x3c3122(0x218)]>0x1)return _0x140b5d(_0x4f3911[0x0][0x0])<=_0x140b5d(_0x4f3911[0x1][0x0])?_0x4f3911[0x0]:_0x4f3911[0x1];return 0x1===_0x4f3911[_0x3c3122(0x218)]?_0x4f3911[0x0]:[_0x3344da[_0x3c3122(0x206)],_0x3c3122(0x209)];}[_0x2bba18(0x1fb)](_0x1d9764,_0x3dbb04){const _0x3114f4=_0x2bba18;let _0xcba64c=_0x1d9764[_0x3114f4(0x203)],_0x3d557c=null,_0x5c4937=!0x1;for(;_0xcba64c;){if(_0x3be658(_0xcba64c)){if(this[_0x3114f4(0x1f5)](_0xcba64c)&&(_0x3d557c=_0xcba64c),this[_0x3114f4(0x200)](_0xcba64c)&&_0x3dbb04&&!_0x5c4937){_0x5c4937=!0x0,_0xcba64c=_0xcba64c[_0x3114f4(0x203)];continue;}break;}const _0x161921=_0x410b67(_0xcba64c,_0x3114f4(0x222));if(_0x161921&&_0x3114f4(0x207)!==_0x161921&&this[_0x3114f4(0x201)][_0x3114f4(0x1f2)](_0x161921)){_0x3d557c=_0xcba64c;break;}_0xcba64c=_0xcba64c[_0x3114f4(0x203)];}return _0x3d557c;}[_0x2bba18(0x1f1)](_0x452067,_0x2ee32f){const _0x5885f7=_0x2bba18;let _0x317478=_0x452067[_0x5885f7(0x20b)],_0x3ee6d0=null,_0x54e182=!0x1;for(;_0x317478;){if(_0x3be658(_0x317478)){if(this[_0x5885f7(0x1f5)](_0x317478)&&(_0x3ee6d0=_0x317478),this[_0x5885f7(0x200)](_0x317478)&&_0x2ee32f&&!_0x54e182){_0x54e182=!0x0,_0x317478=_0x317478[_0x5885f7(0x20b)];continue;}break;}const _0x2d6d95=_0x410b67(_0x317478,_0x5885f7(0x222));if(_0x2d6d95&&_0x5885f7(0x207)!==_0x2d6d95&&this[_0x5885f7(0x201)][_0x5885f7(0x1f2)](_0x2d6d95)){_0x3ee6d0=_0x317478;break;}_0x317478=_0x317478[_0x5885f7(0x20b)];}return _0x3ee6d0;}[_0x2bba18(0x212)](_0x2f0b3b){const _0x4dcd70=_0x2bba18;_0x1e0b80(_0x2f0b3b)&&_0x51394b(_0x4dcd70(0x222),null,_0x2f0b3b)[_0x4dcd70(0x21b)](_0x1fb85d=>{const _0x716e96=_0x4dcd70;if(this[_0x716e96(0x202)](_0x1fb85d)&&!this[_0x716e96(0x214)](_0x1fb85d)){const _0x8a43c0=_0x410b67(_0x1fb85d,_0x716e96(0x222));_0x45c1f5(_0x1fb85d,_0x716e96(0x235),_0x8a43c0),_0x45c1f5(_0x1fb85d,_0x716e96(0x222),null);}});}[_0x2bba18(0x21f)](_0x5c7bb4){const _0x1b1daf=_0x2bba18;if(!_0x5c7bb4)return null;if(_0x1e0b80(_0x5c7bb4))return _0x410b67(_0x5c7bb4,_0x1b1daf(0x222));if(_0x3be658(_0x5c7bb4)){const _0x5e72e0=_0x416a71(_0x5c7bb4)[_0x1b1daf(0x223)](/removed[\s*-]data-id="([^"]+)"/);if(_0x5e72e0&&_0x5e72e0[0x1])return _0x5e72e0[0x1];}return null;}[_0x2bba18(0x213)](_0x1ea123){const _0x28fe6f=_0x2bba18;if(_0x3be658(_0x1ea123)){const _0x41ffc8=_0x416a71(_0x1ea123)[_0x28fe6f(0x223)](/removed[\s*-]data-id="([^"]+)"/);_0x41ffc8&&_0x41ffc8[0x1]&&this[_0x28fe6f(0x21c)][_0x28fe6f(0x22d)][_0x28fe6f(0x216)](_0x41ffc8[0x1]);}}[_0x2bba18(0x210)](_0x610ecd){const _0x7d99c3=_0x2bba18;return this[_0x7d99c3(0x202)](_0x610ecd)?_0x410b67(_0x610ecd,_0x7d99c3(0x222)):this[_0x7d99c3(0x204)]();}[_0x2bba18(0x1fc)](_0x420eb1){const _0x2b058f=_0x2bba18;_0x123022(_0x420eb1)[_0x2b058f(0x22c)](_0x56d702=>this[_0x2b058f(0x1f5)](_0x56d702)||this[_0x2b058f(0x200)](_0x56d702))[_0x2b058f(0x21b)](_0x731bea=>{_0x5a0644(_0x731bea);});}[_0x2bba18(0x231)](_0x2043f7){const _0x57b371=_0x2bba18,_0x519368=_0x2043f7[_0x57b371(0x22f)],_0x26e17f=_0x519368[_0x519368[_0x57b371(0x218)]-0x1];_0x26e17f&&_0x1e0b80(_0x26e17f)&&_0x45c1f5(_0x26e17f,_0x57b371(0x226),_0x57b371(0x21d));}[_0x2bba18(0x1f4)](_0x40ce82,_0x218369){const _0xe225b4=_0x2bba18,_0x34b135=_0x312ee6(_0xe225b4(0x226),_0xe225b4(0x21d),_0x40ce82);if(!_0x34b135)return;const _0x4cc993=_0x109a8b(_0x34b135)[_0xe225b4(0x1f3)](0x0,-0x1),_0x30edec=_0x4cc993[_0xe225b4(0x218)];let _0x31b357=_0x34b135;if(_0x30edec>_0x218369){let _0x5acbbc=_0x30edec,_0x44f667=null;for(;_0x5acbbc>_0x218369&&_0x5acbbc>=0x0;)_0x5acbbc--,_0x44f667=_0x4cc993[_0x5acbbc];_0x44f667&&(_0x31b357=_0x44f667,_0x45c1f5(_0x34b135,_0xe225b4(0x226),null),_0x45c1f5(_0x44f667,_0xe225b4(0x226),_0xe225b4(0x21d)));}else{if(_0x30edec<_0x218369){let _0x2d3978=_0x30edec,_0x24ac23=_0x34b135;for(;_0x2d3978<_0x218369;){const _0x11273c=_0x24ac23[_0xe225b4(0x22f)][_0xe225b4(0x22c)](_0x10c9a7=>_0x1e0b80(_0x10c9a7));if(0x0===_0x11273c[_0xe225b4(0x218)])break;_0x2d3978++,_0x24ac23=_0x11273c[_0x11273c[_0xe225b4(0x218)]-0x1];}_0x24ac23&&(_0x31b357=_0x24ac23,_0x45c1f5(_0x34b135,_0xe225b4(0x226),null),_0x45c1f5(_0x24ac23,_0xe225b4(0x226),_0xe225b4(0x21d)));}}let _0x1f8235=_0x31b357;for(;_0x1f8235;){for(;_0x1f8235[_0xe225b4(0x203)];)_0x1f8235=_0x1f8235[_0xe225b4(0x203)],_0x1e0b80(_0x1f8235)&&_0x45c1f5(_0x1f8235,_0xe225b4(0x226),_0xe225b4(0x21d));_0x1f8235=_0x1f8235[_0xe225b4(0x22b)];}}[_0x2bba18(0x208)](_0x28d9be){const _0x2139e7=_0x2bba18;return Boolean(_0x2139e7(0x207)===_0x410b67(_0x28d9be,_0x2139e7(0x222)));}[_0x2bba18(0x202)](_0x30c361){const _0x488140=_0x2bba18;return Boolean((_0x410b67(_0x30c361,_0x488140(0x222))||'')[_0x488140(0x218)]>0x0&&_0x488140(0x207)!==_0x410b67(_0x30c361,_0x488140(0x222)));}[_0x2bba18(0x1f5)](_0x23a7dd){const _0xde32a4=_0x2bba18;return!!_0x23a7dd&&Boolean(_0x3be658(_0x23a7dd)&&_0x416a71(_0x23a7dd)[_0xde32a4(0x223)](/removed[\s*-]data-id="[^"]+"/));}[_0x2bba18(0x214)](_0x51d71e){const _0xe9b934=_0x2bba18;let _0x2a8f66=_0x51d71e[_0xe9b934(0x22b)];for(;_0x2a8f66;){if(_0x410b67(_0x2a8f66,_0xe9b934(0x235)))return!0x0;_0x2a8f66=_0x2a8f66[_0xe9b934(0x22b)];}return!0x1;}[_0x2bba18(0x200)](_0x15fd40){const _0x1a85ab=_0x2bba18;return Boolean(_0x3be658(_0x15fd40)&&_0x416a71(_0x15fd40)[_0x1a85ab(0x223)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44d4(){const _0x264b82=['1293795QbtZbo','parseAndNormalizeHTML','10IAMBzN','convertMarkdownToHTML','17213TqzJwQ','8ZaltFc','_m2html','11LCWttJ','parse','9783804eIIuXK','442655GWtzdu','<dummy>','children','replace','3222472InNPhI','2dAjUgc','1357221qgALdp','_parseHTML','318FoRgLY','</dummy>','499030gzDULX'];_0x44d4=function(){return _0x264b82;};return _0x44d4();}const _0x17996e=_0x2fa4;(function(_0x5937df,_0x2b9d84){const _0x58f39c=_0x2fa4,_0x3c9485=_0x5937df();while(!![]){try{const _0x509cd0=-parseInt(_0x58f39c(0x8b))/0x1*(parseInt(_0x58f39c(0x90))/0x2)+-parseInt(_0x58f39c(0x91))/0x3+-parseInt(_0x58f39c(0x86))/0x4*(-parseInt(_0x58f39c(0x80))/0x5)+parseInt(_0x58f39c(0x7e))/0x6*(-parseInt(_0x58f39c(0x85))/0x7)+parseInt(_0x58f39c(0x8f))/0x8+parseInt(_0x58f39c(0x81))/0x9*(-parseInt(_0x58f39c(0x83))/0xa)+parseInt(_0x58f39c(0x88))/0xb*(parseInt(_0x58f39c(0x8a))/0xc);if(_0x509cd0===_0x2b9d84)break;else _0x3c9485['push'](_0x3c9485['shift']());}catch(_0xc2ffd8){_0x3c9485['push'](_0x3c9485['shift']());}}}(_0x44d4,0x3cb12));function _0x2fa4(_0x5efdcc,_0xc3c2fe){const _0x44d402=_0x44d4();return _0x2fa4=function(_0x2fa4a0,_0x23f115){_0x2fa4a0=_0x2fa4a0-0x7d;let _0x25a363=_0x44d402[_0x2fa4a0];return _0x25a363;},_0x2fa4(_0x5efdcc,_0xc3c2fe);}import{ObservableMixin as _0x29ea1e}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x496e3f}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x93f482}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x29ea1e(){[_0x17996e(0x87)];constructor(){const _0x51a8c7=_0x17996e;super(),this[_0x51a8c7(0x87)]=new _0x496e3f();}[_0x17996e(0x84)](_0x443347){const _0x49b97f=_0x17996e,_0x9b0cd8=this[_0x49b97f(0x87)][_0x49b97f(0x89)](_0x443347);return this[_0x49b97f(0x82)](_0x9b0cd8);}[_0x17996e(0x82)](_0x5a462d){const _0x394036=_0x17996e;return this[_0x394036(0x7d)](_0x5a462d);}[_0x17996e(0x7d)](_0x261118){const _0x14b8da=_0x17996e,_0x1fc681=_0x261118[_0x14b8da(0x8e)](/^\t+/gm,'\x20')[_0x14b8da(0x8e)](/\n*/g,'')[_0x14b8da(0x8e)](/\s+/g,'\x20')[_0x14b8da(0x8e)](/<[^>]*?$/g,''),_0x11ad96=_0x93f482(_0x14b8da(0x8c)+_0x1fc681+_0x14b8da(0x7f));return _0x11ad96[_0x14b8da(0x8d)]=_0x11ad96[_0x14b8da(0x8d)][0x0][_0x14b8da(0x8d)],_0x11ad96;}}
23
+ const _0x1854c0=_0x3f36;(function(_0x508d67,_0x512a7f){const _0x1bdccf=_0x3f36,_0x1f0a04=_0x508d67();while(!![]){try{const _0x517322=-parseInt(_0x1bdccf(0x137))/0x1*(parseInt(_0x1bdccf(0x133))/0x2)+-parseInt(_0x1bdccf(0x129))/0x3+parseInt(_0x1bdccf(0x139))/0x4*(-parseInt(_0x1bdccf(0x12f))/0x5)+parseInt(_0x1bdccf(0x134))/0x6+-parseInt(_0x1bdccf(0x135))/0x7+-parseInt(_0x1bdccf(0x138))/0x8*(parseInt(_0x1bdccf(0x128))/0x9)+-parseInt(_0x1bdccf(0x12e))/0xa*(-parseInt(_0x1bdccf(0x12d))/0xb);if(_0x517322===_0x512a7f)break;else _0x1f0a04['push'](_0x1f0a04['shift']());}catch(_0x1ef77c){_0x1f0a04['push'](_0x1f0a04['shift']());}}}(_0x50cb,0xc0f70));import{ObservableMixin as _0x3ec620}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x36d387}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x1d60c0}from'../utils/htmlparser.js';function _0x50cb(){const _0x35284c=['705335YjiiPd','replace','children','convertMarkdownToHTML','2iBtDrg','9330774KvolnV','710556ujtaqF','_parseHTML','1199999GZqdMQ','488tWfPEE','20eTKLvi','</dummy>','<dummy>','132399InrUhm','319509sFFdnw','parseAndNormalizeHTML','parse','_m2html','33341rdzylt','7410POtHyZ'];_0x50cb=function(){return _0x35284c;};return _0x50cb();}function _0x3f36(_0x383792,_0x5ffe86){const _0x50cb80=_0x50cb();return _0x3f36=function(_0x3f36b1,_0x513d53){_0x3f36b1=_0x3f36b1-0x128;let _0xa0dbea=_0x50cb80[_0x3f36b1];return _0xa0dbea;},_0x3f36(_0x383792,_0x5ffe86);}export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x3ec620(){[_0x1854c0(0x12c)];constructor(){const _0x31b934=_0x1854c0;super(),this[_0x31b934(0x12c)]=new _0x36d387();}[_0x1854c0(0x132)](_0x51c2d0){const _0x376ff0=_0x1854c0,_0x6a3d5a=this[_0x376ff0(0x12c)][_0x376ff0(0x12b)](_0x51c2d0);return this[_0x376ff0(0x12a)](_0x6a3d5a);}[_0x1854c0(0x12a)](_0x54dc3b){const _0x2a8445=_0x1854c0;return this[_0x2a8445(0x136)](_0x54dc3b);}[_0x1854c0(0x136)](_0x1c2ac2){const _0x226e23=_0x1854c0,_0x5376f3=_0x1c2ac2[_0x226e23(0x130)](/^\t+/gm,'\x20')[_0x226e23(0x130)](/\n*/g,'')[_0x226e23(0x130)](/\s+/g,'\x20')[_0x226e23(0x130)](/<[^>]*?$/g,''),_0xbe3b01=_0x1d60c0(_0x226e23(0x13b)+_0x5376f3+_0x226e23(0x13a));return _0xbe3b01[_0x226e23(0x131)]=_0xbe3b01[_0x226e23(0x131)][0x0][_0x226e23(0x131)],_0xbe3b01;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4fb4(){var _0x449aef=['1378216PplbFm','613920bnBejz','159VydPpQ','1531558cfZOjt','651964nNFdPh','ck-ai-disclaimer','ck-ai-disclaimer__content','297GqrrDD','setTemplate','AI_DISCLAIMER_TEXT','9514IhSqXc','12tYypBh','269510FoXoQC','602403nkzzkD','div'];_0x4fb4=function(){return _0x449aef;};return _0x4fb4();}(function(_0x5f22b4,_0x40e10a){var _0x18da04=_0x1ece,_0x5d1124=_0x5f22b4();while(!![]){try{var _0x27f2bf=-parseInt(_0x18da04(0x14a))/0x1+parseInt(_0x18da04(0x156))/0x2*(parseInt(_0x18da04(0x14e))/0x3)+parseInt(_0x18da04(0x150))/0x4+-parseInt(_0x18da04(0x14d))/0x5+-parseInt(_0x18da04(0x148))/0x6*(parseInt(_0x18da04(0x14f))/0x7)+parseInt(_0x18da04(0x14c))/0x8+parseInt(_0x18da04(0x153))/0x9*(parseInt(_0x18da04(0x149))/0xa);if(_0x27f2bf===_0x40e10a)break;else _0x5d1124['push'](_0x5d1124['shift']());}catch(_0x445447){_0x5d1124['push'](_0x5d1124['shift']());}}}(_0x4fb4,0x4ca8d));import{View as _0x1fb838}from'ckeditor5/src/ui.js';import{getTranslation as _0x1764b5}from'../../aicore/utils/common-translations.js';function _0x1ece(_0x1b2447,_0x521e42){var _0x4fb487=_0x4fb4();return _0x1ece=function(_0x1ece35,_0x5ce5d4){_0x1ece35=_0x1ece35-0x148;var _0x9b4d16=_0x4fb487[_0x1ece35];return _0x9b4d16;},_0x1ece(_0x1b2447,_0x521e42);}export class AIDisclaimerView extends _0x1fb838{constructor(_0x351e65){var _0x5b1b1e=_0x1ece;super(_0x351e65),this[_0x5b1b1e(0x154)]({'tag':_0x5b1b1e(0x14b),'attributes':{'class':['ck',_0x5b1b1e(0x151)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x5b1b1e(0x152)]},'children':[{'text':_0x1764b5(_0x351e65,_0x5b1b1e(0x155))}]}]});}}
23
+ (function(_0x3fb458,_0x40dfae){var _0x2db99f=_0x1e30,_0x492d0e=_0x3fb458();while(!![]){try{var _0x2ec08d=-parseInt(_0x2db99f(0x18f))/0x1+parseInt(_0x2db99f(0x193))/0x2+-parseInt(_0x2db99f(0x190))/0x3*(parseInt(_0x2db99f(0x194))/0x4)+parseInt(_0x2db99f(0x192))/0x5*(parseInt(_0x2db99f(0x189))/0x6)+parseInt(_0x2db99f(0x191))/0x7+parseInt(_0x2db99f(0x18e))/0x8+-parseInt(_0x2db99f(0x18c))/0x9;if(_0x2ec08d===_0x40dfae)break;else _0x492d0e['push'](_0x492d0e['shift']());}catch(_0x5a6c94){_0x492d0e['push'](_0x492d0e['shift']());}}}(_0x32fc,0x2b996));import{View as _0x27adcb}from'ckeditor5/src/ui.js';import{getTranslation as _0x1ad86a}from'../../aicore/utils/common-translations.js';function _0x1e30(_0x4f86ce,_0x1fc264){var _0x32fc87=_0x32fc();return _0x1e30=function(_0x1e3017,_0x36c8fa){_0x1e3017=_0x1e3017-0x188;var _0x3bd7fd=_0x32fc87[_0x1e3017];return _0x3bd7fd;},_0x1e30(_0x4f86ce,_0x1fc264);}function _0x32fc(){var _0xeaf390=['838398jAcaJQ','1911567xPFLeb','878855cfTOKg','363042ajnnll','4dKUqly','ck-ai-disclaimer','AI_DISCLAIMER_TEXT','12QTUuVY','div','setTemplate','3843855OFfOkn','ck-ai-disclaimer__content','2062216umLPsA','178778scYmJj'];_0x32fc=function(){return _0xeaf390;};return _0x32fc();}export class AIDisclaimerView extends _0x27adcb{constructor(_0x1c128d){var _0x156fbc=_0x1e30;super(_0x1c128d),this[_0x156fbc(0x18b)]({'tag':_0x156fbc(0x18a),'attributes':{'class':['ck',_0x156fbc(0x195)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x156fbc(0x18d)]},'children':[{'text':_0x1ad86a(_0x1c128d,_0x156fbc(0x188))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b7826=_0x409b;(function(_0x497d4d,_0x7e127e){const _0x2c868e=_0x409b,_0x349bfc=_0x497d4d();while(!![]){try{const _0x206d8a=parseInt(_0x2c868e(0x1f9))/0x1*(parseInt(_0x2c868e(0x1f6))/0x2)+parseInt(_0x2c868e(0x207))/0x3+parseInt(_0x2c868e(0x208))/0x4+-parseInt(_0x2c868e(0x201))/0x5*(-parseInt(_0x2c868e(0x20b))/0x6)+-parseInt(_0x2c868e(0x212))/0x7*(-parseInt(_0x2c868e(0x209))/0x8)+-parseInt(_0x2c868e(0x1f2))/0x9*(parseInt(_0x2c868e(0x1f1))/0xa)+-parseInt(_0x2c868e(0x203))/0xb*(parseInt(_0x2c868e(0x20f))/0xc);if(_0x206d8a===_0x7e127e)break;else _0x349bfc['push'](_0x349bfc['shift']());}catch(_0xb54574){_0x349bfc['push'](_0x349bfc['shift']());}}}(_0x2793,0x94438));import{View as _0x3a2be9}from'ckeditor5/src/ui.js';function _0x409b(_0x10f3da,_0x52164e){const _0x279384=_0x2793();return _0x409b=function(_0x409b25,_0x2127aa){_0x409b25=_0x409b25-0x1ec;let _0x5111d2=_0x279384[_0x409b25];return _0x5111d2;},_0x409b(_0x10f3da,_0x52164e);}export class AISkeletonView extends _0x3a2be9{constructor(_0x40deb1,_0x5da481){const _0x421c4f=_0x409b;super(_0x40deb1),this[_0x421c4f(0x1fe)]({'tag':_0x421c4f(0x1ff),'attributes':{'class':['ck',_0x421c4f(0x215)]},'children':this[_0x421c4f(0x216)](_0x5da481)});}[_0x1b7826(0x216)](_0x3a2270){const _0x30d7dc=_0x1b7826,_0x567414=['ck',_0x30d7dc(0x20d)];return _0x3a2270[_0x30d7dc(0x1fb)](_0x14519d=>{const _0xca64d8=_0x30d7dc;let _0x380edf='';switch(_0x14519d[_0xca64d8(0x204)][_0xca64d8(0x1f5)]){case _0xca64d8(0x211):_0x380edf=_0xca64d8(0x20a);break;case _0xca64d8(0x213):_0x380edf=_0xca64d8(0x1f4);break;case _0xca64d8(0x202):_0x380edf=_0xca64d8(0x1fd);}return{'tag':_0x14519d[_0xca64d8(0x1f8)],'attributes':{'class':[..._0x567414,_0x14519d[_0xca64d8(0x204)][_0xca64d8(0x1f3)]?_0x14519d[_0xca64d8(0x204)][_0xca64d8(0x1f3)]:''],'style':_0xca64d8(0x200)+_0x14519d[_0xca64d8(0x204)][_0xca64d8(0x206)]+_0xca64d8(0x20e)+_0x14519d[_0xca64d8(0x204)][_0xca64d8(0x1ef)]+';'+_0x380edf}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x214),'height':_0x1b7826(0x1ec),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x1f0),'height':_0x1b7826(0x1f7),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x214),'height':_0x1b7826(0x1fc),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x1fa),'height':_0x1b7826(0x1f7),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x214),'height':_0x1b7826(0x210),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x1f0),'height':_0x1b7826(0x1f7),'align':_0x1b7826(0x211)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x214),'height':_0x1b7826(0x1fc),'align':_0x1b7826(0x211)}}],'aiHistory':ta(0x5,_0x1b7826(0x214),_0x1b7826(0x1ed),_0x1b7826(0x211)),'aiChatResources':ta(0x8,_0x1b7826(0x214),_0x1b7826(0x205),_0x1b7826(0x211)),'aiReviewChecks':[{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x20c),'height':_0x1b7826(0x205),'align':_0x1b7826(0x202)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x214),'height':_0x1b7826(0x205),'align':_0x1b7826(0x202)}},{'tag':_0x1b7826(0x1ff),'attributes':{'width':_0x1b7826(0x20c),'height':_0x1b7826(0x205),'align':_0x1b7826(0x202)}}]};function _0x2793(){const _0x48d785=['div','width:\x20','5810hrMbir','left','1034jlQOTJ','attributes','24px','width','978174geQIVN','4837040HOhQcX','16jAXPNh','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','294coZkgz','128px','ck-ai-skeleton__item',';\x20height:\x20','74076jijVaP','140px','right','1668366spEtLx','center','100%','ck-ai-skeleton','_createSkeletonItems','72px','44px','fill','height','250px','260sNEhHC','330507zmuuQe','class','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','align','336vuSXXG','40px','tag','437NoVwhI','150px','map','88px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','setTemplate'];_0x2793=function(){return _0x48d785;};return _0x2793();}function ta(_0x45c32f,_0x4ddd12,_0x7df066,_0x2d7a23){const _0x45f498=_0x1b7826;return new Array(_0x45c32f)[_0x45f498(0x1ee)](null)[_0x45f498(0x1fb)](()=>({'tag':_0x45f498(0x1ff),'attributes':{'width':_0x4ddd12,'height':_0x7df066,'align':_0x2d7a23}}));}
23
+ const _0x1d57c3=_0x46da;(function(_0x23d11a,_0x36da52){const _0x45e02a=_0x46da,_0x409a8a=_0x23d11a();while(!![]){try{const _0x5c0567=parseInt(_0x45e02a(0xb3))/0x1*(parseInt(_0x45e02a(0xba))/0x2)+parseInt(_0x45e02a(0xc1))/0x3*(parseInt(_0x45e02a(0xb2))/0x4)+-parseInt(_0x45e02a(0xc2))/0x5*(-parseInt(_0x45e02a(0xa6))/0x6)+-parseInt(_0x45e02a(0xb4))/0x7*(parseInt(_0x45e02a(0xbe))/0x8)+parseInt(_0x45e02a(0xc0))/0x9+parseInt(_0x45e02a(0xae))/0xa*(parseInt(_0x45e02a(0xc4))/0xb)+parseInt(_0x45e02a(0xc5))/0xc*(-parseInt(_0x45e02a(0xbd))/0xd);if(_0x5c0567===_0x36da52)break;else _0x409a8a['push'](_0x409a8a['shift']());}catch(_0x103321){_0x409a8a['push'](_0x409a8a['shift']());}}}(_0x2281,0xcbaee));function _0x46da(_0x2920a9,_0xce5e5e){const _0x228182=_0x2281();return _0x46da=function(_0x46da07,_0x3fa808){_0x46da07=_0x46da07-0x9a;let _0x176463=_0x228182[_0x46da07];return _0x176463;},_0x46da(_0x2920a9,_0xce5e5e);}import{View as _0x27e378}from'ckeditor5/src/ui.js';function _0x2281(){const _0x2849cd=['map','12124pzXTfR','width:\x20','setTemplate','91wKsOWa','8BgDmMr','24px','11859831jlAUzo','33Qwtuyi','20Jvypdv','150px','22pNovUn','4461576tEhvEc','height','right','div','140px',';\x20height:\x20','center','fill','_createSkeletonItems','88px','align','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','tag','722616jKVSRH','width','100%','class','72px','ck-ai-skeleton','44px','40px','2133590MDGHtx','attributes','128px','ck-ai-skeleton__item','386064fKpmmS','127AixbUo','4346293YZyhTT','left','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','250px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;'];_0x2281=function(){return _0x2849cd;};return _0x2281();}export class AISkeletonView extends _0x27e378{constructor(_0x7c1716,_0x2b0927){const _0x192c1a=_0x46da;super(_0x7c1716),this[_0x192c1a(0xbc)]({'tag':_0x192c1a(0x9c),'attributes':{'class':['ck',_0x192c1a(0xab)]},'children':this[_0x192c1a(0xa1)](_0x2b0927)});}[_0x1d57c3(0xa1)](_0x536e5f){const _0x35c096=_0x1d57c3,_0x4a9c9a=['ck',_0x35c096(0xb1)];return _0x536e5f[_0x35c096(0xb9)](_0x2cd899=>{const _0x5527ca=_0x35c096;let _0xde5be6='';switch(_0x2cd899[_0x5527ca(0xaf)][_0x5527ca(0xa3)]){case _0x5527ca(0x9b):_0xde5be6=_0x5527ca(0xa4);break;case _0x5527ca(0x9f):_0xde5be6=_0x5527ca(0xb6);break;case _0x5527ca(0xb5):_0xde5be6=_0x5527ca(0xb8);}return{'tag':_0x2cd899[_0x5527ca(0xa5)],'attributes':{'class':[..._0x4a9c9a,_0x2cd899[_0x5527ca(0xaf)][_0x5527ca(0xa9)]?_0x2cd899[_0x5527ca(0xaf)][_0x5527ca(0xa9)]:''],'style':_0x5527ca(0xbb)+_0x2cd899[_0x5527ca(0xaf)][_0x5527ca(0xa7)]+_0x5527ca(0x9e)+_0x2cd899[_0x5527ca(0xaf)][_0x5527ca(0x9a)]+';'+_0xde5be6}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xa8),'height':_0x1d57c3(0xaa),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xb7),'height':_0x1d57c3(0xad),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xa8),'height':_0x1d57c3(0xa2),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xc3),'height':_0x1d57c3(0xad),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xa8),'height':_0x1d57c3(0x9d),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xb7),'height':_0x1d57c3(0xad),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xa8),'height':_0x1d57c3(0xa2),'align':_0x1d57c3(0x9b)}}],'aiHistory':ta(0x5,_0x1d57c3(0xa8),_0x1d57c3(0xac),_0x1d57c3(0x9b)),'aiChatResources':ta(0x8,_0x1d57c3(0xa8),_0x1d57c3(0xbf),_0x1d57c3(0x9b)),'aiReviewChecks':[{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xb0),'height':_0x1d57c3(0xbf),'align':_0x1d57c3(0xb5)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xa8),'height':_0x1d57c3(0xbf),'align':_0x1d57c3(0xb5)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xb0),'height':_0x1d57c3(0xbf),'align':_0x1d57c3(0xb5)}}]};function ta(_0x256460,_0x59d50c,_0x4131ee,_0x2af0e0){const _0x31910b=_0x1d57c3;return new Array(_0x256460)[_0x31910b(0xa0)](null)[_0x31910b(0xb9)](()=>({'tag':_0x31910b(0x9c),'attributes':{'width':_0x59d50c,'height':_0x4131ee,'align':_0x2af0e0}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x9c71(){const _0x371164=['18dewKJC','extendTemplate','ck-ai-spinner_','span','382wYkVFV','163676rKeDme','56490uHkJyM','ck-ai-spinner','9ezMDHF','1876840epLQJy','9ldbHbF','11278894pyOuah','2922773opnzRz','163928PvLDhr','2018eriGjK'];_0x9c71=function(){return _0x371164;};return _0x9c71();}(function(_0x18efd5,_0x2abd36){const _0x43283c=_0x4a08,_0x155eb2=_0x18efd5();while(!![]){try{const _0x5a0428=-parseInt(_0x43283c(0x13e))/0x1*(parseInt(_0x43283c(0x148))/0x2)+parseInt(_0x43283c(0x142))/0x3*(-parseInt(_0x43283c(0x13f))/0x4)+parseInt(_0x43283c(0x140))/0x5*(-parseInt(_0x43283c(0x149))/0x6)+-parseInt(_0x43283c(0x146))/0x7+parseInt(_0x43283c(0x147))/0x8*(-parseInt(_0x43283c(0x144))/0x9)+parseInt(_0x43283c(0x143))/0xa+parseInt(_0x43283c(0x145))/0xb;if(_0x5a0428===_0x2abd36)break;else _0x155eb2['push'](_0x155eb2['shift']());}catch(_0x4e77fd){_0x155eb2['push'](_0x155eb2['shift']());}}}(_0x9c71,0x38dd7));function _0x4a08(_0x5e4a97,_0x51fa0b){const _0x9c71f5=_0x9c71();return _0x4a08=function(_0x4a08e2,_0x30b31d){_0x4a08e2=_0x4a08e2-0x13e;let _0x41732f=_0x9c71f5[_0x4a08e2];return _0x41732f;},_0x4a08(_0x5e4a97,_0x51fa0b);}import{SpinnerView as _0x4a47c3}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x4a47c3{constructor(_0x289815=void 0x0){const _0x2a705f=_0x4a08;super();const _0x246909=_0x289815?_0x2a705f(0x14b)+_0x289815:'';this[_0x2a705f(0x14a)]({'tag':_0x2a705f(0x14c),'attributes':{'class':[_0x2a705f(0x141),_0x246909]}});}}
23
+ (function(_0x3ade2a,_0x345974){const _0x3bcf9f=_0x5904,_0x2ac040=_0x3ade2a();while(!![]){try{const _0x5f0dbb=parseInt(_0x3bcf9f(0x168))/0x1*(parseInt(_0x3bcf9f(0x173))/0x2)+-parseInt(_0x3bcf9f(0x172))/0x3+parseInt(_0x3bcf9f(0x16d))/0x4+-parseInt(_0x3bcf9f(0x170))/0x5*(parseInt(_0x3bcf9f(0x16e))/0x6)+-parseInt(_0x3bcf9f(0x175))/0x7*(-parseInt(_0x3bcf9f(0x169))/0x8)+parseInt(_0x3bcf9f(0x16f))/0x9*(-parseInt(_0x3bcf9f(0x16a))/0xa)+parseInt(_0x3bcf9f(0x174))/0xb;if(_0x5f0dbb===_0x345974)break;else _0x2ac040['push'](_0x2ac040['shift']());}catch(_0x4d68b3){_0x2ac040['push'](_0x2ac040['shift']());}}}(_0x3dfd,0xf2f37));function _0x5904(_0x478786,_0x32d5fc){const _0x3dfd37=_0x3dfd();return _0x5904=function(_0x5904c3,_0x378862){_0x5904c3=_0x5904c3-0x168;let _0x2fb5aa=_0x3dfd37[_0x5904c3];return _0x2fb5aa;},_0x5904(_0x478786,_0x32d5fc);}import{SpinnerView as _0x390310}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x390310{constructor(_0x52b51a=void 0x0){const _0xf83914=_0x5904;super();const _0x36f931=_0x52b51a?_0xf83914(0x176)+_0x52b51a:'';this[_0xf83914(0x16c)]({'tag':_0xf83914(0x171),'attributes':{'class':[_0xf83914(0x16b),_0x36f931]}});}}function _0x3dfd(){const _0x426fc6=['ck-ai-spinner','extendTemplate','2145040BfMfZP','6hziOis','23373wfflIx','2645905CtNmIJ','span','5483196EhbDUa','4pmBRNe','38487328PQEUcK','1130101LKvHUS','ck-ai-spinner_','89794hHQuUH','40ZyWSDg','6430baUGoz'];_0x3dfd=function(){return _0x426fc6;};return _0x3dfd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x502c(_0xd0ad6f,_0x3028b9){const _0x9b8211=_0x9b82();return _0x502c=function(_0x502c2f,_0x32ac43){_0x502c2f=_0x502c2f-0x93;let _0x337503=_0x9b8211[_0x502c2f];return _0x337503;},_0x502c(_0xd0ad6f,_0x3028b9);}const _0x25f663=_0x502c;(function(_0x47b7d4,_0xf4d2bc){const _0x2f6816=_0x502c,_0x13170c=_0x47b7d4();while(!![]){try{const _0xa806cd=parseInt(_0x2f6816(0xbe))/0x1+parseInt(_0x2f6816(0xb8))/0x2+parseInt(_0x2f6816(0xb1))/0x3*(-parseInt(_0x2f6816(0xa8))/0x4)+parseInt(_0x2f6816(0xaf))/0x5+-parseInt(_0x2f6816(0xa0))/0x6+-parseInt(_0x2f6816(0xb6))/0x7*(parseInt(_0x2f6816(0x93))/0x8)+-parseInt(_0x2f6816(0x9d))/0x9*(-parseInt(_0x2f6816(0xac))/0xa);if(_0xa806cd===_0xf4d2bc)break;else _0x13170c['push'](_0x13170c['shift']());}catch(_0xf98e6b){_0x13170c['push'](_0x13170c['shift']());}}}(_0x9b82,0x95610));import{ButtonView as _0xf96e71,IconView as _0x485e8c,ToolbarView as _0x15c0cd}from'ckeditor5/src/ui.js';import{IconCheck as _0xed5554,IconCopy as _0x37f728,IconShowChangesOff as _0x47bf64,IconShowChangesOn as _0x57e704,IconThumbDown as _0x826af6,IconThumbUp as _0xa10e9b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x541c6b}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x15c0cd{[_0x25f663(0xa4)];[_0x25f663(0xa9)];[_0x25f663(0x9f)];[_0x25f663(0xbf)];[_0x25f663(0x9c)];constructor(_0x321039,_0x243b48={},_0x3ecc72){const _0x663e4e=_0x25f663;super(_0x321039),this[_0x663e4e(0xa3)](_0x663e4e(0xa1),!0x1),this[_0x663e4e(0x9c)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x243b48};const _0x1223e5=!(this[_0x663e4e(0x9c)][_0x663e4e(0xb7)]||this[_0x663e4e(0x9c)][_0x663e4e(0xc0)]||this[_0x663e4e(0x9c)][_0x663e4e(0xab)]||this[_0x663e4e(0x9c)][_0x663e4e(0xa7)]||this[_0x663e4e(0x9c)][_0x663e4e(0x99)]?.[_0x663e4e(0xaa)]);this[_0x663e4e(0x97)]=_0x1223e5?_0x663e4e(0xb3):_0x663e4e(0xbd),this[_0x663e4e(0x9c)][_0x663e4e(0xb7)]&&(this[_0x663e4e(0x94)](),this[_0x663e4e(0x9e)][_0x663e4e(0x95)](this[_0x663e4e(0xa4)])),this[_0x663e4e(0x9c)][_0x663e4e(0xc0)]&&(this[_0x663e4e(0xc5)](_0x3ecc72),this[_0x663e4e(0x9e)][_0x663e4e(0x95)](this[_0x663e4e(0xbf)])),this[_0x663e4e(0xbc)](),this[_0x663e4e(0x9c)][_0x663e4e(0xab)]&&this[_0x663e4e(0x9e)][_0x663e4e(0x95)](this[_0x663e4e(0xa9)]),this[_0x663e4e(0x9c)][_0x663e4e(0xa7)]&&this[_0x663e4e(0x9e)][_0x663e4e(0x95)](this[_0x663e4e(0x9f)]),this[_0x663e4e(0x9c)][_0x663e4e(0x99)]&&this[_0x663e4e(0x9e)][_0x663e4e(0x98)](this[_0x663e4e(0x9c)][_0x663e4e(0x99)]);}[_0x25f663(0xbc)](){const _0x321f44=_0x25f663;this[_0x321f44(0xa9)]=new _0xf96e71(this[_0x321f44(0xbb)]),this[_0x321f44(0xa9)][_0x321f44(0xa3)]({'icon':_0xa10e9b,'label':_0x541c6b(this[_0x321f44(0xbb)],_0x321f44(0xa2)),'tooltip':!0x0}),this[_0x321f44(0xa9)][_0x321f44(0xa5)](_0x321f44(0xc1))['to'](this,_0x321f44(0xa1),_0x41f1a3=>!_0x41f1a3),this[_0x321f44(0xa9)]['on'](_0x321f44(0xba),()=>{const _0x3f104b=_0x321f44;this[_0x3f104b(0xb5)](_0x3f104b(0xb0));}),this[_0x321f44(0x9f)]=new _0xf96e71(this[_0x321f44(0xbb)]),this[_0x321f44(0x9f)][_0x321f44(0xa3)]({'icon':_0x826af6,'label':_0x541c6b(this[_0x321f44(0xbb)],_0x321f44(0xae)),'tooltip':!0x0}),this[_0x321f44(0x9f)][_0x321f44(0xa5)](_0x321f44(0xc1))['to'](this,_0x321f44(0xa1),_0x1f6db2=>!_0x1f6db2),this[_0x321f44(0x9f)]['on'](_0x321f44(0xba),()=>{const _0x1e44d3=_0x321f44;this[_0x1e44d3(0xb5)](_0x1e44d3(0xc2));});}[_0x25f663(0x94)](){const _0x10c0a6=_0x25f663;this[_0x10c0a6(0xa4)]=new _0xf96e71(this[_0x10c0a6(0xbb)]),this[_0x10c0a6(0xa4)][_0x10c0a6(0xa3)]({'icon':_0x37f728,'label':_0x541c6b(this[_0x10c0a6(0xbb)],_0x10c0a6(0xb4)),'class':_0x10c0a6(0x96),'tooltip':!0x0}),this[_0x10c0a6(0xa4)][_0x10c0a6(0xa5)](_0x10c0a6(0xc1))['to'](this,_0x10c0a6(0xa1),_0xb9151f=>!_0xb9151f);const _0x31f163=new _0x485e8c();_0x31f163[_0x10c0a6(0xa3)]({'content':_0xed5554}),_0x31f163[_0x10c0a6(0xad)]({'attributes':{'class':[_0x10c0a6(0xa6)]}}),this[_0x10c0a6(0xa4)]['on'](_0x10c0a6(0xba),()=>{const _0x4ffe3c=_0x10c0a6;this[_0x4ffe3c(0xa4)][_0x4ffe3c(0x97)]=_0x4ffe3c(0xb2),setTimeout(()=>{const _0x5bc4b2=_0x4ffe3c;this[_0x5bc4b2(0xa4)][_0x5bc4b2(0x97)]=_0x5bc4b2(0x96);},0x7d0);}),this[_0x10c0a6(0xa4)][_0x10c0a6(0xc3)][_0x10c0a6(0x95)](_0x31f163);}[_0x25f663(0xc5)](_0x246582){const _0x4ed734=_0x25f663;this[_0x4ed734(0xbf)]=new _0xf96e71(this[_0x4ed734(0xbb)]),this[_0x4ed734(0xbf)][_0x4ed734(0xa3)]({'icon':_0x47bf64,'label':_0x541c6b(this[_0x4ed734(0xbb)],_0x4ed734(0xb9)),'withText':_0x4ed734(0x9a)==this[_0x4ed734(0x9c)][_0x4ed734(0xc0)],'tooltip':_0x4ed734(0x9a)!=this[_0x4ed734(0x9c)][_0x4ed734(0xc0)],'isOn':_0x246582}),this[_0x4ed734(0xbf)][_0x4ed734(0xa5)](_0x4ed734(0xc1))['to'](this,_0x4ed734(0xa1),_0x3e7182=>!_0x3e7182),this[_0x4ed734(0xbf)]['on'](_0x4ed734(0xba),()=>{const _0x599594=_0x4ed734,_0xc9a4e=!this[_0x599594(0xbf)][_0x599594(0xc4)];this[_0x599594(0xbf)][_0x599594(0xa3)]({'isOn':_0xc9a4e,'icon':_0xc9a4e?_0x57e704:_0x47bf64}),this[_0x599594(0xb5)](_0x599594(0x9b),_0xc9a4e);});}}function _0x9b82(){const _0x3446df=['full','toggleShowChanges','_config','9ppyjUc','items','dislikeButton','4483860jXKcdk','isLoading','AI_MINI_TOOLBAR_LIKE','set','copyButton','bind','ck-ai-mini-toolbar-copy-button__check-mark','showDislike','47836CBLwgv','likeButton','length','showLike','1424070eYyEjt','extendTemplate','AI_MINI_TOOLBAR_DISLIKE','2225885dYMwGG','like','111UHzyiq','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','ck-ai-mini-toolbar\x20ck-hidden','AI_MINI_TOOLBAR_COPY','fire','385pvnnRf','showCopy','1785792ooUzuK','AI_SUGGESTION_BUTTON_SHOW_CHANGES','execute','locale','_setupRatingButtons','ck-ai-mini-toolbar','391294UJNgLA','showChangesButton','showChanges','isEnabled','dislike','children','isOn','_setupShowChangesButton','10200cyYsJw','_setupCopyButton','add','ck-ai-mini-toolbar-copy-button','class','addMany','customView'];_0x9b82=function(){return _0x3446df;};return _0x9b82();}
23
+ function _0x1db9(_0x18a208,_0xf214b6){const _0xd07ef0=_0xd07e();return _0x1db9=function(_0x1db9b,_0x3feca2){_0x1db9b=_0x1db9b-0x112;let _0x18f5b2=_0xd07ef0[_0x1db9b];return _0x18f5b2;},_0x1db9(_0x18a208,_0xf214b6);}const _0x1ae43d=_0x1db9;(function(_0x55a2c1,_0x507608){const _0xa26bf9=_0x1db9,_0x480e24=_0x55a2c1();while(!![]){try{const _0xc62c6d=parseInt(_0xa26bf9(0x121))/0x1*(-parseInt(_0xa26bf9(0x136))/0x2)+-parseInt(_0xa26bf9(0x11e))/0x3+parseInt(_0xa26bf9(0x134))/0x4*(parseInt(_0xa26bf9(0x11d))/0x5)+parseInt(_0xa26bf9(0x13b))/0x6+-parseInt(_0xa26bf9(0x132))/0x7*(-parseInt(_0xa26bf9(0x11b))/0x8)+parseInt(_0xa26bf9(0x12c))/0x9*(parseInt(_0xa26bf9(0x135))/0xa)+-parseInt(_0xa26bf9(0x13e))/0xb*(-parseInt(_0xa26bf9(0x127))/0xc);if(_0xc62c6d===_0x507608)break;else _0x480e24['push'](_0x480e24['shift']());}catch(_0x204268){_0x480e24['push'](_0x480e24['shift']());}}}(_0xd07e,0x7e3ec));function _0xd07e(){const _0xdf7bbf=['customView','full','likeButton','isLoading','_setupCopyButton','showDislike','bind','fire','execute','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','locale','showCopy','AI_SUGGESTION_BUTTON_SHOW_CHANGES','ck-ai-mini-toolbar\x20ck-hidden','showChangesButton','extendTemplate','245472qCTFbL','toggleShowChanges','22805oClhGa','517701FvvyxE','ck-ai-mini-toolbar-copy-button__check-mark','_config','839LQMuDm','showChanges','dislikeButton','_setupShowChangesButton','copyButton','AI_MINI_TOOLBAR_DISLIKE','392796EHPJSD','addMany','set','add','_setupRatingButtons','135063hMCHPO','like','length','children','showLike','class','14LomLfk','AI_MINI_TOOLBAR_COPY','192dYMwaV','670yrbCYk','1838kiVWeD','AI_MINI_TOOLBAR_LIKE','isOn','isEnabled','dislike','656862KsbBzP','ck-ai-mini-toolbar-copy-button','ck-ai-mini-toolbar','22mzPbUk','items'];_0xd07e=function(){return _0xdf7bbf;};return _0xd07e();}import{ButtonView as _0x175209,IconView as _0x43a068,ToolbarView as _0x544237}from'ckeditor5/src/ui.js';import{IconCheck as _0x1f617c,IconCopy as _0x4bd4d8,IconShowChangesOff as _0x2c6f6a,IconShowChangesOn as _0x4b0a6f,IconThumbDown as _0x2f8080,IconThumbUp as _0xad2bb2}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5bcf1d}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x544237{[_0x1ae43d(0x125)];[_0x1ae43d(0x142)];[_0x1ae43d(0x123)];[_0x1ae43d(0x119)];[_0x1ae43d(0x120)];constructor(_0x29c879,_0x3a3d79={},_0x537db2){const _0x355e66=_0x1ae43d;super(_0x29c879),this[_0x355e66(0x129)](_0x355e66(0x143),!0x1),this[_0x355e66(0x120)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x3a3d79};const _0x95e2b3=!(this[_0x355e66(0x120)][_0x355e66(0x116)]||this[_0x355e66(0x120)][_0x355e66(0x122)]||this[_0x355e66(0x120)][_0x355e66(0x130)]||this[_0x355e66(0x120)][_0x355e66(0x145)]||this[_0x355e66(0x120)][_0x355e66(0x140)]?.[_0x355e66(0x12e)]);this[_0x355e66(0x131)]=_0x95e2b3?_0x355e66(0x118):_0x355e66(0x13d),this[_0x355e66(0x120)][_0x355e66(0x116)]&&(this[_0x355e66(0x144)](),this[_0x355e66(0x13f)][_0x355e66(0x12a)](this[_0x355e66(0x125)])),this[_0x355e66(0x120)][_0x355e66(0x122)]&&(this[_0x355e66(0x124)](_0x537db2),this[_0x355e66(0x13f)][_0x355e66(0x12a)](this[_0x355e66(0x119)])),this[_0x355e66(0x12b)](),this[_0x355e66(0x120)][_0x355e66(0x130)]&&this[_0x355e66(0x13f)][_0x355e66(0x12a)](this[_0x355e66(0x142)]),this[_0x355e66(0x120)][_0x355e66(0x145)]&&this[_0x355e66(0x13f)][_0x355e66(0x12a)](this[_0x355e66(0x123)]),this[_0x355e66(0x120)][_0x355e66(0x140)]&&this[_0x355e66(0x13f)][_0x355e66(0x128)](this[_0x355e66(0x120)][_0x355e66(0x140)]);}[_0x1ae43d(0x12b)](){const _0x3e7ef8=_0x1ae43d;this[_0x3e7ef8(0x142)]=new _0x175209(this[_0x3e7ef8(0x115)]),this[_0x3e7ef8(0x142)][_0x3e7ef8(0x129)]({'icon':_0xad2bb2,'label':_0x5bcf1d(this[_0x3e7ef8(0x115)],_0x3e7ef8(0x137)),'tooltip':!0x0}),this[_0x3e7ef8(0x142)][_0x3e7ef8(0x146)](_0x3e7ef8(0x139))['to'](this,_0x3e7ef8(0x143),_0x74edd2=>!_0x74edd2),this[_0x3e7ef8(0x142)]['on'](_0x3e7ef8(0x113),()=>{const _0x39ae7b=_0x3e7ef8;this[_0x39ae7b(0x112)](_0x39ae7b(0x12d));}),this[_0x3e7ef8(0x123)]=new _0x175209(this[_0x3e7ef8(0x115)]),this[_0x3e7ef8(0x123)][_0x3e7ef8(0x129)]({'icon':_0x2f8080,'label':_0x5bcf1d(this[_0x3e7ef8(0x115)],_0x3e7ef8(0x126)),'tooltip':!0x0}),this[_0x3e7ef8(0x123)][_0x3e7ef8(0x146)](_0x3e7ef8(0x139))['to'](this,_0x3e7ef8(0x143),_0x4b9f22=>!_0x4b9f22),this[_0x3e7ef8(0x123)]['on'](_0x3e7ef8(0x113),()=>{const _0x2c6baa=_0x3e7ef8;this[_0x2c6baa(0x112)](_0x2c6baa(0x13a));});}[_0x1ae43d(0x144)](){const _0x124117=_0x1ae43d;this[_0x124117(0x125)]=new _0x175209(this[_0x124117(0x115)]),this[_0x124117(0x125)][_0x124117(0x129)]({'icon':_0x4bd4d8,'label':_0x5bcf1d(this[_0x124117(0x115)],_0x124117(0x133)),'class':_0x124117(0x13c),'tooltip':!0x0}),this[_0x124117(0x125)][_0x124117(0x146)](_0x124117(0x139))['to'](this,_0x124117(0x143),_0x19b7f3=>!_0x19b7f3);const _0x46974a=new _0x43a068();_0x46974a[_0x124117(0x129)]({'content':_0x1f617c}),_0x46974a[_0x124117(0x11a)]({'attributes':{'class':[_0x124117(0x11f)]}}),this[_0x124117(0x125)]['on'](_0x124117(0x113),()=>{const _0x4042d9=_0x124117;this[_0x4042d9(0x125)][_0x4042d9(0x131)]=_0x4042d9(0x114),setTimeout(()=>{const _0x47f648=_0x4042d9;this[_0x47f648(0x125)][_0x47f648(0x131)]=_0x47f648(0x13c);},0x7d0);}),this[_0x124117(0x125)][_0x124117(0x12f)][_0x124117(0x12a)](_0x46974a);}[_0x1ae43d(0x124)](_0x1157b9){const _0x599b0f=_0x1ae43d;this[_0x599b0f(0x119)]=new _0x175209(this[_0x599b0f(0x115)]),this[_0x599b0f(0x119)][_0x599b0f(0x129)]({'icon':_0x2c6f6a,'label':_0x5bcf1d(this[_0x599b0f(0x115)],_0x599b0f(0x117)),'withText':_0x599b0f(0x141)==this[_0x599b0f(0x120)][_0x599b0f(0x122)],'tooltip':_0x599b0f(0x141)!=this[_0x599b0f(0x120)][_0x599b0f(0x122)],'isOn':_0x1157b9}),this[_0x599b0f(0x119)][_0x599b0f(0x146)](_0x599b0f(0x139))['to'](this,_0x599b0f(0x143),_0x3f9d79=>!_0x3f9d79),this[_0x599b0f(0x119)]['on'](_0x599b0f(0x113),()=>{const _0x3c0b61=_0x599b0f,_0x118edb=!this[_0x3c0b61(0x119)][_0x3c0b61(0x138)];this[_0x3c0b61(0x119)][_0x3c0b61(0x129)]({'isOn':_0x118edb,'icon':_0x118edb?_0x4b0a6f:_0x2c6f6a}),this[_0x3c0b61(0x112)](_0x3c0b61(0x11c),_0x118edb);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a3741=_0x5078;(function(_0x407b35,_0x36dbfd){const _0x24db4a=_0x5078,_0x51bf80=_0x407b35();while(!![]){try{const _0x10a5b5=-parseInt(_0x24db4a(0x17f))/0x1+parseInt(_0x24db4a(0x175))/0x2*(parseInt(_0x24db4a(0x18b))/0x3)+-parseInt(_0x24db4a(0x16c))/0x4*(-parseInt(_0x24db4a(0x17d))/0x5)+parseInt(_0x24db4a(0x198))/0x6*(parseInt(_0x24db4a(0x17c))/0x7)+-parseInt(_0x24db4a(0x17a))/0x8+-parseInt(_0x24db4a(0x185))/0x9+-parseInt(_0x24db4a(0x18c))/0xa*(-parseInt(_0x24db4a(0x18d))/0xb);if(_0x10a5b5===_0x36dbfd)break;else _0x51bf80['push'](_0x51bf80['shift']());}catch(_0x339363){_0x51bf80['push'](_0x51bf80['shift']());}}}(_0x1483,0x94d4b));function _0x1483(){const _0x4837c7=['_showUnchangedParts','updatePartState','some','10596456OMTVRA','from','filter','createCollection','_cachedContentParts','_updateContentPartsPromiseQueue','3gUotXU','10FYYufF','19924487tTfshq','hasPendingParts','_children','abort','empty-parts-warning','locale','setContent','set','ck-ai-suggestion__body__content-parts','getPartView','isVisible','570072brOFGi','addEventListener','add','length','hasNonEmptyParts','AI_SUGGESTION_EMPTY_PART_WARNING','push','markAsDone','delegate','div','state','enqueue','toggleHeader','findIndex','pending','find','1828QdTHHg','_availableActions','partsCount','_emptyPartsWarningView','forEach','ck-ai-suggestion__body','warning','_areActionsDisabled','index','1284550rcEXFy','AI_SUGGESTION_NO_PARTS_WARNING','setTemplate','hasChanges','updateContent','5576200ZWNMzs','queueEmptyPromise','28KnVaXV','8785QEdGHT','updateContentParts','1152569SBYGNj','partDefinition','first'];_0x1483=function(){return _0x4837c7;};return _0x1483();}import{View as _0x32ed5a}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x571eb7}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1e12d3}from'../../utils/eventnames.js';import{PromiseQueue as _0x46dae9}from'../../../aichat/utils/promisequeue.js';function _0x5078(_0x1c25cc,_0xd4a484){const _0x1483be=_0x1483();return _0x5078=function(_0x507851,_0x31cf0b){_0x507851=_0x507851-0x163;let _0x14ee50=_0x1483be[_0x507851];return _0x14ee50;},_0x5078(_0x1c25cc,_0xd4a484);}import{AIChatFeedErrorItemView as _0x3367d9}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x412b74}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x32ed5a{[_0x1a3741(0x18f)];[_0x1a3741(0x173)];[_0x1a3741(0x182)];[_0x1a3741(0x18a)];[_0x1a3741(0x16f)];[_0x1a3741(0x16d)];[_0x1a3741(0x189)]=[];constructor(_0x4ca6aa,_0x113f98){const _0x477388=_0x1a3741;super(_0x4ca6aa);const {areActionsDisabled:_0x1da347,showUnchangedParts:_0x446430,availableActions:_0x3e8f6c}=_0x113f98;this[_0x477388(0x173)]=_0x1da347,this[_0x477388(0x182)]=_0x446430,this[_0x477388(0x16d)]=_0x3e8f6c,this[_0x477388(0x194)](_0x477388(0x18e),!0x1),this[_0x477388(0x18f)]=this[_0x477388(0x188)](),this[_0x477388(0x18a)]=new _0x46dae9(),this[_0x477388(0x16f)]=new _0x3367d9({'id':_0x477388(0x191),'initialContent':_0x412b74(_0x4ca6aa,_0x477388(0x19d)),'level':_0x477388(0x172)}),this[_0x477388(0x16f)][_0x477388(0x197)]=!0x1,this[_0x477388(0x177)]({'tag':_0x477388(0x165),'attributes':{'class':['ck',_0x477388(0x171)]},'children':[{'tag':_0x477388(0x165),'attributes':{'class':['ck',_0x477388(0x195)]},'children':this[_0x477388(0x18f)]},this[_0x477388(0x16f)]]});}get[_0x1a3741(0x16e)](){const _0x575407=_0x1a3741;return this[_0x575407(0x18f)][_0x575407(0x19b)];}async[_0x1a3741(0x17e)]({parts:_0x5a713c,renderingStrategy:_0x4ce8e7,abortSignal:_0x5d6468}){const _0x1d0430=_0x1a3741;this[_0x1d0430(0x18f)][_0x1d0430(0x19b)]?_0x5a713c[_0x1d0430(0x170)](_0x514b7b=>{const _0xcb3aaf=_0x1d0430,_0x45fe84=this[_0xcb3aaf(0x189)][_0xcb3aaf(0x169)](_0x117998=>_0x117998[_0xcb3aaf(0x174)]==_0x514b7b[_0xcb3aaf(0x174)]);-0x1===_0x45fe84?this[_0xcb3aaf(0x189)][_0xcb3aaf(0x19e)](_0x514b7b):this[_0xcb3aaf(0x189)][_0x45fe84]=_0x514b7b;}):this[_0x1d0430(0x189)]=_0x5a713c;for(const _0x2709ae of _0x5a713c[_0x1d0430(0x187)](_0x2fb883=>_0x2fb883[_0x1d0430(0x178)]))this[_0x1d0430(0x18a)][_0x1d0430(0x167)](async _0x4856fc=>{const _0x211cbf=_0x1d0430;let _0x33807f=this[_0x211cbf(0x196)](_0x2709ae[_0x211cbf(0x174)]);_0x33807f||(_0x33807f=new _0x571eb7(this[_0x211cbf(0x192)],{'part':_0x2709ae,'uiIndex':this[_0x211cbf(0x18f)][_0x211cbf(0x19b)]+0x1,'areActionsDisabled':this[_0x211cbf(0x173)],'availableActions':this[_0x211cbf(0x16d)]}),_0x33807f[_0x211cbf(0x164)](..._0x1e12d3)['to'](this),this[_0x211cbf(0x18f)][_0x211cbf(0x19a)](_0x33807f),this[_0x211cbf(0x18e)]=!0x0),0x2===this[_0x211cbf(0x18f)][_0x211cbf(0x19b)]&&this[_0x211cbf(0x18f)][_0x211cbf(0x181)][_0x211cbf(0x168)](!0x0),_0x33807f[_0x211cbf(0x168)](this[_0x211cbf(0x18f)][_0x211cbf(0x19b)]>0x1),await _0x33807f[_0x211cbf(0x179)]({'part':_0x2709ae,'renderingStrategy':_0x4ce8e7,'showUnchangedParts':this[_0x211cbf(0x182)],'abortSignal':_0x4856fc});});return _0x5d6468?.[_0x1d0430(0x199)](_0x1d0430(0x190),()=>{const _0x16e6a0=_0x1d0430;this[_0x16e6a0(0x18a)][_0x16e6a0(0x190)]();}),this[_0x1d0430(0x18a)][_0x1d0430(0x17b)];}[_0x1a3741(0x183)](_0xb68361,_0x2c76a8){const _0xecf211=_0x1a3741,_0x4d0fda=this[_0xecf211(0x196)](_0xb68361);_0x4d0fda&&(_0x4d0fda[_0xecf211(0x166)]=_0x2c76a8),this[_0xecf211(0x18e)]=_0xecf211(0x16a)==_0x2c76a8||Array[_0xecf211(0x186)](this[_0xecf211(0x18f)])[_0xecf211(0x184)](_0x2e5d24=>_0xecf211(0x16a)==_0x2e5d24[_0xecf211(0x166)]);}[_0x1a3741(0x196)](_0xbb3148){const _0x2ce2c8=_0x1a3741;return this[_0x2ce2c8(0x18f)][_0x2ce2c8(0x16b)](_0x1ced0f=>_0x1ced0f[_0x2ce2c8(0x180)][_0x2ce2c8(0x174)]==_0xbb3148)??null;}[_0x1a3741(0x163)](){const _0x2867c6=_0x1a3741;if(!this[_0x2867c6(0x182)]){const _0x33c419=!this[_0x2867c6(0x189)][_0x2867c6(0x16b)](({hasChanges:_0x3a47ef})=>_0x3a47ef),_0x17cde1=!!this[_0x2867c6(0x189)][_0x2867c6(0x16b)](({hasChanges:_0x5d3cf9})=>!_0x5d3cf9);this[_0x2867c6(0x16f)][_0x2867c6(0x197)]=0x0==this[_0x2867c6(0x18f)][_0x2867c6(0x19b)]||_0x17cde1,_0x33c419?this[_0x2867c6(0x16f)][_0x2867c6(0x193)](_0x412b74(this[_0x2867c6(0x192)],_0x2867c6(0x176))):this[_0x2867c6(0x16f)][_0x2867c6(0x193)](_0x412b74(this[_0x2867c6(0x192)],_0x2867c6(0x19d)));}}get[_0x1a3741(0x19c)](){const _0x3a5bb0=_0x1a3741;return!!this[_0x3a5bb0(0x18f)][_0x3a5bb0(0x16b)](_0x6186f7=>_0x6186f7[_0x3a5bb0(0x180)][_0x3a5bb0(0x178)]);}}
23
+ const _0x26d57c=_0x54de;(function(_0x1723a4,_0x62774b){const _0x44079e=_0x54de,_0x406ead=_0x1723a4();while(!![]){try{const _0xb5a5ab=parseInt(_0x44079e(0x181))/0x1*(-parseInt(_0x44079e(0x18a))/0x2)+parseInt(_0x44079e(0x168))/0x3*(-parseInt(_0x44079e(0x175))/0x4)+-parseInt(_0x44079e(0x167))/0x5+-parseInt(_0x44079e(0x193))/0x6*(-parseInt(_0x44079e(0x182))/0x7)+-parseInt(_0x44079e(0x17b))/0x8*(parseInt(_0x44079e(0x180))/0x9)+-parseInt(_0x44079e(0x17c))/0xa*(parseInt(_0x44079e(0x162))/0xb)+parseInt(_0x44079e(0x165))/0xc;if(_0xb5a5ab===_0x62774b)break;else _0x406ead['push'](_0x406ead['shift']());}catch(_0x5101c0){_0x406ead['push'](_0x406ead['shift']());}}}(_0xf5a0,0x48fa2));function _0x54de(_0x5a04ce,_0x11311c){const _0xf5a017=_0xf5a0();return _0x54de=function(_0x54de54,_0x3b93f9){_0x54de54=_0x54de54-0x15a;let _0x193252=_0xf5a017[_0x54de54];return _0x193252;},_0x54de(_0x5a04ce,_0x11311c);}function _0xf5a0(){const _0x28888b=['set','AI_SUGGESTION_NO_PARTS_WARNING','2051786EWHXuH','add','ck-ai-suggestion__body','18134172FVvTyz','markAsDone','887390ueIcgW','6FvXiEF','_children','partDefinition','isVisible','forEach','push','AI_SUGGESTION_EMPTY_PART_WARNING','first','state','from','findIndex','hasChanges','pending','947132fvkKbf','hasNonEmptyParts','toggleHeader','_areActionsDisabled','_availableActions','addEventListener','2983736EOoQyI','10DgIiWg','_updateContentPartsPromiseQueue','_emptyPartsWarningView','_showUnchangedParts','9NVMmTV','1sJKWHT','7XuafCF','ck-ai-suggestion__body__content-parts','delegate','partsCount','abort','some','filter','index','947022SBrFgJ','hasPendingParts','enqueue','warning','queueEmptyPromise','createCollection','updateContentParts','length','updatePartState','2830686YDQLzs','getPartView','_cachedContentParts','updateContent','setContent','setTemplate','locale','div','find','empty-parts-warning'];_0xf5a0=function(){return _0x28888b;};return _0xf5a0();}import{View as _0x44dbb0}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x3e1c35}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x192dfe}from'../../utils/eventnames.js';import{PromiseQueue as _0x3d395a}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x304e8e}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x586c63}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x44dbb0{[_0x26d57c(0x169)];[_0x26d57c(0x178)];[_0x26d57c(0x17f)];[_0x26d57c(0x17d)];[_0x26d57c(0x17e)];[_0x26d57c(0x179)];[_0x26d57c(0x195)]=[];constructor(_0x388e83,_0x52f739){const _0x263f79=_0x26d57c;super(_0x388e83);const {areActionsDisabled:_0xe3c0b,showUnchangedParts:_0x23ab0f,availableActions:_0x2fe366}=_0x52f739;this[_0x263f79(0x178)]=_0xe3c0b,this[_0x263f79(0x17f)]=_0x23ab0f,this[_0x263f79(0x179)]=_0x2fe366,this[_0x263f79(0x160)](_0x263f79(0x18b),!0x1),this[_0x263f79(0x169)]=this[_0x263f79(0x18f)](),this[_0x263f79(0x17d)]=new _0x3d395a(),this[_0x263f79(0x17e)]=new _0x304e8e({'id':_0x263f79(0x15f),'initialContent':_0x586c63(_0x388e83,_0x263f79(0x16e)),'level':_0x263f79(0x18d)}),this[_0x263f79(0x17e)][_0x263f79(0x16b)]=!0x1,this[_0x263f79(0x15b)]({'tag':_0x263f79(0x15d),'attributes':{'class':['ck',_0x263f79(0x164)]},'children':[{'tag':_0x263f79(0x15d),'attributes':{'class':['ck',_0x263f79(0x183)]},'children':this[_0x263f79(0x169)]},this[_0x263f79(0x17e)]]});}get[_0x26d57c(0x185)](){const _0x13ffd1=_0x26d57c;return this[_0x13ffd1(0x169)][_0x13ffd1(0x191)];}async[_0x26d57c(0x190)]({parts:_0xa00a34,renderingStrategy:_0x466abd,abortSignal:_0x147898}){const _0x554625=_0x26d57c;this[_0x554625(0x169)][_0x554625(0x191)]?_0xa00a34[_0x554625(0x16c)](_0x467b22=>{const _0x264ad4=_0x554625,_0x3e3e81=this[_0x264ad4(0x195)][_0x264ad4(0x172)](_0x4cd99d=>_0x4cd99d[_0x264ad4(0x189)]==_0x467b22[_0x264ad4(0x189)]);-0x1===_0x3e3e81?this[_0x264ad4(0x195)][_0x264ad4(0x16d)](_0x467b22):this[_0x264ad4(0x195)][_0x3e3e81]=_0x467b22;}):this[_0x554625(0x195)]=_0xa00a34;for(const _0x4b64d6 of _0xa00a34[_0x554625(0x188)](_0xef9daf=>_0xef9daf[_0x554625(0x173)]))this[_0x554625(0x17d)][_0x554625(0x18c)](async _0x2441ca=>{const _0x1720fb=_0x554625;let _0x40a140=this[_0x1720fb(0x194)](_0x4b64d6[_0x1720fb(0x189)]);_0x40a140||(_0x40a140=new _0x3e1c35(this[_0x1720fb(0x15c)],{'part':_0x4b64d6,'uiIndex':this[_0x1720fb(0x169)][_0x1720fb(0x191)]+0x1,'areActionsDisabled':this[_0x1720fb(0x178)],'availableActions':this[_0x1720fb(0x179)]}),_0x40a140[_0x1720fb(0x184)](..._0x192dfe)['to'](this),this[_0x1720fb(0x169)][_0x1720fb(0x163)](_0x40a140),this[_0x1720fb(0x18b)]=!0x0),0x2===this[_0x1720fb(0x169)][_0x1720fb(0x191)]&&this[_0x1720fb(0x169)][_0x1720fb(0x16f)][_0x1720fb(0x177)](!0x0),_0x40a140[_0x1720fb(0x177)](this[_0x1720fb(0x169)][_0x1720fb(0x191)]>0x1),await _0x40a140[_0x1720fb(0x196)]({'part':_0x4b64d6,'renderingStrategy':_0x466abd,'showUnchangedParts':this[_0x1720fb(0x17f)],'abortSignal':_0x2441ca});});return _0x147898?.[_0x554625(0x17a)](_0x554625(0x186),()=>{const _0x11ddf2=_0x554625;this[_0x11ddf2(0x17d)][_0x11ddf2(0x186)]();}),this[_0x554625(0x17d)][_0x554625(0x18e)];}[_0x26d57c(0x192)](_0xb7ba0e,_0x23a3b1){const _0x1317a0=_0x26d57c,_0x108c27=this[_0x1317a0(0x194)](_0xb7ba0e);_0x108c27&&(_0x108c27[_0x1317a0(0x170)]=_0x23a3b1),this[_0x1317a0(0x18b)]=_0x1317a0(0x174)==_0x23a3b1||Array[_0x1317a0(0x171)](this[_0x1317a0(0x169)])[_0x1317a0(0x187)](_0x471449=>_0x1317a0(0x174)==_0x471449[_0x1317a0(0x170)]);}[_0x26d57c(0x194)](_0x25aa5){const _0x4b282f=_0x26d57c;return this[_0x4b282f(0x169)][_0x4b282f(0x15e)](_0x376759=>_0x376759[_0x4b282f(0x16a)][_0x4b282f(0x189)]==_0x25aa5)??null;}[_0x26d57c(0x166)](){const _0x5e392e=_0x26d57c;if(!this[_0x5e392e(0x17f)]){const _0x4c9f22=!this[_0x5e392e(0x195)][_0x5e392e(0x15e)](({hasChanges:_0x3ad5de})=>_0x3ad5de),_0x36f6f9=!!this[_0x5e392e(0x195)][_0x5e392e(0x15e)](({hasChanges:_0x22669f})=>!_0x22669f);this[_0x5e392e(0x17e)][_0x5e392e(0x16b)]=0x0==this[_0x5e392e(0x169)][_0x5e392e(0x191)]||_0x36f6f9,_0x4c9f22?this[_0x5e392e(0x17e)][_0x5e392e(0x15a)](_0x586c63(this[_0x5e392e(0x15c)],_0x5e392e(0x161))):this[_0x5e392e(0x17e)][_0x5e392e(0x15a)](_0x586c63(this[_0x5e392e(0x15c)],_0x5e392e(0x16e)));}}get[_0x26d57c(0x176)](){const _0x31bcd1=_0x26d57c;return!!this[_0x31bcd1(0x169)][_0x31bcd1(0x15e)](_0x80f814=>_0x80f814[_0x31bcd1(0x16a)][_0x31bcd1(0x173)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x152785=_0x3d97;(function(_0x4e96ed,_0x58c693){const _0x5d70fb=_0x3d97,_0x4797bd=_0x4e96ed();while(!![]){try{const _0x1e1301=-parseInt(_0x5d70fb(0x1f0))/0x1*(parseInt(_0x5d70fb(0x1be))/0x2)+-parseInt(_0x5d70fb(0x1cc))/0x3*(parseInt(_0x5d70fb(0x208))/0x4)+parseInt(_0x5d70fb(0x1e9))/0x5+parseInt(_0x5d70fb(0x1ff))/0x6*(-parseInt(_0x5d70fb(0x1c2))/0x7)+parseInt(_0x5d70fb(0x209))/0x8+parseInt(_0x5d70fb(0x1b4))/0x9*(-parseInt(_0x5d70fb(0x20b))/0xa)+parseInt(_0x5d70fb(0x1ce))/0xb;if(_0x1e1301===_0x58c693)break;else _0x4797bd['push'](_0x4797bd['shift']());}catch(_0x347b74){_0x4797bd['push'](_0x4797bd['shift']());}}}(_0x5749,0x728cf));import{IconWeb as _0x326587}from'@ckeditor/ckeditor5-icons';function _0x3d97(_0x4926dd,_0x1a64c8){const _0x5749fa=_0x5749();return _0x3d97=function(_0x3d97c0,_0x5bf45a){_0x3d97c0=_0x3d97c0-0x1b3;let _0x4b8eb4=_0x5749fa[_0x3d97c0];return _0x4b8eb4;},_0x3d97(_0x4926dd,_0x1a64c8);}import{View as _0x2557d1,ButtonView as _0x5e2014,IconView as _0x1ada8e}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x4eff90}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x3d5a8e}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x42302c}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4c353a}from'../../utils/eventnames.js';function _0x5749(){const _0x5d0bc2=['extendTemplate','bindTemplate','setTemplate','addMany','element','hasNonEmptyParts','open','createCollection','updateContent','setErrorState','querySelector','isEnabled','img','isShowChangesToggleVisible','clearErrorState','ck-ai-suggestion__error','3742655VVoPkN','miniToolbarView','clearLoading','isLoaderVisible','setLoading','icon','areChangesVisible','2YqDtnc','ck-ai-web-sources','_createErrorView','showChangesToggleView','AI_CHAT_GENERIC_ERROR','small','toggleSuggestionDisplayMode','_createLoaderView','showLoader','div','updateContentParts','sourcesView','ck-ai-suggestion__container','ck\x20ck-ai-web-source','isVisible','34806xhbiqx','ck-hidden','title','isOn','ck-ai-suggestion__error-text','.ck-ai-suggestion__error-text','textContent','children','favicon','4rahNUO','2661832nPCPAJ','set','20OWETLJ','items','3471408IctiYq','AI_CHAT_SOURCES_HEADER','map','ck-rounded-corners','bodyView','bind','content','hideLoader','errorView','fire','483034shyIHe','add','isErrorVisible','locale','21nYVulI','remove','span','markAsDone','ck-ai-web-source__image','showError','toggleShowChanges','url','hideError','delegate','518559LbEjBT','loaderView','9159183JynYLb','removeNavigationItem','updateSources','ck-ai-suggestion__loader-text','AI_CHAT_IS_WRITING','isLoading','headerView','ck-ai-web-sources__header','addNavigationItem','_blank','ck-ai-suggestion__loader'];_0x5749=function(){return _0x5d0bc2;};return _0x5749();}import{AISpinnerView as _0x39b5bf}from'../aispinner.js';import{getTranslation as _0x489d84}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x2557d1{[_0x152785(0x1b8)];[_0x152785(0x1ea)];[_0x152785(0x206)];[_0x152785(0x1d4)];[_0x152785(0x1cd)];[_0x152785(0x1bc)];[_0x152785(0x1fb)];constructor(_0x2835ac,_0xe27e87){const _0x3c33dd=_0x152785;super(_0x2835ac);const {showDiff:_0x5a3e54,areActionsDisabled:_0x18dba8,miniToolbarConfig:_0x5098e1,hideHeader:_0x4c761e,showLoader:_0x12ae69,showUnchangedParts:_0x6b2dc0,availableActions:_0x3a2e1a}=_0xe27e87;this[_0x3c33dd(0x20a)](_0x3c33dd(0x1ef),!0x1),this[_0x3c33dd(0x20a)](_0x3c33dd(0x1ec),!!_0x12ae69),this[_0x3c33dd(0x20a)](_0x3c33dd(0x1c0),!0x1),this[_0x3c33dd(0x20a)](_0x3c33dd(0x1d3),!0x1),this[_0x3c33dd(0x206)]=this[_0x3c33dd(0x1e0)](),_0x4c761e||(this[_0x3c33dd(0x1d4)]=new _0x3d5a8e(_0x2835ac,{'showDiff':_0x5a3e54}),this[_0x3c33dd(0x1d4)]['on'](_0x3c33dd(0x1c8),(_0x4c8dc,_0x3dd1a2)=>{const _0x6882f3=_0x3c33dd;this[_0x6882f3(0x1ef)]=_0x3dd1a2[_0x6882f3(0x202)],this[_0x6882f3(0x1bd)](_0x6882f3(0x1f6),{'showDiff':_0x3dd1a2[_0x6882f3(0x202)]});}),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1d4)])),this[_0x3c33dd(0x1b8)]=new _0x42302c(_0x2835ac,{'areActionsDisabled':_0x18dba8,'showUnchangedParts':!!_0x6b2dc0,'availableActions':_0x3a2e1a}),this[_0x3c33dd(0x1b8)][_0x3c33dd(0x1cb)](..._0x4c353a)['to'](this),this[_0x3c33dd(0x1b8)][_0x3c33dd(0x1d9)]({'attributes':{'class':[this[_0x3c33dd(0x1da)]['if'](_0x3c33dd(0x1ec),_0x3c33dd(0x200)),this[_0x3c33dd(0x1da)]['if'](_0x3c33dd(0x1c0),_0x3c33dd(0x200))]}}),this[_0x3c33dd(0x1ea)]=new _0x4eff90(_0x2835ac,_0x5098e1,_0x5a3e54),this[_0x3c33dd(0x1ea)][_0x3c33dd(0x1cb)](..._0x4c353a)['to'](this),this[_0x3c33dd(0x1ea)]['on'](_0x3c33dd(0x1c8),(_0x48b5f5,_0x454276)=>{const _0x56fbe1=_0x3c33dd;this[_0x56fbe1(0x1ef)]=_0x454276,this[_0x56fbe1(0x1bd)](_0x56fbe1(0x1f6),{'showDiff':_0x454276});}),this[_0x3c33dd(0x1ea)][_0x3c33dd(0x1b9)](_0x3c33dd(0x1d3))['to'](this),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1b8)]),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1ea)]),this[_0x3c33dd(0x1fb)]=new AIWebSourcesView(this[_0x3c33dd(0x1c1)]),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1fb)]),_0x12ae69&&(this[_0x3c33dd(0x1cd)]=this[_0x3c33dd(0x1f7)](),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1cd)])),this[_0x3c33dd(0x1bc)]=this[_0x3c33dd(0x1f2)](),this[_0x3c33dd(0x206)][_0x3c33dd(0x1bf)](this[_0x3c33dd(0x1bc)]),this[_0x3c33dd(0x1db)]({'tag':_0x3c33dd(0x1f9),'attributes':{'class':['ck',_0x3c33dd(0x1fc),_0x3c33dd(0x1b7)]},'children':this[_0x3c33dd(0x206)]});}async[_0x152785(0x1e1)](_0x192039){const _0x514a2b=_0x152785;await this[_0x514a2b(0x1b8)][_0x514a2b(0x1fa)](_0x192039);}[_0x152785(0x1d0)](_0x18d786){const _0xdaf4fb=_0x152785;this[_0xdaf4fb(0x1fb)][_0xdaf4fb(0x206)][_0xdaf4fb(0x1dc)](_0x18d786[_0xdaf4fb(0x1b6)](_0x5e934d=>new AIWebSourceView(this[_0xdaf4fb(0x1c1)],_0x5e934d))),this[_0xdaf4fb(0x1fb)][_0xdaf4fb(0x1fe)]=!0x0;}[_0x152785(0x1f8)](){const _0x2b7882=_0x152785;this[_0x2b7882(0x1cd)]&&(this[_0x2b7882(0x1ec)]=!0x0);}[_0x152785(0x1bb)](){const _0x2f526a=_0x152785;this[_0x2f526a(0x1cd)]&&(this[_0x2f526a(0x1ec)]=!0x1);}[_0x152785(0x1c7)](_0x51b4e5){const _0x32cbf6=_0x152785;if(this[_0x32cbf6(0x1bc)]){const _0x39a650=this[_0x32cbf6(0x1bc)][_0x32cbf6(0x1dd)]?.[_0x32cbf6(0x1e3)](_0x32cbf6(0x204));_0x39a650&&(_0x39a650[_0x32cbf6(0x205)]=_0x51b4e5),this[_0x32cbf6(0x1c0)]=!0x0;}}[_0x152785(0x1ca)](){const _0x39ced9=_0x152785;this[_0x39ced9(0x1bc)]&&(this[_0x39ced9(0x1c0)]=!0x1);}[_0x152785(0x1c5)](){const _0x4d14cf=_0x152785;this[_0x4d14cf(0x1b8)][_0x4d14cf(0x1c5)](),this[_0x4d14cf(0x1d4)]&&(this[_0x4d14cf(0x1d4)][_0x4d14cf(0x1e6)]=this[_0x4d14cf(0x1b8)][_0x4d14cf(0x1de)]);}[_0x152785(0x1ed)](){const _0x20b107=_0x152785;this[_0x20b107(0x1d3)]=!0x0;}[_0x152785(0x1eb)](){const _0x38f7ae=_0x152785;this[_0x38f7ae(0x1d3)]=!0x1;}[_0x152785(0x1e2)](){const _0x1d5a37=_0x152785;this[_0x1d5a37(0x1ea)]&&(this[_0x1d5a37(0x1ea)][_0x1d5a37(0x1d3)]=!0x0),this[_0x1d5a37(0x1d4)]?.[_0x1d5a37(0x1f3)]&&(this[_0x1d5a37(0x1d4)][_0x1d5a37(0x1f3)][_0x1d5a37(0x1e4)]=!0x1);}[_0x152785(0x1e7)](){const _0x598ebd=_0x152785;this[_0x598ebd(0x1ea)]&&(this[_0x598ebd(0x1ea)][_0x598ebd(0x1d3)]=!0x1),this[_0x598ebd(0x1d4)]?.[_0x598ebd(0x1f3)]&&(this[_0x598ebd(0x1d4)][_0x598ebd(0x1f3)][_0x598ebd(0x1e4)]=!0x0);}[_0x152785(0x1d6)](_0x1badcc){const _0x43a1b4=_0x152785;this[_0x43a1b4(0x1ea)][_0x43a1b4(0x1b3)][_0x43a1b4(0x1bf)](_0x1badcc);}[_0x152785(0x1cf)](_0x383689){const _0x276a86=_0x152785;this[_0x276a86(0x1ea)][_0x276a86(0x1b3)][_0x276a86(0x1c3)](_0x383689);}[_0x152785(0x1f7)](){const _0xbea9d9=_0x152785,_0x8aaf7e=new _0x2557d1(this[_0xbea9d9(0x1c1)]),_0x156235=new _0x39b5bf(_0xbea9d9(0x1f5));_0x156235[_0xbea9d9(0x1fe)]=!0x0;const _0x1db2a8=new _0x2557d1(this[_0xbea9d9(0x1c1)]);return _0x1db2a8[_0xbea9d9(0x1db)]({'tag':_0xbea9d9(0x1c4),'attributes':{'class':['ck',_0xbea9d9(0x1d1)]},'children':[_0x489d84(this[_0xbea9d9(0x1c1)],_0xbea9d9(0x1d2))]}),_0x8aaf7e[_0xbea9d9(0x1db)]({'tag':_0xbea9d9(0x1f9),'attributes':{'class':['ck',_0xbea9d9(0x1d8),this[_0xbea9d9(0x1da)]['if'](_0xbea9d9(0x1ec),_0xbea9d9(0x200),_0x289861=>!_0x289861)]},'children':[_0x156235,_0x1db2a8]}),_0x8aaf7e;}[_0x152785(0x1f2)](){const _0x589bc3=_0x152785,_0x442edd=new _0x2557d1(this[_0x589bc3(0x1c1)]),_0x627e70=new _0x2557d1(this[_0x589bc3(0x1c1)]);return _0x627e70[_0x589bc3(0x1db)]({'tag':_0x589bc3(0x1c4),'attributes':{'class':['ck',_0x589bc3(0x203)]},'children':[_0x489d84(this[_0x589bc3(0x1c1)],_0x589bc3(0x1f4))]}),_0x442edd[_0x589bc3(0x1db)]({'tag':_0x589bc3(0x1f9),'attributes':{'class':['ck',_0x589bc3(0x1e8),this[_0x589bc3(0x1da)]['if'](_0x589bc3(0x1c0),_0x589bc3(0x200),_0xb58411=>!_0xb58411)]},'children':[_0x627e70]}),_0x442edd;}}export class AIWebSourcesView extends _0x2557d1{[_0x152785(0x206)];constructor(_0x45003c){const _0x62bc9b=_0x152785;super(_0x45003c),this[_0x62bc9b(0x206)]=this[_0x62bc9b(0x1e0)](),this[_0x62bc9b(0x20a)](_0x62bc9b(0x1fe),!0x1),this[_0x62bc9b(0x1db)]({'tag':_0x62bc9b(0x1f9),'attributes':{'class':['ck',_0x62bc9b(0x1f1),this[_0x62bc9b(0x1da)]['if'](_0x62bc9b(0x1fe),_0x62bc9b(0x200),_0x152518=>!_0x152518)]},'children':this[_0x62bc9b(0x206)]});const _0x41dead=new _0x2557d1(this[_0x62bc9b(0x1c1)]),_0xa01195=new _0x1ada8e();_0xa01195[_0x62bc9b(0x1ba)]=_0x326587,_0x41dead[_0x62bc9b(0x1db)]({'tag':_0x62bc9b(0x1f9),'attributes':{'class':['ck',_0x62bc9b(0x1d5)]},'children':[_0xa01195,{'tag':_0x62bc9b(0x1c4),'children':[{'text':_0x489d84(this[_0x62bc9b(0x1c1)],_0x62bc9b(0x1b5))}]}]}),this[_0x62bc9b(0x206)][_0x62bc9b(0x1bf)](_0x41dead);}}export class AIWebSourceView extends _0x5e2014{constructor(_0x36556a,_0x466923){const _0x2e6dfd=_0x152785;super(_0x36556a),this[_0x2e6dfd(0x20a)]({'label':_0x466923[_0x2e6dfd(0x201)],'tooltip':_0x466923[_0x2e6dfd(0x201)],'class':[_0x2e6dfd(0x1fd)],'withText':!0x0});const _0x391d66=this[_0x2e6dfd(0x1da)];if(this[_0x2e6dfd(0x1d9)]({'on':{'click':_0x391d66['to'](()=>{const _0x15afc5=_0x2e6dfd;window[_0x15afc5(0x1df)](_0x466923[_0x15afc5(0x1c9)],_0x15afc5(0x1d7));})}}),_0x466923[_0x2e6dfd(0x207)]){const _0x125284=new _0x2557d1(_0x36556a);_0x125284[_0x2e6dfd(0x1db)]({'tag':_0x2e6dfd(0x1e5),'attributes':{'src':_0x466923[_0x2e6dfd(0x207)]||_0x326587,'alt':_0x466923[_0x2e6dfd(0x201)],'class':[_0x2e6dfd(0x1c6)]}}),this[_0x2e6dfd(0x206)][_0x2e6dfd(0x1bf)](_0x125284);}else this[_0x2e6dfd(0x20a)](_0x2e6dfd(0x1ee),_0x326587);}}
23
+ const _0x4ad931=_0x1ceb;(function(_0x2194db,_0x1518fb){const _0x4e12c0=_0x1ceb,_0xb781ba=_0x2194db();while(!![]){try{const _0x12558e=-parseInt(_0x4e12c0(0x179))/0x1*(parseInt(_0x4e12c0(0x1a2))/0x2)+parseInt(_0x4e12c0(0x17c))/0x3+-parseInt(_0x4e12c0(0x1b0))/0x4+parseInt(_0x4e12c0(0x17d))/0x5*(-parseInt(_0x4e12c0(0x170))/0x6)+-parseInt(_0x4e12c0(0x178))/0x7+parseInt(_0x4e12c0(0x180))/0x8*(-parseInt(_0x4e12c0(0x195))/0x9)+parseInt(_0x4e12c0(0x19f))/0xa;if(_0x12558e===_0x1518fb)break;else _0xb781ba['push'](_0xb781ba['shift']());}catch(_0x38f3ec){_0xb781ba['push'](_0xb781ba['shift']());}}}(_0x5718,0xbff36));import{IconWeb as _0x1345d6}from'@ckeditor/ckeditor5-icons';function _0x1ceb(_0x4939bb,_0x200144){const _0x57180a=_0x5718();return _0x1ceb=function(_0x1cebd1,_0x30a85a){_0x1cebd1=_0x1cebd1-0x160;let _0x2393f9=_0x57180a[_0x1cebd1];return _0x2393f9;},_0x1ceb(_0x4939bb,_0x200144);}function _0x5718(){const _0x3d4603=['isLoading','hideError','setTemplate','open','remove','small','setLoading','ck-ai-suggestion__error','5315604tpgcLe','bindTemplate','AI_CHAT_SOURCES_HEADER','isVisible','loaderView','ck-rounded-corners','locale','querySelector','ck-ai-suggestion__loader','clearLoading','ck-ai-suggestion__loader-text','markAsDone','AI_CHAT_IS_WRITING','bodyView','areChangesVisible','updateSources','isShowChangesToggleVisible','map','sourcesView','isLoaderVisible','showChangesToggleView','ck-ai-web-source__image','span','ck-ai-suggestion__container','42gMVxGe','fire','clearErrorState','ck-ai-web-sources','showLoader','updateContentParts','hideLoader','addMany','4725518qwEYwY','1KSPWtx','url','title','655971YTqihy','1034555KadrlH','createCollection','content','3498232VxOGFw','favicon','_blank','isEnabled','_createErrorView','_createLoaderView','headerView','ck-ai-web-sources__header','updateContent','ck\x20ck-ai-web-source','AI_CHAT_GENERIC_ERROR','icon','removeNavigationItem','isErrorVisible','setErrorState','.ck-ai-suggestion__error-text','textContent','ck-ai-suggestion__error-text','ck-hidden','add','toggleSuggestionDisplayMode','27DGcoPD','set','items','addNavigationItem','element','toggleShowChanges','div','errorView','delegate','bind','54140030unkNWP','miniToolbarView','children','164482yicsxB','hasNonEmptyParts','showError','isOn','extendTemplate','img'];_0x5718=function(){return _0x3d4603;};return _0x5718();}import{View as _0x9ce2cf,ButtonView as _0x5da0cb,IconView as _0x443951}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x521388}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0xff1add}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x2d0282}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3f820d}from'../../utils/eventnames.js';import{AISpinnerView as _0xf76ff5}from'../aispinner.js';import{getTranslation as _0x292632}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x9ce2cf{[_0x4ad931(0x165)];[_0x4ad931(0x1a0)];[_0x4ad931(0x1a1)];[_0x4ad931(0x186)];[_0x4ad931(0x1b4)];[_0x4ad931(0x19c)];[_0x4ad931(0x16a)];constructor(_0x4d19ff,_0x4ffc66){const _0x3a7961=_0x4ad931;super(_0x4d19ff);const {showDiff:_0x3d2ada,areActionsDisabled:_0x3e432e,miniToolbarConfig:_0x1f2af0,hideHeader:_0xa54e58,showLoader:_0x46e301,showUnchangedParts:_0x52826e,availableActions:_0x383d87}=_0x4ffc66;this[_0x3a7961(0x196)](_0x3a7961(0x166),!0x1),this[_0x3a7961(0x196)](_0x3a7961(0x16b),!!_0x46e301),this[_0x3a7961(0x196)](_0x3a7961(0x18d),!0x1),this[_0x3a7961(0x196)](_0x3a7961(0x1a8),!0x1),this[_0x3a7961(0x1a1)]=this[_0x3a7961(0x17e)](),_0xa54e58||(this[_0x3a7961(0x186)]=new _0xff1add(_0x4d19ff,{'showDiff':_0x3d2ada}),this[_0x3a7961(0x186)]['on'](_0x3a7961(0x19a),(_0x50315d,_0x48a799)=>{const _0x26f09c=_0x3a7961;this[_0x26f09c(0x166)]=_0x48a799[_0x26f09c(0x1a5)],this[_0x26f09c(0x171)](_0x26f09c(0x194),{'showDiff':_0x48a799[_0x26f09c(0x1a5)]});}),this[_0x3a7961(0x1a1)][_0x3a7961(0x193)](this[_0x3a7961(0x186)])),this[_0x3a7961(0x165)]=new _0x2d0282(_0x4d19ff,{'areActionsDisabled':_0x3e432e,'showUnchangedParts':!!_0x52826e,'availableActions':_0x383d87}),this[_0x3a7961(0x165)][_0x3a7961(0x19d)](..._0x3f820d)['to'](this),this[_0x3a7961(0x165)][_0x3a7961(0x1a6)]({'attributes':{'class':[this[_0x3a7961(0x1b1)]['if'](_0x3a7961(0x16b),_0x3a7961(0x192)),this[_0x3a7961(0x1b1)]['if'](_0x3a7961(0x18d),_0x3a7961(0x192))]}}),this[_0x3a7961(0x1a0)]=new _0x521388(_0x4d19ff,_0x1f2af0,_0x3d2ada),this[_0x3a7961(0x1a0)][_0x3a7961(0x19d)](..._0x3f820d)['to'](this),this[_0x3a7961(0x1a0)]['on'](_0x3a7961(0x19a),(_0x6f24de,_0x23090a)=>{const _0x503e2d=_0x3a7961;this[_0x503e2d(0x166)]=_0x23090a,this[_0x503e2d(0x171)](_0x503e2d(0x194),{'showDiff':_0x23090a});}),this[_0x3a7961(0x1a0)][_0x3a7961(0x19e)](_0x3a7961(0x1a8))['to'](this),this[_0x3a7961(0x1a1)][_0x3a7961(0x193)](this[_0x3a7961(0x165)]),this[_0x3a7961(0x1a1)][_0x3a7961(0x193)](this[_0x3a7961(0x1a0)]),this[_0x3a7961(0x16a)]=new AIWebSourcesView(this[_0x3a7961(0x1b6)]),this[_0x3a7961(0x1a1)][_0x3a7961(0x193)](this[_0x3a7961(0x16a)]),_0x46e301&&(this[_0x3a7961(0x1b4)]=this[_0x3a7961(0x185)](),this[_0x3a7961(0x1a1)][_0x3a7961(0x193)](this[_0x3a7961(0x1b4)])),this[_0x3a7961(0x19c)]=this[_0x3a7961(0x184)](),this[_0x3a7961(0x1a1)][_0x3a7961(0x193)](this[_0x3a7961(0x19c)]),this[_0x3a7961(0x1aa)]({'tag':_0x3a7961(0x19b),'attributes':{'class':['ck',_0x3a7961(0x16f),_0x3a7961(0x1b5)]},'children':this[_0x3a7961(0x1a1)]});}async[_0x4ad931(0x188)](_0x271b51){const _0x6784c4=_0x4ad931;await this[_0x6784c4(0x165)][_0x6784c4(0x175)](_0x271b51);}[_0x4ad931(0x167)](_0x52ecfc){const _0x33ac81=_0x4ad931;this[_0x33ac81(0x16a)][_0x33ac81(0x1a1)][_0x33ac81(0x177)](_0x52ecfc[_0x33ac81(0x169)](_0x5008e3=>new AIWebSourceView(this[_0x33ac81(0x1b6)],_0x5008e3))),this[_0x33ac81(0x16a)][_0x33ac81(0x1b3)]=!0x0;}[_0x4ad931(0x174)](){const _0x2c5fc7=_0x4ad931;this[_0x2c5fc7(0x1b4)]&&(this[_0x2c5fc7(0x16b)]=!0x0);}[_0x4ad931(0x176)](){const _0x31c45c=_0x4ad931;this[_0x31c45c(0x1b4)]&&(this[_0x31c45c(0x16b)]=!0x1);}[_0x4ad931(0x1a4)](_0x59365d){const _0x486412=_0x4ad931;if(this[_0x486412(0x19c)]){const _0x399843=this[_0x486412(0x19c)][_0x486412(0x199)]?.[_0x486412(0x1b7)](_0x486412(0x18f));_0x399843&&(_0x399843[_0x486412(0x190)]=_0x59365d),this[_0x486412(0x18d)]=!0x0;}}[_0x4ad931(0x1a9)](){const _0x429fba=_0x4ad931;this[_0x429fba(0x19c)]&&(this[_0x429fba(0x18d)]=!0x1);}[_0x4ad931(0x163)](){const _0x1a8fa0=_0x4ad931;this[_0x1a8fa0(0x165)][_0x1a8fa0(0x163)](),this[_0x1a8fa0(0x186)]&&(this[_0x1a8fa0(0x186)][_0x1a8fa0(0x168)]=this[_0x1a8fa0(0x165)][_0x1a8fa0(0x1a3)]);}[_0x4ad931(0x1ae)](){const _0x36dae4=_0x4ad931;this[_0x36dae4(0x1a8)]=!0x0;}[_0x4ad931(0x161)](){const _0x87fb99=_0x4ad931;this[_0x87fb99(0x1a8)]=!0x1;}[_0x4ad931(0x18e)](){const _0x2b9ec4=_0x4ad931;this[_0x2b9ec4(0x1a0)]&&(this[_0x2b9ec4(0x1a0)][_0x2b9ec4(0x1a8)]=!0x0),this[_0x2b9ec4(0x186)]?.[_0x2b9ec4(0x16c)]&&(this[_0x2b9ec4(0x186)][_0x2b9ec4(0x16c)][_0x2b9ec4(0x183)]=!0x1);}[_0x4ad931(0x172)](){const _0x3c2da5=_0x4ad931;this[_0x3c2da5(0x1a0)]&&(this[_0x3c2da5(0x1a0)][_0x3c2da5(0x1a8)]=!0x1),this[_0x3c2da5(0x186)]?.[_0x3c2da5(0x16c)]&&(this[_0x3c2da5(0x186)][_0x3c2da5(0x16c)][_0x3c2da5(0x183)]=!0x0);}[_0x4ad931(0x198)](_0x5d7bec){const _0xcdb209=_0x4ad931;this[_0xcdb209(0x1a0)][_0xcdb209(0x197)][_0xcdb209(0x193)](_0x5d7bec);}[_0x4ad931(0x18c)](_0x13b71f){const _0x24e821=_0x4ad931;this[_0x24e821(0x1a0)][_0x24e821(0x197)][_0x24e821(0x1ac)](_0x13b71f);}[_0x4ad931(0x185)](){const _0x2b7d25=_0x4ad931,_0x232f98=new _0x9ce2cf(this[_0x2b7d25(0x1b6)]),_0x4d52d3=new _0xf76ff5(_0x2b7d25(0x1ad));_0x4d52d3[_0x2b7d25(0x1b3)]=!0x0;const _0x540678=new _0x9ce2cf(this[_0x2b7d25(0x1b6)]);return _0x540678[_0x2b7d25(0x1aa)]({'tag':_0x2b7d25(0x16e),'attributes':{'class':['ck',_0x2b7d25(0x162)]},'children':[_0x292632(this[_0x2b7d25(0x1b6)],_0x2b7d25(0x164))]}),_0x232f98[_0x2b7d25(0x1aa)]({'tag':_0x2b7d25(0x19b),'attributes':{'class':['ck',_0x2b7d25(0x160),this[_0x2b7d25(0x1b1)]['if'](_0x2b7d25(0x16b),_0x2b7d25(0x192),_0x325c1e=>!_0x325c1e)]},'children':[_0x4d52d3,_0x540678]}),_0x232f98;}[_0x4ad931(0x184)](){const _0x4a6cc6=_0x4ad931,_0x5afa90=new _0x9ce2cf(this[_0x4a6cc6(0x1b6)]),_0x3540be=new _0x9ce2cf(this[_0x4a6cc6(0x1b6)]);return _0x3540be[_0x4a6cc6(0x1aa)]({'tag':_0x4a6cc6(0x16e),'attributes':{'class':['ck',_0x4a6cc6(0x191)]},'children':[_0x292632(this[_0x4a6cc6(0x1b6)],_0x4a6cc6(0x18a))]}),_0x5afa90[_0x4a6cc6(0x1aa)]({'tag':_0x4a6cc6(0x19b),'attributes':{'class':['ck',_0x4a6cc6(0x1af),this[_0x4a6cc6(0x1b1)]['if'](_0x4a6cc6(0x18d),_0x4a6cc6(0x192),_0x349d73=>!_0x349d73)]},'children':[_0x3540be]}),_0x5afa90;}}export class AIWebSourcesView extends _0x9ce2cf{[_0x4ad931(0x1a1)];constructor(_0x66cd9b){const _0x75fabd=_0x4ad931;super(_0x66cd9b),this[_0x75fabd(0x1a1)]=this[_0x75fabd(0x17e)](),this[_0x75fabd(0x196)](_0x75fabd(0x1b3),!0x1),this[_0x75fabd(0x1aa)]({'tag':_0x75fabd(0x19b),'attributes':{'class':['ck',_0x75fabd(0x173),this[_0x75fabd(0x1b1)]['if'](_0x75fabd(0x1b3),_0x75fabd(0x192),_0x54d09b=>!_0x54d09b)]},'children':this[_0x75fabd(0x1a1)]});const _0x56060e=new _0x9ce2cf(this[_0x75fabd(0x1b6)]),_0x456f14=new _0x443951();_0x456f14[_0x75fabd(0x17f)]=_0x1345d6,_0x56060e[_0x75fabd(0x1aa)]({'tag':_0x75fabd(0x19b),'attributes':{'class':['ck',_0x75fabd(0x187)]},'children':[_0x456f14,{'tag':_0x75fabd(0x16e),'children':[{'text':_0x292632(this[_0x75fabd(0x1b6)],_0x75fabd(0x1b2))}]}]}),this[_0x75fabd(0x1a1)][_0x75fabd(0x193)](_0x56060e);}}export class AIWebSourceView extends _0x5da0cb{constructor(_0x4f256c,_0x5e2c8c){const _0x50b424=_0x4ad931;super(_0x4f256c),this[_0x50b424(0x196)]({'label':_0x5e2c8c[_0x50b424(0x17b)],'tooltip':_0x5e2c8c[_0x50b424(0x17b)],'class':[_0x50b424(0x189)],'withText':!0x0});const _0x27adb1=this[_0x50b424(0x1b1)];if(this[_0x50b424(0x1a6)]({'on':{'click':_0x27adb1['to'](()=>{const _0x1ff30e=_0x50b424;window[_0x1ff30e(0x1ab)](_0x5e2c8c[_0x1ff30e(0x17a)],_0x1ff30e(0x182));})}}),_0x5e2c8c[_0x50b424(0x181)]){const _0x378460=new _0x9ce2cf(_0x4f256c);_0x378460[_0x50b424(0x1aa)]({'tag':_0x50b424(0x1a7),'attributes':{'src':_0x5e2c8c[_0x50b424(0x181)]||_0x1345d6,'alt':_0x5e2c8c[_0x50b424(0x17b)],'class':[_0x50b424(0x16d)]}}),this[_0x50b424(0x1a1)][_0x50b424(0x193)](_0x378460);}else this[_0x50b424(0x196)](_0x50b424(0x18b),_0x1345d6);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b1cde=_0x51e1;(function(_0x29e7fe,_0x3556db){const _0x2ea19e=_0x51e1,_0x55a59e=_0x29e7fe();while(!![]){try{const _0x1529d1=parseInt(_0x2ea19e(0xc8))/0x1+-parseInt(_0x2ea19e(0xb7))/0x2*(parseInt(_0x2ea19e(0xa6))/0x3)+-parseInt(_0x2ea19e(0xa5))/0x4*(-parseInt(_0x2ea19e(0xd6))/0x5)+-parseInt(_0x2ea19e(0xa3))/0x6+-parseInt(_0x2ea19e(0xe1))/0x7+-parseInt(_0x2ea19e(0xb9))/0x8*(-parseInt(_0x2ea19e(0xc2))/0x9)+parseInt(_0x2ea19e(0xca))/0xa*(parseInt(_0x2ea19e(0xd5))/0xb);if(_0x1529d1===_0x3556db)break;else _0x55a59e['push'](_0x55a59e['shift']());}catch(_0x1f907f){_0x55a59e['push'](_0x55a59e['shift']());}}}(_0x49a6,0x874ac));function _0x49a6(){const _0x1e8794=['15EToBEb','_toolbarView','_iconStateOutdated','bind','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','createCollection','AI_SUGGESTION_CONTENT_PART_REJECTED','children','ck-ai-suggestion__body__content-part_','remove','extendTemplate','4802217sUqSfm','div','stream','ck-ai-suggestion__body__content-part','content','push','ck-content','ck-reset_all-excluded','addMany','has','hasChanges','toString','ck-ai-suggestion__body__content-part__content','_iconStateRejected','ck-ai-suggestion__body__content-part__title__label','add','AI_SUGGESTION_CONTENT_PART_DELETE','showChangeInText','mouseOverSuggestion','accepted','5613966YUczfZ','animation:\x20ck-html-streamer-fade-in\x20.5s','1470368zHemFu','249ljGgsv','includes','contentView','mouseLeaveSuggestion','rejected','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part__icon-rejected','headerView','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','span','ck-hidden','outdated','partDefinition','updateContent','ck-ai-suggestion__body__content-part__icon-accepted','fire','AI_SUGGESTION_CONTENT_PART_OUTDATED','13854PvPsCV','AI_SUGGESTION_CONTENT_PART_TITLE','5267264SUcNCH','isVisible','insertSuggestion','ck-ai-suggestion__body__content-part__title','change:state','set','ck-ai-suggestion__body__content-part_active','element','htmlStreamer','9suspCJ','execute','index','setTemplate','items','ck-ai-suggestion__body__content-part__icon-outdated','124748tivpZC','streaming','8648570FfssPd','toggleHeader','isEnabled','bindTemplate','rejectSuggestion','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','_iconStateAccepted','innerHTML','pending','state','delegate','11kjuawI'];_0x49a6=function(){return _0x1e8794;};return _0x49a6();}import{View as _0x5e7543,IconView as _0x3dd0aa,ToolbarView as _0x2e29c2,ButtonView as _0xaa49c5}from'ckeditor5/src/ui.js';import{IconAddComment as _0x3f96f9,IconDocumentWithLoupe as _0x1a33f0,IconDocumentWithCheckmark as _0x25573f,IconDocumentWithCross as _0x31cc41,IconRemove as _0x50ef57,IconThreeStars as _0x4cb632}from'ckeditor5/src/icons.js';function _0x51e1(_0x3e5a28,_0x585f99){const _0x49a6f8=_0x49a6();return _0x51e1=function(_0x51e172,_0x78cd4){_0x51e172=_0x51e172-0x95;let _0x44d1cd=_0x49a6f8[_0x51e172];return _0x44d1cd;},_0x51e1(_0x3e5a28,_0x585f99);}import{HTMLStreamer as _0x4f0d6b}from'../../utils/htmlstreamer.js';import{getTranslation as _0xf3d468}from'../../utils/common-translations.js';import{serialize as _0x180739}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3c63b7}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x5e7543{[_0x5b1cde(0xc1)];[_0x5b1cde(0xdd)];[_0x5b1cde(0xad)];[_0x5b1cde(0xa8)];constructor(_0x2f38d2,{part:_0x2b567b,uiIndex:_0x21fb25,areActionsDisabled:_0x3f296f,availableActions:_0xfcb925}){const _0x369ee4=_0x5b1cde;super(_0x2f38d2),this[_0x369ee4(0xbe)](_0x369ee4(0xb2),_0x2b567b),this[_0x369ee4(0xbe)](_0x369ee4(0xd3),_0x369ee4(0xd2)),this[_0x369ee4(0xbe)](_0x369ee4(0xba),!0x1),this[_0x369ee4(0xd9)](_0x369ee4(0xcc))['to'](this,_0x369ee4(0xd3),_0x94c418=>_0x369ee4(0xd2)==_0x94c418&&!_0x3f296f),this[_0x369ee4(0xdd)]=this[_0x369ee4(0xdb)](),this[_0x369ee4(0xc1)]=new _0x4f0d6b({'textNodeStyle':_0x369ee4(0xa4),'delay':0x14}),this[_0x369ee4(0xad)]=new Un(_0x2f38d2,{'part':_0x2b567b,'uiIndex':_0x21fb25,'availableActions':_0xfcb925}),this[_0x369ee4(0xad)][_0x369ee4(0xd9)](_0x369ee4(0xb2))['to'](this),this[_0x369ee4(0xad)][_0x369ee4(0xd9)](_0x369ee4(0xcc))['to'](this),this[_0x369ee4(0xad)][_0x369ee4(0xd9)](_0x369ee4(0xd3))['to'](this),this[_0x369ee4(0xad)][_0x369ee4(0xd4)](..._0x3c63b7)['to'](this);const _0x36f720=this[_0x369ee4(0xcd)];this[_0x369ee4(0xa8)]=new _0x5e7543(),this[_0x369ee4(0xa8)][_0x369ee4(0xc5)]({'tag':_0x369ee4(0xe2),'attributes':{'class':['ck',_0x369ee4(0x95),_0x369ee4(0x96),_0x369ee4(0x9b)]}}),this[_0x369ee4(0xdd)][_0x369ee4(0x97)]([this[_0x369ee4(0xa8)]]),this[_0x369ee4(0xc5)]({'tag':_0x369ee4(0xe2),'attributes':{'class':['ck',_0x369ee4(0xe4),_0x36f720['to'](_0x369ee4(0xd3),_0xef095a=>_0x369ee4(0xde)+_0xef095a),_0x36f720['to'](_0x369ee4(0xcc),_0x5b0d6c=>_0x5b0d6c?_0x369ee4(0xbf):void 0x0),_0x36f720['if'](_0x369ee4(0xba),_0x369ee4(0xb0),_0x37f010=>!_0x37f010)]},'children':this[_0x369ee4(0xdd)],'on':{'mouseenter':_0x36f720['to'](()=>{const _0x37fb0f=_0x369ee4;this[_0x37fb0f(0xcc)]&&this[_0x37fb0f(0xb5)](_0x37fb0f(0xa1),{'index':_0x2b567b[_0x37fb0f(0xc4)]});}),'mouseleave':_0x36f720['to'](()=>{const _0x85c577=_0x369ee4;this[_0x85c577(0xcc)]&&this[_0x85c577(0xb5)](_0x85c577(0xa9),{'index':_0x2b567b[_0x85c577(0xc4)]});})}});}async[_0x5b1cde(0xb3)]({part:_0x19f397,renderingStrategy:_0x4678f0,showUnchangedParts:_0x45c23e=!0x1,abortSignal:_0x305c1e}){const _0x5c99bf=_0x5b1cde;this[_0x5c99bf(0xb2)]=_0x19f397,this[_0x5c99bf(0xba)]=this[_0x5c99bf(0xb2)][_0x5c99bf(0x99)]||_0x45c23e,this[_0x5c99bf(0xba)]&&(_0x5c99bf(0xc9)===_0x4678f0?await this[_0x5c99bf(0xc1)][_0x5c99bf(0xe3)]({'document':this[_0x5c99bf(0xb2)][_0x5c99bf(0xe5)],'targetElement':this[_0x5c99bf(0xa8)][_0x5c99bf(0xc0)],'abortSignal':_0x305c1e}):this[_0x5c99bf(0xa8)][_0x5c99bf(0xc0)][_0x5c99bf(0xd1)]=_0x180739(this[_0x5c99bf(0xb2)][_0x5c99bf(0xe5)]));}[_0x5b1cde(0xcb)](_0x4e984a){const _0x45bbca=_0x5b1cde;_0x4e984a?this[_0x45bbca(0xdd)][_0x45bbca(0x98)](this[_0x45bbca(0xad)])||this[_0x45bbca(0xdd)][_0x45bbca(0x9e)](this[_0x45bbca(0xad)],0x0):this[_0x45bbca(0xdd)][_0x45bbca(0x98)](this[_0x45bbca(0xad)])&&this[_0x45bbca(0xdd)][_0x45bbca(0xdf)](this[_0x45bbca(0xad)]);}}class Un extends _0x5e7543{[_0x5b1cde(0xdd)];[_0x5b1cde(0xd7)];[_0x5b1cde(0xd0)];[_0x5b1cde(0x9c)];[_0x5b1cde(0xd8)];constructor(_0x1be699,{part:_0x3ca177,uiIndex:_0x1a0bff,availableActions:_0x125710}){const _0x54c019=_0x5b1cde;super(_0x1be699),this[_0x54c019(0xbe)](_0x54c019(0xb2),_0x3ca177),this[_0x54c019(0xbe)](_0x54c019(0xcc),!0x0),this[_0x54c019(0xbe)](_0x54c019(0xd3),_0x54c019(0xd2));const _0x2e1571=new _0x3dd0aa();_0x2e1571[_0x54c019(0xe5)]=_0x4cb632,_0x2e1571[_0x54c019(0xe0)]({'attributes':{'class':[_0x54c019(0xab)]}});const _0x34b70f=[];if(_0x125710[_0x54c019(0xa7)](_0x54c019(0xa0))){const _0x29df12=new _0xaa49c5(_0x1be699);_0x29df12[_0x54c019(0xbe)]({'label':_0xf3d468(_0x1be699,_0x54c019(0xae)),'tooltip':!0x0,'withText':!0x1,'icon':_0x1a33f0}),_0x29df12[_0x54c019(0xd9)](_0x54c019(0xcc))['to'](this),_0x29df12['on'](_0x54c019(0xc3),()=>{const _0x5b4193=_0x54c019;this[_0x5b4193(0xb5)](_0x5b4193(0xa0),{'index':_0x3ca177[_0x5b4193(0xc4)]});}),_0x34b70f[_0x54c019(0xe6)](_0x29df12);}if(_0x125710[_0x54c019(0xa7)](_0x54c019(0xbb))){const _0x5f3e05=new _0xaa49c5(_0x1be699);_0x5f3e05[_0x54c019(0xbe)]({'label':_0xf3d468(_0x1be699,_0x54c019(0xcf)),'tooltip':!0x0,'withText':!0x1,'icon':_0x3f96f9}),_0x5f3e05[_0x54c019(0xd9)](_0x54c019(0xcc))['to'](this),_0x5f3e05['on'](_0x54c019(0xc3),()=>{const _0x4e4349=_0x54c019;this[_0x4e4349(0xb5)](_0x4e4349(0xbb),{'index':_0x3ca177[_0x4e4349(0xc4)]});}),_0x34b70f[_0x54c019(0xe6)](_0x5f3e05);}const _0x5ba77f=new _0xaa49c5(_0x1be699);_0x5ba77f[_0x54c019(0xbe)]({'label':_0xf3d468(_0x1be699,_0x54c019(0x9f)),'tooltip':!0x0,'withText':!0x1,'icon':_0x50ef57}),_0x5ba77f[_0x54c019(0xd9)](_0x54c019(0xcc))['to'](this),_0x5ba77f['on'](_0x54c019(0xc3),()=>{const _0x8d9cbd=_0x54c019;this[_0x8d9cbd(0xb5)](_0x8d9cbd(0xce),{'index':_0x3ca177[_0x8d9cbd(0xc4)]});}),_0x34b70f[_0x54c019(0xe6)](_0x5ba77f),this[_0x54c019(0xd7)]=new _0x2e29c2(_0x1be699),this[_0x54c019(0xd7)][_0x54c019(0xc6)][_0x54c019(0x97)](_0x34b70f),this[_0x54c019(0xd0)]=new _0x3dd0aa(),this[_0x54c019(0xd0)][_0x54c019(0xe5)]=_0x25573f,this[_0x54c019(0xd0)][_0x54c019(0xe0)]({'attributes':{'class':[_0x54c019(0xb4)],'data-cke-tooltip-text':_0xf3d468(_0x1be699,_0x54c019(0xda)),'data-cke-tooltip-position':'n'}}),this[_0x54c019(0x9c)]=new _0x3dd0aa(),this[_0x54c019(0x9c)][_0x54c019(0xe5)]=_0x31cc41,this[_0x54c019(0x9c)][_0x54c019(0xe0)]({'attributes':{'class':[_0x54c019(0xac)],'data-cke-tooltip-text':_0xf3d468(_0x1be699,_0x54c019(0xdc)),'data-cke-tooltip-position':'n'}}),this[_0x54c019(0xd8)]=new _0x3dd0aa(),this[_0x54c019(0xd8)][_0x54c019(0xe5)]=_0x31cc41,this[_0x54c019(0xd8)][_0x54c019(0xe0)]({'attributes':{'class':[_0x54c019(0xc7)],'data-cke-tooltip-text':_0xf3d468(_0x1be699,_0x54c019(0xb6)),'data-cke-tooltip-position':'n'}});const _0x347145=new _0x5e7543(_0x1be699);_0x347145[_0x54c019(0xc5)]({'tag':_0x54c019(0xaf),'attributes':{'class':['ck',_0x54c019(0x9d)]},'children':[_0xf3d468(_0x1be699,_0x54c019(0xb8),_0x1a0bff[_0x54c019(0x9a)]())]}),this[_0x54c019(0xdd)]=this[_0x54c019(0xdb)](),this[_0x54c019(0xdd)][_0x54c019(0x97)]([_0x2e1571,_0x347145,this[_0x54c019(0xd7)]]),this[_0x54c019(0xc5)]({'tag':_0x54c019(0xe2),'attributes':{'class':['ck',_0x54c019(0x96),_0x54c019(0xbc)]},'children':this[_0x54c019(0xdd)]}),this['on'](_0x54c019(0xbd),(_0x2d06a1,_0x37c825,_0x39077c,_0x3805e6)=>{const _0x447cdd=_0x54c019;switch(_0x3805e6){case _0x447cdd(0xd2):this[_0x447cdd(0xdd)][_0x447cdd(0xdf)](this[_0x447cdd(0xd7)]);break;case _0x447cdd(0xa2):this[_0x447cdd(0xdd)][_0x447cdd(0xdf)](this[_0x447cdd(0xd0)]);break;case _0x447cdd(0xaa):this[_0x447cdd(0xdd)][_0x447cdd(0xdf)](this[_0x447cdd(0x9c)]);break;case _0x447cdd(0xb1):this[_0x447cdd(0xdd)][_0x447cdd(0xdf)](this[_0x447cdd(0xd8)]);}switch(_0x39077c){case _0x447cdd(0xd2):this[_0x447cdd(0xdd)][_0x447cdd(0x9e)](this[_0x447cdd(0xd7)]);break;case _0x447cdd(0xa2):this[_0x447cdd(0xdd)][_0x447cdd(0x9e)](this[_0x447cdd(0xd0)]);break;case _0x447cdd(0xaa):this[_0x447cdd(0xdd)][_0x447cdd(0x9e)](this[_0x447cdd(0x9c)]);break;case _0x447cdd(0xb1):this[_0x447cdd(0xdd)][_0x447cdd(0x9e)](this[_0x447cdd(0xd8)]);}});}}
23
+ const _0x58f951=_0x141d;(function(_0x33b34d,_0x3baabf){const _0x358764=_0x141d,_0x2ad700=_0x33b34d();while(!![]){try{const _0x37e735=parseInt(_0x358764(0x15c))/0x1+-parseInt(_0x358764(0x113))/0x2+-parseInt(_0x358764(0x12a))/0x3+parseInt(_0x358764(0x123))/0x4*(-parseInt(_0x358764(0x133))/0x5)+-parseInt(_0x358764(0x115))/0x6+parseInt(_0x358764(0x116))/0x7*(parseInt(_0x358764(0x151))/0x8)+parseInt(_0x358764(0x14a))/0x9;if(_0x37e735===_0x3baabf)break;else _0x2ad700['push'](_0x2ad700['shift']());}catch(_0x2b7cc1){_0x2ad700['push'](_0x2ad700['shift']());}}}(_0x4ef7,0x4052b));function _0x141d(_0x28a80b,_0x12aa2d){const _0x4ef750=_0x4ef7();return _0x141d=function(_0x141d9a,_0x3b3ddb){_0x141d9a=_0x141d9a-0x112;let _0x3cc037=_0x4ef750[_0x141d9a];return _0x3cc037;},_0x141d(_0x28a80b,_0x12aa2d);}import{View as _0x2bdc07,IconView as _0x5956bf,ToolbarView as _0x2dac44,ButtonView as _0x4a99c8}from'ckeditor5/src/ui.js';import{IconAddComment as _0x33ba5c,IconDocumentWithLoupe as _0x5a5706,IconDocumentWithCheckmark as _0x599c46,IconDocumentWithCross as _0x4d6aee,IconRemove as _0x2d367b,IconThreeStars as _0x15eca5}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x350f42}from'../../utils/htmlstreamer.js';import{getTranslation as _0x591e5f}from'../../utils/common-translations.js';import{serialize as _0x1ff658}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5c3e46}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x2bdc07{[_0x58f951(0x15f)];[_0x58f951(0x15e)];[_0x58f951(0x139)];[_0x58f951(0x120)];constructor(_0x2fdb77,{part:_0x13fcb9,uiIndex:_0xd25140,areActionsDisabled:_0x28f1df,availableActions:_0x14e9ab}){const _0x504d93=_0x58f951;super(_0x2fdb77),this[_0x504d93(0x11b)](_0x504d93(0x145),_0x13fcb9),this[_0x504d93(0x11b)](_0x504d93(0x11d),_0x504d93(0x119)),this[_0x504d93(0x11b)](_0x504d93(0x148),!0x1),this[_0x504d93(0x114)](_0x504d93(0x122))['to'](this,_0x504d93(0x11d),_0x187c7b=>_0x504d93(0x119)==_0x187c7b&&!_0x28f1df),this[_0x504d93(0x15e)]=this[_0x504d93(0x140)](),this[_0x504d93(0x15f)]=new _0x350f42({'textNodeStyle':_0x504d93(0x11f),'delay':0x14}),this[_0x504d93(0x139)]=new Un(_0x2fdb77,{'part':_0x13fcb9,'uiIndex':_0xd25140,'availableActions':_0x14e9ab}),this[_0x504d93(0x139)][_0x504d93(0x114)](_0x504d93(0x145))['to'](this),this[_0x504d93(0x139)][_0x504d93(0x114)](_0x504d93(0x122))['to'](this),this[_0x504d93(0x139)][_0x504d93(0x114)](_0x504d93(0x11d))['to'](this),this[_0x504d93(0x139)][_0x504d93(0x131)](..._0x5c3e46)['to'](this);const _0x49bd88=this[_0x504d93(0x14c)];this[_0x504d93(0x120)]=new _0x2bdc07(),this[_0x504d93(0x120)][_0x504d93(0x147)]({'tag':_0x504d93(0x144),'attributes':{'class':['ck',_0x504d93(0x11e),_0x504d93(0x142),_0x504d93(0x118)]}}),this[_0x504d93(0x15e)][_0x504d93(0x15b)]([this[_0x504d93(0x120)]]),this[_0x504d93(0x147)]({'tag':_0x504d93(0x144),'attributes':{'class':['ck',_0x504d93(0x157),_0x49bd88['to'](_0x504d93(0x11d),_0x364506=>_0x504d93(0x158)+_0x364506),_0x49bd88['to'](_0x504d93(0x122),_0x5eb6c3=>_0x5eb6c3?_0x504d93(0x14f):void 0x0),_0x49bd88['if'](_0x504d93(0x148),_0x504d93(0x159),_0x29c982=>!_0x29c982)]},'children':this[_0x504d93(0x15e)],'on':{'mouseenter':_0x49bd88['to'](()=>{const _0x56ce95=_0x504d93;this[_0x56ce95(0x122)]&&this[_0x56ce95(0x155)](_0x56ce95(0x141),{'index':_0x13fcb9[_0x56ce95(0x12d)]});}),'mouseleave':_0x49bd88['to'](()=>{const _0x2e17a8=_0x504d93;this[_0x2e17a8(0x122)]&&this[_0x2e17a8(0x155)](_0x2e17a8(0x14b),{'index':_0x13fcb9[_0x2e17a8(0x12d)]});})}});}async[_0x58f951(0x150)]({part:_0x2ac7ae,renderingStrategy:_0x60adb4,showUnchangedParts:_0x4fe998=!0x1,abortSignal:_0x2eee65}){const _0x25e62f=_0x58f951;this[_0x25e62f(0x145)]=_0x2ac7ae,this[_0x25e62f(0x148)]=this[_0x25e62f(0x145)][_0x25e62f(0x12e)]||_0x4fe998,this[_0x25e62f(0x148)]&&(_0x25e62f(0x149)===_0x60adb4?await this[_0x25e62f(0x15f)][_0x25e62f(0x11c)]({'document':this[_0x25e62f(0x145)][_0x25e62f(0x152)],'targetElement':this[_0x25e62f(0x120)][_0x25e62f(0x134)],'abortSignal':_0x2eee65}):this[_0x25e62f(0x120)][_0x25e62f(0x134)][_0x25e62f(0x12b)]=_0x1ff658(this[_0x25e62f(0x145)][_0x25e62f(0x152)]));}[_0x58f951(0x136)](_0x4e0a68){const _0x1569c5=_0x58f951;_0x4e0a68?this[_0x1569c5(0x15e)][_0x1569c5(0x12f)](this[_0x1569c5(0x139)])||this[_0x1569c5(0x15e)][_0x1569c5(0x156)](this[_0x1569c5(0x139)],0x0):this[_0x1569c5(0x15e)][_0x1569c5(0x12f)](this[_0x1569c5(0x139)])&&this[_0x1569c5(0x15e)][_0x1569c5(0x112)](this[_0x1569c5(0x139)]);}}class Un extends _0x2bdc07{[_0x58f951(0x15e)];[_0x58f951(0x15a)];[_0x58f951(0x129)];[_0x58f951(0x160)];[_0x58f951(0x132)];constructor(_0x2b4da7,{part:_0x4d8927,uiIndex:_0x3eee49,availableActions:_0x3f849a}){const _0x214162=_0x58f951;super(_0x2b4da7),this[_0x214162(0x11b)](_0x214162(0x145),_0x4d8927),this[_0x214162(0x11b)](_0x214162(0x122),!0x0),this[_0x214162(0x11b)](_0x214162(0x11d),_0x214162(0x119));const _0x563b06=new _0x5956bf();_0x563b06[_0x214162(0x152)]=_0x15eca5,_0x563b06[_0x214162(0x13e)]({'attributes':{'class':[_0x214162(0x121)]}});const _0x1e9978=[];if(_0x3f849a[_0x214162(0x125)](_0x214162(0x13f))){const _0x27e4e8=new _0x4a99c8(_0x2b4da7);_0x27e4e8[_0x214162(0x11b)]({'label':_0x591e5f(_0x2b4da7,_0x214162(0x138)),'tooltip':!0x0,'withText':!0x1,'icon':_0x5a5706}),_0x27e4e8[_0x214162(0x114)](_0x214162(0x122))['to'](this),_0x27e4e8['on'](_0x214162(0x13b),()=>{const _0x600b84=_0x214162;this[_0x600b84(0x155)](_0x600b84(0x13f),{'index':_0x4d8927[_0x600b84(0x12d)]});}),_0x1e9978[_0x214162(0x143)](_0x27e4e8);}if(_0x3f849a[_0x214162(0x125)](_0x214162(0x128))){const _0xfa494a=new _0x4a99c8(_0x2b4da7);_0xfa494a[_0x214162(0x11b)]({'label':_0x591e5f(_0x2b4da7,_0x214162(0x124)),'tooltip':!0x0,'withText':!0x1,'icon':_0x33ba5c}),_0xfa494a[_0x214162(0x114)](_0x214162(0x122))['to'](this),_0xfa494a['on'](_0x214162(0x13b),()=>{const _0x1e5cc7=_0x214162;this[_0x1e5cc7(0x155)](_0x1e5cc7(0x128),{'index':_0x4d8927[_0x1e5cc7(0x12d)]});}),_0x1e9978[_0x214162(0x143)](_0xfa494a);}const _0x1b81b2=new _0x4a99c8(_0x2b4da7);_0x1b81b2[_0x214162(0x11b)]({'label':_0x591e5f(_0x2b4da7,_0x214162(0x130)),'tooltip':!0x0,'withText':!0x1,'icon':_0x2d367b}),_0x1b81b2[_0x214162(0x114)](_0x214162(0x122))['to'](this),_0x1b81b2['on'](_0x214162(0x13b),()=>{const _0x44a01e=_0x214162;this[_0x44a01e(0x155)](_0x44a01e(0x13c),{'index':_0x4d8927[_0x44a01e(0x12d)]});}),_0x1e9978[_0x214162(0x143)](_0x1b81b2),this[_0x214162(0x15a)]=new _0x2dac44(_0x2b4da7),this[_0x214162(0x15a)][_0x214162(0x127)][_0x214162(0x15b)](_0x1e9978),this[_0x214162(0x129)]=new _0x5956bf(),this[_0x214162(0x129)][_0x214162(0x152)]=_0x599c46,this[_0x214162(0x129)][_0x214162(0x13e)]({'attributes':{'class':[_0x214162(0x161)],'data-cke-tooltip-text':_0x591e5f(_0x2b4da7,_0x214162(0x117)),'data-cke-tooltip-position':'n'}}),this[_0x214162(0x160)]=new _0x5956bf(),this[_0x214162(0x160)][_0x214162(0x152)]=_0x4d6aee,this[_0x214162(0x160)][_0x214162(0x13e)]({'attributes':{'class':[_0x214162(0x153)],'data-cke-tooltip-text':_0x591e5f(_0x2b4da7,_0x214162(0x15d)),'data-cke-tooltip-position':'n'}}),this[_0x214162(0x132)]=new _0x5956bf(),this[_0x214162(0x132)][_0x214162(0x152)]=_0x4d6aee,this[_0x214162(0x132)][_0x214162(0x13e)]({'attributes':{'class':[_0x214162(0x146)],'data-cke-tooltip-text':_0x591e5f(_0x2b4da7,_0x214162(0x126)),'data-cke-tooltip-position':'n'}});const _0x238da5=new _0x2bdc07(_0x2b4da7);_0x238da5[_0x214162(0x147)]({'tag':_0x214162(0x13a),'attributes':{'class':['ck',_0x214162(0x137)]},'children':[_0x591e5f(_0x2b4da7,_0x214162(0x14d),_0x3eee49[_0x214162(0x12c)]())]}),this[_0x214162(0x15e)]=this[_0x214162(0x140)](),this[_0x214162(0x15e)][_0x214162(0x15b)]([_0x563b06,_0x238da5,this[_0x214162(0x15a)]]),this[_0x214162(0x147)]({'tag':_0x214162(0x144),'attributes':{'class':['ck',_0x214162(0x142),_0x214162(0x11a)]},'children':this[_0x214162(0x15e)]}),this['on'](_0x214162(0x14e),(_0x224760,_0x2bc178,_0x595262,_0x30e5cd)=>{const _0x7fd1ae=_0x214162;switch(_0x30e5cd){case _0x7fd1ae(0x119):this[_0x7fd1ae(0x15e)][_0x7fd1ae(0x112)](this[_0x7fd1ae(0x15a)]);break;case _0x7fd1ae(0x135):this[_0x7fd1ae(0x15e)][_0x7fd1ae(0x112)](this[_0x7fd1ae(0x129)]);break;case _0x7fd1ae(0x154):this[_0x7fd1ae(0x15e)][_0x7fd1ae(0x112)](this[_0x7fd1ae(0x160)]);break;case _0x7fd1ae(0x13d):this[_0x7fd1ae(0x15e)][_0x7fd1ae(0x112)](this[_0x7fd1ae(0x132)]);}switch(_0x595262){case _0x7fd1ae(0x119):this[_0x7fd1ae(0x15e)][_0x7fd1ae(0x156)](this[_0x7fd1ae(0x15a)]);break;case _0x7fd1ae(0x135):this[_0x7fd1ae(0x15e)][_0x7fd1ae(0x156)](this[_0x7fd1ae(0x129)]);break;case _0x7fd1ae(0x154):this[_0x7fd1ae(0x15e)][_0x7fd1ae(0x156)](this[_0x7fd1ae(0x160)]);break;case _0x7fd1ae(0x13d):this[_0x7fd1ae(0x15e)][_0x7fd1ae(0x156)](this[_0x7fd1ae(0x132)]);}});}}function _0x4ef7(){const _0x481b52=['AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','includes','AI_SUGGESTION_CONTENT_PART_OUTDATED','items','insertSuggestion','_iconStateAccepted','16512RvStXY','innerHTML','toString','index','hasChanges','has','AI_SUGGESTION_CONTENT_PART_DELETE','delegate','_iconStateOutdated','120BqpjII','element','accepted','toggleHeader','ck-ai-suggestion__body__content-part__title__label','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','headerView','span','execute','rejectSuggestion','outdated','extendTemplate','showChangeInText','createCollection','mouseOverSuggestion','ck-reset_all-excluded','push','div','partDefinition','ck-ai-suggestion__body__content-part__icon-outdated','setTemplate','isVisible','streaming','6125985sBETQD','mouseLeaveSuggestion','bindTemplate','AI_SUGGESTION_CONTENT_PART_TITLE','change:state','ck-ai-suggestion__body__content-part_active','updateContent','8FmkwFg','content','ck-ai-suggestion__body__content-part__icon-rejected','rejected','fire','add','ck-ai-suggestion__body__content-part','ck-ai-suggestion__body__content-part_','ck-hidden','_toolbarView','addMany','282593AEhLoq','AI_SUGGESTION_CONTENT_PART_REJECTED','children','htmlStreamer','_iconStateRejected','ck-ai-suggestion__body__content-part__icon-accepted','remove','451280AhBfVu','bind','973524BDcfHi','157185KYrDTs','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','ck-ai-suggestion__body__content-part__content','pending','ck-ai-suggestion__body__content-part__title','set','stream','state','ck-content','animation:\x20ck-html-streamer-fade-in\x20.5s','contentView','ck-ai-suggestion__body__content-part__icon-title','isEnabled','54808HJTiqD'];_0x4ef7=function(){return _0x481b52;};return _0x4ef7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd29a16=_0x3880;function _0xbc09(){const _0x323ea6=['isVisible','span','add','remove','6896742dmDLqR','isOn','3831900aHagdZ','execute','showHeader','234291PuSKDR','children','isShowChangesToggleVisible','showChangesToggleView','filter','content','icon','fire','iconView','setTemplate','div','render','3BaffuX','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','AI_SUGGESTION_HEADER_TITLE','set','ck-hidden','AI_SUGGESTION_BUTTON_SHOW_CHANGES','showDiff','65051YIpMJf','4057836vVpwbR','4461444lGIzQP','toggleShowChanges','264xXWIuA','ck-ai-suggestion__header','346988ayGkkH','bind'];_0xbc09=function(){return _0x323ea6;};return _0xbc09();}function _0x3880(_0x34e4c6,_0x2f0058){const _0xbc099f=_0xbc09();return _0x3880=function(_0x38801f,_0x36c8c3){_0x38801f=_0x38801f-0x1a8;let _0x1f9f33=_0xbc099f[_0x38801f];return _0x1f9f33;},_0x3880(_0x34e4c6,_0x2f0058);}(function(_0x58f544,_0x48347d){const _0x55f6b8=_0x3880,_0x5c9dd0=_0x58f544();while(!![]){try{const _0x3d8b3c=parseInt(_0x55f6b8(0x1c1))/0x1+-parseInt(_0x55f6b8(0x1b6))/0x2*(parseInt(_0x55f6b8(0x1a9))/0x3)+parseInt(_0x55f6b8(0x1b1))/0x4+-parseInt(_0x55f6b8(0x1be))/0x5+parseInt(_0x55f6b8(0x1bc))/0x6+parseInt(_0x55f6b8(0x1b0))/0x7*(-parseInt(_0x55f6b8(0x1b4))/0x8)+-parseInt(_0x55f6b8(0x1b2))/0x9;if(_0x3d8b3c===_0x48347d)break;else _0x5c9dd0['push'](_0x5c9dd0['shift']());}catch(_0x48d91e){_0x5c9dd0['push'](_0x5c9dd0['shift']());}}}(_0xbc09,0xa024c));import{getTranslation as _0x3595b3}from'../../utils/common-translations.js';import{ButtonView as _0x126322,IconView as _0x1323d4,View as _0xfc30b2}from'ckeditor5/src/ui.js';import{IconDocument as _0x186f48,IconShowChangesOff as _0xdcc75,IconShowChangesOn as _0x183c36}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0xfc30b2{[_0xd29a16(0x1c4)];constructor(_0x35dd3f,_0x375dc5){const _0xc5e866=_0xd29a16;super(_0x35dd3f),this[_0xc5e866(0x1ac)](_0xc5e866(0x1c3),!0x0),this[_0xc5e866(0x1c4)]=new ShowChangesToggleView(_0x35dd3f),this[_0xc5e866(0x1c4)][_0xc5e866(0x1ac)]({'class':_0xc5e866(0x1aa),'label':_0x3595b3(_0x35dd3f,_0xc5e866(0x1ae)),'withText':!0x0}),this[_0xc5e866(0x1c4)][_0xc5e866(0x1bd)]=_0x375dc5[_0xc5e866(0x1af)],this[_0xc5e866(0x1c4)][_0xc5e866(0x1b7)](_0xc5e866(0x1b8))['to'](this,_0xc5e866(0x1c3)),this[_0xc5e866(0x1c4)][_0xc5e866(0x1b7)](_0xc5e866(0x1c7))['to'](this[_0xc5e866(0x1c4)],_0xc5e866(0x1bd),_0x51b19c=>_0x51b19c?_0x183c36:_0xdcc75),this[_0xc5e866(0x1c4)]['on'](_0xc5e866(0x1bf),()=>{const _0x337df4=_0xc5e866;this[_0x337df4(0x1c4)][_0x337df4(0x1bd)]=!this[_0x337df4(0x1c4)][_0x337df4(0x1bd)],this[_0x337df4(0x1c8)](_0x337df4(0x1b3),{'isOn':this[_0x337df4(0x1c4)][_0x337df4(0x1bd)]});});const _0x4ec6ed=new _0x1323d4();_0x4ec6ed[_0xc5e866(0x1c6)]=_0x186f48,this[_0xc5e866(0x1ca)]({'tag':_0xc5e866(0x1cb),'attributes':{'class':['ck',_0xc5e866(0x1b5),!0x1===_0x375dc5[_0xc5e866(0x1c0)]?_0xc5e866(0x1ad):null][_0xc5e866(0x1c5)](Boolean)},'children':[_0x4ec6ed,{'tag':_0xc5e866(0x1b9),'children':[_0x3595b3(_0x35dd3f,_0xc5e866(0x1ab))]},this[_0xc5e866(0x1c4)]]});}}export class ShowChangesToggleView extends _0x126322{[_0xd29a16(0x1a8)](){const _0x23505e=_0xd29a16;super[_0x23505e(0x1a8)](),this[_0x23505e(0x1c2)][_0x23505e(0x1bb)](this[_0x23505e(0x1c9)]),this[_0x23505e(0x1c2)][_0x23505e(0x1ba)](this[_0x23505e(0x1c9)]);}}
23
+ const _0x16dd1e=_0x412e;(function(_0x1d0341,_0x56b284){const _0x5a7384=_0x412e,_0x2277bb=_0x1d0341();while(!![]){try{const _0x9cd29f=parseInt(_0x5a7384(0x1cc))/0x1+parseInt(_0x5a7384(0x1ce))/0x2*(-parseInt(_0x5a7384(0x1c8))/0x3)+-parseInt(_0x5a7384(0x1b5))/0x4+-parseInt(_0x5a7384(0x1d9))/0x5*(parseInt(_0x5a7384(0x1d4))/0x6)+-parseInt(_0x5a7384(0x1d0))/0x7*(-parseInt(_0x5a7384(0x1cf))/0x8)+parseInt(_0x5a7384(0x1c5))/0x9+-parseInt(_0x5a7384(0x1da))/0xa*(-parseInt(_0x5a7384(0x1d7))/0xb);if(_0x9cd29f===_0x56b284)break;else _0x2277bb['push'](_0x2277bb['shift']());}catch(_0x470457){_0x2277bb['push'](_0x2277bb['shift']());}}}(_0x58f0,0xd1b89));import{getTranslation as _0x387aff}from'../../utils/common-translations.js';import{ButtonView as _0x4c1dab,IconView as _0x2eedad,View as _0x15bbe4}from'ckeditor5/src/ui.js';import{IconDocument as _0xdf4157,IconShowChangesOff as _0x5271e5,IconShowChangesOn as _0x2ba476}from'ckeditor5/src/icons.js';function _0x58f0(){const _0x100634=['1839843VxViWG','isOn','showDiff','34149mKLHgc','AI_SUGGESTION_HEADER_TITLE','isShowChangesToggleVisible','filter','780130yShppt','iconView','36VKwcIz','72PlaDQU','254681chsQnu','div','add','icon','12zuqold','span','children','791824edfKBs','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','449980SiGynt','110xnWAWj','3439700RTnDJB','execute','fire','AI_SUGGESTION_BUTTON_SHOW_CHANGES','setTemplate','bind','set','remove','render','isVisible','showHeader','toggleShowChanges','content','ck-ai-suggestion__header','showChangesToggleView','ck-hidden'];_0x58f0=function(){return _0x100634;};return _0x58f0();}export class AISuggestionHeaderView extends _0x15bbe4{[_0x16dd1e(0x1c3)];constructor(_0x84f71b,_0x54aee4){const _0x3a488b=_0x16dd1e;super(_0x84f71b),this[_0x3a488b(0x1bb)](_0x3a488b(0x1ca),!0x0),this[_0x3a488b(0x1c3)]=new ShowChangesToggleView(_0x84f71b),this[_0x3a488b(0x1c3)][_0x3a488b(0x1bb)]({'class':_0x3a488b(0x1d8),'label':_0x387aff(_0x84f71b,_0x3a488b(0x1b8)),'withText':!0x0}),this[_0x3a488b(0x1c3)][_0x3a488b(0x1c6)]=_0x54aee4[_0x3a488b(0x1c7)],this[_0x3a488b(0x1c3)][_0x3a488b(0x1ba)](_0x3a488b(0x1be))['to'](this,_0x3a488b(0x1ca)),this[_0x3a488b(0x1c3)][_0x3a488b(0x1ba)](_0x3a488b(0x1d3))['to'](this[_0x3a488b(0x1c3)],_0x3a488b(0x1c6),_0x49ad07=>_0x49ad07?_0x2ba476:_0x5271e5),this[_0x3a488b(0x1c3)]['on'](_0x3a488b(0x1b6),()=>{const _0x3b524d=_0x3a488b;this[_0x3b524d(0x1c3)][_0x3b524d(0x1c6)]=!this[_0x3b524d(0x1c3)][_0x3b524d(0x1c6)],this[_0x3b524d(0x1b7)](_0x3b524d(0x1c0),{'isOn':this[_0x3b524d(0x1c3)][_0x3b524d(0x1c6)]});});const _0xe4948e=new _0x2eedad();_0xe4948e[_0x3a488b(0x1c1)]=_0xdf4157,this[_0x3a488b(0x1b9)]({'tag':_0x3a488b(0x1d1),'attributes':{'class':['ck',_0x3a488b(0x1c2),!0x1===_0x54aee4[_0x3a488b(0x1bf)]?_0x3a488b(0x1c4):null][_0x3a488b(0x1cb)](Boolean)},'children':[_0xe4948e,{'tag':_0x3a488b(0x1d5),'children':[_0x387aff(_0x84f71b,_0x3a488b(0x1c9))]},this[_0x3a488b(0x1c3)]]});}}function _0x412e(_0x505b35,_0x1c41f8){const _0x58f047=_0x58f0();return _0x412e=function(_0x412e64,_0x36a68d){_0x412e64=_0x412e64-0x1b5;let _0x3bdec7=_0x58f047[_0x412e64];return _0x3bdec7;},_0x412e(_0x505b35,_0x1c41f8);}export class ShowChangesToggleView extends _0x4c1dab{[_0x16dd1e(0x1bd)](){const _0x35c8bd=_0x16dd1e;super[_0x35c8bd(0x1bd)](),this[_0x35c8bd(0x1d6)][_0x35c8bd(0x1bc)](this[_0x35c8bd(0x1cd)]),this[_0x35c8bd(0x1d6)][_0x35c8bd(0x1d2)](this[_0x35c8bd(0x1cd)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x129d(_0x20a16e,_0x195c33){const _0x2110b4=_0x2110();return _0x129d=function(_0x129dd8,_0x1e7cd2){_0x129dd8=_0x129dd8-0x9f;let _0x417a45=_0x2110b4[_0x129dd8];return _0x417a45;},_0x129d(_0x20a16e,_0x195c33);}(function(_0x4ac137,_0x51652d){const _0x533e32=_0x129d,_0x33176e=_0x4ac137();while(!![]){try{const _0x559a27=parseInt(_0x533e32(0xad))/0x1*(parseInt(_0x533e32(0xb4))/0x2)+parseInt(_0x533e32(0xa1))/0x3*(-parseInt(_0x533e32(0xae))/0x4)+parseInt(_0x533e32(0xab))/0x5+-parseInt(_0x533e32(0xa5))/0x6*(parseInt(_0x533e32(0xa0))/0x7)+-parseInt(_0x533e32(0xb0))/0x8*(parseInt(_0x533e32(0xa7))/0x9)+-parseInt(_0x533e32(0xa6))/0xa+parseInt(_0x533e32(0xa9))/0xb;if(_0x559a27===_0x51652d)break;else _0x33176e['push'](_0x33176e['shift']());}catch(_0x4e5ad8){_0x33176e['push'](_0x33176e['shift']());}}}(_0x2110,0x7a5a9));function _0x2110(){const _0x4dc283=['isMaximized','6HwpfsN','8376530vDvdkn','7173EUnZie','isOn','18586799BBVueT','fire','4586200orwrXN','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','6915ChAFRL','16QGjqXW','execute','5272lrJAko','AI_TABS_LABEL_MINIMIZE','icon','label','158qPQiBG','AI_TABS_LABEL_MAXIMIZE','bind','3281159ybMRaW','615345EkkyGe','resizeTabs','set'];_0x2110=function(){return _0x4dc283;};return _0x2110();}import{ButtonView as _0x3e70ae}from'ckeditor5/src/ui.js';import{IconMaximize as _0x139203,IconMinimize as _0x36e77c}from'ckeditor5/src/icons.js';import{getTranslation as _0xb73167}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x424ecb,_0x447d72){const _0x1221ad=_0x129d,_0x165a90=new _0x3e70ae(_0x424ecb),_0x2876a1=_0xb73167(_0x424ecb,_0x1221ad(0xb1)),_0x2b757e=_0xb73167(_0x424ecb,_0x1221ad(0xb5));return _0x165a90[_0x1221ad(0xa3)]({'withText':!0x1,'icon':_0x139203,'tooltip':!0x0,'class':_0x1221ad(0xac)}),_0x165a90[_0x1221ad(0x9f)](_0x1221ad(0xb3))['to'](_0x447d72,_0x1221ad(0xa4),_0x22da78=>_0x22da78?_0x2876a1:_0x2b757e),_0x165a90[_0x1221ad(0x9f)](_0x1221ad(0xb2))['to'](_0x447d72,_0x1221ad(0xa4),_0x35f641=>_0x35f641?_0x36e77c:_0x139203),_0x165a90[_0x1221ad(0x9f)](_0x1221ad(0xa8))['to'](_0x447d72,_0x1221ad(0xa4)),_0x165a90['on'](_0x1221ad(0xaf),()=>{const _0x7df961=_0x1221ad;_0x447d72[_0x7df961(0xaa)](_0x7df961(0xa2));}),_0x165a90;}
23
+ (function(_0x2fe4de,_0x1089c2){const _0x2f72af=_0x47cb,_0x224743=_0x2fe4de();while(!![]){try{const _0x1bad85=-parseInt(_0x2f72af(0x1d2))/0x1*(parseInt(_0x2f72af(0x1cf))/0x2)+-parseInt(_0x2f72af(0x1c2))/0x3+parseInt(_0x2f72af(0x1d0))/0x4+-parseInt(_0x2f72af(0x1c9))/0x5*(parseInt(_0x2f72af(0x1ca))/0x6)+parseInt(_0x2f72af(0x1c3))/0x7*(-parseInt(_0x2f72af(0x1c1))/0x8)+parseInt(_0x2f72af(0x1c6))/0x9*(parseInt(_0x2f72af(0x1ce))/0xa)+-parseInt(_0x2f72af(0x1d4))/0xb*(parseInt(_0x2f72af(0x1cc))/0xc);if(_0x1bad85===_0x1089c2)break;else _0x224743['push'](_0x224743['shift']());}catch(_0x531515){_0x224743['push'](_0x224743['shift']());}}}(_0x5a32,0xd654f));function _0x47cb(_0x5a0fd6,_0x5f0e20){const _0x5a3253=_0x5a32();return _0x47cb=function(_0x47cb1a,_0x3d5034){_0x47cb1a=_0x47cb1a-0x1bf;let _0x58332d=_0x5a3253[_0x47cb1a];return _0x58332d;},_0x47cb(_0x5a0fd6,_0x5f0e20);}import{ButtonView as _0xe29dc6}from'ckeditor5/src/ui.js';import{IconMaximize as _0x305b9f,IconMinimize as _0x493543}from'ckeditor5/src/icons.js';import{getTranslation as _0x1c3e19}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x553697,_0x193152){const _0x322574=_0x47cb,_0x69f75e=new _0xe29dc6(_0x553697),_0x5e5759=_0x1c3e19(_0x553697,_0x322574(0x1c5)),_0x19bd52=_0x1c3e19(_0x553697,_0x322574(0x1d5));return _0x69f75e[_0x322574(0x1c0)]({'withText':!0x1,'icon':_0x305b9f,'tooltip':!0x0,'class':_0x322574(0x1cd)}),_0x69f75e[_0x322574(0x1c4)](_0x322574(0x1c8))['to'](_0x193152,_0x322574(0x1d6),_0x1abf09=>_0x1abf09?_0x5e5759:_0x19bd52),_0x69f75e[_0x322574(0x1c4)](_0x322574(0x1c7))['to'](_0x193152,_0x322574(0x1d6),_0xb807e8=>_0xb807e8?_0x493543:_0x305b9f),_0x69f75e[_0x322574(0x1c4)](_0x322574(0x1cb))['to'](_0x193152,_0x322574(0x1d6)),_0x69f75e['on'](_0x322574(0x1bf),()=>{const _0x159f20=_0x322574;_0x193152[_0x159f20(0x1d1)](_0x159f20(0x1d3));}),_0x69f75e;}function _0x5a32(){const _0x2d0495=['81056ADgdfy','2606574oAxEOi','273pppMXa','bind','AI_TABS_LABEL_MINIMIZE','15625863PDFiru','icon','label','70ZiVybM','45390xWKTJA','isOn','24ZVfTKL','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','10IJhyrL','33658LwYMjt','6585444bdAiPW','fire','59IoCJnE','resizeTabs','780109yXpiyW','AI_TABS_LABEL_MAXIMIZE','isMaximized','execute','set'];_0x5a32=function(){return _0x2d0495;};return _0x5a32();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b093d=_0x23d1;(function(_0x8fcddd,_0x331611){const _0x1b10e2=_0x23d1,_0x419aa0=_0x8fcddd();while(!![]){try{const _0x4d4ddb=parseInt(_0x1b10e2(0x84))/0x1*(parseInt(_0x1b10e2(0x99))/0x2)+-parseInt(_0x1b10e2(0x90))/0x3+-parseInt(_0x1b10e2(0x87))/0x4+parseInt(_0x1b10e2(0x85))/0x5*(-parseInt(_0x1b10e2(0x9e))/0x6)+-parseInt(_0x1b10e2(0x8b))/0x7+-parseInt(_0x1b10e2(0x9c))/0x8*(-parseInt(_0x1b10e2(0x89))/0x9)+parseInt(_0x1b10e2(0x7f))/0xa;if(_0x4d4ddb===_0x331611)break;else _0x419aa0['push'](_0x419aa0['shift']());}catch(_0x495b45){_0x419aa0['push'](_0x419aa0['shift']());}}}(_0x3a91,0xc9ba0));import{DocumentPosition as _0x1ba2c3}from'./documentposition.js';function _0x23d1(_0x261ee0,_0x1638cf){const _0x3a91da=_0x3a91();return _0x23d1=function(_0x23d1c4,_0x195f95){_0x23d1c4=_0x23d1c4-0x7f;let _0x28cd04=_0x3a91da[_0x23d1c4];return _0x28cd04;},_0x23d1(_0x261ee0,_0x1638cf);}import{clone as _0x26ab3c,getParents as _0x53c767,Document as _0x50160a,Text as _0x20e2b2,isTag as _0x170a44,isText as _0x53f8da,replaceElement as _0x1a222f,removeElement as _0x3cd91b}from'./htmlparser.js';function _0x3a91(){const _0x43abf6=['document','createAt','createFromPath','forEach','previousNode','getNudgedToWordBoundary','2UGaQBR','nextNode','createBefore','104JXBLER','getContent','8973606NJEzLY','firstChild','33563230zVMiok','parent','reverse','end','push','1044125IVUyEJ','5LiCBhl','lastChild','3797148YuwGjH','createAfter','752643KfDuvY','path','10393929yfXYZL','includes','start','isEqual','data','2194776aymTeC','length','slice'];_0x3a91=function(){return _0x43abf6;};return _0x3a91();}export class DocumentRange{[_0x1b093d(0x8d)];[_0x1b093d(0x82)];constructor(_0x107015,_0x5c0661){const _0x343697=_0x1b093d;this[_0x343697(0x8d)]=_0x107015,this[_0x343697(0x82)]=_0x5c0661;}[_0x1b093d(0x8e)](_0x3920c2){const _0x297afd=_0x1b093d;return this==_0x3920c2||this[_0x297afd(0x8d)][_0x297afd(0x8e)](_0x3920c2[_0x297afd(0x8d)])&&this[_0x297afd(0x82)][_0x297afd(0x8e)](_0x3920c2[_0x297afd(0x82)]);}[_0x1b093d(0x98)](){const _0x4e8b33=_0x1b093d;return new DocumentRange(this[_0x4e8b33(0x8d)][_0x4e8b33(0x98)](_0x4e8b33(0x8d)),this[_0x4e8b33(0x82)][_0x4e8b33(0x98)](_0x4e8b33(0x82)));}[_0x1b093d(0x9d)](){const _0x1a7dcf=_0x1b093d,_0x8837c=_0x26ab3c(this[_0x1a7dcf(0x8d)][_0x1a7dcf(0x93)]),_0x4304c1=_0x1ba2c3[_0x1a7dcf(0x95)](_0x8837c,this[_0x1a7dcf(0x8d)][_0x1a7dcf(0x8a)]),_0x5d1488=_0x1ba2c3[_0x1a7dcf(0x95)](_0x8837c,this[_0x1a7dcf(0x82)][_0x1a7dcf(0x8a)]);let _0x26ebc4,_0x484374;if(_0x53f8da(_0x4304c1[_0x1a7dcf(0x80)])){const _0x13db81=_0x4304c1[_0x1a7dcf(0x8a)][_0x4304c1[_0x1a7dcf(0x8a)][_0x1a7dcf(0x91)]-0x1],_0x4b31b5=new _0x20e2b2(_0x4304c1[_0x1a7dcf(0x80)][_0x1a7dcf(0x8f)][_0x1a7dcf(0x92)](_0x13db81));_0x1a222f(_0x4304c1[_0x1a7dcf(0x80)],_0x4b31b5),_0x26ebc4=_0x4b31b5;}else _0x26ebc4=_0x4304c1[_0x1a7dcf(0x9a)];if(_0x53f8da(_0x5d1488[_0x1a7dcf(0x80)])){const _0x25fc67=_0x5d1488[_0x1a7dcf(0x8a)][_0x5d1488[_0x1a7dcf(0x8a)][_0x1a7dcf(0x91)]-0x1],_0x323df3=new _0x20e2b2(_0x5d1488[_0x1a7dcf(0x80)][_0x1a7dcf(0x8f)][_0x1a7dcf(0x92)](0x0,_0x25fc67));_0x1a222f(_0x5d1488[_0x1a7dcf(0x80)],_0x323df3),_0x484374=_0x323df3;}else _0x484374=_0x5d1488[_0x1a7dcf(0x97)];if(!(_0x26ebc4&&_0x484374&&_0x8837c[_0x1a7dcf(0x9f)]&&_0x8837c[_0x1a7dcf(0x86)]))return new _0x50160a([]);const _0x136b91=_0x53c767(_0x26ebc4),_0x2c7a98=_0x53c767(_0x484374),_0x413a7e=[],_0xf4aaaf=[];let _0x38f66f=_0x8837c[_0x1a7dcf(0x9f)];for(;_0x38f66f&&_0x38f66f!==_0x26ebc4;){let _0x282b59;_0x136b91[_0x1a7dcf(0x8c)](_0x38f66f)||_0x413a7e[_0x1a7dcf(0x83)](_0x38f66f),_0x282b59=_0x170a44(_0x38f66f)?_0x1ba2c3[_0x1a7dcf(0x94)](_0x8837c,_0x38f66f,_0x1a7dcf(0x8d)):_0x1ba2c3[_0x1a7dcf(0x88)](_0x8837c,_0x38f66f),_0x38f66f=_0x282b59?_0x282b59[_0x1a7dcf(0x9a)]:null;}for(_0x38f66f=_0x8837c[_0x1a7dcf(0x86)];_0x38f66f&&_0x38f66f!==_0x484374;){let _0x41a5d0;_0x2c7a98[_0x1a7dcf(0x8c)](_0x38f66f)||_0xf4aaaf[_0x1a7dcf(0x83)](_0x38f66f),_0x41a5d0=_0x170a44(_0x38f66f)?_0x1ba2c3[_0x1a7dcf(0x94)](_0x8837c,_0x38f66f,_0x1a7dcf(0x82)):_0x1ba2c3[_0x1a7dcf(0x9b)](_0x8837c,_0x38f66f),_0x38f66f=_0x41a5d0?_0x41a5d0[_0x1a7dcf(0x97)]:null;}return _0x413a7e[_0x1a7dcf(0x96)](_0x457811=>{_0x3cd91b(_0x457811);}),_0xf4aaaf[_0x1a7dcf(0x81)]()[_0x1a7dcf(0x96)](_0x156336=>{_0x3cd91b(_0x156336);}),_0x8837c;}}
23
+ function _0x2a19(_0x4110bf,_0x5e32bf){const _0x29e553=_0x29e5();return _0x2a19=function(_0x2a19a9,_0x239541){_0x2a19a9=_0x2a19a9-0xd4;let _0x389e70=_0x29e553[_0x2a19a9];return _0x389e70;},_0x2a19(_0x4110bf,_0x5e32bf);}const _0x156794=_0x2a19;(function(_0x10a9d2,_0x4d61a7){const _0x960da5=_0x2a19,_0x3a310d=_0x10a9d2();while(!![]){try{const _0x4ebed8=parseInt(_0x960da5(0xe4))/0x1*(parseInt(_0x960da5(0xee))/0x2)+-parseInt(_0x960da5(0xea))/0x3+-parseInt(_0x960da5(0xf2))/0x4*(parseInt(_0x960da5(0xf3))/0x5)+parseInt(_0x960da5(0xdc))/0x6*(-parseInt(_0x960da5(0xda))/0x7)+-parseInt(_0x960da5(0xde))/0x8+-parseInt(_0x960da5(0xeb))/0x9*(-parseInt(_0x960da5(0xed))/0xa)+parseInt(_0x960da5(0xdf))/0xb;if(_0x4ebed8===_0x4d61a7)break;else _0x3a310d['push'](_0x3a310d['shift']());}catch(_0x4b2692){_0x3a310d['push'](_0x3a310d['shift']());}}}(_0x29e5,0x51c79));import{DocumentPosition as _0xf86088}from'./documentposition.js';function _0x29e5(){const _0x50f039=['createAfter','path','document','10cpxjXk','createFromPath','slice','parent','forEach','createBefore','1720659uBzoRd','2214936UkNLtT','includes','20WYcget','47542alytBa','push','firstChild','reverse','326812frAyLG','10SyJsub','nextNode','lastChild','start','data','getNudgedToWordBoundary','end','getContent','previousNode','140EtuQzB','length','64320akUYAy','createAt','2928160nZbdjj','10146730VZnIyK','isEqual'];_0x29e5=function(){return _0x50f039;};return _0x29e5();}import{clone as _0x5b0c7c,getParents as _0xb21bf9,Document as _0x21db1d,Text as _0x16e26b,isTag as _0x3108d1,isText as _0x56f140,replaceElement as _0x537249,removeElement as _0x1417ae}from'./htmlparser.js';export class DocumentRange{[_0x156794(0xd4)];[_0x156794(0xd7)];constructor(_0x5e8fce,_0xb970cf){const _0x375522=_0x156794;this[_0x375522(0xd4)]=_0x5e8fce,this[_0x375522(0xd7)]=_0xb970cf;}[_0x156794(0xe0)](_0x17620b){const _0x21ca8b=_0x156794;return this==_0x17620b||this[_0x21ca8b(0xd4)][_0x21ca8b(0xe0)](_0x17620b[_0x21ca8b(0xd4)])&&this[_0x21ca8b(0xd7)][_0x21ca8b(0xe0)](_0x17620b[_0x21ca8b(0xd7)]);}[_0x156794(0xd6)](){const _0x1a90e6=_0x156794;return new DocumentRange(this[_0x1a90e6(0xd4)][_0x1a90e6(0xd6)](_0x1a90e6(0xd4)),this[_0x1a90e6(0xd7)][_0x1a90e6(0xd6)](_0x1a90e6(0xd7)));}[_0x156794(0xd8)](){const _0x58341e=_0x156794,_0x270931=_0x5b0c7c(this[_0x58341e(0xd4)][_0x58341e(0xe3)]),_0x48b50a=_0xf86088[_0x58341e(0xe5)](_0x270931,this[_0x58341e(0xd4)][_0x58341e(0xe2)]),_0x27f2d6=_0xf86088[_0x58341e(0xe5)](_0x270931,this[_0x58341e(0xd7)][_0x58341e(0xe2)]);let _0x2f3e5e,_0x5b0335;if(_0x56f140(_0x48b50a[_0x58341e(0xe7)])){const _0x3088a8=_0x48b50a[_0x58341e(0xe2)][_0x48b50a[_0x58341e(0xe2)][_0x58341e(0xdb)]-0x1],_0x1ae0a5=new _0x16e26b(_0x48b50a[_0x58341e(0xe7)][_0x58341e(0xd5)][_0x58341e(0xe6)](_0x3088a8));_0x537249(_0x48b50a[_0x58341e(0xe7)],_0x1ae0a5),_0x2f3e5e=_0x1ae0a5;}else _0x2f3e5e=_0x48b50a[_0x58341e(0xf4)];if(_0x56f140(_0x27f2d6[_0x58341e(0xe7)])){const _0x7290bb=_0x27f2d6[_0x58341e(0xe2)][_0x27f2d6[_0x58341e(0xe2)][_0x58341e(0xdb)]-0x1],_0x5a15f3=new _0x16e26b(_0x27f2d6[_0x58341e(0xe7)][_0x58341e(0xd5)][_0x58341e(0xe6)](0x0,_0x7290bb));_0x537249(_0x27f2d6[_0x58341e(0xe7)],_0x5a15f3),_0x5b0335=_0x5a15f3;}else _0x5b0335=_0x27f2d6[_0x58341e(0xd9)];if(!(_0x2f3e5e&&_0x5b0335&&_0x270931[_0x58341e(0xf0)]&&_0x270931[_0x58341e(0xf5)]))return new _0x21db1d([]);const _0xca830e=_0xb21bf9(_0x2f3e5e),_0x46b52a=_0xb21bf9(_0x5b0335),_0x88c722=[],_0x2b0796=[];let _0x72abb1=_0x270931[_0x58341e(0xf0)];for(;_0x72abb1&&_0x72abb1!==_0x2f3e5e;){let _0x5118f5;_0xca830e[_0x58341e(0xec)](_0x72abb1)||_0x88c722[_0x58341e(0xef)](_0x72abb1),_0x5118f5=_0x3108d1(_0x72abb1)?_0xf86088[_0x58341e(0xdd)](_0x270931,_0x72abb1,_0x58341e(0xd4)):_0xf86088[_0x58341e(0xe1)](_0x270931,_0x72abb1),_0x72abb1=_0x5118f5?_0x5118f5[_0x58341e(0xf4)]:null;}for(_0x72abb1=_0x270931[_0x58341e(0xf5)];_0x72abb1&&_0x72abb1!==_0x5b0335;){let _0x582306;_0x46b52a[_0x58341e(0xec)](_0x72abb1)||_0x2b0796[_0x58341e(0xef)](_0x72abb1),_0x582306=_0x3108d1(_0x72abb1)?_0xf86088[_0x58341e(0xdd)](_0x270931,_0x72abb1,_0x58341e(0xd7)):_0xf86088[_0x58341e(0xe9)](_0x270931,_0x72abb1),_0x72abb1=_0x582306?_0x582306[_0x58341e(0xd9)]:null;}return _0x88c722[_0x58341e(0xe8)](_0x545fe=>{_0x1417ae(_0x545fe);}),_0x2b0796[_0x58341e(0xf1)]()[_0x58341e(0xe8)](_0x252eed=>{_0x1417ae(_0x252eed);}),_0x270931;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x54e32e,_0x3d57c6){var _0x1c01ab=_0x5189,_0x552ac2=_0x54e32e();while(!![]){try{var _0x192b59=-parseInt(_0x1c01ab(0xb4))/0x1*(-parseInt(_0x1c01ab(0xac))/0x2)+-parseInt(_0x1c01ab(0xab))/0x3+parseInt(_0x1c01ab(0xb8))/0x4+parseInt(_0x1c01ab(0xad))/0x5+-parseInt(_0x1c01ab(0xb3))/0x6+-parseInt(_0x1c01ab(0xae))/0x7*(-parseInt(_0x1c01ab(0xb0))/0x8)+parseInt(_0x1c01ab(0xb6))/0x9*(-parseInt(_0x1c01ab(0xb2))/0xa);if(_0x192b59===_0x3d57c6)break;else _0x552ac2['push'](_0x552ac2['shift']());}catch(_0x29a2c9){_0x552ac2['push'](_0x552ac2['shift']());}}}(_0x5a08,0x42c0a));function _0x5189(_0x5dd0d0,_0x487869){var _0x5a081d=_0x5a08();return _0x5189=function(_0x518941,_0x3277c7){_0x518941=_0x518941-0xaa;var _0x3c843f=_0x5a081d[_0x518941];return _0x3c843f;},_0x5189(_0x5dd0d0,_0x487869);}import{CKEditorError as _0x2575ee}from'ckeditor5/src/utils.js';import{Editor as _0x169fc0}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x2815e9){var _0x50eb8b=_0x5189;if(_0x2815e9 instanceof _0x169fc0)return _0x2815e9;if(_0x2815e9?.[_0x50eb8b(0xb5)]&&_0x2815e9[_0x50eb8b(0xb5)][_0x50eb8b(0xaa)](0x0))return _0x2815e9[_0x50eb8b(0xb5)][_0x50eb8b(0xb1)]>0x1&&console[_0x50eb8b(0xb9)](_0x50eb8b(0xb7)),_0x2815e9[_0x50eb8b(0xb5)][_0x50eb8b(0xaa)](0x0);throw new _0x2575ee(_0x50eb8b(0xaf));}function _0x5a08(){var _0x2cfe68=['1464024gZGJxs','warn','get','1107000MrIBqJ','2dAovjK','828325JJSGIZ','3633rByUpz','ai-get-editor-from-context-no-editor','5616rWUhrg','length','9420nbEDoA','1185684tNkRqQ','225681RnnZqb','editors','2691xvnSiM','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.'];_0x5a08=function(){return _0x2cfe68;};return _0x5a08();}
23
+ function _0x9720(_0x1a03a6,_0x55cde8){var _0x123015=_0x1230();return _0x9720=function(_0x9720a9,_0xb55e24){_0x9720a9=_0x9720a9-0x6a;var _0xad540c=_0x123015[_0x9720a9];return _0xad540c;},_0x9720(_0x1a03a6,_0x55cde8);}(function(_0x15c350,_0x49c88c){var _0x3ca8ef=_0x9720,_0xc47855=_0x15c350();while(!![]){try{var _0x1fa517=-parseInt(_0x3ca8ef(0x76))/0x1+parseInt(_0x3ca8ef(0x6f))/0x2+-parseInt(_0x3ca8ef(0x77))/0x3+parseInt(_0x3ca8ef(0x6e))/0x4+parseInt(_0x3ca8ef(0x6a))/0x5+parseInt(_0x3ca8ef(0x6d))/0x6*(parseInt(_0x3ca8ef(0x75))/0x7)+parseInt(_0x3ca8ef(0x74))/0x8;if(_0x1fa517===_0x49c88c)break;else _0xc47855['push'](_0xc47855['shift']());}catch(_0x3d7f3d){_0xc47855['push'](_0xc47855['shift']());}}}(_0x1230,0xdfa0a));import{CKEditorError as _0x354dff}from'ckeditor5/src/utils.js';import{Editor as _0x325d43}from'ckeditor5/src/core.js';function _0x1230(){var _0x4fc361=['3618676hBdhLr','1557550qvPorz','length','ai-get-editor-from-context-no-editor','editors','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','6305592HTAhHx','2443dupIEJ','1428015uHaaIl','5493144FFaQvB','8026645MPdkZr','warn','get','1686OUZqwB'];_0x1230=function(){return _0x4fc361;};return _0x1230();}export function getEditorFromContext(_0x5a9654){var _0x480c09=_0x9720;if(_0x5a9654 instanceof _0x325d43)return _0x5a9654;if(_0x5a9654?.[_0x480c09(0x72)]&&_0x5a9654[_0x480c09(0x72)][_0x480c09(0x6c)](0x0))return _0x5a9654[_0x480c09(0x72)][_0x480c09(0x70)]>0x1&&console[_0x480c09(0x6b)](_0x480c09(0x73)),_0x5a9654[_0x480c09(0x72)][_0x480c09(0x6c)](0x0);throw new _0x354dff(_0x480c09(0x71));}