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

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 (134) 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/aichatfeederroritemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  58. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  59. package/src/aichat/utils/eventnames.js +1 -1
  60. package/src/aichat/utils/promisequeue.js +1 -1
  61. package/src/aichathistory/aichathistory.js +1 -1
  62. package/src/aichathistory/aichathistorycontroller.js +1 -1
  63. package/src/aichathistory/aichathistoryui.js +1 -1
  64. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  65. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  66. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  67. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  68. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  69. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  70. package/src/aicore/aiconnector.js +1 -1
  71. package/src/aicore/aiediting.js +1 -1
  72. package/src/aicore/model/aicapabilities.js +1 -1
  73. package/src/aicore/model/aiinteraction.js +1 -1
  74. package/src/aicore/model/aimodels.js +1 -1
  75. package/src/aicore/model/aireply.js +1 -1
  76. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  77. package/src/aicore/pipeline/airesponseparser.js +2 -2
  78. package/src/aicore/ui/aidisclaimerview.js +1 -1
  79. package/src/aicore/ui/aiskeleton.js +1 -1
  80. package/src/aicore/ui/aispinner.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  86. package/src/aicore/utils/createresizebutton.js +1 -1
  87. package/src/aicore/utils/documentposition.js +1 -1
  88. package/src/aicore/utils/documentrange.js +1 -1
  89. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  90. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  91. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  92. package/src/aicore/utils/htmlparser.js +1 -1
  93. package/src/aicore/utils/htmlstreamer.js +1 -1
  94. package/src/aicore/utils/scrollmanager.js +1 -1
  95. package/src/aieditorintegration/aieditorintegration.js +1 -1
  96. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  97. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  98. package/src/aiquickactions/aiquickactions.js +1 -1
  99. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  100. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  101. package/src/aiquickactions/aiquickactionsui.js +1 -1
  102. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  103. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  104. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  105. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  106. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  107. package/src/aireviewmode/aireviewmode.js +1 -1
  108. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  109. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  110. package/src/aireviewmode/aireviewmodeui.js +1 -1
  111. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  112. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  113. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  114. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  115. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  116. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  117. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  118. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  119. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  120. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  121. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  122. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  123. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  124. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  125. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  126. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  127. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  128. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  129. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  130. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  131. package/src/aitabs/aitabs.js +1 -1
  132. package/src/aitabs/tabs/aitabsview.js +1 -1
  133. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  134. 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
+ const _0x1f4acb=_0x1b67;(function(_0x511d76,_0x41e7f2){const _0x10b396=_0x1b67,_0x4e67b=_0x511d76();while(!![]){try{const _0x1b37ba=parseInt(_0x10b396(0x11f))/0x1+parseInt(_0x10b396(0x132))/0x2*(parseInt(_0x10b396(0x110))/0x3)+-parseInt(_0x10b396(0x10f))/0x4+-parseInt(_0x10b396(0x122))/0x5*(-parseInt(_0x10b396(0x131))/0x6)+-parseInt(_0x10b396(0x117))/0x7*(parseInt(_0x10b396(0x135))/0x8)+-parseInt(_0x10b396(0x121))/0x9*(parseInt(_0x10b396(0x124))/0xa)+parseInt(_0x10b396(0x12a))/0xb*(-parseInt(_0x10b396(0x10d))/0xc);if(_0x1b37ba===_0x41e7f2)break;else _0x4e67b['push'](_0x4e67b['shift']());}catch(_0x314182){_0x4e67b['push'](_0x4e67b['shift']());}}}(_0x1802,0x4ed0c));function _0x1802(){const _0x3fa6a1=['7lpchGC','88px','150px','_createSkeletonItems','map','setTemplate','250px','44px','512912efqxYh','40px','117KqLQdN','1142510jLYqBj','center','395570yoYAiW','100%','128px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','right','height','22yhMLJg','class','div','fill',';\x20height:\x20','left','ck-ai-skeleton__item','12qtVaSQ','374920pGrJiK','tag','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','343272PesVLi','align','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','3500976UnSjLf','24px','275288wdhzNp','9UoWOAp','72px','attributes','ck-ai-skeleton','140px','width','width:\x20'];_0x1802=function(){return _0x3fa6a1;};return _0x1802();}import{View as _0x562337}from'ckeditor5/src/ui.js';function _0x1b67(_0x1fb215,_0x1e1647){const _0x18023e=_0x1802();return _0x1b67=function(_0x1b67b6,_0xf30844){_0x1b67b6=_0x1b67b6-0x10b;let _0x53a663=_0x18023e[_0x1b67b6];return _0x53a663;},_0x1b67(_0x1fb215,_0x1e1647);}export class AISkeletonView extends _0x562337{constructor(_0x2d902c,_0x267717){const _0x52dc43=_0x1b67;super(_0x2d902c),this[_0x52dc43(0x11c)]({'tag':_0x52dc43(0x12c),'attributes':{'class':['ck',_0x52dc43(0x113)]},'children':this[_0x52dc43(0x11a)](_0x267717)});}[_0x1f4acb(0x11a)](_0x442387){const _0x1fd465=_0x1f4acb,_0x35870c=['ck',_0x1fd465(0x130)];return _0x442387[_0x1fd465(0x11b)](_0x454a7d=>{const _0x19287d=_0x1fd465;let _0x4497a7='';switch(_0x454a7d[_0x19287d(0x112)][_0x19287d(0x10b)]){case _0x19287d(0x128):_0x4497a7=_0x19287d(0x10c);break;case _0x19287d(0x123):_0x4497a7=_0x19287d(0x134);break;case _0x19287d(0x12f):_0x4497a7=_0x19287d(0x127);}return{'tag':_0x454a7d[_0x19287d(0x133)],'attributes':{'class':[..._0x35870c,_0x454a7d[_0x19287d(0x112)][_0x19287d(0x12b)]?_0x454a7d[_0x19287d(0x112)][_0x19287d(0x12b)]:''],'style':_0x19287d(0x116)+_0x454a7d[_0x19287d(0x112)][_0x19287d(0x115)]+_0x19287d(0x12e)+_0x454a7d[_0x19287d(0x112)][_0x19287d(0x129)]+';'+_0x4497a7}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x125),'height':_0x1f4acb(0x111),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x11d),'height':_0x1f4acb(0x120),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x125),'height':_0x1f4acb(0x118),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x119),'height':_0x1f4acb(0x120),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x125),'height':_0x1f4acb(0x114),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x11d),'height':_0x1f4acb(0x120),'align':_0x1f4acb(0x128)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x125),'height':_0x1f4acb(0x118),'align':_0x1f4acb(0x128)}}],'aiHistory':$e(0x5,_0x1f4acb(0x125),_0x1f4acb(0x11e),_0x1f4acb(0x128)),'aiChatResources':$e(0x8,_0x1f4acb(0x125),_0x1f4acb(0x10e),_0x1f4acb(0x128)),'aiReviewChecks':[{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x126),'height':_0x1f4acb(0x10e),'align':_0x1f4acb(0x12f)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x125),'height':_0x1f4acb(0x10e),'align':_0x1f4acb(0x12f)}},{'tag':_0x1f4acb(0x12c),'attributes':{'width':_0x1f4acb(0x126),'height':_0x1f4acb(0x10e),'align':_0x1f4acb(0x12f)}}]};function $e(_0x89eec6,_0x223d93,_0x1df46c,_0x33689b){const _0x46128b=_0x1f4acb;return new Array(_0x89eec6)[_0x46128b(0x12d)](null)[_0x46128b(0x11b)](()=>({'tag':_0x46128b(0x12c),'attributes':{'width':_0x223d93,'height':_0x1df46c,'align':_0x33689b}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2de583,_0x41e187){const _0x4c9462=_0x9e13,_0x2db3ce=_0x2de583();while(!![]){try{const _0x1cf155=-parseInt(_0x4c9462(0x18f))/0x1*(-parseInt(_0x4c9462(0x190))/0x2)+-parseInt(_0x4c9462(0x18c))/0x3*(parseInt(_0x4c9462(0x18d))/0x4)+-parseInt(_0x4c9462(0x189))/0x5+-parseInt(_0x4c9462(0x18a))/0x6*(parseInt(_0x4c9462(0x188))/0x7)+-parseInt(_0x4c9462(0x194))/0x8+parseInt(_0x4c9462(0x191))/0x9*(-parseInt(_0x4c9462(0x195))/0xa)+-parseInt(_0x4c9462(0x192))/0xb*(-parseInt(_0x4c9462(0x187))/0xc);if(_0x1cf155===_0x41e187)break;else _0x2db3ce['push'](_0x2db3ce['shift']());}catch(_0x12d280){_0x2db3ce['push'](_0x2db3ce['shift']());}}}(_0xe632,0xba91c));function _0x9e13(_0x183eaf,_0x2914d4){const _0xe632a7=_0xe632();return _0x9e13=function(_0x9e137b,_0x244485){_0x9e137b=_0x9e137b-0x186;let _0x363aaa=_0xe632a7[_0x9e137b];return _0x363aaa;},_0x9e13(_0x183eaf,_0x2914d4);}function _0xe632(){const _0x28629f=['ck-ai-spinner','6871ZCWQup','230yyKUqY','216RgtOTy','11fPZskw','ck-ai-spinner_','8608280IYQXMx','227930qhXOhI','span','49570956MWDkXw','20447psAjzp','3910205BrnnXC','2262lUvmuA','extendTemplate','6399pCzSzU','1220WGowde'];_0xe632=function(){return _0x28629f;};return _0xe632();}import{SpinnerView as _0x4f78c5}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x4f78c5{constructor(_0x433d2a=void 0x0){const _0x1a93ac=_0x9e13;super();const _0x3d4166=_0x433d2a?_0x1a93ac(0x193)+_0x433d2a:'';this[_0x1a93ac(0x18b)]({'tag':_0x1a93ac(0x186),'attributes':{'class':[_0x1a93ac(0x18e),_0x3d4166]}});}}
23
+ (function(_0x4ccbf4,_0x29675c){const _0x2f4de8=_0x70e1,_0x47f2b9=_0x4ccbf4();while(!![]){try{const _0x105af2=-parseInt(_0x2f4de8(0x158))/0x1*(-parseInt(_0x2f4de8(0x162))/0x2)+-parseInt(_0x2f4de8(0x15c))/0x3+-parseInt(_0x2f4de8(0x164))/0x4+parseInt(_0x2f4de8(0x165))/0x5*(-parseInt(_0x2f4de8(0x15b))/0x6)+-parseInt(_0x2f4de8(0x166))/0x7*(parseInt(_0x2f4de8(0x159))/0x8)+parseInt(_0x2f4de8(0x15a))/0x9+-parseInt(_0x2f4de8(0x163))/0xa*(-parseInt(_0x2f4de8(0x15d))/0xb);if(_0x105af2===_0x29675c)break;else _0x47f2b9['push'](_0x47f2b9['shift']());}catch(_0x31135e){_0x47f2b9['push'](_0x47f2b9['shift']());}}}(_0x4ba9,0xca9e7));function _0x70e1(_0x392976,_0x312ee6){const _0x4ba9d3=_0x4ba9();return _0x70e1=function(_0x70e1cd,_0xe95c36){_0x70e1cd=_0x70e1cd-0x158;let _0x18f0c3=_0x4ba9d3[_0x70e1cd];return _0x18f0c3;},_0x70e1(_0x392976,_0x312ee6);}function _0x4ba9(){const _0x2f06fa=['4jhcvwc','28358170RgUhnS','4650592QgBWYY','665BlRadL','124978rzcjQe','741616WZNnWq','232iFFMUm','1644066sAJltJ','59670kgCFoj','2006091pTjVaX','11gvYskk','ck-ai-spinner_','span','ck-ai-spinner','extendTemplate'];_0x4ba9=function(){return _0x2f06fa;};return _0x4ba9();}import{SpinnerView as _0x162acd}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x162acd{constructor(_0x18ab06=void 0x0){const _0x299edd=_0x70e1;super();const _0x10dee7=_0x18ab06?_0x299edd(0x15e)+_0x18ab06:'';this[_0x299edd(0x161)]({'tag':_0x299edd(0x15f),'attributes':{'class':[_0x299edd(0x160),_0x10dee7]}});}}
@@ -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 _0x46d2(_0x484c56,_0x527a0c){const _0x4f1b41=_0x4f1b();return _0x46d2=function(_0x46d2cc,_0xe4d32b){_0x46d2cc=_0x46d2cc-0x186;let _0x4157e9=_0x4f1b41[_0x46d2cc];return _0x4157e9;},_0x46d2(_0x484c56,_0x527a0c);}function _0x4f1b(){const _0x8fa288=['fire','ck-ai-mini-toolbar\x20ck-hidden','execute','set','AI_MINI_TOOLBAR_LIKE','dislike','copyButton','extendTemplate','class','2KXLjJk','addMany','locale','likeButton','items','toggleShowChanges','showChanges','add','AI_MINI_TOOLBAR_COPY','8927470sOPULe','7278510drQOIC','4958691iPLRKp','like','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','10259264cwXVch','4BranuG','customView','full','7QhlAUs','showChangesButton','14138028MVxEAZ','_config','_setupRatingButtons','length','_setupShowChangesButton','isEnabled','ck-ai-mini-toolbar','AI_SUGGESTION_BUTTON_SHOW_CHANGES','children','dislikeButton','showCopy','isOn','ck-ai-mini-toolbar-copy-button__check-mark','173044iyYlqk','_setupCopyButton','AI_MINI_TOOLBAR_DISLIKE','showDislike','showLike','1509864GCnKHO','ck-ai-mini-toolbar-copy-button','bind','isLoading'];_0x4f1b=function(){return _0x8fa288;};return _0x4f1b();}const _0xe7f46e=_0x46d2;(function(_0x5b251a,_0x13a7c8){const _0x27ad10=_0x46d2,_0x9fb533=_0x5b251a();while(!![]){try{const _0x2e5316=-parseInt(_0x27ad10(0x199))/0x1*(parseInt(_0x27ad10(0x1ab))/0x2)+-parseInt(_0x27ad10(0x1b6))/0x3*(-parseInt(_0x27ad10(0x187))/0x4)+-parseInt(_0x27ad10(0x1b4))/0x5+-parseInt(_0x27ad10(0x19e))/0x6*(-parseInt(_0x27ad10(0x18a))/0x7)+-parseInt(_0x27ad10(0x186))/0x8+parseInt(_0x27ad10(0x18c))/0x9+parseInt(_0x27ad10(0x1b5))/0xa;if(_0x2e5316===_0x13a7c8)break;else _0x9fb533['push'](_0x9fb533['shift']());}catch(_0x57c376){_0x9fb533['push'](_0x9fb533['shift']());}}}(_0x4f1b,0xeaf22));import{ButtonView as _0xd9abda,IconView as _0x3450d7,ToolbarView as _0xc2c799}from'ckeditor5/src/ui.js';import{IconCheck as _0xbf4376,IconCopy as _0x217552,IconShowChangesOff as _0x464623,IconShowChangesOn as _0x3da21d,IconThumbDown as _0x4d5369,IconThumbUp as _0x37f91a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2951fa}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0xc2c799{[_0xe7f46e(0x1a8)];[_0xe7f46e(0x1ae)];[_0xe7f46e(0x195)];[_0xe7f46e(0x18b)];[_0xe7f46e(0x18d)];constructor(_0x1910a2,_0x546151={},_0x358bc6){const _0x23f431=_0xe7f46e;super(_0x1910a2),this[_0x23f431(0x1a5)](_0x23f431(0x1a1),!0x1),this[_0x23f431(0x18d)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x546151};const _0x247570=!(this[_0x23f431(0x18d)][_0x23f431(0x196)]||this[_0x23f431(0x18d)][_0x23f431(0x1b1)]||this[_0x23f431(0x18d)][_0x23f431(0x19d)]||this[_0x23f431(0x18d)][_0x23f431(0x19c)]||this[_0x23f431(0x18d)][_0x23f431(0x188)]?.[_0x23f431(0x18f)]);this[_0x23f431(0x1aa)]=_0x247570?_0x23f431(0x1a3):_0x23f431(0x192),this[_0x23f431(0x18d)][_0x23f431(0x196)]&&(this[_0x23f431(0x19a)](),this[_0x23f431(0x1af)][_0x23f431(0x1b2)](this[_0x23f431(0x1a8)])),this[_0x23f431(0x18d)][_0x23f431(0x1b1)]&&(this[_0x23f431(0x190)](_0x358bc6),this[_0x23f431(0x1af)][_0x23f431(0x1b2)](this[_0x23f431(0x18b)])),this[_0x23f431(0x18e)](),this[_0x23f431(0x18d)][_0x23f431(0x19d)]&&this[_0x23f431(0x1af)][_0x23f431(0x1b2)](this[_0x23f431(0x1ae)]),this[_0x23f431(0x18d)][_0x23f431(0x19c)]&&this[_0x23f431(0x1af)][_0x23f431(0x1b2)](this[_0x23f431(0x195)]),this[_0x23f431(0x18d)][_0x23f431(0x188)]&&this[_0x23f431(0x1af)][_0x23f431(0x1ac)](this[_0x23f431(0x18d)][_0x23f431(0x188)]);}[_0xe7f46e(0x18e)](){const _0x4c017b=_0xe7f46e;this[_0x4c017b(0x1ae)]=new _0xd9abda(this[_0x4c017b(0x1ad)]),this[_0x4c017b(0x1ae)][_0x4c017b(0x1a5)]({'icon':_0x37f91a,'label':_0x2951fa(this[_0x4c017b(0x1ad)],_0x4c017b(0x1a6)),'tooltip':!0x0}),this[_0x4c017b(0x1ae)][_0x4c017b(0x1a0)](_0x4c017b(0x191))['to'](this,_0x4c017b(0x1a1),_0x45a885=>!_0x45a885),this[_0x4c017b(0x1ae)]['on'](_0x4c017b(0x1a4),()=>{const _0x3edc46=_0x4c017b;this[_0x3edc46(0x1a2)](_0x3edc46(0x1b7));}),this[_0x4c017b(0x195)]=new _0xd9abda(this[_0x4c017b(0x1ad)]),this[_0x4c017b(0x195)][_0x4c017b(0x1a5)]({'icon':_0x4d5369,'label':_0x2951fa(this[_0x4c017b(0x1ad)],_0x4c017b(0x19b)),'tooltip':!0x0}),this[_0x4c017b(0x195)][_0x4c017b(0x1a0)](_0x4c017b(0x191))['to'](this,_0x4c017b(0x1a1),_0x163162=>!_0x163162),this[_0x4c017b(0x195)]['on'](_0x4c017b(0x1a4),()=>{const _0x64b6e6=_0x4c017b;this[_0x64b6e6(0x1a2)](_0x64b6e6(0x1a7));});}[_0xe7f46e(0x19a)](){const _0x39e8a4=_0xe7f46e;this[_0x39e8a4(0x1a8)]=new _0xd9abda(this[_0x39e8a4(0x1ad)]),this[_0x39e8a4(0x1a8)][_0x39e8a4(0x1a5)]({'icon':_0x217552,'label':_0x2951fa(this[_0x39e8a4(0x1ad)],_0x39e8a4(0x1b3)),'class':_0x39e8a4(0x19f),'tooltip':!0x0}),this[_0x39e8a4(0x1a8)][_0x39e8a4(0x1a0)](_0x39e8a4(0x191))['to'](this,_0x39e8a4(0x1a1),_0x22324d=>!_0x22324d);const _0x351ab5=new _0x3450d7();_0x351ab5[_0x39e8a4(0x1a5)]({'content':_0xbf4376}),_0x351ab5[_0x39e8a4(0x1a9)]({'attributes':{'class':[_0x39e8a4(0x198)]}}),this[_0x39e8a4(0x1a8)]['on'](_0x39e8a4(0x1a4),()=>{const _0x1285b9=_0x39e8a4;this[_0x1285b9(0x1a8)][_0x1285b9(0x1aa)]=_0x1285b9(0x1b8),setTimeout(()=>{const _0xb72ad=_0x1285b9;this[_0xb72ad(0x1a8)][_0xb72ad(0x1aa)]=_0xb72ad(0x19f);},0x7d0);}),this[_0x39e8a4(0x1a8)][_0x39e8a4(0x194)][_0x39e8a4(0x1b2)](_0x351ab5);}[_0xe7f46e(0x190)](_0x53268c){const _0xbdd6d7=_0xe7f46e;this[_0xbdd6d7(0x18b)]=new _0xd9abda(this[_0xbdd6d7(0x1ad)]),this[_0xbdd6d7(0x18b)][_0xbdd6d7(0x1a5)]({'icon':_0x464623,'label':_0x2951fa(this[_0xbdd6d7(0x1ad)],_0xbdd6d7(0x193)),'withText':_0xbdd6d7(0x189)==this[_0xbdd6d7(0x18d)][_0xbdd6d7(0x1b1)],'tooltip':_0xbdd6d7(0x189)!=this[_0xbdd6d7(0x18d)][_0xbdd6d7(0x1b1)],'isOn':_0x53268c}),this[_0xbdd6d7(0x18b)][_0xbdd6d7(0x1a0)](_0xbdd6d7(0x191))['to'](this,_0xbdd6d7(0x1a1),_0x23adba=>!_0x23adba),this[_0xbdd6d7(0x18b)]['on'](_0xbdd6d7(0x1a4),()=>{const _0x2fcc05=_0xbdd6d7,_0x409715=!this[_0x2fcc05(0x18b)][_0x2fcc05(0x197)];this[_0x2fcc05(0x18b)][_0x2fcc05(0x1a5)]({'isOn':_0x409715,'icon':_0x409715?_0x3da21d:_0x464623}),this[_0x2fcc05(0x1a2)](_0x2fcc05(0x1b0),_0x409715);});}}
@@ -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
+ function _0xfebb(_0x5ad853,_0x5cb6d8){const _0x45152e=_0x4515();return _0xfebb=function(_0xfebb12,_0x20972a){_0xfebb12=_0xfebb12-0x164;let _0x19130a=_0x45152e[_0xfebb12];return _0x19130a;},_0xfebb(_0x5ad853,_0x5cb6d8);}const _0x4f2177=_0xfebb;(function(_0xef541d,_0x2c898d){const _0x21aff7=_0xfebb,_0x380d68=_0xef541d();while(!![]){try{const _0x342c75=-parseInt(_0x21aff7(0x194))/0x1+-parseInt(_0x21aff7(0x195))/0x2+-parseInt(_0x21aff7(0x185))/0x3+parseInt(_0x21aff7(0x17f))/0x4+parseInt(_0x21aff7(0x18c))/0x5+-parseInt(_0x21aff7(0x176))/0x6*(-parseInt(_0x21aff7(0x178))/0x7)+parseInt(_0x21aff7(0x17b))/0x8;if(_0x342c75===_0x2c898d)break;else _0x380d68['push'](_0x380d68['shift']());}catch(_0x4a2703){_0x380d68['push'](_0x380d68['shift']());}}}(_0x4515,0x91077));import{View as _0x2fbc32}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x1ac4a4}from'./aisuggestioncontentpartview.js';function _0x4515(){const _0x383b1d=['838874TvDiBO','1746902FLTWvj','abort','_children','index','createCollection','set','partsCount','forEach','setTemplate','warning','AI_SUGGESTION_EMPTY_PART_WARNING','state','queueEmptyPromise','_emptyPartsWarningView','add','_areActionsDisabled','hasNonEmptyParts','delegate','toggleHeader','getPartView','find','enqueue','hasPendingParts','filter','hasChanges','_availableActions','6nVyTLc','push','6615707Vgduob','ck-ai-suggestion__body__content-parts','findIndex','17389160XNBbKR','div','some','_showUnchangedParts','960384USqmwf','partDefinition','addEventListener','first','updateContent','empty-parts-warning','3436854ZSQqan','from','ck-ai-suggestion__body','updateContentParts','isVisible','markAsDone','_cachedContentParts','465700pQQMvj','_updateContentPartsPromiseQueue','updatePartState','length','locale','AI_SUGGESTION_NO_PARTS_WARNING','setContent','pending'];_0x4515=function(){return _0x383b1d;};return _0x4515();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5af84d}from'../../utils/eventnames.js';import{PromiseQueue as _0x5d4a13}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x23e8d5}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0xaa2b04}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x2fbc32{[_0x4f2177(0x197)];[_0x4f2177(0x16b)];[_0x4f2177(0x17e)];[_0x4f2177(0x18d)];[_0x4f2177(0x169)];[_0x4f2177(0x175)];[_0x4f2177(0x18b)]=[];constructor(_0x4362c1,_0x5722cb){const _0x5a21d1=_0x4f2177;super(_0x4362c1);const {areActionsDisabled:_0x36314e,showUnchangedParts:_0x85f880,availableActions:_0x4170fb}=_0x5722cb;this[_0x5a21d1(0x16b)]=_0x36314e,this[_0x5a21d1(0x17e)]=_0x85f880,this[_0x5a21d1(0x175)]=_0x4170fb,this[_0x5a21d1(0x19a)](_0x5a21d1(0x172),!0x1),this[_0x5a21d1(0x197)]=this[_0x5a21d1(0x199)](),this[_0x5a21d1(0x18d)]=new _0x5d4a13(),this[_0x5a21d1(0x169)]=new _0x23e8d5({'id':_0x5a21d1(0x184),'initialContent':_0xaa2b04(_0x4362c1,_0x5a21d1(0x166)),'level':_0x5a21d1(0x165)}),this[_0x5a21d1(0x169)][_0x5a21d1(0x189)]=!0x1,this[_0x5a21d1(0x164)]({'tag':_0x5a21d1(0x17c),'attributes':{'class':['ck',_0x5a21d1(0x187)]},'children':[{'tag':_0x5a21d1(0x17c),'attributes':{'class':['ck',_0x5a21d1(0x179)]},'children':this[_0x5a21d1(0x197)]},this[_0x5a21d1(0x169)]]});}get[_0x4f2177(0x19b)](){const _0x5dee27=_0x4f2177;return this[_0x5dee27(0x197)][_0x5dee27(0x18f)];}async[_0x4f2177(0x188)]({parts:_0x401cb7,renderingStrategy:_0x24f431,abortSignal:_0x5bfe5e}){const _0x48e9f8=_0x4f2177;this[_0x48e9f8(0x197)][_0x48e9f8(0x18f)]?_0x401cb7[_0x48e9f8(0x19c)](_0x5d4fa5=>{const _0x2a06a9=_0x48e9f8,_0x60642e=this[_0x2a06a9(0x18b)][_0x2a06a9(0x17a)](_0x378f55=>_0x378f55[_0x2a06a9(0x198)]==_0x5d4fa5[_0x2a06a9(0x198)]);-0x1===_0x60642e?this[_0x2a06a9(0x18b)][_0x2a06a9(0x177)](_0x5d4fa5):this[_0x2a06a9(0x18b)][_0x60642e]=_0x5d4fa5;}):this[_0x48e9f8(0x18b)]=_0x401cb7;for(const _0x4cf978 of _0x401cb7[_0x48e9f8(0x173)](_0x4acbb8=>_0x4acbb8[_0x48e9f8(0x174)]))this[_0x48e9f8(0x18d)][_0x48e9f8(0x171)](async _0x490941=>{const _0x3d4598=_0x48e9f8;let _0x509e07=this[_0x3d4598(0x16f)](_0x4cf978[_0x3d4598(0x198)]);_0x509e07||(_0x509e07=new _0x1ac4a4(this[_0x3d4598(0x190)],{'part':_0x4cf978,'uiIndex':this[_0x3d4598(0x197)][_0x3d4598(0x18f)]+0x1,'areActionsDisabled':this[_0x3d4598(0x16b)],'availableActions':this[_0x3d4598(0x175)]}),_0x509e07[_0x3d4598(0x16d)](..._0x5af84d)['to'](this),this[_0x3d4598(0x197)][_0x3d4598(0x16a)](_0x509e07),this[_0x3d4598(0x172)]=!0x0),0x2===this[_0x3d4598(0x197)][_0x3d4598(0x18f)]&&this[_0x3d4598(0x197)][_0x3d4598(0x182)][_0x3d4598(0x16e)](!0x0),_0x509e07[_0x3d4598(0x16e)](this[_0x3d4598(0x197)][_0x3d4598(0x18f)]>0x1),await _0x509e07[_0x3d4598(0x183)]({'part':_0x4cf978,'renderingStrategy':_0x24f431,'showUnchangedParts':this[_0x3d4598(0x17e)],'abortSignal':_0x490941});});return _0x5bfe5e?.[_0x48e9f8(0x181)](_0x48e9f8(0x196),()=>{const _0x3ef072=_0x48e9f8;this[_0x3ef072(0x18d)][_0x3ef072(0x196)]();}),this[_0x48e9f8(0x18d)][_0x48e9f8(0x168)];}[_0x4f2177(0x18e)](_0x4cad53,_0x414115){const _0x31eafe=_0x4f2177,_0x21293c=this[_0x31eafe(0x16f)](_0x4cad53);_0x21293c&&(_0x21293c[_0x31eafe(0x167)]=_0x414115),this[_0x31eafe(0x172)]=_0x31eafe(0x193)==_0x414115||Array[_0x31eafe(0x186)](this[_0x31eafe(0x197)])[_0x31eafe(0x17d)](_0x5ec661=>_0x31eafe(0x193)==_0x5ec661[_0x31eafe(0x167)]);}[_0x4f2177(0x16f)](_0x380203){const _0x5423c8=_0x4f2177;return this[_0x5423c8(0x197)][_0x5423c8(0x170)](_0x2a2e64=>_0x2a2e64[_0x5423c8(0x180)][_0x5423c8(0x198)]==_0x380203)??null;}[_0x4f2177(0x18a)](){const _0x1d9f35=_0x4f2177;if(!this[_0x1d9f35(0x17e)]){const _0xf0bf10=!this[_0x1d9f35(0x18b)][_0x1d9f35(0x170)](({hasChanges:_0x3f9065})=>_0x3f9065),_0x26c42c=!!this[_0x1d9f35(0x18b)][_0x1d9f35(0x170)](({hasChanges:_0x3aa218})=>!_0x3aa218);this[_0x1d9f35(0x169)][_0x1d9f35(0x189)]=0x0==this[_0x1d9f35(0x197)][_0x1d9f35(0x18f)]||_0x26c42c,_0xf0bf10?this[_0x1d9f35(0x169)][_0x1d9f35(0x192)](_0xaa2b04(this[_0x1d9f35(0x190)],_0x1d9f35(0x191))):this[_0x1d9f35(0x169)][_0x1d9f35(0x192)](_0xaa2b04(this[_0x1d9f35(0x190)],_0x1d9f35(0x166)));}}get[_0x4f2177(0x16c)](){const _0x3468d3=_0x4f2177;return!!this[_0x3468d3(0x197)][_0x3468d3(0x170)](_0x32a25e=>_0x32a25e[_0x3468d3(0x180)][_0x3468d3(0x174)]);}}
@@ -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 _0x2b696e=_0x3800;(function(_0x790988,_0xa305c9){const _0x156f81=_0x3800,_0x1e24ac=_0x790988();while(!![]){try{const _0x2502c9=parseInt(_0x156f81(0x1ba))/0x1*(-parseInt(_0x156f81(0x1e1))/0x2)+-parseInt(_0x156f81(0x1aa))/0x3*(-parseInt(_0x156f81(0x21e))/0x4)+parseInt(_0x156f81(0x1e8))/0x5+parseInt(_0x156f81(0x1dd))/0x6+-parseInt(_0x156f81(0x1cc))/0x7*(parseInt(_0x156f81(0x1c3))/0x8)+parseInt(_0x156f81(0x1f5))/0x9+-parseInt(_0x156f81(0x1d1))/0xa;if(_0x2502c9===_0xa305c9)break;else _0x1e24ac['push'](_0x1e24ac['shift']());}catch(_0x259d2b){_0x1e24ac['push'](_0x1e24ac['shift']());}}}(_0x2286,0xcb905));import{IconWeb as _0x3b3673}from'@ckeditor/ckeditor5-icons';import{View as _0x2fab46,ButtonView as _0x17705e,IconView as _0x47598c,BalloonPanelView as _0x28274b}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x1d14c8}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x30285f}from'./aisuggestionheaderview.js';function _0x3800(_0x3f9c3c,_0x19010a){const _0x2286d8=_0x2286();return _0x3800=function(_0x380034,_0x1879d1){_0x380034=_0x380034-0x1a9;let _0x498951=_0x2286d8[_0x380034];return _0x498951;},_0x3800(_0x3f9c3c,_0x19010a);}import{AISuggestionBodyView as _0x418bd0}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2c742a}from'../../utils/eventnames.js';import{AISpinnerView as _0x32dde5}from'../aispinner.js';import{getTranslation as _0x2d4076}from'../../utils/common-translations.js';function _0x2286(){const _0x2d30f6=['bodyView','updateContent','isLoaderVisible','ck-ai-suggestion__container','sourcesView','.ck-ai-chat','substring','_setupBalloonPanel','open','_createLoaderView','createCollection','remove','addMany','northArrowSouth','116534PxIuTy','ck\x20ck-ai-web-source','ck-ai-web-source__tooltip-row','length','textContent','AI_CHAT_GENERIC_ERROR','hideError','div','ck-ai-suggestion__error-text','7712lBOEeL','_createTooltipContentView','...','children','small','isOn','title','locale','ck-ai-web-source__tooltip-balloon','4382TRiQgG','source','areChangesVisible','destroy','ck-ai-suggestion__loader-text','22658240aOfNMJ','hideLoader','.ck-ai-suggestion__error-text','addNavigationItem','pin','ck-ai-web-sources','hostname','querySelector','content','loaderView','clearLoading','isErrorVisible','1997394FVxaLi','span','ck-ai-web-source__tooltip-title','map','22ydEwYb','removeNavigationItem','showLoader','isVisible','showChangesToggleView','hasNonEmptyParts','ck-ai-suggestion__error','8086045mKUWqr','push','defaultPositions','_createErrorView','bodyCollection','AI_CHAT_SOURCES_HEADER','img','ck-ai-web-source__tooltip-url','isShowChangesToggleVisible','url','bind','_hideTooltip','headerView','14234283tCeljv','isEnabled','get','fire','clearErrorState','AI_CHAT_IS_WRITING','setLoading','favicon','_updateTooltipContent','showError','ck-hidden','ck-rounded-corners','ck-ai-web-source__tooltip-image','add','errorView','northArrowSouthEast','_bodyCollection','updateContentParts','element','delegate','show','toggleShowChanges','ck-ai-web-sources__header','bindTemplate','_blank','isLoading','hide','markAsDone','set','balloonPanelView','ck-ai-suggestion__loader','_showTooltip','extendTemplate','ck-ai-web-source__image','miniToolbarView','updateSources','northArrowSouthWest','ck-ai-web-source__tooltip','setTemplate','toggleSuggestionDisplayMode','setErrorState','244GQHArD','clear','icon','71472eLXtrZ','items'];_0x2286=function(){return _0x2d30f6;};return _0x2286();}export class AISuggestionContainerView extends _0x2fab46{[_0x2b696e(0x1ac)];[_0x2b696e(0x217)];[_0x2b696e(0x1c6)];[_0x2b696e(0x1f4)];[_0x2b696e(0x1da)];[_0x2b696e(0x203)];[_0x2b696e(0x1b0)];[_0x2b696e(0x205)];constructor(_0xff4ef8,_0x3fb5dd,_0x54d9c0){const _0x799a07=_0x2b696e;super(_0xff4ef8),this[_0x799a07(0x205)]=_0x54d9c0;const {showDiff:_0x247440,areActionsDisabled:_0x18594f,miniToolbarConfig:_0x8c8128,hideHeader:_0x50538,showLoader:_0x500957,showUnchangedParts:_0x114a5e,availableActions:_0x572d2f}=_0x3fb5dd;this[_0x799a07(0x211)](_0x799a07(0x1ce),!0x1),this[_0x799a07(0x211)](_0x799a07(0x1ae),!!_0x500957),this[_0x799a07(0x211)](_0x799a07(0x1dc),!0x1),this[_0x799a07(0x211)](_0x799a07(0x20e),!0x1),this[_0x799a07(0x1c6)]=this[_0x799a07(0x1b6)](),_0x50538||(this[_0x799a07(0x1f4)]=new _0x30285f(_0xff4ef8,{'showDiff':_0x247440}),this[_0x799a07(0x1f4)]['on'](_0x799a07(0x20a),(_0x1cbc09,_0x402fdc)=>{const _0x34a629=_0x799a07;this[_0x34a629(0x1ce)]=_0x402fdc[_0x34a629(0x1c8)],this[_0x34a629(0x1f8)](_0x34a629(0x21c),{'showDiff':_0x402fdc[_0x34a629(0x1c8)]});}),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x1f4)])),this[_0x799a07(0x1ac)]=new _0x418bd0(_0xff4ef8,{'areActionsDisabled':_0x18594f,'showUnchangedParts':!!_0x114a5e,'availableActions':_0x572d2f}),this[_0x799a07(0x1ac)][_0x799a07(0x208)](..._0x2c742a)['to'](this),this[_0x799a07(0x1ac)][_0x799a07(0x215)]({'attributes':{'class':[this[_0x799a07(0x20c)]['if'](_0x799a07(0x1ae),_0x799a07(0x1ff)),this[_0x799a07(0x20c)]['if'](_0x799a07(0x1dc),_0x799a07(0x1ff))]}}),this[_0x799a07(0x217)]=new _0x1d14c8(_0xff4ef8,_0x8c8128,_0x247440),this[_0x799a07(0x217)][_0x799a07(0x208)](..._0x2c742a)['to'](this),this[_0x799a07(0x217)]['on'](_0x799a07(0x20a),(_0x1dd953,_0x4c1d20)=>{const _0x5e58dc=_0x799a07;this[_0x5e58dc(0x1ce)]=_0x4c1d20,this[_0x5e58dc(0x1f8)](_0x5e58dc(0x21c),{'showDiff':_0x4c1d20});}),this[_0x799a07(0x217)][_0x799a07(0x1f2)](_0x799a07(0x20e))['to'](this),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x1ac)]),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x217)]),this[_0x799a07(0x1b0)]=new AIWebSourcesView(this[_0x799a07(0x1ca)],this[_0x799a07(0x205)]),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x1b0)]),_0x500957&&(this[_0x799a07(0x1da)]=this[_0x799a07(0x1b5)](),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x1da)])),this[_0x799a07(0x203)]=this[_0x799a07(0x1eb)](),this[_0x799a07(0x1c6)][_0x799a07(0x202)](this[_0x799a07(0x203)]),this[_0x799a07(0x21b)]({'tag':_0x799a07(0x1c1),'attributes':{'class':['ck',_0x799a07(0x1af),_0x799a07(0x200)]},'children':this[_0x799a07(0x1c6)]});}async[_0x2b696e(0x1ad)](_0x47b382){const _0x141648=_0x2b696e;await this[_0x141648(0x1ac)][_0x141648(0x206)](_0x47b382);}[_0x2b696e(0x218)](_0x2c4885){const _0x263a98=_0x2b696e,_0xf9ce2=this[_0x263a98(0x1b0)],_0x44964d=_0xf9ce2[_0x263a98(0x212)];_0xf9ce2[_0x263a98(0x1c6)][_0x263a98(0x1b8)](_0x2c4885[_0x263a98(0x1e0)](_0xcfa717=>new AIWebSourceView(this[_0x263a98(0x1ca)],_0xcfa717,_0x44964d))),_0xf9ce2[_0x263a98(0x1e4)]=!0x0;}[_0x2b696e(0x1e3)](){const _0x1d8f10=_0x2b696e;this[_0x1d8f10(0x1da)]&&(this[_0x1d8f10(0x1ae)]=!0x0);}[_0x2b696e(0x1d2)](){const _0x238d02=_0x2b696e;this[_0x238d02(0x1da)]&&(this[_0x238d02(0x1ae)]=!0x1);}[_0x2b696e(0x1fe)](_0x30221b){const _0x16ea99=_0x2b696e;if(this[_0x16ea99(0x203)]){const _0x359779=this[_0x16ea99(0x203)][_0x16ea99(0x207)]?.[_0x16ea99(0x1d8)](_0x16ea99(0x1d3));_0x359779&&(_0x359779[_0x16ea99(0x1be)]=_0x30221b),this[_0x16ea99(0x1dc)]=!0x0;}}[_0x2b696e(0x1c0)](){const _0x1a35f5=_0x2b696e;this[_0x1a35f5(0x203)]&&(this[_0x1a35f5(0x1dc)]=!0x1);}[_0x2b696e(0x210)](){const _0x156caa=_0x2b696e;this[_0x156caa(0x1ac)][_0x156caa(0x210)](),this[_0x156caa(0x1f4)]&&(this[_0x156caa(0x1f4)][_0x156caa(0x1f0)]=this[_0x156caa(0x1ac)][_0x156caa(0x1e6)]);}[_0x2b696e(0x1fb)](){const _0x4f9c7e=_0x2b696e;this[_0x4f9c7e(0x20e)]=!0x0;}[_0x2b696e(0x1db)](){const _0x615dae=_0x2b696e;this[_0x615dae(0x20e)]=!0x1;}[_0x2b696e(0x21d)](){const _0x3c868a=_0x2b696e;this[_0x3c868a(0x217)]&&(this[_0x3c868a(0x217)][_0x3c868a(0x20e)]=!0x0),this[_0x3c868a(0x1f4)]?.[_0x3c868a(0x1e5)]&&(this[_0x3c868a(0x1f4)][_0x3c868a(0x1e5)][_0x3c868a(0x1f6)]=!0x1);}[_0x2b696e(0x1f9)](){const _0xcee7e2=_0x2b696e;this[_0xcee7e2(0x217)]&&(this[_0xcee7e2(0x217)][_0xcee7e2(0x20e)]=!0x1),this[_0xcee7e2(0x1f4)]?.[_0xcee7e2(0x1e5)]&&(this[_0xcee7e2(0x1f4)][_0xcee7e2(0x1e5)][_0xcee7e2(0x1f6)]=!0x0);}[_0x2b696e(0x1d4)](_0x3f03ee){const _0x200288=_0x2b696e;this[_0x200288(0x217)][_0x200288(0x1ab)][_0x200288(0x202)](_0x3f03ee);}[_0x2b696e(0x1e2)](_0x5824a1){const _0x54796a=_0x2b696e;this[_0x54796a(0x217)][_0x54796a(0x1ab)][_0x54796a(0x1b7)](_0x5824a1);}[_0x2b696e(0x1b5)](){const _0x475cff=_0x2b696e,_0x141bfb=new _0x2fab46(this[_0x475cff(0x1ca)]),_0x5020dd=new _0x32dde5(_0x475cff(0x1c7));_0x5020dd[_0x475cff(0x1e4)]=!0x0;const _0x117861=new _0x2fab46(this[_0x475cff(0x1ca)]);return _0x117861[_0x475cff(0x21b)]({'tag':_0x475cff(0x1de),'attributes':{'class':['ck',_0x475cff(0x1d0)]},'children':[_0x2d4076(this[_0x475cff(0x1ca)],_0x475cff(0x1fa))]}),_0x141bfb[_0x475cff(0x21b)]({'tag':_0x475cff(0x1c1),'attributes':{'class':['ck',_0x475cff(0x213),this[_0x475cff(0x20c)]['if'](_0x475cff(0x1ae),_0x475cff(0x1ff),_0x623f14=>!_0x623f14)]},'children':[_0x5020dd,_0x117861]}),_0x141bfb;}[_0x2b696e(0x1eb)](){const _0x5af190=_0x2b696e,_0x19e314=new _0x2fab46(this[_0x5af190(0x1ca)]),_0x40d7fc=new _0x2fab46(this[_0x5af190(0x1ca)]);return _0x40d7fc[_0x5af190(0x21b)]({'tag':_0x5af190(0x1de),'attributes':{'class':['ck',_0x5af190(0x1c2)]},'children':[_0x2d4076(this[_0x5af190(0x1ca)],_0x5af190(0x1bf))]}),_0x19e314[_0x5af190(0x21b)]({'tag':_0x5af190(0x1c1),'attributes':{'class':['ck',_0x5af190(0x1e7),this[_0x5af190(0x20c)]['if'](_0x5af190(0x1dc),_0x5af190(0x1ff),_0x5b9ad8=>!_0x5b9ad8)]},'children':[_0x40d7fc]}),_0x19e314;}}export class AIWebSourcesView extends _0x2fab46{[_0x2b696e(0x1c6)];[_0x2b696e(0x212)];[_0x2b696e(0x1ec)];constructor(_0x39d85b,_0xf549dc){const _0xfc1f4a=_0x2b696e;super(_0x39d85b),this[_0xfc1f4a(0x1ec)]=_0xf549dc,this[_0xfc1f4a(0x1c6)]=this[_0xfc1f4a(0x1b6)](),this[_0xfc1f4a(0x211)](_0xfc1f4a(0x1e4),!0x1),this[_0xfc1f4a(0x21b)]({'tag':_0xfc1f4a(0x1c1),'attributes':{'class':['ck',_0xfc1f4a(0x1d6),this[_0xfc1f4a(0x20c)]['if'](_0xfc1f4a(0x1e4),_0xfc1f4a(0x1ff),_0x1beedb=>!_0x1beedb)]},'children':this[_0xfc1f4a(0x1c6)]});const _0x1fa7af=new _0x2fab46(this[_0xfc1f4a(0x1ca)]),_0x1e80fc=new _0x47598c();_0x1e80fc[_0xfc1f4a(0x1d9)]=_0x3b3673,_0x1fa7af[_0xfc1f4a(0x21b)]({'tag':_0xfc1f4a(0x1c1),'attributes':{'class':['ck',_0xfc1f4a(0x20b)]},'children':[_0x1e80fc,{'tag':_0xfc1f4a(0x1de),'children':[{'text':_0x2d4076(this[_0xfc1f4a(0x1ca)],_0xfc1f4a(0x1ed))}]}]}),this[_0xfc1f4a(0x1c6)][_0xfc1f4a(0x202)](_0x1fa7af),this[_0xfc1f4a(0x1b3)](_0x39d85b);}[_0x2b696e(0x1b3)](_0x3693cf){const _0x21560d=_0x2b696e;this[_0x21560d(0x212)]=new _0x28274b(_0x3693cf),this[_0x21560d(0x212)][_0x21560d(0x215)]({'attributes':{'class':[_0x21560d(0x1cb)]}}),this[_0x21560d(0x1ec)][_0x21560d(0x202)](this[_0x21560d(0x212)]);}}export class AIWebSourceView extends _0x17705e{[_0x2b696e(0x212)];[_0x2b696e(0x1cd)];constructor(_0x3ac484,_0x245598,_0x2ea8c2){const _0x5e4c33=_0x2b696e;super(_0x3ac484),this[_0x5e4c33(0x1cd)]=_0x245598,this[_0x5e4c33(0x212)]=_0x2ea8c2,this[_0x5e4c33(0x211)]({'label':_0x245598[_0x5e4c33(0x1c9)],'class':[_0x5e4c33(0x1bb)],'withText':!0x0});const _0x42c20e=this[_0x5e4c33(0x20c)];if(this[_0x5e4c33(0x215)]({'on':{'click':_0x42c20e['to'](()=>{const _0x3262b8=_0x5e4c33;window[_0x3262b8(0x1b4)](_0x245598[_0x3262b8(0x1f1)],_0x3262b8(0x20d));}),'mouseenter':_0x42c20e['to'](()=>{const _0x191ef4=_0x5e4c33;this[_0x191ef4(0x214)]();}),'mouseleave':_0x42c20e['to'](()=>{const _0x56f0f8=_0x5e4c33;this[_0x56f0f8(0x1f3)]();})}}),_0x245598[_0x5e4c33(0x1fc)]){const _0x1dbc3a=new _0x2fab46(_0x3ac484);_0x1dbc3a[_0x5e4c33(0x21b)]({'tag':_0x5e4c33(0x1ee),'attributes':{'src':_0x245598[_0x5e4c33(0x1fc)]||_0x3b3673,'alt':_0x245598[_0x5e4c33(0x1c9)],'class':[_0x5e4c33(0x216)]}}),this[_0x5e4c33(0x1c6)][_0x5e4c33(0x202)](_0x1dbc3a);}else this[_0x5e4c33(0x211)](_0x5e4c33(0x1a9),_0x3b3673);}[_0x2b696e(0x1c4)](_0x4713fe,_0x560413){const _0x2323c9=_0x2b696e,_0x188370=new _0x2fab46(_0x4713fe),_0x3cd29f=[];let _0x2be27d;_0x560413?.[_0x2323c9(0x1fc)]?(_0x2be27d=new _0x2fab46(_0x4713fe),_0x2be27d[_0x2323c9(0x21b)]({'tag':_0x2323c9(0x1ee),'attributes':{'src':_0x560413[_0x2323c9(0x1fc)],'alt':_0x560413[_0x2323c9(0x1c9)],'class':[_0x2323c9(0x201)]}})):(_0x2be27d=new _0x47598c(),_0x2be27d[_0x2323c9(0x1d9)]=_0x3b3673,_0x2be27d[_0x2323c9(0x215)]({'attributes':{'alt':_0x560413[_0x2323c9(0x1c9)],'class':[_0x2323c9(0x201)]}})),_0x3cd29f[_0x2323c9(0x1e9)](_0x2be27d);const _0x32beea=new _0x2fab46(_0x4713fe);_0x32beea[_0x2323c9(0x21b)]({'tag':'a','attributes':{'class':[_0x2323c9(0x1ef)],'href':_0x560413[_0x2323c9(0x1f1)]},'children':[{'text':new URL(_0x560413[_0x2323c9(0x1f1)])?.[_0x2323c9(0x1d7)]}]}),_0x3cd29f[_0x2323c9(0x1e9)](_0x32beea);const _0x2a5b76=new _0x2fab46(_0x4713fe);_0x2a5b76[_0x2323c9(0x21b)]({'tag':_0x2323c9(0x1c1),'attributes':{'class':[_0x2323c9(0x1bc)]},'children':_0x3cd29f});const _0x682ac7=new _0x2fab46(_0x4713fe);return _0x682ac7[_0x2323c9(0x21b)]({'tag':_0x2323c9(0x1de),'attributes':{'class':[_0x2323c9(0x1bc),_0x2323c9(0x1df)]},'children':[{'text':_0x560413[_0x2323c9(0x1c9)][_0x2323c9(0x1bd)]>0x190?_0x560413[_0x2323c9(0x1c9)][_0x2323c9(0x1b2)](0x0,0x190)+_0x2323c9(0x1c5):_0x560413[_0x2323c9(0x1c9)]}]}),_0x188370[_0x2323c9(0x21b)]({'tag':_0x2323c9(0x1c1),'attributes':{'class':['ck',_0x2323c9(0x21a)]},'children':[_0x2a5b76,_0x682ac7]}),_0x188370;}[_0x2b696e(0x214)](){const _0x1526ca=_0x2b696e;this[_0x1526ca(0x1fd)](),this[_0x1526ca(0x212)][_0x1526ca(0x1d5)]({'target':this[_0x1526ca(0x207)],'positions':[_0x28274b[_0x1526ca(0x1ea)][_0x1526ca(0x1b9)],_0x28274b[_0x1526ca(0x1ea)][_0x1526ca(0x219)],_0x28274b[_0x1526ca(0x1ea)][_0x1526ca(0x204)]],'limiter':document[_0x1526ca(0x1d8)](_0x1526ca(0x1b1))}),this[_0x1526ca(0x212)][_0x1526ca(0x209)]();}[_0x2b696e(0x1f3)](){const _0x399386=_0x2b696e;this[_0x399386(0x212)][_0x399386(0x20f)]();}[_0x2b696e(0x1fd)](){const _0x114a99=_0x2b696e;this[_0x114a99(0x212)][_0x114a99(0x1d9)][_0x114a99(0x1f7)](0x0)?.[_0x114a99(0x1cf)](),this[_0x114a99(0x212)][_0x114a99(0x1d9)][_0x114a99(0x21f)]();const _0x1f8e28=this[_0x114a99(0x1c4)](this[_0x114a99(0x1ca)],this[_0x114a99(0x1cd)]);this[_0x114a99(0x212)][_0x114a99(0x1d9)][_0x114a99(0x202)](_0x1f8e28);}}
@@ -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 _0x31ad2f=_0x5c78;(function(_0x275c2d,_0x4c784c){const _0x36a477=_0x5c78,_0x486422=_0x275c2d();while(!![]){try{const _0x59d5f7=-parseInt(_0x36a477(0xaf))/0x1+parseInt(_0x36a477(0x8b))/0x2+parseInt(_0x36a477(0xa8))/0x3*(-parseInt(_0x36a477(0xb0))/0x4)+parseInt(_0x36a477(0x93))/0x5*(parseInt(_0x36a477(0x94))/0x6)+-parseInt(_0x36a477(0x67))/0x7+parseInt(_0x36a477(0x9c))/0x8+-parseInt(_0x36a477(0x9e))/0x9;if(_0x59d5f7===_0x4c784c)break;else _0x486422['push'](_0x486422['shift']());}catch(_0x3fde1b){_0x486422['push'](_0x486422['shift']());}}}(_0x4682,0x72549));function _0x4682(){const _0xb5fc91=['remove','extendTemplate','fire','children','bind','headerView','streaming','state','change:state','includes','ck-ai-suggestion__body__content-part','AI_SUGGESTION_CONTENT_PART_TITLE','isEnabled','isVisible','ck-ai-suggestion__body__content-part_','1599252ObLTtb','outdated','ck-ai-suggestion__body__content-part__icon-accepted','execute','addMany','mouseLeaveSuggestion','mouseOverSuggestion','pending','10oDakXZ','2710146pbweNo','stream','bindTemplate','ck-hidden','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','content','push','showChangeInText','5641200BomLfX','ck-ai-suggestion__body__content-part__content','6297579bcDmiS','contentView','createCollection','AI_SUGGESTION_CONTENT_PART_REJECTED','rejected','insertSuggestion','_iconStateRejected','ck-ai-suggestion__body__content-part__icon-outdated','ck-ai-suggestion__body__content-part__icon-title','accepted','90969tEtBQE','rejectSuggestion','ck-ai-suggestion__body__content-part__title__label','ck-ai-suggestion__body__content-part_active','partDefinition','hasChanges','span','376856eVdMgK','8RLONiM','toggleHeader','innerHTML','delegate','toString','ck-reset_all-excluded','_toolbarView','5618396UBvpBn','setTemplate','index','_iconStateOutdated','animation:\x20ck-html-streamer-fade-in\x20.5s','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','ck-ai-suggestion__body__content-part__title','add','ck-content','AI_SUGGESTION_CONTENT_PART_DELETE','AI_SUGGESTION_CONTENT_PART_OUTDATED','div','ck-ai-suggestion__body__content-part__icon-rejected','set','element','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','_iconStateAccepted','has','htmlStreamer','items','updateContent'];_0x4682=function(){return _0xb5fc91;};return _0x4682();}import{View as _0x4f7fde,IconView as _0x4f5081,ToolbarView as _0x1472cf,ButtonView as _0x4a2fcc}from'ckeditor5/src/ui.js';import{IconAddComment as _0x228a86,IconDocumentWithLoupe as _0x483dc7,IconDocumentWithCheckmark as _0x84993,IconDocumentWithCross as _0x314d3c,IconRemove as _0x811dbb,IconThreeStars as _0x1b4abe}from'ckeditor5/src/icons.js';function _0x5c78(_0x3fcda7,_0x286cf9){const _0x46828f=_0x4682();return _0x5c78=function(_0x5c7835,_0x576a8b){_0x5c7835=_0x5c7835-0x65;let _0x285d50=_0x46828f[_0x5c7835];return _0x285d50;},_0x5c78(_0x3fcda7,_0x286cf9);}import{HTMLStreamer as _0x4dfcd9}from'../../utils/htmlstreamer.js';import{getTranslation as _0x3840a2}from'../../utils/common-translations.js';import{serialize as _0x2ed104}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3e7e6c}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x4f7fde{[_0x31ad2f(0x79)];[_0x31ad2f(0x7f)];[_0x31ad2f(0x81)];[_0x31ad2f(0x9f)];constructor(_0x1d036e,{part:_0x1d88cd,uiIndex:_0x459c0e,areActionsDisabled:_0x32a57b,availableActions:_0x5cf29e}){const _0x5efbee=_0x31ad2f;super(_0x1d036e),this[_0x5efbee(0x74)](_0x5efbee(0xac),_0x1d88cd),this[_0x5efbee(0x74)](_0x5efbee(0x83),_0x5efbee(0x92)),this[_0x5efbee(0x74)](_0x5efbee(0x89),!0x1),this[_0x5efbee(0x80)](_0x5efbee(0x88))['to'](this,_0x5efbee(0x83),_0xeda6f0=>_0x5efbee(0x92)==_0xeda6f0&&!_0x32a57b),this[_0x5efbee(0x7f)]=this[_0x5efbee(0xa0)](),this[_0x5efbee(0x79)]=new _0x4dfcd9({'textNodeStyle':_0x5efbee(0x6b),'delay':0x14}),this[_0x5efbee(0x81)]=new Wn(_0x1d036e,{'part':_0x1d88cd,'uiIndex':_0x459c0e,'availableActions':_0x5cf29e}),this[_0x5efbee(0x81)][_0x5efbee(0x80)](_0x5efbee(0xac))['to'](this),this[_0x5efbee(0x81)][_0x5efbee(0x80)](_0x5efbee(0x88))['to'](this),this[_0x5efbee(0x81)][_0x5efbee(0x80)](_0x5efbee(0x83))['to'](this),this[_0x5efbee(0x81)][_0x5efbee(0xb3)](..._0x3e7e6c)['to'](this);const _0xd16e75=this[_0x5efbee(0x96)];this[_0x5efbee(0x9f)]=new _0x4f7fde(),this[_0x5efbee(0x9f)][_0x5efbee(0x68)]({'tag':_0x5efbee(0x72),'attributes':{'class':['ck',_0x5efbee(0x6f),_0x5efbee(0x65),_0x5efbee(0x9d)]}}),this[_0x5efbee(0x7f)][_0x5efbee(0x8f)]([this[_0x5efbee(0x9f)]]),this[_0x5efbee(0x68)]({'tag':_0x5efbee(0x72),'attributes':{'class':['ck',_0x5efbee(0x86),_0xd16e75['to'](_0x5efbee(0x83),_0x1c30ca=>_0x5efbee(0x8a)+_0x1c30ca),_0xd16e75['to'](_0x5efbee(0x88),_0x59d59e=>_0x59d59e?_0x5efbee(0xab):void 0x0),_0xd16e75['if'](_0x5efbee(0x89),_0x5efbee(0x97),_0x46ae26=>!_0x46ae26)]},'children':this[_0x5efbee(0x7f)],'on':{'mouseenter':_0xd16e75['to'](()=>{const _0x1ca613=_0x5efbee;this[_0x1ca613(0x88)]&&this[_0x1ca613(0x7e)](_0x1ca613(0x91),{'index':_0x1d88cd[_0x1ca613(0x69)]});}),'mouseleave':_0xd16e75['to'](()=>{const _0x178969=_0x5efbee;this[_0x178969(0x88)]&&this[_0x178969(0x7e)](_0x178969(0x90),{'index':_0x1d88cd[_0x178969(0x69)]});})}});}async[_0x31ad2f(0x7b)]({part:_0x1f55db,renderingStrategy:_0x1c6a00,showUnchangedParts:_0x5da8f1=!0x1,abortSignal:_0x5f1ddf}){const _0x3c6d7c=_0x31ad2f;this[_0x3c6d7c(0xac)]=_0x1f55db,this[_0x3c6d7c(0x89)]=this[_0x3c6d7c(0xac)][_0x3c6d7c(0xad)]||_0x5da8f1,this[_0x3c6d7c(0x89)]&&(_0x3c6d7c(0x82)===_0x1c6a00?await this[_0x3c6d7c(0x79)][_0x3c6d7c(0x95)]({'document':this[_0x3c6d7c(0xac)][_0x3c6d7c(0x99)],'targetElement':this[_0x3c6d7c(0x9f)][_0x3c6d7c(0x75)],'abortSignal':_0x5f1ddf}):this[_0x3c6d7c(0x9f)][_0x3c6d7c(0x75)][_0x3c6d7c(0xb2)]=_0x2ed104(this[_0x3c6d7c(0xac)][_0x3c6d7c(0x99)]));}[_0x31ad2f(0xb1)](_0x298f13){const _0x32519f=_0x31ad2f;_0x298f13?this[_0x32519f(0x7f)][_0x32519f(0x78)](this[_0x32519f(0x81)])||this[_0x32519f(0x7f)][_0x32519f(0x6e)](this[_0x32519f(0x81)],0x0):this[_0x32519f(0x7f)][_0x32519f(0x78)](this[_0x32519f(0x81)])&&this[_0x32519f(0x7f)][_0x32519f(0x7c)](this[_0x32519f(0x81)]);}}class Wn extends _0x4f7fde{[_0x31ad2f(0x7f)];[_0x31ad2f(0x66)];[_0x31ad2f(0x77)];[_0x31ad2f(0xa4)];[_0x31ad2f(0x6a)];constructor(_0x50f43c,{part:_0x3ed584,uiIndex:_0x540d19,availableActions:_0x3f252b}){const _0x2de199=_0x31ad2f;super(_0x50f43c),this[_0x2de199(0x74)](_0x2de199(0xac),_0x3ed584),this[_0x2de199(0x74)](_0x2de199(0x88),!0x0),this[_0x2de199(0x74)](_0x2de199(0x83),_0x2de199(0x92));const _0x1a41e6=new _0x4f5081();_0x1a41e6[_0x2de199(0x99)]=_0x1b4abe,_0x1a41e6[_0x2de199(0x7d)]({'attributes':{'class':[_0x2de199(0xa6)]}});const _0x4d55df=[];if(_0x3f252b[_0x2de199(0x85)](_0x2de199(0x9b))){const _0x12f1e2=new _0x4a2fcc(_0x50f43c);_0x12f1e2[_0x2de199(0x74)]({'label':_0x3840a2(_0x50f43c,_0x2de199(0x6c)),'tooltip':!0x0,'withText':!0x1,'icon':_0x483dc7}),_0x12f1e2[_0x2de199(0x80)](_0x2de199(0x88))['to'](this),_0x12f1e2['on'](_0x2de199(0x8e),()=>{const _0x3cc6d6=_0x2de199;this[_0x3cc6d6(0x7e)](_0x3cc6d6(0x9b),{'index':_0x3ed584[_0x3cc6d6(0x69)]});}),_0x4d55df[_0x2de199(0x9a)](_0x12f1e2);}if(_0x3f252b[_0x2de199(0x85)](_0x2de199(0xa3))){const _0x6b4da5=new _0x4a2fcc(_0x50f43c);_0x6b4da5[_0x2de199(0x74)]({'label':_0x3840a2(_0x50f43c,_0x2de199(0x98)),'tooltip':!0x0,'withText':!0x1,'icon':_0x228a86}),_0x6b4da5[_0x2de199(0x80)](_0x2de199(0x88))['to'](this),_0x6b4da5['on'](_0x2de199(0x8e),()=>{const _0x30ca9a=_0x2de199;this[_0x30ca9a(0x7e)](_0x30ca9a(0xa3),{'index':_0x3ed584[_0x30ca9a(0x69)]});}),_0x4d55df[_0x2de199(0x9a)](_0x6b4da5);}const _0x3c8cee=new _0x4a2fcc(_0x50f43c);_0x3c8cee[_0x2de199(0x74)]({'label':_0x3840a2(_0x50f43c,_0x2de199(0x70)),'tooltip':!0x0,'withText':!0x1,'icon':_0x811dbb}),_0x3c8cee[_0x2de199(0x80)](_0x2de199(0x88))['to'](this),_0x3c8cee['on'](_0x2de199(0x8e),()=>{const _0x28f094=_0x2de199;this[_0x28f094(0x7e)](_0x28f094(0xa9),{'index':_0x3ed584[_0x28f094(0x69)]});}),_0x4d55df[_0x2de199(0x9a)](_0x3c8cee),this[_0x2de199(0x66)]=new _0x1472cf(_0x50f43c),this[_0x2de199(0x66)][_0x2de199(0x7a)][_0x2de199(0x8f)](_0x4d55df),this[_0x2de199(0x77)]=new _0x4f5081(),this[_0x2de199(0x77)][_0x2de199(0x99)]=_0x84993,this[_0x2de199(0x77)][_0x2de199(0x7d)]({'attributes':{'class':[_0x2de199(0x8d)],'data-cke-tooltip-text':_0x3840a2(_0x50f43c,_0x2de199(0x76)),'data-cke-tooltip-position':'n'}}),this[_0x2de199(0xa4)]=new _0x4f5081(),this[_0x2de199(0xa4)][_0x2de199(0x99)]=_0x314d3c,this[_0x2de199(0xa4)][_0x2de199(0x7d)]({'attributes':{'class':[_0x2de199(0x73)],'data-cke-tooltip-text':_0x3840a2(_0x50f43c,_0x2de199(0xa1)),'data-cke-tooltip-position':'n'}}),this[_0x2de199(0x6a)]=new _0x4f5081(),this[_0x2de199(0x6a)][_0x2de199(0x99)]=_0x314d3c,this[_0x2de199(0x6a)][_0x2de199(0x7d)]({'attributes':{'class':[_0x2de199(0xa5)],'data-cke-tooltip-text':_0x3840a2(_0x50f43c,_0x2de199(0x71)),'data-cke-tooltip-position':'n'}});const _0x321114=new _0x4f7fde(_0x50f43c);_0x321114[_0x2de199(0x68)]({'tag':_0x2de199(0xae),'attributes':{'class':['ck',_0x2de199(0xaa)]},'children':[_0x3840a2(_0x50f43c,_0x2de199(0x87),_0x540d19[_0x2de199(0xb4)]())]}),this[_0x2de199(0x7f)]=this[_0x2de199(0xa0)](),this[_0x2de199(0x7f)][_0x2de199(0x8f)]([_0x1a41e6,_0x321114,this[_0x2de199(0x66)]]),this[_0x2de199(0x68)]({'tag':_0x2de199(0x72),'attributes':{'class':['ck',_0x2de199(0x65),_0x2de199(0x6d)]},'children':this[_0x2de199(0x7f)]}),this['on'](_0x2de199(0x84),(_0x18bd86,_0x29b8b3,_0x37b406,_0x5927ac)=>{const _0x3cf5d8=_0x2de199;switch(_0x5927ac){case _0x3cf5d8(0x92):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x7c)](this[_0x3cf5d8(0x66)]);break;case _0x3cf5d8(0xa7):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x7c)](this[_0x3cf5d8(0x77)]);break;case _0x3cf5d8(0xa2):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x7c)](this[_0x3cf5d8(0xa4)]);break;case _0x3cf5d8(0x8c):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x7c)](this[_0x3cf5d8(0x6a)]);}switch(_0x37b406){case _0x3cf5d8(0x92):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x6e)](this[_0x3cf5d8(0x66)]);break;case _0x3cf5d8(0xa7):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x6e)](this[_0x3cf5d8(0x77)]);break;case _0x3cf5d8(0xa2):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x6e)](this[_0x3cf5d8(0xa4)]);break;case _0x3cf5d8(0x8c):this[_0x3cf5d8(0x7f)][_0x3cf5d8(0x6e)](this[_0x3cf5d8(0x6a)]);}});}}
@@ -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 _0x492520=_0x542a;(function(_0x1711b7,_0x8125ff){const _0x5baa8b=_0x542a,_0x176d9d=_0x1711b7();while(!![]){try{const _0x46567d=-parseInt(_0x5baa8b(0xe0))/0x1*(-parseInt(_0x5baa8b(0xde))/0x2)+parseInt(_0x5baa8b(0xea))/0x3*(-parseInt(_0x5baa8b(0xca))/0x4)+parseInt(_0x5baa8b(0xd1))/0x5+parseInt(_0x5baa8b(0xc9))/0x6+parseInt(_0x5baa8b(0xd3))/0x7*(-parseInt(_0x5baa8b(0xec))/0x8)+-parseInt(_0x5baa8b(0xdc))/0x9*(parseInt(_0x5baa8b(0xe2))/0xa)+parseInt(_0x5baa8b(0xda))/0xb;if(_0x46567d===_0x8125ff)break;else _0x176d9d['push'](_0x176d9d['shift']());}catch(_0x27c267){_0x176d9d['push'](_0x176d9d['shift']());}}}(_0x4519,0xe8f36));function _0x542a(_0x55d25a,_0x1caeab){const _0x451996=_0x4519();return _0x542a=function(_0x542afa,_0x39c64e){_0x542afa=_0x542afa-0xc7;let _0x5d7ef0=_0x451996[_0x542afa];return _0x5d7ef0;},_0x542a(_0x55d25a,_0x1caeab);}function _0x4519(){const _0x3b5424=['children','iconView','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','add','render','6936996YFwLpF','AI_SUGGESTION_HEADER_TITLE','10377BPtXQj','AI_SUGGESTION_BUTTON_SHOW_CHANGES','10694TRLBFz','showDiff','101myAPmJ','setTemplate','9800YvtXTe','fire','bind','ck-ai-suggestion__header','isVisible','span','ck-hidden','isOn','2069124SwAUUE','showHeader','6875104Khexur','content','toggleShowChanges','3875262KbyoBJ','4CJzzaf','div','remove','showChangesToggleView','isShowChangesToggleVisible','icon','filter','9083210GLMWWd','execute','7XNINWF','set'];_0x4519=function(){return _0x3b5424;};return _0x4519();}import{getTranslation as _0x1b3767}from'../../utils/common-translations.js';import{ButtonView as _0x5dbff2,IconView as _0x3d621c,View as _0xca7e1b}from'ckeditor5/src/ui.js';import{IconDocument as _0x178237,IconShowChangesOff as _0x250b56,IconShowChangesOn as _0x5cc948}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0xca7e1b{[_0x492520(0xcd)];constructor(_0x2540c5,_0x578f34){const _0x569cf6=_0x492520;super(_0x2540c5),this[_0x569cf6(0xd4)](_0x569cf6(0xce),!0x0),this[_0x569cf6(0xcd)]=new ShowChangesToggleView(_0x2540c5),this[_0x569cf6(0xcd)][_0x569cf6(0xd4)]({'class':_0x569cf6(0xd7),'label':_0x1b3767(_0x2540c5,_0x569cf6(0xdd)),'withText':!0x0}),this[_0x569cf6(0xcd)][_0x569cf6(0xe9)]=_0x578f34[_0x569cf6(0xdf)],this[_0x569cf6(0xcd)][_0x569cf6(0xe4)](_0x569cf6(0xe6))['to'](this,_0x569cf6(0xce)),this[_0x569cf6(0xcd)][_0x569cf6(0xe4)](_0x569cf6(0xcf))['to'](this[_0x569cf6(0xcd)],_0x569cf6(0xe9),_0x156da0=>_0x156da0?_0x5cc948:_0x250b56),this[_0x569cf6(0xcd)]['on'](_0x569cf6(0xd2),()=>{const _0x57d4f5=_0x569cf6;this[_0x57d4f5(0xcd)][_0x57d4f5(0xe9)]=!this[_0x57d4f5(0xcd)][_0x57d4f5(0xe9)],this[_0x57d4f5(0xe3)](_0x57d4f5(0xc8),{'isOn':this[_0x57d4f5(0xcd)][_0x57d4f5(0xe9)]});});const _0x50ae91=new _0x3d621c();_0x50ae91[_0x569cf6(0xc7)]=_0x178237,this[_0x569cf6(0xe1)]({'tag':_0x569cf6(0xcb),'attributes':{'class':['ck',_0x569cf6(0xe5),!0x1===_0x578f34[_0x569cf6(0xeb)]?_0x569cf6(0xe8):null][_0x569cf6(0xd0)](Boolean)},'children':[_0x50ae91,{'tag':_0x569cf6(0xe7),'children':[_0x1b3767(_0x2540c5,_0x569cf6(0xdb))]},this[_0x569cf6(0xcd)]]});}}export class ShowChangesToggleView extends _0x5dbff2{[_0x492520(0xd9)](){const _0x993fd4=_0x492520;super[_0x993fd4(0xd9)](),this[_0x993fd4(0xd5)][_0x993fd4(0xcc)](this[_0x993fd4(0xd6)]),this[_0x993fd4(0xd5)][_0x993fd4(0xd8)](this[_0x993fd4(0xd6)]);}}
@@ -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 _0x175c(_0x5bfbfc,_0xed86c2){const _0x1677cb=_0x1677();return _0x175c=function(_0x175cc2,_0x239819){_0x175cc2=_0x175cc2-0xa1;let _0x65bbff=_0x1677cb[_0x175cc2];return _0x65bbff;},_0x175c(_0x5bfbfc,_0xed86c2);}(function(_0x29d9b5,_0x4ed745){const _0x1c3e10=_0x175c,_0x7b7444=_0x29d9b5();while(!![]){try{const _0x17054a=-parseInt(_0x1c3e10(0xa4))/0x1*(parseInt(_0x1c3e10(0xad))/0x2)+parseInt(_0x1c3e10(0xa5))/0x3+parseInt(_0x1c3e10(0xb1))/0x4+-parseInt(_0x1c3e10(0xa7))/0x5+parseInt(_0x1c3e10(0xb2))/0x6*(-parseInt(_0x1c3e10(0xa8))/0x7)+-parseInt(_0x1c3e10(0xa2))/0x8+parseInt(_0x1c3e10(0xab))/0x9;if(_0x17054a===_0x4ed745)break;else _0x7b7444['push'](_0x7b7444['shift']());}catch(_0x13233e){_0x7b7444['push'](_0x7b7444['shift']());}}}(_0x1677,0xcd001));function _0x1677(){const _0x464e9f=['AI_TABS_LABEL_MAXIMIZE','resizeTabs','13349349ljmmSD','label','2007976KTpYPT','icon','isMaximized','execute','3704564ZrFVbV','6aRGzwe','AI_TABS_LABEL_MINIMIZE','isOn','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','set','7208224mBMWzl','fire','1FoMjgz','4835460ySSLBY','bind','468560DjMuDj','8279691vHBvJh'];_0x1677=function(){return _0x464e9f;};return _0x1677();}import{ButtonView as _0x5c901f}from'ckeditor5/src/ui.js';import{IconMaximize as _0x3956c9,IconMinimize as _0x4eb8b1}from'ckeditor5/src/icons.js';import{getTranslation as _0x9d28b9}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x536fdb,_0x29ffc1){const _0x5c13a7=_0x175c,_0x899fe1=new _0x5c901f(_0x536fdb),_0x3386fb=_0x9d28b9(_0x536fdb,_0x5c13a7(0xb3)),_0x176c46=_0x9d28b9(_0x536fdb,_0x5c13a7(0xa9));return _0x899fe1[_0x5c13a7(0xa1)]({'withText':!0x1,'icon':_0x3956c9,'tooltip':!0x0,'class':_0x5c13a7(0xb5)}),_0x899fe1[_0x5c13a7(0xa6)](_0x5c13a7(0xac))['to'](_0x29ffc1,_0x5c13a7(0xaf),_0x1a8486=>_0x1a8486?_0x3386fb:_0x176c46),_0x899fe1[_0x5c13a7(0xa6)](_0x5c13a7(0xae))['to'](_0x29ffc1,_0x5c13a7(0xaf),_0x589cd0=>_0x589cd0?_0x4eb8b1:_0x3956c9),_0x899fe1[_0x5c13a7(0xa6)](_0x5c13a7(0xb4))['to'](_0x29ffc1,_0x5c13a7(0xaf)),_0x899fe1['on'](_0x5c13a7(0xb0),()=>{const _0x732960=_0x5c13a7;_0x29ffc1[_0x732960(0xa3)](_0x732960(0xaa));}),_0x899fe1;}
@@ -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 _0x2725(_0x5045ca,_0x371cc7){const _0x48624a=_0x4862();return _0x2725=function(_0x2725a1,_0x2ea3ad){_0x2725a1=_0x2725a1-0x10e;let _0x4c778b=_0x48624a[_0x2725a1];return _0x4c778b;},_0x2725(_0x5045ca,_0x371cc7);}const _0xd4843c=_0x2725;(function(_0x5ebb82,_0x4845a6){const _0x41f199=_0x2725,_0x1686a5=_0x5ebb82();while(!![]){try{const _0x38b356=parseInt(_0x41f199(0x123))/0x1*(parseInt(_0x41f199(0x12a))/0x2)+parseInt(_0x41f199(0x116))/0x3+parseInt(_0x41f199(0x127))/0x4+-parseInt(_0x41f199(0x128))/0x5+parseInt(_0x41f199(0x126))/0x6*(-parseInt(_0x41f199(0x110))/0x7)+-parseInt(_0x41f199(0x11f))/0x8+parseInt(_0x41f199(0x11b))/0x9*(parseInt(_0x41f199(0x11a))/0xa);if(_0x38b356===_0x4845a6)break;else _0x1686a5['push'](_0x1686a5['shift']());}catch(_0x56c5fa){_0x1686a5['push'](_0x1686a5['shift']());}}}(_0x4862,0xb79a8));import{CKEditorError as _0x420f51,compareArrays as _0x2a680a}from'ckeditor5/src/utils.js';import{getNodePath as _0x2ff420,isText as _0x1259df,getChildren as _0x747c24,isDocument as _0x44afff,getParent as _0x52e23c,textContent as _0x2bdc2e,hasChildren as _0x57ea09}from'./htmlparser.js';export class DocumentPosition{[_0xd4843c(0x124)];[_0xd4843c(0x129)];[_0xd4843c(0x117)];constructor(_0x1bc796,_0x140f74,_0x52a96a){const _0x1d780d=_0xd4843c;if(_0x1259df(_0x140f74)&&_0x52a96a>_0x140f74[_0x1d780d(0x119)][_0x1d780d(0x114)])throw new _0x420f51(_0x1d780d(0x10e),null,{'index':_0x52a96a,'parent':_0x140f74});if(_0x57ea09(_0x140f74)&&_0x52a96a>_0x747c24(_0x140f74)[_0x1d780d(0x114)])throw new _0x420f51(_0x1d780d(0x10e),null,{'index':_0x52a96a,'parent':_0x140f74});if(_0x52a96a<0x0)throw new _0x420f51(_0x1d780d(0x10e),null,{'index':_0x52a96a,'parent':_0x140f74});this[_0x1d780d(0x124)]=_0x140f74,this[_0x1d780d(0x129)]=_0x52a96a,this[_0x1d780d(0x117)]=_0x1bc796;}get[_0xd4843c(0x12e)](){const _0x584511=_0xd4843c;return[..._0x2ff420(this[_0x584511(0x124)]),this[_0x584511(0x129)]];}[_0xd4843c(0x11c)](_0x4d341a){const _0x41ffc2=_0xd4843c;return this[_0x41ffc2(0x117)]==_0x4d341a[_0x41ffc2(0x117)]&&_0x41ffc2(0x115)===_0x2a680a(this[_0x41ffc2(0x12e)],_0x4d341a[_0x41ffc2(0x12e)]);}get[_0xd4843c(0x113)](){const _0x27064b=_0xd4843c;if(_0x57ea09(this[_0x27064b(0x124)])){const _0x3fad13=_0x747c24(this[_0x27064b(0x124)])[this[_0x27064b(0x129)]];if(_0x3fad13)return _0x3fad13;{const _0x38196d=DocumentPosition[_0x27064b(0x12c)](this[_0x27064b(0x117)],this[_0x27064b(0x124)]);if(_0x38196d)return _0x38196d[_0x27064b(0x113)];}}return null;}get[_0xd4843c(0x12b)](){const _0x23bea5=_0xd4843c;if(_0x57ea09(this[_0x23bea5(0x124)])){const _0x25395d=_0x747c24(this[_0x23bea5(0x124)])[this[_0x23bea5(0x129)]-0x1];if(_0x25395d)return _0x25395d;{const _0x2f01ef=DocumentPosition[_0x23bea5(0x11e)](this[_0x23bea5(0x117)],this[_0x23bea5(0x124)]);if(_0x2f01ef)return _0x2f01ef[_0x23bea5(0x12b)];}}return null;}[_0xd4843c(0x125)](_0x567bdd=_0xd4843c(0x112)){const _0x1b202f=_0xd4843c;if(!_0x1259df(this[_0x1b202f(0x124)]))return this;const _0x22017e=this[_0x1b202f(0x12e)][this[_0x1b202f(0x12e)][_0x1b202f(0x114)]-0x1],_0x20984f=_0x2bdc2e(this[_0x1b202f(0x124)])[_0x1b202f(0x118)](/(?:\s*\S+\s*)/g);let _0x4663ff=0x0,_0x627bb0=_0x22017e;for(const _0x562d93 of _0x20984f){if(_0x4663ff+_0x562d93[_0x1b202f(0x114)]===_0x22017e)return this;if(_0x4663ff+_0x562d93[_0x1b202f(0x114)]>_0x22017e){_0x627bb0=_0x1b202f(0x112)===_0x567bdd?_0x4663ff:_0x4663ff+_0x562d93[_0x1b202f(0x114)];break;}_0x4663ff+=_0x562d93[_0x1b202f(0x114)];}return DocumentPosition[_0x1b202f(0x10f)](this[_0x1b202f(0x117)],this[_0x1b202f(0x124)],_0x627bb0);}static[_0xd4843c(0x12c)](_0x2e37c4,_0x5a0116){const _0x3414fa=_0xd4843c;if(_0x44afff(_0x5a0116))return null;const _0x596cae=_0x52e23c(_0x5a0116);return DocumentPosition[_0x3414fa(0x10f)](_0x2e37c4,_0x596cae,_0x747c24(_0x596cae)[_0x3414fa(0x111)](_0x5a0116)+0x1);}static[_0xd4843c(0x11e)](_0x450801,_0x14d087){const _0x42b202=_0xd4843c;if(_0x44afff(_0x14d087))return null;const _0x51985e=_0x52e23c(_0x14d087);return DocumentPosition[_0x42b202(0x10f)](_0x450801,_0x51985e,_0x747c24(_0x51985e)[_0x42b202(0x111)](_0x14d087));}static[_0xd4843c(0x10f)](_0x5b0787,_0x19f279,_0x40972c=_0xd4843c(0x112)){const _0x6065c8=_0xd4843c;return new DocumentPosition(_0x5b0787,_0x19f279,_0x6065c8(0x112)===_0x40972c?0x0:_0x6065c8(0x12d)===_0x40972c?_0x1259df(_0x19f279)?_0x19f279[_0x6065c8(0x119)][_0x6065c8(0x114)]:_0x747c24(_0x19f279)[_0x6065c8(0x114)]:_0x40972c);}static[_0xd4843c(0x121)](_0x13e662,_0xf5afeb){const _0x114527=_0xd4843c;if(!_0xf5afeb[_0x114527(0x114)])throw new _0x420f51(_0x114527(0x122),null,{'path':_0xf5afeb});const _0x3bed27=_0xf5afeb[_0x114527(0x120)](0x0,-0x1)[_0x114527(0x11d)]((_0x3af6a4,_0x45bf0c)=>_0x1259df(_0x3af6a4)?_0x3af6a4:_0x747c24(_0x3af6a4)[_0x45bf0c],_0x13e662);return DocumentPosition[_0x114527(0x10f)](_0x13e662,_0x3bed27,_0xf5afeb[_0xf5afeb[_0x114527(0x114)]-0x1]);}}function _0x4862(){const _0x4367a0=['document','match','data','18117670sjCBLU','9AmMyRD','isEqual','reduce','createBefore','10651880qClulg','slice','createFromPath','ai-documentposition-createfrompath-path-cannot-be-empty','155806vmtUnr','parent','getNudgedToWordBoundary','834342EhJDCU','3288628WacFnZ','5232800oXNtKw','index','8LgyBms','previousNode','createAfter','end','path','ai-documentposition-index-out-of-bounds','createAt','28bJvVOw','indexOf','start','nextNode','length','same','1287495ihrcVu'];_0x4862=function(){return _0x4367a0;};return _0x4862();}
@@ -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 _0x37b166=_0x59c7;function _0x59c7(_0x3ad535,_0x13b89b){const _0x249391=_0x2493();return _0x59c7=function(_0x59c77d,_0x344c66){_0x59c77d=_0x59c77d-0x13e;let _0x5a4ebe=_0x249391[_0x59c77d];return _0x5a4ebe;},_0x59c7(_0x3ad535,_0x13b89b);}(function(_0x2057a8,_0x462291){const _0x251d46=_0x59c7,_0xd3b571=_0x2057a8();while(!![]){try{const _0xfd7dd5=-parseInt(_0x251d46(0x15a))/0x1*(-parseInt(_0x251d46(0x14a))/0x2)+parseInt(_0x251d46(0x145))/0x3*(-parseInt(_0x251d46(0x15d))/0x4)+-parseInt(_0x251d46(0x13f))/0x5*(-parseInt(_0x251d46(0x14f))/0x6)+-parseInt(_0x251d46(0x14d))/0x7*(parseInt(_0x251d46(0x151))/0x8)+-parseInt(_0x251d46(0x144))/0x9*(parseInt(_0x251d46(0x153))/0xa)+parseInt(_0x251d46(0x157))/0xb+parseInt(_0x251d46(0x143))/0xc*(parseInt(_0x251d46(0x159))/0xd);if(_0xfd7dd5===_0x462291)break;else _0xd3b571['push'](_0xd3b571['shift']());}catch(_0x2422b0){_0xd3b571['push'](_0xd3b571['shift']());}}}(_0x2493,0x1e474));function _0x2493(){const _0x267c4f=['parent','previousNode','12NBPgzr','createFromPath','length','path','document','lastChild','5RrAqtY','getNudgedToWordBoundary','isEqual','createAfter','36ECxqdB','531aEnqTv','175173dUXsFa','end','createAt','reverse','includes','4VBjOUC','getContent','push','7EBOCGP','firstChild','567048snTpas','slice','20152Pvzdhu','start','39780yZxHwr','createBefore','data','forEach','994279rgoAdG','nextNode','490529GmfXLn','119159TIGRed'];_0x2493=function(){return _0x267c4f;};return _0x2493();}import{DocumentPosition as _0x440a05}from'./documentposition.js';import{clone as _0x57335c,getParents as _0x1424f6,Document as _0x445aea,Text as _0x45c7b9,isTag as _0x1904f0,isText as _0x16ad57,replaceElement as _0x5a15da,removeElement as _0x5d2f92}from'./htmlparser.js';export class DocumentRange{[_0x37b166(0x152)];[_0x37b166(0x146)];constructor(_0x20986b,_0x2bb504){const _0x308281=_0x37b166;this[_0x308281(0x152)]=_0x20986b,this[_0x308281(0x146)]=_0x2bb504;}[_0x37b166(0x141)](_0x435560){const _0x361579=_0x37b166;return this==_0x435560||this[_0x361579(0x152)][_0x361579(0x141)](_0x435560[_0x361579(0x152)])&&this[_0x361579(0x146)][_0x361579(0x141)](_0x435560[_0x361579(0x146)]);}[_0x37b166(0x140)](){const _0x3c608c=_0x37b166;return new DocumentRange(this[_0x3c608c(0x152)][_0x3c608c(0x140)](_0x3c608c(0x152)),this[_0x3c608c(0x146)][_0x3c608c(0x140)](_0x3c608c(0x146)));}[_0x37b166(0x14b)](){const _0x4c690b=_0x37b166,_0x276cd7=_0x57335c(this[_0x4c690b(0x152)][_0x4c690b(0x161)]),_0x18e799=_0x440a05[_0x4c690b(0x15e)](_0x276cd7,this[_0x4c690b(0x152)][_0x4c690b(0x160)]),_0x528249=_0x440a05[_0x4c690b(0x15e)](_0x276cd7,this[_0x4c690b(0x146)][_0x4c690b(0x160)]);let _0x45d5cf,_0x2d2ec0;if(_0x16ad57(_0x18e799[_0x4c690b(0x15b)])){const _0x1a8381=_0x18e799[_0x4c690b(0x160)][_0x18e799[_0x4c690b(0x160)][_0x4c690b(0x15f)]-0x1],_0x380274=new _0x45c7b9(_0x18e799[_0x4c690b(0x15b)][_0x4c690b(0x155)][_0x4c690b(0x150)](_0x1a8381));_0x5a15da(_0x18e799[_0x4c690b(0x15b)],_0x380274),_0x45d5cf=_0x380274;}else _0x45d5cf=_0x18e799[_0x4c690b(0x158)];if(_0x16ad57(_0x528249[_0x4c690b(0x15b)])){const _0x387418=_0x528249[_0x4c690b(0x160)][_0x528249[_0x4c690b(0x160)][_0x4c690b(0x15f)]-0x1],_0x2c782f=new _0x45c7b9(_0x528249[_0x4c690b(0x15b)][_0x4c690b(0x155)][_0x4c690b(0x150)](0x0,_0x387418));_0x5a15da(_0x528249[_0x4c690b(0x15b)],_0x2c782f),_0x2d2ec0=_0x2c782f;}else _0x2d2ec0=_0x528249[_0x4c690b(0x15c)];if(!(_0x45d5cf&&_0x2d2ec0&&_0x276cd7[_0x4c690b(0x14e)]&&_0x276cd7[_0x4c690b(0x13e)]))return new _0x445aea([]);const _0x2f497c=_0x1424f6(_0x45d5cf),_0x4631db=_0x1424f6(_0x2d2ec0),_0x123591=[],_0x9497d0=[];let _0x342a79=_0x276cd7[_0x4c690b(0x14e)];for(;_0x342a79&&_0x342a79!==_0x45d5cf;){let _0x2860b0;_0x2f497c[_0x4c690b(0x149)](_0x342a79)||_0x123591[_0x4c690b(0x14c)](_0x342a79),_0x2860b0=_0x1904f0(_0x342a79)?_0x440a05[_0x4c690b(0x147)](_0x276cd7,_0x342a79,_0x4c690b(0x152)):_0x440a05[_0x4c690b(0x142)](_0x276cd7,_0x342a79),_0x342a79=_0x2860b0?_0x2860b0[_0x4c690b(0x158)]:null;}for(_0x342a79=_0x276cd7[_0x4c690b(0x13e)];_0x342a79&&_0x342a79!==_0x2d2ec0;){let _0x2649c1;_0x4631db[_0x4c690b(0x149)](_0x342a79)||_0x9497d0[_0x4c690b(0x14c)](_0x342a79),_0x2649c1=_0x1904f0(_0x342a79)?_0x440a05[_0x4c690b(0x147)](_0x276cd7,_0x342a79,_0x4c690b(0x146)):_0x440a05[_0x4c690b(0x154)](_0x276cd7,_0x342a79),_0x342a79=_0x2649c1?_0x2649c1[_0x4c690b(0x15c)]:null;}return _0x123591[_0x4c690b(0x156)](_0x2bcfb9=>{_0x5d2f92(_0x2bcfb9);}),_0x9497d0[_0x4c690b(0x148)]()[_0x4c690b(0x156)](_0x42a5f6=>{_0x5d2f92(_0x42a5f6);}),_0x276cd7;}}
@@ -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 _0x2845(_0x449c05,_0x30a614){var _0x43215e=_0x4321();return _0x2845=function(_0x2845ea,_0x23eb60){_0x2845ea=_0x2845ea-0xf3;var _0x3c128a=_0x43215e[_0x2845ea];return _0x3c128a;},_0x2845(_0x449c05,_0x30a614);}(function(_0x495738,_0x2cec07){var _0x588286=_0x2845,_0x26fe0f=_0x495738();while(!![]){try{var _0x42572b=parseInt(_0x588286(0xf8))/0x1*(-parseInt(_0x588286(0xf7))/0x2)+parseInt(_0x588286(0xfd))/0x3+-parseInt(_0x588286(0xf3))/0x4*(-parseInt(_0x588286(0xf4))/0x5)+-parseInt(_0x588286(0xfa))/0x6*(-parseInt(_0x588286(0xf9))/0x7)+parseInt(_0x588286(0x102))/0x8+-parseInt(_0x588286(0x103))/0x9+-parseInt(_0x588286(0x100))/0xa*(parseInt(_0x588286(0xfc))/0xb);if(_0x42572b===_0x2cec07)break;else _0x26fe0f['push'](_0x26fe0f['shift']());}catch(_0x5de48e){_0x26fe0f['push'](_0x26fe0f['shift']());}}}(_0x4321,0xc799b));import{CKEditorError as _0x3b4d2d}from'ckeditor5/src/utils.js';import{Editor as _0x46732d}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x4357b0){var _0x26413e=_0x2845;if(_0x4357b0 instanceof _0x46732d)return _0x4357b0;if(_0x4357b0?.[_0x26413e(0xf6)]&&_0x4357b0[_0x26413e(0xf6)][_0x26413e(0xff)](0x0))return _0x4357b0[_0x26413e(0xf6)][_0x26413e(0xfe)]>0x1&&console[_0x26413e(0xfb)](_0x26413e(0x101)),_0x4357b0[_0x26413e(0xf6)][_0x26413e(0xff)](0x0);throw new _0x3b4d2d(_0x26413e(0xf5));}function _0x4321(){var _0x382704=['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.','2822312vRmCcM','1000251IBMTTX','2782048nYUlGs','5rithFV','ai-get-editor-from-context-no-editor','editors','204398LOFotL','1HnSHzI','7buwvHQ','6138846cwxavx','warn','33uOsnQt','2975490JJasKo','length','get','6774570JBLuSo'];_0x4321=function(){return _0x382704;};return _0x4321();}
@@ -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(_0x4b6db1,_0x3d1cba){const _0xa224d3=_0x42bf,_0x244d95=_0x4b6db1();while(!![]){try{const _0x13839b=parseInt(_0xa224d3(0x18b))/0x1+-parseInt(_0xa224d3(0x188))/0x2+-parseInt(_0xa224d3(0x19a))/0x3*(parseInt(_0xa224d3(0x198))/0x4)+-parseInt(_0xa224d3(0x185))/0x5+parseInt(_0xa224d3(0x196))/0x6*(parseInt(_0xa224d3(0x1a2))/0x7)+parseInt(_0xa224d3(0x187))/0x8*(parseInt(_0xa224d3(0x1a4))/0x9)+parseInt(_0xa224d3(0x197))/0xa;if(_0x13839b===_0x3d1cba)break;else _0x244d95['push'](_0x244d95['shift']());}catch(_0x1e6044){_0x244d95['push'](_0x244d95['shift']());}}}(_0x5d41,0x4d359));function _0x5d41(){const _0x43350e=['297999altLwO','filter','data-id','name','removed','history','type','get','map','node','previousSibling','64290DJqLsm','10721710gkmWsJ','4qdtgXc','shift','1450437OSMGFg','anchorId','version','getDiff','documentContextContent','content','operationsA','document','133Eugobx','getRange','2403GzaBuk','markers','new','getOperations','marker','oldRange','getDocumentContext','2630285tKrkxO','model','7200wEERnc','976540rHfmOA','cloneNode','length'];_0x5d41=function(){return _0x43350e;};return _0x5d41();}import{transformOperationSets as _0x226829}from'ckeditor5/src/engine.js';import{append as _0x5494f8,findByAttribute as _0x1578f,prependChild as _0x51e9ac,removeElement as _0x4dc1e0,serialize as _0x597fbd}from'./htmlparser.js';function _0x42bf(_0x1979bb,_0x13da07){const _0x5d41b0=_0x5d41();return _0x42bf=function(_0x42bfef,_0x3e337f){_0x42bfef=_0x42bfef-0x180;let _0x582421=_0x5d41b0[_0x42bfef];return _0x582421;},_0x42bf(_0x1979bb,_0x13da07);}export function getOperationsFromReply({editor:_0x3d5e4e,interaction:_0x47d60e,reply:_0xfb3dd5,groups:_0x3bbf48,transform:_0x692d9,documentCompare:_0x513435,documentCompareOptions:_0x5ade77}){const _0x1db5c3=_0x42bf,_0x4415ce=_0x47d60e[_0x1db5c3(0x184)]();if(!_0x4415ce)return[];const _0xba5336=_0x4415ce[_0x1db5c3(0x19f)],_0x12ae59=_0x4415ce[_0x1db5c3(0x19c)],_0x58b143=_0xfb3dd5[_0x1db5c3(0x19e)][_0x1db5c3(0x189)](!0x0);for(const {changes:_0x55dd5e}of _0x3bbf48){const _0x2ba66f=_0x55dd5e[_0x1db5c3(0x18c)](_0x1c8974=>_0x1db5c3(0x180)!=_0x1c8974[_0x1db5c3(0x191)])[_0x1db5c3(0x193)](_0x40a760=>_0x1578f(_0x1db5c3(0x18d),_0x40a760['id'],_0x58b143)),_0x527673=_0x55dd5e[_0x1db5c3(0x18c)](_0x5209d4=>_0x1db5c3(0x18f)!=_0x5209d4[_0x1db5c3(0x191)])[_0x1db5c3(0x193)](_0x37a02f=>_0x37a02f[_0x1db5c3(0x194)][_0x1db5c3(0x189)](!0x0));let _0x394e62=null;if(_0x2ba66f[_0x1db5c3(0x18a)]){_0x394e62=_0x2ba66f[0x0][_0x1db5c3(0x195)];for(let _0x10d5da=0x0;_0x10d5da<_0x2ba66f[_0x1db5c3(0x18a)];_0x10d5da++)_0x4dc1e0(_0x2ba66f[_0x10d5da]);}if(_0x527673[_0x1db5c3(0x18a)]){_0x394e62||(_0x55dd5e[0x0][_0x1db5c3(0x19b)]?_0x394e62=_0x1578f(_0x1db5c3(0x18d),_0x55dd5e[0x0][_0x1db5c3(0x19b)],_0x58b143):(_0x394e62=_0x527673[_0x1db5c3(0x199)](),_0x51e9ac(_0x58b143,_0x394e62)));for(let _0x69f320=0x0;_0x69f320<_0x527673[_0x1db5c3(0x18a)];_0x69f320++)_0x5494f8(_0x394e62,_0x527673[_0x69f320]),_0x394e62=_0x527673[_0x69f320];}}const _0xeca443=_0x597fbd(_0x58b143),_0x30a7b8=_0x513435[_0x1db5c3(0x19d)](_0xba5336,_0xeca443,_0x5ade77)[_0x1db5c3(0x181)]();if(_0x692d9){const _0x5ca56b=_0x3d5e4e[_0x1db5c3(0x186)][_0x1db5c3(0x1a1)][_0x1db5c3(0x190)][_0x1db5c3(0x181)](_0x12ae59),_0x438e48={'document':_0x3d5e4e[_0x1db5c3(0x186)][_0x1db5c3(0x1a1)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x226829(_0x30a7b8,_0x5ca56b,_0x438e48)[_0x1db5c3(0x1a0)];}return _0x30a7b8;}export function fixMarkerOperationOldRange(_0x51d973,_0x1b2262){const _0x4b1da2=_0x42bf;if(_0x4b1da2(0x182)!=_0x1b2262[_0x4b1da2(0x191)])return;const _0x19af21=_0x51d973[_0x4b1da2(0x186)][_0x4b1da2(0x1a5)][_0x4b1da2(0x192)](_0x1b2262[_0x4b1da2(0x18e)]);_0x19af21&&(_0x1b2262[_0x4b1da2(0x183)]=_0x19af21[_0x4b1da2(0x1a3)]());}