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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsreply.js +1 -1
  6. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  7. package/src/aiassistant/aiassistantediting.js +1 -1
  8. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  9. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  10. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  11. package/src/aiassistant/ui/form/aiformview.js +1 -1
  12. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  13. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  14. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  15. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  16. package/src/aiballoon/aiballoon.js +1 -1
  17. package/src/aichat/aichat.js +1 -1
  18. package/src/aichat/aichatballoon.js +1 -1
  19. package/src/aichat/aichatcontroller.js +1 -1
  20. package/src/aichat/aichatui.js +1 -1
  21. package/src/aichat/model/aichatcontext.js +1 -1
  22. package/src/aichat/model/aichatconversation.js +1 -1
  23. package/src/aichat/ui/aichatballoonview.js +1 -1
  24. package/src/aichat/ui/aichatfeedview.js +1 -1
  25. package/src/aichat/ui/aichatheaderview.js +1 -1
  26. package/src/aichat/ui/aichatview.js +1 -1
  27. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  28. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  29. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  30. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  31. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  32. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  33. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  34. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  35. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  36. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  37. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  38. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  39. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  40. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  41. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  42. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  43. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  44. package/src/aichat/utils/eventnames.js +1 -1
  45. package/src/aichathistory/aichathistory.js +1 -1
  46. package/src/aichathistory/aichathistorycontroller.js +1 -1
  47. package/src/aichathistory/aichathistoryui.js +1 -1
  48. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  49. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  50. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  51. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  52. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  53. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  54. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  55. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  56. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  57. package/src/aicore/aiconnector.js +1 -1
  58. package/src/aicore/aiediting.js +1 -1
  59. package/src/aicore/model/aimodels.js +1 -1
  60. package/src/aicore/model/aireply.js +1 -1
  61. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  62. package/src/aicore/pipeline/airesponseparser.js +2 -2
  63. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  64. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  65. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  66. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  67. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  68. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  69. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  70. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  71. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  72. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  73. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  74. package/src/aicore/utils/documentrange.js +1 -1
  75. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  76. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  77. package/src/aicore/utils/htmlparser.js +1 -1
  78. package/src/aicore/utils/htmlstreamer.js +1 -1
  79. package/src/aicore/utils/scrollmanager.js +1 -1
  80. package/src/aieditorintegration/aieditorintegration.js +1 -1
  81. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  82. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  83. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  84. package/src/aiquickactions/aiquickactionsui.js +1 -1
  85. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  86. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  87. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  88. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  89. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  90. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  91. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  92. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  93. package/src/aireviewcore/aireviewcoreui.js +1 -1
  94. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  95. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  96. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  97. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  98. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  99. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  100. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  101. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  102. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  103. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  104. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  105. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  106. package/src/aireviewmode/aireviewmode.js +1 -1
  107. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  110. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  111. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  112. package/src/aitabs/aitabs.js +1 -1
  113. package/src/aitranslate/aitranslate.js +1 -1
  114. package/src/aitranslate/model/aitranslatecheck.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2f2b7b=_0xc8d0;(function(_0x232bc1,_0x4c6b02){var _0xf65e1f=_0xc8d0,_0x304a5b=_0x232bc1();while(!![]){try{var _0x36f03d=parseInt(_0xf65e1f(0x137))/0x1+parseInt(_0xf65e1f(0x136))/0x2*(parseInt(_0xf65e1f(0x138))/0x3)+parseInt(_0xf65e1f(0x127))/0x4*(-parseInt(_0xf65e1f(0x12b))/0x5)+parseInt(_0xf65e1f(0x13a))/0x6*(-parseInt(_0xf65e1f(0x122))/0x7)+parseInt(_0xf65e1f(0x128))/0x8*(-parseInt(_0xf65e1f(0x12a))/0x9)+-parseInt(_0xf65e1f(0x11b))/0xa*(-parseInt(_0xf65e1f(0x119))/0xb)+-parseInt(_0xf65e1f(0x12c))/0xc*(parseInt(_0xf65e1f(0x11f))/0xd);if(_0x36f03d===_0x4c6b02)break;else _0x304a5b['push'](_0x304a5b['shift']());}catch(_0x361aa5){_0x304a5b['push'](_0x304a5b['shift']());}}}(_0x6a90,0x2b1e9));import{View as _0x200b6c}from'ckeditor5/src/ui.js';function _0xc8d0(_0x8d357a,_0x556119){var _0x6a9099=_0x6a90();return _0xc8d0=function(_0xc8d0cc,_0x225c75){_0xc8d0cc=_0xc8d0cc-0x116;var _0x3ca697=_0x6a9099[_0xc8d0cc];return _0x3ca697;},_0xc8d0(_0x8d357a,_0x556119);}function _0x6a90(){var _0x40916f=['set','titleLabelView','539dDWQtN','remove','createCollection','change:state','setTemplate','304vnrCch','630136cMqfPV','toString','9TSiWLU','755onyfdX','120XzOJRW','AI_SUGGESTION_CONTENT_PART_TITLE','rejectSuggestion','fire','bind','addMany','toolbarView','ck-ai-suggestion__body__content-part__title','ck-ai-suggestion__body__content-part__title__label','pending','568aQwkOr','276051vxKCqZ','714Awubgf','add','7026lZVCno','stateView','applySuggestion','index','children','state','span','setState','106326llcjEH','ck-reset_all-excluded','290oPqwGa','div','insertSuggestion','isEnabled','347009ltYgKX'];_0x6a90=function(){return _0x40916f;};return _0x6a90();}import{getTranslation as _0x406194}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x5b5580}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x5e981e}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x200b6c{[_0x2f2b7b(0x132)];[_0x2f2b7b(0x13b)];[_0x2f2b7b(0x121)];[_0x2f2b7b(0x13e)];constructor(_0x1d91f6,{part:_0x52cbb4,uiIndex:_0x4ce5f2,availableActions:_0x7ba308,areActionsDisabled:_0x3e510e}){var _0x173de6=_0x2f2b7b;super(_0x1d91f6),this[_0x173de6(0x120)](_0x173de6(0x11e),!0x0),this[_0x173de6(0x120)](_0x173de6(0x116),_0x173de6(0x135)),this[_0x173de6(0x132)]=new _0x5e981e(_0x1d91f6,_0x7ba308,_0x3e510e),this[_0x173de6(0x132)]['on'](_0x173de6(0x12e),()=>{var _0x1307bf=_0x173de6;this[_0x1307bf(0x12f)](_0x1307bf(0x12e),{'index':_0x52cbb4[_0x1307bf(0x13d)]});}),this[_0x173de6(0x132)]['on'](_0x173de6(0x11d),()=>{var _0x15a88a=_0x173de6;this[_0x15a88a(0x12f)](_0x15a88a(0x11d),{'index':_0x52cbb4[_0x15a88a(0x13d)]});}),this[_0x173de6(0x132)]['on'](_0x173de6(0x13c),()=>{var _0x1d800c=_0x173de6;this[_0x1d800c(0x12f)](_0x1d800c(0x13c),{'index':_0x52cbb4[_0x1d800c(0x13d)]});}),this[_0x173de6(0x132)][_0x173de6(0x130)](_0x173de6(0x11e))['to'](this),this[_0x173de6(0x13b)]=new _0x5b5580(_0x1d91f6),this[_0x173de6(0x121)]=new Sn(_0x1d91f6,_0x4ce5f2),this[_0x173de6(0x13e)]=this[_0x173de6(0x124)](),this[_0x173de6(0x13e)][_0x173de6(0x131)]([this[_0x173de6(0x121)],this[_0x173de6(0x132)]]),this[_0x173de6(0x126)]({'tag':_0x173de6(0x11c),'attributes':{'class':['ck',_0x173de6(0x11a),_0x173de6(0x133)]},'children':this[_0x173de6(0x13e)]}),this['on'](_0x173de6(0x125),(_0x445a07,_0x4ecc1f,_0x2f0940,_0x389d62)=>{var _0x3cb6cf=_0x173de6;_0x3cb6cf(0x135)===_0x389d62?this[_0x3cb6cf(0x13e)][_0x3cb6cf(0x123)](this[_0x3cb6cf(0x132)]):this[_0x3cb6cf(0x13e)][_0x3cb6cf(0x123)](this[_0x3cb6cf(0x13b)]),_0x3cb6cf(0x135)===_0x2f0940?this[_0x3cb6cf(0x13e)][_0x3cb6cf(0x139)](this[_0x3cb6cf(0x132)]):(this[_0x3cb6cf(0x13b)][_0x3cb6cf(0x118)](_0x2f0940),this[_0x3cb6cf(0x13e)][_0x3cb6cf(0x139)](this[_0x3cb6cf(0x13b)]));});}}class Sn extends _0x200b6c{constructor(_0x20115a,_0x2825e){var _0xb017c1=_0x2f2b7b;super(_0x20115a),this[_0xb017c1(0x126)]({'tag':_0xb017c1(0x117),'attributes':{'class':['ck',_0xb017c1(0x134)]},'children':[_0x406194(_0x20115a,_0xb017c1(0x12d),_0x2825e[_0xb017c1(0x129)]())]});}}
23
+ var _0x136e10=_0x51f2;(function(_0x194d0f,_0x598a2d){var _0xcf0713=_0x51f2,_0x1b5916=_0x194d0f();while(!![]){try{var _0x7cef72=parseInt(_0xcf0713(0xe7))/0x1+-parseInt(_0xcf0713(0xe3))/0x2+parseInt(_0xcf0713(0xdd))/0x3+parseInt(_0xcf0713(0xeb))/0x4*(parseInt(_0xcf0713(0xd8))/0x5)+-parseInt(_0xcf0713(0xe2))/0x6+parseInt(_0xcf0713(0xd3))/0x7*(-parseInt(_0xcf0713(0xd6))/0x8)+parseInt(_0xcf0713(0xf3))/0x9;if(_0x7cef72===_0x598a2d)break;else _0x1b5916['push'](_0x1b5916['shift']());}catch(_0x2f51d6){_0x1b5916['push'](_0x1b5916['shift']());}}}(_0x50fd,0x938d6));import{View as _0x51c4c8}from'ckeditor5/src/ui.js';import{getTranslation as _0x382362}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x222e71}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x3cbb9e}from'./aisuggestioncontentparttoolbarview.js';function _0x51f2(_0xd9a63f,_0x3f72c4){var _0x50fdea=_0x50fd();return _0x51f2=function(_0x51f299,_0x371bd3){_0x51f299=_0x51f299-0xd3;var _0x8b6695=_0x50fdea[_0x51f299];return _0x8b6695;},_0x51f2(_0xd9a63f,_0x3f72c4);}function _0x50fd(){var _0x5be676=['AI_SUGGESTION_CONTENT_PART_TITLE','toString','insertSuggestion','toolbarView','state','createCollection','index','6896781wInOmH','remove','applySuggestion','ck-reset_all-excluded','ck-ai-suggestion__body__content-part__title','7MNjjLi','ck-ai-suggestion__body__content-part__title__label','titleLabelView','7368968kPIcxz','add','435JDSVOe','isEnabled','stateView','setState','addMany','515100RMdNHU','children','pending','setTemplate','div','2153280rqrwfT','160930IYcRGW','span','set','rejectSuggestion','197547swsuzu','change:state','bind','fire','38128daGzrQ'];_0x50fd=function(){return _0x5be676;};return _0x50fd();}export class AISuggestionContentPartHeaderView extends _0x51c4c8{[_0x136e10(0xef)];[_0x136e10(0xda)];[_0x136e10(0xd5)];[_0x136e10(0xde)];constructor(_0x2fa02e,{part:_0x19a19a,uiIndex:_0x5b8a03,availableActions:_0x595b60,areActionsDisabled:_0x4c4b07}){var _0x16d302=_0x136e10;super(_0x2fa02e),this[_0x16d302(0xe5)](_0x16d302(0xd9),!0x0),this[_0x16d302(0xe5)](_0x16d302(0xf0),_0x16d302(0xdf)),this[_0x16d302(0xef)]=new _0x3cbb9e(_0x2fa02e,_0x595b60,_0x4c4b07),this[_0x16d302(0xef)]['on'](_0x16d302(0xe6),()=>{var _0x24254a=_0x16d302;this[_0x24254a(0xea)](_0x24254a(0xe6),{'index':_0x19a19a[_0x24254a(0xf2)]});}),this[_0x16d302(0xef)]['on'](_0x16d302(0xee),()=>{var _0x362e10=_0x16d302;this[_0x362e10(0xea)](_0x362e10(0xee),{'index':_0x19a19a[_0x362e10(0xf2)]});}),this[_0x16d302(0xef)]['on'](_0x16d302(0xf5),()=>{var _0x355e11=_0x16d302;this[_0x355e11(0xea)](_0x355e11(0xf5),{'index':_0x19a19a[_0x355e11(0xf2)]});}),this[_0x16d302(0xef)][_0x16d302(0xe9)](_0x16d302(0xd9))['to'](this),this[_0x16d302(0xda)]=new _0x222e71(_0x2fa02e),this[_0x16d302(0xd5)]=new Sn(_0x2fa02e,_0x5b8a03),this[_0x16d302(0xde)]=this[_0x16d302(0xf1)](),this[_0x16d302(0xde)][_0x16d302(0xdc)]([this[_0x16d302(0xd5)],this[_0x16d302(0xef)]]),this[_0x16d302(0xe0)]({'tag':_0x16d302(0xe1),'attributes':{'class':['ck',_0x16d302(0xf6),_0x16d302(0xf7)]},'children':this[_0x16d302(0xde)]}),this['on'](_0x16d302(0xe8),(_0x4bb4cb,_0x59cc14,_0x545103,_0x2ff454)=>{var _0x3a7f2c=_0x16d302;_0x3a7f2c(0xdf)===_0x2ff454?this[_0x3a7f2c(0xde)][_0x3a7f2c(0xf4)](this[_0x3a7f2c(0xef)]):this[_0x3a7f2c(0xde)][_0x3a7f2c(0xf4)](this[_0x3a7f2c(0xda)]),_0x3a7f2c(0xdf)===_0x545103?this[_0x3a7f2c(0xde)][_0x3a7f2c(0xd7)](this[_0x3a7f2c(0xef)]):(this[_0x3a7f2c(0xda)][_0x3a7f2c(0xdb)](_0x545103),this[_0x3a7f2c(0xde)][_0x3a7f2c(0xd7)](this[_0x3a7f2c(0xda)]));});}}class Sn extends _0x51c4c8{constructor(_0x5c80d1,_0x1dce69){var _0x3d6b72=_0x136e10;super(_0x5c80d1),this[_0x3d6b72(0xe0)]({'tag':_0x3d6b72(0xe4),'attributes':{'class':['ck',_0x3d6b72(0xd4)]},'children':[_0x382362(_0x5c80d1,_0x3d6b72(0xec),_0x1dce69[_0x3d6b72(0xed)]())]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x547f66=_0x17d7;(function(_0x84f85a,_0x487432){const _0x57402a=_0x17d7,_0x51fd7c=_0x84f85a();while(!![]){try{const _0x330af8=parseInt(_0x57402a(0x1a7))/0x1*(parseInt(_0x57402a(0x1aa))/0x2)+parseInt(_0x57402a(0x19c))/0x3*(-parseInt(_0x57402a(0x196))/0x4)+parseInt(_0x57402a(0x195))/0x5+parseInt(_0x57402a(0x1a6))/0x6+-parseInt(_0x57402a(0x1a3))/0x7*(parseInt(_0x57402a(0x194))/0x8)+parseInt(_0x57402a(0x19f))/0x9+parseInt(_0x57402a(0x19d))/0xa*(-parseInt(_0x57402a(0x1a8))/0xb);if(_0x330af8===_0x487432)break;else _0x51fd7c['push'](_0x51fd7c['shift']());}catch(_0x14acfe){_0x51fd7c['push'](_0x51fd7c['shift']());}}}(_0x1495,0x27130));function _0x17d7(_0x48d5a1,_0x1e6a3c){const _0x149577=_0x1495();return _0x17d7=function(_0x17d7e7,_0xabf899){_0x17d7e7=_0x17d7e7-0x18d;let _0x31fb80=_0x149577[_0x17d7e7];return _0x31fb80;},_0x17d7(_0x48d5a1,_0x1e6a3c);}import{IconView as _0xcac3ed,View as _0x1f9670}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x6bb2e8,IconBoxWithCheck as _0x131256}from'ckeditor5/src/icons.js';import{getTranslation as _0x4f8b28}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x131256,'rejected':_0x6bb2e8,'outdated':_0x6bb2e8};export class AISuggestionContentPartStateView extends _0x1f9670{[_0x547f66(0x1a0)];constructor(_0x33fd24){const _0x5d5feb=_0x547f66;super(_0x33fd24);const _0x38762b=this[_0x5d5feb(0x18f)];this[_0x5d5feb(0x191)](_0x5d5feb(0x1ac),_0x5d5feb(0x1ab)),this[_0x5d5feb(0x191)](_0x5d5feb(0x1a9),!0x0),this[_0x5d5feb(0x1a0)]=new StateIconView(),this[_0x5d5feb(0x1a0)][_0x5d5feb(0x197)](_0x5d5feb(0x1ac))['to'](this),this[_0x5d5feb(0x18e)]({'tag':_0x5d5feb(0x1a5),'attributes':{'class':['ck',_0x5d5feb(0x18d),_0x38762b['to'](_0x5d5feb(0x1ac),_0x226bb2=>_0x5d5feb(0x190)+_0x226bb2),_0x38762b['if'](_0x5d5feb(0x1a9),_0x5d5feb(0x198),_0x2f7505=>!_0x2f7505)]},'children':[{'tag':_0x5d5feb(0x1a4),'attributes':{'class':[_0x5d5feb(0x193)]},'children':[{'text':_0x38762b['to'](_0x5d5feb(0x1ac),_0x45e260=>{const _0xab696a=_0x5d5feb;switch(_0x45e260){case _0xab696a(0x1ab):return _0x4f8b28(_0x33fd24,_0xab696a(0x1a1));case _0xab696a(0x192):return _0x4f8b28(_0x33fd24,_0xab696a(0x199));case _0xab696a(0x19e):return _0x4f8b28(_0x33fd24,_0xab696a(0x19b));}})}]},this[_0x5d5feb(0x1a0)]]});}[_0x547f66(0x19a)](_0x14e5bb){const _0x40cfcf=_0x547f66;this[_0x40cfcf(0x1ac)]=_0x14e5bb;}}function _0x1495(){const _0x479593=['set','rejected','ck-ai-suggestion__content-part-state__label','752KEDZtH','770655yVdQKl','365212TStjYd','bind','ck-hidden','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','setState','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','6iZiIIZ','10qLAnUy','outdated','2579580bUUmVV','stateIconView','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','content','12026EGAGaO','span','div','956610LogWBd','1DkpHfT','4515676lWOLBV','isVisible','628952NjloFw','accepted','state','change:state','ck-ai-suggestion__content-part-state','setTemplate','bindTemplate','ck-ai-suggestion__content-part-state_'];_0x1495=function(){return _0x479593;};return _0x1495();}export class StateIconView extends _0xcac3ed{constructor(){const _0x1da62e=_0x547f66;super(),this[_0x1da62e(0x191)](_0x1da62e(0x1ac),_0x1da62e(0x1ab)),this[_0x1da62e(0x1a2)]=ICON_STATE_MAP[this[_0x1da62e(0x1ac)]],this['on'](_0x1da62e(0x1ad),()=>{const _0x2e9224=_0x1da62e;this[_0x2e9224(0x1a2)]=ICON_STATE_MAP[this[_0x2e9224(0x1ac)]];});}}
23
+ const _0x515065=_0xf679;(function(_0x2f1cac,_0xdc9d12){const _0x4724ab=_0xf679,_0x5c264f=_0x2f1cac();while(!![]){try{const _0x54f796=-parseInt(_0x4724ab(0xcc))/0x1*(-parseInt(_0x4724ab(0xbf))/0x2)+parseInt(_0x4724ab(0xc9))/0x3*(-parseInt(_0x4724ab(0xdc))/0x4)+-parseInt(_0x4724ab(0xc3))/0x5*(parseInt(_0x4724ab(0xdb))/0x6)+parseInt(_0x4724ab(0xc6))/0x7+parseInt(_0x4724ab(0xc4))/0x8*(parseInt(_0x4724ab(0xca))/0x9)+-parseInt(_0x4724ab(0xd7))/0xa*(parseInt(_0x4724ab(0xd3))/0xb)+parseInt(_0x4724ab(0xd5))/0xc;if(_0x54f796===_0xdc9d12)break;else _0x5c264f['push'](_0x5c264f['shift']());}catch(_0x13b8d2){_0x5c264f['push'](_0x5c264f['shift']());}}}(_0x2286,0x2beed));import{IconView as _0x1d9bcb,View as _0x58fc2d}from'ckeditor5/src/ui.js';function _0x2286(){const _0x4bc744=['1584OMwuGF','state','1016940nYHDXL','ck-ai-suggestion__content-part-state__label','22310UXscsi','bindTemplate','setState','change:state','20286DZhDNi','155060JMSWyD','span','ck-ai-suggestion__content-part-state','content','outdated','576IIcrej','setTemplate','ck-ai-suggestion__content-part-state_','div','30hUVhGX','2506544zfchXF','ck-hidden','624561RsllPg','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','bind','21hnmRpF','9kCQKSg','stateIconView','1061MKFlPE','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','isVisible','accepted','rejected','set'];_0x2286=function(){return _0x4bc744;};return _0x2286();}function _0xf679(_0x2c75ee,_0x1804eb){const _0x2286b8=_0x2286();return _0xf679=function(_0xf6797f,_0x4af6cf){_0xf6797f=_0xf6797f-0xbc;let _0x1ed79d=_0x2286b8[_0xf6797f];return _0x1ed79d;},_0xf679(_0x2c75ee,_0x1804eb);}import{IconBoxWithCross as _0x294089,IconBoxWithCheck as _0x358f8d}from'ckeditor5/src/icons.js';import{getTranslation as _0x1f98bd}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x358f8d,'rejected':_0x294089,'outdated':_0x294089};export class AISuggestionContentPartStateView extends _0x58fc2d{[_0x515065(0xcb)];constructor(_0x4065b1){const _0x5a05d6=_0x515065;super(_0x4065b1);const _0x4c907a=this[_0x5a05d6(0xd8)];this[_0x5a05d6(0xd2)](_0x5a05d6(0xd4),_0x5a05d6(0xd0)),this[_0x5a05d6(0xd2)](_0x5a05d6(0xcf),!0x0),this[_0x5a05d6(0xcb)]=new StateIconView(),this[_0x5a05d6(0xcb)][_0x5a05d6(0xc8)](_0x5a05d6(0xd4))['to'](this),this[_0x5a05d6(0xc0)]({'tag':_0x5a05d6(0xc2),'attributes':{'class':['ck',_0x5a05d6(0xbc),_0x4c907a['to'](_0x5a05d6(0xd4),_0x41ca0c=>_0x5a05d6(0xc1)+_0x41ca0c),_0x4c907a['if'](_0x5a05d6(0xcf),_0x5a05d6(0xc5),_0xe1420e=>!_0xe1420e)]},'children':[{'tag':_0x5a05d6(0xdd),'attributes':{'class':[_0x5a05d6(0xd6)]},'children':[{'text':_0x4c907a['to'](_0x5a05d6(0xd4),_0xd0dc5b=>{const _0x1f367d=_0x5a05d6;switch(_0xd0dc5b){case _0x1f367d(0xd0):return _0x1f98bd(_0x4065b1,_0x1f367d(0xce));case _0x1f367d(0xd1):return _0x1f98bd(_0x4065b1,_0x1f367d(0xcd));case _0x1f367d(0xbe):return _0x1f98bd(_0x4065b1,_0x1f367d(0xc7));}})}]},this[_0x5a05d6(0xcb)]]});}[_0x515065(0xd9)](_0x5112c0){const _0x533bc6=_0x515065;this[_0x533bc6(0xd4)]=_0x5112c0;}}export class StateIconView extends _0x1d9bcb{constructor(){const _0x285678=_0x515065;super(),this[_0x285678(0xd2)](_0x285678(0xd4),_0x285678(0xd0)),this[_0x285678(0xbd)]=ICON_STATE_MAP[this[_0x285678(0xd4)]],this['on'](_0x285678(0xda),()=>{const _0x2aa48b=_0x285678;this[_0x2aa48b(0xbd)]=ICON_STATE_MAP[this[_0x2aa48b(0xd4)]];});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3a4a(_0x1c6d3e,_0x39ec12){const _0x4e9f17=_0x4e9f();return _0x3a4a=function(_0x3a4aef,_0x27470e){_0x3a4aef=_0x3a4aef-0xa4;let _0x49adcb=_0x4e9f17[_0x3a4aef];return _0x49adcb;},_0x3a4a(_0x1c6d3e,_0x39ec12);}const _0x459726=_0x3a4a;(function(_0x34446c,_0x20d5b4){const _0xdd3795=_0x3a4a,_0x49e363=_0x34446c();while(!![]){try{const _0x442c3e=parseInt(_0xdd3795(0xa6))/0x1+parseInt(_0xdd3795(0xbb))/0x2+-parseInt(_0xdd3795(0xae))/0x3+parseInt(_0xdd3795(0xbe))/0x4+-parseInt(_0xdd3795(0xbf))/0x5+parseInt(_0xdd3795(0xb8))/0x6*(-parseInt(_0xdd3795(0xbc))/0x7)+-parseInt(_0xdd3795(0xb2))/0x8*(-parseInt(_0xdd3795(0xba))/0x9);if(_0x442c3e===_0x20d5b4)break;else _0x49e363['push'](_0x49e363['shift']());}catch(_0x3ced16){_0x49e363['push'](_0x49e363['shift']());}}}(_0x4e9f,0xc4655));import{ButtonView as _0x66e926,ToolbarView as _0x41eb1b}from'ckeditor5/src/ui.js';import{getTranslation as _0x547b66}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x48a8e1,IconBoxWithCheck as _0x2c792e,IconBoxWithMarker as _0x8a4518,IconInfo as _0x24af20}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';function _0x4e9f(){const _0x579243=['_suggestButton','ck-ai-suggestion-content-part-toolbar','isEnabled','3164076umwSTS','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','AI_SUGGESTION_CONTENT_PART_REJECT','ck-hidden','47328jjJXgI','setButtonsVisibility','rejectSuggestion','push','execute','bind','448374pVHYiR','_applyButton','666zKVMdu','3059542EtsQVY','91qPREUo','AI_SUGGESTION_CONTENT_PART_APPLY','1976932IalhCJ','5157440dVqRDS','applySuggestion','bindTemplate','addMany','isVisible','fire','items','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','includes','1400306uqWKUV','class','set','extendTemplate','insertSuggestion'];_0x4e9f=function(){return _0x579243;};return _0x4e9f();}export class AISuggestionContentPartToolbarView extends _0x41eb1b{[_0x459726(0xb9)];[_0x459726(0xab)];constructor(_0x475794,_0x108a4b,_0xc41ccb){const _0x53e6d7=_0x459726;super(_0x475794);const _0x4f27c1=Boolean(_0xc41ccb);this[_0x53e6d7(0xa8)](_0x53e6d7(0xad),!_0x4f27c1),this[_0x53e6d7(0xa8)](_0x53e6d7(0xc3),!0x0),this[_0x53e6d7(0xa7)]=_0x53e6d7(0xac);const _0x5fd1b9=[];if(_0x4f27c1){const _0x17f2a7=new _0x66e926(_0x475794);_0x17f2a7[_0x53e6d7(0xa8)]({'label':_0x547b66(_0x475794,_0x53e6d7(0xaf)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x24af20}),_0x5fd1b9[_0x53e6d7(0xb5)](_0x17f2a7);}else{_0x108a4b[_0x53e6d7(0xa5)](_0x53e6d7(0xc0))&&(this[_0x53e6d7(0xb9)]=new _0x66e926(_0x475794),this[_0x53e6d7(0xb9)][_0x53e6d7(0xa8)]({'label':_0x547b66(_0x475794,_0x53e6d7(0xbd)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x2c792e}),this[_0x53e6d7(0xb9)][_0x53e6d7(0xb7)](_0x53e6d7(0xad))['to'](this),this[_0x53e6d7(0xb9)]['on'](_0x53e6d7(0xb6),()=>{const _0x1f86e8=_0x53e6d7;this[_0x1f86e8(0xc4)](_0x1f86e8(0xc0));}),_0x5fd1b9[_0x53e6d7(0xb5)](this[_0x53e6d7(0xb9)])),_0x108a4b[_0x53e6d7(0xa5)](_0x53e6d7(0xaa))&&(this[_0x53e6d7(0xab)]=new _0x66e926(_0x475794),this[_0x53e6d7(0xab)][_0x53e6d7(0xa8)]({'label':_0x547b66(_0x475794,_0x53e6d7(0xa4)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x8a4518}),this[_0x53e6d7(0xab)][_0x53e6d7(0xb7)](_0x53e6d7(0xad))['to'](this),this[_0x53e6d7(0xab)]['on'](_0x53e6d7(0xb6),()=>{const _0x5b4d99=_0x53e6d7;this[_0x5b4d99(0xc4)](_0x5b4d99(0xaa));}),_0x5fd1b9[_0x53e6d7(0xb5)](this[_0x53e6d7(0xab)]));const _0x2b38df=new _0x66e926(_0x475794);_0x2b38df[_0x53e6d7(0xa8)]({'label':_0x547b66(_0x475794,_0x53e6d7(0xb0)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x48a8e1}),_0x2b38df[_0x53e6d7(0xb7)](_0x53e6d7(0xad))['to'](this),_0x2b38df['on'](_0x53e6d7(0xb6),()=>{const _0x22587c=_0x53e6d7;this[_0x22587c(0xc4)](_0x22587c(0xb4));}),_0x5fd1b9[_0x53e6d7(0xb5)](_0x2b38df);}this[_0x53e6d7(0xc5)][_0x53e6d7(0xc2)](_0x5fd1b9);const _0x5f049f=this[_0x53e6d7(0xc1)];this[_0x53e6d7(0xa9)]({'attributes':{'class':[_0x5f049f['if'](_0x53e6d7(0xc3),_0x53e6d7(0xb1),_0x1a6c74=>!_0x1a6c74)]}});}[_0x459726(0xb3)]({showApplyButton:_0x16b14d,showSuggestButton:_0x58237c}){const _0x47df4d=_0x459726;this[_0x47df4d(0xb9)]&&(this[_0x47df4d(0xb9)][_0x47df4d(0xc3)]=_0x16b14d),this[_0x47df4d(0xab)]&&(this[_0x47df4d(0xab)][_0x47df4d(0xc3)]=_0x58237c);}}
23
+ const _0x5a323a=_0x1775;(function(_0x573b02,_0x2bf74a){const _0x2ecfca=_0x1775,_0x10cb08=_0x573b02();while(!![]){try{const _0x24142a=-parseInt(_0x2ecfca(0x1a2))/0x1+-parseInt(_0x2ecfca(0x196))/0x2+-parseInt(_0x2ecfca(0x1ab))/0x3*(parseInt(_0x2ecfca(0x1b1))/0x4)+-parseInt(_0x2ecfca(0x1ac))/0x5*(parseInt(_0x2ecfca(0x197))/0x6)+-parseInt(_0x2ecfca(0x1aa))/0x7*(-parseInt(_0x2ecfca(0x1a6))/0x8)+parseInt(_0x2ecfca(0x19b))/0x9*(parseInt(_0x2ecfca(0x1b4))/0xa)+-parseInt(_0x2ecfca(0x193))/0xb*(-parseInt(_0x2ecfca(0x1b3))/0xc);if(_0x24142a===_0x2bf74a)break;else _0x10cb08['push'](_0x10cb08['shift']());}catch(_0x3c6a6c){_0x10cb08['push'](_0x10cb08['shift']());}}}(_0x303b,0xe03ce));import{ButtonView as _0x372966,ToolbarView as _0x229e7f}from'ckeditor5/src/ui.js';import{getTranslation as _0x1c622c}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x47f634,IconBoxWithCheck as _0x3ac598,IconBoxWithMarker as _0x293998,IconInfo as _0x262fa4}from'ckeditor5/src/icons.js';function _0x1775(_0x15fe9a,_0x44e73b){const _0x303b8b=_0x303b();return _0x1775=function(_0x1775f6,_0x510c57){_0x1775f6=_0x1775f6-0x193;let _0x5a6b69=_0x303b8b[_0x1775f6];return _0x5a6b69;},_0x1775(_0x15fe9a,_0x44e73b);}function _0x303b(){const _0x35f306=['set','9RoqAgp','isEnabled','bind','bindTemplate','isVisible','addMany','AI_SUGGESTION_CONTENT_PART_REJECT','481462PyChGV','execute','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','setButtonsVisibility','1480GxVoUz','extendTemplate','push','insertSuggestion','39529IJcEvE','1376784tyujlS','255TxWIEz','ck-hidden','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-ai-suggestion-content-part-toolbar','fire','12kolgYi','_applyButton','12rFnxLn','8783590qEvjir','includes','class','items','20978650DAZEVW','AI_SUGGESTION_CONTENT_PART_APPLY','rejectSuggestion','1018722FLWTeV','64014dhCUgv','applySuggestion','_suggestButton'];_0x303b=function(){return _0x35f306;};return _0x303b();}import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x229e7f{[_0x5a323a(0x1b2)];[_0x5a323a(0x199)];constructor(_0x5247bc,_0xd88d3f,_0x5463bf){const _0xb2a2ac=_0x5a323a;super(_0x5247bc);const _0x4dd164=Boolean(_0x5463bf);this[_0xb2a2ac(0x19a)](_0xb2a2ac(0x19c),!_0x4dd164),this[_0xb2a2ac(0x19a)](_0xb2a2ac(0x19f),!0x0),this[_0xb2a2ac(0x1b6)]=_0xb2a2ac(0x1af);const _0x9eaca5=[];if(_0x4dd164){const _0x12955b=new _0x372966(_0x5247bc);_0x12955b[_0xb2a2ac(0x19a)]({'label':_0x1c622c(_0x5247bc,_0xb2a2ac(0x1ae)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x262fa4}),_0x9eaca5[_0xb2a2ac(0x1a8)](_0x12955b);}else{_0xd88d3f[_0xb2a2ac(0x1b5)](_0xb2a2ac(0x198))&&(this[_0xb2a2ac(0x1b2)]=new _0x372966(_0x5247bc),this[_0xb2a2ac(0x1b2)][_0xb2a2ac(0x19a)]({'label':_0x1c622c(_0x5247bc,_0xb2a2ac(0x194)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3ac598}),this[_0xb2a2ac(0x1b2)][_0xb2a2ac(0x19d)](_0xb2a2ac(0x19c))['to'](this),this[_0xb2a2ac(0x1b2)]['on'](_0xb2a2ac(0x1a3),()=>{const _0x2051f4=_0xb2a2ac;this[_0x2051f4(0x1b0)](_0x2051f4(0x198));}),_0x9eaca5[_0xb2a2ac(0x1a8)](this[_0xb2a2ac(0x1b2)])),_0xd88d3f[_0xb2a2ac(0x1b5)](_0xb2a2ac(0x1a9))&&(this[_0xb2a2ac(0x199)]=new _0x372966(_0x5247bc),this[_0xb2a2ac(0x199)][_0xb2a2ac(0x19a)]({'label':_0x1c622c(_0x5247bc,_0xb2a2ac(0x1a4)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x293998}),this[_0xb2a2ac(0x199)][_0xb2a2ac(0x19d)](_0xb2a2ac(0x19c))['to'](this),this[_0xb2a2ac(0x199)]['on'](_0xb2a2ac(0x1a3),()=>{const _0x36297b=_0xb2a2ac;this[_0x36297b(0x1b0)](_0x36297b(0x1a9));}),_0x9eaca5[_0xb2a2ac(0x1a8)](this[_0xb2a2ac(0x199)]));const _0x9e77ac=new _0x372966(_0x5247bc);_0x9e77ac[_0xb2a2ac(0x19a)]({'label':_0x1c622c(_0x5247bc,_0xb2a2ac(0x1a1)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x47f634}),_0x9e77ac[_0xb2a2ac(0x19d)](_0xb2a2ac(0x19c))['to'](this),_0x9e77ac['on'](_0xb2a2ac(0x1a3),()=>{const _0x189321=_0xb2a2ac;this[_0x189321(0x1b0)](_0x189321(0x195));}),_0x9eaca5[_0xb2a2ac(0x1a8)](_0x9e77ac);}this[_0xb2a2ac(0x1b7)][_0xb2a2ac(0x1a0)](_0x9eaca5);const _0xcca28f=this[_0xb2a2ac(0x19e)];this[_0xb2a2ac(0x1a7)]({'attributes':{'class':[_0xcca28f['if'](_0xb2a2ac(0x19f),_0xb2a2ac(0x1ad),_0x456d6a=>!_0x456d6a)]}});}[_0x5a323a(0x1a5)]({showApplyButton:_0x32bb80,showSuggestButton:_0xb05507}){const _0x4167ed=_0x5a323a;this[_0x4167ed(0x1b2)]&&(this[_0x4167ed(0x1b2)][_0x4167ed(0x19f)]=_0x32bb80),this[_0x4167ed(0x199)]&&(this[_0x4167ed(0x199)][_0x4167ed(0x19f)]=_0xb05507);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xda1a9e=_0x555c;function _0xa676(){const _0x1fd898=['change:isDone','ck-ai-suggestion__body__content-part_active','620DDSnJP','pending','isActive','_children','partDefinition','72342gGSVUh','3udZDbT','_headerView','showChangeInText','ck-hidden','_streamableContentView','createCollection','div','5180uxcwHk','updateContent','addMany','mouseOverSuggestion','660AcjawX','toolbarView','228901hAbePc','contains','ck-ai-suggestion__body__content-part_','bind','state','fire','delegate','setTemplate','450042ISMhtF','target','change:state','markAsDone','401864EoTjHi','mouseLeaveSuggestion','index','set','hasChanges','ck-ai-suggestion__body__content-part','bindTemplate','345320plYUiE','1584877JsZsDs','update','isEnabled','isDone','element','isVisible','ck-ai-suggestion__body__content-part_enabled'];_0xa676=function(){return _0x1fd898;};return _0xa676();}function _0x555c(_0x4547bd,_0x3c202b){const _0xa67604=_0xa676();return _0x555c=function(_0x555c25,_0x43f8bb){_0x555c25=_0x555c25-0x6a;let _0xa32486=_0xa67604[_0x555c25];return _0xa32486;},_0x555c(_0x4547bd,_0x3c202b);}(function(_0x2bd9cb,_0x14b018){const _0x50e035=_0x555c,_0x3de875=_0x2bd9cb();while(!![]){try{const _0x54ddbb=parseInt(_0x50e035(0x78))/0x1+parseInt(_0x50e035(0x80))/0x2*(parseInt(_0x50e035(0x6b))/0x3)+parseInt(_0x50e035(0x84))/0x4+parseInt(_0x50e035(0x72))/0x5*(-parseInt(_0x50e035(0x76))/0x6)+parseInt(_0x50e035(0x8c))/0x7+-parseInt(_0x50e035(0x8b))/0x8+parseInt(_0x50e035(0x6a))/0x9*(-parseInt(_0x50e035(0x95))/0xa);if(_0x54ddbb===_0x14b018)break;else _0x3de875['push'](_0x3de875['shift']());}catch(_0x266588){_0x3de875['push'](_0x3de875['shift']());}}}(_0xa676,0x1e986));import{View as _0x1682f5}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x566f8a}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x40c8f0}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x1d6bd9}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0x1682f5{[_0xda1a9e(0x98)];[_0xda1a9e(0x6c)];[_0xda1a9e(0x6f)];constructor(_0x1aedd9,{part:_0x324540,uiIndex:_0x12f9aa,areActionsDisabled:_0x29ee47,availableActions:_0x383583}){const _0x2c1c5c=_0xda1a9e;super(_0x1aedd9);const _0x2f65c1=this[_0x2c1c5c(0x8a)];this[_0x2c1c5c(0x87)](_0x2c1c5c(0x7c),_0x2c1c5c(0x96)),this[_0x2c1c5c(0x87)](_0x2c1c5c(0x8f),!0x1),this[_0x2c1c5c(0x87)](_0x2c1c5c(0x91),!0x1),this[_0x2c1c5c(0x87)](_0x2c1c5c(0x97),!0x1),this[_0x2c1c5c(0x87)](_0x2c1c5c(0x8e),!0x1);const _0xe5d708=()=>{const _0xe36ac2=_0x2c1c5c;this[_0xe36ac2(0x8e)]=this[_0xe36ac2(0x8f)]&&_0xe36ac2(0x96)==this[_0xe36ac2(0x7c)]&&!_0x29ee47;};this['on'](_0x2c1c5c(0x82),_0xe5d708),this['on'](_0x2c1c5c(0x93),_0xe5d708),_0xe5d708(),this[_0x2c1c5c(0x98)]=this[_0x2c1c5c(0x70)](),this[_0x2c1c5c(0x6c)]=new _0x40c8f0(_0x1aedd9,{'part':_0x324540,'uiIndex':_0x12f9aa,'availableActions':_0x383583,'areActionsDisabled':_0x29ee47}),this[_0x2c1c5c(0x6c)][_0x2c1c5c(0x7b)](_0x2c1c5c(0x8e),_0x2c1c5c(0x7c))['to'](this),this[_0x2c1c5c(0x6c)][_0x2c1c5c(0x7e)](..._0x566f8a)['to'](this),this[_0x2c1c5c(0x6f)]=new _0x1d6bd9(_0x1aedd9),this[_0x2c1c5c(0x98)][_0x2c1c5c(0x74)]([this[_0x2c1c5c(0x6c)],this[_0x2c1c5c(0x6f)]]),this[_0x2c1c5c(0x7f)]({'tag':_0x2c1c5c(0x71),'attributes':{'class':['ck',_0x2c1c5c(0x89),_0x2f65c1['to'](_0x2c1c5c(0x7c),_0x4e7902=>_0x2c1c5c(0x7a)+_0x4e7902),_0x2f65c1['if'](_0x2c1c5c(0x8e),_0x2c1c5c(0x92)),_0x2f65c1['if'](_0x2c1c5c(0x97),_0x2c1c5c(0x94)),_0x2f65c1['if'](_0x2c1c5c(0x91),_0x2c1c5c(0x6e),_0x2dec12=>!_0x2dec12)]},'children':this[_0x2c1c5c(0x98)],'on':{'mouseenter':_0x2f65c1['to'](()=>{const _0x3eebd3=_0x2c1c5c;this[_0x3eebd3(0x8e)]&&this[_0x3eebd3(0x7d)](_0x3eebd3(0x75),{'index':_0x324540[_0x3eebd3(0x86)]});}),'mouseleave':_0x2f65c1['to'](()=>{const _0x57f776=_0x2c1c5c;this[_0x57f776(0x8e)]&&this[_0x57f776(0x7d)](_0x57f776(0x85),{'index':_0x324540[_0x57f776(0x86)]});}),'click':_0x2f65c1['to'](_0x456f42=>{const _0x5c658d=_0x2c1c5c,_0x14f307=_0x456f42[_0x5c658d(0x81)];this[_0x5c658d(0x8e)]&&!this[_0x5c658d(0x6c)][_0x5c658d(0x77)][_0x5c658d(0x90)][_0x5c658d(0x79)](_0x14f307)&&this[_0x5c658d(0x7d)](_0x5c658d(0x6d),{'index':_0x324540[_0x5c658d(0x86)]});})}});}async[_0xda1a9e(0x73)]({part:_0x3a56d7,renderingStrategy:_0x15e8ff,showUnchangedParts:_0x2e243e=!0x1,abortSignal:_0x2bf980}){const _0x2ae2be=_0xda1a9e;this[_0x2ae2be(0x99)]=_0x3a56d7,this[_0x2ae2be(0x91)]=this[_0x2ae2be(0x99)][_0x2ae2be(0x88)]||_0x2e243e,this[_0x2ae2be(0x91)]&&await this[_0x2ae2be(0x6f)][_0x2ae2be(0x8d)]({'part':_0x3a56d7,'renderingStrategy':_0x15e8ff,'abortSignal':_0x2bf980});}[_0xda1a9e(0x83)](){const _0x14ffe4=_0xda1a9e;this[_0x14ffe4(0x8f)]=!0x0;}}
23
+ const _0x411a52=_0x14b2;(function(_0x19533e,_0x17c132){const _0xa31c9e=_0x14b2,_0x2c2a5e=_0x19533e();while(!![]){try{const _0x4effdd=-parseInt(_0xa31c9e(0x102))/0x1*(parseInt(_0xa31c9e(0x12b))/0x2)+parseInt(_0xa31c9e(0x10b))/0x3*(parseInt(_0xa31c9e(0x10a))/0x4)+-parseInt(_0xa31c9e(0x10f))/0x5*(-parseInt(_0xa31c9e(0x111))/0x6)+-parseInt(_0xa31c9e(0x103))/0x7*(parseInt(_0xa31c9e(0x114))/0x8)+parseInt(_0xa31c9e(0x110))/0x9*(parseInt(_0xa31c9e(0x10e))/0xa)+-parseInt(_0xa31c9e(0x121))/0xb+-parseInt(_0xa31c9e(0x128))/0xc;if(_0x4effdd===_0x17c132)break;else _0x2c2a5e['push'](_0x2c2a5e['shift']());}catch(_0x19a8c3){_0x2c2a5e['push'](_0x2c2a5e['shift']());}}}(_0x3d6e,0x945df));import{View as _0x2208de}from'ckeditor5/src/ui.js';function _0x14b2(_0x3507f9,_0x48afa2){const _0x3d6ed5=_0x3d6e();return _0x14b2=function(_0x14b21f,_0x476542){_0x14b21f=_0x14b21f-0xfa;let _0x573849=_0x3d6ed5[_0x14b21f];return _0x573849;},_0x14b2(_0x3507f9,_0x48afa2);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1b074b}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x4987cd}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x23179b}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0x2208de{[_0x411a52(0x10c)];[_0x411a52(0x11d)];[_0x411a52(0x117)];constructor(_0x23bf63,{part:_0x582ed9,uiIndex:_0x46180f,areActionsDisabled:_0x201f0d,availableActions:_0x16b681}){const _0x593b9f=_0x411a52;super(_0x23bf63);const _0x32ef4f=this[_0x593b9f(0x105)];this[_0x593b9f(0x127)](_0x593b9f(0xfc),_0x593b9f(0x120)),this[_0x593b9f(0x127)](_0x593b9f(0x113),!0x1),this[_0x593b9f(0x127)](_0x593b9f(0x101),!0x1),this[_0x593b9f(0x127)](_0x593b9f(0xfd),!0x1),this[_0x593b9f(0x127)](_0x593b9f(0x11f),!0x1);const _0x2510c0=()=>{const _0x1e05aa=_0x593b9f;this[_0x1e05aa(0x11f)]=this[_0x1e05aa(0x113)]&&_0x1e05aa(0x120)==this[_0x1e05aa(0xfc)]&&!_0x201f0d;};this['on'](_0x593b9f(0x100),_0x2510c0),this['on'](_0x593b9f(0x11c),_0x2510c0),_0x2510c0(),this[_0x593b9f(0x10c)]=this[_0x593b9f(0xff)](),this[_0x593b9f(0x11d)]=new _0x4987cd(_0x23bf63,{'part':_0x582ed9,'uiIndex':_0x46180f,'availableActions':_0x16b681,'areActionsDisabled':_0x201f0d}),this[_0x593b9f(0x11d)][_0x593b9f(0x104)](_0x593b9f(0x11f),_0x593b9f(0xfc))['to'](this),this[_0x593b9f(0x11d)][_0x593b9f(0x124)](..._0x1b074b)['to'](this),this[_0x593b9f(0x117)]=new _0x23179b(_0x23bf63),this[_0x593b9f(0x10c)][_0x593b9f(0x11b)]([this[_0x593b9f(0x11d)],this[_0x593b9f(0x117)]]),this[_0x593b9f(0x108)]({'tag':_0x593b9f(0x106),'attributes':{'class':['ck',_0x593b9f(0x116),_0x32ef4f['to'](_0x593b9f(0xfc),_0x4aef53=>_0x593b9f(0x107)+_0x4aef53),_0x32ef4f['if'](_0x593b9f(0x11f),_0x593b9f(0x11a)),_0x32ef4f['if'](_0x593b9f(0xfd),_0x593b9f(0x109)),_0x32ef4f['if'](_0x593b9f(0x101),_0x593b9f(0xfe),_0x596f4a=>!_0x596f4a)]},'children':this[_0x593b9f(0x10c)],'on':{'mouseenter':_0x32ef4f['to'](()=>{const _0x3e8a65=_0x593b9f;this[_0x3e8a65(0x11f)]&&this[_0x3e8a65(0x126)](_0x3e8a65(0x10d),{'index':_0x582ed9[_0x3e8a65(0x123)]});}),'mouseleave':_0x32ef4f['to'](()=>{const _0x1e63af=_0x593b9f;this[_0x1e63af(0x11f)]&&this[_0x1e63af(0x126)](_0x1e63af(0x118),{'index':_0x582ed9[_0x1e63af(0x123)]});}),'click':_0x32ef4f['to'](_0x3ecc12=>{const _0x777acf=_0x593b9f,_0x12dc0d=_0x3ecc12[_0x777acf(0x119)];this[_0x777acf(0x11f)]&&!this[_0x777acf(0x11d)][_0x777acf(0x129)][_0x777acf(0x112)][_0x777acf(0xfa)](_0x12dc0d)&&this[_0x777acf(0x126)](_0x777acf(0x122),{'index':_0x582ed9[_0x777acf(0x123)]});})}});}async[_0x411a52(0x115)]({part:_0x4ec8f3,renderingStrategy:_0x5b7545,showUnchangedParts:_0x3459aa=!0x1,abortSignal:_0x1aaa90}){const _0x34f6f4=_0x411a52;this[_0x34f6f4(0x11e)]=_0x4ec8f3,this[_0x34f6f4(0x101)]=this[_0x34f6f4(0x11e)][_0x34f6f4(0x125)]||_0x3459aa,this[_0x34f6f4(0x101)]&&await this[_0x34f6f4(0x117)][_0x34f6f4(0xfb)]({'part':_0x4ec8f3,'renderingStrategy':_0x5b7545,'abortSignal':_0x1aaa90});}[_0x411a52(0x12a)](){const _0xf5e535=_0x411a52;this[_0xf5e535(0x113)]=!0x0;}}function _0x3d6e(){const _0x43179a=['1157GHiWID','7DWQPGg','bind','bindTemplate','div','ck-ai-suggestion__body__content-part_','setTemplate','ck-ai-suggestion__body__content-part_active','140DjaCIl','19365HHOABP','_children','mouseOverSuggestion','30TGfynd','469330awrtlC','2875563oxBFFB','54ZITHmv','element','isDone','7867376OqfiUc','updateContent','ck-ai-suggestion__body__content-part','_streamableContentView','mouseLeaveSuggestion','target','ck-ai-suggestion__body__content-part_enabled','addMany','change:isDone','_headerView','partDefinition','isEnabled','pending','1637449JDJRrt','showChangeInText','index','delegate','hasChanges','fire','set','1027392sErdtf','toolbarView','markAsDone','352dUIImc','contains','update','state','isActive','ck-hidden','createCollection','change:state','isVisible'];_0x3d6e=function(){return _0x43179a;};return _0x3d6e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c8ca8=_0x14a9;(function(_0x4bc726,_0x5cd0df){const _0x3497af=_0x14a9,_0x5ba333=_0x4bc726();while(!![]){try{const _0x40f384=-parseInt(_0x3497af(0x19a))/0x1*(-parseInt(_0x3497af(0x1b2))/0x2)+parseInt(_0x3497af(0x196))/0x3+-parseInt(_0x3497af(0x1ab))/0x4*(-parseInt(_0x3497af(0x197))/0x5)+-parseInt(_0x3497af(0x1b5))/0x6*(-parseInt(_0x3497af(0x194))/0x7)+-parseInt(_0x3497af(0x199))/0x8+parseInt(_0x3497af(0x1a1))/0x9*(-parseInt(_0x3497af(0x19e))/0xa)+parseInt(_0x3497af(0x1b8))/0xb*(parseInt(_0x3497af(0x1b0))/0xc);if(_0x40f384===_0x5cd0df)break;else _0x5ba333['push'](_0x5ba333['shift']());}catch(_0x4b8dd8){_0x5ba333['push'](_0x5ba333['shift']());}}}(_0x1e73,0x8a4c6));import{getTranslation as _0x2a664e}from'../../utils/common-translations.js';import{ButtonView as _0xde3a8f,IconView as _0xc7b86e,View as _0x1c1ae2}from'ckeditor5/src/ui.js';import{IconDocument as _0x5558ad,IconShowChangesOff as _0x10b7e8,IconShowChangesOn as _0x33e95c}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x1c1ae2{[_0x3c8ca8(0x1a3)];constructor(_0x3e90a8,_0x5d7d97){const _0x2ae7d3=_0x3c8ca8;super(_0x3e90a8),this[_0x2ae7d3(0x1b1)](_0x2ae7d3(0x1a5),!0x0),this[_0x2ae7d3(0x1a3)]=new ShowChangesToggleView(_0x3e90a8),this[_0x2ae7d3(0x1a3)][_0x2ae7d3(0x1b1)]({'class':_0x2ae7d3(0x193),'label':_0x2a664e(_0x3e90a8,_0x2ae7d3(0x1a2)),'withText':!0x0}),this[_0x2ae7d3(0x1a3)][_0x2ae7d3(0x19f)]=_0x5d7d97[_0x2ae7d3(0x19c)],this[_0x2ae7d3(0x1a3)][_0x2ae7d3(0x1ac)](_0x2ae7d3(0x1b7))['to'](this,_0x2ae7d3(0x1a5)),this[_0x2ae7d3(0x1a3)][_0x2ae7d3(0x1ac)](_0x2ae7d3(0x1a6))['to'](this[_0x2ae7d3(0x1a3)],_0x2ae7d3(0x19f),_0x41ac6f=>_0x41ac6f?_0x33e95c:_0x10b7e8),this[_0x2ae7d3(0x1a3)]['on'](_0x2ae7d3(0x1b3),()=>{const _0x5835aa=_0x2ae7d3;this[_0x5835aa(0x1a3)][_0x5835aa(0x19f)]=!this[_0x5835aa(0x1a3)][_0x5835aa(0x19f)],this[_0x5835aa(0x1a0)](_0x5835aa(0x1b9),{'isOn':this[_0x5835aa(0x1a3)][_0x5835aa(0x19f)]});});const _0x5af044=new _0xc7b86e();_0x5af044[_0x2ae7d3(0x195)]=_0x5558ad,this[_0x2ae7d3(0x1ae)]({'tag':_0x2ae7d3(0x1a9),'attributes':{'class':['ck',_0x2ae7d3(0x1a4),!0x1===_0x5d7d97[_0x2ae7d3(0x1af)]?_0x2ae7d3(0x19b):null][_0x2ae7d3(0x1b6)](Boolean)},'children':[_0x5af044,{'tag':_0x2ae7d3(0x1a8),'children':[_0x2a664e(_0x3e90a8,_0x2ae7d3(0x1a7))]},this[_0x2ae7d3(0x1a3)]]});}}function _0x1e73(){const _0x42787c=['execute','add','6uMEuHV','filter','isVisible','341eKDnRf','toggleShowChanges','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','1305451LNjYRp','content','1155075cgJTTC','2780660SdYOlL','iconView','8528928zMnPbu','487tCSvsW','ck-hidden','showDiff','render','131680xCxcwe','isOn','fire','396dRfusQ','AI_SUGGESTION_BUTTON_SHOW_CHANGES','showChangesToggleView','ck-ai-suggestion__header','isShowChangesToggleVisible','icon','AI_SUGGESTION_HEADER_TITLE','span','div','remove','4lzFmPN','bind','children','setTemplate','showHeader','88140JQILth','set','3518TGjjIh'];_0x1e73=function(){return _0x42787c;};return _0x1e73();}function _0x14a9(_0x1d725e,_0x28f0b7){const _0x1e73c6=_0x1e73();return _0x14a9=function(_0x14a918,_0x1cb045){_0x14a918=_0x14a918-0x193;let _0x1b475c=_0x1e73c6[_0x14a918];return _0x1b475c;},_0x14a9(_0x1d725e,_0x28f0b7);}export class ShowChangesToggleView extends _0xde3a8f{[_0x3c8ca8(0x19d)](){const _0x4584cd=_0x3c8ca8;super[_0x4584cd(0x19d)](),this[_0x4584cd(0x1ad)][_0x4584cd(0x1aa)](this[_0x4584cd(0x198)]),this[_0x4584cd(0x1ad)][_0x4584cd(0x1b4)](this[_0x4584cd(0x198)]);}}
23
+ function _0x401b(){const _0x214d8c=['1610235MYqLnp','showDiff','showChangesToggleView','2TjGVLv','filter','children','ck-hidden','bind','remove','fire','ck-ai-suggestion__header','1372068cNOgUd','setTemplate','add','AI_SUGGESTION_BUTTON_SHOW_CHANGES','725526StJSsA','127793BpTIbR','execute','div','isShowChangesToggleVisible','4ZlazIS','render','isVisible','iconView','content','isOn','5228024eSUBoD','showHeader','span','3733226sgKHfC','set','toggleShowChanges','106839JXhEag','icon','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','AI_SUGGESTION_HEADER_TITLE'];_0x401b=function(){return _0x214d8c;};return _0x401b();}const _0x165714=_0x20d2;(function(_0x23987b,_0x165b5a){const _0x1a09d2=_0x20d2,_0x2f131d=_0x23987b();while(!![]){try{const _0x4c7176=-parseInt(_0x1a09d2(0x8e))/0x1*(parseInt(_0x1a09d2(0x81))/0x2)+-parseInt(_0x1a09d2(0x9e))/0x3*(-parseInt(_0x1a09d2(0x92))/0x4)+parseInt(_0x1a09d2(0xa2))/0x5+parseInt(_0x1a09d2(0x89))/0x6+parseInt(_0x1a09d2(0x9b))/0x7+-parseInt(_0x1a09d2(0x98))/0x8+parseInt(_0x1a09d2(0x8d))/0x9;if(_0x4c7176===_0x165b5a)break;else _0x2f131d['push'](_0x2f131d['shift']());}catch(_0x52591f){_0x2f131d['push'](_0x2f131d['shift']());}}}(_0x401b,0x6649e));import{getTranslation as _0x459f71}from'../../utils/common-translations.js';import{ButtonView as _0x837eaf,IconView as _0x5e8928,View as _0x5b2fc9}from'ckeditor5/src/ui.js';import{IconDocument as _0x2d5791,IconShowChangesOff as _0x4d7cf5,IconShowChangesOn as _0x12489e}from'ckeditor5/src/icons.js';function _0x20d2(_0x302121,_0x36b968){const _0x401b6f=_0x401b();return _0x20d2=function(_0x20d2cf,_0x12dff6){_0x20d2cf=_0x20d2cf-0x7f;let _0x315620=_0x401b6f[_0x20d2cf];return _0x315620;},_0x20d2(_0x302121,_0x36b968);}export class AISuggestionHeaderView extends _0x5b2fc9{[_0x165714(0x80)];constructor(_0x4ddb12,_0x6b03d5){const _0x212349=_0x165714;super(_0x4ddb12),this[_0x212349(0x9c)](_0x212349(0x91),!0x0),this[_0x212349(0x80)]=new ShowChangesToggleView(_0x4ddb12),this[_0x212349(0x80)][_0x212349(0x9c)]({'class':_0x212349(0xa0),'label':_0x459f71(_0x4ddb12,_0x212349(0x8c)),'withText':!0x0}),this[_0x212349(0x80)][_0x212349(0x97)]=_0x6b03d5[_0x212349(0x7f)],this[_0x212349(0x80)][_0x212349(0x85)](_0x212349(0x94))['to'](this,_0x212349(0x91)),this[_0x212349(0x80)][_0x212349(0x85)](_0x212349(0x9f))['to'](this[_0x212349(0x80)],_0x212349(0x97),_0x484d3c=>_0x484d3c?_0x12489e:_0x4d7cf5),this[_0x212349(0x80)]['on'](_0x212349(0x8f),()=>{const _0x516ee3=_0x212349;this[_0x516ee3(0x80)][_0x516ee3(0x97)]=!this[_0x516ee3(0x80)][_0x516ee3(0x97)],this[_0x516ee3(0x87)](_0x516ee3(0x9d),{'isOn':this[_0x516ee3(0x80)][_0x516ee3(0x97)]});});const _0x8a0a10=new _0x5e8928();_0x8a0a10[_0x212349(0x96)]=_0x2d5791,this[_0x212349(0x8a)]({'tag':_0x212349(0x90),'attributes':{'class':['ck',_0x212349(0x88),!0x1===_0x6b03d5[_0x212349(0x99)]?_0x212349(0x84):null][_0x212349(0x82)](Boolean)},'children':[_0x8a0a10,{'tag':_0x212349(0x9a),'children':[_0x459f71(_0x4ddb12,_0x212349(0xa1))]},this[_0x212349(0x80)]]});}}export class ShowChangesToggleView extends _0x837eaf{[_0x165714(0x93)](){const _0x33b74c=_0x165714;super[_0x33b74c(0x93)](),this[_0x33b74c(0x83)][_0x33b74c(0x86)](this[_0x33b74c(0x95)]),this[_0x33b74c(0x83)][_0x33b74c(0x8b)](this[_0x33b74c(0x95)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x58b124,_0x4ca330){const _0x49c7ca=_0x5e76,_0x17adac=_0x58b124();while(!![]){try{const _0x5a9e3e=-parseInt(_0x49c7ca(0xbe))/0x1+-parseInt(_0x49c7ca(0xbf))/0x2*(parseInt(_0x49c7ca(0xb7))/0x3)+parseInt(_0x49c7ca(0xc8))/0x4+-parseInt(_0x49c7ca(0xc3))/0x5+-parseInt(_0x49c7ca(0xc0))/0x6+-parseInt(_0x49c7ca(0xb8))/0x7+parseInt(_0x49c7ca(0xc1))/0x8;if(_0x5a9e3e===_0x4ca330)break;else _0x17adac['push'](_0x17adac['shift']());}catch(_0x4c7c83){_0x17adac['push'](_0x17adac['shift']());}}}(_0xea68,0x6b686));function _0x5e76(_0x19894d,_0x5ca353){const _0xea6821=_0xea68();return _0x5e76=function(_0x5e7679,_0x17cdb7){_0x5e7679=_0x5e7679-0xb7;let _0x4cffb4=_0xea6821[_0x5e7679];return _0x4cffb4;},_0x5e76(_0x19894d,_0x5ca353);}import{View as _0x3113e6}from'ckeditor5/src/ui.js';function _0xea68(){const _0x4856bb=['2786FrWPUe','3511140refGEZ','13586920SFHvEn','span','378290mrHBDA','bindTemplate','ck-ai-suggestion__loader-text','small','locale','2238268UHpUko','ck-ai-suggestion__loader','div','771vbOpcB','4858847aeUkEW','setTemplate','isVisible','ck-hidden','AI_CHAT_IS_WRITING','set','105020gpTZzJ'];_0xea68=function(){return _0x4856bb;};return _0xea68();}import{AISpinnerView as _0x39a3f8}from'../aispinner.js';import{getTranslation as _0x57e194}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0x3113e6{constructor(_0x138c4e){const _0x2d1a0f=_0x5e76;super(_0x138c4e),this[_0x2d1a0f(0xbd)](_0x2d1a0f(0xba),!0x0);const _0x95a657=new _0x39a3f8(_0x2d1a0f(0xc6));_0x95a657[_0x2d1a0f(0xba)]=!0x0;const _0x53723a=new _0x3113e6(this[_0x2d1a0f(0xc7)]);_0x53723a[_0x2d1a0f(0xb9)]({'tag':_0x2d1a0f(0xc2),'attributes':{'class':['ck',_0x2d1a0f(0xc5)]},'children':[_0x57e194(this[_0x2d1a0f(0xc7)],_0x2d1a0f(0xbc))]}),this[_0x2d1a0f(0xb9)]({'tag':_0x2d1a0f(0xca),'attributes':{'class':['ck',_0x2d1a0f(0xc9),this[_0x2d1a0f(0xc4)]['if'](_0x2d1a0f(0xba),_0x2d1a0f(0xbb),_0x56e9f1=>!_0x56e9f1)]},'children':[_0x95a657,_0x53723a]});}}
23
+ (function(_0x410187,_0x1bba07){const _0x54cf97=_0x1678,_0x1e90eb=_0x410187();while(!![]){try{const _0x435fec=parseInt(_0x54cf97(0x88))/0x1+parseInt(_0x54cf97(0x86))/0x2+-parseInt(_0x54cf97(0x7b))/0x3+parseInt(_0x54cf97(0x87))/0x4*(parseInt(_0x54cf97(0x7e))/0x5)+-parseInt(_0x54cf97(0x81))/0x6*(-parseInt(_0x54cf97(0x82))/0x7)+-parseInt(_0x54cf97(0x7f))/0x8+parseInt(_0x54cf97(0x77))/0x9;if(_0x435fec===_0x1bba07)break;else _0x1e90eb['push'](_0x1e90eb['shift']());}catch(_0x5ea25d){_0x1e90eb['push'](_0x1e90eb['shift']());}}}(_0x2e8b,0xc2d10));function _0x2e8b(){const _0x547591=['span','698358atPOBn','56Aipquy','106634dKczDV','ck-ai-suggestion__loader-text','bindTemplate','AI_CHAT_IS_WRITING','22623372ryFxDI','ck-hidden','locale','div','3022200DzpdpX','setTemplate','isVisible','74105XMdGbj','12323560fdxUfL','small','337596yvHTvL','21Pdurfz','ck-ai-suggestion__loader','set'];_0x2e8b=function(){return _0x547591;};return _0x2e8b();}import{View as _0x16a06a}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x39fc4b}from'../aispinner.js';function _0x1678(_0x17d14b,_0x1f5d15){const _0x2e8b03=_0x2e8b();return _0x1678=function(_0x167897,_0xfe2533){_0x167897=_0x167897-0x75;let _0x171fb5=_0x2e8b03[_0x167897];return _0x171fb5;},_0x1678(_0x17d14b,_0x1f5d15);}import{getTranslation as _0x4aa275}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0x16a06a{constructor(_0x408015){const _0xf28069=_0x1678;super(_0x408015),this[_0xf28069(0x84)](_0xf28069(0x7d),!0x0);const _0x44aeb8=new _0x39fc4b(_0xf28069(0x80));_0x44aeb8[_0xf28069(0x7d)]=!0x0;const _0x285084=new _0x16a06a(this[_0xf28069(0x79)]);_0x285084[_0xf28069(0x7c)]({'tag':_0xf28069(0x85),'attributes':{'class':['ck',_0xf28069(0x89)]},'children':[_0x4aa275(this[_0xf28069(0x79)],_0xf28069(0x76))]}),this[_0xf28069(0x7c)]({'tag':_0xf28069(0x7a),'attributes':{'class':['ck',_0xf28069(0x83),this[_0xf28069(0x75)]['if'](_0xf28069(0x7d),_0xf28069(0x78),_0x2d87e7=>!_0x2d87e7)]},'children':[_0x44aeb8,_0x285084]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x26a1d3=_0xaba6;(function(_0x13998e,_0x10ea3f){var _0x197c03=_0xaba6,_0x2e1d58=_0x13998e();while(!![]){try{var _0x307f03=-parseInt(_0x197c03(0x1ff))/0x1*(-parseInt(_0x197c03(0x1f6))/0x2)+-parseInt(_0x197c03(0x205))/0x3*(parseInt(_0x197c03(0x1f3))/0x4)+-parseInt(_0x197c03(0x1f0))/0x5+parseInt(_0x197c03(0x1f5))/0x6*(parseInt(_0x197c03(0x1f2))/0x7)+-parseInt(_0x197c03(0x1fd))/0x8+-parseInt(_0x197c03(0x1ef))/0x9*(-parseInt(_0x197c03(0x1fb))/0xa)+parseInt(_0x197c03(0x1fc))/0xb;if(_0x307f03===_0x10ea3f)break;else _0x2e1d58['push'](_0x2e1d58['shift']());}catch(_0x53197c){_0x2e1d58['push'](_0x2e1d58['shift']());}}}(_0x59be,0x70a93));import{View as _0x1c5de8}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x28d5a7}from'../../utils/htmlstreamer.js';import{serialize as _0xb65fc9}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';function _0x59be(){var _0x2c71d6=['19xUmEAc','setTemplate','div','ck-ai-suggestion-streamable-content','update','htmlStreamer','382197cwfiBm','ck-reset_all-excluded','ck-content','innerHTML','6229485evlwvG','494500ePKjBy','content','134834hrQuBU','16BPFagh','reset','6XWLPnR','19874zUjSiX','stream','element','animation:\x20ck-html-streamer-fade-in\x20.5s','streaming','10OrMAry','9729401izCzjG','5718128EEJXsN','clear'];_0x59be=function(){return _0x2c71d6;};return _0x59be();}function _0xaba6(_0x1b4077,_0x1b170e){var _0x59bee1=_0x59be();return _0xaba6=function(_0xaba672,_0x2224a7){_0xaba672=_0xaba672-0x1ed;var _0x4b4f50=_0x59bee1[_0xaba672];return _0x4b4f50;},_0xaba6(_0x1b4077,_0x1b170e);}export class AISuggestionStreamableContentView extends _0x1c5de8{[_0x26a1d3(0x204)];constructor(_0x1b6371){var _0x1ad89b=_0x26a1d3;super(_0x1b6371),this[_0x1ad89b(0x204)]=new _0x28d5a7({'textNodeStyle':_0x1ad89b(0x1f9),'delay':0x14}),this[_0x1ad89b(0x200)]({'tag':_0x1ad89b(0x201),'attributes':{'class':['ck',_0x1ad89b(0x1ed),_0x1ad89b(0x206),_0x1ad89b(0x202)]}});}async[_0x26a1d3(0x203)]({part:_0x2917a2,renderingStrategy:_0x3844ee,abortSignal:_0x21ef6a}){var _0x12bb8e=_0x26a1d3;_0x12bb8e(0x1fa)===_0x3844ee?await this[_0x12bb8e(0x204)][_0x12bb8e(0x1f7)]({'document':_0x2917a2[_0x12bb8e(0x1f1)],'targetElement':this[_0x12bb8e(0x1f8)],'abortSignal':_0x21ef6a}):this[_0x12bb8e(0x1f8)][_0x12bb8e(0x1ee)]=_0xb65fc9(_0x2917a2[_0x12bb8e(0x1f1)]);}[_0x26a1d3(0x1fe)](){var _0x3ea1b2=_0x26a1d3;this[_0x3ea1b2(0x204)][_0x3ea1b2(0x1f4)](),this[_0x3ea1b2(0x1f8)][_0x3ea1b2(0x1ee)]='';}}
23
+ function _0x4a30(_0x4227d6,_0x5ae2dd){var _0x3a3bf5=_0x3a3b();return _0x4a30=function(_0x4a3012,_0x3c90bc){_0x4a3012=_0x4a3012-0x84;var _0x1a27b7=_0x3a3bf5[_0x4a3012];return _0x1a27b7;},_0x4a30(_0x4227d6,_0x5ae2dd);}var _0x30c574=_0x4a30;(function(_0x37b524,_0x2f0fdb){var _0x16b3cc=_0x4a30,_0x3ec944=_0x37b524();while(!![]){try{var _0x24c809=-parseInt(_0x16b3cc(0x96))/0x1*(parseInt(_0x16b3cc(0x9c))/0x2)+parseInt(_0x16b3cc(0x87))/0x3*(parseInt(_0x16b3cc(0x8e))/0x4)+parseInt(_0x16b3cc(0x98))/0x5*(-parseInt(_0x16b3cc(0x9f))/0x6)+-parseInt(_0x16b3cc(0x9a))/0x7*(-parseInt(_0x16b3cc(0x8a))/0x8)+-parseInt(_0x16b3cc(0x8c))/0x9*(-parseInt(_0x16b3cc(0x95))/0xa)+-parseInt(_0x16b3cc(0x9d))/0xb*(-parseInt(_0x16b3cc(0x89))/0xc)+-parseInt(_0x16b3cc(0x93))/0xd;if(_0x24c809===_0x2f0fdb)break;else _0x3ec944['push'](_0x3ec944['shift']());}catch(_0x2ee133){_0x3ec944['push'](_0x3ec944['shift']());}}}(_0x3a3b,0xb5c2b));import{View as _0x56b03f}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4ebf3a}from'../../utils/htmlstreamer.js';import{serialize as _0x2e1b3e}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';function _0x3a3b(){var _0x311bce=['ck-reset_all-excluded','9VrUCWb','streaming','666276CSuzUY','ck-content','innerHTML','setTemplate','clear','14278589DCmrMo','ck-ai-suggestion-streamable-content','11169460wPTynQ','692023nLftKZ','reset','1061035fQLCAU','htmlStreamer','1897zCWIEW','div','4NLLRot','44xZnfLY','element','6VpsDVg','update','content','stream','6nZFMMT','animation:\x20ck-html-streamer-fade-in\x20.5s','1506108rPPvcS','43896BAjzYL'];_0x3a3b=function(){return _0x311bce;};return _0x3a3b();}export class AISuggestionStreamableContentView extends _0x56b03f{[_0x30c574(0x99)];constructor(_0x54521b){var _0x38cb45=_0x30c574;super(_0x54521b),this[_0x38cb45(0x99)]=new _0x4ebf3a({'textNodeStyle':_0x38cb45(0x88),'delay':0x14}),this[_0x38cb45(0x91)]({'tag':_0x38cb45(0x9b),'attributes':{'class':['ck',_0x38cb45(0x8f),_0x38cb45(0x8b),_0x38cb45(0x94)]}});}async[_0x30c574(0x84)]({part:_0x2ee175,renderingStrategy:_0x26655b,abortSignal:_0x5c2d20}){var _0x587c42=_0x30c574;_0x587c42(0x8d)===_0x26655b?await this[_0x587c42(0x99)][_0x587c42(0x86)]({'document':_0x2ee175[_0x587c42(0x85)],'targetElement':this[_0x587c42(0x9e)],'abortSignal':_0x5c2d20}):this[_0x587c42(0x9e)][_0x587c42(0x90)]=_0x2e1b3e(_0x2ee175[_0x587c42(0x85)]);}[_0x30c574(0x92)](){var _0x4bc8c7=_0x30c574;this[_0x4bc8c7(0x99)][_0x4bc8c7(0x97)](),this[_0x4bc8c7(0x9e)][_0x4bc8c7(0x90)]='';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x575dcc=_0x41ed;function _0x41ed(_0x5d5f84,_0x203c47){const _0x2b6973=_0x2b69();return _0x41ed=function(_0x41ed8b,_0x22cbc3){_0x41ed8b=_0x41ed8b-0x12c;let _0x489266=_0x2b6973[_0x41ed8b];return _0x489266;},_0x41ed(_0x5d5f84,_0x203c47);}(function(_0x2cf550,_0x3fdf40){const _0x5706c7=_0x41ed,_0x26d843=_0x2cf550();while(!![]){try{const _0x48af71=parseInt(_0x5706c7(0x148))/0x1+parseInt(_0x5706c7(0x165))/0x2+-parseInt(_0x5706c7(0x16e))/0x3*(parseInt(_0x5706c7(0x138))/0x4)+parseInt(_0x5706c7(0x155))/0x5+parseInt(_0x5706c7(0x12c))/0x6*(-parseInt(_0x5706c7(0x15c))/0x7)+parseInt(_0x5706c7(0x139))/0x8+parseInt(_0x5706c7(0x158))/0x9*(-parseInt(_0x5706c7(0x141))/0xa);if(_0x48af71===_0x3fdf40)break;else _0x26d843['push'](_0x26d843['shift']());}catch(_0x42834a){_0x26d843['push'](_0x26d843['shift']());}}}(_0x2b69,0xc6d0c));import{View as _0x341bfb,ButtonView as _0x5eff01,IconView as _0x109cd2,BalloonPanelView as _0x4543cf}from'ckeditor5/src/ui.js';import{IconWeb as _0x2ab549}from'@ckeditor/ckeditor5-icons';function _0x2b69(){const _0x2b78ba=['content','1100868NBbiLu','push','6234mOVxKQ','northArrowSouthWest','url','_blank','destroy','substring','div','ck-ai-web-source__tooltip-balloon','pin','_createTooltipContentView','set','_hideTooltip','4XmMSye','1759512DweBwJ','ck-ai-web-sources','addSource','_updateTooltipContent','_setupBalloonPanel','element','AI_CHAT_SOURCES_HEADER','setTemplate','1515420DvxRAk','open','bodyCollection','ck\x20ck-ai-web-source','icon','ck-ai-web-source__tooltip-row','favicon','1598307GbkvCA','source','add','length','extendTemplate','ck-ai-web-source__tooltip-url','locale','title','.ck-ai-chat','ck-ai-web-source__tooltip-image','hostname','northArrowSouth','children','5452250QSMikr','_showTooltip','span','81sLLmqt','createCollection','ck-ai-web-source__image','show','8568TKFEqG','defaultPositions','querySelector','ck-ai-web-source__tooltip-title','ck-hidden','ck-ai-web-source__tooltip','...','ck-ai-web-sources__header','get','1816444fwYUEB','hide','img','balloonPanelView','bindTemplate','clear','northArrowSouthEast','isVisible'];_0x2b69=function(){return _0x2b78ba;};return _0x2b69();}import{getTranslation as _0x1d6548}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x341bfb{[_0x575dcc(0x154)];[_0x575dcc(0x168)];[_0x575dcc(0x143)];constructor(_0x1e7a86,_0x1cc4ae){const _0x309748=_0x575dcc;super(_0x1e7a86),this[_0x309748(0x143)]=_0x1cc4ae,this[_0x309748(0x154)]=this[_0x309748(0x159)](),this[_0x309748(0x136)](_0x309748(0x16c),!0x1),this[_0x309748(0x140)]({'tag':_0x309748(0x132),'attributes':{'class':['ck',_0x309748(0x13a),this[_0x309748(0x169)]['if'](_0x309748(0x16c),_0x309748(0x160),_0x28eabc=>!_0x28eabc)]},'children':this[_0x309748(0x154)]});const _0x10ef4f=new _0x341bfb(this[_0x309748(0x14e)]),_0x4a5eb9=new _0x109cd2();_0x4a5eb9[_0x309748(0x16d)]=_0x2ab549,_0x10ef4f[_0x309748(0x140)]({'tag':_0x309748(0x132),'attributes':{'class':['ck',_0x309748(0x163)]},'children':[_0x4a5eb9,{'tag':_0x309748(0x157),'children':[{'text':_0x1d6548(this[_0x309748(0x14e)],_0x309748(0x13f))}]}]}),this[_0x309748(0x154)][_0x309748(0x14a)](_0x10ef4f),this[_0x309748(0x13d)](_0x1e7a86);}[_0x575dcc(0x13b)](_0x2e2088){const _0x3b916c=_0x575dcc;this[_0x3b916c(0x154)][_0x3b916c(0x14a)](new AIWebSourceView(this[_0x3b916c(0x14e)],_0x2e2088,this[_0x3b916c(0x168)]));}[_0x575dcc(0x13d)](_0x5754c7){const _0xfd3e9c=_0x575dcc;this[_0xfd3e9c(0x168)]=new _0x4543cf(_0x5754c7),this[_0xfd3e9c(0x168)][_0xfd3e9c(0x14c)]({'attributes':{'class':[_0xfd3e9c(0x133)]}}),this[_0xfd3e9c(0x143)][_0xfd3e9c(0x14a)](this[_0xfd3e9c(0x168)]);}}export class AIWebSourceView extends _0x5eff01{[_0x575dcc(0x168)];[_0x575dcc(0x149)];constructor(_0x3bd5bc,_0x3d942c,_0x3e586a){const _0x259980=_0x575dcc;super(_0x3bd5bc),this[_0x259980(0x149)]=_0x3d942c,this[_0x259980(0x168)]=_0x3e586a,this[_0x259980(0x136)]({'label':_0x3d942c[_0x259980(0x14f)],'class':[_0x259980(0x144)],'withText':!0x0});const _0x4e1074=this[_0x259980(0x169)];if(this[_0x259980(0x14c)]({'on':{'click':_0x4e1074['to'](()=>{const _0x4c49d2=_0x259980;window[_0x4c49d2(0x142)](_0x3d942c[_0x4c49d2(0x12e)],_0x4c49d2(0x12f));}),'mouseenter':_0x4e1074['to'](()=>{const _0x156556=_0x259980;this[_0x156556(0x156)]();}),'mouseleave':_0x4e1074['to'](()=>{const _0xd550b0=_0x259980;this[_0xd550b0(0x137)]();})}}),_0x3d942c[_0x259980(0x147)]){const _0x28a98b=new _0x341bfb(_0x3bd5bc);_0x28a98b[_0x259980(0x140)]({'tag':_0x259980(0x167),'attributes':{'src':_0x3d942c[_0x259980(0x147)]||_0x2ab549,'alt':_0x3d942c[_0x259980(0x14f)],'class':[_0x259980(0x15a)]}}),this[_0x259980(0x154)][_0x259980(0x14a)](_0x28a98b);}else this[_0x259980(0x136)](_0x259980(0x145),_0x2ab549);}[_0x575dcc(0x135)](_0x3f4c08,_0x10507f){const _0x1c5be6=_0x575dcc,_0x3ef55d=new _0x341bfb(_0x3f4c08),_0x4846f8=[];let _0x3bb8b7;_0x10507f?.[_0x1c5be6(0x147)]?(_0x3bb8b7=new _0x341bfb(_0x3f4c08),_0x3bb8b7[_0x1c5be6(0x140)]({'tag':_0x1c5be6(0x167),'attributes':{'src':_0x10507f[_0x1c5be6(0x147)],'alt':_0x10507f[_0x1c5be6(0x14f)],'class':[_0x1c5be6(0x151)]}})):(_0x3bb8b7=new _0x109cd2(),_0x3bb8b7[_0x1c5be6(0x16d)]=_0x2ab549,_0x3bb8b7[_0x1c5be6(0x14c)]({'attributes':{'alt':_0x10507f[_0x1c5be6(0x14f)],'class':[_0x1c5be6(0x151)]}})),_0x4846f8[_0x1c5be6(0x16f)](_0x3bb8b7);const _0x2d77b6=new _0x341bfb(_0x3f4c08);_0x2d77b6[_0x1c5be6(0x140)]({'tag':'a','attributes':{'class':[_0x1c5be6(0x14d)],'href':_0x10507f[_0x1c5be6(0x12e)]},'children':[{'text':new URL(_0x10507f[_0x1c5be6(0x12e)])?.[_0x1c5be6(0x152)]}]}),_0x4846f8[_0x1c5be6(0x16f)](_0x2d77b6);const _0x26da27=new _0x341bfb(_0x3f4c08);_0x26da27[_0x1c5be6(0x140)]({'tag':_0x1c5be6(0x132),'attributes':{'class':[_0x1c5be6(0x146)]},'children':_0x4846f8});const _0x265a05=new _0x341bfb(_0x3f4c08);return _0x265a05[_0x1c5be6(0x140)]({'tag':_0x1c5be6(0x157),'attributes':{'class':[_0x1c5be6(0x146),_0x1c5be6(0x15f)]},'children':[{'text':_0x10507f[_0x1c5be6(0x14f)][_0x1c5be6(0x14b)]>0x190?_0x10507f[_0x1c5be6(0x14f)][_0x1c5be6(0x131)](0x0,0x190)+_0x1c5be6(0x162):_0x10507f[_0x1c5be6(0x14f)]}]}),_0x3ef55d[_0x1c5be6(0x140)]({'tag':_0x1c5be6(0x132),'attributes':{'class':['ck',_0x1c5be6(0x161)]},'children':[_0x26da27,_0x265a05]}),_0x3ef55d;}[_0x575dcc(0x156)](){const _0x4f4f8b=_0x575dcc;this[_0x4f4f8b(0x13c)](),this[_0x4f4f8b(0x168)][_0x4f4f8b(0x134)]({'target':this[_0x4f4f8b(0x13e)],'positions':[_0x4543cf[_0x4f4f8b(0x15d)][_0x4f4f8b(0x153)],_0x4543cf[_0x4f4f8b(0x15d)][_0x4f4f8b(0x12d)],_0x4543cf[_0x4f4f8b(0x15d)][_0x4f4f8b(0x16b)]],'limiter':document[_0x4f4f8b(0x15e)](_0x4f4f8b(0x150))}),this[_0x4f4f8b(0x168)][_0x4f4f8b(0x15b)]();}[_0x575dcc(0x137)](){const _0x4ac9c0=_0x575dcc;this[_0x4ac9c0(0x168)][_0x4ac9c0(0x166)]();}[_0x575dcc(0x13c)](){const _0x471a0d=_0x575dcc;this[_0x471a0d(0x168)][_0x471a0d(0x16d)][_0x471a0d(0x164)](0x0)?.[_0x471a0d(0x130)](),this[_0x471a0d(0x168)][_0x471a0d(0x16d)][_0x471a0d(0x16a)]();const _0xb5a6ff=this[_0x471a0d(0x135)](this[_0x471a0d(0x14e)],this[_0x471a0d(0x149)]);this[_0x471a0d(0x168)][_0x471a0d(0x16d)][_0x471a0d(0x14a)](_0xb5a6ff);}}
23
+ const _0x46ee6a=_0x5ed7;(function(_0x3b90cd,_0x4713a5){const _0x816087=_0x5ed7,_0x45c67b=_0x3b90cd();while(!![]){try{const _0x1fed86=-parseInt(_0x816087(0x226))/0x1+-parseInt(_0x816087(0x20e))/0x2*(parseInt(_0x816087(0x227))/0x3)+parseInt(_0x816087(0x222))/0x4*(-parseInt(_0x816087(0x21e))/0x5)+parseInt(_0x816087(0x213))/0x6*(parseInt(_0x816087(0x1fb))/0x7)+-parseInt(_0x816087(0x20c))/0x8*(-parseInt(_0x816087(0x22e))/0x9)+-parseInt(_0x816087(0x223))/0xa*(-parseInt(_0x816087(0x205))/0xb)+parseInt(_0x816087(0x203))/0xc*(parseInt(_0x816087(0x211))/0xd);if(_0x1fed86===_0x4713a5)break;else _0x45c67b['push'](_0x45c67b['shift']());}catch(_0x241a55){_0x45c67b['push'](_0x45c67b['shift']());}}}(_0x23fc,0xa5097));import{View as _0x287c43,ButtonView as _0x34c396,IconView as _0x11fdb4,BalloonPanelView as _0x12e04d}from'ckeditor5/src/ui.js';import{IconWeb as _0x450f64}from'@ckeditor/ckeditor5-icons';function _0x5ed7(_0x5a9c32,_0x426b5b){const _0x23fc78=_0x23fc();return _0x5ed7=function(_0x5ed775,_0x97dafe){_0x5ed775=_0x5ed775-0x1f0;let _0x499ee7=_0x23fc78[_0x5ed775];return _0x499ee7;},_0x5ed7(_0x5a9c32,_0x426b5b);}import{getTranslation as _0xfaa913}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x287c43{[_0x46ee6a(0x1f2)];[_0x46ee6a(0x208)];[_0x46ee6a(0x225)];constructor(_0x3e7d6b,_0x183509){const _0x35d68f=_0x46ee6a;super(_0x3e7d6b),this[_0x35d68f(0x225)]=_0x183509,this[_0x35d68f(0x1f2)]=this[_0x35d68f(0x1f5)](),this[_0x35d68f(0x1fc)](_0x35d68f(0x206),!0x1),this[_0x35d68f(0x215)]({'tag':_0x35d68f(0x1f1),'attributes':{'class':['ck',_0x35d68f(0x233),this[_0x35d68f(0x201)]['if'](_0x35d68f(0x206),_0x35d68f(0x22c),_0x32ce3=>!_0x32ce3)]},'children':this[_0x35d68f(0x1f2)]});const _0x1a3d70=new _0x287c43(this[_0x35d68f(0x20a)]),_0x18efc8=new _0x11fdb4();_0x18efc8[_0x35d68f(0x1f0)]=_0x450f64,_0x1a3d70[_0x35d68f(0x215)]({'tag':_0x35d68f(0x1f1),'attributes':{'class':['ck',_0x35d68f(0x1ff)]},'children':[_0x18efc8,{'tag':_0x35d68f(0x204),'children':[{'text':_0xfaa913(this[_0x35d68f(0x20a)],_0x35d68f(0x21a))}]}]}),this[_0x35d68f(0x1f2)][_0x35d68f(0x221)](_0x1a3d70),this[_0x35d68f(0x236)](_0x3e7d6b);}[_0x46ee6a(0x202)](_0xa9aae1){const _0x49408f=_0x46ee6a;this[_0x49408f(0x1f2)][_0x49408f(0x221)](new AIWebSourceView(this[_0x49408f(0x20a)],_0xa9aae1,this[_0x49408f(0x208)]));}[_0x46ee6a(0x236)](_0xa8e7d7){const _0x2f2160=_0x46ee6a;this[_0x2f2160(0x208)]=new _0x12e04d(_0xa8e7d7),this[_0x2f2160(0x208)][_0x2f2160(0x234)]({'attributes':{'class':[_0x2f2160(0x1f7)]}}),this[_0x2f2160(0x225)][_0x2f2160(0x221)](this[_0x2f2160(0x208)]);}}export class AIWebSourceView extends _0x34c396{[_0x46ee6a(0x208)];[_0x46ee6a(0x229)];constructor(_0x56bee3,_0x1ca524,_0x47b185){const _0x15d45b=_0x46ee6a;super(_0x56bee3),this[_0x15d45b(0x229)]=_0x1ca524,this[_0x15d45b(0x208)]=_0x47b185,this[_0x15d45b(0x1fc)]({'label':_0x1ca524[_0x15d45b(0x224)],'class':[_0x15d45b(0x21c)],'withText':!0x0});const _0x2c44da=this[_0x15d45b(0x201)];if(this[_0x15d45b(0x234)]({'on':{'click':_0x2c44da['to'](()=>{const _0x348c3d=_0x15d45b;window[_0x348c3d(0x21b)](_0x1ca524[_0x348c3d(0x22d)],_0x348c3d(0x1fd));}),'mouseenter':_0x2c44da['to'](()=>{const _0x240b01=_0x15d45b;this[_0x240b01(0x20b)]();}),'mouseleave':_0x2c44da['to'](()=>{const _0x563601=_0x15d45b;this[_0x563601(0x217)]();})}}),_0x1ca524[_0x15d45b(0x22a)]){const _0x58a762=new _0x287c43(_0x56bee3);_0x58a762[_0x15d45b(0x215)]({'tag':_0x15d45b(0x232),'attributes':{'src':_0x1ca524[_0x15d45b(0x22a)]||_0x450f64,'alt':_0x1ca524[_0x15d45b(0x224)],'class':[_0x15d45b(0x235)]}}),this[_0x15d45b(0x1f2)][_0x15d45b(0x221)](_0x58a762);}else this[_0x15d45b(0x1fc)](_0x15d45b(0x216),_0x450f64);}[_0x46ee6a(0x22f)](_0x3e0bef,_0x2a2c57){const _0x4f7e07=_0x46ee6a,_0x57382e=new _0x287c43(_0x3e0bef),_0x3cd26a=[];let _0x347ada;_0x2a2c57?.[_0x4f7e07(0x22a)]?(_0x347ada=new _0x287c43(_0x3e0bef),_0x347ada[_0x4f7e07(0x215)]({'tag':_0x4f7e07(0x232),'attributes':{'src':_0x2a2c57[_0x4f7e07(0x22a)],'alt':_0x2a2c57[_0x4f7e07(0x224)],'class':[_0x4f7e07(0x231)]}})):(_0x347ada=new _0x11fdb4(),_0x347ada[_0x4f7e07(0x1f0)]=_0x450f64,_0x347ada[_0x4f7e07(0x234)]({'attributes':{'alt':_0x2a2c57[_0x4f7e07(0x224)],'class':[_0x4f7e07(0x231)]}})),_0x3cd26a[_0x4f7e07(0x212)](_0x347ada);const _0x353971=new _0x287c43(_0x3e0bef);_0x353971[_0x4f7e07(0x215)]({'tag':'a','attributes':{'class':[_0x4f7e07(0x1f8)],'href':_0x2a2c57[_0x4f7e07(0x22d)]},'children':[{'text':new URL(_0x2a2c57[_0x4f7e07(0x22d)])?.[_0x4f7e07(0x210)]}]}),_0x3cd26a[_0x4f7e07(0x212)](_0x353971);const _0x3c0141=new _0x287c43(_0x3e0bef);_0x3c0141[_0x4f7e07(0x215)]({'tag':_0x4f7e07(0x1f1),'attributes':{'class':[_0x4f7e07(0x20f)]},'children':_0x3cd26a});const _0x310b8e=new _0x287c43(_0x3e0bef);return _0x310b8e[_0x4f7e07(0x215)]({'tag':_0x4f7e07(0x204),'attributes':{'class':[_0x4f7e07(0x20f),_0x4f7e07(0x1f6)]},'children':[{'text':_0x2a2c57[_0x4f7e07(0x224)][_0x4f7e07(0x1f3)]>0x190?_0x2a2c57[_0x4f7e07(0x224)][_0x4f7e07(0x200)](0x0,0x190)+_0x4f7e07(0x230):_0x2a2c57[_0x4f7e07(0x224)]}]}),_0x57382e[_0x4f7e07(0x215)]({'tag':_0x4f7e07(0x1f1),'attributes':{'class':['ck',_0x4f7e07(0x20d)]},'children':[_0x3c0141,_0x310b8e]}),_0x57382e;}[_0x46ee6a(0x20b)](){const _0x35e700=_0x46ee6a;this[_0x35e700(0x220)](),this[_0x35e700(0x208)][_0x35e700(0x1f4)]({'target':this[_0x35e700(0x21f)],'positions':[_0x12e04d[_0x35e700(0x219)][_0x35e700(0x21d)],_0x12e04d[_0x35e700(0x219)][_0x35e700(0x1fe)],_0x12e04d[_0x35e700(0x219)][_0x35e700(0x218)]],'limiter':document[_0x35e700(0x207)](_0x35e700(0x209))}),this[_0x35e700(0x208)][_0x35e700(0x22b)]();}[_0x46ee6a(0x217)](){const _0x1ad607=_0x46ee6a;this[_0x1ad607(0x208)][_0x1ad607(0x214)]();}[_0x46ee6a(0x220)](){const _0x55c6e6=_0x46ee6a;this[_0x55c6e6(0x208)][_0x55c6e6(0x1f0)][_0x55c6e6(0x1f9)](0x0)?.[_0x55c6e6(0x228)](),this[_0x55c6e6(0x208)][_0x55c6e6(0x1f0)][_0x55c6e6(0x1fa)]();const _0x45c1a4=this[_0x55c6e6(0x22f)](this[_0x55c6e6(0x20a)],this[_0x55c6e6(0x229)]);this[_0x55c6e6(0x208)][_0x55c6e6(0x1f0)][_0x55c6e6(0x221)](_0x45c1a4);}}function _0x23fc(){const _0x54bd1e=['ck-ai-web-source__tooltip-url','get','clear','21sbLGDE','set','_blank','northArrowSouthWest','ck-ai-web-sources__header','substring','bindTemplate','addSource','1608wrlOSV','span','55lGElCW','isVisible','querySelector','balloonPanelView','.ck-ai-chat','locale','_showTooltip','5816zjNHnG','ck-ai-web-source__tooltip','38AGaLMG','ck-ai-web-source__tooltip-row','hostname','70291SeLXSS','push','1153866FzneAO','hide','setTemplate','icon','_hideTooltip','northArrowSouthEast','defaultPositions','AI_CHAT_SOURCES_HEADER','open','ck\x20ck-ai-web-source','northArrowSouth','20CWDMaK','element','_updateTooltipContent','add','168996FPiGiU','1339050PQKDOt','title','bodyCollection','612614hXQuhf','115614klPYHv','destroy','source','favicon','show','ck-hidden','url','2709ucPRBA','_createTooltipContentView','...','ck-ai-web-source__tooltip-image','img','ck-ai-web-sources','extendTemplate','ck-ai-web-source__image','_setupBalloonPanel','content','div','children','length','pin','createCollection','ck-ai-web-source__tooltip-title','ck-ai-web-source__tooltip-balloon'];_0x23fc=function(){return _0x54bd1e;};return _0x23fc();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x132494=_0x1028;function _0x1028(_0x1a7a2b,_0x426822){const _0xd8b4d0=_0xd8b4();return _0x1028=function(_0x1028eb,_0x3906b6){_0x1028eb=_0x1028eb-0x13d;let _0x3114ef=_0xd8b4d0[_0x1028eb];return _0x3114ef;},_0x1028(_0x1a7a2b,_0x426822);}(function(_0x5a87c6,_0x5d9111){const _0x33e8de=_0x1028,_0xcb0a81=_0x5a87c6();while(!![]){try{const _0x578ffa=-parseInt(_0x33e8de(0x145))/0x1*(parseInt(_0x33e8de(0x141))/0x2)+parseInt(_0x33e8de(0x153))/0x3+-parseInt(_0x33e8de(0x154))/0x4*(-parseInt(_0x33e8de(0x152))/0x5)+-parseInt(_0x33e8de(0x142))/0x6+-parseInt(_0x33e8de(0x14b))/0x7+parseInt(_0x33e8de(0x144))/0x8*(-parseInt(_0x33e8de(0x150))/0x9)+parseInt(_0x33e8de(0x13e))/0xa*(parseInt(_0x33e8de(0x13d))/0xb);if(_0x578ffa===_0x5d9111)break;else _0xcb0a81['push'](_0xcb0a81['shift']());}catch(_0x137eff){_0xcb0a81['push'](_0xcb0a81['shift']());}}}(_0xd8b4,0x3e5f4));import{DocumentPosition as _0x27e552}from'./documentposition.js';function _0xd8b4(){const _0x2908ee=['462805aJpnGx','1517400oGhjOh','4VdBITr','includes','document','isEqual','getContent','createAfter','push','createAt','createFromPath','length','data','4159661iYGcxR','20EIEibi','end','lastChild','292732InDiZm','784620EKNlGQ','start','66088NZZKKT','3hkugqs','getNudgedToWordBoundary','firstChild','path','parent','slice','2606520vGCSqK','reverse','createBefore','forEach','nextNode','171nzVTYu','previousNode'];_0xd8b4=function(){return _0x2908ee;};return _0xd8b4();}import{clone as _0x1e1702,getParents as _0x412ec5,Document as _0x752ff8,Text as _0x179b13,isTag as _0x123425,isText as _0x29051d,replaceElement as _0x5f28da,removeElement as _0x270ddb}from'./htmlparser.js';export class DocumentRange{[_0x132494(0x143)];[_0x132494(0x13f)];constructor(_0x5a94a1,_0x35a6e8){const _0xbded0c=_0x132494;this[_0xbded0c(0x143)]=_0x5a94a1,this[_0xbded0c(0x13f)]=_0x35a6e8;}[_0x132494(0x157)](_0x419654){const _0x505a63=_0x132494;return this==_0x419654||this[_0x505a63(0x143)][_0x505a63(0x157)](_0x419654[_0x505a63(0x143)])&&this[_0x505a63(0x13f)][_0x505a63(0x157)](_0x419654[_0x505a63(0x13f)]);}[_0x132494(0x146)](){const _0x3c893a=_0x132494;return new DocumentRange(this[_0x3c893a(0x143)][_0x3c893a(0x146)](_0x3c893a(0x143)),this[_0x3c893a(0x13f)][_0x3c893a(0x146)](_0x3c893a(0x13f)));}[_0x132494(0x158)](){const _0x4ed5f1=_0x132494,_0x3de428=_0x1e1702(this[_0x4ed5f1(0x143)][_0x4ed5f1(0x156)]),_0x41b05f=_0x27e552[_0x4ed5f1(0x15c)](_0x3de428,this[_0x4ed5f1(0x143)][_0x4ed5f1(0x148)]),_0x31abed=_0x27e552[_0x4ed5f1(0x15c)](_0x3de428,this[_0x4ed5f1(0x13f)][_0x4ed5f1(0x148)]);let _0x43b2cb,_0x497a1b;if(_0x29051d(_0x41b05f[_0x4ed5f1(0x149)])){const _0xd5fe1=_0x41b05f[_0x4ed5f1(0x148)][_0x41b05f[_0x4ed5f1(0x148)][_0x4ed5f1(0x15d)]-0x1],_0x3821e2=new _0x179b13(_0x41b05f[_0x4ed5f1(0x149)][_0x4ed5f1(0x15e)][_0x4ed5f1(0x14a)](_0xd5fe1));_0x5f28da(_0x41b05f[_0x4ed5f1(0x149)],_0x3821e2),_0x43b2cb=_0x3821e2;}else _0x43b2cb=_0x41b05f[_0x4ed5f1(0x14f)];if(_0x29051d(_0x31abed[_0x4ed5f1(0x149)])){const _0x2996f5=_0x31abed[_0x4ed5f1(0x148)][_0x31abed[_0x4ed5f1(0x148)][_0x4ed5f1(0x15d)]-0x1],_0x1a645d=new _0x179b13(_0x31abed[_0x4ed5f1(0x149)][_0x4ed5f1(0x15e)][_0x4ed5f1(0x14a)](0x0,_0x2996f5));_0x5f28da(_0x31abed[_0x4ed5f1(0x149)],_0x1a645d),_0x497a1b=_0x1a645d;}else _0x497a1b=_0x31abed[_0x4ed5f1(0x151)];if(!(_0x43b2cb&&_0x497a1b&&_0x3de428[_0x4ed5f1(0x147)]&&_0x3de428[_0x4ed5f1(0x140)]))return new _0x752ff8([]);const _0x484aae=_0x412ec5(_0x43b2cb),_0x1b06c5=_0x412ec5(_0x497a1b),_0x5ea9f9=[],_0xc7c70a=[];let _0x3beff0=_0x3de428[_0x4ed5f1(0x147)];for(;_0x3beff0&&_0x3beff0!==_0x43b2cb;){let _0x1eb60c;_0x484aae[_0x4ed5f1(0x155)](_0x3beff0)||_0x5ea9f9[_0x4ed5f1(0x15a)](_0x3beff0),_0x1eb60c=_0x123425(_0x3beff0)?_0x27e552[_0x4ed5f1(0x15b)](_0x3de428,_0x3beff0,_0x4ed5f1(0x143)):_0x27e552[_0x4ed5f1(0x159)](_0x3de428,_0x3beff0),_0x3beff0=_0x1eb60c?_0x1eb60c[_0x4ed5f1(0x14f)]:null;}for(_0x3beff0=_0x3de428[_0x4ed5f1(0x140)];_0x3beff0&&_0x3beff0!==_0x497a1b;){let _0x203871;_0x1b06c5[_0x4ed5f1(0x155)](_0x3beff0)||_0xc7c70a[_0x4ed5f1(0x15a)](_0x3beff0),_0x203871=_0x123425(_0x3beff0)?_0x27e552[_0x4ed5f1(0x15b)](_0x3de428,_0x3beff0,_0x4ed5f1(0x13f)):_0x27e552[_0x4ed5f1(0x14d)](_0x3de428,_0x3beff0),_0x3beff0=_0x203871?_0x203871[_0x4ed5f1(0x151)]:null;}return _0x5ea9f9[_0x4ed5f1(0x14e)](_0x384046=>{_0x270ddb(_0x384046);}),_0xc7c70a[_0x4ed5f1(0x14c)]()[_0x4ed5f1(0x14e)](_0x1d18d4=>{_0x270ddb(_0x1d18d4);}),_0x3de428;}}
23
+ const _0x1ce927=_0x9a27;function _0x2e73(){const _0x48092a=['createAt','getContent','910cpNEBK','createFromPath','createBefore','899808BQfoXL','document','6teGFDn','isEqual','66649DQSLjA','getNudgedToWordBoundary','forEach','length','nextNode','4YrgieA','reverse','lastChild','start','previousNode','slice','316101pnbOJG','firstChild','path','827262SGSCSG','parent','includes','152040zMHarx','push','1BehNnU','data','406502OHMevk','1198575tpaplG','end','createAfter'];_0x2e73=function(){return _0x48092a;};return _0x2e73();}(function(_0x316c11,_0x5c735b){const _0x27e0e5=_0x9a27,_0x2c25c7=_0x316c11();while(!![]){try{const _0x41f899=-parseInt(_0x27e0e5(0x8c))/0x1*(parseInt(_0x27e0e5(0x8e))/0x2)+parseInt(_0x27e0e5(0xa6))/0x3*(parseInt(_0x27e0e5(0xa0))/0x4)+parseInt(_0x27e0e5(0x8a))/0x5*(parseInt(_0x27e0e5(0x99))/0x6)+-parseInt(_0x27e0e5(0x8f))/0x7+-parseInt(_0x27e0e5(0x97))/0x8+-parseInt(_0x27e0e5(0xa9))/0x9+parseInt(_0x27e0e5(0x94))/0xa*(parseInt(_0x27e0e5(0x9b))/0xb);if(_0x41f899===_0x5c735b)break;else _0x2c25c7['push'](_0x2c25c7['shift']());}catch(_0x9e6512){_0x2c25c7['push'](_0x2c25c7['shift']());}}}(_0x2e73,0x1a6f2));import{DocumentPosition as _0x319c6d}from'./documentposition.js';import{clone as _0x2fd67f,getParents as _0x533853,Document as _0x4a645a,Text as _0x474190,isTag as _0x14c720,isText as _0x403a4a,replaceElement as _0x1b5fad,removeElement as _0x2b95ad}from'./htmlparser.js';function _0x9a27(_0x9f564c,_0x379cc7){const _0x2e73d3=_0x2e73();return _0x9a27=function(_0x9a277e,_0x5ca1e4){_0x9a277e=_0x9a277e-0x88;let _0x32c4d8=_0x2e73d3[_0x9a277e];return _0x32c4d8;},_0x9a27(_0x9f564c,_0x379cc7);}export class DocumentRange{[_0x1ce927(0xa3)];[_0x1ce927(0x90)];constructor(_0x16a7d5,_0x50c286){const _0xe8eb8c=_0x1ce927;this[_0xe8eb8c(0xa3)]=_0x16a7d5,this[_0xe8eb8c(0x90)]=_0x50c286;}[_0x1ce927(0x9a)](_0x54329f){const _0x117178=_0x1ce927;return this==_0x54329f||this[_0x117178(0xa3)][_0x117178(0x9a)](_0x54329f[_0x117178(0xa3)])&&this[_0x117178(0x90)][_0x117178(0x9a)](_0x54329f[_0x117178(0x90)]);}[_0x1ce927(0x9c)](){const _0x12e38b=_0x1ce927;return new DocumentRange(this[_0x12e38b(0xa3)][_0x12e38b(0x9c)](_0x12e38b(0xa3)),this[_0x12e38b(0x90)][_0x12e38b(0x9c)](_0x12e38b(0x90)));}[_0x1ce927(0x93)](){const _0x643f15=_0x1ce927,_0x385798=_0x2fd67f(this[_0x643f15(0xa3)][_0x643f15(0x98)]),_0x1ede5b=_0x319c6d[_0x643f15(0x95)](_0x385798,this[_0x643f15(0xa3)][_0x643f15(0xa8)]),_0x45ca19=_0x319c6d[_0x643f15(0x95)](_0x385798,this[_0x643f15(0x90)][_0x643f15(0xa8)]);let _0x54adb7,_0x469514;if(_0x403a4a(_0x1ede5b[_0x643f15(0x88)])){const _0x444eba=_0x1ede5b[_0x643f15(0xa8)][_0x1ede5b[_0x643f15(0xa8)][_0x643f15(0x9e)]-0x1],_0x164e9b=new _0x474190(_0x1ede5b[_0x643f15(0x88)][_0x643f15(0x8d)][_0x643f15(0xa5)](_0x444eba));_0x1b5fad(_0x1ede5b[_0x643f15(0x88)],_0x164e9b),_0x54adb7=_0x164e9b;}else _0x54adb7=_0x1ede5b[_0x643f15(0x9f)];if(_0x403a4a(_0x45ca19[_0x643f15(0x88)])){const _0x9fedbc=_0x45ca19[_0x643f15(0xa8)][_0x45ca19[_0x643f15(0xa8)][_0x643f15(0x9e)]-0x1],_0x4c1235=new _0x474190(_0x45ca19[_0x643f15(0x88)][_0x643f15(0x8d)][_0x643f15(0xa5)](0x0,_0x9fedbc));_0x1b5fad(_0x45ca19[_0x643f15(0x88)],_0x4c1235),_0x469514=_0x4c1235;}else _0x469514=_0x45ca19[_0x643f15(0xa4)];if(!(_0x54adb7&&_0x469514&&_0x385798[_0x643f15(0xa7)]&&_0x385798[_0x643f15(0xa2)]))return new _0x4a645a([]);const _0x1eab0e=_0x533853(_0x54adb7),_0x26f4b5=_0x533853(_0x469514),_0x4af24c=[],_0x2f82c0=[];let _0x4b3959=_0x385798[_0x643f15(0xa7)];for(;_0x4b3959&&_0x4b3959!==_0x54adb7;){let _0x9afcef;_0x1eab0e[_0x643f15(0x89)](_0x4b3959)||_0x4af24c[_0x643f15(0x8b)](_0x4b3959),_0x9afcef=_0x14c720(_0x4b3959)?_0x319c6d[_0x643f15(0x92)](_0x385798,_0x4b3959,_0x643f15(0xa3)):_0x319c6d[_0x643f15(0x91)](_0x385798,_0x4b3959),_0x4b3959=_0x9afcef?_0x9afcef[_0x643f15(0x9f)]:null;}for(_0x4b3959=_0x385798[_0x643f15(0xa2)];_0x4b3959&&_0x4b3959!==_0x469514;){let _0x50fee7;_0x26f4b5[_0x643f15(0x89)](_0x4b3959)||_0x2f82c0[_0x643f15(0x8b)](_0x4b3959),_0x50fee7=_0x14c720(_0x4b3959)?_0x319c6d[_0x643f15(0x92)](_0x385798,_0x4b3959,_0x643f15(0x90)):_0x319c6d[_0x643f15(0x96)](_0x385798,_0x4b3959),_0x4b3959=_0x50fee7?_0x50fee7[_0x643f15(0xa4)]:null;}return _0x4af24c[_0x643f15(0x9d)](_0x394c84=>{_0x2b95ad(_0x394c84);}),_0x2f82c0[_0x643f15(0xa1)]()[_0x643f15(0x9d)](_0x20689b=>{_0x2b95ad(_0x20689b);}),_0x385798;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2c0a96,_0xcb40d1){const _0x577a31=_0x54e0,_0x591fa0=_0x2c0a96();while(!![]){try{const _0x305d81=-parseInt(_0x577a31(0x188))/0x1*(parseInt(_0x577a31(0x171))/0x2)+-parseInt(_0x577a31(0x17d))/0x3+parseInt(_0x577a31(0x192))/0x4*(-parseInt(_0x577a31(0x18b))/0x5)+-parseInt(_0x577a31(0x17b))/0x6*(-parseInt(_0x577a31(0x177))/0x7)+parseInt(_0x577a31(0x17c))/0x8*(-parseInt(_0x577a31(0x170))/0x9)+parseInt(_0x577a31(0x18e))/0xa+parseInt(_0x577a31(0x185))/0xb;if(_0x305d81===_0xcb40d1)break;else _0x591fa0['push'](_0x591fa0['shift']());}catch(_0x2cc68a){_0x591fa0['push'](_0x591fa0['shift']());}}}(_0x3608,0x6418d));function _0x54e0(_0x47f557,_0x4d1539){const _0x360821=_0x3608();return _0x54e0=function(_0x54e067,_0x811302){_0x54e067=_0x54e067-0x170;let _0x11c362=_0x360821[_0x54e067];return _0x11c362;},_0x54e0(_0x47f557,_0x4d1539);}function _0x3608(){const _0x412790=['node','42rtkRzO','getOperations','documentContextContent','getRange','553296EwXiyf','4440728AANeBg','1182522Akokev','oldRange','previousSibling','operationsA','data-id','getDocumentContext','type','map','10695124oOfUUU','shift','document','1051WunPIM','filter','cloneNode','43885ODcEpd','markers','content','4545890qxbTFm','anchorId','model','name','100vgtmJg','marker','length','get','history','9cAyCGU','764zqvMIi','new','removed','getDiff','version'];_0x3608=function(){return _0x412790;};return _0x3608();}import{transformOperationSets as _0x3b616d}from'ckeditor5/src/engine.js';import{append as _0x452352,findByAttribute as _0xd84207,prependChild as _0x3d6169,removeElement as _0x3348ba,serialize as _0xd1d281}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x402cdd,interaction:_0x58dc33,reply:_0x1b9969,groups:_0x3a93e3,transform:_0x12985d,documentCompare:_0x4f014d,documentCompareOptions:_0x46460b}){const _0x40f36e=_0x54e0,_0x8e138a=_0x58dc33[_0x40f36e(0x182)]();if(!_0x8e138a)return[];const _0x530133=_0x8e138a[_0x40f36e(0x18d)],_0x2eeabd=_0x8e138a[_0x40f36e(0x175)],_0x138221=_0x1b9969[_0x40f36e(0x179)][_0x40f36e(0x18a)](!0x0);for(const {changes:_0x45aa2d}of _0x3a93e3){const _0x2f2a65=_0x45aa2d[_0x40f36e(0x189)](_0x52d436=>_0x40f36e(0x172)!=_0x52d436[_0x40f36e(0x183)])[_0x40f36e(0x184)](_0xc572=>_0xd84207(_0x40f36e(0x181),_0xc572['id'],_0x138221)),_0x3184b2=_0x45aa2d[_0x40f36e(0x189)](_0x51072f=>_0x40f36e(0x173)!=_0x51072f[_0x40f36e(0x183)])[_0x40f36e(0x184)](_0x5de9d1=>_0x5de9d1[_0x40f36e(0x176)][_0x40f36e(0x18a)](!0x0));let _0x19cd13=null;if(_0x2f2a65[_0x40f36e(0x194)]){_0x19cd13=_0x2f2a65[0x0][_0x40f36e(0x17f)];for(let _0x214066=0x0;_0x214066<_0x2f2a65[_0x40f36e(0x194)];_0x214066++)_0x3348ba(_0x2f2a65[_0x214066]);}if(_0x3184b2[_0x40f36e(0x194)]){_0x19cd13||(_0x45aa2d[0x0][_0x40f36e(0x18f)]?_0x19cd13=_0xd84207(_0x40f36e(0x181),_0x45aa2d[0x0][_0x40f36e(0x18f)],_0x138221):(_0x19cd13=_0x3184b2[_0x40f36e(0x186)](),_0x3d6169(_0x138221,_0x19cd13)));for(let _0x456aa5=0x0;_0x456aa5<_0x3184b2[_0x40f36e(0x194)];_0x456aa5++)_0x452352(_0x19cd13,_0x3184b2[_0x456aa5]),_0x19cd13=_0x3184b2[_0x456aa5];}}const _0x2b39da=_0xd1d281(_0x138221),_0x65a45b=_0x4f014d[_0x40f36e(0x174)](_0x530133,_0x2b39da,_0x46460b)[_0x40f36e(0x178)]();if(_0x12985d){const _0x232561=_0x402cdd[_0x40f36e(0x190)][_0x40f36e(0x187)][_0x40f36e(0x196)][_0x40f36e(0x178)](_0x2eeabd),_0x5219ef={'document':_0x402cdd[_0x40f36e(0x190)][_0x40f36e(0x187)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x3b616d(_0x65a45b,_0x232561,_0x5219ef)[_0x40f36e(0x180)];}return _0x65a45b;}export function fixMarkerOperationOldRange(_0x3beef4,_0x2e549b){const _0xaf7304=_0x54e0;if(_0xaf7304(0x193)!=_0x2e549b[_0xaf7304(0x183)])return;const _0x3f6370=_0x3beef4[_0xaf7304(0x190)][_0xaf7304(0x18c)][_0xaf7304(0x195)](_0x2e549b[_0xaf7304(0x191)]);_0x3f6370&&(_0x2e549b[_0xaf7304(0x17e)]=_0x3f6370[_0xaf7304(0x17a)]());}
23
+ function _0x158e(){const _0x3b7d01=['node','markers','filter','71068IFeluo','shift','operationsA','oldRange','get','type','history','525825gLmwHc','removed','marker','version','data-id','getDocumentContext','756066BGdMNd','name','getDiff','document','11188cxzSsF','anchorId','length','map','getOperations','previousSibling','documentContextContent','new','cloneNode','1714104uoQspW','model','173793NogKGS','182377xjgruh','getRange','content'];_0x158e=function(){return _0x3b7d01;};return _0x158e();}(function(_0x20202a,_0x806043){const _0xf998c9=_0x4867,_0x2f5ce2=_0x20202a();while(!![]){try{const _0x361c6a=-parseInt(_0xf998c9(0x182))/0x1+-parseInt(_0xf998c9(0x165))/0x2+parseInt(_0xf998c9(0x181))/0x3+parseInt(_0xf998c9(0x176))/0x4+-parseInt(_0xf998c9(0x16c))/0x5+parseInt(_0xf998c9(0x172))/0x6+parseInt(_0xf998c9(0x17f))/0x7;if(_0x361c6a===_0x806043)break;else _0x2f5ce2['push'](_0x2f5ce2['shift']());}catch(_0x2fdd9d){_0x2f5ce2['push'](_0x2f5ce2['shift']());}}}(_0x158e,0x1a7f7));import{transformOperationSets as _0x1146fa}from'ckeditor5/src/engine.js';import{append as _0x39d648,findByAttribute as _0x24f57b,prependChild as _0x144914,removeElement as _0x467126,serialize as _0x30c33c}from'./htmlparser.js';function _0x4867(_0xdad92,_0x371f41){const _0x158e56=_0x158e();return _0x4867=function(_0x48678e,_0x1bfce5){_0x48678e=_0x48678e-0x164;let _0x49bafc=_0x158e56[_0x48678e];return _0x49bafc;},_0x4867(_0xdad92,_0x371f41);}export function getOperationsFromReply({editor:_0x5bc320,interaction:_0x40a4ad,reply:_0x2aed66,groups:_0x5017f0,transform:_0x44b672,documentCompare:_0x14c6bc,documentCompareOptions:_0x3a9d6d}){const _0x3c0fe5=_0x4867,_0x247213=_0x40a4ad[_0x3c0fe5(0x171)]();if(!_0x247213)return[];const _0x427eca=_0x247213[_0x3c0fe5(0x184)],_0x2b97c1=_0x247213[_0x3c0fe5(0x16f)],_0x51149b=_0x2aed66[_0x3c0fe5(0x17c)][_0x3c0fe5(0x17e)](!0x0);for(const {changes:_0x382fc1}of _0x5017f0){const _0x576c46=_0x382fc1[_0x3c0fe5(0x164)](_0x25c285=>_0x3c0fe5(0x17d)!=_0x25c285[_0x3c0fe5(0x16a)])[_0x3c0fe5(0x179)](_0x47c36f=>_0x24f57b(_0x3c0fe5(0x170),_0x47c36f['id'],_0x51149b)),_0x1bc381=_0x382fc1[_0x3c0fe5(0x164)](_0xcdd087=>_0x3c0fe5(0x16d)!=_0xcdd087[_0x3c0fe5(0x16a)])[_0x3c0fe5(0x179)](_0x5acd00=>_0x5acd00[_0x3c0fe5(0x185)][_0x3c0fe5(0x17e)](!0x0));let _0x10cbde=null;if(_0x576c46[_0x3c0fe5(0x178)]){_0x10cbde=_0x576c46[0x0][_0x3c0fe5(0x17b)];for(let _0x456e80=0x0;_0x456e80<_0x576c46[_0x3c0fe5(0x178)];_0x456e80++)_0x467126(_0x576c46[_0x456e80]);}if(_0x1bc381[_0x3c0fe5(0x178)]){_0x10cbde||(_0x382fc1[0x0][_0x3c0fe5(0x177)]?_0x10cbde=_0x24f57b(_0x3c0fe5(0x170),_0x382fc1[0x0][_0x3c0fe5(0x177)],_0x51149b):(_0x10cbde=_0x1bc381[_0x3c0fe5(0x166)](),_0x144914(_0x51149b,_0x10cbde)));for(let _0x51bd00=0x0;_0x51bd00<_0x1bc381[_0x3c0fe5(0x178)];_0x51bd00++)_0x39d648(_0x10cbde,_0x1bc381[_0x51bd00]),_0x10cbde=_0x1bc381[_0x51bd00];}}const _0x14c6c3=_0x30c33c(_0x51149b),_0x4c8f51=_0x14c6bc[_0x3c0fe5(0x174)](_0x427eca,_0x14c6c3,_0x3a9d6d)[_0x3c0fe5(0x17a)]();if(_0x44b672){const _0x1cb8e2=_0x5bc320[_0x3c0fe5(0x180)][_0x3c0fe5(0x175)][_0x3c0fe5(0x16b)][_0x3c0fe5(0x17a)](_0x2b97c1),_0x21e178={'document':_0x5bc320[_0x3c0fe5(0x180)][_0x3c0fe5(0x175)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x1146fa(_0x4c8f51,_0x1cb8e2,_0x21e178)[_0x3c0fe5(0x167)];}return _0x4c8f51;}export function fixMarkerOperationOldRange(_0x1b8196,_0x5a1801){const _0x4c7553=_0x4867;if(_0x4c7553(0x16e)!=_0x5a1801[_0x4c7553(0x16a)])return;const _0x10cf4b=_0x1b8196[_0x4c7553(0x180)][_0x4c7553(0x186)][_0x4c7553(0x169)](_0x5a1801[_0x4c7553(0x173)]);_0x10cf4b&&(_0x5a1801[_0x4c7553(0x168)]=_0x10cf4b[_0x4c7553(0x183)]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x478a4f,_0x256253){const _0x4f29f7=_0x4817,_0x162190=_0x478a4f();while(!![]){try{const _0x35df29=-parseInt(_0x4f29f7(0x15a))/0x1+parseInt(_0x4f29f7(0x177))/0x2*(-parseInt(_0x4f29f7(0x144))/0x3)+parseInt(_0x4f29f7(0x19e))/0x4+-parseInt(_0x4f29f7(0x14d))/0x5*(parseInt(_0x4f29f7(0x148))/0x6)+parseInt(_0x4f29f7(0x194))/0x7+-parseInt(_0x4f29f7(0x166))/0x8*(-parseInt(_0x4f29f7(0x170))/0x9)+parseInt(_0x4f29f7(0x178))/0xa;if(_0x35df29===_0x256253)break;else _0x162190['push'](_0x162190['shift']());}catch(_0x508aee){_0x162190['push'](_0x162190['shift']());}}}(_0x55db,0x31266));import{findOne as _0x4c6a03,getAttribute as _0x2f664c,Document as _0x12f91e,serialize as _0x202a57,parse as _0x16d5fa}from'./htmlparser.js';import{fixElementSuggestionRange as _0x367c52}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x3cdad4,_DetachOperation as _0x8243bc,_removeFromModelNodeList as _0x470545,_insertIntoModelNodeList as _0x51a2e5}from'ckeditor5/src/engine.js';function _0x4817(_0x5602e9,_0x244c42){const _0x55db4d=_0x55db();return _0x4817=function(_0x481717,_0x62df03){_0x481717=_0x481717-0x135;let _0x2bc51c=_0x55db4d[_0x481717];return _0x2bc51c;},_0x4817(_0x5602e9,_0x244c42);}import{uid as _0x2cf2ee}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x14c25e,changeGroups:_0x3c5b3c,documentContextContent:_0x1cd55c,showDiff:_0x6768f3,trimUnchanged:_0x10e3bf=!0x0}){const _0x1749fb=_0x4817;return _0x3c5b3c[_0x1749fb(0x169)](_0x11e701=>{const _0x39a2c1=_0x1749fb,_0x5d0a28=new _0x12f91e([]),_0x50a0d1=new _0x12f91e([]);for(const _0x39e993 of _0x11e701[_0x39a2c1(0x164)])if(_0x6768f3&&_0x39a2c1(0x18f)==_0x39e993[_0x39a2c1(0x142)]||_0x50a0d1[_0x39a2c1(0x1a4)][_0x39a2c1(0x14a)](_0x39e993[_0x39a2c1(0x15f)][_0x39a2c1(0x191)](!0x0)),_0x39a2c1(0x173)!=_0x39e993[_0x39a2c1(0x142)]&&(_0x6768f3||_0x39a2c1(0x18f)!=_0x39e993[_0x39a2c1(0x142)])){const _0x2c7763=_0x4c6a03(_0x3bf28c=>_0x2f664c(_0x3bf28c,_0x39a2c1(0x163))==_0x39e993['id'],_0x1cd55c,!0x0);_0x2c7763&&_0x5d0a28[_0x39a2c1(0x1a4)][_0x39a2c1(0x14a)](_0x2c7763[_0x39a2c1(0x191)](!0x0));}const {content:_0xc135c0,hasChanges:_0xec35e}=function(_0x29203a,_0x4e1ed5,_0x57642c,_0x56b28c,_0x147190=!0x0){const _0x1e5ecf=_0x39a2c1,_0x2d443d=_0x29203a[_0x1e5ecf(0x151)][_0x1e5ecf(0x193)](_0x1e5ecf(0x159)),_0x27425b=_0x202a57(_0x4e1ed5),_0x2ee3a7=_0x202a57(_0x57642c),_0x5f3433=_0x29203a[_0x1e5ecf(0x18c)][_0x1e5ecf(0x16d)](_0x27425b,_0x1e5ecf(0x139)),_0x988b5d=_0x29203a[_0x1e5ecf(0x16f)][_0x1e5ecf(0x16a)](_0x5f3433,0x0),_0x3badf1=_0x2d443d[_0x1e5ecf(0x17d)](_0x27425b,_0x2ee3a7,{'anchor':_0x988b5d,'markDeletions':_0x56b28c}),_0x1eadf6=_0x3badf1[_0x1e5ecf(0x15e)]();if(0x0==_0x1eadf6[_0x1e5ecf(0x175)])return{'content':_0x4e1ed5[_0x1e5ecf(0x191)](!0x0),'hasChanges':!0x1};_0x56b28c?function(_0x3573ae,_0x56a604,_0x5f3e70){const _0xde5fa0=_0x1e5ecf;if(0x0==_0x3573ae[_0xde5fa0(0x175)])return;const _0x23a1f9=_0x5f3e70[_0xde5fa0(0x151)][_0xde5fa0(0x193)](_0xde5fa0(0x159)),_0x2a079f=_0x5f3e70[_0xde5fa0(0x151)][_0xde5fa0(0x193)](_0xde5fa0(0x145));_0x5f3e70[_0xde5fa0(0x16f)][_0xde5fa0(0x181)](_0x3bc61c=>{const _0x27d15a=_0xde5fa0,_0x575e02=new Set();for(let _0x1f8dc1=0x0;_0x1f8dc1<_0x3573ae[_0x27d15a(0x175)];_0x1f8dc1++){const _0x59a3ff=_0x3573ae[_0x1f8dc1];if(_0x59a3ff[_0x27d15a(0x172)]=null,_0x59a3ff[_0x27d15a(0x18d)]=!0x1,_0x23a1f9[_0x27d15a(0x184)](_0x59a3ff)){const _0x430650=_0x367c52(_0x59a3ff[_0x27d15a(0x195)],_0x5f3e70[_0x27d15a(0x16f)]),_0x46ad46=_0x27d15a(0x15b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x46ad46,_0x430650);}else switch(_0x59a3ff[_0x27d15a(0x142)]){case _0x27d15a(0x196):{if(_0x59a3ff[_0x27d15a(0x17e)]==_0x59a3ff[_0x27d15a(0x168)])break;_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x507dc5=_0x27d15a(0x16e),_0x5157c1=_0x59a3ff[_0x27d15a(0x17a)],_0x2a75a7=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x5157c1,_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x16a)](_0x5157c1[_0x27d15a(0x154)],_0x27d15a(0x140))),_0x27dd74=_0x27d15a(0x155)+_0x507dc5+':'+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x27dd74,_0x2a75a7);break;}case _0x27d15a(0x19b):case _0x27d15a(0x1a9):case _0x27d15a(0x143):{if(_0x59a3ff[_0x27d15a(0x1a8)]==_0x59a3ff[_0x27d15a(0x18a)])break;_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x4d0a6f=_0x59a3ff[_0x27d15a(0x17f)];if(!_0x2a079f[_0x27d15a(0x185)](_0x4d0a6f))break;const _0x192b56=_0x367c52(_0x59a3ff[_0x27d15a(0x192)],_0x5f3e70[_0x27d15a(0x16f)]),_0x545045=_0x27d15a(0x155)+_0x4d0a6f+':'+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x545045,_0x192b56);break;}case _0x27d15a(0x180):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);if(_0x3573ae[_0x1f8dc1+0x1]&&_0x27d15a(0x14c)==_0x3573ae[_0x1f8dc1+0x1][_0x27d15a(0x142)]){no(_0x56a604,_0x59a3ff);break;}const _0x402018=_0x59a3ff[_0x27d15a(0x17a)],_0xc49c94=_0x59a3ff[_0x27d15a(0x1a7)],_0x5fe648=_0x367c52(_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x402018,_0x402018[_0x27d15a(0x153)](_0xc49c94)),_0x5f3e70[_0x27d15a(0x16f)]),_0x5830e9=_0x27d15a(0x14b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x5830e9,_0x5fe648);break;}case _0x27d15a(0x167):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff);const _0x145c2e=_0x59a3ff[_0x27d15a(0x150)],_0x81882d=_0x59a3ff[_0x27d15a(0x161)],_0x1611ee=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x188)](_0x145c2e,_0x81882d),_0x318602=_0x27d15a(0x14b)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x318602,_0x1611ee);break;}case _0x27d15a(0x14c):{_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x59a3ff),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x59a3ff),_0x3573ae[_0x1f8dc1-0x1]&&_0x27d15a(0x180)==_0x3573ae[_0x1f8dc1-0x1][_0x27d15a(0x142)]&&no(_0x56a604,_0x59a3ff);const _0x175d23=_0x59a3ff[_0x27d15a(0x183)](),_0x156feb=_0x59a3ff[_0x27d15a(0x1a7)];for(let _0x153602=0x0;_0x153602<_0x156feb;_0x153602++){const _0x51902e=_0x175d23[_0x27d15a(0x153)](_0x153602)[_0x27d15a(0x154)];_0x575e02[_0x27d15a(0x162)](_0x51902e);}break;}case _0x27d15a(0x136):{const _0x5f0f71=_0x59a3ff[_0x27d15a(0x13a)],_0x3ad930=_0x59a3ff[_0x27d15a(0x1a7)],_0x565820=new _0x8243bc(_0x5f0f71,_0x3ad930);_0x3bc61c[_0x27d15a(0x146)][_0x27d15a(0x17c)](_0x565820),_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x15c)](_0x565820);break;}}}for(const _0x55e8ab of _0x575e02){const _0x476521=_0x5f3e70[_0x27d15a(0x16f)][_0x27d15a(0x157)](_0x55e8ab),_0x5e899b=_0x27d15a(0x19f)+_0x2cf2ee()+_0x27d15a(0x1a6);_0x56a604[_0x27d15a(0x16c)][_0x27d15a(0x19a)](_0x5e899b,_0x367c52(_0x476521,_0x5f3e70[_0x27d15a(0x16f)]));}});}(_0x1eadf6,_0x5f3433,_0x29203a):_0x29203a[_0x1e5ecf(0x16f)][_0x1e5ecf(0x181)](_0x24b26d=>{const _0x8443d5=_0x1e5ecf;for(const _0x4c32e9 of _0x1eadf6)if(_0x8443d5(0x136)==_0x4c32e9[_0x8443d5(0x142)]){const _0xb513a9=_0x4c32e9[_0x8443d5(0x13a)],_0x1dda4f=_0x4c32e9[_0x8443d5(0x1a7)],_0x1c1ff8=new _0x8243bc(_0xb513a9,_0x1dda4f);_0x24b26d[_0x8443d5(0x146)][_0x8443d5(0x17c)](_0x1c1ff8),_0x29203a[_0x8443d5(0x16f)][_0x8443d5(0x15c)](_0x1c1ff8);}else{if(_0x8443d5(0x138)==_0x4c32e9[_0x8443d5(0x142)]){const _0x38a066=_0x4c32e9[_0x8443d5(0x1a5)],_0x1c1efd=_0x4c32e9[_0x8443d5(0x195)];null!==_0x1c1efd?_0x5f3433[_0x8443d5(0x16c)][_0x8443d5(0x19a)](_0x38a066,_0x1c1efd):_0x5f3433[_0x8443d5(0x16c)][_0x8443d5(0x149)](_0x38a066);}else _0x4c32e9[_0x8443d5(0x172)]=null,_0x4c32e9[_0x8443d5(0x18d)]=!0x1,_0x24b26d[_0x8443d5(0x146)][_0x8443d5(0x17c)](_0x4c32e9),_0x29203a[_0x8443d5(0x16f)][_0x8443d5(0x15c)](_0x4c32e9);}});if(_0x147190){const _0x3d7f49=getMinimalSelection(_0x29203a,_0x1eadf6,_0x5f3433);expandSelectionWithContext(_0x29203a[_0x1e5ecf(0x16f)],_0x3d7f49),function(_0x1bc86f,_0x44f76e){const _0x54b434=_0x1e5ecf,_0x5e1dc8=_0x44f76e[_0x54b434(0x18e)]()[_0x54b434(0x19c)];let _0x54d454=_0x44f76e[_0x54b434(0x18e)]()[_0x54b434(0x140)];const _0x343bc6=_0x5e1dc8[_0x54b434(0x199)];(_0x54d454[_0x54b434(0x1a3)]||_0x54d454[_0x54b434(0x154)]&&_0x54d454[_0x54b434(0x154)]['is'](_0x54b434(0x13b)))&&(_0x51a2e5(_0x54d454,_0x54b434(0x160)),_0x54d454=_0x54d454[_0x54b434(0x153)](0x3)),(_0x5e1dc8[_0x54b434(0x1a3)]||_0x5e1dc8[_0x54b434(0x198)]&&_0x5e1dc8[_0x54b434(0x198)]['is'](_0x54b434(0x13b)))&&(_0x51a2e5(_0x5e1dc8,_0x54b434(0x160)),function(_0x3e54c2,_0x1826b7,_0x4a2831){const _0x1c7d5d=_0x54b434;for(let [_0x4d42c5,_0x3f6c74]of _0x3e54c2[_0x1c7d5d(0x16c)]){const _0x1df2f3=_0x3f6c74[_0x1c7d5d(0x13d)](_0x1826b7,_0x4a2831,!0x1);_0x3f6c74=_0x1df2f3[0x0],_0x3e54c2[_0x1c7d5d(0x16c)][_0x1c7d5d(0x19a)](_0x4d42c5,_0x3f6c74);}}(_0x343bc6,_0x5e1dc8,0x3),_0x5e1dc8[_0x54b434(0x15d)]==_0x54d454[_0x54b434(0x15d)]&&(_0x54d454=_0x54d454[_0x54b434(0x153)](0x3)));const _0x15f5ac=_0x1bc86f[_0x54b434(0x188)](_0x1bc86f[_0x54b434(0x16a)](_0x343bc6,0x0),_0x5e1dc8),_0x1214bc=_0x1bc86f[_0x54b434(0x188)](_0x54d454,_0x1bc86f[_0x54b434(0x16a)](_0x343bc6,_0x54b434(0x140))),_0x2af0ac=[..._0x15f5ac[_0x54b434(0x137)](),..._0x1214bc[_0x54b434(0x137)]()];_0x2af0ac[_0x54b434(0x14f)]();for(const _0x517693 of _0x2af0ac)_0x470545(_0x517693),_transformMarkersByDeletion(_0x343bc6,_0x517693);}(_0x29203a[_0x1e5ecf(0x16f)],_0x3d7f49);}const _0x4be8ed=_0x29203a[_0x1e5ecf(0x18c)][_0x1e5ecf(0x16b)](_0x5f3433,{'showSuggestionHighlights':!0x0});return{'content':_0x16d5fa(_0x4be8ed),'hasChanges':!0x0};}(_0x14c25e,_0x5d0a28,_0x50a0d1,_0x6768f3,_0x10e3bf);return{'type':_0x11e701[_0x39a2c1(0x164)][0x0][_0x39a2c1(0x142)],'index':_0x11e701[_0x39a2c1(0x186)],'content':_0xc135c0,'hasChanges':_0xec35e};});}function no(_0x30f2b6,_0x5d8a6e){const _0x4742a2=_0x4817;for(const [_0x3c3e06,_0x46214f]of _0x30f2b6[_0x4742a2(0x16c)]){const _0x208fc5=_0x3cdad4[_0x4742a2(0x182)](_0x46214f[_0x4742a2(0x165)](_0x5d8a6e));_0x30f2b6[_0x4742a2(0x16c)][_0x4742a2(0x19a)](_0x3c3e06,_0x208fc5);}}function _0x55db(){const _0x762827=['createPositionAt','stringify','markers','parse','$elementName','model','16038XuBCPf','_getTransformedByDeletion','baseVersion','new','isAfter','length','modifySelection','90494EOeHTs','6248770xOKRau','schema','position','isBefore','addOperation','getDiff','oldName','key','insert','change','_createFromRanges','getMovedRangeStart','isMarkedRemoveOperation','isRegisteredAttribute','index','slice','createRange','createSelection','newValue','focus','data','isDocumentOperation','getFirstRange','removed','isBlock','cloneNode','range','get','1198064vGOTAt','newRange','rename','element','nodeBefore','root','set','addAttribute','start','forward','831812ShpEng','suggestion:formatBlock:$fakeWrap:','word','POSITIVE_INFINITY','merge','textNode','children','name',':$aiSuggestion','howMany','oldValue','removeAttribute','setTo','remove','getMinimalFlatRanges','marker','$root','sourcePosition','$text','isObject','_getTransformedByInsertion','offset','path','end','backward','type','changeAttribute','24ugRurG','SuggestionsConversion','batch','clone','1506IpGNTE','delete','push','suggestion:insertion:','move','6010gDVJil','createPositionFromPath','reverse','splitPosition','plugins','stickiness','getShiftedBy','nodeAfter','suggestion:attribute:','toNone','createRangeOn','targetPosition','DocumentCompare','390248PmMqqs','suggestion:deletion:','applyOperation','parent','getOperations','node','...','moveTargetPosition','add','data-id','changes','getTransformedByOperation','1128JaxgRR','split','newName','map'];_0x55db=function(){return _0x762827;};return _0x55db();}export function getMinimalSelection(_0x57d180,_0x2052b8,_0x5c80a3){const _0x4aa329=_0x4817,_0x15db3b=_0x57d180[_0x4aa329(0x151)][_0x4aa329(0x193)](_0x4aa329(0x159));let _0x13adde=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x16a)](_0x5c80a3,Number[_0x4aa329(0x1a1)]),_0x47435d=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x16a)](_0x5c80a3,0x0);for(const _0x347aa1 of _0x2052b8){let _0x1db5d2,_0x193d22;if(_0x15db3b[_0x4aa329(0x184)](_0x347aa1))_0x1db5d2=_0x347aa1[_0x4aa329(0x195)][_0x4aa329(0x19c)],_0x193d22=_0x347aa1[_0x4aa329(0x195)][_0x4aa329(0x140)];else switch(_0x13adde=_0x13adde[_0x4aa329(0x165)](_0x347aa1),_0x47435d=_0x47435d[_0x4aa329(0x165)](_0x347aa1),_0x347aa1[_0x4aa329(0x142)]){case _0x4aa329(0x196):_0x1db5d2=_0x347aa1[_0x4aa329(0x17a)],_0x193d22=_0x1db5d2[_0x4aa329(0x153)](0x1);break;case _0x4aa329(0x19b):case _0x4aa329(0x1a9):case _0x4aa329(0x143):_0x1db5d2=_0x347aa1[_0x4aa329(0x192)][_0x4aa329(0x19c)],_0x193d22=_0x347aa1[_0x4aa329(0x192)][_0x4aa329(0x140)];break;case _0x4aa329(0x180):_0x1db5d2=_0x347aa1[_0x4aa329(0x17a)],_0x193d22=_0x1db5d2[_0x4aa329(0x153)](_0x347aa1[_0x4aa329(0x1a7)]);break;case _0x4aa329(0x167):_0x1db5d2=_0x347aa1[_0x4aa329(0x150)],_0x193d22=_0x347aa1[_0x4aa329(0x161)];break;case _0x4aa329(0x1a2):{const _0xb14ca3=_0x347aa1[_0x4aa329(0x158)][_0x4aa329(0x13f)][_0x4aa329(0x187)](0x0,-0x1);_0x1db5d2=_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x14e)](_0x5c80a3,_0xb14ca3),_0x193d22=_0x1db5d2[_0x4aa329(0x153)](0x1);break;}case _0x4aa329(0x136):{const _0x14341e=_0x347aa1[_0x4aa329(0x1a7)],_0xfff4a1=_0x347aa1[_0x4aa329(0x13a)][_0x4aa329(0x13d)](_0x347aa1[_0x4aa329(0x158)],_0x14341e),_0x36a9e7=_0x347aa1[_0x4aa329(0x183)]();_0x4aa329(0x136)==_0x347aa1[_0x4aa329(0x142)]?(_0x1db5d2=_0xfff4a1,_0x193d22=_0xfff4a1):(_0x1db5d2=_0x36a9e7,_0x193d22=_0x36a9e7[_0x4aa329(0x153)](_0x14341e));break;}}_0x1db5d2&&_0x1db5d2[_0x4aa329(0x17b)](_0x13adde)&&(_0x13adde=_0x1db5d2[_0x4aa329(0x147)](),_0x13adde[_0x4aa329(0x152)]=_0x4aa329(0x156)),_0x193d22&&_0x193d22[_0x4aa329(0x174)](_0x47435d)&&(_0x47435d=_0x193d22[_0x4aa329(0x147)](),_0x47435d[_0x4aa329(0x152)]=_0x4aa329(0x156));}return _0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x189)](_0x57d180[_0x4aa329(0x16f)][_0x4aa329(0x188)](_0x13adde,_0x47435d));}export function expandSelectionWithContext(_0x174b4f,_0x48ad73){const _0xacb4f9=_0x4817;ro(_0x174b4f,_0x48ad73,_0xacb4f9(0x19d));const _0x5d21a1=_0x48ad73[_0xacb4f9(0x18e)]();_0x48ad73[_0xacb4f9(0x135)]([]),_0x48ad73[_0xacb4f9(0x135)](_0x5d21a1,{'backward':!0x0}),ro(_0x174b4f,_0x48ad73,_0xacb4f9(0x141));}function ro(_0x49490a,_0x5c1494,_0x53487e){const _0x5bfe3b=_0x4817;let _0x4d4085=0x14;for(;_0x4d4085;){_0x49490a[_0x5bfe3b(0x176)](_0x5c1494,{'unit':_0x5bfe3b(0x1a0),'direction':_0x53487e}),_0x4d4085--;const _0x498056=_0x5c1494[_0x5bfe3b(0x18b)][_0x5bfe3b(0x19d)==_0x53487e?_0x5bfe3b(0x198):_0x5bfe3b(0x154)];if(_0x498056&&_0x498056['is'](_0x5bfe3b(0x197))&&_0x49490a[_0x5bfe3b(0x179)][_0x5bfe3b(0x190)](_0x498056)&&_0x49490a[_0x5bfe3b(0x179)][_0x5bfe3b(0x13c)](_0x498056))break;}}export function _transformMarkersByDeletion(_0x2a1de4,_0x31de2d){const _0x31d4ee=_0x4817;for(const [_0x2bad1c,_0x5da1f3]of _0x2a1de4[_0x31d4ee(0x16c)]){const _0x371ae2=_0x5da1f3[_0x31d4ee(0x171)](_0x31de2d[_0x31d4ee(0x19c)],_0x31de2d[_0x31d4ee(0x140)][_0x31d4ee(0x13e)]-_0x31de2d[_0x31d4ee(0x19c)][_0x31d4ee(0x13e)]);null!=_0x371ae2?_0x2a1de4[_0x31d4ee(0x16c)][_0x31d4ee(0x19a)](_0x2bad1c,_0x371ae2):_0x2a1de4[_0x31d4ee(0x16c)][_0x31d4ee(0x149)](_0x2bad1c);}}
23
+ (function(_0x533578,_0x4faa44){const _0x572109=_0x439f,_0x593718=_0x533578();while(!![]){try{const _0x151936=parseInt(_0x572109(0x196))/0x1+parseInt(_0x572109(0x179))/0x2+parseInt(_0x572109(0x17e))/0x3+-parseInt(_0x572109(0x170))/0x4+-parseInt(_0x572109(0x156))/0x5*(parseInt(_0x572109(0x166))/0x6)+parseInt(_0x572109(0x1a6))/0x7+-parseInt(_0x572109(0x168))/0x8;if(_0x151936===_0x4faa44)break;else _0x593718['push'](_0x593718['shift']());}catch(_0x36d18b){_0x593718['push'](_0x593718['shift']());}}}(_0x339d,0xeb4b7));import{findOne as _0x2c20da,getAttribute as _0x26e10e,Document as _0x5eac2a,serialize as _0x3ff4b8,parse as _0x50b0b6}from'./htmlparser.js';import{fixElementSuggestionRange as _0x5b8d0c}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0xadd0ce,_DetachOperation as _0x3f34a6,_removeFromModelNodeList as _0xb3eb93,_insertIntoModelNodeList as _0x46004a}from'ckeditor5/src/engine.js';function _0x439f(_0x7ad13a,_0x47a0e0){const _0x339d78=_0x339d();return _0x439f=function(_0x439f1b,_0x32fd69){_0x439f1b=_0x439f1b-0x14f;let _0x4a9a51=_0x339d78[_0x439f1b];return _0x4a9a51;},_0x439f(_0x7ad13a,_0x47a0e0);}import{uid as _0x1b2b62}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x4fbab4,changeGroups:_0xb10276,documentContextContent:_0x10e6d6,showDiff:_0xd2b27a,trimUnchanged:_0x4efeb9=!0x0}){const _0x3df82e=_0x439f;return _0xb10276[_0x3df82e(0x1b4)](_0xa3783c=>{const _0x2852b0=_0x3df82e,_0x331814=new _0x5eac2a([]),_0x1425a6=new _0x5eac2a([]);for(const _0xdc8a22 of _0xa3783c[_0x2852b0(0x1bb)])if(_0xd2b27a&&_0x2852b0(0x1bc)==_0xdc8a22[_0x2852b0(0x19a)]||_0x1425a6[_0x2852b0(0x1ba)][_0x2852b0(0x1a2)](_0xdc8a22[_0x2852b0(0x16a)][_0x2852b0(0x1a8)](!0x0)),_0x2852b0(0x155)!=_0xdc8a22[_0x2852b0(0x19a)]&&(_0xd2b27a||_0x2852b0(0x1bc)!=_0xdc8a22[_0x2852b0(0x19a)])){const _0x548c4c=_0x2c20da(_0x1fd496=>_0x26e10e(_0x1fd496,_0x2852b0(0x15c))==_0xdc8a22['id'],_0x10e6d6,!0x0);_0x548c4c&&_0x331814[_0x2852b0(0x1ba)][_0x2852b0(0x1a2)](_0x548c4c[_0x2852b0(0x1a8)](!0x0));}const {content:_0x5bed3c,hasChanges:_0x45960c}=function(_0x19e04f,_0x2ab7fa,_0x44fc58,_0x44519,_0x164079=!0x0){const _0x342284=_0x2852b0,_0x4c6584=_0x19e04f[_0x342284(0x198)][_0x342284(0x1a5)](_0x342284(0x16e)),_0x1450dc=_0x3ff4b8(_0x2ab7fa),_0x4105c2=_0x3ff4b8(_0x44fc58),_0x296dba=_0x19e04f[_0x342284(0x178)][_0x342284(0x164)](_0x1450dc,_0x342284(0x167)),_0xab0123=_0x19e04f[_0x342284(0x158)][_0x342284(0x1a9)](_0x296dba,0x0),_0x1fca76=_0x4c6584[_0x342284(0x1c0)](_0x1450dc,_0x4105c2,{'anchor':_0xab0123,'markDeletions':_0x44519}),_0x1f5b8e=_0x1fca76[_0x342284(0x181)]();if(0x0==_0x1f5b8e[_0x342284(0x150)])return{'content':_0x2ab7fa[_0x342284(0x1a8)](!0x0),'hasChanges':!0x1};_0x44519?function(_0x16ff3a,_0x223df7,_0x44047e){const _0x3524fe=_0x342284;if(0x0==_0x16ff3a[_0x3524fe(0x150)])return;const _0x437b23=_0x44047e[_0x3524fe(0x198)][_0x3524fe(0x1a5)](_0x3524fe(0x16e)),_0x486029=_0x44047e[_0x3524fe(0x198)][_0x3524fe(0x1a5)](_0x3524fe(0x1b6));_0x44047e[_0x3524fe(0x158)][_0x3524fe(0x16d)](_0x1a8141=>{const _0x46606c=_0x3524fe,_0x2ccba8=new Set();for(let _0x3c3822=0x0;_0x3c3822<_0x16ff3a[_0x46606c(0x150)];_0x3c3822++){const _0x3c7db1=_0x16ff3a[_0x3c3822];if(_0x3c7db1[_0x46606c(0x1b9)]=null,_0x3c7db1[_0x46606c(0x180)]=!0x1,_0x437b23[_0x46606c(0x1bd)](_0x3c7db1)){const _0x27d12c=_0x5b8d0c(_0x3c7db1[_0x46606c(0x1ae)],_0x44047e[_0x46606c(0x158)]),_0x500959=_0x46606c(0x151)+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x500959,_0x27d12c);}else switch(_0x3c7db1[_0x46606c(0x19a)]){case _0x46606c(0x1af):{if(_0x3c7db1[_0x46606c(0x15d)]==_0x3c7db1[_0x46606c(0x171)])break;_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x3c7db1),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x3c7db1);const _0x53110c=_0x46606c(0x174),_0x311ce4=_0x3c7db1[_0x46606c(0x1b0)],_0x363764=_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b5)](_0x311ce4,_0x44047e[_0x46606c(0x158)][_0x46606c(0x1a9)](_0x311ce4[_0x46606c(0x193)],_0x46606c(0x16f))),_0x4de8d2=_0x46606c(0x17b)+_0x53110c+':'+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x4de8d2,_0x363764);break;}case _0x46606c(0x194):case _0x46606c(0x19b):case _0x46606c(0x161):{if(_0x3c7db1[_0x46606c(0x195)]==_0x3c7db1[_0x46606c(0x18a)])break;_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x3c7db1),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x3c7db1);const _0x456bdd=_0x3c7db1[_0x46606c(0x1a0)];if(!_0x486029[_0x46606c(0x188)](_0x456bdd))break;const _0x3cfb35=_0x5b8d0c(_0x3c7db1[_0x46606c(0x1bf)],_0x44047e[_0x46606c(0x158)]),_0x5ad624=_0x46606c(0x17b)+_0x456bdd+':'+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x5ad624,_0x3cfb35);break;}case _0x46606c(0x1b2):{_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x3c7db1),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x3c7db1);if(_0x16ff3a[_0x3c3822+0x1]&&_0x46606c(0x163)==_0x16ff3a[_0x3c3822+0x1][_0x46606c(0x19a)]){no(_0x223df7,_0x3c7db1);break;}const _0x31fe1a=_0x3c7db1[_0x46606c(0x1b0)],_0x35e268=_0x3c7db1[_0x46606c(0x182)],_0x450c3d=_0x5b8d0c(_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b5)](_0x31fe1a,_0x31fe1a[_0x46606c(0x160)](_0x35e268)),_0x44047e[_0x46606c(0x158)]),_0x2ab90d=_0x46606c(0x18c)+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x2ab90d,_0x450c3d);break;}case _0x46606c(0x175):{_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x3c7db1),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x3c7db1);const _0x169082=_0x3c7db1[_0x46606c(0x191)],_0x3c5cdb=_0x3c7db1[_0x46606c(0x18b)],_0x465526=_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b5)](_0x169082,_0x3c5cdb),_0x3ec0f1=_0x46606c(0x18c)+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x3ec0f1,_0x465526);break;}case _0x46606c(0x163):{_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x3c7db1),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x3c7db1),_0x16ff3a[_0x3c3822-0x1]&&_0x46606c(0x1b2)==_0x16ff3a[_0x3c3822-0x1][_0x46606c(0x19a)]&&no(_0x223df7,_0x3c7db1);const _0x275b5f=_0x3c7db1[_0x46606c(0x173)](),_0x19917f=_0x3c7db1[_0x46606c(0x182)];for(let _0x46d416=0x0;_0x46d416<_0x19917f;_0x46d416++){const _0x1cafee=_0x275b5f[_0x46606c(0x160)](_0x46d416)[_0x46606c(0x193)];_0x2ccba8[_0x46606c(0x1ab)](_0x1cafee);}break;}case _0x46606c(0x187):{const _0x5c575d=_0x3c7db1[_0x46606c(0x19c)],_0x840366=_0x3c7db1[_0x46606c(0x182)],_0x11a721=new _0x3f34a6(_0x5c575d,_0x840366);_0x1a8141[_0x46606c(0x159)][_0x46606c(0x18f)](_0x11a721),_0x44047e[_0x46606c(0x158)][_0x46606c(0x1b3)](_0x11a721);break;}}}for(const _0x2189e0 of _0x2ccba8){const _0x3bcda9=_0x44047e[_0x46606c(0x158)][_0x46606c(0x190)](_0x2189e0),_0x2017a0=_0x46606c(0x15e)+_0x1b2b62()+_0x46606c(0x1aa);_0x223df7[_0x46606c(0x15a)][_0x46606c(0x162)](_0x2017a0,_0x5b8d0c(_0x3bcda9,_0x44047e[_0x46606c(0x158)]));}});}(_0x1f5b8e,_0x296dba,_0x19e04f):_0x19e04f[_0x342284(0x158)][_0x342284(0x16d)](_0x8955b0=>{const _0x3ccc6b=_0x342284;for(const _0x383559 of _0x1f5b8e)if(_0x3ccc6b(0x187)==_0x383559[_0x3ccc6b(0x19a)]){const _0x410c0f=_0x383559[_0x3ccc6b(0x19c)],_0x2fb0e9=_0x383559[_0x3ccc6b(0x182)],_0x2c0bb8=new _0x3f34a6(_0x410c0f,_0x2fb0e9);_0x8955b0[_0x3ccc6b(0x159)][_0x3ccc6b(0x18f)](_0x2c0bb8),_0x19e04f[_0x3ccc6b(0x158)][_0x3ccc6b(0x1b3)](_0x2c0bb8);}else{if(_0x3ccc6b(0x197)==_0x383559[_0x3ccc6b(0x19a)]){const _0x16945a=_0x383559[_0x3ccc6b(0x19d)],_0x6d6f83=_0x383559[_0x3ccc6b(0x1ae)];null!==_0x6d6f83?_0x296dba[_0x3ccc6b(0x15a)][_0x3ccc6b(0x162)](_0x16945a,_0x6d6f83):_0x296dba[_0x3ccc6b(0x15a)][_0x3ccc6b(0x1a7)](_0x16945a);}else _0x383559[_0x3ccc6b(0x1b9)]=null,_0x383559[_0x3ccc6b(0x180)]=!0x1,_0x8955b0[_0x3ccc6b(0x159)][_0x3ccc6b(0x18f)](_0x383559),_0x19e04f[_0x3ccc6b(0x158)][_0x3ccc6b(0x1b3)](_0x383559);}});if(_0x164079){const _0x24b5af=getMinimalSelection(_0x19e04f,_0x1f5b8e,_0x296dba);expandSelectionWithContext(_0x19e04f[_0x342284(0x158)],_0x24b5af),function(_0x33eb06,_0x27bbe4){const _0x4fa414=_0x342284,_0x44ce59=_0x27bbe4[_0x4fa414(0x17d)]()[_0x4fa414(0x1c1)];let _0x17ff5e=_0x27bbe4[_0x4fa414(0x17d)]()[_0x4fa414(0x16f)];const _0x81111b=_0x44ce59[_0x4fa414(0x183)];(_0x17ff5e[_0x4fa414(0x186)]||_0x17ff5e[_0x4fa414(0x193)]&&_0x17ff5e[_0x4fa414(0x193)]['is'](_0x4fa414(0x16c)))&&(_0x46004a(_0x17ff5e,_0x4fa414(0x199)),_0x17ff5e=_0x17ff5e[_0x4fa414(0x160)](0x3)),(_0x44ce59[_0x4fa414(0x186)]||_0x44ce59[_0x4fa414(0x176)]&&_0x44ce59[_0x4fa414(0x176)]['is'](_0x4fa414(0x16c)))&&(_0x46004a(_0x44ce59,_0x4fa414(0x199)),function(_0x2b019b,_0x317902,_0x2f7a41){const _0x37e506=_0x4fa414;for(let [_0x1df5ac,_0x5daa93]of _0x2b019b[_0x37e506(0x15a)]){const _0x5bce35=_0x5daa93[_0x37e506(0x184)](_0x317902,_0x2f7a41,!0x1);_0x5daa93=_0x5bce35[0x0],_0x2b019b[_0x37e506(0x15a)][_0x37e506(0x162)](_0x1df5ac,_0x5daa93);}}(_0x81111b,_0x44ce59,0x3),_0x44ce59[_0x4fa414(0x1b8)]==_0x17ff5e[_0x4fa414(0x1b8)]&&(_0x17ff5e=_0x17ff5e[_0x4fa414(0x160)](0x3)));const _0x1d579f=_0x33eb06[_0x4fa414(0x1b5)](_0x33eb06[_0x4fa414(0x1a9)](_0x81111b,0x0),_0x44ce59),_0x417407=_0x33eb06[_0x4fa414(0x1b5)](_0x17ff5e,_0x33eb06[_0x4fa414(0x1a9)](_0x81111b,_0x4fa414(0x16f))),_0x12f448=[..._0x1d579f[_0x4fa414(0x1be)](),..._0x417407[_0x4fa414(0x1be)]()];_0x12f448[_0x4fa414(0x153)]();for(const _0x513195 of _0x12f448)_0xb3eb93(_0x513195),_transformMarkersByDeletion(_0x81111b,_0x513195);}(_0x19e04f[_0x342284(0x158)],_0x24b5af);}const _0x9d852e=_0x19e04f[_0x342284(0x178)][_0x342284(0x169)](_0x296dba,{'showSuggestionHighlights':!0x0});return{'content':_0x50b0b6(_0x9d852e),'hasChanges':!0x0};}(_0x4fbab4,_0x331814,_0x1425a6,_0xd2b27a,_0x4efeb9);return{'type':_0xa3783c[_0x2852b0(0x1bb)][0x0][_0x2852b0(0x19a)],'index':_0xa3783c[_0x2852b0(0x152)],'content':_0x5bed3c,'hasChanges':_0x45960c};});}function _0x339d(){const _0x2226b1=['model','batch','markers','setTo','data-id','oldName','suggestion:formatBlock:$fakeWrap:','element','getShiftedBy','changeAttribute','set','move','parse','toNone','4542168ioTNCr','$root','1164256wujyOZ','stringify','node','slice','$text','change','DocumentCompare','end','7684672aMpyGZ','newName','forward','getMovedRangeStart','$elementName','split','nodeBefore','getTransformedByOperation','data','3490672oTHyCu','isBefore','suggestion:attribute:','POSITIVE_INFINITY','getFirstRange','2094591SzUgVW','path','isDocumentOperation','getOperations','howMany','root','_getTransformedByInsertion','isObject','textNode','remove','isRegisteredAttribute','_createFromRanges','newValue','moveTargetPosition','suggestion:insertion:','targetPosition','focus','addOperation','createRangeOn','splitPosition','word','nodeAfter','addAttribute','oldValue','965027wXIGtU','marker','plugins','...','type','removeAttribute','sourcePosition','name','modifySelection','backward','key','createSelection','push','stickiness','isBlock','get','7951741gWHpoi','delete','cloneNode','createPositionAt',':$aiSuggestion','add','_getTransformedByDeletion','createPositionFromPath','newRange','rename','position','merge','insert','applyOperation','map','createRange','SuggestionsConversion','offset','parent','baseVersion','children','changes','removed','isMarkedRemoveOperation','getMinimalFlatRanges','range','getDiff','start','schema','length','suggestion:deletion:','index','reverse','isAfter','new','10NMGSLJ','clone'];_0x339d=function(){return _0x2226b1;};return _0x339d();}function no(_0x3c9e40,_0xaf73d3){const _0x5d230d=_0x439f;for(const [_0x17a10d,_0x35b04e]of _0x3c9e40[_0x5d230d(0x15a)]){const _0x4782b5=_0xadd0ce[_0x5d230d(0x189)](_0x35b04e[_0x5d230d(0x177)](_0xaf73d3));_0x3c9e40[_0x5d230d(0x15a)][_0x5d230d(0x162)](_0x17a10d,_0x4782b5);}}export function getMinimalSelection(_0x4a695a,_0x55a835,_0x4876d4){const _0x4f3d46=_0x439f,_0x33cc12=_0x4a695a[_0x4f3d46(0x198)][_0x4f3d46(0x1a5)](_0x4f3d46(0x16e));let _0x3de716=_0x4a695a[_0x4f3d46(0x158)][_0x4f3d46(0x1a9)](_0x4876d4,Number[_0x4f3d46(0x17c)]),_0x103118=_0x4a695a[_0x4f3d46(0x158)][_0x4f3d46(0x1a9)](_0x4876d4,0x0);for(const _0x516215 of _0x55a835){let _0x23eeda,_0x28cf10;if(_0x33cc12[_0x4f3d46(0x1bd)](_0x516215))_0x23eeda=_0x516215[_0x4f3d46(0x1ae)][_0x4f3d46(0x1c1)],_0x28cf10=_0x516215[_0x4f3d46(0x1ae)][_0x4f3d46(0x16f)];else switch(_0x3de716=_0x3de716[_0x4f3d46(0x177)](_0x516215),_0x103118=_0x103118[_0x4f3d46(0x177)](_0x516215),_0x516215[_0x4f3d46(0x19a)]){case _0x4f3d46(0x1af):_0x23eeda=_0x516215[_0x4f3d46(0x1b0)],_0x28cf10=_0x23eeda[_0x4f3d46(0x160)](0x1);break;case _0x4f3d46(0x194):case _0x4f3d46(0x19b):case _0x4f3d46(0x161):_0x23eeda=_0x516215[_0x4f3d46(0x1bf)][_0x4f3d46(0x1c1)],_0x28cf10=_0x516215[_0x4f3d46(0x1bf)][_0x4f3d46(0x16f)];break;case _0x4f3d46(0x1b2):_0x23eeda=_0x516215[_0x4f3d46(0x1b0)],_0x28cf10=_0x23eeda[_0x4f3d46(0x160)](_0x516215[_0x4f3d46(0x182)]);break;case _0x4f3d46(0x175):_0x23eeda=_0x516215[_0x4f3d46(0x191)],_0x28cf10=_0x516215[_0x4f3d46(0x18b)];break;case _0x4f3d46(0x1b1):{const _0x3f94ad=_0x516215[_0x4f3d46(0x18d)][_0x4f3d46(0x17f)][_0x4f3d46(0x16b)](0x0,-0x1);_0x23eeda=_0x4a695a[_0x4f3d46(0x158)][_0x4f3d46(0x1ad)](_0x4876d4,_0x3f94ad),_0x28cf10=_0x23eeda[_0x4f3d46(0x160)](0x1);break;}case _0x4f3d46(0x187):{const _0x158ce5=_0x516215[_0x4f3d46(0x182)],_0x16be2f=_0x516215[_0x4f3d46(0x19c)][_0x4f3d46(0x184)](_0x516215[_0x4f3d46(0x18d)],_0x158ce5),_0x5d1d85=_0x516215[_0x4f3d46(0x173)]();_0x4f3d46(0x187)==_0x516215[_0x4f3d46(0x19a)]?(_0x23eeda=_0x16be2f,_0x28cf10=_0x16be2f):(_0x23eeda=_0x5d1d85,_0x28cf10=_0x5d1d85[_0x4f3d46(0x160)](_0x158ce5));break;}}_0x23eeda&&_0x23eeda[_0x4f3d46(0x17a)](_0x3de716)&&(_0x3de716=_0x23eeda[_0x4f3d46(0x157)](),_0x3de716[_0x4f3d46(0x1a3)]=_0x4f3d46(0x165)),_0x28cf10&&_0x28cf10[_0x4f3d46(0x154)](_0x103118)&&(_0x103118=_0x28cf10[_0x4f3d46(0x157)](),_0x103118[_0x4f3d46(0x1a3)]=_0x4f3d46(0x165));}return _0x4a695a[_0x4f3d46(0x158)][_0x4f3d46(0x1a1)](_0x4a695a[_0x4f3d46(0x158)][_0x4f3d46(0x1b5)](_0x3de716,_0x103118));}export function expandSelectionWithContext(_0x32ad00,_0x47ca85){const _0x5be235=_0x439f;ro(_0x32ad00,_0x47ca85,_0x5be235(0x172));const _0x2b9a23=_0x47ca85[_0x5be235(0x17d)]();_0x47ca85[_0x5be235(0x15b)]([]),_0x47ca85[_0x5be235(0x15b)](_0x2b9a23,{'backward':!0x0}),ro(_0x32ad00,_0x47ca85,_0x5be235(0x19f));}function ro(_0x541a9b,_0x1084f3,_0x403338){const _0x1fa4d3=_0x439f;let _0x51e3ed=0x14;for(;_0x51e3ed;){_0x541a9b[_0x1fa4d3(0x19e)](_0x1084f3,{'unit':_0x1fa4d3(0x192),'direction':_0x403338}),_0x51e3ed--;const _0x22bd97=_0x1084f3[_0x1fa4d3(0x18e)][_0x1fa4d3(0x172)==_0x403338?_0x1fa4d3(0x176):_0x1fa4d3(0x193)];if(_0x22bd97&&_0x22bd97['is'](_0x1fa4d3(0x15f))&&_0x541a9b[_0x1fa4d3(0x14f)][_0x1fa4d3(0x1a4)](_0x22bd97)&&_0x541a9b[_0x1fa4d3(0x14f)][_0x1fa4d3(0x185)](_0x22bd97))break;}}export function _transformMarkersByDeletion(_0x4309e6,_0x4ed6ac){const _0x545be3=_0x439f;for(const [_0x14aa44,_0x2cb182]of _0x4309e6[_0x545be3(0x15a)]){const _0xdea909=_0x2cb182[_0x545be3(0x1ac)](_0x4ed6ac[_0x545be3(0x1c1)],_0x4ed6ac[_0x545be3(0x16f)][_0x545be3(0x1b7)]-_0x4ed6ac[_0x545be3(0x1c1)][_0x545be3(0x1b7)]);null!=_0xdea909?_0x4309e6[_0x545be3(0x15a)][_0x545be3(0x162)](_0x14aa44,_0xdea909):_0x4309e6[_0x545be3(0x15a)][_0x545be3(0x1a7)](_0x14aa44);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x731b2b,_0x26405e){const _0x12d0c2=_0x2574,_0x15a802=_0x731b2b();while(!![]){try{const _0x335238=-parseInt(_0x12d0c2(0x1f7))/0x1+-parseInt(_0x12d0c2(0x1fa))/0x2+-parseInt(_0x12d0c2(0x1e9))/0x3+-parseInt(_0x12d0c2(0x1ed))/0x4+-parseInt(_0x12d0c2(0x1f4))/0x5+parseInt(_0x12d0c2(0x1f8))/0x6+parseInt(_0x12d0c2(0x1f6))/0x7*(parseInt(_0x12d0c2(0x1ec))/0x8);if(_0x335238===_0x26405e)break;else _0x15a802['push'](_0x15a802['shift']());}catch(_0x400961){_0x15a802['push'](_0x15a802['shift']());}}}(_0x3645,0xbf28d));import{parseDocument as _0xb47127}from'htmlparser2';import{append as _0x16939f,appendChild as _0x2778e0,find as _0x3550d5,findAll as _0x9045e1,findOne as _0xff265d,getChildren as _0x1d74c0,isComment as _0x249f63,isTag as _0x391175,prepend as _0x1cb373,prependChild as _0x134b6e,removeElement as _0x4ead3a,replaceElement as _0x3e3ff1,textContent as _0x72db89,getParent as _0x5a92a6,hasChildren as _0x3448b7}from'domutils';function _0x2574(_0x1aeb1d,_0x29e8ce){const _0x3645aa=_0x3645();return _0x2574=function(_0x2574ff,_0x5daffe){_0x2574ff=_0x2574ff-0x1e4;let _0x4ec6e5=_0x3645aa[_0x2574ff];return _0x4ec6e5;},_0x2574(_0x1aeb1d,_0x29e8ce);}import _0x2931f7 from'dom-serializer';import{cloneNode as _0x30afa4,isDocument as _0x5b4201,isText as _0x123a16,Element as _0x4ecfb3,Text as _0x59c91f,Document as _0x59c8d0,NodeWithChildren as _0x54a18e}from'domhandler';export{_0x30afa4 as cloneNode,_0x3550d5 as find,_0xff265d as findOne,_0x9045e1 as findAll,_0x1d74c0 as getChildren,_0x5a92a6 as getParent,_0x249f63 as isComment,_0x5b4201 as isDocument,_0x391175 as isTag,_0x123a16 as isText,_0x16939f as append,_0x2778e0 as appendChild,_0x1cb373 as prepend,_0x134b6e as prependChild,_0x2931f7 as render,_0x4ead3a as removeElement,_0x3e3ff1 as replaceElement,_0x72db89 as textContent,_0x3448b7 as hasChildren,_0x4ecfb3 as Element,_0x59c8d0 as Document,_0x54a18e as NodeWithChildren,_0x59c91f as Text};export function parse(_0x40d2e2){return _0xb47127(_0x40d2e2);}function _0x3645(){const _0x17d4af=['14927816RGcqEr','398968jUfUgp','beforebegin','slice','nextSibling','forEach','replace','map','5603675pRvFbf','afterbegin','14gdANkf','120782mQoQWy','2559084hGQisP','beforeend','1607670LDfjXJ','indexOf','attribs','push','cloneNode','reverse','3691155fDtgFs','afterend','parentNode'];_0x3645=function(){return _0x17d4af;};return _0x3645();}export function serialize(_0x2252dd){return _0x2931f7(_0x2252dd);}export function findByAttribute(_0x40a93f,_0x2677fc,_0x40fe8a){const _0x530a45=_0x2574,_0x10d6ea=null!==_0x2677fc?_0x2c591a=>_0x2c591a[_0x530a45(0x1e5)][_0x40a93f]===_0x2677fc:_0x27c9c7=>Boolean(_0x27c9c7[_0x530a45(0x1e5)][_0x40a93f]);return _0xff265d(_0x10b959=>_0x391175(_0x10b959)&&_0x10d6ea(_0x10b959),_0x40fe8a);}export function findAllByAttribute(_0x10d983,_0x85d71d,_0x4d0e4a){const _0x5cb7ef=_0x2574,_0xc5b571=null!==_0x85d71d?_0x18309e=>_0x18309e[_0x5cb7ef(0x1e5)][_0x10d983]===_0x85d71d:_0xc334a0=>Boolean(_0xc334a0[_0x5cb7ef(0x1e5)][_0x10d983]);return _0x9045e1(_0x496c23=>_0x391175(_0x496c23)&&_0xc5b571(_0x496c23),_0x4d0e4a);}export function findAllComments(_0x2c349e){return _0x3550d5(_0x528e99=>_0x249f63(_0x528e99),_0x2c349e,!0x0,0x1/0x0);}export function getAttribute(_0x598843,_0x1835f8){const _0x10a957=_0x2574;return _0x598843&&_0x391175(_0x598843)?_0x598843[_0x10a957(0x1e5)][_0x1835f8]:null;}export function setAttribute(_0x287602,_0x9425a4,_0x21655e){const _0x23b388=_0x2574;_0x391175(_0x287602)&&(null===_0x21655e?delete _0x287602[_0x23b388(0x1e5)][_0x9425a4]:_0x287602[_0x23b388(0x1e5)][_0x9425a4]=_0x21655e);}export function insertElement(_0x1017dd,_0x433fcc,_0x39732c){const _0x42fc17=_0x2574,_0x3c66da=_0x433fcc[_0x42fc17(0x1e7)](!0x0);_0x42fc17(0x1ee)===_0x39732c?_0x1cb373(_0x1017dd,_0x3c66da):_0x42fc17(0x1f5)===_0x39732c?_0x134b6e(_0x1017dd,_0x3c66da):_0x42fc17(0x1f9)===_0x39732c?_0x2778e0(_0x1017dd,_0x3c66da):_0x42fc17(0x1ea)===_0x39732c&&_0x16939f(_0x1017dd,_0x3c66da);}export function moveElement(_0x2ef044,_0x36830e){_0x4ead3a(_0x2ef044),_0x3e3ff1(_0x36830e,_0x2ef044);}export function clone(_0x45ebe3){const _0x4d6a80=_0x2574;return _0x45ebe3[_0x4d6a80(0x1e7)](!0x0);}export function getParents(_0x6125e){const _0xcccc3d=_0x2574,_0x52af41=[];let _0xddaffa=_0x6125e;for(;_0xddaffa;)_0xddaffa=_0x5a92a6(_0xddaffa),_0xddaffa&&_0x52af41[_0xcccc3d(0x1e6)](_0xddaffa);return _0x52af41;}export function normalizeHTML(_0x152414){const _0x50ff99=_0x2574;return _0x152414[_0x50ff99(0x1f2)](/^\s+/gm,'')[_0x50ff99(0x1f2)](/\s+$/gm,'')[_0x50ff99(0x1f2)](/\n*/g,'')[_0x50ff99(0x1f2)](/\s+/g,'\x20')[_0x50ff99(0x1f2)](/>\s*</g,'><');}export function areNodesSame(_0x3ce5d5,_0x151c74){return normalizeHTML(serialize(_0x3ce5d5))===normalizeHTML(serialize(_0x151c74));}export function getNodeNestingLevel(_0xafbfcc){const _0x333e01=_0x2574;let _0x4d5cf8=0x0;for(;_0xafbfcc[_0x333e01(0x1eb)];)_0xafbfcc=_0xafbfcc[_0x333e01(0x1eb)],_0x4d5cf8++;return _0x4d5cf8;}export function removeElementsAfter(_0x9a4a22){const _0x2e7ac9=_0x2574,_0x5ef0fd=[];let _0x42ee1d=_0x9a4a22[_0x2e7ac9(0x1f0)];for(;_0x42ee1d;)_0x5ef0fd[_0x2e7ac9(0x1e6)](_0x42ee1d),_0x42ee1d=_0x42ee1d[_0x2e7ac9(0x1f0)];_0x5ef0fd[_0x2e7ac9(0x1f1)](_0x377605=>{_0x4ead3a(_0x377605);});}export function getNodePath(_0x1bf99b){const _0x2d27f3=_0x2574;return[_0x1bf99b,...getParents(_0x1bf99b)][_0x2d27f3(0x1ef)](0x0,-0x1)[_0x2d27f3(0x1f3)](_0x49214b=>{const _0x56da95=_0x2d27f3,_0x118b04=_0x5a92a6(_0x49214b);return _0x1d74c0(_0x118b04)[_0x56da95(0x1e4)](_0x49214b);})[_0x2d27f3(0x1e8)]();}
23
+ (function(_0x4ab1d2,_0x2596f6){const _0x419205=_0x4ed5,_0x7650ae=_0x4ab1d2();while(!![]){try{const _0x44fd04=-parseInt(_0x419205(0x115))/0x1+-parseInt(_0x419205(0x102))/0x2*(parseInt(_0x419205(0x100))/0x3)+-parseInt(_0x419205(0x106))/0x4+-parseInt(_0x419205(0x10f))/0x5+-parseInt(_0x419205(0x105))/0x6+parseInt(_0x419205(0x113))/0x7+parseInt(_0x419205(0x112))/0x8;if(_0x44fd04===_0x2596f6)break;else _0x7650ae['push'](_0x7650ae['shift']());}catch(_0x2bfef9){_0x7650ae['push'](_0x7650ae['shift']());}}}(_0x18cd,0xcbf5e));import{parseDocument as _0x1dae58}from'htmlparser2';import{append as _0x206e1f,appendChild as _0x49c573,find as _0x5408e5,findAll as _0x367979,findOne as _0x429254,getChildren as _0x31fe7e,isComment as _0x168955,isTag as _0x3f2315,prepend as _0x40d497,prependChild as _0x3bc436,removeElement as _0x6a7a53,replaceElement as _0x1cffef,textContent as _0x49ee90,getParent as _0x28b6db,hasChildren as _0x144b01}from'domutils';import _0x5e42e3 from'dom-serializer';import{cloneNode as _0x510e95,isDocument as _0x40a402,isText as _0x14c440,Element as _0xe40654,Text as _0x4c878b,Document as _0x33f8e2,NodeWithChildren as _0x23e592}from'domhandler';export{_0x510e95 as cloneNode,_0x5408e5 as find,_0x429254 as findOne,_0x367979 as findAll,_0x31fe7e as getChildren,_0x28b6db as getParent,_0x168955 as isComment,_0x40a402 as isDocument,_0x3f2315 as isTag,_0x14c440 as isText,_0x206e1f as append,_0x49c573 as appendChild,_0x40d497 as prepend,_0x3bc436 as prependChild,_0x5e42e3 as render,_0x6a7a53 as removeElement,_0x1cffef as replaceElement,_0x49ee90 as textContent,_0x144b01 as hasChildren,_0xe40654 as Element,_0x33f8e2 as Document,_0x23e592 as NodeWithChildren,_0x4c878b as Text};export function parse(_0x1b061a){return _0x1dae58(_0x1b061a);}function _0x4ed5(_0x4436ea,_0x58981a){const _0x18cd58=_0x18cd();return _0x4ed5=function(_0x4ed5bb,_0x1f0135){_0x4ed5bb=_0x4ed5bb-0xff;let _0x152723=_0x18cd58[_0x4ed5bb];return _0x152723;},_0x4ed5(_0x4436ea,_0x58981a);}export function serialize(_0x236b21){return _0x5e42e3(_0x236b21);}export function findByAttribute(_0x48d6f3,_0x14ea88,_0x34cc58){const _0x1a68bd=_0x4ed5,_0x5ab400=null!==_0x14ea88?_0x5047d3=>_0x5047d3[_0x1a68bd(0x114)][_0x48d6f3]===_0x14ea88:_0x3d0713=>Boolean(_0x3d0713[_0x1a68bd(0x114)][_0x48d6f3]);return _0x429254(_0x10c222=>_0x3f2315(_0x10c222)&&_0x5ab400(_0x10c222),_0x34cc58);}export function findAllByAttribute(_0x5f08d3,_0x5e8be1,_0x3dd9c2){const _0x5ab4b5=_0x4ed5,_0x145ebb=null!==_0x5e8be1?_0x153580=>_0x153580[_0x5ab4b5(0x114)][_0x5f08d3]===_0x5e8be1:_0x3d69d1=>Boolean(_0x3d69d1[_0x5ab4b5(0x114)][_0x5f08d3]);return _0x367979(_0x3ff5ef=>_0x3f2315(_0x3ff5ef)&&_0x145ebb(_0x3ff5ef),_0x3dd9c2);}function _0x18cd(){const _0x694ee3=['beforebegin','beforeend','forEach','slice','nextSibling','push','cloneNode','afterend','3522530xKmVpJ','replace','map','18239816Adkuou','5363785oOCSWw','attribs','474831WMcAcD','afterbegin','3XOfdFK','parentNode','57390RQLcsI','reverse','indexOf','4922670uAEKLk','729332YImFCE'];_0x18cd=function(){return _0x694ee3;};return _0x18cd();}export function findAllComments(_0x498f09){return _0x5408e5(_0x34a219=>_0x168955(_0x34a219),_0x498f09,!0x0,0x1/0x0);}export function getAttribute(_0x4c8f78,_0x2f0cae){const _0x55a033=_0x4ed5;return _0x4c8f78&&_0x3f2315(_0x4c8f78)?_0x4c8f78[_0x55a033(0x114)][_0x2f0cae]:null;}export function setAttribute(_0x318e48,_0x5575b2,_0x4b3162){const _0x3fad5b=_0x4ed5;_0x3f2315(_0x318e48)&&(null===_0x4b3162?delete _0x318e48[_0x3fad5b(0x114)][_0x5575b2]:_0x318e48[_0x3fad5b(0x114)][_0x5575b2]=_0x4b3162);}export function insertElement(_0x5c471d,_0xd523d1,_0x19d7e1){const _0x52e00b=_0x4ed5,_0x48c782=_0xd523d1[_0x52e00b(0x10d)](!0x0);_0x52e00b(0x107)===_0x19d7e1?_0x40d497(_0x5c471d,_0x48c782):_0x52e00b(0xff)===_0x19d7e1?_0x3bc436(_0x5c471d,_0x48c782):_0x52e00b(0x108)===_0x19d7e1?_0x49c573(_0x5c471d,_0x48c782):_0x52e00b(0x10e)===_0x19d7e1&&_0x206e1f(_0x5c471d,_0x48c782);}export function moveElement(_0x5703ec,_0x4c9207){_0x6a7a53(_0x5703ec),_0x1cffef(_0x4c9207,_0x5703ec);}export function clone(_0x2f0466){const _0x43b019=_0x4ed5;return _0x2f0466[_0x43b019(0x10d)](!0x0);}export function getParents(_0x137caf){const _0x5dd453=_0x4ed5,_0x30bc43=[];let _0x2a5ecf=_0x137caf;for(;_0x2a5ecf;)_0x2a5ecf=_0x28b6db(_0x2a5ecf),_0x2a5ecf&&_0x30bc43[_0x5dd453(0x10c)](_0x2a5ecf);return _0x30bc43;}export function normalizeHTML(_0x81bd40){const _0x53e206=_0x4ed5;return _0x81bd40[_0x53e206(0x110)](/^\s+/gm,'')[_0x53e206(0x110)](/\s+$/gm,'')[_0x53e206(0x110)](/\n*/g,'')[_0x53e206(0x110)](/\s+/g,'\x20')[_0x53e206(0x110)](/>\s*</g,'><');}export function areNodesSame(_0x3d8fcd,_0x57b9ea){return normalizeHTML(serialize(_0x3d8fcd))===normalizeHTML(serialize(_0x57b9ea));}export function getNodeNestingLevel(_0x2ba6b9){const _0x55bf38=_0x4ed5;let _0x11a94d=0x0;for(;_0x2ba6b9[_0x55bf38(0x101)];)_0x2ba6b9=_0x2ba6b9[_0x55bf38(0x101)],_0x11a94d++;return _0x11a94d;}export function removeElementsAfter(_0x137630){const _0x11f4f4=_0x4ed5,_0x35c3e9=[];let _0x4bb841=_0x137630[_0x11f4f4(0x10b)];for(;_0x4bb841;)_0x35c3e9[_0x11f4f4(0x10c)](_0x4bb841),_0x4bb841=_0x4bb841[_0x11f4f4(0x10b)];_0x35c3e9[_0x11f4f4(0x109)](_0x31975c=>{_0x6a7a53(_0x31975c);});}export function getNodePath(_0x1ce283){const _0x528913=_0x4ed5;return[_0x1ce283,...getParents(_0x1ce283)][_0x528913(0x10a)](0x0,-0x1)[_0x528913(0x111)](_0x585260=>{const _0x33ae58=_0x528913,_0x252a27=_0x28b6db(_0x585260);return _0x31fe7e(_0x252a27)[_0x33ae58(0x104)](_0x585260);})[_0x528913(0x103)]();}