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

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 (128) 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/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  87. package/src/aicore/utils/createresizebutton.js +1 -1
  88. package/src/aicore/utils/documentrange.js +1 -1
  89. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  90. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  91. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  92. package/src/aicore/utils/htmlparser.js +1 -1
  93. package/src/aicore/utils/htmlstreamer.js +1 -1
  94. package/src/aieditorintegration/aieditorintegration.js +1 -1
  95. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  97. package/src/aiquickactions/aiquickactions.js +1 -1
  98. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  99. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  100. package/src/aiquickactions/aiquickactionsui.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  104. package/src/aireviewmode/aireviewmode.js +1 -1
  105. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  106. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  107. package/src/aireviewmode/aireviewmodeui.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  109. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  112. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  113. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  123. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  124. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  125. package/src/aitabs/aitabs.js +1 -1
  126. package/src/aitabs/tabs/aitabsview.js +1 -1
  127. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  128. 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 _0x262abc=_0x5c6e;(function(_0x3c2ed9,_0x250aa3){const _0x5dab15=_0x5c6e,_0x11b5ff=_0x3c2ed9();while(!![]){try{const _0x223e8a=-parseInt(_0x5dab15(0xae))/0x1+-parseInt(_0x5dab15(0xcc))/0x2*(-parseInt(_0x5dab15(0xc9))/0x3)+-parseInt(_0x5dab15(0xdc))/0x4*(-parseInt(_0x5dab15(0xcb))/0x5)+parseInt(_0x5dab15(0xa7))/0x6+-parseInt(_0x5dab15(0xc2))/0x7*(-parseInt(_0x5dab15(0xe1))/0x8)+-parseInt(_0x5dab15(0xaf))/0x9+-parseInt(_0x5dab15(0xd0))/0xa;if(_0x223e8a===_0x250aa3)break;else _0x11b5ff['push'](_0x11b5ff['shift']());}catch(_0x88c145){_0x11b5ff['push'](_0x11b5ff['shift']());}}}(_0x5d08,0x6373d));import{ObservableMixin as _0x1955a3,uid as _0xa30893}from'ckeditor5/src/utils.js';function _0x5c6e(_0x2d4b11,_0xdfdf10){const _0x5d08dc=_0x5d08();return _0x5c6e=function(_0x5c6e53,_0x3329bb){_0x5c6e53=_0x5c6e53-0x9e;let _0x4f64fc=_0x5d08dc[_0x5c6e53];return _0x4f64fc;},_0x5c6e(_0x2d4b11,_0xdfdf10);}import{findAllByAttribute as _0x1906b6,findByAttribute as _0x5ccbdd,getAttribute as _0x3f505f,isComment as _0x3db73d,isTag as _0x247db1,insertElement as _0xf4a3ad,moveElement as _0x6474ba,removeElement as _0x29c261,replaceElement as _0xca1331,serialize as _0x2a7954,setAttribute as _0x2a5abd,clone as _0xbdbbd4,findAllComments as _0x1d9ad5,getParents as _0x1bd125,getNodeNestingLevel as _0x245bd4,areNodesSame as _0x565fa1,removeElementsAfter as _0x151c6c}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x1955a3(){[_0x262abc(0xda)];[_0x262abc(0xd2)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x262abc(0xad)]=new Set();constructor(_0x24dc52){const _0x3d8a52=_0x262abc;super(),this[_0x3d8a52(0xda)]=_0x24dc52||_0xa30893;}[_0x262abc(0xb1)](_0x196865,_0x340f83,_0x47ef2c){const _0x98ff92=_0x262abc,_0x20ff87=_0xbdbbd4(_0x196865);if(0x0===_0x340f83[_0x98ff92(0xbe)][_0x98ff92(0xa0)]){const _0x2bafc2=[];return _0x1906b6(_0x98ff92(0xd9),_0x98ff92(0xd3),_0x20ff87)[_0x98ff92(0xe0)](_0x1ccb66=>{const _0x30a135=_0x98ff92,_0x33ddb7=this[_0x30a135(0xda)]();_0x2a5abd(_0x1ccb66,_0x30a135(0xd9),_0x33ddb7),_0x2bafc2[_0x30a135(0xdd)](_0x33ddb7);}),this[_0x98ff92(0xc6)](_0x20ff87),{'parsedContent':_0x20ff87,'newNodeIds':_0x2bafc2,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x47ef2c&&_0x47ef2c[_0x98ff92(0xd7)]&&this[_0x98ff92(0xdb)](_0x20ff87),this[_0x98ff92(0xd2)][_0x98ff92(0xc0)]=[],this[_0x98ff92(0xd2)][_0x98ff92(0xd6)]=[],this[_0x98ff92(0xd2)][_0x98ff92(0xd5)]=[],this[_0x98ff92(0xd2)][_0x98ff92(0xb9)]=[],this[_0x98ff92(0xd2)][_0x98ff92(0xe3)]=null,this[_0x98ff92(0xad)]=new Set(_0x1906b6(_0x98ff92(0xd9),null,_0x340f83)[_0x98ff92(0xde)](_0xda865=>_0x3f505f(_0xda865,_0x98ff92(0xd9)))[_0x98ff92(0xbf)](_0xaa4846=>!!_0xaa4846));let _0x50c542=-0x1,_0x5643da=!0x1;const _0x47a03b=_0x20ff87[_0x98ff92(0xbe)],_0x3eb6af=Array[_0x98ff92(0xd4)](_0x47a03b)[_0x98ff92(0xbf)](_0x1a3989=>!(0x3===_0x1a3989[_0x98ff92(0xa9)]&&''===_0x2a7954(_0x1a3989)[_0x98ff92(0xb2)]())),_0x30e147=_0x3eb6af[_0x98ff92(0xa0)];for(let _0x4ad63a=0x0;_0x4ad63a<_0x30e147;_0x4ad63a++){const _0x52e33c=_0x3eb6af[_0x4ad63a],_0x3f40f6=_0x3eb6af[_0x4ad63a+0x1];if(this[_0x98ff92(0xd8)](_0x52e33c)){if(-0x1===_0x50c542&&(_0x50c542=_0x4ad63a),this[_0x98ff92(0xb8)](_0x52e33c),!this[_0x98ff92(0xd8)](_0x3f40f6)){const [_0x51f960,_0xd31b30]=this[_0x98ff92(0xd1)](_0x52e33c,_0x5643da,_0x340f83);if(_0x51f960){const _0xabec49=Array[_0x98ff92(0xd4)](_0x3eb6af)[_0x98ff92(0xc1)](_0x50c542,_0x4ad63a+0x1);this[_0x98ff92(0xb0)](_0x51f960,_0xabec49,_0xd31b30),_0x50c542=-0x1;}}}else{if(this[_0x98ff92(0xa3)](_0x52e33c))_0x5643da=!0x0;else{if(this[_0x98ff92(0xb3)](_0x52e33c)){const _0x256960=_0x3f505f(_0x52e33c,_0x98ff92(0xd9));if(_0x256960&&this[_0x98ff92(0xad)][_0x98ff92(0xbc)](_0x256960)){const _0xcbabcb=_0x5ccbdd(_0x98ff92(0xd9),_0x256960,_0x340f83);this[_0x98ff92(0xa5)](_0xcbabcb,_0x52e33c);}if(this[_0x98ff92(0xd2)][_0x98ff92(0xd5)][_0x98ff92(0xcf)](_0x256960)){const _0x4331a6=this[_0x98ff92(0xd2)][_0x98ff92(0xd5)][_0x98ff92(0xca)](_0x256960);this[_0x98ff92(0xd2)][_0x98ff92(0xd5)][_0x98ff92(0xdf)](_0x4331a6,0x1);}}else{if(this[_0x98ff92(0xc5)](_0x52e33c)){const _0x580556=_0x3f505f(_0x52e33c,_0x98ff92(0xd9));this[_0x98ff92(0xd2)][_0x98ff92(0xd6)][_0x98ff92(0xcf)](_0x580556)||this[_0x98ff92(0xb7)](_0x52e33c);}}}}}for(const _0x1f7616 of this[_0x98ff92(0xd2)][_0x98ff92(0xd5)]){const _0x47bef8=_0x5ccbdd(_0x98ff92(0xd9),_0x1f7616,_0x340f83);if(_0x47bef8){if(_0x47ef2c&&_0x47ef2c[_0x98ff92(0xa1)]){this[_0x98ff92(0xd2)][_0x98ff92(0xe3)]=_0x1f7616;const _0x4b1346=_0x47ef2c[_0x98ff92(0xa1)][_0x98ff92(0xa8)](!0x0);_0x2a5abd(_0x4b1346,_0x98ff92(0xd9),_0x1f7616),_0x2a5abd(_0x4b1346,_0x98ff92(0xb5),_0x98ff92(0xa4)),_0xca1331(_0x47bef8,_0x4b1346);}else _0x29c261(_0x47bef8);}}if(_0x1906b6(_0x98ff92(0x9f),null,_0x340f83)[_0x98ff92(0xe0)](_0x20b071=>{const _0x39442d=_0x98ff92,_0x5e3f04=_0x3f505f(_0x20b071,_0x39442d(0x9f)),_0xdef964=_0x5ccbdd(_0x39442d(0xd9),_0x5e3f04,_0x340f83);_0xdef964&&_0x6474ba(_0xdef964,_0x20b071);}),_0x1906b6(_0x98ff92(0xd9),_0x98ff92(0xd3),_0x340f83)[_0x98ff92(0xe0)](_0x241cb5=>{const _0x3abc3a=_0x98ff92,_0x375d6a=this[_0x3abc3a(0xc4)](_0x241cb5);_0x2a5abd(_0x241cb5,_0x3abc3a(0xd9),_0x375d6a),this[_0x3abc3a(0xd2)][_0x3abc3a(0xc0)][_0x3abc3a(0xdd)](_0x375d6a);}),this[_0x98ff92(0xc6)](_0x340f83),_0x47ef2c&&_0x47ef2c[_0x98ff92(0xd7)]&&this[_0x98ff92(0xaa)](_0x340f83,_0x47ef2c[_0x98ff92(0xc8)]||0x0),_0x47ef2c&&_0x47ef2c[_0x98ff92(0xb4)]&&this[_0x98ff92(0xd2)][_0x98ff92(0xe3)]){let _0x9f3f4b=_0x5ccbdd(_0x98ff92(0xd9),this[_0x98ff92(0xd2)][_0x98ff92(0xe3)],_0x340f83);for(;_0x9f3f4b;)_0x151c6c(_0x9f3f4b),_0x9f3f4b=_0x9f3f4b[_0x98ff92(0xc3)];}return{'parsedContent':_0x340f83,'newNodeIds':this[_0x98ff92(0xd2)][_0x98ff92(0xc0)],'modifiedNodeIds':this[_0x98ff92(0xd2)][_0x98ff92(0xd6)],'removedNodeIds':this[_0x98ff92(0xd2)][_0x98ff92(0xd5)]};}[_0x262abc(0xb0)](_0x172822,_0x106a73,_0x3d46f0){const _0x91eb9c=_0x262abc;for(const _0x28ee9f of _0x106a73){const _0x2caa29=this[_0x91eb9c(0xc4)](_0x28ee9f);_0x2a5abd(_0x28ee9f,_0x91eb9c(0xd9),_0x2caa29),this[_0x91eb9c(0xd2)][_0x91eb9c(0xc0)][_0x91eb9c(0xdd)](_0x2caa29),this[_0x91eb9c(0xd2)][_0x91eb9c(0xe3)]=_0x2caa29;}const _0x423067=_0x91eb9c(0xab)===_0x3d46f0||_0x91eb9c(0xbd)===_0x3d46f0?_0x106a73[_0x91eb9c(0xba)]():_0x106a73;for(const _0x1dd0f3 of _0x423067)_0xf4a3ad(_0x172822,_0x1dd0f3,_0x3d46f0);}[_0x262abc(0xa5)](_0x4e41be,_0x511836){const _0x2a587d=_0x262abc;if(!_0x4e41be)return;if(_0x565fa1(_0x4e41be,_0x511836))return;const _0x25bd54=this[_0x2a587d(0xc4)](_0x4e41be);_0x2a5abd(_0x511836,_0x2a587d(0xd9),_0x25bd54),this[_0x2a587d(0xd2)][_0x2a587d(0xd6)][_0x2a587d(0xdd)](_0x25bd54),this[_0x2a587d(0xd2)][_0x2a587d(0xe3)]=_0x25bd54,_0xca1331(_0x4e41be,_0x511836[_0x2a587d(0xa8)](!0x0));}[_0x262abc(0xd1)](_0x5475e2,_0x29e711,_0xe42614){const _0x72909e=_0x262abc,_0x1aa6f2=this[_0x72909e(0xce)](_0x5475e2,!0x1);if(_0x1aa6f2){const _0x44dc9f=this[_0x72909e(0xe4)](_0x1aa6f2),_0x4451a7=_0x5ccbdd(_0x72909e(0xd9),_0x44dc9f,_0xe42614);if(_0x4451a7)return[_0x4451a7,_0x72909e(0xbd)];this[_0x72909e(0xd2)][_0x72909e(0xb9)][_0x72909e(0xdd)](_0x44dc9f);}const _0x171042=this[_0x72909e(0xc7)](_0x5475e2,!0x1);if(_0x171042){const _0x57e974=this[_0x72909e(0xe4)](_0x171042),_0x25c97c=_0x5ccbdd(_0x72909e(0xd9),_0x57e974,_0xe42614);if(_0x25c97c)return[_0x25c97c,_0x72909e(0xcd)];this[_0x72909e(0xd2)][_0x72909e(0xb9)][_0x72909e(0xdd)](_0x57e974);}return _0x29e711?_0x5475e2[_0x72909e(0xa2)]?this[_0x72909e(0xe2)](_0x5475e2,_0xe42614):[_0xe42614[_0x72909e(0xbe)][_0xe42614[_0x72909e(0xbe)][_0x72909e(0xa0)]-0x1],_0x72909e(0xbd)]:[_0xe42614[_0x72909e(0xbe)][0x0],_0x72909e(0xcd)];}[_0x262abc(0xe2)](_0xdaebcc,_0xab3679){const _0x4fa37a=_0x262abc,_0x5882d5=[],_0x5789eb=this[_0x4fa37a(0xce)](_0xdaebcc,!0x0);if(_0x5789eb){const _0x383dc3=this[_0x4fa37a(0xe4)](_0x5789eb),_0x37fa2b=_0x5ccbdd(_0x4fa37a(0xd9),_0x383dc3,_0xab3679);_0x37fa2b&&_0x5882d5[_0x4fa37a(0xdd)]([_0x37fa2b,_0x4fa37a(0xbd)]);}const _0x2ff32=this[_0x4fa37a(0xc7)](_0xdaebcc,!0x0);if(_0x2ff32){const _0x2a00c2=this[_0x4fa37a(0xe4)](_0x2ff32),_0x58107a=_0x5ccbdd(_0x4fa37a(0xd9),_0x2a00c2,_0xab3679);_0x58107a&&_0x5882d5[_0x4fa37a(0xdd)]([_0x58107a,_0x4fa37a(0xcd)]);}if(_0x5882d5[_0x4fa37a(0xa0)]>0x1)return _0x245bd4(_0x5882d5[0x0][0x0])<=_0x245bd4(_0x5882d5[0x1][0x0])?_0x5882d5[0x0]:_0x5882d5[0x1];return 0x1===_0x5882d5[_0x4fa37a(0xa0)]?_0x5882d5[0x0]:[_0xab3679[_0x4fa37a(0xa6)],_0x4fa37a(0xbd)];}[_0x262abc(0xc7)](_0x32dfe4,_0x4e1721){const _0xf1adad=_0x262abc;let _0x4464ba=_0x32dfe4[_0xf1adad(0xa2)],_0x569da3=null,_0x36af3d=!0x1;for(;_0x4464ba;){if(_0x3db73d(_0x4464ba)){if(this[_0xf1adad(0xc5)](_0x4464ba)&&(_0x569da3=_0x4464ba),this[_0xf1adad(0xa3)](_0x4464ba)&&_0x4e1721&&!_0x36af3d){_0x36af3d=!0x0,_0x4464ba=_0x4464ba[_0xf1adad(0xa2)];continue;}break;}const _0x31dd4f=_0x3f505f(_0x4464ba,_0xf1adad(0xd9));if(_0x31dd4f&&_0xf1adad(0xd3)!==_0x31dd4f&&this[_0xf1adad(0xad)][_0xf1adad(0xbc)](_0x31dd4f)){_0x569da3=_0x4464ba;break;}_0x4464ba=_0x4464ba[_0xf1adad(0xa2)];}return _0x569da3;}[_0x262abc(0xce)](_0x2a7153,_0x2be60c){const _0x516b06=_0x262abc;let _0x3608cb=_0x2a7153[_0x516b06(0x9e)],_0x258e7a=null,_0x27bd52=!0x1;for(;_0x3608cb;){if(_0x3db73d(_0x3608cb)){if(this[_0x516b06(0xc5)](_0x3608cb)&&(_0x258e7a=_0x3608cb),this[_0x516b06(0xa3)](_0x3608cb)&&_0x2be60c&&!_0x27bd52){_0x27bd52=!0x0,_0x3608cb=_0x3608cb[_0x516b06(0x9e)];continue;}break;}const _0x477eec=_0x3f505f(_0x3608cb,_0x516b06(0xd9));if(_0x477eec&&_0x516b06(0xd3)!==_0x477eec&&this[_0x516b06(0xad)][_0x516b06(0xbc)](_0x477eec)){_0x258e7a=_0x3608cb;break;}_0x3608cb=_0x3608cb[_0x516b06(0x9e)];}return _0x258e7a;}[_0x262abc(0xb8)](_0x44f589){const _0x1e1e56=_0x262abc;_0x247db1(_0x44f589)&&_0x1906b6(_0x1e1e56(0xd9),null,_0x44f589)[_0x1e1e56(0xe0)](_0x330100=>{const _0x4fb672=_0x1e1e56;if(this[_0x4fb672(0xb3)](_0x330100)&&!this[_0x4fb672(0xbb)](_0x330100)){const _0x2183db=_0x3f505f(_0x330100,_0x4fb672(0xd9));_0x2a5abd(_0x330100,_0x4fb672(0x9f),_0x2183db),_0x2a5abd(_0x330100,_0x4fb672(0xd9),null);}});}[_0x262abc(0xe4)](_0x59ba5f){const _0x3255fd=_0x262abc;if(!_0x59ba5f)return null;if(_0x247db1(_0x59ba5f))return _0x3f505f(_0x59ba5f,_0x3255fd(0xd9));if(_0x3db73d(_0x59ba5f)){const _0x520674=_0x2a7954(_0x59ba5f)[_0x3255fd(0xac)](/removed[\s*-]data-id="([^"]+)"/);if(_0x520674&&_0x520674[0x1])return _0x520674[0x1];}return null;}[_0x262abc(0xb7)](_0x3d2db6){const _0x58be38=_0x262abc;if(_0x3db73d(_0x3d2db6)){const _0x3bcb8c=_0x2a7954(_0x3d2db6)[_0x58be38(0xac)](/removed[\s*-]data-id="([^"]+)"/);_0x3bcb8c&&_0x3bcb8c[0x1]&&this[_0x58be38(0xd2)][_0x58be38(0xd5)][_0x58be38(0xdd)](_0x3bcb8c[0x1]);}}[_0x262abc(0xc4)](_0x33ba2c){const _0x535566=_0x262abc;return this[_0x535566(0xb3)](_0x33ba2c)?_0x3f505f(_0x33ba2c,_0x535566(0xd9)):this[_0x535566(0xda)]();}[_0x262abc(0xc6)](_0x4cc71b){const _0xd22c9f=_0x262abc;_0x1d9ad5(_0x4cc71b)[_0xd22c9f(0xbf)](_0x385baa=>this[_0xd22c9f(0xc5)](_0x385baa)||this[_0xd22c9f(0xa3)](_0x385baa))[_0xd22c9f(0xe0)](_0x19b6f8=>{_0x29c261(_0x19b6f8);});}[_0x262abc(0xdb)](_0x2be0a8){const _0xcc6aa4=_0x262abc,_0x3caed0=_0x2be0a8[_0xcc6aa4(0xbe)],_0x180e29=_0x3caed0[_0x3caed0[_0xcc6aa4(0xa0)]-0x1];_0x180e29&&_0x247db1(_0x180e29)&&_0x2a5abd(_0x180e29,_0xcc6aa4(0xb6),_0xcc6aa4(0xa4));}[_0x262abc(0xaa)](_0x50b5f5,_0x265442){const _0x3c61db=_0x262abc,_0x40e4a8=_0x5ccbdd(_0x3c61db(0xb6),_0x3c61db(0xa4),_0x50b5f5);if(!_0x40e4a8)return;const _0x2cb80f=_0x1bd125(_0x40e4a8)[_0x3c61db(0xc1)](0x0,-0x1),_0x151326=_0x2cb80f[_0x3c61db(0xa0)];let _0x12e79b=_0x40e4a8;if(_0x151326>_0x265442){let _0x2d392f=_0x151326,_0x37c8c6=null;for(;_0x2d392f>_0x265442&&_0x2d392f>=0x0;)_0x2d392f--,_0x37c8c6=_0x2cb80f[_0x2d392f];_0x37c8c6&&(_0x12e79b=_0x37c8c6,_0x2a5abd(_0x40e4a8,_0x3c61db(0xb6),null),_0x2a5abd(_0x37c8c6,_0x3c61db(0xb6),_0x3c61db(0xa4)));}else{if(_0x151326<_0x265442){let _0x5de177=_0x151326,_0x348d31=_0x40e4a8;for(;_0x5de177<_0x265442;){const _0x5b9903=_0x348d31[_0x3c61db(0xbe)][_0x3c61db(0xbf)](_0x665eeb=>_0x247db1(_0x665eeb));if(0x0===_0x5b9903[_0x3c61db(0xa0)])break;_0x5de177++,_0x348d31=_0x5b9903[_0x5b9903[_0x3c61db(0xa0)]-0x1];}_0x348d31&&(_0x12e79b=_0x348d31,_0x2a5abd(_0x40e4a8,_0x3c61db(0xb6),null),_0x2a5abd(_0x348d31,_0x3c61db(0xb6),_0x3c61db(0xa4)));}}let _0x3baef1=_0x12e79b;for(;_0x3baef1;){for(;_0x3baef1[_0x3c61db(0xa2)];)_0x3baef1=_0x3baef1[_0x3c61db(0xa2)],_0x247db1(_0x3baef1)&&_0x2a5abd(_0x3baef1,_0x3c61db(0xb6),_0x3c61db(0xa4));_0x3baef1=_0x3baef1[_0x3c61db(0xc3)];}}[_0x262abc(0xd8)](_0x2a5856){const _0x3a0c63=_0x262abc;return Boolean(_0x3a0c63(0xd3)===_0x3f505f(_0x2a5856,_0x3a0c63(0xd9)));}[_0x262abc(0xb3)](_0x1f9e46){const _0x3fcd4f=_0x262abc;return Boolean((_0x3f505f(_0x1f9e46,_0x3fcd4f(0xd9))||'')[_0x3fcd4f(0xa0)]>0x0&&_0x3fcd4f(0xd3)!==_0x3f505f(_0x1f9e46,_0x3fcd4f(0xd9)));}[_0x262abc(0xc5)](_0x526398){const _0x58c320=_0x262abc;return!!_0x526398&&Boolean(_0x3db73d(_0x526398)&&_0x2a7954(_0x526398)[_0x58c320(0xac)](/removed[\s*-]data-id="[^"]+"/));}[_0x262abc(0xbb)](_0x1a4bb3){const _0x40da8b=_0x262abc;let _0xdfb20c=_0x1a4bb3[_0x40da8b(0xc3)];for(;_0xdfb20c;){if(_0x3f505f(_0xdfb20c,_0x40da8b(0x9f)))return!0x0;_0xdfb20c=_0xdfb20c[_0x40da8b(0xc3)];}return!0x1;}[_0x262abc(0xa3)](_0x6b2193){const _0x52aeea=_0x262abc;return Boolean(_0x3db73d(_0x6b2193)&&_0x2a7954(_0x6b2193)[_0x52aeea(0xac)](/\s*existing[\s*-](content|document)\s*/g));}}function _0x5d08(){const _0x5205b8=['data-unstable','_storeDeletedElementIds','_markWrappedElements','invalidIds','reverse','_hasWrappedParent','has','afterend','childNodes','filter','newIds','slice','14iWhAAo','parentNode','_getUid','_isDelNode','_removeSpecialComments','_findNextElementWithDataId','markUnstableElementsDepth','738141hkzIZU','indexOf','47720NJVMFi','2KQxpcl','beforebegin','_findPrevElementWithDataId','includes','3972240MuvGoe','_findReferenceNode','_touchedNodesState','new-element','from','removedIds','modifiedIds','markUnstableElements','_isNewNode','data-id','_generateUid','_markLastTagElementUnstable','236uBMNix','push','map','splice','forEach','2073752KmoeHl','_findFallbackReferenceNode','lastTouchedId','_getNodeDataId','previousSibling','data-wrapped-id','length','replaceRemovedWith','nextSibling','_isExistingContentComment','true','_replaceNode','lastChild','269040TFoXrR','cloneNode','nodeType','_markUnstableElements','afterbegin','match','_existingDataIds','294129HKSSZF','2463399wkAEPP','_insertNodes','merge','trim','_isExistingNode','cutAfterLastChange','data-removed'];_0x5d08=function(){return _0x5205b8;};return _0x5d08();}
@@ -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 _0x1a7ae8=_0x4cd7;(function(_0x11536a,_0x4ac387){const _0x16f786=_0x4cd7,_0x507dac=_0x11536a();while(!![]){try{const _0x49de54=-parseInt(_0x16f786(0x1e1))/0x1+-parseInt(_0x16f786(0x1e3))/0x2*(parseInt(_0x16f786(0x1d7))/0x3)+-parseInt(_0x16f786(0x1e0))/0x4+parseInt(_0x16f786(0x1de))/0x5+-parseInt(_0x16f786(0x1d8))/0x6+parseInt(_0x16f786(0x1d6))/0x7*(-parseInt(_0x16f786(0x1e2))/0x8)+parseInt(_0x16f786(0x1e5))/0x9;if(_0x49de54===_0x4ac387)break;else _0x507dac['push'](_0x507dac['shift']());}catch(_0x10a87a){_0x507dac['push'](_0x507dac['shift']());}}}(_0x43ea,0x8c3d0));import{ObservableMixin as _0x285b72}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x5696a4}from'@ckeditor/ckeditor5-markdown-gfm';function _0x43ea(){const _0x2ebe47=['convertMarkdownToHTML','2621092LlXoqz','106895yLoREE','2114968vXXUrR','95066nvvCfe','_m2html','29163303nPYBcy','</dummy>','replace','28yNUoLk','3SNQodp','6052272EnxfRE','_parseHTML','parse','<dummy>','children','parseAndNormalizeHTML','1049730atLQOe'];_0x43ea=function(){return _0x2ebe47;};return _0x43ea();}function _0x4cd7(_0x52b577,_0x11c1ce){const _0x43ea09=_0x43ea();return _0x4cd7=function(_0x4cd719,_0x5cefb1){_0x4cd719=_0x4cd719-0x1d5;let _0x540a9f=_0x43ea09[_0x4cd719];return _0x540a9f;},_0x4cd7(_0x52b577,_0x11c1ce);}import{parse as _0x5e10d0}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x285b72(){[_0x1a7ae8(0x1e4)];constructor(){const _0x5af6ce=_0x1a7ae8;super(),this[_0x5af6ce(0x1e4)]=new _0x5696a4();}[_0x1a7ae8(0x1df)](_0xa7612a){const _0x55312e=_0x1a7ae8,_0x903777=this[_0x55312e(0x1e4)][_0x55312e(0x1da)](_0xa7612a);return this[_0x55312e(0x1dd)](_0x903777);}[_0x1a7ae8(0x1dd)](_0x23538f){const _0x2e01e5=_0x1a7ae8;return this[_0x2e01e5(0x1d9)](_0x23538f);}[_0x1a7ae8(0x1d9)](_0xb71ea3){const _0x15af3b=_0x1a7ae8,_0xb21fed=_0xb71ea3[_0x15af3b(0x1d5)](/^\t+/gm,'\x20')[_0x15af3b(0x1d5)](/\n*/g,'')[_0x15af3b(0x1d5)](/\s+/g,'\x20')[_0x15af3b(0x1d5)](/<[^>]*?$/g,''),_0x5b82e6=_0x5e10d0(_0x15af3b(0x1db)+_0xb21fed+_0x15af3b(0x1e6));return _0x5b82e6[_0x15af3b(0x1dc)]=_0x5b82e6[_0x15af3b(0x1dc)][0x0][_0x15af3b(0x1dc)],_0x5b82e6;}}
@@ -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 _0x2d89(){var _0x3ffc0e=['AI_DISCLAIMER_TEXT','5123250AUbFiX','ck-ai-disclaimer__content','1hCKGKG','2465320SDUArK','2114fMgirB','ck-ai-disclaimer','2489920JUmiqP','19016BxsHkt','891312nzUdKB','219lVTQvz','1409862QnMdqE','9252XOBqAe','div','setTemplate'];_0x2d89=function(){return _0x3ffc0e;};return _0x2d89();}function _0x40fd(_0x38a3d1,_0x57b187){var _0x2d8996=_0x2d89();return _0x40fd=function(_0x40fd6c,_0x2d053b){_0x40fd6c=_0x40fd6c-0xdd;var _0x1f7935=_0x2d8996[_0x40fd6c];return _0x1f7935;},_0x40fd(_0x38a3d1,_0x57b187);}(function(_0x4def67,_0x599479){var _0x47d193=_0x40fd,_0xdf0f2e=_0x4def67();while(!![]){try{var _0x23b53c=-parseInt(_0x47d193(0xe0))/0x1*(-parseInt(_0x47d193(0xe8))/0x2)+-parseInt(_0x47d193(0xe7))/0x3*(parseInt(_0x47d193(0xe9))/0x4)+parseInt(_0x47d193(0xe1))/0x5+-parseInt(_0x47d193(0xe6))/0x6+parseInt(_0x47d193(0xe2))/0x7*(-parseInt(_0x47d193(0xe5))/0x8)+parseInt(_0x47d193(0xde))/0x9+-parseInt(_0x47d193(0xe4))/0xa;if(_0x23b53c===_0x599479)break;else _0xdf0f2e['push'](_0xdf0f2e['shift']());}catch(_0x36117c){_0xdf0f2e['push'](_0xdf0f2e['shift']());}}}(_0x2d89,0x75eb6));import{View as _0x48f527}from'ckeditor5/src/ui.js';import{getTranslation as _0x2add31}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x48f527{constructor(_0x4ceb6e){var _0x17f505=_0x40fd;super(_0x4ceb6e),this[_0x17f505(0xeb)]({'tag':_0x17f505(0xea),'attributes':{'class':['ck',_0x17f505(0xe3)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x17f505(0xdf)]},'children':[{'text':_0x2add31(_0x4ceb6e,_0x17f505(0xdd))}]}]});}}
@@ -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 _0x1ee43e=_0x243e;(function(_0x759096,_0x424e8d){const _0x358bbd=_0x243e,_0x36c626=_0x759096();while(!![]){try{const _0xdef7b8=-parseInt(_0x358bbd(0x1a9))/0x1*(parseInt(_0x358bbd(0x1aa))/0x2)+-parseInt(_0x358bbd(0x1ae))/0x3*(-parseInt(_0x358bbd(0x1a8))/0x4)+parseInt(_0x358bbd(0x1bb))/0x5+-parseInt(_0x358bbd(0x19a))/0x6+parseInt(_0x358bbd(0x1ad))/0x7*(parseInt(_0x358bbd(0x19e))/0x8)+-parseInt(_0x358bbd(0x1c1))/0x9*(-parseInt(_0x358bbd(0x1b6))/0xa)+-parseInt(_0x358bbd(0x1a6))/0xb;if(_0xdef7b8===_0x424e8d)break;else _0x36c626['push'](_0x36c626['shift']());}catch(_0x50ff58){_0x36c626['push'](_0x36c626['shift']());}}}(_0x19c1,0x81284));function _0x243e(_0xcc3cc8,_0x6d65b3){const _0x19c17c=_0x19c1();return _0x243e=function(_0x243e79,_0x4d4944){_0x243e79=_0x243e79-0x199;let _0x5ca293=_0x19c17c[_0x243e79];return _0x5ca293;},_0x243e(_0xcc3cc8,_0x6d65b3);}import{View as _0x2e51f7}from'ckeditor5/src/ui.js';function _0x19c1(){const _0x1845e5=['72px','map','128px','8PgQLux','align','140px','fill','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','setTemplate','height','right','818037xgtTur','center','60HobRLe','803239txSqgA','2Dvzozx','class','250px','139636fawxxh','136167MyorrG','width:\x20','88px','40px','div','ck-ai-skeleton__item','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','width','100yaMezU','150px','44px','ck-ai-skeleton','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','2552450XSEJyN','100%','_createSkeletonItems',';\x20height:\x20','attributes','left','417654LXSHnv','24px','tag','1612194pvArHl'];_0x19c1=function(){return _0x1845e5;};return _0x19c1();}export class AISkeletonView extends _0x2e51f7{constructor(_0x2a76e3,_0x2a506c){const _0x3cf9aa=_0x243e;super(_0x2a76e3),this[_0x3cf9aa(0x1a3)]({'tag':_0x3cf9aa(0x1b2),'attributes':{'class':['ck',_0x3cf9aa(0x1b9)]},'children':this[_0x3cf9aa(0x1bd)](_0x2a506c)});}[_0x1ee43e(0x1bd)](_0x10aec3){const _0x4cd6c0=_0x1ee43e,_0x56fae3=['ck',_0x4cd6c0(0x1b3)];return _0x10aec3[_0x4cd6c0(0x19c)](_0x5d7119=>{const _0x343673=_0x4cd6c0;let _0xd98861='';switch(_0x5d7119[_0x343673(0x1bf)][_0x343673(0x19f)]){case _0x343673(0x1a5):_0xd98861=_0x343673(0x1a2);break;case _0x343673(0x1a7):_0xd98861=_0x343673(0x1ba);break;case _0x343673(0x1c0):_0xd98861=_0x343673(0x1b4);}return{'tag':_0x5d7119[_0x343673(0x199)],'attributes':{'class':[..._0x56fae3,_0x5d7119[_0x343673(0x1bf)][_0x343673(0x1ab)]?_0x5d7119[_0x343673(0x1bf)][_0x343673(0x1ab)]:''],'style':_0x343673(0x1af)+_0x5d7119[_0x343673(0x1bf)][_0x343673(0x1b5)]+_0x343673(0x1be)+_0x5d7119[_0x343673(0x1bf)][_0x343673(0x1a4)]+';'+_0xd98861}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1bc),'height':_0x1ee43e(0x19b),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1ac),'height':_0x1ee43e(0x1b1),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1bc),'height':_0x1ee43e(0x1b0),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1b7),'height':_0x1ee43e(0x1b1),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1bc),'height':_0x1ee43e(0x1a0),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1ac),'height':_0x1ee43e(0x1b1),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1bc),'height':_0x1ee43e(0x1b0),'align':_0x1ee43e(0x1a5)}}],'aiHistory':ta(0x5,_0x1ee43e(0x1bc),_0x1ee43e(0x1b8),_0x1ee43e(0x1a5)),'aiChatResources':ta(0x8,_0x1ee43e(0x1bc),_0x1ee43e(0x1c2),_0x1ee43e(0x1a5)),'aiReviewChecks':[{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x19d),'height':_0x1ee43e(0x1c2),'align':_0x1ee43e(0x1c0)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1bc),'height':_0x1ee43e(0x1c2),'align':_0x1ee43e(0x1c0)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x19d),'height':_0x1ee43e(0x1c2),'align':_0x1ee43e(0x1c0)}}]};function ta(_0x38cf33,_0x4ac49a,_0x28813d,_0x2b2e4b){const _0x11b749=_0x1ee43e;return new Array(_0x38cf33)[_0x11b749(0x1a1)](null)[_0x11b749(0x19c)](()=>({'tag':_0x11b749(0x1b2),'attributes':{'width':_0x4ac49a,'height':_0x28813d,'align':_0x2b2e4b}}));}
@@ -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
+ const _0x407c9c=_0x1f69;(function(_0x289c00,_0xc339f1){const _0x11dc95=_0x1f69,_0x3c6167=_0x289c00();while(!![]){try{const _0x3efc3e=-parseInt(_0x11dc95(0x1bf))/0x1*(-parseInt(_0x11dc95(0x1b2))/0x2)+parseInt(_0x11dc95(0x1b4))/0x3*(parseInt(_0x11dc95(0x1bd))/0x4)+parseInt(_0x11dc95(0x1cc))/0x5*(-parseInt(_0x11dc95(0x1c4))/0x6)+-parseInt(_0x11dc95(0x1c6))/0x7+-parseInt(_0x11dc95(0x1b0))/0x8*(-parseInt(_0x11dc95(0x1a0))/0x9)+-parseInt(_0x11dc95(0x1a1))/0xa+-parseInt(_0x11dc95(0x1be))/0xb*(-parseInt(_0x11dc95(0x1cf))/0xc);if(_0x3efc3e===_0xc339f1)break;else _0x3c6167['push'](_0x3c6167['shift']());}catch(_0x36a298){_0x3c6167['push'](_0x3c6167['shift']());}}}(_0x55df,0xc2a2b));import{ButtonView as _0x31c8aa,IconView as _0x3466ce,ToolbarView as _0x357452}from'ckeditor5/src/ui.js';import{IconCheck as _0x3e273f,IconCopy as _0x313ed2,IconShowChangesOff as _0x134481,IconShowChangesOn as _0x559dff,IconThumbDown as _0x18f475,IconThumbUp as _0x9de7f2}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x580e60}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x357452{[_0x407c9c(0x1b1)];[_0x407c9c(0x1a2)];[_0x407c9c(0x19f)];[_0x407c9c(0x1a6)];[_0x407c9c(0x1c9)];constructor(_0x2ee4fb,_0x3e56f9={},_0x16ddcd){const _0x2b3f60=_0x407c9c;super(_0x2ee4fb),this[_0x2b3f60(0x1c1)](_0x2b3f60(0x1b9),!0x1),this[_0x2b3f60(0x1c9)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x3e56f9};const _0x2f9636=!(this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1a3)]||this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1ce)]||this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1ad)]||this[_0x2b3f60(0x1c9)][_0x2b3f60(0x19e)]||this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1bc)]?.[_0x2b3f60(0x1af)]);this[_0x2b3f60(0x1bb)]=_0x2f9636?_0x2b3f60(0x1b6):_0x2b3f60(0x1c8),this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1a3)]&&(this[_0x2b3f60(0x1ab)](),this[_0x2b3f60(0x1b5)][_0x2b3f60(0x1d0)](this[_0x2b3f60(0x1b1)])),this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1ce)]&&(this[_0x2b3f60(0x1c7)](_0x16ddcd),this[_0x2b3f60(0x1b5)][_0x2b3f60(0x1d0)](this[_0x2b3f60(0x1a6)])),this[_0x2b3f60(0x1cd)](),this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1ad)]&&this[_0x2b3f60(0x1b5)][_0x2b3f60(0x1d0)](this[_0x2b3f60(0x1a2)]),this[_0x2b3f60(0x1c9)][_0x2b3f60(0x19e)]&&this[_0x2b3f60(0x1b5)][_0x2b3f60(0x1d0)](this[_0x2b3f60(0x19f)]),this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1bc)]&&this[_0x2b3f60(0x1b5)][_0x2b3f60(0x1aa)](this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1bc)]);}[_0x407c9c(0x1cd)](){const _0x1da247=_0x407c9c;this[_0x1da247(0x1a2)]=new _0x31c8aa(this[_0x1da247(0x1a5)]),this[_0x1da247(0x1a2)][_0x1da247(0x1c1)]({'icon':_0x9de7f2,'label':_0x580e60(this[_0x1da247(0x1a5)],_0x1da247(0x1b3)),'tooltip':!0x0}),this[_0x1da247(0x1a2)][_0x1da247(0x1c3)](_0x1da247(0x1c0))['to'](this,_0x1da247(0x1b9),_0x550db7=>!_0x550db7),this[_0x1da247(0x1a2)]['on'](_0x1da247(0x1c5),()=>{const _0x31d24b=_0x1da247;this[_0x31d24b(0x1b8)](_0x31d24b(0x19d));}),this[_0x1da247(0x19f)]=new _0x31c8aa(this[_0x1da247(0x1a5)]),this[_0x1da247(0x19f)][_0x1da247(0x1c1)]({'icon':_0x18f475,'label':_0x580e60(this[_0x1da247(0x1a5)],_0x1da247(0x1a9)),'tooltip':!0x0}),this[_0x1da247(0x19f)][_0x1da247(0x1c3)](_0x1da247(0x1c0))['to'](this,_0x1da247(0x1b9),_0x3d645a=>!_0x3d645a),this[_0x1da247(0x19f)]['on'](_0x1da247(0x1c5),()=>{const _0x42ba7f=_0x1da247;this[_0x42ba7f(0x1b8)](_0x42ba7f(0x1d1));});}[_0x407c9c(0x1ab)](){const _0x470449=_0x407c9c;this[_0x470449(0x1b1)]=new _0x31c8aa(this[_0x470449(0x1a5)]),this[_0x470449(0x1b1)][_0x470449(0x1c1)]({'icon':_0x313ed2,'label':_0x580e60(this[_0x470449(0x1a5)],_0x470449(0x1ae)),'class':_0x470449(0x1c2),'tooltip':!0x0}),this[_0x470449(0x1b1)][_0x470449(0x1c3)](_0x470449(0x1c0))['to'](this,_0x470449(0x1b9),_0x292d28=>!_0x292d28);const _0x493f06=new _0x3466ce();_0x493f06[_0x470449(0x1c1)]({'content':_0x3e273f}),_0x493f06[_0x470449(0x1cb)]({'attributes':{'class':[_0x470449(0x1ca)]}}),this[_0x470449(0x1b1)]['on'](_0x470449(0x1c5),()=>{const _0x35fb15=_0x470449;this[_0x35fb15(0x1b1)][_0x35fb15(0x1bb)]=_0x35fb15(0x1ba),setTimeout(()=>{const _0x54221f=_0x35fb15;this[_0x54221f(0x1b1)][_0x54221f(0x1bb)]=_0x54221f(0x1c2);},0x7d0);}),this[_0x470449(0x1b1)][_0x470449(0x1a4)][_0x470449(0x1d0)](_0x493f06);}[_0x407c9c(0x1c7)](_0x9c60a8){const _0x3fed7a=_0x407c9c;this[_0x3fed7a(0x1a6)]=new _0x31c8aa(this[_0x3fed7a(0x1a5)]),this[_0x3fed7a(0x1a6)][_0x3fed7a(0x1c1)]({'icon':_0x134481,'label':_0x580e60(this[_0x3fed7a(0x1a5)],_0x3fed7a(0x1b7)),'withText':_0x3fed7a(0x1a8)==this[_0x3fed7a(0x1c9)][_0x3fed7a(0x1ce)],'tooltip':_0x3fed7a(0x1a8)!=this[_0x3fed7a(0x1c9)][_0x3fed7a(0x1ce)],'isOn':_0x9c60a8}),this[_0x3fed7a(0x1a6)][_0x3fed7a(0x1c3)](_0x3fed7a(0x1c0))['to'](this,_0x3fed7a(0x1b9),_0xa22be6=>!_0xa22be6),this[_0x3fed7a(0x1a6)]['on'](_0x3fed7a(0x1c5),()=>{const _0x432826=_0x3fed7a,_0x3547ba=!this[_0x432826(0x1a6)][_0x432826(0x1a7)];this[_0x432826(0x1a6)][_0x432826(0x1c1)]({'isOn':_0x3547ba,'icon':_0x3547ba?_0x559dff:_0x134481}),this[_0x432826(0x1b8)](_0x432826(0x1ac),_0x3547ba);});}}function _0x1f69(_0x132112,_0x479971){const _0x55dfcd=_0x55df();return _0x1f69=function(_0x1f6941,_0x509ac4){_0x1f6941=_0x1f6941-0x19d;let _0x156392=_0x55dfcd[_0x1f6941];return _0x156392;},_0x1f69(_0x132112,_0x479971);}function _0x55df(){const _0x3c0d07=['_config','ck-ai-mini-toolbar-copy-button__check-mark','extendTemplate','5ZAfWac','_setupRatingButtons','showChanges','180IJGHVZ','add','dislike','like','showDislike','dislikeButton','206001iASONM','7256210mfNuhx','likeButton','showCopy','children','locale','showChangesButton','isOn','full','AI_MINI_TOOLBAR_DISLIKE','addMany','_setupCopyButton','toggleShowChanges','showLike','AI_MINI_TOOLBAR_COPY','length','344kkEbxh','copyButton','2jExWTC','AI_MINI_TOOLBAR_LIKE','54063iqCIiu','items','ck-ai-mini-toolbar\x20ck-hidden','AI_SUGGESTION_BUTTON_SHOW_CHANGES','fire','isLoading','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','class','customView','120zuqtpR','913550WaNSsB','771288SJKEXO','isEnabled','set','ck-ai-mini-toolbar-copy-button','bind','6776586mfhzxh','execute','6227312CQkNpJ','_setupShowChangesButton','ck-ai-mini-toolbar'];_0x55df=function(){return _0x3c0d07;};return _0x55df();}
@@ -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 _0x4f22cc=_0x2a3e;(function(_0xf717b0,_0xd9f91f){const _0x233717=_0x2a3e,_0x213a74=_0xf717b0();while(!![]){try{const _0x4bbff7=parseInt(_0x233717(0x16d))/0x1*(-parseInt(_0x233717(0x17e))/0x2)+-parseInt(_0x233717(0x18e))/0x3*(-parseInt(_0x233717(0x163))/0x4)+-parseInt(_0x233717(0x18f))/0x5+-parseInt(_0x233717(0x157))/0x6*(parseInt(_0x233717(0x16f))/0x7)+parseInt(_0x233717(0x183))/0x8+-parseInt(_0x233717(0x162))/0x9+-parseInt(_0x233717(0x186))/0xa*(-parseInt(_0x233717(0x16e))/0xb);if(_0x4bbff7===_0xd9f91f)break;else _0x213a74['push'](_0x213a74['shift']());}catch(_0xfe5237){_0x213a74['push'](_0x213a74['shift']());}}}(_0x4447,0xe18c2));import{View as _0x393a05}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x214e90}from'./aisuggestioncontentpartview.js';function _0x4447(){const _0x2f1488=['updateContentParts','state','hasChanges','ck-ai-suggestion__body','empty-parts-warning','addEventListener','findIndex','hasPendingParts','updateContent','queueEmptyPromise','index','warning','AI_SUGGESTION_NO_PARTS_WARNING','hasNonEmptyParts','286tRumUa','delegate','_areActionsDisabled','_children','partDefinition','5266064IsEHet','setContent','_cachedContentParts','190rJtMFp','partsCount','isVisible','_showUnchangedParts','_availableActions','createCollection','getPartView','setTemplate','49737XbAWWM','5122630ABjXOb','forEach','abort','toggleHeader','708QXLpRr','from','locale','push','first','filter','_emptyPartsWarningView','enqueue','pending','updatePartState','div','6443091OFzflz','32baBltu','length','add','ck-ai-suggestion__body__content-parts','some','set','_updateContentPartsPromiseQueue','markAsDone','AI_SUGGESTION_EMPTY_PART_WARNING','find','9013uaOnXB','2592216uHMtLS','78022obbKxw'];_0x4447=function(){return _0x2f1488;};return _0x4447();}function _0x2a3e(_0x37f74e,_0xb8a272){const _0x44471c=_0x4447();return _0x2a3e=function(_0x2a3ed1,_0x7bf4c4){_0x2a3ed1=_0x2a3ed1-0x157;let _0x356665=_0x44471c[_0x2a3ed1];return _0x356665;},_0x2a3e(_0x37f74e,_0xb8a272);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x212d94}from'../../utils/eventnames.js';import{PromiseQueue as _0x12bc89}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x44929e}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0xec611c}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x393a05{[_0x4f22cc(0x181)];[_0x4f22cc(0x180)];[_0x4f22cc(0x189)];[_0x4f22cc(0x169)];[_0x4f22cc(0x15d)];[_0x4f22cc(0x18a)];[_0x4f22cc(0x185)]=[];constructor(_0x58d9ec,_0x545027){const _0x46e46d=_0x4f22cc;super(_0x58d9ec);const {areActionsDisabled:_0x4e16c2,showUnchangedParts:_0x1e72ea,availableActions:_0x60dad9}=_0x545027;this[_0x46e46d(0x180)]=_0x4e16c2,this[_0x46e46d(0x189)]=_0x1e72ea,this[_0x46e46d(0x18a)]=_0x60dad9,this[_0x46e46d(0x168)](_0x46e46d(0x177),!0x1),this[_0x46e46d(0x181)]=this[_0x46e46d(0x18b)](),this[_0x46e46d(0x169)]=new _0x12bc89(),this[_0x46e46d(0x15d)]=new _0x44929e({'id':_0x46e46d(0x174),'initialContent':_0xec611c(_0x58d9ec,_0x46e46d(0x16b)),'level':_0x46e46d(0x17b)}),this[_0x46e46d(0x15d)][_0x46e46d(0x188)]=!0x1,this[_0x46e46d(0x18d)]({'tag':_0x46e46d(0x161),'attributes':{'class':['ck',_0x46e46d(0x173)]},'children':[{'tag':_0x46e46d(0x161),'attributes':{'class':['ck',_0x46e46d(0x166)]},'children':this[_0x46e46d(0x181)]},this[_0x46e46d(0x15d)]]});}get[_0x4f22cc(0x187)](){const _0x146501=_0x4f22cc;return this[_0x146501(0x181)][_0x146501(0x164)];}async[_0x4f22cc(0x170)]({parts:_0x4129a0,renderingStrategy:_0x31fdb8,abortSignal:_0xed8da1}){const _0x147977=_0x4f22cc;this[_0x147977(0x181)][_0x147977(0x164)]?_0x4129a0[_0x147977(0x190)](_0x1b2b31=>{const _0x29cecf=_0x147977,_0x505071=this[_0x29cecf(0x185)][_0x29cecf(0x176)](_0x485f09=>_0x485f09[_0x29cecf(0x17a)]==_0x1b2b31[_0x29cecf(0x17a)]);-0x1===_0x505071?this[_0x29cecf(0x185)][_0x29cecf(0x15a)](_0x1b2b31):this[_0x29cecf(0x185)][_0x505071]=_0x1b2b31;}):this[_0x147977(0x185)]=_0x4129a0;for(const _0x336ab8 of _0x4129a0[_0x147977(0x15c)](_0x2ff527=>_0x2ff527[_0x147977(0x172)]))this[_0x147977(0x169)][_0x147977(0x15e)](async _0x4f4270=>{const _0xc6d9ae=_0x147977;let _0x1c3c3c=this[_0xc6d9ae(0x18c)](_0x336ab8[_0xc6d9ae(0x17a)]);_0x1c3c3c||(_0x1c3c3c=new _0x214e90(this[_0xc6d9ae(0x159)],{'part':_0x336ab8,'uiIndex':this[_0xc6d9ae(0x181)][_0xc6d9ae(0x164)]+0x1,'areActionsDisabled':this[_0xc6d9ae(0x180)],'availableActions':this[_0xc6d9ae(0x18a)]}),_0x1c3c3c[_0xc6d9ae(0x17f)](..._0x212d94)['to'](this),this[_0xc6d9ae(0x181)][_0xc6d9ae(0x165)](_0x1c3c3c),this[_0xc6d9ae(0x177)]=!0x0),0x2===this[_0xc6d9ae(0x181)][_0xc6d9ae(0x164)]&&this[_0xc6d9ae(0x181)][_0xc6d9ae(0x15b)][_0xc6d9ae(0x192)](!0x0),_0x1c3c3c[_0xc6d9ae(0x192)](this[_0xc6d9ae(0x181)][_0xc6d9ae(0x164)]>0x1),await _0x1c3c3c[_0xc6d9ae(0x178)]({'part':_0x336ab8,'renderingStrategy':_0x31fdb8,'showUnchangedParts':this[_0xc6d9ae(0x189)],'abortSignal':_0x4f4270});});return _0xed8da1?.[_0x147977(0x175)](_0x147977(0x191),()=>{const _0x10c753=_0x147977;this[_0x10c753(0x169)][_0x10c753(0x191)]();}),this[_0x147977(0x169)][_0x147977(0x179)];}[_0x4f22cc(0x160)](_0x2bfb66,_0x16f32d){const _0x3c2a9d=_0x4f22cc,_0x31c37d=this[_0x3c2a9d(0x18c)](_0x2bfb66);_0x31c37d&&(_0x31c37d[_0x3c2a9d(0x171)]=_0x16f32d),this[_0x3c2a9d(0x177)]=_0x3c2a9d(0x15f)==_0x16f32d||Array[_0x3c2a9d(0x158)](this[_0x3c2a9d(0x181)])[_0x3c2a9d(0x167)](_0x23c927=>_0x3c2a9d(0x15f)==_0x23c927[_0x3c2a9d(0x171)]);}[_0x4f22cc(0x18c)](_0x5719a3){const _0x29382a=_0x4f22cc;return this[_0x29382a(0x181)][_0x29382a(0x16c)](_0x316d39=>_0x316d39[_0x29382a(0x182)][_0x29382a(0x17a)]==_0x5719a3)??null;}[_0x4f22cc(0x16a)](){const _0x5da820=_0x4f22cc;if(!this[_0x5da820(0x189)]){const _0x1f3506=!this[_0x5da820(0x185)][_0x5da820(0x16c)](({hasChanges:_0x33890a})=>_0x33890a),_0x23805b=!!this[_0x5da820(0x185)][_0x5da820(0x16c)](({hasChanges:_0x35ddad})=>!_0x35ddad);this[_0x5da820(0x15d)][_0x5da820(0x188)]=0x0==this[_0x5da820(0x181)][_0x5da820(0x164)]||_0x23805b,_0x1f3506?this[_0x5da820(0x15d)][_0x5da820(0x184)](_0xec611c(this[_0x5da820(0x159)],_0x5da820(0x17c))):this[_0x5da820(0x15d)][_0x5da820(0x184)](_0xec611c(this[_0x5da820(0x159)],_0x5da820(0x16b)));}}get[_0x4f22cc(0x17d)](){const _0x41aa03=_0x4f22cc;return!!this[_0x41aa03(0x181)][_0x41aa03(0x16c)](_0x27f9d5=>_0x27f9d5[_0x41aa03(0x182)][_0x41aa03(0x172)]);}}
@@ -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
+ function _0x1965(){const _0x5255eb=['clearErrorState','open','items','showLoader','miniToolbarView','271536tvPyPV','createCollection','809930wMflmv','div','ck-ai-suggestion__loader-text','fire','img','updateContentParts','ck\x20ck-ai-web-source','children','423888trUYKH','637592yukzPj','headerView','389529ALTkeW','isErrorVisible','sourcesView','169506DpcEdf','textContent','ck-rounded-corners','clearLoading','AI_CHAT_IS_WRITING','delegate','isVisible','add','_createLoaderView','icon','bindTemplate','isLoaderVisible','markAsDone','ck-ai-suggestion__container','extendTemplate','AI_CHAT_GENERIC_ERROR','.ck-ai-suggestion__error-text','errorView','map','ck-ai-suggestion__error','bodyView','setLoading','showChangesToggleView','element','toggleSuggestionDisplayMode','small','setErrorState','updateSources','title','addNavigationItem','locale','ck-ai-web-sources__header','remove','set','favicon','ck-ai-web-sources','_blank','updateContent','72cJjrWU','content','ck-hidden','areChangesVisible','isEnabled','removeNavigationItem','ck-ai-suggestion__loader','bind','10941fdSohz','ck-ai-web-source__image','_createErrorView','396ktJTyl','span','querySelector','setTemplate','loaderView','hideError','ck-ai-suggestion__error-text','url','hasNonEmptyParts','toggleShowChanges','AI_CHAT_SOURCES_HEADER','hideLoader','isLoading','isShowChangesToggleVisible','showError','isOn','addMany'];_0x1965=function(){return _0x5255eb;};return _0x1965();}const _0x5e2077=_0x71b9;(function(_0x4bcc6f,_0x1dc88e){const _0x4a7167=_0x71b9,_0xcafd66=_0x4bcc6f();while(!![]){try{const _0x27fd7b=parseInt(_0x4a7167(0x172))/0x1+-parseInt(_0x4a7167(0x162))/0x2+-parseInt(_0x4a7167(0x16f))/0x3+-parseInt(_0x4a7167(0x16d))/0x4+-parseInt(_0x4a7167(0x164))/0x5+-parseInt(_0x4a7167(0x14c))/0x6*(-parseInt(_0x4a7167(0x149))/0x7)+-parseInt(_0x4a7167(0x16c))/0x8*(-parseInt(_0x4a7167(0x141))/0x9);if(_0x27fd7b===_0x1dc88e)break;else _0xcafd66['push'](_0xcafd66['shift']());}catch(_0x37af73){_0xcafd66['push'](_0xcafd66['shift']());}}}(_0x1965,0x1abf5));import{IconWeb as _0x1c1b56}from'@ckeditor/ckeditor5-icons';import{View as _0x4ac204,ButtonView as _0x587bdf,IconView as _0x43c99a}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x1499ab}from'./aiminitoolbarview.js';function _0x71b9(_0x256981,_0x539409){const _0x196527=_0x1965();return _0x71b9=function(_0x71b946,_0x3d1322){_0x71b946=_0x71b946-0x12e;let _0x50a480=_0x196527[_0x71b946];return _0x50a480;},_0x71b9(_0x256981,_0x539409);}import{AISuggestionHeaderView as _0x298bb6}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x10f90b}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3d0ebd}from'../../utils/eventnames.js';import{AISpinnerView as _0x5e5082}from'../aispinner.js';import{getTranslation as _0x3378d4}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x4ac204{[_0x5e2077(0x12f)];[_0x5e2077(0x161)];[_0x5e2077(0x16b)];[_0x5e2077(0x16e)];[_0x5e2077(0x150)];[_0x5e2077(0x183)];[_0x5e2077(0x171)];constructor(_0x230507,_0x470b32){const _0x1b01ce=_0x5e2077;super(_0x230507);const {showDiff:_0x161c21,areActionsDisabled:_0x4cb2c6,miniToolbarConfig:_0x4e5a43,hideHeader:_0x43b740,showLoader:_0x34de79,showUnchangedParts:_0x3fd61c,availableActions:_0x4112d2}=_0x470b32;this[_0x1b01ce(0x13c)](_0x1b01ce(0x144),!0x1),this[_0x1b01ce(0x13c)](_0x1b01ce(0x17d),!!_0x34de79),this[_0x1b01ce(0x13c)](_0x1b01ce(0x170),!0x1),this[_0x1b01ce(0x13c)](_0x1b01ce(0x158),!0x1),this[_0x1b01ce(0x16b)]=this[_0x1b01ce(0x163)](),_0x43b740||(this[_0x1b01ce(0x16e)]=new _0x298bb6(_0x230507,{'showDiff':_0x161c21}),this[_0x1b01ce(0x16e)]['on'](_0x1b01ce(0x155),(_0x4ef568,_0x1cd414)=>{const _0x554065=_0x1b01ce;this[_0x554065(0x144)]=_0x1cd414[_0x554065(0x15b)],this[_0x554065(0x167)](_0x554065(0x133),{'showDiff':_0x1cd414[_0x554065(0x15b)]});}),this[_0x1b01ce(0x16b)][_0x1b01ce(0x179)](this[_0x1b01ce(0x16e)])),this[_0x1b01ce(0x12f)]=new _0x10f90b(_0x230507,{'areActionsDisabled':_0x4cb2c6,'showUnchangedParts':!!_0x3fd61c,'availableActions':_0x4112d2}),this[_0x1b01ce(0x12f)][_0x1b01ce(0x177)](..._0x3d0ebd)['to'](this),this[_0x1b01ce(0x12f)][_0x1b01ce(0x180)]({'attributes':{'class':[this[_0x1b01ce(0x17c)]['if'](_0x1b01ce(0x17d),_0x1b01ce(0x143)),this[_0x1b01ce(0x17c)]['if'](_0x1b01ce(0x170),_0x1b01ce(0x143))]}}),this[_0x1b01ce(0x161)]=new _0x1499ab(_0x230507,_0x4e5a43,_0x161c21),this[_0x1b01ce(0x161)][_0x1b01ce(0x177)](..._0x3d0ebd)['to'](this),this[_0x1b01ce(0x161)]['on'](_0x1b01ce(0x155),(_0x4e90cd,_0x5b096f)=>{const _0x55222b=_0x1b01ce;this[_0x55222b(0x144)]=_0x5b096f,this[_0x55222b(0x167)](_0x55222b(0x133),{'showDiff':_0x5b096f});}),this[_0x1b01ce(0x161)][_0x1b01ce(0x148)](_0x1b01ce(0x158))['to'](this),this[_0x1b01ce(0x16b)][_0x1b01ce(0x179)](this[_0x1b01ce(0x12f)]),this[_0x1b01ce(0x16b)][_0x1b01ce(0x179)](this[_0x1b01ce(0x161)]),this[_0x1b01ce(0x171)]=new AIWebSourcesView(this[_0x1b01ce(0x139)]),this[_0x1b01ce(0x16b)][_0x1b01ce(0x179)](this[_0x1b01ce(0x171)]),_0x34de79&&(this[_0x1b01ce(0x150)]=this[_0x1b01ce(0x17a)](),this[_0x1b01ce(0x16b)][_0x1b01ce(0x179)](this[_0x1b01ce(0x150)])),this[_0x1b01ce(0x183)]=this[_0x1b01ce(0x14b)](),this[_0x1b01ce(0x16b)][_0x1b01ce(0x179)](this[_0x1b01ce(0x183)]),this[_0x1b01ce(0x14f)]({'tag':_0x1b01ce(0x165),'attributes':{'class':['ck',_0x1b01ce(0x17f),_0x1b01ce(0x174)]},'children':this[_0x1b01ce(0x16b)]});}async[_0x5e2077(0x140)](_0x497905){const _0x249b32=_0x5e2077;await this[_0x249b32(0x12f)][_0x249b32(0x169)](_0x497905);}[_0x5e2077(0x136)](_0x9efe3b){const _0x464b8a=_0x5e2077;this[_0x464b8a(0x171)][_0x464b8a(0x16b)][_0x464b8a(0x15c)](_0x9efe3b[_0x464b8a(0x184)](_0x4cf152=>new AIWebSourceView(this[_0x464b8a(0x139)],_0x4cf152))),this[_0x464b8a(0x171)][_0x464b8a(0x178)]=!0x0;}[_0x5e2077(0x160)](){const _0x188928=_0x5e2077;this[_0x188928(0x150)]&&(this[_0x188928(0x17d)]=!0x0);}[_0x5e2077(0x157)](){const _0x3d13e4=_0x5e2077;this[_0x3d13e4(0x150)]&&(this[_0x3d13e4(0x17d)]=!0x1);}[_0x5e2077(0x15a)](_0x519ce7){const _0x3dccf9=_0x5e2077;if(this[_0x3dccf9(0x183)]){const _0x521207=this[_0x3dccf9(0x183)][_0x3dccf9(0x132)]?.[_0x3dccf9(0x14e)](_0x3dccf9(0x182));_0x521207&&(_0x521207[_0x3dccf9(0x173)]=_0x519ce7),this[_0x3dccf9(0x170)]=!0x0;}}[_0x5e2077(0x151)](){const _0x5b4c72=_0x5e2077;this[_0x5b4c72(0x183)]&&(this[_0x5b4c72(0x170)]=!0x1);}[_0x5e2077(0x17e)](){const _0x31cef0=_0x5e2077;this[_0x31cef0(0x12f)][_0x31cef0(0x17e)](),this[_0x31cef0(0x16e)]&&(this[_0x31cef0(0x16e)][_0x31cef0(0x159)]=this[_0x31cef0(0x12f)][_0x31cef0(0x154)]);}[_0x5e2077(0x130)](){const _0x21bd7d=_0x5e2077;this[_0x21bd7d(0x158)]=!0x0;}[_0x5e2077(0x175)](){const _0x4af49f=_0x5e2077;this[_0x4af49f(0x158)]=!0x1;}[_0x5e2077(0x135)](){const _0x4b0c4a=_0x5e2077;this[_0x4b0c4a(0x161)]&&(this[_0x4b0c4a(0x161)][_0x4b0c4a(0x158)]=!0x0),this[_0x4b0c4a(0x16e)]?.[_0x4b0c4a(0x131)]&&(this[_0x4b0c4a(0x16e)][_0x4b0c4a(0x131)][_0x4b0c4a(0x145)]=!0x1);}[_0x5e2077(0x15d)](){const _0x57450b=_0x5e2077;this[_0x57450b(0x161)]&&(this[_0x57450b(0x161)][_0x57450b(0x158)]=!0x1),this[_0x57450b(0x16e)]?.[_0x57450b(0x131)]&&(this[_0x57450b(0x16e)][_0x57450b(0x131)][_0x57450b(0x145)]=!0x0);}[_0x5e2077(0x138)](_0x3db121){const _0x1e6723=_0x5e2077;this[_0x1e6723(0x161)][_0x1e6723(0x15f)][_0x1e6723(0x179)](_0x3db121);}[_0x5e2077(0x146)](_0x4a5341){const _0x4a16db=_0x5e2077;this[_0x4a16db(0x161)][_0x4a16db(0x15f)][_0x4a16db(0x13b)](_0x4a5341);}[_0x5e2077(0x17a)](){const _0x500523=_0x5e2077,_0x2ae386=new _0x4ac204(this[_0x500523(0x139)]),_0x13a00b=new _0x5e5082(_0x500523(0x134));_0x13a00b[_0x500523(0x178)]=!0x0;const _0x375463=new _0x4ac204(this[_0x500523(0x139)]);return _0x375463[_0x500523(0x14f)]({'tag':_0x500523(0x14d),'attributes':{'class':['ck',_0x500523(0x166)]},'children':[_0x3378d4(this[_0x500523(0x139)],_0x500523(0x176))]}),_0x2ae386[_0x500523(0x14f)]({'tag':_0x500523(0x165),'attributes':{'class':['ck',_0x500523(0x147),this[_0x500523(0x17c)]['if'](_0x500523(0x17d),_0x500523(0x143),_0x36d7a6=>!_0x36d7a6)]},'children':[_0x13a00b,_0x375463]}),_0x2ae386;}[_0x5e2077(0x14b)](){const _0x548576=_0x5e2077,_0x22d9ec=new _0x4ac204(this[_0x548576(0x139)]),_0x5b4cc5=new _0x4ac204(this[_0x548576(0x139)]);return _0x5b4cc5[_0x548576(0x14f)]({'tag':_0x548576(0x14d),'attributes':{'class':['ck',_0x548576(0x152)]},'children':[_0x3378d4(this[_0x548576(0x139)],_0x548576(0x181))]}),_0x22d9ec[_0x548576(0x14f)]({'tag':_0x548576(0x165),'attributes':{'class':['ck',_0x548576(0x12e),this[_0x548576(0x17c)]['if'](_0x548576(0x170),_0x548576(0x143),_0x34faad=>!_0x34faad)]},'children':[_0x5b4cc5]}),_0x22d9ec;}}export class AIWebSourcesView extends _0x4ac204{[_0x5e2077(0x16b)];constructor(_0x1d743f){const _0x426336=_0x5e2077;super(_0x1d743f),this[_0x426336(0x16b)]=this[_0x426336(0x163)](),this[_0x426336(0x13c)](_0x426336(0x178),!0x1),this[_0x426336(0x14f)]({'tag':_0x426336(0x165),'attributes':{'class':['ck',_0x426336(0x13e),this[_0x426336(0x17c)]['if'](_0x426336(0x178),_0x426336(0x143),_0x576852=>!_0x576852)]},'children':this[_0x426336(0x16b)]});const _0x52bc62=new _0x4ac204(this[_0x426336(0x139)]),_0x30121a=new _0x43c99a();_0x30121a[_0x426336(0x142)]=_0x1c1b56,_0x52bc62[_0x426336(0x14f)]({'tag':_0x426336(0x165),'attributes':{'class':['ck',_0x426336(0x13a)]},'children':[_0x30121a,{'tag':_0x426336(0x14d),'children':[{'text':_0x3378d4(this[_0x426336(0x139)],_0x426336(0x156))}]}]}),this[_0x426336(0x16b)][_0x426336(0x179)](_0x52bc62);}}export class AIWebSourceView extends _0x587bdf{constructor(_0x40cebc,_0x264f72){const _0x30af21=_0x5e2077;super(_0x40cebc),this[_0x30af21(0x13c)]({'label':_0x264f72[_0x30af21(0x137)],'tooltip':_0x264f72[_0x30af21(0x137)],'class':[_0x30af21(0x16a)],'withText':!0x0});const _0x322e23=this[_0x30af21(0x17c)];if(this[_0x30af21(0x180)]({'on':{'click':_0x322e23['to'](()=>{const _0x5a9656=_0x30af21;window[_0x5a9656(0x15e)](_0x264f72[_0x5a9656(0x153)],_0x5a9656(0x13f));})}}),_0x264f72[_0x30af21(0x13d)]){const _0x100959=new _0x4ac204(_0x40cebc);_0x100959[_0x30af21(0x14f)]({'tag':_0x30af21(0x168),'attributes':{'src':_0x264f72[_0x30af21(0x13d)]||_0x1c1b56,'alt':_0x264f72[_0x30af21(0x137)],'class':[_0x30af21(0x14a)]}}),this[_0x30af21(0x16b)][_0x30af21(0x179)](_0x100959);}else this[_0x30af21(0x13c)](_0x30af21(0x17b),_0x1c1b56);}}
@@ -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 _0xcf9e02=_0x168d;(function(_0x32035f,_0x5a8e8d){const _0x460be0=_0x168d,_0x1457aa=_0x32035f();while(!![]){try{const _0x3c8b69=parseInt(_0x460be0(0x166))/0x1+-parseInt(_0x460be0(0x165))/0x2*(parseInt(_0x460be0(0x177))/0x3)+-parseInt(_0x460be0(0x178))/0x4*(parseInt(_0x460be0(0x15d))/0x5)+parseInt(_0x460be0(0x142))/0x6*(-parseInt(_0x460be0(0x167))/0x7)+-parseInt(_0x460be0(0x144))/0x8+-parseInt(_0x460be0(0x12b))/0x9*(-parseInt(_0x460be0(0x172))/0xa)+parseInt(_0x460be0(0x16e))/0xb*(parseInt(_0x460be0(0x146))/0xc);if(_0x3c8b69===_0x5a8e8d)break;else _0x1457aa['push'](_0x1457aa['shift']());}catch(_0x3b70e4){_0x1457aa['push'](_0x1457aa['shift']());}}}(_0x3adf,0xeeb6b));import{View as _0x495a5b,IconView as _0x2af7c3,ToolbarView as _0x358dd9,ButtonView as _0x395725}from'ckeditor5/src/ui.js';function _0x3adf(){const _0x333b9c=['_toolbarView','mouseOverSuggestion','rejectSuggestion','content','toString','_iconStateRejected','ck-ai-suggestion__body__content-part_','AI_SUGGESTION_CONTENT_PART_DELETE','updateContent','push','_iconStateOutdated','accepted','extendTemplate','ck-content','20gmTbDZ','children','_iconStateAccepted','ck-reset_all-excluded','execute','change:state','add','outdated','2sAgOCz','1449770FfukYJ','2622823eLPkQE','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','contentView','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-suggestion__body__content-part__icon-rejected','includes','headerView','10437757oKJnKP','rejected','insertSuggestion','htmlStreamer','157610MogWPt','ck-ai-suggestion__body__content-part__icon-outdated','ck-ai-suggestion__body__content-part__icon-accepted','mouseLeaveSuggestion','innerHTML','3794973XqyKDv','1515716Kauwxk','fire','setTemplate','state','ck-ai-suggestion__body__content-part__title__label','addMany','927MFMEhU','items','span','bind','ck-ai-suggestion__body__content-part__content','AI_SUGGESTION_CONTENT_PART_REJECTED','ck-ai-suggestion__body__content-part__icon-title','ck-hidden','partDefinition','AI_SUGGESTION_CONTENT_PART_TITLE','index','has','isVisible','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','set','showChangeInText','AI_SUGGESTION_CONTENT_PART_OUTDATED','toggleHeader','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','stream','bindTemplate','delegate','div','12BrnXnz','ck-ai-suggestion__body__content-part','3704568pWFMtx','ck-ai-suggestion__body__content-part_active','24NrTBoo','remove','streaming','isEnabled','pending','element','hasChanges','ck-ai-suggestion__body__content-part__title','createCollection'];_0x3adf=function(){return _0x333b9c;};return _0x3adf();}import{IconAddComment as _0x58ff97,IconDocumentWithLoupe as _0x5b541b,IconDocumentWithCheckmark as _0x115df3,IconDocumentWithCross as _0x2c01dd,IconRemove as _0x168c81,IconThreeStars as _0x5d4b7e}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x391620}from'../../utils/htmlstreamer.js';import{getTranslation as _0x56003e}from'../../utils/common-translations.js';import{serialize as _0x3fd3d6}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x468d6c}from'../../utils/eventnames.js';function _0x168d(_0x5cd27d,_0x1f21eb){const _0x3adfb6=_0x3adf();return _0x168d=function(_0x168d5e,_0x105ac4){_0x168d5e=_0x168d5e-0x12b;let _0x36017e=_0x3adfb6[_0x168d5e];return _0x36017e;},_0x168d(_0x5cd27d,_0x1f21eb);}export class AISuggestionBodyViewContentPartView extends _0x495a5b{[_0xcf9e02(0x171)];[_0xcf9e02(0x15e)];[_0xcf9e02(0x16d)];[_0xcf9e02(0x169)];constructor(_0x25b9a1,{part:_0x3f7107,uiIndex:_0x8fc0c8,areActionsDisabled:_0x5c7360,availableActions:_0x54f3bb}){const _0x2812dd=_0xcf9e02;super(_0x25b9a1),this[_0x2812dd(0x139)](_0x2812dd(0x133),_0x3f7107),this[_0x2812dd(0x139)](_0x2812dd(0x17b),_0x2812dd(0x14a)),this[_0x2812dd(0x139)](_0x2812dd(0x137),!0x1),this[_0x2812dd(0x12e)](_0x2812dd(0x149))['to'](this,_0x2812dd(0x17b),_0x28ade3=>_0x2812dd(0x14a)==_0x28ade3&&!_0x5c7360),this[_0x2812dd(0x15e)]=this[_0x2812dd(0x14e)](),this[_0x2812dd(0x171)]=new _0x391620({'textNodeStyle':_0x2812dd(0x16a),'delay':0x14}),this[_0x2812dd(0x16d)]=new Un(_0x25b9a1,{'part':_0x3f7107,'uiIndex':_0x8fc0c8,'availableActions':_0x54f3bb}),this[_0x2812dd(0x16d)][_0x2812dd(0x12e)](_0x2812dd(0x133))['to'](this),this[_0x2812dd(0x16d)][_0x2812dd(0x12e)](_0x2812dd(0x149))['to'](this),this[_0x2812dd(0x16d)][_0x2812dd(0x12e)](_0x2812dd(0x17b))['to'](this),this[_0x2812dd(0x16d)][_0x2812dd(0x140)](..._0x468d6c)['to'](this);const _0x300b15=this[_0x2812dd(0x13f)];this[_0x2812dd(0x169)]=new _0x495a5b(),this[_0x2812dd(0x169)][_0x2812dd(0x17a)]({'tag':_0x2812dd(0x141),'attributes':{'class':['ck',_0x2812dd(0x15c),_0x2812dd(0x160),_0x2812dd(0x12f)]}}),this[_0x2812dd(0x15e)][_0x2812dd(0x17d)]([this[_0x2812dd(0x169)]]),this[_0x2812dd(0x17a)]({'tag':_0x2812dd(0x141),'attributes':{'class':['ck',_0x2812dd(0x143),_0x300b15['to'](_0x2812dd(0x17b),_0x341046=>_0x2812dd(0x155)+_0x341046),_0x300b15['to'](_0x2812dd(0x149),_0x2e63c1=>_0x2e63c1?_0x2812dd(0x145):void 0x0),_0x300b15['if'](_0x2812dd(0x137),_0x2812dd(0x132),_0x281972=>!_0x281972)]},'children':this[_0x2812dd(0x15e)],'on':{'mouseenter':_0x300b15['to'](()=>{const _0x119470=_0x2812dd;this[_0x119470(0x149)]&&this[_0x119470(0x179)](_0x119470(0x150),{'index':_0x3f7107[_0x119470(0x135)]});}),'mouseleave':_0x300b15['to'](()=>{const _0xc10e7e=_0x2812dd;this[_0xc10e7e(0x149)]&&this[_0xc10e7e(0x179)](_0xc10e7e(0x175),{'index':_0x3f7107[_0xc10e7e(0x135)]});})}});}async[_0xcf9e02(0x157)]({part:_0xcdb65a,renderingStrategy:_0x4178c0,showUnchangedParts:_0x32cbdc=!0x1,abortSignal:_0x1639da}){const _0x518d18=_0xcf9e02;this[_0x518d18(0x133)]=_0xcdb65a,this[_0x518d18(0x137)]=this[_0x518d18(0x133)][_0x518d18(0x14c)]||_0x32cbdc,this[_0x518d18(0x137)]&&(_0x518d18(0x148)===_0x4178c0?await this[_0x518d18(0x171)][_0x518d18(0x13e)]({'document':this[_0x518d18(0x133)][_0x518d18(0x152)],'targetElement':this[_0x518d18(0x169)][_0x518d18(0x14b)],'abortSignal':_0x1639da}):this[_0x518d18(0x169)][_0x518d18(0x14b)][_0x518d18(0x176)]=_0x3fd3d6(this[_0x518d18(0x133)][_0x518d18(0x152)]));}[_0xcf9e02(0x13c)](_0x4e7daa){const _0x34499=_0xcf9e02;_0x4e7daa?this[_0x34499(0x15e)][_0x34499(0x136)](this[_0x34499(0x16d)])||this[_0x34499(0x15e)][_0x34499(0x163)](this[_0x34499(0x16d)],0x0):this[_0x34499(0x15e)][_0x34499(0x136)](this[_0x34499(0x16d)])&&this[_0x34499(0x15e)][_0x34499(0x147)](this[_0x34499(0x16d)]);}}class Un extends _0x495a5b{[_0xcf9e02(0x15e)];[_0xcf9e02(0x14f)];[_0xcf9e02(0x15f)];[_0xcf9e02(0x154)];[_0xcf9e02(0x159)];constructor(_0x7c46bd,{part:_0x19a1d6,uiIndex:_0x7faac1,availableActions:_0x1da608}){const _0x14b8db=_0xcf9e02;super(_0x7c46bd),this[_0x14b8db(0x139)](_0x14b8db(0x133),_0x19a1d6),this[_0x14b8db(0x139)](_0x14b8db(0x149),!0x0),this[_0x14b8db(0x139)](_0x14b8db(0x17b),_0x14b8db(0x14a));const _0x5c1ae2=new _0x2af7c3();_0x5c1ae2[_0x14b8db(0x152)]=_0x5d4b7e,_0x5c1ae2[_0x14b8db(0x15b)]({'attributes':{'class':[_0x14b8db(0x131)]}});const _0xc98197=[];if(_0x1da608[_0x14b8db(0x16c)](_0x14b8db(0x13a))){const _0x380650=new _0x395725(_0x7c46bd);_0x380650[_0x14b8db(0x139)]({'label':_0x56003e(_0x7c46bd,_0x14b8db(0x13d)),'tooltip':!0x0,'withText':!0x1,'icon':_0x5b541b}),_0x380650[_0x14b8db(0x12e)](_0x14b8db(0x149))['to'](this),_0x380650['on'](_0x14b8db(0x161),()=>{const _0x8b30fb=_0x14b8db;this[_0x8b30fb(0x179)](_0x8b30fb(0x13a),{'index':_0x19a1d6[_0x8b30fb(0x135)]});}),_0xc98197[_0x14b8db(0x158)](_0x380650);}if(_0x1da608[_0x14b8db(0x16c)](_0x14b8db(0x170))){const _0x1e6eb6=new _0x395725(_0x7c46bd);_0x1e6eb6[_0x14b8db(0x139)]({'label':_0x56003e(_0x7c46bd,_0x14b8db(0x168)),'tooltip':!0x0,'withText':!0x1,'icon':_0x58ff97}),_0x1e6eb6[_0x14b8db(0x12e)](_0x14b8db(0x149))['to'](this),_0x1e6eb6['on'](_0x14b8db(0x161),()=>{const _0x2ee8e8=_0x14b8db;this[_0x2ee8e8(0x179)](_0x2ee8e8(0x170),{'index':_0x19a1d6[_0x2ee8e8(0x135)]});}),_0xc98197[_0x14b8db(0x158)](_0x1e6eb6);}const _0x3ddbe6=new _0x395725(_0x7c46bd);_0x3ddbe6[_0x14b8db(0x139)]({'label':_0x56003e(_0x7c46bd,_0x14b8db(0x156)),'tooltip':!0x0,'withText':!0x1,'icon':_0x168c81}),_0x3ddbe6[_0x14b8db(0x12e)](_0x14b8db(0x149))['to'](this),_0x3ddbe6['on'](_0x14b8db(0x161),()=>{const _0x2d3eec=_0x14b8db;this[_0x2d3eec(0x179)](_0x2d3eec(0x151),{'index':_0x19a1d6[_0x2d3eec(0x135)]});}),_0xc98197[_0x14b8db(0x158)](_0x3ddbe6),this[_0x14b8db(0x14f)]=new _0x358dd9(_0x7c46bd),this[_0x14b8db(0x14f)][_0x14b8db(0x12c)][_0x14b8db(0x17d)](_0xc98197),this[_0x14b8db(0x15f)]=new _0x2af7c3(),this[_0x14b8db(0x15f)][_0x14b8db(0x152)]=_0x115df3,this[_0x14b8db(0x15f)][_0x14b8db(0x15b)]({'attributes':{'class':[_0x14b8db(0x174)],'data-cke-tooltip-text':_0x56003e(_0x7c46bd,_0x14b8db(0x138)),'data-cke-tooltip-position':'n'}}),this[_0x14b8db(0x154)]=new _0x2af7c3(),this[_0x14b8db(0x154)][_0x14b8db(0x152)]=_0x2c01dd,this[_0x14b8db(0x154)][_0x14b8db(0x15b)]({'attributes':{'class':[_0x14b8db(0x16b)],'data-cke-tooltip-text':_0x56003e(_0x7c46bd,_0x14b8db(0x130)),'data-cke-tooltip-position':'n'}}),this[_0x14b8db(0x159)]=new _0x2af7c3(),this[_0x14b8db(0x159)][_0x14b8db(0x152)]=_0x2c01dd,this[_0x14b8db(0x159)][_0x14b8db(0x15b)]({'attributes':{'class':[_0x14b8db(0x173)],'data-cke-tooltip-text':_0x56003e(_0x7c46bd,_0x14b8db(0x13b)),'data-cke-tooltip-position':'n'}});const _0x483530=new _0x495a5b(_0x7c46bd);_0x483530[_0x14b8db(0x17a)]({'tag':_0x14b8db(0x12d),'attributes':{'class':['ck',_0x14b8db(0x17c)]},'children':[_0x56003e(_0x7c46bd,_0x14b8db(0x134),_0x7faac1[_0x14b8db(0x153)]())]}),this[_0x14b8db(0x15e)]=this[_0x14b8db(0x14e)](),this[_0x14b8db(0x15e)][_0x14b8db(0x17d)]([_0x5c1ae2,_0x483530,this[_0x14b8db(0x14f)]]),this[_0x14b8db(0x17a)]({'tag':_0x14b8db(0x141),'attributes':{'class':['ck',_0x14b8db(0x160),_0x14b8db(0x14d)]},'children':this[_0x14b8db(0x15e)]}),this['on'](_0x14b8db(0x162),(_0x439009,_0x1ee22b,_0x5f00f1,_0x1448ce)=>{const _0x50d0eb=_0x14b8db;switch(_0x1448ce){case _0x50d0eb(0x14a):this[_0x50d0eb(0x15e)][_0x50d0eb(0x147)](this[_0x50d0eb(0x14f)]);break;case _0x50d0eb(0x15a):this[_0x50d0eb(0x15e)][_0x50d0eb(0x147)](this[_0x50d0eb(0x15f)]);break;case _0x50d0eb(0x16f):this[_0x50d0eb(0x15e)][_0x50d0eb(0x147)](this[_0x50d0eb(0x154)]);break;case _0x50d0eb(0x164):this[_0x50d0eb(0x15e)][_0x50d0eb(0x147)](this[_0x50d0eb(0x159)]);}switch(_0x5f00f1){case _0x50d0eb(0x14a):this[_0x50d0eb(0x15e)][_0x50d0eb(0x163)](this[_0x50d0eb(0x14f)]);break;case _0x50d0eb(0x15a):this[_0x50d0eb(0x15e)][_0x50d0eb(0x163)](this[_0x50d0eb(0x15f)]);break;case _0x50d0eb(0x16f):this[_0x50d0eb(0x15e)][_0x50d0eb(0x163)](this[_0x50d0eb(0x154)]);break;case _0x50d0eb(0x164):this[_0x50d0eb(0x15e)][_0x50d0eb(0x163)](this[_0x50d0eb(0x159)]);}});}}
@@ -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 _0x36f9f=_0xd1a1;(function(_0x12f0d4,_0x21290b){const _0x5735bb=_0xd1a1,_0x50bc67=_0x12f0d4();while(!![]){try{const _0x10eb7e=-parseInt(_0x5735bb(0x177))/0x1*(-parseInt(_0x5735bb(0x175))/0x2)+-parseInt(_0x5735bb(0x169))/0x3*(-parseInt(_0x5735bb(0x161))/0x4)+parseInt(_0x5735bb(0x16c))/0x5*(parseInt(_0x5735bb(0x15d))/0x6)+-parseInt(_0x5735bb(0x15c))/0x7+-parseInt(_0x5735bb(0x173))/0x8+parseInt(_0x5735bb(0x166))/0x9*(-parseInt(_0x5735bb(0x160))/0xa)+-parseInt(_0x5735bb(0x16d))/0xb*(-parseInt(_0x5735bb(0x15e))/0xc);if(_0x10eb7e===_0x21290b)break;else _0x50bc67['push'](_0x50bc67['shift']());}catch(_0x44ad72){_0x50bc67['push'](_0x50bc67['shift']());}}}(_0xf140,0x9e4fc));import{getTranslation as _0x28aa2c}from'../../utils/common-translations.js';import{ButtonView as _0x1ed1e2,IconView as _0x1c1ab6,View as _0x159d12}from'ckeditor5/src/ui.js';function _0xd1a1(_0x8a2643,_0x4f2b38){const _0xf1401a=_0xf140();return _0xd1a1=function(_0xd1a1ac,_0x1ac124){_0xd1a1ac=_0xd1a1ac-0x156;let _0x24a084=_0xf1401a[_0xd1a1ac];return _0x24a084;},_0xd1a1(_0x8a2643,_0x4f2b38);}import{IconDocument as _0x58a22f,IconShowChangesOff as _0x3ccdc2,IconShowChangesOn as _0x4ff04b}from'ckeditor5/src/icons.js';function _0xf140(){const _0x2d4499=['execute','render','filter','div','isVisible','showDiff','isOn','setTemplate','set','iconView','577836ZVjDwT','2013738BktzJM','22776kTDetY','showChangesToggleView','768990IZYsqT','213316XpPIwz','toggleShowChanges','span','bind','AI_SUGGESTION_BUTTON_SHOW_CHANGES','117ZoyncK','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','ck-hidden','72bMDrfJ','showHeader','AI_SUGGESTION_HEADER_TITLE','5WarHZo','3047puFndJ','icon','content','add','isShowChangesToggleVisible','fire','4163432WqmYvK','remove','219686MkaSML','children','1JZUetM','ck-ai-suggestion__header'];_0xf140=function(){return _0x2d4499;};return _0xf140();}export class AISuggestionHeaderView extends _0x159d12{[_0x36f9f(0x15f)];constructor(_0x19bbdc,_0x4c6d31){const _0x232e90=_0x36f9f;super(_0x19bbdc),this[_0x232e90(0x15a)](_0x232e90(0x171),!0x0),this[_0x232e90(0x15f)]=new ShowChangesToggleView(_0x19bbdc),this[_0x232e90(0x15f)][_0x232e90(0x15a)]({'class':_0x232e90(0x167),'label':_0x28aa2c(_0x19bbdc,_0x232e90(0x165)),'withText':!0x0}),this[_0x232e90(0x15f)][_0x232e90(0x158)]=_0x4c6d31[_0x232e90(0x157)],this[_0x232e90(0x15f)][_0x232e90(0x164)](_0x232e90(0x156))['to'](this,_0x232e90(0x171)),this[_0x232e90(0x15f)][_0x232e90(0x164)](_0x232e90(0x16e))['to'](this[_0x232e90(0x15f)],_0x232e90(0x158),_0x5da1f4=>_0x5da1f4?_0x4ff04b:_0x3ccdc2),this[_0x232e90(0x15f)]['on'](_0x232e90(0x179),()=>{const _0x2bb52f=_0x232e90;this[_0x2bb52f(0x15f)][_0x2bb52f(0x158)]=!this[_0x2bb52f(0x15f)][_0x2bb52f(0x158)],this[_0x2bb52f(0x172)](_0x2bb52f(0x162),{'isOn':this[_0x2bb52f(0x15f)][_0x2bb52f(0x158)]});});const _0x395778=new _0x1c1ab6();_0x395778[_0x232e90(0x16f)]=_0x58a22f,this[_0x232e90(0x159)]({'tag':_0x232e90(0x17c),'attributes':{'class':['ck',_0x232e90(0x178),!0x1===_0x4c6d31[_0x232e90(0x16a)]?_0x232e90(0x168):null][_0x232e90(0x17b)](Boolean)},'children':[_0x395778,{'tag':_0x232e90(0x163),'children':[_0x28aa2c(_0x19bbdc,_0x232e90(0x16b))]},this[_0x232e90(0x15f)]]});}}export class ShowChangesToggleView extends _0x1ed1e2{[_0x36f9f(0x17a)](){const _0xf0251d=_0x36f9f;super[_0xf0251d(0x17a)](),this[_0xf0251d(0x176)][_0xf0251d(0x174)](this[_0xf0251d(0x15b)]),this[_0xf0251d(0x176)][_0xf0251d(0x170)](this[_0xf0251d(0x15b)]);}}
@@ -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(_0xe51e05,_0x13aaef){const _0x55672d=_0x375e,_0x181a7f=_0xe51e05();while(!![]){try{const _0x3aded7=-parseInt(_0x55672d(0x85))/0x1*(parseInt(_0x55672d(0x7e))/0x2)+parseInt(_0x55672d(0x84))/0x3+parseInt(_0x55672d(0x7a))/0x4*(-parseInt(_0x55672d(0x7b))/0x5)+parseInt(_0x55672d(0x72))/0x6*(-parseInt(_0x55672d(0x82))/0x7)+parseInt(_0x55672d(0x77))/0x8+-parseInt(_0x55672d(0x73))/0x9+parseInt(_0x55672d(0x75))/0xa;if(_0x3aded7===_0x13aaef)break;else _0x181a7f['push'](_0x181a7f['shift']());}catch(_0x5e4141){_0x181a7f['push'](_0x181a7f['shift']());}}}(_0x4b1a,0x6b6f0));import{ButtonView as _0xc683bd}from'ckeditor5/src/ui.js';import{IconMaximize as _0x522412,IconMinimize as _0x22c5cd}from'ckeditor5/src/icons.js';import{getTranslation as _0x5e3fd3}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x353f23,_0x1491f2){const _0x2489db=_0x375e,_0x3687bd=new _0xc683bd(_0x353f23),_0x131f51=_0x5e3fd3(_0x353f23,_0x2489db(0x86)),_0x24e1dc=_0x5e3fd3(_0x353f23,_0x2489db(0x7d));return _0x3687bd[_0x2489db(0x74)]({'withText':!0x1,'icon':_0x522412,'tooltip':!0x0,'class':_0x2489db(0x78)}),_0x3687bd[_0x2489db(0x79)](_0x2489db(0x80))['to'](_0x1491f2,_0x2489db(0x76),_0xe03c5c=>_0xe03c5c?_0x131f51:_0x24e1dc),_0x3687bd[_0x2489db(0x79)](_0x2489db(0x83))['to'](_0x1491f2,_0x2489db(0x76),_0x3b9862=>_0x3b9862?_0x22c5cd:_0x522412),_0x3687bd[_0x2489db(0x79)](_0x2489db(0x7f))['to'](_0x1491f2,_0x2489db(0x76)),_0x3687bd['on'](_0x2489db(0x7c),()=>{const _0x34ff71=_0x2489db;_0x1491f2[_0x34ff71(0x81)](_0x34ff71(0x71));}),_0x3687bd;}function _0x375e(_0x30951f,_0x38d8cb){const _0x4b1ad0=_0x4b1a();return _0x375e=function(_0x375e37,_0xc9e98d){_0x375e37=_0x375e37-0x71;let _0x5b765a=_0x4b1ad0[_0x375e37];return _0x5b765a;},_0x375e(_0x30951f,_0x38d8cb);}function _0x4b1a(){const _0x318846=['4849056lzoztN','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','bind','112OcFSYK','67985bBsugm','execute','AI_TABS_LABEL_MAXIMIZE','2StYUeC','isOn','label','fire','7609MaYrrV','icon','730770gBqjVS','427511eftslp','AI_TABS_LABEL_MINIMIZE','resizeTabs','3918NhVyXo','3855114YhtOHy','set','15367100qEnIeo','isMaximized'];_0x4b1a=function(){return _0x318846;};return _0x4b1a();}
@@ -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
+ const _0x5c8ad0=_0x38d1;(function(_0x4f178a,_0x2bf45e){const _0x55a16d=_0x38d1,_0x1c938e=_0x4f178a();while(!![]){try{const _0x77949=parseInt(_0x55a16d(0x174))/0x1*(parseInt(_0x55a16d(0x17b))/0x2)+parseInt(_0x55a16d(0x15d))/0x3*(parseInt(_0x55a16d(0x171))/0x4)+-parseInt(_0x55a16d(0x177))/0x5*(parseInt(_0x55a16d(0x178))/0x6)+parseInt(_0x55a16d(0x179))/0x7+-parseInt(_0x55a16d(0x166))/0x8+parseInt(_0x55a16d(0x170))/0x9+parseInt(_0x55a16d(0x16b))/0xa*(parseInt(_0x55a16d(0x16f))/0xb);if(_0x77949===_0x2bf45e)break;else _0x1c938e['push'](_0x1c938e['shift']());}catch(_0x304dfa){_0x1c938e['push'](_0x1c938e['shift']());}}}(_0x22f7,0xdafb1));import{DocumentPosition as _0x1d8bbc}from'./documentposition.js';import{clone as _0x2bf9a2,getParents as _0x22d084,Document as _0x2e95c9,Text as _0x18b2dd,isTag as _0x3ad71d,isText as _0x586ed9,replaceElement as _0x17f422,removeElement as _0x263fee}from'./htmlparser.js';function _0x38d1(_0x2495e5,_0x1de893){const _0x22f778=_0x22f7();return _0x38d1=function(_0x38d1d0,_0x98740f){_0x38d1d0=_0x38d1d0-0x15a;let _0x2ea3f4=_0x22f778[_0x38d1d0];return _0x2ea3f4;},_0x38d1(_0x2495e5,_0x1de893);}export class DocumentRange{[_0x5c8ad0(0x15f)];[_0x5c8ad0(0x164)];constructor(_0x51045a,_0x4b03d8){const _0xb168e=_0x5c8ad0;this[_0xb168e(0x15f)]=_0x51045a,this[_0xb168e(0x164)]=_0x4b03d8;}[_0x5c8ad0(0x15a)](_0x3bc538){const _0x16fbb8=_0x5c8ad0;return this==_0x3bc538||this[_0x16fbb8(0x15f)][_0x16fbb8(0x15a)](_0x3bc538[_0x16fbb8(0x15f)])&&this[_0x16fbb8(0x164)][_0x16fbb8(0x15a)](_0x3bc538[_0x16fbb8(0x164)]);}[_0x5c8ad0(0x16c)](){const _0x1b1ca5=_0x5c8ad0;return new DocumentRange(this[_0x1b1ca5(0x15f)][_0x1b1ca5(0x16c)](_0x1b1ca5(0x15f)),this[_0x1b1ca5(0x164)][_0x1b1ca5(0x16c)](_0x1b1ca5(0x164)));}[_0x5c8ad0(0x169)](){const _0x11c726=_0x5c8ad0,_0xda7370=_0x2bf9a2(this[_0x11c726(0x15f)][_0x11c726(0x176)]),_0x2ef8f1=_0x1d8bbc[_0x11c726(0x15b)](_0xda7370,this[_0x11c726(0x15f)][_0x11c726(0x16e)]),_0x367e9c=_0x1d8bbc[_0x11c726(0x15b)](_0xda7370,this[_0x11c726(0x164)][_0x11c726(0x16e)]);let _0x4ae4f9,_0x1ee3c3;if(_0x586ed9(_0x2ef8f1[_0x11c726(0x173)])){const _0x31741c=_0x2ef8f1[_0x11c726(0x16e)][_0x2ef8f1[_0x11c726(0x16e)][_0x11c726(0x15e)]-0x1],_0x13e051=new _0x18b2dd(_0x2ef8f1[_0x11c726(0x173)][_0x11c726(0x160)][_0x11c726(0x17a)](_0x31741c));_0x17f422(_0x2ef8f1[_0x11c726(0x173)],_0x13e051),_0x4ae4f9=_0x13e051;}else _0x4ae4f9=_0x2ef8f1[_0x11c726(0x16d)];if(_0x586ed9(_0x367e9c[_0x11c726(0x173)])){const _0x5a6a32=_0x367e9c[_0x11c726(0x16e)][_0x367e9c[_0x11c726(0x16e)][_0x11c726(0x15e)]-0x1],_0x14f672=new _0x18b2dd(_0x367e9c[_0x11c726(0x173)][_0x11c726(0x160)][_0x11c726(0x17a)](0x0,_0x5a6a32));_0x17f422(_0x367e9c[_0x11c726(0x173)],_0x14f672),_0x1ee3c3=_0x14f672;}else _0x1ee3c3=_0x367e9c[_0x11c726(0x165)];if(!(_0x4ae4f9&&_0x1ee3c3&&_0xda7370[_0x11c726(0x162)]&&_0xda7370[_0x11c726(0x161)]))return new _0x2e95c9([]);const _0x3f0a66=_0x22d084(_0x4ae4f9),_0x4197b6=_0x22d084(_0x1ee3c3),_0x132fba=[],_0x4d3e6b=[];let _0x228642=_0xda7370[_0x11c726(0x162)];for(;_0x228642&&_0x228642!==_0x4ae4f9;){let _0x181d3c;_0x3f0a66[_0x11c726(0x167)](_0x228642)||_0x132fba[_0x11c726(0x15c)](_0x228642),_0x181d3c=_0x3ad71d(_0x228642)?_0x1d8bbc[_0x11c726(0x172)](_0xda7370,_0x228642,_0x11c726(0x15f)):_0x1d8bbc[_0x11c726(0x163)](_0xda7370,_0x228642),_0x228642=_0x181d3c?_0x181d3c[_0x11c726(0x16d)]:null;}for(_0x228642=_0xda7370[_0x11c726(0x161)];_0x228642&&_0x228642!==_0x1ee3c3;){let _0x374b7f;_0x4197b6[_0x11c726(0x167)](_0x228642)||_0x4d3e6b[_0x11c726(0x15c)](_0x228642),_0x374b7f=_0x3ad71d(_0x228642)?_0x1d8bbc[_0x11c726(0x172)](_0xda7370,_0x228642,_0x11c726(0x164)):_0x1d8bbc[_0x11c726(0x16a)](_0xda7370,_0x228642),_0x228642=_0x374b7f?_0x374b7f[_0x11c726(0x165)]:null;}return _0x132fba[_0x11c726(0x175)](_0x47a8ed=>{_0x263fee(_0x47a8ed);}),_0x4d3e6b[_0x11c726(0x168)]()[_0x11c726(0x175)](_0x1fdee7=>{_0x263fee(_0x1fdee7);}),_0xda7370;}}function _0x22f7(){const _0x20767f=['105670TVvJIP','getNudgedToWordBoundary','nextNode','path','715mDjbvo','12883950yVTLqx','4fIwHpc','createAt','parent','41768BokOgz','forEach','document','251985KfMslZ','162eVfRNa','5282452yNINuy','slice','8pVunoH','isEqual','createFromPath','push','990687SJAkTT','length','start','data','lastChild','firstChild','createAfter','end','previousNode','8901424FcPbsb','includes','reverse','getContent','createBefore'];_0x22f7=function(){return _0x20767f;};return _0x22f7();}
@@ -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(_0x2ad247,_0x4a8b0b){var _0x47365d=_0x45e7,_0x4e60b4=_0x2ad247();while(!![]){try{var _0x1e013c=-parseInt(_0x47365d(0x9f))/0x1+-parseInt(_0x47365d(0x9c))/0x2+-parseInt(_0x47365d(0x9e))/0x3+-parseInt(_0x47365d(0x96))/0x4+-parseInt(_0x47365d(0x95))/0x5+parseInt(_0x47365d(0x97))/0x6*(parseInt(_0x47365d(0x9b))/0x7)+parseInt(_0x47365d(0x94))/0x8*(parseInt(_0x47365d(0x9a))/0x9);if(_0x1e013c===_0x4a8b0b)break;else _0x4e60b4['push'](_0x4e60b4['shift']());}catch(_0x1b8953){_0x4e60b4['push'](_0x4e60b4['shift']());}}}(_0x24d9,0x62138));import{CKEditorError as _0xa9216e}from'ckeditor5/src/utils.js';import{Editor as _0x4a7206}from'ckeditor5/src/core.js';function _0x45e7(_0x275918,_0x4330c8){var _0x24d90c=_0x24d9();return _0x45e7=function(_0x45e78f,_0x5ef49c){_0x45e78f=_0x45e78f-0x91;var _0x2839a7=_0x24d90c[_0x45e78f];return _0x2839a7;},_0x45e7(_0x275918,_0x4330c8);}function _0x24d9(){var _0xa56875=['editors','9LHVAQE','7YwHdWJ','981454BxHjXc','get','1409844SypyVf','222096VeppWw','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.','length','warn','18732136fBLYxG','3613475IiyWJh','860088xYqVjp','1084146COiPLc','ai-get-editor-from-context-no-editor'];_0x24d9=function(){return _0xa56875;};return _0x24d9();}export function getEditorFromContext(_0x1143e9){var _0x2b99da=_0x45e7;if(_0x1143e9 instanceof _0x4a7206)return _0x1143e9;if(_0x1143e9?.[_0x2b99da(0x99)]&&_0x1143e9[_0x2b99da(0x99)][_0x2b99da(0x9d)](0x0))return _0x1143e9[_0x2b99da(0x99)][_0x2b99da(0x92)]>0x1&&console[_0x2b99da(0x93)](_0x2b99da(0x91)),_0x1143e9[_0x2b99da(0x99)][_0x2b99da(0x9d)](0x0);throw new _0xa9216e(_0x2b99da(0x98));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3c4658,_0x37284c){const _0x204ca4=_0x4bae,_0x74d456=_0x3c4658();while(!![]){try{const _0x226594=-parseInt(_0x204ca4(0xb2))/0x1*(-parseInt(_0x204ca4(0xbd))/0x2)+-parseInt(_0x204ca4(0xb8))/0x3*(parseInt(_0x204ca4(0xa6))/0x4)+-parseInt(_0x204ca4(0xac))/0x5+-parseInt(_0x204ca4(0xab))/0x6*(-parseInt(_0x204ca4(0xc0))/0x7)+-parseInt(_0x204ca4(0xa8))/0x8*(parseInt(_0x204ca4(0xaf))/0x9)+-parseInt(_0x204ca4(0x9e))/0xa+parseInt(_0x204ca4(0xa2))/0xb;if(_0x226594===_0x37284c)break;else _0x74d456['push'](_0x74d456['shift']());}catch(_0x38a8cc){_0x74d456['push'](_0x74d456['shift']());}}}(_0x6d08,0x57ea9));function _0x4bae(_0x356b72,_0x881f8){const _0x6d089c=_0x6d08();return _0x4bae=function(_0x4baeb3,_0x47ad0b){_0x4baeb3=_0x4baeb3-0x9a;let _0x44b10e=_0x6d089c[_0x4baeb3];return _0x44b10e;},_0x4bae(_0x356b72,_0x881f8);}import{transformOperationSets as _0xbb68ac}from'ckeditor5/src/engine.js';import{append as _0x278b96,findByAttribute as _0x26649e,prependChild as _0xdfb89e,removeElement as _0x4848bc,serialize as _0x1c8e3b}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x1678a5,interaction:_0x3da546,reply:_0x3879dd,groups:_0x5a68c8,transform:_0x3aa162,documentCompare:_0x5c0646,documentCompareOptions:_0x501eb8}){const _0x43e072=_0x4bae,_0x51049d=_0x3da546[_0x43e072(0xa4)]();if(!_0x51049d)return[];const _0x564b84=_0x51049d[_0x43e072(0xae)],_0x425b51=_0x51049d[_0x43e072(0xa5)],_0x304191=_0x3879dd[_0x43e072(0xa1)][_0x43e072(0xa0)](!0x0);for(const {changes:_0x8a64b2}of _0x5a68c8){const _0xdf0628=_0x8a64b2[_0x43e072(0xbb)](_0x1f98da=>_0x43e072(0x9d)!=_0x1f98da[_0x43e072(0xbe)])[_0x43e072(0xa7)](_0x3ae33a=>_0x26649e(_0x43e072(0xbf),_0x3ae33a['id'],_0x304191)),_0xcbe03c=_0x8a64b2[_0x43e072(0xbb)](_0x13c66c=>_0x43e072(0xb0)!=_0x13c66c[_0x43e072(0xbe)])[_0x43e072(0xa7)](_0x3132bc=>_0x3132bc[_0x43e072(0x9b)][_0x43e072(0xa0)](!0x0));let _0xcdfbc4=null;if(_0xdf0628[_0x43e072(0xb9)]){_0xcdfbc4=_0xdf0628[0x0][_0x43e072(0xb1)];for(let _0x4b0cf9=0x0;_0x4b0cf9<_0xdf0628[_0x43e072(0xb9)];_0x4b0cf9++)_0x4848bc(_0xdf0628[_0x4b0cf9]);}if(_0xcbe03c[_0x43e072(0xb9)]){_0xcdfbc4||(_0x8a64b2[0x0][_0x43e072(0xa9)]?_0xcdfbc4=_0x26649e(_0x43e072(0xbf),_0x8a64b2[0x0][_0x43e072(0xa9)],_0x304191):(_0xcdfbc4=_0xcbe03c[_0x43e072(0x9a)](),_0xdfb89e(_0x304191,_0xcdfbc4)));for(let _0x1b6c77=0x0;_0x1b6c77<_0xcbe03c[_0x43e072(0xb9)];_0x1b6c77++)_0x278b96(_0xcdfbc4,_0xcbe03c[_0x1b6c77]),_0xcdfbc4=_0xcbe03c[_0x1b6c77];}}const _0xe627bf=_0x1c8e3b(_0x304191),_0x23650f=_0x5c0646[_0x43e072(0xb4)](_0x564b84,_0xe627bf,_0x501eb8)[_0x43e072(0xb7)]();if(_0x3aa162){const _0x12ac43=_0x1678a5[_0x43e072(0xb5)][_0x43e072(0xbc)][_0x43e072(0xba)][_0x43e072(0xb7)](_0x425b51),_0x638a9c={'document':_0x1678a5[_0x43e072(0xb5)][_0x43e072(0xbc)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xbb68ac(_0x23650f,_0x12ac43,_0x638a9c)[_0x43e072(0xa3)];}return _0x23650f;}export function fixMarkerOperationOldRange(_0x30a2c9,_0xb2ae1c){const _0xdc097f=_0x4bae;if(_0xdc097f(0x9c)!=_0xb2ae1c[_0xdc097f(0xbe)])return;const _0x581cf2=_0x30a2c9[_0xdc097f(0xb5)][_0xdc097f(0xb6)][_0xdc097f(0xb3)](_0xb2ae1c[_0xdc097f(0xaa)]);_0x581cf2&&(_0xb2ae1c[_0xdc097f(0xad)]=_0x581cf2[_0xdc097f(0x9f)]());}function _0x6d08(){const _0x35991f=['history','filter','document','84cOlRvW','type','data-id','27657FLsuug','shift','node','marker','new','5837940RrgTva','getRange','cloneNode','documentContextContent','16012612nFVXJO','operationsA','getDocumentContext','version','428lSWqUD','map','8XZyJjd','anchorId','name','264jkABaG','3491055MQoOOt','oldRange','content','5264829TpWICm','removed','previousSibling','14923wUePdW','get','getDiff','model','markers','getOperations','819QKrdLD','length'];_0x6d08=function(){return _0x35991f;};return _0x6d08();}
23
+ (function(_0x4c4d85,_0xe24bc6){const _0x1e2dde=_0x2032,_0x524f74=_0x4c4d85();while(!![]){try{const _0x5e7d78=parseInt(_0x1e2dde(0x163))/0x1+-parseInt(_0x1e2dde(0x176))/0x2+parseInt(_0x1e2dde(0x16d))/0x3*(parseInt(_0x1e2dde(0x162))/0x4)+parseInt(_0x1e2dde(0x16c))/0x5+parseInt(_0x1e2dde(0x17e))/0x6*(-parseInt(_0x1e2dde(0x180))/0x7)+parseInt(_0x1e2dde(0x16b))/0x8*(parseInt(_0x1e2dde(0x165))/0x9)+-parseInt(_0x1e2dde(0x172))/0xa;if(_0x5e7d78===_0xe24bc6)break;else _0x524f74['push'](_0x524f74['shift']());}catch(_0xc17613){_0x524f74['push'](_0x524f74['shift']());}}}(_0x21ac,0x3e5ac));import{transformOperationSets as _0xb14dd1}from'ckeditor5/src/engine.js';import{append as _0x43066d,findByAttribute as _0x5d7d38,prependChild as _0x5adf1b,removeElement as _0x512f8c,serialize as _0x1a6d05}from'./htmlparser.js';function _0x2032(_0x34ffa1,_0x23be3e){const _0x21ac0f=_0x21ac();return _0x2032=function(_0x203234,_0x2fb969){_0x203234=_0x203234-0x15d;let _0x1505f7=_0x21ac0f[_0x203234];return _0x1505f7;},_0x2032(_0x34ffa1,_0x23be3e);}export function getOperationsFromReply({editor:_0x39bbb5,interaction:_0x19a463,reply:_0x17061,groups:_0x5e55c6,transform:_0x40221c,documentCompare:_0x2cc5b9,documentCompareOptions:_0x39205c}){const _0x13abaa=_0x2032,_0x116293=_0x19a463[_0x13abaa(0x181)]();if(!_0x116293)return[];const _0x931667=_0x116293[_0x13abaa(0x16f)],_0x34834c=_0x116293[_0x13abaa(0x177)],_0x2a18ab=_0x17061[_0x13abaa(0x17d)][_0x13abaa(0x15f)](!0x0);for(const {changes:_0x5f1749}of _0x5e55c6){const _0x13ab76=_0x5f1749[_0x13abaa(0x15d)](_0x3ab459=>_0x13abaa(0x171)!=_0x3ab459[_0x13abaa(0x17a)])[_0x13abaa(0x169)](_0x58e41b=>_0x5d7d38(_0x13abaa(0x160),_0x58e41b['id'],_0x2a18ab)),_0x12e74b=_0x5f1749[_0x13abaa(0x15d)](_0x38475f=>_0x13abaa(0x16e)!=_0x38475f[_0x13abaa(0x17a)])[_0x13abaa(0x169)](_0x165bda=>_0x165bda[_0x13abaa(0x164)][_0x13abaa(0x15f)](!0x0));let _0xc33b34=null;if(_0x13ab76[_0x13abaa(0x166)]){_0xc33b34=_0x13ab76[0x0][_0x13abaa(0x17b)];for(let _0x12b7fe=0x0;_0x12b7fe<_0x13ab76[_0x13abaa(0x166)];_0x12b7fe++)_0x512f8c(_0x13ab76[_0x12b7fe]);}if(_0x12e74b[_0x13abaa(0x166)]){_0xc33b34||(_0x5f1749[0x0][_0x13abaa(0x161)]?_0xc33b34=_0x5d7d38(_0x13abaa(0x160),_0x5f1749[0x0][_0x13abaa(0x161)],_0x2a18ab):(_0xc33b34=_0x12e74b[_0x13abaa(0x17c)](),_0x5adf1b(_0x2a18ab,_0xc33b34)));for(let _0x77ec48=0x0;_0x77ec48<_0x12e74b[_0x13abaa(0x166)];_0x77ec48++)_0x43066d(_0xc33b34,_0x12e74b[_0x77ec48]),_0xc33b34=_0x12e74b[_0x77ec48];}}const _0x5ce40b=_0x1a6d05(_0x2a18ab),_0x395500=_0x2cc5b9[_0x13abaa(0x16a)](_0x931667,_0x5ce40b,_0x39205c)[_0x13abaa(0x17f)]();if(_0x40221c){const _0xba03a=_0x39bbb5[_0x13abaa(0x178)][_0x13abaa(0x175)][_0x13abaa(0x168)][_0x13abaa(0x17f)](_0x34834c),_0x3e89c8={'document':_0x39bbb5[_0x13abaa(0x178)][_0x13abaa(0x175)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0xb14dd1(_0x395500,_0xba03a,_0x3e89c8)[_0x13abaa(0x15e)];}return _0x395500;}export function fixMarkerOperationOldRange(_0x2ffa94,_0x235325){const _0x541f58=_0x2032;if(_0x541f58(0x179)!=_0x235325[_0x541f58(0x17a)])return;const _0x23111c=_0x2ffa94[_0x541f58(0x178)][_0x541f58(0x173)][_0x541f58(0x174)](_0x235325[_0x541f58(0x167)]);_0x23111c&&(_0x235325[_0x541f58(0x170)]=_0x23111c[_0x541f58(0x182)]());}function _0x21ac(){const _0x365f8e=['getOperations','1672881GNdywL','getDocumentContext','getRange','filter','operationsA','cloneNode','data-id','anchorId','579996vcYWyq','170291HMCdeR','node','3984921lmYAqi','length','name','history','map','getDiff','8MZVQhA','681975WJRLfQ','3pbxlsK','removed','content','oldRange','new','269490UsmQXF','markers','get','document','268270EclafG','version','model','marker','type','previousSibling','shift','documentContextContent','12UgMGVy'];_0x21ac=function(){return _0x365f8e;};return _0x21ac();}