@ckeditor/ckeditor5-ai 44.2.0 → 44.2.1

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 _0x5c4952=_0x24a0;function _0x24a0(_0x5c1f7f,_0x1703dc){const _0x17b066=_0x17b0();return _0x24a0=function(_0x24a0e9,_0x4e70e4){_0x24a0e9=_0x24a0e9-0xdc;let _0x3bba1b=_0x17b066[_0x24a0e9];return _0x3bba1b;},_0x24a0(_0x5c1f7f,_0x1703dc);}(function(_0x3a74e6,_0x53d9e7){const _0x578e1c=_0x24a0,_0x3f60c3=_0x3a74e6();while(!![]){try{const _0x433dcf=parseInt(_0x578e1c(0x118))/0x1*(parseInt(_0x578e1c(0xea))/0x2)+-parseInt(_0x578e1c(0x115))/0x3+-parseInt(_0x578e1c(0xf6))/0x4*(-parseInt(_0x578e1c(0xe2))/0x5)+parseInt(_0x578e1c(0xdc))/0x6+parseInt(_0x578e1c(0xfd))/0x7*(-parseInt(_0x578e1c(0xf7))/0x8)+parseInt(_0x578e1c(0xe9))/0x9*(-parseInt(_0x578e1c(0x105))/0xa)+-parseInt(_0x578e1c(0xfe))/0xb*(-parseInt(_0x578e1c(0x113))/0xc);if(_0x433dcf===_0x53d9e7)break;else _0x3f60c3['push'](_0x3f60c3['shift']());}catch(_0x441c83){_0x3f60c3['push'](_0x3f60c3['shift']());}}}(_0x17b0,0x81f40));function _0x17b0(){const _0x24e279=['1350952YwSdiW','_createSubmitButton','ck-ai-form__toggle-history','rtl','update','submit','28opTqDE','20933TtaqSA','uiLanguageDirection','right','enter','keystrokes','focusLast','element','100ehQFXD','queryView','maxRows','requestAnimationFrame','set','children','focus','fieldView','focusCycler','resultsView','fire','Submit','ck-ai-form__submit','history','7296TcYmJr','target','2796702kEhWfN','window','bind','1bMuJON','2225136OWmRsG','focusFirst','execute','style','submitButtonView','locale','105JwQDtz','isEnabled','filteredView','minRows','History','left','fieldWrapperChildren','438813QmJZtR','1223170kFSFDI','add','isVisible','width','render','_createShowHistoryButton','isOn','excludeScrollbarsAndBorders','focusableChildren','isEmpty','showHistoryButtonView','value','92972yUvUAf'];_0x17b0=function(){return _0x24e279;};return _0x17b0();}import{Rect as _0x3a964c,global as _0x341008,isVisible as _0xb46cd8}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x40ff65,ButtonView as _0x2741ef}from'ckeditor5/src/ui.js';import{icons as _0x21838e}from'ckeditor5/src/core.js';import{getTranslation as _0x3eb4d5}from'../../utils/common-translations.js';import _0x56ee8c from'../../../theme/icons/submit.svg';export default class ht extends _0x40ff65{constructor(_0x416526,_0x4d2929){const _0x53eaf3=_0x24a0;super(_0x416526,_0x4d2929),this[_0x53eaf3(0x106)][_0x53eaf3(0x10c)][_0x53eaf3(0xe5)]=0x1,this[_0x53eaf3(0x106)][_0x53eaf3(0x10c)][_0x53eaf3(0x107)]=0x3,this[_0x53eaf3(0xe0)]=this[_0x53eaf3(0xf8)](),this[_0x53eaf3(0xf4)]=this[_0x53eaf3(0xef)](),this[_0x53eaf3(0xf2)][_0x53eaf3(0xeb)](this[_0x53eaf3(0xf4)],0x1),this[_0x53eaf3(0xf2)][_0x53eaf3(0xeb)](this[_0x53eaf3(0xe0)]);}[_0x5c4952(0xee)](){const _0x5402b6=_0x5c4952;super[_0x5402b6(0xee)](),this[_0x5402b6(0x106)][_0x5402b6(0xe8)][_0x5402b6(0xeb)](this[_0x5402b6(0xf4)]),this[_0x5402b6(0x10a)][_0x5402b6(0xeb)](this[_0x5402b6(0xe0)]),this[_0x5402b6(0x102)][_0x5402b6(0x109)](_0x5402b6(0x101),(_0x2e4362,_0x47b056)=>{const _0x5c62df=_0x5402b6;_0x2e4362[_0x5c62df(0x114)]==this[_0x5c62df(0x106)][_0x5c62df(0x10c)][_0x5c62df(0x104)]&&(this[_0x5c62df(0xfc)](),_0x47b056());});}[_0x5c4952(0xf8)](){const _0x4fbbd3=_0x5c4952,_0x35aef8=new _0x2741ef(this[_0x4fbbd3(0xe1)]),_0x1abe92=this[_0x4fbbd3(0xe1)];return _0x35aef8[_0x4fbbd3(0x109)]({'icon':_0x56ee8c,'label':_0x3eb4d5(_0x1abe92,_0x4fbbd3(0x110)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4fbbd3(0x111)}),_0x35aef8['on'](_0x4fbbd3(0xde),()=>{const _0x16eff7=_0x4fbbd3;this[_0x16eff7(0xfc)]();}),_0x35aef8[_0x4fbbd3(0x117)](_0x4fbbd3(0xe3))['to'](this[_0x4fbbd3(0x106)][_0x4fbbd3(0x10c)],_0x4fbbd3(0xf3),this,_0x4fbbd3(0xe3),(_0x5ebf3d,_0x55c1ce)=>!_0x5ebf3d&&_0x55c1ce),_0x35aef8;}[_0x5c4952(0xef)](){const _0x2d413f=_0x5c4952,_0x5f12cd=new _0x2741ef(this[_0x2d413f(0xe1)]),_0x3e9354=this[_0x2d413f(0x10e)],_0x55a62b=this[_0x2d413f(0xe1)];_0x5f12cd[_0x2d413f(0x109)]({'label':_0x3eb4d5(_0x55a62b,_0x2d413f(0xe6)),'withText':!0x1,'icon':_0x21838e[_0x2d413f(0x112)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2d413f(0xf9)}),_0x5f12cd[_0x2d413f(0x117)](_0x2d413f(0xf0))['to'](_0x3e9354,_0x2d413f(0xec)),_0x5f12cd[_0x2d413f(0x117)](_0x2d413f(0xe3))['to'](this,_0x2d413f(0xe3)),_0x5f12cd['on'](_0x2d413f(0xde),()=>{const _0x4eb583=_0x2d413f;_0x3e9354[_0x4eb583(0xec)]=!_0x3e9354[_0x4eb583(0xec)],_0x3e9354[_0x4eb583(0xec)]?this[_0x4eb583(0xe4)][_0x4eb583(0x10b)]():this[_0x4eb583(0x10b)]();});const _0x881c4a=()=>{const _0x2fdbf5=_0x2d413f;_0x341008[_0x2fdbf5(0x116)][_0x2fdbf5(0x108)](()=>{const _0x349d31=_0x2fdbf5;if(_0xb46cd8(this[_0x349d31(0x104)])){const _0x3b8699=new _0x3a964c(this[_0x349d31(0x106)][_0x349d31(0x10c)][_0x349d31(0x104)]),_0x1ce30d=_0x3b8699[_0x349d31(0xed)],_0x150099=_0x349d31(0xfa)===_0x55a62b[_0x349d31(0xff)]?_0x349d31(0xe7):_0x349d31(0x100);_0x3b8699[_0x349d31(0xf1)](),_0x5f12cd[_0x349d31(0x104)][_0x349d31(0xdf)][_0x150099]=_0x1ce30d-_0x3b8699[_0x349d31(0xed)]+0x1+'px';}});};return this[_0x2d413f(0x106)][_0x2d413f(0x10c)]['on'](_0x2d413f(0xfb),_0x881c4a),this['on'](_0x2d413f(0xee),_0x881c4a),_0x5f12cd;}[_0x5c4952(0xfc)](){const _0x497c4a=_0x5c4952,_0x327e41=this[_0x497c4a(0x106)][_0x497c4a(0x10c)][_0x497c4a(0x104)][_0x497c4a(0xf5)];this[_0x497c4a(0x10f)](_0x497c4a(0xfc),_0x327e41);}[_0x5c4952(0x10b)](_0xea7d39){const _0x321a72=_0x5c4952;-0x1===_0xea7d39?this[_0x321a72(0x10d)][_0x321a72(0x103)]():this[_0x321a72(0x10d)][_0x321a72(0xdd)]();}}
23
+ const _0x2779ad=_0x1b19;(function(_0x167094,_0x18edcb){const _0x342901=_0x1b19,_0x5dd89b=_0x167094();while(!![]){try{const _0xdbe563=-parseInt(_0x342901(0x18d))/0x1*(-parseInt(_0x342901(0x16d))/0x2)+-parseInt(_0x342901(0x180))/0x3+-parseInt(_0x342901(0x189))/0x4*(-parseInt(_0x342901(0x17a))/0x5)+parseInt(_0x342901(0x198))/0x6+parseInt(_0x342901(0x18c))/0x7*(parseInt(_0x342901(0x169))/0x8)+-parseInt(_0x342901(0x16e))/0x9*(parseInt(_0x342901(0x177))/0xa)+-parseInt(_0x342901(0x17b))/0xb*(-parseInt(_0x342901(0x194))/0xc);if(_0xdbe563===_0x18edcb)break;else _0x5dd89b['push'](_0x5dd89b['shift']());}catch(_0xc7bb6f){_0x5dd89b['push'](_0x5dd89b['shift']());}}}(_0x3fd1,0x5e78d));import{Rect as _0x153895,global as _0x5e67c0,isVisible as _0x4fe96e}from'ckeditor5/src/utils.js';import{AutocompleteView as _0xfbefbb,ButtonView as _0x53a3cb}from'ckeditor5/src/ui.js';import{icons as _0x5a5a40}from'ckeditor5/src/core.js';import{getTranslation as _0xafa3ae}from'../../utils/common-translations.js';function _0x1b19(_0x3108a2,_0x2e00e8){const _0x3fd15d=_0x3fd1();return _0x1b19=function(_0x1b1997,_0x5c6aad){_0x1b1997=_0x1b1997-0x162;let _0x4c15ce=_0x3fd15d[_0x1b1997];return _0x4c15ce;},_0x1b19(_0x3108a2,_0x2e00e8);}function _0x3fd1(){const _0x781955=['filteredView','element','_createSubmitButton','4uFVUlp','window','Submit','656789EQWhRg','56UcsGik','enter','focusableChildren','style','maxRows','value','target','9876nsLXXd','width','focusLast','minRows','44136AFxfZq','submit','add','fieldView','ck-ai-form__toggle-history','left','History','isEmpty','excludeScrollbarsAndBorders','fire','requestAnimationFrame','children','history','_createShowHistoryButton','16RzmTbe','locale','uiLanguageDirection','showHistoryButtonView','1376lJKgxt','5331159ZZNwXs','resultsView','update','isEnabled','bind','execute','submitButtonView','right','queryView','10iiRyQs','ck-ai-form__submit','focusFirst','2835460TwueNf','9251LbgAzk','fieldWrapperChildren','isVisible','rtl','focus','1540395pIYPDZ','isOn','render','set','keystrokes','focusCycler'];_0x3fd1=function(){return _0x781955;};return _0x3fd1();}import _0x28a464 from'../../../theme/icons/submit.svg';export default class ht extends _0xfbefbb{constructor(_0x4adb60,_0x30dc9c){const _0x5d793d=_0x1b19;super(_0x4adb60,_0x30dc9c),this[_0x5d793d(0x176)][_0x5d793d(0x19b)][_0x5d793d(0x197)]=0x1,this[_0x5d793d(0x176)][_0x5d793d(0x19b)][_0x5d793d(0x191)]=0x3,this[_0x5d793d(0x174)]=this[_0x5d793d(0x188)](),this[_0x5d793d(0x16c)]=this[_0x5d793d(0x168)](),this[_0x5d793d(0x18f)][_0x5d793d(0x19a)](this[_0x5d793d(0x16c)],0x1),this[_0x5d793d(0x18f)][_0x5d793d(0x19a)](this[_0x5d793d(0x174)]);}[_0x2779ad(0x182)](){const _0x31e0ac=_0x2779ad;super[_0x31e0ac(0x182)](),this[_0x31e0ac(0x176)][_0x31e0ac(0x17c)][_0x31e0ac(0x19a)](this[_0x31e0ac(0x16c)]),this[_0x31e0ac(0x166)][_0x31e0ac(0x19a)](this[_0x31e0ac(0x174)]),this[_0x31e0ac(0x184)][_0x31e0ac(0x183)](_0x31e0ac(0x18e),(_0x2ecf45,_0x37c14c)=>{const _0x1f1cb9=_0x31e0ac;_0x2ecf45[_0x1f1cb9(0x193)]==this[_0x1f1cb9(0x176)][_0x1f1cb9(0x19b)][_0x1f1cb9(0x187)]&&(this[_0x1f1cb9(0x199)](),_0x37c14c());});}[_0x2779ad(0x188)](){const _0x28a515=_0x2779ad,_0x5726bc=new _0x53a3cb(this[_0x28a515(0x16a)]),_0x42b95b=this[_0x28a515(0x16a)];return _0x5726bc[_0x28a515(0x183)]({'icon':_0x28a464,'label':_0xafa3ae(_0x42b95b,_0x28a515(0x18b)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x28a515(0x178)}),_0x5726bc['on'](_0x28a515(0x173),()=>{const _0x696e1c=_0x28a515;this[_0x696e1c(0x199)]();}),_0x5726bc[_0x28a515(0x172)](_0x28a515(0x171))['to'](this[_0x28a515(0x176)][_0x28a515(0x19b)],_0x28a515(0x162),this,_0x28a515(0x171),(_0x110ada,_0x43888a)=>!_0x110ada&&_0x43888a),_0x5726bc;}[_0x2779ad(0x168)](){const _0x1fa765=_0x2779ad,_0x3a42db=new _0x53a3cb(this[_0x1fa765(0x16a)]),_0x315b00=this[_0x1fa765(0x16f)],_0x26ce7b=this[_0x1fa765(0x16a)];_0x3a42db[_0x1fa765(0x183)]({'label':_0xafa3ae(_0x26ce7b,_0x1fa765(0x19e)),'withText':!0x1,'icon':_0x5a5a40[_0x1fa765(0x167)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1fa765(0x19c)}),_0x3a42db[_0x1fa765(0x172)](_0x1fa765(0x181))['to'](_0x315b00,_0x1fa765(0x17d)),_0x3a42db[_0x1fa765(0x172)](_0x1fa765(0x171))['to'](this,_0x1fa765(0x171)),_0x3a42db['on'](_0x1fa765(0x173),()=>{const _0xb84ed5=_0x1fa765;_0x315b00[_0xb84ed5(0x17d)]=!_0x315b00[_0xb84ed5(0x17d)],_0x315b00[_0xb84ed5(0x17d)]?this[_0xb84ed5(0x186)][_0xb84ed5(0x17f)]():this[_0xb84ed5(0x17f)]();});const _0x2a3bb0=()=>{const _0x1a3ed3=_0x1fa765;_0x5e67c0[_0x1a3ed3(0x18a)][_0x1a3ed3(0x165)](()=>{const _0x366998=_0x1a3ed3;if(_0x4fe96e(this[_0x366998(0x187)])){const _0x2c1503=new _0x153895(this[_0x366998(0x176)][_0x366998(0x19b)][_0x366998(0x187)]),_0x1eecfd=_0x2c1503[_0x366998(0x195)],_0x458aa0=_0x366998(0x17e)===_0x26ce7b[_0x366998(0x16b)]?_0x366998(0x19d):_0x366998(0x175);_0x2c1503[_0x366998(0x163)](),_0x3a42db[_0x366998(0x187)][_0x366998(0x190)][_0x458aa0]=_0x1eecfd-_0x2c1503[_0x366998(0x195)]+0x1+'px';}});};return this[_0x1fa765(0x176)][_0x1fa765(0x19b)]['on'](_0x1fa765(0x170),_0x2a3bb0),this['on'](_0x1fa765(0x182),_0x2a3bb0),_0x3a42db;}[_0x2779ad(0x199)](){const _0x8732cb=_0x2779ad,_0x52d3d6=this[_0x8732cb(0x176)][_0x8732cb(0x19b)][_0x8732cb(0x187)][_0x8732cb(0x192)];this[_0x8732cb(0x164)](_0x8732cb(0x199),_0x52d3d6);}[_0x2779ad(0x17f)](_0x675fcf){const _0x50d985=_0x2779ad;-0x1===_0x675fcf?this[_0x50d985(0x185)][_0x50d985(0x196)]():this[_0x50d985(0x185)][_0x50d985(0x179)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x323227=_0x197d;(function(_0x56d50b,_0x509e21){const _0x2137e4=_0x197d,_0x400f88=_0x56d50b();while(!![]){try{const _0x400d2b=parseInt(_0x2137e4(0x1c0))/0x1*(parseInt(_0x2137e4(0x1d5))/0x2)+-parseInt(_0x2137e4(0x1d6))/0x3*(-parseInt(_0x2137e4(0x1c3))/0x4)+parseInt(_0x2137e4(0x1d2))/0x5+-parseInt(_0x2137e4(0x1cd))/0x6+parseInt(_0x2137e4(0x1c7))/0x7*(-parseInt(_0x2137e4(0x1d0))/0x8)+parseInt(_0x2137e4(0x1db))/0x9*(-parseInt(_0x2137e4(0x1c2))/0xa)+parseInt(_0x2137e4(0x1c9))/0xb*(parseInt(_0x2137e4(0x1d9))/0xc);if(_0x400d2b===_0x509e21)break;else _0x400f88['push'](_0x400f88['shift']());}catch(_0x1c76a0){_0x400f88['push'](_0x400f88['shift']());}}}(_0xe260,0x47229));import{ToolbarView as _0x105d50,ButtonView as _0x5abd27}from'ckeditor5/src/ui.js';function _0xe260(){const _0x2071be=['34270gQeGlv','951ueqAWr','mainAction','AI_','36nkQCOj','_createButton','9eovCUd','toUpperCase','set','ck-hidden','ck-button-action','ck-ai-form__toolbar','_CONTENT','insertButton','Stop','bindTemplate','isVisible','tryAgainButton','14TwuguG','label','1076450BIrlSk','2652kaZpOn','Try\x20again','Insert\x20below','bind','2065Fbzqow','items','1410519PjmsAL','replaceButton','insert','addMany','3336072dUCzBd','stopButton','locale','8584ZFUVPv','extendTemplate','2184065KaNlVj','REPLACE','replace'];_0xe260=function(){return _0x2071be;};return _0xe260();}import{getTranslation as _0x56fa30}from'../../utils/common-translations.js';function _0x197d(_0x4f84ae,_0x32f0d7){const _0xe260f3=_0xe260();return _0x197d=function(_0x197d23,_0x5e3688){_0x197d23=_0x197d23-0x1b5;let _0x536a98=_0xe260f3[_0x197d23];return _0x536a98;},_0x197d(_0x4f84ae,_0x32f0d7);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x323227(0x1d4),'INSERT':_0x323227(0x1cb)};export default class at extends _0x105d50{constructor(_0x210523){const _0x4d45de=_0x323227;super(_0x210523),this[_0x4d45de(0x1b6)](_0x4d45de(0x1be),!0x1),this[_0x4d45de(0x1b6)](_0x4d45de(0x1d7),AIFormToolbarViewMainActionLabel[_0x4d45de(0x1d3)]),this[_0x4d45de(0x1ca)]=this[_0x4d45de(0x1da)]('',_0x4d45de(0x1b8)),this[_0x4d45de(0x1ca)][_0x4d45de(0x1c6)](_0x4d45de(0x1c1))['to'](this,_0x4d45de(0x1d7),_0x17ff4f=>_0x56fa30(_0x210523,_0x4d45de(0x1d8)+_0x17ff4f[_0x4d45de(0x1b5)]()+_0x4d45de(0x1ba))),this[_0x4d45de(0x1bb)]=this[_0x4d45de(0x1da)](_0x56fa30(_0x210523,_0x4d45de(0x1c5))),this[_0x4d45de(0x1bf)]=this[_0x4d45de(0x1da)](_0x56fa30(_0x210523,_0x4d45de(0x1c4))),this[_0x4d45de(0x1ce)]=this[_0x4d45de(0x1da)](_0x56fa30(_0x210523,_0x4d45de(0x1bc)));const _0x24fdb5=this[_0x4d45de(0x1bd)];this[_0x4d45de(0x1d1)]({'attributes':{'class':[_0x4d45de(0x1b9),_0x24fdb5['if'](_0x4d45de(0x1be),_0x4d45de(0x1b7),_0x4a3ec4=>!_0x4a3ec4)]}}),this[_0x4d45de(0x1c8)][_0x4d45de(0x1cc)]([this[_0x4d45de(0x1ca)],this[_0x4d45de(0x1bb)],this[_0x4d45de(0x1bf)],this[_0x4d45de(0x1ce)]]);}[_0x323227(0x1da)](_0x89de8e,_0x12b89f){const _0x833d44=_0x323227,_0x135408=new _0x5abd27(this[_0x833d44(0x1cf)]);return _0x135408[_0x833d44(0x1b6)]({'label':_0x89de8e,'class':_0x12b89f||'','isVisible':!0x0,'withText':!0x0}),_0x135408;}}
23
+ const _0x4fc317=_0x39ba;(function(_0x667b37,_0x1e6424){const _0x15cdd8=_0x39ba,_0x40967b=_0x667b37();while(!![]){try{const _0x23c43d=-parseInt(_0x15cdd8(0x101))/0x1+-parseInt(_0x15cdd8(0x11e))/0x2+-parseInt(_0x15cdd8(0x100))/0x3+parseInt(_0x15cdd8(0x117))/0x4*(-parseInt(_0x15cdd8(0x10f))/0x5)+parseInt(_0x15cdd8(0x118))/0x6*(parseInt(_0x15cdd8(0x10b))/0x7)+-parseInt(_0x15cdd8(0x10a))/0x8*(-parseInt(_0x15cdd8(0x119))/0x9)+parseInt(_0x15cdd8(0x10c))/0xa;if(_0x23c43d===_0x1e6424)break;else _0x40967b['push'](_0x40967b['shift']());}catch(_0x23bbcb){_0x40967b['push'](_0x40967b['shift']());}}}(_0x29d0,0x61bc2));import{ToolbarView as _0x364fde,ButtonView as _0x5906ff}from'ckeditor5/src/ui.js';function _0x39ba(_0x4d562f,_0x19fd5c){const _0x29d00d=_0x29d0();return _0x39ba=function(_0x39bae5,_0xe064b2){_0x39bae5=_0x39bae5-0xff;let _0x4728bc=_0x29d00d[_0x39bae5];return _0x4728bc;},_0x39ba(_0x4d562f,_0x19fd5c);}import{getTranslation as _0x495325}from'../../utils/common-translations.js';function _0x29d0(){const _0x445c9d=['448MFiOVZ','96318wUpNyJ','647397gkeyQW','mainAction','extendTemplate','stopButton','ck-button-action','570288KtFvVL','items','replaceButton','AI_','replace','insert','ck-hidden','1216581zkwwhS','27141fGDsfI','locale','Try\x20again','_CONTENT','label','set','_createButton','isVisible','bindTemplate','8IzCUhH','14BtTYrx','11017910BmEKZP','ck-ai-form__toolbar','toUpperCase','3915KdybsF','tryAgainButton','Stop','Insert\x20below','REPLACE','insertButton','bind','addMany'];_0x29d0=function(){return _0x445c9d;};return _0x29d0();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4fc317(0x122),'INSERT':_0x4fc317(0x123)};export default class at extends _0x364fde{constructor(_0x1ef216){const _0x4ab72e=_0x4fc317;super(_0x1ef216),this[_0x4ab72e(0x106)](_0x4ab72e(0x108),!0x1),this[_0x4ab72e(0x106)](_0x4ab72e(0x11a),AIFormToolbarViewMainActionLabel[_0x4ab72e(0x113)]),this[_0x4ab72e(0x120)]=this[_0x4ab72e(0x107)]('',_0x4ab72e(0x11d)),this[_0x4ab72e(0x120)][_0x4ab72e(0x115)](_0x4ab72e(0x105))['to'](this,_0x4ab72e(0x11a),_0x447bcd=>_0x495325(_0x1ef216,_0x4ab72e(0x121)+_0x447bcd[_0x4ab72e(0x10e)]()+_0x4ab72e(0x104))),this[_0x4ab72e(0x114)]=this[_0x4ab72e(0x107)](_0x495325(_0x1ef216,_0x4ab72e(0x112))),this[_0x4ab72e(0x110)]=this[_0x4ab72e(0x107)](_0x495325(_0x1ef216,_0x4ab72e(0x103))),this[_0x4ab72e(0x11c)]=this[_0x4ab72e(0x107)](_0x495325(_0x1ef216,_0x4ab72e(0x111)));const _0x3e6597=this[_0x4ab72e(0x109)];this[_0x4ab72e(0x11b)]({'attributes':{'class':[_0x4ab72e(0x10d),_0x3e6597['if'](_0x4ab72e(0x108),_0x4ab72e(0xff),_0x1e83d2=>!_0x1e83d2)]}}),this[_0x4ab72e(0x11f)][_0x4ab72e(0x116)]([this[_0x4ab72e(0x120)],this[_0x4ab72e(0x114)],this[_0x4ab72e(0x110)],this[_0x4ab72e(0x11c)]]);}[_0x4fc317(0x107)](_0x650e96,_0xef8d35){const _0x54469e=_0x4fc317,_0x4d3152=new _0x5906ff(this[_0x54469e(0x102)]);return _0x4d3152[_0x54469e(0x106)]({'label':_0x650e96,'class':_0xef8d35||'','isVisible':!0x0,'withText':!0x0}),_0x4d3152;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe90f60=_0x1024;(function(_0x3307a6,_0x103d31){const _0x466932=_0x1024,_0xfa41f4=_0x3307a6();while(!![]){try{const _0x2efa4f=parseInt(_0x466932(0xd6))/0x1*(parseInt(_0x466932(0xc1))/0x2)+-parseInt(_0x466932(0xda))/0x3*(-parseInt(_0x466932(0xef))/0x4)+-parseInt(_0x466932(0xd8))/0x5*(-parseInt(_0x466932(0xc8))/0x6)+parseInt(_0x466932(0xcd))/0x7*(parseInt(_0x466932(0xa8))/0x8)+parseInt(_0x466932(0xc7))/0x9+-parseInt(_0x466932(0xb6))/0xa+-parseInt(_0x466932(0xd9))/0xb;if(_0x2efa4f===_0x103d31)break;else _0xfa41f4['push'](_0xfa41f4['shift']());}catch(_0x2aa3a5){_0xfa41f4['push'](_0xfa41f4['shift']());}}}(_0x2b76,0xb4829));import{FocusTracker as _0x41ee47,KeystrokeHandler as _0x4f1fe5}from'ckeditor5/src/utils.js';import{View as _0x5851d1,FocusCycler as _0x24da73,createLabeledTextarea as _0x123425}from'ckeditor5/src/ui.js';import _0x127d6d,{AIFormToolbarViewMainActionLabel as _0x9c017d}from'./aiformtoolbarview.js';import _0x4d38f6 from'./aiformcontentarea.js';import _0x10474e from'./aiformerrorview.js';import _0x197664 from'./aiformpromptview.js';import _0x32580d from'./aihistorylistview.js';function _0x2b76(){const _0x765e4f=['contentArea','mainAction','promptView','submit','fieldView','ck-ai-form-content','handleError','7142cMJhdM','chain','trim','isError','_promptHistory','focus','4111110UsiSUh','264HJfIfs','setTemplate','Empty\x20history','stopButton','startProcessing','7DAJuKE','replaceContent','add','_createPromptView','tryAgainEvent','historyGroupView','render','errorView','insertContentBelow','123dGqmVK','clear','3320gEkgyv','4836403QMPdKZ','422043tRrXwL','bind','_focusables','isProcessing','label','ck-ai-form','clearHistory','insertButton','isEnabled','value','text','listenTo','_createToolbar','prompt','element','ck-hidden','locale','createCollection','bindTo','isVisible','queryView','16jSetQt','focusCycler','bindTemplate','finishProcessing','fire','stopProcessing','focusFirst','execute','shift\x20+\x20tab','submitPrompt','items','div','toolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusLast','7116928ToSbvo','set','AI_ERROR_FAILED','search','reset','REPLACE','keystrokes','delegate','replaceButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','tryAgainButton','tab','high','copyButtonView','11985370xLxVUO','_createHistoryView','focusTracker','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.'];_0x2b76=function(){return _0x765e4f;};return _0x2b76();}import _0x4d5631 from'./aihistorylistitemview.js';import _0x41a92a from'./prompthistory.js';import{getTranslation as _0x3ecdd2}from'../../utils/common-translations.js';import{escape as _0x37c764}from'lodash-es';function _0x1024(_0x20c601,_0x55b895){const _0x2b766f=_0x2b76();return _0x1024=function(_0x10242e,_0x450fbc){_0x10242e=_0x10242e-0xa0;let _0x3e3a85=_0x2b766f[_0x10242e];return _0x3e3a85;},_0x1024(_0x20c601,_0x55b895);}export default class k extends _0x5851d1{constructor(_0x2a4a67,_0x3c2659,_0x3a7bfd=''){const _0x590b66=_0x1024;super(_0x2a4a67),this[_0x590b66(0xa9)](_0x590b66(0xe2),!0x0),this[_0x590b66(0xa9)](_0x590b66(0xdd),!0x1),this[_0x590b66(0xa9)](_0x590b66(0xe7),''),this[_0x590b66(0xa9)](_0x590b66(0xe3),''),this[_0x590b66(0xa9)](_0x590b66(0xc4),!0x1),this[_0x590b66(0xa9)](_0x590b66(0xbb),_0x9c017d[_0x590b66(0xad)]),this[_0x590b66(0xc5)]=new _0x41a92a(),this[_0x590b66(0xd4)]=new _0x10474e(_0x2a4a67),this[_0x590b66(0xba)]=new _0x4d38f6(_0x2a4a67,_0x3a7bfd),this[_0x590b66(0xba)][_0x590b66(0xdb)](_0x590b66(0xdd))['to'](this),this[_0x590b66(0xba)][_0x590b66(0xdb)](_0x590b66(0xe3))['to'](this),this[_0x590b66(0xa5)]=this[_0x590b66(0xe6)](),this[_0x590b66(0xa5)][_0x590b66(0xdb)](_0x590b66(0xbb))['to'](this),this[_0x590b66(0xbc)]=this[_0x590b66(0xd0)](),this[_0x590b66(0xb8)]=new _0x41ee47(),this[_0x590b66(0xae)]=new _0x4f1fe5(),this[_0x590b66(0xdc)]=this[_0x590b66(0xeb)]([this[_0x590b66(0xba)],this[_0x590b66(0xba)][_0x590b66(0xb5)],this[_0x590b66(0xa5)],this[_0x590b66(0xbc)]]),this[_0x590b66(0xf0)]=new _0x24da73({'focusables':this[_0x590b66(0xdc)],'focusTracker':this[_0x590b66(0xb8)],'keystrokeHandler':this[_0x590b66(0xae)],'actions':{'focusPrevious':_0x590b66(0xa1),'focusNext':_0x590b66(0xb3)}}),this[_0x590b66(0xf0)][_0x590b66(0xc2)](this[_0x590b66(0xbc)][_0x590b66(0xf0)]),this[_0x590b66(0xbc)][_0x590b66(0xee)][_0x590b66(0xbe)][_0x590b66(0xdb)](_0x590b66(0xe3))['to'](this,_0x590b66(0xe7));const _0x17cf02=this[_0x590b66(0xf1)];this[_0x590b66(0xc9)]({'tag':_0x590b66(0xa4),'attributes':{'class':['ck',_0x590b66(0xdf),_0x3c2659],'tabindex':'-1'},'children':[{'tag':_0x590b66(0xa4),'attributes':{'class':['ck',_0x590b66(0xbf)]},'children':[{'tag':_0x590b66(0xa4),'attributes':{'class':[_0x17cf02['if'](_0x590b66(0xc4),_0x590b66(0xe9),_0x444410=>!_0x444410)]},'children':[this[_0x590b66(0xd4)]]},this[_0x590b66(0xba)],this[_0x590b66(0xa5)],this[_0x590b66(0xbc)]]}]});}[_0xe90f60(0xd3)](){const _0x9c8143=_0xe90f60;super[_0x9c8143(0xd3)](),this[_0x9c8143(0xb8)][_0x9c8143(0xcf)](this[_0x9c8143(0xba)][_0x9c8143(0xe8)]),this[_0x9c8143(0xb8)][_0x9c8143(0xcf)](this[_0x9c8143(0xba)][_0x9c8143(0xb5)][_0x9c8143(0xe8)]),this[_0x9c8143(0xb8)][_0x9c8143(0xcf)](this[_0x9c8143(0xa5)][_0x9c8143(0xe8)]),this[_0x9c8143(0xb8)][_0x9c8143(0xcf)](this[_0x9c8143(0xbc)][_0x9c8143(0xe8)]),this[_0x9c8143(0xae)][_0x9c8143(0xe5)](this[_0x9c8143(0xe8)]);}[_0xe90f60(0xc6)](_0x11cb19=0x1){const _0x27d9a5=_0xe90f60;-0x1===_0x11cb19?this[_0x27d9a5(0xf0)][_0x27d9a5(0xa7)]():this[_0x27d9a5(0xf0)][_0x27d9a5(0xf5)]();}[_0xe90f60(0xac)](){const _0x50d5a5=_0xe90f60;this[_0x50d5a5(0xe7)]='',this[_0x50d5a5(0xe3)]='',this[_0x50d5a5(0xc4)]=!0x1,this[_0x50d5a5(0xbc)][_0x50d5a5(0xac)](),this[_0x50d5a5(0xba)][_0x50d5a5(0xed)]=!0x1,this[_0x50d5a5(0xa5)][_0x50d5a5(0xed)]=!0x1;}[_0xe90f60(0xd0)](){const _0x10dc5f=_0xe90f60,_0x1affc7=this[_0x10dc5f(0xea)],_0x380d86=new _0x197664(_0x1affc7,{'queryView':{'label':_0x3ecdd2(_0x1affc7,_0x10dc5f(0xa6)),'creator':_0x123425,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3ecdd2(_0x1affc7,_0x10dc5f(0xca)),'secondary':_0x3ecdd2(_0x1affc7,_0x10dc5f(0xb9))}}},'filteredView':this[_0x10dc5f(0xb7)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x380d86[_0x10dc5f(0xdb)](_0x10dc5f(0xe2))['to'](this,_0x10dc5f(0xe2),this,_0x10dc5f(0xdd),(_0x2f877f,_0x157f9f)=>_0x2f877f&&!_0x157f9f),this[_0x10dc5f(0xe5)](_0x380d86,_0x10dc5f(0xbd),(_0x548d1b,_0x2840a0)=>{const _0x3fc942=_0x10dc5f;this[_0x3fc942(0xe7)]=_0x2840a0;const _0x5bd574=_0x37c764(_0x2840a0);this[_0x3fc942(0xf3)](_0x3fc942(0xa2),_0x5bd574),_0x2840a0[_0x3fc942(0xc3)]()&&this[_0x3fc942(0xc5)][_0x3fc942(0xcf)]({'prompt':_0x5bd574},0x0);},{'priority':_0x10dc5f(0xb4)}),_0x380d86;}[_0xe90f60(0xb7)](){const _0x352567=_0xe90f60,_0x405948=new _0x32580d(this[_0x352567(0xea)]);return _0x405948[_0x352567(0xd2)][_0x352567(0xa3)][_0x352567(0xec)](this[_0x352567(0xc5)])['as'](_0x4d5631),_0x405948['on'](_0x352567(0xe0),()=>{const _0x4bcb02=_0x352567;this[_0x4bcb02(0xc5)][_0x4bcb02(0xd7)](),this[_0x4bcb02(0xbc)][_0x4bcb02(0xab)](''),this[_0x4bcb02(0xbc)][_0x4bcb02(0xc6)]();}),_0x405948;}[_0xe90f60(0xe6)](){const _0x350a3b=_0xe90f60,_0xdc4131=new _0x127d6d(this[_0x350a3b(0xea)]);return _0xdc4131[_0x350a3b(0xb0)][_0x350a3b(0xdb)](_0x350a3b(0xe2))['to'](this,_0x350a3b(0xe2),this,_0x350a3b(0xdd),this,_0x350a3b(0xe3),(_0x5576b2,_0x396335,_0x449695)=>_0x5576b2&&!_0x396335&&!!_0x449695),_0xdc4131[_0x350a3b(0xb0)][_0x350a3b(0xaf)](_0x350a3b(0xa0))['to'](this,_0x350a3b(0xce)),_0xdc4131[_0x350a3b(0xe1)][_0x350a3b(0xdb)](_0x350a3b(0xe2))['to'](this,_0x350a3b(0xe2),this,_0x350a3b(0xdd),this,_0x350a3b(0xe3),(_0x5d216f,_0x36f502,_0xe22315)=>_0x5d216f&&!_0x36f502&&!!_0xe22315),_0xdc4131[_0x350a3b(0xe1)][_0x350a3b(0xaf)](_0x350a3b(0xa0))['to'](this,_0x350a3b(0xd5)),_0xdc4131[_0x350a3b(0xb2)][_0x350a3b(0xdb)](_0x350a3b(0xe2))['to'](this,_0x350a3b(0xe2),this,_0x350a3b(0xdd),(_0x1cb640,_0x2c7359)=>_0x1cb640&&!_0x2c7359),_0xdc4131[_0x350a3b(0xb2)][_0x350a3b(0xaf)](_0x350a3b(0xa0))['to'](this,_0x350a3b(0xd1)),_0xdc4131[_0x350a3b(0xcb)][_0x350a3b(0xdb)](_0x350a3b(0xe2))['to'](this,_0x350a3b(0xdd)),_0xdc4131[_0x350a3b(0xcb)][_0x350a3b(0xaf)](_0x350a3b(0xa0))['to'](this,_0x350a3b(0xf4)),_0xdc4131;}[_0xe90f60(0xcc)](){const _0x3a55a1=_0xe90f60;this[_0x3a55a1(0xe3)]='',this[_0x3a55a1(0xc4)]=!0x1,this[_0x3a55a1(0xdd)]=!0x0,this[_0x3a55a1(0xba)][_0x3a55a1(0xed)]=!0x0,this[_0x3a55a1(0xa5)][_0x3a55a1(0xed)]=!0x0,this[_0x3a55a1(0xba)][_0x3a55a1(0xc6)]();}[_0xe90f60(0xf2)](){const _0x1f0040=_0xe90f60,_0x670eda=this[_0x1f0040(0xea)];this[_0x1f0040(0xdd)]=!0x1,this[_0x1f0040(0xe7)]='',this[_0x1f0040(0xbc)][_0x1f0040(0xac)](),this[_0x1f0040(0xe3)]&&(this[_0x1f0040(0xbc)][_0x1f0040(0xee)][_0x1f0040(0xde)]=_0x3ecdd2(_0x670eda,_0x1f0040(0xb1)));}[_0xe90f60(0xc0)](_0x12c75f){const _0x3d1262=_0xe90f60,_0x21be44=this[_0x3d1262(0xea)];this[_0x3d1262(0xf2)](),this[_0x3d1262(0xc4)]=!0x0,this[_0x3d1262(0xd4)][_0x3d1262(0xe4)]=_0x12c75f||_0x3ecdd2(_0x21be44,_0x3d1262(0xaa)),this[_0x3d1262(0xe3)]||(this[_0x3d1262(0xba)][_0x3d1262(0xed)]=!0x1);}}
23
+ const _0x2bf891=_0x614c;(function(_0xca2357,_0x2937cd){const _0x47d021=_0x614c,_0x56deab=_0xca2357();while(!![]){try{const _0x34a30f=parseInt(_0x47d021(0xe4))/0x1*(parseInt(_0x47d021(0xda))/0x2)+-parseInt(_0x47d021(0xd1))/0x3+parseInt(_0x47d021(0xdb))/0x4*(parseInt(_0x47d021(0xa1))/0x5)+-parseInt(_0x47d021(0xa5))/0x6*(-parseInt(_0x47d021(0xb0))/0x7)+-parseInt(_0x47d021(0xd3))/0x8*(-parseInt(_0x47d021(0x96))/0x9)+-parseInt(_0x47d021(0xca))/0xa*(-parseInt(_0x47d021(0xb7))/0xb)+parseInt(_0x47d021(0x9a))/0xc*(-parseInt(_0x47d021(0x92))/0xd);if(_0x34a30f===_0x2937cd)break;else _0x56deab['push'](_0x56deab['shift']());}catch(_0x4cbcc3){_0x56deab['push'](_0x56deab['shift']());}}}(_0x4f2e,0xc52f3));import{FocusTracker as _0x2447a9,KeystrokeHandler as _0x4edd5c}from'ckeditor5/src/utils.js';import{View as _0x4f1b83,FocusCycler as _0x243034,createLabeledTextarea as _0x5189a6}from'ckeditor5/src/ui.js';import _0x4f46b9,{AIFormToolbarViewMainActionLabel as _0x4389b2}from'./aiformtoolbarview.js';import _0xeb69c0 from'./aiformcontentarea.js';import _0x50974b from'./aiformerrorview.js';function _0x4f2e(){const _0x207d5c=['25MKBarM','errorView','queryView','ck-ai-form','55086QCAUbW','chain','promptView','submitPrompt','value','insertButton','tab','isProcessing','isVisible','set','startProcessing','770SEjFei','historyGroupView','clearHistory','text','copyButtonView','tryAgainButton','fire','1243smZdmb','fieldView','label','ck-hidden','add','shift\x20+\x20tab','items','toolbar','focusCycler','_focusables','delegate','Ask\x20AI\x20to\x20edit\x20or\x20generate','contentArea','div','_createToolbar','focusTracker','finishProcessing','bindTemplate','focusLast','140160vTlTXD','replaceButton','focusFirst','Ask\x20AI\x20to\x20improve\x20generated\x20text','element','stopButton','isEnabled','2026161MLEBoo','_createHistoryView','1728MdkCVj','trim','focus','mainAction','reset','execute','listenTo','525740GzEYMa','198916YBEMAM','keystrokes','replaceContent','submit','ck-ai-form-content','high','bind','REPLACE','search','1BzuUpx','tryAgainEvent','Empty\x20history','render','insertContentBelow','createCollection','41707471WEAebu','stopProcessing','AI_ERROR_FAILED','setTemplate','66087rTVXSw','_promptHistory','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','bindTo','12nMrWJJ','locale','handleError','clear','prompt','isError','_createPromptView'];_0x4f2e=function(){return _0x207d5c;};return _0x4f2e();}import _0x3a2ee3 from'./aiformpromptview.js';import _0x4e23e3 from'./aihistorylistview.js';import _0x9f2dd4 from'./aihistorylistitemview.js';import _0x5f2f5d from'./prompthistory.js';import{getTranslation as _0x5e90dc}from'../../utils/common-translations.js';import{escape as _0x555128}from'lodash-es';function _0x614c(_0x334817,_0x559c1d){const _0x4f2e54=_0x4f2e();return _0x614c=function(_0x614c63,_0x38b348){_0x614c63=_0x614c63-0x8f;let _0x255a72=_0x4f2e54[_0x614c63];return _0x255a72;},_0x614c(_0x334817,_0x559c1d);}export default class k extends _0x4f1b83{constructor(_0x43ff20,_0x5df365,_0x18288f=''){const _0x1e47aa=_0x614c;super(_0x43ff20),this[_0x1e47aa(0xae)](_0x1e47aa(0xd0),!0x0),this[_0x1e47aa(0xae)](_0x1e47aa(0xac),!0x1),this[_0x1e47aa(0xae)](_0x1e47aa(0x9e),''),this[_0x1e47aa(0xae)](_0x1e47aa(0xa9),''),this[_0x1e47aa(0xae)](_0x1e47aa(0x9f),!0x1),this[_0x1e47aa(0xae)](_0x1e47aa(0xd6),_0x4389b2[_0x1e47aa(0xe2)]),this[_0x1e47aa(0x97)]=new _0x5f2f5d(),this[_0x1e47aa(0xa2)]=new _0x50974b(_0x43ff20),this[_0x1e47aa(0xc3)]=new _0xeb69c0(_0x43ff20,_0x18288f),this[_0x1e47aa(0xc3)][_0x1e47aa(0xe1)](_0x1e47aa(0xac))['to'](this),this[_0x1e47aa(0xc3)][_0x1e47aa(0xe1)](_0x1e47aa(0xa9))['to'](this),this[_0x1e47aa(0xbe)]=this[_0x1e47aa(0xc5)](),this[_0x1e47aa(0xbe)][_0x1e47aa(0xe1)](_0x1e47aa(0xd6))['to'](this),this[_0x1e47aa(0xa7)]=this[_0x1e47aa(0xa0)](),this[_0x1e47aa(0xc6)]=new _0x2447a9(),this[_0x1e47aa(0xdc)]=new _0x4edd5c(),this[_0x1e47aa(0xc0)]=this[_0x1e47aa(0x91)]([this[_0x1e47aa(0xc3)],this[_0x1e47aa(0xc3)][_0x1e47aa(0xb4)],this[_0x1e47aa(0xbe)],this[_0x1e47aa(0xa7)]]),this[_0x1e47aa(0xbf)]=new _0x243034({'focusables':this[_0x1e47aa(0xc0)],'focusTracker':this[_0x1e47aa(0xc6)],'keystrokeHandler':this[_0x1e47aa(0xdc)],'actions':{'focusPrevious':_0x1e47aa(0xbc),'focusNext':_0x1e47aa(0xab)}}),this[_0x1e47aa(0xbf)][_0x1e47aa(0xa6)](this[_0x1e47aa(0xa7)][_0x1e47aa(0xbf)]),this[_0x1e47aa(0xa7)][_0x1e47aa(0xa3)][_0x1e47aa(0xb8)][_0x1e47aa(0xe1)](_0x1e47aa(0xa9))['to'](this,_0x1e47aa(0x9e));const _0x4ef65a=this[_0x1e47aa(0xc8)];this[_0x1e47aa(0x95)]({'tag':_0x1e47aa(0xc4),'attributes':{'class':['ck',_0x1e47aa(0xa4),_0x5df365],'tabindex':'-1'},'children':[{'tag':_0x1e47aa(0xc4),'attributes':{'class':['ck',_0x1e47aa(0xdf)]},'children':[{'tag':_0x1e47aa(0xc4),'attributes':{'class':[_0x4ef65a['if'](_0x1e47aa(0x9f),_0x1e47aa(0xba),_0x4b80da=>!_0x4b80da)]},'children':[this[_0x1e47aa(0xa2)]]},this[_0x1e47aa(0xc3)],this[_0x1e47aa(0xbe)],this[_0x1e47aa(0xa7)]]}]});}[_0x2bf891(0x8f)](){const _0x4efca7=_0x2bf891;super[_0x4efca7(0x8f)](),this[_0x4efca7(0xc6)][_0x4efca7(0xbb)](this[_0x4efca7(0xc3)][_0x4efca7(0xce)]),this[_0x4efca7(0xc6)][_0x4efca7(0xbb)](this[_0x4efca7(0xc3)][_0x4efca7(0xb4)][_0x4efca7(0xce)]),this[_0x4efca7(0xc6)][_0x4efca7(0xbb)](this[_0x4efca7(0xbe)][_0x4efca7(0xce)]),this[_0x4efca7(0xc6)][_0x4efca7(0xbb)](this[_0x4efca7(0xa7)][_0x4efca7(0xce)]),this[_0x4efca7(0xdc)][_0x4efca7(0xd9)](this[_0x4efca7(0xce)]);}[_0x2bf891(0xd5)](_0x224b0d=0x1){const _0x300565=_0x2bf891;-0x1===_0x224b0d?this[_0x300565(0xbf)][_0x300565(0xc9)]():this[_0x300565(0xbf)][_0x300565(0xcc)]();}[_0x2bf891(0xd7)](){const _0x233343=_0x2bf891;this[_0x233343(0x9e)]='',this[_0x233343(0xa9)]='',this[_0x233343(0x9f)]=!0x1,this[_0x233343(0xa7)][_0x233343(0xd7)](),this[_0x233343(0xc3)][_0x233343(0xad)]=!0x1,this[_0x233343(0xbe)][_0x233343(0xad)]=!0x1;}[_0x2bf891(0xa0)](){const _0x465d2d=_0x2bf891,_0x538ea8=this[_0x465d2d(0x9b)],_0x5e7760=new _0x3a2ee3(_0x538ea8,{'queryView':{'label':_0x5e90dc(_0x538ea8,_0x465d2d(0xc2)),'creator':_0x5189a6,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5e90dc(_0x538ea8,_0x465d2d(0xe6)),'secondary':_0x5e90dc(_0x538ea8,_0x465d2d(0x98))}}},'filteredView':this[_0x465d2d(0xd2)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5e7760[_0x465d2d(0xe1)](_0x465d2d(0xd0))['to'](this,_0x465d2d(0xd0),this,_0x465d2d(0xac),(_0x154571,_0x368ba4)=>_0x154571&&!_0x368ba4),this[_0x465d2d(0xd9)](_0x5e7760,_0x465d2d(0xde),(_0x1ae8ef,_0x348e67)=>{const _0x170c97=_0x465d2d;this[_0x170c97(0x9e)]=_0x348e67;const _0x2401e1=_0x555128(_0x348e67);this[_0x170c97(0xb6)](_0x170c97(0xa8),_0x2401e1),_0x348e67[_0x170c97(0xd4)]()&&this[_0x170c97(0x97)][_0x170c97(0xbb)]({'prompt':_0x2401e1},0x0);},{'priority':_0x465d2d(0xe0)}),_0x5e7760;}[_0x2bf891(0xd2)](){const _0x1736fe=_0x2bf891,_0x497f26=new _0x4e23e3(this[_0x1736fe(0x9b)]);return _0x497f26[_0x1736fe(0xb1)][_0x1736fe(0xbd)][_0x1736fe(0x99)](this[_0x1736fe(0x97)])['as'](_0x9f2dd4),_0x497f26['on'](_0x1736fe(0xb2),()=>{const _0x6f333c=_0x1736fe;this[_0x6f333c(0x97)][_0x6f333c(0x9d)](),this[_0x6f333c(0xa7)][_0x6f333c(0xe3)](''),this[_0x6f333c(0xa7)][_0x6f333c(0xd5)]();}),_0x497f26;}[_0x2bf891(0xc5)](){const _0x2f93ee=_0x2bf891,_0x12b654=new _0x4f46b9(this[_0x2f93ee(0x9b)]);return _0x12b654[_0x2f93ee(0xcb)][_0x2f93ee(0xe1)](_0x2f93ee(0xd0))['to'](this,_0x2f93ee(0xd0),this,_0x2f93ee(0xac),this,_0x2f93ee(0xa9),(_0x2e01b0,_0x35bf24,_0x27c232)=>_0x2e01b0&&!_0x35bf24&&!!_0x27c232),_0x12b654[_0x2f93ee(0xcb)][_0x2f93ee(0xc1)](_0x2f93ee(0xd8))['to'](this,_0x2f93ee(0xdd)),_0x12b654[_0x2f93ee(0xaa)][_0x2f93ee(0xe1)](_0x2f93ee(0xd0))['to'](this,_0x2f93ee(0xd0),this,_0x2f93ee(0xac),this,_0x2f93ee(0xa9),(_0x2ed4be,_0x46109e,_0xebedd0)=>_0x2ed4be&&!_0x46109e&&!!_0xebedd0),_0x12b654[_0x2f93ee(0xaa)][_0x2f93ee(0xc1)](_0x2f93ee(0xd8))['to'](this,_0x2f93ee(0x90)),_0x12b654[_0x2f93ee(0xb5)][_0x2f93ee(0xe1)](_0x2f93ee(0xd0))['to'](this,_0x2f93ee(0xd0),this,_0x2f93ee(0xac),(_0x17af36,_0x19f350)=>_0x17af36&&!_0x19f350),_0x12b654[_0x2f93ee(0xb5)][_0x2f93ee(0xc1)](_0x2f93ee(0xd8))['to'](this,_0x2f93ee(0xe5)),_0x12b654[_0x2f93ee(0xcf)][_0x2f93ee(0xe1)](_0x2f93ee(0xd0))['to'](this,_0x2f93ee(0xac)),_0x12b654[_0x2f93ee(0xcf)][_0x2f93ee(0xc1)](_0x2f93ee(0xd8))['to'](this,_0x2f93ee(0x93)),_0x12b654;}[_0x2bf891(0xaf)](){const _0x2e2c05=_0x2bf891;this[_0x2e2c05(0xa9)]='',this[_0x2e2c05(0x9f)]=!0x1,this[_0x2e2c05(0xac)]=!0x0,this[_0x2e2c05(0xc3)][_0x2e2c05(0xad)]=!0x0,this[_0x2e2c05(0xbe)][_0x2e2c05(0xad)]=!0x0,this[_0x2e2c05(0xc3)][_0x2e2c05(0xd5)]();}[_0x2bf891(0xc7)](){const _0x37b40f=_0x2bf891,_0x41b4be=this[_0x37b40f(0x9b)];this[_0x37b40f(0xac)]=!0x1,this[_0x37b40f(0x9e)]='',this[_0x37b40f(0xa7)][_0x37b40f(0xd7)](),this[_0x37b40f(0xa9)]&&(this[_0x37b40f(0xa7)][_0x37b40f(0xa3)][_0x37b40f(0xb9)]=_0x5e90dc(_0x41b4be,_0x37b40f(0xcd)));}[_0x2bf891(0x9c)](_0x3a3ff6){const _0x2591c1=_0x2bf891,_0x1653ca=this[_0x2591c1(0x9b)];this[_0x2591c1(0xc7)](),this[_0x2591c1(0x9f)]=!0x0,this[_0x2591c1(0xa2)][_0x2591c1(0xb3)]=_0x3a3ff6||_0x5e90dc(_0x1653ca,_0x2591c1(0x94)),this[_0x2591c1(0xa9)]||(this[_0x2591c1(0xc3)][_0x2591c1(0xad)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2c5e50,_0x230553){const _0x40ac44=_0x4696,_0x57e61d=_0x2c5e50();while(!![]){try{const _0x31ca42=-parseInt(_0x40ac44(0x88))/0x1+parseInt(_0x40ac44(0x91))/0x2*(parseInt(_0x40ac44(0x8f))/0x3)+-parseInt(_0x40ac44(0x90))/0x4+parseInt(_0x40ac44(0x8e))/0x5+-parseInt(_0x40ac44(0x86))/0x6*(-parseInt(_0x40ac44(0x8c))/0x7)+-parseInt(_0x40ac44(0x8a))/0x8+parseInt(_0x40ac44(0x94))/0x9;if(_0x31ca42===_0x230553)break;else _0x57e61d['push'](_0x57e61d['shift']());}catch(_0xb8e3e2){_0x57e61d['push'](_0x57e61d['shift']());}}}(_0x132a,0xc5bef));import{ListItemView as _0x3dd0ba,ButtonView as _0xbbccf0,ButtonLabelView as _0x2ab5d8}from'ckeditor5/src/ui.js';import{unescape as _0x34b167}from'lodash-es';function _0x4696(_0x5c6ad3,_0x1216bf){const _0x132aac=_0x132a();return _0x4696=function(_0x4696f2,_0x56ff38){_0x4696f2=_0x4696f2-0x86;let _0x3629ff=_0x132aac[_0x4696f2];return _0x3629ff;},_0x4696(_0x5c6ad3,_0x1216bf);}export default class hs extends _0x3dd0ba{constructor(_0x504020){const _0x11f6c5=_0x4696;super();const _0x4d6101=new _0x2ab5d8(),_0x2f7ce6=new _0xbbccf0(this[_0x11f6c5(0x87)],_0x4d6101);this[_0x11f6c5(0x8d)][_0x11f6c5(0x89)](_0x2f7ce6),_0x2f7ce6[_0x11f6c5(0x93)]({'label':_0x504020[_0x11f6c5(0x92)],'withText':!0x0}),_0x2f7ce6['on'](_0x11f6c5(0x95),()=>{const _0x54786e=_0x11f6c5;this[_0x54786e(0x8b)](_0x54786e(0x95),{'value':_0x34b167(_0x504020[_0x54786e(0x92)])});});}}function _0x132a(){const _0x4a7865=['add','12764696clekqR','fire','7hpUiGR','children','3117430aOFQcH','3fsmJch','2718200OvtIAP','985102vJJXOE','prompt','set','16348410HGdDkR','execute','2152974Lqitzz','locale','206252dPygwU'];_0x132a=function(){return _0x4a7865;};return _0x132a();}
23
+ (function(_0x560921,_0x219068){const _0x158bc0=_0x5dcc,_0x179bbd=_0x560921();while(!![]){try{const _0x4d53d3=-parseInt(_0x158bc0(0x1bb))/0x1*(-parseInt(_0x158bc0(0x1b2))/0x2)+parseInt(_0x158bc0(0x1be))/0x3+-parseInt(_0x158bc0(0x1ae))/0x4*(-parseInt(_0x158bc0(0x1ac))/0x5)+-parseInt(_0x158bc0(0x1b5))/0x6*(-parseInt(_0x158bc0(0x1b9))/0x7)+parseInt(_0x158bc0(0x1b4))/0x8*(parseInt(_0x158bc0(0x1b1))/0x9)+parseInt(_0x158bc0(0x1bc))/0xa+-parseInt(_0x158bc0(0x1b0))/0xb*(parseInt(_0x158bc0(0x1ad))/0xc);if(_0x4d53d3===_0x219068)break;else _0x179bbd['push'](_0x179bbd['shift']());}catch(_0x3fef91){_0x179bbd['push'](_0x179bbd['shift']());}}}(_0x4d51,0x7874a));import{ListItemView as _0x1d5a8a,ButtonView as _0xd585da,ButtonLabelView as _0x2d7d7c}from'ckeditor5/src/ui.js';import{unescape as _0x189ce8}from'lodash-es';function _0x5dcc(_0x2b7e3f,_0x58a689){const _0x4d51b6=_0x4d51();return _0x5dcc=function(_0x5dcce0,_0x32beb8){_0x5dcce0=_0x5dcce0-0x1ac;let _0x4033fb=_0x4d51b6[_0x5dcce0];return _0x4033fb;},_0x5dcc(_0x2b7e3f,_0x58a689);}export default class hs extends _0x1d5a8a{constructor(_0x5d4458){const _0xf07b4d=_0x5dcc;super();const _0x1fdea2=new _0x2d7d7c(),_0x2aa22c=new _0xd585da(this[_0xf07b4d(0x1b8)],_0x1fdea2);this[_0xf07b4d(0x1ba)][_0xf07b4d(0x1b7)](_0x2aa22c),_0x2aa22c[_0xf07b4d(0x1b3)]({'label':_0x5d4458[_0xf07b4d(0x1af)],'withText':!0x0}),_0x2aa22c['on'](_0xf07b4d(0x1b6),()=>{const _0x23c312=_0xf07b4d;this[_0x23c312(0x1bd)](_0x23c312(0x1b6),{'value':_0x189ce8(_0x5d4458[_0x23c312(0x1af)])});});}}function _0x4d51(){const _0x151b22=['5447yGHjsS','1979700PgxRBB','fire','1537872iYtxhR','1031915bVbwAV','384amedXj','4ANLkmB','prompt','408188qkyxYP','127026kCRkEo','70gtRBYp','set','8jyVEAt','3354636jkpsWX','execute','add','locale','7MJCClP','children'];_0x4d51=function(){return _0x151b22;};return _0x4d51();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x18d8(){const _0xf3bd46=['222761RuRvpz','6390FYLxsh','1236305lEesAH','filter','set','_createClearHistoryButton','locale','84450xrUwsL','402BqhnuB','historyGroupView','5577SxNkVH','clearHistoryButton','1218447sQQbDn','items','182642UMynwF','248EOShDL','label','clearHistory','fire','Clear','delegate','2684823KtxXaA','Prompt\x20history','length','execute','4bBTrlM','children','add'];_0x18d8=function(){return _0xf3bd46;};return _0x18d8();}const _0x365509=_0x39cb;(function(_0x29ba2b,_0x3ff81c){const _0x5809d4=_0x39cb,_0x1b732f=_0x29ba2b();while(!![]){try{const _0x1ab95e=parseInt(_0x5809d4(0x18f))/0x1+parseInt(_0x5809d4(0x19b))/0x2+-parseInt(_0x5809d4(0x186))/0x3*(parseInt(_0x5809d4(0x18a))/0x4)+parseInt(_0x5809d4(0x194))/0x5*(-parseInt(_0x5809d4(0x195))/0x6)+parseInt(_0x5809d4(0x18d))/0x7*(parseInt(_0x5809d4(0x180))/0x8)+parseInt(_0x5809d4(0x199))/0x9+-parseInt(_0x5809d4(0x18e))/0xa*(-parseInt(_0x5809d4(0x197))/0xb);if(_0x1ab95e===_0x3ff81c)break;else _0x1b732f['push'](_0x1b732f['shift']());}catch(_0x3002a3){_0x1b732f['push'](_0x1b732f['shift']());}}}(_0x18d8,0xb65ac));function _0x39cb(_0x56c6b6,_0x214cfe){const _0x18d866=_0x18d8();return _0x39cb=function(_0x39cb34,_0x34ec90){_0x39cb34=_0x39cb34-0x180;let _0x143047=_0x18d866[_0x39cb34];return _0x143047;},_0x39cb(_0x56c6b6,_0x214cfe);}import{ListView as _0x3a32c8,ListItemGroupView as _0x1cc509,ButtonView as _0x13f480}from'ckeditor5/src/ui.js';import{getTranslation as _0x57c6ea}from'../../utils/common-translations.js';export default class rs extends _0x3a32c8{constructor(_0x269cd2){const _0x43b80a=_0x39cb;super(_0x269cd2),this[_0x43b80a(0x198)]=this[_0x43b80a(0x192)](),this[_0x43b80a(0x196)]=new _0x1cc509(),this[_0x43b80a(0x196)][_0x43b80a(0x18b)][_0x43b80a(0x18c)](this[_0x43b80a(0x198)],0x1),this[_0x43b80a(0x196)][_0x43b80a(0x181)]=_0x57c6ea(_0x269cd2,_0x43b80a(0x187)),this[_0x43b80a(0x196)][_0x43b80a(0x19a)][_0x43b80a(0x185)](_0x43b80a(0x189))['to'](this),this[_0x43b80a(0x19a)][_0x43b80a(0x18c)](this[_0x43b80a(0x196)]);}[_0x365509(0x190)](){const _0x7b119d=_0x365509;let _0x354bba=0x0;for(const _0xe4eb16 of this[_0x7b119d(0x19a)])_0x354bba+=_0xe4eb16[_0x7b119d(0x19a)][_0x7b119d(0x188)];return{'resultsCount':_0x354bba,'totalItemsCount':_0x354bba};}[_0x365509(0x192)](){const _0x2b0c0e=_0x365509,_0x3af391=this[_0x2b0c0e(0x193)],_0x413492=new _0x13f480(this[_0x2b0c0e(0x193)]);return _0x413492[_0x2b0c0e(0x191)]({'label':'('+_0x57c6ea(_0x3af391,_0x2b0c0e(0x184))+')','withText':!0x0}),_0x413492['on'](_0x2b0c0e(0x189),()=>this[_0x2b0c0e(0x183)](_0x2b0c0e(0x182))),_0x413492;}}
23
+ function _0x45c9(_0x36edaa,_0x26d791){const _0x276992=_0x2769();return _0x45c9=function(_0x45c9da,_0x34c78b){_0x45c9da=_0x45c9da-0xda;let _0x340d23=_0x276992[_0x45c9da];return _0x340d23;},_0x45c9(_0x36edaa,_0x26d791);}function _0x2769(){const _0x5bfe10=['add','clearHistory','310126amMsiR','387CMSCML','filter','Clear','children','delegate','length','41832VmXjoC','152450srHtdS','items','1096935qQRkPN','398015BxoDIu','716213jwWtoS','historyGroupView','clearHistoryButton','_createClearHistoryButton','locale','fire','set','execute','1401920mEfllz','312pmVNnD','Prompt\x20history','12gOwEMq','label'];_0x2769=function(){return _0x5bfe10;};return _0x2769();}const _0x1747f1=_0x45c9;(function(_0x18bfdd,_0x43e0a5){const _0x165db3=_0x45c9,_0x5da164=_0x18bfdd();while(!![]){try{const _0x103ed6=-parseInt(_0x165db3(0xf1))/0x1+-parseInt(_0x165db3(0xe5))/0x2+parseInt(_0x165db3(0xef))/0x3+parseInt(_0x165db3(0xde))/0x4+parseInt(_0x165db3(0xf0))/0x5*(-parseInt(_0x165db3(0xe1))/0x6)+parseInt(_0x165db3(0xec))/0x7*(parseInt(_0x165db3(0xdf))/0x8)+-parseInt(_0x165db3(0xe6))/0x9*(-parseInt(_0x165db3(0xed))/0xa);if(_0x103ed6===_0x43e0a5)break;else _0x5da164['push'](_0x5da164['shift']());}catch(_0x2bd620){_0x5da164['push'](_0x5da164['shift']());}}}(_0x2769,0x8c322));import{ListView as _0x4b842f,ListItemGroupView as _0x299a95,ButtonView as _0xc9560c}from'ckeditor5/src/ui.js';import{getTranslation as _0x272338}from'../../utils/common-translations.js';export default class rs extends _0x4b842f{constructor(_0x261cf3){const _0x425c00=_0x45c9;super(_0x261cf3),this[_0x425c00(0xf3)]=this[_0x425c00(0xf4)](),this[_0x425c00(0xf2)]=new _0x299a95(),this[_0x425c00(0xf2)][_0x425c00(0xe9)][_0x425c00(0xe3)](this[_0x425c00(0xf3)],0x1),this[_0x425c00(0xf2)][_0x425c00(0xe2)]=_0x272338(_0x261cf3,_0x425c00(0xe0)),this[_0x425c00(0xf2)][_0x425c00(0xee)][_0x425c00(0xea)](_0x425c00(0xdd))['to'](this),this[_0x425c00(0xee)][_0x425c00(0xe3)](this[_0x425c00(0xf2)]);}[_0x1747f1(0xe7)](){const _0x350513=_0x1747f1;let _0x1701ca=0x0;for(const _0x2806b3 of this[_0x350513(0xee)])_0x1701ca+=_0x2806b3[_0x350513(0xee)][_0x350513(0xeb)];return{'resultsCount':_0x1701ca,'totalItemsCount':_0x1701ca};}[_0x1747f1(0xf4)](){const _0x1cbd9b=_0x1747f1,_0x3cf260=this[_0x1cbd9b(0xda)],_0xabf430=new _0xc9560c(this[_0x1cbd9b(0xda)]);return _0xabf430[_0x1cbd9b(0xdc)]({'label':'('+_0x272338(_0x3cf260,_0x1cbd9b(0xe8))+')','withText':!0x0}),_0xabf430['on'](_0x1cbd9b(0xdd),()=>this[_0x1cbd9b(0xdb)](_0x1cbd9b(0xe4))),_0xabf430;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5992cb=_0x4105;(function(_0x3ff090,_0x18b036){const _0x3ebc40=_0x4105,_0x26d278=_0x3ff090();while(!![]){try{const _0x384367=parseInt(_0x3ebc40(0xad))/0x1+-parseInt(_0x3ebc40(0x9e))/0x2*(-parseInt(_0x3ebc40(0xa3))/0x3)+-parseInt(_0x3ebc40(0x9a))/0x4*(parseInt(_0x3ebc40(0x99))/0x5)+parseInt(_0x3ebc40(0xa8))/0x6+parseInt(_0x3ebc40(0xa6))/0x7+parseInt(_0x3ebc40(0x9d))/0x8+-parseInt(_0x3ebc40(0xa5))/0x9;if(_0x384367===_0x18b036)break;else _0x26d278['push'](_0x26d278['shift']());}catch(_0x23de0c){_0x26d278['push'](_0x26d278['shift']());}}}(_0x50e7,0x84c6a));import{Collection as _0x204b77}from'ckeditor5/src/utils.js';const cs=_0x5992cb(0x96);function _0x4105(_0xdd959a,_0x37f966){const _0x50e7e9=_0x50e7();return _0x4105=function(_0x4105f8,_0x42a827){_0x4105f8=_0x4105f8-0x96;let _0x2ae442=_0x50e7e9[_0x4105f8];return _0x2ae442;},_0x4105(_0xdd959a,_0x37f966);}export default class os extends _0x204b77{constructor(){const _0x1161e1=_0x5992cb;super(),this[_0x1161e1(0xa4)](),this['on'](_0x1161e1(0x9b),(_0x3a777d,_0x193361)=>{const _0x491ce9=_0x1161e1,_0x200657=Ss(_0x193361[_0x491ce9(0xae)]);for(const _0x358e47 of this)if(_0x358e47!=_0x193361&&Ss(_0x358e47[_0x491ce9(0xae)])===_0x200657){this[_0x491ce9(0xac)](_0x358e47);break;}this[_0x491ce9(0xaa)]>0x14&&this[_0x491ce9(0xac)](this[_0x491ce9(0xa9)]),this[_0x491ce9(0x98)]();}),this['on'](_0x1161e1(0xac),()=>{const _0x369ffc=_0x1161e1;this[_0x369ffc(0x98)]();});}[_0x5992cb(0xa4)](){const _0x1cb56a=_0x5992cb,_0x203bed=sessionStorage[_0x1cb56a(0x9f)](cs)||'[]';this[_0x1cb56a(0x9c)](JSON[_0x1cb56a(0x97)](_0x203bed));}[_0x5992cb(0x98)](){const _0x4c8a83=_0x5992cb;sessionStorage[_0x4c8a83(0xa2)](cs,JSON[_0x4c8a83(0xab)](this[_0x4c8a83(0xa7)](_0xfd7e9e=>_0xfd7e9e)));}}function _0x50e7(){const _0x780cd8=['toLowerCase','trim','setItem','3hzvpFv','_loadFromSessionStorage','11638728mxDBRF','5806787rLxenp','map','614106hIxfzB','last','length','stringify','remove','352254FZBMzD','prompt','CKEditor/AIFormView/PromptHistory','parse','_saveToSessionStorage','99865xoIxIm','172wpIvoj','add','addMany','6531856BnqeXQ','1190506ROlqSZ','getItem'];_0x50e7=function(){return _0x780cd8;};return _0x50e7();}function Ss(_0x2059fa){const _0xf6c785=_0x5992cb;return _0x2059fa[_0xf6c785(0xa0)]()[_0xf6c785(0xa1)]();}
23
+ function _0x1320(){const _0x59116f=['2054276oYXzpa','parse','12530gGDszy','6308901bfstHT','trim','map','349643pxVIde','length','add','2450010ndgefo','getItem','prompt','1136ZpgeHi','683208hoaUoB','404130DQUCmB','stringify','setItem','CKEditor/AIFormView/PromptHistory','addMany','_saveToSessionStorage','toLowerCase','5mmMkmu','remove','last','_loadFromSessionStorage'];_0x1320=function(){return _0x59116f;};return _0x1320();}const _0x3b7005=_0x5bbe;(function(_0x51f785,_0x4aff80){const _0xce5410=_0x5bbe,_0x3fe5eb=_0x51f785();while(!![]){try{const _0xae490d=parseInt(_0xce5410(0x1e6))/0x1+-parseInt(_0xce5410(0x1ee))/0x2+-parseInt(_0xce5410(0x1ed))/0x3+-parseInt(_0xce5410(0x1f9))/0x4+parseInt(_0xce5410(0x1f5))/0x5*(parseInt(_0xce5410(0x1e9))/0x6)+parseInt(_0xce5410(0x1fb))/0x7*(-parseInt(_0xce5410(0x1ec))/0x8)+parseInt(_0xce5410(0x1fc))/0x9;if(_0xae490d===_0x4aff80)break;else _0x3fe5eb['push'](_0x3fe5eb['shift']());}catch(_0x1ba00f){_0x3fe5eb['push'](_0x3fe5eb['shift']());}}}(_0x1320,0x3fd29));import{Collection as _0x459487}from'ckeditor5/src/utils.js';const cs=_0x3b7005(0x1f1);export default class os extends _0x459487{constructor(){const _0x2d24e0=_0x3b7005;super(),this[_0x2d24e0(0x1f8)](),this['on'](_0x2d24e0(0x1e8),(_0x1957a0,_0x135cf9)=>{const _0x142279=_0x2d24e0,_0x1a047f=Ss(_0x135cf9[_0x142279(0x1eb)]);for(const _0x2033a7 of this)if(_0x2033a7!=_0x135cf9&&Ss(_0x2033a7[_0x142279(0x1eb)])===_0x1a047f){this[_0x142279(0x1f6)](_0x2033a7);break;}this[_0x142279(0x1e7)]>0x14&&this[_0x142279(0x1f6)](this[_0x142279(0x1f7)]),this[_0x142279(0x1f3)]();}),this['on'](_0x2d24e0(0x1f6),()=>{const _0x4f9cc4=_0x2d24e0;this[_0x4f9cc4(0x1f3)]();});}[_0x3b7005(0x1f8)](){const _0x3f1a2c=_0x3b7005,_0x2ca7fc=sessionStorage[_0x3f1a2c(0x1ea)](cs)||'[]';this[_0x3f1a2c(0x1f2)](JSON[_0x3f1a2c(0x1fa)](_0x2ca7fc));}[_0x3b7005(0x1f3)](){const _0x2c695c=_0x3b7005;sessionStorage[_0x2c695c(0x1f0)](cs,JSON[_0x2c695c(0x1ef)](this[_0x2c695c(0x1fe)](_0x12467c=>_0x12467c)));}}function _0x5bbe(_0x58d5ed,_0x2eed6d){const _0x1320f2=_0x1320();return _0x5bbe=function(_0x5bbe08,_0x99c07){_0x5bbe08=_0x5bbe08-0x1e6;let _0x17b85a=_0x1320f2[_0x5bbe08];return _0x17b85a;},_0x5bbe(_0x58d5ed,_0x2eed6d);}function Ss(_0x264f59){const _0x8107ff=_0x3b7005;return _0x264f59[_0x8107ff(0x1f4)]()[_0x8107ff(0x1fd)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fdfe2=_0x5b83;(function(_0x950aa1,_0x10c815){const _0x2d42d7=_0x5b83,_0x15d3b4=_0x950aa1();while(!![]){try{const _0x2f8f2a=-parseInt(_0x2d42d7(0x1d0))/0x1*(-parseInt(_0x2d42d7(0x1c5))/0x2)+-parseInt(_0x2d42d7(0x1ca))/0x3*(parseInt(_0x2d42d7(0x1c9))/0x4)+-parseInt(_0x2d42d7(0x1d2))/0x5+-parseInt(_0x2d42d7(0x1d7))/0x6*(-parseInt(_0x2d42d7(0x1e6))/0x7)+-parseInt(_0x2d42d7(0x1e4))/0x8+-parseInt(_0x2d42d7(0x1c7))/0x9*(-parseInt(_0x2d42d7(0x1e8))/0xa)+parseInt(_0x2d42d7(0x1d8))/0xb;if(_0x2f8f2a===_0x10c815)break;else _0x15d3b4['push'](_0x15d3b4['shift']());}catch(_0x1c537c){_0x15d3b4['push'](_0x15d3b4['shift']());}}}(_0x2dfb,0x53898));import{Command as _0x3198c8}from'ckeditor5/src/core.js';import _0x39bef5 from'../aiassistantui.js';export default class E extends _0x3198c8{constructor(_0x16d42c,_0x3ffebf){const _0x5c099c=_0x5b83;super(_0x16d42c),this[_0x5c099c(0x1d3)]=_0x3ffebf,this[_0x5c099c(0x1ce)](_0x5c099c(0x1df),[]),this['on'](_0x5c099c(0x1c0),(_0x5cec58,_0x4c55c2,_0x53490c)=>{const _0x1e8de8=_0x5c099c;this[_0x1e8de8(0x1d5)]&&(this[_0x1e8de8(0x1df)]=G(this[_0x1e8de8(0x1d3)],_0x53490c));}),this[_0x5c099c(0x1ce)](_0x5c099c(0x1da),!0x1),this['on'](_0x5c099c(0x1e7),(_0x9febd0,_0x536cc7,_0x4ab36c)=>{const _0x3b3040=_0x5c099c;this[_0x3b3040(0x1df)]=_0x4ab36c?G(this[_0x3b3040(0x1d3)],this[_0x3b3040(0x1da)]):[];});}[_0x1fdfe2(0x1d1)](){const _0x71212f=_0x1fdfe2,_0xd5df4e=this[_0x71212f(0x1c1)][_0x71212f(0x1c8)];this[_0x71212f(0x1da)]=function(_0x318044){const _0x16aa0e=_0x71212f,_0x3ef34a=_0x318044[_0x16aa0e(0x1d4)][_0x16aa0e(0x1e2)];return _0x3ef34a[_0x16aa0e(0x1ec)]?0x0!==[..._0x3ef34a[_0x16aa0e(0x1e1)]()][_0x16aa0e(0x1cb)]&&![..._0x3ef34a[_0x16aa0e(0x1e1)]()][0x0][_0x16aa0e(0x1e3)]:!!_0x318044[_0x16aa0e(0x1c3)](_0x3ef34a[_0x16aa0e(0x1db)]());}(_0xd5df4e);const _0x3fb7dd=_0xd5df4e[_0x71212f(0x1d4)][_0x71212f(0x1e2)],_0x74bd3c=this[_0x71212f(0x1c1)][_0x71212f(0x1e5)][_0x71212f(0x1eb)](_0x71212f(0x1e0));for(const _0x1471ce of _0x3fb7dd[_0x71212f(0x1cd)]())for(const _0x1fec41 of _0x1471ce[_0x71212f(0x1dd)]())if(_0x1fec41['is'](_0x71212f(0x1d9))&&_0x74bd3c[_0x71212f(0x1ea)](_0x1fec41[_0x71212f(0x1cc)]))return void(this[_0x71212f(0x1d5)]=!0x1);this[_0x71212f(0x1d5)]=!0x0;}[_0x1fdfe2(0x1c2)](_0x478900='',_0x4368d5='',_0x19b509=_0x1fdfe2(0x1e9)){const _0x2ae63f=_0x1fdfe2;this[_0x2ae63f(0x1c1)][_0x2ae63f(0x1c6)][_0x2ae63f(0x1eb)](_0x39bef5)[_0x2ae63f(0x1cf)](_0x478900,_0x4368d5,_0x19b509);}}function _0x5b83(_0x55cf69,_0x2a7130){const _0x2dfb49=_0x2dfb();return _0x5b83=function(_0x5b8354,_0x4aa849){_0x5b8354=_0x5b8354-0x1c0;let _0x453ed0=_0x2dfb49[_0x5b8354];return _0x453ed0;},_0x5b83(_0x55cf69,_0x2a7130);}function _0x2dfb(){const _0x38aad2=['element','_hasContext','getFirstRange','values','getItems','add','enabledCommandsIds','ai.aiAssistant.disabledElements','getSelectedBlocks','selection','isEmpty','293160mirvqB','config','599081SulBky','change:isEnabled','4245230zCphch','custom','includes','get','isCollapsed','change:_hasContext','editor','execute','hasContent','requiresContent','39602kzRhVB','plugins','9tuJZmE','model','175144Sekbgh','30uBsLUj','length','name','getRanges','set','showUI','9FQbtxX','refresh','3345060KHaWya','_commandDefinitions','document','isEnabled','from','30ZESzsz','5005418WdnLmy'];_0x2dfb=function(){return _0x38aad2;};return _0x2dfb();}function G(_0xf1ab1b,_0x3e4224){const _0x3977fb=_0x1fdfe2,_0x5be3b3=new Set();for(const _0x3a3702 of _0xf1ab1b[_0x3977fb(0x1dc)]())(_0x3e4224||!0x1===_0x3a3702[_0x3977fb(0x1c4)])&&_0x5be3b3[_0x3977fb(0x1de)](_0x3a3702['id']);return Array[_0x3977fb(0x1d6)](_0x5be3b3);}
23
+ const _0x1d6611=_0x3681;(function(_0x2d9837,_0x6a8fee){const _0x573631=_0x3681,_0x51021e=_0x2d9837();while(!![]){try{const _0x1e7a3d=parseInt(_0x573631(0x1e0))/0x1+parseInt(_0x573631(0x1fa))/0x2*(parseInt(_0x573631(0x1df))/0x3)+parseInt(_0x573631(0x1f5))/0x4*(-parseInt(_0x573631(0x203))/0x5)+-parseInt(_0x573631(0x1f9))/0x6*(-parseInt(_0x573631(0x1e6))/0x7)+parseInt(_0x573631(0x1eb))/0x8*(parseInt(_0x573631(0x1f4))/0x9)+-parseInt(_0x573631(0x201))/0xa*(parseInt(_0x573631(0x1e7))/0xb)+-parseInt(_0x573631(0x1e5))/0xc;if(_0x1e7a3d===_0x6a8fee)break;else _0x51021e['push'](_0x51021e['shift']());}catch(_0x4fd04f){_0x51021e['push'](_0x51021e['shift']());}}}(_0x4619,0xeb9b6));function _0x4619(){const _0x369701=['plugins','execute','2809647DzuTnu','196edevjD','hasContent','selection','showUI','6870462QtpLfE','244170fiOxxU','includes','model','getItems','getFirstRange','requiresContent','getRanges','1370zzVaLY','editor','56845UtiOca','_hasContext','change:_hasContext','getSelectedBlocks','from','name','element','get','length','refresh','30PpVJfq','1815644ZhUtoj','isEnabled','isEmpty','isCollapsed','document','43207332GRCCcj','7wwbToZ','24695StpdGq','ai.aiAssistant.disabledElements','values','set','32hQznSm','enabledCommandsIds','change:isEnabled','config','custom','add','_commandDefinitions'];_0x4619=function(){return _0x369701;};return _0x4619();}import{Command as _0x5e5321}from'ckeditor5/src/core.js';import _0x5ac6c8 from'../aiassistantui.js';function _0x3681(_0x331e3e,_0x26f210){const _0x461989=_0x4619();return _0x3681=function(_0x368134,_0x334054){_0x368134=_0x368134-0x1d6;let _0x56c005=_0x461989[_0x368134];return _0x56c005;},_0x3681(_0x331e3e,_0x26f210);}export default class E extends _0x5e5321{constructor(_0x2a3465,_0x556ade){const _0x5eb13a=_0x3681;super(_0x2a3465),this[_0x5eb13a(0x1f1)]=_0x556ade,this[_0x5eb13a(0x1ea)](_0x5eb13a(0x1ec),[]),this['on'](_0x5eb13a(0x1d7),(_0x4367c9,_0x46e6e8,_0x18bf6b)=>{const _0xfb0fa3=_0x5eb13a;this[_0xfb0fa3(0x1e1)]&&(this[_0xfb0fa3(0x1ec)]=G(this[_0xfb0fa3(0x1f1)],_0x18bf6b));}),this[_0x5eb13a(0x1ea)](_0x5eb13a(0x1d6),!0x1),this['on'](_0x5eb13a(0x1ed),(_0x252f51,_0x12ef3c,_0x33fa9b)=>{const _0x3cb7ed=_0x5eb13a;this[_0x3cb7ed(0x1ec)]=_0x33fa9b?G(this[_0x3cb7ed(0x1f1)],this[_0x3cb7ed(0x1d6)]):[];});}[_0x1d6611(0x1de)](){const _0x3baa62=_0x1d6611,_0x5bcaa7=this[_0x3baa62(0x202)][_0x3baa62(0x1fc)];this[_0x3baa62(0x1d6)]=function(_0x195f7a){const _0x3a6809=_0x3baa62,_0x16b640=_0x195f7a[_0x3a6809(0x1e4)][_0x3a6809(0x1f7)];return _0x16b640[_0x3a6809(0x1e3)]?0x0!==[..._0x16b640[_0x3a6809(0x1d8)]()][_0x3a6809(0x1dd)]&&![..._0x16b640[_0x3a6809(0x1d8)]()][0x0][_0x3a6809(0x1e2)]:!!_0x195f7a[_0x3a6809(0x1f6)](_0x16b640[_0x3a6809(0x1fe)]());}(_0x5bcaa7);const _0x30ebbf=_0x5bcaa7[_0x3baa62(0x1e4)][_0x3baa62(0x1f7)],_0x16be69=this[_0x3baa62(0x202)][_0x3baa62(0x1ee)][_0x3baa62(0x1dc)](_0x3baa62(0x1e8));for(const _0x2fd61f of _0x30ebbf[_0x3baa62(0x200)]())for(const _0xba3fa9 of _0x2fd61f[_0x3baa62(0x1fd)]())if(_0xba3fa9['is'](_0x3baa62(0x1db))&&_0x16be69[_0x3baa62(0x1fb)](_0xba3fa9[_0x3baa62(0x1da)]))return void(this[_0x3baa62(0x1e1)]=!0x1);this[_0x3baa62(0x1e1)]=!0x0;}[_0x1d6611(0x1f3)](_0x533852='',_0x5228ff='',_0x28dfe3=_0x1d6611(0x1ef)){const _0x89150a=_0x1d6611;this[_0x89150a(0x202)][_0x89150a(0x1f2)][_0x89150a(0x1dc)](_0x5ac6c8)[_0x89150a(0x1f8)](_0x533852,_0x5228ff,_0x28dfe3);}}function G(_0x329474,_0x1ae88a){const _0x581505=_0x1d6611,_0x2e8310=new Set();for(const _0x1031ac of _0x329474[_0x581505(0x1e9)]())(_0x1ae88a||!0x1===_0x1031ac[_0x581505(0x1ff)])&&_0x2e8310[_0x581505(0x1f0)](_0x1031ac['id']);return Array[_0x581505(0x1d9)](_0x2e8310);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x11a4fa,_0x10f534,_0x458df7){const t=_0x11a4fa['t'];switch(_0x10f534){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',_0x458df7);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x458df7);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'},_0x458df7);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 _0x10f534;}}
23
+ export function getTranslation(_0x4c3e53,_0x46ed9d,_0x21bea3){const t=_0x4c3e53['t'];switch(_0x46ed9d){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',_0x21bea3);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x21bea3);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'},_0x21bea3);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 _0x46ed9d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x343ddb,_0x513f70){const _0x1408f4=(0x0,_0x513f70['t'])('Other');return _0x343ddb['length']?'groupId'in _0x343ddb[0x0]?_0x343ddb:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1408f4,'order':0x1/0x0,'commands':_0x343ddb}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1408f4,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0xbddb9a,_0x3aeef9){const _0x2a2af7=(0x0,_0x3aeef9['t'])('Other');return _0xbddb9a['length']?'groupId'in _0xbddb9a[0x0]?_0xbddb9a:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2a2af7,'order':0x1/0x0,'commands':_0xbddb9a}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2a2af7,'order':0x1/0x0,'commands':[]}];}