@ckeditor/ckeditor5-ai 43.3.0-alpha.7 → 43.3.0

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 (206) 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/lang/translations/ar.po +1 -1
  148. package/lang/translations/bg.po +1 -1
  149. package/lang/translations/bn.po +1 -1
  150. package/lang/translations/ca.po +1 -1
  151. package/lang/translations/cs.po +1 -1
  152. package/lang/translations/da.po +1 -1
  153. package/lang/translations/de.po +1 -1
  154. package/lang/translations/el.po +1 -1
  155. package/lang/translations/en.po +1 -1
  156. package/lang/translations/es.po +1 -1
  157. package/lang/translations/et.po +1 -1
  158. package/lang/translations/fi.po +1 -1
  159. package/lang/translations/fr.po +1 -1
  160. package/lang/translations/he.po +1 -1
  161. package/lang/translations/hi.po +1 -1
  162. package/lang/translations/hu.po +1 -1
  163. package/lang/translations/id.po +1 -1
  164. package/lang/translations/it.po +1 -1
  165. package/lang/translations/ja.po +1 -1
  166. package/lang/translations/ko.po +1 -1
  167. package/lang/translations/lt.po +1 -1
  168. package/lang/translations/lv.po +1 -1
  169. package/lang/translations/ms.po +1 -1
  170. package/lang/translations/nl.po +1 -1
  171. package/lang/translations/no.po +1 -1
  172. package/lang/translations/pl.po +1 -1
  173. package/lang/translations/pt-br.po +1 -1
  174. package/lang/translations/pt.po +1 -1
  175. package/lang/translations/ro.po +1 -1
  176. package/lang/translations/ru.po +1 -1
  177. package/lang/translations/sk.po +1 -1
  178. package/lang/translations/sr.po +1 -1
  179. package/lang/translations/sv.po +1 -1
  180. package/lang/translations/th.po +1 -1
  181. package/lang/translations/tr.po +1 -1
  182. package/lang/translations/uk.po +1 -1
  183. package/lang/translations/vi.po +1 -1
  184. package/lang/translations/zh-cn.po +1 -1
  185. package/lang/translations/zh.po +1 -1
  186. package/package.json +8 -8
  187. package/src/adapters/aiadapter.js +1 -1
  188. package/src/adapters/aitextadapter.js +1 -1
  189. package/src/adapters/awstextadapter.js +1 -1
  190. package/src/adapters/openaitextadapter.js +1 -1
  191. package/src/aiassistant.js +1 -1
  192. package/src/aiassistantediting.js +1 -1
  193. package/src/aiassistantui.js +1 -1
  194. package/src/index.js +1 -1
  195. package/src/ui/aiassistantcontroller.js +2 -2
  196. package/src/ui/form/aiformcontentarea.js +1 -1
  197. package/src/ui/form/aiformerrorview.js +1 -1
  198. package/src/ui/form/aiformpromptview.js +1 -1
  199. package/src/ui/form/aiformtoolbarview.js +1 -1
  200. package/src/ui/form/aiformview.js +1 -1
  201. package/src/ui/form/aihistorylistitemview.js +1 -1
  202. package/src/ui/form/aihistorylistview.js +1 -1
  203. package/src/ui/form/prompthistory.js +1 -1
  204. package/src/ui/showaiassistantcommand.js +1 -1
  205. package/src/utils/common-translations.js +1 -1
  206. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f02a0=_0x50ab;(function(_0x2b9bd7,_0x1db218){const _0x426dd1=_0x50ab,_0x437ea2=_0x2b9bd7();while(!![]){try{const _0x29e36f=parseInt(_0x426dd1(0x1b5))/0x1*(parseInt(_0x426dd1(0x1bb))/0x2)+-parseInt(_0x426dd1(0x1c0))/0x3*(parseInt(_0x426dd1(0x18e))/0x4)+parseInt(_0x426dd1(0x19c))/0x5*(parseInt(_0x426dd1(0x194))/0x6)+parseInt(_0x426dd1(0x18d))/0x7*(-parseInt(_0x426dd1(0x18c))/0x8)+parseInt(_0x426dd1(0x1ac))/0x9+-parseInt(_0x426dd1(0x18b))/0xa+-parseInt(_0x426dd1(0x1b9))/0xb;if(_0x29e36f===_0x1db218)break;else _0x437ea2['push'](_0x437ea2['shift']());}catch(_0x454a37){_0x437ea2['push'](_0x437ea2['shift']());}}}(_0x391f,0x95b8e));import{Rect as _0x40df20,global as _0x30dc9b,isVisible as _0x2f3fbc}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x57c8b6,ButtonView as _0x279360}from'ckeditor5/src/ui.js';import{icons as _0x3582dd}from'ckeditor5/src/core.js';function _0x50ab(_0x3a12cf,_0xd4186c){const _0x391f13=_0x391f();return _0x50ab=function(_0x50ab07,_0x52271d){_0x50ab07=_0x50ab07-0x18b;let _0x3e0be0=_0x391f13[_0x50ab07];return _0x3e0be0;},_0x50ab(_0x3a12cf,_0xd4186c);}function _0x391f(){const _0x3d1d63=['rtl','1oaiIUY','window','isEmpty','maxRows','4400176Ilkfky','fieldWrapperChildren','1010182DDOpgU','_createShowHistoryButton','set','bind','locale','77493tFjpAu','uiLanguageDirection','showHistoryButtonView','excludeScrollbarsAndBorders','history','value','filteredView','879510yHNykr','8WfFNWx','1790432AAIKeO','68nsAKEv','right','focus','fieldView','width','_createSubmitButton','154506FoBONu','enter','render','Submit','ck-ai-form__toggle-history','fire','resultsView','focusableChildren','20ypSUFu','isVisible','children','submit','add','keystrokes','queryView','style','minRows','focusLast','update','target','ck-ai-form__submit','requestAnimationFrame','History','element','10692333EpPIiB','focusFirst','submitButtonView','execute','left','focusCycler','isEnabled','isOn'];_0x391f=function(){return _0x3d1d63;};return _0x391f();}import{getTranslation as _0x228fcc}from'../../utils/common-translations.js';import _0xb26cbf from'../../../theme/icons/submit.svg';export default class ht extends _0x57c8b6{constructor(_0x249ea8,_0x4af7e5){const _0x280c44=_0x50ab;super(_0x249ea8,_0x4af7e5),this[_0x280c44(0x1a2)][_0x280c44(0x191)][_0x280c44(0x1a4)]=0x1,this[_0x280c44(0x1a2)][_0x280c44(0x191)][_0x280c44(0x1b8)]=0x3,this[_0x280c44(0x1ae)]=this[_0x280c44(0x193)](),this[_0x280c44(0x1c2)]=this[_0x280c44(0x1bc)](),this[_0x280c44(0x19b)][_0x280c44(0x1a0)](this[_0x280c44(0x1c2)],0x1),this[_0x280c44(0x19b)][_0x280c44(0x1a0)](this[_0x280c44(0x1ae)]);}[_0x2f02a0(0x196)](){const _0x9e91b0=_0x2f02a0;super[_0x9e91b0(0x196)](),this[_0x9e91b0(0x1a2)][_0x9e91b0(0x1ba)][_0x9e91b0(0x1a0)](this[_0x9e91b0(0x1c2)]),this[_0x9e91b0(0x19e)][_0x9e91b0(0x1a0)](this[_0x9e91b0(0x1ae)]),this[_0x9e91b0(0x1a1)][_0x9e91b0(0x1bd)](_0x9e91b0(0x195),(_0x2987b2,_0x2b2dfe)=>{const _0x42b76a=_0x9e91b0;_0x2987b2[_0x42b76a(0x1a7)]==this[_0x42b76a(0x1a2)][_0x42b76a(0x191)][_0x42b76a(0x1ab)]&&(this[_0x42b76a(0x19f)](),_0x2b2dfe());});}[_0x2f02a0(0x193)](){const _0xc40114=_0x2f02a0,_0x7df096=new _0x279360(this[_0xc40114(0x1bf)]),_0x285dc7=this[_0xc40114(0x1bf)];return _0x7df096[_0xc40114(0x1bd)]({'icon':_0xb26cbf,'label':_0x228fcc(_0x285dc7,_0xc40114(0x197)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xc40114(0x1a8)}),_0x7df096['on'](_0xc40114(0x1af),()=>{const _0x565d0b=_0xc40114;this[_0x565d0b(0x19f)]();}),_0x7df096[_0xc40114(0x1be)](_0xc40114(0x1b2))['to'](this[_0xc40114(0x1a2)][_0xc40114(0x191)],_0xc40114(0x1b7),this,_0xc40114(0x1b2),(_0x48ba8b,_0x493aea)=>!_0x48ba8b&&_0x493aea),_0x7df096;}[_0x2f02a0(0x1bc)](){const _0x452a22=_0x2f02a0,_0x1951f6=new _0x279360(this[_0x452a22(0x1bf)]),_0x483f2e=this[_0x452a22(0x19a)],_0x275f88=this[_0x452a22(0x1bf)];_0x1951f6[_0x452a22(0x1bd)]({'label':_0x228fcc(_0x275f88,_0x452a22(0x1aa)),'withText':!0x1,'icon':_0x3582dd[_0x452a22(0x1c4)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x452a22(0x198)}),_0x1951f6[_0x452a22(0x1be)](_0x452a22(0x1b3))['to'](_0x483f2e,_0x452a22(0x19d)),_0x1951f6[_0x452a22(0x1be)](_0x452a22(0x1b2))['to'](this,_0x452a22(0x1b2)),_0x1951f6['on'](_0x452a22(0x1af),()=>{const _0x28d41e=_0x452a22;_0x483f2e[_0x28d41e(0x19d)]=!_0x483f2e[_0x28d41e(0x19d)],_0x483f2e[_0x28d41e(0x19d)]?this[_0x28d41e(0x1c6)][_0x28d41e(0x190)]():this[_0x28d41e(0x190)]();});const _0x38ccb0=()=>{const _0x10d5a9=_0x452a22;_0x30dc9b[_0x10d5a9(0x1b6)][_0x10d5a9(0x1a9)](()=>{const _0x3cad98=_0x10d5a9;if(_0x2f3fbc(this[_0x3cad98(0x1ab)])){const _0x1f2d3e=new _0x40df20(this[_0x3cad98(0x1a2)][_0x3cad98(0x191)][_0x3cad98(0x1ab)]),_0x7453fc=_0x1f2d3e[_0x3cad98(0x192)],_0x3eafc9=_0x3cad98(0x1b4)===_0x275f88[_0x3cad98(0x1c1)]?_0x3cad98(0x1b0):_0x3cad98(0x18f);_0x1f2d3e[_0x3cad98(0x1c3)](),_0x1951f6[_0x3cad98(0x1ab)][_0x3cad98(0x1a3)][_0x3eafc9]=_0x7453fc-_0x1f2d3e[_0x3cad98(0x192)]+0x1+'px';}});};return this[_0x452a22(0x1a2)][_0x452a22(0x191)]['on'](_0x452a22(0x1a6),_0x38ccb0),this['on'](_0x452a22(0x196),_0x38ccb0),_0x1951f6;}[_0x2f02a0(0x19f)](){const _0x40e81d=_0x2f02a0,_0x249c30=this[_0x40e81d(0x1a2)][_0x40e81d(0x191)][_0x40e81d(0x1ab)][_0x40e81d(0x1c5)];this[_0x40e81d(0x199)](_0x40e81d(0x19f),_0x249c30);}[_0x2f02a0(0x190)](_0x2243a7){const _0x48f376=_0x2f02a0;-0x1===_0x2243a7?this[_0x48f376(0x1b1)][_0x48f376(0x1a5)]():this[_0x48f376(0x1b1)][_0x48f376(0x1ad)]();}}
23
+ const _0x58eb82=_0xcb5b;(function(_0x37d228,_0x520607){const _0x541a6=_0xcb5b,_0x44919c=_0x37d228();while(!![]){try{const _0x25de9f=-parseInt(_0x541a6(0x1dd))/0x1+-parseInt(_0x541a6(0x1d1))/0x2*(parseInt(_0x541a6(0x1f1))/0x3)+parseInt(_0x541a6(0x1f5))/0x4*(parseInt(_0x541a6(0x1f7))/0x5)+parseInt(_0x541a6(0x1ec))/0x6*(parseInt(_0x541a6(0x1d5))/0x7)+parseInt(_0x541a6(0x209))/0x8*(parseInt(_0x541a6(0x202))/0x9)+-parseInt(_0x541a6(0x1eb))/0xa+-parseInt(_0x541a6(0x1fb))/0xb;if(_0x25de9f===_0x520607)break;else _0x44919c['push'](_0x44919c['shift']());}catch(_0x3d22cc){_0x44919c['push'](_0x44919c['shift']());}}}(_0x2b1e,0x7d00b));function _0x2b1e(){const _0x56116b=['isEnabled','5064XpEWBh','target','2935uQXgrY','value','History','resultsView','7679947lncQbp','rtl','focusFirst','right','maxRows','keystrokes','submitButtonView','8191899QaFJzk','requestAnimationFrame','minRows','update','focus','Submit','isOn','8UdrUoV','filteredView','window','fieldWrapperChildren','2Hhxkxp','set','excludeScrollbarsAndBorders','ck-ai-form__toggle-history','77eMLTrB','element','isVisible','ck-ai-form__submit','focusLast','children','showHistoryButtonView','history','81338JEmasG','uiLanguageDirection','_createSubmitButton','style','fieldView','execute','focusableChildren','width','left','focusCycler','_createShowHistoryButton','isEmpty','bind','enter','5140060ykMtmc','462498HOtwzN','queryView','add','fire','submit','2087202jDNmsK','render','locale'];_0x2b1e=function(){return _0x56116b;};return _0x2b1e();}import{Rect as _0x4befbe,global as _0x5e5152,isVisible as _0x51a92b}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x31a2a5,ButtonView as _0x15ad82}from'ckeditor5/src/ui.js';import{icons as _0x38a7db}from'ckeditor5/src/core.js';import{getTranslation as _0x3d90ff}from'../../utils/common-translations.js';import _0x1b4267 from'../../../theme/icons/submit.svg';function _0xcb5b(_0x2fabcc,_0x3f761){const _0x2b1e34=_0x2b1e();return _0xcb5b=function(_0xcb5bca,_0x3df1bd){_0xcb5bca=_0xcb5bca-0x1ce;let _0x3794df=_0x2b1e34[_0xcb5bca];return _0x3794df;},_0xcb5b(_0x2fabcc,_0x3f761);}export default class ht extends _0x31a2a5{constructor(_0x2666ed,_0x1f7311){const _0x220aa3=_0xcb5b;super(_0x2666ed,_0x1f7311),this[_0x220aa3(0x1ed)][_0x220aa3(0x1e1)][_0x220aa3(0x204)]=0x1,this[_0x220aa3(0x1ed)][_0x220aa3(0x1e1)][_0x220aa3(0x1ff)]=0x3,this[_0x220aa3(0x201)]=this[_0x220aa3(0x1df)](),this[_0x220aa3(0x1db)]=this[_0x220aa3(0x1e7)](),this[_0x220aa3(0x1e3)][_0x220aa3(0x1ee)](this[_0x220aa3(0x1db)],0x1),this[_0x220aa3(0x1e3)][_0x220aa3(0x1ee)](this[_0x220aa3(0x201)]);}[_0x58eb82(0x1f2)](){const _0xc9f46=_0x58eb82;super[_0xc9f46(0x1f2)](),this[_0xc9f46(0x1ed)][_0xc9f46(0x1d0)][_0xc9f46(0x1ee)](this[_0xc9f46(0x1db)]),this[_0xc9f46(0x1da)][_0xc9f46(0x1ee)](this[_0xc9f46(0x201)]),this[_0xc9f46(0x200)][_0xc9f46(0x1d2)](_0xc9f46(0x1ea),(_0x12d3e7,_0x568ec2)=>{const _0x1d9e03=_0xc9f46;_0x12d3e7[_0x1d9e03(0x1f6)]==this[_0x1d9e03(0x1ed)][_0x1d9e03(0x1e1)][_0x1d9e03(0x1d6)]&&(this[_0x1d9e03(0x1f0)](),_0x568ec2());});}[_0x58eb82(0x1df)](){const _0x40dc5d=_0x58eb82,_0x5733a6=new _0x15ad82(this[_0x40dc5d(0x1f3)]),_0x11b53f=this[_0x40dc5d(0x1f3)];return _0x5733a6[_0x40dc5d(0x1d2)]({'icon':_0x1b4267,'label':_0x3d90ff(_0x11b53f,_0x40dc5d(0x207)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x40dc5d(0x1d8)}),_0x5733a6['on'](_0x40dc5d(0x1e2),()=>{const _0x36806f=_0x40dc5d;this[_0x36806f(0x1f0)]();}),_0x5733a6[_0x40dc5d(0x1e9)](_0x40dc5d(0x1f4))['to'](this[_0x40dc5d(0x1ed)][_0x40dc5d(0x1e1)],_0x40dc5d(0x1e8),this,_0x40dc5d(0x1f4),(_0x5661f6,_0x121a0b)=>!_0x5661f6&&_0x121a0b),_0x5733a6;}[_0x58eb82(0x1e7)](){const _0x4220a6=_0x58eb82,_0x224977=new _0x15ad82(this[_0x4220a6(0x1f3)]),_0x17aaf0=this[_0x4220a6(0x1fa)],_0x1509eb=this[_0x4220a6(0x1f3)];_0x224977[_0x4220a6(0x1d2)]({'label':_0x3d90ff(_0x1509eb,_0x4220a6(0x1f9)),'withText':!0x1,'icon':_0x38a7db[_0x4220a6(0x1dc)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4220a6(0x1d4)}),_0x224977[_0x4220a6(0x1e9)](_0x4220a6(0x208))['to'](_0x17aaf0,_0x4220a6(0x1d7)),_0x224977[_0x4220a6(0x1e9)](_0x4220a6(0x1f4))['to'](this,_0x4220a6(0x1f4)),_0x224977['on'](_0x4220a6(0x1e2),()=>{const _0xebacff=_0x4220a6;_0x17aaf0[_0xebacff(0x1d7)]=!_0x17aaf0[_0xebacff(0x1d7)],_0x17aaf0[_0xebacff(0x1d7)]?this[_0xebacff(0x1ce)][_0xebacff(0x206)]():this[_0xebacff(0x206)]();});const _0x48ebff=()=>{const _0x23c582=_0x4220a6;_0x5e5152[_0x23c582(0x1cf)][_0x23c582(0x203)](()=>{const _0x2316d5=_0x23c582;if(_0x51a92b(this[_0x2316d5(0x1d6)])){const _0xfd5640=new _0x4befbe(this[_0x2316d5(0x1ed)][_0x2316d5(0x1e1)][_0x2316d5(0x1d6)]),_0x2729a3=_0xfd5640[_0x2316d5(0x1e4)],_0x88c33a=_0x2316d5(0x1fc)===_0x1509eb[_0x2316d5(0x1de)]?_0x2316d5(0x1e5):_0x2316d5(0x1fe);_0xfd5640[_0x2316d5(0x1d3)](),_0x224977[_0x2316d5(0x1d6)][_0x2316d5(0x1e0)][_0x88c33a]=_0x2729a3-_0xfd5640[_0x2316d5(0x1e4)]+0x1+'px';}});};return this[_0x4220a6(0x1ed)][_0x4220a6(0x1e1)]['on'](_0x4220a6(0x205),_0x48ebff),this['on'](_0x4220a6(0x1f2),_0x48ebff),_0x224977;}[_0x58eb82(0x1f0)](){const _0x138754=_0x58eb82,_0x37252f=this[_0x138754(0x1ed)][_0x138754(0x1e1)][_0x138754(0x1d6)][_0x138754(0x1f8)];this[_0x138754(0x1ef)](_0x138754(0x1f0),_0x37252f);}[_0x58eb82(0x206)](_0xb5f13d){const _0x17a3bd=_0x58eb82;-0x1===_0xb5f13d?this[_0x17a3bd(0x1e6)][_0x17a3bd(0x1d9)]():this[_0x17a3bd(0x1e6)][_0x17a3bd(0x1fd)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c2f0f=_0x591c;(function(_0x12613e,_0x2f1a4e){const _0x3dd59c=_0x591c,_0x1b4a9a=_0x12613e();while(!![]){try{const _0x295128=-parseInt(_0x3dd59c(0x10f))/0x1+parseInt(_0x3dd59c(0x108))/0x2+parseInt(_0x3dd59c(0x103))/0x3*(parseInt(_0x3dd59c(0x107))/0x4)+parseInt(_0x3dd59c(0xff))/0x5*(parseInt(_0x3dd59c(0xf4))/0x6)+-parseInt(_0x3dd59c(0xf6))/0x7+-parseInt(_0x3dd59c(0x111))/0x8+parseInt(_0x3dd59c(0xf1))/0x9;if(_0x295128===_0x2f1a4e)break;else _0x1b4a9a['push'](_0x1b4a9a['shift']());}catch(_0x92c19b){_0x1b4a9a['push'](_0x1b4a9a['shift']());}}}(_0x19d0,0x88c39));function _0x591c(_0x31595e,_0x47a896){const _0x19d0b6=_0x19d0();return _0x591c=function(_0x591cfa,_0x5bcee4){_0x591cfa=_0x591cfa-0xef;let _0x4ff931=_0x19d0b6[_0x591cfa];return _0x4ff931;},_0x591c(_0x31595e,_0x47a896);}import{ToolbarView as _0x570358,ButtonView as _0x344236}from'ckeditor5/src/ui.js';import{getTranslation as _0x5db50b}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3c2f0f(0x10d),'INSERT':_0x3c2f0f(0xfd)};export default class nt extends _0x570358{constructor(_0x4642ed){const _0xda65b0=_0x3c2f0f;super(_0x4642ed),this[_0xda65b0(0xf7)](_0xda65b0(0xfa),!0x1),this[_0xda65b0(0xf7)](_0xda65b0(0xfe),AIFormToolbarViewMainActionLabel[_0xda65b0(0x112)]),this[_0xda65b0(0x10e)]=this[_0xda65b0(0xf2)]('',_0xda65b0(0x100)),this[_0xda65b0(0x10e)][_0xda65b0(0xf9)](_0xda65b0(0x110))['to'](this,_0xda65b0(0xfe),_0x66b522=>_0x5db50b(_0x4642ed,_0xda65b0(0xfb)+_0x66b522[_0xda65b0(0x106)]()+_0xda65b0(0x102))),this[_0xda65b0(0xef)]=this[_0xda65b0(0xf2)](_0x5db50b(_0x4642ed,_0xda65b0(0x10a))),this[_0xda65b0(0xf5)]=this[_0xda65b0(0xf2)](_0x5db50b(_0x4642ed,_0xda65b0(0x10b))),this[_0xda65b0(0xf0)]=this[_0xda65b0(0xf2)](_0x5db50b(_0x4642ed,_0xda65b0(0x104)));const _0xfa5d1c=this[_0xda65b0(0x10c)];this[_0xda65b0(0xf3)]({'attributes':{'class':[_0xda65b0(0xf8),_0xfa5d1c['if'](_0xda65b0(0xfa),_0xda65b0(0x101),_0x70f181=>!_0x70f181)]}}),this[_0xda65b0(0x109)][_0xda65b0(0x105)]([this[_0xda65b0(0x10e)],this[_0xda65b0(0xef)],this[_0xda65b0(0xf5)],this[_0xda65b0(0xf0)]]);}[_0x3c2f0f(0xf2)](_0x448301,_0x629f33){const _0x5ce581=_0x3c2f0f,_0x137cf8=new _0x344236(this[_0x5ce581(0xfc)]);return _0x137cf8[_0x5ce581(0xf7)]({'label':_0x448301,'class':_0x629f33||'','isVisible':!0x0,'withText':!0x0}),_0x137cf8;}}function _0x19d0(){const _0x5594c2=['4811328bhQpSa','_createButton','extendTemplate','5999586BJyGTu','tryAgainButton','1007055JrwgNJ','set','ck-ai-form__toolbar','bind','isVisible','AI_','locale','insert','mainAction','5FxJhoC','ck-button-action','ck-hidden','_CONTENT','27EzGClc','Stop','addMany','toUpperCase','3548esJRAU','1228846ulxDAZ','items','Insert\x20below','Try\x20again','bindTemplate','replace','replaceButton','803436iNxQsD','label','5195544SQtohM','REPLACE','insertButton','stopButton'];_0x19d0=function(){return _0x5594c2;};return _0x19d0();}
23
+ const _0x5e74fa=_0x139a;(function(_0x9c7f13,_0x71bbac){const _0x22369b=_0x139a,_0x4e942c=_0x9c7f13();while(!![]){try{const _0x268da0=-parseInt(_0x22369b(0xe6))/0x1+parseInt(_0x22369b(0xfb))/0x2+-parseInt(_0x22369b(0xf0))/0x3+parseInt(_0x22369b(0x102))/0x4*(-parseInt(_0x22369b(0xfa))/0x5)+-parseInt(_0x22369b(0xe9))/0x6*(-parseInt(_0x22369b(0xeb))/0x7)+parseInt(_0x22369b(0xee))/0x8*(-parseInt(_0x22369b(0xe8))/0x9)+-parseInt(_0x22369b(0xec))/0xa*(-parseInt(_0x22369b(0x107))/0xb);if(_0x268da0===_0x71bbac)break;else _0x4e942c['push'](_0x4e942c['shift']());}catch(_0x41a794){_0x4e942c['push'](_0x4e942c['shift']());}}}(_0x4c3a,0x35041));function _0x139a(_0x3310e9,_0x400734){const _0x4c3a91=_0x4c3a();return _0x139a=function(_0x139a34,_0x236c24){_0x139a34=_0x139a34-0xe6;let _0xba2e5=_0x4c3a91[_0x139a34];return _0xba2e5;},_0x139a(_0x3310e9,_0x400734);}import{ToolbarView as _0x9f26f9,ButtonView as _0x231dae}from'ckeditor5/src/ui.js';import{getTranslation as _0x3204b7}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5e74fa(0xea),'INSERT':_0x5e74fa(0x108)};function _0x4c3a(){const _0x467db9=['62579obHrBt','insert','locale','mainAction','_CONTENT','322511atAaSv','bind','70209xtBhbl','1836UgEwNi','replace','6286GuakyS','1070RvnEGV','replaceButton','208dtvsDj','extendTemplate','179526VnmElc','Insert\x20below','insertButton','label','ck-ai-form__toolbar','Try\x20again','stopButton','_createButton','addMany','items','5kqoVSI','663890EioFpj','Stop','ck-hidden','isVisible','bindTemplate','set','REPLACE','1652496jlHXLa','toUpperCase','AI_','tryAgainButton','ck-button-action'];_0x4c3a=function(){return _0x467db9;};return _0x4c3a();}export default class nt extends _0x9f26f9{constructor(_0x5d36ed){const _0x4cb438=_0x5e74fa;super(_0x5d36ed),this[_0x4cb438(0x100)](_0x4cb438(0xfe),!0x1),this[_0x4cb438(0x100)](_0x4cb438(0x10a),AIFormToolbarViewMainActionLabel[_0x4cb438(0x101)]),this[_0x4cb438(0xed)]=this[_0x4cb438(0xf7)]('',_0x4cb438(0x106)),this[_0x4cb438(0xed)][_0x4cb438(0xe7)](_0x4cb438(0xf3))['to'](this,_0x4cb438(0x10a),_0x1e4365=>_0x3204b7(_0x5d36ed,_0x4cb438(0x104)+_0x1e4365[_0x4cb438(0x103)]()+_0x4cb438(0x10b))),this[_0x4cb438(0xf2)]=this[_0x4cb438(0xf7)](_0x3204b7(_0x5d36ed,_0x4cb438(0xf1))),this[_0x4cb438(0x105)]=this[_0x4cb438(0xf7)](_0x3204b7(_0x5d36ed,_0x4cb438(0xf5))),this[_0x4cb438(0xf6)]=this[_0x4cb438(0xf7)](_0x3204b7(_0x5d36ed,_0x4cb438(0xfc)));const _0x200753=this[_0x4cb438(0xff)];this[_0x4cb438(0xef)]({'attributes':{'class':[_0x4cb438(0xf4),_0x200753['if'](_0x4cb438(0xfe),_0x4cb438(0xfd),_0x21be02=>!_0x21be02)]}}),this[_0x4cb438(0xf9)][_0x4cb438(0xf8)]([this[_0x4cb438(0xed)],this[_0x4cb438(0xf2)],this[_0x4cb438(0x105)],this[_0x4cb438(0xf6)]]);}[_0x5e74fa(0xf7)](_0x327cb8,_0x2f9082){const _0xa5dc3c=_0x5e74fa,_0x3cb25e=new _0x231dae(this[_0xa5dc3c(0x109)]);return _0x3cb25e[_0xa5dc3c(0x100)]({'label':_0x327cb8,'class':_0x2f9082||'','isVisible':!0x0,'withText':!0x0}),_0x3cb25e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x506733=_0x417b;function _0x417b(_0x1e1e2d,_0x558328){const _0x47848c=_0x4784();return _0x417b=function(_0x417ba2,_0x3f0f28){_0x417ba2=_0x417ba2-0x97;let _0x44ae4c=_0x47848c[_0x417ba2];return _0x44ae4c;},_0x417b(_0x1e1e2d,_0x558328);}function _0x4784(){const _0x3d303f=['isVisible','items','Empty\x20history','stopButton','mainAction','7617234DVdBgJ','keystrokes','2PhVrgt','_createHistoryView','_focusables','submitPrompt','clear','ck-ai-form','listenTo','tab','insertContentBelow','insertButton','text','execute','isEnabled','errorView','tryAgainEvent','REPLACE','setTemplate','handleError','fire','promptView','prompt','reset','focusCycler','_promptHistory','chain','21917005BTkVwB','fieldView','copyButtonView','bind','isProcessing','contentArea','createCollection','locale','tryAgainButton','focusLast','368917fsDQlf','1507833GsBymI','render','submit','Ask\x20AI\x20to\x20improve\x20generated\x20text','clearHistory','shift\x20+\x20tab','_createToolbar','10UiEzmv','queryView','940045BLuGaT','trim','label','div','add','historyGroupView','high','startProcessing','isError','stopProcessing','7uYEeUm','element','bindTemplate','focusFirst','_createPromptView','replaceButton','focusTracker','delegate','1566MiYdoa','2776jKayLY','search','ck-ai-form-content','AI_ERROR_FAILED','value','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','Ask\x20AI\x20to\x20edit\x20or\x20generate','focus','replaceContent','set','8682928wWCoux','bindTo','finishProcessing','ck-hidden','toolbar'];_0x4784=function(){return _0x3d303f;};return _0x4784();}(function(_0x197270,_0xd871f4){const _0x3c9833=_0x417b,_0x4f8c96=_0x197270();while(!![]){try{const _0x2fa666=parseInt(_0x3c9833(0xe3))/0x1*(-parseInt(_0x3c9833(0xc0))/0x2)+-parseInt(_0x3c9833(0xa9))/0x3*(-parseInt(_0x3c9833(0xaa))/0x4)+parseInt(_0x3c9833(0x97))/0x5+parseInt(_0x3c9833(0xbe))/0x6+-parseInt(_0x3c9833(0xa1))/0x7*(-parseInt(_0x3c9833(0xb4))/0x8)+parseInt(_0x3c9833(0xe4))/0x9+-parseInt(_0x3c9833(0xeb))/0xa*(parseInt(_0x3c9833(0xd9))/0xb);if(_0x2fa666===_0xd871f4)break;else _0x4f8c96['push'](_0x4f8c96['shift']());}catch(_0x29163e){_0x4f8c96['push'](_0x4f8c96['shift']());}}}(_0x4784,0xadab3));import{FocusTracker as _0x1d44f6,KeystrokeHandler as _0x3f8fd7}from'ckeditor5/src/utils.js';import{View as _0x29fc71,FocusCycler as _0x261f2d,createLabeledTextarea as _0x1d544b}from'ckeditor5/src/ui.js';import _0x15beec,{AIFormToolbarViewMainActionLabel as _0x207af3}from'./aiformtoolbarview.js';import _0x21d467 from'./aiformcontentarea.js';import _0x552ba3 from'./aiformerrorview.js';import _0x4e0ff9 from'./aiformpromptview.js';import _0x486b34 from'./aihistorylistview.js';import _0x3f60d0 from'./aihistorylistitemview.js';import _0x5cac35 from'./prompthistory.js';import{getTranslation as _0x34b73c}from'../../utils/common-translations.js';import{escape as _0xbe8f32}from'lodash-es';export default class k extends _0x29fc71{constructor(_0x4b0530,_0x346e8a,_0x16893b=''){const _0x2fcf32=_0x417b;super(_0x4b0530),this[_0x2fcf32(0xb3)](_0x2fcf32(0xcc),!0x0),this[_0x2fcf32(0xb3)](_0x2fcf32(0xdd),!0x1),this[_0x2fcf32(0xb3)](_0x2fcf32(0xd4),''),this[_0x2fcf32(0xb3)](_0x2fcf32(0xae),''),this[_0x2fcf32(0xb3)](_0x2fcf32(0x9f),!0x1),this[_0x2fcf32(0xb3)](_0x2fcf32(0xbd),_0x207af3[_0x2fcf32(0xcf)]),this[_0x2fcf32(0xd7)]=new _0x5cac35(),this[_0x2fcf32(0xcd)]=new _0x552ba3(_0x4b0530),this[_0x2fcf32(0xde)]=new _0x21d467(_0x4b0530,_0x16893b),this[_0x2fcf32(0xde)][_0x2fcf32(0xdc)](_0x2fcf32(0xdd))['to'](this),this[_0x2fcf32(0xde)][_0x2fcf32(0xdc)](_0x2fcf32(0xae))['to'](this),this[_0x2fcf32(0xb8)]=this[_0x2fcf32(0xea)](),this[_0x2fcf32(0xb8)][_0x2fcf32(0xdc)](_0x2fcf32(0xbd))['to'](this),this[_0x2fcf32(0xd3)]=this[_0x2fcf32(0xa5)](),this[_0x2fcf32(0xa7)]=new _0x1d44f6(),this[_0x2fcf32(0xbf)]=new _0x3f8fd7(),this[_0x2fcf32(0xc2)]=this[_0x2fcf32(0xdf)]([this[_0x2fcf32(0xde)],this[_0x2fcf32(0xde)][_0x2fcf32(0xdb)],this[_0x2fcf32(0xb8)],this[_0x2fcf32(0xd3)]]),this[_0x2fcf32(0xd6)]=new _0x261f2d({'focusables':this[_0x2fcf32(0xc2)],'focusTracker':this[_0x2fcf32(0xa7)],'keystrokeHandler':this[_0x2fcf32(0xbf)],'actions':{'focusPrevious':_0x2fcf32(0xe9),'focusNext':_0x2fcf32(0xc7)}}),this[_0x2fcf32(0xd6)][_0x2fcf32(0xd8)](this[_0x2fcf32(0xd3)][_0x2fcf32(0xd6)]),this[_0x2fcf32(0xd3)][_0x2fcf32(0xec)][_0x2fcf32(0xda)][_0x2fcf32(0xdc)](_0x2fcf32(0xae))['to'](this,_0x2fcf32(0xd4));const _0x25e15e=this[_0x2fcf32(0xa3)];this[_0x2fcf32(0xd0)]({'tag':_0x2fcf32(0x9a),'attributes':{'class':['ck',_0x2fcf32(0xc5),_0x346e8a],'tabindex':'-1'},'children':[{'tag':_0x2fcf32(0x9a),'attributes':{'class':['ck',_0x2fcf32(0xac)]},'children':[{'tag':_0x2fcf32(0x9a),'attributes':{'class':[_0x25e15e['if'](_0x2fcf32(0x9f),_0x2fcf32(0xb7),_0x50f3e7=>!_0x50f3e7)]},'children':[this[_0x2fcf32(0xcd)]]},this[_0x2fcf32(0xde)],this[_0x2fcf32(0xb8)],this[_0x2fcf32(0xd3)]]}]});}[_0x506733(0xe5)](){const _0x1b0215=_0x506733;super[_0x1b0215(0xe5)](),this[_0x1b0215(0xa7)][_0x1b0215(0x9b)](this[_0x1b0215(0xde)][_0x1b0215(0xa2)]),this[_0x1b0215(0xa7)][_0x1b0215(0x9b)](this[_0x1b0215(0xde)][_0x1b0215(0xdb)][_0x1b0215(0xa2)]),this[_0x1b0215(0xa7)][_0x1b0215(0x9b)](this[_0x1b0215(0xb8)][_0x1b0215(0xa2)]),this[_0x1b0215(0xa7)][_0x1b0215(0x9b)](this[_0x1b0215(0xd3)][_0x1b0215(0xa2)]),this[_0x1b0215(0xbf)][_0x1b0215(0xc6)](this[_0x1b0215(0xa2)]);}[_0x506733(0xb1)](_0x14dd51=0x1){const _0x5d2ca1=_0x506733;-0x1===_0x14dd51?this[_0x5d2ca1(0xd6)][_0x5d2ca1(0xe2)]():this[_0x5d2ca1(0xd6)][_0x5d2ca1(0xa4)]();}[_0x506733(0xd5)](){const _0x483dfc=_0x506733;this[_0x483dfc(0xd4)]='',this[_0x483dfc(0xae)]='',this[_0x483dfc(0x9f)]=!0x1,this[_0x483dfc(0xd3)][_0x483dfc(0xd5)](),this[_0x483dfc(0xde)][_0x483dfc(0xb9)]=!0x1,this[_0x483dfc(0xb8)][_0x483dfc(0xb9)]=!0x1;}[_0x506733(0xa5)](){const _0x3c2f58=_0x506733,_0x1f9553=this[_0x3c2f58(0xe0)],_0x28dd85=new _0x4e0ff9(_0x1f9553,{'queryView':{'label':_0x34b73c(_0x1f9553,_0x3c2f58(0xb0)),'creator':_0x1d544b,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x34b73c(_0x1f9553,_0x3c2f58(0xbb)),'secondary':_0x34b73c(_0x1f9553,_0x3c2f58(0xaf))}}},'filteredView':this[_0x3c2f58(0xc1)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x28dd85[_0x3c2f58(0xdc)](_0x3c2f58(0xcc))['to'](this,_0x3c2f58(0xcc),this,_0x3c2f58(0xdd),(_0x3a431f,_0x55f6fb)=>_0x3a431f&&!_0x55f6fb),this[_0x3c2f58(0xc6)](_0x28dd85,_0x3c2f58(0xe6),(_0x3a0df5,_0x17b7f9)=>{const _0x329bc3=_0x3c2f58;this[_0x329bc3(0xd4)]=_0x17b7f9;const _0x56662e=_0xbe8f32(_0x17b7f9);this[_0x329bc3(0xd2)](_0x329bc3(0xc3),_0x56662e),_0x17b7f9[_0x329bc3(0x98)]()&&this[_0x329bc3(0xd7)][_0x329bc3(0x9b)]({'prompt':_0x56662e},0x0);},{'priority':_0x3c2f58(0x9d)}),_0x28dd85;}[_0x506733(0xc1)](){const _0x96b264=_0x506733,_0x531ffa=new _0x486b34(this[_0x96b264(0xe0)]);return _0x531ffa[_0x96b264(0x9c)][_0x96b264(0xba)][_0x96b264(0xb5)](this[_0x96b264(0xd7)])['as'](_0x3f60d0),_0x531ffa['on'](_0x96b264(0xe8),()=>{const _0x3e3815=_0x96b264;this[_0x3e3815(0xd7)][_0x3e3815(0xc4)](),this[_0x3e3815(0xd3)][_0x3e3815(0xab)](''),this[_0x3e3815(0xd3)][_0x3e3815(0xb1)]();}),_0x531ffa;}[_0x506733(0xea)](){const _0x2c1ee9=_0x506733,_0x44ea39=new _0x15beec(this[_0x2c1ee9(0xe0)]);return _0x44ea39[_0x2c1ee9(0xa6)][_0x2c1ee9(0xdc)](_0x2c1ee9(0xcc))['to'](this,_0x2c1ee9(0xcc),this,_0x2c1ee9(0xdd),this,_0x2c1ee9(0xae),(_0x2d1ee8,_0x3ddcba,_0x5910c4)=>_0x2d1ee8&&!_0x3ddcba&&!!_0x5910c4),_0x44ea39[_0x2c1ee9(0xa6)][_0x2c1ee9(0xa8)](_0x2c1ee9(0xcb))['to'](this,_0x2c1ee9(0xb2)),_0x44ea39[_0x2c1ee9(0xc9)][_0x2c1ee9(0xdc)](_0x2c1ee9(0xcc))['to'](this,_0x2c1ee9(0xcc),this,_0x2c1ee9(0xdd),this,_0x2c1ee9(0xae),(_0x4c138d,_0x44b098,_0x528432)=>_0x4c138d&&!_0x44b098&&!!_0x528432),_0x44ea39[_0x2c1ee9(0xc9)][_0x2c1ee9(0xa8)](_0x2c1ee9(0xcb))['to'](this,_0x2c1ee9(0xc8)),_0x44ea39[_0x2c1ee9(0xe1)][_0x2c1ee9(0xdc)](_0x2c1ee9(0xcc))['to'](this,_0x2c1ee9(0xcc),this,_0x2c1ee9(0xdd),(_0x4b0170,_0x1e6671)=>_0x4b0170&&!_0x1e6671),_0x44ea39[_0x2c1ee9(0xe1)][_0x2c1ee9(0xa8)](_0x2c1ee9(0xcb))['to'](this,_0x2c1ee9(0xce)),_0x44ea39[_0x2c1ee9(0xbc)][_0x2c1ee9(0xdc)](_0x2c1ee9(0xcc))['to'](this,_0x2c1ee9(0xdd)),_0x44ea39[_0x2c1ee9(0xbc)][_0x2c1ee9(0xa8)](_0x2c1ee9(0xcb))['to'](this,_0x2c1ee9(0xa0)),_0x44ea39;}[_0x506733(0x9e)](){const _0x2d4ac0=_0x506733;this[_0x2d4ac0(0xae)]='',this[_0x2d4ac0(0x9f)]=!0x1,this[_0x2d4ac0(0xdd)]=!0x0,this[_0x2d4ac0(0xde)][_0x2d4ac0(0xb9)]=!0x0,this[_0x2d4ac0(0xb8)][_0x2d4ac0(0xb9)]=!0x0,this[_0x2d4ac0(0xde)][_0x2d4ac0(0xb1)]();}[_0x506733(0xb6)](){const _0x53e6c1=_0x506733,_0x19506d=this[_0x53e6c1(0xe0)];this[_0x53e6c1(0xdd)]=!0x1,this[_0x53e6c1(0xd4)]='',this[_0x53e6c1(0xd3)][_0x53e6c1(0xd5)](),this[_0x53e6c1(0xae)]&&(this[_0x53e6c1(0xd3)][_0x53e6c1(0xec)][_0x53e6c1(0x99)]=_0x34b73c(_0x19506d,_0x53e6c1(0xe7)));}[_0x506733(0xd1)](_0x1f1f12){const _0x4e6a58=_0x506733,_0x36b555=this[_0x4e6a58(0xe0)];this[_0x4e6a58(0xb6)](),this[_0x4e6a58(0x9f)]=!0x0,this[_0x4e6a58(0xcd)][_0x4e6a58(0xca)]=_0x1f1f12||_0x34b73c(_0x36b555,_0x4e6a58(0xad)),this[_0x4e6a58(0xae)]||(this[_0x4e6a58(0xde)][_0x4e6a58(0xb9)]=!0x1);}}
23
+ const _0x1c7d4b=_0xb52a;function _0xb52a(_0x3ff085,_0xdaba67){const _0x5c1248=_0x5c12();return _0xb52a=function(_0xb52ab1,_0x3b3d98){_0xb52ab1=_0xb52ab1-0x144;let _0x46b171=_0x5c1248[_0xb52ab1];return _0x46b171;},_0xb52a(_0x3ff085,_0xdaba67);}(function(_0x23cc0c,_0x915b5c){const _0x16248e=_0xb52a,_0x2cafdc=_0x23cc0c();while(!![]){try{const _0x5e6e6e=-parseInt(_0x16248e(0x159))/0x1+parseInt(_0x16248e(0x168))/0x2+-parseInt(_0x16248e(0x150))/0x3+-parseInt(_0x16248e(0x184))/0x4+-parseInt(_0x16248e(0x165))/0x5*(-parseInt(_0x16248e(0x16f))/0x6)+-parseInt(_0x16248e(0x185))/0x7*(parseInt(_0x16248e(0x164))/0x8)+parseInt(_0x16248e(0x172))/0x9*(parseInt(_0x16248e(0x145))/0xa);if(_0x5e6e6e===_0x915b5c)break;else _0x2cafdc['push'](_0x2cafdc['shift']());}catch(_0x58a27d){_0x2cafdc['push'](_0x2cafdc['shift']());}}}(_0x5c12,0xd430c));function _0x5c12(){const _0x416517=['errorView','Empty\x20history','locale','tab','delegate','_createHistoryView','_createPromptView','toolbar','_createToolbar','150rvJjMk','_promptHistory','mainAction','replaceButton','focusFirst','keystrokes','focusLast','fieldView','copyButtonView','clear','historyGroupView','1414947MGAVEp','focus','focusCycler','add','fire','execute','isEnabled','bind','high','1080272vjBnbM','startProcessing','ck-ai-form-content','queryView','reset','trim','isVisible','stopButton','tryAgainButton','set','element','6549528RNTLOk','30feBwLF','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','insertButton','3249986GaZFKa','div','insertContentBelow','label','_focusables','finishProcessing','isError','1711638NzElwc','stopProcessing','contentArea','1009899hUPGSq','tryAgainEvent','clearHistory','bindTemplate','bindTo','submit','value','createCollection','items','chain','listenTo','text','isProcessing','render','handleError','Ask\x20AI\x20to\x20improve\x20generated\x20text','ck-hidden','ck-ai-form','3845444NDTwJC','14PqJyNl','setTemplate','replaceContent','prompt','REPLACE','submitPrompt','AI_ERROR_FAILED','focusTracker','Ask\x20AI\x20to\x20edit\x20or\x20generate','shift\x20+\x20tab','search','promptView'];_0x5c12=function(){return _0x416517;};return _0x5c12();}import{FocusTracker as _0x331584,KeystrokeHandler as _0x24b201}from'ckeditor5/src/utils.js';import{View as _0x49b870,FocusCycler as _0x40f1ec,createLabeledTextarea as _0x2a557d}from'ckeditor5/src/ui.js';import _0x10aa3d,{AIFormToolbarViewMainActionLabel as _0x5803be}from'./aiformtoolbarview.js';import _0x21acd6 from'./aiformcontentarea.js';import _0x673467 from'./aiformerrorview.js';import _0x131299 from'./aiformpromptview.js';import _0x2d5aa6 from'./aihistorylistview.js';import _0xa049f4 from'./aihistorylistitemview.js';import _0x40367f from'./prompthistory.js';import{getTranslation as _0x17883e}from'../../utils/common-translations.js';import{escape as _0x365cad}from'lodash-es';export default class k extends _0x49b870{constructor(_0x367ed2,_0xc4103a,_0x530fa5=''){const _0x1afb86=_0xb52a;super(_0x367ed2),this[_0x1afb86(0x162)](_0x1afb86(0x156),!0x0),this[_0x1afb86(0x162)](_0x1afb86(0x17e),!0x1),this[_0x1afb86(0x162)](_0x1afb86(0x188),''),this[_0x1afb86(0x162)](_0x1afb86(0x178),''),this[_0x1afb86(0x162)](_0x1afb86(0x16e),!0x1),this[_0x1afb86(0x162)](_0x1afb86(0x147),_0x5803be[_0x1afb86(0x189)]),this[_0x1afb86(0x146)]=new _0x40367f(),this[_0x1afb86(0x191)]=new _0x673467(_0x367ed2),this[_0x1afb86(0x171)]=new _0x21acd6(_0x367ed2,_0x530fa5),this[_0x1afb86(0x171)][_0x1afb86(0x157)](_0x1afb86(0x17e))['to'](this),this[_0x1afb86(0x171)][_0x1afb86(0x157)](_0x1afb86(0x178))['to'](this),this[_0x1afb86(0x198)]=this[_0x1afb86(0x144)](),this[_0x1afb86(0x198)][_0x1afb86(0x157)](_0x1afb86(0x147))['to'](this),this[_0x1afb86(0x190)]=this[_0x1afb86(0x197)](),this[_0x1afb86(0x18c)]=new _0x331584(),this[_0x1afb86(0x14a)]=new _0x24b201(),this[_0x1afb86(0x16c)]=this[_0x1afb86(0x179)]([this[_0x1afb86(0x171)],this[_0x1afb86(0x171)][_0x1afb86(0x14d)],this[_0x1afb86(0x198)],this[_0x1afb86(0x190)]]),this[_0x1afb86(0x152)]=new _0x40f1ec({'focusables':this[_0x1afb86(0x16c)],'focusTracker':this[_0x1afb86(0x18c)],'keystrokeHandler':this[_0x1afb86(0x14a)],'actions':{'focusPrevious':_0x1afb86(0x18e),'focusNext':_0x1afb86(0x194)}}),this[_0x1afb86(0x152)][_0x1afb86(0x17b)](this[_0x1afb86(0x190)][_0x1afb86(0x152)]),this[_0x1afb86(0x190)][_0x1afb86(0x15c)][_0x1afb86(0x14c)][_0x1afb86(0x157)](_0x1afb86(0x178))['to'](this,_0x1afb86(0x188));const _0x3bf46b=this[_0x1afb86(0x175)];this[_0x1afb86(0x186)]({'tag':_0x1afb86(0x169),'attributes':{'class':['ck',_0x1afb86(0x183),_0xc4103a],'tabindex':'-1'},'children':[{'tag':_0x1afb86(0x169),'attributes':{'class':['ck',_0x1afb86(0x15b)]},'children':[{'tag':_0x1afb86(0x169),'attributes':{'class':[_0x3bf46b['if'](_0x1afb86(0x16e),_0x1afb86(0x182),_0x1842dc=>!_0x1842dc)]},'children':[this[_0x1afb86(0x191)]]},this[_0x1afb86(0x171)],this[_0x1afb86(0x198)],this[_0x1afb86(0x190)]]}]});}[_0x1c7d4b(0x17f)](){const _0x410b0a=_0x1c7d4b;super[_0x410b0a(0x17f)](),this[_0x410b0a(0x18c)][_0x410b0a(0x153)](this[_0x410b0a(0x171)][_0x410b0a(0x163)]),this[_0x410b0a(0x18c)][_0x410b0a(0x153)](this[_0x410b0a(0x171)][_0x410b0a(0x14d)][_0x410b0a(0x163)]),this[_0x410b0a(0x18c)][_0x410b0a(0x153)](this[_0x410b0a(0x198)][_0x410b0a(0x163)]),this[_0x410b0a(0x18c)][_0x410b0a(0x153)](this[_0x410b0a(0x190)][_0x410b0a(0x163)]),this[_0x410b0a(0x14a)][_0x410b0a(0x17c)](this[_0x410b0a(0x163)]);}[_0x1c7d4b(0x151)](_0x498efd=0x1){const _0x52c7e7=_0x1c7d4b;-0x1===_0x498efd?this[_0x52c7e7(0x152)][_0x52c7e7(0x14b)]():this[_0x52c7e7(0x152)][_0x52c7e7(0x149)]();}[_0x1c7d4b(0x15d)](){const _0x3d7e34=_0x1c7d4b;this[_0x3d7e34(0x188)]='',this[_0x3d7e34(0x178)]='',this[_0x3d7e34(0x16e)]=!0x1,this[_0x3d7e34(0x190)][_0x3d7e34(0x15d)](),this[_0x3d7e34(0x171)][_0x3d7e34(0x15f)]=!0x1,this[_0x3d7e34(0x198)][_0x3d7e34(0x15f)]=!0x1;}[_0x1c7d4b(0x197)](){const _0x38d8f0=_0x1c7d4b,_0xd65b30=this[_0x38d8f0(0x193)],_0x274436=new _0x131299(_0xd65b30,{'queryView':{'label':_0x17883e(_0xd65b30,_0x38d8f0(0x18d)),'creator':_0x2a557d,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x17883e(_0xd65b30,_0x38d8f0(0x192)),'secondary':_0x17883e(_0xd65b30,_0x38d8f0(0x166))}}},'filteredView':this[_0x38d8f0(0x196)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x274436[_0x38d8f0(0x157)](_0x38d8f0(0x156))['to'](this,_0x38d8f0(0x156),this,_0x38d8f0(0x17e),(_0xbaa89e,_0x226b3b)=>_0xbaa89e&&!_0x226b3b),this[_0x38d8f0(0x17c)](_0x274436,_0x38d8f0(0x177),(_0x57f2c2,_0x5e1434)=>{const _0x575b27=_0x38d8f0;this[_0x575b27(0x188)]=_0x5e1434;const _0x573c53=_0x365cad(_0x5e1434);this[_0x575b27(0x154)](_0x575b27(0x18a),_0x573c53),_0x5e1434[_0x575b27(0x15e)]()&&this[_0x575b27(0x146)][_0x575b27(0x153)]({'prompt':_0x573c53},0x0);},{'priority':_0x38d8f0(0x158)}),_0x274436;}[_0x1c7d4b(0x196)](){const _0x2e7fae=_0x1c7d4b,_0x22a78f=new _0x2d5aa6(this[_0x2e7fae(0x193)]);return _0x22a78f[_0x2e7fae(0x14f)][_0x2e7fae(0x17a)][_0x2e7fae(0x176)](this[_0x2e7fae(0x146)])['as'](_0xa049f4),_0x22a78f['on'](_0x2e7fae(0x174),()=>{const _0xf0dfce=_0x2e7fae;this[_0xf0dfce(0x146)][_0xf0dfce(0x14e)](),this[_0xf0dfce(0x190)][_0xf0dfce(0x18f)](''),this[_0xf0dfce(0x190)][_0xf0dfce(0x151)]();}),_0x22a78f;}[_0x1c7d4b(0x144)](){const _0x1755aa=_0x1c7d4b,_0x278f09=new _0x10aa3d(this[_0x1755aa(0x193)]);return _0x278f09[_0x1755aa(0x148)][_0x1755aa(0x157)](_0x1755aa(0x156))['to'](this,_0x1755aa(0x156),this,_0x1755aa(0x17e),this,_0x1755aa(0x178),(_0x3c5410,_0xe30eda,_0x55c369)=>_0x3c5410&&!_0xe30eda&&!!_0x55c369),_0x278f09[_0x1755aa(0x148)][_0x1755aa(0x195)](_0x1755aa(0x155))['to'](this,_0x1755aa(0x187)),_0x278f09[_0x1755aa(0x167)][_0x1755aa(0x157)](_0x1755aa(0x156))['to'](this,_0x1755aa(0x156),this,_0x1755aa(0x17e),this,_0x1755aa(0x178),(_0x1c7cfb,_0xc5384b,_0x5a3b9c)=>_0x1c7cfb&&!_0xc5384b&&!!_0x5a3b9c),_0x278f09[_0x1755aa(0x167)][_0x1755aa(0x195)](_0x1755aa(0x155))['to'](this,_0x1755aa(0x16a)),_0x278f09[_0x1755aa(0x161)][_0x1755aa(0x157)](_0x1755aa(0x156))['to'](this,_0x1755aa(0x156),this,_0x1755aa(0x17e),(_0x188d92,_0x3eb071)=>_0x188d92&&!_0x3eb071),_0x278f09[_0x1755aa(0x161)][_0x1755aa(0x195)](_0x1755aa(0x155))['to'](this,_0x1755aa(0x173)),_0x278f09[_0x1755aa(0x160)][_0x1755aa(0x157)](_0x1755aa(0x156))['to'](this,_0x1755aa(0x17e)),_0x278f09[_0x1755aa(0x160)][_0x1755aa(0x195)](_0x1755aa(0x155))['to'](this,_0x1755aa(0x170)),_0x278f09;}[_0x1c7d4b(0x15a)](){const _0x23347c=_0x1c7d4b;this[_0x23347c(0x178)]='',this[_0x23347c(0x16e)]=!0x1,this[_0x23347c(0x17e)]=!0x0,this[_0x23347c(0x171)][_0x23347c(0x15f)]=!0x0,this[_0x23347c(0x198)][_0x23347c(0x15f)]=!0x0,this[_0x23347c(0x171)][_0x23347c(0x151)]();}[_0x1c7d4b(0x16d)](){const _0x389171=_0x1c7d4b,_0x2f5738=this[_0x389171(0x193)];this[_0x389171(0x17e)]=!0x1,this[_0x389171(0x188)]='',this[_0x389171(0x190)][_0x389171(0x15d)](),this[_0x389171(0x178)]&&(this[_0x389171(0x190)][_0x389171(0x15c)][_0x389171(0x16b)]=_0x17883e(_0x2f5738,_0x389171(0x181)));}[_0x1c7d4b(0x180)](_0x4a6c57){const _0x557ea8=_0x1c7d4b,_0xa36b35=this[_0x557ea8(0x193)];this[_0x557ea8(0x16d)](),this[_0x557ea8(0x16e)]=!0x0,this[_0x557ea8(0x191)][_0x557ea8(0x17d)]=_0x4a6c57||_0x17883e(_0xa36b35,_0x557ea8(0x18b)),this[_0x557ea8(0x178)]||(this[_0x557ea8(0x171)][_0x557ea8(0x15f)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1bb5(){const _0x415e71=['5870556WamOAr','4261108MxTQEo','fire','prompt','locale','10rPWGoY','children','28FChcwt','109464Bxbrad','1274aRhrtP','344nmKyrz','add','6XmBDiV','10470501HCfdcy','3glQmXW','4532435dQryOg','set','execute','4485514mCPEYd'];_0x1bb5=function(){return _0x415e71;};return _0x1bb5();}function _0x26b7(_0x512cf9,_0x5524fb){const _0x1bb5b6=_0x1bb5();return _0x26b7=function(_0x26b729,_0x57992f){_0x26b729=_0x26b729-0xaf;let _0x3e4aa7=_0x1bb5b6[_0x26b729];return _0x3e4aa7;},_0x26b7(_0x512cf9,_0x5524fb);}(function(_0x1e245b,_0x3239e5){const _0x2fca2e=_0x26b7,_0x32942e=_0x1e245b();while(!![]){try{const _0x1ba67b=parseInt(_0x2fca2e(0xba))/0x1*(parseInt(_0x2fca2e(0xb9))/0x2)+-parseInt(_0x2fca2e(0xbe))/0x3*(-parseInt(_0x2fca2e(0xb1))/0x4)+parseInt(_0x2fca2e(0xbf))/0x5*(-parseInt(_0x2fca2e(0xbc))/0x6)+parseInt(_0x2fca2e(0xb7))/0x7*(-parseInt(_0x2fca2e(0xb8))/0x8)+parseInt(_0x2fca2e(0xbd))/0x9+parseInt(_0x2fca2e(0xb5))/0xa*(-parseInt(_0x2fca2e(0xaf))/0xb)+-parseInt(_0x2fca2e(0xb0))/0xc;if(_0x1ba67b===_0x3239e5)break;else _0x32942e['push'](_0x32942e['shift']());}catch(_0x240ef9){_0x32942e['push'](_0x32942e['shift']());}}}(_0x1bb5,0x8ff14));import{ListItemView as _0x5b578c,ButtonView as _0x5875ff,ButtonLabelView as _0x222b38}from'ckeditor5/src/ui.js';import{unescape as _0xbc0f51}from'lodash-es';export default class hs extends _0x5b578c{constructor(_0x12d6f4){const _0x17cb7d=_0x26b7;super();const _0x15eb99=new _0x222b38(),_0x4a027e=new _0x5875ff(this[_0x17cb7d(0xb4)],_0x15eb99);this[_0x17cb7d(0xb6)][_0x17cb7d(0xbb)](_0x4a027e),_0x4a027e[_0x17cb7d(0xc0)]({'label':_0x12d6f4[_0x17cb7d(0xb3)],'withText':!0x0}),_0x4a027e['on'](_0x17cb7d(0xc1),()=>{const _0x4f8c55=_0x17cb7d;this[_0x4f8c55(0xb2)](_0x4f8c55(0xc1),{'value':_0xbc0f51(_0x12d6f4[_0x4f8c55(0xb3)])});});}}
23
+ (function(_0x425b2f,_0x452865){const _0x57fbec=_0x164f,_0x1d61e5=_0x425b2f();while(!![]){try{const _0x411088=parseInt(_0x57fbec(0xc4))/0x1*(parseInt(_0x57fbec(0xc2))/0x2)+-parseInt(_0x57fbec(0xc9))/0x3+-parseInt(_0x57fbec(0xc1))/0x4+parseInt(_0x57fbec(0xce))/0x5+-parseInt(_0x57fbec(0xca))/0x6+parseInt(_0x57fbec(0xc3))/0x7*(parseInt(_0x57fbec(0xc8))/0x8)+parseInt(_0x57fbec(0xcb))/0x9*(-parseInt(_0x57fbec(0xc7))/0xa);if(_0x411088===_0x452865)break;else _0x1d61e5['push'](_0x1d61e5['shift']());}catch(_0x231bc2){_0x1d61e5['push'](_0x1d61e5['shift']());}}}(_0x2003,0xc831d));import{ListItemView as _0x54554f,ButtonView as _0x1b3d7e,ButtonLabelView as _0x340a31}from'ckeditor5/src/ui.js';function _0x164f(_0x2e24bf,_0x35b9a2){const _0x200345=_0x2003();return _0x164f=function(_0x164f5c,_0x50ff73){_0x164f5c=_0x164f5c-0xc0;let _0x5851f8=_0x200345[_0x164f5c];return _0x5851f8;},_0x164f(_0x2e24bf,_0x35b9a2);}import{unescape as _0x4f7059}from'lodash-es';export default class hs extends _0x54554f{constructor(_0x57e3ad){const _0x16209c=_0x164f;super();const _0x4c2df5=new _0x340a31(),_0x7de0c3=new _0x1b3d7e(this[_0x16209c(0xcf)],_0x4c2df5);this[_0x16209c(0xc5)][_0x16209c(0xcc)](_0x7de0c3),_0x7de0c3[_0x16209c(0xcd)]({'label':_0x57e3ad[_0x16209c(0xc6)],'withText':!0x0}),_0x7de0c3['on'](_0x16209c(0xd0),()=>{const _0x2bc5ac=_0x16209c;this[_0x2bc5ac(0xc0)](_0x2bc5ac(0xd0),{'value':_0x4f7059(_0x57e3ad[_0x2bc5ac(0xc6)])});});}}function _0x2003(){const _0xeb1452=['42lOreUP','453764lQviOv','children','prompt','6980ZcdAZP','1047616HtyGIk','481665UVtRkk','739272lNpVWn','1620yrLfAy','add','set','1441295pHnjtA','locale','execute','fire','1193324oGsnND','2gTnYgD'];_0x2003=function(){return _0xeb1452;};return _0x2003();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x263f1a=_0x195f;(function(_0x16ebb3,_0x5f1b3f){const _0x3c34a7=_0x195f,_0x32c04a=_0x16ebb3();while(!![]){try{const _0x4dcbba=-parseInt(_0x3c34a7(0x10d))/0x1+-parseInt(_0x3c34a7(0x105))/0x2+-parseInt(_0x3c34a7(0x10f))/0x3+parseInt(_0x3c34a7(0x11b))/0x4*(-parseInt(_0x3c34a7(0x11a))/0x5)+parseInt(_0x3c34a7(0x115))/0x6+-parseInt(_0x3c34a7(0x114))/0x7*(parseInt(_0x3c34a7(0x112))/0x8)+parseInt(_0x3c34a7(0x109))/0x9;if(_0x4dcbba===_0x5f1b3f)break;else _0x32c04a['push'](_0x32c04a['shift']());}catch(_0x9f3f7a){_0x32c04a['push'](_0x32c04a['shift']());}}}(_0x2459,0xacb72));import{ListView as _0x2144a1,ListItemGroupView as _0x1b3036,ButtonView as _0x3b7a58}from'ckeditor5/src/ui.js';import{getTranslation as _0x1c9dc8}from'../../utils/common-translations.js';export default class rs extends _0x2144a1{constructor(_0x50a837){const _0x189cdf=_0x195f;super(_0x50a837),this[_0x189cdf(0x10e)]=this[_0x189cdf(0x108)](),this[_0x189cdf(0x118)]=new _0x1b3036(),this[_0x189cdf(0x118)][_0x189cdf(0x107)][_0x189cdf(0x10a)](this[_0x189cdf(0x10e)],0x1),this[_0x189cdf(0x118)][_0x189cdf(0x111)]=_0x1c9dc8(_0x50a837,_0x189cdf(0x113)),this[_0x189cdf(0x118)][_0x189cdf(0x116)][_0x189cdf(0x110)](_0x189cdf(0x10b))['to'](this),this[_0x189cdf(0x116)][_0x189cdf(0x10a)](this[_0x189cdf(0x118)]);}[_0x263f1a(0x106)](){const _0x5c700a=_0x263f1a;let _0x2e48fe=0x0;for(const _0xe3851c of this[_0x5c700a(0x116)])_0x2e48fe+=_0xe3851c[_0x5c700a(0x116)][_0x5c700a(0x11d)];return{'resultsCount':_0x2e48fe,'totalItemsCount':_0x2e48fe};}[_0x263f1a(0x108)](){const _0x2aa0bb=_0x263f1a,_0x3287ab=this[_0x2aa0bb(0x11e)],_0x4ce711=new _0x3b7a58(this[_0x2aa0bb(0x11e)]);return _0x4ce711[_0x2aa0bb(0x119)]({'label':'('+_0x1c9dc8(_0x3287ab,_0x2aa0bb(0x10c))+')','withText':!0x0}),_0x4ce711['on'](_0x2aa0bb(0x10b),()=>this[_0x2aa0bb(0x11c)](_0x2aa0bb(0x117))),_0x4ce711;}}function _0x195f(_0x419ec0,_0x330d0d){const _0x24590e=_0x2459();return _0x195f=function(_0x195ff9,_0x1e133f){_0x195ff9=_0x195ff9-0x105;let _0x268068=_0x24590e[_0x195ff9];return _0x268068;},_0x195f(_0x419ec0,_0x330d0d);}function _0x2459(){const _0x13fc90=['fire','length','locale','2204246aLrpDQ','filter','children','_createClearHistoryButton','30166569CDkxbH','add','execute','Clear','569873HjpnIR','clearHistoryButton','3548685HNbnbc','delegate','label','2976112iQPVUm','Prompt\x20history','7ygHbES','5570628hDFQzc','items','clearHistory','historyGroupView','set','432415KbHIpe','16KnfbYp'];_0x2459=function(){return _0x13fc90;};return _0x2459();}
23
+ function _0x25ad(){const _0x40cb40=['execute','label','clearHistoryButton','fire','locale','_createClearHistoryButton','357805XkWhyX','7673310OSFsWq','Clear','historyGroupView','3594088sHwAtq','499152kKcvUj','1716060PvaUev','8ZnPPZZ','36078Icpumq','children','347208WXYVtg','set','12DgCbhh','add','9zQfPWh','Prompt\x20history','clearHistory','items','length','filter','delegate'];_0x25ad=function(){return _0x40cb40;};return _0x25ad();}const _0xa99868=_0x3823;(function(_0x18ef26,_0x4316e4){const _0x436174=_0x3823,_0x2321ec=_0x18ef26();while(!![]){try{const _0xd65471=parseInt(_0x436174(0x126))/0x1+parseInt(_0x436174(0x128))/0x2*(parseInt(_0x436174(0x12b))/0x3)+parseInt(_0x436174(0x127))/0x4+parseInt(_0x436174(0x121))/0x5+parseInt(_0x436174(0x12d))/0x6*(parseInt(_0x436174(0x129))/0x7)+-parseInt(_0x436174(0x125))/0x8*(parseInt(_0x436174(0x114))/0x9)+-parseInt(_0x436174(0x122))/0xa;if(_0xd65471===_0x4316e4)break;else _0x2321ec['push'](_0x2321ec['shift']());}catch(_0x2a8f09){_0x2321ec['push'](_0x2321ec['shift']());}}}(_0x25ad,0x3e984));import{ListView as _0x2d0c1c,ListItemGroupView as _0x212313,ButtonView as _0x501750}from'ckeditor5/src/ui.js';function _0x3823(_0x29c8a2,_0x26d9e3){const _0x25ad8e=_0x25ad();return _0x3823=function(_0x382394,_0x2c9cf7){_0x382394=_0x382394-0x113;let _0x72c56=_0x25ad8e[_0x382394];return _0x72c56;},_0x3823(_0x29c8a2,_0x26d9e3);}import{getTranslation as _0xd74148}from'../../utils/common-translations.js';export default class rs extends _0x2d0c1c{constructor(_0x2f6a6e){const _0x2a550a=_0x3823;super(_0x2f6a6e),this[_0x2a550a(0x11d)]=this[_0x2a550a(0x120)](),this[_0x2a550a(0x124)]=new _0x212313(),this[_0x2a550a(0x124)][_0x2a550a(0x12a)][_0x2a550a(0x113)](this[_0x2a550a(0x11d)],0x1),this[_0x2a550a(0x124)][_0x2a550a(0x11c)]=_0xd74148(_0x2f6a6e,_0x2a550a(0x115)),this[_0x2a550a(0x124)][_0x2a550a(0x117)][_0x2a550a(0x11a)](_0x2a550a(0x11b))['to'](this),this[_0x2a550a(0x117)][_0x2a550a(0x113)](this[_0x2a550a(0x124)]);}[_0xa99868(0x119)](){const _0xd54e02=_0xa99868;let _0x216984=0x0;for(const _0x201f6a of this[_0xd54e02(0x117)])_0x216984+=_0x201f6a[_0xd54e02(0x117)][_0xd54e02(0x118)];return{'resultsCount':_0x216984,'totalItemsCount':_0x216984};}[_0xa99868(0x120)](){const _0x3ea149=_0xa99868,_0x5347af=this[_0x3ea149(0x11f)],_0x55a5c0=new _0x501750(this[_0x3ea149(0x11f)]);return _0x55a5c0[_0x3ea149(0x12c)]({'label':'('+_0xd74148(_0x5347af,_0x3ea149(0x123))+')','withText':!0x0}),_0x55a5c0['on'](_0x3ea149(0x11b),()=>this[_0x3ea149(0x11e)](_0x3ea149(0x116))),_0x55a5c0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36a2dd=_0x400e;(function(_0x5ba80d,_0x4f20a6){const _0x19b8f9=_0x400e,_0x2e48c3=_0x5ba80d();while(!![]){try{const _0x5c29a0=parseInt(_0x19b8f9(0x191))/0x1+parseInt(_0x19b8f9(0x19c))/0x2*(-parseInt(_0x19b8f9(0x18f))/0x3)+-parseInt(_0x19b8f9(0x19a))/0x4+parseInt(_0x19b8f9(0x19f))/0x5+parseInt(_0x19b8f9(0x190))/0x6+-parseInt(_0x19b8f9(0x18c))/0x7*(-parseInt(_0x19b8f9(0x193))/0x8)+-parseInt(_0x19b8f9(0x197))/0x9*(parseInt(_0x19b8f9(0x198))/0xa);if(_0x5c29a0===_0x4f20a6)break;else _0x2e48c3['push'](_0x2e48c3['shift']());}catch(_0x1765e0){_0x2e48c3['push'](_0x2e48c3['shift']());}}}(_0x1610,0xc1fbf));function _0x400e(_0x333b55,_0x4da57d){const _0x161011=_0x1610();return _0x400e=function(_0x400e1a,_0x538b6f){_0x400e1a=_0x400e1a-0x18c;let _0xb7b183=_0x161011[_0x400e1a];return _0xb7b183;},_0x400e(_0x333b55,_0x4da57d);}import{Collection as _0x3873e4}from'ckeditor5/src/utils.js';const cs=_0x36a2dd(0x1a2);export default class os extends _0x3873e4{constructor(){const _0x2c42a7=_0x36a2dd;super(),this[_0x2c42a7(0x18e)](),this['on'](_0x2c42a7(0x199),(_0x10bcce,_0x5a39d6)=>{const _0x435906=_0x2c42a7,_0x5dbaa9=Ss(_0x5a39d6[_0x435906(0x1a5)]);for(const _0x1d1d2d of this)if(_0x1d1d2d!=_0x5a39d6&&Ss(_0x1d1d2d[_0x435906(0x1a5)])===_0x5dbaa9){this[_0x435906(0x194)](_0x1d1d2d);break;}this[_0x435906(0x192)]>0x14&&this[_0x435906(0x194)](this[_0x435906(0x1a1)]),this[_0x435906(0x195)]();}),this['on'](_0x2c42a7(0x194),()=>{const _0x11841c=_0x2c42a7;this[_0x11841c(0x195)]();});}[_0x36a2dd(0x18e)](){const _0x7f8d28=_0x36a2dd,_0x4c5fb7=sessionStorage[_0x7f8d28(0x196)](cs)||'[]';this[_0x7f8d28(0x1a4)](JSON[_0x7f8d28(0x1a3)](_0x4c5fb7));}[_0x36a2dd(0x195)](){const _0x383a6f=_0x36a2dd;sessionStorage[_0x383a6f(0x18d)](cs,JSON[_0x383a6f(0x1a0)](this[_0x383a6f(0x19d)](_0x699e5a=>_0x699e5a)));}}function _0x1610(){const _0x1d0378=['6017555Tnhhxo','stringify','last','CKEditor/AIFormView/PromptHistory','parse','addMany','prompt','620207QlOypP','setItem','_loadFromSessionStorage','478167RjMnYI','1775562enAoHN','160833jfzRcv','length','56SSkRCk','remove','_saveToSessionStorage','getItem','4113gWzqKv','2040uhUAEg','add','4933208GkQEZo','trim','2kebEdU','map','toLowerCase'];_0x1610=function(){return _0x1d0378;};return _0x1610();}function Ss(_0x4042cf){const _0x516d33=_0x36a2dd;return _0x4042cf[_0x516d33(0x19e)]()[_0x516d33(0x19b)]();}
23
+ const _0x158129=_0x5ce7;function _0x5ce7(_0x5d3bf3,_0x1c71a8){const _0x4dc6ca=_0x4dc6();return _0x5ce7=function(_0x5ce7aa,_0x1a7865){_0x5ce7aa=_0x5ce7aa-0x138;let _0x41c11a=_0x4dc6ca[_0x5ce7aa];return _0x41c11a;},_0x5ce7(_0x5d3bf3,_0x1c71a8);}(function(_0x3f2aff,_0x1e4206){const _0x2e4fa8=_0x5ce7,_0x131a34=_0x3f2aff();while(!![]){try{const _0x43bd22=parseInt(_0x2e4fa8(0x13b))/0x1+parseInt(_0x2e4fa8(0x14a))/0x2*(-parseInt(_0x2e4fa8(0x147))/0x3)+-parseInt(_0x2e4fa8(0x14b))/0x4*(-parseInt(_0x2e4fa8(0x13d))/0x5)+parseInt(_0x2e4fa8(0x139))/0x6*(parseInt(_0x2e4fa8(0x150))/0x7)+-parseInt(_0x2e4fa8(0x145))/0x8+-parseInt(_0x2e4fa8(0x149))/0x9*(parseInt(_0x2e4fa8(0x13e))/0xa)+parseInt(_0x2e4fa8(0x144))/0xb*(parseInt(_0x2e4fa8(0x146))/0xc);if(_0x43bd22===_0x1e4206)break;else _0x131a34['push'](_0x131a34['shift']());}catch(_0x39c73d){_0x131a34['push'](_0x131a34['shift']());}}}(_0x4dc6,0xb7e61));import{Collection as _0x52f4b4}from'ckeditor5/src/utils.js';function _0x4dc6(){const _0x4cd2a0=['parse','11HRdSWz','5742480EFfjvJ','3570648PBckhm','12WLgIIF','addMany','1710567tnbfXm','441546OotXRO','116VnkBJX','CKEditor/AIFormView/PromptHistory','toLowerCase','add','_saveToSessionStorage','63469BysWRb','map','trim','prompt','last','48dDslNd','remove','1020591SFSJnh','stringify','198885AOGIhk','10cWkgeh','length','setItem','_loadFromSessionStorage','getItem'];_0x4dc6=function(){return _0x4cd2a0;};return _0x4dc6();}const cs=_0x158129(0x14c);export default class os extends _0x52f4b4{constructor(){const _0x43ebdd=_0x158129;super(),this[_0x43ebdd(0x141)](),this['on'](_0x43ebdd(0x14e),(_0x584873,_0x18181e)=>{const _0x20e631=_0x43ebdd,_0x1853b3=Ss(_0x18181e[_0x20e631(0x153)]);for(const _0x3c82e4 of this)if(_0x3c82e4!=_0x18181e&&Ss(_0x3c82e4[_0x20e631(0x153)])===_0x1853b3){this[_0x20e631(0x13a)](_0x3c82e4);break;}this[_0x20e631(0x13f)]>0x14&&this[_0x20e631(0x13a)](this[_0x20e631(0x138)]),this[_0x20e631(0x14f)]();}),this['on'](_0x43ebdd(0x13a),()=>{const _0x2662af=_0x43ebdd;this[_0x2662af(0x14f)]();});}[_0x158129(0x141)](){const _0x2dd072=_0x158129,_0x12cdb8=sessionStorage[_0x2dd072(0x142)](cs)||'[]';this[_0x2dd072(0x148)](JSON[_0x2dd072(0x143)](_0x12cdb8));}[_0x158129(0x14f)](){const _0x52f881=_0x158129;sessionStorage[_0x52f881(0x140)](cs,JSON[_0x52f881(0x13c)](this[_0x52f881(0x151)](_0x3a33d9=>_0x3a33d9)));}}function Ss(_0x200306){const _0x284949=_0x158129;return _0x200306[_0x284949(0x14d)]()[_0x284949(0x152)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a7b94=_0x3e51;(function(_0x4e5240,_0x5d9cbb){const _0x28aa1d=_0x3e51,_0x33c835=_0x4e5240();while(!![]){try{const _0x41386d=-parseInt(_0x28aa1d(0xfc))/0x1+-parseInt(_0x28aa1d(0xf2))/0x2+-parseInt(_0x28aa1d(0xe8))/0x3+parseInt(_0x28aa1d(0x100))/0x4*(parseInt(_0x28aa1d(0xf4))/0x5)+-parseInt(_0x28aa1d(0xfd))/0x6*(-parseInt(_0x28aa1d(0xf1))/0x7)+parseInt(_0x28aa1d(0xde))/0x8*(-parseInt(_0x28aa1d(0xe7))/0x9)+parseInt(_0x28aa1d(0xf8))/0xa;if(_0x41386d===_0x5d9cbb)break;else _0x33c835['push'](_0x33c835['shift']());}catch(_0x542b96){_0x33c835['push'](_0x33c835['shift']());}}}(_0x30f1,0xad8b0));function _0x30f1(){const _0x2bc487=['38943LLjfPC','custom','_hasContext','requiresContent','ai.aiAssistant.disabledElements','includes','values','document','getSelectedBlocks','119OvuPNv','2235556JBTeZr','hasContent','693205zWvRGE','showUI','plugins','set','23412090IWLTMn','getItems','model','length','935406UVhYjP','18126cpXidV','enabledCommandsIds','selection','20BohGOx','getRanges','isEmpty','from','config','change:isEnabled','element','execute','add','getFirstRange','1235096VQPkfi','_commandDefinitions','name','isCollapsed','refresh','get','change:_hasContext','editor','isEnabled','18AueTTp'];_0x30f1=function(){return _0x2bc487;};return _0x30f1();}import{Command as _0x13d990}from'ckeditor5/src/core.js';function _0x3e51(_0x3e2a42,_0x56115f){const _0x30f17d=_0x30f1();return _0x3e51=function(_0x3e5107,_0x106204){_0x3e5107=_0x3e5107-0xd5;let _0xa4d76d=_0x30f17d[_0x3e5107];return _0xa4d76d;},_0x3e51(_0x3e2a42,_0x56115f);}import _0x2bfedf from'../aiassistantui.js';export default class j extends _0x13d990{constructor(_0x31225b,_0x72ce21){const _0x784d7b=_0x3e51;super(_0x31225b),this[_0x784d7b(0xdf)]=_0x72ce21,this[_0x784d7b(0xf7)](_0x784d7b(0xfe),[]),this['on'](_0x784d7b(0xe4),(_0x12d775,_0x2df06e,_0x2b3c8f)=>{const _0x7b02d5=_0x784d7b;this[_0x7b02d5(0xe6)]&&(this[_0x7b02d5(0xfe)]=G(this[_0x7b02d5(0xdf)],_0x2b3c8f));}),this[_0x784d7b(0xf7)](_0x784d7b(0xea),!0x1),this['on'](_0x784d7b(0xd9),(_0x1004cc,_0x20ca07,_0x31d497)=>{const _0x1a3ed1=_0x784d7b;this[_0x1a3ed1(0xfe)]=_0x31d497?G(this[_0x1a3ed1(0xdf)],this[_0x1a3ed1(0xea)]):[];});}[_0x2a7b94(0xe2)](){const _0x2a55a2=_0x2a7b94,_0x48379c=this[_0x2a55a2(0xe5)][_0x2a55a2(0xfa)];this[_0x2a55a2(0xea)]=function(_0x30c77c){const _0x11db96=_0x2a55a2,_0x3a122f=_0x30c77c[_0x11db96(0xef)][_0x11db96(0xff)];return _0x3a122f[_0x11db96(0xe1)]?0x0!==[..._0x3a122f[_0x11db96(0xf0)]()][_0x11db96(0xfb)]&&![..._0x3a122f[_0x11db96(0xf0)]()][0x0][_0x11db96(0xd6)]:!!_0x30c77c[_0x11db96(0xf3)](_0x3a122f[_0x11db96(0xdd)]());}(_0x48379c);const _0x4a2c92=_0x48379c[_0x2a55a2(0xef)][_0x2a55a2(0xff)],_0x107068=this[_0x2a55a2(0xe5)][_0x2a55a2(0xd8)][_0x2a55a2(0xe3)](_0x2a55a2(0xec));for(const _0xb66ba0 of _0x4a2c92[_0x2a55a2(0xd5)]())for(const _0x1ad887 of _0xb66ba0[_0x2a55a2(0xf9)]())if(_0x1ad887['is'](_0x2a55a2(0xda))&&_0x107068[_0x2a55a2(0xed)](_0x1ad887[_0x2a55a2(0xe0)]))return void(this[_0x2a55a2(0xe6)]=!0x1);this[_0x2a55a2(0xe6)]=!0x0;}[_0x2a7b94(0xdb)](_0x35fd0a='',_0x1e7a5f='',_0x3877c8=_0x2a7b94(0xe9)){const _0x217917=_0x2a7b94;this[_0x217917(0xe5)][_0x217917(0xf6)][_0x217917(0xe3)](_0x2bfedf)[_0x217917(0xf5)](_0x35fd0a,_0x1e7a5f,_0x3877c8);}}function G(_0x5cbe09,_0x54d4a5){const _0x1aa980=_0x2a7b94,_0x58f7f8=new Set();for(const _0x2a9feb of _0x5cbe09[_0x1aa980(0xee)]())(_0x54d4a5||!0x1===_0x2a9feb[_0x1aa980(0xeb)])&&_0x58f7f8[_0x1aa980(0xdc)](_0x2a9feb['id']);return Array[_0x1aa980(0xd7)](_0x58f7f8);}
23
+ function _0x50e3(_0x5e0d6d,_0x559c78){const _0xf7984b=_0xf798();return _0x50e3=function(_0x50e328,_0xb541f2){_0x50e328=_0x50e328-0xf1;let _0x408a4f=_0xf7984b[_0x50e328];return _0x408a4f;},_0x50e3(_0x5e0d6d,_0x559c78);}const _0x293482=_0x50e3;(function(_0x2cab06,_0xf1e80e){const _0x451f42=_0x50e3,_0x5be7a9=_0x2cab06();while(!![]){try{const _0x1e9084=-parseInt(_0x451f42(0x117))/0x1+parseInt(_0x451f42(0x10f))/0x2*(parseInt(_0x451f42(0xf6))/0x3)+parseInt(_0x451f42(0xf7))/0x4+-parseInt(_0x451f42(0x118))/0x5*(parseInt(_0x451f42(0xf5))/0x6)+-parseInt(_0x451f42(0xfb))/0x7*(parseInt(_0x451f42(0x115))/0x8)+-parseInt(_0x451f42(0x11e))/0x9*(parseInt(_0x451f42(0x10a))/0xa)+parseInt(_0x451f42(0x111))/0xb*(parseInt(_0x451f42(0x104))/0xc);if(_0x1e9084===_0xf1e80e)break;else _0x5be7a9['push'](_0x5be7a9['shift']());}catch(_0x516260){_0x5be7a9['push'](_0x5be7a9['shift']());}}}(_0xf798,0xf25ee));import{Command as _0x202d8e}from'ckeditor5/src/core.js';import _0x36c6e3 from'../aiassistantui.js';export default class j extends _0x202d8e{constructor(_0x44f9d7,_0x853140){const _0x43845a=_0x50e3;super(_0x44f9d7),this[_0x43845a(0xf2)]=_0x853140,this[_0x43845a(0x102)](_0x43845a(0xf4),[]),this['on'](_0x43845a(0xf3),(_0x9311e5,_0x4fd69c,_0x55b850)=>{const _0x499ff9=_0x43845a;this[_0x499ff9(0x11c)]&&(this[_0x499ff9(0xf4)]=G(this[_0x499ff9(0xf2)],_0x55b850));}),this[_0x43845a(0x102)](_0x43845a(0x113),!0x1),this['on'](_0x43845a(0x108),(_0x35a157,_0x3d92cb,_0x10aff0)=>{const _0x7b74d0=_0x43845a;this[_0x7b74d0(0xf4)]=_0x10aff0?G(this[_0x7b74d0(0xf2)],this[_0x7b74d0(0x113)]):[];});}[_0x293482(0xf8)](){const _0xdcc970=_0x293482,_0x1a390b=this[_0xdcc970(0x110)][_0xdcc970(0xfd)];this[_0xdcc970(0x113)]=function(_0x1f6a88){const _0x311d4b=_0xdcc970,_0x171614=_0x1f6a88[_0x311d4b(0xf1)][_0x311d4b(0x10d)];return _0x171614[_0x311d4b(0x11a)]?0x0!==[..._0x171614[_0x311d4b(0x116)]()][_0x311d4b(0xfc)]&&![..._0x171614[_0x311d4b(0x116)]()][0x0][_0x311d4b(0x114)]:!!_0x1f6a88[_0x311d4b(0x10e)](_0x171614[_0x311d4b(0xff)]());}(_0x1a390b);const _0x278d6f=_0x1a390b[_0xdcc970(0xf1)][_0xdcc970(0x10d)],_0xb0aa58=this[_0xdcc970(0x110)][_0xdcc970(0xfa)][_0xdcc970(0x100)](_0xdcc970(0x11b));for(const _0x835321 of _0x278d6f[_0xdcc970(0x119)]())for(const _0x3d4491 of _0x835321[_0xdcc970(0xfe)]())if(_0x3d4491['is'](_0xdcc970(0x10c))&&_0xb0aa58[_0xdcc970(0x10b)](_0x3d4491[_0xdcc970(0x107)]))return void(this[_0xdcc970(0x11c)]=!0x1);this[_0xdcc970(0x11c)]=!0x0;}[_0x293482(0x109)](_0x6dc722='',_0x443c1e='',_0x4928f0=_0x293482(0x11d)){const _0x4e2d55=_0x293482;this[_0x4e2d55(0x110)][_0x4e2d55(0x105)][_0x4e2d55(0x100)](_0x36c6e3)[_0x4e2d55(0x106)](_0x6dc722,_0x443c1e,_0x4928f0);}}function _0xf798(){const _0x1fe969=['requiresContent','set','add','19629816PLDVAX','plugins','showUI','name','change:isEnabled','execute','140EOJqYn','includes','element','selection','hasContent','2474890NaXQJK','editor','11PhAkFb','values','_hasContext','isEmpty','24xEGpnz','getSelectedBlocks','1542711zsWCZA','11545lnlirR','getRanges','isCollapsed','ai.aiAssistant.disabledElements','isEnabled','custom','40347nPSEIF','document','_commandDefinitions','change:_hasContext','enabledCommandsIds','2502eQlZFr','3LqtjzV','5067624estVYB','refresh','from','config','1351217YHgFVq','length','model','getItems','getFirstRange','get'];_0xf798=function(){return _0x1fe969;};return _0xf798();}function G(_0x38e706,_0x4cca54){const _0x1a8e22=_0x293482,_0x51ac75=new Set();for(const _0x13d207 of _0x38e706[_0x1a8e22(0x112)]())(_0x4cca54||!0x1===_0x13d207[_0x1a8e22(0x101)])&&_0x51ac75[_0x1a8e22(0x103)](_0x13d207['id']);return Array[_0x1a8e22(0xf9)](_0x51ac75);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x122994,_0x537354,_0x1d471a){const t=_0x122994['t'];switch(_0x537354){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',_0x1d471a);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1d471a);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'},_0x1d471a);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 _0x537354;}}
23
+ export function getTranslation(_0x21b5b4,_0x5e37e5,_0x524ec4){const t=_0x21b5b4['t'];switch(_0x5e37e5){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',_0x524ec4);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x524ec4);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'},_0x524ec4);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 _0x5e37e5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x7466ae,_0x2a58ca){const _0x3a271a=(0x0,_0x2a58ca['t'])('Other');return _0x7466ae['length']?'groupId'in _0x7466ae[0x0]?_0x7466ae:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3a271a,'order':0x1/0x0,'commands':_0x7466ae}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3a271a,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x469a28,_0x562d91){const _0x173b44=(0x0,_0x562d91['t'])('Other');return _0x469a28['length']?'groupId'in _0x469a28[0x0]?_0x469a28:[{'groupId':'_ungrouppedCommands','groupLabel':_0x173b44,'order':0x1/0x0,'commands':_0x469a28}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x173b44,'order':0x1/0x0,'commands':[]}];}