@ckeditor/ckeditor5-ai 47.0.0-alpha.9 → 47.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) 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/legacyerrors.js +1 -1
  15. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  16. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  17. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  20. package/src/aiassistant/ui/form/aiformview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  22. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  58. package/src/aichat/utils/eventnames.js +1 -1
  59. package/src/aichat/utils/promisequeue.js +1 -1
  60. package/src/aichat/utils/scrollmanager.js +1 -1
  61. package/src/aichathistory/aichathistory.js +1 -1
  62. package/src/aichathistory/aichathistorycontroller.js +1 -1
  63. package/src/aichathistory/aichathistoryui.js +1 -1
  64. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  65. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  66. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  67. package/src/aichathistory/ui/aichathistorylistview.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/aispinner.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  84. package/src/aicore/utils/createresizebutton.js +1 -1
  85. package/src/aicore/utils/documentposition.js +1 -1
  86. package/src/aicore/utils/documentrange.js +1 -1
  87. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  88. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  89. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  90. package/src/aicore/utils/htmlparser.js +1 -1
  91. package/src/aicore/utils/htmlstreamer.js +1 -1
  92. package/src/aieditorintegration/aieditorintegration.js +1 -1
  93. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  94. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  95. package/src/aiquickactions/aiquickactions.js +1 -1
  96. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  97. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  98. package/src/aiquickactions/aiquickactionsui.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  102. package/src/aireviewmode/aireviewmode.js +1 -1
  103. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  104. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  105. package/src/aireviewmode/aireviewmodeui.js +1 -1
  106. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  107. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  110. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  119. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  120. package/src/aitabs/aitabs.js +1 -1
  121. package/src/aitabs/tabs/aitabsview.js +1 -1
  122. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  123. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1536fb=_0x5adf;(function(_0x25976a,_0x576394){const _0x129106=_0x5adf,_0x5c4d2a=_0x25976a();while(!![]){try{const _0x437630=-parseInt(_0x129106(0x1ee))/0x1+parseInt(_0x129106(0x20e))/0x2+parseInt(_0x129106(0x1ea))/0x3+-parseInt(_0x129106(0x203))/0x4*(-parseInt(_0x129106(0x21a))/0x5)+-parseInt(_0x129106(0x1f7))/0x6+parseInt(_0x129106(0x208))/0x7+parseInt(_0x129106(0x20a))/0x8;if(_0x437630===_0x576394)break;else _0x5c4d2a['push'](_0x5c4d2a['shift']());}catch(_0x4cd03d){_0x5c4d2a['push'](_0x5c4d2a['shift']());}}}(_0x328c,0x60d46));import{ButtonView as _0x57b835,IconView as _0x39f197,ToolbarView as _0x472205}from'ckeditor5/src/ui.js';function _0x5adf(_0x5c99a7,_0x27629b){const _0x328cbb=_0x328c();return _0x5adf=function(_0x5adf89,_0x26dc74){_0x5adf89=_0x5adf89-0x1ea;let _0x102a1f=_0x328cbb[_0x5adf89];return _0x102a1f;},_0x5adf(_0x5c99a7,_0x27629b);}import{IconCheck as _0x5b15d6,IconCopy as _0x266318,IconShowChangesOff as _0x47aeb0,IconShowChangesOn as _0x4f1ecc,IconThumbDown as _0x47b536,IconThumbUp as _0x4f93c3}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x25acc2}from'../../utils/common-translations.js';function _0x328c(){const _0x9b0a98=['showChanges','toggleShowChanges','set','AI_MINI_TOOLBAR_DISLIKE','showDislike','isOn','addMany','dislike','AI_SUGGESTION_BUTTON_SHOW_CHANGES','copyButton','items','15NPySQO','1520661XxWjbf','customView','_setupShowChangesButton','showLike','542966qXeTYg','isEnabled','ck-ai-mini-toolbar\x20ck-hidden','full','fire','_setupRatingButtons','ck-ai-mini-toolbar-copy-button','extendTemplate','class','1328934HXkzWX','dislikeButton','length','bind','isLoading','ck-ai-mini-toolbar','execute','locale','showChangesButton','ck-ai-mini-toolbar-copy-button__check-mark','AI_MINI_TOOLBAR_COPY','_setupCopyButton','71312RzELZG','_config','showCopy','like','AI_MINI_TOOLBAR_LIKE','2122498hLEWUS','likeButton','18944GzQRHU','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','children','add','590232jBRWXq'];_0x328c=function(){return _0x9b0a98;};return _0x328c();}export class AIMiniToolbarView extends _0x472205{[_0x1536fb(0x218)];[_0x1536fb(0x209)];[_0x1536fb(0x1f8)];[_0x1536fb(0x1ff)];[_0x1536fb(0x204)];constructor(_0x24c1ba,_0xd6e596={},_0x351d02){const _0xf430a2=_0x1536fb;super(_0x24c1ba),this[_0xf430a2(0x211)](_0xf430a2(0x1fb),!0x1),this[_0xf430a2(0x204)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0xd6e596};const _0xfaa5ef=!(this[_0xf430a2(0x204)][_0xf430a2(0x205)]||this[_0xf430a2(0x204)][_0xf430a2(0x20f)]||this[_0xf430a2(0x204)][_0xf430a2(0x1ed)]||this[_0xf430a2(0x204)][_0xf430a2(0x213)]||this[_0xf430a2(0x204)][_0xf430a2(0x1eb)]?.[_0xf430a2(0x1f9)]);this[_0xf430a2(0x1f6)]=_0xfaa5ef?_0xf430a2(0x1f0):_0xf430a2(0x1fc),this[_0xf430a2(0x204)][_0xf430a2(0x205)]&&(this[_0xf430a2(0x202)](),this[_0xf430a2(0x219)][_0xf430a2(0x20d)](this[_0xf430a2(0x218)])),this[_0xf430a2(0x204)][_0xf430a2(0x20f)]&&(this[_0xf430a2(0x1ec)](_0x351d02),this[_0xf430a2(0x219)][_0xf430a2(0x20d)](this[_0xf430a2(0x1ff)])),this[_0xf430a2(0x1f3)](),this[_0xf430a2(0x204)][_0xf430a2(0x1ed)]&&this[_0xf430a2(0x219)][_0xf430a2(0x20d)](this[_0xf430a2(0x209)]),this[_0xf430a2(0x204)][_0xf430a2(0x213)]&&this[_0xf430a2(0x219)][_0xf430a2(0x20d)](this[_0xf430a2(0x1f8)]),this[_0xf430a2(0x204)][_0xf430a2(0x1eb)]&&this[_0xf430a2(0x219)][_0xf430a2(0x215)](this[_0xf430a2(0x204)][_0xf430a2(0x1eb)]);}[_0x1536fb(0x1f3)](){const _0x2e7cb0=_0x1536fb;this[_0x2e7cb0(0x209)]=new _0x57b835(this[_0x2e7cb0(0x1fe)]),this[_0x2e7cb0(0x209)][_0x2e7cb0(0x211)]({'icon':_0x4f93c3,'label':_0x25acc2(this[_0x2e7cb0(0x1fe)],_0x2e7cb0(0x207)),'tooltip':!0x0}),this[_0x2e7cb0(0x209)][_0x2e7cb0(0x1fa)](_0x2e7cb0(0x1ef))['to'](this,_0x2e7cb0(0x1fb),_0x217e54=>!_0x217e54),this[_0x2e7cb0(0x209)]['on'](_0x2e7cb0(0x1fd),()=>{const _0x36b745=_0x2e7cb0;this[_0x36b745(0x1f2)](_0x36b745(0x206));}),this[_0x2e7cb0(0x1f8)]=new _0x57b835(this[_0x2e7cb0(0x1fe)]),this[_0x2e7cb0(0x1f8)][_0x2e7cb0(0x211)]({'icon':_0x47b536,'label':_0x25acc2(this[_0x2e7cb0(0x1fe)],_0x2e7cb0(0x212)),'tooltip':!0x0}),this[_0x2e7cb0(0x1f8)][_0x2e7cb0(0x1fa)](_0x2e7cb0(0x1ef))['to'](this,_0x2e7cb0(0x1fb),_0x52a2ec=>!_0x52a2ec),this[_0x2e7cb0(0x1f8)]['on'](_0x2e7cb0(0x1fd),()=>{const _0x5c1995=_0x2e7cb0;this[_0x5c1995(0x1f2)](_0x5c1995(0x216));});}[_0x1536fb(0x202)](){const _0x1982a7=_0x1536fb;this[_0x1982a7(0x218)]=new _0x57b835(this[_0x1982a7(0x1fe)]),this[_0x1982a7(0x218)][_0x1982a7(0x211)]({'icon':_0x266318,'label':_0x25acc2(this[_0x1982a7(0x1fe)],_0x1982a7(0x201)),'class':_0x1982a7(0x1f4),'tooltip':!0x0}),this[_0x1982a7(0x218)][_0x1982a7(0x1fa)](_0x1982a7(0x1ef))['to'](this,_0x1982a7(0x1fb),_0x244486=>!_0x244486);const _0x38c079=new _0x39f197();_0x38c079[_0x1982a7(0x211)]({'content':_0x5b15d6}),_0x38c079[_0x1982a7(0x1f5)]({'attributes':{'class':[_0x1982a7(0x200)]}}),this[_0x1982a7(0x218)]['on'](_0x1982a7(0x1fd),()=>{const _0x2f8e3c=_0x1982a7;this[_0x2f8e3c(0x218)][_0x2f8e3c(0x1f6)]=_0x2f8e3c(0x20b),setTimeout(()=>{const _0xf66185=_0x2f8e3c;this[_0xf66185(0x218)][_0xf66185(0x1f6)]=_0xf66185(0x1f4);},0x7d0);}),this[_0x1982a7(0x218)][_0x1982a7(0x20c)][_0x1982a7(0x20d)](_0x38c079);}[_0x1536fb(0x1ec)](_0x4e626c){const _0x5d8060=_0x1536fb;this[_0x5d8060(0x1ff)]=new _0x57b835(this[_0x5d8060(0x1fe)]),this[_0x5d8060(0x1ff)][_0x5d8060(0x211)]({'icon':_0x47aeb0,'label':_0x25acc2(this[_0x5d8060(0x1fe)],_0x5d8060(0x217)),'withText':_0x5d8060(0x1f1)==this[_0x5d8060(0x204)][_0x5d8060(0x20f)],'tooltip':_0x5d8060(0x1f1)!=this[_0x5d8060(0x204)][_0x5d8060(0x20f)],'isOn':_0x4e626c}),this[_0x5d8060(0x1ff)][_0x5d8060(0x1fa)](_0x5d8060(0x1ef))['to'](this,_0x5d8060(0x1fb),_0x54c808=>!_0x54c808),this[_0x5d8060(0x1ff)]['on'](_0x5d8060(0x1fd),()=>{const _0x3e08da=_0x5d8060,_0x254b81=!this[_0x3e08da(0x1ff)][_0x3e08da(0x214)];this[_0x3e08da(0x1ff)][_0x3e08da(0x211)]({'isOn':_0x254b81,'icon':_0x254b81?_0x4f1ecc:_0x47aeb0}),this[_0x3e08da(0x1f2)](_0x3e08da(0x210),_0x254b81);});}}
23
+ const _0xd0b5ad=_0x1451;(function(_0xf52fef,_0x300b47){const _0x1e7498=_0x1451,_0x1a0358=_0xf52fef();while(!![]){try{const _0x2b6c65=parseInt(_0x1e7498(0x180))/0x1+parseInt(_0x1e7498(0x165))/0x2+parseInt(_0x1e7498(0x162))/0x3+parseInt(_0x1e7498(0x186))/0x4*(parseInt(_0x1e7498(0x185))/0x5)+-parseInt(_0x1e7498(0x164))/0x6+parseInt(_0x1e7498(0x15d))/0x7+-parseInt(_0x1e7498(0x167))/0x8*(parseInt(_0x1e7498(0x182))/0x9);if(_0x2b6c65===_0x300b47)break;else _0x1a0358['push'](_0x1a0358['shift']());}catch(_0x55027f){_0x1a0358['push'](_0x1a0358['shift']());}}}(_0x299c,0x7a0b5));function _0x299c(){const _0x3746c9=['ck-ai-mini-toolbar-copy-button__check-mark','isEnabled','ck-ai-mini-toolbar\x20ck-hidden','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','_setupCopyButton','ck-ai-mini-toolbar','_setupShowChangesButton','length','dislike','554886tTWsLt','full','162315kbgpmr','dislikeButton','execute','3490510rLiioz','4MdpDXv','customView','AI_MINI_TOOLBAR_DISLIKE','AI_MINI_TOOLBAR_LIKE','showChangesButton','likeButton','children','showCopy','copyButton','6454217qZVqoA','showLike','ck-ai-mini-toolbar-copy-button','toggleShowChanges','items','2939559jgqWaf','isOn','4984746rWrfCY','1221074wXMfVS','set','1080JsrsGr','add','AI_MINI_TOOLBAR_COPY','like','_config','fire','isLoading','class','AI_SUGGESTION_BUTTON_SHOW_CHANGES','locale','extendTemplate','addMany','bind','showDislike','showChanges','_setupRatingButtons'];_0x299c=function(){return _0x3746c9;};return _0x299c();}import{ButtonView as _0x5de937,IconView as _0x515123,ToolbarView as _0x4b6b47}from'ckeditor5/src/ui.js';import{IconCheck as _0x2c5f65,IconCopy as _0x8e6cc8,IconShowChangesOff as _0x3f80b9,IconShowChangesOn as _0x27655d,IconThumbDown as _0xf743b5,IconThumbUp as _0x54f007}from'@ckeditor/ckeditor5-icons';function _0x1451(_0x4bff10,_0x5cbcee){const _0x299ce5=_0x299c();return _0x1451=function(_0x14510f,_0x40ca37){_0x14510f=_0x14510f-0x15d;let _0x2f5d4a=_0x299ce5[_0x14510f];return _0x2f5d4a;},_0x1451(_0x4bff10,_0x5cbcee);}import{getTranslation as _0x2c102d}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x4b6b47{[_0xd0b5ad(0x18e)];[_0xd0b5ad(0x18b)];[_0xd0b5ad(0x183)];[_0xd0b5ad(0x18a)];[_0xd0b5ad(0x16b)];constructor(_0x740284,_0x371bbc={},_0x10a9ba){const _0x1fb0ce=_0xd0b5ad;super(_0x740284),this[_0x1fb0ce(0x166)](_0x1fb0ce(0x16d),!0x1),this[_0x1fb0ce(0x16b)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x371bbc};const _0x4ac04b=!(this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x18d)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x175)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x15e)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x174)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x187)]?.[_0x1fb0ce(0x17e)]);this[_0x1fb0ce(0x16e)]=_0x4ac04b?_0x1fb0ce(0x179):_0x1fb0ce(0x17c),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x18d)]&&(this[_0x1fb0ce(0x17b)](),this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x18e)])),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x175)]&&(this[_0x1fb0ce(0x17d)](_0x10a9ba),this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x18a)])),this[_0x1fb0ce(0x176)](),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x15e)]&&this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x18b)]),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x174)]&&this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x183)]),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x187)]&&this[_0x1fb0ce(0x161)][_0x1fb0ce(0x172)](this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x187)]);}[_0xd0b5ad(0x176)](){const _0x148512=_0xd0b5ad;this[_0x148512(0x18b)]=new _0x5de937(this[_0x148512(0x170)]),this[_0x148512(0x18b)][_0x148512(0x166)]({'icon':_0x54f007,'label':_0x2c102d(this[_0x148512(0x170)],_0x148512(0x189)),'tooltip':!0x0}),this[_0x148512(0x18b)][_0x148512(0x173)](_0x148512(0x178))['to'](this,_0x148512(0x16d),_0x4786d0=>!_0x4786d0),this[_0x148512(0x18b)]['on'](_0x148512(0x184),()=>{const _0x598653=_0x148512;this[_0x598653(0x16c)](_0x598653(0x16a));}),this[_0x148512(0x183)]=new _0x5de937(this[_0x148512(0x170)]),this[_0x148512(0x183)][_0x148512(0x166)]({'icon':_0xf743b5,'label':_0x2c102d(this[_0x148512(0x170)],_0x148512(0x188)),'tooltip':!0x0}),this[_0x148512(0x183)][_0x148512(0x173)](_0x148512(0x178))['to'](this,_0x148512(0x16d),_0x2b35f1=>!_0x2b35f1),this[_0x148512(0x183)]['on'](_0x148512(0x184),()=>{const _0x3d18ca=_0x148512;this[_0x3d18ca(0x16c)](_0x3d18ca(0x17f));});}[_0xd0b5ad(0x17b)](){const _0x4f5dc1=_0xd0b5ad;this[_0x4f5dc1(0x18e)]=new _0x5de937(this[_0x4f5dc1(0x170)]),this[_0x4f5dc1(0x18e)][_0x4f5dc1(0x166)]({'icon':_0x8e6cc8,'label':_0x2c102d(this[_0x4f5dc1(0x170)],_0x4f5dc1(0x169)),'class':_0x4f5dc1(0x15f),'tooltip':!0x0}),this[_0x4f5dc1(0x18e)][_0x4f5dc1(0x173)](_0x4f5dc1(0x178))['to'](this,_0x4f5dc1(0x16d),_0x19f2f8=>!_0x19f2f8);const _0x4c2514=new _0x515123();_0x4c2514[_0x4f5dc1(0x166)]({'content':_0x2c5f65}),_0x4c2514[_0x4f5dc1(0x171)]({'attributes':{'class':[_0x4f5dc1(0x177)]}}),this[_0x4f5dc1(0x18e)]['on'](_0x4f5dc1(0x184),()=>{const _0x32dbc3=_0x4f5dc1;this[_0x32dbc3(0x18e)][_0x32dbc3(0x16e)]=_0x32dbc3(0x17a),setTimeout(()=>{const _0x46ea59=_0x32dbc3;this[_0x46ea59(0x18e)][_0x46ea59(0x16e)]=_0x46ea59(0x15f);},0x7d0);}),this[_0x4f5dc1(0x18e)][_0x4f5dc1(0x18c)][_0x4f5dc1(0x168)](_0x4c2514);}[_0xd0b5ad(0x17d)](_0x3be995){const _0x48372e=_0xd0b5ad;this[_0x48372e(0x18a)]=new _0x5de937(this[_0x48372e(0x170)]),this[_0x48372e(0x18a)][_0x48372e(0x166)]({'icon':_0x3f80b9,'label':_0x2c102d(this[_0x48372e(0x170)],_0x48372e(0x16f)),'withText':_0x48372e(0x181)==this[_0x48372e(0x16b)][_0x48372e(0x175)],'tooltip':_0x48372e(0x181)!=this[_0x48372e(0x16b)][_0x48372e(0x175)],'isOn':_0x3be995}),this[_0x48372e(0x18a)][_0x48372e(0x173)](_0x48372e(0x178))['to'](this,_0x48372e(0x16d),_0x4199bf=>!_0x4199bf),this[_0x48372e(0x18a)]['on'](_0x48372e(0x184),()=>{const _0x3842ba=_0x48372e,_0x592a73=!this[_0x3842ba(0x18a)][_0x3842ba(0x163)];this[_0x3842ba(0x18a)][_0x3842ba(0x166)]({'isOn':_0x592a73,'icon':_0x592a73?_0x27655d:_0x3f80b9}),this[_0x3842ba(0x16c)](_0x3842ba(0x160),_0x592a73);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f3c17=_0x4c13;function _0x4ebb(){const _0x45c7f7=['setContent','markAsDone','length','getPartView','_areActionsDisabled','76HtEeel','some','first','22456676qaAqAx','warning','20CPwVeh','21154jHabgE','index','add','_children','200547zQCMqw','_emptyPartsWarningView','partDefinition','_showUnchangedParts','updateContent','hasPendingParts','toggleHeader','delegate','AI_SUGGESTION_EMPTY_PART_WARNING','hasChanges','div','queueEmptyPromise','updateContentParts','29118vdDEma','setTemplate','empty-parts-warning','abort','createCollection','_updateContentPartsPromiseQueue','addEventListener','get','99AnVKVw','ck-ai-suggestion__body','413jqxnVM','94640SsIEbT','2172170BSdsnm','pending','from','partsCount','set','locale','updatePartState','find','isVisible','ck-ai-suggestion__body__content-parts','406072ZMOSMn','enqueue','state','AI_SUGGESTION_NO_PARTS_WARNING','hasNonEmptyParts'];_0x4ebb=function(){return _0x45c7f7;};return _0x4ebb();}(function(_0x1049c7,_0x422218){const _0x34f4f6=_0x4c13,_0x527ce5=_0x1049c7();while(!![]){try{const _0x5ef292=-parseInt(_0x34f4f6(0x1bd))/0x1*(parseInt(_0x34f4f6(0x1be))/0x2)+-parseInt(_0x34f4f6(0x1c2))/0x3+parseInt(_0x34f4f6(0x1b8))/0x4*(-parseInt(_0x34f4f6(0x1da))/0x5)+parseInt(_0x34f4f6(0x1cf))/0x6*(-parseInt(_0x34f4f6(0x1d9))/0x7)+parseInt(_0x34f4f6(0x1ae))/0x8*(-parseInt(_0x34f4f6(0x1d7))/0x9)+-parseInt(_0x34f4f6(0x1db))/0xa+parseInt(_0x34f4f6(0x1bb))/0xb;if(_0x5ef292===_0x422218)break;else _0x527ce5['push'](_0x527ce5['shift']());}catch(_0x252f4f){_0x527ce5['push'](_0x527ce5['shift']());}}}(_0x4ebb,0x53662));import{View as _0x3c2b64}from'ckeditor5/src/ui.js';function _0x4c13(_0x554004,_0x5a9d37){const _0x4ebbf9=_0x4ebb();return _0x4c13=function(_0x4c137a,_0x4d2dcd){_0x4c137a=_0x4c137a-0x1a8;let _0x1c7fca=_0x4ebbf9[_0x4c137a];return _0x1c7fca;},_0x4c13(_0x554004,_0x5a9d37);}import{AISuggestionBodyViewContentPartView as _0x11b9f3}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3e8eac}from'../../utils/eventnames.js';import{PromiseQueue as _0x399465}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x18ed01}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x3020da}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x3c2b64{[_0x3f3c17(0x1c1)];[_0x3f3c17(0x1b7)];[_0x3f3c17(0x1c5)];[_0x3f3c17(0x1d4)];[_0x3f3c17(0x1c3)];constructor(_0x2d708d,{areActionsDisabled:_0x35aae4,showUnchangedParts:_0x17c4f9}){const _0x14d25b=_0x3f3c17;super(_0x2d708d),this[_0x14d25b(0x1b7)]=_0x35aae4,this[_0x14d25b(0x1c5)]=_0x17c4f9,this[_0x14d25b(0x1a8)](_0x14d25b(0x1c7),!0x1),this[_0x14d25b(0x1c1)]=this[_0x14d25b(0x1d3)](),this[_0x14d25b(0x1d4)]=new _0x399465(),this[_0x14d25b(0x1c3)]=new _0x18ed01({'id':_0x14d25b(0x1d1),'initialContent':_0x3020da(_0x2d708d,_0x14d25b(0x1ca)),'level':_0x14d25b(0x1bc)}),this[_0x14d25b(0x1c3)][_0x14d25b(0x1ac)]=!0x1,this[_0x14d25b(0x1d0)]({'tag':_0x14d25b(0x1cc),'attributes':{'class':['ck',_0x14d25b(0x1d8)]},'children':[{'tag':_0x14d25b(0x1cc),'attributes':{'class':['ck',_0x14d25b(0x1ad)]},'children':this[_0x14d25b(0x1c1)]},this[_0x14d25b(0x1c3)]]});}get[_0x3f3c17(0x1de)](){const _0x59df38=_0x3f3c17;return this[_0x59df38(0x1c1)][_0x59df38(0x1b5)];}async[_0x3f3c17(0x1ce)]({parts:_0x1f6ecd,renderingStrategy:_0x158922,abortSignal:_0x4a8f98}){const _0x1057a8=_0x3f3c17;for(const _0x2ab19e of _0x1f6ecd)this[_0x1057a8(0x1d4)][_0x1057a8(0x1af)](async _0x5553dc=>{const _0x2ba510=_0x1057a8;let _0x2f4b5f=this[_0x2ba510(0x1c1)][_0x2ba510(0x1ab)](_0x58a90b=>_0x58a90b[_0x2ba510(0x1c4)][_0x2ba510(0x1bf)]==_0x2ab19e[_0x2ba510(0x1bf)]);_0x2f4b5f||(_0x2f4b5f=new _0x11b9f3(this[_0x2ba510(0x1a9)],{'part':_0x2ab19e,'areActionsDisabled':this[_0x2ba510(0x1b7)]}),_0x2f4b5f[_0x2ba510(0x1c9)](..._0x3e8eac)['to'](this),this[_0x2ba510(0x1c1)][_0x2ba510(0x1c0)](_0x2f4b5f),this[_0x2ba510(0x1c7)]=!0x0),0x2===this[_0x2ba510(0x1c1)][_0x2ba510(0x1b5)]&&this[_0x2ba510(0x1c1)][_0x2ba510(0x1ba)][_0x2ba510(0x1c8)](!0x0),_0x2f4b5f[_0x2ba510(0x1c8)](this[_0x2ba510(0x1c1)][_0x2ba510(0x1b5)]>0x1),await _0x2f4b5f[_0x2ba510(0x1c6)]({'part':_0x2ab19e,'renderingStrategy':_0x158922,'showUnchangedParts':this[_0x2ba510(0x1c5)],'abortSignal':_0x5553dc});});return _0x4a8f98?.[_0x1057a8(0x1d5)](_0x1057a8(0x1d2),()=>{const _0x3babe8=_0x1057a8;this[_0x3babe8(0x1d4)][_0x3babe8(0x1d2)]();}),this[_0x1057a8(0x1d4)][_0x1057a8(0x1cd)];}[_0x3f3c17(0x1aa)](_0x172c84,_0x582e1c){const _0x13ac23=_0x3f3c17;this[_0x13ac23(0x1c1)][_0x13ac23(0x1d6)](_0x172c84)[_0x13ac23(0x1b0)]=_0x582e1c,this[_0x13ac23(0x1c7)]=_0x13ac23(0x1dc)==_0x582e1c||Array[_0x13ac23(0x1dd)](this[_0x13ac23(0x1c1)])[_0x13ac23(0x1b9)](_0x11b39f=>_0x13ac23(0x1dc)==_0x11b39f[_0x13ac23(0x1b0)]);}[_0x3f3c17(0x1b6)](_0x23326b){const _0x28dcf0=_0x3f3c17;return this[_0x28dcf0(0x1c1)][_0x28dcf0(0x1d6)](_0x23326b);}[_0x3f3c17(0x1b4)](){const _0x2e8f0a=_0x3f3c17;if(!this[_0x2e8f0a(0x1c5)]){const _0x352ace=!this[_0x2e8f0a(0x1c1)][_0x2e8f0a(0x1ab)](_0x614e18=>_0x614e18[_0x2e8f0a(0x1c4)][_0x2e8f0a(0x1cb)]),_0x52b6c5=!!this[_0x2e8f0a(0x1c1)][_0x2e8f0a(0x1ab)](_0xe3e5e=>!_0xe3e5e[_0x2e8f0a(0x1c4)][_0x2e8f0a(0x1cb)]);this[_0x2e8f0a(0x1c3)][_0x2e8f0a(0x1ac)]=0x0==this[_0x2e8f0a(0x1c1)][_0x2e8f0a(0x1b5)]||_0x52b6c5,_0x352ace?this[_0x2e8f0a(0x1c3)][_0x2e8f0a(0x1b3)](_0x3020da(this[_0x2e8f0a(0x1a9)],_0x2e8f0a(0x1b1))):this[_0x2e8f0a(0x1c3)][_0x2e8f0a(0x1b3)](_0x3020da(this[_0x2e8f0a(0x1a9)],_0x2e8f0a(0x1ca)));}}get[_0x3f3c17(0x1b2)](){const _0x2f6c10=_0x3f3c17;return!!this[_0x2f6c10(0x1c1)][_0x2f6c10(0x1ab)](_0x21460a=>_0x21460a[_0x2f6c10(0x1c4)][_0x2f6c10(0x1cb)]);}}
23
+ const _0x12cbb9=_0x497c;(function(_0x2d52b1,_0x3c6459){const _0x434e4a=_0x497c,_0x52efb5=_0x2d52b1();while(!![]){try{const _0x3d20ae=parseInt(_0x434e4a(0x18e))/0x1*(parseInt(_0x434e4a(0x1b5))/0x2)+-parseInt(_0x434e4a(0x1c0))/0x3+parseInt(_0x434e4a(0x192))/0x4+-parseInt(_0x434e4a(0x1be))/0x5*(parseInt(_0x434e4a(0x190))/0x6)+parseInt(_0x434e4a(0x1b1))/0x7+-parseInt(_0x434e4a(0x195))/0x8*(-parseInt(_0x434e4a(0x1b6))/0x9)+parseInt(_0x434e4a(0x18c))/0xa*(-parseInt(_0x434e4a(0x1a9))/0xb);if(_0x3d20ae===_0x3c6459)break;else _0x52efb5['push'](_0x52efb5['shift']());}catch(_0x2fd581){_0x52efb5['push'](_0x52efb5['shift']());}}}(_0x2a67,0xa7526));import{View as _0x570931}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x55b3ee}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x41f341}from'../../utils/eventnames.js';import{PromiseQueue as _0x1df808}from'../../../aichat/utils/promisequeue.js';function _0x2a67(){const _0x2b6061=['set','hasPendingParts','markAsDone','div','first','hasNonEmptyParts','warning','updateContentParts','_children','index','isVisible','143DcvGor','state','from','ck-ai-suggestion__body','getPartView','delegate','queueEmptyPromise','_updateContentPartsPromiseQueue','721679wtufms','AI_SUGGESTION_NO_PARTS_WARNING','hasChanges','_showUnchangedParts','57504AveXcx','151407gNAUUt','enqueue','toggleHeader','some','pending','locale','get','partsCount','231760NGhYuz','ck-ai-suggestion__body__content-parts','1317981LYkyrG','find','updateContent','117460BOVdgS','setTemplate','41sxsGKl','empty-parts-warning','162rsWfpB','add','613820lmXUwr','createCollection','partDefinition','520sjttQl','updatePartState','addEventListener','_areActionsDisabled','setContent','abort','_emptyPartsWarningView','length','AI_SUGGESTION_EMPTY_PART_WARNING'];_0x2a67=function(){return _0x2b6061;};return _0x2a67();}function _0x497c(_0x1aa077,_0x96d3eb){const _0x2a6726=_0x2a67();return _0x497c=function(_0x497c5b,_0x51095a){_0x497c5b=_0x497c5b-0x18b;let _0x50f1aa=_0x2a6726[_0x497c5b];return _0x50f1aa;},_0x497c(_0x1aa077,_0x96d3eb);}import{AIChatFeedErrorItemView as _0x800cfc}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x5135d2}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x570931{[_0x12cbb9(0x1a6)];[_0x12cbb9(0x198)];[_0x12cbb9(0x1b4)];[_0x12cbb9(0x1b0)];[_0x12cbb9(0x19b)];constructor(_0x434896,{areActionsDisabled:_0x4e8268,showUnchangedParts:_0x157bc7}){const _0x5b2a64=_0x12cbb9;super(_0x434896),this[_0x5b2a64(0x198)]=_0x4e8268,this[_0x5b2a64(0x1b4)]=_0x157bc7,this[_0x5b2a64(0x19e)](_0x5b2a64(0x19f),!0x1),this[_0x5b2a64(0x1a6)]=this[_0x5b2a64(0x193)](),this[_0x5b2a64(0x1b0)]=new _0x1df808(),this[_0x5b2a64(0x19b)]=new _0x800cfc({'id':_0x5b2a64(0x18f),'initialContent':_0x5135d2(_0x434896,_0x5b2a64(0x19d)),'level':_0x5b2a64(0x1a4)}),this[_0x5b2a64(0x19b)][_0x5b2a64(0x1a8)]=!0x1,this[_0x5b2a64(0x18d)]({'tag':_0x5b2a64(0x1a1),'attributes':{'class':['ck',_0x5b2a64(0x1ac)]},'children':[{'tag':_0x5b2a64(0x1a1),'attributes':{'class':['ck',_0x5b2a64(0x1bf)]},'children':this[_0x5b2a64(0x1a6)]},this[_0x5b2a64(0x19b)]]});}get[_0x12cbb9(0x1bd)](){const _0x53df4c=_0x12cbb9;return this[_0x53df4c(0x1a6)][_0x53df4c(0x19c)];}async[_0x12cbb9(0x1a5)]({parts:_0x2c0a34,renderingStrategy:_0x37a136,abortSignal:_0x3a0e5f}){const _0x446bd2=_0x12cbb9;for(const _0x31a011 of _0x2c0a34)this[_0x446bd2(0x1b0)][_0x446bd2(0x1b7)](async _0x215217=>{const _0x3d2cf6=_0x446bd2;let _0x19b831=this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x1c1)](_0x4dcb03=>_0x4dcb03[_0x3d2cf6(0x194)][_0x3d2cf6(0x1a7)]==_0x31a011[_0x3d2cf6(0x1a7)]);_0x19b831||(_0x19b831=new _0x55b3ee(this[_0x3d2cf6(0x1bb)],{'part':_0x31a011,'areActionsDisabled':this[_0x3d2cf6(0x198)]}),_0x19b831[_0x3d2cf6(0x1ae)](..._0x41f341)['to'](this),this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x191)](_0x19b831),this[_0x3d2cf6(0x19f)]=!0x0),0x2===this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x19c)]&&this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x1a2)][_0x3d2cf6(0x1b8)](!0x0),_0x19b831[_0x3d2cf6(0x1b8)](this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x19c)]>0x1),await _0x19b831[_0x3d2cf6(0x18b)]({'part':_0x31a011,'renderingStrategy':_0x37a136,'showUnchangedParts':this[_0x3d2cf6(0x1b4)],'abortSignal':_0x215217});});return _0x3a0e5f?.[_0x446bd2(0x197)](_0x446bd2(0x19a),()=>{const _0x39fb2f=_0x446bd2;this[_0x39fb2f(0x1b0)][_0x39fb2f(0x19a)]();}),this[_0x446bd2(0x1b0)][_0x446bd2(0x1af)];}[_0x12cbb9(0x196)](_0x5602f9,_0x42f6c0){const _0x23bb15=_0x12cbb9;this[_0x23bb15(0x1a6)][_0x23bb15(0x1bc)](_0x5602f9)[_0x23bb15(0x1aa)]=_0x42f6c0,this[_0x23bb15(0x19f)]=_0x23bb15(0x1ba)==_0x42f6c0||Array[_0x23bb15(0x1ab)](this[_0x23bb15(0x1a6)])[_0x23bb15(0x1b9)](_0x3b0ae3=>_0x23bb15(0x1ba)==_0x3b0ae3[_0x23bb15(0x1aa)]);}[_0x12cbb9(0x1ad)](_0x52b31c){const _0x218c61=_0x12cbb9;return this[_0x218c61(0x1a6)][_0x218c61(0x1bc)](_0x52b31c);}[_0x12cbb9(0x1a0)](){const _0x248f61=_0x12cbb9;if(!this[_0x248f61(0x1b4)]){const _0x4d03a0=!this[_0x248f61(0x1a6)][_0x248f61(0x1c1)](_0x5ebcf8=>_0x5ebcf8[_0x248f61(0x194)][_0x248f61(0x1b3)]),_0x34239e=!!this[_0x248f61(0x1a6)][_0x248f61(0x1c1)](_0x596e2e=>!_0x596e2e[_0x248f61(0x194)][_0x248f61(0x1b3)]);this[_0x248f61(0x19b)][_0x248f61(0x1a8)]=0x0==this[_0x248f61(0x1a6)][_0x248f61(0x19c)]||_0x34239e,_0x4d03a0?this[_0x248f61(0x19b)][_0x248f61(0x199)](_0x5135d2(this[_0x248f61(0x1bb)],_0x248f61(0x1b2))):this[_0x248f61(0x19b)][_0x248f61(0x199)](_0x5135d2(this[_0x248f61(0x1bb)],_0x248f61(0x19d)));}}get[_0x12cbb9(0x1a3)](){const _0x5233d4=_0x12cbb9;return!!this[_0x5233d4(0x1a6)][_0x5233d4(0x1c1)](_0x46b981=>_0x46b981[_0x5233d4(0x194)][_0x5233d4(0x1b3)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32adde=_0x3940;(function(_0x7b5728,_0xba445d){const _0x420b2d=_0x3940,_0x72caff=_0x7b5728();while(!![]){try{const _0x314335=parseInt(_0x420b2d(0x1c7))/0x1+parseInt(_0x420b2d(0x1bd))/0x2+parseInt(_0x420b2d(0x1e4))/0x3+-parseInt(_0x420b2d(0x1ef))/0x4+parseInt(_0x420b2d(0x1fb))/0x5*(parseInt(_0x420b2d(0x1cf))/0x6)+-parseInt(_0x420b2d(0x20d))/0x7+-parseInt(_0x420b2d(0x1f9))/0x8;if(_0x314335===_0xba445d)break;else _0x72caff['push'](_0x72caff['shift']());}catch(_0x480d87){_0x72caff['push'](_0x72caff['shift']());}}}(_0x5349,0x3b1a6));import{IconWeb as _0x2264ae}from'@ckeditor/ckeditor5-icons';import{View as _0x51337f,ButtonView as _0x51efc8,IconView as _0x53abbb}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x1cf76c}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x24baaf}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x4f825e}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x54850b}from'../../utils/eventnames.js';function _0x5349(){const _0x570e7c=['div','img','span','ck-hidden','1977010tDKUGG','headerView','AI_CHAT_SOURCES_HEADER','ck-ai-web-sources__header','setErrorState','ck-ai-suggestion__container','836782lffdDe','hasNonEmptyParts','createCollection','locale','bodyView','sourcesView','setLoading','map','remove','extendTemplate','455860prapdO','bindTemplate','isVisible','clearLoading','AI_CHAT_IS_WRITING','items','element','loaderView','18dWJdhP','hideLoader','children','ck-ai-suggestion__error-text','ck-ai-web-sources','ck-ai-suggestion__error','_blank','AI_CHAT_GENERIC_ERROR','areChangesVisible','open','addNavigationItem','toggleShowChanges','bind','.ck-ai-suggestion__error-text','hideError','title','url','markAsDone','removeNavigationItem','_createErrorView','updateSources','1373832eDmjRn','miniToolbarView','updateContent','toggleSuggestionDisplayMode','content','fire','textContent','isLoading','set','small','add','1852584ODWIVt','updateContentParts','showChangesToggleView','isLoaderVisible','icon','isOn','querySelector','clearErrorState','ck-rounded-corners','setTemplate','5197760ulVzeK','isEnabled','508645oyNDvb','showError','errorView','isErrorVisible','ck-ai-suggestion__loader-text','isShowChangesToggleVisible','ck\x20ck-ai-web-source','favicon','_createLoaderView','showLoader','ck-ai-web-source__image','addMany','delegate','ck-ai-suggestion__loader'];_0x5349=function(){return _0x570e7c;};return _0x5349();}import{AISpinnerView as _0x3b101b}from'../aispinner.js';import{getTranslation as _0x15ee26}from'../../utils/common-translations.js';function _0x3940(_0x11dab1,_0x295204){const _0x5349ea=_0x5349();return _0x3940=function(_0x3940f5,_0x429e37){_0x3940f5=_0x3940f5-0x1bd;let _0x3b8a65=_0x5349ea[_0x3940f5];return _0x3b8a65;},_0x3940(_0x11dab1,_0x295204);}export class AISuggestionContainerView extends _0x51337f{[_0x32adde(0x1c1)];[_0x32adde(0x1e5)];[_0x32adde(0x1d1)];[_0x32adde(0x20e)];[_0x32adde(0x1ce)];[_0x32adde(0x1fd)];[_0x32adde(0x1c2)];constructor(_0x3a2457,{showDiff:_0x555c00,areActionsDisabled:_0x227133,miniToolbarConfig:_0x244c79,hideHeader:_0x176ace,showLoader:_0xb6d0fe,showUnchangedParts:_0x1d816c}){const _0xfcefeb=_0x32adde;super(_0x3a2457),this[_0xfcefeb(0x1ec)](_0xfcefeb(0x1d7),!0x1),this[_0xfcefeb(0x1ec)](_0xfcefeb(0x1f2),!!_0xb6d0fe),this[_0xfcefeb(0x1ec)](_0xfcefeb(0x1fe),!0x1),this[_0xfcefeb(0x1ec)](_0xfcefeb(0x1eb),!0x1),this[_0xfcefeb(0x1d1)]=this[_0xfcefeb(0x1bf)](),_0x176ace||(this[_0xfcefeb(0x20e)]=new _0x24baaf(_0x3a2457,{'showDiff':_0x555c00}),this[_0xfcefeb(0x20e)]['on'](_0xfcefeb(0x1da),(_0x549ff7,_0x5af564)=>{const _0x33c899=_0xfcefeb;this[_0x33c899(0x1d7)]=_0x5af564[_0x33c899(0x1f4)],this[_0x33c899(0x1e9)](_0x33c899(0x1e7),{'showDiff':_0x5af564[_0x33c899(0x1f4)]});}),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x20e)])),this[_0xfcefeb(0x1c1)]=new _0x4f825e(_0x3a2457,{'areActionsDisabled':_0x227133,'showUnchangedParts':!!_0x1d816c}),this[_0xfcefeb(0x1c1)][_0xfcefeb(0x207)](..._0x54850b)['to'](this),this[_0xfcefeb(0x1c1)][_0xfcefeb(0x1c6)]({'attributes':{'class':[this[_0xfcefeb(0x1c8)]['if'](_0xfcefeb(0x1f2),_0xfcefeb(0x20c)),this[_0xfcefeb(0x1c8)]['if'](_0xfcefeb(0x1fe),_0xfcefeb(0x20c))]}}),this[_0xfcefeb(0x1e5)]=new _0x1cf76c(_0x3a2457,_0x244c79,_0x555c00),this[_0xfcefeb(0x1e5)][_0xfcefeb(0x207)](..._0x54850b)['to'](this),this[_0xfcefeb(0x1e5)]['on'](_0xfcefeb(0x1da),(_0x4af915,_0x458cfd)=>{const _0x25e675=_0xfcefeb;this[_0x25e675(0x1d7)]=_0x458cfd,this[_0x25e675(0x1e9)](_0x25e675(0x1e7),{'showDiff':_0x458cfd});}),this[_0xfcefeb(0x1e5)][_0xfcefeb(0x1db)](_0xfcefeb(0x1eb))['to'](this),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x1c1)]),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x1e5)]),this[_0xfcefeb(0x1c2)]=new AIWebSourcesView(this[_0xfcefeb(0x1c0)]),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x1c2)]),_0xb6d0fe&&(this[_0xfcefeb(0x1ce)]=this[_0xfcefeb(0x203)](),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x1ce)])),this[_0xfcefeb(0x1fd)]=this[_0xfcefeb(0x1e2)](),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x1fd)]),this[_0xfcefeb(0x1f8)]({'tag':_0xfcefeb(0x209),'attributes':{'class':['ck',_0xfcefeb(0x212),_0xfcefeb(0x1f7)]},'children':this[_0xfcefeb(0x1d1)]});}async[_0x32adde(0x1e6)](_0x49ac52){const _0x272e98=_0x32adde;await this[_0x272e98(0x1c1)][_0x272e98(0x1f0)](_0x49ac52);}[_0x32adde(0x1e3)](_0x4634fe){const _0x446bec=_0x32adde;this[_0x446bec(0x1c2)][_0x446bec(0x1d1)][_0x446bec(0x206)](_0x4634fe[_0x446bec(0x1c4)](_0x292e4e=>new AIWebSourceView(this[_0x446bec(0x1c0)],_0x292e4e))),this[_0x446bec(0x1c2)][_0x446bec(0x1c9)]=!0x0;}[_0x32adde(0x204)](){const _0x4bd1d0=_0x32adde;this[_0x4bd1d0(0x1ce)]&&(this[_0x4bd1d0(0x1f2)]=!0x0);}[_0x32adde(0x1d0)](){const _0x169b1d=_0x32adde;this[_0x169b1d(0x1ce)]&&(this[_0x169b1d(0x1f2)]=!0x1);}[_0x32adde(0x1fc)](_0x7c67a9){const _0x2c57dd=_0x32adde;if(this[_0x2c57dd(0x1fd)]){const _0x47fd45=this[_0x2c57dd(0x1fd)][_0x2c57dd(0x1cd)]?.[_0x2c57dd(0x1f5)](_0x2c57dd(0x1dc));_0x47fd45&&(_0x47fd45[_0x2c57dd(0x1ea)]=_0x7c67a9),this[_0x2c57dd(0x1fe)]=!0x0;}}[_0x32adde(0x1dd)](){const _0x437c17=_0x32adde;this[_0x437c17(0x1fd)]&&(this[_0x437c17(0x1fe)]=!0x1);}[_0x32adde(0x1e0)](){const _0x56f66c=_0x32adde;this[_0x56f66c(0x1c1)][_0x56f66c(0x1e0)](),this[_0x56f66c(0x20e)]&&(this[_0x56f66c(0x20e)][_0x56f66c(0x200)]=this[_0x56f66c(0x1c1)][_0x56f66c(0x1be)]);}[_0x32adde(0x1c3)](){const _0x31cfa4=_0x32adde;this[_0x31cfa4(0x1eb)]=!0x0;}[_0x32adde(0x1ca)](){const _0x560565=_0x32adde;this[_0x560565(0x1eb)]=!0x1;}[_0x32adde(0x211)](){const _0x2e7172=_0x32adde;this[_0x2e7172(0x1e5)]&&(this[_0x2e7172(0x1e5)][_0x2e7172(0x1eb)]=!0x0),this[_0x2e7172(0x20e)]?.[_0x2e7172(0x1f1)]&&(this[_0x2e7172(0x20e)][_0x2e7172(0x1f1)][_0x2e7172(0x1fa)]=!0x1);}[_0x32adde(0x1f6)](){const _0x4177df=_0x32adde;this[_0x4177df(0x1e5)]&&(this[_0x4177df(0x1e5)][_0x4177df(0x1eb)]=!0x1),this[_0x4177df(0x20e)]?.[_0x4177df(0x1f1)]&&(this[_0x4177df(0x20e)][_0x4177df(0x1f1)][_0x4177df(0x1fa)]=!0x0);}[_0x32adde(0x1d9)](_0x1ff4cc){const _0x2ae30c=_0x32adde;this[_0x2ae30c(0x1e5)][_0x2ae30c(0x1cc)][_0x2ae30c(0x1ee)](_0x1ff4cc);}[_0x32adde(0x1e1)](_0x4e0f37){const _0x343892=_0x32adde;this[_0x343892(0x1e5)][_0x343892(0x1cc)][_0x343892(0x1c5)](_0x4e0f37);}[_0x32adde(0x203)](){const _0x38d867=_0x32adde,_0xb596c2=new _0x51337f(this[_0x38d867(0x1c0)]),_0x165840=new _0x3b101b(_0x38d867(0x1ed));_0x165840[_0x38d867(0x1c9)]=!0x0;const _0x1eba6e=new _0x51337f(this[_0x38d867(0x1c0)]);return _0x1eba6e[_0x38d867(0x1f8)]({'tag':_0x38d867(0x20b),'attributes':{'class':['ck',_0x38d867(0x1ff)]},'children':[_0x15ee26(this[_0x38d867(0x1c0)],_0x38d867(0x1cb))]}),_0xb596c2[_0x38d867(0x1f8)]({'tag':_0x38d867(0x209),'attributes':{'class':['ck',_0x38d867(0x208),this[_0x38d867(0x1c8)]['if'](_0x38d867(0x1f2),_0x38d867(0x20c),_0x1507c9=>!_0x1507c9)]},'children':[_0x165840,_0x1eba6e]}),_0xb596c2;}[_0x32adde(0x1e2)](){const _0x499124=_0x32adde,_0x2b5b65=new _0x51337f(this[_0x499124(0x1c0)]),_0x171549=new _0x51337f(this[_0x499124(0x1c0)]);return _0x171549[_0x499124(0x1f8)]({'tag':_0x499124(0x20b),'attributes':{'class':['ck',_0x499124(0x1d2)]},'children':[_0x15ee26(this[_0x499124(0x1c0)],_0x499124(0x1d6))]}),_0x2b5b65[_0x499124(0x1f8)]({'tag':_0x499124(0x209),'attributes':{'class':['ck',_0x499124(0x1d4),this[_0x499124(0x1c8)]['if'](_0x499124(0x1fe),_0x499124(0x20c),_0x5a8e0a=>!_0x5a8e0a)]},'children':[_0x171549]}),_0x2b5b65;}}export class AIWebSourcesView extends _0x51337f{[_0x32adde(0x1d1)];constructor(_0x1969dc){const _0x13a76f=_0x32adde;super(_0x1969dc),this[_0x13a76f(0x1d1)]=this[_0x13a76f(0x1bf)](),this[_0x13a76f(0x1ec)](_0x13a76f(0x1c9),!0x1),this[_0x13a76f(0x1f8)]({'tag':_0x13a76f(0x209),'attributes':{'class':['ck',_0x13a76f(0x1d3),this[_0x13a76f(0x1c8)]['if'](_0x13a76f(0x1c9),_0x13a76f(0x20c),_0x34fcc7=>!_0x34fcc7)]},'children':this[_0x13a76f(0x1d1)]});const _0x34c6e1=new _0x51337f(this[_0x13a76f(0x1c0)]),_0x541d25=new _0x53abbb();_0x541d25[_0x13a76f(0x1e8)]=_0x2264ae,_0x34c6e1[_0x13a76f(0x1f8)]({'tag':_0x13a76f(0x209),'attributes':{'class':['ck',_0x13a76f(0x210)]},'children':[_0x541d25,{'tag':_0x13a76f(0x20b),'children':[{'text':_0x15ee26(this[_0x13a76f(0x1c0)],_0x13a76f(0x20f))}]}]}),this[_0x13a76f(0x1d1)][_0x13a76f(0x1ee)](_0x34c6e1);}}export class AIWebSourceView extends _0x51efc8{constructor(_0x3359a8,_0x1be35a){const _0x55160f=_0x32adde;super(_0x3359a8),this[_0x55160f(0x1ec)]({'label':_0x1be35a[_0x55160f(0x1de)],'tooltip':_0x1be35a[_0x55160f(0x1de)],'class':[_0x55160f(0x201)],'withText':!0x0});const _0x3d1c29=this[_0x55160f(0x1c8)];if(this[_0x55160f(0x1c6)]({'on':{'click':_0x3d1c29['to'](()=>{const _0x147ade=_0x55160f;window[_0x147ade(0x1d8)](_0x1be35a[_0x147ade(0x1df)],_0x147ade(0x1d5));})}}),_0x1be35a[_0x55160f(0x202)]){const _0x206c22=new _0x51337f(_0x3359a8);_0x206c22[_0x55160f(0x1f8)]({'tag':_0x55160f(0x20a),'attributes':{'src':_0x1be35a[_0x55160f(0x202)]||_0x2264ae,'alt':_0x1be35a[_0x55160f(0x1de)],'class':[_0x55160f(0x205)]}}),this[_0x55160f(0x1d1)][_0x55160f(0x1ee)](_0x206c22);}else this[_0x55160f(0x1ec)](_0x55160f(0x1f3),_0x2264ae);}}
23
+ const _0x3424de=_0xef37;(function(_0x26d083,_0x4eed4f){const _0x5d1b8e=_0xef37,_0x53d9d4=_0x26d083();while(!![]){try{const _0x13b982=-parseInt(_0x5d1b8e(0x1d8))/0x1+parseInt(_0x5d1b8e(0x1aa))/0x2*(-parseInt(_0x5d1b8e(0x1a8))/0x3)+-parseInt(_0x5d1b8e(0x1a3))/0x4+-parseInt(_0x5d1b8e(0x1b9))/0x5*(-parseInt(_0x5d1b8e(0x19c))/0x6)+-parseInt(_0x5d1b8e(0x1b4))/0x7*(-parseInt(_0x5d1b8e(0x1e4))/0x8)+-parseInt(_0x5d1b8e(0x1ba))/0x9*(-parseInt(_0x5d1b8e(0x1d6))/0xa)+-parseInt(_0x5d1b8e(0x1c9))/0xb*(-parseInt(_0x5d1b8e(0x1bf))/0xc);if(_0x13b982===_0x4eed4f)break;else _0x53d9d4['push'](_0x53d9d4['shift']());}catch(_0x5828fd){_0x53d9d4['push'](_0x53d9d4['shift']());}}}(_0x5650,0xb8484));import{IconWeb as _0x5bf1b7}from'@ckeditor/ckeditor5-icons';function _0xef37(_0x6a888a,_0x13142f){const _0x565022=_0x5650();return _0xef37=function(_0xef3730,_0x3bc12f){_0xef3730=_0xef3730-0x194;let _0x2d8ac4=_0x565022[_0xef3730];return _0x2d8ac4;},_0xef37(_0x6a888a,_0x13142f);}import{View as _0x177d5a,ButtonView as _0xa39798,IconView as _0x452769}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x27b8d3}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x4c9632}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x17cc88}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5940af}from'../../utils/eventnames.js';import{AISpinnerView as _0x1b7920}from'../aispinner.js';import{getTranslation as _0x9d7bcf}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x177d5a{[_0x3424de(0x1e2)];[_0x3424de(0x1dc)];[_0x3424de(0x1c2)];[_0x3424de(0x1e6)];[_0x3424de(0x195)];[_0x3424de(0x1ad)];[_0x3424de(0x1af)];constructor(_0x43a61f,{showDiff:_0x11e136,areActionsDisabled:_0x3a5e6e,miniToolbarConfig:_0xff1ccd,hideHeader:_0x526c12,showLoader:_0x3e9620,showUnchangedParts:_0x51f085}){const _0x508cea=_0x3424de;super(_0x43a61f),this[_0x508cea(0x1c1)](_0x508cea(0x1c5),!0x1),this[_0x508cea(0x1c1)](_0x508cea(0x1ec),!!_0x3e9620),this[_0x508cea(0x1c1)](_0x508cea(0x1bb),!0x1),this[_0x508cea(0x1c1)](_0x508cea(0x194),!0x1),this[_0x508cea(0x1c2)]=this[_0x508cea(0x1bd)](),_0x526c12||(this[_0x508cea(0x1e6)]=new _0x4c9632(_0x43a61f,{'showDiff':_0x11e136}),this[_0x508cea(0x1e6)]['on'](_0x508cea(0x199),(_0x2bb0f9,_0x446dc8)=>{const _0x48da6b=_0x508cea;this[_0x48da6b(0x1c5)]=_0x446dc8[_0x48da6b(0x1cf)],this[_0x48da6b(0x1be)](_0x48da6b(0x1e8),{'showDiff':_0x446dc8[_0x48da6b(0x1cf)]});}),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1e6)])),this[_0x508cea(0x1e2)]=new _0x17cc88(_0x43a61f,{'areActionsDisabled':_0x3a5e6e,'showUnchangedParts':!!_0x51f085}),this[_0x508cea(0x1e2)][_0x508cea(0x1e7)](..._0x5940af)['to'](this),this[_0x508cea(0x1e2)][_0x508cea(0x198)]({'attributes':{'class':[this[_0x508cea(0x1df)]['if'](_0x508cea(0x1ec),_0x508cea(0x1e1)),this[_0x508cea(0x1df)]['if'](_0x508cea(0x1bb),_0x508cea(0x1e1))]}}),this[_0x508cea(0x1dc)]=new _0x27b8d3(_0x43a61f,_0xff1ccd,_0x11e136),this[_0x508cea(0x1dc)][_0x508cea(0x1e7)](..._0x5940af)['to'](this),this[_0x508cea(0x1dc)]['on'](_0x508cea(0x199),(_0x4e215b,_0x55dc3d)=>{const _0x27d976=_0x508cea;this[_0x27d976(0x1c5)]=_0x55dc3d,this[_0x27d976(0x1be)](_0x27d976(0x1e8),{'showDiff':_0x55dc3d});}),this[_0x508cea(0x1dc)][_0x508cea(0x1d3)](_0x508cea(0x194))['to'](this),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1e2)]),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1dc)]),this[_0x508cea(0x1af)]=new AIWebSourcesView(this[_0x508cea(0x19b)]),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1af)]),_0x3e9620&&(this[_0x508cea(0x195)]=this[_0x508cea(0x1eb)](),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x195)])),this[_0x508cea(0x1ad)]=this[_0x508cea(0x1c3)](),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1ad)]),this[_0x508cea(0x1d7)]({'tag':_0x508cea(0x1c8),'attributes':{'class':['ck',_0x508cea(0x1b0),_0x508cea(0x1d2)]},'children':this[_0x508cea(0x1c2)]});}async[_0x3424de(0x1b1)](_0x2d331a){const _0x54721f=_0x3424de;await this[_0x54721f(0x1e2)][_0x54721f(0x19e)](_0x2d331a);}[_0x3424de(0x1c6)](_0x30646d){const _0x8a2085=_0x3424de;this[_0x8a2085(0x1af)][_0x8a2085(0x1c2)][_0x8a2085(0x1ed)](_0x30646d[_0x8a2085(0x1a4)](_0x1d6a4d=>new AIWebSourceView(this[_0x8a2085(0x19b)],_0x1d6a4d))),this[_0x8a2085(0x1af)][_0x8a2085(0x1cb)]=!0x0;}[_0x3424de(0x1e0)](){const _0x2131d3=_0x3424de;this[_0x2131d3(0x195)]&&(this[_0x2131d3(0x1ec)]=!0x0);}[_0x3424de(0x1c0)](){const _0xbfbe8a=_0x3424de;this[_0xbfbe8a(0x195)]&&(this[_0xbfbe8a(0x1ec)]=!0x1);}[_0x3424de(0x1ab)](_0x220eac){const _0x33756c=_0x3424de;if(this[_0x33756c(0x1ad)]){const _0x44ae18=this[_0x33756c(0x1ad)][_0x33756c(0x1b3)]?.[_0x33756c(0x197)](_0x33756c(0x1ea));_0x44ae18&&(_0x44ae18[_0x33756c(0x196)]=_0x220eac),this[_0x33756c(0x1bb)]=!0x0;}}[_0x3424de(0x1bc)](){const _0x4bcd4b=_0x3424de;this[_0x4bcd4b(0x1ad)]&&(this[_0x4bcd4b(0x1bb)]=!0x1);}[_0x3424de(0x1da)](){const _0x59b5f5=_0x3424de;this[_0x59b5f5(0x1e2)][_0x59b5f5(0x1da)](),this[_0x59b5f5(0x1e6)]&&(this[_0x59b5f5(0x1e6)][_0x59b5f5(0x19a)]=this[_0x59b5f5(0x1e2)][_0x59b5f5(0x1a9)]);}[_0x3424de(0x1ce)](){const _0x31ddda=_0x3424de;this[_0x31ddda(0x194)]=!0x0;}[_0x3424de(0x1d4)](){const _0xa4730e=_0x3424de;this[_0xa4730e(0x194)]=!0x1;}[_0x3424de(0x1ac)](){const _0x21876b=_0x3424de;this[_0x21876b(0x1dc)]&&(this[_0x21876b(0x1dc)][_0x21876b(0x194)]=!0x0),this[_0x21876b(0x1e6)]?.[_0x21876b(0x1c4)]&&(this[_0x21876b(0x1e6)][_0x21876b(0x1c4)][_0x21876b(0x1b2)]=!0x1);}[_0x3424de(0x1a7)](){const _0x5650a=_0x3424de;this[_0x5650a(0x1dc)]&&(this[_0x5650a(0x1dc)][_0x5650a(0x194)]=!0x1),this[_0x5650a(0x1e6)]?.[_0x5650a(0x1c4)]&&(this[_0x5650a(0x1e6)][_0x5650a(0x1c4)][_0x5650a(0x1b2)]=!0x0);}[_0x3424de(0x1d1)](_0x5c2ffd){const _0x32b881=_0x3424de;this[_0x32b881(0x1dc)][_0x32b881(0x1de)][_0x32b881(0x1dd)](_0x5c2ffd);}[_0x3424de(0x1a5)](_0x4252a5){const _0x41a95a=_0x3424de;this[_0x41a95a(0x1dc)][_0x41a95a(0x1de)][_0x41a95a(0x1e9)](_0x4252a5);}[_0x3424de(0x1eb)](){const _0x508e20=_0x3424de,_0x519ad7=new _0x177d5a(this[_0x508e20(0x19b)]),_0x3543a7=new _0x1b7920(_0x508e20(0x1b8));_0x3543a7[_0x508e20(0x1cb)]=!0x0;const _0x4c0aaf=new _0x177d5a(this[_0x508e20(0x19b)]);return _0x4c0aaf[_0x508e20(0x1d7)]({'tag':_0x508e20(0x1b6),'attributes':{'class':['ck',_0x508e20(0x1ae)]},'children':[_0x9d7bcf(this[_0x508e20(0x19b)],_0x508e20(0x1a0))]}),_0x519ad7[_0x508e20(0x1d7)]({'tag':_0x508e20(0x1c8),'attributes':{'class':['ck',_0x508e20(0x1d0),this[_0x508e20(0x1df)]['if'](_0x508e20(0x1ec),_0x508e20(0x1e1),_0x5a818a=>!_0x5a818a)]},'children':[_0x3543a7,_0x4c0aaf]}),_0x519ad7;}[_0x3424de(0x1c3)](){const _0x599182=_0x3424de,_0x2a98b7=new _0x177d5a(this[_0x599182(0x19b)]),_0x20b8ab=new _0x177d5a(this[_0x599182(0x19b)]);return _0x20b8ab[_0x599182(0x1d7)]({'tag':_0x599182(0x1b6),'attributes':{'class':['ck',_0x599182(0x1a2)]},'children':[_0x9d7bcf(this[_0x599182(0x19b)],_0x599182(0x1db))]}),_0x2a98b7[_0x599182(0x1d7)]({'tag':_0x599182(0x1c8),'attributes':{'class':['ck',_0x599182(0x1a1),this[_0x599182(0x1df)]['if'](_0x599182(0x1bb),_0x599182(0x1e1),_0x390a6c=>!_0x390a6c)]},'children':[_0x20b8ab]}),_0x2a98b7;}}export class AIWebSourcesView extends _0x177d5a{[_0x3424de(0x1c2)];constructor(_0x2bcf87){const _0x42ae41=_0x3424de;super(_0x2bcf87),this[_0x42ae41(0x1c2)]=this[_0x42ae41(0x1bd)](),this[_0x42ae41(0x1c1)](_0x42ae41(0x1cb),!0x1),this[_0x42ae41(0x1d7)]({'tag':_0x42ae41(0x1c8),'attributes':{'class':['ck',_0x42ae41(0x19d),this[_0x42ae41(0x1df)]['if'](_0x42ae41(0x1cb),_0x42ae41(0x1e1),_0x30a352=>!_0x30a352)]},'children':this[_0x42ae41(0x1c2)]});const _0x35ac4a=new _0x177d5a(this[_0x42ae41(0x19b)]),_0x585647=new _0x452769();_0x585647[_0x42ae41(0x1a6)]=_0x5bf1b7,_0x35ac4a[_0x42ae41(0x1d7)]({'tag':_0x42ae41(0x1c8),'attributes':{'class':['ck',_0x42ae41(0x1cd)]},'children':[_0x585647,{'tag':_0x42ae41(0x1b6),'children':[{'text':_0x9d7bcf(this[_0x42ae41(0x19b)],_0x42ae41(0x1d9))}]}]}),this[_0x42ae41(0x1c2)][_0x42ae41(0x1dd)](_0x35ac4a);}}export class AIWebSourceView extends _0xa39798{constructor(_0x35fe3d,_0x4f1f80){const _0x2fdb38=_0x3424de;super(_0x35fe3d),this[_0x2fdb38(0x1c1)]({'label':_0x4f1f80[_0x2fdb38(0x1e5)],'tooltip':_0x4f1f80[_0x2fdb38(0x1e5)],'class':[_0x2fdb38(0x1d5)],'withText':!0x0});const _0x78289d=this[_0x2fdb38(0x1df)];if(this[_0x2fdb38(0x198)]({'on':{'click':_0x78289d['to'](()=>{const _0x40c804=_0x2fdb38;window[_0x40c804(0x1e3)](_0x4f1f80[_0x40c804(0x1ca)],_0x40c804(0x19f));})}}),_0x4f1f80[_0x2fdb38(0x1b7)]){const _0x2f919d=new _0x177d5a(_0x35fe3d);_0x2f919d[_0x2fdb38(0x1d7)]({'tag':_0x2fdb38(0x1cc),'attributes':{'src':_0x4f1f80[_0x2fdb38(0x1b7)]||_0x5bf1b7,'alt':_0x4f1f80[_0x2fdb38(0x1e5)],'class':[_0x2fdb38(0x1c7)]}}),this[_0x2fdb38(0x1c2)][_0x2fdb38(0x1dd)](_0x2f919d);}else this[_0x2fdb38(0x1c1)](_0x2fdb38(0x1b5),_0x5bf1b7);}}function _0x5650(){const _0x10dcd0=['ck-ai-suggestion__error-text','3808700PQPbEf','map','removeNavigationItem','content','clearErrorState','8907czJsbr','hasNonEmptyParts','566XBLdOc','showError','setErrorState','errorView','ck-ai-suggestion__loader-text','sourcesView','ck-ai-suggestion__container','updateContent','isEnabled','element','2668428aCdPJF','icon','span','favicon','small','2780230ZcrufW','8994267XTTXag','isErrorVisible','hideError','createCollection','fire','982752etPPDE','hideLoader','set','children','_createErrorView','showChangesToggleView','areChangesVisible','updateSources','ck-ai-web-source__image','div','209zDvYYR','url','isVisible','img','ck-ai-web-sources__header','setLoading','isOn','ck-ai-suggestion__loader','addNavigationItem','ck-rounded-corners','bind','clearLoading','ck\x20ck-ai-web-source','10LTOmsp','setTemplate','1501461iwUAXm','AI_CHAT_SOURCES_HEADER','markAsDone','AI_CHAT_GENERIC_ERROR','miniToolbarView','add','items','bindTemplate','showLoader','ck-hidden','bodyView','open','8AtsyBZ','title','headerView','delegate','toggleSuggestionDisplayMode','remove','.ck-ai-suggestion__error-text','_createLoaderView','isLoaderVisible','addMany','isLoading','loaderView','textContent','querySelector','extendTemplate','toggleShowChanges','isShowChangesToggleVisible','locale','12mtFQhF','ck-ai-web-sources','updateContentParts','_blank','AI_CHAT_IS_WRITING','ck-ai-suggestion__error'];_0x5650=function(){return _0x10dcd0;};return _0x5650();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9eac1e=_0xf5e4;(function(_0x590171,_0x9c75bf){const _0x4c1006=_0xf5e4,_0x298dee=_0x590171();while(!![]){try{const _0x32d414=-parseInt(_0x4c1006(0x190))/0x1*(-parseInt(_0x4c1006(0x165))/0x2)+-parseInt(_0x4c1006(0x18d))/0x3*(parseInt(_0x4c1006(0x198))/0x4)+parseInt(_0x4c1006(0x164))/0x5*(parseInt(_0x4c1006(0x171))/0x6)+parseInt(_0x4c1006(0x15d))/0x7+-parseInt(_0x4c1006(0x17d))/0x8+-parseInt(_0x4c1006(0x188))/0x9*(parseInt(_0x4c1006(0x16d))/0xa)+-parseInt(_0x4c1006(0x158))/0xb*(-parseInt(_0x4c1006(0x181))/0xc);if(_0x32d414===_0x9c75bf)break;else _0x298dee['push'](_0x298dee['shift']());}catch(_0x47d4fc){_0x298dee['push'](_0x298dee['shift']());}}}(_0x44c3,0x96f8c));function _0xf5e4(_0x1f239c,_0x4b503b){const _0x44c3db=_0x44c3();return _0xf5e4=function(_0xf5e4c5,_0x512729){_0xf5e4c5=_0xf5e4c5-0x14f;let _0x13c20f=_0x44c3db[_0xf5e4c5];return _0x13c20f;},_0xf5e4(_0x1f239c,_0x4b503b);}import{View as _0x1c5490,IconView as _0x2ae30,ToolbarView as _0x366862,ButtonView as _0x551798}from'ckeditor5/src/ui.js';import{IconAddComment as _0x49f110,IconDocumentWithLoupe as _0xe7dd2c,IconDocumentWithCheckmark as _0x3e2917,IconDocumentWithCross as _0x1cf48e,IconRemove as _0x136f4c,IconThreeStars as _0x9aecb}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x30e568}from'../../utils/htmlstreamer.js';function _0x44c3(){const _0x37a055=['div','mouseLeaveSuggestion','partDefinition','updateContent','fire','_toolbarView','4cFWHqo','AI_SUGGESTION_CONTENT_PART_TITLE','accepted','stream','mouseOverSuggestion','execute','ck-ai-suggestion__body__content-part__title__label','AI_SUGGESTION_CONTENT_PART_REJECTED','content','index','remove','ck-ai-suggestion__body__content-part','isVisible','22bUMUGw','ck-reset_all-excluded','ck-ai-suggestion__body__content-part_active','toggleHeader','hasChanges','715904NUMPjg','rejectSuggestion','htmlStreamer','pending','addMany','animation:\x20ck-html-streamer-fade-in\x20.5s','isEnabled','4405dHVyNe','22rXECIl','rejected','span','headerView','delegate','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','element','ck-ai-suggestion__body__content-part__icon-rejected','11233790oOpjNp','ck-ai-suggestion__body__content-part_','ck-hidden','items','5682CiaDtp','toString','extendTemplate','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part__content','bind','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','setTemplate','add','showChangeInText','streaming','_iconStateAccepted','9040424edxGhC','createCollection','set','children','10958340rqghHA','bindTemplate','has','change:state','innerHTML','contentView','ck-ai-suggestion__body__content-part__icon-accepted','9MJBXql','_iconStateRejected','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','insertSuggestion','AI_SUGGESTION_CONTENT_PART_DELETE','890214KlMHjN','ck-content','ck-ai-suggestion__body__content-part__title','36871PjTYni','state'];_0x44c3=function(){return _0x37a055;};return _0x44c3();}import{getTranslation as _0x595a1f}from'../../utils/common-translations.js';import{serialize as _0x5c879f}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x14a6b9}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x1c5490{[_0x9eac1e(0x15f)];[_0x9eac1e(0x180)];[_0x9eac1e(0x168)];[_0x9eac1e(0x186)];constructor(_0x59b2e2,{part:_0x23b99f,areActionsDisabled:_0x39d220}){const _0x277ce2=_0x9eac1e;super(_0x59b2e2),this[_0x277ce2(0x17f)](_0x277ce2(0x194),_0x23b99f),this[_0x277ce2(0x17f)](_0x277ce2(0x191),_0x277ce2(0x160)),this[_0x277ce2(0x17f)](_0x277ce2(0x157),!0x1),this[_0x277ce2(0x176)](_0x277ce2(0x163))['to'](this,_0x277ce2(0x191),_0x364f77=>_0x277ce2(0x160)==_0x364f77&&!_0x39d220),this[_0x277ce2(0x180)]=this[_0x277ce2(0x17e)](),this[_0x277ce2(0x15f)]=new _0x30e568({'textNodeStyle':_0x277ce2(0x162),'delay':0x14}),this[_0x277ce2(0x168)]=new Hn(_0x59b2e2,_0x23b99f),this[_0x277ce2(0x168)][_0x277ce2(0x176)](_0x277ce2(0x194))['to'](this),this[_0x277ce2(0x168)][_0x277ce2(0x176)](_0x277ce2(0x163))['to'](this),this[_0x277ce2(0x168)][_0x277ce2(0x176)](_0x277ce2(0x191))['to'](this),this[_0x277ce2(0x168)][_0x277ce2(0x169)](..._0x14a6b9)['to'](this);const _0x94bc55=this[_0x277ce2(0x182)];this[_0x277ce2(0x186)]=new _0x1c5490(),this[_0x277ce2(0x186)][_0x277ce2(0x178)]({'tag':_0x277ce2(0x192),'attributes':{'class':['ck',_0x277ce2(0x18e),_0x277ce2(0x159),_0x277ce2(0x175)]}}),this[_0x277ce2(0x180)][_0x277ce2(0x161)]([this[_0x277ce2(0x186)]]),this[_0x277ce2(0x178)]({'tag':_0x277ce2(0x192),'attributes':{'class':['ck',_0x277ce2(0x156),_0x94bc55['to'](_0x277ce2(0x191),_0x1e34f5=>_0x277ce2(0x16e)+_0x1e34f5),_0x94bc55['to'](_0x277ce2(0x163),_0x39046c=>_0x39046c?_0x277ce2(0x15a):void 0x0),_0x94bc55['if'](_0x277ce2(0x157),_0x277ce2(0x16f),_0x4c5b9d=>!_0x4c5b9d)]},'children':this[_0x277ce2(0x180)],'on':{'mouseenter':_0x94bc55['to'](()=>{const _0x5377b9=_0x277ce2;this[_0x5377b9(0x163)]&&this[_0x5377b9(0x196)](_0x5377b9(0x14f),{'index':_0x23b99f[_0x5377b9(0x154)]});}),'mouseleave':_0x94bc55['to'](()=>{const _0xf9ddbb=_0x277ce2;this[_0xf9ddbb(0x163)]&&this[_0xf9ddbb(0x196)](_0xf9ddbb(0x193),{'index':_0x23b99f[_0xf9ddbb(0x154)]});})}});}async[_0x9eac1e(0x195)]({part:_0x3b5db4,renderingStrategy:_0x3f0f2b,showUnchangedParts:_0x1cf588=!0x1,abortSignal:_0x1dfebf}){const _0x9f3a38=_0x9eac1e;this[_0x9f3a38(0x194)]=_0x3b5db4,this[_0x9f3a38(0x157)]=this[_0x9f3a38(0x194)][_0x9f3a38(0x15c)]||_0x1cf588,this[_0x9f3a38(0x157)]&&(_0x9f3a38(0x17b)===_0x3f0f2b?await this[_0x9f3a38(0x15f)][_0x9f3a38(0x19b)]({'document':this[_0x9f3a38(0x194)][_0x9f3a38(0x153)],'targetElement':this[_0x9f3a38(0x186)][_0x9f3a38(0x16b)],'abortSignal':_0x1dfebf}):this[_0x9f3a38(0x186)][_0x9f3a38(0x16b)][_0x9f3a38(0x185)]=_0x5c879f(this[_0x9f3a38(0x194)][_0x9f3a38(0x153)]));}[_0x9eac1e(0x15b)](_0xd855df){const _0x5cb0ed=_0x9eac1e;_0xd855df?this[_0x5cb0ed(0x180)][_0x5cb0ed(0x183)](this[_0x5cb0ed(0x168)])||this[_0x5cb0ed(0x180)][_0x5cb0ed(0x179)](this[_0x5cb0ed(0x168)],0x0):this[_0x5cb0ed(0x180)][_0x5cb0ed(0x183)](this[_0x5cb0ed(0x168)])&&this[_0x5cb0ed(0x180)][_0x5cb0ed(0x155)](this[_0x5cb0ed(0x168)]);}}class Hn extends _0x1c5490{[_0x9eac1e(0x180)];[_0x9eac1e(0x197)];[_0x9eac1e(0x17c)];[_0x9eac1e(0x189)];constructor(_0x1246be,_0x1a11d9){const _0x11ff41=_0x9eac1e;super(_0x1246be),this[_0x11ff41(0x17f)](_0x11ff41(0x194),_0x1a11d9),this[_0x11ff41(0x17f)](_0x11ff41(0x163),!0x0),this[_0x11ff41(0x17f)](_0x11ff41(0x191),_0x11ff41(0x160));const _0x3ea97b=new _0x2ae30();_0x3ea97b[_0x11ff41(0x153)]=_0x9aecb,_0x3ea97b[_0x11ff41(0x173)]({'attributes':{'class':[_0x11ff41(0x174)]}});const _0x548e35=new _0x551798(_0x1246be);_0x548e35[_0x11ff41(0x17f)]({'label':_0x595a1f(_0x1246be,_0x11ff41(0x16a)),'tooltip':!0x0,'withText':!0x1,'icon':_0xe7dd2c}),_0x548e35[_0x11ff41(0x176)](_0x11ff41(0x163))['to'](this),_0x548e35['on'](_0x11ff41(0x150),()=>{const _0x4475d3=_0x11ff41;this[_0x4475d3(0x196)](_0x4475d3(0x17a),{'index':_0x1a11d9[_0x4475d3(0x154)]});});const _0x5032e6=new _0x551798(_0x1246be);_0x5032e6[_0x11ff41(0x17f)]({'label':_0x595a1f(_0x1246be,_0x11ff41(0x177)),'tooltip':!0x0,'withText':!0x1,'icon':_0x49f110}),_0x5032e6[_0x11ff41(0x176)](_0x11ff41(0x163))['to'](this),_0x5032e6['on'](_0x11ff41(0x150),()=>{const _0x144e25=_0x11ff41;this[_0x144e25(0x196)](_0x144e25(0x18b),{'index':_0x1a11d9[_0x144e25(0x154)]});});const _0x1b3a66=new _0x551798(_0x1246be);_0x1b3a66[_0x11ff41(0x17f)]({'label':_0x595a1f(_0x1246be,_0x11ff41(0x18c)),'tooltip':!0x0,'withText':!0x1,'icon':_0x136f4c}),_0x1b3a66['on'](_0x11ff41(0x150),()=>{const _0x3709bd=_0x11ff41;this[_0x3709bd(0x196)](_0x3709bd(0x15e),{'index':_0x1a11d9[_0x3709bd(0x154)]});}),_0x1b3a66[_0x11ff41(0x176)](_0x11ff41(0x163))['to'](this),this[_0x11ff41(0x197)]=new _0x366862(_0x1246be),this[_0x11ff41(0x197)][_0x11ff41(0x170)][_0x11ff41(0x161)]([_0x548e35,_0x5032e6,_0x1b3a66]),this[_0x11ff41(0x17c)]=new _0x2ae30(),this[_0x11ff41(0x17c)][_0x11ff41(0x153)]=_0x3e2917,this[_0x11ff41(0x17c)][_0x11ff41(0x173)]({'attributes':{'class':[_0x11ff41(0x187)],'data-cke-tooltip-text':_0x595a1f(_0x1246be,_0x11ff41(0x18a)),'data-cke-tooltip-position':'n'}}),this[_0x11ff41(0x189)]=new _0x2ae30(),this[_0x11ff41(0x189)][_0x11ff41(0x153)]=_0x1cf48e,this[_0x11ff41(0x189)][_0x11ff41(0x173)]({'attributes':{'class':[_0x11ff41(0x16c)],'data-cke-tooltip-text':_0x595a1f(_0x1246be,_0x11ff41(0x152)),'data-cke-tooltip-position':'n'}});const _0x2a50ab=new _0x1c5490(_0x1246be);_0x2a50ab[_0x11ff41(0x178)]({'tag':_0x11ff41(0x167),'attributes':{'class':['ck',_0x11ff41(0x151)]},'children':[_0x595a1f(_0x1246be,_0x11ff41(0x199),(_0x1a11d9[_0x11ff41(0x154)]+0x1)[_0x11ff41(0x172)]())]}),this[_0x11ff41(0x180)]=this[_0x11ff41(0x17e)](),this[_0x11ff41(0x180)][_0x11ff41(0x161)]([_0x3ea97b,_0x2a50ab,this[_0x11ff41(0x197)]]),this[_0x11ff41(0x178)]({'tag':_0x11ff41(0x192),'attributes':{'class':['ck',_0x11ff41(0x159),_0x11ff41(0x18f)]},'children':this[_0x11ff41(0x180)]}),this['on'](_0x11ff41(0x184),(_0x4325e5,_0xc5c74a,_0x6d224c,_0x12373a)=>{const _0x113456=_0x11ff41;switch(_0x12373a){case _0x113456(0x160):this[_0x113456(0x180)][_0x113456(0x155)](this[_0x113456(0x197)]);break;case _0x113456(0x19a):this[_0x113456(0x180)][_0x113456(0x155)](this[_0x113456(0x17c)]);break;case _0x113456(0x166):this[_0x113456(0x180)][_0x113456(0x155)](this[_0x113456(0x189)]);}switch(_0x6d224c){case _0x113456(0x160):this[_0x113456(0x180)][_0x113456(0x179)](this[_0x113456(0x197)]);break;case _0x113456(0x19a):this[_0x113456(0x180)][_0x113456(0x179)](this[_0x113456(0x17c)]);break;case _0x113456(0x166):this[_0x113456(0x180)][_0x113456(0x179)](this[_0x113456(0x189)]);}});}}
23
+ const _0x412bbb=_0x4703;(function(_0x1ec08d,_0x38c604){const _0x4ab2ec=_0x4703,_0x4a9984=_0x1ec08d();while(!![]){try{const _0x50fa7d=-parseInt(_0x4ab2ec(0x161))/0x1*(-parseInt(_0x4ab2ec(0x192))/0x2)+-parseInt(_0x4ab2ec(0x16f))/0x3+parseInt(_0x4ab2ec(0x158))/0x4*(parseInt(_0x4ab2ec(0x17a))/0x5)+-parseInt(_0x4ab2ec(0x17b))/0x6+-parseInt(_0x4ab2ec(0x18c))/0x7*(-parseInt(_0x4ab2ec(0x17e))/0x8)+-parseInt(_0x4ab2ec(0x14e))/0x9*(-parseInt(_0x4ab2ec(0x186))/0xa)+-parseInt(_0x4ab2ec(0x14d))/0xb;if(_0x50fa7d===_0x38c604)break;else _0x4a9984['push'](_0x4a9984['shift']());}catch(_0x93651b){_0x4a9984['push'](_0x4a9984['shift']());}}}(_0x1603,0x28262));import{View as _0x55f918,IconView as _0x22022d,ToolbarView as _0x1005bb,ButtonView as _0x22091b}from'ckeditor5/src/ui.js';import{IconAddComment as _0x3bb829,IconDocumentWithLoupe as _0x4bc7e4,IconDocumentWithCheckmark as _0x3d7c0d,IconDocumentWithCross as _0x163d0e,IconRemove as _0x592089,IconThreeStars as _0x52b695}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x54c5bc}from'../../utils/htmlstreamer.js';function _0x4703(_0x25443a,_0x3faf80){const _0x160321=_0x1603();return _0x4703=function(_0x4703c2,_0x2a3513){_0x4703c2=_0x4703c2-0x148;let _0x51b0c9=_0x160321[_0x4703c2];return _0x51b0c9;},_0x4703(_0x25443a,_0x3faf80);}import{getTranslation as _0x5d8cd7}from'../../utils/common-translations.js';import{serialize as _0x34097d}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x22c592}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x55f918{[_0x412bbb(0x17d)];[_0x412bbb(0x17c)];[_0x412bbb(0x190)];[_0x412bbb(0x149)];constructor(_0x250b20,{part:_0x2e8eea,areActionsDisabled:_0x5655dd}){const _0x1cb971=_0x412bbb;super(_0x250b20),this[_0x1cb971(0x18b)](_0x1cb971(0x184),_0x2e8eea),this[_0x1cb971(0x18b)](_0x1cb971(0x18a),_0x1cb971(0x16a)),this[_0x1cb971(0x18b)](_0x1cb971(0x17f),!0x1),this[_0x1cb971(0x180)](_0x1cb971(0x179))['to'](this,_0x1cb971(0x18a),_0x3dc9fb=>_0x1cb971(0x16a)==_0x3dc9fb&&!_0x5655dd),this[_0x1cb971(0x17c)]=this[_0x1cb971(0x176)](),this[_0x1cb971(0x17d)]=new _0x54c5bc({'textNodeStyle':_0x1cb971(0x189),'delay':0x14}),this[_0x1cb971(0x190)]=new Jn(_0x250b20,_0x2e8eea),this[_0x1cb971(0x190)][_0x1cb971(0x180)](_0x1cb971(0x184))['to'](this),this[_0x1cb971(0x190)][_0x1cb971(0x180)](_0x1cb971(0x179))['to'](this),this[_0x1cb971(0x190)][_0x1cb971(0x180)](_0x1cb971(0x18a))['to'](this),this[_0x1cb971(0x190)][_0x1cb971(0x171)](..._0x22c592)['to'](this);const _0x3d462d=this[_0x1cb971(0x178)];this[_0x1cb971(0x149)]=new _0x55f918(),this[_0x1cb971(0x149)][_0x1cb971(0x16d)]({'tag':_0x1cb971(0x167),'attributes':{'class':['ck',_0x1cb971(0x148),_0x1cb971(0x162),_0x1cb971(0x152)]}}),this[_0x1cb971(0x17c)][_0x1cb971(0x16c)]([this[_0x1cb971(0x149)]]),this[_0x1cb971(0x16d)]({'tag':_0x1cb971(0x167),'attributes':{'class':['ck',_0x1cb971(0x154),_0x3d462d['to'](_0x1cb971(0x18a),_0x596486=>_0x1cb971(0x150)+_0x596486),_0x3d462d['to'](_0x1cb971(0x179),_0x39e89c=>_0x39e89c?_0x1cb971(0x159):void 0x0),_0x3d462d['if'](_0x1cb971(0x17f),_0x1cb971(0x16b),_0x3e164a=>!_0x3e164a)]},'children':this[_0x1cb971(0x17c)],'on':{'mouseenter':_0x3d462d['to'](()=>{const _0x49b847=_0x1cb971;this[_0x49b847(0x179)]&&this[_0x49b847(0x14f)](_0x49b847(0x182),{'index':_0x2e8eea[_0x49b847(0x14a)]});}),'mouseleave':_0x3d462d['to'](()=>{const _0x4b4255=_0x1cb971;this[_0x4b4255(0x179)]&&this[_0x4b4255(0x14f)](_0x4b4255(0x163),{'index':_0x2e8eea[_0x4b4255(0x14a)]});})}});}async[_0x412bbb(0x18f)]({part:_0x5cbf91,renderingStrategy:_0x1186e9,showUnchangedParts:_0x424680=!0x1,abortSignal:_0x2e6be4}){const _0x4c670c=_0x412bbb;this[_0x4c670c(0x184)]=_0x5cbf91,this[_0x4c670c(0x17f)]=this[_0x4c670c(0x184)][_0x4c670c(0x15a)]||_0x424680,this[_0x4c670c(0x17f)]&&(_0x4c670c(0x165)===_0x1186e9?await this[_0x4c670c(0x17d)][_0x4c670c(0x168)]({'document':this[_0x4c670c(0x184)][_0x4c670c(0x157)],'targetElement':this[_0x4c670c(0x149)][_0x4c670c(0x185)],'abortSignal':_0x2e6be4}):this[_0x4c670c(0x149)][_0x4c670c(0x185)][_0x4c670c(0x191)]=_0x34097d(this[_0x4c670c(0x184)][_0x4c670c(0x157)]));}[_0x412bbb(0x15c)](_0x304167){const _0x410502=_0x412bbb;_0x304167?this[_0x410502(0x17c)][_0x410502(0x187)](this[_0x410502(0x190)])||this[_0x410502(0x17c)][_0x410502(0x160)](this[_0x410502(0x190)],0x0):this[_0x410502(0x17c)][_0x410502(0x187)](this[_0x410502(0x190)])&&this[_0x410502(0x17c)][_0x410502(0x15b)](this[_0x410502(0x190)]);}}class Jn extends _0x55f918{[_0x412bbb(0x17c)];[_0x412bbb(0x15e)];[_0x412bbb(0x183)];[_0x412bbb(0x173)];constructor(_0x57a4bd,_0x431176){const _0x69a5c7=_0x412bbb;super(_0x57a4bd),this[_0x69a5c7(0x18b)](_0x69a5c7(0x184),_0x431176),this[_0x69a5c7(0x18b)](_0x69a5c7(0x179),!0x0),this[_0x69a5c7(0x18b)](_0x69a5c7(0x18a),_0x69a5c7(0x16a));const _0x11dc1c=new _0x22022d();_0x11dc1c[_0x69a5c7(0x157)]=_0x52b695,_0x11dc1c[_0x69a5c7(0x164)]({'attributes':{'class':[_0x69a5c7(0x153)]}});const _0x4555e9=new _0x22091b(_0x57a4bd);_0x4555e9[_0x69a5c7(0x18b)]({'label':_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x175)),'tooltip':!0x0,'withText':!0x1,'icon':_0x4bc7e4}),_0x4555e9[_0x69a5c7(0x180)](_0x69a5c7(0x179))['to'](this),_0x4555e9['on'](_0x69a5c7(0x15d),()=>{const _0x1f9996=_0x69a5c7;this[_0x1f9996(0x14f)](_0x1f9996(0x174),{'index':_0x431176[_0x1f9996(0x14a)]});});const _0x592e63=new _0x22091b(_0x57a4bd);_0x592e63[_0x69a5c7(0x18b)]({'label':_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x188)),'tooltip':!0x0,'withText':!0x1,'icon':_0x3bb829}),_0x592e63[_0x69a5c7(0x180)](_0x69a5c7(0x179))['to'](this),_0x592e63['on'](_0x69a5c7(0x15d),()=>{const _0x297c18=_0x69a5c7;this[_0x297c18(0x14f)](_0x297c18(0x177),{'index':_0x431176[_0x297c18(0x14a)]});});const _0x296924=new _0x22091b(_0x57a4bd);_0x296924[_0x69a5c7(0x18b)]({'label':_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x169)),'tooltip':!0x0,'withText':!0x1,'icon':_0x592089}),_0x296924['on'](_0x69a5c7(0x15d),()=>{const _0x3c12ae=_0x69a5c7;this[_0x3c12ae(0x14f)](_0x3c12ae(0x172),{'index':_0x431176[_0x3c12ae(0x14a)]});}),_0x296924[_0x69a5c7(0x180)](_0x69a5c7(0x179))['to'](this),this[_0x69a5c7(0x15e)]=new _0x1005bb(_0x57a4bd),this[_0x69a5c7(0x15e)][_0x69a5c7(0x18e)][_0x69a5c7(0x16c)]([_0x4555e9,_0x592e63,_0x296924]),this[_0x69a5c7(0x183)]=new _0x22022d(),this[_0x69a5c7(0x183)][_0x69a5c7(0x157)]=_0x3d7c0d,this[_0x69a5c7(0x183)][_0x69a5c7(0x164)]({'attributes':{'class':[_0x69a5c7(0x193)],'data-cke-tooltip-text':_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x155)),'data-cke-tooltip-position':'n'}}),this[_0x69a5c7(0x173)]=new _0x22022d(),this[_0x69a5c7(0x173)][_0x69a5c7(0x157)]=_0x163d0e,this[_0x69a5c7(0x173)][_0x69a5c7(0x164)]({'attributes':{'class':[_0x69a5c7(0x166)],'data-cke-tooltip-text':_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x156)),'data-cke-tooltip-position':'n'}});const _0x2c8406=new _0x55f918(_0x57a4bd);_0x2c8406[_0x69a5c7(0x16d)]({'tag':_0x69a5c7(0x170),'attributes':{'class':['ck',_0x69a5c7(0x14c)]},'children':[_0x5d8cd7(_0x57a4bd,_0x69a5c7(0x151),(_0x431176[_0x69a5c7(0x14a)]+0x1)[_0x69a5c7(0x18d)]())]}),this[_0x69a5c7(0x17c)]=this[_0x69a5c7(0x176)](),this[_0x69a5c7(0x17c)][_0x69a5c7(0x16c)]([_0x11dc1c,_0x2c8406,this[_0x69a5c7(0x15e)]]),this[_0x69a5c7(0x16d)]({'tag':_0x69a5c7(0x167),'attributes':{'class':['ck',_0x69a5c7(0x162),_0x69a5c7(0x181)]},'children':this[_0x69a5c7(0x17c)]}),this['on'](_0x69a5c7(0x16e),(_0x2d30ad,_0x3fa333,_0x51470e,_0x74c9a)=>{const _0x2fdd43=_0x69a5c7;switch(_0x74c9a){case _0x2fdd43(0x16a):this[_0x2fdd43(0x17c)][_0x2fdd43(0x15b)](this[_0x2fdd43(0x15e)]);break;case _0x2fdd43(0x14b):this[_0x2fdd43(0x17c)][_0x2fdd43(0x15b)](this[_0x2fdd43(0x183)]);break;case _0x2fdd43(0x15f):this[_0x2fdd43(0x17c)][_0x2fdd43(0x15b)](this[_0x2fdd43(0x173)]);}switch(_0x51470e){case _0x2fdd43(0x16a):this[_0x2fdd43(0x17c)][_0x2fdd43(0x160)](this[_0x2fdd43(0x15e)]);break;case _0x2fdd43(0x14b):this[_0x2fdd43(0x17c)][_0x2fdd43(0x160)](this[_0x2fdd43(0x183)]);break;case _0x2fdd43(0x15f):this[_0x2fdd43(0x17c)][_0x2fdd43(0x160)](this[_0x2fdd43(0x173)]);}});}}function _0x1603(){const _0x5bfe4b=['innerHTML','12wlUBis','ck-ai-suggestion__body__content-part__icon-accepted','ck-content','contentView','index','accepted','ck-ai-suggestion__body__content-part__title__label','1318823GrBsuf','16812LewGEj','fire','ck-ai-suggestion__body__content-part_','AI_SUGGESTION_CONTENT_PART_TITLE','ck-ai-suggestion__body__content-part__content','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','AI_SUGGESTION_CONTENT_PART_REJECTED','content','4208JoBzEY','ck-ai-suggestion__body__content-part_active','hasChanges','remove','toggleHeader','execute','_toolbarView','rejected','add','36409NweEQF','ck-reset_all-excluded','mouseLeaveSuggestion','extendTemplate','streaming','ck-ai-suggestion__body__content-part__icon-rejected','div','stream','AI_SUGGESTION_CONTENT_PART_DELETE','pending','ck-hidden','addMany','setTemplate','change:state','378462gKJDMi','span','delegate','rejectSuggestion','_iconStateRejected','showChangeInText','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','createCollection','insertSuggestion','bindTemplate','isEnabled','1010RKImJl','1069278EEScvr','children','htmlStreamer','48mvopCE','isVisible','bind','ck-ai-suggestion__body__content-part__title','mouseOverSuggestion','_iconStateAccepted','partDefinition','element','480NWFbOI','has','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','animation:\x20ck-html-streamer-fade-in\x20.5s','state','set','79436cFHjML','toString','items','updateContent','headerView'];_0x1603=function(){return _0x5bfe4b;};return _0x1603();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2928c3=_0x4d29;(function(_0x8b9d79,_0x646db){const _0x3cac90=_0x4d29,_0x1662bb=_0x8b9d79();while(!![]){try{const _0x5dc0b7=-parseInt(_0x3cac90(0xb6))/0x1+parseInt(_0x3cac90(0xa6))/0x2*(parseInt(_0x3cac90(0xb4))/0x3)+parseInt(_0x3cac90(0x9e))/0x4+-parseInt(_0x3cac90(0xa7))/0x5+parseInt(_0x3cac90(0xac))/0x6*(-parseInt(_0x3cac90(0xb7))/0x7)+parseInt(_0x3cac90(0xa4))/0x8+parseInt(_0x3cac90(0xa8))/0x9*(-parseInt(_0x3cac90(0xaf))/0xa);if(_0x5dc0b7===_0x646db)break;else _0x1662bb['push'](_0x1662bb['shift']());}catch(_0x3be54f){_0x1662bb['push'](_0x1662bb['shift']());}}}(_0x2a68,0xf37d3));import{getTranslation as _0x58eca1}from'../../utils/common-translations.js';function _0x4d29(_0x3390de,_0x56d2a2){const _0x2a68ff=_0x2a68();return _0x4d29=function(_0x4d2947,_0x36ffcf){_0x4d2947=_0x4d2947-0x9d;let _0x129c90=_0x2a68ff[_0x4d2947];return _0x129c90;},_0x4d29(_0x3390de,_0x56d2a2);}import{ButtonView as _0x4338c1,IconView as _0x396822,View as _0x131f4a}from'ckeditor5/src/ui.js';import{IconDocument as _0x14b5a7,IconShowChangesOff as _0xebe247,IconShowChangesOn as _0x3f0f72}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x131f4a{[_0x2928c3(0xb9)];constructor(_0x51dc68,_0x7053aa){const _0x584b31=_0x2928c3;super(_0x51dc68),this[_0x584b31(0xb2)](_0x584b31(0xba),!0x0),this[_0x584b31(0xb9)]=new ShowChangesToggleView(_0x51dc68),this[_0x584b31(0xb9)][_0x584b31(0xb2)]({'class':_0x584b31(0xa2),'label':_0x58eca1(_0x51dc68,_0x584b31(0xa3)),'withText':!0x0}),this[_0x584b31(0xb9)][_0x584b31(0xad)]=_0x7053aa[_0x584b31(0xb3)],this[_0x584b31(0xb9)][_0x584b31(0xa5)](_0x584b31(0xbd))['to'](this,_0x584b31(0xba)),this[_0x584b31(0xb9)][_0x584b31(0xa5)](_0x584b31(0xaa))['to'](this[_0x584b31(0xb9)],_0x584b31(0xad),_0x1f31d5=>_0x1f31d5?_0x3f0f72:_0xebe247),this[_0x584b31(0xb9)]['on'](_0x584b31(0xc0),()=>{const _0x1f6673=_0x584b31;this[_0x1f6673(0xb9)][_0x1f6673(0xad)]=!this[_0x1f6673(0xb9)][_0x1f6673(0xad)],this[_0x1f6673(0xbc)](_0x1f6673(0x9f),{'isOn':this[_0x1f6673(0xb9)][_0x1f6673(0xad)]});});const _0xf9cc8d=new _0x396822();_0xf9cc8d[_0x584b31(0xa1)]=_0x14b5a7,this[_0x584b31(0xb8)]({'tag':_0x584b31(0xbf),'attributes':{'class':['ck',_0x584b31(0xab),!0x1===_0x7053aa[_0x584b31(0xbb)]?_0x584b31(0xb1):null][_0x584b31(0xae)](Boolean)},'children':[_0xf9cc8d,{'tag':_0x584b31(0xb0),'children':[_0x58eca1(_0x51dc68,_0x584b31(0xa0))]},this[_0x584b31(0xb9)]]});}}function _0x2a68(){const _0xdbc0c8=['remove','render','768980KpeoWh','toggleShowChanges','AI_SUGGESTION_HEADER_TITLE','content','ck-ai-suggestion__header__show-changes-toggle','AI_SUGGESTION_BUTTON_SHOW_CHANGES','13855080FzwaEa','bind','10yfeMDI','2464495WCScUU','4554kQwHnY','children','icon','ck-ai-suggestion__header','6dPgEvg','isOn','filter','16230xCPrns','span','ck-hidden','set','showDiff','680133SsFJgC','iconView','550449rpJUqu','1370376QZKZfy','setTemplate','showChangesToggleView','isShowChangesToggleVisible','showHeader','fire','isVisible','add','div','execute'];_0x2a68=function(){return _0xdbc0c8;};return _0x2a68();}export class ShowChangesToggleView extends _0x4338c1{[_0x2928c3(0x9d)](){const _0x44bbbb=_0x2928c3;super[_0x44bbbb(0x9d)](),this[_0x44bbbb(0xa9)][_0x44bbbb(0xc1)](this[_0x44bbbb(0xb5)]),this[_0x44bbbb(0xa9)][_0x44bbbb(0xbe)](this[_0x44bbbb(0xb5)]);}}
23
+ const _0x5f2aed=_0x2f8b;(function(_0x12697d,_0x3c8073){const _0x14637f=_0x2f8b,_0x2fe1b6=_0x12697d();while(!![]){try{const _0x3b972f=parseInt(_0x14637f(0x200))/0x1*(parseInt(_0x14637f(0x1f4))/0x2)+-parseInt(_0x14637f(0x1ff))/0x3*(-parseInt(_0x14637f(0x201))/0x4)+-parseInt(_0x14637f(0x209))/0x5+-parseInt(_0x14637f(0x208))/0x6+parseInt(_0x14637f(0x207))/0x7*(parseInt(_0x14637f(0x202))/0x8)+parseInt(_0x14637f(0x210))/0x9*(parseInt(_0x14637f(0x1fa))/0xa)+parseInt(_0x14637f(0x217))/0xb;if(_0x3b972f===_0x3c8073)break;else _0x2fe1b6['push'](_0x2fe1b6['shift']());}catch(_0x8b51e3){_0x2fe1b6['push'](_0x2fe1b6['shift']());}}}(_0x5d0c,0x76423));import{getTranslation as _0x34ad29}from'../../utils/common-translations.js';function _0x5d0c(){const _0x1a4fb7=['toggleShowChanges','18CxlDEM','93306YfjvFY','20632MbjDmj','2192136RAcKaJ','execute','showDiff','setTemplate','ck-ai-suggestion__header','7WhxfQn','2904456bLQzAM','514940iZPHBP','set','showHeader','AI_SUGGESTION_BUTTON_SHOW_CHANGES','fire','content','ck-hidden','45xqHsFm','children','AI_SUGGESTION_HEADER_TITLE','filter','render','isShowChangesToggleVisible','bind','6167590vgGxPB','showChangesToggleView','span','2pnGyON','iconView','add','ck-ai-suggestion__header__show-changes-toggle','div','isVisible','224980dVEFEC','isOn','icon','remove'];_0x5d0c=function(){return _0x1a4fb7;};return _0x5d0c();}import{ButtonView as _0x2dd6be,IconView as _0x30b577,View as _0x557cd1}from'ckeditor5/src/ui.js';import{IconDocument as _0x313edd,IconShowChangesOff as _0x2d3310,IconShowChangesOn as _0x5384bb}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x557cd1{[_0x5f2aed(0x218)];constructor(_0x23f795,_0x36d422){const _0xfa4e67=_0x5f2aed;super(_0x23f795),this[_0xfa4e67(0x20a)](_0xfa4e67(0x215),!0x0),this[_0xfa4e67(0x218)]=new ShowChangesToggleView(_0x23f795),this[_0xfa4e67(0x218)][_0xfa4e67(0x20a)]({'class':_0xfa4e67(0x1f7),'label':_0x34ad29(_0x23f795,_0xfa4e67(0x20c)),'withText':!0x0}),this[_0xfa4e67(0x218)][_0xfa4e67(0x1fb)]=_0x36d422[_0xfa4e67(0x204)],this[_0xfa4e67(0x218)][_0xfa4e67(0x216)](_0xfa4e67(0x1f9))['to'](this,_0xfa4e67(0x215)),this[_0xfa4e67(0x218)][_0xfa4e67(0x216)](_0xfa4e67(0x1fc))['to'](this[_0xfa4e67(0x218)],_0xfa4e67(0x1fb),_0x5575d1=>_0x5575d1?_0x5384bb:_0x2d3310),this[_0xfa4e67(0x218)]['on'](_0xfa4e67(0x203),()=>{const _0x4d50d0=_0xfa4e67;this[_0x4d50d0(0x218)][_0x4d50d0(0x1fb)]=!this[_0x4d50d0(0x218)][_0x4d50d0(0x1fb)],this[_0x4d50d0(0x20d)](_0x4d50d0(0x1fe),{'isOn':this[_0x4d50d0(0x218)][_0x4d50d0(0x1fb)]});});const _0x1a9739=new _0x30b577();_0x1a9739[_0xfa4e67(0x20e)]=_0x313edd,this[_0xfa4e67(0x205)]({'tag':_0xfa4e67(0x1f8),'attributes':{'class':['ck',_0xfa4e67(0x206),!0x1===_0x36d422[_0xfa4e67(0x20b)]?_0xfa4e67(0x20f):null][_0xfa4e67(0x213)](Boolean)},'children':[_0x1a9739,{'tag':_0xfa4e67(0x219),'children':[_0x34ad29(_0x23f795,_0xfa4e67(0x212))]},this[_0xfa4e67(0x218)]]});}}function _0x2f8b(_0x578736,_0x282f4a){const _0x5d0c5b=_0x5d0c();return _0x2f8b=function(_0x2f8b35,_0x53203d){_0x2f8b35=_0x2f8b35-0x1f4;let _0x31b255=_0x5d0c5b[_0x2f8b35];return _0x31b255;},_0x2f8b(_0x578736,_0x282f4a);}export class ShowChangesToggleView extends _0x2dd6be{[_0x5f2aed(0x214)](){const _0x35cfc3=_0x5f2aed;super[_0x35cfc3(0x214)](),this[_0x35cfc3(0x211)][_0x35cfc3(0x1fd)](this[_0x35cfc3(0x1f5)]),this[_0x35cfc3(0x211)][_0x35cfc3(0x1f6)](this[_0x35cfc3(0x1f5)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x689a5e,_0x1cd18c){const _0x3b6265=_0x149b,_0x987397=_0x689a5e();while(!![]){try{const _0x4eae36=-parseInt(_0x3b6265(0x12b))/0x1*(parseInt(_0x3b6265(0x13d))/0x2)+parseInt(_0x3b6265(0x139))/0x3+parseInt(_0x3b6265(0x12d))/0x4+parseInt(_0x3b6265(0x135))/0x5+-parseInt(_0x3b6265(0x12a))/0x6+-parseInt(_0x3b6265(0x12e))/0x7*(parseInt(_0x3b6265(0x132))/0x8)+-parseInt(_0x3b6265(0x12c))/0x9*(-parseInt(_0x3b6265(0x12f))/0xa);if(_0x4eae36===_0x1cd18c)break;else _0x987397['push'](_0x987397['shift']());}catch(_0x257f26){_0x987397['push'](_0x987397['shift']());}}}(_0x5d97,0xd1cd5));import{ButtonView as _0x295319}from'ckeditor5/src/ui.js';import{IconMaximize as _0x39dacb,IconMinimize as _0x338756}from'ckeditor5/src/icons.js';import{getTranslation as _0x38e325}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x567543,_0x55b077){const _0x586aa7=_0x149b,_0x4ebf51=new _0x295319(_0x567543),_0x3690aa=_0x38e325(_0x567543,_0x586aa7(0x134)),_0x2799a7=_0x38e325(_0x567543,_0x586aa7(0x129));return _0x4ebf51[_0x586aa7(0x138)]({'withText':!0x1,'icon':_0x39dacb,'tooltip':!0x0,'class':_0x586aa7(0x131)}),_0x4ebf51[_0x586aa7(0x13b)](_0x586aa7(0x137))['to'](_0x55b077,_0x586aa7(0x136),_0x291654=>_0x291654?_0x3690aa:_0x2799a7),_0x4ebf51[_0x586aa7(0x13b)](_0x586aa7(0x13e))['to'](_0x55b077,_0x586aa7(0x136),_0x1ff6fa=>_0x1ff6fa?_0x338756:_0x39dacb),_0x4ebf51[_0x586aa7(0x13b)](_0x586aa7(0x13a))['to'](_0x55b077,_0x586aa7(0x136)),_0x4ebf51['on'](_0x586aa7(0x133),()=>{const _0x465c01=_0x586aa7;_0x55b077[_0x465c01(0x13c)](_0x465c01(0x130));}),_0x4ebf51;}function _0x149b(_0x3df9cf,_0x5bcae7){const _0x5d975d=_0x5d97();return _0x149b=function(_0x149b71,_0x1d715d){_0x149b71=_0x149b71-0x129;let _0x296cfd=_0x5d975d[_0x149b71];return _0x296cfd;},_0x149b(_0x3df9cf,_0x5bcae7);}function _0x5d97(){const _0x37de98=['1531158vurlqM','isOn','bind','fire','6fvDdBX','icon','AI_TABS_LABEL_MAXIMIZE','1061526UtWjgO','246033xaQLLb','1894041AFHmeU','2034032wZEhwO','413zWXNRk','40JHRuBc','resizeTabs','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','141808vyJQFm','execute','AI_TABS_LABEL_MINIMIZE','4797565ufjhZy','isMaximized','label','set'];_0x5d97=function(){return _0x37de98;};return _0x5d97();}
23
+ (function(_0x1f33b8,_0x184696){const _0x4a09ab=_0x4073,_0x243138=_0x1f33b8();while(!![]){try{const _0x5eaa72=parseInt(_0x4a09ab(0xc5))/0x1+parseInt(_0x4a09ab(0xc1))/0x2*(-parseInt(_0x4a09ab(0xbe))/0x3)+-parseInt(_0x4a09ab(0xcb))/0x4*(parseInt(_0x4a09ab(0xb5))/0x5)+-parseInt(_0x4a09ab(0xc0))/0x6*(-parseInt(_0x4a09ab(0xc2))/0x7)+parseInt(_0x4a09ab(0xc4))/0x8*(parseInt(_0x4a09ab(0xc7))/0x9)+-parseInt(_0x4a09ab(0xb9))/0xa*(parseInt(_0x4a09ab(0xb8))/0xb)+-parseInt(_0x4a09ab(0xc6))/0xc*(-parseInt(_0x4a09ab(0xba))/0xd);if(_0x5eaa72===_0x184696)break;else _0x243138['push'](_0x243138['shift']());}catch(_0x34451e){_0x243138['push'](_0x243138['shift']());}}}(_0x5a52,0xb944b));import{ButtonView as _0x1361f0}from'ckeditor5/src/ui.js';import{IconMaximize as _0x361664,IconMinimize as _0x5c4410}from'ckeditor5/src/icons.js';function _0x5a52(){const _0x50ea2f=['914yoAYjn','154427DQddnt','label','16MgCamS','11847SUhWnr','60BNEmdu','718569sOEPws','isOn','execute','set','8CRKVQH','bind','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','320455yhecji','icon','AI_TABS_LABEL_MAXIMIZE','99jkstvL','1466540aKAQoe','4949243UoVXUj','fire','isMaximized','AI_TABS_LABEL_MINIMIZE','6810HpDtJW','resizeTabs','318upAjNs'];_0x5a52=function(){return _0x50ea2f;};return _0x5a52();}function _0x4073(_0x54c11b,_0xa48abe){const _0x5a52a0=_0x5a52();return _0x4073=function(_0x407375,_0x593108){_0x407375=_0x407375-0xb5;let _0x2f9192=_0x5a52a0[_0x407375];return _0x2f9192;},_0x4073(_0x54c11b,_0xa48abe);}import{getTranslation as _0x709c8e}from'../../aicore/utils/common-translations.js';export function createResizeButton(_0x490f0e,_0x13e032){const _0x56d3fc=_0x4073,_0x962b1c=new _0x1361f0(_0x490f0e),_0x2ab6df=_0x709c8e(_0x490f0e,_0x56d3fc(0xbd)),_0x4a69b7=_0x709c8e(_0x490f0e,_0x56d3fc(0xb7));return _0x962b1c[_0x56d3fc(0xca)]({'withText':!0x1,'icon':_0x361664,'tooltip':!0x0,'class':_0x56d3fc(0xcd)}),_0x962b1c[_0x56d3fc(0xcc)](_0x56d3fc(0xc3))['to'](_0x13e032,_0x56d3fc(0xbc),_0x307b7d=>_0x307b7d?_0x2ab6df:_0x4a69b7),_0x962b1c[_0x56d3fc(0xcc)](_0x56d3fc(0xb6))['to'](_0x13e032,_0x56d3fc(0xbc),_0x7cc6af=>_0x7cc6af?_0x5c4410:_0x361664),_0x962b1c[_0x56d3fc(0xcc)](_0x56d3fc(0xc8))['to'](_0x13e032,_0x56d3fc(0xbc)),_0x962b1c['on'](_0x56d3fc(0xc9),()=>{const _0x4c2283=_0x56d3fc;_0x13e032[_0x4c2283(0xbb)](_0x4c2283(0xbf));}),_0x962b1c;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cf40c=_0x35d3;(function(_0x323811,_0x535079){const _0x32f865=_0x35d3,_0x39a713=_0x323811();while(!![]){try{const _0x22f3c5=-parseInt(_0x32f865(0x1aa))/0x1+-parseInt(_0x32f865(0x1be))/0x2*(parseInt(_0x32f865(0x1a4))/0x3)+-parseInt(_0x32f865(0x19e))/0x4+parseInt(_0x32f865(0x1a9))/0x5*(-parseInt(_0x32f865(0x1b1))/0x6)+-parseInt(_0x32f865(0x1b9))/0x7*(parseInt(_0x32f865(0x1ac))/0x8)+parseInt(_0x32f865(0x1bb))/0x9*(-parseInt(_0x32f865(0x1b2))/0xa)+-parseInt(_0x32f865(0x1a6))/0xb*(-parseInt(_0x32f865(0x1b5))/0xc);if(_0x22f3c5===_0x535079)break;else _0x39a713['push'](_0x39a713['shift']());}catch(_0x418bea){_0x39a713['push'](_0x39a713['shift']());}}}(_0x16a2,0x7b09a));function _0x16a2(){const _0x1be580=['4938iwTtXp','880vlhpwb','data','slice','144zgMBAP','createAt','indexOf','previousNode','94059bZbWct','createFromPath','7029oEVucm','isEqual','match','80JCfbvK','createAfter','path','2740108oGhkZv','getNudgedToWordBoundary','parent','length','same','ai-documentposition-createfrompath-path-cannot-be-empty','37953HvKVRp','nextNode','2844721vhlDoV','end','start','3290pceRdp','72443aBrCdj','index','432PUzxQI','document','reduce','ai-documentposition-index-out-of-bounds','createBefore'];_0x16a2=function(){return _0x1be580;};return _0x16a2();}import{CKEditorError as _0x3003bb,compareArrays as _0xe160eb}from'ckeditor5/src/utils.js';function _0x35d3(_0x489fbf,_0x20b1df){const _0x16a2c9=_0x16a2();return _0x35d3=function(_0x35d343,_0x2ec423){_0x35d343=_0x35d343-0x19c;let _0x34c39e=_0x16a2c9[_0x35d343];return _0x34c39e;},_0x35d3(_0x489fbf,_0x20b1df);}import{getNodePath as _0x274611,isText as _0xb3f549,getChildren as _0x46f856,isDocument as _0x1b8e5f,getParent as _0x5d4f5b,textContent as _0x417f42,hasChildren as _0x27ee72}from'./htmlparser.js';export class DocumentPosition{[_0x3cf40c(0x1a0)];[_0x3cf40c(0x1ab)];[_0x3cf40c(0x1ad)];constructor(_0x339ccc,_0x5637b5,_0x433938){const _0x21bf48=_0x3cf40c;if(_0xb3f549(_0x5637b5)&&_0x433938>_0x5637b5[_0x21bf48(0x1b3)][_0x21bf48(0x1a1)])throw new _0x3003bb(_0x21bf48(0x1af),null,{'index':_0x433938,'parent':_0x5637b5});if(_0x27ee72(_0x5637b5)&&_0x433938>_0x46f856(_0x5637b5)[_0x21bf48(0x1a1)])throw new _0x3003bb(_0x21bf48(0x1af),null,{'index':_0x433938,'parent':_0x5637b5});if(_0x433938<0x0)throw new _0x3003bb(_0x21bf48(0x1af),null,{'index':_0x433938,'parent':_0x5637b5});this[_0x21bf48(0x1a0)]=_0x5637b5,this[_0x21bf48(0x1ab)]=_0x433938,this[_0x21bf48(0x1ad)]=_0x339ccc;}get[_0x3cf40c(0x19d)](){const _0x202e6c=_0x3cf40c;return[..._0x274611(this[_0x202e6c(0x1a0)]),this[_0x202e6c(0x1ab)]];}[_0x3cf40c(0x1bc)](_0x100e18){const _0x3c939c=_0x3cf40c;return this[_0x3c939c(0x1ad)]==_0x100e18[_0x3c939c(0x1ad)]&&_0x3c939c(0x1a2)===_0xe160eb(this[_0x3c939c(0x19d)],_0x100e18[_0x3c939c(0x19d)]);}get[_0x3cf40c(0x1a5)](){const _0x197ae4=_0x3cf40c;if(_0x27ee72(this[_0x197ae4(0x1a0)])){const _0x28a541=_0x46f856(this[_0x197ae4(0x1a0)])[this[_0x197ae4(0x1ab)]];if(_0x28a541)return _0x28a541;{const _0x5ef370=DocumentPosition[_0x197ae4(0x19c)](this[_0x197ae4(0x1ad)],this[_0x197ae4(0x1a0)]);if(_0x5ef370)return _0x5ef370[_0x197ae4(0x1a5)];}}return null;}get[_0x3cf40c(0x1b8)](){const _0x910cec=_0x3cf40c;if(_0x27ee72(this[_0x910cec(0x1a0)])){const _0x55704e=_0x46f856(this[_0x910cec(0x1a0)])[this[_0x910cec(0x1ab)]-0x1];if(_0x55704e)return _0x55704e;{const _0x4353bf=DocumentPosition[_0x910cec(0x1b0)](this[_0x910cec(0x1ad)],this[_0x910cec(0x1a0)]);if(_0x4353bf)return _0x4353bf[_0x910cec(0x1b8)];}}return null;}[_0x3cf40c(0x19f)](_0x57ef5b=_0x3cf40c(0x1a8)){const _0x3be38c=_0x3cf40c;if(!_0xb3f549(this[_0x3be38c(0x1a0)]))return this;const _0x10ac1c=this[_0x3be38c(0x19d)][this[_0x3be38c(0x19d)][_0x3be38c(0x1a1)]-0x1],_0x2c7085=_0x417f42(this[_0x3be38c(0x1a0)])[_0x3be38c(0x1bd)](/(?:\s*\S+\s*)/g);let _0x3370c3=0x0,_0x207f66=_0x10ac1c;for(const _0x40cc8d of _0x2c7085){if(_0x3370c3+_0x40cc8d[_0x3be38c(0x1a1)]===_0x10ac1c)return this;if(_0x3370c3+_0x40cc8d[_0x3be38c(0x1a1)]>_0x10ac1c){_0x207f66=_0x3be38c(0x1a8)===_0x57ef5b?_0x3370c3:_0x3370c3+_0x40cc8d[_0x3be38c(0x1a1)];break;}_0x3370c3+=_0x40cc8d[_0x3be38c(0x1a1)];}return DocumentPosition[_0x3be38c(0x1b6)](this[_0x3be38c(0x1ad)],this[_0x3be38c(0x1a0)],_0x207f66);}static[_0x3cf40c(0x19c)](_0x5c56f0,_0x1d8629){const _0xc35414=_0x3cf40c;if(_0x1b8e5f(_0x1d8629))return null;const _0x36c2ba=_0x5d4f5b(_0x1d8629);return DocumentPosition[_0xc35414(0x1b6)](_0x5c56f0,_0x36c2ba,_0x46f856(_0x36c2ba)[_0xc35414(0x1b7)](_0x1d8629)+0x1);}static[_0x3cf40c(0x1b0)](_0x36863c,_0x1c45f4){const _0x3ba675=_0x3cf40c;if(_0x1b8e5f(_0x1c45f4))return null;const _0xb4713f=_0x5d4f5b(_0x1c45f4);return DocumentPosition[_0x3ba675(0x1b6)](_0x36863c,_0xb4713f,_0x46f856(_0xb4713f)[_0x3ba675(0x1b7)](_0x1c45f4));}static[_0x3cf40c(0x1b6)](_0x2a6a60,_0x5196c6,_0x23fb5c=_0x3cf40c(0x1a8)){const _0x28fec9=_0x3cf40c;return new DocumentPosition(_0x2a6a60,_0x5196c6,_0x28fec9(0x1a8)===_0x23fb5c?0x0:_0x28fec9(0x1a7)===_0x23fb5c?_0xb3f549(_0x5196c6)?_0x5196c6[_0x28fec9(0x1b3)][_0x28fec9(0x1a1)]:_0x46f856(_0x5196c6)[_0x28fec9(0x1a1)]:_0x23fb5c);}static[_0x3cf40c(0x1ba)](_0x38f0b3,_0x4a200e){const _0x23f043=_0x3cf40c;if(!_0x4a200e[_0x23f043(0x1a1)])throw new _0x3003bb(_0x23f043(0x1a3),null,{'path':_0x4a200e});const _0x25b210=_0x4a200e[_0x23f043(0x1b4)](0x0,-0x1)[_0x23f043(0x1ae)]((_0x2227d6,_0x12ca19)=>_0xb3f549(_0x2227d6)?_0x2227d6:_0x46f856(_0x2227d6)[_0x12ca19],_0x38f0b3);return DocumentPosition[_0x23f043(0x1b6)](_0x38f0b3,_0x25b210,_0x4a200e[_0x4a200e[_0x23f043(0x1a1)]-0x1]);}}
23
+ const _0x1a5ab4=_0x483e;(function(_0x579bdf,_0x9824cf){const _0x42b442=_0x483e,_0x152815=_0x579bdf();while(!![]){try{const _0x4e3a28=-parseInt(_0x42b442(0x7f))/0x1+parseInt(_0x42b442(0x8e))/0x2+parseInt(_0x42b442(0x92))/0x3+parseInt(_0x42b442(0x84))/0x4+-parseInt(_0x42b442(0x80))/0x5*(-parseInt(_0x42b442(0x89))/0x6)+parseInt(_0x42b442(0x8a))/0x7*(-parseInt(_0x42b442(0x94))/0x8)+-parseInt(_0x42b442(0x8d))/0x9*(parseInt(_0x42b442(0x91))/0xa);if(_0x4e3a28===_0x9824cf)break;else _0x152815['push'](_0x152815['shift']());}catch(_0x22e54a){_0x152815['push'](_0x152815['shift']());}}}(_0x58b8,0xea183));import{CKEditorError as _0x2a180b,compareArrays as _0x3faf02}from'ckeditor5/src/utils.js';function _0x483e(_0x67e3dc,_0x4abb42){const _0x58b8cd=_0x58b8();return _0x483e=function(_0x483e38,_0x34e9a0){_0x483e38=_0x483e38-0x7d;let _0x57c190=_0x58b8cd[_0x483e38];return _0x57c190;},_0x483e(_0x67e3dc,_0x4abb42);}import{getNodePath as _0x25b18a,isText as _0x490733,getChildren as _0x465039,isDocument as _0x2ddeb5,getParent as _0x471a76,textContent as _0x434082,hasChildren as _0x23d56d}from'./htmlparser.js';export class DocumentPosition{[_0x1a5ab4(0x82)];[_0x1a5ab4(0x9d)];[_0x1a5ab4(0x96)];constructor(_0x33ee36,_0x44753d,_0x160ef6){const _0x3eab42=_0x1a5ab4;if(_0x490733(_0x44753d)&&_0x160ef6>_0x44753d[_0x3eab42(0x81)][_0x3eab42(0x93)])throw new _0x2a180b(_0x3eab42(0x86),null,{'index':_0x160ef6,'parent':_0x44753d});if(_0x23d56d(_0x44753d)&&_0x160ef6>_0x465039(_0x44753d)[_0x3eab42(0x93)])throw new _0x2a180b(_0x3eab42(0x86),null,{'index':_0x160ef6,'parent':_0x44753d});if(_0x160ef6<0x0)throw new _0x2a180b(_0x3eab42(0x86),null,{'index':_0x160ef6,'parent':_0x44753d});this[_0x3eab42(0x82)]=_0x44753d,this[_0x3eab42(0x9d)]=_0x160ef6,this[_0x3eab42(0x96)]=_0x33ee36;}get[_0x1a5ab4(0x9a)](){const _0x333b1e=_0x1a5ab4;return[..._0x25b18a(this[_0x333b1e(0x82)]),this[_0x333b1e(0x9d)]];}[_0x1a5ab4(0x87)](_0x2ffed3){const _0x2df260=_0x1a5ab4;return this[_0x2df260(0x96)]==_0x2ffed3[_0x2df260(0x96)]&&_0x2df260(0x99)===_0x3faf02(this[_0x2df260(0x9a)],_0x2ffed3[_0x2df260(0x9a)]);}get[_0x1a5ab4(0x97)](){const _0x4f52b1=_0x1a5ab4;if(_0x23d56d(this[_0x4f52b1(0x82)])){const _0xc7d1e4=_0x465039(this[_0x4f52b1(0x82)])[this[_0x4f52b1(0x9d)]];if(_0xc7d1e4)return _0xc7d1e4;{const _0x2a94fb=DocumentPosition[_0x4f52b1(0x83)](this[_0x4f52b1(0x96)],this[_0x4f52b1(0x82)]);if(_0x2a94fb)return _0x2a94fb[_0x4f52b1(0x97)];}}return null;}get[_0x1a5ab4(0x95)](){const _0x541ee7=_0x1a5ab4;if(_0x23d56d(this[_0x541ee7(0x82)])){const _0x5f50b7=_0x465039(this[_0x541ee7(0x82)])[this[_0x541ee7(0x9d)]-0x1];if(_0x5f50b7)return _0x5f50b7;{const _0x45c3d7=DocumentPosition[_0x541ee7(0x7d)](this[_0x541ee7(0x96)],this[_0x541ee7(0x82)]);if(_0x45c3d7)return _0x45c3d7[_0x541ee7(0x95)];}}return null;}[_0x1a5ab4(0x8c)](_0x30fb2b=_0x1a5ab4(0x9c)){const _0x49a709=_0x1a5ab4;if(!_0x490733(this[_0x49a709(0x82)]))return this;const _0x1f25fb=this[_0x49a709(0x9a)][this[_0x49a709(0x9a)][_0x49a709(0x93)]-0x1],_0x265ecf=_0x434082(this[_0x49a709(0x82)])[_0x49a709(0x8f)](/(?:\s*\S+\s*)/g);let _0x19bbfe=0x0,_0x141a7c=_0x1f25fb;for(const _0x37facf of _0x265ecf){if(_0x19bbfe+_0x37facf[_0x49a709(0x93)]===_0x1f25fb)return this;if(_0x19bbfe+_0x37facf[_0x49a709(0x93)]>_0x1f25fb){_0x141a7c=_0x49a709(0x9c)===_0x30fb2b?_0x19bbfe:_0x19bbfe+_0x37facf[_0x49a709(0x93)];break;}_0x19bbfe+=_0x37facf[_0x49a709(0x93)];}return DocumentPosition[_0x49a709(0x98)](this[_0x49a709(0x96)],this[_0x49a709(0x82)],_0x141a7c);}static[_0x1a5ab4(0x83)](_0x1aee85,_0x534e69){const _0x493161=_0x1a5ab4;if(_0x2ddeb5(_0x534e69))return null;const _0xf26e57=_0x471a76(_0x534e69);return DocumentPosition[_0x493161(0x98)](_0x1aee85,_0xf26e57,_0x465039(_0xf26e57)[_0x493161(0x7e)](_0x534e69)+0x1);}static[_0x1a5ab4(0x7d)](_0x52fe66,_0x36f7ac){const _0x23f024=_0x1a5ab4;if(_0x2ddeb5(_0x36f7ac))return null;const _0x2843a7=_0x471a76(_0x36f7ac);return DocumentPosition[_0x23f024(0x98)](_0x52fe66,_0x2843a7,_0x465039(_0x2843a7)[_0x23f024(0x7e)](_0x36f7ac));}static[_0x1a5ab4(0x98)](_0x46788f,_0x58c538,_0x5d1fc0=_0x1a5ab4(0x9c)){const _0x381a04=_0x1a5ab4;return new DocumentPosition(_0x46788f,_0x58c538,_0x381a04(0x9c)===_0x5d1fc0?0x0:_0x381a04(0x90)===_0x5d1fc0?_0x490733(_0x58c538)?_0x58c538[_0x381a04(0x81)][_0x381a04(0x93)]:_0x465039(_0x58c538)[_0x381a04(0x93)]:_0x5d1fc0);}static[_0x1a5ab4(0x9b)](_0x231e42,_0x2e29fe){const _0x911196=_0x1a5ab4;if(!_0x2e29fe[_0x911196(0x93)])throw new _0x2a180b(_0x911196(0x8b),null,{'path':_0x2e29fe});const _0x1098de=_0x2e29fe[_0x911196(0x88)](0x0,-0x1)[_0x911196(0x85)]((_0x2c1fd5,_0x224891)=>_0x490733(_0x2c1fd5)?_0x2c1fd5:_0x465039(_0x2c1fd5)[_0x224891],_0x231e42);return DocumentPosition[_0x911196(0x98)](_0x231e42,_0x1098de,_0x2e29fe[_0x2e29fe[_0x911196(0x93)]-0x1]);}}function _0x58b8(){const _0x38bd4c=['document','nextNode','createAt','same','path','createFromPath','start','index','createBefore','indexOf','45455kWdlEh','5mBFXwB','data','parent','createAfter','3304180grLAsq','reduce','ai-documentposition-index-out-of-bounds','isEqual','slice','1185186caBlmn','7VYtYkV','ai-documentposition-createfrompath-path-cannot-be-empty','getNudgedToWordBoundary','3951YosYYD','2569526bwpDow','match','end','27980IhiNnB','2517819WBzSSS','length','7319872ZLLDIu','previousNode'];_0x58b8=function(){return _0x38bd4c;};return _0x58b8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1840(_0x390ba8,_0x7c82cb){const _0x509e96=_0x509e();return _0x1840=function(_0x1840ab,_0x455aa6){_0x1840ab=_0x1840ab-0x91;let _0x34e4e2=_0x509e96[_0x1840ab];return _0x34e4e2;},_0x1840(_0x390ba8,_0x7c82cb);}function _0x509e(){const _0x513ea1=['start','parent','766780JjpBCs','length','reverse','948340hrRLyH','1RVysjR','isEqual','lastChild','getNudgedToWordBoundary','nextNode','864992lPohDb','push','createBefore','9JDtobN','96374JNgwUg','forEach','getContent','data','previousNode','1444500UkccqO','document','firstChild','path','90681WQfMDq','includes','createFromPath','end','createAfter','1107694wXlptk','slice','createAt'];_0x509e=function(){return _0x513ea1;};return _0x509e();}const _0x32cbe0=_0x1840;(function(_0x583949,_0x3175b3){const _0x4d3876=_0x1840,_0x4673de=_0x583949();while(!![]){try{const _0x4e3137=-parseInt(_0x4d3876(0x93))/0x1*(parseInt(_0x4d3876(0x9c))/0x2)+-parseInt(_0x4d3876(0xa5))/0x3+parseInt(_0x4d3876(0x92))/0x4+parseInt(_0x4d3876(0xaf))/0x5+-parseInt(_0x4d3876(0xa1))/0x6+parseInt(_0x4d3876(0xaa))/0x7+parseInt(_0x4d3876(0x98))/0x8*(-parseInt(_0x4d3876(0x9b))/0x9);if(_0x4e3137===_0x3175b3)break;else _0x4673de['push'](_0x4673de['shift']());}catch(_0x129b05){_0x4673de['push'](_0x4673de['shift']());}}}(_0x509e,0x1da33));import{DocumentPosition as _0x11722f}from'./documentposition.js';import{clone as _0x4aecbf,getParents as _0x479ca4,Document as _0x48327e,Text as _0x5595b4,isTag as _0x408c67,isText as _0x5c03e1,replaceElement as _0x449016,removeElement as _0x34eb39}from'./htmlparser.js';export class DocumentRange{[_0x32cbe0(0xad)];[_0x32cbe0(0xa8)];constructor(_0x44dd65,_0x469332){const _0x4109d3=_0x32cbe0;this[_0x4109d3(0xad)]=_0x44dd65,this[_0x4109d3(0xa8)]=_0x469332;}[_0x32cbe0(0x94)](_0x2f32eb){const _0x54e43b=_0x32cbe0;return this==_0x2f32eb||this[_0x54e43b(0xad)][_0x54e43b(0x94)](_0x2f32eb[_0x54e43b(0xad)])&&this[_0x54e43b(0xa8)][_0x54e43b(0x94)](_0x2f32eb[_0x54e43b(0xa8)]);}[_0x32cbe0(0x96)](){const _0x4d6e43=_0x32cbe0;return new DocumentRange(this[_0x4d6e43(0xad)][_0x4d6e43(0x96)](_0x4d6e43(0xad)),this[_0x4d6e43(0xa8)][_0x4d6e43(0x96)](_0x4d6e43(0xa8)));}[_0x32cbe0(0x9e)](){const _0x3334ec=_0x32cbe0,_0x70c8f1=_0x4aecbf(this[_0x3334ec(0xad)][_0x3334ec(0xa2)]),_0x4da0e2=_0x11722f[_0x3334ec(0xa7)](_0x70c8f1,this[_0x3334ec(0xad)][_0x3334ec(0xa4)]),_0x4a23de=_0x11722f[_0x3334ec(0xa7)](_0x70c8f1,this[_0x3334ec(0xa8)][_0x3334ec(0xa4)]);let _0x141a2c,_0x40e5f6;if(_0x5c03e1(_0x4da0e2[_0x3334ec(0xae)])){const _0xaf5083=_0x4da0e2[_0x3334ec(0xa4)][_0x4da0e2[_0x3334ec(0xa4)][_0x3334ec(0xb0)]-0x1],_0x166878=new _0x5595b4(_0x4da0e2[_0x3334ec(0xae)][_0x3334ec(0x9f)][_0x3334ec(0xab)](_0xaf5083));_0x449016(_0x4da0e2[_0x3334ec(0xae)],_0x166878),_0x141a2c=_0x166878;}else _0x141a2c=_0x4da0e2[_0x3334ec(0x97)];if(_0x5c03e1(_0x4a23de[_0x3334ec(0xae)])){const _0x41c0c7=_0x4a23de[_0x3334ec(0xa4)][_0x4a23de[_0x3334ec(0xa4)][_0x3334ec(0xb0)]-0x1],_0x54cd6c=new _0x5595b4(_0x4a23de[_0x3334ec(0xae)][_0x3334ec(0x9f)][_0x3334ec(0xab)](0x0,_0x41c0c7));_0x449016(_0x4a23de[_0x3334ec(0xae)],_0x54cd6c),_0x40e5f6=_0x54cd6c;}else _0x40e5f6=_0x4a23de[_0x3334ec(0xa0)];if(!(_0x141a2c&&_0x40e5f6&&_0x70c8f1[_0x3334ec(0xa3)]&&_0x70c8f1[_0x3334ec(0x95)]))return new _0x48327e([]);const _0x4c185e=_0x479ca4(_0x141a2c),_0x5c1910=_0x479ca4(_0x40e5f6),_0x427aad=[],_0x1582a4=[];let _0x5b7ad1=_0x70c8f1[_0x3334ec(0xa3)];for(;_0x5b7ad1&&_0x5b7ad1!==_0x141a2c;){let _0x491a90;_0x4c185e[_0x3334ec(0xa6)](_0x5b7ad1)||_0x427aad[_0x3334ec(0x99)](_0x5b7ad1),_0x491a90=_0x408c67(_0x5b7ad1)?_0x11722f[_0x3334ec(0xac)](_0x70c8f1,_0x5b7ad1,_0x3334ec(0xad)):_0x11722f[_0x3334ec(0xa9)](_0x70c8f1,_0x5b7ad1),_0x5b7ad1=_0x491a90?_0x491a90[_0x3334ec(0x97)]:null;}for(_0x5b7ad1=_0x70c8f1[_0x3334ec(0x95)];_0x5b7ad1&&_0x5b7ad1!==_0x40e5f6;){let _0x1ab4a2;_0x5c1910[_0x3334ec(0xa6)](_0x5b7ad1)||_0x1582a4[_0x3334ec(0x99)](_0x5b7ad1),_0x1ab4a2=_0x408c67(_0x5b7ad1)?_0x11722f[_0x3334ec(0xac)](_0x70c8f1,_0x5b7ad1,_0x3334ec(0xa8)):_0x11722f[_0x3334ec(0x9a)](_0x70c8f1,_0x5b7ad1),_0x5b7ad1=_0x1ab4a2?_0x1ab4a2[_0x3334ec(0xa0)]:null;}return _0x427aad[_0x3334ec(0x9d)](_0x375c15=>{_0x34eb39(_0x375c15);}),_0x1582a4[_0x3334ec(0x91)]()[_0x3334ec(0x9d)](_0x1b9cb4=>{_0x34eb39(_0x1b9cb4);}),_0x70c8f1;}}
23
+ const _0x3f64a9=_0xff4a;(function(_0x59db05,_0x2e14e8){const _0xce542=_0xff4a,_0x491fe7=_0x59db05();while(!![]){try{const _0x3f826c=-parseInt(_0xce542(0x195))/0x1+parseInt(_0xce542(0x187))/0x2*(parseInt(_0xce542(0x193))/0x3)+parseInt(_0xce542(0x180))/0x4*(-parseInt(_0xce542(0x17d))/0x5)+parseInt(_0xce542(0x183))/0x6+parseInt(_0xce542(0x182))/0x7+-parseInt(_0xce542(0x196))/0x8+parseInt(_0xce542(0x17e))/0x9*(parseInt(_0xce542(0x18f))/0xa);if(_0x3f826c===_0x2e14e8)break;else _0x491fe7['push'](_0x491fe7['shift']());}catch(_0x82d648){_0x491fe7['push'](_0x491fe7['shift']());}}}(_0x5d2b,0xa9042));import{DocumentPosition as _0x41fd66}from'./documentposition.js';import{clone as _0x48c107,getParents as _0x18ab5e,Document as _0x59b115,Text as _0x3a30a5,isTag as _0x272ebf,isText as _0x22a364,replaceElement as _0x231322,removeElement as _0x4e9ab8}from'./htmlparser.js';function _0xff4a(_0xc910bb,_0x2fdce5){const _0x5d2bad=_0x5d2b();return _0xff4a=function(_0xff4a94,_0x340c43){_0xff4a94=_0xff4a94-0x17a;let _0x54ce2a=_0x5d2bad[_0xff4a94];return _0x54ce2a;},_0xff4a(_0xc910bb,_0x2fdce5);}export class DocumentRange{[_0x3f64a9(0x192)];[_0x3f64a9(0x198)];constructor(_0x457c72,_0x263094){const _0x226178=_0x3f64a9;this[_0x226178(0x192)]=_0x457c72,this[_0x226178(0x198)]=_0x263094;}[_0x3f64a9(0x188)](_0x41cb3e){const _0x550fb6=_0x3f64a9;return this==_0x41cb3e||this[_0x550fb6(0x192)][_0x550fb6(0x188)](_0x41cb3e[_0x550fb6(0x192)])&&this[_0x550fb6(0x198)][_0x550fb6(0x188)](_0x41cb3e[_0x550fb6(0x198)]);}[_0x3f64a9(0x189)](){const _0x5922f4=_0x3f64a9;return new DocumentRange(this[_0x5922f4(0x192)][_0x5922f4(0x189)](_0x5922f4(0x192)),this[_0x5922f4(0x198)][_0x5922f4(0x189)](_0x5922f4(0x198)));}[_0x3f64a9(0x18b)](){const _0x86c0d7=_0x3f64a9,_0x11b772=_0x48c107(this[_0x86c0d7(0x192)][_0x86c0d7(0x17b)]),_0x55ad50=_0x41fd66[_0x86c0d7(0x17f)](_0x11b772,this[_0x86c0d7(0x192)][_0x86c0d7(0x199)]),_0x69de59=_0x41fd66[_0x86c0d7(0x17f)](_0x11b772,this[_0x86c0d7(0x198)][_0x86c0d7(0x199)]);let _0x496a4c,_0x390356;if(_0x22a364(_0x55ad50[_0x86c0d7(0x18a)])){const _0xd9378e=_0x55ad50[_0x86c0d7(0x199)][_0x55ad50[_0x86c0d7(0x199)][_0x86c0d7(0x194)]-0x1],_0x34a6e9=new _0x3a30a5(_0x55ad50[_0x86c0d7(0x18a)][_0x86c0d7(0x18e)][_0x86c0d7(0x19a)](_0xd9378e));_0x231322(_0x55ad50[_0x86c0d7(0x18a)],_0x34a6e9),_0x496a4c=_0x34a6e9;}else _0x496a4c=_0x55ad50[_0x86c0d7(0x185)];if(_0x22a364(_0x69de59[_0x86c0d7(0x18a)])){const _0x1e7c6d=_0x69de59[_0x86c0d7(0x199)][_0x69de59[_0x86c0d7(0x199)][_0x86c0d7(0x194)]-0x1],_0x17e22c=new _0x3a30a5(_0x69de59[_0x86c0d7(0x18a)][_0x86c0d7(0x18e)][_0x86c0d7(0x19a)](0x0,_0x1e7c6d));_0x231322(_0x69de59[_0x86c0d7(0x18a)],_0x17e22c),_0x390356=_0x17e22c;}else _0x390356=_0x69de59[_0x86c0d7(0x181)];if(!(_0x496a4c&&_0x390356&&_0x11b772[_0x86c0d7(0x17c)]&&_0x11b772[_0x86c0d7(0x18c)]))return new _0x59b115([]);const _0x530729=_0x18ab5e(_0x496a4c),_0xd0a494=_0x18ab5e(_0x390356),_0x77bfef=[],_0x2b77db=[];let _0x51319b=_0x11b772[_0x86c0d7(0x17c)];for(;_0x51319b&&_0x51319b!==_0x496a4c;){let _0x37f15b;_0x530729[_0x86c0d7(0x191)](_0x51319b)||_0x77bfef[_0x86c0d7(0x184)](_0x51319b),_0x37f15b=_0x272ebf(_0x51319b)?_0x41fd66[_0x86c0d7(0x190)](_0x11b772,_0x51319b,_0x86c0d7(0x192)):_0x41fd66[_0x86c0d7(0x17a)](_0x11b772,_0x51319b),_0x51319b=_0x37f15b?_0x37f15b[_0x86c0d7(0x185)]:null;}for(_0x51319b=_0x11b772[_0x86c0d7(0x18c)];_0x51319b&&_0x51319b!==_0x390356;){let _0x505876;_0xd0a494[_0x86c0d7(0x191)](_0x51319b)||_0x2b77db[_0x86c0d7(0x184)](_0x51319b),_0x505876=_0x272ebf(_0x51319b)?_0x41fd66[_0x86c0d7(0x190)](_0x11b772,_0x51319b,_0x86c0d7(0x198)):_0x41fd66[_0x86c0d7(0x197)](_0x11b772,_0x51319b),_0x51319b=_0x505876?_0x505876[_0x86c0d7(0x181)]:null;}return _0x77bfef[_0x86c0d7(0x186)](_0x368784=>{_0x4e9ab8(_0x368784);}),_0x2b77db[_0x86c0d7(0x18d)]()[_0x86c0d7(0x186)](_0x35b3a2=>{_0x4e9ab8(_0x35b3a2);}),_0x11b772;}}function _0x5d2b(){const _0x18ce94=['getNudgedToWordBoundary','parent','getContent','lastChild','reverse','data','2733690dzMfQl','createAt','includes','start','9UwCljO','length','685896uSftzy','5252240yettTf','createBefore','end','path','slice','createAfter','document','firstChild','1060325DtgFcS','27vOLJHG','createFromPath','16GcRNUk','previousNode','8775396pvIlSx','2598156EtvUoD','push','nextNode','forEach','250810WPnGgj','isEqual'];_0x5d2b=function(){return _0x18ce94;};return _0x5d2b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5c0e1e,_0x33dd56){var _0x40a767=_0x2c77,_0x3e30bf=_0x5c0e1e();while(!![]){try{var _0x3ec901=parseInt(_0x40a767(0x128))/0x1+parseInt(_0x40a767(0x122))/0x2+-parseInt(_0x40a767(0x11c))/0x3*(parseInt(_0x40a767(0x12a))/0x4)+-parseInt(_0x40a767(0x126))/0x5*(parseInt(_0x40a767(0x120))/0x6)+parseInt(_0x40a767(0x129))/0x7+-parseInt(_0x40a767(0x11e))/0x8+parseInt(_0x40a767(0x121))/0x9;if(_0x3ec901===_0x33dd56)break;else _0x3e30bf['push'](_0x3e30bf['shift']());}catch(_0x4fbc73){_0x3e30bf['push'](_0x3e30bf['shift']());}}}(_0x5d61,0xac593));import{CKEditorError as _0x309ac2}from'ckeditor5/src/utils.js';function _0x5d61(){var _0x2d1e91=['length','get','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','1510IeSTCv','ai-get-editor-from-context-no-editor','574751qnIOTk','9201710wGEOzO','20Mrnlwv','127893AicnLa','warn','9239184pYjIfL','editors','11166UlSVPE','5247792pnSptu','327290vIMBeZ'];_0x5d61=function(){return _0x2d1e91;};return _0x5d61();}import{Editor as _0x5461f1}from'ckeditor5/src/core.js';function _0x2c77(_0xd91b6a,_0x2c1532){var _0x5d615c=_0x5d61();return _0x2c77=function(_0x2c77b2,_0x48eeb4){_0x2c77b2=_0x2c77b2-0x11c;var _0x339134=_0x5d615c[_0x2c77b2];return _0x339134;},_0x2c77(_0xd91b6a,_0x2c1532);}export function getEditorFromContext(_0x8eb9b7){var _0x231cef=_0x2c77;if(_0x8eb9b7 instanceof _0x5461f1)return _0x8eb9b7;if(_0x8eb9b7?.[_0x231cef(0x11f)]&&_0x8eb9b7[_0x231cef(0x11f)][_0x231cef(0x124)](0x0))return _0x8eb9b7[_0x231cef(0x11f)][_0x231cef(0x123)]>0x1&&console[_0x231cef(0x11d)](_0x231cef(0x125)),_0x8eb9b7[_0x231cef(0x11f)][_0x231cef(0x124)](0x0);throw new _0x309ac2(_0x231cef(0x127));}
23
+ (function(_0x1a8965,_0x29c924){var _0x5b5198=_0xd158,_0x4ca30d=_0x1a8965();while(!![]){try{var _0x5d8bdf=-parseInt(_0x5b5198(0x9c))/0x1+parseInt(_0x5b5198(0x9f))/0x2+-parseInt(_0x5b5198(0xa2))/0x3*(parseInt(_0x5b5198(0xa1))/0x4)+parseInt(_0x5b5198(0x9e))/0x5+-parseInt(_0x5b5198(0xa9))/0x6*(parseInt(_0x5b5198(0xa3))/0x7)+-parseInt(_0x5b5198(0xa6))/0x8*(-parseInt(_0x5b5198(0x9a))/0x9)+parseInt(_0x5b5198(0x9d))/0xa*(parseInt(_0x5b5198(0xa7))/0xb);if(_0x5d8bdf===_0x29c924)break;else _0x4ca30d['push'](_0x4ca30d['shift']());}catch(_0x354ec8){_0x4ca30d['push'](_0x4ca30d['shift']());}}}(_0x1888,0x76f0b));function _0xd158(_0x43f664,_0x1d00d7){var _0x1888a5=_0x1888();return _0xd158=function(_0xd1580c,_0x556b62){_0xd1580c=_0xd1580c-0x9a;var _0x1e08bd=_0x1888a5[_0xd1580c];return _0x1e08bd;},_0xd158(_0x43f664,_0x1d00d7);}import{CKEditorError as _0x49e893}from'ckeditor5/src/utils.js';import{Editor as _0x5baf9e}from'ckeditor5/src/core.js';export function getEditorFromContext(_0x4cb200){var _0x1d43b0=_0xd158;if(_0x4cb200 instanceof _0x5baf9e)return _0x4cb200;if(_0x4cb200?.[_0x1d43b0(0xa4)]&&_0x4cb200[_0x1d43b0(0xa4)][_0x1d43b0(0xa0)](0x0))return _0x4cb200[_0x1d43b0(0xa4)][_0x1d43b0(0xa8)]>0x1&&console[_0x1d43b0(0x9b)](_0x1d43b0(0xa5)),_0x4cb200[_0x1d43b0(0xa4)][_0x1d43b0(0xa0)](0x0);throw new _0x49e893(_0x1d43b0(0xaa));}function _0x1888(){var _0x31a8ee=['1471515VAEbhj','740550PCmpeW','get','8pzdvXc','1135623RefgpX','6069GrvlCg','editors','AIChat:\x20Multiple\x20editor\x20instances\x20detected.\x20Only\x20the\x20first\x20editor\x20instance\x20will\x20be\x20used\x20for\x20AI\x20operations.\x20This\x20configuration\x20is\x20not\x20fully\x20supported\x20and\x20may\x20lead\x20to\x20unexpected\x20behavior.','2635120gLRbUA','42801rKmAlv','length','2826nhMuxQ','ai-get-editor-from-context-no-editor','9eRSxTb','warn','664290hykawh','3400sJmPxo'];_0x1888=function(){return _0x31a8ee;};return _0x1888();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2a68(_0xc5e7c7,_0x580b98){const _0x3dd46d=_0x3dd4();return _0x2a68=function(_0x2a6885,_0x33e213){_0x2a6885=_0x2a6885-0x118;let _0x5f1bb5=_0x3dd46d[_0x2a6885];return _0x5f1bb5;},_0x2a68(_0xc5e7c7,_0x580b98);}(function(_0x21f6d9,_0x110b59){const _0x1dbd27=_0x2a68,_0x18f190=_0x21f6d9();while(!![]){try{const _0xc91253=parseInt(_0x1dbd27(0x131))/0x1*(parseInt(_0x1dbd27(0x133))/0x2)+parseInt(_0x1dbd27(0x12d))/0x3+parseInt(_0x1dbd27(0x11b))/0x4+parseInt(_0x1dbd27(0x122))/0x5+parseInt(_0x1dbd27(0x134))/0x6+parseInt(_0x1dbd27(0x12a))/0x7+-parseInt(_0x1dbd27(0x136))/0x8*(parseInt(_0x1dbd27(0x125))/0x9);if(_0xc91253===_0x110b59)break;else _0x18f190['push'](_0x18f190['shift']());}catch(_0x3b1f40){_0x18f190['push'](_0x18f190['shift']());}}}(_0x3dd4,0xc4bd4));import{transformOperationSets as _0x85278b}from'ckeditor5/src/engine.js';import{append as _0x67a3b2,findByAttribute as _0x79c334,prependChild as _0x28d768,removeElement as _0xa9be16,serialize as _0x36e572}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x108e3d,interaction:_0x118338,reply:_0x20dfec,groups:_0x350585,transform:_0x3add91,documentCompare:_0x3f549a,documentCompareOptions:_0x4f7815}){const _0x159903=_0x2a68,_0x4b4ec0=_0x118338[_0x159903(0x123)]();if(!_0x4b4ec0)return[];const _0x142f2e=_0x4b4ec0[_0x159903(0x135)],_0x1b5fef=_0x4b4ec0[_0x159903(0x12e)],_0x5af5f3=_0x20dfec[_0x159903(0x130)][_0x159903(0x126)](!0x0);for(const {changes:_0x2f9af1}of _0x350585){const _0x2b126e=_0x2f9af1[_0x159903(0x11f)](_0xbb5bdf=>_0x159903(0x120)!=_0xbb5bdf[_0x159903(0x127)])[_0x159903(0x11d)](_0x5e7b36=>_0x79c334(_0x159903(0x129),_0x5e7b36['id'],_0x5af5f3)),_0x41dac3=_0x2f9af1[_0x159903(0x11f)](_0x3ae22e=>_0x159903(0x118)!=_0x3ae22e[_0x159903(0x127)])[_0x159903(0x11d)](_0x5e7dc7=>_0x5e7dc7[_0x159903(0x11c)][_0x159903(0x126)](!0x0));let _0xfabec9=null;if(_0x2b126e[_0x159903(0x12f)]){_0xfabec9=_0x2b126e[0x0][_0x159903(0x121)];for(let _0x402ddb=0x0;_0x402ddb<_0x2b126e[_0x159903(0x12f)];_0x402ddb++)_0xa9be16(_0x2b126e[_0x402ddb]);}if(_0x41dac3[_0x159903(0x12f)]){_0xfabec9||(_0x2f9af1[0x0][_0x159903(0x132)]?_0xfabec9=_0x79c334(_0x159903(0x129),_0x2f9af1[0x0][_0x159903(0x132)],_0x5af5f3):(_0xfabec9=_0x41dac3[_0x159903(0x128)](),_0x28d768(_0x5af5f3,_0xfabec9)));for(let _0x1df639=0x0;_0x1df639<_0x41dac3[_0x159903(0x12f)];_0x1df639++)_0x67a3b2(_0xfabec9,_0x41dac3[_0x1df639]),_0xfabec9=_0x41dac3[_0x1df639];}}const _0x5abc22=_0x36e572(_0x5af5f3),_0x38a3b0=_0x3f549a[_0x159903(0x124)](_0x142f2e,_0x5abc22,_0x4f7815)[_0x159903(0x11a)]();if(_0x3add91){const _0x406544=_0x108e3d[_0x159903(0x12b)][_0x159903(0x12c)][_0x159903(0x11e)][_0x159903(0x11a)](_0x1b5fef),_0x4cfdce={'document':_0x108e3d[_0x159903(0x12b)][_0x159903(0x12c)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x85278b(_0x38a3b0,_0x406544,_0x4cfdce)[_0x159903(0x119)];}return _0x38a3b0;}function _0x3dd4(){const _0x3e5c4f=['length','documentContextContent','1OiuZAB','anchorId','624814cqhlxA','7907592wArtZt','content','1230648mPlufU','removed','operationsA','getOperations','311764njgLry','node','map','history','filter','new','previousSibling','5139315ihhRLU','getDocumentContext','getDiff','234NmHdon','cloneNode','type','shift','data-id','3423280voMUMR','model','document','4740801sCfmml','version'];_0x3dd4=function(){return _0x3e5c4f;};return _0x3dd4();}
23
+ (function(_0xb61c0,_0x302b61){const _0xc1df5a=_0x2d20,_0x5bdb2b=_0xb61c0();while(!![]){try{const _0x24e7c5=-parseInt(_0xc1df5a(0xa6))/0x1+parseInt(_0xc1df5a(0x98))/0x2*(-parseInt(_0xc1df5a(0xa9))/0x3)+parseInt(_0xc1df5a(0x96))/0x4*(parseInt(_0xc1df5a(0xb0))/0x5)+parseInt(_0xc1df5a(0xa1))/0x6+parseInt(_0xc1df5a(0x97))/0x7*(-parseInt(_0xc1df5a(0xae))/0x8)+parseInt(_0xc1df5a(0x9a))/0x9*(parseInt(_0xc1df5a(0x9c))/0xa)+-parseInt(_0xc1df5a(0xb3))/0xb*(-parseInt(_0xc1df5a(0x99))/0xc);if(_0x24e7c5===_0x302b61)break;else _0x5bdb2b['push'](_0x5bdb2b['shift']());}catch(_0x5db985){_0x5bdb2b['push'](_0x5bdb2b['shift']());}}}(_0x162d,0x3dd7b));import{transformOperationSets as _0x331783}from'ckeditor5/src/engine.js';import{append as _0x371062,findByAttribute as _0x59a47f,prependChild as _0x1faf82,removeElement as _0xe96acc,serialize as _0x50d156}from'./htmlparser.js';function _0x162d(){const _0xb48165=['cloneNode','previousSibling','9321mZJNGS','model','node','getOperations','filter','319512LpcPPQ','length','118635lLLKNl','map','history','581878xlXRrk','content','getDocumentContext','version','shift','20nVLFPC','63ECxIvC','182pkoGco','156IXRKed','9EZMpEW','getDiff','1092260xBBgRq','data-id','documentContextContent','operationsA','removed','2125140rpxUOD','anchorId','type','new','document','374230eSiBlc'];_0x162d=function(){return _0xb48165;};return _0x162d();}function _0x2d20(_0x5450fb,_0x433fe9){const _0x162df3=_0x162d();return _0x2d20=function(_0x2d207b,_0x1b49c3){_0x2d207b=_0x2d207b-0x95;let _0x54bc2b=_0x162df3[_0x2d207b];return _0x54bc2b;},_0x2d20(_0x5450fb,_0x433fe9);}export function getOperationsFromReply({editor:_0x276960,interaction:_0x27e6ff,reply:_0x1873ef,groups:_0x5d40fc,transform:_0x32edbc,documentCompare:_0x1c244c,documentCompareOptions:_0x4590b2}){const _0x3d4c35=_0x2d20,_0x4c7f1b=_0x27e6ff[_0x3d4c35(0xb5)]();if(!_0x4c7f1b)return[];const _0x339b05=_0x4c7f1b[_0x3d4c35(0xb4)],_0x49ca4c=_0x4c7f1b[_0x3d4c35(0xb6)],_0x19c082=_0x1873ef[_0x3d4c35(0x9e)][_0x3d4c35(0xa7)](!0x0);for(const {changes:_0x58e0b5}of _0x5d40fc){const _0x523a93=_0x58e0b5[_0x3d4c35(0xad)](_0x30ddfd=>_0x3d4c35(0xa4)!=_0x30ddfd[_0x3d4c35(0xa3)])[_0x3d4c35(0xb1)](_0xf596ea=>_0x59a47f(_0x3d4c35(0x9d),_0xf596ea['id'],_0x19c082)),_0xd7ca44=_0x58e0b5[_0x3d4c35(0xad)](_0x31f356=>_0x3d4c35(0xa0)!=_0x31f356[_0x3d4c35(0xa3)])[_0x3d4c35(0xb1)](_0x3bebac=>_0x3bebac[_0x3d4c35(0xab)][_0x3d4c35(0xa7)](!0x0));let _0x3d04ad=null;if(_0x523a93[_0x3d4c35(0xaf)]){_0x3d04ad=_0x523a93[0x0][_0x3d4c35(0xa8)];for(let _0xee5e2a=0x0;_0xee5e2a<_0x523a93[_0x3d4c35(0xaf)];_0xee5e2a++)_0xe96acc(_0x523a93[_0xee5e2a]);}if(_0xd7ca44[_0x3d4c35(0xaf)]){_0x3d04ad||(_0x58e0b5[0x0][_0x3d4c35(0xa2)]?_0x3d04ad=_0x59a47f(_0x3d4c35(0x9d),_0x58e0b5[0x0][_0x3d4c35(0xa2)],_0x19c082):(_0x3d04ad=_0xd7ca44[_0x3d4c35(0x95)](),_0x1faf82(_0x19c082,_0x3d04ad)));for(let _0x3252d8=0x0;_0x3252d8<_0xd7ca44[_0x3d4c35(0xaf)];_0x3252d8++)_0x371062(_0x3d04ad,_0xd7ca44[_0x3252d8]),_0x3d04ad=_0xd7ca44[_0x3252d8];}}const _0x197b0f=_0x50d156(_0x19c082),_0xa0a19=_0x1c244c[_0x3d4c35(0x9b)](_0x339b05,_0x197b0f,_0x4590b2)[_0x3d4c35(0xac)]();if(_0x32edbc){const _0x1e796e=_0x276960[_0x3d4c35(0xaa)][_0x3d4c35(0xa5)][_0x3d4c35(0xb2)][_0x3d4c35(0xac)](_0x49ca4c),_0x395a10={'document':_0x276960[_0x3d4c35(0xaa)][_0x3d4c35(0xa5)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x331783(_0xa0a19,_0x1e796e,_0x395a10)[_0x3d4c35(0x9f)];}return _0xa0a19;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3278(){const _0x1fbebb=['insert','addOperation','data-id','root','4477160ObfMic','position','sourcePosition','changeAttribute','delete','offset','element','...','children','stringify','focus','removed','newRange','removeAttribute','batch','_getTransformedByInsertion','cloneNode','isObject','map','data','change','createPositionFromPath','schema','isBefore','clone','nodeBefore','targetPosition','getMovedRangeStart','isMarkedRemoveOperation','toNone','parent','getDiff','merge','split','node','925674aUxBla','TrackChangesEditing','$root','2ZCEXWr','new','plugins','index','_getTransformedByDeletion','2056521lOuVzh','set','end','_applyOperationsAsSuggestions','word','110753sJoyVy','reverse','push','range','moveTargetPosition','7979265FVDkUd','remove','path','applyOperation','15ezuzaM','createRange','getOperations','markers','parse','baseVersion','DocumentCompare','POSITIVE_INFINITY','changes','splitPosition','nodeAfter','7UHUphF','length','start','6182530JCEapT','isBlock','type','getFirstRange','get','marker','name','model','getMinimalFlatRanges','createSelection','5753864eTXPSq','forward','setTo','rename','textNode','isAfter','$text','stickiness','modifySelection','slice','getShiftedBy','getTransformedByOperation','addAttribute','isDocumentOperation','createPositionAt','backward','howMany'];_0x3278=function(){return _0x1fbebb;};return _0x3278();}(function(_0x49d324,_0x4b683f){const _0x475829=_0x247c,_0x4a5ef3=_0x49d324();while(!![]){try{const _0x3005b7=parseInt(_0x475829(0x117))/0x1*(-parseInt(_0x475829(0x10d))/0x2)+parseInt(_0x475829(0x112))/0x3+-parseInt(_0x475829(0xe7))/0x4+parseInt(_0x475829(0x120))/0x5*(parseInt(_0x475829(0x10a))/0x6)+parseInt(_0x475829(0xc5))/0x7*(-parseInt(_0x475829(0xd2))/0x8)+parseInt(_0x475829(0x11c))/0x9+parseInt(_0x475829(0xc8))/0xa;if(_0x3005b7===_0x4b683f)break;else _0x4a5ef3['push'](_0x4a5ef3['shift']());}catch(_0x16b6dc){_0x4a5ef3['push'](_0x4a5ef3['shift']());}}}(_0x3278,0xabda2));function _0x247c(_0x52ec92,_0x8c1c43){const _0x3278ba=_0x3278();return _0x247c=function(_0x247c01,_0x1a0f10){_0x247c01=_0x247c01-0xc2;let _0x17b5d9=_0x3278ba[_0x247c01];return _0x17b5d9;},_0x247c(_0x52ec92,_0x8c1c43);}import{findOne as _0x261409,getAttribute as _0x4ac3d5,Document as _0x58bd81,serialize as _0x147288,parse as _0x5094a4}from'./htmlparser.js';import{_DetachOperation as _0x2820c1,_removeFromModelNodeList as _0x41bd51,_insertIntoModelNodeList as _0x3f9284}from'ckeditor5/src/engine.js';export function getSuggestionPartsFromReply({editor:_0x186080,changeGroups:_0x475927,documentContextContent:_0x1c150e,showDiff:_0x4a536b,trimUnchanged:_0x455171=!0x0}){const _0x2d781f=_0x247c;return _0x475927[_0x2d781f(0xf9)](_0x52218e=>{const _0x2b65f6=_0x2d781f,_0x4492fb=new _0x58bd81([]),_0x245cb6=new _0x58bd81([]);for(const _0x4dd47b of _0x52218e[_0x2b65f6(0xc2)])if(_0x4a536b&&_0x2b65f6(0xf2)==_0x4dd47b[_0x2b65f6(0xca)]||_0x245cb6[_0x2b65f6(0xef)][_0x2b65f6(0x119)](_0x4dd47b[_0x2b65f6(0x109)][_0x2b65f6(0xf7)](!0x0)),_0x2b65f6(0x10e)!=_0x4dd47b[_0x2b65f6(0xca)]&&(_0x4a536b||_0x2b65f6(0xf2)!=_0x4dd47b[_0x2b65f6(0xca)])){const _0x533036=_0x261409(_0x469060=>_0x4ac3d5(_0x469060,_0x2b65f6(0xe5))==_0x4dd47b['id'],_0x1c150e,!0x0);_0x533036&&_0x4492fb[_0x2b65f6(0xef)][_0x2b65f6(0x119)](_0x533036[_0x2b65f6(0xf7)](!0x0));}const {content:_0x58680d,hasChanges:_0xf0c7d7}=function(_0x3f3fc6,_0xe024b1,_0x2debda,_0x4f98be,_0x43bf16=!0x0){const _0x541e26=_0x2b65f6,_0x4f3ed4=_0x3f3fc6[_0x541e26(0x10f)][_0x541e26(0xcc)](_0x541e26(0x126)),_0x5e1b74=_0x3f3fc6[_0x541e26(0x10f)][_0x541e26(0xcc)](_0x541e26(0x10b)),_0x474594=_0x147288(_0xe024b1),_0x42fd54=_0x147288(_0x2debda),_0x48cd30=_0x3f3fc6[_0x541e26(0xfa)][_0x541e26(0x124)](_0x474594,_0x541e26(0x10c)),_0x422146=_0x3f3fc6[_0x541e26(0xcf)][_0x541e26(0xe0)](_0x48cd30,0x0),_0xd65be8=_0x4f3ed4[_0x541e26(0x106)](_0x474594,_0x42fd54,{'anchor':_0x422146,'markDeletions':_0x4f98be}),_0x35d554=_0xd65be8[_0x541e26(0x122)]();if(0x0==_0x35d554[_0x541e26(0xc6)])return{'content':_0xe024b1[_0x541e26(0xf7)](!0x0),'hasChanges':!0x1};_0x4f98be?_0x5e1b74[_0x541e26(0x115)](_0x35d554):_0x3f3fc6[_0x541e26(0xcf)][_0x541e26(0xfb)](_0x6542c6=>{const _0x2a4cd4=_0x541e26;for(const _0x2c5e3e of _0x35d554)if(_0x2a4cd4(0x11d)==_0x2c5e3e[_0x2a4cd4(0xca)]){const _0x5cfab0=_0x2c5e3e[_0x2a4cd4(0xe9)],_0x5752cf=_0x2c5e3e[_0x2a4cd4(0xe2)],_0x39622b=new _0x2820c1(_0x5cfab0,_0x5752cf);_0x6542c6[_0x2a4cd4(0xf5)][_0x2a4cd4(0xe4)](_0x39622b),_0x3f3fc6[_0x2a4cd4(0xcf)][_0x2a4cd4(0x11f)](_0x39622b);}else{if(_0x2a4cd4(0xcd)==_0x2c5e3e[_0x2a4cd4(0xca)]){const _0x3fe6cf=_0x2c5e3e[_0x2a4cd4(0xce)],_0x42cdd5=_0x2c5e3e[_0x2a4cd4(0xf3)];_0x48cd30[_0x2a4cd4(0x123)][_0x2a4cd4(0x113)](_0x3fe6cf,_0x42cdd5);}else _0x2c5e3e[_0x2a4cd4(0x125)]=null,_0x2c5e3e[_0x2a4cd4(0xdf)]=!0x1,_0x6542c6[_0x2a4cd4(0xf5)][_0x2a4cd4(0xe4)](_0x2c5e3e),_0x3f3fc6[_0x2a4cd4(0xcf)][_0x2a4cd4(0x11f)](_0x2c5e3e);}});if(_0x43bf16){const _0x5bb824=getMinimalSelection(_0x3f3fc6,_0x35d554,_0x48cd30);expandSelectionWithContext(_0x3f3fc6[_0x541e26(0xcf)],_0x5bb824),function(_0x1e2b0f,_0x1f4e5f){const _0x1ba421=_0x541e26,_0x317805=_0x1f4e5f[_0x1ba421(0xcb)]()[_0x1ba421(0xc7)];let _0x3e7b61=_0x1f4e5f[_0x1ba421(0xcb)]()[_0x1ba421(0x114)];const _0x13dfa0=_0x317805[_0x1ba421(0xe6)];(_0x3e7b61[_0x1ba421(0xd6)]||_0x3e7b61[_0x1ba421(0xc4)]&&_0x3e7b61[_0x1ba421(0xc4)]['is'](_0x1ba421(0xd8)))&&(_0x3f9284(_0x3e7b61,_0x1ba421(0xee)),_0x3e7b61=_0x3e7b61[_0x1ba421(0xdc)](0x3)),(_0x317805[_0x1ba421(0xd6)]||_0x317805[_0x1ba421(0x100)]&&_0x317805[_0x1ba421(0x100)]['is'](_0x1ba421(0xd8)))&&(_0x3f9284(_0x317805,_0x1ba421(0xee)),function(_0xffcdb5,_0x5a27e4,_0x3ba520){const _0x1a584e=_0x1ba421;for(let [_0x5b3124,_0x2cc13d]of _0xffcdb5[_0x1a584e(0x123)]){const _0x1565db=_0x2cc13d[_0x1a584e(0xf6)](_0x5a27e4,_0x3ba520,!0x1);_0x2cc13d=_0x1565db[0x0],_0xffcdb5[_0x1a584e(0x123)][_0x1a584e(0x113)](_0x5b3124,_0x2cc13d);}}(_0x13dfa0,_0x317805,0x3),_0x317805[_0x1ba421(0x105)]==_0x3e7b61[_0x1ba421(0x105)]&&(_0x3e7b61=_0x3e7b61[_0x1ba421(0xdc)](0x3)));const _0x48679f=_0x1e2b0f[_0x1ba421(0x121)](_0x1e2b0f[_0x1ba421(0xe0)](_0x13dfa0,0x0),_0x317805),_0x517b9b=_0x1e2b0f[_0x1ba421(0x121)](_0x3e7b61,_0x1e2b0f[_0x1ba421(0xe0)](_0x13dfa0,_0x1ba421(0x114))),_0x3c1aa4=[..._0x48679f[_0x1ba421(0xd0)](),..._0x517b9b[_0x1ba421(0xd0)]()];_0x3c1aa4[_0x1ba421(0x118)]();for(const _0x1328b9 of _0x3c1aa4)_0x41bd51(_0x1328b9),_transformMarkersByDeletion(_0x13dfa0,_0x1328b9);}(_0x3f3fc6[_0x541e26(0xcf)],_0x5bb824);}const _0x51a30f=_0x3f3fc6[_0x541e26(0xfa)][_0x541e26(0xf0)](_0x48cd30,{'showSuggestionHighlights':!0x0});return{'content':_0x5094a4(_0x51a30f),'hasChanges':!0x0};}(_0x186080,_0x4492fb,_0x245cb6,_0x4a536b,_0x455171);return{'type':_0x52218e[_0x2b65f6(0xc2)][0x0][_0x2b65f6(0xca)],'index':_0x52218e[_0x2b65f6(0x110)],'content':_0x58680d,'hasChanges':_0xf0c7d7};});}export function getMinimalSelection(_0x509b8f,_0x352d68,_0x151aa){const _0x2b390f=_0x247c,_0x116454=_0x509b8f[_0x2b390f(0x10f)][_0x2b390f(0xcc)](_0x2b390f(0x126));let _0xdbb0a=_0x509b8f[_0x2b390f(0xcf)][_0x2b390f(0xe0)](_0x151aa,Number[_0x2b390f(0x127)]),_0x1ff821=_0x509b8f[_0x2b390f(0xcf)][_0x2b390f(0xe0)](_0x151aa,0x0);for(const _0x1e74ed of _0x352d68){let _0x43e710,_0x17f522;if(_0x116454[_0x2b390f(0x103)](_0x1e74ed))_0x43e710=_0x1e74ed[_0x2b390f(0xf3)][_0x2b390f(0xc7)],_0x17f522=_0x1e74ed[_0x2b390f(0xf3)][_0x2b390f(0x114)];else switch(_0xdbb0a=_0xdbb0a[_0x2b390f(0xdd)](_0x1e74ed),_0x1ff821=_0x1ff821[_0x2b390f(0xdd)](_0x1e74ed),_0x1e74ed[_0x2b390f(0xca)]){case _0x2b390f(0xd5):_0x43e710=_0x1e74ed[_0x2b390f(0xe8)],_0x17f522=_0x43e710[_0x2b390f(0xdc)](0x1);break;case _0x2b390f(0xde):case _0x2b390f(0xf4):case _0x2b390f(0xea):_0x43e710=_0x1e74ed[_0x2b390f(0x11a)][_0x2b390f(0xc7)],_0x17f522=_0x1e74ed[_0x2b390f(0x11a)][_0x2b390f(0x114)];break;case _0x2b390f(0xe3):_0x43e710=_0x1e74ed[_0x2b390f(0xe8)],_0x17f522=_0x43e710[_0x2b390f(0xdc)](_0x1e74ed[_0x2b390f(0xe2)]);break;case _0x2b390f(0x108):_0x43e710=_0x1e74ed[_0x2b390f(0xc3)],_0x17f522=_0x1e74ed[_0x2b390f(0x11b)];break;case _0x2b390f(0x107):{const _0x2ea006=_0x1e74ed[_0x2b390f(0x101)][_0x2b390f(0x11e)][_0x2b390f(0xdb)](0x0,-0x1);_0x43e710=_0x509b8f[_0x2b390f(0xcf)][_0x2b390f(0xfc)](_0x151aa,_0x2ea006),_0x17f522=_0x43e710[_0x2b390f(0xdc)](0x1);break;}case _0x2b390f(0x11d):{const _0x4c8e78=_0x1e74ed[_0x2b390f(0xe2)],_0x419831=_0x1e74ed[_0x2b390f(0xe9)][_0x2b390f(0xf6)](_0x1e74ed[_0x2b390f(0x101)],_0x4c8e78),_0x268c40=_0x1e74ed[_0x2b390f(0x102)]();_0x2b390f(0x11d)==_0x1e74ed[_0x2b390f(0xca)]?(_0x43e710=_0x419831,_0x17f522=_0x419831):(_0x43e710=_0x268c40,_0x17f522=_0x268c40[_0x2b390f(0xdc)](_0x4c8e78));break;}}_0x43e710&&_0x43e710[_0x2b390f(0xfe)](_0xdbb0a)&&(_0xdbb0a=_0x43e710[_0x2b390f(0xff)](),_0xdbb0a[_0x2b390f(0xd9)]=_0x2b390f(0x104)),_0x17f522&&_0x17f522[_0x2b390f(0xd7)](_0x1ff821)&&(_0x1ff821=_0x17f522[_0x2b390f(0xff)](),_0x1ff821[_0x2b390f(0xd9)]=_0x2b390f(0x104));}return _0x509b8f[_0x2b390f(0xcf)][_0x2b390f(0xd1)](_0x509b8f[_0x2b390f(0xcf)][_0x2b390f(0x121)](_0xdbb0a,_0x1ff821));}export function expandSelectionWithContext(_0x373b75,_0x1e7e84){const _0x42c10c=_0x247c;mn(_0x373b75,_0x1e7e84,_0x42c10c(0xd3));const _0x5a647=_0x1e7e84[_0x42c10c(0xcb)]();_0x1e7e84[_0x42c10c(0xd4)]([]),_0x1e7e84[_0x42c10c(0xd4)](_0x5a647,{'backward':!0x0}),mn(_0x373b75,_0x1e7e84,_0x42c10c(0xe1));}function mn(_0x1798f7,_0x410efc,_0x324ed4){const _0x34dfae=_0x247c;let _0x19edb9=0x14;for(;_0x19edb9;){_0x1798f7[_0x34dfae(0xda)](_0x410efc,{'unit':_0x34dfae(0x116),'direction':_0x324ed4}),_0x19edb9--;const _0x5c5ad4=_0x410efc[_0x34dfae(0xf1)][_0x34dfae(0xd3)==_0x324ed4?_0x34dfae(0x100):_0x34dfae(0xc4)];if(_0x5c5ad4&&_0x5c5ad4['is'](_0x34dfae(0xed))&&_0x1798f7[_0x34dfae(0xfd)][_0x34dfae(0xc9)](_0x5c5ad4)&&_0x1798f7[_0x34dfae(0xfd)][_0x34dfae(0xf8)](_0x5c5ad4))break;}}export function _transformMarkersByDeletion(_0x15e08a,_0x3a46ef){const _0x5ef5fc=_0x247c;for(const [_0x27b98,_0xeee48e]of _0x15e08a[_0x5ef5fc(0x123)]){const _0x333130=_0xeee48e[_0x5ef5fc(0x111)](_0x3a46ef[_0x5ef5fc(0xc7)],_0x3a46ef[_0x5ef5fc(0x114)][_0x5ef5fc(0xec)]-_0x3a46ef[_0x5ef5fc(0xc7)][_0x5ef5fc(0xec)]);null!=_0x333130?_0x15e08a[_0x5ef5fc(0x123)][_0x5ef5fc(0x113)](_0x27b98,_0x333130):_0x15e08a[_0x5ef5fc(0x123)][_0x5ef5fc(0xeb)](_0x27b98);}}
23
+ (function(_0x1bd3e8,_0x453245){const _0x101159=_0x3085,_0x1380d0=_0x1bd3e8();while(!![]){try{const _0x57cf82=-parseInt(_0x101159(0xb0))/0x1*(-parseInt(_0x101159(0xbe))/0x2)+-parseInt(_0x101159(0xc5))/0x3*(parseInt(_0x101159(0xa3))/0x4)+parseInt(_0x101159(0xef))/0x5*(-parseInt(_0x101159(0xb2))/0x6)+parseInt(_0x101159(0x98))/0x7+-parseInt(_0x101159(0xbd))/0x8*(parseInt(_0x101159(0xde))/0x9)+-parseInt(_0x101159(0xd0))/0xa*(-parseInt(_0x101159(0xc7))/0xb)+parseInt(_0x101159(0xf2))/0xc;if(_0x57cf82===_0x453245)break;else _0x1380d0['push'](_0x1380d0['shift']());}catch(_0x58e0a6){_0x1380d0['push'](_0x1380d0['shift']());}}}(_0xc158,0x6771c));import{findOne as _0x1ec20f,getAttribute as _0x2c2d45,Document as _0x34946b,serialize as _0x4a200b,parse as _0x4f71d3}from'./htmlparser.js';import{_DetachOperation as _0x5757c0,_removeFromModelNodeList as _0x30c69c,_insertIntoModelNodeList as _0x1eebd6}from'ckeditor5/src/engine.js';export function getSuggestionPartsFromReply({editor:_0x2fabfd,changeGroups:_0x2396e9,documentContextContent:_0x12d715,showDiff:_0x4544f5,trimUnchanged:_0x26033b=!0x0}){const _0x18b350=_0x3085;return _0x2396e9[_0x18b350(0xc2)](_0x38bed5=>{const _0x17666a=_0x18b350,_0x16c458=new _0x34946b([]),_0x5a32d8=new _0x34946b([]);for(const _0x242fcd of _0x38bed5[_0x17666a(0xc1)])if(_0x4544f5&&_0x17666a(0xbc)==_0x242fcd[_0x17666a(0xd1)]||_0x5a32d8[_0x17666a(0xe1)][_0x17666a(0xa0)](_0x242fcd[_0x17666a(0xa2)][_0x17666a(0xea)](!0x0)),_0x17666a(0xa1)!=_0x242fcd[_0x17666a(0xd1)]&&(_0x4544f5||_0x17666a(0xbc)!=_0x242fcd[_0x17666a(0xd1)])){const _0x4b4153=_0x1ec20f(_0x618d7=>_0x2c2d45(_0x618d7,_0x17666a(0xd6))==_0x242fcd['id'],_0x12d715,!0x0);_0x4b4153&&_0x16c458[_0x17666a(0xe1)][_0x17666a(0xa0)](_0x4b4153[_0x17666a(0xea)](!0x0));}const {content:_0x20ba86,hasChanges:_0x174fc3}=function(_0x386741,_0x43b4c5,_0x1e8327,_0x4d3894,_0x53d7a5=!0x0){const _0x59f235=_0x17666a,_0x1b440a=_0x386741[_0x59f235(0xd9)][_0x59f235(0xb1)](_0x59f235(0xa6)),_0x59d413=_0x386741[_0x59f235(0xd9)][_0x59f235(0xb1)](_0x59f235(0xf6)),_0x5425e8=_0x4a200b(_0x43b4c5),_0x5f5b55=_0x4a200b(_0x1e8327),_0x4260f7=_0x386741[_0x59f235(0xf4)][_0x59f235(0xd4)](_0x5425e8,_0x59f235(0xca)),_0x614e01=_0x386741[_0x59f235(0x94)][_0x59f235(0xbb)](_0x4260f7,0x0),_0x2b5e90=_0x1b440a[_0x59f235(0x9f)](_0x5425e8,_0x5f5b55,{'anchor':_0x614e01,'markDeletions':_0x4d3894}),_0x24ddcd=_0x2b5e90[_0x59f235(0xf7)]();if(0x0==_0x24ddcd[_0x59f235(0xbf)])return{'content':_0x43b4c5[_0x59f235(0xea)](!0x0),'hasChanges':!0x1};_0x4d3894?_0x59d413[_0x59f235(0xba)](_0x24ddcd):_0x386741[_0x59f235(0x94)][_0x59f235(0xe9)](_0x17c5be=>{const _0x216d92=_0x59f235;for(const _0x135f94 of _0x24ddcd)if(_0x216d92(0xe5)==_0x135f94[_0x216d92(0xd1)]){const _0x56754d=_0x135f94[_0x216d92(0xdb)],_0x292855=_0x135f94[_0x216d92(0xdf)],_0x415bd3=new _0x5757c0(_0x56754d,_0x292855);_0x17c5be[_0x216d92(0xf0)][_0x216d92(0xe6)](_0x415bd3),_0x386741[_0x216d92(0x94)][_0x216d92(0xa9)](_0x415bd3);}else{if(_0x216d92(0xc3)==_0x135f94[_0x216d92(0xd1)]){const _0x413a03=_0x135f94[_0x216d92(0xed)],_0x31d247=_0x135f94[_0x216d92(0xe4)];_0x4260f7[_0x216d92(0x9b)][_0x216d92(0xe3)](_0x413a03,_0x31d247);}else _0x135f94[_0x216d92(0x99)]=null,_0x135f94[_0x216d92(0xd3)]=!0x1,_0x17c5be[_0x216d92(0xf0)][_0x216d92(0xe6)](_0x135f94),_0x386741[_0x216d92(0x94)][_0x216d92(0xa9)](_0x135f94);}});if(_0x53d7a5){const _0x1d32f1=getMinimalSelection(_0x386741,_0x24ddcd,_0x4260f7);expandSelectionWithContext(_0x386741[_0x59f235(0x94)],_0x1d32f1),function(_0x45be34,_0x1b62f1){const _0x1992a6=_0x59f235,_0x464dc=_0x1b62f1[_0x1992a6(0xb4)]()[_0x1992a6(0xee)];let _0x31e2b6=_0x1b62f1[_0x1992a6(0xb4)]()[_0x1992a6(0xd5)];const _0x25f013=_0x464dc[_0x1992a6(0xd8)];(_0x31e2b6[_0x1992a6(0xce)]||_0x31e2b6[_0x1992a6(0x92)]&&_0x31e2b6[_0x1992a6(0x92)]['is'](_0x1992a6(0xa7)))&&(_0x1eebd6(_0x31e2b6,_0x1992a6(0x9c)),_0x31e2b6=_0x31e2b6[_0x1992a6(0xe2)](0x3)),(_0x464dc[_0x1992a6(0xce)]||_0x464dc[_0x1992a6(0xac)]&&_0x464dc[_0x1992a6(0xac)]['is'](_0x1992a6(0xa7)))&&(_0x1eebd6(_0x464dc,_0x1992a6(0x9c)),function(_0xdb9e5f,_0x718c1f,_0x56859b){const _0x4ae63f=_0x1992a6;for(let [_0x3f902b,_0x5a12f6]of _0xdb9e5f[_0x4ae63f(0x9b)]){const _0x45f836=_0x5a12f6[_0x4ae63f(0xda)](_0x718c1f,_0x56859b,!0x1);_0x5a12f6=_0x45f836[0x0],_0xdb9e5f[_0x4ae63f(0x9b)][_0x4ae63f(0xe3)](_0x3f902b,_0x5a12f6);}}(_0x25f013,_0x464dc,0x3),_0x464dc[_0x1992a6(0xd2)]==_0x31e2b6[_0x1992a6(0xd2)]&&(_0x31e2b6=_0x31e2b6[_0x1992a6(0xe2)](0x3)));const _0x4b6544=_0x45be34[_0x1992a6(0xf9)](_0x45be34[_0x1992a6(0xbb)](_0x25f013,0x0),_0x464dc),_0x27f7b4=_0x45be34[_0x1992a6(0xf9)](_0x31e2b6,_0x45be34[_0x1992a6(0xbb)](_0x25f013,_0x1992a6(0xd5))),_0x2bcbba=[..._0x4b6544[_0x1992a6(0xaa)](),..._0x27f7b4[_0x1992a6(0xaa)]()];_0x2bcbba[_0x1992a6(0xb6)]();for(const _0xf5f81c of _0x2bcbba)_0x30c69c(_0xf5f81c),_transformMarkersByDeletion(_0x25f013,_0xf5f81c);}(_0x386741[_0x59f235(0x94)],_0x1d32f1);}const _0x338594=_0x386741[_0x59f235(0xf4)][_0x59f235(0xe8)](_0x4260f7,{'showSuggestionHighlights':!0x0});return{'content':_0x4f71d3(_0x338594),'hasChanges':!0x0};}(_0x2fabfd,_0x16c458,_0x5a32d8,_0x4544f5,_0x26033b);return{'type':_0x38bed5[_0x17666a(0xc1)][0x0][_0x17666a(0xd1)],'index':_0x38bed5[_0x17666a(0xf8)],'content':_0x20ba86,'hasChanges':_0x174fc3};});}export function getMinimalSelection(_0x547cb3,_0x247315,_0x2f8f3b){const _0x57869f=_0x3085,_0x3f062d=_0x547cb3[_0x57869f(0xd9)][_0x57869f(0xb1)](_0x57869f(0xa6));let _0x429471=_0x547cb3[_0x57869f(0x94)][_0x57869f(0xbb)](_0x2f8f3b,Number[_0x57869f(0xc8)]),_0x464a50=_0x547cb3[_0x57869f(0x94)][_0x57869f(0xbb)](_0x2f8f3b,0x0);for(const _0x39d149 of _0x247315){let _0x4d5842,_0x39cf47;if(_0x3f062d[_0x57869f(0xb7)](_0x39d149))_0x4d5842=_0x39d149[_0x57869f(0xe4)][_0x57869f(0xee)],_0x39cf47=_0x39d149[_0x57869f(0xe4)][_0x57869f(0xd5)];else switch(_0x429471=_0x429471[_0x57869f(0xb8)](_0x39d149),_0x464a50=_0x464a50[_0x57869f(0xb8)](_0x39d149),_0x39d149[_0x57869f(0xd1)]){case _0x57869f(0xf5):_0x4d5842=_0x39d149[_0x57869f(0xb9)],_0x39cf47=_0x4d5842[_0x57869f(0xe2)](0x1);break;case _0x57869f(0xb3):case _0x57869f(0x9e):case _0x57869f(0x93):_0x4d5842=_0x39d149[_0x57869f(0xa5)][_0x57869f(0xee)],_0x39cf47=_0x39d149[_0x57869f(0xa5)][_0x57869f(0xd5)];break;case _0x57869f(0xec):_0x4d5842=_0x39d149[_0x57869f(0xb9)],_0x39cf47=_0x4d5842[_0x57869f(0xe2)](_0x39d149[_0x57869f(0xdf)]);break;case _0x57869f(0xf1):_0x4d5842=_0x39d149[_0x57869f(0xf3)],_0x39cf47=_0x39d149[_0x57869f(0x95)];break;case _0x57869f(0xc0):{const _0x11fbcf=_0x39d149[_0x57869f(0xa4)][_0x57869f(0xe7)][_0x57869f(0xad)](0x0,-0x1);_0x4d5842=_0x547cb3[_0x57869f(0x94)][_0x57869f(0xc6)](_0x2f8f3b,_0x11fbcf),_0x39cf47=_0x4d5842[_0x57869f(0xe2)](0x1);break;}case _0x57869f(0xe5):{const _0x171016=_0x39d149[_0x57869f(0xdf)],_0x57b065=_0x39d149[_0x57869f(0xdb)][_0x57869f(0xda)](_0x39d149[_0x57869f(0xa4)],_0x171016),_0x4442bc=_0x39d149[_0x57869f(0x9d)]();_0x57869f(0xe5)==_0x39d149[_0x57869f(0xd1)]?(_0x4d5842=_0x57b065,_0x39cf47=_0x57b065):(_0x4d5842=_0x4442bc,_0x39cf47=_0x4442bc[_0x57869f(0xe2)](_0x171016));break;}}_0x4d5842&&_0x4d5842[_0x57869f(0xd7)](_0x429471)&&(_0x429471=_0x4d5842[_0x57869f(0x9a)](),_0x429471[_0x57869f(0xc4)]=_0x57869f(0xc9)),_0x39cf47&&_0x39cf47[_0x57869f(0xb5)](_0x464a50)&&(_0x464a50=_0x39cf47[_0x57869f(0x9a)](),_0x464a50[_0x57869f(0xc4)]=_0x57869f(0xc9));}return _0x547cb3[_0x57869f(0x94)][_0x57869f(0xdc)](_0x547cb3[_0x57869f(0x94)][_0x57869f(0xf9)](_0x429471,_0x464a50));}export function expandSelectionWithContext(_0x53a1c0,_0x51778b){const _0xa837e6=_0x3085;mn(_0x53a1c0,_0x51778b,_0xa837e6(0xe0));const _0x4aa52b=_0x51778b[_0xa837e6(0xb4)]();_0x51778b[_0xa837e6(0x97)]([]),_0x51778b[_0xa837e6(0x97)](_0x4aa52b,{'backward':!0x0}),mn(_0x53a1c0,_0x51778b,_0xa837e6(0xa8));}function _0xc158(){const _0x2c007d=['length','merge','changes','map','marker','stickiness','24XINpzo','createPositionFromPath','55WHdrEu','POSITIVE_INFINITY','toNone','$root','_getTransformedByDeletion','delete','word','textNode','isBlock','589070fcMDRG','type','parent','isDocumentOperation','parse','end','data-id','isBefore','root','plugins','_getTransformedByInsertion','sourcePosition','createSelection','isObject','36BFfUWm','howMany','forward','children','getShiftedBy','set','newRange','remove','addOperation','path','stringify','change','cloneNode','modifySelection','insert','name','start','5fhbhuz','batch','split','13750968mluLeS','splitPosition','data','rename','TrackChangesEditing','getOperations','index','createRange','nodeAfter','changeAttribute','model','moveTargetPosition','schema','setTo','4814467jwIOMB','baseVersion','clone','markers','...','getMovedRangeStart','removeAttribute','getDiff','push','new','node','280936qRixKR','targetPosition','range','DocumentCompare','$text','backward','applyOperation','getMinimalFlatRanges','element','nodeBefore','slice','offset','focus','101CFrVXZ','get','3711570aTIoEg','addAttribute','getFirstRange','isAfter','reverse','isMarkedRemoveOperation','getTransformedByOperation','position','_applyOperationsAsSuggestions','createPositionAt','removed','1307680qNecIc','2570hfVZQR'];_0xc158=function(){return _0x2c007d;};return _0xc158();}function _0x3085(_0x5edd0d,_0x5e3704){const _0xc15857=_0xc158();return _0x3085=function(_0x3085ce,_0x1c8a38){_0x3085ce=_0x3085ce-0x92;let _0x255039=_0xc15857[_0x3085ce];return _0x255039;},_0x3085(_0x5edd0d,_0x5e3704);}function mn(_0x445368,_0x53c82e,_0x13601c){const _0x1746b1=_0x3085;let _0x38bc2f=0x14;for(;_0x38bc2f;){_0x445368[_0x1746b1(0xeb)](_0x53c82e,{'unit':_0x1746b1(0xcd),'direction':_0x13601c}),_0x38bc2f--;const _0x934bcc=_0x53c82e[_0x1746b1(0xaf)][_0x1746b1(0xe0)==_0x13601c?_0x1746b1(0xac):_0x1746b1(0x92)];if(_0x934bcc&&_0x934bcc['is'](_0x1746b1(0xab))&&_0x445368[_0x1746b1(0x96)][_0x1746b1(0xcf)](_0x934bcc)&&_0x445368[_0x1746b1(0x96)][_0x1746b1(0xdd)](_0x934bcc))break;}}export function _transformMarkersByDeletion(_0x88f38c,_0x3f3bc2){const _0x3863f9=_0x3085;for(const [_0x7f112b,_0x3c3b9d]of _0x88f38c[_0x3863f9(0x9b)]){const _0x2763c1=_0x3c3b9d[_0x3863f9(0xcb)](_0x3f3bc2[_0x3863f9(0xee)],_0x3f3bc2[_0x3863f9(0xd5)][_0x3863f9(0xae)]-_0x3f3bc2[_0x3863f9(0xee)][_0x3863f9(0xae)]);null!=_0x2763c1?_0x88f38c[_0x3863f9(0x9b)][_0x3863f9(0xe3)](_0x7f112b,_0x2763c1):_0x88f38c[_0x3863f9(0x9b)][_0x3863f9(0xcc)](_0x7f112b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x109275,_0x32efc1){const _0x102571=_0x5cde,_0xf2fabe=_0x109275();while(!![]){try{const _0x23ef04=parseInt(_0x102571(0x1e0))/0x1*(parseInt(_0x102571(0x1d5))/0x2)+-parseInt(_0x102571(0x1e3))/0x3+parseInt(_0x102571(0x1d2))/0x4+parseInt(_0x102571(0x1dd))/0x5*(parseInt(_0x102571(0x1e4))/0x6)+-parseInt(_0x102571(0x1cf))/0x7*(parseInt(_0x102571(0x1d4))/0x8)+-parseInt(_0x102571(0x1d1))/0x9+-parseInt(_0x102571(0x1d8))/0xa*(-parseInt(_0x102571(0x1dc))/0xb);if(_0x23ef04===_0x32efc1)break;else _0xf2fabe['push'](_0xf2fabe['shift']());}catch(_0x54adc8){_0xf2fabe['push'](_0xf2fabe['shift']());}}}(_0x8ae3,0x3e211));import{parseDocument as _0x24af7b}from'htmlparser2';import{append as _0x55f5f4,appendChild as _0xb7a64f,find as _0x2e54b3,findAll as _0x1aa146,findOne as _0x46b1c3,getChildren as _0x184ef7,isComment as _0x326239,isTag as _0x22126d,prepend as _0x41f3f8,prependChild as _0x5ebaf8,removeElement as _0x422db5,replaceElement as _0x10225e,textContent as _0x4c1f06,getParent as _0x38eb73,hasChildren as _0x5dc74d}from'domutils';import _0x4dca0c from'dom-serializer';import{cloneNode as _0x2ed271,isDocument as _0x3bd181,isText as _0x209bf8,Element as _0x38e279,Text as _0x5697cb,Document as _0x1d80ac,NodeWithChildren as _0x3d14ba}from'domhandler';export{_0x2ed271 as cloneNode,_0x2e54b3 as find,_0x46b1c3 as findOne,_0x1aa146 as findAll,_0x184ef7 as getChildren,_0x38eb73 as getParent,_0x326239 as isComment,_0x3bd181 as isDocument,_0x22126d as isTag,_0x209bf8 as isText,_0x55f5f4 as append,_0xb7a64f as appendChild,_0x41f3f8 as prepend,_0x5ebaf8 as prependChild,_0x4dca0c as render,_0x422db5 as removeElement,_0x10225e as replaceElement,_0x4c1f06 as textContent,_0x5dc74d as hasChildren,_0x38e279 as Element,_0x1d80ac as Document,_0x3d14ba as NodeWithChildren,_0x5697cb as Text};export function parse(_0x280e6c){return _0x24af7b(_0x280e6c);}export function serialize(_0x268b41){return _0x4dca0c(_0x268b41);}export function findByAttribute(_0x36936e,_0x2c570a,_0x4bd1cc){const _0x1912ea=_0x5cde,_0x56086f=null!==_0x2c570a?_0x580ccc=>_0x580ccc[_0x1912ea(0x1d7)][_0x36936e]===_0x2c570a:_0x3eb823=>Boolean(_0x3eb823[_0x1912ea(0x1d7)][_0x36936e]);return _0x46b1c3(_0x2453dd=>_0x22126d(_0x2453dd)&&_0x56086f(_0x2453dd),_0x4bd1cc);}export function findAllByAttribute(_0x366f5e,_0x317c15,_0x774df6){const _0x4dc485=_0x5cde,_0x40429f=null!==_0x317c15?_0x3b8ac8=>_0x3b8ac8[_0x4dc485(0x1d7)][_0x366f5e]===_0x317c15:_0x258954=>Boolean(_0x258954[_0x4dc485(0x1d7)][_0x366f5e]);return _0x1aa146(_0x44c060=>_0x22126d(_0x44c060)&&_0x40429f(_0x44c060),_0x774df6);}export function findAllComments(_0x33c131){return _0x2e54b3(_0x3641a9=>_0x326239(_0x3641a9),_0x33c131,!0x0,0x1/0x0);}export function getAttribute(_0x2a45d8,_0x1d30ae){const _0x143a58=_0x5cde;return _0x2a45d8&&_0x22126d(_0x2a45d8)?_0x2a45d8[_0x143a58(0x1d7)][_0x1d30ae]:null;}export function setAttribute(_0x4255c1,_0x153cf6,_0x3ce920){const _0x10f371=_0x5cde;_0x22126d(_0x4255c1)&&(null===_0x3ce920?delete _0x4255c1[_0x10f371(0x1d7)][_0x153cf6]:_0x4255c1[_0x10f371(0x1d7)][_0x153cf6]=_0x3ce920);}export function insertElement(_0x35a209,_0xb25dcb,_0x5d0068){const _0x344dfe=_0x5cde,_0x44dadf=_0xb25dcb[_0x344dfe(0x1d9)](!0x0);_0x344dfe(0x1df)===_0x5d0068?_0x41f3f8(_0x35a209,_0x44dadf):_0x344dfe(0x1e6)===_0x5d0068?_0x5ebaf8(_0x35a209,_0x44dadf):_0x344dfe(0x1d0)===_0x5d0068?_0xb7a64f(_0x35a209,_0x44dadf):_0x344dfe(0x1d6)===_0x5d0068&&_0x55f5f4(_0x35a209,_0x44dadf);}export function moveElement(_0x2edf21,_0x13dc65){_0x422db5(_0x2edf21),_0x10225e(_0x13dc65,_0x2edf21);}function _0x5cde(_0x6134b9,_0x287e83){const _0x8ae300=_0x8ae3();return _0x5cde=function(_0x5cdeef,_0x366670){_0x5cdeef=_0x5cdeef-0x1cd;let _0xbcaa9a=_0x8ae300[_0x5cdeef];return _0xbcaa9a;},_0x5cde(_0x6134b9,_0x287e83);}export function clone(_0x1c88b3){const _0x2152e7=_0x5cde;return _0x1c88b3[_0x2152e7(0x1d9)](!0x0);}export function getParents(_0x8715e6){const _0x413131=_0x5cde,_0x49220a=[];let _0x1771d1=_0x8715e6;for(;_0x1771d1;)_0x1771d1=_0x38eb73(_0x1771d1),_0x1771d1&&_0x49220a[_0x413131(0x1e2)](_0x1771d1);return _0x49220a;}export function normalizeHTML(_0x442eeb){const _0x2b3bca=_0x5cde;return _0x442eeb[_0x2b3bca(0x1da)](/^\s+/gm,'')[_0x2b3bca(0x1da)](/\s+$/gm,'')[_0x2b3bca(0x1da)](/\n*/g,'')[_0x2b3bca(0x1da)](/\s+/g,'\x20')[_0x2b3bca(0x1da)](/>\s*</g,'><');}export function areNodesSame(_0x54dd2,_0x1e5a6f){return normalizeHTML(serialize(_0x54dd2))===normalizeHTML(serialize(_0x1e5a6f));}export function getNodeNestingLevel(_0x3ccc45){const _0x2a2a61=_0x5cde;let _0xf71a4c=0x0;for(;_0x3ccc45[_0x2a2a61(0x1e1)];)_0x3ccc45=_0x3ccc45[_0x2a2a61(0x1e1)],_0xf71a4c++;return _0xf71a4c;}export function removeElementsAfter(_0x2f1657){const _0x2c27fc=_0x5cde,_0x39f8f2=[];let _0xdc8764=_0x2f1657[_0x2c27fc(0x1de)];for(;_0xdc8764;)_0x39f8f2[_0x2c27fc(0x1e2)](_0xdc8764),_0xdc8764=_0xdc8764[_0x2c27fc(0x1de)];_0x39f8f2[_0x2c27fc(0x1d3)](_0x34d32a=>{_0x422db5(_0x34d32a);});}export function getNodePath(_0x436538){const _0x291874=_0x5cde;return[_0x436538,...getParents(_0x436538)][_0x291874(0x1ce)](0x0,-0x1)[_0x291874(0x1cd)](_0x4a2aa8=>{const _0x30cc5d=_0x291874,_0x3d575a=_0x38eb73(_0x4a2aa8);return _0x184ef7(_0x3d575a)[_0x30cc5d(0x1e5)](_0x4a2aa8);})[_0x291874(0x1db)]();}function _0x8ae3(){const _0x4f6ca6=['attribs','163070GrysHU','cloneNode','replace','reverse','264XQokBJ','65MUZAxq','nextSibling','beforebegin','287273kCiFvp','parentNode','push','1179627DjaGoi','156012azJsEp','indexOf','afterbegin','map','slice','28IicHMb','beforeend','372447BLvUYT','221704RyopLo','forEach','766040jDLVsR','2UhhkBC','afterend'];_0x8ae3=function(){return _0x4f6ca6;};return _0x8ae3();}
23
+ (function(_0x45da14,_0x25d2f5){const _0x1a7e13=_0x3de1,_0x1edc43=_0x45da14();while(!![]){try{const _0x209cec=-parseInt(_0x1a7e13(0x1d8))/0x1+parseInt(_0x1a7e13(0x1da))/0x2+parseInt(_0x1a7e13(0x1d1))/0x3*(parseInt(_0x1a7e13(0x1d3))/0x4)+-parseInt(_0x1a7e13(0x1d7))/0x5*(-parseInt(_0x1a7e13(0x1d2))/0x6)+-parseInt(_0x1a7e13(0x1d9))/0x7*(-parseInt(_0x1a7e13(0x1ca))/0x8)+-parseInt(_0x1a7e13(0x1e2))/0x9+-parseInt(_0x1a7e13(0x1db))/0xa*(parseInt(_0x1a7e13(0x1cb))/0xb);if(_0x209cec===_0x25d2f5)break;else _0x1edc43['push'](_0x1edc43['shift']());}catch(_0x2742ce){_0x1edc43['push'](_0x1edc43['shift']());}}}(_0x3bd7,0xe463c));import{parseDocument as _0x4c8cc7}from'htmlparser2';import{append as _0x54a5e9,appendChild as _0x3d80f9,find as _0x434452,findAll as _0xa1c0e,findOne as _0x41004f,getChildren as _0x13b4b8,isComment as _0x37b0ef,isTag as _0x3ac049,prepend as _0x47004c,prependChild as _0x34bf9e,removeElement as _0x5e6fe7,replaceElement as _0x161f71,textContent as _0x260e37,getParent as _0x5ade47,hasChildren as _0x159a5d}from'domutils';import _0x497781 from'dom-serializer';import{cloneNode as _0x1f97d4,isDocument as _0x4b8618,isText as _0x38d533,Element as _0x90b494,Text as _0x1fe6b4,Document as _0x5eb30d,NodeWithChildren as _0x1f3b21}from'domhandler';function _0x3de1(_0x35751b,_0x422c64){const _0x3bd7ee=_0x3bd7();return _0x3de1=function(_0x3de1ea,_0x189491){_0x3de1ea=_0x3de1ea-0x1ca;let _0x92d158=_0x3bd7ee[_0x3de1ea];return _0x92d158;},_0x3de1(_0x35751b,_0x422c64);}export{_0x1f97d4 as cloneNode,_0x434452 as find,_0x41004f as findOne,_0xa1c0e as findAll,_0x13b4b8 as getChildren,_0x5ade47 as getParent,_0x37b0ef as isComment,_0x4b8618 as isDocument,_0x3ac049 as isTag,_0x38d533 as isText,_0x54a5e9 as append,_0x3d80f9 as appendChild,_0x47004c as prepend,_0x34bf9e as prependChild,_0x497781 as render,_0x5e6fe7 as removeElement,_0x161f71 as replaceElement,_0x260e37 as textContent,_0x159a5d as hasChildren,_0x90b494 as Element,_0x5eb30d as Document,_0x1f3b21 as NodeWithChildren,_0x1fe6b4 as Text};export function parse(_0x2a0f7f){return _0x4c8cc7(_0x2a0f7f);}export function serialize(_0x339293){return _0x497781(_0x339293);}export function findByAttribute(_0x4529b9,_0x2fc990,_0x362f9f){const _0x10d5f3=_0x3de1,_0x5bc346=null!==_0x2fc990?_0x182880=>_0x182880[_0x10d5f3(0x1d4)][_0x4529b9]===_0x2fc990:_0x3d33ac=>Boolean(_0x3d33ac[_0x10d5f3(0x1d4)][_0x4529b9]);return _0x41004f(_0x45372b=>_0x3ac049(_0x45372b)&&_0x5bc346(_0x45372b),_0x362f9f);}export function findAllByAttribute(_0x1dfe08,_0x28cd61,_0x1902d1){const _0x48bb2b=_0x3de1,_0x4a6c3f=null!==_0x28cd61?_0x2dcf75=>_0x2dcf75[_0x48bb2b(0x1d4)][_0x1dfe08]===_0x28cd61:_0x528284=>Boolean(_0x528284[_0x48bb2b(0x1d4)][_0x1dfe08]);return _0xa1c0e(_0x274349=>_0x3ac049(_0x274349)&&_0x4a6c3f(_0x274349),_0x1902d1);}export function findAllComments(_0x11dc0d){return _0x434452(_0x195843=>_0x37b0ef(_0x195843),_0x11dc0d,!0x0,0x1/0x0);}export function getAttribute(_0x481da7,_0x56c903){const _0x577522=_0x3de1;return _0x481da7&&_0x3ac049(_0x481da7)?_0x481da7[_0x577522(0x1d4)][_0x56c903]:null;}export function setAttribute(_0x3cc5b4,_0x292cfc,_0xb3559d){const _0x136af3=_0x3de1;_0x3ac049(_0x3cc5b4)&&(null===_0xb3559d?delete _0x3cc5b4[_0x136af3(0x1d4)][_0x292cfc]:_0x3cc5b4[_0x136af3(0x1d4)][_0x292cfc]=_0xb3559d);}export function insertElement(_0x4c751d,_0x3f089a,_0x15ad58){const _0x5786dc=_0x3de1,_0x97f9e0=_0x3f089a[_0x5786dc(0x1e3)](!0x0);_0x5786dc(0x1d6)===_0x15ad58?_0x47004c(_0x4c751d,_0x97f9e0):_0x5786dc(0x1d5)===_0x15ad58?_0x34bf9e(_0x4c751d,_0x97f9e0):_0x5786dc(0x1df)===_0x15ad58?_0x3d80f9(_0x4c751d,_0x97f9e0):_0x5786dc(0x1dd)===_0x15ad58&&_0x54a5e9(_0x4c751d,_0x97f9e0);}export function moveElement(_0x5b4076,_0x482ddc){_0x5e6fe7(_0x5b4076),_0x161f71(_0x482ddc,_0x5b4076);}export function clone(_0x25cddf){const _0x3f80a8=_0x3de1;return _0x25cddf[_0x3f80a8(0x1e3)](!0x0);}export function getParents(_0x7696b4){const _0x69887=_0x3de1,_0x5198b9=[];let _0x3097d4=_0x7696b4;for(;_0x3097d4;)_0x3097d4=_0x5ade47(_0x3097d4),_0x3097d4&&_0x5198b9[_0x69887(0x1cf)](_0x3097d4);return _0x5198b9;}export function normalizeHTML(_0x48323e){const _0x2f46db=_0x3de1;return _0x48323e[_0x2f46db(0x1cd)](/^\s+/gm,'')[_0x2f46db(0x1cd)](/\s+$/gm,'')[_0x2f46db(0x1cd)](/\n*/g,'')[_0x2f46db(0x1cd)](/\s+/g,'\x20')[_0x2f46db(0x1cd)](/>\s*</g,'><');}export function areNodesSame(_0x42316a,_0x1f98eb){return normalizeHTML(serialize(_0x42316a))===normalizeHTML(serialize(_0x1f98eb));}function _0x3bd7(){const _0x5e3c93=['84778kfYrpP','7kuMtvF','2432394uUPcnK','10cPsMAE','slice','afterend','reverse','beforeend','forEach','parentNode','8449866FLADbZ','cloneNode','2800352xhwAXf','20218407aZndwM','map','replace','nextSibling','push','indexOf','1521RfEBUr','466866llSAoQ','12076PILeWc','attribs','afterbegin','beforebegin','45RveYOP'];_0x3bd7=function(){return _0x5e3c93;};return _0x3bd7();}export function getNodeNestingLevel(_0x4e8011){const _0x2e7514=_0x3de1;let _0x138ecf=0x0;for(;_0x4e8011[_0x2e7514(0x1e1)];)_0x4e8011=_0x4e8011[_0x2e7514(0x1e1)],_0x138ecf++;return _0x138ecf;}export function removeElementsAfter(_0x1fd62f){const _0x19f743=_0x3de1,_0x189337=[];let _0x4ffc8e=_0x1fd62f[_0x19f743(0x1ce)];for(;_0x4ffc8e;)_0x189337[_0x19f743(0x1cf)](_0x4ffc8e),_0x4ffc8e=_0x4ffc8e[_0x19f743(0x1ce)];_0x189337[_0x19f743(0x1e0)](_0x3cf81b=>{_0x5e6fe7(_0x3cf81b);});}export function getNodePath(_0x3368fa){const _0x544e7a=_0x3de1;return[_0x3368fa,...getParents(_0x3368fa)][_0x544e7a(0x1dc)](0x0,-0x1)[_0x544e7a(0x1cc)](_0x2e5c5b=>{const _0x1b6294=_0x544e7a,_0x538fbf=_0x5ade47(_0x2e5c5b);return _0x13b4b8(_0x538fbf)[_0x1b6294(0x1d0)](_0x2e5c5b);})[_0x544e7a(0x1de)]();}