@ckeditor/ckeditor5-ai 47.1.0-alpha.0 → 47.1.0-alpha.1

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 (122) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  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/form/aiformcontentarea.js +1 -1
  15. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformview.js +1 -1
  19. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  21. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  22. package/src/aiballoon/aiballoon.js +1 -1
  23. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  24. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  25. package/src/aiballoon/ui/aiballoonview.js +1 -1
  26. package/src/aichat/aichat.js +1 -1
  27. package/src/aichat/aichatcontroller.js +1 -1
  28. package/src/aichat/aichatui.js +1 -1
  29. package/src/aichat/model/aichatcontext.js +1 -1
  30. package/src/aichat/model/aichatconversation.js +1 -1
  31. package/src/aichat/model/aichatinteraction.js +1 -1
  32. package/src/aichat/model/aichatmodels.js +1 -1
  33. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  34. package/src/aichat/ui/aichatfeedview.js +1 -1
  35. package/src/aichat/ui/aichatheaderview.js +1 -1
  36. package/src/aichat/ui/aichatview.js +1 -1
  37. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  38. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  42. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  57. package/src/aichat/utils/eventnames.js +1 -1
  58. package/src/aichat/utils/promisequeue.js +1 -1
  59. package/src/aichat/utils/scrollmanager.js +1 -1
  60. package/src/aichathistory/aichathistory.js +1 -1
  61. package/src/aichathistory/aichathistorycontroller.js +1 -1
  62. package/src/aichathistory/aichathistoryui.js +1 -1
  63. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  64. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  65. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  66. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  68. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  69. package/src/aicore/aiconnector.js +1 -1
  70. package/src/aicore/aiediting.js +1 -1
  71. package/src/aicore/model/aicapabilities.js +1 -1
  72. package/src/aicore/model/aiinteraction.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  83. package/src/aicore/utils/createresizebutton.js +1 -1
  84. package/src/aicore/utils/documentposition.js +1 -1
  85. package/src/aicore/utils/documentrange.js +1 -1
  86. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  87. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  88. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  89. package/src/aicore/utils/htmlparser.js +1 -1
  90. package/src/aicore/utils/htmlstreamer.js +1 -1
  91. package/src/aieditorintegration/aieditorintegration.js +1 -1
  92. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  93. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  94. package/src/aiquickactions/aiquickactions.js +1 -1
  95. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  96. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  97. package/src/aiquickactions/aiquickactionsui.js +1 -1
  98. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  101. package/src/aireviewmode/aireviewmode.js +1 -1
  102. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  103. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  104. package/src/aireviewmode/aireviewmodeui.js +1 -1
  105. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  106. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  107. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  108. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  109. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  110. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  117. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  118. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  119. package/src/aitabs/aitabs.js +1 -1
  120. package/src/aitabs/tabs/aitabsview.js +1 -1
  121. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  122. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc9f92c=_0x2ee2;(function(_0x6cdd5d,_0x165e7c){const _0x209b2c=_0x2ee2,_0xad3ffe=_0x6cdd5d();while(!![]){try{const _0x48d527=-parseInt(_0x209b2c(0xcb))/0x1*(parseInt(_0x209b2c(0xc0))/0x2)+-parseInt(_0x209b2c(0x9c))/0x3+-parseInt(_0x209b2c(0x86))/0x4*(-parseInt(_0x209b2c(0xc2))/0x5)+parseInt(_0x209b2c(0xbf))/0x6*(-parseInt(_0x209b2c(0x9b))/0x7)+parseInt(_0x209b2c(0xbe))/0x8*(-parseInt(_0x209b2c(0xc3))/0x9)+parseInt(_0x209b2c(0xa4))/0xa*(parseInt(_0x209b2c(0x93))/0xb)+-parseInt(_0x209b2c(0x89))/0xc*(-parseInt(_0x209b2c(0xa7))/0xd);if(_0x48d527===_0x165e7c)break;else _0xad3ffe['push'](_0xad3ffe['shift']());}catch(_0x3ca6e2){_0xad3ffe['push'](_0xad3ffe['shift']());}}}(_0xac1b,0xb577d));function _0x2ee2(_0x104864,_0x3ca53e){const _0xac1b68=_0xac1b();return _0x2ee2=function(_0x2ee2a9,_0x53f83c){_0x2ee2a9=_0x2ee2a9-0x83;let _0x4d2be8=_0xac1b68[_0x2ee2a9];return _0x4d2be8;},_0x2ee2(_0x104864,_0x3ca53e);}import{ObservableMixin as _0x5c0b84,uid as _0x413373}from'ckeditor5/src/utils.js';import{Element as _0x5db849,findAll as _0x13ee7a,getAttribute as _0x1d18ec,getParents as _0x531ca8,Document as _0x106310,parse as _0x3a86de,Text as _0x1e9456}from'../utils/htmlparser.js';import{AIResponseParser as _0x565bd7}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x1e20ae}from'../pipeline/airesponseapplier.js';import{getTranslation as _0x2dadae}from'../utils/common-translations.js';export const AI_REPLY_TYPES=[_0xc9f92c(0xc9),_0xc9f92c(0xcc),_0xc9f92c(0xa0),_0xc9f92c(0x8a)];function _0xac1b(){const _0x3b1af3=['aiResponseApplier','modifiedNodeIds','setChangeGroupState','newNodeIds','595JLPNIF','1858572qZicVM','removed','cloneNode','unshift','web-search','fire','map','locale','20ElfYfU','areActionsDisabled','content','20727772AXzpdr','data-unstable','done','replyContentUpdated','includes','change:content','destroy','parsedMergedContent','editor','forEach','documentContextContent','conversation-title','merge','node','push','changes','color:\x20#808080;\x20font-style:\x20italic','replyChangeGroupStateUpdated','convertMarkdownToHTML','stopListening','aiResponseParser','onContentChange','context','2958808BfeFpI','76638FlzMsB','2LkmBAT','set','685PnRaeH','27JEUnfH','_getDifferentChangeGroups','state','nextSibling','parseAndNormalizeHTML','appendContent','modification-delta','interactionId','849463ltkbiJ','text-delta','previousSibling','parsedContent','sources','every','AI_SUGGESTION_CONTENT_PART_REMOVED','filter','source','42056RtrIyD','index','updateChangeGroups','12vfgpuo','reasoning','length','modified','values','data-id','removedNodeIds','isDone','new','changeGroups','7549718cDSVUR','span','type','pending'];_0xac1b=function(){return _0x3b1af3;};return _0xac1b();}export const AI_REPLY_TYPES_IGNORED=[_0xc9f92c(0xb2)];export const AI_REPLY_TITLE_TYPE=_0xc9f92c(0xb2);export class AIReply extends _0x5c0b84(){['id'];[_0xc9f92c(0xca)];[_0xc9f92c(0x95)];[_0xc9f92c(0xcf)]=[];[_0xc9f92c(0xce)]=new _0x106310([]);[_0xc9f92c(0xae)]=new _0x106310([]);[_0xc9f92c(0x92)]=[];[_0xc9f92c(0xa5)]=!0x1;[_0xc9f92c(0xb1)];[_0xc9f92c(0xbb)];[_0xc9f92c(0x97)];[_0xc9f92c(0xaf)];constructor({type:_0x788797,content:_0x2073f7='',isDone:_0x471748=!0x1,interactionId:_0x4f72d8,areActionsDisabled:_0x5a00af,documentContextContent:_0x29c714,editor:_0x26dbaa}){const _0x51e08b=_0xc9f92c;super(),this['id']=_0x413373(),this[_0x51e08b(0xca)]=_0x4f72d8,this[_0x51e08b(0x95)]=_0x788797,this[_0x51e08b(0xa5)]=!!_0x5a00af,this[_0x51e08b(0xaf)]=_0x26dbaa,this[_0x51e08b(0xbb)]=new _0x565bd7(),this[_0x51e08b(0x97)]=new _0x1e20ae(),this[_0x51e08b(0xb1)]=_0x3a86de(_0x29c714||''),this[_0x51e08b(0xc1)](_0x51e08b(0x90),_0x471748),this['on'](_0x51e08b(0xac),()=>{const _0x25e991=_0x51e08b;this[_0x25e991(0xbc)]();}),this[_0x51e08b(0xc1)](_0x51e08b(0xa6),_0x2073f7);}[_0xc9f92c(0xc8)](_0x1b64a5){const _0x1e2a20=_0xc9f92c;this[_0x1e2a20(0xc1)](_0x1e2a20(0xa6),this[_0x1e2a20(0xa6)]+_0x1b64a5);}[_0xc9f92c(0xa9)](){const _0x324b17=_0xc9f92c;this[_0x324b17(0x90)]||(this[_0x324b17(0xc1)](_0x324b17(0x90),!0x0),this[_0x324b17(0xbc)]());}[_0xc9f92c(0xad)](){const _0x176e07=_0xc9f92c;this[_0x176e07(0xba)]();}[_0xc9f92c(0x99)](_0x4ba3cb,_0x48fb46){const _0xc1db74=_0xc9f92c;this[_0xc1db74(0x92)][_0x4ba3cb][_0xc1db74(0xc5)]=_0x48fb46,this[_0xc1db74(0xa1)](_0xc1db74(0xb8),{'reply':this,'index':_0x4ba3cb,'state':_0x48fb46});}[_0xc9f92c(0xbc)](){const _0xa0f5b5=_0xc9f92c;if(_0xa0f5b5(0xc9)===this[_0xa0f5b5(0x95)]){this[_0xa0f5b5(0xce)]=this[_0xa0f5b5(0xbb)][_0xa0f5b5(0xc7)](this[_0xa0f5b5(0xa6)]);const _0x338bb4=this[_0xa0f5b5(0x92)];this[_0xa0f5b5(0x88)]();const _0x37aefa=this[_0xa0f5b5(0xc4)](_0x338bb4,this[_0xa0f5b5(0x92)]);(_0x37aefa[_0xa0f5b5(0x8b)]||this[_0xa0f5b5(0x90)])&&this[_0xa0f5b5(0xa1)](_0xa0f5b5(0xaa),this,_0x37aefa);}else this[_0xa0f5b5(0xce)]=this[_0xa0f5b5(0xbb)][_0xa0f5b5(0xb9)](this[_0xa0f5b5(0xa6)]),this[_0xa0f5b5(0xa1)](_0xa0f5b5(0xaa),this);}[_0xc9f92c(0xc4)](_0x51f02e,_0x23fe94){const _0x1bbb84=_0xc9f92c,_0xb89622=[];for(const _0x33cfa3 of _0x23fe94){const _0x3e3b25=_0x51f02e[_0x33cfa3[_0x1bbb84(0x87)]];_0x3e3b25?_0x3e3b25[_0x1bbb84(0xb6)][_0x1bbb84(0x8b)]!==_0x33cfa3[_0x1bbb84(0xb6)][_0x1bbb84(0x8b)]?_0xb89622[_0x1bbb84(0xb5)](_0x33cfa3):_0x3e3b25[_0x1bbb84(0xb6)][_0x1bbb84(0xb0)]((_0x426c07,_0x4f0d4e)=>{const _0x107bc9=_0x1bbb84,_0x4e3a80=_0x33cfa3[_0x107bc9(0xb6)][_0x4f0d4e];_0x426c07['id']!==_0x4e3a80['id']&&_0xb89622[_0x107bc9(0xb5)](_0x33cfa3);}):_0xb89622[_0x1bbb84(0xb5)](_0x33cfa3);}return _0xb89622;}[_0xc9f92c(0x88)](){const _0x5f16b7=_0xc9f92c,_0x2e67b6=new _0x5db849('p',{},[new _0x5db849(_0x5f16b7(0x94),{'style':_0x5f16b7(0xb7)},[new _0x1e9456(_0x2dadae(this[_0x5f16b7(0xaf)][_0x5f16b7(0xa3)],_0x5f16b7(0x83)))])]),_0x2d2cac=this[_0x5f16b7(0x97)][_0x5f16b7(0xb3)](this[_0x5f16b7(0xce)],this[_0x5f16b7(0xb1)][_0x5f16b7(0x9e)](!0x0),{'markUnstableElements':!this[_0x5f16b7(0x90)],'replaceRemovedWith':_0x2e67b6,'cutAfterLastChange':!this[_0x5f16b7(0x90)]});if(!_0x2d2cac[_0x5f16b7(0x98)][_0x5f16b7(0x8b)]&&!this[_0x5f16b7(0x90)])return;this[_0x5f16b7(0xae)]=_0x2d2cac[_0x5f16b7(0xce)];let _0x33ef93=[];if(_0x13ee7a(_0x35284d=>{const _0x24de35=_0x5f16b7,_0x220883=_0x1d18ec(_0x35284d,_0x24de35(0x8e));if(!_0x220883||!_0x4b3288(_0x220883))return!0x1;const _0x58dba3=[_0x35284d,..._0x531ca8(_0x35284d)]['at'](-0x2);if(_0x35284d!=_0x58dba3){const _0x1f3233=_0x1d18ec(_0x58dba3,_0x24de35(0x8e));_0x4b3288(_0x1f3233)||(_0x33ef93[_0x24de35(0xb5)]({'node':_0x58dba3,'id':_0x1f3233,'type':_0x24de35(0x8c)}),_0x2d2cac[_0x24de35(0x98)][_0x24de35(0xb5)](_0x1f3233));}else _0x2d2cac[_0x24de35(0x98)][_0x24de35(0xab)](_0x220883)?_0x33ef93[_0x24de35(0xb5)]({'node':_0x35284d,'type':_0x24de35(0x8c),'id':_0x220883}):_0x2d2cac[_0x24de35(0x9a)][_0x24de35(0xab)](_0x220883)?_0x33ef93[_0x24de35(0xb5)]({'node':_0x35284d,'type':_0x24de35(0x91),'id':_0x220883,'anchorId':_0x1d18ec(_0x35284d[_0x24de35(0xcd)],_0x24de35(0x8e))}):_0x33ef93[_0x24de35(0xb5)]({'node':_0x35284d,'type':_0x24de35(0x9d),'id':_0x220883});return!0x0;},this[_0x5f16b7(0xae)]),_0x33ef93=_0x33ef93[_0x5f16b7(0x84)](({node:_0x4e8c7d})=>[..._0x531ca8(_0x4e8c7d),_0x4e8c7d][_0x5f16b7(0xd0)](_0x26d69f=>!_0x1d18ec(_0x26d69f,_0x5f16b7(0xa8)))),0x0==_0x33ef93[_0x5f16b7(0x8b)])return;const _0x39e473=[[_0x33ef93[0x0]]];for(let _0x213f68=0x1;_0x213f68<_0x33ef93[_0x5f16b7(0x8b)];_0x213f68++){const _0x238f27=_0x39e473[_0x39e473[_0x5f16b7(0x8b)]-0x1],_0x52ea13=_0x238f27[_0x238f27[_0x5f16b7(0x8b)]-0x1];_0x33ef93[_0x213f68][_0x5f16b7(0xb4)][_0x5f16b7(0xcd)]==_0x52ea13[_0x5f16b7(0xb4)]&&_0x5f16b7(0x8c)!=_0x33ef93[_0x213f68][_0x5f16b7(0x95)]&&_0x5f16b7(0x8c)!=_0x52ea13[_0x5f16b7(0x95)]?_0x238f27[_0x5f16b7(0xb5)](_0x33ef93[_0x213f68]):_0x39e473[_0x5f16b7(0xb5)]([_0x33ef93[_0x213f68]]);}for(const _0x1c9223 of _0x39e473){const _0x4599a6=_0x1c9223[0x0],_0x8e3ad1=_0x1c9223[_0x1c9223[_0x5f16b7(0x8b)]-0x1],_0xe69de0=_0x1fcd9b(_0x4599a6[_0x5f16b7(0xb4)][_0x5f16b7(0xcd)]);_0xe69de0&&_0x1c9223[_0x5f16b7(0x9f)](_0xe69de0);const _0x10bc48=_0x1fcd9b(_0x8e3ad1[_0x5f16b7(0xb4)][_0x5f16b7(0xc6)]);_0x10bc48&&_0x1c9223[_0x5f16b7(0xb5)](_0x10bc48);}function _0x4b3288(_0x35ed27){const _0x4c1ca9=_0x5f16b7;return _0x2d2cac[_0x4c1ca9(0x98)][_0x4c1ca9(0xab)](_0x35ed27)||_0x2d2cac[_0x4c1ca9(0x9a)][_0x4c1ca9(0xab)](_0x35ed27)||_0x2d2cac[_0x4c1ca9(0x8f)][_0x4c1ca9(0xab)](_0x35ed27);}function _0x1fcd9b(_0x57c33f){const _0x2f6d8b=_0x5f16b7;if(_0x57c33f&&_0x1d18ec(_0x57c33f,_0x2f6d8b(0x8e))&&!_0x1d18ec(_0x57c33f,_0x2f6d8b(0xa8))){const _0x42fa7b=_0x1d18ec(_0x57c33f,_0x2f6d8b(0x8e));if(!_0x4b3288(_0x42fa7b))return{'node':_0x57c33f,'type':_0x2f6d8b(0xbd),'id':_0x42fa7b};}return null;}this[_0x5f16b7(0x92)]=_0x39e473[_0x5f16b7(0xa2)]((_0x11dcfb,_0xe4ebe9)=>({'changes':_0x11dcfb,'state':_0x5f16b7(0x96),'index':_0xe4ebe9}));}}export function isValidReplyType(_0x16bb1c){const _0xf7877=_0xc9f92c;return Object[_0xf7877(0x8d)](AI_REPLY_TYPES)[_0xf7877(0xab)](_0x16bb1c);}export function isIgnoredReplyType(_0x133d36){const _0x39cc44=_0xc9f92c;return AI_REPLY_TYPES_IGNORED[_0x39cc44(0xab)](_0x133d36);}export function isReplyTitleType(_0x12be95){return _0x12be95===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x57ffc2){const _0x586199=_0xc9f92c;return _0x586199(0x85)===_0x57ffc2;}
23
+ function _0x3c1e(_0x10bdbe,_0x1bc18){const _0x21ce48=_0x21ce();return _0x3c1e=function(_0x3c1e61,_0x34abb8){_0x3c1e61=_0x3c1e61-0xf2;let _0x7e5570=_0x21ce48[_0x3c1e61];return _0x7e5570;},_0x3c1e(_0x10bdbe,_0x1bc18);}const _0x5b46a3=_0x3c1e;(function(_0x52cbee,_0x33ef18){const _0x555ba5=_0x3c1e,_0x308c94=_0x52cbee();while(!![]){try{const _0x2f4df0=parseInt(_0x555ba5(0x13a))/0x1*(-parseInt(_0x555ba5(0x11e))/0x2)+-parseInt(_0x555ba5(0x138))/0x3*(-parseInt(_0x555ba5(0x100))/0x4)+parseInt(_0x555ba5(0x134))/0x5*(-parseInt(_0x555ba5(0x11b))/0x6)+-parseInt(_0x555ba5(0x12b))/0x7*(-parseInt(_0x555ba5(0x139))/0x8)+parseInt(_0x555ba5(0x128))/0x9*(parseInt(_0x555ba5(0x13e))/0xa)+-parseInt(_0x555ba5(0x123))/0xb+-parseInt(_0x555ba5(0xfa))/0xc*(parseInt(_0x555ba5(0x137))/0xd);if(_0x2f4df0===_0x33ef18)break;else _0x308c94['push'](_0x308c94['shift']());}catch(_0x4fec14){_0x308c94['push'](_0x308c94['shift']());}}}(_0x21ce,0x5dd9f));import{ObservableMixin as _0x3be965,uid as _0x3ebfc9}from'ckeditor5/src/utils.js';import{Element as _0x24dcbe,findAll as _0x25a89e,getAttribute as _0x1fc53a,getParents as _0x3753d2,Document as _0x419957,parse as _0xc84427,Text as _0x47b948}from'../utils/htmlparser.js';import{AIResponseParser as _0x22585e}from'../pipeline/airesponseparser.js';function _0x21ce(){const _0x40a47b=['filter','values','2223tfHcez','534nLrLvQ','8wwAPvJ','11xZnKwY','done','isDone','_getDifferentChangeGroups','10URnlSy','color:\x20#808080;\x20font-style:\x20italic','destroy','aiResponseParser','forEach','text-delta','setChangeGroupState','locale','content','fire','21444ECBbMD','state','type','data-id','aiResponseApplier','areActionsDisabled','11444wIjQTx','sources','previousSibling','removed','cloneNode','index','stopListening','newNodeIds','set','data-unstable','changeGroups','updateChangeGroups','parseAndNormalizeHTML','onContentChange','parsedContent','convertMarkdownToHTML','web-search','replyChangeGroupStateUpdated','unshift','removedNodeIds','conversation-title','new','replyContentUpdated','span','nextSibling','appendContent','parsedMergedContent','336462CxioVa','node','modified','11892dGCBlV','change:content','source','modification-delta','reasoning','5691070LMUkLu','pending','editor','every','map','869490GTGUNp','interactionId','context','5060839PzwAgg','AI_SUGGESTION_CONTENT_PART_REMOVED','push','length','merge','documentContextContent','modifiedNodeIds','includes','changes','5SsnsdU'];_0x21ce=function(){return _0x40a47b;};return _0x21ce();}import{AIResponseApplier as _0x5817e0}from'../pipeline/airesponseapplier.js';import{getTranslation as _0x4485d2}from'../utils/common-translations.js';export const AI_REPLY_TYPES=[_0x5b46a3(0x121),_0x5b46a3(0xf5),_0x5b46a3(0x110),_0x5b46a3(0x122)];export const AI_REPLY_TYPES_IGNORED=[_0x5b46a3(0x114)];export const AI_REPLY_TITLE_TYPE=_0x5b46a3(0x114);export class AIReply extends _0x3be965(){['id'];[_0x5b46a3(0x129)];[_0x5b46a3(0xfc)];[_0x5b46a3(0x101)]=[];[_0x5b46a3(0x10e)]=new _0x419957([]);[_0x5b46a3(0x11a)]=new _0x419957([]);[_0x5b46a3(0x10a)]=[];[_0x5b46a3(0xff)]=!0x1;[_0x5b46a3(0x130)];[_0x5b46a3(0xf3)];[_0x5b46a3(0xfe)];[_0x5b46a3(0x125)];constructor({type:_0x4b4538,content:_0x523a9f='',isDone:_0x2a2bb6=!0x1,interactionId:_0x3a66d9,areActionsDisabled:_0x7726d5,documentContextContent:_0x278da7,editor:_0x375a1b}){const _0x41c97d=_0x5b46a3;super(),this['id']=_0x3ebfc9(),this[_0x41c97d(0x129)]=_0x3a66d9,this[_0x41c97d(0xfc)]=_0x4b4538,this[_0x41c97d(0xff)]=!!_0x7726d5,this[_0x41c97d(0x125)]=_0x375a1b,this[_0x41c97d(0xf3)]=new _0x22585e(),this[_0x41c97d(0xfe)]=new _0x5817e0(),this[_0x41c97d(0x130)]=_0xc84427(_0x278da7||''),this[_0x41c97d(0x108)](_0x41c97d(0x13c),_0x2a2bb6),this['on'](_0x41c97d(0x11f),()=>{const _0x38fbc8=_0x41c97d;this[_0x38fbc8(0x10d)]();}),this[_0x41c97d(0x108)](_0x41c97d(0xf8),_0x523a9f);}[_0x5b46a3(0x119)](_0x439481){const _0x4732d8=_0x5b46a3;this[_0x4732d8(0x108)](_0x4732d8(0xf8),this[_0x4732d8(0xf8)]+_0x439481);}[_0x5b46a3(0x13b)](){const _0x12f4cb=_0x5b46a3;this[_0x12f4cb(0x13c)]||(this[_0x12f4cb(0x108)](_0x12f4cb(0x13c),!0x0),this[_0x12f4cb(0x10d)]());}[_0x5b46a3(0xf2)](){const _0x5ae980=_0x5b46a3;this[_0x5ae980(0x106)]();}[_0x5b46a3(0xf6)](_0x393eab,_0x454da8){const _0x55ddc2=_0x5b46a3;this[_0x55ddc2(0x10a)][_0x393eab][_0x55ddc2(0xfb)]=_0x454da8,this[_0x55ddc2(0xf9)](_0x55ddc2(0x111),{'reply':this,'index':_0x393eab,'state':_0x454da8});}[_0x5b46a3(0x10d)](){const _0x1ee70e=_0x5b46a3;if(_0x1ee70e(0x121)===this[_0x1ee70e(0xfc)]){this[_0x1ee70e(0x10e)]=this[_0x1ee70e(0xf3)][_0x1ee70e(0x10c)](this[_0x1ee70e(0xf8)]);const _0x53d199=this[_0x1ee70e(0x10a)];this[_0x1ee70e(0x10b)]();const _0x2a2a43=this[_0x1ee70e(0x13d)](_0x53d199,this[_0x1ee70e(0x10a)]);(_0x2a2a43[_0x1ee70e(0x12e)]||this[_0x1ee70e(0x13c)])&&this[_0x1ee70e(0xf9)](_0x1ee70e(0x116),this,_0x2a2a43);}else this[_0x1ee70e(0x10e)]=this[_0x1ee70e(0xf3)][_0x1ee70e(0x10f)](this[_0x1ee70e(0xf8)]),this[_0x1ee70e(0xf9)](_0x1ee70e(0x116),this);}[_0x5b46a3(0x13d)](_0x1540c3,_0x249bbe){const _0x2ccb99=_0x5b46a3,_0x55d95e=[];for(const _0x1e9748 of _0x249bbe){const _0x575bd4=_0x1540c3[_0x1e9748[_0x2ccb99(0x105)]];_0x575bd4?_0x575bd4[_0x2ccb99(0x133)][_0x2ccb99(0x12e)]!==_0x1e9748[_0x2ccb99(0x133)][_0x2ccb99(0x12e)]?_0x55d95e[_0x2ccb99(0x12d)](_0x1e9748):_0x575bd4[_0x2ccb99(0x133)][_0x2ccb99(0xf4)]((_0x5596c5,_0x40ad51)=>{const _0x3a8b1a=_0x2ccb99,_0x53597c=_0x1e9748[_0x3a8b1a(0x133)][_0x40ad51];_0x5596c5['id']!==_0x53597c['id']&&_0x55d95e[_0x3a8b1a(0x12d)](_0x1e9748);}):_0x55d95e[_0x2ccb99(0x12d)](_0x1e9748);}return _0x55d95e;}[_0x5b46a3(0x10b)](){const _0x1973f8=_0x5b46a3,_0x895d8=new _0x24dcbe('p',{},[new _0x24dcbe(_0x1973f8(0x117),{'style':_0x1973f8(0x13f)},[new _0x47b948(_0x4485d2(this[_0x1973f8(0x125)][_0x1973f8(0xf7)],_0x1973f8(0x12c)))])]),_0x2c527c=this[_0x1973f8(0xfe)][_0x1973f8(0x12f)](this[_0x1973f8(0x10e)],this[_0x1973f8(0x130)][_0x1973f8(0x104)](!0x0),{'markUnstableElements':!this[_0x1973f8(0x13c)],'replaceRemovedWith':_0x895d8,'cutAfterLastChange':!this[_0x1973f8(0x13c)]});if(!_0x2c527c[_0x1973f8(0x131)][_0x1973f8(0x12e)]&&!this[_0x1973f8(0x13c)])return;this[_0x1973f8(0x11a)]=_0x2c527c[_0x1973f8(0x10e)];let _0x5f09f3=[];if(_0x25a89e(_0xef5016=>{const _0x4171f6=_0x1973f8,_0x48a8fa=_0x1fc53a(_0xef5016,_0x4171f6(0xfd));if(!_0x48a8fa||!_0x3a0ad2(_0x48a8fa))return!0x1;const _0x4c02ad=[_0xef5016,..._0x3753d2(_0xef5016)]['at'](-0x2);if(_0xef5016!=_0x4c02ad){const _0x28bee7=_0x1fc53a(_0x4c02ad,_0x4171f6(0xfd));_0x3a0ad2(_0x28bee7)||(_0x5f09f3[_0x4171f6(0x12d)]({'node':_0x4c02ad,'id':_0x28bee7,'type':_0x4171f6(0x11d)}),_0x2c527c[_0x4171f6(0x131)][_0x4171f6(0x12d)](_0x28bee7));}else _0x2c527c[_0x4171f6(0x131)][_0x4171f6(0x132)](_0x48a8fa)?_0x5f09f3[_0x4171f6(0x12d)]({'node':_0xef5016,'type':_0x4171f6(0x11d),'id':_0x48a8fa}):_0x2c527c[_0x4171f6(0x107)][_0x4171f6(0x132)](_0x48a8fa)?_0x5f09f3[_0x4171f6(0x12d)]({'node':_0xef5016,'type':_0x4171f6(0x115),'id':_0x48a8fa,'anchorId':_0x1fc53a(_0xef5016[_0x4171f6(0x102)],_0x4171f6(0xfd))}):_0x5f09f3[_0x4171f6(0x12d)]({'node':_0xef5016,'type':_0x4171f6(0x103),'id':_0x48a8fa});return!0x0;},this[_0x1973f8(0x11a)]),_0x5f09f3=_0x5f09f3[_0x1973f8(0x135)](({node:_0x4b7d5b})=>[..._0x3753d2(_0x4b7d5b),_0x4b7d5b][_0x1973f8(0x126)](_0x1ade02=>!_0x1fc53a(_0x1ade02,_0x1973f8(0x109)))),0x0==_0x5f09f3[_0x1973f8(0x12e)])return;const _0x167119=[[_0x5f09f3[0x0]]];for(let _0x195013=0x1;_0x195013<_0x5f09f3[_0x1973f8(0x12e)];_0x195013++){const _0x4cc5b4=_0x167119[_0x167119[_0x1973f8(0x12e)]-0x1],_0x5a4a5=_0x4cc5b4[_0x4cc5b4[_0x1973f8(0x12e)]-0x1];_0x5f09f3[_0x195013][_0x1973f8(0x11c)][_0x1973f8(0x102)]==_0x5a4a5[_0x1973f8(0x11c)]&&_0x1973f8(0x11d)!=_0x5f09f3[_0x195013][_0x1973f8(0xfc)]&&_0x1973f8(0x11d)!=_0x5a4a5[_0x1973f8(0xfc)]?_0x4cc5b4[_0x1973f8(0x12d)](_0x5f09f3[_0x195013]):_0x167119[_0x1973f8(0x12d)]([_0x5f09f3[_0x195013]]);}for(const _0x2af8b8 of _0x167119){const _0x846a6b=_0x2af8b8[0x0],_0x2a9cd3=_0x2af8b8[_0x2af8b8[_0x1973f8(0x12e)]-0x1],_0x562ae1=_0x4b75c7(_0x846a6b[_0x1973f8(0x11c)][_0x1973f8(0x102)]);_0x562ae1&&_0x2af8b8[_0x1973f8(0x112)](_0x562ae1);const _0x3df247=_0x4b75c7(_0x2a9cd3[_0x1973f8(0x11c)][_0x1973f8(0x118)]);_0x3df247&&_0x2af8b8[_0x1973f8(0x12d)](_0x3df247);}function _0x3a0ad2(_0x464426){const _0x209220=_0x1973f8;return _0x2c527c[_0x209220(0x131)][_0x209220(0x132)](_0x464426)||_0x2c527c[_0x209220(0x107)][_0x209220(0x132)](_0x464426)||_0x2c527c[_0x209220(0x113)][_0x209220(0x132)](_0x464426);}function _0x4b75c7(_0xd63d15){const _0x1c8f38=_0x1973f8;if(_0xd63d15&&_0x1fc53a(_0xd63d15,_0x1c8f38(0xfd))&&!_0x1fc53a(_0xd63d15,_0x1c8f38(0x109))){const _0x24fd6b=_0x1fc53a(_0xd63d15,_0x1c8f38(0xfd));if(!_0x3a0ad2(_0x24fd6b))return{'node':_0xd63d15,'type':_0x1c8f38(0x12a),'id':_0x24fd6b};}return null;}this[_0x1973f8(0x10a)]=_0x167119[_0x1973f8(0x127)]((_0x205918,_0x50c0dc)=>({'changes':_0x205918,'state':_0x1973f8(0x124),'index':_0x50c0dc}));}}export function isValidReplyType(_0x1154d5){const _0x2902de=_0x5b46a3;return Object[_0x2902de(0x136)](AI_REPLY_TYPES)[_0x2902de(0x132)](_0x1154d5);}export function isIgnoredReplyType(_0x4f105b){const _0x235eb2=_0x5b46a3;return AI_REPLY_TYPES_IGNORED[_0x235eb2(0x132)](_0x4f105b);}export function isReplyTitleType(_0x2e7320){return _0x2e7320===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x5b7762){const _0xc7f8f3=_0x5b46a3;return _0xc7f8f3(0x120)===_0x5b7762;}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x80aa(_0x5da6a0,_0x382321){const _0x5b18dd=_0x5b18();return _0x80aa=function(_0x80aa4b,_0x39d8a5){_0x80aa4b=_0x80aa4b-0xf7;let _0x56c32b=_0x5b18dd[_0x80aa4b];return _0x56c32b;},_0x80aa(_0x5da6a0,_0x382321);}function _0x5b18(){const _0x47ce90=['true','_findNextElementWithDataId','markUnstableElements','3041420vmBIvj','_markWrappedElements','_generateUid','cloneNode','_markUnstableElements','9789210KFoILu','_isExistingNode','_findPrevElementWithDataId','new-element','3azkjWa','push','_findReferenceNode','_replaceNode','lastChild','data-unstable','4474736RyPOEF','40kMCfVw','7567609FBSLKy','includes','from','data-wrapped-id','beforebegin','lastTouchedId','replaceRemovedWith','_isExistingContentComment','previousSibling','nodeType','_getNodeDataId','data-id','indexOf','afterbegin','reverse','newIds','filter','_isNewNode','match','afterend','map','length','6ijdUeh','removedIds','4546290tXqOtT','slice','modifiedIds','_isDelNode','merge','parentNode','_findFallbackReferenceNode','_touchedNodesState','_markLastTagElementUnstable','nextSibling','_hasWrappedParent','data-removed','trim','1081170eXKRVb','35654paKEiK','childNodes','has','cutAfterLastChange','_existingDataIds','splice','_getUid','_removeSpecialComments','66BLnTzO','markUnstableElementsDepth','_storeDeletedElementIds','_insertNodes','invalidIds','forEach'];_0x5b18=function(){return _0x47ce90;};return _0x5b18();}const _0x22ef50=_0x80aa;(function(_0x2f82b7,_0x2270b9){const _0x312cfd=_0x80aa,_0x1365ab=_0x2f82b7();while(!![]){try{const _0x57d3d7=parseInt(_0x312cfd(0xf7))/0x1*(parseInt(_0x312cfd(0x118))/0x2)+-parseInt(_0x312cfd(0x111))/0x3*(-parseInt(_0x312cfd(0x108))/0x4)+parseInt(_0x312cfd(0x13e))/0x5+-parseInt(_0x312cfd(0x12f))/0x6*(-parseInt(_0x312cfd(0x119))/0x7)+-parseInt(_0x312cfd(0x117))/0x8+parseInt(_0x312cfd(0x10d))/0x9+parseInt(_0x312cfd(0x131))/0xa*(-parseInt(_0x312cfd(0xff))/0xb);if(_0x57d3d7===_0x2270b9)break;else _0x1365ab['push'](_0x1365ab['shift']());}catch(_0x20b29e){_0x1365ab['push'](_0x1365ab['shift']());}}}(_0x5b18,0x8b7c2));import{ObservableMixin as _0x58ca84,uid as _0x2c4819}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x56350a,findByAttribute as _0x2e4a3c,getAttribute as _0x53cf1d,isComment as _0x35faa0,isTag as _0x321d52,insertElement as _0x59cc42,moveElement as _0x2c4a25,removeElement as _0x3f3842,replaceElement as _0x2f6abb,serialize as _0x28ff7f,setAttribute as _0x8e3e00,clone as _0x3b20d7,findAllComments as _0x1d0470,getParents as _0x5c33c3,getNodeNestingLevel as _0x55969e,areNodesSame as _0x238a53,removeElementsAfter as _0x3909b8}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x58ca84(){[_0x22ef50(0x10a)];[_0x22ef50(0x138)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x22ef50(0xfb)]=new Set();constructor(_0x14d3dc){const _0x50bf9a=_0x22ef50;super(),this[_0x50bf9a(0x10a)]=_0x14d3dc||_0x2c4819;}[_0x22ef50(0x135)](_0xba1611,_0x295302,_0x31f568){const _0x1c3a28=_0x22ef50,_0x3cc72a=_0x3b20d7(_0xba1611);if(0x0===_0x295302[_0x1c3a28(0xf8)][_0x1c3a28(0x12e)]){const _0xb1d28=[];return _0x56350a(_0x1c3a28(0x124),_0x1c3a28(0x110),_0x3cc72a)[_0x1c3a28(0x104)](_0xe56d02=>{const _0x1947d9=_0x1c3a28,_0x125d32=this[_0x1947d9(0x10a)]();_0x8e3e00(_0xe56d02,_0x1947d9(0x124),_0x125d32),_0xb1d28[_0x1947d9(0x112)](_0x125d32);}),this[_0x1c3a28(0xfe)](_0x3cc72a),{'parsedContent':_0x3cc72a,'newNodeIds':_0xb1d28,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x31f568&&_0x31f568[_0x1c3a28(0x107)]&&this[_0x1c3a28(0x139)](_0x3cc72a),this[_0x1c3a28(0x138)][_0x1c3a28(0x128)]=[],this[_0x1c3a28(0x138)][_0x1c3a28(0x133)]=[],this[_0x1c3a28(0x138)][_0x1c3a28(0x130)]=[],this[_0x1c3a28(0x138)][_0x1c3a28(0x103)]=[],this[_0x1c3a28(0x138)][_0x1c3a28(0x11e)]=null,this[_0x1c3a28(0xfb)]=new Set(_0x56350a(_0x1c3a28(0x124),null,_0x295302)[_0x1c3a28(0x12d)](_0x551a38=>_0x53cf1d(_0x551a38,_0x1c3a28(0x124)))[_0x1c3a28(0x129)](_0x1d77ed=>!!_0x1d77ed));let _0x4fdb61=-0x1,_0x4efadd=!0x1;const _0x367e76=_0x3cc72a[_0x1c3a28(0xf8)],_0x38d344=Array[_0x1c3a28(0x11b)](_0x367e76)[_0x1c3a28(0x129)](_0x4784f2=>!(0x3===_0x4784f2[_0x1c3a28(0x122)]&&''===_0x28ff7f(_0x4784f2)[_0x1c3a28(0x13d)]())),_0x2aa57e=_0x38d344[_0x1c3a28(0x12e)];for(let _0x599b8b=0x0;_0x599b8b<_0x2aa57e;_0x599b8b++){const _0x46f68b=_0x38d344[_0x599b8b],_0x514666=_0x38d344[_0x599b8b+0x1];if(this[_0x1c3a28(0x12a)](_0x46f68b)){if(-0x1===_0x4fdb61&&(_0x4fdb61=_0x599b8b),this[_0x1c3a28(0x109)](_0x46f68b),!this[_0x1c3a28(0x12a)](_0x514666)){const [_0x1dec9f,_0x1b0651]=this[_0x1c3a28(0x113)](_0x46f68b,_0x4efadd,_0x295302);if(_0x1dec9f){const _0x489647=Array[_0x1c3a28(0x11b)](_0x38d344)[_0x1c3a28(0x132)](_0x4fdb61,_0x599b8b+0x1);this[_0x1c3a28(0x102)](_0x1dec9f,_0x489647,_0x1b0651),_0x4fdb61=-0x1;}}}else{if(this[_0x1c3a28(0x120)](_0x46f68b))_0x4efadd=!0x0;else{if(this[_0x1c3a28(0x10e)](_0x46f68b)){const _0x30b023=_0x53cf1d(_0x46f68b,_0x1c3a28(0x124));if(_0x30b023&&this[_0x1c3a28(0xfb)][_0x1c3a28(0xf9)](_0x30b023)){const _0x1256ab=_0x2e4a3c(_0x1c3a28(0x124),_0x30b023,_0x295302);this[_0x1c3a28(0x114)](_0x1256ab,_0x46f68b);}if(this[_0x1c3a28(0x138)][_0x1c3a28(0x130)][_0x1c3a28(0x11a)](_0x30b023)){const _0x4d9536=this[_0x1c3a28(0x138)][_0x1c3a28(0x130)][_0x1c3a28(0x125)](_0x30b023);this[_0x1c3a28(0x138)][_0x1c3a28(0x130)][_0x1c3a28(0xfc)](_0x4d9536,0x1);}}else{if(this[_0x1c3a28(0x134)](_0x46f68b)){const _0x27d4e8=_0x53cf1d(_0x46f68b,_0x1c3a28(0x124));this[_0x1c3a28(0x138)][_0x1c3a28(0x133)][_0x1c3a28(0x11a)](_0x27d4e8)||this[_0x1c3a28(0x101)](_0x46f68b);}}}}}for(const _0x3ad643 of this[_0x1c3a28(0x138)][_0x1c3a28(0x130)]){const _0x231139=_0x2e4a3c(_0x1c3a28(0x124),_0x3ad643,_0x295302);if(_0x231139){if(_0x31f568&&_0x31f568[_0x1c3a28(0x11f)]){this[_0x1c3a28(0x138)][_0x1c3a28(0x11e)]=_0x3ad643;const _0x47369a=_0x31f568[_0x1c3a28(0x11f)][_0x1c3a28(0x10b)](!0x0);_0x8e3e00(_0x47369a,_0x1c3a28(0x124),_0x3ad643),_0x8e3e00(_0x47369a,_0x1c3a28(0x13c),_0x1c3a28(0x105)),_0x2f6abb(_0x231139,_0x47369a);}else _0x3f3842(_0x231139);}}if(_0x56350a(_0x1c3a28(0x11c),null,_0x295302)[_0x1c3a28(0x104)](_0x1b31fa=>{const _0x44d4a6=_0x1c3a28,_0x5359d4=_0x53cf1d(_0x1b31fa,_0x44d4a6(0x11c)),_0x1f84c8=_0x2e4a3c(_0x44d4a6(0x124),_0x5359d4,_0x295302);_0x1f84c8&&_0x2c4a25(_0x1f84c8,_0x1b31fa);}),_0x56350a(_0x1c3a28(0x124),_0x1c3a28(0x110),_0x295302)[_0x1c3a28(0x104)](_0x2a3458=>{const _0x2c1827=_0x1c3a28,_0x55712a=this[_0x2c1827(0xfd)](_0x2a3458);_0x8e3e00(_0x2a3458,_0x2c1827(0x124),_0x55712a),this[_0x2c1827(0x138)][_0x2c1827(0x128)][_0x2c1827(0x112)](_0x55712a);}),this[_0x1c3a28(0xfe)](_0x295302),_0x31f568&&_0x31f568[_0x1c3a28(0x107)]&&this[_0x1c3a28(0x10c)](_0x295302,_0x31f568[_0x1c3a28(0x100)]||0x0),_0x31f568&&_0x31f568[_0x1c3a28(0xfa)]&&this[_0x1c3a28(0x138)][_0x1c3a28(0x11e)]){let _0x2cbad6=_0x2e4a3c(_0x1c3a28(0x124),this[_0x1c3a28(0x138)][_0x1c3a28(0x11e)],_0x295302);for(;_0x2cbad6;)_0x3909b8(_0x2cbad6),_0x2cbad6=_0x2cbad6[_0x1c3a28(0x136)];}return{'parsedContent':_0x295302,'newNodeIds':this[_0x1c3a28(0x138)][_0x1c3a28(0x128)],'modifiedNodeIds':this[_0x1c3a28(0x138)][_0x1c3a28(0x133)],'removedNodeIds':this[_0x1c3a28(0x138)][_0x1c3a28(0x130)]};}[_0x22ef50(0x102)](_0x53013f,_0x32295f,_0x4033be){const _0x164817=_0x22ef50;for(const _0x5b30c1 of _0x32295f){const _0x4768c6=this[_0x164817(0xfd)](_0x5b30c1);_0x8e3e00(_0x5b30c1,_0x164817(0x124),_0x4768c6),this[_0x164817(0x138)][_0x164817(0x128)][_0x164817(0x112)](_0x4768c6),this[_0x164817(0x138)][_0x164817(0x11e)]=_0x4768c6;}const _0x121844=_0x164817(0x126)===_0x4033be||_0x164817(0x12c)===_0x4033be?_0x32295f[_0x164817(0x127)]():_0x32295f;for(const _0x4e292c of _0x121844)_0x59cc42(_0x53013f,_0x4e292c,_0x4033be);}[_0x22ef50(0x114)](_0x16d810,_0x130e42){const _0x48d229=_0x22ef50;if(!_0x16d810)return;if(_0x238a53(_0x16d810,_0x130e42))return;const _0x509a4a=this[_0x48d229(0xfd)](_0x16d810);_0x8e3e00(_0x130e42,_0x48d229(0x124),_0x509a4a),this[_0x48d229(0x138)][_0x48d229(0x133)][_0x48d229(0x112)](_0x509a4a),this[_0x48d229(0x138)][_0x48d229(0x11e)]=_0x509a4a,_0x2f6abb(_0x16d810,_0x130e42[_0x48d229(0x10b)](!0x0));}[_0x22ef50(0x113)](_0x5772ad,_0x393fa1,_0x5b3316){const _0x58e25c=_0x22ef50,_0x53412b=this[_0x58e25c(0x10f)](_0x5772ad,!0x1);if(_0x53412b){const _0x397fab=this[_0x58e25c(0x123)](_0x53412b),_0x427782=_0x2e4a3c(_0x58e25c(0x124),_0x397fab,_0x5b3316);if(_0x427782)return[_0x427782,_0x58e25c(0x12c)];this[_0x58e25c(0x138)][_0x58e25c(0x103)][_0x58e25c(0x112)](_0x397fab);}const _0x465d54=this[_0x58e25c(0x106)](_0x5772ad,!0x1);if(_0x465d54){const _0x2dd476=this[_0x58e25c(0x123)](_0x465d54),_0x2ccb1e=_0x2e4a3c(_0x58e25c(0x124),_0x2dd476,_0x5b3316);if(_0x2ccb1e)return[_0x2ccb1e,_0x58e25c(0x11d)];this[_0x58e25c(0x138)][_0x58e25c(0x103)][_0x58e25c(0x112)](_0x2dd476);}return _0x393fa1?_0x5772ad[_0x58e25c(0x13a)]?this[_0x58e25c(0x137)](_0x5772ad,_0x5b3316):[_0x5b3316[_0x58e25c(0xf8)][_0x5b3316[_0x58e25c(0xf8)][_0x58e25c(0x12e)]-0x1],_0x58e25c(0x12c)]:[_0x5b3316[_0x58e25c(0xf8)][0x0],_0x58e25c(0x11d)];}[_0x22ef50(0x137)](_0x56fd1a,_0x258612){const _0x36f2f9=_0x22ef50,_0x33b785=[],_0x332b0c=this[_0x36f2f9(0x10f)](_0x56fd1a,!0x0);if(_0x332b0c){const _0x21bf17=this[_0x36f2f9(0x123)](_0x332b0c),_0x3dbdd8=_0x2e4a3c(_0x36f2f9(0x124),_0x21bf17,_0x258612);_0x3dbdd8&&_0x33b785[_0x36f2f9(0x112)]([_0x3dbdd8,_0x36f2f9(0x12c)]);}const _0xab7c44=this[_0x36f2f9(0x106)](_0x56fd1a,!0x0);if(_0xab7c44){const _0x2b1227=this[_0x36f2f9(0x123)](_0xab7c44),_0x51982c=_0x2e4a3c(_0x36f2f9(0x124),_0x2b1227,_0x258612);_0x51982c&&_0x33b785[_0x36f2f9(0x112)]([_0x51982c,_0x36f2f9(0x11d)]);}if(_0x33b785[_0x36f2f9(0x12e)]>0x1)return _0x55969e(_0x33b785[0x0][0x0])<=_0x55969e(_0x33b785[0x1][0x0])?_0x33b785[0x0]:_0x33b785[0x1];return 0x1===_0x33b785[_0x36f2f9(0x12e)]?_0x33b785[0x0]:[_0x258612[_0x36f2f9(0x115)],_0x36f2f9(0x12c)];}[_0x22ef50(0x106)](_0x983315,_0xf8f7df){const _0x51a558=_0x22ef50;let _0x425a55=_0x983315[_0x51a558(0x13a)],_0x5f2fa8=null,_0x272755=!0x1;for(;_0x425a55;){if(_0x35faa0(_0x425a55)){if(this[_0x51a558(0x134)](_0x425a55)&&(_0x5f2fa8=_0x425a55),this[_0x51a558(0x120)](_0x425a55)&&_0xf8f7df&&!_0x272755){_0x272755=!0x0,_0x425a55=_0x425a55[_0x51a558(0x13a)];continue;}break;}const _0x2b271a=_0x53cf1d(_0x425a55,_0x51a558(0x124));if(_0x2b271a&&_0x51a558(0x110)!==_0x2b271a&&this[_0x51a558(0xfb)][_0x51a558(0xf9)](_0x2b271a)){_0x5f2fa8=_0x425a55;break;}_0x425a55=_0x425a55[_0x51a558(0x13a)];}return _0x5f2fa8;}[_0x22ef50(0x10f)](_0x31fc99,_0x1ed291){const _0x411c5d=_0x22ef50;let _0x1b38ff=_0x31fc99[_0x411c5d(0x121)],_0x2f9a0a=null,_0x3cdec7=!0x1;for(;_0x1b38ff;){if(_0x35faa0(_0x1b38ff)){if(this[_0x411c5d(0x134)](_0x1b38ff)&&(_0x2f9a0a=_0x1b38ff),this[_0x411c5d(0x120)](_0x1b38ff)&&_0x1ed291&&!_0x3cdec7){_0x3cdec7=!0x0,_0x1b38ff=_0x1b38ff[_0x411c5d(0x121)];continue;}break;}const _0x1d4a3a=_0x53cf1d(_0x1b38ff,_0x411c5d(0x124));if(_0x1d4a3a&&_0x411c5d(0x110)!==_0x1d4a3a&&this[_0x411c5d(0xfb)][_0x411c5d(0xf9)](_0x1d4a3a)){_0x2f9a0a=_0x1b38ff;break;}_0x1b38ff=_0x1b38ff[_0x411c5d(0x121)];}return _0x2f9a0a;}[_0x22ef50(0x109)](_0x5a7240){const _0x353705=_0x22ef50;_0x321d52(_0x5a7240)&&_0x56350a(_0x353705(0x124),null,_0x5a7240)[_0x353705(0x104)](_0x2271a8=>{const _0x14d88b=_0x353705;if(this[_0x14d88b(0x10e)](_0x2271a8)&&!this[_0x14d88b(0x13b)](_0x2271a8)){const _0x4cfef3=_0x53cf1d(_0x2271a8,_0x14d88b(0x124));_0x8e3e00(_0x2271a8,_0x14d88b(0x11c),_0x4cfef3),_0x8e3e00(_0x2271a8,_0x14d88b(0x124),null);}});}[_0x22ef50(0x123)](_0x3cbeb9){const _0x183237=_0x22ef50;if(!_0x3cbeb9)return null;if(_0x321d52(_0x3cbeb9))return _0x53cf1d(_0x3cbeb9,_0x183237(0x124));if(_0x35faa0(_0x3cbeb9)){const _0x101679=_0x28ff7f(_0x3cbeb9)[_0x183237(0x12b)](/removed[\s*-]data-id="([^"]+)"/);if(_0x101679&&_0x101679[0x1])return _0x101679[0x1];}return null;}[_0x22ef50(0x101)](_0xcd7828){const _0x4cf32c=_0x22ef50;if(_0x35faa0(_0xcd7828)){const _0x4480b5=_0x28ff7f(_0xcd7828)[_0x4cf32c(0x12b)](/removed[\s*-]data-id="([^"]+)"/);_0x4480b5&&_0x4480b5[0x1]&&this[_0x4cf32c(0x138)][_0x4cf32c(0x130)][_0x4cf32c(0x112)](_0x4480b5[0x1]);}}[_0x22ef50(0xfd)](_0x47cbc7){const _0x2e0626=_0x22ef50;return this[_0x2e0626(0x10e)](_0x47cbc7)?_0x53cf1d(_0x47cbc7,_0x2e0626(0x124)):this[_0x2e0626(0x10a)]();}[_0x22ef50(0xfe)](_0x306fd8){const _0x13623e=_0x22ef50;_0x1d0470(_0x306fd8)[_0x13623e(0x129)](_0xd31f87=>this[_0x13623e(0x134)](_0xd31f87)||this[_0x13623e(0x120)](_0xd31f87))[_0x13623e(0x104)](_0x85a16=>{_0x3f3842(_0x85a16);});}[_0x22ef50(0x139)](_0x263a40){const _0x2d27a8=_0x22ef50,_0x69abb9=_0x263a40[_0x2d27a8(0xf8)],_0x766022=_0x69abb9[_0x69abb9[_0x2d27a8(0x12e)]-0x1];_0x766022&&_0x321d52(_0x766022)&&_0x8e3e00(_0x766022,_0x2d27a8(0x116),_0x2d27a8(0x105));}[_0x22ef50(0x10c)](_0x1abce8,_0x926ba2){const _0x2ecca7=_0x22ef50,_0x61caec=_0x2e4a3c(_0x2ecca7(0x116),_0x2ecca7(0x105),_0x1abce8);if(!_0x61caec)return;const _0x3dae7c=_0x5c33c3(_0x61caec)[_0x2ecca7(0x132)](0x0,-0x1),_0x146020=_0x3dae7c[_0x2ecca7(0x12e)];let _0x24b8f3=_0x61caec;if(_0x146020>_0x926ba2){let _0x4b23a9=_0x146020,_0x4447eb=null;for(;_0x4b23a9>_0x926ba2&&_0x4b23a9>=0x0;)_0x4b23a9--,_0x4447eb=_0x3dae7c[_0x4b23a9];_0x4447eb&&(_0x24b8f3=_0x4447eb,_0x8e3e00(_0x61caec,_0x2ecca7(0x116),null),_0x8e3e00(_0x4447eb,_0x2ecca7(0x116),_0x2ecca7(0x105)));}else{if(_0x146020<_0x926ba2){let _0x3a7b40=_0x146020,_0x3685c7=_0x61caec;for(;_0x3a7b40<_0x926ba2;){const _0x1a803e=_0x3685c7[_0x2ecca7(0xf8)][_0x2ecca7(0x129)](_0x4aabfc=>_0x321d52(_0x4aabfc));if(0x0===_0x1a803e[_0x2ecca7(0x12e)])break;_0x3a7b40++,_0x3685c7=_0x1a803e[_0x1a803e[_0x2ecca7(0x12e)]-0x1];}_0x3685c7&&(_0x24b8f3=_0x3685c7,_0x8e3e00(_0x61caec,_0x2ecca7(0x116),null),_0x8e3e00(_0x3685c7,_0x2ecca7(0x116),_0x2ecca7(0x105)));}}let _0x14a676=_0x24b8f3;for(;_0x14a676;){for(;_0x14a676[_0x2ecca7(0x13a)];)_0x14a676=_0x14a676[_0x2ecca7(0x13a)],_0x321d52(_0x14a676)&&_0x8e3e00(_0x14a676,_0x2ecca7(0x116),_0x2ecca7(0x105));_0x14a676=_0x14a676[_0x2ecca7(0x136)];}}[_0x22ef50(0x12a)](_0x12f8c4){const _0x433443=_0x22ef50;return Boolean(_0x433443(0x110)===_0x53cf1d(_0x12f8c4,_0x433443(0x124)));}[_0x22ef50(0x10e)](_0xb7cdd7){const _0x2e8628=_0x22ef50;return Boolean((_0x53cf1d(_0xb7cdd7,_0x2e8628(0x124))||'')[_0x2e8628(0x12e)]>0x0&&_0x2e8628(0x110)!==_0x53cf1d(_0xb7cdd7,_0x2e8628(0x124)));}[_0x22ef50(0x134)](_0x198e90){const _0x563e36=_0x22ef50;return!!_0x198e90&&Boolean(_0x35faa0(_0x198e90)&&_0x28ff7f(_0x198e90)[_0x563e36(0x12b)](/removed[\s*-]data-id="[^"]+"/));}[_0x22ef50(0x13b)](_0x3a9685){const _0x3396a3=_0x22ef50;let _0x17263a=_0x3a9685[_0x3396a3(0x136)];for(;_0x17263a;){if(_0x53cf1d(_0x17263a,_0x3396a3(0x11c)))return!0x0;_0x17263a=_0x17263a[_0x3396a3(0x136)];}return!0x1;}[_0x22ef50(0x120)](_0x3d06cd){const _0x5eb9ee=_0x22ef50;return Boolean(_0x35faa0(_0x3d06cd)&&_0x28ff7f(_0x3d06cd)[_0x5eb9ee(0x12b)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ const _0x2be753=_0x47fa;function _0x2cd4(){const _0x588045=['trim','markUnstableElementsDepth','length','replaceRemovedWith','_getNodeDataId','lastChild','splice','data-unstable','slice','cloneNode','_findReferenceNode','cutAfterLastChange','map','childNodes','data-id','_touchedNodesState','invalidIds','395608SNBvDq','_isNewNode','6xRAhHW','_insertNodes','true','from','includes','beforebegin','_removeSpecialComments','30996eSpmbl','indexOf','4034490hFmMTT','_hasWrappedParent','_findFallbackReferenceNode','filter','merge','previousSibling','_isExistingNode','afterend','match','data-removed','_isExistingContentComment','63988GrGbWs','96wcewjS','has','_findPrevElementWithDataId','modifiedIds','53792UDSfDU','296806XvUcUm','data-wrapped-id','nextSibling','newIds','new-element','afterbegin','_markUnstableElements','_storeDeletedElementIds','forEach','reverse','parentNode','_markLastTagElementUnstable','_markWrappedElements','1936935qSUHuc','_generateUid','removedIds','_isDelNode','_findNextElementWithDataId','lastTouchedId','_replaceNode','nodeType','_existingDataIds','markUnstableElements','_getUid','5YYFVtD','push'];_0x2cd4=function(){return _0x588045;};return _0x2cd4();}(function(_0x521078,_0x38e533){const _0x9e3e1b=_0x47fa,_0x15a394=_0x521078();while(!![]){try{const _0x2dd672=parseInt(_0x9e3e1b(0x1b8))/0x1+-parseInt(_0x9e3e1b(0x1be))/0x2*(-parseInt(_0x9e3e1b(0x1a4))/0x3)+-parseInt(_0x9e3e1b(0x1a2))/0x4*(parseInt(_0x9e3e1b(0x1d6))/0x5)+-parseInt(_0x9e3e1b(0x1b9))/0x6*(-parseInt(_0x9e3e1b(0x1ab))/0x7)+parseInt(_0x9e3e1b(0x1bd))/0x8+parseInt(_0x9e3e1b(0x1cb))/0x9+-parseInt(_0x9e3e1b(0x1ad))/0xa;if(_0x2dd672===_0x38e533)break;else _0x15a394['push'](_0x15a394['shift']());}catch(_0x1052d7){_0x15a394['push'](_0x15a394['shift']());}}}(_0x2cd4,0x24ebe));import{ObservableMixin as _0x56dec4,uid as _0x491425}from'ckeditor5/src/utils.js';function _0x47fa(_0x3e0eda,_0x1e0764){const _0x2cd4a6=_0x2cd4();return _0x47fa=function(_0x47fa4c,_0x257042){_0x47fa4c=_0x47fa4c-0x19e;let _0x530f3f=_0x2cd4a6[_0x47fa4c];return _0x530f3f;},_0x47fa(_0x3e0eda,_0x1e0764);}import{findAllByAttribute as _0x2ba4f6,findByAttribute as _0x5439aa,getAttribute as _0x2ebeca,isComment as _0x1e03d0,isTag as _0x5ac3d7,insertElement as _0x4a239f,moveElement as _0xfd408c,removeElement as _0x20a7e0,replaceElement as _0x301135,serialize as _0x74ab63,setAttribute as _0x236955,clone as _0x4e699e,findAllComments as _0x477837,getParents as _0x27db4a,getNodeNestingLevel as _0x3bb26f,areNodesSame as _0x1dbb1c,removeElementsAfter as _0x2b05e5}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x56dec4(){[_0x2be753(0x1cc)];[_0x2be753(0x1a0)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x2be753(0x1d3)]=new Set();constructor(_0x56b1ff){const _0x29f5b1=_0x2be753;super(),this[_0x29f5b1(0x1cc)]=_0x56b1ff||_0x491425;}[_0x2be753(0x1b1)](_0xf0f9c7,_0x2b45bd,_0x1216ce){const _0x53a9cf=_0x2be753,_0x284bc2=_0x4e699e(_0xf0f9c7);if(0x0===_0x2b45bd[_0x53a9cf(0x19e)][_0x53a9cf(0x1da)]){const _0x574ba0=[];return _0x2ba4f6(_0x53a9cf(0x19f),_0x53a9cf(0x1c2),_0x284bc2)[_0x53a9cf(0x1c6)](_0x2f483e=>{const _0x12339c=_0x53a9cf,_0x448360=this[_0x12339c(0x1cc)]();_0x236955(_0x2f483e,_0x12339c(0x19f),_0x448360),_0x574ba0[_0x12339c(0x1d7)](_0x448360);}),this[_0x53a9cf(0x1aa)](_0x284bc2),{'parsedContent':_0x284bc2,'newNodeIds':_0x574ba0,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x1216ce&&_0x1216ce[_0x53a9cf(0x1d4)]&&this[_0x53a9cf(0x1c9)](_0x284bc2),this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1c1)]=[],this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1bc)]=[],this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1cd)]=[],this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1a1)]=[],this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1d0)]=null,this[_0x53a9cf(0x1d3)]=new Set(_0x2ba4f6(_0x53a9cf(0x19f),null,_0x2b45bd)[_0x53a9cf(0x1e4)](_0x219592=>_0x2ebeca(_0x219592,_0x53a9cf(0x19f)))[_0x53a9cf(0x1b0)](_0x2ac5f9=>!!_0x2ac5f9));let _0x549bd5=-0x1,_0x499e25=!0x1;const _0x82e314=_0x284bc2[_0x53a9cf(0x19e)],_0x4f3287=Array[_0x53a9cf(0x1a7)](_0x82e314)[_0x53a9cf(0x1b0)](_0xfcf011=>!(0x3===_0xfcf011[_0x53a9cf(0x1d2)]&&''===_0x74ab63(_0xfcf011)[_0x53a9cf(0x1d8)]())),_0x5ae0ff=_0x4f3287[_0x53a9cf(0x1da)];for(let _0x11e8c0=0x0;_0x11e8c0<_0x5ae0ff;_0x11e8c0++){const _0x3fc20b=_0x4f3287[_0x11e8c0],_0x296070=_0x4f3287[_0x11e8c0+0x1];if(this[_0x53a9cf(0x1a3)](_0x3fc20b)){if(-0x1===_0x549bd5&&(_0x549bd5=_0x11e8c0),this[_0x53a9cf(0x1ca)](_0x3fc20b),!this[_0x53a9cf(0x1a3)](_0x296070)){const [_0x339647,_0x3195b0]=this[_0x53a9cf(0x1e2)](_0x3fc20b,_0x499e25,_0x2b45bd);if(_0x339647){const _0x549454=Array[_0x53a9cf(0x1a7)](_0x4f3287)[_0x53a9cf(0x1e0)](_0x549bd5,_0x11e8c0+0x1);this[_0x53a9cf(0x1a5)](_0x339647,_0x549454,_0x3195b0),_0x549bd5=-0x1;}}}else{if(this[_0x53a9cf(0x1b7)](_0x3fc20b))_0x499e25=!0x0;else{if(this[_0x53a9cf(0x1b3)](_0x3fc20b)){const _0x201202=_0x2ebeca(_0x3fc20b,_0x53a9cf(0x19f));if(_0x201202&&this[_0x53a9cf(0x1d3)][_0x53a9cf(0x1ba)](_0x201202)){const _0x271a11=_0x5439aa(_0x53a9cf(0x19f),_0x201202,_0x2b45bd);this[_0x53a9cf(0x1d1)](_0x271a11,_0x3fc20b);}if(this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1cd)][_0x53a9cf(0x1a8)](_0x201202)){const _0x1d7b49=this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1cd)][_0x53a9cf(0x1ac)](_0x201202);this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1cd)][_0x53a9cf(0x1de)](_0x1d7b49,0x1);}}else{if(this[_0x53a9cf(0x1ce)](_0x3fc20b)){const _0x175836=_0x2ebeca(_0x3fc20b,_0x53a9cf(0x19f));this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1bc)][_0x53a9cf(0x1a8)](_0x175836)||this[_0x53a9cf(0x1c5)](_0x3fc20b);}}}}}for(const _0x49cafc of this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1cd)]){const _0x539cea=_0x5439aa(_0x53a9cf(0x19f),_0x49cafc,_0x2b45bd);if(_0x539cea){if(_0x1216ce&&_0x1216ce[_0x53a9cf(0x1db)]){this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1d0)]=_0x49cafc;const _0x54fb66=_0x1216ce[_0x53a9cf(0x1db)][_0x53a9cf(0x1e1)](!0x0);_0x236955(_0x54fb66,_0x53a9cf(0x19f),_0x49cafc),_0x236955(_0x54fb66,_0x53a9cf(0x1b6),_0x53a9cf(0x1a6)),_0x301135(_0x539cea,_0x54fb66);}else _0x20a7e0(_0x539cea);}}if(_0x2ba4f6(_0x53a9cf(0x1bf),null,_0x2b45bd)[_0x53a9cf(0x1c6)](_0x331800=>{const _0x18e1f8=_0x53a9cf,_0x386ff3=_0x2ebeca(_0x331800,_0x18e1f8(0x1bf)),_0x598eb1=_0x5439aa(_0x18e1f8(0x19f),_0x386ff3,_0x2b45bd);_0x598eb1&&_0xfd408c(_0x598eb1,_0x331800);}),_0x2ba4f6(_0x53a9cf(0x19f),_0x53a9cf(0x1c2),_0x2b45bd)[_0x53a9cf(0x1c6)](_0x5b7c9b=>{const _0xf5c5c0=_0x53a9cf,_0x2122e9=this[_0xf5c5c0(0x1d5)](_0x5b7c9b);_0x236955(_0x5b7c9b,_0xf5c5c0(0x19f),_0x2122e9),this[_0xf5c5c0(0x1a0)][_0xf5c5c0(0x1c1)][_0xf5c5c0(0x1d7)](_0x2122e9);}),this[_0x53a9cf(0x1aa)](_0x2b45bd),_0x1216ce&&_0x1216ce[_0x53a9cf(0x1d4)]&&this[_0x53a9cf(0x1c4)](_0x2b45bd,_0x1216ce[_0x53a9cf(0x1d9)]||0x0),_0x1216ce&&_0x1216ce[_0x53a9cf(0x1e3)]&&this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1d0)]){let _0x1bea1b=_0x5439aa(_0x53a9cf(0x19f),this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1d0)],_0x2b45bd);for(;_0x1bea1b;)_0x2b05e5(_0x1bea1b),_0x1bea1b=_0x1bea1b[_0x53a9cf(0x1c8)];}return{'parsedContent':_0x2b45bd,'newNodeIds':this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1c1)],'modifiedNodeIds':this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1bc)],'removedNodeIds':this[_0x53a9cf(0x1a0)][_0x53a9cf(0x1cd)]};}[_0x2be753(0x1a5)](_0x52d918,_0x5428ef,_0x127d57){const _0x402674=_0x2be753;for(const _0x4ca9d0 of _0x5428ef){const _0x5896c4=this[_0x402674(0x1d5)](_0x4ca9d0);_0x236955(_0x4ca9d0,_0x402674(0x19f),_0x5896c4),this[_0x402674(0x1a0)][_0x402674(0x1c1)][_0x402674(0x1d7)](_0x5896c4),this[_0x402674(0x1a0)][_0x402674(0x1d0)]=_0x5896c4;}const _0x484a9c=_0x402674(0x1c3)===_0x127d57||_0x402674(0x1b4)===_0x127d57?_0x5428ef[_0x402674(0x1c7)]():_0x5428ef;for(const _0x35c52c of _0x484a9c)_0x4a239f(_0x52d918,_0x35c52c,_0x127d57);}[_0x2be753(0x1d1)](_0x5b5962,_0x59ff66){const _0x5c28e2=_0x2be753;if(!_0x5b5962)return;if(_0x1dbb1c(_0x5b5962,_0x59ff66))return;const _0x1cd727=this[_0x5c28e2(0x1d5)](_0x5b5962);_0x236955(_0x59ff66,_0x5c28e2(0x19f),_0x1cd727),this[_0x5c28e2(0x1a0)][_0x5c28e2(0x1bc)][_0x5c28e2(0x1d7)](_0x1cd727),this[_0x5c28e2(0x1a0)][_0x5c28e2(0x1d0)]=_0x1cd727,_0x301135(_0x5b5962,_0x59ff66[_0x5c28e2(0x1e1)](!0x0));}[_0x2be753(0x1e2)](_0x42f332,_0x35543a,_0x58f56a){const _0x98723f=_0x2be753,_0x57debb=this[_0x98723f(0x1bb)](_0x42f332,!0x1);if(_0x57debb){const _0xe256f0=this[_0x98723f(0x1dc)](_0x57debb),_0x4fd1c6=_0x5439aa(_0x98723f(0x19f),_0xe256f0,_0x58f56a);if(_0x4fd1c6)return[_0x4fd1c6,_0x98723f(0x1b4)];this[_0x98723f(0x1a0)][_0x98723f(0x1a1)][_0x98723f(0x1d7)](_0xe256f0);}const _0x46069d=this[_0x98723f(0x1cf)](_0x42f332,!0x1);if(_0x46069d){const _0x2a7ceb=this[_0x98723f(0x1dc)](_0x46069d),_0x2ee691=_0x5439aa(_0x98723f(0x19f),_0x2a7ceb,_0x58f56a);if(_0x2ee691)return[_0x2ee691,_0x98723f(0x1a9)];this[_0x98723f(0x1a0)][_0x98723f(0x1a1)][_0x98723f(0x1d7)](_0x2a7ceb);}return _0x35543a?_0x42f332[_0x98723f(0x1c0)]?this[_0x98723f(0x1af)](_0x42f332,_0x58f56a):[_0x58f56a[_0x98723f(0x19e)][_0x58f56a[_0x98723f(0x19e)][_0x98723f(0x1da)]-0x1],_0x98723f(0x1b4)]:[_0x58f56a[_0x98723f(0x19e)][0x0],_0x98723f(0x1a9)];}[_0x2be753(0x1af)](_0x10c4eb,_0x232604){const _0x2aac08=_0x2be753,_0x29b8c7=[],_0x3bbb9a=this[_0x2aac08(0x1bb)](_0x10c4eb,!0x0);if(_0x3bbb9a){const _0x51f7e3=this[_0x2aac08(0x1dc)](_0x3bbb9a),_0x3fbc34=_0x5439aa(_0x2aac08(0x19f),_0x51f7e3,_0x232604);_0x3fbc34&&_0x29b8c7[_0x2aac08(0x1d7)]([_0x3fbc34,_0x2aac08(0x1b4)]);}const _0x3db0ef=this[_0x2aac08(0x1cf)](_0x10c4eb,!0x0);if(_0x3db0ef){const _0x50292a=this[_0x2aac08(0x1dc)](_0x3db0ef),_0x560784=_0x5439aa(_0x2aac08(0x19f),_0x50292a,_0x232604);_0x560784&&_0x29b8c7[_0x2aac08(0x1d7)]([_0x560784,_0x2aac08(0x1a9)]);}if(_0x29b8c7[_0x2aac08(0x1da)]>0x1)return _0x3bb26f(_0x29b8c7[0x0][0x0])<=_0x3bb26f(_0x29b8c7[0x1][0x0])?_0x29b8c7[0x0]:_0x29b8c7[0x1];return 0x1===_0x29b8c7[_0x2aac08(0x1da)]?_0x29b8c7[0x0]:[_0x232604[_0x2aac08(0x1dd)],_0x2aac08(0x1b4)];}[_0x2be753(0x1cf)](_0x524302,_0x17685a){const _0x5543c2=_0x2be753;let _0x6f427d=_0x524302[_0x5543c2(0x1c0)],_0x5c1972=null,_0x4bd967=!0x1;for(;_0x6f427d;){if(_0x1e03d0(_0x6f427d)){if(this[_0x5543c2(0x1ce)](_0x6f427d)&&(_0x5c1972=_0x6f427d),this[_0x5543c2(0x1b7)](_0x6f427d)&&_0x17685a&&!_0x4bd967){_0x4bd967=!0x0,_0x6f427d=_0x6f427d[_0x5543c2(0x1c0)];continue;}break;}const _0x25c221=_0x2ebeca(_0x6f427d,_0x5543c2(0x19f));if(_0x25c221&&_0x5543c2(0x1c2)!==_0x25c221&&this[_0x5543c2(0x1d3)][_0x5543c2(0x1ba)](_0x25c221)){_0x5c1972=_0x6f427d;break;}_0x6f427d=_0x6f427d[_0x5543c2(0x1c0)];}return _0x5c1972;}[_0x2be753(0x1bb)](_0x275cd7,_0x3d5a14){const _0x248868=_0x2be753;let _0xc63296=_0x275cd7[_0x248868(0x1b2)],_0x2e5203=null,_0x30406b=!0x1;for(;_0xc63296;){if(_0x1e03d0(_0xc63296)){if(this[_0x248868(0x1ce)](_0xc63296)&&(_0x2e5203=_0xc63296),this[_0x248868(0x1b7)](_0xc63296)&&_0x3d5a14&&!_0x30406b){_0x30406b=!0x0,_0xc63296=_0xc63296[_0x248868(0x1b2)];continue;}break;}const _0x1f715f=_0x2ebeca(_0xc63296,_0x248868(0x19f));if(_0x1f715f&&_0x248868(0x1c2)!==_0x1f715f&&this[_0x248868(0x1d3)][_0x248868(0x1ba)](_0x1f715f)){_0x2e5203=_0xc63296;break;}_0xc63296=_0xc63296[_0x248868(0x1b2)];}return _0x2e5203;}[_0x2be753(0x1ca)](_0x291e73){const _0x3bf2e2=_0x2be753;_0x5ac3d7(_0x291e73)&&_0x2ba4f6(_0x3bf2e2(0x19f),null,_0x291e73)[_0x3bf2e2(0x1c6)](_0x1aee94=>{const _0xa83497=_0x3bf2e2;if(this[_0xa83497(0x1b3)](_0x1aee94)&&!this[_0xa83497(0x1ae)](_0x1aee94)){const _0x5cd01c=_0x2ebeca(_0x1aee94,_0xa83497(0x19f));_0x236955(_0x1aee94,_0xa83497(0x1bf),_0x5cd01c),_0x236955(_0x1aee94,_0xa83497(0x19f),null);}});}[_0x2be753(0x1dc)](_0x22a255){const _0x2066cc=_0x2be753;if(!_0x22a255)return null;if(_0x5ac3d7(_0x22a255))return _0x2ebeca(_0x22a255,_0x2066cc(0x19f));if(_0x1e03d0(_0x22a255)){const _0xcbf49e=_0x74ab63(_0x22a255)[_0x2066cc(0x1b5)](/removed[\s*-]data-id="([^"]+)"/);if(_0xcbf49e&&_0xcbf49e[0x1])return _0xcbf49e[0x1];}return null;}[_0x2be753(0x1c5)](_0x1b5343){const _0x11b913=_0x2be753;if(_0x1e03d0(_0x1b5343)){const _0x44235f=_0x74ab63(_0x1b5343)[_0x11b913(0x1b5)](/removed[\s*-]data-id="([^"]+)"/);_0x44235f&&_0x44235f[0x1]&&this[_0x11b913(0x1a0)][_0x11b913(0x1cd)][_0x11b913(0x1d7)](_0x44235f[0x1]);}}[_0x2be753(0x1d5)](_0x2a422e){const _0x7ff900=_0x2be753;return this[_0x7ff900(0x1b3)](_0x2a422e)?_0x2ebeca(_0x2a422e,_0x7ff900(0x19f)):this[_0x7ff900(0x1cc)]();}[_0x2be753(0x1aa)](_0x3594bd){const _0x5876f2=_0x2be753;_0x477837(_0x3594bd)[_0x5876f2(0x1b0)](_0x2e8faa=>this[_0x5876f2(0x1ce)](_0x2e8faa)||this[_0x5876f2(0x1b7)](_0x2e8faa))[_0x5876f2(0x1c6)](_0x43c0e4=>{_0x20a7e0(_0x43c0e4);});}[_0x2be753(0x1c9)](_0x75eacd){const _0x465940=_0x2be753,_0x58a4cc=_0x75eacd[_0x465940(0x19e)],_0x5232f1=_0x58a4cc[_0x58a4cc[_0x465940(0x1da)]-0x1];_0x5232f1&&_0x5ac3d7(_0x5232f1)&&_0x236955(_0x5232f1,_0x465940(0x1df),_0x465940(0x1a6));}[_0x2be753(0x1c4)](_0x14fdda,_0x38e508){const _0x1d0201=_0x2be753,_0x3e287d=_0x5439aa(_0x1d0201(0x1df),_0x1d0201(0x1a6),_0x14fdda);if(!_0x3e287d)return;const _0x53ef6d=_0x27db4a(_0x3e287d)[_0x1d0201(0x1e0)](0x0,-0x1),_0x597da9=_0x53ef6d[_0x1d0201(0x1da)];let _0x5cc1bb=_0x3e287d;if(_0x597da9>_0x38e508){let _0x455ce4=_0x597da9,_0x5d6ef4=null;for(;_0x455ce4>_0x38e508&&_0x455ce4>=0x0;)_0x455ce4--,_0x5d6ef4=_0x53ef6d[_0x455ce4];_0x5d6ef4&&(_0x5cc1bb=_0x5d6ef4,_0x236955(_0x3e287d,_0x1d0201(0x1df),null),_0x236955(_0x5d6ef4,_0x1d0201(0x1df),_0x1d0201(0x1a6)));}else{if(_0x597da9<_0x38e508){let _0x1c27fc=_0x597da9,_0x4a00d6=_0x3e287d;for(;_0x1c27fc<_0x38e508;){const _0x51454a=_0x4a00d6[_0x1d0201(0x19e)][_0x1d0201(0x1b0)](_0x3a014b=>_0x5ac3d7(_0x3a014b));if(0x0===_0x51454a[_0x1d0201(0x1da)])break;_0x1c27fc++,_0x4a00d6=_0x51454a[_0x51454a[_0x1d0201(0x1da)]-0x1];}_0x4a00d6&&(_0x5cc1bb=_0x4a00d6,_0x236955(_0x3e287d,_0x1d0201(0x1df),null),_0x236955(_0x4a00d6,_0x1d0201(0x1df),_0x1d0201(0x1a6)));}}let _0x56c2c2=_0x5cc1bb;for(;_0x56c2c2;){for(;_0x56c2c2[_0x1d0201(0x1c0)];)_0x56c2c2=_0x56c2c2[_0x1d0201(0x1c0)],_0x5ac3d7(_0x56c2c2)&&_0x236955(_0x56c2c2,_0x1d0201(0x1df),_0x1d0201(0x1a6));_0x56c2c2=_0x56c2c2[_0x1d0201(0x1c8)];}}[_0x2be753(0x1a3)](_0x2752d6){const _0x59cb30=_0x2be753;return Boolean(_0x59cb30(0x1c2)===_0x2ebeca(_0x2752d6,_0x59cb30(0x19f)));}[_0x2be753(0x1b3)](_0x452f48){const _0x46a6f0=_0x2be753;return Boolean((_0x2ebeca(_0x452f48,_0x46a6f0(0x19f))||'')[_0x46a6f0(0x1da)]>0x0&&_0x46a6f0(0x1c2)!==_0x2ebeca(_0x452f48,_0x46a6f0(0x19f)));}[_0x2be753(0x1ce)](_0x1a90fc){const _0x5ec279=_0x2be753;return!!_0x1a90fc&&Boolean(_0x1e03d0(_0x1a90fc)&&_0x74ab63(_0x1a90fc)[_0x5ec279(0x1b5)](/removed[\s*-]data-id="[^"]+"/));}[_0x2be753(0x1ae)](_0x301293){const _0x12dc65=_0x2be753;let _0x4819d4=_0x301293[_0x12dc65(0x1c8)];for(;_0x4819d4;){if(_0x2ebeca(_0x4819d4,_0x12dc65(0x1bf)))return!0x0;_0x4819d4=_0x4819d4[_0x12dc65(0x1c8)];}return!0x1;}[_0x2be753(0x1b7)](_0x7d08e1){const _0x30c264=_0x2be753;return Boolean(_0x1e03d0(_0x7d08e1)&&_0x74ab63(_0x7d08e1)[_0x30c264(0x1b5)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35eda1=_0x2105;(function(_0x1c4df2,_0x52274f){const _0xc635e3=_0x2105,_0x53a291=_0x1c4df2();while(!![]){try{const _0x1af7a9=parseInt(_0xc635e3(0x104))/0x1+parseInt(_0xc635e3(0x107))/0x2*(parseInt(_0xc635e3(0x101))/0x3)+parseInt(_0xc635e3(0xf7))/0x4*(-parseInt(_0xc635e3(0xf8))/0x5)+-parseInt(_0xc635e3(0xfb))/0x6+parseInt(_0xc635e3(0xfa))/0x7*(-parseInt(_0xc635e3(0x100))/0x8)+-parseInt(_0xc635e3(0x106))/0x9*(parseInt(_0xc635e3(0xf9))/0xa)+-parseInt(_0xc635e3(0xfc))/0xb;if(_0x1af7a9===_0x52274f)break;else _0x53a291['push'](_0x53a291['shift']());}catch(_0x3bf6d8){_0x53a291['push'](_0x53a291['shift']());}}}(_0x47e2,0x55c69));import{ObservableMixin as _0x60e9d3}from'ckeditor5/src/utils.js';function _0x2105(_0x2d41e6,_0x6d0bd0){const _0x47e274=_0x47e2();return _0x2105=function(_0x210569,_0x231958){_0x210569=_0x210569-0xf4;let _0x5cf88e=_0x47e274[_0x210569];return _0x5cf88e;},_0x2105(_0x2d41e6,_0x6d0bd0);}function _0x47e2(){const _0x3e0cb6=['145ItNfRR','110zmFYoE','13839hEVdqf','827466LXtdqk','46189bYQvrs','parse','_m2html','_parseHTML','824GSeJRi','29583vPFlRZ','children','parseAndNormalizeHTML','407748MgGByN','<dummy>','193437oyVHCH','140wADpKg','convertMarkdownToHTML','replace','</dummy>','22692JGEaIt'];_0x47e2=function(){return _0x3e0cb6;};return _0x47e2();}import{MarkdownGfmMdToHtml as _0x33be7d}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x4cc181}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x60e9d3(){[_0x35eda1(0xfe)];constructor(){const _0x8ebe8f=_0x35eda1;super(),this[_0x8ebe8f(0xfe)]=new _0x33be7d();}[_0x35eda1(0xf4)](_0xcc0fec){const _0x9c9061=_0x35eda1,_0x2d4cc4=this[_0x9c9061(0xfe)][_0x9c9061(0xfd)](_0xcc0fec);return this[_0x9c9061(0x103)](_0x2d4cc4);}[_0x35eda1(0x103)](_0x28bd81){const _0x4e6934=_0x35eda1;return this[_0x4e6934(0xff)](_0x28bd81);}[_0x35eda1(0xff)](_0x2fc827){const _0x5424d6=_0x35eda1,_0x309690=_0x2fc827[_0x5424d6(0xf5)](/^\t+/gm,'\x20')[_0x5424d6(0xf5)](/\n*/g,'')[_0x5424d6(0xf5)](/\s+/g,'\x20')[_0x5424d6(0xf5)](/<[^>]*?$/g,''),_0x201de6=_0x4cc181(_0x5424d6(0x105)+_0x309690+_0x5424d6(0xf6));return _0x201de6[_0x5424d6(0x102)]=_0x201de6[_0x5424d6(0x102)][0x0][_0x5424d6(0x102)],_0x201de6;}}
23
+ function _0x252d(){const _0x1e5115=['2727TclcHB','convertMarkdownToHTML','_parseHTML','10389038tHpzIN','parse','2qsfrhe','145134iGmZWc','18SxPFrn','parseAndNormalizeHTML','<dummy>','570173TdjpEf','31670TYcLfy','568Lhhtrc','322273NndPan','_m2html','children','32950BDfUAK','6833312wxZZLs','replace','</dummy>'];_0x252d=function(){return _0x1e5115;};return _0x252d();}function _0x5227(_0x5197c4,_0x2ecdeb){const _0x252d1d=_0x252d();return _0x5227=function(_0x5227b7,_0xf4c4fc){_0x5227b7=_0x5227b7-0x1e9;let _0x386091=_0x252d1d[_0x5227b7];return _0x386091;},_0x5227(_0x5197c4,_0x2ecdeb);}const _0x3521d4=_0x5227;(function(_0x1b243d,_0x2e06d3){const _0x442b22=_0x5227,_0x1eda68=_0x1b243d();while(!![]){try{const _0x43052c=-parseInt(_0x442b22(0x1f4))/0x1*(-parseInt(_0x442b22(0x1ef))/0x2)+parseInt(_0x442b22(0x1f0))/0x3+-parseInt(_0x442b22(0x1f6))/0x4*(-parseInt(_0x442b22(0x1f5))/0x5)+parseInt(_0x442b22(0x1f1))/0x6*(-parseInt(_0x442b22(0x1f7))/0x7)+-parseInt(_0x442b22(0x1fb))/0x8+parseInt(_0x442b22(0x1ea))/0x9*(parseInt(_0x442b22(0x1fa))/0xa)+-parseInt(_0x442b22(0x1ed))/0xb;if(_0x43052c===_0x2e06d3)break;else _0x1eda68['push'](_0x1eda68['shift']());}catch(_0x1ea8d1){_0x1eda68['push'](_0x1eda68['shift']());}}}(_0x252d,0x8d829));import{ObservableMixin as _0x1e5321}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x2ba573}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x19c5b5}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x1e5321(){[_0x3521d4(0x1f8)];constructor(){const _0x371308=_0x3521d4;super(),this[_0x371308(0x1f8)]=new _0x2ba573();}[_0x3521d4(0x1eb)](_0x5d0af7){const _0x2564d6=_0x3521d4,_0x372b6f=this[_0x2564d6(0x1f8)][_0x2564d6(0x1ee)](_0x5d0af7);return this[_0x2564d6(0x1f2)](_0x372b6f);}[_0x3521d4(0x1f2)](_0x1139e3){const _0xf11899=_0x3521d4;return this[_0xf11899(0x1ec)](_0x1139e3);}[_0x3521d4(0x1ec)](_0x8bf297){const _0x3dc18e=_0x3521d4,_0x30dbb0=_0x8bf297[_0x3dc18e(0x1fc)](/^\t+/gm,'\x20')[_0x3dc18e(0x1fc)](/\n*/g,'')[_0x3dc18e(0x1fc)](/\s+/g,'\x20')[_0x3dc18e(0x1fc)](/<[^>]*?$/g,''),_0x56472a=_0x19c5b5(_0x3dc18e(0x1f3)+_0x30dbb0+_0x3dc18e(0x1e9));return _0x56472a[_0x3dc18e(0x1f9)]=_0x56472a[_0x3dc18e(0x1f9)][0x0][_0x3dc18e(0x1f9)],_0x56472a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x58d49b,_0xaeceae){var _0x4402fd=_0x1f93,_0x1d01cc=_0x58d49b();while(!![]){try{var _0x588ddf=parseInt(_0x4402fd(0x1c9))/0x1+-parseInt(_0x4402fd(0x1cd))/0x2*(parseInt(_0x4402fd(0x1c7))/0x3)+-parseInt(_0x4402fd(0x1ce))/0x4+-parseInt(_0x4402fd(0x1d2))/0x5+parseInt(_0x4402fd(0x1d1))/0x6+-parseInt(_0x4402fd(0x1ca))/0x7+parseInt(_0x4402fd(0x1c8))/0x8;if(_0x588ddf===_0xaeceae)break;else _0x1d01cc['push'](_0x1d01cc['shift']());}catch(_0x2f0c0d){_0x1d01cc['push'](_0x1d01cc['shift']());}}}(_0x1394,0x6c754));function _0x1f93(_0x106b2d,_0x293044){var _0x13941c=_0x1394();return _0x1f93=function(_0x1f93b9,_0x66df){_0x1f93b9=_0x1f93b9-0x1c6;var _0x43e11a=_0x13941c[_0x1f93b9];return _0x43e11a;},_0x1f93(_0x106b2d,_0x293044);}import{View as _0x27f675}from'ckeditor5/src/ui.js';function _0x1394(){var _0x291e51=['342216EUJjWr','ck-ai-disclaimer','setTemplate','3824916rUqAdP','3515885ehjjIP','ck-ai-disclaimer__content','3FhxeKp','3388904HKqXAQ','409512SBSMSm','1620829Nywmdw','AI_DISCLAIMER_TEXT','div','12178qTzRha'];_0x1394=function(){return _0x291e51;};return _0x1394();}import{getTranslation as _0x3875d0}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x27f675{constructor(_0x5eafe1){var _0x5bcab9=_0x1f93;super(_0x5eafe1),this[_0x5bcab9(0x1d0)]({'tag':_0x5bcab9(0x1cc),'attributes':{'class':['ck',_0x5bcab9(0x1cf)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x5bcab9(0x1c6)]},'children':[{'text':_0x3875d0(_0x5eafe1,_0x5bcab9(0x1cb))}]}]});}}
23
+ (function(_0x100596,_0x256a97){var _0x2f1a23=_0x3ce6,_0x59a745=_0x100596();while(!![]){try{var _0x3d3d95=parseInt(_0x2f1a23(0x147))/0x1+-parseInt(_0x2f1a23(0x146))/0x2*(parseInt(_0x2f1a23(0x145))/0x3)+-parseInt(_0x2f1a23(0x148))/0x4*(parseInt(_0x2f1a23(0x14f))/0x5)+-parseInt(_0x2f1a23(0x14a))/0x6*(parseInt(_0x2f1a23(0x150))/0x7)+-parseInt(_0x2f1a23(0x14e))/0x8+parseInt(_0x2f1a23(0x14b))/0x9+parseInt(_0x2f1a23(0x144))/0xa*(parseInt(_0x2f1a23(0x14d))/0xb);if(_0x3d3d95===_0x256a97)break;else _0x59a745['push'](_0x59a745['shift']());}catch(_0x9c9e08){_0x59a745['push'](_0x59a745['shift']());}}}(_0x1d73,0xf123f));function _0x1d73(){var _0x6ea23f=['521604vCfAVS','div','1086LAecsM','1593117tewWoh','AI_DISCLAIMER_TEXT','11cWnUGQ','1437176oBljRH','30TLPOHL','72331xRnXVd','ck-ai-disclaimer','setTemplate','ck-ai-disclaimer__content','42834930McFxcs','3zKjtUV','3028030RaUnwA','873546ARWgvi'];_0x1d73=function(){return _0x6ea23f;};return _0x1d73();}function _0x3ce6(_0x16c12f,_0x2c2bf4){var _0x1d730b=_0x1d73();return _0x3ce6=function(_0x3ce675,_0x3c9645){_0x3ce675=_0x3ce675-0x142;var _0x1418bb=_0x1d730b[_0x3ce675];return _0x1418bb;},_0x3ce6(_0x16c12f,_0x2c2bf4);}import{View as _0x5dd445}from'ckeditor5/src/ui.js';import{getTranslation as _0x344fd0}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x5dd445{constructor(_0x4d0763){var _0x1dc742=_0x3ce6;super(_0x4d0763),this[_0x1dc742(0x142)]({'tag':_0x1dc742(0x149),'attributes':{'class':['ck',_0x1dc742(0x151)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x1dc742(0x143)]},'children':[{'text':_0x344fd0(_0x4d0763,_0x1dc742(0x14c))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4833d9=_0x4499;function _0x4499(_0x186773,_0x15ca2a){const _0x3e38b4=_0x3e38();return _0x4499=function(_0x449983,_0x545932){_0x449983=_0x449983-0xcc;let _0x5c8632=_0x3e38b4[_0x449983];return _0x5c8632;},_0x4499(_0x186773,_0x15ca2a);}function _0x3e38(){const _0x5e562c=['margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','width:\x20','2093376xoAmAL','228989PHvTHg','height','map','44px','ck-ai-skeleton','class','28InCJME','attributes','2697144YWvGQS','100%','width','left','12894606xNUgur','ck-ai-skeleton__item','672544ZZfRXo','right','24px','7901106MkPppZ',';\x20height:\x20','88px','div','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','tag','_createSkeletonItems','250px','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','140px','center','setTemplate','align','40px','fill','150px','72px','6dHYLKc','2335560Mxysnz','128px'];_0x3e38=function(){return _0x5e562c;};return _0x3e38();}(function(_0x12594f,_0xd8b636){const _0x28f6a5=_0x4499,_0x218a22=_0x12594f();while(!![]){try{const _0x1b1e80=parseInt(_0x28f6a5(0xf0))/0x1+parseInt(_0x28f6a5(0xd0))/0x2+-parseInt(_0x28f6a5(0xea))/0x3*(-parseInt(_0x28f6a5(0xef))/0x4)+parseInt(_0x28f6a5(0xeb))/0x5+-parseInt(_0x28f6a5(0xd9))/0x6+-parseInt(_0x28f6a5(0xce))/0x7*(-parseInt(_0x28f6a5(0xd6))/0x8)+-parseInt(_0x28f6a5(0xd4))/0x9;if(_0x1b1e80===_0xd8b636)break;else _0x218a22['push'](_0x218a22['shift']());}catch(_0x517391){_0x218a22['push'](_0x218a22['shift']());}}}(_0x3e38,0xa58a0));import{View as _0x5d84ca}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x5d84ca{constructor(_0x2843e5,_0x17917c){const _0x48cbde=_0x4499;super(_0x2843e5),this[_0x48cbde(0xe4)]({'tag':_0x48cbde(0xdc),'attributes':{'class':['ck',_0x48cbde(0xcc)]},'children':this[_0x48cbde(0xdf)](_0x17917c)});}[_0x4833d9(0xdf)](_0x3673a4){const _0x60ad3=_0x4833d9,_0x5299e1=['ck',_0x60ad3(0xd5)];return _0x3673a4[_0x60ad3(0xf2)](_0x460970=>{const _0x12edbd=_0x60ad3;let _0xf88c1='';switch(_0x460970[_0x12edbd(0xcf)][_0x12edbd(0xe5)]){case _0x12edbd(0xd7):_0xf88c1=_0x12edbd(0xdd);break;case _0x12edbd(0xe3):_0xf88c1=_0x12edbd(0xe1);break;case _0x12edbd(0xd3):_0xf88c1=_0x12edbd(0xed);}return{'tag':_0x460970[_0x12edbd(0xde)],'attributes':{'class':[..._0x5299e1,_0x460970[_0x12edbd(0xcf)][_0x12edbd(0xcd)]?_0x460970[_0x12edbd(0xcf)][_0x12edbd(0xcd)]:''],'style':_0x12edbd(0xee)+_0x460970[_0x12edbd(0xcf)][_0x12edbd(0xd2)]+_0x12edbd(0xda)+_0x460970[_0x12edbd(0xcf)][_0x12edbd(0xf1)]+';'+_0xf88c1}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xd1),'height':_0x4833d9(0xe9),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xe0),'height':_0x4833d9(0xe6),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xd1),'height':_0x4833d9(0xdb),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xe8),'height':_0x4833d9(0xe6),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xd1),'height':_0x4833d9(0xe2),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xe0),'height':_0x4833d9(0xe6),'align':_0x4833d9(0xd7)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xd1),'height':_0x4833d9(0xdb),'align':_0x4833d9(0xd7)}}],'aiHistory':$i(0x5,_0x4833d9(0xd1),_0x4833d9(0xf3),_0x4833d9(0xd7)),'aiChatResources':$i(0x8,_0x4833d9(0xd1),_0x4833d9(0xd8),_0x4833d9(0xd7)),'aiReviewChecks':[{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xec),'height':_0x4833d9(0xd8),'align':_0x4833d9(0xd3)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xd1),'height':_0x4833d9(0xd8),'align':_0x4833d9(0xd3)}},{'tag':_0x4833d9(0xdc),'attributes':{'width':_0x4833d9(0xec),'height':_0x4833d9(0xd8),'align':_0x4833d9(0xd3)}}]};function $i(_0x40b42f,_0x76ebfd,_0x39b936,_0x8787e2){const _0x5b9345=_0x4833d9;return new Array(_0x40b42f)[_0x5b9345(0xe7)](null)[_0x5b9345(0xf2)](()=>({'tag':_0x5b9345(0xdc),'attributes':{'width':_0x76ebfd,'height':_0x39b936,'align':_0x8787e2}}));}
23
+ const _0x33da9e=_0x1e4c;(function(_0x49bd15,_0x4fd475){const _0x1d883c=_0x1e4c,_0x30dd13=_0x49bd15();while(!![]){try{const _0xf85ff4=-parseInt(_0x1d883c(0xfa))/0x1*(parseInt(_0x1d883c(0xfb))/0x2)+-parseInt(_0x1d883c(0xfe))/0x3+-parseInt(_0x1d883c(0xe5))/0x4+-parseInt(_0x1d883c(0xe6))/0x5+-parseInt(_0x1d883c(0xdd))/0x6*(-parseInt(_0x1d883c(0xf9))/0x7)+-parseInt(_0x1d883c(0xef))/0x8+-parseInt(_0x1d883c(0x103))/0x9*(-parseInt(_0x1d883c(0xec))/0xa);if(_0xf85ff4===_0x4fd475)break;else _0x30dd13['push'](_0x30dd13['shift']());}catch(_0x352e0d){_0x30dd13['push'](_0x30dd13['shift']());}}}(_0x1921,0x7a9e7));import{View as _0x21a912}from'ckeditor5/src/ui.js';function _0x1e4c(_0x13a12d,_0x1238f4){const _0x1921e8=_0x1921();return _0x1e4c=function(_0x1e4c98,_0xedc36f){_0x1e4c98=_0x1e4c98-0xdd;let _0x5e15c3=_0x1921e8[_0x1e4c98];return _0x5e15c3;},_0x1e4c(_0x13a12d,_0x1238f4);}function _0x1921(){const _0x5b8c3f=['width','432NrBCjZ','44px','attributes','42kkBVcP','128px','left','tag','height','ck-ai-skeleton','ck-ai-skeleton__item','fill','2360848iJIPLb','1035370eOZpEt','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','setTemplate','250px','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','140px','499570DpmVch','150px','24px','6440232xPvTFO','_createSkeletonItems','div','class','right','72px','map',';\x20height:\x20','88px','40px','776734rJrLJG','152652RPXqIm','8inbeTQ','100%','width:\x20','1378500bmcilA','center','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','align'];_0x1921=function(){return _0x5b8c3f;};return _0x1921();}export class AISkeletonView extends _0x21a912{constructor(_0x44264e,_0x44a21c){const _0x1324ef=_0x1e4c;super(_0x44264e),this[_0x1324ef(0xe8)]({'tag':_0x1324ef(0xf1),'attributes':{'class':['ck',_0x1324ef(0xe2)]},'children':this[_0x1324ef(0xf0)](_0x44a21c)});}[_0x33da9e(0xf0)](_0x1f3968){const _0xeeee56=_0x33da9e,_0x1b5f89=['ck',_0xeeee56(0xe3)];return _0x1f3968[_0xeeee56(0xf5)](_0x4d898e=>{const _0x46b07f=_0xeeee56;let _0x3b8b73='';switch(_0x4d898e[_0x46b07f(0x105)][_0x46b07f(0x101)]){case _0x46b07f(0xf3):_0x3b8b73=_0x46b07f(0xea);break;case _0x46b07f(0xff):_0x3b8b73=_0x46b07f(0x100);break;case _0x46b07f(0xdf):_0x3b8b73=_0x46b07f(0xe7);}return{'tag':_0x4d898e[_0x46b07f(0xe0)],'attributes':{'class':[..._0x1b5f89,_0x4d898e[_0x46b07f(0x105)][_0x46b07f(0xf2)]?_0x4d898e[_0x46b07f(0x105)][_0x46b07f(0xf2)]:''],'style':_0x46b07f(0xfd)+_0x4d898e[_0x46b07f(0x105)][_0x46b07f(0x102)]+_0x46b07f(0xf6)+_0x4d898e[_0x46b07f(0x105)][_0x46b07f(0xe1)]+';'+_0x3b8b73}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x33da9e(0xf1),'attributes':{'width':_0x33da9e(0xfc),'height':_0x33da9e(0xf4),'align':_0x33da9e(0xf3)}},{'tag':_0x33da9e(0xf1),'attributes':{'width':_0x33da9e(0xe9),'height':_0x33da9e(0xf8),'align':_0x33da9e(0xf3)}},{'tag':_0x33da9e(0xf1),'attributes':{'width':_0x33da9e(0xfc),'height':_0x33da9e(0xf7),'align':_0x33da9e(0xf3)}},{'tag':_0x33da9e(0xf1),'attributes':{'width':_0x33da9e(0xed),'height':_0x33da9e(0xf8),'align':_0x33da9e(0xf3)}},{'tag':_0x33da9e(0xf1),'attributes':{'width':_0x33da9e(0xfc),'height':_0x33da9e(0xeb),'align':_0x33da9e(0xf3)}},{'tag':_0x33da9e(0xf1),'attributes':{'width':_0x33da9e(0xe9),'height':_0x33da9e(0xf8),'align':_0x33da9e(0xf3)}},{'tag':_0x33da9e(0xf1),'attributes':{'width':_0x33da9e(0xfc),'height':_0x33da9e(0xf7),'align':_0x33da9e(0xf3)}}],'aiHistory':$i(0x5,_0x33da9e(0xfc),_0x33da9e(0x104),_0x33da9e(0xf3)),'aiChatResources':$i(0x8,_0x33da9e(0xfc),_0x33da9e(0xee),_0x33da9e(0xf3)),'aiReviewChecks':[{'tag':_0x33da9e(0xf1),'attributes':{'width':_0x33da9e(0xde),'height':_0x33da9e(0xee),'align':_0x33da9e(0xdf)}},{'tag':_0x33da9e(0xf1),'attributes':{'width':_0x33da9e(0xfc),'height':_0x33da9e(0xee),'align':_0x33da9e(0xdf)}},{'tag':_0x33da9e(0xf1),'attributes':{'width':_0x33da9e(0xde),'height':_0x33da9e(0xee),'align':_0x33da9e(0xdf)}}]};function $i(_0x6b8b51,_0x416918,_0x6bb101,_0x105322){const _0x292798=_0x33da9e;return new Array(_0x6b8b51)[_0x292798(0xe4)](null)[_0x292798(0xf5)](()=>({'tag':_0x292798(0xf1),'attributes':{'width':_0x416918,'height':_0x6bb101,'align':_0x105322}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29fb22=_0x7664;function _0x4f7b(){const _0x38e183=['extendTemplate','ck-ai-mini-toolbar-copy-button','children','showChanges','bind','_setupShowChangesButton','74vgNbQV','24432792VaikKp','ck-ai-mini-toolbar-copy-button__check-mark','_config','isOn','like','dislikeButton','length','execute','showChangesButton','add','class','22IWJZch','AI_SUGGESTION_BUTTON_SHOW_CHANGES','likeButton','15099dYWXjc','AI_MINI_TOOLBAR_COPY','toggleShowChanges','copyButton','ck-ai-mini-toolbar\x20ck-hidden','customView','4802680txnkGT','locale','dislike','showLike','showDislike','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','isLoading','fire','full','isEnabled','showCopy','1716085bqYTdv','41468WCkZIr','_setupRatingButtons','ck-ai-mini-toolbar','_setupCopyButton','addMany','16983rDJONU','set','AI_MINI_TOOLBAR_DISLIKE','items','216UMDhfg','4821892RayOuY','3LOoZVk','3460zVyNsn','AI_MINI_TOOLBAR_LIKE'];_0x4f7b=function(){return _0x38e183;};return _0x4f7b();}function _0x7664(_0x3008b7,_0x2226d5){const _0x4f7bf0=_0x4f7b();return _0x7664=function(_0x766475,_0x418817){_0x766475=_0x766475-0x1ec;let _0x1c06fc=_0x4f7bf0[_0x766475];return _0x1c06fc;},_0x7664(_0x3008b7,_0x2226d5);}(function(_0x2b2f34,_0x262cf7){const _0xc7854a=_0x7664,_0x87e97a=_0x2b2f34();while(!![]){try{const _0x54ce83=-parseInt(_0xc7854a(0x1f7))/0x1*(parseInt(_0xc7854a(0x218))/0x2)+-parseInt(_0xc7854a(0x1ee))/0x3*(parseInt(_0xc7854a(0x1ed))/0x4)+-parseInt(_0xc7854a(0x217))/0x5+-parseInt(_0xc7854a(0x1ec))/0x6*(parseInt(_0xc7854a(0x206))/0x7)+-parseInt(_0xc7854a(0x20c))/0x8+parseInt(_0xc7854a(0x21d))/0x9*(parseInt(_0xc7854a(0x1ef))/0xa)+parseInt(_0xc7854a(0x203))/0xb*(parseInt(_0xc7854a(0x1f8))/0xc);if(_0x54ce83===_0x262cf7)break;else _0x87e97a['push'](_0x87e97a['shift']());}catch(_0x153ddd){_0x87e97a['push'](_0x87e97a['shift']());}}}(_0x4f7b,0xeb5c9));import{ButtonView as _0x23a8ac,IconView as _0xe3d944,ToolbarView as _0x5bd113}from'ckeditor5/src/ui.js';import{IconCheck as _0x1b30a3,IconCopy as _0x1b6b3a,IconShowChangesOff as _0x6ef0d,IconShowChangesOn as _0x2d969d,IconThumbDown as _0xed382e,IconThumbUp as _0x52d3ad}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x485f06}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x5bd113{[_0x29fb22(0x209)];[_0x29fb22(0x205)];[_0x29fb22(0x1fd)];[_0x29fb22(0x200)];[_0x29fb22(0x1fa)];constructor(_0x5c282c,_0x14dd5a={},_0x23f9c1){const _0x2fade1=_0x29fb22;super(_0x5c282c),this[_0x2fade1(0x21e)](_0x2fade1(0x212),!0x1),this[_0x2fade1(0x1fa)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x14dd5a};const _0x58c5b5=!(this[_0x2fade1(0x1fa)][_0x2fade1(0x216)]||this[_0x2fade1(0x1fa)][_0x2fade1(0x1f4)]||this[_0x2fade1(0x1fa)][_0x2fade1(0x20f)]||this[_0x2fade1(0x1fa)][_0x2fade1(0x210)]||this[_0x2fade1(0x1fa)][_0x2fade1(0x20b)]?.[_0x2fade1(0x1fe)]);this[_0x2fade1(0x202)]=_0x58c5b5?_0x2fade1(0x20a):_0x2fade1(0x21a),this[_0x2fade1(0x1fa)][_0x2fade1(0x216)]&&(this[_0x2fade1(0x21b)](),this[_0x2fade1(0x220)][_0x2fade1(0x201)](this[_0x2fade1(0x209)])),this[_0x2fade1(0x1fa)][_0x2fade1(0x1f4)]&&(this[_0x2fade1(0x1f6)](_0x23f9c1),this[_0x2fade1(0x220)][_0x2fade1(0x201)](this[_0x2fade1(0x200)])),this[_0x2fade1(0x219)](),this[_0x2fade1(0x1fa)][_0x2fade1(0x20f)]&&this[_0x2fade1(0x220)][_0x2fade1(0x201)](this[_0x2fade1(0x205)]),this[_0x2fade1(0x1fa)][_0x2fade1(0x210)]&&this[_0x2fade1(0x220)][_0x2fade1(0x201)](this[_0x2fade1(0x1fd)]),this[_0x2fade1(0x1fa)][_0x2fade1(0x20b)]&&this[_0x2fade1(0x220)][_0x2fade1(0x21c)](this[_0x2fade1(0x1fa)][_0x2fade1(0x20b)]);}[_0x29fb22(0x219)](){const _0x453775=_0x29fb22;this[_0x453775(0x205)]=new _0x23a8ac(this[_0x453775(0x20d)]),this[_0x453775(0x205)][_0x453775(0x21e)]({'icon':_0x52d3ad,'label':_0x485f06(this[_0x453775(0x20d)],_0x453775(0x1f0)),'tooltip':!0x0}),this[_0x453775(0x205)][_0x453775(0x1f5)](_0x453775(0x215))['to'](this,_0x453775(0x212),_0x4a57f1=>!_0x4a57f1),this[_0x453775(0x205)]['on'](_0x453775(0x1ff),()=>{const _0x1ddf74=_0x453775;this[_0x1ddf74(0x213)](_0x1ddf74(0x1fc));}),this[_0x453775(0x1fd)]=new _0x23a8ac(this[_0x453775(0x20d)]),this[_0x453775(0x1fd)][_0x453775(0x21e)]({'icon':_0xed382e,'label':_0x485f06(this[_0x453775(0x20d)],_0x453775(0x21f)),'tooltip':!0x0}),this[_0x453775(0x1fd)][_0x453775(0x1f5)](_0x453775(0x215))['to'](this,_0x453775(0x212),_0x321ac0=>!_0x321ac0),this[_0x453775(0x1fd)]['on'](_0x453775(0x1ff),()=>{const _0x54eeb0=_0x453775;this[_0x54eeb0(0x213)](_0x54eeb0(0x20e));});}[_0x29fb22(0x21b)](){const _0x3cbc4b=_0x29fb22;this[_0x3cbc4b(0x209)]=new _0x23a8ac(this[_0x3cbc4b(0x20d)]),this[_0x3cbc4b(0x209)][_0x3cbc4b(0x21e)]({'icon':_0x1b6b3a,'label':_0x485f06(this[_0x3cbc4b(0x20d)],_0x3cbc4b(0x207)),'class':_0x3cbc4b(0x1f2),'tooltip':!0x0}),this[_0x3cbc4b(0x209)][_0x3cbc4b(0x1f5)](_0x3cbc4b(0x215))['to'](this,_0x3cbc4b(0x212),_0x1c0ff9=>!_0x1c0ff9);const _0x4611dc=new _0xe3d944();_0x4611dc[_0x3cbc4b(0x21e)]({'content':_0x1b30a3}),_0x4611dc[_0x3cbc4b(0x1f1)]({'attributes':{'class':[_0x3cbc4b(0x1f9)]}}),this[_0x3cbc4b(0x209)]['on'](_0x3cbc4b(0x1ff),()=>{const _0x248e1f=_0x3cbc4b;this[_0x248e1f(0x209)][_0x248e1f(0x202)]=_0x248e1f(0x211),setTimeout(()=>{const _0x404e8c=_0x248e1f;this[_0x404e8c(0x209)][_0x404e8c(0x202)]=_0x404e8c(0x1f2);},0x7d0);}),this[_0x3cbc4b(0x209)][_0x3cbc4b(0x1f3)][_0x3cbc4b(0x201)](_0x4611dc);}[_0x29fb22(0x1f6)](_0x2461ea){const _0x535d7a=_0x29fb22;this[_0x535d7a(0x200)]=new _0x23a8ac(this[_0x535d7a(0x20d)]),this[_0x535d7a(0x200)][_0x535d7a(0x21e)]({'icon':_0x6ef0d,'label':_0x485f06(this[_0x535d7a(0x20d)],_0x535d7a(0x204)),'withText':_0x535d7a(0x214)==this[_0x535d7a(0x1fa)][_0x535d7a(0x1f4)],'tooltip':_0x535d7a(0x214)!=this[_0x535d7a(0x1fa)][_0x535d7a(0x1f4)],'isOn':_0x2461ea}),this[_0x535d7a(0x200)][_0x535d7a(0x1f5)](_0x535d7a(0x215))['to'](this,_0x535d7a(0x212),_0x4d7bba=>!_0x4d7bba),this[_0x535d7a(0x200)]['on'](_0x535d7a(0x1ff),()=>{const _0x147fc4=_0x535d7a,_0x4a697b=!this[_0x147fc4(0x200)][_0x147fc4(0x1fb)];this[_0x147fc4(0x200)][_0x147fc4(0x21e)]({'isOn':_0x4a697b,'icon':_0x4a697b?_0x2d969d:_0x6ef0d}),this[_0x147fc4(0x213)](_0x147fc4(0x208),_0x4a697b);});}}
23
+ const _0xd394c6=_0x5122;function _0x5122(_0x5c4aca,_0x273d2e){const _0x4c4dc2=_0x4c4d();return _0x5122=function(_0x51222e,_0x2f44e3){_0x51222e=_0x51222e-0x1a3;let _0x4722b3=_0x4c4dc2[_0x51222e];return _0x4722b3;},_0x5122(_0x5c4aca,_0x273d2e);}(function(_0x2a94d7,_0x2112c6){const _0x2edca4=_0x5122,_0x5afb39=_0x2a94d7();while(!![]){try{const _0x576e52=parseInt(_0x2edca4(0x1c6))/0x1+parseInt(_0x2edca4(0x1a4))/0x2*(-parseInt(_0x2edca4(0x1a5))/0x3)+parseInt(_0x2edca4(0x1ac))/0x4*(parseInt(_0x2edca4(0x1bd))/0x5)+parseInt(_0x2edca4(0x1d2))/0x6*(-parseInt(_0x2edca4(0x1bc))/0x7)+-parseInt(_0x2edca4(0x1d5))/0x8*(parseInt(_0x2edca4(0x1bf))/0x9)+-parseInt(_0x2edca4(0x1aa))/0xa*(parseInt(_0x2edca4(0x1a6))/0xb)+parseInt(_0x2edca4(0x1b3))/0xc*(parseInt(_0x2edca4(0x1c2))/0xd);if(_0x576e52===_0x2112c6)break;else _0x5afb39['push'](_0x5afb39['shift']());}catch(_0x5898fb){_0x5afb39['push'](_0x5afb39['shift']());}}}(_0x4c4d,0x9790c));import{ButtonView as _0x3ab913,IconView as _0x318c3b,ToolbarView as _0x2d1ebc}from'ckeditor5/src/ui.js';import{IconCheck as _0x42e228,IconCopy as _0x31c722,IconShowChangesOff as _0x239926,IconShowChangesOn as _0x5a7b2e,IconThumbDown as _0x33d3b0,IconThumbUp as _0x1c2d76}from'@ckeditor/ckeditor5-icons';function _0x4c4d(){const _0x99ee73=['toggleShowChanges','length','execute','AI_SUGGESTION_BUTTON_SHOW_CHANGES','2rJBWTi','2377182ZhNHAV','11dOzgyb','locale','ck-ai-mini-toolbar-copy-button','extendTemplate','3833000OeUraU','showCopy','8WuRUgQ','ck-ai-mini-toolbar\x20ck-hidden','like','likeButton','copyButton','ck-ai-mini-toolbar','AI_MINI_TOOLBAR_COPY','6455688vXTGLG','AI_MINI_TOOLBAR_DISLIKE','children','showChangesButton','_setupCopyButton','set','isLoading','AI_MINI_TOOLBAR_LIKE','dislike','5542887tOvjXZ','1569305XpjPrO','isEnabled','72tOYEui','add','isOn','65RJTFHg','customView','showChanges','_config','155411HDqaUt','items','_setupRatingButtons','ck-ai-mini-toolbar-copy-button__check-mark','_setupShowChangesButton','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','class','bind','showLike','fire','showDislike','full','6VDnYfS','dislikeButton','addMany','884656XfkmlQ'];_0x4c4d=function(){return _0x99ee73;};return _0x4c4d();}import{getTranslation as _0x3d5d27}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x2d1ebc{[_0xd394c6(0x1b0)];[_0xd394c6(0x1af)];[_0xd394c6(0x1d3)];[_0xd394c6(0x1b6)];[_0xd394c6(0x1c5)];constructor(_0x1ea22d,_0x237098={},_0x50f451){const _0x1bf06d=_0xd394c6;super(_0x1ea22d),this[_0x1bf06d(0x1b8)](_0x1bf06d(0x1b9),!0x1),this[_0x1bf06d(0x1c5)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x237098};const _0x39b6f2=!(this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1ab)]||this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1c4)]||this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1ce)]||this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1d0)]||this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1c3)]?.[_0x1bf06d(0x1d7)]);this[_0x1bf06d(0x1cc)]=_0x39b6f2?_0x1bf06d(0x1ad):_0x1bf06d(0x1b1),this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1ab)]&&(this[_0x1bf06d(0x1b7)](),this[_0x1bf06d(0x1c7)][_0x1bf06d(0x1c0)](this[_0x1bf06d(0x1b0)])),this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1c4)]&&(this[_0x1bf06d(0x1ca)](_0x50f451),this[_0x1bf06d(0x1c7)][_0x1bf06d(0x1c0)](this[_0x1bf06d(0x1b6)])),this[_0x1bf06d(0x1c8)](),this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1ce)]&&this[_0x1bf06d(0x1c7)][_0x1bf06d(0x1c0)](this[_0x1bf06d(0x1af)]),this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1d0)]&&this[_0x1bf06d(0x1c7)][_0x1bf06d(0x1c0)](this[_0x1bf06d(0x1d3)]),this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1c3)]&&this[_0x1bf06d(0x1c7)][_0x1bf06d(0x1d4)](this[_0x1bf06d(0x1c5)][_0x1bf06d(0x1c3)]);}[_0xd394c6(0x1c8)](){const _0x4ce3a2=_0xd394c6;this[_0x4ce3a2(0x1af)]=new _0x3ab913(this[_0x4ce3a2(0x1a7)]),this[_0x4ce3a2(0x1af)][_0x4ce3a2(0x1b8)]({'icon':_0x1c2d76,'label':_0x3d5d27(this[_0x4ce3a2(0x1a7)],_0x4ce3a2(0x1ba)),'tooltip':!0x0}),this[_0x4ce3a2(0x1af)][_0x4ce3a2(0x1cd)](_0x4ce3a2(0x1be))['to'](this,_0x4ce3a2(0x1b9),_0x171e3a=>!_0x171e3a),this[_0x4ce3a2(0x1af)]['on'](_0x4ce3a2(0x1d8),()=>{const _0xd43ab0=_0x4ce3a2;this[_0xd43ab0(0x1cf)](_0xd43ab0(0x1ae));}),this[_0x4ce3a2(0x1d3)]=new _0x3ab913(this[_0x4ce3a2(0x1a7)]),this[_0x4ce3a2(0x1d3)][_0x4ce3a2(0x1b8)]({'icon':_0x33d3b0,'label':_0x3d5d27(this[_0x4ce3a2(0x1a7)],_0x4ce3a2(0x1b4)),'tooltip':!0x0}),this[_0x4ce3a2(0x1d3)][_0x4ce3a2(0x1cd)](_0x4ce3a2(0x1be))['to'](this,_0x4ce3a2(0x1b9),_0x3fdf22=>!_0x3fdf22),this[_0x4ce3a2(0x1d3)]['on'](_0x4ce3a2(0x1d8),()=>{const _0x3478b1=_0x4ce3a2;this[_0x3478b1(0x1cf)](_0x3478b1(0x1bb));});}[_0xd394c6(0x1b7)](){const _0x87a37c=_0xd394c6;this[_0x87a37c(0x1b0)]=new _0x3ab913(this[_0x87a37c(0x1a7)]),this[_0x87a37c(0x1b0)][_0x87a37c(0x1b8)]({'icon':_0x31c722,'label':_0x3d5d27(this[_0x87a37c(0x1a7)],_0x87a37c(0x1b2)),'class':_0x87a37c(0x1a8),'tooltip':!0x0}),this[_0x87a37c(0x1b0)][_0x87a37c(0x1cd)](_0x87a37c(0x1be))['to'](this,_0x87a37c(0x1b9),_0x2aed6a=>!_0x2aed6a);const _0xf9c466=new _0x318c3b();_0xf9c466[_0x87a37c(0x1b8)]({'content':_0x42e228}),_0xf9c466[_0x87a37c(0x1a9)]({'attributes':{'class':[_0x87a37c(0x1c9)]}}),this[_0x87a37c(0x1b0)]['on'](_0x87a37c(0x1d8),()=>{const _0x2ec740=_0x87a37c;this[_0x2ec740(0x1b0)][_0x2ec740(0x1cc)]=_0x2ec740(0x1cb),setTimeout(()=>{const _0x108d49=_0x2ec740;this[_0x108d49(0x1b0)][_0x108d49(0x1cc)]=_0x108d49(0x1a8);},0x7d0);}),this[_0x87a37c(0x1b0)][_0x87a37c(0x1b5)][_0x87a37c(0x1c0)](_0xf9c466);}[_0xd394c6(0x1ca)](_0x2ad500){const _0x5c601f=_0xd394c6;this[_0x5c601f(0x1b6)]=new _0x3ab913(this[_0x5c601f(0x1a7)]),this[_0x5c601f(0x1b6)][_0x5c601f(0x1b8)]({'icon':_0x239926,'label':_0x3d5d27(this[_0x5c601f(0x1a7)],_0x5c601f(0x1a3)),'withText':_0x5c601f(0x1d1)==this[_0x5c601f(0x1c5)][_0x5c601f(0x1c4)],'tooltip':_0x5c601f(0x1d1)!=this[_0x5c601f(0x1c5)][_0x5c601f(0x1c4)],'isOn':_0x2ad500}),this[_0x5c601f(0x1b6)][_0x5c601f(0x1cd)](_0x5c601f(0x1be))['to'](this,_0x5c601f(0x1b9),_0x51dff5=>!_0x51dff5),this[_0x5c601f(0x1b6)]['on'](_0x5c601f(0x1d8),()=>{const _0x1f457e=_0x5c601f,_0x51adca=!this[_0x1f457e(0x1b6)][_0x1f457e(0x1c1)];this[_0x1f457e(0x1b6)][_0x1f457e(0x1b8)]({'isOn':_0x51adca,'icon':_0x51adca?_0x5a7b2e:_0x239926}),this[_0x1f457e(0x1cf)](_0x1f457e(0x1d6),_0x51adca);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25be2b=_0xa607;(function(_0x13c8b1,_0x1875a7){const _0x354a1f=_0xa607,_0x2adce6=_0x13c8b1();while(!![]){try{const _0x106b9b=parseInt(_0x354a1f(0x16c))/0x1+-parseInt(_0x354a1f(0x158))/0x2+parseInt(_0x354a1f(0x160))/0x3+parseInt(_0x354a1f(0x167))/0x4*(parseInt(_0x354a1f(0x171))/0x5)+-parseInt(_0x354a1f(0x161))/0x6*(-parseInt(_0x354a1f(0x154))/0x7)+-parseInt(_0x354a1f(0x166))/0x8*(parseInt(_0x354a1f(0x163))/0x9)+-parseInt(_0x354a1f(0x153))/0xa*(parseInt(_0x354a1f(0x151))/0xb);if(_0x106b9b===_0x1875a7)break;else _0x2adce6['push'](_0x2adce6['shift']());}catch(_0x24ea49){_0x2adce6['push'](_0x2adce6['shift']());}}}(_0x58c5,0x77134));import{View as _0x407d9e}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x5333d9}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4422b4}from'../../utils/eventnames.js';function _0xa607(_0x535a3f,_0x591d99){const _0x58c50d=_0x58c5();return _0xa607=function(_0xa607cb,_0x259b25){_0xa607cb=_0xa607cb-0x13c;let _0x17615b=_0x58c50d[_0xa607cb];return _0x17615b;},_0xa607(_0x535a3f,_0x591d99);}import{PromiseQueue as _0x37a807}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x5dfd3f}from'../../../aichat/ui/feed/aichatfeederroritemview.js';function _0x58c5(){const _0xf6a578=['ck-ai-suggestion__body__content-parts','_areActionsDisabled','450928XeYmJY','queueEmptyPromise','set','hasChanges','hasPendingParts','5XIcovQ','delegate','locale','some','toggleHeader','pending','getPartView','partsCount','div','get','markAsDone','ck-ai-suggestion__body','first','warning','empty-parts-warning','from','setContent','createCollection','length','_updateContentPartsPromiseQueue','hasNonEmptyParts','AI_SUGGESTION_NO_PARTS_WARNING','updateContent','209YyYXPM','setTemplate','193090GeRHfC','7FxCMhU','enqueue','AI_SUGGESTION_EMPTY_PART_WARNING','_emptyPartsWarningView','1308986GGbrJJ','add','abort','_showUnchangedParts','isVisible','index','find','partDefinition','1599870nOEXrv','3210798TGWuTi','updateContentParts','362538JbKtJN','_children','addEventListener','176pMcZzs','3503796NSPoFk','updatePartState','state'];_0x58c5=function(){return _0xf6a578;};return _0x58c5();}import{getTranslation as _0x3c7b57}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x407d9e{[_0x25be2b(0x164)];[_0x25be2b(0x16b)];[_0x25be2b(0x15b)];[_0x25be2b(0x14d)];[_0x25be2b(0x157)];constructor(_0x2b23b3,{areActionsDisabled:_0x2b9500,showUnchangedParts:_0x18523f}){const _0x468c7d=_0x25be2b;super(_0x2b23b3),this[_0x468c7d(0x16b)]=_0x2b9500,this[_0x468c7d(0x15b)]=_0x18523f,this[_0x468c7d(0x16e)](_0x468c7d(0x170),!0x1),this[_0x468c7d(0x164)]=this[_0x468c7d(0x14b)](),this[_0x468c7d(0x14d)]=new _0x37a807(),this[_0x468c7d(0x157)]=new _0x5dfd3f({'id':_0x468c7d(0x148),'initialContent':_0x3c7b57(_0x2b23b3,_0x468c7d(0x156)),'level':_0x468c7d(0x147)}),this[_0x468c7d(0x157)][_0x468c7d(0x15c)]=!0x1,this[_0x468c7d(0x152)]({'tag':_0x468c7d(0x142),'attributes':{'class':['ck',_0x468c7d(0x145)]},'children':[{'tag':_0x468c7d(0x142),'attributes':{'class':['ck',_0x468c7d(0x16a)]},'children':this[_0x468c7d(0x164)]},this[_0x468c7d(0x157)]]});}get[_0x25be2b(0x141)](){const _0x4b268c=_0x25be2b;return this[_0x4b268c(0x164)][_0x4b268c(0x14c)];}async[_0x25be2b(0x162)]({parts:_0x21ebf4,renderingStrategy:_0x22f0eb,abortSignal:_0x436d55}){const _0x55779d=_0x25be2b;for(const _0x22166d of _0x21ebf4)this[_0x55779d(0x14d)][_0x55779d(0x155)](async _0x18821f=>{const _0x4d6cd1=_0x55779d;let _0x55ea60=this[_0x4d6cd1(0x164)][_0x4d6cd1(0x15e)](_0x59fb14=>_0x59fb14[_0x4d6cd1(0x15f)][_0x4d6cd1(0x15d)]==_0x22166d[_0x4d6cd1(0x15d)]);_0x55ea60||(_0x55ea60=new _0x5333d9(this[_0x4d6cd1(0x13c)],{'part':_0x22166d,'areActionsDisabled':this[_0x4d6cd1(0x16b)]}),_0x55ea60[_0x4d6cd1(0x172)](..._0x4422b4)['to'](this),this[_0x4d6cd1(0x164)][_0x4d6cd1(0x159)](_0x55ea60),this[_0x4d6cd1(0x170)]=!0x0),0x2===this[_0x4d6cd1(0x164)][_0x4d6cd1(0x14c)]&&this[_0x4d6cd1(0x164)][_0x4d6cd1(0x146)][_0x4d6cd1(0x13e)](!0x0),_0x55ea60[_0x4d6cd1(0x13e)](this[_0x4d6cd1(0x164)][_0x4d6cd1(0x14c)]>0x1),await _0x55ea60[_0x4d6cd1(0x150)]({'part':_0x22166d,'renderingStrategy':_0x22f0eb,'showUnchangedParts':this[_0x4d6cd1(0x15b)],'abortSignal':_0x18821f});});return _0x436d55?.[_0x55779d(0x165)](_0x55779d(0x15a),()=>{const _0x31d637=_0x55779d;this[_0x31d637(0x14d)][_0x31d637(0x15a)]();}),this[_0x55779d(0x14d)][_0x55779d(0x16d)];}[_0x25be2b(0x168)](_0x20b6e0,_0xdf0fa9){const _0xf44207=_0x25be2b;this[_0xf44207(0x164)][_0xf44207(0x143)](_0x20b6e0)[_0xf44207(0x169)]=_0xdf0fa9,this[_0xf44207(0x170)]=_0xf44207(0x13f)==_0xdf0fa9||Array[_0xf44207(0x149)](this[_0xf44207(0x164)])[_0xf44207(0x13d)](_0x10dc85=>_0xf44207(0x13f)==_0x10dc85[_0xf44207(0x169)]);}[_0x25be2b(0x140)](_0x2f93b3){const _0x48d44f=_0x25be2b;return this[_0x48d44f(0x164)][_0x48d44f(0x143)](_0x2f93b3);}[_0x25be2b(0x144)](){const _0x4e59f9=_0x25be2b;if(!this[_0x4e59f9(0x15b)]){const _0x2310a4=!this[_0x4e59f9(0x164)][_0x4e59f9(0x15e)](_0x1d8a3f=>_0x1d8a3f[_0x4e59f9(0x15f)][_0x4e59f9(0x16f)]),_0x1a8276=!!this[_0x4e59f9(0x164)][_0x4e59f9(0x15e)](_0x735033=>!_0x735033[_0x4e59f9(0x15f)][_0x4e59f9(0x16f)]);this[_0x4e59f9(0x157)][_0x4e59f9(0x15c)]=0x0==this[_0x4e59f9(0x164)][_0x4e59f9(0x14c)]||_0x1a8276,_0x2310a4?this[_0x4e59f9(0x157)][_0x4e59f9(0x14a)](_0x3c7b57(this[_0x4e59f9(0x13c)],_0x4e59f9(0x14f))):this[_0x4e59f9(0x157)][_0x4e59f9(0x14a)](_0x3c7b57(this[_0x4e59f9(0x13c)],_0x4e59f9(0x156)));}}get[_0x25be2b(0x14e)](){const _0x96e48f=_0x25be2b;return!!this[_0x96e48f(0x164)][_0x96e48f(0x15e)](_0x25ec28=>_0x25ec28[_0x96e48f(0x15f)][_0x96e48f(0x16f)]);}}
23
+ function _0x23c7(_0x421fcb,_0x1b545e){const _0xee8e37=_0xee8e();return _0x23c7=function(_0x23c763,_0x4750e4){_0x23c763=_0x23c763-0x115;let _0x5cf95c=_0xee8e37[_0x23c763];return _0x5cf95c;},_0x23c7(_0x421fcb,_0x1b545e);}const _0x3e4c5d=_0x23c7;(function(_0x53d95a,_0x20dbe2){const _0xe280a2=_0x23c7,_0x487527=_0x53d95a();while(!![]){try{const _0x3ffae6=parseInt(_0xe280a2(0x125))/0x1*(parseInt(_0xe280a2(0x130))/0x2)+-parseInt(_0xe280a2(0x127))/0x3+-parseInt(_0xe280a2(0x13b))/0x4*(-parseInt(_0xe280a2(0x128))/0x5)+-parseInt(_0xe280a2(0x143))/0x6+-parseInt(_0xe280a2(0x131))/0x7+-parseInt(_0xe280a2(0x11d))/0x8+parseInt(_0xe280a2(0x12d))/0x9;if(_0x3ffae6===_0x20dbe2)break;else _0x487527['push'](_0x487527['shift']());}catch(_0x1aff2d){_0x487527['push'](_0x487527['shift']());}}}(_0xee8e,0x1fcf6));import{View as _0xe46b60}from'ckeditor5/src/ui.js';function _0xee8e(){const _0x274154=['setTemplate','length','_updateContentPartsPromiseQueue','523ZPQJEO','hasPendingParts','362391QooesO','415fHMcOP','AI_SUGGESTION_EMPTY_PART_WARNING','div','updateContentParts','_areActionsDisabled','673317CYPTtz','queueEmptyPromise','AI_SUGGESTION_NO_PARTS_WARNING','566BmqGym','346766TOjKxg','pending','ck-ai-suggestion__body','state','_children','from','toggleHeader','set','ck-ai-suggestion__body__content-parts','warning','11144DVGtYG','empty-parts-warning','_emptyPartsWarningView','partDefinition','hasChanges','addEventListener','enqueue','add','202440uOjcDb','first','getPartView','locale','updatePartState','abort','_showUnchangedParts','delegate','setContent','isVisible','index','updateContent','hasNonEmptyParts','get','createCollection','957528PEoLkB','find','markAsDone','partsCount','some'];_0xee8e=function(){return _0x274154;};return _0xee8e();}import{AISuggestionBodyViewContentPartView as _0x15346a}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x196f14}from'../../utils/eventnames.js';import{PromiseQueue as _0x39b1ed}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x565f22}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x58b9f6}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0xe46b60{[_0x3e4c5d(0x135)];[_0x3e4c5d(0x12c)];[_0x3e4c5d(0x149)];[_0x3e4c5d(0x124)];[_0x3e4c5d(0x13d)];constructor(_0x1ebdfe,{areActionsDisabled:_0x1cf552,showUnchangedParts:_0x1fd1e3}){const _0x3fec08=_0x3e4c5d;super(_0x1ebdfe),this[_0x3fec08(0x12c)]=_0x1cf552,this[_0x3fec08(0x149)]=_0x1fd1e3,this[_0x3fec08(0x138)](_0x3fec08(0x126),!0x1),this[_0x3fec08(0x135)]=this[_0x3fec08(0x11c)](),this[_0x3fec08(0x124)]=new _0x39b1ed(),this[_0x3fec08(0x13d)]=new _0x565f22({'id':_0x3fec08(0x13c),'initialContent':_0x58b9f6(_0x1ebdfe,_0x3fec08(0x129)),'level':_0x3fec08(0x13a)}),this[_0x3fec08(0x13d)][_0x3fec08(0x117)]=!0x1,this[_0x3fec08(0x122)]({'tag':_0x3fec08(0x12a),'attributes':{'class':['ck',_0x3fec08(0x133)]},'children':[{'tag':_0x3fec08(0x12a),'attributes':{'class':['ck',_0x3fec08(0x139)]},'children':this[_0x3fec08(0x135)]},this[_0x3fec08(0x13d)]]});}get[_0x3e4c5d(0x120)](){const _0x4f6c78=_0x3e4c5d;return this[_0x4f6c78(0x135)][_0x4f6c78(0x123)];}async[_0x3e4c5d(0x12b)]({parts:_0x524832,renderingStrategy:_0x5d9742,abortSignal:_0x20a4ef}){const _0x1a7b3a=_0x3e4c5d;for(const _0x313fb9 of _0x524832)this[_0x1a7b3a(0x124)][_0x1a7b3a(0x141)](async _0xe19489=>{const _0x6d0c69=_0x1a7b3a;let _0x569059=this[_0x6d0c69(0x135)][_0x6d0c69(0x11e)](_0x495637=>_0x495637[_0x6d0c69(0x13e)][_0x6d0c69(0x118)]==_0x313fb9[_0x6d0c69(0x118)]);_0x569059||(_0x569059=new _0x15346a(this[_0x6d0c69(0x146)],{'part':_0x313fb9,'areActionsDisabled':this[_0x6d0c69(0x12c)]}),_0x569059[_0x6d0c69(0x115)](..._0x196f14)['to'](this),this[_0x6d0c69(0x135)][_0x6d0c69(0x142)](_0x569059),this[_0x6d0c69(0x126)]=!0x0),0x2===this[_0x6d0c69(0x135)][_0x6d0c69(0x123)]&&this[_0x6d0c69(0x135)][_0x6d0c69(0x144)][_0x6d0c69(0x137)](!0x0),_0x569059[_0x6d0c69(0x137)](this[_0x6d0c69(0x135)][_0x6d0c69(0x123)]>0x1),await _0x569059[_0x6d0c69(0x119)]({'part':_0x313fb9,'renderingStrategy':_0x5d9742,'showUnchangedParts':this[_0x6d0c69(0x149)],'abortSignal':_0xe19489});});return _0x20a4ef?.[_0x1a7b3a(0x140)](_0x1a7b3a(0x148),()=>{const _0x5f2de0=_0x1a7b3a;this[_0x5f2de0(0x124)][_0x5f2de0(0x148)]();}),this[_0x1a7b3a(0x124)][_0x1a7b3a(0x12e)];}[_0x3e4c5d(0x147)](_0x149e6a,_0x32fb67){const _0x14c732=_0x3e4c5d;this[_0x14c732(0x135)][_0x14c732(0x11b)](_0x149e6a)[_0x14c732(0x134)]=_0x32fb67,this[_0x14c732(0x126)]=_0x14c732(0x132)==_0x32fb67||Array[_0x14c732(0x136)](this[_0x14c732(0x135)])[_0x14c732(0x121)](_0xbc88b5=>_0x14c732(0x132)==_0xbc88b5[_0x14c732(0x134)]);}[_0x3e4c5d(0x145)](_0x51a90b){const _0x3d8c6a=_0x3e4c5d;return this[_0x3d8c6a(0x135)][_0x3d8c6a(0x11b)](_0x51a90b);}[_0x3e4c5d(0x11f)](){const _0x5358c8=_0x3e4c5d;if(!this[_0x5358c8(0x149)]){const _0x331574=!this[_0x5358c8(0x135)][_0x5358c8(0x11e)](_0x589829=>_0x589829[_0x5358c8(0x13e)][_0x5358c8(0x13f)]),_0xc2f96a=!!this[_0x5358c8(0x135)][_0x5358c8(0x11e)](_0x14db30=>!_0x14db30[_0x5358c8(0x13e)][_0x5358c8(0x13f)]);this[_0x5358c8(0x13d)][_0x5358c8(0x117)]=0x0==this[_0x5358c8(0x135)][_0x5358c8(0x123)]||_0xc2f96a,_0x331574?this[_0x5358c8(0x13d)][_0x5358c8(0x116)](_0x58b9f6(this[_0x5358c8(0x146)],_0x5358c8(0x12f))):this[_0x5358c8(0x13d)][_0x5358c8(0x116)](_0x58b9f6(this[_0x5358c8(0x146)],_0x5358c8(0x129)));}}get[_0x3e4c5d(0x11a)](){const _0x48507b=_0x3e4c5d;return!!this[_0x48507b(0x135)][_0x48507b(0x11e)](_0x43121f=>_0x43121f[_0x48507b(0x13e)][_0x48507b(0x13f)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13b66c=_0x43a7;(function(_0x4128a0,_0x550f49){const _0x39eadb=_0x43a7,_0x23cc62=_0x4128a0();while(!![]){try{const _0x2ee20e=parseInt(_0x39eadb(0x1d9))/0x1*(parseInt(_0x39eadb(0x1e0))/0x2)+parseInt(_0x39eadb(0x18d))/0x3+parseInt(_0x39eadb(0x1ae))/0x4*(parseInt(_0x39eadb(0x1d8))/0x5)+-parseInt(_0x39eadb(0x1a2))/0x6*(-parseInt(_0x39eadb(0x1b8))/0x7)+parseInt(_0x39eadb(0x19f))/0x8*(parseInt(_0x39eadb(0x198))/0x9)+-parseInt(_0x39eadb(0x1c8))/0xa+parseInt(_0x39eadb(0x1aa))/0xb*(-parseInt(_0x39eadb(0x19e))/0xc);if(_0x2ee20e===_0x550f49)break;else _0x23cc62['push'](_0x23cc62['shift']());}catch(_0x3ba94f){_0x23cc62['push'](_0x23cc62['shift']());}}}(_0x183b,0x73e59));import{IconWeb as _0x460db6}from'@ckeditor/ckeditor5-icons';function _0x43a7(_0x2a5699,_0x35c88b){const _0x183b24=_0x183b();return _0x43a7=function(_0x43a780,_0x51bd69){_0x43a780=_0x43a780-0x188;let _0x2ceb94=_0x183b24[_0x43a780];return _0x2ceb94;},_0x43a7(_0x2a5699,_0x35c88b);}import{View as _0x414161,ButtonView as _0x4e5af1,IconView as _0x48d056}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x437cfb}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0xc200ae}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x297094}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x56c1ae}from'../../utils/eventnames.js';function _0x183b(){const _0x16885f=['hideError','title','AI_CHAT_IS_WRITING','add','miniToolbarView','2768055QVhfZr','1GiXxFr','bindTemplate','set','isLoading','bodyView','createCollection','removeNavigationItem','1889874mhBzhp','small','items','updateSources','hasNonEmptyParts','headerView','updateContent','2079108OmNUcT','bind','delegate','_createErrorView','img','toggleSuggestionDisplayMode','extendTemplate','isEnabled','showLoader','element','ck-ai-web-sources__header','636372WeaUHv','ck-ai-suggestion__container','isVisible','loaderView','updateContentParts','ck-ai-web-sources','1990056ogRjNA','88YsZjzR','isLoaderVisible','url','6aMCSml','errorView','open','showError','toggleShowChanges','ck-hidden','showChangesToggleView','markAsDone','121iptPXh','children','remove','ck-ai-web-source__image','4NfsYLQ','favicon','clearLoading','ck-rounded-corners','textContent','ck-ai-suggestion__loader','hideLoader','AI_CHAT_SOURCES_HEADER','fire','querySelector','117719CQMIac','div','setLoading','content','.ck-ai-suggestion__error-text','addNavigationItem','isErrorVisible','isShowChangesToggleVisible','clearErrorState','locale','map','_blank','setTemplate','icon','sourcesView','AI_CHAT_GENERIC_ERROR','6872580tDVEQs','span','areChangesVisible','ck\x20ck-ai-web-source','ck-ai-suggestion__loader-text','ck-ai-suggestion__error-text','ck-ai-suggestion__error','_createLoaderView','isOn','setErrorState','addMany'];_0x183b=function(){return _0x16885f;};return _0x183b();}import{AISpinnerView as _0x22c895}from'../aispinner.js';import{getTranslation as _0x1fd784}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x414161{[_0x13b66c(0x1dd)];[_0x13b66c(0x1d7)];[_0x13b66c(0x1ab)];[_0x13b66c(0x18b)];[_0x13b66c(0x19b)];[_0x13b66c(0x1a3)];[_0x13b66c(0x1c6)];constructor(_0x5dcbdb,{showDiff:_0xfe9c18,areActionsDisabled:_0x5bad89,miniToolbarConfig:_0x168eab,hideHeader:_0x381866,showLoader:_0x119f8a,showUnchangedParts:_0x25d58}){const _0x578b66=_0x13b66c;super(_0x5dcbdb),this[_0x578b66(0x1db)](_0x578b66(0x1ca),!0x1),this[_0x578b66(0x1db)](_0x578b66(0x1a0),!!_0x119f8a),this[_0x578b66(0x1db)](_0x578b66(0x1be),!0x1),this[_0x578b66(0x1db)](_0x578b66(0x1dc),!0x1),this[_0x578b66(0x1ab)]=this[_0x578b66(0x1de)](),_0x381866||(this[_0x578b66(0x18b)]=new _0xc200ae(_0x5dcbdb,{'showDiff':_0xfe9c18}),this[_0x578b66(0x18b)]['on'](_0x578b66(0x1a6),(_0x3826a0,_0x3d2cdb)=>{const _0x3f7735=_0x578b66;this[_0x3f7735(0x1ca)]=_0x3d2cdb[_0x3f7735(0x1d0)],this[_0x3f7735(0x1b6)](_0x3f7735(0x192),{'showDiff':_0x3d2cdb[_0x3f7735(0x1d0)]});}),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x18b)])),this[_0x578b66(0x1dd)]=new _0x297094(_0x5dcbdb,{'areActionsDisabled':_0x5bad89,'showUnchangedParts':!!_0x25d58}),this[_0x578b66(0x1dd)][_0x578b66(0x18f)](..._0x56c1ae)['to'](this),this[_0x578b66(0x1dd)][_0x578b66(0x193)]({'attributes':{'class':[this[_0x578b66(0x1da)]['if'](_0x578b66(0x1a0),_0x578b66(0x1a7)),this[_0x578b66(0x1da)]['if'](_0x578b66(0x1be),_0x578b66(0x1a7))]}}),this[_0x578b66(0x1d7)]=new _0x437cfb(_0x5dcbdb,_0x168eab,_0xfe9c18),this[_0x578b66(0x1d7)][_0x578b66(0x18f)](..._0x56c1ae)['to'](this),this[_0x578b66(0x1d7)]['on'](_0x578b66(0x1a6),(_0x47f248,_0x5e9ceb)=>{const _0x351ea9=_0x578b66;this[_0x351ea9(0x1ca)]=_0x5e9ceb,this[_0x351ea9(0x1b6)](_0x351ea9(0x192),{'showDiff':_0x5e9ceb});}),this[_0x578b66(0x1d7)][_0x578b66(0x18e)](_0x578b66(0x1dc))['to'](this),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x1dd)]),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x1d7)]),this[_0x578b66(0x1c6)]=new AIWebSourcesView(this[_0x578b66(0x1c1)]),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x1c6)]),_0x119f8a&&(this[_0x578b66(0x19b)]=this[_0x578b66(0x1cf)](),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x19b)])),this[_0x578b66(0x1a3)]=this[_0x578b66(0x190)](),this[_0x578b66(0x1ab)][_0x578b66(0x1d6)](this[_0x578b66(0x1a3)]),this[_0x578b66(0x1c4)]({'tag':_0x578b66(0x1b9),'attributes':{'class':['ck',_0x578b66(0x199),_0x578b66(0x1b1)]},'children':this[_0x578b66(0x1ab)]});}async[_0x13b66c(0x18c)](_0x2c1888){const _0x5e1ca4=_0x13b66c;await this[_0x5e1ca4(0x1dd)][_0x5e1ca4(0x19c)](_0x2c1888);}[_0x13b66c(0x189)](_0x4cf94f){const _0x3c93c9=_0x13b66c;this[_0x3c93c9(0x1c6)][_0x3c93c9(0x1ab)][_0x3c93c9(0x1d2)](_0x4cf94f[_0x3c93c9(0x1c2)](_0xcfd130=>new AIWebSourceView(this[_0x3c93c9(0x1c1)],_0xcfd130))),this[_0x3c93c9(0x1c6)][_0x3c93c9(0x19a)]=!0x0;}[_0x13b66c(0x195)](){const _0x37ce76=_0x13b66c;this[_0x37ce76(0x19b)]&&(this[_0x37ce76(0x1a0)]=!0x0);}[_0x13b66c(0x1b4)](){const _0x414a0e=_0x13b66c;this[_0x414a0e(0x19b)]&&(this[_0x414a0e(0x1a0)]=!0x1);}[_0x13b66c(0x1a5)](_0x260e19){const _0x2034e9=_0x13b66c;if(this[_0x2034e9(0x1a3)]){const _0x116035=this[_0x2034e9(0x1a3)][_0x2034e9(0x196)]?.[_0x2034e9(0x1b7)](_0x2034e9(0x1bc));_0x116035&&(_0x116035[_0x2034e9(0x1b2)]=_0x260e19),this[_0x2034e9(0x1be)]=!0x0;}}[_0x13b66c(0x1d3)](){const _0x3798a5=_0x13b66c;this[_0x3798a5(0x1a3)]&&(this[_0x3798a5(0x1be)]=!0x1);}[_0x13b66c(0x1a9)](){const _0x52f3dd=_0x13b66c;this[_0x52f3dd(0x1dd)][_0x52f3dd(0x1a9)](),this[_0x52f3dd(0x18b)]&&(this[_0x52f3dd(0x18b)][_0x52f3dd(0x1bf)]=this[_0x52f3dd(0x1dd)][_0x52f3dd(0x18a)]);}[_0x13b66c(0x1ba)](){const _0x4a5b4b=_0x13b66c;this[_0x4a5b4b(0x1dc)]=!0x0;}[_0x13b66c(0x1b0)](){const _0x6a959e=_0x13b66c;this[_0x6a959e(0x1dc)]=!0x1;}[_0x13b66c(0x1d1)](){const _0x53d664=_0x13b66c;this[_0x53d664(0x1d7)]&&(this[_0x53d664(0x1d7)][_0x53d664(0x1dc)]=!0x0),this[_0x53d664(0x18b)]?.[_0x53d664(0x1a8)]&&(this[_0x53d664(0x18b)][_0x53d664(0x1a8)][_0x53d664(0x194)]=!0x1);}[_0x13b66c(0x1c0)](){const _0x184e97=_0x13b66c;this[_0x184e97(0x1d7)]&&(this[_0x184e97(0x1d7)][_0x184e97(0x1dc)]=!0x1),this[_0x184e97(0x18b)]?.[_0x184e97(0x1a8)]&&(this[_0x184e97(0x18b)][_0x184e97(0x1a8)][_0x184e97(0x194)]=!0x0);}[_0x13b66c(0x1bd)](_0x31062c){const _0x4feb11=_0x13b66c;this[_0x4feb11(0x1d7)][_0x4feb11(0x188)][_0x4feb11(0x1d6)](_0x31062c);}[_0x13b66c(0x1df)](_0x314456){const _0x44ba46=_0x13b66c;this[_0x44ba46(0x1d7)][_0x44ba46(0x188)][_0x44ba46(0x1ac)](_0x314456);}[_0x13b66c(0x1cf)](){const _0xbf2cc4=_0x13b66c,_0x4543e0=new _0x414161(this[_0xbf2cc4(0x1c1)]),_0x4164a0=new _0x22c895(_0xbf2cc4(0x1e1));_0x4164a0[_0xbf2cc4(0x19a)]=!0x0;const _0x704ec3=new _0x414161(this[_0xbf2cc4(0x1c1)]);return _0x704ec3[_0xbf2cc4(0x1c4)]({'tag':_0xbf2cc4(0x1c9),'attributes':{'class':['ck',_0xbf2cc4(0x1cc)]},'children':[_0x1fd784(this[_0xbf2cc4(0x1c1)],_0xbf2cc4(0x1d5))]}),_0x4543e0[_0xbf2cc4(0x1c4)]({'tag':_0xbf2cc4(0x1b9),'attributes':{'class':['ck',_0xbf2cc4(0x1b3),this[_0xbf2cc4(0x1da)]['if'](_0xbf2cc4(0x1a0),_0xbf2cc4(0x1a7),_0x38a2e3=>!_0x38a2e3)]},'children':[_0x4164a0,_0x704ec3]}),_0x4543e0;}[_0x13b66c(0x190)](){const _0x389303=_0x13b66c,_0x5c9d2f=new _0x414161(this[_0x389303(0x1c1)]),_0x3e521c=new _0x414161(this[_0x389303(0x1c1)]);return _0x3e521c[_0x389303(0x1c4)]({'tag':_0x389303(0x1c9),'attributes':{'class':['ck',_0x389303(0x1cd)]},'children':[_0x1fd784(this[_0x389303(0x1c1)],_0x389303(0x1c7))]}),_0x5c9d2f[_0x389303(0x1c4)]({'tag':_0x389303(0x1b9),'attributes':{'class':['ck',_0x389303(0x1ce),this[_0x389303(0x1da)]['if'](_0x389303(0x1be),_0x389303(0x1a7),_0x1b9e73=>!_0x1b9e73)]},'children':[_0x3e521c]}),_0x5c9d2f;}}export class AIWebSourcesView extends _0x414161{[_0x13b66c(0x1ab)];constructor(_0x21cea5){const _0x4af79f=_0x13b66c;super(_0x21cea5),this[_0x4af79f(0x1ab)]=this[_0x4af79f(0x1de)](),this[_0x4af79f(0x1db)](_0x4af79f(0x19a),!0x1),this[_0x4af79f(0x1c4)]({'tag':_0x4af79f(0x1b9),'attributes':{'class':['ck',_0x4af79f(0x19d),this[_0x4af79f(0x1da)]['if'](_0x4af79f(0x19a),_0x4af79f(0x1a7),_0x2a6135=>!_0x2a6135)]},'children':this[_0x4af79f(0x1ab)]});const _0x2eaf9a=new _0x414161(this[_0x4af79f(0x1c1)]),_0x40bfc9=new _0x48d056();_0x40bfc9[_0x4af79f(0x1bb)]=_0x460db6,_0x2eaf9a[_0x4af79f(0x1c4)]({'tag':_0x4af79f(0x1b9),'attributes':{'class':['ck',_0x4af79f(0x197)]},'children':[_0x40bfc9,{'tag':_0x4af79f(0x1c9),'children':[{'text':_0x1fd784(this[_0x4af79f(0x1c1)],_0x4af79f(0x1b5))}]}]}),this[_0x4af79f(0x1ab)][_0x4af79f(0x1d6)](_0x2eaf9a);}}export class AIWebSourceView extends _0x4e5af1{constructor(_0x439195,_0x29aa13){const _0x8d4a13=_0x13b66c;super(_0x439195),this[_0x8d4a13(0x1db)]({'label':_0x29aa13[_0x8d4a13(0x1d4)],'tooltip':_0x29aa13[_0x8d4a13(0x1d4)],'class':[_0x8d4a13(0x1cb)],'withText':!0x0});const _0x50646f=this[_0x8d4a13(0x1da)];if(this[_0x8d4a13(0x193)]({'on':{'click':_0x50646f['to'](()=>{const _0x1e978d=_0x8d4a13;window[_0x1e978d(0x1a4)](_0x29aa13[_0x1e978d(0x1a1)],_0x1e978d(0x1c3));})}}),_0x29aa13[_0x8d4a13(0x1af)]){const _0x3bfed9=new _0x414161(_0x439195);_0x3bfed9[_0x8d4a13(0x1c4)]({'tag':_0x8d4a13(0x191),'attributes':{'src':_0x29aa13[_0x8d4a13(0x1af)]||_0x460db6,'alt':_0x29aa13[_0x8d4a13(0x1d4)],'class':[_0x8d4a13(0x1ad)]}}),this[_0x8d4a13(0x1ab)][_0x8d4a13(0x1d6)](_0x3bfed9);}else this[_0x8d4a13(0x1db)](_0x8d4a13(0x1c5),_0x460db6);}}
23
+ const _0x4e767d=_0x81df;(function(_0x4c913,_0x4dc5af){const _0x5c1336=_0x81df,_0x34d0d3=_0x4c913();while(!![]){try{const _0x27b183=parseInt(_0x5c1336(0x1c7))/0x1+-parseInt(_0x5c1336(0x1be))/0x2*(parseInt(_0x5c1336(0x19e))/0x3)+-parseInt(_0x5c1336(0x1db))/0x4+-parseInt(_0x5c1336(0x1f2))/0x5*(-parseInt(_0x5c1336(0x1b4))/0x6)+-parseInt(_0x5c1336(0x1c2))/0x7*(parseInt(_0x5c1336(0x1bd))/0x8)+parseInt(_0x5c1336(0x1b9))/0x9+-parseInt(_0x5c1336(0x1c6))/0xa;if(_0x27b183===_0x4dc5af)break;else _0x34d0d3['push'](_0x34d0d3['shift']());}catch(_0x5208e5){_0x34d0d3['push'](_0x34d0d3['shift']());}}}(_0x5303,0xced7e));import{IconWeb as _0x4e01a3}from'@ckeditor/ckeditor5-icons';import{View as _0x54be76,ButtonView as _0x44fbb3,IconView as _0x1ce43e}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x201b9f}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x3f8d82}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x26222a}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2ae528}from'../../utils/eventnames.js';import{AISpinnerView as _0x281244}from'../aispinner.js';import{getTranslation as _0x43ef32}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x54be76{[_0x4e767d(0x1dd)];[_0x4e767d(0x1ee)];[_0x4e767d(0x1ab)];[_0x4e767d(0x1b3)];[_0x4e767d(0x1a2)];[_0x4e767d(0x1b5)];[_0x4e767d(0x1ca)];constructor(_0x93551e,{showDiff:_0x2ec2ff,areActionsDisabled:_0x384ef4,miniToolbarConfig:_0x4c8507,hideHeader:_0x57a9e4,showLoader:_0x11374c,showUnchangedParts:_0x351a88}){const _0x1f0785=_0x4e767d;super(_0x93551e),this[_0x1f0785(0x1e7)](_0x1f0785(0x1a6),!0x1),this[_0x1f0785(0x1e7)](_0x1f0785(0x1d9),!!_0x11374c),this[_0x1f0785(0x1e7)](_0x1f0785(0x1d0),!0x1),this[_0x1f0785(0x1e7)](_0x1f0785(0x1c4),!0x1),this[_0x1f0785(0x1ab)]=this[_0x1f0785(0x1a9)](),_0x57a9e4||(this[_0x1f0785(0x1b3)]=new _0x3f8d82(_0x93551e,{'showDiff':_0x2ec2ff}),this[_0x1f0785(0x1b3)]['on'](_0x1f0785(0x1e8),(_0x481f0c,_0x4153d9)=>{const _0x311994=_0x1f0785;this[_0x311994(0x1a6)]=_0x4153d9[_0x311994(0x1e6)],this[_0x311994(0x1ce)](_0x311994(0x1b2),{'showDiff':_0x4153d9[_0x311994(0x1e6)]});}),this[_0x1f0785(0x1ab)][_0x1f0785(0x1ea)](this[_0x1f0785(0x1b3)])),this[_0x1f0785(0x1dd)]=new _0x26222a(_0x93551e,{'areActionsDisabled':_0x384ef4,'showUnchangedParts':!!_0x351a88}),this[_0x1f0785(0x1dd)][_0x1f0785(0x1c0)](..._0x2ae528)['to'](this),this[_0x1f0785(0x1dd)][_0x1f0785(0x1d2)]({'attributes':{'class':[this[_0x1f0785(0x1d5)]['if'](_0x1f0785(0x1d9),_0x1f0785(0x1a5)),this[_0x1f0785(0x1d5)]['if'](_0x1f0785(0x1d0),_0x1f0785(0x1a5))]}}),this[_0x1f0785(0x1ee)]=new _0x201b9f(_0x93551e,_0x4c8507,_0x2ec2ff),this[_0x1f0785(0x1ee)][_0x1f0785(0x1c0)](..._0x2ae528)['to'](this),this[_0x1f0785(0x1ee)]['on'](_0x1f0785(0x1e8),(_0x57baf7,_0x20be33)=>{const _0x5460b3=_0x1f0785;this[_0x5460b3(0x1a6)]=_0x20be33,this[_0x5460b3(0x1ce)](_0x5460b3(0x1b2),{'showDiff':_0x20be33});}),this[_0x1f0785(0x1ee)][_0x1f0785(0x1da)](_0x1f0785(0x1c4))['to'](this),this[_0x1f0785(0x1ab)][_0x1f0785(0x1ea)](this[_0x1f0785(0x1dd)]),this[_0x1f0785(0x1ab)][_0x1f0785(0x1ea)](this[_0x1f0785(0x1ee)]),this[_0x1f0785(0x1ca)]=new AIWebSourcesView(this[_0x1f0785(0x1ed)]),this[_0x1f0785(0x1ab)][_0x1f0785(0x1ea)](this[_0x1f0785(0x1ca)]),_0x11374c&&(this[_0x1f0785(0x1a2)]=this[_0x1f0785(0x1ad)](),this[_0x1f0785(0x1ab)][_0x1f0785(0x1ea)](this[_0x1f0785(0x1a2)])),this[_0x1f0785(0x1b5)]=this[_0x1f0785(0x1e1)](),this[_0x1f0785(0x1ab)][_0x1f0785(0x1ea)](this[_0x1f0785(0x1b5)]),this[_0x1f0785(0x1b0)]({'tag':_0x1f0785(0x1aa),'attributes':{'class':['ck',_0x1f0785(0x19b),_0x1f0785(0x1c8)]},'children':this[_0x1f0785(0x1ab)]});}async[_0x4e767d(0x1eb)](_0x3c3cdc){const _0x3305d6=_0x4e767d;await this[_0x3305d6(0x1dd)][_0x3305d6(0x1b7)](_0x3c3cdc);}[_0x4e767d(0x1cd)](_0x563cab){const _0x22eaa5=_0x4e767d;this[_0x22eaa5(0x1ca)][_0x22eaa5(0x1ab)][_0x22eaa5(0x1d4)](_0x563cab[_0x22eaa5(0x1d3)](_0x1ccd4f=>new AIWebSourceView(this[_0x22eaa5(0x1ed)],_0x1ccd4f))),this[_0x22eaa5(0x1ca)][_0x22eaa5(0x1a3)]=!0x0;}[_0x4e767d(0x1b6)](){const _0x7c45ed=_0x4e767d;this[_0x7c45ed(0x1a2)]&&(this[_0x7c45ed(0x1d9)]=!0x0);}[_0x4e767d(0x1e0)](){const _0x3a8a53=_0x4e767d;this[_0x3a8a53(0x1a2)]&&(this[_0x3a8a53(0x1d9)]=!0x1);}[_0x4e767d(0x1cb)](_0x202b94){const _0x307033=_0x4e767d;if(this[_0x307033(0x1b5)]){const _0x4ded7d=this[_0x307033(0x1b5)][_0x307033(0x1dc)]?.[_0x307033(0x1c9)](_0x307033(0x1a8));_0x4ded7d&&(_0x4ded7d[_0x307033(0x1ba)]=_0x202b94),this[_0x307033(0x1d0)]=!0x0;}}[_0x4e767d(0x1bc)](){const _0x4cd424=_0x4e767d;this[_0x4cd424(0x1b5)]&&(this[_0x4cd424(0x1d0)]=!0x1);}[_0x4e767d(0x1d7)](){const _0x4ea666=_0x4e767d;this[_0x4ea666(0x1dd)][_0x4ea666(0x1d7)](),this[_0x4ea666(0x1b3)]&&(this[_0x4ea666(0x1b3)][_0x4ea666(0x1d8)]=this[_0x4ea666(0x1dd)][_0x4ea666(0x1a0)]);}[_0x4e767d(0x1b1)](){const _0x12f752=_0x4e767d;this[_0x12f752(0x1c4)]=!0x0;}[_0x4e767d(0x19d)](){const _0x5d8cf4=_0x4e767d;this[_0x5d8cf4(0x1c4)]=!0x1;}[_0x4e767d(0x1d1)](){const _0x273549=_0x4e767d;this[_0x273549(0x1ee)]&&(this[_0x273549(0x1ee)][_0x273549(0x1c4)]=!0x0),this[_0x273549(0x1b3)]?.[_0x273549(0x1af)]&&(this[_0x273549(0x1b3)][_0x273549(0x1af)][_0x273549(0x1a4)]=!0x1);}[_0x4e767d(0x1a1)](){const _0x28dcd7=_0x4e767d;this[_0x28dcd7(0x1ee)]&&(this[_0x28dcd7(0x1ee)][_0x28dcd7(0x1c4)]=!0x1),this[_0x28dcd7(0x1b3)]?.[_0x28dcd7(0x1af)]&&(this[_0x28dcd7(0x1b3)][_0x28dcd7(0x1af)][_0x28dcd7(0x1a4)]=!0x0);}[_0x4e767d(0x1cc)](_0x3cf7df){const _0x48fc5a=_0x4e767d;this[_0x48fc5a(0x1ee)][_0x48fc5a(0x1ac)][_0x48fc5a(0x1ea)](_0x3cf7df);}[_0x4e767d(0x1f0)](_0xd4bf1b){const _0xbe2bc2=_0x4e767d;this[_0xbe2bc2(0x1ee)][_0xbe2bc2(0x1ac)][_0xbe2bc2(0x1c3)](_0xd4bf1b);}[_0x4e767d(0x1ad)](){const _0x3bf4c9=_0x4e767d,_0xb40839=new _0x54be76(this[_0x3bf4c9(0x1ed)]),_0x15250f=new _0x281244(_0x3bf4c9(0x19f));_0x15250f[_0x3bf4c9(0x1a3)]=!0x0;const _0x5eb56e=new _0x54be76(this[_0x3bf4c9(0x1ed)]);return _0x5eb56e[_0x3bf4c9(0x1b0)]({'tag':_0x3bf4c9(0x1ae),'attributes':{'class':['ck',_0x3bf4c9(0x1b8)]},'children':[_0x43ef32(this[_0x3bf4c9(0x1ed)],_0x3bf4c9(0x1e4))]}),_0xb40839[_0x3bf4c9(0x1b0)]({'tag':_0x3bf4c9(0x1aa),'attributes':{'class':['ck',_0x3bf4c9(0x1f1),this[_0x3bf4c9(0x1d5)]['if'](_0x3bf4c9(0x1d9),_0x3bf4c9(0x1a5),_0x5c541e=>!_0x5c541e)]},'children':[_0x15250f,_0x5eb56e]}),_0xb40839;}[_0x4e767d(0x1e1)](){const _0x4fc2ae=_0x4e767d,_0x20768d=new _0x54be76(this[_0x4fc2ae(0x1ed)]),_0x28d4ab=new _0x54be76(this[_0x4fc2ae(0x1ed)]);return _0x28d4ab[_0x4fc2ae(0x1b0)]({'tag':_0x4fc2ae(0x1ae),'attributes':{'class':['ck',_0x4fc2ae(0x1cf)]},'children':[_0x43ef32(this[_0x4fc2ae(0x1ed)],_0x4fc2ae(0x1df))]}),_0x20768d[_0x4fc2ae(0x1b0)]({'tag':_0x4fc2ae(0x1aa),'attributes':{'class':['ck',_0x4fc2ae(0x1e2),this[_0x4fc2ae(0x1d5)]['if'](_0x4fc2ae(0x1d0),_0x4fc2ae(0x1a5),_0x104171=>!_0x104171)]},'children':[_0x28d4ab]}),_0x20768d;}}export class AIWebSourcesView extends _0x54be76{[_0x4e767d(0x1ab)];constructor(_0x4176ee){const _0x4c7448=_0x4e767d;super(_0x4176ee),this[_0x4c7448(0x1ab)]=this[_0x4c7448(0x1a9)](),this[_0x4c7448(0x1e7)](_0x4c7448(0x1a3),!0x1),this[_0x4c7448(0x1b0)]({'tag':_0x4c7448(0x1aa),'attributes':{'class':['ck',_0x4c7448(0x1e5),this[_0x4c7448(0x1d5)]['if'](_0x4c7448(0x1a3),_0x4c7448(0x1a5),_0x1d52de=>!_0x1d52de)]},'children':this[_0x4c7448(0x1ab)]});const _0x925e94=new _0x54be76(this[_0x4c7448(0x1ed)]),_0x311ab6=new _0x1ce43e();_0x311ab6[_0x4c7448(0x1bb)]=_0x4e01a3,_0x925e94[_0x4c7448(0x1b0)]({'tag':_0x4c7448(0x1aa),'attributes':{'class':['ck',_0x4c7448(0x1a7)]},'children':[_0x311ab6,{'tag':_0x4c7448(0x1ae),'children':[{'text':_0x43ef32(this[_0x4c7448(0x1ed)],_0x4c7448(0x1d6))}]}]}),this[_0x4c7448(0x1ab)][_0x4c7448(0x1ea)](_0x925e94);}}export class AIWebSourceView extends _0x44fbb3{constructor(_0x22469d,_0x1d68ed){const _0x251b13=_0x4e767d;super(_0x22469d),this[_0x251b13(0x1e7)]({'label':_0x1d68ed[_0x251b13(0x1ec)],'tooltip':_0x1d68ed[_0x251b13(0x1ec)],'class':[_0x251b13(0x1de)],'withText':!0x0});const _0x1799fb=this[_0x251b13(0x1d5)];if(this[_0x251b13(0x1d2)]({'on':{'click':_0x1799fb['to'](()=>{const _0x153e12=_0x251b13;window[_0x153e12(0x1bf)](_0x1d68ed[_0x153e12(0x1c5)],_0x153e12(0x19c));})}}),_0x1d68ed[_0x251b13(0x1c1)]){const _0x139f1c=new _0x54be76(_0x22469d);_0x139f1c[_0x251b13(0x1b0)]({'tag':_0x251b13(0x1e9),'attributes':{'src':_0x1d68ed[_0x251b13(0x1c1)]||_0x4e01a3,'alt':_0x1d68ed[_0x251b13(0x1ec)],'class':[_0x251b13(0x1e3)]}}),this[_0x251b13(0x1ab)][_0x251b13(0x1ea)](_0x139f1c);}else this[_0x251b13(0x1e7)](_0x251b13(0x1ef),_0x4e01a3);}}function _0x81df(_0x29fe33,_0x596927){const _0x5303f7=_0x5303();return _0x81df=function(_0x81df3a,_0x515e9c){_0x81df3a=_0x81df3a-0x19b;let _0x465f47=_0x5303f7[_0x81df3a];return _0x465f47;},_0x81df(_0x29fe33,_0x596927);}function _0x5303(){const _0x5153e4=['bindTemplate','AI_CHAT_SOURCES_HEADER','markAsDone','isShowChangesToggleVisible','isLoaderVisible','bind','4730220AptjQF','element','bodyView','ck\x20ck-ai-web-source','AI_CHAT_GENERIC_ERROR','hideLoader','_createErrorView','ck-ai-suggestion__error','ck-ai-web-source__image','AI_CHAT_IS_WRITING','ck-ai-web-sources','isOn','set','toggleShowChanges','img','add','updateContent','title','locale','miniToolbarView','icon','removeNavigationItem','ck-ai-suggestion__loader','4190GdrzME','ck-ai-suggestion__container','_blank','clearLoading','1431009YmytPR','small','hasNonEmptyParts','clearErrorState','loaderView','isVisible','isEnabled','ck-hidden','areChangesVisible','ck-ai-web-sources__header','.ck-ai-suggestion__error-text','createCollection','div','children','items','_createLoaderView','span','showChangesToggleView','setTemplate','setLoading','toggleSuggestionDisplayMode','headerView','12078lUqGRR','errorView','showLoader','updateContentParts','ck-ai-suggestion__loader-text','1964844cmFAlc','textContent','content','hideError','11672lLFhSQ','2hmymDq','open','delegate','favicon','574CyvvKt','remove','isLoading','url','6304960DKxxCj','1351712ZviAbf','ck-rounded-corners','querySelector','sourcesView','showError','addNavigationItem','updateSources','fire','ck-ai-suggestion__error-text','isErrorVisible','setErrorState','extendTemplate','map','addMany'];_0x5303=function(){return _0x5153e4;};return _0x5303();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22b10a=_0x3989;function _0x3989(_0x21e123,_0x12c985){const _0xafa543=_0xafa5();return _0x3989=function(_0x3989e1,_0x57db99){_0x3989e1=_0x3989e1-0x100;let _0x572a90=_0xafa543[_0x3989e1];return _0x572a90;},_0x3989(_0x21e123,_0x12c985);}(function(_0x4ee99c,_0x56312c){const _0x5d5aad=_0x3989,_0x370411=_0x4ee99c();while(!![]){try{const _0x2ec0b3=-parseInt(_0x5d5aad(0x112))/0x1*(-parseInt(_0x5d5aad(0x122))/0x2)+-parseInt(_0x5d5aad(0x125))/0x3+parseInt(_0x5d5aad(0x138))/0x4+-parseInt(_0x5d5aad(0x10e))/0x5+-parseInt(_0x5d5aad(0x13a))/0x6+-parseInt(_0x5d5aad(0x119))/0x7+parseInt(_0x5d5aad(0x118))/0x8*(parseInt(_0x5d5aad(0x11c))/0x9);if(_0x2ec0b3===_0x56312c)break;else _0x370411['push'](_0x370411['shift']());}catch(_0x19d41f){_0x370411['push'](_0x370411['shift']());}}}(_0xafa5,0xcf1bd));import{View as _0x3c8587,IconView as _0x489b99,ToolbarView as _0x549ce9,ButtonView as _0x272479}from'ckeditor5/src/ui.js';import{IconAddComment as _0xc179be,IconDocumentWithLoupe as _0x3b5fdc,IconDocumentWithCheckmark as _0x33e787,IconDocumentWithCross as _0x2f8135,IconRemove as _0x1c4b12,IconThreeStars as _0x35df08}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x371f0f}from'../../utils/htmlstreamer.js';function _0xafa5(){const _0x420f32=['streaming','9ydwLmM','isVisible','htmlStreamer','accepted','content','outdated','56022agIjtU','contentView','ck-ai-suggestion__body__content-part__icon-rejected','2502702HnLxjK','ck-reset_all-excluded','set','stream','span','add','state','createCollection','innerHTML','AI_SUGGESTION_CONTENT_PART_REJECTED','mouseOverSuggestion','setTemplate','rejected','ck-ai-suggestion__body__content-part_active','bindTemplate','ck-ai-suggestion__body__content-part','ck-hidden','headerView','showChangeInText','1797960nimYbE','addMany','5401296uNdvUU','partDefinition','items','insertSuggestion','mouseLeaveSuggestion','ck-ai-suggestion__body__content-part__title__label','ck-ai-suggestion__body__content-part__icon-outdated','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','ck-ai-suggestion__body__content-part__title','change:state','ck-ai-suggestion__body__content-part_','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','delegate','AI_SUGGESTION_CONTENT_PART_OUTDATED','updateContent','AI_SUGGESTION_CONTENT_PART_DELETE','execute','isEnabled','rejectSuggestion','index','hasChanges','_toolbarView','ck-ai-suggestion__body__content-part__content','toggleHeader','extendTemplate','fire','element','_iconStateOutdated','toString','_iconStateRejected','div','AI_SUGGESTION_CONTENT_PART_TITLE','ck-ai-suggestion__body__content-part__icon-accepted','5954480KpPfdL','ck-ai-suggestion__body__content-part__icon-title','has','children','26DmQEPr','bind','remove','animation:\x20ck-html-streamer-fade-in\x20.5s','pending','ck-content','33638232LkhMTj','11262244PiYyzQ','_iconStateAccepted'];_0xafa5=function(){return _0x420f32;};return _0xafa5();}import{getTranslation as _0x222933}from'../../utils/common-translations.js';import{serialize as _0x5576df}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x55a77d}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x3c8587{[_0x22b10a(0x11e)];[_0x22b10a(0x111)];[_0x22b10a(0x136)];[_0x22b10a(0x123)];constructor(_0x1f9f64,{part:_0x3c0655,areActionsDisabled:_0x3ffe4d}){const _0x210c00=_0x22b10a;super(_0x1f9f64),this[_0x210c00(0x127)](_0x210c00(0x13b),_0x3c0655),this[_0x210c00(0x127)](_0x210c00(0x12b),_0x210c00(0x116)),this[_0x210c00(0x127)](_0x210c00(0x11d),!0x1),this[_0x210c00(0x113)](_0x210c00(0x14c))['to'](this,_0x210c00(0x12b),_0x1f6fac=>_0x210c00(0x116)==_0x1f6fac&&!_0x3ffe4d),this[_0x210c00(0x111)]=this[_0x210c00(0x12c)](),this[_0x210c00(0x11e)]=new _0x371f0f({'textNodeStyle':_0x210c00(0x115),'delay':0x14}),this[_0x210c00(0x136)]=new Vn(_0x1f9f64,_0x3c0655),this[_0x210c00(0x136)][_0x210c00(0x113)](_0x210c00(0x13b))['to'](this),this[_0x210c00(0x136)][_0x210c00(0x113)](_0x210c00(0x14c))['to'](this),this[_0x210c00(0x136)][_0x210c00(0x113)](_0x210c00(0x12b))['to'](this),this[_0x210c00(0x136)][_0x210c00(0x147)](..._0x55a77d)['to'](this);const _0x21e955=this[_0x210c00(0x133)];this[_0x210c00(0x123)]=new _0x3c8587(),this[_0x210c00(0x123)][_0x210c00(0x130)]({'tag':_0x210c00(0x10b),'attributes':{'class':['ck',_0x210c00(0x117),_0x210c00(0x126),_0x210c00(0x103)]}}),this[_0x210c00(0x111)][_0x210c00(0x139)]([this[_0x210c00(0x123)]]),this[_0x210c00(0x130)]({'tag':_0x210c00(0x10b),'attributes':{'class':['ck',_0x210c00(0x134),_0x21e955['to'](_0x210c00(0x12b),_0xb6ec55=>_0x210c00(0x145)+_0xb6ec55),_0x21e955['to'](_0x210c00(0x14c),_0x281081=>_0x281081?_0x210c00(0x132):void 0x0),_0x21e955['if'](_0x210c00(0x11d),_0x210c00(0x135),_0x2eccfa=>!_0x2eccfa)]},'children':this[_0x210c00(0x111)],'on':{'mouseenter':_0x21e955['to'](()=>{const _0x257e8c=_0x210c00;this[_0x257e8c(0x14c)]&&this[_0x257e8c(0x106)](_0x257e8c(0x12f),{'index':_0x3c0655[_0x257e8c(0x100)]});}),'mouseleave':_0x21e955['to'](()=>{const _0x46803c=_0x210c00;this[_0x46803c(0x14c)]&&this[_0x46803c(0x106)](_0x46803c(0x13e),{'index':_0x3c0655[_0x46803c(0x100)]});})}});}async[_0x22b10a(0x149)]({part:_0x267d3d,renderingStrategy:_0x369a5d,showUnchangedParts:_0x33b4ac=!0x1,abortSignal:_0x48b6a2}){const _0x31b2a3=_0x22b10a;this[_0x31b2a3(0x13b)]=_0x267d3d,this[_0x31b2a3(0x11d)]=this[_0x31b2a3(0x13b)][_0x31b2a3(0x101)]||_0x33b4ac,this[_0x31b2a3(0x11d)]&&(_0x31b2a3(0x11b)===_0x369a5d?await this[_0x31b2a3(0x11e)][_0x31b2a3(0x128)]({'document':this[_0x31b2a3(0x13b)][_0x31b2a3(0x120)],'targetElement':this[_0x31b2a3(0x123)][_0x31b2a3(0x107)],'abortSignal':_0x48b6a2}):this[_0x31b2a3(0x123)][_0x31b2a3(0x107)][_0x31b2a3(0x12d)]=_0x5576df(this[_0x31b2a3(0x13b)][_0x31b2a3(0x120)]));}[_0x22b10a(0x104)](_0x580f81){const _0x4aa22e=_0x22b10a;_0x580f81?this[_0x4aa22e(0x111)][_0x4aa22e(0x110)](this[_0x4aa22e(0x136)])||this[_0x4aa22e(0x111)][_0x4aa22e(0x12a)](this[_0x4aa22e(0x136)],0x0):this[_0x4aa22e(0x111)][_0x4aa22e(0x110)](this[_0x4aa22e(0x136)])&&this[_0x4aa22e(0x111)][_0x4aa22e(0x114)](this[_0x4aa22e(0x136)]);}}class Vn extends _0x3c8587{[_0x22b10a(0x111)];[_0x22b10a(0x102)];[_0x22b10a(0x11a)];[_0x22b10a(0x10a)];[_0x22b10a(0x108)];constructor(_0x2d5487,_0x24ede8){const _0x55a22f=_0x22b10a;super(_0x2d5487),this[_0x55a22f(0x127)](_0x55a22f(0x13b),_0x24ede8),this[_0x55a22f(0x127)](_0x55a22f(0x14c),!0x0),this[_0x55a22f(0x127)](_0x55a22f(0x12b),_0x55a22f(0x116));const _0x56f098=new _0x489b99();_0x56f098[_0x55a22f(0x120)]=_0x35df08,_0x56f098[_0x55a22f(0x105)]({'attributes':{'class':[_0x55a22f(0x10f)]}});const _0x3abcd3=new _0x272479(_0x2d5487);_0x3abcd3[_0x55a22f(0x127)]({'label':_0x222933(_0x2d5487,_0x55a22f(0x141)),'tooltip':!0x0,'withText':!0x1,'icon':_0x3b5fdc}),_0x3abcd3[_0x55a22f(0x113)](_0x55a22f(0x14c))['to'](this),_0x3abcd3['on'](_0x55a22f(0x14b),()=>{const _0x3759f1=_0x55a22f;this[_0x3759f1(0x106)](_0x3759f1(0x137),{'index':_0x24ede8[_0x3759f1(0x100)]});});const _0x4433da=new _0x272479(_0x2d5487);_0x4433da[_0x55a22f(0x127)]({'label':_0x222933(_0x2d5487,_0x55a22f(0x142)),'tooltip':!0x0,'withText':!0x1,'icon':_0xc179be}),_0x4433da[_0x55a22f(0x113)](_0x55a22f(0x14c))['to'](this),_0x4433da['on'](_0x55a22f(0x14b),()=>{const _0x4049b3=_0x55a22f;this[_0x4049b3(0x106)](_0x4049b3(0x13d),{'index':_0x24ede8[_0x4049b3(0x100)]});});const _0x286b0c=new _0x272479(_0x2d5487);_0x286b0c[_0x55a22f(0x127)]({'label':_0x222933(_0x2d5487,_0x55a22f(0x14a)),'tooltip':!0x0,'withText':!0x1,'icon':_0x1c4b12}),_0x286b0c['on'](_0x55a22f(0x14b),()=>{const _0x5cef43=_0x55a22f;this[_0x5cef43(0x106)](_0x5cef43(0x14d),{'index':_0x24ede8[_0x5cef43(0x100)]});}),_0x286b0c[_0x55a22f(0x113)](_0x55a22f(0x14c))['to'](this),this[_0x55a22f(0x102)]=new _0x549ce9(_0x2d5487),this[_0x55a22f(0x102)][_0x55a22f(0x13c)][_0x55a22f(0x139)]([_0x3abcd3,_0x4433da,_0x286b0c]),this[_0x55a22f(0x11a)]=new _0x489b99(),this[_0x55a22f(0x11a)][_0x55a22f(0x120)]=_0x33e787,this[_0x55a22f(0x11a)][_0x55a22f(0x105)]({'attributes':{'class':[_0x55a22f(0x10d)],'data-cke-tooltip-text':_0x222933(_0x2d5487,_0x55a22f(0x146)),'data-cke-tooltip-position':'n'}}),this[_0x55a22f(0x10a)]=new _0x489b99(),this[_0x55a22f(0x10a)][_0x55a22f(0x120)]=_0x2f8135,this[_0x55a22f(0x10a)][_0x55a22f(0x105)]({'attributes':{'class':[_0x55a22f(0x124)],'data-cke-tooltip-text':_0x222933(_0x2d5487,_0x55a22f(0x12e)),'data-cke-tooltip-position':'n'}}),this[_0x55a22f(0x108)]=new _0x489b99(),this[_0x55a22f(0x108)][_0x55a22f(0x120)]=_0x2f8135,this[_0x55a22f(0x108)][_0x55a22f(0x105)]({'attributes':{'class':[_0x55a22f(0x140)],'data-cke-tooltip-text':_0x222933(_0x2d5487,_0x55a22f(0x148)),'data-cke-tooltip-position':'n'}});const _0x10de64=new _0x3c8587(_0x2d5487);_0x10de64[_0x55a22f(0x130)]({'tag':_0x55a22f(0x129),'attributes':{'class':['ck',_0x55a22f(0x13f)]},'children':[_0x222933(_0x2d5487,_0x55a22f(0x10c),(_0x24ede8[_0x55a22f(0x100)]+0x1)[_0x55a22f(0x109)]())]}),this[_0x55a22f(0x111)]=this[_0x55a22f(0x12c)](),this[_0x55a22f(0x111)][_0x55a22f(0x139)]([_0x56f098,_0x10de64,this[_0x55a22f(0x102)]]),this[_0x55a22f(0x130)]({'tag':_0x55a22f(0x10b),'attributes':{'class':['ck',_0x55a22f(0x126),_0x55a22f(0x143)]},'children':this[_0x55a22f(0x111)]}),this['on'](_0x55a22f(0x144),(_0x5358bf,_0x35ef53,_0xd5ca90,_0xb27e58)=>{const _0x4a312a=_0x55a22f;switch(_0xb27e58){case _0x4a312a(0x116):this[_0x4a312a(0x111)][_0x4a312a(0x114)](this[_0x4a312a(0x102)]);break;case _0x4a312a(0x11f):this[_0x4a312a(0x111)][_0x4a312a(0x114)](this[_0x4a312a(0x11a)]);break;case _0x4a312a(0x131):this[_0x4a312a(0x111)][_0x4a312a(0x114)](this[_0x4a312a(0x10a)]);break;case _0x4a312a(0x121):this[_0x4a312a(0x111)][_0x4a312a(0x114)](this[_0x4a312a(0x108)]);}switch(_0xd5ca90){case _0x4a312a(0x116):this[_0x4a312a(0x111)][_0x4a312a(0x12a)](this[_0x4a312a(0x102)]);break;case _0x4a312a(0x11f):this[_0x4a312a(0x111)][_0x4a312a(0x12a)](this[_0x4a312a(0x11a)]);break;case _0x4a312a(0x131):this[_0x4a312a(0x111)][_0x4a312a(0x12a)](this[_0x4a312a(0x10a)]);break;case _0x4a312a(0x121):this[_0x4a312a(0x111)][_0x4a312a(0x12a)](this[_0x4a312a(0x108)]);}});}}
23
+ const _0xaa12b7=_0x5358;(function(_0x31bd73,_0x4061dc){const _0x9696f=_0x5358,_0x6903ce=_0x31bd73();while(!![]){try{const _0x1899cd=parseInt(_0x9696f(0x96))/0x1+parseInt(_0x9696f(0x9f))/0x2*(parseInt(_0x9696f(0xbe))/0x3)+parseInt(_0x9696f(0xd5))/0x4*(-parseInt(_0x9696f(0xc6))/0x5)+-parseInt(_0x9696f(0x9b))/0x6+parseInt(_0x9696f(0xdc))/0x7+-parseInt(_0x9696f(0xb9))/0x8+-parseInt(_0x9696f(0xcd))/0x9;if(_0x1899cd===_0x4061dc)break;else _0x6903ce['push'](_0x6903ce['shift']());}catch(_0x410548){_0x6903ce['push'](_0x6903ce['shift']());}}}(_0x3896,0x21a47));import{View as _0x30aaf5,IconView as _0x19a2de,ToolbarView as _0x344827,ButtonView as _0x49b48f}from'ckeditor5/src/ui.js';import{IconAddComment as _0x2d93b1,IconDocumentWithLoupe as _0x15b7af,IconDocumentWithCheckmark as _0x300462,IconDocumentWithCross as _0x10bbd9,IconRemove as _0x318ceb,IconThreeStars as _0x3d9fee}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x5cd8e2}from'../../utils/htmlstreamer.js';function _0x3896(){const _0x12f34f=['streaming','2wkGXIz','mouseLeaveSuggestion','extendTemplate','showChangeInText','execute','isEnabled','ck-ai-suggestion__body__content-part__title__label','mouseOverSuggestion','index','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','ck-reset_all-excluded','ck-ai-suggestion__body__content-part__icon-title','element','AI_SUGGESTION_CONTENT_PART_REJECTED','ck-ai-suggestion__body__content-part_active','items','ck-ai-suggestion__body__content-part__content','headerView','addMany','pending','animation:\x20ck-html-streamer-fade-in\x20.5s','change:state','content','bind','ck-ai-suggestion__body__content-part','ck-ai-suggestion__body__content-part__title','1973448ufbicN','add','AI_SUGGESTION_CONTENT_PART_DELETE','createCollection','has','712794ZCUMNr','insertSuggestion','rejectSuggestion','ck-ai-suggestion__body__content-part__icon-outdated','span','delegate','_toolbarView','AI_SUGGESTION_CONTENT_PART_OUTDATED','35PZpkKR','div','innerHTML','outdated','partDefinition','ck-hidden','ck-ai-suggestion__body__content-part__icon-accepted','396639JuYrlD','accepted','_iconStateOutdated','bindTemplate','toggleHeader','ck-ai-suggestion__body__content-part_','hasChanges','ck-content','54564LAcSNg','set','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','contentView','isVisible','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','AI_SUGGESTION_CONTENT_PART_TITLE','1629901UBfKTH','stream','htmlStreamer','ck-ai-suggestion__body__content-part__icon-rejected','fire','updateContent','_iconStateAccepted','remove','183821YHszJS','state','children','rejected','toString','781344KANXtL','_iconStateRejected','setTemplate'];_0x3896=function(){return _0x12f34f;};return _0x3896();}import{getTranslation as _0x537062}from'../../utils/common-translations.js';function _0x5358(_0x2a610d,_0xef2088){const _0x389647=_0x3896();return _0x5358=function(_0x535822,_0x80ff02){_0x535822=_0x535822-0x90;let _0x2febab=_0x389647[_0x535822];return _0x2febab;},_0x5358(_0x2a610d,_0xef2088);}import{serialize as _0x51dc65}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x11ad35}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x30aaf5{[_0xaa12b7(0x90)];[_0xaa12b7(0x98)];[_0xaa12b7(0xb0)];[_0xaa12b7(0xd8)];constructor(_0x2c3374,{part:_0x249ae5,areActionsDisabled:_0x293bc5}){const _0x7d627c=_0xaa12b7;super(_0x2c3374),this[_0x7d627c(0xd6)](_0x7d627c(0xca),_0x249ae5),this[_0x7d627c(0xd6)](_0x7d627c(0x97),_0x7d627c(0xb2)),this[_0x7d627c(0xd6)](_0x7d627c(0xd9),!0x1),this[_0x7d627c(0xb6)](_0x7d627c(0xa4))['to'](this,_0x7d627c(0x97),_0x3f4473=>_0x7d627c(0xb2)==_0x3f4473&&!_0x293bc5),this[_0x7d627c(0x98)]=this[_0x7d627c(0xbc)](),this[_0x7d627c(0x90)]=new _0x5cd8e2({'textNodeStyle':_0x7d627c(0xb3),'delay':0x14}),this[_0x7d627c(0xb0)]=new Vn(_0x2c3374,_0x249ae5),this[_0x7d627c(0xb0)][_0x7d627c(0xb6)](_0x7d627c(0xca))['to'](this),this[_0x7d627c(0xb0)][_0x7d627c(0xb6)](_0x7d627c(0xa4))['to'](this),this[_0x7d627c(0xb0)][_0x7d627c(0xb6)](_0x7d627c(0x97))['to'](this),this[_0x7d627c(0xb0)][_0x7d627c(0xc3)](..._0x11ad35)['to'](this);const _0x2bd16b=this[_0x7d627c(0xd0)];this[_0x7d627c(0xd8)]=new _0x30aaf5(),this[_0x7d627c(0xd8)][_0x7d627c(0x9d)]({'tag':_0x7d627c(0xc7),'attributes':{'class':['ck',_0x7d627c(0xd4),_0x7d627c(0xa9),_0x7d627c(0xaf)]}}),this[_0x7d627c(0x98)][_0x7d627c(0xb1)]([this[_0x7d627c(0xd8)]]),this[_0x7d627c(0x9d)]({'tag':_0x7d627c(0xc7),'attributes':{'class':['ck',_0x7d627c(0xb7),_0x2bd16b['to'](_0x7d627c(0x97),_0x3254cc=>_0x7d627c(0xd2)+_0x3254cc),_0x2bd16b['to'](_0x7d627c(0xa4),_0x5c9389=>_0x5c9389?_0x7d627c(0xad):void 0x0),_0x2bd16b['if'](_0x7d627c(0xd9),_0x7d627c(0xcb),_0xbd94e4=>!_0xbd94e4)]},'children':this[_0x7d627c(0x98)],'on':{'mouseenter':_0x2bd16b['to'](()=>{const _0x165b91=_0x7d627c;this[_0x165b91(0xa4)]&&this[_0x165b91(0x92)](_0x165b91(0xa6),{'index':_0x249ae5[_0x165b91(0xa7)]});}),'mouseleave':_0x2bd16b['to'](()=>{const _0x155fdc=_0x7d627c;this[_0x155fdc(0xa4)]&&this[_0x155fdc(0x92)](_0x155fdc(0xa0),{'index':_0x249ae5[_0x155fdc(0xa7)]});})}});}async[_0xaa12b7(0x93)]({part:_0xcb7655,renderingStrategy:_0x529d51,showUnchangedParts:_0x41bf7b=!0x1,abortSignal:_0x46683a}){const _0x518be7=_0xaa12b7;this[_0x518be7(0xca)]=_0xcb7655,this[_0x518be7(0xd9)]=this[_0x518be7(0xca)][_0x518be7(0xd3)]||_0x41bf7b,this[_0x518be7(0xd9)]&&(_0x518be7(0x9e)===_0x529d51?await this[_0x518be7(0x90)][_0x518be7(0xdd)]({'document':this[_0x518be7(0xca)][_0x518be7(0xb5)],'targetElement':this[_0x518be7(0xd8)][_0x518be7(0xab)],'abortSignal':_0x46683a}):this[_0x518be7(0xd8)][_0x518be7(0xab)][_0x518be7(0xc8)]=_0x51dc65(this[_0x518be7(0xca)][_0x518be7(0xb5)]));}[_0xaa12b7(0xd1)](_0x36236e){const _0x558922=_0xaa12b7;_0x36236e?this[_0x558922(0x98)][_0x558922(0xbd)](this[_0x558922(0xb0)])||this[_0x558922(0x98)][_0x558922(0xba)](this[_0x558922(0xb0)],0x0):this[_0x558922(0x98)][_0x558922(0xbd)](this[_0x558922(0xb0)])&&this[_0x558922(0x98)][_0x558922(0x95)](this[_0x558922(0xb0)]);}}class Vn extends _0x30aaf5{[_0xaa12b7(0x98)];[_0xaa12b7(0xc4)];[_0xaa12b7(0x94)];[_0xaa12b7(0x9c)];[_0xaa12b7(0xcf)];constructor(_0x1d1752,_0x5c4ab9){const _0xd357dd=_0xaa12b7;super(_0x1d1752),this[_0xd357dd(0xd6)](_0xd357dd(0xca),_0x5c4ab9),this[_0xd357dd(0xd6)](_0xd357dd(0xa4),!0x0),this[_0xd357dd(0xd6)](_0xd357dd(0x97),_0xd357dd(0xb2));const _0x5ddb0b=new _0x19a2de();_0x5ddb0b[_0xd357dd(0xb5)]=_0x3d9fee,_0x5ddb0b[_0xd357dd(0xa1)]({'attributes':{'class':[_0xd357dd(0xaa)]}});const _0x147c75=new _0x49b48f(_0x1d1752);_0x147c75[_0xd357dd(0xd6)]({'label':_0x537062(_0x1d1752,_0xd357dd(0xda)),'tooltip':!0x0,'withText':!0x1,'icon':_0x15b7af}),_0x147c75[_0xd357dd(0xb6)](_0xd357dd(0xa4))['to'](this),_0x147c75['on'](_0xd357dd(0xa3),()=>{const _0x32d4e6=_0xd357dd;this[_0x32d4e6(0x92)](_0x32d4e6(0xa2),{'index':_0x5c4ab9[_0x32d4e6(0xa7)]});});const _0x52e029=new _0x49b48f(_0x1d1752);_0x52e029[_0xd357dd(0xd6)]({'label':_0x537062(_0x1d1752,_0xd357dd(0xd7)),'tooltip':!0x0,'withText':!0x1,'icon':_0x2d93b1}),_0x52e029[_0xd357dd(0xb6)](_0xd357dd(0xa4))['to'](this),_0x52e029['on'](_0xd357dd(0xa3),()=>{const _0x1508f6=_0xd357dd;this[_0x1508f6(0x92)](_0x1508f6(0xbf),{'index':_0x5c4ab9[_0x1508f6(0xa7)]});});const _0x1a3c11=new _0x49b48f(_0x1d1752);_0x1a3c11[_0xd357dd(0xd6)]({'label':_0x537062(_0x1d1752,_0xd357dd(0xbb)),'tooltip':!0x0,'withText':!0x1,'icon':_0x318ceb}),_0x1a3c11['on'](_0xd357dd(0xa3),()=>{const _0x72c922=_0xd357dd;this[_0x72c922(0x92)](_0x72c922(0xc0),{'index':_0x5c4ab9[_0x72c922(0xa7)]});}),_0x1a3c11[_0xd357dd(0xb6)](_0xd357dd(0xa4))['to'](this),this[_0xd357dd(0xc4)]=new _0x344827(_0x1d1752),this[_0xd357dd(0xc4)][_0xd357dd(0xae)][_0xd357dd(0xb1)]([_0x147c75,_0x52e029,_0x1a3c11]),this[_0xd357dd(0x94)]=new _0x19a2de(),this[_0xd357dd(0x94)][_0xd357dd(0xb5)]=_0x300462,this[_0xd357dd(0x94)][_0xd357dd(0xa1)]({'attributes':{'class':[_0xd357dd(0xcc)],'data-cke-tooltip-text':_0x537062(_0x1d1752,_0xd357dd(0xa8)),'data-cke-tooltip-position':'n'}}),this[_0xd357dd(0x9c)]=new _0x19a2de(),this[_0xd357dd(0x9c)][_0xd357dd(0xb5)]=_0x10bbd9,this[_0xd357dd(0x9c)][_0xd357dd(0xa1)]({'attributes':{'class':[_0xd357dd(0x91)],'data-cke-tooltip-text':_0x537062(_0x1d1752,_0xd357dd(0xac)),'data-cke-tooltip-position':'n'}}),this[_0xd357dd(0xcf)]=new _0x19a2de(),this[_0xd357dd(0xcf)][_0xd357dd(0xb5)]=_0x10bbd9,this[_0xd357dd(0xcf)][_0xd357dd(0xa1)]({'attributes':{'class':[_0xd357dd(0xc1)],'data-cke-tooltip-text':_0x537062(_0x1d1752,_0xd357dd(0xc5)),'data-cke-tooltip-position':'n'}});const _0x2a9d78=new _0x30aaf5(_0x1d1752);_0x2a9d78[_0xd357dd(0x9d)]({'tag':_0xd357dd(0xc2),'attributes':{'class':['ck',_0xd357dd(0xa5)]},'children':[_0x537062(_0x1d1752,_0xd357dd(0xdb),(_0x5c4ab9[_0xd357dd(0xa7)]+0x1)[_0xd357dd(0x9a)]())]}),this[_0xd357dd(0x98)]=this[_0xd357dd(0xbc)](),this[_0xd357dd(0x98)][_0xd357dd(0xb1)]([_0x5ddb0b,_0x2a9d78,this[_0xd357dd(0xc4)]]),this[_0xd357dd(0x9d)]({'tag':_0xd357dd(0xc7),'attributes':{'class':['ck',_0xd357dd(0xa9),_0xd357dd(0xb8)]},'children':this[_0xd357dd(0x98)]}),this['on'](_0xd357dd(0xb4),(_0x43dd8d,_0x3603ff,_0x54b3c1,_0x70c1c)=>{const _0xfbac75=_0xd357dd;switch(_0x70c1c){case _0xfbac75(0xb2):this[_0xfbac75(0x98)][_0xfbac75(0x95)](this[_0xfbac75(0xc4)]);break;case _0xfbac75(0xce):this[_0xfbac75(0x98)][_0xfbac75(0x95)](this[_0xfbac75(0x94)]);break;case _0xfbac75(0x99):this[_0xfbac75(0x98)][_0xfbac75(0x95)](this[_0xfbac75(0x9c)]);break;case _0xfbac75(0xc9):this[_0xfbac75(0x98)][_0xfbac75(0x95)](this[_0xfbac75(0xcf)]);}switch(_0x54b3c1){case _0xfbac75(0xb2):this[_0xfbac75(0x98)][_0xfbac75(0xba)](this[_0xfbac75(0xc4)]);break;case _0xfbac75(0xce):this[_0xfbac75(0x98)][_0xfbac75(0xba)](this[_0xfbac75(0x94)]);break;case _0xfbac75(0x99):this[_0xfbac75(0x98)][_0xfbac75(0xba)](this[_0xfbac75(0x9c)]);break;case _0xfbac75(0xc9):this[_0xfbac75(0x98)][_0xfbac75(0xba)](this[_0xfbac75(0xcf)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb45e58=_0x549e;(function(_0xf5105,_0x1dea2a){const _0x52aa61=_0x549e,_0x562768=_0xf5105();while(!![]){try{const _0x37543e=-parseInt(_0x52aa61(0x1b7))/0x1+-parseInt(_0x52aa61(0x1b8))/0x2+parseInt(_0x52aa61(0x1c8))/0x3*(-parseInt(_0x52aa61(0x1c5))/0x4)+-parseInt(_0x52aa61(0x1cf))/0x5+-parseInt(_0x52aa61(0x1b4))/0x6*(-parseInt(_0x52aa61(0x1d3))/0x7)+parseInt(_0x52aa61(0x1b2))/0x8+parseInt(_0x52aa61(0x1be))/0x9;if(_0x37543e===_0x1dea2a)break;else _0x562768['push'](_0x562768['shift']());}catch(_0x7fb182){_0x562768['push'](_0x562768['shift']());}}}(_0x30d9,0x8b8c6));import{getTranslation as _0x5d72e5}from'../../utils/common-translations.js';import{ButtonView as _0x1bb466,IconView as _0x4c83aa,View as _0x3d934e}from'ckeditor5/src/ui.js';import{IconDocument as _0xd03564,IconShowChangesOff as _0x5bd935,IconShowChangesOn as _0x1f9bc6}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x3d934e{[_0xb45e58(0x1cd)];constructor(_0xd1b3c3,_0x2ce5ef){const _0x307106=_0xb45e58;super(_0xd1b3c3),this[_0x307106(0x1ba)](_0x307106(0x1b1),!0x0),this[_0x307106(0x1cd)]=new ShowChangesToggleView(_0xd1b3c3),this[_0x307106(0x1cd)][_0x307106(0x1ba)]({'class':_0x307106(0x1ca),'label':_0x5d72e5(_0xd1b3c3,_0x307106(0x1c0)),'withText':!0x0}),this[_0x307106(0x1cd)][_0x307106(0x1bc)]=_0x2ce5ef[_0x307106(0x1c9)],this[_0x307106(0x1cd)][_0x307106(0x1c4)](_0x307106(0x1c6))['to'](this,_0x307106(0x1b1)),this[_0x307106(0x1cd)][_0x307106(0x1c4)](_0x307106(0x1cb))['to'](this[_0x307106(0x1cd)],_0x307106(0x1bc),_0x2ce3fe=>_0x2ce3fe?_0x1f9bc6:_0x5bd935),this[_0x307106(0x1cd)]['on'](_0x307106(0x1b5),()=>{const _0x5395d1=_0x307106;this[_0x5395d1(0x1cd)][_0x5395d1(0x1bc)]=!this[_0x5395d1(0x1cd)][_0x5395d1(0x1bc)],this[_0x5395d1(0x1c7)](_0x5395d1(0x1d0),{'isOn':this[_0x5395d1(0x1cd)][_0x5395d1(0x1bc)]});});const _0x2d5748=new _0x4c83aa();_0x2d5748[_0x307106(0x1cc)]=_0xd03564,this[_0x307106(0x1bb)]({'tag':_0x307106(0x1c1),'attributes':{'class':['ck',_0x307106(0x1bf),!0x1===_0x2ce5ef[_0x307106(0x1d1)]?_0x307106(0x1b9):null][_0x307106(0x1bd)](Boolean)},'children':[_0x2d5748,{'tag':_0x307106(0x1d2),'children':[_0x5d72e5(_0xd1b3c3,_0x307106(0x1c3))]},this[_0x307106(0x1cd)]]});}}function _0x30d9(){const _0x198be6=['ck-ai-suggestion__header','AI_SUGGESTION_BUTTON_SHOW_CHANGES','div','iconView','AI_SUGGESTION_HEADER_TITLE','bind','16316rvJEUJ','isVisible','fire','738qBorXy','showDiff','ck-ai-suggestion__header__show-changes-toggle','icon','content','showChangesToggleView','remove','3658990KSdbZB','toggleShowChanges','showHeader','span','7PEPxIO','render','isShowChangesToggleVisible','4061600JacmFQ','children','167604dKEfii','execute','add','613292gNIVis','138876VgqweF','ck-hidden','set','setTemplate','isOn','filter','22085262hUcAEe'];_0x30d9=function(){return _0x198be6;};return _0x30d9();}function _0x549e(_0x5bd8ee,_0x150635){const _0x30d9f6=_0x30d9();return _0x549e=function(_0x549ede,_0x2e2971){_0x549ede=_0x549ede-0x1b1;let _0xf0b19f=_0x30d9f6[_0x549ede];return _0xf0b19f;},_0x549e(_0x5bd8ee,_0x150635);}export class ShowChangesToggleView extends _0x1bb466{[_0xb45e58(0x1d4)](){const _0x23c185=_0xb45e58;super[_0x23c185(0x1d4)](),this[_0x23c185(0x1b3)][_0x23c185(0x1ce)](this[_0x23c185(0x1c2)]),this[_0x23c185(0x1b3)][_0x23c185(0x1b6)](this[_0x23c185(0x1c2)]);}}
23
+ function _0x5ed3(){const _0x56f0c1=['AI_SUGGESTION_HEADER_TITLE','7273LOMRbw','fire','setTemplate','iconView','3707730NSdLBi','6kqkfPu','div','content','add','remove','icon','13960650VxlSeN','render','showHeader','274257qjtSTm','toggleShowChanges','showDiff','ck-ai-suggestion__header','span','isVisible','isOn','ck-hidden','4fcZZoQ','isShowChangesToggleVisible','777067WmWorj','filter','bind','1662BUmtkh','3204248zKHODQ','2013100KbKwcS','ck-ai-suggestion__header__show-changes-toggle','children','showChangesToggleView','AI_SUGGESTION_BUTTON_SHOW_CHANGES','execute','set'];_0x5ed3=function(){return _0x56f0c1;};return _0x5ed3();}const _0x2cce2e=_0x377f;(function(_0x575a85,_0x595358){const _0x4f1d02=_0x377f,_0x292d2a=_0x575a85();while(!![]){try{const _0x397f91=parseInt(_0x4f1d02(0xdb))/0x1+-parseInt(_0x4f1d02(0xc8))/0x2*(parseInt(_0x4f1d02(0xd1))/0x3)+parseInt(_0x4f1d02(0xd9))/0x4*(-parseInt(_0x4f1d02(0xe0))/0x5)+-parseInt(_0x4f1d02(0xde))/0x6*(parseInt(_0x4f1d02(0xe8))/0x7)+-parseInt(_0x4f1d02(0xdf))/0x8+-parseInt(_0x4f1d02(0xc7))/0x9+parseInt(_0x4f1d02(0xce))/0xa;if(_0x397f91===_0x595358)break;else _0x292d2a['push'](_0x292d2a['shift']());}catch(_0x4cdbf5){_0x292d2a['push'](_0x292d2a['shift']());}}}(_0x5ed3,0x60aaf));import{getTranslation as _0x385711}from'../../utils/common-translations.js';function _0x377f(_0x2108a2,_0x493fce){const _0x5ed34d=_0x5ed3();return _0x377f=function(_0x377f98,_0x572bf5){_0x377f98=_0x377f98-0xc4;let _0x1035cf=_0x5ed34d[_0x377f98];return _0x1035cf;},_0x377f(_0x2108a2,_0x493fce);}import{ButtonView as _0x205c11,IconView as _0x10314c,View as _0x314c9b}from'ckeditor5/src/ui.js';import{IconDocument as _0x4b6c83,IconShowChangesOff as _0x2c1403,IconShowChangesOn as _0x23af19}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x314c9b{[_0x2cce2e(0xe3)];constructor(_0x281aa6,_0xbb262){const _0x32db94=_0x2cce2e;super(_0x281aa6),this[_0x32db94(0xe6)](_0x32db94(0xda),!0x0),this[_0x32db94(0xe3)]=new ShowChangesToggleView(_0x281aa6),this[_0x32db94(0xe3)][_0x32db94(0xe6)]({'class':_0x32db94(0xe1),'label':_0x385711(_0x281aa6,_0x32db94(0xe4)),'withText':!0x0}),this[_0x32db94(0xe3)][_0x32db94(0xd7)]=_0xbb262[_0x32db94(0xd3)],this[_0x32db94(0xe3)][_0x32db94(0xdd)](_0x32db94(0xd6))['to'](this,_0x32db94(0xda)),this[_0x32db94(0xe3)][_0x32db94(0xdd)](_0x32db94(0xcd))['to'](this[_0x32db94(0xe3)],_0x32db94(0xd7),_0x4711dc=>_0x4711dc?_0x23af19:_0x2c1403),this[_0x32db94(0xe3)]['on'](_0x32db94(0xe5),()=>{const _0x229e4e=_0x32db94;this[_0x229e4e(0xe3)][_0x229e4e(0xd7)]=!this[_0x229e4e(0xe3)][_0x229e4e(0xd7)],this[_0x229e4e(0xc4)](_0x229e4e(0xd2),{'isOn':this[_0x229e4e(0xe3)][_0x229e4e(0xd7)]});});const _0x1e0a97=new _0x10314c();_0x1e0a97[_0x32db94(0xca)]=_0x4b6c83,this[_0x32db94(0xc5)]({'tag':_0x32db94(0xc9),'attributes':{'class':['ck',_0x32db94(0xd4),!0x1===_0xbb262[_0x32db94(0xd0)]?_0x32db94(0xd8):null][_0x32db94(0xdc)](Boolean)},'children':[_0x1e0a97,{'tag':_0x32db94(0xd5),'children':[_0x385711(_0x281aa6,_0x32db94(0xe7))]},this[_0x32db94(0xe3)]]});}}export class ShowChangesToggleView extends _0x205c11{[_0x2cce2e(0xcf)](){const _0x4b75b9=_0x2cce2e;super[_0x4b75b9(0xcf)](),this[_0x4b75b9(0xe2)][_0x4b75b9(0xcc)](this[_0x4b75b9(0xc6)]),this[_0x4b75b9(0xe2)][_0x4b75b9(0xcb)](this[_0x4b75b9(0xc6)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x511e19,_0x12b9ec){const _0x2c6aae=_0x1879,_0x52159a=_0x511e19();while(!![]){try{const _0xb534b4=-parseInt(_0x2c6aae(0x8c))/0x1+parseInt(_0x2c6aae(0x86))/0x2+parseInt(_0x2c6aae(0x85))/0x3+-parseInt(_0x2c6aae(0x8b))/0x4+-parseInt(_0x2c6aae(0x83))/0x5+parseInt(_0x2c6aae(0x89))/0x6+-parseInt(_0x2c6aae(0x8d))/0x7*(-parseInt(_0x2c6aae(0x95))/0x8);if(_0xb534b4===_0x12b9ec)break;else _0x52159a['push'](_0x52159a['shift']());}catch(_0x11e2cf){_0x52159a['push'](_0x52159a['shift']());}}}(_0x2eea,0x6b26e));import{ButtonView as _0x314740}from'ckeditor5/src/ui.js';import{IconMaximize as _0x21edbc,IconMinimize as _0x36ca95}from'ckeditor5/src/icons.js';function _0x2eea(){const _0x3d4fce=['bind','execute','1886190iZPhfU','isOn','726744xGrySM','803365wQnqOS','49gwOfBg','set','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','AI_TABS_LABEL_MINIMIZE','resizeTabs','AI_TABS_LABEL_MAXIMIZE','fire','label','1117304TlwHdt','icon','4720uCDGjX','isMaximized','322227xLDVla','50948TaYehy'];_0x2eea=function(){return _0x3d4fce;};return _0x2eea();}import{getTranslation as _0x5c595d}from'../../aicore/utils/common-translations.js';function _0x1879(_0x161639,_0x403035){const _0x2eea8d=_0x2eea();return _0x1879=function(_0x18793d,_0x57e1d4){_0x18793d=_0x18793d-0x82;let _0x37e958=_0x2eea8d[_0x18793d];return _0x37e958;},_0x1879(_0x161639,_0x403035);}export function createResizeButton(_0x1857a7,_0x303453){const _0x505301=_0x1879,_0x41afe8=new _0x314740(_0x1857a7),_0x4c5051=_0x5c595d(_0x1857a7,_0x505301(0x90)),_0x109c93=_0x5c595d(_0x1857a7,_0x505301(0x92));return _0x41afe8[_0x505301(0x8e)]({'withText':!0x1,'icon':_0x21edbc,'tooltip':!0x0,'class':_0x505301(0x8f)}),_0x41afe8[_0x505301(0x87)](_0x505301(0x94))['to'](_0x303453,_0x505301(0x84),_0x4512b8=>_0x4512b8?_0x4c5051:_0x109c93),_0x41afe8[_0x505301(0x87)](_0x505301(0x82))['to'](_0x303453,_0x505301(0x84),_0x3aa394=>_0x3aa394?_0x36ca95:_0x21edbc),_0x41afe8[_0x505301(0x87)](_0x505301(0x8a))['to'](_0x303453,_0x505301(0x84)),_0x41afe8['on'](_0x505301(0x88),()=>{const _0x2a1af3=_0x505301;_0x303453[_0x2a1af3(0x93)](_0x2a1af3(0x91));}),_0x41afe8;}
23
+ function _0x5d04(_0x3f65a9,_0x5c60dc){const _0x48ca8a=_0x48ca();return _0x5d04=function(_0x5d04d8,_0x5f74f8){_0x5d04d8=_0x5d04d8-0x67;let _0x192882=_0x48ca8a[_0x5d04d8];return _0x192882;},_0x5d04(_0x3f65a9,_0x5c60dc);}(function(_0x448860,_0x36eab1){const _0x5963c8=_0x5d04,_0x1f3a0c=_0x448860();while(!![]){try{const _0x4e9281=-parseInt(_0x5963c8(0x75))/0x1*(parseInt(_0x5963c8(0x7c))/0x2)+parseInt(_0x5963c8(0x72))/0x3+-parseInt(_0x5963c8(0x6f))/0x4+parseInt(_0x5963c8(0x70))/0x5+-parseInt(_0x5963c8(0x69))/0x6*(parseInt(_0x5963c8(0x78))/0x7)+-parseInt(_0x5963c8(0x7d))/0x8*(parseInt(_0x5963c8(0x67))/0x9)+parseInt(_0x5963c8(0x74))/0xa*(parseInt(_0x5963c8(0x6b))/0xb);if(_0x4e9281===_0x36eab1)break;else _0x1f3a0c['push'](_0x1f3a0c['shift']());}catch(_0x430a1f){_0x1f3a0c['push'](_0x1f3a0c['shift']());}}}(_0x48ca,0x33759));import{ButtonView as _0x347aa1}from'ckeditor5/src/ui.js';import{IconMaximize as _0x4f0c7c,IconMinimize as _0x510353}from'ckeditor5/src/icons.js';import{getTranslation as _0x2a9d07}from'../../aicore/utils/common-translations.js';function _0x48ca(){const _0x3bef99=['257582FLhWgy','8oTTlBH','1648386rXmjll','bind','18rllqQa','AI_TABS_LABEL_MAXIMIZE','11dFHetl','fire','icon','resizeTabs','44904kYhGcJ','531860rlNWGx','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','526737OxVeeD','set','4688830HXzzrc','2CFSPVl','execute','isOn','205555GjYTqp','AI_TABS_LABEL_MINIMIZE','isMaximized','label'];_0x48ca=function(){return _0x3bef99;};return _0x48ca();}export function createResizeButton(_0x436c99,_0x64fd45){const _0x487e75=_0x5d04,_0xe0ceb0=new _0x347aa1(_0x436c99),_0x1acac8=_0x2a9d07(_0x436c99,_0x487e75(0x79)),_0x3b25b5=_0x2a9d07(_0x436c99,_0x487e75(0x6a));return _0xe0ceb0[_0x487e75(0x73)]({'withText':!0x1,'icon':_0x4f0c7c,'tooltip':!0x0,'class':_0x487e75(0x71)}),_0xe0ceb0[_0x487e75(0x68)](_0x487e75(0x7b))['to'](_0x64fd45,_0x487e75(0x7a),_0x1057a8=>_0x1057a8?_0x1acac8:_0x3b25b5),_0xe0ceb0[_0x487e75(0x68)](_0x487e75(0x6d))['to'](_0x64fd45,_0x487e75(0x7a),_0x20c93e=>_0x20c93e?_0x510353:_0x4f0c7c),_0xe0ceb0[_0x487e75(0x68)](_0x487e75(0x77))['to'](_0x64fd45,_0x487e75(0x7a)),_0xe0ceb0['on'](_0x487e75(0x76),()=>{const _0x3f7e9f=_0x487e75;_0x64fd45[_0x3f7e9f(0x6c)](_0x3f7e9f(0x6e));}),_0xe0ceb0;}