@ckeditor/ckeditor5-ai 46.0.0-alpha.5 → 46.0.0-alpha.7

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
- function _0x27cd(_0x5e96d9,_0x57ee4c){const _0x487415=_0x4874();return _0x27cd=function(_0x27cdda,_0x58aa3a){_0x27cdda=_0x27cdda-0x142;let _0x4d1123=_0x487415[_0x27cdda];return _0x4d1123;},_0x27cd(_0x5e96d9,_0x57ee4c);}const _0x23e152=_0x27cd;(function(_0x4acf5c,_0x6913e1){const _0x3edfa3=_0x27cd,_0x1e9cc2=_0x4acf5c();while(!![]){try{const _0x464565=parseInt(_0x3edfa3(0x15a))/0x1*(-parseInt(_0x3edfa3(0x145))/0x2)+-parseInt(_0x3edfa3(0x144))/0x3+-parseInt(_0x3edfa3(0x16b))/0x4*(-parseInt(_0x3edfa3(0x148))/0x5)+-parseInt(_0x3edfa3(0x15e))/0x6+-parseInt(_0x3edfa3(0x161))/0x7+parseInt(_0x3edfa3(0x14d))/0x8+parseInt(_0x3edfa3(0x154))/0x9*(parseInt(_0x3edfa3(0x163))/0xa);if(_0x464565===_0x6913e1)break;else _0x1e9cc2['push'](_0x1e9cc2['shift']());}catch(_0xc51409){_0x1e9cc2['push'](_0x1e9cc2['shift']());}}}(_0x4874,0x75c7a));import{Rect as _0x18a56c,global as _0x3d5a18,isVisible as _0x1e01b2}from'ckeditor5/src/utils.js';import{IconHistory as _0x154ed9,IconSubmit as _0x15fce1}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x58aa55,ButtonView as _0x710cc3}from'ckeditor5/src/ui.js';import{getTranslation as _0xbc266}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x58aa55{[_0x23e152(0x16c)];[_0x23e152(0x153)];constructor(_0x1e638d,_0x17ae81){const _0x2f0884=_0x23e152;super(_0x1e638d,_0x17ae81),this[_0x2f0884(0x16d)][_0x2f0884(0x15c)][_0x2f0884(0x168)]=0x1,this[_0x2f0884(0x16d)][_0x2f0884(0x15c)][_0x2f0884(0x14e)]=0x3,this[_0x2f0884(0x16c)]=this[_0x2f0884(0x16e)](),this[_0x2f0884(0x153)]=this[_0x2f0884(0x14b)](),this[_0x2f0884(0x149)][_0x2f0884(0x159)](this[_0x2f0884(0x153)],0x1),this[_0x2f0884(0x149)][_0x2f0884(0x159)](this[_0x2f0884(0x16c)]);}[_0x23e152(0x158)](){const _0x3d67f8=_0x23e152;super[_0x3d67f8(0x158)](),this[_0x3d67f8(0x16d)][_0x3d67f8(0x172)][_0x3d67f8(0x159)](this[_0x3d67f8(0x153)]),this[_0x3d67f8(0x178)][_0x3d67f8(0x159)](this[_0x3d67f8(0x16c)]),this[_0x3d67f8(0x15d)][_0x3d67f8(0x15f)](_0x3d67f8(0x169),(_0x2ac3f0,_0x35ab5c)=>{const _0x460050=_0x3d67f8;_0x2ac3f0[_0x460050(0x14f)]==this[_0x460050(0x16d)][_0x460050(0x15c)][_0x460050(0x177)]&&(this[_0x460050(0x151)](),_0x35ab5c());});}[_0x23e152(0x16e)](){const _0x176a43=_0x23e152,_0x3b3dd8=new _0x710cc3(this[_0x176a43(0x15b)]),_0x5d18b1=this[_0x176a43(0x15b)];return _0x3b3dd8[_0x176a43(0x15f)]({'icon':_0x15fce1,'label':_0xbc266(_0x5d18b1,_0x176a43(0x155)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x176a43(0x166)}),_0x3b3dd8['on'](_0x176a43(0x142),()=>{const _0x382fb7=_0x176a43;this[_0x382fb7(0x151)]();}),_0x3b3dd8[_0x176a43(0x17b)](_0x176a43(0x173))['to'](this[_0x176a43(0x16d)][_0x176a43(0x15c)],_0x176a43(0x179),this,_0x176a43(0x173),(_0x12981e,_0x1658bf)=>!_0x12981e&&_0x1658bf),_0x3b3dd8;}[_0x23e152(0x14b)](){const _0x2f4c9e=_0x23e152,_0x54975e=new _0x710cc3(this[_0x2f4c9e(0x15b)]),_0x33babc=this[_0x2f4c9e(0x14a)],_0x446c60=this[_0x2f4c9e(0x15b)];_0x54975e[_0x2f4c9e(0x15f)]({'label':_0xbc266(_0x446c60,_0x2f4c9e(0x157)),'withText':!0x1,'icon':_0x154ed9,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2f4c9e(0x176)}),_0x54975e[_0x2f4c9e(0x17b)](_0x2f4c9e(0x164))['to'](_0x33babc,_0x2f4c9e(0x147)),_0x54975e[_0x2f4c9e(0x17b)](_0x2f4c9e(0x173))['to'](this,_0x2f4c9e(0x173)),_0x54975e['on'](_0x2f4c9e(0x142),()=>{const _0x3ff105=_0x2f4c9e;_0x33babc[_0x3ff105(0x147)]=!_0x33babc[_0x3ff105(0x147)],_0x33babc[_0x3ff105(0x147)]?this[_0x3ff105(0x143)][_0x3ff105(0x146)]():this[_0x3ff105(0x146)]();});const _0x442822=()=>{const _0x21b29d=_0x2f4c9e;_0x3d5a18[_0x21b29d(0x175)][_0x21b29d(0x170)](()=>{const _0x48da59=_0x21b29d;if(_0x1e01b2(this[_0x48da59(0x177)])){const _0x477eab=new _0x18a56c(this[_0x48da59(0x16d)][_0x48da59(0x15c)][_0x48da59(0x177)]),_0x5e64cf=_0x477eab[_0x48da59(0x162)],_0x1324da=_0x48da59(0x16f)===_0x446c60[_0x48da59(0x150)]?_0x48da59(0x156):_0x48da59(0x160);_0x477eab[_0x48da59(0x16a)](),_0x54975e[_0x48da59(0x177)][_0x48da59(0x14c)][_0x1324da]=_0x5e64cf-_0x477eab[_0x48da59(0x162)]+0x1+'px';}});};return this[_0x2f4c9e(0x16d)][_0x2f4c9e(0x15c)]['on'](_0x2f4c9e(0x165),_0x442822),this['on'](_0x2f4c9e(0x158),_0x442822),_0x54975e;}[_0x23e152(0x151)](){const _0xfeade7=_0x23e152,_0x548691=this[_0xfeade7(0x16d)][_0xfeade7(0x15c)][_0xfeade7(0x177)][_0xfeade7(0x174)];this[_0xfeade7(0x167)](_0xfeade7(0x151),_0x548691);}[_0x23e152(0x146)](_0x150144){const _0x2c515c=_0x23e152;-0x1===_0x150144?this[_0x2c515c(0x171)][_0x2c515c(0x17a)]():this[_0x2c515c(0x171)][_0x2c515c(0x152)]();}}function _0x4874(){const _0x47f63d=['add','50021CfQioP','locale','fieldView','keystrokes','2310918kCmUeg','set','right','4616969dlpuxE','width','20QZOQem','isOn','update','ck-ai-form__submit','fire','minRows','enter','excludeScrollbarsAndBorders','4HLgFmo','submitButtonView','queryView','_createSubmitButton','rtl','requestAnimationFrame','focusCycler','fieldWrapperChildren','isEnabled','value','window','ck-ai-form__toggle-history','element','children','isEmpty','focusLast','bind','execute','filteredView','2470194nWgjlP','38vAsTSb','focus','isVisible','2340095SdpcXe','focusableChildren','resultsView','_createShowHistoryButton','style','4367648BTlAAd','maxRows','target','uiLanguageDirection','submit','focusFirst','showHistoryButtonView','10291356yvveYa','Submit','left','History','render'];_0x4874=function(){return _0x47f63d;};return _0x4874();}
23
+ const _0x114429=_0x3118;function _0x3118(_0x1e00c4,_0x5ebe96){const _0x28b49c=_0x28b4();return _0x3118=function(_0x311819,_0x1ef443){_0x311819=_0x311819-0xbe;let _0x234dcf=_0x28b49c[_0x311819];return _0x234dcf;},_0x3118(_0x1e00c4,_0x5ebe96);}(function(_0x52917e,_0x360fa9){const _0xb6a860=_0x3118,_0x4b694d=_0x52917e();while(!![]){try{const _0x54a4c3=parseInt(_0xb6a860(0xd8))/0x1*(parseInt(_0xb6a860(0xf4))/0x2)+-parseInt(_0xb6a860(0xca))/0x3+parseInt(_0xb6a860(0xdf))/0x4*(parseInt(_0xb6a860(0xde))/0x5)+-parseInt(_0xb6a860(0xc3))/0x6*(parseInt(_0xb6a860(0xc5))/0x7)+parseInt(_0xb6a860(0xd7))/0x8*(-parseInt(_0xb6a860(0xd4))/0x9)+-parseInt(_0xb6a860(0xf0))/0xa+parseInt(_0xb6a860(0xe8))/0xb*(parseInt(_0xb6a860(0xce))/0xc);if(_0x54a4c3===_0x360fa9)break;else _0x4b694d['push'](_0x4b694d['shift']());}catch(_0x1ad248){_0x4b694d['push'](_0x4b694d['shift']());}}}(_0x28b4,0x2cf53));import{Rect as _0x23b5df,global as _0x256068,isVisible as _0x18674c}from'ckeditor5/src/utils.js';import{IconHistory as _0x3f848b,IconSubmit as _0x944e2e}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x33d0d2,ButtonView as _0x1e38ab}from'ckeditor5/src/ui.js';import{getTranslation as _0x55aa7f}from'../../utils/common-translations.js';function _0x28b4(){const _0x39d0e3=['isOn','11GEqehE','excludeScrollbarsAndBorders','focusLast','focusFirst','submitButtonView','fieldWrapperChildren','resultsView','isEmpty','281070RABoOr','ck-ai-form__toggle-history','target','window','19862HmTCMw','right','focusableChildren','_createShowHistoryButton','submit','uiLanguageDirection','focus','children','Submit','width','render','8994vSSNKD','element','651TIBuxb','add','isVisible','execute','maxRows','543285RinWyq','_createSubmitButton','rtl','minRows','5492016SLpyAs','locale','left','fire','value','History','9atoIiv','queryView','style','2758624lDsVKo','9OEQvyo','isEnabled','ck-ai-form__submit','update','requestAnimationFrame','keystrokes','1652685EdrtXC','4frvTjg','enter','set','focusCycler','showHistoryButtonView','fieldView','filteredView','bind'];_0x28b4=function(){return _0x39d0e3;};return _0x28b4();}export class AIFormPromptView extends _0x33d0d2{[_0x114429(0xec)];[_0x114429(0xe3)];constructor(_0x5af1fd,_0x3a5c6d){const _0x220969=_0x114429;super(_0x5af1fd,_0x3a5c6d),this[_0x220969(0xd5)][_0x220969(0xe4)][_0x220969(0xcd)]=0x1,this[_0x220969(0xd5)][_0x220969(0xe4)][_0x220969(0xc9)]=0x3,this[_0x220969(0xec)]=this[_0x220969(0xcb)](),this[_0x220969(0xe3)]=this[_0x220969(0xf7)](),this[_0x220969(0xf6)][_0x220969(0xc6)](this[_0x220969(0xe3)],0x1),this[_0x220969(0xf6)][_0x220969(0xc6)](this[_0x220969(0xec)]);}[_0x114429(0xc2)](){const _0x4ec062=_0x114429;super[_0x4ec062(0xc2)](),this[_0x4ec062(0xd5)][_0x4ec062(0xed)][_0x4ec062(0xc6)](this[_0x4ec062(0xe3)]),this[_0x4ec062(0xbf)][_0x4ec062(0xc6)](this[_0x4ec062(0xec)]),this[_0x4ec062(0xdd)][_0x4ec062(0xe1)](_0x4ec062(0xe0),(_0x1470dc,_0x4b3ff8)=>{const _0x253bd6=_0x4ec062;_0x1470dc[_0x253bd6(0xf2)]==this[_0x253bd6(0xd5)][_0x253bd6(0xe4)][_0x253bd6(0xc4)]&&(this[_0x253bd6(0xf8)](),_0x4b3ff8());});}[_0x114429(0xcb)](){const _0x29cd63=_0x114429,_0x51a5e4=new _0x1e38ab(this[_0x29cd63(0xcf)]),_0xd506fd=this[_0x29cd63(0xcf)];return _0x51a5e4[_0x29cd63(0xe1)]({'icon':_0x944e2e,'label':_0x55aa7f(_0xd506fd,_0x29cd63(0xc0)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x29cd63(0xda)}),_0x51a5e4['on'](_0x29cd63(0xc8),()=>{const _0xd5346d=_0x29cd63;this[_0xd5346d(0xf8)]();}),_0x51a5e4[_0x29cd63(0xe6)](_0x29cd63(0xd9))['to'](this[_0x29cd63(0xd5)][_0x29cd63(0xe4)],_0x29cd63(0xef),this,_0x29cd63(0xd9),(_0x32e2bd,_0x468146)=>!_0x32e2bd&&_0x468146),_0x51a5e4;}[_0x114429(0xf7)](){const _0x118d92=_0x114429,_0x12a61a=new _0x1e38ab(this[_0x118d92(0xcf)]),_0x1c49dc=this[_0x118d92(0xee)],_0x53146c=this[_0x118d92(0xcf)];_0x12a61a[_0x118d92(0xe1)]({'label':_0x55aa7f(_0x53146c,_0x118d92(0xd3)),'withText':!0x1,'icon':_0x3f848b,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x118d92(0xf1)}),_0x12a61a[_0x118d92(0xe6)](_0x118d92(0xe7))['to'](_0x1c49dc,_0x118d92(0xc7)),_0x12a61a[_0x118d92(0xe6)](_0x118d92(0xd9))['to'](this,_0x118d92(0xd9)),_0x12a61a['on'](_0x118d92(0xc8),()=>{const _0x2739ca=_0x118d92;_0x1c49dc[_0x2739ca(0xc7)]=!_0x1c49dc[_0x2739ca(0xc7)],_0x1c49dc[_0x2739ca(0xc7)]?this[_0x2739ca(0xe5)][_0x2739ca(0xbe)]():this[_0x2739ca(0xbe)]();});const _0x39af52=()=>{const _0x3888b9=_0x118d92;_0x256068[_0x3888b9(0xf3)][_0x3888b9(0xdc)](()=>{const _0x69e630=_0x3888b9;if(_0x18674c(this[_0x69e630(0xc4)])){const _0x2c5bde=new _0x23b5df(this[_0x69e630(0xd5)][_0x69e630(0xe4)][_0x69e630(0xc4)]),_0x20474b=_0x2c5bde[_0x69e630(0xc1)],_0x27861f=_0x69e630(0xcc)===_0x53146c[_0x69e630(0xf9)]?_0x69e630(0xd0):_0x69e630(0xf5);_0x2c5bde[_0x69e630(0xe9)](),_0x12a61a[_0x69e630(0xc4)][_0x69e630(0xd6)][_0x27861f]=_0x20474b-_0x2c5bde[_0x69e630(0xc1)]+0x1+'px';}});};return this[_0x118d92(0xd5)][_0x118d92(0xe4)]['on'](_0x118d92(0xdb),_0x39af52),this['on'](_0x118d92(0xc2),_0x39af52),_0x12a61a;}[_0x114429(0xf8)](){const _0x58c3cc=_0x114429,_0x190ed0=this[_0x58c3cc(0xd5)][_0x58c3cc(0xe4)][_0x58c3cc(0xc4)][_0x58c3cc(0xd2)];this[_0x58c3cc(0xd1)](_0x58c3cc(0xf8),_0x190ed0);}[_0x114429(0xbe)](_0x555af0){const _0x2f96db=_0x114429;-0x1===_0x555af0?this[_0x2f96db(0xe2)][_0x2f96db(0xea)]():this[_0x2f96db(0xe2)][_0x2f96db(0xeb)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b4b63=_0x5206;(function(_0xd1c33c,_0x585b50){const _0x235441=_0x5206,_0x44cebb=_0xd1c33c();while(!![]){try{const _0x3b6ac2=-parseInt(_0x235441(0x1f3))/0x1*(parseInt(_0x235441(0x1f0))/0x2)+parseInt(_0x235441(0x1fe))/0x3*(-parseInt(_0x235441(0x205))/0x4)+-parseInt(_0x235441(0x1fa))/0x5*(-parseInt(_0x235441(0x20c))/0x6)+parseInt(_0x235441(0x201))/0x7+-parseInt(_0x235441(0x1ff))/0x8+-parseInt(_0x235441(0x1fb))/0x9*(parseInt(_0x235441(0x203))/0xa)+parseInt(_0x235441(0x1ee))/0xb*(parseInt(_0x235441(0x1ed))/0xc);if(_0x3b6ac2===_0x585b50)break;else _0x44cebb['push'](_0x44cebb['shift']());}catch(_0x1e5bcf){_0x44cebb['push'](_0x44cebb['shift']());}}}(_0x2ae0,0x85ca7));import{ToolbarView as _0x588e34,ButtonView as _0x1fa8ec}from'ckeditor5/src/ui.js';import{getTranslation as _0x21ff11}from'../../utils/common-translations.js';function _0x5206(_0x45e01b,_0x4e0b24){const _0x2ae0fb=_0x2ae0();return _0x5206=function(_0x52065c,_0x273243){_0x52065c=_0x52065c-0x1ea;let _0x273844=_0x2ae0fb[_0x52065c];return _0x273844;},_0x5206(_0x45e01b,_0x4e0b24);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3b4b63(0x202),'INSERT':_0x3b4b63(0x1ec)};function _0x2ae0(){const _0x3c0ec6=['mainAction','ck-ai-form__toolbar','insertButton','set','24cwoovR','bind','label','Insert\x20below','items','addMany','ck-hidden','insert','984OwOMje','301851mMPmmS','_createButton','188318zcnsay','extendTemplate','stopButton','6lgGRJV','AI_','Try\x20again','REPLACE','replaceButton','isVisible','tryAgainButton','336685huROba','6062157fxIOrm','bindTemplate','ck-button-action','1299QCMjrS','4659632VTYGUI','locale','4323340MRQkAM','replace','10bMRmDK','_CONTENT','7096nQyqrY','Stop','toUpperCase'];_0x2ae0=function(){return _0x3c0ec6;};return _0x2ae0();}export class AIFormToolbarView extends _0x588e34{constructor(_0x55cc43){const _0x34f5f=_0x3b4b63;super(_0x55cc43),this[_0x34f5f(0x20b)](_0x34f5f(0x1f8),!0x1),this[_0x34f5f(0x20b)](_0x34f5f(0x208),AIFormToolbarViewMainActionLabel[_0x34f5f(0x1f6)]),this[_0x34f5f(0x1f7)]=this[_0x34f5f(0x1ef)]('',_0x34f5f(0x1fd)),this[_0x34f5f(0x1f7)][_0x34f5f(0x20d)](_0x34f5f(0x20e))['to'](this,_0x34f5f(0x208),_0x3f5b82=>_0x21ff11(_0x55cc43,_0x34f5f(0x1f4)+_0x3f5b82[_0x34f5f(0x207)]()+_0x34f5f(0x204))),this[_0x34f5f(0x20a)]=this[_0x34f5f(0x1ef)](_0x21ff11(_0x55cc43,_0x34f5f(0x20f))),this[_0x34f5f(0x1f9)]=this[_0x34f5f(0x1ef)](_0x21ff11(_0x55cc43,_0x34f5f(0x1f5))),this[_0x34f5f(0x1f2)]=this[_0x34f5f(0x1ef)](_0x21ff11(_0x55cc43,_0x34f5f(0x206)));const _0x396ab1=this[_0x34f5f(0x1fc)];this[_0x34f5f(0x1f1)]({'attributes':{'class':[_0x34f5f(0x209),_0x396ab1['if'](_0x34f5f(0x1f8),_0x34f5f(0x1eb),_0x4886d4=>!_0x4886d4)]}}),this[_0x34f5f(0x210)][_0x34f5f(0x1ea)]([this[_0x34f5f(0x1f7)],this[_0x34f5f(0x20a)],this[_0x34f5f(0x1f9)],this[_0x34f5f(0x1f2)]]);}[_0x3b4b63(0x1ef)](_0x400d96,_0x4af550){const _0x533b40=_0x3b4b63,_0x5be602=new _0x1fa8ec(this[_0x533b40(0x200)]);return _0x5be602[_0x533b40(0x20b)]({'label':_0x400d96,'class':_0x4af550||'','isVisible':!0x0,'withText':!0x0}),_0x5be602;}}
23
+ function _0x3dca(){const _0x1d3db3=['Insert\x20below','items','9793782ECUDfd','extendTemplate','Try\x20again','8qxyuty','REPLACE','locale','_createButton','addMany','55lFaGNs','mainAction','insert','55348AhVGkG','1026176WTBTZB','bind','label','_CONTENT','2537350HhUjLF','7318632xwhona','stopButton','Stop','replaceButton','ck-button-action','AI_','isVisible','60anSdwh','replace','set','tryAgainButton','3yYeGwG','ck-hidden','insertButton','bindTemplate','10803674tIoOKB','858215KfRAAB','ck-ai-form__toolbar','toUpperCase'];_0x3dca=function(){return _0x1d3db3;};return _0x3dca();}const _0x2147c6=_0x6a3c;function _0x6a3c(_0x501299,_0x2f36ec){const _0x3dca8c=_0x3dca();return _0x6a3c=function(_0x6a3ce8,_0x5c69b2){_0x6a3ce8=_0x6a3ce8-0x9a;let _0x3b9652=_0x3dca8c[_0x6a3ce8];return _0x3b9652;},_0x6a3c(_0x501299,_0x2f36ec);}(function(_0x1ad1f1,_0x4bb51b){const _0x3948e4=_0x6a3c,_0x555fd2=_0x1ad1f1();while(!![]){try{const _0x3dc500=-parseInt(_0x3948e4(0xbf))/0x1*(parseInt(_0x3948e4(0xb2))/0x2)+-parseInt(_0x3948e4(0x9d))/0x3*(parseInt(_0x3948e4(0xb3))/0x4)+parseInt(_0x3948e4(0xa2))/0x5+parseInt(_0x3948e4(0xb8))/0x6+-parseInt(_0x3948e4(0xa1))/0x7*(-parseInt(_0x3948e4(0xaa))/0x8)+parseInt(_0x3948e4(0xa7))/0x9+parseInt(_0x3948e4(0xb7))/0xa*(-parseInt(_0x3948e4(0xaf))/0xb);if(_0x3dc500===_0x4bb51b)break;else _0x555fd2['push'](_0x555fd2['shift']());}catch(_0x3381f1){_0x555fd2['push'](_0x555fd2['shift']());}}}(_0x3dca,0xcc6d8));import{ToolbarView as _0x2d40ac,ButtonView as _0x313468}from'ckeditor5/src/ui.js';import{getTranslation as _0x2a4fbf}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x2147c6(0x9a),'INSERT':_0x2147c6(0xb1)};export class AIFormToolbarView extends _0x2d40ac{constructor(_0x2f437c){const _0x123db1=_0x2147c6;super(_0x2f437c),this[_0x123db1(0x9b)](_0x123db1(0xbe),!0x1),this[_0x123db1(0x9b)](_0x123db1(0xb0),AIFormToolbarViewMainActionLabel[_0x123db1(0xab)]),this[_0x123db1(0xbb)]=this[_0x123db1(0xad)]('',_0x123db1(0xbc)),this[_0x123db1(0xbb)][_0x123db1(0xb4)](_0x123db1(0xb5))['to'](this,_0x123db1(0xb0),_0x4facb4=>_0x2a4fbf(_0x2f437c,_0x123db1(0xbd)+_0x4facb4[_0x123db1(0xa4)]()+_0x123db1(0xb6))),this[_0x123db1(0x9f)]=this[_0x123db1(0xad)](_0x2a4fbf(_0x2f437c,_0x123db1(0xa5))),this[_0x123db1(0x9c)]=this[_0x123db1(0xad)](_0x2a4fbf(_0x2f437c,_0x123db1(0xa9))),this[_0x123db1(0xb9)]=this[_0x123db1(0xad)](_0x2a4fbf(_0x2f437c,_0x123db1(0xba)));const _0x138d0a=this[_0x123db1(0xa0)];this[_0x123db1(0xa8)]({'attributes':{'class':[_0x123db1(0xa3),_0x138d0a['if'](_0x123db1(0xbe),_0x123db1(0x9e),_0x30d4c9=>!_0x30d4c9)]}}),this[_0x123db1(0xa6)][_0x123db1(0xae)]([this[_0x123db1(0xbb)],this[_0x123db1(0x9f)],this[_0x123db1(0x9c)],this[_0x123db1(0xb9)]]);}[_0x2147c6(0xad)](_0x5d2f4b,_0x4acf02){const _0x5d67f2=_0x2147c6,_0x49aea3=new _0x313468(this[_0x5d67f2(0xac)]);return _0x49aea3[_0x5d67f2(0x9b)]({'label':_0x5d2f4b,'class':_0x4acf02||'','isVisible':!0x0,'withText':!0x0}),_0x49aea3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e4df5=_0xebb8;(function(_0x39bea6,_0x7000c9){const _0x34eec6=_0xebb8,_0x4392e5=_0x39bea6();while(!![]){try{const _0x5420b1=-parseInt(_0x34eec6(0x23f))/0x1*(-parseInt(_0x34eec6(0x1fc))/0x2)+parseInt(_0x34eec6(0x1f8))/0x3*(-parseInt(_0x34eec6(0x22f))/0x4)+parseInt(_0x34eec6(0x23d))/0x5+-parseInt(_0x34eec6(0x21e))/0x6+-parseInt(_0x34eec6(0x21b))/0x7*(parseInt(_0x34eec6(0x1fb))/0x8)+-parseInt(_0x34eec6(0x244))/0x9*(-parseInt(_0x34eec6(0x224))/0xa)+parseInt(_0x34eec6(0x238))/0xb*(-parseInt(_0x34eec6(0x21c))/0xc);if(_0x5420b1===_0x7000c9)break;else _0x4392e5['push'](_0x4392e5['shift']());}catch(_0x576370){_0x4392e5['push'](_0x4392e5['shift']());}}}(_0x4f06,0xc65a6));import{FocusTracker as _0x102c06,KeystrokeHandler as _0x34d1cf}from'ckeditor5/src/utils.js';import{View as _0x5961ed,FocusCycler as _0x5bd0aa,createLabeledTextarea as _0x9b9ecf}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x1d212d,AIFormToolbarViewMainActionLabel as _0x46a6c2}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x4a45ef}from'./aiformcontentarea.js';import{AIFormErrorView as _0x558c05}from'./aiformerrorview.js';import{AIFormPromptView as _0x41e045}from'./aiformpromptview.js';import{AIHistoryListView as _0x14d351}from'./aihistorylistview.js';function _0xebb8(_0xb103f7,_0x1d650e){const _0x4f065e=_0x4f06();return _0xebb8=function(_0xebb88f,_0x46749a){_0xebb88f=_0xebb88f-0x1f2;let _0x34afa9=_0x4f065e[_0xebb88f];return _0x34afa9;},_0xebb8(_0xb103f7,_0x1d650e);}import{AIHistoryListItemView as _0x6d3e4c}from'./aihistorylistitemview.js';import{PromptHistory as _0x5b1db0}from'./prompthistory.js';function _0x4f06(){const _0x1c18ad=['4824qmyQvI','1341698VbUbMo','ck-hidden','errorView','_createHistoryView','value','mainAction','search','chain','keystrokes','replaceContent','submit','submitPrompt','_promptHistory','isEnabled','prompt','_focusables','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','listenTo','delegate','clear','trim','items','toolbar','focusCycler','focusFirst','contentArea','render','stopButton','_createPromptView','tryAgainButton','createCollection','8792PSFTSj','12jPChTF','_createToolbar','1557450tfZPKk','Ask\x20AI\x20to\x20improve\x20generated\x20text','ck-ai-form-content','focus','reset','copyButtonView','761340XyNMXE','insertButton','set','Ask\x20AI\x20to\x20edit\x20or\x20generate','finishProcessing','insertContentBelow','high','bindTemplate','clearHistory','isVisible','focusLast','492TRDyol','locale','add','promptView','focusTracker','isError','text','tryAgainEvent','execute','11042658QoRtEn','label','setTemplate','div','AI_ERROR_FAILED','4328420uBdgCb','fieldView','2rnLWWM','stopProcessing','historyGroupView','startProcessing','tab','162eCGSBE','REPLACE','element','isProcessing','shift\x20+\x20tab','Empty\x20history','fire','replaceButton','bind','handleError','ck-ai-form','18159KCaweu','bindTo','queryView'];_0x4f06=function(){return _0x1c18ad;};return _0x4f06();}import{getTranslation as _0x3062e3}from'../../utils/common-translations.js';import{escape as _0x113a0e}from'es-toolkit/compat';export class AIFormView extends _0x5961ed{[_0x2e4df5(0x233)];[_0x2e4df5(0x204)];[_0x2e4df5(0x215)];[_0x2e4df5(0x212)];[_0x2e4df5(0x232)];[_0x2e4df5(0x1fe)];[_0x2e4df5(0x20b)];[_0x2e4df5(0x213)];[_0x2e4df5(0x208)];constructor(_0x5022b0,_0x506a34,_0x8f8af5=''){const _0x50ee3c=_0x2e4df5;super(_0x5022b0),this[_0x50ee3c(0x226)](_0x50ee3c(0x209),!0x0),this[_0x50ee3c(0x226)](_0x50ee3c(0x247),!0x1),this[_0x50ee3c(0x226)](_0x50ee3c(0x20a),''),this[_0x50ee3c(0x226)](_0x50ee3c(0x200),''),this[_0x50ee3c(0x226)](_0x50ee3c(0x234),!0x1),this[_0x50ee3c(0x226)](_0x50ee3c(0x201),_0x46a6c2[_0x50ee3c(0x245)]),this[_0x50ee3c(0x208)]=new _0x5b1db0(),this[_0x50ee3c(0x1fe)]=new _0x558c05(_0x5022b0),this[_0x50ee3c(0x215)]=new _0x4a45ef(_0x5022b0,_0x8f8af5),this[_0x50ee3c(0x215)][_0x50ee3c(0x1f5)](_0x50ee3c(0x247))['to'](this),this[_0x50ee3c(0x215)][_0x50ee3c(0x1f5)](_0x50ee3c(0x200))['to'](this),this[_0x50ee3c(0x212)]=this[_0x50ee3c(0x21d)](),this[_0x50ee3c(0x212)][_0x50ee3c(0x1f5)](_0x50ee3c(0x201))['to'](this),this[_0x50ee3c(0x232)]=this[_0x50ee3c(0x218)](),this[_0x50ee3c(0x233)]=new _0x102c06(),this[_0x50ee3c(0x204)]=new _0x34d1cf(),this[_0x50ee3c(0x20b)]=this[_0x50ee3c(0x21a)]([this[_0x50ee3c(0x215)],this[_0x50ee3c(0x215)][_0x50ee3c(0x223)],this[_0x50ee3c(0x212)],this[_0x50ee3c(0x232)]]),this[_0x50ee3c(0x213)]=new _0x5bd0aa({'focusables':this[_0x50ee3c(0x20b)],'focusTracker':this[_0x50ee3c(0x233)],'keystrokeHandler':this[_0x50ee3c(0x204)],'actions':{'focusPrevious':_0x50ee3c(0x248),'focusNext':_0x50ee3c(0x243)}}),this[_0x50ee3c(0x213)][_0x50ee3c(0x203)](this[_0x50ee3c(0x232)][_0x50ee3c(0x213)]),this[_0x50ee3c(0x232)][_0x50ee3c(0x1fa)][_0x50ee3c(0x23e)][_0x50ee3c(0x1f5)](_0x50ee3c(0x200))['to'](this,_0x50ee3c(0x20a));const _0xad8a22=this[_0x50ee3c(0x22b)];this[_0x50ee3c(0x23a)]({'tag':_0x50ee3c(0x23b),'attributes':{'class':['ck',_0x50ee3c(0x1f7),_0x506a34],'tabindex':'-1'},'children':[{'tag':_0x50ee3c(0x23b),'attributes':{'class':['ck',_0x50ee3c(0x220)]},'children':[{'tag':_0x50ee3c(0x23b),'attributes':{'class':[_0xad8a22['if'](_0x50ee3c(0x234),_0x50ee3c(0x1fd),_0x1c3c88=>!_0x1c3c88)]},'children':[this[_0x50ee3c(0x1fe)]]},this[_0x50ee3c(0x215)],this[_0x50ee3c(0x212)],this[_0x50ee3c(0x232)]]}]});}[_0x2e4df5(0x216)](){const _0x53bb8d=_0x2e4df5;super[_0x53bb8d(0x216)](),this[_0x53bb8d(0x233)][_0x53bb8d(0x231)](this[_0x53bb8d(0x215)][_0x53bb8d(0x246)]),this[_0x53bb8d(0x233)][_0x53bb8d(0x231)](this[_0x53bb8d(0x215)][_0x53bb8d(0x223)][_0x53bb8d(0x246)]),this[_0x53bb8d(0x233)][_0x53bb8d(0x231)](this[_0x53bb8d(0x212)][_0x53bb8d(0x246)]),this[_0x53bb8d(0x233)][_0x53bb8d(0x231)](this[_0x53bb8d(0x232)][_0x53bb8d(0x246)]),this[_0x53bb8d(0x204)][_0x53bb8d(0x20d)](this[_0x53bb8d(0x246)]);}[_0x2e4df5(0x221)](_0x15dd5e=0x1){const _0x5f575e=_0x2e4df5;-0x1===_0x15dd5e?this[_0x5f575e(0x213)][_0x5f575e(0x22e)]():this[_0x5f575e(0x213)][_0x5f575e(0x214)]();}[_0x2e4df5(0x222)](){const _0x4bbd52=_0x2e4df5;this[_0x4bbd52(0x20a)]='',this[_0x4bbd52(0x200)]='',this[_0x4bbd52(0x234)]=!0x1,this[_0x4bbd52(0x232)][_0x4bbd52(0x222)](),this[_0x4bbd52(0x215)][_0x4bbd52(0x22d)]=!0x1,this[_0x4bbd52(0x212)][_0x4bbd52(0x22d)]=!0x1;}[_0x2e4df5(0x218)](){const _0x3aaaed=_0x2e4df5,_0x10034d=this[_0x3aaaed(0x230)],_0x436569=new _0x41e045(_0x10034d,{'queryView':{'label':_0x3062e3(_0x10034d,_0x3aaaed(0x227)),'creator':_0x9b9ecf,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3062e3(_0x10034d,_0x3aaaed(0x1f2)),'secondary':_0x3062e3(_0x10034d,_0x3aaaed(0x20c))}}},'filteredView':this[_0x3aaaed(0x1ff)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x436569[_0x3aaaed(0x1f5)](_0x3aaaed(0x209))['to'](this,_0x3aaaed(0x209),this,_0x3aaaed(0x247),(_0x3e67a9,_0x14ef4e)=>_0x3e67a9&&!_0x14ef4e),this[_0x3aaaed(0x20d)](_0x436569,_0x3aaaed(0x206),(_0x9b03e0,_0x145790)=>{const _0x171822=_0x3aaaed;this[_0x171822(0x20a)]=_0x145790;const _0x1266a6=_0x113a0e(_0x145790);this[_0x171822(0x1f3)](_0x171822(0x207),_0x1266a6),_0x145790[_0x171822(0x210)]()&&this[_0x171822(0x208)][_0x171822(0x231)]({'prompt':_0x1266a6},0x0);},{'priority':_0x3aaaed(0x22a)}),_0x436569;}[_0x2e4df5(0x1ff)](){const _0x314a99=_0x2e4df5,_0x111796=new _0x14d351(this[_0x314a99(0x230)]);return _0x111796[_0x314a99(0x241)][_0x314a99(0x211)][_0x314a99(0x1f9)](this[_0x314a99(0x208)])['as'](_0x6d3e4c),_0x111796['on'](_0x314a99(0x22c),()=>{const _0x426c43=_0x314a99;this[_0x426c43(0x208)][_0x426c43(0x20f)](),this[_0x426c43(0x232)][_0x426c43(0x202)](''),this[_0x426c43(0x232)][_0x426c43(0x221)]();}),_0x111796;}[_0x2e4df5(0x21d)](){const _0x707323=_0x2e4df5,_0x76499f=new _0x1d212d(this[_0x707323(0x230)]);return _0x76499f[_0x707323(0x1f4)][_0x707323(0x1f5)](_0x707323(0x209))['to'](this,_0x707323(0x209),this,_0x707323(0x247),this,_0x707323(0x200),(_0x1e807c,_0x10b5a9,_0xb2a204)=>_0x1e807c&&!_0x10b5a9&&!!_0xb2a204),_0x76499f[_0x707323(0x1f4)][_0x707323(0x20e)](_0x707323(0x237))['to'](this,_0x707323(0x205)),_0x76499f[_0x707323(0x225)][_0x707323(0x1f5)](_0x707323(0x209))['to'](this,_0x707323(0x209),this,_0x707323(0x247),this,_0x707323(0x200),(_0x5012ab,_0x4beb7e,_0x9ac87f)=>_0x5012ab&&!_0x4beb7e&&!!_0x9ac87f),_0x76499f[_0x707323(0x225)][_0x707323(0x20e)](_0x707323(0x237))['to'](this,_0x707323(0x229)),_0x76499f[_0x707323(0x219)][_0x707323(0x1f5)](_0x707323(0x209))['to'](this,_0x707323(0x209),this,_0x707323(0x247),(_0xfeb3c0,_0x230e25)=>_0xfeb3c0&&!_0x230e25),_0x76499f[_0x707323(0x219)][_0x707323(0x20e)](_0x707323(0x237))['to'](this,_0x707323(0x236)),_0x76499f[_0x707323(0x217)][_0x707323(0x1f5)](_0x707323(0x209))['to'](this,_0x707323(0x247)),_0x76499f[_0x707323(0x217)][_0x707323(0x20e)](_0x707323(0x237))['to'](this,_0x707323(0x240)),_0x76499f;}[_0x2e4df5(0x242)](){const _0x13fa99=_0x2e4df5;this[_0x13fa99(0x200)]='',this[_0x13fa99(0x234)]=!0x1,this[_0x13fa99(0x247)]=!0x0,this[_0x13fa99(0x215)][_0x13fa99(0x22d)]=!0x0,this[_0x13fa99(0x212)][_0x13fa99(0x22d)]=!0x0,this[_0x13fa99(0x215)][_0x13fa99(0x221)]();}[_0x2e4df5(0x228)](){const _0x41ebf7=_0x2e4df5,_0x1e5d00=this[_0x41ebf7(0x230)];this[_0x41ebf7(0x247)]=!0x1,this[_0x41ebf7(0x20a)]='',this[_0x41ebf7(0x232)][_0x41ebf7(0x222)](),this[_0x41ebf7(0x200)]&&(this[_0x41ebf7(0x232)][_0x41ebf7(0x1fa)][_0x41ebf7(0x239)]=_0x3062e3(_0x1e5d00,_0x41ebf7(0x21f)));}[_0x2e4df5(0x1f6)](_0x5f3c7c){const _0x7db280=_0x2e4df5,_0xb6c0a=this[_0x7db280(0x230)];this[_0x7db280(0x228)](),this[_0x7db280(0x234)]=!0x0,this[_0x7db280(0x1fe)][_0x7db280(0x235)]=_0x5f3c7c||_0x3062e3(_0xb6c0a,_0x7db280(0x23c)),this[_0x7db280(0x200)]||(this[_0x7db280(0x215)][_0x7db280(0x22d)]=!0x1);}}
23
+ const _0x2692f7=_0x5cb4;(function(_0x406a67,_0x54722f){const _0x22a89a=_0x5cb4,_0x2ba161=_0x406a67();while(!![]){try{const _0x428711=parseInt(_0x22a89a(0xb6))/0x1*(-parseInt(_0x22a89a(0xdb))/0x2)+-parseInt(_0x22a89a(0x9b))/0x3*(-parseInt(_0x22a89a(0xcd))/0x4)+parseInt(_0x22a89a(0xc9))/0x5*(-parseInt(_0x22a89a(0x8e))/0x6)+-parseInt(_0x22a89a(0xad))/0x7*(-parseInt(_0x22a89a(0xc5))/0x8)+parseInt(_0x22a89a(0xca))/0x9*(-parseInt(_0x22a89a(0xc4))/0xa)+-parseInt(_0x22a89a(0x96))/0xb*(parseInt(_0x22a89a(0x92))/0xc)+parseInt(_0x22a89a(0xb8))/0xd;if(_0x428711===_0x54722f)break;else _0x2ba161['push'](_0x2ba161['shift']());}catch(_0x11ca1e){_0x2ba161['push'](_0x2ba161['shift']());}}}(_0x39bb,0xeb43d));import{FocusTracker as _0x2e8a84,KeystrokeHandler as _0x4227c6}from'ckeditor5/src/utils.js';function _0x39bb(){const _0x15e7d8=['40184651kAwrwX','focusFirst','isProcessing','label','tryAgainEvent','_createToolbar','submit','contentArea','replaceContent','handleError','Empty\x20history','clearHistory','20AODRSP','343496CXpAqD','listenTo','add','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','103265ITpKiP','3557124xkwMhx','execute','focusTracker','4DBYDkV','stopButton','submitPrompt','setTemplate','high','items','_createPromptView','ck-ai-form-content','focusCycler','search','chain','bindTemplate','AI_ERROR_FAILED','Ask\x20AI\x20to\x20improve\x20generated\x20text','8USOioV','historyGroupView','fieldView','tryAgainButton','startProcessing','render','isVisible','delegate','bindTo','isError','isEnabled','366vLFXyr','queryView','_focusables','ck-ai-form','1644IOUfCN','copyButtonView','errorView','mainAction','9823mTQpqA','keystrokes','finishProcessing','_createHistoryView','element','692205QAuhDu','ck-hidden','bind','locale','Ask\x20AI\x20to\x20edit\x20or\x20generate','insertButton','tab','prompt','focusLast','clear','reset','replaceButton','fire','toolbar','value','trim','stopProcessing','shift\x20+\x20tab','7uoGeQv','insertContentBelow','createCollection','text','REPLACE','focus','div','promptView','_promptHistory','57127JqnpJA','set'];_0x39bb=function(){return _0x15e7d8;};return _0x39bb();}import{View as _0xccd7a5,FocusCycler as _0x42c81d,createLabeledTextarea as _0x106655}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x43fffa,AIFormToolbarViewMainActionLabel as _0x78a65e}from'./aiformtoolbarview.js';import{AIFormContentArea as _0xa7e97}from'./aiformcontentarea.js';import{AIFormErrorView as _0x22b27e}from'./aiformerrorview.js';import{AIFormPromptView as _0x349a5c}from'./aiformpromptview.js';import{AIHistoryListView as _0x2c1c3f}from'./aihistorylistview.js';function _0x5cb4(_0x46471a,_0x582991){const _0x39bb31=_0x39bb();return _0x5cb4=function(_0x5cb4f2,_0x5d099b){_0x5cb4f2=_0x5cb4f2-0x87;let _0x573570=_0x39bb31[_0x5cb4f2];return _0x573570;},_0x5cb4(_0x46471a,_0x582991);}import{AIHistoryListItemView as _0x36d6dc}from'./aihistorylistitemview.js';import{PromptHistory as _0x2f7bb5}from'./prompthistory.js';import{getTranslation as _0x17082f}from'../../utils/common-translations.js';import{escape as _0x20f112}from'es-toolkit/compat';export class AIFormView extends _0xccd7a5{[_0x2692f7(0xcc)];[_0x2692f7(0x97)];[_0x2692f7(0xbf)];[_0x2692f7(0xa8)];[_0x2692f7(0xb4)];[_0x2692f7(0x94)];[_0x2692f7(0x90)];[_0x2692f7(0xd5)];[_0x2692f7(0xb5)];constructor(_0x199bc8,_0x1ee6b0,_0x21afc4=''){const _0x34bf8d=_0x2692f7;super(_0x199bc8),this[_0x34bf8d(0xb7)](_0x34bf8d(0x8d),!0x0),this[_0x34bf8d(0xb7)](_0x34bf8d(0xba),!0x1),this[_0x34bf8d(0xb7)](_0x34bf8d(0xa2),''),this[_0x34bf8d(0xb7)](_0x34bf8d(0xa9),''),this[_0x34bf8d(0xb7)](_0x34bf8d(0x8c),!0x1),this[_0x34bf8d(0xb7)](_0x34bf8d(0x95),_0x78a65e[_0x34bf8d(0xb1)]),this[_0x34bf8d(0xb5)]=new _0x2f7bb5(),this[_0x34bf8d(0x94)]=new _0x22b27e(_0x199bc8),this[_0x34bf8d(0xbf)]=new _0xa7e97(_0x199bc8,_0x21afc4),this[_0x34bf8d(0xbf)][_0x34bf8d(0x9d)](_0x34bf8d(0xba))['to'](this),this[_0x34bf8d(0xbf)][_0x34bf8d(0x9d)](_0x34bf8d(0xa9))['to'](this),this[_0x34bf8d(0xa8)]=this[_0x34bf8d(0xbd)](),this[_0x34bf8d(0xa8)][_0x34bf8d(0x9d)](_0x34bf8d(0x95))['to'](this),this[_0x34bf8d(0xb4)]=this[_0x34bf8d(0xd3)](),this[_0x34bf8d(0xcc)]=new _0x2e8a84(),this[_0x34bf8d(0x97)]=new _0x4227c6(),this[_0x34bf8d(0x90)]=this[_0x34bf8d(0xaf)]([this[_0x34bf8d(0xbf)],this[_0x34bf8d(0xbf)][_0x34bf8d(0x93)],this[_0x34bf8d(0xa8)],this[_0x34bf8d(0xb4)]]),this[_0x34bf8d(0xd5)]=new _0x42c81d({'focusables':this[_0x34bf8d(0x90)],'focusTracker':this[_0x34bf8d(0xcc)],'keystrokeHandler':this[_0x34bf8d(0x97)],'actions':{'focusPrevious':_0x34bf8d(0xac),'focusNext':_0x34bf8d(0xa1)}}),this[_0x34bf8d(0xd5)][_0x34bf8d(0xd7)](this[_0x34bf8d(0xb4)][_0x34bf8d(0xd5)]),this[_0x34bf8d(0xb4)][_0x34bf8d(0x8f)][_0x34bf8d(0xdd)][_0x34bf8d(0x9d)](_0x34bf8d(0xa9))['to'](this,_0x34bf8d(0xa2));const _0x40da8b=this[_0x34bf8d(0xd8)];this[_0x34bf8d(0xd0)]({'tag':_0x34bf8d(0xb3),'attributes':{'class':['ck',_0x34bf8d(0x91),_0x1ee6b0],'tabindex':'-1'},'children':[{'tag':_0x34bf8d(0xb3),'attributes':{'class':['ck',_0x34bf8d(0xd4)]},'children':[{'tag':_0x34bf8d(0xb3),'attributes':{'class':[_0x40da8b['if'](_0x34bf8d(0x8c),_0x34bf8d(0x9c),_0xf5e782=>!_0xf5e782)]},'children':[this[_0x34bf8d(0x94)]]},this[_0x34bf8d(0xbf)],this[_0x34bf8d(0xa8)],this[_0x34bf8d(0xb4)]]}]});}[_0x2692f7(0x88)](){const _0x2c4882=_0x2692f7;super[_0x2c4882(0x88)](),this[_0x2c4882(0xcc)][_0x2c4882(0xc7)](this[_0x2c4882(0xbf)][_0x2c4882(0x9a)]),this[_0x2c4882(0xcc)][_0x2c4882(0xc7)](this[_0x2c4882(0xbf)][_0x2c4882(0x93)][_0x2c4882(0x9a)]),this[_0x2c4882(0xcc)][_0x2c4882(0xc7)](this[_0x2c4882(0xa8)][_0x2c4882(0x9a)]),this[_0x2c4882(0xcc)][_0x2c4882(0xc7)](this[_0x2c4882(0xb4)][_0x2c4882(0x9a)]),this[_0x2c4882(0x97)][_0x2c4882(0xc6)](this[_0x2c4882(0x9a)]);}[_0x2692f7(0xb2)](_0x21c7a5=0x1){const _0x5d735a=_0x2692f7;-0x1===_0x21c7a5?this[_0x5d735a(0xd5)][_0x5d735a(0xa3)]():this[_0x5d735a(0xd5)][_0x5d735a(0xb9)]();}[_0x2692f7(0xa5)](){const _0x4a795c=_0x2692f7;this[_0x4a795c(0xa2)]='',this[_0x4a795c(0xa9)]='',this[_0x4a795c(0x8c)]=!0x1,this[_0x4a795c(0xb4)][_0x4a795c(0xa5)](),this[_0x4a795c(0xbf)][_0x4a795c(0x89)]=!0x1,this[_0x4a795c(0xa8)][_0x4a795c(0x89)]=!0x1;}[_0x2692f7(0xd3)](){const _0x2b8d27=_0x2692f7,_0x55f743=this[_0x2b8d27(0x9e)],_0x50602b=new _0x349a5c(_0x55f743,{'queryView':{'label':_0x17082f(_0x55f743,_0x2b8d27(0x9f)),'creator':_0x106655,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x17082f(_0x55f743,_0x2b8d27(0xc2)),'secondary':_0x17082f(_0x55f743,_0x2b8d27(0xc8))}}},'filteredView':this[_0x2b8d27(0x99)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x50602b[_0x2b8d27(0x9d)](_0x2b8d27(0x8d))['to'](this,_0x2b8d27(0x8d),this,_0x2b8d27(0xba),(_0x3b3899,_0x48affa)=>_0x3b3899&&!_0x48affa),this[_0x2b8d27(0xc6)](_0x50602b,_0x2b8d27(0xbe),(_0x14761b,_0x1dec47)=>{const _0x5a9d0a=_0x2b8d27;this[_0x5a9d0a(0xa2)]=_0x1dec47;const _0x56664b=_0x20f112(_0x1dec47);this[_0x5a9d0a(0xa7)](_0x5a9d0a(0xcf),_0x56664b),_0x1dec47[_0x5a9d0a(0xaa)]()&&this[_0x5a9d0a(0xb5)][_0x5a9d0a(0xc7)]({'prompt':_0x56664b},0x0);},{'priority':_0x2b8d27(0xd1)}),_0x50602b;}[_0x2692f7(0x99)](){const _0x147790=_0x2692f7,_0x285adf=new _0x2c1c3f(this[_0x147790(0x9e)]);return _0x285adf[_0x147790(0xdc)][_0x147790(0xd2)][_0x147790(0x8b)](this[_0x147790(0xb5)])['as'](_0x36d6dc),_0x285adf['on'](_0x147790(0xc3),()=>{const _0x42b5b2=_0x147790;this[_0x42b5b2(0xb5)][_0x42b5b2(0xa4)](),this[_0x42b5b2(0xb4)][_0x42b5b2(0xd6)](''),this[_0x42b5b2(0xb4)][_0x42b5b2(0xb2)]();}),_0x285adf;}[_0x2692f7(0xbd)](){const _0x34378f=_0x2692f7,_0xf65011=new _0x43fffa(this[_0x34378f(0x9e)]);return _0xf65011[_0x34378f(0xa6)][_0x34378f(0x9d)](_0x34378f(0x8d))['to'](this,_0x34378f(0x8d),this,_0x34378f(0xba),this,_0x34378f(0xa9),(_0x1282f0,_0x550942,_0x2dea74)=>_0x1282f0&&!_0x550942&&!!_0x2dea74),_0xf65011[_0x34378f(0xa6)][_0x34378f(0x8a)](_0x34378f(0xcb))['to'](this,_0x34378f(0xc0)),_0xf65011[_0x34378f(0xa0)][_0x34378f(0x9d)](_0x34378f(0x8d))['to'](this,_0x34378f(0x8d),this,_0x34378f(0xba),this,_0x34378f(0xa9),(_0x3e9cad,_0x4f37ad,_0x108c4b)=>_0x3e9cad&&!_0x4f37ad&&!!_0x108c4b),_0xf65011[_0x34378f(0xa0)][_0x34378f(0x8a)](_0x34378f(0xcb))['to'](this,_0x34378f(0xae)),_0xf65011[_0x34378f(0xde)][_0x34378f(0x9d)](_0x34378f(0x8d))['to'](this,_0x34378f(0x8d),this,_0x34378f(0xba),(_0x4d16be,_0x1c3264)=>_0x4d16be&&!_0x1c3264),_0xf65011[_0x34378f(0xde)][_0x34378f(0x8a)](_0x34378f(0xcb))['to'](this,_0x34378f(0xbc)),_0xf65011[_0x34378f(0xce)][_0x34378f(0x9d)](_0x34378f(0x8d))['to'](this,_0x34378f(0xba)),_0xf65011[_0x34378f(0xce)][_0x34378f(0x8a)](_0x34378f(0xcb))['to'](this,_0x34378f(0xab)),_0xf65011;}[_0x2692f7(0x87)](){const _0x4601bb=_0x2692f7;this[_0x4601bb(0xa9)]='',this[_0x4601bb(0x8c)]=!0x1,this[_0x4601bb(0xba)]=!0x0,this[_0x4601bb(0xbf)][_0x4601bb(0x89)]=!0x0,this[_0x4601bb(0xa8)][_0x4601bb(0x89)]=!0x0,this[_0x4601bb(0xbf)][_0x4601bb(0xb2)]();}[_0x2692f7(0x98)](){const _0x52fb14=_0x2692f7,_0x1e1138=this[_0x52fb14(0x9e)];this[_0x52fb14(0xba)]=!0x1,this[_0x52fb14(0xa2)]='',this[_0x52fb14(0xb4)][_0x52fb14(0xa5)](),this[_0x52fb14(0xa9)]&&(this[_0x52fb14(0xb4)][_0x52fb14(0x8f)][_0x52fb14(0xbb)]=_0x17082f(_0x1e1138,_0x52fb14(0xda)));}[_0x2692f7(0xc1)](_0x396bad){const _0x36e229=_0x2692f7,_0x14efed=this[_0x36e229(0x9e)];this[_0x36e229(0x98)](),this[_0x36e229(0x8c)]=!0x0,this[_0x36e229(0x94)][_0x36e229(0xb0)]=_0x396bad||_0x17082f(_0x14efed,_0x36e229(0xd9)),this[_0x36e229(0xa9)]||(this[_0x36e229(0xbf)][_0x36e229(0x89)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5db32b,_0x59e0f8){const _0x2e3a58=_0x9f8f,_0x2df5af=_0x5db32b();while(!![]){try{const _0x1ebe55=-parseInt(_0x2e3a58(0x1eb))/0x1*(parseInt(_0x2e3a58(0x1f6))/0x2)+parseInt(_0x2e3a58(0x1f2))/0x3+-parseInt(_0x2e3a58(0x1f8))/0x4*(parseInt(_0x2e3a58(0x1f5))/0x5)+-parseInt(_0x2e3a58(0x1ef))/0x6*(parseInt(_0x2e3a58(0x1fc))/0x7)+parseInt(_0x2e3a58(0x1f0))/0x8*(-parseInt(_0x2e3a58(0x1ec))/0x9)+parseInt(_0x2e3a58(0x1fa))/0xa*(parseInt(_0x2e3a58(0x1f7))/0xb)+-parseInt(_0x2e3a58(0x1f1))/0xc;if(_0x1ebe55===_0x59e0f8)break;else _0x2df5af['push'](_0x2df5af['shift']());}catch(_0x244629){_0x2df5af['push'](_0x2df5af['shift']());}}}(_0x4080,0x84835));function _0x9f8f(_0x352d9e,_0x31f878){const _0x40803e=_0x4080();return _0x9f8f=function(_0x9f8f29,_0x44ae74){_0x9f8f29=_0x9f8f29-0x1eb;let _0x506492=_0x40803e[_0x9f8f29];return _0x506492;},_0x9f8f(_0x352d9e,_0x31f878);}import{ListItemView as _0xdd2105,ButtonView as _0x3a88e7,ButtonLabelView as _0x2540cd}from'ckeditor5/src/ui.js';function _0x4080(){const _0x4a0cfc=['children','prompt','254545vfYMiS','2EcmVbb','11UWIFJb','16ZANVeV','add','10338950raUiSa','set','763203Chowsa','locale','89825JPBMZM','9Jzzfxi','fire','execute','18jkjuSI','5181560sCzZLN','228612sVYpdB','2388516ecHwiG'];_0x4080=function(){return _0x4a0cfc;};return _0x4080();}import{unescape as _0x27ce31}from'es-toolkit/compat';export class AIHistoryListItemView extends _0xdd2105{constructor(_0x45fdd9){const _0x7b6e7b=_0x9f8f;super();const _0x454d46=new _0x2540cd(),_0x3ca3a7=new _0x3a88e7(this[_0x7b6e7b(0x1fd)],_0x454d46);this[_0x7b6e7b(0x1f3)][_0x7b6e7b(0x1f9)](_0x3ca3a7),_0x3ca3a7[_0x7b6e7b(0x1fb)]({'label':_0x45fdd9[_0x7b6e7b(0x1f4)],'withText':!0x0}),_0x3ca3a7['on'](_0x7b6e7b(0x1ee),()=>{const _0x2222d3=_0x7b6e7b;this[_0x2222d3(0x1ed)](_0x2222d3(0x1ee),{'value':_0x27ce31(_0x45fdd9[_0x2222d3(0x1f4)])});});}}
23
+ (function(_0x1dd808,_0x296fdf){const _0x3bfbee=_0x2195,_0x2bbd96=_0x1dd808();while(!![]){try{const _0x254a7f=-parseInt(_0x3bfbee(0x127))/0x1*(parseInt(_0x3bfbee(0x122))/0x2)+-parseInt(_0x3bfbee(0x128))/0x3+parseInt(_0x3bfbee(0x12b))/0x4*(parseInt(_0x3bfbee(0x125))/0x5)+parseInt(_0x3bfbee(0x129))/0x6*(parseInt(_0x3bfbee(0x11f))/0x7)+-parseInt(_0x3bfbee(0x123))/0x8+parseInt(_0x3bfbee(0x126))/0x9*(-parseInt(_0x3bfbee(0x11e))/0xa)+-parseInt(_0x3bfbee(0x124))/0xb*(-parseInt(_0x3bfbee(0x120))/0xc);if(_0x254a7f===_0x296fdf)break;else _0x2bbd96['push'](_0x2bbd96['shift']());}catch(_0x59b04a){_0x2bbd96['push'](_0x2bbd96['shift']());}}}(_0x5b5c,0xe618f));import{ListItemView as _0x5113bd,ButtonView as _0x3d1b5a,ButtonLabelView as _0x2ff1f1}from'ckeditor5/src/ui.js';function _0x2195(_0x4e7b0e,_0x5c7b24){const _0x5b5c82=_0x5b5c();return _0x2195=function(_0x2195d3,_0x4f3978){_0x2195d3=_0x2195d3-0x119;let _0x2f0bb2=_0x5b5c82[_0x2195d3];return _0x2f0bb2;},_0x2195(_0x4e7b0e,_0x5c7b24);}import{unescape as _0x23228a}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x5113bd{constructor(_0xcb17b2){const _0x31a10f=_0x2195;super();const _0x3b04bb=new _0x2ff1f1(),_0x4d91cb=new _0x3d1b5a(this[_0x31a10f(0x11c)],_0x3b04bb);this[_0x31a10f(0x11b)][_0x31a10f(0x121)](_0x4d91cb),_0x4d91cb[_0x31a10f(0x12a)]({'label':_0xcb17b2[_0x31a10f(0x119)],'withText':!0x0}),_0x4d91cb['on'](_0x31a10f(0x11a),()=>{const _0x366b7d=_0x31a10f;this[_0x366b7d(0x11d)](_0x366b7d(0x11a),{'value':_0x23228a(_0xcb17b2[_0x366b7d(0x119)])});});}}function _0x5b5c(){const _0x377298=['55JzRUqo','3393700KbZhxo','3986883IcchhN','4jXbKXV','2228745EkirSi','6NLlrVl','set','4xZeVly','prompt','execute','children','locale','fire','40KhkJzx','4315871hVpLhQ','12473724nQkRJd','add','668758iSGgyG','13582560ckUeLK'];_0x5b5c=function(){return _0x377298;};return _0x5b5c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5477(){const _0x180585=['_createClearHistoryButton','clearHistory','fire','set','add','items','7kHCHKg','clearHistoryButton','9909jVNqsg','7469pkKUiK','Clear','delegate','5794136WlCxwT','1851520GoJtkc','16962cWazGj','4328SxgBeE','execute','label','16810rlpYWJ','locale','historyGroupView','80spkAwX','Prompt\x20history','children','filter','length','423420gBYiLC','950346KjgPIV'];_0x5477=function(){return _0x180585;};return _0x5477();}const _0x3bc415=_0x3f9f;(function(_0x29f13d,_0x259f4c){const _0x229a86=_0x3f9f,_0x3334a9=_0x29f13d();while(!![]){try{const _0x36a9f5=parseInt(_0x229a86(0x13b))/0x1+-parseInt(_0x229a86(0x136))/0x2*(-parseInt(_0x229a86(0x12f))/0x3)+-parseInt(_0x229a86(0x12d))/0x4+-parseInt(_0x229a86(0x12e))/0x5+parseInt(_0x229a86(0x13c))/0x6*(parseInt(_0x229a86(0x143))/0x7)+-parseInt(_0x229a86(0x130))/0x8*(-parseInt(_0x229a86(0x129))/0x9)+-parseInt(_0x229a86(0x133))/0xa*(-parseInt(_0x229a86(0x12a))/0xb);if(_0x36a9f5===_0x259f4c)break;else _0x3334a9['push'](_0x3334a9['shift']());}catch(_0x253136){_0x3334a9['push'](_0x3334a9['shift']());}}}(_0x5477,0xb149d));import{ListView as _0x58693b,ListItemGroupView as _0x2b5b66,ButtonView as _0x23a0e5}from'ckeditor5/src/ui.js';function _0x3f9f(_0x391b49,_0x27fadb){const _0x5477f3=_0x5477();return _0x3f9f=function(_0x3f9f4d,_0x58b298){_0x3f9f4d=_0x3f9f4d-0x128;let _0x41f9a6=_0x5477f3[_0x3f9f4d];return _0x41f9a6;},_0x3f9f(_0x391b49,_0x27fadb);}import{getTranslation as _0x36bd3f}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x58693b{[_0x3bc415(0x135)];[_0x3bc415(0x128)];constructor(_0x52c9d0){const _0xcaa240=_0x3bc415;super(_0x52c9d0),this[_0xcaa240(0x128)]=this[_0xcaa240(0x13d)](),this[_0xcaa240(0x135)]=new _0x2b5b66(),this[_0xcaa240(0x135)][_0xcaa240(0x138)][_0xcaa240(0x141)](this[_0xcaa240(0x128)],0x1),this[_0xcaa240(0x135)][_0xcaa240(0x132)]=_0x36bd3f(_0x52c9d0,_0xcaa240(0x137)),this[_0xcaa240(0x135)][_0xcaa240(0x142)][_0xcaa240(0x12c)](_0xcaa240(0x131))['to'](this),this[_0xcaa240(0x142)][_0xcaa240(0x141)](this[_0xcaa240(0x135)]);}[_0x3bc415(0x139)](){const _0x190ccf=_0x3bc415;let _0x34a057=0x0;for(const _0x1f0afd of this[_0x190ccf(0x142)])_0x34a057+=_0x1f0afd[_0x190ccf(0x142)][_0x190ccf(0x13a)];return{'resultsCount':_0x34a057,'totalItemsCount':_0x34a057};}[_0x3bc415(0x13d)](){const _0x20cd49=_0x3bc415,_0x419941=this[_0x20cd49(0x134)],_0x7e08e6=new _0x23a0e5(this[_0x20cd49(0x134)]);return _0x7e08e6[_0x20cd49(0x140)]({'label':'('+_0x36bd3f(_0x419941,_0x20cd49(0x12b))+')','withText':!0x0}),_0x7e08e6['on'](_0x20cd49(0x131),()=>this[_0x20cd49(0x13f)](_0x20cd49(0x13e))),_0x7e08e6;}}
23
+ const _0x4a2f5e=_0xb677;(function(_0x700409,_0x3d46e3){const _0x386053=_0xb677,_0x74cc9c=_0x700409();while(!![]){try{const _0x18792a=-parseInt(_0x386053(0x1be))/0x1*(-parseInt(_0x386053(0x1b6))/0x2)+parseInt(_0x386053(0x1ad))/0x3*(parseInt(_0x386053(0x1c8))/0x4)+-parseInt(_0x386053(0x1c1))/0x5+parseInt(_0x386053(0x1bf))/0x6+parseInt(_0x386053(0x1b4))/0x7*(-parseInt(_0x386053(0x1c0))/0x8)+parseInt(_0x386053(0x1b2))/0x9*(-parseInt(_0x386053(0x1c5))/0xa)+-parseInt(_0x386053(0x1b1))/0xb*(parseInt(_0x386053(0x1af))/0xc);if(_0x18792a===_0x3d46e3)break;else _0x74cc9c['push'](_0x74cc9c['shift']());}catch(_0x444831){_0x74cc9c['push'](_0x74cc9c['shift']());}}}(_0x2527,0xd1a26));function _0xb677(_0x1199d0,_0x2f4895){const _0x25270c=_0x2527();return _0xb677=function(_0xb6779c,_0x48bdeb){_0xb6779c=_0xb6779c-0x1ac;let _0x25581f=_0x25270c[_0xb6779c];return _0x25581f;},_0xb677(_0x1199d0,_0x2f4895);}import{ListView as _0x57e821,ListItemGroupView as _0x5bbe00,ButtonView as _0x18aa1f}from'ckeditor5/src/ui.js';import{getTranslation as _0x363bc7}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x57e821{[_0x4a2f5e(0x1c7)];[_0x4a2f5e(0x1b9)];constructor(_0x3825af){const _0x2b8f26=_0x4a2f5e;super(_0x3825af),this[_0x2b8f26(0x1b9)]=this[_0x2b8f26(0x1ac)](),this[_0x2b8f26(0x1c7)]=new _0x5bbe00(),this[_0x2b8f26(0x1c7)][_0x2b8f26(0x1c6)][_0x2b8f26(0x1b0)](this[_0x2b8f26(0x1b9)],0x1),this[_0x2b8f26(0x1c7)][_0x2b8f26(0x1bb)]=_0x363bc7(_0x3825af,_0x2b8f26(0x1ae)),this[_0x2b8f26(0x1c7)][_0x2b8f26(0x1b8)][_0x2b8f26(0x1b3)](_0x2b8f26(0x1b5))['to'](this),this[_0x2b8f26(0x1b8)][_0x2b8f26(0x1b0)](this[_0x2b8f26(0x1c7)]);}[_0x4a2f5e(0x1c3)](){const _0x296163=_0x4a2f5e;let _0x384cd3=0x0;for(const _0x2d777f of this[_0x296163(0x1b8)])_0x384cd3+=_0x2d777f[_0x296163(0x1b8)][_0x296163(0x1c4)];return{'resultsCount':_0x384cd3,'totalItemsCount':_0x384cd3};}[_0x4a2f5e(0x1ac)](){const _0x36bf88=_0x4a2f5e,_0x488760=this[_0x36bf88(0x1bd)],_0x2ff2e0=new _0x18aa1f(this[_0x36bf88(0x1bd)]);return _0x2ff2e0[_0x36bf88(0x1ba)]({'label':'('+_0x363bc7(_0x488760,_0x36bf88(0x1bc))+')','withText':!0x0}),_0x2ff2e0['on'](_0x36bf88(0x1b5),()=>this[_0x36bf88(0x1c2)](_0x36bf88(0x1b7))),_0x2ff2e0;}}function _0x2527(){const _0x404517=['10MjkVMH','children','historyGroupView','28uwiDgS','_createClearHistoryButton','95916HxdcYY','Prompt\x20history','12rrlqQr','add','11959563dpTjTu','1845297UENVtq','delegate','388997MdLjRj','execute','726836uOROEB','clearHistory','items','clearHistoryButton','set','label','Clear','locale','4CThBsF','7087632dvOavk','56hledIf','1594115OwimVC','fire','filter','length'];_0x2527=function(){return _0x404517;};return _0x2527();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c684d=_0x3377;(function(_0x6eee46,_0x122e78){const _0x584a3b=_0x3377,_0x25b037=_0x6eee46();while(!![]){try{const _0x38a344=-parseInt(_0x584a3b(0x1c9))/0x1+parseInt(_0x584a3b(0x1c8))/0x2*(parseInt(_0x584a3b(0x1cb))/0x3)+parseInt(_0x584a3b(0x1da))/0x4+-parseInt(_0x584a3b(0x1d9))/0x5*(parseInt(_0x584a3b(0x1db))/0x6)+parseInt(_0x584a3b(0x1c6))/0x7+-parseInt(_0x584a3b(0x1d1))/0x8+-parseInt(_0x584a3b(0x1d4))/0x9*(parseInt(_0x584a3b(0x1dc))/0xa);if(_0x38a344===_0x122e78)break;else _0x25b037['push'](_0x25b037['shift']());}catch(_0x14edd0){_0x25b037['push'](_0x25b037['shift']());}}}(_0x35f2,0x26825));function _0x3377(_0x597dcf,_0xb85041){const _0x35f2c4=_0x35f2();return _0x3377=function(_0x337714,_0x1fd2d5){_0x337714=_0x337714-0x1c5;let _0x43320c=_0x35f2c4[_0x337714];return _0x43320c;},_0x3377(_0x597dcf,_0xb85041);}function _0x35f2(){const _0x4f53a1=['1050669AElXTp','remove','_saveToSessionStorage','toLowerCase','last','15JTFMkT','884036mSNWRW','16350RaMiyI','20rdUZkX','trim','setItem','length','996737EdmwCZ','add','84070lgzmRK','149314wVqAez','CKEditor/AIFormView/PromptHistory','15ZqbvrP','parse','_loadFromSessionStorage','addMany','map','prompt','198968VogmQv','stringify','getItem'];_0x35f2=function(){return _0x4f53a1;};return _0x35f2();}import{Collection as _0x14dde1}from'ckeditor5/src/utils.js';const ts=_0x2c684d(0x1ca);export class PromptHistory extends _0x14dde1{constructor(){const _0x4730e6=_0x2c684d;super(),this[_0x4730e6(0x1cd)](),this['on'](_0x4730e6(0x1c7),(_0x36a022,_0x1f49af)=>{const _0x3ee541=_0x4730e6,_0x1378d2=os(_0x1f49af[_0x3ee541(0x1d0)]);for(const _0x100b91 of this)if(_0x100b91!=_0x1f49af&&os(_0x100b91[_0x3ee541(0x1d0)])===_0x1378d2){this[_0x3ee541(0x1d5)](_0x100b91);break;}this[_0x3ee541(0x1c5)]>0x14&&this[_0x3ee541(0x1d5)](this[_0x3ee541(0x1d8)]),this[_0x3ee541(0x1d6)]();}),this['on'](_0x4730e6(0x1d5),()=>{const _0xb879af=_0x4730e6;this[_0xb879af(0x1d6)]();});}[_0x2c684d(0x1cd)](){const _0x1c641d=_0x2c684d,_0x1f9a02=sessionStorage[_0x1c641d(0x1d3)](ts)||'[]';this[_0x1c641d(0x1ce)](JSON[_0x1c641d(0x1cc)](_0x1f9a02));}[_0x2c684d(0x1d6)](){const _0x247cd6=_0x2c684d;sessionStorage[_0x247cd6(0x1de)](ts,JSON[_0x247cd6(0x1d2)](this[_0x247cd6(0x1cf)](_0x46b691=>_0x46b691)));}}function os(_0x15a5ae){const _0xecff2d=_0x2c684d;return _0x15a5ae[_0xecff2d(0x1d7)]()[_0xecff2d(0x1dd)]();}
23
+ const _0x277ab2=_0x4184;(function(_0x38c39c,_0x377339){const _0x96b3b0=_0x4184,_0x61b687=_0x38c39c();while(!![]){try{const _0x5a5e00=-parseInt(_0x96b3b0(0xc2))/0x1+parseInt(_0x96b3b0(0xc4))/0x2*(-parseInt(_0x96b3b0(0xd2))/0x3)+-parseInt(_0x96b3b0(0xc5))/0x4*(parseInt(_0x96b3b0(0xd7))/0x5)+-parseInt(_0x96b3b0(0xcc))/0x6*(parseInt(_0x96b3b0(0xc8))/0x7)+-parseInt(_0x96b3b0(0xc7))/0x8+-parseInt(_0x96b3b0(0xd1))/0x9*(parseInt(_0x96b3b0(0xcd))/0xa)+parseInt(_0x96b3b0(0xc3))/0xb*(parseInt(_0x96b3b0(0xcb))/0xc);if(_0x5a5e00===_0x377339)break;else _0x61b687['push'](_0x61b687['shift']());}catch(_0x328bfd){_0x61b687['push'](_0x61b687['shift']());}}}(_0x4d84,0x478db));function _0x4d84(){const _0x323179=['_loadFromSessionStorage','last','CKEditor/AIFormView/PromptHistory','465678ArFZbv','8211599LALowJ','122242GYdpmO','36496puYHqe','prompt','1643992TutffA','926506pcQfzw','_saveToSessionStorage','parse','36WEpLTg','24QNelDq','20vFZaww','map','remove','length','396108bUfRLl','9qARqSl','add','getItem','trim','addMany','260wxdyVT','stringify','setItem','toLowerCase'];_0x4d84=function(){return _0x323179;};return _0x4d84();}import{Collection as _0x44bb7b}from'ckeditor5/src/utils.js';function _0x4184(_0x561153,_0x462181){const _0x4d84e2=_0x4d84();return _0x4184=function(_0x4184a8,_0x1cee28){_0x4184a8=_0x4184a8-0xbf;let _0x34972f=_0x4d84e2[_0x4184a8];return _0x34972f;},_0x4184(_0x561153,_0x462181);}const ts=_0x277ab2(0xc1);export class PromptHistory extends _0x44bb7b{constructor(){const _0x5d6fc8=_0x277ab2;super(),this[_0x5d6fc8(0xbf)](),this['on'](_0x5d6fc8(0xd3),(_0x5387e3,_0x3a48a1)=>{const _0x3c1035=_0x5d6fc8,_0x205820=os(_0x3a48a1[_0x3c1035(0xc6)]);for(const _0x65089f of this)if(_0x65089f!=_0x3a48a1&&os(_0x65089f[_0x3c1035(0xc6)])===_0x205820){this[_0x3c1035(0xcf)](_0x65089f);break;}this[_0x3c1035(0xd0)]>0x14&&this[_0x3c1035(0xcf)](this[_0x3c1035(0xc0)]),this[_0x3c1035(0xc9)]();}),this['on'](_0x5d6fc8(0xcf),()=>{const _0x4a85b7=_0x5d6fc8;this[_0x4a85b7(0xc9)]();});}[_0x277ab2(0xbf)](){const _0x2fbf5c=_0x277ab2,_0x1ffb9a=sessionStorage[_0x2fbf5c(0xd4)](ts)||'[]';this[_0x2fbf5c(0xd6)](JSON[_0x2fbf5c(0xca)](_0x1ffb9a));}[_0x277ab2(0xc9)](){const _0x4c54e3=_0x277ab2;sessionStorage[_0x4c54e3(0xd9)](ts,JSON[_0x4c54e3(0xd8)](this[_0x4c54e3(0xce)](_0x436aac=>_0x436aac)));}}function os(_0x10818b){const _0xa8e524=_0x277ab2;return _0x10818b[_0xa8e524(0xda)]()[_0xa8e524(0xd5)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b39be=_0x3c81;function _0x3c81(_0x38695e,_0x2ece3e){const _0x1bebe9=_0x1beb();return _0x3c81=function(_0x3c81eb,_0x2cec8b){_0x3c81eb=_0x3c81eb-0x1aa;let _0x3c191e=_0x1bebe9[_0x3c81eb];return _0x3c191e;},_0x3c81(_0x38695e,_0x2ece3e);}function _0x1beb(){const _0x420c93=['config','isCollapsed','name','hasContent','element','execute','496701rMrvHZ','custom','getItems','_commandDefinitions','getRanges','change:_hasContext','5429115NKNMVb','plugins','enabledCommandsIds','549fLMNXw','getSelectedBlocks','get','editor','44402FZiDov','85524cPjbNP','_hasContext','set','561712QBrsOT','model','selection','141016gcVPjw','requiresContent','isEmpty','refresh','includes','change:isEnabled','ai.aiAssistant.disabledElements','showUI','17957930vKLJvW','length','values','isEnabled','490TjugFn','document','129NNhhUY','add','from','getFirstRange'];_0x1beb=function(){return _0x420c93;};return _0x1beb();}(function(_0x249f86,_0x468e48){const _0x5ede73=_0x3c81,_0x401061=_0x249f86();while(!![]){try{const _0x427501=parseInt(_0x5ede73(0x1b2))/0x1+-parseInt(_0x5ede73(0x1bf))/0x2*(-parseInt(_0x5ede73(0x1d4))/0x3)+parseInt(_0x5ede73(0x1c3))/0x4+-parseInt(_0x5ede73(0x1b8))/0x5+parseInt(_0x5ede73(0x1c0))/0x6*(parseInt(_0x5ede73(0x1d2))/0x7)+-parseInt(_0x5ede73(0x1c6))/0x8*(-parseInt(_0x5ede73(0x1bb))/0x9)+-parseInt(_0x5ede73(0x1ce))/0xa;if(_0x427501===_0x468e48)break;else _0x401061['push'](_0x401061['shift']());}catch(_0x3d0848){_0x401061['push'](_0x401061['shift']());}}}(_0x1beb,0xbf34f));import{Command as _0x293145}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3f2881}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x293145{[_0x2b39be(0x1b5)];constructor(_0x5dafdc,_0x35081e){const _0x75fb2b=_0x2b39be;super(_0x5dafdc),this[_0x75fb2b(0x1b5)]=_0x35081e,this[_0x75fb2b(0x1c2)](_0x75fb2b(0x1ba),[]),this['on'](_0x75fb2b(0x1b7),(_0x49c25b,_0x29f34d,_0x21821e)=>{const _0x58ea7d=_0x75fb2b;this[_0x58ea7d(0x1d1)]&&(this[_0x58ea7d(0x1ba)]=F(this[_0x58ea7d(0x1b5)],_0x21821e));}),this[_0x75fb2b(0x1c2)](_0x75fb2b(0x1c1),!0x1),this['on'](_0x75fb2b(0x1cb),(_0x145cf7,_0x21f60a,_0xa6d632)=>{const _0x560055=_0x75fb2b;this[_0x560055(0x1ba)]=_0xa6d632?F(this[_0x560055(0x1b5)],this[_0x560055(0x1c1)]):[];});}[_0x2b39be(0x1c9)](){const _0x39d674=_0x2b39be,_0x4d3c9e=this[_0x39d674(0x1be)][_0x39d674(0x1c4)];this[_0x39d674(0x1c1)]=function(_0x1cca2c){const _0x42c8c2=_0x39d674,_0x5765c9=_0x1cca2c[_0x42c8c2(0x1d3)][_0x42c8c2(0x1c5)];return _0x5765c9[_0x42c8c2(0x1ad)]?0x0!==[..._0x5765c9[_0x42c8c2(0x1bc)]()][_0x42c8c2(0x1cf)]&&![..._0x5765c9[_0x42c8c2(0x1bc)]()][0x0][_0x42c8c2(0x1c8)]:!!_0x1cca2c[_0x42c8c2(0x1af)](_0x5765c9[_0x42c8c2(0x1ab)]());}(_0x4d3c9e);const _0x37abc5=_0x4d3c9e[_0x39d674(0x1d3)][_0x39d674(0x1c5)],_0x2cd856=this[_0x39d674(0x1be)][_0x39d674(0x1ac)][_0x39d674(0x1bd)](_0x39d674(0x1cc));for(const _0x1eacc6 of _0x37abc5[_0x39d674(0x1b6)]())for(const _0x31222c of _0x1eacc6[_0x39d674(0x1b4)]())if(_0x31222c['is'](_0x39d674(0x1b0))&&_0x2cd856[_0x39d674(0x1ca)](_0x31222c[_0x39d674(0x1ae)]))return void(this[_0x39d674(0x1d1)]=!0x1);this[_0x39d674(0x1d1)]=!0x0;}[_0x2b39be(0x1b1)](_0x4b0aaf='',_0x3a230a='',_0x2d8ee9=_0x2b39be(0x1b3)){const _0x1bee92=_0x2b39be;this[_0x1bee92(0x1be)][_0x1bee92(0x1b9)][_0x1bee92(0x1bd)](_0x3f2881)[_0x1bee92(0x1cd)](_0x4b0aaf,_0x3a230a,_0x2d8ee9);}}function F(_0x51c862,_0x282b39){const _0x46e3eb=_0x2b39be,_0x33da5=new Set();for(const _0x2a4d86 of _0x51c862[_0x46e3eb(0x1d0)]())(_0x282b39||!0x1===_0x2a4d86[_0x46e3eb(0x1c7)])&&_0x33da5[_0x46e3eb(0x1d5)](_0x2a4d86['id']);return Array[_0x46e3eb(0x1aa)](_0x33da5);}
23
+ function _0x2379(_0x540cee,_0x257ffc){const _0x45fb84=_0x45fb();return _0x2379=function(_0x2379e9,_0x3b2cc9){_0x2379e9=_0x2379e9-0x7f;let _0x491353=_0x45fb84[_0x2379e9];return _0x491353;},_0x2379(_0x540cee,_0x257ffc);}const _0x3dc0e8=_0x2379;(function(_0x167b66,_0x1af4cd){const _0x4f4181=_0x2379,_0x54e4a5=_0x167b66();while(!![]){try{const _0x14d995=parseInt(_0x4f4181(0x84))/0x1*(parseInt(_0x4f4181(0x86))/0x2)+-parseInt(_0x4f4181(0x8f))/0x3+parseInt(_0x4f4181(0xa8))/0x4+-parseInt(_0x4f4181(0x85))/0x5+-parseInt(_0x4f4181(0x82))/0x6*(parseInt(_0x4f4181(0x8a))/0x7)+-parseInt(_0x4f4181(0x96))/0x8+parseInt(_0x4f4181(0xa5))/0x9;if(_0x14d995===_0x1af4cd)break;else _0x54e4a5['push'](_0x54e4a5['shift']());}catch(_0x9360b1){_0x54e4a5['push'](_0x54e4a5['shift']());}}}(_0x45fb,0x9d793));import{Command as _0x57fdeb}from'ckeditor5/src/core.js';function _0x45fb(){const _0x346376=['showUI','values','getFirstRange','element','set','isEnabled','from','plugins','change:isEnabled','config','add','length','20592900QvbQRc','name','isEmpty','1358008yKFzNb','enabledCommandsIds','requiresContent','custom','execute','6zEosyF','isCollapsed','2591mOdiJO','1591745CybbLp','214iwetFm','selection','change:_hasContext','getItems','6037661YmXIgZ','editor','includes','document','getSelectedBlocks','994695RrQEis','getRanges','ai.aiAssistant.disabledElements','hasContent','get','_hasContext','_commandDefinitions','5979128hdIrmT','refresh','model'];_0x45fb=function(){return _0x346376;};return _0x45fb();}import{AIAssistantUI as _0xd6d0ca}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x57fdeb{[_0x3dc0e8(0x95)];constructor(_0x423d47,_0x1c7aee){const _0xfc4a7c=_0x3dc0e8;super(_0x423d47),this[_0xfc4a7c(0x95)]=_0x1c7aee,this[_0xfc4a7c(0x9d)](_0xfc4a7c(0xa9),[]),this['on'](_0xfc4a7c(0x88),(_0x2538aa,_0x4e91a0,_0x2d4f61)=>{const _0x3bba89=_0xfc4a7c;this[_0x3bba89(0x9e)]&&(this[_0x3bba89(0xa9)]=F(this[_0x3bba89(0x95)],_0x2d4f61));}),this[_0xfc4a7c(0x9d)](_0xfc4a7c(0x94),!0x1),this['on'](_0xfc4a7c(0xa1),(_0x3776a4,_0x4d6c6d,_0x483533)=>{const _0x3de8b5=_0xfc4a7c;this[_0x3de8b5(0xa9)]=_0x483533?F(this[_0x3de8b5(0x95)],this[_0x3de8b5(0x94)]):[];});}[_0x3dc0e8(0x97)](){const _0x33495c=_0x3dc0e8,_0x5323f1=this[_0x33495c(0x8b)][_0x33495c(0x98)];this[_0x33495c(0x94)]=function(_0x467eab){const _0x36557c=_0x33495c,_0x416916=_0x467eab[_0x36557c(0x8d)][_0x36557c(0x87)];return _0x416916[_0x36557c(0x83)]?0x0!==[..._0x416916[_0x36557c(0x8e)]()][_0x36557c(0xa4)]&&![..._0x416916[_0x36557c(0x8e)]()][0x0][_0x36557c(0xa7)]:!!_0x467eab[_0x36557c(0x92)](_0x416916[_0x36557c(0x9b)]());}(_0x5323f1);const _0x487991=_0x5323f1[_0x33495c(0x8d)][_0x33495c(0x87)],_0x1462a7=this[_0x33495c(0x8b)][_0x33495c(0xa2)][_0x33495c(0x93)](_0x33495c(0x91));for(const _0x17f311 of _0x487991[_0x33495c(0x90)]())for(const _0x52fa85 of _0x17f311[_0x33495c(0x89)]())if(_0x52fa85['is'](_0x33495c(0x9c))&&_0x1462a7[_0x33495c(0x8c)](_0x52fa85[_0x33495c(0xa6)]))return void(this[_0x33495c(0x9e)]=!0x1);this[_0x33495c(0x9e)]=!0x0;}[_0x3dc0e8(0x81)](_0x5c71c6='',_0x482e19='',_0x1ea568=_0x3dc0e8(0x80)){const _0x471364=_0x3dc0e8;this[_0x471364(0x8b)][_0x471364(0xa0)][_0x471364(0x93)](_0xd6d0ca)[_0x471364(0x99)](_0x5c71c6,_0x482e19,_0x1ea568);}}function F(_0x1bd90d,_0x308a2d){const _0x38f032=_0x3dc0e8,_0x39a3ba=new Set();for(const _0x1716ff of _0x1bd90d[_0x38f032(0x9a)]())(_0x308a2d||!0x1===_0x1716ff[_0x38f032(0x7f)])&&_0x39a3ba[_0x38f032(0xa3)](_0x1716ff['id']);return Array[_0x38f032(0x9f)](_0x39a3ba);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1b76e2,_0x46a5b1,_0x482dff){const t=_0x1b76e2['t'];switch(_0x46a5b1){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',_0x482dff);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x482dff);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'},_0x482dff);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 _0x46a5b1;}}
23
+ export function getTranslation(_0xfa96d9,_0x9d2d80,_0x4a8836){const t=_0xfa96d9['t'];switch(_0x9d2d80){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',_0x4a8836);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4a8836);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'},_0x4a8836);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 _0x9d2d80;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x20fdba,_0xac26d6){const _0x2d508e=(0x0,_0xac26d6['t'])('Other');return _0x20fdba['length']?'groupId'in _0x20fdba[0x0]?_0x20fdba:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2d508e,'order':0x1/0x0,'commands':_0x20fdba}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2d508e,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x5abba7,_0xfb98fb){const _0xaa3e92=(0x0,_0xfb98fb['t'])('Other');return _0x5abba7['length']?'groupId'in _0x5abba7[0x0]?_0x5abba7:[{'groupId':'_ungrouppedCommands','groupLabel':_0xaa3e92,'order':0x1/0x0,'commands':_0x5abba7}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0xaa3e92,'order':0x1/0x0,'commands':[]}];}