@ckeditor/ckeditor5-ai 45.0.0-alpha.9 → 45.0.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 (170) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.js +1 -1
  154. package/src/aiassistant.js +1 -1
  155. package/src/aiassistantediting.js +1 -1
  156. package/src/aiassistantui.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/legacyerrors.js +1 -1
  159. package/src/ui/aiassistantcontroller.js +2 -2
  160. package/src/ui/form/aiformcontentarea.js +1 -1
  161. package/src/ui/form/aiformerrorview.js +1 -1
  162. package/src/ui/form/aiformpromptview.js +1 -1
  163. package/src/ui/form/aiformtoolbarview.js +1 -1
  164. package/src/ui/form/aiformview.js +1 -1
  165. package/src/ui/form/aihistorylistitemview.js +1 -1
  166. package/src/ui/form/aihistorylistview.js +1 -1
  167. package/src/ui/form/prompthistory.js +1 -1
  168. package/src/ui/showaiassistantcommand.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d2868=_0x3adc;(function(_0x1a0ed0,_0x2bd8e5){const _0x3b9de7=_0x3adc,_0xa8be64=_0x1a0ed0();while(!![]){try{const _0x11ff9a=-parseInt(_0x3b9de7(0xfa))/0x1*(parseInt(_0x3b9de7(0x102))/0x2)+-parseInt(_0x3b9de7(0x10a))/0x3+parseInt(_0x3b9de7(0x119))/0x4*(parseInt(_0x3b9de7(0x10c))/0x5)+parseInt(_0x3b9de7(0xef))/0x6+-parseInt(_0x3b9de7(0xf4))/0x7+-parseInt(_0x3b9de7(0xfb))/0x8+parseInt(_0x3b9de7(0xe3))/0x9;if(_0x11ff9a===_0x2bd8e5)break;else _0xa8be64['push'](_0xa8be64['shift']());}catch(_0x7426d){_0xa8be64['push'](_0xa8be64['shift']());}}}(_0x1792,0x7553c));import{Rect as _0x34ffff,global as _0x11dd60,isVisible as _0x45c29a}from'ckeditor5/src/utils.js';function _0x1792(){const _0x4bf172=['focusFirst','10311012rgwNXS','History','children','queryView','keystrokes','ck-ai-form__toggle-history','width','add','focusableChildren','isEnabled','element','isOn','2216136cmVQbd','enter','fieldWrapperChildren','filteredView','set','2607178bUqkPd','update','isEmpty','rtl','minRows','fieldView','2536mZSNNZ','2376912xcCvih','_createSubmitButton','value','locale','render','_createShowHistoryButton','uiLanguageDirection','10AIdcib','left','isVisible','focusCycler','bind','requestAnimationFrame','target','execute','1326285YphCDH','focus','5YmyTax','resultsView','right','submit','style','Submit','excludeScrollbarsAndBorders','window','ck-ai-form__submit','fire','maxRows','focusLast','showHistoryButtonView','359564HgDSTG','submitButtonView'];_0x1792=function(){return _0x4bf172;};return _0x1792();}function _0x3adc(_0x33213a,_0x458e97){const _0x179282=_0x1792();return _0x3adc=function(_0x3adc61,_0x44a2fa){_0x3adc61=_0x3adc61-0xe2;let _0x546fb2=_0x179282[_0x3adc61];return _0x546fb2;},_0x3adc(_0x33213a,_0x458e97);}import{IconHistory as _0x158a02,IconSubmit as _0x4abf07}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x470e67,ButtonView as _0x598b48}from'ckeditor5/src/ui.js';import{getTranslation as _0x71199c}from'../../utils/common-translations.js';export default class ct extends _0x470e67{[_0x1d2868(0x11a)];[_0x1d2868(0x118)];constructor(_0x1179bc,_0x2b3c80){const _0x158c5e=_0x1d2868;super(_0x1179bc,_0x2b3c80),this[_0x158c5e(0xe6)][_0x158c5e(0xf9)][_0x158c5e(0xf8)]=0x1,this[_0x158c5e(0xe6)][_0x158c5e(0xf9)][_0x158c5e(0x116)]=0x3,this[_0x158c5e(0x11a)]=this[_0x158c5e(0xfc)](),this[_0x158c5e(0x118)]=this[_0x158c5e(0x100)](),this[_0x158c5e(0xeb)][_0x158c5e(0xea)](this[_0x158c5e(0x118)],0x1),this[_0x158c5e(0xeb)][_0x158c5e(0xea)](this[_0x158c5e(0x11a)]);}[_0x1d2868(0xff)](){const _0x1cf00f=_0x1d2868;super[_0x1cf00f(0xff)](),this[_0x1cf00f(0xe6)][_0x1cf00f(0xf1)][_0x1cf00f(0xea)](this[_0x1cf00f(0x118)]),this[_0x1cf00f(0xe5)][_0x1cf00f(0xea)](this[_0x1cf00f(0x11a)]),this[_0x1cf00f(0xe7)][_0x1cf00f(0xf3)](_0x1cf00f(0xf0),(_0x44c90a,_0x3f19f7)=>{const _0x233131=_0x1cf00f;_0x44c90a[_0x233131(0x108)]==this[_0x233131(0xe6)][_0x233131(0xf9)][_0x233131(0xed)]&&(this[_0x233131(0x10f)](),_0x3f19f7());});}[_0x1d2868(0xfc)](){const _0x3ffa69=_0x1d2868,_0x40251e=new _0x598b48(this[_0x3ffa69(0xfe)]),_0xf1de35=this[_0x3ffa69(0xfe)];return _0x40251e[_0x3ffa69(0xf3)]({'icon':_0x4abf07,'label':_0x71199c(_0xf1de35,_0x3ffa69(0x111)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3ffa69(0x114)}),_0x40251e['on'](_0x3ffa69(0x109),()=>{const _0x572341=_0x3ffa69;this[_0x572341(0x10f)]();}),_0x40251e[_0x3ffa69(0x106)](_0x3ffa69(0xec))['to'](this[_0x3ffa69(0xe6)][_0x3ffa69(0xf9)],_0x3ffa69(0xf6),this,_0x3ffa69(0xec),(_0xe2a23,_0x57ca17)=>!_0xe2a23&&_0x57ca17),_0x40251e;}[_0x1d2868(0x100)](){const _0x1fa0b2=_0x1d2868,_0x5f2701=new _0x598b48(this[_0x1fa0b2(0xfe)]),_0x2ccd1f=this[_0x1fa0b2(0x10d)],_0x274366=this[_0x1fa0b2(0xfe)];_0x5f2701[_0x1fa0b2(0xf3)]({'label':_0x71199c(_0x274366,_0x1fa0b2(0xe4)),'withText':!0x1,'icon':_0x158a02,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1fa0b2(0xe8)}),_0x5f2701[_0x1fa0b2(0x106)](_0x1fa0b2(0xee))['to'](_0x2ccd1f,_0x1fa0b2(0x104)),_0x5f2701[_0x1fa0b2(0x106)](_0x1fa0b2(0xec))['to'](this,_0x1fa0b2(0xec)),_0x5f2701['on'](_0x1fa0b2(0x109),()=>{const _0x28d3c3=_0x1fa0b2;_0x2ccd1f[_0x28d3c3(0x104)]=!_0x2ccd1f[_0x28d3c3(0x104)],_0x2ccd1f[_0x28d3c3(0x104)]?this[_0x28d3c3(0xf2)][_0x28d3c3(0x10b)]():this[_0x28d3c3(0x10b)]();});const _0x51fa6f=()=>{const _0x5555dc=_0x1fa0b2;_0x11dd60[_0x5555dc(0x113)][_0x5555dc(0x107)](()=>{const _0x1fbd3c=_0x5555dc;if(_0x45c29a(this[_0x1fbd3c(0xed)])){const _0xd423b7=new _0x34ffff(this[_0x1fbd3c(0xe6)][_0x1fbd3c(0xf9)][_0x1fbd3c(0xed)]),_0x3e2abe=_0xd423b7[_0x1fbd3c(0xe9)],_0x329de2=_0x1fbd3c(0xf7)===_0x274366[_0x1fbd3c(0x101)]?_0x1fbd3c(0x103):_0x1fbd3c(0x10e);_0xd423b7[_0x1fbd3c(0x112)](),_0x5f2701[_0x1fbd3c(0xed)][_0x1fbd3c(0x110)][_0x329de2]=_0x3e2abe-_0xd423b7[_0x1fbd3c(0xe9)]+0x1+'px';}});};return this[_0x1fa0b2(0xe6)][_0x1fa0b2(0xf9)]['on'](_0x1fa0b2(0xf5),_0x51fa6f),this['on'](_0x1fa0b2(0xff),_0x51fa6f),_0x5f2701;}[_0x1d2868(0x10f)](){const _0x29b70e=_0x1d2868,_0x11558e=this[_0x29b70e(0xe6)][_0x29b70e(0xf9)][_0x29b70e(0xed)][_0x29b70e(0xfd)];this[_0x29b70e(0x115)](_0x29b70e(0x10f),_0x11558e);}[_0x1d2868(0x10b)](_0x277689){const _0x5ab183=_0x1d2868;-0x1===_0x277689?this[_0x5ab183(0x105)][_0x5ab183(0x117)]():this[_0x5ab183(0x105)][_0x5ab183(0xe2)]();}}
23
+ function _0x3975(_0x3a1a28,_0x4ec610){const _0x1f967e=_0x1f96();return _0x3975=function(_0x3975af,_0x52c8d8){_0x3975af=_0x3975af-0x7b;let _0x180535=_0x1f967e[_0x3975af];return _0x180535;},_0x3975(_0x3a1a28,_0x4ec610);}const _0x14072f=_0x3975;(function(_0x74f7f5,_0x3c74ca){const _0x267d14=_0x3975,_0x561503=_0x74f7f5();while(!![]){try{const _0x3fb3c6=-parseInt(_0x267d14(0x85))/0x1*(parseInt(_0x267d14(0xaa))/0x2)+parseInt(_0x267d14(0xa8))/0x3*(parseInt(_0x267d14(0x96))/0x4)+parseInt(_0x267d14(0xa5))/0x5+-parseInt(_0x267d14(0x8f))/0x6*(parseInt(_0x267d14(0xa4))/0x7)+-parseInt(_0x267d14(0x8e))/0x8+parseInt(_0x267d14(0x95))/0x9*(-parseInt(_0x267d14(0x87))/0xa)+parseInt(_0x267d14(0x9f))/0xb;if(_0x3fb3c6===_0x3c74ca)break;else _0x561503['push'](_0x561503['shift']());}catch(_0x2fb437){_0x561503['push'](_0x561503['shift']());}}}(_0x1f96,0x4b712));import{Rect as _0xa6e89c,global as _0x4a84f9,isVisible as _0x30341d}from'ckeditor5/src/utils.js';import{IconHistory as _0x44873d,IconSubmit as _0x2c2eaa}from'ckeditor5/src/icons.js';function _0x1f96(){const _0x5d53b9=['submit','locale','isOn','maxRows','target','Submit','fieldView','23ArSBRZ','showHistoryButtonView','310usydds','submitButtonView','children','requestAnimationFrame','ck-ai-form__toggle-history','isEmpty','minRows','2802280moBPAy','193818uLlpqh','excludeScrollbarsAndBorders','resultsView','element','ck-ai-form__submit','execute','77508LlPFsp','141116aTSXVN','focusableChildren','isEnabled','left','width','value','History','fire','focusLast','10098803KITCVF','window','bind','keystrokes','fieldWrapperChildren','7BCNlXF','972490HWUqhs','style','focusFirst','39XSDQqG','focus','53272pKRJFz','isVisible','enter','uiLanguageDirection','focusCycler','queryView','set','right','_createShowHistoryButton','_createSubmitButton','render','rtl','add','filteredView','update'];_0x1f96=function(){return _0x5d53b9;};return _0x1f96();}import{AutocompleteView as _0x1fa8b6,ButtonView as _0x3ff50b}from'ckeditor5/src/ui.js';import{getTranslation as _0x11958f}from'../../utils/common-translations.js';export default class ct extends _0x1fa8b6{[_0x14072f(0x88)];[_0x14072f(0x86)];constructor(_0x3041d7,_0x1ffedc){const _0x44d9e0=_0x14072f;super(_0x3041d7,_0x1ffedc),this[_0x44d9e0(0xaf)][_0x44d9e0(0x84)][_0x44d9e0(0x8d)]=0x1,this[_0x44d9e0(0xaf)][_0x44d9e0(0x84)][_0x44d9e0(0x81)]=0x3,this[_0x44d9e0(0x88)]=this[_0x44d9e0(0xb3)](),this[_0x44d9e0(0x86)]=this[_0x44d9e0(0xb2)](),this[_0x44d9e0(0x97)][_0x44d9e0(0x7b)](this[_0x44d9e0(0x86)],0x1),this[_0x44d9e0(0x97)][_0x44d9e0(0x7b)](this[_0x44d9e0(0x88)]);}[_0x14072f(0xb4)](){const _0x365fb5=_0x14072f;super[_0x365fb5(0xb4)](),this[_0x365fb5(0xaf)][_0x365fb5(0xa3)][_0x365fb5(0x7b)](this[_0x365fb5(0x86)]),this[_0x365fb5(0x89)][_0x365fb5(0x7b)](this[_0x365fb5(0x88)]),this[_0x365fb5(0xa2)][_0x365fb5(0xb0)](_0x365fb5(0xac),(_0x1e9275,_0x10d392)=>{const _0x1f0038=_0x365fb5;_0x1e9275[_0x1f0038(0x82)]==this[_0x1f0038(0xaf)][_0x1f0038(0x84)][_0x1f0038(0x92)]&&(this[_0x1f0038(0x7e)](),_0x10d392());});}[_0x14072f(0xb3)](){const _0x4f4576=_0x14072f,_0x49008a=new _0x3ff50b(this[_0x4f4576(0x7f)]),_0x2b44cf=this[_0x4f4576(0x7f)];return _0x49008a[_0x4f4576(0xb0)]({'icon':_0x2c2eaa,'label':_0x11958f(_0x2b44cf,_0x4f4576(0x83)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4f4576(0x93)}),_0x49008a['on'](_0x4f4576(0x94),()=>{const _0xe0bffe=_0x4f4576;this[_0xe0bffe(0x7e)]();}),_0x49008a[_0x4f4576(0xa1)](_0x4f4576(0x98))['to'](this[_0x4f4576(0xaf)][_0x4f4576(0x84)],_0x4f4576(0x8c),this,_0x4f4576(0x98),(_0x169ada,_0x48d275)=>!_0x169ada&&_0x48d275),_0x49008a;}[_0x14072f(0xb2)](){const _0x28c773=_0x14072f,_0x4a7b80=new _0x3ff50b(this[_0x28c773(0x7f)]),_0x3cf993=this[_0x28c773(0x91)],_0x1c2f1d=this[_0x28c773(0x7f)];_0x4a7b80[_0x28c773(0xb0)]({'label':_0x11958f(_0x1c2f1d,_0x28c773(0x9c)),'withText':!0x1,'icon':_0x44873d,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x28c773(0x8b)}),_0x4a7b80[_0x28c773(0xa1)](_0x28c773(0x80))['to'](_0x3cf993,_0x28c773(0xab)),_0x4a7b80[_0x28c773(0xa1)](_0x28c773(0x98))['to'](this,_0x28c773(0x98)),_0x4a7b80['on'](_0x28c773(0x94),()=>{const _0x39e018=_0x28c773;_0x3cf993[_0x39e018(0xab)]=!_0x3cf993[_0x39e018(0xab)],_0x3cf993[_0x39e018(0xab)]?this[_0x39e018(0x7c)][_0x39e018(0xa9)]():this[_0x39e018(0xa9)]();});const _0x3789c0=()=>{const _0x9961cc=_0x28c773;_0x4a84f9[_0x9961cc(0xa0)][_0x9961cc(0x8a)](()=>{const _0x381eb3=_0x9961cc;if(_0x30341d(this[_0x381eb3(0x92)])){const _0x5c1191=new _0xa6e89c(this[_0x381eb3(0xaf)][_0x381eb3(0x84)][_0x381eb3(0x92)]),_0x466ade=_0x5c1191[_0x381eb3(0x9a)],_0x49815b=_0x381eb3(0xb5)===_0x1c2f1d[_0x381eb3(0xad)]?_0x381eb3(0x99):_0x381eb3(0xb1);_0x5c1191[_0x381eb3(0x90)](),_0x4a7b80[_0x381eb3(0x92)][_0x381eb3(0xa6)][_0x49815b]=_0x466ade-_0x5c1191[_0x381eb3(0x9a)]+0x1+'px';}});};return this[_0x28c773(0xaf)][_0x28c773(0x84)]['on'](_0x28c773(0x7d),_0x3789c0),this['on'](_0x28c773(0xb4),_0x3789c0),_0x4a7b80;}[_0x14072f(0x7e)](){const _0x5b8b73=_0x14072f,_0x218ee0=this[_0x5b8b73(0xaf)][_0x5b8b73(0x84)][_0x5b8b73(0x92)][_0x5b8b73(0x9b)];this[_0x5b8b73(0x9d)](_0x5b8b73(0x7e),_0x218ee0);}[_0x14072f(0xa9)](_0x3bb547){const _0x4a7f8e=_0x14072f;-0x1===_0x3bb547?this[_0x4a7f8e(0xae)][_0x4a7f8e(0x9e)]():this[_0x4a7f8e(0xae)][_0x4a7f8e(0xa7)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x522224=_0x5d79;(function(_0x3b9acd,_0x531eb0){const _0x559b50=_0x5d79,_0xd7ee6d=_0x3b9acd();while(!![]){try{const _0x37cc1f=parseInt(_0x559b50(0x84))/0x1*(-parseInt(_0x559b50(0x89))/0x2)+-parseInt(_0x559b50(0x83))/0x3*(parseInt(_0x559b50(0x87))/0x4)+parseInt(_0x559b50(0x7c))/0x5+-parseInt(_0x559b50(0x79))/0x6+-parseInt(_0x559b50(0x8d))/0x7+-parseInt(_0x559b50(0x8f))/0x8*(parseInt(_0x559b50(0x71))/0x9)+parseInt(_0x559b50(0x74))/0xa;if(_0x37cc1f===_0x531eb0)break;else _0xd7ee6d['push'](_0xd7ee6d['shift']());}catch(_0x1bf1ac){_0xd7ee6d['push'](_0xd7ee6d['shift']());}}}(_0x30ff,0x85088));function _0x5d79(_0x302129,_0x1a54f2){const _0x30ff25=_0x30ff();return _0x5d79=function(_0x5d79b5,_0x51bced){_0x5d79b5=_0x5d79b5-0x6d;let _0x481efd=_0x30ff25[_0x5d79b5];return _0x481efd;},_0x5d79(_0x302129,_0x1a54f2);}function _0x30ff(){const _0x4c645b=['48jeGFFa','tryAgainButton','ck-ai-form__toolbar','extendTemplate','replaceButton','ck-button-action','set','1092654LiosjW','_CONTENT','locale','43165050vJZbZt','Try\x20again','bind','addMany','toUpperCase','5480916HUnsPC','label','bindTemplate','2370820YaYCWf','ck-hidden','stopButton','AI_','mainAction','REPLACE','isVisible','397773BdUaZc','37yRrDoo','insertButton','insert','28NHuuLM','Insert\x20below','40556rVVDjM','_createButton','Stop','replace','6477940xcswVP','items'];_0x30ff=function(){return _0x4c645b;};return _0x30ff();}import{ToolbarView as _0x2f9e8c,ButtonView as _0x275583}from'ckeditor5/src/ui.js';import{getTranslation as _0x4779fd}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x522224(0x8c),'INSERT':_0x522224(0x86)};export default class lt extends _0x2f9e8c{constructor(_0x1f2d30){const _0x5ad2ec=_0x522224;super(_0x1f2d30),this[_0x5ad2ec(0x70)](_0x5ad2ec(0x82),!0x1),this[_0x5ad2ec(0x70)](_0x5ad2ec(0x80),AIFormToolbarViewMainActionLabel[_0x5ad2ec(0x81)]),this[_0x5ad2ec(0x6e)]=this[_0x5ad2ec(0x8a)]('',_0x5ad2ec(0x6f)),this[_0x5ad2ec(0x6e)][_0x5ad2ec(0x76)](_0x5ad2ec(0x7a))['to'](this,_0x5ad2ec(0x80),_0x357f82=>_0x4779fd(_0x1f2d30,_0x5ad2ec(0x7f)+_0x357f82[_0x5ad2ec(0x78)]()+_0x5ad2ec(0x72))),this[_0x5ad2ec(0x85)]=this[_0x5ad2ec(0x8a)](_0x4779fd(_0x1f2d30,_0x5ad2ec(0x88))),this[_0x5ad2ec(0x90)]=this[_0x5ad2ec(0x8a)](_0x4779fd(_0x1f2d30,_0x5ad2ec(0x75))),this[_0x5ad2ec(0x7e)]=this[_0x5ad2ec(0x8a)](_0x4779fd(_0x1f2d30,_0x5ad2ec(0x8b)));const _0x5afde2=this[_0x5ad2ec(0x7b)];this[_0x5ad2ec(0x6d)]({'attributes':{'class':[_0x5ad2ec(0x91),_0x5afde2['if'](_0x5ad2ec(0x82),_0x5ad2ec(0x7d),_0x91e49d=>!_0x91e49d)]}}),this[_0x5ad2ec(0x8e)][_0x5ad2ec(0x77)]([this[_0x5ad2ec(0x6e)],this[_0x5ad2ec(0x85)],this[_0x5ad2ec(0x90)],this[_0x5ad2ec(0x7e)]]);}[_0x522224(0x8a)](_0x8dea12,_0x1ccd5d){const _0x19d94a=_0x522224,_0x1b2c44=new _0x275583(this[_0x19d94a(0x73)]);return _0x1b2c44[_0x19d94a(0x70)]({'label':_0x8dea12,'class':_0x1ccd5d||'','isVisible':!0x0,'withText':!0x0}),_0x1b2c44;}}
23
+ const _0x5b7c6c=_0x5d0a;(function(_0x23eb3d,_0x5ae467){const _0x4df37f=_0x5d0a,_0xf362c5=_0x23eb3d();while(!![]){try{const _0x5931c3=parseInt(_0x4df37f(0x19e))/0x1*(parseInt(_0x4df37f(0x193))/0x2)+-parseInt(_0x4df37f(0x1b4))/0x3+parseInt(_0x4df37f(0x19c))/0x4+-parseInt(_0x4df37f(0x1a9))/0x5+-parseInt(_0x4df37f(0x198))/0x6*(parseInt(_0x4df37f(0x1b3))/0x7)+parseInt(_0x4df37f(0x1af))/0x8+-parseInt(_0x4df37f(0x1ac))/0x9*(-parseInt(_0x4df37f(0x19d))/0xa);if(_0x5931c3===_0x5ae467)break;else _0xf362c5['push'](_0xf362c5['shift']());}catch(_0x213cb8){_0xf362c5['push'](_0xf362c5['shift']());}}}(_0x1441,0xc9123));function _0x1441(){const _0x5ec27c=['Try\x20again','1918074cHvpYf','items','Insert\x20below','replaceButton','3522336DdNuAe','2684870prWDlU','1CpcJAp','_CONTENT','REPLACE','insert','toUpperCase','ck-ai-form__toolbar','insertButton','mainAction','ck-hidden','Stop','set','4556455kayFBF','stopButton','replace','36RUnnpm','locale','addMany','3972800qSoWSe','extendTemplate','bindTemplate','ck-button-action','7ACjYNP','3714189EBdiyJ','isVisible','bind','_createButton','1682976lGjrhu','AI_','tryAgainButton','label'];_0x1441=function(){return _0x5ec27c;};return _0x1441();}import{ToolbarView as _0x33c18e,ButtonView as _0x77c4d9}from'ckeditor5/src/ui.js';import{getTranslation as _0x214732}from'../../utils/common-translations.js';function _0x5d0a(_0x44559f,_0x511d3a){const _0x1441f1=_0x1441();return _0x5d0a=function(_0x5d0a27,_0x445606){_0x5d0a27=_0x5d0a27-0x193;let _0x5c3aa5=_0x1441f1[_0x5d0a27];return _0x5c3aa5;},_0x5d0a(_0x44559f,_0x511d3a);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5b7c6c(0x1ab),'INSERT':_0x5b7c6c(0x1a1)};export default class lt extends _0x33c18e{constructor(_0x4711c3){const _0x4fa344=_0x5b7c6c;super(_0x4711c3),this[_0x4fa344(0x1a8)](_0x4fa344(0x1b5),!0x1),this[_0x4fa344(0x1a8)](_0x4fa344(0x1a5),AIFormToolbarViewMainActionLabel[_0x4fa344(0x1a0)]),this[_0x4fa344(0x19b)]=this[_0x4fa344(0x1b7)]('',_0x4fa344(0x1b2)),this[_0x4fa344(0x19b)][_0x4fa344(0x1b6)](_0x4fa344(0x196))['to'](this,_0x4fa344(0x1a5),_0x2825c2=>_0x214732(_0x4711c3,_0x4fa344(0x194)+_0x2825c2[_0x4fa344(0x1a2)]()+_0x4fa344(0x19f))),this[_0x4fa344(0x1a4)]=this[_0x4fa344(0x1b7)](_0x214732(_0x4711c3,_0x4fa344(0x19a))),this[_0x4fa344(0x195)]=this[_0x4fa344(0x1b7)](_0x214732(_0x4711c3,_0x4fa344(0x197))),this[_0x4fa344(0x1aa)]=this[_0x4fa344(0x1b7)](_0x214732(_0x4711c3,_0x4fa344(0x1a7)));const _0x97d797=this[_0x4fa344(0x1b1)];this[_0x4fa344(0x1b0)]({'attributes':{'class':[_0x4fa344(0x1a3),_0x97d797['if'](_0x4fa344(0x1b5),_0x4fa344(0x1a6),_0x24e7cd=>!_0x24e7cd)]}}),this[_0x4fa344(0x199)][_0x4fa344(0x1ae)]([this[_0x4fa344(0x19b)],this[_0x4fa344(0x1a4)],this[_0x4fa344(0x195)],this[_0x4fa344(0x1aa)]]);}[_0x5b7c6c(0x1b7)](_0x2e80d6,_0x449f96){const _0x4210bd=_0x5b7c6c,_0x34c576=new _0x77c4d9(this[_0x4210bd(0x1ad)]);return _0x34c576[_0x4210bd(0x1a8)]({'label':_0x2e80d6,'class':_0x449f96||'','isVisible':!0x0,'withText':!0x0}),_0x34c576;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23b799=_0xa5e3;function _0x3ef9(){const _0x24cb35=['mainAction','ck-hidden','_focusables','_createPromptView','AI_ERROR_FAILED','_promptHistory','text','Ask\x20AI\x20to\x20improve\x20generated\x20text','2705562gHnFJA','Empty\x20history','insertButton','high','label','createCollection','stopButton','value','bind','toolbar','isProcessing','startProcessing','finishProcessing','trim','reset','errorView','set','queryView','contentArea','render','clearHistory','replaceContent','1581660nXaeCz','tab','ck-ai-form','focus','8919640FsxxHs','15YCUnEv','_createHistoryView','submit','tryAgainEvent','focusTracker','focusLast','element','_createToolbar','listenTo','replaceButton','isError','delegate','chain','focusFirst','isVisible','search','copyButtonView','1406116xvZDJb','27WXgvGN','clear','add','stopProcessing','locale','bindTemplate','295224qbaXgH','items','7VAMAPX','setTemplate','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','div','focusCycler','shift\x20+\x20tab','REPLACE','fire','fieldView','insertContentBelow','1198255iLoBFS','prompt','promptView','isEnabled','keystrokes','bindTo','ck-ai-form-content','handleError','tryAgainButton','historyGroupView','Ask\x20AI\x20to\x20edit\x20or\x20generate','execute','2204250qEsFsC','submitPrompt'];_0x3ef9=function(){return _0x24cb35;};return _0x3ef9();}(function(_0x329dbd,_0x198dbd){const _0x2f3e7f=_0xa5e3,_0x2a3bcd=_0x329dbd();while(!![]){try{const _0xef5dbf=parseInt(_0x2f3e7f(0x114))/0x1+parseInt(_0x2f3e7f(0xd5))/0x2+-parseInt(_0x2f3e7f(0x108))/0x3+parseInt(_0x2f3e7f(0x101))/0x4*(-parseInt(_0x2f3e7f(0xf0))/0x5)+-parseInt(_0x2f3e7f(0xeb))/0x6+parseInt(_0x2f3e7f(0x10a))/0x7*(-parseInt(_0x2f3e7f(0xef))/0x8)+-parseInt(_0x2f3e7f(0x102))/0x9*(-parseInt(_0x2f3e7f(0x120))/0xa);if(_0xef5dbf===_0x198dbd)break;else _0x2a3bcd['push'](_0x2a3bcd['shift']());}catch(_0x3cecd7){_0x2a3bcd['push'](_0x2a3bcd['shift']());}}}(_0x3ef9,0xa632f));import{FocusTracker as _0x13b836,KeystrokeHandler as _0x415a57}from'ckeditor5/src/utils.js';function _0xa5e3(_0xf1facd,_0x5a25d4){const _0x3ef94e=_0x3ef9();return _0xa5e3=function(_0xa5e346,_0x4ebf79){_0xa5e346=_0xa5e346-0xd1;let _0x19b8d7=_0x3ef94e[_0xa5e346];return _0x19b8d7;},_0xa5e3(_0xf1facd,_0x5a25d4);}import{View as _0x35d4e7,FocusCycler as _0x5d2c3e,createLabeledTextarea as _0x2ae425}from'ckeditor5/src/ui.js';import _0x2f90b8,{AIFormToolbarViewMainActionLabel as _0xd52c3}from'./aiformtoolbarview.js';import _0x295c6e from'./aiformcontentarea.js';import _0x2e780d from'./aiformerrorview.js';import _0x440bfc from'./aiformpromptview.js';import _0x1c6370 from'./aihistorylistview.js';import _0x5ec591 from'./aihistorylistitemview.js';import _0x2076ff from'./prompthistory.js';import{getTranslation as _0x583e66}from'../../utils/common-translations.js';import{escape as _0x3a8db3}from'es-toolkit/compat';export default class _ extends _0x35d4e7{[_0x23b799(0xf4)];[_0x23b799(0x118)];[_0x23b799(0xe7)];[_0x23b799(0xde)];[_0x23b799(0x116)];[_0x23b799(0xe4)];[_0x23b799(0x124)];[_0x23b799(0x10e)];[_0x23b799(0xd2)];constructor(_0x218780,_0x303432,_0x1f42c5=''){const _0x345466=_0x23b799;super(_0x218780),this[_0x345466(0xe5)](_0x345466(0x117),!0x0),this[_0x345466(0xe5)](_0x345466(0xdf),!0x1),this[_0x345466(0xe5)](_0x345466(0x115),''),this[_0x345466(0xe5)](_0x345466(0xdc),''),this[_0x345466(0xe5)](_0x345466(0xfa),!0x1),this[_0x345466(0xe5)](_0x345466(0x122),_0xd52c3[_0x345466(0x110)]),this[_0x345466(0xd2)]=new _0x2076ff(),this[_0x345466(0xe4)]=new _0x2e780d(_0x218780),this[_0x345466(0xe7)]=new _0x295c6e(_0x218780,_0x1f42c5),this[_0x345466(0xe7)][_0x345466(0xdd)](_0x345466(0xdf))['to'](this),this[_0x345466(0xe7)][_0x345466(0xdd)](_0x345466(0xdc))['to'](this),this[_0x345466(0xde)]=this[_0x345466(0xf7)](),this[_0x345466(0xde)][_0x345466(0xdd)](_0x345466(0x122))['to'](this),this[_0x345466(0x116)]=this[_0x345466(0x125)](),this[_0x345466(0xf4)]=new _0x13b836(),this[_0x345466(0x118)]=new _0x415a57(),this[_0x345466(0x124)]=this[_0x345466(0xda)]([this[_0x345466(0xe7)],this[_0x345466(0xe7)][_0x345466(0x100)],this[_0x345466(0xde)],this[_0x345466(0x116)]]),this[_0x345466(0x10e)]=new _0x5d2c3e({'focusables':this[_0x345466(0x124)],'focusTracker':this[_0x345466(0xf4)],'keystrokeHandler':this[_0x345466(0x118)],'actions':{'focusPrevious':_0x345466(0x10f),'focusNext':_0x345466(0xec)}}),this[_0x345466(0x10e)][_0x345466(0xfc)](this[_0x345466(0x116)][_0x345466(0x10e)]),this[_0x345466(0x116)][_0x345466(0xe6)][_0x345466(0x112)][_0x345466(0xdd)](_0x345466(0xdc))['to'](this,_0x345466(0x115));const _0x1a7924=this[_0x345466(0x107)];this[_0x345466(0x10b)]({'tag':_0x345466(0x10d),'attributes':{'class':['ck',_0x345466(0xed),_0x303432],'tabindex':'-1'},'children':[{'tag':_0x345466(0x10d),'attributes':{'class':['ck',_0x345466(0x11a)]},'children':[{'tag':_0x345466(0x10d),'attributes':{'class':[_0x1a7924['if'](_0x345466(0xfa),_0x345466(0x123),_0x567844=>!_0x567844)]},'children':[this[_0x345466(0xe4)]]},this[_0x345466(0xe7)],this[_0x345466(0xde)],this[_0x345466(0x116)]]}]});}[_0x23b799(0xe8)](){const _0x239081=_0x23b799;super[_0x239081(0xe8)](),this[_0x239081(0xf4)][_0x239081(0x104)](this[_0x239081(0xe7)][_0x239081(0xf6)]),this[_0x239081(0xf4)][_0x239081(0x104)](this[_0x239081(0xe7)][_0x239081(0x100)][_0x239081(0xf6)]),this[_0x239081(0xf4)][_0x239081(0x104)](this[_0x239081(0xde)][_0x239081(0xf6)]),this[_0x239081(0xf4)][_0x239081(0x104)](this[_0x239081(0x116)][_0x239081(0xf6)]),this[_0x239081(0x118)][_0x239081(0xf8)](this[_0x239081(0xf6)]);}[_0x23b799(0xee)](_0x383ae0=0x1){const _0x5013d7=_0x23b799;-0x1===_0x383ae0?this[_0x5013d7(0x10e)][_0x5013d7(0xf5)]():this[_0x5013d7(0x10e)][_0x5013d7(0xfd)]();}[_0x23b799(0xe3)](){const _0x104b8f=_0x23b799;this[_0x104b8f(0x115)]='',this[_0x104b8f(0xdc)]='',this[_0x104b8f(0xfa)]=!0x1,this[_0x104b8f(0x116)][_0x104b8f(0xe3)](),this[_0x104b8f(0xe7)][_0x104b8f(0xfe)]=!0x1,this[_0x104b8f(0xde)][_0x104b8f(0xfe)]=!0x1;}[_0x23b799(0x125)](){const _0x3fe413=_0x23b799,_0x416de6=this[_0x3fe413(0x106)],_0xd7e978=new _0x440bfc(_0x416de6,{'queryView':{'label':_0x583e66(_0x416de6,_0x3fe413(0x11e)),'creator':_0x2ae425,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x583e66(_0x416de6,_0x3fe413(0xd6)),'secondary':_0x583e66(_0x416de6,_0x3fe413(0x10c))}}},'filteredView':this[_0x3fe413(0xf1)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xd7e978[_0x3fe413(0xdd)](_0x3fe413(0x117))['to'](this,_0x3fe413(0x117),this,_0x3fe413(0xdf),(_0x77291c,_0x80b647)=>_0x77291c&&!_0x80b647),this[_0x3fe413(0xf8)](_0xd7e978,_0x3fe413(0xf2),(_0x2f4685,_0x47c2d4)=>{const _0x7aa658=_0x3fe413;this[_0x7aa658(0x115)]=_0x47c2d4;const _0x62ac92=_0x3a8db3(_0x47c2d4);this[_0x7aa658(0x111)](_0x7aa658(0x121),_0x62ac92),_0x47c2d4[_0x7aa658(0xe2)]()&&this[_0x7aa658(0xd2)][_0x7aa658(0x104)]({'prompt':_0x62ac92},0x0);},{'priority':_0x3fe413(0xd8)}),_0xd7e978;}[_0x23b799(0xf1)](){const _0x5022ba=_0x23b799,_0xa75af2=new _0x1c6370(this[_0x5022ba(0x106)]);return _0xa75af2[_0x5022ba(0x11d)][_0x5022ba(0x109)][_0x5022ba(0x119)](this[_0x5022ba(0xd2)])['as'](_0x5ec591),_0xa75af2['on'](_0x5022ba(0xe9),()=>{const _0x3cc68f=_0x5022ba;this[_0x3cc68f(0xd2)][_0x3cc68f(0x103)](),this[_0x3cc68f(0x116)][_0x3cc68f(0xff)](''),this[_0x3cc68f(0x116)][_0x3cc68f(0xee)]();}),_0xa75af2;}[_0x23b799(0xf7)](){const _0x3b23a7=_0x23b799,_0x3e90e4=new _0x2f90b8(this[_0x3b23a7(0x106)]);return _0x3e90e4[_0x3b23a7(0xf9)][_0x3b23a7(0xdd)](_0x3b23a7(0x117))['to'](this,_0x3b23a7(0x117),this,_0x3b23a7(0xdf),this,_0x3b23a7(0xdc),(_0x4c387b,_0x5ae49c,_0x458c7e)=>_0x4c387b&&!_0x5ae49c&&!!_0x458c7e),_0x3e90e4[_0x3b23a7(0xf9)][_0x3b23a7(0xfb)](_0x3b23a7(0x11f))['to'](this,_0x3b23a7(0xea)),_0x3e90e4[_0x3b23a7(0xd7)][_0x3b23a7(0xdd)](_0x3b23a7(0x117))['to'](this,_0x3b23a7(0x117),this,_0x3b23a7(0xdf),this,_0x3b23a7(0xdc),(_0x2a0a5f,_0x2ad36e,_0x6d09b8)=>_0x2a0a5f&&!_0x2ad36e&&!!_0x6d09b8),_0x3e90e4[_0x3b23a7(0xd7)][_0x3b23a7(0xfb)](_0x3b23a7(0x11f))['to'](this,_0x3b23a7(0x113)),_0x3e90e4[_0x3b23a7(0x11c)][_0x3b23a7(0xdd)](_0x3b23a7(0x117))['to'](this,_0x3b23a7(0x117),this,_0x3b23a7(0xdf),(_0x56a465,_0x3097ca)=>_0x56a465&&!_0x3097ca),_0x3e90e4[_0x3b23a7(0x11c)][_0x3b23a7(0xfb)](_0x3b23a7(0x11f))['to'](this,_0x3b23a7(0xf3)),_0x3e90e4[_0x3b23a7(0xdb)][_0x3b23a7(0xdd)](_0x3b23a7(0x117))['to'](this,_0x3b23a7(0xdf)),_0x3e90e4[_0x3b23a7(0xdb)][_0x3b23a7(0xfb)](_0x3b23a7(0x11f))['to'](this,_0x3b23a7(0x105)),_0x3e90e4;}[_0x23b799(0xe0)](){const _0x2d92b2=_0x23b799;this[_0x2d92b2(0xdc)]='',this[_0x2d92b2(0xfa)]=!0x1,this[_0x2d92b2(0xdf)]=!0x0,this[_0x2d92b2(0xe7)][_0x2d92b2(0xfe)]=!0x0,this[_0x2d92b2(0xde)][_0x2d92b2(0xfe)]=!0x0,this[_0x2d92b2(0xe7)][_0x2d92b2(0xee)]();}[_0x23b799(0xe1)](){const _0x29645c=_0x23b799,_0x1f0e9e=this[_0x29645c(0x106)];this[_0x29645c(0xdf)]=!0x1,this[_0x29645c(0x115)]='',this[_0x29645c(0x116)][_0x29645c(0xe3)](),this[_0x29645c(0xdc)]&&(this[_0x29645c(0x116)][_0x29645c(0xe6)][_0x29645c(0xd9)]=_0x583e66(_0x1f0e9e,_0x29645c(0xd4)));}[_0x23b799(0x11b)](_0x5be046){const _0x55d37f=_0x23b799,_0x3dcb9e=this[_0x55d37f(0x106)];this[_0x55d37f(0xe1)](),this[_0x55d37f(0xfa)]=!0x0,this[_0x55d37f(0xe4)][_0x55d37f(0xd3)]=_0x5be046||_0x583e66(_0x3dcb9e,_0x55d37f(0xd1)),this[_0x55d37f(0xdc)]||(this[_0x55d37f(0xe7)][_0x55d37f(0xfe)]=!0x1);}}
23
+ const _0x579774=_0x57d6;(function(_0x1d7eea,_0x461b23){const _0x2a5c02=_0x57d6,_0x2b8ec3=_0x1d7eea();while(!![]){try{const _0x5ce7fa=parseInt(_0x2a5c02(0x11a))/0x1+parseInt(_0x2a5c02(0xe1))/0x2*(parseInt(_0x2a5c02(0x123))/0x3)+parseInt(_0x2a5c02(0xed))/0x4+-parseInt(_0x2a5c02(0xe9))/0x5*(-parseInt(_0x2a5c02(0x128))/0x6)+parseInt(_0x2a5c02(0x10e))/0x7+-parseInt(_0x2a5c02(0x10c))/0x8+parseInt(_0x2a5c02(0xd8))/0x9*(-parseInt(_0x2a5c02(0xde))/0xa);if(_0x5ce7fa===_0x461b23)break;else _0x2b8ec3['push'](_0x2b8ec3['shift']());}catch(_0x14c8f4){_0x2b8ec3['push'](_0x2b8ec3['shift']());}}}(_0xb193,0x7c682));import{FocusTracker as _0x4499ed,KeystrokeHandler as _0x2a59a1}from'ckeditor5/src/utils.js';import{View as _0x224d51,FocusCycler as _0x4ef533,createLabeledTextarea as _0x13009d}from'ckeditor5/src/ui.js';import _0x4043c4,{AIFormToolbarViewMainActionLabel as _0x525ac5}from'./aiformtoolbarview.js';import _0x527d95 from'./aiformcontentarea.js';import _0x3bc688 from'./aiformerrorview.js';function _0x57d6(_0x274472,_0x950042){const _0xb193bf=_0xb193();return _0x57d6=function(_0x57d610,_0x545d1b){_0x57d610=_0x57d610-0xd6;let _0x574df2=_0xb193bf[_0x57d610];return _0x574df2;},_0x57d6(_0x274472,_0x950042);}import _0x10ff47 from'./aiformpromptview.js';import _0x3ab402 from'./aihistorylistview.js';import _0x217e74 from'./aihistorylistitemview.js';function _0xb193(){const _0x2589ac=['errorView','copyButtonView','focusFirst','isVisible','promptView','mainAction','locale','delegate','chain','reset','tryAgainButton','div','value','toolbar','bindTemplate','bindTo','_createToolbar','items','focusCycler','_createHistoryView','_promptHistory','_createPromptView','REPLACE','execute','text','setTemplate','isProcessing','Empty\x20history','4015312kFJwBE','ck-ai-form-content','3694096vCnOfR','focusTracker','trim','submit','createCollection','search','fieldView','stopProcessing','contentArea','fire','listenTo','replaceContent','42508lXADpK','submitPrompt','insertContentBelow','stopButton','element','add','clearHistory','clear','isError','6ENNEoL','ck-ai-form','bind','ck-hidden','insertButton','246zjZRIO','_focusables','startProcessing','focusLast','finishProcessing','5823513kAGswY','tab','Ask\x20AI\x20to\x20improve\x20generated\x20text','replaceButton','high','tryAgainEvent','10vHvtaF','queryView','render','512192qfyTJG','prompt','keystrokes','isEnabled','historyGroupView','Ask\x20AI\x20to\x20edit\x20or\x20generate','AI_ERROR_FAILED','shift\x20+\x20tab','12905gLDEro','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','set','handleError','1881168jSDRhn','label','focus'];_0xb193=function(){return _0x2589ac;};return _0xb193();}import _0x4fa7ab from'./prompthistory.js';import{getTranslation as _0x1c25e1}from'../../utils/common-translations.js';import{escape as _0x3f7e6f}from'es-toolkit/compat';export default class _ extends _0x224d51{[_0x579774(0x10f)];[_0x579774(0xe3)];[_0x579774(0x116)];[_0x579774(0xfd)];[_0x579774(0xf4)];[_0x579774(0xf0)];[_0x579774(0x129)];[_0x579774(0x102)];[_0x579774(0x104)];constructor(_0x3a1aa1,_0x9320a7,_0x5cc4f4=''){const _0x27064b=_0x579774;super(_0x3a1aa1),this[_0x27064b(0xeb)](_0x27064b(0xe4),!0x0),this[_0x27064b(0xeb)](_0x27064b(0x10a),!0x1),this[_0x27064b(0xeb)](_0x27064b(0xe2),''),this[_0x27064b(0xeb)](_0x27064b(0xfc),''),this[_0x27064b(0xeb)](_0x27064b(0x122),!0x1),this[_0x27064b(0xeb)](_0x27064b(0xf5),_0x525ac5[_0x27064b(0x106)]),this[_0x27064b(0x104)]=new _0x4fa7ab(),this[_0x27064b(0xf0)]=new _0x3bc688(_0x3a1aa1),this[_0x27064b(0x116)]=new _0x527d95(_0x3a1aa1,_0x5cc4f4),this[_0x27064b(0x116)][_0x27064b(0x125)](_0x27064b(0x10a))['to'](this),this[_0x27064b(0x116)][_0x27064b(0x125)](_0x27064b(0xfc))['to'](this),this[_0x27064b(0xfd)]=this[_0x27064b(0x100)](),this[_0x27064b(0xfd)][_0x27064b(0x125)](_0x27064b(0xf5))['to'](this),this[_0x27064b(0xf4)]=this[_0x27064b(0x105)](),this[_0x27064b(0x10f)]=new _0x4499ed(),this[_0x27064b(0xe3)]=new _0x2a59a1(),this[_0x27064b(0x129)]=this[_0x27064b(0x112)]([this[_0x27064b(0x116)],this[_0x27064b(0x116)][_0x27064b(0xf1)],this[_0x27064b(0xfd)],this[_0x27064b(0xf4)]]),this[_0x27064b(0x102)]=new _0x4ef533({'focusables':this[_0x27064b(0x129)],'focusTracker':this[_0x27064b(0x10f)],'keystrokeHandler':this[_0x27064b(0xe3)],'actions':{'focusPrevious':_0x27064b(0xe8),'focusNext':_0x27064b(0xd9)}}),this[_0x27064b(0x102)][_0x27064b(0xf8)](this[_0x27064b(0xf4)][_0x27064b(0x102)]),this[_0x27064b(0xf4)][_0x27064b(0xdf)][_0x27064b(0x114)][_0x27064b(0x125)](_0x27064b(0xfc))['to'](this,_0x27064b(0xe2));const _0x4d8a46=this[_0x27064b(0xfe)];this[_0x27064b(0x109)]({'tag':_0x27064b(0xfb),'attributes':{'class':['ck',_0x27064b(0x124),_0x9320a7],'tabindex':'-1'},'children':[{'tag':_0x27064b(0xfb),'attributes':{'class':['ck',_0x27064b(0x10d)]},'children':[{'tag':_0x27064b(0xfb),'attributes':{'class':[_0x4d8a46['if'](_0x27064b(0x122),_0x27064b(0x126),_0x149a8b=>!_0x149a8b)]},'children':[this[_0x27064b(0xf0)]]},this[_0x27064b(0x116)],this[_0x27064b(0xfd)],this[_0x27064b(0xf4)]]}]});}[_0x579774(0xe0)](){const _0x3de83f=_0x579774;super[_0x3de83f(0xe0)](),this[_0x3de83f(0x10f)][_0x3de83f(0x11f)](this[_0x3de83f(0x116)][_0x3de83f(0x11e)]),this[_0x3de83f(0x10f)][_0x3de83f(0x11f)](this[_0x3de83f(0x116)][_0x3de83f(0xf1)][_0x3de83f(0x11e)]),this[_0x3de83f(0x10f)][_0x3de83f(0x11f)](this[_0x3de83f(0xfd)][_0x3de83f(0x11e)]),this[_0x3de83f(0x10f)][_0x3de83f(0x11f)](this[_0x3de83f(0xf4)][_0x3de83f(0x11e)]),this[_0x3de83f(0xe3)][_0x3de83f(0x118)](this[_0x3de83f(0x11e)]);}[_0x579774(0xef)](_0x12dee2=0x1){const _0x51027f=_0x579774;-0x1===_0x12dee2?this[_0x51027f(0x102)][_0x51027f(0xd6)]():this[_0x51027f(0x102)][_0x51027f(0xf2)]();}[_0x579774(0xf9)](){const _0x54f503=_0x579774;this[_0x54f503(0xe2)]='',this[_0x54f503(0xfc)]='',this[_0x54f503(0x122)]=!0x1,this[_0x54f503(0xf4)][_0x54f503(0xf9)](),this[_0x54f503(0x116)][_0x54f503(0xf3)]=!0x1,this[_0x54f503(0xfd)][_0x54f503(0xf3)]=!0x1;}[_0x579774(0x105)](){const _0x24f536=_0x579774,_0xe787be=this[_0x24f536(0xf6)],_0x4e3803=new _0x10ff47(_0xe787be,{'queryView':{'label':_0x1c25e1(_0xe787be,_0x24f536(0xe6)),'creator':_0x13009d,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1c25e1(_0xe787be,_0x24f536(0x10b)),'secondary':_0x1c25e1(_0xe787be,_0x24f536(0xea))}}},'filteredView':this[_0x24f536(0x103)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4e3803[_0x24f536(0x125)](_0x24f536(0xe4))['to'](this,_0x24f536(0xe4),this,_0x24f536(0x10a),(_0x43cfa0,_0x221fbf)=>_0x43cfa0&&!_0x221fbf),this[_0x24f536(0x118)](_0x4e3803,_0x24f536(0x111),(_0x5a9806,_0x506399)=>{const _0x1d3d38=_0x24f536;this[_0x1d3d38(0xe2)]=_0x506399;const _0x49755c=_0x3f7e6f(_0x506399);this[_0x1d3d38(0x117)](_0x1d3d38(0x11b),_0x49755c),_0x506399[_0x1d3d38(0x110)]()&&this[_0x1d3d38(0x104)][_0x1d3d38(0x11f)]({'prompt':_0x49755c},0x0);},{'priority':_0x24f536(0xdc)}),_0x4e3803;}[_0x579774(0x103)](){const _0x1da844=_0x579774,_0x33d9a1=new _0x3ab402(this[_0x1da844(0xf6)]);return _0x33d9a1[_0x1da844(0xe5)][_0x1da844(0x101)][_0x1da844(0xff)](this[_0x1da844(0x104)])['as'](_0x217e74),_0x33d9a1['on'](_0x1da844(0x120),()=>{const _0x26fa6c=_0x1da844;this[_0x26fa6c(0x104)][_0x26fa6c(0x121)](),this[_0x26fa6c(0xf4)][_0x26fa6c(0x113)](''),this[_0x26fa6c(0xf4)][_0x26fa6c(0xef)]();}),_0x33d9a1;}[_0x579774(0x100)](){const _0x22c55c=_0x579774,_0x698367=new _0x4043c4(this[_0x22c55c(0xf6)]);return _0x698367[_0x22c55c(0xdb)][_0x22c55c(0x125)](_0x22c55c(0xe4))['to'](this,_0x22c55c(0xe4),this,_0x22c55c(0x10a),this,_0x22c55c(0xfc),(_0x2dc382,_0x1d17d1,_0x35c2bb)=>_0x2dc382&&!_0x1d17d1&&!!_0x35c2bb),_0x698367[_0x22c55c(0xdb)][_0x22c55c(0xf7)](_0x22c55c(0x107))['to'](this,_0x22c55c(0x119)),_0x698367[_0x22c55c(0x127)][_0x22c55c(0x125)](_0x22c55c(0xe4))['to'](this,_0x22c55c(0xe4),this,_0x22c55c(0x10a),this,_0x22c55c(0xfc),(_0x3380c6,_0x5934a4,_0x164f80)=>_0x3380c6&&!_0x5934a4&&!!_0x164f80),_0x698367[_0x22c55c(0x127)][_0x22c55c(0xf7)](_0x22c55c(0x107))['to'](this,_0x22c55c(0x11c)),_0x698367[_0x22c55c(0xfa)][_0x22c55c(0x125)](_0x22c55c(0xe4))['to'](this,_0x22c55c(0xe4),this,_0x22c55c(0x10a),(_0x2e7697,_0x3062b7)=>_0x2e7697&&!_0x3062b7),_0x698367[_0x22c55c(0xfa)][_0x22c55c(0xf7)](_0x22c55c(0x107))['to'](this,_0x22c55c(0xdd)),_0x698367[_0x22c55c(0x11d)][_0x22c55c(0x125)](_0x22c55c(0xe4))['to'](this,_0x22c55c(0x10a)),_0x698367[_0x22c55c(0x11d)][_0x22c55c(0xf7)](_0x22c55c(0x107))['to'](this,_0x22c55c(0x115)),_0x698367;}[_0x579774(0x12a)](){const _0x36a1e=_0x579774;this[_0x36a1e(0xfc)]='',this[_0x36a1e(0x122)]=!0x1,this[_0x36a1e(0x10a)]=!0x0,this[_0x36a1e(0x116)][_0x36a1e(0xf3)]=!0x0,this[_0x36a1e(0xfd)][_0x36a1e(0xf3)]=!0x0,this[_0x36a1e(0x116)][_0x36a1e(0xef)]();}[_0x579774(0xd7)](){const _0x2301bd=_0x579774,_0x210632=this[_0x2301bd(0xf6)];this[_0x2301bd(0x10a)]=!0x1,this[_0x2301bd(0xe2)]='',this[_0x2301bd(0xf4)][_0x2301bd(0xf9)](),this[_0x2301bd(0xfc)]&&(this[_0x2301bd(0xf4)][_0x2301bd(0xdf)][_0x2301bd(0xee)]=_0x1c25e1(_0x210632,_0x2301bd(0xda)));}[_0x579774(0xec)](_0x2bd6c2){const _0x15a70d=_0x579774,_0x37301f=this[_0x15a70d(0xf6)];this[_0x15a70d(0xd7)](),this[_0x15a70d(0x122)]=!0x0,this[_0x15a70d(0xf0)][_0x15a70d(0x108)]=_0x2bd6c2||_0x1c25e1(_0x37301f,_0x15a70d(0xe7)),this[_0x15a70d(0xfc)]||(this[_0x15a70d(0x116)][_0x15a70d(0xf3)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x28c8(){const _0x368ad7=['prompt','87398EYQgnN','196336OMOInS','154nsyJrg','add','24oLGSdr','1002545kQXxrG','16MRoTtR','9924nyEEeR','children','set','104680LRyCoR','715482zzkAGg','fire','locale','413028qidBce','execute','94YFsnkT'];_0x28c8=function(){return _0x368ad7;};return _0x28c8();}(function(_0x49aa63,_0x2b50d4){const _0x5f39ee=_0x8354,_0x36d0a5=_0x49aa63();while(!![]){try{const _0x202dd1=parseInt(_0x5f39ee(0x1c0))/0x1+-parseInt(_0x5f39ee(0x1d0))/0x2*(-parseInt(_0x5f39ee(0x1c7))/0x3)+parseInt(_0x5f39ee(0x1ce))/0x4+parseInt(_0x5f39ee(0x1c5))/0x5+-parseInt(_0x5f39ee(0x1c4))/0x6*(parseInt(_0x5f39ee(0x1c1))/0x7)+-parseInt(_0x5f39ee(0x1c6))/0x8*(parseInt(_0x5f39ee(0x1cb))/0x9)+-parseInt(_0x5f39ee(0x1ca))/0xa*(parseInt(_0x5f39ee(0x1c2))/0xb);if(_0x202dd1===_0x2b50d4)break;else _0x36d0a5['push'](_0x36d0a5['shift']());}catch(_0x52784a){_0x36d0a5['push'](_0x36d0a5['shift']());}}}(_0x28c8,0x1f784));import{ListItemView as _0x3936ab,ButtonView as _0xa6fb0c,ButtonLabelView as _0x8a738a}from'ckeditor5/src/ui.js';function _0x8354(_0x45b2d6,_0x32f67f){const _0x28c815=_0x28c8();return _0x8354=function(_0x835497,_0x4b4a67){_0x835497=_0x835497-0x1c0;let _0x2d1844=_0x28c815[_0x835497];return _0x2d1844;},_0x8354(_0x45b2d6,_0x32f67f);}import{unescape as _0x3b87e4}from'es-toolkit/compat';export default class bt extends _0x3936ab{constructor(_0x49b0d9){const _0x39435b=_0x8354;super();const _0x2812ab=new _0x8a738a(),_0x6e785a=new _0xa6fb0c(this[_0x39435b(0x1cd)],_0x2812ab);this[_0x39435b(0x1c8)][_0x39435b(0x1c3)](_0x6e785a),_0x6e785a[_0x39435b(0x1c9)]({'label':_0x49b0d9[_0x39435b(0x1d1)],'withText':!0x0}),_0x6e785a['on'](_0x39435b(0x1cf),()=>{const _0x4985aa=_0x39435b;this[_0x4985aa(0x1cc)](_0x4985aa(0x1cf),{'value':_0x3b87e4(_0x49b0d9[_0x4985aa(0x1d1)])});});}}
23
+ (function(_0x1f0fee,_0x27c50a){const _0x3d896f=_0x5412,_0xc2bb98=_0x1f0fee();while(!![]){try{const _0x44ec7e=-parseInt(_0x3d896f(0x124))/0x1*(parseInt(_0x3d896f(0x11a))/0x2)+parseInt(_0x3d896f(0x11b))/0x3*(parseInt(_0x3d896f(0x117))/0x4)+-parseInt(_0x3d896f(0x11f))/0x5+parseInt(_0x3d896f(0x122))/0x6*(-parseInt(_0x3d896f(0x11e))/0x7)+parseInt(_0x3d896f(0x118))/0x8+parseInt(_0x3d896f(0x119))/0x9+parseInt(_0x3d896f(0x120))/0xa*(-parseInt(_0x3d896f(0x115))/0xb);if(_0x44ec7e===_0x27c50a)break;else _0xc2bb98['push'](_0xc2bb98['shift']());}catch(_0x4cc98b){_0xc2bb98['push'](_0xc2bb98['shift']());}}}(_0x211b,0x5d237));import{ListItemView as _0x224aea,ButtonView as _0x12f91b,ButtonLabelView as _0x3f388d}from'ckeditor5/src/ui.js';import{unescape as _0x4066ae}from'es-toolkit/compat';export default class bt extends _0x224aea{constructor(_0x534c72){const _0x3e1599=_0x5412;super();const _0x136ef1=new _0x3f388d(),_0x4211e9=new _0x12f91b(this[_0x3e1599(0x11c)],_0x136ef1);this[_0x3e1599(0x113)][_0x3e1599(0x11d)](_0x4211e9),_0x4211e9[_0x3e1599(0x116)]({'label':_0x534c72[_0x3e1599(0x114)],'withText':!0x0}),_0x4211e9['on'](_0x3e1599(0x123),()=>{const _0x16c52f=_0x3e1599;this[_0x16c52f(0x121)](_0x16c52f(0x123),{'value':_0x4066ae(_0x534c72[_0x16c52f(0x114)])});});}}function _0x5412(_0x6220e8,_0x3479b7){const _0x211b24=_0x211b();return _0x5412=function(_0x5412af,_0x31553a){_0x5412af=_0x5412af-0x113;let _0x76f8bd=_0x211b24[_0x5412af];return _0x76f8bd;},_0x5412(_0x6220e8,_0x3479b7);}function _0x211b(){const _0x4ea8fa=['750585lDSCVE','set','32316cJEuVb','4814384DWbvlQ','1235412QWcrKZ','13116vxSFWI','183ysNzYQ','locale','add','7ZfdnFC','2650530APBSZh','10mEmMLT','fire','764682jjJeXb','execute','19aKLMcp','children','prompt'];_0x211b=function(){return _0x4ea8fa;};return _0x211b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21a6d3=_0x139c;(function(_0x4e68d9,_0x29577c){const _0x5e2d99=_0x139c,_0x98ad8=_0x4e68d9();while(!![]){try{const _0x2252a3=parseInt(_0x5e2d99(0x1ed))/0x1*(parseInt(_0x5e2d99(0x1fc))/0x2)+parseInt(_0x5e2d99(0x1fe))/0x3+parseInt(_0x5e2d99(0x1e6))/0x4+parseInt(_0x5e2d99(0x1f0))/0x5*(parseInt(_0x5e2d99(0x1ec))/0x6)+parseInt(_0x5e2d99(0x1e8))/0x7*(-parseInt(_0x5e2d99(0x1e3))/0x8)+parseInt(_0x5e2d99(0x1f8))/0x9*(-parseInt(_0x5e2d99(0x1f6))/0xa)+-parseInt(_0x5e2d99(0x1f7))/0xb;if(_0x2252a3===_0x29577c)break;else _0x98ad8['push'](_0x98ad8['shift']());}catch(_0x4469b1){_0x98ad8['push'](_0x98ad8['shift']());}}}(_0x1468,0xe1213));import{ListView as _0x44d2c4,ListItemGroupView as _0x2232a3,ButtonView as _0x1b89b8}from'ckeditor5/src/ui.js';function _0x139c(_0x2ca973,_0x21012a){const _0x146847=_0x1468();return _0x139c=function(_0x139ca5,_0xaf00d6){_0x139ca5=_0x139ca5-0x1e3;let _0x1435b5=_0x146847[_0x139ca5];return _0x1435b5;},_0x139c(_0x2ca973,_0x21012a);}import{getTranslation as _0x10a365}from'../../utils/common-translations.js';export default class ft extends _0x44d2c4{[_0x21a6d3(0x1fa)];[_0x21a6d3(0x1ea)];constructor(_0x2f6f10){const _0x5acf7a=_0x21a6d3;super(_0x2f6f10),this[_0x5acf7a(0x1ea)]=this[_0x5acf7a(0x1fd)](),this[_0x5acf7a(0x1fa)]=new _0x2232a3(),this[_0x5acf7a(0x1fa)][_0x5acf7a(0x1ee)][_0x5acf7a(0x1eb)](this[_0x5acf7a(0x1ea)],0x1),this[_0x5acf7a(0x1fa)][_0x5acf7a(0x1e9)]=_0x10a365(_0x2f6f10,_0x5acf7a(0x1f9)),this[_0x5acf7a(0x1fa)][_0x5acf7a(0x1fb)][_0x5acf7a(0x1f2)](_0x5acf7a(0x1f3))['to'](this),this[_0x5acf7a(0x1fb)][_0x5acf7a(0x1eb)](this[_0x5acf7a(0x1fa)]);}[_0x21a6d3(0x1f1)](){const _0x5daf3e=_0x21a6d3;let _0x34d0d2=0x0;for(const _0x1a535c of this[_0x5daf3e(0x1fb)])_0x34d0d2+=_0x1a535c[_0x5daf3e(0x1fb)][_0x5daf3e(0x1f5)];return{'resultsCount':_0x34d0d2,'totalItemsCount':_0x34d0d2};}[_0x21a6d3(0x1fd)](){const _0x48336c=_0x21a6d3,_0x515d27=this[_0x48336c(0x1e4)],_0x548409=new _0x1b89b8(this[_0x48336c(0x1e4)]);return _0x548409[_0x48336c(0x1e7)]({'label':'('+_0x10a365(_0x515d27,_0x48336c(0x1e5))+')','withText':!0x0}),_0x548409['on'](_0x48336c(0x1f3),()=>this[_0x48336c(0x1ef)](_0x48336c(0x1f4))),_0x548409;}}function _0x1468(){const _0x4214b5=['5mQalwj','filter','delegate','execute','clearHistory','length','138310FfkEPL','2543915EaPbiN','585WFHTFD','Prompt\x20history','historyGroupView','items','14pyyagj','_createClearHistoryButton','9489bPLiRR','6679672rqoXVl','locale','Clear','496628ZTTtyZ','set','7CbXRmQ','label','clearHistoryButton','add','6191214xDwKId','246883kzsbsj','children','fire'];_0x1468=function(){return _0x4214b5;};return _0x1468();}
23
+ const _0x1ee97f=_0x36c3;(function(_0x4536c4,_0x125169){const _0xc8cf89=_0x36c3,_0xbba8ef=_0x4536c4();while(!![]){try{const _0x4dd51f=-parseInt(_0xc8cf89(0x1f8))/0x1*(-parseInt(_0xc8cf89(0x1fe))/0x2)+-parseInt(_0xc8cf89(0x1eb))/0x3*(-parseInt(_0xc8cf89(0x1f6))/0x4)+-parseInt(_0xc8cf89(0x1f7))/0x5+parseInt(_0xc8cf89(0x201))/0x6+-parseInt(_0xc8cf89(0x1ff))/0x7+parseInt(_0xc8cf89(0x1fd))/0x8*(parseInt(_0xc8cf89(0x1ee))/0x9)+-parseInt(_0xc8cf89(0x1f9))/0xa;if(_0x4dd51f===_0x125169)break;else _0xbba8ef['push'](_0xbba8ef['shift']());}catch(_0x2b13cc){_0xbba8ef['push'](_0xbba8ef['shift']());}}}(_0x50a8,0xbd5d9));function _0x36c3(_0x61dc23,_0x4f9620){const _0x50a848=_0x50a8();return _0x36c3=function(_0x36c37e,_0x2ef637){_0x36c37e=_0x36c37e-0x1ea;let _0x56a9b8=_0x50a848[_0x36c37e];return _0x56a9b8;},_0x36c3(_0x61dc23,_0x4f9620);}import{ListView as _0x419b13,ListItemGroupView as _0x9593b4,ButtonView as _0x543ea1}from'ckeditor5/src/ui.js';import{getTranslation as _0x1edd5b}from'../../utils/common-translations.js';export default class ft extends _0x419b13{[_0x1ee97f(0x204)];[_0x1ee97f(0x1fc)];constructor(_0x38d646){const _0x58a8e5=_0x1ee97f;super(_0x38d646),this[_0x58a8e5(0x1fc)]=this[_0x58a8e5(0x200)](),this[_0x58a8e5(0x204)]=new _0x9593b4(),this[_0x58a8e5(0x204)][_0x58a8e5(0x203)][_0x58a8e5(0x1f1)](this[_0x58a8e5(0x1fc)],0x1),this[_0x58a8e5(0x204)][_0x58a8e5(0x1f0)]=_0x1edd5b(_0x38d646,_0x58a8e5(0x1f3)),this[_0x58a8e5(0x204)][_0x58a8e5(0x1ed)][_0x58a8e5(0x202)](_0x58a8e5(0x1f4))['to'](this),this[_0x58a8e5(0x1ed)][_0x58a8e5(0x1f1)](this[_0x58a8e5(0x204)]);}[_0x1ee97f(0x1ef)](){const _0x53b5e2=_0x1ee97f;let _0x58c1eb=0x0;for(const _0x2ad757 of this[_0x53b5e2(0x1ed)])_0x58c1eb+=_0x2ad757[_0x53b5e2(0x1ed)][_0x53b5e2(0x1f2)];return{'resultsCount':_0x58c1eb,'totalItemsCount':_0x58c1eb};}[_0x1ee97f(0x200)](){const _0x469429=_0x1ee97f,_0x5b781d=this[_0x469429(0x1f5)],_0x278951=new _0x543ea1(this[_0x469429(0x1f5)]);return _0x278951[_0x469429(0x1fa)]({'label':'('+_0x1edd5b(_0x5b781d,_0x469429(0x1fb))+')','withText':!0x0}),_0x278951['on'](_0x469429(0x1f4),()=>this[_0x469429(0x1ea)](_0x469429(0x1ec))),_0x278951;}}function _0x50a8(){const _0x3d8b71=['200148RRXPSd','delegate','children','historyGroupView','fire','125334ZwUQcg','clearHistory','items','18DHTaCu','filter','label','add','length','Prompt\x20history','execute','locale','104HKieuE','4608050UoMhPZ','198782tdyrst','4118690fOvSJF','set','Clear','clearHistoryButton','2744656MWCIQm','6iOpBBk','2050832MlQqRs','_createClearHistoryButton'];_0x50a8=function(){return _0x3d8b71;};return _0x50a8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fe9ad=_0x1e18;function _0x1e18(_0x35eb4c,_0x31ec45){const _0x4f5915=_0x4f59();return _0x1e18=function(_0x1e1887,_0x4deea9){_0x1e1887=_0x1e1887-0x105;let _0x2aedd0=_0x4f5915[_0x1e1887];return _0x2aedd0;},_0x1e18(_0x35eb4c,_0x31ec45);}(function(_0x32af5b,_0x52e02e){const _0x7934c1=_0x1e18,_0x320eac=_0x32af5b();while(!![]){try{const _0x51f1e7=-parseInt(_0x7934c1(0x10c))/0x1+parseInt(_0x7934c1(0x118))/0x2+parseInt(_0x7934c1(0x112))/0x3+parseInt(_0x7934c1(0x114))/0x4+-parseInt(_0x7934c1(0x10d))/0x5+-parseInt(_0x7934c1(0x107))/0x6*(-parseInt(_0x7934c1(0x10a))/0x7)+-parseInt(_0x7934c1(0x110))/0x8*(-parseInt(_0x7934c1(0x10e))/0x9);if(_0x51f1e7===_0x52e02e)break;else _0x320eac['push'](_0x320eac['shift']());}catch(_0x222343){_0x320eac['push'](_0x320eac['shift']());}}}(_0x4f59,0x5d2c2));import{Collection as _0x578ed8}from'ckeditor5/src/utils.js';function _0x4f59(){const _0x2f847d=['toLowerCase','remove','addMany','_saveToSessionStorage','setItem','add','prompt','1524WfeGJa','stringify','trim','6643UQOFVw','map','668958yqUJuk','3256590TeKOLS','4419GAietP','CKEditor/AIFormView/PromptHistory','9512pmwqiY','length','1487973ncwboB','parse','1103160httxPX','last','_loadFromSessionStorage','getItem','210568NQCLiT'];_0x4f59=function(){return _0x2f847d;};return _0x4f59();}const ts=_0x2fe9ad(0x10f);export default class wt extends _0x578ed8{constructor(){const _0x217558=_0x2fe9ad;super(),this[_0x217558(0x116)](),this['on'](_0x217558(0x105),(_0xd9ea7d,_0x5125ac)=>{const _0x5b96e9=_0x217558,_0x5d34e3=os(_0x5125ac[_0x5b96e9(0x106)]);for(const _0x31ec9d of this)if(_0x31ec9d!=_0x5125ac&&os(_0x31ec9d[_0x5b96e9(0x106)])===_0x5d34e3){this[_0x5b96e9(0x11a)](_0x31ec9d);break;}this[_0x5b96e9(0x111)]>0x14&&this[_0x5b96e9(0x11a)](this[_0x5b96e9(0x115)]),this[_0x5b96e9(0x11c)]();}),this['on'](_0x217558(0x11a),()=>{const _0x4ff3f3=_0x217558;this[_0x4ff3f3(0x11c)]();});}[_0x2fe9ad(0x116)](){const _0x170494=_0x2fe9ad,_0x30f3dc=sessionStorage[_0x170494(0x117)](ts)||'[]';this[_0x170494(0x11b)](JSON[_0x170494(0x113)](_0x30f3dc));}[_0x2fe9ad(0x11c)](){const _0x3ade10=_0x2fe9ad;sessionStorage[_0x3ade10(0x11d)](ts,JSON[_0x3ade10(0x108)](this[_0x3ade10(0x10b)](_0x3d5a00=>_0x3d5a00)));}}function os(_0x2bc396){const _0x4896dd=_0x2fe9ad;return _0x2bc396[_0x4896dd(0x119)]()[_0x4896dd(0x109)]();}
23
+ const _0x25ffef=_0x24f4;(function(_0x38cf3f,_0x3653b7){const _0x154455=_0x24f4,_0x2b05ac=_0x38cf3f();while(!![]){try{const _0x46dd45=parseInt(_0x154455(0x153))/0x1+parseInt(_0x154455(0x14b))/0x2*(-parseInt(_0x154455(0x15d))/0x3)+parseInt(_0x154455(0x146))/0x4*(parseInt(_0x154455(0x15c))/0x5)+parseInt(_0x154455(0x14d))/0x6*(parseInt(_0x154455(0x148))/0x7)+parseInt(_0x154455(0x15f))/0x8*(-parseInt(_0x154455(0x160))/0x9)+-parseInt(_0x154455(0x150))/0xa+-parseInt(_0x154455(0x159))/0xb*(-parseInt(_0x154455(0x158))/0xc);if(_0x46dd45===_0x3653b7)break;else _0x2b05ac['push'](_0x2b05ac['shift']());}catch(_0x402aeb){_0x2b05ac['push'](_0x2b05ac['shift']());}}}(_0x5637,0xa5127));import{Collection as _0x2aada4}from'ckeditor5/src/utils.js';function _0x24f4(_0x886cba,_0x3b335a){const _0x56379f=_0x5637();return _0x24f4=function(_0x24f418,_0x5c4035){_0x24f418=_0x24f418-0x146;let _0xdf9bf4=_0x56379f[_0x24f418];return _0xdf9bf4;},_0x24f4(_0x886cba,_0x3b335a);}const ts=_0x25ffef(0x155);function _0x5637(){const _0x592e56=['8548150WNfYYq','length','stringify','2530ZjZNZc','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','remove','prompt','3985356YVkSXl','22atoHUf','last','getItem','2333030ZsSELT','123CvSBVZ','trim','120GnRWeK','61623IGUbGR','map','4cIcgqz','toLowerCase','203JZDsdO','setItem','parse','14372MexjsV','_loadFromSessionStorage','164466ypEQhh','addMany','add'];_0x5637=function(){return _0x592e56;};return _0x5637();}export default class wt extends _0x2aada4{constructor(){const _0x23fb1d=_0x25ffef;super(),this[_0x23fb1d(0x14c)](),this['on'](_0x23fb1d(0x14f),(_0x4f50b9,_0x384fa9)=>{const _0x373d9c=_0x23fb1d,_0x303695=os(_0x384fa9[_0x373d9c(0x157)]);for(const _0x39f618 of this)if(_0x39f618!=_0x384fa9&&os(_0x39f618[_0x373d9c(0x157)])===_0x303695){this[_0x373d9c(0x156)](_0x39f618);break;}this[_0x373d9c(0x151)]>0x14&&this[_0x373d9c(0x156)](this[_0x373d9c(0x15a)]),this[_0x373d9c(0x154)]();}),this['on'](_0x23fb1d(0x156),()=>{const _0x58e36c=_0x23fb1d;this[_0x58e36c(0x154)]();});}[_0x25ffef(0x14c)](){const _0x4dfd2d=_0x25ffef,_0x2ab0db=sessionStorage[_0x4dfd2d(0x15b)](ts)||'[]';this[_0x4dfd2d(0x14e)](JSON[_0x4dfd2d(0x14a)](_0x2ab0db));}[_0x25ffef(0x154)](){const _0x26eaa1=_0x25ffef;sessionStorage[_0x26eaa1(0x149)](ts,JSON[_0x26eaa1(0x152)](this[_0x26eaa1(0x161)](_0x54d520=>_0x54d520)));}}function os(_0x107769){const _0x45ac58=_0x25ffef;return _0x107769[_0x45ac58(0x147)]()[_0x45ac58(0x15e)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25f1d3=_0xe44b;(function(_0x30747d,_0x161cab){const _0xfe7038=_0xe44b,_0xef294a=_0x30747d();while(!![]){try{const _0x2ac981=-parseInt(_0xfe7038(0x1d7))/0x1+parseInt(_0xfe7038(0x1b3))/0x2*(-parseInt(_0xfe7038(0x1b5))/0x3)+-parseInt(_0xfe7038(0x1c0))/0x4*(-parseInt(_0xfe7038(0x1cb))/0x5)+parseInt(_0xfe7038(0x1b8))/0x6*(-parseInt(_0xfe7038(0x1c5))/0x7)+-parseInt(_0xfe7038(0x1d6))/0x8*(-parseInt(_0xfe7038(0x1ba))/0x9)+-parseInt(_0xfe7038(0x1d3))/0xa*(-parseInt(_0xfe7038(0x1c4))/0xb)+parseInt(_0xfe7038(0x1ce))/0xc;if(_0x2ac981===_0x161cab)break;else _0xef294a['push'](_0xef294a['shift']());}catch(_0x1890fe){_0xef294a['push'](_0xef294a['shift']());}}}(_0x78bf,0x83ef1));function _0x78bf(){const _0x4d3617=['values','showUI','isEnabled','change:isEnabled','1356320rOVLWc','plugins','includes','5832384zqXpNJ','ai.aiAssistant.disabledElements','config','model','change:_hasContext','8492210oDOaHj','getSelectedBlocks','from','8zBKkpC','855141pXVMWk','name','isEmpty','refresh','hasContent','document','_commandDefinitions','execute','custom','getItems','764WTMeqm','isCollapsed','2430OQVXar','getRanges','element','10254BAcbCt','enabledCommandsIds','2074545rFlSie','length','editor','add','requiresContent','selection','8neiwWZ','set','get','getFirstRange','11WKzRjD','1652LTcbKL','_hasContext'];_0x78bf=function(){return _0x4d3617;};return _0x78bf();}import{Command as _0x37b889}from'ckeditor5/src/core.js';function _0xe44b(_0x442bfb,_0x1b13c7){const _0x78bf90=_0x78bf();return _0xe44b=function(_0xe44b78,_0x54aad6){_0xe44b78=_0xe44b78-0x1b2;let _0x106446=_0x78bf90[_0xe44b78];return _0x106446;},_0xe44b(_0x442bfb,_0x1b13c7);}import _0xf1f005 from'../aiassistantui.js';export default class j extends _0x37b889{[_0x25f1d3(0x1dd)];constructor(_0x62c1d2,_0x3eec34){const _0x27bee3=_0x25f1d3;super(_0x62c1d2),this[_0x27bee3(0x1dd)]=_0x3eec34,this[_0x27bee3(0x1c1)](_0x27bee3(0x1b9),[]),this['on'](_0x27bee3(0x1d2),(_0x11b288,_0x1dadfa,_0xdddc)=>{const _0x2f6ff7=_0x27bee3;this[_0x2f6ff7(0x1c9)]&&(this[_0x2f6ff7(0x1b9)]=G(this[_0x2f6ff7(0x1dd)],_0xdddc));}),this[_0x27bee3(0x1c1)](_0x27bee3(0x1c6),!0x1),this['on'](_0x27bee3(0x1ca),(_0x535d1c,_0xc1a3fc,_0x5bd899)=>{const _0x5f0281=_0x27bee3;this[_0x5f0281(0x1b9)]=_0x5bd899?G(this[_0x5f0281(0x1dd)],this[_0x5f0281(0x1c6)]):[];});}[_0x25f1d3(0x1da)](){const _0x11aa4=_0x25f1d3,_0x195554=this[_0x11aa4(0x1bc)][_0x11aa4(0x1d1)];this[_0x11aa4(0x1c6)]=function(_0x2c010f){const _0x1bdc0b=_0x11aa4,_0x529e68=_0x2c010f[_0x1bdc0b(0x1dc)][_0x1bdc0b(0x1bf)];return _0x529e68[_0x1bdc0b(0x1b4)]?0x0!==[..._0x529e68[_0x1bdc0b(0x1d4)]()][_0x1bdc0b(0x1bb)]&&![..._0x529e68[_0x1bdc0b(0x1d4)]()][0x0][_0x1bdc0b(0x1d9)]:!!_0x2c010f[_0x1bdc0b(0x1db)](_0x529e68[_0x1bdc0b(0x1c3)]());}(_0x195554);const _0x5586a0=_0x195554[_0x11aa4(0x1dc)][_0x11aa4(0x1bf)],_0xaba3d5=this[_0x11aa4(0x1bc)][_0x11aa4(0x1d0)][_0x11aa4(0x1c2)](_0x11aa4(0x1cf));for(const _0x23e627 of _0x5586a0[_0x11aa4(0x1b6)]())for(const _0x4fc7b8 of _0x23e627[_0x11aa4(0x1b2)]())if(_0x4fc7b8['is'](_0x11aa4(0x1b7))&&_0xaba3d5[_0x11aa4(0x1cd)](_0x4fc7b8[_0x11aa4(0x1d8)]))return void(this[_0x11aa4(0x1c9)]=!0x1);this[_0x11aa4(0x1c9)]=!0x0;}[_0x25f1d3(0x1de)](_0x46a6d9='',_0x2ce8c5='',_0x37bfa9=_0x25f1d3(0x1df)){const _0xb5dd35=_0x25f1d3;this[_0xb5dd35(0x1bc)][_0xb5dd35(0x1cc)][_0xb5dd35(0x1c2)](_0xf1f005)[_0xb5dd35(0x1c8)](_0x46a6d9,_0x2ce8c5,_0x37bfa9);}}function G(_0x2b5dc2,_0x52811f){const _0x212f0b=_0x25f1d3,_0x10e2a4=new Set();for(const _0xac9108 of _0x2b5dc2[_0x212f0b(0x1c7)]())(_0x52811f||!0x1===_0xac9108[_0x212f0b(0x1be)])&&_0x10e2a4[_0x212f0b(0x1bd)](_0xac9108['id']);return Array[_0x212f0b(0x1d5)](_0x10e2a4);}
23
+ const _0x3445a3=_0x3d3a;(function(_0x105569,_0x23310c){const _0x5a8dca=_0x3d3a,_0x12e578=_0x105569();while(!![]){try{const _0x3d6e44=-parseInt(_0x5a8dca(0x18f))/0x1*(parseInt(_0x5a8dca(0x17a))/0x2)+parseInt(_0x5a8dca(0x198))/0x3*(-parseInt(_0x5a8dca(0x190))/0x4)+parseInt(_0x5a8dca(0x184))/0x5*(parseInt(_0x5a8dca(0x197))/0x6)+parseInt(_0x5a8dca(0x182))/0x7+-parseInt(_0x5a8dca(0x18c))/0x8+parseInt(_0x5a8dca(0x19d))/0x9+parseInt(_0x5a8dca(0x17f))/0xa;if(_0x3d6e44===_0x23310c)break;else _0x12e578['push'](_0x12e578['shift']());}catch(_0x4af718){_0x12e578['push'](_0x12e578['shift']());}}}(_0xba48,0xc0cef));import{Command as _0x22f183}from'ckeditor5/src/core.js';import _0x1fe7c8 from'../aiassistantui.js';function _0x3d3a(_0xda430f,_0x4dbeb7){const _0xba4899=_0xba48();return _0x3d3a=function(_0x3d3a91,_0x2df58a){_0x3d3a91=_0x3d3a91-0x17a;let _0x7d23c9=_0xba4899[_0x3d3a91];return _0x7d23c9;},_0x3d3a(_0xda430f,_0x4dbeb7);}export default class j extends _0x22f183{[_0x3445a3(0x1a1)];constructor(_0x243741,_0x2f8446){const _0x36682d=_0x3445a3;super(_0x243741),this[_0x36682d(0x1a1)]=_0x2f8446,this[_0x36682d(0x196)](_0x36682d(0x199),[]),this['on'](_0x36682d(0x195),(_0x274025,_0x12a1c9,_0x3657aa)=>{const _0x5e4a36=_0x36682d;this[_0x5e4a36(0x1a5)]&&(this[_0x5e4a36(0x199)]=G(this[_0x5e4a36(0x1a1)],_0x3657aa));}),this[_0x36682d(0x196)](_0x36682d(0x17e),!0x1),this['on'](_0x36682d(0x1a3),(_0x11c242,_0x565799,_0x3ce74f)=>{const _0x5a9ffd=_0x36682d;this[_0x5a9ffd(0x199)]=_0x3ce74f?G(this[_0x5a9ffd(0x1a1)],this[_0x5a9ffd(0x17e)]):[];});}[_0x3445a3(0x18a)](){const _0x3e4091=_0x3445a3,_0x6fe9cf=this[_0x3e4091(0x19a)][_0x3e4091(0x188)];this[_0x3e4091(0x17e)]=function(_0x405dab){const _0x4b31b4=_0x3e4091,_0x354b5c=_0x405dab[_0x4b31b4(0x185)][_0x4b31b4(0x1a4)];return _0x354b5c[_0x4b31b4(0x1a0)]?0x0!==[..._0x354b5c[_0x4b31b4(0x17c)]()][_0x4b31b4(0x18d)]&&![..._0x354b5c[_0x4b31b4(0x17c)]()][0x0][_0x4b31b4(0x193)]:!!_0x405dab[_0x4b31b4(0x194)](_0x354b5c[_0x4b31b4(0x186)]());}(_0x6fe9cf);const _0x20f6c5=_0x6fe9cf[_0x3e4091(0x185)][_0x3e4091(0x1a4)],_0x5276db=this[_0x3e4091(0x19a)][_0x3e4091(0x183)][_0x3e4091(0x18b)](_0x3e4091(0x192));for(const _0x3fe7b3 of _0x20f6c5[_0x3e4091(0x189)]())for(const _0x378312 of _0x3fe7b3[_0x3e4091(0x19b)]())if(_0x378312['is'](_0x3e4091(0x19f))&&_0x5276db[_0x3e4091(0x19e)](_0x378312[_0x3e4091(0x180)]))return void(this[_0x3e4091(0x1a5)]=!0x1);this[_0x3e4091(0x1a5)]=!0x0;}[_0x3445a3(0x19c)](_0x3164da='',_0x55ea01='',_0xd2cf13=_0x3445a3(0x181)){const _0x5224fe=_0x3445a3;this[_0x5224fe(0x19a)][_0x5224fe(0x17b)][_0x5224fe(0x18b)](_0x1fe7c8)[_0x5224fe(0x187)](_0x3164da,_0x55ea01,_0xd2cf13);}}function G(_0x2a1145,_0x322c82){const _0x3e8d37=_0x3445a3,_0x29418b=new Set();for(const _0x1b542e of _0x2a1145[_0x3e8d37(0x191)]())(_0x322c82||!0x1===_0x1b542e[_0x3e8d37(0x1a2)])&&_0x29418b[_0x3e8d37(0x18e)](_0x1b542e['id']);return Array[_0x3e8d37(0x17d)](_0x29418b);}function _0xba48(){const _0x3157a=['change:_hasContext','set','6Uicpwv','1215sgpaTT','enabledCommandsIds','editor','getItems','execute','9375786LgHWnf','includes','element','isCollapsed','_commandDefinitions','requiresContent','change:isEnabled','selection','isEnabled','432862HDhLXb','plugins','getSelectedBlocks','from','_hasContext','7236570wPlXcU','name','custom','9113349gEYRNR','config','2978615IXsRjm','document','getFirstRange','showUI','model','getRanges','refresh','get','12092880QugyBu','length','add','3ezrKsp','7036aBrfzS','values','ai.aiAssistant.disabledElements','isEmpty','hasContent'];_0xba48=function(){return _0x3157a;};return _0xba48();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xc411b9,_0x256b2c,_0x21372b){const t=_0xc411b9['t'];switch(_0x256b2c){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',_0x21372b);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x21372b);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'},_0x21372b);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 _0x256b2c;}}
23
+ export function getTranslation(_0x4f9009,_0x39d4b2,_0x48e117){const t=_0x4f9009['t'];switch(_0x39d4b2){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',_0x48e117);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x48e117);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'},_0x48e117);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 _0x39d4b2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x5e478b,_0x10b167){const _0x5f2700=(0x0,_0x10b167['t'])('Other');return _0x5e478b['length']?'groupId'in _0x5e478b[0x0]?_0x5e478b:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5f2700,'order':0x1/0x0,'commands':_0x5e478b}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5f2700,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x4f2ce7,_0x446f57){const _0x574efc=(0x0,_0x446f57['t'])('Other');return _0x4f2ce7['length']?'groupId'in _0x4f2ce7[0x0]?_0x4f2ce7:[{'groupId':'_ungrouppedCommands','groupLabel':_0x574efc,'order':0x1/0x0,'commands':_0x4f2ce7}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x574efc,'order':0x1/0x0,'commands':[]}];}