@ckeditor/ckeditor5-ai 44.3.0 → 45.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/ai.js +1 -1
  3. package/build/translations/be.js +1 -0
  4. package/ckeditor5-metadata.json +2 -2
  5. package/dist/index.js +2 -2
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.d.ts +8 -0
  15. package/dist/translations/be.js +23 -0
  16. package/dist/translations/be.umd.js +23 -0
  17. package/dist/translations/bg.js +1 -1
  18. package/dist/translations/bg.umd.js +1 -1
  19. package/dist/translations/bn.js +1 -1
  20. package/dist/translations/bn.umd.js +1 -1
  21. package/dist/translations/bs.js +1 -1
  22. package/dist/translations/bs.umd.js +1 -1
  23. package/dist/translations/ca.js +1 -1
  24. package/dist/translations/ca.umd.js +1 -1
  25. package/dist/translations/cs.js +1 -1
  26. package/dist/translations/cs.umd.js +1 -1
  27. package/dist/translations/da.js +1 -1
  28. package/dist/translations/da.umd.js +1 -1
  29. package/dist/translations/de-ch.js +1 -1
  30. package/dist/translations/de-ch.umd.js +1 -1
  31. package/dist/translations/de.js +1 -1
  32. package/dist/translations/de.umd.js +1 -1
  33. package/dist/translations/el.js +1 -1
  34. package/dist/translations/el.umd.js +1 -1
  35. package/dist/translations/en-au.js +1 -1
  36. package/dist/translations/en-au.umd.js +1 -1
  37. package/dist/translations/en-gb.js +1 -1
  38. package/dist/translations/en-gb.umd.js +1 -1
  39. package/dist/translations/en.js +1 -1
  40. package/dist/translations/en.umd.js +1 -1
  41. package/dist/translations/eo.js +1 -1
  42. package/dist/translations/eo.umd.js +1 -1
  43. package/dist/translations/es-co.js +1 -1
  44. package/dist/translations/es-co.umd.js +1 -1
  45. package/dist/translations/es.js +1 -1
  46. package/dist/translations/es.umd.js +1 -1
  47. package/dist/translations/et.js +1 -1
  48. package/dist/translations/et.umd.js +1 -1
  49. package/dist/translations/eu.js +1 -1
  50. package/dist/translations/eu.umd.js +1 -1
  51. package/dist/translations/fa.js +1 -1
  52. package/dist/translations/fa.umd.js +1 -1
  53. package/dist/translations/fi.js +1 -1
  54. package/dist/translations/fi.umd.js +1 -1
  55. package/dist/translations/fr.js +1 -1
  56. package/dist/translations/fr.umd.js +1 -1
  57. package/dist/translations/gl.js +1 -1
  58. package/dist/translations/gl.umd.js +1 -1
  59. package/dist/translations/gu.js +1 -1
  60. package/dist/translations/gu.umd.js +1 -1
  61. package/dist/translations/he.js +1 -1
  62. package/dist/translations/he.umd.js +1 -1
  63. package/dist/translations/hi.js +1 -1
  64. package/dist/translations/hi.umd.js +1 -1
  65. package/dist/translations/hr.js +1 -1
  66. package/dist/translations/hr.umd.js +1 -1
  67. package/dist/translations/hu.js +1 -1
  68. package/dist/translations/hu.umd.js +1 -1
  69. package/dist/translations/hy.js +1 -1
  70. package/dist/translations/hy.umd.js +1 -1
  71. package/dist/translations/id.js +1 -1
  72. package/dist/translations/id.umd.js +1 -1
  73. package/dist/translations/it.js +1 -1
  74. package/dist/translations/it.umd.js +1 -1
  75. package/dist/translations/ja.js +1 -1
  76. package/dist/translations/ja.umd.js +1 -1
  77. package/dist/translations/jv.js +1 -1
  78. package/dist/translations/jv.umd.js +1 -1
  79. package/dist/translations/kk.js +1 -1
  80. package/dist/translations/kk.umd.js +1 -1
  81. package/dist/translations/km.js +1 -1
  82. package/dist/translations/km.umd.js +1 -1
  83. package/dist/translations/kn.js +1 -1
  84. package/dist/translations/kn.umd.js +1 -1
  85. package/dist/translations/ko.js +1 -1
  86. package/dist/translations/ko.umd.js +1 -1
  87. package/dist/translations/ku.js +1 -1
  88. package/dist/translations/ku.umd.js +1 -1
  89. package/dist/translations/lt.js +1 -1
  90. package/dist/translations/lt.umd.js +1 -1
  91. package/dist/translations/lv.js +1 -1
  92. package/dist/translations/lv.umd.js +1 -1
  93. package/dist/translations/ms.js +1 -1
  94. package/dist/translations/ms.umd.js +1 -1
  95. package/dist/translations/nb.js +1 -1
  96. package/dist/translations/nb.umd.js +1 -1
  97. package/dist/translations/ne.js +1 -1
  98. package/dist/translations/ne.umd.js +1 -1
  99. package/dist/translations/nl.js +1 -1
  100. package/dist/translations/nl.umd.js +1 -1
  101. package/dist/translations/no.js +1 -1
  102. package/dist/translations/no.umd.js +1 -1
  103. package/dist/translations/oc.js +1 -1
  104. package/dist/translations/oc.umd.js +1 -1
  105. package/dist/translations/pl.js +1 -1
  106. package/dist/translations/pl.umd.js +1 -1
  107. package/dist/translations/pt-br.js +1 -1
  108. package/dist/translations/pt-br.umd.js +1 -1
  109. package/dist/translations/pt.js +1 -1
  110. package/dist/translations/pt.umd.js +1 -1
  111. package/dist/translations/ro.js +1 -1
  112. package/dist/translations/ro.umd.js +1 -1
  113. package/dist/translations/ru.js +1 -1
  114. package/dist/translations/ru.umd.js +1 -1
  115. package/dist/translations/si.js +1 -1
  116. package/dist/translations/si.umd.js +1 -1
  117. package/dist/translations/sk.js +1 -1
  118. package/dist/translations/sk.umd.js +1 -1
  119. package/dist/translations/sl.js +1 -1
  120. package/dist/translations/sl.umd.js +1 -1
  121. package/dist/translations/sq.js +1 -1
  122. package/dist/translations/sq.umd.js +1 -1
  123. package/dist/translations/sr-latn.js +1 -1
  124. package/dist/translations/sr-latn.umd.js +1 -1
  125. package/dist/translations/sr.js +1 -1
  126. package/dist/translations/sr.umd.js +1 -1
  127. package/dist/translations/sv.js +1 -1
  128. package/dist/translations/sv.umd.js +1 -1
  129. package/dist/translations/th.js +1 -1
  130. package/dist/translations/th.umd.js +1 -1
  131. package/dist/translations/ti.js +1 -1
  132. package/dist/translations/ti.umd.js +1 -1
  133. package/dist/translations/tk.js +1 -1
  134. package/dist/translations/tk.umd.js +1 -1
  135. package/dist/translations/tr.js +1 -1
  136. package/dist/translations/tr.umd.js +1 -1
  137. package/dist/translations/tt.js +1 -1
  138. package/dist/translations/tt.umd.js +1 -1
  139. package/dist/translations/ug.js +1 -1
  140. package/dist/translations/ug.umd.js +1 -1
  141. package/dist/translations/uk.js +1 -1
  142. package/dist/translations/uk.umd.js +1 -1
  143. package/dist/translations/ur.js +1 -1
  144. package/dist/translations/ur.umd.js +1 -1
  145. package/dist/translations/uz.js +1 -1
  146. package/dist/translations/uz.umd.js +1 -1
  147. package/dist/translations/vi.js +1 -1
  148. package/dist/translations/vi.umd.js +1 -1
  149. package/dist/translations/zh-cn.js +1 -1
  150. package/dist/translations/zh-cn.umd.js +1 -1
  151. package/dist/translations/zh.js +1 -1
  152. package/dist/translations/zh.umd.js +1 -1
  153. package/lang/translations/be.po +228 -0
  154. package/package.json +10 -10
  155. package/src/adapters/aiadapter.js +1 -1
  156. package/src/adapters/aitextadapter.js +1 -1
  157. package/src/adapters/awstextadapter.js +1 -1
  158. package/src/adapters/openaitextadapter.js +1 -1
  159. package/src/aiassistant.js +1 -1
  160. package/src/aiassistantediting.js +1 -1
  161. package/src/aiassistantui.js +1 -1
  162. package/src/index.js +1 -1
  163. package/src/legacyerrors.js +1 -1
  164. package/src/ui/aiassistantcontroller.js +2 -2
  165. package/src/ui/form/aiformcontentarea.js +1 -1
  166. package/src/ui/form/aiformerrorview.d.ts +1 -4
  167. package/src/ui/form/aiformerrorview.js +1 -1
  168. package/src/ui/form/aiformpromptview.js +1 -1
  169. package/src/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/ui/form/aiformview.js +1 -1
  171. package/src/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/ui/form/aihistorylistview.js +1 -1
  173. package/src/ui/form/prompthistory.js +1 -1
  174. package/src/ui/showaiassistantcommand.js +1 -1
  175. package/src/utils/common-translations.js +1 -1
  176. package/src/utils/normalizecommandsconfig.js +1 -1
  177. package/theme/icons/copy.svg +0 -1
  178. package/theme/icons/error.svg +0 -1
  179. package/theme/icons/magic-wand.svg +0 -1
  180. package/theme/icons/submit.svg +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1031a2=_0x4d77;(function(_0x4bbe88,_0x59f350){const _0x234b51=_0x4d77,_0x4be4d0=_0x4bbe88();while(!![]){try{const _0x47b0e3=parseInt(_0x234b51(0xda))/0x1*(parseInt(_0x234b51(0x127))/0x2)+-parseInt(_0x234b51(0x11d))/0x3+parseInt(_0x234b51(0xd5))/0x4*(-parseInt(_0x234b51(0xd9))/0x5)+-parseInt(_0x234b51(0xfd))/0x6*(-parseInt(_0x234b51(0xed))/0x7)+parseInt(_0x234b51(0xdc))/0x8+parseInt(_0x234b51(0xd7))/0x9+-parseInt(_0x234b51(0x126))/0xa;if(_0x47b0e3===_0x59f350)break;else _0x4be4d0['push'](_0x4be4d0['shift']());}catch(_0x5c0e8a){_0x4be4d0['push'](_0x4be4d0['shift']());}}}(_0x4238,0xf1874));import{FocusTracker as _0x22f447,KeystrokeHandler as _0x57b5db}from'ckeditor5/src/utils.js';function _0x4238(){const _0x98fd9e=['historyGroupView','value','Empty\x20history','REPLACE','Ask\x20AI\x20to\x20edit\x20or\x20generate','toolbar','tryAgainButton','tab','setTemplate','finishProcessing','replaceButton','element','search','insertButton','contentArea','submit','createCollection','ck-hidden','startProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','ck-ai-form-content','div','shift\x20+\x20tab','copyButtonView','prompt','fire','1034448qUGCac','delegate','stopProcessing','AI_ERROR_FAILED','execute','Ask\x20AI\x20to\x20improve\x20generated\x20text','text','add','set','21292480MFPekC','7852bhQxQJ','insertContentBelow','isVisible','260368whICcB','fieldView','14658516hRMsag','high','80XMmELa','103hVsvoV','focusFirst','6587048uOrTJF','_focusables','clear','keystrokes','clearHistory','handleError','bind','_createToolbar','queryView','render','stopButton','_promptHistory','isProcessing','label','isEnabled','mainAction','trim','371bVIZKK','ck-ai-form','isError','items','_createPromptView','submitPrompt','tryAgainEvent','_createHistoryView','reset','errorView','chain','promptView','focusLast','listenTo','focusTracker','bindTemplate','186606fYrZVa','bindTo','focusCycler','focus','replaceContent','locale'];_0x4238=function(){return _0x98fd9e;};return _0x4238();}import{View as _0x37c9ac,FocusCycler as _0x5a4769,createLabeledTextarea as _0x54e3e7}from'ckeditor5/src/ui.js';import _0x26486b,{AIFormToolbarViewMainActionLabel as _0x47a9c0}from'./aiformtoolbarview.js';import _0x364fc7 from'./aiformcontentarea.js';import _0x5055d2 from'./aiformerrorview.js';import _0x2fb61d from'./aiformpromptview.js';import _0x48adfe from'./aihistorylistview.js';function _0x4d77(_0x404333,_0x23d965){const _0x4238fe=_0x4238();return _0x4d77=function(_0x4d775c,_0x166cc5){_0x4d775c=_0x4d775c-0xd3;let _0x3bbf5b=_0x4238fe[_0x4d775c];return _0x3bbf5b;},_0x4d77(_0x404333,_0x23d965);}import _0x3cb56c from'./aihistorylistitemview.js';import _0xf19d1e from'./prompthistory.js';import{getTranslation as _0x68ca67}from'../../utils/common-translations.js';import{escape as _0x44d862}from'lodash-es';export default class k extends _0x37c9ac{constructor(_0x449ec5,_0x3ab7cf,_0x11c033=''){const _0x2146a2=_0x4d77;super(_0x449ec5),this[_0x2146a2(0x125)](_0x2146a2(0xea),!0x0),this[_0x2146a2(0x125)](_0x2146a2(0xe8),!0x1),this[_0x2146a2(0x125)](_0x2146a2(0x11b),''),this[_0x2146a2(0x125)](_0x2146a2(0x104),''),this[_0x2146a2(0x125)](_0x2146a2(0xef),!0x1),this[_0x2146a2(0x125)](_0x2146a2(0xeb),_0x47a9c0[_0x2146a2(0x106)]),this[_0x2146a2(0xe7)]=new _0xf19d1e(),this[_0x2146a2(0xf6)]=new _0x5055d2(_0x449ec5),this[_0x2146a2(0x111)]=new _0x364fc7(_0x449ec5,_0x11c033),this[_0x2146a2(0x111)][_0x2146a2(0xe2)](_0x2146a2(0xe8))['to'](this),this[_0x2146a2(0x111)][_0x2146a2(0xe2)](_0x2146a2(0x104))['to'](this),this[_0x2146a2(0x108)]=this[_0x2146a2(0xe3)](),this[_0x2146a2(0x108)][_0x2146a2(0xe2)](_0x2146a2(0xeb))['to'](this),this[_0x2146a2(0xf8)]=this[_0x2146a2(0xf1)](),this[_0x2146a2(0xfb)]=new _0x22f447(),this[_0x2146a2(0xdf)]=new _0x57b5db(),this[_0x2146a2(0xdd)]=this[_0x2146a2(0x113)]([this[_0x2146a2(0x111)],this[_0x2146a2(0x111)][_0x2146a2(0x11a)],this[_0x2146a2(0x108)],this[_0x2146a2(0xf8)]]),this[_0x2146a2(0xff)]=new _0x5a4769({'focusables':this[_0x2146a2(0xdd)],'focusTracker':this[_0x2146a2(0xfb)],'keystrokeHandler':this[_0x2146a2(0xdf)],'actions':{'focusPrevious':_0x2146a2(0x119),'focusNext':_0x2146a2(0x10a)}}),this[_0x2146a2(0xff)][_0x2146a2(0xf7)](this[_0x2146a2(0xf8)][_0x2146a2(0xff)]),this[_0x2146a2(0xf8)][_0x2146a2(0xe4)][_0x2146a2(0xd6)][_0x2146a2(0xe2)](_0x2146a2(0x104))['to'](this,_0x2146a2(0x11b));const _0x1edcf2=this[_0x2146a2(0xfc)];this[_0x2146a2(0x10b)]({'tag':_0x2146a2(0x118),'attributes':{'class':['ck',_0x2146a2(0xee),_0x3ab7cf],'tabindex':'-1'},'children':[{'tag':_0x2146a2(0x118),'attributes':{'class':['ck',_0x2146a2(0x117)]},'children':[{'tag':_0x2146a2(0x118),'attributes':{'class':[_0x1edcf2['if'](_0x2146a2(0xef),_0x2146a2(0x114),_0x1815a0=>!_0x1815a0)]},'children':[this[_0x2146a2(0xf6)]]},this[_0x2146a2(0x111)],this[_0x2146a2(0x108)],this[_0x2146a2(0xf8)]]}]});}[_0x1031a2(0xe5)](){const _0x5769b4=_0x1031a2;super[_0x5769b4(0xe5)](),this[_0x5769b4(0xfb)][_0x5769b4(0x124)](this[_0x5769b4(0x111)][_0x5769b4(0x10e)]),this[_0x5769b4(0xfb)][_0x5769b4(0x124)](this[_0x5769b4(0x111)][_0x5769b4(0x11a)][_0x5769b4(0x10e)]),this[_0x5769b4(0xfb)][_0x5769b4(0x124)](this[_0x5769b4(0x108)][_0x5769b4(0x10e)]),this[_0x5769b4(0xfb)][_0x5769b4(0x124)](this[_0x5769b4(0xf8)][_0x5769b4(0x10e)]),this[_0x5769b4(0xdf)][_0x5769b4(0xfa)](this[_0x5769b4(0x10e)]);}[_0x1031a2(0x100)](_0x38bcf2=0x1){const _0x3c970d=_0x1031a2;-0x1===_0x38bcf2?this[_0x3c970d(0xff)][_0x3c970d(0xf9)]():this[_0x3c970d(0xff)][_0x3c970d(0xdb)]();}[_0x1031a2(0xf5)](){const _0x50086f=_0x1031a2;this[_0x50086f(0x11b)]='',this[_0x50086f(0x104)]='',this[_0x50086f(0xef)]=!0x1,this[_0x50086f(0xf8)][_0x50086f(0xf5)](),this[_0x50086f(0x111)][_0x50086f(0xd4)]=!0x1,this[_0x50086f(0x108)][_0x50086f(0xd4)]=!0x1;}[_0x1031a2(0xf1)](){const _0x30079e=_0x1031a2,_0x1af508=this[_0x30079e(0x102)],_0x659fe3=new _0x2fb61d(_0x1af508,{'queryView':{'label':_0x68ca67(_0x1af508,_0x30079e(0x107)),'creator':_0x54e3e7,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x68ca67(_0x1af508,_0x30079e(0x105)),'secondary':_0x68ca67(_0x1af508,_0x30079e(0x116))}}},'filteredView':this[_0x30079e(0xf4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x659fe3[_0x30079e(0xe2)](_0x30079e(0xea))['to'](this,_0x30079e(0xea),this,_0x30079e(0xe8),(_0x544c0d,_0x101c94)=>_0x544c0d&&!_0x101c94),this[_0x30079e(0xfa)](_0x659fe3,_0x30079e(0x112),(_0x5d24e2,_0x2518dd)=>{const _0xc1ac0c=_0x30079e;this[_0xc1ac0c(0x11b)]=_0x2518dd;const _0x38f1f1=_0x44d862(_0x2518dd);this[_0xc1ac0c(0x11c)](_0xc1ac0c(0xf2),_0x38f1f1),_0x2518dd[_0xc1ac0c(0xec)]()&&this[_0xc1ac0c(0xe7)][_0xc1ac0c(0x124)]({'prompt':_0x38f1f1},0x0);},{'priority':_0x30079e(0xd8)}),_0x659fe3;}[_0x1031a2(0xf4)](){const _0x357851=_0x1031a2,_0x307673=new _0x48adfe(this[_0x357851(0x102)]);return _0x307673[_0x357851(0x103)][_0x357851(0xf0)][_0x357851(0xfe)](this[_0x357851(0xe7)])['as'](_0x3cb56c),_0x307673['on'](_0x357851(0xe0),()=>{const _0x4e8f97=_0x357851;this[_0x4e8f97(0xe7)][_0x4e8f97(0xde)](),this[_0x4e8f97(0xf8)][_0x4e8f97(0x10f)](''),this[_0x4e8f97(0xf8)][_0x4e8f97(0x100)]();}),_0x307673;}[_0x1031a2(0xe3)](){const _0x4e572d=_0x1031a2,_0x662832=new _0x26486b(this[_0x4e572d(0x102)]);return _0x662832[_0x4e572d(0x10d)][_0x4e572d(0xe2)](_0x4e572d(0xea))['to'](this,_0x4e572d(0xea),this,_0x4e572d(0xe8),this,_0x4e572d(0x104),(_0x905d19,_0x34547f,_0x1eb817)=>_0x905d19&&!_0x34547f&&!!_0x1eb817),_0x662832[_0x4e572d(0x10d)][_0x4e572d(0x11e)](_0x4e572d(0x121))['to'](this,_0x4e572d(0x101)),_0x662832[_0x4e572d(0x110)][_0x4e572d(0xe2)](_0x4e572d(0xea))['to'](this,_0x4e572d(0xea),this,_0x4e572d(0xe8),this,_0x4e572d(0x104),(_0x5de5fb,_0x24804d,_0x1741c8)=>_0x5de5fb&&!_0x24804d&&!!_0x1741c8),_0x662832[_0x4e572d(0x110)][_0x4e572d(0x11e)](_0x4e572d(0x121))['to'](this,_0x4e572d(0xd3)),_0x662832[_0x4e572d(0x109)][_0x4e572d(0xe2)](_0x4e572d(0xea))['to'](this,_0x4e572d(0xea),this,_0x4e572d(0xe8),(_0x5a2c06,_0x4a597d)=>_0x5a2c06&&!_0x4a597d),_0x662832[_0x4e572d(0x109)][_0x4e572d(0x11e)](_0x4e572d(0x121))['to'](this,_0x4e572d(0xf3)),_0x662832[_0x4e572d(0xe6)][_0x4e572d(0xe2)](_0x4e572d(0xea))['to'](this,_0x4e572d(0xe8)),_0x662832[_0x4e572d(0xe6)][_0x4e572d(0x11e)](_0x4e572d(0x121))['to'](this,_0x4e572d(0x11f)),_0x662832;}[_0x1031a2(0x115)](){const _0x1aedba=_0x1031a2;this[_0x1aedba(0x104)]='',this[_0x1aedba(0xef)]=!0x1,this[_0x1aedba(0xe8)]=!0x0,this[_0x1aedba(0x111)][_0x1aedba(0xd4)]=!0x0,this[_0x1aedba(0x108)][_0x1aedba(0xd4)]=!0x0,this[_0x1aedba(0x111)][_0x1aedba(0x100)]();}[_0x1031a2(0x10c)](){const _0x304632=_0x1031a2,_0x2f719d=this[_0x304632(0x102)];this[_0x304632(0xe8)]=!0x1,this[_0x304632(0x11b)]='',this[_0x304632(0xf8)][_0x304632(0xf5)](),this[_0x304632(0x104)]&&(this[_0x304632(0xf8)][_0x304632(0xe4)][_0x304632(0xe9)]=_0x68ca67(_0x2f719d,_0x304632(0x122)));}[_0x1031a2(0xe1)](_0x1dede3){const _0x3cbec6=_0x1031a2,_0x5679b0=this[_0x3cbec6(0x102)];this[_0x3cbec6(0x10c)](),this[_0x3cbec6(0xef)]=!0x0,this[_0x3cbec6(0xf6)][_0x3cbec6(0x123)]=_0x1dede3||_0x68ca67(_0x5679b0,_0x3cbec6(0x120)),this[_0x3cbec6(0x104)]||(this[_0x3cbec6(0x111)][_0x3cbec6(0xd4)]=!0x1);}}
23
+ const _0x9d5ba1=_0x3da3;(function(_0xd2b7fc,_0x35c127){const _0x591079=_0x3da3,_0x102546=_0xd2b7fc();while(!![]){try{const _0x5217e4=parseInt(_0x591079(0x105))/0x1*(-parseInt(_0x591079(0xc6))/0x2)+-parseInt(_0x591079(0xee))/0x3+-parseInt(_0x591079(0xe0))/0x4*(parseInt(_0x591079(0xe9))/0x5)+-parseInt(_0x591079(0x11a))/0x6*(-parseInt(_0x591079(0xfd))/0x7)+parseInt(_0x591079(0xf3))/0x8+-parseInt(_0x591079(0xca))/0x9*(parseInt(_0x591079(0xd2))/0xa)+parseInt(_0x591079(0x10e))/0xb;if(_0x5217e4===_0x35c127)break;else _0x102546['push'](_0x102546['shift']());}catch(_0x22c105){_0x102546['push'](_0x102546['shift']());}}}(_0x1381,0x58719));import{FocusTracker as _0x51fa06,KeystrokeHandler as _0x16777a}from'ckeditor5/src/utils.js';import{View as _0xc5f05b,FocusCycler as _0x1e2df2,createLabeledTextarea as _0x2ed358}from'ckeditor5/src/ui.js';import _0x157fa5,{AIFormToolbarViewMainActionLabel as _0x214ac7}from'./aiformtoolbarview.js';import _0x506511 from'./aiformcontentarea.js';function _0x1381(){const _0x3c112d=['add','clear','render','search','686416AaKEhk','shift\x20+\x20tab','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','submitPrompt','ck-hidden','stopButton','isError','clearHistory','REPLACE','focusTracker','4682307jUXiLr','listenTo','focusLast','tryAgainButton','historyGroupView','tryAgainEvent','div','setTemplate','211eTRRUG','stopProcessing','replaceButton','_createHistoryView','set','delegate','text','finishProcessing','_promptHistory','13713392NiAxmy','fieldView','bindTo','mainAction','copyButtonView','focusFirst','fire','bind','Ask\x20AI\x20to\x20improve\x20generated\x20text','items','insertContentBelow','startProcessing','6LETyWr','handleError','2006alIfuL','element','value','high','117918aRKZNu','ck-ai-form-content','_createToolbar','label','isEnabled','trim','chain','errorView','330xYJkmY','isProcessing','replaceContent','ck-ai-form','createCollection','focus','reset','promptView','Ask\x20AI\x20to\x20edit\x20or\x20generate','prompt','isVisible','toolbar','keystrokes','focusCycler','2484380VuDnAQ','Empty\x20history','insertButton','_focusables','_createPromptView','submit','contentArea','queryView','bindTemplate','5rznmsD','AI_ERROR_FAILED','execute','locale','tab','1122048ueIZUP'];_0x1381=function(){return _0x3c112d;};return _0x1381();}import _0x3025b7 from'./aiformerrorview.js';import _0x2343d5 from'./aiformpromptview.js';import _0x4dbc15 from'./aihistorylistview.js';import _0x5cf1b0 from'./aihistorylistitemview.js';import _0x453884 from'./prompthistory.js';function _0x3da3(_0xac7a2f,_0x11ffd4){const _0x138126=_0x1381();return _0x3da3=function(_0x3da38a,_0x43a598){_0x3da38a=_0x3da38a-0xc5;let _0x569d21=_0x138126[_0x3da38a];return _0x569d21;},_0x3da3(_0xac7a2f,_0x11ffd4);}import{getTranslation as _0x525476}from'../../utils/common-translations.js';import{escape as _0x58844d}from'es-toolkit/compat';export default class _ extends _0xc5f05b{[_0x9d5ba1(0xfc)];[_0x9d5ba1(0xde)];[_0x9d5ba1(0xe6)];[_0x9d5ba1(0xdd)];[_0x9d5ba1(0xd9)];[_0x9d5ba1(0xd1)];[_0x9d5ba1(0xe3)];[_0x9d5ba1(0xdf)];[_0x9d5ba1(0x10d)];constructor(_0x5b370,_0x4bd448,_0x120207=''){const _0x30c36f=_0x9d5ba1;super(_0x5b370),this[_0x30c36f(0x109)](_0x30c36f(0xce),!0x0),this[_0x30c36f(0x109)](_0x30c36f(0xd3),!0x1),this[_0x30c36f(0x109)](_0x30c36f(0xdb),''),this[_0x30c36f(0x109)](_0x30c36f(0xc8),''),this[_0x30c36f(0x109)](_0x30c36f(0xf9),!0x1),this[_0x30c36f(0x109)](_0x30c36f(0x111),_0x214ac7[_0x30c36f(0xfb)]),this[_0x30c36f(0x10d)]=new _0x453884(),this[_0x30c36f(0xd1)]=new _0x3025b7(_0x5b370),this[_0x30c36f(0xe6)]=new _0x506511(_0x5b370,_0x120207),this[_0x30c36f(0xe6)][_0x30c36f(0x115)](_0x30c36f(0xd3))['to'](this),this[_0x30c36f(0xe6)][_0x30c36f(0x115)](_0x30c36f(0xc8))['to'](this),this[_0x30c36f(0xdd)]=this[_0x30c36f(0xcc)](),this[_0x30c36f(0xdd)][_0x30c36f(0x115)](_0x30c36f(0x111))['to'](this),this[_0x30c36f(0xd9)]=this[_0x30c36f(0xe4)](),this[_0x30c36f(0xfc)]=new _0x51fa06(),this[_0x30c36f(0xde)]=new _0x16777a(),this[_0x30c36f(0xe3)]=this[_0x30c36f(0xd6)]([this[_0x30c36f(0xe6)],this[_0x30c36f(0xe6)][_0x30c36f(0x112)],this[_0x30c36f(0xdd)],this[_0x30c36f(0xd9)]]),this[_0x30c36f(0xdf)]=new _0x1e2df2({'focusables':this[_0x30c36f(0xe3)],'focusTracker':this[_0x30c36f(0xfc)],'keystrokeHandler':this[_0x30c36f(0xde)],'actions':{'focusPrevious':_0x30c36f(0xf4),'focusNext':_0x30c36f(0xed)}}),this[_0x30c36f(0xdf)][_0x30c36f(0xd0)](this[_0x30c36f(0xd9)][_0x30c36f(0xdf)]),this[_0x30c36f(0xd9)][_0x30c36f(0xe7)][_0x30c36f(0x10f)][_0x30c36f(0x115)](_0x30c36f(0xc8))['to'](this,_0x30c36f(0xdb));const _0x51570c=this[_0x30c36f(0xe8)];this[_0x30c36f(0x104)]({'tag':_0x30c36f(0x103),'attributes':{'class':['ck',_0x30c36f(0xd5),_0x4bd448],'tabindex':'-1'},'children':[{'tag':_0x30c36f(0x103),'attributes':{'class':['ck',_0x30c36f(0xcb)]},'children':[{'tag':_0x30c36f(0x103),'attributes':{'class':[_0x51570c['if'](_0x30c36f(0xf9),_0x30c36f(0xf7),_0x45879c=>!_0x45879c)]},'children':[this[_0x30c36f(0xd1)]]},this[_0x30c36f(0xe6)],this[_0x30c36f(0xdd)],this[_0x30c36f(0xd9)]]}]});}[_0x9d5ba1(0xf1)](){const _0x256884=_0x9d5ba1;super[_0x256884(0xf1)](),this[_0x256884(0xfc)][_0x256884(0xef)](this[_0x256884(0xe6)][_0x256884(0xc7)]),this[_0x256884(0xfc)][_0x256884(0xef)](this[_0x256884(0xe6)][_0x256884(0x112)][_0x256884(0xc7)]),this[_0x256884(0xfc)][_0x256884(0xef)](this[_0x256884(0xdd)][_0x256884(0xc7)]),this[_0x256884(0xfc)][_0x256884(0xef)](this[_0x256884(0xd9)][_0x256884(0xc7)]),this[_0x256884(0xde)][_0x256884(0xfe)](this[_0x256884(0xc7)]);}[_0x9d5ba1(0xd7)](_0x2fad12=0x1){const _0x183ee7=_0x9d5ba1;-0x1===_0x2fad12?this[_0x183ee7(0xdf)][_0x183ee7(0xff)]():this[_0x183ee7(0xdf)][_0x183ee7(0x113)]();}[_0x9d5ba1(0xd8)](){const _0xa05874=_0x9d5ba1;this[_0xa05874(0xdb)]='',this[_0xa05874(0xc8)]='',this[_0xa05874(0xf9)]=!0x1,this[_0xa05874(0xd9)][_0xa05874(0xd8)](),this[_0xa05874(0xe6)][_0xa05874(0xdc)]=!0x1,this[_0xa05874(0xdd)][_0xa05874(0xdc)]=!0x1;}[_0x9d5ba1(0xe4)](){const _0x5b22b1=_0x9d5ba1,_0x47f3c8=this[_0x5b22b1(0xec)],_0x464b43=new _0x2343d5(_0x47f3c8,{'queryView':{'label':_0x525476(_0x47f3c8,_0x5b22b1(0xda)),'creator':_0x2ed358,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x525476(_0x47f3c8,_0x5b22b1(0xe1)),'secondary':_0x525476(_0x47f3c8,_0x5b22b1(0xf5))}}},'filteredView':this[_0x5b22b1(0x108)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x464b43[_0x5b22b1(0x115)](_0x5b22b1(0xce))['to'](this,_0x5b22b1(0xce),this,_0x5b22b1(0xd3),(_0x553406,_0x5b7b9d)=>_0x553406&&!_0x5b7b9d),this[_0x5b22b1(0xfe)](_0x464b43,_0x5b22b1(0xe5),(_0x357ede,_0xe297c)=>{const _0x866d7f=_0x5b22b1;this[_0x866d7f(0xdb)]=_0xe297c;const _0x4a8edd=_0x58844d(_0xe297c);this[_0x866d7f(0x114)](_0x866d7f(0xf6),_0x4a8edd),_0xe297c[_0x866d7f(0xcf)]()&&this[_0x866d7f(0x10d)][_0x866d7f(0xef)]({'prompt':_0x4a8edd},0x0);},{'priority':_0x5b22b1(0xc9)}),_0x464b43;}[_0x9d5ba1(0x108)](){const _0x13e423=_0x9d5ba1,_0x6f2017=new _0x4dbc15(this[_0x13e423(0xec)]);return _0x6f2017[_0x13e423(0x101)][_0x13e423(0x117)][_0x13e423(0x110)](this[_0x13e423(0x10d)])['as'](_0x5cf1b0),_0x6f2017['on'](_0x13e423(0xfa),()=>{const _0x261672=_0x13e423;this[_0x261672(0x10d)][_0x261672(0xf0)](),this[_0x261672(0xd9)][_0x261672(0xf2)](''),this[_0x261672(0xd9)][_0x261672(0xd7)]();}),_0x6f2017;}[_0x9d5ba1(0xcc)](){const _0x43c424=_0x9d5ba1,_0x3e2d03=new _0x157fa5(this[_0x43c424(0xec)]);return _0x3e2d03[_0x43c424(0x107)][_0x43c424(0x115)](_0x43c424(0xce))['to'](this,_0x43c424(0xce),this,_0x43c424(0xd3),this,_0x43c424(0xc8),(_0xa7591a,_0x5a7e08,_0x517468)=>_0xa7591a&&!_0x5a7e08&&!!_0x517468),_0x3e2d03[_0x43c424(0x107)][_0x43c424(0x10a)](_0x43c424(0xeb))['to'](this,_0x43c424(0xd4)),_0x3e2d03[_0x43c424(0xe2)][_0x43c424(0x115)](_0x43c424(0xce))['to'](this,_0x43c424(0xce),this,_0x43c424(0xd3),this,_0x43c424(0xc8),(_0x2e504a,_0x34210b,_0x12deab)=>_0x2e504a&&!_0x34210b&&!!_0x12deab),_0x3e2d03[_0x43c424(0xe2)][_0x43c424(0x10a)](_0x43c424(0xeb))['to'](this,_0x43c424(0x118)),_0x3e2d03[_0x43c424(0x100)][_0x43c424(0x115)](_0x43c424(0xce))['to'](this,_0x43c424(0xce),this,_0x43c424(0xd3),(_0x100cdc,_0x2fd090)=>_0x100cdc&&!_0x2fd090),_0x3e2d03[_0x43c424(0x100)][_0x43c424(0x10a)](_0x43c424(0xeb))['to'](this,_0x43c424(0x102)),_0x3e2d03[_0x43c424(0xf8)][_0x43c424(0x115)](_0x43c424(0xce))['to'](this,_0x43c424(0xd3)),_0x3e2d03[_0x43c424(0xf8)][_0x43c424(0x10a)](_0x43c424(0xeb))['to'](this,_0x43c424(0x106)),_0x3e2d03;}[_0x9d5ba1(0x119)](){const _0x72a226=_0x9d5ba1;this[_0x72a226(0xc8)]='',this[_0x72a226(0xf9)]=!0x1,this[_0x72a226(0xd3)]=!0x0,this[_0x72a226(0xe6)][_0x72a226(0xdc)]=!0x0,this[_0x72a226(0xdd)][_0x72a226(0xdc)]=!0x0,this[_0x72a226(0xe6)][_0x72a226(0xd7)]();}[_0x9d5ba1(0x10c)](){const _0x1427c7=_0x9d5ba1,_0x4963b3=this[_0x1427c7(0xec)];this[_0x1427c7(0xd3)]=!0x1,this[_0x1427c7(0xdb)]='',this[_0x1427c7(0xd9)][_0x1427c7(0xd8)](),this[_0x1427c7(0xc8)]&&(this[_0x1427c7(0xd9)][_0x1427c7(0xe7)][_0x1427c7(0xcd)]=_0x525476(_0x4963b3,_0x1427c7(0x116)));}[_0x9d5ba1(0xc5)](_0x4d497a){const _0x9ad7a5=_0x9d5ba1,_0x5bca97=this[_0x9ad7a5(0xec)];this[_0x9ad7a5(0x10c)](),this[_0x9ad7a5(0xf9)]=!0x0,this[_0x9ad7a5(0xd1)][_0x9ad7a5(0x10b)]=_0x4d497a||_0x525476(_0x5bca97,_0x9ad7a5(0xea)),this[_0x9ad7a5(0xc8)]||(this[_0x9ad7a5(0xe6)][_0x9ad7a5(0xdc)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x9ebccd,_0x599648){const _0x5121ec=_0x2415,_0x14c035=_0x9ebccd();while(!![]){try{const _0x1e2174=parseInt(_0x5121ec(0x72))/0x1*(-parseInt(_0x5121ec(0x6c))/0x2)+parseInt(_0x5121ec(0x6f))/0x3+parseInt(_0x5121ec(0x73))/0x4+-parseInt(_0x5121ec(0x76))/0x5*(-parseInt(_0x5121ec(0x75))/0x6)+parseInt(_0x5121ec(0x7c))/0x7+parseInt(_0x5121ec(0x7d))/0x8*(parseInt(_0x5121ec(0x78))/0x9)+parseInt(_0x5121ec(0x79))/0xa*(-parseInt(_0x5121ec(0x7a))/0xb);if(_0x1e2174===_0x599648)break;else _0x14c035['push'](_0x14c035['shift']());}catch(_0x2842fd){_0x14c035['push'](_0x14c035['shift']());}}}(_0x1efd,0x19c26));import{ListItemView as _0x5add1c,ButtonView as _0x2531ce,ButtonLabelView as _0x5ece94}from'ckeditor5/src/ui.js';function _0x2415(_0x45cd5a,_0x2852bc){const _0x1efd40=_0x1efd();return _0x2415=function(_0x241588,_0x382e66){_0x241588=_0x241588-0x6c;let _0x4b0063=_0x1efd40[_0x241588];return _0x4b0063;},_0x2415(_0x45cd5a,_0x2852bc);}function _0x1efd(){const _0x458f55=['423qfzfkb','34750KwgbBH','1298gspWgo','prompt','1000244OsBBkJ','24008UqXXMJ','108380SyqLZU','locale','set','261189pIsDFX','add','execute','2iJunvT','263288rYyaBT','fire','744pndQDm','7545oRNdBR','children'];_0x1efd=function(){return _0x458f55;};return _0x1efd();}import{unescape as _0x235afc}from'lodash-es';export default class hs extends _0x5add1c{constructor(_0x3e5db7){const _0x429ba2=_0x2415;super();const _0x35d398=new _0x5ece94(),_0x3ca61a=new _0x2531ce(this[_0x429ba2(0x6d)],_0x35d398);this[_0x429ba2(0x77)][_0x429ba2(0x70)](_0x3ca61a),_0x3ca61a[_0x429ba2(0x6e)]({'label':_0x3e5db7[_0x429ba2(0x7b)],'withText':!0x0}),_0x3ca61a['on'](_0x429ba2(0x71),()=>{const _0x120a62=_0x429ba2;this[_0x120a62(0x74)](_0x120a62(0x71),{'value':_0x235afc(_0x3e5db7[_0x120a62(0x7b)])});});}}
23
+ (function(_0x1efe57,_0x4a9b62){const _0x3e4edf=_0x2553,_0x58bbe7=_0x1efe57();while(!![]){try{const _0x4b1bc8=-parseInt(_0x3e4edf(0x1c8))/0x1*(-parseInt(_0x3e4edf(0x1d5))/0x2)+-parseInt(_0x3e4edf(0x1cb))/0x3*(parseInt(_0x3e4edf(0x1ca))/0x4)+-parseInt(_0x3e4edf(0x1d1))/0x5*(parseInt(_0x3e4edf(0x1c4))/0x6)+parseInt(_0x3e4edf(0x1c6))/0x7*(parseInt(_0x3e4edf(0x1d2))/0x8)+parseInt(_0x3e4edf(0x1cf))/0x9*(-parseInt(_0x3e4edf(0x1c7))/0xa)+-parseInt(_0x3e4edf(0x1d4))/0xb+parseInt(_0x3e4edf(0x1d6))/0xc;if(_0x4b1bc8===_0x4a9b62)break;else _0x58bbe7['push'](_0x58bbe7['shift']());}catch(_0x2c9f54){_0x58bbe7['push'](_0x58bbe7['shift']());}}}(_0x5dd3,0xda83a));import{ListItemView as _0x1064c3,ButtonView as _0xde84aa,ButtonLabelView as _0x653177}from'ckeditor5/src/ui.js';import{unescape as _0x36b0f4}from'es-toolkit/compat';function _0x5dd3(){const _0x8fafd9=['3905657oVJHGm','5665630CqWmtP','14273iPSMnQ','children','4ckTXaK','4879344zmCTUx','prompt','set','add','18tPwdVK','locale','2523645oJwwwr','24blmxop','fire','16555583qTeWqY','144rfgPQi','47668068VXWQDG','18QzZgjc','execute'];_0x5dd3=function(){return _0x8fafd9;};return _0x5dd3();}function _0x2553(_0x305c6c,_0x2d16fd){const _0x5dd3dc=_0x5dd3();return _0x2553=function(_0x255339,_0x1b09fd){_0x255339=_0x255339-0x1c4;let _0x4e9a25=_0x5dd3dc[_0x255339];return _0x4e9a25;},_0x2553(_0x305c6c,_0x2d16fd);}export default class bt extends _0x1064c3{constructor(_0xa62b8c){const _0x1a9994=_0x2553;super();const _0x537008=new _0x653177(),_0x46ce12=new _0xde84aa(this[_0x1a9994(0x1d0)],_0x537008);this[_0x1a9994(0x1c9)][_0x1a9994(0x1ce)](_0x46ce12),_0x46ce12[_0x1a9994(0x1cd)]({'label':_0xa62b8c[_0x1a9994(0x1cc)],'withText':!0x0}),_0x46ce12['on'](_0x1a9994(0x1c5),()=>{const _0x25e502=_0x1a9994;this[_0x25e502(0x1d3)](_0x25e502(0x1c5),{'value':_0x36b0f4(_0xa62b8c[_0x25e502(0x1cc)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40ae7c=_0x379f;(function(_0x2fae8e,_0xdd468d){const _0xe1031b=_0x379f,_0x3babc6=_0x2fae8e();while(!![]){try{const _0x2d4acc=-parseInt(_0xe1031b(0x7a))/0x1*(parseInt(_0xe1031b(0x94))/0x2)+-parseInt(_0xe1031b(0x89))/0x3*(parseInt(_0xe1031b(0x82))/0x4)+parseInt(_0xe1031b(0x7b))/0x5*(-parseInt(_0xe1031b(0x85))/0x6)+-parseInt(_0xe1031b(0x87))/0x7+-parseInt(_0xe1031b(0x84))/0x8*(-parseInt(_0xe1031b(0x80))/0x9)+-parseInt(_0xe1031b(0x7f))/0xa+parseInt(_0xe1031b(0x92))/0xb;if(_0x2d4acc===_0xdd468d)break;else _0x3babc6['push'](_0x3babc6['shift']());}catch(_0x50da62){_0x3babc6['push'](_0x3babc6['shift']());}}}(_0x4689,0xd8bef));import{ListView as _0x34c40a,ListItemGroupView as _0x489047,ButtonView as _0x41c745}from'ckeditor5/src/ui.js';function _0x4689(){const _0x44d2e3=['set','clearHistoryButton','1907330OOuGCw','99IYjQWK','_createClearHistoryButton','411664PYdgTn','label','706224UIjiWC','91734HMwqDL','Clear','7751961PsfeHb','Prompt\x20history','51OtipQe','locale','children','fire','items','add','delegate','clearHistory','execute','45316964lVsiGb','length','4qXsrVx','historyGroupView','157184CrLOeL','275NRNRxU','filter'];_0x4689=function(){return _0x44d2e3;};return _0x4689();}function _0x379f(_0x3ab002,_0x3d9328){const _0x4689d3=_0x4689();return _0x379f=function(_0x379fb5,_0x516b02){_0x379fb5=_0x379fb5-0x79;let _0x350631=_0x4689d3[_0x379fb5];return _0x350631;},_0x379f(_0x3ab002,_0x3d9328);}import{getTranslation as _0xd31ba1}from'../../utils/common-translations.js';export default class rs extends _0x34c40a{constructor(_0x334f1d){const _0x201bdd=_0x379f;super(_0x334f1d),this[_0x201bdd(0x7e)]=this[_0x201bdd(0x81)](),this[_0x201bdd(0x79)]=new _0x489047(),this[_0x201bdd(0x79)][_0x201bdd(0x8b)][_0x201bdd(0x8e)](this[_0x201bdd(0x7e)],0x1),this[_0x201bdd(0x79)][_0x201bdd(0x83)]=_0xd31ba1(_0x334f1d,_0x201bdd(0x88)),this[_0x201bdd(0x79)][_0x201bdd(0x8d)][_0x201bdd(0x8f)](_0x201bdd(0x91))['to'](this),this[_0x201bdd(0x8d)][_0x201bdd(0x8e)](this[_0x201bdd(0x79)]);}[_0x40ae7c(0x7c)](){const _0xbbbc62=_0x40ae7c;let _0xd4ca89=0x0;for(const _0x4cdc46 of this[_0xbbbc62(0x8d)])_0xd4ca89+=_0x4cdc46[_0xbbbc62(0x8d)][_0xbbbc62(0x93)];return{'resultsCount':_0xd4ca89,'totalItemsCount':_0xd4ca89};}[_0x40ae7c(0x81)](){const _0x557e70=_0x40ae7c,_0x34737d=this[_0x557e70(0x8a)],_0x33e6b1=new _0x41c745(this[_0x557e70(0x8a)]);return _0x33e6b1[_0x557e70(0x7d)]({'label':'('+_0xd31ba1(_0x34737d,_0x557e70(0x86))+')','withText':!0x0}),_0x33e6b1['on'](_0x557e70(0x91),()=>this[_0x557e70(0x8c)](_0x557e70(0x90))),_0x33e6b1;}}
23
+ const _0xf99dbe=_0xb608;(function(_0x1fdf10,_0x1b17a4){const _0x5f3b81=_0xb608,_0x28233a=_0x1fdf10();while(!![]){try{const _0x3007a0=parseInt(_0x5f3b81(0x1ac))/0x1+parseInt(_0x5f3b81(0x1a6))/0x2+-parseInt(_0x5f3b81(0x197))/0x3*(parseInt(_0x5f3b81(0x19f))/0x4)+parseInt(_0x5f3b81(0x19a))/0x5+-parseInt(_0x5f3b81(0x1ae))/0x6*(-parseInt(_0x5f3b81(0x1a0))/0x7)+parseInt(_0x5f3b81(0x1ad))/0x8*(-parseInt(_0x5f3b81(0x194))/0x9)+parseInt(_0x5f3b81(0x196))/0xa*(parseInt(_0x5f3b81(0x198))/0xb);if(_0x3007a0===_0x1b17a4)break;else _0x28233a['push'](_0x28233a['shift']());}catch(_0x5d8c2c){_0x28233a['push'](_0x28233a['shift']());}}}(_0x1abc,0x9316e));import{ListView as _0xeb99ae,ListItemGroupView as _0x452a15,ButtonView as _0x199542}from'ckeditor5/src/ui.js';function _0x1abc(){const _0x28b338=['9632008QAvSNK','6HZmfpE','children','9cnxmhG','Prompt\x20history','14590PJYKkZ','552954MReHxS','2101DYDavO','clearHistoryButton','3822965fzkPHb','add','locale','fire','items','20qTgjvx','4345313FXuFhg','filter','set','length','historyGroupView','delegate','1689024yPrpZq','label','clearHistory','execute','_createClearHistoryButton','Clear','219536ktzfzJ'];_0x1abc=function(){return _0x28b338;};return _0x1abc();}function _0xb608(_0x41f73f,_0x234e50){const _0x1abcf3=_0x1abc();return _0xb608=function(_0xb608b7,_0x540ce1){_0xb608b7=_0xb608b7-0x193;let _0x7f3a3=_0x1abcf3[_0xb608b7];return _0x7f3a3;},_0xb608(_0x41f73f,_0x234e50);}import{getTranslation as _0x2506d4}from'../../utils/common-translations.js';export default class ft extends _0xeb99ae{[_0xf99dbe(0x1a4)];[_0xf99dbe(0x199)];constructor(_0x229f3c){const _0x38d96a=_0xf99dbe;super(_0x229f3c),this[_0x38d96a(0x199)]=this[_0x38d96a(0x1aa)](),this[_0x38d96a(0x1a4)]=new _0x452a15(),this[_0x38d96a(0x1a4)][_0x38d96a(0x193)][_0x38d96a(0x19b)](this[_0x38d96a(0x199)],0x1),this[_0x38d96a(0x1a4)][_0x38d96a(0x1a7)]=_0x2506d4(_0x229f3c,_0x38d96a(0x195)),this[_0x38d96a(0x1a4)][_0x38d96a(0x19e)][_0x38d96a(0x1a5)](_0x38d96a(0x1a9))['to'](this),this[_0x38d96a(0x19e)][_0x38d96a(0x19b)](this[_0x38d96a(0x1a4)]);}[_0xf99dbe(0x1a1)](){const _0x5c922c=_0xf99dbe;let _0x98d37=0x0;for(const _0x135005 of this[_0x5c922c(0x19e)])_0x98d37+=_0x135005[_0x5c922c(0x19e)][_0x5c922c(0x1a3)];return{'resultsCount':_0x98d37,'totalItemsCount':_0x98d37};}[_0xf99dbe(0x1aa)](){const _0x1eb857=_0xf99dbe,_0x95aa4f=this[_0x1eb857(0x19c)],_0x3a2f32=new _0x199542(this[_0x1eb857(0x19c)]);return _0x3a2f32[_0x1eb857(0x1a2)]({'label':'('+_0x2506d4(_0x95aa4f,_0x1eb857(0x1ab))+')','withText':!0x0}),_0x3a2f32['on'](_0x1eb857(0x1a9),()=>this[_0x1eb857(0x19d)](_0x1eb857(0x1a8))),_0x3a2f32;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x107491=_0x10e2;(function(_0x5787e3,_0x6296a5){const _0x2e193e=_0x10e2,_0x298847=_0x5787e3();while(!![]){try{const _0x3b328a=parseInt(_0x2e193e(0x18a))/0x1+-parseInt(_0x2e193e(0x193))/0x2*(-parseInt(_0x2e193e(0x183))/0x3)+parseInt(_0x2e193e(0x184))/0x4+-parseInt(_0x2e193e(0x185))/0x5+-parseInt(_0x2e193e(0x17d))/0x6*(parseInt(_0x2e193e(0x195))/0x7)+parseInt(_0x2e193e(0x181))/0x8+-parseInt(_0x2e193e(0x186))/0x9*(parseInt(_0x2e193e(0x18d))/0xa);if(_0x3b328a===_0x6296a5)break;else _0x298847['push'](_0x298847['shift']());}catch(_0x5dcaf1){_0x298847['push'](_0x298847['shift']());}}}(_0x3333,0x3add1));function _0x10e2(_0xcf6c8d,_0xfcd871){const _0x3333b4=_0x3333();return _0x10e2=function(_0x10e292,_0x81239a){_0x10e292=_0x10e292-0x17c;let _0x5ef570=_0x3333b4[_0x10e292];return _0x5ef570;},_0x10e2(_0xcf6c8d,_0xfcd871);}import{Collection as _0x420a91}from'ckeditor5/src/utils.js';const cs=_0x107491(0x18c);export default class os extends _0x420a91{constructor(){const _0x16873b=_0x107491;super(),this[_0x16873b(0x18e)](),this['on'](_0x16873b(0x189),(_0x2cf4cb,_0x438501)=>{const _0x5f1907=_0x16873b,_0x25f2b8=Ss(_0x438501[_0x5f1907(0x182)]);for(const _0x2b1751 of this)if(_0x2b1751!=_0x438501&&Ss(_0x2b1751[_0x5f1907(0x182)])===_0x25f2b8){this[_0x5f1907(0x192)](_0x2b1751);break;}this[_0x5f1907(0x18f)]>0x14&&this[_0x5f1907(0x192)](this[_0x5f1907(0x187)]),this[_0x5f1907(0x190)]();}),this['on'](_0x16873b(0x192),()=>{const _0x565543=_0x16873b;this[_0x565543(0x190)]();});}[_0x107491(0x18e)](){const _0x47225a=_0x107491,_0xf7d785=sessionStorage[_0x47225a(0x194)](cs)||'[]';this[_0x47225a(0x17f)](JSON[_0x47225a(0x18b)](_0xf7d785));}[_0x107491(0x190)](){const _0x5ba21e=_0x107491;sessionStorage[_0x5ba21e(0x17c)](cs,JSON[_0x5ba21e(0x188)](this[_0x5ba21e(0x180)](_0x176943=>_0x176943)));}}function Ss(_0x4d39b5){const _0x4d1193=_0x107491;return _0x4d39b5[_0x4d1193(0x191)]()[_0x4d1193(0x17e)]();}function _0x3333(){const _0x39955=['312909SBJmsL','1214524ZzcGUC','439680VHkgwj','9XWlDmx','last','stringify','add','293067vpMZBh','parse','CKEditor/AIFormView/PromptHistory','6471110kapLpr','_loadFromSessionStorage','length','_saveToSessionStorage','toLowerCase','remove','8OdcViD','getItem','57197LjIjLw','setItem','30BuvZmO','trim','addMany','map','24776ofyyNk','prompt'];_0x3333=function(){return _0x39955;};return _0x3333();}
23
+ const _0x5c0fe1=_0xd5ba;(function(_0x4a9c21,_0x288793){const _0x4f1c28=_0xd5ba,_0x3b6568=_0x4a9c21();while(!![]){try{const _0x1b13d8=-parseInt(_0x4f1c28(0x8c))/0x1*(-parseInt(_0x4f1c28(0x93))/0x2)+-parseInt(_0x4f1c28(0xa0))/0x3*(-parseInt(_0x4f1c28(0x9e))/0x4)+-parseInt(_0x4f1c28(0x9c))/0x5*(parseInt(_0x4f1c28(0x9b))/0x6)+parseInt(_0x4f1c28(0x88))/0x7*(-parseInt(_0x4f1c28(0xa1))/0x8)+parseInt(_0x4f1c28(0x87))/0x9*(-parseInt(_0x4f1c28(0x90))/0xa)+-parseInt(_0x4f1c28(0x91))/0xb+parseInt(_0x4f1c28(0x8a))/0xc*(parseInt(_0x4f1c28(0x95))/0xd);if(_0x1b13d8===_0x288793)break;else _0x3b6568['push'](_0x3b6568['shift']());}catch(_0x276007){_0x3b6568['push'](_0x3b6568['shift']());}}}(_0x1f76,0x327ce));function _0x1f76(){const _0x1a4367=['last','55701WYljEt','21MFoMxm','_saveToSessionStorage','38316sPxRcp','prompt','11bVneiI','addMany','_loadFromSessionStorage','parse','220nvpLpK','908149nzHlqA','getItem','58042KFUzqh','map','1001UEknxa','stringify','remove','setItem','toLowerCase','add','66Gzkkhd','67325fpUlkk','trim','12DqoobG','CKEditor/AIFormView/PromptHistory','234237yOyxxa','601864nDzSUG','length'];_0x1f76=function(){return _0x1a4367;};return _0x1f76();}function _0xd5ba(_0x5606b3,_0x1b4c55){const _0x1f76a3=_0x1f76();return _0xd5ba=function(_0xd5ba1f,_0x48b667){_0xd5ba1f=_0xd5ba1f-0x87;let _0x2dff33=_0x1f76a3[_0xd5ba1f];return _0x2dff33;},_0xd5ba(_0x5606b3,_0x1b4c55);}import{Collection as _0xeac53b}from'ckeditor5/src/utils.js';const ts=_0x5c0fe1(0x9f);export default class wt extends _0xeac53b{constructor(){const _0x33b94a=_0x5c0fe1;super(),this[_0x33b94a(0x8e)](),this['on'](_0x33b94a(0x9a),(_0x5017f6,_0xd37e4f)=>{const _0x15fd4d=_0x33b94a,_0xc58be4=os(_0xd37e4f[_0x15fd4d(0x8b)]);for(const _0xbbc5e3 of this)if(_0xbbc5e3!=_0xd37e4f&&os(_0xbbc5e3[_0x15fd4d(0x8b)])===_0xc58be4){this[_0x15fd4d(0x97)](_0xbbc5e3);break;}this[_0x15fd4d(0xa2)]>0x14&&this[_0x15fd4d(0x97)](this[_0x15fd4d(0xa3)]),this[_0x15fd4d(0x89)]();}),this['on'](_0x33b94a(0x97),()=>{const _0x160dd5=_0x33b94a;this[_0x160dd5(0x89)]();});}[_0x5c0fe1(0x8e)](){const _0x13bcb5=_0x5c0fe1,_0x3e10bb=sessionStorage[_0x13bcb5(0x92)](ts)||'[]';this[_0x13bcb5(0x8d)](JSON[_0x13bcb5(0x8f)](_0x3e10bb));}[_0x5c0fe1(0x89)](){const _0x505648=_0x5c0fe1;sessionStorage[_0x505648(0x98)](ts,JSON[_0x505648(0x96)](this[_0x505648(0x94)](_0x4f6e70=>_0x4f6e70)));}}function os(_0x24638f){const _0x1c67e6=_0x5c0fe1;return _0x24638f[_0x1c67e6(0x99)]()[_0x1c67e6(0x9d)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x91f856=_0x34b3;(function(_0x33e004,_0x4728f1){const _0x18f1ff=_0x34b3,_0x3c5aa7=_0x33e004();while(!![]){try{const _0x155ab4=parseInt(_0x18f1ff(0xc4))/0x1+parseInt(_0x18f1ff(0xc8))/0x2+parseInt(_0x18f1ff(0xe1))/0x3*(-parseInt(_0x18f1ff(0xdd))/0x4)+parseInt(_0x18f1ff(0xd4))/0x5*(parseInt(_0x18f1ff(0xcf))/0x6)+-parseInt(_0x18f1ff(0xd3))/0x7*(parseInt(_0x18f1ff(0xdf))/0x8)+parseInt(_0x18f1ff(0xd0))/0x9*(parseInt(_0x18f1ff(0xed))/0xa)+parseInt(_0x18f1ff(0xc1))/0xb*(-parseInt(_0x18f1ff(0xde))/0xc);if(_0x155ab4===_0x4728f1)break;else _0x3c5aa7['push'](_0x3c5aa7['shift']());}catch(_0x3d5a66){_0x3c5aa7['push'](_0x3c5aa7['shift']());}}}(_0x33aa,0x49810));import{Command as _0x1d64bc}from'ckeditor5/src/core.js';import _0x5e5341 from'../aiassistantui.js';function _0x34b3(_0x5013fc,_0x258cbc){const _0x33aa8d=_0x33aa();return _0x34b3=function(_0x34b346,_0x51e211){_0x34b346=_0x34b346-0xc0;let _0x55d05f=_0x33aa8d[_0x34b346];return _0x55d05f;},_0x34b3(_0x5013fc,_0x258cbc);}export default class E extends _0x1d64bc{constructor(_0x40efaa,_0x5c8f29){const _0x3ac049=_0x34b3;super(_0x40efaa),this[_0x3ac049(0xe7)]=_0x5c8f29,this[_0x3ac049(0xc0)](_0x3ac049(0xca),[]),this['on'](_0x3ac049(0xc7),(_0x10a924,_0x1df151,_0x4ac66a)=>{const _0x3e64d5=_0x3ac049;this[_0x3e64d5(0xe3)]&&(this[_0x3e64d5(0xca)]=G(this[_0x3e64d5(0xe7)],_0x4ac66a));}),this[_0x3ac049(0xc0)](_0x3ac049(0xe9),!0x1),this['on'](_0x3ac049(0xd1),(_0x3b54a6,_0x498b9c,_0x53fa64)=>{const _0x31c02b=_0x3ac049;this[_0x31c02b(0xca)]=_0x53fa64?G(this[_0x31c02b(0xe7)],this[_0x31c02b(0xe9)]):[];});}[_0x91f856(0xe2)](){const _0x250966=_0x91f856,_0x423145=this[_0x250966(0xd6)][_0x250966(0xd8)];this[_0x250966(0xe9)]=function(_0x57cbd1){const _0x57d3c7=_0x250966,_0x4bc0f0=_0x57cbd1[_0x57d3c7(0xd2)][_0x57d3c7(0xe4)];return _0x4bc0f0[_0x57d3c7(0xe8)]?0x0!==[..._0x4bc0f0[_0x57d3c7(0xea)]()][_0x57d3c7(0xcd)]&&![..._0x4bc0f0[_0x57d3c7(0xea)]()][0x0][_0x57d3c7(0xd7)]:!!_0x57cbd1[_0x57d3c7(0xe0)](_0x4bc0f0[_0x57d3c7(0xda)]());}(_0x423145);const _0x3fbadb=_0x423145[_0x250966(0xd2)][_0x250966(0xe4)],_0x126e23=this[_0x250966(0xd6)][_0x250966(0xd9)][_0x250966(0xc3)](_0x250966(0xcc));for(const _0x1e7a1f of _0x3fbadb[_0x250966(0xc5)]())for(const _0x214207 of _0x1e7a1f[_0x250966(0xcb)]())if(_0x214207['is'](_0x250966(0xc2))&&_0x126e23[_0x250966(0xeb)](_0x214207[_0x250966(0xdb)]))return void(this[_0x250966(0xe3)]=!0x1);this[_0x250966(0xe3)]=!0x0;}[_0x91f856(0xc6)](_0x20da83='',_0x4c95f2='',_0x11c186=_0x91f856(0xe5)){const _0x27a2f3=_0x91f856;this[_0x27a2f3(0xd6)][_0x27a2f3(0xe6)][_0x27a2f3(0xc3)](_0x5e5341)[_0x27a2f3(0xce)](_0x20da83,_0x4c95f2,_0x11c186);}}function _0x33aa(){const _0x491751=['71528CrHGav','getRanges','execute','change:_hasContext','1013282wcatwU','add','enabledCommandsIds','getItems','ai.aiAssistant.disabledElements','length','showUI','1461588IXvuWE','81xWYjxv','change:isEnabled','document','7063fMhawS','5vpWggD','values','editor','isEmpty','model','config','getFirstRange','name','from','69024kZBpJh','12PoYFpn','1352qtfAHQ','hasContent','51xUvKqV','refresh','isEnabled','selection','custom','plugins','_commandDefinitions','isCollapsed','_hasContext','getSelectedBlocks','includes','requiresContent','436710viRhtT','set','4948471CJrXXU','element','get'];_0x33aa=function(){return _0x491751;};return _0x33aa();}function G(_0x1c98d2,_0x42580c){const _0x44eaf6=_0x91f856,_0x40b9d3=new Set();for(const _0x380c44 of _0x1c98d2[_0x44eaf6(0xd5)]())(_0x42580c||!0x1===_0x380c44[_0x44eaf6(0xec)])&&_0x40b9d3[_0x44eaf6(0xc9)](_0x380c44['id']);return Array[_0x44eaf6(0xdc)](_0x40b9d3);}
23
+ const _0x38b343=_0x1696;(function(_0xc04caf,_0x4387ac){const _0x1ddb9c=_0x1696,_0x1f217f=_0xc04caf();while(!![]){try{const _0xd6bfa6=-parseInt(_0x1ddb9c(0x91))/0x1*(parseInt(_0x1ddb9c(0xa5))/0x2)+-parseInt(_0x1ddb9c(0x83))/0x3+-parseInt(_0x1ddb9c(0x9c))/0x4+parseInt(_0x1ddb9c(0x85))/0x5*(-parseInt(_0x1ddb9c(0xa4))/0x6)+-parseInt(_0x1ddb9c(0xa7))/0x7*(-parseInt(_0x1ddb9c(0x7e))/0x8)+parseInt(_0x1ddb9c(0x7f))/0x9+parseInt(_0x1ddb9c(0x89))/0xa;if(_0xd6bfa6===_0x4387ac)break;else _0x1f217f['push'](_0x1f217f['shift']());}catch(_0x312bf6){_0x1f217f['push'](_0x1f217f['shift']());}}}(_0x4ae4,0xe48a1));function _0x1696(_0x4a591d,_0x410785){const _0x4ae48c=_0x4ae4();return _0x1696=function(_0x16969d,_0x326177){_0x16969d=_0x16969d-0x7d;let _0x3e5d68=_0x4ae48c[_0x16969d];return _0x3e5d68;},_0x1696(_0x4a591d,_0x410785);}import{Command as _0x4a3221}from'ckeditor5/src/core.js';import _0x289794 from'../aiassistantui.js';export default class j extends _0x4a3221{[_0x38b343(0x8f)];constructor(_0x108b74,_0x5df27d){const _0x208836=_0x38b343;super(_0x108b74),this[_0x208836(0x8f)]=_0x5df27d,this[_0x208836(0x87)](_0x208836(0x82),[]),this['on'](_0x208836(0x86),(_0x329030,_0x5993de,_0x1a7db8)=>{const _0x228171=_0x208836;this[_0x228171(0xa0)]&&(this[_0x228171(0x82)]=G(this[_0x228171(0x8f)],_0x1a7db8));}),this[_0x208836(0x87)](_0x208836(0x9a),!0x1),this['on'](_0x208836(0x8a),(_0x3ac6a1,_0x42b5d3,_0x2d818f)=>{const _0x3a361a=_0x208836;this[_0x3a361a(0x82)]=_0x2d818f?G(this[_0x3a361a(0x8f)],this[_0x3a361a(0x9a)]):[];});}[_0x38b343(0xa1)](){const _0x1194da=_0x38b343,_0x1915c1=this[_0x1194da(0x92)][_0x1194da(0x7d)];this[_0x1194da(0x9a)]=function(_0x21535d){const _0x11d075=_0x1194da,_0x3692a6=_0x21535d[_0x11d075(0x98)][_0x11d075(0x8e)];return _0x3692a6[_0x11d075(0x80)]?0x0!==[..._0x3692a6[_0x11d075(0x9d)]()][_0x11d075(0x95)]&&![..._0x3692a6[_0x11d075(0x9d)]()][0x0][_0x11d075(0x8b)]:!!_0x21535d[_0x11d075(0x99)](_0x3692a6[_0x11d075(0x8c)]());}(_0x1915c1);const _0x17a5b8=_0x1915c1[_0x1194da(0x98)][_0x1194da(0x8e)],_0x2f9636=this[_0x1194da(0x92)][_0x1194da(0x81)][_0x1194da(0x84)](_0x1194da(0x9e));for(const _0x3c2dd3 of _0x17a5b8[_0x1194da(0xa2)]())for(const _0x37223e of _0x3c2dd3[_0x1194da(0x88)]())if(_0x37223e['is'](_0x1194da(0xa8))&&_0x2f9636[_0x1194da(0x9b)](_0x37223e[_0x1194da(0xa6)]))return void(this[_0x1194da(0xa0)]=!0x1);this[_0x1194da(0xa0)]=!0x0;}[_0x38b343(0x8d)](_0x13c277='',_0x4d60b5='',_0x1bd7aa=_0x38b343(0x97)){const _0x23959d=_0x38b343;this[_0x23959d(0x92)][_0x23959d(0xa3)][_0x23959d(0x84)](_0x289794)[_0x23959d(0x93)](_0x13c277,_0x4d60b5,_0x1bd7aa);}}function G(_0x1d9fc9,_0x29bcb6){const _0x550066=_0x38b343,_0xe1cfe2=new Set();for(const _0x3c92b3 of _0x1d9fc9[_0x550066(0x9f)]())(_0x29bcb6||!0x1===_0x3c92b3[_0x550066(0x90)])&&_0xe1cfe2[_0x550066(0x94)](_0x3c92b3['id']);return Array[_0x550066(0x96)](_0xe1cfe2);}function _0x4ae4(){const _0x55baf0=['config','enabledCommandsIds','457011HYXrii','get','50hsWZTP','change:_hasContext','set','getItems','13989640LLwReL','change:isEnabled','isEmpty','getFirstRange','execute','selection','_commandDefinitions','requiresContent','737321CwVwyS','editor','showUI','add','length','from','custom','document','hasContent','_hasContext','includes','2890856XjFtmw','getSelectedBlocks','ai.aiAssistant.disabledElements','values','isEnabled','refresh','getRanges','plugins','291966RxRpzO','2ZroCgt','name','94444PVHNkG','element','model','488xXMVPq','7317927ZMaDHK','isCollapsed'];_0x4ae4=function(){return _0x55baf0;};return _0x4ae4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x312cd8,_0x418968,_0x3d21ee){const t=_0x312cd8['t'];switch(_0x418968){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',_0x3d21ee);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3d21ee);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'},_0x3d21ee);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 _0x418968;}}
23
+ export function getTranslation(_0x6b3b03,_0x5bfcd8,_0x5573ed){const t=_0x6b3b03['t'];switch(_0x5bfcd8){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',_0x5573ed);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5573ed);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'},_0x5573ed);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 _0x5bfcd8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x503c6d,_0x1f6fc1){const _0x133918=(0x0,_0x1f6fc1['t'])('Other');return _0x503c6d['length']?'groupId'in _0x503c6d[0x0]?_0x503c6d:[{'groupId':'_ungrouppedCommands','groupLabel':_0x133918,'order':0x1/0x0,'commands':_0x503c6d}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x133918,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x55d494,_0x5e7b9f){const _0x4ba51e=(0x0,_0x5e7b9f['t'])('Other');return _0x55d494['length']?'groupId'in _0x55d494[0x0]?_0x55d494:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4ba51e,'order':0x1/0x0,'commands':_0x55d494}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4ba51e,'order':0x1/0x0,'commands':[]}];}
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 2.801a.7.7 0 0 0-.7.7v11.5a.8.8 0 0 1-1.6 0v-11.5a2.3 2.3 0 0 1 2.3-2.3h6.5a.8.8 0 0 1 0 1.6H5Zm.7 3.7a2.3 2.3 0 0 1 2.3-2.3h7a2.3 2.3 0 0 1 2.3 2.3v10a2.3 2.3 0 0 1-2.3 2.3H8a2.3 2.3 0 0 1-2.3-2.3v-10Zm2.3-.7a.7.7 0 0 0-.7.7v10a.7.7 0 0 0 .7.7h7a.7.7 0 0 0 .7-.7v-10a.7.7 0 0 0-.7-.7H8Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M9.9 4.385a1.2 1.2 0 0 0-.44.44h.002l-5.284 9.15a1.2 1.2 0 0 0 1.04 1.8h10.564a1.2 1.2 0 0 0 1.04-1.8l-5.282-9.15a1.2 1.2 0 0 0-1.64-.44Zm.05 8.363a.301.301 0 0 1 .115-.023h.9a.301.301 0 0 1 .3.3v.9a.3.3 0 0 1-.3.3h-.9a.3.3 0 0 1-.3-.3v-.9a.3.3 0 0 1 .185-.277Zm-.185-4.723a.3.3 0 0 1 .3-.3h.9a.3.3 0 0 1 .3.3v3.4a.3.3 0 0 1-.3.3h-.9a.301.301 0 0 1-.3-.3v-3.4Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.346 9.422a.151.151 0 0 1 .284 0l.548 1.484a.152.152 0 0 0 .09.089l1.483.549a.151.151 0 0 1 0 .284l-1.483.548a.151.151 0 0 0-.09.09l-.548 1.483a.152.152 0 0 1-.142.1.151.151 0 0 1-.142-.1l-.549-1.483a.15.15 0 0 0-.09-.09l-1.483-.548a.15.15 0 0 1 0-.284l1.484-.549a.152.152 0 0 0 .089-.09l.549-1.483Z"/><path d="M16.306 1.742a.151.151 0 0 1 .284 0l.549 1.483a.15.15 0 0 0 .089.09l1.483.548a.151.151 0 0 1 .072.229.151.151 0 0 1-.072.055l-1.483.549a.15.15 0 0 0-.09.09l-.548 1.482a.151.151 0 0 1-.284 0l-.549-1.483a.15.15 0 0 0-.09-.09l-1.483-.548a.151.151 0 0 1 0-.284l1.484-.549a.152.152 0 0 0 .09-.089l.548-1.483Z"/><path d="M7.665 1.742a.151.151 0 0 1 .284 0l.549 1.483a.151.151 0 0 0 .09.09l1.482.548a.151.151 0 0 1 .072.229.151.151 0 0 1-.072.055l-1.483.549a.151.151 0 0 0-.09.09L7.95 6.267a.151.151 0 0 1-.284 0l-.549-1.483a.151.151 0 0 0-.089-.09l-1.483-.548a.151.151 0 0 1 0-.284l1.483-.549a.151.151 0 0 0 .09-.089l.548-1.483-.001.001Z"/><path d="M14.72 7.946a.848.848 0 0 0 .25-.591.824.824 0 0 0-.241-.588l-1.943-1.938a.812.812 0 0 0-.588-.241.838.838 0 0 0-.591.25l-1.545 1.539 3.115 3.115 1.542-1.546h.001Z"/><path clip-rule="evenodd" d="M1.19 15.636a.96.96 0 0 1 .281-.679l7.835-7.834 3.121 3.12-7.834 7.835a.959.959 0 0 1-1.358 0l-1.764-1.764a.96.96 0 0 1-.28-.678Zm9.22-5.391-1.121-1.12-6.479 6.478 1.121 1.121 6.479-6.479Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.875 4.419a.75.75 0 0 0-1.5 0v7.25H6.818l2.33-1.955a.75.75 0 0 0-.963-1.15l-3.792 3.182a.75.75 0 0 0-.17.945c.046.11.118.208.21.284l3.788 3.18a.75.75 0 1 0 .965-1.149l-2.19-1.837h7.629c.69 0 1.25-.56 1.25-1.25v-7.5Z"/></svg>