@ckeditor/ckeditor5-ai 46.0.0-alpha.3 → 46.0.0-alpha.4

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 (170) 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/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.js +1 -1
  154. package/src/aiassistant.js +1 -1
  155. package/src/aiassistantediting.js +1 -1
  156. package/src/aiassistantui.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/legacyerrors.js +1 -1
  159. package/src/ui/aiassistantcontroller.js +2 -2
  160. package/src/ui/form/aiformcontentarea.js +1 -1
  161. package/src/ui/form/aiformerrorview.js +1 -1
  162. package/src/ui/form/aiformpromptview.js +1 -1
  163. package/src/ui/form/aiformtoolbarview.js +1 -1
  164. package/src/ui/form/aiformview.js +1 -1
  165. package/src/ui/form/aihistorylistitemview.js +1 -1
  166. package/src/ui/form/aihistorylistview.js +1 -1
  167. package/src/ui/form/prompthistory.js +1 -1
  168. package/src/ui/showaiassistantcommand.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x51d8(_0x222f87,_0x44662e){const _0x1f5240=_0x1f52();return _0x51d8=function(_0x51d8b1,_0x3217b3){_0x51d8b1=_0x51d8b1-0x123;let _0x421103=_0x1f5240[_0x51d8b1];return _0x421103;},_0x51d8(_0x222f87,_0x44662e);}const _0x461e38=_0x51d8;function _0x1f52(){const _0x2bd412=['6aTHOus','uiLanguageDirection','keystrokes','filteredView','20PYOPYf','_createShowHistoryButton','isOn','element','Submit','submitButtonView','fire','right','4347618ueovOi','isEmpty','5009296ShEhOF','12465Xvmmll','rtl','focus','style','value','add','left','ck-ai-form__submit','1443825JsXGgQ','History','requestAnimationFrame','minRows','isEnabled','fieldWrapperChildren','render','width','bind','target','showHistoryButtonView','235707ZcWYlU','resultsView','_createSubmitButton','focusableChildren','excludeScrollbarsAndBorders','focusLast','maxRows','execute','window','fieldView','update','focusFirst','796AqCqox','children','isVisible','set','locale','focusCycler','ck-ai-form__toggle-history','3491327oNlsfT','queryView','submit','165985enAieH','enter','6NyJtwZ'];_0x1f52=function(){return _0x2bd412;};return _0x1f52();}(function(_0x377a44,_0x3ded06){const _0x15bae9=_0x51d8,_0x5ca2a4=_0x377a44();while(!![]){try{const _0x4fedde=-parseInt(_0x15bae9(0x144))/0x1+-parseInt(_0x15bae9(0x146))/0x2*(-parseInt(_0x15bae9(0x12e))/0x3)+parseInt(_0x15bae9(0x13a))/0x4*(-parseInt(_0x15bae9(0x156))/0x5)+parseInt(_0x15bae9(0x147))/0x6*(-parseInt(_0x15bae9(0x141))/0x7)+parseInt(_0x15bae9(0x155))/0x8+-parseInt(_0x15bae9(0x123))/0x9+parseInt(_0x15bae9(0x14b))/0xa*(parseInt(_0x15bae9(0x153))/0xb);if(_0x4fedde===_0x3ded06)break;else _0x5ca2a4['push'](_0x5ca2a4['shift']());}catch(_0x26ed62){_0x5ca2a4['push'](_0x5ca2a4['shift']());}}}(_0x1f52,0x50d3b));import{Rect as _0x1d18c6,global as _0x2e36db,isVisible as _0x538252}from'ckeditor5/src/utils.js';import{IconHistory as _0x4e70fe,IconSubmit as _0x4b9e8c}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2bcb35,ButtonView as _0x3af624}from'ckeditor5/src/ui.js';import{getTranslation as _0x1f846b}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2bcb35{[_0x461e38(0x150)];[_0x461e38(0x12d)];constructor(_0x218333,_0x3042e3){const _0x3396b0=_0x461e38;super(_0x218333,_0x3042e3),this[_0x3396b0(0x142)][_0x3396b0(0x137)][_0x3396b0(0x126)]=0x1,this[_0x3396b0(0x142)][_0x3396b0(0x137)][_0x3396b0(0x134)]=0x3,this[_0x3396b0(0x150)]=this[_0x3396b0(0x130)](),this[_0x3396b0(0x12d)]=this[_0x3396b0(0x14c)](),this[_0x3396b0(0x131)][_0x3396b0(0x15b)](this[_0x3396b0(0x12d)],0x1),this[_0x3396b0(0x131)][_0x3396b0(0x15b)](this[_0x3396b0(0x150)]);}[_0x461e38(0x129)](){const _0x26a7d9=_0x461e38;super[_0x26a7d9(0x129)](),this[_0x26a7d9(0x142)][_0x26a7d9(0x128)][_0x26a7d9(0x15b)](this[_0x26a7d9(0x12d)]),this[_0x26a7d9(0x13b)][_0x26a7d9(0x15b)](this[_0x26a7d9(0x150)]),this[_0x26a7d9(0x149)][_0x26a7d9(0x13d)](_0x26a7d9(0x145),(_0x4459c8,_0x4714c3)=>{const _0x34bb21=_0x26a7d9;_0x4459c8[_0x34bb21(0x12c)]==this[_0x34bb21(0x142)][_0x34bb21(0x137)][_0x34bb21(0x14e)]&&(this[_0x34bb21(0x143)](),_0x4714c3());});}[_0x461e38(0x130)](){const _0x2c7885=_0x461e38,_0x53e29e=new _0x3af624(this[_0x2c7885(0x13e)]),_0x12ae12=this[_0x2c7885(0x13e)];return _0x53e29e[_0x2c7885(0x13d)]({'icon':_0x4b9e8c,'label':_0x1f846b(_0x12ae12,_0x2c7885(0x14f)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2c7885(0x15d)}),_0x53e29e['on'](_0x2c7885(0x135),()=>{const _0x1df0b9=_0x2c7885;this[_0x1df0b9(0x143)]();}),_0x53e29e[_0x2c7885(0x12b)](_0x2c7885(0x127))['to'](this[_0x2c7885(0x142)][_0x2c7885(0x137)],_0x2c7885(0x154),this,_0x2c7885(0x127),(_0x20860a,_0x3f2b76)=>!_0x20860a&&_0x3f2b76),_0x53e29e;}[_0x461e38(0x14c)](){const _0x47510d=_0x461e38,_0x5ca435=new _0x3af624(this[_0x47510d(0x13e)]),_0x447fda=this[_0x47510d(0x12f)],_0x46153d=this[_0x47510d(0x13e)];_0x5ca435[_0x47510d(0x13d)]({'label':_0x1f846b(_0x46153d,_0x47510d(0x124)),'withText':!0x1,'icon':_0x4e70fe,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x47510d(0x140)}),_0x5ca435[_0x47510d(0x12b)](_0x47510d(0x14d))['to'](_0x447fda,_0x47510d(0x13c)),_0x5ca435[_0x47510d(0x12b)](_0x47510d(0x127))['to'](this,_0x47510d(0x127)),_0x5ca435['on'](_0x47510d(0x135),()=>{const _0x1e42c6=_0x47510d;_0x447fda[_0x1e42c6(0x13c)]=!_0x447fda[_0x1e42c6(0x13c)],_0x447fda[_0x1e42c6(0x13c)]?this[_0x1e42c6(0x14a)][_0x1e42c6(0x158)]():this[_0x1e42c6(0x158)]();});const _0x57b05b=()=>{const _0xec1085=_0x47510d;_0x2e36db[_0xec1085(0x136)][_0xec1085(0x125)](()=>{const _0x3c7d1b=_0xec1085;if(_0x538252(this[_0x3c7d1b(0x14e)])){const _0x33c0e6=new _0x1d18c6(this[_0x3c7d1b(0x142)][_0x3c7d1b(0x137)][_0x3c7d1b(0x14e)]),_0x1c3cf0=_0x33c0e6[_0x3c7d1b(0x12a)],_0xa2de2=_0x3c7d1b(0x157)===_0x46153d[_0x3c7d1b(0x148)]?_0x3c7d1b(0x15c):_0x3c7d1b(0x152);_0x33c0e6[_0x3c7d1b(0x132)](),_0x5ca435[_0x3c7d1b(0x14e)][_0x3c7d1b(0x159)][_0xa2de2]=_0x1c3cf0-_0x33c0e6[_0x3c7d1b(0x12a)]+0x1+'px';}});};return this[_0x47510d(0x142)][_0x47510d(0x137)]['on'](_0x47510d(0x138),_0x57b05b),this['on'](_0x47510d(0x129),_0x57b05b),_0x5ca435;}[_0x461e38(0x143)](){const _0x4da83e=_0x461e38,_0x5678e1=this[_0x4da83e(0x142)][_0x4da83e(0x137)][_0x4da83e(0x14e)][_0x4da83e(0x15a)];this[_0x4da83e(0x151)](_0x4da83e(0x143),_0x5678e1);}[_0x461e38(0x158)](_0x3e8183){const _0x3050c9=_0x461e38;-0x1===_0x3e8183?this[_0x3050c9(0x13f)][_0x3050c9(0x133)]():this[_0x3050c9(0x13f)][_0x3050c9(0x139)]();}}
23
+ function _0x27cd(_0x5e96d9,_0x57ee4c){const _0x487415=_0x4874();return _0x27cd=function(_0x27cdda,_0x58aa3a){_0x27cdda=_0x27cdda-0x142;let _0x4d1123=_0x487415[_0x27cdda];return _0x4d1123;},_0x27cd(_0x5e96d9,_0x57ee4c);}const _0x23e152=_0x27cd;(function(_0x4acf5c,_0x6913e1){const _0x3edfa3=_0x27cd,_0x1e9cc2=_0x4acf5c();while(!![]){try{const _0x464565=parseInt(_0x3edfa3(0x15a))/0x1*(-parseInt(_0x3edfa3(0x145))/0x2)+-parseInt(_0x3edfa3(0x144))/0x3+-parseInt(_0x3edfa3(0x16b))/0x4*(-parseInt(_0x3edfa3(0x148))/0x5)+-parseInt(_0x3edfa3(0x15e))/0x6+-parseInt(_0x3edfa3(0x161))/0x7+parseInt(_0x3edfa3(0x14d))/0x8+parseInt(_0x3edfa3(0x154))/0x9*(parseInt(_0x3edfa3(0x163))/0xa);if(_0x464565===_0x6913e1)break;else _0x1e9cc2['push'](_0x1e9cc2['shift']());}catch(_0xc51409){_0x1e9cc2['push'](_0x1e9cc2['shift']());}}}(_0x4874,0x75c7a));import{Rect as _0x18a56c,global as _0x3d5a18,isVisible as _0x1e01b2}from'ckeditor5/src/utils.js';import{IconHistory as _0x154ed9,IconSubmit as _0x15fce1}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x58aa55,ButtonView as _0x710cc3}from'ckeditor5/src/ui.js';import{getTranslation as _0xbc266}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x58aa55{[_0x23e152(0x16c)];[_0x23e152(0x153)];constructor(_0x1e638d,_0x17ae81){const _0x2f0884=_0x23e152;super(_0x1e638d,_0x17ae81),this[_0x2f0884(0x16d)][_0x2f0884(0x15c)][_0x2f0884(0x168)]=0x1,this[_0x2f0884(0x16d)][_0x2f0884(0x15c)][_0x2f0884(0x14e)]=0x3,this[_0x2f0884(0x16c)]=this[_0x2f0884(0x16e)](),this[_0x2f0884(0x153)]=this[_0x2f0884(0x14b)](),this[_0x2f0884(0x149)][_0x2f0884(0x159)](this[_0x2f0884(0x153)],0x1),this[_0x2f0884(0x149)][_0x2f0884(0x159)](this[_0x2f0884(0x16c)]);}[_0x23e152(0x158)](){const _0x3d67f8=_0x23e152;super[_0x3d67f8(0x158)](),this[_0x3d67f8(0x16d)][_0x3d67f8(0x172)][_0x3d67f8(0x159)](this[_0x3d67f8(0x153)]),this[_0x3d67f8(0x178)][_0x3d67f8(0x159)](this[_0x3d67f8(0x16c)]),this[_0x3d67f8(0x15d)][_0x3d67f8(0x15f)](_0x3d67f8(0x169),(_0x2ac3f0,_0x35ab5c)=>{const _0x460050=_0x3d67f8;_0x2ac3f0[_0x460050(0x14f)]==this[_0x460050(0x16d)][_0x460050(0x15c)][_0x460050(0x177)]&&(this[_0x460050(0x151)](),_0x35ab5c());});}[_0x23e152(0x16e)](){const _0x176a43=_0x23e152,_0x3b3dd8=new _0x710cc3(this[_0x176a43(0x15b)]),_0x5d18b1=this[_0x176a43(0x15b)];return _0x3b3dd8[_0x176a43(0x15f)]({'icon':_0x15fce1,'label':_0xbc266(_0x5d18b1,_0x176a43(0x155)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x176a43(0x166)}),_0x3b3dd8['on'](_0x176a43(0x142),()=>{const _0x382fb7=_0x176a43;this[_0x382fb7(0x151)]();}),_0x3b3dd8[_0x176a43(0x17b)](_0x176a43(0x173))['to'](this[_0x176a43(0x16d)][_0x176a43(0x15c)],_0x176a43(0x179),this,_0x176a43(0x173),(_0x12981e,_0x1658bf)=>!_0x12981e&&_0x1658bf),_0x3b3dd8;}[_0x23e152(0x14b)](){const _0x2f4c9e=_0x23e152,_0x54975e=new _0x710cc3(this[_0x2f4c9e(0x15b)]),_0x33babc=this[_0x2f4c9e(0x14a)],_0x446c60=this[_0x2f4c9e(0x15b)];_0x54975e[_0x2f4c9e(0x15f)]({'label':_0xbc266(_0x446c60,_0x2f4c9e(0x157)),'withText':!0x1,'icon':_0x154ed9,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2f4c9e(0x176)}),_0x54975e[_0x2f4c9e(0x17b)](_0x2f4c9e(0x164))['to'](_0x33babc,_0x2f4c9e(0x147)),_0x54975e[_0x2f4c9e(0x17b)](_0x2f4c9e(0x173))['to'](this,_0x2f4c9e(0x173)),_0x54975e['on'](_0x2f4c9e(0x142),()=>{const _0x3ff105=_0x2f4c9e;_0x33babc[_0x3ff105(0x147)]=!_0x33babc[_0x3ff105(0x147)],_0x33babc[_0x3ff105(0x147)]?this[_0x3ff105(0x143)][_0x3ff105(0x146)]():this[_0x3ff105(0x146)]();});const _0x442822=()=>{const _0x21b29d=_0x2f4c9e;_0x3d5a18[_0x21b29d(0x175)][_0x21b29d(0x170)](()=>{const _0x48da59=_0x21b29d;if(_0x1e01b2(this[_0x48da59(0x177)])){const _0x477eab=new _0x18a56c(this[_0x48da59(0x16d)][_0x48da59(0x15c)][_0x48da59(0x177)]),_0x5e64cf=_0x477eab[_0x48da59(0x162)],_0x1324da=_0x48da59(0x16f)===_0x446c60[_0x48da59(0x150)]?_0x48da59(0x156):_0x48da59(0x160);_0x477eab[_0x48da59(0x16a)](),_0x54975e[_0x48da59(0x177)][_0x48da59(0x14c)][_0x1324da]=_0x5e64cf-_0x477eab[_0x48da59(0x162)]+0x1+'px';}});};return this[_0x2f4c9e(0x16d)][_0x2f4c9e(0x15c)]['on'](_0x2f4c9e(0x165),_0x442822),this['on'](_0x2f4c9e(0x158),_0x442822),_0x54975e;}[_0x23e152(0x151)](){const _0xfeade7=_0x23e152,_0x548691=this[_0xfeade7(0x16d)][_0xfeade7(0x15c)][_0xfeade7(0x177)][_0xfeade7(0x174)];this[_0xfeade7(0x167)](_0xfeade7(0x151),_0x548691);}[_0x23e152(0x146)](_0x150144){const _0x2c515c=_0x23e152;-0x1===_0x150144?this[_0x2c515c(0x171)][_0x2c515c(0x17a)]():this[_0x2c515c(0x171)][_0x2c515c(0x152)]();}}function _0x4874(){const _0x47f63d=['add','50021CfQioP','locale','fieldView','keystrokes','2310918kCmUeg','set','right','4616969dlpuxE','width','20QZOQem','isOn','update','ck-ai-form__submit','fire','minRows','enter','excludeScrollbarsAndBorders','4HLgFmo','submitButtonView','queryView','_createSubmitButton','rtl','requestAnimationFrame','focusCycler','fieldWrapperChildren','isEnabled','value','window','ck-ai-form__toggle-history','element','children','isEmpty','focusLast','bind','execute','filteredView','2470194nWgjlP','38vAsTSb','focus','isVisible','2340095SdpcXe','focusableChildren','resultsView','_createShowHistoryButton','style','4367648BTlAAd','maxRows','target','uiLanguageDirection','submit','focusFirst','showHistoryButtonView','10291356yvveYa','Submit','left','History','render'];_0x4874=function(){return _0x47f63d;};return _0x4874();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x309ef3=_0x82b3;(function(_0x5b004f,_0x5dde5d){const _0x4b77f8=_0x82b3,_0x9aa6df=_0x5b004f();while(!![]){try{const _0x4ffe7e=parseInt(_0x4b77f8(0x187))/0x1+parseInt(_0x4b77f8(0x1a0))/0x2*(-parseInt(_0x4b77f8(0x195))/0x3)+-parseInt(_0x4b77f8(0x19b))/0x4*(parseInt(_0x4b77f8(0x18d))/0x5)+parseInt(_0x4b77f8(0x191))/0x6+-parseInt(_0x4b77f8(0x188))/0x7*(-parseInt(_0x4b77f8(0x1a8))/0x8)+-parseInt(_0x4b77f8(0x18f))/0x9+-parseInt(_0x4b77f8(0x185))/0xa*(-parseInt(_0x4b77f8(0x1a4))/0xb);if(_0x4ffe7e===_0x5dde5d)break;else _0x9aa6df['push'](_0x9aa6df['shift']());}catch(_0x579a24){_0x9aa6df['push'](_0x9aa6df['shift']());}}}(_0x1c96,0x59c0b));import{ToolbarView as _0x1bbd68,ButtonView as _0x11191a}from'ckeditor5/src/ui.js';function _0x1c96(){const _0x4ba117=['6NgPHhr','REPLACE','stopButton','locale','11aoPIxS','isVisible','bindTemplate','mainAction','35472vqWMwZ','replace','addMany','5535960SwgeqA','tryAgainButton','148716JFNPPq','987xmkUIM','set','_CONTENT','items','extendTemplate','139800VjxHvk','Try\x20again','6563367rNZOMU','insert','2026890ipVULx','_createButton','ck-hidden','ck-button-action','121071PJQQKO','AI_','replaceButton','label','toUpperCase','ck-ai-form__toolbar','64RoNMXc','Insert\x20below','Stop','bind','insertButton'];_0x1c96=function(){return _0x4ba117;};return _0x1c96();}import{getTranslation as _0x4dcd73}from'../../utils/common-translations.js';function _0x82b3(_0x22fb60,_0x13a9e2){const _0x1c961f=_0x1c96();return _0x82b3=function(_0x82b36b,_0x2a5088){_0x82b36b=_0x82b36b-0x184;let _0x971100=_0x1c961f[_0x82b36b];return _0x971100;},_0x82b3(_0x22fb60,_0x13a9e2);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x309ef3(0x1a9),'INSERT':_0x309ef3(0x190)};export class AIFormToolbarView extends _0x1bbd68{constructor(_0x1b41f7){const _0x81cdd6=_0x309ef3;super(_0x1b41f7),this[_0x81cdd6(0x189)](_0x81cdd6(0x1a5),!0x1),this[_0x81cdd6(0x189)](_0x81cdd6(0x1a7),AIFormToolbarViewMainActionLabel[_0x81cdd6(0x1a1)]),this[_0x81cdd6(0x197)]=this[_0x81cdd6(0x192)]('',_0x81cdd6(0x194)),this[_0x81cdd6(0x197)][_0x81cdd6(0x19e)](_0x81cdd6(0x198))['to'](this,_0x81cdd6(0x1a7),_0x35bf27=>_0x4dcd73(_0x1b41f7,_0x81cdd6(0x196)+_0x35bf27[_0x81cdd6(0x199)]()+_0x81cdd6(0x18a))),this[_0x81cdd6(0x19f)]=this[_0x81cdd6(0x192)](_0x4dcd73(_0x1b41f7,_0x81cdd6(0x19c))),this[_0x81cdd6(0x186)]=this[_0x81cdd6(0x192)](_0x4dcd73(_0x1b41f7,_0x81cdd6(0x18e))),this[_0x81cdd6(0x1a2)]=this[_0x81cdd6(0x192)](_0x4dcd73(_0x1b41f7,_0x81cdd6(0x19d)));const _0x2feeca=this[_0x81cdd6(0x1a6)];this[_0x81cdd6(0x18c)]({'attributes':{'class':[_0x81cdd6(0x19a),_0x2feeca['if'](_0x81cdd6(0x1a5),_0x81cdd6(0x193),_0x19e436=>!_0x19e436)]}}),this[_0x81cdd6(0x18b)][_0x81cdd6(0x184)]([this[_0x81cdd6(0x197)],this[_0x81cdd6(0x19f)],this[_0x81cdd6(0x186)],this[_0x81cdd6(0x1a2)]]);}[_0x309ef3(0x192)](_0x426292,_0x21a6e0){const _0x469d05=_0x309ef3,_0xecd204=new _0x11191a(this[_0x469d05(0x1a3)]);return _0xecd204[_0x469d05(0x189)]({'label':_0x426292,'class':_0x21a6e0||'','isVisible':!0x0,'withText':!0x0}),_0xecd204;}}
23
+ const _0x3b4b63=_0x5206;(function(_0xd1c33c,_0x585b50){const _0x235441=_0x5206,_0x44cebb=_0xd1c33c();while(!![]){try{const _0x3b6ac2=-parseInt(_0x235441(0x1f3))/0x1*(parseInt(_0x235441(0x1f0))/0x2)+parseInt(_0x235441(0x1fe))/0x3*(-parseInt(_0x235441(0x205))/0x4)+-parseInt(_0x235441(0x1fa))/0x5*(-parseInt(_0x235441(0x20c))/0x6)+parseInt(_0x235441(0x201))/0x7+-parseInt(_0x235441(0x1ff))/0x8+-parseInt(_0x235441(0x1fb))/0x9*(parseInt(_0x235441(0x203))/0xa)+parseInt(_0x235441(0x1ee))/0xb*(parseInt(_0x235441(0x1ed))/0xc);if(_0x3b6ac2===_0x585b50)break;else _0x44cebb['push'](_0x44cebb['shift']());}catch(_0x1e5bcf){_0x44cebb['push'](_0x44cebb['shift']());}}}(_0x2ae0,0x85ca7));import{ToolbarView as _0x588e34,ButtonView as _0x1fa8ec}from'ckeditor5/src/ui.js';import{getTranslation as _0x21ff11}from'../../utils/common-translations.js';function _0x5206(_0x45e01b,_0x4e0b24){const _0x2ae0fb=_0x2ae0();return _0x5206=function(_0x52065c,_0x273243){_0x52065c=_0x52065c-0x1ea;let _0x273844=_0x2ae0fb[_0x52065c];return _0x273844;},_0x5206(_0x45e01b,_0x4e0b24);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3b4b63(0x202),'INSERT':_0x3b4b63(0x1ec)};function _0x2ae0(){const _0x3c0ec6=['mainAction','ck-ai-form__toolbar','insertButton','set','24cwoovR','bind','label','Insert\x20below','items','addMany','ck-hidden','insert','984OwOMje','301851mMPmmS','_createButton','188318zcnsay','extendTemplate','stopButton','6lgGRJV','AI_','Try\x20again','REPLACE','replaceButton','isVisible','tryAgainButton','336685huROba','6062157fxIOrm','bindTemplate','ck-button-action','1299QCMjrS','4659632VTYGUI','locale','4323340MRQkAM','replace','10bMRmDK','_CONTENT','7096nQyqrY','Stop','toUpperCase'];_0x2ae0=function(){return _0x3c0ec6;};return _0x2ae0();}export class AIFormToolbarView extends _0x588e34{constructor(_0x55cc43){const _0x34f5f=_0x3b4b63;super(_0x55cc43),this[_0x34f5f(0x20b)](_0x34f5f(0x1f8),!0x1),this[_0x34f5f(0x20b)](_0x34f5f(0x208),AIFormToolbarViewMainActionLabel[_0x34f5f(0x1f6)]),this[_0x34f5f(0x1f7)]=this[_0x34f5f(0x1ef)]('',_0x34f5f(0x1fd)),this[_0x34f5f(0x1f7)][_0x34f5f(0x20d)](_0x34f5f(0x20e))['to'](this,_0x34f5f(0x208),_0x3f5b82=>_0x21ff11(_0x55cc43,_0x34f5f(0x1f4)+_0x3f5b82[_0x34f5f(0x207)]()+_0x34f5f(0x204))),this[_0x34f5f(0x20a)]=this[_0x34f5f(0x1ef)](_0x21ff11(_0x55cc43,_0x34f5f(0x20f))),this[_0x34f5f(0x1f9)]=this[_0x34f5f(0x1ef)](_0x21ff11(_0x55cc43,_0x34f5f(0x1f5))),this[_0x34f5f(0x1f2)]=this[_0x34f5f(0x1ef)](_0x21ff11(_0x55cc43,_0x34f5f(0x206)));const _0x396ab1=this[_0x34f5f(0x1fc)];this[_0x34f5f(0x1f1)]({'attributes':{'class':[_0x34f5f(0x209),_0x396ab1['if'](_0x34f5f(0x1f8),_0x34f5f(0x1eb),_0x4886d4=>!_0x4886d4)]}}),this[_0x34f5f(0x210)][_0x34f5f(0x1ea)]([this[_0x34f5f(0x1f7)],this[_0x34f5f(0x20a)],this[_0x34f5f(0x1f9)],this[_0x34f5f(0x1f2)]]);}[_0x3b4b63(0x1ef)](_0x400d96,_0x4af550){const _0x533b40=_0x3b4b63,_0x5be602=new _0x1fa8ec(this[_0x533b40(0x200)]);return _0x5be602[_0x533b40(0x20b)]({'label':_0x400d96,'class':_0x4af550||'','isVisible':!0x0,'withText':!0x0}),_0x5be602;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3abafc=_0x4858;(function(_0x17f056,_0x344689){const _0x1731c4=_0x4858,_0x5d20e8=_0x17f056();while(!![]){try{const _0xa1acff=-parseInt(_0x1731c4(0x10f))/0x1+parseInt(_0x1731c4(0x122))/0x2+parseInt(_0x1731c4(0x11c))/0x3+-parseInt(_0x1731c4(0x146))/0x4+parseInt(_0x1731c4(0x11b))/0x5+-parseInt(_0x1731c4(0x100))/0x6*(-parseInt(_0x1731c4(0x120))/0x7)+-parseInt(_0x1731c4(0x12f))/0x8*(parseInt(_0x1731c4(0x126))/0x9);if(_0xa1acff===_0x344689)break;else _0x5d20e8['push'](_0x5d20e8['shift']());}catch(_0x5796e9){_0x5d20e8['push'](_0x5d20e8['shift']());}}}(_0x6fa4,0xf13cd));import{FocusTracker as _0x2dec48,KeystrokeHandler as _0x44fee8}from'ckeditor5/src/utils.js';import{View as _0x1b2dda,FocusCycler as _0x29bd56,createLabeledTextarea as _0x1f0ce3}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x3e8bab,AIFormToolbarViewMainActionLabel as _0x9e6835}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x5375a0}from'./aiformcontentarea.js';import{AIFormErrorView as _0x13c1e6}from'./aiformerrorview.js';import{AIFormPromptView as _0x3a055a}from'./aiformpromptview.js';import{AIHistoryListView as _0x299039}from'./aihistorylistview.js';function _0x4858(_0x5122ac,_0x7be412){const _0x6fa40a=_0x6fa4();return _0x4858=function(_0x48583f,_0x147e48){_0x48583f=_0x48583f-0xfa;let _0x3e3079=_0x6fa40a[_0x48583f];return _0x3e3079;},_0x4858(_0x5122ac,_0x7be412);}import{AIHistoryListItemView as _0x12e664}from'./aihistorylistitemview.js';import{PromptHistory as _0x5bf6cb}from'./prompthistory.js';import{getTranslation as _0x5b2fc1}from'../../utils/common-translations.js';function _0x6fa4(){const _0x213191=['_createPromptView','_focusables','label','insertContentBelow','fire','focus','listenTo','clear','high','items','value','reset','ck-ai-form','submit','265575anFiaP','submitPrompt','bindTemplate','focusTracker','handleError','finishProcessing','locale','isError','div','focusLast','Empty\x20history','execute','4207790QpjPwh','4777929JyWKTV','element','toolbar','ck-hidden','7ffpyNO','search','3709638NsIGUm','isProcessing','isVisible','ck-ai-form-content','31756707suxGxk','tryAgainButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','queryView','stopButton','tryAgainEvent','contentArea','_promptHistory','insertButton','8zKkUSr','createCollection','replaceContent','prompt','isEnabled','AI_ERROR_FAILED','delegate','replaceButton','focusFirst','promptView','trim','keystrokes','shift\x20+\x20tab','errorView','_createToolbar','tab','focusCycler','_createHistoryView','setTemplate','add','copyButtonView','fieldView','stopProcessing','2805656vREkhQ','text','startProcessing','render','bind','Ask\x20AI\x20to\x20edit\x20or\x20generate','chain','bindTo','mainAction','set','clearHistory','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','historyGroupView','REPLACE','7167606iQsAEv'];_0x6fa4=function(){return _0x213191;};return _0x6fa4();}import{escape as _0xb3e930}from'es-toolkit/compat';export class AIFormView extends _0x1b2dda{[_0x3abafc(0x112)];[_0x3abafc(0x13a)];[_0x3abafc(0x12c)];[_0x3abafc(0x11e)];[_0x3abafc(0x138)];[_0x3abafc(0x13c)];[_0x3abafc(0x102)];[_0x3abafc(0x13f)];[_0x3abafc(0x12d)];constructor(_0x344bdf,_0x13cbf7,_0x3d0ff1=''){const _0x5debf8=_0x3abafc;super(_0x344bdf),this[_0x5debf8(0xfb)](_0x5debf8(0x133),!0x0),this[_0x5debf8(0xfb)](_0x5debf8(0x123),!0x1),this[_0x5debf8(0xfb)](_0x5debf8(0x132),''),this[_0x5debf8(0xfb)](_0x5debf8(0x10b),''),this[_0x5debf8(0xfb)](_0x5debf8(0x116),!0x1),this[_0x5debf8(0xfb)](_0x5debf8(0xfa),_0x9e6835[_0x5debf8(0xff)]),this[_0x5debf8(0x12d)]=new _0x5bf6cb(),this[_0x5debf8(0x13c)]=new _0x13c1e6(_0x344bdf),this[_0x5debf8(0x12c)]=new _0x5375a0(_0x344bdf,_0x3d0ff1),this[_0x5debf8(0x12c)][_0x5debf8(0x14a)](_0x5debf8(0x123))['to'](this),this[_0x5debf8(0x12c)][_0x5debf8(0x14a)](_0x5debf8(0x10b))['to'](this),this[_0x5debf8(0x11e)]=this[_0x5debf8(0x13d)](),this[_0x5debf8(0x11e)][_0x5debf8(0x14a)](_0x5debf8(0xfa))['to'](this),this[_0x5debf8(0x138)]=this[_0x5debf8(0x101)](),this[_0x5debf8(0x112)]=new _0x2dec48(),this[_0x5debf8(0x13a)]=new _0x44fee8(),this[_0x5debf8(0x102)]=this[_0x5debf8(0x130)]([this[_0x5debf8(0x12c)],this[_0x5debf8(0x12c)][_0x5debf8(0x143)],this[_0x5debf8(0x11e)],this[_0x5debf8(0x138)]]),this[_0x5debf8(0x13f)]=new _0x29bd56({'focusables':this[_0x5debf8(0x102)],'focusTracker':this[_0x5debf8(0x112)],'keystrokeHandler':this[_0x5debf8(0x13a)],'actions':{'focusPrevious':_0x5debf8(0x13b),'focusNext':_0x5debf8(0x13e)}}),this[_0x5debf8(0x13f)][_0x5debf8(0x14c)](this[_0x5debf8(0x138)][_0x5debf8(0x13f)]),this[_0x5debf8(0x138)][_0x5debf8(0x129)][_0x5debf8(0x144)][_0x5debf8(0x14a)](_0x5debf8(0x10b))['to'](this,_0x5debf8(0x132));const _0x16aa14=this[_0x5debf8(0x111)];this[_0x5debf8(0x141)]({'tag':_0x5debf8(0x117),'attributes':{'class':['ck',_0x5debf8(0x10d),_0x13cbf7],'tabindex':'-1'},'children':[{'tag':_0x5debf8(0x117),'attributes':{'class':['ck',_0x5debf8(0x125)]},'children':[{'tag':_0x5debf8(0x117),'attributes':{'class':[_0x16aa14['if'](_0x5debf8(0x116),_0x5debf8(0x11f),_0x45356e=>!_0x45356e)]},'children':[this[_0x5debf8(0x13c)]]},this[_0x5debf8(0x12c)],this[_0x5debf8(0x11e)],this[_0x5debf8(0x138)]]}]});}[_0x3abafc(0x149)](){const _0x5f90de=_0x3abafc;super[_0x5f90de(0x149)](),this[_0x5f90de(0x112)][_0x5f90de(0x142)](this[_0x5f90de(0x12c)][_0x5f90de(0x11d)]),this[_0x5f90de(0x112)][_0x5f90de(0x142)](this[_0x5f90de(0x12c)][_0x5f90de(0x143)][_0x5f90de(0x11d)]),this[_0x5f90de(0x112)][_0x5f90de(0x142)](this[_0x5f90de(0x11e)][_0x5f90de(0x11d)]),this[_0x5f90de(0x112)][_0x5f90de(0x142)](this[_0x5f90de(0x138)][_0x5f90de(0x11d)]),this[_0x5f90de(0x13a)][_0x5f90de(0x107)](this[_0x5f90de(0x11d)]);}[_0x3abafc(0x106)](_0x1923d4=0x1){const _0x9bd358=_0x3abafc;-0x1===_0x1923d4?this[_0x9bd358(0x13f)][_0x9bd358(0x118)]():this[_0x9bd358(0x13f)][_0x9bd358(0x137)]();}[_0x3abafc(0x10c)](){const _0x450160=_0x3abafc;this[_0x450160(0x132)]='',this[_0x450160(0x10b)]='',this[_0x450160(0x116)]=!0x1,this[_0x450160(0x138)][_0x450160(0x10c)](),this[_0x450160(0x12c)][_0x450160(0x124)]=!0x1,this[_0x450160(0x11e)][_0x450160(0x124)]=!0x1;}[_0x3abafc(0x101)](){const _0x4c0aa5=_0x3abafc,_0x5ed97f=this[_0x4c0aa5(0x115)],_0x2405b1=new _0x3a055a(_0x5ed97f,{'queryView':{'label':_0x5b2fc1(_0x5ed97f,_0x4c0aa5(0x14b)),'creator':_0x1f0ce3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5b2fc1(_0x5ed97f,_0x4c0aa5(0x119)),'secondary':_0x5b2fc1(_0x5ed97f,_0x4c0aa5(0xfd))}}},'filteredView':this[_0x4c0aa5(0x140)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2405b1[_0x4c0aa5(0x14a)](_0x4c0aa5(0x133))['to'](this,_0x4c0aa5(0x133),this,_0x4c0aa5(0x123),(_0x54b973,_0x7a11ac)=>_0x54b973&&!_0x7a11ac),this[_0x4c0aa5(0x107)](_0x2405b1,_0x4c0aa5(0x10e),(_0x2e41de,_0x51c323)=>{const _0x3f3d64=_0x4c0aa5;this[_0x3f3d64(0x132)]=_0x51c323;const _0x5a7325=_0xb3e930(_0x51c323);this[_0x3f3d64(0x105)](_0x3f3d64(0x110),_0x5a7325),_0x51c323[_0x3f3d64(0x139)]()&&this[_0x3f3d64(0x12d)][_0x3f3d64(0x142)]({'prompt':_0x5a7325},0x0);},{'priority':_0x4c0aa5(0x109)}),_0x2405b1;}[_0x3abafc(0x140)](){const _0xf16e2d=_0x3abafc,_0x190bce=new _0x299039(this[_0xf16e2d(0x115)]);return _0x190bce[_0xf16e2d(0xfe)][_0xf16e2d(0x10a)][_0xf16e2d(0x14d)](this[_0xf16e2d(0x12d)])['as'](_0x12e664),_0x190bce['on'](_0xf16e2d(0xfc),()=>{const _0x129b62=_0xf16e2d;this[_0x129b62(0x12d)][_0x129b62(0x108)](),this[_0x129b62(0x138)][_0x129b62(0x121)](''),this[_0x129b62(0x138)][_0x129b62(0x106)]();}),_0x190bce;}[_0x3abafc(0x13d)](){const _0x53e3f6=_0x3abafc,_0x484083=new _0x3e8bab(this[_0x53e3f6(0x115)]);return _0x484083[_0x53e3f6(0x136)][_0x53e3f6(0x14a)](_0x53e3f6(0x133))['to'](this,_0x53e3f6(0x133),this,_0x53e3f6(0x123),this,_0x53e3f6(0x10b),(_0x2ff201,_0x534b04,_0x579b59)=>_0x2ff201&&!_0x534b04&&!!_0x579b59),_0x484083[_0x53e3f6(0x136)][_0x53e3f6(0x135)](_0x53e3f6(0x11a))['to'](this,_0x53e3f6(0x131)),_0x484083[_0x53e3f6(0x12e)][_0x53e3f6(0x14a)](_0x53e3f6(0x133))['to'](this,_0x53e3f6(0x133),this,_0x53e3f6(0x123),this,_0x53e3f6(0x10b),(_0x10342e,_0x4a649e,_0x2d6325)=>_0x10342e&&!_0x4a649e&&!!_0x2d6325),_0x484083[_0x53e3f6(0x12e)][_0x53e3f6(0x135)](_0x53e3f6(0x11a))['to'](this,_0x53e3f6(0x104)),_0x484083[_0x53e3f6(0x127)][_0x53e3f6(0x14a)](_0x53e3f6(0x133))['to'](this,_0x53e3f6(0x133),this,_0x53e3f6(0x123),(_0x4cf186,_0x325725)=>_0x4cf186&&!_0x325725),_0x484083[_0x53e3f6(0x127)][_0x53e3f6(0x135)](_0x53e3f6(0x11a))['to'](this,_0x53e3f6(0x12b)),_0x484083[_0x53e3f6(0x12a)][_0x53e3f6(0x14a)](_0x53e3f6(0x133))['to'](this,_0x53e3f6(0x123)),_0x484083[_0x53e3f6(0x12a)][_0x53e3f6(0x135)](_0x53e3f6(0x11a))['to'](this,_0x53e3f6(0x145)),_0x484083;}[_0x3abafc(0x148)](){const _0x3e3152=_0x3abafc;this[_0x3e3152(0x10b)]='',this[_0x3e3152(0x116)]=!0x1,this[_0x3e3152(0x123)]=!0x0,this[_0x3e3152(0x12c)][_0x3e3152(0x124)]=!0x0,this[_0x3e3152(0x11e)][_0x3e3152(0x124)]=!0x0,this[_0x3e3152(0x12c)][_0x3e3152(0x106)]();}[_0x3abafc(0x114)](){const _0x4bee3d=_0x3abafc,_0x4ea31e=this[_0x4bee3d(0x115)];this[_0x4bee3d(0x123)]=!0x1,this[_0x4bee3d(0x132)]='',this[_0x4bee3d(0x138)][_0x4bee3d(0x10c)](),this[_0x4bee3d(0x10b)]&&(this[_0x4bee3d(0x138)][_0x4bee3d(0x129)][_0x4bee3d(0x103)]=_0x5b2fc1(_0x4ea31e,_0x4bee3d(0x128)));}[_0x3abafc(0x113)](_0xac6376){const _0x72d6f5=_0x3abafc,_0x2e3d31=this[_0x72d6f5(0x115)];this[_0x72d6f5(0x114)](),this[_0x72d6f5(0x116)]=!0x0,this[_0x72d6f5(0x13c)][_0x72d6f5(0x147)]=_0xac6376||_0x5b2fc1(_0x2e3d31,_0x72d6f5(0x134)),this[_0x72d6f5(0x10b)]||(this[_0x72d6f5(0x12c)][_0x72d6f5(0x124)]=!0x1);}}
23
+ const _0x2e4df5=_0xebb8;(function(_0x39bea6,_0x7000c9){const _0x34eec6=_0xebb8,_0x4392e5=_0x39bea6();while(!![]){try{const _0x5420b1=-parseInt(_0x34eec6(0x23f))/0x1*(-parseInt(_0x34eec6(0x1fc))/0x2)+parseInt(_0x34eec6(0x1f8))/0x3*(-parseInt(_0x34eec6(0x22f))/0x4)+parseInt(_0x34eec6(0x23d))/0x5+-parseInt(_0x34eec6(0x21e))/0x6+-parseInt(_0x34eec6(0x21b))/0x7*(parseInt(_0x34eec6(0x1fb))/0x8)+-parseInt(_0x34eec6(0x244))/0x9*(-parseInt(_0x34eec6(0x224))/0xa)+parseInt(_0x34eec6(0x238))/0xb*(-parseInt(_0x34eec6(0x21c))/0xc);if(_0x5420b1===_0x7000c9)break;else _0x4392e5['push'](_0x4392e5['shift']());}catch(_0x576370){_0x4392e5['push'](_0x4392e5['shift']());}}}(_0x4f06,0xc65a6));import{FocusTracker as _0x102c06,KeystrokeHandler as _0x34d1cf}from'ckeditor5/src/utils.js';import{View as _0x5961ed,FocusCycler as _0x5bd0aa,createLabeledTextarea as _0x9b9ecf}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x1d212d,AIFormToolbarViewMainActionLabel as _0x46a6c2}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x4a45ef}from'./aiformcontentarea.js';import{AIFormErrorView as _0x558c05}from'./aiformerrorview.js';import{AIFormPromptView as _0x41e045}from'./aiformpromptview.js';import{AIHistoryListView as _0x14d351}from'./aihistorylistview.js';function _0xebb8(_0xb103f7,_0x1d650e){const _0x4f065e=_0x4f06();return _0xebb8=function(_0xebb88f,_0x46749a){_0xebb88f=_0xebb88f-0x1f2;let _0x34afa9=_0x4f065e[_0xebb88f];return _0x34afa9;},_0xebb8(_0xb103f7,_0x1d650e);}import{AIHistoryListItemView as _0x6d3e4c}from'./aihistorylistitemview.js';import{PromptHistory as _0x5b1db0}from'./prompthistory.js';function _0x4f06(){const _0x1c18ad=['4824qmyQvI','1341698VbUbMo','ck-hidden','errorView','_createHistoryView','value','mainAction','search','chain','keystrokes','replaceContent','submit','submitPrompt','_promptHistory','isEnabled','prompt','_focusables','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','listenTo','delegate','clear','trim','items','toolbar','focusCycler','focusFirst','contentArea','render','stopButton','_createPromptView','tryAgainButton','createCollection','8792PSFTSj','12jPChTF','_createToolbar','1557450tfZPKk','Ask\x20AI\x20to\x20improve\x20generated\x20text','ck-ai-form-content','focus','reset','copyButtonView','761340XyNMXE','insertButton','set','Ask\x20AI\x20to\x20edit\x20or\x20generate','finishProcessing','insertContentBelow','high','bindTemplate','clearHistory','isVisible','focusLast','492TRDyol','locale','add','promptView','focusTracker','isError','text','tryAgainEvent','execute','11042658QoRtEn','label','setTemplate','div','AI_ERROR_FAILED','4328420uBdgCb','fieldView','2rnLWWM','stopProcessing','historyGroupView','startProcessing','tab','162eCGSBE','REPLACE','element','isProcessing','shift\x20+\x20tab','Empty\x20history','fire','replaceButton','bind','handleError','ck-ai-form','18159KCaweu','bindTo','queryView'];_0x4f06=function(){return _0x1c18ad;};return _0x4f06();}import{getTranslation as _0x3062e3}from'../../utils/common-translations.js';import{escape as _0x113a0e}from'es-toolkit/compat';export class AIFormView extends _0x5961ed{[_0x2e4df5(0x233)];[_0x2e4df5(0x204)];[_0x2e4df5(0x215)];[_0x2e4df5(0x212)];[_0x2e4df5(0x232)];[_0x2e4df5(0x1fe)];[_0x2e4df5(0x20b)];[_0x2e4df5(0x213)];[_0x2e4df5(0x208)];constructor(_0x5022b0,_0x506a34,_0x8f8af5=''){const _0x50ee3c=_0x2e4df5;super(_0x5022b0),this[_0x50ee3c(0x226)](_0x50ee3c(0x209),!0x0),this[_0x50ee3c(0x226)](_0x50ee3c(0x247),!0x1),this[_0x50ee3c(0x226)](_0x50ee3c(0x20a),''),this[_0x50ee3c(0x226)](_0x50ee3c(0x200),''),this[_0x50ee3c(0x226)](_0x50ee3c(0x234),!0x1),this[_0x50ee3c(0x226)](_0x50ee3c(0x201),_0x46a6c2[_0x50ee3c(0x245)]),this[_0x50ee3c(0x208)]=new _0x5b1db0(),this[_0x50ee3c(0x1fe)]=new _0x558c05(_0x5022b0),this[_0x50ee3c(0x215)]=new _0x4a45ef(_0x5022b0,_0x8f8af5),this[_0x50ee3c(0x215)][_0x50ee3c(0x1f5)](_0x50ee3c(0x247))['to'](this),this[_0x50ee3c(0x215)][_0x50ee3c(0x1f5)](_0x50ee3c(0x200))['to'](this),this[_0x50ee3c(0x212)]=this[_0x50ee3c(0x21d)](),this[_0x50ee3c(0x212)][_0x50ee3c(0x1f5)](_0x50ee3c(0x201))['to'](this),this[_0x50ee3c(0x232)]=this[_0x50ee3c(0x218)](),this[_0x50ee3c(0x233)]=new _0x102c06(),this[_0x50ee3c(0x204)]=new _0x34d1cf(),this[_0x50ee3c(0x20b)]=this[_0x50ee3c(0x21a)]([this[_0x50ee3c(0x215)],this[_0x50ee3c(0x215)][_0x50ee3c(0x223)],this[_0x50ee3c(0x212)],this[_0x50ee3c(0x232)]]),this[_0x50ee3c(0x213)]=new _0x5bd0aa({'focusables':this[_0x50ee3c(0x20b)],'focusTracker':this[_0x50ee3c(0x233)],'keystrokeHandler':this[_0x50ee3c(0x204)],'actions':{'focusPrevious':_0x50ee3c(0x248),'focusNext':_0x50ee3c(0x243)}}),this[_0x50ee3c(0x213)][_0x50ee3c(0x203)](this[_0x50ee3c(0x232)][_0x50ee3c(0x213)]),this[_0x50ee3c(0x232)][_0x50ee3c(0x1fa)][_0x50ee3c(0x23e)][_0x50ee3c(0x1f5)](_0x50ee3c(0x200))['to'](this,_0x50ee3c(0x20a));const _0xad8a22=this[_0x50ee3c(0x22b)];this[_0x50ee3c(0x23a)]({'tag':_0x50ee3c(0x23b),'attributes':{'class':['ck',_0x50ee3c(0x1f7),_0x506a34],'tabindex':'-1'},'children':[{'tag':_0x50ee3c(0x23b),'attributes':{'class':['ck',_0x50ee3c(0x220)]},'children':[{'tag':_0x50ee3c(0x23b),'attributes':{'class':[_0xad8a22['if'](_0x50ee3c(0x234),_0x50ee3c(0x1fd),_0x1c3c88=>!_0x1c3c88)]},'children':[this[_0x50ee3c(0x1fe)]]},this[_0x50ee3c(0x215)],this[_0x50ee3c(0x212)],this[_0x50ee3c(0x232)]]}]});}[_0x2e4df5(0x216)](){const _0x53bb8d=_0x2e4df5;super[_0x53bb8d(0x216)](),this[_0x53bb8d(0x233)][_0x53bb8d(0x231)](this[_0x53bb8d(0x215)][_0x53bb8d(0x246)]),this[_0x53bb8d(0x233)][_0x53bb8d(0x231)](this[_0x53bb8d(0x215)][_0x53bb8d(0x223)][_0x53bb8d(0x246)]),this[_0x53bb8d(0x233)][_0x53bb8d(0x231)](this[_0x53bb8d(0x212)][_0x53bb8d(0x246)]),this[_0x53bb8d(0x233)][_0x53bb8d(0x231)](this[_0x53bb8d(0x232)][_0x53bb8d(0x246)]),this[_0x53bb8d(0x204)][_0x53bb8d(0x20d)](this[_0x53bb8d(0x246)]);}[_0x2e4df5(0x221)](_0x15dd5e=0x1){const _0x5f575e=_0x2e4df5;-0x1===_0x15dd5e?this[_0x5f575e(0x213)][_0x5f575e(0x22e)]():this[_0x5f575e(0x213)][_0x5f575e(0x214)]();}[_0x2e4df5(0x222)](){const _0x4bbd52=_0x2e4df5;this[_0x4bbd52(0x20a)]='',this[_0x4bbd52(0x200)]='',this[_0x4bbd52(0x234)]=!0x1,this[_0x4bbd52(0x232)][_0x4bbd52(0x222)](),this[_0x4bbd52(0x215)][_0x4bbd52(0x22d)]=!0x1,this[_0x4bbd52(0x212)][_0x4bbd52(0x22d)]=!0x1;}[_0x2e4df5(0x218)](){const _0x3aaaed=_0x2e4df5,_0x10034d=this[_0x3aaaed(0x230)],_0x436569=new _0x41e045(_0x10034d,{'queryView':{'label':_0x3062e3(_0x10034d,_0x3aaaed(0x227)),'creator':_0x9b9ecf,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3062e3(_0x10034d,_0x3aaaed(0x1f2)),'secondary':_0x3062e3(_0x10034d,_0x3aaaed(0x20c))}}},'filteredView':this[_0x3aaaed(0x1ff)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x436569[_0x3aaaed(0x1f5)](_0x3aaaed(0x209))['to'](this,_0x3aaaed(0x209),this,_0x3aaaed(0x247),(_0x3e67a9,_0x14ef4e)=>_0x3e67a9&&!_0x14ef4e),this[_0x3aaaed(0x20d)](_0x436569,_0x3aaaed(0x206),(_0x9b03e0,_0x145790)=>{const _0x171822=_0x3aaaed;this[_0x171822(0x20a)]=_0x145790;const _0x1266a6=_0x113a0e(_0x145790);this[_0x171822(0x1f3)](_0x171822(0x207),_0x1266a6),_0x145790[_0x171822(0x210)]()&&this[_0x171822(0x208)][_0x171822(0x231)]({'prompt':_0x1266a6},0x0);},{'priority':_0x3aaaed(0x22a)}),_0x436569;}[_0x2e4df5(0x1ff)](){const _0x314a99=_0x2e4df5,_0x111796=new _0x14d351(this[_0x314a99(0x230)]);return _0x111796[_0x314a99(0x241)][_0x314a99(0x211)][_0x314a99(0x1f9)](this[_0x314a99(0x208)])['as'](_0x6d3e4c),_0x111796['on'](_0x314a99(0x22c),()=>{const _0x426c43=_0x314a99;this[_0x426c43(0x208)][_0x426c43(0x20f)](),this[_0x426c43(0x232)][_0x426c43(0x202)](''),this[_0x426c43(0x232)][_0x426c43(0x221)]();}),_0x111796;}[_0x2e4df5(0x21d)](){const _0x707323=_0x2e4df5,_0x76499f=new _0x1d212d(this[_0x707323(0x230)]);return _0x76499f[_0x707323(0x1f4)][_0x707323(0x1f5)](_0x707323(0x209))['to'](this,_0x707323(0x209),this,_0x707323(0x247),this,_0x707323(0x200),(_0x1e807c,_0x10b5a9,_0xb2a204)=>_0x1e807c&&!_0x10b5a9&&!!_0xb2a204),_0x76499f[_0x707323(0x1f4)][_0x707323(0x20e)](_0x707323(0x237))['to'](this,_0x707323(0x205)),_0x76499f[_0x707323(0x225)][_0x707323(0x1f5)](_0x707323(0x209))['to'](this,_0x707323(0x209),this,_0x707323(0x247),this,_0x707323(0x200),(_0x5012ab,_0x4beb7e,_0x9ac87f)=>_0x5012ab&&!_0x4beb7e&&!!_0x9ac87f),_0x76499f[_0x707323(0x225)][_0x707323(0x20e)](_0x707323(0x237))['to'](this,_0x707323(0x229)),_0x76499f[_0x707323(0x219)][_0x707323(0x1f5)](_0x707323(0x209))['to'](this,_0x707323(0x209),this,_0x707323(0x247),(_0xfeb3c0,_0x230e25)=>_0xfeb3c0&&!_0x230e25),_0x76499f[_0x707323(0x219)][_0x707323(0x20e)](_0x707323(0x237))['to'](this,_0x707323(0x236)),_0x76499f[_0x707323(0x217)][_0x707323(0x1f5)](_0x707323(0x209))['to'](this,_0x707323(0x247)),_0x76499f[_0x707323(0x217)][_0x707323(0x20e)](_0x707323(0x237))['to'](this,_0x707323(0x240)),_0x76499f;}[_0x2e4df5(0x242)](){const _0x13fa99=_0x2e4df5;this[_0x13fa99(0x200)]='',this[_0x13fa99(0x234)]=!0x1,this[_0x13fa99(0x247)]=!0x0,this[_0x13fa99(0x215)][_0x13fa99(0x22d)]=!0x0,this[_0x13fa99(0x212)][_0x13fa99(0x22d)]=!0x0,this[_0x13fa99(0x215)][_0x13fa99(0x221)]();}[_0x2e4df5(0x228)](){const _0x41ebf7=_0x2e4df5,_0x1e5d00=this[_0x41ebf7(0x230)];this[_0x41ebf7(0x247)]=!0x1,this[_0x41ebf7(0x20a)]='',this[_0x41ebf7(0x232)][_0x41ebf7(0x222)](),this[_0x41ebf7(0x200)]&&(this[_0x41ebf7(0x232)][_0x41ebf7(0x1fa)][_0x41ebf7(0x239)]=_0x3062e3(_0x1e5d00,_0x41ebf7(0x21f)));}[_0x2e4df5(0x1f6)](_0x5f3c7c){const _0x7db280=_0x2e4df5,_0xb6c0a=this[_0x7db280(0x230)];this[_0x7db280(0x228)](),this[_0x7db280(0x234)]=!0x0,this[_0x7db280(0x1fe)][_0x7db280(0x235)]=_0x5f3c7c||_0x3062e3(_0xb6c0a,_0x7db280(0x23c)),this[_0x7db280(0x200)]||(this[_0x7db280(0x215)][_0x7db280(0x22d)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x16b9f7,_0x11ded3){const _0x178bcc=_0x3512,_0x547dfb=_0x16b9f7();while(!![]){try{const _0x33f401=-parseInt(_0x178bcc(0x1c8))/0x1+-parseInt(_0x178bcc(0x1c4))/0x2+-parseInt(_0x178bcc(0x1c7))/0x3+parseInt(_0x178bcc(0x1c6))/0x4*(-parseInt(_0x178bcc(0x1ca))/0x5)+parseInt(_0x178bcc(0x1d1))/0x6+parseInt(_0x178bcc(0x1c9))/0x7*(parseInt(_0x178bcc(0x1cd))/0x8)+parseInt(_0x178bcc(0x1cb))/0x9;if(_0x33f401===_0x11ded3)break;else _0x547dfb['push'](_0x547dfb['shift']());}catch(_0x43d13a){_0x547dfb['push'](_0x547dfb['shift']());}}}(_0x115d,0xf0f85));import{ListItemView as _0x16122d,ButtonView as _0x44d4ab,ButtonLabelView as _0x5f54ce}from'ckeditor5/src/ui.js';import{unescape as _0x31c84e}from'es-toolkit/compat';function _0x3512(_0x2a7e42,_0x2e2f67){const _0x115d58=_0x115d();return _0x3512=function(_0x351204,_0x62ebbe){_0x351204=_0x351204-0x1c3;let _0x2bd72d=_0x115d58[_0x351204];return _0x2bd72d;},_0x3512(_0x2a7e42,_0x2e2f67);}export class AIHistoryListItemView extends _0x16122d{constructor(_0x10d92d){const _0x462d6a=_0x3512;super();const _0x549307=new _0x5f54ce(),_0x3e2c1d=new _0x44d4ab(this[_0x462d6a(0x1cf)],_0x549307);this[_0x462d6a(0x1cc)][_0x462d6a(0x1d0)](_0x3e2c1d),_0x3e2c1d[_0x462d6a(0x1ce)]({'label':_0x10d92d[_0x462d6a(0x1c5)],'withText':!0x0}),_0x3e2c1d['on'](_0x462d6a(0x1c3),()=>{const _0x32206d=_0x462d6a;this[_0x32206d(0x1d2)](_0x32206d(0x1c3),{'value':_0x31c84e(_0x10d92d[_0x32206d(0x1c5)])});});}}function _0x115d(){const _0x2d6bf4=['77296zxrSNf','4013679SIRVNT','1482935ZZUDMq','497zRIpEh','145lctjWk','35362548quJvyq','children','106608amGxPY','set','locale','add','5712738GYKkoM','fire','execute','2918408vymAgR','prompt'];_0x115d=function(){return _0x2d6bf4;};return _0x115d();}
23
+ (function(_0x5db32b,_0x59e0f8){const _0x2e3a58=_0x9f8f,_0x2df5af=_0x5db32b();while(!![]){try{const _0x1ebe55=-parseInt(_0x2e3a58(0x1eb))/0x1*(parseInt(_0x2e3a58(0x1f6))/0x2)+parseInt(_0x2e3a58(0x1f2))/0x3+-parseInt(_0x2e3a58(0x1f8))/0x4*(parseInt(_0x2e3a58(0x1f5))/0x5)+-parseInt(_0x2e3a58(0x1ef))/0x6*(parseInt(_0x2e3a58(0x1fc))/0x7)+parseInt(_0x2e3a58(0x1f0))/0x8*(-parseInt(_0x2e3a58(0x1ec))/0x9)+parseInt(_0x2e3a58(0x1fa))/0xa*(parseInt(_0x2e3a58(0x1f7))/0xb)+-parseInt(_0x2e3a58(0x1f1))/0xc;if(_0x1ebe55===_0x59e0f8)break;else _0x2df5af['push'](_0x2df5af['shift']());}catch(_0x244629){_0x2df5af['push'](_0x2df5af['shift']());}}}(_0x4080,0x84835));function _0x9f8f(_0x352d9e,_0x31f878){const _0x40803e=_0x4080();return _0x9f8f=function(_0x9f8f29,_0x44ae74){_0x9f8f29=_0x9f8f29-0x1eb;let _0x506492=_0x40803e[_0x9f8f29];return _0x506492;},_0x9f8f(_0x352d9e,_0x31f878);}import{ListItemView as _0xdd2105,ButtonView as _0x3a88e7,ButtonLabelView as _0x2540cd}from'ckeditor5/src/ui.js';function _0x4080(){const _0x4a0cfc=['children','prompt','254545vfYMiS','2EcmVbb','11UWIFJb','16ZANVeV','add','10338950raUiSa','set','763203Chowsa','locale','89825JPBMZM','9Jzzfxi','fire','execute','18jkjuSI','5181560sCzZLN','228612sVYpdB','2388516ecHwiG'];_0x4080=function(){return _0x4a0cfc;};return _0x4080();}import{unescape as _0x27ce31}from'es-toolkit/compat';export class AIHistoryListItemView extends _0xdd2105{constructor(_0x45fdd9){const _0x7b6e7b=_0x9f8f;super();const _0x454d46=new _0x2540cd(),_0x3ca3a7=new _0x3a88e7(this[_0x7b6e7b(0x1fd)],_0x454d46);this[_0x7b6e7b(0x1f3)][_0x7b6e7b(0x1f9)](_0x3ca3a7),_0x3ca3a7[_0x7b6e7b(0x1fb)]({'label':_0x45fdd9[_0x7b6e7b(0x1f4)],'withText':!0x0}),_0x3ca3a7['on'](_0x7b6e7b(0x1ee),()=>{const _0x2222d3=_0x7b6e7b;this[_0x2222d3(0x1ed)](_0x2222d3(0x1ee),{'value':_0x27ce31(_0x45fdd9[_0x2222d3(0x1f4)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc02d57=_0x1dd5;(function(_0x17aa6e,_0xcf900c){const _0x159044=_0x1dd5,_0x374798=_0x17aa6e();while(!![]){try{const _0x2dcd17=-parseInt(_0x159044(0x17e))/0x1+parseInt(_0x159044(0x18c))/0x2+parseInt(_0x159044(0x183))/0x3+-parseInt(_0x159044(0x191))/0x4+parseInt(_0x159044(0x184))/0x5+parseInt(_0x159044(0x189))/0x6+parseInt(_0x159044(0x187))/0x7;if(_0x2dcd17===_0xcf900c)break;else _0x374798['push'](_0x374798['shift']());}catch(_0x3feead){_0x374798['push'](_0x374798['shift']());}}}(_0x5d19,0x90f42));import{ListView as _0x1220fd,ListItemGroupView as _0x55dc32,ButtonView as _0x4574c9}from'ckeditor5/src/ui.js';function _0x1dd5(_0x316ade,_0x106b71){const _0x5d1977=_0x5d19();return _0x1dd5=function(_0x1dd54e,_0x272bb7){_0x1dd54e=_0x1dd54e-0x17a;let _0x3f46e5=_0x5d1977[_0x1dd54e];return _0x3f46e5;},_0x1dd5(_0x316ade,_0x106b71);}function _0x5d19(){const _0x45e798=['448760VLnnfW','execute','fire','children','filter','1261404MQtbDe','_createClearHistoryButton','add','delegate','label','864955WtAEOU','clearHistory','clearHistoryButton','locale','items','229296iEHObO','712300yQtInT','Prompt\x20history','Clear','3391563ILBZNN','set','5077530dtohSP','historyGroupView','length'];_0x5d19=function(){return _0x45e798;};return _0x5d19();}import{getTranslation as _0x944aaa}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x1220fd{[_0xc02d57(0x18a)];[_0xc02d57(0x180)];constructor(_0xfc8cdf){const _0x38467f=_0xc02d57;super(_0xfc8cdf),this[_0x38467f(0x180)]=this[_0x38467f(0x17a)](),this[_0x38467f(0x18a)]=new _0x55dc32(),this[_0x38467f(0x18a)][_0x38467f(0x18f)][_0x38467f(0x17b)](this[_0x38467f(0x180)],0x1),this[_0x38467f(0x18a)][_0x38467f(0x17d)]=_0x944aaa(_0xfc8cdf,_0x38467f(0x185)),this[_0x38467f(0x18a)][_0x38467f(0x182)][_0x38467f(0x17c)](_0x38467f(0x18d))['to'](this),this[_0x38467f(0x182)][_0x38467f(0x17b)](this[_0x38467f(0x18a)]);}[_0xc02d57(0x190)](){const _0x401f62=_0xc02d57;let _0x240dce=0x0;for(const _0x20c280 of this[_0x401f62(0x182)])_0x240dce+=_0x20c280[_0x401f62(0x182)][_0x401f62(0x18b)];return{'resultsCount':_0x240dce,'totalItemsCount':_0x240dce};}[_0xc02d57(0x17a)](){const _0x2c3c77=_0xc02d57,_0x31e3da=this[_0x2c3c77(0x181)],_0x535c5b=new _0x4574c9(this[_0x2c3c77(0x181)]);return _0x535c5b[_0x2c3c77(0x188)]({'label':'('+_0x944aaa(_0x31e3da,_0x2c3c77(0x186))+')','withText':!0x0}),_0x535c5b['on'](_0x2c3c77(0x18d),()=>this[_0x2c3c77(0x18e)](_0x2c3c77(0x17f))),_0x535c5b;}}
23
+ function _0x5477(){const _0x180585=['_createClearHistoryButton','clearHistory','fire','set','add','items','7kHCHKg','clearHistoryButton','9909jVNqsg','7469pkKUiK','Clear','delegate','5794136WlCxwT','1851520GoJtkc','16962cWazGj','4328SxgBeE','execute','label','16810rlpYWJ','locale','historyGroupView','80spkAwX','Prompt\x20history','children','filter','length','423420gBYiLC','950346KjgPIV'];_0x5477=function(){return _0x180585;};return _0x5477();}const _0x3bc415=_0x3f9f;(function(_0x29f13d,_0x259f4c){const _0x229a86=_0x3f9f,_0x3334a9=_0x29f13d();while(!![]){try{const _0x36a9f5=parseInt(_0x229a86(0x13b))/0x1+-parseInt(_0x229a86(0x136))/0x2*(-parseInt(_0x229a86(0x12f))/0x3)+-parseInt(_0x229a86(0x12d))/0x4+-parseInt(_0x229a86(0x12e))/0x5+parseInt(_0x229a86(0x13c))/0x6*(parseInt(_0x229a86(0x143))/0x7)+-parseInt(_0x229a86(0x130))/0x8*(-parseInt(_0x229a86(0x129))/0x9)+-parseInt(_0x229a86(0x133))/0xa*(-parseInt(_0x229a86(0x12a))/0xb);if(_0x36a9f5===_0x259f4c)break;else _0x3334a9['push'](_0x3334a9['shift']());}catch(_0x253136){_0x3334a9['push'](_0x3334a9['shift']());}}}(_0x5477,0xb149d));import{ListView as _0x58693b,ListItemGroupView as _0x2b5b66,ButtonView as _0x23a0e5}from'ckeditor5/src/ui.js';function _0x3f9f(_0x391b49,_0x27fadb){const _0x5477f3=_0x5477();return _0x3f9f=function(_0x3f9f4d,_0x58b298){_0x3f9f4d=_0x3f9f4d-0x128;let _0x41f9a6=_0x5477f3[_0x3f9f4d];return _0x41f9a6;},_0x3f9f(_0x391b49,_0x27fadb);}import{getTranslation as _0x36bd3f}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x58693b{[_0x3bc415(0x135)];[_0x3bc415(0x128)];constructor(_0x52c9d0){const _0xcaa240=_0x3bc415;super(_0x52c9d0),this[_0xcaa240(0x128)]=this[_0xcaa240(0x13d)](),this[_0xcaa240(0x135)]=new _0x2b5b66(),this[_0xcaa240(0x135)][_0xcaa240(0x138)][_0xcaa240(0x141)](this[_0xcaa240(0x128)],0x1),this[_0xcaa240(0x135)][_0xcaa240(0x132)]=_0x36bd3f(_0x52c9d0,_0xcaa240(0x137)),this[_0xcaa240(0x135)][_0xcaa240(0x142)][_0xcaa240(0x12c)](_0xcaa240(0x131))['to'](this),this[_0xcaa240(0x142)][_0xcaa240(0x141)](this[_0xcaa240(0x135)]);}[_0x3bc415(0x139)](){const _0x190ccf=_0x3bc415;let _0x34a057=0x0;for(const _0x1f0afd of this[_0x190ccf(0x142)])_0x34a057+=_0x1f0afd[_0x190ccf(0x142)][_0x190ccf(0x13a)];return{'resultsCount':_0x34a057,'totalItemsCount':_0x34a057};}[_0x3bc415(0x13d)](){const _0x20cd49=_0x3bc415,_0x419941=this[_0x20cd49(0x134)],_0x7e08e6=new _0x23a0e5(this[_0x20cd49(0x134)]);return _0x7e08e6[_0x20cd49(0x140)]({'label':'('+_0x36bd3f(_0x419941,_0x20cd49(0x12b))+')','withText':!0x0}),_0x7e08e6['on'](_0x20cd49(0x131),()=>this[_0x20cd49(0x13f)](_0x20cd49(0x13e))),_0x7e08e6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ed734=_0x2175;function _0x58f1(){const _0x55ebf7=['1028464umHFQt','348hltpYX','43650zhNdpQ','72jCcZpN','2799505gFJkYy','_loadFromSessionStorage','add','map','last','getItem','CKEditor/AIFormView/PromptHistory','parse','8700461HHVWmA','trim','_saveToSessionStorage','12xXyJJu','834232VUzSEE','4023260iMRxrA','remove','prompt','addMany','4807RhHnMO','toLowerCase','420YCrbOa','length','setItem','stringify'];_0x58f1=function(){return _0x55ebf7;};return _0x58f1();}function _0x2175(_0x2a4450,_0x1ae4c6){const _0x58f142=_0x58f1();return _0x2175=function(_0x217507,_0x5f28ab){_0x217507=_0x217507-0xf6;let _0x5b2352=_0x58f142[_0x217507];return _0x5b2352;},_0x2175(_0x2a4450,_0x1ae4c6);}(function(_0x3fb769,_0x4f64d5){const _0x3469b1=_0x2175,_0x593e33=_0x3fb769();while(!![]){try{const _0xb5211=-parseInt(_0x3469b1(0x106))/0x1*(-parseInt(_0x3469b1(0x10d))/0x2)+-parseInt(_0x3469b1(0x100))/0x3*(-parseInt(_0x3469b1(0x10c))/0x4)+-parseInt(_0x3469b1(0x110))/0x5+-parseInt(_0x3469b1(0x10e))/0x6*(-parseInt(_0x3469b1(0x108))/0x7)+-parseInt(_0x3469b1(0x101))/0x8*(parseInt(_0x3469b1(0x10f))/0x9)+parseInt(_0x3469b1(0x102))/0xa+-parseInt(_0x3469b1(0xfd))/0xb;if(_0xb5211===_0x4f64d5)break;else _0x593e33['push'](_0x593e33['shift']());}catch(_0x3b61f2){_0x593e33['push'](_0x593e33['shift']());}}}(_0x58f1,0x7e9e0));import{Collection as _0x312101}from'ckeditor5/src/utils.js';const ts=_0x3ed734(0xfb);export class PromptHistory extends _0x312101{constructor(){const _0x59040b=_0x3ed734;super(),this[_0x59040b(0xf6)](),this['on'](_0x59040b(0xf7),(_0x77327f,_0x14fbe0)=>{const _0x11f6da=_0x59040b,_0x118c19=os(_0x14fbe0[_0x11f6da(0x104)]);for(const _0x11a912 of this)if(_0x11a912!=_0x14fbe0&&os(_0x11a912[_0x11f6da(0x104)])===_0x118c19){this[_0x11f6da(0x103)](_0x11a912);break;}this[_0x11f6da(0x109)]>0x14&&this[_0x11f6da(0x103)](this[_0x11f6da(0xf9)]),this[_0x11f6da(0xff)]();}),this['on'](_0x59040b(0x103),()=>{const _0x38f406=_0x59040b;this[_0x38f406(0xff)]();});}[_0x3ed734(0xf6)](){const _0x36b367=_0x3ed734,_0x72801d=sessionStorage[_0x36b367(0xfa)](ts)||'[]';this[_0x36b367(0x105)](JSON[_0x36b367(0xfc)](_0x72801d));}[_0x3ed734(0xff)](){const _0x3a32f1=_0x3ed734;sessionStorage[_0x3a32f1(0x10a)](ts,JSON[_0x3a32f1(0x10b)](this[_0x3a32f1(0xf8)](_0x4d2789=>_0x4d2789)));}}function os(_0x420b25){const _0x19509d=_0x3ed734;return _0x420b25[_0x19509d(0x107)]()[_0x19509d(0xfe)]();}
23
+ const _0x2c684d=_0x3377;(function(_0x6eee46,_0x122e78){const _0x584a3b=_0x3377,_0x25b037=_0x6eee46();while(!![]){try{const _0x38a344=-parseInt(_0x584a3b(0x1c9))/0x1+parseInt(_0x584a3b(0x1c8))/0x2*(parseInt(_0x584a3b(0x1cb))/0x3)+parseInt(_0x584a3b(0x1da))/0x4+-parseInt(_0x584a3b(0x1d9))/0x5*(parseInt(_0x584a3b(0x1db))/0x6)+parseInt(_0x584a3b(0x1c6))/0x7+-parseInt(_0x584a3b(0x1d1))/0x8+-parseInt(_0x584a3b(0x1d4))/0x9*(parseInt(_0x584a3b(0x1dc))/0xa);if(_0x38a344===_0x122e78)break;else _0x25b037['push'](_0x25b037['shift']());}catch(_0x14edd0){_0x25b037['push'](_0x25b037['shift']());}}}(_0x35f2,0x26825));function _0x3377(_0x597dcf,_0xb85041){const _0x35f2c4=_0x35f2();return _0x3377=function(_0x337714,_0x1fd2d5){_0x337714=_0x337714-0x1c5;let _0x43320c=_0x35f2c4[_0x337714];return _0x43320c;},_0x3377(_0x597dcf,_0xb85041);}function _0x35f2(){const _0x4f53a1=['1050669AElXTp','remove','_saveToSessionStorage','toLowerCase','last','15JTFMkT','884036mSNWRW','16350RaMiyI','20rdUZkX','trim','setItem','length','996737EdmwCZ','add','84070lgzmRK','149314wVqAez','CKEditor/AIFormView/PromptHistory','15ZqbvrP','parse','_loadFromSessionStorage','addMany','map','prompt','198968VogmQv','stringify','getItem'];_0x35f2=function(){return _0x4f53a1;};return _0x35f2();}import{Collection as _0x14dde1}from'ckeditor5/src/utils.js';const ts=_0x2c684d(0x1ca);export class PromptHistory extends _0x14dde1{constructor(){const _0x4730e6=_0x2c684d;super(),this[_0x4730e6(0x1cd)](),this['on'](_0x4730e6(0x1c7),(_0x36a022,_0x1f49af)=>{const _0x3ee541=_0x4730e6,_0x1378d2=os(_0x1f49af[_0x3ee541(0x1d0)]);for(const _0x100b91 of this)if(_0x100b91!=_0x1f49af&&os(_0x100b91[_0x3ee541(0x1d0)])===_0x1378d2){this[_0x3ee541(0x1d5)](_0x100b91);break;}this[_0x3ee541(0x1c5)]>0x14&&this[_0x3ee541(0x1d5)](this[_0x3ee541(0x1d8)]),this[_0x3ee541(0x1d6)]();}),this['on'](_0x4730e6(0x1d5),()=>{const _0xb879af=_0x4730e6;this[_0xb879af(0x1d6)]();});}[_0x2c684d(0x1cd)](){const _0x1c641d=_0x2c684d,_0x1f9a02=sessionStorage[_0x1c641d(0x1d3)](ts)||'[]';this[_0x1c641d(0x1ce)](JSON[_0x1c641d(0x1cc)](_0x1f9a02));}[_0x2c684d(0x1d6)](){const _0x247cd6=_0x2c684d;sessionStorage[_0x247cd6(0x1de)](ts,JSON[_0x247cd6(0x1d2)](this[_0x247cd6(0x1cf)](_0x46b691=>_0x46b691)));}}function os(_0x15a5ae){const _0xecff2d=_0x2c684d;return _0x15a5ae[_0xecff2d(0x1d7)]()[_0xecff2d(0x1dd)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b43(){const _0x24cd9b=['6372rxLSsV','hasContent','getItems','config','add','30174221qbPSNk','requiresContent','custom','change:isEnabled','isEmpty','getSelectedBlocks','isEnabled','ai.aiAssistant.disabledElements','change:_hasContext','refresh','document','get','showUI','enabledCommandsIds','_commandDefinitions','from','18EnSZDk','values','includes','editor','set','name','1613880JOdTpH','_hasContext','getFirstRange','3662360oHSJaj','3ZNcXpL','plugins','6170213NelkOT','86XCjEEM','12276aZMZXQ','element','model','selection','4712788TNHgcf','isCollapsed','5890AEvjFA','getRanges','length','execute'];_0x5b43=function(){return _0x24cd9b;};return _0x5b43();}const _0x13e8ab=_0x5ede;function _0x5ede(_0x14824c,_0x411932){const _0x5b4332=_0x5b43();return _0x5ede=function(_0x5edec6,_0x57af5e){_0x5edec6=_0x5edec6-0x19f;let _0x5be3c0=_0x5b4332[_0x5edec6];return _0x5be3c0;},_0x5ede(_0x14824c,_0x411932);}(function(_0x49aaf8,_0x5ddb38){const _0x438dbd=_0x5ede,_0x192046=_0x49aaf8();while(!![]){try{const _0x5133f7=parseInt(_0x438dbd(0x1b6))/0x1*(-parseInt(_0x438dbd(0x1b7))/0x2)+parseInt(_0x438dbd(0x1b3))/0x3*(-parseInt(_0x438dbd(0x1bb))/0x4)+parseInt(_0x438dbd(0x1bd))/0x5*(parseInt(_0x438dbd(0x1c1))/0x6)+-parseInt(_0x438dbd(0x1b5))/0x7+-parseInt(_0x438dbd(0x1af))/0x8*(parseInt(_0x438dbd(0x1a9))/0x9)+-parseInt(_0x438dbd(0x1b2))/0xa+parseInt(_0x438dbd(0x1c6))/0xb;if(_0x5133f7===_0x5ddb38)break;else _0x192046['push'](_0x192046['shift']());}catch(_0x4c1f99){_0x192046['push'](_0x192046['shift']());}}}(_0x5b43,0x9b7f5));import{Command as _0x1a437c}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x1e3778}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x1a437c{[_0x13e8ab(0x1a7)];constructor(_0x5f023b,_0x3da205){const _0x2f16a6=_0x13e8ab;super(_0x5f023b),this[_0x2f16a6(0x1a7)]=_0x3da205,this[_0x2f16a6(0x1ad)](_0x2f16a6(0x1a6),[]),this['on'](_0x2f16a6(0x1a1),(_0x4cba6d,_0x236e22,_0xbf284e)=>{const _0x2efc2d=_0x2f16a6;this[_0x2efc2d(0x19f)]&&(this[_0x2efc2d(0x1a6)]=F(this[_0x2efc2d(0x1a7)],_0xbf284e));}),this[_0x2f16a6(0x1ad)](_0x2f16a6(0x1b0),!0x1),this['on'](_0x2f16a6(0x1c9),(_0x1b57d0,_0x2166a6,_0x72b903)=>{const _0x3fa30a=_0x2f16a6;this[_0x3fa30a(0x1a6)]=_0x72b903?F(this[_0x3fa30a(0x1a7)],this[_0x3fa30a(0x1b0)]):[];});}[_0x13e8ab(0x1a2)](){const _0x564aba=_0x13e8ab,_0x28f44e=this[_0x564aba(0x1ac)][_0x564aba(0x1b9)];this[_0x564aba(0x1b0)]=function(_0x2ca81b){const _0x10f55d=_0x564aba,_0x386a77=_0x2ca81b[_0x10f55d(0x1a3)][_0x10f55d(0x1ba)];return _0x386a77[_0x10f55d(0x1bc)]?0x0!==[..._0x386a77[_0x10f55d(0x1cb)]()][_0x10f55d(0x1bf)]&&![..._0x386a77[_0x10f55d(0x1cb)]()][0x0][_0x10f55d(0x1ca)]:!!_0x2ca81b[_0x10f55d(0x1c2)](_0x386a77[_0x10f55d(0x1b1)]());}(_0x28f44e);const _0x2b6cc6=_0x28f44e[_0x564aba(0x1a3)][_0x564aba(0x1ba)],_0x3ffb2e=this[_0x564aba(0x1ac)][_0x564aba(0x1c4)][_0x564aba(0x1a4)](_0x564aba(0x1a0));for(const _0x561404 of _0x2b6cc6[_0x564aba(0x1be)]())for(const _0x49cc98 of _0x561404[_0x564aba(0x1c3)]())if(_0x49cc98['is'](_0x564aba(0x1b8))&&_0x3ffb2e[_0x564aba(0x1ab)](_0x49cc98[_0x564aba(0x1ae)]))return void(this[_0x564aba(0x19f)]=!0x1);this[_0x564aba(0x19f)]=!0x0;}[_0x13e8ab(0x1c0)](_0x2ae92d='',_0x188a6c='',_0x508d47=_0x13e8ab(0x1c8)){const _0x18fcd3=_0x13e8ab;this[_0x18fcd3(0x1ac)][_0x18fcd3(0x1b4)][_0x18fcd3(0x1a4)](_0x1e3778)[_0x18fcd3(0x1a5)](_0x2ae92d,_0x188a6c,_0x508d47);}}function F(_0x29e70c,_0x35764c){const _0x43e288=_0x13e8ab,_0x14fdf7=new Set();for(const _0xa04116 of _0x29e70c[_0x43e288(0x1aa)]())(_0x35764c||!0x1===_0xa04116[_0x43e288(0x1c7)])&&_0x14fdf7[_0x43e288(0x1c5)](_0xa04116['id']);return Array[_0x43e288(0x1a8)](_0x14fdf7);}
23
+ const _0x2b39be=_0x3c81;function _0x3c81(_0x38695e,_0x2ece3e){const _0x1bebe9=_0x1beb();return _0x3c81=function(_0x3c81eb,_0x2cec8b){_0x3c81eb=_0x3c81eb-0x1aa;let _0x3c191e=_0x1bebe9[_0x3c81eb];return _0x3c191e;},_0x3c81(_0x38695e,_0x2ece3e);}function _0x1beb(){const _0x420c93=['config','isCollapsed','name','hasContent','element','execute','496701rMrvHZ','custom','getItems','_commandDefinitions','getRanges','change:_hasContext','5429115NKNMVb','plugins','enabledCommandsIds','549fLMNXw','getSelectedBlocks','get','editor','44402FZiDov','85524cPjbNP','_hasContext','set','561712QBrsOT','model','selection','141016gcVPjw','requiresContent','isEmpty','refresh','includes','change:isEnabled','ai.aiAssistant.disabledElements','showUI','17957930vKLJvW','length','values','isEnabled','490TjugFn','document','129NNhhUY','add','from','getFirstRange'];_0x1beb=function(){return _0x420c93;};return _0x1beb();}(function(_0x249f86,_0x468e48){const _0x5ede73=_0x3c81,_0x401061=_0x249f86();while(!![]){try{const _0x427501=parseInt(_0x5ede73(0x1b2))/0x1+-parseInt(_0x5ede73(0x1bf))/0x2*(-parseInt(_0x5ede73(0x1d4))/0x3)+parseInt(_0x5ede73(0x1c3))/0x4+-parseInt(_0x5ede73(0x1b8))/0x5+parseInt(_0x5ede73(0x1c0))/0x6*(parseInt(_0x5ede73(0x1d2))/0x7)+-parseInt(_0x5ede73(0x1c6))/0x8*(-parseInt(_0x5ede73(0x1bb))/0x9)+-parseInt(_0x5ede73(0x1ce))/0xa;if(_0x427501===_0x468e48)break;else _0x401061['push'](_0x401061['shift']());}catch(_0x3d0848){_0x401061['push'](_0x401061['shift']());}}}(_0x1beb,0xbf34f));import{Command as _0x293145}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3f2881}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x293145{[_0x2b39be(0x1b5)];constructor(_0x5dafdc,_0x35081e){const _0x75fb2b=_0x2b39be;super(_0x5dafdc),this[_0x75fb2b(0x1b5)]=_0x35081e,this[_0x75fb2b(0x1c2)](_0x75fb2b(0x1ba),[]),this['on'](_0x75fb2b(0x1b7),(_0x49c25b,_0x29f34d,_0x21821e)=>{const _0x58ea7d=_0x75fb2b;this[_0x58ea7d(0x1d1)]&&(this[_0x58ea7d(0x1ba)]=F(this[_0x58ea7d(0x1b5)],_0x21821e));}),this[_0x75fb2b(0x1c2)](_0x75fb2b(0x1c1),!0x1),this['on'](_0x75fb2b(0x1cb),(_0x145cf7,_0x21f60a,_0xa6d632)=>{const _0x560055=_0x75fb2b;this[_0x560055(0x1ba)]=_0xa6d632?F(this[_0x560055(0x1b5)],this[_0x560055(0x1c1)]):[];});}[_0x2b39be(0x1c9)](){const _0x39d674=_0x2b39be,_0x4d3c9e=this[_0x39d674(0x1be)][_0x39d674(0x1c4)];this[_0x39d674(0x1c1)]=function(_0x1cca2c){const _0x42c8c2=_0x39d674,_0x5765c9=_0x1cca2c[_0x42c8c2(0x1d3)][_0x42c8c2(0x1c5)];return _0x5765c9[_0x42c8c2(0x1ad)]?0x0!==[..._0x5765c9[_0x42c8c2(0x1bc)]()][_0x42c8c2(0x1cf)]&&![..._0x5765c9[_0x42c8c2(0x1bc)]()][0x0][_0x42c8c2(0x1c8)]:!!_0x1cca2c[_0x42c8c2(0x1af)](_0x5765c9[_0x42c8c2(0x1ab)]());}(_0x4d3c9e);const _0x37abc5=_0x4d3c9e[_0x39d674(0x1d3)][_0x39d674(0x1c5)],_0x2cd856=this[_0x39d674(0x1be)][_0x39d674(0x1ac)][_0x39d674(0x1bd)](_0x39d674(0x1cc));for(const _0x1eacc6 of _0x37abc5[_0x39d674(0x1b6)]())for(const _0x31222c of _0x1eacc6[_0x39d674(0x1b4)]())if(_0x31222c['is'](_0x39d674(0x1b0))&&_0x2cd856[_0x39d674(0x1ca)](_0x31222c[_0x39d674(0x1ae)]))return void(this[_0x39d674(0x1d1)]=!0x1);this[_0x39d674(0x1d1)]=!0x0;}[_0x2b39be(0x1b1)](_0x4b0aaf='',_0x3a230a='',_0x2d8ee9=_0x2b39be(0x1b3)){const _0x1bee92=_0x2b39be;this[_0x1bee92(0x1be)][_0x1bee92(0x1b9)][_0x1bee92(0x1bd)](_0x3f2881)[_0x1bee92(0x1cd)](_0x4b0aaf,_0x3a230a,_0x2d8ee9);}}function F(_0x51c862,_0x282b39){const _0x46e3eb=_0x2b39be,_0x33da5=new Set();for(const _0x2a4d86 of _0x51c862[_0x46e3eb(0x1d0)]())(_0x282b39||!0x1===_0x2a4d86[_0x46e3eb(0x1c7)])&&_0x33da5[_0x46e3eb(0x1d5)](_0x2a4d86['id']);return Array[_0x46e3eb(0x1aa)](_0x33da5);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1bbf38,_0x270519,_0x34bab5){const t=_0x1bbf38['t'];switch(_0x270519){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',_0x34bab5);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x34bab5);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'},_0x34bab5);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 _0x270519;}}
23
+ export function getTranslation(_0x1b76e2,_0x46a5b1,_0x482dff){const t=_0x1b76e2['t'];switch(_0x46a5b1){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',_0x482dff);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x482dff);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'},_0x482dff);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 _0x46a5b1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x25fcf1,_0x2b009c){const _0x4fbfdc=(0x0,_0x2b009c['t'])('Other');return _0x25fcf1['length']?'groupId'in _0x25fcf1[0x0]?_0x25fcf1:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4fbfdc,'order':0x1/0x0,'commands':_0x25fcf1}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4fbfdc,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x20fdba,_0xac26d6){const _0x2d508e=(0x0,_0xac26d6['t'])('Other');return _0x20fdba['length']?'groupId'in _0x20fdba[0x0]?_0x20fdba:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2d508e,'order':0x1/0x0,'commands':_0x20fdba}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2d508e,'order':0x1/0x0,'commands':[]}];}