@ckeditor/ckeditor5-ai 44.2.0-alpha.3 → 44.2.0-alpha.5

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 +9 -9
  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 _0x4f1b96=_0x4de8;(function(_0x325ee5,_0x1f136a){const _0x2cbe74=_0x4de8,_0x560d0b=_0x325ee5();while(!![]){try{const _0x401725=parseInt(_0x2cbe74(0x125))/0x1+parseInt(_0x2cbe74(0x149))/0x2+-parseInt(_0x2cbe74(0x12c))/0x3*(-parseInt(_0x2cbe74(0x118))/0x4)+-parseInt(_0x2cbe74(0x117))/0x5+parseInt(_0x2cbe74(0x120))/0x6*(-parseInt(_0x2cbe74(0x12f))/0x7)+-parseInt(_0x2cbe74(0x137))/0x8+parseInt(_0x2cbe74(0x126))/0x9;if(_0x401725===_0x1f136a)break;else _0x560d0b['push'](_0x560d0b['shift']());}catch(_0x642adc){_0x560d0b['push'](_0x560d0b['shift']());}}}(_0x308b,0x3ff34));import{Rect as _0x4ff822,global as _0x42a1fc,isVisible as _0x3259c4}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x3d9de0,ButtonView as _0x3a7ff6}from'ckeditor5/src/ui.js';function _0x308b(){const _0x3f07a0=['history','isOn','right','ck-ai-form__toggle-history','12eBVPBC','filteredView','resultsView','rtl','render','99054XzLPJg','9667116kHxGNp','execute','isEmpty','keystrokes','target','minRows','7971EfPLpL','left','focusableChildren','1390606AVGbqc','update','isEnabled','bind','set','children','focusCycler','add','1925136amgZKS','uiLanguageDirection','maxRows','fieldView','focusFirst','_createShowHistoryButton','Submit','fire','queryView','focusLast','ck-ai-form__submit','excludeScrollbarsAndBorders','style','requestAnimationFrame','History','focus','isVisible','enter','256626lHEYNQ','submitButtonView','width','locale','submit','value','window','showHistoryButtonView','2552650JsetYY','164WYRtSI','fieldWrapperChildren','_createSubmitButton','element'];_0x308b=function(){return _0x3f07a0;};return _0x308b();}import{icons as _0x13f612}from'ckeditor5/src/core.js';import{getTranslation as _0x3f3cd8}from'../../utils/common-translations.js';function _0x4de8(_0x5540c6,_0x906c77){const _0x308b28=_0x308b();return _0x4de8=function(_0x4de8c4,_0x2f0886){_0x4de8c4=_0x4de8c4-0x117;let _0x196fa5=_0x308b28[_0x4de8c4];return _0x196fa5;},_0x4de8(_0x5540c6,_0x906c77);}import _0xf46d62 from'../../../theme/icons/submit.svg';export default class ht extends _0x3d9de0{constructor(_0x3c0383,_0x412ebb){const _0x578d03=_0x4de8;super(_0x3c0383,_0x412ebb),this[_0x578d03(0x13f)][_0x578d03(0x13a)][_0x578d03(0x12b)]=0x1,this[_0x578d03(0x13f)][_0x578d03(0x13a)][_0x578d03(0x139)]=0x3,this[_0x578d03(0x14a)]=this[_0x578d03(0x11a)](),this[_0x578d03(0x150)]=this[_0x578d03(0x13c)](),this[_0x578d03(0x12e)][_0x578d03(0x136)](this[_0x578d03(0x150)],0x1),this[_0x578d03(0x12e)][_0x578d03(0x136)](this[_0x578d03(0x14a)]);}[_0x4f1b96(0x124)](){const _0x189f1d=_0x4f1b96;super[_0x189f1d(0x124)](),this[_0x189f1d(0x13f)][_0x189f1d(0x119)][_0x189f1d(0x136)](this[_0x189f1d(0x150)]),this[_0x189f1d(0x134)][_0x189f1d(0x136)](this[_0x189f1d(0x14a)]),this[_0x189f1d(0x129)][_0x189f1d(0x133)](_0x189f1d(0x148),(_0x5b8777,_0x6366fd)=>{const _0x170b26=_0x189f1d;_0x5b8777[_0x170b26(0x12a)]==this[_0x170b26(0x13f)][_0x170b26(0x13a)][_0x170b26(0x11b)]&&(this[_0x170b26(0x14d)](),_0x6366fd());});}[_0x4f1b96(0x11a)](){const _0x437ac8=_0x4f1b96,_0x43750a=new _0x3a7ff6(this[_0x437ac8(0x14c)]),_0x2bf689=this[_0x437ac8(0x14c)];return _0x43750a[_0x437ac8(0x133)]({'icon':_0xf46d62,'label':_0x3f3cd8(_0x2bf689,_0x437ac8(0x13d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x437ac8(0x141)}),_0x43750a['on'](_0x437ac8(0x127),()=>{const _0x2de47b=_0x437ac8;this[_0x2de47b(0x14d)]();}),_0x43750a[_0x437ac8(0x132)](_0x437ac8(0x131))['to'](this[_0x437ac8(0x13f)][_0x437ac8(0x13a)],_0x437ac8(0x128),this,_0x437ac8(0x131),(_0x5461df,_0x4b2ef2)=>!_0x5461df&&_0x4b2ef2),_0x43750a;}[_0x4f1b96(0x13c)](){const _0x1d637d=_0x4f1b96,_0x1d9ffa=new _0x3a7ff6(this[_0x1d637d(0x14c)]),_0xe9e296=this[_0x1d637d(0x122)],_0x3f8658=this[_0x1d637d(0x14c)];_0x1d9ffa[_0x1d637d(0x133)]({'label':_0x3f3cd8(_0x3f8658,_0x1d637d(0x145)),'withText':!0x1,'icon':_0x13f612[_0x1d637d(0x11c)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1d637d(0x11f)}),_0x1d9ffa[_0x1d637d(0x132)](_0x1d637d(0x11d))['to'](_0xe9e296,_0x1d637d(0x147)),_0x1d9ffa[_0x1d637d(0x132)](_0x1d637d(0x131))['to'](this,_0x1d637d(0x131)),_0x1d9ffa['on'](_0x1d637d(0x127),()=>{const _0xcd1c14=_0x1d637d;_0xe9e296[_0xcd1c14(0x147)]=!_0xe9e296[_0xcd1c14(0x147)],_0xe9e296[_0xcd1c14(0x147)]?this[_0xcd1c14(0x121)][_0xcd1c14(0x146)]():this[_0xcd1c14(0x146)]();});const _0x3ae1c4=()=>{const _0x4b832a=_0x1d637d;_0x42a1fc[_0x4b832a(0x14f)][_0x4b832a(0x144)](()=>{const _0x161c23=_0x4b832a;if(_0x3259c4(this[_0x161c23(0x11b)])){const _0x173574=new _0x4ff822(this[_0x161c23(0x13f)][_0x161c23(0x13a)][_0x161c23(0x11b)]),_0x1ec7fb=_0x173574[_0x161c23(0x14b)],_0x22245a=_0x161c23(0x123)===_0x3f8658[_0x161c23(0x138)]?_0x161c23(0x12d):_0x161c23(0x11e);_0x173574[_0x161c23(0x142)](),_0x1d9ffa[_0x161c23(0x11b)][_0x161c23(0x143)][_0x22245a]=_0x1ec7fb-_0x173574[_0x161c23(0x14b)]+0x1+'px';}});};return this[_0x1d637d(0x13f)][_0x1d637d(0x13a)]['on'](_0x1d637d(0x130),_0x3ae1c4),this['on'](_0x1d637d(0x124),_0x3ae1c4),_0x1d9ffa;}[_0x4f1b96(0x14d)](){const _0x49e464=_0x4f1b96,_0x299ea8=this[_0x49e464(0x13f)][_0x49e464(0x13a)][_0x49e464(0x11b)][_0x49e464(0x14e)];this[_0x49e464(0x13e)](_0x49e464(0x14d),_0x299ea8);}[_0x4f1b96(0x146)](_0x206732){const _0xf9f2da=_0x4f1b96;-0x1===_0x206732?this[_0xf9f2da(0x135)][_0xf9f2da(0x140)]():this[_0xf9f2da(0x135)][_0xf9f2da(0x13b)]();}}
23
+ const _0x5bed2d=_0x2fb1;(function(_0x2eacc8,_0x32804d){const _0x5cece0=_0x2fb1,_0xa9437b=_0x2eacc8();while(!![]){try{const _0x331272=parseInt(_0x5cece0(0x1dd))/0x1*(parseInt(_0x5cece0(0x1ae))/0x2)+-parseInt(_0x5cece0(0x1c6))/0x3*(parseInt(_0x5cece0(0x1cd))/0x4)+-parseInt(_0x5cece0(0x1d8))/0x5+parseInt(_0x5cece0(0x1ba))/0x6+-parseInt(_0x5cece0(0x1b8))/0x7*(parseInt(_0x5cece0(0x1df))/0x8)+-parseInt(_0x5cece0(0x1e5))/0x9*(parseInt(_0x5cece0(0x1d0))/0xa)+-parseInt(_0x5cece0(0x1e0))/0xb;if(_0x331272===_0x32804d)break;else _0xa9437b['push'](_0xa9437b['shift']());}catch(_0x5595dd){_0xa9437b['push'](_0xa9437b['shift']());}}}(_0x65bd,0x878a0));import{Rect as _0x5ea499,global as _0x20ad71,isVisible as _0x5b38e1}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x2539bb,ButtonView as _0x824805}from'ckeditor5/src/ui.js';function _0x65bd(){const _0x10934a=['minRows','locale','style','isOn','uiLanguageDirection','3QRlHSC','children','showHistoryButtonView','focusableChildren','filteredView','isEmpty','ck-ai-form__submit','1165012jUcKNf','window','element','10779070tAfhlz','left','isEnabled','Submit','rtl','ck-ai-form__toggle-history','focusFirst','add','198115SHnxLD','fieldWrapperChildren','update','width','history','1088173bFiPea','bind','339928YRBJpP','1964809GXWUEF','focusCycler','excludeScrollbarsAndBorders','submit','fire','9PNkjAX','set','render','value','fieldView','2opSuZg','queryView','_createSubmitButton','History','focusLast','execute','resultsView','submitButtonView','focus','right','7SMRXSh','requestAnimationFrame','6581328OQAgWw','maxRows','keystrokes','enter','target','isVisible','_createShowHistoryButton'];_0x65bd=function(){return _0x10934a;};return _0x65bd();}import{icons as _0x1e0495}from'ckeditor5/src/core.js';function _0x2fb1(_0x5098d7,_0x2cf580){const _0x65bd22=_0x65bd();return _0x2fb1=function(_0x2fb112,_0x1e690a){_0x2fb112=_0x2fb112-0x1aa;let _0x1bb528=_0x65bd22[_0x2fb112];return _0x1bb528;},_0x2fb1(_0x5098d7,_0x2cf580);}import{getTranslation as _0x5d23e9}from'../../utils/common-translations.js';import _0x4ab8be from'../../../theme/icons/submit.svg';export default class ht extends _0x2539bb{constructor(_0x39f73b,_0x187e6a){const _0x299135=_0x2fb1;super(_0x39f73b,_0x187e6a),this[_0x299135(0x1af)][_0x299135(0x1ad)][_0x299135(0x1c1)]=0x1,this[_0x299135(0x1af)][_0x299135(0x1ad)][_0x299135(0x1bb)]=0x3,this[_0x299135(0x1b5)]=this[_0x299135(0x1b0)](),this[_0x299135(0x1c8)]=this[_0x299135(0x1c0)](),this[_0x299135(0x1c9)][_0x299135(0x1d7)](this[_0x299135(0x1c8)],0x1),this[_0x299135(0x1c9)][_0x299135(0x1d7)](this[_0x299135(0x1b5)]);}[_0x5bed2d(0x1ab)](){const _0x468632=_0x5bed2d;super[_0x468632(0x1ab)](),this[_0x468632(0x1af)][_0x468632(0x1d9)][_0x468632(0x1d7)](this[_0x468632(0x1c8)]),this[_0x468632(0x1c7)][_0x468632(0x1d7)](this[_0x468632(0x1b5)]),this[_0x468632(0x1bc)][_0x468632(0x1aa)](_0x468632(0x1bd),(_0x2dc956,_0x4b5915)=>{const _0x17fc89=_0x468632;_0x2dc956[_0x17fc89(0x1be)]==this[_0x17fc89(0x1af)][_0x17fc89(0x1ad)][_0x17fc89(0x1cf)]&&(this[_0x17fc89(0x1e3)](),_0x4b5915());});}[_0x5bed2d(0x1b0)](){const _0x380009=_0x5bed2d,_0x4879ce=new _0x824805(this[_0x380009(0x1c2)]),_0x1542f7=this[_0x380009(0x1c2)];return _0x4879ce[_0x380009(0x1aa)]({'icon':_0x4ab8be,'label':_0x5d23e9(_0x1542f7,_0x380009(0x1d3)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x380009(0x1cc)}),_0x4879ce['on'](_0x380009(0x1b3),()=>{const _0x4e2de3=_0x380009;this[_0x4e2de3(0x1e3)]();}),_0x4879ce[_0x380009(0x1de)](_0x380009(0x1d2))['to'](this[_0x380009(0x1af)][_0x380009(0x1ad)],_0x380009(0x1cb),this,_0x380009(0x1d2),(_0x4b64ad,_0x9a72d2)=>!_0x4b64ad&&_0x9a72d2),_0x4879ce;}[_0x5bed2d(0x1c0)](){const _0x249593=_0x5bed2d,_0x2d04f4=new _0x824805(this[_0x249593(0x1c2)]),_0x30b8c7=this[_0x249593(0x1b4)],_0x440190=this[_0x249593(0x1c2)];_0x2d04f4[_0x249593(0x1aa)]({'label':_0x5d23e9(_0x440190,_0x249593(0x1b1)),'withText':!0x1,'icon':_0x1e0495[_0x249593(0x1dc)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x249593(0x1d5)}),_0x2d04f4[_0x249593(0x1de)](_0x249593(0x1c4))['to'](_0x30b8c7,_0x249593(0x1bf)),_0x2d04f4[_0x249593(0x1de)](_0x249593(0x1d2))['to'](this,_0x249593(0x1d2)),_0x2d04f4['on'](_0x249593(0x1b3),()=>{const _0x9509f=_0x249593;_0x30b8c7[_0x9509f(0x1bf)]=!_0x30b8c7[_0x9509f(0x1bf)],_0x30b8c7[_0x9509f(0x1bf)]?this[_0x9509f(0x1ca)][_0x9509f(0x1b6)]():this[_0x9509f(0x1b6)]();});const _0x457f39=()=>{const _0x1e0b10=_0x249593;_0x20ad71[_0x1e0b10(0x1ce)][_0x1e0b10(0x1b9)](()=>{const _0x2c44d6=_0x1e0b10;if(_0x5b38e1(this[_0x2c44d6(0x1cf)])){const _0x25f22a=new _0x5ea499(this[_0x2c44d6(0x1af)][_0x2c44d6(0x1ad)][_0x2c44d6(0x1cf)]),_0x4420ef=_0x25f22a[_0x2c44d6(0x1db)],_0x250346=_0x2c44d6(0x1d4)===_0x440190[_0x2c44d6(0x1c5)]?_0x2c44d6(0x1d1):_0x2c44d6(0x1b7);_0x25f22a[_0x2c44d6(0x1e2)](),_0x2d04f4[_0x2c44d6(0x1cf)][_0x2c44d6(0x1c3)][_0x250346]=_0x4420ef-_0x25f22a[_0x2c44d6(0x1db)]+0x1+'px';}});};return this[_0x249593(0x1af)][_0x249593(0x1ad)]['on'](_0x249593(0x1da),_0x457f39),this['on'](_0x249593(0x1ab),_0x457f39),_0x2d04f4;}[_0x5bed2d(0x1e3)](){const _0x514e39=_0x5bed2d,_0xf00083=this[_0x514e39(0x1af)][_0x514e39(0x1ad)][_0x514e39(0x1cf)][_0x514e39(0x1ac)];this[_0x514e39(0x1e4)](_0x514e39(0x1e3),_0xf00083);}[_0x5bed2d(0x1b6)](_0x342552){const _0x429bcc=_0x5bed2d;-0x1===_0x342552?this[_0x429bcc(0x1e1)][_0x429bcc(0x1b2)]():this[_0x429bcc(0x1e1)][_0x429bcc(0x1d6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e76e8=_0x5866;(function(_0x12ede9,_0x529d36){const _0x56179b=_0x5866,_0x2cd1e2=_0x12ede9();while(!![]){try{const _0x4d2a2b=parseInt(_0x56179b(0x13f))/0x1+-parseInt(_0x56179b(0x155))/0x2+-parseInt(_0x56179b(0x150))/0x3+parseInt(_0x56179b(0x13c))/0x4+-parseInt(_0x56179b(0x156))/0x5*(-parseInt(_0x56179b(0x13b))/0x6)+parseInt(_0x56179b(0x147))/0x7+parseInt(_0x56179b(0x13d))/0x8;if(_0x4d2a2b===_0x529d36)break;else _0x2cd1e2['push'](_0x2cd1e2['shift']());}catch(_0x34e75a){_0x2cd1e2['push'](_0x2cd1e2['shift']());}}}(_0x3da7,0x4871d));function _0x3da7(){const _0x35b414=['Insert\x20below','locale','insertButton','bind','2946202FNgFYr','ck-hidden','addMany','bindTemplate','isVisible','REPLACE','set','replace','toUpperCase','1386696KSpmjf','_createButton','insert','tryAgainButton','stopButton','1155410ZYrMjc','5nzILDJ','Try\x20again','_CONTENT','items','label','ck-button-action','Stop','extendTemplate','180306myqGNH','2035380NsxPvD','2123864jCcJtN','replaceButton','111405FETalM','mainAction','AI_','ck-ai-form__toolbar'];_0x3da7=function(){return _0x35b414;};return _0x3da7();}function _0x5866(_0x17199f,_0x5055e3){const _0x3da78d=_0x3da7();return _0x5866=function(_0x5866a2,_0x37855d){_0x5866a2=_0x5866a2-0x137;let _0x18ab88=_0x3da78d[_0x5866a2];return _0x18ab88;},_0x5866(_0x17199f,_0x5055e3);}import{ToolbarView as _0x3bceb5,ButtonView as _0x1a93cc}from'ckeditor5/src/ui.js';import{getTranslation as _0x54cc33}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1e76e8(0x14e),'INSERT':_0x1e76e8(0x152)};export default class at extends _0x3bceb5{constructor(_0x1ba507){const _0x46c309=_0x1e76e8;super(_0x1ba507),this[_0x46c309(0x14d)](_0x46c309(0x14b),!0x1),this[_0x46c309(0x14d)](_0x46c309(0x140),AIFormToolbarViewMainActionLabel[_0x46c309(0x14c)]),this[_0x46c309(0x13e)]=this[_0x46c309(0x151)]('',_0x46c309(0x138)),this[_0x46c309(0x13e)][_0x46c309(0x146)](_0x46c309(0x137))['to'](this,_0x46c309(0x140),_0x43c4d2=>_0x54cc33(_0x1ba507,_0x46c309(0x141)+_0x43c4d2[_0x46c309(0x14f)]()+_0x46c309(0x158))),this[_0x46c309(0x145)]=this[_0x46c309(0x151)](_0x54cc33(_0x1ba507,_0x46c309(0x143))),this[_0x46c309(0x153)]=this[_0x46c309(0x151)](_0x54cc33(_0x1ba507,_0x46c309(0x157))),this[_0x46c309(0x154)]=this[_0x46c309(0x151)](_0x54cc33(_0x1ba507,_0x46c309(0x139)));const _0x44b97d=this[_0x46c309(0x14a)];this[_0x46c309(0x13a)]({'attributes':{'class':[_0x46c309(0x142),_0x44b97d['if'](_0x46c309(0x14b),_0x46c309(0x148),_0xd51bf6=>!_0xd51bf6)]}}),this[_0x46c309(0x159)][_0x46c309(0x149)]([this[_0x46c309(0x13e)],this[_0x46c309(0x145)],this[_0x46c309(0x153)],this[_0x46c309(0x154)]]);}[_0x1e76e8(0x151)](_0x10ce23,_0x2a0156){const _0x2bc26c=_0x1e76e8,_0x1d7f2f=new _0x1a93cc(this[_0x2bc26c(0x144)]);return _0x1d7f2f[_0x2bc26c(0x14d)]({'label':_0x10ce23,'class':_0x2a0156||'','isVisible':!0x0,'withText':!0x0}),_0x1d7f2f;}}
23
+ function _0x3d58(_0x1cd130,_0x21f15f){const _0x28e7b9=_0x28e7();return _0x3d58=function(_0x3d581d,_0x2803e6){_0x3d581d=_0x3d581d-0x76;let _0x2201ed=_0x28e7b9[_0x3d581d];return _0x2201ed;},_0x3d58(_0x1cd130,_0x21f15f);}function _0x28e7(){const _0x28cc60=['replace','label','_CONTENT','extendTemplate','insert','toUpperCase','ck-hidden','Try\x20again','5528690fjZvTM','Insert\x20below','AI_','ck-ai-form__toolbar','11627456yXnxci','35709AzsVsi','stopButton','ck-button-action','bind','_createButton','replaceButton','mainAction','5313426QDjLPw','8636280rPHSwV','Stop','9UsMKLo','locale','tryAgainButton','5JMdVtP','REPLACE','isVisible','set','6103601jCauce','68AynsxO','insertButton','bindTemplate','items','442770NOBCnK','addMany'];_0x28e7=function(){return _0x28cc60;};return _0x28e7();}const _0x3c96a3=_0x3d58;(function(_0x504571,_0x1d9737){const _0x1a57b8=_0x3d58,_0x18d54d=_0x504571();while(!![]){try{const _0x3883bc=parseInt(_0x1a57b8(0x8f))/0x1*(-parseInt(_0x1a57b8(0x98))/0x2)+parseInt(_0x1a57b8(0x82))/0x3*(parseInt(_0x1a57b8(0x94))/0x4)+parseInt(_0x1a57b8(0x7d))/0x5+-parseInt(_0x1a57b8(0x89))/0x6+parseInt(_0x1a57b8(0x93))/0x7+parseInt(_0x1a57b8(0x81))/0x8*(parseInt(_0x1a57b8(0x8c))/0x9)+-parseInt(_0x1a57b8(0x8a))/0xa;if(_0x3883bc===_0x1d9737)break;else _0x18d54d['push'](_0x18d54d['shift']());}catch(_0x5ae1a0){_0x18d54d['push'](_0x18d54d['shift']());}}}(_0x28e7,0xbdc7c));import{ToolbarView as _0x5dfd02,ButtonView as _0x32501e}from'ckeditor5/src/ui.js';import{getTranslation as _0x112f1c}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3c96a3(0x9a),'INSERT':_0x3c96a3(0x79)};export default class at extends _0x5dfd02{constructor(_0xb34dff){const _0x488f52=_0x3c96a3;super(_0xb34dff),this[_0x488f52(0x92)](_0x488f52(0x91),!0x1),this[_0x488f52(0x92)](_0x488f52(0x88),AIFormToolbarViewMainActionLabel[_0x488f52(0x90)]),this[_0x488f52(0x87)]=this[_0x488f52(0x86)]('',_0x488f52(0x84)),this[_0x488f52(0x87)][_0x488f52(0x85)](_0x488f52(0x76))['to'](this,_0x488f52(0x88),_0x56b187=>_0x112f1c(_0xb34dff,_0x488f52(0x7f)+_0x56b187[_0x488f52(0x7a)]()+_0x488f52(0x77))),this[_0x488f52(0x95)]=this[_0x488f52(0x86)](_0x112f1c(_0xb34dff,_0x488f52(0x7e))),this[_0x488f52(0x8e)]=this[_0x488f52(0x86)](_0x112f1c(_0xb34dff,_0x488f52(0x7c))),this[_0x488f52(0x83)]=this[_0x488f52(0x86)](_0x112f1c(_0xb34dff,_0x488f52(0x8b)));const _0x40415a=this[_0x488f52(0x96)];this[_0x488f52(0x78)]({'attributes':{'class':[_0x488f52(0x80),_0x40415a['if'](_0x488f52(0x91),_0x488f52(0x7b),_0x21e986=>!_0x21e986)]}}),this[_0x488f52(0x97)][_0x488f52(0x99)]([this[_0x488f52(0x87)],this[_0x488f52(0x95)],this[_0x488f52(0x8e)],this[_0x488f52(0x83)]]);}[_0x3c96a3(0x86)](_0x57e55e,_0x1e0d46){const _0x15d713=_0x3c96a3,_0x579809=new _0x32501e(this[_0x15d713(0x8d)]);return _0x579809[_0x15d713(0x92)]({'label':_0x57e55e,'class':_0x1e0d46||'','isVisible':!0x0,'withText':!0x0}),_0x579809;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52309a=_0x4f87;(function(_0x102857,_0x369086){const _0xe9cdb6=_0x4f87,_0x5b4470=_0x102857();while(!![]){try{const _0x235a00=parseInt(_0xe9cdb6(0x1e5))/0x1*(parseInt(_0xe9cdb6(0x1ca))/0x2)+parseInt(_0xe9cdb6(0x1f0))/0x3*(-parseInt(_0xe9cdb6(0x1d4))/0x4)+parseInt(_0xe9cdb6(0x1c3))/0x5*(parseInt(_0xe9cdb6(0x1a9))/0x6)+-parseInt(_0xe9cdb6(0x1cd))/0x7+-parseInt(_0xe9cdb6(0x1f7))/0x8*(parseInt(_0xe9cdb6(0x1d0))/0x9)+parseInt(_0xe9cdb6(0x1b6))/0xa+parseInt(_0xe9cdb6(0x1bc))/0xb;if(_0x235a00===_0x369086)break;else _0x5b4470['push'](_0x5b4470['shift']());}catch(_0x3e1bce){_0x5b4470['push'](_0x5b4470['shift']());}}}(_0x93ad,0xd6fc4));import{FocusTracker as _0x399bea,KeystrokeHandler as _0x5929cd}from'ckeditor5/src/utils.js';function _0x93ad(){const _0x45fa29=['add','fieldView','keystrokes','locale','submit','_createPromptView','items','high','1XzsLOb','set','_promptHistory','listenTo','_createToolbar','label','bindTo','value','stopButton','promptView','isProcessing','1053zIGkTA','queryView','finishProcessing','replaceButton','isEnabled','tryAgainButton','execute','513640cCYykN','focusFirst','insertButton','bindTemplate','trim','createCollection','delegate','chain','656592EEbbye','stopProcessing','focus','errorView','REPLACE','bind','reset','ck-ai-form','tryAgainEvent','AI_ERROR_FAILED','text','render','handleError','828650FcnYOL','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','focusCycler','div','contentArea','element','20910747xannNO','Ask\x20AI\x20to\x20edit\x20or\x20generate','replaceContent','Empty\x20history','isVisible','isError','shift\x20+\x20tab','40mOSowV','setTemplate','focusTracker','mainAction','prompt','search','focusLast','726166XYFggx','Ask\x20AI\x20to\x20improve\x20generated\x20text','_createHistoryView','12093053uYYqTz','ck-hidden','ck-ai-form-content','9kfMrTo','_focusables','copyButtonView','toolbar','6268arMLyM','startProcessing','clear','clearHistory','fire','historyGroupView','submitPrompt','tab','insertContentBelow'];_0x93ad=function(){return _0x45fa29;};return _0x93ad();}import{View as _0x120ccb,FocusCycler as _0x12d09f,createLabeledTextarea as _0x4cc07f}from'ckeditor5/src/ui.js';import _0x34f456,{AIFormToolbarViewMainActionLabel as _0x3fefa5}from'./aiformtoolbarview.js';import _0x156891 from'./aiformcontentarea.js';import _0x22c165 from'./aiformerrorview.js';import _0x166669 from'./aiformpromptview.js';import _0x2bd18b from'./aihistorylistview.js';import _0x2e3878 from'./aihistorylistitemview.js';function _0x4f87(_0x81635c,_0x8be5dd){const _0x93ad3d=_0x93ad();return _0x4f87=function(_0x4f87be,_0x4e2bf1){_0x4f87be=_0x4f87be-0x1a2;let _0x22a319=_0x93ad3d[_0x4f87be];return _0x22a319;},_0x4f87(_0x81635c,_0x8be5dd);}import _0x3895bb from'./prompthistory.js';import{getTranslation as _0x1ff4ae}from'../../utils/common-translations.js';import{escape as _0x4d7aef}from'lodash-es';export default class k extends _0x120ccb{constructor(_0x550d02,_0x285933,_0x2b26bb=''){const _0xc9b031=_0x4f87;super(_0x550d02),this[_0xc9b031(0x1e6)](_0xc9b031(0x1f4),!0x0),this[_0xc9b031(0x1e6)](_0xc9b031(0x1ef),!0x1),this[_0xc9b031(0x1e6)](_0xc9b031(0x1c7),''),this[_0xc9b031(0x1e6)](_0xc9b031(0x1ec),''),this[_0xc9b031(0x1e6)](_0xc9b031(0x1c1),!0x1),this[_0xc9b031(0x1e6)](_0xc9b031(0x1c6),_0x3fefa5[_0xc9b031(0x1ad)]),this[_0xc9b031(0x1e7)]=new _0x3895bb(),this[_0xc9b031(0x1ac)]=new _0x22c165(_0x550d02),this[_0xc9b031(0x1ba)]=new _0x156891(_0x550d02,_0x2b26bb),this[_0xc9b031(0x1ba)][_0xc9b031(0x1ae)](_0xc9b031(0x1ef))['to'](this),this[_0xc9b031(0x1ba)][_0xc9b031(0x1ae)](_0xc9b031(0x1ec))['to'](this),this[_0xc9b031(0x1d3)]=this[_0xc9b031(0x1e9)](),this[_0xc9b031(0x1d3)][_0xc9b031(0x1ae)](_0xc9b031(0x1c6))['to'](this),this[_0xc9b031(0x1ee)]=this[_0xc9b031(0x1e2)](),this[_0xc9b031(0x1c5)]=new _0x399bea(),this[_0xc9b031(0x1df)]=new _0x5929cd(),this[_0xc9b031(0x1d1)]=this[_0xc9b031(0x1a6)]([this[_0xc9b031(0x1ba)],this[_0xc9b031(0x1ba)][_0xc9b031(0x1d2)],this[_0xc9b031(0x1d3)],this[_0xc9b031(0x1ee)]]),this[_0xc9b031(0x1b8)]=new _0x12d09f({'focusables':this[_0xc9b031(0x1d1)],'focusTracker':this[_0xc9b031(0x1c5)],'keystrokeHandler':this[_0xc9b031(0x1df)],'actions':{'focusPrevious':_0xc9b031(0x1c2),'focusNext':_0xc9b031(0x1db)}}),this[_0xc9b031(0x1b8)][_0xc9b031(0x1a8)](this[_0xc9b031(0x1ee)][_0xc9b031(0x1b8)]),this[_0xc9b031(0x1ee)][_0xc9b031(0x1f1)][_0xc9b031(0x1de)][_0xc9b031(0x1ae)](_0xc9b031(0x1ec))['to'](this,_0xc9b031(0x1c7));const _0x50186b=this[_0xc9b031(0x1a4)];this[_0xc9b031(0x1c4)]({'tag':_0xc9b031(0x1b9),'attributes':{'class':['ck',_0xc9b031(0x1b0),_0x285933],'tabindex':'-1'},'children':[{'tag':_0xc9b031(0x1b9),'attributes':{'class':['ck',_0xc9b031(0x1cf)]},'children':[{'tag':_0xc9b031(0x1b9),'attributes':{'class':[_0x50186b['if'](_0xc9b031(0x1c1),_0xc9b031(0x1ce),_0x172bfc=>!_0x172bfc)]},'children':[this[_0xc9b031(0x1ac)]]},this[_0xc9b031(0x1ba)],this[_0xc9b031(0x1d3)],this[_0xc9b031(0x1ee)]]}]});}[_0x52309a(0x1b4)](){const _0x2099aa=_0x52309a;super[_0x2099aa(0x1b4)](),this[_0x2099aa(0x1c5)][_0x2099aa(0x1dd)](this[_0x2099aa(0x1ba)][_0x2099aa(0x1bb)]),this[_0x2099aa(0x1c5)][_0x2099aa(0x1dd)](this[_0x2099aa(0x1ba)][_0x2099aa(0x1d2)][_0x2099aa(0x1bb)]),this[_0x2099aa(0x1c5)][_0x2099aa(0x1dd)](this[_0x2099aa(0x1d3)][_0x2099aa(0x1bb)]),this[_0x2099aa(0x1c5)][_0x2099aa(0x1dd)](this[_0x2099aa(0x1ee)][_0x2099aa(0x1bb)]),this[_0x2099aa(0x1df)][_0x2099aa(0x1e8)](this[_0x2099aa(0x1bb)]);}[_0x52309a(0x1ab)](_0x3fd484=0x1){const _0x7192e8=_0x52309a;-0x1===_0x3fd484?this[_0x7192e8(0x1b8)][_0x7192e8(0x1c9)]():this[_0x7192e8(0x1b8)][_0x7192e8(0x1a2)]();}[_0x52309a(0x1af)](){const _0x3e3ad8=_0x52309a;this[_0x3e3ad8(0x1c7)]='',this[_0x3e3ad8(0x1ec)]='',this[_0x3e3ad8(0x1c1)]=!0x1,this[_0x3e3ad8(0x1ee)][_0x3e3ad8(0x1af)](),this[_0x3e3ad8(0x1ba)][_0x3e3ad8(0x1c0)]=!0x1,this[_0x3e3ad8(0x1d3)][_0x3e3ad8(0x1c0)]=!0x1;}[_0x52309a(0x1e2)](){const _0x113710=_0x52309a,_0x1bf130=this[_0x113710(0x1e0)],_0x457795=new _0x166669(_0x1bf130,{'queryView':{'label':_0x1ff4ae(_0x1bf130,_0x113710(0x1bd)),'creator':_0x4cc07f,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1ff4ae(_0x1bf130,_0x113710(0x1bf)),'secondary':_0x1ff4ae(_0x1bf130,_0x113710(0x1b7))}}},'filteredView':this[_0x113710(0x1cc)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x457795[_0x113710(0x1ae)](_0x113710(0x1f4))['to'](this,_0x113710(0x1f4),this,_0x113710(0x1ef),(_0x4728a2,_0x16abe9)=>_0x4728a2&&!_0x16abe9),this[_0x113710(0x1e8)](_0x457795,_0x113710(0x1e1),(_0x2a6758,_0x1ba13f)=>{const _0x2c9a2c=_0x113710;this[_0x2c9a2c(0x1c7)]=_0x1ba13f;const _0x38edaf=_0x4d7aef(_0x1ba13f);this[_0x2c9a2c(0x1d8)](_0x2c9a2c(0x1da),_0x38edaf),_0x1ba13f[_0x2c9a2c(0x1a5)]()&&this[_0x2c9a2c(0x1e7)][_0x2c9a2c(0x1dd)]({'prompt':_0x38edaf},0x0);},{'priority':_0x113710(0x1e4)}),_0x457795;}[_0x52309a(0x1cc)](){const _0x44b461=_0x52309a,_0x3b7d43=new _0x2bd18b(this[_0x44b461(0x1e0)]);return _0x3b7d43[_0x44b461(0x1d9)][_0x44b461(0x1e3)][_0x44b461(0x1eb)](this[_0x44b461(0x1e7)])['as'](_0x2e3878),_0x3b7d43['on'](_0x44b461(0x1d7),()=>{const _0x22e515=_0x44b461;this[_0x22e515(0x1e7)][_0x22e515(0x1d6)](),this[_0x22e515(0x1ee)][_0x22e515(0x1c8)](''),this[_0x22e515(0x1ee)][_0x22e515(0x1ab)]();}),_0x3b7d43;}[_0x52309a(0x1e9)](){const _0x355275=_0x52309a,_0x28cc8c=new _0x34f456(this[_0x355275(0x1e0)]);return _0x28cc8c[_0x355275(0x1f3)][_0x355275(0x1ae)](_0x355275(0x1f4))['to'](this,_0x355275(0x1f4),this,_0x355275(0x1ef),this,_0x355275(0x1ec),(_0x4f046e,_0x18d53e,_0x1b5380)=>_0x4f046e&&!_0x18d53e&&!!_0x1b5380),_0x28cc8c[_0x355275(0x1f3)][_0x355275(0x1a7)](_0x355275(0x1f6))['to'](this,_0x355275(0x1be)),_0x28cc8c[_0x355275(0x1a3)][_0x355275(0x1ae)](_0x355275(0x1f4))['to'](this,_0x355275(0x1f4),this,_0x355275(0x1ef),this,_0x355275(0x1ec),(_0x370003,_0x4e795f,_0x2d7238)=>_0x370003&&!_0x4e795f&&!!_0x2d7238),_0x28cc8c[_0x355275(0x1a3)][_0x355275(0x1a7)](_0x355275(0x1f6))['to'](this,_0x355275(0x1dc)),_0x28cc8c[_0x355275(0x1f5)][_0x355275(0x1ae)](_0x355275(0x1f4))['to'](this,_0x355275(0x1f4),this,_0x355275(0x1ef),(_0x10011f,_0x109abc)=>_0x10011f&&!_0x109abc),_0x28cc8c[_0x355275(0x1f5)][_0x355275(0x1a7)](_0x355275(0x1f6))['to'](this,_0x355275(0x1b1)),_0x28cc8c[_0x355275(0x1ed)][_0x355275(0x1ae)](_0x355275(0x1f4))['to'](this,_0x355275(0x1ef)),_0x28cc8c[_0x355275(0x1ed)][_0x355275(0x1a7)](_0x355275(0x1f6))['to'](this,_0x355275(0x1aa)),_0x28cc8c;}[_0x52309a(0x1d5)](){const _0x8afb12=_0x52309a;this[_0x8afb12(0x1ec)]='',this[_0x8afb12(0x1c1)]=!0x1,this[_0x8afb12(0x1ef)]=!0x0,this[_0x8afb12(0x1ba)][_0x8afb12(0x1c0)]=!0x0,this[_0x8afb12(0x1d3)][_0x8afb12(0x1c0)]=!0x0,this[_0x8afb12(0x1ba)][_0x8afb12(0x1ab)]();}[_0x52309a(0x1f2)](){const _0xa549ba=_0x52309a,_0x11cf42=this[_0xa549ba(0x1e0)];this[_0xa549ba(0x1ef)]=!0x1,this[_0xa549ba(0x1c7)]='',this[_0xa549ba(0x1ee)][_0xa549ba(0x1af)](),this[_0xa549ba(0x1ec)]&&(this[_0xa549ba(0x1ee)][_0xa549ba(0x1f1)][_0xa549ba(0x1ea)]=_0x1ff4ae(_0x11cf42,_0xa549ba(0x1cb)));}[_0x52309a(0x1b5)](_0x438702){const _0x3f67d8=_0x52309a,_0xbcbd60=this[_0x3f67d8(0x1e0)];this[_0x3f67d8(0x1f2)](),this[_0x3f67d8(0x1c1)]=!0x0,this[_0x3f67d8(0x1ac)][_0x3f67d8(0x1b3)]=_0x438702||_0x1ff4ae(_0xbcbd60,_0x3f67d8(0x1b2)),this[_0x3f67d8(0x1ec)]||(this[_0x3f67d8(0x1ba)][_0x3f67d8(0x1c0)]=!0x1);}}
23
+ const _0x5c9809=_0x101b;(function(_0x597bad,_0x34e379){const _0x9f5f15=_0x101b,_0x1735c8=_0x597bad();while(!![]){try{const _0x3b9ce5=parseInt(_0x9f5f15(0x124))/0x1*(parseInt(_0x9f5f15(0xed))/0x2)+-parseInt(_0x9f5f15(0xe5))/0x3+parseInt(_0x9f5f15(0xdb))/0x4*(-parseInt(_0x9f5f15(0xf1))/0x5)+parseInt(_0x9f5f15(0xe2))/0x6+parseInt(_0x9f5f15(0x10e))/0x7+-parseInt(_0x9f5f15(0x11a))/0x8*(parseInt(_0x9f5f15(0xef))/0x9)+parseInt(_0x9f5f15(0xd6))/0xa*(-parseInt(_0x9f5f15(0xe1))/0xb);if(_0x3b9ce5===_0x34e379)break;else _0x1735c8['push'](_0x1735c8['shift']());}catch(_0x550d32){_0x1735c8['push'](_0x1735c8['shift']());}}}(_0xd291,0xd4f21));import{FocusTracker as _0x56444e,KeystrokeHandler as _0x326a56}from'ckeditor5/src/utils.js';import{View as _0x4da403,FocusCycler as _0x5475d1,createLabeledTextarea as _0x4fb39e}from'ckeditor5/src/ui.js';import _0x2fdd4b,{AIFormToolbarViewMainActionLabel as _0x13f022}from'./aiformtoolbarview.js';import _0x48399a from'./aiformcontentarea.js';import _0xfcc96a from'./aiformerrorview.js';import _0x5b6530 from'./aiformpromptview.js';import _0x45de1c from'./aihistorylistview.js';import _0x57a83d from'./aihistorylistitemview.js';import _0x259dcf from'./prompthistory.js';function _0xd291(){const _0x49c085=['delegate','AI_ERROR_FAILED','bind','chain','clearHistory','tryAgainEvent','replaceButton','handleError','stopProcessing','focusFirst','_promptHistory','_createPromptView','label','element','queryView','8308125ZKKhkq','bindTo','locale','high','isVisible','Empty\x20history','createCollection','errorView','set','stopButton','prompt','div','1160datGYK','startProcessing','insertContentBelow','shift\x20+\x20tab','ck-ai-form','Ask\x20AI\x20to\x20improve\x20generated\x20text','contentArea','insertButton','trim','setTemplate','82321rbpZkh','isProcessing','isError','finishProcessing','copyButtonView','add','mainAction','tryAgainButton','3330kOlPmg','replaceContent','render','historyGroupView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','2748772tkCLbM','_focusables','keystrokes','Ask\x20AI\x20to\x20edit\x20or\x20generate','tab','ck-hidden','38489YMhdmB','10381326wObwYd','_createToolbar','REPLACE','387756LlEqyS','clear','toolbar','ck-ai-form-content','focus','value','fire','text','2nGpZTw','submit','9036MnfQzF','_createHistoryView','5WuOyoo','bindTemplate','execute','submitPrompt','isEnabled','listenTo','focusTracker','focusLast','search','reset','items','promptView','focusCycler','fieldView'];_0xd291=function(){return _0x49c085;};return _0xd291();}import{getTranslation as _0x1c36c4}from'../../utils/common-translations.js';function _0x101b(_0x24a63a,_0x439518){const _0xd29103=_0xd291();return _0x101b=function(_0x101b9e,_0x5e111d){_0x101b9e=_0x101b9e-0xd4;let _0x11f415=_0xd29103[_0x101b9e];return _0x11f415;},_0x101b(_0x24a63a,_0x439518);}import{escape as _0x468a3f}from'lodash-es';export default class k extends _0x4da403{constructor(_0x313031,_0x3a4f59,_0x47a256=''){const _0x3c7cd7=_0x101b;super(_0x313031),this[_0x3c7cd7(0x116)](_0x3c7cd7(0xf5),!0x0),this[_0x3c7cd7(0x116)](_0x3c7cd7(0x125),!0x1),this[_0x3c7cd7(0x116)](_0x3c7cd7(0x118),''),this[_0x3c7cd7(0x116)](_0x3c7cd7(0xea),''),this[_0x3c7cd7(0x116)](_0x3c7cd7(0x126),!0x1),this[_0x3c7cd7(0x116)](_0x3c7cd7(0xd4),_0x13f022[_0x3c7cd7(0xe4)]),this[_0x3c7cd7(0x109)]=new _0x259dcf(),this[_0x3c7cd7(0x115)]=new _0xfcc96a(_0x313031),this[_0x3c7cd7(0x120)]=new _0x48399a(_0x313031,_0x47a256),this[_0x3c7cd7(0x120)][_0x3c7cd7(0x101)](_0x3c7cd7(0x125))['to'](this),this[_0x3c7cd7(0x120)][_0x3c7cd7(0x101)](_0x3c7cd7(0xea))['to'](this),this[_0x3c7cd7(0xe7)]=this[_0x3c7cd7(0xe3)](),this[_0x3c7cd7(0xe7)][_0x3c7cd7(0x101)](_0x3c7cd7(0xd4))['to'](this),this[_0x3c7cd7(0xfc)]=this[_0x3c7cd7(0x10a)](),this[_0x3c7cd7(0xf7)]=new _0x56444e(),this[_0x3c7cd7(0xdd)]=new _0x326a56(),this[_0x3c7cd7(0xdc)]=this[_0x3c7cd7(0x114)]([this[_0x3c7cd7(0x120)],this[_0x3c7cd7(0x120)][_0x3c7cd7(0x128)],this[_0x3c7cd7(0xe7)],this[_0x3c7cd7(0xfc)]]),this[_0x3c7cd7(0xfd)]=new _0x5475d1({'focusables':this[_0x3c7cd7(0xdc)],'focusTracker':this[_0x3c7cd7(0xf7)],'keystrokeHandler':this[_0x3c7cd7(0xdd)],'actions':{'focusPrevious':_0x3c7cd7(0x11d),'focusNext':_0x3c7cd7(0xdf)}}),this[_0x3c7cd7(0xfd)][_0x3c7cd7(0x102)](this[_0x3c7cd7(0xfc)][_0x3c7cd7(0xfd)]),this[_0x3c7cd7(0xfc)][_0x3c7cd7(0x10d)][_0x3c7cd7(0xfe)][_0x3c7cd7(0x101)](_0x3c7cd7(0xea))['to'](this,_0x3c7cd7(0x118));const _0x2475f5=this[_0x3c7cd7(0xf2)];this[_0x3c7cd7(0x123)]({'tag':_0x3c7cd7(0x119),'attributes':{'class':['ck',_0x3c7cd7(0x11e),_0x3a4f59],'tabindex':'-1'},'children':[{'tag':_0x3c7cd7(0x119),'attributes':{'class':['ck',_0x3c7cd7(0xe8)]},'children':[{'tag':_0x3c7cd7(0x119),'attributes':{'class':[_0x2475f5['if'](_0x3c7cd7(0x126),_0x3c7cd7(0xe0),_0x4c77ab=>!_0x4c77ab)]},'children':[this[_0x3c7cd7(0x115)]]},this[_0x3c7cd7(0x120)],this[_0x3c7cd7(0xe7)],this[_0x3c7cd7(0xfc)]]}]});}[_0x5c9809(0xd8)](){const _0x14ce84=_0x5c9809;super[_0x14ce84(0xd8)](),this[_0x14ce84(0xf7)][_0x14ce84(0x129)](this[_0x14ce84(0x120)][_0x14ce84(0x10c)]),this[_0x14ce84(0xf7)][_0x14ce84(0x129)](this[_0x14ce84(0x120)][_0x14ce84(0x128)][_0x14ce84(0x10c)]),this[_0x14ce84(0xf7)][_0x14ce84(0x129)](this[_0x14ce84(0xe7)][_0x14ce84(0x10c)]),this[_0x14ce84(0xf7)][_0x14ce84(0x129)](this[_0x14ce84(0xfc)][_0x14ce84(0x10c)]),this[_0x14ce84(0xdd)][_0x14ce84(0xf6)](this[_0x14ce84(0x10c)]);}[_0x5c9809(0xe9)](_0x3938e0=0x1){const _0x110d1a=_0x5c9809;-0x1===_0x3938e0?this[_0x110d1a(0xfd)][_0x110d1a(0xf8)]():this[_0x110d1a(0xfd)][_0x110d1a(0x108)]();}[_0x5c9809(0xfa)](){const _0x4355aa=_0x5c9809;this[_0x4355aa(0x118)]='',this[_0x4355aa(0xea)]='',this[_0x4355aa(0x126)]=!0x1,this[_0x4355aa(0xfc)][_0x4355aa(0xfa)](),this[_0x4355aa(0x120)][_0x4355aa(0x112)]=!0x1,this[_0x4355aa(0xe7)][_0x4355aa(0x112)]=!0x1;}[_0x5c9809(0x10a)](){const _0x15e66f=_0x5c9809,_0x57994c=this[_0x15e66f(0x110)],_0x4ebada=new _0x5b6530(_0x57994c,{'queryView':{'label':_0x1c36c4(_0x57994c,_0x15e66f(0xde)),'creator':_0x4fb39e,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1c36c4(_0x57994c,_0x15e66f(0x113)),'secondary':_0x1c36c4(_0x57994c,_0x15e66f(0xda))}}},'filteredView':this[_0x15e66f(0xf0)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4ebada[_0x15e66f(0x101)](_0x15e66f(0xf5))['to'](this,_0x15e66f(0xf5),this,_0x15e66f(0x125),(_0x7f5791,_0x1e0119)=>_0x7f5791&&!_0x1e0119),this[_0x15e66f(0xf6)](_0x4ebada,_0x15e66f(0xee),(_0x27f600,_0x561da8)=>{const _0xa17338=_0x15e66f;this[_0xa17338(0x118)]=_0x561da8;const _0x3a8455=_0x468a3f(_0x561da8);this[_0xa17338(0xeb)](_0xa17338(0xf4),_0x3a8455),_0x561da8[_0xa17338(0x122)]()&&this[_0xa17338(0x109)][_0xa17338(0x129)]({'prompt':_0x3a8455},0x0);},{'priority':_0x15e66f(0x111)}),_0x4ebada;}[_0x5c9809(0xf0)](){const _0x5ada76=_0x5c9809,_0x277127=new _0x45de1c(this[_0x5ada76(0x110)]);return _0x277127[_0x5ada76(0xd9)][_0x5ada76(0xfb)][_0x5ada76(0x10f)](this[_0x5ada76(0x109)])['as'](_0x57a83d),_0x277127['on'](_0x5ada76(0x103),()=>{const _0x5a8141=_0x5ada76;this[_0x5a8141(0x109)][_0x5a8141(0xe6)](),this[_0x5a8141(0xfc)][_0x5a8141(0xf9)](''),this[_0x5a8141(0xfc)][_0x5a8141(0xe9)]();}),_0x277127;}[_0x5c9809(0xe3)](){const _0xa2c14a=_0x5c9809,_0x4b7b78=new _0x2fdd4b(this[_0xa2c14a(0x110)]);return _0x4b7b78[_0xa2c14a(0x105)][_0xa2c14a(0x101)](_0xa2c14a(0xf5))['to'](this,_0xa2c14a(0xf5),this,_0xa2c14a(0x125),this,_0xa2c14a(0xea),(_0x186b0b,_0x16ef95,_0x54089e)=>_0x186b0b&&!_0x16ef95&&!!_0x54089e),_0x4b7b78[_0xa2c14a(0x105)][_0xa2c14a(0xff)](_0xa2c14a(0xf3))['to'](this,_0xa2c14a(0xd7)),_0x4b7b78[_0xa2c14a(0x121)][_0xa2c14a(0x101)](_0xa2c14a(0xf5))['to'](this,_0xa2c14a(0xf5),this,_0xa2c14a(0x125),this,_0xa2c14a(0xea),(_0x59f45b,_0x809bbd,_0x58e009)=>_0x59f45b&&!_0x809bbd&&!!_0x58e009),_0x4b7b78[_0xa2c14a(0x121)][_0xa2c14a(0xff)](_0xa2c14a(0xf3))['to'](this,_0xa2c14a(0x11c)),_0x4b7b78[_0xa2c14a(0xd5)][_0xa2c14a(0x101)](_0xa2c14a(0xf5))['to'](this,_0xa2c14a(0xf5),this,_0xa2c14a(0x125),(_0x1380d5,_0x4f2ac1)=>_0x1380d5&&!_0x4f2ac1),_0x4b7b78[_0xa2c14a(0xd5)][_0xa2c14a(0xff)](_0xa2c14a(0xf3))['to'](this,_0xa2c14a(0x104)),_0x4b7b78[_0xa2c14a(0x117)][_0xa2c14a(0x101)](_0xa2c14a(0xf5))['to'](this,_0xa2c14a(0x125)),_0x4b7b78[_0xa2c14a(0x117)][_0xa2c14a(0xff)](_0xa2c14a(0xf3))['to'](this,_0xa2c14a(0x107)),_0x4b7b78;}[_0x5c9809(0x11b)](){const _0x3bc73a=_0x5c9809;this[_0x3bc73a(0xea)]='',this[_0x3bc73a(0x126)]=!0x1,this[_0x3bc73a(0x125)]=!0x0,this[_0x3bc73a(0x120)][_0x3bc73a(0x112)]=!0x0,this[_0x3bc73a(0xe7)][_0x3bc73a(0x112)]=!0x0,this[_0x3bc73a(0x120)][_0x3bc73a(0xe9)]();}[_0x5c9809(0x127)](){const _0x156256=_0x5c9809,_0x204edc=this[_0x156256(0x110)];this[_0x156256(0x125)]=!0x1,this[_0x156256(0x118)]='',this[_0x156256(0xfc)][_0x156256(0xfa)](),this[_0x156256(0xea)]&&(this[_0x156256(0xfc)][_0x156256(0x10d)][_0x156256(0x10b)]=_0x1c36c4(_0x204edc,_0x156256(0x11f)));}[_0x5c9809(0x106)](_0x15bc8c){const _0xda4fe9=_0x5c9809,_0x49dc6a=this[_0xda4fe9(0x110)];this[_0xda4fe9(0x127)](),this[_0xda4fe9(0x126)]=!0x0,this[_0xda4fe9(0x115)][_0xda4fe9(0xec)]=_0x15bc8c||_0x1c36c4(_0x49dc6a,_0xda4fe9(0x100)),this[_0xda4fe9(0xea)]||(this[_0xda4fe9(0x120)][_0xda4fe9(0x112)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x183d41,_0x41fce4){const _0x1df87e=_0x4141,_0x21738f=_0x183d41();while(!![]){try{const _0x9d3dde=parseInt(_0x1df87e(0x102))/0x1+-parseInt(_0x1df87e(0xff))/0x2*(-parseInt(_0x1df87e(0x106))/0x3)+parseInt(_0x1df87e(0xf9))/0x4+-parseInt(_0x1df87e(0x103))/0x5+-parseInt(_0x1df87e(0xfd))/0x6+parseInt(_0x1df87e(0xfa))/0x7+-parseInt(_0x1df87e(0xf8))/0x8*(parseInt(_0x1df87e(0x105))/0x9);if(_0x9d3dde===_0x41fce4)break;else _0x21738f['push'](_0x21738f['shift']());}catch(_0x4a4a89){_0x21738f['push'](_0x21738f['shift']());}}}(_0x32c0,0xb021e));import{ListItemView as _0x20354d,ButtonView as _0x2dbaaa,ButtonLabelView as _0x38d48e}from'ckeditor5/src/ui.js';function _0x4141(_0x305acb,_0x4ed1f5){const _0x32c0a7=_0x32c0();return _0x4141=function(_0x414130,_0xe9b53f){_0x414130=_0x414130-0xf8;let _0xacfce8=_0x32c0a7[_0x414130];return _0xacfce8;},_0x4141(_0x305acb,_0x4ed1f5);}import{unescape as _0xbca1a9}from'lodash-es';function _0x32c0(){const _0x576c8a=['children','612877XkOGVM','4762175msqiaG','execute','9irJPMk','3575460DEOaOf','fire','4899056csXzhr','1459928CqLjLS','7234255yHxKyH','add','set','5501334LvsRTE','locale','2lToFIQ','prompt'];_0x32c0=function(){return _0x576c8a;};return _0x32c0();}export default class hs extends _0x20354d{constructor(_0x3c4823){const _0x3b87de=_0x4141;super();const _0x46155c=new _0x38d48e(),_0x4422be=new _0x2dbaaa(this[_0x3b87de(0xfe)],_0x46155c);this[_0x3b87de(0x101)][_0x3b87de(0xfb)](_0x4422be),_0x4422be[_0x3b87de(0xfc)]({'label':_0x3c4823[_0x3b87de(0x100)],'withText':!0x0}),_0x4422be['on'](_0x3b87de(0x104),()=>{const _0x4a67e1=_0x3b87de;this[_0x4a67e1(0x107)](_0x4a67e1(0x104),{'value':_0xbca1a9(_0x3c4823[_0x4a67e1(0x100)])});});}}
23
+ function _0x2056(){const _0x5473d0=['fire','children','1056876oFKpdZ','573148IrXMwU','locale','18hNfCuZ','set','2290044TBdKjW','2INtGOE','add','126JmdCQr','50159YMqmfC','193380zqRjZm','44826nTtqic','5UoKfUI','3082832alZVJR','execute','55uishEU','prompt'];_0x2056=function(){return _0x5473d0;};return _0x2056();}function _0x6a68(_0x392937,_0x5c1620){const _0x20562a=_0x2056();return _0x6a68=function(_0x6a687d,_0x5ad2a2){_0x6a687d=_0x6a687d-0x1a3;let _0x247876=_0x20562a[_0x6a687d];return _0x247876;},_0x6a68(_0x392937,_0x5c1620);}(function(_0xa932cd,_0x2c806b){const _0x24251a=_0x6a68,_0x5d49c3=_0xa932cd();while(!![]){try{const _0x279a5e=parseInt(_0x24251a(0x1ad))/0x1*(-parseInt(_0x24251a(0x1aa))/0x2)+-parseInt(_0x24251a(0x1a4))/0x3+-parseInt(_0x24251a(0x1a5))/0x4*(parseInt(_0x24251a(0x1b0))/0x5)+-parseInt(_0x24251a(0x1af))/0x6*(-parseInt(_0x24251a(0x1ac))/0x7)+-parseInt(_0x24251a(0x1b1))/0x8+parseInt(_0x24251a(0x1a7))/0x9*(parseInt(_0x24251a(0x1ae))/0xa)+-parseInt(_0x24251a(0x1b3))/0xb*(-parseInt(_0x24251a(0x1a9))/0xc);if(_0x279a5e===_0x2c806b)break;else _0x5d49c3['push'](_0x5d49c3['shift']());}catch(_0x5b1089){_0x5d49c3['push'](_0x5d49c3['shift']());}}}(_0x2056,0x2fe97));import{ListItemView as _0x377f92,ButtonView as _0x4e82d2,ButtonLabelView as _0x33449a}from'ckeditor5/src/ui.js';import{unescape as _0x7b76a4}from'lodash-es';export default class hs extends _0x377f92{constructor(_0x4229da){const _0x2d692c=_0x6a68;super();const _0x593f12=new _0x33449a(),_0x28e1e2=new _0x4e82d2(this[_0x2d692c(0x1a6)],_0x593f12);this[_0x2d692c(0x1a3)][_0x2d692c(0x1ab)](_0x28e1e2),_0x28e1e2[_0x2d692c(0x1a8)]({'label':_0x4229da[_0x2d692c(0x1b4)],'withText':!0x0}),_0x28e1e2['on'](_0x2d692c(0x1b2),()=>{const _0x4ee5b0=_0x2d692c;this[_0x4ee5b0(0x1b5)](_0x4ee5b0(0x1b2),{'value':_0x7b76a4(_0x4229da[_0x4ee5b0(0x1b4)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2307(_0x47fe12,_0x3f74a6){const _0x4b9a83=_0x4b9a();return _0x2307=function(_0x230796,_0x80a874){_0x230796=_0x230796-0x96;let _0x4c2d57=_0x4b9a83[_0x230796];return _0x4c2d57;},_0x2307(_0x47fe12,_0x3f74a6);}function _0x4b9a(){const _0xb67fc9=['clearHistoryButton','locale','items','743584QsJcom','execute','14503056jXeLLu','set','fire','1437249NpbcyX','delegate','filter','7anPQNl','add','_createClearHistoryButton','Prompt\x20history','840050dCydkY','clearHistory','1477192HzfqoZ','356400tRdruf','length','children','historyGroupView','Clear','3640105pkCeEH','label'];_0x4b9a=function(){return _0xb67fc9;};return _0x4b9a();}const _0x377731=_0x2307;(function(_0x66574b,_0x196a15){const _0x43fee4=_0x2307,_0x189a44=_0x66574b();while(!![]){try{const _0x34588c=parseInt(_0x43fee4(0xa2))/0x1+-parseInt(_0x43fee4(0xae))/0x2+-parseInt(_0x43fee4(0xa7))/0x3+-parseInt(_0x43fee4(0x97))/0x4+-parseInt(_0x43fee4(0x9d))/0x5+-parseInt(_0x43fee4(0x98))/0x6+-parseInt(_0x43fee4(0xaa))/0x7*(-parseInt(_0x43fee4(0xa4))/0x8);if(_0x34588c===_0x196a15)break;else _0x189a44['push'](_0x189a44['shift']());}catch(_0x156f98){_0x189a44['push'](_0x189a44['shift']());}}}(_0x4b9a,0x7a39f));import{ListView as _0x58ffb6,ListItemGroupView as _0x1d5a19,ButtonView as _0x446bac}from'ckeditor5/src/ui.js';import{getTranslation as _0x3d4c3e}from'../../utils/common-translations.js';export default class rs extends _0x58ffb6{constructor(_0xfef65f){const _0x2035a6=_0x2307;super(_0xfef65f),this[_0x2035a6(0x9f)]=this[_0x2035a6(0xac)](),this[_0x2035a6(0x9b)]=new _0x1d5a19(),this[_0x2035a6(0x9b)][_0x2035a6(0x9a)][_0x2035a6(0xab)](this[_0x2035a6(0x9f)],0x1),this[_0x2035a6(0x9b)][_0x2035a6(0x9e)]=_0x3d4c3e(_0xfef65f,_0x2035a6(0xad)),this[_0x2035a6(0x9b)][_0x2035a6(0xa1)][_0x2035a6(0xa8)](_0x2035a6(0xa3))['to'](this),this[_0x2035a6(0xa1)][_0x2035a6(0xab)](this[_0x2035a6(0x9b)]);}[_0x377731(0xa9)](){const _0x4a1985=_0x377731;let _0x1f173a=0x0;for(const _0x14e6f1 of this[_0x4a1985(0xa1)])_0x1f173a+=_0x14e6f1[_0x4a1985(0xa1)][_0x4a1985(0x99)];return{'resultsCount':_0x1f173a,'totalItemsCount':_0x1f173a};}[_0x377731(0xac)](){const _0x5ec176=_0x377731,_0x3604b9=this[_0x5ec176(0xa0)],_0x5c3896=new _0x446bac(this[_0x5ec176(0xa0)]);return _0x5c3896[_0x5ec176(0xa5)]({'label':'('+_0x3d4c3e(_0x3604b9,_0x5ec176(0x9c))+')','withText':!0x0}),_0x5c3896['on'](_0x5ec176(0xa3),()=>this[_0x5ec176(0xa6)](_0x5ec176(0x96))),_0x5c3896;}}
23
+ const _0x17471c=_0x5597;(function(_0x3eece6,_0x58c9e6){const _0x11b11d=_0x5597,_0xb09838=_0x3eece6();while(!![]){try{const _0x3129d5=-parseInt(_0x11b11d(0x89))/0x1+parseInt(_0x11b11d(0x8f))/0x2+-parseInt(_0x11b11d(0x8a))/0x3+parseInt(_0x11b11d(0x94))/0x4+parseInt(_0x11b11d(0x91))/0x5+parseInt(_0x11b11d(0x8d))/0x6*(parseInt(_0x11b11d(0x8b))/0x7)+-parseInt(_0x11b11d(0x9b))/0x8;if(_0x3129d5===_0x58c9e6)break;else _0xb09838['push'](_0xb09838['shift']());}catch(_0x4b0fcd){_0xb09838['push'](_0xb09838['shift']());}}}(_0x5c01,0x9e969));import{ListView as _0x11b6f7,ListItemGroupView as _0x531460,ButtonView as _0x532b27}from'ckeditor5/src/ui.js';import{getTranslation as _0xa0817}from'../../utils/common-translations.js';function _0x5597(_0x501cb7,_0x16ebc8){const _0x5c0102=_0x5c01();return _0x5597=function(_0x559782,_0xe6fe2c){_0x559782=_0x559782-0x84;let _0x1492d0=_0x5c0102[_0x559782];return _0x1492d0;},_0x5597(_0x501cb7,_0x16ebc8);}function _0x5c01(){const _0x5a11ea=['fire','length','clearHistory','clearHistoryButton','label','_createClearHistoryButton','9309992qbWMht','set','delegate','execute','items','add','children','533409MXVTqn','2006547efspeL','121324gFdzzq','Prompt\x20history','276bggqqK','Clear','747242GxZCno','locale','4511715AlXCLB','historyGroupView','filter','3769392LwWciA'];_0x5c01=function(){return _0x5a11ea;};return _0x5c01();}export default class rs extends _0x11b6f7{constructor(_0x45069f){const _0x217e39=_0x5597;super(_0x45069f),this[_0x217e39(0x98)]=this[_0x217e39(0x9a)](),this[_0x217e39(0x92)]=new _0x531460(),this[_0x217e39(0x92)][_0x217e39(0x88)][_0x217e39(0x87)](this[_0x217e39(0x98)],0x1),this[_0x217e39(0x92)][_0x217e39(0x99)]=_0xa0817(_0x45069f,_0x217e39(0x8c)),this[_0x217e39(0x92)][_0x217e39(0x86)][_0x217e39(0x84)](_0x217e39(0x85))['to'](this),this[_0x217e39(0x86)][_0x217e39(0x87)](this[_0x217e39(0x92)]);}[_0x17471c(0x93)](){const _0x2a958c=_0x17471c;let _0x573ce6=0x0;for(const _0x46ef81 of this[_0x2a958c(0x86)])_0x573ce6+=_0x46ef81[_0x2a958c(0x86)][_0x2a958c(0x96)];return{'resultsCount':_0x573ce6,'totalItemsCount':_0x573ce6};}[_0x17471c(0x9a)](){const _0x1c825d=_0x17471c,_0x3a2bd0=this[_0x1c825d(0x90)],_0x36dad3=new _0x532b27(this[_0x1c825d(0x90)]);return _0x36dad3[_0x1c825d(0x9c)]({'label':'('+_0xa0817(_0x3a2bd0,_0x1c825d(0x8e))+')','withText':!0x0}),_0x36dad3['on'](_0x1c825d(0x85),()=>this[_0x1c825d(0x95)](_0x1c825d(0x97))),_0x36dad3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58fb15=_0x4d30;(function(_0x1d2b7a,_0x5c4fb0){const _0x46ac08=_0x4d30,_0x41c15e=_0x1d2b7a();while(!![]){try{const _0x1d95e4=parseInt(_0x46ac08(0x198))/0x1*(parseInt(_0x46ac08(0x19f))/0x2)+parseInt(_0x46ac08(0x18d))/0x3*(parseInt(_0x46ac08(0x193))/0x4)+-parseInt(_0x46ac08(0x18f))/0x5*(-parseInt(_0x46ac08(0x18a))/0x6)+parseInt(_0x46ac08(0x19e))/0x7+parseInt(_0x46ac08(0x191))/0x8+-parseInt(_0x46ac08(0x1a1))/0x9*(-parseInt(_0x46ac08(0x1a2))/0xa)+-parseInt(_0x46ac08(0x19b))/0xb;if(_0x1d95e4===_0x5c4fb0)break;else _0x41c15e['push'](_0x41c15e['shift']());}catch(_0x2627c2){_0x41c15e['push'](_0x41c15e['shift']());}}}(_0x76cf,0x91ad6));function _0x76cf(){const _0x300e93=['last','_saveToSessionStorage','7860916AjZxVq','2SfyqPR','setItem','9IGeOtp','3219430HGXTaV','getItem','length','372678vVlyLL','CKEditor/AIFormView/PromptHistory','remove','1090707uGmgbz','prompt','70ovyDsk','toLowerCase','6940328ttiCkD','trim','4WSywjo','stringify','parse','add','map','778944jVFMMX','_loadFromSessionStorage','addMany','41006603DrTfoS'];_0x76cf=function(){return _0x300e93;};return _0x76cf();}import{Collection as _0x13ef3b}from'ckeditor5/src/utils.js';const cs=_0x58fb15(0x18b);export default class os extends _0x13ef3b{constructor(){const _0x550562=_0x58fb15;super(),this[_0x550562(0x199)](),this['on'](_0x550562(0x196),(_0x41150e,_0x28e7f8)=>{const _0x33f38b=_0x550562,_0x23cf73=Ss(_0x28e7f8[_0x33f38b(0x18e)]);for(const _0x1dddb5 of this)if(_0x1dddb5!=_0x28e7f8&&Ss(_0x1dddb5[_0x33f38b(0x18e)])===_0x23cf73){this[_0x33f38b(0x18c)](_0x1dddb5);break;}this[_0x33f38b(0x1a4)]>0x14&&this[_0x33f38b(0x18c)](this[_0x33f38b(0x19c)]),this[_0x33f38b(0x19d)]();}),this['on'](_0x550562(0x18c),()=>{const _0x22a236=_0x550562;this[_0x22a236(0x19d)]();});}[_0x58fb15(0x199)](){const _0x2e5706=_0x58fb15,_0x116e4e=sessionStorage[_0x2e5706(0x1a3)](cs)||'[]';this[_0x2e5706(0x19a)](JSON[_0x2e5706(0x195)](_0x116e4e));}[_0x58fb15(0x19d)](){const _0x547acf=_0x58fb15;sessionStorage[_0x547acf(0x1a0)](cs,JSON[_0x547acf(0x194)](this[_0x547acf(0x197)](_0x3bec24=>_0x3bec24)));}}function _0x4d30(_0x43835d,_0x39b9bc){const _0x76cfc5=_0x76cf();return _0x4d30=function(_0x4d3082,_0x5a45f8){_0x4d3082=_0x4d3082-0x18a;let _0x28806b=_0x76cfc5[_0x4d3082];return _0x28806b;},_0x4d30(_0x43835d,_0x39b9bc);}function Ss(_0x1ecae3){const _0x16bd6a=_0x58fb15;return _0x1ecae3[_0x16bd6a(0x190)]()[_0x16bd6a(0x192)]();}
23
+ const _0x2e8475=_0x40c5;(function(_0x145fa8,_0x51e280){const _0x70fdec=_0x40c5,_0xc01113=_0x145fa8();while(!![]){try{const _0x4ea15f=parseInt(_0x70fdec(0x17d))/0x1*(-parseInt(_0x70fdec(0x187))/0x2)+parseInt(_0x70fdec(0x189))/0x3*(parseInt(_0x70fdec(0x182))/0x4)+parseInt(_0x70fdec(0x193))/0x5*(parseInt(_0x70fdec(0x18c))/0x6)+parseInt(_0x70fdec(0x17c))/0x7+parseInt(_0x70fdec(0x183))/0x8+parseInt(_0x70fdec(0x18a))/0x9+-parseInt(_0x70fdec(0x185))/0xa;if(_0x4ea15f===_0x51e280)break;else _0xc01113['push'](_0xc01113['shift']());}catch(_0x2b924b){_0xc01113['push'](_0xc01113['shift']());}}}(_0x9e64,0x3f54a));import{Collection as _0xe39ffc}from'ckeditor5/src/utils.js';function _0x40c5(_0x3230f0,_0x2a509c){const _0x9e648b=_0x9e64();return _0x40c5=function(_0x40c598,_0x606ad8){_0x40c598=_0x40c598-0x17c;let _0x19af35=_0x9e648b[_0x40c598];return _0x19af35;},_0x40c5(_0x3230f0,_0x2a509c);}function _0x9e64(){const _0x3c4519=['getItem','setItem','add','parse','2029164iOTvkQ','2093904GSPFPj','_saveToSessionStorage','8475520RXYGfj','length','2zwVzvy','CKEditor/AIFormView/PromptHistory','3eqqQLr','1027395RINdYp','addMany','126ZDgYMn','_loadFromSessionStorage','prompt','remove','stringify','map','toLowerCase','53885jWJtEp','last','trim','1455664fJTlYu','210499pdNbFC'];_0x9e64=function(){return _0x3c4519;};return _0x9e64();}const cs=_0x2e8475(0x188);export default class os extends _0xe39ffc{constructor(){const _0x557812=_0x2e8475;super(),this[_0x557812(0x18d)](),this['on'](_0x557812(0x180),(_0x681029,_0x15ee78)=>{const _0x24061d=_0x557812,_0x4d0070=Ss(_0x15ee78[_0x24061d(0x18e)]);for(const _0x280772 of this)if(_0x280772!=_0x15ee78&&Ss(_0x280772[_0x24061d(0x18e)])===_0x4d0070){this[_0x24061d(0x18f)](_0x280772);break;}this[_0x24061d(0x186)]>0x14&&this[_0x24061d(0x18f)](this[_0x24061d(0x194)]),this[_0x24061d(0x184)]();}),this['on'](_0x557812(0x18f),()=>{const _0x1cabbc=_0x557812;this[_0x1cabbc(0x184)]();});}[_0x2e8475(0x18d)](){const _0x1fff21=_0x2e8475,_0x408817=sessionStorage[_0x1fff21(0x17e)](cs)||'[]';this[_0x1fff21(0x18b)](JSON[_0x1fff21(0x181)](_0x408817));}[_0x2e8475(0x184)](){const _0x15d15b=_0x2e8475;sessionStorage[_0x15d15b(0x17f)](cs,JSON[_0x15d15b(0x190)](this[_0x15d15b(0x191)](_0x586b5b=>_0x586b5b)));}}function Ss(_0x589f22){const _0x3c6e04=_0x2e8475;return _0x589f22[_0x3c6e04(0x192)]()[_0x3c6e04(0x195)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d91f7=_0xd1a0;function _0x4a1c(){const _0x374fd0=['change:isEnabled','model','40YxBrnp','99gqyUpf','plugins','refresh','isEmpty','requiresContent','from','document','_hasContext','config','62070sCnUUC','name','1434815YPlCxj','60944dlbodi','selection','showUI','enabledCommandsIds','getSelectedBlocks','9200275OJXSPS','includes','getItems','change:_hasContext','ai.aiAssistant.disabledElements','set','add','get','length','isEnabled','values','editor','element','getFirstRange','103347WALrqq','147208IFSiXi','44720820wjmYzk','isCollapsed','_commandDefinitions','execute','custom','hasContent','847izialj','getRanges'];_0x4a1c=function(){return _0x374fd0;};return _0x4a1c();}(function(_0x4ace06,_0x2fb800){const _0x111fda=_0xd1a0,_0x145333=_0x4ace06();while(!![]){try{const _0x219e24=parseInt(_0x111fda(0x116))/0x1+-parseInt(_0x111fda(0x10a))/0x2*(-parseInt(_0x111fda(0xfe))/0x3)+-parseInt(_0x111fda(0x117))/0x4+parseInt(_0x111fda(0x11c))/0x5+-parseInt(_0x111fda(0x114))/0x6*(-parseInt(_0x111fda(0x106))/0x7)+parseInt(_0x111fda(0xff))/0x8*(parseInt(_0x111fda(0x10b))/0x9)+-parseInt(_0x111fda(0x100))/0xa;if(_0x219e24===_0x2fb800)break;else _0x145333['push'](_0x145333['shift']());}catch(_0x211755){_0x145333['push'](_0x145333['shift']());}}}(_0x4a1c,0xe3380));import{Command as _0x25597c}from'ckeditor5/src/core.js';import _0x2ede17 from'../aiassistantui.js';export default class E extends _0x25597c{constructor(_0x8d16c9,_0x1e6848){const _0x1454d9=_0xd1a0;super(_0x8d16c9),this[_0x1454d9(0x102)]=_0x1e6848,this[_0x1454d9(0xf5)](_0x1454d9(0x11a),[]),this['on'](_0x1454d9(0x11f),(_0x1f2dee,_0x42b819,_0x573b45)=>{const _0x342af9=_0x1454d9;this[_0x342af9(0xf9)]&&(this[_0x342af9(0x11a)]=G(this[_0x342af9(0x102)],_0x573b45));}),this[_0x1454d9(0xf5)](_0x1454d9(0x112),!0x1),this['on'](_0x1454d9(0x108),(_0xe7df7d,_0x2b9584,_0xc939df)=>{const _0x586126=_0x1454d9;this[_0x586126(0x11a)]=_0xc939df?G(this[_0x586126(0x102)],this[_0x586126(0x112)]):[];});}[_0x5d91f7(0x10d)](){const _0x37c048=_0x5d91f7,_0x17f19a=this[_0x37c048(0xfb)][_0x37c048(0x109)];this[_0x37c048(0x112)]=function(_0x245d62){const _0x3215c8=_0x37c048,_0x3947bc=_0x245d62[_0x3215c8(0x111)][_0x3215c8(0x118)];return _0x3947bc[_0x3215c8(0x101)]?0x0!==[..._0x3947bc[_0x3215c8(0x11b)]()][_0x3215c8(0xf8)]&&![..._0x3947bc[_0x3215c8(0x11b)]()][0x0][_0x3215c8(0x10e)]:!!_0x245d62[_0x3215c8(0x105)](_0x3947bc[_0x3215c8(0xfd)]());}(_0x17f19a);const _0x1374f8=_0x17f19a[_0x37c048(0x111)][_0x37c048(0x118)],_0x4f2ea8=this[_0x37c048(0xfb)][_0x37c048(0x113)][_0x37c048(0xf7)](_0x37c048(0x120));for(const _0x185476 of _0x1374f8[_0x37c048(0x107)]())for(const _0x1a7ca7 of _0x185476[_0x37c048(0x11e)]())if(_0x1a7ca7['is'](_0x37c048(0xfc))&&_0x4f2ea8[_0x37c048(0x11d)](_0x1a7ca7[_0x37c048(0x115)]))return void(this[_0x37c048(0xf9)]=!0x1);this[_0x37c048(0xf9)]=!0x0;}[_0x5d91f7(0x103)](_0x4b81a6='',_0x3f82de='',_0x507059=_0x5d91f7(0x104)){const _0x50d066=_0x5d91f7;this[_0x50d066(0xfb)][_0x50d066(0x10c)][_0x50d066(0xf7)](_0x2ede17)[_0x50d066(0x119)](_0x4b81a6,_0x3f82de,_0x507059);}}function _0xd1a0(_0x4a7fd8,_0x425f6d){const _0x4a1ca9=_0x4a1c();return _0xd1a0=function(_0xd1a0f7,_0x519325){_0xd1a0f7=_0xd1a0f7-0xf5;let _0x3a97b7=_0x4a1ca9[_0xd1a0f7];return _0x3a97b7;},_0xd1a0(_0x4a7fd8,_0x425f6d);}function G(_0x466ee3,_0x3e3511){const _0x2a32f6=_0x5d91f7,_0x463b09=new Set();for(const _0x4e7f78 of _0x466ee3[_0x2a32f6(0xfa)]())(_0x3e3511||!0x1===_0x4e7f78[_0x2a32f6(0x10f)])&&_0x463b09[_0x2a32f6(0xf6)](_0x4e7f78['id']);return Array[_0x2a32f6(0x110)](_0x463b09);}
23
+ const _0x5c1bf4=_0x4506;(function(_0x20de87,_0x5a5c84){const _0x1bf22e=_0x4506,_0x451b46=_0x20de87();while(!![]){try{const _0xf9c17f=parseInt(_0x1bf22e(0xd6))/0x1+parseInt(_0x1bf22e(0xd4))/0x2*(-parseInt(_0x1bf22e(0xcf))/0x3)+-parseInt(_0x1bf22e(0xd5))/0x4+-parseInt(_0x1bf22e(0xc6))/0x5*(-parseInt(_0x1bf22e(0xc9))/0x6)+parseInt(_0x1bf22e(0xcd))/0x7+-parseInt(_0x1bf22e(0xdd))/0x8+parseInt(_0x1bf22e(0xce))/0x9;if(_0xf9c17f===_0x5a5c84)break;else _0x451b46['push'](_0x451b46['shift']());}catch(_0x362b6d){_0x451b46['push'](_0x451b46['shift']());}}}(_0x4016,0x9a6ab));import{Command as _0x234190}from'ckeditor5/src/core.js';import _0x4ba981 from'../aiassistantui.js';function _0x4506(_0x3e535e,_0x13315c){const _0x4016ea=_0x4016();return _0x4506=function(_0x450690,_0x3b0a2f){_0x450690=_0x450690-0xbe;let _0x4780ed=_0x4016ea[_0x450690];return _0x4780ed;},_0x4506(_0x3e535e,_0x13315c);}export default class E extends _0x234190{constructor(_0x316910,_0xe663e7){const _0x17e82e=_0x4506;super(_0x316910),this[_0x17e82e(0xe1)]=_0xe663e7,this[_0x17e82e(0xdf)](_0x17e82e(0xe2),[]),this['on'](_0x17e82e(0xdc),(_0x1a8e14,_0x242e91,_0x57f698)=>{const _0x2e4c7b=_0x17e82e;this[_0x2e4c7b(0xd8)]&&(this[_0x2e4c7b(0xe2)]=G(this[_0x2e4c7b(0xe1)],_0x57f698));}),this[_0x17e82e(0xdf)](_0x17e82e(0xc7),!0x1),this['on'](_0x17e82e(0xe5),(_0x4a1593,_0x592077,_0x4288f3)=>{const _0x4a8f8f=_0x17e82e;this[_0x4a8f8f(0xe2)]=_0x4288f3?G(this[_0x4a8f8f(0xe1)],this[_0x4a8f8f(0xc7)]):[];});}[_0x5c1bf4(0xc0)](){const _0x8ca476=_0x5c1bf4,_0x24d2be=this[_0x8ca476(0xe8)][_0x8ca476(0xda)];this[_0x8ca476(0xc7)]=function(_0x289be9){const _0xb4c3f8=_0x8ca476,_0x3d7ef4=_0x289be9[_0xb4c3f8(0xcc)][_0xb4c3f8(0xe3)];return _0x3d7ef4[_0xb4c3f8(0xe7)]?0x0!==[..._0x3d7ef4[_0xb4c3f8(0xe4)]()][_0xb4c3f8(0xc4)]&&![..._0x3d7ef4[_0xb4c3f8(0xe4)]()][0x0][_0xb4c3f8(0xc8)]:!!_0x289be9[_0xb4c3f8(0xbe)](_0x3d7ef4[_0xb4c3f8(0xd7)]());}(_0x24d2be);const _0x1fc531=_0x24d2be[_0x8ca476(0xcc)][_0x8ca476(0xe3)],_0x4dbeca=this[_0x8ca476(0xe8)][_0x8ca476(0xd2)][_0x8ca476(0xe0)](_0x8ca476(0xca));for(const _0x346f04 of _0x1fc531[_0x8ca476(0xc2)]())for(const _0x43d850 of _0x346f04[_0x8ca476(0xc5)]())if(_0x43d850['is'](_0x8ca476(0xdb))&&_0x4dbeca[_0x8ca476(0xc3)](_0x43d850[_0x8ca476(0xe6)]))return void(this[_0x8ca476(0xd8)]=!0x1);this[_0x8ca476(0xd8)]=!0x0;}[_0x5c1bf4(0xbf)](_0x45b0bf='',_0x137861='',_0x259c0d=_0x5c1bf4(0xd9)){const _0x3c1c87=_0x5c1bf4;this[_0x3c1c87(0xe8)][_0x3c1c87(0xd0)][_0x3c1c87(0xe0)](_0x4ba981)[_0x3c1c87(0xd1)](_0x45b0bf,_0x137861,_0x259c0d);}}function _0x4016(){const _0x2c565b=['selection','getSelectedBlocks','change:isEnabled','name','isCollapsed','editor','hasContent','execute','refresh','from','getRanges','includes','length','getItems','590PsMbrJ','_hasContext','isEmpty','27138UIeHIW','ai.aiAssistant.disabledElements','requiresContent','document','7158375vYtCFY','4736592ssxoyW','42kuIAiR','plugins','showUI','config','values','80752FVEgaF','87400uFrJec','263090VNBHSR','getFirstRange','isEnabled','custom','model','element','change:_hasContext','9008896CiYsBt','add','set','get','_commandDefinitions','enabledCommandsIds'];_0x4016=function(){return _0x2c565b;};return _0x4016();}function G(_0x14438a,_0x30102d){const _0x13f29f=_0x5c1bf4,_0x436d54=new Set();for(const _0xac1154 of _0x14438a[_0x13f29f(0xd3)]())(_0x30102d||!0x1===_0xac1154[_0x13f29f(0xcb)])&&_0x436d54[_0x13f29f(0xde)](_0xac1154['id']);return Array[_0x13f29f(0xc1)](_0x436d54);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x21ef4f,_0x1a00e1,_0x158775){const t=_0x21ef4f['t'];switch(_0x1a00e1){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',_0x158775);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x158775);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'},_0x158775);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 _0x1a00e1;}}
23
+ export function getTranslation(_0x36fa72,_0x1c7b01,_0x158d33){const t=_0x36fa72['t'];switch(_0x1c7b01){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',_0x158d33);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x158d33);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'},_0x158d33);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 _0x1c7b01;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x33ee57,_0x31a76b){const _0x272f44=(0x0,_0x31a76b['t'])('Other');return _0x33ee57['length']?'groupId'in _0x33ee57[0x0]?_0x33ee57:[{'groupId':'_ungrouppedCommands','groupLabel':_0x272f44,'order':0x1/0x0,'commands':_0x33ee57}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x272f44,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x500c7e,_0x3144e6){const _0x51c8cd=(0x0,_0x3144e6['t'])('Other');return _0x500c7e['length']?'groupId'in _0x500c7e[0x0]?_0x500c7e:[{'groupId':'_ungrouppedCommands','groupLabel':_0x51c8cd,'order':0x1/0x0,'commands':_0x500c7e}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x51c8cd,'order':0x1/0x0,'commands':[]}];}