@ckeditor/ckeditor5-ai 47.4.0-alpha.5 → 47.4.0-alpha.6

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 (130) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  35. package/src/aichat/ui/aichatfeedview.js +1 -1
  36. package/src/aichat/ui/aichatheaderview.js +1 -1
  37. package/src/aichat/ui/aichatview.js +1 -1
  38. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichathistory/aichathistory.js +1 -1
  60. package/src/aichathistory/aichathistorycontroller.js +1 -1
  61. package/src/aichathistory/aichathistoryui.js +1 -1
  62. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  63. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  64. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  65. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  68. package/src/aicore/aiconnector.js +1 -1
  69. package/src/aicore/aiediting.js +1 -1
  70. package/src/aicore/model/aicapabilities.js +1 -1
  71. package/src/aicore/model/aiinteraction.js +1 -1
  72. package/src/aicore/model/aimodels.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  83. package/src/aicore/utils/createresizebutton.js +1 -1
  84. package/src/aicore/utils/documentposition.js +1 -1
  85. package/src/aicore/utils/documentrange.js +1 -1
  86. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  87. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  88. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  89. package/src/aicore/utils/htmlparser.js +1 -1
  90. package/src/aicore/utils/htmlstreamer.js +1 -1
  91. package/src/aicore/utils/scrollmanager.js +1 -1
  92. package/src/aieditorintegration/aieditorintegration.js +1 -1
  93. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  94. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  95. package/src/aiquickactions/aiquickactions.js +1 -1
  96. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  97. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  98. package/src/aiquickactions/aiquickactionsui.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  103. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  104. package/src/aireviewmode/aireviewmode.js +1 -1
  105. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  106. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  107. package/src/aireviewmode/aireviewmodeui.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  109. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  110. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  112. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  113. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  114. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  124. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  125. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  126. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  127. package/src/aitabs/aitabs.js +1 -1
  128. package/src/aitabs/tabs/aitabsview.js +1 -1
  129. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  130. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x111a72=_0x3dab;function _0x4c00(){const _0x37f4e7=['height','ck-ai-skeleton','949554TLsggj','44px','fill','attributes','140px','7228151vhQuPS','width:\x20','24px','tag','150px','align','128px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','40px','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','center','class','200CMZGSn','setTemplate','250px','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','div','72px','_createSkeletonItems','220mKFgir','842720VJuQOl','right','88px','46041nAMDej',';\x20height:\x20','ck-ai-skeleton__item','1909045ZeXPnC','100%','left','690466jscerI','width','59058mnYnyW','map'];_0x4c00=function(){return _0x37f4e7;};return _0x4c00();}function _0x3dab(_0x8f29ac,_0xa2b0fc){const _0x4c0033=_0x4c00();return _0x3dab=function(_0x3dab53,_0x1f29f5){_0x3dab53=_0x3dab53-0x113;let _0x5f0e64=_0x4c0033[_0x3dab53];return _0x5f0e64;},_0x3dab(_0x8f29ac,_0xa2b0fc);}(function(_0x33cd36,_0x2033b1){const _0x6f0f98=_0x3dab,_0x252113=_0x33cd36();while(!![]){try{const _0x2c8af9=parseInt(_0x6f0f98(0x138))/0x1+-parseInt(_0x6f0f98(0x12f))/0x2+parseInt(_0x6f0f98(0x132))/0x3*(-parseInt(_0x6f0f98(0x12e))/0x4)+-parseInt(_0x6f0f98(0x135))/0x5+-parseInt(_0x6f0f98(0x13a))/0x6+-parseInt(_0x6f0f98(0x11b))/0x7+parseInt(_0x6f0f98(0x127))/0x8*(parseInt(_0x6f0f98(0x116))/0x9);if(_0x2c8af9===_0x2033b1)break;else _0x252113['push'](_0x252113['shift']());}catch(_0x4c2580){_0x252113['push'](_0x252113['shift']());}}}(_0x4c00,0x9bdda));import{View as _0x314925}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x314925{constructor(_0x39a46c,_0x615045){const _0x660bbe=_0x3dab;super(_0x39a46c),this[_0x660bbe(0x128)]({'tag':_0x660bbe(0x12b),'attributes':{'class':['ck',_0x660bbe(0x115)]},'children':this[_0x660bbe(0x12d)](_0x615045)});}[_0x111a72(0x12d)](_0x4011e6){const _0x27bd73=_0x111a72,_0x1f515b=['ck',_0x27bd73(0x134)];return _0x4011e6[_0x27bd73(0x113)](_0x36013c=>{const _0x38a445=_0x27bd73;let _0x4386b1='';switch(_0x36013c[_0x38a445(0x119)][_0x38a445(0x120)]){case _0x38a445(0x130):_0x4386b1=_0x38a445(0x12a);break;case _0x38a445(0x125):_0x4386b1=_0x38a445(0x124);break;case _0x38a445(0x137):_0x4386b1=_0x38a445(0x122);}return{'tag':_0x36013c[_0x38a445(0x11e)],'attributes':{'class':[..._0x1f515b,_0x36013c[_0x38a445(0x119)][_0x38a445(0x126)]?_0x36013c[_0x38a445(0x119)][_0x38a445(0x126)]:''],'style':_0x38a445(0x11c)+_0x36013c[_0x38a445(0x119)][_0x38a445(0x139)]+_0x38a445(0x133)+_0x36013c[_0x38a445(0x119)][_0x38a445(0x114)]+';'+_0x4386b1}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x111a72(0x12b),'attributes':{'width':_0x111a72(0x136),'height':_0x111a72(0x12c),'align':_0x111a72(0x130)}},{'tag':_0x111a72(0x12b),'attributes':{'width':_0x111a72(0x129),'height':_0x111a72(0x123),'align':_0x111a72(0x130)}},{'tag':_0x111a72(0x12b),'attributes':{'width':_0x111a72(0x136),'height':_0x111a72(0x131),'align':_0x111a72(0x130)}},{'tag':_0x111a72(0x12b),'attributes':{'width':_0x111a72(0x11f),'height':_0x111a72(0x123),'align':_0x111a72(0x130)}},{'tag':_0x111a72(0x12b),'attributes':{'width':_0x111a72(0x136),'height':_0x111a72(0x11a),'align':_0x111a72(0x130)}},{'tag':_0x111a72(0x12b),'attributes':{'width':_0x111a72(0x129),'height':_0x111a72(0x123),'align':_0x111a72(0x130)}},{'tag':_0x111a72(0x12b),'attributes':{'width':_0x111a72(0x136),'height':_0x111a72(0x131),'align':_0x111a72(0x130)}}],'aiHistory':ta(0x5,_0x111a72(0x136),_0x111a72(0x117),_0x111a72(0x130)),'aiChatResources':ta(0x8,_0x111a72(0x136),_0x111a72(0x11d),_0x111a72(0x130)),'aiReviewChecks':[{'tag':_0x111a72(0x12b),'attributes':{'width':_0x111a72(0x121),'height':_0x111a72(0x11d),'align':_0x111a72(0x137)}},{'tag':_0x111a72(0x12b),'attributes':{'width':_0x111a72(0x136),'height':_0x111a72(0x11d),'align':_0x111a72(0x137)}},{'tag':_0x111a72(0x12b),'attributes':{'width':_0x111a72(0x121),'height':_0x111a72(0x11d),'align':_0x111a72(0x137)}}]};function ta(_0x33ac0f,_0x37e537,_0x1ead43,_0x41f2de){const _0x348a2c=_0x111a72;return new Array(_0x33ac0f)[_0x348a2c(0x118)](null)[_0x348a2c(0x113)](()=>({'tag':_0x348a2c(0x12b),'attributes':{'width':_0x37e537,'height':_0x1ead43,'align':_0x41f2de}}));}
23
+ function _0x2756(){const _0x2d2624=['fill','_createSkeletonItems','19245fXdQMd','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','10888fJDZMP','88px','tag','width:\x20','4ryNgvL','150px','1436mdfgOJ','center','height','left','attributes','1309rwzojx',';\x20height:\x20','24px','40px','ck-ai-skeleton__item','width','166250LRGksl','564FJtBnE','100%','2090242BHqdNb','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','right','387BiQxuF','44px','140px','class','128px','2502UybXzF','div','align','ck-ai-skeleton','104315ikkkBC','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','map','72px','132AsvEEt','11908oIQsDX','setTemplate','250px'];_0x2756=function(){return _0x2d2624;};return _0x2756();}const _0x50c7ad=_0x1e21;(function(_0x281e30,_0x52b3e3){const _0x40ac12=_0x1e21,_0x336027=_0x281e30();while(!![]){try{const _0x3247ad=parseInt(_0x40ac12(0x162))/0x1*(parseInt(_0x40ac12(0x172))/0x2)+parseInt(_0x40ac12(0x15e))/0x3*(parseInt(_0x40ac12(0x174))/0x4)+-parseInt(_0x40ac12(0x16c))/0x5*(parseInt(_0x40ac12(0x180))/0x6)+parseInt(_0x40ac12(0x179))/0x7*(-parseInt(_0x40ac12(0x16e))/0x8)+parseInt(_0x40ac12(0x185))/0x9*(parseInt(_0x40ac12(0x17f))/0xa)+-parseInt(_0x40ac12(0x182))/0xb+parseInt(_0x40ac12(0x166))/0xc*(-parseInt(_0x40ac12(0x167))/0xd);if(_0x3247ad===_0x52b3e3)break;else _0x336027['push'](_0x336027['shift']());}catch(_0x440432){_0x336027['push'](_0x336027['shift']());}}}(_0x2756,0x633e4));import{View as _0x482a39}from'ckeditor5/src/ui.js';function _0x1e21(_0x38c17f,_0xc5aff9){const _0x275643=_0x2756();return _0x1e21=function(_0x1e21a6,_0x36b80e){_0x1e21a6=_0x1e21a6-0x15a;let _0x239eb0=_0x275643[_0x1e21a6];return _0x239eb0;},_0x1e21(_0x38c17f,_0xc5aff9);}export class AISkeletonView extends _0x482a39{constructor(_0x26a1b7,_0x2f002a){const _0x3c75e9=_0x1e21;super(_0x26a1b7),this[_0x3c75e9(0x168)]({'tag':_0x3c75e9(0x15f),'attributes':{'class':['ck',_0x3c75e9(0x161)]},'children':this[_0x3c75e9(0x16b)](_0x2f002a)});}[_0x50c7ad(0x16b)](_0x1ac012){const _0x23485b=_0x50c7ad,_0x3ec3dc=['ck',_0x23485b(0x17d)];return _0x1ac012[_0x23485b(0x164)](_0x437ecf=>{const _0xeb29d8=_0x23485b;let _0x147472='';switch(_0x437ecf[_0xeb29d8(0x178)][_0xeb29d8(0x160)]){case _0xeb29d8(0x184):_0x147472=_0xeb29d8(0x183);break;case _0xeb29d8(0x175):_0x147472=_0xeb29d8(0x16d);break;case _0xeb29d8(0x177):_0x147472=_0xeb29d8(0x163);}return{'tag':_0x437ecf[_0xeb29d8(0x170)],'attributes':{'class':[..._0x3ec3dc,_0x437ecf[_0xeb29d8(0x178)][_0xeb29d8(0x15c)]?_0x437ecf[_0xeb29d8(0x178)][_0xeb29d8(0x15c)]:''],'style':_0xeb29d8(0x171)+_0x437ecf[_0xeb29d8(0x178)][_0xeb29d8(0x17e)]+_0xeb29d8(0x17a)+_0x437ecf[_0xeb29d8(0x178)][_0xeb29d8(0x176)]+';'+_0x147472}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x181),'height':_0x50c7ad(0x165),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x169),'height':_0x50c7ad(0x17c),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x181),'height':_0x50c7ad(0x16f),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x173),'height':_0x50c7ad(0x17c),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x181),'height':_0x50c7ad(0x15b),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x169),'height':_0x50c7ad(0x17c),'align':_0x50c7ad(0x184)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x181),'height':_0x50c7ad(0x16f),'align':_0x50c7ad(0x184)}}],'aiHistory':$i(0x5,_0x50c7ad(0x181),_0x50c7ad(0x15a),_0x50c7ad(0x184)),'aiChatResources':$i(0x8,_0x50c7ad(0x181),_0x50c7ad(0x17b),_0x50c7ad(0x184)),'aiReviewChecks':[{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x15d),'height':_0x50c7ad(0x17b),'align':_0x50c7ad(0x177)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x181),'height':_0x50c7ad(0x17b),'align':_0x50c7ad(0x177)}},{'tag':_0x50c7ad(0x15f),'attributes':{'width':_0x50c7ad(0x15d),'height':_0x50c7ad(0x17b),'align':_0x50c7ad(0x177)}}]};function $i(_0x150b8b,_0x4ad791,_0x519d4c,_0x1a8148){const _0x35d32a=_0x50c7ad;return new Array(_0x150b8b)[_0x35d32a(0x16a)](null)[_0x35d32a(0x164)](()=>({'tag':_0x35d32a(0x15f),'attributes':{'width':_0x4ad791,'height':_0x519d4c,'align':_0x1a8148}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4651(_0x47bfed,_0x5667ff){const _0x2712e=_0x2712();return _0x4651=function(_0x46516c,_0x4f2ea3){_0x46516c=_0x46516c-0x1d8;let _0x3bbc2c=_0x2712e[_0x46516c];return _0x3bbc2c;},_0x4651(_0x47bfed,_0x5667ff);}function _0x2712(){const _0x460e5f=['ck-ai-mini-toolbar-copy-button__check-mark','showChanges','toggleShowChanges','5hoBWuk','2239706xtNGsv','130233Zzjquk','dislikeButton','AI_MINI_TOOLBAR_LIKE','addMany','isLoading','set','24hmOvwv','11060ZHkwaQ','showLike','8YJpsJV','45250hhdqfx','AI_SUGGESTION_BUTTON_SHOW_CHANGES','dislike','_setupRatingButtons','copyButton','50xIcfDO','showChangesButton','2070630DPVthX','1808124iudrBp','likeButton','showDislike','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','extendTemplate','execute','add','_setupShowChangesButton','customView','ck-ai-mini-toolbar-copy-button','like','ck-ai-mini-toolbar','979aPpicw','children','length','bind','isEnabled','full','ck-ai-mini-toolbar\x20ck-hidden','showCopy','items','locale','class','_config','AI_MINI_TOOLBAR_COPY','isOn','fire','_setupCopyButton','AI_MINI_TOOLBAR_DISLIKE','1946394CUvzrR'];_0x2712=function(){return _0x460e5f;};return _0x2712();}const _0x12a9d9=_0x4651;(function(_0x556e00,_0x485b87){const _0x118218=_0x4651,_0x1b8e0c=_0x556e00();while(!![]){try{const _0x8fd958=-parseInt(_0x118218(0x1fe))/0x1*(-parseInt(_0x118218(0x1f6))/0x2)+parseInt(_0x118218(0x1ef))/0x3*(parseInt(_0x118218(0x1f5))/0x4)+parseInt(_0x118218(0x1ed))/0x5*(parseInt(_0x118218(0x1e9))/0x6)+-parseInt(_0x118218(0x1ee))/0x7*(parseInt(_0x118218(0x1f8))/0x8)+parseInt(_0x118218(0x200))/0x9+parseInt(_0x118218(0x1f9))/0xa*(-parseInt(_0x118218(0x1d8))/0xb)+-parseInt(_0x118218(0x201))/0xc;if(_0x8fd958===_0x485b87)break;else _0x1b8e0c['push'](_0x1b8e0c['shift']());}catch(_0x3f23cc){_0x1b8e0c['push'](_0x1b8e0c['shift']());}}}(_0x2712,0x353db));import{ButtonView as _0x1e39e7,IconView as _0x39f0bb,ToolbarView as _0x671a52}from'ckeditor5/src/ui.js';import{IconCheck as _0x242d91,IconCopy as _0x57efff,IconShowChangesOff as _0x48d723,IconShowChangesOn as _0x49265a,IconThumbDown as _0x18b815,IconThumbUp as _0x472634}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x401cd4}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x671a52{[_0x12a9d9(0x1fd)];[_0x12a9d9(0x202)];[_0x12a9d9(0x1f0)];[_0x12a9d9(0x1ff)];[_0x12a9d9(0x1e3)];constructor(_0x3a45a2,_0x242ead={},_0x47ca2a){const _0x1b4a8e=_0x12a9d9;super(_0x3a45a2),this[_0x1b4a8e(0x1f4)](_0x1b4a8e(0x1f3),!0x1),this[_0x1b4a8e(0x1e3)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x242ead};const _0x3f66a8=!(this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x1df)]||this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x1eb)]||this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x1f7)]||this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x203)]||this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x209)]?.[_0x1b4a8e(0x1da)]);this[_0x1b4a8e(0x1e2)]=_0x3f66a8?_0x1b4a8e(0x1de):_0x1b4a8e(0x20c),this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x1df)]&&(this[_0x1b4a8e(0x1e7)](),this[_0x1b4a8e(0x1e0)][_0x1b4a8e(0x207)](this[_0x1b4a8e(0x1fd)])),this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x1eb)]&&(this[_0x1b4a8e(0x208)](_0x47ca2a),this[_0x1b4a8e(0x1e0)][_0x1b4a8e(0x207)](this[_0x1b4a8e(0x1ff)])),this[_0x1b4a8e(0x1fc)](),this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x1f7)]&&this[_0x1b4a8e(0x1e0)][_0x1b4a8e(0x207)](this[_0x1b4a8e(0x202)]),this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x203)]&&this[_0x1b4a8e(0x1e0)][_0x1b4a8e(0x207)](this[_0x1b4a8e(0x1f0)]),this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x209)]&&this[_0x1b4a8e(0x1e0)][_0x1b4a8e(0x1f2)](this[_0x1b4a8e(0x1e3)][_0x1b4a8e(0x209)]);}[_0x12a9d9(0x1fc)](){const _0x5d48fe=_0x12a9d9;this[_0x5d48fe(0x202)]=new _0x1e39e7(this[_0x5d48fe(0x1e1)]),this[_0x5d48fe(0x202)][_0x5d48fe(0x1f4)]({'icon':_0x472634,'label':_0x401cd4(this[_0x5d48fe(0x1e1)],_0x5d48fe(0x1f1)),'tooltip':!0x0}),this[_0x5d48fe(0x202)][_0x5d48fe(0x1db)](_0x5d48fe(0x1dc))['to'](this,_0x5d48fe(0x1f3),_0x40c65c=>!_0x40c65c),this[_0x5d48fe(0x202)]['on'](_0x5d48fe(0x206),()=>{const _0x3b4e8f=_0x5d48fe;this[_0x3b4e8f(0x1e6)](_0x3b4e8f(0x20b));}),this[_0x5d48fe(0x1f0)]=new _0x1e39e7(this[_0x5d48fe(0x1e1)]),this[_0x5d48fe(0x1f0)][_0x5d48fe(0x1f4)]({'icon':_0x18b815,'label':_0x401cd4(this[_0x5d48fe(0x1e1)],_0x5d48fe(0x1e8)),'tooltip':!0x0}),this[_0x5d48fe(0x1f0)][_0x5d48fe(0x1db)](_0x5d48fe(0x1dc))['to'](this,_0x5d48fe(0x1f3),_0x3e6f07=>!_0x3e6f07),this[_0x5d48fe(0x1f0)]['on'](_0x5d48fe(0x206),()=>{const _0x27efcf=_0x5d48fe;this[_0x27efcf(0x1e6)](_0x27efcf(0x1fb));});}[_0x12a9d9(0x1e7)](){const _0x4c159b=_0x12a9d9;this[_0x4c159b(0x1fd)]=new _0x1e39e7(this[_0x4c159b(0x1e1)]),this[_0x4c159b(0x1fd)][_0x4c159b(0x1f4)]({'icon':_0x57efff,'label':_0x401cd4(this[_0x4c159b(0x1e1)],_0x4c159b(0x1e4)),'class':_0x4c159b(0x20a),'tooltip':!0x0}),this[_0x4c159b(0x1fd)][_0x4c159b(0x1db)](_0x4c159b(0x1dc))['to'](this,_0x4c159b(0x1f3),_0x5d1a5c=>!_0x5d1a5c);const _0x14fae0=new _0x39f0bb();_0x14fae0[_0x4c159b(0x1f4)]({'content':_0x242d91}),_0x14fae0[_0x4c159b(0x205)]({'attributes':{'class':[_0x4c159b(0x1ea)]}}),this[_0x4c159b(0x1fd)]['on'](_0x4c159b(0x206),()=>{const _0x4d37b3=_0x4c159b;this[_0x4d37b3(0x1fd)][_0x4d37b3(0x1e2)]=_0x4d37b3(0x204),setTimeout(()=>{const _0x656941=_0x4d37b3;this[_0x656941(0x1fd)][_0x656941(0x1e2)]=_0x656941(0x20a);},0x7d0);}),this[_0x4c159b(0x1fd)][_0x4c159b(0x1d9)][_0x4c159b(0x207)](_0x14fae0);}[_0x12a9d9(0x208)](_0x4d097d){const _0x87d30f=_0x12a9d9;this[_0x87d30f(0x1ff)]=new _0x1e39e7(this[_0x87d30f(0x1e1)]),this[_0x87d30f(0x1ff)][_0x87d30f(0x1f4)]({'icon':_0x48d723,'label':_0x401cd4(this[_0x87d30f(0x1e1)],_0x87d30f(0x1fa)),'withText':_0x87d30f(0x1dd)==this[_0x87d30f(0x1e3)][_0x87d30f(0x1eb)],'tooltip':_0x87d30f(0x1dd)!=this[_0x87d30f(0x1e3)][_0x87d30f(0x1eb)],'isOn':_0x4d097d}),this[_0x87d30f(0x1ff)][_0x87d30f(0x1db)](_0x87d30f(0x1dc))['to'](this,_0x87d30f(0x1f3),_0x10ffdb=>!_0x10ffdb),this[_0x87d30f(0x1ff)]['on'](_0x87d30f(0x206),()=>{const _0x595392=_0x87d30f,_0x2d42b4=!this[_0x595392(0x1ff)][_0x595392(0x1e5)];this[_0x595392(0x1ff)][_0x595392(0x1f4)]({'isOn':_0x2d42b4,'icon':_0x2d42b4?_0x49265a:_0x48d723}),this[_0x595392(0x1e6)](_0x595392(0x1ec),_0x2d42b4);});}}
23
+ function _0x427c(){const _0x1e4208=['full','AI_MINI_TOOLBAR_DISLIKE','244BHSbue','like','showChanges','showCopy','toggleShowChanges','157212XreoVV','class','copyButton','add','9987376IVXjUr','_setupCopyButton','2342967PSVOBr','likeButton','ck-ai-mini-toolbar-copy-button','addMany','AI_MINI_TOOLBAR_LIKE','ck-ai-mini-toolbar','showChangesButton','set','showLike','items','_setupRatingButtons','isEnabled','21244344nqEdFm','1JazFtK','142795XezRcr','_setupShowChangesButton','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','2074946ApMYHb','349542zKCmLH','bind','locale','execute','154rdJlrv','length','200NQimvg','isLoading','AI_MINI_TOOLBAR_COPY','isOn','extendTemplate','showDislike','ck-ai-mini-toolbar\x20ck-hidden','AI_SUGGESTION_BUTTON_SHOW_CHANGES','dislikeButton','ck-ai-mini-toolbar-copy-button__check-mark','customView','_config','dislike','children','fire'];_0x427c=function(){return _0x1e4208;};return _0x427c();}const _0x2e9402=_0x4bb2;(function(_0x305630,_0x2dd1f0){const _0x44d13e=_0x4bb2,_0x640fc0=_0x305630();while(!![]){try{const _0x23dcfa=-parseInt(_0x44d13e(0x1b1))/0x1*(parseInt(_0x44d13e(0x1b5))/0x2)+parseInt(_0x44d13e(0x1a4))/0x3+parseInt(_0x44d13e(0x199))/0x4*(-parseInt(_0x44d13e(0x1b2))/0x5)+-parseInt(_0x44d13e(0x19e))/0x6*(-parseInt(_0x44d13e(0x1ba))/0x7)+parseInt(_0x44d13e(0x1a2))/0x8+parseInt(_0x44d13e(0x1b6))/0x9*(-parseInt(_0x44d13e(0x1bc))/0xa)+parseInt(_0x44d13e(0x1b0))/0xb;if(_0x23dcfa===_0x2dd1f0)break;else _0x640fc0['push'](_0x640fc0['shift']());}catch(_0x2dbd3f){_0x640fc0['push'](_0x640fc0['shift']());}}}(_0x427c,0xef75b));import{ButtonView as _0x3faae2,IconView as _0x1594af,ToolbarView as _0x50a994}from'ckeditor5/src/ui.js';function _0x4bb2(_0x39fb75,_0x116ec9){const _0x427cd7=_0x427c();return _0x4bb2=function(_0x4bb2b0,_0x43b4b1){_0x4bb2b0=_0x4bb2b0-0x194;let _0x1da046=_0x427cd7[_0x4bb2b0];return _0x1da046;},_0x4bb2(_0x39fb75,_0x116ec9);}import{IconCheck as _0x4d9742,IconCopy as _0x31955d,IconShowChangesOff as _0x4006da,IconShowChangesOn as _0x4f07e1,IconThumbDown as _0x1ffa38,IconThumbUp as _0xe1a43e}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x200ffc}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x50a994{[_0x2e9402(0x1a0)];[_0x2e9402(0x1a5)];[_0x2e9402(0x1c4)];[_0x2e9402(0x1aa)];[_0x2e9402(0x1c7)];constructor(_0x2fa4e4,_0x33a6c3={},_0x37fc1b){const _0x4c027c=_0x2e9402;super(_0x2fa4e4),this[_0x4c027c(0x1ab)](_0x4c027c(0x1bd),!0x1),this[_0x4c027c(0x1c7)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x33a6c3};const _0x3d1d76=!(this[_0x4c027c(0x1c7)][_0x4c027c(0x19c)]||this[_0x4c027c(0x1c7)][_0x4c027c(0x19b)]||this[_0x4c027c(0x1c7)][_0x4c027c(0x1ac)]||this[_0x4c027c(0x1c7)][_0x4c027c(0x1c1)]||this[_0x4c027c(0x1c7)][_0x4c027c(0x1c6)]?.[_0x4c027c(0x1bb)]);this[_0x4c027c(0x19f)]=_0x3d1d76?_0x4c027c(0x1c2):_0x4c027c(0x1a9),this[_0x4c027c(0x1c7)][_0x4c027c(0x19c)]&&(this[_0x4c027c(0x1a3)](),this[_0x4c027c(0x1ad)][_0x4c027c(0x1a1)](this[_0x4c027c(0x1a0)])),this[_0x4c027c(0x1c7)][_0x4c027c(0x19b)]&&(this[_0x4c027c(0x1b3)](_0x37fc1b),this[_0x4c027c(0x1ad)][_0x4c027c(0x1a1)](this[_0x4c027c(0x1aa)])),this[_0x4c027c(0x1ae)](),this[_0x4c027c(0x1c7)][_0x4c027c(0x1ac)]&&this[_0x4c027c(0x1ad)][_0x4c027c(0x1a1)](this[_0x4c027c(0x1a5)]),this[_0x4c027c(0x1c7)][_0x4c027c(0x1c1)]&&this[_0x4c027c(0x1ad)][_0x4c027c(0x1a1)](this[_0x4c027c(0x1c4)]),this[_0x4c027c(0x1c7)][_0x4c027c(0x1c6)]&&this[_0x4c027c(0x1ad)][_0x4c027c(0x1a7)](this[_0x4c027c(0x1c7)][_0x4c027c(0x1c6)]);}[_0x2e9402(0x1ae)](){const _0x513005=_0x2e9402;this[_0x513005(0x1a5)]=new _0x3faae2(this[_0x513005(0x1b8)]),this[_0x513005(0x1a5)][_0x513005(0x1ab)]({'icon':_0xe1a43e,'label':_0x200ffc(this[_0x513005(0x1b8)],_0x513005(0x1a8)),'tooltip':!0x0}),this[_0x513005(0x1a5)][_0x513005(0x1b7)](_0x513005(0x1af))['to'](this,_0x513005(0x1bd),_0xe2e07a=>!_0xe2e07a),this[_0x513005(0x1a5)]['on'](_0x513005(0x1b9),()=>{const _0x57715c=_0x513005;this[_0x57715c(0x196)](_0x57715c(0x19a));}),this[_0x513005(0x1c4)]=new _0x3faae2(this[_0x513005(0x1b8)]),this[_0x513005(0x1c4)][_0x513005(0x1ab)]({'icon':_0x1ffa38,'label':_0x200ffc(this[_0x513005(0x1b8)],_0x513005(0x198)),'tooltip':!0x0}),this[_0x513005(0x1c4)][_0x513005(0x1b7)](_0x513005(0x1af))['to'](this,_0x513005(0x1bd),_0x4b25e9=>!_0x4b25e9),this[_0x513005(0x1c4)]['on'](_0x513005(0x1b9),()=>{const _0x40f673=_0x513005;this[_0x40f673(0x196)](_0x40f673(0x194));});}[_0x2e9402(0x1a3)](){const _0x235f06=_0x2e9402;this[_0x235f06(0x1a0)]=new _0x3faae2(this[_0x235f06(0x1b8)]),this[_0x235f06(0x1a0)][_0x235f06(0x1ab)]({'icon':_0x31955d,'label':_0x200ffc(this[_0x235f06(0x1b8)],_0x235f06(0x1be)),'class':_0x235f06(0x1a6),'tooltip':!0x0}),this[_0x235f06(0x1a0)][_0x235f06(0x1b7)](_0x235f06(0x1af))['to'](this,_0x235f06(0x1bd),_0x2b650c=>!_0x2b650c);const _0x4dcf01=new _0x1594af();_0x4dcf01[_0x235f06(0x1ab)]({'content':_0x4d9742}),_0x4dcf01[_0x235f06(0x1c0)]({'attributes':{'class':[_0x235f06(0x1c5)]}}),this[_0x235f06(0x1a0)]['on'](_0x235f06(0x1b9),()=>{const _0x321e94=_0x235f06;this[_0x321e94(0x1a0)][_0x321e94(0x19f)]=_0x321e94(0x1b4),setTimeout(()=>{const _0x38fc12=_0x321e94;this[_0x38fc12(0x1a0)][_0x38fc12(0x19f)]=_0x38fc12(0x1a6);},0x7d0);}),this[_0x235f06(0x1a0)][_0x235f06(0x195)][_0x235f06(0x1a1)](_0x4dcf01);}[_0x2e9402(0x1b3)](_0x218d49){const _0x2cc09e=_0x2e9402;this[_0x2cc09e(0x1aa)]=new _0x3faae2(this[_0x2cc09e(0x1b8)]),this[_0x2cc09e(0x1aa)][_0x2cc09e(0x1ab)]({'icon':_0x4006da,'label':_0x200ffc(this[_0x2cc09e(0x1b8)],_0x2cc09e(0x1c3)),'withText':_0x2cc09e(0x197)==this[_0x2cc09e(0x1c7)][_0x2cc09e(0x19b)],'tooltip':_0x2cc09e(0x197)!=this[_0x2cc09e(0x1c7)][_0x2cc09e(0x19b)],'isOn':_0x218d49}),this[_0x2cc09e(0x1aa)][_0x2cc09e(0x1b7)](_0x2cc09e(0x1af))['to'](this,_0x2cc09e(0x1bd),_0x34113d=>!_0x34113d),this[_0x2cc09e(0x1aa)]['on'](_0x2cc09e(0x1b9),()=>{const _0xcdbbb2=_0x2cc09e,_0x2d9bac=!this[_0xcdbbb2(0x1aa)][_0xcdbbb2(0x1bf)];this[_0xcdbbb2(0x1aa)][_0xcdbbb2(0x1ab)]({'isOn':_0x2d9bac,'icon':_0x2d9bac?_0x4f07e1:_0x4006da}),this[_0xcdbbb2(0x196)](_0xcdbbb2(0x19d),_0x2d9bac);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b0ba1=_0x3d7e;(function(_0x2158b6,_0x47c0f1){const _0xb23a2d=_0x3d7e,_0x90f535=_0x2158b6();while(!![]){try{const _0x558354=-parseInt(_0xb23a2d(0x80))/0x1+-parseInt(_0xb23a2d(0x9e))/0x2*(-parseInt(_0xb23a2d(0x7f))/0x3)+parseInt(_0xb23a2d(0x8c))/0x4+parseInt(_0xb23a2d(0x92))/0x5*(parseInt(_0xb23a2d(0x9f))/0x6)+parseInt(_0xb23a2d(0x84))/0x7+parseInt(_0xb23a2d(0x87))/0x8+-parseInt(_0xb23a2d(0xa5))/0x9;if(_0x558354===_0x47c0f1)break;else _0x90f535['push'](_0x90f535['shift']());}catch(_0x379c19){_0x90f535['push'](_0x90f535['shift']());}}}(_0x4069,0x46834));import{View as _0x1dbe87}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x3cbaf5}from'./aisuggestioncontentpartview.js';function _0x4069(){const _0x55a310=['3344984QxbMlx','hasPendingParts','filter','first','set','2073048tpQmVi','updatePartState','some','createCollection','ck-ai-suggestion__body__content-parts','setContent','293480JObLFJ','index','partsCount','locale','toggleHeader','find','AI_SUGGESTION_EMPTY_PART_WARNING','_showUnchangedParts','_cachedContentParts','warning','getPartView','abort','1030qpeYwK','18twmYqo','ck-ai-suggestion__body','updateContent','hasChanges','push','markAsDone','9247194YSCVrY','forEach','isVisible','_areActionsDisabled','delegate','AI_SUGGESTION_NO_PARTS_WARNING','add','queueEmptyPromise','_emptyPartsWarningView','state','updateContentParts','length','empty-parts-warning','setTemplate','_updateContentPartsPromiseQueue','div','_availableActions','addEventListener','partDefinition','from','33QCaedG','149556zSZtMg','_children','findIndex','hasNonEmptyParts','2433928aVFytm','pending','enqueue'];_0x4069=function(){return _0x55a310;};return _0x4069();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x190ada}from'../../utils/eventnames.js';import{PromiseQueue as _0x3eac8b}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x368eb0}from'../../../aichat/ui/feed/aichatfeederroritemview.js';function _0x3d7e(_0x25bc08,_0x1cfe96){const _0x406951=_0x4069();return _0x3d7e=function(_0x3d7ea6,_0x45e5a3){_0x3d7ea6=_0x3d7ea6-0x70;let _0x561bc5=_0x406951[_0x3d7ea6];return _0x561bc5;},_0x3d7e(_0x25bc08,_0x1cfe96);}import{getTranslation as _0x2106ff}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x1dbe87{[_0x1b0ba1(0x81)];[_0x1b0ba1(0xa8)];[_0x1b0ba1(0x99)];[_0x1b0ba1(0x79)];[_0x1b0ba1(0x73)];[_0x1b0ba1(0x7b)];[_0x1b0ba1(0x9a)]=[];constructor(_0x37b06e,_0x3d413f){const _0x3fa3c1=_0x1b0ba1;super(_0x37b06e);const {areActionsDisabled:_0x5eb8c9,showUnchangedParts:_0x29530c,availableActions:_0x4b2b4a}=_0x3d413f;this[_0x3fa3c1(0xa8)]=_0x5eb8c9,this[_0x3fa3c1(0x99)]=_0x29530c,this[_0x3fa3c1(0x7b)]=_0x4b2b4a,this[_0x3fa3c1(0x8b)](_0x3fa3c1(0x88),!0x1),this[_0x3fa3c1(0x81)]=this[_0x3fa3c1(0x8f)](),this[_0x3fa3c1(0x79)]=new _0x3eac8b(),this[_0x3fa3c1(0x73)]=new _0x368eb0({'id':_0x3fa3c1(0x77),'initialContent':_0x2106ff(_0x37b06e,_0x3fa3c1(0x98)),'level':_0x3fa3c1(0x9b)}),this[_0x3fa3c1(0x73)][_0x3fa3c1(0xa7)]=!0x1,this[_0x3fa3c1(0x78)]({'tag':_0x3fa3c1(0x7a),'attributes':{'class':['ck',_0x3fa3c1(0xa0)]},'children':[{'tag':_0x3fa3c1(0x7a),'attributes':{'class':['ck',_0x3fa3c1(0x90)]},'children':this[_0x3fa3c1(0x81)]},this[_0x3fa3c1(0x73)]]});}get[_0x1b0ba1(0x94)](){const _0x1d6505=_0x1b0ba1;return this[_0x1d6505(0x81)][_0x1d6505(0x76)];}async[_0x1b0ba1(0x75)]({parts:_0xcbc92a,renderingStrategy:_0xe7b1f0,abortSignal:_0x312651}){const _0x3b72f9=_0x1b0ba1;this[_0x3b72f9(0x81)][_0x3b72f9(0x76)]?_0xcbc92a[_0x3b72f9(0xa6)](_0x546b1d=>{const _0x4b432b=_0x3b72f9,_0x3e1e02=this[_0x4b432b(0x9a)][_0x4b432b(0x82)](_0x5a8756=>_0x5a8756[_0x4b432b(0x93)]==_0x546b1d[_0x4b432b(0x93)]);-0x1===_0x3e1e02?this[_0x4b432b(0x9a)][_0x4b432b(0xa3)](_0x546b1d):this[_0x4b432b(0x9a)][_0x3e1e02]=_0x546b1d;}):this[_0x3b72f9(0x9a)]=_0xcbc92a;for(const _0x4d8ccc of _0xcbc92a[_0x3b72f9(0x89)](_0x54b20c=>_0x54b20c[_0x3b72f9(0xa2)]))this[_0x3b72f9(0x79)][_0x3b72f9(0x86)](async _0x34e7ac=>{const _0x4aa231=_0x3b72f9;let _0x5cb955=this[_0x4aa231(0x9c)](_0x4d8ccc[_0x4aa231(0x93)]);_0x5cb955||(_0x5cb955=new _0x3cbaf5(this[_0x4aa231(0x95)],{'part':_0x4d8ccc,'uiIndex':this[_0x4aa231(0x81)][_0x4aa231(0x76)]+0x1,'areActionsDisabled':this[_0x4aa231(0xa8)],'availableActions':this[_0x4aa231(0x7b)]}),_0x5cb955[_0x4aa231(0xa9)](..._0x190ada)['to'](this),this[_0x4aa231(0x81)][_0x4aa231(0x71)](_0x5cb955),this[_0x4aa231(0x88)]=!0x0),0x2===this[_0x4aa231(0x81)][_0x4aa231(0x76)]&&this[_0x4aa231(0x81)][_0x4aa231(0x8a)][_0x4aa231(0x96)](!0x0),_0x5cb955[_0x4aa231(0x96)](this[_0x4aa231(0x81)][_0x4aa231(0x76)]>0x1),await _0x5cb955[_0x4aa231(0xa1)]({'part':_0x4d8ccc,'renderingStrategy':_0xe7b1f0,'showUnchangedParts':this[_0x4aa231(0x99)],'abortSignal':_0x34e7ac});});return _0x312651?.[_0x3b72f9(0x7c)](_0x3b72f9(0x9d),()=>{const _0x3d7159=_0x3b72f9;this[_0x3d7159(0x79)][_0x3d7159(0x9d)]();}),this[_0x3b72f9(0x79)][_0x3b72f9(0x72)];}[_0x1b0ba1(0x8d)](_0x34abd1,_0x29f75a){const _0x192464=_0x1b0ba1,_0x5148d1=this[_0x192464(0x9c)](_0x34abd1);_0x5148d1&&(_0x5148d1[_0x192464(0x74)]=_0x29f75a),this[_0x192464(0x88)]=_0x192464(0x85)==_0x29f75a||Array[_0x192464(0x7e)](this[_0x192464(0x81)])[_0x192464(0x8e)](_0x2f3e07=>_0x192464(0x85)==_0x2f3e07[_0x192464(0x74)]);}[_0x1b0ba1(0x9c)](_0x14a656){const _0x460421=_0x1b0ba1;return this[_0x460421(0x81)][_0x460421(0x97)](_0x3e8a94=>_0x3e8a94[_0x460421(0x7d)][_0x460421(0x93)]==_0x14a656)??null;}[_0x1b0ba1(0xa4)](){const _0x272628=_0x1b0ba1;if(!this[_0x272628(0x99)]){const _0x53a87e=!this[_0x272628(0x9a)][_0x272628(0x97)](({hasChanges:_0x238476})=>_0x238476),_0x563fe9=!!this[_0x272628(0x9a)][_0x272628(0x97)](({hasChanges:_0x1c5895})=>!_0x1c5895);this[_0x272628(0x73)][_0x272628(0xa7)]=0x0==this[_0x272628(0x81)][_0x272628(0x76)]||_0x563fe9,_0x53a87e?this[_0x272628(0x73)][_0x272628(0x91)](_0x2106ff(this[_0x272628(0x95)],_0x272628(0x70))):this[_0x272628(0x73)][_0x272628(0x91)](_0x2106ff(this[_0x272628(0x95)],_0x272628(0x98)));}}get[_0x1b0ba1(0x83)](){const _0x24993b=_0x1b0ba1;return!!this[_0x24993b(0x81)][_0x24993b(0x97)](_0x51d73a=>_0x51d73a[_0x24993b(0x7d)][_0x24993b(0xa2)]);}}
23
+ const _0x24b22a=_0x2b76;(function(_0x496035,_0x17dc75){const _0x427576=_0x2b76,_0xc418a2=_0x496035();while(!![]){try{const _0x253a6f=-parseInt(_0x427576(0x158))/0x1+parseInt(_0x427576(0x159))/0x2*(parseInt(_0x427576(0x145))/0x3)+-parseInt(_0x427576(0x14f))/0x4+parseInt(_0x427576(0x13b))/0x5+-parseInt(_0x427576(0x13f))/0x6+-parseInt(_0x427576(0x153))/0x7+parseInt(_0x427576(0x140))/0x8*(parseInt(_0x427576(0x14c))/0x9);if(_0x253a6f===_0x17dc75)break;else _0xc418a2['push'](_0xc418a2['shift']());}catch(_0x393f66){_0xc418a2['push'](_0xc418a2['shift']());}}}(_0x1665,0x8ad1e));import{View as _0xb0e286}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x2ba2b6}from'./aisuggestioncontentpartview.js';function _0x1665(){const _0x508b70=['_showUnchangedParts','115301JKGaUY','6RNMNBg','getPartView','queueEmptyPromise','findIndex','addEventListener','hasChanges','ck-ai-suggestion__body__content-parts','_availableActions','set','setTemplate','find','abort','enqueue','warning','createCollection','some','toggleHeader','from','markAsDone','delegate','_emptyPartsWarningView','locale','setContent','ck-ai-suggestion__body','AI_SUGGESTION_NO_PARTS_WARNING','partDefinition','add','first','2411890eYnWab','isVisible','updatePartState','index','6418188ZbroBB','139864lzvEJo','forEach','partsCount','_cachedContentParts','empty-parts-warning','419388olKAPw','hasPendingParts','pending','AI_SUGGESTION_EMPTY_PART_WARNING','length','_areActionsDisabled','updateContentParts','1062FWhizk','_children','updateContent','1958672PulxQh','state','push','hasNonEmptyParts','5050409NQJKcG','div','filter','_updateContentPartsPromiseQueue'];_0x1665=function(){return _0x508b70;};return _0x1665();}function _0x2b76(_0x5b6a97,_0x361fc6){const _0x16657a=_0x1665();return _0x2b76=function(_0x2b7660,_0x24b6c4){_0x2b7660=_0x2b7660-0x12b;let _0x21506a=_0x16657a[_0x2b7660];return _0x21506a;},_0x2b76(_0x5b6a97,_0x361fc6);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x33fe51}from'../../utils/eventnames.js';import{PromiseQueue as _0x286ca6}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x20e02f}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x29f1a1}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0xb0e286{[_0x24b22a(0x14d)];[_0x24b22a(0x14a)];[_0x24b22a(0x157)];[_0x24b22a(0x156)];[_0x24b22a(0x133)];[_0x24b22a(0x160)];[_0x24b22a(0x143)]=[];constructor(_0x2ebc59,_0x143ce3){const _0x26e7ad=_0x24b22a;super(_0x2ebc59);const {areActionsDisabled:_0x23fd6f,showUnchangedParts:_0x109777,availableActions:_0x18f7a7}=_0x143ce3;this[_0x26e7ad(0x14a)]=_0x23fd6f,this[_0x26e7ad(0x157)]=_0x109777,this[_0x26e7ad(0x160)]=_0x18f7a7,this[_0x26e7ad(0x161)](_0x26e7ad(0x146),!0x1),this[_0x26e7ad(0x14d)]=this[_0x26e7ad(0x12d)](),this[_0x26e7ad(0x156)]=new _0x286ca6(),this[_0x26e7ad(0x133)]=new _0x20e02f({'id':_0x26e7ad(0x144),'initialContent':_0x29f1a1(_0x2ebc59,_0x26e7ad(0x148)),'level':_0x26e7ad(0x12c)}),this[_0x26e7ad(0x133)][_0x26e7ad(0x13c)]=!0x1,this[_0x26e7ad(0x162)]({'tag':_0x26e7ad(0x154),'attributes':{'class':['ck',_0x26e7ad(0x136)]},'children':[{'tag':_0x26e7ad(0x154),'attributes':{'class':['ck',_0x26e7ad(0x15f)]},'children':this[_0x26e7ad(0x14d)]},this[_0x26e7ad(0x133)]]});}get[_0x24b22a(0x142)](){const _0x36d459=_0x24b22a;return this[_0x36d459(0x14d)][_0x36d459(0x149)];}async[_0x24b22a(0x14b)]({parts:_0x35c405,renderingStrategy:_0x5c33b8,abortSignal:_0x5e9559}){const _0xb51542=_0x24b22a;this[_0xb51542(0x14d)][_0xb51542(0x149)]?_0x35c405[_0xb51542(0x141)](_0x2f6ceb=>{const _0x3d48da=_0xb51542,_0xd5b4da=this[_0x3d48da(0x143)][_0x3d48da(0x15c)](_0x5adca7=>_0x5adca7[_0x3d48da(0x13e)]==_0x2f6ceb[_0x3d48da(0x13e)]);-0x1===_0xd5b4da?this[_0x3d48da(0x143)][_0x3d48da(0x151)](_0x2f6ceb):this[_0x3d48da(0x143)][_0xd5b4da]=_0x2f6ceb;}):this[_0xb51542(0x143)]=_0x35c405;for(const _0x366223 of _0x35c405[_0xb51542(0x155)](_0x753cb5=>_0x753cb5[_0xb51542(0x15e)]))this[_0xb51542(0x156)][_0xb51542(0x12b)](async _0x4e774e=>{const _0x187a79=_0xb51542;let _0x592c75=this[_0x187a79(0x15a)](_0x366223[_0x187a79(0x13e)]);_0x592c75||(_0x592c75=new _0x2ba2b6(this[_0x187a79(0x134)],{'part':_0x366223,'uiIndex':this[_0x187a79(0x14d)][_0x187a79(0x149)]+0x1,'areActionsDisabled':this[_0x187a79(0x14a)],'availableActions':this[_0x187a79(0x160)]}),_0x592c75[_0x187a79(0x132)](..._0x33fe51)['to'](this),this[_0x187a79(0x14d)][_0x187a79(0x139)](_0x592c75),this[_0x187a79(0x146)]=!0x0),0x2===this[_0x187a79(0x14d)][_0x187a79(0x149)]&&this[_0x187a79(0x14d)][_0x187a79(0x13a)][_0x187a79(0x12f)](!0x0),_0x592c75[_0x187a79(0x12f)](this[_0x187a79(0x14d)][_0x187a79(0x149)]>0x1),await _0x592c75[_0x187a79(0x14e)]({'part':_0x366223,'renderingStrategy':_0x5c33b8,'showUnchangedParts':this[_0x187a79(0x157)],'abortSignal':_0x4e774e});});return _0x5e9559?.[_0xb51542(0x15d)](_0xb51542(0x164),()=>{const _0x3997d7=_0xb51542;this[_0x3997d7(0x156)][_0x3997d7(0x164)]();}),this[_0xb51542(0x156)][_0xb51542(0x15b)];}[_0x24b22a(0x13d)](_0x2ff68f,_0x4e6aa8){const _0x5d2b80=_0x24b22a,_0x478743=this[_0x5d2b80(0x15a)](_0x2ff68f);_0x478743&&(_0x478743[_0x5d2b80(0x150)]=_0x4e6aa8),this[_0x5d2b80(0x146)]=_0x5d2b80(0x147)==_0x4e6aa8||Array[_0x5d2b80(0x130)](this[_0x5d2b80(0x14d)])[_0x5d2b80(0x12e)](_0x4d3fc4=>_0x5d2b80(0x147)==_0x4d3fc4[_0x5d2b80(0x150)]);}[_0x24b22a(0x15a)](_0x2fcc77){const _0x37a122=_0x24b22a;return this[_0x37a122(0x14d)][_0x37a122(0x163)](_0x3129bf=>_0x3129bf[_0x37a122(0x138)][_0x37a122(0x13e)]==_0x2fcc77)??null;}[_0x24b22a(0x131)](){const _0x24cac8=_0x24b22a;if(!this[_0x24cac8(0x157)]){const _0x386a8d=!this[_0x24cac8(0x143)][_0x24cac8(0x163)](({hasChanges:_0x249e5d})=>_0x249e5d),_0x150abd=!!this[_0x24cac8(0x143)][_0x24cac8(0x163)](({hasChanges:_0x49d9f9})=>!_0x49d9f9);this[_0x24cac8(0x133)][_0x24cac8(0x13c)]=0x0==this[_0x24cac8(0x14d)][_0x24cac8(0x149)]||_0x150abd,_0x386a8d?this[_0x24cac8(0x133)][_0x24cac8(0x135)](_0x29f1a1(this[_0x24cac8(0x134)],_0x24cac8(0x137))):this[_0x24cac8(0x133)][_0x24cac8(0x135)](_0x29f1a1(this[_0x24cac8(0x134)],_0x24cac8(0x148)));}}get[_0x24b22a(0x152)](){const _0x56a6b7=_0x24b22a;return!!this[_0x56a6b7(0x14d)][_0x56a6b7(0x163)](_0x1ff972=>_0x1ff972[_0x56a6b7(0x138)][_0x56a6b7(0x15e)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9050c6=_0x27e8;(function(_0x20b0b,_0x1e6976){const _0x2f5ac3=_0x27e8,_0x2fc029=_0x20b0b();while(!![]){try{const _0x3e0c16=parseInt(_0x2f5ac3(0x1c5))/0x1*(-parseInt(_0x2f5ac3(0x1fe))/0x2)+-parseInt(_0x2f5ac3(0x1f2))/0x3+-parseInt(_0x2f5ac3(0x1cc))/0x4+parseInt(_0x2f5ac3(0x1ec))/0x5*(-parseInt(_0x2f5ac3(0x1d3))/0x6)+parseInt(_0x2f5ac3(0x213))/0x7+parseInt(_0x2f5ac3(0x1f5))/0x8*(parseInt(_0x2f5ac3(0x1f8))/0x9)+parseInt(_0x2f5ac3(0x1eb))/0xa;if(_0x3e0c16===_0x1e6976)break;else _0x2fc029['push'](_0x2fc029['shift']());}catch(_0x204545){_0x2fc029['push'](_0x2fc029['shift']());}}}(_0xe8bc,0xecf8f));import{IconWeb as _0x22dc5d}from'@ckeditor/ckeditor5-icons';import{View as _0x47bbbc,ButtonView as _0x29fb89,IconView as _0x50a867,BalloonPanelView as _0x4f5cb8}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x4a8022}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x272fff}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x925fae}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x45f07e}from'../../utils/eventnames.js';import{AISpinnerView as _0x20e533}from'../aispinner.js';import{getTranslation as _0x4562c0}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x47bbbc{[_0x9050c6(0x21c)];[_0x9050c6(0x1c9)];[_0x9050c6(0x222)];[_0x9050c6(0x1d7)];[_0x9050c6(0x1db)];[_0x9050c6(0x1fd)];[_0x9050c6(0x202)];[_0x9050c6(0x1bb)];constructor(_0x412c3e,_0x495913,_0xe94232){const _0x15d9e1=_0x9050c6;super(_0x412c3e),this[_0x15d9e1(0x1bb)]=_0xe94232;const {showDiff:_0x49a8d6,areActionsDisabled:_0x59283c,miniToolbarConfig:_0x596a73,hideHeader:_0x598902,showLoader:_0x51cc34,showUnchangedParts:_0xc8357b,availableActions:_0x2039ed}=_0x495913;this[_0x15d9e1(0x21e)](_0x15d9e1(0x1d8),!0x1),this[_0x15d9e1(0x21e)](_0x15d9e1(0x219),!!_0x51cc34),this[_0x15d9e1(0x21e)](_0x15d9e1(0x207),!0x1),this[_0x15d9e1(0x21e)](_0x15d9e1(0x1dd),!0x1),this[_0x15d9e1(0x222)]=this[_0x15d9e1(0x21d)](),_0x598902||(this[_0x15d9e1(0x1d7)]=new _0x272fff(_0x412c3e,{'showDiff':_0x49a8d6}),this[_0x15d9e1(0x1d7)]['on'](_0x15d9e1(0x1ef),(_0x2e62c7,_0x3547bb)=>{const _0x30d6a8=_0x15d9e1;this[_0x30d6a8(0x1d8)]=_0x3547bb[_0x30d6a8(0x1dc)],this[_0x30d6a8(0x1e4)](_0x30d6a8(0x1e2),{'showDiff':_0x3547bb[_0x30d6a8(0x1dc)]});}),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x1d7)])),this[_0x15d9e1(0x21c)]=new _0x925fae(_0x412c3e,{'areActionsDisabled':_0x59283c,'showUnchangedParts':!!_0xc8357b,'availableActions':_0x2039ed}),this[_0x15d9e1(0x21c)][_0x15d9e1(0x1f0)](..._0x45f07e)['to'](this),this[_0x15d9e1(0x21c)][_0x15d9e1(0x1c7)]({'attributes':{'class':[this[_0x15d9e1(0x212)]['if'](_0x15d9e1(0x219),_0x15d9e1(0x1e7)),this[_0x15d9e1(0x212)]['if'](_0x15d9e1(0x207),_0x15d9e1(0x1e7))]}}),this[_0x15d9e1(0x1c9)]=new _0x4a8022(_0x412c3e,_0x596a73,_0x49a8d6),this[_0x15d9e1(0x1c9)][_0x15d9e1(0x1f0)](..._0x45f07e)['to'](this),this[_0x15d9e1(0x1c9)]['on'](_0x15d9e1(0x1ef),(_0x1f5304,_0x4cea0b)=>{const _0x3b1b06=_0x15d9e1;this[_0x3b1b06(0x1d8)]=_0x4cea0b,this[_0x3b1b06(0x1e4)](_0x3b1b06(0x1e2),{'showDiff':_0x4cea0b});}),this[_0x15d9e1(0x1c9)][_0x15d9e1(0x1de)](_0x15d9e1(0x1dd))['to'](this),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x21c)]),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x1c9)]),this[_0x15d9e1(0x202)]=new AIWebSourcesView(this[_0x15d9e1(0x1b8)],this[_0x15d9e1(0x1bb)]),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x202)]),_0x51cc34&&(this[_0x15d9e1(0x1db)]=this[_0x15d9e1(0x1d9)](),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x1db)])),this[_0x15d9e1(0x1fd)]=this[_0x15d9e1(0x1ca)](),this[_0x15d9e1(0x222)][_0x15d9e1(0x1f9)](this[_0x15d9e1(0x1fd)]),this[_0x15d9e1(0x20b)]({'tag':_0x15d9e1(0x21b),'attributes':{'class':['ck',_0x15d9e1(0x1c0),_0x15d9e1(0x1b6)]},'children':this[_0x15d9e1(0x222)]});}async[_0x9050c6(0x220)](_0x52e2ae){const _0x3f31cc=_0x9050c6;await this[_0x3f31cc(0x21c)][_0x3f31cc(0x1e3)](_0x52e2ae);}[_0x9050c6(0x20e)](_0x824f7a){const _0x4d83b8=_0x9050c6,_0x444ec7=this[_0x4d83b8(0x202)],_0x12f19c=_0x444ec7[_0x4d83b8(0x1d0)];_0x444ec7[_0x4d83b8(0x222)][_0x4d83b8(0x20a)](_0x824f7a[_0x4d83b8(0x1e8)](_0x3f902e=>new AIWebSourceView(this[_0x4d83b8(0x1b8)],_0x3f902e,_0x12f19c))),_0x444ec7[_0x4d83b8(0x1b1)]=!0x0;}[_0x9050c6(0x1ed)](){const _0x2f6e82=_0x9050c6;this[_0x2f6e82(0x1db)]&&(this[_0x2f6e82(0x219)]=!0x0);}[_0x9050c6(0x1f4)](){const _0x360822=_0x9050c6;this[_0x360822(0x1db)]&&(this[_0x360822(0x219)]=!0x1);}[_0x9050c6(0x1cd)](_0x30fd6e){const _0x480249=_0x9050c6;if(this[_0x480249(0x1fd)]){const _0x509984=this[_0x480249(0x1fd)][_0x480249(0x206)]?.[_0x480249(0x1c2)](_0x480249(0x218));_0x509984&&(_0x509984[_0x480249(0x1fa)]=_0x30fd6e),this[_0x480249(0x207)]=!0x0;}}[_0x9050c6(0x1c8)](){const _0x23a6c0=_0x9050c6;this[_0x23a6c0(0x1fd)]&&(this[_0x23a6c0(0x207)]=!0x1);}[_0x9050c6(0x1e5)](){const _0x4a0786=_0x9050c6;this[_0x4a0786(0x21c)][_0x4a0786(0x1e5)](),this[_0x4a0786(0x1d7)]&&(this[_0x4a0786(0x1d7)][_0x4a0786(0x204)]=this[_0x4a0786(0x21c)][_0x4a0786(0x1bc)]);}[_0x9050c6(0x21a)](){const _0x4f14cb=_0x9050c6;this[_0x4f14cb(0x1dd)]=!0x0;}[_0x9050c6(0x216)](){const _0x57a5cf=_0x9050c6;this[_0x57a5cf(0x1dd)]=!0x1;}[_0x9050c6(0x211)](){const _0x29efde=_0x9050c6;this[_0x29efde(0x1c9)]&&(this[_0x29efde(0x1c9)][_0x29efde(0x1dd)]=!0x0),this[_0x29efde(0x1d7)]?.[_0x29efde(0x1cb)]&&(this[_0x29efde(0x1d7)][_0x29efde(0x1cb)][_0x29efde(0x1be)]=!0x1);}[_0x9050c6(0x1c3)](){const _0x996f53=_0x9050c6;this[_0x996f53(0x1c9)]&&(this[_0x996f53(0x1c9)][_0x996f53(0x1dd)]=!0x1),this[_0x996f53(0x1d7)]?.[_0x996f53(0x1cb)]&&(this[_0x996f53(0x1d7)][_0x996f53(0x1cb)][_0x996f53(0x1be)]=!0x0);}[_0x9050c6(0x1fb)](_0xb883b3){const _0x505809=_0x9050c6;this[_0x505809(0x1c9)][_0x505809(0x1b5)][_0x505809(0x1f9)](_0xb883b3);}[_0x9050c6(0x209)](_0x29ca35){const _0x194ceb=_0x9050c6;this[_0x194ceb(0x1c9)][_0x194ceb(0x1b5)][_0x194ceb(0x1b3)](_0x29ca35);}[_0x9050c6(0x1d9)](){const _0x2c51cc=_0x9050c6,_0x4ae1a1=new _0x47bbbc(this[_0x2c51cc(0x1b8)]),_0x34b7c8=new _0x20e533(_0x2c51cc(0x210));_0x34b7c8[_0x2c51cc(0x1b1)]=!0x0;const _0x20390d=new _0x47bbbc(this[_0x2c51cc(0x1b8)]);return _0x20390d[_0x2c51cc(0x20b)]({'tag':_0x2c51cc(0x1af),'attributes':{'class':['ck',_0x2c51cc(0x1cf)]},'children':[_0x4562c0(this[_0x2c51cc(0x1b8)],_0x2c51cc(0x1d2))]}),_0x4ae1a1[_0x2c51cc(0x20b)]({'tag':_0x2c51cc(0x21b),'attributes':{'class':['ck',_0x2c51cc(0x1d5),this[_0x2c51cc(0x212)]['if'](_0x2c51cc(0x219),_0x2c51cc(0x1e7),_0x4df2c0=>!_0x4df2c0)]},'children':[_0x34b7c8,_0x20390d]}),_0x4ae1a1;}[_0x9050c6(0x1ca)](){const _0x2a09ea=_0x9050c6,_0x33abd0=new _0x47bbbc(this[_0x2a09ea(0x1b8)]),_0x2bf280=new _0x47bbbc(this[_0x2a09ea(0x1b8)]);return _0x2bf280[_0x2a09ea(0x20b)]({'tag':_0x2a09ea(0x1af),'attributes':{'class':['ck',_0x2a09ea(0x1f3)]},'children':[_0x4562c0(this[_0x2a09ea(0x1b8)],_0x2a09ea(0x1f1))]}),_0x33abd0[_0x2a09ea(0x20b)]({'tag':_0x2a09ea(0x21b),'attributes':{'class':['ck',_0x2a09ea(0x1ff),this[_0x2a09ea(0x212)]['if'](_0x2a09ea(0x207),_0x2a09ea(0x1e7),_0x47e3ba=>!_0x47e3ba)]},'children':[_0x2bf280]}),_0x33abd0;}}function _0xe8bc(){const _0x206929=['removeNavigationItem','addMany','setTemplate','pin','ck-ai-web-source__tooltip-url','updateSources','defaultPositions','small','setErrorState','bindTemplate','8002029VtmXxp','_updateTooltipContent','bodyCollection','clearLoading','northArrowSouthWest','.ck-ai-suggestion__error-text','isLoaderVisible','setLoading','div','bodyView','createCollection','set','northArrowSouthEast','updateContent','.ck-ai-chat','children','url','hostname','title','span','show','isVisible','...','remove','hide','items','ck-rounded-corners','_createTooltipContentView','locale','_showTooltip','ck-ai-web-source__tooltip','_bodyCollection','hasNonEmptyParts','_blank','isEnabled','get','ck-ai-suggestion__container','AI_CHAT_SOURCES_HEADER','querySelector','clearErrorState','substring','3TUnWIn','_hideTooltip','extendTemplate','hideError','miniToolbarView','_createErrorView','showChangesToggleView','6344372qxxTZs','showError','northArrowSouth','ck-ai-suggestion__loader-text','balloonPanelView','_setupBalloonPanel','AI_CHAT_IS_WRITING','5450292XWscau','ck-ai-web-source__tooltip-balloon','ck-ai-suggestion__loader','clear','headerView','areChangesVisible','_createLoaderView','open','loaderView','isOn','isLoading','bind','ck-ai-web-source__tooltip-title','img','length','toggleSuggestionDisplayMode','updateContentParts','fire','markAsDone','push','ck-hidden','map','ck\x20ck-ai-web-source','favicon','31638200JCBcFI','10BoNITw','showLoader','ck-ai-web-sources__header','toggleShowChanges','delegate','AI_CHAT_GENERIC_ERROR','1130055OSaGcR','ck-ai-suggestion__error-text','hideLoader','302984hoFqrh','ck-ai-web-source__tooltip-row','content','405jaFFfd','add','textContent','addNavigationItem','ck-ai-web-source__tooltip-image','errorView','840714UkucpI','ck-ai-suggestion__error','ck-ai-web-sources','destroy','sourcesView','source','isShowChangesToggleVisible','icon','element','isErrorVisible','ck-ai-web-source__image'];_0xe8bc=function(){return _0x206929;};return _0xe8bc();}function _0x27e8(_0x222d26,_0x5ea78b){const _0xe8bcee=_0xe8bc();return _0x27e8=function(_0x27e826,_0x7686a1){_0x27e826=_0x27e826-0x1af;let _0xd60951=_0xe8bcee[_0x27e826];return _0xd60951;},_0x27e8(_0x222d26,_0x5ea78b);}export class AIWebSourcesView extends _0x47bbbc{[_0x9050c6(0x222)];[_0x9050c6(0x1d0)];[_0x9050c6(0x215)];constructor(_0x47bbfb,_0x3e320d){const _0x3ef6d2=_0x9050c6;super(_0x47bbfb),this[_0x3ef6d2(0x215)]=_0x3e320d,this[_0x3ef6d2(0x222)]=this[_0x3ef6d2(0x21d)](),this[_0x3ef6d2(0x21e)](_0x3ef6d2(0x1b1),!0x1),this[_0x3ef6d2(0x20b)]({'tag':_0x3ef6d2(0x21b),'attributes':{'class':['ck',_0x3ef6d2(0x200),this[_0x3ef6d2(0x212)]['if'](_0x3ef6d2(0x1b1),_0x3ef6d2(0x1e7),_0x23b4a1=>!_0x23b4a1)]},'children':this[_0x3ef6d2(0x222)]});const _0x4ed7f5=new _0x47bbbc(this[_0x3ef6d2(0x1b8)]),_0x310559=new _0x50a867();_0x310559[_0x3ef6d2(0x1f7)]=_0x22dc5d,_0x4ed7f5[_0x3ef6d2(0x20b)]({'tag':_0x3ef6d2(0x21b),'attributes':{'class':['ck',_0x3ef6d2(0x1ee)]},'children':[_0x310559,{'tag':_0x3ef6d2(0x1af),'children':[{'text':_0x4562c0(this[_0x3ef6d2(0x1b8)],_0x3ef6d2(0x1c1))}]}]}),this[_0x3ef6d2(0x222)][_0x3ef6d2(0x1f9)](_0x4ed7f5),this[_0x3ef6d2(0x1d1)](_0x47bbfb);}[_0x9050c6(0x1d1)](_0x46a4e1){const _0x18dc41=_0x9050c6;this[_0x18dc41(0x1d0)]=new _0x4f5cb8(_0x46a4e1),this[_0x18dc41(0x1d0)][_0x18dc41(0x1c7)]({'attributes':{'class':[_0x18dc41(0x1d4)]}}),this[_0x18dc41(0x215)][_0x18dc41(0x1f9)](this[_0x18dc41(0x1d0)]);}}export class AIWebSourceView extends _0x29fb89{[_0x9050c6(0x1d0)];[_0x9050c6(0x203)];constructor(_0x3dd195,_0x1fee83,_0x35a3f5){const _0xff562f=_0x9050c6;super(_0x3dd195),this[_0xff562f(0x203)]=_0x1fee83,this[_0xff562f(0x1d0)]=_0x35a3f5,this[_0xff562f(0x21e)]({'label':_0x1fee83[_0xff562f(0x225)],'class':[_0xff562f(0x1e9)],'withText':!0x0});const _0x3cbe0e=this[_0xff562f(0x212)];if(this[_0xff562f(0x1c7)]({'on':{'click':_0x3cbe0e['to'](()=>{const _0x5326b0=_0xff562f;window[_0x5326b0(0x1da)](_0x1fee83[_0x5326b0(0x223)],_0x5326b0(0x1bd));}),'mouseenter':_0x3cbe0e['to'](()=>{const _0x87d03e=_0xff562f;this[_0x87d03e(0x1b9)]();}),'mouseleave':_0x3cbe0e['to'](()=>{const _0x4ac073=_0xff562f;this[_0x4ac073(0x1c6)]();})}}),_0x1fee83[_0xff562f(0x1ea)]){const _0x4fabf2=new _0x47bbbc(_0x3dd195);_0x4fabf2[_0xff562f(0x20b)]({'tag':_0xff562f(0x1e0),'attributes':{'src':_0x1fee83[_0xff562f(0x1ea)]||_0x22dc5d,'alt':_0x1fee83[_0xff562f(0x225)],'class':[_0xff562f(0x208)]}}),this[_0xff562f(0x222)][_0xff562f(0x1f9)](_0x4fabf2);}else this[_0xff562f(0x21e)](_0xff562f(0x205),_0x22dc5d);}[_0x9050c6(0x1b7)](_0x3852eb,_0x31bac7){const _0x324eeb=_0x9050c6,_0x5cfc53=new _0x47bbbc(_0x3852eb),_0x5536b5=[];let _0x270509;_0x31bac7?.[_0x324eeb(0x1ea)]?(_0x270509=new _0x47bbbc(_0x3852eb),_0x270509[_0x324eeb(0x20b)]({'tag':_0x324eeb(0x1e0),'attributes':{'src':_0x31bac7[_0x324eeb(0x1ea)],'alt':_0x31bac7[_0x324eeb(0x225)],'class':[_0x324eeb(0x1fc)]}})):(_0x270509=new _0x50a867(),_0x270509[_0x324eeb(0x1f7)]=_0x22dc5d,_0x270509[_0x324eeb(0x1c7)]({'attributes':{'alt':_0x31bac7[_0x324eeb(0x225)],'class':[_0x324eeb(0x1fc)]}})),_0x5536b5[_0x324eeb(0x1e6)](_0x270509);const _0x4f8adb=new _0x47bbbc(_0x3852eb);_0x4f8adb[_0x324eeb(0x20b)]({'tag':'a','attributes':{'class':[_0x324eeb(0x20d)],'href':_0x31bac7[_0x324eeb(0x223)]},'children':[{'text':new URL(_0x31bac7[_0x324eeb(0x223)])?.[_0x324eeb(0x224)]}]}),_0x5536b5[_0x324eeb(0x1e6)](_0x4f8adb);const _0x47c24a=new _0x47bbbc(_0x3852eb);_0x47c24a[_0x324eeb(0x20b)]({'tag':_0x324eeb(0x21b),'attributes':{'class':[_0x324eeb(0x1f6)]},'children':_0x5536b5});const _0x1f5810=new _0x47bbbc(_0x3852eb);return _0x1f5810[_0x324eeb(0x20b)]({'tag':_0x324eeb(0x1af),'attributes':{'class':[_0x324eeb(0x1f6),_0x324eeb(0x1df)]},'children':[{'text':_0x31bac7[_0x324eeb(0x225)][_0x324eeb(0x1e1)]>0x190?_0x31bac7[_0x324eeb(0x225)][_0x324eeb(0x1c4)](0x0,0x190)+_0x324eeb(0x1b2):_0x31bac7[_0x324eeb(0x225)]}]}),_0x5cfc53[_0x324eeb(0x20b)]({'tag':_0x324eeb(0x21b),'attributes':{'class':['ck',_0x324eeb(0x1ba)]},'children':[_0x47c24a,_0x1f5810]}),_0x5cfc53;}[_0x9050c6(0x1b9)](){const _0x2b93bd=_0x9050c6;this[_0x2b93bd(0x214)](),this[_0x2b93bd(0x1d0)][_0x2b93bd(0x20c)]({'target':this[_0x2b93bd(0x206)],'positions':[_0x4f5cb8[_0x2b93bd(0x20f)][_0x2b93bd(0x1ce)],_0x4f5cb8[_0x2b93bd(0x20f)][_0x2b93bd(0x217)],_0x4f5cb8[_0x2b93bd(0x20f)][_0x2b93bd(0x21f)]],'limiter':document[_0x2b93bd(0x1c2)](_0x2b93bd(0x221))}),this[_0x2b93bd(0x1d0)][_0x2b93bd(0x1b0)]();}[_0x9050c6(0x1c6)](){const _0x20e43e=_0x9050c6;this[_0x20e43e(0x1d0)][_0x20e43e(0x1b4)]();}[_0x9050c6(0x214)](){const _0x2afef2=_0x9050c6;this[_0x2afef2(0x1d0)][_0x2afef2(0x1f7)][_0x2afef2(0x1bf)](0x0)?.[_0x2afef2(0x201)](),this[_0x2afef2(0x1d0)][_0x2afef2(0x1f7)][_0x2afef2(0x1d6)]();const _0x77eed3=this[_0x2afef2(0x1b7)](this[_0x2afef2(0x1b8)],this[_0x2afef2(0x203)]);this[_0x2afef2(0x1d0)][_0x2afef2(0x1f7)][_0x2afef2(0x1f9)](_0x77eed3);}}
23
+ const _0x2bd136=_0x5bd3;function _0x1211(){const _0x26c867=['defaultPositions','.ck-ai-chat','icon','querySelector','northArrowSouthEast','ck-ai-suggestion__container','hasNonEmptyParts','setTemplate','ck-ai-suggestion__error','hide','6033269TXqmMa','isShowChangesToggleVisible','url','ck-ai-web-source__tooltip-url','ck-ai-web-sources','title','2pokDjK','content','map','removeNavigationItem','isEnabled','ck-hidden','84TPfqqV','areChangesVisible','addNavigationItem','clearLoading','element','small','createCollection','addMany','substring','children','ck-ai-web-source__tooltip-image','delegate','ck-ai-web-source__tooltip-title','source','AI_CHAT_SOURCES_HEADER','destroy','isErrorVisible','_bodyCollection','span','clear','1313189Cplwjj','AI_CHAT_GENERIC_ERROR','div','sourcesView','northArrowSouth','isOn','hideLoader','_updateTooltipContent','open','_showTooltip','744dYJwRw','clearErrorState','AI_CHAT_IS_WRITING','.ck-ai-suggestion__error-text','toggleSuggestionDisplayMode','ck-ai-suggestion__loader','ck-ai-suggestion__loader-text','markAsDone','push','get','1640215cabWpN','_createTooltipContentView','updateContentParts','12132wfCAAp','36063SxcUNW','bodyView','showError','pin','_setupBalloonPanel','remove','setLoading','7147220HiSuhc','showLoader','fire','favicon','img','balloonPanelView','12DRDwlB','length','isLoaderVisible','...','errorView','ck-ai-web-sources__header','ck-ai-web-source__tooltip-row','northArrowSouthWest','isVisible','_createLoaderView','_createErrorView','setErrorState','246393BJgQyq','loaderView','updateSources','showChangesToggleView','ck-rounded-corners','add','headerView','isLoading','bindTemplate','_blank','939MEpIKq','miniToolbarView','extendTemplate','hostname','show','toggleShowChanges','bodyCollection','_hideTooltip','ck-ai-web-source__image','textContent','items','hideError','ck\x20ck-ai-web-source','locale','bind','updateContent','set','ck-ai-suggestion__error-text','ck-ai-web-source__tooltip-balloon','ck-ai-web-source__tooltip'];_0x1211=function(){return _0x26c867;};return _0x1211();}(function(_0x50ef8a,_0x34a1f4){const _0x109096=_0x5bd3,_0x413f7a=_0x50ef8a();while(!![]){try{const _0x25e846=-parseInt(_0x109096(0x1b9))/0x1*(parseInt(_0x109096(0x19f))/0x2)+-parseInt(_0x109096(0x1f4))/0x3*(-parseInt(_0x109096(0x1d0))/0x4)+parseInt(_0x109096(0x1cd))/0x5+parseInt(_0x109096(0x1a5))/0x6*(parseInt(_0x109096(0x1ea))/0x7)+parseInt(_0x109096(0x1c3))/0x8*(parseInt(_0x109096(0x1d1))/0x9)+-parseInt(_0x109096(0x1d8))/0xa+-parseInt(_0x109096(0x199))/0xb*(-parseInt(_0x109096(0x1de))/0xc);if(_0x25e846===_0x34a1f4)break;else _0x413f7a['push'](_0x413f7a['shift']());}catch(_0x3ce97e){_0x413f7a['push'](_0x413f7a['shift']());}}}(_0x1211,0xa1f51));import{IconWeb as _0x1d2dc8}from'@ckeditor/ckeditor5-icons';import{View as _0x49c3db,ButtonView as _0x32f137,IconView as _0x33aba6,BalloonPanelView as _0x342216}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0xc7580d}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x204e6e}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x5793ad}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x43504f}from'../../utils/eventnames.js';import{AISpinnerView as _0x2e0848}from'../aispinner.js';import{getTranslation as _0x251a5e}from'../../utils/common-translations.js';function _0x5bd3(_0x1b534a,_0x3e9a41){const _0x1211e1=_0x1211();return _0x5bd3=function(_0x5bd304,_0x25148b){_0x5bd304=_0x5bd304-0x198;let _0x449329=_0x1211e1[_0x5bd304];return _0x449329;},_0x5bd3(_0x1b534a,_0x3e9a41);}export class AISuggestionContainerView extends _0x49c3db{[_0x2bd136(0x1d2)];[_0x2bd136(0x1f5)];[_0x2bd136(0x1ae)];[_0x2bd136(0x1f0)];[_0x2bd136(0x1eb)];[_0x2bd136(0x1e2)];[_0x2bd136(0x1bc)];[_0x2bd136(0x1b6)];constructor(_0x31a50e,_0x589062,_0x9e2a60){const _0x5a111d=_0x2bd136;super(_0x31a50e),this[_0x5a111d(0x1b6)]=_0x9e2a60;const {showDiff:_0x4dbbd8,areActionsDisabled:_0x4731e0,miniToolbarConfig:_0xb5e3c2,hideHeader:_0x4ebe5e,showLoader:_0x1c6cff,showUnchangedParts:_0x4f8c3b,availableActions:_0x328594}=_0x589062;this[_0x5a111d(0x204)](_0x5a111d(0x1a6),!0x1),this[_0x5a111d(0x204)](_0x5a111d(0x1e0),!!_0x1c6cff),this[_0x5a111d(0x204)](_0x5a111d(0x1b5),!0x1),this[_0x5a111d(0x204)](_0x5a111d(0x1f1),!0x1),this[_0x5a111d(0x1ae)]=this[_0x5a111d(0x1ab)](),_0x4ebe5e||(this[_0x5a111d(0x1f0)]=new _0x204e6e(_0x31a50e,{'showDiff':_0x4dbbd8}),this[_0x5a111d(0x1f0)]['on'](_0x5a111d(0x1f9),(_0x4f214e,_0x389405)=>{const _0x2cd425=_0x5a111d;this[_0x2cd425(0x1a6)]=_0x389405[_0x2cd425(0x1be)],this[_0x2cd425(0x1da)](_0x2cd425(0x1c7),{'showDiff':_0x389405[_0x2cd425(0x1be)]});}),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1f0)])),this[_0x5a111d(0x1d2)]=new _0x5793ad(_0x31a50e,{'areActionsDisabled':_0x4731e0,'showUnchangedParts':!!_0x4f8c3b,'availableActions':_0x328594}),this[_0x5a111d(0x1d2)][_0x5a111d(0x1b0)](..._0x43504f)['to'](this),this[_0x5a111d(0x1d2)][_0x5a111d(0x1f6)]({'attributes':{'class':[this[_0x5a111d(0x1f2)]['if'](_0x5a111d(0x1e0),_0x5a111d(0x1a4)),this[_0x5a111d(0x1f2)]['if'](_0x5a111d(0x1b5),_0x5a111d(0x1a4))]}}),this[_0x5a111d(0x1f5)]=new _0xc7580d(_0x31a50e,_0xb5e3c2,_0x4dbbd8),this[_0x5a111d(0x1f5)][_0x5a111d(0x1b0)](..._0x43504f)['to'](this),this[_0x5a111d(0x1f5)]['on'](_0x5a111d(0x1f9),(_0x7b950e,_0x322a6e)=>{const _0x42e56b=_0x5a111d;this[_0x42e56b(0x1a6)]=_0x322a6e,this[_0x42e56b(0x1da)](_0x42e56b(0x1c7),{'showDiff':_0x322a6e});}),this[_0x5a111d(0x1f5)][_0x5a111d(0x202)](_0x5a111d(0x1f1))['to'](this),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1d2)]),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1f5)]),this[_0x5a111d(0x1bc)]=new AIWebSourcesView(this[_0x5a111d(0x201)],this[_0x5a111d(0x1b6)]),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1bc)]),_0x1c6cff&&(this[_0x5a111d(0x1eb)]=this[_0x5a111d(0x1e7)](),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1eb)])),this[_0x5a111d(0x1e2)]=this[_0x5a111d(0x1e8)](),this[_0x5a111d(0x1ae)][_0x5a111d(0x1ef)](this[_0x5a111d(0x1e2)]),this[_0x5a111d(0x20f)]({'tag':_0x5a111d(0x1bb),'attributes':{'class':['ck',_0x5a111d(0x20d),_0x5a111d(0x1ee)]},'children':this[_0x5a111d(0x1ae)]});}async[_0x2bd136(0x203)](_0x5db51f){const _0x375a08=_0x2bd136;await this[_0x375a08(0x1d2)][_0x375a08(0x1cf)](_0x5db51f);}[_0x2bd136(0x1ec)](_0x8dba3e){const _0x16c93e=_0x2bd136,_0x397160=this[_0x16c93e(0x1bc)],_0x2aec56=_0x397160[_0x16c93e(0x1dd)];_0x397160[_0x16c93e(0x1ae)][_0x16c93e(0x1ac)](_0x8dba3e[_0x16c93e(0x1a1)](_0x2dcdc9=>new AIWebSourceView(this[_0x16c93e(0x201)],_0x2dcdc9,_0x2aec56))),_0x397160[_0x16c93e(0x1e6)]=!0x0;}[_0x2bd136(0x1d9)](){const _0x55ff50=_0x2bd136;this[_0x55ff50(0x1eb)]&&(this[_0x55ff50(0x1e0)]=!0x0);}[_0x2bd136(0x1bf)](){const _0x1c8795=_0x2bd136;this[_0x1c8795(0x1eb)]&&(this[_0x1c8795(0x1e0)]=!0x1);}[_0x2bd136(0x1d3)](_0x4f8fea){const _0x1b60b4=_0x2bd136;if(this[_0x1b60b4(0x1e2)]){const _0x13744e=this[_0x1b60b4(0x1e2)][_0x1b60b4(0x1a9)]?.[_0x1b60b4(0x20b)](_0x1b60b4(0x1c6));_0x13744e&&(_0x13744e[_0x1b60b4(0x1fd)]=_0x4f8fea),this[_0x1b60b4(0x1b5)]=!0x0;}}[_0x2bd136(0x1ff)](){const _0x5b774a=_0x2bd136;this[_0x5b774a(0x1e2)]&&(this[_0x5b774a(0x1b5)]=!0x1);}[_0x2bd136(0x1ca)](){const _0x4f7078=_0x2bd136;this[_0x4f7078(0x1d2)][_0x4f7078(0x1ca)](),this[_0x4f7078(0x1f0)]&&(this[_0x4f7078(0x1f0)][_0x4f7078(0x19a)]=this[_0x4f7078(0x1d2)][_0x4f7078(0x20e)]);}[_0x2bd136(0x1d7)](){const _0x5c40f4=_0x2bd136;this[_0x5c40f4(0x1f1)]=!0x0;}[_0x2bd136(0x1a8)](){const _0x319ecc=_0x2bd136;this[_0x319ecc(0x1f1)]=!0x1;}[_0x2bd136(0x1e9)](){const _0x49a56d=_0x2bd136;this[_0x49a56d(0x1f5)]&&(this[_0x49a56d(0x1f5)][_0x49a56d(0x1f1)]=!0x0),this[_0x49a56d(0x1f0)]?.[_0x49a56d(0x1ed)]&&(this[_0x49a56d(0x1f0)][_0x49a56d(0x1ed)][_0x49a56d(0x1a3)]=!0x1);}[_0x2bd136(0x1c4)](){const _0x29510d=_0x2bd136;this[_0x29510d(0x1f5)]&&(this[_0x29510d(0x1f5)][_0x29510d(0x1f1)]=!0x1),this[_0x29510d(0x1f0)]?.[_0x29510d(0x1ed)]&&(this[_0x29510d(0x1f0)][_0x29510d(0x1ed)][_0x29510d(0x1a3)]=!0x0);}[_0x2bd136(0x1a7)](_0x62ada){const _0x3c1746=_0x2bd136;this[_0x3c1746(0x1f5)][_0x3c1746(0x1fe)][_0x3c1746(0x1ef)](_0x62ada);}[_0x2bd136(0x1a2)](_0x15201e){const _0x1f1be9=_0x2bd136;this[_0x1f1be9(0x1f5)][_0x1f1be9(0x1fe)][_0x1f1be9(0x1d6)](_0x15201e);}[_0x2bd136(0x1e7)](){const _0x5c0066=_0x2bd136,_0x5ebf69=new _0x49c3db(this[_0x5c0066(0x201)]),_0x187477=new _0x2e0848(_0x5c0066(0x1aa));_0x187477[_0x5c0066(0x1e6)]=!0x0;const _0x4755bd=new _0x49c3db(this[_0x5c0066(0x201)]);return _0x4755bd[_0x5c0066(0x20f)]({'tag':_0x5c0066(0x1b7),'attributes':{'class':['ck',_0x5c0066(0x1c9)]},'children':[_0x251a5e(this[_0x5c0066(0x201)],_0x5c0066(0x1c5))]}),_0x5ebf69[_0x5c0066(0x20f)]({'tag':_0x5c0066(0x1bb),'attributes':{'class':['ck',_0x5c0066(0x1c8),this[_0x5c0066(0x1f2)]['if'](_0x5c0066(0x1e0),_0x5c0066(0x1a4),_0x3d2542=>!_0x3d2542)]},'children':[_0x187477,_0x4755bd]}),_0x5ebf69;}[_0x2bd136(0x1e8)](){const _0x34c48c=_0x2bd136,_0x45eedc=new _0x49c3db(this[_0x34c48c(0x201)]),_0x58e0e5=new _0x49c3db(this[_0x34c48c(0x201)]);return _0x58e0e5[_0x34c48c(0x20f)]({'tag':_0x34c48c(0x1b7),'attributes':{'class':['ck',_0x34c48c(0x205)]},'children':[_0x251a5e(this[_0x34c48c(0x201)],_0x34c48c(0x1ba))]}),_0x45eedc[_0x34c48c(0x20f)]({'tag':_0x34c48c(0x1bb),'attributes':{'class':['ck',_0x34c48c(0x210),this[_0x34c48c(0x1f2)]['if'](_0x34c48c(0x1b5),_0x34c48c(0x1a4),_0x37febf=>!_0x37febf)]},'children':[_0x58e0e5]}),_0x45eedc;}}export class AIWebSourcesView extends _0x49c3db{[_0x2bd136(0x1ae)];[_0x2bd136(0x1dd)];[_0x2bd136(0x1fa)];constructor(_0x26fe65,_0x4808bc){const _0x2a3a89=_0x2bd136;super(_0x26fe65),this[_0x2a3a89(0x1fa)]=_0x4808bc,this[_0x2a3a89(0x1ae)]=this[_0x2a3a89(0x1ab)](),this[_0x2a3a89(0x204)](_0x2a3a89(0x1e6),!0x1),this[_0x2a3a89(0x20f)]({'tag':_0x2a3a89(0x1bb),'attributes':{'class':['ck',_0x2a3a89(0x19d),this[_0x2a3a89(0x1f2)]['if'](_0x2a3a89(0x1e6),_0x2a3a89(0x1a4),_0x2fc44c=>!_0x2fc44c)]},'children':this[_0x2a3a89(0x1ae)]});const _0x23d965=new _0x49c3db(this[_0x2a3a89(0x201)]),_0xf56fbb=new _0x33aba6();_0xf56fbb[_0x2a3a89(0x1a0)]=_0x1d2dc8,_0x23d965[_0x2a3a89(0x20f)]({'tag':_0x2a3a89(0x1bb),'attributes':{'class':['ck',_0x2a3a89(0x1e3)]},'children':[_0xf56fbb,{'tag':_0x2a3a89(0x1b7),'children':[{'text':_0x251a5e(this[_0x2a3a89(0x201)],_0x2a3a89(0x1b3))}]}]}),this[_0x2a3a89(0x1ae)][_0x2a3a89(0x1ef)](_0x23d965),this[_0x2a3a89(0x1d5)](_0x26fe65);}[_0x2bd136(0x1d5)](_0x5e10d6){const _0x5dd265=_0x2bd136;this[_0x5dd265(0x1dd)]=new _0x342216(_0x5e10d6),this[_0x5dd265(0x1dd)][_0x5dd265(0x1f6)]({'attributes':{'class':[_0x5dd265(0x206)]}}),this[_0x5dd265(0x1fa)][_0x5dd265(0x1ef)](this[_0x5dd265(0x1dd)]);}}export class AIWebSourceView extends _0x32f137{[_0x2bd136(0x1dd)];[_0x2bd136(0x1b2)];constructor(_0x1c39bc,_0x533f36,_0x5c1b87){const _0x377758=_0x2bd136;super(_0x1c39bc),this[_0x377758(0x1b2)]=_0x533f36,this[_0x377758(0x1dd)]=_0x5c1b87,this[_0x377758(0x204)]({'label':_0x533f36[_0x377758(0x19e)],'class':[_0x377758(0x200)],'withText':!0x0});const _0x574459=this[_0x377758(0x1f2)];if(this[_0x377758(0x1f6)]({'on':{'click':_0x574459['to'](()=>{const _0xd24481=_0x377758;window[_0xd24481(0x1c1)](_0x533f36[_0xd24481(0x19b)],_0xd24481(0x1f3));}),'mouseenter':_0x574459['to'](()=>{const _0x2e9c83=_0x377758;this[_0x2e9c83(0x1c2)]();}),'mouseleave':_0x574459['to'](()=>{const _0x5b65de=_0x377758;this[_0x5b65de(0x1fb)]();})}}),_0x533f36[_0x377758(0x1db)]){const _0x2344b3=new _0x49c3db(_0x1c39bc);_0x2344b3[_0x377758(0x20f)]({'tag':_0x377758(0x1dc),'attributes':{'src':_0x533f36[_0x377758(0x1db)]||_0x1d2dc8,'alt':_0x533f36[_0x377758(0x19e)],'class':[_0x377758(0x1fc)]}}),this[_0x377758(0x1ae)][_0x377758(0x1ef)](_0x2344b3);}else this[_0x377758(0x204)](_0x377758(0x20a),_0x1d2dc8);}[_0x2bd136(0x1ce)](_0x463e03,_0x366bd5){const _0x3710ae=_0x2bd136,_0x4359e6=new _0x49c3db(_0x463e03),_0x2b4b4f=[];let _0x3a9ca8;_0x366bd5?.[_0x3710ae(0x1db)]?(_0x3a9ca8=new _0x49c3db(_0x463e03),_0x3a9ca8[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1dc),'attributes':{'src':_0x366bd5[_0x3710ae(0x1db)],'alt':_0x366bd5[_0x3710ae(0x19e)],'class':[_0x3710ae(0x1af)]}})):(_0x3a9ca8=new _0x33aba6(),_0x3a9ca8[_0x3710ae(0x1a0)]=_0x1d2dc8,_0x3a9ca8[_0x3710ae(0x1f6)]({'attributes':{'alt':_0x366bd5[_0x3710ae(0x19e)],'class':[_0x3710ae(0x1af)]}})),_0x2b4b4f[_0x3710ae(0x1cb)](_0x3a9ca8);const _0x2c040b=new _0x49c3db(_0x463e03);_0x2c040b[_0x3710ae(0x20f)]({'tag':'a','attributes':{'class':[_0x3710ae(0x19c)],'href':_0x366bd5[_0x3710ae(0x19b)]},'children':[{'text':new URL(_0x366bd5[_0x3710ae(0x19b)])?.[_0x3710ae(0x1f7)]}]}),_0x2b4b4f[_0x3710ae(0x1cb)](_0x2c040b);const _0x11c49a=new _0x49c3db(_0x463e03);_0x11c49a[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1bb),'attributes':{'class':[_0x3710ae(0x1e4)]},'children':_0x2b4b4f});const _0x44f253=new _0x49c3db(_0x463e03);return _0x44f253[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1b7),'attributes':{'class':[_0x3710ae(0x1e4),_0x3710ae(0x1b1)]},'children':[{'text':_0x366bd5[_0x3710ae(0x19e)][_0x3710ae(0x1df)]>0x190?_0x366bd5[_0x3710ae(0x19e)][_0x3710ae(0x1ad)](0x0,0x190)+_0x3710ae(0x1e1):_0x366bd5[_0x3710ae(0x19e)]}]}),_0x4359e6[_0x3710ae(0x20f)]({'tag':_0x3710ae(0x1bb),'attributes':{'class':['ck',_0x3710ae(0x207)]},'children':[_0x11c49a,_0x44f253]}),_0x4359e6;}[_0x2bd136(0x1c2)](){const _0x319d87=_0x2bd136;this[_0x319d87(0x1c0)](),this[_0x319d87(0x1dd)][_0x319d87(0x1d4)]({'target':this[_0x319d87(0x1a9)],'positions':[_0x342216[_0x319d87(0x208)][_0x319d87(0x1bd)],_0x342216[_0x319d87(0x208)][_0x319d87(0x1e5)],_0x342216[_0x319d87(0x208)][_0x319d87(0x20c)]],'limiter':document[_0x319d87(0x20b)](_0x319d87(0x209))}),this[_0x319d87(0x1dd)][_0x319d87(0x1f8)]();}[_0x2bd136(0x1fb)](){const _0x3ecec4=_0x2bd136;this[_0x3ecec4(0x1dd)][_0x3ecec4(0x198)]();}[_0x2bd136(0x1c0)](){const _0x39ac54=_0x2bd136;this[_0x39ac54(0x1dd)][_0x39ac54(0x1a0)][_0x39ac54(0x1cc)](0x0)?.[_0x39ac54(0x1b4)](),this[_0x39ac54(0x1dd)][_0x39ac54(0x1a0)][_0x39ac54(0x1b8)]();const _0x545434=this[_0x39ac54(0x1ce)](this[_0x39ac54(0x201)],this[_0x39ac54(0x1b2)]);this[_0x39ac54(0x1dd)][_0x39ac54(0x1a0)][_0x39ac54(0x1ef)](_0x545434);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bfa88=_0xf6fc;(function(_0x179171,_0x2297f9){const _0x27aacd=_0xf6fc,_0x1aa593=_0x179171();while(!![]){try{const _0x1df4db=-parseInt(_0x27aacd(0x1f0))/0x1+parseInt(_0x27aacd(0x1bf))/0x2+parseInt(_0x27aacd(0x1c5))/0x3+parseInt(_0x27aacd(0x1d9))/0x4+-parseInt(_0x27aacd(0x1ba))/0x5+-parseInt(_0x27aacd(0x1e2))/0x6*(parseInt(_0x27aacd(0x1f4))/0x7)+parseInt(_0x27aacd(0x1ec))/0x8;if(_0x1df4db===_0x2297f9)break;else _0x1aa593['push'](_0x1aa593['shift']());}catch(_0x5b3807){_0x1aa593['push'](_0x1aa593['shift']());}}}(_0xf104,0xdfd35));import{View as _0x230f20,IconView as _0x48e0cc,ToolbarView as _0x3f42e6,ButtonView as _0x225769}from'ckeditor5/src/ui.js';function _0xf6fc(_0x58ba61,_0x5a250c){const _0xf1049f=_0xf104();return _0xf6fc=function(_0xf6fc8a,_0x56b69b){_0xf6fc8a=_0xf6fc8a-0x1ab;let _0x1ccf25=_0xf1049f[_0xf6fc8a];return _0x1ccf25;},_0xf6fc(_0x58ba61,_0x5a250c);}import{IconAddComment as _0x4dc6c9,IconDocumentWithLoupe as _0x31bda2,IconDocumentWithCheckmark as _0x1e626c,IconDocumentWithCross as _0x1fc011,IconRemove as _0x531438,IconThreeStars as _0x56ba17}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x172a9a}from'../../utils/htmlstreamer.js';import{getTranslation as _0x136303}from'../../utils/common-translations.js';import{serialize as _0x5ea740}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x42fe10}from'../../utils/eventnames.js';function _0xf104(){const _0x2791c7=['updateContent','createCollection','8361745diEFZs','mouseOverSuggestion','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','rejectSuggestion','partDefinition','3327680zsDRAN','ck-ai-suggestion__body__content-part__icon-rejected','toString','ck-ai-suggestion__body__content-part__title__label','addMany','delegate','4962711sePLWy','ck-ai-suggestion__body__content-part_','_iconStateOutdated','outdated','AI_SUGGESTION_CONTENT_PART_TITLE','push','headerView','pending','ck-ai-suggestion__body__content-part__icon-title','contentView','index','isEnabled','_toolbarView','AI_SUGGESTION_CONTENT_PART_DELETE','stream','bind','isVisible','hasChanges','rejected','element','5751584RKpQBB','ck-ai-suggestion__body__content-part__content','ck-content','add','showChangeInText','children','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-suggestion__body__content-part_active','toggleHeader','10886322DOOcFx','bindTemplate','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','_iconStateRejected','accepted','ck-hidden','span','remove','fire','AI_SUGGESTION_CONTENT_PART_OUTDATED','9087888iUQrqQ','innerHTML','ck-reset_all-excluded','ck-ai-suggestion__body__content-part__title','1488434XwVYpR','set','ck-ai-suggestion__body__content-part','ck-ai-suggestion__body__content-part__icon-accepted','7JXnXQN','_iconStateAccepted','streaming','ck-ai-suggestion__body__content-part__icon-outdated','includes','setTemplate','div','AI_SUGGESTION_CONTENT_PART_REJECTED','execute','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','insertSuggestion','change:state','content','extendTemplate','state','mouseLeaveSuggestion','items','htmlStreamer','has'];_0xf104=function(){return _0x2791c7;};return _0xf104();}export class AISuggestionBodyViewContentPartView extends _0x230f20{[_0x4bfa88(0x1b6)];[_0x4bfa88(0x1de)];[_0x4bfa88(0x1cb)];[_0x4bfa88(0x1ce)];constructor(_0x5ba522,{part:_0x35f33a,uiIndex:_0x7b5636,areActionsDisabled:_0x5ebc61,availableActions:_0x1b98b9}){const _0x3908a0=_0x4bfa88;super(_0x5ba522),this[_0x3908a0(0x1f1)](_0x3908a0(0x1be),_0x35f33a),this[_0x3908a0(0x1f1)](_0x3908a0(0x1b3),_0x3908a0(0x1cc)),this[_0x3908a0(0x1f1)](_0x3908a0(0x1d5),!0x1),this[_0x3908a0(0x1d4)](_0x3908a0(0x1d0))['to'](this,_0x3908a0(0x1b3),_0xf602e3=>_0x3908a0(0x1cc)==_0xf602e3&&!_0x5ebc61),this[_0x3908a0(0x1de)]=this[_0x3908a0(0x1b9)](),this[_0x3908a0(0x1b6)]=new _0x172a9a({'textNodeStyle':_0x3908a0(0x1df),'delay':0x14}),this[_0x3908a0(0x1cb)]=new Un(_0x5ba522,{'part':_0x35f33a,'uiIndex':_0x7b5636,'availableActions':_0x1b98b9}),this[_0x3908a0(0x1cb)][_0x3908a0(0x1d4)](_0x3908a0(0x1be))['to'](this),this[_0x3908a0(0x1cb)][_0x3908a0(0x1d4)](_0x3908a0(0x1d0))['to'](this),this[_0x3908a0(0x1cb)][_0x3908a0(0x1d4)](_0x3908a0(0x1b3))['to'](this),this[_0x3908a0(0x1cb)][_0x3908a0(0x1c4)](..._0x42fe10)['to'](this);const _0x51a750=this[_0x3908a0(0x1e3)];this[_0x3908a0(0x1ce)]=new _0x230f20(),this[_0x3908a0(0x1ce)][_0x3908a0(0x1f9)]({'tag':_0x3908a0(0x1ab),'attributes':{'class':['ck',_0x3908a0(0x1db),_0x3908a0(0x1ee),_0x3908a0(0x1da)]}}),this[_0x3908a0(0x1de)][_0x3908a0(0x1c3)]([this[_0x3908a0(0x1ce)]]),this[_0x3908a0(0x1f9)]({'tag':_0x3908a0(0x1ab),'attributes':{'class':['ck',_0x3908a0(0x1f2),_0x51a750['to'](_0x3908a0(0x1b3),_0x56804f=>_0x3908a0(0x1c6)+_0x56804f),_0x51a750['to'](_0x3908a0(0x1d0),_0x24c680=>_0x24c680?_0x3908a0(0x1e0):void 0x0),_0x51a750['if'](_0x3908a0(0x1d5),_0x3908a0(0x1e7),_0x502f65=>!_0x502f65)]},'children':this[_0x3908a0(0x1de)],'on':{'mouseenter':_0x51a750['to'](()=>{const _0x868ad5=_0x3908a0;this[_0x868ad5(0x1d0)]&&this[_0x868ad5(0x1ea)](_0x868ad5(0x1bb),{'index':_0x35f33a[_0x868ad5(0x1cf)]});}),'mouseleave':_0x51a750['to'](()=>{const _0x292309=_0x3908a0;this[_0x292309(0x1d0)]&&this[_0x292309(0x1ea)](_0x292309(0x1b4),{'index':_0x35f33a[_0x292309(0x1cf)]});})}});}async[_0x4bfa88(0x1b8)]({part:_0x3107d1,renderingStrategy:_0x3a87da,showUnchangedParts:_0x2158a4=!0x1,abortSignal:_0x1f723a}){const _0x150055=_0x4bfa88;this[_0x150055(0x1be)]=_0x3107d1,this[_0x150055(0x1d5)]=this[_0x150055(0x1be)][_0x150055(0x1d6)]||_0x2158a4,this[_0x150055(0x1d5)]&&(_0x150055(0x1f6)===_0x3a87da?await this[_0x150055(0x1b6)][_0x150055(0x1d3)]({'document':this[_0x150055(0x1be)][_0x150055(0x1b1)],'targetElement':this[_0x150055(0x1ce)][_0x150055(0x1d8)],'abortSignal':_0x1f723a}):this[_0x150055(0x1ce)][_0x150055(0x1d8)][_0x150055(0x1ed)]=_0x5ea740(this[_0x150055(0x1be)][_0x150055(0x1b1)]));}[_0x4bfa88(0x1e1)](_0x50255f){const _0x4ce8d5=_0x4bfa88;_0x50255f?this[_0x4ce8d5(0x1de)][_0x4ce8d5(0x1b7)](this[_0x4ce8d5(0x1cb)])||this[_0x4ce8d5(0x1de)][_0x4ce8d5(0x1dc)](this[_0x4ce8d5(0x1cb)],0x0):this[_0x4ce8d5(0x1de)][_0x4ce8d5(0x1b7)](this[_0x4ce8d5(0x1cb)])&&this[_0x4ce8d5(0x1de)][_0x4ce8d5(0x1e9)](this[_0x4ce8d5(0x1cb)]);}}class Un extends _0x230f20{[_0x4bfa88(0x1de)];[_0x4bfa88(0x1d1)];[_0x4bfa88(0x1f5)];[_0x4bfa88(0x1e5)];[_0x4bfa88(0x1c7)];constructor(_0x4e91a0,{part:_0x34dcb9,uiIndex:_0x1cf46e,availableActions:_0x29e6d3}){const _0x4a5071=_0x4bfa88;super(_0x4e91a0),this[_0x4a5071(0x1f1)](_0x4a5071(0x1be),_0x34dcb9),this[_0x4a5071(0x1f1)](_0x4a5071(0x1d0),!0x0),this[_0x4a5071(0x1f1)](_0x4a5071(0x1b3),_0x4a5071(0x1cc));const _0x58bff8=new _0x48e0cc();_0x58bff8[_0x4a5071(0x1b1)]=_0x56ba17,_0x58bff8[_0x4a5071(0x1b2)]({'attributes':{'class':[_0x4a5071(0x1cd)]}});const _0x7ea016=[];if(_0x29e6d3[_0x4a5071(0x1f8)](_0x4a5071(0x1dd))){const _0xb4a908=new _0x225769(_0x4e91a0);_0xb4a908[_0x4a5071(0x1f1)]({'label':_0x136303(_0x4e91a0,_0x4a5071(0x1e4)),'tooltip':!0x0,'withText':!0x1,'icon':_0x31bda2}),_0xb4a908[_0x4a5071(0x1d4)](_0x4a5071(0x1d0))['to'](this),_0xb4a908['on'](_0x4a5071(0x1ad),()=>{const _0x2fb4af=_0x4a5071;this[_0x2fb4af(0x1ea)](_0x2fb4af(0x1dd),{'index':_0x34dcb9[_0x2fb4af(0x1cf)]});}),_0x7ea016[_0x4a5071(0x1ca)](_0xb4a908);}if(_0x29e6d3[_0x4a5071(0x1f8)](_0x4a5071(0x1af))){const _0x2c3172=new _0x225769(_0x4e91a0);_0x2c3172[_0x4a5071(0x1f1)]({'label':_0x136303(_0x4e91a0,_0x4a5071(0x1bc)),'tooltip':!0x0,'withText':!0x1,'icon':_0x4dc6c9}),_0x2c3172[_0x4a5071(0x1d4)](_0x4a5071(0x1d0))['to'](this),_0x2c3172['on'](_0x4a5071(0x1ad),()=>{const _0x33392d=_0x4a5071;this[_0x33392d(0x1ea)](_0x33392d(0x1af),{'index':_0x34dcb9[_0x33392d(0x1cf)]});}),_0x7ea016[_0x4a5071(0x1ca)](_0x2c3172);}const _0x503372=new _0x225769(_0x4e91a0);_0x503372[_0x4a5071(0x1f1)]({'label':_0x136303(_0x4e91a0,_0x4a5071(0x1d2)),'tooltip':!0x0,'withText':!0x1,'icon':_0x531438}),_0x503372[_0x4a5071(0x1d4)](_0x4a5071(0x1d0))['to'](this),_0x503372['on'](_0x4a5071(0x1ad),()=>{const _0x6aba07=_0x4a5071;this[_0x6aba07(0x1ea)](_0x6aba07(0x1bd),{'index':_0x34dcb9[_0x6aba07(0x1cf)]});}),_0x7ea016[_0x4a5071(0x1ca)](_0x503372),this[_0x4a5071(0x1d1)]=new _0x3f42e6(_0x4e91a0),this[_0x4a5071(0x1d1)][_0x4a5071(0x1b5)][_0x4a5071(0x1c3)](_0x7ea016),this[_0x4a5071(0x1f5)]=new _0x48e0cc(),this[_0x4a5071(0x1f5)][_0x4a5071(0x1b1)]=_0x1e626c,this[_0x4a5071(0x1f5)][_0x4a5071(0x1b2)]({'attributes':{'class':[_0x4a5071(0x1f3)],'data-cke-tooltip-text':_0x136303(_0x4e91a0,_0x4a5071(0x1ae)),'data-cke-tooltip-position':'n'}}),this[_0x4a5071(0x1e5)]=new _0x48e0cc(),this[_0x4a5071(0x1e5)][_0x4a5071(0x1b1)]=_0x1fc011,this[_0x4a5071(0x1e5)][_0x4a5071(0x1b2)]({'attributes':{'class':[_0x4a5071(0x1c0)],'data-cke-tooltip-text':_0x136303(_0x4e91a0,_0x4a5071(0x1ac)),'data-cke-tooltip-position':'n'}}),this[_0x4a5071(0x1c7)]=new _0x48e0cc(),this[_0x4a5071(0x1c7)][_0x4a5071(0x1b1)]=_0x1fc011,this[_0x4a5071(0x1c7)][_0x4a5071(0x1b2)]({'attributes':{'class':[_0x4a5071(0x1f7)],'data-cke-tooltip-text':_0x136303(_0x4e91a0,_0x4a5071(0x1eb)),'data-cke-tooltip-position':'n'}});const _0x11f0f6=new _0x230f20(_0x4e91a0);_0x11f0f6[_0x4a5071(0x1f9)]({'tag':_0x4a5071(0x1e8),'attributes':{'class':['ck',_0x4a5071(0x1c2)]},'children':[_0x136303(_0x4e91a0,_0x4a5071(0x1c9),_0x1cf46e[_0x4a5071(0x1c1)]())]}),this[_0x4a5071(0x1de)]=this[_0x4a5071(0x1b9)](),this[_0x4a5071(0x1de)][_0x4a5071(0x1c3)]([_0x58bff8,_0x11f0f6,this[_0x4a5071(0x1d1)]]),this[_0x4a5071(0x1f9)]({'tag':_0x4a5071(0x1ab),'attributes':{'class':['ck',_0x4a5071(0x1ee),_0x4a5071(0x1ef)]},'children':this[_0x4a5071(0x1de)]}),this['on'](_0x4a5071(0x1b0),(_0x48393f,_0x5b99,_0x289a86,_0x1eb1ee)=>{const _0x2fc1c4=_0x4a5071;switch(_0x1eb1ee){case _0x2fc1c4(0x1cc):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1e9)](this[_0x2fc1c4(0x1d1)]);break;case _0x2fc1c4(0x1e6):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1e9)](this[_0x2fc1c4(0x1f5)]);break;case _0x2fc1c4(0x1d7):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1e9)](this[_0x2fc1c4(0x1e5)]);break;case _0x2fc1c4(0x1c8):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1e9)](this[_0x2fc1c4(0x1c7)]);}switch(_0x289a86){case _0x2fc1c4(0x1cc):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1dc)](this[_0x2fc1c4(0x1d1)]);break;case _0x2fc1c4(0x1e6):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1dc)](this[_0x2fc1c4(0x1f5)]);break;case _0x2fc1c4(0x1d7):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1dc)](this[_0x2fc1c4(0x1e5)]);break;case _0x2fc1c4(0x1c8):this[_0x2fc1c4(0x1de)][_0x2fc1c4(0x1dc)](this[_0x2fc1c4(0x1c7)]);}});}}
23
+ const _0x1843b3=_0x3097;(function(_0x102a41,_0x5ebb43){const _0x2412e1=_0x3097,_0x5c3aa7=_0x102a41();while(!![]){try{const _0x32fb78=parseInt(_0x2412e1(0x11c))/0x1+parseInt(_0x2412e1(0x147))/0x2*(-parseInt(_0x2412e1(0x10e))/0x3)+parseInt(_0x2412e1(0x114))/0x4+-parseInt(_0x2412e1(0x13c))/0x5*(-parseInt(_0x2412e1(0x11a))/0x6)+-parseInt(_0x2412e1(0x137))/0x7+parseInt(_0x2412e1(0x140))/0x8+-parseInt(_0x2412e1(0x139))/0x9;if(_0x32fb78===_0x5ebb43)break;else _0x5c3aa7['push'](_0x5c3aa7['shift']());}catch(_0x2d87f4){_0x5c3aa7['push'](_0x5c3aa7['shift']());}}}(_0xb25e,0xab9a5));import{View as _0x2c7b94,IconView as _0x1e4caf,ToolbarView as _0x4c0584,ButtonView as _0x32ee88}from'ckeditor5/src/ui.js';import{IconAddComment as _0x18a503,IconDocumentWithLoupe as _0x4b6ad3,IconDocumentWithCheckmark as _0x4bd956,IconDocumentWithCross as _0x30e085,IconRemove as _0x1d240a,IconThreeStars as _0x185c96}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x1fbc19}from'../../utils/htmlstreamer.js';import{getTranslation as _0x309eef}from'../../utils/common-translations.js';import{serialize as _0x173243}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2ca1b3}from'../../utils/eventnames.js';function _0x3097(_0x276356,_0x3a48bd){const _0xb25eee=_0xb25e();return _0x3097=function(_0x3097c1,_0x4fc732){_0x3097c1=_0x3097c1-0x106;let _0x174aab=_0xb25eee[_0x3097c1];return _0x174aab;},_0x3097(_0x276356,_0x3a48bd);}function _0xb25e(){const _0x438f07=['ck-ai-suggestion__body__content-part__content','setTemplate','ck-ai-suggestion__body__content-part_','rejectSuggestion','htmlStreamer','mouseOverSuggestion','ck-ai-suggestion__body__content-part__icon-title','extendTemplate','ck-ai-suggestion__body__content-part__icon-accepted','AI_SUGGESTION_CONTENT_PART_DELETE','insertSuggestion','_iconStateOutdated','AI_SUGGESTION_CONTENT_PART_REJECTED','partDefinition','push','remove','bindTemplate','ck-ai-suggestion__body__content-part_active','309TkfIHt','createCollection','accepted','span','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','ck-ai-suggestion__body__content-part__title','934008dOCVUX','delegate','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','change:state','element','addMany','4299546AMFisu','_iconStateRejected','859205pInQey','bind','streaming','ck-ai-suggestion__body__content-part__icon-outdated','ck-content','index','toString','_iconStateAccepted','isEnabled','ck-ai-suggestion__body__content-part','content','innerHTML','ck-hidden','hasChanges','div','includes','outdated','fire','_toolbarView','headerView','ck-ai-suggestion__body__content-part__icon-rejected','AI_SUGGESTION_CONTENT_PART_OUTDATED','children','add','has','rejected','ck-ai-suggestion__body__content-part__title__label','4485418DMwdNv','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','9652122JAdSDC','stream','mouseLeaveSuggestion','5ARoSpb','isVisible','execute','items','6669824xkLqwq','animation:\x20ck-html-streamer-fade-in\x20.5s','toggleHeader','state','AI_SUGGESTION_CONTENT_PART_TITLE','showChangeInText','ck-reset_all-excluded','4406dgMPhB','pending','set','updateContent','contentView'];_0xb25e=function(){return _0x438f07;};return _0xb25e();}export class AISuggestionBodyViewContentPartView extends _0x2c7b94{[_0x1843b3(0x150)];[_0x1843b3(0x132)];[_0x1843b3(0x12f)];[_0x1843b3(0x14b)];constructor(_0x3388c3,{part:_0x13d07b,uiIndex:_0x2e5600,areActionsDisabled:_0x52f2b0,availableActions:_0x35c17e}){const _0x2066ab=_0x1843b3;super(_0x3388c3),this[_0x2066ab(0x149)](_0x2066ab(0x109),_0x13d07b),this[_0x2066ab(0x149)](_0x2066ab(0x143),_0x2066ab(0x148)),this[_0x2066ab(0x149)](_0x2066ab(0x13d),!0x1),this[_0x2066ab(0x11d)](_0x2066ab(0x124))['to'](this,_0x2066ab(0x143),_0x468e17=>_0x2066ab(0x148)==_0x468e17&&!_0x52f2b0),this[_0x2066ab(0x132)]=this[_0x2066ab(0x10f)](),this[_0x2066ab(0x150)]=new _0x1fbc19({'textNodeStyle':_0x2066ab(0x141),'delay':0x14}),this[_0x2066ab(0x12f)]=new Dn(_0x3388c3,{'part':_0x13d07b,'uiIndex':_0x2e5600,'availableActions':_0x35c17e}),this[_0x2066ab(0x12f)][_0x2066ab(0x11d)](_0x2066ab(0x109))['to'](this),this[_0x2066ab(0x12f)][_0x2066ab(0x11d)](_0x2066ab(0x124))['to'](this),this[_0x2066ab(0x12f)][_0x2066ab(0x11d)](_0x2066ab(0x143))['to'](this),this[_0x2066ab(0x12f)][_0x2066ab(0x115)](..._0x2ca1b3)['to'](this);const _0x121299=this[_0x2066ab(0x10c)];this[_0x2066ab(0x14b)]=new _0x2c7b94(),this[_0x2066ab(0x14b)][_0x2066ab(0x14d)]({'tag':_0x2066ab(0x12a),'attributes':{'class':['ck',_0x2066ab(0x120),_0x2066ab(0x146),_0x2066ab(0x14c)]}}),this[_0x2066ab(0x132)][_0x2066ab(0x119)]([this[_0x2066ab(0x14b)]]),this[_0x2066ab(0x14d)]({'tag':_0x2066ab(0x12a),'attributes':{'class':['ck',_0x2066ab(0x125),_0x121299['to'](_0x2066ab(0x143),_0x131c98=>_0x2066ab(0x14e)+_0x131c98),_0x121299['to'](_0x2066ab(0x124),_0x262a95=>_0x262a95?_0x2066ab(0x10d):void 0x0),_0x121299['if'](_0x2066ab(0x13d),_0x2066ab(0x128),_0x12401f=>!_0x12401f)]},'children':this[_0x2066ab(0x132)],'on':{'mouseenter':_0x121299['to'](()=>{const _0x9d13fb=_0x2066ab;this[_0x9d13fb(0x124)]&&this[_0x9d13fb(0x12d)](_0x9d13fb(0x151),{'index':_0x13d07b[_0x9d13fb(0x121)]});}),'mouseleave':_0x121299['to'](()=>{const _0x1a1b64=_0x2066ab;this[_0x1a1b64(0x124)]&&this[_0x1a1b64(0x12d)](_0x1a1b64(0x13b),{'index':_0x13d07b[_0x1a1b64(0x121)]});})}});}async[_0x1843b3(0x14a)]({part:_0x3c017d,renderingStrategy:_0x3ec3e9,showUnchangedParts:_0x4b204e=!0x1,abortSignal:_0x549fbc}){const _0x239854=_0x1843b3;this[_0x239854(0x109)]=_0x3c017d,this[_0x239854(0x13d)]=this[_0x239854(0x109)][_0x239854(0x129)]||_0x4b204e,this[_0x239854(0x13d)]&&(_0x239854(0x11e)===_0x3ec3e9?await this[_0x239854(0x150)][_0x239854(0x13a)]({'document':this[_0x239854(0x109)][_0x239854(0x126)],'targetElement':this[_0x239854(0x14b)][_0x239854(0x118)],'abortSignal':_0x549fbc}):this[_0x239854(0x14b)][_0x239854(0x118)][_0x239854(0x127)]=_0x173243(this[_0x239854(0x109)][_0x239854(0x126)]));}[_0x1843b3(0x142)](_0x2e1ad2){const _0x5b6acc=_0x1843b3;_0x2e1ad2?this[_0x5b6acc(0x132)][_0x5b6acc(0x134)](this[_0x5b6acc(0x12f)])||this[_0x5b6acc(0x132)][_0x5b6acc(0x133)](this[_0x5b6acc(0x12f)],0x0):this[_0x5b6acc(0x132)][_0x5b6acc(0x134)](this[_0x5b6acc(0x12f)])&&this[_0x5b6acc(0x132)][_0x5b6acc(0x10b)](this[_0x5b6acc(0x12f)]);}}class Dn extends _0x2c7b94{[_0x1843b3(0x132)];[_0x1843b3(0x12e)];[_0x1843b3(0x123)];[_0x1843b3(0x11b)];[_0x1843b3(0x107)];constructor(_0x34f850,{part:_0x2a57cb,uiIndex:_0x466a70,availableActions:_0x1bed6e}){const _0x5961b4=_0x1843b3;super(_0x34f850),this[_0x5961b4(0x149)](_0x5961b4(0x109),_0x2a57cb),this[_0x5961b4(0x149)](_0x5961b4(0x124),!0x0),this[_0x5961b4(0x149)](_0x5961b4(0x143),_0x5961b4(0x148));const _0x34ec6a=new _0x1e4caf();_0x34ec6a[_0x5961b4(0x126)]=_0x185c96,_0x34ec6a[_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x152)]}});const _0xb64dc5=[];if(_0x1bed6e[_0x5961b4(0x12b)](_0x5961b4(0x145))){const _0x229beb=new _0x32ee88(_0x34f850);_0x229beb[_0x5961b4(0x149)]({'label':_0x309eef(_0x34f850,_0x5961b4(0x112)),'tooltip':!0x0,'withText':!0x1,'icon':_0x4b6ad3}),_0x229beb[_0x5961b4(0x11d)](_0x5961b4(0x124))['to'](this),_0x229beb['on'](_0x5961b4(0x13e),()=>{const _0x22340a=_0x5961b4;this[_0x22340a(0x12d)](_0x22340a(0x145),{'index':_0x2a57cb[_0x22340a(0x121)]});}),_0xb64dc5[_0x5961b4(0x10a)](_0x229beb);}if(_0x1bed6e[_0x5961b4(0x12b)](_0x5961b4(0x106))){const _0x2e8458=new _0x32ee88(_0x34f850);_0x2e8458[_0x5961b4(0x149)]({'label':_0x309eef(_0x34f850,_0x5961b4(0x138)),'tooltip':!0x0,'withText':!0x1,'icon':_0x18a503}),_0x2e8458[_0x5961b4(0x11d)](_0x5961b4(0x124))['to'](this),_0x2e8458['on'](_0x5961b4(0x13e),()=>{const _0xac0fc9=_0x5961b4;this[_0xac0fc9(0x12d)](_0xac0fc9(0x106),{'index':_0x2a57cb[_0xac0fc9(0x121)]});}),_0xb64dc5[_0x5961b4(0x10a)](_0x2e8458);}const _0x32c627=new _0x32ee88(_0x34f850);_0x32c627[_0x5961b4(0x149)]({'label':_0x309eef(_0x34f850,_0x5961b4(0x155)),'tooltip':!0x0,'withText':!0x1,'icon':_0x1d240a}),_0x32c627[_0x5961b4(0x11d)](_0x5961b4(0x124))['to'](this),_0x32c627['on'](_0x5961b4(0x13e),()=>{const _0x1ab78c=_0x5961b4;this[_0x1ab78c(0x12d)](_0x1ab78c(0x14f),{'index':_0x2a57cb[_0x1ab78c(0x121)]});}),_0xb64dc5[_0x5961b4(0x10a)](_0x32c627),this[_0x5961b4(0x12e)]=new _0x4c0584(_0x34f850),this[_0x5961b4(0x12e)][_0x5961b4(0x13f)][_0x5961b4(0x119)](_0xb64dc5),this[_0x5961b4(0x123)]=new _0x1e4caf(),this[_0x5961b4(0x123)][_0x5961b4(0x126)]=_0x4bd956,this[_0x5961b4(0x123)][_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x154)],'data-cke-tooltip-text':_0x309eef(_0x34f850,_0x5961b4(0x116)),'data-cke-tooltip-position':'n'}}),this[_0x5961b4(0x11b)]=new _0x1e4caf(),this[_0x5961b4(0x11b)][_0x5961b4(0x126)]=_0x30e085,this[_0x5961b4(0x11b)][_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x130)],'data-cke-tooltip-text':_0x309eef(_0x34f850,_0x5961b4(0x108)),'data-cke-tooltip-position':'n'}}),this[_0x5961b4(0x107)]=new _0x1e4caf(),this[_0x5961b4(0x107)][_0x5961b4(0x126)]=_0x30e085,this[_0x5961b4(0x107)][_0x5961b4(0x153)]({'attributes':{'class':[_0x5961b4(0x11f)],'data-cke-tooltip-text':_0x309eef(_0x34f850,_0x5961b4(0x131)),'data-cke-tooltip-position':'n'}});const _0xba849f=new _0x2c7b94(_0x34f850);_0xba849f[_0x5961b4(0x14d)]({'tag':_0x5961b4(0x111),'attributes':{'class':['ck',_0x5961b4(0x136)]},'children':[_0x309eef(_0x34f850,_0x5961b4(0x144),_0x466a70[_0x5961b4(0x122)]())]}),this[_0x5961b4(0x132)]=this[_0x5961b4(0x10f)](),this[_0x5961b4(0x132)][_0x5961b4(0x119)]([_0x34ec6a,_0xba849f,this[_0x5961b4(0x12e)]]),this[_0x5961b4(0x14d)]({'tag':_0x5961b4(0x12a),'attributes':{'class':['ck',_0x5961b4(0x146),_0x5961b4(0x113)]},'children':this[_0x5961b4(0x132)]}),this['on'](_0x5961b4(0x117),(_0x1542fb,_0x4981f4,_0x2706c8,_0x5dfe70)=>{const _0x573a03=_0x5961b4;switch(_0x5dfe70){case _0x573a03(0x148):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x12e)]);break;case _0x573a03(0x110):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x123)]);break;case _0x573a03(0x135):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x11b)]);break;case _0x573a03(0x12c):this[_0x573a03(0x132)][_0x573a03(0x10b)](this[_0x573a03(0x107)]);}switch(_0x2706c8){case _0x573a03(0x148):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x12e)]);break;case _0x573a03(0x110):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x123)]);break;case _0x573a03(0x135):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x11b)]);break;case _0x573a03(0x12c):this[_0x573a03(0x132)][_0x573a03(0x133)](this[_0x573a03(0x107)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b7b4f=_0x1bf7;(function(_0x27c093,_0x1a2a43){const _0x496e18=_0x1bf7,_0x1fa4ac=_0x27c093();while(!![]){try{const _0x3e3186=-parseInt(_0x496e18(0x145))/0x1*(parseInt(_0x496e18(0x137))/0x2)+-parseInt(_0x496e18(0x14c))/0x3*(parseInt(_0x496e18(0x12d))/0x4)+-parseInt(_0x496e18(0x12c))/0x5+-parseInt(_0x496e18(0x14d))/0x6*(parseInt(_0x496e18(0x14b))/0x7)+-parseInt(_0x496e18(0x13d))/0x8+-parseInt(_0x496e18(0x12e))/0x9+-parseInt(_0x496e18(0x12f))/0xa*(-parseInt(_0x496e18(0x12a))/0xb);if(_0x3e3186===_0x1a2a43)break;else _0x1fa4ac['push'](_0x1fa4ac['shift']());}catch(_0xf72856){_0x1fa4ac['push'](_0x1fa4ac['shift']());}}}(_0x2239,0x38216));import{getTranslation as _0x4682c1}from'../../utils/common-translations.js';function _0x2239(){const _0x460fe4=['ck-ai-suggestion__header','filter','iconView','350496EvAcRs','toggleShowChanges','icon','children','div','isVisible','bind','isOn','6QANmeU','isShowChangesToggleVisible','AI_SUGGESTION_BUTTON_SHOW_CHANGES','showHeader','setTemplate','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','43981FIxtUX','39VVhrNJ','372uesbyM','ck-hidden','AI_SUGGESTION_HEADER_TITLE','11BsXjbt','render','1488270uIsxlZ','76672YXxfDg','2796759Fhwhcl','16696030joRKPS','showDiff','add','remove','set','span','content','showChangesToggleView','49582lKGKXT','execute','fire'];_0x2239=function(){return _0x460fe4;};return _0x2239();}function _0x1bf7(_0x3a39e8,_0x3179ea){const _0x2239a3=_0x2239();return _0x1bf7=function(_0x1bf77e,_0x530c5b){_0x1bf77e=_0x1bf77e-0x129;let _0x329d41=_0x2239a3[_0x1bf77e];return _0x329d41;},_0x1bf7(_0x3a39e8,_0x3179ea);}import{ButtonView as _0x4a2fab,IconView as _0x2efa44,View as _0x5d1cc7}from'ckeditor5/src/ui.js';import{IconDocument as _0x321208,IconShowChangesOff as _0x27e04f,IconShowChangesOn as _0x30d5cb}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x5d1cc7{[_0x1b7b4f(0x136)];constructor(_0x571eb5,_0x54fad9){const _0x493865=_0x1b7b4f;super(_0x571eb5),this[_0x493865(0x133)](_0x493865(0x146),!0x0),this[_0x493865(0x136)]=new ShowChangesToggleView(_0x571eb5),this[_0x493865(0x136)][_0x493865(0x133)]({'class':_0x493865(0x14a),'label':_0x4682c1(_0x571eb5,_0x493865(0x147)),'withText':!0x0}),this[_0x493865(0x136)][_0x493865(0x144)]=_0x54fad9[_0x493865(0x130)],this[_0x493865(0x136)][_0x493865(0x143)](_0x493865(0x142))['to'](this,_0x493865(0x146)),this[_0x493865(0x136)][_0x493865(0x143)](_0x493865(0x13f))['to'](this[_0x493865(0x136)],_0x493865(0x144),_0x381084=>_0x381084?_0x30d5cb:_0x27e04f),this[_0x493865(0x136)]['on'](_0x493865(0x138),()=>{const _0x3377b1=_0x493865;this[_0x3377b1(0x136)][_0x3377b1(0x144)]=!this[_0x3377b1(0x136)][_0x3377b1(0x144)],this[_0x3377b1(0x139)](_0x3377b1(0x13e),{'isOn':this[_0x3377b1(0x136)][_0x3377b1(0x144)]});});const _0xab0841=new _0x2efa44();_0xab0841[_0x493865(0x135)]=_0x321208,this[_0x493865(0x149)]({'tag':_0x493865(0x141),'attributes':{'class':['ck',_0x493865(0x13a),!0x1===_0x54fad9[_0x493865(0x148)]?_0x493865(0x14e):null][_0x493865(0x13b)](Boolean)},'children':[_0xab0841,{'tag':_0x493865(0x134),'children':[_0x4682c1(_0x571eb5,_0x493865(0x129))]},this[_0x493865(0x136)]]});}}export class ShowChangesToggleView extends _0x4a2fab{[_0x1b7b4f(0x12b)](){const _0x1dc8c7=_0x1b7b4f;super[_0x1dc8c7(0x12b)](),this[_0x1dc8c7(0x140)][_0x1dc8c7(0x132)](this[_0x1dc8c7(0x13c)]),this[_0x1dc8c7(0x140)][_0x1dc8c7(0x131)](this[_0x1dc8c7(0x13c)]);}}
23
+ const _0x3855b7=_0x236d;function _0x1b56(){const _0x1fe64e=['icon','remove','3508hKKyHv','2469OryQoZ','fire','div','6366cUpWhe','isOn','isShowChangesToggleVisible','span','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isVisible','set','AI_SUGGESTION_HEADER_TITLE','setTemplate','3512418VdFepx','render','549834NdWBFx','ck-ai-suggestion__header','ck-hidden','children','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','1325nIiQBJ','637304IlPbuR','showDiff','3020384JwRmCH','content','showHeader','10686825NEwMql','filter','execute','bind','toggleShowChanges','iconView','showChangesToggleView','add'];_0x1b56=function(){return _0x1fe64e;};return _0x1b56();}(function(_0x112b3a,_0x3badfa){const _0x55fe15=_0x236d,_0x294ad8=_0x112b3a();while(!![]){try{const _0x29c362=-parseInt(_0x55fe15(0x187))/0x1+-parseInt(_0x55fe15(0x181))/0x2+-parseInt(_0x55fe15(0x173))/0x3*(-parseInt(_0x55fe15(0x172))/0x4)+parseInt(_0x55fe15(0x186))/0x5*(parseInt(_0x55fe15(0x176))/0x6)+-parseInt(_0x55fe15(0x17f))/0x7+-parseInt(_0x55fe15(0x189))/0x8+parseInt(_0x55fe15(0x168))/0x9;if(_0x29c362===_0x3badfa)break;else _0x294ad8['push'](_0x294ad8['shift']());}catch(_0x2e6744){_0x294ad8['push'](_0x294ad8['shift']());}}}(_0x1b56,0x615e2));import{getTranslation as _0x16b3be}from'../../utils/common-translations.js';import{ButtonView as _0x22934b,IconView as _0x3d108f,View as _0x4783ba}from'ckeditor5/src/ui.js';import{IconDocument as _0x1f94c6,IconShowChangesOff as _0xe95ac,IconShowChangesOn as _0x58dffa}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x4783ba{[_0x3855b7(0x16e)];constructor(_0x5bce01,_0xd85842){const _0x1e7f62=_0x3855b7;super(_0x5bce01),this[_0x1e7f62(0x17c)](_0x1e7f62(0x178),!0x0),this[_0x1e7f62(0x16e)]=new ShowChangesToggleView(_0x5bce01),this[_0x1e7f62(0x16e)][_0x1e7f62(0x17c)]({'class':_0x1e7f62(0x185),'label':_0x16b3be(_0x5bce01,_0x1e7f62(0x17a)),'withText':!0x0}),this[_0x1e7f62(0x16e)][_0x1e7f62(0x177)]=_0xd85842[_0x1e7f62(0x188)],this[_0x1e7f62(0x16e)][_0x1e7f62(0x16b)](_0x1e7f62(0x17b))['to'](this,_0x1e7f62(0x178)),this[_0x1e7f62(0x16e)][_0x1e7f62(0x16b)](_0x1e7f62(0x170))['to'](this[_0x1e7f62(0x16e)],_0x1e7f62(0x177),_0x582319=>_0x582319?_0x58dffa:_0xe95ac),this[_0x1e7f62(0x16e)]['on'](_0x1e7f62(0x16a),()=>{const _0x2ac516=_0x1e7f62;this[_0x2ac516(0x16e)][_0x2ac516(0x177)]=!this[_0x2ac516(0x16e)][_0x2ac516(0x177)],this[_0x2ac516(0x174)](_0x2ac516(0x16c),{'isOn':this[_0x2ac516(0x16e)][_0x2ac516(0x177)]});});const _0xab8cdf=new _0x3d108f();_0xab8cdf[_0x1e7f62(0x18a)]=_0x1f94c6,this[_0x1e7f62(0x17e)]({'tag':_0x1e7f62(0x175),'attributes':{'class':['ck',_0x1e7f62(0x182),!0x1===_0xd85842[_0x1e7f62(0x18b)]?_0x1e7f62(0x183):null][_0x1e7f62(0x169)](Boolean)},'children':[_0xab8cdf,{'tag':_0x1e7f62(0x179),'children':[_0x16b3be(_0x5bce01,_0x1e7f62(0x17d))]},this[_0x1e7f62(0x16e)]]});}}function _0x236d(_0x415cfe,_0x42eb43){const _0x1b56c2=_0x1b56();return _0x236d=function(_0x236d8e,_0x316d67){_0x236d8e=_0x236d8e-0x168;let _0x35eeb0=_0x1b56c2[_0x236d8e];return _0x35eeb0;},_0x236d(_0x415cfe,_0x42eb43);}export class ShowChangesToggleView extends _0x22934b{[_0x3855b7(0x180)](){const _0x44d51d=_0x3855b7;super[_0x44d51d(0x180)](),this[_0x44d51d(0x184)][_0x44d51d(0x171)](this[_0x44d51d(0x16d)]),this[_0x44d51d(0x184)][_0x44d51d(0x16f)](this[_0x44d51d(0x16d)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xd25be0,_0x1e1543){const _0x1dd535=_0x27d8,_0x325a5f=_0xd25be0();while(!![]){try{const _0x44e807=parseInt(_0x1dd535(0x7a))/0x1+parseInt(_0x1dd535(0x72))/0x2+parseInt(_0x1dd535(0x79))/0x3*(parseInt(_0x1dd535(0x76))/0x4)+-parseInt(_0x1dd535(0x78))/0x5+parseInt(_0x1dd535(0x6b))/0x6*(-parseInt(_0x1dd535(0x7d))/0x7)+-parseInt(_0x1dd535(0x70))/0x8*(-parseInt(_0x1dd535(0x68))/0x9)+-parseInt(_0x1dd535(0x7c))/0xa;if(_0x44e807===_0x1e1543)break;else _0x325a5f['push'](_0x325a5f['shift']());}catch(_0x2e1e21){_0x325a5f['push'](_0x325a5f['shift']());}}}(_0x2fd4,0x20524));function _0x2fd4(){const _0x11c0a3=['label','276142BUkwUX','set','AI_TABS_LABEL_MINIMIZE','isOn','1852HMWVdy','bind','1056255mrEsfk','1266gGYWcz','245794pQhnTB','resizeTabs','1881600DgqovM','960113hNRkQS','7407bNxoNi','fire','icon','6BujCxz','isMaximized','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','AI_TABS_LABEL_MAXIMIZE','execute','872ymFbkI'];_0x2fd4=function(){return _0x11c0a3;};return _0x2fd4();}import{ButtonView as _0x11c098}from'ckeditor5/src/ui.js';import{IconMaximize as _0x589e99,IconMinimize as _0x32cb71}from'ckeditor5/src/icons.js';function _0x27d8(_0x1b50c8,_0x525aa7){const _0x2fd4b1=_0x2fd4();return _0x27d8=function(_0x27d860,_0x266d6d){_0x27d860=_0x27d860-0x68;let _0x5da542=_0x2fd4b1[_0x27d860];return _0x5da542;},_0x27d8(_0x1b50c8,_0x525aa7);}import{getTranslation as _0x4ad5b0}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x485260,_0x5d1fe7){const _0x2ecf09=_0x27d8,_0x5d6c17=new _0x11c098(_0x485260),_0x325396=_0x4ad5b0(_0x485260,_0x2ecf09(0x74)),_0x199223=_0x4ad5b0(_0x485260,_0x2ecf09(0x6e));return _0x5d6c17[_0x2ecf09(0x73)]({'withText':!0x1,'icon':_0x589e99,'tooltip':!0x0,'class':_0x2ecf09(0x6d)}),_0x5d6c17[_0x2ecf09(0x77)](_0x2ecf09(0x71))['to'](_0x5d1fe7,_0x2ecf09(0x6c),_0x5e24b2=>_0x5e24b2?_0x325396:_0x199223),_0x5d6c17[_0x2ecf09(0x77)](_0x2ecf09(0x6a))['to'](_0x5d1fe7,_0x2ecf09(0x6c),_0x4404e5=>_0x4404e5?_0x32cb71:_0x589e99),_0x5d6c17[_0x2ecf09(0x77)](_0x2ecf09(0x75))['to'](_0x5d1fe7,_0x2ecf09(0x6c)),_0x5d6c17['on'](_0x2ecf09(0x6f),()=>{const _0x28b632=_0x2ecf09;_0x5d1fe7[_0x28b632(0x69)](_0x28b632(0x7b));}),_0x5d6c17;}
23
+ (function(_0x273e7e,_0x2afef5){const _0x4d18b5=_0x59be,_0x780011=_0x273e7e();while(!![]){try{const _0x48e5f8=parseInt(_0x4d18b5(0xa9))/0x1*(-parseInt(_0x4d18b5(0x9b))/0x2)+parseInt(_0x4d18b5(0xab))/0x3*(parseInt(_0x4d18b5(0x9e))/0x4)+-parseInt(_0x4d18b5(0xa8))/0x5+-parseInt(_0x4d18b5(0xac))/0x6*(-parseInt(_0x4d18b5(0xa1))/0x7)+-parseInt(_0x4d18b5(0xad))/0x8*(parseInt(_0x4d18b5(0xa2))/0x9)+-parseInt(_0x4d18b5(0xae))/0xa*(-parseInt(_0x4d18b5(0xa7))/0xb)+-parseInt(_0x4d18b5(0x9f))/0xc;if(_0x48e5f8===_0x2afef5)break;else _0x780011['push'](_0x780011['shift']());}catch(_0x51e46f){_0x780011['push'](_0x780011['shift']());}}}(_0x11c8,0xe2f0d));function _0x59be(_0x468313,_0x17391e){const _0x11c83d=_0x11c8();return _0x59be=function(_0x59be7f,_0xe6013a){_0x59be7f=_0x59be7f-0x97;let _0x4dc1dc=_0x11c83d[_0x59be7f];return _0x4dc1dc;},_0x59be(_0x468313,_0x17391e);}function _0x11c8(){const _0x599dbe=['20583ZzksQY','isMaximized','resizeTabs','isOn','AI_TABS_LABEL_MAXIMIZE','363QUpzbt','442325EHsCEp','114252KsZqti','fire','6033EvvmwP','3330gvwKtZ','2488ZCRUlY','221660EOxYiF','execute','AI_TABS_LABEL_MINIMIZE','icon','set','4lzrUzV','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','bind','3176ccvEDY','23712624DUHRPM','label','20251ISGACK'];_0x11c8=function(){return _0x599dbe;};return _0x11c8();}import{ButtonView as _0x235291}from'ckeditor5/src/ui.js';import{IconMaximize as _0x46b41c,IconMinimize as _0xdd7566}from'ckeditor5/src/icons.js';import{getTranslation as _0x527804}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x130ce1,_0x2dad5d){const _0x5c90ea=_0x59be,_0x4048ea=new _0x235291(_0x130ce1),_0x19d869=_0x527804(_0x130ce1,_0x5c90ea(0x98)),_0x57eb5e=_0x527804(_0x130ce1,_0x5c90ea(0xa6));return _0x4048ea[_0x5c90ea(0x9a)]({'withText':!0x1,'icon':_0x46b41c,'tooltip':!0x0,'class':_0x5c90ea(0x9c)}),_0x4048ea[_0x5c90ea(0x9d)](_0x5c90ea(0xa0))['to'](_0x2dad5d,_0x5c90ea(0xa3),_0x178fc2=>_0x178fc2?_0x19d869:_0x57eb5e),_0x4048ea[_0x5c90ea(0x9d)](_0x5c90ea(0x99))['to'](_0x2dad5d,_0x5c90ea(0xa3),_0x2e4d5d=>_0x2e4d5d?_0xdd7566:_0x46b41c),_0x4048ea[_0x5c90ea(0x9d)](_0x5c90ea(0xa5))['to'](_0x2dad5d,_0x5c90ea(0xa3)),_0x4048ea['on'](_0x5c90ea(0x97),()=>{const _0xab12b1=_0x5c90ea;_0x2dad5d[_0xab12b1(0xaa)](_0xab12b1(0xa4));}),_0x4048ea;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x20b7(){const _0x179f6f=['match','same','length','1OyBSOC','index','parent','100ZtiTzW','createBefore','reduce','ai-documentposition-index-out-of-bounds','slice','path','isEqual','start','createFromPath','createAfter','778398FOvTuy','ai-documentposition-createfrompath-path-cannot-be-empty','124154jZGMHf','466665vdTbTG','2121327aQwesD','96412MfPLiK','getNudgedToWordBoundary','nextNode','end','createAt','3bXNcZg','367136Iznngc','document','data','indexOf','previousNode','5397bjmzLq','2320JVpQZa'];_0x20b7=function(){return _0x179f6f;};return _0x20b7();}const _0x2a530b=_0x53a2;function _0x53a2(_0x5b0614,_0x3cded3){const _0x20b718=_0x20b7();return _0x53a2=function(_0x53a272,_0x42a72c){_0x53a272=_0x53a272-0xeb;let _0x16119e=_0x20b718[_0x53a272];return _0x16119e;},_0x53a2(_0x5b0614,_0x3cded3);}(function(_0x2196db,_0xf21edd){const _0x51992a=_0x53a2,_0x307f8e=_0x2196db();while(!![]){try{const _0x120308=parseInt(_0x51992a(0xf0))/0x1*(parseInt(_0x51992a(0xff))/0x2)+-parseInt(_0x51992a(0x107))/0x3*(parseInt(_0x51992a(0x102))/0x4)+parseInt(_0x51992a(0x100))/0x5+parseInt(_0x51992a(0xfd))/0x6+parseInt(_0x51992a(0xeb))/0x7*(-parseInt(_0x51992a(0xec))/0x8)+-parseInt(_0x51992a(0x101))/0x9+parseInt(_0x51992a(0xf3))/0xa*(parseInt(_0x51992a(0x108))/0xb);if(_0x120308===_0xf21edd)break;else _0x307f8e['push'](_0x307f8e['shift']());}catch(_0x3684fc){_0x307f8e['push'](_0x307f8e['shift']());}}}(_0x20b7,0x21153));import{CKEditorError as _0x4e5f6a,compareArrays as _0x953327}from'ckeditor5/src/utils.js';import{getNodePath as _0x1daba8,isText as _0x5e46d8,getChildren as _0x387a64,isDocument as _0x1494be,getParent as _0x239afb,textContent as _0x2d07a2,hasChildren as _0xd21a62}from'./htmlparser.js';export class DocumentPosition{[_0x2a530b(0xf2)];[_0x2a530b(0xf1)];[_0x2a530b(0x109)];constructor(_0x1daa62,_0x413065,_0x26f75d){const _0x2d2fd2=_0x2a530b;if(_0x5e46d8(_0x413065)&&_0x26f75d>_0x413065[_0x2d2fd2(0x10a)][_0x2d2fd2(0xef)])throw new _0x4e5f6a(_0x2d2fd2(0xf6),null,{'index':_0x26f75d,'parent':_0x413065});if(_0xd21a62(_0x413065)&&_0x26f75d>_0x387a64(_0x413065)[_0x2d2fd2(0xef)])throw new _0x4e5f6a(_0x2d2fd2(0xf6),null,{'index':_0x26f75d,'parent':_0x413065});if(_0x26f75d<0x0)throw new _0x4e5f6a(_0x2d2fd2(0xf6),null,{'index':_0x26f75d,'parent':_0x413065});this[_0x2d2fd2(0xf2)]=_0x413065,this[_0x2d2fd2(0xf1)]=_0x26f75d,this[_0x2d2fd2(0x109)]=_0x1daa62;}get[_0x2a530b(0xf8)](){const _0x4ea14f=_0x2a530b;return[..._0x1daba8(this[_0x4ea14f(0xf2)]),this[_0x4ea14f(0xf1)]];}[_0x2a530b(0xf9)](_0x1b6197){const _0x48809f=_0x2a530b;return this[_0x48809f(0x109)]==_0x1b6197[_0x48809f(0x109)]&&_0x48809f(0xee)===_0x953327(this[_0x48809f(0xf8)],_0x1b6197[_0x48809f(0xf8)]);}get[_0x2a530b(0x104)](){const _0x4db4af=_0x2a530b;if(_0xd21a62(this[_0x4db4af(0xf2)])){const _0x226c84=_0x387a64(this[_0x4db4af(0xf2)])[this[_0x4db4af(0xf1)]];if(_0x226c84)return _0x226c84;{const _0x20194b=DocumentPosition[_0x4db4af(0xfc)](this[_0x4db4af(0x109)],this[_0x4db4af(0xf2)]);if(_0x20194b)return _0x20194b[_0x4db4af(0x104)];}}return null;}get[_0x2a530b(0x10c)](){const _0x1877a5=_0x2a530b;if(_0xd21a62(this[_0x1877a5(0xf2)])){const _0x590ead=_0x387a64(this[_0x1877a5(0xf2)])[this[_0x1877a5(0xf1)]-0x1];if(_0x590ead)return _0x590ead;{const _0x2b269f=DocumentPosition[_0x1877a5(0xf4)](this[_0x1877a5(0x109)],this[_0x1877a5(0xf2)]);if(_0x2b269f)return _0x2b269f[_0x1877a5(0x10c)];}}return null;}[_0x2a530b(0x103)](_0x57a93d=_0x2a530b(0xfa)){const _0x5dd13d=_0x2a530b;if(!_0x5e46d8(this[_0x5dd13d(0xf2)]))return this;const _0x4813e5=this[_0x5dd13d(0xf8)][this[_0x5dd13d(0xf8)][_0x5dd13d(0xef)]-0x1],_0x13ec9a=_0x2d07a2(this[_0x5dd13d(0xf2)])[_0x5dd13d(0xed)](/(?:\s*\S+\s*)/g);let _0x4a2abd=0x0,_0x25902b=_0x4813e5;for(const _0x39f00d of _0x13ec9a){if(_0x4a2abd+_0x39f00d[_0x5dd13d(0xef)]===_0x4813e5)return this;if(_0x4a2abd+_0x39f00d[_0x5dd13d(0xef)]>_0x4813e5){_0x25902b=_0x5dd13d(0xfa)===_0x57a93d?_0x4a2abd:_0x4a2abd+_0x39f00d[_0x5dd13d(0xef)];break;}_0x4a2abd+=_0x39f00d[_0x5dd13d(0xef)];}return DocumentPosition[_0x5dd13d(0x106)](this[_0x5dd13d(0x109)],this[_0x5dd13d(0xf2)],_0x25902b);}static[_0x2a530b(0xfc)](_0x1a83b5,_0x5e380a){const _0x2046fb=_0x2a530b;if(_0x1494be(_0x5e380a))return null;const _0x5412b9=_0x239afb(_0x5e380a);return DocumentPosition[_0x2046fb(0x106)](_0x1a83b5,_0x5412b9,_0x387a64(_0x5412b9)[_0x2046fb(0x10b)](_0x5e380a)+0x1);}static[_0x2a530b(0xf4)](_0x47ae74,_0x5761fc){const _0x59f1d6=_0x2a530b;if(_0x1494be(_0x5761fc))return null;const _0xe5f255=_0x239afb(_0x5761fc);return DocumentPosition[_0x59f1d6(0x106)](_0x47ae74,_0xe5f255,_0x387a64(_0xe5f255)[_0x59f1d6(0x10b)](_0x5761fc));}static[_0x2a530b(0x106)](_0x3d36f4,_0x6543de,_0x5a3bbf=_0x2a530b(0xfa)){const _0x59b8e0=_0x2a530b;return new DocumentPosition(_0x3d36f4,_0x6543de,_0x59b8e0(0xfa)===_0x5a3bbf?0x0:_0x59b8e0(0x105)===_0x5a3bbf?_0x5e46d8(_0x6543de)?_0x6543de[_0x59b8e0(0x10a)][_0x59b8e0(0xef)]:_0x387a64(_0x6543de)[_0x59b8e0(0xef)]:_0x5a3bbf);}static[_0x2a530b(0xfb)](_0x56422b,_0x2ebbfb){const _0x94c985=_0x2a530b;if(!_0x2ebbfb[_0x94c985(0xef)])throw new _0x4e5f6a(_0x94c985(0xfe),null,{'path':_0x2ebbfb});const _0x55c48a=_0x2ebbfb[_0x94c985(0xf7)](0x0,-0x1)[_0x94c985(0xf5)]((_0x1a4a8e,_0x3e8712)=>_0x5e46d8(_0x1a4a8e)?_0x1a4a8e:_0x387a64(_0x1a4a8e)[_0x3e8712],_0x56422b);return DocumentPosition[_0x94c985(0x106)](_0x56422b,_0x55c48a,_0x2ebbfb[_0x2ebbfb[_0x94c985(0xef)]-0x1]);}}
23
+ function _0x327b(){const _0x104a60=['createBefore','417Nsxsrs','20099192iaRlEC','ai-documentposition-index-out-of-bounds','index','2753972cLHiRd','slice','9pmWcZr','isEqual','createAfter','reduce','258445lhxmjy','31596WVBOFY','start','getNudgedToWordBoundary','1707165VaKQqp','ai-documentposition-createfrompath-path-cannot-be-empty','document','path','end','3675525IhHtbQ','length','nextNode','data','match','indexOf','same','createFromPath','parent','previousNode','createAt','9365418cMohPh'];_0x327b=function(){return _0x104a60;};return _0x327b();}const _0x59c3ae=_0x3647;(function(_0x489b96,_0x527a6d){const _0x9f9c45=_0x3647,_0x272ec1=_0x489b96();while(!![]){try{const _0xe01322=parseInt(_0x9f9c45(0x1d7))/0x1+parseInt(_0x9f9c45(0x1d1))/0x2+parseInt(_0x9f9c45(0x1cd))/0x3*(parseInt(_0x9f9c45(0x1d8))/0x4)+-parseInt(_0x9f9c45(0x1db))/0x5+parseInt(_0x9f9c45(0x1cb))/0x6+-parseInt(_0x9f9c45(0x1e0))/0x7+parseInt(_0x9f9c45(0x1ce))/0x8*(-parseInt(_0x9f9c45(0x1d3))/0x9);if(_0xe01322===_0x527a6d)break;else _0x272ec1['push'](_0x272ec1['shift']());}catch(_0x3f092a){_0x272ec1['push'](_0x272ec1['shift']());}}}(_0x327b,0xdf7bc));import{CKEditorError as _0x237713,compareArrays as _0x3ebc22}from'ckeditor5/src/utils.js';import{getNodePath as _0x3488da,isText as _0x3b4860,getChildren as _0x30a9da,isDocument as _0x1844ed,getParent as _0x579a6d,textContent as _0x2f0098,hasChildren as _0x5e4710}from'./htmlparser.js';function _0x3647(_0x4cce27,_0x233b11){const _0x327bc6=_0x327b();return _0x3647=function(_0x3647c7,_0x32526b){_0x3647c7=_0x3647c7-0x1c1;let _0x10b548=_0x327bc6[_0x3647c7];return _0x10b548;},_0x3647(_0x4cce27,_0x233b11);}export class DocumentPosition{[_0x59c3ae(0x1c8)];[_0x59c3ae(0x1d0)];[_0x59c3ae(0x1dd)];constructor(_0x3127f7,_0x1747d0,_0x5353c7){const _0x1242fa=_0x59c3ae;if(_0x3b4860(_0x1747d0)&&_0x5353c7>_0x1747d0[_0x1242fa(0x1c3)][_0x1242fa(0x1c1)])throw new _0x237713(_0x1242fa(0x1cf),null,{'index':_0x5353c7,'parent':_0x1747d0});if(_0x5e4710(_0x1747d0)&&_0x5353c7>_0x30a9da(_0x1747d0)[_0x1242fa(0x1c1)])throw new _0x237713(_0x1242fa(0x1cf),null,{'index':_0x5353c7,'parent':_0x1747d0});if(_0x5353c7<0x0)throw new _0x237713(_0x1242fa(0x1cf),null,{'index':_0x5353c7,'parent':_0x1747d0});this[_0x1242fa(0x1c8)]=_0x1747d0,this[_0x1242fa(0x1d0)]=_0x5353c7,this[_0x1242fa(0x1dd)]=_0x3127f7;}get[_0x59c3ae(0x1de)](){const _0x4dfe62=_0x59c3ae;return[..._0x3488da(this[_0x4dfe62(0x1c8)]),this[_0x4dfe62(0x1d0)]];}[_0x59c3ae(0x1d4)](_0x30ba8e){const _0x41cb2c=_0x59c3ae;return this[_0x41cb2c(0x1dd)]==_0x30ba8e[_0x41cb2c(0x1dd)]&&_0x41cb2c(0x1c6)===_0x3ebc22(this[_0x41cb2c(0x1de)],_0x30ba8e[_0x41cb2c(0x1de)]);}get[_0x59c3ae(0x1c2)](){const _0x293359=_0x59c3ae;if(_0x5e4710(this[_0x293359(0x1c8)])){const _0x166af7=_0x30a9da(this[_0x293359(0x1c8)])[this[_0x293359(0x1d0)]];if(_0x166af7)return _0x166af7;{const _0x3c9387=DocumentPosition[_0x293359(0x1d5)](this[_0x293359(0x1dd)],this[_0x293359(0x1c8)]);if(_0x3c9387)return _0x3c9387[_0x293359(0x1c2)];}}return null;}get[_0x59c3ae(0x1c9)](){const _0x3e0a51=_0x59c3ae;if(_0x5e4710(this[_0x3e0a51(0x1c8)])){const _0x208a73=_0x30a9da(this[_0x3e0a51(0x1c8)])[this[_0x3e0a51(0x1d0)]-0x1];if(_0x208a73)return _0x208a73;{const _0x3eccde=DocumentPosition[_0x3e0a51(0x1cc)](this[_0x3e0a51(0x1dd)],this[_0x3e0a51(0x1c8)]);if(_0x3eccde)return _0x3eccde[_0x3e0a51(0x1c9)];}}return null;}[_0x59c3ae(0x1da)](_0x12f124=_0x59c3ae(0x1d9)){const _0x28baf4=_0x59c3ae;if(!_0x3b4860(this[_0x28baf4(0x1c8)]))return this;const _0xc337cf=this[_0x28baf4(0x1de)][this[_0x28baf4(0x1de)][_0x28baf4(0x1c1)]-0x1],_0xb0fa2d=_0x2f0098(this[_0x28baf4(0x1c8)])[_0x28baf4(0x1c4)](/(?:\s*\S+\s*)/g);let _0x549bf8=0x0,_0x2e150f=_0xc337cf;for(const _0x59f9cb of _0xb0fa2d){if(_0x549bf8+_0x59f9cb[_0x28baf4(0x1c1)]===_0xc337cf)return this;if(_0x549bf8+_0x59f9cb[_0x28baf4(0x1c1)]>_0xc337cf){_0x2e150f=_0x28baf4(0x1d9)===_0x12f124?_0x549bf8:_0x549bf8+_0x59f9cb[_0x28baf4(0x1c1)];break;}_0x549bf8+=_0x59f9cb[_0x28baf4(0x1c1)];}return DocumentPosition[_0x28baf4(0x1ca)](this[_0x28baf4(0x1dd)],this[_0x28baf4(0x1c8)],_0x2e150f);}static[_0x59c3ae(0x1d5)](_0x4ed4c0,_0x12c867){const _0x5513ee=_0x59c3ae;if(_0x1844ed(_0x12c867))return null;const _0x15e911=_0x579a6d(_0x12c867);return DocumentPosition[_0x5513ee(0x1ca)](_0x4ed4c0,_0x15e911,_0x30a9da(_0x15e911)[_0x5513ee(0x1c5)](_0x12c867)+0x1);}static[_0x59c3ae(0x1cc)](_0x3822a7,_0x1a35cc){const _0x230a50=_0x59c3ae;if(_0x1844ed(_0x1a35cc))return null;const _0x438cec=_0x579a6d(_0x1a35cc);return DocumentPosition[_0x230a50(0x1ca)](_0x3822a7,_0x438cec,_0x30a9da(_0x438cec)[_0x230a50(0x1c5)](_0x1a35cc));}static[_0x59c3ae(0x1ca)](_0x2c3f61,_0x47818f,_0x142bd1=_0x59c3ae(0x1d9)){const _0x4e14ff=_0x59c3ae;return new DocumentPosition(_0x2c3f61,_0x47818f,_0x4e14ff(0x1d9)===_0x142bd1?0x0:_0x4e14ff(0x1df)===_0x142bd1?_0x3b4860(_0x47818f)?_0x47818f[_0x4e14ff(0x1c3)][_0x4e14ff(0x1c1)]:_0x30a9da(_0x47818f)[_0x4e14ff(0x1c1)]:_0x142bd1);}static[_0x59c3ae(0x1c7)](_0xc08b33,_0x5f826e){const _0x3ee558=_0x59c3ae;if(!_0x5f826e[_0x3ee558(0x1c1)])throw new _0x237713(_0x3ee558(0x1dc),null,{'path':_0x5f826e});const _0x2a5cea=_0x5f826e[_0x3ee558(0x1d2)](0x0,-0x1)[_0x3ee558(0x1d6)]((_0x127927,_0x27d2b3)=>_0x3b4860(_0x127927)?_0x127927:_0x30a9da(_0x127927)[_0x27d2b3],_0xc08b33);return DocumentPosition[_0x3ee558(0x1ca)](_0xc08b33,_0x2a5cea,_0x5f826e[_0x5f826e[_0x3ee558(0x1c1)]-0x1]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x548572=_0x2534;function _0x2534(_0x4fc817,_0x517066){const _0x2584e4=_0x2584();return _0x2534=function(_0x253410,_0x375c28){_0x253410=_0x253410-0xd5;let _0x37ab17=_0x2584e4[_0x253410];return _0x37ab17;},_0x2534(_0x4fc817,_0x517066);}function _0x2584(){const _0x219179=['createAt','includes','parent','forEach','3738610drnxpo','length','250smknLN','1712997rESgXK','previousNode','createAfter','firstChild','path','883720HtIWRm','21vecgws','isEqual','5fVdXHc','document','getNudgedToWordBoundary','createBefore','end','nextNode','push','getContent','start','slice','data','654420qCEtbE','688932ApOZCz','384VuBXii','createFromPath','reverse','723848wNeGEP','lastChild'];_0x2584=function(){return _0x219179;};return _0x2584();}(function(_0x2ed52d,_0x3b3821){const _0x4ba4d8=_0x2534,_0x2168ab=_0x2ed52d();while(!![]){try{const _0xcf8751=parseInt(_0x4ba4d8(0xe8))/0x1*(-parseInt(_0x4ba4d8(0xdd))/0x2)+parseInt(_0x4ba4d8(0xdc))/0x3+-parseInt(_0x4ba4d8(0xee))/0x4*(parseInt(_0x4ba4d8(0xf1))/0x5)+parseInt(_0x4ba4d8(0xdb))/0x6+-parseInt(_0x4ba4d8(0xef))/0x7*(-parseInt(_0x4ba4d8(0xe0))/0x8)+parseInt(_0x4ba4d8(0xe9))/0x9+-parseInt(_0x4ba4d8(0xe6))/0xa;if(_0xcf8751===_0x3b3821)break;else _0x2168ab['push'](_0x2168ab['shift']());}catch(_0x147367){_0x2168ab['push'](_0x2168ab['shift']());}}}(_0x2584,0x26803));import{DocumentPosition as _0x5cebe3}from'./documentposition.js';import{clone as _0x1c361c,getParents as _0x4a08f2,Document as _0x1c4b52,Text as _0x39e7f0,isTag as _0x3e58a2,isText as _0x38e488,replaceElement as _0x350d0c,removeElement as _0x5e656f}from'./htmlparser.js';export class DocumentRange{[_0x548572(0xd8)];[_0x548572(0xf5)];constructor(_0x3c0006,_0x4abf9c){const _0x5c3e8b=_0x548572;this[_0x5c3e8b(0xd8)]=_0x3c0006,this[_0x5c3e8b(0xf5)]=_0x4abf9c;}[_0x548572(0xf0)](_0x3209e8){const _0x4a8034=_0x548572;return this==_0x3209e8||this[_0x4a8034(0xd8)][_0x4a8034(0xf0)](_0x3209e8[_0x4a8034(0xd8)])&&this[_0x4a8034(0xf5)][_0x4a8034(0xf0)](_0x3209e8[_0x4a8034(0xf5)]);}[_0x548572(0xf3)](){const _0x314028=_0x548572;return new DocumentRange(this[_0x314028(0xd8)][_0x314028(0xf3)](_0x314028(0xd8)),this[_0x314028(0xf5)][_0x314028(0xf3)](_0x314028(0xf5)));}[_0x548572(0xd7)](){const _0x1bd72e=_0x548572,_0x39989a=_0x1c361c(this[_0x1bd72e(0xd8)][_0x1bd72e(0xf2)]),_0x15cbc8=_0x5cebe3[_0x1bd72e(0xde)](_0x39989a,this[_0x1bd72e(0xd8)][_0x1bd72e(0xed)]),_0x9f2024=_0x5cebe3[_0x1bd72e(0xde)](_0x39989a,this[_0x1bd72e(0xf5)][_0x1bd72e(0xed)]);let _0x2b0941,_0x43aaa8;if(_0x38e488(_0x15cbc8[_0x1bd72e(0xe4)])){const _0x111cf1=_0x15cbc8[_0x1bd72e(0xed)][_0x15cbc8[_0x1bd72e(0xed)][_0x1bd72e(0xe7)]-0x1],_0x2675c9=new _0x39e7f0(_0x15cbc8[_0x1bd72e(0xe4)][_0x1bd72e(0xda)][_0x1bd72e(0xd9)](_0x111cf1));_0x350d0c(_0x15cbc8[_0x1bd72e(0xe4)],_0x2675c9),_0x2b0941=_0x2675c9;}else _0x2b0941=_0x15cbc8[_0x1bd72e(0xd5)];if(_0x38e488(_0x9f2024[_0x1bd72e(0xe4)])){const _0x3e730e=_0x9f2024[_0x1bd72e(0xed)][_0x9f2024[_0x1bd72e(0xed)][_0x1bd72e(0xe7)]-0x1],_0x1fed1b=new _0x39e7f0(_0x9f2024[_0x1bd72e(0xe4)][_0x1bd72e(0xda)][_0x1bd72e(0xd9)](0x0,_0x3e730e));_0x350d0c(_0x9f2024[_0x1bd72e(0xe4)],_0x1fed1b),_0x43aaa8=_0x1fed1b;}else _0x43aaa8=_0x9f2024[_0x1bd72e(0xea)];if(!(_0x2b0941&&_0x43aaa8&&_0x39989a[_0x1bd72e(0xec)]&&_0x39989a[_0x1bd72e(0xe1)]))return new _0x1c4b52([]);const _0x5cdffc=_0x4a08f2(_0x2b0941),_0x3ec082=_0x4a08f2(_0x43aaa8),_0x3d561f=[],_0x5f1f29=[];let _0x18cdd3=_0x39989a[_0x1bd72e(0xec)];for(;_0x18cdd3&&_0x18cdd3!==_0x2b0941;){let _0x48c40c;_0x5cdffc[_0x1bd72e(0xe3)](_0x18cdd3)||_0x3d561f[_0x1bd72e(0xd6)](_0x18cdd3),_0x48c40c=_0x3e58a2(_0x18cdd3)?_0x5cebe3[_0x1bd72e(0xe2)](_0x39989a,_0x18cdd3,_0x1bd72e(0xd8)):_0x5cebe3[_0x1bd72e(0xeb)](_0x39989a,_0x18cdd3),_0x18cdd3=_0x48c40c?_0x48c40c[_0x1bd72e(0xd5)]:null;}for(_0x18cdd3=_0x39989a[_0x1bd72e(0xe1)];_0x18cdd3&&_0x18cdd3!==_0x43aaa8;){let _0x2c3566;_0x3ec082[_0x1bd72e(0xe3)](_0x18cdd3)||_0x5f1f29[_0x1bd72e(0xd6)](_0x18cdd3),_0x2c3566=_0x3e58a2(_0x18cdd3)?_0x5cebe3[_0x1bd72e(0xe2)](_0x39989a,_0x18cdd3,_0x1bd72e(0xf5)):_0x5cebe3[_0x1bd72e(0xf4)](_0x39989a,_0x18cdd3),_0x18cdd3=_0x2c3566?_0x2c3566[_0x1bd72e(0xea)]:null;}return _0x3d561f[_0x1bd72e(0xe5)](_0x32776f=>{_0x5e656f(_0x32776f);}),_0x5f1f29[_0x1bd72e(0xdf)]()[_0x1bd72e(0xe5)](_0x363ddd=>{_0x5e656f(_0x363ddd);}),_0x39989a;}}
23
+ const _0x1e5528=_0x113c;(function(_0x5a2ccb,_0x1c1874){const _0x13cf6f=_0x113c,_0x3438f3=_0x5a2ccb();while(!![]){try{const _0x374970=parseInt(_0x13cf6f(0x13b))/0x1*(parseInt(_0x13cf6f(0x13d))/0x2)+-parseInt(_0x13cf6f(0x139))/0x3*(parseInt(_0x13cf6f(0x137))/0x4)+parseInt(_0x13cf6f(0x145))/0x5*(-parseInt(_0x13cf6f(0x141))/0x6)+-parseInt(_0x13cf6f(0x148))/0x7*(parseInt(_0x13cf6f(0x132))/0x8)+-parseInt(_0x13cf6f(0x146))/0x9+-parseInt(_0x13cf6f(0x135))/0xa+parseInt(_0x13cf6f(0x13a))/0xb;if(_0x374970===_0x1c1874)break;else _0x3438f3['push'](_0x3438f3['shift']());}catch(_0x587d13){_0x3438f3['push'](_0x3438f3['shift']());}}}(_0x1dd6,0xad0c6));function _0x113c(_0x30f4fb,_0x1f8e2d){const _0x1dd62e=_0x1dd6();return _0x113c=function(_0x113cf4,_0x48a537){_0x113cf4=_0x113cf4-0x131;let _0x2ff0f1=_0x1dd62e[_0x113cf4];return _0x2ff0f1;},_0x113c(_0x30f4fb,_0x1f8e2d);}import{DocumentPosition as _0x2e4810}from'./documentposition.js';import{clone as _0x205f7f,getParents as _0x7d48,Document as _0xc03aa4,Text as _0x26308c,isTag as _0x117caa,isText as _0x5acc06,replaceElement as _0x535c05,removeElement as _0x5bffcb}from'./htmlparser.js';function _0x1dd6(){const _0xf311f=['4905fHPGyE','9559917ZdKJLx','reverse','14qPtiAL','start','getContent','nextNode','document','push','forEach','getNudgedToWordBoundary','path','end','length','data','4512328ewsosy','lastChild','previousNode','12647510IJuwUV','parent','128300CFTcxk','slice','99lqAEvy','68897631CGNrPg','34873NGUDSU','createBefore','10ymfFRD','includes','isEqual','firstChild','7434smRYyR','createFromPath','createAt','createAfter'];_0x1dd6=function(){return _0xf311f;};return _0x1dd6();}export class DocumentRange{[_0x1e5528(0x149)];[_0x1e5528(0x151)];constructor(_0x2681be,_0xa696b2){const _0x3dc0c0=_0x1e5528;this[_0x3dc0c0(0x149)]=_0x2681be,this[_0x3dc0c0(0x151)]=_0xa696b2;}[_0x1e5528(0x13f)](_0x148c52){const _0x42b468=_0x1e5528;return this==_0x148c52||this[_0x42b468(0x149)][_0x42b468(0x13f)](_0x148c52[_0x42b468(0x149)])&&this[_0x42b468(0x151)][_0x42b468(0x13f)](_0x148c52[_0x42b468(0x151)]);}[_0x1e5528(0x14f)](){const _0x5a4bf3=_0x1e5528;return new DocumentRange(this[_0x5a4bf3(0x149)][_0x5a4bf3(0x14f)](_0x5a4bf3(0x149)),this[_0x5a4bf3(0x151)][_0x5a4bf3(0x14f)](_0x5a4bf3(0x151)));}[_0x1e5528(0x14a)](){const _0x4d49aa=_0x1e5528,_0x1be1ac=_0x205f7f(this[_0x4d49aa(0x149)][_0x4d49aa(0x14c)]),_0x43b641=_0x2e4810[_0x4d49aa(0x142)](_0x1be1ac,this[_0x4d49aa(0x149)][_0x4d49aa(0x150)]),_0x2669d0=_0x2e4810[_0x4d49aa(0x142)](_0x1be1ac,this[_0x4d49aa(0x151)][_0x4d49aa(0x150)]);let _0x3c86e2,_0x3a1b38;if(_0x5acc06(_0x43b641[_0x4d49aa(0x136)])){const _0x22f7b3=_0x43b641[_0x4d49aa(0x150)][_0x43b641[_0x4d49aa(0x150)][_0x4d49aa(0x152)]-0x1],_0x175d91=new _0x26308c(_0x43b641[_0x4d49aa(0x136)][_0x4d49aa(0x131)][_0x4d49aa(0x138)](_0x22f7b3));_0x535c05(_0x43b641[_0x4d49aa(0x136)],_0x175d91),_0x3c86e2=_0x175d91;}else _0x3c86e2=_0x43b641[_0x4d49aa(0x14b)];if(_0x5acc06(_0x2669d0[_0x4d49aa(0x136)])){const _0x46fa92=_0x2669d0[_0x4d49aa(0x150)][_0x2669d0[_0x4d49aa(0x150)][_0x4d49aa(0x152)]-0x1],_0x3a43cc=new _0x26308c(_0x2669d0[_0x4d49aa(0x136)][_0x4d49aa(0x131)][_0x4d49aa(0x138)](0x0,_0x46fa92));_0x535c05(_0x2669d0[_0x4d49aa(0x136)],_0x3a43cc),_0x3a1b38=_0x3a43cc;}else _0x3a1b38=_0x2669d0[_0x4d49aa(0x134)];if(!(_0x3c86e2&&_0x3a1b38&&_0x1be1ac[_0x4d49aa(0x140)]&&_0x1be1ac[_0x4d49aa(0x133)]))return new _0xc03aa4([]);const _0x5dfe8e=_0x7d48(_0x3c86e2),_0x2342f3=_0x7d48(_0x3a1b38),_0x34d3ae=[],_0x76b3d6=[];let _0x219842=_0x1be1ac[_0x4d49aa(0x140)];for(;_0x219842&&_0x219842!==_0x3c86e2;){let _0x402a91;_0x5dfe8e[_0x4d49aa(0x13e)](_0x219842)||_0x34d3ae[_0x4d49aa(0x14d)](_0x219842),_0x402a91=_0x117caa(_0x219842)?_0x2e4810[_0x4d49aa(0x143)](_0x1be1ac,_0x219842,_0x4d49aa(0x149)):_0x2e4810[_0x4d49aa(0x144)](_0x1be1ac,_0x219842),_0x219842=_0x402a91?_0x402a91[_0x4d49aa(0x14b)]:null;}for(_0x219842=_0x1be1ac[_0x4d49aa(0x133)];_0x219842&&_0x219842!==_0x3a1b38;){let _0x24863b;_0x2342f3[_0x4d49aa(0x13e)](_0x219842)||_0x76b3d6[_0x4d49aa(0x14d)](_0x219842),_0x24863b=_0x117caa(_0x219842)?_0x2e4810[_0x4d49aa(0x143)](_0x1be1ac,_0x219842,_0x4d49aa(0x151)):_0x2e4810[_0x4d49aa(0x13c)](_0x1be1ac,_0x219842),_0x219842=_0x24863b?_0x24863b[_0x4d49aa(0x134)]:null;}return _0x34d3ae[_0x4d49aa(0x14e)](_0x15df37=>{_0x5bffcb(_0x15df37);}),_0x76b3d6[_0x4d49aa(0x147)]()[_0x4d49aa(0x14e)](_0x50a0fb=>{_0x5bffcb(_0x50a0fb);}),_0x1be1ac;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x291bce,_0x815318){var _0x3da73d=_0x201a,_0x1af818=_0x291bce();while(!![]){try{var _0x254160=-parseInt(_0x3da73d(0x15d))/0x1*(-parseInt(_0x3da73d(0x15f))/0x2)+-parseInt(_0x3da73d(0x15b))/0x3+parseInt(_0x3da73d(0x15e))/0x4+parseInt(_0x3da73d(0x156))/0x5*(-parseInt(_0x3da73d(0x158))/0x6)+-parseInt(_0x3da73d(0x164))/0x7+-parseInt(_0x3da73d(0x163))/0x8*(-parseInt(_0x3da73d(0x157))/0x9)+parseInt(_0x3da73d(0x162))/0xa;if(_0x254160===_0x815318)break;else _0x1af818['push'](_0x1af818['shift']());}catch(_0x2f3407){_0x1af818['push'](_0x1af818['shift']());}}}(_0x3a5d,0x5c00a));import{CKEditorError as _0xcea57b}from'ckeditor5/src/utils.js';import{Editor as _0x57da46}from'ckeditor5/src/core.js';function _0x201a(_0x6cb80c,_0x548b87){var _0x3a5d22=_0x3a5d();return _0x201a=function(_0x201a12,_0x32ac10){_0x201a12=_0x201a12-0x156;var _0x1b362d=_0x3a5d22[_0x201a12];return _0x1b362d;},_0x201a(_0x6cb80c,_0x548b87);}export function getEditorFromContext(_0x4a6668){var _0x331813=_0x201a;if(_0x4a6668 instanceof _0x57da46)return _0x4a6668;if(_0x4a6668?.[_0x331813(0x159)]&&_0x4a6668[_0x331813(0x159)][_0x331813(0x15a)](0x0))return _0x4a6668[_0x331813(0x159)][_0x331813(0x15c)]>0x1&&console[_0x331813(0x165)](_0x331813(0x160)),_0x4a6668[_0x331813(0x159)][_0x331813(0x15a)](0x0);throw new _0xcea57b(_0x331813(0x161));}function _0x3a5d(){var _0x2551a7=['14367150xVgexK','16DqKsRS','4540375uYWRPQ','warn','150635YNKbLZ','947061QJOXaX','102uHJsZA','editors','get','996621YrccIs','length','1021rsYYJU','131016sMMYez','372KkllaG','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.','ai-get-editor-from-context-no-editor'];_0x3a5d=function(){return _0x2551a7;};return _0x3a5d();}
23
+ (function(_0x41413f,_0x186b28){var _0x1efa03=_0x48c5,_0x51425d=_0x41413f();while(!![]){try{var _0x298012=-parseInt(_0x1efa03(0xed))/0x1*(parseInt(_0x1efa03(0xe3))/0x2)+parseInt(_0x1efa03(0xf0))/0x3+parseInt(_0x1efa03(0xf1))/0x4*(-parseInt(_0x1efa03(0xe4))/0x5)+-parseInt(_0x1efa03(0xe7))/0x6*(parseInt(_0x1efa03(0xea))/0x7)+parseInt(_0x1efa03(0xe9))/0x8+-parseInt(_0x1efa03(0xe8))/0x9*(-parseInt(_0x1efa03(0xec))/0xa)+-parseInt(_0x1efa03(0xf2))/0xb*(-parseInt(_0x1efa03(0xee))/0xc);if(_0x298012===_0x186b28)break;else _0x51425d['push'](_0x51425d['shift']());}catch(_0x2b381b){_0x51425d['push'](_0x51425d['shift']());}}}(_0x4a00,0x3b15a));import{CKEditorError as _0x4d81ef}from'ckeditor5/src/utils.js';import{Editor as _0x233e8e}from'ckeditor5/src/core.js';function _0x4a00(){var _0xbefe02=['36GplQxP','get','675870QPTlLa','4PWeeeD','1781659aMxpMT','editors','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','226652UcYtQU','1751635DWlheq','warn','length','37302tldatr','71451tiSHOy','1927896Psezrc','154SIricC','ai-get-editor-from-context-no-editor','290miJaHV','4gPEPeh'];_0x4a00=function(){return _0xbefe02;};return _0x4a00();}function _0x48c5(_0x3dcc78,_0x4e3141){var _0x4a003c=_0x4a00();return _0x48c5=function(_0x48c5a4,_0x336f86){_0x48c5a4=_0x48c5a4-0xe2;var _0x46bab4=_0x4a003c[_0x48c5a4];return _0x46bab4;},_0x48c5(_0x3dcc78,_0x4e3141);}export function getEditorFromContext(_0x22a6e7){var _0x5eaeee=_0x48c5;if(_0x22a6e7 instanceof _0x233e8e)return _0x22a6e7;if(_0x22a6e7?.[_0x5eaeee(0xf3)]&&_0x22a6e7[_0x5eaeee(0xf3)][_0x5eaeee(0xef)](0x0))return _0x22a6e7[_0x5eaeee(0xf3)][_0x5eaeee(0xe6)]>0x1&&console[_0x5eaeee(0xe5)](_0x5eaeee(0xe2)),_0x22a6e7[_0x5eaeee(0xf3)][_0x5eaeee(0xef)](0x0);throw new _0x4d81ef(_0x5eaeee(0xeb));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x628e85,_0x357490){const _0x208b6f=_0x35c0,_0x4e9e07=_0x628e85();while(!![]){try{const _0x395196=-parseInt(_0x208b6f(0x190))/0x1*(-parseInt(_0x208b6f(0x18e))/0x2)+-parseInt(_0x208b6f(0x199))/0x3*(parseInt(_0x208b6f(0x18a))/0x4)+-parseInt(_0x208b6f(0x1a3))/0x5*(parseInt(_0x208b6f(0x18f))/0x6)+parseInt(_0x208b6f(0x18b))/0x7*(parseInt(_0x208b6f(0x1aa))/0x8)+-parseInt(_0x208b6f(0x1a9))/0x9+parseInt(_0x208b6f(0x19a))/0xa*(parseInt(_0x208b6f(0x196))/0xb)+parseInt(_0x208b6f(0x1ae))/0xc;if(_0x395196===_0x357490)break;else _0x4e9e07['push'](_0x4e9e07['shift']());}catch(_0x19e9c2){_0x4e9e07['push'](_0x4e9e07['shift']());}}}(_0x1885,0x9b072));function _0x35c0(_0x11cbb1,_0x43cab4){const _0x188525=_0x1885();return _0x35c0=function(_0x35c01f,_0x43ec27){_0x35c01f=_0x35c01f-0x187;let _0x1cb44c=_0x188525[_0x35c01f];return _0x1cb44c;},_0x35c0(_0x11cbb1,_0x43cab4);}function _0x1885(){const _0x1e73d7=['1iERYMM','documentContextContent','model','data-id','getDiff','version','957siPgKI','getOperations','getDocumentContext','45QjFIhh','70610cwUhUL','type','removed','shift','history','marker','length','node','filter','10TqrfWG','previousSibling','name','anchorId','operationsA','cloneNode','5079897tJpJAf','24DCFZuL','get','markers','content','6447156FJuIeU','oldRange','document','getRange','316356wpMcxy','1159270GyGdrV','new','map','2324564ceRjwx','1274760gLzkEG'];_0x1885=function(){return _0x1e73d7;};return _0x1885();}import{transformOperationSets as _0x484120}from'ckeditor5/src/engine.js';import{append as _0x329fa0,findByAttribute as _0x4a6f57,prependChild as _0x965f65,removeElement as _0x37d360,serialize as _0x2061bc}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x217d02,interaction:_0x22087e,reply:_0x299e52,groups:_0x5d49af,transform:_0x4a1fcc,documentCompare:_0x384145,documentCompareOptions:_0xd3f501}){const _0x1a63ea=_0x35c0,_0x485298=_0x22087e[_0x1a63ea(0x198)]();if(!_0x485298)return[];const _0x576c46=_0x485298[_0x1a63ea(0x1ad)],_0x3ab5fb=_0x485298[_0x1a63ea(0x195)],_0x468de1=_0x299e52[_0x1a63ea(0x191)][_0x1a63ea(0x1a8)](!0x0);for(const {changes:_0x11dd15}of _0x5d49af){const _0x4b5e28=_0x11dd15[_0x1a63ea(0x1a2)](_0x3c9018=>_0x1a63ea(0x18c)!=_0x3c9018[_0x1a63ea(0x19b)])[_0x1a63ea(0x18d)](_0x17fc4e=>_0x4a6f57(_0x1a63ea(0x193),_0x17fc4e['id'],_0x468de1)),_0x514a6a=_0x11dd15[_0x1a63ea(0x1a2)](_0x40095d=>_0x1a63ea(0x19c)!=_0x40095d[_0x1a63ea(0x19b)])[_0x1a63ea(0x18d)](_0x319eb2=>_0x319eb2[_0x1a63ea(0x1a1)][_0x1a63ea(0x1a8)](!0x0));let _0x2ce80e=null;if(_0x4b5e28[_0x1a63ea(0x1a0)]){_0x2ce80e=_0x4b5e28[0x0][_0x1a63ea(0x1a4)];for(let _0x268efa=0x0;_0x268efa<_0x4b5e28[_0x1a63ea(0x1a0)];_0x268efa++)_0x37d360(_0x4b5e28[_0x268efa]);}if(_0x514a6a[_0x1a63ea(0x1a0)]){_0x2ce80e||(_0x11dd15[0x0][_0x1a63ea(0x1a6)]?_0x2ce80e=_0x4a6f57(_0x1a63ea(0x193),_0x11dd15[0x0][_0x1a63ea(0x1a6)],_0x468de1):(_0x2ce80e=_0x514a6a[_0x1a63ea(0x19d)](),_0x965f65(_0x468de1,_0x2ce80e)));for(let _0xab7e57=0x0;_0xab7e57<_0x514a6a[_0x1a63ea(0x1a0)];_0xab7e57++)_0x329fa0(_0x2ce80e,_0x514a6a[_0xab7e57]),_0x2ce80e=_0x514a6a[_0xab7e57];}}const _0x10a178=_0x2061bc(_0x468de1),_0x549d82=_0x384145[_0x1a63ea(0x194)](_0x576c46,_0x10a178,_0xd3f501)[_0x1a63ea(0x197)]();if(_0x4a1fcc){const _0x4ef59b=_0x217d02[_0x1a63ea(0x192)][_0x1a63ea(0x188)][_0x1a63ea(0x19e)][_0x1a63ea(0x197)](_0x3ab5fb),_0x987881={'document':_0x217d02[_0x1a63ea(0x192)][_0x1a63ea(0x188)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x484120(_0x549d82,_0x4ef59b,_0x987881)[_0x1a63ea(0x1a7)];}return _0x549d82;}export function fixMarkerOperationOldRange(_0x51b016,_0x408514){const _0x10ca16=_0x35c0;if(_0x10ca16(0x19f)!=_0x408514[_0x10ca16(0x19b)])return;const _0x449e98=_0x51b016[_0x10ca16(0x192)][_0x10ca16(0x1ac)][_0x10ca16(0x1ab)](_0x408514[_0x10ca16(0x1a5)]);_0x449e98&&(_0x408514[_0x10ca16(0x187)]=_0x449e98[_0x10ca16(0x189)]());}
23
+ (function(_0x2c2277,_0x20428f){const _0x3d98a0=_0x5e64,_0x4b55d1=_0x2c2277();while(!![]){try{const _0x378607=-parseInt(_0x3d98a0(0xb4))/0x1+-parseInt(_0x3d98a0(0xb7))/0x2*(parseInt(_0x3d98a0(0xb3))/0x3)+-parseInt(_0x3d98a0(0xac))/0x4*(parseInt(_0x3d98a0(0xb8))/0x5)+-parseInt(_0x3d98a0(0xb2))/0x6*(parseInt(_0x3d98a0(0xc2))/0x7)+-parseInt(_0x3d98a0(0xbe))/0x8*(-parseInt(_0x3d98a0(0xcc))/0x9)+-parseInt(_0x3d98a0(0xc1))/0xa+-parseInt(_0x3d98a0(0xc8))/0xb*(-parseInt(_0x3d98a0(0xcf))/0xc);if(_0x378607===_0x20428f)break;else _0x4b55d1['push'](_0x4b55d1['shift']());}catch(_0x1f16c8){_0x4b55d1['push'](_0x4b55d1['shift']());}}}(_0x3810,0x277fe));import{transformOperationSets as _0x3f4b12}from'ckeditor5/src/engine.js';function _0x5e64(_0x47387e,_0xa94322){const _0x381057=_0x3810();return _0x5e64=function(_0x5e6465,_0x5bbbac){_0x5e6465=_0x5e6465-0xa8;let _0x1a3bef=_0x381057[_0x5e6465];return _0x1a3bef;},_0x5e64(_0x47387e,_0xa94322);}import{append as _0x3abc71,findByAttribute as _0x5f04ed,prependChild as _0x132f61,removeElement as _0x299cc1,serialize as _0x47e545}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x196913,interaction:_0x2577bd,reply:_0x3311e1,groups:_0x459c05,transform:_0x395f32,documentCompare:_0x58fb17,documentCompareOptions:_0x1bb88c}){const _0x17fae4=_0x5e64,_0x34f4a2=_0x2577bd[_0x17fae4(0xa8)]();if(!_0x34f4a2)return[];const _0x48f90a=_0x34f4a2[_0x17fae4(0xbc)],_0x1fd249=_0x34f4a2[_0x17fae4(0xad)],_0x23bd37=_0x3311e1[_0x17fae4(0xc3)][_0x17fae4(0xb6)](!0x0);for(const {changes:_0x4e2d42}of _0x459c05){const _0x2900a6=_0x4e2d42[_0x17fae4(0xbb)](_0x202897=>_0x17fae4(0xbd)!=_0x202897[_0x17fae4(0xbf)])[_0x17fae4(0xcb)](_0x1d6ace=>_0x5f04ed(_0x17fae4(0xb1),_0x1d6ace['id'],_0x23bd37)),_0x18418e=_0x4e2d42[_0x17fae4(0xbb)](_0xb23abb=>_0x17fae4(0xc7)!=_0xb23abb[_0x17fae4(0xbf)])[_0x17fae4(0xcb)](_0x208e11=>_0x208e11[_0x17fae4(0xc4)][_0x17fae4(0xb6)](!0x0));let _0x274f53=null;if(_0x2900a6[_0x17fae4(0xb0)]){_0x274f53=_0x2900a6[0x0][_0x17fae4(0xca)];for(let _0x2b4f04=0x0;_0x2b4f04<_0x2900a6[_0x17fae4(0xb0)];_0x2b4f04++)_0x299cc1(_0x2900a6[_0x2b4f04]);}if(_0x18418e[_0x17fae4(0xb0)]){_0x274f53||(_0x4e2d42[0x0][_0x17fae4(0xb9)]?_0x274f53=_0x5f04ed(_0x17fae4(0xb1),_0x4e2d42[0x0][_0x17fae4(0xb9)],_0x23bd37):(_0x274f53=_0x18418e[_0x17fae4(0xcd)](),_0x132f61(_0x23bd37,_0x274f53)));for(let _0x5becf1=0x0;_0x5becf1<_0x18418e[_0x17fae4(0xb0)];_0x5becf1++)_0x3abc71(_0x274f53,_0x18418e[_0x5becf1]),_0x274f53=_0x18418e[_0x5becf1];}}const _0x4d1d15=_0x47e545(_0x23bd37),_0x234df6=_0x58fb17[_0x17fae4(0xc0)](_0x48f90a,_0x4d1d15,_0x1bb88c)[_0x17fae4(0xab)]();if(_0x395f32){const _0x4e1071=_0x196913[_0x17fae4(0xce)][_0x17fae4(0xc6)][_0x17fae4(0xaf)][_0x17fae4(0xab)](_0x1fd249),_0x5f1449={'document':_0x196913[_0x17fae4(0xce)][_0x17fae4(0xc6)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x3f4b12(_0x234df6,_0x4e1071,_0x5f1449)[_0x17fae4(0xae)];}return _0x234df6;}function _0x3810(){const _0x21b058=['getRange','cloneNode','14DUnkXu','940rGyyBn','anchorId','markers','filter','content','new','7368iYpWYq','type','getDiff','2390010ugaUrW','1995161sbvGVQ','documentContextContent','node','oldRange','document','removed','80223nNBQmZ','marker','previousSibling','map','2394zMOSAY','shift','model','948snwsHs','getDocumentContext','name','get','getOperations','112RtjKdj','version','operationsA','history','length','data-id','6ulrERZ','15135VbYvet','94740JLcMWS'];_0x3810=function(){return _0x21b058;};return _0x3810();}export function fixMarkerOperationOldRange(_0x385692,_0x1977da){const _0x56abdf=_0x5e64;if(_0x56abdf(0xc9)!=_0x1977da[_0x56abdf(0xbf)])return;const _0x468fbf=_0x385692[_0x56abdf(0xce)][_0x56abdf(0xba)][_0x56abdf(0xaa)](_0x1977da[_0x56abdf(0xa9)]);_0x468fbf&&(_0x1977da[_0x56abdf(0xc5)]=_0x468fbf[_0x56abdf(0xb5)]());}