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

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(_0x5194de,_0x4adb94){const _0x4e3f06=_0x5c20,_0x12b752=_0x5194de();while(!![]){try{const _0x1b2a22=parseInt(_0x4e3f06(0x15a))/0x1+parseInt(_0x4e3f06(0x154))/0x2*(parseInt(_0x4e3f06(0x161))/0x3)+parseInt(_0x4e3f06(0x159))/0x4*(-parseInt(_0x4e3f06(0x157))/0x5)+parseInt(_0x4e3f06(0x156))/0x6+parseInt(_0x4e3f06(0x163))/0x7*(parseInt(_0x4e3f06(0x15b))/0x8)+-parseInt(_0x4e3f06(0x160))/0x9+-parseInt(_0x4e3f06(0x158))/0xa*(parseInt(_0x4e3f06(0x15c))/0xb);if(_0x1b2a22===_0x4adb94)break;else _0x12b752['push'](_0x12b752['shift']());}catch(_0x4d29a8){_0x12b752['push'](_0x12b752['shift']());}}}(_0x4f4f,0x2f72e));import{IconError as _0x36b5aa}from'ckeditor5/src/icons.js';import{View as _0x82c989,IconView as _0x2840a2}from'ckeditor5/src/ui.js';function _0x4f4f(){const _0x3a8d95=['ck-ai-form__error','958698rjCjPL','111nsNEhG','set','407967IuHmOZ','content','text','3390zmsVuU','div','1085532ayLyTj','410uHoxvv','84380CYmnQg','18280zwpqxT','215727jXBnSZ','32vASETh','22zLiiXP','bindTemplate','setTemplate'];_0x4f4f=function(){return _0x3a8d95;};return _0x4f4f();}function _0x5c20(_0x55c48b,_0x4f1976){const _0x4f4fd0=_0x4f4f();return _0x5c20=function(_0x5c204a,_0x3ada68){_0x5c204a=_0x5c204a-0x153;let _0x530208=_0x4f4fd0[_0x5c204a];return _0x530208;},_0x5c20(_0x55c48b,_0x4f1976);}export default class st extends _0x82c989{constructor(_0xe4757b,_0x13d937=''){const _0x1f0714=_0x5c20;super(_0xe4757b);const _0x3d9d9e=new _0x2840a2(),_0x1d6878=this[_0x1f0714(0x15d)];this[_0x1f0714(0x162)](_0x1f0714(0x153),_0x13d937),_0x3d9d9e[_0x1f0714(0x164)]=_0x36b5aa,this[_0x1f0714(0x15e)]({'tag':_0x1f0714(0x155),'attributes':{'class':['ck',_0x1f0714(0x15f)]},'children':[_0x3d9d9e,{'text':_0x1d6878['to'](_0x1f0714(0x153))}]});}}
23
+ function _0x2f76(_0x3ee7bd,_0x3f178c){const _0x27ee32=_0x27ee();return _0x2f76=function(_0x2f76f3,_0x1fbb94){_0x2f76f3=_0x2f76f3-0x1a7;let _0x286731=_0x27ee32[_0x2f76f3];return _0x286731;},_0x2f76(_0x3ee7bd,_0x3f178c);}(function(_0x11265b,_0x38c209){const _0x41e54e=_0x2f76,_0x5af09f=_0x11265b();while(!![]){try{const _0x559692=parseInt(_0x41e54e(0x1b3))/0x1+parseInt(_0x41e54e(0x1b9))/0x2+-parseInt(_0x41e54e(0x1ad))/0x3*(parseInt(_0x41e54e(0x1b1))/0x4)+parseInt(_0x41e54e(0x1b7))/0x5*(-parseInt(_0x41e54e(0x1b4))/0x6)+parseInt(_0x41e54e(0x1b8))/0x7*(parseInt(_0x41e54e(0x1ab))/0x8)+-parseInt(_0x41e54e(0x1b2))/0x9*(-parseInt(_0x41e54e(0x1a7))/0xa)+-parseInt(_0x41e54e(0x1b0))/0xb*(parseInt(_0x41e54e(0x1af))/0xc);if(_0x559692===_0x38c209)break;else _0x5af09f['push'](_0x5af09f['shift']());}catch(_0x5e8835){_0x5af09f['push'](_0x5af09f['shift']());}}}(_0x27ee,0xabce4));import{IconError as _0x4261b0}from'ckeditor5/src/icons.js';import{View as _0x3bf49a,IconView as _0x37f69b}from'ckeditor5/src/ui.js';export default class st extends _0x3bf49a{constructor(_0x3ae8e2,_0x2f1110=''){const _0x3b0f27=_0x2f76;super(_0x3ae8e2);const _0x22688a=new _0x37f69b(),_0x3a1f58=this[_0x3b0f27(0x1aa)];this[_0x3b0f27(0x1ae)](_0x3b0f27(0x1b6),_0x2f1110),_0x22688a[_0x3b0f27(0x1ac)]=_0x4261b0,this[_0x3b0f27(0x1b5)]({'tag':_0x3b0f27(0x1a9),'attributes':{'class':['ck',_0x3b0f27(0x1a8)]},'children':[_0x22688a,{'text':_0x3a1f58['to'](_0x3b0f27(0x1b6))}]});}}function _0x27ee(){const _0x23d898=['text','710185ShcifX','7465759USNfoM','860934DoRuRM','9190OEdsch','ck-ai-form__error','div','bindTemplate','8KLxKvQ','content','5013iKfzgl','set','34062708koVGjt','11YxIrYf','160LuIzyq','12798pgSZjk','1089367BdrDXX','12VCJAuM','setTemplate'];_0x27ee=function(){return _0x23d898;};return _0x27ee();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ac996=_0x1a93;(function(_0x2c1ef5,_0x21ab87){const _0x4fe5b3=_0x1a93,_0x2ce5cc=_0x2c1ef5();while(!![]){try{const _0x53016a=parseInt(_0x4fe5b3(0xa7))/0x1+parseInt(_0x4fe5b3(0xb7))/0x2+parseInt(_0x4fe5b3(0xb1))/0x3+-parseInt(_0x4fe5b3(0x9e))/0x4*(-parseInt(_0x4fe5b3(0xac))/0x5)+-parseInt(_0x4fe5b3(0x89))/0x6+-parseInt(_0x4fe5b3(0x87))/0x7+parseInt(_0x4fe5b3(0x8c))/0x8*(-parseInt(_0x4fe5b3(0x8d))/0x9);if(_0x53016a===_0x21ab87)break;else _0x2ce5cc['push'](_0x2ce5cc['shift']());}catch(_0x43811b){_0x2ce5cc['push'](_0x2ce5cc['shift']());}}}(_0x296c,0x9e742));import{Rect as _0x352911,global as _0x283799,isVisible as _0x390d84}from'ckeditor5/src/utils.js';import{IconHistory as _0x51c504,IconSubmit as _0x56aab9}from'ckeditor5/src/icons.js';function _0x1a93(_0x3b5758,_0x2ad3a3){const _0x296c27=_0x296c();return _0x1a93=function(_0x1a93ae,_0x1e6977){_0x1a93ae=_0x1a93ae-0x85;let _0x2b6fd9=_0x296c27[_0x1a93ae];return _0x2b6fd9;},_0x1a93(_0x3b5758,_0x2ad3a3);}function _0x296c(){const _0x3853bd=['minRows','813783ZYtdDe','Submit','ck-ai-form__toggle-history','width','isVisible','75lPavGE','isEnabled','submitButtonView','_createShowHistoryButton','isOn','1003401YDBiwb','bind','resultsView','fire','execute','rtl','2329550mNFUSQ','style','left','target','submit','render','requestAnimationFrame','enter','showHistoryButtonView','1130094PAReJW','focusFirst','7044678ljgaXw','keystrokes','uiLanguageDirection','4168fehXgr','17811BaeXaJ','filteredView','add','ck-ai-form__submit','fieldWrapperChildren','window','element','children','update','focusCycler','focusLast','fieldView','locale','right','_createSubmitButton','focus','set','187364BqymNH','excludeScrollbarsAndBorders','isEmpty','maxRows','focusableChildren','History','value','queryView'];_0x296c=function(){return _0x3853bd;};return _0x296c();}import{AutocompleteView as _0x4fad1b,ButtonView as _0xfb9297}from'ckeditor5/src/ui.js';import{getTranslation as _0xf33d1d}from'../../utils/common-translations.js';export default class ct extends _0x4fad1b{[_0x5ac996(0xae)];[_0x5ac996(0x86)];constructor(_0x5ee122,_0x52e539){const _0x2f5920=_0x5ac996;super(_0x5ee122,_0x52e539),this[_0x2f5920(0xa5)][_0x2f5920(0x98)][_0x2f5920(0xa6)]=0x1,this[_0x2f5920(0xa5)][_0x2f5920(0x98)][_0x2f5920(0xa1)]=0x3,this[_0x2f5920(0xae)]=this[_0x2f5920(0x9b)](),this[_0x2f5920(0x86)]=this[_0x2f5920(0xaf)](),this[_0x2f5920(0xa2)][_0x2f5920(0x8f)](this[_0x2f5920(0x86)],0x1),this[_0x2f5920(0xa2)][_0x2f5920(0x8f)](this[_0x2f5920(0xae)]);}[_0x5ac996(0xbc)](){const _0x26d3e1=_0x5ac996;super[_0x26d3e1(0xbc)](),this[_0x26d3e1(0xa5)][_0x26d3e1(0x91)][_0x26d3e1(0x8f)](this[_0x26d3e1(0x86)]),this[_0x26d3e1(0x94)][_0x26d3e1(0x8f)](this[_0x26d3e1(0xae)]),this[_0x26d3e1(0x8a)][_0x26d3e1(0x9d)](_0x26d3e1(0x85),(_0x2f864f,_0x1666c0)=>{const _0x2ae7b8=_0x26d3e1;_0x2f864f[_0x2ae7b8(0xba)]==this[_0x2ae7b8(0xa5)][_0x2ae7b8(0x98)][_0x2ae7b8(0x93)]&&(this[_0x2ae7b8(0xbb)](),_0x1666c0());});}[_0x5ac996(0x9b)](){const _0x516432=_0x5ac996,_0x44651f=new _0xfb9297(this[_0x516432(0x99)]),_0x2a27f6=this[_0x516432(0x99)];return _0x44651f[_0x516432(0x9d)]({'icon':_0x56aab9,'label':_0xf33d1d(_0x2a27f6,_0x516432(0xa8)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x516432(0x90)}),_0x44651f['on'](_0x516432(0xb5),()=>{const _0x1c637b=_0x516432;this[_0x1c637b(0xbb)]();}),_0x44651f[_0x516432(0xb2)](_0x516432(0xad))['to'](this[_0x516432(0xa5)][_0x516432(0x98)],_0x516432(0xa0),this,_0x516432(0xad),(_0x1241e0,_0x1b3c7a)=>!_0x1241e0&&_0x1b3c7a),_0x44651f;}[_0x5ac996(0xaf)](){const _0x28c724=_0x5ac996,_0x4aabec=new _0xfb9297(this[_0x28c724(0x99)]),_0x4847e2=this[_0x28c724(0xb3)],_0x2c40ee=this[_0x28c724(0x99)];_0x4aabec[_0x28c724(0x9d)]({'label':_0xf33d1d(_0x2c40ee,_0x28c724(0xa3)),'withText':!0x1,'icon':_0x51c504,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x28c724(0xa9)}),_0x4aabec[_0x28c724(0xb2)](_0x28c724(0xb0))['to'](_0x4847e2,_0x28c724(0xab)),_0x4aabec[_0x28c724(0xb2)](_0x28c724(0xad))['to'](this,_0x28c724(0xad)),_0x4aabec['on'](_0x28c724(0xb5),()=>{const _0xfd288=_0x28c724;_0x4847e2[_0xfd288(0xab)]=!_0x4847e2[_0xfd288(0xab)],_0x4847e2[_0xfd288(0xab)]?this[_0xfd288(0x8e)][_0xfd288(0x9c)]():this[_0xfd288(0x9c)]();});const _0x1a108f=()=>{const _0x2de7d4=_0x28c724;_0x283799[_0x2de7d4(0x92)][_0x2de7d4(0xbd)](()=>{const _0xb0464a=_0x2de7d4;if(_0x390d84(this[_0xb0464a(0x93)])){const _0x55b284=new _0x352911(this[_0xb0464a(0xa5)][_0xb0464a(0x98)][_0xb0464a(0x93)]),_0x3dfe6f=_0x55b284[_0xb0464a(0xaa)],_0x214352=_0xb0464a(0xb6)===_0x2c40ee[_0xb0464a(0x8b)]?_0xb0464a(0xb9):_0xb0464a(0x9a);_0x55b284[_0xb0464a(0x9f)](),_0x4aabec[_0xb0464a(0x93)][_0xb0464a(0xb8)][_0x214352]=_0x3dfe6f-_0x55b284[_0xb0464a(0xaa)]+0x1+'px';}});};return this[_0x28c724(0xa5)][_0x28c724(0x98)]['on'](_0x28c724(0x95),_0x1a108f),this['on'](_0x28c724(0xbc),_0x1a108f),_0x4aabec;}[_0x5ac996(0xbb)](){const _0x38a009=_0x5ac996,_0x47fb06=this[_0x38a009(0xa5)][_0x38a009(0x98)][_0x38a009(0x93)][_0x38a009(0xa4)];this[_0x38a009(0xb4)](_0x38a009(0xbb),_0x47fb06);}[_0x5ac996(0x9c)](_0x51e7a9){const _0xc54bdc=_0x5ac996;-0x1===_0x51e7a9?this[_0xc54bdc(0x96)][_0xc54bdc(0x97)]():this[_0xc54bdc(0x96)][_0xc54bdc(0x88)]();}}
23
+ const _0x228f9b=_0x3a4e;(function(_0x24bf64,_0x4872f9){const _0x3e7f80=_0x3a4e,_0x5206d0=_0x24bf64();while(!![]){try{const _0x30dc88=-parseInt(_0x3e7f80(0x10a))/0x1*(-parseInt(_0x3e7f80(0x10f))/0x2)+parseInt(_0x3e7f80(0xe5))/0x3*(parseInt(_0x3e7f80(0x10d))/0x4)+parseInt(_0x3e7f80(0xec))/0x5*(-parseInt(_0x3e7f80(0x106))/0x6)+-parseInt(_0x3e7f80(0xe2))/0x7*(-parseInt(_0x3e7f80(0x109))/0x8)+-parseInt(_0x3e7f80(0x114))/0x9*(parseInt(_0x3e7f80(0xf9))/0xa)+parseInt(_0x3e7f80(0xf2))/0xb+-parseInt(_0x3e7f80(0x113))/0xc;if(_0x30dc88===_0x4872f9)break;else _0x5206d0['push'](_0x5206d0['shift']());}catch(_0x14c446){_0x5206d0['push'](_0x5206d0['shift']());}}}(_0x5412,0x20744));import{Rect as _0x26335e,global as _0x34edbc,isVisible as _0x24ecd1}from'ckeditor5/src/utils.js';function _0x3a4e(_0xb21ad9,_0x4b7584){const _0x541205=_0x5412();return _0x3a4e=function(_0x3a4eee,_0x3117a7){_0x3a4eee=_0x3a4eee-0xde;let _0xa6814=_0x541205[_0x3a4eee];return _0xa6814;},_0x3a4e(_0xb21ad9,_0x4b7584);}import{IconHistory as _0x3f9ecb,IconSubmit as _0x4ba72f}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x4a2439,ButtonView as _0x43530c}from'ckeditor5/src/ui.js';import{getTranslation as _0x239afe}from'../../utils/common-translations.js';export default class ct extends _0x4a2439{[_0x228f9b(0x103)];[_0x228f9b(0x10e)];constructor(_0x16d000,_0x2c6cd4){const _0x493e6c=_0x228f9b;super(_0x16d000,_0x2c6cd4),this[_0x493e6c(0xe6)][_0x493e6c(0x115)][_0x493e6c(0xed)]=0x1,this[_0x493e6c(0xe6)][_0x493e6c(0x115)][_0x493e6c(0xfe)]=0x3,this[_0x493e6c(0x103)]=this[_0x493e6c(0x112)](),this[_0x493e6c(0x10e)]=this[_0x493e6c(0xe4)](),this[_0x493e6c(0xee)][_0x493e6c(0xe0)](this[_0x493e6c(0x10e)],0x1),this[_0x493e6c(0xee)][_0x493e6c(0xe0)](this[_0x493e6c(0x103)]);}[_0x228f9b(0xde)](){const _0x482ed7=_0x228f9b;super[_0x482ed7(0xde)](),this[_0x482ed7(0xe6)][_0x482ed7(0x111)][_0x482ed7(0xe0)](this[_0x482ed7(0x10e)]),this[_0x482ed7(0x105)][_0x482ed7(0xe0)](this[_0x482ed7(0x103)]),this[_0x482ed7(0x101)][_0x482ed7(0x117)](_0x482ed7(0x10c),(_0x580b53,_0x1cf965)=>{const _0x36e3b7=_0x482ed7;_0x580b53[_0x36e3b7(0x104)]==this[_0x36e3b7(0xe6)][_0x36e3b7(0x115)][_0x36e3b7(0x100)]&&(this[_0x36e3b7(0xea)](),_0x1cf965());});}[_0x228f9b(0x112)](){const _0x4b203f=_0x228f9b,_0x1acbb3=new _0x43530c(this[_0x4b203f(0xf4)]),_0x528801=this[_0x4b203f(0xf4)];return _0x1acbb3[_0x4b203f(0x117)]({'icon':_0x4ba72f,'label':_0x239afe(_0x528801,_0x4b203f(0x102)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4b203f(0xff)}),_0x1acbb3['on'](_0x4b203f(0x10b),()=>{const _0x4aa4a6=_0x4b203f;this[_0x4aa4a6(0xea)]();}),_0x1acbb3[_0x4b203f(0xe7)](_0x4b203f(0xef))['to'](this[_0x4b203f(0xe6)][_0x4b203f(0x115)],_0x4b203f(0x116),this,_0x4b203f(0xef),(_0x2def88,_0x45883e)=>!_0x2def88&&_0x45883e),_0x1acbb3;}[_0x228f9b(0xe4)](){const _0x20cc80=_0x228f9b,_0x34a21d=new _0x43530c(this[_0x20cc80(0xf4)]),_0x513e5b=this[_0x20cc80(0xfa)],_0x141510=this[_0x20cc80(0xf4)];_0x34a21d[_0x20cc80(0x117)]({'label':_0x239afe(_0x141510,_0x20cc80(0x110)),'withText':!0x1,'icon':_0x3f9ecb,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x20cc80(0xe8)}),_0x34a21d[_0x20cc80(0xe7)](_0x20cc80(0xf8))['to'](_0x513e5b,_0x20cc80(0xe1)),_0x34a21d[_0x20cc80(0xe7)](_0x20cc80(0xef))['to'](this,_0x20cc80(0xef)),_0x34a21d['on'](_0x20cc80(0x10b),()=>{const _0x21cdf4=_0x20cc80;_0x513e5b[_0x21cdf4(0xe1)]=!_0x513e5b[_0x21cdf4(0xe1)],_0x513e5b[_0x21cdf4(0xe1)]?this[_0x21cdf4(0xe3)][_0x21cdf4(0xfd)]():this[_0x21cdf4(0xfd)]();});const _0x576429=()=>{const _0x5f9d80=_0x20cc80;_0x34edbc[_0x5f9d80(0x107)][_0x5f9d80(0xf1)](()=>{const _0x29db1f=_0x5f9d80;if(_0x24ecd1(this[_0x29db1f(0x100)])){const _0x576c59=new _0x26335e(this[_0x29db1f(0xe6)][_0x29db1f(0x115)][_0x29db1f(0x100)]),_0x4d876a=_0x576c59[_0x29db1f(0xf6)],_0x2d2139=_0x29db1f(0xf3)===_0x141510[_0x29db1f(0x119)]?_0x29db1f(0xdf):_0x29db1f(0xf0);_0x576c59[_0x29db1f(0x108)](),_0x34a21d[_0x29db1f(0x100)][_0x29db1f(0xf7)][_0x2d2139]=_0x4d876a-_0x576c59[_0x29db1f(0xf6)]+0x1+'px';}});};return this[_0x20cc80(0xe6)][_0x20cc80(0x115)]['on'](_0x20cc80(0xe9),_0x576429),this['on'](_0x20cc80(0xde),_0x576429),_0x34a21d;}[_0x228f9b(0xea)](){const _0x5a20a0=_0x228f9b,_0x2a127e=this[_0x5a20a0(0xe6)][_0x5a20a0(0x115)][_0x5a20a0(0x100)][_0x5a20a0(0xf5)];this[_0x5a20a0(0xfb)](_0x5a20a0(0xea),_0x2a127e);}[_0x228f9b(0xfd)](_0x4d017a){const _0x1ceb74=_0x228f9b;-0x1===_0x4d017a?this[_0x1ceb74(0xeb)][_0x1ceb74(0x118)]():this[_0x1ceb74(0xeb)][_0x1ceb74(0xfc)]();}}function _0x5412(){const _0x53ea50=['resultsView','fire','focusFirst','focus','maxRows','ck-ai-form__submit','element','keystrokes','Submit','submitButtonView','target','children','330fnXbTS','window','excludeScrollbarsAndBorders','136ZQKHrr','1vZRhIv','execute','enter','506708DfvSxl','showHistoryButtonView','298358NwccNR','History','fieldWrapperChildren','_createSubmitButton','2604216bBRLgp','63jHIIiS','fieldView','isEmpty','set','focusLast','uiLanguageDirection','render','left','add','isVisible','53263VNScKd','filteredView','_createShowHistoryButton','3rXOvFV','queryView','bind','ck-ai-form__toggle-history','update','submit','focusCycler','335RZnbaR','minRows','focusableChildren','isEnabled','right','requestAnimationFrame','519695ErnjfB','rtl','locale','value','width','style','isOn','141170QgNocZ'];_0x5412=function(){return _0x53ea50;};return _0x5412();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4515a6=_0x5ed4;(function(_0x5cfbcd,_0xc196cf){const _0x174cf3=_0x5ed4,_0x167050=_0x5cfbcd();while(!![]){try{const _0x3cb437=-parseInt(_0x174cf3(0xd2))/0x1*(parseInt(_0x174cf3(0xcf))/0x2)+parseInt(_0x174cf3(0xc3))/0x3+-parseInt(_0x174cf3(0xd1))/0x4*(-parseInt(_0x174cf3(0xc5))/0x5)+-parseInt(_0x174cf3(0xd4))/0x6*(-parseInt(_0x174cf3(0xba))/0x7)+parseInt(_0x174cf3(0xbd))/0x8*(-parseInt(_0x174cf3(0xcd))/0x9)+parseInt(_0x174cf3(0xc4))/0xa+parseInt(_0x174cf3(0xce))/0xb;if(_0x3cb437===_0xc196cf)break;else _0x167050['push'](_0x167050['shift']());}catch(_0xecb10d){_0x167050['push'](_0x167050['shift']());}}}(_0x1fd2,0x6390c));function _0x5ed4(_0x1595cc,_0x465d56){const _0x1fd27e=_0x1fd2();return _0x5ed4=function(_0x5ed4d2,_0x23f824){_0x5ed4d2=_0x5ed4d2-0xb5;let _0x1c99e7=_0x1fd27e[_0x5ed4d2];return _0x1c99e7;},_0x5ed4(_0x1595cc,_0x465d56);}import{ToolbarView as _0x3b7472,ButtonView as _0x3cb307}from'ckeditor5/src/ui.js';import{getTranslation as _0x290ae5}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4515a6(0xd5),'INSERT':_0x4515a6(0xd6)};export default class lt extends _0x3b7472{constructor(_0x2b33d5){const _0x58b92a=_0x4515a6;super(_0x2b33d5),this[_0x58b92a(0xda)](_0x58b92a(0xd3),!0x1),this[_0x58b92a(0xda)](_0x58b92a(0xb6),AIFormToolbarViewMainActionLabel[_0x58b92a(0xbb)]),this[_0x58b92a(0xcb)]=this[_0x58b92a(0xbc)]('',_0x58b92a(0xd8)),this[_0x58b92a(0xcb)][_0x58b92a(0xb7)](_0x58b92a(0xc2))['to'](this,_0x58b92a(0xb6),_0x59d2be=>_0x290ae5(_0x2b33d5,_0x58b92a(0xd0)+_0x59d2be[_0x58b92a(0xd9)]()+_0x58b92a(0xc9))),this[_0x58b92a(0xb8)]=this[_0x58b92a(0xbc)](_0x290ae5(_0x2b33d5,_0x58b92a(0xb9))),this[_0x58b92a(0xc6)]=this[_0x58b92a(0xbc)](_0x290ae5(_0x2b33d5,_0x58b92a(0xcc))),this[_0x58b92a(0xc8)]=this[_0x58b92a(0xbc)](_0x290ae5(_0x2b33d5,_0x58b92a(0xd7)));const _0x2b242e=this[_0x58b92a(0xbf)];this[_0x58b92a(0xc0)]({'attributes':{'class':[_0x58b92a(0xca),_0x2b242e['if'](_0x58b92a(0xd3),_0x58b92a(0xc1),_0x5863c4=>!_0x5863c4)]}}),this[_0x58b92a(0xbe)][_0x58b92a(0xc7)]([this[_0x58b92a(0xcb)],this[_0x58b92a(0xb8)],this[_0x58b92a(0xc6)],this[_0x58b92a(0xc8)]]);}[_0x4515a6(0xbc)](_0x3501f7,_0x2a5be0){const _0x48dae6=_0x4515a6,_0x4d6b23=new _0x3cb307(this[_0x48dae6(0xb5)]);return _0x4d6b23[_0x48dae6(0xda)]({'label':_0x3501f7,'class':_0x2a5be0||'','isVisible':!0x0,'withText':!0x0}),_0x4d6b23;}}function _0x1fd2(){const _0x4e928a=['AI_','4eFLNzN','1CLygjd','isVisible','6vNGlYz','replace','insert','Stop','ck-button-action','toUpperCase','set','locale','mainAction','bind','insertButton','Insert\x20below','1611323BiFIjJ','REPLACE','_createButton','80832TDPVVI','items','bindTemplate','extendTemplate','ck-hidden','label','801516pwywlE','3560570DaqFQv','1772410ARguRw','tryAgainButton','addMany','stopButton','_CONTENT','ck-ai-form__toolbar','replaceButton','Try\x20again','495iSMwSl','380094BLbrCD','557828cFbGtY'];_0x1fd2=function(){return _0x4e928a;};return _0x1fd2();}
23
+ const _0x3fd91c=_0x510c;(function(_0xdec91f,_0x346802){const _0xd2d62c=_0x510c,_0x2fbc41=_0xdec91f();while(!![]){try{const _0x2cf651=parseInt(_0xd2d62c(0xb8))/0x1+parseInt(_0xd2d62c(0xc9))/0x2+parseInt(_0xd2d62c(0xba))/0x3*(parseInt(_0xd2d62c(0xb7))/0x4)+parseInt(_0xd2d62c(0xcd))/0x5+-parseInt(_0xd2d62c(0xbd))/0x6*(parseInt(_0xd2d62c(0xc0))/0x7)+-parseInt(_0xd2d62c(0xd0))/0x8*(-parseInt(_0xd2d62c(0xc3))/0x9)+-parseInt(_0xd2d62c(0xbe))/0xa;if(_0x2cf651===_0x346802)break;else _0x2fbc41['push'](_0x2fbc41['shift']());}catch(_0x48c55f){_0x2fbc41['push'](_0x2fbc41['shift']());}}}(_0x44ed,0xe5654));import{ToolbarView as _0x227b61,ButtonView as _0x2edd7c}from'ckeditor5/src/ui.js';function _0x510c(_0x301870,_0x10ab39){const _0x44edee=_0x44ed();return _0x510c=function(_0x510c0d,_0x265f72){_0x510c0d=_0x510c0d-0xae;let _0x18b4c2=_0x44edee[_0x510c0d];return _0x18b4c2;},_0x510c(_0x301870,_0x10ab39);}import{getTranslation as _0x1a420d}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3fd91c(0xcb),'INSERT':_0x3fd91c(0xc4)};function _0x44ed(){const _0x30d2c2=['replace','label','8727565QdCtas','mainAction','items','5587808mHAFpC','isVisible','Stop','ck-ai-form__toolbar','ck-button-action','insertButton','Try\x20again','bind','REPLACE','tryAgainButton','_CONTENT','bindTemplate','48OnPMBL','1343800WpBxuR','extendTemplate','14052Nfjleq','ck-hidden','set','42gjGIQr','47881050XasZGx','locale','80353GUJIjb','replaceButton','toUpperCase','18SXZDXr','insert','AI_','addMany','_createButton','stopButton','2531178ufKzFN','Insert\x20below'];_0x44ed=function(){return _0x30d2c2;};return _0x44ed();}export default class lt extends _0x227b61{constructor(_0x5c0826){const _0x20e111=_0x3fd91c;super(_0x5c0826),this[_0x20e111(0xbc)](_0x20e111(0xd1),!0x1),this[_0x20e111(0xbc)](_0x20e111(0xce),AIFormToolbarViewMainActionLabel[_0x20e111(0xb3)]),this[_0x20e111(0xc1)]=this[_0x20e111(0xc7)]('',_0x20e111(0xaf)),this[_0x20e111(0xc1)][_0x20e111(0xb2)](_0x20e111(0xcc))['to'](this,_0x20e111(0xce),_0x148831=>_0x1a420d(_0x5c0826,_0x20e111(0xc5)+_0x148831[_0x20e111(0xc2)]()+_0x20e111(0xb5))),this[_0x20e111(0xb0)]=this[_0x20e111(0xc7)](_0x1a420d(_0x5c0826,_0x20e111(0xca))),this[_0x20e111(0xb4)]=this[_0x20e111(0xc7)](_0x1a420d(_0x5c0826,_0x20e111(0xb1))),this[_0x20e111(0xc8)]=this[_0x20e111(0xc7)](_0x1a420d(_0x5c0826,_0x20e111(0xd2)));const _0x448887=this[_0x20e111(0xb6)];this[_0x20e111(0xb9)]({'attributes':{'class':[_0x20e111(0xae),_0x448887['if'](_0x20e111(0xd1),_0x20e111(0xbb),_0x5f0e8f=>!_0x5f0e8f)]}}),this[_0x20e111(0xcf)][_0x20e111(0xc6)]([this[_0x20e111(0xc1)],this[_0x20e111(0xb0)],this[_0x20e111(0xb4)],this[_0x20e111(0xc8)]]);}[_0x3fd91c(0xc7)](_0x43c913,_0x22d514){const _0x34c49f=_0x3fd91c,_0x184151=new _0x2edd7c(this[_0x34c49f(0xbf)]);return _0x184151[_0x34c49f(0xbc)]({'label':_0x43c913,'class':_0x22d514||'','isVisible':!0x0,'withText':!0x0}),_0x184151;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9d5ba1=_0x3da3;(function(_0xd2b7fc,_0x35c127){const _0x591079=_0x3da3,_0x102546=_0xd2b7fc();while(!![]){try{const _0x5217e4=parseInt(_0x591079(0x105))/0x1*(-parseInt(_0x591079(0xc6))/0x2)+-parseInt(_0x591079(0xee))/0x3+-parseInt(_0x591079(0xe0))/0x4*(parseInt(_0x591079(0xe9))/0x5)+-parseInt(_0x591079(0x11a))/0x6*(-parseInt(_0x591079(0xfd))/0x7)+parseInt(_0x591079(0xf3))/0x8+-parseInt(_0x591079(0xca))/0x9*(parseInt(_0x591079(0xd2))/0xa)+parseInt(_0x591079(0x10e))/0xb;if(_0x5217e4===_0x35c127)break;else _0x102546['push'](_0x102546['shift']());}catch(_0x22c105){_0x102546['push'](_0x102546['shift']());}}}(_0x1381,0x58719));import{FocusTracker as _0x51fa06,KeystrokeHandler as _0x16777a}from'ckeditor5/src/utils.js';import{View as _0xc5f05b,FocusCycler as _0x1e2df2,createLabeledTextarea as _0x2ed358}from'ckeditor5/src/ui.js';import _0x157fa5,{AIFormToolbarViewMainActionLabel as _0x214ac7}from'./aiformtoolbarview.js';import _0x506511 from'./aiformcontentarea.js';function _0x1381(){const _0x3c112d=['add','clear','render','search','686416AaKEhk','shift\x20+\x20tab','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','submitPrompt','ck-hidden','stopButton','isError','clearHistory','REPLACE','focusTracker','4682307jUXiLr','listenTo','focusLast','tryAgainButton','historyGroupView','tryAgainEvent','div','setTemplate','211eTRRUG','stopProcessing','replaceButton','_createHistoryView','set','delegate','text','finishProcessing','_promptHistory','13713392NiAxmy','fieldView','bindTo','mainAction','copyButtonView','focusFirst','fire','bind','Ask\x20AI\x20to\x20improve\x20generated\x20text','items','insertContentBelow','startProcessing','6LETyWr','handleError','2006alIfuL','element','value','high','117918aRKZNu','ck-ai-form-content','_createToolbar','label','isEnabled','trim','chain','errorView','330xYJkmY','isProcessing','replaceContent','ck-ai-form','createCollection','focus','reset','promptView','Ask\x20AI\x20to\x20edit\x20or\x20generate','prompt','isVisible','toolbar','keystrokes','focusCycler','2484380VuDnAQ','Empty\x20history','insertButton','_focusables','_createPromptView','submit','contentArea','queryView','bindTemplate','5rznmsD','AI_ERROR_FAILED','execute','locale','tab','1122048ueIZUP'];_0x1381=function(){return _0x3c112d;};return _0x1381();}import _0x3025b7 from'./aiformerrorview.js';import _0x2343d5 from'./aiformpromptview.js';import _0x4dbc15 from'./aihistorylistview.js';import _0x5cf1b0 from'./aihistorylistitemview.js';import _0x453884 from'./prompthistory.js';function _0x3da3(_0xac7a2f,_0x11ffd4){const _0x138126=_0x1381();return _0x3da3=function(_0x3da38a,_0x43a598){_0x3da38a=_0x3da38a-0xc5;let _0x569d21=_0x138126[_0x3da38a];return _0x569d21;},_0x3da3(_0xac7a2f,_0x11ffd4);}import{getTranslation as _0x525476}from'../../utils/common-translations.js';import{escape as _0x58844d}from'es-toolkit/compat';export default class _ extends _0xc5f05b{[_0x9d5ba1(0xfc)];[_0x9d5ba1(0xde)];[_0x9d5ba1(0xe6)];[_0x9d5ba1(0xdd)];[_0x9d5ba1(0xd9)];[_0x9d5ba1(0xd1)];[_0x9d5ba1(0xe3)];[_0x9d5ba1(0xdf)];[_0x9d5ba1(0x10d)];constructor(_0x5b370,_0x4bd448,_0x120207=''){const _0x30c36f=_0x9d5ba1;super(_0x5b370),this[_0x30c36f(0x109)](_0x30c36f(0xce),!0x0),this[_0x30c36f(0x109)](_0x30c36f(0xd3),!0x1),this[_0x30c36f(0x109)](_0x30c36f(0xdb),''),this[_0x30c36f(0x109)](_0x30c36f(0xc8),''),this[_0x30c36f(0x109)](_0x30c36f(0xf9),!0x1),this[_0x30c36f(0x109)](_0x30c36f(0x111),_0x214ac7[_0x30c36f(0xfb)]),this[_0x30c36f(0x10d)]=new _0x453884(),this[_0x30c36f(0xd1)]=new _0x3025b7(_0x5b370),this[_0x30c36f(0xe6)]=new _0x506511(_0x5b370,_0x120207),this[_0x30c36f(0xe6)][_0x30c36f(0x115)](_0x30c36f(0xd3))['to'](this),this[_0x30c36f(0xe6)][_0x30c36f(0x115)](_0x30c36f(0xc8))['to'](this),this[_0x30c36f(0xdd)]=this[_0x30c36f(0xcc)](),this[_0x30c36f(0xdd)][_0x30c36f(0x115)](_0x30c36f(0x111))['to'](this),this[_0x30c36f(0xd9)]=this[_0x30c36f(0xe4)](),this[_0x30c36f(0xfc)]=new _0x51fa06(),this[_0x30c36f(0xde)]=new _0x16777a(),this[_0x30c36f(0xe3)]=this[_0x30c36f(0xd6)]([this[_0x30c36f(0xe6)],this[_0x30c36f(0xe6)][_0x30c36f(0x112)],this[_0x30c36f(0xdd)],this[_0x30c36f(0xd9)]]),this[_0x30c36f(0xdf)]=new _0x1e2df2({'focusables':this[_0x30c36f(0xe3)],'focusTracker':this[_0x30c36f(0xfc)],'keystrokeHandler':this[_0x30c36f(0xde)],'actions':{'focusPrevious':_0x30c36f(0xf4),'focusNext':_0x30c36f(0xed)}}),this[_0x30c36f(0xdf)][_0x30c36f(0xd0)](this[_0x30c36f(0xd9)][_0x30c36f(0xdf)]),this[_0x30c36f(0xd9)][_0x30c36f(0xe7)][_0x30c36f(0x10f)][_0x30c36f(0x115)](_0x30c36f(0xc8))['to'](this,_0x30c36f(0xdb));const _0x51570c=this[_0x30c36f(0xe8)];this[_0x30c36f(0x104)]({'tag':_0x30c36f(0x103),'attributes':{'class':['ck',_0x30c36f(0xd5),_0x4bd448],'tabindex':'-1'},'children':[{'tag':_0x30c36f(0x103),'attributes':{'class':['ck',_0x30c36f(0xcb)]},'children':[{'tag':_0x30c36f(0x103),'attributes':{'class':[_0x51570c['if'](_0x30c36f(0xf9),_0x30c36f(0xf7),_0x45879c=>!_0x45879c)]},'children':[this[_0x30c36f(0xd1)]]},this[_0x30c36f(0xe6)],this[_0x30c36f(0xdd)],this[_0x30c36f(0xd9)]]}]});}[_0x9d5ba1(0xf1)](){const _0x256884=_0x9d5ba1;super[_0x256884(0xf1)](),this[_0x256884(0xfc)][_0x256884(0xef)](this[_0x256884(0xe6)][_0x256884(0xc7)]),this[_0x256884(0xfc)][_0x256884(0xef)](this[_0x256884(0xe6)][_0x256884(0x112)][_0x256884(0xc7)]),this[_0x256884(0xfc)][_0x256884(0xef)](this[_0x256884(0xdd)][_0x256884(0xc7)]),this[_0x256884(0xfc)][_0x256884(0xef)](this[_0x256884(0xd9)][_0x256884(0xc7)]),this[_0x256884(0xde)][_0x256884(0xfe)](this[_0x256884(0xc7)]);}[_0x9d5ba1(0xd7)](_0x2fad12=0x1){const _0x183ee7=_0x9d5ba1;-0x1===_0x2fad12?this[_0x183ee7(0xdf)][_0x183ee7(0xff)]():this[_0x183ee7(0xdf)][_0x183ee7(0x113)]();}[_0x9d5ba1(0xd8)](){const _0xa05874=_0x9d5ba1;this[_0xa05874(0xdb)]='',this[_0xa05874(0xc8)]='',this[_0xa05874(0xf9)]=!0x1,this[_0xa05874(0xd9)][_0xa05874(0xd8)](),this[_0xa05874(0xe6)][_0xa05874(0xdc)]=!0x1,this[_0xa05874(0xdd)][_0xa05874(0xdc)]=!0x1;}[_0x9d5ba1(0xe4)](){const _0x5b22b1=_0x9d5ba1,_0x47f3c8=this[_0x5b22b1(0xec)],_0x464b43=new _0x2343d5(_0x47f3c8,{'queryView':{'label':_0x525476(_0x47f3c8,_0x5b22b1(0xda)),'creator':_0x2ed358,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x525476(_0x47f3c8,_0x5b22b1(0xe1)),'secondary':_0x525476(_0x47f3c8,_0x5b22b1(0xf5))}}},'filteredView':this[_0x5b22b1(0x108)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x464b43[_0x5b22b1(0x115)](_0x5b22b1(0xce))['to'](this,_0x5b22b1(0xce),this,_0x5b22b1(0xd3),(_0x553406,_0x5b7b9d)=>_0x553406&&!_0x5b7b9d),this[_0x5b22b1(0xfe)](_0x464b43,_0x5b22b1(0xe5),(_0x357ede,_0xe297c)=>{const _0x866d7f=_0x5b22b1;this[_0x866d7f(0xdb)]=_0xe297c;const _0x4a8edd=_0x58844d(_0xe297c);this[_0x866d7f(0x114)](_0x866d7f(0xf6),_0x4a8edd),_0xe297c[_0x866d7f(0xcf)]()&&this[_0x866d7f(0x10d)][_0x866d7f(0xef)]({'prompt':_0x4a8edd},0x0);},{'priority':_0x5b22b1(0xc9)}),_0x464b43;}[_0x9d5ba1(0x108)](){const _0x13e423=_0x9d5ba1,_0x6f2017=new _0x4dbc15(this[_0x13e423(0xec)]);return _0x6f2017[_0x13e423(0x101)][_0x13e423(0x117)][_0x13e423(0x110)](this[_0x13e423(0x10d)])['as'](_0x5cf1b0),_0x6f2017['on'](_0x13e423(0xfa),()=>{const _0x261672=_0x13e423;this[_0x261672(0x10d)][_0x261672(0xf0)](),this[_0x261672(0xd9)][_0x261672(0xf2)](''),this[_0x261672(0xd9)][_0x261672(0xd7)]();}),_0x6f2017;}[_0x9d5ba1(0xcc)](){const _0x43c424=_0x9d5ba1,_0x3e2d03=new _0x157fa5(this[_0x43c424(0xec)]);return _0x3e2d03[_0x43c424(0x107)][_0x43c424(0x115)](_0x43c424(0xce))['to'](this,_0x43c424(0xce),this,_0x43c424(0xd3),this,_0x43c424(0xc8),(_0xa7591a,_0x5a7e08,_0x517468)=>_0xa7591a&&!_0x5a7e08&&!!_0x517468),_0x3e2d03[_0x43c424(0x107)][_0x43c424(0x10a)](_0x43c424(0xeb))['to'](this,_0x43c424(0xd4)),_0x3e2d03[_0x43c424(0xe2)][_0x43c424(0x115)](_0x43c424(0xce))['to'](this,_0x43c424(0xce),this,_0x43c424(0xd3),this,_0x43c424(0xc8),(_0x2e504a,_0x34210b,_0x12deab)=>_0x2e504a&&!_0x34210b&&!!_0x12deab),_0x3e2d03[_0x43c424(0xe2)][_0x43c424(0x10a)](_0x43c424(0xeb))['to'](this,_0x43c424(0x118)),_0x3e2d03[_0x43c424(0x100)][_0x43c424(0x115)](_0x43c424(0xce))['to'](this,_0x43c424(0xce),this,_0x43c424(0xd3),(_0x100cdc,_0x2fd090)=>_0x100cdc&&!_0x2fd090),_0x3e2d03[_0x43c424(0x100)][_0x43c424(0x10a)](_0x43c424(0xeb))['to'](this,_0x43c424(0x102)),_0x3e2d03[_0x43c424(0xf8)][_0x43c424(0x115)](_0x43c424(0xce))['to'](this,_0x43c424(0xd3)),_0x3e2d03[_0x43c424(0xf8)][_0x43c424(0x10a)](_0x43c424(0xeb))['to'](this,_0x43c424(0x106)),_0x3e2d03;}[_0x9d5ba1(0x119)](){const _0x72a226=_0x9d5ba1;this[_0x72a226(0xc8)]='',this[_0x72a226(0xf9)]=!0x1,this[_0x72a226(0xd3)]=!0x0,this[_0x72a226(0xe6)][_0x72a226(0xdc)]=!0x0,this[_0x72a226(0xdd)][_0x72a226(0xdc)]=!0x0,this[_0x72a226(0xe6)][_0x72a226(0xd7)]();}[_0x9d5ba1(0x10c)](){const _0x1427c7=_0x9d5ba1,_0x4963b3=this[_0x1427c7(0xec)];this[_0x1427c7(0xd3)]=!0x1,this[_0x1427c7(0xdb)]='',this[_0x1427c7(0xd9)][_0x1427c7(0xd8)](),this[_0x1427c7(0xc8)]&&(this[_0x1427c7(0xd9)][_0x1427c7(0xe7)][_0x1427c7(0xcd)]=_0x525476(_0x4963b3,_0x1427c7(0x116)));}[_0x9d5ba1(0xc5)](_0x4d497a){const _0x9ad7a5=_0x9d5ba1,_0x5bca97=this[_0x9ad7a5(0xec)];this[_0x9ad7a5(0x10c)](),this[_0x9ad7a5(0xf9)]=!0x0,this[_0x9ad7a5(0xd1)][_0x9ad7a5(0x10b)]=_0x4d497a||_0x525476(_0x5bca97,_0x9ad7a5(0xea)),this[_0x9ad7a5(0xc8)]||(this[_0x9ad7a5(0xe6)][_0x9ad7a5(0xdc)]=!0x1);}}
23
+ const _0xe6e6a7=_0x5aa5;(function(_0x1d6269,_0x53d32a){const _0x3f9fa5=_0x5aa5,_0x55d723=_0x1d6269();while(!![]){try{const _0x44536e=parseInt(_0x3f9fa5(0xcd))/0x1*(-parseInt(_0x3f9fa5(0xfb))/0x2)+-parseInt(_0x3f9fa5(0xd0))/0x3+-parseInt(_0x3f9fa5(0x10c))/0x4*(parseInt(_0x3f9fa5(0x107))/0x5)+parseInt(_0x3f9fa5(0x10a))/0x6+parseInt(_0x3f9fa5(0x100))/0x7*(-parseInt(_0x3f9fa5(0xcf))/0x8)+-parseInt(_0x3f9fa5(0x11a))/0x9*(-parseInt(_0x3f9fa5(0xe9))/0xa)+-parseInt(_0x3f9fa5(0x109))/0xb*(-parseInt(_0x3f9fa5(0xf1))/0xc);if(_0x44536e===_0x53d32a)break;else _0x55d723['push'](_0x55d723['shift']());}catch(_0x2c8500){_0x55d723['push'](_0x55d723['shift']());}}}(_0xc16e,0xbd327));import{FocusTracker as _0x40c251,KeystrokeHandler as _0x5bbabd}from'ckeditor5/src/utils.js';import{View as _0x743d5e,FocusCycler as _0x2a2543,createLabeledTextarea as _0x1c638e}from'ckeditor5/src/ui.js';import _0x3f8aa0,{AIFormToolbarViewMainActionLabel as _0x1f4b26}from'./aiformtoolbarview.js';import _0x196e0b from'./aiformcontentarea.js';import _0x5ca024 from'./aiformerrorview.js';import _0x486fd from'./aiformpromptview.js';function _0xc16e(){const _0x16fcdd=['bindTemplate','createCollection','submitPrompt','ck-ai-form','value','bind','30kxqJOA','insertButton','focusCycler','clearHistory','clear','isProcessing','contentArea','locale','33861336BBZuYG','ck-ai-form-content','mainAction','AI_ERROR_FAILED','Ask\x20AI\x20to\x20improve\x20generated\x20text','keystrokes','errorView','render','items','stopButton','278usHBVE','Empty\x20history','_createHistoryView','delegate','promptView','7114170oaSvpn','toolbar','queryView','focusLast','focusTracker','stopProcessing','isEnabled','2545995nETxgZ','shift\x20+\x20tab','11kVOOna','6093480lejfqv','trim','12yUezPt','replaceButton','add','handleError','high','historyGroupView','chain','element','REPLACE','fire','startProcessing','_promptHistory','div','search','703431fgAFjK','copyButtonView','fieldView','prompt','_createPromptView','finishProcessing','tab','focusFirst','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isVisible','371acFCxB','Ask\x20AI\x20to\x20edit\x20or\x20generate','8NpZyYl','2104224dvDAUE','reset','isError','submit','listenTo','tryAgainEvent','_focusables','text','bindTo','execute','ck-hidden','label','setTemplate','_createToolbar','set','tryAgainButton','focus','insertContentBelow','replaceContent'];_0xc16e=function(){return _0x16fcdd;};return _0xc16e();}function _0x5aa5(_0x43197d,_0x185e17){const _0xc16e29=_0xc16e();return _0x5aa5=function(_0x5aa5ce,_0x306a35){_0x5aa5ce=_0x5aa5ce-0xcd;let _0x5662b1=_0xc16e29[_0x5aa5ce];return _0x5662b1;},_0x5aa5(_0x43197d,_0x185e17);}import _0x266bcd from'./aihistorylistview.js';import _0x10eed6 from'./aihistorylistitemview.js';import _0x5df3ac from'./prompthistory.js';import{getTranslation as _0x1a73f1}from'../../utils/common-translations.js';import{escape as _0x359054}from'es-toolkit/compat';export default class _ extends _0x743d5e{[_0xe6e6a7(0x104)];[_0xe6e6a7(0xf6)];[_0xe6e6a7(0xef)];[_0xe6e6a7(0x101)];[_0xe6e6a7(0xff)];[_0xe6e6a7(0xf7)];[_0xe6e6a7(0xd6)];[_0xe6e6a7(0xeb)];[_0xe6e6a7(0x117)];constructor(_0x57bba8,_0xda0ef7,_0x39c1b2=''){const _0x37c108=_0xe6e6a7;super(_0x57bba8),this[_0x37c108(0xde)](_0x37c108(0x106),!0x0),this[_0x37c108(0xde)](_0x37c108(0xee),!0x1),this[_0x37c108(0xde)](_0x37c108(0x11d),''),this[_0x37c108(0xde)](_0x37c108(0xe7),''),this[_0x37c108(0xde)](_0x37c108(0xd2),!0x1),this[_0x37c108(0xde)](_0x37c108(0xf3),_0x1f4b26[_0x37c108(0x114)]),this[_0x37c108(0x117)]=new _0x5df3ac(),this[_0x37c108(0xf7)]=new _0x5ca024(_0x57bba8),this[_0x37c108(0xef)]=new _0x196e0b(_0x57bba8,_0x39c1b2),this[_0x37c108(0xef)][_0x37c108(0xe8)](_0x37c108(0xee))['to'](this),this[_0x37c108(0xef)][_0x37c108(0xe8)](_0x37c108(0xe7))['to'](this),this[_0x37c108(0x101)]=this[_0x37c108(0xdd)](),this[_0x37c108(0x101)][_0x37c108(0xe8)](_0x37c108(0xf3))['to'](this),this[_0x37c108(0xff)]=this[_0x37c108(0x11e)](),this[_0x37c108(0x104)]=new _0x40c251(),this[_0x37c108(0xf6)]=new _0x5bbabd(),this[_0x37c108(0xd6)]=this[_0x37c108(0xe4)]([this[_0x37c108(0xef)],this[_0x37c108(0xef)][_0x37c108(0x11b)],this[_0x37c108(0x101)],this[_0x37c108(0xff)]]),this[_0x37c108(0xeb)]=new _0x2a2543({'focusables':this[_0x37c108(0xd6)],'focusTracker':this[_0x37c108(0x104)],'keystrokeHandler':this[_0x37c108(0xf6)],'actions':{'focusPrevious':_0x37c108(0x108),'focusNext':_0x37c108(0x120)}}),this[_0x37c108(0xeb)][_0x37c108(0x112)](this[_0x37c108(0xff)][_0x37c108(0xeb)]),this[_0x37c108(0xff)][_0x37c108(0x102)][_0x37c108(0x11c)][_0x37c108(0xe8)](_0x37c108(0xe7))['to'](this,_0x37c108(0x11d));const _0x4f0555=this[_0x37c108(0xe3)];this[_0x37c108(0xdc)]({'tag':_0x37c108(0x118),'attributes':{'class':['ck',_0x37c108(0xe6),_0xda0ef7],'tabindex':'-1'},'children':[{'tag':_0x37c108(0x118),'attributes':{'class':['ck',_0x37c108(0xf2)]},'children':[{'tag':_0x37c108(0x118),'attributes':{'class':[_0x4f0555['if'](_0x37c108(0xd2),_0x37c108(0xda),_0x58cda7=>!_0x58cda7)]},'children':[this[_0x37c108(0xf7)]]},this[_0x37c108(0xef)],this[_0x37c108(0x101)],this[_0x37c108(0xff)]]}]});}[_0xe6e6a7(0xf8)](){const _0x474862=_0xe6e6a7;super[_0x474862(0xf8)](),this[_0x474862(0x104)][_0x474862(0x10e)](this[_0x474862(0xef)][_0x474862(0x113)]),this[_0x474862(0x104)][_0x474862(0x10e)](this[_0x474862(0xef)][_0x474862(0x11b)][_0x474862(0x113)]),this[_0x474862(0x104)][_0x474862(0x10e)](this[_0x474862(0x101)][_0x474862(0x113)]),this[_0x474862(0x104)][_0x474862(0x10e)](this[_0x474862(0xff)][_0x474862(0x113)]),this[_0x474862(0xf6)][_0x474862(0xd4)](this[_0x474862(0x113)]);}[_0xe6e6a7(0xe0)](_0x40d8e6=0x1){const _0x56c701=_0xe6e6a7;-0x1===_0x40d8e6?this[_0x56c701(0xeb)][_0x56c701(0x103)]():this[_0x56c701(0xeb)][_0x56c701(0x121)]();}[_0xe6e6a7(0xd1)](){const _0x4d8264=_0xe6e6a7;this[_0x4d8264(0x11d)]='',this[_0x4d8264(0xe7)]='',this[_0x4d8264(0xd2)]=!0x1,this[_0x4d8264(0xff)][_0x4d8264(0xd1)](),this[_0x4d8264(0xef)][_0x4d8264(0x123)]=!0x1,this[_0x4d8264(0x101)][_0x4d8264(0x123)]=!0x1;}[_0xe6e6a7(0x11e)](){const _0x135f97=_0xe6e6a7,_0x1c2706=this[_0x135f97(0xf0)],_0x458673=new _0x486fd(_0x1c2706,{'queryView':{'label':_0x1a73f1(_0x1c2706,_0x135f97(0xce)),'creator':_0x1c638e,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1a73f1(_0x1c2706,_0x135f97(0xfc)),'secondary':_0x1a73f1(_0x1c2706,_0x135f97(0x122))}}},'filteredView':this[_0x135f97(0xfd)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x458673[_0x135f97(0xe8)](_0x135f97(0x106))['to'](this,_0x135f97(0x106),this,_0x135f97(0xee),(_0x26e649,_0x3b8566)=>_0x26e649&&!_0x3b8566),this[_0x135f97(0xd4)](_0x458673,_0x135f97(0xd3),(_0x48fe94,_0x454983)=>{const _0x8adaab=_0x135f97;this[_0x8adaab(0x11d)]=_0x454983;const _0x3a51d1=_0x359054(_0x454983);this[_0x8adaab(0x115)](_0x8adaab(0xe5),_0x3a51d1),_0x454983[_0x8adaab(0x10b)]()&&this[_0x8adaab(0x117)][_0x8adaab(0x10e)]({'prompt':_0x3a51d1},0x0);},{'priority':_0x135f97(0x110)}),_0x458673;}[_0xe6e6a7(0xfd)](){const _0x406132=_0xe6e6a7,_0x1d8842=new _0x266bcd(this[_0x406132(0xf0)]);return _0x1d8842[_0x406132(0x111)][_0x406132(0xf9)][_0x406132(0xd8)](this[_0x406132(0x117)])['as'](_0x10eed6),_0x1d8842['on'](_0x406132(0xec),()=>{const _0x5c24b7=_0x406132;this[_0x5c24b7(0x117)][_0x5c24b7(0xed)](),this[_0x5c24b7(0xff)][_0x5c24b7(0x119)](''),this[_0x5c24b7(0xff)][_0x5c24b7(0xe0)]();}),_0x1d8842;}[_0xe6e6a7(0xdd)](){const _0x1c3f26=_0xe6e6a7,_0x363b12=new _0x3f8aa0(this[_0x1c3f26(0xf0)]);return _0x363b12[_0x1c3f26(0x10d)][_0x1c3f26(0xe8)](_0x1c3f26(0x106))['to'](this,_0x1c3f26(0x106),this,_0x1c3f26(0xee),this,_0x1c3f26(0xe7),(_0x192411,_0x5cee44,_0x12f427)=>_0x192411&&!_0x5cee44&&!!_0x12f427),_0x363b12[_0x1c3f26(0x10d)][_0x1c3f26(0xfe)](_0x1c3f26(0xd9))['to'](this,_0x1c3f26(0xe2)),_0x363b12[_0x1c3f26(0xea)][_0x1c3f26(0xe8)](_0x1c3f26(0x106))['to'](this,_0x1c3f26(0x106),this,_0x1c3f26(0xee),this,_0x1c3f26(0xe7),(_0x71aab9,_0x35a5ff,_0x391d5d)=>_0x71aab9&&!_0x35a5ff&&!!_0x391d5d),_0x363b12[_0x1c3f26(0xea)][_0x1c3f26(0xfe)](_0x1c3f26(0xd9))['to'](this,_0x1c3f26(0xe1)),_0x363b12[_0x1c3f26(0xdf)][_0x1c3f26(0xe8)](_0x1c3f26(0x106))['to'](this,_0x1c3f26(0x106),this,_0x1c3f26(0xee),(_0x400f13,_0x4c1108)=>_0x400f13&&!_0x4c1108),_0x363b12[_0x1c3f26(0xdf)][_0x1c3f26(0xfe)](_0x1c3f26(0xd9))['to'](this,_0x1c3f26(0xd5)),_0x363b12[_0x1c3f26(0xfa)][_0x1c3f26(0xe8)](_0x1c3f26(0x106))['to'](this,_0x1c3f26(0xee)),_0x363b12[_0x1c3f26(0xfa)][_0x1c3f26(0xfe)](_0x1c3f26(0xd9))['to'](this,_0x1c3f26(0x105)),_0x363b12;}[_0xe6e6a7(0x116)](){const _0x467366=_0xe6e6a7;this[_0x467366(0xe7)]='',this[_0x467366(0xd2)]=!0x1,this[_0x467366(0xee)]=!0x0,this[_0x467366(0xef)][_0x467366(0x123)]=!0x0,this[_0x467366(0x101)][_0x467366(0x123)]=!0x0,this[_0x467366(0xef)][_0x467366(0xe0)]();}[_0xe6e6a7(0x11f)](){const _0x2b4f77=_0xe6e6a7,_0x2cc390=this[_0x2b4f77(0xf0)];this[_0x2b4f77(0xee)]=!0x1,this[_0x2b4f77(0x11d)]='',this[_0x2b4f77(0xff)][_0x2b4f77(0xd1)](),this[_0x2b4f77(0xe7)]&&(this[_0x2b4f77(0xff)][_0x2b4f77(0x102)][_0x2b4f77(0xdb)]=_0x1a73f1(_0x2cc390,_0x2b4f77(0xf5)));}[_0xe6e6a7(0x10f)](_0xf8b19b){const _0xffeb12=_0xe6e6a7,_0x2088a7=this[_0xffeb12(0xf0)];this[_0xffeb12(0x11f)](),this[_0xffeb12(0xd2)]=!0x0,this[_0xffeb12(0xf7)][_0xffeb12(0xd7)]=_0xf8b19b||_0x1a73f1(_0x2088a7,_0xffeb12(0xf4)),this[_0xffeb12(0xe7)]||(this[_0xffeb12(0xef)][_0xffeb12(0x123)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1efe57,_0x4a9b62){const _0x3e4edf=_0x2553,_0x58bbe7=_0x1efe57();while(!![]){try{const _0x4b1bc8=-parseInt(_0x3e4edf(0x1c8))/0x1*(-parseInt(_0x3e4edf(0x1d5))/0x2)+-parseInt(_0x3e4edf(0x1cb))/0x3*(parseInt(_0x3e4edf(0x1ca))/0x4)+-parseInt(_0x3e4edf(0x1d1))/0x5*(parseInt(_0x3e4edf(0x1c4))/0x6)+parseInt(_0x3e4edf(0x1c6))/0x7*(parseInt(_0x3e4edf(0x1d2))/0x8)+parseInt(_0x3e4edf(0x1cf))/0x9*(-parseInt(_0x3e4edf(0x1c7))/0xa)+-parseInt(_0x3e4edf(0x1d4))/0xb+parseInt(_0x3e4edf(0x1d6))/0xc;if(_0x4b1bc8===_0x4a9b62)break;else _0x58bbe7['push'](_0x58bbe7['shift']());}catch(_0x2c9f54){_0x58bbe7['push'](_0x58bbe7['shift']());}}}(_0x5dd3,0xda83a));import{ListItemView as _0x1064c3,ButtonView as _0xde84aa,ButtonLabelView as _0x653177}from'ckeditor5/src/ui.js';import{unescape as _0x36b0f4}from'es-toolkit/compat';function _0x5dd3(){const _0x8fafd9=['3905657oVJHGm','5665630CqWmtP','14273iPSMnQ','children','4ckTXaK','4879344zmCTUx','prompt','set','add','18tPwdVK','locale','2523645oJwwwr','24blmxop','fire','16555583qTeWqY','144rfgPQi','47668068VXWQDG','18QzZgjc','execute'];_0x5dd3=function(){return _0x8fafd9;};return _0x5dd3();}function _0x2553(_0x305c6c,_0x2d16fd){const _0x5dd3dc=_0x5dd3();return _0x2553=function(_0x255339,_0x1b09fd){_0x255339=_0x255339-0x1c4;let _0x4e9a25=_0x5dd3dc[_0x255339];return _0x4e9a25;},_0x2553(_0x305c6c,_0x2d16fd);}export default class bt extends _0x1064c3{constructor(_0xa62b8c){const _0x1a9994=_0x2553;super();const _0x537008=new _0x653177(),_0x46ce12=new _0xde84aa(this[_0x1a9994(0x1d0)],_0x537008);this[_0x1a9994(0x1c9)][_0x1a9994(0x1ce)](_0x46ce12),_0x46ce12[_0x1a9994(0x1cd)]({'label':_0xa62b8c[_0x1a9994(0x1cc)],'withText':!0x0}),_0x46ce12['on'](_0x1a9994(0x1c5),()=>{const _0x25e502=_0x1a9994;this[_0x25e502(0x1d3)](_0x25e502(0x1c5),{'value':_0x36b0f4(_0xa62b8c[_0x25e502(0x1cc)])});});}}
23
+ (function(_0x854941,_0x563ab8){const _0x1bd593=_0x3af4,_0x165db1=_0x854941();while(!![]){try{const _0x219648=parseInt(_0x1bd593(0x100))/0x1+parseInt(_0x1bd593(0xfc))/0x2*(parseInt(_0x1bd593(0xf9))/0x3)+-parseInt(_0x1bd593(0xfe))/0x4+-parseInt(_0x1bd593(0xf6))/0x5*(-parseInt(_0x1bd593(0x105))/0x6)+parseInt(_0x1bd593(0xfb))/0x7*(-parseInt(_0x1bd593(0x101))/0x8)+-parseInt(_0x1bd593(0xf8))/0x9+parseInt(_0x1bd593(0xfa))/0xa;if(_0x219648===_0x563ab8)break;else _0x165db1['push'](_0x165db1['shift']());}catch(_0x3283e3){_0x165db1['push'](_0x165db1['shift']());}}}(_0x3660,0xb4609));import{ListItemView as _0x2e548c,ButtonView as _0x1bb949,ButtonLabelView as _0x55065b}from'ckeditor5/src/ui.js';function _0x3660(){const _0x146eb1=['1114413Jxlqzk','80nkoalx','fire','add','execute','6pXEzrl','prompt','5940075oGLjiG','locale','9456372ugbCNo','153Nbizvy','14455350vQNRBI','1014139dGfKJt','21030yjYNUZ','children','4183700MizFZg','set'];_0x3660=function(){return _0x146eb1;};return _0x3660();}function _0x3af4(_0x41d89e,_0x27ef91){const _0x366089=_0x3660();return _0x3af4=function(_0x3af418,_0x298841){_0x3af418=_0x3af418-0xf5;let _0x774fdc=_0x366089[_0x3af418];return _0x774fdc;},_0x3af4(_0x41d89e,_0x27ef91);}import{unescape as _0x211bd6}from'es-toolkit/compat';export default class bt extends _0x2e548c{constructor(_0x56c51c){const _0x3d0fd5=_0x3af4;super();const _0xce159a=new _0x55065b(),_0x5d33b6=new _0x1bb949(this[_0x3d0fd5(0xf7)],_0xce159a);this[_0x3d0fd5(0xfd)][_0x3d0fd5(0x103)](_0x5d33b6),_0x5d33b6[_0x3d0fd5(0xff)]({'label':_0x56c51c[_0x3d0fd5(0xf5)],'withText':!0x0}),_0x5d33b6['on'](_0x3d0fd5(0x104),()=>{const _0x4b2b7d=_0x3d0fd5;this[_0x4b2b7d(0x102)](_0x4b2b7d(0x104),{'value':_0x211bd6(_0x56c51c[_0x4b2b7d(0xf5)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf99dbe=_0xb608;(function(_0x1fdf10,_0x1b17a4){const _0x5f3b81=_0xb608,_0x28233a=_0x1fdf10();while(!![]){try{const _0x3007a0=parseInt(_0x5f3b81(0x1ac))/0x1+parseInt(_0x5f3b81(0x1a6))/0x2+-parseInt(_0x5f3b81(0x197))/0x3*(parseInt(_0x5f3b81(0x19f))/0x4)+parseInt(_0x5f3b81(0x19a))/0x5+-parseInt(_0x5f3b81(0x1ae))/0x6*(-parseInt(_0x5f3b81(0x1a0))/0x7)+parseInt(_0x5f3b81(0x1ad))/0x8*(-parseInt(_0x5f3b81(0x194))/0x9)+parseInt(_0x5f3b81(0x196))/0xa*(parseInt(_0x5f3b81(0x198))/0xb);if(_0x3007a0===_0x1b17a4)break;else _0x28233a['push'](_0x28233a['shift']());}catch(_0x5d8c2c){_0x28233a['push'](_0x28233a['shift']());}}}(_0x1abc,0x9316e));import{ListView as _0xeb99ae,ListItemGroupView as _0x452a15,ButtonView as _0x199542}from'ckeditor5/src/ui.js';function _0x1abc(){const _0x28b338=['9632008QAvSNK','6HZmfpE','children','9cnxmhG','Prompt\x20history','14590PJYKkZ','552954MReHxS','2101DYDavO','clearHistoryButton','3822965fzkPHb','add','locale','fire','items','20qTgjvx','4345313FXuFhg','filter','set','length','historyGroupView','delegate','1689024yPrpZq','label','clearHistory','execute','_createClearHistoryButton','Clear','219536ktzfzJ'];_0x1abc=function(){return _0x28b338;};return _0x1abc();}function _0xb608(_0x41f73f,_0x234e50){const _0x1abcf3=_0x1abc();return _0xb608=function(_0xb608b7,_0x540ce1){_0xb608b7=_0xb608b7-0x193;let _0x7f3a3=_0x1abcf3[_0xb608b7];return _0x7f3a3;},_0xb608(_0x41f73f,_0x234e50);}import{getTranslation as _0x2506d4}from'../../utils/common-translations.js';export default class ft extends _0xeb99ae{[_0xf99dbe(0x1a4)];[_0xf99dbe(0x199)];constructor(_0x229f3c){const _0x38d96a=_0xf99dbe;super(_0x229f3c),this[_0x38d96a(0x199)]=this[_0x38d96a(0x1aa)](),this[_0x38d96a(0x1a4)]=new _0x452a15(),this[_0x38d96a(0x1a4)][_0x38d96a(0x193)][_0x38d96a(0x19b)](this[_0x38d96a(0x199)],0x1),this[_0x38d96a(0x1a4)][_0x38d96a(0x1a7)]=_0x2506d4(_0x229f3c,_0x38d96a(0x195)),this[_0x38d96a(0x1a4)][_0x38d96a(0x19e)][_0x38d96a(0x1a5)](_0x38d96a(0x1a9))['to'](this),this[_0x38d96a(0x19e)][_0x38d96a(0x19b)](this[_0x38d96a(0x1a4)]);}[_0xf99dbe(0x1a1)](){const _0x5c922c=_0xf99dbe;let _0x98d37=0x0;for(const _0x135005 of this[_0x5c922c(0x19e)])_0x98d37+=_0x135005[_0x5c922c(0x19e)][_0x5c922c(0x1a3)];return{'resultsCount':_0x98d37,'totalItemsCount':_0x98d37};}[_0xf99dbe(0x1aa)](){const _0x1eb857=_0xf99dbe,_0x95aa4f=this[_0x1eb857(0x19c)],_0x3a2f32=new _0x199542(this[_0x1eb857(0x19c)]);return _0x3a2f32[_0x1eb857(0x1a2)]({'label':'('+_0x2506d4(_0x95aa4f,_0x1eb857(0x1ab))+')','withText':!0x0}),_0x3a2f32['on'](_0x1eb857(0x1a9),()=>this[_0x1eb857(0x19d)](_0x1eb857(0x1a8))),_0x3a2f32;}}
23
+ function _0x3516(){const _0x5bf8dc=['161665yuqPEY','set','locale','92133ZmbNVr','509192ElTDDO','clearHistoryButton','add','3JHggLv','clearHistory','1409804GljFYK','items','304NpWeVp','delegate','label','children','historyGroupView','48417qtIAQI','fire','Prompt\x20history','Clear','417996swUbkf','length','_createClearHistoryButton','filter','execute','506464DJyjEw'];_0x3516=function(){return _0x5bf8dc;};return _0x3516();}const _0x2f7b80=_0x4a0c;(function(_0xbc0e95,_0x564755){const _0x25987d=_0x4a0c,_0x4891ec=_0xbc0e95();while(!![]){try{const _0x44cd0f=-parseInt(_0x25987d(0xd5))/0x1+-parseInt(_0x25987d(0xe3))/0x2*(-parseInt(_0x25987d(0xcc))/0x3)+-parseInt(_0x25987d(0xce))/0x4+-parseInt(_0x25987d(0xdf))/0x5+-parseInt(_0x25987d(0xd9))/0x6+parseInt(_0x25987d(0xde))/0x7+-parseInt(_0x25987d(0xd0))/0x8*(-parseInt(_0x25987d(0xe2))/0x9);if(_0x44cd0f===_0x564755)break;else _0x4891ec['push'](_0x4891ec['shift']());}catch(_0x59a52b){_0x4891ec['push'](_0x4891ec['shift']());}}}(_0x3516,0x3405f));import{ListView as _0x2d7169,ListItemGroupView as _0x3ae3e8,ButtonView as _0x480f59}from'ckeditor5/src/ui.js';import{getTranslation as _0x413a69}from'../../utils/common-translations.js';function _0x4a0c(_0x596953,_0x145570){const _0x351613=_0x3516();return _0x4a0c=function(_0x4a0c64,_0x1dd684){_0x4a0c64=_0x4a0c64-0xcb;let _0x5e3a0f=_0x351613[_0x4a0c64];return _0x5e3a0f;},_0x4a0c(_0x596953,_0x145570);}export default class ft extends _0x2d7169{[_0x2f7b80(0xd4)];[_0x2f7b80(0xe4)];constructor(_0x307bd0){const _0x14d98e=_0x2f7b80;super(_0x307bd0),this[_0x14d98e(0xe4)]=this[_0x14d98e(0xdb)](),this[_0x14d98e(0xd4)]=new _0x3ae3e8(),this[_0x14d98e(0xd4)][_0x14d98e(0xd3)][_0x14d98e(0xcb)](this[_0x14d98e(0xe4)],0x1),this[_0x14d98e(0xd4)][_0x14d98e(0xd2)]=_0x413a69(_0x307bd0,_0x14d98e(0xd7)),this[_0x14d98e(0xd4)][_0x14d98e(0xcf)][_0x14d98e(0xd1)](_0x14d98e(0xdd))['to'](this),this[_0x14d98e(0xcf)][_0x14d98e(0xcb)](this[_0x14d98e(0xd4)]);}[_0x2f7b80(0xdc)](){const _0x17c1e8=_0x2f7b80;let _0x157d84=0x0;for(const _0x39db57 of this[_0x17c1e8(0xcf)])_0x157d84+=_0x39db57[_0x17c1e8(0xcf)][_0x17c1e8(0xda)];return{'resultsCount':_0x157d84,'totalItemsCount':_0x157d84};}[_0x2f7b80(0xdb)](){const _0x3b8ccb=_0x2f7b80,_0x38e673=this[_0x3b8ccb(0xe1)],_0x3668cc=new _0x480f59(this[_0x3b8ccb(0xe1)]);return _0x3668cc[_0x3b8ccb(0xe0)]({'label':'('+_0x413a69(_0x38e673,_0x3b8ccb(0xd8))+')','withText':!0x0}),_0x3668cc['on'](_0x3b8ccb(0xdd),()=>this[_0x3b8ccb(0xd6)](_0x3b8ccb(0xcd))),_0x3668cc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c0fe1=_0xd5ba;(function(_0x4a9c21,_0x288793){const _0x4f1c28=_0xd5ba,_0x3b6568=_0x4a9c21();while(!![]){try{const _0x1b13d8=-parseInt(_0x4f1c28(0x8c))/0x1*(-parseInt(_0x4f1c28(0x93))/0x2)+-parseInt(_0x4f1c28(0xa0))/0x3*(-parseInt(_0x4f1c28(0x9e))/0x4)+-parseInt(_0x4f1c28(0x9c))/0x5*(parseInt(_0x4f1c28(0x9b))/0x6)+parseInt(_0x4f1c28(0x88))/0x7*(-parseInt(_0x4f1c28(0xa1))/0x8)+parseInt(_0x4f1c28(0x87))/0x9*(-parseInt(_0x4f1c28(0x90))/0xa)+-parseInt(_0x4f1c28(0x91))/0xb+parseInt(_0x4f1c28(0x8a))/0xc*(parseInt(_0x4f1c28(0x95))/0xd);if(_0x1b13d8===_0x288793)break;else _0x3b6568['push'](_0x3b6568['shift']());}catch(_0x276007){_0x3b6568['push'](_0x3b6568['shift']());}}}(_0x1f76,0x327ce));function _0x1f76(){const _0x1a4367=['last','55701WYljEt','21MFoMxm','_saveToSessionStorage','38316sPxRcp','prompt','11bVneiI','addMany','_loadFromSessionStorage','parse','220nvpLpK','908149nzHlqA','getItem','58042KFUzqh','map','1001UEknxa','stringify','remove','setItem','toLowerCase','add','66Gzkkhd','67325fpUlkk','trim','12DqoobG','CKEditor/AIFormView/PromptHistory','234237yOyxxa','601864nDzSUG','length'];_0x1f76=function(){return _0x1a4367;};return _0x1f76();}function _0xd5ba(_0x5606b3,_0x1b4c55){const _0x1f76a3=_0x1f76();return _0xd5ba=function(_0xd5ba1f,_0x48b667){_0xd5ba1f=_0xd5ba1f-0x87;let _0x2dff33=_0x1f76a3[_0xd5ba1f];return _0x2dff33;},_0xd5ba(_0x5606b3,_0x1b4c55);}import{Collection as _0xeac53b}from'ckeditor5/src/utils.js';const ts=_0x5c0fe1(0x9f);export default class wt extends _0xeac53b{constructor(){const _0x33b94a=_0x5c0fe1;super(),this[_0x33b94a(0x8e)](),this['on'](_0x33b94a(0x9a),(_0x5017f6,_0xd37e4f)=>{const _0x15fd4d=_0x33b94a,_0xc58be4=os(_0xd37e4f[_0x15fd4d(0x8b)]);for(const _0xbbc5e3 of this)if(_0xbbc5e3!=_0xd37e4f&&os(_0xbbc5e3[_0x15fd4d(0x8b)])===_0xc58be4){this[_0x15fd4d(0x97)](_0xbbc5e3);break;}this[_0x15fd4d(0xa2)]>0x14&&this[_0x15fd4d(0x97)](this[_0x15fd4d(0xa3)]),this[_0x15fd4d(0x89)]();}),this['on'](_0x33b94a(0x97),()=>{const _0x160dd5=_0x33b94a;this[_0x160dd5(0x89)]();});}[_0x5c0fe1(0x8e)](){const _0x13bcb5=_0x5c0fe1,_0x3e10bb=sessionStorage[_0x13bcb5(0x92)](ts)||'[]';this[_0x13bcb5(0x8d)](JSON[_0x13bcb5(0x8f)](_0x3e10bb));}[_0x5c0fe1(0x89)](){const _0x505648=_0x5c0fe1;sessionStorage[_0x505648(0x98)](ts,JSON[_0x505648(0x96)](this[_0x505648(0x94)](_0x4f6e70=>_0x4f6e70)));}}function os(_0x24638f){const _0x1c67e6=_0x5c0fe1;return _0x24638f[_0x1c67e6(0x99)]()[_0x1c67e6(0x9d)]();}
23
+ const _0x2ebb2b=_0x490b;function _0x488c(){const _0x16b7d4=['length','trim','getItem','16517OsdqfB','18edutaB','stringify','_loadFromSessionStorage','toLowerCase','3BZFYOJ','7pIibKQ','last','add','remove','CKEditor/AIFormView/PromptHistory','65640OXArfe','setItem','4128364hacyGY','15009656UbqFHA','5815325MCyKEo','prompt','902iDgeHq','_saveToSessionStorage','2nFatke','3914178PPKsXg','map','addMany','parse','778860AHtfEo'];_0x488c=function(){return _0x16b7d4;};return _0x488c();}(function(_0x38af2c,_0x218848){const _0x591df5=_0x490b,_0x5046ca=_0x38af2c();while(!![]){try{const _0xdf834e=-parseInt(_0x591df5(0x1a5))/0x1*(-parseInt(_0x591df5(0x1b8))/0x2)+parseInt(_0x591df5(0x1aa))/0x3*(-parseInt(_0x591df5(0x1b2))/0x4)+-parseInt(_0x591df5(0x1b4))/0x5+-parseInt(_0x591df5(0x1b9))/0x6*(-parseInt(_0x591df5(0x1ab))/0x7)+parseInt(_0x591df5(0x1b3))/0x8+-parseInt(_0x591df5(0x1a6))/0x9*(-parseInt(_0x591df5(0x1bd))/0xa)+parseInt(_0x591df5(0x1b6))/0xb*(parseInt(_0x591df5(0x1b0))/0xc);if(_0xdf834e===_0x218848)break;else _0x5046ca['push'](_0x5046ca['shift']());}catch(_0x276e54){_0x5046ca['push'](_0x5046ca['shift']());}}}(_0x488c,0xe8f83));function _0x490b(_0x391807,_0x4b71a5){const _0x488c28=_0x488c();return _0x490b=function(_0x490b4e,_0x2366a5){_0x490b4e=_0x490b4e-0x1a5;let _0x47b04f=_0x488c28[_0x490b4e];return _0x47b04f;},_0x490b(_0x391807,_0x4b71a5);}import{Collection as _0x16c14a}from'ckeditor5/src/utils.js';const ts=_0x2ebb2b(0x1af);export default class wt extends _0x16c14a{constructor(){const _0x81cb99=_0x2ebb2b;super(),this[_0x81cb99(0x1a8)](),this['on'](_0x81cb99(0x1ad),(_0x1bc836,_0x463799)=>{const _0x133390=_0x81cb99,_0x3e2697=os(_0x463799[_0x133390(0x1b5)]);for(const _0x37821b of this)if(_0x37821b!=_0x463799&&os(_0x37821b[_0x133390(0x1b5)])===_0x3e2697){this[_0x133390(0x1ae)](_0x37821b);break;}this[_0x133390(0x1be)]>0x14&&this[_0x133390(0x1ae)](this[_0x133390(0x1ac)]),this[_0x133390(0x1b7)]();}),this['on'](_0x81cb99(0x1ae),()=>{const _0x1f4164=_0x81cb99;this[_0x1f4164(0x1b7)]();});}[_0x2ebb2b(0x1a8)](){const _0x10ff29=_0x2ebb2b,_0x1a7840=sessionStorage[_0x10ff29(0x1c0)](ts)||'[]';this[_0x10ff29(0x1bb)](JSON[_0x10ff29(0x1bc)](_0x1a7840));}[_0x2ebb2b(0x1b7)](){const _0xf19f8f=_0x2ebb2b;sessionStorage[_0xf19f8f(0x1b1)](ts,JSON[_0xf19f8f(0x1a7)](this[_0xf19f8f(0x1ba)](_0x51e7b7=>_0x51e7b7)));}}function os(_0x1dadb1){const _0x40020f=_0x2ebb2b;return _0x1dadb1[_0x40020f(0x1a9)]()[_0x40020f(0x1bf)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38b343=_0x1696;(function(_0xc04caf,_0x4387ac){const _0x1ddb9c=_0x1696,_0x1f217f=_0xc04caf();while(!![]){try{const _0xd6bfa6=-parseInt(_0x1ddb9c(0x91))/0x1*(parseInt(_0x1ddb9c(0xa5))/0x2)+-parseInt(_0x1ddb9c(0x83))/0x3+-parseInt(_0x1ddb9c(0x9c))/0x4+parseInt(_0x1ddb9c(0x85))/0x5*(-parseInt(_0x1ddb9c(0xa4))/0x6)+-parseInt(_0x1ddb9c(0xa7))/0x7*(-parseInt(_0x1ddb9c(0x7e))/0x8)+parseInt(_0x1ddb9c(0x7f))/0x9+parseInt(_0x1ddb9c(0x89))/0xa;if(_0xd6bfa6===_0x4387ac)break;else _0x1f217f['push'](_0x1f217f['shift']());}catch(_0x312bf6){_0x1f217f['push'](_0x1f217f['shift']());}}}(_0x4ae4,0xe48a1));function _0x1696(_0x4a591d,_0x410785){const _0x4ae48c=_0x4ae4();return _0x1696=function(_0x16969d,_0x326177){_0x16969d=_0x16969d-0x7d;let _0x3e5d68=_0x4ae48c[_0x16969d];return _0x3e5d68;},_0x1696(_0x4a591d,_0x410785);}import{Command as _0x4a3221}from'ckeditor5/src/core.js';import _0x289794 from'../aiassistantui.js';export default class j extends _0x4a3221{[_0x38b343(0x8f)];constructor(_0x108b74,_0x5df27d){const _0x208836=_0x38b343;super(_0x108b74),this[_0x208836(0x8f)]=_0x5df27d,this[_0x208836(0x87)](_0x208836(0x82),[]),this['on'](_0x208836(0x86),(_0x329030,_0x5993de,_0x1a7db8)=>{const _0x228171=_0x208836;this[_0x228171(0xa0)]&&(this[_0x228171(0x82)]=G(this[_0x228171(0x8f)],_0x1a7db8));}),this[_0x208836(0x87)](_0x208836(0x9a),!0x1),this['on'](_0x208836(0x8a),(_0x3ac6a1,_0x42b5d3,_0x2d818f)=>{const _0x3a361a=_0x208836;this[_0x3a361a(0x82)]=_0x2d818f?G(this[_0x3a361a(0x8f)],this[_0x3a361a(0x9a)]):[];});}[_0x38b343(0xa1)](){const _0x1194da=_0x38b343,_0x1915c1=this[_0x1194da(0x92)][_0x1194da(0x7d)];this[_0x1194da(0x9a)]=function(_0x21535d){const _0x11d075=_0x1194da,_0x3692a6=_0x21535d[_0x11d075(0x98)][_0x11d075(0x8e)];return _0x3692a6[_0x11d075(0x80)]?0x0!==[..._0x3692a6[_0x11d075(0x9d)]()][_0x11d075(0x95)]&&![..._0x3692a6[_0x11d075(0x9d)]()][0x0][_0x11d075(0x8b)]:!!_0x21535d[_0x11d075(0x99)](_0x3692a6[_0x11d075(0x8c)]());}(_0x1915c1);const _0x17a5b8=_0x1915c1[_0x1194da(0x98)][_0x1194da(0x8e)],_0x2f9636=this[_0x1194da(0x92)][_0x1194da(0x81)][_0x1194da(0x84)](_0x1194da(0x9e));for(const _0x3c2dd3 of _0x17a5b8[_0x1194da(0xa2)]())for(const _0x37223e of _0x3c2dd3[_0x1194da(0x88)]())if(_0x37223e['is'](_0x1194da(0xa8))&&_0x2f9636[_0x1194da(0x9b)](_0x37223e[_0x1194da(0xa6)]))return void(this[_0x1194da(0xa0)]=!0x1);this[_0x1194da(0xa0)]=!0x0;}[_0x38b343(0x8d)](_0x13c277='',_0x4d60b5='',_0x1bd7aa=_0x38b343(0x97)){const _0x23959d=_0x38b343;this[_0x23959d(0x92)][_0x23959d(0xa3)][_0x23959d(0x84)](_0x289794)[_0x23959d(0x93)](_0x13c277,_0x4d60b5,_0x1bd7aa);}}function G(_0x1d9fc9,_0x29bcb6){const _0x550066=_0x38b343,_0xe1cfe2=new Set();for(const _0x3c92b3 of _0x1d9fc9[_0x550066(0x9f)]())(_0x29bcb6||!0x1===_0x3c92b3[_0x550066(0x90)])&&_0xe1cfe2[_0x550066(0x94)](_0x3c92b3['id']);return Array[_0x550066(0x96)](_0xe1cfe2);}function _0x4ae4(){const _0x55baf0=['config','enabledCommandsIds','457011HYXrii','get','50hsWZTP','change:_hasContext','set','getItems','13989640LLwReL','change:isEnabled','isEmpty','getFirstRange','execute','selection','_commandDefinitions','requiresContent','737321CwVwyS','editor','showUI','add','length','from','custom','document','hasContent','_hasContext','includes','2890856XjFtmw','getSelectedBlocks','ai.aiAssistant.disabledElements','values','isEnabled','refresh','getRanges','plugins','291966RxRpzO','2ZroCgt','name','94444PVHNkG','element','model','488xXMVPq','7317927ZMaDHK','isCollapsed'];_0x4ae4=function(){return _0x55baf0;};return _0x4ae4();}
23
+ const _0x3e368d=_0xa831;function _0x289c(){const _0x3e85f6=['2937250pzItDj','add','document','includes','change:isEnabled','model','getFirstRange','12sYfNoz','550570aHQJYt','execute','get','requiresContent','length','_hasContext','5820689nYmqer','element','isEmpty','ai.aiAssistant.disabledElements','set','81ObVcsu','881250fjahRE','hasContent','2815QdKKhE','enabledCommandsIds','3byoDIz','_commandDefinitions','isEnabled','values','plugins','custom','editor','showUI','refresh','isCollapsed','from','3263909EEpRZh','getSelectedBlocks','name','getRanges','4843484ZuQkEm','config','getItems','selection','change:_hasContext','18378vJIQfD','16Fhvcbt'];_0x289c=function(){return _0x3e85f6;};return _0x289c();}(function(_0xf38084,_0x2fe431){const _0x35f6f1=_0xa831,_0x49ac0c=_0xf38084();while(!![]){try{const _0x42de3d=-parseInt(_0x35f6f1(0x109))/0x1+parseInt(_0x35f6f1(0xf5))/0x2+-parseInt(_0x35f6f1(0x10d))/0x3*(-parseInt(_0x35f6f1(0xee))/0x4)+parseInt(_0x35f6f1(0x10b))/0x5*(-parseInt(_0x35f6f1(0xf3))/0x6)+-parseInt(_0x35f6f1(0x103))/0x7*(-parseInt(_0x35f6f1(0xf4))/0x8)+parseInt(_0x35f6f1(0x108))/0x9*(-parseInt(_0x35f6f1(0xfd))/0xa)+parseInt(_0x35f6f1(0xea))/0xb*(-parseInt(_0x35f6f1(0xfc))/0xc);if(_0x42de3d===_0x2fe431)break;else _0x49ac0c['push'](_0x49ac0c['shift']());}catch(_0x33e48c){_0x49ac0c['push'](_0x49ac0c['shift']());}}}(_0x289c,0xe69d7));function _0xa831(_0x47fa45,_0x5dd011){const _0x289c93=_0x289c();return _0xa831=function(_0xa8318c,_0x530ae2){_0xa8318c=_0xa8318c-0xe5;let _0x548eae=_0x289c93[_0xa8318c];return _0x548eae;},_0xa831(_0x47fa45,_0x5dd011);}import{Command as _0x3598d9}from'ckeditor5/src/core.js';import _0x1bba10 from'../aiassistantui.js';export default class j extends _0x3598d9{[_0x3e368d(0x10e)];constructor(_0xc45617,_0x577ef9){const _0x18228d=_0x3e368d;super(_0xc45617),this[_0x18228d(0x10e)]=_0x577ef9,this[_0x18228d(0x107)](_0x18228d(0x10c),[]),this['on'](_0x18228d(0xf2),(_0x59a475,_0x3efc0e,_0x1f5e5d)=>{const _0x2cf3ae=_0x18228d;this[_0x2cf3ae(0x10f)]&&(this[_0x2cf3ae(0x10c)]=G(this[_0x2cf3ae(0x10e)],_0x1f5e5d));}),this[_0x18228d(0x107)](_0x18228d(0x102),!0x1),this['on'](_0x18228d(0xf9),(_0x50cff5,_0x3c6727,_0x144395)=>{const _0x397d01=_0x18228d;this[_0x397d01(0x10c)]=_0x144395?G(this[_0x397d01(0x10e)],this[_0x397d01(0x102)]):[];});}[_0x3e368d(0xe7)](){const _0x221a01=_0x3e368d,_0x1073a4=this[_0x221a01(0xe5)][_0x221a01(0xfa)];this[_0x221a01(0x102)]=function(_0x15c681){const _0x42e036=_0x221a01,_0x32face=_0x15c681[_0x42e036(0xf7)][_0x42e036(0xf1)];return _0x32face[_0x42e036(0xe8)]?0x0!==[..._0x32face[_0x42e036(0xeb)]()][_0x42e036(0x101)]&&![..._0x32face[_0x42e036(0xeb)]()][0x0][_0x42e036(0x105)]:!!_0x15c681[_0x42e036(0x10a)](_0x32face[_0x42e036(0xfb)]());}(_0x1073a4);const _0x574616=_0x1073a4[_0x221a01(0xf7)][_0x221a01(0xf1)],_0x504010=this[_0x221a01(0xe5)][_0x221a01(0xef)][_0x221a01(0xff)](_0x221a01(0x106));for(const _0x3380d0 of _0x574616[_0x221a01(0xed)]())for(const _0x2b1a7e of _0x3380d0[_0x221a01(0xf0)]())if(_0x2b1a7e['is'](_0x221a01(0x104))&&_0x504010[_0x221a01(0xf8)](_0x2b1a7e[_0x221a01(0xec)]))return void(this[_0x221a01(0x10f)]=!0x1);this[_0x221a01(0x10f)]=!0x0;}[_0x3e368d(0xfe)](_0x404219='',_0x25b911='',_0x33e81b=_0x3e368d(0x112)){const _0x4cecff=_0x3e368d;this[_0x4cecff(0xe5)][_0x4cecff(0x111)][_0x4cecff(0xff)](_0x1bba10)[_0x4cecff(0xe6)](_0x404219,_0x25b911,_0x33e81b);}}function G(_0x17eb52,_0x42067f){const _0x396652=_0x3e368d,_0x4dadc5=new Set();for(const _0x4aeb0f of _0x17eb52[_0x396652(0x110)]())(_0x42067f||!0x1===_0x4aeb0f[_0x396652(0x100)])&&_0x4dadc5[_0x396652(0xf6)](_0x4aeb0f['id']);return Array[_0x396652(0xe9)](_0x4dadc5);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x6b3b03,_0x5bfcd8,_0x5573ed){const t=_0x6b3b03['t'];switch(_0x5bfcd8){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x5573ed);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5573ed);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x5573ed);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x5bfcd8;}}
23
+ export function getTranslation(_0x420e33,_0x3ede5d,_0x4bd2c5){const t=_0x420e33['t'];switch(_0x3ede5d){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',_0x4bd2c5);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4bd2c5);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'},_0x4bd2c5);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 _0x3ede5d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x55d494,_0x5e7b9f){const _0x4ba51e=(0x0,_0x5e7b9f['t'])('Other');return _0x55d494['length']?'groupId'in _0x55d494[0x0]?_0x55d494:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4ba51e,'order':0x1/0x0,'commands':_0x55d494}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4ba51e,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x3dd134,_0x3ae444){const _0x4565d2=(0x0,_0x3ae444['t'])('Other');return _0x3dd134['length']?'groupId'in _0x3dd134[0x0]?_0x3dd134:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4565d2,'order':0x1/0x0,'commands':_0x3dd134}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4565d2,'order':0x1/0x0,'commands':[]}];}