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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/legacyerrors.js +1 -1
  15. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  16. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  17. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  20. package/src/aiassistant/ui/form/aiformview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  22. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  26. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  27. package/src/aiballoon/ui/aiballoonview.js +1 -1
  28. package/src/aichat/aichat.js +1 -1
  29. package/src/aichat/aichatcontroller.js +1 -1
  30. package/src/aichat/aichatui.js +1 -1
  31. package/src/aichat/model/aichatcontext.js +1 -1
  32. package/src/aichat/model/aichatconversation.js +1 -1
  33. package/src/aichat/model/aichatinteraction.js +1 -1
  34. package/src/aichat/model/aichatmodels.js +1 -1
  35. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  36. package/src/aichat/ui/aichatfeedview.js +1 -1
  37. package/src/aichat/ui/aichatheaderview.js +1 -1
  38. package/src/aichat/ui/aichatview.js +1 -1
  39. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  42. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  43. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  45. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  50. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  58. package/src/aichat/utils/eventnames.js +1 -1
  59. package/src/aichat/utils/promisequeue.js +1 -1
  60. package/src/aichat/utils/scrollmanager.js +1 -1
  61. package/src/aichathistory/aichathistory.js +1 -1
  62. package/src/aichathistory/aichathistorycontroller.js +1 -1
  63. package/src/aichathistory/aichathistoryui.js +1 -1
  64. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  65. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  66. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  67. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  68. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  69. package/src/aicore/aiconnector.js +1 -1
  70. package/src/aicore/aiediting.js +1 -1
  71. package/src/aicore/model/aicapabilities.js +1 -1
  72. package/src/aicore/model/aiinteraction.js +1 -1
  73. package/src/aicore/model/aireply.js +1 -1
  74. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  75. package/src/aicore/pipeline/airesponseparser.js +2 -2
  76. package/src/aicore/ui/aidisclaimerview.js +1 -1
  77. package/src/aicore/ui/aiskeleton.js +1 -1
  78. package/src/aicore/ui/aispinner.js +1 -1
  79. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  80. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  81. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  84. package/src/aicore/utils/createresizebutton.js +1 -1
  85. package/src/aicore/utils/documentposition.js +1 -1
  86. package/src/aicore/utils/documentrange.js +1 -1
  87. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  88. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  89. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  90. package/src/aicore/utils/htmlparser.js +1 -1
  91. package/src/aicore/utils/htmlstreamer.js +1 -1
  92. package/src/aieditorintegration/aieditorintegration.js +1 -1
  93. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  94. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  95. package/src/aiquickactions/aiquickactions.js +1 -1
  96. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  97. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  98. package/src/aiquickactions/aiquickactionsui.js +1 -1
  99. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  100. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  101. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  102. package/src/aireviewmode/aireviewmode.js +1 -1
  103. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  104. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  105. package/src/aireviewmode/aireviewmodeui.js +1 -1
  106. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  107. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  108. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  109. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  110. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  111. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  112. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  113. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  114. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  115. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  116. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  117. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  118. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  119. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  120. package/src/aitabs/aitabs.js +1 -1
  121. package/src/aitabs/tabs/aitabsview.js +1 -1
  122. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  123. package/src/aitabs/tabs/tabpanelview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb73744=_0x2260;(function(_0x545d9c,_0x184ced){const _0x29c348=_0x2260,_0x3d9d92=_0x545d9c();while(!![]){try{const _0x276d8b=parseInt(_0x29c348(0xd3))/0x1*(-parseInt(_0x29c348(0xca))/0x2)+parseInt(_0x29c348(0xd4))/0x3*(parseInt(_0x29c348(0xc9))/0x4)+parseInt(_0x29c348(0xd7))/0x5+-parseInt(_0x29c348(0xda))/0x6*(parseInt(_0x29c348(0x111))/0x7)+-parseInt(_0x29c348(0x106))/0x8*(-parseInt(_0x29c348(0xdf))/0x9)+parseInt(_0x29c348(0xfe))/0xa*(-parseInt(_0x29c348(0x100))/0xb)+parseInt(_0x29c348(0xfb))/0xc;if(_0x276d8b===_0x184ced)break;else _0x3d9d92['push'](_0x3d9d92['shift']());}catch(_0x1f3b99){_0x3d9d92['push'](_0x3d9d92['shift']());}}}(_0x2192,0xa9938));function _0x2260(_0x199a82,_0x2ba5fa){const _0x219251=_0x2192();return _0x2260=function(_0x226058,_0x59542c){_0x226058=_0x226058-0xc6;let _0x1e102a=_0x219251[_0x226058];return _0x1e102a;},_0x2260(_0x199a82,_0x2ba5fa);}import{FocusTracker as _0x38094a,KeystrokeHandler as _0x2a9845}from'ckeditor5/src/utils.js';import{View as _0x67cfb5,FocusCycler as _0x4a0b8e,createLabeledTextarea as _0xa795fb}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x42b50d,AIFormToolbarViewMainActionLabel as _0x479a07}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x1dd5bd}from'./aiformcontentarea.js';function _0x2192(){const _0x4f358d=['isEnabled','set','_createToolbar','keystrokes','errorView','finishProcessing','1642244QQanbf','604UYsHFS','focusLast','trim','_focusables','fieldView','submitPrompt','listenTo','startProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','245SLRGYp','6DcZnXX','ck-ai-form-content','focusTracker','1771015ZDOxvM','replaceButton','tab','6LJrSeu','_promptHistory','isProcessing','_createHistoryView','value','1728IGIAhy','element','tryAgainEvent','isVisible','historyGroupView','chain','toolbar','fire','search','isError','prompt','focusFirst','copyButtonView','delegate','render','execute','ck-ai-form','high','clearHistory','stopProcessing','setTemplate','items','createCollection','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','bind','contentArea','clear','insertContentBelow','6109692qSqRcI','bindTo','replaceContent','2310ImPCAp','insertButton','4169UBgZHC','ck-hidden','REPLACE','shift\x20+\x20tab','stopButton','focus','5216aZlMnK','focusCycler','tryAgainButton','mainAction','promptView','queryView','div','Empty\x20history','reset','text','handleError','6674689IegQNq','add','bindTemplate','AI_ERROR_FAILED','locale','submit','label','_createPromptView','Ask\x20AI\x20to\x20improve\x20generated\x20text'];_0x2192=function(){return _0x4f358d;};return _0x2192();}import{AIFormErrorView as _0x1666ca}from'./aiformerrorview.js';import{AIFormPromptView as _0x411a96}from'./aiformpromptview.js';import{AIHistoryListView as _0x3c3580}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x3b6075}from'./aihistorylistitemview.js';import{PromptHistory as _0x2c40cd}from'./prompthistory.js';import{getTranslation as _0x579e6a}from'../../utils/common-translations.js';import{escape as _0x25a544}from'es-toolkit/compat';export class AIFormView extends _0x67cfb5{[_0xb73744(0xd6)];[_0xb73744(0xc6)];[_0xb73744(0xf8)];[_0xb73744(0xe5)];[_0xb73744(0x10a)];[_0xb73744(0xc7)];[_0xb73744(0xcd)];[_0xb73744(0x107)];[_0xb73744(0xdb)];constructor(_0x116a1a,_0x51bc27,_0x44423d=''){const _0x39120b=_0xb73744;super(_0x116a1a),this[_0x39120b(0x11b)](_0x39120b(0x11a),!0x0),this[_0x39120b(0x11b)](_0x39120b(0xdc),!0x1),this[_0x39120b(0x11b)](_0x39120b(0xe9),''),this[_0x39120b(0x11b)](_0x39120b(0xde),''),this[_0x39120b(0x11b)](_0x39120b(0xe8),!0x1),this[_0x39120b(0x11b)](_0x39120b(0x109),_0x479a07[_0x39120b(0x102)]),this[_0x39120b(0xdb)]=new _0x2c40cd(),this[_0x39120b(0xc7)]=new _0x1666ca(_0x116a1a),this[_0x39120b(0xf8)]=new _0x1dd5bd(_0x116a1a,_0x44423d),this[_0x39120b(0xf8)][_0x39120b(0xf7)](_0x39120b(0xdc))['to'](this),this[_0x39120b(0xf8)][_0x39120b(0xf7)](_0x39120b(0xde))['to'](this),this[_0x39120b(0xe5)]=this[_0x39120b(0x11c)](),this[_0x39120b(0xe5)][_0x39120b(0xf7)](_0x39120b(0x109))['to'](this),this[_0x39120b(0x10a)]=this[_0x39120b(0x118)](),this[_0x39120b(0xd6)]=new _0x38094a(),this[_0x39120b(0xc6)]=new _0x2a9845(),this[_0x39120b(0xcd)]=this[_0x39120b(0xf5)]([this[_0x39120b(0xf8)],this[_0x39120b(0xf8)][_0x39120b(0xeb)],this[_0x39120b(0xe5)],this[_0x39120b(0x10a)]]),this[_0x39120b(0x107)]=new _0x4a0b8e({'focusables':this[_0x39120b(0xcd)],'focusTracker':this[_0x39120b(0xd6)],'keystrokeHandler':this[_0x39120b(0xc6)],'actions':{'focusPrevious':_0x39120b(0x103),'focusNext':_0x39120b(0xd9)}}),this[_0x39120b(0x107)][_0x39120b(0xe4)](this[_0x39120b(0x10a)][_0x39120b(0x107)]),this[_0x39120b(0x10a)][_0x39120b(0x10b)][_0x39120b(0xce)][_0x39120b(0xf7)](_0x39120b(0xde))['to'](this,_0x39120b(0xe9));const _0x3b6814=this[_0x39120b(0x113)];this[_0x39120b(0xf3)]({'tag':_0x39120b(0x10c),'attributes':{'class':['ck',_0x39120b(0xef),_0x51bc27],'tabindex':'-1'},'children':[{'tag':_0x39120b(0x10c),'attributes':{'class':['ck',_0x39120b(0xd5)]},'children':[{'tag':_0x39120b(0x10c),'attributes':{'class':[_0x3b6814['if'](_0x39120b(0xe8),_0x39120b(0x101),_0x5d5b99=>!_0x5d5b99)]},'children':[this[_0x39120b(0xc7)]]},this[_0x39120b(0xf8)],this[_0x39120b(0xe5)],this[_0x39120b(0x10a)]]}]});}[_0xb73744(0xed)](){const _0xc71f81=_0xb73744;super[_0xc71f81(0xed)](),this[_0xc71f81(0xd6)][_0xc71f81(0x112)](this[_0xc71f81(0xf8)][_0xc71f81(0xe0)]),this[_0xc71f81(0xd6)][_0xc71f81(0x112)](this[_0xc71f81(0xf8)][_0xc71f81(0xeb)][_0xc71f81(0xe0)]),this[_0xc71f81(0xd6)][_0xc71f81(0x112)](this[_0xc71f81(0xe5)][_0xc71f81(0xe0)]),this[_0xc71f81(0xd6)][_0xc71f81(0x112)](this[_0xc71f81(0x10a)][_0xc71f81(0xe0)]),this[_0xc71f81(0xc6)][_0xc71f81(0xd0)](this[_0xc71f81(0xe0)]);}[_0xb73744(0x105)](_0x3dfc7d=0x1){const _0x15712a=_0xb73744;-0x1===_0x3dfc7d?this[_0x15712a(0x107)][_0x15712a(0xcb)]():this[_0x15712a(0x107)][_0x15712a(0xea)]();}[_0xb73744(0x10e)](){const _0x1ae05f=_0xb73744;this[_0x1ae05f(0xe9)]='',this[_0x1ae05f(0xde)]='',this[_0x1ae05f(0xe8)]=!0x1,this[_0x1ae05f(0x10a)][_0x1ae05f(0x10e)](),this[_0x1ae05f(0xf8)][_0x1ae05f(0xe2)]=!0x1,this[_0x1ae05f(0xe5)][_0x1ae05f(0xe2)]=!0x1;}[_0xb73744(0x118)](){const _0x48471e=_0xb73744,_0x52079d=this[_0x48471e(0x115)],_0x3fa9cb=new _0x411a96(_0x52079d,{'queryView':{'label':_0x579e6a(_0x52079d,_0x48471e(0xd2)),'creator':_0xa795fb,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x579e6a(_0x52079d,_0x48471e(0x10d)),'secondary':_0x579e6a(_0x52079d,_0x48471e(0xf6))}}},'filteredView':this[_0x48471e(0xdd)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3fa9cb[_0x48471e(0xf7)](_0x48471e(0x11a))['to'](this,_0x48471e(0x11a),this,_0x48471e(0xdc),(_0x5920da,_0x240ea3)=>_0x5920da&&!_0x240ea3),this[_0x48471e(0xd0)](_0x3fa9cb,_0x48471e(0x116),(_0x3f73eb,_0x50fafd)=>{const _0x195900=_0x48471e;this[_0x195900(0xe9)]=_0x50fafd;const _0x45f4b9=_0x25a544(_0x50fafd);this[_0x195900(0xe6)](_0x195900(0xcf),_0x45f4b9),_0x50fafd[_0x195900(0xcc)]()&&this[_0x195900(0xdb)][_0x195900(0x112)]({'prompt':_0x45f4b9},0x0);},{'priority':_0x48471e(0xf0)}),_0x3fa9cb;}[_0xb73744(0xdd)](){const _0x22a773=_0xb73744,_0x559409=new _0x3c3580(this[_0x22a773(0x115)]);return _0x559409[_0x22a773(0xe3)][_0x22a773(0xf4)][_0x22a773(0xfc)](this[_0x22a773(0xdb)])['as'](_0x3b6075),_0x559409['on'](_0x22a773(0xf1),()=>{const _0x1ec3a6=_0x22a773;this[_0x1ec3a6(0xdb)][_0x1ec3a6(0xf9)](),this[_0x1ec3a6(0x10a)][_0x1ec3a6(0xe7)](''),this[_0x1ec3a6(0x10a)][_0x1ec3a6(0x105)]();}),_0x559409;}[_0xb73744(0x11c)](){const _0x2158e5=_0xb73744,_0x160120=new _0x42b50d(this[_0x2158e5(0x115)]);return _0x160120[_0x2158e5(0xd8)][_0x2158e5(0xf7)](_0x2158e5(0x11a))['to'](this,_0x2158e5(0x11a),this,_0x2158e5(0xdc),this,_0x2158e5(0xde),(_0x1819c7,_0x348c01,_0x3be82e)=>_0x1819c7&&!_0x348c01&&!!_0x3be82e),_0x160120[_0x2158e5(0xd8)][_0x2158e5(0xec)](_0x2158e5(0xee))['to'](this,_0x2158e5(0xfd)),_0x160120[_0x2158e5(0xff)][_0x2158e5(0xf7)](_0x2158e5(0x11a))['to'](this,_0x2158e5(0x11a),this,_0x2158e5(0xdc),this,_0x2158e5(0xde),(_0xb89922,_0x7fdd25,_0x51bc24)=>_0xb89922&&!_0x7fdd25&&!!_0x51bc24),_0x160120[_0x2158e5(0xff)][_0x2158e5(0xec)](_0x2158e5(0xee))['to'](this,_0x2158e5(0xfa)),_0x160120[_0x2158e5(0x108)][_0x2158e5(0xf7)](_0x2158e5(0x11a))['to'](this,_0x2158e5(0x11a),this,_0x2158e5(0xdc),(_0x65d259,_0x50e07d)=>_0x65d259&&!_0x50e07d),_0x160120[_0x2158e5(0x108)][_0x2158e5(0xec)](_0x2158e5(0xee))['to'](this,_0x2158e5(0xe1)),_0x160120[_0x2158e5(0x104)][_0x2158e5(0xf7)](_0x2158e5(0x11a))['to'](this,_0x2158e5(0xdc)),_0x160120[_0x2158e5(0x104)][_0x2158e5(0xec)](_0x2158e5(0xee))['to'](this,_0x2158e5(0xf2)),_0x160120;}[_0xb73744(0xd1)](){const _0x246e93=_0xb73744;this[_0x246e93(0xde)]='',this[_0x246e93(0xe8)]=!0x1,this[_0x246e93(0xdc)]=!0x0,this[_0x246e93(0xf8)][_0x246e93(0xe2)]=!0x0,this[_0x246e93(0xe5)][_0x246e93(0xe2)]=!0x0,this[_0x246e93(0xf8)][_0x246e93(0x105)]();}[_0xb73744(0xc8)](){const _0x2a845d=_0xb73744,_0x282f70=this[_0x2a845d(0x115)];this[_0x2a845d(0xdc)]=!0x1,this[_0x2a845d(0xe9)]='',this[_0x2a845d(0x10a)][_0x2a845d(0x10e)](),this[_0x2a845d(0xde)]&&(this[_0x2a845d(0x10a)][_0x2a845d(0x10b)][_0x2a845d(0x117)]=_0x579e6a(_0x282f70,_0x2a845d(0x119)));}[_0xb73744(0x110)](_0x1d9226){const _0x5149ab=_0xb73744,_0xf1a623=this[_0x5149ab(0x115)];this[_0x5149ab(0xc8)](),this[_0x5149ab(0xe8)]=!0x0,this[_0x5149ab(0xc7)][_0x5149ab(0x10f)]=_0x1d9226||_0x579e6a(_0xf1a623,_0x5149ab(0x114)),this[_0x5149ab(0xde)]||(this[_0x5149ab(0xf8)][_0x5149ab(0xe2)]=!0x1);}}
23
+ const _0x179493=_0x4c61;(function(_0x5e4d65,_0x56bafa){const _0x90a79d=_0x4c61,_0x143644=_0x5e4d65();while(!![]){try{const _0x50c3d8=parseInt(_0x90a79d(0xc2))/0x1*(-parseInt(_0x90a79d(0xdc))/0x2)+parseInt(_0x90a79d(0xe1))/0x3+-parseInt(_0x90a79d(0xa6))/0x4+parseInt(_0x90a79d(0xaa))/0x5+-parseInt(_0x90a79d(0xb4))/0x6+parseInt(_0x90a79d(0xb7))/0x7+parseInt(_0x90a79d(0xa0))/0x8*(parseInt(_0x90a79d(0xcd))/0x9);if(_0x50c3d8===_0x56bafa)break;else _0x143644['push'](_0x143644['shift']());}catch(_0x24c9be){_0x143644['push'](_0x143644['shift']());}}}(_0x32f5,0x4bc16));import{FocusTracker as _0x3b60e8,KeystrokeHandler as _0x4af8fb}from'ckeditor5/src/utils.js';function _0x4c61(_0x3bc70f,_0x42bd17){const _0x32f51b=_0x32f5();return _0x4c61=function(_0x4c61d,_0x2e19c1){_0x4c61d=_0x4c61d-0x9f;let _0x5c3950=_0x32f51b[_0x4c61d];return _0x5c3950;},_0x4c61(_0x3bc70f,_0x42bd17);}function _0x32f5(){const _0x2ac903=['REPLACE','bind','fieldView','insertButton','Empty\x20history','add','replaceContent','_focusables','trim','2CXfyPG','tryAgainButton','clear','isVisible','focus','toolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','handleError','submitPrompt','isEnabled','stopProcessing','333DjHGBY','div','focusTracker','errorView','locale','ck-ai-form-content','chain','finishProcessing','clearHistory','submit','ck-hidden','Ask\x20AI\x20to\x20improve\x20generated\x20text','items','set','high','600268xiXBLx','delegate','keystrokes','tryAgainEvent','execute','1715592tzvkWC','stopButton','_createPromptView','replaceButton','focusLast','bindTo','historyGroupView','element','text','prompt','shift\x20+\x20tab','isProcessing','listenTo','render','_promptHistory','queryView','focusCycler','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','focusFirst','193096MfPpKB','insertContentBelow','tab','contentArea','startProcessing','mainAction','2048284CfbfGb','reset','isError','_createHistoryView','664640WiyJHm','AI_ERROR_FAILED','bindTemplate','fire','createCollection','search','value','setTemplate','_createToolbar','promptView','1576812gQkuBI','copyButtonView','ck-ai-form','613018rOdzTq','label'];_0x32f5=function(){return _0x2ac903;};return _0x32f5();}import{View as _0x23f694,FocusCycler as _0x7c3cf1,createLabeledTextarea as _0x4ce526}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x39b05d,AIFormToolbarViewMainActionLabel as _0x11ad30}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x517851}from'./aiformcontentarea.js';import{AIFormErrorView as _0x8a8b3b}from'./aiformerrorview.js';import{AIFormPromptView as _0x462699}from'./aiformpromptview.js';import{AIHistoryListView as _0x369e0f}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x22ae10}from'./aihistorylistitemview.js';import{PromptHistory as _0x449984}from'./prompthistory.js';import{getTranslation as _0x30e33c}from'../../utils/common-translations.js';import{escape as _0x53e715}from'es-toolkit/compat';export class AIFormView extends _0x23f694{[_0x179493(0xcf)];[_0x179493(0xde)];[_0x179493(0xa3)];[_0x179493(0xc7)];[_0x179493(0xb3)];[_0x179493(0xd0)];[_0x179493(0xc0)];[_0x179493(0xf1)];[_0x179493(0xef)];constructor(_0xb6426a,_0x344ff0,_0x231abc=''){const _0x17e2d7=_0x179493;super(_0xb6426a),this[_0x17e2d7(0xda)](_0x17e2d7(0xcb),!0x0),this[_0x17e2d7(0xda)](_0x17e2d7(0xec),!0x1),this[_0x17e2d7(0xda)](_0x17e2d7(0xea),''),this[_0x17e2d7(0xda)](_0x17e2d7(0xb0),''),this[_0x17e2d7(0xda)](_0x17e2d7(0xa8),!0x1),this[_0x17e2d7(0xda)](_0x17e2d7(0xa5),_0x11ad30[_0x17e2d7(0xb9)]),this[_0x17e2d7(0xef)]=new _0x449984(),this[_0x17e2d7(0xd0)]=new _0x8a8b3b(_0xb6426a),this[_0x17e2d7(0xa3)]=new _0x517851(_0xb6426a,_0x231abc),this[_0x17e2d7(0xa3)][_0x17e2d7(0xba)](_0x17e2d7(0xec))['to'](this),this[_0x17e2d7(0xa3)][_0x17e2d7(0xba)](_0x17e2d7(0xb0))['to'](this),this[_0x17e2d7(0xc7)]=this[_0x17e2d7(0xb2)](),this[_0x17e2d7(0xc7)][_0x17e2d7(0xba)](_0x17e2d7(0xa5))['to'](this),this[_0x17e2d7(0xb3)]=this[_0x17e2d7(0xe3)](),this[_0x17e2d7(0xcf)]=new _0x3b60e8(),this[_0x17e2d7(0xde)]=new _0x4af8fb(),this[_0x17e2d7(0xc0)]=this[_0x17e2d7(0xae)]([this[_0x17e2d7(0xa3)],this[_0x17e2d7(0xa3)][_0x17e2d7(0xb5)],this[_0x17e2d7(0xc7)],this[_0x17e2d7(0xb3)]]),this[_0x17e2d7(0xf1)]=new _0x7c3cf1({'focusables':this[_0x17e2d7(0xc0)],'focusTracker':this[_0x17e2d7(0xcf)],'keystrokeHandler':this[_0x17e2d7(0xde)],'actions':{'focusPrevious':_0x17e2d7(0xeb),'focusNext':_0x17e2d7(0xa2)}}),this[_0x17e2d7(0xf1)][_0x17e2d7(0xd3)](this[_0x17e2d7(0xb3)][_0x17e2d7(0xf1)]),this[_0x17e2d7(0xb3)][_0x17e2d7(0xf0)][_0x17e2d7(0xbb)][_0x17e2d7(0xba)](_0x17e2d7(0xb0))['to'](this,_0x17e2d7(0xea));const _0x406095=this[_0x17e2d7(0xac)];this[_0x17e2d7(0xb1)]({'tag':_0x17e2d7(0xce),'attributes':{'class':['ck',_0x17e2d7(0xb6),_0x344ff0],'tabindex':'-1'},'children':[{'tag':_0x17e2d7(0xce),'attributes':{'class':['ck',_0x17e2d7(0xd2)]},'children':[{'tag':_0x17e2d7(0xce),'attributes':{'class':[_0x406095['if'](_0x17e2d7(0xa8),_0x17e2d7(0xd7),_0x59df9b=>!_0x59df9b)]},'children':[this[_0x17e2d7(0xd0)]]},this[_0x17e2d7(0xa3)],this[_0x17e2d7(0xc7)],this[_0x17e2d7(0xb3)]]}]});}[_0x179493(0xee)](){const _0x350d45=_0x179493;super[_0x350d45(0xee)](),this[_0x350d45(0xcf)][_0x350d45(0xbe)](this[_0x350d45(0xa3)][_0x350d45(0xe8)]),this[_0x350d45(0xcf)][_0x350d45(0xbe)](this[_0x350d45(0xa3)][_0x350d45(0xb5)][_0x350d45(0xe8)]),this[_0x350d45(0xcf)][_0x350d45(0xbe)](this[_0x350d45(0xc7)][_0x350d45(0xe8)]),this[_0x350d45(0xcf)][_0x350d45(0xbe)](this[_0x350d45(0xb3)][_0x350d45(0xe8)]),this[_0x350d45(0xde)][_0x350d45(0xed)](this[_0x350d45(0xe8)]);}[_0x179493(0xc6)](_0x494c78=0x1){const _0x105a9e=_0x179493;-0x1===_0x494c78?this[_0x105a9e(0xf1)][_0x105a9e(0xe5)]():this[_0x105a9e(0xf1)][_0x105a9e(0x9f)]();}[_0x179493(0xa7)](){const _0x2c3ec9=_0x179493;this[_0x2c3ec9(0xea)]='',this[_0x2c3ec9(0xb0)]='',this[_0x2c3ec9(0xa8)]=!0x1,this[_0x2c3ec9(0xb3)][_0x2c3ec9(0xa7)](),this[_0x2c3ec9(0xa3)][_0x2c3ec9(0xc5)]=!0x1,this[_0x2c3ec9(0xc7)][_0x2c3ec9(0xc5)]=!0x1;}[_0x179493(0xe3)](){const _0x192724=_0x179493,_0x9eb67a=this[_0x192724(0xd1)],_0x4b0f3b=new _0x462699(_0x9eb67a,{'queryView':{'label':_0x30e33c(_0x9eb67a,_0x192724(0xc8)),'creator':_0x4ce526,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x30e33c(_0x9eb67a,_0x192724(0xbd)),'secondary':_0x30e33c(_0x9eb67a,_0x192724(0xf2))}}},'filteredView':this[_0x192724(0xa9)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4b0f3b[_0x192724(0xba)](_0x192724(0xcb))['to'](this,_0x192724(0xcb),this,_0x192724(0xec),(_0x8e847e,_0x11ed4f)=>_0x8e847e&&!_0x11ed4f),this[_0x192724(0xed)](_0x4b0f3b,_0x192724(0xd6),(_0x261507,_0x907e26)=>{const _0x340eaa=_0x192724;this[_0x340eaa(0xea)]=_0x907e26;const _0x5b8c42=_0x53e715(_0x907e26);this[_0x340eaa(0xad)](_0x340eaa(0xca),_0x5b8c42),_0x907e26[_0x340eaa(0xc1)]()&&this[_0x340eaa(0xef)][_0x340eaa(0xbe)]({'prompt':_0x5b8c42},0x0);},{'priority':_0x192724(0xdb)}),_0x4b0f3b;}[_0x179493(0xa9)](){const _0x104675=_0x179493,_0x9d270f=new _0x369e0f(this[_0x104675(0xd1)]);return _0x9d270f[_0x104675(0xe7)][_0x104675(0xd9)][_0x104675(0xe6)](this[_0x104675(0xef)])['as'](_0x22ae10),_0x9d270f['on'](_0x104675(0xd5),()=>{const _0x4087b5=_0x104675;this[_0x4087b5(0xef)][_0x4087b5(0xc4)](),this[_0x4087b5(0xb3)][_0x4087b5(0xaf)](''),this[_0x4087b5(0xb3)][_0x4087b5(0xc6)]();}),_0x9d270f;}[_0x179493(0xb2)](){const _0x27d0ce=_0x179493,_0x2c19ae=new _0x39b05d(this[_0x27d0ce(0xd1)]);return _0x2c19ae[_0x27d0ce(0xe4)][_0x27d0ce(0xba)](_0x27d0ce(0xcb))['to'](this,_0x27d0ce(0xcb),this,_0x27d0ce(0xec),this,_0x27d0ce(0xb0),(_0x2da110,_0x953094,_0x3ba910)=>_0x2da110&&!_0x953094&&!!_0x3ba910),_0x2c19ae[_0x27d0ce(0xe4)][_0x27d0ce(0xdd)](_0x27d0ce(0xe0))['to'](this,_0x27d0ce(0xbf)),_0x2c19ae[_0x27d0ce(0xbc)][_0x27d0ce(0xba)](_0x27d0ce(0xcb))['to'](this,_0x27d0ce(0xcb),this,_0x27d0ce(0xec),this,_0x27d0ce(0xb0),(_0x2b5e96,_0x1d40eb,_0x5d5b2b)=>_0x2b5e96&&!_0x1d40eb&&!!_0x5d5b2b),_0x2c19ae[_0x27d0ce(0xbc)][_0x27d0ce(0xdd)](_0x27d0ce(0xe0))['to'](this,_0x27d0ce(0xa1)),_0x2c19ae[_0x27d0ce(0xc3)][_0x27d0ce(0xba)](_0x27d0ce(0xcb))['to'](this,_0x27d0ce(0xcb),this,_0x27d0ce(0xec),(_0x306ab7,_0x155ada)=>_0x306ab7&&!_0x155ada),_0x2c19ae[_0x27d0ce(0xc3)][_0x27d0ce(0xdd)](_0x27d0ce(0xe0))['to'](this,_0x27d0ce(0xdf)),_0x2c19ae[_0x27d0ce(0xe2)][_0x27d0ce(0xba)](_0x27d0ce(0xcb))['to'](this,_0x27d0ce(0xec)),_0x2c19ae[_0x27d0ce(0xe2)][_0x27d0ce(0xdd)](_0x27d0ce(0xe0))['to'](this,_0x27d0ce(0xcc)),_0x2c19ae;}[_0x179493(0xa4)](){const _0x11dbaa=_0x179493;this[_0x11dbaa(0xb0)]='',this[_0x11dbaa(0xa8)]=!0x1,this[_0x11dbaa(0xec)]=!0x0,this[_0x11dbaa(0xa3)][_0x11dbaa(0xc5)]=!0x0,this[_0x11dbaa(0xc7)][_0x11dbaa(0xc5)]=!0x0,this[_0x11dbaa(0xa3)][_0x11dbaa(0xc6)]();}[_0x179493(0xd4)](){const _0x5dd72a=_0x179493,_0x42d323=this[_0x5dd72a(0xd1)];this[_0x5dd72a(0xec)]=!0x1,this[_0x5dd72a(0xea)]='',this[_0x5dd72a(0xb3)][_0x5dd72a(0xa7)](),this[_0x5dd72a(0xb0)]&&(this[_0x5dd72a(0xb3)][_0x5dd72a(0xf0)][_0x5dd72a(0xb8)]=_0x30e33c(_0x42d323,_0x5dd72a(0xd8)));}[_0x179493(0xc9)](_0x1a3568){const _0x2a42a8=_0x179493,_0x5c231f=this[_0x2a42a8(0xd1)];this[_0x2a42a8(0xd4)](),this[_0x2a42a8(0xa8)]=!0x0,this[_0x2a42a8(0xd0)][_0x2a42a8(0xe9)]=_0x1a3568||_0x30e33c(_0x5c231f,_0x2a42a8(0xab)),this[_0x2a42a8(0xb0)]||(this[_0x2a42a8(0xa3)][_0x2a42a8(0xc5)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x9ecec5,_0x4637ca){const _0x1d1637=_0x2da8,_0x20c10f=_0x9ecec5();while(!![]){try{const _0x24d8df=-parseInt(_0x1d1637(0xe9))/0x1+parseInt(_0x1d1637(0xf2))/0x2+-parseInt(_0x1d1637(0xee))/0x3*(-parseInt(_0x1d1637(0xec))/0x4)+parseInt(_0x1d1637(0xf7))/0x5*(parseInt(_0x1d1637(0xf8))/0x6)+parseInt(_0x1d1637(0xf3))/0x7+parseInt(_0x1d1637(0xf5))/0x8*(-parseInt(_0x1d1637(0xf0))/0x9)+parseInt(_0x1d1637(0xf4))/0xa*(-parseInt(_0x1d1637(0xf1))/0xb);if(_0x24d8df===_0x4637ca)break;else _0x20c10f['push'](_0x20c10f['shift']());}catch(_0x309875){_0x20c10f['push'](_0x20c10f['shift']());}}}(_0x2885,0x7d8d0));function _0x2885(){const _0x4dd017=['5207748LLNPuT','14690RViQKr','68536VvgnhW','add','30470NbAeMd','366VTWWDl','fire','prompt','938264jvkqMU','locale','execute','4PfytoN','children','1123887CGXxQo','set','63AEwhkN','55XAizaJ','59014BzrCfK'];_0x2885=function(){return _0x4dd017;};return _0x2885();}function _0x2da8(_0x4c02e4,_0x43d795){const _0x28856d=_0x2885();return _0x2da8=function(_0x2da822,_0x256c70){_0x2da822=_0x2da822-0xe9;let _0x1f8e47=_0x28856d[_0x2da822];return _0x1f8e47;},_0x2da8(_0x4c02e4,_0x43d795);}import{ListItemView as _0x288cf1,ButtonView as _0x22e540,ButtonLabelView as _0x47da11}from'ckeditor5/src/ui.js';import{unescape as _0xf412}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x288cf1{constructor(_0x12fa4c){const _0x32d675=_0x2da8;super();const _0x36d8ba=new _0x47da11(),_0x571faf=new _0x22e540(this[_0x32d675(0xea)],_0x36d8ba);this[_0x32d675(0xed)][_0x32d675(0xf6)](_0x571faf),_0x571faf[_0x32d675(0xef)]({'label':_0x12fa4c[_0x32d675(0xfa)],'withText':!0x0}),_0x571faf['on'](_0x32d675(0xeb),()=>{const _0x34abff=_0x32d675;this[_0x34abff(0xf9)](_0x34abff(0xeb),{'value':_0xf412(_0x12fa4c[_0x34abff(0xfa)])});});}}
23
+ (function(_0x22bf7a,_0x89aa9f){const _0x59eda0=_0x2e6c,_0x599325=_0x22bf7a();while(!![]){try{const _0x4fa2aa=parseInt(_0x59eda0(0x10b))/0x1*(parseInt(_0x59eda0(0x112))/0x2)+parseInt(_0x59eda0(0x102))/0x3*(parseInt(_0x59eda0(0x110))/0x4)+-parseInt(_0x59eda0(0x105))/0x5*(parseInt(_0x59eda0(0x10a))/0x6)+-parseInt(_0x59eda0(0x10f))/0x7+-parseInt(_0x59eda0(0x108))/0x8*(parseInt(_0x59eda0(0x109))/0x9)+-parseInt(_0x59eda0(0x113))/0xa+parseInt(_0x59eda0(0x106))/0xb*(parseInt(_0x59eda0(0x10e))/0xc);if(_0x4fa2aa===_0x89aa9f)break;else _0x599325['push'](_0x599325['shift']());}catch(_0x5c0521){_0x599325['push'](_0x599325['shift']());}}}(_0x4e68,0x6ef48));import{ListItemView as _0x2c6368,ButtonView as _0x411588,ButtonLabelView as _0x4c23da}from'ckeditor5/src/ui.js';import{unescape as _0x3d0533}from'es-toolkit/compat';function _0x2e6c(_0x177297,_0x465116){const _0x4e680d=_0x4e68();return _0x2e6c=function(_0x2e6c98,_0x108aa7){_0x2e6c98=_0x2e6c98-0x102;let _0x4c1d74=_0x4e680d[_0x2e6c98];return _0x4c1d74;},_0x2e6c(_0x177297,_0x465116);}function _0x4e68(){const _0x506b5a=['fire','8050UkGpVF','418CrPQYw','execute','7496wOLyaf','6813RceMMb','672ZWMEFZ','5LUxaEh','set','locale','409236mYCOhA','2995839yEEdRD','172VZXkpR','children','18906SUMdWQ','121950clGpej','prompt','30774MqUWwL','add'];_0x4e68=function(){return _0x506b5a;};return _0x4e68();}export class AIHistoryListItemView extends _0x2c6368{constructor(_0x1cd731){const _0xa5c4db=_0x2e6c;super();const _0x21bfce=new _0x4c23da(),_0x2232b1=new _0x411588(this[_0xa5c4db(0x10d)],_0x21bfce);this[_0xa5c4db(0x111)][_0xa5c4db(0x103)](_0x2232b1),_0x2232b1[_0xa5c4db(0x10c)]({'label':_0x1cd731[_0xa5c4db(0x114)],'withText':!0x0}),_0x2232b1['on'](_0xa5c4db(0x107),()=>{const _0x258ca1=_0xa5c4db;this[_0x258ca1(0x104)](_0x258ca1(0x107),{'value':_0x3d0533(_0x1cd731[_0x258ca1(0x114)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4337ee=_0x16ec;function _0x1267(){const _0x5a1d17=['3980415jQmAiY','10242022XhsmAZ','2682402YgPaPT','3018912dNnGlT','_createClearHistoryButton','children','set','742409bAKfLp','filter','Prompt\x20history','fire','execute','Clear','length','locale','items','label','clearHistoryButton','1312012JMNhkq','3075048XCvXWd','historyGroupView','clearHistory','add','delegate'];_0x1267=function(){return _0x5a1d17;};return _0x1267();}(function(_0x5ea23b,_0x466a1c){const _0x19d7e2=_0x16ec,_0x377b35=_0x5ea23b();while(!![]){try{const _0x586d29=parseInt(_0x19d7e2(0x15f))/0x1+-parseInt(_0x19d7e2(0x16a))/0x2+parseInt(_0x19d7e2(0x172))/0x3+parseInt(_0x19d7e2(0x16b))/0x4+parseInt(_0x19d7e2(0x170))/0x5+-parseInt(_0x19d7e2(0x15b))/0x6+-parseInt(_0x19d7e2(0x171))/0x7;if(_0x586d29===_0x466a1c)break;else _0x377b35['push'](_0x377b35['shift']());}catch(_0x16833f){_0x377b35['push'](_0x377b35['shift']());}}}(_0x1267,0x8d60c));function _0x16ec(_0x213593,_0x3b36d4){const _0x12675b=_0x1267();return _0x16ec=function(_0x16ec03,_0x5e71f7){_0x16ec03=_0x16ec03-0x15b;let _0x62b9f7=_0x12675b[_0x16ec03];return _0x62b9f7;},_0x16ec(_0x213593,_0x3b36d4);}import{ListView as _0x41ce09,ListItemGroupView as _0x4b2a8e,ButtonView as _0x343254}from'ckeditor5/src/ui.js';import{getTranslation as _0xdea200}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x41ce09{[_0x4337ee(0x16c)];[_0x4337ee(0x169)];constructor(_0xd7ad3f){const _0x59cfd5=_0x4337ee;super(_0xd7ad3f),this[_0x59cfd5(0x169)]=this[_0x59cfd5(0x15c)](),this[_0x59cfd5(0x16c)]=new _0x4b2a8e(),this[_0x59cfd5(0x16c)][_0x59cfd5(0x15d)][_0x59cfd5(0x16e)](this[_0x59cfd5(0x169)],0x1),this[_0x59cfd5(0x16c)][_0x59cfd5(0x168)]=_0xdea200(_0xd7ad3f,_0x59cfd5(0x161)),this[_0x59cfd5(0x16c)][_0x59cfd5(0x167)][_0x59cfd5(0x16f)](_0x59cfd5(0x163))['to'](this),this[_0x59cfd5(0x167)][_0x59cfd5(0x16e)](this[_0x59cfd5(0x16c)]);}[_0x4337ee(0x160)](){const _0xf48483=_0x4337ee;let _0x44dbbb=0x0;for(const _0x2c61fd of this[_0xf48483(0x167)])_0x44dbbb+=_0x2c61fd[_0xf48483(0x167)][_0xf48483(0x165)];return{'resultsCount':_0x44dbbb,'totalItemsCount':_0x44dbbb};}[_0x4337ee(0x15c)](){const _0x5e1c4a=_0x4337ee,_0x2a6a09=this[_0x5e1c4a(0x166)],_0x5bd6a6=new _0x343254(this[_0x5e1c4a(0x166)]);return _0x5bd6a6[_0x5e1c4a(0x15e)]({'label':'('+_0xdea200(_0x2a6a09,_0x5e1c4a(0x164))+')','withText':!0x0}),_0x5bd6a6['on'](_0x5e1c4a(0x163),()=>this[_0x5e1c4a(0x162)](_0x5e1c4a(0x16d))),_0x5bd6a6;}}
23
+ const _0x57d261=_0x4802;function _0x3b75(){const _0x2b2197=['fire','length','7017579WaCLdr','locale','add','label','execute','5259955pjwCMd','Clear','delegate','set','items','children','clearHistoryButton','clearHistory','48688CABgTV','1000600DAPjSG','7IMLlcN','historyGroupView','151525zYFvXY','filter','10648788omdfNB','_createClearHistoryButton','7013180QoUpzc','Prompt\x20history','90pKNxge'];_0x3b75=function(){return _0x2b2197;};return _0x3b75();}function _0x4802(_0x1f8935,_0x561554){const _0x3b7574=_0x3b75();return _0x4802=function(_0x4802fb,_0x4cf181){_0x4802fb=_0x4802fb-0x18e;let _0x42521d=_0x3b7574[_0x4802fb];return _0x42521d;},_0x4802(_0x1f8935,_0x561554);}(function(_0x20c91e,_0x7c6275){const _0x138ac1=_0x4802,_0x326af7=_0x20c91e();while(!![]){try{const _0x22c2f8=-parseInt(_0x138ac1(0x199))/0x1+parseInt(_0x138ac1(0x195))/0x2*(-parseInt(_0x138ac1(0x19f))/0x3)+parseInt(_0x138ac1(0x19d))/0x4+-parseInt(_0x138ac1(0x1a7))/0x5+-parseInt(_0x138ac1(0x19b))/0x6*(-parseInt(_0x138ac1(0x197))/0x7)+parseInt(_0x138ac1(0x196))/0x8+-parseInt(_0x138ac1(0x1a2))/0x9;if(_0x22c2f8===_0x7c6275)break;else _0x326af7['push'](_0x326af7['shift']());}catch(_0x50556a){_0x326af7['push'](_0x326af7['shift']());}}}(_0x3b75,0xe5651));import{ListView as _0x4f8f52,ListItemGroupView as _0x40883e,ButtonView as _0xdaabe2}from'ckeditor5/src/ui.js';import{getTranslation as _0xb88026}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x4f8f52{[_0x57d261(0x198)];[_0x57d261(0x193)];constructor(_0x1badec){const _0x43c925=_0x57d261;super(_0x1badec),this[_0x43c925(0x193)]=this[_0x43c925(0x19c)](),this[_0x43c925(0x198)]=new _0x40883e(),this[_0x43c925(0x198)][_0x43c925(0x192)][_0x43c925(0x1a4)](this[_0x43c925(0x193)],0x1),this[_0x43c925(0x198)][_0x43c925(0x1a5)]=_0xb88026(_0x1badec,_0x43c925(0x19e)),this[_0x43c925(0x198)][_0x43c925(0x191)][_0x43c925(0x18f)](_0x43c925(0x1a6))['to'](this),this[_0x43c925(0x191)][_0x43c925(0x1a4)](this[_0x43c925(0x198)]);}[_0x57d261(0x19a)](){const _0x51f22e=_0x57d261;let _0x16d7d4=0x0;for(const _0x26ed86 of this[_0x51f22e(0x191)])_0x16d7d4+=_0x26ed86[_0x51f22e(0x191)][_0x51f22e(0x1a1)];return{'resultsCount':_0x16d7d4,'totalItemsCount':_0x16d7d4};}[_0x57d261(0x19c)](){const _0x2d4149=_0x57d261,_0x4b7714=this[_0x2d4149(0x1a3)],_0xb8c954=new _0xdaabe2(this[_0x2d4149(0x1a3)]);return _0xb8c954[_0x2d4149(0x190)]({'label':'('+_0xb88026(_0x4b7714,_0x2d4149(0x18e))+')','withText':!0x0}),_0xb8c954['on'](_0x2d4149(0x1a6),()=>this[_0x2d4149(0x1a0)](_0x2d4149(0x194))),_0xb8c954;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32892d=_0x5619;(function(_0x765c32,_0x5e667e){const _0x233df9=_0x5619,_0x2864a8=_0x765c32();while(!![]){try{const _0x4f465a=-parseInt(_0x233df9(0xde))/0x1+-parseInt(_0x233df9(0xea))/0x2*(-parseInt(_0x233df9(0x106))/0x3)+parseInt(_0x233df9(0x101))/0x4*(parseInt(_0x233df9(0xf7))/0x5)+parseInt(_0x233df9(0x109))/0x6+-parseInt(_0x233df9(0xe4))/0x7*(parseInt(_0x233df9(0x107))/0x8)+parseInt(_0x233df9(0xe6))/0x9*(-parseInt(_0x233df9(0xee))/0xa)+parseInt(_0x233df9(0xeb))/0xb*(parseInt(_0x233df9(0xfa))/0xc);if(_0x4f465a===_0x5e667e)break;else _0x2864a8['push'](_0x2864a8['shift']());}catch(_0x8b4d){_0x2864a8['push'](_0x2864a8['shift']());}}}(_0x37ae,0xa3220));function _0x37ae(){const _0x4fffdd=['2144916qdPycD','getRanges','isEmpty','element','change:isEnabled','refresh','model','40xXmPcd','execute','includes','enabledCommandsIds','plugins','3RHOkNE','664Rvqncn','custom','2119518gJFKjJ','values','hasContent','585182tnccJz','showUI','getItems','getSelectedBlocks','requiresContent','ai.assistant.disabledElements','99547ggxVxg','selection','717858PWEhPc','set','document','isEnabled','1808026owHKSM','99sttjDy','change:_hasContext','from','80rlEiGM','isCollapsed','name','config','_commandDefinitions','_hasContext','length','editor','get','102930nMUqih','add','getFirstRange'];_0x37ae=function(){return _0x4fffdd;};return _0x37ae();}import{Command as _0x130055}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2c87a0}from'../aiassistantui.js';function _0x5619(_0x4f39b7,_0x1832a7){const _0x37ae88=_0x37ae();return _0x5619=function(_0x5619a8,_0x47dc3f){_0x5619a8=_0x5619a8-0xde;let _0x1fd5e4=_0x37ae88[_0x5619a8];return _0x1fd5e4;},_0x5619(_0x4f39b7,_0x1832a7);}export class ShowAIAssistantCommand extends _0x130055{[_0x32892d(0xf2)];constructor(_0x24de3d,_0x1347d0){const _0x147971=_0x32892d;super(_0x24de3d),this[_0x147971(0xf2)]=_0x1347d0,this[_0x147971(0xe7)](_0x147971(0x104),[]),this['on'](_0x147971(0xec),(_0x57b7f1,_0x4b438c,_0x4d23ad)=>{const _0x18e7e9=_0x147971;this[_0x18e7e9(0xe9)]&&(this[_0x18e7e9(0x104)]=ns(this[_0x18e7e9(0xf2)],_0x4d23ad));}),this[_0x147971(0xe7)](_0x147971(0xf3),!0x1),this['on'](_0x147971(0xfe),(_0x33a76d,_0x303223,_0x277ce3)=>{const _0x128471=_0x147971;this[_0x128471(0x104)]=_0x277ce3?ns(this[_0x128471(0xf2)],this[_0x128471(0xf3)]):[];});}[_0x32892d(0xff)](){const _0x181741=_0x32892d,_0x2df403=this[_0x181741(0xf5)][_0x181741(0x100)];this[_0x181741(0xf3)]=function(_0x368904){const _0x3ffdde=_0x181741,_0x5586bb=_0x368904[_0x3ffdde(0xe8)][_0x3ffdde(0xe5)];return _0x5586bb[_0x3ffdde(0xef)]?0x0!==[..._0x5586bb[_0x3ffdde(0xe1)]()][_0x3ffdde(0xf4)]&&![..._0x5586bb[_0x3ffdde(0xe1)]()][0x0][_0x3ffdde(0xfc)]:!!_0x368904[_0x3ffdde(0x10b)](_0x5586bb[_0x3ffdde(0xf9)]());}(_0x2df403);const _0x5bde7b=_0x2df403[_0x181741(0xe8)][_0x181741(0xe5)],_0x275cc2=this[_0x181741(0xf5)][_0x181741(0xf1)][_0x181741(0xf6)](_0x181741(0xe3));for(const _0x1da515 of _0x5bde7b[_0x181741(0xfb)]())for(const _0x3fff9a of _0x1da515[_0x181741(0xe0)]())if(_0x3fff9a['is'](_0x181741(0xfd))&&_0x275cc2[_0x181741(0x103)](_0x3fff9a[_0x181741(0xf0)]))return void(this[_0x181741(0xe9)]=!0x1);this[_0x181741(0xe9)]=!0x0;}[_0x32892d(0x102)](_0x44ad97='',_0x5d772b='',_0x2bf265=_0x32892d(0x108)){const _0x1bec2a=_0x32892d;this[_0x1bec2a(0xf5)][_0x1bec2a(0x105)][_0x1bec2a(0xf6)](_0x2c87a0)[_0x1bec2a(0xdf)](_0x44ad97,_0x5d772b,_0x2bf265);}}function ns(_0xf3035a,_0x1fa864){const _0x57524e=_0x32892d,_0x550314=new Set();for(const _0x17db9a of _0xf3035a[_0x57524e(0x10a)]())(_0x1fa864||!0x1===_0x17db9a[_0x57524e(0xe2)])&&_0x550314[_0x57524e(0xf8)](_0x17db9a['id']);return Array[_0x57524e(0xed)](_0x550314);}
23
+ const _0x5a5b3e=_0x40f1;(function(_0x361e9a,_0x75fb47){const _0x1e0d82=_0x40f1,_0x28600b=_0x361e9a();while(!![]){try{const _0x4041fe=parseInt(_0x1e0d82(0xc9))/0x1+parseInt(_0x1e0d82(0xd2))/0x2+-parseInt(_0x1e0d82(0xb0))/0x3*(-parseInt(_0x1e0d82(0xca))/0x4)+parseInt(_0x1e0d82(0xd8))/0x5+-parseInt(_0x1e0d82(0xcc))/0x6*(parseInt(_0x1e0d82(0xb9))/0x7)+-parseInt(_0x1e0d82(0xaf))/0x8*(parseInt(_0x1e0d82(0xb5))/0x9)+parseInt(_0x1e0d82(0xb1))/0xa*(parseInt(_0x1e0d82(0xc4))/0xb);if(_0x4041fe===_0x75fb47)break;else _0x28600b['push'](_0x28600b['shift']());}catch(_0x26381a){_0x28600b['push'](_0x28600b['shift']());}}}(_0x4c30,0x9cc6f));function _0x4c30(){const _0x1419f3=['selection','24886EgRVkT','plugins','get','length','_hasContext','editor','2419355BzRcUw','values','custom','model','4629368UKUKVy','152211OXrUnS','30JXUIhO','execute','from','change:isEnabled','9ZVazyd','isEnabled','set','_commandDefinitions','1962807jrbnZC','getFirstRange','getSelectedBlocks','change:_hasContext','hasContent','showUI','name','element','requiresContent','getItems','refresh','2917563CQcRiN','isEmpty','add','enabledCommandsIds','getRanges','719283aVkbxH','4gfhwDi','document','18qVaFVD','isCollapsed','config','ai.assistant.disabledElements','includes'];_0x4c30=function(){return _0x1419f3;};return _0x4c30();}import{Command as _0x4465be}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x488c0e}from'../aiassistantui.js';function _0x40f1(_0x1db0ec,_0x2b3d02){const _0x4c3090=_0x4c30();return _0x40f1=function(_0x40f1e4,_0x5dfc5a){_0x40f1e4=_0x40f1e4-0xac;let _0x1e7e14=_0x4c3090[_0x40f1e4];return _0x1e7e14;},_0x40f1(_0x1db0ec,_0x2b3d02);}export class ShowAIAssistantCommand extends _0x4465be{[_0x5a5b3e(0xb8)];constructor(_0x181882,_0x4d4d58){const _0x4e81c4=_0x5a5b3e;super(_0x181882),this[_0x4e81c4(0xb8)]=_0x4d4d58,this[_0x4e81c4(0xb7)](_0x4e81c4(0xc7),[]),this['on'](_0x4e81c4(0xbc),(_0x2b7c35,_0x239d9c,_0x221800)=>{const _0x532b37=_0x4e81c4;this[_0x532b37(0xb6)]&&(this[_0x532b37(0xc7)]=fs(this[_0x532b37(0xb8)],_0x221800));}),this[_0x4e81c4(0xb7)](_0x4e81c4(0xd6),!0x1),this['on'](_0x4e81c4(0xb4),(_0x4cc962,_0x3285b5,_0x444f04)=>{const _0x572e78=_0x4e81c4;this[_0x572e78(0xc7)]=_0x444f04?fs(this[_0x572e78(0xb8)],this[_0x572e78(0xd6)]):[];});}[_0x5a5b3e(0xc3)](){const _0x3fde09=_0x5a5b3e,_0x1a53d4=this[_0x3fde09(0xd7)][_0x3fde09(0xae)];this[_0x3fde09(0xd6)]=function(_0x57064e){const _0x1180a7=_0x3fde09,_0x48d3f2=_0x57064e[_0x1180a7(0xcb)][_0x1180a7(0xd1)];return _0x48d3f2[_0x1180a7(0xcd)]?0x0!==[..._0x48d3f2[_0x1180a7(0xbb)]()][_0x1180a7(0xd5)]&&![..._0x48d3f2[_0x1180a7(0xbb)]()][0x0][_0x1180a7(0xc5)]:!!_0x57064e[_0x1180a7(0xbd)](_0x48d3f2[_0x1180a7(0xba)]());}(_0x1a53d4);const _0x1c0830=_0x1a53d4[_0x3fde09(0xcb)][_0x3fde09(0xd1)],_0x31a654=this[_0x3fde09(0xd7)][_0x3fde09(0xce)][_0x3fde09(0xd4)](_0x3fde09(0xcf));for(const _0x2ecae5 of _0x1c0830[_0x3fde09(0xc8)]())for(const _0x2991ad of _0x2ecae5[_0x3fde09(0xc2)]())if(_0x2991ad['is'](_0x3fde09(0xc0))&&_0x31a654[_0x3fde09(0xd0)](_0x2991ad[_0x3fde09(0xbf)]))return void(this[_0x3fde09(0xb6)]=!0x1);this[_0x3fde09(0xb6)]=!0x0;}[_0x5a5b3e(0xb2)](_0x3f5f18='',_0x534a10='',_0x5551db=_0x5a5b3e(0xad)){const _0x25cefb=_0x5a5b3e;this[_0x25cefb(0xd7)][_0x25cefb(0xd3)][_0x25cefb(0xd4)](_0x488c0e)[_0x25cefb(0xbe)](_0x3f5f18,_0x534a10,_0x5551db);}}function fs(_0x395205,_0x791c8a){const _0x4438c9=_0x5a5b3e,_0x51264c=new Set();for(const _0x35b2e4 of _0x395205[_0x4438c9(0xac)]())(_0x791c8a||!0x1===_0x35b2e4[_0x4438c9(0xc1)])&&_0x51264c[_0x4438c9(0xc6)](_0x35b2e4['id']);return Array[_0x4438c9(0xb3)](_0x51264c);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x216066=_0x52ae;(function(_0xc7dd26,_0x5811f0){const _0x126c94=_0x52ae,_0x5a42d6=_0xc7dd26();while(!![]){try{const _0x53d73f=parseInt(_0x126c94(0xab))/0x1*(-parseInt(_0x126c94(0xaf))/0x2)+-parseInt(_0x126c94(0xa4))/0x3+parseInt(_0x126c94(0x88))/0x4*(-parseInt(_0x126c94(0xa1))/0x5)+-parseInt(_0x126c94(0x75))/0x6+parseInt(_0x126c94(0x99))/0x7+parseInt(_0x126c94(0x76))/0x8+-parseInt(_0x126c94(0x9c))/0x9*(-parseInt(_0x126c94(0x77))/0xa);if(_0x53d73f===_0x5811f0)break;else _0x5a42d6['push'](_0x5a42d6['shift']());}catch(_0x21419b){_0x5a42d6['push'](_0x5a42d6['shift']());}}}(_0x5334,0xdc71e));function _0x52ae(_0x347fa2,_0x23c95c){const _0x533400=_0x5334();return _0x52ae=function(_0x52aeee,_0x1b326c){_0x52aeee=_0x52aeee-0x6d;let _0x869db3=_0x533400[_0x52aeee];return _0x869db3;},_0x52ae(_0x347fa2,_0x23c95c);}import{ContextPlugin as _0x2a7a7c}from'ckeditor5/src/core.js';import{AIConnector as _0x43971e}from'../aicore/aiconnector.js';import{AIEditing as _0x48f0cd}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x348d88,AIBalloonView as _0x5ab6a6}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x5cc990}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x55eadc}from'../aicore/utils/geteditorfromcontext.js';import{ACTIONS as _0x3716cf}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';function _0x5334(){const _0x5760f2=['showRotator','context','ranges','1494426MIBebt','9916816XxhiRK','6646570obsMux','_calculateDialogPosition','config','value','requires','height','balloonView','isOfficialPlugin','commands','locale','getBoundingClientRect','ai-balloon-selection','left','plugins','ai-balloon-','bind','hide','2340452EMnhRc','get','ai.availableReplyActions','isOpen','Dialog','ai-balloon','innerHeight','_showDialog','width','AIBalloon','pluginName','\x20ai-balloon-rotator','round','fire','getMarkersGroup','_setupVisualSelection','show','1621347UkuruA','_config','delegate','45ezqtfv','dialogClosed','open','AIEditing','model','5LBBrmp','icon','isPremiumPlugin','4313859uIdwgQ','close','aiBalloon','showFakeVisualSelection','setupRotator','title','_calculateOptimalTopPosition','1619429ikHKOM','hideFakeVisualSelection','editing','top','2oLxhjQ','length','isTrackChangesOn','trackChanges','ai-selection','markers','index'];_0x5334=function(){return _0x5760f2;};return _0x5334();}export const AI_BALLOON_EVENT_NAMES=[..._0x348d88,_0x216066(0x9d)];export class AIBalloon extends _0x2a7a7c{static get[_0x216066(0x7b)](){return[_0x43971e,_0x48f0cd];}static get[_0x216066(0x92)](){const _0x58dddf=_0x216066;return _0x58dddf(0x91);}static get[_0x216066(0x7e)](){return!0x0;}static get[_0x216066(0xa3)](){return!0x0;}[_0x216066(0x8b)]=!0x1;[_0x216066(0x9a)];[_0x216066(0x9e)](_0x547f54){const _0x9c0db8=_0x216066,_0x21a35f=_0x55eadc(this[_0x9c0db8(0x73)]);this[_0x9c0db8(0x9a)]=_0x547f54;const _0x9021ca=this[_0x9c0db8(0x73)][_0x9c0db8(0x79)][_0x9c0db8(0x89)](_0x9c0db8(0x8a))||[..._0x3716cf],_0x556b8d=_0x21a35f?.[_0x9c0db8(0x7f)][_0x9c0db8(0x89)](_0x9c0db8(0x6e)),_0xaa28c7=_0x556b8d?.[_0x9c0db8(0x7a)];this[_0x9c0db8(0x7d)]=new _0x5ab6a6(_0x21a35f[_0x9c0db8(0x80)],_0x547f54,_0x9021ca,!!_0xaa28c7),this[_0x9c0db8(0x7d)][_0x9c0db8(0x9b)](..._0x348d88)['to'](this),_0x556b8d&&this[_0x9c0db8(0x7d)][_0x9c0db8(0x86)](_0x9c0db8(0x6d))['to'](_0x556b8d,_0x9c0db8(0x7a)),this[_0x9c0db8(0x8f)](_0x547f54);}[_0x216066(0xa5)](){const _0xb18dd8=_0x216066;_0x55eadc(this[_0xb18dd8(0x73)])[_0xb18dd8(0x84)][_0xb18dd8(0x89)](_0xb18dd8(0x8c))[_0xb18dd8(0x87)]();}[_0x216066(0x97)](_0x320a29,_0x5294d4){const _0x6266d0=_0x216066;this[_0x6266d0(0x73)][_0x6266d0(0x84)][_0x6266d0(0x89)](_0x48f0cd)[_0x6266d0(0xa7)](_0x320a29,_0x6266d0(0x85)+_0x5294d4,!0x0,!0x0);}[_0x216066(0x8f)](_0x8a8958){const _0x3c0931=_0x216066,_0x3f6839=_0x55eadc(this[_0x3c0931(0x73)]);this[_0x3c0931(0x97)](_0x8a8958[_0x3c0931(0x74)],_0x8a8958[_0x3c0931(0x71)]),_0x3f6839[_0x3c0931(0x84)][_0x3c0931(0x89)](_0x3c0931(0x8c))[_0x3c0931(0x98)]({'title':_0x8a8958[_0x3c0931(0xa9)],'icon':_0x8a8958[_0x3c0931(0xa2)],'hasCloseButton':!0x0,'id':_0x3c0931(0xa6),'position':this[_0x3c0931(0x78)][_0x3c0931(0x86)](this),'className':_0x3c0931(0x8d)+(_0x8a8958[_0x3c0931(0x72)]?_0x3c0931(0x93):''),'content':this[_0x3c0931(0x7d)],'onShow':_0x267abc=>{const _0x2e4bfd=_0x3c0931;_0x8a8958[_0x2e4bfd(0x72)]&&this[_0x2e4bfd(0x7d)][_0x2e4bfd(0xa8)](_0x267abc),this[_0x2e4bfd(0x8b)]=!0x0;},'onHide':()=>{const _0x2df392=_0x3c0931;this[_0x2df392(0x73)][_0x2df392(0x84)][_0x2df392(0x89)](_0x2df392(0x9f))[_0x2df392(0xac)](_0x2df392(0x85)+_0x8a8958[_0x2df392(0x71)]),this[_0x2df392(0x95)](_0x2df392(0x9d)),this[_0x2df392(0x8b)]=!0x1;}});}[_0x216066(0x78)](_0x1ab584,_0x300746){const _0x5c0787=_0x216066,_0x37400e=_0x55eadc(this[_0x5c0787(0x73)]);if(!_0x300746)return null;const _0x50b11a=_0x5cc990(_0x37400e[_0x5c0787(0xad)],[..._0x37400e[_0x5c0787(0xa0)][_0x5c0787(0x70)][_0x5c0787(0x96)](_0x5c0787(0x6f)),..._0x37400e[_0x5c0787(0xa0)][_0x5c0787(0x70)][_0x5c0787(0x96)](_0x5c0787(0x82))]);if(!_0x50b11a||0x0===_0x50b11a[_0x5c0787(0xb0)])return{'left':Math[_0x5c0787(0x94)](_0x300746[_0x5c0787(0x83)]+_0x300746[_0x5c0787(0x90)]/0x2-_0x1ab584[_0x5c0787(0x90)]/0x2),'top':Math[_0x5c0787(0x94)](_0x300746[_0x5c0787(0xae)]+_0x300746[_0x5c0787(0x7c)]/0x2-_0x1ab584[_0x5c0787(0x7c)]/0x2)};const _0x5e8ef3=Math[_0x5c0787(0x94)](_0x300746[_0x5c0787(0x83)]+_0x300746[_0x5c0787(0x90)]/0x2-_0x1ab584[_0x5c0787(0x90)]/0x2),_0x4ee86f=_0x50b11a[0x0][_0x5c0787(0x81)](),_0x419701=_0x50b11a[_0x50b11a[_0x5c0787(0xb0)]-0x1][_0x5c0787(0x81)](),_0x4d526f=_0x1ab584[_0x5c0787(0x7c)],_0x3bc3eb=this[_0x5c0787(0x9a)][_0x5c0787(0x72)]?0x8:0x0;return{'left':_0x5e8ef3,'top':this[_0x5c0787(0xaa)](_0x4ee86f,_0x419701,_0x4d526f,_0x3bc3eb)};}[_0x216066(0xaa)](_0x5d32d4,_0x2b1d60,_0x2ab07a,_0x186cc5=0x0){const _0x4e472a=_0x216066,_0x3403e9=_0x2b1d60[_0x4e472a(0xae)]+_0x2b1d60[_0x4e472a(0x7c)],_0x258c7c=_0x5d32d4[_0x4e472a(0xae)]-_0x2ab07a-_0x186cc5,_0x1db6eb=window[_0x4e472a(0x8e)]-_0x3403e9-0xa,_0x39b11f=_0x5d32d4[_0x4e472a(0xae)]-_0x186cc5-0xa;let _0x54e0a8;if(_0x1db6eb>=_0x2ab07a)_0x54e0a8=_0x3403e9+0xa;else{if(_0x39b11f>=_0x2ab07a)_0x54e0a8=_0x258c7c-0xa;else _0x54e0a8=_0x5d32d4[_0x4e472a(0xae)]+(_0x2b1d60[_0x4e472a(0xae)]+_0x2b1d60[_0x4e472a(0x7c)])/0x2-(_0x2ab07a+_0x186cc5)/0x2;}return _0x54e0a8;}}
23
+ function _0x1524(){const _0x4a996d=['showFakeVisualSelection','2985544jbiGoy','bind','ai-balloon-','ranges','2Rmnxsr','close','ai-selection','open','index','getBoundingClientRect','hide','fire','left','height','round','balloonView','trackChanges','length','6630910sSLpcH','editing','AIBalloon','icon','isOfficialPlugin','isPremiumPlugin','286265czuyzR','hideFakeVisualSelection','width','1062486ypOZVK','\x20ai-balloon-rotator','delegate','AIEditing','pluginName','locale','show','innerHeight','commands','123507hclNoy','10nZCVgm','markers','plugins','isOpen','ai-balloon','setupRotator','230xcbGjK','485337FbZrzY','aiBalloon','_config','_calculateDialogPosition','_showDialog','28RLHWST','model','_calculateOptimalTopPosition','Dialog','showRotator','ai.availableReplyActions','top','title','get','getMarkersGroup','value','requires','context','ai-balloon-selection','dialogClosed','config','isTrackChangesOn','118089GsWLBI','_setupVisualSelection'];_0x1524=function(){return _0x4a996d;};return _0x1524();}const _0x48d1ac=_0x1e2e;(function(_0x49acec,_0x4580e8){const _0x5263cd=_0x1e2e,_0x133254=_0x49acec();while(!![]){try{const _0x51cff4=-parseInt(_0x5263cd(0xf8))/0x1*(parseInt(_0x5263cd(0x115))/0x2)+-parseInt(_0x5263cd(0xf0))/0x3*(-parseInt(_0x5263cd(0xfd))/0x4)+-parseInt(_0x5263cd(0xf1))/0x5*(-parseInt(_0x5263cd(0xe7))/0x6)+parseInt(_0x5263cd(0xe4))/0x7+parseInt(_0x5263cd(0x111))/0x8+-parseInt(_0x5263cd(0x10e))/0x9*(-parseInt(_0x5263cd(0xf7))/0xa)+-parseInt(_0x5263cd(0xde))/0xb;if(_0x51cff4===_0x4580e8)break;else _0x133254['push'](_0x133254['shift']());}catch(_0x32a494){_0x133254['push'](_0x133254['shift']());}}}(_0x1524,0x41ef5));import{ContextPlugin as _0x53fc0a}from'ckeditor5/src/core.js';function _0x1e2e(_0xb8292d,_0x26f227){const _0x15246e=_0x1524();return _0x1e2e=function(_0x1e2edb,_0x193e34){_0x1e2edb=_0x1e2edb-0xd1;let _0xa8f395=_0x15246e[_0x1e2edb];return _0xa8f395;},_0x1e2e(_0xb8292d,_0x26f227);}import{AIConnector as _0x1daac4}from'../aicore/aiconnector.js';import{AIEditing as _0x2209f8}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x836997,AIBalloonView as _0x2644e9}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x3765f0}from'@ckeditor/ckeditor5-collaboration-core';import{getEditorFromContext as _0x2901bd}from'../aicore/utils/geteditorfromcontext.js';import{ACTIONS as _0x1ee5ec}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x836997,_0x48d1ac(0x10b)];export class AIBalloon extends _0x53fc0a{static get[_0x48d1ac(0x108)](){return[_0x1daac4,_0x2209f8];}static get[_0x48d1ac(0xeb)](){const _0xf4b9f9=_0x48d1ac;return _0xf4b9f9(0xe0);}static get[_0x48d1ac(0xe2)](){return!0x0;}static get[_0x48d1ac(0xe3)](){return!0x0;}[_0x48d1ac(0xf4)]=!0x1;[_0x48d1ac(0xfa)];[_0x48d1ac(0xd3)](_0xe5a81){const _0x194f99=_0x48d1ac,_0x234066=_0x2901bd(this[_0x194f99(0x109)]);this[_0x194f99(0xfa)]=_0xe5a81;const _0x17a727=this[_0x194f99(0x109)][_0x194f99(0x10c)][_0x194f99(0x105)](_0x194f99(0x102))||[..._0x1ee5ec],_0xe5668d=_0x234066?.[_0x194f99(0xef)][_0x194f99(0x105)](_0x194f99(0xdc)),_0x52b259=_0xe5668d?.[_0x194f99(0x107)];this[_0x194f99(0xdb)]=new _0x2644e9(_0x234066[_0x194f99(0xec)],_0xe5a81,_0x17a727,!!_0x52b259),this[_0x194f99(0xdb)][_0x194f99(0xe9)](..._0x836997)['to'](this),_0xe5668d&&this[_0x194f99(0xdb)][_0x194f99(0x112)](_0x194f99(0x10d))['to'](_0xe5668d,_0x194f99(0x107)),this[_0x194f99(0xfc)](_0xe5a81);}[_0x48d1ac(0xd1)](){const _0x3e6d31=_0x48d1ac;_0x2901bd(this[_0x3e6d31(0x109)])[_0x3e6d31(0xf3)][_0x3e6d31(0x105)](_0x3e6d31(0x100))[_0x3e6d31(0xd6)]();}[_0x48d1ac(0x10f)](_0x52795e,_0x157d75){const _0x5b6274=_0x48d1ac;this[_0x5b6274(0x109)][_0x5b6274(0xf3)][_0x5b6274(0x105)](_0x2209f8)[_0x5b6274(0x110)](_0x52795e,_0x5b6274(0x113)+_0x157d75,!0x0,!0x0);}[_0x48d1ac(0xfc)](_0x31fda3){const _0x23e58c=_0x48d1ac,_0x12f539=_0x2901bd(this[_0x23e58c(0x109)]);this[_0x23e58c(0x10f)](_0x31fda3[_0x23e58c(0x114)],_0x31fda3[_0x23e58c(0xd4)]),_0x12f539[_0x23e58c(0xf3)][_0x23e58c(0x105)](_0x23e58c(0x100))[_0x23e58c(0xed)]({'title':_0x31fda3[_0x23e58c(0x104)],'icon':_0x31fda3[_0x23e58c(0xe1)],'hasCloseButton':!0x0,'id':_0x23e58c(0xf9),'position':this[_0x23e58c(0xfb)][_0x23e58c(0x112)](this),'className':_0x23e58c(0xf5)+(_0x31fda3[_0x23e58c(0x101)]?_0x23e58c(0xe8):''),'content':this[_0x23e58c(0xdb)],'onShow':_0x50fa6c=>{const _0x37844e=_0x23e58c;_0x31fda3[_0x37844e(0x101)]&&this[_0x37844e(0xdb)][_0x37844e(0xf6)](_0x50fa6c),this[_0x37844e(0xf4)]=!0x0;},'onHide':()=>{const _0xa6a3be=_0x23e58c;this[_0xa6a3be(0x109)][_0xa6a3be(0xf3)][_0xa6a3be(0x105)](_0xa6a3be(0xea))[_0xa6a3be(0xe5)](_0xa6a3be(0x113)+_0x31fda3[_0xa6a3be(0xd4)]),this[_0xa6a3be(0xd7)](_0xa6a3be(0x10b)),this[_0xa6a3be(0xf4)]=!0x1;}});}[_0x48d1ac(0xfb)](_0x22704f,_0xf9c1a3){const _0x1355ce=_0x48d1ac,_0xcb3667=_0x2901bd(this[_0x1355ce(0x109)]);if(!_0xf9c1a3)return null;const _0x217b9e=_0x3765f0(_0xcb3667[_0x1355ce(0xdf)],[..._0xcb3667[_0x1355ce(0xfe)][_0x1355ce(0xf2)][_0x1355ce(0x106)](_0x1355ce(0xd2)),..._0xcb3667[_0x1355ce(0xfe)][_0x1355ce(0xf2)][_0x1355ce(0x106)](_0x1355ce(0x10a))]);if(!_0x217b9e||0x0===_0x217b9e[_0x1355ce(0xdd)])return{'left':Math[_0x1355ce(0xda)](_0xf9c1a3[_0x1355ce(0xd8)]+_0xf9c1a3[_0x1355ce(0xe6)]/0x2-_0x22704f[_0x1355ce(0xe6)]/0x2),'top':Math[_0x1355ce(0xda)](_0xf9c1a3[_0x1355ce(0x103)]+_0xf9c1a3[_0x1355ce(0xd9)]/0x2-_0x22704f[_0x1355ce(0xd9)]/0x2)};const _0x4720c3=Math[_0x1355ce(0xda)](_0xf9c1a3[_0x1355ce(0xd8)]+_0xf9c1a3[_0x1355ce(0xe6)]/0x2-_0x22704f[_0x1355ce(0xe6)]/0x2),_0x2252a1=_0x217b9e[0x0][_0x1355ce(0xd5)](),_0x3ddacf=_0x217b9e[_0x217b9e[_0x1355ce(0xdd)]-0x1][_0x1355ce(0xd5)](),_0x41fca9=_0x22704f[_0x1355ce(0xd9)],_0x426505=this[_0x1355ce(0xfa)][_0x1355ce(0x101)]?0x8:0x0;return{'left':_0x4720c3,'top':this[_0x1355ce(0xff)](_0x2252a1,_0x3ddacf,_0x41fca9,_0x426505)};}[_0x48d1ac(0xff)](_0x32c7ea,_0x31f31b,_0x201446,_0x153cbf=0x0){const _0x5c2a71=_0x48d1ac,_0x52d4ec=_0x31f31b[_0x5c2a71(0x103)]+_0x31f31b[_0x5c2a71(0xd9)],_0x453c76=_0x32c7ea[_0x5c2a71(0x103)]-_0x201446-_0x153cbf,_0x2db41f=window[_0x5c2a71(0xee)]-_0x52d4ec-0xa,_0x20ce06=_0x32c7ea[_0x5c2a71(0x103)]-_0x153cbf-0xa;let _0x4324ef;if(_0x2db41f>=_0x201446)_0x4324ef=_0x52d4ec+0xa;else{if(_0x20ce06>=_0x201446)_0x4324ef=_0x453c76-0xa;else _0x4324ef=_0x32c7ea[_0x5c2a71(0x103)]+(_0x31f31b[_0x5c2a71(0x103)]+_0x31f31b[_0x5c2a71(0xd9)])/0x2-(_0x201446+_0x153cbf)/0x2;}return _0x4324ef;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2a413b,_0x50e5dd){var _0x5cab5e=_0x1b97,_0x4185cf=_0x2a413b();while(!![]){try{var _0x129e06=-parseInt(_0x5cab5e(0x141))/0x1*(-parseInt(_0x5cab5e(0x147))/0x2)+-parseInt(_0x5cab5e(0x143))/0x3+parseInt(_0x5cab5e(0x13b))/0x4*(-parseInt(_0x5cab5e(0x14a))/0x5)+parseInt(_0x5cab5e(0x142))/0x6+-parseInt(_0x5cab5e(0x14b))/0x7*(parseInt(_0x5cab5e(0x13f))/0x8)+-parseInt(_0x5cab5e(0x13c))/0x9*(parseInt(_0x5cab5e(0x140))/0xa)+-parseInt(_0x5cab5e(0x13e))/0xb*(-parseInt(_0x5cab5e(0x146))/0xc);if(_0x129e06===_0x50e5dd)break;else _0x4185cf['push'](_0x4185cf['shift']());}catch(_0x596fe3){_0x4185cf['push'](_0x4185cf['shift']());}}}(_0x5cd4,0xdf561));import{View as _0x21da51}from'ckeditor5/src/ui.js';import{getTranslation as _0x1d7a99}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x21da51{constructor(_0x4b23c6){var _0x477528=_0x1b97;super(_0x4b23c6),this[_0x477528(0x13d)]({'tag':_0x477528(0x144),'attributes':{'class':['ck',_0x477528(0x148)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x477528(0x145)]},'children':[{'text':_0x1d7a99(_0x4b23c6,_0x477528(0x149))}]}]});}}function _0x1b97(_0x1ec097,_0x11e91c){var _0x5cd421=_0x5cd4();return _0x1b97=function(_0x1b97d2,_0x4da14c){_0x1b97d2=_0x1b97d2-0x13b;var _0x20666f=_0x5cd421[_0x1b97d2];return _0x20666f;},_0x1b97(_0x1ec097,_0x11e91c);}function _0x5cd4(){var _0x3252eb=['1757432RnwZKd','180UVRqXo','setTemplate','11hQMlmZ','32tHaVoi','648490rmnMQk','166237WHlPWZ','647802uNJXjZ','3651534iofHlk','div','ck-ai-balloon__disclaimer-content','40866612gKikhy','14tPXUDa','ck-ai-balloon__disclaimer','AI_DISCLAIMER_TEXT','5CiVCQA','1415533YyBjXG'];_0x5cd4=function(){return _0x3252eb;};return _0x5cd4();}
23
+ (function(_0x50fc49,_0x42bb42){var _0x343018=_0x43ef,_0x1b3a8a=_0x50fc49();while(!![]){try{var _0x523df4=parseInt(_0x343018(0x102))/0x1+parseInt(_0x343018(0x100))/0x2*(-parseInt(_0x343018(0xf4))/0x3)+-parseInt(_0x343018(0xf8))/0x4*(-parseInt(_0x343018(0xfb))/0x5)+-parseInt(_0x343018(0xfd))/0x6*(parseInt(_0x343018(0xff))/0x7)+parseInt(_0x343018(0x103))/0x8*(parseInt(_0x343018(0x104))/0x9)+-parseInt(_0x343018(0xf5))/0xa*(parseInt(_0x343018(0xf6))/0xb)+-parseInt(_0x343018(0xf9))/0xc*(parseInt(_0x343018(0xf7))/0xd);if(_0x523df4===_0x42bb42)break;else _0x1b3a8a['push'](_0x1b3a8a['shift']());}catch(_0x3d7077){_0x1b3a8a['push'](_0x1b3a8a['shift']());}}}(_0xc3db,0xbfc16));function _0x43ef(_0x381cdd,_0x35fac9){var _0xc3db6e=_0xc3db();return _0x43ef=function(_0x43ef5f,_0xe1b2bb){_0x43ef5f=_0x43ef5f-0xf4;var _0x4c03f8=_0xc3db6e[_0x43ef5f];return _0x4c03f8;},_0x43ef(_0x381cdd,_0x35fac9);}import{View as _0x598312}from'ckeditor5/src/ui.js';import{getTranslation as _0x166131}from'../../aicore/utils/common-translations.js';function _0xc3db(){var _0x3186be=['setTemplate','10fUFVMC','AI_DISCLAIMER_TEXT','21342rETRfV','div','77GiUBKB','1029354mCRwlE','ck-ai-balloon__disclaimer-content','813857AbXhtt','49144GFjmsq','441UmhQgE','ck-ai-balloon__disclaimer','3OgUwth','9197510aTDFVk','11MmQCsW','11791uXwWMf','2398896AYUWlT','732ZvFnmO'];_0xc3db=function(){return _0x3186be;};return _0xc3db();}export class AIBalloonDisclaimerView extends _0x598312{constructor(_0x49d119){var _0xd67098=_0x43ef;super(_0x49d119),this[_0xd67098(0xfa)]({'tag':_0xd67098(0xfe),'attributes':{'class':['ck',_0xd67098(0x105)]},'children':[{'tag':'p','attributes':{'class':['ck',_0xd67098(0x101)]},'children':[{'text':_0x166131(_0x49d119,_0xd67098(0xfc))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x553efa=_0x16be;(function(_0x14007c,_0x1aeaa1){const _0x53b805=_0x16be,_0x234a17=_0x14007c();while(!![]){try{const _0x4cef1e=parseInt(_0x53b805(0x153))/0x1+parseInt(_0x53b805(0x157))/0x2+parseInt(_0x53b805(0x151))/0x3*(parseInt(_0x53b805(0x149))/0x4)+-parseInt(_0x53b805(0x142))/0x5+-parseInt(_0x53b805(0x14b))/0x6+parseInt(_0x53b805(0x140))/0x7*(parseInt(_0x53b805(0x145))/0x8)+-parseInt(_0x53b805(0x146))/0x9*(parseInt(_0x53b805(0x14e))/0xa);if(_0x4cef1e===_0x1aeaa1)break;else _0x234a17['push'](_0x234a17['shift']());}catch(_0x572f28){_0x234a17['push'](_0x234a17['shift']());}}}(_0x21bd,0xde95a));import{ToolbarView as _0x183697,ButtonView as _0x986cfe}from'ckeditor5/src/ui.js';function _0x16be(_0xa6a1d3,_0x4aa9c7){const _0x21bdb6=_0x21bd();return _0x16be=function(_0x16be0e,_0x2cf615){_0x16be0e=_0x16be0e-0x13f;let _0x70b95d=_0x21bdb6[_0x16be0e];return _0x70b95d;},_0x16be(_0xa6a1d3,_0x4aa9c7);}import{getTranslation as _0xa2b672}from'../../aicore/utils/common-translations.js';function _0x21bd(){const _0x1774d2=['ck-ai-button-secondary','8UoNGBT','18637173drDCjl','add','ck-ai-button-primary','4gALvvV','_createButton','1169712xuEGwt','extendTemplate','bind','10CudUyI','AI_BALLOON_SUGGEST_BUTTON','applyButton','2821950ceJYXE','ck-ai-balloon__toolbar','973535GdsIdX','set','suggestButton','isEnabled','2698006flHezk','isLoading','items','5850656BoEDxP','locale','4607705NBpbFp','AI_BALLOON_APPLY_BUTTON'];_0x21bd=function(){return _0x1774d2;};return _0x21bd();}export class AIBalloonToolbarView extends _0x183697{constructor(_0x2b1866,_0x36e7f3=!0x0,_0x21bb64=!0x0){const _0x5ee310=_0x16be;super(_0x2b1866),this[_0x5ee310(0x154)](_0x5ee310(0x158),!0x1),_0x36e7f3&&(this[_0x5ee310(0x150)]=this[_0x5ee310(0x14a)](_0xa2b672(_0x2b1866,_0x5ee310(0x143)),_0x5ee310(0x148)),this[_0x5ee310(0x150)][_0x5ee310(0x14d)](_0x5ee310(0x156))['to'](this,_0x5ee310(0x158),_0xde232f=>!_0xde232f),this[_0x5ee310(0x13f)][_0x5ee310(0x147)](this[_0x5ee310(0x150)])),_0x21bb64&&(this[_0x5ee310(0x155)]=this[_0x5ee310(0x14a)](_0xa2b672(_0x2b1866,_0x5ee310(0x14f)),_0x36e7f3?_0x5ee310(0x144):_0x5ee310(0x148)),this[_0x5ee310(0x155)][_0x5ee310(0x14d)](_0x5ee310(0x156))['to'](this,_0x5ee310(0x158),_0x4fdf87=>!_0x4fdf87),this[_0x5ee310(0x13f)][_0x5ee310(0x147)](this[_0x5ee310(0x155)])),this[_0x5ee310(0x14c)]({'attributes':{'class':[_0x5ee310(0x152)]}});}[_0x553efa(0x14a)](_0x4c1f01,_0x3bf125){const _0x21128a=_0x553efa,_0x69d2c6=new _0x986cfe(this[_0x21128a(0x141)]);return _0x69d2c6[_0x21128a(0x154)]({'label':_0x4c1f01,'class':_0x3bf125||'','isVisible':!0x0,'withText':!0x0}),_0x69d2c6;}}
23
+ const _0x11426b=_0x52c8;(function(_0x59658a,_0x5eefaf){const _0x41da94=_0x52c8,_0x279469=_0x59658a();while(!![]){try{const _0x328bec=parseInt(_0x41da94(0x1cc))/0x1+parseInt(_0x41da94(0x1db))/0x2+parseInt(_0x41da94(0x1df))/0x3*(parseInt(_0x41da94(0x1d5))/0x4)+parseInt(_0x41da94(0x1d4))/0x5+parseInt(_0x41da94(0x1e0))/0x6*(-parseInt(_0x41da94(0x1d6))/0x7)+parseInt(_0x41da94(0x1d7))/0x8+parseInt(_0x41da94(0x1e2))/0x9*(-parseInt(_0x41da94(0x1d2))/0xa);if(_0x328bec===_0x5eefaf)break;else _0x279469['push'](_0x279469['shift']());}catch(_0x466b01){_0x279469['push'](_0x279469['shift']());}}}(_0x5c77,0xdccd9));import{ToolbarView as _0xc0b06d,ButtonView as _0x39c2e7}from'ckeditor5/src/ui.js';import{getTranslation as _0x2b64d6}from'../../aicore/utils/common-translations.js';function _0x5c77(){const _0x4358ce=['items','bind','extendTemplate','2022520eIkfaS','add','ck-ai-balloon__toolbar','ck-ai-button-secondary','786tSpjWV','6MakaAl','locale','3377727ZqsrKr','isEnabled','applyButton','isLoading','1496654AtvPcT','AI_BALLOON_APPLY_BUTTON','set','_createButton','AI_BALLOON_SUGGEST_BUTTON','suggestButton','90JmmfiQ','ck-ai-button-primary','3174655zzVOBV','12528ZedUIi','7761467rVWvTF','11419904Ibdcka'];_0x5c77=function(){return _0x4358ce;};return _0x5c77();}function _0x52c8(_0x25638a,_0x3c04f0){const _0x5c7701=_0x5c77();return _0x52c8=function(_0x52c847,_0xf097d6){_0x52c847=_0x52c847-0x1c9;let _0x312195=_0x5c7701[_0x52c847];return _0x312195;},_0x52c8(_0x25638a,_0x3c04f0);}export class AIBalloonToolbarView extends _0xc0b06d{constructor(_0x204cfd,_0x1f21fe=!0x0,_0x28a238=!0x0){const _0xdf4b7e=_0x52c8;super(_0x204cfd),this[_0xdf4b7e(0x1ce)](_0xdf4b7e(0x1cb),!0x1),_0x1f21fe&&(this[_0xdf4b7e(0x1ca)]=this[_0xdf4b7e(0x1cf)](_0x2b64d6(_0x204cfd,_0xdf4b7e(0x1cd)),_0xdf4b7e(0x1d3)),this[_0xdf4b7e(0x1ca)][_0xdf4b7e(0x1d9)](_0xdf4b7e(0x1c9))['to'](this,_0xdf4b7e(0x1cb),_0x21cbc7=>!_0x21cbc7),this[_0xdf4b7e(0x1d8)][_0xdf4b7e(0x1dc)](this[_0xdf4b7e(0x1ca)])),_0x28a238&&(this[_0xdf4b7e(0x1d1)]=this[_0xdf4b7e(0x1cf)](_0x2b64d6(_0x204cfd,_0xdf4b7e(0x1d0)),_0x1f21fe?_0xdf4b7e(0x1de):_0xdf4b7e(0x1d3)),this[_0xdf4b7e(0x1d1)][_0xdf4b7e(0x1d9)](_0xdf4b7e(0x1c9))['to'](this,_0xdf4b7e(0x1cb),_0x2165dc=>!_0x2165dc),this[_0xdf4b7e(0x1d8)][_0xdf4b7e(0x1dc)](this[_0xdf4b7e(0x1d1)])),this[_0xdf4b7e(0x1da)]({'attributes':{'class':[_0xdf4b7e(0x1dd)]}});}[_0x11426b(0x1cf)](_0x41231a,_0x31d879){const _0x5211d3=_0x11426b,_0x45c768=new _0x39c2e7(this[_0x5211d3(0x1e1)]);return _0x45c768[_0x5211d3(0x1ce)]({'label':_0x41231a,'class':_0x31d879||'','isVisible':!0x0,'withText':!0x0}),_0x45c768;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x526fc8=_0x5787;(function(_0x28d4ab,_0x15d211){const _0x27b9e9=_0x5787,_0x5241ac=_0x28d4ab();while(!![]){try{const _0x50d3a5=parseInt(_0x27b9e9(0x9e))/0x1*(-parseInt(_0x27b9e9(0xae))/0x2)+-parseInt(_0x27b9e9(0x9d))/0x3+parseInt(_0x27b9e9(0xa1))/0x4+-parseInt(_0x27b9e9(0xa5))/0x5*(parseInt(_0x27b9e9(0xa6))/0x6)+-parseInt(_0x27b9e9(0x84))/0x7+parseInt(_0x27b9e9(0x98))/0x8*(parseInt(_0x27b9e9(0x92))/0x9)+parseInt(_0x27b9e9(0xb4))/0xa*(parseInt(_0x27b9e9(0x90))/0xb);if(_0x50d3a5===_0x15d211)break;else _0x5241ac['push'](_0x5241ac['shift']());}catch(_0x267b6f){_0x5241ac['push'](_0x5241ac['shift']());}}}(_0xf082,0xe3409));import{ButtonView as _0x325dcc,View as _0x83eb64,ViewCollection as _0x30634c,FocusCycler as _0x35d088}from'ckeditor5/src/ui.js';function _0xf082(){const _0x52318f=['6vVckDx','applyButton','keystrokes','setTemplate','showSuggestButton','change:isTrackChangesOn','ai-balloon-content','set','795770EBStCU','element','toolbar','_createPreviousButtonView','clear','focusTracker','2740IqGfnd','createCollection','insertSuggestion','_mainView','tab','applySuggestion','focusFirst','showPrevious','_addDisclaimerView','add','fire','_addToolbar','disclaimerView','_dropdownConfig','isTrackChangesOn','_focusables','focus','children','_createNextButtonView','2801064yhdYbM','clearLoading','setupRotator','view','headerView','showNext','focusCycler','_dialogContent','showApplyButton','includes','div','execute','101772EeEnzM','focusLast','117jfJift','remove','listenTo','AI_BALLOON_PREVIOUS_TOOLTIP','shift\x20+\x20tab','bind','920816hTvyfV','suggestButton','AI_BALLOON_NEXT_TOOLTIP','isLoading','mainView','4427259TIeAWl','4slHomA','render','locale','4210300pDkAEA','addMany','_addContentView','setLoading','3428395ubxVIl'];_0xf082=function(){return _0x52318f;};return _0xf082();}import{FocusTracker as _0x3bf4ed,KeystrokeHandler as _0x281ecc}from'ckeditor5/src/utils.js';function _0x5787(_0x47eb4a,_0x1546e1){const _0xf08288=_0xf082();return _0x5787=function(_0x578724,_0x48f62d){_0x578724=_0x578724-0x7f;let _0x572dff=_0xf08288[_0x578724];return _0x572dff;},_0x5787(_0x47eb4a,_0x1546e1);}import{IconNextArrow as _0x2908d6,IconPreviousArrow as _0x5c1ee7}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x1f057c}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x434b0b}from'./aiballoondisclaimerview.js';import{getTranslation as _0x1cde32}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x526fc8(0xb9),_0x526fc8(0xb6),_0x526fc8(0x89),_0x526fc8(0xbb)];export class AIBalloonView extends _0x83eb64{[_0x526fc8(0xb3)];[_0x526fc8(0xa8)];[_0x526fc8(0x8a)];[_0x526fc8(0xc1)];[_0x526fc8(0x80)];constructor(_0x22f18b,_0x5d718f,_0x2a25a9,_0x4c0a82){const _0x2e13fe=_0x526fc8;super(_0x22f18b),this[_0x2e13fe(0xc1)]=_0x2a25a9,this[_0x2e13fe(0xad)](_0x2e13fe(0x9b),!0x1),this[_0x2e13fe(0xad)](_0x2e13fe(0x7f),_0x4c0a82),this[_0x2e13fe(0xb3)]=new _0x3bf4ed(),this[_0x2e13fe(0xa8)]=new _0x281ecc(),this[_0x2e13fe(0x80)]=this[_0x2e13fe(0xb5)](),this[_0x2e13fe(0x8a)]=new _0x35d088({'focusables':this[_0x2e13fe(0x80)],'focusTracker':this[_0x2e13fe(0xb3)],'keystrokeHandler':this[_0x2e13fe(0xa8)],'actions':{'focusPrevious':_0x2e13fe(0x96),'focusNext':_0x2e13fe(0xb8)}}),this[_0x2e13fe(0x8b)]=new _0x30634c(),this[_0x2e13fe(0xa3)](_0x5d718f[_0x2e13fe(0x9c)]),this[_0x2e13fe(0xbc)](),this[_0x2e13fe(0xbf)](_0x5d718f[_0x2e13fe(0x8c)],_0x5d718f[_0x2e13fe(0xaa)]),this[_0x2e13fe(0xb0)][_0x2e13fe(0x97)](_0x2e13fe(0x9b))['to'](this),this[_0x2e13fe(0x80)][_0x2e13fe(0xb2)](),this[_0x2e13fe(0x80)][_0x2e13fe(0xa2)]([this[_0x2e13fe(0xb0)]]),this[_0x2e13fe(0xa9)]({'tag':_0x2e13fe(0x8e),'attributes':{'class':_0x2e13fe(0xac)},'children':this[_0x2e13fe(0x8b)]}),this[_0x2e13fe(0x94)](this,_0x2e13fe(0xab),()=>{const _0x3c32ae=_0x2e13fe;this[_0x3c32ae(0x8b)][_0x3c32ae(0x93)](this[_0x3c32ae(0xb0)]),this[_0x3c32ae(0xbf)](_0x5d718f[_0x3c32ae(0x8c)],_0x5d718f[_0x3c32ae(0xaa)]);});}[_0x526fc8(0x9f)](){const _0x4caea7=_0x526fc8;super[_0x4caea7(0x9f)]();for(const _0x5d8381 of this[_0x4caea7(0x80)])this[_0x4caea7(0xb3)][_0x4caea7(0xbd)](_0x5d8381[_0x4caea7(0xaf)]);this[_0x4caea7(0xa8)][_0x4caea7(0x94)](this[_0x4caea7(0xaf)]);}[_0x526fc8(0x81)](_0x254c50){const _0x47fde1=_0x526fc8;-0x1===_0x254c50?this[_0x47fde1(0x8a)][_0x47fde1(0x91)]():this[_0x47fde1(0x8a)][_0x47fde1(0xba)]();}[_0x526fc8(0xa4)](){const _0x427bc0=_0x526fc8;this[_0x427bc0(0x9b)]=!0x0;}[_0x526fc8(0x85)](){const _0x57c55c=_0x526fc8;this[_0x57c55c(0x9b)]=!0x1;}[_0x526fc8(0x86)](_0x40573b){const _0x230ee6=_0x526fc8,_0x5375c4=this[_0x230ee6(0x83)](),_0x2aedb3=this[_0x230ee6(0xb1)]();_0x40573b[_0x230ee6(0x87)][_0x230ee6(0x88)][_0x230ee6(0x82)][_0x230ee6(0xbd)](_0x5375c4,0x2),_0x40573b[_0x230ee6(0x87)][_0x230ee6(0x88)][_0x230ee6(0x82)][_0x230ee6(0xbd)](_0x2aedb3,0x0),this[_0x230ee6(0x80)][_0x230ee6(0xa2)]([_0x5375c4,_0x2aedb3]),this[_0x230ee6(0xb3)][_0x230ee6(0xbd)](_0x5375c4[_0x230ee6(0xaf)]),this[_0x230ee6(0xb3)][_0x230ee6(0xbd)](_0x2aedb3[_0x230ee6(0xaf)]);}[_0x526fc8(0xa3)](_0x39a6cf){const _0x12549f=_0x526fc8;this[_0x12549f(0xb7)]=_0x39a6cf,this[_0x12549f(0x8b)][_0x12549f(0xbd)](this[_0x12549f(0xb7)]);}[_0x526fc8(0xbc)](){const _0x7d149b=_0x526fc8;this[_0x7d149b(0xc0)]=new _0x434b0b(this[_0x7d149b(0xa0)]),this[_0x7d149b(0x8b)][_0x7d149b(0xbd)](this[_0x7d149b(0xc0)]);}[_0x526fc8(0xbf)](_0x350836=!0x0,_0x58cdb5=!0x0){const _0x1025eb=_0x526fc8;_0x350836=_0x350836&&!this[_0x1025eb(0x7f)]&&this[_0x1025eb(0xc1)][_0x1025eb(0x8d)](_0x1025eb(0xb9)),_0x58cdb5=_0x58cdb5&&this[_0x1025eb(0xc1)][_0x1025eb(0x8d)](_0x1025eb(0xb6)),this[_0x1025eb(0xb0)]=new _0x1f057c(this[_0x1025eb(0xa0)],_0x350836,_0x58cdb5),this[_0x1025eb(0xb0)][_0x1025eb(0xa7)]?.['on'](_0x1025eb(0x8f),()=>{const _0x50d688=_0x1025eb;this[_0x50d688(0xbe)](_0x50d688(0xb9));}),this[_0x1025eb(0xb0)][_0x1025eb(0x99)]?.['on'](_0x1025eb(0x8f),()=>{const _0x4469f0=_0x1025eb;this[_0x4469f0(0xbe)](_0x4469f0(0xb6));}),this[_0x1025eb(0x8b)][_0x1025eb(0xbd)](this[_0x1025eb(0xb0)]);}[_0x526fc8(0x83)](){const _0x38f982=_0x526fc8,_0xa89a52=new _0x325dcc(this[_0x38f982(0xa0)]);return _0xa89a52[_0x38f982(0xad)]({'icon':_0x2908d6,'tooltip':_0x1cde32(this[_0x38f982(0xa0)],_0x38f982(0x9a))}),_0xa89a52['on'](_0x38f982(0x8f),()=>{const _0x19669f=_0x38f982;this[_0x19669f(0xbe)](_0x19669f(0x89));}),_0xa89a52;}[_0x526fc8(0xb1)](){const _0x46246b=_0x526fc8,_0x4528c2=new _0x325dcc(this[_0x46246b(0xa0)]);return _0x4528c2[_0x46246b(0xad)]({'icon':_0x5c1ee7,'tooltip':_0x1cde32(this[_0x46246b(0xa0)],_0x46246b(0x95))}),_0x4528c2['on'](_0x46246b(0x8f),()=>{const _0x46ec15=_0x46246b;this[_0x46ec15(0xbe)](_0x46ec15(0xbb));}),_0x4528c2;}}
23
+ const _0x2998cc=_0xa7c9;(function(_0x4fa813,_0x10aa1e){const _0x269acf=_0xa7c9,_0x53c113=_0x4fa813();while(!![]){try{const _0x39a46b=-parseInt(_0x269acf(0x217))/0x1+parseInt(_0x269acf(0x211))/0x2*(parseInt(_0x269acf(0x20b))/0x3)+-parseInt(_0x269acf(0x1e3))/0x4*(-parseInt(_0x269acf(0x1ed))/0x5)+parseInt(_0x269acf(0x1da))/0x6*(-parseInt(_0x269acf(0x1f8))/0x7)+-parseInt(_0x269acf(0x21c))/0x8*(-parseInt(_0x269acf(0x1f7))/0x9)+parseInt(_0x269acf(0x210))/0xa*(-parseInt(_0x269acf(0x1e0))/0xb)+-parseInt(_0x269acf(0x1d8))/0xc*(-parseInt(_0x269acf(0x1e2))/0xd);if(_0x39a46b===_0x10aa1e)break;else _0x53c113['push'](_0x53c113['shift']());}catch(_0x15854d){_0x53c113['push'](_0x53c113['shift']());}}}(_0x2a55,0x72459));import{ButtonView as _0x330873,View as _0x795a80,ViewCollection as _0x47b814,FocusCycler as _0x46cbcc}from'ckeditor5/src/ui.js';function _0xa7c9(_0x16ef03,_0x2eae8d){const _0x2a5580=_0x2a55();return _0xa7c9=function(_0xa7c9ff,_0x28a411){_0xa7c9ff=_0xa7c9ff-0x1d8;let _0x213ff6=_0x2a5580[_0xa7c9ff];return _0x213ff6;},_0xa7c9(_0x16ef03,_0x2eae8d);}import{FocusTracker as _0x32d079,KeystrokeHandler as _0x1da24c}from'ckeditor5/src/utils.js';function _0x2a55(){const _0x24b2dd=['45ralzlh','228473PoFwqD','insertSuggestion','focusCycler','focusLast','setLoading','focusFirst','_createNextButtonView','applySuggestion','shift\x20+\x20tab','children','createCollection','suggestButton','_addContentView','remove','listenTo','isLoading','execute','setTemplate','showNext','3AKZzEe','clear','_dropdownConfig','headerView','add','77830iCLdLm','864202GdaKEt','addMany','ai-balloon-content','focusTracker','focus','includes','416952exxHhg','_focusables','showSuggestButton','locale','applyButton','872432pXYqAr','748884GTJJzH','showApplyButton','132Ebasql','AI_BALLOON_PREVIOUS_TOOLTIP','_addDisclaimerView','div','bind','showPrevious','1243WQOMyO','AI_BALLOON_NEXT_TOOLTIP','130mhPsbZ','20jEguvL','isTrackChangesOn','render','mainView','_createPreviousButtonView','fire','set','clearLoading','setupRotator','keystrokes','881105HDBCNb','disclaimerView','_mainView','view','tab','_addToolbar','toolbar','_dialogContent','element','change:isTrackChangesOn'];_0x2a55=function(){return _0x24b2dd;};return _0x2a55();}import{IconNextArrow as _0x393c49,IconPreviousArrow as _0x24e1ff}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x457329}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x363168}from'./aiballoondisclaimerview.js';import{getTranslation as _0x18fbd8}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x2998cc(0x1ff),_0x2998cc(0x1f9),_0x2998cc(0x20a),_0x2998cc(0x1df)];export class AIBalloonView extends _0x795a80{[_0x2998cc(0x214)];[_0x2998cc(0x1ec)];[_0x2998cc(0x1fa)];[_0x2998cc(0x20d)];[_0x2998cc(0x218)];constructor(_0x2ac306,_0x5420ee,_0x56f271,_0x379f8e){const _0x585de6=_0x2998cc;super(_0x2ac306),this[_0x585de6(0x20d)]=_0x56f271,this[_0x585de6(0x1e9)](_0x585de6(0x207),!0x1),this[_0x585de6(0x1e9)](_0x585de6(0x1e4),_0x379f8e),this[_0x585de6(0x214)]=new _0x32d079(),this[_0x585de6(0x1ec)]=new _0x1da24c(),this[_0x585de6(0x218)]=this[_0x585de6(0x202)](),this[_0x585de6(0x1fa)]=new _0x46cbcc({'focusables':this[_0x585de6(0x218)],'focusTracker':this[_0x585de6(0x214)],'keystrokeHandler':this[_0x585de6(0x1ec)],'actions':{'focusPrevious':_0x585de6(0x200),'focusNext':_0x585de6(0x1f1)}}),this[_0x585de6(0x1f4)]=new _0x47b814(),this[_0x585de6(0x204)](_0x5420ee[_0x585de6(0x1e6)]),this[_0x585de6(0x1dc)](),this[_0x585de6(0x1f2)](_0x5420ee[_0x585de6(0x1d9)],_0x5420ee[_0x585de6(0x219)]),this[_0x585de6(0x1f3)][_0x585de6(0x1de)](_0x585de6(0x207))['to'](this),this[_0x585de6(0x218)][_0x585de6(0x20c)](),this[_0x585de6(0x218)][_0x585de6(0x212)]([this[_0x585de6(0x1f3)]]),this[_0x585de6(0x209)]({'tag':_0x585de6(0x1dd),'attributes':{'class':_0x585de6(0x213)},'children':this[_0x585de6(0x1f4)]}),this[_0x585de6(0x206)](this,_0x585de6(0x1f6),()=>{const _0x33889a=_0x585de6;this[_0x33889a(0x1f4)][_0x33889a(0x205)](this[_0x33889a(0x1f3)]),this[_0x33889a(0x1f2)](_0x5420ee[_0x33889a(0x1d9)],_0x5420ee[_0x33889a(0x219)]);});}[_0x2998cc(0x1e5)](){const _0x4eacea=_0x2998cc;super[_0x4eacea(0x1e5)]();for(const _0x3fe1b2 of this[_0x4eacea(0x218)])this[_0x4eacea(0x214)][_0x4eacea(0x20f)](_0x3fe1b2[_0x4eacea(0x1f5)]);this[_0x4eacea(0x1ec)][_0x4eacea(0x206)](this[_0x4eacea(0x1f5)]);}[_0x2998cc(0x215)](_0x5022c1){const _0x21cda1=_0x2998cc;-0x1===_0x5022c1?this[_0x21cda1(0x1fa)][_0x21cda1(0x1fb)]():this[_0x21cda1(0x1fa)][_0x21cda1(0x1fd)]();}[_0x2998cc(0x1fc)](){const _0x294b46=_0x2998cc;this[_0x294b46(0x207)]=!0x0;}[_0x2998cc(0x1ea)](){const _0x2f4c4f=_0x2998cc;this[_0x2f4c4f(0x207)]=!0x1;}[_0x2998cc(0x1eb)](_0x51f4c9){const _0x8e9917=_0x2998cc,_0x189840=this[_0x8e9917(0x1fe)](),_0x13499b=this[_0x8e9917(0x1e7)]();_0x51f4c9[_0x8e9917(0x1f0)][_0x8e9917(0x20e)][_0x8e9917(0x201)][_0x8e9917(0x20f)](_0x189840,0x2),_0x51f4c9[_0x8e9917(0x1f0)][_0x8e9917(0x20e)][_0x8e9917(0x201)][_0x8e9917(0x20f)](_0x13499b,0x0),this[_0x8e9917(0x218)][_0x8e9917(0x212)]([_0x189840,_0x13499b]),this[_0x8e9917(0x214)][_0x8e9917(0x20f)](_0x189840[_0x8e9917(0x1f5)]),this[_0x8e9917(0x214)][_0x8e9917(0x20f)](_0x13499b[_0x8e9917(0x1f5)]);}[_0x2998cc(0x204)](_0x2e3cfb){const _0x49b5c4=_0x2998cc;this[_0x49b5c4(0x1ef)]=_0x2e3cfb,this[_0x49b5c4(0x1f4)][_0x49b5c4(0x20f)](this[_0x49b5c4(0x1ef)]);}[_0x2998cc(0x1dc)](){const _0x5d632c=_0x2998cc;this[_0x5d632c(0x1ee)]=new _0x363168(this[_0x5d632c(0x21a)]),this[_0x5d632c(0x1f4)][_0x5d632c(0x20f)](this[_0x5d632c(0x1ee)]);}[_0x2998cc(0x1f2)](_0x2cdc5b=!0x0,_0xb6fc55=!0x0){const _0xcf8ff6=_0x2998cc;_0x2cdc5b=_0x2cdc5b&&!this[_0xcf8ff6(0x1e4)]&&this[_0xcf8ff6(0x20d)][_0xcf8ff6(0x216)](_0xcf8ff6(0x1ff)),_0xb6fc55=_0xb6fc55&&this[_0xcf8ff6(0x20d)][_0xcf8ff6(0x216)](_0xcf8ff6(0x1f9)),this[_0xcf8ff6(0x1f3)]=new _0x457329(this[_0xcf8ff6(0x21a)],_0x2cdc5b,_0xb6fc55),this[_0xcf8ff6(0x1f3)][_0xcf8ff6(0x21b)]?.['on'](_0xcf8ff6(0x208),()=>{const _0x2df644=_0xcf8ff6;this[_0x2df644(0x1e8)](_0x2df644(0x1ff));}),this[_0xcf8ff6(0x1f3)][_0xcf8ff6(0x203)]?.['on'](_0xcf8ff6(0x208),()=>{const _0x127823=_0xcf8ff6;this[_0x127823(0x1e8)](_0x127823(0x1f9));}),this[_0xcf8ff6(0x1f4)][_0xcf8ff6(0x20f)](this[_0xcf8ff6(0x1f3)]);}[_0x2998cc(0x1fe)](){const _0x2bf070=_0x2998cc,_0x79fd05=new _0x330873(this[_0x2bf070(0x21a)]);return _0x79fd05[_0x2bf070(0x1e9)]({'icon':_0x393c49,'tooltip':_0x18fbd8(this[_0x2bf070(0x21a)],_0x2bf070(0x1e1))}),_0x79fd05['on'](_0x2bf070(0x208),()=>{const _0x2f96c5=_0x2bf070;this[_0x2f96c5(0x1e8)](_0x2f96c5(0x20a));}),_0x79fd05;}[_0x2998cc(0x1e7)](){const _0x16fa6b=_0x2998cc,_0x3595ca=new _0x330873(this[_0x16fa6b(0x21a)]);return _0x3595ca[_0x16fa6b(0x1e9)]({'icon':_0x24e1ff,'tooltip':_0x18fbd8(this[_0x16fa6b(0x21a)],_0x16fa6b(0x1db))}),_0x3595ca['on'](_0x16fa6b(0x208),()=>{const _0x21d820=_0x16fa6b;this[_0x21d820(0x1e8)](_0x21d820(0x1df));}),_0x3595ca;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x202ae8=_0x3756;(function(_0x539d1b,_0x259473){const _0x4a40b7=_0x3756,_0x11bff2=_0x539d1b();while(!![]){try{const _0x469b0b=-parseInt(_0x4a40b7(0xb9))/0x1+-parseInt(_0x4a40b7(0xba))/0x2*(parseInt(_0x4a40b7(0xbf))/0x3)+-parseInt(_0x4a40b7(0xac))/0x4+-parseInt(_0x4a40b7(0xa8))/0x5*(-parseInt(_0x4a40b7(0xad))/0x6)+parseInt(_0x4a40b7(0xaf))/0x7*(-parseInt(_0x4a40b7(0xbe))/0x8)+-parseInt(_0x4a40b7(0xbc))/0x9*(parseInt(_0x4a40b7(0xb4))/0xa)+parseInt(_0x4a40b7(0xab))/0xb;if(_0x469b0b===_0x259473)break;else _0x11bff2['push'](_0x11bff2['shift']());}catch(_0x3e1849){_0x11bff2['push'](_0x11bff2['shift']());}}}(_0x2fbb,0x74407));import{ContextPlugin as _0x3f65bb}from'ckeditor5/src/core.js';function _0x2fbb(){const _0x104555=['1035rzUahU','define','4912Poivbl','1345746DENzfj','get','startConversation','plugins','removeSelectionFromChatContext','29030mMPixT','config','requires','34003079JOSMpk','3226300SgPqAS','138CkQSfc','sendMessage','8078HizncW','isOfficialPlugin','ai.chat.context','addSelectionToChatContext','context','11890AZZRaH','AIChat','ai.chat.models','focusPromptInput','isPremiumPlugin','199530VpdMiZ','4CrvMRm','pluginName'];_0x2fbb=function(){return _0x104555;};return _0x2fbb();}import{AIChatController as _0x4596cf}from'./aichatcontroller.js';import{AIEditing as _0x1cf308}from'../aicore/aiediting.js';import{AIChatUI as _0x3a1dd6}from'./aichatui.js';function _0x3756(_0x2fd741,_0x256ca9){const _0x2fbb83=_0x2fbb();return _0x3756=function(_0x3756a6,_0x94feee){_0x3756a6=_0x3756a6-0xa6;let _0x24ce30=_0x2fbb83[_0x3756a6];return _0x24ce30;},_0x3756(_0x2fd741,_0x256ca9);}import{AIChatHistory as _0x321d93}from'../aichathistory/aichathistory.js';export class AIChat extends _0x3f65bb{static get[_0x202ae8(0xaa)](){return[_0x4596cf,_0x1cf308,_0x3a1dd6,_0x321d93];}static get[_0x202ae8(0xbb)](){const _0x3886a6=_0x202ae8;return _0x3886a6(0xb5);}static get[_0x202ae8(0xb0)](){return!0x0;}static get[_0x202ae8(0xb8)](){return!0x0;}constructor(_0xfa5c39){const _0x253598=_0x202ae8;super(_0xfa5c39);const _0x12a07=_0xfa5c39[_0x253598(0xa9)];_0x12a07[_0x253598(0xbd)](_0x253598(0xb1),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),_0x12a07[_0x253598(0xbd)](_0x253598(0xb6),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x202ae8(0xb2)](){const _0x35b7da=_0x202ae8;await this[_0x35b7da(0xb3)][_0x35b7da(0xa6)][_0x35b7da(0xc0)](_0x4596cf)[_0x35b7da(0xb2)]();}async[_0x202ae8(0xc1)](){const _0x265b04=_0x202ae8;await this[_0x265b04(0xb3)][_0x265b04(0xa6)][_0x265b04(0xc0)](_0x4596cf)[_0x265b04(0xc1)]();}async[_0x202ae8(0xae)]({message:_0x786b32,quickActionData:_0x496423}){const _0xb44d6c=_0x202ae8;await this[_0xb44d6c(0xb3)][_0xb44d6c(0xa6)][_0xb44d6c(0xc0)](_0x4596cf)[_0xb44d6c(0xae)]({'message':_0x786b32,'quickActionData':_0x496423});}[_0x202ae8(0xa7)](){const _0x44c87e=_0x202ae8;this[_0x44c87e(0xb3)][_0x44c87e(0xa6)][_0x44c87e(0xc0)](_0x4596cf)[_0x44c87e(0xa7)]();}[_0x202ae8(0xb7)](){const _0x4e87d7=_0x202ae8;this[_0x4e87d7(0xb3)][_0x4e87d7(0xa6)][_0x4e87d7(0xc0)](_0x4596cf)[_0x4e87d7(0xb7)]();}}
23
+ const _0xbd8456=_0x1733;(function(_0x1f1fa8,_0x22732d){const _0x1ecf78=_0x1733,_0x3034e7=_0x1f1fa8();while(!![]){try{const _0x31ebc4=-parseInt(_0x1ecf78(0x163))/0x1+-parseInt(_0x1ecf78(0x15b))/0x2*(parseInt(_0x1ecf78(0x14f))/0x3)+-parseInt(_0x1ecf78(0x154))/0x4+-parseInt(_0x1ecf78(0x15e))/0x5+-parseInt(_0x1ecf78(0x166))/0x6+-parseInt(_0x1ecf78(0x152))/0x7*(-parseInt(_0x1ecf78(0x15d))/0x8)+parseInt(_0x1ecf78(0x164))/0x9*(parseInt(_0x1ecf78(0x153))/0xa);if(_0x31ebc4===_0x22732d)break;else _0x3034e7['push'](_0x3034e7['shift']());}catch(_0x4735a6){_0x3034e7['push'](_0x3034e7['shift']());}}}(_0x54bf,0x5ff8e));function _0x1733(_0x18e89b,_0x570aec){const _0x54bf63=_0x54bf();return _0x1733=function(_0x173342,_0x1dcf3f){_0x173342=_0x173342-0x14e;let _0x2a3f25=_0x54bf63[_0x173342];return _0x2a3f25;},_0x1733(_0x18e89b,_0x570aec);}import{ContextPlugin as _0x1cd626}from'ckeditor5/src/core.js';import{AIChatController as _0x3cd9f3}from'./aichatcontroller.js';import{AIEditing as _0xc65e93}from'../aicore/aiediting.js';function _0x54bf(){const _0x442f65=['152214fwOGOt','get','56QSTKdI','796915DvOcdP','ai.chat.context','pluginName','config','requires','186818BQQSBB','39456qwiOTB','isOfficialPlugin','1317282QAlrPE','context','focusPromptInput','sendMessage','3snFEKr','ai.chat.models','define','4382LiMyOA','4090PYeOIQ','3049924AjqKgB','addSelectionToChatContext','removeSelectionFromChatContext','startConversation','AIChat','plugins','isPremiumPlugin'];_0x54bf=function(){return _0x442f65;};return _0x54bf();}import{AIChatUI as _0x41a699}from'./aichatui.js';import{AIChatHistory as _0x156ccf}from'../aichathistory/aichathistory.js';export class AIChat extends _0x1cd626{static get[_0xbd8456(0x162)](){return[_0x3cd9f3,_0xc65e93,_0x41a699,_0x156ccf];}static get[_0xbd8456(0x160)](){const _0x116d42=_0xbd8456;return _0x116d42(0x158);}static get[_0xbd8456(0x165)](){return!0x0;}static get[_0xbd8456(0x15a)](){return!0x0;}constructor(_0x1eb97b){const _0x76c9b6=_0xbd8456;super(_0x1eb97b);const _0x3b20a3=_0x1eb97b[_0x76c9b6(0x161)];_0x3b20a3[_0x76c9b6(0x151)](_0x76c9b6(0x15f),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),_0x3b20a3[_0x76c9b6(0x151)](_0x76c9b6(0x150),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0xbd8456(0x155)](){const _0x3a6905=_0xbd8456;await this[_0x3a6905(0x167)][_0x3a6905(0x159)][_0x3a6905(0x15c)](_0x3cd9f3)[_0x3a6905(0x155)]();}async[_0xbd8456(0x157)](){const _0x11aea8=_0xbd8456;await this[_0x11aea8(0x167)][_0x11aea8(0x159)][_0x11aea8(0x15c)](_0x3cd9f3)[_0x11aea8(0x157)]();}async[_0xbd8456(0x14e)]({message:_0x3cbba0,quickActionData:_0x92c90a}){const _0x5bd349=_0xbd8456;await this[_0x5bd349(0x167)][_0x5bd349(0x159)][_0x5bd349(0x15c)](_0x3cd9f3)[_0x5bd349(0x14e)]({'message':_0x3cbba0,'quickActionData':_0x92c90a});}[_0xbd8456(0x156)](){const _0xe4a993=_0xbd8456;this[_0xe4a993(0x167)][_0xe4a993(0x159)][_0xe4a993(0x15c)](_0x3cd9f3)[_0xe4a993(0x156)]();}[_0xbd8456(0x168)](){const _0x9e0481=_0xbd8456;this[_0x9e0481(0x167)][_0x9e0481(0x159)][_0x9e0481(0x15c)](_0x3cd9f3)[_0x9e0481(0x168)]();}}