@ckeditor/ckeditor5-ai 44.3.0-alpha.2 → 44.3.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 (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 _0x1bd88e=_0x4054;function _0x467e(){const _0x1c5c29=['1165424GfAOcX','width','excludeScrollbarsAndBorders','isEnabled','Submit','56vqciTw','focus','requestAnimationFrame','submitButtonView','history','ck-ai-form__toggle-history','7UOFjgx','window','2792640ocPMlP','ck-ai-form__submit','filteredView','85407HhLDRZ','showHistoryButtonView','89940PigahP','left','305ZwsVJt','uiLanguageDirection','257366MuYFFr','locale','enter','bind','element','History','fieldWrapperChildren','focusCycler','render','right','resultsView','51774jQsdNe','focusableChildren','_createSubmitButton','add','isOn','1837abghCc','fieldView','_createShowHistoryButton','keystrokes','children','minRows','isEmpty','isVisible','maxRows','value','update','execute','submit','queryView','focusFirst','200DHnKSg','set','rtl','293661iIFzjF','fire','style','target','focusLast'];_0x467e=function(){return _0x1c5c29;};return _0x467e();}(function(_0xfd98e8,_0x4ebecb){const _0x40cec1=_0x4054,_0x2e3cac=_0xfd98e8();while(!![]){try{const _0x664b5b=parseInt(_0x40cec1(0xa9))/0x1*(-parseInt(_0x40cec1(0x77))/0x2)+parseInt(_0x40cec1(0xab))/0x3+parseInt(_0x40cec1(0x9e))/0x4+-parseInt(_0x40cec1(0x75))/0x5*(parseInt(_0x40cec1(0x82))/0x6)+-parseInt(_0x40cec1(0x71))/0x7*(-parseInt(_0x40cec1(0xa3))/0x8)+-parseInt(_0x40cec1(0x99))/0x9*(parseInt(_0x40cec1(0x96))/0xa)+parseInt(_0x40cec1(0x87))/0xb*(parseInt(_0x40cec1(0x73))/0xc);if(_0x664b5b===_0x4ebecb)break;else _0x2e3cac['push'](_0x2e3cac['shift']());}catch(_0x336a8f){_0x2e3cac['push'](_0x2e3cac['shift']());}}}(_0x467e,0x7515a));import{Rect as _0x42445f,global as _0x26ee76,isVisible as _0x43f25a}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x48e1f8,ButtonView as _0x1b781e}from'ckeditor5/src/ui.js';import{icons as _0x4618d8}from'ckeditor5/src/core.js';function _0x4054(_0x28f502,_0x101693){const _0x467e2e=_0x467e();return _0x4054=function(_0x4054db,_0x206e81){_0x4054db=_0x4054db-0x70;let _0x176cc0=_0x467e2e[_0x4054db];return _0x176cc0;},_0x4054(_0x28f502,_0x101693);}import{getTranslation as _0x2afd7f}from'../../utils/common-translations.js';import _0x141669 from'../../../theme/icons/submit.svg';export default class ht extends _0x48e1f8{constructor(_0x6ffa8d,_0x266696){const _0x5aca01=_0x4054;super(_0x6ffa8d,_0x266696),this[_0x5aca01(0x94)][_0x5aca01(0x88)][_0x5aca01(0x8c)]=0x1,this[_0x5aca01(0x94)][_0x5aca01(0x88)][_0x5aca01(0x8f)]=0x3,this[_0x5aca01(0xa6)]=this[_0x5aca01(0x84)](),this[_0x5aca01(0x72)]=this[_0x5aca01(0x89)](),this[_0x5aca01(0x83)][_0x5aca01(0x85)](this[_0x5aca01(0x72)],0x1),this[_0x5aca01(0x83)][_0x5aca01(0x85)](this[_0x5aca01(0xa6)]);}[_0x1bd88e(0x7f)](){const _0x365794=_0x1bd88e;super[_0x365794(0x7f)](),this[_0x365794(0x94)][_0x365794(0x7d)][_0x365794(0x85)](this[_0x365794(0x72)]),this[_0x365794(0x8b)][_0x365794(0x85)](this[_0x365794(0xa6)]),this[_0x365794(0x8a)][_0x365794(0x97)](_0x365794(0x79),(_0xbe0777,_0x23fb57)=>{const _0x1fbb02=_0x365794;_0xbe0777[_0x1fbb02(0x9c)]==this[_0x1fbb02(0x94)][_0x1fbb02(0x88)][_0x1fbb02(0x7b)]&&(this[_0x1fbb02(0x93)](),_0x23fb57());});}[_0x1bd88e(0x84)](){const _0x32057d=_0x1bd88e,_0x1c9ee=new _0x1b781e(this[_0x32057d(0x78)]),_0x196346=this[_0x32057d(0x78)];return _0x1c9ee[_0x32057d(0x97)]({'icon':_0x141669,'label':_0x2afd7f(_0x196346,_0x32057d(0xa2)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x32057d(0xac)}),_0x1c9ee['on'](_0x32057d(0x92),()=>{const _0x286ecc=_0x32057d;this[_0x286ecc(0x93)]();}),_0x1c9ee[_0x32057d(0x7a)](_0x32057d(0xa1))['to'](this[_0x32057d(0x94)][_0x32057d(0x88)],_0x32057d(0x8d),this,_0x32057d(0xa1),(_0x33841d,_0x197a77)=>!_0x33841d&&_0x197a77),_0x1c9ee;}[_0x1bd88e(0x89)](){const _0x398e9c=_0x1bd88e,_0x135832=new _0x1b781e(this[_0x398e9c(0x78)]),_0x4dfdbb=this[_0x398e9c(0x81)],_0x3f4716=this[_0x398e9c(0x78)];_0x135832[_0x398e9c(0x97)]({'label':_0x2afd7f(_0x3f4716,_0x398e9c(0x7c)),'withText':!0x1,'icon':_0x4618d8[_0x398e9c(0xa7)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x398e9c(0xa8)}),_0x135832[_0x398e9c(0x7a)](_0x398e9c(0x86))['to'](_0x4dfdbb,_0x398e9c(0x8e)),_0x135832[_0x398e9c(0x7a)](_0x398e9c(0xa1))['to'](this,_0x398e9c(0xa1)),_0x135832['on'](_0x398e9c(0x92),()=>{const _0x275df4=_0x398e9c;_0x4dfdbb[_0x275df4(0x8e)]=!_0x4dfdbb[_0x275df4(0x8e)],_0x4dfdbb[_0x275df4(0x8e)]?this[_0x275df4(0x70)][_0x275df4(0xa4)]():this[_0x275df4(0xa4)]();});const _0x2310fb=()=>{const _0xab6a42=_0x398e9c;_0x26ee76[_0xab6a42(0xaa)][_0xab6a42(0xa5)](()=>{const _0x18d243=_0xab6a42;if(_0x43f25a(this[_0x18d243(0x7b)])){const _0x202b4f=new _0x42445f(this[_0x18d243(0x94)][_0x18d243(0x88)][_0x18d243(0x7b)]),_0x4f0494=_0x202b4f[_0x18d243(0x9f)],_0x268577=_0x18d243(0x98)===_0x3f4716[_0x18d243(0x76)]?_0x18d243(0x74):_0x18d243(0x80);_0x202b4f[_0x18d243(0xa0)](),_0x135832[_0x18d243(0x7b)][_0x18d243(0x9b)][_0x268577]=_0x4f0494-_0x202b4f[_0x18d243(0x9f)]+0x1+'px';}});};return this[_0x398e9c(0x94)][_0x398e9c(0x88)]['on'](_0x398e9c(0x91),_0x2310fb),this['on'](_0x398e9c(0x7f),_0x2310fb),_0x135832;}[_0x1bd88e(0x93)](){const _0x23f040=_0x1bd88e,_0x49501e=this[_0x23f040(0x94)][_0x23f040(0x88)][_0x23f040(0x7b)][_0x23f040(0x90)];this[_0x23f040(0x9a)](_0x23f040(0x93),_0x49501e);}[_0x1bd88e(0xa4)](_0x3e0c58){const _0x12cd96=_0x1bd88e;-0x1===_0x3e0c58?this[_0x12cd96(0x7e)][_0x12cd96(0x9d)]():this[_0x12cd96(0x7e)][_0x12cd96(0x95)]();}}
23
+ function _0x2c76(){const _0x5d6948=['focusFirst','isEnabled','8XmlfUi','value','resultsView','ck-ai-form__toggle-history','style','add','2PUbgEJ','fire','201270pQqALM','execute','enter','_createSubmitButton','760911BezWXG','1448480ucAbnN','render','queryView','children','showHistoryButtonView','fieldView','954090OkCDIN','527588eeKmel','rtl','History','submitButtonView','keystrokes','width','element','excludeScrollbarsAndBorders','isVisible','3807839sMgnSa','locale','243RlTzmq','714743gLpgcc','isEmpty','minRows','maxRows','set','focusLast','window','_createShowHistoryButton','update','history','focusCycler','filteredView','requestAnimationFrame','uiLanguageDirection','isOn','focus','bind','fieldWrapperChildren','Submit','target','right','left','ck-ai-form__submit','focusableChildren','submit'];_0x2c76=function(){return _0x5d6948;};return _0x2c76();}function _0x76c8(_0x312070,_0x328a97){const _0x2c768b=_0x2c76();return _0x76c8=function(_0x76c805,_0x4ad82c){_0x76c805=_0x76c805-0x13c;let _0x5c33ab=_0x2c768b[_0x76c805];return _0x5c33ab;},_0x76c8(_0x312070,_0x328a97);}const _0x1a060f=_0x76c8;(function(_0xd21255,_0x2b72b5){const _0x11bc9e=_0x76c8,_0x5f2570=_0xd21255();while(!![]){try{const _0x4335a7=-parseInt(_0x11bc9e(0x14e))/0x1+-parseInt(_0x11bc9e(0x16f))/0x2*(parseInt(_0x11bc9e(0x175))/0x3)+parseInt(_0x11bc9e(0x142))/0x4+parseInt(_0x11bc9e(0x176))/0x5+-parseInt(_0x11bc9e(0x141))/0x6+-parseInt(_0x11bc9e(0x14b))/0x7*(-parseInt(_0x11bc9e(0x169))/0x8)+parseInt(_0x11bc9e(0x14d))/0x9*(parseInt(_0x11bc9e(0x171))/0xa);if(_0x4335a7===_0x2b72b5)break;else _0x5f2570['push'](_0x5f2570['shift']());}catch(_0x3145ef){_0x5f2570['push'](_0x5f2570['shift']());}}}(_0x2c76,0x5d2a4));import{Rect as _0x760a67,global as _0x24eacf,isVisible as _0x659368}from'ckeditor5/src/utils.js';import{AutocompleteView as _0xdeaeff,ButtonView as _0x2a0b68}from'ckeditor5/src/ui.js';import{icons as _0x510ab9}from'ckeditor5/src/core.js';import{getTranslation as _0x45c0ba}from'../../utils/common-translations.js';import _0x235598 from'../../../theme/icons/submit.svg';export default class ht extends _0xdeaeff{constructor(_0x5e8cc9,_0xa73817){const _0x16df51=_0x76c8;super(_0x5e8cc9,_0xa73817),this[_0x16df51(0x13d)][_0x16df51(0x140)][_0x16df51(0x150)]=0x1,this[_0x16df51(0x13d)][_0x16df51(0x140)][_0x16df51(0x151)]=0x3,this[_0x16df51(0x145)]=this[_0x16df51(0x174)](),this[_0x16df51(0x13f)]=this[_0x16df51(0x155)](),this[_0x16df51(0x165)][_0x16df51(0x16e)](this[_0x16df51(0x13f)],0x1),this[_0x16df51(0x165)][_0x16df51(0x16e)](this[_0x16df51(0x145)]);}[_0x1a060f(0x13c)](){const _0xad0031=_0x1a060f;super[_0xad0031(0x13c)](),this[_0xad0031(0x13d)][_0xad0031(0x15f)][_0xad0031(0x16e)](this[_0xad0031(0x13f)]),this[_0xad0031(0x13e)][_0xad0031(0x16e)](this[_0xad0031(0x145)]),this[_0xad0031(0x146)][_0xad0031(0x152)](_0xad0031(0x173),(_0x22f7a0,_0x94f614)=>{const _0x25529a=_0xad0031;_0x22f7a0[_0x25529a(0x161)]==this[_0x25529a(0x13d)][_0x25529a(0x140)][_0x25529a(0x148)]&&(this[_0x25529a(0x166)](),_0x94f614());});}[_0x1a060f(0x174)](){const _0x56cdcd=_0x1a060f,_0x131afd=new _0x2a0b68(this[_0x56cdcd(0x14c)]),_0xb0ac73=this[_0x56cdcd(0x14c)];return _0x131afd[_0x56cdcd(0x152)]({'icon':_0x235598,'label':_0x45c0ba(_0xb0ac73,_0x56cdcd(0x160)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x56cdcd(0x164)}),_0x131afd['on'](_0x56cdcd(0x172),()=>{const _0x136065=_0x56cdcd;this[_0x136065(0x166)]();}),_0x131afd[_0x56cdcd(0x15e)](_0x56cdcd(0x168))['to'](this[_0x56cdcd(0x13d)][_0x56cdcd(0x140)],_0x56cdcd(0x14f),this,_0x56cdcd(0x168),(_0x2efae4,_0x3894a1)=>!_0x2efae4&&_0x3894a1),_0x131afd;}[_0x1a060f(0x155)](){const _0x33e7f9=_0x1a060f,_0x3ff18a=new _0x2a0b68(this[_0x33e7f9(0x14c)]),_0x1b7e51=this[_0x33e7f9(0x16b)],_0x433cb4=this[_0x33e7f9(0x14c)];_0x3ff18a[_0x33e7f9(0x152)]({'label':_0x45c0ba(_0x433cb4,_0x33e7f9(0x144)),'withText':!0x1,'icon':_0x510ab9[_0x33e7f9(0x157)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x33e7f9(0x16c)}),_0x3ff18a[_0x33e7f9(0x15e)](_0x33e7f9(0x15c))['to'](_0x1b7e51,_0x33e7f9(0x14a)),_0x3ff18a[_0x33e7f9(0x15e)](_0x33e7f9(0x168))['to'](this,_0x33e7f9(0x168)),_0x3ff18a['on'](_0x33e7f9(0x172),()=>{const _0x2a0da0=_0x33e7f9;_0x1b7e51[_0x2a0da0(0x14a)]=!_0x1b7e51[_0x2a0da0(0x14a)],_0x1b7e51[_0x2a0da0(0x14a)]?this[_0x2a0da0(0x159)][_0x2a0da0(0x15d)]():this[_0x2a0da0(0x15d)]();});const _0x1901c8=()=>{const _0x4b3476=_0x33e7f9;_0x24eacf[_0x4b3476(0x154)][_0x4b3476(0x15a)](()=>{const _0x592046=_0x4b3476;if(_0x659368(this[_0x592046(0x148)])){const _0x4b1d37=new _0x760a67(this[_0x592046(0x13d)][_0x592046(0x140)][_0x592046(0x148)]),_0x38104b=_0x4b1d37[_0x592046(0x147)],_0xce30b2=_0x592046(0x143)===_0x433cb4[_0x592046(0x15b)]?_0x592046(0x163):_0x592046(0x162);_0x4b1d37[_0x592046(0x149)](),_0x3ff18a[_0x592046(0x148)][_0x592046(0x16d)][_0xce30b2]=_0x38104b-_0x4b1d37[_0x592046(0x147)]+0x1+'px';}});};return this[_0x33e7f9(0x13d)][_0x33e7f9(0x140)]['on'](_0x33e7f9(0x156),_0x1901c8),this['on'](_0x33e7f9(0x13c),_0x1901c8),_0x3ff18a;}[_0x1a060f(0x166)](){const _0x2becbb=_0x1a060f,_0x3a9580=this[_0x2becbb(0x13d)][_0x2becbb(0x140)][_0x2becbb(0x148)][_0x2becbb(0x16a)];this[_0x2becbb(0x170)](_0x2becbb(0x166),_0x3a9580);}[_0x1a060f(0x15d)](_0x28af3f){const _0x404b1d=_0x1a060f;-0x1===_0x28af3f?this[_0x404b1d(0x158)][_0x404b1d(0x153)]():this[_0x404b1d(0x158)][_0x404b1d(0x167)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x37cd(){const _0x10dc28=['AI_','2504CKszsC','bindTemplate','1230061oMGVpD','REPLACE','items','298677obfwLG','isVisible','addMany','1737IVPxaj','stopButton','extendTemplate','mainAction','ck-ai-form__toolbar','Try\x20again','12wdFYld','Insert\x20below','bind','763910ivnVus','set','locale','20EwsYhJ','replaceButton','ck-hidden','5400530RZOkrI','_CONTENT','_createButton','insert','insertButton','toUpperCase','71162KHsChb','replace','Stop','tryAgainButton','label','ck-button-action','93325uZHESW'];_0x37cd=function(){return _0x10dc28;};return _0x37cd();}const _0x513d2f=_0x366c;(function(_0x200e55,_0xe969cb){const _0x1527ab=_0x366c,_0x544f6f=_0x200e55();while(!![]){try{const _0x2a4f15=parseInt(_0x1527ab(0x1eb))/0x1+-parseInt(_0x1527ab(0x1df))/0x2+-parseInt(_0x1527ab(0x1d3))/0x3+parseInt(_0x1527ab(0x1e2))/0x4*(-parseInt(_0x1527ab(0x1cc))/0x5)+parseInt(_0x1527ab(0x1dc))/0x6*(parseInt(_0x1527ab(0x1d0))/0x7)+-parseInt(_0x1527ab(0x1ce))/0x8*(parseInt(_0x1527ab(0x1d6))/0x9)+parseInt(_0x1527ab(0x1e5))/0xa;if(_0x2a4f15===_0xe969cb)break;else _0x544f6f['push'](_0x544f6f['shift']());}catch(_0x303677){_0x544f6f['push'](_0x544f6f['shift']());}}}(_0x37cd,0x4fef5));function _0x366c(_0x321291,_0x3a2dfa){const _0x37cdee=_0x37cd();return _0x366c=function(_0x366cf6,_0x16fdf5){_0x366cf6=_0x366cf6-0x1c8;let _0x5d6b4e=_0x37cdee[_0x366cf6];return _0x5d6b4e;},_0x366c(_0x321291,_0x3a2dfa);}import{ToolbarView as _0xd30779,ButtonView as _0x476ed3}from'ckeditor5/src/ui.js';import{getTranslation as _0x2f7bc8}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x513d2f(0x1ec),'INSERT':_0x513d2f(0x1e8)};export default class at extends _0xd30779{constructor(_0x3a543a){const _0x1b0317=_0x513d2f;super(_0x3a543a),this[_0x1b0317(0x1e0)](_0x1b0317(0x1d4),!0x1),this[_0x1b0317(0x1e0)](_0x1b0317(0x1d9),AIFormToolbarViewMainActionLabel[_0x1b0317(0x1d1)]),this[_0x1b0317(0x1e3)]=this[_0x1b0317(0x1e7)]('',_0x1b0317(0x1cb)),this[_0x1b0317(0x1e3)][_0x1b0317(0x1de)](_0x1b0317(0x1ca))['to'](this,_0x1b0317(0x1d9),_0x58d31c=>_0x2f7bc8(_0x3a543a,_0x1b0317(0x1cd)+_0x58d31c[_0x1b0317(0x1ea)]()+_0x1b0317(0x1e6))),this[_0x1b0317(0x1e9)]=this[_0x1b0317(0x1e7)](_0x2f7bc8(_0x3a543a,_0x1b0317(0x1dd))),this[_0x1b0317(0x1c9)]=this[_0x1b0317(0x1e7)](_0x2f7bc8(_0x3a543a,_0x1b0317(0x1db))),this[_0x1b0317(0x1d7)]=this[_0x1b0317(0x1e7)](_0x2f7bc8(_0x3a543a,_0x1b0317(0x1c8)));const _0x3ad27f=this[_0x1b0317(0x1cf)];this[_0x1b0317(0x1d8)]({'attributes':{'class':[_0x1b0317(0x1da),_0x3ad27f['if'](_0x1b0317(0x1d4),_0x1b0317(0x1e4),_0x2cd9c4=>!_0x2cd9c4)]}}),this[_0x1b0317(0x1d2)][_0x1b0317(0x1d5)]([this[_0x1b0317(0x1e3)],this[_0x1b0317(0x1e9)],this[_0x1b0317(0x1c9)],this[_0x1b0317(0x1d7)]]);}[_0x513d2f(0x1e7)](_0x568ab6,_0xc02117){const _0x3407be=_0x513d2f,_0x187c9d=new _0x476ed3(this[_0x3407be(0x1e1)]);return _0x187c9d[_0x3407be(0x1e0)]({'label':_0x568ab6,'class':_0xc02117||'','isVisible':!0x0,'withText':!0x0}),_0x187c9d;}}
23
+ function _0x388f(_0x39804c,_0x19248f){const _0x37e366=_0x37e3();return _0x388f=function(_0x388f9f,_0x4d7e54){_0x388f9f=_0x388f9f-0x112;let _0x43cc9c=_0x37e366[_0x388f9f];return _0x43cc9c;},_0x388f(_0x39804c,_0x19248f);}const _0x5d0536=_0x388f;(function(_0x4274b7,_0x210dd1){const _0x251813=_0x388f,_0x436669=_0x4274b7();while(!![]){try{const _0xc803bd=parseInt(_0x251813(0x12d))/0x1*(-parseInt(_0x251813(0x134))/0x2)+parseInt(_0x251813(0x128))/0x3*(-parseInt(_0x251813(0x127))/0x4)+-parseInt(_0x251813(0x125))/0x5+parseInt(_0x251813(0x12c))/0x6+-parseInt(_0x251813(0x11e))/0x7+parseInt(_0x251813(0x116))/0x8+parseInt(_0x251813(0x131))/0x9*(parseInt(_0x251813(0x11c))/0xa);if(_0xc803bd===_0x210dd1)break;else _0x436669['push'](_0x436669['shift']());}catch(_0x1c84e6){_0x436669['push'](_0x436669['shift']());}}}(_0x37e3,0xedea8));import{ToolbarView as _0x383cea,ButtonView as _0x34825e}from'ckeditor5/src/ui.js';import{getTranslation as _0x238a16}from'../../utils/common-translations.js';function _0x37e3(){const _0x77a9ef=['ck-hidden','isVisible','67880TYzVuL','Try\x20again','10124275WRATOF','stopButton','bindTemplate','REPLACE','_CONTENT','ck-ai-form__toolbar','set','93500nmhTDj','mainAction','44VbiQSE','161997vFemIm','replaceButton','toUpperCase','insertButton','2667870wXicPH','2jrpxUF','extendTemplate','ck-button-action','insert','1152khGgrF','Insert\x20below','_createButton','97406kJvPYB','replace','locale','items','bind','tryAgainButton','AI_','14539320IVcrGn','Stop','addMany','label'];_0x37e3=function(){return _0x77a9ef;};return _0x37e3();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5d0536(0x135),'INSERT':_0x5d0536(0x130)};export default class at extends _0x383cea{constructor(_0x278ff4){const _0x30f325=_0x5d0536;super(_0x278ff4),this[_0x30f325(0x124)](_0x30f325(0x11b),!0x1),this[_0x30f325(0x124)](_0x30f325(0x126),AIFormToolbarViewMainActionLabel[_0x30f325(0x121)]),this[_0x30f325(0x129)]=this[_0x30f325(0x133)]('',_0x30f325(0x12f)),this[_0x30f325(0x129)][_0x30f325(0x113)](_0x30f325(0x119))['to'](this,_0x30f325(0x126),_0x4c01b1=>_0x238a16(_0x278ff4,_0x30f325(0x115)+_0x4c01b1[_0x30f325(0x12a)]()+_0x30f325(0x122))),this[_0x30f325(0x12b)]=this[_0x30f325(0x133)](_0x238a16(_0x278ff4,_0x30f325(0x132))),this[_0x30f325(0x114)]=this[_0x30f325(0x133)](_0x238a16(_0x278ff4,_0x30f325(0x11d))),this[_0x30f325(0x11f)]=this[_0x30f325(0x133)](_0x238a16(_0x278ff4,_0x30f325(0x117)));const _0x3f26ff=this[_0x30f325(0x120)];this[_0x30f325(0x12e)]({'attributes':{'class':[_0x30f325(0x123),_0x3f26ff['if'](_0x30f325(0x11b),_0x30f325(0x11a),_0x5e3510=>!_0x5e3510)]}}),this[_0x30f325(0x112)][_0x30f325(0x118)]([this[_0x30f325(0x129)],this[_0x30f325(0x12b)],this[_0x30f325(0x114)],this[_0x30f325(0x11f)]]);}[_0x5d0536(0x133)](_0x1adfdf,_0x25f286){const _0xeb0c52=_0x5d0536,_0x4dfa11=new _0x34825e(this[_0xeb0c52(0x136)]);return _0x4dfa11[_0xeb0c52(0x124)]({'label':_0x1adfdf,'class':_0x25f286||'','isVisible':!0x0,'withText':!0x0}),_0x4dfa11;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d962f=_0x1520;(function(_0x3fb963,_0x359420){const _0x2ab2db=_0x1520,_0x24c96e=_0x3fb963();while(!![]){try{const _0x39429f=-parseInt(_0x2ab2db(0x1cb))/0x1*(parseInt(_0x2ab2db(0x1dd))/0x2)+-parseInt(_0x2ab2db(0x1db))/0x3+parseInt(_0x2ab2db(0x1a8))/0x4*(parseInt(_0x2ab2db(0x1dc))/0x5)+-parseInt(_0x2ab2db(0x1d8))/0x6+-parseInt(_0x2ab2db(0x1ca))/0x7+-parseInt(_0x2ab2db(0x19e))/0x8+-parseInt(_0x2ab2db(0x1ec))/0x9*(-parseInt(_0x2ab2db(0x1aa))/0xa);if(_0x39429f===_0x359420)break;else _0x24c96e['push'](_0x24c96e['shift']());}catch(_0x391dab){_0x24c96e['push'](_0x24c96e['shift']());}}}(_0x1bde,0xb2336));import{FocusTracker as _0x510692,KeystrokeHandler as _0x3b52fc}from'ckeditor5/src/utils.js';function _0x1bde(){const _0x3ad127=['reset','handleError','finishProcessing','isEnabled','copyButtonView','render','high','focusTracker','setTemplate','focusFirst','fieldView','focus','ck-hidden','locale','errorView','contentArea','Ask\x20AI\x20to\x20improve\x20generated\x20text','_createToolbar','div','chain','tab','value','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusCycler','clearHistory','prompt','add','bindTemplate','submit','899668dcUjWk','533716SNXHjo','text','bind','isVisible','tryAgainEvent','set','isError','replaceButton','replaceContent','_createHistoryView','_promptHistory','stopProcessing','AI_ERROR_FAILED','5708640DIlkou','stopButton','ck-ai-form','1876386ShAEfM','15335AXdMrg','4TxFxwQ','trim','queryView','search','delegate','items','mainAction','keystrokes','label','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','element','ck-ai-form-content','_focusables','bindTo','startProcessing','956511bjUraw','_createPromptView','insertButton','submitPrompt','clear','shift\x20+\x20tab','createCollection','6095904pcJiww','execute','focusLast','toolbar','fire','Empty\x20history','promptView','insertContentBelow','REPLACE','historyGroupView','988sjdTFh','isProcessing','330yBqPeT','tryAgainButton','listenTo'];_0x1bde=function(){return _0x3ad127;};return _0x1bde();}import{View as _0x14fabf,FocusCycler as _0x2e3dca,createLabeledTextarea as _0x258c0b}from'ckeditor5/src/ui.js';function _0x1520(_0x1eba7f,_0x228834){const _0x1bde0a=_0x1bde();return _0x1520=function(_0x152071,_0x465eae){_0x152071=_0x152071-0x199;let _0x474889=_0x1bde0a[_0x152071];return _0x474889;},_0x1520(_0x1eba7f,_0x228834);}import _0x96bbda,{AIFormToolbarViewMainActionLabel as _0x257236}from'./aiformtoolbarview.js';import _0x461212 from'./aiformcontentarea.js';import _0x204e01 from'./aiformerrorview.js';import _0x1cc056 from'./aiformpromptview.js';import _0x19c032 from'./aihistorylistview.js';import _0x23fb45 from'./aihistorylistitemview.js';import _0x53ea4d from'./prompthistory.js';import{getTranslation as _0x35e8e2}from'../../utils/common-translations.js';import{escape as _0x55f848}from'lodash-es';export default class k extends _0x14fabf{constructor(_0x100ddb,_0x219315,_0x10c802=''){const _0x354e61=_0x1520;super(_0x100ddb),this[_0x354e61(0x1d0)](_0x354e61(0x1b0),!0x0),this[_0x354e61(0x1d0)](_0x354e61(0x1a9),!0x1),this[_0x354e61(0x1d0)](_0x354e61(0x1c6),''),this[_0x354e61(0x1d0)](_0x354e61(0x1c2),''),this[_0x354e61(0x1d0)](_0x354e61(0x1d1),!0x1),this[_0x354e61(0x1d0)](_0x354e61(0x1e3),_0x257236[_0x354e61(0x1a6)]),this[_0x354e61(0x1d5)]=new _0x53ea4d(),this[_0x354e61(0x1bb)]=new _0x204e01(_0x100ddb),this[_0x354e61(0x1bc)]=new _0x461212(_0x100ddb,_0x10c802),this[_0x354e61(0x1bc)][_0x354e61(0x1cd)](_0x354e61(0x1a9))['to'](this),this[_0x354e61(0x1bc)][_0x354e61(0x1cd)](_0x354e61(0x1c2))['to'](this),this[_0x354e61(0x1a1)]=this[_0x354e61(0x1be)](),this[_0x354e61(0x1a1)][_0x354e61(0x1cd)](_0x354e61(0x1e3))['to'](this),this[_0x354e61(0x1a4)]=this[_0x354e61(0x1ed)](),this[_0x354e61(0x1b4)]=new _0x510692(),this[_0x354e61(0x1e4)]=new _0x3b52fc(),this[_0x354e61(0x1e9)]=this[_0x354e61(0x19d)]([this[_0x354e61(0x1bc)],this[_0x354e61(0x1bc)][_0x354e61(0x1b1)],this[_0x354e61(0x1a1)],this[_0x354e61(0x1a4)]]),this[_0x354e61(0x1c4)]=new _0x2e3dca({'focusables':this[_0x354e61(0x1e9)],'focusTracker':this[_0x354e61(0x1b4)],'keystrokeHandler':this[_0x354e61(0x1e4)],'actions':{'focusPrevious':_0x354e61(0x19c),'focusNext':_0x354e61(0x1c1)}}),this[_0x354e61(0x1c4)][_0x354e61(0x1c0)](this[_0x354e61(0x1a4)][_0x354e61(0x1c4)]),this[_0x354e61(0x1a4)][_0x354e61(0x1df)][_0x354e61(0x1b7)][_0x354e61(0x1cd)](_0x354e61(0x1c2))['to'](this,_0x354e61(0x1c6));const _0x2df178=this[_0x354e61(0x1c8)];this[_0x354e61(0x1b5)]({'tag':_0x354e61(0x1bf),'attributes':{'class':['ck',_0x354e61(0x1da),_0x219315],'tabindex':'-1'},'children':[{'tag':_0x354e61(0x1bf),'attributes':{'class':['ck',_0x354e61(0x1e8)]},'children':[{'tag':_0x354e61(0x1bf),'attributes':{'class':[_0x2df178['if'](_0x354e61(0x1d1),_0x354e61(0x1b9),_0xc35aea=>!_0xc35aea)]},'children':[this[_0x354e61(0x1bb)]]},this[_0x354e61(0x1bc)],this[_0x354e61(0x1a1)],this[_0x354e61(0x1a4)]]}]});}[_0x4d962f(0x1b2)](){const _0x1df8e2=_0x4d962f;super[_0x1df8e2(0x1b2)](),this[_0x1df8e2(0x1b4)][_0x1df8e2(0x1c7)](this[_0x1df8e2(0x1bc)][_0x1df8e2(0x1e7)]),this[_0x1df8e2(0x1b4)][_0x1df8e2(0x1c7)](this[_0x1df8e2(0x1bc)][_0x1df8e2(0x1b1)][_0x1df8e2(0x1e7)]),this[_0x1df8e2(0x1b4)][_0x1df8e2(0x1c7)](this[_0x1df8e2(0x1a1)][_0x1df8e2(0x1e7)]),this[_0x1df8e2(0x1b4)][_0x1df8e2(0x1c7)](this[_0x1df8e2(0x1a4)][_0x1df8e2(0x1e7)]),this[_0x1df8e2(0x1e4)][_0x1df8e2(0x1ac)](this[_0x1df8e2(0x1e7)]);}[_0x4d962f(0x1b8)](_0x1fa11f=0x1){const _0x580cd8=_0x4d962f;-0x1===_0x1fa11f?this[_0x580cd8(0x1c4)][_0x580cd8(0x1a0)]():this[_0x580cd8(0x1c4)][_0x580cd8(0x1b6)]();}[_0x4d962f(0x1ad)](){const _0x30fd35=_0x4d962f;this[_0x30fd35(0x1c6)]='',this[_0x30fd35(0x1c2)]='',this[_0x30fd35(0x1d1)]=!0x1,this[_0x30fd35(0x1a4)][_0x30fd35(0x1ad)](),this[_0x30fd35(0x1bc)][_0x30fd35(0x1ce)]=!0x1,this[_0x30fd35(0x1a1)][_0x30fd35(0x1ce)]=!0x1;}[_0x4d962f(0x1ed)](){const _0x3f723c=_0x4d962f,_0x3412c6=this[_0x3f723c(0x1ba)],_0x1be6bb=new _0x1cc056(_0x3412c6,{'queryView':{'label':_0x35e8e2(_0x3412c6,_0x3f723c(0x1c3)),'creator':_0x258c0b,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x35e8e2(_0x3412c6,_0x3f723c(0x1a3)),'secondary':_0x35e8e2(_0x3412c6,_0x3f723c(0x1e6))}}},'filteredView':this[_0x3f723c(0x1d4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1be6bb[_0x3f723c(0x1cd)](_0x3f723c(0x1b0))['to'](this,_0x3f723c(0x1b0),this,_0x3f723c(0x1a9),(_0x4b7776,_0x5539f8)=>_0x4b7776&&!_0x5539f8),this[_0x3f723c(0x1ac)](_0x1be6bb,_0x3f723c(0x1c9),(_0x54eeff,_0x3935fd)=>{const _0x31144d=_0x3f723c;this[_0x31144d(0x1c6)]=_0x3935fd;const _0x406bb1=_0x55f848(_0x3935fd);this[_0x31144d(0x1a2)](_0x31144d(0x19a),_0x406bb1),_0x3935fd[_0x31144d(0x1de)]()&&this[_0x31144d(0x1d5)][_0x31144d(0x1c7)]({'prompt':_0x406bb1},0x0);},{'priority':_0x3f723c(0x1b3)}),_0x1be6bb;}[_0x4d962f(0x1d4)](){const _0x1e5cad=_0x4d962f,_0x590676=new _0x19c032(this[_0x1e5cad(0x1ba)]);return _0x590676[_0x1e5cad(0x1a7)][_0x1e5cad(0x1e2)][_0x1e5cad(0x1ea)](this[_0x1e5cad(0x1d5)])['as'](_0x23fb45),_0x590676['on'](_0x1e5cad(0x1c5),()=>{const _0x2bcc9b=_0x1e5cad;this[_0x2bcc9b(0x1d5)][_0x2bcc9b(0x19b)](),this[_0x2bcc9b(0x1a4)][_0x2bcc9b(0x1e0)](''),this[_0x2bcc9b(0x1a4)][_0x2bcc9b(0x1b8)]();}),_0x590676;}[_0x4d962f(0x1be)](){const _0x2c6793=_0x4d962f,_0x189861=new _0x96bbda(this[_0x2c6793(0x1ba)]);return _0x189861[_0x2c6793(0x1d2)][_0x2c6793(0x1cd)](_0x2c6793(0x1b0))['to'](this,_0x2c6793(0x1b0),this,_0x2c6793(0x1a9),this,_0x2c6793(0x1c2),(_0x9b22ff,_0x24ea77,_0x59665c)=>_0x9b22ff&&!_0x24ea77&&!!_0x59665c),_0x189861[_0x2c6793(0x1d2)][_0x2c6793(0x1e1)](_0x2c6793(0x19f))['to'](this,_0x2c6793(0x1d3)),_0x189861[_0x2c6793(0x199)][_0x2c6793(0x1cd)](_0x2c6793(0x1b0))['to'](this,_0x2c6793(0x1b0),this,_0x2c6793(0x1a9),this,_0x2c6793(0x1c2),(_0x356e74,_0x52f441,_0x2e4eac)=>_0x356e74&&!_0x52f441&&!!_0x2e4eac),_0x189861[_0x2c6793(0x199)][_0x2c6793(0x1e1)](_0x2c6793(0x19f))['to'](this,_0x2c6793(0x1a5)),_0x189861[_0x2c6793(0x1ab)][_0x2c6793(0x1cd)](_0x2c6793(0x1b0))['to'](this,_0x2c6793(0x1b0),this,_0x2c6793(0x1a9),(_0x46c24d,_0x517f73)=>_0x46c24d&&!_0x517f73),_0x189861[_0x2c6793(0x1ab)][_0x2c6793(0x1e1)](_0x2c6793(0x19f))['to'](this,_0x2c6793(0x1cf)),_0x189861[_0x2c6793(0x1d9)][_0x2c6793(0x1cd)](_0x2c6793(0x1b0))['to'](this,_0x2c6793(0x1a9)),_0x189861[_0x2c6793(0x1d9)][_0x2c6793(0x1e1)](_0x2c6793(0x19f))['to'](this,_0x2c6793(0x1d6)),_0x189861;}[_0x4d962f(0x1eb)](){const _0x584fad=_0x4d962f;this[_0x584fad(0x1c2)]='',this[_0x584fad(0x1d1)]=!0x1,this[_0x584fad(0x1a9)]=!0x0,this[_0x584fad(0x1bc)][_0x584fad(0x1ce)]=!0x0,this[_0x584fad(0x1a1)][_0x584fad(0x1ce)]=!0x0,this[_0x584fad(0x1bc)][_0x584fad(0x1b8)]();}[_0x4d962f(0x1af)](){const _0x56e665=_0x4d962f,_0x2ea59e=this[_0x56e665(0x1ba)];this[_0x56e665(0x1a9)]=!0x1,this[_0x56e665(0x1c6)]='',this[_0x56e665(0x1a4)][_0x56e665(0x1ad)](),this[_0x56e665(0x1c2)]&&(this[_0x56e665(0x1a4)][_0x56e665(0x1df)][_0x56e665(0x1e5)]=_0x35e8e2(_0x2ea59e,_0x56e665(0x1bd)));}[_0x4d962f(0x1ae)](_0x59ac8b){const _0x19f1a9=_0x4d962f,_0x1838a2=this[_0x19f1a9(0x1ba)];this[_0x19f1a9(0x1af)](),this[_0x19f1a9(0x1d1)]=!0x0,this[_0x19f1a9(0x1bb)][_0x19f1a9(0x1cc)]=_0x59ac8b||_0x35e8e2(_0x1838a2,_0x19f1a9(0x1d7)),this[_0x19f1a9(0x1c2)]||(this[_0x19f1a9(0x1bc)][_0x19f1a9(0x1ce)]=!0x1);}}
23
+ const _0x53316b=_0x4597;(function(_0x44091d,_0x12d397){const _0x33aec0=_0x4597,_0x500847=_0x44091d();while(!![]){try{const _0x597a9b=-parseInt(_0x33aec0(0x1f3))/0x1*(-parseInt(_0x33aec0(0x20f))/0x2)+-parseInt(_0x33aec0(0x1e9))/0x3+parseInt(_0x33aec0(0x1d6))/0x4*(parseInt(_0x33aec0(0x1ed))/0x5)+-parseInt(_0x33aec0(0x1c9))/0x6+parseInt(_0x33aec0(0x203))/0x7*(-parseInt(_0x33aec0(0x1dd))/0x8)+parseInt(_0x33aec0(0x217))/0x9+-parseInt(_0x33aec0(0x1d4))/0xa*(parseInt(_0x33aec0(0x210))/0xb);if(_0x597a9b===_0x12d397)break;else _0x500847['push'](_0x500847['shift']());}catch(_0x97c2b1){_0x500847['push'](_0x500847['shift']());}}}(_0x2619,0x6daca));import{FocusTracker as _0x41501e,KeystrokeHandler as _0x13da7c}from'ckeditor5/src/utils.js';import{View as _0x50f75b,FocusCycler as _0x13cea3,createLabeledTextarea as _0x442ed3}from'ckeditor5/src/ui.js';function _0x2619(){const _0x51aba2=['shift\x20+\x20tab','Ask\x20AI\x20to\x20edit\x20or\x20generate','text','delegate','high','_createToolbar','startProcessing','set','historyGroupView','insertButton','548590EEDJod','ck-ai-form-content','div','bindTo','focus','isProcessing','tryAgainEvent','copyButtonView','_createPromptView','focusFirst','createCollection','isError','2ZnACTg','5974529LvVYTp','replaceButton','ck-ai-form','tab','clearHistory','render','setTemplate','5310828nPyAOH','submit','promptView','value','tryAgainButton','items','_promptHistory','focusCycler','447138ZbBXTW','fire','stopButton','focusTracker','isEnabled','_createHistoryView','Empty\x20history','fieldView','reset','focusLast','add','10sOOalh','insertContentBelow','2080qXYioA','mainAction','replaceContent','label','prompt','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','queryView','8lFkbkl','Ask\x20AI\x20to\x20improve\x20generated\x20text','trim','clear','ck-hidden','bindTemplate','search','AI_ERROR_FAILED','submitPrompt','contentArea','stopProcessing','REPLACE','1318815ZwmvIz','handleError','isVisible','toolbar','5460NNFeLg','chain','keystrokes','element','execute','errorView','426931YbmcCX','bind','finishProcessing','listenTo','_focusables','locale'];_0x2619=function(){return _0x51aba2;};return _0x2619();}import _0x5efd9f,{AIFormToolbarViewMainActionLabel as _0x195946}from'./aiformtoolbarview.js';import _0x20794a from'./aiformcontentarea.js';import _0x1e660e from'./aiformerrorview.js';import _0x537504 from'./aiformpromptview.js';import _0x44e9cb from'./aihistorylistview.js';function _0x4597(_0x5020eb,_0x26a6d4){const _0x261981=_0x2619();return _0x4597=function(_0x4597a4,_0x167bd6){_0x4597a4=_0x4597a4-0x1c5;let _0x4036da=_0x261981[_0x4597a4];return _0x4036da;},_0x4597(_0x5020eb,_0x26a6d4);}import _0x22ed57 from'./aihistorylistitemview.js';import _0x59ad2f from'./prompthistory.js';import{getTranslation as _0x1e6e18}from'../../utils/common-translations.js';import{escape as _0x106bdd}from'lodash-es';export default class k extends _0x50f75b{constructor(_0x57ee0e,_0x5a7fd7,_0x539c3f=''){const _0x319e46=_0x4597;super(_0x57ee0e),this[_0x319e46(0x200)](_0x319e46(0x1cd),!0x0),this[_0x319e46(0x200)](_0x319e46(0x208),!0x1),this[_0x319e46(0x200)](_0x319e46(0x1da),''),this[_0x319e46(0x200)](_0x319e46(0x21a),''),this[_0x319e46(0x200)](_0x319e46(0x20e),!0x1),this[_0x319e46(0x200)](_0x319e46(0x1d7),_0x195946[_0x319e46(0x1e8)]),this[_0x319e46(0x1c7)]=new _0x59ad2f(),this[_0x319e46(0x1f2)]=new _0x1e660e(_0x57ee0e),this[_0x319e46(0x1e6)]=new _0x20794a(_0x57ee0e,_0x539c3f),this[_0x319e46(0x1e6)][_0x319e46(0x1f4)](_0x319e46(0x208))['to'](this),this[_0x319e46(0x1e6)][_0x319e46(0x1f4)](_0x319e46(0x21a))['to'](this),this[_0x319e46(0x1ec)]=this[_0x319e46(0x1fe)](),this[_0x319e46(0x1ec)][_0x319e46(0x1f4)](_0x319e46(0x1d7))['to'](this),this[_0x319e46(0x219)]=this[_0x319e46(0x20b)](),this[_0x319e46(0x1cc)]=new _0x41501e(),this[_0x319e46(0x1ef)]=new _0x13da7c(),this[_0x319e46(0x1f7)]=this[_0x319e46(0x20d)]([this[_0x319e46(0x1e6)],this[_0x319e46(0x1e6)][_0x319e46(0x20a)],this[_0x319e46(0x1ec)],this[_0x319e46(0x219)]]),this[_0x319e46(0x1c8)]=new _0x13cea3({'focusables':this[_0x319e46(0x1f7)],'focusTracker':this[_0x319e46(0x1cc)],'keystrokeHandler':this[_0x319e46(0x1ef)],'actions':{'focusPrevious':_0x319e46(0x1f9),'focusNext':_0x319e46(0x213)}}),this[_0x319e46(0x1c8)][_0x319e46(0x1ee)](this[_0x319e46(0x219)][_0x319e46(0x1c8)]),this[_0x319e46(0x219)][_0x319e46(0x1dc)][_0x319e46(0x1d0)][_0x319e46(0x1f4)](_0x319e46(0x21a))['to'](this,_0x319e46(0x1da));const _0x4b028d=this[_0x319e46(0x1e2)];this[_0x319e46(0x216)]({'tag':_0x319e46(0x205),'attributes':{'class':['ck',_0x319e46(0x212),_0x5a7fd7],'tabindex':'-1'},'children':[{'tag':_0x319e46(0x205),'attributes':{'class':['ck',_0x319e46(0x204)]},'children':[{'tag':_0x319e46(0x205),'attributes':{'class':[_0x4b028d['if'](_0x319e46(0x20e),_0x319e46(0x1e1),_0x2400ed=>!_0x2400ed)]},'children':[this[_0x319e46(0x1f2)]]},this[_0x319e46(0x1e6)],this[_0x319e46(0x1ec)],this[_0x319e46(0x219)]]}]});}[_0x53316b(0x215)](){const _0x54b4ad=_0x53316b;super[_0x54b4ad(0x215)](),this[_0x54b4ad(0x1cc)][_0x54b4ad(0x1d3)](this[_0x54b4ad(0x1e6)][_0x54b4ad(0x1f0)]),this[_0x54b4ad(0x1cc)][_0x54b4ad(0x1d3)](this[_0x54b4ad(0x1e6)][_0x54b4ad(0x20a)][_0x54b4ad(0x1f0)]),this[_0x54b4ad(0x1cc)][_0x54b4ad(0x1d3)](this[_0x54b4ad(0x1ec)][_0x54b4ad(0x1f0)]),this[_0x54b4ad(0x1cc)][_0x54b4ad(0x1d3)](this[_0x54b4ad(0x219)][_0x54b4ad(0x1f0)]),this[_0x54b4ad(0x1ef)][_0x54b4ad(0x1f6)](this[_0x54b4ad(0x1f0)]);}[_0x53316b(0x207)](_0x4310b5=0x1){const _0x4c92f1=_0x53316b;-0x1===_0x4310b5?this[_0x4c92f1(0x1c8)][_0x4c92f1(0x1d2)]():this[_0x4c92f1(0x1c8)][_0x4c92f1(0x20c)]();}[_0x53316b(0x1d1)](){const _0x2388e8=_0x53316b;this[_0x2388e8(0x1da)]='',this[_0x2388e8(0x21a)]='',this[_0x2388e8(0x20e)]=!0x1,this[_0x2388e8(0x219)][_0x2388e8(0x1d1)](),this[_0x2388e8(0x1e6)][_0x2388e8(0x1eb)]=!0x1,this[_0x2388e8(0x1ec)][_0x2388e8(0x1eb)]=!0x1;}[_0x53316b(0x20b)](){const _0x58f40a=_0x53316b,_0x202cf6=this[_0x58f40a(0x1f8)],_0x156ca3=new _0x537504(_0x202cf6,{'queryView':{'label':_0x1e6e18(_0x202cf6,_0x58f40a(0x1fa)),'creator':_0x442ed3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1e6e18(_0x202cf6,_0x58f40a(0x1cf)),'secondary':_0x1e6e18(_0x202cf6,_0x58f40a(0x1db))}}},'filteredView':this[_0x58f40a(0x1ce)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x156ca3[_0x58f40a(0x1f4)](_0x58f40a(0x1cd))['to'](this,_0x58f40a(0x1cd),this,_0x58f40a(0x208),(_0x558038,_0x55d5a0)=>_0x558038&&!_0x55d5a0),this[_0x58f40a(0x1f6)](_0x156ca3,_0x58f40a(0x218),(_0x3eb933,_0xd67daa)=>{const _0x525644=_0x58f40a;this[_0x525644(0x1da)]=_0xd67daa;const _0x1ee7c8=_0x106bdd(_0xd67daa);this[_0x525644(0x1ca)](_0x525644(0x1e5),_0x1ee7c8),_0xd67daa[_0x525644(0x1df)]()&&this[_0x525644(0x1c7)][_0x525644(0x1d3)]({'prompt':_0x1ee7c8},0x0);},{'priority':_0x58f40a(0x1fd)}),_0x156ca3;}[_0x53316b(0x1ce)](){const _0x29bf45=_0x53316b,_0x236d93=new _0x44e9cb(this[_0x29bf45(0x1f8)]);return _0x236d93[_0x29bf45(0x201)][_0x29bf45(0x1c6)][_0x29bf45(0x206)](this[_0x29bf45(0x1c7)])['as'](_0x22ed57),_0x236d93['on'](_0x29bf45(0x214),()=>{const _0x3fdc87=_0x29bf45;this[_0x3fdc87(0x1c7)][_0x3fdc87(0x1e0)](),this[_0x3fdc87(0x219)][_0x3fdc87(0x1e3)](''),this[_0x3fdc87(0x219)][_0x3fdc87(0x207)]();}),_0x236d93;}[_0x53316b(0x1fe)](){const _0x10174c=_0x53316b,_0x527c72=new _0x5efd9f(this[_0x10174c(0x1f8)]);return _0x527c72[_0x10174c(0x211)][_0x10174c(0x1f4)](_0x10174c(0x1cd))['to'](this,_0x10174c(0x1cd),this,_0x10174c(0x208),this,_0x10174c(0x21a),(_0x1bd9a4,_0x1d1145,_0xc68d59)=>_0x1bd9a4&&!_0x1d1145&&!!_0xc68d59),_0x527c72[_0x10174c(0x211)][_0x10174c(0x1fc)](_0x10174c(0x1f1))['to'](this,_0x10174c(0x1d8)),_0x527c72[_0x10174c(0x202)][_0x10174c(0x1f4)](_0x10174c(0x1cd))['to'](this,_0x10174c(0x1cd),this,_0x10174c(0x208),this,_0x10174c(0x21a),(_0x1f3df0,_0x26a1ce,_0x5cdaa6)=>_0x1f3df0&&!_0x26a1ce&&!!_0x5cdaa6),_0x527c72[_0x10174c(0x202)][_0x10174c(0x1fc)](_0x10174c(0x1f1))['to'](this,_0x10174c(0x1d5)),_0x527c72[_0x10174c(0x1c5)][_0x10174c(0x1f4)](_0x10174c(0x1cd))['to'](this,_0x10174c(0x1cd),this,_0x10174c(0x208),(_0x27dd08,_0xb2adda)=>_0x27dd08&&!_0xb2adda),_0x527c72[_0x10174c(0x1c5)][_0x10174c(0x1fc)](_0x10174c(0x1f1))['to'](this,_0x10174c(0x209)),_0x527c72[_0x10174c(0x1cb)][_0x10174c(0x1f4)](_0x10174c(0x1cd))['to'](this,_0x10174c(0x208)),_0x527c72[_0x10174c(0x1cb)][_0x10174c(0x1fc)](_0x10174c(0x1f1))['to'](this,_0x10174c(0x1e7)),_0x527c72;}[_0x53316b(0x1ff)](){const _0x5717a2=_0x53316b;this[_0x5717a2(0x21a)]='',this[_0x5717a2(0x20e)]=!0x1,this[_0x5717a2(0x208)]=!0x0,this[_0x5717a2(0x1e6)][_0x5717a2(0x1eb)]=!0x0,this[_0x5717a2(0x1ec)][_0x5717a2(0x1eb)]=!0x0,this[_0x5717a2(0x1e6)][_0x5717a2(0x207)]();}[_0x53316b(0x1f5)](){const _0x154171=_0x53316b,_0x726709=this[_0x154171(0x1f8)];this[_0x154171(0x208)]=!0x1,this[_0x154171(0x1da)]='',this[_0x154171(0x219)][_0x154171(0x1d1)](),this[_0x154171(0x21a)]&&(this[_0x154171(0x219)][_0x154171(0x1dc)][_0x154171(0x1d9)]=_0x1e6e18(_0x726709,_0x154171(0x1de)));}[_0x53316b(0x1ea)](_0x43570c){const _0x41526c=_0x53316b,_0x5617cd=this[_0x41526c(0x1f8)];this[_0x41526c(0x1f5)](),this[_0x41526c(0x20e)]=!0x0,this[_0x41526c(0x1f2)][_0x41526c(0x1fb)]=_0x43570c||_0x1e6e18(_0x5617cd,_0x41526c(0x1e4)),this[_0x41526c(0x21a)]||(this[_0x41526c(0x1e6)][_0x41526c(0x1eb)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x48b549,_0x5d6ff9){const _0xcd09cd=_0x299c,_0x282c64=_0x48b549();while(!![]){try{const _0x1a34f2=-parseInt(_0xcd09cd(0xfb))/0x1+parseInt(_0xcd09cd(0x109))/0x2+parseInt(_0xcd09cd(0x102))/0x3+parseInt(_0xcd09cd(0x10b))/0x4*(parseInt(_0xcd09cd(0xfe))/0x5)+parseInt(_0xcd09cd(0x103))/0x6*(parseInt(_0xcd09cd(0x100))/0x7)+-parseInt(_0xcd09cd(0x106))/0x8*(-parseInt(_0xcd09cd(0xfd))/0x9)+-parseInt(_0xcd09cd(0x105))/0xa*(parseInt(_0xcd09cd(0x101))/0xb);if(_0x1a34f2===_0x5d6ff9)break;else _0x282c64['push'](_0x282c64['shift']());}catch(_0x350e5b){_0x282c64['push'](_0x282c64['shift']());}}}(_0x3c35,0x21a0b));import{ListItemView as _0x1da7f7,ButtonView as _0x3b3150,ButtonLabelView as _0x39527e}from'ckeditor5/src/ui.js';import{unescape as _0x115b2c}from'lodash-es';export default class hs extends _0x1da7f7{constructor(_0x356577){const _0x544106=_0x299c;super();const _0x5e2386=new _0x39527e(),_0x578a8b=new _0x3b3150(this[_0x544106(0x10a)],_0x5e2386);this[_0x544106(0x107)][_0x544106(0x108)](_0x578a8b),_0x578a8b[_0x544106(0xfa)]({'label':_0x356577[_0x544106(0xff)],'withText':!0x0}),_0x578a8b['on'](_0x544106(0xfc),()=>{const _0x4a0980=_0x544106;this[_0x4a0980(0x104)](_0x4a0980(0xfc),{'value':_0x115b2c(_0x356577[_0x4a0980(0xff)])});});}}function _0x299c(_0x2e527c,_0x19e71d){const _0x3c35f8=_0x3c35();return _0x299c=function(_0x299c89,_0x4ac592){_0x299c89=_0x299c89-0xfa;let _0x5358d2=_0x3c35f8[_0x299c89];return _0x5358d2;},_0x299c(_0x2e527c,_0x19e71d);}function _0x3c35(){const _0x1e07ad=['prompt','86639onvqaL','22brwrAv','554424KgvsjM','120JgCRFo','fire','2526740aMvVev','768dgBoHy','children','add','256924JWzcuC','locale','412sUiFKd','set','229137yZegwC','execute','18747UsgJov','5410NlJlow'];_0x3c35=function(){return _0x1e07ad;};return _0x3c35();}
23
+ (function(_0x305877,_0x23379b){const _0x382d21=_0x2507,_0x3b7d79=_0x305877();while(!![]){try{const _0x2ec81e=-parseInt(_0x382d21(0x152))/0x1+-parseInt(_0x382d21(0x15b))/0x2+parseInt(_0x382d21(0x159))/0x3+-parseInt(_0x382d21(0x15a))/0x4+parseInt(_0x382d21(0x154))/0x5*(-parseInt(_0x382d21(0x155))/0x6)+-parseInt(_0x382d21(0x156))/0x7*(-parseInt(_0x382d21(0x153))/0x8)+-parseInt(_0x382d21(0x15f))/0x9*(-parseInt(_0x382d21(0x158))/0xa);if(_0x2ec81e===_0x23379b)break;else _0x3b7d79['push'](_0x3b7d79['shift']());}catch(_0x2fa8d3){_0x3b7d79['push'](_0x3b7d79['shift']());}}}(_0xe23b,0x4c9b3));import{ListItemView as _0x50f6c8,ButtonView as _0x6b9e88,ButtonLabelView as _0x5a67f1}from'ckeditor5/src/ui.js';function _0xe23b(){const _0x4dfd13=['1836356NqCTfA','878302FPCVji','prompt','locale','children','9IYzZpQ','execute','add','fire','218767hmoegT','16GtPTxg','10ZgnyMD','303558Wzrwxm','1900598VUiSOb','set','9038510cdCSne','255279DVjOeB'];_0xe23b=function(){return _0x4dfd13;};return _0xe23b();}function _0x2507(_0x738600,_0x3a2a03){const _0xe23be7=_0xe23b();return _0x2507=function(_0x2507be,_0x4ab650){_0x2507be=_0x2507be-0x150;let _0xe0c7e2=_0xe23be7[_0x2507be];return _0xe0c7e2;},_0x2507(_0x738600,_0x3a2a03);}import{unescape as _0x11673a}from'lodash-es';export default class hs extends _0x50f6c8{constructor(_0x3476aa){const _0x25113d=_0x2507;super();const _0x207242=new _0x5a67f1(),_0x373aec=new _0x6b9e88(this[_0x25113d(0x15d)],_0x207242);this[_0x25113d(0x15e)][_0x25113d(0x150)](_0x373aec),_0x373aec[_0x25113d(0x157)]({'label':_0x3476aa[_0x25113d(0x15c)],'withText':!0x0}),_0x373aec['on'](_0x25113d(0x160),()=>{const _0x1a4ac0=_0x25113d;this[_0x1a4ac0(0x151)](_0x1a4ac0(0x160),{'value':_0x11673a(_0x3476aa[_0x1a4ac0(0x15c)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x535a52=_0x2509;(function(_0x528f2a,_0x3dfcf8){const _0x4be7ec=_0x2509,_0x481a52=_0x528f2a();while(!![]){try{const _0x588117=parseInt(_0x4be7ec(0x1d8))/0x1*(-parseInt(_0x4be7ec(0x1f1))/0x2)+parseInt(_0x4be7ec(0x1e5))/0x3+-parseInt(_0x4be7ec(0x1e6))/0x4*(parseInt(_0x4be7ec(0x1dd))/0x5)+parseInt(_0x4be7ec(0x1f3))/0x6+-parseInt(_0x4be7ec(0x1e3))/0x7*(parseInt(_0x4be7ec(0x1e2))/0x8)+parseInt(_0x4be7ec(0x1ed))/0x9*(parseInt(_0x4be7ec(0x1da))/0xa)+-parseInt(_0x4be7ec(0x1d9))/0xb*(-parseInt(_0x4be7ec(0x1de))/0xc);if(_0x588117===_0x3dfcf8)break;else _0x481a52['push'](_0x481a52['shift']());}catch(_0x4d29f1){_0x481a52['push'](_0x481a52['shift']());}}}(_0xdbc3,0x6fd17));import{ListView as _0x44b05a,ListItemGroupView as _0x10e11a,ButtonView as _0x34d90f}from'ckeditor5/src/ui.js';function _0xdbc3(){const _0x5443cb=['1636227WKzwLj','724DfFCBH','_createClearHistoryButton','historyGroupView','locale','execute','clearHistoryButton','filter','9VDzEPA','delegate','clearHistory','add','7164LrMTDt','Clear','3130356FjCaOK','items','81hAblIy','219307tuTDmI','1139360szTVbE','children','length','11995eDxOGk','24nTFffo','Prompt\x20history','fire','label','1848eOxDVZ','1169JPEONX','set'];_0xdbc3=function(){return _0x5443cb;};return _0xdbc3();}function _0x2509(_0x59dc94,_0x7e29c8){const _0xdbc3ca=_0xdbc3();return _0x2509=function(_0x2509b0,_0x27ab23){_0x2509b0=_0x2509b0-0x1d7;let _0x3615be=_0xdbc3ca[_0x2509b0];return _0x3615be;},_0x2509(_0x59dc94,_0x7e29c8);}import{getTranslation as _0x39eb3e}from'../../utils/common-translations.js';export default class rs extends _0x44b05a{constructor(_0x18817f){const _0x1b84a3=_0x2509;super(_0x18817f),this[_0x1b84a3(0x1eb)]=this[_0x1b84a3(0x1e7)](),this[_0x1b84a3(0x1e8)]=new _0x10e11a(),this[_0x1b84a3(0x1e8)][_0x1b84a3(0x1db)][_0x1b84a3(0x1f0)](this[_0x1b84a3(0x1eb)],0x1),this[_0x1b84a3(0x1e8)][_0x1b84a3(0x1e1)]=_0x39eb3e(_0x18817f,_0x1b84a3(0x1df)),this[_0x1b84a3(0x1e8)][_0x1b84a3(0x1d7)][_0x1b84a3(0x1ee)](_0x1b84a3(0x1ea))['to'](this),this[_0x1b84a3(0x1d7)][_0x1b84a3(0x1f0)](this[_0x1b84a3(0x1e8)]);}[_0x535a52(0x1ec)](){const _0x28710=_0x535a52;let _0x347f7a=0x0;for(const _0x449c5c of this[_0x28710(0x1d7)])_0x347f7a+=_0x449c5c[_0x28710(0x1d7)][_0x28710(0x1dc)];return{'resultsCount':_0x347f7a,'totalItemsCount':_0x347f7a};}[_0x535a52(0x1e7)](){const _0x5318e1=_0x535a52,_0x4e6379=this[_0x5318e1(0x1e9)],_0x459b34=new _0x34d90f(this[_0x5318e1(0x1e9)]);return _0x459b34[_0x5318e1(0x1e4)]({'label':'('+_0x39eb3e(_0x4e6379,_0x5318e1(0x1f2))+')','withText':!0x0}),_0x459b34['on'](_0x5318e1(0x1ea),()=>this[_0x5318e1(0x1e0)](_0x5318e1(0x1ef))),_0x459b34;}}
23
+ const _0x3a6196=_0x12ad;(function(_0x4d06e5,_0x6e77f3){const _0x3bd75c=_0x12ad,_0x4e051b=_0x4d06e5();while(!![]){try{const _0x1fd43b=-parseInt(_0x3bd75c(0x15b))/0x1*(-parseInt(_0x3bd75c(0x14a))/0x2)+parseInt(_0x3bd75c(0x14b))/0x3*(parseInt(_0x3bd75c(0x146))/0x4)+-parseInt(_0x3bd75c(0x147))/0x5+-parseInt(_0x3bd75c(0x149))/0x6*(parseInt(_0x3bd75c(0x15c))/0x7)+parseInt(_0x3bd75c(0x153))/0x8*(-parseInt(_0x3bd75c(0x15f))/0x9)+-parseInt(_0x3bd75c(0x14e))/0xa+parseInt(_0x3bd75c(0x160))/0xb*(parseInt(_0x3bd75c(0x156))/0xc);if(_0x1fd43b===_0x6e77f3)break;else _0x4e051b['push'](_0x4e051b['shift']());}catch(_0x3ad8a1){_0x4e051b['push'](_0x4e051b['shift']());}}}(_0x51fd,0x47ccd));import{ListView as _0x43cdb9,ListItemGroupView as _0x5c8e70,ButtonView as _0x30eb8b}from'ckeditor5/src/ui.js';import{getTranslation as _0xa6ffd3}from'../../utils/common-translations.js';export default class rs extends _0x43cdb9{constructor(_0x5dac75){const _0x4765ad=_0x12ad;super(_0x5dac75),this[_0x4765ad(0x152)]=this[_0x4765ad(0x14c)](),this[_0x4765ad(0x154)]=new _0x5c8e70(),this[_0x4765ad(0x154)][_0x4765ad(0x151)][_0x4765ad(0x148)](this[_0x4765ad(0x152)],0x1),this[_0x4765ad(0x154)][_0x4765ad(0x155)]=_0xa6ffd3(_0x5dac75,_0x4765ad(0x161)),this[_0x4765ad(0x154)][_0x4765ad(0x15e)][_0x4765ad(0x15a)](_0x4765ad(0x162))['to'](this),this[_0x4765ad(0x15e)][_0x4765ad(0x148)](this[_0x4765ad(0x154)]);}[_0x3a6196(0x14f)](){const _0x58ae70=_0x3a6196;let _0x521f94=0x0;for(const _0x53d38b of this[_0x58ae70(0x15e)])_0x521f94+=_0x53d38b[_0x58ae70(0x15e)][_0x58ae70(0x15d)];return{'resultsCount':_0x521f94,'totalItemsCount':_0x521f94};}[_0x3a6196(0x14c)](){const _0x303a43=_0x3a6196,_0x42fb85=this[_0x303a43(0x158)],_0x5bd1fc=new _0x30eb8b(this[_0x303a43(0x158)]);return _0x5bd1fc[_0x303a43(0x14d)]({'label':'('+_0xa6ffd3(_0x42fb85,_0x303a43(0x157))+')','withText':!0x0}),_0x5bd1fc['on'](_0x303a43(0x162),()=>this[_0x303a43(0x150)](_0x303a43(0x159))),_0x5bd1fc;}}function _0x12ad(_0x2482e8,_0x3547a8){const _0x51fdda=_0x51fd();return _0x12ad=function(_0x12ada9,_0x226e5d){_0x12ada9=_0x12ada9-0x146;let _0x30ecc9=_0x51fdda[_0x12ada9];return _0x30ecc9;},_0x12ad(_0x2482e8,_0x3547a8);}function _0x51fd(){const _0x4064ba=['clearHistoryButton','8HooVQk','historyGroupView','label','588BpwnpV','Clear','locale','clearHistory','delegate','1467LMcGsm','959gADgFX','length','items','4116618mvJFkL','335357IFzRUh','Prompt\x20history','execute','1419412NKOBoU','1446115WWyEaS','add','11418JXYRqs','18fDomdS','3rVFRBk','_createClearHistoryButton','set','5604900MWzKDl','filter','fire','children'];_0x51fd=function(){return _0x4064ba;};return _0x51fd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4db1db=_0x11b7;function _0x11b7(_0x1aa295,_0xfa034e){const _0x310d38=_0x310d();return _0x11b7=function(_0x11b73f,_0x584eeb){_0x11b73f=_0x11b73f-0x19e;let _0x57e004=_0x310d38[_0x11b73f];return _0x57e004;},_0x11b7(_0x1aa295,_0xfa034e);}(function(_0x37c342,_0x2b4043){const _0x3912ce=_0x11b7,_0x1ea5b5=_0x37c342();while(!![]){try{const _0x5bfab4=parseInt(_0x3912ce(0x1b3))/0x1*(-parseInt(_0x3912ce(0x1a4))/0x2)+parseInt(_0x3912ce(0x1af))/0x3+parseInt(_0x3912ce(0x1b6))/0x4*(parseInt(_0x3912ce(0x1a7))/0x5)+parseInt(_0x3912ce(0x1b0))/0x6*(parseInt(_0x3912ce(0x1a1))/0x7)+parseInt(_0x3912ce(0x1a0))/0x8*(-parseInt(_0x3912ce(0x1aa))/0x9)+parseInt(_0x3912ce(0x1ac))/0xa*(parseInt(_0x3912ce(0x1ad))/0xb)+-parseInt(_0x3912ce(0x1b1))/0xc;if(_0x5bfab4===_0x2b4043)break;else _0x1ea5b5['push'](_0x1ea5b5['shift']());}catch(_0x5ccaf8){_0x1ea5b5['push'](_0x1ea5b5['shift']());}}}(_0x310d,0xdbd55));import{Collection as _0xabb23a}from'ckeditor5/src/utils.js';const cs=_0x4db1db(0x1b7);export default class os extends _0xabb23a{constructor(){const _0x22a769=_0x4db1db;super(),this[_0x22a769(0x1b4)](),this['on'](_0x22a769(0x1ab),(_0x68025a,_0x639898)=>{const _0x38e4c1=_0x22a769,_0x58031e=Ss(_0x639898[_0x38e4c1(0x1a5)]);for(const _0x319878 of this)if(_0x319878!=_0x639898&&Ss(_0x319878[_0x38e4c1(0x1a5)])===_0x58031e){this[_0x38e4c1(0x1b8)](_0x319878);break;}this[_0x38e4c1(0x1ae)]>0x14&&this[_0x38e4c1(0x1b8)](this[_0x38e4c1(0x19f)]),this[_0x38e4c1(0x1a6)]();}),this['on'](_0x22a769(0x1b8),()=>{const _0x561a86=_0x22a769;this[_0x561a86(0x1a6)]();});}[_0x4db1db(0x1b4)](){const _0x1ba02a=_0x4db1db,_0x43cede=sessionStorage[_0x1ba02a(0x19e)](cs)||'[]';this[_0x1ba02a(0x1a9)](JSON[_0x1ba02a(0x1b5)](_0x43cede));}[_0x4db1db(0x1a6)](){const _0x530d8c=_0x4db1db;sessionStorage[_0x530d8c(0x1a2)](cs,JSON[_0x530d8c(0x1b9)](this[_0x530d8c(0x1b2)](_0x389d4c=>_0x389d4c)));}}function Ss(_0x26559b){const _0x3830c0=_0x4db1db;return _0x26559b[_0x3830c0(0x1a8)]()[_0x3830c0(0x1a3)]();}function _0x310d(){const _0x4d405b=['4453245wkiNeM','161562tgKfWS','15944208TjKnRN','map','13TjjrPg','_loadFromSessionStorage','parse','4mbuYej','CKEditor/AIFormView/PromptHistory','remove','stringify','getItem','last','40aASjBf','140ExoEvx','setItem','trim','76676bgsGmn','prompt','_saveToSessionStorage','2234185nzdkSt','toLowerCase','addMany','1558971KOBNDL','add','60VtmvXX','2060333jVKeRH','length'];_0x310d=function(){return _0x4d405b;};return _0x310d();}
23
+ const _0x4b3c4d=_0xc243;(function(_0x5f4dd0,_0x339e4b){const _0x1c5940=_0xc243,_0x1534be=_0x5f4dd0();while(!![]){try{const _0x349f8a=parseInt(_0x1c5940(0xb5))/0x1*(parseInt(_0x1c5940(0xb9))/0x2)+parseInt(_0x1c5940(0xc0))/0x3+parseInt(_0x1c5940(0xb1))/0x4*(-parseInt(_0x1c5940(0xb7))/0x5)+parseInt(_0x1c5940(0xc4))/0x6+parseInt(_0x1c5940(0xc1))/0x7+-parseInt(_0x1c5940(0xb4))/0x8+-parseInt(_0x1c5940(0xbd))/0x9*(parseInt(_0x1c5940(0xab))/0xa);if(_0x349f8a===_0x339e4b)break;else _0x1534be['push'](_0x1534be['shift']());}catch(_0x213644){_0x1534be['push'](_0x1534be['shift']());}}}(_0x3713,0xcc31a));import{Collection as _0x34b3e1}from'ckeditor5/src/utils.js';function _0x3713(){const _0xf0844f=['addMany','remove','43374BNrbQA','29780vbhIpj','parse','length','getItem','add','stringify','76uqzzbw','trim','_loadFromSessionStorage','1412744EMBAjN','77370HEPXLx','toLowerCase','366785yTKnQt','map','34kYHqUP','setItem','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','162FZcPcV','last','prompt','3315534LNXUSO','228627SEsfxz'];_0x3713=function(){return _0xf0844f;};return _0x3713();}function _0xc243(_0xdc8026,_0x981981){const _0x37139a=_0x3713();return _0xc243=function(_0xc243ef,_0x3db0dd){_0xc243ef=_0xc243ef-0xab;let _0x5735bd=_0x37139a[_0xc243ef];return _0x5735bd;},_0xc243(_0xdc8026,_0x981981);}const cs=_0x4b3c4d(0xbc);export default class os extends _0x34b3e1{constructor(){const _0x3dd025=_0x4b3c4d;super(),this[_0x3dd025(0xb3)](),this['on'](_0x3dd025(0xaf),(_0x5ea722,_0x17565e)=>{const _0x43b264=_0x3dd025,_0x3f7c2f=Ss(_0x17565e[_0x43b264(0xbf)]);for(const _0x1af4bc of this)if(_0x1af4bc!=_0x17565e&&Ss(_0x1af4bc[_0x43b264(0xbf)])===_0x3f7c2f){this[_0x43b264(0xc3)](_0x1af4bc);break;}this[_0x43b264(0xad)]>0x14&&this[_0x43b264(0xc3)](this[_0x43b264(0xbe)]),this[_0x43b264(0xbb)]();}),this['on'](_0x3dd025(0xc3),()=>{const _0x3888ac=_0x3dd025;this[_0x3888ac(0xbb)]();});}[_0x4b3c4d(0xb3)](){const _0x338ec3=_0x4b3c4d,_0x1b1994=sessionStorage[_0x338ec3(0xae)](cs)||'[]';this[_0x338ec3(0xc2)](JSON[_0x338ec3(0xac)](_0x1b1994));}[_0x4b3c4d(0xbb)](){const _0x2d9edf=_0x4b3c4d;sessionStorage[_0x2d9edf(0xba)](cs,JSON[_0x2d9edf(0xb0)](this[_0x2d9edf(0xb8)](_0x49efd3=>_0x49efd3)));}}function Ss(_0x330da9){const _0x55db3a=_0x4b3c4d;return _0x330da9[_0x55db3a(0xb6)]()[_0x55db3a(0xb2)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13142a=_0x3959;function _0x198f(){const _0x516446=['showUI','change:_hasContext','custom','config','isEnabled','editor','12901pYxsyQ','_commandDefinitions','model','ai.aiAssistant.disabledElements','264kkpbqf','refresh','enabledCommandsIds','execute','10pXoTow','getSelectedBlocks','5482269PXLqeM','change:isEnabled','1006786jJBzOj','1609080cGAQsT','6908QSIbdT','document','get','2994453ueLigL','name','plugins','_hasContext','getRanges','set','length','requiresContent','8BXcrNQ','values','selection','getItems','75413wYAldk','132ZOcQpJ','342dODApQ','isCollapsed','hasContent','includes','isEmpty','add','element','from','1wtvQfh','getFirstRange'];_0x198f=function(){return _0x516446;};return _0x198f();}function _0x3959(_0x4d7373,_0x2c9863){const _0x198f77=_0x198f();return _0x3959=function(_0x395961,_0x2e8ba5){_0x395961=_0x395961-0x8c;let _0x595212=_0x198f77[_0x395961];return _0x595212;},_0x3959(_0x4d7373,_0x2c9863);}(function(_0x52aa1e,_0x397523){const _0x545142=_0x3959,_0xbb8a0f=_0x52aa1e();while(!![]){try{const _0x7e1c62=parseInt(_0x545142(0x9c))/0x1*(parseInt(_0x545142(0xb0))/0x2)+-parseInt(_0x545142(0x94))/0x3*(parseInt(_0x545142(0xb2))/0x4)+parseInt(_0x545142(0xb1))/0x5+parseInt(_0x545142(0x93))/0x6*(-parseInt(_0x545142(0xa4))/0x7)+-parseInt(_0x545142(0x8e))/0x8*(parseInt(_0x545142(0xae))/0x9)+parseInt(_0x545142(0xac))/0xa*(parseInt(_0x545142(0xb5))/0xb)+parseInt(_0x545142(0xa8))/0xc*(parseInt(_0x545142(0x92))/0xd);if(_0x7e1c62===_0x397523)break;else _0xbb8a0f['push'](_0xbb8a0f['shift']());}catch(_0x16aebe){_0xbb8a0f['push'](_0xbb8a0f['shift']());}}}(_0x198f,0x5c679));import{Command as _0x581344}from'ckeditor5/src/core.js';import _0x2884e5 from'../aiassistantui.js';export default class E extends _0x581344{constructor(_0x51de60,_0x355e69){const _0x4eb5ab=_0x3959;super(_0x51de60),this[_0x4eb5ab(0xa5)]=_0x355e69,this[_0x4eb5ab(0xba)](_0x4eb5ab(0xaa),[]),this['on'](_0x4eb5ab(0x9f),(_0x3afc7a,_0x3e7edf,_0xad7709)=>{const _0x3db43a=_0x4eb5ab;this[_0x3db43a(0xa2)]&&(this[_0x3db43a(0xaa)]=G(this[_0x3db43a(0xa5)],_0xad7709));}),this[_0x4eb5ab(0xba)](_0x4eb5ab(0xb8),!0x1),this['on'](_0x4eb5ab(0xaf),(_0x11a986,_0x1ef541,_0x542a5a)=>{const _0x29cfc0=_0x4eb5ab;this[_0x29cfc0(0xaa)]=_0x542a5a?G(this[_0x29cfc0(0xa5)],this[_0x29cfc0(0xb8)]):[];});}[_0x13142a(0xa9)](){const _0x4942f8=_0x13142a,_0x6825f9=this[_0x4942f8(0xa3)][_0x4942f8(0xa6)];this[_0x4942f8(0xb8)]=function(_0x129a19){const _0x287503=_0x4942f8,_0x239358=_0x129a19[_0x287503(0xb3)][_0x287503(0x90)];return _0x239358[_0x287503(0x95)]?0x0!==[..._0x239358[_0x287503(0xad)]()][_0x287503(0x8c)]&&![..._0x239358[_0x287503(0xad)]()][0x0][_0x287503(0x98)]:!!_0x129a19[_0x287503(0x96)](_0x239358[_0x287503(0x9d)]());}(_0x6825f9);const _0x4bf34f=_0x6825f9[_0x4942f8(0xb3)][_0x4942f8(0x90)],_0x130a3d=this[_0x4942f8(0xa3)][_0x4942f8(0xa1)][_0x4942f8(0xb4)](_0x4942f8(0xa7));for(const _0x128ce2 of _0x4bf34f[_0x4942f8(0xb9)]())for(const _0x5385b0 of _0x128ce2[_0x4942f8(0x91)]())if(_0x5385b0['is'](_0x4942f8(0x9a))&&_0x130a3d[_0x4942f8(0x97)](_0x5385b0[_0x4942f8(0xb6)]))return void(this[_0x4942f8(0xa2)]=!0x1);this[_0x4942f8(0xa2)]=!0x0;}[_0x13142a(0xab)](_0x369ff5='',_0x402bc6='',_0x25fcaf=_0x13142a(0xa0)){const _0xa0e0cd=_0x13142a;this[_0xa0e0cd(0xa3)][_0xa0e0cd(0xb7)][_0xa0e0cd(0xb4)](_0x2884e5)[_0xa0e0cd(0x9e)](_0x369ff5,_0x402bc6,_0x25fcaf);}}function G(_0x293566,_0x1a5d4f){const _0x5df867=_0x13142a,_0x1f3f15=new Set();for(const _0x69693c of _0x293566[_0x5df867(0x8f)]())(_0x1a5d4f||!0x1===_0x69693c[_0x5df867(0x8d)])&&_0x1f3f15[_0x5df867(0x99)](_0x69693c['id']);return Array[_0x5df867(0x9b)](_0x1f3f15);}
23
+ const _0x2bd7c3=_0x2c98;(function(_0x5a14c0,_0x58751e){const _0x322efe=_0x2c98,_0x23cc14=_0x5a14c0();while(!![]){try{const _0xd2fe1f=-parseInt(_0x322efe(0x184))/0x1+-parseInt(_0x322efe(0x188))/0x2*(parseInt(_0x322efe(0x18f))/0x3)+parseInt(_0x322efe(0x199))/0x4+parseInt(_0x322efe(0x198))/0x5*(parseInt(_0x322efe(0x186))/0x6)+-parseInt(_0x322efe(0x190))/0x7+-parseInt(_0x322efe(0x194))/0x8+parseInt(_0x322efe(0x1a8))/0x9;if(_0xd2fe1f===_0x58751e)break;else _0x23cc14['push'](_0x23cc14['shift']());}catch(_0x166bd0){_0x23cc14['push'](_0x23cc14['shift']());}}}(_0x44e5,0x50433));function _0x2c98(_0x1ba147,_0x1901ec){const _0x44e5f0=_0x44e5();return _0x2c98=function(_0x2c98b5,_0x1aaa7b){_0x2c98b5=_0x2c98b5-0x184;let _0x5a05f7=_0x44e5f0[_0x2c98b5];return _0x5a05f7;},_0x2c98(_0x1ba147,_0x1901ec);}import{Command as _0x188b17}from'ckeditor5/src/core.js';function _0x44e5(){const _0x36ce09=['isEnabled','getRanges','isEmpty','change:_hasContext','refresh','includes','selection','config','execute','editor','hasContent','add','4543398gvTsKj','get','showUI','getItems','document','custom','values','329422lxYCJl','from','72WYDBSJ','model','36262nDGCfM','set','name','ai.aiAssistant.disabledElements','getFirstRange','requiresContent','enabledCommandsIds','51rkVqmh','1597015PkgJpO','_hasContext','getSelectedBlocks','plugins','2299760nPSMer','element','_commandDefinitions','length','272865YlZNet','1289284rYHKiF','change:isEnabled','isCollapsed'];_0x44e5=function(){return _0x36ce09;};return _0x44e5();}import _0x47207d from'../aiassistantui.js';export default class E extends _0x188b17{constructor(_0x18575b,_0x3fb78d){const _0x5db5e5=_0x2c98;super(_0x18575b),this[_0x5db5e5(0x196)]=_0x3fb78d,this[_0x5db5e5(0x189)](_0x5db5e5(0x18e),[]),this['on'](_0x5db5e5(0x19f),(_0x476282,_0x43be75,_0x48edb0)=>{const _0x458f9b=_0x5db5e5;this[_0x458f9b(0x19c)]&&(this[_0x458f9b(0x18e)]=G(this[_0x458f9b(0x196)],_0x48edb0));}),this[_0x5db5e5(0x189)](_0x5db5e5(0x191),!0x1),this['on'](_0x5db5e5(0x19a),(_0x1cd750,_0x36edf6,_0x3b4bc5)=>{const _0x4edbcf=_0x5db5e5;this[_0x4edbcf(0x18e)]=_0x3b4bc5?G(this[_0x4edbcf(0x196)],this[_0x4edbcf(0x191)]):[];});}[_0x2bd7c3(0x1a0)](){const _0x501baa=_0x2bd7c3,_0x209dfe=this[_0x501baa(0x1a5)][_0x501baa(0x187)];this[_0x501baa(0x191)]=function(_0xa40103){const _0x41ca19=_0x501baa,_0x2f3733=_0xa40103[_0x41ca19(0x1ac)][_0x41ca19(0x1a2)];return _0x2f3733[_0x41ca19(0x19b)]?0x0!==[..._0x2f3733[_0x41ca19(0x192)]()][_0x41ca19(0x197)]&&![..._0x2f3733[_0x41ca19(0x192)]()][0x0][_0x41ca19(0x19e)]:!!_0xa40103[_0x41ca19(0x1a6)](_0x2f3733[_0x41ca19(0x18c)]());}(_0x209dfe);const _0x1473b4=_0x209dfe[_0x501baa(0x1ac)][_0x501baa(0x1a2)],_0x3eaf93=this[_0x501baa(0x1a5)][_0x501baa(0x1a3)][_0x501baa(0x1a9)](_0x501baa(0x18b));for(const _0x11e3c7 of _0x1473b4[_0x501baa(0x19d)]())for(const _0x56a102 of _0x11e3c7[_0x501baa(0x1ab)]())if(_0x56a102['is'](_0x501baa(0x195))&&_0x3eaf93[_0x501baa(0x1a1)](_0x56a102[_0x501baa(0x18a)]))return void(this[_0x501baa(0x19c)]=!0x1);this[_0x501baa(0x19c)]=!0x0;}[_0x2bd7c3(0x1a4)](_0x1eb30e='',_0x48a0cd='',_0x540042=_0x2bd7c3(0x1ad)){const _0x5c5a2c=_0x2bd7c3;this[_0x5c5a2c(0x1a5)][_0x5c5a2c(0x193)][_0x5c5a2c(0x1a9)](_0x47207d)[_0x5c5a2c(0x1aa)](_0x1eb30e,_0x48a0cd,_0x540042);}}function G(_0x47e2bc,_0x557ec2){const _0x47f752=_0x2bd7c3,_0x143fc0=new Set();for(const _0xdf4021 of _0x47e2bc[_0x47f752(0x1ae)]())(_0x557ec2||!0x1===_0xdf4021[_0x47f752(0x18d)])&&_0x143fc0[_0x47f752(0x1a7)](_0xdf4021['id']);return Array[_0x47f752(0x185)](_0x143fc0);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4b996d,_0x5c9e9b,_0x1a71ca){const t=_0x4b996d['t'];switch(_0x5c9e9b){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',_0x1a71ca);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1a71ca);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'},_0x1a71ca);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 _0x5c9e9b;}}
23
+ export function getTranslation(_0x791077,_0x479de2,_0x1c50b9){const t=_0x791077['t'];switch(_0x479de2){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',_0x1c50b9);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1c50b9);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'},_0x1c50b9);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 _0x479de2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0xe95f5b,_0x2bfec0){const _0x19b701=(0x0,_0x2bfec0['t'])('Other');return _0xe95f5b['length']?'groupId'in _0xe95f5b[0x0]?_0xe95f5b:[{'groupId':'_ungrouppedCommands','groupLabel':_0x19b701,'order':0x1/0x0,'commands':_0xe95f5b}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x19b701,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x268cd0,_0x57a8d7){const _0x366391=(0x0,_0x57a8d7['t'])('Other');return _0x268cd0['length']?'groupId'in _0x268cd0[0x0]?_0x268cd0:[{'groupId':'_ungrouppedCommands','groupLabel':_0x366391,'order':0x1/0x0,'commands':_0x268cd0}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x366391,'order':0x1/0x0,'commands':[]}];}