@ckeditor/ckeditor5-ai 44.0.0-alpha.0 → 44.0.0-alpha.2

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 (168) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/adapters/aiadapter.js +1 -1
  149. package/src/adapters/aitextadapter.js +1 -1
  150. package/src/adapters/awstextadapter.js +1 -1
  151. package/src/adapters/openaitextadapter.js +1 -1
  152. package/src/aiassistant.js +1 -1
  153. package/src/aiassistantediting.js +1 -1
  154. package/src/aiassistantui.js +1 -1
  155. package/src/index.js +1 -1
  156. package/src/legacyerrors.js +1 -1
  157. package/src/ui/aiassistantcontroller.js +2 -2
  158. package/src/ui/form/aiformcontentarea.js +1 -1
  159. package/src/ui/form/aiformerrorview.js +1 -1
  160. package/src/ui/form/aiformpromptview.js +1 -1
  161. package/src/ui/form/aiformtoolbarview.js +1 -1
  162. package/src/ui/form/aiformview.js +1 -1
  163. package/src/ui/form/aihistorylistitemview.js +1 -1
  164. package/src/ui/form/aihistorylistview.js +1 -1
  165. package/src/ui/form/prompthistory.js +1 -1
  166. package/src/ui/showaiassistantcommand.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd3ff06=_0x368f;(function(_0x2b2436,_0x18fc3b){const _0x5816dd=_0x368f,_0x4a0bf3=_0x2b2436();while(!![]){try{const _0x52efd7=parseInt(_0x5816dd(0x10f))/0x1+parseInt(_0x5816dd(0x108))/0x2*(-parseInt(_0x5816dd(0x124))/0x3)+parseInt(_0x5816dd(0x112))/0x4+-parseInt(_0x5816dd(0x114))/0x5+parseInt(_0x5816dd(0x11f))/0x6+-parseInt(_0x5816dd(0x10c))/0x7*(parseInt(_0x5816dd(0x116))/0x8)+-parseInt(_0x5816dd(0x105))/0x9*(-parseInt(_0x5816dd(0x111))/0xa);if(_0x52efd7===_0x18fc3b)break;else _0x4a0bf3['push'](_0x4a0bf3['shift']());}catch(_0x27996f){_0x4a0bf3['push'](_0x4a0bf3['shift']());}}}(_0x45ca,0x5c5b7));import{ToolbarView as _0x39cc9a,ButtonView as _0x1b6ef5}from'ckeditor5/src/ui.js';import{getTranslation as _0x4ae34f}from'../../utils/common-translations.js';function _0x368f(_0x5f09d3,_0x5f140b){const _0x45ca00=_0x45ca();return _0x368f=function(_0x368f1c,_0x345a3a){_0x368f1c=_0x368f1c-0x104;let _0x519240=_0x45ca00[_0x368f1c];return _0x519240;},_0x368f(_0x5f09d3,_0x5f140b);}function _0x45ca(){const _0x11aff6=['Stop','9SPwvOQ','Insert\x20below','set','4JJxuJC','isVisible','extendTemplate','insert','176533wqjpMw','mainAction','_createButton','364975uXijbb','bindTemplate','6569690uimKoP','2472864jvHXex','addMany','1845555LSOOpq','REPLACE','184xMWVKn','label','_CONTENT','bind','replaceButton','locale','toUpperCase','insertButton','ck-button-action','359814wlRNBP','stopButton','ck-hidden','tryAgainButton','items','559029prHuFd','replace','AI_','ck-ai-form__toolbar','Try\x20again'];_0x45ca=function(){return _0x11aff6;};return _0x45ca();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xd3ff06(0x125),'INSERT':_0xd3ff06(0x10b)};export default class nt extends _0x39cc9a{constructor(_0x1ea643){const _0x529ce6=_0xd3ff06;super(_0x1ea643),this[_0x529ce6(0x107)](_0x529ce6(0x109),!0x1),this[_0x529ce6(0x107)](_0x529ce6(0x10d),AIFormToolbarViewMainActionLabel[_0x529ce6(0x115)]),this[_0x529ce6(0x11a)]=this[_0x529ce6(0x10e)]('',_0x529ce6(0x11e)),this[_0x529ce6(0x11a)][_0x529ce6(0x119)](_0x529ce6(0x117))['to'](this,_0x529ce6(0x10d),_0x4b84b0=>_0x4ae34f(_0x1ea643,_0x529ce6(0x126)+_0x4b84b0[_0x529ce6(0x11c)]()+_0x529ce6(0x118))),this[_0x529ce6(0x11d)]=this[_0x529ce6(0x10e)](_0x4ae34f(_0x1ea643,_0x529ce6(0x106))),this[_0x529ce6(0x122)]=this[_0x529ce6(0x10e)](_0x4ae34f(_0x1ea643,_0x529ce6(0x128))),this[_0x529ce6(0x120)]=this[_0x529ce6(0x10e)](_0x4ae34f(_0x1ea643,_0x529ce6(0x104)));const _0x425d04=this[_0x529ce6(0x110)];this[_0x529ce6(0x10a)]({'attributes':{'class':[_0x529ce6(0x127),_0x425d04['if'](_0x529ce6(0x109),_0x529ce6(0x121),_0x3df72=>!_0x3df72)]}}),this[_0x529ce6(0x123)][_0x529ce6(0x113)]([this[_0x529ce6(0x11a)],this[_0x529ce6(0x11d)],this[_0x529ce6(0x122)],this[_0x529ce6(0x120)]]);}[_0xd3ff06(0x10e)](_0x4dc97f,_0x363aa5){const _0x2e7353=_0xd3ff06,_0x5a6dfb=new _0x1b6ef5(this[_0x2e7353(0x11b)]);return _0x5a6dfb[_0x2e7353(0x107)]({'label':_0x4dc97f,'class':_0x363aa5||'','isVisible':!0x0,'withText':!0x0}),_0x5a6dfb;}}
23
+ const _0x3cbed0=_0xcf3b;function _0x5121(){const _0x2b38cf=['ck-ai-form__toolbar','extendTemplate','REPLACE','235832bvQtbW','130OquXSd','AI_','14981010shQNpq','locale','mainAction','addMany','76689dpkYgt','toUpperCase','replace','Try\x20again','2ncxzUl','label','stopButton','bindTemplate','Insert\x20below','ck-button-action','bind','196321xniDAE','12QaFgbZ','_CONTENT','insertButton','tryAgainButton','3918948trRWIN','isVisible','items','230349imbkaB','replaceButton','set','971765yWTKwy','_createButton','ck-hidden','insert','Stop','91uTtjXm'];_0x5121=function(){return _0x2b38cf;};return _0x5121();}(function(_0x185ad2,_0x5751cf){const _0x2f2b32=_0xcf3b,_0x39ad4f=_0x185ad2();while(!![]){try{const _0x22889e=parseInt(_0x2f2b32(0x1cb))/0x1*(parseInt(_0x2f2b32(0x1c4))/0x2)+parseInt(_0x2f2b32(0x1d3))/0x3*(-parseInt(_0x2f2b32(0x1cc))/0x4)+parseInt(_0x2f2b32(0x1b0))/0x5+-parseInt(_0x2f2b32(0x1d0))/0x6+-parseInt(_0x2f2b32(0x1b5))/0x7*(parseInt(_0x2f2b32(0x1b9))/0x8)+-parseInt(_0x2f2b32(0x1c0))/0x9*(parseInt(_0x2f2b32(0x1ba))/0xa)+parseInt(_0x2f2b32(0x1bc))/0xb;if(_0x22889e===_0x5751cf)break;else _0x39ad4f['push'](_0x39ad4f['shift']());}catch(_0x33c29a){_0x39ad4f['push'](_0x39ad4f['shift']());}}}(_0x5121,0x5b925));function _0xcf3b(_0x3ba902,_0x2158f5){const _0x512122=_0x5121();return _0xcf3b=function(_0xcf3b7a,_0x585b8a){_0xcf3b7a=_0xcf3b7a-0x1ae;let _0xc4c21=_0x512122[_0xcf3b7a];return _0xc4c21;},_0xcf3b(_0x3ba902,_0x2158f5);}import{ToolbarView as _0x56d6a3,ButtonView as _0x2aace3}from'ckeditor5/src/ui.js';import{getTranslation as _0x8cd493}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3cbed0(0x1c2),'INSERT':_0x3cbed0(0x1b3)};export default class nt extends _0x56d6a3{constructor(_0x236d0c){const _0xd7594c=_0x3cbed0;super(_0x236d0c),this[_0xd7594c(0x1af)](_0xd7594c(0x1d1),!0x1),this[_0xd7594c(0x1af)](_0xd7594c(0x1be),AIFormToolbarViewMainActionLabel[_0xd7594c(0x1b8)]),this[_0xd7594c(0x1ae)]=this[_0xd7594c(0x1b1)]('',_0xd7594c(0x1c9)),this[_0xd7594c(0x1ae)][_0xd7594c(0x1ca)](_0xd7594c(0x1c5))['to'](this,_0xd7594c(0x1be),_0x18ade3=>_0x8cd493(_0x236d0c,_0xd7594c(0x1bb)+_0x18ade3[_0xd7594c(0x1c1)]()+_0xd7594c(0x1cd))),this[_0xd7594c(0x1ce)]=this[_0xd7594c(0x1b1)](_0x8cd493(_0x236d0c,_0xd7594c(0x1c8))),this[_0xd7594c(0x1cf)]=this[_0xd7594c(0x1b1)](_0x8cd493(_0x236d0c,_0xd7594c(0x1c3))),this[_0xd7594c(0x1c6)]=this[_0xd7594c(0x1b1)](_0x8cd493(_0x236d0c,_0xd7594c(0x1b4)));const _0x15a28a=this[_0xd7594c(0x1c7)];this[_0xd7594c(0x1b7)]({'attributes':{'class':[_0xd7594c(0x1b6),_0x15a28a['if'](_0xd7594c(0x1d1),_0xd7594c(0x1b2),_0x33c128=>!_0x33c128)]}}),this[_0xd7594c(0x1d2)][_0xd7594c(0x1bf)]([this[_0xd7594c(0x1ae)],this[_0xd7594c(0x1ce)],this[_0xd7594c(0x1cf)],this[_0xd7594c(0x1c6)]]);}[_0x3cbed0(0x1b1)](_0x5551fd,_0x1e7749){const _0x35d7fc=_0x3cbed0,_0x540bf1=new _0x2aace3(this[_0x35d7fc(0x1bd)]);return _0x540bf1[_0x35d7fc(0x1af)]({'label':_0x5551fd,'class':_0x1e7749||'','isVisible':!0x0,'withText':!0x0}),_0x540bf1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19c8c5=_0x1a1f;function _0xfbe1(){const _0x535651=['shift\x20+\x20tab','delegate','div','historyGroupView','ck-hidden','_promptHistory','value','trim','submitPrompt','fire','replaceButton','tryAgainEvent','AI_ERROR_FAILED','clearHistory','REPLACE','_createHistoryView','15178920hQkACY','tryAgainButton','element','4yxjVhk','focusFirst','Ask\x20AI\x20to\x20improve\x20generated\x20text','focusTracker','mainAction','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','promptView','isEnabled','bind','execute','text','setTemplate','stopButton','high','submit','render','928802UTyLgO','fieldView','stopProcessing','locale','focus','10TeBBXi','bindTemplate','11yxxuuR','focusLast','isVisible','createCollection','prompt','_createPromptView','reset','errorView','857864qbCQBV','label','handleError','_focusables','135Umztcq','14400207AZCeHM','ck-ai-form-content','contentArea','search','focusCycler','insertContentBelow','items','insertButton','Empty\x20history','tab','isError','replaceContent','queryView','keystrokes','ck-ai-form','bindTo','2284292PiRmqW','copyButtonView','Ask\x20AI\x20to\x20edit\x20or\x20generate','set','clear','startProcessing','40GjINHB','toolbar','finishProcessing','chain','_createToolbar','add','listenTo','216312MuCDBk','isProcessing','3473307vJxdrp'];_0xfbe1=function(){return _0x535651;};return _0xfbe1();}(function(_0x4f6436,_0x120dfb){const _0x211b87=_0x1a1f,_0x504330=_0x4f6436();while(!![]){try{const _0x553983=parseInt(_0x211b87(0xb1))/0x1+parseInt(_0x211b87(0x7e))/0x2+parseInt(_0x211b87(0x8d))/0x3*(-parseInt(_0x211b87(0xa1))/0x4)+-parseInt(_0x211b87(0xc4))/0x5*(-parseInt(_0x211b87(0x8b))/0x6)+parseInt(_0x211b87(0xc0))/0x7*(-parseInt(_0x211b87(0x84))/0x8)+-parseInt(_0x211b87(0xc5))/0x9*(parseInt(_0x211b87(0xb6))/0xa)+-parseInt(_0x211b87(0xb8))/0xb*(-parseInt(_0x211b87(0x9e))/0xc);if(_0x553983===_0x120dfb)break;else _0x504330['push'](_0x504330['shift']());}catch(_0x1f7d32){_0x504330['push'](_0x504330['shift']());}}}(_0xfbe1,0xe52d6));import{FocusTracker as _0x4d1479,KeystrokeHandler as _0x191705}from'ckeditor5/src/utils.js';import{View as _0x4165fb,FocusCycler as _0x260303,createLabeledTextarea as _0x18da4c}from'ckeditor5/src/ui.js';import _0x412e1f,{AIFormToolbarViewMainActionLabel as _0x3b2369}from'./aiformtoolbarview.js';import _0x3035fc from'./aiformcontentarea.js';import _0x4c7510 from'./aiformerrorview.js';import _0x1e8fe8 from'./aiformpromptview.js';import _0x55015c from'./aihistorylistview.js';import _0x4a008e from'./aihistorylistitemview.js';import _0x4aae0c from'./prompthistory.js';import{getTranslation as _0x386b39}from'../../utils/common-translations.js';import{escape as _0x48cb78}from'lodash-es';function _0x1a1f(_0x12a2cc,_0x5cdb14){const _0xfbe18b=_0xfbe1();return _0x1a1f=function(_0x1a1fc2,_0x18dfec){_0x1a1fc2=_0x1a1fc2-0x76;let _0x58d7d8=_0xfbe18b[_0x1a1fc2];return _0x58d7d8;},_0x1a1f(_0x12a2cc,_0x5cdb14);}export default class K extends _0x4165fb{constructor(_0x5adb68,_0x154801,_0x3dabf6=''){const _0x1e5659=_0x1a1f;super(_0x5adb68),this[_0x1e5659(0x81)](_0x1e5659(0xa8),!0x0),this[_0x1e5659(0x81)](_0x1e5659(0x8c),!0x1),this[_0x1e5659(0x81)](_0x1e5659(0xbc),''),this[_0x1e5659(0x81)](_0x1e5659(0x94),''),this[_0x1e5659(0x81)](_0x1e5659(0x78),!0x1),this[_0x1e5659(0x81)](_0x1e5659(0xa5),_0x3b2369[_0x1e5659(0x9c)]),this[_0x1e5659(0x93)]=new _0x4aae0c(),this[_0x1e5659(0xbf)]=new _0x4c7510(_0x5adb68),this[_0x1e5659(0xc7)]=new _0x3035fc(_0x5adb68,_0x3dabf6),this[_0x1e5659(0xc7)][_0x1e5659(0xa9)](_0x1e5659(0x8c))['to'](this),this[_0x1e5659(0xc7)][_0x1e5659(0xa9)](_0x1e5659(0x94))['to'](this),this[_0x1e5659(0x85)]=this[_0x1e5659(0x88)](),this[_0x1e5659(0x85)][_0x1e5659(0xa9)](_0x1e5659(0xa5))['to'](this),this[_0x1e5659(0xa7)]=this[_0x1e5659(0xbd)](),this[_0x1e5659(0xa4)]=new _0x4d1479(),this[_0x1e5659(0x7b)]=new _0x191705(),this[_0x1e5659(0xc3)]=this[_0x1e5659(0xbb)]([this[_0x1e5659(0xc7)],this[_0x1e5659(0xc7)][_0x1e5659(0x7f)],this[_0x1e5659(0x85)],this[_0x1e5659(0xa7)]]),this[_0x1e5659(0xc9)]=new _0x260303({'focusables':this[_0x1e5659(0xc3)],'focusTracker':this[_0x1e5659(0xa4)],'keystrokeHandler':this[_0x1e5659(0x7b)],'actions':{'focusPrevious':_0x1e5659(0x8e),'focusNext':_0x1e5659(0x77)}}),this[_0x1e5659(0xc9)][_0x1e5659(0x87)](this[_0x1e5659(0xa7)][_0x1e5659(0xc9)]),this[_0x1e5659(0xa7)][_0x1e5659(0x7a)][_0x1e5659(0xb2)][_0x1e5659(0xa9)](_0x1e5659(0x94))['to'](this,_0x1e5659(0xbc));const _0x2d055d=this[_0x1e5659(0xb7)];this[_0x1e5659(0xac)]({'tag':_0x1e5659(0x90),'attributes':{'class':['ck',_0x1e5659(0x7c),_0x154801],'tabindex':'-1'},'children':[{'tag':_0x1e5659(0x90),'attributes':{'class':['ck',_0x1e5659(0xc6)]},'children':[{'tag':_0x1e5659(0x90),'attributes':{'class':[_0x2d055d['if'](_0x1e5659(0x78),_0x1e5659(0x92),_0x44e494=>!_0x44e494)]},'children':[this[_0x1e5659(0xbf)]]},this[_0x1e5659(0xc7)],this[_0x1e5659(0x85)],this[_0x1e5659(0xa7)]]}]});}[_0x19c8c5(0xb0)](){const _0x9b0dbb=_0x19c8c5;super[_0x9b0dbb(0xb0)](),this[_0x9b0dbb(0xa4)][_0x9b0dbb(0x89)](this[_0x9b0dbb(0xc7)][_0x9b0dbb(0xa0)]),this[_0x9b0dbb(0xa4)][_0x9b0dbb(0x89)](this[_0x9b0dbb(0xc7)][_0x9b0dbb(0x7f)][_0x9b0dbb(0xa0)]),this[_0x9b0dbb(0xa4)][_0x9b0dbb(0x89)](this[_0x9b0dbb(0x85)][_0x9b0dbb(0xa0)]),this[_0x9b0dbb(0xa4)][_0x9b0dbb(0x89)](this[_0x9b0dbb(0xa7)][_0x9b0dbb(0xa0)]),this[_0x9b0dbb(0x7b)][_0x9b0dbb(0x8a)](this[_0x9b0dbb(0xa0)]);}[_0x19c8c5(0xb5)](_0x7100b2=0x1){const _0x457578=_0x19c8c5;-0x1===_0x7100b2?this[_0x457578(0xc9)][_0x457578(0xb9)]():this[_0x457578(0xc9)][_0x457578(0xa2)]();}[_0x19c8c5(0xbe)](){const _0x3c0a3a=_0x19c8c5;this[_0x3c0a3a(0xbc)]='',this[_0x3c0a3a(0x94)]='',this[_0x3c0a3a(0x78)]=!0x1,this[_0x3c0a3a(0xa7)][_0x3c0a3a(0xbe)](),this[_0x3c0a3a(0xc7)][_0x3c0a3a(0xba)]=!0x1,this[_0x3c0a3a(0x85)][_0x3c0a3a(0xba)]=!0x1;}[_0x19c8c5(0xbd)](){const _0x5d2e6a=_0x19c8c5,_0x30388c=this[_0x5d2e6a(0xb4)],_0x35cc0b=new _0x1e8fe8(_0x30388c,{'queryView':{'label':_0x386b39(_0x30388c,_0x5d2e6a(0x80)),'creator':_0x18da4c,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x386b39(_0x30388c,_0x5d2e6a(0x76)),'secondary':_0x386b39(_0x30388c,_0x5d2e6a(0xa6))}}},'filteredView':this[_0x5d2e6a(0x9d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x35cc0b[_0x5d2e6a(0xa9)](_0x5d2e6a(0xa8))['to'](this,_0x5d2e6a(0xa8),this,_0x5d2e6a(0x8c),(_0x53679a,_0x292f47)=>_0x53679a&&!_0x292f47),this[_0x5d2e6a(0x8a)](_0x35cc0b,_0x5d2e6a(0xaf),(_0x5cd3ca,_0x3765b6)=>{const _0x23224d=_0x5d2e6a;this[_0x23224d(0xbc)]=_0x3765b6;const _0x47fdd1=_0x48cb78(_0x3765b6);this[_0x23224d(0x97)](_0x23224d(0x96),_0x47fdd1),_0x3765b6[_0x23224d(0x95)]()&&this[_0x23224d(0x93)][_0x23224d(0x89)]({'prompt':_0x47fdd1},0x0);},{'priority':_0x5d2e6a(0xae)}),_0x35cc0b;}[_0x19c8c5(0x9d)](){const _0x176473=_0x19c8c5,_0x346bf5=new _0x55015c(this[_0x176473(0xb4)]);return _0x346bf5[_0x176473(0x91)][_0x176473(0xcb)][_0x176473(0x7d)](this[_0x176473(0x93)])['as'](_0x4a008e),_0x346bf5['on'](_0x176473(0x9b),()=>{const _0x4f40a6=_0x176473;this[_0x4f40a6(0x93)][_0x4f40a6(0x82)](),this[_0x4f40a6(0xa7)][_0x4f40a6(0xc8)](''),this[_0x4f40a6(0xa7)][_0x4f40a6(0xb5)]();}),_0x346bf5;}[_0x19c8c5(0x88)](){const _0x32ceab=_0x19c8c5,_0x59fccf=new _0x412e1f(this[_0x32ceab(0xb4)]);return _0x59fccf[_0x32ceab(0x98)][_0x32ceab(0xa9)](_0x32ceab(0xa8))['to'](this,_0x32ceab(0xa8),this,_0x32ceab(0x8c),this,_0x32ceab(0x94),(_0x5103c0,_0x5a06b8,_0x3423f2)=>_0x5103c0&&!_0x5a06b8&&!!_0x3423f2),_0x59fccf[_0x32ceab(0x98)][_0x32ceab(0x8f)](_0x32ceab(0xaa))['to'](this,_0x32ceab(0x79)),_0x59fccf[_0x32ceab(0xcc)][_0x32ceab(0xa9)](_0x32ceab(0xa8))['to'](this,_0x32ceab(0xa8),this,_0x32ceab(0x8c),this,_0x32ceab(0x94),(_0x3d1c88,_0x58a791,_0x126035)=>_0x3d1c88&&!_0x58a791&&!!_0x126035),_0x59fccf[_0x32ceab(0xcc)][_0x32ceab(0x8f)](_0x32ceab(0xaa))['to'](this,_0x32ceab(0xca)),_0x59fccf[_0x32ceab(0x9f)][_0x32ceab(0xa9)](_0x32ceab(0xa8))['to'](this,_0x32ceab(0xa8),this,_0x32ceab(0x8c),(_0x232cfa,_0x55f144)=>_0x232cfa&&!_0x55f144),_0x59fccf[_0x32ceab(0x9f)][_0x32ceab(0x8f)](_0x32ceab(0xaa))['to'](this,_0x32ceab(0x99)),_0x59fccf[_0x32ceab(0xad)][_0x32ceab(0xa9)](_0x32ceab(0xa8))['to'](this,_0x32ceab(0x8c)),_0x59fccf[_0x32ceab(0xad)][_0x32ceab(0x8f)](_0x32ceab(0xaa))['to'](this,_0x32ceab(0xb3)),_0x59fccf;}[_0x19c8c5(0x83)](){const _0x561fc6=_0x19c8c5;this[_0x561fc6(0x94)]='',this[_0x561fc6(0x78)]=!0x1,this[_0x561fc6(0x8c)]=!0x0,this[_0x561fc6(0xc7)][_0x561fc6(0xba)]=!0x0,this[_0x561fc6(0x85)][_0x561fc6(0xba)]=!0x0,this[_0x561fc6(0xc7)][_0x561fc6(0xb5)]();}[_0x19c8c5(0x86)](){const _0x5f3a3a=_0x19c8c5,_0x1bd2d0=this[_0x5f3a3a(0xb4)];this[_0x5f3a3a(0x8c)]=!0x1,this[_0x5f3a3a(0xbc)]='',this[_0x5f3a3a(0xa7)][_0x5f3a3a(0xbe)](),this[_0x5f3a3a(0x94)]&&(this[_0x5f3a3a(0xa7)][_0x5f3a3a(0x7a)][_0x5f3a3a(0xc1)]=_0x386b39(_0x1bd2d0,_0x5f3a3a(0xa3)));}[_0x19c8c5(0xc2)](_0x20856d){const _0x375e89=_0x19c8c5,_0x30c478=this[_0x375e89(0xb4)];this[_0x375e89(0x86)](),this[_0x375e89(0x78)]=!0x0,this[_0x375e89(0xbf)][_0x375e89(0xab)]=_0x20856d||_0x386b39(_0x30c478,_0x375e89(0x9a)),this[_0x375e89(0x94)]||(this[_0x375e89(0xc7)][_0x375e89(0xba)]=!0x1);}}
23
+ function _0x29fd(_0x418b2d,_0xf57c46){const _0x3c91ae=_0x3c91();return _0x29fd=function(_0x29fddf,_0x1ce75b){_0x29fddf=_0x29fddf-0x194;let _0x36967a=_0x3c91ae[_0x29fddf];return _0x36967a;},_0x29fd(_0x418b2d,_0xf57c46);}const _0x301f8d=_0x29fd;(function(_0x2888ad,_0x393997){const _0x472313=_0x29fd,_0x1eed5f=_0x2888ad();while(!![]){try{const _0x4cbe83=parseInt(_0x472313(0x194))/0x1*(-parseInt(_0x472313(0x1c8))/0x2)+parseInt(_0x472313(0x1dc))/0x3*(-parseInt(_0x472313(0x1d8))/0x4)+parseInt(_0x472313(0x1a8))/0x5+-parseInt(_0x472313(0x1ce))/0x6*(parseInt(_0x472313(0x1b0))/0x7)+parseInt(_0x472313(0x1dd))/0x8+-parseInt(_0x472313(0x19a))/0x9+parseInt(_0x472313(0x1ca))/0xa*(parseInt(_0x472313(0x1b1))/0xb);if(_0x4cbe83===_0x393997)break;else _0x1eed5f['push'](_0x1eed5f['shift']());}catch(_0x280886){_0x1eed5f['push'](_0x1eed5f['shift']());}}}(_0x3c91,0x969b3));import{FocusTracker as _0x5c435b,KeystrokeHandler as _0x5b2cc2}from'ckeditor5/src/utils.js';import{View as _0x3476b3,FocusCycler as _0x392650,createLabeledTextarea as _0x5b3e3c}from'ckeditor5/src/ui.js';import _0xb24d37,{AIFormToolbarViewMainActionLabel as _0x2db8e8}from'./aiformtoolbarview.js';import _0x1675b4 from'./aiformcontentarea.js';import _0x508888 from'./aiformerrorview.js';import _0x280fca from'./aiformpromptview.js';function _0x3c91(){const _0xe5c43e=['_focusables','isVisible','reset','ck-ai-form-content','execute','historyGroupView','fieldView','1035825rJbVEK','clearHistory','stopButton','focus','submitPrompt','bindTo','isEnabled','REPLACE','26089qVHQtY','2823304ShyjEH','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','clear','listenTo','stopProcessing','copyButtonView','_createToolbar','keystrokes','text','tryAgainEvent','setTemplate','_createPromptView','promptView','AI_ERROR_FAILED','contentArea','isError','isProcessing','locale','label','errorView','focusLast','trim','mainAction','13326AjvPNR','Empty\x20history','120JhpyBK','ck-hidden','search','Ask\x20AI\x20to\x20edit\x20or\x20generate','1266zHfhDk','submit','high','fire','bindTemplate','items','_createHistoryView','queryView','render','add','108xaEdpB','Ask\x20AI\x20to\x20improve\x20generated\x20text','bind','insertButton','130881YaPtaK','5224240AMSFhs','tab','handleError','insertContentBelow','chain','set','startProcessing','replaceContent','_promptHistory','tryAgainButton','replaceButton','focusCycler','delegate','152bOpxnw','toolbar','prompt','shift\x20+\x20tab','finishProcessing','focusFirst','3115602HCvHAc','value','ck-ai-form','createCollection','div','element','focusTracker'];_0x3c91=function(){return _0xe5c43e;};return _0x3c91();}import _0x272dc0 from'./aihistorylistview.js';import _0x5a242b from'./aihistorylistitemview.js';import _0x5f0ea7 from'./prompthistory.js';import{getTranslation as _0x2ead09}from'../../utils/common-translations.js';import{escape as _0x35685f}from'lodash-es';export default class K extends _0x3476b3{constructor(_0x5ef341,_0x4b9724,_0x318d7e=''){const _0x5088ba=_0x29fd;super(_0x5ef341),this[_0x5088ba(0x1e2)](_0x5088ba(0x1ae),!0x0),this[_0x5088ba(0x1e2)](_0x5088ba(0x1c1),!0x1),this[_0x5088ba(0x1e2)](_0x5088ba(0x196),''),this[_0x5088ba(0x1e2)](_0x5088ba(0x19b),''),this[_0x5088ba(0x1e2)](_0x5088ba(0x1c0),!0x1),this[_0x5088ba(0x1e2)](_0x5088ba(0x1c7),_0x2db8e8[_0x5088ba(0x1af)]),this[_0x5088ba(0x1e5)]=new _0x5f0ea7(),this[_0x5088ba(0x1c4)]=new _0x508888(_0x5ef341),this[_0x5088ba(0x1bf)]=new _0x1675b4(_0x5ef341,_0x318d7e),this[_0x5088ba(0x1bf)][_0x5088ba(0x1da)](_0x5088ba(0x1c1))['to'](this),this[_0x5088ba(0x1bf)][_0x5088ba(0x1da)](_0x5088ba(0x19b))['to'](this),this[_0x5088ba(0x195)]=this[_0x5088ba(0x1b7)](),this[_0x5088ba(0x195)][_0x5088ba(0x1da)](_0x5088ba(0x1c7))['to'](this),this[_0x5088ba(0x1bd)]=this[_0x5088ba(0x1bc)](),this[_0x5088ba(0x1a0)]=new _0x5c435b(),this[_0x5088ba(0x1b8)]=new _0x5b2cc2(),this[_0x5088ba(0x1a1)]=this[_0x5088ba(0x19d)]([this[_0x5088ba(0x1bf)],this[_0x5088ba(0x1bf)][_0x5088ba(0x1b6)],this[_0x5088ba(0x195)],this[_0x5088ba(0x1bd)]]),this[_0x5088ba(0x1e8)]=new _0x392650({'focusables':this[_0x5088ba(0x1a1)],'focusTracker':this[_0x5088ba(0x1a0)],'keystrokeHandler':this[_0x5088ba(0x1b8)],'actions':{'focusPrevious':_0x5088ba(0x197),'focusNext':_0x5088ba(0x1de)}}),this[_0x5088ba(0x1e8)][_0x5088ba(0x1e1)](this[_0x5088ba(0x1bd)][_0x5088ba(0x1e8)]),this[_0x5088ba(0x1bd)][_0x5088ba(0x1d5)][_0x5088ba(0x1a7)][_0x5088ba(0x1da)](_0x5088ba(0x19b))['to'](this,_0x5088ba(0x196));const _0x9048e0=this[_0x5088ba(0x1d2)];this[_0x5088ba(0x1bb)]({'tag':_0x5088ba(0x19e),'attributes':{'class':['ck',_0x5088ba(0x19c),_0x4b9724],'tabindex':'-1'},'children':[{'tag':_0x5088ba(0x19e),'attributes':{'class':['ck',_0x5088ba(0x1a4)]},'children':[{'tag':_0x5088ba(0x19e),'attributes':{'class':[_0x9048e0['if'](_0x5088ba(0x1c0),_0x5088ba(0x1cb),_0x63c790=>!_0x63c790)]},'children':[this[_0x5088ba(0x1c4)]]},this[_0x5088ba(0x1bf)],this[_0x5088ba(0x195)],this[_0x5088ba(0x1bd)]]}]});}[_0x301f8d(0x1d6)](){const _0x4ae340=_0x301f8d;super[_0x4ae340(0x1d6)](),this[_0x4ae340(0x1a0)][_0x4ae340(0x1d7)](this[_0x4ae340(0x1bf)][_0x4ae340(0x19f)]),this[_0x4ae340(0x1a0)][_0x4ae340(0x1d7)](this[_0x4ae340(0x1bf)][_0x4ae340(0x1b6)][_0x4ae340(0x19f)]),this[_0x4ae340(0x1a0)][_0x4ae340(0x1d7)](this[_0x4ae340(0x195)][_0x4ae340(0x19f)]),this[_0x4ae340(0x1a0)][_0x4ae340(0x1d7)](this[_0x4ae340(0x1bd)][_0x4ae340(0x19f)]),this[_0x4ae340(0x1b8)][_0x4ae340(0x1b4)](this[_0x4ae340(0x19f)]);}[_0x301f8d(0x1ab)](_0x2b7b30=0x1){const _0x591300=_0x301f8d;-0x1===_0x2b7b30?this[_0x591300(0x1e8)][_0x591300(0x1c5)]():this[_0x591300(0x1e8)][_0x591300(0x199)]();}[_0x301f8d(0x1a3)](){const _0x254f78=_0x301f8d;this[_0x254f78(0x196)]='',this[_0x254f78(0x19b)]='',this[_0x254f78(0x1c0)]=!0x1,this[_0x254f78(0x1bd)][_0x254f78(0x1a3)](),this[_0x254f78(0x1bf)][_0x254f78(0x1a2)]=!0x1,this[_0x254f78(0x195)][_0x254f78(0x1a2)]=!0x1;}[_0x301f8d(0x1bc)](){const _0x44ff7c=_0x301f8d,_0x2f98df=this[_0x44ff7c(0x1c2)],_0x2308a6=new _0x280fca(_0x2f98df,{'queryView':{'label':_0x2ead09(_0x2f98df,_0x44ff7c(0x1cd)),'creator':_0x5b3e3c,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2ead09(_0x2f98df,_0x44ff7c(0x1c9)),'secondary':_0x2ead09(_0x2f98df,_0x44ff7c(0x1b2))}}},'filteredView':this[_0x44ff7c(0x1d4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2308a6[_0x44ff7c(0x1da)](_0x44ff7c(0x1ae))['to'](this,_0x44ff7c(0x1ae),this,_0x44ff7c(0x1c1),(_0x2d046c,_0x458acd)=>_0x2d046c&&!_0x458acd),this[_0x44ff7c(0x1b4)](_0x2308a6,_0x44ff7c(0x1cf),(_0x271bab,_0x61d83c)=>{const _0x1006a6=_0x44ff7c;this[_0x1006a6(0x196)]=_0x61d83c;const _0x5c73c4=_0x35685f(_0x61d83c);this[_0x1006a6(0x1d1)](_0x1006a6(0x1ac),_0x5c73c4),_0x61d83c[_0x1006a6(0x1c6)]()&&this[_0x1006a6(0x1e5)][_0x1006a6(0x1d7)]({'prompt':_0x5c73c4},0x0);},{'priority':_0x44ff7c(0x1d0)}),_0x2308a6;}[_0x301f8d(0x1d4)](){const _0x12d430=_0x301f8d,_0x4262b4=new _0x272dc0(this[_0x12d430(0x1c2)]);return _0x4262b4[_0x12d430(0x1a6)][_0x12d430(0x1d3)][_0x12d430(0x1ad)](this[_0x12d430(0x1e5)])['as'](_0x5a242b),_0x4262b4['on'](_0x12d430(0x1a9),()=>{const _0x46e273=_0x12d430;this[_0x46e273(0x1e5)][_0x46e273(0x1b3)](),this[_0x46e273(0x1bd)][_0x46e273(0x1cc)](''),this[_0x46e273(0x1bd)][_0x46e273(0x1ab)]();}),_0x4262b4;}[_0x301f8d(0x1b7)](){const _0x221b96=_0x301f8d,_0x36a43f=new _0xb24d37(this[_0x221b96(0x1c2)]);return _0x36a43f[_0x221b96(0x1e7)][_0x221b96(0x1da)](_0x221b96(0x1ae))['to'](this,_0x221b96(0x1ae),this,_0x221b96(0x1c1),this,_0x221b96(0x19b),(_0x443e98,_0x2c1bcc,_0xb90ff1)=>_0x443e98&&!_0x2c1bcc&&!!_0xb90ff1),_0x36a43f[_0x221b96(0x1e7)][_0x221b96(0x1e9)](_0x221b96(0x1a5))['to'](this,_0x221b96(0x1e4)),_0x36a43f[_0x221b96(0x1db)][_0x221b96(0x1da)](_0x221b96(0x1ae))['to'](this,_0x221b96(0x1ae),this,_0x221b96(0x1c1),this,_0x221b96(0x19b),(_0x268cd8,_0x177b14,_0x1c462b)=>_0x268cd8&&!_0x177b14&&!!_0x1c462b),_0x36a43f[_0x221b96(0x1db)][_0x221b96(0x1e9)](_0x221b96(0x1a5))['to'](this,_0x221b96(0x1e0)),_0x36a43f[_0x221b96(0x1e6)][_0x221b96(0x1da)](_0x221b96(0x1ae))['to'](this,_0x221b96(0x1ae),this,_0x221b96(0x1c1),(_0x1233a8,_0x41145a)=>_0x1233a8&&!_0x41145a),_0x36a43f[_0x221b96(0x1e6)][_0x221b96(0x1e9)](_0x221b96(0x1a5))['to'](this,_0x221b96(0x1ba)),_0x36a43f[_0x221b96(0x1aa)][_0x221b96(0x1da)](_0x221b96(0x1ae))['to'](this,_0x221b96(0x1c1)),_0x36a43f[_0x221b96(0x1aa)][_0x221b96(0x1e9)](_0x221b96(0x1a5))['to'](this,_0x221b96(0x1b5)),_0x36a43f;}[_0x301f8d(0x1e3)](){const _0xf451dd=_0x301f8d;this[_0xf451dd(0x19b)]='',this[_0xf451dd(0x1c0)]=!0x1,this[_0xf451dd(0x1c1)]=!0x0,this[_0xf451dd(0x1bf)][_0xf451dd(0x1a2)]=!0x0,this[_0xf451dd(0x195)][_0xf451dd(0x1a2)]=!0x0,this[_0xf451dd(0x1bf)][_0xf451dd(0x1ab)]();}[_0x301f8d(0x198)](){const _0x402fb4=_0x301f8d,_0x299a06=this[_0x402fb4(0x1c2)];this[_0x402fb4(0x1c1)]=!0x1,this[_0x402fb4(0x196)]='',this[_0x402fb4(0x1bd)][_0x402fb4(0x1a3)](),this[_0x402fb4(0x19b)]&&(this[_0x402fb4(0x1bd)][_0x402fb4(0x1d5)][_0x402fb4(0x1c3)]=_0x2ead09(_0x299a06,_0x402fb4(0x1d9)));}[_0x301f8d(0x1df)](_0x67b7b8){const _0x1a3e0a=_0x301f8d,_0x10b6a7=this[_0x1a3e0a(0x1c2)];this[_0x1a3e0a(0x198)](),this[_0x1a3e0a(0x1c0)]=!0x0,this[_0x1a3e0a(0x1c4)][_0x1a3e0a(0x1b9)]=_0x67b7b8||_0x2ead09(_0x10b6a7,_0x1a3e0a(0x1be)),this[_0x1a3e0a(0x19b)]||(this[_0x1a3e0a(0x1bf)][_0x1a3e0a(0x1a2)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x535b5a,_0x4ba2c2){const _0x390d0c=_0x52f1,_0x5a3e3e=_0x535b5a();while(!![]){try{const _0x55053a=-parseInt(_0x390d0c(0x130))/0x1*(parseInt(_0x390d0c(0x133))/0x2)+parseInt(_0x390d0c(0x132))/0x3+-parseInt(_0x390d0c(0x135))/0x4*(parseInt(_0x390d0c(0x136))/0x5)+parseInt(_0x390d0c(0x12c))/0x6+parseInt(_0x390d0c(0x139))/0x7*(-parseInt(_0x390d0c(0x12b))/0x8)+-parseInt(_0x390d0c(0x12a))/0x9+parseInt(_0x390d0c(0x137))/0xa;if(_0x55053a===_0x4ba2c2)break;else _0x5a3e3e['push'](_0x5a3e3e['shift']());}catch(_0x1f3b37){_0x5a3e3e['push'](_0x5a3e3e['shift']());}}}(_0x2d21,0xaed7d));function _0x2d21(){const _0x464dea=['prompt','35020nEkUom','475rZQyqH','29540590TUBvTt','execute','5201yaAqZx','fire','3702429KfaLVV','2008fmAaBB','3486276lrrKFb','children','locale','add','1394bshzfq','set','1407wVROYx','1994ORPZci'];_0x2d21=function(){return _0x464dea;};return _0x2d21();}import{ListItemView as _0x5d7fa3,ButtonView as _0x163471,ButtonLabelView as _0x2b5156}from'ckeditor5/src/ui.js';function _0x52f1(_0x5dfefd,_0x2db120){const _0x2d2128=_0x2d21();return _0x52f1=function(_0x52f191,_0x2ca0a8){_0x52f191=_0x52f191-0x129;let _0x5667d1=_0x2d2128[_0x52f191];return _0x5667d1;},_0x52f1(_0x5dfefd,_0x2db120);}import{unescape as _0x36819b}from'lodash-es';export default class hs extends _0x5d7fa3{constructor(_0x1c6cc2){const _0x56e07a=_0x52f1;super();const _0x1c067f=new _0x2b5156(),_0x4659f9=new _0x163471(this[_0x56e07a(0x12e)],_0x1c067f);this[_0x56e07a(0x12d)][_0x56e07a(0x12f)](_0x4659f9),_0x4659f9[_0x56e07a(0x131)]({'label':_0x1c6cc2[_0x56e07a(0x134)],'withText':!0x0}),_0x4659f9['on'](_0x56e07a(0x138),()=>{const _0x3bf363=_0x56e07a;this[_0x3bf363(0x129)](_0x3bf363(0x138),{'value':_0x36819b(_0x1c6cc2[_0x3bf363(0x134)])});});}}
23
+ (function(_0x2e646e,_0x3ce647){const _0x48a988=_0x441b,_0xc3ee3e=_0x2e646e();while(!![]){try{const _0x6020=-parseInt(_0x48a988(0xfe))/0x1+-parseInt(_0x48a988(0xf6))/0x2+parseInt(_0x48a988(0xf9))/0x3+parseInt(_0x48a988(0xf0))/0x4*(parseInt(_0x48a988(0xfd))/0x5)+parseInt(_0x48a988(0xf3))/0x6*(parseInt(_0x48a988(0xfb))/0x7)+parseInt(_0x48a988(0xf5))/0x8*(-parseInt(_0x48a988(0xef))/0x9)+parseInt(_0x48a988(0xf2))/0xa;if(_0x6020===_0x3ce647)break;else _0xc3ee3e['push'](_0xc3ee3e['shift']());}catch(_0x289915){_0xc3ee3e['push'](_0xc3ee3e['shift']());}}}(_0x2ae3,0xa3162));import{ListItemView as _0x5c5d1b,ButtonView as _0x550f0c,ButtonLabelView as _0x460939}from'ckeditor5/src/ui.js';import{unescape as _0x4e431c}from'lodash-es';function _0x441b(_0x3679be,_0x21dd9a){const _0x2ae3c5=_0x2ae3();return _0x441b=function(_0x441bd8,_0x4b9256){_0x441bd8=_0x441bd8-0xee;let _0x220235=_0x2ae3c5[_0x441bd8];return _0x220235;},_0x441b(_0x3679be,_0x21dd9a);}function _0x2ae3(){const _0x48df4e=['fire','10524610FqhMRx','30oNUdCc','add','8nuCWhp','2070812QxMKqW','set','prompt','2817696SoPdFx','execute','931217ZqJLHG','children','119465FGVXuB','920088MKlwCm','locale','9546759mnQTCB','172pdkAAA'];_0x2ae3=function(){return _0x48df4e;};return _0x2ae3();}export default class hs extends _0x5c5d1b{constructor(_0x27c626){const _0xdd4b8=_0x441b;super();const _0x405428=new _0x460939(),_0x1ae6bc=new _0x550f0c(this[_0xdd4b8(0xee)],_0x405428);this[_0xdd4b8(0xfc)][_0xdd4b8(0xf4)](_0x1ae6bc),_0x1ae6bc[_0xdd4b8(0xf7)]({'label':_0x27c626[_0xdd4b8(0xf8)],'withText':!0x0}),_0x1ae6bc['on'](_0xdd4b8(0xfa),()=>{const _0x2bc0a7=_0xdd4b8;this[_0x2bc0a7(0xf1)](_0x2bc0a7(0xfa),{'value':_0x4e431c(_0x27c626[_0x2bc0a7(0xf8)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3610b7=_0x41fa;(function(_0x298ff0,_0x2042ed){const _0xcf6b67=_0x41fa,_0x48d364=_0x298ff0();while(!![]){try{const _0x27db90=parseInt(_0xcf6b67(0x94))/0x1*(-parseInt(_0xcf6b67(0x96))/0x2)+-parseInt(_0xcf6b67(0x97))/0x3+parseInt(_0xcf6b67(0x91))/0x4*(-parseInt(_0xcf6b67(0x9c))/0x5)+-parseInt(_0xcf6b67(0x8c))/0x6*(parseInt(_0xcf6b67(0x8d))/0x7)+parseInt(_0xcf6b67(0x9b))/0x8*(parseInt(_0xcf6b67(0xa2))/0x9)+-parseInt(_0xcf6b67(0xa0))/0xa*(parseInt(_0xcf6b67(0x9d))/0xb)+parseInt(_0xcf6b67(0x99))/0xc;if(_0x27db90===_0x2042ed)break;else _0x48d364['push'](_0x48d364['shift']());}catch(_0x179d91){_0x48d364['push'](_0x48d364['shift']());}}}(_0xd20b,0x5edf0));import{ListView as _0xc8299a,ListItemGroupView as _0x2434c3,ButtonView as _0x556f7d}from'ckeditor5/src/ui.js';import{getTranslation as _0x276c32}from'../../utils/common-translations.js';export default class rs extends _0xc8299a{constructor(_0x2797c9){const _0x3d81db=_0x41fa;super(_0x2797c9),this[_0x3d81db(0x92)]=this[_0x3d81db(0x8f)](),this[_0x3d81db(0x88)]=new _0x2434c3(),this[_0x3d81db(0x88)][_0x3d81db(0xa3)][_0x3d81db(0x8e)](this[_0x3d81db(0x92)],0x1),this[_0x3d81db(0x88)][_0x3d81db(0x89)]=_0x276c32(_0x2797c9,_0x3d81db(0x87)),this[_0x3d81db(0x88)][_0x3d81db(0x93)][_0x3d81db(0x9f)](_0x3d81db(0x9a))['to'](this),this[_0x3d81db(0x93)][_0x3d81db(0x8e)](this[_0x3d81db(0x88)]);}[_0x3610b7(0x95)](){const _0x14089a=_0x3610b7;let _0x524212=0x0;for(const _0x1cd28b of this[_0x14089a(0x93)])_0x524212+=_0x1cd28b[_0x14089a(0x93)][_0x14089a(0x8b)];return{'resultsCount':_0x524212,'totalItemsCount':_0x524212};}[_0x3610b7(0x8f)](){const _0x4429a5=_0x3610b7,_0x5cbed7=this[_0x4429a5(0xa1)],_0x6f735d=new _0x556f7d(this[_0x4429a5(0xa1)]);return _0x6f735d[_0x4429a5(0x90)]({'label':'('+_0x276c32(_0x5cbed7,_0x4429a5(0x9e))+')','withText':!0x0}),_0x6f735d['on'](_0x4429a5(0x9a),()=>this[_0x4429a5(0x98)](_0x4429a5(0x8a))),_0x6f735d;}}function _0x41fa(_0x28d21a,_0x28ebf4){const _0xd20baa=_0xd20b();return _0x41fa=function(_0x41fa5b,_0x5302e3){_0x41fa5b=_0x41fa5b-0x87;let _0x2ba623=_0xd20baa[_0x41fa5b];return _0x2ba623;},_0x41fa(_0x28d21a,_0x28ebf4);}function _0xd20b(){const _0x454fb8=['execute','2266808pzLpIF','5adHbKy','6820sIispF','Clear','delegate','2900OAQEgp','locale','9ylYRUk','children','Prompt\x20history','historyGroupView','label','clearHistory','length','72096rGPwyq','147jCVrWG','add','_createClearHistoryButton','set','1198468dMJZld','clearHistoryButton','items','5479pbyNKI','filter','30XNIidS','1329666VrWDJl','fire','16348812XVFbyb'];_0xd20b=function(){return _0x454fb8;};return _0xd20b();}
23
+ function _0x385a(_0x574318,_0xbe6cf){const _0x12dbfb=_0x12db();return _0x385a=function(_0x385a4b,_0x19ac91){_0x385a4b=_0x385a4b-0x164;let _0x451d33=_0x12dbfb[_0x385a4b];return _0x451d33;},_0x385a(_0x574318,_0xbe6cf);}const _0x2dde1c=_0x385a;function _0x12db(){const _0x53ba99=['Clear','51226XKRCpT','clearHistoryButton','Prompt\x20history','1248288zXZAXo','delegate','children','2IyzkMM','221193XuojVe','821404HFGmzz','items','length','set','locale','1700824AVrbHo','label','add','filter','_createClearHistoryButton','600859ntPoHu','execute','1131565SirKMI','fire','clearHistory','historyGroupView'];_0x12db=function(){return _0x53ba99;};return _0x12db();}(function(_0x52d930,_0x1a8442){const _0xbc653d=_0x385a,_0x3a8f30=_0x52d930();while(!![]){try{const _0x1bfff9=-parseInt(_0xbc653d(0x165))/0x1+-parseInt(_0xbc653d(0x16b))/0x2*(-parseInt(_0xbc653d(0x16c))/0x3)+parseInt(_0xbc653d(0x16d))/0x4+parseInt(_0xbc653d(0x179))/0x5+-parseInt(_0xbc653d(0x168))/0x6+parseInt(_0xbc653d(0x177))/0x7+-parseInt(_0xbc653d(0x172))/0x8;if(_0x1bfff9===_0x1a8442)break;else _0x3a8f30['push'](_0x3a8f30['shift']());}catch(_0x490a39){_0x3a8f30['push'](_0x3a8f30['shift']());}}}(_0x12db,0x1d23b));import{ListView as _0xaf6124,ListItemGroupView as _0x1fd0e6,ButtonView as _0x534724}from'ckeditor5/src/ui.js';import{getTranslation as _0xdbdb86}from'../../utils/common-translations.js';export default class rs extends _0xaf6124{constructor(_0xead034){const _0x44fe22=_0x385a;super(_0xead034),this[_0x44fe22(0x166)]=this[_0x44fe22(0x176)](),this[_0x44fe22(0x17c)]=new _0x1fd0e6(),this[_0x44fe22(0x17c)][_0x44fe22(0x16a)][_0x44fe22(0x174)](this[_0x44fe22(0x166)],0x1),this[_0x44fe22(0x17c)][_0x44fe22(0x173)]=_0xdbdb86(_0xead034,_0x44fe22(0x167)),this[_0x44fe22(0x17c)][_0x44fe22(0x16e)][_0x44fe22(0x169)](_0x44fe22(0x178))['to'](this),this[_0x44fe22(0x16e)][_0x44fe22(0x174)](this[_0x44fe22(0x17c)]);}[_0x2dde1c(0x175)](){const _0x3459e7=_0x2dde1c;let _0x39825f=0x0;for(const _0x549c81 of this[_0x3459e7(0x16e)])_0x39825f+=_0x549c81[_0x3459e7(0x16e)][_0x3459e7(0x16f)];return{'resultsCount':_0x39825f,'totalItemsCount':_0x39825f};}[_0x2dde1c(0x176)](){const _0x318f5e=_0x2dde1c,_0xb9fbe3=this[_0x318f5e(0x171)],_0x459aa7=new _0x534724(this[_0x318f5e(0x171)]);return _0x459aa7[_0x318f5e(0x170)]({'label':'('+_0xdbdb86(_0xb9fbe3,_0x318f5e(0x164))+')','withText':!0x0}),_0x459aa7['on'](_0x318f5e(0x178),()=>this[_0x318f5e(0x17a)](_0x318f5e(0x17b))),_0x459aa7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a925b=_0x4765;function _0x2f27(){const _0x4e3d04=['860976lAskcg','trim','7viYcYP','77iXSmqo','2231145Wsmgzt','stringify','length','CKEditor/AIFormView/PromptHistory','1035591Sjtwid','map','addMany','remove','_saveToSessionStorage','last','getItem','_loadFromSessionStorage','setItem','156DGDzxE','parse','582024NWRwBa','toLowerCase','147990ckMfbf','979580OaFCGn','prompt','2ZPRPiV','add','1345aWsmQg'];_0x2f27=function(){return _0x4e3d04;};return _0x2f27();}(function(_0x2463ca,_0x1003a7){const _0x2d0fcb=_0x4765,_0x1f8094=_0x2463ca();while(!![]){try{const _0x121df1=parseInt(_0x2d0fcb(0x1e0))/0x1+-parseInt(_0x2d0fcb(0x1dd))/0x2*(parseInt(_0x2d0fcb(0x1cd))/0x3)+-parseInt(_0x2d0fcb(0x1db))/0x4+parseInt(_0x2d0fcb(0x1df))/0x5*(-parseInt(_0x2d0fcb(0x1d6))/0x6)+-parseInt(_0x2d0fcb(0x1e2))/0x7*(-parseInt(_0x2d0fcb(0x1d8))/0x8)+parseInt(_0x2d0fcb(0x1e4))/0x9+parseInt(_0x2d0fcb(0x1da))/0xa*(-parseInt(_0x2d0fcb(0x1e3))/0xb);if(_0x121df1===_0x1003a7)break;else _0x1f8094['push'](_0x1f8094['shift']());}catch(_0x3b8e50){_0x1f8094['push'](_0x1f8094['shift']());}}}(_0x2f27,0x756bb));import{Collection as _0x566db}from'ckeditor5/src/utils.js';function _0x4765(_0x2d1030,_0x3945e0){const _0x2f2729=_0x2f27();return _0x4765=function(_0x4765c9,_0x30029a){_0x4765c9=_0x4765c9-0x1ca;let _0x5e9ee7=_0x2f2729[_0x4765c9];return _0x5e9ee7;},_0x4765(_0x2d1030,_0x3945e0);}const cs=_0x1a925b(0x1cc);export default class os extends _0x566db{constructor(){const _0x812b8b=_0x1a925b;super(),this[_0x812b8b(0x1d4)](),this['on'](_0x812b8b(0x1de),(_0x1ce335,_0x2230a0)=>{const _0x474ad7=_0x812b8b,_0x6e9cca=Ss(_0x2230a0[_0x474ad7(0x1dc)]);for(const _0x5b207e of this)if(_0x5b207e!=_0x2230a0&&Ss(_0x5b207e[_0x474ad7(0x1dc)])===_0x6e9cca){this[_0x474ad7(0x1d0)](_0x5b207e);break;}this[_0x474ad7(0x1cb)]>0x14&&this[_0x474ad7(0x1d0)](this[_0x474ad7(0x1d2)]),this[_0x474ad7(0x1d1)]();}),this['on'](_0x812b8b(0x1d0),()=>{const _0x2f0b44=_0x812b8b;this[_0x2f0b44(0x1d1)]();});}[_0x1a925b(0x1d4)](){const _0x2f7b47=_0x1a925b,_0x5325e5=sessionStorage[_0x2f7b47(0x1d3)](cs)||'[]';this[_0x2f7b47(0x1cf)](JSON[_0x2f7b47(0x1d7)](_0x5325e5));}[_0x1a925b(0x1d1)](){const _0x291b11=_0x1a925b;sessionStorage[_0x291b11(0x1d5)](cs,JSON[_0x291b11(0x1ca)](this[_0x291b11(0x1ce)](_0x937cdc=>_0x937cdc)));}}function Ss(_0x2ed172){const _0x402607=_0x1a925b;return _0x2ed172[_0x402607(0x1d9)]()[_0x402607(0x1e1)]();}
23
+ const _0x2f2696=_0xdec0;(function(_0x457281,_0xd095ad){const _0x986083=_0xdec0,_0x4bb7a5=_0x457281();while(!![]){try{const _0x3fa86d=parseInt(_0x986083(0x183))/0x1+-parseInt(_0x986083(0x177))/0x2*(parseInt(_0x986083(0x175))/0x3)+-parseInt(_0x986083(0x179))/0x4+parseInt(_0x986083(0x178))/0x5+parseInt(_0x986083(0x17a))/0x6+parseInt(_0x986083(0x180))/0x7+-parseInt(_0x986083(0x173))/0x8;if(_0x3fa86d===_0xd095ad)break;else _0x4bb7a5['push'](_0x4bb7a5['shift']());}catch(_0x4e06db){_0x4bb7a5['push'](_0x4bb7a5['shift']());}}}(_0x49b1,0xdcf05));function _0x49b1(){const _0x288fa3=['3474608QisAPT','CKEditor/AIFormView/PromptHistory','1311BSTTga','_loadFromSessionStorage','6978nRTrpP','7205615FvOgEg','2603140rWgOtq','5704530YCpBcu','toLowerCase','getItem','remove','_saveToSessionStorage','map','4245745RMUjke','prompt','add','516356nwOiKx','last','setItem','stringify','length','parse','trim','addMany'];_0x49b1=function(){return _0x288fa3;};return _0x49b1();}import{Collection as _0x386f04}from'ckeditor5/src/utils.js';const cs=_0x2f2696(0x174);export default class os extends _0x386f04{constructor(){const _0x57eb62=_0x2f2696;super(),this[_0x57eb62(0x176)](),this['on'](_0x57eb62(0x182),(_0x2b7b0e,_0x358a1e)=>{const _0x13cf2f=_0x57eb62,_0x3ae362=Ss(_0x358a1e[_0x13cf2f(0x181)]);for(const _0xcdfbc9 of this)if(_0xcdfbc9!=_0x358a1e&&Ss(_0xcdfbc9[_0x13cf2f(0x181)])===_0x3ae362){this[_0x13cf2f(0x17d)](_0xcdfbc9);break;}this[_0x13cf2f(0x187)]>0x14&&this[_0x13cf2f(0x17d)](this[_0x13cf2f(0x184)]),this[_0x13cf2f(0x17e)]();}),this['on'](_0x57eb62(0x17d),()=>{const _0x28429d=_0x57eb62;this[_0x28429d(0x17e)]();});}[_0x2f2696(0x176)](){const _0x309fce=_0x2f2696,_0x5586f8=sessionStorage[_0x309fce(0x17c)](cs)||'[]';this[_0x309fce(0x18a)](JSON[_0x309fce(0x188)](_0x5586f8));}[_0x2f2696(0x17e)](){const _0x7bfa23=_0x2f2696;sessionStorage[_0x7bfa23(0x185)](cs,JSON[_0x7bfa23(0x186)](this[_0x7bfa23(0x17f)](_0x51da74=>_0x51da74)));}}function _0xdec0(_0x1ea931,_0x4f413d){const _0x49b199=_0x49b1();return _0xdec0=function(_0xdec032,_0x165bce){_0xdec032=_0xdec032-0x173;let _0x2f385b=_0x49b199[_0xdec032];return _0x2f385b;},_0xdec0(_0x1ea931,_0x4f413d);}function Ss(_0x47efe1){const _0x5e2a2e=_0x2f2696;return _0x47efe1[_0x5e2a2e(0x17b)]()[_0x5e2a2e(0x189)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23331b=_0x2624;(function(_0xa8cb28,_0x3ed727){const _0x308956=_0x2624,_0x29d201=_0xa8cb28();while(!![]){try{const _0xd49d03=-parseInt(_0x308956(0x1b4))/0x1+parseInt(_0x308956(0x18f))/0x2*(parseInt(_0x308956(0x191))/0x3)+-parseInt(_0x308956(0x1a4))/0x4*(parseInt(_0x308956(0x1b3))/0x5)+parseInt(_0x308956(0x1ab))/0x6+-parseInt(_0x308956(0x19b))/0x7*(-parseInt(_0x308956(0x1ad))/0x8)+-parseInt(_0x308956(0x193))/0x9*(parseInt(_0x308956(0x1af))/0xa)+parseInt(_0x308956(0x198))/0xb;if(_0xd49d03===_0x3ed727)break;else _0x29d201['push'](_0x29d201['shift']());}catch(_0x1b96a4){_0x29d201['push'](_0x29d201['shift']());}}}(_0x3a1a,0x19d27));import{Command as _0x78118d}from'ckeditor5/src/core.js';import _0xd5ea53 from'../aiassistantui.js';export default class y extends _0x78118d{constructor(_0x5a51cf,_0x111a90){const _0x595447=_0x2624;super(_0x5a51cf),this[_0x595447(0x18a)]=_0x111a90,this[_0x595447(0x19e)](_0x595447(0x18c),[]),this['on'](_0x595447(0x192),(_0x2c0d84,_0x3d5b1b,_0x4d379c)=>{const _0x2c43d1=_0x595447;this[_0x2c43d1(0x1aa)]&&(this[_0x2c43d1(0x18c)]=G(this[_0x2c43d1(0x18a)],_0x4d379c));}),this[_0x595447(0x19e)](_0x595447(0x1ae),!0x1),this['on'](_0x595447(0x1a8),(_0x22a2cf,_0x30fa9f,_0x5d4af4)=>{const _0xe60bb2=_0x595447;this[_0xe60bb2(0x18c)]=_0x5d4af4?G(this[_0xe60bb2(0x18a)],this[_0xe60bb2(0x1ae)]):[];});}[_0x23331b(0x1a0)](){const _0x33aba1=_0x23331b,_0x5c2714=this[_0x33aba1(0x1ac)][_0x33aba1(0x190)];this[_0x33aba1(0x1ae)]=function(_0x25e132){const _0x434e80=_0x33aba1,_0x55b0f8=_0x25e132[_0x434e80(0x196)][_0x434e80(0x19f)];return _0x55b0f8[_0x434e80(0x18d)]?0x0!==[..._0x55b0f8[_0x434e80(0x199)]()][_0x434e80(0x1a6)]&&![..._0x55b0f8[_0x434e80(0x199)]()][0x0][_0x434e80(0x1a5)]:!!_0x25e132[_0x434e80(0x195)](_0x55b0f8[_0x434e80(0x194)]());}(_0x5c2714);const _0x3e9665=_0x5c2714[_0x33aba1(0x196)][_0x33aba1(0x19f)],_0x10bcac=this[_0x33aba1(0x1ac)][_0x33aba1(0x1a2)][_0x33aba1(0x1b2)](_0x33aba1(0x19c));for(const _0x4f7327 of _0x3e9665[_0x33aba1(0x1b1)]())for(const _0x457a1c of _0x4f7327[_0x33aba1(0x1b5)]())if(_0x457a1c['is'](_0x33aba1(0x18b))&&_0x10bcac[_0x33aba1(0x1a9)](_0x457a1c[_0x33aba1(0x189)]))return void(this[_0x33aba1(0x1aa)]=!0x1);this[_0x33aba1(0x1aa)]=!0x0;}[_0x23331b(0x19a)](_0x54b864='',_0x3fa79e='',_0x4b39ff=_0x23331b(0x1a1)){const _0x18d9ab=_0x23331b;this[_0x18d9ab(0x1ac)][_0x18d9ab(0x18e)][_0x18d9ab(0x1b2)](_0xd5ea53)[_0x18d9ab(0x1a3)](_0x54b864,_0x3fa79e,_0x4b39ff);}}function _0x3a1a(){const _0x184804=['change:isEnabled','includes','isEnabled','788718WiRecK','editor','184BEsQjN','_hasContext','390760QGrydD','from','getRanges','get','1185ixyxJe','183989Xmkxvr','getItems','name','_commandDefinitions','element','enabledCommandsIds','isCollapsed','plugins','328906IFiLwk','model','3RQVQYM','change:_hasContext','9qNknnC','getFirstRange','hasContent','document','add','1646865wktAYt','getSelectedBlocks','execute','23891JIbvBV','ai.aiAssistant.disabledElements','requiresContent','set','selection','refresh','custom','config','showUI','3296bDlvGS','isEmpty','length','values'];_0x3a1a=function(){return _0x184804;};return _0x3a1a();}function _0x2624(_0x27a4e5,_0x50fda4){const _0x3a1a58=_0x3a1a();return _0x2624=function(_0x26244c,_0x48d657){_0x26244c=_0x26244c-0x189;let _0x42bcb3=_0x3a1a58[_0x26244c];return _0x42bcb3;},_0x2624(_0x27a4e5,_0x50fda4);}function G(_0x3fbfc9,_0x2285c5){const _0x317f4b=_0x23331b,_0x4fa37b=new Set();for(const _0x10bc70 of _0x3fbfc9[_0x317f4b(0x1a7)]())(_0x2285c5||!0x1===_0x10bc70[_0x317f4b(0x19d)])&&_0x4fa37b[_0x317f4b(0x197)](_0x10bc70['id']);return Array[_0x317f4b(0x1b0)](_0x4fa37b);}
23
+ const _0x885f10=_0x2660;(function(_0x54748d,_0x2da1f5){const _0x52bb9b=_0x2660,_0x43a96a=_0x54748d();while(!![]){try{const _0x23cf73=-parseInt(_0x52bb9b(0x149))/0x1*(-parseInt(_0x52bb9b(0x167))/0x2)+parseInt(_0x52bb9b(0x162))/0x3+-parseInt(_0x52bb9b(0x153))/0x4*(-parseInt(_0x52bb9b(0x14b))/0x5)+-parseInt(_0x52bb9b(0x144))/0x6*(-parseInt(_0x52bb9b(0x161))/0x7)+-parseInt(_0x52bb9b(0x150))/0x8+parseInt(_0x52bb9b(0x148))/0x9+-parseInt(_0x52bb9b(0x154))/0xa;if(_0x23cf73===_0x2da1f5)break;else _0x43a96a['push'](_0x43a96a['shift']());}catch(_0x3013bf){_0x43a96a['push'](_0x43a96a['shift']());}}}(_0xfdc5,0x93a9c));function _0xfdc5(){const _0x2f6a28=['isCollapsed','change:isEnabled','config','ai.aiAssistant.disabledElements','execute','set','getFirstRange','6QvpxFP','add','element','selection','1646568xOXyBq','1jUcBDv','enabledCommandsIds','574250vboLVk','custom','includes','length','getRanges','6261184eVYkSx','from','getItems','32tygsvM','9915640fIYOUW','_hasContext','refresh','getSelectedBlocks','values','get','hasContent','_commandDefinitions','plugins','change:_hasContext','editor','name','isEmpty','6126771HZJgHK','88266gWIYFZ','showUI','isEnabled','model','document','745226ePDpfp','requiresContent'];_0xfdc5=function(){return _0x2f6a28;};return _0xfdc5();}import{Command as _0x302a77}from'ckeditor5/src/core.js';function _0x2660(_0x55034b,_0x51c6d5){const _0xfdc584=_0xfdc5();return _0x2660=function(_0x2660d3,_0x47d0dc){_0x2660d3=_0x2660d3-0x13d;let _0x5515f0=_0xfdc584[_0x2660d3];return _0x5515f0;},_0x2660(_0x55034b,_0x51c6d5);}import _0x1c816b from'../aiassistantui.js';export default class y extends _0x302a77{constructor(_0xe388c0,_0x1f96cc){const _0x4718cb=_0x2660;super(_0xe388c0),this[_0x4718cb(0x15b)]=_0x1f96cc,this[_0x4718cb(0x142)](_0x4718cb(0x14a),[]),this['on'](_0x4718cb(0x15d),(_0x152856,_0x42ece9,_0xafc94f)=>{const _0x55cb36=_0x4718cb;this[_0x55cb36(0x164)]&&(this[_0x55cb36(0x14a)]=G(this[_0x55cb36(0x15b)],_0xafc94f));}),this[_0x4718cb(0x142)](_0x4718cb(0x155),!0x1),this['on'](_0x4718cb(0x13e),(_0x14f566,_0x470129,_0x4b4d16)=>{const _0x2b1730=_0x4718cb;this[_0x2b1730(0x14a)]=_0x4b4d16?G(this[_0x2b1730(0x15b)],this[_0x2b1730(0x155)]):[];});}[_0x885f10(0x156)](){const _0x3e6e01=_0x885f10,_0x33d4f2=this[_0x3e6e01(0x15e)][_0x3e6e01(0x165)];this[_0x3e6e01(0x155)]=function(_0x4e879f){const _0xb4fc4c=_0x3e6e01,_0x47d7f0=_0x4e879f[_0xb4fc4c(0x166)][_0xb4fc4c(0x147)];return _0x47d7f0[_0xb4fc4c(0x13d)]?0x0!==[..._0x47d7f0[_0xb4fc4c(0x157)]()][_0xb4fc4c(0x14e)]&&![..._0x47d7f0[_0xb4fc4c(0x157)]()][0x0][_0xb4fc4c(0x160)]:!!_0x4e879f[_0xb4fc4c(0x15a)](_0x47d7f0[_0xb4fc4c(0x143)]());}(_0x33d4f2);const _0x220112=_0x33d4f2[_0x3e6e01(0x166)][_0x3e6e01(0x147)],_0x3e8fa7=this[_0x3e6e01(0x15e)][_0x3e6e01(0x13f)][_0x3e6e01(0x159)](_0x3e6e01(0x140));for(const _0x1b334d of _0x220112[_0x3e6e01(0x14f)]())for(const _0x796a54 of _0x1b334d[_0x3e6e01(0x152)]())if(_0x796a54['is'](_0x3e6e01(0x146))&&_0x3e8fa7[_0x3e6e01(0x14d)](_0x796a54[_0x3e6e01(0x15f)]))return void(this[_0x3e6e01(0x164)]=!0x1);this[_0x3e6e01(0x164)]=!0x0;}[_0x885f10(0x141)](_0x502d0e='',_0x4ae2d3='',_0x366e7d=_0x885f10(0x14c)){const _0x4fa1c1=_0x885f10;this[_0x4fa1c1(0x15e)][_0x4fa1c1(0x15c)][_0x4fa1c1(0x159)](_0x1c816b)[_0x4fa1c1(0x163)](_0x502d0e,_0x4ae2d3,_0x366e7d);}}function G(_0x213ffd,_0x4c2345){const _0x1d5956=_0x885f10,_0x18b629=new Set();for(const _0x2980ad of _0x213ffd[_0x1d5956(0x158)]())(_0x4c2345||!0x1===_0x2980ad[_0x1d5956(0x168)])&&_0x18b629[_0x1d5956(0x145)](_0x2980ad['id']);return Array[_0x1d5956(0x151)](_0x18b629);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3620d1,_0x4eecf3,_0x105b7d){const t=_0x3620d1['t'];switch(_0x4eecf3){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x105b7d);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x105b7d);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x105b7d);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x4eecf3;}}
23
+ export function getTranslation(_0x3873c9,_0x142ccf,_0x581b38){const t=_0x3873c9['t'];switch(_0x142ccf){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x581b38);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x581b38);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x581b38);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x142ccf;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0xf0ce8,_0x118c6b){const _0x517a41=(0x0,_0x118c6b['t'])('Other');return _0xf0ce8['length']?'groupId'in _0xf0ce8[0x0]?_0xf0ce8:[{'groupId':'_ungrouppedCommands','groupLabel':_0x517a41,'order':0x1/0x0,'commands':_0xf0ce8}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x517a41,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x1c8c09,_0x2a164b){const _0x5c5572=(0x0,_0x2a164b['t'])('Other');return _0x1c8c09['length']?'groupId'in _0x1c8c09[0x0]?_0x1c8c09:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5c5572,'order':0x1/0x0,'commands':_0x1c8c09}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5c5572,'order':0x1/0x0,'commands':[]}];}