@ckeditor/ckeditor5-ai 47.6.0-alpha.9 → 47.6.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 (98) 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/aiadapter.js +1 -1
  7. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  8. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  9. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  10. package/src/aiassistant/aiassistant.js +1 -1
  11. package/src/aiassistant/aiassistantediting.js +1 -1
  12. package/src/aiassistant/aiassistantui.js +1 -1
  13. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  14. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  15. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  16. package/src/aiassistant/ui/form/aiformview.js +1 -1
  17. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  18. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  19. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  20. package/src/aiballoon/aiballoon.js +1 -1
  21. package/src/aichat/aichat.js +1 -1
  22. package/src/aichat/aichatballoon.js +1 -1
  23. package/src/aichat/aichatcontroller.js +1 -1
  24. package/src/aichat/aichatui.js +1 -1
  25. package/src/aichat/model/aichatcontext.js +1 -1
  26. package/src/aichat/ui/aichatballoonview.js +1 -1
  27. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  28. package/src/aichat/ui/aichatheaderview.js +1 -1
  29. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  30. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  31. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  32. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  33. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  34. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  35. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  36. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  37. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  38. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  39. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  40. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  41. package/src/aichathistory/aichathistory.js +1 -1
  42. package/src/aichathistory/aichathistorycontroller.js +1 -1
  43. package/src/aichathistory/aichathistoryui.js +1 -1
  44. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  45. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  46. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  47. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  48. package/src/aicore/aiconnector.js +1 -1
  49. package/src/aicore/aiediting.js +1 -1
  50. package/src/aicore/model/aiinteraction.js +1 -1
  51. package/src/aicore/model/aimodels.js +1 -1
  52. package/src/aicore/model/aireply.js +1 -1
  53. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  54. package/src/aicore/ui/aidisclaimerview.js +1 -1
  55. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  56. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  57. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  58. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  59. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  60. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  61. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  62. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  63. package/src/aicore/utils/createresizebutton.js +1 -1
  64. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  65. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  66. package/src/aieditorintegration/aieditorintegration.js +1 -1
  67. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  68. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  69. package/src/aiquickactions/aiquickactions.js +1 -1
  70. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  71. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  72. package/src/aiquickactions/aiquickactionsui.js +1 -1
  73. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  74. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  75. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  76. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  77. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  78. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  79. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  80. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  81. package/src/aireviewcore/aireviewcoreui.js +1 -1
  82. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  83. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  84. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  85. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  86. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  87. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  88. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  89. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  90. package/src/aireviewmode/aireviewmode.js +1 -1
  91. package/src/aireviewmode/aireviewmodeui.js +1 -1
  92. package/src/aitabs/aitabs.js +1 -1
  93. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  94. package/src/aitranslate/aitranslate.js +1 -1
  95. package/src/aitranslate/aitranslatecontroller.js +1 -1
  96. package/src/aitranslate/aitranslateui.js +1 -1
  97. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  98. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a4eb5=_0x45de;(function(_0xca0d88,_0x37bf28){const _0x53f1fe=_0x45de,_0x2b0cae=_0xca0d88();while(!![]){try{const _0xd368d4=-parseInt(_0x53f1fe(0xe3))/0x1+-parseInt(_0x53f1fe(0xf7))/0x2*(-parseInt(_0x53f1fe(0x10e))/0x3)+-parseInt(_0x53f1fe(0x13e))/0x4*(parseInt(_0x53f1fe(0x110))/0x5)+-parseInt(_0x53f1fe(0x137))/0x6+-parseInt(_0x53f1fe(0x101))/0x7*(parseInt(_0x53f1fe(0xf6))/0x8)+parseInt(_0x53f1fe(0x13c))/0x9+parseInt(_0x53f1fe(0x120))/0xa;if(_0xd368d4===_0x37bf28)break;else _0x2b0cae['push'](_0x2b0cae['shift']());}catch(_0xac773a){_0x2b0cae['push'](_0x2b0cae['shift']());}}}(_0x49ad,0x46257));import{uid as _0x19444b}from'ckeditor5/src/utils.js';function _0x45de(_0x422f93,_0x2ced2d){const _0x49ad98=_0x49ad();return _0x45de=function(_0x45de04,_0x49a1c8){_0x45de04=_0x45de04-0xd2;let _0x461583=_0x49ad98[_0x45de04];return _0x461583;},_0x45de(_0x422f93,_0x2ced2d);}function _0x49ad(){const _0x52171c=['has','editingDowncast','fromCharCode','forEach','findAncestor','ck-ai-assistant-ui_theme','getRows','setData','getRange','selection','href','insertContentBelow','639880hngCiX','14paOkqV','canEditAt','getSelectedTableCells','getLastMatchingPosition','isCollapsed','hideFakeVisualSelection','start','getSelectedBlocks','ai.assistant.useTheme','table','28JZFPEL','createPositionAt','showFakeVisualSelection','getChildren','from','createRange','element','getRowIndexes','filter','for','once','span','getRanges','146082PrONFV','contentInsertion','1630660AQiUVK','end','join','getColumnIndexes','fire','createUIElement','data','parse','markerRange','change','ai-ui','editor','insertContent','getChild','markerToHighlight','getLastPosition','7410880ItUtTE','off','updateMarker','_getTableRowCountFromContent','_createEmptyTableRows','first','DataTransfer','pop','createSelection','get','model','pluginName','map','editing','_getDefaultInsertBelowPosition','setSelection','isOfficialPlugin','schema','push','config','createPositionAfter','plugins','markers','2961840uoaMAx','afterInit','_pasteHTMLUsingClipboard','ck-fake-ai-selection_collapsed','AIAssistantEditing','4592502XOjzKK','document','4cHyEnV','text/html','addClass','ck-fake-ai-selection','_getAISelection','TableUtils','markerToElement','getMarkersGroup','removeMarker','resultRange','addMarker','length','isAtEnd','_prepareTableInsertBelowPosition','isContent','init','deleteContent','paste','isPremiumPlugin','165193bEpYNo','_resetContentOfSelectedTableCells','insertRows','conversion','getFirstRange','lowest','last'];_0x49ad=function(){return _0x52171c;};return _0x49ad();}import{Plugin as _0x29b6f1}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2df533}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x10f46a,ViewDataTransfer as _0x79d440}from'ckeditor5/src/engine.js';const w=globalThis[_0x5a4eb5(0x126)],f=_0x5a4eb5(0x11a);export class AIAssistantEditing extends _0x29b6f1{static get[_0x5a4eb5(0x12b)](){const _0x4901d6=_0x5a4eb5;return _0x4901d6(0x13b);}static get[_0x5a4eb5(0x130)](){return!0x0;}static get[_0x5a4eb5(0xe2)](){return!0x0;}[_0x5a4eb5(0xdf)](){const _0x3f4400=_0x5a4eb5,{editor:_0x28b0a2}=this,_0x3a6b2f=[_0x3f4400(0xd3)];_0x28b0a2[_0x3f4400(0x133)][_0x3f4400(0x129)](_0x3f4400(0xff))&&_0x3a6b2f[_0x3f4400(0x132)](_0x3f4400(0xef)),_0x28b0a2[_0x3f4400(0xe6)][_0x3f4400(0x10a)](_0x3f4400(0xeb))[_0x3f4400(0x11e)]({'model':f,'view':{'classes':_0x3a6b2f,'priority':0xc}}),_0x28b0a2[_0x3f4400(0xe6)][_0x3f4400(0x10a)](_0x3f4400(0xeb))[_0x3f4400(0xd6)]({'model':f,'view':(_0x5b3f44,{writer:_0x20775c})=>{const _0x21960f=_0x3f4400;if(!_0x5b3f44[_0x21960f(0x118)][_0x21960f(0xfb)])return null;const _0x5e34c2=_0x20775c[_0x21960f(0x115)](_0x21960f(0x10c));return _0x20775c[_0x21960f(0xd2)]([_0x21960f(0xd3),_0x21960f(0x13a)],_0x5e34c2),_0x5e34c2;}});}[_0x5a4eb5(0x138)](){!async function(_0x27a8ce){const _0x46b926=_0x35938e([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x192c07=0x3dffc4e1,_0x12f8c0=0x3df84781^_0x192c07,_0x5df4f5=window[_0x35938e([0x44,0x61,0x74,0x65])][_0x35938e([0x6e,0x6f,0x77])](),_0x1a5c09=_0x27a8ce[_0x35938e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e6370=new window[(_0x35938e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a98f8=>{_0x1a5c09[_0x35938e([0x6f,0x6e,0x63,0x65])](_0x35938e([0x72,0x65,0x61,0x64,0x79]),_0x2a98f8);}),_0x7c457d={[_0x35938e([0x6b,0x74,0x79])]:_0x35938e([0x45,0x43]),[_0x35938e([0x75,0x73,0x65])]:_0x35938e([0x73,0x69,0x67]),[_0x35938e([0x63,0x72,0x76])]:_0x35938e([0x50,0x2d,0x32,0x35,0x36]),[_0x35938e([0x78])]:_0x35938e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x35938e([0x79])]:_0x35938e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x35938e([0x61,0x6c,0x67])]:_0x35938e([0x45,0x53,0x32,0x35,0x36])},_0x2329c6=_0x1a5c09[_0x35938e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35938e([0x67,0x65,0x74])](_0x35938e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x25258d(){let _0x326b30,_0x33810b=null,_0x4d1394=null;try{if(_0x2329c6==_0x35938e([0x47,0x50,0x4c]))return _0x35938e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x326b30=_0x594dcb(),!_0x326b30)return _0x35938e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x326b30[_0x35938e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d1394=_0xcaf122(_0x326b30[_0x35938e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x326b30[_0x35938e([0x6a,0x74,0x69])])),await _0x2d0a26()?_0x58cecf()?_0x1cddf6()?_0x35938e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x534fa7()?(_0x326b30[_0x35938e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35938e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x33810b=_0x5dd1d4(_0x35938e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21bbbf()):_0x35938e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35938e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35938e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x35938e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1cddf6(){const _0x5b0b7f=[_0x35938e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35938e([0x74,0x72,0x69,0x61,0x6c])][_0x35938e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326b30[_0x35938e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5df4f5/0x3e8:0xe10*_0x12f8c0;return _0x326b30[_0x35938e([0x65,0x78,0x70])]<_0x5b0b7f;}function _0x58cecf(){const _0x36985c=_0x326b30[_0x35938e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x36985c&&(!!_0x36985c[_0x35938e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35938e([0x2a]))||!!_0x36985c[_0x35938e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35938e([0x41,0x49])));}function _0x534fa7(){const _0x210c9c=_0x45de,_0x1671dc=_0x326b30[_0x35938e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1671dc||0x0==_0x1671dc[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x17b279}=new URL(window[_0x35938e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x210c9c(0xf4)]);if(_0x1671dc[_0x35938e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17b279))return!0x0;const _0x51856a=_0x17b279[_0x35938e([0x73,0x70,0x6c,0x69,0x74])](_0x35938e([0x2e]));return _0x1671dc[_0x35938e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b8c25=>_0x4b8c25[_0x35938e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35938e([0x2a])))[_0x35938e([0x6d,0x61,0x70])](_0x40d923=>_0x40d923[_0x35938e([0x73,0x70,0x6c,0x69,0x74])](_0x35938e([0x2e])))[_0x35938e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ca2eb=>_0x2ca2eb[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x51856a[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35938e([0x6d,0x61,0x70])](_0x146acb=>Array(_0x51856a[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x146acb[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35938e([0x66,0x69,0x6c,0x6c])](_0x146acb[0x0]===_0x35938e([0x2a])?_0x35938e([0x2a]):'')[_0x35938e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x146acb))[_0x35938e([0x73,0x6f,0x6d,0x65])](_0x5237a3=>_0x51856a[_0x35938e([0x65,0x76,0x65,0x72,0x79])]((_0x30428a,_0x5ab5eb)=>_0x5237a3[_0x5ab5eb]===_0x30428a||_0x5237a3[_0x5ab5eb]===_0x35938e([0x2a])));}function _0x21bbbf(){return _0x33810b&&_0x4d1394?new window[(_0x35938e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b9989,_0x2cfffc)=>{_0x33810b[_0x35938e([0x74,0x68,0x65,0x6e])](_0x1b9989,_0x2cfffc),_0x4d1394[_0x35938e([0x74,0x68,0x65,0x6e])](_0x464332=>{_0x464332!=_0x35938e([0x56,0x61,0x6c,0x69,0x64])&&_0x1b9989(_0x464332);},_0x2cfffc);}):_0x33810b||_0x4d1394||_0x35938e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcaf122(_0x2ec2c4,_0x16eece){return new window[(_0x35938e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2077f1=>{if(_0x3f2b8e())return _0x2077f1(_0x35938e([0x56,0x61,0x6c,0x69,0x64]));_0x4b4e2b(),_0x1a5c09[_0x35938e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35938e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3cfbd9=!0x1;const _0x1b04f4=_0x19444b();function _0x5ad29a(_0x33457d){return!!_0x33457d&&(typeof _0x33457d===_0x35938e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x33457d===_0x35938e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x33457d[_0x35938e([0x74,0x68,0x65,0x6e])]===_0x35938e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x33457d[_0x35938e([0x63,0x61,0x74,0x63,0x68])]===_0x35938e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x165bbd(_0x5baee5){_0x1507e9(_0x5baee5)[_0x35938e([0x74,0x68,0x65,0x6e])](_0x515e00=>{if(!_0x515e00||_0x515e00[_0x35938e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35938e([0x6f,0x6b]))return _0x35938e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x479a01(_0x20def2(_0x1b04f4+_0x16eece))!=_0x515e00[_0x35938e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35938e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35938e([0x56,0x61,0x6c,0x69,0x64]);})[_0x35938e([0x74,0x68,0x65,0x6e])](_0x2801c6=>(_0x4bdac0(),_0x2801c6),()=>{const _0x4e9c2e=_0x2e1caf();return null==_0x4e9c2e?(_0x4bdac0(),_0x35938e([0x56,0x61,0x6c,0x69,0x64])):_0x35938e(_0x5df4f5-_0x4e9c2e>(0x19f340e1^_0x192c07)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35938e([0x74,0x68,0x65,0x6e])](_0x2077f1)[_0x35938e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2077f1(_0x35938e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11a4b7=0x3dc92a61^_0x192c07;function _0x4bdac0(){const _0x4af968=_0x35938e([0x6c,0x6c,0x63,0x74,0x2d])+_0x479a01(_0x20def2(_0x2ec2c4)),_0x440106=_0x510d87(_0x479a01(window[_0x35938e([0x4d,0x61,0x74,0x68])][_0x35938e([0x63,0x65,0x69,0x6c])](_0x5df4f5/_0x11a4b7)));window[_0x35938e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35938e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4af968,_0x440106);}function _0x2e1caf(){const _0x3eebfa=_0x35938e([0x6c,0x6c,0x63,0x74,0x2d])+_0x479a01(_0x20def2(_0x2ec2c4)),_0xc30981=window[_0x35938e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35938e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3eebfa);return _0xc30981?window[_0x35938e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x510d87(_0xc30981),0x10)*_0x11a4b7:null;}function _0x1507e9(_0x3ab42d){return new window[(_0x35938e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25ef9f,_0x1cbd66)=>{_0x3ab42d[_0x35938e([0x74,0x68,0x65,0x6e])](_0x25ef9f,_0x1cbd66),window[_0x35938e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1cbd66,0x3dfe1021^_0x192c07);});}}_0x1a5c09[_0x35938e([0x6f,0x6e])](_0x35938e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4bd7ee,_0xae4925)=>{if(_0xae4925[0x0]!=_0x2ec2c4)return _0x2077f1(_0x35938e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xae4925[0x1]={..._0xae4925[0x1],[_0x35938e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b04f4};},{[_0x35938e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35938e([0x68,0x69,0x67,0x68])}),_0x1a5c09[_0x35938e([0x6f,0x6e])](_0x35938e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xeec52d=>{_0x5ad29a(_0xeec52d[_0x35938e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3cfbd9=!0x0,_0x165bbd(_0xeec52d[_0x35938e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35938e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35938e([0x6c,0x6f,0x77])}),_0x5e6370[_0x35938e([0x74,0x68,0x65,0x6e])](()=>{_0x3cfbd9||_0x2077f1(_0x35938e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f2b8e(){return _0x1a5c09[_0x35938e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35938e([0x76,0x69,0x65,0x77])][_0x35938e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35938e([0x61,0x75,0x74,0x6f]);}function _0x4b4e2b(){_0x1a5c09[_0x35938e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35938e([0x76,0x69,0x65,0x77])][_0x35938e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35938e([0x61,0x75,0x74,0x6f]);}}function _0x5dd1d4(_0x36b028){const _0x38f496=[new window[(_0x35938e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35efba=>setTimeout(_0x35efba,0x3df6fa2d^_0x192c07)),_0x5e6370[_0x35938e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35938e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe8b1da=>{let _0x3116fb=0x0;_0x1a5c09[_0x35938e([0x6d,0x6f,0x64,0x65,0x6c])][_0x35938e([0x6f,0x6e])](_0x35938e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b8102,_0x370a8d)=>{_0x370a8d[0x0][_0x35938e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3116fb++,_0x3116fb==(0x3dffc109^_0x192c07)&&(_0xe8b1da(),_0x3b8102[_0x35938e([0x6f,0x66,0x66])]());});}))];return window[_0x35938e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35938e([0x72,0x61,0x63,0x65])](_0x38f496)[_0x35938e([0x74,0x68,0x65,0x6e])](()=>_0x36b028);}async function _0x70188f(){await _0x5e6370,_0x1a5c09[_0x35938e([0x6d,0x6f,0x64,0x65,0x6c])][_0x35938e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e94a1,_0x1a5c09[_0x35938e([0x6d,0x6f,0x64,0x65,0x6c])][_0x35938e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e94a1,_0x1a5c09[_0x35938e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35938e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb12b01(_0x360be5){const _0x4163c6=_0x210e22();_0x1a5c09[_0x4163c6]=_0x35938e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x360be5,_0x360be5!=_0x35938e([0x56,0x61,0x6c,0x69,0x64])&&_0x70188f();}function _0x210e22(){const _0x46afe7=window[_0x35938e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35938e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35938e([0x6e,0x6f,0x77])]())[_0x35938e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35938e([0x2e]),'');let _0x40dc7a=_0x35938e([0x6e]);for(let _0x842a87=0x0;_0x842a87<_0x46afe7[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x842a87+=0x2){let _0x2ab4d5=window[_0x35938e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46afe7[_0x35938e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x842a87,_0x842a87+0x2));_0x2ab4d5>=_0x46b926[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ab4d5-=_0x46b926[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40dc7a+=_0x46b926[_0x2ab4d5];}return _0x40dc7a;}function _0x594dcb(){const _0x45fa11=_0x2329c6[_0x35938e([0x73,0x70,0x6c,0x69,0x74])](_0x35938e([0x2e]));if(0x3!=_0x45fa11[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15694d(_0x45fa11[0x1]);function _0x15694d(_0x2659b1){const _0x10b59c=_0x55d8e9(_0x2659b1);return _0x10b59c&&_0x261d38()?_0x10b59c:null;function _0x261d38(){const _0x26a936=_0x10b59c[_0x35938e([0x6a,0x74,0x69])],_0x3e951f=window[_0x35938e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26a936[_0x35938e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26a936[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x8bdb77={..._0x10b59c,[_0x35938e([0x6a,0x74,0x69])]:_0x26a936[_0x35938e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26a936[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x8bdb77[_0x35938e([0x76,0x63])],_0x20def2(_0x8bdb77)==_0x3e951f;}}}async function _0x2d0a26(){let _0x1d4ee9=!0x0;try{const _0x4fc80a=_0x2329c6[_0x35938e([0x73,0x70,0x6c,0x69,0x74])](_0x35938e([0x2e])),[_0x3e92b6,_0x21e298,_0x2b244f]=_0x4fc80a;return _0x4806b5(_0x3e92b6),await _0xb45e96(_0x3e92b6,_0x21e298,_0x2b244f),_0x1d4ee9;}catch{return!0x1;}function _0x4806b5(_0x549fd4){const _0x57b030=_0x55d8e9(_0x549fd4);_0x57b030&&_0x57b030[_0x35938e([0x61,0x6c,0x67])]==_0x35938e([0x45,0x53,0x32,0x35,0x36])||(_0x1d4ee9=!0x1);}async function _0xb45e96(_0x2e5675,_0x33a40e,_0x29da1a){const _0x195507=window[_0x35938e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35938e([0x66,0x72,0x6f,0x6d])](_0x2b3c8d(_0x29da1a),_0x45dd71=>_0x45dd71[_0x35938e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x365278=new window[(_0x35938e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35938e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2e5675+_0x35938e([0x2e])+_0x33a40e),_0x2ca556=window[_0x35938e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35938e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ca556)return;const _0x5a79b4=await _0x2ca556[_0x35938e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35938e([0x6a,0x77,0x6b]),_0x7c457d,{[_0x35938e([0x6e,0x61,0x6d,0x65])]:_0x35938e([0x45,0x43,0x44,0x53,0x41]),[_0x35938e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35938e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35938e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ca556[_0x35938e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35938e([0x6e,0x61,0x6d,0x65])]:_0x35938e([0x45,0x43,0x44,0x53,0x41]),[_0x35938e([0x68,0x61,0x73,0x68])]:{[_0x35938e([0x6e,0x61,0x6d,0x65])]:_0x35938e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a79b4,_0x195507,_0x365278)||(_0x1d4ee9=!0x1);}}function _0x55d8e9(_0x27edcb){return _0x27edcb[_0x35938e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35938e([0x65,0x79]))?JSON[_0x35938e([0x70,0x61,0x72,0x73,0x65])](_0x2b3c8d(_0x27edcb)):null;}function _0x2b3c8d(_0x1f4fbc){return window[_0x35938e([0x61,0x74,0x6f,0x62])](_0x1f4fbc[_0x35938e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35938e([0x2b]))[_0x35938e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35938e([0x2f])));}function _0x20def2(_0xc961ac){let _0x135170=0x1505;function _0x23e50b(_0x2773ad){for(let _0x41b54a=0x0;_0x41b54a<_0x2773ad[_0x35938e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41b54a++){const _0x4756e1=_0x2773ad[_0x35938e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x41b54a);_0x135170=(_0x135170<<0x5)+_0x135170+_0x4756e1,_0x135170&=_0x135170;}}function _0x30912c(_0x17f81f){Array[_0x35938e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17f81f)?_0x17f81f[_0x35938e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30912c):_0x17f81f&&typeof _0x17f81f==_0x35938e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35938e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17f81f)[_0x35938e([0x73,0x6f,0x72,0x74])]()[_0x35938e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f0c22,_0x19ff7e])=>{_0x23e50b(_0x3f0c22),_0x30912c(_0x19ff7e);}):_0x23e50b(window[_0x35938e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17f81f));}return _0x30912c(_0xc961ac),_0x135170>>>0x0;}function _0x479a01(_0x1158a5){return _0x1158a5[_0x35938e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35938e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35938e([0x30]));}function _0x510d87(_0x138f4f){return _0x138f4f[_0x35938e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35938e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35938e([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e94a1(){}function _0x35938e(_0x413999){const _0x5ea745=_0x45de;return _0x413999[_0x5ea745(0x12c)](_0x23d05f=>String[_0x5ea745(0xec)](_0x23d05f))[_0x5ea745(0x112)]('');}_0xb12b01(await _0x25258d());}(this);}[_0x5a4eb5(0x103)](){const _0x366bab=_0x5a4eb5,_0xb96411=this[_0x366bab(0x11b)][_0x366bab(0x12a)];_0xb96411[_0x366bab(0x119)](_0x4e39b2=>{const _0x331ef8=_0x366bab,_0x59f110=_0xb96411[_0x331ef8(0x13d)][_0x331ef8(0xf3)][_0x331ef8(0x10d)]();let _0x1cb117=0x0;for(const _0x4f9766 of _0x59f110){const _0x562498=f+':'+_0x1cb117;if(_0xb96411[_0x331ef8(0x136)][_0x331ef8(0xea)](_0x562498))_0x4e39b2[_0x331ef8(0x122)](_0x562498,{'range':_0x4f9766});else{if(_0x4f9766[_0x331ef8(0xfd)][_0x331ef8(0xdc)]){const _0x518969=_0x4f9766[_0x331ef8(0xfd)][_0x331ef8(0xfa)](({item:_0x773693})=>!_0xb96411[_0x331ef8(0x131)][_0x331ef8(0xde)](_0x773693),{'boundaries':_0x4f9766});_0x4e39b2[_0x331ef8(0xda)](_0x562498,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4e39b2[_0x331ef8(0x106)](_0x518969,_0x4f9766[_0x331ef8(0x111)])});}else _0x4e39b2[_0x331ef8(0xda)](_0x562498,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4f9766});}_0x1cb117++;}});}[_0x5a4eb5(0xfc)](){const _0x208159=_0x5a4eb5,_0x4b26de=this[_0x208159(0x11b)][_0x208159(0x12a)],_0x346d7b=Array[_0x208159(0x105)](this[_0x208159(0x11b)][_0x208159(0x12a)][_0x208159(0x136)][_0x208159(0xd7)](f));_0x346d7b[_0x208159(0xdb)]&&_0x4b26de[_0x208159(0x119)](_0x1a8ed3=>{const _0x502d79=_0x208159;_0x346d7b[_0x502d79(0xed)](_0x2e54e6=>{const _0x57d349=_0x502d79;_0x1a8ed3[_0x57d349(0xd8)](_0x2e54e6);});});}[_0x5a4eb5(0x11c)](_0x36f56a,_0x57d9ef){const _0x4e8019=_0x5a4eb5,_0xd4444a=this[_0x4e8019(0xd4)](),_0x5560ab=_0x57d9ef||_0xd4444a[_0x4e8019(0xe7)]();this[_0x4e8019(0x11b)][_0x4e8019(0x12a)][_0x4e8019(0xf8)](_0x5560ab)&&this[_0x4e8019(0x11b)][_0x4e8019(0x12a)][_0x4e8019(0x119)](_0x56a8df=>{const _0x2b2647=_0x4e8019;this[_0x2b2647(0xfc)](),_0x57d9ef||this[_0x2b2647(0xe4)](_0x56a8df,_0xd4444a),this[_0x2b2647(0x139)]({'insertAt':_0x5560ab,'writer':_0x56a8df,'html':_0x36f56a});});}[_0x5a4eb5(0xf5)](_0x31b337){const _0x3cad56=_0x5a4eb5,{model:_0x13e57e}=this[_0x3cad56(0x11b)],_0x5e9824=this[_0x3cad56(0xd4)]();_0x13e57e[_0x3cad56(0x119)](()=>{const _0x3c3342=_0x3cad56,_0x41a492=this[_0x3c3342(0xdd)](_0x31b337,_0x5e9824)||this[_0x3c3342(0x12e)](_0x5e9824);this[_0x3c3342(0x11c)](_0x31b337,_0x41a492);});}[_0x5a4eb5(0xd4)](){const _0x20593f=_0x5a4eb5,_0x28a4af=this[_0x20593f(0x11b)][_0x20593f(0x12a)],_0x306843=Array[_0x20593f(0x105)](_0x28a4af[_0x20593f(0x136)][_0x20593f(0xd7)](f))[_0x20593f(0x12c)](_0x309775=>_0x309775[_0x20593f(0xf2)]());return _0x28a4af[_0x20593f(0x128)](_0x306843);}[_0x5a4eb5(0x139)]({writer:_0xed2815,html:_0x54ef88,insertAt:_0x1032ae}){const _0x9fc36e=_0x5a4eb5,{view:_0x5358a1}=this[_0x9fc36e(0x11b)][_0x9fc36e(0x12d)],_0x9e232e=this[_0x9fc36e(0x11b)][_0x9fc36e(0x135)][_0x9fc36e(0x129)](_0x2df533),_0x14abf8=new w();_0x14abf8[_0x9fc36e(0xf1)](_0x9fc36e(0x13f),_0x54ef88);const _0x1f1be5=new ClipboardEvent(_0x9fc36e(0xe1),{'clipboardData':_0x14abf8}),_0x3c089=new _0x10f46a(_0x5358a1,_0x1f1be5,{'dataTransfer':new _0x79d440(_0x14abf8)});_0xed2815[_0x9fc36e(0x12f)](_0x1032ae);const _0x3669bc=(_0x5429ae,_0x260027)=>{const _0x1986c7=_0x9fc36e;_0x260027[_0x1986c7(0xd9)]&&_0xed2815[_0x1986c7(0x12f)](_0x260027[_0x1986c7(0xd9)]);};_0x9e232e[_0x9fc36e(0x10b)](_0x9fc36e(0x10f),_0x3669bc,{'priority':_0x9fc36e(0xe8)}),_0x5358a1[_0x9fc36e(0x13d)][_0x9fc36e(0x114)](_0x9fc36e(0xe1),_0x3c089),_0x9e232e[_0x9fc36e(0x121)](_0x9fc36e(0x10f),_0x3669bc);}[_0x5a4eb5(0x12e)](_0x5caaee){const _0x5e08b4=_0x5a4eb5,{model:_0x2dd1bf}=this[_0x5e08b4(0x11b)],_0x57f27e=Array[_0x5e08b4(0x105)](_0x5caaee[_0x5e08b4(0xfe)]());return _0x57f27e[_0x5e08b4(0xdb)]?_0x2dd1bf[_0x5e08b4(0x134)](_0x57f27e[_0x5e08b4(0x127)]()):_0x5caaee[_0x5e08b4(0x11f)]();}[_0x5a4eb5(0xdd)](_0x19b5fc,_0x521fd1){const _0x44d6da=_0x5a4eb5,{model:_0x34b95a,plugins:_0x41d1ea}=this[_0x44d6da(0x11b)];if(_0x41d1ea[_0x44d6da(0xea)](_0x44d6da(0xd5))){const _0x57b69c=_0x41d1ea[_0x44d6da(0x129)](_0x44d6da(0xd5))[_0x44d6da(0xf9)](_0x521fd1);if(_0x57b69c[_0x44d6da(0xdb)]){const _0x399a9f=this[_0x44d6da(0x123)](_0x19b5fc),_0xb04710=this[_0x44d6da(0x124)](_0x57b69c,_0x399a9f);return _0x34b95a[_0x44d6da(0x102)](_0xb04710,0x0);}}return null;}[_0x5a4eb5(0x123)](_0x20532b){const _0x1584ff=_0x5a4eb5,_0x44378f=this[_0x1584ff(0x11b)][_0x1584ff(0x135)][_0x1584ff(0x129)](_0x1584ff(0xd5)),_0x50f284=this[_0x1584ff(0x11b)][_0x1584ff(0x116)][_0x1584ff(0x117)](_0x20532b),_0x1d26b9=Array[_0x1584ff(0x105)](_0x50f284[_0x1584ff(0x104)]())[_0x1584ff(0x109)](_0x38b202=>_0x38b202['is'](_0x1584ff(0x107),_0x1584ff(0x100)));let _0x22cf19=0x0;return _0x1d26b9[_0x1584ff(0xed)](_0x4406fe=>{const _0x27d5ed=_0x1584ff;_0x22cf19+=_0x44378f[_0x27d5ed(0xf0)](_0x4406fe);}),_0x22cf19;}[_0x5a4eb5(0x124)](_0x3e867e,_0x341fd2){const _0x32697f=_0x5a4eb5,_0x12993a=this[_0x32697f(0x11b)][_0x32697f(0x135)][_0x32697f(0x129)](_0x32697f(0xd5)),_0x49ab3c=_0x12993a[_0x32697f(0x108)](_0x3e867e),_0x2f24a4=_0x12993a[_0x32697f(0x113)](_0x3e867e),_0x516d6c=_0x49ab3c[_0x32697f(0xe9)]+0x1,_0x3b3c68=_0x2f24a4[_0x32697f(0x125)],_0x4de127=_0x3e867e[0x0][_0x32697f(0xee)](_0x32697f(0x100));for(let _0x115ba0=0x0;_0x115ba0<_0x341fd2;_0x115ba0++)_0x12993a[_0x32697f(0xe5)](_0x4de127,{'at':_0x516d6c});return _0x4de127[_0x32697f(0x11d)](_0x516d6c)[_0x32697f(0x11d)](_0x3b3c68);}[_0x5a4eb5(0xe4)](_0x584ef0,_0x3be935){const _0x694ee3=_0x5a4eb5,{plugins:_0x51b976}=this[_0x694ee3(0x11b)],{model:_0x20da89}=_0x584ef0;if(!_0x51b976[_0x694ee3(0xea)](_0x694ee3(0xd5)))return;_0x51b976[_0x694ee3(0x129)](_0x694ee3(0xd5))[_0x694ee3(0xf9)](_0x3be935)[_0x694ee3(0xdb)]&&_0x20da89[_0x694ee3(0xe0)](_0x3be935);}}
23
+ const _0x17df47=_0x6d04;function _0x5055(){const _0x4caeb2=['DataTransfer','createSelection','markers','ck-fake-ai-selection_collapsed','contentInsertion','canEditAt','conversion','data','selection','getMarkersGroup','isAtEnd','setSelection','getColumnIndexes','filter','getLastPosition','document','getSelectedBlocks','setData','_prepareTableInsertBelowPosition','insertContentBelow','4360oEPmuS','getChild','_resetContentOfSelectedTableCells','ck-ai-assistant-ui_theme','20QrrlWz','element','180510mwsXkA','markerToHighlight','for','hideFakeVisualSelection','model','992694ySuIIK','addClass','insertRows','getRange','join','createUIElement','change','getRanges','fromCharCode','showFakeVisualSelection','afterInit','7040xrEmmB','editingDowncast','lowest','findAncestor','once','getSelectedTableCells','ai.assistant.useTheme','5606676GFCrzd','plugins','get','off','isCollapsed','table','span','markerRange','first','map','last','12607QKIxxU','push','ck-fake-ai-selection','length','text/html','_getDefaultInsertBelowPosition','href','createPositionAfter','_createEmptyTableRows','schema','_getAISelection','from','createPositionAt','has','pop','pluginName','getChildren','TableUtils','101172LvVDkY','paste','102CCbJHh','forEach','start','updateMarker','getFirstRange','addMarker','insertContent','isContent','getRowIndexes','getRows','config','getLastMatchingPosition','editor','1045800VbZQWO','resultRange','AIAssistantEditing','end','init','_getTableRowCountFromContent','_pasteHTMLUsingClipboard','parse','markerToElement','createRange','removeMarker','ai-ui','isOfficialPlugin','isPremiumPlugin','deleteContent','2980NkfVvB','fire','editing'];_0x5055=function(){return _0x4caeb2;};return _0x5055();}(function(_0x18c29d,_0x260836){const _0x1c0efa=_0x6d04,_0x1e8aa3=_0x18c29d();while(!![]){try{const _0x285ff8=parseInt(_0x1c0efa(0x13b))/0x1+parseInt(_0x1c0efa(0x10a))/0x2+-parseInt(_0x1c0efa(0x16a))/0x3*(-parseInt(_0x1c0efa(0x134))/0x4)+parseInt(_0x1c0efa(0x136))/0x5*(parseInt(_0x1c0efa(0x16c))/0x6)+parseInt(_0x1c0efa(0x158))/0x7*(-parseInt(_0x1c0efa(0x130))/0x8)+-parseInt(_0x1c0efa(0x14d))/0x9+parseInt(_0x1c0efa(0x119))/0xa*(-parseInt(_0x1c0efa(0x146))/0xb);if(_0x285ff8===_0x260836)break;else _0x1e8aa3['push'](_0x1e8aa3['shift']());}catch(_0x4ca43b){_0x1e8aa3['push'](_0x1e8aa3['shift']());}}}(_0x5055,0x7abbf));import{uid as _0x15395b}from'ckeditor5/src/utils.js';function _0x6d04(_0x569244,_0xc24b52){const _0x505585=_0x5055();return _0x6d04=function(_0x6d0425,_0x86655){_0x6d0425=_0x6d0425-0xfe;let _0x4a8cd6=_0x505585[_0x6d0425];return _0x4a8cd6;},_0x6d04(_0x569244,_0xc24b52);}import{Plugin as _0x4c470b}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3df6c7}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x284699,ViewDataTransfer as _0x452536}from'ckeditor5/src/engine.js';const k=globalThis[_0x17df47(0x11c)],A=_0x17df47(0x115);export class AIAssistantEditing extends _0x4c470b{static get[_0x17df47(0x167)](){const _0x369fb7=_0x17df47;return _0x369fb7(0x10c);}static get[_0x17df47(0x116)](){return!0x0;}static get[_0x17df47(0x117)](){return!0x0;}[_0x17df47(0x10e)](){const _0x3ea39d=_0x17df47,{editor:_0x7c7885}=this,_0x6b08ae=[_0x3ea39d(0x15a)];_0x7c7885[_0x3ea39d(0x107)][_0x3ea39d(0x14f)](_0x3ea39d(0x14c))&&_0x6b08ae[_0x3ea39d(0x159)](_0x3ea39d(0x133)),_0x7c7885[_0x3ea39d(0x122)][_0x3ea39d(0x138)](_0x3ea39d(0x147))[_0x3ea39d(0x137)]({'model':A,'view':{'classes':_0x6b08ae,'priority':0xc}}),_0x7c7885[_0x3ea39d(0x122)][_0x3ea39d(0x138)](_0x3ea39d(0x147))[_0x3ea39d(0x112)]({'model':A,'view':(_0x16a3a4,{writer:_0x14257d})=>{const _0x391294=_0x3ea39d;if(!_0x16a3a4[_0x391294(0x154)][_0x391294(0x151)])return null;const _0x437663=_0x14257d[_0x391294(0x140)](_0x391294(0x153));return _0x14257d[_0x391294(0x13c)]([_0x391294(0x15a),_0x391294(0x11f)],_0x437663),_0x437663;}});}[_0x17df47(0x145)](){!async function(_0x312231){const _0x85f2a1=_0x1ac391([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0xbf20c7=0x3dffc4e1,_0x5f108a=0x3df84781^_0xbf20c7,_0x499872=window[_0x1ac391([0x44,0x61,0x74,0x65])][_0x1ac391([0x6e,0x6f,0x77])](),_0x266b97=_0x312231[_0x1ac391([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f208b=new window[(_0x1ac391([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b35b7=>{_0x266b97[_0x1ac391([0x6f,0x6e,0x63,0x65])](_0x1ac391([0x72,0x65,0x61,0x64,0x79]),_0x5b35b7);}),_0x5a4243={[_0x1ac391([0x6b,0x74,0x79])]:_0x1ac391([0x45,0x43]),[_0x1ac391([0x75,0x73,0x65])]:_0x1ac391([0x73,0x69,0x67]),[_0x1ac391([0x63,0x72,0x76])]:_0x1ac391([0x50,0x2d,0x32,0x35,0x36]),[_0x1ac391([0x78])]:_0x1ac391([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1ac391([0x79])]:_0x1ac391([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1ac391([0x61,0x6c,0x67])]:_0x1ac391([0x45,0x53,0x32,0x35,0x36])},_0x1807a9=_0x266b97[_0x1ac391([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ac391([0x67,0x65,0x74])](_0x1ac391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ea5c9(){let _0x1e8685,_0xda2488=null,_0x17d027=null;try{if(_0x1807a9==_0x1ac391([0x47,0x50,0x4c]))return _0x1ac391([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e8685=_0x29d2ab(),!_0x1e8685)return _0x1ac391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e8685[_0x1ac391([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17d027=_0x73b70f(_0x1e8685[_0x1ac391([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e8685[_0x1ac391([0x6a,0x74,0x69])])),await _0x2710a8()?_0x6037f6()?_0x1f53cb()?_0x1ac391([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6ad480()?(_0x1e8685[_0x1ac391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ac391([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xda2488=_0x146902(_0x1ac391([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d81ea()):_0x1ac391([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ac391([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ac391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ac391([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f53cb(){const _0x176436=[_0x1ac391([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ac391([0x74,0x72,0x69,0x61,0x6c])][_0x1ac391([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e8685[_0x1ac391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x499872/0x3e8:0xe10*_0x5f108a;return _0x1e8685[_0x1ac391([0x65,0x78,0x70])]<_0x176436;}function _0x6037f6(){const _0x41117a=_0x1e8685[_0x1ac391([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41117a&&(!!_0x41117a[_0x1ac391([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ac391([0x2a]))||!!_0x41117a[_0x1ac391([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ac391([0x41,0x49])));}function _0x6ad480(){const _0x538d3f=_0x6d04,_0x3c5f33=_0x1e8685[_0x1ac391([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c5f33||0x0==_0x3c5f33[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a97f0}=new URL(window[_0x1ac391([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x538d3f(0x15e)]);if(_0x3c5f33[_0x1ac391([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a97f0))return!0x0;const _0x522a1e=_0x4a97f0[_0x1ac391([0x73,0x70,0x6c,0x69,0x74])](_0x1ac391([0x2e]));return _0x3c5f33[_0x1ac391([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd6338c=>_0xd6338c[_0x1ac391([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ac391([0x2a])))[_0x1ac391([0x6d,0x61,0x70])](_0x45aa79=>_0x45aa79[_0x1ac391([0x73,0x70,0x6c,0x69,0x74])](_0x1ac391([0x2e])))[_0x1ac391([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10d7a3=>_0x10d7a3[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x522a1e[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ac391([0x6d,0x61,0x70])](_0x3d5fe2=>Array(_0x522a1e[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3d5fe2[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ac391([0x66,0x69,0x6c,0x6c])](_0x3d5fe2[0x0]===_0x1ac391([0x2a])?_0x1ac391([0x2a]):'')[_0x1ac391([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3d5fe2))[_0x1ac391([0x73,0x6f,0x6d,0x65])](_0x3ba8d0=>_0x522a1e[_0x1ac391([0x65,0x76,0x65,0x72,0x79])]((_0x2a5c71,_0x1fecbf)=>_0x3ba8d0[_0x1fecbf]===_0x2a5c71||_0x3ba8d0[_0x1fecbf]===_0x1ac391([0x2a])));}function _0x2d81ea(){return _0xda2488&&_0x17d027?new window[(_0x1ac391([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43e563,_0x3e4f99)=>{_0xda2488[_0x1ac391([0x74,0x68,0x65,0x6e])](_0x43e563,_0x3e4f99),_0x17d027[_0x1ac391([0x74,0x68,0x65,0x6e])](_0x4185f5=>{_0x4185f5!=_0x1ac391([0x56,0x61,0x6c,0x69,0x64])&&_0x43e563(_0x4185f5);},_0x3e4f99);}):_0xda2488||_0x17d027||_0x1ac391([0x56,0x61,0x6c,0x69,0x64]);}}function _0x73b70f(_0x54c2fb,_0x251890){return new window[(_0x1ac391([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a59cf=>{if(_0x2a55c6())return _0x2a59cf(_0x1ac391([0x56,0x61,0x6c,0x69,0x64]));_0x250522(),_0x266b97[_0x1ac391([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ac391([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x76252d=!0x1;const _0x5e7898=_0x15395b();function _0x16348f(_0x2c1140){return!!_0x2c1140&&(typeof _0x2c1140===_0x1ac391([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c1140===_0x1ac391([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c1140[_0x1ac391([0x74,0x68,0x65,0x6e])]===_0x1ac391([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c1140[_0x1ac391([0x63,0x61,0x74,0x63,0x68])]===_0x1ac391([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41521a(_0x127a58){_0x338843(_0x127a58)[_0x1ac391([0x74,0x68,0x65,0x6e])](_0x35b000=>{if(!_0x35b000||_0x35b000[_0x1ac391([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ac391([0x6f,0x6b]))return _0x1ac391([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x318cdb(_0x4ce279(_0x5e7898+_0x251890))!=_0x35b000[_0x1ac391([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ac391([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ac391([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ac391([0x74,0x68,0x65,0x6e])](_0xed901f=>(_0x464a84(),_0xed901f),()=>{const _0x26324f=_0x5d5c7e();return null==_0x26324f?(_0x464a84(),_0x1ac391([0x56,0x61,0x6c,0x69,0x64])):_0x1ac391(_0x499872-_0x26324f>(0x19f340e1^_0xbf20c7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ac391([0x74,0x68,0x65,0x6e])](_0x2a59cf)[_0x1ac391([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a59cf(_0x1ac391([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x73fee8=0x3dc92a61^_0xbf20c7;function _0x464a84(){const _0x1238e7=_0x1ac391([0x6c,0x6c,0x63,0x74,0x2d])+_0x318cdb(_0x4ce279(_0x54c2fb)),_0x1fb575=_0x26ebd7(_0x318cdb(window[_0x1ac391([0x4d,0x61,0x74,0x68])][_0x1ac391([0x63,0x65,0x69,0x6c])](_0x499872/_0x73fee8)));window[_0x1ac391([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ac391([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1238e7,_0x1fb575);}function _0x5d5c7e(){const _0x3c6ff6=_0x1ac391([0x6c,0x6c,0x63,0x74,0x2d])+_0x318cdb(_0x4ce279(_0x54c2fb)),_0x56e2c4=window[_0x1ac391([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ac391([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c6ff6);return _0x56e2c4?window[_0x1ac391([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26ebd7(_0x56e2c4),0x10)*_0x73fee8:null;}function _0x338843(_0x470350){return new window[(_0x1ac391([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bc3ee,_0x5c762f)=>{_0x470350[_0x1ac391([0x74,0x68,0x65,0x6e])](_0x3bc3ee,_0x5c762f),window[_0x1ac391([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c762f,0x3dfe1021^_0xbf20c7);});}}_0x266b97[_0x1ac391([0x6f,0x6e])](_0x1ac391([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bd2c6,_0x49ece9)=>{if(_0x49ece9[0x0]!=_0x54c2fb)return _0x2a59cf(_0x1ac391([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49ece9[0x1]={..._0x49ece9[0x1],[_0x1ac391([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e7898};},{[_0x1ac391([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ac391([0x68,0x69,0x67,0x68])}),_0x266b97[_0x1ac391([0x6f,0x6e])](_0x1ac391([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a320a=>{_0x16348f(_0x5a320a[_0x1ac391([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x76252d=!0x0,_0x41521a(_0x5a320a[_0x1ac391([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ac391([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ac391([0x6c,0x6f,0x77])}),_0x3f208b[_0x1ac391([0x74,0x68,0x65,0x6e])](()=>{_0x76252d||_0x2a59cf(_0x1ac391([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a55c6(){return _0x266b97[_0x1ac391([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ac391([0x76,0x69,0x65,0x77])][_0x1ac391([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ac391([0x61,0x75,0x74,0x6f]);}function _0x250522(){_0x266b97[_0x1ac391([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ac391([0x76,0x69,0x65,0x77])][_0x1ac391([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ac391([0x61,0x75,0x74,0x6f]);}}function _0x146902(_0x513d7d){const _0x58a19a=[new window[(_0x1ac391([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x317598=>setTimeout(_0x317598,0x3df6fa2d^_0xbf20c7)),_0x3f208b[_0x1ac391([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ac391([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5adf80=>{let _0x566b22=0x0;_0x266b97[_0x1ac391([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ac391([0x6f,0x6e])](_0x1ac391([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x468b60,_0x40909d)=>{_0x40909d[0x0][_0x1ac391([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x566b22++,_0x566b22==(0x3dffc109^_0xbf20c7)&&(_0x5adf80(),_0x468b60[_0x1ac391([0x6f,0x66,0x66])]());});}))];return window[_0x1ac391([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ac391([0x72,0x61,0x63,0x65])](_0x58a19a)[_0x1ac391([0x74,0x68,0x65,0x6e])](()=>_0x513d7d);}async function _0x118b3a(){await _0x3f208b,_0x266b97[_0x1ac391([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ac391([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f5e55,_0x266b97[_0x1ac391([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ac391([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f5e55,_0x266b97[_0x1ac391([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ac391([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x32eec7(_0x321c99){const _0x5d5ba6=_0x108416();_0x266b97[_0x5d5ba6]=_0x1ac391([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x321c99,_0x321c99!=_0x1ac391([0x56,0x61,0x6c,0x69,0x64])&&_0x118b3a();}function _0x108416(){const _0x507bf8=window[_0x1ac391([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ac391([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ac391([0x6e,0x6f,0x77])]())[_0x1ac391([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ac391([0x2e]),'');let _0x5c3ea4=_0x1ac391([0x6e]);for(let _0xcdd0a9=0x0;_0xcdd0a9<_0x507bf8[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcdd0a9+=0x2){let _0x483ec5=window[_0x1ac391([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x507bf8[_0x1ac391([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcdd0a9,_0xcdd0a9+0x2));_0x483ec5>=_0x85f2a1[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x483ec5-=_0x85f2a1[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c3ea4+=_0x85f2a1[_0x483ec5];}return _0x5c3ea4;}function _0x29d2ab(){const _0x56f6c8=_0x1807a9[_0x1ac391([0x73,0x70,0x6c,0x69,0x74])](_0x1ac391([0x2e]));if(0x3!=_0x56f6c8[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc6a07f(_0x56f6c8[0x1]);function _0xc6a07f(_0x425f3a){const _0xfe1d5d=_0x5b09db(_0x425f3a);return _0xfe1d5d&&_0xcdeb62()?_0xfe1d5d:null;function _0xcdeb62(){const _0x4a3450=_0xfe1d5d[_0x1ac391([0x6a,0x74,0x69])],_0x3f401c=window[_0x1ac391([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a3450[_0x1ac391([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a3450[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c2fc7={..._0xfe1d5d,[_0x1ac391([0x6a,0x74,0x69])]:_0x4a3450[_0x1ac391([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a3450[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c2fc7[_0x1ac391([0x76,0x63])],_0x4ce279(_0x1c2fc7)==_0x3f401c;}}}async function _0x2710a8(){let _0x27b024=!0x0;try{const _0x54f4a9=_0x1807a9[_0x1ac391([0x73,0x70,0x6c,0x69,0x74])](_0x1ac391([0x2e])),[_0x52d792,_0x47e18a,_0x16808b]=_0x54f4a9;return _0x26bad6(_0x52d792),await _0x5bdc94(_0x52d792,_0x47e18a,_0x16808b),_0x27b024;}catch{return!0x1;}function _0x26bad6(_0x3f61ce){const _0x185d20=_0x5b09db(_0x3f61ce);_0x185d20&&_0x185d20[_0x1ac391([0x61,0x6c,0x67])]==_0x1ac391([0x45,0x53,0x32,0x35,0x36])||(_0x27b024=!0x1);}async function _0x5bdc94(_0x15f021,_0x19569b,_0x264e21){const _0xacb565=window[_0x1ac391([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ac391([0x66,0x72,0x6f,0x6d])](_0x8646d2(_0x264e21),_0x40d293=>_0x40d293[_0x1ac391([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47be2a=new window[(_0x1ac391([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ac391([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15f021+_0x1ac391([0x2e])+_0x19569b),_0x4ab0a6=window[_0x1ac391([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ac391([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ab0a6)return;const _0x94f7d9=await _0x4ab0a6[_0x1ac391([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ac391([0x6a,0x77,0x6b]),_0x5a4243,{[_0x1ac391([0x6e,0x61,0x6d,0x65])]:_0x1ac391([0x45,0x43,0x44,0x53,0x41]),[_0x1ac391([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ac391([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ac391([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ab0a6[_0x1ac391([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ac391([0x6e,0x61,0x6d,0x65])]:_0x1ac391([0x45,0x43,0x44,0x53,0x41]),[_0x1ac391([0x68,0x61,0x73,0x68])]:{[_0x1ac391([0x6e,0x61,0x6d,0x65])]:_0x1ac391([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x94f7d9,_0xacb565,_0x47be2a)||(_0x27b024=!0x1);}}function _0x5b09db(_0x50930f){return _0x50930f[_0x1ac391([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ac391([0x65,0x79]))?JSON[_0x1ac391([0x70,0x61,0x72,0x73,0x65])](_0x8646d2(_0x50930f)):null;}function _0x8646d2(_0x328559){return window[_0x1ac391([0x61,0x74,0x6f,0x62])](_0x328559[_0x1ac391([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ac391([0x2b]))[_0x1ac391([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ac391([0x2f])));}function _0x4ce279(_0x4a650d){let _0x2d94c1=0x1505;function _0x547a26(_0x53ed39){for(let _0x1c84c5=0x0;_0x1c84c5<_0x53ed39[_0x1ac391([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c84c5++){const _0x15a463=_0x53ed39[_0x1ac391([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1c84c5);_0x2d94c1=(_0x2d94c1<<0x5)+_0x2d94c1+_0x15a463,_0x2d94c1&=_0x2d94c1;}}function _0x2d1d74(_0xff3ed7){Array[_0x1ac391([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xff3ed7)?_0xff3ed7[_0x1ac391([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d1d74):_0xff3ed7&&typeof _0xff3ed7==_0x1ac391([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ac391([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xff3ed7)[_0x1ac391([0x73,0x6f,0x72,0x74])]()[_0x1ac391([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x441eeb,_0x5b843a])=>{_0x547a26(_0x441eeb),_0x2d1d74(_0x5b843a);}):_0x547a26(window[_0x1ac391([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xff3ed7));}return _0x2d1d74(_0x4a650d),_0x2d94c1>>>0x0;}function _0x318cdb(_0x131f9e){return _0x131f9e[_0x1ac391([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ac391([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ac391([0x30]));}function _0x26ebd7(_0x15a428){return _0x15a428[_0x1ac391([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ac391([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ac391([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f5e55(){}function _0x1ac391(_0x50d871){const _0x542274=_0x6d04;return _0x50d871[_0x542274(0x156)](_0x411deb=>String[_0x542274(0x143)](_0x411deb))[_0x542274(0x13f)]('');}_0x32eec7(await _0x1ea5c9());}(this);}[_0x17df47(0x144)](){const _0x3e27b6=_0x17df47,_0x50ce80=this[_0x3e27b6(0x109)][_0x3e27b6(0x13a)];_0x50ce80[_0x3e27b6(0x141)](_0xf0c91b=>{const _0x5e2c6a=_0x3e27b6,_0x441282=_0x50ce80[_0x5e2c6a(0x12b)][_0x5e2c6a(0x124)][_0x5e2c6a(0x142)]();let _0x5172d3=0x0;for(const _0x45eb30 of _0x441282){const _0x26d19f=A+':'+_0x5172d3;if(_0x50ce80[_0x5e2c6a(0x11e)][_0x5e2c6a(0x165)](_0x26d19f))_0xf0c91b[_0x5e2c6a(0x100)](_0x26d19f,{'range':_0x45eb30});else{if(_0x45eb30[_0x5e2c6a(0xff)][_0x5e2c6a(0x126)]){const _0x346e9f=_0x45eb30[_0x5e2c6a(0xff)][_0x5e2c6a(0x108)](({item:_0x372b3b})=>!_0x50ce80[_0x5e2c6a(0x161)][_0x5e2c6a(0x104)](_0x372b3b),{'boundaries':_0x45eb30});_0xf0c91b[_0x5e2c6a(0x102)](_0x26d19f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xf0c91b[_0x5e2c6a(0x113)](_0x346e9f,_0x45eb30[_0x5e2c6a(0x10d)])});}else _0xf0c91b[_0x5e2c6a(0x102)](_0x26d19f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45eb30});}_0x5172d3++;}});}[_0x17df47(0x139)](){const _0xe52886=_0x17df47,_0x3d203d=this[_0xe52886(0x109)][_0xe52886(0x13a)],_0x315ff5=Array[_0xe52886(0x163)](this[_0xe52886(0x109)][_0xe52886(0x13a)][_0xe52886(0x11e)][_0xe52886(0x125)](A));_0x315ff5[_0xe52886(0x15b)]&&_0x3d203d[_0xe52886(0x141)](_0x36fbf2=>{const _0x1565b4=_0xe52886;_0x315ff5[_0x1565b4(0xfe)](_0x545111=>{const _0x2a07f=_0x1565b4;_0x36fbf2[_0x2a07f(0x114)](_0x545111);});});}[_0x17df47(0x103)](_0x1679fc,_0x488f2c){const _0x2b8a45=_0x17df47,_0x1bbb90=this[_0x2b8a45(0x162)](),_0x8fa411=_0x488f2c||_0x1bbb90[_0x2b8a45(0x101)]();this[_0x2b8a45(0x109)][_0x2b8a45(0x13a)][_0x2b8a45(0x121)](_0x8fa411)&&this[_0x2b8a45(0x109)][_0x2b8a45(0x13a)][_0x2b8a45(0x141)](_0x5878fd=>{const _0x1bb97c=_0x2b8a45;this[_0x1bb97c(0x139)](),_0x488f2c||this[_0x1bb97c(0x132)](_0x5878fd,_0x1bbb90),this[_0x1bb97c(0x110)]({'insertAt':_0x8fa411,'writer':_0x5878fd,'html':_0x1679fc});});}[_0x17df47(0x12f)](_0x1e0f78){const _0x31f031=_0x17df47,{model:_0x18e4ad}=this[_0x31f031(0x109)],_0x2677e1=this[_0x31f031(0x162)]();_0x18e4ad[_0x31f031(0x141)](()=>{const _0x24d380=_0x31f031,_0x1baf34=this[_0x24d380(0x12e)](_0x1e0f78,_0x2677e1)||this[_0x24d380(0x15d)](_0x2677e1);this[_0x24d380(0x103)](_0x1e0f78,_0x1baf34);});}[_0x17df47(0x162)](){const _0x4497ae=_0x17df47,_0xd9ced2=this[_0x4497ae(0x109)][_0x4497ae(0x13a)],_0x3c7c4e=Array[_0x4497ae(0x163)](_0xd9ced2[_0x4497ae(0x11e)][_0x4497ae(0x125)](A))[_0x4497ae(0x156)](_0x362cc2=>_0x362cc2[_0x4497ae(0x13e)]());return _0xd9ced2[_0x4497ae(0x11d)](_0x3c7c4e);}[_0x17df47(0x110)]({writer:_0x27e460,html:_0x3c86a0,insertAt:_0x4a006e}){const _0x366c96=_0x17df47,{view:_0x639c1c}=this[_0x366c96(0x109)][_0x366c96(0x11b)],_0x31c5d3=this[_0x366c96(0x109)][_0x366c96(0x14e)][_0x366c96(0x14f)](_0x3df6c7),_0x1b171c=new k();_0x1b171c[_0x366c96(0x12d)](_0x366c96(0x15c),_0x3c86a0);const _0x5454e8=new ClipboardEvent(_0x366c96(0x16b),{'clipboardData':_0x1b171c}),_0x112c60=new _0x284699(_0x639c1c,_0x5454e8,{'dataTransfer':new _0x452536(_0x1b171c)});_0x27e460[_0x366c96(0x127)](_0x4a006e);const _0xa5d98b=(_0x4245c5,_0x42703b)=>{const _0x5db818=_0x366c96;_0x42703b[_0x5db818(0x10b)]&&_0x27e460[_0x5db818(0x127)](_0x42703b[_0x5db818(0x10b)]);};_0x31c5d3[_0x366c96(0x14a)](_0x366c96(0x120),_0xa5d98b,{'priority':_0x366c96(0x148)}),_0x639c1c[_0x366c96(0x12b)][_0x366c96(0x11a)](_0x366c96(0x16b),_0x112c60),_0x31c5d3[_0x366c96(0x150)](_0x366c96(0x120),_0xa5d98b);}[_0x17df47(0x15d)](_0x4a9ac0){const _0x16cc21=_0x17df47,{model:_0x42a643}=this[_0x16cc21(0x109)],_0x4ba319=Array[_0x16cc21(0x163)](_0x4a9ac0[_0x16cc21(0x12c)]());return _0x4ba319[_0x16cc21(0x15b)]?_0x42a643[_0x16cc21(0x15f)](_0x4ba319[_0x16cc21(0x166)]()):_0x4a9ac0[_0x16cc21(0x12a)]();}[_0x17df47(0x12e)](_0x2c32fb,_0x32d214){const _0x4b92a7=_0x17df47,{model:_0x3439f8,plugins:_0x28ee04}=this[_0x4b92a7(0x109)];if(_0x28ee04[_0x4b92a7(0x165)](_0x4b92a7(0x169))){const _0xda94e5=_0x28ee04[_0x4b92a7(0x14f)](_0x4b92a7(0x169))[_0x4b92a7(0x14b)](_0x32d214);if(_0xda94e5[_0x4b92a7(0x15b)]){const _0x4dcfdf=this[_0x4b92a7(0x10f)](_0x2c32fb),_0x3a089f=this[_0x4b92a7(0x160)](_0xda94e5,_0x4dcfdf);return _0x3439f8[_0x4b92a7(0x164)](_0x3a089f,0x0);}}return null;}[_0x17df47(0x10f)](_0x3e9407){const _0x4216c5=_0x17df47,_0x491769=this[_0x4216c5(0x109)][_0x4216c5(0x14e)][_0x4216c5(0x14f)](_0x4216c5(0x169)),_0x3371c9=this[_0x4216c5(0x109)][_0x4216c5(0x123)][_0x4216c5(0x111)](_0x3e9407),_0x147b4f=Array[_0x4216c5(0x163)](_0x3371c9[_0x4216c5(0x168)]())[_0x4216c5(0x129)](_0x1240a1=>_0x1240a1['is'](_0x4216c5(0x135),_0x4216c5(0x152)));let _0x2e4d90=0x0;return _0x147b4f[_0x4216c5(0xfe)](_0x489b14=>{const _0x1a1543=_0x4216c5;_0x2e4d90+=_0x491769[_0x1a1543(0x106)](_0x489b14);}),_0x2e4d90;}[_0x17df47(0x160)](_0x21f393,_0x21df9d){const _0x50e350=_0x17df47,_0x5143f2=this[_0x50e350(0x109)][_0x50e350(0x14e)][_0x50e350(0x14f)](_0x50e350(0x169)),_0x178855=_0x5143f2[_0x50e350(0x105)](_0x21f393),_0x3b5999=_0x5143f2[_0x50e350(0x128)](_0x21f393),_0x15f03b=_0x178855[_0x50e350(0x157)]+0x1,_0x511482=_0x3b5999[_0x50e350(0x155)],_0x2e5783=_0x21f393[0x0][_0x50e350(0x149)](_0x50e350(0x152));for(let _0x1e1daf=0x0;_0x1e1daf<_0x21df9d;_0x1e1daf++)_0x5143f2[_0x50e350(0x13d)](_0x2e5783,{'at':_0x15f03b});return _0x2e5783[_0x50e350(0x131)](_0x15f03b)[_0x50e350(0x131)](_0x511482);}[_0x17df47(0x132)](_0x12ca3c,_0x31265c){const _0x47a077=_0x17df47,{plugins:_0x2ba912}=this[_0x47a077(0x109)],{model:_0xd6bc63}=_0x12ca3c;if(!_0x2ba912[_0x47a077(0x165)](_0x47a077(0x169)))return;_0x2ba912[_0x47a077(0x14f)](_0x47a077(0x169))[_0x47a077(0x14b)](_0x31265c)[_0x47a077(0x15b)]&&_0xd6bc63[_0x47a077(0x118)](_0x31265c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e3fd6=_0x32f5;(function(_0x33aaf3,_0x406399){const _0x124640=_0x32f5,_0x59a4fc=_0x33aaf3();while(!![]){try{const _0x4c30a4=parseInt(_0x124640(0x212))/0x1*(parseInt(_0x124640(0x18c))/0x2)+parseInt(_0x124640(0x1b9))/0x3+parseInt(_0x124640(0x1f5))/0x4+-parseInt(_0x124640(0x19b))/0x5+parseInt(_0x124640(0x1a7))/0x6+-parseInt(_0x124640(0x219))/0x7*(parseInt(_0x124640(0x200))/0x8)+-parseInt(_0x124640(0x186))/0x9;if(_0x4c30a4===_0x406399)break;else _0x59a4fc['push'](_0x59a4fc['shift']());}catch(_0x3d495d){_0x59a4fc['push'](_0x59a4fc['shift']());}}}(_0x2961,0xebac4));import{Plugin as _0x4725b5}from'ckeditor5/src/core.js';import{IconMagicWand as _0x55c5fc,IconRobotPencil as _0x45482d}from'ckeditor5/src/icons.js';import{first as _0x30a0b2,CKEditorError as _0x4064e6}from'ckeditor5/src/utils.js';import{createDropdown as _0x55a4b0,addMenuToDropdown as _0x1ca67e,ButtonView as _0x4f20d6,MenuBarMenuListItemButtonView as _0x3eb4e1,Dialog as _0x5f3f9e,DialogViewPosition as _0x3e2477,MenuBarMenuView as _0x48e2b3,MenuBarMenuListView as _0x15158b,MenuBarMenuListItemView as _0x23b7d9}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x596128,UNGROUPED_COMMANDS_GROUP_ID as _0x1acedc}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x199058}from'./aiassistantediting.js';import{AIAdapter as _0x18d201}from'./adapters/aiadapter.js';import{getTranslation as _0x31b5b5}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x166cdf}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x47293b}from'./ui/aiassistantcontroller.js';import{AIFormView as _0xb953ca}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x199048}from'./ui/form/aiformtoolbarview.js';function _0x32f5(_0x11644a,_0x32d2fb){const _0x296165=_0x2961();return _0x32f5=function(_0x32f514,_0x39337b){_0x32f514=_0x32f514-0x16e;let _0x435886=_0x296165[_0x32f514];return _0x435886;},_0x32f5(_0x11644a,_0x32d2fb);}import'../../theme/aiassistant/ai.css';function _0x2961(){const _0x13af0c=['label','showFakeVisualSelection','_createAIAssistantUIButton','Generated\x20content:\x20%0','queryView','evaluationLimit','model','buttonView','config','panelView','getRanges','isOn','usageLimit','text','_aiAdapter','set','AI\x20is\x20writing','map','change','change:value','menuitemcheckbox','ck-ai-assistant-button\x20','from','aiLicenseKeyInvalid','trim','tableOfContents','includes','command:','buttons','editor','ai.assistant.commands','getSelectedElement','push','sort','_uiCssClasses','view','commands','contentArea','fieldView','getData','insertContent','menuPanelClass','EDITOR_TOP_SIDE','33656OGhzTm','_getMenuBarGroupButtons','prompt','invalid','requires','reset','Error\x20during\x20AI\x20content\x20generation:\x20%0','ck-ai-commands-dropdown\x20','currentContext','AI\x20Commands','updateView','16WNrevL','isCollapsed','updatePosition','hide','_initAriaAiStatusChangeAnnouncements','_initView','hideUI','textAdapter','show','document','plugins','items','fire','\x20ck-ai-assistant-ui_theme','DataTransfer','promptView','enabledCommandsIds','splice','1650018TruKSZ','expired','aiLicenseKeyDomainLimit','forEach','body','editing','filter','3995677QPzQLv','addMany','_licenseKeyCheckInterval','_commandDefinitions','hideFakeVisualSelection','change:isProcessing','aiLicenseKeyNotAllowed','_formView','_populateMenuBarMenu','copy','getLimitElement','insertContentBelow','isFlat','change:isError','init','aiLicenseKeyExpired','isPremiumPlugin','polite','REPLACE','delegate','listenTo','order','ai.assistant.contentAreaCssClass','announce','media','_aiAssistantController','7947414ugCIea','<p>','getSelectedBlocks','_onExecute','setSelection','licenseKey','2DnVrHa','_dialog','source','bind','AI\x20Assistant','_showLicenseError','add','ck-ai-assistant-ui','requiresContent','INSERT','selection','showUI','groupId','comment','ai.assistant.useTheme','666580nDlvqO','groupLabel','featureNotAllowed','isEnabled','_getResolvedCommandsDefinitions','text/html','once','AIAssistant','errorView','aiLicenseKeyValid','define','rawHtml','7577286OpusSA','values','locale','wasMoved','length','menuView','render','showAIAssistant','replaceContent','update','ai.assistant.disabledElements','children','aiLicenseKeyUsageLimit','isOfficialPlugin','replace','ai-commands-config-order-collision','domainLimit','AIAssistantUI','605961wQaJkK','focus','pluginName','aiAssistant','aiLicenseKeyEvaluationLimit','menuBar:aiCommands','change:enabledCommandsIds','destroy','menuBar:aiAssistant','schema','_forceMarkersCopy','aiCommands','custom','get','execute','</p>','componentFactory'];_0x2961=function(){return _0x13af0c;};return _0x2961();}import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x4e3fd6(0x20e)];import{ClipboardMarkersUtils as _0x946dda}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3a4730,ViewDataTransfer as _0x1bcf30}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4725b5{[_0x4e3fd6(0x18b)];[_0x4e3fd6(0x16e)];[_0x4e3fd6(0x18d)];[_0x4e3fd6(0x173)];[_0x4e3fd6(0x1d8)];[_0x4e3fd6(0x185)];[_0x4e3fd6(0x1ec)]='';static get[_0x4e3fd6(0x1bb)](){const _0x5ab3a3=_0x4e3fd6;return _0x5ab3a3(0x1b8);}static get[_0x4e3fd6(0x1b4)](){return!0x0;}static get[_0x4e3fd6(0x17c)](){return!0x0;}static get[_0x4e3fd6(0x1f9)](){return[_0x946dda,_0x199058,_0x18d201,_0x5f3f9e];}constructor(_0x10af4e){const _0x586a20=_0x4e3fd6;super(_0x10af4e),_0x10af4e[_0x586a20(0x1d2)][_0x586a20(0x1a5)](_0x586a20(0x1b1),[_0x586a20(0x184),_0x586a20(0x1a6),_0x586a20(0x1e3)]),_0x10af4e[_0x586a20(0x1d2)][_0x586a20(0x1a5)](_0x586a20(0x182),''),_0x10af4e[_0x586a20(0x1d2)][_0x586a20(0x1a5)](_0x586a20(0x19a),!0x0),this[_0x586a20(0x1ec)]=_0x586a20(0x193)+(_0x10af4e[_0x586a20(0x1d2)][_0x586a20(0x1c6)](_0x586a20(0x19a))?_0x586a20(0x20d):'');}[_0x4e3fd6(0x17a)](){const _0x297300=_0x4e3fd6,{editor:_0x23bc12}=this;this[_0x297300(0x1d8)]=_0x23bc12[_0x297300(0x20a)][_0x297300(0x1c6)](_0x18d201),this[_0x297300(0x18d)]=_0x23bc12[_0x297300(0x20a)][_0x297300(0x1c6)](_0x5f3f9e),this[_0x297300(0x173)]=null,this[_0x297300(0x16f)]=this[_0x297300(0x19f)]();const _0x3c0bb1=new _0x166cdf(_0x23bc12,Array[_0x297300(0x1e0)](this[_0x297300(0x16f)][_0x297300(0x1a8)]()));_0x23bc12[_0x297300(0x1ee)][_0x297300(0x192)](_0x297300(0x1ae),_0x3c0bb1),_0x23bc12['ui'][_0x297300(0x1c9)][_0x297300(0x192)](_0x297300(0x1c4),_0x202d77=>{const _0x518aa4=_0x297300,_0x13d15d=_0x55a4b0(_0x202d77);return _0x13d15d[_0x518aa4(0x1d9)]({'class':_0x518aa4(0x1fc)+this[_0x518aa4(0x1ec)]}),_0x13d15d[_0x518aa4(0x1d1)][_0x518aa4(0x1d9)]({'label':_0x31b5b5(_0x202d77,_0x518aa4(0x1fe)),'icon':_0x55c5fc,'tooltip':!0x0}),_0x13d15d['on'](_0x518aa4(0x1c7),_0x51322c=>this[_0x518aa4(0x189)](_0x51322c[_0x518aa4(0x18e)]['id'])),_0x1ca67e(_0x13d15d,_0x23bc12['ui'][_0x518aa4(0x1ed)][_0x518aa4(0x216)],function(_0x4f0241){const _0x329def=_0x518aa4,_0x22dd7d=_0x596128(_0x4f0241[_0x329def(0x1d2)][_0x329def(0x1c6)](_0x329def(0x1e8)),_0x4f0241[_0x329def(0x1a9)]),_0x4af577=B(_0x4f0241,_0x22dd7d)[_0x329def(0x218)](_0x592f60=>_0x592f60[_0x329def(0x1ee)][_0x329def(0x1ab)]);if(0x1===_0x4af577[_0x329def(0x1ab)])return B(_0x4f0241,_0x4af577[0x0][_0x329def(0x1ee)])[_0x329def(0x1db)](_0x2d7641=>({'id':_0x2d7641['id'],'label':_0x2d7641[_0x329def(0x1ca)]}));return _0x4af577[_0x329def(0x1db)](_0x24cdbe=>{const _0x42a6cf=_0x329def,{groupId:_0x21a449,groupLabel:_0x1e9c48,commands:_0x562d80}=_0x24cdbe,_0x31beae=B(_0x4f0241,_0x562d80)[_0x42a6cf(0x1db)](_0x4668eb=>({'id':_0x4668eb['id'],'label':_0x4668eb[_0x42a6cf(0x1ca)]}));return{'id':_0x21a449,'menu':_0x1e9c48||_0x21a449,'children':_0x31beae};});}(_0x23bc12),{'ariaLabel':_0x31b5b5(_0x202d77,_0x518aa4(0x1fe))}),_0x13d15d[_0x518aa4(0x1ac)][_0x518aa4(0x1f3)]=_0x518aa4(0x1fc)+this[_0x518aa4(0x1ec)],_0x3c0bb1['on'](_0x518aa4(0x1bf),_0x423767),_0x13d15d[_0x518aa4(0x1ac)][_0x518aa4(0x1a1)](_0x518aa4(0x1ad),_0x423767),_0x13d15d;function _0x423767(){const _0x12f71c=_0x518aa4;_0x13d15d[_0x12f71c(0x19e)]=_0x3c0bb1[_0x12f71c(0x210)][_0x12f71c(0x1ab)]>0x0;for(const _0x576541 of _0x13d15d[_0x12f71c(0x1ac)][_0x12f71c(0x1e6)])_0x576541[_0x12f71c(0x19e)]=_0x3c0bb1[_0x12f71c(0x210)][_0x12f71c(0x1e4)](_0x576541['id']);}}),_0x23bc12['ui'][_0x297300(0x1c9)][_0x297300(0x192)](_0x297300(0x1be),_0x2315b6=>{const _0x588cec=_0x297300,_0x3092e8=new _0x48e2b3(_0x2315b6);_0x3092e8[_0x588cec(0x1d1)][_0x588cec(0x1d9)]({'label':_0x31b5b5(_0x2315b6,_0x588cec(0x1fe)),'icon':_0x55c5fc}),_0x3092e8[_0x588cec(0x18f)](_0x588cec(0x19e))['to'](_0x3c0bb1,_0x588cec(0x210),_0x2f050c=>_0x2f050c[_0x588cec(0x1ab)]>0x0);const _0x452d12=_0x596128(_0x23bc12[_0x588cec(0x1d2)][_0x588cec(0x1c6)](_0x588cec(0x1e8)),_0x2315b6);return this[_0x588cec(0x174)](_0x3c0bb1,_0x3092e8,_0x452d12,_0x42f610=>this[_0x588cec(0x189)](_0x42f610)),_0x3092e8;}),_0x23bc12['ui'][_0x297300(0x1c9)][_0x297300(0x192)](_0x297300(0x1bc),()=>{const _0x33e8d3=_0x297300,_0x4c653e=this[_0x33e8d3(0x1cc)](_0x4f20d6);return _0x4c653e[_0x33e8d3(0x1d9)]({'tooltip':!0x0,'class':_0x33e8d3(0x1df)+this[_0x33e8d3(0x1ec)]}),_0x4c653e;}),_0x23bc12['ui'][_0x297300(0x1c9)][_0x297300(0x192)](_0x297300(0x1c1),()=>{const _0x4f4192=_0x297300,_0x37bd36=this[_0x4f4192(0x1cc)](_0x3eb4e1);return _0x37bd36[_0x4f4192(0x1d9)]({'role':_0x4f4192(0x1de)}),_0x37bd36;}),this[_0x297300(0x18b)]=this[_0x297300(0x1e7)][_0x297300(0x1d2)][_0x297300(0x1c6)](_0x297300(0x18b));const _0x32342d=this[_0x297300(0x1e7)];this[_0x297300(0x16e)]=setInterval(()=>{const _0x1460df=_0x297300;let _0x30cdc1;for(const _0x4a2f17 in _0x32342d){const _0x6f6cc1=_0x4a2f17,_0x486024=_0x32342d[_0x6f6cc1];if(_0x1460df(0x1a4)==_0x486024||_0x1460df(0x1e1)==_0x486024||_0x1460df(0x17b)==_0x486024||_0x1460df(0x214)==_0x486024||_0x1460df(0x172)==_0x486024||_0x1460df(0x1bd)==_0x486024||_0x1460df(0x1b3)==_0x486024){delete _0x32342d[_0x6f6cc1],_0x30cdc1=_0x486024,clearInterval(this[_0x1460df(0x16e)]),this[_0x1460df(0x16e)]=void 0x0;break;}}_0x1460df(0x1e1)==_0x30cdc1&&_0x32342d[_0x1460df(0x191)](_0x1460df(0x1f8)),_0x1460df(0x17b)==_0x30cdc1&&_0x32342d[_0x1460df(0x191)](_0x1460df(0x213)),_0x1460df(0x214)==_0x30cdc1&&_0x32342d[_0x1460df(0x191)](_0x1460df(0x1b7)),_0x1460df(0x172)==_0x30cdc1&&_0x32342d[_0x1460df(0x191)](_0x1460df(0x19d),_0x1460df(0x1a2)),_0x1460df(0x1bd)==_0x30cdc1&&_0x32342d[_0x1460df(0x191)](_0x1460df(0x1cf)),_0x1460df(0x1b3)==_0x30cdc1&&_0x32342d[_0x1460df(0x191)](_0x1460df(0x1d6));},0x3e8);}[_0x4e3fd6(0x1c0)](){const _0x101777=_0x4e3fd6;super[_0x101777(0x1c0)](),this[_0x101777(0x16e)]&&clearInterval(this[_0x101777(0x16e)]);}[_0x4e3fd6(0x197)](_0x57e7bb='',_0x31274b='',_0x5a4269=_0x4e3fd6(0x1c5)){const _0x4f6e47=_0x4e3fd6,_0x5cfa88=this[_0x4f6e47(0x1e7)],_0x2ac4ca=_0x5cfa88[_0x4f6e47(0x217)][_0x4f6e47(0x1ed)],_0x1ca8d0=_0x5cfa88[_0x4f6e47(0x20a)][_0x4f6e47(0x1c6)](_0x199058),_0x4b02e8=_0x5cfa88[_0x4f6e47(0x20a)][_0x4f6e47(0x1c6)](_0x946dda);_0x1ca8d0[_0x4f6e47(0x1cb)]();const _0x49d597=new w(),_0x254d70=new ClipboardEvent(_0x4f6e47(0x175),{'clipboardData':_0x49d597}),_0x599075=new _0x1bcf30(_0x49d597),_0x4d789c=new _0x3a4730(_0x2ac4ca,_0x254d70,{'dataTransfer':_0x599075});_0x4b02e8[_0x4f6e47(0x1c3)](_0x4f6e47(0x199),()=>{const _0x4fc6cd=_0x4f6e47;_0x2ac4ca[_0x4fc6cd(0x209)][_0x4fc6cd(0x20c)](_0x4fc6cd(0x175),_0x4d789c);}),this[_0x4f6e47(0x173)]||(this[_0x4f6e47(0x205)](),this[_0x4f6e47(0x185)]=new _0x47293b(_0x5cfa88,this[_0x4f6e47(0x1d8)][_0x4f6e47(0x207)],this[_0x4f6e47(0x173)]));let _0x3fc302=_0x599075[_0x4f6e47(0x1f1)](_0x4f6e47(0x1a0));const _0x218f13=_0x5cfa88[_0x4f6e47(0x1d0)][_0x4f6e47(0x209)][_0x4f6e47(0x196)],_0x1ddb85=Array[_0x4f6e47(0x1e0)](_0x218f13[_0x4f6e47(0x1d4)]());0x1===_0x1ddb85[_0x4f6e47(0x1ab)]&&_0x1ddb85[0x0][_0x4f6e47(0x178)]&&!_0x218f13[_0x4f6e47(0x1e9)]()&&''!==_0x3fc302[_0x4f6e47(0x1b5)](/&nbsp;/g,'')[_0x4f6e47(0x1e2)]()&&(_0x3fc302=_0x4f6e47(0x187)+_0x3fc302+_0x4f6e47(0x1c8)),this[_0x4f6e47(0x185)][_0x4f6e47(0x1ff)]({'actionId':_0x5a4269,'query':_0x57e7bb,'htmlContent':_0x3fc302,'label':_0x31274b,'mainActionLabel':_0x199048[_0x5cfa88[_0x4f6e47(0x1d0)][_0x4f6e47(0x209)][_0x4f6e47(0x196)][_0x4f6e47(0x201)]?_0x4f6e47(0x195):_0x4f6e47(0x17e)]}),_0x4f6e47(0x1bc)!==this[_0x4f6e47(0x18d)]['id']?this[_0x4f6e47(0x18d)][_0x4f6e47(0x208)]({'id':_0x4f6e47(0x1bc),'icon':_0x45482d,'title':_0x31b5b5(this[_0x4f6e47(0x1e7)][_0x4f6e47(0x1a9)],_0x4f6e47(0x190)),'content':this[_0x4f6e47(0x173)],'position':_0x3e2477[_0x4f6e47(0x1f4)],'onShow':()=>{const _0x3a760e=_0x4f6e47;this[_0x3a760e(0x173)][_0x3a760e(0x1ba)]();},'onHide':()=>{const _0x32a082=_0x4f6e47;this[_0x32a082(0x185)][_0x32a082(0x1fa)](),_0x1ca8d0[_0x32a082(0x170)]();}}):this[_0x4f6e47(0x18d)][_0x4f6e47(0x1ed)][_0x4f6e47(0x1aa)]||this[_0x4f6e47(0x18d)][_0x4f6e47(0x1ed)][_0x4f6e47(0x202)]();}[_0x4e3fd6(0x206)](){const _0x402545=_0x4e3fd6;this[_0x402545(0x18d)][_0x402545(0x203)]();}[_0x4e3fd6(0x19f)](){const _0x209ee2=_0x4e3fd6,_0x4b24b8=new Map(),_0x3d7c6a=_0x596128(this[_0x209ee2(0x1e7)][_0x209ee2(0x1d2)][_0x209ee2(0x1c6)](_0x209ee2(0x1e8)),this[_0x209ee2(0x1e7)][_0x209ee2(0x1a9)]);for(const _0x498a35 of _0x3d7c6a)for(const _0x51db5f of _0x498a35[_0x209ee2(0x1ee)])_0x4b24b8[_0x209ee2(0x1d9)](_0x51db5f['id'],{..._0x51db5f,'groupId':_0x498a35[_0x209ee2(0x198)],'groupLabel':_0x498a35[_0x209ee2(0x19c)]||_0x498a35[_0x209ee2(0x198)]});return _0x4b24b8;}[_0x4e3fd6(0x1cc)](_0x940d00){const _0x3d3f46=_0x4e3fd6,_0x38bc26=this[_0x3d3f46(0x1e7)],_0x13669b=_0x38bc26[_0x3d3f46(0x1ee)][_0x3d3f46(0x1c6)](_0x3d3f46(0x1ae)),_0xec6f33=new _0x940d00(_0x38bc26[_0x3d3f46(0x1a9)]);return _0xec6f33[_0x3d3f46(0x1d9)]({'label':_0x31b5b5(_0x38bc26[_0x3d3f46(0x1a9)],_0x3d3f46(0x190)),'icon':_0x45482d,'isToggleable':!0x0}),_0xec6f33[_0x3d3f46(0x18f)](_0x3d3f46(0x19e))['to'](_0x13669b),_0xec6f33[_0x3d3f46(0x18f)](_0x3d3f46(0x1d5))['to'](this[_0x3d3f46(0x18d)],'id',_0x1dcd44=>_0x3d3f46(0x1bc)===_0x1dcd44),this[_0x3d3f46(0x180)](_0xec6f33,_0x3d3f46(0x1c7),()=>{const _0x3a8ee0=_0x3d3f46;_0xec6f33[_0x3a8ee0(0x1d5)]?this[_0x3a8ee0(0x206)]():_0x13669b[_0x3a8ee0(0x1c7)]();}),_0xec6f33;}[_0x4e3fd6(0x205)](){const _0x67ce31=_0x4e3fd6,_0x43d737=this[_0x67ce31(0x1e7)][_0x67ce31(0x20a)][_0x67ce31(0x1c6)](_0x199058);this[_0x67ce31(0x173)]=new _0xb953ca(this[_0x67ce31(0x1e7)][_0x67ce31(0x1a9)],this[_0x67ce31(0x1ec)],this[_0x67ce31(0x1e7)][_0x67ce31(0x1d2)][_0x67ce31(0x1c6)](_0x67ce31(0x182))),this[_0x67ce31(0x173)]['on'](_0x67ce31(0x1dd),()=>{const _0xd1e8db=_0x67ce31;this[_0xd1e8db(0x18d)][_0xd1e8db(0x1ed)][_0xd1e8db(0x1aa)]||this[_0xd1e8db(0x18d)][_0xd1e8db(0x1ed)][_0xd1e8db(0x202)]();}),this[_0x67ce31(0x173)][_0x67ce31(0x20f)][_0x67ce31(0x1ce)][_0x67ce31(0x1f0)]['on'](_0x67ce31(0x1b0),()=>{const _0x220861=_0x67ce31;this[_0x220861(0x18d)][_0x220861(0x1ed)][_0x220861(0x1aa)]||this[_0x220861(0x18d)][_0x220861(0x1ed)][_0x220861(0x202)]();}),this[_0x67ce31(0x180)](this[_0x67ce31(0x173)],_0x67ce31(0x1af),()=>{const _0x48409d=_0x67ce31;_0x43d737[_0x48409d(0x1f2)](this[_0x48409d(0x185)][_0x48409d(0x1fd)]),this[_0x48409d(0x206)]();}),this[_0x67ce31(0x180)](this[_0x67ce31(0x173)],_0x67ce31(0x177),()=>{const _0xb1c657=_0x67ce31;_0x43d737[_0xb1c657(0x177)](this[_0xb1c657(0x185)][_0xb1c657(0x1fd)]),this[_0xb1c657(0x206)]();}),this[_0x67ce31(0x204)]();}[_0x4e3fd6(0x204)](){const _0x138a49=_0x4e3fd6,{locale:_0x87aa3,ui:{ariaLiveAnnouncer:_0x3e92ac}}=this[_0x138a49(0x1e7)];this[_0x138a49(0x173)][_0x138a49(0x1ef)]['on'](_0x138a49(0x171),(_0x2dc95b,_0xc0c9,_0x5ca024)=>{const _0x2f351b=_0x138a49,_0x16bbb1=this[_0x2f351b(0x185)][_0x2f351b(0x1fd)];_0x5ca024?_0x3e92ac[_0x2f351b(0x183)](_0x31b5b5(_0x87aa3,_0x2f351b(0x1da))):_0x16bbb1&&_0x3e92ac[_0x2f351b(0x183)](_0x31b5b5(_0x87aa3,_0x2f351b(0x1cd),_0x16bbb1),{'politeness':_0x2f351b(0x17d),'isUnsafeHTML':!0x0});}),this[_0x138a49(0x173)]['on'](_0x138a49(0x179),(_0x44290b,_0x36e1b6,_0x1792e9)=>{const _0x483115=_0x138a49;if(_0x1792e9){const _0x49de4e=this[_0x483115(0x173)][_0x483115(0x1a3)][_0x483115(0x1d7)];_0x3e92ac[_0x483115(0x183)](_0x31b5b5(_0x87aa3,_0x483115(0x1fb),_0x49de4e));}});}[_0x4e3fd6(0x189)](_0x211f22){const _0x203db2=_0x4e3fd6,_0x2e9e1d=this[_0x203db2(0x16f)][_0x203db2(0x1c6)](_0x211f22),_0x2f4e32=this[_0x203db2(0x1e7)],_0x1196b5=_0x2f4e32[_0x203db2(0x1d0)][_0x203db2(0x209)][_0x203db2(0x196)],_0x5dc195=_0x2f4e32[_0x203db2(0x1ee)][_0x203db2(0x1c6)](_0x203db2(0x1ae)),_0x38fb7e=_0x2f4e32[_0x203db2(0x20a)][_0x203db2(0x1c6)](_0x199058),_0xe8a921=''+(_0x2e9e1d[_0x203db2(0x198)]!==_0x1acedc?_0x2e9e1d[_0x203db2(0x19c)]+':\x20':'')+_0x2e9e1d[_0x203db2(0x1ca)];if(!0x1!==_0x2e9e1d[_0x203db2(0x194)]&&_0x1196b5[_0x203db2(0x201)]){const _0x59afbd=_0x30a0b2(_0x1196b5[_0x203db2(0x188)]())||_0x2f4e32[_0x203db2(0x1d0)][_0x203db2(0x1c2)][_0x203db2(0x176)](_0x1196b5);_0x2f4e32[_0x203db2(0x1d0)][_0x203db2(0x1dc)](_0x2e4fe1=>{const _0x208a07=_0x203db2;_0x2e4fe1[_0x208a07(0x18a)](_0x59afbd,'in');});}_0x38fb7e[_0x203db2(0x1cb)](),_0x5dc195[_0x203db2(0x1c7)](_0x2e9e1d[_0x203db2(0x1f7)],_0xe8a921,_0x203db2(0x1e5)+_0x211f22);}[_0x4e3fd6(0x174)](_0x27567e,_0x1f005c,_0x3e444e,_0x2c4549){const _0x1fbff6=_0x4e3fd6,_0x16aa74=this[_0x1fbff6(0x1e7)],_0x168e1b=_0x16aa74[_0x1fbff6(0x1a9)],_0x30eb81=new _0x15158b(_0x168e1b),_0x23cb0f=B(_0x16aa74,_0x3e444e)[_0x1fbff6(0x218)](_0x328002=>_0x328002[_0x1fbff6(0x1ee)][_0x1fbff6(0x1ab)]);0x1===_0x23cb0f[_0x1fbff6(0x1ab)]?this[_0x1fbff6(0x1f6)]({'command':_0x27567e,'commands':_0x23cb0f[0x0][_0x1fbff6(0x1ee)],'parentMenuView':_0x1f005c,'onExecute':_0x2c4549})[_0x1fbff6(0x215)](_0x207965=>_0x30eb81[_0x1fbff6(0x20b)][_0x1fbff6(0x192)](_0x207965)):_0x23cb0f[_0x1fbff6(0x215)](({groupId:_0x42c578,groupLabel:_0x2430c3,commands:_0x15c027})=>{const _0x5d3ffd=_0x1fbff6,_0x4bec1d=new _0x23b7d9(_0x168e1b,_0x1f005c),_0x36c62e=new _0x48e2b3(_0x168e1b),_0x487d6d=new _0x15158b(_0x168e1b),_0x91b7a9=this[_0x5d3ffd(0x1f6)]({'command':_0x27567e,'commands':_0x15c027,'parentMenuView':_0x36c62e,'onExecute':_0x2c4549});_0x36c62e[_0x5d3ffd(0x1d1)][_0x5d3ffd(0x1d9)]({'label':_0x2430c3||_0x42c578}),_0x36c62e[_0x5d3ffd(0x17f)](_0x5d3ffd(0x1c7))['to'](_0x1f005c),_0x487d6d[_0x5d3ffd(0x20b)][_0x5d3ffd(0x21a)](_0x91b7a9),_0x36c62e[_0x5d3ffd(0x1d3)][_0x5d3ffd(0x1b2)][_0x5d3ffd(0x192)](_0x487d6d),_0x4bec1d[_0x5d3ffd(0x1b2)][_0x5d3ffd(0x192)](_0x36c62e),_0x30eb81[_0x5d3ffd(0x20b)][_0x5d3ffd(0x192)](_0x4bec1d);}),_0x1f005c[_0x1fbff6(0x1d3)][_0x1fbff6(0x1b2)][_0x1fbff6(0x192)](_0x30eb81);}[_0x4e3fd6(0x1f6)]({command:_0x42b719,commands:_0x452465,parentMenuView:_0xc79dd5,onExecute:_0x1dde29}){const _0x30518f=_0x4e3fd6,_0x176eed=this[_0x30518f(0x1e7)],_0x1193c3=_0x176eed[_0x30518f(0x1a9)];return B(_0x176eed,_0x452465)[_0x30518f(0x1db)](_0x552e5b=>{const _0x388514=_0x30518f,_0x4a13f8=new _0x23b7d9(_0x1193c3,_0xc79dd5),_0x46c2ef=new _0x3eb4e1(_0x1193c3);return _0x46c2ef[_0x388514(0x1d9)]({'label':_0x552e5b[_0x388514(0x1ca)]}),_0x46c2ef[_0x388514(0x17f)](_0x388514(0x1c7))['to'](_0xc79dd5),_0x46c2ef['on'](_0x388514(0x1c7),()=>_0x1dde29(_0x552e5b['id'])),_0x46c2ef[_0x388514(0x18f)](_0x388514(0x19e))['to'](_0x42b719,_0x388514(0x210),_0x497c21=>_0x497c21[_0x388514(0x1e4)](_0x552e5b['id'])),_0x4a13f8[_0x388514(0x1b2)][_0x388514(0x192)](_0x46c2ef),_0x4a13f8;});}}function U(_0x3344de,_0x278b4c){const _0x160c74=_0x4e3fd6;return void 0x0!==_0x3344de[_0x160c74(0x181)]&&void 0x0===_0x278b4c[_0x160c74(0x181)]?0x1:void 0x0===_0x3344de[_0x160c74(0x181)]&&void 0x0!==_0x278b4c[_0x160c74(0x181)]?-0x1:void 0x0!==_0x3344de[_0x160c74(0x181)]&&void 0x0!==_0x278b4c[_0x160c74(0x181)]?_0x3344de[_0x160c74(0x181)]-_0x278b4c[_0x160c74(0x181)]:0x0;}function B(_0x259be9,_0x411770){const _0xb968cc=_0x4e3fd6;_0x411770[_0xb968cc(0x1eb)](U);const _0x24baa5={},_0x2eed05=[];for(const _0x1ed7e1 of _0x411770)if(void 0x0!==_0x1ed7e1[_0xb968cc(0x181)]){if(_0x1ed7e1[_0xb968cc(0x181)]in _0x24baa5)throw new _0x4064e6(_0xb968cc(0x1b6),_0x259be9,{'conflictingDefinitions':[_0x1ed7e1,_0x24baa5[_0x1ed7e1[_0xb968cc(0x181)]]]});_0x24baa5[_0x1ed7e1[_0xb968cc(0x181)]]=_0x1ed7e1,_0x2eed05[_0xb968cc(0x211)](_0x1ed7e1[_0xb968cc(0x181)],0x0,_0x1ed7e1);}else _0x2eed05[_0xb968cc(0x1ea)](_0x1ed7e1);return _0x2eed05;}
23
+ const _0x448d69=_0x5dc3;(function(_0x157800,_0x2d312f){const _0x2fd0a4=_0x5dc3,_0x4b4813=_0x157800();while(!![]){try{const _0x568c86=-parseInt(_0x2fd0a4(0xc5))/0x1+parseInt(_0x2fd0a4(0xb0))/0x2*(-parseInt(_0x2fd0a4(0xde))/0x3)+parseInt(_0x2fd0a4(0xd0))/0x4+-parseInt(_0x2fd0a4(0xea))/0x5*(-parseInt(_0x2fd0a4(0x116))/0x6)+parseInt(_0x2fd0a4(0xf7))/0x7*(parseInt(_0x2fd0a4(0xa2))/0x8)+parseInt(_0x2fd0a4(0x10d))/0x9+-parseInt(_0x2fd0a4(0xcb))/0xa;if(_0x568c86===_0x2d312f)break;else _0x4b4813['push'](_0x4b4813['shift']());}catch(_0x54dbad){_0x4b4813['push'](_0x4b4813['shift']());}}}(_0x2515,0x7935a));import{Plugin as _0xa73b7b}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1922e2,IconRobotPencil as _0x44a0df}from'ckeditor5/src/icons.js';function _0x5dc3(_0x3a6eca,_0x2c6ac4){const _0x251561=_0x2515();return _0x5dc3=function(_0x5dc31f,_0x9cc18a){_0x5dc31f=_0x5dc31f-0x70;let _0x5d86a4=_0x251561[_0x5dc31f];return _0x5d86a4;},_0x5dc3(_0x3a6eca,_0x2c6ac4);}import{first as _0x5dd637,CKEditorError as _0x1d6ffe}from'ckeditor5/src/utils.js';import{createDropdown as _0x5c3db6,addMenuToDropdown as _0x55709f,ButtonView as _0x4fadf3,MenuBarMenuListItemButtonView as _0x2c6395,Dialog as _0x1b49ad,DialogViewPosition as _0xc8e3e1,MenuBarMenuView as _0x52a6f7,MenuBarMenuListView as _0x4ee914,MenuBarMenuListItemView as _0xf4e620}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3885d8,UNGROUPED_COMMANDS_GROUP_ID as _0x126662}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2baf6b}from'./aiassistantediting.js';import{AIAdapter as _0x6aa833}from'./adapters/aiadapter.js';import{getTranslation as _0x3bdb8e}from'./utils/common-translations.js';function _0x2515(){const _0x2bf73c=['ck-ai-assistant-ui','textAdapter','length','order','</p>','42wpEMxP','updateView','text/html','command:','aiCommands','aiLicenseKeyExpired','_getResolvedCommandsDefinitions','includes','set','requiresContent','map','aiLicenseKeyValid','showUI','tableOfContents','contentArea','ai.assistant.useTheme','pluginName','groupId','bind','config','getSelectedElement','splice','8522793pVePVB','currentContext','setSelection','focus','forEach','aiLicenseKeyInvalid','locale','ck-ai-commands-dropdown\x20','_populateMenuBarMenu','2303562crlvvj','isPremiumPlugin','reset','_dialog','domainLimit','menuBar:aiCommands','sort','execute','hideUI','values','_aiAdapter','AI\x20Assistant','_commandDefinitions','promptView','queryView','invalid','commands','_initView','insertContentBelow','<p>','hide','AI\x20is\x20writing','label','trim','media','buttons','define','showAIAssistant','aiLicenseKeyDomainLimit','getLimitElement','change:value','rawHtml','isOn','showFakeVisualSelection','push','Generated\x20content:\x20%0','view','aiLicenseKeyUsageLimit','change','isEnabled','add','model','panelView','_onExecute','replaceContent','AIAssistant','AI\x20Commands','errorView','copy','ai.assistant.commands','text','hideFakeVisualSelection','componentFactory','\x20ck-ai-assistant-ui_theme','_showLicenseError','menuPanelClass','addMany','prompt','80536rQREvr','_licenseKeyCheckInterval','_formView','_uiCssClasses','_createAIAssistantUIButton','fieldView','updatePosition','aiLicenseKeyNotAllowed','_getMenuBarGroupButtons','change:enabledCommandsIds','custom','document','items','AIAssistantUI','390vjRzxC','usageLimit','filter','DataTransfer','source','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiAssistant','delegate','schema','_forceMarkersCopy','buttonView','enabledCommandsIds','update','children','get','getData','ck-ai-assistant-button\x20','polite','licenseKey','fire','listenTo','254585XmViau','wasMoved','ai.assistant.disabledElements','isOfficialPlugin','menuBar:aiAssistant','_initAriaAiStatusChangeAnnouncements','8345220qhgkAQ','replace','EDITOR_TOP_SIDE','editor','menuitemcheckbox','3096932WPmgrU','INSERT','getRanges','menuView','_aiAssistantController','getSelectedBlocks','show','render','change:isError','aiLicenseKeyEvaluationLimit','editing','isCollapsed','comment','announce','14829EvhYus','ai.assistant.contentAreaCssClass','once','featureNotAllowed','REPLACE','init','destroy','ai-commands-config-order-collision','isFlat','expired','change:isProcessing','groupLabel','10AZVdfZ','requires','selection','body','from','plugins','insertContent','evaluationLimit'];_0x2515=function(){return _0x2bf73c;};return _0x2515();}import{ShowAIAssistantCommand as _0x3d7131}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x296516}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x50b3d4}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xe06b65}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const k=globalThis[_0x448d69(0xb3)];import{ClipboardMarkersUtils as _0x58526c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1502ab,ViewDataTransfer as _0x39f8af}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0xa73b7b{[_0x448d69(0xc2)];[_0x448d69(0xa3)];[_0x448d69(0x119)];[_0x448d69(0xa4)];[_0x448d69(0x72)];[_0x448d69(0xd4)];[_0x448d69(0xa5)]='';static get[_0x448d69(0x107)](){const _0x5d231b=_0x448d69;return _0x5d231b(0xaf);}static get[_0x448d69(0xc8)](){return!0x0;}static get[_0x448d69(0x117)](){return!0x0;}static get[_0x448d69(0xeb)](){return[_0x58526c,_0x2baf6b,_0x6aa833,_0x1b49ad];}constructor(_0x1c178b){const _0x27a7fc=_0x448d69;super(_0x1c178b),_0x1c178b[_0x27a7fc(0x10a)][_0x27a7fc(0x82)](_0x27a7fc(0xc7),[_0x27a7fc(0x80),_0x27a7fc(0x87),_0x27a7fc(0x104)]),_0x1c178b[_0x27a7fc(0x10a)][_0x27a7fc(0x82)](_0x27a7fc(0xdf),''),_0x1c178b[_0x27a7fc(0x10a)][_0x27a7fc(0x82)](_0x27a7fc(0x106),!0x0),this[_0x27a7fc(0xa5)]=_0x27a7fc(0xf2)+(_0x1c178b[_0x27a7fc(0x10a)][_0x27a7fc(0xbe)](_0x27a7fc(0x106))?_0x27a7fc(0x9d):'');}[_0x448d69(0xe3)](){const _0x1611c5=_0x448d69,{editor:_0x507b84}=this;this[_0x1611c5(0x72)]=_0x507b84[_0x1611c5(0xef)][_0x1611c5(0xbe)](_0x6aa833),this[_0x1611c5(0x119)]=_0x507b84[_0x1611c5(0xef)][_0x1611c5(0xbe)](_0x1b49ad),this[_0x1611c5(0xa4)]=null,this[_0x1611c5(0x74)]=this[_0x1611c5(0xfd)]();const _0xe36cb0=new _0x3d7131(_0x507b84,Array[_0x1611c5(0xee)](this[_0x1611c5(0x74)][_0x1611c5(0x71)]()));_0x507b84[_0x1611c5(0x78)][_0x1611c5(0x90)](_0x1611c5(0x83),_0xe36cb0),_0x507b84['ui'][_0x1611c5(0x9c)][_0x1611c5(0x90)](_0x1611c5(0xfb),_0x3e8b5a=>{const _0xa240a6=_0x1611c5,_0x17041d=_0x5c3db6(_0x3e8b5a);return _0x17041d[_0xa240a6(0xff)]({'class':_0xa240a6(0x114)+this[_0xa240a6(0xa5)]}),_0x17041d[_0xa240a6(0xba)][_0xa240a6(0xff)]({'label':_0x3bdb8e(_0x3e8b5a,_0xa240a6(0x96)),'icon':_0x1922e2,'tooltip':!0x0}),_0x17041d['on'](_0xa240a6(0x11d),_0x4260cf=>this[_0xa240a6(0x93)](_0x4260cf[_0xa240a6(0xb4)]['id'])),_0x55709f(_0x17041d,_0x507b84['ui'][_0xa240a6(0x8c)][_0xa240a6(0xed)],function(_0x4a6608){const _0x4c034f=_0xa240a6,_0x2e222b=_0x3885d8(_0x4a6608[_0x4c034f(0x10a)][_0x4c034f(0xbe)](_0x4c034f(0x99)),_0x4a6608[_0x4c034f(0x113)]),_0x37a7cf=G(_0x4a6608,_0x2e222b)[_0x4c034f(0xb2)](_0x125daf=>_0x125daf[_0x4c034f(0x78)][_0x4c034f(0xf4)]);if(0x1===_0x37a7cf[_0x4c034f(0xf4)])return G(_0x4a6608,_0x37a7cf[0x0][_0x4c034f(0x78)])[_0x4c034f(0x101)](_0x22f4b5=>({'id':_0x22f4b5['id'],'label':_0x22f4b5[_0x4c034f(0x7e)]}));return _0x37a7cf[_0x4c034f(0x101)](_0x390b5e=>{const _0x577424=_0x4c034f,{groupId:_0xbd0e33,groupLabel:_0x193521,commands:_0x564a9f}=_0x390b5e,_0x1a3602=G(_0x4a6608,_0x564a9f)[_0x577424(0x101)](_0x4c9d64=>({'id':_0x4c9d64['id'],'label':_0x4c9d64[_0x577424(0x7e)]}));return{'id':_0xbd0e33,'menu':_0x193521||_0xbd0e33,'children':_0x1a3602};});}(_0x507b84),{'ariaLabel':_0x3bdb8e(_0x3e8b5a,_0xa240a6(0x96))}),_0x17041d[_0xa240a6(0xd3)][_0xa240a6(0x9f)]=_0xa240a6(0x114)+this[_0xa240a6(0xa5)],_0xe36cb0['on'](_0xa240a6(0xab),_0x339bdd),_0x17041d[_0xa240a6(0xd3)][_0xa240a6(0xe0)](_0xa240a6(0xd7),_0x339bdd),_0x17041d;function _0x339bdd(){const _0xcee87a=_0xa240a6;_0x17041d[_0xcee87a(0x8f)]=_0xe36cb0[_0xcee87a(0xbb)][_0xcee87a(0xf4)]>0x0;for(const _0x5439aa of _0x17041d[_0xcee87a(0xd3)][_0xcee87a(0x81)])_0x5439aa[_0xcee87a(0x8f)]=_0xe36cb0[_0xcee87a(0xbb)][_0xcee87a(0xfe)](_0x5439aa['id']);}}),_0x507b84['ui'][_0x1611c5(0x9c)][_0x1611c5(0x90)](_0x1611c5(0x11b),_0x4bcc2d=>{const _0x54b752=_0x1611c5,_0x2bd15d=new _0x52a6f7(_0x4bcc2d);_0x2bd15d[_0x54b752(0xba)][_0x54b752(0xff)]({'label':_0x3bdb8e(_0x4bcc2d,_0x54b752(0x96)),'icon':_0x1922e2}),_0x2bd15d[_0x54b752(0x109)](_0x54b752(0x8f))['to'](_0xe36cb0,_0x54b752(0xbb),_0x213229=>_0x213229[_0x54b752(0xf4)]>0x0);const _0x25e3f7=_0x3885d8(_0x507b84[_0x54b752(0x10a)][_0x54b752(0xbe)](_0x54b752(0x99)),_0x4bcc2d);return this[_0x54b752(0x115)](_0xe36cb0,_0x2bd15d,_0x25e3f7,_0x1ae4bf=>this[_0x54b752(0x93)](_0x1ae4bf)),_0x2bd15d;}),_0x507b84['ui'][_0x1611c5(0x9c)][_0x1611c5(0x90)](_0x1611c5(0xb6),()=>{const _0x42f5d2=_0x1611c5,_0x422928=this[_0x42f5d2(0xa6)](_0x4fadf3);return _0x422928[_0x42f5d2(0xff)]({'tooltip':!0x0,'class':_0x42f5d2(0xc0)+this[_0x42f5d2(0xa5)]}),_0x422928;}),_0x507b84['ui'][_0x1611c5(0x9c)][_0x1611c5(0x90)](_0x1611c5(0xc9),()=>{const _0x5648a1=_0x1611c5,_0x1f19aa=this[_0x5648a1(0xa6)](_0x2c6395);return _0x1f19aa[_0x5648a1(0xff)]({'role':_0x5648a1(0xcf)}),_0x1f19aa;}),this[_0x1611c5(0xc2)]=this[_0x1611c5(0xce)][_0x1611c5(0x10a)][_0x1611c5(0xbe)](_0x1611c5(0xc2));const _0xf52f59=this[_0x1611c5(0xce)];this[_0x1611c5(0xa3)]=setInterval(()=>{const _0x3d4410=_0x1611c5;let _0x34054b;for(const _0x5f4e50 in _0xf52f59){const _0x5e2900=_0x5f4e50,_0x105d45=_0xf52f59[_0x5e2900];if(_0x3d4410(0x102)==_0x105d45||_0x3d4410(0x112)==_0x105d45||_0x3d4410(0xfc)==_0x105d45||_0x3d4410(0x84)==_0x105d45||_0x3d4410(0xa9)==_0x105d45||_0x3d4410(0xd9)==_0x105d45||_0x3d4410(0x8d)==_0x105d45){delete _0xf52f59[_0x5e2900],_0x34054b=_0x105d45,clearInterval(this[_0x3d4410(0xa3)]),this[_0x3d4410(0xa3)]=void 0x0;break;}}_0x3d4410(0x112)==_0x34054b&&_0xf52f59[_0x3d4410(0x9e)](_0x3d4410(0x77)),_0x3d4410(0xfc)==_0x34054b&&_0xf52f59[_0x3d4410(0x9e)](_0x3d4410(0xe7)),_0x3d4410(0x84)==_0x34054b&&_0xf52f59[_0x3d4410(0x9e)](_0x3d4410(0x11a)),_0x3d4410(0xa9)==_0x34054b&&_0xf52f59[_0x3d4410(0x9e)](_0x3d4410(0xe1),_0x3d4410(0x95)),_0x3d4410(0xd9)==_0x34054b&&_0xf52f59[_0x3d4410(0x9e)](_0x3d4410(0xf1)),_0x3d4410(0x8d)==_0x34054b&&_0xf52f59[_0x3d4410(0x9e)](_0x3d4410(0xb1));},0x3e8);}[_0x448d69(0xe4)](){const _0x38963a=_0x448d69;super[_0x38963a(0xe4)](),this[_0x38963a(0xa3)]&&clearInterval(this[_0x38963a(0xa3)]);}[_0x448d69(0x103)](_0x324875='',_0x127a4b='',_0x5f0306=_0x448d69(0xac)){const _0x45f52e=_0x448d69,_0x531380=this[_0x45f52e(0xce)],_0x2459cd=_0x531380[_0x45f52e(0xda)][_0x45f52e(0x8c)],_0x3103f3=_0x531380[_0x45f52e(0xef)][_0x45f52e(0xbe)](_0x2baf6b),_0x4ba635=_0x531380[_0x45f52e(0xef)][_0x45f52e(0xbe)](_0x58526c);_0x3103f3[_0x45f52e(0x89)]();const _0x51c4c8=new k(),_0x1be093=new ClipboardEvent(_0x45f52e(0x98),{'clipboardData':_0x51c4c8}),_0x1df9af=new _0x39f8af(_0x51c4c8),_0xc9da99=new _0x1502ab(_0x2459cd,_0x1be093,{'dataTransfer':_0x1df9af});_0x4ba635[_0x45f52e(0xb9)](_0x45f52e(0xdc),()=>{const _0x72ff57=_0x45f52e;_0x2459cd[_0x72ff57(0xad)][_0x72ff57(0xc3)](_0x72ff57(0x98),_0xc9da99);}),this[_0x45f52e(0xa4)]||(this[_0x45f52e(0x79)](),this[_0x45f52e(0xd4)]=new _0x296516(_0x531380,this[_0x45f52e(0x72)][_0x45f52e(0xf3)],this[_0x45f52e(0xa4)]));let _0x58b2e5=_0x1df9af[_0x45f52e(0xbf)](_0x45f52e(0xf9));const _0x4e72f1=_0x531380[_0x45f52e(0x91)][_0x45f52e(0xad)][_0x45f52e(0xec)],_0x28aea7=Array[_0x45f52e(0xee)](_0x4e72f1[_0x45f52e(0xd2)]());0x1===_0x28aea7[_0x45f52e(0xf4)]&&_0x28aea7[0x0][_0x45f52e(0xe6)]&&!_0x4e72f1[_0x45f52e(0x10b)]()&&''!==_0x58b2e5[_0x45f52e(0xcc)](/&nbsp;/g,'')[_0x45f52e(0x7f)]()&&(_0x58b2e5=_0x45f52e(0x7b)+_0x58b2e5+_0x45f52e(0xf6)),this[_0x45f52e(0xd4)][_0x45f52e(0xf8)]({'actionId':_0x5f0306,'query':_0x324875,'htmlContent':_0x58b2e5,'label':_0x127a4b,'mainActionLabel':_0xe06b65[_0x531380[_0x45f52e(0x91)][_0x45f52e(0xad)][_0x45f52e(0xec)][_0x45f52e(0xdb)]?_0x45f52e(0xd1):_0x45f52e(0xe2)]}),_0x45f52e(0xb6)!==this[_0x45f52e(0x119)]['id']?this[_0x45f52e(0x119)][_0x45f52e(0xd6)]({'id':_0x45f52e(0xb6),'icon':_0x44a0df,'title':_0x3bdb8e(this[_0x45f52e(0xce)][_0x45f52e(0x113)],_0x45f52e(0x73)),'content':this[_0x45f52e(0xa4)],'position':_0xc8e3e1[_0x45f52e(0xcd)],'onShow':()=>{const _0x5c0852=_0x45f52e;this[_0x5c0852(0xa4)][_0x5c0852(0x110)]();},'onHide':()=>{const _0x4d71a4=_0x45f52e;this[_0x4d71a4(0xd4)][_0x4d71a4(0x118)](),_0x3103f3[_0x4d71a4(0x9b)]();}}):this[_0x45f52e(0x119)][_0x45f52e(0x8c)][_0x45f52e(0xc6)]||this[_0x45f52e(0x119)][_0x45f52e(0x8c)][_0x45f52e(0xa8)]();}[_0x448d69(0x70)](){const _0x3db9a2=_0x448d69;this[_0x3db9a2(0x119)][_0x3db9a2(0x7c)]();}[_0x448d69(0xfd)](){const _0x103834=_0x448d69,_0x1bb892=new Map(),_0x496341=_0x3885d8(this[_0x103834(0xce)][_0x103834(0x10a)][_0x103834(0xbe)](_0x103834(0x99)),this[_0x103834(0xce)][_0x103834(0x113)]);for(const _0x14dba8 of _0x496341)for(const _0x2406d3 of _0x14dba8[_0x103834(0x78)])_0x1bb892[_0x103834(0xff)](_0x2406d3['id'],{..._0x2406d3,'groupId':_0x14dba8[_0x103834(0x108)],'groupLabel':_0x14dba8[_0x103834(0xe9)]||_0x14dba8[_0x103834(0x108)]});return _0x1bb892;}[_0x448d69(0xa6)](_0x557e91){const _0x51d241=_0x448d69,_0x15ce3f=this[_0x51d241(0xce)],_0x5cb1d8=_0x15ce3f[_0x51d241(0x78)][_0x51d241(0xbe)](_0x51d241(0x83)),_0x1f69cf=new _0x557e91(_0x15ce3f[_0x51d241(0x113)]);return _0x1f69cf[_0x51d241(0xff)]({'label':_0x3bdb8e(_0x15ce3f[_0x51d241(0x113)],_0x51d241(0x73)),'icon':_0x44a0df,'isToggleable':!0x0}),_0x1f69cf[_0x51d241(0x109)](_0x51d241(0x8f))['to'](_0x5cb1d8),_0x1f69cf[_0x51d241(0x109)](_0x51d241(0x88))['to'](this[_0x51d241(0x119)],'id',_0x4aa9a0=>_0x51d241(0xb6)===_0x4aa9a0),this[_0x51d241(0xc4)](_0x1f69cf,_0x51d241(0x11d),()=>{const _0x1c7d82=_0x51d241;_0x1f69cf[_0x1c7d82(0x88)]?this[_0x1c7d82(0x70)]():_0x5cb1d8[_0x1c7d82(0x11d)]();}),_0x1f69cf;}[_0x448d69(0x79)](){const _0x18186e=_0x448d69,_0x5e8874=this[_0x18186e(0xce)][_0x18186e(0xef)][_0x18186e(0xbe)](_0x2baf6b);this[_0x18186e(0xa4)]=new _0x50b3d4(this[_0x18186e(0xce)][_0x18186e(0x113)],this[_0x18186e(0xa5)],this[_0x18186e(0xce)][_0x18186e(0x10a)][_0x18186e(0xbe)](_0x18186e(0xdf))),this[_0x18186e(0xa4)]['on'](_0x18186e(0x86),()=>{const _0x4d4de5=_0x18186e;this[_0x4d4de5(0x119)][_0x4d4de5(0x8c)][_0x4d4de5(0xc6)]||this[_0x4d4de5(0x119)][_0x4d4de5(0x8c)][_0x4d4de5(0xa8)]();}),this[_0x18186e(0xa4)][_0x18186e(0x75)][_0x18186e(0x76)][_0x18186e(0xa7)]['on'](_0x18186e(0xbc),()=>{const _0x524b6b=_0x18186e;this[_0x524b6b(0x119)][_0x524b6b(0x8c)][_0x524b6b(0xc6)]||this[_0x524b6b(0x119)][_0x524b6b(0x8c)][_0x524b6b(0xa8)]();}),this[_0x18186e(0xc4)](this[_0x18186e(0xa4)],_0x18186e(0x94),()=>{const _0x5cf00f=_0x18186e;_0x5e8874[_0x5cf00f(0xf0)](this[_0x5cf00f(0xd4)][_0x5cf00f(0x10e)]),this[_0x5cf00f(0x70)]();}),this[_0x18186e(0xc4)](this[_0x18186e(0xa4)],_0x18186e(0x7a),()=>{const _0x412849=_0x18186e;_0x5e8874[_0x412849(0x7a)](this[_0x412849(0xd4)][_0x412849(0x10e)]),this[_0x412849(0x70)]();}),this[_0x18186e(0xca)]();}[_0x448d69(0xca)](){const _0x46f278=_0x448d69,{locale:_0x4fd67c,ui:{ariaLiveAnnouncer:_0x2127c4}}=this[_0x46f278(0xce)];this[_0x46f278(0xa4)][_0x46f278(0x105)]['on'](_0x46f278(0xe8),(_0xa0e6a3,_0x19b8da,_0x344386)=>{const _0x484e4a=_0x46f278,_0xd7e305=this[_0x484e4a(0xd4)][_0x484e4a(0x10e)];_0x344386?_0x2127c4[_0x484e4a(0xdd)](_0x3bdb8e(_0x4fd67c,_0x484e4a(0x7d))):_0xd7e305&&_0x2127c4[_0x484e4a(0xdd)](_0x3bdb8e(_0x4fd67c,_0x484e4a(0x8b),_0xd7e305),{'politeness':_0x484e4a(0xc1),'isUnsafeHTML':!0x0});}),this[_0x46f278(0xa4)]['on'](_0x46f278(0xd8),(_0x27b3d6,_0x374579,_0x5006a2)=>{const _0x716b9=_0x46f278;if(_0x5006a2){const _0x474263=this[_0x716b9(0xa4)][_0x716b9(0x97)][_0x716b9(0x9a)];_0x2127c4[_0x716b9(0xdd)](_0x3bdb8e(_0x4fd67c,_0x716b9(0xb5),_0x474263));}});}[_0x448d69(0x93)](_0x15243e){const _0xa55d9f=_0x448d69,_0x3e4af9=this[_0xa55d9f(0x74)][_0xa55d9f(0xbe)](_0x15243e),_0x35f24b=this[_0xa55d9f(0xce)],_0xead8e7=_0x35f24b[_0xa55d9f(0x91)][_0xa55d9f(0xad)][_0xa55d9f(0xec)],_0x314c2b=_0x35f24b[_0xa55d9f(0x78)][_0xa55d9f(0xbe)](_0xa55d9f(0x83)),_0xbb10e7=_0x35f24b[_0xa55d9f(0xef)][_0xa55d9f(0xbe)](_0x2baf6b),_0x2f9e5b=''+(_0x3e4af9[_0xa55d9f(0x108)]!==_0x126662?_0x3e4af9[_0xa55d9f(0xe9)]+':\x20':'')+_0x3e4af9[_0xa55d9f(0x7e)];if(!0x1!==_0x3e4af9[_0xa55d9f(0x100)]&&_0xead8e7[_0xa55d9f(0xdb)]){const _0x3f5bd5=_0x5dd637(_0xead8e7[_0xa55d9f(0xd5)]())||_0x35f24b[_0xa55d9f(0x91)][_0xa55d9f(0xb8)][_0xa55d9f(0x85)](_0xead8e7);_0x35f24b[_0xa55d9f(0x91)][_0xa55d9f(0x8e)](_0x52aa9a=>{const _0x5ebfa5=_0xa55d9f;_0x52aa9a[_0x5ebfa5(0x10f)](_0x3f5bd5,'in');});}_0xbb10e7[_0xa55d9f(0x89)](),_0x314c2b[_0xa55d9f(0x11d)](_0x3e4af9[_0xa55d9f(0xa1)],_0x2f9e5b,_0xa55d9f(0xfa)+_0x15243e);}[_0x448d69(0x115)](_0xa7ec7f,_0x1102f3,_0x1c2cba,_0x27aa62){const _0x4a2782=_0x448d69,_0x32b43f=this[_0x4a2782(0xce)],_0x133124=_0x32b43f[_0x4a2782(0x113)],_0x18c938=new _0x4ee914(_0x133124),_0x6d7029=G(_0x32b43f,_0x1c2cba)[_0x4a2782(0xb2)](_0x2aeab5=>_0x2aeab5[_0x4a2782(0x78)][_0x4a2782(0xf4)]);0x1===_0x6d7029[_0x4a2782(0xf4)]?this[_0x4a2782(0xaa)]({'command':_0xa7ec7f,'commands':_0x6d7029[0x0][_0x4a2782(0x78)],'parentMenuView':_0x1102f3,'onExecute':_0x27aa62})[_0x4a2782(0x111)](_0xd3d915=>_0x18c938[_0x4a2782(0xae)][_0x4a2782(0x90)](_0xd3d915)):_0x6d7029[_0x4a2782(0x111)](({groupId:_0x42a0b7,groupLabel:_0x3b1c07,commands:_0x3e404a})=>{const _0xa11234=_0x4a2782,_0x1e7dec=new _0xf4e620(_0x133124,_0x1102f3),_0x3e2871=new _0x52a6f7(_0x133124),_0x1808b4=new _0x4ee914(_0x133124),_0xda9831=this[_0xa11234(0xaa)]({'command':_0xa7ec7f,'commands':_0x3e404a,'parentMenuView':_0x3e2871,'onExecute':_0x27aa62});_0x3e2871[_0xa11234(0xba)][_0xa11234(0xff)]({'label':_0x3b1c07||_0x42a0b7}),_0x3e2871[_0xa11234(0xb7)](_0xa11234(0x11d))['to'](_0x1102f3),_0x1808b4[_0xa11234(0xae)][_0xa11234(0xa0)](_0xda9831),_0x3e2871[_0xa11234(0x92)][_0xa11234(0xbd)][_0xa11234(0x90)](_0x1808b4),_0x1e7dec[_0xa11234(0xbd)][_0xa11234(0x90)](_0x3e2871),_0x18c938[_0xa11234(0xae)][_0xa11234(0x90)](_0x1e7dec);}),_0x1102f3[_0x4a2782(0x92)][_0x4a2782(0xbd)][_0x4a2782(0x90)](_0x18c938);}[_0x448d69(0xaa)]({command:_0x499f82,commands:_0x2580df,parentMenuView:_0x5c4178,onExecute:_0x2ddfae}){const _0x4d5568=_0x448d69,_0x3d071c=this[_0x4d5568(0xce)],_0x437044=_0x3d071c[_0x4d5568(0x113)];return G(_0x3d071c,_0x2580df)[_0x4d5568(0x101)](_0x40ef1e=>{const _0x140d61=_0x4d5568,_0x4def7e=new _0xf4e620(_0x437044,_0x5c4178),_0xd8c83=new _0x2c6395(_0x437044);return _0xd8c83[_0x140d61(0xff)]({'label':_0x40ef1e[_0x140d61(0x7e)]}),_0xd8c83[_0x140d61(0xb7)](_0x140d61(0x11d))['to'](_0x5c4178),_0xd8c83['on'](_0x140d61(0x11d),()=>_0x2ddfae(_0x40ef1e['id'])),_0xd8c83[_0x140d61(0x109)](_0x140d61(0x8f))['to'](_0x499f82,_0x140d61(0xbb),_0x34f814=>_0x34f814[_0x140d61(0xfe)](_0x40ef1e['id'])),_0x4def7e[_0x140d61(0xbd)][_0x140d61(0x90)](_0xd8c83),_0x4def7e;});}}function q(_0x3aa317,_0xfa25ec){const _0x2de155=_0x448d69;return void 0x0!==_0x3aa317[_0x2de155(0xf5)]&&void 0x0===_0xfa25ec[_0x2de155(0xf5)]?0x1:void 0x0===_0x3aa317[_0x2de155(0xf5)]&&void 0x0!==_0xfa25ec[_0x2de155(0xf5)]?-0x1:void 0x0!==_0x3aa317[_0x2de155(0xf5)]&&void 0x0!==_0xfa25ec[_0x2de155(0xf5)]?_0x3aa317[_0x2de155(0xf5)]-_0xfa25ec[_0x2de155(0xf5)]:0x0;}function G(_0x1a400f,_0x4771a5){const _0x247718=_0x448d69;_0x4771a5[_0x247718(0x11c)](q);const _0x16b633={},_0xd3c6c1=[];for(const _0x1d670d of _0x4771a5)if(void 0x0!==_0x1d670d[_0x247718(0xf5)]){if(_0x1d670d[_0x247718(0xf5)]in _0x16b633)throw new _0x1d6ffe(_0x247718(0xe5),_0x1a400f,{'conflictingDefinitions':[_0x1d670d,_0x16b633[_0x1d670d[_0x247718(0xf5)]]]});_0x16b633[_0x1d670d[_0x247718(0xf5)]]=_0x1d670d,_0xd3c6c1[_0x247718(0x10c)](_0x1d670d[_0x247718(0xf5)],0x0,_0x1d670d);}else _0xd3c6c1[_0x247718(0x8a)](_0x1d670d);return _0xd3c6c1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1baa69=_0x28ac;(function(_0x1605df,_0x35f0ca){const _0x2eaa2f=_0x28ac,_0x4da6b2=_0x1605df();while(!![]){try{const _0x56f8f=-parseInt(_0x2eaa2f(0x8b))/0x1*(-parseInt(_0x2eaa2f(0xa5))/0x2)+-parseInt(_0x2eaa2f(0xb1))/0x3+-parseInt(_0x2eaa2f(0x6d))/0x4+-parseInt(_0x2eaa2f(0x76))/0x5*(-parseInt(_0x2eaa2f(0x9e))/0x6)+parseInt(_0x2eaa2f(0x99))/0x7+parseInt(_0x2eaa2f(0x9c))/0x8+parseInt(_0x2eaa2f(0x9b))/0x9*(-parseInt(_0x2eaa2f(0x7d))/0xa);if(_0x56f8f===_0x35f0ca)break;else _0x4da6b2['push'](_0x4da6b2['shift']());}catch(_0x4c09e1){_0x4da6b2['push'](_0x4da6b2['shift']());}}}(_0x14df,0x999c1));import{global as _0x228644}from'ckeditor5/src/utils.js';function _0x14df(){const _0x1f252a=['body','7970LjIyZW','style','class','ck-ai-form__copy-button-wrapper','remove','Copy','.ck-ai-form__loader','ck-ai-form__copy-button','listenTo','textContent','ck-ai-form__content-area-wrapper','execute','2677683ntLbiT','locale','change:value','text/html','set','copyButtonView','scrollHeight','ck-hidden','div','element','setEndBefore','clipboard','bind','ck-reset_all-excluded','left','bindTemplate','<span>[</span>','1347896xEPEUh','_createLoader','removeAllRanges','setStartAfter','firstElementChild','ck-ai-form__content-field','focus','\x20ck-ai-form__copy-button--copied','-9999px','283735YBcbHu','setContent','render','mousedown','querySelector','setTemplate','smooth','11575450zKRxkH','innerHTML','wheel','loaderView','ck-ai-form__loader','createRange','position','appendChild','absolute','createElement','icon','ClipboardItem','isEnabled','<span>]</span>','83jZgjgC','value','ck-ai-form__content-area','isProcessing','copy','scrollTo','addRange','isVisible','_createCopyButton','ck-ai-form__content-area--processing','ck-content','AI\x20is\x20writing...','text/plain','getSelection','6489301bMlwAC','lastElementChild','9BRnVOg','9074000mldDVB','write','66ruQPyJ','change:isProcessing','_copyHTMLToClipboard','appendLoader','execCommand','contentFieldView'];_0x14df=function(){return _0x1f252a;};return _0x14df();}function _0x28ac(_0x21f67e,_0x1cc97c){const _0x14df6f=_0x14df();return _0x28ac=function(_0x28ac39,_0x1498cb){_0x28ac39=_0x28ac39-0x68;let _0x1ba850=_0x14df6f[_0x28ac39];return _0x1ba850;},_0x28ac(_0x21f67e,_0x1cc97c);}import{View as _0x57db0c,ButtonView as _0x27b9d0,SpinnerView as _0x10551f}from'ckeditor5/src/ui.js';import{IconCheck as _0x1e0ace,IconCopy as _0x596953}from'ckeditor5/src/icons.js';import{getTranslation as _0x296c88}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x57db0c{[_0x1baa69(0xa3)];[_0x1baa69(0xb6)];constructor(_0x464489,_0x116ccb=''){const _0x21e1bc=_0x1baa69;super(_0x464489),this[_0x21e1bc(0xb5)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x74c336=this[_0x21e1bc(0x6b)];this[_0x21e1bc(0xa3)]=new ContentFieldView(_0x464489,_0x116ccb),this[_0x21e1bc(0xb6)]=this[_0x21e1bc(0x93)](),this[_0x21e1bc(0x7b)]({'tag':_0x21e1bc(0xb9),'attributes':{'class':['ck',_0x21e1bc(0xaf),_0x74c336['if'](_0x21e1bc(0x92),_0x21e1bc(0xb8),_0x436df9=>!_0x436df9)],'tabindex':'-1'},'children':[{'tag':_0x21e1bc(0xb9),'attributes':{'class':['ck',_0x21e1bc(0x8d),_0x74c336['if'](_0x21e1bc(0x8e),_0x21e1bc(0x94))]},'children':[this[_0x21e1bc(0xa3)],{'tag':_0x21e1bc(0xb9),'attributes':{'class':['ck',_0x21e1bc(0xa8)]},'children':[this[_0x21e1bc(0xb6)]]}]}]});}[_0x1baa69(0x78)](){const _0x93cddb=_0x1baa69;super[_0x93cddb(0x78)](),this[_0x93cddb(0x8c)]&&this[_0x93cddb(0xa3)][_0x93cddb(0x77)](this[_0x93cddb(0x8c)]);let _0x462609=!0x1;this['on'](_0x93cddb(0xb3),(_0x56e1c1,_0x51b242,_0x51205e)=>{const _0x3b91db=_0x93cddb,_0xd4f9fc=!this[_0x3b91db(0xa3)][_0x3b91db(0xba)][_0x3b91db(0x7a)](_0x3b91db(0xab));this[_0x3b91db(0xa3)][_0x3b91db(0x77)](_0x51205e),this[_0x3b91db(0x8e)]&&_0xd4f9fc&&!_0x462609&&this[_0x3b91db(0xba)][_0x3b91db(0x90)]({'top':this[_0x3b91db(0xba)][_0x3b91db(0xb7)],'behavior':_0x3b91db(0x7c)});}),this['on'](_0x93cddb(0x9f),(_0x3884a8,_0x4b383d,_0x343823)=>{const _0x258aa5=_0x93cddb;_0x462609=!0x1,_0x343823?(this[_0x258aa5(0x8c)]=null,this[_0x258aa5(0xa3)][_0x258aa5(0xa1)]()):this[_0x258aa5(0x8c)]||this[_0x258aa5(0xa3)][_0x258aa5(0x77)]('');}),this[_0x93cddb(0xad)](this[_0x93cddb(0xba)],_0x93cddb(0x7f),()=>{_0x462609=!0x0;}),this[_0x93cddb(0xad)](this[_0x93cddb(0xba)],_0x93cddb(0x79),()=>{_0x462609=!0x0;});}[_0x1baa69(0x73)](){const _0x49193f=_0x1baa69;this[_0x49193f(0xba)][_0x49193f(0x73)]();}[_0x1baa69(0x93)](){const _0xfacf=_0x1baa69,_0x27bbb1=this[_0xfacf(0xb2)],_0x699bb8=new _0x27b9d0(this[_0xfacf(0xb2)]),_0x41552c=_0xfacf(0xac);return _0x699bb8[_0xfacf(0xb5)]({'label':_0x296c88(_0x27bbb1,_0xfacf(0xaa)),'icon':_0x596953,'class':_0x41552c,'tooltip':!0x0}),_0x699bb8[_0xfacf(0x68)](_0xfacf(0x92))['to'](this,_0xfacf(0x8c),_0x2da7c2=>!!_0x2da7c2),_0x699bb8[_0xfacf(0x68)](_0xfacf(0x89))['to'](this,_0xfacf(0x8e),_0x407950=>!_0x407950),_0x699bb8['on'](_0xfacf(0xb0),()=>{const _0x37b786=_0xfacf;this[_0x37b786(0xa0)](this[_0x37b786(0xa3)][_0x37b786(0xba)]),_0x699bb8[_0x37b786(0x87)]=_0x1e0ace,_0x699bb8[_0x37b786(0xa7)]=_0x41552c+_0x37b786(0x74),this[_0x37b786(0x73)](),setTimeout(()=>{const _0x25b825=_0x37b786;_0x699bb8[_0x25b825(0x87)]=_0x596953,_0x699bb8[_0x25b825(0xa7)]=_0x41552c;},0x3e8);}),_0x699bb8;}[_0x1baa69(0xa0)](_0x31286d){const _0x52f5d1=_0x1baa69,{window:_0x339b80,document:_0x4f3a6e}=_0x228644;if(_0x339b80[_0x52f5d1(0x88)]){const {Blob:_0x4d70c4,ClipboardItem:_0x42835d}=_0x339b80,_0x5e9526=[new _0x42835d({'text/html':new _0x4d70c4([_0x31286d[_0x52f5d1(0x7e)]],{'type':_0x52f5d1(0xb4)}),'text/plain':new _0x4d70c4([_0x31286d[_0x52f5d1(0xae)]||''],{'type':_0x52f5d1(0x97)})})];navigator[_0x52f5d1(0xbc)][_0x52f5d1(0x9d)](_0x5e9526);}else{const _0x4af181=_0x4f3a6e[_0x52f5d1(0x86)](_0x52f5d1(0xb9));_0x4af181[_0x52f5d1(0xa6)][_0x52f5d1(0x83)]=_0x52f5d1(0x85),_0x4af181[_0x52f5d1(0xa6)][_0x52f5d1(0x6a)]=_0x52f5d1(0x75),_0x4af181[_0x52f5d1(0x7e)]=_0x52f5d1(0x6c)+_0x31286d[_0x52f5d1(0x7e)]+_0x52f5d1(0x8a),_0x4f3a6e[_0x52f5d1(0xa4)][_0x52f5d1(0x84)](_0x4af181);const _0x38127f=_0x4f3a6e[_0x52f5d1(0x82)]();_0x38127f[_0x52f5d1(0x70)](_0x4af181[_0x52f5d1(0x71)]),_0x38127f[_0x52f5d1(0xbb)](_0x4af181[_0x52f5d1(0x9a)]);const _0x2905c4=_0x339b80[_0x52f5d1(0x98)]();_0x2905c4[_0x52f5d1(0x6f)](),_0x2905c4[_0x52f5d1(0x91)](_0x38127f),_0x4f3a6e[_0x52f5d1(0xa2)](_0x52f5d1(0x8f)),_0x4af181[_0x52f5d1(0xa9)]();}}}export class ContentFieldView extends _0x57db0c{constructor(_0x2955f4,_0x424151=''){const _0x22026b=_0x1baa69;super(_0x2955f4),this[_0x22026b(0x80)]=this[_0x22026b(0x6e)](),this[_0x22026b(0x7b)]({'tag':_0x22026b(0xb9),'attributes':{'class':['ck',_0x22026b(0x95),_0x424151,_0x22026b(0x69),_0x22026b(0x72)]}});}[_0x1baa69(0x77)](_0x4c61e3){const _0x5cf082=_0x1baa69;this[_0x5cf082(0xba)][_0x5cf082(0x7e)]=_0x4c61e3;}[_0x1baa69(0xa1)](){const _0x1b0f30=_0x1baa69;this[_0x1b0f30(0xba)][_0x1b0f30(0x84)](this[_0x1b0f30(0x80)][_0x1b0f30(0xba)]);}[_0x1baa69(0x6e)](){const _0x556cff=_0x1baa69,_0x45f9fb=new _0x57db0c(),_0x3f2d1d=this[_0x556cff(0xb2)],_0x1106a4=new _0x10551f();return _0x1106a4[_0x556cff(0x92)]=!0x0,_0x45f9fb[_0x556cff(0x7b)]({'tag':_0x556cff(0xb9),'attributes':{'class':['ck',_0x556cff(0x81)]},'children':[_0x1106a4,{'text':_0x296c88(_0x3f2d1d,_0x556cff(0x96))}]}),_0x45f9fb[_0x556cff(0x78)](),_0x45f9fb;}}
23
+ const _0x5c2df1=_0x5b18;(function(_0x15c2d3,_0x4365f4){const _0x490ebf=_0x5b18,_0x55dc1a=_0x15c2d3();while(!![]){try{const _0x567042=parseInt(_0x490ebf(0x1f0))/0x1*(-parseInt(_0x490ebf(0x1d4))/0x2)+-parseInt(_0x490ebf(0x1c3))/0x3*(-parseInt(_0x490ebf(0x1e6))/0x4)+parseInt(_0x490ebf(0x1b2))/0x5*(-parseInt(_0x490ebf(0x1c6))/0x6)+parseInt(_0x490ebf(0x1ee))/0x7*(-parseInt(_0x490ebf(0x1ef))/0x8)+parseInt(_0x490ebf(0x1f2))/0x9+-parseInt(_0x490ebf(0x1cd))/0xa*(-parseInt(_0x490ebf(0x1c8))/0xb)+parseInt(_0x490ebf(0x1b8))/0xc;if(_0x567042===_0x4365f4)break;else _0x55dc1a['push'](_0x55dc1a['shift']());}catch(_0x4e5b3a){_0x55dc1a['push'](_0x55dc1a['shift']());}}}(_0x43ec,0x37fda));function _0x43ec(){const _0x4915e4=['element','clipboard','contentFieldView','removeAllRanges','style','ck-reset_all-excluded','remove','left','set','text/html','ck-ai-form__content-area','_createCopyButton','locale','Copy','loaderView','14176WglNvm','isProcessing','-9999px','<span>[</span>','setTemplate','div','_createLoader','icon','749OzXXpV','8032DHrZdZ','25vBUrhT','AI\x20is\x20writing...','2445291SKRjph','scrollTo','innerHTML','ck-ai-form__content-area--processing','position','createElement','setStartAfter','ck-ai-form__copy-button','ClipboardItem','setEndBefore','render','scrollHeight','body','isVisible','ck-ai-form__copy-button-wrapper','ck-content','querySelector','lastElementChild','ck-hidden','mousedown','bind','setContent','copyButtonView','11035xruJom','createRange','ck-ai-form__content-field','ck-ai-form__content-area-wrapper','appendLoader','copy','4456812zcZzkW','ck-ai-form__loader','smooth','.ck-ai-form__loader','bindTemplate','_copyHTMLToClipboard','listenTo','isEnabled','appendChild','value','\x20ck-ai-form__copy-button--copied','126EVHaeI','text/plain','addRange','918nLYBJV','execCommand','33mmQvak','firstElementChild','change:value','execute','focus','1069630pqPXMn','wheel','textContent','change:isProcessing','absolute','<span>]</span>','class','35072lLNKNz','getSelection','write'];_0x43ec=function(){return _0x4915e4;};return _0x43ec();}import{global as _0x5d24cd}from'ckeditor5/src/utils.js';import{View as _0x4718aa,ButtonView as _0x581a88,SpinnerView as _0x2b0742}from'ckeditor5/src/ui.js';import{IconCheck as _0x35fffb,IconCopy as _0x5c5705}from'ckeditor5/src/icons.js';import{getTranslation as _0x155ce3}from'../../utils/common-translations.js';function _0x5b18(_0x3bba2d,_0x4d35c4){const _0x43ec8e=_0x43ec();return _0x5b18=function(_0x5b18ff,_0x541f64){_0x5b18ff=_0x5b18ff-0x1a7;let _0x8fcc6=_0x43ec8e[_0x5b18ff];return _0x8fcc6;},_0x5b18(_0x3bba2d,_0x4d35c4);}export class AIFormContentArea extends _0x4718aa{[_0x5c2df1(0x1d9)];[_0x5c2df1(0x1b1)];constructor(_0x42f082,_0x486bc3=''){const _0x145a07=_0x5c2df1;super(_0x42f082),this[_0x145a07(0x1df)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3be15a=this[_0x145a07(0x1bc)];this[_0x145a07(0x1d9)]=new ContentFieldView(_0x42f082,_0x486bc3),this[_0x145a07(0x1b1)]=this[_0x145a07(0x1e2)](),this[_0x145a07(0x1ea)]({'tag':_0x145a07(0x1eb),'attributes':{'class':['ck',_0x145a07(0x1b5),_0x3be15a['if'](_0x145a07(0x1a8),_0x145a07(0x1ad),_0x330ee9=>!_0x330ee9)],'tabindex':'-1'},'children':[{'tag':_0x145a07(0x1eb),'attributes':{'class':['ck',_0x145a07(0x1e1),_0x3be15a['if'](_0x145a07(0x1e7),_0x145a07(0x1f5))]},'children':[this[_0x145a07(0x1d9)],{'tag':_0x145a07(0x1eb),'attributes':{'class':['ck',_0x145a07(0x1a9)]},'children':[this[_0x145a07(0x1b1)]]}]}]});}[_0x5c2df1(0x1fc)](){const _0x546319=_0x5c2df1;super[_0x546319(0x1fc)](),this[_0x546319(0x1c1)]&&this[_0x546319(0x1d9)][_0x546319(0x1b0)](this[_0x546319(0x1c1)]);let _0x1b3a2f=!0x1;this['on'](_0x546319(0x1ca),(_0x3c5982,_0x306983,_0x22800c)=>{const _0x286428=_0x546319,_0x5122a4=!this[_0x286428(0x1d9)][_0x286428(0x1d7)][_0x286428(0x1ab)](_0x286428(0x1bb));this[_0x286428(0x1d9)][_0x286428(0x1b0)](_0x22800c),this[_0x286428(0x1e7)]&&_0x5122a4&&!_0x1b3a2f&&this[_0x286428(0x1d7)][_0x286428(0x1f3)]({'top':this[_0x286428(0x1d7)][_0x286428(0x1fd)],'behavior':_0x286428(0x1ba)});}),this['on'](_0x546319(0x1d0),(_0x52500d,_0x700c05,_0x48b0f8)=>{const _0x535dd6=_0x546319;_0x1b3a2f=!0x1,_0x48b0f8?(this[_0x535dd6(0x1c1)]=null,this[_0x535dd6(0x1d9)][_0x535dd6(0x1b6)]()):this[_0x535dd6(0x1c1)]||this[_0x535dd6(0x1d9)][_0x535dd6(0x1b0)]('');}),this[_0x546319(0x1be)](this[_0x546319(0x1d7)],_0x546319(0x1ce),()=>{_0x1b3a2f=!0x0;}),this[_0x546319(0x1be)](this[_0x546319(0x1d7)],_0x546319(0x1ae),()=>{_0x1b3a2f=!0x0;});}[_0x5c2df1(0x1cc)](){const _0x1cb534=_0x5c2df1;this[_0x1cb534(0x1d7)][_0x1cb534(0x1cc)]();}[_0x5c2df1(0x1e2)](){const _0x29207d=_0x5c2df1,_0x3ddd06=this[_0x29207d(0x1e3)],_0x5b1d31=new _0x581a88(this[_0x29207d(0x1e3)]),_0x57f04f=_0x29207d(0x1f9);return _0x5b1d31[_0x29207d(0x1df)]({'label':_0x155ce3(_0x3ddd06,_0x29207d(0x1e4)),'icon':_0x5c5705,'class':_0x57f04f,'tooltip':!0x0}),_0x5b1d31[_0x29207d(0x1af)](_0x29207d(0x1a8))['to'](this,_0x29207d(0x1c1),_0x3a489b=>!!_0x3a489b),_0x5b1d31[_0x29207d(0x1af)](_0x29207d(0x1bf))['to'](this,_0x29207d(0x1e7),_0x41153b=>!_0x41153b),_0x5b1d31['on'](_0x29207d(0x1cb),()=>{const _0x542c97=_0x29207d;this[_0x542c97(0x1bd)](this[_0x542c97(0x1d9)][_0x542c97(0x1d7)]),_0x5b1d31[_0x542c97(0x1ed)]=_0x35fffb,_0x5b1d31[_0x542c97(0x1d3)]=_0x57f04f+_0x542c97(0x1c2),this[_0x542c97(0x1cc)](),setTimeout(()=>{const _0xd243fd=_0x542c97;_0x5b1d31[_0xd243fd(0x1ed)]=_0x5c5705,_0x5b1d31[_0xd243fd(0x1d3)]=_0x57f04f;},0x3e8);}),_0x5b1d31;}[_0x5c2df1(0x1bd)](_0x47d7ec){const _0x5925be=_0x5c2df1,{window:_0x534ffe,document:_0x5ea383}=_0x5d24cd;if(_0x534ffe[_0x5925be(0x1fa)]){const {Blob:_0xc204d9,ClipboardItem:_0x19292a}=_0x534ffe,_0xac9ff7=[new _0x19292a({'text/html':new _0xc204d9([_0x47d7ec[_0x5925be(0x1f4)]],{'type':_0x5925be(0x1e0)}),'text/plain':new _0xc204d9([_0x47d7ec[_0x5925be(0x1cf)]||''],{'type':_0x5925be(0x1c4)})})];navigator[_0x5925be(0x1d8)][_0x5925be(0x1d6)](_0xac9ff7);}else{const _0x51c258=_0x5ea383[_0x5925be(0x1f7)](_0x5925be(0x1eb));_0x51c258[_0x5925be(0x1db)][_0x5925be(0x1f6)]=_0x5925be(0x1d1),_0x51c258[_0x5925be(0x1db)][_0x5925be(0x1de)]=_0x5925be(0x1e8),_0x51c258[_0x5925be(0x1f4)]=_0x5925be(0x1e9)+_0x47d7ec[_0x5925be(0x1f4)]+_0x5925be(0x1d2),_0x5ea383[_0x5925be(0x1a7)][_0x5925be(0x1c0)](_0x51c258);const _0x42d5c4=_0x5ea383[_0x5925be(0x1b3)]();_0x42d5c4[_0x5925be(0x1f8)](_0x51c258[_0x5925be(0x1c9)]),_0x42d5c4[_0x5925be(0x1fb)](_0x51c258[_0x5925be(0x1ac)]);const _0x2771d6=_0x534ffe[_0x5925be(0x1d5)]();_0x2771d6[_0x5925be(0x1da)](),_0x2771d6[_0x5925be(0x1c5)](_0x42d5c4),_0x5ea383[_0x5925be(0x1c7)](_0x5925be(0x1b7)),_0x51c258[_0x5925be(0x1dd)]();}}}export class ContentFieldView extends _0x4718aa{constructor(_0x1d4f28,_0x73de52=''){const _0x4c61e5=_0x5c2df1;super(_0x1d4f28),this[_0x4c61e5(0x1e5)]=this[_0x4c61e5(0x1ec)](),this[_0x4c61e5(0x1ea)]({'tag':_0x4c61e5(0x1eb),'attributes':{'class':['ck',_0x4c61e5(0x1aa),_0x73de52,_0x4c61e5(0x1dc),_0x4c61e5(0x1b4)]}});}[_0x5c2df1(0x1b0)](_0x4f7efe){const _0x272e2b=_0x5c2df1;this[_0x272e2b(0x1d7)][_0x272e2b(0x1f4)]=_0x4f7efe;}[_0x5c2df1(0x1b6)](){const _0x37a0aa=_0x5c2df1;this[_0x37a0aa(0x1d7)][_0x37a0aa(0x1c0)](this[_0x37a0aa(0x1e5)][_0x37a0aa(0x1d7)]);}[_0x5c2df1(0x1ec)](){const _0x392ecd=_0x5c2df1,_0x25db46=new _0x4718aa(),_0x7f98d0=this[_0x392ecd(0x1e3)],_0x72aa02=new _0x2b0742();return _0x72aa02[_0x392ecd(0x1a8)]=!0x0,_0x25db46[_0x392ecd(0x1ea)]({'tag':_0x392ecd(0x1eb),'attributes':{'class':['ck',_0x392ecd(0x1b9)]},'children':[_0x72aa02,{'text':_0x155ce3(_0x7f98d0,_0x392ecd(0x1f1))}]}),_0x25db46[_0x392ecd(0x1fc)](),_0x25db46;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bea73=_0x1fe3;function _0x1fe3(_0x558f4d,_0x123919){const _0x2b0f96=_0x2b0f();return _0x1fe3=function(_0x1fe318,_0x24d37c){_0x1fe318=_0x1fe318-0x161;let _0xc91a3=_0x2b0f96[_0x1fe318];return _0xc91a3;},_0x1fe3(_0x558f4d,_0x123919);}(function(_0x3ccade,_0x12a555){const _0x3a68ee=_0x1fe3,_0x54b16a=_0x3ccade();while(!![]){try{const _0x8d7a1f=-parseInt(_0x3a68ee(0x19b))/0x1*(-parseInt(_0x3a68ee(0x18e))/0x2)+parseInt(_0x3a68ee(0x178))/0x3+-parseInt(_0x3a68ee(0x18d))/0x4*(-parseInt(_0x3a68ee(0x199))/0x5)+-parseInt(_0x3a68ee(0x193))/0x6*(-parseInt(_0x3a68ee(0x184))/0x7)+parseInt(_0x3a68ee(0x175))/0x8*(-parseInt(_0x3a68ee(0x198))/0x9)+-parseInt(_0x3a68ee(0x181))/0xa*(parseInt(_0x3a68ee(0x187))/0xb)+-parseInt(_0x3a68ee(0x180))/0xc*(parseInt(_0x3a68ee(0x182))/0xd);if(_0x8d7a1f===_0x12a555)break;else _0x54b16a['push'](_0x54b16a['shift']());}catch(_0x29a1f3){_0x54b16a['push'](_0x54b16a['shift']());}}}(_0x2b0f,0xa419d));import{Rect as _0xc3adc2,global as _0x3a944a,isVisible as _0x2b4245}from'ckeditor5/src/utils.js';function _0x2b0f(){const _0x147fe6=['update','enter','Submit','target','width','minRows','fire','render','isOn','showHistoryButtonView','focus','focusCycler','keystrokes','resultsView','submit','style','ck-ai-form__toggle-history','right','isVisible','8iEPKgj','window','excludeScrollbarsAndBorders','3392364CezIzw','_createShowHistoryButton','add','uiLanguageDirection','fieldView','submitButtonView','rtl','locale','909864PBdEVl','20xBkuhI','299mELgxr','filteredView','35hsmdsW','element','children','2072301ckGMmc','queryView','fieldWrapperChildren','isEnabled','set','bind','8ISUaes','48xAISSj','value','isEmpty','ck-ai-form__submit','execute','806268ThLqwZ','History','focusableChildren','left','_createSubmitButton','10501911OJoBox','2644555RNxDra','maxRows','45801AKScHH','focusFirst','requestAnimationFrame','focusLast'];_0x2b0f=function(){return _0x147fe6;};return _0x2b0f();}import{IconAIHistory as _0xd27ed3,IconSubmit as _0x28f3e4}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x42d1fe,ButtonView as _0xe2767f}from'ckeditor5/src/ui.js';import{getTranslation as _0x5dd7d6}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x42d1fe{[_0x4bea73(0x17d)];[_0x4bea73(0x16b)];constructor(_0x6bddd,_0x26cb09){const _0x3ac225=_0x4bea73;super(_0x6bddd,_0x26cb09),this[_0x3ac225(0x188)][_0x3ac225(0x17c)][_0x3ac225(0x167)]=0x1,this[_0x3ac225(0x188)][_0x3ac225(0x17c)][_0x3ac225(0x19a)]=0x3,this[_0x3ac225(0x17d)]=this[_0x3ac225(0x197)](),this[_0x3ac225(0x16b)]=this[_0x3ac225(0x179)](),this[_0x3ac225(0x195)][_0x3ac225(0x17a)](this[_0x3ac225(0x16b)],0x1),this[_0x3ac225(0x195)][_0x3ac225(0x17a)](this[_0x3ac225(0x17d)]);}[_0x4bea73(0x169)](){const _0x5ecd7d=_0x4bea73;super[_0x5ecd7d(0x169)](),this[_0x5ecd7d(0x188)][_0x5ecd7d(0x189)][_0x5ecd7d(0x17a)](this[_0x5ecd7d(0x16b)]),this[_0x5ecd7d(0x186)][_0x5ecd7d(0x17a)](this[_0x5ecd7d(0x17d)]),this[_0x5ecd7d(0x16e)][_0x5ecd7d(0x18b)](_0x5ecd7d(0x163),(_0x42a385,_0x3be148)=>{const _0x4f0b11=_0x5ecd7d;_0x42a385[_0x4f0b11(0x165)]==this[_0x4f0b11(0x188)][_0x4f0b11(0x17c)][_0x4f0b11(0x185)]&&(this[_0x4f0b11(0x170)](),_0x3be148());});}[_0x4bea73(0x197)](){const _0x1b6a78=_0x4bea73,_0x521d5c=new _0xe2767f(this[_0x1b6a78(0x17f)]),_0x469ce7=this[_0x1b6a78(0x17f)];return _0x521d5c[_0x1b6a78(0x18b)]({'icon':_0x28f3e4,'label':_0x5dd7d6(_0x469ce7,_0x1b6a78(0x164)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1b6a78(0x191)}),_0x521d5c['on'](_0x1b6a78(0x192),()=>{const _0x4efc38=_0x1b6a78;this[_0x4efc38(0x170)]();}),_0x521d5c[_0x1b6a78(0x18c)](_0x1b6a78(0x18a))['to'](this[_0x1b6a78(0x188)][_0x1b6a78(0x17c)],_0x1b6a78(0x190),this,_0x1b6a78(0x18a),(_0x5876c7,_0x5aa65e)=>!_0x5876c7&&_0x5aa65e),_0x521d5c;}[_0x4bea73(0x179)](){const _0x48ab1d=_0x4bea73,_0x266593=new _0xe2767f(this[_0x48ab1d(0x17f)]),_0x7384e2=this[_0x48ab1d(0x16f)],_0x453f0a=this[_0x48ab1d(0x17f)];_0x266593[_0x48ab1d(0x18b)]({'label':_0x5dd7d6(_0x453f0a,_0x48ab1d(0x194)),'withText':!0x1,'icon':_0xd27ed3,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x48ab1d(0x172)}),_0x266593[_0x48ab1d(0x18c)](_0x48ab1d(0x16a))['to'](_0x7384e2,_0x48ab1d(0x174)),_0x266593[_0x48ab1d(0x18c)](_0x48ab1d(0x18a))['to'](this,_0x48ab1d(0x18a)),_0x266593['on'](_0x48ab1d(0x192),()=>{const _0x53aa48=_0x48ab1d;_0x7384e2[_0x53aa48(0x174)]=!_0x7384e2[_0x53aa48(0x174)],_0x7384e2[_0x53aa48(0x174)]?this[_0x53aa48(0x183)][_0x53aa48(0x16c)]():this[_0x53aa48(0x16c)]();});const _0x9d4e4f=()=>{const _0x48304b=_0x48ab1d;_0x3a944a[_0x48304b(0x176)][_0x48304b(0x19d)](()=>{const _0x25a9ed=_0x48304b;if(_0x2b4245(this[_0x25a9ed(0x185)])){const _0x10729d=new _0xc3adc2(this[_0x25a9ed(0x188)][_0x25a9ed(0x17c)][_0x25a9ed(0x185)]),_0x2e06cd=_0x10729d[_0x25a9ed(0x166)],_0x2666f3=_0x25a9ed(0x17e)===_0x453f0a[_0x25a9ed(0x17b)]?_0x25a9ed(0x196):_0x25a9ed(0x173);_0x10729d[_0x25a9ed(0x177)](),_0x266593[_0x25a9ed(0x185)][_0x25a9ed(0x171)][_0x2666f3]=_0x2e06cd-_0x10729d[_0x25a9ed(0x166)]+0x1+'px';}});};return this[_0x48ab1d(0x188)][_0x48ab1d(0x17c)]['on'](_0x48ab1d(0x162),_0x9d4e4f),this['on'](_0x48ab1d(0x169),_0x9d4e4f),_0x266593;}[_0x4bea73(0x170)](){const _0x441d23=_0x4bea73,_0x12156b=this[_0x441d23(0x188)][_0x441d23(0x17c)][_0x441d23(0x185)][_0x441d23(0x18f)];this[_0x441d23(0x168)](_0x441d23(0x170),_0x12156b);}[_0x4bea73(0x16c)](_0x332154){const _0x24a60b=_0x4bea73;-0x1===_0x332154?this[_0x24a60b(0x16d)][_0x24a60b(0x161)]():this[_0x24a60b(0x16d)][_0x24a60b(0x19c)]();}}
23
+ const _0x17da18=_0x184e;function _0x184e(_0x2007cf,_0x2755c8){const _0xb00477=_0xb004();return _0x184e=function(_0x184eb7,_0x74f1dd){_0x184eb7=_0x184eb7-0x12a;let _0x1ed9fc=_0xb00477[_0x184eb7];return _0x1ed9fc;},_0x184e(_0x2007cf,_0x2755c8);}function _0xb004(){const _0x168141=['focusLast','queryView','children','style','filteredView','locale','fieldView','submitButtonView','175606lNqUYx','focusableChildren','_createShowHistoryButton','element','530QLiGTQ','submit','History','1gJhRzA','keystrokes','isVisible','144988EpfJFm','excludeScrollbarsAndBorders','_createSubmitButton','isEnabled','isOn','showHistoryButtonView','30KuCaRA','update','width','maxRows','2485664pIDbDd','requestAnimationFrame','5881435iclxYo','add','focusCycler','right','minRows','resultsView','uiLanguageDirection','left','961872DqoJTA','bind','window','rtl','enter','value','isEmpty','577434YEFEOE','target','render','Submit','ck-ai-form__toggle-history','fieldWrapperChildren','execute','146727demqIO','set','fire','focus','ck-ai-form__submit','focusFirst'];_0xb004=function(){return _0x168141;};return _0xb004();}(function(_0x2d73aa,_0x262b36){const _0x33c323=_0x184e,_0x27eb16=_0x2d73aa();while(!![]){try{const _0x6dc766=parseInt(_0x33c323(0x150))/0x1*(-parseInt(_0x33c323(0x149))/0x2)+-parseInt(_0x33c323(0x134))/0x3+-parseInt(_0x33c323(0x153))/0x4*(-parseInt(_0x33c323(0x159))/0x5)+parseInt(_0x33c323(0x12d))/0x6+-parseInt(_0x33c323(0x15f))/0x7+parseInt(_0x33c323(0x15d))/0x8+-parseInt(_0x33c323(0x13b))/0x9*(-parseInt(_0x33c323(0x14d))/0xa);if(_0x6dc766===_0x262b36)break;else _0x27eb16['push'](_0x27eb16['shift']());}catch(_0x28789d){_0x27eb16['push'](_0x27eb16['shift']());}}}(_0xb004,0x697cb));import{Rect as _0x4e363b,global as _0x229f65,isVisible as _0x3a730d}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x576fb9,IconSubmit as _0x54139e}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x4c14ed,ButtonView as _0x2a3ada}from'ckeditor5/src/ui.js';import{getTranslation as _0x3db4e3}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x4c14ed{[_0x17da18(0x148)];[_0x17da18(0x158)];constructor(_0x3d8545,_0x40f3be){const _0x5be9ab=_0x17da18;super(_0x3d8545,_0x40f3be),this[_0x5be9ab(0x142)][_0x5be9ab(0x147)][_0x5be9ab(0x163)]=0x1,this[_0x5be9ab(0x142)][_0x5be9ab(0x147)][_0x5be9ab(0x15c)]=0x3,this[_0x5be9ab(0x148)]=this[_0x5be9ab(0x155)](),this[_0x5be9ab(0x158)]=this[_0x5be9ab(0x14b)](),this[_0x5be9ab(0x14a)][_0x5be9ab(0x160)](this[_0x5be9ab(0x158)],0x1),this[_0x5be9ab(0x14a)][_0x5be9ab(0x160)](this[_0x5be9ab(0x148)]);}[_0x17da18(0x136)](){const _0x2504d0=_0x17da18;super[_0x2504d0(0x136)](),this[_0x2504d0(0x142)][_0x2504d0(0x139)][_0x2504d0(0x160)](this[_0x2504d0(0x158)]),this[_0x2504d0(0x143)][_0x2504d0(0x160)](this[_0x2504d0(0x148)]),this[_0x2504d0(0x151)][_0x2504d0(0x13c)](_0x2504d0(0x131),(_0x50e9e3,_0x496a39)=>{const _0x5abb35=_0x2504d0;_0x50e9e3[_0x5abb35(0x135)]==this[_0x5abb35(0x142)][_0x5abb35(0x147)][_0x5abb35(0x14c)]&&(this[_0x5abb35(0x14e)](),_0x496a39());});}[_0x17da18(0x155)](){const _0x4f9da4=_0x17da18,_0x3dbfd4=new _0x2a3ada(this[_0x4f9da4(0x146)]),_0x21ae71=this[_0x4f9da4(0x146)];return _0x3dbfd4[_0x4f9da4(0x13c)]({'icon':_0x54139e,'label':_0x3db4e3(_0x21ae71,_0x4f9da4(0x137)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4f9da4(0x13f)}),_0x3dbfd4['on'](_0x4f9da4(0x13a),()=>{const _0x44f45a=_0x4f9da4;this[_0x44f45a(0x14e)]();}),_0x3dbfd4[_0x4f9da4(0x12e)](_0x4f9da4(0x156))['to'](this[_0x4f9da4(0x142)][_0x4f9da4(0x147)],_0x4f9da4(0x133),this,_0x4f9da4(0x156),(_0x4483c3,_0x3840b6)=>!_0x4483c3&&_0x3840b6),_0x3dbfd4;}[_0x17da18(0x14b)](){const _0x171013=_0x17da18,_0x440bb0=new _0x2a3ada(this[_0x171013(0x146)]),_0x340514=this[_0x171013(0x12a)],_0x364c0a=this[_0x171013(0x146)];_0x440bb0[_0x171013(0x13c)]({'label':_0x3db4e3(_0x364c0a,_0x171013(0x14f)),'withText':!0x1,'icon':_0x576fb9,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x171013(0x138)}),_0x440bb0[_0x171013(0x12e)](_0x171013(0x157))['to'](_0x340514,_0x171013(0x152)),_0x440bb0[_0x171013(0x12e)](_0x171013(0x156))['to'](this,_0x171013(0x156)),_0x440bb0['on'](_0x171013(0x13a),()=>{const _0x5282e3=_0x171013;_0x340514[_0x5282e3(0x152)]=!_0x340514[_0x5282e3(0x152)],_0x340514[_0x5282e3(0x152)]?this[_0x5282e3(0x145)][_0x5282e3(0x13e)]():this[_0x5282e3(0x13e)]();});const _0x363596=()=>{const _0x24d03a=_0x171013;_0x229f65[_0x24d03a(0x12f)][_0x24d03a(0x15e)](()=>{const _0x343363=_0x24d03a;if(_0x3a730d(this[_0x343363(0x14c)])){const _0x589115=new _0x4e363b(this[_0x343363(0x142)][_0x343363(0x147)][_0x343363(0x14c)]),_0x435b8b=_0x589115[_0x343363(0x15b)],_0x531ed5=_0x343363(0x130)===_0x364c0a[_0x343363(0x12b)]?_0x343363(0x12c):_0x343363(0x162);_0x589115[_0x343363(0x154)](),_0x440bb0[_0x343363(0x14c)][_0x343363(0x144)][_0x531ed5]=_0x435b8b-_0x589115[_0x343363(0x15b)]+0x1+'px';}});};return this[_0x171013(0x142)][_0x171013(0x147)]['on'](_0x171013(0x15a),_0x363596),this['on'](_0x171013(0x136),_0x363596),_0x440bb0;}[_0x17da18(0x14e)](){const _0x1f652d=_0x17da18,_0x3668d7=this[_0x1f652d(0x142)][_0x1f652d(0x147)][_0x1f652d(0x14c)][_0x1f652d(0x132)];this[_0x1f652d(0x13d)](_0x1f652d(0x14e),_0x3668d7);}[_0x17da18(0x13e)](_0x5be7d2){const _0x3a3d8d=_0x17da18;-0x1===_0x5be7d2?this[_0x3a3d8d(0x161)][_0x3a3d8d(0x141)]():this[_0x3a3d8d(0x161)][_0x3a3d8d(0x140)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ed247=_0x5b00;(function(_0x50d878,_0x496ad3){const _0x410c80=_0x5b00,_0x15f60b=_0x50d878();while(!![]){try{const _0x2fe669=-parseInt(_0x410c80(0x159))/0x1+parseInt(_0x410c80(0x15f))/0x2*(-parseInt(_0x410c80(0x169))/0x3)+parseInt(_0x410c80(0x160))/0x4*(-parseInt(_0x410c80(0x179))/0x5)+parseInt(_0x410c80(0x161))/0x6*(-parseInt(_0x410c80(0x16b))/0x7)+parseInt(_0x410c80(0x175))/0x8*(-parseInt(_0x410c80(0x166))/0x9)+parseInt(_0x410c80(0x15c))/0xa*(-parseInt(_0x410c80(0x177))/0xb)+parseInt(_0x410c80(0x174))/0xc;if(_0x2fe669===_0x496ad3)break;else _0x15f60b['push'](_0x15f60b['shift']());}catch(_0x2c8bd2){_0x15f60b['push'](_0x15f60b['shift']());}}}(_0x13ec,0x21de9));import{ToolbarView as _0x3f4559,ButtonView as _0x2b0243}from'ckeditor5/src/ui.js';function _0x5b00(_0x5917a9,_0x404888){const _0x13ec83=_0x13ec();return _0x5b00=function(_0x5b0006,_0x26f1a2){_0x5b0006=_0x5b0006-0x158;let _0x467a22=_0x13ec83[_0x5b0006];return _0x467a22;},_0x5b00(_0x5917a9,_0x404888);}import{getTranslation as _0x5dc2e2}from'../../utils/common-translations.js';function _0x13ec(){const _0x583b32=['toUpperCase','_CONTENT','set','label','items','insertButton','13454460dECjGY','464ydWLAl','tryAgainButton','221617OhlBhZ','addMany','5dIKvDg','_createButton','ck-ai-form__toolbar','Stop','insert','bindTemplate','isVisible','169687YluYrT','stopButton','REPLACE','40owQQue','mainAction','bind','62dfyCsb','699956gybZml','1019736NnbVgR','replaceButton','ck-button-action','replace','extendTemplate','27891dOrAgk','ck-hidden','AI_','20082xcVhcB','locale','7oSGUkf','Try\x20again','Insert\x20below'];_0x13ec=function(){return _0x583b32;};return _0x13ec();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x2ed247(0x164),'INSERT':_0x2ed247(0x17d)};export class AIFormToolbarView extends _0x3f4559{constructor(_0xc1ed5a){const _0x5a5fd9=_0x2ed247;super(_0xc1ed5a),this[_0x5a5fd9(0x170)](_0x5a5fd9(0x158),!0x1),this[_0x5a5fd9(0x170)](_0x5a5fd9(0x15d),AIFormToolbarViewMainActionLabel[_0x5a5fd9(0x15b)]),this[_0x5a5fd9(0x162)]=this[_0x5a5fd9(0x17a)]('',_0x5a5fd9(0x163)),this[_0x5a5fd9(0x162)][_0x5a5fd9(0x15e)](_0x5a5fd9(0x171))['to'](this,_0x5a5fd9(0x15d),_0x1d7eed=>_0x5dc2e2(_0xc1ed5a,_0x5a5fd9(0x168)+_0x1d7eed[_0x5a5fd9(0x16e)]()+_0x5a5fd9(0x16f))),this[_0x5a5fd9(0x173)]=this[_0x5a5fd9(0x17a)](_0x5dc2e2(_0xc1ed5a,_0x5a5fd9(0x16d))),this[_0x5a5fd9(0x176)]=this[_0x5a5fd9(0x17a)](_0x5dc2e2(_0xc1ed5a,_0x5a5fd9(0x16c))),this[_0x5a5fd9(0x15a)]=this[_0x5a5fd9(0x17a)](_0x5dc2e2(_0xc1ed5a,_0x5a5fd9(0x17c)));const _0x215ac7=this[_0x5a5fd9(0x17e)];this[_0x5a5fd9(0x165)]({'attributes':{'class':[_0x5a5fd9(0x17b),_0x215ac7['if'](_0x5a5fd9(0x158),_0x5a5fd9(0x167),_0x56317a=>!_0x56317a)]}}),this[_0x5a5fd9(0x172)][_0x5a5fd9(0x178)]([this[_0x5a5fd9(0x162)],this[_0x5a5fd9(0x173)],this[_0x5a5fd9(0x176)],this[_0x5a5fd9(0x15a)]]);}[_0x2ed247(0x17a)](_0x31052d,_0x3066f6){const _0x15a9b6=_0x2ed247,_0x56e5cc=new _0x2b0243(this[_0x15a9b6(0x16a)]);return _0x56e5cc[_0x15a9b6(0x170)]({'label':_0x31052d,'class':_0x3066f6||'','isVisible':!0x0,'withText':!0x0}),_0x56e5cc;}}
23
+ const _0x529eb4=_0x4dfe;(function(_0x2f2bf5,_0x25a88d){const _0x29abbb=_0x4dfe,_0x504580=_0x2f2bf5();while(!![]){try{const _0x40834f=-parseInt(_0x29abbb(0x173))/0x1*(-parseInt(_0x29abbb(0x16e))/0x2)+-parseInt(_0x29abbb(0x16a))/0x3*(-parseInt(_0x29abbb(0x17f))/0x4)+parseInt(_0x29abbb(0x172))/0x5*(parseInt(_0x29abbb(0x164))/0x6)+-parseInt(_0x29abbb(0x178))/0x7*(-parseInt(_0x29abbb(0x17e))/0x8)+-parseInt(_0x29abbb(0x166))/0x9+-parseInt(_0x29abbb(0x175))/0xa*(-parseInt(_0x29abbb(0x163))/0xb)+-parseInt(_0x29abbb(0x15a))/0xc;if(_0x40834f===_0x25a88d)break;else _0x504580['push'](_0x504580['shift']());}catch(_0x596820){_0x504580['push'](_0x504580['shift']());}}}(_0x104e,0x62152));import{ToolbarView as _0xa0ab08,ButtonView as _0x401a58}from'ckeditor5/src/ui.js';import{getTranslation as _0x4a7238}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x529eb4(0x15f),'INSERT':_0x529eb4(0x16c)};export class AIFormToolbarView extends _0xa0ab08{constructor(_0xd31017){const _0x2c61dc=_0x529eb4;super(_0xd31017),this[_0x2c61dc(0x17d)](_0x2c61dc(0x160),!0x1),this[_0x2c61dc(0x17d)](_0x2c61dc(0x165),AIFormToolbarViewMainActionLabel[_0x2c61dc(0x161)]),this[_0x2c61dc(0x162)]=this[_0x2c61dc(0x177)]('',_0x2c61dc(0x15c)),this[_0x2c61dc(0x162)][_0x2c61dc(0x159)](_0x2c61dc(0x15d))['to'](this,_0x2c61dc(0x165),_0x25c0d1=>_0x4a7238(_0xd31017,_0x2c61dc(0x16b)+_0x25c0d1[_0x2c61dc(0x16d)]()+_0x2c61dc(0x171))),this[_0x2c61dc(0x16f)]=this[_0x2c61dc(0x177)](_0x4a7238(_0xd31017,_0x2c61dc(0x168))),this[_0x2c61dc(0x15b)]=this[_0x2c61dc(0x177)](_0x4a7238(_0xd31017,_0x2c61dc(0x15e))),this[_0x2c61dc(0x176)]=this[_0x2c61dc(0x177)](_0x4a7238(_0xd31017,_0x2c61dc(0x17b)));const _0x1ae1de=this[_0x2c61dc(0x167)];this[_0x2c61dc(0x179)]({'attributes':{'class':[_0x2c61dc(0x174),_0x1ae1de['if'](_0x2c61dc(0x160),_0x2c61dc(0x17c),_0x241b32=>!_0x241b32)]}}),this[_0x2c61dc(0x17a)][_0x2c61dc(0x170)]([this[_0x2c61dc(0x162)],this[_0x2c61dc(0x16f)],this[_0x2c61dc(0x15b)],this[_0x2c61dc(0x176)]]);}[_0x529eb4(0x177)](_0x101348,_0xd51d9e){const _0x1a1f78=_0x529eb4,_0x27ccac=new _0x401a58(this[_0x1a1f78(0x169)]);return _0x27ccac[_0x1a1f78(0x17d)]({'label':_0x101348,'class':_0xd51d9e||'','isVisible':!0x0,'withText':!0x0}),_0x27ccac;}}function _0x4dfe(_0x387681,_0x1439c4){const _0x104e6=_0x104e();return _0x4dfe=function(_0x4dfec6,_0x528f01){_0x4dfec6=_0x4dfec6-0x159;let _0x310e58=_0x104e6[_0x4dfec6];return _0x310e58;},_0x4dfe(_0x387681,_0x1439c4);}function _0x104e(){const _0x16ae2c=['insertButton','addMany','_CONTENT','232835wrpyuC','632345Icalto','ck-ai-form__toolbar','2336830pTqeID','stopButton','_createButton','973uHGcZY','extendTemplate','items','Stop','ck-hidden','set','34264PlEMud','8jCgIVG','bind','14055252RoZLhn','tryAgainButton','ck-button-action','label','Try\x20again','replace','isVisible','REPLACE','replaceButton','33hObenP','42YaVmvP','mainAction','6939135ELHfKD','bindTemplate','Insert\x20below','locale','133998TrWPae','AI_','insert','toUpperCase','2nBJdQE'];_0x104e=function(){return _0x16ae2c;};return _0x104e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x437a83=_0x1158;(function(_0x273579,_0x51ba53){const _0x4429e1=_0x1158,_0x321f0a=_0x273579();while(!![]){try{const _0x2ceee2=parseInt(_0x4429e1(0x156))/0x1+-parseInt(_0x4429e1(0x15d))/0x2+parseInt(_0x4429e1(0x115))/0x3+parseInt(_0x4429e1(0x14a))/0x4+parseInt(_0x4429e1(0x150))/0x5+-parseInt(_0x4429e1(0x13f))/0x6+-parseInt(_0x4429e1(0x157))/0x7*(parseInt(_0x4429e1(0x12c))/0x8);if(_0x2ceee2===_0x51ba53)break;else _0x321f0a['push'](_0x321f0a['shift']());}catch(_0x369b3a){_0x321f0a['push'](_0x321f0a['shift']());}}}(_0x2293,0x851bc));import{FocusTracker as _0x54003e,KeystrokeHandler as _0x11b28a}from'ckeditor5/src/utils.js';import{View as _0x2630b9,FocusCycler as _0x36becd,createLabeledTextarea as _0x7638d3}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0xbdae42,AIFormToolbarViewMainActionLabel as _0xc69adf}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x3904d8}from'./aiformcontentarea.js';import{AIFormErrorView as _0x273e62}from'./aiformerrorview.js';function _0x1158(_0x5e7a74,_0x41cb44){const _0x229338=_0x2293();return _0x1158=function(_0x1158a2,_0x28e64c){_0x1158a2=_0x1158a2-0x113;let _0x31a88f=_0x229338[_0x1158a2];return _0x31a88f;},_0x1158(_0x5e7a74,_0x41cb44);}import{AIFormPromptView as _0x1cf075}from'./aiformpromptview.js';import{AIHistoryListView as _0x550395}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x10bde2}from'./aihistorylistitemview.js';import{PromptHistory as _0x4c4a32}from'./prompthistory.js';import{getTranslation as _0x34f4ce}from'../../utils/common-translations.js';import{escape as _0x381ea9}from'es-toolkit/compat';function _0x2293(){const _0x98dc9c=['listenTo','trim','items','keystrokes','historyGroupView','REPLACE','tab','insertButton','label','AI_ERROR_FAILED','ck-ai-form','ck-hidden','submit','fire','contentArea','Ask\x20AI\x20to\x20edit\x20or\x20generate','isProcessing','insertContentBelow','2797656vyecbQ','render','_focusables','Ask\x20AI\x20to\x20improve\x20generated\x20text','_createHistoryView','replaceButton','search','createCollection','prompt','clear','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','3742248QjgmHQ','focusCycler','toolbar','focus','chain','submitPrompt','1877010ntSZlF','ck-ai-form-content','delegate','copyButtonView','add','bind','212546ZnWTJR','1964571fjPFcR','focusTracker','_createToolbar','stopButton','bindTo','high','941356ACiThv','value','setTemplate','bindTemplate','_createPromptView','isVisible','promptView','errorView','tryAgainEvent','queryView','element','717927PnorQB','_promptHistory','locale','focusLast','stopProcessing','reset','div','handleError','isError','finishProcessing','tryAgainButton','mainAction','shift\x20+\x20tab','fieldView','focusFirst','Empty\x20history','execute','clearHistory','isEnabled','startProcessing','set','text','replaceContent','8vhBmZm'];_0x2293=function(){return _0x98dc9c;};return _0x2293();}export class AIFormView extends _0x2630b9{[_0x437a83(0x158)];[_0x437a83(0x130)];[_0x437a83(0x13b)];[_0x437a83(0x14c)];[_0x437a83(0x163)];[_0x437a83(0x164)];[_0x437a83(0x141)];[_0x437a83(0x14b)];[_0x437a83(0x116)];constructor(_0x45e2e9,_0x1bca97,_0x5a0950=''){const _0x3cf221=_0x437a83;super(_0x45e2e9),this[_0x3cf221(0x129)](_0x3cf221(0x127),!0x0),this[_0x3cf221(0x129)](_0x3cf221(0x13d),!0x1),this[_0x3cf221(0x129)](_0x3cf221(0x147),''),this[_0x3cf221(0x129)](_0x3cf221(0x15e),''),this[_0x3cf221(0x129)](_0x3cf221(0x11d),!0x1),this[_0x3cf221(0x129)](_0x3cf221(0x120),_0xc69adf[_0x3cf221(0x132)]),this[_0x3cf221(0x116)]=new _0x4c4a32(),this[_0x3cf221(0x164)]=new _0x273e62(_0x45e2e9),this[_0x3cf221(0x13b)]=new _0x3904d8(_0x45e2e9,_0x5a0950),this[_0x3cf221(0x13b)][_0x3cf221(0x155)](_0x3cf221(0x13d))['to'](this),this[_0x3cf221(0x13b)][_0x3cf221(0x155)](_0x3cf221(0x15e))['to'](this),this[_0x3cf221(0x14c)]=this[_0x3cf221(0x159)](),this[_0x3cf221(0x14c)][_0x3cf221(0x155)](_0x3cf221(0x120))['to'](this),this[_0x3cf221(0x163)]=this[_0x3cf221(0x161)](),this[_0x3cf221(0x158)]=new _0x54003e(),this[_0x3cf221(0x130)]=new _0x11b28a(),this[_0x3cf221(0x141)]=this[_0x3cf221(0x146)]([this[_0x3cf221(0x13b)],this[_0x3cf221(0x13b)][_0x3cf221(0x153)],this[_0x3cf221(0x14c)],this[_0x3cf221(0x163)]]),this[_0x3cf221(0x14b)]=new _0x36becd({'focusables':this[_0x3cf221(0x141)],'focusTracker':this[_0x3cf221(0x158)],'keystrokeHandler':this[_0x3cf221(0x130)],'actions':{'focusPrevious':_0x3cf221(0x121),'focusNext':_0x3cf221(0x133)}}),this[_0x3cf221(0x14b)][_0x3cf221(0x14e)](this[_0x3cf221(0x163)][_0x3cf221(0x14b)]),this[_0x3cf221(0x163)][_0x3cf221(0x113)][_0x3cf221(0x122)][_0x3cf221(0x155)](_0x3cf221(0x15e))['to'](this,_0x3cf221(0x147));const _0x2d29db=this[_0x3cf221(0x160)];this[_0x3cf221(0x15f)]({'tag':_0x3cf221(0x11b),'attributes':{'class':['ck',_0x3cf221(0x137),_0x1bca97],'tabindex':'-1'},'children':[{'tag':_0x3cf221(0x11b),'attributes':{'class':['ck',_0x3cf221(0x151)]},'children':[{'tag':_0x3cf221(0x11b),'attributes':{'class':[_0x2d29db['if'](_0x3cf221(0x11d),_0x3cf221(0x138),_0x33f3a9=>!_0x33f3a9)]},'children':[this[_0x3cf221(0x164)]]},this[_0x3cf221(0x13b)],this[_0x3cf221(0x14c)],this[_0x3cf221(0x163)]]}]});}[_0x437a83(0x140)](){const _0x42beff=_0x437a83;super[_0x42beff(0x140)](),this[_0x42beff(0x158)][_0x42beff(0x154)](this[_0x42beff(0x13b)][_0x42beff(0x114)]),this[_0x42beff(0x158)][_0x42beff(0x154)](this[_0x42beff(0x13b)][_0x42beff(0x153)][_0x42beff(0x114)]),this[_0x42beff(0x158)][_0x42beff(0x154)](this[_0x42beff(0x14c)][_0x42beff(0x114)]),this[_0x42beff(0x158)][_0x42beff(0x154)](this[_0x42beff(0x163)][_0x42beff(0x114)]),this[_0x42beff(0x130)][_0x42beff(0x12d)](this[_0x42beff(0x114)]);}[_0x437a83(0x14d)](_0x57437f=0x1){const _0x43a28a=_0x437a83;-0x1===_0x57437f?this[_0x43a28a(0x14b)][_0x43a28a(0x118)]():this[_0x43a28a(0x14b)][_0x43a28a(0x123)]();}[_0x437a83(0x11a)](){const _0x12c3ee=_0x437a83;this[_0x12c3ee(0x147)]='',this[_0x12c3ee(0x15e)]='',this[_0x12c3ee(0x11d)]=!0x1,this[_0x12c3ee(0x163)][_0x12c3ee(0x11a)](),this[_0x12c3ee(0x13b)][_0x12c3ee(0x162)]=!0x1,this[_0x12c3ee(0x14c)][_0x12c3ee(0x162)]=!0x1;}[_0x437a83(0x161)](){const _0x517bc3=_0x437a83,_0x3c1203=this[_0x517bc3(0x117)],_0x17a2fc=new _0x1cf075(_0x3c1203,{'queryView':{'label':_0x34f4ce(_0x3c1203,_0x517bc3(0x13c)),'creator':_0x7638d3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x34f4ce(_0x3c1203,_0x517bc3(0x124)),'secondary':_0x34f4ce(_0x3c1203,_0x517bc3(0x149))}}},'filteredView':this[_0x517bc3(0x143)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x17a2fc[_0x517bc3(0x155)](_0x517bc3(0x127))['to'](this,_0x517bc3(0x127),this,_0x517bc3(0x13d),(_0x1c1d95,_0x2d080e)=>_0x1c1d95&&!_0x2d080e),this[_0x517bc3(0x12d)](_0x17a2fc,_0x517bc3(0x139),(_0x4fcef9,_0x505fa7)=>{const _0x28294f=_0x517bc3;this[_0x28294f(0x147)]=_0x505fa7;const _0x10a0e9=_0x381ea9(_0x505fa7);this[_0x28294f(0x13a)](_0x28294f(0x14f),_0x10a0e9),_0x505fa7[_0x28294f(0x12e)]()&&this[_0x28294f(0x116)][_0x28294f(0x154)]({'prompt':_0x10a0e9},0x0);},{'priority':_0x517bc3(0x15c)}),_0x17a2fc;}[_0x437a83(0x143)](){const _0x3f00e0=_0x437a83,_0x1bffd4=new _0x550395(this[_0x3f00e0(0x117)]);return _0x1bffd4[_0x3f00e0(0x131)][_0x3f00e0(0x12f)][_0x3f00e0(0x15b)](this[_0x3f00e0(0x116)])['as'](_0x10bde2),_0x1bffd4['on'](_0x3f00e0(0x126),()=>{const _0x1852cf=_0x3f00e0;this[_0x1852cf(0x116)][_0x1852cf(0x148)](),this[_0x1852cf(0x163)][_0x1852cf(0x145)](''),this[_0x1852cf(0x163)][_0x1852cf(0x14d)]();}),_0x1bffd4;}[_0x437a83(0x159)](){const _0x3f20b1=_0x437a83,_0x3006a2=new _0xbdae42(this[_0x3f20b1(0x117)]);return _0x3006a2[_0x3f20b1(0x144)][_0x3f20b1(0x155)](_0x3f20b1(0x127))['to'](this,_0x3f20b1(0x127),this,_0x3f20b1(0x13d),this,_0x3f20b1(0x15e),(_0x5e067a,_0x3e3cc7,_0x18490f)=>_0x5e067a&&!_0x3e3cc7&&!!_0x18490f),_0x3006a2[_0x3f20b1(0x144)][_0x3f20b1(0x152)](_0x3f20b1(0x125))['to'](this,_0x3f20b1(0x12b)),_0x3006a2[_0x3f20b1(0x134)][_0x3f20b1(0x155)](_0x3f20b1(0x127))['to'](this,_0x3f20b1(0x127),this,_0x3f20b1(0x13d),this,_0x3f20b1(0x15e),(_0x169699,_0x58c76b,_0x4f09c4)=>_0x169699&&!_0x58c76b&&!!_0x4f09c4),_0x3006a2[_0x3f20b1(0x134)][_0x3f20b1(0x152)](_0x3f20b1(0x125))['to'](this,_0x3f20b1(0x13e)),_0x3006a2[_0x3f20b1(0x11f)][_0x3f20b1(0x155)](_0x3f20b1(0x127))['to'](this,_0x3f20b1(0x127),this,_0x3f20b1(0x13d),(_0x23b4d2,_0x2f3642)=>_0x23b4d2&&!_0x2f3642),_0x3006a2[_0x3f20b1(0x11f)][_0x3f20b1(0x152)](_0x3f20b1(0x125))['to'](this,_0x3f20b1(0x165)),_0x3006a2[_0x3f20b1(0x15a)][_0x3f20b1(0x155)](_0x3f20b1(0x127))['to'](this,_0x3f20b1(0x13d)),_0x3006a2[_0x3f20b1(0x15a)][_0x3f20b1(0x152)](_0x3f20b1(0x125))['to'](this,_0x3f20b1(0x119)),_0x3006a2;}[_0x437a83(0x128)](){const _0x5901d7=_0x437a83;this[_0x5901d7(0x15e)]='',this[_0x5901d7(0x11d)]=!0x1,this[_0x5901d7(0x13d)]=!0x0,this[_0x5901d7(0x13b)][_0x5901d7(0x162)]=!0x0,this[_0x5901d7(0x14c)][_0x5901d7(0x162)]=!0x0,this[_0x5901d7(0x13b)][_0x5901d7(0x14d)]();}[_0x437a83(0x11e)](){const _0x26112f=_0x437a83,_0x5a9739=this[_0x26112f(0x117)];this[_0x26112f(0x13d)]=!0x1,this[_0x26112f(0x147)]='',this[_0x26112f(0x163)][_0x26112f(0x11a)](),this[_0x26112f(0x15e)]&&(this[_0x26112f(0x163)][_0x26112f(0x113)][_0x26112f(0x135)]=_0x34f4ce(_0x5a9739,_0x26112f(0x142)));}[_0x437a83(0x11c)](_0x54aa6e){const _0x35f10a=_0x437a83,_0x1e6d56=this[_0x35f10a(0x117)];this[_0x35f10a(0x11e)](),this[_0x35f10a(0x11d)]=!0x0,this[_0x35f10a(0x164)][_0x35f10a(0x12a)]=_0x54aa6e||_0x34f4ce(_0x1e6d56,_0x35f10a(0x136)),this[_0x35f10a(0x15e)]||(this[_0x35f10a(0x13b)][_0x35f10a(0x162)]=!0x1);}}
23
+ const _0x2480a5=_0x4380;(function(_0x173f92,_0xef5afc){const _0x5b74fc=_0x4380,_0x391300=_0x173f92();while(!![]){try{const _0x31cbd3=parseInt(_0x5b74fc(0xd8))/0x1*(parseInt(_0x5b74fc(0xe9))/0x2)+parseInt(_0x5b74fc(0xd4))/0x3*(parseInt(_0x5b74fc(0xd0))/0x4)+parseInt(_0x5b74fc(0xf3))/0x5*(-parseInt(_0x5b74fc(0x10c))/0x6)+parseInt(_0x5b74fc(0xd6))/0x7*(parseInt(_0x5b74fc(0x10f))/0x8)+-parseInt(_0x5b74fc(0xda))/0x9+-parseInt(_0x5b74fc(0xcc))/0xa+parseInt(_0x5b74fc(0xbd))/0xb;if(_0x31cbd3===_0xef5afc)break;else _0x391300['push'](_0x391300['shift']());}catch(_0x4a4d8d){_0x391300['push'](_0x391300['shift']());}}}(_0x136c,0x23c9e));import{FocusTracker as _0xf76388,KeystrokeHandler as _0x400e5a}from'ckeditor5/src/utils.js';import{View as _0x38b38e,FocusCycler as _0x5237f5,createLabeledTextarea as _0x3671fe}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x3de244,AIFormToolbarViewMainActionLabel as _0x46b7ef}from'./aiformtoolbarview.js';function _0x4380(_0x5a3181,_0x3afa95){const _0x136c61=_0x136c();return _0x4380=function(_0x43809f,_0x370a8d){_0x43809f=_0x43809f-0xba;let _0x1d27d8=_0x136c61[_0x43809f];return _0x1d27d8;},_0x4380(_0x5a3181,_0x3afa95);}import{AIFormContentArea as _0xa974a1}from'./aiformcontentarea.js';import{AIFormErrorView as _0x21ea81}from'./aiformerrorview.js';import{AIFormPromptView as _0x4f40b1}from'./aiformpromptview.js';function _0x136c(){const _0x2f6462=['2263626mVKWlK','shift\x20+\x20tab','div','insertContentBelow','clear','fieldView','set','errorView','reset','value','isProcessing','keystrokes','submit','fire','replaceButton','2974XsviYF','trim','element','_promptHistory','focus','focusTracker','replaceContent','_focusables','submitPrompt','tryAgainButton','281340veBXlH','bindTemplate','_createHistoryView','AI_ERROR_FAILED','Empty\x20history','stopButton','createCollection','focusCycler','isVisible','execute','chain','Ask\x20AI\x20to\x20improve\x20generated\x20text','label','copyButtonView','setTemplate','tab','REPLACE','prompt','_createToolbar','clearHistory','_createPromptView','handleError','ck-ai-form','promptView','isEnabled','12pLJunw','mainAction','historyGroupView','111736gSqrgC','stopProcessing','contentArea','high','3485757YwNksY','locale','insertButton','render','isError','text','bind','focusLast','queryView','tryAgainEvent','bindTo','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','Ask\x20AI\x20to\x20edit\x20or\x20generate','listenTo','add','1430650ZyeRAq','items','ck-hidden','toolbar','8cepwxc','delegate','finishProcessing','startProcessing','104694iWaHUa','search','28QVRfPa','focusFirst','142CBMMNk','ck-ai-form-content'];_0x136c=function(){return _0x2f6462;};return _0x136c();}import{AIHistoryListView as _0x17d3e1}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x4f19f7}from'./aihistorylistitemview.js';import{PromptHistory as _0x44f2a3}from'./prompthistory.js';import{getTranslation as _0x47d7cc}from'../../utils/common-translations.js';import{escape as _0x14554b}from'es-toolkit/compat';export class AIFormView extends _0x38b38e{[_0x2480a5(0xee)];[_0x2480a5(0xe5)];[_0x2480a5(0xbb)];[_0x2480a5(0xcf)];[_0x2480a5(0x10a)];[_0x2480a5(0xe1)];[_0x2480a5(0xf0)];[_0x2480a5(0xfa)];[_0x2480a5(0xec)];constructor(_0x16e9b9,_0x38a931,_0x4ab1e7=''){const _0xd40975=_0x2480a5;super(_0x16e9b9),this[_0xd40975(0xe0)](_0xd40975(0x10b),!0x0),this[_0xd40975(0xe0)](_0xd40975(0xe4),!0x1),this[_0xd40975(0xe0)](_0xd40975(0x104),''),this[_0xd40975(0xe0)](_0xd40975(0xe3),''),this[_0xd40975(0xe0)](_0xd40975(0xc1),!0x1),this[_0xd40975(0xe0)](_0xd40975(0x10d),_0x46b7ef[_0xd40975(0x103)]),this[_0xd40975(0xec)]=new _0x44f2a3(),this[_0xd40975(0xe1)]=new _0x21ea81(_0x16e9b9),this[_0xd40975(0xbb)]=new _0xa974a1(_0x16e9b9,_0x4ab1e7),this[_0xd40975(0xbb)][_0xd40975(0xc3)](_0xd40975(0xe4))['to'](this),this[_0xd40975(0xbb)][_0xd40975(0xc3)](_0xd40975(0xe3))['to'](this),this[_0xd40975(0xcf)]=this[_0xd40975(0x105)](),this[_0xd40975(0xcf)][_0xd40975(0xc3)](_0xd40975(0x10d))['to'](this),this[_0xd40975(0x10a)]=this[_0xd40975(0x107)](),this[_0xd40975(0xee)]=new _0xf76388(),this[_0xd40975(0xe5)]=new _0x400e5a(),this[_0xd40975(0xf0)]=this[_0xd40975(0xf9)]([this[_0xd40975(0xbb)],this[_0xd40975(0xbb)][_0xd40975(0x100)],this[_0xd40975(0xcf)],this[_0xd40975(0x10a)]]),this[_0xd40975(0xfa)]=new _0x5237f5({'focusables':this[_0xd40975(0xf0)],'focusTracker':this[_0xd40975(0xee)],'keystrokeHandler':this[_0xd40975(0xe5)],'actions':{'focusPrevious':_0xd40975(0xdb),'focusNext':_0xd40975(0x102)}}),this[_0xd40975(0xfa)][_0xd40975(0xfd)](this[_0xd40975(0x10a)][_0xd40975(0xfa)]),this[_0xd40975(0x10a)][_0xd40975(0xc5)][_0xd40975(0xdf)][_0xd40975(0xc3)](_0xd40975(0xe3))['to'](this,_0xd40975(0x104));const _0x43c049=this[_0xd40975(0xf4)];this[_0xd40975(0x101)]({'tag':_0xd40975(0xdc),'attributes':{'class':['ck',_0xd40975(0x109),_0x38a931],'tabindex':'-1'},'children':[{'tag':_0xd40975(0xdc),'attributes':{'class':['ck',_0xd40975(0xd9)]},'children':[{'tag':_0xd40975(0xdc),'attributes':{'class':[_0x43c049['if'](_0xd40975(0xc1),_0xd40975(0xce),_0x3c6fa1=>!_0x3c6fa1)]},'children':[this[_0xd40975(0xe1)]]},this[_0xd40975(0xbb)],this[_0xd40975(0xcf)],this[_0xd40975(0x10a)]]}]});}[_0x2480a5(0xc0)](){const _0x1dba43=_0x2480a5;super[_0x1dba43(0xc0)](),this[_0x1dba43(0xee)][_0x1dba43(0xcb)](this[_0x1dba43(0xbb)][_0x1dba43(0xeb)]),this[_0x1dba43(0xee)][_0x1dba43(0xcb)](this[_0x1dba43(0xbb)][_0x1dba43(0x100)][_0x1dba43(0xeb)]),this[_0x1dba43(0xee)][_0x1dba43(0xcb)](this[_0x1dba43(0xcf)][_0x1dba43(0xeb)]),this[_0x1dba43(0xee)][_0x1dba43(0xcb)](this[_0x1dba43(0x10a)][_0x1dba43(0xeb)]),this[_0x1dba43(0xe5)][_0x1dba43(0xca)](this[_0x1dba43(0xeb)]);}[_0x2480a5(0xed)](_0xaa2ad0=0x1){const _0x34beec=_0x2480a5;-0x1===_0xaa2ad0?this[_0x34beec(0xfa)][_0x34beec(0xc4)]():this[_0x34beec(0xfa)][_0x34beec(0xd7)]();}[_0x2480a5(0xe2)](){const _0x487b70=_0x2480a5;this[_0x487b70(0x104)]='',this[_0x487b70(0xe3)]='',this[_0x487b70(0xc1)]=!0x1,this[_0x487b70(0x10a)][_0x487b70(0xe2)](),this[_0x487b70(0xbb)][_0x487b70(0xfb)]=!0x1,this[_0x487b70(0xcf)][_0x487b70(0xfb)]=!0x1;}[_0x2480a5(0x107)](){const _0x32975e=_0x2480a5,_0x4feb75=this[_0x32975e(0xbe)],_0x177fe9=new _0x4f40b1(_0x4feb75,{'queryView':{'label':_0x47d7cc(_0x4feb75,_0x32975e(0xc9)),'creator':_0x3671fe,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x47d7cc(_0x4feb75,_0x32975e(0xf7)),'secondary':_0x47d7cc(_0x4feb75,_0x32975e(0xc8))}}},'filteredView':this[_0x32975e(0xf5)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x177fe9[_0x32975e(0xc3)](_0x32975e(0x10b))['to'](this,_0x32975e(0x10b),this,_0x32975e(0xe4),(_0xef3332,_0x5e6cec)=>_0xef3332&&!_0x5e6cec),this[_0x32975e(0xca)](_0x177fe9,_0x32975e(0xe6),(_0x58ac89,_0x8a5e0f)=>{const _0x16ac04=_0x32975e;this[_0x16ac04(0x104)]=_0x8a5e0f;const _0x1df278=_0x14554b(_0x8a5e0f);this[_0x16ac04(0xe7)](_0x16ac04(0xf1),_0x1df278),_0x8a5e0f[_0x16ac04(0xea)]()&&this[_0x16ac04(0xec)][_0x16ac04(0xcb)]({'prompt':_0x1df278},0x0);},{'priority':_0x32975e(0xbc)}),_0x177fe9;}[_0x2480a5(0xf5)](){const _0x5ba13b=_0x2480a5,_0x23a40a=new _0x17d3e1(this[_0x5ba13b(0xbe)]);return _0x23a40a[_0x5ba13b(0x10e)][_0x5ba13b(0xcd)][_0x5ba13b(0xc7)](this[_0x5ba13b(0xec)])['as'](_0x4f19f7),_0x23a40a['on'](_0x5ba13b(0x106),()=>{const _0xa9e901=_0x5ba13b;this[_0xa9e901(0xec)][_0xa9e901(0xde)](),this[_0xa9e901(0x10a)][_0xa9e901(0xd5)](''),this[_0xa9e901(0x10a)][_0xa9e901(0xed)]();}),_0x23a40a;}[_0x2480a5(0x105)](){const _0x6dc332=_0x2480a5,_0xbaf34=new _0x3de244(this[_0x6dc332(0xbe)]);return _0xbaf34[_0x6dc332(0xe8)][_0x6dc332(0xc3)](_0x6dc332(0x10b))['to'](this,_0x6dc332(0x10b),this,_0x6dc332(0xe4),this,_0x6dc332(0xe3),(_0x526b5e,_0x43dc16,_0x1e28dd)=>_0x526b5e&&!_0x43dc16&&!!_0x1e28dd),_0xbaf34[_0x6dc332(0xe8)][_0x6dc332(0xd1)](_0x6dc332(0xfc))['to'](this,_0x6dc332(0xef)),_0xbaf34[_0x6dc332(0xbf)][_0x6dc332(0xc3)](_0x6dc332(0x10b))['to'](this,_0x6dc332(0x10b),this,_0x6dc332(0xe4),this,_0x6dc332(0xe3),(_0x13cc4f,_0xb593f5,_0x542ae5)=>_0x13cc4f&&!_0xb593f5&&!!_0x542ae5),_0xbaf34[_0x6dc332(0xbf)][_0x6dc332(0xd1)](_0x6dc332(0xfc))['to'](this,_0x6dc332(0xdd)),_0xbaf34[_0x6dc332(0xf2)][_0x6dc332(0xc3)](_0x6dc332(0x10b))['to'](this,_0x6dc332(0x10b),this,_0x6dc332(0xe4),(_0x4d5eb8,_0x395f65)=>_0x4d5eb8&&!_0x395f65),_0xbaf34[_0x6dc332(0xf2)][_0x6dc332(0xd1)](_0x6dc332(0xfc))['to'](this,_0x6dc332(0xc6)),_0xbaf34[_0x6dc332(0xf8)][_0x6dc332(0xc3)](_0x6dc332(0x10b))['to'](this,_0x6dc332(0xe4)),_0xbaf34[_0x6dc332(0xf8)][_0x6dc332(0xd1)](_0x6dc332(0xfc))['to'](this,_0x6dc332(0xba)),_0xbaf34;}[_0x2480a5(0xd3)](){const _0x1fdd6d=_0x2480a5;this[_0x1fdd6d(0xe3)]='',this[_0x1fdd6d(0xc1)]=!0x1,this[_0x1fdd6d(0xe4)]=!0x0,this[_0x1fdd6d(0xbb)][_0x1fdd6d(0xfb)]=!0x0,this[_0x1fdd6d(0xcf)][_0x1fdd6d(0xfb)]=!0x0,this[_0x1fdd6d(0xbb)][_0x1fdd6d(0xed)]();}[_0x2480a5(0xd2)](){const _0x3c83dd=_0x2480a5,_0xcc0c5f=this[_0x3c83dd(0xbe)];this[_0x3c83dd(0xe4)]=!0x1,this[_0x3c83dd(0x104)]='',this[_0x3c83dd(0x10a)][_0x3c83dd(0xe2)](),this[_0x3c83dd(0xe3)]&&(this[_0x3c83dd(0x10a)][_0x3c83dd(0xc5)][_0x3c83dd(0xff)]=_0x47d7cc(_0xcc0c5f,_0x3c83dd(0xfe)));}[_0x2480a5(0x108)](_0x395a60){const _0x2c3726=_0x2480a5,_0x5da91f=this[_0x2c3726(0xbe)];this[_0x2c3726(0xd2)](),this[_0x2c3726(0xc1)]=!0x0,this[_0x2c3726(0xe1)][_0x2c3726(0xc2)]=_0x395a60||_0x47d7cc(_0x5da91f,_0x2c3726(0xf6)),this[_0x2c3726(0xe3)]||(this[_0x2c3726(0xbb)][_0x2c3726(0xfb)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x35a84b,_0x42ceae){const _0x3c6ea1=_0x57e4,_0x53ecd0=_0x35a84b();while(!![]){try{const _0x123d88=parseInt(_0x3c6ea1(0xd2))/0x1+parseInt(_0x3c6ea1(0xc8))/0x2+parseInt(_0x3c6ea1(0xd4))/0x3*(parseInt(_0x3c6ea1(0xd1))/0x4)+parseInt(_0x3c6ea1(0xcf))/0x5*(-parseInt(_0x3c6ea1(0xd0))/0x6)+parseInt(_0x3c6ea1(0xc9))/0x7*(parseInt(_0x3c6ea1(0xcc))/0x8)+-parseInt(_0x3c6ea1(0xd7))/0x9*(-parseInt(_0x3c6ea1(0xca))/0xa)+parseInt(_0x3c6ea1(0xce))/0xb*(-parseInt(_0x3c6ea1(0xcd))/0xc);if(_0x123d88===_0x42ceae)break;else _0x53ecd0['push'](_0x53ecd0['shift']());}catch(_0x23d7cb){_0x53ecd0['push'](_0x53ecd0['shift']());}}}(_0x2433,0xaebbe));import{ListItemView as _0x31fbcc,ButtonView as _0x5ae70c,ButtonLabelView as _0x3705ec}from'ckeditor5/src/ui.js';function _0x2433(){const _0x407b55=['208yuqbEq','23153052CMuKsY','11BguCBa','156265jUzEXl','6HZzGiM','107436atsWjE','954403bWlife','add','30zlCtyw','set','locale','9117VMcZea','execute','prompt','children','1594664bdFiNB','127267VsDHBk','1810fMcBau','fire'];_0x2433=function(){return _0x407b55;};return _0x2433();}import{unescape as _0x30e961}from'es-toolkit/compat';function _0x57e4(_0x30e414,_0x287e5d){const _0x243350=_0x2433();return _0x57e4=function(_0x57e4ab,_0x22fd3a){_0x57e4ab=_0x57e4ab-0xc7;let _0xd79e2b=_0x243350[_0x57e4ab];return _0xd79e2b;},_0x57e4(_0x30e414,_0x287e5d);}export class AIHistoryListItemView extends _0x31fbcc{constructor(_0x21c168){const _0x7cd2a8=_0x57e4;super();const _0x495168=new _0x3705ec(),_0x21e441=new _0x5ae70c(this[_0x7cd2a8(0xd6)],_0x495168);this[_0x7cd2a8(0xc7)][_0x7cd2a8(0xd3)](_0x21e441),_0x21e441[_0x7cd2a8(0xd5)]({'label':_0x21c168[_0x7cd2a8(0xd9)],'withText':!0x0}),_0x21e441['on'](_0x7cd2a8(0xd8),()=>{const _0xa1d4a=_0x7cd2a8;this[_0xa1d4a(0xcb)](_0xa1d4a(0xd8),{'value':_0x30e961(_0x21c168[_0xa1d4a(0xd9)])});});}}
23
+ (function(_0x2d3c4a,_0x5a5ad5){const _0x14658a=_0x4f7e,_0x195cd6=_0x2d3c4a();while(!![]){try{const _0x33b567=parseInt(_0x14658a(0xcd))/0x1+parseInt(_0x14658a(0xc4))/0x2*(parseInt(_0x14658a(0xc2))/0x3)+parseInt(_0x14658a(0xce))/0x4*(-parseInt(_0x14658a(0xc5))/0x5)+parseInt(_0x14658a(0xc9))/0x6+parseInt(_0x14658a(0xc1))/0x7+parseInt(_0x14658a(0xc3))/0x8+-parseInt(_0x14658a(0xbf))/0x9;if(_0x33b567===_0x5a5ad5)break;else _0x195cd6['push'](_0x195cd6['shift']());}catch(_0x16fcf1){_0x195cd6['push'](_0x195cd6['shift']());}}}(_0x4313,0xb26c3));function _0x4313(){const _0x583197=['1284392paSiPy','22108167jufbla','fire','7497924gSjWEy','3453vCMEwM','5810504noiaQJ','1094gBPihs','5POGKbA','prompt','locale','add','1217436HQrQNq','children','execute','set','878432BqSCLS'];_0x4313=function(){return _0x583197;};return _0x4313();}function _0x4f7e(_0x50b9db,_0x2a1756){const _0x431321=_0x4313();return _0x4f7e=function(_0x4f7e5d,_0x4ebbe4){_0x4f7e5d=_0x4f7e5d-0xbf;let _0x4c6ea2=_0x431321[_0x4f7e5d];return _0x4c6ea2;},_0x4f7e(_0x50b9db,_0x2a1756);}import{ListItemView as _0x31e276,ButtonView as _0x8b4123,ButtonLabelView as _0x4492ad}from'ckeditor5/src/ui.js';import{unescape as _0x5a3b98}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x31e276{constructor(_0x41b108){const _0x1fff95=_0x4f7e;super();const _0x21f605=new _0x4492ad(),_0x42ce2c=new _0x8b4123(this[_0x1fff95(0xc7)],_0x21f605);this[_0x1fff95(0xca)][_0x1fff95(0xc8)](_0x42ce2c),_0x42ce2c[_0x1fff95(0xcc)]({'label':_0x41b108[_0x1fff95(0xc6)],'withText':!0x0}),_0x42ce2c['on'](_0x1fff95(0xcb),()=>{const _0x5b9e9f=_0x1fff95;this[_0x5b9e9f(0xc0)](_0x5b9e9f(0xcb),{'value':_0x5a3b98(_0x41b108[_0x5b9e9f(0xc6)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42dd42=_0x1df4;function _0x1df4(_0x3e755a,_0xe455d0){const _0x436df2=_0x436d();return _0x1df4=function(_0x1df465,_0x212d07){_0x1df465=_0x1df465-0x1e8;let _0x45a8ed=_0x436df2[_0x1df465];return _0x45a8ed;},_0x1df4(_0x3e755a,_0xe455d0);}(function(_0x2feae4,_0x3c4b9d){const _0x42c298=_0x1df4,_0x30827e=_0x2feae4();while(!![]){try{const _0x43e6d3=parseInt(_0x42c298(0x1ee))/0x1*(parseInt(_0x42c298(0x1fc))/0x2)+parseInt(_0x42c298(0x1f7))/0x3*(parseInt(_0x42c298(0x1f3))/0x4)+-parseInt(_0x42c298(0x1f5))/0x5+parseInt(_0x42c298(0x1f2))/0x6+-parseInt(_0x42c298(0x1ff))/0x7+-parseInt(_0x42c298(0x1f8))/0x8*(-parseInt(_0x42c298(0x1e8))/0x9)+parseInt(_0x42c298(0x1f4))/0xa;if(_0x43e6d3===_0x3c4b9d)break;else _0x30827e['push'](_0x30827e['shift']());}catch(_0x1394c1){_0x30827e['push'](_0x30827e['shift']());}}}(_0x436d,0xa46ce));import{ListView as _0x157217,ListItemGroupView as _0x12f7c0,ButtonView as _0x45df4f}from'ckeditor5/src/ui.js';import{getTranslation as _0x44a5b6}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x157217{[_0x42dd42(0x202)];[_0x42dd42(0x1fe)];constructor(_0x38e6f1){const _0x54a93b=_0x42dd42;super(_0x38e6f1),this[_0x54a93b(0x1fe)]=this[_0x54a93b(0x1fd)](),this[_0x54a93b(0x202)]=new _0x12f7c0(),this[_0x54a93b(0x202)][_0x54a93b(0x1f1)][_0x54a93b(0x200)](this[_0x54a93b(0x1fe)],0x1),this[_0x54a93b(0x202)][_0x54a93b(0x1eb)]=_0x44a5b6(_0x38e6f1,_0x54a93b(0x1e9)),this[_0x54a93b(0x202)][_0x54a93b(0x1f0)][_0x54a93b(0x1ec)](_0x54a93b(0x1fb))['to'](this),this[_0x54a93b(0x1f0)][_0x54a93b(0x200)](this[_0x54a93b(0x202)]);}[_0x42dd42(0x1f9)](){const _0x223cab=_0x42dd42;let _0x37994a=0x0;for(const _0x22a7f5 of this[_0x223cab(0x1f0)])_0x37994a+=_0x22a7f5[_0x223cab(0x1f0)][_0x223cab(0x1ea)];return{'resultsCount':_0x37994a,'totalItemsCount':_0x37994a};}[_0x42dd42(0x1fd)](){const _0x1748b2=_0x42dd42,_0x412580=this[_0x1748b2(0x1ef)],_0x56a007=new _0x45df4f(this[_0x1748b2(0x1ef)]);return _0x56a007[_0x1748b2(0x1ed)]({'label':'('+_0x44a5b6(_0x412580,_0x1748b2(0x1f6))+')','withText':!0x0}),_0x56a007['on'](_0x1748b2(0x1fb),()=>this[_0x1748b2(0x201)](_0x1748b2(0x1fa))),_0x56a007;}}function _0x436d(){const _0xea5a47=['clearHistory','execute','456cjPuCv','_createClearHistoryButton','clearHistoryButton','8180305lKgUya','add','fire','historyGroupView','126VIeeXd','Prompt\x20history','length','label','delegate','set','1535aHxmvn','locale','items','children','296256iRjdTa','20xwwSGh','12706660yzbQlO','4346360lVFTPX','Clear','458877BZeSuV','158032njvgCm','filter'];_0x436d=function(){return _0xea5a47;};return _0x436d();}
23
+ const _0x2e56d9=_0x2126;(function(_0x2910aa,_0x4e1e90){const _0x2b26d5=_0x2126,_0x53d4fb=_0x2910aa();while(!![]){try{const _0x21c62e=parseInt(_0x2b26d5(0x120))/0x1*(parseInt(_0x2b26d5(0x123))/0x2)+-parseInt(_0x2b26d5(0x11a))/0x3+-parseInt(_0x2b26d5(0x125))/0x4+parseInt(_0x2b26d5(0x124))/0x5*(parseInt(_0x2b26d5(0x11b))/0x6)+-parseInt(_0x2b26d5(0x114))/0x7+parseInt(_0x2b26d5(0x116))/0x8+parseInt(_0x2b26d5(0x122))/0x9;if(_0x21c62e===_0x4e1e90)break;else _0x53d4fb['push'](_0x53d4fb['shift']());}catch(_0x5b8dcf){_0x53d4fb['push'](_0x53d4fb['shift']());}}}(_0x48fe,0xc4fd4));function _0x48fe(){const _0x138b59=['items','Prompt\x20history','add','3363144dxYjrZ','576uXzabZ','historyGroupView','set','children','fire','3847QiaQME','filter','12163185qtVMMS','668cfCGSm','23645AkFMpR','3690472mzuItT','_createClearHistoryButton','delegate','clearHistory','length','Clear','execute','label','clearHistoryButton','4663498QygwXp','locale','3411208dQeBYY'];_0x48fe=function(){return _0x138b59;};return _0x48fe();}function _0x2126(_0x2b292f,_0x3cffec){const _0x48fe77=_0x48fe();return _0x2126=function(_0x21261a,_0x542120){_0x21261a=_0x21261a-0x114;let _0x4fad1f=_0x48fe77[_0x21261a];return _0x4fad1f;},_0x2126(_0x2b292f,_0x3cffec);}import{ListView as _0x37901e,ListItemGroupView as _0x3733b4,ButtonView as _0x4e563e}from'ckeditor5/src/ui.js';import{getTranslation as _0x3e5746}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x37901e{[_0x2e56d9(0x11c)];[_0x2e56d9(0x12d)];constructor(_0x1f3413){const _0x3200e5=_0x2e56d9;super(_0x1f3413),this[_0x3200e5(0x12d)]=this[_0x3200e5(0x126)](),this[_0x3200e5(0x11c)]=new _0x3733b4(),this[_0x3200e5(0x11c)][_0x3200e5(0x11e)][_0x3200e5(0x119)](this[_0x3200e5(0x12d)],0x1),this[_0x3200e5(0x11c)][_0x3200e5(0x12c)]=_0x3e5746(_0x1f3413,_0x3200e5(0x118)),this[_0x3200e5(0x11c)][_0x3200e5(0x117)][_0x3200e5(0x127)](_0x3200e5(0x12b))['to'](this),this[_0x3200e5(0x117)][_0x3200e5(0x119)](this[_0x3200e5(0x11c)]);}[_0x2e56d9(0x121)](){const _0x17b37a=_0x2e56d9;let _0x1665c9=0x0;for(const _0x4f845f of this[_0x17b37a(0x117)])_0x1665c9+=_0x4f845f[_0x17b37a(0x117)][_0x17b37a(0x129)];return{'resultsCount':_0x1665c9,'totalItemsCount':_0x1665c9};}[_0x2e56d9(0x126)](){const _0x3ef690=_0x2e56d9,_0x294de4=this[_0x3ef690(0x115)],_0x1b1149=new _0x4e563e(this[_0x3ef690(0x115)]);return _0x1b1149[_0x3ef690(0x11d)]({'label':'('+_0x3e5746(_0x294de4,_0x3ef690(0x12a))+')','withText':!0x0}),_0x1b1149['on'](_0x3ef690(0x12b),()=>this[_0x3ef690(0x11f)](_0x3ef690(0x128))),_0x1b1149;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43058b=_0x45fe;function _0x2acb(){const _0x23e9f0=['3003276CealDV','7704bwgCrR','hasContent','getFirstRange','728giDool','showUI','_commandDefinitions','isCollapsed','includes','380324RIJmuJ','1230750eDDQsG','change:isEnabled','refresh','getSelectedBlocks','execute','_hasContext','ai.assistant.disabledElements','from','1338fdGmzN','change:_hasContext','selection','config','requiresContent','isEmpty','add','36OXGUCM','get','set','getRanges','816216EGQDmS','getItems','model','custom','values','name','document','1138wOiljI','enabledCommandsIds','170210TDFbqP','isEnabled','editor','plugins','length','element'];_0x2acb=function(){return _0x23e9f0;};return _0x2acb();}(function(_0x3a5dc3,_0x536b3f){const _0x20cd5c=_0x45fe,_0x25035c=_0x3a5dc3();while(!![]){try{const _0x6c6d7d=parseInt(_0x20cd5c(0xbf))/0x1*(-parseInt(_0x20cd5c(0xcb))/0x2)+-parseInt(_0x20cd5c(0xad))/0x3*(-parseInt(_0x20cd5c(0xc8))/0x4)+-parseInt(_0x20cd5c(0xa5))/0x5+parseInt(_0x20cd5c(0xc7))/0x6+-parseInt(_0x20cd5c(0xa4))/0x7+-parseInt(_0x20cd5c(0xb8))/0x8+parseInt(_0x20cd5c(0xb4))/0x9*(-parseInt(_0x20cd5c(0xc1))/0xa);if(_0x6c6d7d===_0x536b3f)break;else _0x25035c['push'](_0x25035c['shift']());}catch(_0x8dfda1){_0x25035c['push'](_0x25035c['shift']());}}}(_0x2acb,0x73e5d));import{Command as _0x12e578}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x4cb521}from'../aiassistantui.js';function _0x45fe(_0x258b40,_0x4bd88b){const _0x2acbe4=_0x2acb();return _0x45fe=function(_0x45fe62,_0x24757a){_0x45fe62=_0x45fe62-0xa0;let _0x380845=_0x2acbe4[_0x45fe62];return _0x380845;},_0x45fe(_0x258b40,_0x4bd88b);}export class ShowAIAssistantCommand extends _0x12e578{[_0x43058b(0xa1)];constructor(_0x548dc3,_0x32122a){const _0x4e2052=_0x43058b;super(_0x548dc3),this[_0x4e2052(0xa1)]=_0x32122a,this[_0x4e2052(0xb6)](_0x4e2052(0xc0),[]),this['on'](_0x4e2052(0xae),(_0x585667,_0x5c1dd3,_0x227f97)=>{const _0x4c9d30=_0x4e2052;this[_0x4c9d30(0xc2)]&&(this[_0x4c9d30(0xc0)]=ns(this[_0x4c9d30(0xa1)],_0x227f97));}),this[_0x4e2052(0xb6)](_0x4e2052(0xaa),!0x1),this['on'](_0x4e2052(0xa6),(_0x1d359b,_0x533776,_0x41181e)=>{const _0x56e02a=_0x4e2052;this[_0x56e02a(0xc0)]=_0x41181e?ns(this[_0x56e02a(0xa1)],this[_0x56e02a(0xaa)]):[];});}[_0x43058b(0xa7)](){const _0x5b51db=_0x43058b,_0x2d9c89=this[_0x5b51db(0xc3)][_0x5b51db(0xba)];this[_0x5b51db(0xaa)]=function(_0x4132c9){const _0xd83a3d=_0x5b51db,_0x5d33a4=_0x4132c9[_0xd83a3d(0xbe)][_0xd83a3d(0xaf)];return _0x5d33a4[_0xd83a3d(0xa2)]?0x0!==[..._0x5d33a4[_0xd83a3d(0xa8)]()][_0xd83a3d(0xc5)]&&![..._0x5d33a4[_0xd83a3d(0xa8)]()][0x0][_0xd83a3d(0xb2)]:!!_0x4132c9[_0xd83a3d(0xc9)](_0x5d33a4[_0xd83a3d(0xca)]());}(_0x2d9c89);const _0xccce21=_0x2d9c89[_0x5b51db(0xbe)][_0x5b51db(0xaf)],_0xbd9199=this[_0x5b51db(0xc3)][_0x5b51db(0xb0)][_0x5b51db(0xb5)](_0x5b51db(0xab));for(const _0x4400f0 of _0xccce21[_0x5b51db(0xb7)]())for(const _0x2ccdc7 of _0x4400f0[_0x5b51db(0xb9)]())if(_0x2ccdc7['is'](_0x5b51db(0xc6))&&_0xbd9199[_0x5b51db(0xa3)](_0x2ccdc7[_0x5b51db(0xbd)]))return void(this[_0x5b51db(0xc2)]=!0x1);this[_0x5b51db(0xc2)]=!0x0;}[_0x43058b(0xa9)](_0x1c1fa2='',_0x5a1f14='',_0x2f9fd4=_0x43058b(0xbb)){const _0x249a65=_0x43058b;this[_0x249a65(0xc3)][_0x249a65(0xc4)][_0x249a65(0xb5)](_0x4cb521)[_0x249a65(0xa0)](_0x1c1fa2,_0x5a1f14,_0x2f9fd4);}}function ns(_0x1daab3,_0x4d88e6){const _0xd1fb05=_0x43058b,_0x21a2ad=new Set();for(const _0xcae4db of _0x1daab3[_0xd1fb05(0xbc)]())(_0x4d88e6||!0x1===_0xcae4db[_0xd1fb05(0xb1)])&&_0x21a2ad[_0xd1fb05(0xb3)](_0xcae4db['id']);return Array[_0xd1fb05(0xac)](_0x21a2ad);}
23
+ const _0x3b7225=_0xed0d;(function(_0x3292a5,_0x41ec90){const _0x42f85e=_0xed0d,_0x1e2e0d=_0x3292a5();while(!![]){try{const _0x3bf23c=-parseInt(_0x42f85e(0x15d))/0x1*(parseInt(_0x42f85e(0x14f))/0x2)+-parseInt(_0x42f85e(0x15a))/0x3*(parseInt(_0x42f85e(0x15e))/0x4)+parseInt(_0x42f85e(0x155))/0x5*(-parseInt(_0x42f85e(0x163))/0x6)+-parseInt(_0x42f85e(0x172))/0x7+parseInt(_0x42f85e(0x174))/0x8+-parseInt(_0x42f85e(0x16c))/0x9+parseInt(_0x42f85e(0x171))/0xa*(parseInt(_0x42f85e(0x176))/0xb);if(_0x3bf23c===_0x41ec90)break;else _0x1e2e0d['push'](_0x1e2e0d['shift']());}catch(_0x4a7391){_0x1e2e0d['push'](_0x1e2e0d['shift']());}}}(_0x3c6a,0x98252));import{Command as _0x3b631b}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x5e995f}from'../aiassistantui.js';function _0xed0d(_0x21bbfb,_0x510fbb){const _0x3c6a72=_0x3c6a();return _0xed0d=function(_0xed0d8a,_0x3a4846){_0xed0d8a=_0xed0d8a-0x14c;let _0x2b12b9=_0x3c6a72[_0xed0d8a];return _0x2b12b9;},_0xed0d(_0x21bbfb,_0x510fbb);}export class ShowAIAssistantCommand extends _0x3b631b{[_0x3b7225(0x154)];constructor(_0x415cf6,_0x59ed1c){const _0xd4d65e=_0x3b7225;super(_0x415cf6),this[_0xd4d65e(0x154)]=_0x59ed1c,this[_0xd4d65e(0x168)](_0xd4d65e(0x15f),[]),this['on'](_0xd4d65e(0x152),(_0x568b5a,_0x1caf73,_0xd28355)=>{const _0x4cce21=_0xd4d65e;this[_0x4cce21(0x16e)]&&(this[_0x4cce21(0x15f)]=ns(this[_0x4cce21(0x154)],_0xd28355));}),this[_0xd4d65e(0x168)](_0xd4d65e(0x160),!0x1),this['on'](_0xd4d65e(0x175),(_0x33752a,_0x129286,_0x5c2185)=>{const _0x45cdc9=_0xd4d65e;this[_0x45cdc9(0x15f)]=_0x5c2185?ns(this[_0x45cdc9(0x154)],this[_0x45cdc9(0x160)]):[];});}[_0x3b7225(0x150)](){const _0x2ab7cb=_0x3b7225,_0x280653=this[_0x2ab7cb(0x170)][_0x2ab7cb(0x14c)];this[_0x2ab7cb(0x160)]=function(_0x38558f){const _0x5218a4=_0x2ab7cb,_0x156121=_0x38558f[_0x5218a4(0x16a)][_0x5218a4(0x167)];return _0x156121[_0x5218a4(0x165)]?0x0!==[..._0x156121[_0x5218a4(0x169)]()][_0x5218a4(0x177)]&&![..._0x156121[_0x5218a4(0x169)]()][0x0][_0x5218a4(0x158)]:!!_0x38558f[_0x5218a4(0x162)](_0x156121[_0x5218a4(0x164)]());}(_0x280653);const _0x10b051=_0x280653[_0x2ab7cb(0x16a)][_0x2ab7cb(0x167)],_0x539600=this[_0x2ab7cb(0x170)][_0x2ab7cb(0x157)][_0x2ab7cb(0x178)](_0x2ab7cb(0x16f));for(const _0x536f5f of _0x10b051[_0x2ab7cb(0x161)]())for(const _0x21a2c5 of _0x536f5f[_0x2ab7cb(0x14d)]())if(_0x21a2c5['is'](_0x2ab7cb(0x15c))&&_0x539600[_0x2ab7cb(0x159)](_0x21a2c5[_0x2ab7cb(0x14e)]))return void(this[_0x2ab7cb(0x16e)]=!0x1);this[_0x2ab7cb(0x16e)]=!0x0;}[_0x3b7225(0x153)](_0x2fdbd8='',_0xd0c204='',_0x502311=_0x3b7225(0x16d)){const _0x5099a1=_0x3b7225;this[_0x5099a1(0x170)][_0x5099a1(0x16b)][_0x5099a1(0x178)](_0x5e995f)[_0x5099a1(0x151)](_0x2fdbd8,_0xd0c204,_0x502311);}}function ns(_0x3c526a,_0xbba90){const _0x35cc6f=_0x3b7225,_0x31dfb6=new Set();for(const _0xc40285 of _0x3c526a[_0x35cc6f(0x173)]())(_0xbba90||!0x1===_0xc40285[_0x35cc6f(0x15b)])&&_0x31dfb6[_0x35cc6f(0x156)](_0xc40285['id']);return Array[_0x35cc6f(0x166)](_0x31dfb6);}function _0x3c6a(){const _0x3b1cc5=['document','plugins','7733700WsgacA','custom','isEnabled','ai.assistant.disabledElements','editor','580KOEXCI','2763285brWkqt','values','2274704ueHLiu','change:isEnabled','783871HZwLZH','length','get','model','getItems','name','758BjNmJQ','refresh','showUI','change:_hasContext','execute','_commandDefinitions','18370JLrMBL','add','config','isEmpty','includes','30cYBySQ','requiresContent','element','1261FdKrzF','451648LPrLwc','enabledCommandsIds','_hasContext','getRanges','hasContent','1524WWUuYZ','getFirstRange','isCollapsed','from','selection','set','getSelectedBlocks'];_0x3c6a=function(){return _0x3b1cc5;};return _0x3c6a();}