@ckeditor/ckeditor5-ai 45.0.0-alpha.9 → 45.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/ai.js +1 -1
  3. package/dist/index.js +2 -2
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +9 -9
  151. package/src/adapters/aiadapter.js +1 -1
  152. package/src/adapters/aitextadapter.d.ts +1 -1
  153. package/src/adapters/aitextadapter.js +1 -1
  154. package/src/adapters/awstextadapter.js +1 -1
  155. package/src/adapters/openaitextadapter.js +1 -1
  156. package/src/aiassistant.js +1 -1
  157. package/src/aiassistantediting.js +1 -1
  158. package/src/aiassistantui.js +1 -1
  159. package/src/index.js +1 -1
  160. package/src/legacyerrors.js +1 -1
  161. package/src/ui/aiassistantcontroller.js +2 -2
  162. package/src/ui/form/aiformcontentarea.js +1 -1
  163. package/src/ui/form/aiformerrorview.js +1 -1
  164. package/src/ui/form/aiformpromptview.js +1 -1
  165. package/src/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/ui/form/aiformview.js +1 -1
  167. package/src/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/ui/form/aihistorylistview.js +1 -1
  169. package/src/ui/form/prompthistory.js +1 -1
  170. package/src/ui/showaiassistantcommand.js +1 -1
  171. package/src/utils/common-translations.js +1 -1
  172. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4187f7,_0x4ce752){const _0x15c3c5=_0x3b98,_0x4e9d82=_0x4187f7();while(!![]){try{const _0x526c3a=parseInt(_0x15c3c5(0xc8))/0x1*(parseInt(_0x15c3c5(0xcb))/0x2)+-parseInt(_0x15c3c5(0xd3))/0x3+parseInt(_0x15c3c5(0xd7))/0x4*(parseInt(_0x15c3c5(0xd0))/0x5)+-parseInt(_0x15c3c5(0xd6))/0x6+-parseInt(_0x15c3c5(0xcf))/0x7+parseInt(_0x15c3c5(0xd4))/0x8*(-parseInt(_0x15c3c5(0xd1))/0x9)+parseInt(_0x15c3c5(0xd2))/0xa;if(_0x526c3a===_0x4ce752)break;else _0x4e9d82['push'](_0x4e9d82['shift']());}catch(_0x38c872){_0x4e9d82['push'](_0x4e9d82['shift']());}}}(_0x55ab,0xc2e43));import{IconError as _0x54de32}from'ckeditor5/src/icons.js';function _0x3b98(_0x14b5ae,_0x159390){const _0x55abbd=_0x55ab();return _0x3b98=function(_0x3b98b6,_0x406891){_0x3b98b6=_0x3b98b6-0xc8;let _0x20c02c=_0x55abbd[_0x3b98b6];return _0x20c02c;},_0x3b98(_0x14b5ae,_0x159390);}import{View as _0x9014d,IconView as _0x60e1df}from'ckeditor5/src/ui.js';export default class st extends _0x9014d{constructor(_0x5d405a,_0x240b0a=''){const _0x9c3c8f=_0x3b98;super(_0x5d405a);const _0x251981=new _0x60e1df(),_0x27e43e=this[_0x9c3c8f(0xce)];this[_0x9c3c8f(0xcd)](_0x9c3c8f(0xcc),_0x240b0a),_0x251981[_0x9c3c8f(0xca)]=_0x54de32,this[_0x9c3c8f(0xd8)]({'tag':_0x9c3c8f(0xd5),'attributes':{'class':['ck',_0x9c3c8f(0xc9)]},'children':[_0x251981,{'text':_0x27e43e['to'](_0x9c3c8f(0xcc))}]});}}function _0x55ab(){const _0x13f1cf=['setTemplate','436253tVPBmu','ck-ai-form__error','content','4TUUnNY','text','set','bindTemplate','7323722qUgTen','5txvjbT','2574063jmAGhz','27765870UrsVxI','2562408FWtTGU','8zHpxxN','div','8453484lJYNzi','2977940zZJjcu'];_0x55ab=function(){return _0x13f1cf;};return _0x55ab();}
23
+ (function(_0x504507,_0x2f7a93){const _0x4b61cb=_0x2c3a,_0x345fa5=_0x504507();while(!![]){try{const _0x415674=parseInt(_0x4b61cb(0x116))/0x1+parseInt(_0x4b61cb(0x110))/0x2+-parseInt(_0x4b61cb(0x114))/0x3*(parseInt(_0x4b61cb(0x11f))/0x4)+parseInt(_0x4b61cb(0x11c))/0x5+-parseInt(_0x4b61cb(0x118))/0x6+parseInt(_0x4b61cb(0x115))/0x7*(-parseInt(_0x4b61cb(0x11d))/0x8)+parseInt(_0x4b61cb(0x111))/0x9*(-parseInt(_0x4b61cb(0x120))/0xa);if(_0x415674===_0x2f7a93)break;else _0x345fa5['push'](_0x345fa5['shift']());}catch(_0x278c0c){_0x345fa5['push'](_0x345fa5['shift']());}}}(_0x458d,0x7b2c0));function _0x458d(){const _0x2fa1e4=['100pVooQB','1900796kSUNwd','279693lBTBCe','setTemplate','text','21EEKAfS','2016uCXLyO','223865ZaIsPN','div','78396BKKFpP','content','set','bindTemplate','4743470wPzpJK','21512pqjUzo','ck-ai-form__error','297244YsruyR'];_0x458d=function(){return _0x2fa1e4;};return _0x458d();}function _0x2c3a(_0x2cc73d,_0x5aaa5a){const _0x458d1b=_0x458d();return _0x2c3a=function(_0x2c3ad1,_0x12f421){_0x2c3ad1=_0x2c3ad1-0x110;let _0x537cc2=_0x458d1b[_0x2c3ad1];return _0x537cc2;},_0x2c3a(_0x2cc73d,_0x5aaa5a);}import{IconError as _0x36922f}from'ckeditor5/src/icons.js';import{View as _0x19474a,IconView as _0x569b82}from'ckeditor5/src/ui.js';export default class st extends _0x19474a{constructor(_0x258b24,_0x532456=''){const _0x19df55=_0x2c3a;super(_0x258b24);const _0x2ff998=new _0x569b82(),_0x437a41=this[_0x19df55(0x11b)];this[_0x19df55(0x11a)](_0x19df55(0x113),_0x532456),_0x2ff998[_0x19df55(0x119)]=_0x36922f,this[_0x19df55(0x112)]({'tag':_0x19df55(0x117),'attributes':{'class':['ck',_0x19df55(0x11e)]},'children':[_0x2ff998,{'text':_0x437a41['to'](_0x19df55(0x113))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d2868=_0x3adc;(function(_0x1a0ed0,_0x2bd8e5){const _0x3b9de7=_0x3adc,_0xa8be64=_0x1a0ed0();while(!![]){try{const _0x11ff9a=-parseInt(_0x3b9de7(0xfa))/0x1*(parseInt(_0x3b9de7(0x102))/0x2)+-parseInt(_0x3b9de7(0x10a))/0x3+parseInt(_0x3b9de7(0x119))/0x4*(parseInt(_0x3b9de7(0x10c))/0x5)+parseInt(_0x3b9de7(0xef))/0x6+-parseInt(_0x3b9de7(0xf4))/0x7+-parseInt(_0x3b9de7(0xfb))/0x8+parseInt(_0x3b9de7(0xe3))/0x9;if(_0x11ff9a===_0x2bd8e5)break;else _0xa8be64['push'](_0xa8be64['shift']());}catch(_0x7426d){_0xa8be64['push'](_0xa8be64['shift']());}}}(_0x1792,0x7553c));import{Rect as _0x34ffff,global as _0x11dd60,isVisible as _0x45c29a}from'ckeditor5/src/utils.js';function _0x1792(){const _0x4bf172=['focusFirst','10311012rgwNXS','History','children','queryView','keystrokes','ck-ai-form__toggle-history','width','add','focusableChildren','isEnabled','element','isOn','2216136cmVQbd','enter','fieldWrapperChildren','filteredView','set','2607178bUqkPd','update','isEmpty','rtl','minRows','fieldView','2536mZSNNZ','2376912xcCvih','_createSubmitButton','value','locale','render','_createShowHistoryButton','uiLanguageDirection','10AIdcib','left','isVisible','focusCycler','bind','requestAnimationFrame','target','execute','1326285YphCDH','focus','5YmyTax','resultsView','right','submit','style','Submit','excludeScrollbarsAndBorders','window','ck-ai-form__submit','fire','maxRows','focusLast','showHistoryButtonView','359564HgDSTG','submitButtonView'];_0x1792=function(){return _0x4bf172;};return _0x1792();}function _0x3adc(_0x33213a,_0x458e97){const _0x179282=_0x1792();return _0x3adc=function(_0x3adc61,_0x44a2fa){_0x3adc61=_0x3adc61-0xe2;let _0x546fb2=_0x179282[_0x3adc61];return _0x546fb2;},_0x3adc(_0x33213a,_0x458e97);}import{IconHistory as _0x158a02,IconSubmit as _0x4abf07}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x470e67,ButtonView as _0x598b48}from'ckeditor5/src/ui.js';import{getTranslation as _0x71199c}from'../../utils/common-translations.js';export default class ct extends _0x470e67{[_0x1d2868(0x11a)];[_0x1d2868(0x118)];constructor(_0x1179bc,_0x2b3c80){const _0x158c5e=_0x1d2868;super(_0x1179bc,_0x2b3c80),this[_0x158c5e(0xe6)][_0x158c5e(0xf9)][_0x158c5e(0xf8)]=0x1,this[_0x158c5e(0xe6)][_0x158c5e(0xf9)][_0x158c5e(0x116)]=0x3,this[_0x158c5e(0x11a)]=this[_0x158c5e(0xfc)](),this[_0x158c5e(0x118)]=this[_0x158c5e(0x100)](),this[_0x158c5e(0xeb)][_0x158c5e(0xea)](this[_0x158c5e(0x118)],0x1),this[_0x158c5e(0xeb)][_0x158c5e(0xea)](this[_0x158c5e(0x11a)]);}[_0x1d2868(0xff)](){const _0x1cf00f=_0x1d2868;super[_0x1cf00f(0xff)](),this[_0x1cf00f(0xe6)][_0x1cf00f(0xf1)][_0x1cf00f(0xea)](this[_0x1cf00f(0x118)]),this[_0x1cf00f(0xe5)][_0x1cf00f(0xea)](this[_0x1cf00f(0x11a)]),this[_0x1cf00f(0xe7)][_0x1cf00f(0xf3)](_0x1cf00f(0xf0),(_0x44c90a,_0x3f19f7)=>{const _0x233131=_0x1cf00f;_0x44c90a[_0x233131(0x108)]==this[_0x233131(0xe6)][_0x233131(0xf9)][_0x233131(0xed)]&&(this[_0x233131(0x10f)](),_0x3f19f7());});}[_0x1d2868(0xfc)](){const _0x3ffa69=_0x1d2868,_0x40251e=new _0x598b48(this[_0x3ffa69(0xfe)]),_0xf1de35=this[_0x3ffa69(0xfe)];return _0x40251e[_0x3ffa69(0xf3)]({'icon':_0x4abf07,'label':_0x71199c(_0xf1de35,_0x3ffa69(0x111)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3ffa69(0x114)}),_0x40251e['on'](_0x3ffa69(0x109),()=>{const _0x572341=_0x3ffa69;this[_0x572341(0x10f)]();}),_0x40251e[_0x3ffa69(0x106)](_0x3ffa69(0xec))['to'](this[_0x3ffa69(0xe6)][_0x3ffa69(0xf9)],_0x3ffa69(0xf6),this,_0x3ffa69(0xec),(_0xe2a23,_0x57ca17)=>!_0xe2a23&&_0x57ca17),_0x40251e;}[_0x1d2868(0x100)](){const _0x1fa0b2=_0x1d2868,_0x5f2701=new _0x598b48(this[_0x1fa0b2(0xfe)]),_0x2ccd1f=this[_0x1fa0b2(0x10d)],_0x274366=this[_0x1fa0b2(0xfe)];_0x5f2701[_0x1fa0b2(0xf3)]({'label':_0x71199c(_0x274366,_0x1fa0b2(0xe4)),'withText':!0x1,'icon':_0x158a02,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1fa0b2(0xe8)}),_0x5f2701[_0x1fa0b2(0x106)](_0x1fa0b2(0xee))['to'](_0x2ccd1f,_0x1fa0b2(0x104)),_0x5f2701[_0x1fa0b2(0x106)](_0x1fa0b2(0xec))['to'](this,_0x1fa0b2(0xec)),_0x5f2701['on'](_0x1fa0b2(0x109),()=>{const _0x28d3c3=_0x1fa0b2;_0x2ccd1f[_0x28d3c3(0x104)]=!_0x2ccd1f[_0x28d3c3(0x104)],_0x2ccd1f[_0x28d3c3(0x104)]?this[_0x28d3c3(0xf2)][_0x28d3c3(0x10b)]():this[_0x28d3c3(0x10b)]();});const _0x51fa6f=()=>{const _0x5555dc=_0x1fa0b2;_0x11dd60[_0x5555dc(0x113)][_0x5555dc(0x107)](()=>{const _0x1fbd3c=_0x5555dc;if(_0x45c29a(this[_0x1fbd3c(0xed)])){const _0xd423b7=new _0x34ffff(this[_0x1fbd3c(0xe6)][_0x1fbd3c(0xf9)][_0x1fbd3c(0xed)]),_0x3e2abe=_0xd423b7[_0x1fbd3c(0xe9)],_0x329de2=_0x1fbd3c(0xf7)===_0x274366[_0x1fbd3c(0x101)]?_0x1fbd3c(0x103):_0x1fbd3c(0x10e);_0xd423b7[_0x1fbd3c(0x112)](),_0x5f2701[_0x1fbd3c(0xed)][_0x1fbd3c(0x110)][_0x329de2]=_0x3e2abe-_0xd423b7[_0x1fbd3c(0xe9)]+0x1+'px';}});};return this[_0x1fa0b2(0xe6)][_0x1fa0b2(0xf9)]['on'](_0x1fa0b2(0xf5),_0x51fa6f),this['on'](_0x1fa0b2(0xff),_0x51fa6f),_0x5f2701;}[_0x1d2868(0x10f)](){const _0x29b70e=_0x1d2868,_0x11558e=this[_0x29b70e(0xe6)][_0x29b70e(0xf9)][_0x29b70e(0xed)][_0x29b70e(0xfd)];this[_0x29b70e(0x115)](_0x29b70e(0x10f),_0x11558e);}[_0x1d2868(0x10b)](_0x277689){const _0x5ab183=_0x1d2868;-0x1===_0x277689?this[_0x5ab183(0x105)][_0x5ab183(0x117)]():this[_0x5ab183(0x105)][_0x5ab183(0xe2)]();}}
23
+ const _0x15ff1b=_0x3430;(function(_0x27006e,_0x31e5e3){const _0x3a4659=_0x3430,_0x2356cb=_0x27006e();while(!![]){try{const _0x43a5bc=-parseInt(_0x3a4659(0x9e))/0x1+parseInt(_0x3a4659(0xa4))/0x2*(-parseInt(_0x3a4659(0xc3))/0x3)+parseInt(_0x3a4659(0xb7))/0x4*(-parseInt(_0x3a4659(0xae))/0x5)+parseInt(_0x3a4659(0xb1))/0x6*(-parseInt(_0x3a4659(0x95))/0x7)+-parseInt(_0x3a4659(0xb8))/0x8+parseInt(_0x3a4659(0xaa))/0x9*(-parseInt(_0x3a4659(0xc1))/0xa)+parseInt(_0x3a4659(0xa7))/0xb;if(_0x43a5bc===_0x31e5e3)break;else _0x2356cb['push'](_0x2356cb['shift']());}catch(_0x1aabc6){_0x2356cb['push'](_0x2356cb['shift']());}}}(_0x2524,0xd18a3));import{Rect as _0x3e9ae2,global as _0x2511bf,isVisible as _0x552b4c}from'ckeditor5/src/utils.js';function _0x2524(){const _0x3488af=['value','222aTMLof','Submit','fire','window','update','right','3532ZfxGuv','5610552eidpDs','filteredView','isOn','isEnabled','ck-ai-form__toggle-history','set','resultsView','submit','enter','2104390ynKUsm','excludeScrollbarsAndBorders','6jLWEkh','requestAnimationFrame','maxRows','focusLast','focusCycler','fieldView','left','ck-ai-form__submit','fieldWrapperChildren','locale','queryView','style','element','39781aQXXrL','focusFirst','width','_createSubmitButton','rtl','_createShowHistoryButton','focusableChildren','isVisible','execute','1540427RuYixG','History','isEmpty','showHistoryButtonView','keystrokes','submitButtonView','879426ThsxXQ','add','uiLanguageDirection','77449559aCaMQK','render','bind','54rtoEEA','children','minRows','target','8995KJfjxQ','focus'];_0x2524=function(){return _0x3488af;};return _0x2524();}function _0x3430(_0x4f38da,_0x26e382){const _0x252411=_0x2524();return _0x3430=function(_0x3430fd,_0x2f3ee6){_0x3430fd=_0x3430fd-0x8f;let _0x26a07c=_0x252411[_0x3430fd];return _0x26a07c;},_0x3430(_0x4f38da,_0x26e382);}import{IconHistory as _0x17a40d,IconSubmit as _0x798b77}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x3cd716,ButtonView as _0x23e4f8}from'ckeditor5/src/ui.js';import{getTranslation as _0x37bda9}from'../../utils/common-translations.js';export default class ct extends _0x3cd716{[_0x15ff1b(0xa3)];[_0x15ff1b(0xa1)];constructor(_0x23c181,_0x337ab8){const _0x21fad1=_0x15ff1b;super(_0x23c181,_0x337ab8),this[_0x21fad1(0x92)][_0x21fad1(0xc8)][_0x21fad1(0xac)]=0x1,this[_0x21fad1(0x92)][_0x21fad1(0xc8)][_0x21fad1(0xc5)]=0x3,this[_0x21fad1(0xa3)]=this[_0x21fad1(0x98)](),this[_0x21fad1(0xa1)]=this[_0x21fad1(0x9a)](),this[_0x21fad1(0x9b)][_0x21fad1(0xa5)](this[_0x21fad1(0xa1)],0x1),this[_0x21fad1(0x9b)][_0x21fad1(0xa5)](this[_0x21fad1(0xa3)]);}[_0x15ff1b(0xa8)](){const _0x4169d0=_0x15ff1b;super[_0x4169d0(0xa8)](),this[_0x4169d0(0x92)][_0x4169d0(0x90)][_0x4169d0(0xa5)](this[_0x4169d0(0xa1)]),this[_0x4169d0(0xab)][_0x4169d0(0xa5)](this[_0x4169d0(0xa3)]),this[_0x4169d0(0xa2)][_0x4169d0(0xbd)](_0x4169d0(0xc0),(_0x4d1acc,_0x1d66cf)=>{const _0x4aad9d=_0x4169d0;_0x4d1acc[_0x4aad9d(0xad)]==this[_0x4aad9d(0x92)][_0x4aad9d(0xc8)][_0x4aad9d(0x94)]&&(this[_0x4aad9d(0xbf)](),_0x1d66cf());});}[_0x15ff1b(0x98)](){const _0x8cfe3b=_0x15ff1b,_0x451c62=new _0x23e4f8(this[_0x8cfe3b(0x91)]),_0x3ecb5e=this[_0x8cfe3b(0x91)];return _0x451c62[_0x8cfe3b(0xbd)]({'icon':_0x798b77,'label':_0x37bda9(_0x3ecb5e,_0x8cfe3b(0xb2)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x8cfe3b(0x8f)}),_0x451c62['on'](_0x8cfe3b(0x9d),()=>{const _0x48d71e=_0x8cfe3b;this[_0x48d71e(0xbf)]();}),_0x451c62[_0x8cfe3b(0xa9)](_0x8cfe3b(0xbb))['to'](this[_0x8cfe3b(0x92)][_0x8cfe3b(0xc8)],_0x8cfe3b(0xa0),this,_0x8cfe3b(0xbb),(_0x21fb7c,_0x319a86)=>!_0x21fb7c&&_0x319a86),_0x451c62;}[_0x15ff1b(0x9a)](){const _0x1e10e8=_0x15ff1b,_0x4209f7=new _0x23e4f8(this[_0x1e10e8(0x91)]),_0x3b967f=this[_0x1e10e8(0xbe)],_0xfa5c43=this[_0x1e10e8(0x91)];_0x4209f7[_0x1e10e8(0xbd)]({'label':_0x37bda9(_0xfa5c43,_0x1e10e8(0x9f)),'withText':!0x1,'icon':_0x17a40d,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1e10e8(0xbc)}),_0x4209f7[_0x1e10e8(0xa9)](_0x1e10e8(0xba))['to'](_0x3b967f,_0x1e10e8(0x9c)),_0x4209f7[_0x1e10e8(0xa9)](_0x1e10e8(0xbb))['to'](this,_0x1e10e8(0xbb)),_0x4209f7['on'](_0x1e10e8(0x9d),()=>{const _0x12ed53=_0x1e10e8;_0x3b967f[_0x12ed53(0x9c)]=!_0x3b967f[_0x12ed53(0x9c)],_0x3b967f[_0x12ed53(0x9c)]?this[_0x12ed53(0xb9)][_0x12ed53(0xaf)]():this[_0x12ed53(0xaf)]();});const _0x2e454b=()=>{const _0x21a212=_0x1e10e8;_0x2511bf[_0x21a212(0xb4)][_0x21a212(0xc4)](()=>{const _0x494e25=_0x21a212;if(_0x552b4c(this[_0x494e25(0x94)])){const _0x42ed73=new _0x3e9ae2(this[_0x494e25(0x92)][_0x494e25(0xc8)][_0x494e25(0x94)]),_0x4a7aa8=_0x42ed73[_0x494e25(0x97)],_0xb088b6=_0x494e25(0x99)===_0xfa5c43[_0x494e25(0xa6)]?_0x494e25(0xc9):_0x494e25(0xb6);_0x42ed73[_0x494e25(0xc2)](),_0x4209f7[_0x494e25(0x94)][_0x494e25(0x93)][_0xb088b6]=_0x4a7aa8-_0x42ed73[_0x494e25(0x97)]+0x1+'px';}});};return this[_0x1e10e8(0x92)][_0x1e10e8(0xc8)]['on'](_0x1e10e8(0xb5),_0x2e454b),this['on'](_0x1e10e8(0xa8),_0x2e454b),_0x4209f7;}[_0x15ff1b(0xbf)](){const _0xa31042=_0x15ff1b,_0x2c94ad=this[_0xa31042(0x92)][_0xa31042(0xc8)][_0xa31042(0x94)][_0xa31042(0xb0)];this[_0xa31042(0xb3)](_0xa31042(0xbf),_0x2c94ad);}[_0x15ff1b(0xaf)](_0x8ae76e){const _0x13435d=_0x15ff1b;-0x1===_0x8ae76e?this[_0x13435d(0xc7)][_0x13435d(0xc6)]():this[_0x13435d(0xc7)][_0x13435d(0x96)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x522224=_0x5d79;(function(_0x3b9acd,_0x531eb0){const _0x559b50=_0x5d79,_0xd7ee6d=_0x3b9acd();while(!![]){try{const _0x37cc1f=parseInt(_0x559b50(0x84))/0x1*(-parseInt(_0x559b50(0x89))/0x2)+-parseInt(_0x559b50(0x83))/0x3*(parseInt(_0x559b50(0x87))/0x4)+parseInt(_0x559b50(0x7c))/0x5+-parseInt(_0x559b50(0x79))/0x6+-parseInt(_0x559b50(0x8d))/0x7+-parseInt(_0x559b50(0x8f))/0x8*(parseInt(_0x559b50(0x71))/0x9)+parseInt(_0x559b50(0x74))/0xa;if(_0x37cc1f===_0x531eb0)break;else _0xd7ee6d['push'](_0xd7ee6d['shift']());}catch(_0x1bf1ac){_0xd7ee6d['push'](_0xd7ee6d['shift']());}}}(_0x30ff,0x85088));function _0x5d79(_0x302129,_0x1a54f2){const _0x30ff25=_0x30ff();return _0x5d79=function(_0x5d79b5,_0x51bced){_0x5d79b5=_0x5d79b5-0x6d;let _0x481efd=_0x30ff25[_0x5d79b5];return _0x481efd;},_0x5d79(_0x302129,_0x1a54f2);}function _0x30ff(){const _0x4c645b=['48jeGFFa','tryAgainButton','ck-ai-form__toolbar','extendTemplate','replaceButton','ck-button-action','set','1092654LiosjW','_CONTENT','locale','43165050vJZbZt','Try\x20again','bind','addMany','toUpperCase','5480916HUnsPC','label','bindTemplate','2370820YaYCWf','ck-hidden','stopButton','AI_','mainAction','REPLACE','isVisible','397773BdUaZc','37yRrDoo','insertButton','insert','28NHuuLM','Insert\x20below','40556rVVDjM','_createButton','Stop','replace','6477940xcswVP','items'];_0x30ff=function(){return _0x4c645b;};return _0x30ff();}import{ToolbarView as _0x2f9e8c,ButtonView as _0x275583}from'ckeditor5/src/ui.js';import{getTranslation as _0x4779fd}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x522224(0x8c),'INSERT':_0x522224(0x86)};export default class lt extends _0x2f9e8c{constructor(_0x1f2d30){const _0x5ad2ec=_0x522224;super(_0x1f2d30),this[_0x5ad2ec(0x70)](_0x5ad2ec(0x82),!0x1),this[_0x5ad2ec(0x70)](_0x5ad2ec(0x80),AIFormToolbarViewMainActionLabel[_0x5ad2ec(0x81)]),this[_0x5ad2ec(0x6e)]=this[_0x5ad2ec(0x8a)]('',_0x5ad2ec(0x6f)),this[_0x5ad2ec(0x6e)][_0x5ad2ec(0x76)](_0x5ad2ec(0x7a))['to'](this,_0x5ad2ec(0x80),_0x357f82=>_0x4779fd(_0x1f2d30,_0x5ad2ec(0x7f)+_0x357f82[_0x5ad2ec(0x78)]()+_0x5ad2ec(0x72))),this[_0x5ad2ec(0x85)]=this[_0x5ad2ec(0x8a)](_0x4779fd(_0x1f2d30,_0x5ad2ec(0x88))),this[_0x5ad2ec(0x90)]=this[_0x5ad2ec(0x8a)](_0x4779fd(_0x1f2d30,_0x5ad2ec(0x75))),this[_0x5ad2ec(0x7e)]=this[_0x5ad2ec(0x8a)](_0x4779fd(_0x1f2d30,_0x5ad2ec(0x8b)));const _0x5afde2=this[_0x5ad2ec(0x7b)];this[_0x5ad2ec(0x6d)]({'attributes':{'class':[_0x5ad2ec(0x91),_0x5afde2['if'](_0x5ad2ec(0x82),_0x5ad2ec(0x7d),_0x91e49d=>!_0x91e49d)]}}),this[_0x5ad2ec(0x8e)][_0x5ad2ec(0x77)]([this[_0x5ad2ec(0x6e)],this[_0x5ad2ec(0x85)],this[_0x5ad2ec(0x90)],this[_0x5ad2ec(0x7e)]]);}[_0x522224(0x8a)](_0x8dea12,_0x1ccd5d){const _0x19d94a=_0x522224,_0x1b2c44=new _0x275583(this[_0x19d94a(0x73)]);return _0x1b2c44[_0x19d94a(0x70)]({'label':_0x8dea12,'class':_0x1ccd5d||'','isVisible':!0x0,'withText':!0x0}),_0x1b2c44;}}
23
+ function _0xcb9f(){const _0x497915=['mainAction','insertButton','bind','ck-ai-form__toolbar','_CONTENT','REPLACE','5812608CXRUlz','bindTemplate','stopButton','16004rOmqNu','replace','items','addMany','set','_createButton','62144mfGvcg','replaceButton','AI_','tryAgainButton','ck-button-action','777rmVTXL','label','9169450WqYnDp','306pSMgTc','9LjvmOX','locale','Insert\x20below','22739937kwYbSk','Stop','Try\x20again','38106eJUpFa','toUpperCase','isVisible','extendTemplate','insert','43QIACzR','ck-hidden','172815hovGCe'];_0xcb9f=function(){return _0x497915;};return _0xcb9f();}const _0x4c3390=_0x1995;(function(_0x34b393,_0x19947f){const _0x658690=_0x1995,_0x29bafe=_0x34b393();while(!![]){try{const _0x458550=parseInt(_0x658690(0x7e))/0x1*(parseInt(_0x658690(0x79))/0x2)+-parseInt(_0x658690(0x72))/0x3*(-parseInt(_0x658690(0x8a))/0x4)+-parseInt(_0x658690(0x80))/0x5+-parseInt(_0x658690(0x87))/0x6+-parseInt(_0x658690(0x95))/0x7*(parseInt(_0x658690(0x90))/0x8)+-parseInt(_0x658690(0x73))/0x9*(parseInt(_0x658690(0x71))/0xa)+parseInt(_0x658690(0x76))/0xb;if(_0x458550===_0x19947f)break;else _0x29bafe['push'](_0x29bafe['shift']());}catch(_0x4ec002){_0x29bafe['push'](_0x29bafe['shift']());}}}(_0xcb9f,0x7d07c));import{ToolbarView as _0x38c0ad,ButtonView as _0x2c2dce}from'ckeditor5/src/ui.js';function _0x1995(_0x1d9d6e,_0x401931){const _0xcb9f06=_0xcb9f();return _0x1995=function(_0x1995c0,_0x13cdbf){_0x1995c0=_0x1995c0-0x71;let _0x5d25dc=_0xcb9f06[_0x1995c0];return _0x5d25dc;},_0x1995(_0x1d9d6e,_0x401931);}import{getTranslation as _0x444ba2}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4c3390(0x8b),'INSERT':_0x4c3390(0x7d)};export default class lt extends _0x38c0ad{constructor(_0xbd28c9){const _0x36fa47=_0x4c3390;super(_0xbd28c9),this[_0x36fa47(0x8e)](_0x36fa47(0x7b),!0x1),this[_0x36fa47(0x8e)](_0x36fa47(0x81),AIFormToolbarViewMainActionLabel[_0x36fa47(0x86)]),this[_0x36fa47(0x91)]=this[_0x36fa47(0x8f)]('',_0x36fa47(0x94)),this[_0x36fa47(0x91)][_0x36fa47(0x83)](_0x36fa47(0x96))['to'](this,_0x36fa47(0x81),_0x183c7c=>_0x444ba2(_0xbd28c9,_0x36fa47(0x92)+_0x183c7c[_0x36fa47(0x7a)]()+_0x36fa47(0x85))),this[_0x36fa47(0x82)]=this[_0x36fa47(0x8f)](_0x444ba2(_0xbd28c9,_0x36fa47(0x75))),this[_0x36fa47(0x93)]=this[_0x36fa47(0x8f)](_0x444ba2(_0xbd28c9,_0x36fa47(0x78))),this[_0x36fa47(0x89)]=this[_0x36fa47(0x8f)](_0x444ba2(_0xbd28c9,_0x36fa47(0x77)));const _0x3deefc=this[_0x36fa47(0x88)];this[_0x36fa47(0x7c)]({'attributes':{'class':[_0x36fa47(0x84),_0x3deefc['if'](_0x36fa47(0x7b),_0x36fa47(0x7f),_0x39a31c=>!_0x39a31c)]}}),this[_0x36fa47(0x8c)][_0x36fa47(0x8d)]([this[_0x36fa47(0x91)],this[_0x36fa47(0x82)],this[_0x36fa47(0x93)],this[_0x36fa47(0x89)]]);}[_0x4c3390(0x8f)](_0x379b26,_0x3ef25e){const _0x131b3e=_0x4c3390,_0x294851=new _0x2c2dce(this[_0x131b3e(0x74)]);return _0x294851[_0x131b3e(0x8e)]({'label':_0x379b26,'class':_0x3ef25e||'','isVisible':!0x0,'withText':!0x0}),_0x294851;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23b799=_0xa5e3;function _0x3ef9(){const _0x24cb35=['mainAction','ck-hidden','_focusables','_createPromptView','AI_ERROR_FAILED','_promptHistory','text','Ask\x20AI\x20to\x20improve\x20generated\x20text','2705562gHnFJA','Empty\x20history','insertButton','high','label','createCollection','stopButton','value','bind','toolbar','isProcessing','startProcessing','finishProcessing','trim','reset','errorView','set','queryView','contentArea','render','clearHistory','replaceContent','1581660nXaeCz','tab','ck-ai-form','focus','8919640FsxxHs','15YCUnEv','_createHistoryView','submit','tryAgainEvent','focusTracker','focusLast','element','_createToolbar','listenTo','replaceButton','isError','delegate','chain','focusFirst','isVisible','search','copyButtonView','1406116xvZDJb','27WXgvGN','clear','add','stopProcessing','locale','bindTemplate','295224qbaXgH','items','7VAMAPX','setTemplate','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','div','focusCycler','shift\x20+\x20tab','REPLACE','fire','fieldView','insertContentBelow','1198255iLoBFS','prompt','promptView','isEnabled','keystrokes','bindTo','ck-ai-form-content','handleError','tryAgainButton','historyGroupView','Ask\x20AI\x20to\x20edit\x20or\x20generate','execute','2204250qEsFsC','submitPrompt'];_0x3ef9=function(){return _0x24cb35;};return _0x3ef9();}(function(_0x329dbd,_0x198dbd){const _0x2f3e7f=_0xa5e3,_0x2a3bcd=_0x329dbd();while(!![]){try{const _0xef5dbf=parseInt(_0x2f3e7f(0x114))/0x1+parseInt(_0x2f3e7f(0xd5))/0x2+-parseInt(_0x2f3e7f(0x108))/0x3+parseInt(_0x2f3e7f(0x101))/0x4*(-parseInt(_0x2f3e7f(0xf0))/0x5)+-parseInt(_0x2f3e7f(0xeb))/0x6+parseInt(_0x2f3e7f(0x10a))/0x7*(-parseInt(_0x2f3e7f(0xef))/0x8)+-parseInt(_0x2f3e7f(0x102))/0x9*(-parseInt(_0x2f3e7f(0x120))/0xa);if(_0xef5dbf===_0x198dbd)break;else _0x2a3bcd['push'](_0x2a3bcd['shift']());}catch(_0x3cecd7){_0x2a3bcd['push'](_0x2a3bcd['shift']());}}}(_0x3ef9,0xa632f));import{FocusTracker as _0x13b836,KeystrokeHandler as _0x415a57}from'ckeditor5/src/utils.js';function _0xa5e3(_0xf1facd,_0x5a25d4){const _0x3ef94e=_0x3ef9();return _0xa5e3=function(_0xa5e346,_0x4ebf79){_0xa5e346=_0xa5e346-0xd1;let _0x19b8d7=_0x3ef94e[_0xa5e346];return _0x19b8d7;},_0xa5e3(_0xf1facd,_0x5a25d4);}import{View as _0x35d4e7,FocusCycler as _0x5d2c3e,createLabeledTextarea as _0x2ae425}from'ckeditor5/src/ui.js';import _0x2f90b8,{AIFormToolbarViewMainActionLabel as _0xd52c3}from'./aiformtoolbarview.js';import _0x295c6e from'./aiformcontentarea.js';import _0x2e780d from'./aiformerrorview.js';import _0x440bfc from'./aiformpromptview.js';import _0x1c6370 from'./aihistorylistview.js';import _0x5ec591 from'./aihistorylistitemview.js';import _0x2076ff from'./prompthistory.js';import{getTranslation as _0x583e66}from'../../utils/common-translations.js';import{escape as _0x3a8db3}from'es-toolkit/compat';export default class _ extends _0x35d4e7{[_0x23b799(0xf4)];[_0x23b799(0x118)];[_0x23b799(0xe7)];[_0x23b799(0xde)];[_0x23b799(0x116)];[_0x23b799(0xe4)];[_0x23b799(0x124)];[_0x23b799(0x10e)];[_0x23b799(0xd2)];constructor(_0x218780,_0x303432,_0x1f42c5=''){const _0x345466=_0x23b799;super(_0x218780),this[_0x345466(0xe5)](_0x345466(0x117),!0x0),this[_0x345466(0xe5)](_0x345466(0xdf),!0x1),this[_0x345466(0xe5)](_0x345466(0x115),''),this[_0x345466(0xe5)](_0x345466(0xdc),''),this[_0x345466(0xe5)](_0x345466(0xfa),!0x1),this[_0x345466(0xe5)](_0x345466(0x122),_0xd52c3[_0x345466(0x110)]),this[_0x345466(0xd2)]=new _0x2076ff(),this[_0x345466(0xe4)]=new _0x2e780d(_0x218780),this[_0x345466(0xe7)]=new _0x295c6e(_0x218780,_0x1f42c5),this[_0x345466(0xe7)][_0x345466(0xdd)](_0x345466(0xdf))['to'](this),this[_0x345466(0xe7)][_0x345466(0xdd)](_0x345466(0xdc))['to'](this),this[_0x345466(0xde)]=this[_0x345466(0xf7)](),this[_0x345466(0xde)][_0x345466(0xdd)](_0x345466(0x122))['to'](this),this[_0x345466(0x116)]=this[_0x345466(0x125)](),this[_0x345466(0xf4)]=new _0x13b836(),this[_0x345466(0x118)]=new _0x415a57(),this[_0x345466(0x124)]=this[_0x345466(0xda)]([this[_0x345466(0xe7)],this[_0x345466(0xe7)][_0x345466(0x100)],this[_0x345466(0xde)],this[_0x345466(0x116)]]),this[_0x345466(0x10e)]=new _0x5d2c3e({'focusables':this[_0x345466(0x124)],'focusTracker':this[_0x345466(0xf4)],'keystrokeHandler':this[_0x345466(0x118)],'actions':{'focusPrevious':_0x345466(0x10f),'focusNext':_0x345466(0xec)}}),this[_0x345466(0x10e)][_0x345466(0xfc)](this[_0x345466(0x116)][_0x345466(0x10e)]),this[_0x345466(0x116)][_0x345466(0xe6)][_0x345466(0x112)][_0x345466(0xdd)](_0x345466(0xdc))['to'](this,_0x345466(0x115));const _0x1a7924=this[_0x345466(0x107)];this[_0x345466(0x10b)]({'tag':_0x345466(0x10d),'attributes':{'class':['ck',_0x345466(0xed),_0x303432],'tabindex':'-1'},'children':[{'tag':_0x345466(0x10d),'attributes':{'class':['ck',_0x345466(0x11a)]},'children':[{'tag':_0x345466(0x10d),'attributes':{'class':[_0x1a7924['if'](_0x345466(0xfa),_0x345466(0x123),_0x567844=>!_0x567844)]},'children':[this[_0x345466(0xe4)]]},this[_0x345466(0xe7)],this[_0x345466(0xde)],this[_0x345466(0x116)]]}]});}[_0x23b799(0xe8)](){const _0x239081=_0x23b799;super[_0x239081(0xe8)](),this[_0x239081(0xf4)][_0x239081(0x104)](this[_0x239081(0xe7)][_0x239081(0xf6)]),this[_0x239081(0xf4)][_0x239081(0x104)](this[_0x239081(0xe7)][_0x239081(0x100)][_0x239081(0xf6)]),this[_0x239081(0xf4)][_0x239081(0x104)](this[_0x239081(0xde)][_0x239081(0xf6)]),this[_0x239081(0xf4)][_0x239081(0x104)](this[_0x239081(0x116)][_0x239081(0xf6)]),this[_0x239081(0x118)][_0x239081(0xf8)](this[_0x239081(0xf6)]);}[_0x23b799(0xee)](_0x383ae0=0x1){const _0x5013d7=_0x23b799;-0x1===_0x383ae0?this[_0x5013d7(0x10e)][_0x5013d7(0xf5)]():this[_0x5013d7(0x10e)][_0x5013d7(0xfd)]();}[_0x23b799(0xe3)](){const _0x104b8f=_0x23b799;this[_0x104b8f(0x115)]='',this[_0x104b8f(0xdc)]='',this[_0x104b8f(0xfa)]=!0x1,this[_0x104b8f(0x116)][_0x104b8f(0xe3)](),this[_0x104b8f(0xe7)][_0x104b8f(0xfe)]=!0x1,this[_0x104b8f(0xde)][_0x104b8f(0xfe)]=!0x1;}[_0x23b799(0x125)](){const _0x3fe413=_0x23b799,_0x416de6=this[_0x3fe413(0x106)],_0xd7e978=new _0x440bfc(_0x416de6,{'queryView':{'label':_0x583e66(_0x416de6,_0x3fe413(0x11e)),'creator':_0x2ae425,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x583e66(_0x416de6,_0x3fe413(0xd6)),'secondary':_0x583e66(_0x416de6,_0x3fe413(0x10c))}}},'filteredView':this[_0x3fe413(0xf1)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xd7e978[_0x3fe413(0xdd)](_0x3fe413(0x117))['to'](this,_0x3fe413(0x117),this,_0x3fe413(0xdf),(_0x77291c,_0x80b647)=>_0x77291c&&!_0x80b647),this[_0x3fe413(0xf8)](_0xd7e978,_0x3fe413(0xf2),(_0x2f4685,_0x47c2d4)=>{const _0x7aa658=_0x3fe413;this[_0x7aa658(0x115)]=_0x47c2d4;const _0x62ac92=_0x3a8db3(_0x47c2d4);this[_0x7aa658(0x111)](_0x7aa658(0x121),_0x62ac92),_0x47c2d4[_0x7aa658(0xe2)]()&&this[_0x7aa658(0xd2)][_0x7aa658(0x104)]({'prompt':_0x62ac92},0x0);},{'priority':_0x3fe413(0xd8)}),_0xd7e978;}[_0x23b799(0xf1)](){const _0x5022ba=_0x23b799,_0xa75af2=new _0x1c6370(this[_0x5022ba(0x106)]);return _0xa75af2[_0x5022ba(0x11d)][_0x5022ba(0x109)][_0x5022ba(0x119)](this[_0x5022ba(0xd2)])['as'](_0x5ec591),_0xa75af2['on'](_0x5022ba(0xe9),()=>{const _0x3cc68f=_0x5022ba;this[_0x3cc68f(0xd2)][_0x3cc68f(0x103)](),this[_0x3cc68f(0x116)][_0x3cc68f(0xff)](''),this[_0x3cc68f(0x116)][_0x3cc68f(0xee)]();}),_0xa75af2;}[_0x23b799(0xf7)](){const _0x3b23a7=_0x23b799,_0x3e90e4=new _0x2f90b8(this[_0x3b23a7(0x106)]);return _0x3e90e4[_0x3b23a7(0xf9)][_0x3b23a7(0xdd)](_0x3b23a7(0x117))['to'](this,_0x3b23a7(0x117),this,_0x3b23a7(0xdf),this,_0x3b23a7(0xdc),(_0x4c387b,_0x5ae49c,_0x458c7e)=>_0x4c387b&&!_0x5ae49c&&!!_0x458c7e),_0x3e90e4[_0x3b23a7(0xf9)][_0x3b23a7(0xfb)](_0x3b23a7(0x11f))['to'](this,_0x3b23a7(0xea)),_0x3e90e4[_0x3b23a7(0xd7)][_0x3b23a7(0xdd)](_0x3b23a7(0x117))['to'](this,_0x3b23a7(0x117),this,_0x3b23a7(0xdf),this,_0x3b23a7(0xdc),(_0x2a0a5f,_0x2ad36e,_0x6d09b8)=>_0x2a0a5f&&!_0x2ad36e&&!!_0x6d09b8),_0x3e90e4[_0x3b23a7(0xd7)][_0x3b23a7(0xfb)](_0x3b23a7(0x11f))['to'](this,_0x3b23a7(0x113)),_0x3e90e4[_0x3b23a7(0x11c)][_0x3b23a7(0xdd)](_0x3b23a7(0x117))['to'](this,_0x3b23a7(0x117),this,_0x3b23a7(0xdf),(_0x56a465,_0x3097ca)=>_0x56a465&&!_0x3097ca),_0x3e90e4[_0x3b23a7(0x11c)][_0x3b23a7(0xfb)](_0x3b23a7(0x11f))['to'](this,_0x3b23a7(0xf3)),_0x3e90e4[_0x3b23a7(0xdb)][_0x3b23a7(0xdd)](_0x3b23a7(0x117))['to'](this,_0x3b23a7(0xdf)),_0x3e90e4[_0x3b23a7(0xdb)][_0x3b23a7(0xfb)](_0x3b23a7(0x11f))['to'](this,_0x3b23a7(0x105)),_0x3e90e4;}[_0x23b799(0xe0)](){const _0x2d92b2=_0x23b799;this[_0x2d92b2(0xdc)]='',this[_0x2d92b2(0xfa)]=!0x1,this[_0x2d92b2(0xdf)]=!0x0,this[_0x2d92b2(0xe7)][_0x2d92b2(0xfe)]=!0x0,this[_0x2d92b2(0xde)][_0x2d92b2(0xfe)]=!0x0,this[_0x2d92b2(0xe7)][_0x2d92b2(0xee)]();}[_0x23b799(0xe1)](){const _0x29645c=_0x23b799,_0x1f0e9e=this[_0x29645c(0x106)];this[_0x29645c(0xdf)]=!0x1,this[_0x29645c(0x115)]='',this[_0x29645c(0x116)][_0x29645c(0xe3)](),this[_0x29645c(0xdc)]&&(this[_0x29645c(0x116)][_0x29645c(0xe6)][_0x29645c(0xd9)]=_0x583e66(_0x1f0e9e,_0x29645c(0xd4)));}[_0x23b799(0x11b)](_0x5be046){const _0x55d37f=_0x23b799,_0x3dcb9e=this[_0x55d37f(0x106)];this[_0x55d37f(0xe1)](),this[_0x55d37f(0xfa)]=!0x0,this[_0x55d37f(0xe4)][_0x55d37f(0xd3)]=_0x5be046||_0x583e66(_0x3dcb9e,_0x55d37f(0xd1)),this[_0x55d37f(0xdc)]||(this[_0x55d37f(0xe7)][_0x55d37f(0xfe)]=!0x1);}}
23
+ const _0x5dc6be=_0x4f4e;(function(_0xd50b94,_0x213390){const _0x1aa0f1=_0x4f4e,_0x57222b=_0xd50b94();while(!![]){try{const _0x1621b2=-parseInt(_0x1aa0f1(0x120))/0x1*(-parseInt(_0x1aa0f1(0xfa))/0x2)+-parseInt(_0x1aa0f1(0x105))/0x3+-parseInt(_0x1aa0f1(0x138))/0x4+-parseInt(_0x1aa0f1(0x135))/0x5+-parseInt(_0x1aa0f1(0x115))/0x6+parseInt(_0x1aa0f1(0x12b))/0x7*(parseInt(_0x1aa0f1(0x110))/0x8)+parseInt(_0x1aa0f1(0x12f))/0x9*(parseInt(_0x1aa0f1(0xf4))/0xa);if(_0x1621b2===_0x213390)break;else _0x57222b['push'](_0x57222b['shift']());}catch(_0x78db7c){_0x57222b['push'](_0x57222b['shift']());}}}(_0x2098,0x89cf4));function _0x2098(){const _0x3cd952=['div','createCollection','7IzKZJu','_focusables','high','items','423tMONjn','promptView','prompt','errorView','tab','submitPrompt','5474030KfiGXx','stopProcessing','contentArea','4391080RzyVzd','focusFirst','fire','keystrokes','focusLast','insertContentBelow','setTemplate','submit','label','reset','handleError','isProcessing','shift\x20+\x20tab','tryAgainEvent','delegate','Ask\x20AI\x20to\x20edit\x20or\x20generate','ck-hidden','630030hLwAuO','_createToolbar','isVisible','fieldView','AI_ERROR_FAILED','queryView','192086HgXeJk','focusCycler','toolbar','isError','listenTo','focus','ck-ai-form-content','isEnabled','set','tryAgainButton','focusTracker','1641402qqnCAX','Ask\x20AI\x20to\x20improve\x20generated\x20text','historyGroupView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','text','replaceContent','insertButton','REPLACE','clear','ck-ai-form','render','628168oakOAK','_createHistoryView','mainAction','clearHistory','bindTemplate','1870452QTmCTu','chain','bindTo','locale','add','copyButtonView','element','value','replaceButton','finishProcessing','startProcessing','6UioWZO','bind','stopButton','_promptHistory','Empty\x20history','_createPromptView','trim','search','execute'];_0x2098=function(){return _0x3cd952;};return _0x2098();}import{FocusTracker as _0x1820ba,KeystrokeHandler as _0x1cdc06}from'ckeditor5/src/utils.js';import{View as _0x45845c,FocusCycler as _0x10e6d1,createLabeledTextarea as _0x4e4cb3}from'ckeditor5/src/ui.js';import _0x1dfbf4,{AIFormToolbarViewMainActionLabel as _0x91453e}from'./aiformtoolbarview.js';import _0x4f8e5d from'./aiformcontentarea.js';import _0xea94ad from'./aiformerrorview.js';import _0x39f6fe from'./aiformpromptview.js';import _0x41bd14 from'./aihistorylistview.js';import _0x200bba from'./aihistorylistitemview.js';import _0x21786c from'./prompthistory.js';function _0x4f4e(_0x190d14,_0x55cd1c){const _0x2098a5=_0x2098();return _0x4f4e=function(_0x4f4ed0,_0x1e2564){_0x4f4ed0=_0x4f4ed0-0xf2;let _0x518df3=_0x2098a5[_0x4f4ed0];return _0x518df3;},_0x4f4e(_0x190d14,_0x55cd1c);}import{getTranslation as _0x4c15b8}from'../../utils/common-translations.js';import{escape as _0x29ec8b}from'es-toolkit/compat';export default class _ extends _0x45845c{[_0x5dc6be(0x104)];[_0x5dc6be(0x13b)];[_0x5dc6be(0x137)];[_0x5dc6be(0xfc)];[_0x5dc6be(0x130)];[_0x5dc6be(0x132)];[_0x5dc6be(0x12c)];[_0x5dc6be(0xfb)];[_0x5dc6be(0x123)];constructor(_0x4e24ac,_0x1c0139,_0xbd98d=''){const _0x158c8f=_0x5dc6be;super(_0x4e24ac),this[_0x158c8f(0x102)](_0x158c8f(0x101),!0x0),this[_0x158c8f(0x102)](_0x158c8f(0x143),!0x1),this[_0x158c8f(0x102)](_0x158c8f(0x131),''),this[_0x158c8f(0x102)](_0x158c8f(0x11c),''),this[_0x158c8f(0x102)](_0x158c8f(0xfd),!0x1),this[_0x158c8f(0x102)](_0x158c8f(0x112),_0x91453e[_0x158c8f(0x10c)]),this[_0x158c8f(0x123)]=new _0x21786c(),this[_0x158c8f(0x132)]=new _0xea94ad(_0x4e24ac),this[_0x158c8f(0x137)]=new _0x4f8e5d(_0x4e24ac,_0xbd98d),this[_0x158c8f(0x137)][_0x158c8f(0x121)](_0x158c8f(0x143))['to'](this),this[_0x158c8f(0x137)][_0x158c8f(0x121)](_0x158c8f(0x11c))['to'](this),this[_0x158c8f(0xfc)]=this[_0x158c8f(0xf5)](),this[_0x158c8f(0xfc)][_0x158c8f(0x121)](_0x158c8f(0x112))['to'](this),this[_0x158c8f(0x130)]=this[_0x158c8f(0x125)](),this[_0x158c8f(0x104)]=new _0x1820ba(),this[_0x158c8f(0x13b)]=new _0x1cdc06(),this[_0x158c8f(0x12c)]=this[_0x158c8f(0x12a)]([this[_0x158c8f(0x137)],this[_0x158c8f(0x137)][_0x158c8f(0x11a)],this[_0x158c8f(0xfc)],this[_0x158c8f(0x130)]]),this[_0x158c8f(0xfb)]=new _0x10e6d1({'focusables':this[_0x158c8f(0x12c)],'focusTracker':this[_0x158c8f(0x104)],'keystrokeHandler':this[_0x158c8f(0x13b)],'actions':{'focusPrevious':_0x158c8f(0x144),'focusNext':_0x158c8f(0x133)}}),this[_0x158c8f(0xfb)][_0x158c8f(0x116)](this[_0x158c8f(0x130)][_0x158c8f(0xfb)]),this[_0x158c8f(0x130)][_0x158c8f(0xf9)][_0x158c8f(0xf7)][_0x158c8f(0x121)](_0x158c8f(0x11c))['to'](this,_0x158c8f(0x131));const _0x24d143=this[_0x158c8f(0x114)];this[_0x158c8f(0x13e)]({'tag':_0x158c8f(0x129),'attributes':{'class':['ck',_0x158c8f(0x10e),_0x1c0139],'tabindex':'-1'},'children':[{'tag':_0x158c8f(0x129),'attributes':{'class':['ck',_0x158c8f(0x100)]},'children':[{'tag':_0x158c8f(0x129),'attributes':{'class':[_0x24d143['if'](_0x158c8f(0xfd),_0x158c8f(0xf3),_0x5f4a70=>!_0x5f4a70)]},'children':[this[_0x158c8f(0x132)]]},this[_0x158c8f(0x137)],this[_0x158c8f(0xfc)],this[_0x158c8f(0x130)]]}]});}[_0x5dc6be(0x10f)](){const _0x1b0033=_0x5dc6be;super[_0x1b0033(0x10f)](),this[_0x1b0033(0x104)][_0x1b0033(0x119)](this[_0x1b0033(0x137)][_0x1b0033(0x11b)]),this[_0x1b0033(0x104)][_0x1b0033(0x119)](this[_0x1b0033(0x137)][_0x1b0033(0x11a)][_0x1b0033(0x11b)]),this[_0x1b0033(0x104)][_0x1b0033(0x119)](this[_0x1b0033(0xfc)][_0x1b0033(0x11b)]),this[_0x1b0033(0x104)][_0x1b0033(0x119)](this[_0x1b0033(0x130)][_0x1b0033(0x11b)]),this[_0x1b0033(0x13b)][_0x1b0033(0xfe)](this[_0x1b0033(0x11b)]);}[_0x5dc6be(0xff)](_0x2761b1=0x1){const _0x4a14f8=_0x5dc6be;-0x1===_0x2761b1?this[_0x4a14f8(0xfb)][_0x4a14f8(0x13c)]():this[_0x4a14f8(0xfb)][_0x4a14f8(0x139)]();}[_0x5dc6be(0x141)](){const _0x3ffee3=_0x5dc6be;this[_0x3ffee3(0x131)]='',this[_0x3ffee3(0x11c)]='',this[_0x3ffee3(0xfd)]=!0x1,this[_0x3ffee3(0x130)][_0x3ffee3(0x141)](),this[_0x3ffee3(0x137)][_0x3ffee3(0xf6)]=!0x1,this[_0x3ffee3(0xfc)][_0x3ffee3(0xf6)]=!0x1;}[_0x5dc6be(0x125)](){const _0x3323c2=_0x5dc6be,_0x10138b=this[_0x3323c2(0x118)],_0x131115=new _0x39f6fe(_0x10138b,{'queryView':{'label':_0x4c15b8(_0x10138b,_0x3323c2(0xf2)),'creator':_0x4e4cb3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4c15b8(_0x10138b,_0x3323c2(0x124)),'secondary':_0x4c15b8(_0x10138b,_0x3323c2(0x108))}}},'filteredView':this[_0x3323c2(0x111)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x131115[_0x3323c2(0x121)](_0x3323c2(0x101))['to'](this,_0x3323c2(0x101),this,_0x3323c2(0x143),(_0x426240,_0x5d1463)=>_0x426240&&!_0x5d1463),this[_0x3323c2(0xfe)](_0x131115,_0x3323c2(0x13f),(_0x2878e0,_0x4eb1c3)=>{const _0x3455b2=_0x3323c2;this[_0x3455b2(0x131)]=_0x4eb1c3;const _0x10e401=_0x29ec8b(_0x4eb1c3);this[_0x3455b2(0x13a)](_0x3455b2(0x134),_0x10e401),_0x4eb1c3[_0x3455b2(0x126)]()&&this[_0x3455b2(0x123)][_0x3455b2(0x119)]({'prompt':_0x10e401},0x0);},{'priority':_0x3323c2(0x12d)}),_0x131115;}[_0x5dc6be(0x111)](){const _0x1ee3c8=_0x5dc6be,_0x106eec=new _0x41bd14(this[_0x1ee3c8(0x118)]);return _0x106eec[_0x1ee3c8(0x107)][_0x1ee3c8(0x12e)][_0x1ee3c8(0x117)](this[_0x1ee3c8(0x123)])['as'](_0x200bba),_0x106eec['on'](_0x1ee3c8(0x113),()=>{const _0x303e87=_0x1ee3c8;this[_0x303e87(0x123)][_0x303e87(0x10d)](),this[_0x303e87(0x130)][_0x303e87(0x127)](''),this[_0x303e87(0x130)][_0x303e87(0xff)]();}),_0x106eec;}[_0x5dc6be(0xf5)](){const _0x20995b=_0x5dc6be,_0x5278c7=new _0x1dfbf4(this[_0x20995b(0x118)]);return _0x5278c7[_0x20995b(0x11d)][_0x20995b(0x121)](_0x20995b(0x101))['to'](this,_0x20995b(0x101),this,_0x20995b(0x143),this,_0x20995b(0x11c),(_0x33150c,_0x12569a,_0x1f90fe)=>_0x33150c&&!_0x12569a&&!!_0x1f90fe),_0x5278c7[_0x20995b(0x11d)][_0x20995b(0x146)](_0x20995b(0x128))['to'](this,_0x20995b(0x10a)),_0x5278c7[_0x20995b(0x10b)][_0x20995b(0x121)](_0x20995b(0x101))['to'](this,_0x20995b(0x101),this,_0x20995b(0x143),this,_0x20995b(0x11c),(_0x338e83,_0x2a93a4,_0x494fa2)=>_0x338e83&&!_0x2a93a4&&!!_0x494fa2),_0x5278c7[_0x20995b(0x10b)][_0x20995b(0x146)](_0x20995b(0x128))['to'](this,_0x20995b(0x13d)),_0x5278c7[_0x20995b(0x103)][_0x20995b(0x121)](_0x20995b(0x101))['to'](this,_0x20995b(0x101),this,_0x20995b(0x143),(_0x49b77a,_0x3764c1)=>_0x49b77a&&!_0x3764c1),_0x5278c7[_0x20995b(0x103)][_0x20995b(0x146)](_0x20995b(0x128))['to'](this,_0x20995b(0x145)),_0x5278c7[_0x20995b(0x122)][_0x20995b(0x121)](_0x20995b(0x101))['to'](this,_0x20995b(0x143)),_0x5278c7[_0x20995b(0x122)][_0x20995b(0x146)](_0x20995b(0x128))['to'](this,_0x20995b(0x136)),_0x5278c7;}[_0x5dc6be(0x11f)](){const _0x4fd68d=_0x5dc6be;this[_0x4fd68d(0x11c)]='',this[_0x4fd68d(0xfd)]=!0x1,this[_0x4fd68d(0x143)]=!0x0,this[_0x4fd68d(0x137)][_0x4fd68d(0xf6)]=!0x0,this[_0x4fd68d(0xfc)][_0x4fd68d(0xf6)]=!0x0,this[_0x4fd68d(0x137)][_0x4fd68d(0xff)]();}[_0x5dc6be(0x11e)](){const _0x43e544=_0x5dc6be,_0x5bcb7f=this[_0x43e544(0x118)];this[_0x43e544(0x143)]=!0x1,this[_0x43e544(0x131)]='',this[_0x43e544(0x130)][_0x43e544(0x141)](),this[_0x43e544(0x11c)]&&(this[_0x43e544(0x130)][_0x43e544(0xf9)][_0x43e544(0x140)]=_0x4c15b8(_0x5bcb7f,_0x43e544(0x106)));}[_0x5dc6be(0x142)](_0x541be3){const _0x24c296=_0x5dc6be,_0x156a2b=this[_0x24c296(0x118)];this[_0x24c296(0x11e)](),this[_0x24c296(0xfd)]=!0x0,this[_0x24c296(0x132)][_0x24c296(0x109)]=_0x541be3||_0x4c15b8(_0x156a2b,_0x24c296(0xf8)),this[_0x24c296(0x11c)]||(this[_0x24c296(0x137)][_0x24c296(0xf6)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x28c8(){const _0x368ad7=['prompt','87398EYQgnN','196336OMOInS','154nsyJrg','add','24oLGSdr','1002545kQXxrG','16MRoTtR','9924nyEEeR','children','set','104680LRyCoR','715482zzkAGg','fire','locale','413028qidBce','execute','94YFsnkT'];_0x28c8=function(){return _0x368ad7;};return _0x28c8();}(function(_0x49aa63,_0x2b50d4){const _0x5f39ee=_0x8354,_0x36d0a5=_0x49aa63();while(!![]){try{const _0x202dd1=parseInt(_0x5f39ee(0x1c0))/0x1+-parseInt(_0x5f39ee(0x1d0))/0x2*(-parseInt(_0x5f39ee(0x1c7))/0x3)+parseInt(_0x5f39ee(0x1ce))/0x4+parseInt(_0x5f39ee(0x1c5))/0x5+-parseInt(_0x5f39ee(0x1c4))/0x6*(parseInt(_0x5f39ee(0x1c1))/0x7)+-parseInt(_0x5f39ee(0x1c6))/0x8*(parseInt(_0x5f39ee(0x1cb))/0x9)+-parseInt(_0x5f39ee(0x1ca))/0xa*(parseInt(_0x5f39ee(0x1c2))/0xb);if(_0x202dd1===_0x2b50d4)break;else _0x36d0a5['push'](_0x36d0a5['shift']());}catch(_0x52784a){_0x36d0a5['push'](_0x36d0a5['shift']());}}}(_0x28c8,0x1f784));import{ListItemView as _0x3936ab,ButtonView as _0xa6fb0c,ButtonLabelView as _0x8a738a}from'ckeditor5/src/ui.js';function _0x8354(_0x45b2d6,_0x32f67f){const _0x28c815=_0x28c8();return _0x8354=function(_0x835497,_0x4b4a67){_0x835497=_0x835497-0x1c0;let _0x2d1844=_0x28c815[_0x835497];return _0x2d1844;},_0x8354(_0x45b2d6,_0x32f67f);}import{unescape as _0x3b87e4}from'es-toolkit/compat';export default class bt extends _0x3936ab{constructor(_0x49b0d9){const _0x39435b=_0x8354;super();const _0x2812ab=new _0x8a738a(),_0x6e785a=new _0xa6fb0c(this[_0x39435b(0x1cd)],_0x2812ab);this[_0x39435b(0x1c8)][_0x39435b(0x1c3)](_0x6e785a),_0x6e785a[_0x39435b(0x1c9)]({'label':_0x49b0d9[_0x39435b(0x1d1)],'withText':!0x0}),_0x6e785a['on'](_0x39435b(0x1cf),()=>{const _0x4985aa=_0x39435b;this[_0x4985aa(0x1cc)](_0x4985aa(0x1cf),{'value':_0x3b87e4(_0x49b0d9[_0x4985aa(0x1d1)])});});}}
23
+ (function(_0x5255da,_0x4f6478){const _0x6cf138=_0x4ee4,_0xd7b5fe=_0x5255da();while(!![]){try{const _0x7132e0=-parseInt(_0x6cf138(0x18d))/0x1+-parseInt(_0x6cf138(0x190))/0x2*(parseInt(_0x6cf138(0x187))/0x3)+-parseInt(_0x6cf138(0x193))/0x4+parseInt(_0x6cf138(0x18f))/0x5+-parseInt(_0x6cf138(0x18e))/0x6*(parseInt(_0x6cf138(0x189))/0x7)+parseInt(_0x6cf138(0x194))/0x8*(-parseInt(_0x6cf138(0x18b))/0x9)+parseInt(_0x6cf138(0x188))/0xa;if(_0x7132e0===_0x4f6478)break;else _0xd7b5fe['push'](_0xd7b5fe['shift']());}catch(_0x5a0181){_0xd7b5fe['push'](_0xd7b5fe['shift']());}}}(_0x111f,0x7aab6));function _0x111f(){const _0x592974=['add','fire','64290oCNliz','26225080OvESEM','7CwhjmI','locale','247482qqwJqP','set','581157UUxvOX','4626948EcqITE','3948380GZZFgA','86AFXhBc','execute','children','1223796qTotlq','96BBmevz','prompt'];_0x111f=function(){return _0x592974;};return _0x111f();}function _0x4ee4(_0xbd53f2,_0x6d96ea){const _0x111f98=_0x111f();return _0x4ee4=function(_0x4ee4c8,_0x431f3b){_0x4ee4c8=_0x4ee4c8-0x187;let _0x3519d7=_0x111f98[_0x4ee4c8];return _0x3519d7;},_0x4ee4(_0xbd53f2,_0x6d96ea);}import{ListItemView as _0x49b7bc,ButtonView as _0x2203db,ButtonLabelView as _0x38c5a8}from'ckeditor5/src/ui.js';import{unescape as _0x9831f5}from'es-toolkit/compat';export default class bt extends _0x49b7bc{constructor(_0x119e48){const _0x101c25=_0x4ee4;super();const _0x2e04cc=new _0x38c5a8(),_0x2c2294=new _0x2203db(this[_0x101c25(0x18a)],_0x2e04cc);this[_0x101c25(0x192)][_0x101c25(0x196)](_0x2c2294),_0x2c2294[_0x101c25(0x18c)]({'label':_0x119e48[_0x101c25(0x195)],'withText':!0x0}),_0x2c2294['on'](_0x101c25(0x191),()=>{const _0x310237=_0x101c25;this[_0x310237(0x197)](_0x310237(0x191),{'value':_0x9831f5(_0x119e48[_0x310237(0x195)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21a6d3=_0x139c;(function(_0x4e68d9,_0x29577c){const _0x5e2d99=_0x139c,_0x98ad8=_0x4e68d9();while(!![]){try{const _0x2252a3=parseInt(_0x5e2d99(0x1ed))/0x1*(parseInt(_0x5e2d99(0x1fc))/0x2)+parseInt(_0x5e2d99(0x1fe))/0x3+parseInt(_0x5e2d99(0x1e6))/0x4+parseInt(_0x5e2d99(0x1f0))/0x5*(parseInt(_0x5e2d99(0x1ec))/0x6)+parseInt(_0x5e2d99(0x1e8))/0x7*(-parseInt(_0x5e2d99(0x1e3))/0x8)+parseInt(_0x5e2d99(0x1f8))/0x9*(-parseInt(_0x5e2d99(0x1f6))/0xa)+-parseInt(_0x5e2d99(0x1f7))/0xb;if(_0x2252a3===_0x29577c)break;else _0x98ad8['push'](_0x98ad8['shift']());}catch(_0x4469b1){_0x98ad8['push'](_0x98ad8['shift']());}}}(_0x1468,0xe1213));import{ListView as _0x44d2c4,ListItemGroupView as _0x2232a3,ButtonView as _0x1b89b8}from'ckeditor5/src/ui.js';function _0x139c(_0x2ca973,_0x21012a){const _0x146847=_0x1468();return _0x139c=function(_0x139ca5,_0xaf00d6){_0x139ca5=_0x139ca5-0x1e3;let _0x1435b5=_0x146847[_0x139ca5];return _0x1435b5;},_0x139c(_0x2ca973,_0x21012a);}import{getTranslation as _0x10a365}from'../../utils/common-translations.js';export default class ft extends _0x44d2c4{[_0x21a6d3(0x1fa)];[_0x21a6d3(0x1ea)];constructor(_0x2f6f10){const _0x5acf7a=_0x21a6d3;super(_0x2f6f10),this[_0x5acf7a(0x1ea)]=this[_0x5acf7a(0x1fd)](),this[_0x5acf7a(0x1fa)]=new _0x2232a3(),this[_0x5acf7a(0x1fa)][_0x5acf7a(0x1ee)][_0x5acf7a(0x1eb)](this[_0x5acf7a(0x1ea)],0x1),this[_0x5acf7a(0x1fa)][_0x5acf7a(0x1e9)]=_0x10a365(_0x2f6f10,_0x5acf7a(0x1f9)),this[_0x5acf7a(0x1fa)][_0x5acf7a(0x1fb)][_0x5acf7a(0x1f2)](_0x5acf7a(0x1f3))['to'](this),this[_0x5acf7a(0x1fb)][_0x5acf7a(0x1eb)](this[_0x5acf7a(0x1fa)]);}[_0x21a6d3(0x1f1)](){const _0x5daf3e=_0x21a6d3;let _0x34d0d2=0x0;for(const _0x1a535c of this[_0x5daf3e(0x1fb)])_0x34d0d2+=_0x1a535c[_0x5daf3e(0x1fb)][_0x5daf3e(0x1f5)];return{'resultsCount':_0x34d0d2,'totalItemsCount':_0x34d0d2};}[_0x21a6d3(0x1fd)](){const _0x48336c=_0x21a6d3,_0x515d27=this[_0x48336c(0x1e4)],_0x548409=new _0x1b89b8(this[_0x48336c(0x1e4)]);return _0x548409[_0x48336c(0x1e7)]({'label':'('+_0x10a365(_0x515d27,_0x48336c(0x1e5))+')','withText':!0x0}),_0x548409['on'](_0x48336c(0x1f3),()=>this[_0x48336c(0x1ef)](_0x48336c(0x1f4))),_0x548409;}}function _0x1468(){const _0x4214b5=['5mQalwj','filter','delegate','execute','clearHistory','length','138310FfkEPL','2543915EaPbiN','585WFHTFD','Prompt\x20history','historyGroupView','items','14pyyagj','_createClearHistoryButton','9489bPLiRR','6679672rqoXVl','locale','Clear','496628ZTTtyZ','set','7CbXRmQ','label','clearHistoryButton','add','6191214xDwKId','246883kzsbsj','children','fire'];_0x1468=function(){return _0x4214b5;};return _0x1468();}
23
+ const _0x328053=_0x41b4;(function(_0x58c757,_0x2dc142){const _0xf1744=_0x41b4,_0x10097a=_0x58c757();while(!![]){try{const _0x13cabc=parseInt(_0xf1744(0x9b))/0x1*(parseInt(_0xf1744(0x94))/0x2)+-parseInt(_0xf1744(0x9e))/0x3+-parseInt(_0xf1744(0x95))/0x4+-parseInt(_0xf1744(0x91))/0x5*(parseInt(_0xf1744(0xa1))/0x6)+-parseInt(_0xf1744(0x92))/0x7*(-parseInt(_0xf1744(0xa5))/0x8)+-parseInt(_0xf1744(0x8e))/0x9+parseInt(_0xf1744(0x93))/0xa;if(_0x13cabc===_0x2dc142)break;else _0x10097a['push'](_0x10097a['shift']());}catch(_0x4ea1c3){_0x10097a['push'](_0x10097a['shift']());}}}(_0x2f4d,0xd7df6));function _0x41b4(_0x381afd,_0x39f0e5){const _0x2f4d4e=_0x2f4d();return _0x41b4=function(_0x41b45e,_0x5b6b29){_0x41b45e=_0x41b45e-0x8c;let _0x53c6dc=_0x2f4d4e[_0x41b45e];return _0x53c6dc;},_0x41b4(_0x381afd,_0x39f0e5);}import{ListView as _0x450d98,ListItemGroupView as _0x39429e,ButtonView as _0x2748b8}from'ckeditor5/src/ui.js';import{getTranslation as _0x1a1fa2}from'../../utils/common-translations.js';function _0x2f4d(){const _0x2210aa=['_createClearHistoryButton','8WbacOX','filter','locale','children','12923577jOcBMO','Prompt\x20history','items','5YNcPMT','11109140PmqPgD','36344060lizRKp','393454WRyHld','6777988lifPEk','delegate','length','historyGroupView','label','add','1SztWKz','clearHistory','Clear','1021122HCPGXa','set','clearHistoryButton','6378690PIOULR','execute','fire'];_0x2f4d=function(){return _0x2210aa;};return _0x2f4d();}export default class ft extends _0x450d98{[_0x328053(0x98)];[_0x328053(0xa0)];constructor(_0x3ccf18){const _0x479e55=_0x328053;super(_0x3ccf18),this[_0x479e55(0xa0)]=this[_0x479e55(0xa4)](),this[_0x479e55(0x98)]=new _0x39429e(),this[_0x479e55(0x98)][_0x479e55(0x8d)][_0x479e55(0x9a)](this[_0x479e55(0xa0)],0x1),this[_0x479e55(0x98)][_0x479e55(0x99)]=_0x1a1fa2(_0x3ccf18,_0x479e55(0x8f)),this[_0x479e55(0x98)][_0x479e55(0x90)][_0x479e55(0x96)](_0x479e55(0xa2))['to'](this),this[_0x479e55(0x90)][_0x479e55(0x9a)](this[_0x479e55(0x98)]);}[_0x328053(0xa6)](){const _0xbe30b2=_0x328053;let _0x361abe=0x0;for(const _0x3cf16b of this[_0xbe30b2(0x90)])_0x361abe+=_0x3cf16b[_0xbe30b2(0x90)][_0xbe30b2(0x97)];return{'resultsCount':_0x361abe,'totalItemsCount':_0x361abe};}[_0x328053(0xa4)](){const _0x57418a=_0x328053,_0x2ca796=this[_0x57418a(0x8c)],_0x3e3b13=new _0x2748b8(this[_0x57418a(0x8c)]);return _0x3e3b13[_0x57418a(0x9f)]({'label':'('+_0x1a1fa2(_0x2ca796,_0x57418a(0x9d))+')','withText':!0x0}),_0x3e3b13['on'](_0x57418a(0xa2),()=>this[_0x57418a(0xa3)](_0x57418a(0x9c))),_0x3e3b13;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fe9ad=_0x1e18;function _0x1e18(_0x35eb4c,_0x31ec45){const _0x4f5915=_0x4f59();return _0x1e18=function(_0x1e1887,_0x4deea9){_0x1e1887=_0x1e1887-0x105;let _0x2aedd0=_0x4f5915[_0x1e1887];return _0x2aedd0;},_0x1e18(_0x35eb4c,_0x31ec45);}(function(_0x32af5b,_0x52e02e){const _0x7934c1=_0x1e18,_0x320eac=_0x32af5b();while(!![]){try{const _0x51f1e7=-parseInt(_0x7934c1(0x10c))/0x1+parseInt(_0x7934c1(0x118))/0x2+parseInt(_0x7934c1(0x112))/0x3+parseInt(_0x7934c1(0x114))/0x4+-parseInt(_0x7934c1(0x10d))/0x5+-parseInt(_0x7934c1(0x107))/0x6*(-parseInt(_0x7934c1(0x10a))/0x7)+-parseInt(_0x7934c1(0x110))/0x8*(-parseInt(_0x7934c1(0x10e))/0x9);if(_0x51f1e7===_0x52e02e)break;else _0x320eac['push'](_0x320eac['shift']());}catch(_0x222343){_0x320eac['push'](_0x320eac['shift']());}}}(_0x4f59,0x5d2c2));import{Collection as _0x578ed8}from'ckeditor5/src/utils.js';function _0x4f59(){const _0x2f847d=['toLowerCase','remove','addMany','_saveToSessionStorage','setItem','add','prompt','1524WfeGJa','stringify','trim','6643UQOFVw','map','668958yqUJuk','3256590TeKOLS','4419GAietP','CKEditor/AIFormView/PromptHistory','9512pmwqiY','length','1487973ncwboB','parse','1103160httxPX','last','_loadFromSessionStorage','getItem','210568NQCLiT'];_0x4f59=function(){return _0x2f847d;};return _0x4f59();}const ts=_0x2fe9ad(0x10f);export default class wt extends _0x578ed8{constructor(){const _0x217558=_0x2fe9ad;super(),this[_0x217558(0x116)](),this['on'](_0x217558(0x105),(_0xd9ea7d,_0x5125ac)=>{const _0x5b96e9=_0x217558,_0x5d34e3=os(_0x5125ac[_0x5b96e9(0x106)]);for(const _0x31ec9d of this)if(_0x31ec9d!=_0x5125ac&&os(_0x31ec9d[_0x5b96e9(0x106)])===_0x5d34e3){this[_0x5b96e9(0x11a)](_0x31ec9d);break;}this[_0x5b96e9(0x111)]>0x14&&this[_0x5b96e9(0x11a)](this[_0x5b96e9(0x115)]),this[_0x5b96e9(0x11c)]();}),this['on'](_0x217558(0x11a),()=>{const _0x4ff3f3=_0x217558;this[_0x4ff3f3(0x11c)]();});}[_0x2fe9ad(0x116)](){const _0x170494=_0x2fe9ad,_0x30f3dc=sessionStorage[_0x170494(0x117)](ts)||'[]';this[_0x170494(0x11b)](JSON[_0x170494(0x113)](_0x30f3dc));}[_0x2fe9ad(0x11c)](){const _0x3ade10=_0x2fe9ad;sessionStorage[_0x3ade10(0x11d)](ts,JSON[_0x3ade10(0x108)](this[_0x3ade10(0x10b)](_0x3d5a00=>_0x3d5a00)));}}function os(_0x2bc396){const _0x4896dd=_0x2fe9ad;return _0x2bc396[_0x4896dd(0x119)]()[_0x4896dd(0x109)]();}
23
+ function _0x1637(_0x49a0d0,_0x4f9c9b){const _0x19039e=_0x1903();return _0x1637=function(_0x163748,_0x42f572){_0x163748=_0x163748-0x67;let _0x1a9701=_0x19039e[_0x163748];return _0x1a9701;},_0x1637(_0x49a0d0,_0x4f9c9b);}function _0x1903(){const _0x16a754=['1112221siLbbq','stringify','trim','map','9771gRuEgj','remove','8OEmhSJ','18qEsDwJ','16NePyBA','prompt','getItem','20641HSPSzw','1448979vEZqEX','CKEditor/AIFormView/PromptHistory','634617hQCOjx','length','setItem','addMany','parse','add','30xaUgHI','_saveToSessionStorage','_loadFromSessionStorage','last','toLowerCase','731985sgKDTA','1041912FBFpII'];_0x1903=function(){return _0x16a754;};return _0x1903();}const _0x32f36a=_0x1637;(function(_0x1ee85e,_0x317eaa){const _0x3de339=_0x1637,_0x5cc757=_0x1ee85e();while(!![]){try{const _0x2d52ed=-parseInt(_0x3de339(0x7f))/0x1*(parseInt(_0x3de339(0x7b))/0x2)+-parseInt(_0x3de339(0x78))/0x3*(-parseInt(_0x3de339(0x7a))/0x4)+parseInt(_0x3de339(0x72))/0x5+parseInt(_0x3de339(0x73))/0x6+parseInt(_0x3de339(0x80))/0x7+-parseInt(_0x3de339(0x7c))/0x8*(-parseInt(_0x3de339(0x67))/0x9)+parseInt(_0x3de339(0x6d))/0xa*(-parseInt(_0x3de339(0x74))/0xb);if(_0x2d52ed===_0x317eaa)break;else _0x5cc757['push'](_0x5cc757['shift']());}catch(_0x9f7cec){_0x5cc757['push'](_0x5cc757['shift']());}}}(_0x1903,0x2d48c));import{Collection as _0x2aa002}from'ckeditor5/src/utils.js';const ts=_0x32f36a(0x81);export default class wt extends _0x2aa002{constructor(){const _0x9c88f7=_0x32f36a;super(),this[_0x9c88f7(0x6f)](),this['on'](_0x9c88f7(0x6c),(_0x1750d1,_0x413e67)=>{const _0x39c0c2=_0x9c88f7,_0x215c17=os(_0x413e67[_0x39c0c2(0x7d)]);for(const _0x3a42ff of this)if(_0x3a42ff!=_0x413e67&&os(_0x3a42ff[_0x39c0c2(0x7d)])===_0x215c17){this[_0x39c0c2(0x79)](_0x3a42ff);break;}this[_0x39c0c2(0x68)]>0x14&&this[_0x39c0c2(0x79)](this[_0x39c0c2(0x70)]),this[_0x39c0c2(0x6e)]();}),this['on'](_0x9c88f7(0x79),()=>{const _0x1bbd40=_0x9c88f7;this[_0x1bbd40(0x6e)]();});}[_0x32f36a(0x6f)](){const _0x4baf4c=_0x32f36a,_0x52ddf6=sessionStorage[_0x4baf4c(0x7e)](ts)||'[]';this[_0x4baf4c(0x6a)](JSON[_0x4baf4c(0x6b)](_0x52ddf6));}[_0x32f36a(0x6e)](){const _0x14de3c=_0x32f36a;sessionStorage[_0x14de3c(0x69)](ts,JSON[_0x14de3c(0x75)](this[_0x14de3c(0x77)](_0x7df2b3=>_0x7df2b3)));}}function os(_0x10958f){const _0x459ca4=_0x32f36a;return _0x10958f[_0x459ca4(0x71)]()[_0x459ca4(0x76)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25f1d3=_0xe44b;(function(_0x30747d,_0x161cab){const _0xfe7038=_0xe44b,_0xef294a=_0x30747d();while(!![]){try{const _0x2ac981=-parseInt(_0xfe7038(0x1d7))/0x1+parseInt(_0xfe7038(0x1b3))/0x2*(-parseInt(_0xfe7038(0x1b5))/0x3)+-parseInt(_0xfe7038(0x1c0))/0x4*(-parseInt(_0xfe7038(0x1cb))/0x5)+parseInt(_0xfe7038(0x1b8))/0x6*(-parseInt(_0xfe7038(0x1c5))/0x7)+-parseInt(_0xfe7038(0x1d6))/0x8*(-parseInt(_0xfe7038(0x1ba))/0x9)+-parseInt(_0xfe7038(0x1d3))/0xa*(-parseInt(_0xfe7038(0x1c4))/0xb)+parseInt(_0xfe7038(0x1ce))/0xc;if(_0x2ac981===_0x161cab)break;else _0xef294a['push'](_0xef294a['shift']());}catch(_0x1890fe){_0xef294a['push'](_0xef294a['shift']());}}}(_0x78bf,0x83ef1));function _0x78bf(){const _0x4d3617=['values','showUI','isEnabled','change:isEnabled','1356320rOVLWc','plugins','includes','5832384zqXpNJ','ai.aiAssistant.disabledElements','config','model','change:_hasContext','8492210oDOaHj','getSelectedBlocks','from','8zBKkpC','855141pXVMWk','name','isEmpty','refresh','hasContent','document','_commandDefinitions','execute','custom','getItems','764WTMeqm','isCollapsed','2430OQVXar','getRanges','element','10254BAcbCt','enabledCommandsIds','2074545rFlSie','length','editor','add','requiresContent','selection','8neiwWZ','set','get','getFirstRange','11WKzRjD','1652LTcbKL','_hasContext'];_0x78bf=function(){return _0x4d3617;};return _0x78bf();}import{Command as _0x37b889}from'ckeditor5/src/core.js';function _0xe44b(_0x442bfb,_0x1b13c7){const _0x78bf90=_0x78bf();return _0xe44b=function(_0xe44b78,_0x54aad6){_0xe44b78=_0xe44b78-0x1b2;let _0x106446=_0x78bf90[_0xe44b78];return _0x106446;},_0xe44b(_0x442bfb,_0x1b13c7);}import _0xf1f005 from'../aiassistantui.js';export default class j extends _0x37b889{[_0x25f1d3(0x1dd)];constructor(_0x62c1d2,_0x3eec34){const _0x27bee3=_0x25f1d3;super(_0x62c1d2),this[_0x27bee3(0x1dd)]=_0x3eec34,this[_0x27bee3(0x1c1)](_0x27bee3(0x1b9),[]),this['on'](_0x27bee3(0x1d2),(_0x11b288,_0x1dadfa,_0xdddc)=>{const _0x2f6ff7=_0x27bee3;this[_0x2f6ff7(0x1c9)]&&(this[_0x2f6ff7(0x1b9)]=G(this[_0x2f6ff7(0x1dd)],_0xdddc));}),this[_0x27bee3(0x1c1)](_0x27bee3(0x1c6),!0x1),this['on'](_0x27bee3(0x1ca),(_0x535d1c,_0xc1a3fc,_0x5bd899)=>{const _0x5f0281=_0x27bee3;this[_0x5f0281(0x1b9)]=_0x5bd899?G(this[_0x5f0281(0x1dd)],this[_0x5f0281(0x1c6)]):[];});}[_0x25f1d3(0x1da)](){const _0x11aa4=_0x25f1d3,_0x195554=this[_0x11aa4(0x1bc)][_0x11aa4(0x1d1)];this[_0x11aa4(0x1c6)]=function(_0x2c010f){const _0x1bdc0b=_0x11aa4,_0x529e68=_0x2c010f[_0x1bdc0b(0x1dc)][_0x1bdc0b(0x1bf)];return _0x529e68[_0x1bdc0b(0x1b4)]?0x0!==[..._0x529e68[_0x1bdc0b(0x1d4)]()][_0x1bdc0b(0x1bb)]&&![..._0x529e68[_0x1bdc0b(0x1d4)]()][0x0][_0x1bdc0b(0x1d9)]:!!_0x2c010f[_0x1bdc0b(0x1db)](_0x529e68[_0x1bdc0b(0x1c3)]());}(_0x195554);const _0x5586a0=_0x195554[_0x11aa4(0x1dc)][_0x11aa4(0x1bf)],_0xaba3d5=this[_0x11aa4(0x1bc)][_0x11aa4(0x1d0)][_0x11aa4(0x1c2)](_0x11aa4(0x1cf));for(const _0x23e627 of _0x5586a0[_0x11aa4(0x1b6)]())for(const _0x4fc7b8 of _0x23e627[_0x11aa4(0x1b2)]())if(_0x4fc7b8['is'](_0x11aa4(0x1b7))&&_0xaba3d5[_0x11aa4(0x1cd)](_0x4fc7b8[_0x11aa4(0x1d8)]))return void(this[_0x11aa4(0x1c9)]=!0x1);this[_0x11aa4(0x1c9)]=!0x0;}[_0x25f1d3(0x1de)](_0x46a6d9='',_0x2ce8c5='',_0x37bfa9=_0x25f1d3(0x1df)){const _0xb5dd35=_0x25f1d3;this[_0xb5dd35(0x1bc)][_0xb5dd35(0x1cc)][_0xb5dd35(0x1c2)](_0xf1f005)[_0xb5dd35(0x1c8)](_0x46a6d9,_0x2ce8c5,_0x37bfa9);}}function G(_0x2b5dc2,_0x52811f){const _0x212f0b=_0x25f1d3,_0x10e2a4=new Set();for(const _0xac9108 of _0x2b5dc2[_0x212f0b(0x1c7)]())(_0x52811f||!0x1===_0xac9108[_0x212f0b(0x1be)])&&_0x10e2a4[_0x212f0b(0x1bd)](_0xac9108['id']);return Array[_0x212f0b(0x1d5)](_0x10e2a4);}
23
+ const _0x585adc=_0x1340;(function(_0x16cfd1,_0x7623d7){const _0x479161=_0x1340,_0x337eee=_0x16cfd1();while(!![]){try{const _0x42cc70=parseInt(_0x479161(0x14f))/0x1*(-parseInt(_0x479161(0x133))/0x2)+-parseInt(_0x479161(0x12f))/0x3*(-parseInt(_0x479161(0x142))/0x4)+-parseInt(_0x479161(0x13a))/0x5*(-parseInt(_0x479161(0x13b))/0x6)+-parseInt(_0x479161(0x151))/0x7*(-parseInt(_0x479161(0x150))/0x8)+parseInt(_0x479161(0x136))/0x9+parseInt(_0x479161(0x143))/0xa+-parseInt(_0x479161(0x147))/0xb;if(_0x42cc70===_0x7623d7)break;else _0x337eee['push'](_0x337eee['shift']());}catch(_0x2d26b0){_0x337eee['push'](_0x337eee['shift']());}}}(_0x39f5,0x28711));function _0x39f5(){const _0x23390e=['2986zogqmz','custom','from','1392723gtFRKk','refresh','execute','config','235EkcYXM','738EwCvNL','getSelectedBlocks','values','element','isEnabled','plugins','get','20afXZuW','2880910yComqm','_commandDefinitions','ai.aiAssistant.disabledElements','requiresContent','3593172pBoXdw','getFirstRange','getRanges','change:isEnabled','enabledCommandsIds','add','change:_hasContext','selection','218NnJBSk','88mCXrET','90062RQPwZx','showUI','document','length','set','getItems','model','hasContent','isCollapsed','name','isEmpty','136578QuzzME','editor','includes','_hasContext'];_0x39f5=function(){return _0x23390e;};return _0x39f5();}function _0x1340(_0x2a05fd,_0x177311){const _0x39f542=_0x39f5();return _0x1340=function(_0x13405c,_0x3b256f){_0x13405c=_0x13405c-0x12a;let _0x395daa=_0x39f542[_0x13405c];return _0x395daa;},_0x1340(_0x2a05fd,_0x177311);}import{Command as _0x17bb68}from'ckeditor5/src/core.js';import _0x3619fb from'../aiassistantui.js';export default class j extends _0x17bb68{[_0x585adc(0x144)];constructor(_0x475f63,_0x3f4df5){const _0x5c9f13=_0x585adc;super(_0x475f63),this[_0x5c9f13(0x144)]=_0x3f4df5,this[_0x5c9f13(0x155)](_0x5c9f13(0x14b),[]),this['on'](_0x5c9f13(0x14d),(_0x7a5067,_0x21b2af,_0x34cd60)=>{const _0x5a6d81=_0x5c9f13;this[_0x5a6d81(0x13f)]&&(this[_0x5a6d81(0x14b)]=G(this[_0x5a6d81(0x144)],_0x34cd60));}),this[_0x5c9f13(0x155)](_0x5c9f13(0x132),!0x1),this['on'](_0x5c9f13(0x14a),(_0x5ccf2b,_0x43a832,_0x289f2f)=>{const _0x394629=_0x5c9f13;this[_0x394629(0x14b)]=_0x289f2f?G(this[_0x394629(0x144)],this[_0x394629(0x132)]):[];});}[_0x585adc(0x137)](){const _0xd28250=_0x585adc,_0x18f9b5=this[_0xd28250(0x130)][_0xd28250(0x12a)];this[_0xd28250(0x132)]=function(_0x40de8a){const _0x5cbad7=_0xd28250,_0x536692=_0x40de8a[_0x5cbad7(0x153)][_0x5cbad7(0x14e)];return _0x536692[_0x5cbad7(0x12c)]?0x0!==[..._0x536692[_0x5cbad7(0x13c)]()][_0x5cbad7(0x154)]&&![..._0x536692[_0x5cbad7(0x13c)]()][0x0][_0x5cbad7(0x12e)]:!!_0x40de8a[_0x5cbad7(0x12b)](_0x536692[_0x5cbad7(0x148)]());}(_0x18f9b5);const _0x2fdf40=_0x18f9b5[_0xd28250(0x153)][_0xd28250(0x14e)],_0x1bae9b=this[_0xd28250(0x130)][_0xd28250(0x139)][_0xd28250(0x141)](_0xd28250(0x145));for(const _0x10ba1f of _0x2fdf40[_0xd28250(0x149)]())for(const _0x5daebe of _0x10ba1f[_0xd28250(0x156)]())if(_0x5daebe['is'](_0xd28250(0x13e))&&_0x1bae9b[_0xd28250(0x131)](_0x5daebe[_0xd28250(0x12d)]))return void(this[_0xd28250(0x13f)]=!0x1);this[_0xd28250(0x13f)]=!0x0;}[_0x585adc(0x138)](_0x89c2f6='',_0x42c518='',_0x40c771=_0x585adc(0x134)){const _0x21e1e8=_0x585adc;this[_0x21e1e8(0x130)][_0x21e1e8(0x140)][_0x21e1e8(0x141)](_0x3619fb)[_0x21e1e8(0x152)](_0x89c2f6,_0x42c518,_0x40c771);}}function G(_0x4a3a12,_0x3921e8){const _0x5bdc2f=_0x585adc,_0x4934c0=new Set();for(const _0x4cd0da of _0x4a3a12[_0x5bdc2f(0x13d)]())(_0x3921e8||!0x1===_0x4cd0da[_0x5bdc2f(0x146)])&&_0x4934c0[_0x5bdc2f(0x14c)](_0x4cd0da['id']);return Array[_0x5bdc2f(0x135)](_0x4934c0);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xc411b9,_0x256b2c,_0x21372b){const t=_0xc411b9['t'];switch(_0x256b2c){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x21372b);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x21372b);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x21372b);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x256b2c;}}
23
+ export function getTranslation(_0x494cfd,_0x1c068f,_0x4d2b10){const t=_0x494cfd['t'];switch(_0x1c068f){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',_0x4d2b10);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4d2b10);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'},_0x4d2b10);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 _0x1c068f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x5e478b,_0x10b167){const _0x5f2700=(0x0,_0x10b167['t'])('Other');return _0x5e478b['length']?'groupId'in _0x5e478b[0x0]?_0x5e478b:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5f2700,'order':0x1/0x0,'commands':_0x5e478b}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5f2700,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x23643f,_0x18daf9){const _0x315604=(0x0,_0x18daf9['t'])('Other');return _0x23643f['length']?'groupId'in _0x23643f[0x0]?_0x23643f:[{'groupId':'_ungrouppedCommands','groupLabel':_0x315604,'order':0x1/0x0,'commands':_0x23643f}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x315604,'order':0x1/0x0,'commands':[]}];}