@ckeditor/ckeditor5-ai 47.7.3-alpha.0 → 47.7.3

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 (78) 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/awstextadapter.js +1 -1
  8. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  9. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  10. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  11. package/src/aiassistant/ui/form/aiformview.js +1 -1
  12. package/src/aichat/aichat.js +1 -1
  13. package/src/aichat/aichatballoon.js +1 -1
  14. package/src/aichat/aichatcontroller.js +1 -1
  15. package/src/aichat/aichatui.js +1 -1
  16. package/src/aichat/model/aichatcontext.js +1 -1
  17. package/src/aichat/model/aichatconversation.js +1 -1
  18. package/src/aichat/model/aichatinteraction.js +1 -1
  19. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  20. package/src/aichat/ui/aichatfeedview.js +1 -1
  21. package/src/aichat/ui/aichatheaderview.js +1 -1
  22. package/src/aichat/ui/aichatview.js +1 -1
  23. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  24. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  25. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  26. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  27. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  28. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  29. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  30. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  31. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  32. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  33. package/src/aichat/utils/eventnames.js +1 -1
  34. package/src/aichathistory/aichathistory.js +1 -1
  35. package/src/aichathistory/aichathistorycontroller.js +1 -1
  36. package/src/aichathistory/aichathistoryui.js +1 -1
  37. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  38. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  39. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  40. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  41. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  42. package/src/aicore/aiediting.js +1 -1
  43. package/src/aicore/model/aiinteraction.js +1 -1
  44. package/src/aicore/model/aimodels.js +1 -1
  45. package/src/aicore/model/aireply.js +1 -1
  46. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  47. package/src/aicore/pipeline/airesponseparser.js +2 -2
  48. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  49. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  50. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  51. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  52. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  53. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  54. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  55. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  56. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  57. package/src/aicore/utils/documentrange.js +1 -1
  58. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  59. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  60. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  61. package/src/aicore/utils/htmlparser.js +1 -1
  62. package/src/aicore/utils/htmlstreamer.js +1 -1
  63. package/src/aieditorintegration/aieditorintegration.js +1 -1
  64. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  65. package/src/aiquickactions/aiquickactionsui.js +1 -1
  66. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  67. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  68. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  69. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  70. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  71. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  72. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  73. package/src/aireviewcore/aireviewcoreui.js +1 -1
  74. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  75. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  76. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  77. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  78. package/src/aitabs/aitabs.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49de9f=_0x3dcc;(function(_0x2060ef,_0x277ae7){const _0x15d233=_0x3dcc,_0x360f51=_0x2060ef();while(!![]){try{const _0x2e7a0b=parseInt(_0x15d233(0x13d))/0x1+-parseInt(_0x15d233(0x14f))/0x2+-parseInt(_0x15d233(0x14e))/0x3*(-parseInt(_0x15d233(0x126))/0x4)+parseInt(_0x15d233(0x160))/0x5*(parseInt(_0x15d233(0x149))/0x6)+parseInt(_0x15d233(0x14c))/0x7+-parseInt(_0x15d233(0x142))/0x8*(parseInt(_0x15d233(0x159))/0x9)+-parseInt(_0x15d233(0x162))/0xa;if(_0x2e7a0b===_0x277ae7)break;else _0x360f51['push'](_0x360f51['shift']());}catch(_0x1b108d){_0x360f51['push'](_0x360f51['shift']());}}}(_0x6f44,0x3d03f));function _0x3dcc(_0xc31514,_0x1cb50f){const _0x6f44e=_0x6f44();return _0x3dcc=function(_0x3dcc54,_0x1a8e81){_0x3dcc54=_0x3dcc54-0x122;let _0x24535a=_0x6f44e[_0x3dcc54];return _0x24535a;},_0x3dcc(_0xc31514,_0x1cb50f);}function _0x6f44(){const _0x18c10f=['lastChild','invalidIds','_findReferenceNode','474868dCpjBh','_markLastTagElementUnstable','data-unstable','_replaceNode','includes','45040FRehFB','push','_getUid','match','data-id','_removeSpecialComments','_findFallbackReferenceNode','1860WujYVY','_isExistingNode','new-element','1080037WdxfiX','filter','492bBIQyy','952088vVyNzU','parentNode','_storeDeletedElementIds','_existingDataIds','cutAfterLastChange','beforebegin','data-wrapped-id','nextSibling','_isDelNode','length','369KWsMju','previousSibling','forEach','_isExistingContentComment','cloneNode','merge','afterbegin','4895YSnnSr','_findPrevElementWithDataId','4535880qWuBze','true','_markWrappedElements','nodeType','_insertNodes','childNodes','afterend','from','_hasWrappedParent','data-removed','_getNodeDataId','11652WOkFhJ','splice','_markUnstableElements','lastTouchedId','trim','modifiedIds','map','reverse','replaceRemovedWith','_findNextElementWithDataId','_touchedNodesState','removedIds','slice','markUnstableElements','_isNewNode','_generateUid','indexOf','newIds','has','markUnstableElementsDepth'];_0x6f44=function(){return _0x18c10f;};return _0x6f44();}import{ObservableMixin as _0x4fad73,uid as _0xd1e83}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x4d5921,findByAttribute as _0x15c23b,getAttribute as _0x98a456,isComment as _0x231838,isTag as _0x343f03,insertElement as _0xdfb5d1,moveElement as _0x234818,removeElement as _0xf2ba7a,replaceElement as _0x4f87b9,serialize as _0x51cff2,setAttribute as _0x1a99a6,clone as _0x241e4c,findAllComments as _0x11492b,getParents as _0x57e71e,getNodeNestingLevel as _0x5701b4,areNodesSame as _0x22b989,removeElementsAfter as _0x2af53e}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x4fad73(){[_0x49de9f(0x135)];[_0x49de9f(0x130)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x49de9f(0x152)]=new Set();constructor(_0x1ccc9e){const _0xddb038=_0x49de9f;super(),this[_0xddb038(0x135)]=_0x1ccc9e||_0xd1e83;}[_0x49de9f(0x15e)](_0x84caa3,_0x54286f,_0x5b79f9){const _0x302b0e=_0x49de9f,_0x4550ae=_0x241e4c(_0x84caa3);if(0x0===_0x54286f[_0x302b0e(0x167)][_0x302b0e(0x158)]){const _0x1e9b4f=[];return _0x4d5921(_0x302b0e(0x146),_0x302b0e(0x14b),_0x4550ae)[_0x302b0e(0x15b)](_0x39d96d=>{const _0x2efcda=_0x302b0e,_0x77d337=this[_0x2efcda(0x135)]();_0x1a99a6(_0x39d96d,_0x2efcda(0x146),_0x77d337),_0x1e9b4f[_0x2efcda(0x143)](_0x77d337);}),this[_0x302b0e(0x147)](_0x4550ae),{'parsedContent':_0x4550ae,'newNodeIds':_0x1e9b4f,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x5b79f9&&_0x5b79f9[_0x302b0e(0x133)]&&this[_0x302b0e(0x13e)](_0x4550ae),this[_0x302b0e(0x130)][_0x302b0e(0x137)]=[],this[_0x302b0e(0x130)][_0x302b0e(0x12b)]=[],this[_0x302b0e(0x130)][_0x302b0e(0x131)]=[],this[_0x302b0e(0x130)][_0x302b0e(0x13b)]=[],this[_0x302b0e(0x130)][_0x302b0e(0x129)]=null,this[_0x302b0e(0x152)]=new Set(_0x4d5921(_0x302b0e(0x146),null,_0x54286f)[_0x302b0e(0x12c)](_0x172f51=>_0x98a456(_0x172f51,_0x302b0e(0x146)))[_0x302b0e(0x14d)](_0x502099=>!!_0x502099));let _0x217b41=-0x1,_0x4cfe9b=!0x1;const _0x1897fb=_0x4550ae[_0x302b0e(0x167)],_0x3f6aea=Array[_0x302b0e(0x122)](_0x1897fb)[_0x302b0e(0x14d)](_0x5f4016=>!(0x3===_0x5f4016[_0x302b0e(0x165)]&&''===_0x51cff2(_0x5f4016)[_0x302b0e(0x12a)]())),_0x1e7a27=_0x3f6aea[_0x302b0e(0x158)];for(let _0x4745dd=0x0;_0x4745dd<_0x1e7a27;_0x4745dd++){const _0xd9d6f9=_0x3f6aea[_0x4745dd],_0x1f8b66=_0x3f6aea[_0x4745dd+0x1];if(this[_0x302b0e(0x134)](_0xd9d6f9)){if(-0x1===_0x217b41&&(_0x217b41=_0x4745dd),this[_0x302b0e(0x164)](_0xd9d6f9),!this[_0x302b0e(0x134)](_0x1f8b66)){const [_0x4e1a3c,_0x3c6fba]=this[_0x302b0e(0x13c)](_0xd9d6f9,_0x4cfe9b,_0x54286f);if(_0x4e1a3c){const _0x1e5a11=Array[_0x302b0e(0x122)](_0x3f6aea)[_0x302b0e(0x132)](_0x217b41,_0x4745dd+0x1);this[_0x302b0e(0x166)](_0x4e1a3c,_0x1e5a11,_0x3c6fba),_0x217b41=-0x1;}}}else{if(this[_0x302b0e(0x15c)](_0xd9d6f9))_0x4cfe9b=!0x0;else{if(this[_0x302b0e(0x14a)](_0xd9d6f9)){const _0x1ad965=_0x98a456(_0xd9d6f9,_0x302b0e(0x146));if(_0x1ad965&&this[_0x302b0e(0x152)][_0x302b0e(0x138)](_0x1ad965)){const _0x286072=_0x15c23b(_0x302b0e(0x146),_0x1ad965,_0x54286f);this[_0x302b0e(0x140)](_0x286072,_0xd9d6f9);}if(this[_0x302b0e(0x130)][_0x302b0e(0x131)][_0x302b0e(0x141)](_0x1ad965)){const _0x1921e9=this[_0x302b0e(0x130)][_0x302b0e(0x131)][_0x302b0e(0x136)](_0x1ad965);this[_0x302b0e(0x130)][_0x302b0e(0x131)][_0x302b0e(0x127)](_0x1921e9,0x1);}}else{if(this[_0x302b0e(0x157)](_0xd9d6f9)){const _0x3e61a8=_0x98a456(_0xd9d6f9,_0x302b0e(0x146));this[_0x302b0e(0x130)][_0x302b0e(0x12b)][_0x302b0e(0x141)](_0x3e61a8)||this[_0x302b0e(0x151)](_0xd9d6f9);}}}}}for(const _0x373bb0 of this[_0x302b0e(0x130)][_0x302b0e(0x131)]){const _0x290c97=_0x15c23b(_0x302b0e(0x146),_0x373bb0,_0x54286f);if(_0x290c97){if(_0x5b79f9&&_0x5b79f9[_0x302b0e(0x12e)]){this[_0x302b0e(0x130)][_0x302b0e(0x129)]=_0x373bb0;const _0xcd1138=_0x5b79f9[_0x302b0e(0x12e)][_0x302b0e(0x15d)](!0x0);_0x1a99a6(_0xcd1138,_0x302b0e(0x146),_0x373bb0),_0x1a99a6(_0xcd1138,_0x302b0e(0x124),_0x302b0e(0x163)),_0x4f87b9(_0x290c97,_0xcd1138);}else _0xf2ba7a(_0x290c97);}}if(_0x4d5921(_0x302b0e(0x155),null,_0x54286f)[_0x302b0e(0x15b)](_0x387477=>{const _0x534066=_0x302b0e,_0x5906e5=_0x98a456(_0x387477,_0x534066(0x155)),_0x4774b3=_0x15c23b(_0x534066(0x146),_0x5906e5,_0x54286f);_0x4774b3&&_0x234818(_0x4774b3,_0x387477);}),_0x4d5921(_0x302b0e(0x146),_0x302b0e(0x14b),_0x54286f)[_0x302b0e(0x15b)](_0x7ce45f=>{const _0x9ab5d3=_0x302b0e,_0x329cad=this[_0x9ab5d3(0x144)](_0x7ce45f);_0x1a99a6(_0x7ce45f,_0x9ab5d3(0x146),_0x329cad),this[_0x9ab5d3(0x130)][_0x9ab5d3(0x137)][_0x9ab5d3(0x143)](_0x329cad);}),this[_0x302b0e(0x147)](_0x54286f),_0x5b79f9&&_0x5b79f9[_0x302b0e(0x133)]&&this[_0x302b0e(0x128)](_0x54286f,_0x5b79f9[_0x302b0e(0x139)]||0x0),_0x5b79f9&&_0x5b79f9[_0x302b0e(0x153)]&&this[_0x302b0e(0x130)][_0x302b0e(0x129)]){let _0x14c602=_0x15c23b(_0x302b0e(0x146),this[_0x302b0e(0x130)][_0x302b0e(0x129)],_0x54286f);for(;_0x14c602;)_0x2af53e(_0x14c602),_0x14c602=_0x14c602[_0x302b0e(0x150)];}return{'parsedContent':_0x54286f,'newNodeIds':this[_0x302b0e(0x130)][_0x302b0e(0x137)],'modifiedNodeIds':this[_0x302b0e(0x130)][_0x302b0e(0x12b)],'removedNodeIds':this[_0x302b0e(0x130)][_0x302b0e(0x131)]};}[_0x49de9f(0x166)](_0x5cd1a0,_0x1a01b2,_0x359d2d){const _0x3035c8=_0x49de9f;for(const _0x1f2fc8 of _0x1a01b2){const _0x3d3f78=this[_0x3035c8(0x144)](_0x1f2fc8);_0x1a99a6(_0x1f2fc8,_0x3035c8(0x146),_0x3d3f78),this[_0x3035c8(0x130)][_0x3035c8(0x137)][_0x3035c8(0x143)](_0x3d3f78),this[_0x3035c8(0x130)][_0x3035c8(0x129)]=_0x3d3f78;}const _0x199b22=_0x3035c8(0x15f)===_0x359d2d||_0x3035c8(0x168)===_0x359d2d?_0x1a01b2[_0x3035c8(0x12d)]():_0x1a01b2;for(const _0x6a451 of _0x199b22)_0xdfb5d1(_0x5cd1a0,_0x6a451,_0x359d2d);}[_0x49de9f(0x140)](_0x4b3da1,_0x1cfc53){const _0x24c148=_0x49de9f;if(!_0x4b3da1)return;if(_0x22b989(_0x4b3da1,_0x1cfc53))return;const _0x4789fa=this[_0x24c148(0x144)](_0x4b3da1);_0x1a99a6(_0x1cfc53,_0x24c148(0x146),_0x4789fa),this[_0x24c148(0x130)][_0x24c148(0x12b)][_0x24c148(0x143)](_0x4789fa),this[_0x24c148(0x130)][_0x24c148(0x129)]=_0x4789fa,_0x4f87b9(_0x4b3da1,_0x1cfc53[_0x24c148(0x15d)](!0x0));}[_0x49de9f(0x13c)](_0x9d224d,_0x2fe52b,_0x65f623){const _0x1a7fc3=_0x49de9f,_0xb6fe03=this[_0x1a7fc3(0x161)](_0x9d224d,!0x1);if(_0xb6fe03){const _0x1c0cac=this[_0x1a7fc3(0x125)](_0xb6fe03),_0x74bbf1=_0x15c23b(_0x1a7fc3(0x146),_0x1c0cac,_0x65f623);if(_0x74bbf1)return[_0x74bbf1,_0x1a7fc3(0x168)];this[_0x1a7fc3(0x130)][_0x1a7fc3(0x13b)][_0x1a7fc3(0x143)](_0x1c0cac);}const _0x18f002=this[_0x1a7fc3(0x12f)](_0x9d224d,!0x1);if(_0x18f002){const _0xc13d5c=this[_0x1a7fc3(0x125)](_0x18f002),_0x3af45c=_0x15c23b(_0x1a7fc3(0x146),_0xc13d5c,_0x65f623);if(_0x3af45c)return[_0x3af45c,_0x1a7fc3(0x154)];this[_0x1a7fc3(0x130)][_0x1a7fc3(0x13b)][_0x1a7fc3(0x143)](_0xc13d5c);}return _0x2fe52b?_0x9d224d[_0x1a7fc3(0x156)]?this[_0x1a7fc3(0x148)](_0x9d224d,_0x65f623):[_0x65f623[_0x1a7fc3(0x167)][_0x65f623[_0x1a7fc3(0x167)][_0x1a7fc3(0x158)]-0x1],_0x1a7fc3(0x168)]:[_0x65f623[_0x1a7fc3(0x167)][0x0],_0x1a7fc3(0x154)];}[_0x49de9f(0x148)](_0x19e8dc,_0x35d606){const _0x23dc2f=_0x49de9f,_0xd6d705=[],_0x4f730a=this[_0x23dc2f(0x161)](_0x19e8dc,!0x0);if(_0x4f730a){const _0x1e8449=this[_0x23dc2f(0x125)](_0x4f730a),_0x29b456=_0x15c23b(_0x23dc2f(0x146),_0x1e8449,_0x35d606);_0x29b456&&_0xd6d705[_0x23dc2f(0x143)]([_0x29b456,_0x23dc2f(0x168)]);}const _0x1ab793=this[_0x23dc2f(0x12f)](_0x19e8dc,!0x0);if(_0x1ab793){const _0x521043=this[_0x23dc2f(0x125)](_0x1ab793),_0x2e4a27=_0x15c23b(_0x23dc2f(0x146),_0x521043,_0x35d606);_0x2e4a27&&_0xd6d705[_0x23dc2f(0x143)]([_0x2e4a27,_0x23dc2f(0x154)]);}if(_0xd6d705[_0x23dc2f(0x158)]>0x1)return _0x5701b4(_0xd6d705[0x0][0x0])<=_0x5701b4(_0xd6d705[0x1][0x0])?_0xd6d705[0x0]:_0xd6d705[0x1];return 0x1===_0xd6d705[_0x23dc2f(0x158)]?_0xd6d705[0x0]:[_0x35d606[_0x23dc2f(0x13a)],_0x23dc2f(0x168)];}[_0x49de9f(0x12f)](_0x834852,_0x139ba4){const _0x45b58f=_0x49de9f;let _0x5b2907=_0x834852[_0x45b58f(0x156)],_0x58e1c8=null,_0x364ed2=!0x1;for(;_0x5b2907;){if(_0x231838(_0x5b2907)){if(this[_0x45b58f(0x157)](_0x5b2907)&&(_0x58e1c8=_0x5b2907),this[_0x45b58f(0x15c)](_0x5b2907)&&_0x139ba4&&!_0x364ed2){_0x364ed2=!0x0,_0x5b2907=_0x5b2907[_0x45b58f(0x156)];continue;}break;}const _0x3b1e56=_0x98a456(_0x5b2907,_0x45b58f(0x146));if(_0x3b1e56&&_0x45b58f(0x14b)!==_0x3b1e56&&this[_0x45b58f(0x152)][_0x45b58f(0x138)](_0x3b1e56)){_0x58e1c8=_0x5b2907;break;}_0x5b2907=_0x5b2907[_0x45b58f(0x156)];}return _0x58e1c8;}[_0x49de9f(0x161)](_0x36e56f,_0x5aaf06){const _0x544385=_0x49de9f;let _0x5725e9=_0x36e56f[_0x544385(0x15a)],_0x378a88=null,_0x3f04fd=!0x1;for(;_0x5725e9;){if(_0x231838(_0x5725e9)){if(this[_0x544385(0x157)](_0x5725e9)&&(_0x378a88=_0x5725e9),this[_0x544385(0x15c)](_0x5725e9)&&_0x5aaf06&&!_0x3f04fd){_0x3f04fd=!0x0,_0x5725e9=_0x5725e9[_0x544385(0x15a)];continue;}break;}const _0x222df0=_0x98a456(_0x5725e9,_0x544385(0x146));if(_0x222df0&&_0x544385(0x14b)!==_0x222df0&&this[_0x544385(0x152)][_0x544385(0x138)](_0x222df0)){_0x378a88=_0x5725e9;break;}_0x5725e9=_0x5725e9[_0x544385(0x15a)];}return _0x378a88;}[_0x49de9f(0x164)](_0x4f7d2d){const _0x5f4d12=_0x49de9f;_0x343f03(_0x4f7d2d)&&_0x4d5921(_0x5f4d12(0x146),null,_0x4f7d2d)[_0x5f4d12(0x15b)](_0x4eb481=>{const _0x16c7fc=_0x5f4d12;if(this[_0x16c7fc(0x14a)](_0x4eb481)&&!this[_0x16c7fc(0x123)](_0x4eb481)){const _0x44963b=_0x98a456(_0x4eb481,_0x16c7fc(0x146));_0x1a99a6(_0x4eb481,_0x16c7fc(0x155),_0x44963b),_0x1a99a6(_0x4eb481,_0x16c7fc(0x146),null);}});}[_0x49de9f(0x125)](_0x4b3e2c){const _0x208824=_0x49de9f;if(!_0x4b3e2c)return null;if(_0x343f03(_0x4b3e2c))return _0x98a456(_0x4b3e2c,_0x208824(0x146));if(_0x231838(_0x4b3e2c)){const _0x4e8177=_0x51cff2(_0x4b3e2c)[_0x208824(0x145)](/removed[\s*-]data-id="([^"]+)"/);if(_0x4e8177&&_0x4e8177[0x1])return _0x4e8177[0x1];}return null;}[_0x49de9f(0x151)](_0x254d8d){const _0x5f2242=_0x49de9f;if(_0x231838(_0x254d8d)){const _0x5ebcfd=_0x51cff2(_0x254d8d)[_0x5f2242(0x145)](/removed[\s*-]data-id="([^"]+)"/);_0x5ebcfd&&_0x5ebcfd[0x1]&&this[_0x5f2242(0x130)][_0x5f2242(0x131)][_0x5f2242(0x143)](_0x5ebcfd[0x1]);}}[_0x49de9f(0x144)](_0xcc149e){const _0x52fd92=_0x49de9f;return this[_0x52fd92(0x14a)](_0xcc149e)?_0x98a456(_0xcc149e,_0x52fd92(0x146)):this[_0x52fd92(0x135)]();}[_0x49de9f(0x147)](_0x1b41ba){const _0x5b228d=_0x49de9f;_0x11492b(_0x1b41ba)[_0x5b228d(0x14d)](_0xb8756=>this[_0x5b228d(0x157)](_0xb8756)||this[_0x5b228d(0x15c)](_0xb8756))[_0x5b228d(0x15b)](_0x844e12=>{_0xf2ba7a(_0x844e12);});}[_0x49de9f(0x13e)](_0x7da7e1){const _0x31d14b=_0x49de9f,_0x431af4=_0x7da7e1[_0x31d14b(0x167)],_0x289a96=_0x431af4[_0x431af4[_0x31d14b(0x158)]-0x1];_0x289a96&&_0x343f03(_0x289a96)&&_0x1a99a6(_0x289a96,_0x31d14b(0x13f),_0x31d14b(0x163));}[_0x49de9f(0x128)](_0x20feeb,_0x42c382){const _0x15e4fc=_0x49de9f,_0x36514f=_0x15c23b(_0x15e4fc(0x13f),_0x15e4fc(0x163),_0x20feeb);if(!_0x36514f)return;const _0x2e1f99=_0x57e71e(_0x36514f)[_0x15e4fc(0x132)](0x0,-0x1),_0x3a66fa=_0x2e1f99[_0x15e4fc(0x158)];let _0x188488=_0x36514f;if(_0x3a66fa>_0x42c382){let _0x1ddf0f=_0x3a66fa,_0x158bf2=null;for(;_0x1ddf0f>_0x42c382&&_0x1ddf0f>=0x0;)_0x1ddf0f--,_0x158bf2=_0x2e1f99[_0x1ddf0f];_0x158bf2&&(_0x188488=_0x158bf2,_0x1a99a6(_0x36514f,_0x15e4fc(0x13f),null),_0x1a99a6(_0x158bf2,_0x15e4fc(0x13f),_0x15e4fc(0x163)));}else{if(_0x3a66fa<_0x42c382){let _0x49a5d4=_0x3a66fa,_0x12ca37=_0x36514f;for(;_0x49a5d4<_0x42c382;){const _0x551fc3=_0x12ca37[_0x15e4fc(0x167)][_0x15e4fc(0x14d)](_0x458b4b=>_0x343f03(_0x458b4b));if(0x0===_0x551fc3[_0x15e4fc(0x158)])break;_0x49a5d4++,_0x12ca37=_0x551fc3[_0x551fc3[_0x15e4fc(0x158)]-0x1];}_0x12ca37&&(_0x188488=_0x12ca37,_0x1a99a6(_0x36514f,_0x15e4fc(0x13f),null),_0x1a99a6(_0x12ca37,_0x15e4fc(0x13f),_0x15e4fc(0x163)));}}let _0x1adffc=_0x188488;for(;_0x1adffc;){for(;_0x1adffc[_0x15e4fc(0x156)];)_0x1adffc=_0x1adffc[_0x15e4fc(0x156)],_0x343f03(_0x1adffc)&&_0x1a99a6(_0x1adffc,_0x15e4fc(0x13f),_0x15e4fc(0x163));_0x1adffc=_0x1adffc[_0x15e4fc(0x150)];}}[_0x49de9f(0x134)](_0x1bc481){const _0x54115c=_0x49de9f;return Boolean(_0x54115c(0x14b)===_0x98a456(_0x1bc481,_0x54115c(0x146)));}[_0x49de9f(0x14a)](_0x350441){const _0x5db1cb=_0x49de9f;return Boolean((_0x98a456(_0x350441,_0x5db1cb(0x146))||'')[_0x5db1cb(0x158)]>0x0&&_0x5db1cb(0x14b)!==_0x98a456(_0x350441,_0x5db1cb(0x146)));}[_0x49de9f(0x157)](_0x19d386){const _0xeae8c=_0x49de9f;return!!_0x19d386&&Boolean(_0x231838(_0x19d386)&&_0x51cff2(_0x19d386)[_0xeae8c(0x145)](/removed[\s*-]data-id="[^"]+"/));}[_0x49de9f(0x123)](_0x58a877){const _0xb44196=_0x49de9f;let _0x35baae=_0x58a877[_0xb44196(0x150)];for(;_0x35baae;){if(_0x98a456(_0x35baae,_0xb44196(0x155)))return!0x0;_0x35baae=_0x35baae[_0xb44196(0x150)];}return!0x1;}[_0x49de9f(0x15c)](_0x223e07){const _0x371b20=_0x49de9f;return Boolean(_0x231838(_0x223e07)&&_0x51cff2(_0x223e07)[_0x371b20(0x145)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ function _0x2786(_0x1a4acd,_0x131559){const _0x38867e=_0x3886();return _0x2786=function(_0x278659,_0xc141c6){_0x278659=_0x278659-0x1b2;let _0x1640ce=_0x38867e[_0x278659];return _0x1640ce;},_0x2786(_0x1a4acd,_0x131559);}const _0x544b17=_0x2786;(function(_0x3ff7c3,_0x35b1c2){const _0x40a1af=_0x2786,_0x26c120=_0x3ff7c3();while(!![]){try{const _0x2b0937=-parseInt(_0x40a1af(0x1f7))/0x1*(parseInt(_0x40a1af(0x1f4))/0x2)+parseInt(_0x40a1af(0x1bd))/0x3+-parseInt(_0x40a1af(0x1d9))/0x4*(-parseInt(_0x40a1af(0x1ea))/0x5)+-parseInt(_0x40a1af(0x1eb))/0x6+parseInt(_0x40a1af(0x1e4))/0x7+parseInt(_0x40a1af(0x1b3))/0x8*(-parseInt(_0x40a1af(0x1f9))/0x9)+parseInt(_0x40a1af(0x1de))/0xa*(parseInt(_0x40a1af(0x1e1))/0xb);if(_0x2b0937===_0x35b1c2)break;else _0x26c120['push'](_0x26c120['shift']());}catch(_0x1bc127){_0x26c120['push'](_0x26c120['shift']());}}}(_0x3886,0xc008f));import{ObservableMixin as _0xa8da33,uid as _0x5db69d}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x1a06e7,findByAttribute as _0x4b2642,getAttribute as _0x4cbff3,isComment as _0x30d6b1,isTag as _0x2ed662,insertElement as _0x5eb6f7,moveElement as _0x8e35ba,removeElement as _0x5be67e,replaceElement as _0x3c4e5c,serialize as _0x44096d,setAttribute as _0x596918,clone as _0x46bd86,findAllComments as _0x1f47a8,getParents as _0x5828b6,getNodeNestingLevel as _0xdbc387,areNodesSame as _0x35a25f,removeElementsAfter as _0x46dd1f}from'../utils/htmlparser.js';function _0x3886(){const _0x810db3=['4529496bSNGaO','afterend','filter','_hasWrappedParent','beforebegin','childNodes','replaceRemovedWith','forEach','cloneNode','_findNextElementWithDataId','from','push','_storeDeletedElementIds','afterbegin','splice','_getUid','invalidIds','true','merge','_markWrappedElements','match','_generateUid','_isExistingNode','_removeSpecialComments','includes','removedIds','has','cutAfterLastChange','948344IdBbWV','_insertNodes','_markLastTagElementUnstable','data-removed','data-wrapped-id','558760HGJwTj','newIds','lastTouchedId','385kERqet','nextSibling','trim','7830942HOxUUd','slice','_isNewNode','data-id','_findReferenceNode','_isDelNode','5vFIlFq','7523916cWAZJW','_getNodeDataId','_findFallbackReferenceNode','_replaceNode','_existingDataIds','reverse','previousSibling','length','_touchedNodesState','39204GEqPzY','indexOf','markUnstableElements','79urQXJZ','markUnstableElementsDepth','99lwpMaH','parentNode','896120LLgpPt','new-element','_isExistingContentComment','map','_markUnstableElements','modifiedIds','lastChild','_findPrevElementWithDataId','data-unstable','nodeType'];_0x3886=function(){return _0x810db3;};return _0x3886();}export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0xa8da33(){[_0x544b17(0x1d2)];[_0x544b17(0x1f3)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x544b17(0x1ef)]=new Set();constructor(_0x19d3c4){const _0x30b377=_0x544b17;super(),this[_0x30b377(0x1d2)]=_0x19d3c4||_0x5db69d;}[_0x544b17(0x1cf)](_0xbbfc3e,_0x629b70,_0x5c212d){const _0x400435=_0x544b17,_0x5e7562=_0x46bd86(_0xbbfc3e);if(0x0===_0x629b70[_0x400435(0x1c2)][_0x400435(0x1f2)]){const _0x2619a1=[];return _0x1a06e7(_0x400435(0x1e7),_0x400435(0x1b4),_0x5e7562)[_0x400435(0x1c4)](_0x19a5eb=>{const _0x28946d=_0x400435,_0x27e486=this[_0x28946d(0x1d2)]();_0x596918(_0x19a5eb,_0x28946d(0x1e7),_0x27e486),_0x2619a1[_0x28946d(0x1c8)](_0x27e486);}),this[_0x400435(0x1d4)](_0x5e7562),{'parsedContent':_0x5e7562,'newNodeIds':_0x2619a1,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x5c212d&&_0x5c212d[_0x400435(0x1f6)]&&this[_0x400435(0x1db)](_0x5e7562),this[_0x400435(0x1f3)][_0x400435(0x1df)]=[],this[_0x400435(0x1f3)][_0x400435(0x1b8)]=[],this[_0x400435(0x1f3)][_0x400435(0x1d6)]=[],this[_0x400435(0x1f3)][_0x400435(0x1cd)]=[],this[_0x400435(0x1f3)][_0x400435(0x1e0)]=null,this[_0x400435(0x1ef)]=new Set(_0x1a06e7(_0x400435(0x1e7),null,_0x629b70)[_0x400435(0x1b6)](_0x1cb17e=>_0x4cbff3(_0x1cb17e,_0x400435(0x1e7)))[_0x400435(0x1bf)](_0x5ebe23=>!!_0x5ebe23));let _0x4158a5=-0x1,_0x2fc892=!0x1;const _0x2f159e=_0x5e7562[_0x400435(0x1c2)],_0x266d2c=Array[_0x400435(0x1c7)](_0x2f159e)[_0x400435(0x1bf)](_0x2fd864=>!(0x3===_0x2fd864[_0x400435(0x1bc)]&&''===_0x44096d(_0x2fd864)[_0x400435(0x1e3)]())),_0x58484f=_0x266d2c[_0x400435(0x1f2)];for(let _0x4ba6aa=0x0;_0x4ba6aa<_0x58484f;_0x4ba6aa++){const _0x33910d=_0x266d2c[_0x4ba6aa],_0x3484b1=_0x266d2c[_0x4ba6aa+0x1];if(this[_0x400435(0x1e6)](_0x33910d)){if(-0x1===_0x4158a5&&(_0x4158a5=_0x4ba6aa),this[_0x400435(0x1d0)](_0x33910d),!this[_0x400435(0x1e6)](_0x3484b1)){const [_0x50c3f0,_0x59cc6c]=this[_0x400435(0x1e8)](_0x33910d,_0x2fc892,_0x629b70);if(_0x50c3f0){const _0x5157a6=Array[_0x400435(0x1c7)](_0x266d2c)[_0x400435(0x1e5)](_0x4158a5,_0x4ba6aa+0x1);this[_0x400435(0x1da)](_0x50c3f0,_0x5157a6,_0x59cc6c),_0x4158a5=-0x1;}}}else{if(this[_0x400435(0x1b5)](_0x33910d))_0x2fc892=!0x0;else{if(this[_0x400435(0x1d3)](_0x33910d)){const _0x2123e0=_0x4cbff3(_0x33910d,_0x400435(0x1e7));if(_0x2123e0&&this[_0x400435(0x1ef)][_0x400435(0x1d7)](_0x2123e0)){const _0x5d24e5=_0x4b2642(_0x400435(0x1e7),_0x2123e0,_0x629b70);this[_0x400435(0x1ee)](_0x5d24e5,_0x33910d);}if(this[_0x400435(0x1f3)][_0x400435(0x1d6)][_0x400435(0x1d5)](_0x2123e0)){const _0x17c2b8=this[_0x400435(0x1f3)][_0x400435(0x1d6)][_0x400435(0x1f5)](_0x2123e0);this[_0x400435(0x1f3)][_0x400435(0x1d6)][_0x400435(0x1cb)](_0x17c2b8,0x1);}}else{if(this[_0x400435(0x1e9)](_0x33910d)){const _0x331b39=_0x4cbff3(_0x33910d,_0x400435(0x1e7));this[_0x400435(0x1f3)][_0x400435(0x1b8)][_0x400435(0x1d5)](_0x331b39)||this[_0x400435(0x1c9)](_0x33910d);}}}}}for(const _0xd38f9b of this[_0x400435(0x1f3)][_0x400435(0x1d6)]){const _0x352239=_0x4b2642(_0x400435(0x1e7),_0xd38f9b,_0x629b70);if(_0x352239){if(_0x5c212d&&_0x5c212d[_0x400435(0x1c3)]){this[_0x400435(0x1f3)][_0x400435(0x1e0)]=_0xd38f9b;const _0x50a6b5=_0x5c212d[_0x400435(0x1c3)][_0x400435(0x1c5)](!0x0);_0x596918(_0x50a6b5,_0x400435(0x1e7),_0xd38f9b),_0x596918(_0x50a6b5,_0x400435(0x1dc),_0x400435(0x1ce)),_0x3c4e5c(_0x352239,_0x50a6b5);}else _0x5be67e(_0x352239);}}if(_0x1a06e7(_0x400435(0x1dd),null,_0x629b70)[_0x400435(0x1c4)](_0x39b547=>{const _0xfa512e=_0x400435,_0x267f0f=_0x4cbff3(_0x39b547,_0xfa512e(0x1dd)),_0x28fc65=_0x4b2642(_0xfa512e(0x1e7),_0x267f0f,_0x629b70);_0x28fc65&&_0x8e35ba(_0x28fc65,_0x39b547);}),_0x1a06e7(_0x400435(0x1e7),_0x400435(0x1b4),_0x629b70)[_0x400435(0x1c4)](_0x185bf7=>{const _0xb1f092=_0x400435,_0x1e1fa6=this[_0xb1f092(0x1cc)](_0x185bf7);_0x596918(_0x185bf7,_0xb1f092(0x1e7),_0x1e1fa6),this[_0xb1f092(0x1f3)][_0xb1f092(0x1df)][_0xb1f092(0x1c8)](_0x1e1fa6);}),this[_0x400435(0x1d4)](_0x629b70),_0x5c212d&&_0x5c212d[_0x400435(0x1f6)]&&this[_0x400435(0x1b7)](_0x629b70,_0x5c212d[_0x400435(0x1f8)]||0x0),_0x5c212d&&_0x5c212d[_0x400435(0x1d8)]&&this[_0x400435(0x1f3)][_0x400435(0x1e0)]){let _0xd6d511=_0x4b2642(_0x400435(0x1e7),this[_0x400435(0x1f3)][_0x400435(0x1e0)],_0x629b70);for(;_0xd6d511;)_0x46dd1f(_0xd6d511),_0xd6d511=_0xd6d511[_0x400435(0x1b2)];}return{'parsedContent':_0x629b70,'newNodeIds':this[_0x400435(0x1f3)][_0x400435(0x1df)],'modifiedNodeIds':this[_0x400435(0x1f3)][_0x400435(0x1b8)],'removedNodeIds':this[_0x400435(0x1f3)][_0x400435(0x1d6)]};}[_0x544b17(0x1da)](_0x415994,_0x58b189,_0x5179d1){const _0x18f17f=_0x544b17;for(const _0x1f3b28 of _0x58b189){const _0x53e43d=this[_0x18f17f(0x1cc)](_0x1f3b28);_0x596918(_0x1f3b28,_0x18f17f(0x1e7),_0x53e43d),this[_0x18f17f(0x1f3)][_0x18f17f(0x1df)][_0x18f17f(0x1c8)](_0x53e43d),this[_0x18f17f(0x1f3)][_0x18f17f(0x1e0)]=_0x53e43d;}const _0x5a96dc=_0x18f17f(0x1ca)===_0x5179d1||_0x18f17f(0x1be)===_0x5179d1?_0x58b189[_0x18f17f(0x1f0)]():_0x58b189;for(const _0x50a084 of _0x5a96dc)_0x5eb6f7(_0x415994,_0x50a084,_0x5179d1);}[_0x544b17(0x1ee)](_0x1c2be8,_0x2ebe6b){const _0x3b5265=_0x544b17;if(!_0x1c2be8)return;if(_0x35a25f(_0x1c2be8,_0x2ebe6b))return;const _0x2aea04=this[_0x3b5265(0x1cc)](_0x1c2be8);_0x596918(_0x2ebe6b,_0x3b5265(0x1e7),_0x2aea04),this[_0x3b5265(0x1f3)][_0x3b5265(0x1b8)][_0x3b5265(0x1c8)](_0x2aea04),this[_0x3b5265(0x1f3)][_0x3b5265(0x1e0)]=_0x2aea04,_0x3c4e5c(_0x1c2be8,_0x2ebe6b[_0x3b5265(0x1c5)](!0x0));}[_0x544b17(0x1e8)](_0x56eb4b,_0x345407,_0xb5706d){const _0x5000bc=_0x544b17,_0x2323f8=this[_0x5000bc(0x1ba)](_0x56eb4b,!0x1);if(_0x2323f8){const _0x467a04=this[_0x5000bc(0x1ec)](_0x2323f8),_0x594ef1=_0x4b2642(_0x5000bc(0x1e7),_0x467a04,_0xb5706d);if(_0x594ef1)return[_0x594ef1,_0x5000bc(0x1be)];this[_0x5000bc(0x1f3)][_0x5000bc(0x1cd)][_0x5000bc(0x1c8)](_0x467a04);}const _0x336677=this[_0x5000bc(0x1c6)](_0x56eb4b,!0x1);if(_0x336677){const _0x3d71be=this[_0x5000bc(0x1ec)](_0x336677),_0x3a607c=_0x4b2642(_0x5000bc(0x1e7),_0x3d71be,_0xb5706d);if(_0x3a607c)return[_0x3a607c,_0x5000bc(0x1c1)];this[_0x5000bc(0x1f3)][_0x5000bc(0x1cd)][_0x5000bc(0x1c8)](_0x3d71be);}return _0x345407?_0x56eb4b[_0x5000bc(0x1e2)]?this[_0x5000bc(0x1ed)](_0x56eb4b,_0xb5706d):[_0xb5706d[_0x5000bc(0x1c2)][_0xb5706d[_0x5000bc(0x1c2)][_0x5000bc(0x1f2)]-0x1],_0x5000bc(0x1be)]:[_0xb5706d[_0x5000bc(0x1c2)][0x0],_0x5000bc(0x1c1)];}[_0x544b17(0x1ed)](_0x184316,_0x599561){const _0x2f3fdb=_0x544b17,_0x1cdfe1=[],_0x29ace9=this[_0x2f3fdb(0x1ba)](_0x184316,!0x0);if(_0x29ace9){const _0x1c733a=this[_0x2f3fdb(0x1ec)](_0x29ace9),_0xef3ecb=_0x4b2642(_0x2f3fdb(0x1e7),_0x1c733a,_0x599561);_0xef3ecb&&_0x1cdfe1[_0x2f3fdb(0x1c8)]([_0xef3ecb,_0x2f3fdb(0x1be)]);}const _0x285d73=this[_0x2f3fdb(0x1c6)](_0x184316,!0x0);if(_0x285d73){const _0x35dfb9=this[_0x2f3fdb(0x1ec)](_0x285d73),_0x2dd601=_0x4b2642(_0x2f3fdb(0x1e7),_0x35dfb9,_0x599561);_0x2dd601&&_0x1cdfe1[_0x2f3fdb(0x1c8)]([_0x2dd601,_0x2f3fdb(0x1c1)]);}if(_0x1cdfe1[_0x2f3fdb(0x1f2)]>0x1)return _0xdbc387(_0x1cdfe1[0x0][0x0])<=_0xdbc387(_0x1cdfe1[0x1][0x0])?_0x1cdfe1[0x0]:_0x1cdfe1[0x1];return 0x1===_0x1cdfe1[_0x2f3fdb(0x1f2)]?_0x1cdfe1[0x0]:[_0x599561[_0x2f3fdb(0x1b9)],_0x2f3fdb(0x1be)];}[_0x544b17(0x1c6)](_0x471b68,_0x36a67c){const _0x1dbe1e=_0x544b17;let _0x364321=_0x471b68[_0x1dbe1e(0x1e2)],_0x5bccea=null,_0x21f489=!0x1;for(;_0x364321;){if(_0x30d6b1(_0x364321)){if(this[_0x1dbe1e(0x1e9)](_0x364321)&&(_0x5bccea=_0x364321),this[_0x1dbe1e(0x1b5)](_0x364321)&&_0x36a67c&&!_0x21f489){_0x21f489=!0x0,_0x364321=_0x364321[_0x1dbe1e(0x1e2)];continue;}break;}const _0x2528b1=_0x4cbff3(_0x364321,_0x1dbe1e(0x1e7));if(_0x2528b1&&_0x1dbe1e(0x1b4)!==_0x2528b1&&this[_0x1dbe1e(0x1ef)][_0x1dbe1e(0x1d7)](_0x2528b1)){_0x5bccea=_0x364321;break;}_0x364321=_0x364321[_0x1dbe1e(0x1e2)];}return _0x5bccea;}[_0x544b17(0x1ba)](_0x36535a,_0x135d94){const _0x46898c=_0x544b17;let _0x2aaf42=_0x36535a[_0x46898c(0x1f1)],_0x580739=null,_0x31c39e=!0x1;for(;_0x2aaf42;){if(_0x30d6b1(_0x2aaf42)){if(this[_0x46898c(0x1e9)](_0x2aaf42)&&(_0x580739=_0x2aaf42),this[_0x46898c(0x1b5)](_0x2aaf42)&&_0x135d94&&!_0x31c39e){_0x31c39e=!0x0,_0x2aaf42=_0x2aaf42[_0x46898c(0x1f1)];continue;}break;}const _0x5cd679=_0x4cbff3(_0x2aaf42,_0x46898c(0x1e7));if(_0x5cd679&&_0x46898c(0x1b4)!==_0x5cd679&&this[_0x46898c(0x1ef)][_0x46898c(0x1d7)](_0x5cd679)){_0x580739=_0x2aaf42;break;}_0x2aaf42=_0x2aaf42[_0x46898c(0x1f1)];}return _0x580739;}[_0x544b17(0x1d0)](_0xd83d5d){const _0x5426f5=_0x544b17;_0x2ed662(_0xd83d5d)&&_0x1a06e7(_0x5426f5(0x1e7),null,_0xd83d5d)[_0x5426f5(0x1c4)](_0x5504f2=>{const _0x3281d4=_0x5426f5;if(this[_0x3281d4(0x1d3)](_0x5504f2)&&!this[_0x3281d4(0x1c0)](_0x5504f2)){const _0x1e962f=_0x4cbff3(_0x5504f2,_0x3281d4(0x1e7));_0x596918(_0x5504f2,_0x3281d4(0x1dd),_0x1e962f),_0x596918(_0x5504f2,_0x3281d4(0x1e7),null);}});}[_0x544b17(0x1ec)](_0x1248ee){const _0x5456f6=_0x544b17;if(!_0x1248ee)return null;if(_0x2ed662(_0x1248ee))return _0x4cbff3(_0x1248ee,_0x5456f6(0x1e7));if(_0x30d6b1(_0x1248ee)){const _0x595a73=_0x44096d(_0x1248ee)[_0x5456f6(0x1d1)](/removed[\s*-]data-id="([^"]+)"/);if(_0x595a73&&_0x595a73[0x1])return _0x595a73[0x1];}return null;}[_0x544b17(0x1c9)](_0x5c6058){const _0x249851=_0x544b17;if(_0x30d6b1(_0x5c6058)){const _0x2cd525=_0x44096d(_0x5c6058)[_0x249851(0x1d1)](/removed[\s*-]data-id="([^"]+)"/);_0x2cd525&&_0x2cd525[0x1]&&this[_0x249851(0x1f3)][_0x249851(0x1d6)][_0x249851(0x1c8)](_0x2cd525[0x1]);}}[_0x544b17(0x1cc)](_0x5d544b){const _0x4eb49b=_0x544b17;return this[_0x4eb49b(0x1d3)](_0x5d544b)?_0x4cbff3(_0x5d544b,_0x4eb49b(0x1e7)):this[_0x4eb49b(0x1d2)]();}[_0x544b17(0x1d4)](_0x213ee6){const _0x7b6e60=_0x544b17;_0x1f47a8(_0x213ee6)[_0x7b6e60(0x1bf)](_0x34b7ab=>this[_0x7b6e60(0x1e9)](_0x34b7ab)||this[_0x7b6e60(0x1b5)](_0x34b7ab))[_0x7b6e60(0x1c4)](_0x513e99=>{_0x5be67e(_0x513e99);});}[_0x544b17(0x1db)](_0x4e9c8a){const _0x48c5f0=_0x544b17,_0x4a31bc=_0x4e9c8a[_0x48c5f0(0x1c2)],_0x52457e=_0x4a31bc[_0x4a31bc[_0x48c5f0(0x1f2)]-0x1];_0x52457e&&_0x2ed662(_0x52457e)&&_0x596918(_0x52457e,_0x48c5f0(0x1bb),_0x48c5f0(0x1ce));}[_0x544b17(0x1b7)](_0x43e6b0,_0x1b93be){const _0x3ed052=_0x544b17,_0x5c9b89=_0x4b2642(_0x3ed052(0x1bb),_0x3ed052(0x1ce),_0x43e6b0);if(!_0x5c9b89)return;const _0x20f6ec=_0x5828b6(_0x5c9b89)[_0x3ed052(0x1e5)](0x0,-0x1),_0x4f41f9=_0x20f6ec[_0x3ed052(0x1f2)];let _0x3d20d5=_0x5c9b89;if(_0x4f41f9>_0x1b93be){let _0x558893=_0x4f41f9,_0x35a0de=null;for(;_0x558893>_0x1b93be&&_0x558893>=0x0;)_0x558893--,_0x35a0de=_0x20f6ec[_0x558893];_0x35a0de&&(_0x3d20d5=_0x35a0de,_0x596918(_0x5c9b89,_0x3ed052(0x1bb),null),_0x596918(_0x35a0de,_0x3ed052(0x1bb),_0x3ed052(0x1ce)));}else{if(_0x4f41f9<_0x1b93be){let _0x710362=_0x4f41f9,_0x2b7c4f=_0x5c9b89;for(;_0x710362<_0x1b93be;){const _0x15de40=_0x2b7c4f[_0x3ed052(0x1c2)][_0x3ed052(0x1bf)](_0x35ab19=>_0x2ed662(_0x35ab19));if(0x0===_0x15de40[_0x3ed052(0x1f2)])break;_0x710362++,_0x2b7c4f=_0x15de40[_0x15de40[_0x3ed052(0x1f2)]-0x1];}_0x2b7c4f&&(_0x3d20d5=_0x2b7c4f,_0x596918(_0x5c9b89,_0x3ed052(0x1bb),null),_0x596918(_0x2b7c4f,_0x3ed052(0x1bb),_0x3ed052(0x1ce)));}}let _0x2746bf=_0x3d20d5;for(;_0x2746bf;){for(;_0x2746bf[_0x3ed052(0x1e2)];)_0x2746bf=_0x2746bf[_0x3ed052(0x1e2)],_0x2ed662(_0x2746bf)&&_0x596918(_0x2746bf,_0x3ed052(0x1bb),_0x3ed052(0x1ce));_0x2746bf=_0x2746bf[_0x3ed052(0x1b2)];}}[_0x544b17(0x1e6)](_0x39e8cc){const _0x4937ce=_0x544b17;return Boolean(_0x4937ce(0x1b4)===_0x4cbff3(_0x39e8cc,_0x4937ce(0x1e7)));}[_0x544b17(0x1d3)](_0x2a7a76){const _0x272b5d=_0x544b17;return Boolean((_0x4cbff3(_0x2a7a76,_0x272b5d(0x1e7))||'')[_0x272b5d(0x1f2)]>0x0&&_0x272b5d(0x1b4)!==_0x4cbff3(_0x2a7a76,_0x272b5d(0x1e7)));}[_0x544b17(0x1e9)](_0x235d67){const _0x14349a=_0x544b17;return!!_0x235d67&&Boolean(_0x30d6b1(_0x235d67)&&_0x44096d(_0x235d67)[_0x14349a(0x1d1)](/removed[\s*-]data-id="[^"]+"/));}[_0x544b17(0x1c0)](_0x364e53){const _0x4a7da0=_0x544b17;let _0x4dcd4d=_0x364e53[_0x4a7da0(0x1b2)];for(;_0x4dcd4d;){if(_0x4cbff3(_0x4dcd4d,_0x4a7da0(0x1dd)))return!0x0;_0x4dcd4d=_0x4dcd4d[_0x4a7da0(0x1b2)];}return!0x1;}[_0x544b17(0x1b5)](_0x93627a){const _0x4de4fb=_0x544b17;return Boolean(_0x30d6b1(_0x93627a)&&_0x44096d(_0x93627a)[_0x4de4fb(0x1d1)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bd912=_0x522e;function _0x522e(_0x54f3c6,_0x3c423f){const _0x250808=_0x2508();return _0x522e=function(_0x522e89,_0x22080f){_0x522e89=_0x522e89-0x108;let _0x37bb8c=_0x250808[_0x522e89];return _0x37bb8c;},_0x522e(_0x54f3c6,_0x3c423f);}(function(_0x44dfac,_0x3e0f8c){const _0x53d726=_0x522e,_0x5357c6=_0x44dfac();while(!![]){try{const _0x153bc7=-parseInt(_0x53d726(0x112))/0x1*(-parseInt(_0x53d726(0x116))/0x2)+parseInt(_0x53d726(0x113))/0x3*(parseInt(_0x53d726(0x11c))/0x4)+parseInt(_0x53d726(0x110))/0x5*(-parseInt(_0x53d726(0x10e))/0x6)+parseInt(_0x53d726(0x10b))/0x7*(parseInt(_0x53d726(0x119))/0x8)+parseInt(_0x53d726(0x10a))/0x9+parseInt(_0x53d726(0x118))/0xa*(parseInt(_0x53d726(0x117))/0xb)+-parseInt(_0x53d726(0x10f))/0xc;if(_0x153bc7===_0x3e0f8c)break;else _0x5357c6['push'](_0x5357c6['shift']());}catch(_0x55bf3c){_0x5357c6['push'](_0x5357c6['shift']());}}}(_0x2508,0x48077));import{ObservableMixin as _0x2e69a2}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x3d978d}from'@ckeditor/ckeditor5-markdown-gfm';function _0x2508(){const _0x285029=['22018068bTCXAs','131725ImjKff','</dummy>','576553isFPiI','875994sUZmNG','parseAndNormalizeHTML','children','2jojwDr','4057471NGFhzP','10sQCGTV','968bEzFXB','_parseHTML','<dummy>','8dgwAhr','convertMarkdownToHTML','replace','1442853JfBTpx','28511nnMndY','_m2html','parse','12NMCmIw'];_0x2508=function(){return _0x285029;};return _0x2508();}import{parse as _0x29d5f4}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x2e69a2(){[_0x4bd912(0x10c)];constructor(){const _0x310ef0=_0x4bd912;super(),this[_0x310ef0(0x10c)]=new _0x3d978d();}[_0x4bd912(0x108)](_0xc64d46){const _0x2edff0=_0x4bd912,_0x57b5e7=this[_0x2edff0(0x10c)][_0x2edff0(0x10d)](_0xc64d46);return this[_0x2edff0(0x114)](_0x57b5e7);}[_0x4bd912(0x114)](_0x5eb30f){const _0x5c3c65=_0x4bd912;return this[_0x5c3c65(0x11a)](_0x5eb30f);}[_0x4bd912(0x11a)](_0x4154a9){const _0x5c40f3=_0x4bd912,_0x5cd324=_0x4154a9[_0x5c40f3(0x109)](/^\t+/gm,'\x20')[_0x5c40f3(0x109)](/\n*/g,'')[_0x5c40f3(0x109)](/\s+/g,'\x20')[_0x5c40f3(0x109)](/<[^>]*?$/g,''),_0x520cb3=_0x29d5f4(_0x5c40f3(0x11b)+_0x5cd324+_0x5c40f3(0x111));return _0x520cb3[_0x5c40f3(0x115)]=_0x520cb3[_0x5c40f3(0x115)][0x0][_0x5c40f3(0x115)],_0x520cb3;}}
23
+ function _0x57b9(){const _0x43e970=['948110tDTizq','parseAndNormalizeHTML','9AxQxGM','116853TugtkA','4830sdArMn','2pUPSzL','_parseHTML','_m2html','48YRzEMf','parse','1847416wJcsiI','8096286MDpWIU','replace','6GUNLPM','convertMarkdownToHTML','4638207HgfQhf','<dummy>','</dummy>','166646HSwSol','children'];_0x57b9=function(){return _0x43e970;};return _0x57b9();}const _0x5b4788=_0x273f;(function(_0x1f3483,_0x7d56b4){const _0x5a7632=_0x273f,_0x5a10cc=_0x1f3483();while(!![]){try{const _0x32c72f=parseInt(_0x5a7632(0x15e))/0x1+-parseInt(_0x5a7632(0x165))/0x2*(parseInt(_0x5a7632(0x163))/0x3)+parseInt(_0x5a7632(0x154))/0x4*(parseInt(_0x5a7632(0x164))/0x5)+-parseInt(_0x5a7632(0x159))/0x6*(-parseInt(_0x5a7632(0x15b))/0x7)+-parseInt(_0x5a7632(0x156))/0x8*(-parseInt(_0x5a7632(0x162))/0x9)+parseInt(_0x5a7632(0x160))/0xa+-parseInt(_0x5a7632(0x157))/0xb;if(_0x32c72f===_0x7d56b4)break;else _0x5a10cc['push'](_0x5a10cc['shift']());}catch(_0x4f36d6){_0x5a10cc['push'](_0x5a10cc['shift']());}}}(_0x57b9,0x5f9b0));import{ObservableMixin as _0x42f706}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x36a468}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x548e13}from'../utils/htmlparser.js';function _0x273f(_0x1606b5,_0x4c97f3){const _0x57b925=_0x57b9();return _0x273f=function(_0x273fda,_0x595c96){_0x273fda=_0x273fda-0x154;let _0x2f4c1d=_0x57b925[_0x273fda];return _0x2f4c1d;},_0x273f(_0x1606b5,_0x4c97f3);}export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x42f706(){[_0x5b4788(0x167)];constructor(){const _0x508f85=_0x5b4788;super(),this[_0x508f85(0x167)]=new _0x36a468();}[_0x5b4788(0x15a)](_0x3830b8){const _0x1b8e1b=_0x5b4788,_0x38b0c3=this[_0x1b8e1b(0x167)][_0x1b8e1b(0x155)](_0x3830b8);return this[_0x1b8e1b(0x161)](_0x38b0c3);}[_0x5b4788(0x161)](_0x55fe84){const _0x52efa0=_0x5b4788;return this[_0x52efa0(0x166)](_0x55fe84);}[_0x5b4788(0x166)](_0x5b27){const _0x56578=_0x5b4788,_0x3a86f8=_0x5b27[_0x56578(0x158)](/^\t+/gm,'\x20')[_0x56578(0x158)](/\n*/g,'')[_0x56578(0x158)](/\s+/g,'\x20')[_0x56578(0x158)](/<[^>]*?$/g,''),_0x515663=_0x548e13(_0x56578(0x15c)+_0x3a86f8+_0x56578(0x15d));return _0x515663[_0x56578(0x15f)]=_0x515663[_0x56578(0x15f)][0x0][_0x56578(0x15f)],_0x515663;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x476251=_0x6f06;function _0x5b01(){const _0x881498=['length','locale','items','3577532PclwBp','7983lMMxMy','5356695HudaMM','toggleShowChangesEnabled','set','addMany','showDislike','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','isOn','dislike','AI_MINI_TOOLBAR_LIKE','execute','2646436OHLLOJ','showChanges','class','customView','_setupShowChangesButton','ck-ai-button-tertiary','ck-ai-mini-toolbar-copy-button','_setupRatingButtons','isShowChangesOn','1430252zScyLF','_setupCopyButton','24760PdQSFV','likeButton','bind','ck-ai-mini-toolbar','fire','icon','isEnabled','_config','like','315732HbjUQW','showLike','38658tDMPua','ck-ai-mini-toolbar-copy-button__check-mark','AI_SUGGESTION_BUTTON_SHOW_CHANGES','children','AI_MINI_TOOLBAR_COPY','extendTemplate','dislikeButton','ck-ai-mini-toolbar\x20ck-hidden','AI_MINI_TOOLBAR_DISLIKE','showCopy','showChangesButton','full','add','toggleShowChanges','3futDUy','copyButton'];_0x5b01=function(){return _0x881498;};return _0x5b01();}(function(_0x1c0ed7,_0x23285b){const _0x15e391=_0x6f06,_0x48b98f=_0x1c0ed7();while(!![]){try{const _0x17a354=parseInt(_0x15e391(0x17a))/0x1+parseInt(_0x15e391(0x16f))/0x2+-parseInt(_0x15e391(0x18a))/0x3*(-parseInt(_0x15e391(0x166))/0x4)+parseInt(_0x15e391(0x15c))/0x5+parseInt(_0x15e391(0x17c))/0x6+parseInt(_0x15e391(0x18f))/0x7+-parseInt(_0x15e391(0x171))/0x8*(parseInt(_0x15e391(0x15b))/0x9);if(_0x17a354===_0x23285b)break;else _0x48b98f['push'](_0x48b98f['shift']());}catch(_0x15acbd){_0x48b98f['push'](_0x48b98f['shift']());}}}(_0x5b01,0x82dfc));import{ButtonView as _0x502b28,IconView as _0x2dfd11,ToolbarView as _0x414cd1}from'ckeditor5/src/ui.js';import{IconCheck as _0xbaf453,IconCopy as _0x24221d,IconShowChangesOff as _0x3d1155,IconShowChangesOn as _0xc87b35,IconThumbDown as _0x198ceb,IconThumbUp as _0x5e3cbf}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3d8c5a}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';function _0x6f06(_0x2e6782,_0xdff9c7){const _0x5b01f0=_0x5b01();return _0x6f06=function(_0x6f067c,_0x5afea8){_0x6f067c=_0x6f067c-0x15b;let _0x2f943a=_0x5b01f0[_0x6f067c];return _0x2f943a;},_0x6f06(_0x2e6782,_0xdff9c7);}export class AIMiniToolbarView extends _0x414cd1{[_0x476251(0x18b)];[_0x476251(0x172)];[_0x476251(0x182)];[_0x476251(0x186)];[_0x476251(0x178)];constructor(_0x1560cb,_0x3e08fc={}){const _0x564155=_0x476251;super(_0x1560cb),this[_0x564155(0x15e)](_0x564155(0x177),!0x0),this[_0x564155(0x15e)](_0x564155(0x16e),!0x1),this[_0x564155(0x178)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x3e08fc};const _0x193f8b=!(this[_0x564155(0x178)][_0x564155(0x185)]||this[_0x564155(0x178)][_0x564155(0x167)]||this[_0x564155(0x178)][_0x564155(0x17b)]||this[_0x564155(0x178)][_0x564155(0x160)]||this[_0x564155(0x178)][_0x564155(0x169)]?.[_0x564155(0x18c)]);this[_0x564155(0x168)]=_0x193f8b?_0x564155(0x183):_0x564155(0x174),this[_0x564155(0x178)][_0x564155(0x185)]&&(this[_0x564155(0x170)](),this[_0x564155(0x18e)][_0x564155(0x188)](this[_0x564155(0x18b)])),this[_0x564155(0x178)][_0x564155(0x167)]&&(this[_0x564155(0x16a)](),this[_0x564155(0x18e)][_0x564155(0x188)](this[_0x564155(0x186)])),this[_0x564155(0x16d)](),this[_0x564155(0x178)][_0x564155(0x17b)]&&this[_0x564155(0x18e)][_0x564155(0x188)](this[_0x564155(0x172)]),this[_0x564155(0x178)][_0x564155(0x160)]&&this[_0x564155(0x18e)][_0x564155(0x188)](this[_0x564155(0x182)]),this[_0x564155(0x178)][_0x564155(0x169)]&&this[_0x564155(0x18e)][_0x564155(0x15f)](this[_0x564155(0x178)][_0x564155(0x169)]);}[_0x476251(0x15d)](_0x8b3ff){const _0x2923bb=_0x476251;this[_0x2923bb(0x186)][_0x2923bb(0x177)]=_0x8b3ff;}[_0x476251(0x16d)](){const _0x541d5e=_0x476251;this[_0x541d5e(0x172)]=new _0x502b28(this[_0x541d5e(0x18d)]),this[_0x541d5e(0x172)][_0x541d5e(0x15e)]({'icon':_0x5e3cbf,'label':_0x3d8c5a(this[_0x541d5e(0x18d)],_0x541d5e(0x164)),'tooltip':!0x0}),this[_0x541d5e(0x172)][_0x541d5e(0x173)](_0x541d5e(0x177))['to'](this),this[_0x541d5e(0x172)]['on'](_0x541d5e(0x165),()=>{const _0x31fb2d=_0x541d5e;this[_0x31fb2d(0x175)](_0x31fb2d(0x179));}),this[_0x541d5e(0x182)]=new _0x502b28(this[_0x541d5e(0x18d)]),this[_0x541d5e(0x182)][_0x541d5e(0x15e)]({'icon':_0x198ceb,'label':_0x3d8c5a(this[_0x541d5e(0x18d)],_0x541d5e(0x184)),'tooltip':!0x0}),this[_0x541d5e(0x182)][_0x541d5e(0x173)](_0x541d5e(0x177))['to'](this),this[_0x541d5e(0x182)]['on'](_0x541d5e(0x165),()=>{const _0xe91cdb=_0x541d5e;this[_0xe91cdb(0x175)](_0xe91cdb(0x163));});}[_0x476251(0x170)](){const _0x190ea2=_0x476251;this[_0x190ea2(0x18b)]=new _0x502b28(this[_0x190ea2(0x18d)]),this[_0x190ea2(0x18b)][_0x190ea2(0x15e)]({'icon':_0x24221d,'label':_0x3d8c5a(this[_0x190ea2(0x18d)],_0x190ea2(0x180)),'class':_0x190ea2(0x16c),'tooltip':!0x0}),this[_0x190ea2(0x18b)][_0x190ea2(0x173)](_0x190ea2(0x177))['to'](this);const _0x3f2695=new _0x2dfd11();_0x3f2695[_0x190ea2(0x15e)]({'content':_0xbaf453}),_0x3f2695[_0x190ea2(0x181)]({'attributes':{'class':[_0x190ea2(0x17d)]}}),this[_0x190ea2(0x18b)]['on'](_0x190ea2(0x165),()=>{const _0x2a6260=_0x190ea2;this[_0x2a6260(0x18b)][_0x2a6260(0x168)]=_0x2a6260(0x161),setTimeout(()=>{const _0x5ec03a=_0x2a6260;this[_0x5ec03a(0x18b)][_0x5ec03a(0x168)]=_0x5ec03a(0x16c);},0x7d0);}),this[_0x190ea2(0x18b)][_0x190ea2(0x17f)][_0x190ea2(0x188)](_0x3f2695);}[_0x476251(0x16a)](){const _0x12f88b=_0x476251;this[_0x12f88b(0x186)]=new _0x502b28(this[_0x12f88b(0x18d)]),this[_0x12f88b(0x186)][_0x12f88b(0x15e)]({'icon':_0x3d1155,'label':_0x3d8c5a(this[_0x12f88b(0x18d)],_0x12f88b(0x17e)),'withText':_0x12f88b(0x187)==this[_0x12f88b(0x178)][_0x12f88b(0x167)],'tooltip':_0x12f88b(0x187)!=this[_0x12f88b(0x178)][_0x12f88b(0x167)],'class':_0x12f88b(0x16b)}),this[_0x12f88b(0x186)][_0x12f88b(0x173)](_0x12f88b(0x162))['to'](this,_0x12f88b(0x16e)),this[_0x12f88b(0x186)][_0x12f88b(0x173)](_0x12f88b(0x177))['to'](this),this[_0x12f88b(0x186)][_0x12f88b(0x173)](_0x12f88b(0x176))['to'](this,_0x12f88b(0x16e),_0x5b6cb9=>_0x5b6cb9?_0xc87b35:_0x3d1155),this[_0x12f88b(0x186)]['on'](_0x12f88b(0x165),()=>{const _0xae8ad3=_0x12f88b;this[_0xae8ad3(0x175)](_0xae8ad3(0x189));});}}
23
+ const _0x2ee09a=_0x3a02;function _0x5d7a(){const _0x1ccf24=['showChangesButton','AI_SUGGESTION_BUTTON_SHOW_CHANGES','dislikeButton','AI_MINI_TOOLBAR_COPY','showCopy','804870BYqWIK','ck-ai-mini-toolbar\x20ck-hidden','ck-ai-button-tertiary','bind','class','isShowChangesOn','addMany','32MzPYeH','showChanges','isOn','664623ASlgIS','length','720097ZwWwIX','extendTemplate','41570esRygj','showLike','679947eeFMlJ','locale','showDislike','customView','copyButton','items','_setupShowChangesButton','full','_config','fire','_setupRatingButtons','icon','add','like','ck-ai-mini-toolbar','557768nxlhSZ','toggleShowChanges','set','AI_MINI_TOOLBAR_DISLIKE','dislike','_setupCopyButton','toggleShowChangesEnabled','ck-ai-mini-toolbar-copy-button','isEnabled','ck-ai-mini-toolbar-copy-button__check-mark','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','7702uOxAwv','execute','likeButton','children','AI_MINI_TOOLBAR_LIKE','10ObMJsU','24iRhvsJ','60QsXIFj'];_0x5d7a=function(){return _0x1ccf24;};return _0x5d7a();}(function(_0x4f880c,_0x2e960a){const _0x110b82=_0x3a02,_0x3815b7=_0x4f880c();while(!![]){try{const _0x72dfaf=parseInt(_0x110b82(0xe9))/0x1*(-parseInt(_0x110b82(0xc6))/0x2)+parseInt(_0x110b82(0xcf))/0x3+parseInt(_0x110b82(0xde))/0x4+parseInt(_0x110b82(0xcd))/0x5*(parseInt(_0x110b82(0xf0))/0x6)+parseInt(_0x110b82(0xcb))/0x7*(-parseInt(_0x110b82(0xef))/0x8)+parseInt(_0x110b82(0xc9))/0x9+-parseInt(_0x110b82(0xee))/0xa*(-parseInt(_0x110b82(0xbf))/0xb);if(_0x72dfaf===_0x2e960a)break;else _0x3815b7['push'](_0x3815b7['shift']());}catch(_0x4c1435){_0x3815b7['push'](_0x3815b7['shift']());}}}(_0x5d7a,0x28233));import{ButtonView as _0x58a5dd,IconView as _0x1d352d,ToolbarView as _0x49c58c}from'ckeditor5/src/ui.js';function _0x3a02(_0x5b200e,_0x2d5ba4){const _0x5d7a10=_0x5d7a();return _0x3a02=function(_0x3a0221,_0x22bfc7){_0x3a0221=_0x3a0221-0xbc;let _0x347638=_0x5d7a10[_0x3a0221];return _0x347638;},_0x3a02(_0x5b200e,_0x2d5ba4);}import{IconCheck as _0x189f54,IconCopy as _0xc1c4a3,IconShowChangesOff as _0x18a7d4,IconShowChangesOn as _0x582ef7,IconThumbDown as _0x576626,IconThumbUp as _0x52c502}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2b6464}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x49c58c{[_0x2ee09a(0xd3)];[_0x2ee09a(0xeb)];[_0x2ee09a(0xbc)];[_0x2ee09a(0xf1)];[_0x2ee09a(0xd7)];constructor(_0x32f1af,_0x4f3b10={}){const _0x59c97=_0x2ee09a;super(_0x32f1af),this[_0x59c97(0xe0)](_0x59c97(0xe6),!0x0),this[_0x59c97(0xe0)](_0x59c97(0xc4),!0x1),this[_0x59c97(0xd7)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x4f3b10};const _0xa901b1=!(this[_0x59c97(0xd7)][_0x59c97(0xbe)]||this[_0x59c97(0xd7)][_0x59c97(0xc7)]||this[_0x59c97(0xd7)][_0x59c97(0xce)]||this[_0x59c97(0xd7)][_0x59c97(0xd1)]||this[_0x59c97(0xd7)][_0x59c97(0xd2)]?.[_0x59c97(0xca)]);this[_0x59c97(0xc3)]=_0xa901b1?_0x59c97(0xc0):_0x59c97(0xdd),this[_0x59c97(0xd7)][_0x59c97(0xbe)]&&(this[_0x59c97(0xe3)](),this[_0x59c97(0xd4)][_0x59c97(0xdb)](this[_0x59c97(0xd3)])),this[_0x59c97(0xd7)][_0x59c97(0xc7)]&&(this[_0x59c97(0xd5)](),this[_0x59c97(0xd4)][_0x59c97(0xdb)](this[_0x59c97(0xf1)])),this[_0x59c97(0xd9)](),this[_0x59c97(0xd7)][_0x59c97(0xce)]&&this[_0x59c97(0xd4)][_0x59c97(0xdb)](this[_0x59c97(0xeb)]),this[_0x59c97(0xd7)][_0x59c97(0xd1)]&&this[_0x59c97(0xd4)][_0x59c97(0xdb)](this[_0x59c97(0xbc)]),this[_0x59c97(0xd7)][_0x59c97(0xd2)]&&this[_0x59c97(0xd4)][_0x59c97(0xc5)](this[_0x59c97(0xd7)][_0x59c97(0xd2)]);}[_0x2ee09a(0xe4)](_0x2d09dd){const _0x1db858=_0x2ee09a;this[_0x1db858(0xf1)][_0x1db858(0xe6)]=_0x2d09dd;}[_0x2ee09a(0xd9)](){const _0x45b620=_0x2ee09a;this[_0x45b620(0xeb)]=new _0x58a5dd(this[_0x45b620(0xd0)]),this[_0x45b620(0xeb)][_0x45b620(0xe0)]({'icon':_0x52c502,'label':_0x2b6464(this[_0x45b620(0xd0)],_0x45b620(0xed)),'tooltip':!0x0}),this[_0x45b620(0xeb)][_0x45b620(0xc2)](_0x45b620(0xe6))['to'](this),this[_0x45b620(0xeb)]['on'](_0x45b620(0xea),()=>{const _0x30cd5f=_0x45b620;this[_0x30cd5f(0xd8)](_0x30cd5f(0xdc));}),this[_0x45b620(0xbc)]=new _0x58a5dd(this[_0x45b620(0xd0)]),this[_0x45b620(0xbc)][_0x45b620(0xe0)]({'icon':_0x576626,'label':_0x2b6464(this[_0x45b620(0xd0)],_0x45b620(0xe1)),'tooltip':!0x0}),this[_0x45b620(0xbc)][_0x45b620(0xc2)](_0x45b620(0xe6))['to'](this),this[_0x45b620(0xbc)]['on'](_0x45b620(0xea),()=>{const _0x2e4543=_0x45b620;this[_0x2e4543(0xd8)](_0x2e4543(0xe2));});}[_0x2ee09a(0xe3)](){const _0x70125a=_0x2ee09a;this[_0x70125a(0xd3)]=new _0x58a5dd(this[_0x70125a(0xd0)]),this[_0x70125a(0xd3)][_0x70125a(0xe0)]({'icon':_0xc1c4a3,'label':_0x2b6464(this[_0x70125a(0xd0)],_0x70125a(0xbd)),'class':_0x70125a(0xe5),'tooltip':!0x0}),this[_0x70125a(0xd3)][_0x70125a(0xc2)](_0x70125a(0xe6))['to'](this);const _0x45a1db=new _0x1d352d();_0x45a1db[_0x70125a(0xe0)]({'content':_0x189f54}),_0x45a1db[_0x70125a(0xcc)]({'attributes':{'class':[_0x70125a(0xe7)]}}),this[_0x70125a(0xd3)]['on'](_0x70125a(0xea),()=>{const _0x2cd6c3=_0x70125a;this[_0x2cd6c3(0xd3)][_0x2cd6c3(0xc3)]=_0x2cd6c3(0xe8),setTimeout(()=>{const _0x334d75=_0x2cd6c3;this[_0x334d75(0xd3)][_0x334d75(0xc3)]=_0x334d75(0xe5);},0x7d0);}),this[_0x70125a(0xd3)][_0x70125a(0xec)][_0x70125a(0xdb)](_0x45a1db);}[_0x2ee09a(0xd5)](){const _0x4c66e7=_0x2ee09a;this[_0x4c66e7(0xf1)]=new _0x58a5dd(this[_0x4c66e7(0xd0)]),this[_0x4c66e7(0xf1)][_0x4c66e7(0xe0)]({'icon':_0x18a7d4,'label':_0x2b6464(this[_0x4c66e7(0xd0)],_0x4c66e7(0xf2)),'withText':_0x4c66e7(0xd6)==this[_0x4c66e7(0xd7)][_0x4c66e7(0xc7)],'tooltip':_0x4c66e7(0xd6)!=this[_0x4c66e7(0xd7)][_0x4c66e7(0xc7)],'class':_0x4c66e7(0xc1)}),this[_0x4c66e7(0xf1)][_0x4c66e7(0xc2)](_0x4c66e7(0xc8))['to'](this,_0x4c66e7(0xc4)),this[_0x4c66e7(0xf1)][_0x4c66e7(0xc2)](_0x4c66e7(0xe6))['to'](this),this[_0x4c66e7(0xf1)][_0x4c66e7(0xc2)](_0x4c66e7(0xda))['to'](this,_0x4c66e7(0xc4),_0x34ee90=>_0x34ee90?_0x582ef7:_0x18a7d4),this[_0x4c66e7(0xf1)]['on'](_0x4c66e7(0xea),()=>{const _0x28364f=_0x4c66e7;this[_0x28364f(0xd8)](_0x28364f(0xdf));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x483cee=_0x3085;(function(_0x362d4c,_0x5bc944){const _0x372be5=_0x3085,_0x35d7b8=_0x362d4c();while(!![]){try{const _0x191af7=-parseInt(_0x372be5(0xdc))/0x1*(parseInt(_0x372be5(0xb9))/0x2)+parseInt(_0x372be5(0xa6))/0x3+-parseInt(_0x372be5(0xb7))/0x4*(-parseInt(_0x372be5(0xc0))/0x5)+-parseInt(_0x372be5(0xa5))/0x6*(-parseInt(_0x372be5(0xcf))/0x7)+-parseInt(_0x372be5(0xc7))/0x8*(-parseInt(_0x372be5(0x96))/0x9)+parseInt(_0x372be5(0xc2))/0xa*(-parseInt(_0x372be5(0xca))/0xb)+-parseInt(_0x372be5(0xb1))/0xc*(parseInt(_0x372be5(0xa1))/0xd);if(_0x191af7===_0x5bc944)break;else _0x35d7b8['push'](_0x35d7b8['shift']());}catch(_0x120bc5){_0x35d7b8['push'](_0x35d7b8['shift']());}}}(_0x4d9e,0xc4abb));function _0x4d9e(){const _0x1958a2=['hasChanges','forEach','filter','isActive','findIndex','_emptyPartsWarningView','delegate','_updateContentPartsPromiseQueue','availableActions','add','updateContent','locale','1183687dVDUxd','updateContentParts','empty-parts-warning','_switchButtonLabelsPlurality','9yxCEZB','hasNonEmptyParts','_showUnchangedParts','abort','ck-ai-suggestion__body','bind','length','some','isTrackChangesOn','addSource','from','39PepWyF','partDefinition','push','updateSources','6HWbMKW','4029060GOPAKu','index','setTemplate','pending','setContent','updatePartState','_sourcesView','_actionsView','AI_SUGGESTION_EMPTY_PART_WARNING','warning','queueEmptyPromise','2396748gOZzoa','markAsDone','AI_SUGGESTION_NO_PARTS_WARNING','_availableActions','createCollection','setPartActive','251092mJmsFE','_cachedContentParts','2cSapRb','partsCount','_areActionsDisabled','isEnabled','hasPendingParts','isVisible','enqueue','95gDdluZ','set','10pfPolR','state','ck-ai-suggestion__body__content-parts','bodyCollection','areActionsDisabled','4287728mDapLr','getPartView','_children','16520933QJDeEM','div','addEventListener','updateVisibility','find','7130669UdFznn'];_0x4d9e=function(){return _0x1958a2;};return _0x4d9e();}function _0x3085(_0x11bc17,_0x349691){const _0x4d9e8d=_0x4d9e();return _0x3085=function(_0x3085b0,_0x3d63d6){_0x3085b0=_0x3085b0-0x93;let _0x26b46a=_0x4d9e8d[_0x3085b0];return _0x26b46a;},_0x3085(_0x11bc17,_0x349691);}import{View as _0x34a859}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x39acb7}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3603f7}from'../../utils/eventnames.js';import{PromiseQueue as _0x2fd6ba}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x722f6b}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x29e22a}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0x125457}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x5baefe}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x34a859{[_0x483cee(0xad)];[_0x483cee(0xac)];[_0x483cee(0xc9)];[_0x483cee(0xbb)];[_0x483cee(0x98)];[_0x483cee(0xd7)];[_0x483cee(0xd5)];[_0x483cee(0xb4)];[_0x483cee(0xb8)]=[];constructor(_0x376c7a,_0x5e0d28){const _0x14fc66=_0x483cee;super(_0x376c7a);const {areActionsDisabled:_0x2b935c,showUnchangedParts:_0x38eb53,availableActions:_0x140f92}=_0x5e0d28;this[_0x14fc66(0xbb)]=_0x2b935c,this[_0x14fc66(0x98)]=_0x38eb53,this[_0x14fc66(0xb4)]=_0x140f92,this[_0x14fc66(0xc1)](_0x14fc66(0xbd),!0x1),this[_0x14fc66(0xc1)](_0x14fc66(0x9e),!0x1),this[_0x14fc66(0xc9)]=this[_0x14fc66(0xb5)](),this[_0x14fc66(0xd7)]=new _0x2fd6ba(),this[_0x14fc66(0xd5)]=new _0x722f6b({'id':_0x14fc66(0x94),'initialContent':_0x29e22a(_0x376c7a,_0x14fc66(0xae)),'level':_0x14fc66(0xaf)}),this[_0x14fc66(0xd5)][_0x14fc66(0xbe)]=!0x1,this[_0x14fc66(0xad)]=new _0x125457(_0x376c7a,_0x5e0d28[_0x14fc66(0xd8)],this[_0x14fc66(0xbb)]),this[_0x14fc66(0xad)][_0x14fc66(0x9b)](_0x14fc66(0x9e))['to'](this),this[_0x14fc66(0xac)]=new _0x5baefe(this[_0x14fc66(0xdb)],_0x5e0d28[_0x14fc66(0xc5)]),_0x5e0d28[_0x14fc66(0xc6)]?this[_0x14fc66(0xad)][_0x14fc66(0xbc)]=!0x1:this[_0x14fc66(0xad)][_0x14fc66(0x9b)](_0x14fc66(0xbc))['to'](this,_0x14fc66(0xbd)),this[_0x14fc66(0xad)][_0x14fc66(0xd6)](..._0x3603f7)['to'](this),this[_0x14fc66(0xa8)]({'tag':_0x14fc66(0xcb),'attributes':{'class':['ck',_0x14fc66(0x9a)]},'children':[{'tag':_0x14fc66(0xcb),'attributes':{'class':['ck',_0x14fc66(0xc4)]},'children':this[_0x14fc66(0xc9)]},this[_0x14fc66(0xd5)],this[_0x14fc66(0xad)],this[_0x14fc66(0xac)]]});}get[_0x483cee(0xba)](){const _0x445091=_0x483cee;return this[_0x445091(0xc9)][_0x445091(0x9c)];}async[_0x483cee(0x93)]({parts:_0x13c687,renderingStrategy:_0x267c6a,abortSignal:_0x591bf9}){const _0x2afb9d=_0x483cee;this[_0x2afb9d(0xc9)][_0x2afb9d(0x9c)]?_0x13c687[_0x2afb9d(0xd1)](_0xef01a0=>{const _0x26c7a5=_0x2afb9d,_0x2a8a89=this[_0x26c7a5(0xb8)][_0x26c7a5(0xd4)](_0x2971ec=>_0x2971ec[_0x26c7a5(0xa7)]==_0xef01a0[_0x26c7a5(0xa7)]);-0x1===_0x2a8a89?this[_0x26c7a5(0xb8)][_0x26c7a5(0xa3)](_0xef01a0):this[_0x26c7a5(0xb8)][_0x2a8a89]=_0xef01a0;}):this[_0x2afb9d(0xb8)]=_0x13c687;const _0x57e4bf=this[_0x2afb9d(0x98)]?_0x13c687:_0x13c687[_0x2afb9d(0xd2)](_0x3c3568=>_0x3c3568[_0x2afb9d(0xd0)]);this[_0x2afb9d(0xad)][_0x2afb9d(0x95)](_0x57e4bf[_0x2afb9d(0x9c)]>0x1);for(const _0x42aed8 of _0x57e4bf)this[_0x2afb9d(0xd7)][_0x2afb9d(0xbf)](async _0x9636d6=>{const _0x2d37b1=_0x2afb9d;let _0x1a69e3=this[_0x2d37b1(0xc8)](_0x42aed8[_0x2d37b1(0xa7)]);_0x1a69e3||(_0x1a69e3=new _0x39acb7(this[_0x2d37b1(0xdb)],{'part':_0x42aed8,'uiIndex':this[_0x2d37b1(0xc9)][_0x2d37b1(0x9c)]+0x1,'areActionsDisabled':this[_0x2d37b1(0xbb)],'availableActions':this[_0x2d37b1(0xb4)]}),_0x1a69e3[_0x2d37b1(0xd6)](..._0x3603f7)['to'](this),this[_0x2d37b1(0xc9)][_0x2d37b1(0xd9)](_0x1a69e3),this[_0x2d37b1(0xbd)]=!0x0),await _0x1a69e3[_0x2d37b1(0xda)]({'part':_0x42aed8,'renderingStrategy':_0x267c6a,'showUnchangedParts':this[_0x2d37b1(0x98)],'abortSignal':_0x9636d6}),_0x1a69e3[_0x2d37b1(0xb2)]();});return _0x591bf9?.[_0x2afb9d(0xcc)](_0x2afb9d(0x99),()=>{const _0x611c9e=_0x2afb9d;this[_0x611c9e(0xd7)][_0x611c9e(0x99)]();}),this[_0x2afb9d(0xd7)][_0x2afb9d(0xb0)];}[_0x483cee(0xab)](_0x367e73,_0x339984){const _0x5019b3=_0x483cee,_0x11a12a=this[_0x5019b3(0xc8)](_0x367e73);_0x11a12a&&(_0x11a12a[_0x5019b3(0xc3)]=_0x339984),this[_0x5019b3(0xbd)]=_0x5019b3(0xa9)==_0x339984||Array[_0x5019b3(0xa0)](this[_0x5019b3(0xc9)])[_0x5019b3(0x9d)](_0x32876f=>_0x5019b3(0xa9)==_0x32876f[_0x5019b3(0xc3)]);}[_0x483cee(0xb6)](_0x1100fc,_0x40543f){const _0x39b388=_0x483cee;if(!0x1===_0x1100fc){for(const _0x1cf758 of this[_0x39b388(0xc9)])_0x1cf758[_0x39b388(0xd3)]=!0x1;}else{const _0x5a4ff8=this[_0x39b388(0xc8)](_0x1100fc);_0x5a4ff8&&(_0x5a4ff8[_0x39b388(0xd3)]=_0x40543f);}}[_0x483cee(0xa4)](_0x466768){const _0x6abc9=_0x483cee;_0x466768[_0x6abc9(0xd1)](_0x1ba77e=>this[_0x6abc9(0xac)][_0x6abc9(0x9f)](_0x1ba77e)),this[_0x6abc9(0xac)][_0x6abc9(0xbe)]=!0x0;}[_0x483cee(0xc8)](_0x51dcba){const _0xf1f1b=_0x483cee;return this[_0xf1f1b(0xc9)][_0xf1f1b(0xce)](_0x12a2b7=>_0x12a2b7[_0xf1f1b(0xa2)][_0xf1f1b(0xa7)]==_0x51dcba)??null;}[_0x483cee(0xb2)](){const _0x320958=_0x483cee;if(!this[_0x320958(0x98)]){const _0x30d130=!this[_0x320958(0xb8)][_0x320958(0xce)](({hasChanges:_0x2f74a8})=>_0x2f74a8),_0x484f6f=!!this[_0x320958(0xb8)][_0x320958(0xce)](({hasChanges:_0x247ad5})=>!_0x247ad5);this[_0x320958(0xd5)][_0x320958(0xbe)]=0x0==this[_0x320958(0xc9)][_0x320958(0x9c)]||_0x484f6f,_0x30d130?this[_0x320958(0xd5)][_0x320958(0xaa)](_0x29e22a(this[_0x320958(0xdb)],_0x320958(0xb3))):this[_0x320958(0xd5)][_0x320958(0xaa)](_0x29e22a(this[_0x320958(0xdb)],_0x320958(0xae)));}this[_0x320958(0xc9)][_0x320958(0xd1)](_0x36c496=>_0x36c496[_0x320958(0xb2)]()),this[_0x320958(0xad)][_0x320958(0xcd)](this[_0x320958(0x97)]);}get[_0x483cee(0x97)](){const _0x2f6618=_0x483cee;return this[_0x2f6618(0xc9)][_0x2f6618(0xd2)](_0x3f3ebf=>_0x3f3ebf[_0x2f6618(0xa2)][_0x2f6618(0xd0)])[_0x2f6618(0x9c)]>0x0;}}
23
+ function _0x4c36(){const _0xc526e0=['80KOOtOn','updatePartState','partDefinition','_children','10FUQyrJ','ck-ai-suggestion__body__content-parts','_actionsView','createCollection','updateSources','_showUnchangedParts','_updateContentPartsPromiseQueue','81739bJdIqf','158101hChwCe','updateContent','empty-parts-warning','filter','setPartActive','from','forEach','isVisible','findIndex','availableActions','updateContentParts','hasPendingParts','_sourcesView','queueEmptyPromise','pending','partsCount','markAsDone','addEventListener','bind','delegate','push','AI_SUGGESTION_EMPTY_PART_WARNING','enqueue','531705cwQWcm','isActive','set','_areActionsDisabled','_availableActions','bodyCollection','setContent','hasChanges','index','_switchButtonLabelsPlurality','AI_SUGGESTION_NO_PARTS_WARNING','59338SzAFos','_emptyPartsWarningView','174975AapgDd','hasNonEmptyParts','some','824679oHXHPG','12DqpbWw','areActionsDisabled','87040EhzdAF','_cachedContentParts','setTemplate','warning','add','updateVisibility','abort','addSource','ck-ai-suggestion__body','length','isEnabled','state','locale','div','getPartView','find','isTrackChangesOn'];_0x4c36=function(){return _0xc526e0;};return _0x4c36();}function _0xcd2a(_0x7a865c,_0xc65508){const _0x4c36af=_0x4c36();return _0xcd2a=function(_0xcd2a43,_0x8724a9){_0xcd2a43=_0xcd2a43-0x1c0;let _0x432376=_0x4c36af[_0xcd2a43];return _0x432376;},_0xcd2a(_0x7a865c,_0xc65508);}const _0x10d172=_0xcd2a;(function(_0x2805e2,_0x45b4de){const _0x4e5e7b=_0xcd2a,_0x5e5ea1=_0x2805e2();while(!![]){try{const _0x39331e=-parseInt(_0x4e5e7b(0x1de))/0x1+-parseInt(_0x4e5e7b(0x200))/0x2+parseInt(_0x4e5e7b(0x1f5))/0x3+-parseInt(_0x4e5e7b(0x1c1))/0x4+parseInt(_0x4e5e7b(0x202))/0x5*(-parseInt(_0x4e5e7b(0x206))/0x6)+parseInt(_0x4e5e7b(0x1dd))/0x7*(parseInt(_0x4e5e7b(0x1d2))/0x8)+parseInt(_0x4e5e7b(0x205))/0x9*(parseInt(_0x4e5e7b(0x1d6))/0xa);if(_0x39331e===_0x45b4de)break;else _0x5e5ea1['push'](_0x5e5ea1['shift']());}catch(_0x595ef0){_0x5e5ea1['push'](_0x5e5ea1['shift']());}}}(_0x4c36,0x19e84));import{View as _0x48d1fb}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x65bcd4}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3b3881}from'../../utils/eventnames.js';import{PromiseQueue as _0x348ecf}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x5aab5d}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x4c2278}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0x16400c}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x1aa12e}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x48d1fb{[_0x10d172(0x1d8)];[_0x10d172(0x1ea)];[_0x10d172(0x1d5)];[_0x10d172(0x1f8)];[_0x10d172(0x1db)];[_0x10d172(0x1dc)];[_0x10d172(0x201)];[_0x10d172(0x1f9)];[_0x10d172(0x1c2)]=[];constructor(_0x1f9c06,_0x28f767){const _0x1a2f10=_0x10d172;super(_0x1f9c06);const {areActionsDisabled:_0x351859,showUnchangedParts:_0x3f752f,availableActions:_0x14e83f}=_0x28f767;this[_0x1a2f10(0x1f8)]=_0x351859,this[_0x1a2f10(0x1db)]=_0x3f752f,this[_0x1a2f10(0x1f9)]=_0x14e83f,this[_0x1a2f10(0x1f7)](_0x1a2f10(0x1e9),!0x1),this[_0x1a2f10(0x1f7)](_0x1a2f10(0x1d1),!0x1),this[_0x1a2f10(0x1d5)]=this[_0x1a2f10(0x1d9)](),this[_0x1a2f10(0x1dc)]=new _0x348ecf(),this[_0x1a2f10(0x201)]=new _0x5aab5d({'id':_0x1a2f10(0x1e0),'initialContent':_0x4c2278(_0x1f9c06,_0x1a2f10(0x1f3)),'level':_0x1a2f10(0x1c4)}),this[_0x1a2f10(0x201)][_0x1a2f10(0x1e5)]=!0x1,this[_0x1a2f10(0x1d8)]=new _0x16400c(_0x1f9c06,_0x28f767[_0x1a2f10(0x1e7)],this[_0x1a2f10(0x1f8)]),this[_0x1a2f10(0x1d8)][_0x1a2f10(0x1f0)](_0x1a2f10(0x1d1))['to'](this),this[_0x1a2f10(0x1ea)]=new _0x1aa12e(this[_0x1a2f10(0x1cd)],_0x28f767[_0x1a2f10(0x1fa)]),_0x28f767[_0x1a2f10(0x1c0)]?this[_0x1a2f10(0x1d8)][_0x1a2f10(0x1cb)]=!0x1:this[_0x1a2f10(0x1d8)][_0x1a2f10(0x1f0)](_0x1a2f10(0x1cb))['to'](this,_0x1a2f10(0x1e9)),this[_0x1a2f10(0x1d8)][_0x1a2f10(0x1f1)](..._0x3b3881)['to'](this),this[_0x1a2f10(0x1c3)]({'tag':_0x1a2f10(0x1ce),'attributes':{'class':['ck',_0x1a2f10(0x1c9)]},'children':[{'tag':_0x1a2f10(0x1ce),'attributes':{'class':['ck',_0x1a2f10(0x1d7)]},'children':this[_0x1a2f10(0x1d5)]},this[_0x1a2f10(0x201)],this[_0x1a2f10(0x1d8)],this[_0x1a2f10(0x1ea)]]});}get[_0x10d172(0x1ed)](){const _0x582b60=_0x10d172;return this[_0x582b60(0x1d5)][_0x582b60(0x1ca)];}async[_0x10d172(0x1e8)]({parts:_0x3b7acd,renderingStrategy:_0x3a6ad9,abortSignal:_0x117688}){const _0x2a0410=_0x10d172;this[_0x2a0410(0x1d5)][_0x2a0410(0x1ca)]?_0x3b7acd[_0x2a0410(0x1e4)](_0x202259=>{const _0x4b1c27=_0x2a0410,_0x3a6e58=this[_0x4b1c27(0x1c2)][_0x4b1c27(0x1e6)](_0x462b77=>_0x462b77[_0x4b1c27(0x1fd)]==_0x202259[_0x4b1c27(0x1fd)]);-0x1===_0x3a6e58?this[_0x4b1c27(0x1c2)][_0x4b1c27(0x1f2)](_0x202259):this[_0x4b1c27(0x1c2)][_0x3a6e58]=_0x202259;}):this[_0x2a0410(0x1c2)]=_0x3b7acd;const _0x1c6a09=this[_0x2a0410(0x1db)]?_0x3b7acd:_0x3b7acd[_0x2a0410(0x1e1)](_0x5a4889=>_0x5a4889[_0x2a0410(0x1fc)]);this[_0x2a0410(0x1d8)][_0x2a0410(0x1fe)](_0x1c6a09[_0x2a0410(0x1ca)]>0x1);for(const _0x5601 of _0x1c6a09)this[_0x2a0410(0x1dc)][_0x2a0410(0x1f4)](async _0x55b080=>{const _0x27252f=_0x2a0410;let _0x290676=this[_0x27252f(0x1cf)](_0x5601[_0x27252f(0x1fd)]);_0x290676||(_0x290676=new _0x65bcd4(this[_0x27252f(0x1cd)],{'part':_0x5601,'uiIndex':this[_0x27252f(0x1d5)][_0x27252f(0x1ca)]+0x1,'areActionsDisabled':this[_0x27252f(0x1f8)],'availableActions':this[_0x27252f(0x1f9)]}),_0x290676[_0x27252f(0x1f1)](..._0x3b3881)['to'](this),this[_0x27252f(0x1d5)][_0x27252f(0x1c5)](_0x290676),this[_0x27252f(0x1e9)]=!0x0),await _0x290676[_0x27252f(0x1df)]({'part':_0x5601,'renderingStrategy':_0x3a6ad9,'showUnchangedParts':this[_0x27252f(0x1db)],'abortSignal':_0x55b080}),_0x290676[_0x27252f(0x1ee)]();});return _0x117688?.[_0x2a0410(0x1ef)](_0x2a0410(0x1c7),()=>{const _0x1a87f8=_0x2a0410;this[_0x1a87f8(0x1dc)][_0x1a87f8(0x1c7)]();}),this[_0x2a0410(0x1dc)][_0x2a0410(0x1eb)];}[_0x10d172(0x1d3)](_0x358bad,_0x432ce3){const _0x463b08=_0x10d172,_0x5031c2=this[_0x463b08(0x1cf)](_0x358bad);_0x5031c2&&(_0x5031c2[_0x463b08(0x1cc)]=_0x432ce3),this[_0x463b08(0x1e9)]=_0x463b08(0x1ec)==_0x432ce3||Array[_0x463b08(0x1e3)](this[_0x463b08(0x1d5)])[_0x463b08(0x204)](_0x2aa755=>_0x463b08(0x1ec)==_0x2aa755[_0x463b08(0x1cc)]);}[_0x10d172(0x1e2)](_0x1cfca4,_0x59f79b){const _0x4e2eb5=_0x10d172;if(!0x1===_0x1cfca4){for(const _0x1de707 of this[_0x4e2eb5(0x1d5)])_0x1de707[_0x4e2eb5(0x1f6)]=!0x1;}else{const _0x2bf4cf=this[_0x4e2eb5(0x1cf)](_0x1cfca4);_0x2bf4cf&&(_0x2bf4cf[_0x4e2eb5(0x1f6)]=_0x59f79b);}}[_0x10d172(0x1da)](_0x3ad3d){const _0x45e128=_0x10d172;_0x3ad3d[_0x45e128(0x1e4)](_0x5a7dcb=>this[_0x45e128(0x1ea)][_0x45e128(0x1c8)](_0x5a7dcb)),this[_0x45e128(0x1ea)][_0x45e128(0x1e5)]=!0x0;}[_0x10d172(0x1cf)](_0x183900){const _0x4afeac=_0x10d172;return this[_0x4afeac(0x1d5)][_0x4afeac(0x1d0)](_0x2115bb=>_0x2115bb[_0x4afeac(0x1d4)][_0x4afeac(0x1fd)]==_0x183900)??null;}[_0x10d172(0x1ee)](){const _0x4e6e06=_0x10d172;if(!this[_0x4e6e06(0x1db)]){const _0x90ed1b=!this[_0x4e6e06(0x1c2)][_0x4e6e06(0x1d0)](({hasChanges:_0x289f2d})=>_0x289f2d),_0x1c7632=!!this[_0x4e6e06(0x1c2)][_0x4e6e06(0x1d0)](({hasChanges:_0xd7a2d9})=>!_0xd7a2d9);this[_0x4e6e06(0x201)][_0x4e6e06(0x1e5)]=0x0==this[_0x4e6e06(0x1d5)][_0x4e6e06(0x1ca)]||_0x1c7632,_0x90ed1b?this[_0x4e6e06(0x201)][_0x4e6e06(0x1fb)](_0x4c2278(this[_0x4e6e06(0x1cd)],_0x4e6e06(0x1ff))):this[_0x4e6e06(0x201)][_0x4e6e06(0x1fb)](_0x4c2278(this[_0x4e6e06(0x1cd)],_0x4e6e06(0x1f3)));}this[_0x4e6e06(0x1d5)][_0x4e6e06(0x1e4)](_0x1e3c49=>_0x1e3c49[_0x4e6e06(0x1ee)]()),this[_0x4e6e06(0x1d8)][_0x4e6e06(0x1c6)](this[_0x4e6e06(0x203)]);}get[_0x10d172(0x203)](){const _0x639507=_0x10d172;return this[_0x639507(0x1d5)][_0x639507(0x1e1)](_0x179c60=>_0x179c60[_0x639507(0x1d4)][_0x639507(0x1fc)])[_0x639507(0x1ca)]>0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e1c82=_0x2d05;(function(_0x309c70,_0x9ac1ca){const _0x46ddba=_0x2d05,_0x518097=_0x309c70();while(!![]){try{const _0x5d3f37=-parseInt(_0x46ddba(0x144))/0x1+parseInt(_0x46ddba(0x156))/0x2+parseInt(_0x46ddba(0x147))/0x3+parseInt(_0x46ddba(0x13b))/0x4+parseInt(_0x46ddba(0x15b))/0x5*(-parseInt(_0x46ddba(0x148))/0x6)+parseInt(_0x46ddba(0x158))/0x7*(parseInt(_0x46ddba(0x13d))/0x8)+-parseInt(_0x46ddba(0x159))/0x9*(-parseInt(_0x46ddba(0x150))/0xa);if(_0x5d3f37===_0x9ac1ca)break;else _0x518097['push'](_0x518097['shift']());}catch(_0x42ef98){_0x518097['push'](_0x518097['shift']());}}}(_0x21f7,0xc8124));import{View as _0x2126ae}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x65bd39}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x4f555a}from'./aisuggestionbodyview.js';function _0x2d05(_0x52a313,_0x5b6e12){const _0x21f7f9=_0x21f7();return _0x2d05=function(_0x2d0556,_0x3b7d2c){_0x2d0556=_0x2d0556-0x13b;let _0x287dcf=_0x21f7f9[_0x2d0556];return _0x287dcf;},_0x2d05(_0x52a313,_0x5b6e12);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x376248}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0x2126ae{[_0x1e1c82(0x13c)];[_0x1e1c82(0x145)];[_0x1e1c82(0x14d)];constructor(_0x4b6a2e,_0x39ec29,_0x3fa3c6){const _0x5ed8e0=_0x1e1c82;super(_0x4b6a2e);const {showDiff:_0x333e91,areActionsDisabled:_0x25e3e1,showUnchangedParts:_0x40c475,availableActions:_0x58be9a}=_0x39ec29;this[_0x5ed8e0(0x14e)](_0x5ed8e0(0x152),!0x1),this[_0x5ed8e0(0x14e)](_0x5ed8e0(0x140),!0x1),this[_0x5ed8e0(0x145)]=this[_0x5ed8e0(0x14c)](),this[_0x5ed8e0(0x14d)]=new _0x65bd39(_0x4b6a2e,{'showDiff':_0x333e91}),this[_0x5ed8e0(0x14d)]['on'](_0x5ed8e0(0x15a),(_0x1db887,_0x426359)=>{const _0x259e40=_0x5ed8e0;this[_0x259e40(0x140)]=_0x426359[_0x259e40(0x146)],this[_0x259e40(0x155)](_0x259e40(0x141),{'showDiff':_0x426359[_0x259e40(0x146)]});}),this[_0x5ed8e0(0x145)][_0x5ed8e0(0x142)](this[_0x5ed8e0(0x14d)]),this[_0x5ed8e0(0x13c)]=new _0x4f555a(_0x4b6a2e,{'areActionsDisabled':_0x25e3e1,'showUnchangedParts':!!_0x40c475,'availableActions':_0x58be9a,'bodyCollection':_0x3fa3c6}),this[_0x5ed8e0(0x13c)][_0x5ed8e0(0x151)](..._0x376248)['to'](this),this[_0x5ed8e0(0x13c)][_0x5ed8e0(0x13f)](_0x5ed8e0(0x152))['to'](this),this[_0x5ed8e0(0x145)][_0x5ed8e0(0x142)](this[_0x5ed8e0(0x13c)]),this[_0x5ed8e0(0x157)]({'tag':_0x5ed8e0(0x149),'attributes':{'class':['ck',_0x5ed8e0(0x14f),_0x5ed8e0(0x14b)]},'children':this[_0x5ed8e0(0x145)]});}async[_0x1e1c82(0x14a)](_0x70c095){const _0x55c483=_0x1e1c82;await this[_0x55c483(0x13c)][_0x55c483(0x143)](_0x70c095);}[_0x1e1c82(0x154)](_0x407fc1){const _0x1f73e0=_0x1e1c82;this[_0x1f73e0(0x13c)][_0x1f73e0(0x154)](_0x407fc1);}[_0x1e1c82(0x15c)](){const _0x288c96=_0x1e1c82;this[_0x288c96(0x13c)][_0x288c96(0x15c)](),this[_0x288c96(0x14d)]&&(this[_0x288c96(0x14d)][_0x288c96(0x13e)]=this[_0x288c96(0x13c)][_0x288c96(0x153)]);}}function _0x21f7(){const _0x35bedd=['updateSources','fire','2501094GrumwF','setTemplate','21LGckln','531VAjFFE','toggleShowChanges','456185ltdLUG','markAsDone','1578308YBJYMP','bodyView','651784XKVokZ','isShowChangesToggleVisible','bind','areChangesVisible','toggleSuggestionDisplayMode','add','updateContentParts','748119zEAECd','children','isOn','1371570zXrswf','84pjflFB','div','updateContent','ck-rounded-corners','createCollection','headerView','set','ck-ai-suggestion__container','84440iJyhqI','delegate','isTrackChangesOn','hasNonEmptyParts'];_0x21f7=function(){return _0x35bedd;};return _0x21f7();}
23
+ const _0x43cf04=_0xdd00;(function(_0x30c689,_0x3a8d18){const _0x2e3125=_0xdd00,_0x59cebc=_0x30c689();while(!![]){try{const _0x21882c=parseInt(_0x2e3125(0x76))/0x1*(-parseInt(_0x2e3125(0x95))/0x2)+parseInt(_0x2e3125(0x7e))/0x3+parseInt(_0x2e3125(0x89))/0x4*(parseInt(_0x2e3125(0x85))/0x5)+-parseInt(_0x2e3125(0x90))/0x6*(-parseInt(_0x2e3125(0x7c))/0x7)+parseInt(_0x2e3125(0x86))/0x8*(-parseInt(_0x2e3125(0x87))/0x9)+parseInt(_0x2e3125(0x96))/0xa+parseInt(_0x2e3125(0x82))/0xb*(-parseInt(_0x2e3125(0x8b))/0xc);if(_0x21882c===_0x3a8d18)break;else _0x59cebc['push'](_0x59cebc['shift']());}catch(_0x4df21e){_0x59cebc['push'](_0x59cebc['shift']());}}}(_0x4107,0xd6cf5));import{View as _0xc2a70e}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x83565b}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x4ad58b}from'./aisuggestionbodyview.js';function _0xdd00(_0x418636,_0x363f16){const _0x41073f=_0x4107();return _0xdd00=function(_0xdd007b,_0x55c3bf){_0xdd007b=_0xdd007b-0x75;let _0x62cf27=_0x41073f[_0xdd007b];return _0x62cf27;},_0xdd00(_0x418636,_0x363f16);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x19ba3f}from'../../utils/eventnames.js';function _0x4107(){const _0x213014=['978612fZhfAh','3369570epHCNe','toggleShowChanges','updateContent','children','1EAvmNl','setTemplate','hasNonEmptyParts','div','bodyView','headerView','39011gfTKXF','toggleSuggestionDisplayMode','5106396dSxswB','createCollection','add','updateContentParts','121NRWIDy','bind','fire','2805BOOdJG','9291832DodxEk','9tctAlE','markAsDone','4788mHjZAN','set','1333212TucKAN','areChangesVisible','ck-ai-suggestion__container','isOn','isShowChangesToggleVisible','1122ZZUBXj','ck-rounded-corners','delegate','updateSources','isTrackChangesOn'];_0x4107=function(){return _0x213014;};return _0x4107();}import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0xc2a70e{[_0x43cf04(0x7a)];[_0x43cf04(0x75)];[_0x43cf04(0x7b)];constructor(_0xef6adb,_0x157d1b,_0x2e4de3){const _0x5ead11=_0x43cf04;super(_0xef6adb);const {showDiff:_0x52fe8b,areActionsDisabled:_0x3a892d,showUnchangedParts:_0x43910b,availableActions:_0x49d221}=_0x157d1b;this[_0x5ead11(0x8a)](_0x5ead11(0x94),!0x1),this[_0x5ead11(0x8a)](_0x5ead11(0x8c),!0x1),this[_0x5ead11(0x75)]=this[_0x5ead11(0x7f)](),this[_0x5ead11(0x7b)]=new _0x83565b(_0xef6adb,{'showDiff':_0x52fe8b}),this[_0x5ead11(0x7b)]['on'](_0x5ead11(0x97),(_0x4388dd,_0x1ae556)=>{const _0x56630d=_0x5ead11;this[_0x56630d(0x8c)]=_0x1ae556[_0x56630d(0x8e)],this[_0x56630d(0x84)](_0x56630d(0x7d),{'showDiff':_0x1ae556[_0x56630d(0x8e)]});}),this[_0x5ead11(0x75)][_0x5ead11(0x80)](this[_0x5ead11(0x7b)]),this[_0x5ead11(0x7a)]=new _0x4ad58b(_0xef6adb,{'areActionsDisabled':_0x3a892d,'showUnchangedParts':!!_0x43910b,'availableActions':_0x49d221,'bodyCollection':_0x2e4de3}),this[_0x5ead11(0x7a)][_0x5ead11(0x92)](..._0x19ba3f)['to'](this),this[_0x5ead11(0x7a)][_0x5ead11(0x83)](_0x5ead11(0x94))['to'](this),this[_0x5ead11(0x75)][_0x5ead11(0x80)](this[_0x5ead11(0x7a)]),this[_0x5ead11(0x77)]({'tag':_0x5ead11(0x79),'attributes':{'class':['ck',_0x5ead11(0x8d),_0x5ead11(0x91)]},'children':this[_0x5ead11(0x75)]});}async[_0x43cf04(0x98)](_0x450dc7){const _0x2960ed=_0x43cf04;await this[_0x2960ed(0x7a)][_0x2960ed(0x81)](_0x450dc7);}[_0x43cf04(0x93)](_0x22265c){const _0x4facd6=_0x43cf04;this[_0x4facd6(0x7a)][_0x4facd6(0x93)](_0x22265c);}[_0x43cf04(0x88)](){const _0x2bdd86=_0x43cf04;this[_0x2bdd86(0x7a)][_0x2bdd86(0x88)](),this[_0x2bdd86(0x7b)]&&(this[_0x2bdd86(0x7b)][_0x2bdd86(0x8f)]=this[_0x2bdd86(0x7a)][_0x2bdd86(0x78)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a8dbf=_0x4eb1;(function(_0x5442cf,_0x371584){const _0x13c403=_0x4eb1,_0x2948f6=_0x5442cf();while(!![]){try{const _0x47b316=-parseInt(_0x13c403(0xc4))/0x1*(-parseInt(_0x13c403(0xd2))/0x2)+parseInt(_0x13c403(0xcc))/0x3+-parseInt(_0x13c403(0xc0))/0x4+parseInt(_0x13c403(0xd1))/0x5+parseInt(_0x13c403(0xbf))/0x6+-parseInt(_0x13c403(0xc2))/0x7*(-parseInt(_0x13c403(0xc7))/0x8)+-parseInt(_0x13c403(0xbd))/0x9*(parseInt(_0x13c403(0xcd))/0xa);if(_0x47b316===_0x371584)break;else _0x2948f6['push'](_0x2948f6['shift']());}catch(_0x24d796){_0x2948f6['push'](_0x2948f6['shift']());}}}(_0x4c85,0x3a4da));import{IconView as _0x64a2f3,View as _0x10ae13}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x358919,IconBoxWithCheck as _0x521f5d}from'ckeditor5/src/icons.js';import{getTranslation as _0x4558c7}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x521f5d,'rejected':_0x358919,'outdated':_0x358919};export class AISuggestionContentPartStateView extends _0x10ae13{[_0x1a8dbf(0xd7)];constructor(_0x559119){const _0x14a4f2=_0x1a8dbf;super(_0x559119);const _0x47845d=this[_0x14a4f2(0xc6)];this[_0x14a4f2(0xc9)](_0x14a4f2(0xc8),_0x14a4f2(0xbc)),this[_0x14a4f2(0xc9)](_0x14a4f2(0xc1),!0x0),this[_0x14a4f2(0xd7)]=new StateIconView(),this[_0x14a4f2(0xd7)][_0x14a4f2(0xca)](_0x14a4f2(0xc8))['to'](this),this[_0x14a4f2(0xd4)]({'tag':_0x14a4f2(0xcf),'attributes':{'class':['ck',_0x14a4f2(0xcb),_0x47845d['to'](_0x14a4f2(0xc8),_0x3d3472=>_0x14a4f2(0xd5)+_0x3d3472),_0x47845d['if'](_0x14a4f2(0xc1),_0x14a4f2(0xbb),_0x4c766c=>!_0x4c766c)]},'children':[{'tag':_0x14a4f2(0xd0),'attributes':{'class':[_0x14a4f2(0xbe)]},'children':[{'text':_0x47845d['to'](_0x14a4f2(0xc8),_0x5944fa=>{const _0x1da13e=_0x14a4f2;switch(_0x5944fa){case _0x1da13e(0xbc):return _0x4558c7(_0x559119,_0x1da13e(0xd9));case _0x1da13e(0xc3):return _0x4558c7(_0x559119,_0x1da13e(0xd3));case _0x1da13e(0xd6):return _0x4558c7(_0x559119,_0x1da13e(0xc5));}})}]},this[_0x14a4f2(0xd7)]]});}[_0x1a8dbf(0xda)](_0x35017f){const _0x310ea7=_0x1a8dbf;this[_0x310ea7(0xc8)]=_0x35017f;}}function _0x4c85(){const _0x41dce2=['AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','setTemplate','ck-ai-suggestion__content-part-state_','outdated','stateIconView','content','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','setState','ck-hidden','accepted','711CPLZfj','ck-ai-suggestion__content-part-state__label','2106318DLqhvQ','1301496krwGfb','isVisible','11137gaMYWk','rejected','1229hRJuzh','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','bindTemplate','1896MeKCRu','state','set','bind','ck-ai-suggestion__content-part-state','360123DcSnkr','128770fRiSDk','change:state','div','span','1810740GnUndP','604JbOjdX'];_0x4c85=function(){return _0x41dce2;};return _0x4c85();}function _0x4eb1(_0x257da1,_0xb3726b){const _0x4c8588=_0x4c85();return _0x4eb1=function(_0x4eb16c,_0x4c475b){_0x4eb16c=_0x4eb16c-0xbb;let _0x55b1f8=_0x4c8588[_0x4eb16c];return _0x55b1f8;},_0x4eb1(_0x257da1,_0xb3726b);}export class StateIconView extends _0x64a2f3{constructor(){const _0x23f6df=_0x1a8dbf;super(),this[_0x23f6df(0xc9)](_0x23f6df(0xc8),_0x23f6df(0xbc)),this[_0x23f6df(0xd8)]=ICON_STATE_MAP[this[_0x23f6df(0xc8)]],this['on'](_0x23f6df(0xce),()=>{const _0x4784bc=_0x23f6df;this[_0x4784bc(0xd8)]=ICON_STATE_MAP[this[_0x4784bc(0xc8)]];});}}
23
+ function _0x1c4f(){const _0x239c3d=['ck-ai-suggestion__content-part-state_','setTemplate','div','9eriWEH','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','set','content','state','ck-ai-suggestion__content-part-state__label','accepted','2yHdzRr','stateIconView','543729MzZdfy','setState','rejected','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','span','1117745atHuMm','bind','2317VrSwRN','4xPWlJb','4974FkKERk','8242146GEZmGg','286401rsLsqU','1990470lhyyYV','outdated','ck-hidden','change:state','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','ck-ai-suggestion__content-part-state','isVisible','bindTemplate','1334848gVPRvB'];_0x1c4f=function(){return _0x239c3d;};return _0x1c4f();}const _0x3ea524=_0x4dd5;(function(_0x5ba092,_0x436fd6){const _0x1abdee=_0x4dd5,_0x40e37a=_0x5ba092();while(!![]){try{const _0x10e122=parseInt(_0x1abdee(0x1c4))/0x1*(-parseInt(_0x1abdee(0x1b7))/0x2)+-parseInt(_0x1abdee(0x1b9))/0x3*(parseInt(_0x1abdee(0x1c1))/0x4)+parseInt(_0x1abdee(0x1be))/0x5+parseInt(_0x1abdee(0x1c2))/0x6*(-parseInt(_0x1abdee(0x1c0))/0x7)+parseInt(_0x1abdee(0x1cd))/0x8+-parseInt(_0x1abdee(0x1b0))/0x9*(parseInt(_0x1abdee(0x1c5))/0xa)+parseInt(_0x1abdee(0x1c3))/0xb;if(_0x10e122===_0x436fd6)break;else _0x40e37a['push'](_0x40e37a['shift']());}catch(_0x384e0b){_0x40e37a['push'](_0x40e37a['shift']());}}}(_0x1c4f,0x307c9));import{IconView as _0x7443fa,View as _0x5e19c8}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x44d8c6,IconBoxWithCheck as _0x5d3c2e}from'ckeditor5/src/icons.js';import{getTranslation as _0x34672b}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x5d3c2e,'rejected':_0x44d8c6,'outdated':_0x44d8c6};function _0x4dd5(_0x380208,_0x434df1){const _0x1c4fcb=_0x1c4f();return _0x4dd5=function(_0x4dd5e6,_0x7b7023){_0x4dd5e6=_0x4dd5e6-0x1ad;let _0x20c929=_0x1c4fcb[_0x4dd5e6];return _0x20c929;},_0x4dd5(_0x380208,_0x434df1);}export class AISuggestionContentPartStateView extends _0x5e19c8{[_0x3ea524(0x1b8)];constructor(_0x52633f){const _0xd426e5=_0x3ea524;super(_0x52633f);const _0x37ea03=this[_0xd426e5(0x1cc)];this[_0xd426e5(0x1b2)](_0xd426e5(0x1b4),_0xd426e5(0x1b6)),this[_0xd426e5(0x1b2)](_0xd426e5(0x1cb),!0x0),this[_0xd426e5(0x1b8)]=new StateIconView(),this[_0xd426e5(0x1b8)][_0xd426e5(0x1bf)](_0xd426e5(0x1b4))['to'](this),this[_0xd426e5(0x1ae)]({'tag':_0xd426e5(0x1af),'attributes':{'class':['ck',_0xd426e5(0x1ca),_0x37ea03['to'](_0xd426e5(0x1b4),_0x40fdd6=>_0xd426e5(0x1ad)+_0x40fdd6),_0x37ea03['if'](_0xd426e5(0x1cb),_0xd426e5(0x1c7),_0x482d27=>!_0x482d27)]},'children':[{'tag':_0xd426e5(0x1bd),'attributes':{'class':[_0xd426e5(0x1b5)]},'children':[{'text':_0x37ea03['to'](_0xd426e5(0x1b4),_0x4dcba4=>{const _0x5b9d77=_0xd426e5;switch(_0x4dcba4){case _0x5b9d77(0x1b6):return _0x34672b(_0x52633f,_0x5b9d77(0x1b1));case _0x5b9d77(0x1bb):return _0x34672b(_0x52633f,_0x5b9d77(0x1c9));case _0x5b9d77(0x1c6):return _0x34672b(_0x52633f,_0x5b9d77(0x1bc));}})}]},this[_0xd426e5(0x1b8)]]});}[_0x3ea524(0x1ba)](_0x5b2fd6){const _0x569b73=_0x3ea524;this[_0x569b73(0x1b4)]=_0x5b2fd6;}}export class StateIconView extends _0x7443fa{constructor(){const _0x148ff0=_0x3ea524;super(),this[_0x148ff0(0x1b2)](_0x148ff0(0x1b4),_0x148ff0(0x1b6)),this[_0x148ff0(0x1b3)]=ICON_STATE_MAP[this[_0x148ff0(0x1b4)]],this['on'](_0x148ff0(0x1c8),()=>{const _0x1af1ec=_0x148ff0;this[_0x1af1ec(0x1b3)]=ICON_STATE_MAP[this[_0x1af1ec(0x1b4)]];});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x488f22=_0x46dd;function _0x46dd(_0xa2e46a,_0xe689e3){const _0x4cc27d=_0x4cc2();return _0x46dd=function(_0x46dd3a,_0x235f5d){_0x46dd3a=_0x46dd3a-0x161;let _0x325ecd=_0x4cc27d[_0x46dd3a];return _0x325ecd;},_0x46dd(_0xa2e46a,_0xe689e3);}(function(_0x3e44f1,_0x3f51a2){const _0x5fdcfc=_0x46dd,_0x286f62=_0x3e44f1();while(!![]){try{const _0x2fd9a7=parseInt(_0x5fdcfc(0x18a))/0x1*(parseInt(_0x5fdcfc(0x18c))/0x2)+parseInt(_0x5fdcfc(0x179))/0x3*(parseInt(_0x5fdcfc(0x163))/0x4)+parseInt(_0x5fdcfc(0x18e))/0x5*(-parseInt(_0x5fdcfc(0x184))/0x6)+-parseInt(_0x5fdcfc(0x17d))/0x7+-parseInt(_0x5fdcfc(0x175))/0x8+-parseInt(_0x5fdcfc(0x185))/0x9+parseInt(_0x5fdcfc(0x180))/0xa;if(_0x2fd9a7===_0x3f51a2)break;else _0x286f62['push'](_0x286f62['shift']());}catch(_0x483f96){_0x286f62['push'](_0x286f62['shift']());}}}(_0x4cc2,0x9c17d));import{View as _0x34968c}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x377561}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x57e7bb}from'./aisuggestioncontentpartheaderview.js';function _0x4cc2(){const _0x5d219d=['763173WhUzUv','change:isDone','partDefinition','div','8202390FMCsNH','isVisible','pending','34862760dcZmXj','target','contains','_headerView','618wEBwCF','10027611vHbUaM','bind','ck-ai-suggestion__body__content-part_active','ck-hidden','hasChanges','1ktEvaZ','_children','285274wGNLFV','isActive','37805ldBKIT','state','toolbarView','change:state','ck-ai-suggestion__body__content-part_enabled','12DPhHwI','element','ck-ai-suggestion__body__content-part','isEnabled','showChangeInText','mouseOverSuggestion','_streamableContentView','update','index','markAsDone','createCollection','isDone','setTemplate','addMany','bindTemplate','fire','delegate','updateContent','5503976HIFKBr','ck-ai-suggestion__body__content-part_','mouseLeaveSuggestion','set'];_0x4cc2=function(){return _0x5d219d;};return _0x4cc2();}import{AISuggestionStreamableContentView as _0xafc13b}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0x34968c{[_0x488f22(0x18b)];[_0x488f22(0x183)];[_0x488f22(0x169)];constructor(_0x37095f,{part:_0x1fccec,uiIndex:_0x44234d,areActionsDisabled:_0x1de39d,availableActions:_0x16b205}){const _0x3693b6=_0x488f22;super(_0x37095f);const _0x478ddd=this[_0x3693b6(0x171)];this[_0x3693b6(0x178)](_0x3693b6(0x18f),_0x3693b6(0x17f)),this[_0x3693b6(0x178)](_0x3693b6(0x16e),!0x1),this[_0x3693b6(0x178)](_0x3693b6(0x17e),!0x1),this[_0x3693b6(0x178)](_0x3693b6(0x18d),!0x1),this[_0x3693b6(0x178)](_0x3693b6(0x166),!0x1);const _0x406a70=()=>{const _0x2c2ea3=_0x3693b6;this[_0x2c2ea3(0x166)]=this[_0x2c2ea3(0x16e)]&&_0x2c2ea3(0x17f)==this[_0x2c2ea3(0x18f)]&&!_0x1de39d;};this['on'](_0x3693b6(0x161),_0x406a70),this['on'](_0x3693b6(0x17a),_0x406a70),_0x406a70(),this[_0x3693b6(0x18b)]=this[_0x3693b6(0x16d)](),this[_0x3693b6(0x183)]=new _0x57e7bb(_0x37095f,{'part':_0x1fccec,'uiIndex':_0x44234d,'availableActions':_0x16b205,'areActionsDisabled':_0x1de39d}),this[_0x3693b6(0x183)][_0x3693b6(0x186)](_0x3693b6(0x166),_0x3693b6(0x18f))['to'](this),this[_0x3693b6(0x183)][_0x3693b6(0x173)](..._0x377561)['to'](this),this[_0x3693b6(0x169)]=new _0xafc13b(_0x37095f),this[_0x3693b6(0x18b)][_0x3693b6(0x170)]([this[_0x3693b6(0x183)],this[_0x3693b6(0x169)]]),this[_0x3693b6(0x16f)]({'tag':_0x3693b6(0x17c),'attributes':{'class':['ck',_0x3693b6(0x165),_0x478ddd['to'](_0x3693b6(0x18f),_0x1dd341=>_0x3693b6(0x176)+_0x1dd341),_0x478ddd['if'](_0x3693b6(0x166),_0x3693b6(0x162)),_0x478ddd['if'](_0x3693b6(0x18d),_0x3693b6(0x187)),_0x478ddd['if'](_0x3693b6(0x17e),_0x3693b6(0x188),_0x5b9ebf=>!_0x5b9ebf)]},'children':this[_0x3693b6(0x18b)],'on':{'mouseenter':_0x478ddd['to'](()=>{const _0x583294=_0x3693b6;this[_0x583294(0x166)]&&this[_0x583294(0x172)](_0x583294(0x168),{'index':_0x1fccec[_0x583294(0x16b)]});}),'mouseleave':_0x478ddd['to'](()=>{const _0x40d68e=_0x3693b6;this[_0x40d68e(0x166)]&&this[_0x40d68e(0x172)](_0x40d68e(0x177),{'index':_0x1fccec[_0x40d68e(0x16b)]});}),'click':_0x478ddd['to'](_0x1902b9=>{const _0x51522c=_0x3693b6,_0x5e32de=_0x1902b9[_0x51522c(0x181)];this[_0x51522c(0x166)]&&!this[_0x51522c(0x183)][_0x51522c(0x190)][_0x51522c(0x164)][_0x51522c(0x182)](_0x5e32de)&&this[_0x51522c(0x172)](_0x51522c(0x167),{'index':_0x1fccec[_0x51522c(0x16b)]});})}});}async[_0x488f22(0x174)]({part:_0x434795,renderingStrategy:_0x30ea1f,showUnchangedParts:_0x59e3bb=!0x1,abortSignal:_0x169d64}){const _0xee2eae=_0x488f22;this[_0xee2eae(0x17b)]=_0x434795,this[_0xee2eae(0x17e)]=this[_0xee2eae(0x17b)][_0xee2eae(0x189)]||_0x59e3bb,this[_0xee2eae(0x17e)]&&await this[_0xee2eae(0x169)][_0xee2eae(0x16a)]({'part':_0x434795,'renderingStrategy':_0x30ea1f,'abortSignal':_0x169d64});}[_0x488f22(0x16c)](){const _0x27a1d1=_0x488f22;this[_0x27a1d1(0x16e)]=!0x0;}}
23
+ const _0x11e106=_0x4f6e;(function(_0x495cf1,_0x33ecd1){const _0x13c780=_0x4f6e,_0x9d9e5f=_0x495cf1();while(!![]){try{const _0x1157c5=parseInt(_0x13c780(0xf0))/0x1*(parseInt(_0x13c780(0xe3))/0x2)+-parseInt(_0x13c780(0xf4))/0x3*(parseInt(_0x13c780(0xee))/0x4)+parseInt(_0x13c780(0x102))/0x5*(parseInt(_0x13c780(0x101))/0x6)+-parseInt(_0x13c780(0xed))/0x7+parseInt(_0x13c780(0xd9))/0x8+-parseInt(_0x13c780(0xfb))/0x9*(-parseInt(_0x13c780(0xf8))/0xa)+-parseInt(_0x13c780(0xeb))/0xb;if(_0x1157c5===_0x33ecd1)break;else _0x9d9e5f['push'](_0x9d9e5f['shift']());}catch(_0x3dd5c0){_0x9d9e5f['push'](_0x9d9e5f['shift']());}}}(_0x28f0,0x503ed));function _0x28f0(){const _0x1eacc7=['ck-hidden','44260JrjrfC','element','bind','612iXeHBp','isVisible','setTemplate','state','updateContent','ck-ai-suggestion__body__content-part_active','141354QrHVHD','25ECgLJF','change:state','_headerView','mouseLeaveSuggestion','pending','update','hasChanges','contains','4435208gfkdYc','_children','markAsDone','change:isDone','isActive','div','isEnabled','set','createCollection','ck-ai-suggestion__body__content-part_enabled','4RngPFh','toolbarView','fire','_streamableContentView','ck-ai-suggestion__body__content-part','showChangeInText','target','bindTemplate','4650723KjDmlf','index','4109266aBmKwZ','8cmAsYx','addMany','184486AUEUzX','ck-ai-suggestion__body__content-part_','mouseOverSuggestion','partDefinition','5430IYoYDY','delegate','isDone'];_0x28f0=function(){return _0x1eacc7;};return _0x28f0();}import{View as _0x434ffc}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4375d3}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x59fb69}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x1169a5}from'./aisuggestionstreamablecontentview.js';function _0x4f6e(_0x3b7304,_0x12f3e3){const _0x28f003=_0x28f0();return _0x4f6e=function(_0x4f6e23,_0x2c00b1){_0x4f6e23=_0x4f6e23-0xd6;let _0x5badbd=_0x28f003[_0x4f6e23];return _0x5badbd;},_0x4f6e(_0x3b7304,_0x12f3e3);}export class AISuggestionBodyViewContentPartView extends _0x434ffc{[_0x11e106(0xda)];[_0x11e106(0x104)];[_0x11e106(0xe6)];constructor(_0x22cf65,{part:_0x4b9c32,uiIndex:_0x1b4fca,areActionsDisabled:_0x5b8acc,availableActions:_0x575227}){const _0x7ee539=_0x11e106;super(_0x22cf65);const _0x4b0f20=this[_0x7ee539(0xea)];this[_0x7ee539(0xe0)](_0x7ee539(0xfe),_0x7ee539(0x106)),this[_0x7ee539(0xe0)](_0x7ee539(0xf6),!0x1),this[_0x7ee539(0xe0)](_0x7ee539(0xfc),!0x1),this[_0x7ee539(0xe0)](_0x7ee539(0xdd),!0x1),this[_0x7ee539(0xe0)](_0x7ee539(0xdf),!0x1);const _0x48d241=()=>{const _0x18893c=_0x7ee539;this[_0x18893c(0xdf)]=this[_0x18893c(0xf6)]&&_0x18893c(0x106)==this[_0x18893c(0xfe)]&&!_0x5b8acc;};this['on'](_0x7ee539(0x103),_0x48d241),this['on'](_0x7ee539(0xdc),_0x48d241),_0x48d241(),this[_0x7ee539(0xda)]=this[_0x7ee539(0xe1)](),this[_0x7ee539(0x104)]=new _0x59fb69(_0x22cf65,{'part':_0x4b9c32,'uiIndex':_0x1b4fca,'availableActions':_0x575227,'areActionsDisabled':_0x5b8acc}),this[_0x7ee539(0x104)][_0x7ee539(0xfa)](_0x7ee539(0xdf),_0x7ee539(0xfe))['to'](this),this[_0x7ee539(0x104)][_0x7ee539(0xf5)](..._0x4375d3)['to'](this),this[_0x7ee539(0xe6)]=new _0x1169a5(_0x22cf65),this[_0x7ee539(0xda)][_0x7ee539(0xef)]([this[_0x7ee539(0x104)],this[_0x7ee539(0xe6)]]),this[_0x7ee539(0xfd)]({'tag':_0x7ee539(0xde),'attributes':{'class':['ck',_0x7ee539(0xe7),_0x4b0f20['to'](_0x7ee539(0xfe),_0x48764b=>_0x7ee539(0xf1)+_0x48764b),_0x4b0f20['if'](_0x7ee539(0xdf),_0x7ee539(0xe2)),_0x4b0f20['if'](_0x7ee539(0xdd),_0x7ee539(0x100)),_0x4b0f20['if'](_0x7ee539(0xfc),_0x7ee539(0xf7),_0x4a2311=>!_0x4a2311)]},'children':this[_0x7ee539(0xda)],'on':{'mouseenter':_0x4b0f20['to'](()=>{const _0x555390=_0x7ee539;this[_0x555390(0xdf)]&&this[_0x555390(0xe5)](_0x555390(0xf2),{'index':_0x4b9c32[_0x555390(0xec)]});}),'mouseleave':_0x4b0f20['to'](()=>{const _0x3f4cff=_0x7ee539;this[_0x3f4cff(0xdf)]&&this[_0x3f4cff(0xe5)](_0x3f4cff(0x105),{'index':_0x4b9c32[_0x3f4cff(0xec)]});}),'click':_0x4b0f20['to'](_0x525791=>{const _0xbc7cc6=_0x7ee539,_0x2e51f6=_0x525791[_0xbc7cc6(0xe9)];this[_0xbc7cc6(0xdf)]&&!this[_0xbc7cc6(0x104)][_0xbc7cc6(0xe4)][_0xbc7cc6(0xf9)][_0xbc7cc6(0xd8)](_0x2e51f6)&&this[_0xbc7cc6(0xe5)](_0xbc7cc6(0xe8),{'index':_0x4b9c32[_0xbc7cc6(0xec)]});})}});}async[_0x11e106(0xff)]({part:_0x46ee5b,renderingStrategy:_0x20c018,showUnchangedParts:_0x311360=!0x1,abortSignal:_0x37e918}){const _0x2f3994=_0x11e106;this[_0x2f3994(0xf3)]=_0x46ee5b,this[_0x2f3994(0xfc)]=this[_0x2f3994(0xf3)][_0x2f3994(0xd7)]||_0x311360,this[_0x2f3994(0xfc)]&&await this[_0x2f3994(0xe6)][_0x2f3994(0xd6)]({'part':_0x46ee5b,'renderingStrategy':_0x20c018,'abortSignal':_0x37e918});}[_0x11e106(0xdb)](){const _0x42791b=_0x11e106;this[_0x42791b(0xf6)]=!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe12d(){const _0x41c043=['div','isVisible','isOn','8JOjqlf','filter','67011IzWSXD','span','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','icon','bind','2446330WpSwmI','20MTkbfK','toggleShowChanges','564311QCRUNz','showChangesToggleView','isShowChangesToggleVisible','6353787DFcFYW','children','set','showHeader','3875256mbaVDR','iconView','546JZpNaL','2633056XNubjo','add','2Xvsoeg','AI_SUGGESTION_HEADER_TITLE','ck-hidden','showDiff','ck-ai-suggestion__header','remove','render','setTemplate','2717631lrCOmj','content','AI_SUGGESTION_BUTTON_SHOW_CHANGES','execute','fire'];_0xe12d=function(){return _0x41c043;};return _0xe12d();}const _0x1ca6db=_0x251b;(function(_0x5b0279,_0x5c441e){const _0x12f21a=_0x251b,_0x18de68=_0x5b0279();while(!![]){try{const _0x454cdf=parseInt(_0x12f21a(0x145))/0x1*(parseInt(_0x12f21a(0x151))/0x2)+parseInt(_0x12f21a(0x14c))/0x3+-parseInt(_0x12f21a(0x13b))/0x4*(-parseInt(_0x12f21a(0x142))/0x5)+parseInt(_0x12f21a(0x14e))/0x6*(-parseInt(_0x12f21a(0x13d))/0x7)+-parseInt(_0x12f21a(0x14f))/0x8+parseInt(_0x12f21a(0x159))/0x9+-parseInt(_0x12f21a(0x143))/0xa*(parseInt(_0x12f21a(0x148))/0xb);if(_0x454cdf===_0x5c441e)break;else _0x18de68['push'](_0x18de68['shift']());}catch(_0x3d82a7){_0x18de68['push'](_0x18de68['shift']());}}}(_0xe12d,0xbeaf5));import{getTranslation as _0xf2cf1d}from'../../utils/common-translations.js';import{ButtonView as _0x926040,IconView as _0x15dff6,View as _0x5b887e}from'ckeditor5/src/ui.js';function _0x251b(_0x1fb5c6,_0x39c558){const _0xe12d12=_0xe12d();return _0x251b=function(_0x251b46,_0xe32e9d){_0x251b46=_0x251b46-0x136;let _0x5a701d=_0xe12d12[_0x251b46];return _0x5a701d;},_0x251b(_0x1fb5c6,_0x39c558);}import{IconDocument as _0x4aa8a9,IconShowChangesOff as _0x51a351,IconShowChangesOn as _0x18027f}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x5b887e{[_0x1ca6db(0x146)];constructor(_0x41a687,_0x50602e){const _0x45b4c7=_0x1ca6db;super(_0x41a687),this[_0x45b4c7(0x14a)](_0x45b4c7(0x147),!0x0),this[_0x45b4c7(0x146)]=new ShowChangesToggleView(_0x41a687),this[_0x45b4c7(0x146)][_0x45b4c7(0x14a)]({'class':_0x45b4c7(0x13f),'label':_0xf2cf1d(_0x41a687,_0x45b4c7(0x15b)),'withText':!0x0}),this[_0x45b4c7(0x146)][_0x45b4c7(0x13a)]=_0x50602e[_0x45b4c7(0x154)],this[_0x45b4c7(0x146)][_0x45b4c7(0x141)](_0x45b4c7(0x139))['to'](this,_0x45b4c7(0x147)),this[_0x45b4c7(0x146)][_0x45b4c7(0x141)](_0x45b4c7(0x140))['to'](this[_0x45b4c7(0x146)],_0x45b4c7(0x13a),_0x359bee=>_0x359bee?_0x18027f:_0x51a351),this[_0x45b4c7(0x146)]['on'](_0x45b4c7(0x136),()=>{const _0x186bd1=_0x45b4c7;this[_0x186bd1(0x146)][_0x186bd1(0x13a)]=!this[_0x186bd1(0x146)][_0x186bd1(0x13a)],this[_0x186bd1(0x137)](_0x186bd1(0x144),{'isOn':this[_0x186bd1(0x146)][_0x186bd1(0x13a)]});});const _0x5c37eb=new _0x15dff6();_0x5c37eb[_0x45b4c7(0x15a)]=_0x4aa8a9,this[_0x45b4c7(0x158)]({'tag':_0x45b4c7(0x138),'attributes':{'class':['ck',_0x45b4c7(0x155),!0x1===_0x50602e[_0x45b4c7(0x14b)]?_0x45b4c7(0x153):null][_0x45b4c7(0x13c)](Boolean)},'children':[_0x5c37eb,{'tag':_0x45b4c7(0x13e),'children':[_0xf2cf1d(_0x41a687,_0x45b4c7(0x152))]},this[_0x45b4c7(0x146)]]});}}export class ShowChangesToggleView extends _0x926040{[_0x1ca6db(0x157)](){const _0x57cf9d=_0x1ca6db;super[_0x57cf9d(0x157)](),this[_0x57cf9d(0x149)][_0x57cf9d(0x156)](this[_0x57cf9d(0x14d)]),this[_0x57cf9d(0x149)][_0x57cf9d(0x150)](this[_0x57cf9d(0x14d)]);}}
23
+ const _0x4f30d6=_0x58c1;(function(_0xbf0931,_0x2c9d91){const _0x1f7073=_0x58c1,_0x4c4cbd=_0xbf0931();while(!![]){try{const _0x19727b=-parseInt(_0x1f7073(0x13f))/0x1+-parseInt(_0x1f7073(0x136))/0x2*(parseInt(_0x1f7073(0x14a))/0x3)+parseInt(_0x1f7073(0x12a))/0x4+-parseInt(_0x1f7073(0x129))/0x5+-parseInt(_0x1f7073(0x128))/0x6*(-parseInt(_0x1f7073(0x133))/0x7)+parseInt(_0x1f7073(0x143))/0x8*(-parseInt(_0x1f7073(0x148))/0x9)+parseInt(_0x1f7073(0x12c))/0xa*(parseInt(_0x1f7073(0x140))/0xb);if(_0x19727b===_0x2c9d91)break;else _0x4c4cbd['push'](_0x4c4cbd['shift']());}catch(_0x32c194){_0x4c4cbd['push'](_0x4c4cbd['shift']());}}}(_0x9809,0xc3861));function _0x58c1(_0x5e6d7b,_0x53134c){const _0x9809ac=_0x9809();return _0x58c1=function(_0x58c168,_0x3429ee){_0x58c168=_0x58c168-0x126;let _0x2e5f16=_0x9809ac[_0x58c168];return _0x2e5f16;},_0x58c1(_0x5e6d7b,_0x53134c);}import{getTranslation as _0x5584dd}from'../../utils/common-translations.js';import{ButtonView as _0x34dfa0,IconView as _0x180cea,View as _0x3b2523}from'ckeditor5/src/ui.js';import{IconDocument as _0x183831,IconShowChangesOff as _0x552c6b,IconShowChangesOn as _0x58a32a}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x3b2523{[_0x4f30d6(0x132)];constructor(_0xd16715,_0x30f75c){const _0xbf93eb=_0x4f30d6;super(_0xd16715),this[_0xbf93eb(0x13b)](_0xbf93eb(0x12e),!0x0),this[_0xbf93eb(0x132)]=new ShowChangesToggleView(_0xd16715),this[_0xbf93eb(0x132)][_0xbf93eb(0x13b)]({'class':_0xbf93eb(0x14b),'label':_0x5584dd(_0xd16715,_0xbf93eb(0x130)),'withText':!0x0}),this[_0xbf93eb(0x132)][_0xbf93eb(0x149)]=_0x30f75c[_0xbf93eb(0x145)],this[_0xbf93eb(0x132)][_0xbf93eb(0x138)](_0xbf93eb(0x147))['to'](this,_0xbf93eb(0x12e)),this[_0xbf93eb(0x132)][_0xbf93eb(0x138)](_0xbf93eb(0x12f))['to'](this[_0xbf93eb(0x132)],_0xbf93eb(0x149),_0x577993=>_0x577993?_0x58a32a:_0x552c6b),this[_0xbf93eb(0x132)]['on'](_0xbf93eb(0x144),()=>{const _0xb43154=_0xbf93eb;this[_0xb43154(0x132)][_0xb43154(0x149)]=!this[_0xb43154(0x132)][_0xb43154(0x149)],this[_0xb43154(0x142)](_0xb43154(0x135),{'isOn':this[_0xb43154(0x132)][_0xb43154(0x149)]});});const _0x3c0bc2=new _0x180cea();_0x3c0bc2[_0xbf93eb(0x137)]=_0x183831,this[_0xbf93eb(0x134)]({'tag':_0xbf93eb(0x13d),'attributes':{'class':['ck',_0xbf93eb(0x127),!0x1===_0x30f75c[_0xbf93eb(0x13e)]?_0xbf93eb(0x12d):null][_0xbf93eb(0x146)](Boolean)},'children':[_0x3c0bc2,{'tag':_0xbf93eb(0x141),'children':[_0x5584dd(_0xd16715,_0xbf93eb(0x13a))]},this[_0xbf93eb(0x132)]]});}}function _0x9809(){const _0x4fec61=['filter','isVisible','2259qIATXZ','isOn','6ZeRyeO','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','remove','ck-ai-suggestion__header','150RcMYkj','226670AOQfNB','1471452nIyOFL','render','10HecJtv','ck-hidden','isShowChangesToggleVisible','icon','AI_SUGGESTION_BUTTON_SHOW_CHANGES','children','showChangesToggleView','399364jfSaUQ','setTemplate','toggleShowChanges','896404dfcoPx','content','bind','add','AI_SUGGESTION_HEADER_TITLE','set','iconView','div','showHeader','652521BgIFEU','11072347FzCeGG','span','fire','12928JzMPZj','execute','showDiff'];_0x9809=function(){return _0x4fec61;};return _0x9809();}export class ShowChangesToggleView extends _0x34dfa0{[_0x4f30d6(0x12b)](){const _0x27845c=_0x4f30d6;super[_0x27845c(0x12b)](),this[_0x27845c(0x131)][_0x27845c(0x126)](this[_0x27845c(0x13c)]),this[_0x27845c(0x131)][_0x27845c(0x139)](this[_0x27845c(0x13c)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x413b97,_0x4e16db){const _0x4fd067=_0x3c62,_0x57e378=_0x413b97();while(!![]){try{const _0x393789=parseInt(_0x4fd067(0x1c1))/0x1*(parseInt(_0x4fd067(0x1cd))/0x2)+parseInt(_0x4fd067(0x1c3))/0x3+-parseInt(_0x4fd067(0x1c4))/0x4*(-parseInt(_0x4fd067(0x1d2))/0x5)+parseInt(_0x4fd067(0x1cb))/0x6+-parseInt(_0x4fd067(0x1d1))/0x7*(parseInt(_0x4fd067(0x1c2))/0x8)+-parseInt(_0x4fd067(0x1c8))/0x9+-parseInt(_0x4fd067(0x1cf))/0xa;if(_0x393789===_0x4e16db)break;else _0x57e378['push'](_0x57e378['shift']());}catch(_0x4278d3){_0x57e378['push'](_0x57e378['shift']());}}}(_0x5a8b,0x8bd03));function _0x3c62(_0x3c0308,_0x197117){const _0x5a8b64=_0x5a8b();return _0x3c62=function(_0x3c6214,_0x4b2e85){_0x3c6214=_0x3c6214-0x1c1;let _0x4762c6=_0x5a8b64[_0x3c6214];return _0x4762c6;},_0x3c62(_0x3c0308,_0x197117);}import{View as _0x50314b}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x5a4d5b}from'../aispinner.js';function _0x5a8b(){const _0x7690ef=['15213850WfQLBM','bindTemplate','7bHQyOp','660GlYmZt','ck-hidden','setTemplate','AI_CHAT_IS_WRITING','ck-ai-suggestion__loader','1IKLPAU','3884856Jybqhx','1983459OIcXQb','21752uLNIXy','locale','small','div','1621386VWxYkT','isVisible','set','4775436aaLsZx','span','1169892HFaCcx','ck-ai-suggestion__loader-text'];_0x5a8b=function(){return _0x7690ef;};return _0x5a8b();}import{getTranslation as _0x278dd0}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0x50314b{constructor(_0x944051){const _0x58b23e=_0x3c62;super(_0x944051),this[_0x58b23e(0x1ca)](_0x58b23e(0x1c9),!0x0);const _0x8c099f=new _0x5a4d5b(_0x58b23e(0x1c6));_0x8c099f[_0x58b23e(0x1c9)]=!0x0;const _0x35beb1=new _0x50314b(this[_0x58b23e(0x1c5)]);_0x35beb1[_0x58b23e(0x1d4)]({'tag':_0x58b23e(0x1cc),'attributes':{'class':['ck',_0x58b23e(0x1ce)]},'children':[_0x278dd0(this[_0x58b23e(0x1c5)],_0x58b23e(0x1d5))]}),this[_0x58b23e(0x1d4)]({'tag':_0x58b23e(0x1c7),'attributes':{'class':['ck',_0x58b23e(0x1d6),this[_0x58b23e(0x1d0)]['if'](_0x58b23e(0x1c9),_0x58b23e(0x1d3),_0x4cab67=>!_0x4cab67)]},'children':[_0x8c099f,_0x35beb1]});}}
23
+ (function(_0x4112f9,_0x1f6e8a){const _0x4e5bdf=_0x4863,_0x3c9242=_0x4112f9();while(!![]){try{const _0x1e7cc7=parseInt(_0x4e5bdf(0x179))/0x1*(-parseInt(_0x4e5bdf(0x18d))/0x2)+-parseInt(_0x4e5bdf(0x183))/0x3+parseInt(_0x4e5bdf(0x178))/0x4+parseInt(_0x4e5bdf(0x189))/0x5+-parseInt(_0x4e5bdf(0x186))/0x6*(-parseInt(_0x4e5bdf(0x182))/0x7)+parseInt(_0x4e5bdf(0x188))/0x8+parseInt(_0x4e5bdf(0x17d))/0x9*(parseInt(_0x4e5bdf(0x17c))/0xa);if(_0x1e7cc7===_0x1f6e8a)break;else _0x3c9242['push'](_0x3c9242['shift']());}catch(_0x3a175a){_0x3c9242['push'](_0x3c9242['shift']());}}}(_0x1c34,0x6373b));function _0x1c34(){const _0x5f0c7e=['ck-hidden','setTemplate','set','405998IDsyUv','492344cKYUaG','2wAWZUX','div','ck-ai-suggestion__loader','10KHKJtg','947727REWntj','locale','small','bindTemplate','isVisible','4121026yJtvvd','2193618fJuwpJ','ck-ai-suggestion__loader-text','span','6ufDdOP','AI_CHAT_IS_WRITING','3108504UatUmU','1694445EEgfDi'];_0x1c34=function(){return _0x5f0c7e;};return _0x1c34();}import{View as _0x5061d5}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x337d5c}from'../aispinner.js';function _0x4863(_0x3d2ffd,_0x46ac91){const _0x1c3460=_0x1c34();return _0x4863=function(_0x4863d5,_0xdb79e2){_0x4863d5=_0x4863d5-0x178;let _0x2ff936=_0x1c3460[_0x4863d5];return _0x2ff936;},_0x4863(_0x3d2ffd,_0x46ac91);}import{getTranslation as _0x440021}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0x5061d5{constructor(_0x4d7d72){const _0xd35e70=_0x4863;super(_0x4d7d72),this[_0xd35e70(0x18c)](_0xd35e70(0x181),!0x0);const _0x5317b3=new _0x337d5c(_0xd35e70(0x17f));_0x5317b3[_0xd35e70(0x181)]=!0x0;const _0x10eab5=new _0x5061d5(this[_0xd35e70(0x17e)]);_0x10eab5[_0xd35e70(0x18b)]({'tag':_0xd35e70(0x185),'attributes':{'class':['ck',_0xd35e70(0x184)]},'children':[_0x440021(this[_0xd35e70(0x17e)],_0xd35e70(0x187))]}),this[_0xd35e70(0x18b)]({'tag':_0xd35e70(0x17a),'attributes':{'class':['ck',_0xd35e70(0x17b),this[_0xd35e70(0x180)]['if'](_0xd35e70(0x181),_0xd35e70(0x18a),_0x4bf1e5=>!_0x4bf1e5)]},'children':[_0x5317b3,_0x10eab5]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xbf67(){var _0xbbb9ec=['73467GhZlLJ','464NSwIEc','update','328806rAeVPT','innerHTML','ck-content','16497xUdzxJ','ck-reset_all-excluded','animation:\x20ck-html-streamer-fade-in\x20.5s','setTemplate','reset','htmlStreamer','51050mpEcLH','764895wptfSA','clear','stream','58948cUMlWE','streaming','24gzlRQm','div','890785jcBtek','913KLOoHS','8QzIRuX','content','element','ck-ai-suggestion-streamable-content'];_0xbf67=function(){return _0xbbb9ec;};return _0xbf67();}var _0x391aca=_0x2689;(function(_0x3b5c38,_0x5281d5){var _0x1e1dc7=_0x2689,_0x2041d0=_0x3b5c38();while(!![]){try{var _0x1e47c4=-parseInt(_0x1e1dc7(0x16c))/0x1+-parseInt(_0x1e1dc7(0x162))/0x2*(-parseInt(_0x1e1dc7(0x164))/0x3)+-parseInt(_0x1e1dc7(0x168))/0x4*(parseInt(_0x1e1dc7(0x15f))/0x5)+-parseInt(_0x1e1dc7(0x16f))/0x6+-parseInt(_0x1e1dc7(0x166))/0x7+-parseInt(_0x1e1dc7(0x16d))/0x8*(-parseInt(_0x1e1dc7(0x172))/0x9)+parseInt(_0x1e1dc7(0x15e))/0xa*(parseInt(_0x1e1dc7(0x167))/0xb);if(_0x1e47c4===_0x5281d5)break;else _0x2041d0['push'](_0x2041d0['shift']());}catch(_0xb8d58d){_0x2041d0['push'](_0x2041d0['shift']());}}}(_0xbf67,0x31e34));import{View as _0x52c8e1}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1a864b}from'../../utils/htmlstreamer.js';import{serialize as _0x24db59}from'../../utils/htmlparser.js';function _0x2689(_0x43b95f,_0x2308db){var _0xbf67a2=_0xbf67();return _0x2689=function(_0x26898c,_0x38cea5){_0x26898c=_0x26898c-0x159;var _0x125814=_0xbf67a2[_0x26898c];return _0x125814;},_0x2689(_0x43b95f,_0x2308db);}import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x52c8e1{[_0x391aca(0x15d)];constructor(_0xd30ef9){var _0x250118=_0x391aca;super(_0xd30ef9),this[_0x250118(0x15d)]=new _0x1a864b({'textNodeStyle':_0x250118(0x15a),'delay':0x14}),this[_0x250118(0x15b)]({'tag':_0x250118(0x165),'attributes':{'class':['ck',_0x250118(0x171),_0x250118(0x159),_0x250118(0x16b)]}});}async[_0x391aca(0x16e)]({part:_0x4261c9,renderingStrategy:_0x50f721,abortSignal:_0x1cb37d}){var _0x889f2=_0x391aca;_0x889f2(0x163)===_0x50f721?await this[_0x889f2(0x15d)][_0x889f2(0x161)]({'document':_0x4261c9[_0x889f2(0x169)],'targetElement':this[_0x889f2(0x16a)],'abortSignal':_0x1cb37d}):this[_0x889f2(0x16a)][_0x889f2(0x170)]=_0x24db59(_0x4261c9[_0x889f2(0x169)]);}[_0x391aca(0x160)](){var _0x382d5c=_0x391aca;this[_0x382d5c(0x15d)][_0x382d5c(0x15c)](),this[_0x382d5c(0x16a)][_0x382d5c(0x170)]='';}}
23
+ var _0x5d5845=_0xf3c7;(function(_0x2fbc47,_0x4e7194){var _0x5df140=_0xf3c7,_0x4a73c3=_0x2fbc47();while(!![]){try{var _0x6beba2=-parseInt(_0x5df140(0xaa))/0x1*(-parseInt(_0x5df140(0xaf))/0x2)+-parseInt(_0x5df140(0xb1))/0x3*(-parseInt(_0x5df140(0xb9))/0x4)+parseInt(_0x5df140(0xa8))/0x5*(-parseInt(_0x5df140(0xb7))/0x6)+-parseInt(_0x5df140(0xa9))/0x7*(-parseInt(_0x5df140(0xa2))/0x8)+-parseInt(_0x5df140(0xb6))/0x9*(-parseInt(_0x5df140(0xa4))/0xa)+parseInt(_0x5df140(0xae))/0xb+-parseInt(_0x5df140(0xa7))/0xc;if(_0x6beba2===_0x4e7194)break;else _0x4a73c3['push'](_0x4a73c3['shift']());}catch(_0x3511d3){_0x4a73c3['push'](_0x4a73c3['shift']());}}}(_0x2264,0x8ad77));function _0x2264(){var _0x5e3895=['12682452gIRxSY','92410IdDpIk','7rKGZrF','195yLoRFu','clear','setTemplate','update','124718siTkZK','3764gBPQSu','reset','1401yQndXe','innerHTML','element','htmlStreamer','ck-reset_all-excluded','9BVjULX','246EBqUYs','streaming','9060glzYzM','ck-content','div','content','4954728eVoesm','ck-ai-suggestion-streamable-content','3279040MHuDBU','animation:\x20ck-html-streamer-fade-in\x20.5s','stream'];_0x2264=function(){return _0x5e3895;};return _0x2264();}import{View as _0x42f2c2}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1d57a0}from'../../utils/htmlstreamer.js';import{serialize as _0x58928c}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';function _0xf3c7(_0x228343,_0x3c13c1){var _0x226404=_0x2264();return _0xf3c7=function(_0xf3c732,_0x157780){_0xf3c732=_0xf3c732-0x9f;var _0x46600d=_0x226404[_0xf3c732];return _0x46600d;},_0xf3c7(_0x228343,_0x3c13c1);}export class AISuggestionStreamableContentView extends _0x42f2c2{[_0x5d5845(0xb4)];constructor(_0x4c2d8b){var _0x3f58f7=_0x5d5845;super(_0x4c2d8b),this[_0x3f58f7(0xb4)]=new _0x1d57a0({'textNodeStyle':_0x3f58f7(0xa5),'delay':0x14}),this[_0x3f58f7(0xac)]({'tag':_0x3f58f7(0xa0),'attributes':{'class':['ck',_0x3f58f7(0x9f),_0x3f58f7(0xb5),_0x3f58f7(0xa3)]}});}async[_0x5d5845(0xad)]({part:_0x4db05a,renderingStrategy:_0x58c9c6,abortSignal:_0x31c7c3}){var _0x40747d=_0x5d5845;_0x40747d(0xb8)===_0x58c9c6?await this[_0x40747d(0xb4)][_0x40747d(0xa6)]({'document':_0x4db05a[_0x40747d(0xa1)],'targetElement':this[_0x40747d(0xb3)],'abortSignal':_0x31c7c3}):this[_0x40747d(0xb3)][_0x40747d(0xb2)]=_0x58928c(_0x4db05a[_0x40747d(0xa1)]);}[_0x5d5845(0xab)](){var _0x7eef43=_0x5d5845;this[_0x7eef43(0xb4)][_0x7eef43(0xb0)](),this[_0x7eef43(0xb3)][_0x7eef43(0xb2)]='';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ed34a=_0x262b;function _0x2ff4(){const _0x208100=['bodyCollection','addSource','ck-ai-web-source__image','1071480WuYWje','ck-ai-web-sources__header','show','url','_createTooltipContentView','349176ySQRmf','clear','ck-ai-web-source__tooltip-image','extendTemplate','pin','_blank','title','source','ck-ai-web-source__tooltip-url','258076uJTdXK','998800MTGTcP','ck-ai-web-source__tooltip-row','hostname','_updateTooltipContent','ck-ai-web-sources','5ajgEkM','open','bindTemplate','push','64122COMWjH','14inyFLC','get','div','ck-hidden','destroy','AI_CHAT_SOURCES_HEADER','substring','ck-ai-web-source__tooltip-balloon','querySelector','balloonPanelView','favicon','img','defaultPositions','set','children','_setupBalloonPanel','ck-ai-web-source__tooltip','hide','northArrowSouth','10ugGMhb','add','icon','isVisible','span','locale','ck-ai-web-source__tooltip-title','northArrowSouthWest','.ck-ai-chat','ck\x20ck-ai-web-source','createCollection','northArrowSouthEast','...','_hideTooltip','2TANekk','_showTooltip','setTemplate','element','292550CJpuxh','content','3039516xRlmjv','length'];_0x2ff4=function(){return _0x208100;};return _0x2ff4();}function _0x262b(_0x25b5c0,_0x1dcb48){const _0x2ff4bb=_0x2ff4();return _0x262b=function(_0x262b76,_0x3744b1){_0x262b76=_0x262b76-0x131;let _0x3e24f6=_0x2ff4bb[_0x262b76];return _0x3e24f6;},_0x262b(_0x25b5c0,_0x1dcb48);}(function(_0x3013c2,_0x2e7666){const _0x297551=_0x262b,_0x21baf6=_0x3013c2();while(!![]){try{const _0x535af8=-parseInt(_0x297551(0x155))/0x1*(parseInt(_0x297551(0x151))/0x2)+parseInt(_0x297551(0x15c))/0x3+-parseInt(_0x297551(0x16a))/0x4*(parseInt(_0x297551(0x170))/0x5)+parseInt(_0x297551(0x174))/0x6*(parseInt(_0x297551(0x175))/0x7)+-parseInt(_0x297551(0x161))/0x8+parseInt(_0x297551(0x157))/0x9+-parseInt(_0x297551(0x143))/0xa*(parseInt(_0x297551(0x16b))/0xb);if(_0x535af8===_0x2e7666)break;else _0x21baf6['push'](_0x21baf6['shift']());}catch(_0x47d142){_0x21baf6['push'](_0x21baf6['shift']());}}}(_0x2ff4,0x36de6));import{View as _0x3c0d4b,ButtonView as _0x3b520c,IconView as _0x24df92,BalloonPanelView as _0x2466fe}from'ckeditor5/src/ui.js';import{IconWeb as _0x1e027e}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x124fb2}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x3c0d4b{[_0x1ed34a(0x13e)];[_0x1ed34a(0x139)];[_0x1ed34a(0x159)];constructor(_0x4692e7,_0x1926d6){const _0x5d0108=_0x1ed34a;super(_0x4692e7),this[_0x5d0108(0x159)]=_0x1926d6,this[_0x5d0108(0x13e)]=this[_0x5d0108(0x14d)](),this[_0x5d0108(0x13d)](_0x5d0108(0x146),!0x1),this[_0x5d0108(0x153)]({'tag':_0x5d0108(0x132),'attributes':{'class':['ck',_0x5d0108(0x16f),this[_0x5d0108(0x172)]['if'](_0x5d0108(0x146),_0x5d0108(0x133),_0x2b55e4=>!_0x2b55e4)]},'children':this[_0x5d0108(0x13e)]});const _0x1909f2=new _0x3c0d4b(this[_0x5d0108(0x148)]),_0x59e96b=new _0x24df92();_0x59e96b[_0x5d0108(0x156)]=_0x1e027e,_0x1909f2[_0x5d0108(0x153)]({'tag':_0x5d0108(0x132),'attributes':{'class':['ck',_0x5d0108(0x15d)]},'children':[_0x59e96b,{'tag':_0x5d0108(0x147),'children':[{'text':_0x124fb2(this[_0x5d0108(0x148)],_0x5d0108(0x135))}]}]}),this[_0x5d0108(0x13e)][_0x5d0108(0x144)](_0x1909f2),this[_0x5d0108(0x13f)](_0x4692e7);}[_0x1ed34a(0x15a)](_0x199b77){const _0x8c9f7d=_0x1ed34a;this[_0x8c9f7d(0x13e)][_0x8c9f7d(0x144)](new AIWebSourceView(this[_0x8c9f7d(0x148)],_0x199b77,this[_0x8c9f7d(0x139)]));}[_0x1ed34a(0x13f)](_0x56c95e){const _0x3007d6=_0x1ed34a;this[_0x3007d6(0x139)]=new _0x2466fe(_0x56c95e),this[_0x3007d6(0x139)][_0x3007d6(0x164)]({'attributes':{'class':[_0x3007d6(0x137)]}}),this[_0x3007d6(0x159)][_0x3007d6(0x144)](this[_0x3007d6(0x139)]);}}export class AIWebSourceView extends _0x3b520c{[_0x1ed34a(0x139)];[_0x1ed34a(0x168)];constructor(_0x40551b,_0xff7793,_0x512385){const _0x1529dd=_0x1ed34a;super(_0x40551b),this[_0x1529dd(0x168)]=_0xff7793,this[_0x1529dd(0x139)]=_0x512385,this[_0x1529dd(0x13d)]({'label':_0xff7793[_0x1529dd(0x167)],'class':[_0x1529dd(0x14c)],'withText':!0x0});const _0x4d3513=this[_0x1529dd(0x172)];if(this[_0x1529dd(0x164)]({'on':{'click':_0x4d3513['to'](()=>{const _0x43d08c=_0x1529dd;window[_0x43d08c(0x171)](_0xff7793[_0x43d08c(0x15f)],_0x43d08c(0x166));}),'mouseenter':_0x4d3513['to'](()=>{const _0x4624d6=_0x1529dd;this[_0x4624d6(0x152)]();}),'mouseleave':_0x4d3513['to'](()=>{const _0x2f1acf=_0x1529dd;this[_0x2f1acf(0x150)]();})}}),_0xff7793[_0x1529dd(0x13a)]){const _0x334941=new _0x3c0d4b(_0x40551b);_0x334941[_0x1529dd(0x153)]({'tag':_0x1529dd(0x13b),'attributes':{'src':_0xff7793[_0x1529dd(0x13a)]||_0x1e027e,'alt':_0xff7793[_0x1529dd(0x167)],'class':[_0x1529dd(0x15b)]}}),this[_0x1529dd(0x13e)][_0x1529dd(0x144)](_0x334941);}else this[_0x1529dd(0x13d)](_0x1529dd(0x145),_0x1e027e);}[_0x1ed34a(0x160)](_0x4900b9,_0x43a07f){const _0x34ee7e=_0x1ed34a,_0x588bcb=new _0x3c0d4b(_0x4900b9),_0x1f1daf=[];let _0xc6ca3c;_0x43a07f?.[_0x34ee7e(0x13a)]?(_0xc6ca3c=new _0x3c0d4b(_0x4900b9),_0xc6ca3c[_0x34ee7e(0x153)]({'tag':_0x34ee7e(0x13b),'attributes':{'src':_0x43a07f[_0x34ee7e(0x13a)],'alt':_0x43a07f[_0x34ee7e(0x167)],'class':[_0x34ee7e(0x163)]}})):(_0xc6ca3c=new _0x24df92(),_0xc6ca3c[_0x34ee7e(0x156)]=_0x1e027e,_0xc6ca3c[_0x34ee7e(0x164)]({'attributes':{'alt':_0x43a07f[_0x34ee7e(0x167)],'class':[_0x34ee7e(0x163)]}})),_0x1f1daf[_0x34ee7e(0x173)](_0xc6ca3c);const _0x5e022d=new _0x3c0d4b(_0x4900b9);_0x5e022d[_0x34ee7e(0x153)]({'tag':'a','attributes':{'class':[_0x34ee7e(0x169)],'href':_0x43a07f[_0x34ee7e(0x15f)]},'children':[{'text':new URL(_0x43a07f[_0x34ee7e(0x15f)])?.[_0x34ee7e(0x16d)]}]}),_0x1f1daf[_0x34ee7e(0x173)](_0x5e022d);const _0x588693=new _0x3c0d4b(_0x4900b9);_0x588693[_0x34ee7e(0x153)]({'tag':_0x34ee7e(0x132),'attributes':{'class':[_0x34ee7e(0x16c)]},'children':_0x1f1daf});const _0x58ea08=new _0x3c0d4b(_0x4900b9);return _0x58ea08[_0x34ee7e(0x153)]({'tag':_0x34ee7e(0x147),'attributes':{'class':[_0x34ee7e(0x16c),_0x34ee7e(0x149)]},'children':[{'text':_0x43a07f[_0x34ee7e(0x167)][_0x34ee7e(0x158)]>0x190?_0x43a07f[_0x34ee7e(0x167)][_0x34ee7e(0x136)](0x0,0x190)+_0x34ee7e(0x14f):_0x43a07f[_0x34ee7e(0x167)]}]}),_0x588bcb[_0x34ee7e(0x153)]({'tag':_0x34ee7e(0x132),'attributes':{'class':['ck',_0x34ee7e(0x140)]},'children':[_0x588693,_0x58ea08]}),_0x588bcb;}[_0x1ed34a(0x152)](){const _0x494e44=_0x1ed34a;this[_0x494e44(0x16e)](),this[_0x494e44(0x139)][_0x494e44(0x165)]({'target':this[_0x494e44(0x154)],'positions':[_0x2466fe[_0x494e44(0x13c)][_0x494e44(0x142)],_0x2466fe[_0x494e44(0x13c)][_0x494e44(0x14a)],_0x2466fe[_0x494e44(0x13c)][_0x494e44(0x14e)]],'limiter':document[_0x494e44(0x138)](_0x494e44(0x14b))}),this[_0x494e44(0x139)][_0x494e44(0x15e)]();}[_0x1ed34a(0x150)](){const _0x472dae=_0x1ed34a;this[_0x472dae(0x139)][_0x472dae(0x141)]();}[_0x1ed34a(0x16e)](){const _0x2d47c7=_0x1ed34a;this[_0x2d47c7(0x139)][_0x2d47c7(0x156)][_0x2d47c7(0x131)](0x0)?.[_0x2d47c7(0x134)](),this[_0x2d47c7(0x139)][_0x2d47c7(0x156)][_0x2d47c7(0x162)]();const _0x3cd145=this[_0x2d47c7(0x160)](this[_0x2d47c7(0x148)],this[_0x2d47c7(0x168)]);this[_0x2d47c7(0x139)][_0x2d47c7(0x156)][_0x2d47c7(0x144)](_0x3cd145);}}
23
+ const _0x531ff1=_0x2d2f;(function(_0x2e41b6,_0x389721){const _0x291e61=_0x2d2f,_0x2d6d4e=_0x2e41b6();while(!![]){try{const _0x12c6d5=-parseInt(_0x291e61(0x1ab))/0x1+parseInt(_0x291e61(0x18c))/0x2*(parseInt(_0x291e61(0x198))/0x3)+-parseInt(_0x291e61(0x170))/0x4*(parseInt(_0x291e61(0x1b2))/0x5)+parseInt(_0x291e61(0x17c))/0x6*(-parseInt(_0x291e61(0x171))/0x7)+parseInt(_0x291e61(0x183))/0x8+-parseInt(_0x291e61(0x18b))/0x9*(parseInt(_0x291e61(0x1aa))/0xa)+parseInt(_0x291e61(0x16d))/0xb*(parseInt(_0x291e61(0x17e))/0xc);if(_0x12c6d5===_0x389721)break;else _0x2d6d4e['push'](_0x2d6d4e['shift']());}catch(_0x510a46){_0x2d6d4e['push'](_0x2d6d4e['shift']());}}}(_0x4a1f,0x9ae91));function _0x2d2f(_0x438a53,_0x364cbe){const _0x4a1fef=_0x4a1f();return _0x2d2f=function(_0x2d2fa8,_0x7032c2){_0x2d2fa8=_0x2d2fa8-0x16d;let _0x40186d=_0x4a1fef[_0x2d2fa8];return _0x40186d;},_0x2d2f(_0x438a53,_0x364cbe);}import{View as _0x2a18fc,ButtonView as _0x11843b,IconView as _0x5dfefe,BalloonPanelView as _0x49f666}from'ckeditor5/src/ui.js';function _0x4a1f(){const _0x24f994=['set','5142EZbibw','favicon','324qNihLE','ck\x20ck-ai-web-source','pin','span','northArrowSouth','4376288pHmTbS','ck-ai-web-source__tooltip-title','ck-ai-web-source__tooltip','get','locale','children','createCollection','_hideTooltip','7879671uaTgKh','747368Tbdggg','...','_showTooltip','element','content','isVisible','ck-ai-web-source__tooltip-row','hide','add','show','northArrowSouthEast','destroy','6WLyUIU','.ck-ai-chat','extendTemplate','bodyCollection','div','length','AI_CHAT_SOURCES_HEADER','clear','title','push','setTemplate','ck-ai-web-sources','bindTemplate','ck-ai-web-source__image','_createTooltipContentView','source','ck-hidden','defaultPositions','10SoZoXU','1158749ZTJRCp','url','ck-ai-web-source__tooltip-balloon','icon','northArrowSouthWest','hostname','addSource','64685BFPRBo','736637zIXMsZ','img','ck-ai-web-source__tooltip-image','88nTyMFl','1218cGvZOy','querySelector','_updateTooltipContent','ck-ai-web-sources__header','open','substring','_blank','ck-ai-web-source__tooltip-url','balloonPanelView','_setupBalloonPanel'];_0x4a1f=function(){return _0x24f994;};return _0x4a1f();}import{IconWeb as _0x134c72}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x7132ba}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x2a18fc{[_0x531ff1(0x188)];[_0x531ff1(0x179)];[_0x531ff1(0x19b)];constructor(_0x45d04e,_0x27ae6a){const _0x3da73d=_0x531ff1;super(_0x45d04e),this[_0x3da73d(0x19b)]=_0x27ae6a,this[_0x3da73d(0x188)]=this[_0x3da73d(0x189)](),this[_0x3da73d(0x17b)](_0x3da73d(0x191),!0x1),this[_0x3da73d(0x1a2)]({'tag':_0x3da73d(0x19c),'attributes':{'class':['ck',_0x3da73d(0x1a3),this[_0x3da73d(0x1a4)]['if'](_0x3da73d(0x191),_0x3da73d(0x1a8),_0x5dc35d=>!_0x5dc35d)]},'children':this[_0x3da73d(0x188)]});const _0x2f2dca=new _0x2a18fc(this[_0x3da73d(0x187)]),_0x20f985=new _0x5dfefe();_0x20f985[_0x3da73d(0x190)]=_0x134c72,_0x2f2dca[_0x3da73d(0x1a2)]({'tag':_0x3da73d(0x19c),'attributes':{'class':['ck',_0x3da73d(0x174)]},'children':[_0x20f985,{'tag':_0x3da73d(0x181),'children':[{'text':_0x7132ba(this[_0x3da73d(0x187)],_0x3da73d(0x19e))}]}]}),this[_0x3da73d(0x188)][_0x3da73d(0x194)](_0x2f2dca),this[_0x3da73d(0x17a)](_0x45d04e);}[_0x531ff1(0x1b1)](_0x58f4ea){const _0x39d570=_0x531ff1;this[_0x39d570(0x188)][_0x39d570(0x194)](new AIWebSourceView(this[_0x39d570(0x187)],_0x58f4ea,this[_0x39d570(0x179)]));}[_0x531ff1(0x17a)](_0xa203bf){const _0x352b43=_0x531ff1;this[_0x352b43(0x179)]=new _0x49f666(_0xa203bf),this[_0x352b43(0x179)][_0x352b43(0x19a)]({'attributes':{'class':[_0x352b43(0x1ad)]}}),this[_0x352b43(0x19b)][_0x352b43(0x194)](this[_0x352b43(0x179)]);}}export class AIWebSourceView extends _0x11843b{[_0x531ff1(0x179)];[_0x531ff1(0x1a7)];constructor(_0x3502ee,_0x1ca6f3,_0x263969){const _0x2992ee=_0x531ff1;super(_0x3502ee),this[_0x2992ee(0x1a7)]=_0x1ca6f3,this[_0x2992ee(0x179)]=_0x263969,this[_0x2992ee(0x17b)]({'label':_0x1ca6f3[_0x2992ee(0x1a0)],'class':[_0x2992ee(0x17f)],'withText':!0x0});const _0x1c89ec=this[_0x2992ee(0x1a4)];if(this[_0x2992ee(0x19a)]({'on':{'click':_0x1c89ec['to'](()=>{const _0xd622a=_0x2992ee;window[_0xd622a(0x175)](_0x1ca6f3[_0xd622a(0x1ac)],_0xd622a(0x177));}),'mouseenter':_0x1c89ec['to'](()=>{const _0x4baa67=_0x2992ee;this[_0x4baa67(0x18e)]();}),'mouseleave':_0x1c89ec['to'](()=>{const _0x3230ac=_0x2992ee;this[_0x3230ac(0x18a)]();})}}),_0x1ca6f3[_0x2992ee(0x17d)]){const _0x116aa1=new _0x2a18fc(_0x3502ee);_0x116aa1[_0x2992ee(0x1a2)]({'tag':_0x2992ee(0x16e),'attributes':{'src':_0x1ca6f3[_0x2992ee(0x17d)]||_0x134c72,'alt':_0x1ca6f3[_0x2992ee(0x1a0)],'class':[_0x2992ee(0x1a5)]}}),this[_0x2992ee(0x188)][_0x2992ee(0x194)](_0x116aa1);}else this[_0x2992ee(0x17b)](_0x2992ee(0x1ae),_0x134c72);}[_0x531ff1(0x1a6)](_0x234080,_0x2ea056){const _0x488fd9=_0x531ff1,_0x186879=new _0x2a18fc(_0x234080),_0xcf7842=[];let _0x44c8bd;_0x2ea056?.[_0x488fd9(0x17d)]?(_0x44c8bd=new _0x2a18fc(_0x234080),_0x44c8bd[_0x488fd9(0x1a2)]({'tag':_0x488fd9(0x16e),'attributes':{'src':_0x2ea056[_0x488fd9(0x17d)],'alt':_0x2ea056[_0x488fd9(0x1a0)],'class':[_0x488fd9(0x16f)]}})):(_0x44c8bd=new _0x5dfefe(),_0x44c8bd[_0x488fd9(0x190)]=_0x134c72,_0x44c8bd[_0x488fd9(0x19a)]({'attributes':{'alt':_0x2ea056[_0x488fd9(0x1a0)],'class':[_0x488fd9(0x16f)]}})),_0xcf7842[_0x488fd9(0x1a1)](_0x44c8bd);const _0x21ceb4=new _0x2a18fc(_0x234080);_0x21ceb4[_0x488fd9(0x1a2)]({'tag':'a','attributes':{'class':[_0x488fd9(0x178)],'href':_0x2ea056[_0x488fd9(0x1ac)]},'children':[{'text':new URL(_0x2ea056[_0x488fd9(0x1ac)])?.[_0x488fd9(0x1b0)]}]}),_0xcf7842[_0x488fd9(0x1a1)](_0x21ceb4);const _0x237f84=new _0x2a18fc(_0x234080);_0x237f84[_0x488fd9(0x1a2)]({'tag':_0x488fd9(0x19c),'attributes':{'class':[_0x488fd9(0x192)]},'children':_0xcf7842});const _0xd6f2e1=new _0x2a18fc(_0x234080);return _0xd6f2e1[_0x488fd9(0x1a2)]({'tag':_0x488fd9(0x181),'attributes':{'class':[_0x488fd9(0x192),_0x488fd9(0x184)]},'children':[{'text':_0x2ea056[_0x488fd9(0x1a0)][_0x488fd9(0x19d)]>0x190?_0x2ea056[_0x488fd9(0x1a0)][_0x488fd9(0x176)](0x0,0x190)+_0x488fd9(0x18d):_0x2ea056[_0x488fd9(0x1a0)]}]}),_0x186879[_0x488fd9(0x1a2)]({'tag':_0x488fd9(0x19c),'attributes':{'class':['ck',_0x488fd9(0x185)]},'children':[_0x237f84,_0xd6f2e1]}),_0x186879;}[_0x531ff1(0x18e)](){const _0x58f9c7=_0x531ff1;this[_0x58f9c7(0x173)](),this[_0x58f9c7(0x179)][_0x58f9c7(0x180)]({'target':this[_0x58f9c7(0x18f)],'positions':[_0x49f666[_0x58f9c7(0x1a9)][_0x58f9c7(0x182)],_0x49f666[_0x58f9c7(0x1a9)][_0x58f9c7(0x1af)],_0x49f666[_0x58f9c7(0x1a9)][_0x58f9c7(0x196)]],'limiter':document[_0x58f9c7(0x172)](_0x58f9c7(0x199))}),this[_0x58f9c7(0x179)][_0x58f9c7(0x195)]();}[_0x531ff1(0x18a)](){const _0x511d43=_0x531ff1;this[_0x511d43(0x179)][_0x511d43(0x193)]();}[_0x531ff1(0x173)](){const _0x146091=_0x531ff1;this[_0x146091(0x179)][_0x146091(0x190)][_0x146091(0x186)](0x0)?.[_0x146091(0x197)](),this[_0x146091(0x179)][_0x146091(0x190)][_0x146091(0x19f)]();const _0x2baf4a=this[_0x146091(0x1a6)](this[_0x146091(0x187)],this[_0x146091(0x1a7)]);this[_0x146091(0x179)][_0x146091(0x190)][_0x146091(0x194)](_0x2baf4a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5068(){const _0x590d1=['isEqual','start','15rexHDq','createFromPath','reverse','116911yuotbH','parent','438324YhOXhO','11753040nEMTGl','40cKNQaH','slice','lastChild','previousNode','path','length','1027356qAGmgQ','document','push','getNudgedToWordBoundary','data','505044AfeDzD','forEach','createAt','createAfter','end','createBefore','includes','firstChild','nextNode','583602HigqmQ','228AzLlMB','getContent','20902rgsxcK'];_0x5068=function(){return _0x590d1;};return _0x5068();}const _0x117caa=_0x3383;(function(_0x2dc6d3,_0xed7eab){const _0x21a006=_0x3383,_0x5b2a43=_0x2dc6d3();while(!![]){try{const _0x3ad848=parseInt(_0x21a006(0x9c))/0x1+-parseInt(_0x21a006(0x93))/0x2+-parseInt(_0x21a006(0xa6))/0x3+-parseInt(_0x21a006(0x9e))/0x4*(parseInt(_0x21a006(0x99))/0x5)+parseInt(_0x21a006(0x94))/0x6*(-parseInt(_0x21a006(0x96))/0x7)+parseInt(_0x21a006(0xa0))/0x8*(parseInt(_0x21a006(0x8a))/0x9)+parseInt(_0x21a006(0x9f))/0xa;if(_0x3ad848===_0xed7eab)break;else _0x5b2a43['push'](_0x5b2a43['shift']());}catch(_0x125f3f){_0x5b2a43['push'](_0x5b2a43['shift']());}}}(_0x5068,0x792cb));import{DocumentPosition as _0x149284}from'./documentposition.js';import{clone as _0x104281,getParents as _0x36e145,Document as _0x3c80aa,Text as _0x452369,isTag as _0x267841,isText as _0x32cd9a,replaceElement as _0x38b265,removeElement as _0x216b22}from'./htmlparser.js';function _0x3383(_0xdce10a,_0x352dfd){const _0x50684f=_0x5068();return _0x3383=function(_0x338398,_0x573d20){_0x338398=_0x338398-0x87;let _0x41c77b=_0x50684f[_0x338398];return _0x41c77b;},_0x3383(_0xdce10a,_0x352dfd);}export class DocumentRange{[_0x117caa(0x98)];[_0x117caa(0x8e)];constructor(_0x145743,_0x273a03){const _0x4cc835=_0x117caa;this[_0x4cc835(0x98)]=_0x145743,this[_0x4cc835(0x8e)]=_0x273a03;}[_0x117caa(0x97)](_0x771bf0){const _0x5d4c91=_0x117caa;return this==_0x771bf0||this[_0x5d4c91(0x98)][_0x5d4c91(0x97)](_0x771bf0[_0x5d4c91(0x98)])&&this[_0x5d4c91(0x8e)][_0x5d4c91(0x97)](_0x771bf0[_0x5d4c91(0x8e)]);}[_0x117caa(0x88)](){const _0xbcaec0=_0x117caa;return new DocumentRange(this[_0xbcaec0(0x98)][_0xbcaec0(0x88)](_0xbcaec0(0x98)),this[_0xbcaec0(0x8e)][_0xbcaec0(0x88)](_0xbcaec0(0x8e)));}[_0x117caa(0x95)](){const _0xce46b5=_0x117caa,_0x4fa1aa=_0x104281(this[_0xce46b5(0x98)][_0xce46b5(0xa7)]),_0x4f9e51=_0x149284[_0xce46b5(0x9a)](_0x4fa1aa,this[_0xce46b5(0x98)][_0xce46b5(0xa4)]),_0x574426=_0x149284[_0xce46b5(0x9a)](_0x4fa1aa,this[_0xce46b5(0x8e)][_0xce46b5(0xa4)]);let _0x4f7d58,_0x2180e7;if(_0x32cd9a(_0x4f9e51[_0xce46b5(0x9d)])){const _0x2b9152=_0x4f9e51[_0xce46b5(0xa4)][_0x4f9e51[_0xce46b5(0xa4)][_0xce46b5(0xa5)]-0x1],_0x538488=new _0x452369(_0x4f9e51[_0xce46b5(0x9d)][_0xce46b5(0x89)][_0xce46b5(0xa1)](_0x2b9152));_0x38b265(_0x4f9e51[_0xce46b5(0x9d)],_0x538488),_0x4f7d58=_0x538488;}else _0x4f7d58=_0x4f9e51[_0xce46b5(0x92)];if(_0x32cd9a(_0x574426[_0xce46b5(0x9d)])){const _0x196c69=_0x574426[_0xce46b5(0xa4)][_0x574426[_0xce46b5(0xa4)][_0xce46b5(0xa5)]-0x1],_0x3ba8d5=new _0x452369(_0x574426[_0xce46b5(0x9d)][_0xce46b5(0x89)][_0xce46b5(0xa1)](0x0,_0x196c69));_0x38b265(_0x574426[_0xce46b5(0x9d)],_0x3ba8d5),_0x2180e7=_0x3ba8d5;}else _0x2180e7=_0x574426[_0xce46b5(0xa3)];if(!(_0x4f7d58&&_0x2180e7&&_0x4fa1aa[_0xce46b5(0x91)]&&_0x4fa1aa[_0xce46b5(0xa2)]))return new _0x3c80aa([]);const _0x46d8d4=_0x36e145(_0x4f7d58),_0x954537=_0x36e145(_0x2180e7),_0x115eab=[],_0x383977=[];let _0x5cd229=_0x4fa1aa[_0xce46b5(0x91)];for(;_0x5cd229&&_0x5cd229!==_0x4f7d58;){let _0x224407;_0x46d8d4[_0xce46b5(0x90)](_0x5cd229)||_0x115eab[_0xce46b5(0x87)](_0x5cd229),_0x224407=_0x267841(_0x5cd229)?_0x149284[_0xce46b5(0x8c)](_0x4fa1aa,_0x5cd229,_0xce46b5(0x98)):_0x149284[_0xce46b5(0x8d)](_0x4fa1aa,_0x5cd229),_0x5cd229=_0x224407?_0x224407[_0xce46b5(0x92)]:null;}for(_0x5cd229=_0x4fa1aa[_0xce46b5(0xa2)];_0x5cd229&&_0x5cd229!==_0x2180e7;){let _0x506aa7;_0x954537[_0xce46b5(0x90)](_0x5cd229)||_0x383977[_0xce46b5(0x87)](_0x5cd229),_0x506aa7=_0x267841(_0x5cd229)?_0x149284[_0xce46b5(0x8c)](_0x4fa1aa,_0x5cd229,_0xce46b5(0x8e)):_0x149284[_0xce46b5(0x8f)](_0x4fa1aa,_0x5cd229),_0x5cd229=_0x506aa7?_0x506aa7[_0xce46b5(0xa3)]:null;}return _0x115eab[_0xce46b5(0x8b)](_0x240c2c=>{_0x216b22(_0x240c2c);}),_0x383977[_0xce46b5(0x9b)]()[_0xce46b5(0x8b)](_0x279a47=>{_0x216b22(_0x279a47);}),_0x4fa1aa;}}
23
+ const _0x503425=_0x5728;(function(_0x51be6e,_0x3334c2){const _0x1f235f=_0x5728,_0x1fda2c=_0x51be6e();while(!![]){try{const _0x520c84=parseInt(_0x1f235f(0xba))/0x1+-parseInt(_0x1f235f(0xbe))/0x2*(parseInt(_0x1f235f(0xc8))/0x3)+parseInt(_0x1f235f(0xd4))/0x4+parseInt(_0x1f235f(0xc5))/0x5*(-parseInt(_0x1f235f(0xcc))/0x6)+parseInt(_0x1f235f(0xb8))/0x7*(-parseInt(_0x1f235f(0xd1))/0x8)+-parseInt(_0x1f235f(0xc1))/0x9*(-parseInt(_0x1f235f(0xca))/0xa)+parseInt(_0x1f235f(0xc6))/0xb*(parseInt(_0x1f235f(0xbc))/0xc);if(_0x520c84===_0x3334c2)break;else _0x1fda2c['push'](_0x1fda2c['shift']());}catch(_0x3f092d){_0x1fda2c['push'](_0x1fda2c['shift']());}}}(_0x49e6,0x1dd70));import{DocumentPosition as _0x41b57a}from'./documentposition.js';function _0x5728(_0x56a53f,_0x5b80a2){const _0x49e61e=_0x49e6();return _0x5728=function(_0x572860,_0x1da338){_0x572860=_0x572860-0xb5;let _0x5a32ce=_0x49e61e[_0x572860];return _0x5a32ce;},_0x5728(_0x56a53f,_0x5b80a2);}import{clone as _0x398ba7,getParents as _0x59249e,Document as _0x23118c,Text as _0x3a9dee,isTag as _0x3f1ca1,isText as _0x208928,replaceElement as _0x2b916f,removeElement as _0x4c554b}from'./htmlparser.js';function _0x49e6(){const _0x2b489d=['getNudgedToWordBoundary','3040mgrfSf','55abBGML','start','579CHjokb','parent','120VEeDvk','end','1176tHDDJV','includes','forEach','length','getContent','16nOsKuf','data','lastChild','457120fgZwuB','isEqual','reverse','previousNode','createBefore','path','createAt','703514YdpymX','createAfter','151291gFMhAU','createFromPath','156336ATYkkM','push','1294wizXOn','firstChild','nextNode','177417mhMjrp','slice','document'];_0x49e6=function(){return _0x2b489d;};return _0x49e6();}export class DocumentRange{[_0x503425(0xc7)];[_0x503425(0xcb)];constructor(_0xde914a,_0x4e2b37){const _0x48b905=_0x503425;this[_0x48b905(0xc7)]=_0xde914a,this[_0x48b905(0xcb)]=_0x4e2b37;}[_0x503425(0xd5)](_0xaad9c7){const _0x3d7af2=_0x503425;return this==_0xaad9c7||this[_0x3d7af2(0xc7)][_0x3d7af2(0xd5)](_0xaad9c7[_0x3d7af2(0xc7)])&&this[_0x3d7af2(0xcb)][_0x3d7af2(0xd5)](_0xaad9c7[_0x3d7af2(0xcb)]);}[_0x503425(0xc4)](){const _0x221373=_0x503425;return new DocumentRange(this[_0x221373(0xc7)][_0x221373(0xc4)](_0x221373(0xc7)),this[_0x221373(0xcb)][_0x221373(0xc4)](_0x221373(0xcb)));}[_0x503425(0xd0)](){const _0x34973f=_0x503425,_0x486065=_0x398ba7(this[_0x34973f(0xc7)][_0x34973f(0xc3)]),_0x569075=_0x41b57a[_0x34973f(0xbb)](_0x486065,this[_0x34973f(0xc7)][_0x34973f(0xb6)]),_0xfa9d0=_0x41b57a[_0x34973f(0xbb)](_0x486065,this[_0x34973f(0xcb)][_0x34973f(0xb6)]);let _0x4a4fc3,_0x466004;if(_0x208928(_0x569075[_0x34973f(0xc9)])){const _0x4f7273=_0x569075[_0x34973f(0xb6)][_0x569075[_0x34973f(0xb6)][_0x34973f(0xcf)]-0x1],_0xc27315=new _0x3a9dee(_0x569075[_0x34973f(0xc9)][_0x34973f(0xd2)][_0x34973f(0xc2)](_0x4f7273));_0x2b916f(_0x569075[_0x34973f(0xc9)],_0xc27315),_0x4a4fc3=_0xc27315;}else _0x4a4fc3=_0x569075[_0x34973f(0xc0)];if(_0x208928(_0xfa9d0[_0x34973f(0xc9)])){const _0x57b4d2=_0xfa9d0[_0x34973f(0xb6)][_0xfa9d0[_0x34973f(0xb6)][_0x34973f(0xcf)]-0x1],_0x28e006=new _0x3a9dee(_0xfa9d0[_0x34973f(0xc9)][_0x34973f(0xd2)][_0x34973f(0xc2)](0x0,_0x57b4d2));_0x2b916f(_0xfa9d0[_0x34973f(0xc9)],_0x28e006),_0x466004=_0x28e006;}else _0x466004=_0xfa9d0[_0x34973f(0xd7)];if(!(_0x4a4fc3&&_0x466004&&_0x486065[_0x34973f(0xbf)]&&_0x486065[_0x34973f(0xd3)]))return new _0x23118c([]);const _0x5b1f68=_0x59249e(_0x4a4fc3),_0x4a1fc7=_0x59249e(_0x466004),_0x2e9c94=[],_0xde8374=[];let _0x53baff=_0x486065[_0x34973f(0xbf)];for(;_0x53baff&&_0x53baff!==_0x4a4fc3;){let _0x3f66c0;_0x5b1f68[_0x34973f(0xcd)](_0x53baff)||_0x2e9c94[_0x34973f(0xbd)](_0x53baff),_0x3f66c0=_0x3f1ca1(_0x53baff)?_0x41b57a[_0x34973f(0xb7)](_0x486065,_0x53baff,_0x34973f(0xc7)):_0x41b57a[_0x34973f(0xb9)](_0x486065,_0x53baff),_0x53baff=_0x3f66c0?_0x3f66c0[_0x34973f(0xc0)]:null;}for(_0x53baff=_0x486065[_0x34973f(0xd3)];_0x53baff&&_0x53baff!==_0x466004;){let _0x53250d;_0x4a1fc7[_0x34973f(0xcd)](_0x53baff)||_0xde8374[_0x34973f(0xbd)](_0x53baff),_0x53250d=_0x3f1ca1(_0x53baff)?_0x41b57a[_0x34973f(0xb7)](_0x486065,_0x53baff,_0x34973f(0xcb)):_0x41b57a[_0x34973f(0xb5)](_0x486065,_0x53baff),_0x53baff=_0x53250d?_0x53250d[_0x34973f(0xd7)]:null;}return _0x2e9c94[_0x34973f(0xce)](_0x3c0709=>{_0x4c554b(_0x3c0709);}),_0xde8374[_0x34973f(0xd6)]()[_0x34973f(0xce)](_0x5849f4=>{_0x4c554b(_0x5849f4);}),_0x486065;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x19c269,_0x1a00e6){var _0x5589a0=_0x17de,_0x2bdb46=_0x19c269();while(!![]){try{var _0x202f68=parseInt(_0x5589a0(0xc2))/0x1*(parseInt(_0x5589a0(0xc4))/0x2)+parseInt(_0x5589a0(0xc7))/0x3*(-parseInt(_0x5589a0(0xc5))/0x4)+-parseInt(_0x5589a0(0xba))/0x5*(-parseInt(_0x5589a0(0xb9))/0x6)+-parseInt(_0x5589a0(0xbf))/0x7*(-parseInt(_0x5589a0(0xbb))/0x8)+parseInt(_0x5589a0(0xca))/0x9+-parseInt(_0x5589a0(0xc6))/0xa*(parseInt(_0x5589a0(0xc3))/0xb)+-parseInt(_0x5589a0(0xbc))/0xc*(parseInt(_0x5589a0(0xc9))/0xd);if(_0x202f68===_0x1a00e6)break;else _0x2bdb46['push'](_0x2bdb46['shift']());}catch(_0x31a85c){_0x2bdb46['push'](_0x2bdb46['shift']());}}}(_0x4cd7,0xb9a2f));import{CKEditorError as _0x5540ce}from'ckeditor5/src/utils.js';function _0x17de(_0x5f1ad7,_0x22aa9a){var _0x4cd7a1=_0x4cd7();return _0x17de=function(_0x17de2a,_0x3505cf){_0x17de2a=_0x17de2a-0xb8;var _0x199661=_0x4cd7a1[_0x17de2a];return _0x199661;},_0x17de(_0x5f1ad7,_0x22aa9a);}function _0x4cd7(){var _0x1c2428=['6SSrXFQ','3769795iypCxd','1949992fLeRDP','12vKrUGn','ai-get-editor-from-context-no-editor','warn','14RhsHtU','get','editors','2exGGHQ','9350143oOxcdT','1363124vHEuCd','12bpSEke','10tONVBV','34188gwUGdY','length','30692727uHywuc','12608694vMRjdp','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.'];_0x4cd7=function(){return _0x1c2428;};return _0x4cd7();}import{Editor as _0x212c12}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x5925cd){var _0x58fca6=_0x17de;if(_0x5925cd instanceof _0x212c12)return _0x5925cd;if(_0x5925cd?.[_0x58fca6(0xc1)]&&_0x5925cd[_0x58fca6(0xc1)][_0x58fca6(0xc0)](0x0))return _0x5925cd[_0x58fca6(0xc1)][_0x58fca6(0xc8)]>0x1&&console[_0x58fca6(0xbe)](_0x58fca6(0xb8)),_0x5925cd[_0x58fca6(0xc1)][_0x58fca6(0xc0)](0x0);throw new _0x5540ce(_0x58fca6(0xbd));}
23
+ function _0x59f6(){var _0x399615=['warn','860920RmQHCj','125MZtJyb','1786257uOUlPS','77520EiPGSA','editors','1530FpXFdg','10rQPAyr','get','52664ueIXTR','ai-get-editor-from-context-no-editor','length','9pdVRci','70580UddpFO','565166euzuhW','108gOpiBD','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.'];_0x59f6=function(){return _0x399615;};return _0x59f6();}function _0x3975(_0x44bdba,_0x4a66f2){var _0x59f65b=_0x59f6();return _0x3975=function(_0x39753d,_0x3efae8){_0x39753d=_0x39753d-0x1a9;var _0x33b7d0=_0x59f65b[_0x39753d];return _0x33b7d0;},_0x3975(_0x44bdba,_0x4a66f2);}(function(_0x2cbacf,_0x2d3264){var _0x44c995=_0x3975,_0x398665=_0x2cbacf();while(!![]){try{var _0xbfbe50=parseInt(_0x44c995(0x1b6))/0x1*(parseInt(_0x44c995(0x1a9))/0x2)+-parseInt(_0x44c995(0x1af))/0x3*(parseInt(_0x44c995(0x1b0))/0x4)+-parseInt(_0x44c995(0x1b5))/0x5+-parseInt(_0x44c995(0x1b8))/0x6+parseInt(_0x44c995(0x1b1))/0x7+parseInt(_0x44c995(0x1ac))/0x8*(parseInt(_0x44c995(0x1b2))/0x9)+-parseInt(_0x44c995(0x1aa))/0xa*(-parseInt(_0x44c995(0x1b7))/0xb);if(_0xbfbe50===_0x2d3264)break;else _0x398665['push'](_0x398665['shift']());}catch(_0x35ff7a){_0x398665['push'](_0x398665['shift']());}}}(_0x59f6,0x2bdfb));import{CKEditorError as _0x22c423}from'ckeditor5/src/utils.js';import{Editor as _0x141b86}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x550471){var _0x406791=_0x3975;if(_0x550471 instanceof _0x141b86)return _0x550471;if(_0x550471?.[_0x406791(0x1b9)]&&_0x550471[_0x406791(0x1b9)][_0x406791(0x1ab)](0x0))return _0x550471[_0x406791(0x1b9)][_0x406791(0x1ae)]>0x1&&console[_0x406791(0x1b4)](_0x406791(0x1b3)),_0x550471[_0x406791(0x1b9)][_0x406791(0x1ab)](0x0);throw new _0x22c423(_0x406791(0x1ad));}