@ckeditor/ckeditor5-ai 41.4.0-alpha.0 → 41.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/bs.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de-ch.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es-co.js +1 -1
  15. package/build/translations/es.js +1 -1
  16. package/build/translations/et.js +1 -1
  17. package/build/translations/fa.js +1 -1
  18. package/build/translations/fi.js +1 -1
  19. package/build/translations/fr.js +1 -1
  20. package/build/translations/gl.js +1 -1
  21. package/build/translations/he.js +1 -1
  22. package/build/translations/hi.js +1 -1
  23. package/build/translations/hr.js +1 -1
  24. package/build/translations/hu.js +1 -1
  25. package/build/translations/id.js +1 -1
  26. package/build/translations/it.js +1 -1
  27. package/build/translations/ja.js +1 -1
  28. package/build/translations/jv.js +1 -1
  29. package/build/translations/ko.js +1 -1
  30. package/build/translations/lt.js +1 -1
  31. package/build/translations/lv.js +1 -1
  32. package/build/translations/ms.js +1 -1
  33. package/build/translations/nl.js +1 -1
  34. package/build/translations/no.js +1 -1
  35. package/build/translations/pl.js +1 -1
  36. package/build/translations/pt-br.js +1 -1
  37. package/build/translations/pt.js +1 -1
  38. package/build/translations/ro.js +1 -1
  39. package/build/translations/ru.js +1 -1
  40. package/build/translations/sk.js +1 -1
  41. package/build/translations/sr-latn.js +1 -1
  42. package/build/translations/sr.js +1 -1
  43. package/build/translations/sv.js +1 -1
  44. package/build/translations/th.js +1 -1
  45. package/build/translations/ti.js +1 -0
  46. package/build/translations/tk.js +1 -1
  47. package/build/translations/tr.js +1 -1
  48. package/build/translations/ug.js +1 -1
  49. package/build/translations/uk.js +1 -1
  50. package/build/translations/ur.js +1 -1
  51. package/build/translations/uz.js +1 -1
  52. package/build/translations/vi.js +1 -1
  53. package/build/translations/zh-cn.js +1 -1
  54. package/build/translations/zh.js +1 -1
  55. package/dist/index.js +1 -1
  56. package/dist/translations/af.js +1 -1
  57. package/dist/translations/af.umd.js +23 -0
  58. package/dist/translations/ar.js +1 -1
  59. package/dist/translations/ar.umd.js +23 -0
  60. package/dist/translations/bg.js +1 -1
  61. package/dist/translations/bg.umd.js +23 -0
  62. package/dist/translations/bn.js +1 -1
  63. package/dist/translations/bn.umd.js +23 -0
  64. package/dist/translations/bs.js +1 -1
  65. package/dist/translations/bs.umd.js +23 -0
  66. package/dist/translations/ca.js +1 -1
  67. package/dist/translations/ca.umd.js +23 -0
  68. package/dist/translations/cs.js +1 -1
  69. package/dist/translations/cs.umd.js +23 -0
  70. package/dist/translations/da.js +1 -1
  71. package/dist/translations/da.umd.js +23 -0
  72. package/dist/translations/de-ch.js +1 -1
  73. package/dist/translations/de-ch.umd.js +23 -0
  74. package/dist/translations/de.js +1 -1
  75. package/dist/translations/de.umd.js +23 -0
  76. package/dist/translations/el.js +1 -1
  77. package/dist/translations/el.umd.js +23 -0
  78. package/dist/translations/en-au.js +1 -1
  79. package/dist/translations/en-au.umd.js +23 -0
  80. package/dist/translations/en.js +1 -1
  81. package/dist/translations/en.umd.js +23 -0
  82. package/dist/translations/es-co.js +1 -1
  83. package/dist/translations/es-co.umd.js +23 -0
  84. package/dist/translations/es.js +1 -1
  85. package/dist/translations/es.umd.js +23 -0
  86. package/dist/translations/et.js +1 -1
  87. package/dist/translations/et.umd.js +23 -0
  88. package/dist/translations/fa.js +1 -1
  89. package/dist/translations/fa.umd.js +23 -0
  90. package/dist/translations/fi.js +1 -1
  91. package/dist/translations/fi.umd.js +23 -0
  92. package/dist/translations/fr.js +1 -1
  93. package/dist/translations/fr.umd.js +23 -0
  94. package/dist/translations/gl.js +1 -1
  95. package/dist/translations/gl.umd.js +23 -0
  96. package/dist/translations/he.js +1 -1
  97. package/dist/translations/he.umd.js +23 -0
  98. package/dist/translations/hi.js +1 -1
  99. package/dist/translations/hi.umd.js +23 -0
  100. package/dist/translations/hr.js +1 -1
  101. package/dist/translations/hr.umd.js +23 -0
  102. package/dist/translations/hu.js +1 -1
  103. package/dist/translations/hu.umd.js +23 -0
  104. package/dist/translations/id.js +1 -1
  105. package/dist/translations/id.umd.js +23 -0
  106. package/dist/translations/it.js +1 -1
  107. package/dist/translations/it.umd.js +23 -0
  108. package/dist/translations/ja.js +1 -1
  109. package/dist/translations/ja.umd.js +23 -0
  110. package/dist/translations/jv.js +1 -1
  111. package/dist/translations/jv.umd.js +23 -0
  112. package/dist/translations/ko.js +1 -1
  113. package/dist/translations/ko.umd.js +23 -0
  114. package/dist/translations/lt.js +1 -1
  115. package/dist/translations/lt.umd.js +23 -0
  116. package/dist/translations/lv.js +1 -1
  117. package/dist/translations/lv.umd.js +23 -0
  118. package/dist/translations/ms.js +1 -1
  119. package/dist/translations/ms.umd.js +23 -0
  120. package/dist/translations/nl.js +1 -1
  121. package/dist/translations/nl.umd.js +23 -0
  122. package/dist/translations/no.js +1 -1
  123. package/dist/translations/no.umd.js +23 -0
  124. package/dist/translations/pl.js +1 -1
  125. package/dist/translations/pl.umd.js +23 -0
  126. package/dist/translations/pt-br.js +1 -1
  127. package/dist/translations/pt-br.umd.js +23 -0
  128. package/dist/translations/pt.js +1 -1
  129. package/dist/translations/pt.umd.js +23 -0
  130. package/dist/translations/ro.js +1 -1
  131. package/dist/translations/ro.umd.js +23 -0
  132. package/dist/translations/ru.js +1 -1
  133. package/dist/translations/ru.umd.js +23 -0
  134. package/dist/translations/sk.js +1 -1
  135. package/dist/translations/sk.umd.js +23 -0
  136. package/dist/translations/sr-latn.js +1 -1
  137. package/dist/translations/sr-latn.umd.js +23 -0
  138. package/dist/translations/sr.js +1 -1
  139. package/dist/translations/sr.umd.js +23 -0
  140. package/dist/translations/sv.js +1 -1
  141. package/dist/translations/sv.umd.js +23 -0
  142. package/dist/translations/th.js +1 -1
  143. package/dist/translations/th.umd.js +23 -0
  144. package/dist/translations/ti.d.ts +8 -0
  145. package/dist/translations/ti.js +23 -0
  146. package/dist/translations/ti.umd.js +23 -0
  147. package/dist/translations/tk.js +1 -1
  148. package/dist/translations/tk.umd.js +23 -0
  149. package/dist/translations/tr.js +1 -1
  150. package/dist/translations/tr.umd.js +23 -0
  151. package/dist/translations/ug.js +1 -1
  152. package/dist/translations/ug.umd.js +23 -0
  153. package/dist/translations/uk.js +1 -1
  154. package/dist/translations/uk.umd.js +23 -0
  155. package/dist/translations/ur.js +1 -1
  156. package/dist/translations/ur.umd.js +23 -0
  157. package/dist/translations/uz.js +1 -1
  158. package/dist/translations/uz.umd.js +23 -0
  159. package/dist/translations/vi.js +1 -1
  160. package/dist/translations/vi.umd.js +23 -0
  161. package/dist/translations/zh-cn.js +1 -1
  162. package/dist/translations/zh-cn.umd.js +23 -0
  163. package/dist/translations/zh.js +1 -1
  164. package/dist/translations/zh.umd.js +23 -0
  165. package/lang/translations/af.po +16 -0
  166. package/lang/translations/ar.po +16 -0
  167. package/lang/translations/bg.po +16 -0
  168. package/lang/translations/bn.po +16 -0
  169. package/lang/translations/bs.po +16 -0
  170. package/lang/translations/ca.po +16 -0
  171. package/lang/translations/cs.po +16 -0
  172. package/lang/translations/da.po +16 -0
  173. package/lang/translations/de-ch.po +16 -0
  174. package/lang/translations/de.po +16 -0
  175. package/lang/translations/el.po +16 -0
  176. package/lang/translations/en-au.po +16 -0
  177. package/lang/translations/en.po +16 -0
  178. package/lang/translations/es-co.po +16 -0
  179. package/lang/translations/es.po +16 -0
  180. package/lang/translations/et.po +16 -0
  181. package/lang/translations/fa.po +16 -0
  182. package/lang/translations/fi.po +16 -0
  183. package/lang/translations/fr.po +16 -0
  184. package/lang/translations/gl.po +16 -0
  185. package/lang/translations/he.po +16 -0
  186. package/lang/translations/hi.po +16 -0
  187. package/lang/translations/hr.po +16 -0
  188. package/lang/translations/hu.po +16 -0
  189. package/lang/translations/id.po +16 -0
  190. package/lang/translations/it.po +16 -0
  191. package/lang/translations/ja.po +16 -0
  192. package/lang/translations/jv.po +16 -0
  193. package/lang/translations/ko.po +16 -0
  194. package/lang/translations/lt.po +16 -0
  195. package/lang/translations/lv.po +16 -0
  196. package/lang/translations/ms.po +16 -0
  197. package/lang/translations/nl.po +16 -0
  198. package/lang/translations/no.po +16 -0
  199. package/lang/translations/pl.po +16 -0
  200. package/lang/translations/pt-br.po +16 -0
  201. package/lang/translations/pt.po +16 -0
  202. package/lang/translations/ro.po +16 -0
  203. package/lang/translations/ru.po +16 -0
  204. package/lang/translations/sk.po +16 -0
  205. package/lang/translations/sr-latn.po +16 -0
  206. package/lang/translations/sr.po +16 -0
  207. package/lang/translations/sv.po +16 -0
  208. package/lang/translations/th.po +16 -0
  209. package/lang/translations/ti.po +250 -0
  210. package/lang/translations/tk.po +16 -0
  211. package/lang/translations/tr.po +16 -0
  212. package/lang/translations/ug.po +16 -0
  213. package/lang/translations/uk.po +16 -0
  214. package/lang/translations/ur.po +16 -0
  215. package/lang/translations/uz.po +16 -0
  216. package/lang/translations/vi.po +16 -0
  217. package/lang/translations/zh-cn.po +16 -0
  218. package/lang/translations/zh.po +16 -0
  219. package/package.json +4 -4
  220. package/src/adapters/aiadapter.js +1 -1
  221. package/src/adapters/aitextadapter.js +1 -1
  222. package/src/adapters/awstextadapter.js +1 -1
  223. package/src/adapters/openaitextadapter.js +1 -1
  224. package/src/aiassistant.js +1 -1
  225. package/src/aiassistantediting.js +1 -1
  226. package/src/aiassistantui.js +1 -1
  227. package/src/index.js +1 -1
  228. package/src/ui/aiassistantcontroller.js +1 -1
  229. package/src/ui/dropdown/aicommandslistview.js +1 -1
  230. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  231. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  232. package/src/ui/form/aiformcontentarea.js +1 -1
  233. package/src/ui/form/aiformerrorview.js +1 -1
  234. package/src/ui/form/aiformpromptview.js +1 -1
  235. package/src/ui/form/aiformtoolbarview.js +1 -1
  236. package/src/ui/form/aiformview.js +1 -1
  237. package/src/ui/form/aihistorylistitemview.js +1 -1
  238. package/src/ui/form/aihistorylistview.js +1 -1
  239. package/src/ui/form/prompthistory.js +1 -1
  240. package/src/ui/showaiassistantcommand.js +1 -1
  241. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a7ac0=_0x40af;(function(_0x2cf56a,_0x36f5a0){const _0x29f3b8=_0x40af,_0x3616c2=_0x2cf56a();while(!![]){try{const _0x371410=parseInt(_0x29f3b8(0x134))/0x1*(-parseInt(_0x29f3b8(0x115))/0x2)+-parseInt(_0x29f3b8(0x114))/0x3+parseInt(_0x29f3b8(0x13f))/0x4+-parseInt(_0x29f3b8(0x147))/0x5+parseInt(_0x29f3b8(0x128))/0x6*(parseInt(_0x29f3b8(0x100))/0x7)+-parseInt(_0x29f3b8(0x144))/0x8+-parseInt(_0x29f3b8(0x113))/0x9*(-parseInt(_0x29f3b8(0x137))/0xa);if(_0x371410===_0x36f5a0)break;else _0x3616c2['push'](_0x3616c2['shift']());}catch(_0x576bc1){_0x3616c2['push'](_0x3616c2['shift']());}}}(_0x2a6f,0x4cf16));function _0x2a6f(){const _0x39e6d6=['isProcessing','1080430tktUdl','remove','isEnabled','.ck-ai-form__loader','absolute','bindTemplate','focus','left','ck-ai-form__copy-button-wrapper','setContent','smooth','getSelection','ck-content','\x20ck-ai-form__copy-button--copied','execute','1079470kRjQZF','element','firstElementChild','div','ck-reset_all-excluded','addRange','appendLoader','listenTo','_createLoader','appendChild','loaderView','bind','AI\x20is\x20writing...','ck-ai-form__loader','icon','position','locale','body','textContent','9MjqtqZ','171009XfRiPf','19594pfjTMg','style','<span>[</span>','text/html','ck-ai-form__content-area--processing','setEndBefore','ck-ai-form__content-field','isVisible','scrollTo','querySelector','set','execCommand','ClipboardItem','text/plain','createRange','setStartAfter','ck-hidden','setTemplate','createElement','12KCMzKy','write','contentFieldView','<span>]</span>','-9999px','copy','lastElementChild','innerHTML','Copy','wheel','render','mousedown','35nvTzgu','ck-ai-form__content-area','copyButtonView','7980040tUDCkF','change:value','change:isProcessing','check','ck-ai-form__content-area-wrapper','removeAllRanges','_copyHTMLToClipboard','clipboard','1459516QYmIFV','class','scrollHeight','_createCopyButton','ck-ai-form__copy-button','4321288vCdGoc','value'];_0x2a6f=function(){return _0x39e6d6;};return _0x2a6f();}import{global as _0x4a8392}from'ckeditor5/src/utils.js';import{View as _0x3a8b87,ButtonView as _0x11d626,SpinnerView as _0x5bb139}from'ckeditor5/src/ui.js';import _0x56acd1 from'../../../theme/icons/copy.svg';function _0x40af(_0x34dbaf,_0x295c1d){const _0x2a6ffc=_0x2a6f();return _0x40af=function(_0x40af3b,_0x4ecca9){_0x40af3b=_0x40af3b-0xfe;let _0x297182=_0x2a6ffc[_0x40af3b];return _0x297182;},_0x40af(_0x34dbaf,_0x295c1d);}import{getTranslation as _0x383aa9}from'../../utils/common-translations.js';import{icons as _0x1b18d7}from'ckeditor5/src/core.js';export default class nt extends _0x3a8b87{constructor(_0x3ca4fd,_0x39a164=''){const _0x4d8d68=_0x40af;super(_0x3ca4fd),this[_0x4d8d68(0x11f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1fc483=this[_0x4d8d68(0x14c)];this[_0x4d8d68(0x12a)]=new ContentFieldView(_0x3ca4fd,_0x39a164),this[_0x4d8d68(0x136)]=this[_0x4d8d68(0x142)](),this[_0x4d8d68(0x126)]({'tag':_0x4d8d68(0x103),'attributes':{'class':['ck',_0x4d8d68(0x13b),_0x1fc483['if'](_0x4d8d68(0x11c),_0x4d8d68(0x125),_0x10a5ea=>!_0x10a5ea)],'tabindex':'-1'},'children':[{'tag':_0x4d8d68(0x103),'attributes':{'class':['ck',_0x4d8d68(0x135),_0x1fc483['if'](_0x4d8d68(0x146),_0x4d8d68(0x119))]},'children':[this[_0x4d8d68(0x12a)],{'tag':_0x4d8d68(0x103),'attributes':{'class':['ck',_0x4d8d68(0x14f)]},'children':[this[_0x4d8d68(0x136)]]}]}]});}[_0x3a7ac0(0x132)](){const _0x30bdf0=_0x3a7ac0;super[_0x30bdf0(0x132)](),this[_0x30bdf0(0x145)]&&this[_0x30bdf0(0x12a)][_0x30bdf0(0x150)](this[_0x30bdf0(0x145)]);let _0x22ac36=!0x1;this['on'](_0x30bdf0(0x138),(_0x3181e9,_0x365a09,_0x44b971)=>{const _0x3ea6dd=_0x30bdf0,_0x1009d9=!this[_0x3ea6dd(0x12a)][_0x3ea6dd(0x101)][_0x3ea6dd(0x11e)](_0x3ea6dd(0x14a));this[_0x3ea6dd(0x12a)][_0x3ea6dd(0x150)](_0x44b971),this[_0x3ea6dd(0x146)]&&_0x1009d9&&!_0x22ac36&&this[_0x3ea6dd(0x101)][_0x3ea6dd(0x11d)]({'top':this[_0x3ea6dd(0x101)][_0x3ea6dd(0x141)],'behavior':_0x3ea6dd(0x151)});}),this['on'](_0x30bdf0(0x139),(_0x5e4d4b,_0x4bc773,_0x4fce00)=>{const _0x4beb81=_0x30bdf0;_0x22ac36=!0x1,_0x4fce00?(this[_0x4beb81(0x145)]=null,this[_0x4beb81(0x12a)][_0x4beb81(0x106)]()):this[_0x4beb81(0x145)]||this[_0x4beb81(0x12a)][_0x4beb81(0x150)]('');}),this[_0x30bdf0(0x107)](this[_0x30bdf0(0x101)],_0x30bdf0(0x131),()=>{_0x22ac36=!0x0;}),this[_0x30bdf0(0x107)](this[_0x30bdf0(0x101)],_0x30bdf0(0x133),()=>{_0x22ac36=!0x0;});}[_0x3a7ac0(0x14d)](){const _0x4331c9=_0x3a7ac0;this[_0x4331c9(0x101)][_0x4331c9(0x14d)]();}[_0x3a7ac0(0x142)](){const _0x25fb7a=_0x3a7ac0,_0x503bf1=this[_0x25fb7a(0x110)],_0x35f801=new _0x11d626(this[_0x25fb7a(0x110)]),_0x262fb9=_0x25fb7a(0x143);return _0x35f801[_0x25fb7a(0x11f)]({'label':_0x383aa9(_0x503bf1,_0x25fb7a(0x130)),'icon':_0x56acd1,'class':_0x262fb9,'tooltip':!0x0}),_0x35f801[_0x25fb7a(0x10b)](_0x25fb7a(0x11c))['to'](this,_0x25fb7a(0x145),_0x5ad42e=>!!_0x5ad42e),_0x35f801[_0x25fb7a(0x10b)](_0x25fb7a(0x149))['to'](this,_0x25fb7a(0x146),_0x44d308=>!_0x44d308),_0x35f801['on'](_0x25fb7a(0xff),()=>{const _0x223528=_0x25fb7a;this[_0x223528(0x13d)](this[_0x223528(0x12a)][_0x223528(0x101)]),_0x35f801[_0x223528(0x10e)]=_0x1b18d7[_0x223528(0x13a)],_0x35f801[_0x223528(0x140)]=_0x262fb9+_0x223528(0xfe),this[_0x223528(0x14d)](),setTimeout(()=>{const _0x18a3d2=_0x223528;_0x35f801[_0x18a3d2(0x10e)]=_0x56acd1,_0x35f801[_0x18a3d2(0x140)]=_0x262fb9;},0x3e8);}),_0x35f801;}[_0x3a7ac0(0x13d)](_0x555dea){const _0x3217cf=_0x3a7ac0,{window:_0x1e6a37,document:_0x4a5cdd}=_0x4a8392;if(_0x1e6a37[_0x3217cf(0x121)]){const {Blob:_0x127ad3,ClipboardItem:_0x1928f1}=_0x1e6a37,_0x5da07b=[new _0x1928f1({'text/html':new _0x127ad3([_0x555dea[_0x3217cf(0x12f)]],{'type':_0x3217cf(0x118)}),'text/plain':new _0x127ad3([_0x555dea[_0x3217cf(0x112)]||''],{'type':_0x3217cf(0x122)})})];navigator[_0x3217cf(0x13e)][_0x3217cf(0x129)](_0x5da07b);}else{const _0x43642f=_0x4a5cdd[_0x3217cf(0x127)](_0x3217cf(0x103));_0x43642f[_0x3217cf(0x116)][_0x3217cf(0x10f)]=_0x3217cf(0x14b),_0x43642f[_0x3217cf(0x116)][_0x3217cf(0x14e)]=_0x3217cf(0x12c),_0x43642f[_0x3217cf(0x12f)]=_0x3217cf(0x117)+_0x555dea[_0x3217cf(0x12f)]+_0x3217cf(0x12b),_0x4a5cdd[_0x3217cf(0x111)][_0x3217cf(0x109)](_0x43642f);const _0x4cdcdd=_0x4a5cdd[_0x3217cf(0x123)]();_0x4cdcdd[_0x3217cf(0x124)](_0x43642f[_0x3217cf(0x102)]),_0x4cdcdd[_0x3217cf(0x11a)](_0x43642f[_0x3217cf(0x12e)]);const _0x15c003=_0x1e6a37[_0x3217cf(0x152)]();_0x15c003[_0x3217cf(0x13c)](),_0x15c003[_0x3217cf(0x105)](_0x4cdcdd),_0x4a5cdd[_0x3217cf(0x120)](_0x3217cf(0x12d)),_0x43642f[_0x3217cf(0x148)]();}}}export class ContentFieldView extends _0x3a8b87{constructor(_0x1012fc,_0x1b97e0=''){const _0x129f30=_0x3a7ac0;super(_0x1012fc),this[_0x129f30(0x10a)]=this[_0x129f30(0x108)](),this[_0x129f30(0x126)]({'tag':_0x129f30(0x103),'attributes':{'class':['ck',_0x129f30(0x153),_0x1b97e0,_0x129f30(0x104),_0x129f30(0x11b)]}});}[_0x3a7ac0(0x150)](_0x14225e){const _0x2d63c8=_0x3a7ac0;this[_0x2d63c8(0x101)][_0x2d63c8(0x12f)]=_0x14225e;}[_0x3a7ac0(0x106)](){const _0xefcb96=_0x3a7ac0;this[_0xefcb96(0x101)][_0xefcb96(0x109)](this[_0xefcb96(0x10a)][_0xefcb96(0x101)]);}[_0x3a7ac0(0x108)](){const _0x626f9a=_0x3a7ac0,_0x59e047=new _0x3a8b87(),_0x5f52f3=this[_0x626f9a(0x110)],_0x2a8c9c=new _0x5bb139();return _0x2a8c9c[_0x626f9a(0x11c)]=!0x0,_0x59e047[_0x626f9a(0x126)]({'tag':_0x626f9a(0x103),'attributes':{'class':['ck',_0x626f9a(0x10d)]},'children':[_0x2a8c9c,{'text':_0x383aa9(_0x5f52f3,_0x626f9a(0x10c))}]}),_0x59e047[_0x626f9a(0x132)](),_0x59e047;}}
23
+ function _0x3f19(_0x11a21f,_0x5bd791){const _0x4e54eb=_0x4e54();return _0x3f19=function(_0x3f194c,_0x160624){_0x3f194c=_0x3f194c-0xfc;let _0x477c07=_0x4e54eb[_0x3f194c];return _0x477c07;},_0x3f19(_0x11a21f,_0x5bd791);}function _0x4e54(){const _0x5ba1f4=['ck-content','querySelector','removeAllRanges','render','3123FxJICv','5442619nGOmLz','div','ck-ai-form__content-field','isVisible','bindTemplate','body','mousedown','965988rvVHXu','execCommand','isProcessing','ck-ai-form__content-area--processing','appendLoader','createRange','text/html','appendChild','focus','AI\x20is\x20writing...','\x20ck-ai-form__copy-button--copied','absolute','setStartAfter','ClipboardItem','smooth','left','class','listenTo','text/plain','icon','firstElementChild','wheel','copy','ck-ai-form__copy-button','addRange','ck-hidden','setTemplate','execute','133805GuWYJF','isEnabled','.ck-ai-form__loader','position','set','loaderView','scrollTo','ck-reset_all-excluded','Copy','<span>[</span>','ck-ai-form__content-area','change:isProcessing','setContent','getSelection','style','bind','_copyHTMLToClipboard','check','ck-ai-form__loader','write','innerHTML','copyButtonView','clipboard','setEndBefore','locale','ck-ai-form__copy-button-wrapper','3598752exBcEg','66880YrchOy','change:value','<span>]</span>','_createLoader','value','2847658XBJzhG','scrollHeight','createElement','element','204tDsEWc','ck-ai-form__content-area-wrapper','lastElementChild','contentFieldView','remove','-9999px','_createCopyButton','4130268PDgjzQ','textContent'];_0x4e54=function(){return _0x5ba1f4;};return _0x4e54();}const _0x30244b=_0x3f19;(function(_0x3f3461,_0x15331d){const _0x37fa16=_0x3f19,_0x457d53=_0x3f3461();while(!![]){try{const _0x549d43=-parseInt(_0x37fa16(0x144))/0x1+parseInt(_0x37fa16(0x12b))/0x2+-parseInt(_0x37fa16(0x136))/0x3+parseInt(_0x37fa16(0x12f))/0x4*(-parseInt(_0x37fa16(0x10b))/0x5)+-parseInt(_0x37fa16(0x125))/0x6+parseInt(_0x37fa16(0x13d))/0x7+parseInt(_0x37fa16(0x126))/0x8*(parseInt(_0x37fa16(0x13c))/0x9);if(_0x549d43===_0x15331d)break;else _0x457d53['push'](_0x457d53['shift']());}catch(_0x37716f){_0x457d53['push'](_0x457d53['shift']());}}}(_0x4e54,0xc2127));import{global as _0x1021ee}from'ckeditor5/src/utils.js';import{View as _0x1091a1,ButtonView as _0x3a1fa7,SpinnerView as _0x5869e7}from'ckeditor5/src/ui.js';import _0x1cfe24 from'../../../theme/icons/copy.svg';import{getTranslation as _0x4747fc}from'../../utils/common-translations.js';import{icons as _0x34be2b}from'ckeditor5/src/core.js';export default class nt extends _0x1091a1{constructor(_0x5ce8f7,_0x51f08f=''){const _0x1ff8d1=_0x3f19;super(_0x5ce8f7),this[_0x1ff8d1(0x10f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4bbd95=this[_0x1ff8d1(0x141)];this[_0x1ff8d1(0x132)]=new ContentFieldView(_0x5ce8f7,_0x51f08f),this[_0x1ff8d1(0x120)]=this[_0x1ff8d1(0x135)](),this[_0x1ff8d1(0x109)]({'tag':_0x1ff8d1(0x13e),'attributes':{'class':['ck',_0x1ff8d1(0x130),_0x4bbd95['if'](_0x1ff8d1(0x140),_0x1ff8d1(0x108),_0x436918=>!_0x436918)],'tabindex':'-1'},'children':[{'tag':_0x1ff8d1(0x13e),'attributes':{'class':['ck',_0x1ff8d1(0x115),_0x4bbd95['if'](_0x1ff8d1(0x146),_0x1ff8d1(0x147))]},'children':[this[_0x1ff8d1(0x132)],{'tag':_0x1ff8d1(0x13e),'attributes':{'class':['ck',_0x1ff8d1(0x124)]},'children':[this[_0x1ff8d1(0x120)]]}]}]});}[_0x30244b(0x13b)](){const _0x4e56ae=_0x30244b;super[_0x4e56ae(0x13b)](),this[_0x4e56ae(0x12a)]&&this[_0x4e56ae(0x132)][_0x4e56ae(0x117)](this[_0x4e56ae(0x12a)]);let _0x502f3b=!0x1;this['on'](_0x4e56ae(0x127),(_0x162bf1,_0x4ad55f,_0xc412b7)=>{const _0x1aa9df=_0x4e56ae,_0x28ffb9=!this[_0x1aa9df(0x132)][_0x1aa9df(0x12e)][_0x1aa9df(0x139)](_0x1aa9df(0x10d));this[_0x1aa9df(0x132)][_0x1aa9df(0x117)](_0xc412b7),this[_0x1aa9df(0x146)]&&_0x28ffb9&&!_0x502f3b&&this[_0x1aa9df(0x12e)][_0x1aa9df(0x111)]({'top':this[_0x1aa9df(0x12e)][_0x1aa9df(0x12c)],'behavior':_0x1aa9df(0xfd)});}),this['on'](_0x4e56ae(0x116),(_0x70179c,_0x59f679,_0x4026e3)=>{const _0x371ae9=_0x4e56ae;_0x502f3b=!0x1,_0x4026e3?(this[_0x371ae9(0x12a)]=null,this[_0x371ae9(0x132)][_0x371ae9(0x148)]()):this[_0x371ae9(0x12a)]||this[_0x371ae9(0x132)][_0x371ae9(0x117)]('');}),this[_0x4e56ae(0x100)](this[_0x4e56ae(0x12e)],_0x4e56ae(0x104),()=>{_0x502f3b=!0x0;}),this[_0x4e56ae(0x100)](this[_0x4e56ae(0x12e)],_0x4e56ae(0x143),()=>{_0x502f3b=!0x0;});}[_0x30244b(0x14c)](){const _0x45ec68=_0x30244b;this[_0x45ec68(0x12e)][_0x45ec68(0x14c)]();}[_0x30244b(0x135)](){const _0x567f51=_0x30244b,_0x4be0ff=this[_0x567f51(0x123)],_0x22b2b3=new _0x3a1fa7(this[_0x567f51(0x123)]),_0x5d848f=_0x567f51(0x106);return _0x22b2b3[_0x567f51(0x10f)]({'label':_0x4747fc(_0x4be0ff,_0x567f51(0x113)),'icon':_0x1cfe24,'class':_0x5d848f,'tooltip':!0x0}),_0x22b2b3[_0x567f51(0x11a)](_0x567f51(0x140))['to'](this,_0x567f51(0x12a),_0x5093b1=>!!_0x5093b1),_0x22b2b3[_0x567f51(0x11a)](_0x567f51(0x10c))['to'](this,_0x567f51(0x146),_0x241f67=>!_0x241f67),_0x22b2b3['on'](_0x567f51(0x10a),()=>{const _0x49cfb5=_0x567f51;this[_0x49cfb5(0x11b)](this[_0x49cfb5(0x132)][_0x49cfb5(0x12e)]),_0x22b2b3[_0x49cfb5(0x102)]=_0x34be2b[_0x49cfb5(0x11c)],_0x22b2b3[_0x49cfb5(0xff)]=_0x5d848f+_0x49cfb5(0x14e),this[_0x49cfb5(0x14c)](),setTimeout(()=>{const _0x1dc755=_0x49cfb5;_0x22b2b3[_0x1dc755(0x102)]=_0x1cfe24,_0x22b2b3[_0x1dc755(0xff)]=_0x5d848f;},0x3e8);}),_0x22b2b3;}[_0x30244b(0x11b)](_0x2486d8){const _0x25872f=_0x30244b,{window:_0x5a138d,document:_0x8ac569}=_0x1021ee;if(_0x5a138d[_0x25872f(0xfc)]){const {Blob:_0x31c3bd,ClipboardItem:_0x54312}=_0x5a138d,_0x2ecb73=[new _0x54312({'text/html':new _0x31c3bd([_0x2486d8[_0x25872f(0x11f)]],{'type':_0x25872f(0x14a)}),'text/plain':new _0x31c3bd([_0x2486d8[_0x25872f(0x137)]||''],{'type':_0x25872f(0x101)})})];navigator[_0x25872f(0x121)][_0x25872f(0x11e)](_0x2ecb73);}else{const _0xd21b8d=_0x8ac569[_0x25872f(0x12d)](_0x25872f(0x13e));_0xd21b8d[_0x25872f(0x119)][_0x25872f(0x10e)]=_0x25872f(0x14f),_0xd21b8d[_0x25872f(0x119)][_0x25872f(0xfe)]=_0x25872f(0x134),_0xd21b8d[_0x25872f(0x11f)]=_0x25872f(0x114)+_0x2486d8[_0x25872f(0x11f)]+_0x25872f(0x128),_0x8ac569[_0x25872f(0x142)][_0x25872f(0x14b)](_0xd21b8d);const _0x23738e=_0x8ac569[_0x25872f(0x149)]();_0x23738e[_0x25872f(0x150)](_0xd21b8d[_0x25872f(0x103)]),_0x23738e[_0x25872f(0x122)](_0xd21b8d[_0x25872f(0x131)]);const _0x435ea8=_0x5a138d[_0x25872f(0x118)]();_0x435ea8[_0x25872f(0x13a)](),_0x435ea8[_0x25872f(0x107)](_0x23738e),_0x8ac569[_0x25872f(0x145)](_0x25872f(0x105)),_0xd21b8d[_0x25872f(0x133)]();}}}export class ContentFieldView extends _0x1091a1{constructor(_0x42da79,_0x3cfb16=''){const _0x54e1a1=_0x30244b;super(_0x42da79),this[_0x54e1a1(0x110)]=this[_0x54e1a1(0x129)](),this[_0x54e1a1(0x109)]({'tag':_0x54e1a1(0x13e),'attributes':{'class':['ck',_0x54e1a1(0x138),_0x3cfb16,_0x54e1a1(0x112),_0x54e1a1(0x13f)]}});}[_0x30244b(0x117)](_0x131a64){const _0x3dcadf=_0x30244b;this[_0x3dcadf(0x12e)][_0x3dcadf(0x11f)]=_0x131a64;}[_0x30244b(0x148)](){const _0x4abe7f=_0x30244b;this[_0x4abe7f(0x12e)][_0x4abe7f(0x14b)](this[_0x4abe7f(0x110)][_0x4abe7f(0x12e)]);}[_0x30244b(0x129)](){const _0x520efb=_0x30244b,_0x3a6f8b=new _0x1091a1(),_0x2bcd7b=this[_0x520efb(0x123)],_0x58e4ac=new _0x5869e7();return _0x58e4ac[_0x520efb(0x140)]=!0x0,_0x3a6f8b[_0x520efb(0x109)]({'tag':_0x520efb(0x13e),'attributes':{'class':['ck',_0x520efb(0x11d)]},'children':[_0x58e4ac,{'text':_0x4747fc(_0x2bcd7b,_0x520efb(0x14d))}]}),_0x3a6f8b[_0x520efb(0x13b)](),_0x3a6f8b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4fdb72,_0xf62e67){const _0x5218cd=_0x521a,_0x1253a1=_0x4fdb72();while(!![]){try{const _0x1a86c6=-parseInt(_0x5218cd(0x1dc))/0x1*(-parseInt(_0x5218cd(0x1eb))/0x2)+-parseInt(_0x5218cd(0x1db))/0x3*(parseInt(_0x5218cd(0x1da))/0x4)+-parseInt(_0x5218cd(0x1dd))/0x5*(parseInt(_0x5218cd(0x1e3))/0x6)+parseInt(_0x5218cd(0x1e2))/0x7*(parseInt(_0x5218cd(0x1e9))/0x8)+parseInt(_0x5218cd(0x1e0))/0x9*(parseInt(_0x5218cd(0x1de))/0xa)+parseInt(_0x5218cd(0x1e7))/0xb+-parseInt(_0x5218cd(0x1e5))/0xc;if(_0x1a86c6===_0xf62e67)break;else _0x1253a1['push'](_0x1253a1['shift']());}catch(_0x4609f4){_0x1253a1['push'](_0x1253a1['shift']());}}}(_0x5e57,0x4b601));import{View as _0x3dacaa,IconView as _0x51c9c1}from'ckeditor5/src/ui.js';function _0x521a(_0x517915,_0x2c2b78){const _0x5e57f9=_0x5e57();return _0x521a=function(_0x521a11,_0x291a16){_0x521a11=_0x521a11-0x1da;let _0x2c54d8=_0x5e57f9[_0x521a11];return _0x2c54d8;},_0x521a(_0x517915,_0x2c2b78);}import _0x562bc2 from'../../../theme/icons/error.svg';function _0x5e57(){const _0x127c22=['4479376mFARKH','content','155848xfewlo','text','2676QylYKX','setTemplate','83208ZhliXT','9BPhOoS','407GhLras','2263915qLTThj','80rYKdaX','ck-ai-form__error','27441QDsoni','bindTemplate','77NIYHfL','6dyWqiO','div','4398468YPprSp','set'];_0x5e57=function(){return _0x127c22;};return _0x5e57();}export default class mt extends _0x3dacaa{constructor(_0x375ae5,_0x3dafe3=''){const _0xabb1cc=_0x521a;super(_0x375ae5);const _0x1dd5b6=new _0x51c9c1(),_0x331451=this[_0xabb1cc(0x1e1)];this[_0xabb1cc(0x1e6)](_0xabb1cc(0x1ea),_0x3dafe3),_0x1dd5b6[_0xabb1cc(0x1e8)]=_0x562bc2,this[_0xabb1cc(0x1ec)]({'tag':_0xabb1cc(0x1e4),'attributes':{'class':['ck',_0xabb1cc(0x1df)]},'children':[_0x1dd5b6,{'text':_0x331451['to'](_0xabb1cc(0x1ea))}]});}}
23
+ (function(_0x4d9747,_0x223834){const _0x13bf14=_0x26c6,_0x2ce48a=_0x4d9747();while(!![]){try{const _0x263b0b=parseInt(_0x13bf14(0x8e))/0x1+parseInt(_0x13bf14(0x90))/0x2*(-parseInt(_0x13bf14(0x96))/0x3)+parseInt(_0x13bf14(0x97))/0x4*(-parseInt(_0x13bf14(0x92))/0x5)+-parseInt(_0x13bf14(0x95))/0x6*(parseInt(_0x13bf14(0xa1))/0x7)+parseInt(_0x13bf14(0x98))/0x8*(parseInt(_0x13bf14(0x9e))/0x9)+-parseInt(_0x13bf14(0x9d))/0xa*(-parseInt(_0x13bf14(0x8f))/0xb)+-parseInt(_0x13bf14(0x9b))/0xc*(-parseInt(_0x13bf14(0x9a))/0xd);if(_0x263b0b===_0x223834)break;else _0x2ce48a['push'](_0x2ce48a['shift']());}catch(_0xade8e7){_0x2ce48a['push'](_0x2ce48a['shift']());}}}(_0x8273,0x848ab));import{View as _0x4acf5d,IconView as _0x57a6cd}from'ckeditor5/src/ui.js';function _0x8273(){const _0x367ded=['bindTemplate','10PWfEab','819xIjZPI','content','setTemplate','7WFSGif','138420yvdtBB','7871743NpdGMb','186zJyDnP','text','47290ZOjxlY','div','set','5537424ULSVPy','12387WXDBVR','452ZEEsDb','33544EhiGJi','ck-ai-form__error','4511yWkFhC','58200TSLPlV'];_0x8273=function(){return _0x367ded;};return _0x8273();}function _0x26c6(_0x14cb94,_0x10df3c){const _0x8273b5=_0x8273();return _0x26c6=function(_0x26c68b,_0x2bf65c){_0x26c68b=_0x26c68b-0x8e;let _0x2e313b=_0x8273b5[_0x26c68b];return _0x2e313b;},_0x26c6(_0x14cb94,_0x10df3c);}import _0x359b73 from'../../../theme/icons/error.svg';export default class mt extends _0x4acf5d{constructor(_0x21d338,_0x175eee=''){const _0x16181a=_0x26c6;super(_0x21d338);const _0x3c2f53=new _0x57a6cd(),_0x3de2da=this[_0x16181a(0x9c)];this[_0x16181a(0x94)](_0x16181a(0x91),_0x175eee),_0x3c2f53[_0x16181a(0x9f)]=_0x359b73,this[_0x16181a(0xa0)]({'tag':_0x16181a(0x93),'attributes':{'class':['ck',_0x16181a(0x99)]},'children':[_0x3c2f53,{'text':_0x3de2da['to'](_0x16181a(0x91))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e7f27=_0x315a;(function(_0x5cfd5f,_0x2f4e1f){const _0x3d1965=_0x315a,_0x364859=_0x5cfd5f();while(!![]){try{const _0x185007=-parseInt(_0x3d1965(0x19b))/0x1+parseInt(_0x3d1965(0x1ab))/0x2*(parseInt(_0x3d1965(0x185))/0x3)+parseInt(_0x3d1965(0x1b0))/0x4+-parseInt(_0x3d1965(0x17d))/0x5*(-parseInt(_0x3d1965(0x180))/0x6)+parseInt(_0x3d1965(0x1a8))/0x7+-parseInt(_0x3d1965(0x191))/0x8*(parseInt(_0x3d1965(0x18c))/0x9)+-parseInt(_0x3d1965(0x197))/0xa;if(_0x185007===_0x2f4e1f)break;else _0x364859['push'](_0x364859['shift']());}catch(_0x4b8da5){_0x364859['push'](_0x364859['shift']());}}}(_0x49f7,0xae622));import{Rect as _0x204e79,global as _0x35cbf3,isVisible as _0x53b485}from'ckeditor5/src/utils.js';function _0x315a(_0x1ee52a,_0x5e3fa9){const _0x49f771=_0x49f7();return _0x315a=function(_0x315ae1,_0x5f5d5a){_0x315ae1=_0x315ae1-0x17b;let _0x42e3eb=_0x49f771[_0x315ae1];return _0x42e3eb;},_0x315a(_0x1ee52a,_0x5e3fa9);}import{AutocompleteView as _0x649b09,ButtonView as _0x5e9772}from'ckeditor5/src/ui.js';import{icons as _0x1d2473}from'ckeditor5/src/core.js';import{getTranslation as _0x21af5e}from'../../utils/common-translations.js';function _0x49f7(){const _0xd05ccc=['execute','373864KQBYzz','uiLanguageDirection','excludeScrollbarsAndBorders','add','target','render','14530600QUqZQl','_createShowHistoryButton','ck-ai-form__submit','resultsView','1160519FeIsHK','focus','rtl','history','bind','focusLast','children','ck-ai-form__toggle-history','queryView','focusFirst','set','fire','showHistoryButtonView','9249443IymycO','window','locale','1522956RzxZBo','isOn','History','focusCycler','minRows','2038496ZtRHkJ','isVisible','filteredView','enter','style','requestAnimationFrame','left','_createSubmitButton','15RSFinZ','submit','fieldView','1751202cDCfAq','submitButtonView','maxRows','fieldWrapperChildren','element','3ZBGLSg','update','value','right','width','isEmpty','isEnabled','27NiMAvP','Submit','focusableChildren','keystrokes'];_0x49f7=function(){return _0xd05ccc;};return _0x49f7();}import _0xc25ad9 from'../../../theme/icons/submit.svg';export default class pt extends _0x649b09{constructor(_0x3d00a8,_0x1f3a89){const _0x47d635=_0x315a;super(_0x3d00a8,_0x1f3a89),this[_0x47d635(0x1a3)][_0x47d635(0x17f)][_0x47d635(0x1af)]=0x1,this[_0x47d635(0x1a3)][_0x47d635(0x17f)][_0x47d635(0x182)]=0x3,this[_0x47d635(0x181)]=this[_0x47d635(0x17c)](),this[_0x47d635(0x1a7)]=this[_0x47d635(0x198)](),this[_0x47d635(0x18e)][_0x47d635(0x194)](this[_0x47d635(0x1a7)],0x1),this[_0x47d635(0x18e)][_0x47d635(0x194)](this[_0x47d635(0x181)]);}[_0x1e7f27(0x196)](){const _0x1275c5=_0x1e7f27;super[_0x1275c5(0x196)](),this[_0x1275c5(0x1a3)][_0x1275c5(0x183)][_0x1275c5(0x194)](this[_0x1275c5(0x1a7)]),this[_0x1275c5(0x1a1)][_0x1275c5(0x194)](this[_0x1275c5(0x181)]),this[_0x1275c5(0x18f)][_0x1275c5(0x1a5)](_0x1275c5(0x1b3),(_0x28b075,_0x842c5b)=>{const _0x42fb36=_0x1275c5;_0x28b075[_0x42fb36(0x195)]==this[_0x42fb36(0x1a3)][_0x42fb36(0x17f)][_0x42fb36(0x184)]&&(this[_0x42fb36(0x17e)](),_0x842c5b());});}[_0x1e7f27(0x17c)](){const _0x3987ed=_0x1e7f27,_0x27c13e=new _0x5e9772(this[_0x3987ed(0x1aa)]),_0x244e0c=this[_0x3987ed(0x1aa)];return _0x27c13e[_0x3987ed(0x1a5)]({'icon':_0xc25ad9,'label':_0x21af5e(_0x244e0c,_0x3987ed(0x18d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3987ed(0x199)}),_0x27c13e['on'](_0x3987ed(0x190),()=>{const _0x169444=_0x3987ed;this[_0x169444(0x17e)]();}),_0x27c13e[_0x3987ed(0x19f)](_0x3987ed(0x18b))['to'](this[_0x3987ed(0x1a3)][_0x3987ed(0x17f)],_0x3987ed(0x18a),this,_0x3987ed(0x18b),(_0x52a832,_0x3fcd26)=>!_0x52a832&&_0x3fcd26),_0x27c13e;}[_0x1e7f27(0x198)](){const _0x377508=_0x1e7f27,_0x14d650=new _0x5e9772(this[_0x377508(0x1aa)]),_0x55d54c=this[_0x377508(0x19a)],_0x27b3c2=this[_0x377508(0x1aa)];_0x14d650[_0x377508(0x1a5)]({'label':_0x21af5e(_0x27b3c2,_0x377508(0x1ad)),'withText':!0x1,'icon':_0x1d2473[_0x377508(0x19e)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x377508(0x1a2)}),_0x14d650[_0x377508(0x19f)](_0x377508(0x1ac))['to'](_0x55d54c,_0x377508(0x1b1)),_0x14d650[_0x377508(0x19f)](_0x377508(0x18b))['to'](this,_0x377508(0x18b)),_0x14d650['on'](_0x377508(0x190),()=>{const _0x2933ef=_0x377508;_0x55d54c[_0x2933ef(0x1b1)]=!_0x55d54c[_0x2933ef(0x1b1)],_0x55d54c[_0x2933ef(0x1b1)]?this[_0x2933ef(0x1b2)][_0x2933ef(0x19c)]():this[_0x2933ef(0x19c)]();});const _0x27958f=()=>{const _0x5285bd=_0x377508;_0x35cbf3[_0x5285bd(0x1a9)][_0x5285bd(0x1b5)](()=>{const _0x5cbb51=_0x5285bd;if(_0x53b485(this[_0x5cbb51(0x184)])){const _0x30af8d=new _0x204e79(this[_0x5cbb51(0x1a3)][_0x5cbb51(0x17f)][_0x5cbb51(0x184)]),_0x3c893b=_0x30af8d[_0x5cbb51(0x189)],_0x30f0ba=_0x5cbb51(0x19d)===_0x27b3c2[_0x5cbb51(0x192)]?_0x5cbb51(0x17b):_0x5cbb51(0x188);_0x30af8d[_0x5cbb51(0x193)](),_0x14d650[_0x5cbb51(0x184)][_0x5cbb51(0x1b4)][_0x30f0ba]=_0x3c893b-_0x30af8d[_0x5cbb51(0x189)]+0x1+'px';}});};return this[_0x377508(0x1a3)][_0x377508(0x17f)]['on'](_0x377508(0x186),_0x27958f),this['on'](_0x377508(0x196),_0x27958f),_0x14d650;}[_0x1e7f27(0x17e)](){const _0x977135=_0x1e7f27,_0x50da02=this[_0x977135(0x1a3)][_0x977135(0x17f)][_0x977135(0x184)][_0x977135(0x187)];this[_0x977135(0x1a6)](_0x977135(0x17e),_0x50da02);}[_0x1e7f27(0x19c)](_0x1b27fc){const _0x3fee67=_0x1e7f27;-0x1===_0x1b27fc?this[_0x3fee67(0x1ae)][_0x3fee67(0x1a0)]():this[_0x3fee67(0x1ae)][_0x3fee67(0x1a4)]();}}
23
+ const _0x570a13=_0x5a26;(function(_0x4f3860,_0x1904c2){const _0x1974bd=_0x5a26,_0x39ab1f=_0x4f3860();while(!![]){try{const _0x593972=-parseInt(_0x1974bd(0xe2))/0x1+parseInt(_0x1974bd(0xd7))/0x2+parseInt(_0x1974bd(0xe7))/0x3*(parseInt(_0x1974bd(0xe1))/0x4)+parseInt(_0x1974bd(0xb2))/0x5*(-parseInt(_0x1974bd(0xe4))/0x6)+parseInt(_0x1974bd(0xdf))/0x7*(parseInt(_0x1974bd(0xb8))/0x8)+parseInt(_0x1974bd(0xb7))/0x9*(parseInt(_0x1974bd(0xc2))/0xa)+parseInt(_0x1974bd(0xd1))/0xb*(-parseInt(_0x1974bd(0xce))/0xc);if(_0x593972===_0x1904c2)break;else _0x39ab1f['push'](_0x39ab1f['shift']());}catch(_0x8d41d7){_0x39ab1f['push'](_0x39ab1f['shift']());}}}(_0x11cd,0xb4aa1));import{Rect as _0x138d29,global as _0x35613b,isVisible as _0x2bc32c}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1e96b5,ButtonView as _0x10d642}from'ckeditor5/src/ui.js';import{icons as _0x265369}from'ckeditor5/src/core.js';function _0x11cd(){const _0x54bdd7=['right','element','276YJFeTl','enter','focusCycler','337007dvaMRQ','value','fieldWrapperChildren','bind','locale','focusableChildren','1946010IiMLOQ','style','resultsView','keystrokes','queryView','excludeScrollbarsAndBorders','add','ck-ai-form__toggle-history','45941dGLrgG','render','1864vByDxT','1023784WBxOOL','isEnabled','2580042iLoqbk','uiLanguageDirection','submitButtonView','1542iwDQuy','submit','update','target','fieldView','isOn','minRows','focus','5WFSeod','history','fire','window','set','254826cnYXkS','640GTtxJf','isVisible','focusFirst','History','ck-ai-form__submit','showHistoryButtonView','isEmpty','_createSubmitButton','execute','children','410wZfNcW','maxRows','left','filteredView','focusLast','Submit','rtl','width','requestAnimationFrame','_createShowHistoryButton'];_0x11cd=function(){return _0x54bdd7;};return _0x11cd();}function _0x5a26(_0x48dfd1,_0x50d5b6){const _0x11cd31=_0x11cd();return _0x5a26=function(_0x5a2634,_0x4dded5){_0x5a2634=_0x5a2634-0xaf;let _0x4d0918=_0x11cd31[_0x5a2634];return _0x4d0918;},_0x5a26(_0x48dfd1,_0x50d5b6);}import{getTranslation as _0x4e4f90}from'../../utils/common-translations.js';import _0x1ce166 from'../../../theme/icons/submit.svg';export default class pt extends _0x1e96b5{constructor(_0x4afcf6,_0x451d28){const _0x410236=_0x5a26;super(_0x4afcf6,_0x451d28),this[_0x410236(0xdb)][_0x410236(0xeb)][_0x410236(0xb0)]=0x1,this[_0x410236(0xdb)][_0x410236(0xeb)][_0x410236(0xc3)]=0x3,this[_0x410236(0xe6)]=this[_0x410236(0xbf)](),this[_0x410236(0xbd)]=this[_0x410236(0xcb)](),this[_0x410236(0xd6)][_0x410236(0xdd)](this[_0x410236(0xbd)],0x1),this[_0x410236(0xd6)][_0x410236(0xdd)](this[_0x410236(0xe6)]);}[_0x570a13(0xe0)](){const _0x2073fb=_0x570a13;super[_0x2073fb(0xe0)](),this[_0x2073fb(0xdb)][_0x2073fb(0xd3)][_0x2073fb(0xdd)](this[_0x2073fb(0xbd)]),this[_0x2073fb(0xc1)][_0x2073fb(0xdd)](this[_0x2073fb(0xe6)]),this[_0x2073fb(0xda)][_0x2073fb(0xb6)](_0x2073fb(0xcf),(_0x172ae4,_0x4d515f)=>{const _0x2c82aa=_0x2073fb;_0x172ae4[_0x2c82aa(0xea)]==this[_0x2c82aa(0xdb)][_0x2c82aa(0xeb)][_0x2c82aa(0xcd)]&&(this[_0x2c82aa(0xe8)](),_0x4d515f());});}[_0x570a13(0xbf)](){const _0xe13d58=_0x570a13,_0x32e574=new _0x10d642(this[_0xe13d58(0xd5)]),_0x30c849=this[_0xe13d58(0xd5)];return _0x32e574[_0xe13d58(0xb6)]({'icon':_0x1ce166,'label':_0x4e4f90(_0x30c849,_0xe13d58(0xc7)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xe13d58(0xbc)}),_0x32e574['on'](_0xe13d58(0xc0),()=>{const _0x4ee3d6=_0xe13d58;this[_0x4ee3d6(0xe8)]();}),_0x32e574[_0xe13d58(0xd4)](_0xe13d58(0xe3))['to'](this[_0xe13d58(0xdb)][_0xe13d58(0xeb)],_0xe13d58(0xbe),this,_0xe13d58(0xe3),(_0x45d8aa,_0x26293d)=>!_0x45d8aa&&_0x26293d),_0x32e574;}[_0x570a13(0xcb)](){const _0x208ad6=_0x570a13,_0x4dfb58=new _0x10d642(this[_0x208ad6(0xd5)]),_0x4bd854=this[_0x208ad6(0xd9)],_0xf339c9=this[_0x208ad6(0xd5)];_0x4dfb58[_0x208ad6(0xb6)]({'label':_0x4e4f90(_0xf339c9,_0x208ad6(0xbb)),'withText':!0x1,'icon':_0x265369[_0x208ad6(0xb3)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x208ad6(0xde)}),_0x4dfb58[_0x208ad6(0xd4)](_0x208ad6(0xaf))['to'](_0x4bd854,_0x208ad6(0xb9)),_0x4dfb58[_0x208ad6(0xd4)](_0x208ad6(0xe3))['to'](this,_0x208ad6(0xe3)),_0x4dfb58['on'](_0x208ad6(0xc0),()=>{const _0x221092=_0x208ad6;_0x4bd854[_0x221092(0xb9)]=!_0x4bd854[_0x221092(0xb9)],_0x4bd854[_0x221092(0xb9)]?this[_0x221092(0xc5)][_0x221092(0xb1)]():this[_0x221092(0xb1)]();});const _0x15bab5=()=>{const _0x32b9c9=_0x208ad6;_0x35613b[_0x32b9c9(0xb5)][_0x32b9c9(0xca)](()=>{const _0x2bc5cd=_0x32b9c9;if(_0x2bc32c(this[_0x2bc5cd(0xcd)])){const _0x22be24=new _0x138d29(this[_0x2bc5cd(0xdb)][_0x2bc5cd(0xeb)][_0x2bc5cd(0xcd)]),_0x440229=_0x22be24[_0x2bc5cd(0xc9)],_0x5fd19=_0x2bc5cd(0xc8)===_0xf339c9[_0x2bc5cd(0xe5)]?_0x2bc5cd(0xc4):_0x2bc5cd(0xcc);_0x22be24[_0x2bc5cd(0xdc)](),_0x4dfb58[_0x2bc5cd(0xcd)][_0x2bc5cd(0xd8)][_0x5fd19]=_0x440229-_0x22be24[_0x2bc5cd(0xc9)]+0x1+'px';}});};return this[_0x208ad6(0xdb)][_0x208ad6(0xeb)]['on'](_0x208ad6(0xe9),_0x15bab5),this['on'](_0x208ad6(0xe0),_0x15bab5),_0x4dfb58;}[_0x570a13(0xe8)](){const _0x5a5f88=_0x570a13,_0x16005a=this[_0x5a5f88(0xdb)][_0x5a5f88(0xeb)][_0x5a5f88(0xcd)][_0x5a5f88(0xd2)];this[_0x5a5f88(0xb4)](_0x5a5f88(0xe8),_0x16005a);}[_0x570a13(0xb1)](_0x222002){const _0x4fae47=_0x570a13;-0x1===_0x222002?this[_0x4fae47(0xd0)][_0x4fae47(0xc6)]():this[_0x4fae47(0xd0)][_0x4fae47(0xba)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xafae15=_0xa49b;(function(_0x216368,_0x325ce3){const _0x17ca65=_0xa49b,_0x37d726=_0x216368();while(!![]){try{const _0x29af4e=parseInt(_0x17ca65(0x202))/0x1+-parseInt(_0x17ca65(0x201))/0x2+parseInt(_0x17ca65(0x209))/0x3*(-parseInt(_0x17ca65(0x1f0))/0x4)+-parseInt(_0x17ca65(0x1f3))/0x5*(-parseInt(_0x17ca65(0x1f6))/0x6)+parseInt(_0x17ca65(0x1f4))/0x7+-parseInt(_0x17ca65(0x1fc))/0x8+parseInt(_0x17ca65(0x203))/0x9*(parseInt(_0x17ca65(0x1fb))/0xa);if(_0x29af4e===_0x325ce3)break;else _0x37d726['push'](_0x37d726['shift']());}catch(_0x110bf5){_0x37d726['push'](_0x37d726['shift']());}}}(_0x4562,0xc0890));function _0x4562(){const _0x4d8b39=['stopButton','423cKBWdo','addMany','ck-ai-form__toolbar','ck-hidden','toUpperCase','_CONTENT','isVisible','tryAgainButton','replace','Try\x20again','label','Stop','19636oCkJUR','insert','set','5HEmPDb','134477wALSwB','replaceButton','287682WOhbbn','ck-button-action','AI_','REPLACE','locale','240750AgEOSe','11173968EndfpU','bind','mainAction','insertButton','Insert\x20below','2932558bFvxdj','1122835JARhoB','1179XuSxCN','items','extendTemplate','bindTemplate','_createButton'];_0x4562=function(){return _0x4d8b39;};return _0x4562();}import{ToolbarView as _0x59e73c,ButtonView as _0x461928}from'ckeditor5/src/ui.js';function _0xa49b(_0x20b1ac,_0x5dca4f){const _0x456228=_0x4562();return _0xa49b=function(_0xa49bfc,_0x528807){_0xa49bfc=_0xa49bfc-0x1e5;let _0x48b9fe=_0x456228[_0xa49bfc];return _0x48b9fe;},_0xa49b(_0x20b1ac,_0x5dca4f);}import{getTranslation as _0x29246b}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xafae15(0x1ec),'INSERT':_0xafae15(0x1f1)};export default class Tt extends _0x59e73c{constructor(_0x2e61d9){const _0x29b416=_0xafae15;super(_0x2e61d9),this[_0x29b416(0x1f2)](_0x29b416(0x1ea),!0x1),this[_0x29b416(0x1f2)](_0x29b416(0x1fe),AIFormToolbarViewMainActionLabel[_0x29b416(0x1f9)]),this[_0x29b416(0x1f5)]=this[_0x29b416(0x207)]('',_0x29b416(0x1f7)),this[_0x29b416(0x1f5)][_0x29b416(0x1fd)](_0x29b416(0x1ee))['to'](this,_0x29b416(0x1fe),_0x347b71=>_0x29246b(_0x2e61d9,_0x29b416(0x1f8)+_0x347b71[_0x29b416(0x1e8)]()+_0x29b416(0x1e9))),this[_0x29b416(0x1ff)]=this[_0x29b416(0x207)](_0x29246b(_0x2e61d9,_0x29b416(0x200))),this[_0x29b416(0x1eb)]=this[_0x29b416(0x207)](_0x29246b(_0x2e61d9,_0x29b416(0x1ed))),this[_0x29b416(0x208)]=this[_0x29b416(0x207)](_0x29246b(_0x2e61d9,_0x29b416(0x1ef)));const _0xa268e9=this[_0x29b416(0x206)];this[_0x29b416(0x205)]({'attributes':{'class':[_0x29b416(0x1e6),_0xa268e9['if'](_0x29b416(0x1ea),_0x29b416(0x1e7),_0x45950f=>!_0x45950f)]}}),this[_0x29b416(0x204)][_0x29b416(0x1e5)]([this[_0x29b416(0x1f5)],this[_0x29b416(0x1ff)],this[_0x29b416(0x1eb)],this[_0x29b416(0x208)]]);}[_0xafae15(0x207)](_0x2b0efc,_0x5d1524){const _0x149361=_0xafae15,_0x37fe28=new _0x461928(this[_0x149361(0x1fa)]);return _0x37fe28[_0x149361(0x1f2)]({'label':_0x2b0efc,'class':_0x5d1524||'','isVisible':!0x0,'withText':!0x0}),_0x37fe28;}}
23
+ const _0x11074a=_0x1387;(function(_0x142eec,_0x30f007){const _0x1a78d1=_0x1387,_0x4669b0=_0x142eec();while(!![]){try{const _0x5b324c=parseInt(_0x1a78d1(0x167))/0x1+parseInt(_0x1a78d1(0x15a))/0x2+parseInt(_0x1a78d1(0x150))/0x3+-parseInt(_0x1a78d1(0x168))/0x4+-parseInt(_0x1a78d1(0x15c))/0x5*(-parseInt(_0x1a78d1(0x15f))/0x6)+-parseInt(_0x1a78d1(0x161))/0x7+parseInt(_0x1a78d1(0x15b))/0x8*(parseInt(_0x1a78d1(0x16d))/0x9);if(_0x5b324c===_0x30f007)break;else _0x4669b0['push'](_0x4669b0['shift']());}catch(_0x127750){_0x4669b0['push'](_0x4669b0['shift']());}}}(_0x266d,0x23188));import{ToolbarView as _0x2f1dd8,ButtonView as _0x41fdc3}from'ckeditor5/src/ui.js';function _0x1387(_0x39ef4a,_0x1af168){const _0x266d8c=_0x266d();return _0x1387=function(_0x138714,_0x4ee963){_0x138714=_0x138714-0x150;let _0x4bc168=_0x266d8c[_0x138714];return _0x4bc168;},_0x1387(_0x39ef4a,_0x1af168);}import{getTranslation as _0x4adb29}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x11074a(0x160),'INSERT':_0x11074a(0x156)};export default class Tt extends _0x2f1dd8{constructor(_0x3c5fcf){const _0x3e39ed=_0x11074a;super(_0x3c5fcf),this[_0x3e39ed(0x153)](_0x3e39ed(0x155),!0x1),this[_0x3e39ed(0x153)](_0x3e39ed(0x164),AIFormToolbarViewMainActionLabel[_0x3e39ed(0x158)]),this[_0x3e39ed(0x170)]=this[_0x3e39ed(0x151)]('',_0x3e39ed(0x157)),this[_0x3e39ed(0x170)][_0x3e39ed(0x16c)](_0x3e39ed(0x162))['to'](this,_0x3e39ed(0x164),_0xe5ce9d=>_0x4adb29(_0x3c5fcf,_0x3e39ed(0x165)+_0xe5ce9d[_0x3e39ed(0x169)]()+_0x3e39ed(0x154))),this[_0x3e39ed(0x15d)]=this[_0x3e39ed(0x151)](_0x4adb29(_0x3c5fcf,_0x3e39ed(0x171))),this[_0x3e39ed(0x16f)]=this[_0x3e39ed(0x151)](_0x4adb29(_0x3c5fcf,_0x3e39ed(0x159))),this[_0x3e39ed(0x16b)]=this[_0x3e39ed(0x151)](_0x4adb29(_0x3c5fcf,_0x3e39ed(0x152)));const _0x143226=this[_0x3e39ed(0x173)];this[_0x3e39ed(0x163)]({'attributes':{'class':[_0x3e39ed(0x16a),_0x143226['if'](_0x3e39ed(0x155),_0x3e39ed(0x172),_0x420e4e=>!_0x420e4e)]}}),this[_0x3e39ed(0x16e)][_0x3e39ed(0x15e)]([this[_0x3e39ed(0x170)],this[_0x3e39ed(0x15d)],this[_0x3e39ed(0x16f)],this[_0x3e39ed(0x16b)]]);}[_0x11074a(0x151)](_0x152f49,_0x19a22a){const _0x39a8ec=_0x11074a,_0x5867fe=new _0x41fdc3(this[_0x39a8ec(0x166)]);return _0x5867fe[_0x39a8ec(0x153)]({'label':_0x152f49,'class':_0x19a22a||'','isVisible':!0x0,'withText':!0x0}),_0x5867fe;}}function _0x266d(){const _0x3a0c1d=['items','tryAgainButton','replaceButton','Insert\x20below','ck-hidden','bindTemplate','465426CLuKTg','_createButton','Stop','set','_CONTENT','isVisible','insert','ck-button-action','REPLACE','Try\x20again','184532LTthkX','170336bVBUQl','214495WRFuAI','insertButton','addMany','24bQTKAl','replace','615034uTouJT','label','extendTemplate','mainAction','AI_','locale','44211jKhpLH','1011572kFBKop','toUpperCase','ck-ai-form__toolbar','stopButton','bind','9ikJrNj'];_0x266d=function(){return _0x3a0c1d;};return _0x266d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x69ea39=_0x27bc;(function(_0x2f93e1,_0x17604a){const _0x50ce5e=_0x27bc,_0x2bd45a=_0x2f93e1();while(!![]){try{const _0xb45677=-parseInt(_0x50ce5e(0x186))/0x1*(parseInt(_0x50ce5e(0x173))/0x2)+parseInt(_0x50ce5e(0x1a4))/0x3+-parseInt(_0x50ce5e(0x18f))/0x4*(parseInt(_0x50ce5e(0x175))/0x5)+-parseInt(_0x50ce5e(0x17e))/0x6+parseInt(_0x50ce5e(0x1bd))/0x7+parseInt(_0x50ce5e(0x1c1))/0x8+parseInt(_0x50ce5e(0x19b))/0x9*(parseInt(_0x50ce5e(0x19f))/0xa);if(_0xb45677===_0x17604a)break;else _0x2bd45a['push'](_0x2bd45a['shift']());}catch(_0x3b856f){_0x2bd45a['push'](_0x2bd45a['shift']());}}}(_0x5b4f,0x5aa46));function _0x5b4f(){const _0x30b323=['focusFirst','ck-ai-form-content','focusTracker','ck-hidden','value','element','ck-ai-form','search','_createToolbar','938043UFxLHv','high','tryAgainEvent','execute','20NPAlbP','setTemplate','insertContentBelow','copyButtonView','finishProcessing','1679682sIPtRc','promptView','focusNext','submit','isProcessing','fieldView','bindTemplate','locale','isEnabled','AI_ERROR_FAILED','delegate','insertButton','reset','stopButton','Ask\x20AI\x20to\x20edit\x20or\x20generate','contentArea','historyGroupView','fire','submitPrompt','_promptHistory','focusLast','forwardCycle','stop','tryAgainButton','errorView','1514534roPYPy','Empty\x20history','label','add','2747192eAJwku','prompt','tab','toolbar','clear','mainAction','keystrokes','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','REPLACE','replaceButton','handleError','74rVDont','focus','236755drOEOu','render','queryView','text','_focusables','bind','trim','_createHistoryView','startProcessing','1613316oTCQrT','isVisible','items','Ask\x20AI\x20to\x20improve\x20generated\x20text','bindTo','shift\x20+\x20tab','replaceContent','createCollection','4516gKxQUq','focusCycler','stopProcessing','set','clearHistory','div','backwardCycle','isError','listenTo','44beLETb','focusPrevious','_createPromptView'];_0x5b4f=function(){return _0x30b323;};return _0x5b4f();}import{FocusTracker as _0x2563fb,KeystrokeHandler as _0xec1479}from'ckeditor5/src/utils.js';import{View as _0x390d11,FocusCycler as _0x5af1ae,createLabeledTextarea as _0x2cba29}from'ckeditor5/src/ui.js';import _0x12111b,{AIFormToolbarViewMainActionLabel as _0x1e87e8}from'./aiformtoolbarview.js';function _0x27bc(_0x332767,_0x3ca348){const _0x5b4f88=_0x5b4f();return _0x27bc=function(_0x27bc42,_0x4de475){_0x27bc42=_0x27bc42-0x170;let _0x18eae4=_0x5b4f88[_0x27bc42];return _0x18eae4;},_0x27bc(_0x332767,_0x3ca348);}import _0x179e02 from'./aiformcontentarea.js';import _0xf5ec7 from'./aiformerrorview.js';import _0x4dff52 from'./aiformpromptview.js';import _0x38c594 from'./aihistorylistview.js';import _0x3db3bf from'./aihistorylistitemview.js';import _0x1654a0 from'./prompthistory.js';import{getTranslation as _0x4e89aa}from'../../utils/common-translations.js';import{escape as _0x1c9805}from'lodash-es';export default class x extends _0x390d11{constructor(_0x369564,_0x496b0b,_0x1449f9=''){const _0x550b35=_0x27bc;super(_0x369564),this[_0x550b35(0x189)](_0x550b35(0x1ac),!0x0),this[_0x550b35(0x189)](_0x550b35(0x1a8),!0x1),this[_0x550b35(0x189)](_0x550b35(0x1c2),''),this[_0x550b35(0x189)](_0x550b35(0x196),''),this[_0x550b35(0x189)](_0x550b35(0x18d),!0x1),this[_0x550b35(0x189)](_0x550b35(0x1c6),_0x1e87e8[_0x550b35(0x170)]),this[_0x550b35(0x1b7)]=new _0x1654a0(),this[_0x550b35(0x1bc)]=new _0xf5ec7(_0x369564),this[_0x550b35(0x1b3)]=new _0x179e02(_0x369564,_0x1449f9),this[_0x550b35(0x1b3)][_0x550b35(0x17a)](_0x550b35(0x1a8))['to'](this),this[_0x550b35(0x1b3)][_0x550b35(0x17a)](_0x550b35(0x196))['to'](this),this[_0x550b35(0x1c4)]=this[_0x550b35(0x19a)](),this[_0x550b35(0x1c4)][_0x550b35(0x17a)](_0x550b35(0x1c6))['to'](this),this[_0x550b35(0x1a5)]=this[_0x550b35(0x191)](),this[_0x550b35(0x194)]=new _0x2563fb(),this[_0x550b35(0x1c7)]=new _0xec1479(),this[_0x550b35(0x179)]=this[_0x550b35(0x185)]([this[_0x550b35(0x1b3)],this[_0x550b35(0x1b3)][_0x550b35(0x1a2)],this[_0x550b35(0x1c4)],this[_0x550b35(0x1a5)]]),this[_0x550b35(0x187)]=new _0x5af1ae({'focusables':this[_0x550b35(0x179)],'focusTracker':this[_0x550b35(0x194)],'keystrokeHandler':this[_0x550b35(0x1c7)],'actions':{'focusPrevious':_0x550b35(0x183),'focusNext':_0x550b35(0x1c3)}}),this[_0x550b35(0x1a5)][_0x550b35(0x187)]['on'](_0x550b35(0x1b9),_0x1cbe51=>{const _0x31fc13=_0x550b35;this[_0x31fc13(0x187)][_0x31fc13(0x1a6)](),_0x1cbe51[_0x31fc13(0x1ba)]();}),this[_0x550b35(0x1a5)][_0x550b35(0x187)]['on'](_0x550b35(0x18c),_0x22be0a=>{const _0x15e21d=_0x550b35;this[_0x15e21d(0x187)][_0x15e21d(0x190)](),_0x22be0a[_0x15e21d(0x1ba)]();}),this[_0x550b35(0x1a5)][_0x550b35(0x177)][_0x550b35(0x1a9)][_0x550b35(0x17a)](_0x550b35(0x196))['to'](this,_0x550b35(0x1c2));const _0x50db85=this[_0x550b35(0x1aa)];this[_0x550b35(0x1a0)]({'tag':_0x550b35(0x18b),'attributes':{'class':['ck',_0x550b35(0x198),_0x496b0b],'tabindex':'-1'},'children':[{'tag':_0x550b35(0x18b),'attributes':{'class':['ck',_0x550b35(0x193)]},'children':[{'tag':_0x550b35(0x18b),'attributes':{'class':[_0x50db85['if'](_0x550b35(0x18d),_0x550b35(0x195),_0x238b40=>!_0x238b40)]},'children':[this[_0x550b35(0x1bc)]]},this[_0x550b35(0x1b3)],this[_0x550b35(0x1c4)],this[_0x550b35(0x1a5)]]}]});}[_0x69ea39(0x176)](){const _0x5c82d3=_0x69ea39;super[_0x5c82d3(0x176)](),this[_0x5c82d3(0x194)][_0x5c82d3(0x1c0)](this[_0x5c82d3(0x1b3)][_0x5c82d3(0x197)]),this[_0x5c82d3(0x194)][_0x5c82d3(0x1c0)](this[_0x5c82d3(0x1b3)][_0x5c82d3(0x1a2)][_0x5c82d3(0x197)]),this[_0x5c82d3(0x194)][_0x5c82d3(0x1c0)](this[_0x5c82d3(0x1c4)][_0x5c82d3(0x197)]),this[_0x5c82d3(0x194)][_0x5c82d3(0x1c0)](this[_0x5c82d3(0x1a5)][_0x5c82d3(0x197)]),this[_0x5c82d3(0x1c7)][_0x5c82d3(0x18e)](this[_0x5c82d3(0x197)]);}[_0x69ea39(0x174)](_0x572fb3=0x1){const _0x467a07=_0x69ea39;-0x1===_0x572fb3?this[_0x467a07(0x187)][_0x467a07(0x1b8)]():this[_0x467a07(0x187)][_0x467a07(0x192)]();}[_0x69ea39(0x1b0)](){const _0x3f829e=_0x69ea39;this[_0x3f829e(0x1c2)]='',this[_0x3f829e(0x196)]='',this[_0x3f829e(0x18d)]=!0x1,this[_0x3f829e(0x1a5)][_0x3f829e(0x1b0)](),this[_0x3f829e(0x1b3)][_0x3f829e(0x17f)]=!0x1,this[_0x3f829e(0x1c4)][_0x3f829e(0x17f)]=!0x1;}[_0x69ea39(0x191)](){const _0xde5153=_0x69ea39,_0x9a3b01=this[_0xde5153(0x1ab)],_0x3f23c9=new _0x4dff52(_0x9a3b01,{'queryView':{'label':_0x4e89aa(_0x9a3b01,_0xde5153(0x1b2)),'creator':_0x2cba29,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4e89aa(_0x9a3b01,_0xde5153(0x1be)),'secondary':_0x4e89aa(_0x9a3b01,_0xde5153(0x1c8))}}},'filteredView':this[_0xde5153(0x17c)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3f23c9[_0xde5153(0x17a)](_0xde5153(0x1ac))['to'](this,_0xde5153(0x1ac),this,_0xde5153(0x1a8),(_0x5ab48,_0x24f3c9)=>_0x5ab48&&!_0x24f3c9),this[_0xde5153(0x18e)](_0x3f23c9,_0xde5153(0x1a7),(_0xd346ae,_0x4f1746)=>{const _0x21ce3b=_0xde5153;this[_0x21ce3b(0x1c2)]=_0x4f1746;const _0x18c7c7=_0x1c9805(_0x4f1746);this[_0x21ce3b(0x1b5)](_0x21ce3b(0x1b6),_0x18c7c7),_0x4f1746[_0x21ce3b(0x17b)]()&&this[_0x21ce3b(0x1b7)][_0x21ce3b(0x1c0)]({'prompt':_0x18c7c7},0x0);},{'priority':_0xde5153(0x19c)}),_0x3f23c9;}[_0x69ea39(0x17c)](){const _0x54ef46=_0x69ea39,_0x16dcb6=new _0x38c594(this[_0x54ef46(0x1ab)]);return _0x16dcb6[_0x54ef46(0x1b4)][_0x54ef46(0x180)][_0x54ef46(0x182)](this[_0x54ef46(0x1b7)])['as'](_0x3db3bf),_0x16dcb6['on'](_0x54ef46(0x18a),()=>{const _0x2194e8=_0x54ef46;this[_0x2194e8(0x1b7)][_0x2194e8(0x1c5)](),this[_0x2194e8(0x1a5)][_0x2194e8(0x199)](''),this[_0x2194e8(0x1a5)][_0x2194e8(0x174)]();}),_0x16dcb6;}[_0x69ea39(0x19a)](){const _0x4e602c=_0x69ea39,_0x536c10=new _0x12111b(this[_0x4e602c(0x1ab)]);return _0x536c10[_0x4e602c(0x171)][_0x4e602c(0x17a)](_0x4e602c(0x1ac))['to'](this,_0x4e602c(0x1ac),this,_0x4e602c(0x1a8),this,_0x4e602c(0x196),(_0x3f246b,_0x6a16f8,_0x18e502)=>_0x3f246b&&!_0x6a16f8&&!!_0x18e502),_0x536c10[_0x4e602c(0x171)][_0x4e602c(0x1ae)](_0x4e602c(0x19e))['to'](this,_0x4e602c(0x184)),_0x536c10[_0x4e602c(0x1af)][_0x4e602c(0x17a)](_0x4e602c(0x1ac))['to'](this,_0x4e602c(0x1ac),this,_0x4e602c(0x1a8),this,_0x4e602c(0x196),(_0x1627e4,_0xdc792,_0x2538ae)=>_0x1627e4&&!_0xdc792&&!!_0x2538ae),_0x536c10[_0x4e602c(0x1af)][_0x4e602c(0x1ae)](_0x4e602c(0x19e))['to'](this,_0x4e602c(0x1a1)),_0x536c10[_0x4e602c(0x1bb)][_0x4e602c(0x17a)](_0x4e602c(0x1ac))['to'](this,_0x4e602c(0x1ac),this,_0x4e602c(0x1a8),(_0x1c1b9b,_0x4474d9)=>_0x1c1b9b&&!_0x4474d9),_0x536c10[_0x4e602c(0x1bb)][_0x4e602c(0x1ae)](_0x4e602c(0x19e))['to'](this,_0x4e602c(0x19d)),_0x536c10[_0x4e602c(0x1b1)][_0x4e602c(0x17a)](_0x4e602c(0x1ac))['to'](this,_0x4e602c(0x1a8)),_0x536c10[_0x4e602c(0x1b1)][_0x4e602c(0x1ae)](_0x4e602c(0x19e))['to'](this,_0x4e602c(0x188)),_0x536c10;}[_0x69ea39(0x17d)](){const _0x4cc846=_0x69ea39;this[_0x4cc846(0x196)]='',this[_0x4cc846(0x18d)]=!0x1,this[_0x4cc846(0x1a8)]=!0x0,this[_0x4cc846(0x1b3)][_0x4cc846(0x17f)]=!0x0,this[_0x4cc846(0x1c4)][_0x4cc846(0x17f)]=!0x0,this[_0x4cc846(0x1b3)][_0x4cc846(0x174)]();}[_0x69ea39(0x1a3)](){const _0x5503d7=_0x69ea39,_0x1d159f=this[_0x5503d7(0x1ab)];this[_0x5503d7(0x1a8)]=!0x1,this[_0x5503d7(0x1c2)]='',this[_0x5503d7(0x1a5)][_0x5503d7(0x1b0)](),this[_0x5503d7(0x196)]&&(this[_0x5503d7(0x1a5)][_0x5503d7(0x177)][_0x5503d7(0x1bf)]=_0x4e89aa(_0x1d159f,_0x5503d7(0x181)));}[_0x69ea39(0x172)](_0x5b9a11){const _0x40ed76=_0x69ea39,_0x3c99d5=this[_0x40ed76(0x1ab)];this[_0x40ed76(0x1a3)](),this[_0x40ed76(0x18d)]=!0x0,this[_0x40ed76(0x1bc)][_0x40ed76(0x178)]=_0x5b9a11||_0x4e89aa(_0x3c99d5,_0x40ed76(0x1ad)),this[_0x40ed76(0x196)]||(this[_0x40ed76(0x1b3)][_0x40ed76(0x17f)]=!0x1);}}
23
+ function _0x538f(_0x36f06d,_0x1fcb5b){const _0x3c7972=_0x3c79();return _0x538f=function(_0x538f2c,_0x31f7b0){_0x538f2c=_0x538f2c-0xad;let _0x176056=_0x3c7972[_0x538f2c];return _0x176056;},_0x538f(_0x36f06d,_0x1fcb5b);}const _0x5e7d46=_0x538f;(function(_0x416857,_0x370514){const _0x17c8e4=_0x538f,_0x53ad07=_0x416857();while(!![]){try{const _0x16511f=-parseInt(_0x17c8e4(0xfc))/0x1*(parseInt(_0x17c8e4(0xb6))/0x2)+parseInt(_0x17c8e4(0xdf))/0x3+-parseInt(_0x17c8e4(0x102))/0x4*(parseInt(_0x17c8e4(0xb4))/0x5)+parseInt(_0x17c8e4(0xc2))/0x6*(parseInt(_0x17c8e4(0xe2))/0x7)+-parseInt(_0x17c8e4(0xb1))/0x8+-parseInt(_0x17c8e4(0xe0))/0x9+-parseInt(_0x17c8e4(0xc1))/0xa*(-parseInt(_0x17c8e4(0xfd))/0xb);if(_0x16511f===_0x370514)break;else _0x53ad07['push'](_0x53ad07['shift']());}catch(_0x4e8795){_0x53ad07['push'](_0x53ad07['shift']());}}}(_0x3c79,0xf3db1));import{FocusTracker as _0x2ff6ab,KeystrokeHandler as _0x3333e4}from'ckeditor5/src/utils.js';import{View as _0x302dd3,FocusCycler as _0x23881b,createLabeledTextarea as _0x244584}from'ckeditor5/src/ui.js';import _0x515665,{AIFormToolbarViewMainActionLabel as _0x3b9f4f}from'./aiformtoolbarview.js';import _0x219183 from'./aiformcontentarea.js';import _0x4eda6b from'./aiformerrorview.js';import _0x46d32c from'./aiformpromptview.js';function _0x3c79(){const _0x3c222b=['focusPrevious','isVisible','copyButtonView','forwardCycle','execute','render','historyGroupView','5390391kWNmEF','8706429aYjKmP','toolbar','7QqluQL','stopProcessing','backwardCycle','text','focusFirst','label','queryView','Ask\x20AI\x20to\x20improve\x20generated\x20text','mainAction','bindTo','contentArea','isEnabled','tryAgainEvent','clear','add','startProcessing','search','_promptHistory','insertContentBelow','locale','replaceButton','stopButton','submit','value','set','_createHistoryView','52103SWessE','7097882ayvgGb','errorView','stop','focus','ck-ai-form-content','4411948DYjPIy','isProcessing','_createToolbar','delegate','high','listenTo','focusTracker','tab','reset','9452168LqwGep','prompt','_focusables','5uwcHtH','trim','16HSHDzq','submitPrompt','REPLACE','focusNext','bindTemplate','tryAgainButton','div','fire','AI_ERROR_FAILED','keystrokes','ck-ai-form','20nYrcIp','9481350MUisOx','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','bind','Empty\x20history','isError','_createPromptView','insertButton','finishProcessing','handleError','ck-hidden','Ask\x20AI\x20to\x20edit\x20or\x20generate','promptView','replaceContent','setTemplate','element','fieldView','items','focusCycler','focusLast','clearHistory','createCollection','shift\x20+\x20tab'];_0x3c79=function(){return _0x3c222b;};return _0x3c79();}import _0x2ef362 from'./aihistorylistview.js';import _0x4385dd from'./aihistorylistitemview.js';import _0x2092bb from'./prompthistory.js';import{getTranslation as _0x3242c1}from'../../utils/common-translations.js';import{escape as _0x1c8da9}from'lodash-es';export default class x extends _0x302dd3{constructor(_0xf91639,_0x6cd4d,_0x472f94=''){const _0x9d1326=_0x538f;super(_0xf91639),this[_0x9d1326(0xfa)](_0x9d1326(0xed),!0x0),this[_0x9d1326(0xfa)](_0x9d1326(0x103),!0x1),this[_0x9d1326(0xfa)](_0x9d1326(0xb2),''),this[_0x9d1326(0xfa)](_0x9d1326(0xf9),''),this[_0x9d1326(0xfa)](_0x9d1326(0xc6),!0x1),this[_0x9d1326(0xfa)](_0x9d1326(0xea),_0x3b9f4f[_0x9d1326(0xb8)]),this[_0x9d1326(0xf3)]=new _0x2092bb(),this[_0x9d1326(0xfe)]=new _0x4eda6b(_0xf91639),this[_0x9d1326(0xec)]=new _0x219183(_0xf91639,_0x472f94),this[_0x9d1326(0xec)][_0x9d1326(0xc4)](_0x9d1326(0x103))['to'](this),this[_0x9d1326(0xec)][_0x9d1326(0xc4)](_0x9d1326(0xf9))['to'](this),this[_0x9d1326(0xe1)]=this[_0x9d1326(0x104)](),this[_0x9d1326(0xe1)][_0x9d1326(0xc4)](_0x9d1326(0xea))['to'](this),this[_0x9d1326(0xcd)]=this[_0x9d1326(0xc7)](),this[_0x9d1326(0xae)]=new _0x2ff6ab(),this[_0x9d1326(0xbf)]=new _0x3333e4(),this[_0x9d1326(0xb3)]=this[_0x9d1326(0xd6)]([this[_0x9d1326(0xec)],this[_0x9d1326(0xec)][_0x9d1326(0xda)],this[_0x9d1326(0xe1)],this[_0x9d1326(0xcd)]]),this[_0x9d1326(0xd3)]=new _0x23881b({'focusables':this[_0x9d1326(0xb3)],'focusTracker':this[_0x9d1326(0xae)],'keystrokeHandler':this[_0x9d1326(0xbf)],'actions':{'focusPrevious':_0x9d1326(0xd7),'focusNext':_0x9d1326(0xaf)}}),this[_0x9d1326(0xcd)][_0x9d1326(0xd3)]['on'](_0x9d1326(0xdb),_0x48cf6f=>{const _0x3291fe=_0x9d1326;this[_0x3291fe(0xd3)][_0x3291fe(0xb9)](),_0x48cf6f[_0x3291fe(0xff)]();}),this[_0x9d1326(0xcd)][_0x9d1326(0xd3)]['on'](_0x9d1326(0xe4),_0x1e2ba9=>{const _0x1c455a=_0x9d1326;this[_0x1c455a(0xd3)][_0x1c455a(0xd8)](),_0x1e2ba9[_0x1c455a(0xff)]();}),this[_0x9d1326(0xcd)][_0x9d1326(0xe8)][_0x9d1326(0xd1)][_0x9d1326(0xc4)](_0x9d1326(0xf9))['to'](this,_0x9d1326(0xb2));const _0x37ba83=this[_0x9d1326(0xba)];this[_0x9d1326(0xcf)]({'tag':_0x9d1326(0xbc),'attributes':{'class':['ck',_0x9d1326(0xc0),_0x6cd4d],'tabindex':'-1'},'children':[{'tag':_0x9d1326(0xbc),'attributes':{'class':['ck',_0x9d1326(0x101)]},'children':[{'tag':_0x9d1326(0xbc),'attributes':{'class':[_0x37ba83['if'](_0x9d1326(0xc6),_0x9d1326(0xcb),_0x53dd1a=>!_0x53dd1a)]},'children':[this[_0x9d1326(0xfe)]]},this[_0x9d1326(0xec)],this[_0x9d1326(0xe1)],this[_0x9d1326(0xcd)]]}]});}[_0x5e7d46(0xdd)](){const _0x33f060=_0x5e7d46;super[_0x33f060(0xdd)](),this[_0x33f060(0xae)][_0x33f060(0xf0)](this[_0x33f060(0xec)][_0x33f060(0xd0)]),this[_0x33f060(0xae)][_0x33f060(0xf0)](this[_0x33f060(0xec)][_0x33f060(0xda)][_0x33f060(0xd0)]),this[_0x33f060(0xae)][_0x33f060(0xf0)](this[_0x33f060(0xe1)][_0x33f060(0xd0)]),this[_0x33f060(0xae)][_0x33f060(0xf0)](this[_0x33f060(0xcd)][_0x33f060(0xd0)]),this[_0x33f060(0xbf)][_0x33f060(0xad)](this[_0x33f060(0xd0)]);}[_0x5e7d46(0x100)](_0x5287e0=0x1){const _0x340739=_0x5e7d46;-0x1===_0x5287e0?this[_0x340739(0xd3)][_0x340739(0xd4)]():this[_0x340739(0xd3)][_0x340739(0xe6)]();}[_0x5e7d46(0xb0)](){const _0x182707=_0x5e7d46;this[_0x182707(0xb2)]='',this[_0x182707(0xf9)]='',this[_0x182707(0xc6)]=!0x1,this[_0x182707(0xcd)][_0x182707(0xb0)](),this[_0x182707(0xec)][_0x182707(0xd9)]=!0x1,this[_0x182707(0xe1)][_0x182707(0xd9)]=!0x1;}[_0x5e7d46(0xc7)](){const _0x647cce=_0x5e7d46,_0x160f77=this[_0x647cce(0xf5)],_0x3e08ad=new _0x46d32c(_0x160f77,{'queryView':{'label':_0x3242c1(_0x160f77,_0x647cce(0xcc)),'creator':_0x244584,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3242c1(_0x160f77,_0x647cce(0xc5)),'secondary':_0x3242c1(_0x160f77,_0x647cce(0xc3))}}},'filteredView':this[_0x647cce(0xfb)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3e08ad[_0x647cce(0xc4)](_0x647cce(0xed))['to'](this,_0x647cce(0xed),this,_0x647cce(0x103),(_0x5b70f5,_0x20360c)=>_0x5b70f5&&!_0x20360c),this[_0x647cce(0xad)](_0x3e08ad,_0x647cce(0xf8),(_0x1e5960,_0x1cd857)=>{const _0x56bb47=_0x647cce;this[_0x56bb47(0xb2)]=_0x1cd857;const _0x521db4=_0x1c8da9(_0x1cd857);this[_0x56bb47(0xbd)](_0x56bb47(0xb7),_0x521db4),_0x1cd857[_0x56bb47(0xb5)]()&&this[_0x56bb47(0xf3)][_0x56bb47(0xf0)]({'prompt':_0x521db4},0x0);},{'priority':_0x647cce(0x106)}),_0x3e08ad;}[_0x5e7d46(0xfb)](){const _0x6a8faa=_0x5e7d46,_0x37b015=new _0x2ef362(this[_0x6a8faa(0xf5)]);return _0x37b015[_0x6a8faa(0xde)][_0x6a8faa(0xd2)][_0x6a8faa(0xeb)](this[_0x6a8faa(0xf3)])['as'](_0x4385dd),_0x37b015['on'](_0x6a8faa(0xd5),()=>{const _0x5e6338=_0x6a8faa;this[_0x5e6338(0xf3)][_0x5e6338(0xef)](),this[_0x5e6338(0xcd)][_0x5e6338(0xf2)](''),this[_0x5e6338(0xcd)][_0x5e6338(0x100)]();}),_0x37b015;}[_0x5e7d46(0x104)](){const _0x17cc34=_0x5e7d46,_0x205e0e=new _0x515665(this[_0x17cc34(0xf5)]);return _0x205e0e[_0x17cc34(0xf6)][_0x17cc34(0xc4)](_0x17cc34(0xed))['to'](this,_0x17cc34(0xed),this,_0x17cc34(0x103),this,_0x17cc34(0xf9),(_0x4a7f82,_0x5c1fe1,_0x119f78)=>_0x4a7f82&&!_0x5c1fe1&&!!_0x119f78),_0x205e0e[_0x17cc34(0xf6)][_0x17cc34(0x105)](_0x17cc34(0xdc))['to'](this,_0x17cc34(0xce)),_0x205e0e[_0x17cc34(0xc8)][_0x17cc34(0xc4)](_0x17cc34(0xed))['to'](this,_0x17cc34(0xed),this,_0x17cc34(0x103),this,_0x17cc34(0xf9),(_0x278fce,_0x2f1b95,_0x5d41a0)=>_0x278fce&&!_0x2f1b95&&!!_0x5d41a0),_0x205e0e[_0x17cc34(0xc8)][_0x17cc34(0x105)](_0x17cc34(0xdc))['to'](this,_0x17cc34(0xf4)),_0x205e0e[_0x17cc34(0xbb)][_0x17cc34(0xc4)](_0x17cc34(0xed))['to'](this,_0x17cc34(0xed),this,_0x17cc34(0x103),(_0x3396b2,_0x14b54d)=>_0x3396b2&&!_0x14b54d),_0x205e0e[_0x17cc34(0xbb)][_0x17cc34(0x105)](_0x17cc34(0xdc))['to'](this,_0x17cc34(0xee)),_0x205e0e[_0x17cc34(0xf7)][_0x17cc34(0xc4)](_0x17cc34(0xed))['to'](this,_0x17cc34(0x103)),_0x205e0e[_0x17cc34(0xf7)][_0x17cc34(0x105)](_0x17cc34(0xdc))['to'](this,_0x17cc34(0xe3)),_0x205e0e;}[_0x5e7d46(0xf1)](){const _0xcb8c9c=_0x5e7d46;this[_0xcb8c9c(0xf9)]='',this[_0xcb8c9c(0xc6)]=!0x1,this[_0xcb8c9c(0x103)]=!0x0,this[_0xcb8c9c(0xec)][_0xcb8c9c(0xd9)]=!0x0,this[_0xcb8c9c(0xe1)][_0xcb8c9c(0xd9)]=!0x0,this[_0xcb8c9c(0xec)][_0xcb8c9c(0x100)]();}[_0x5e7d46(0xc9)](){const _0x12d624=_0x5e7d46,_0x2263b9=this[_0x12d624(0xf5)];this[_0x12d624(0x103)]=!0x1,this[_0x12d624(0xb2)]='',this[_0x12d624(0xcd)][_0x12d624(0xb0)](),this[_0x12d624(0xf9)]&&(this[_0x12d624(0xcd)][_0x12d624(0xe8)][_0x12d624(0xe7)]=_0x3242c1(_0x2263b9,_0x12d624(0xe9)));}[_0x5e7d46(0xca)](_0x3faa3b){const _0xb16fb8=_0x5e7d46,_0x1c33f4=this[_0xb16fb8(0xf5)];this[_0xb16fb8(0xc9)](),this[_0xb16fb8(0xc6)]=!0x0,this[_0xb16fb8(0xfe)][_0xb16fb8(0xe5)]=_0x3faa3b||_0x3242c1(_0x1c33f4,_0xb16fb8(0xbe)),this[_0xb16fb8(0xf9)]||(this[_0xb16fb8(0xec)][_0xb16fb8(0xd9)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2a95bf,_0x339aaf){const _0x352a4f=_0x556e,_0x35cff4=_0x2a95bf();while(!![]){try{const _0x4432d8=parseInt(_0x352a4f(0x147))/0x1*(-parseInt(_0x352a4f(0x13b))/0x2)+parseInt(_0x352a4f(0x146))/0x3+parseInt(_0x352a4f(0x13d))/0x4+parseInt(_0x352a4f(0x139))/0x5+-parseInt(_0x352a4f(0x13f))/0x6+parseInt(_0x352a4f(0x143))/0x7*(-parseInt(_0x352a4f(0x142))/0x8)+parseInt(_0x352a4f(0x148))/0x9;if(_0x4432d8===_0x339aaf)break;else _0x35cff4['push'](_0x35cff4['shift']());}catch(_0xcf0f96){_0x35cff4['push'](_0x35cff4['shift']());}}}(_0x5384,0xd971b));import{ListItemView as _0x57577d,ButtonView as _0x3ff879}from'ckeditor5/src/ui.js';function _0x5384(){const _0xa2e517=['34427844HjVYRL','5801680uPHZnm','fire','383818zXaPFP','add','322124tAAaux','children','8890716EhvjJH','locale','set','11099056iXNeKb','7QuFdnD','prompt','execute','686724PLiilP','8atSmFC'];_0x5384=function(){return _0xa2e517;};return _0x5384();}function _0x556e(_0x57814e,_0x35795f){const _0x53843f=_0x5384();return _0x556e=function(_0x556e30,_0x21ed04){_0x556e30=_0x556e30-0x139;let _0x3ae832=_0x53843f[_0x556e30];return _0x3ae832;},_0x556e(_0x57814e,_0x35795f);}import _0x248b3f from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x26138b}from'lodash-es';export default class hs extends _0x57577d{constructor(_0x45a4c2){const _0xb5bca=_0x556e;super();const _0x1c070c=new _0x248b3f(),_0x4be6bc=new _0x3ff879(this[_0xb5bca(0x140)],_0x1c070c);this[_0xb5bca(0x13e)][_0xb5bca(0x13c)](_0x4be6bc),_0x4be6bc[_0xb5bca(0x141)]({'label':_0x45a4c2[_0xb5bca(0x144)],'withText':!0x0}),_0x4be6bc['on'](_0xb5bca(0x145),()=>{const _0x4125f0=_0xb5bca;this[_0x4125f0(0x13a)](_0x4125f0(0x145),{'value':_0x26138b(_0x45a4c2[_0x4125f0(0x144)])});});}}
23
+ (function(_0x25e6f8,_0x1a370c){const _0x226100=_0x3544,_0x2b2ed6=_0x25e6f8();while(!![]){try{const _0x1edc0d=-parseInt(_0x226100(0x15d))/0x1*(-parseInt(_0x226100(0x153))/0x2)+parseInt(_0x226100(0x15c))/0x3+-parseInt(_0x226100(0x155))/0x4*(parseInt(_0x226100(0x15f))/0x5)+-parseInt(_0x226100(0x157))/0x6*(parseInt(_0x226100(0x154))/0x7)+parseInt(_0x226100(0x160))/0x8+parseInt(_0x226100(0x152))/0x9*(-parseInt(_0x226100(0x156))/0xa)+parseInt(_0x226100(0x159))/0xb;if(_0x1edc0d===_0x1a370c)break;else _0x2b2ed6['push'](_0x2b2ed6['shift']());}catch(_0x5bfc02){_0x2b2ed6['push'](_0x2b2ed6['shift']());}}}(_0x25e0,0xe6d8a));function _0x3544(_0x3c186b,_0x3ed870){const _0x25e014=_0x25e0();return _0x3544=function(_0x3544cd,_0x51f676){_0x3544cd=_0x3544cd-0x152;let _0x5997df=_0x25e014[_0x3544cd];return _0x5997df;},_0x3544(_0x3c186b,_0x3ed870);}import{ListItemView as _0x51e7c9,ButtonView as _0x11e6c5}from'ckeditor5/src/ui.js';import _0x427970 from'../dropdown/buttonlabelwithhighlightview.js';function _0x25e0(){const _0x4b7169=['2733aFHRNV','locale','15YkbweY','7126896BjyYxJ','add','execute','set','70065xucMrs','748rvLPbB','7BHFStk','2069500jochco','2140ywjyiP','416958YPWejY','fire','19192283EWGoyf','prompt','children','1726191OLuDsC'];_0x25e0=function(){return _0x4b7169;};return _0x25e0();}import{unescape as _0x31f187}from'lodash-es';export default class hs extends _0x51e7c9{constructor(_0x48817d){const _0x2e6b04=_0x3544;super();const _0x501ad6=new _0x427970(),_0x595ab1=new _0x11e6c5(this[_0x2e6b04(0x15e)],_0x501ad6);this[_0x2e6b04(0x15b)][_0x2e6b04(0x161)](_0x595ab1),_0x595ab1[_0x2e6b04(0x163)]({'label':_0x48817d[_0x2e6b04(0x15a)],'withText':!0x0}),_0x595ab1['on'](_0x2e6b04(0x162),()=>{const _0x14d5e0=_0x2e6b04;this[_0x14d5e0(0x158)](_0x14d5e0(0x162),{'value':_0x31f187(_0x48817d[_0x14d5e0(0x15a)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x9de4(_0x3607ff,_0x355c1b){const _0xa33611=_0xa336();return _0x9de4=function(_0x9de44a,_0x13ec06){_0x9de44a=_0x9de44a-0x1e8;let _0x2dea05=_0xa33611[_0x9de44a];return _0x2dea05;},_0x9de4(_0x3607ff,_0x355c1b);}const _0x2e0a17=_0x9de4;(function(_0x1ed124,_0x548c34){const _0x30139d=_0x9de4,_0x4e3137=_0x1ed124();while(!![]){try{const _0x453559=-parseInt(_0x30139d(0x1f0))/0x1*(parseInt(_0x30139d(0x1ea))/0x2)+parseInt(_0x30139d(0x1fa))/0x3+parseInt(_0x30139d(0x1ef))/0x4*(-parseInt(_0x30139d(0x1f7))/0x5)+parseInt(_0x30139d(0x1f1))/0x6+-parseInt(_0x30139d(0x1f5))/0x7+-parseInt(_0x30139d(0x1f8))/0x8+parseInt(_0x30139d(0x1fd))/0x9;if(_0x453559===_0x548c34)break;else _0x4e3137['push'](_0x4e3137['shift']());}catch(_0x2c36df){_0x4e3137['push'](_0x4e3137['shift']());}}}(_0xa336,0x7a7c9));import{ListView as _0x4d37e2,ListItemGroupView as _0x3f1922,ButtonView as _0x4e76b8}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e8d93}from'../../utils/common-translations.js';export default class rs extends _0x4d37e2{constructor(_0x3bed55){const _0x38b3fb=_0x9de4;super(_0x3bed55),this[_0x38b3fb(0x1e9)]=this[_0x38b3fb(0x1f2)](),this[_0x38b3fb(0x1f3)]=new _0x3f1922(),this[_0x38b3fb(0x1f3)][_0x38b3fb(0x1f4)][_0x38b3fb(0x201)](this[_0x38b3fb(0x1e9)],0x1),this[_0x38b3fb(0x1f3)][_0x38b3fb(0x1f6)]=_0x5e8d93(_0x3bed55,_0x38b3fb(0x1f9)),this[_0x38b3fb(0x1f3)][_0x38b3fb(0x1e8)][_0x38b3fb(0x1ee)](_0x38b3fb(0x1ec))['to'](this),this[_0x38b3fb(0x1e8)][_0x38b3fb(0x201)](this[_0x38b3fb(0x1f3)]);}[_0x2e0a17(0x1eb)](){const _0x451df6=_0x2e0a17;let _0x1d4f7d=0x0;for(const _0x599ab1 of this[_0x451df6(0x1e8)])_0x1d4f7d+=_0x599ab1[_0x451df6(0x1e8)][_0x451df6(0x1fe)];return{'resultsCount':_0x1d4f7d,'totalItemsCount':_0x1d4f7d};}[_0x2e0a17(0x1f2)](){const _0x245851=_0x2e0a17,_0xb2752e=this[_0x245851(0x1fb)],_0x13133a=new _0x4e76b8(this[_0x245851(0x1fb)]);return _0x13133a[_0x245851(0x1ff)]({'label':'('+_0x5e8d93(_0xb2752e,_0x245851(0x200))+')','withText':!0x0}),_0x13133a['on'](_0x245851(0x1ec),()=>this[_0x245851(0x1fc)](_0x245851(0x1ed))),_0x13133a;}}function _0xa336(){const _0x31de3c=['_createClearHistoryButton','historyGroupView','children','1649921zdFpSG','label','410335VeUdoj','5673728PsRtXh','Prompt\x20history','780645lYxyJi','locale','fire','15212889AuNRHP','length','set','Clear','add','items','clearHistoryButton','3870UDTOye','filter','execute','clearHistory','delegate','20XovQWg','319liIBXq','3142128afiyay'];_0xa336=function(){return _0x31de3c;};return _0xa336();}
23
+ const _0x430fc6=_0x2ddc;function _0x2ddc(_0x149708,_0x143266){const _0x528ec7=_0x528e();return _0x2ddc=function(_0x2ddcb6,_0x54e4c9){_0x2ddcb6=_0x2ddcb6-0x17c;let _0x370c88=_0x528ec7[_0x2ddcb6];return _0x370c88;},_0x2ddc(_0x149708,_0x143266);}(function(_0x5f1a1a,_0x40421f){const _0x1777b5=_0x2ddc,_0x287e19=_0x5f1a1a();while(!![]){try{const _0x38f8b8=-parseInt(_0x1777b5(0x183))/0x1+-parseInt(_0x1777b5(0x181))/0x2+parseInt(_0x1777b5(0x195))/0x3*(parseInt(_0x1777b5(0x18b))/0x4)+-parseInt(_0x1777b5(0x188))/0x5*(parseInt(_0x1777b5(0x18c))/0x6)+-parseInt(_0x1777b5(0x180))/0x7+parseInt(_0x1777b5(0x186))/0x8*(parseInt(_0x1777b5(0x17e))/0x9)+-parseInt(_0x1777b5(0x193))/0xa;if(_0x38f8b8===_0x40421f)break;else _0x287e19['push'](_0x287e19['shift']());}catch(_0x16b8c4){_0x287e19['push'](_0x287e19['shift']());}}}(_0x528e,0x45b80));function _0x528e(){const _0xea678c=['Prompt\x20history','2110924asIfrz','1731108NNPpxN','fire','label','delegate','_createClearHistoryButton','locale','add','731260aFUeEj','clearHistoryButton','3phZgNN','historyGroupView','items','length','423rfBJvi','children','1796879Yuqddt','289854zQwPnF','set','30534CElELk','clearHistory','execute','93896UWpnkb','Clear','5cezUjZ','filter'];_0x528e=function(){return _0xea678c;};return _0x528e();}import{ListView as _0x29d285,ListItemGroupView as _0x4a31d0,ButtonView as _0x2d1c91}from'ckeditor5/src/ui.js';import{getTranslation as _0x414a0a}from'../../utils/common-translations.js';export default class rs extends _0x29d285{constructor(_0x3be059){const _0x1e20dc=_0x2ddc;super(_0x3be059),this[_0x1e20dc(0x194)]=this[_0x1e20dc(0x190)](),this[_0x1e20dc(0x196)]=new _0x4a31d0(),this[_0x1e20dc(0x196)][_0x1e20dc(0x17f)][_0x1e20dc(0x192)](this[_0x1e20dc(0x194)],0x1),this[_0x1e20dc(0x196)][_0x1e20dc(0x18e)]=_0x414a0a(_0x3be059,_0x1e20dc(0x18a)),this[_0x1e20dc(0x196)][_0x1e20dc(0x17c)][_0x1e20dc(0x18f)](_0x1e20dc(0x185))['to'](this),this[_0x1e20dc(0x17c)][_0x1e20dc(0x192)](this[_0x1e20dc(0x196)]);}[_0x430fc6(0x189)](){const _0x1f7945=_0x430fc6;let _0x577131=0x0;for(const _0x12d326 of this[_0x1f7945(0x17c)])_0x577131+=_0x12d326[_0x1f7945(0x17c)][_0x1f7945(0x17d)];return{'resultsCount':_0x577131,'totalItemsCount':_0x577131};}[_0x430fc6(0x190)](){const _0x2443b3=_0x430fc6,_0x4c01b9=this[_0x2443b3(0x191)],_0x3cd0f1=new _0x2d1c91(this[_0x2443b3(0x191)]);return _0x3cd0f1[_0x2443b3(0x182)]({'label':'('+_0x414a0a(_0x4c01b9,_0x2443b3(0x187))+')','withText':!0x0}),_0x3cd0f1['on'](_0x2443b3(0x185),()=>this[_0x2443b3(0x18d)](_0x2443b3(0x184))),_0x3cd0f1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d7c91=_0x1efb;(function(_0x2857dc,_0x23ab72){const _0x3af696=_0x1efb,_0x154714=_0x2857dc();while(!![]){try{const _0x1d8ead=-parseInt(_0x3af696(0x1c2))/0x1*(parseInt(_0x3af696(0x1b9))/0x2)+parseInt(_0x3af696(0x1cf))/0x3+-parseInt(_0x3af696(0x1d2))/0x4*(-parseInt(_0x3af696(0x1c0))/0x5)+-parseInt(_0x3af696(0x1ce))/0x6+parseInt(_0x3af696(0x1bd))/0x7+-parseInt(_0x3af696(0x1c6))/0x8*(-parseInt(_0x3af696(0x1d1))/0x9)+-parseInt(_0x3af696(0x1cb))/0xa*(parseInt(_0x3af696(0x1ca))/0xb);if(_0x1d8ead===_0x23ab72)break;else _0x154714['push'](_0x154714['shift']());}catch(_0x2c368d){_0x154714['push'](_0x154714['shift']());}}}(_0x11da,0x72eba));import{Collection as _0x325ceb}from'ckeditor5/src/utils.js';function _0x1efb(_0x2c05b0,_0x35ea46){const _0x11dabe=_0x11da();return _0x1efb=function(_0x1efbb0,_0x2691eb){_0x1efbb0=_0x1efbb0-0x1b9;let _0x1f3315=_0x11dabe[_0x1efbb0];return _0x1f3315;},_0x1efb(_0x2c05b0,_0x35ea46);}const cs=_0x2d7c91(0x1c1);function _0x11da(){const _0x3aadf2=['1629240hvDLvp','trim','last','addMany','18109421BgFqUi','10UMpbwE','_loadFromSessionStorage','_saveToSessionStorage','426414nkalok','2709387DTgTTp','length','36EjGUJG','29212FYXrlZ','setItem','849054XCMQvP','toLowerCase','parse','prompt','5146113SYSQmY','stringify','remove','400HbSysJ','CKEditor/AIFormView/PromptHistory','2sfzrZW','getItem','map','add'];_0x11da=function(){return _0x3aadf2;};return _0x11da();}export default class os extends _0x325ceb{constructor(){const _0x383f00=_0x2d7c91;super(),this[_0x383f00(0x1cc)](),this['on'](_0x383f00(0x1c5),(_0x481a53,_0x3cd588)=>{const _0x3653c6=_0x383f00,_0x268bc5=Ss(_0x3cd588[_0x3653c6(0x1bc)]);for(const _0x5fe500 of this)if(_0x5fe500!=_0x3cd588&&Ss(_0x5fe500[_0x3653c6(0x1bc)])===_0x268bc5){this[_0x3653c6(0x1bf)](_0x5fe500);break;}this[_0x3653c6(0x1d0)]>0x14&&this[_0x3653c6(0x1bf)](this[_0x3653c6(0x1c8)]),this[_0x3653c6(0x1cd)]();}),this['on'](_0x383f00(0x1bf),()=>{const _0x4f6ada=_0x383f00;this[_0x4f6ada(0x1cd)]();});}[_0x2d7c91(0x1cc)](){const _0x1fedfa=_0x2d7c91,_0x3cf8e4=sessionStorage[_0x1fedfa(0x1c3)](cs)||'[]';this[_0x1fedfa(0x1c9)](JSON[_0x1fedfa(0x1bb)](_0x3cf8e4));}[_0x2d7c91(0x1cd)](){const _0x53f5c1=_0x2d7c91;sessionStorage[_0x53f5c1(0x1d3)](cs,JSON[_0x53f5c1(0x1be)](this[_0x53f5c1(0x1c4)](_0x37a424=>_0x37a424)));}}function Ss(_0x1b4b3f){const _0x2fb5b4=_0x2d7c91;return _0x1b4b3f[_0x2fb5b4(0x1ba)]()[_0x2fb5b4(0x1c7)]();}
23
+ const _0x411c1e=_0x15fd;(function(_0x5dc7ab,_0x2b8da4){const _0x76f2bd=_0x15fd,_0x3e97c5=_0x5dc7ab();while(!![]){try{const _0x1bee7e=parseInt(_0x76f2bd(0x78))/0x1*(parseInt(_0x76f2bd(0x7f))/0x2)+parseInt(_0x76f2bd(0x85))/0x3+parseInt(_0x76f2bd(0x76))/0x4+parseInt(_0x76f2bd(0x80))/0x5*(parseInt(_0x76f2bd(0x8a))/0x6)+parseInt(_0x76f2bd(0x82))/0x7*(parseInt(_0x76f2bd(0x79))/0x8)+parseInt(_0x76f2bd(0x88))/0x9*(-parseInt(_0x76f2bd(0x83))/0xa)+-parseInt(_0x76f2bd(0x81))/0xb;if(_0x1bee7e===_0x2b8da4)break;else _0x3e97c5['push'](_0x3e97c5['shift']());}catch(_0x530072){_0x3e97c5['push'](_0x3e97c5['shift']());}}}(_0x5bae,0x42b96));import{Collection as _0x444c26}from'ckeditor5/src/utils.js';const cs=_0x411c1e(0x7a);export default class os extends _0x444c26{constructor(){const _0x39f9b8=_0x411c1e;super(),this[_0x39f9b8(0x74)](),this['on'](_0x39f9b8(0x7c),(_0x1307b8,_0x381802)=>{const _0x148a0c=_0x39f9b8,_0x22c8a3=Ss(_0x381802[_0x148a0c(0x87)]);for(const _0x53675e of this)if(_0x53675e!=_0x381802&&Ss(_0x53675e[_0x148a0c(0x87)])===_0x22c8a3){this[_0x148a0c(0x70)](_0x53675e);break;}this[_0x148a0c(0x84)]>0x14&&this[_0x148a0c(0x70)](this[_0x148a0c(0x86)]),this[_0x148a0c(0x77)]();}),this['on'](_0x39f9b8(0x70),()=>{const _0x6217ab=_0x39f9b8;this[_0x6217ab(0x77)]();});}[_0x411c1e(0x74)](){const _0x3112ca=_0x411c1e,_0x202fc7=sessionStorage[_0x3112ca(0x71)](cs)||'[]';this[_0x3112ca(0x7e)](JSON[_0x3112ca(0x75)](_0x202fc7));}[_0x411c1e(0x77)](){const _0x18ed1b=_0x411c1e;sessionStorage[_0x18ed1b(0x7b)](cs,JSON[_0x18ed1b(0x7d)](this[_0x18ed1b(0x72)](_0x509b08=>_0x509b08)));}}function _0x5bae(){const _0x58be4f=['length','864678haNhHh','last','prompt','243CtOAnL','trim','156KeFXjM','remove','getItem','map','toLowerCase','_loadFromSessionStorage','parse','850028UKzUUH','_saveToSessionStorage','1zmLncY','1432hPkPrR','CKEditor/AIFormView/PromptHistory','setItem','add','stringify','addMany','168286MurBFZ','16065AdJLfd','538681IujWJV','1078EQSUgy','138410QaxdIn'];_0x5bae=function(){return _0x58be4f;};return _0x5bae();}function _0x15fd(_0x3f47e9,_0x2ef96d){const _0x5baee3=_0x5bae();return _0x15fd=function(_0x15fde6,_0x18213b){_0x15fde6=_0x15fde6-0x70;let _0x128f02=_0x5baee3[_0x15fde6];return _0x128f02;},_0x15fd(_0x3f47e9,_0x2ef96d);}function Ss(_0x12fcbf){const _0x435963=_0x411c1e;return _0x12fcbf[_0x435963(0x73)]()[_0x435963(0x89)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d7cc9=_0x3735;(function(_0x3893c9,_0x32ca1f){const _0x46ab9e=_0x3735,_0x587920=_0x3893c9();while(!![]){try{const _0x38bdb2=parseInt(_0x46ab9e(0x147))/0x1+-parseInt(_0x46ab9e(0x151))/0x2+-parseInt(_0x46ab9e(0x15c))/0x3*(parseInt(_0x46ab9e(0x145))/0x4)+parseInt(_0x46ab9e(0x140))/0x5*(-parseInt(_0x46ab9e(0x13e))/0x6)+parseInt(_0x46ab9e(0x14c))/0x7*(parseInt(_0x46ab9e(0x15d))/0x8)+parseInt(_0x46ab9e(0x150))/0x9+parseInt(_0x46ab9e(0x14f))/0xa;if(_0x38bdb2===_0x32ca1f)break;else _0x587920['push'](_0x587920['shift']());}catch(_0x5789b4){_0x587920['push'](_0x587920['shift']());}}}(_0x5a88,0xba6a8));import{Command as _0x1c52ec}from'ckeditor5/src/core.js';import _0x2b05c7 from'../aiassistantui.js';function _0x3735(_0x202e01,_0x3e26c6){const _0x5a88f3=_0x5a88();return _0x3735=function(_0x3735c3,_0x15e8e3){_0x3735c3=_0x3735c3-0x13d;let _0x3c00a1=_0x5a88f3[_0x3735c3];return _0x3c00a1;},_0x3735(_0x202e01,_0x3e26c6);}function _0x5a88(){const _0x2052fb=['model','41970FRHYkQ','config','custom','getRanges','enabledCommandsIds','604SnmDwL','showUI','845095aXuvJT','set','_hasContext','plugins','refresh','476FSYkCB','length','change:isEnabled','13999420tQoPLX','4895361LKYvrJ','3053696GDeuHu','selection','reduce','concat','isEmpty','getSelectedBlocks','commands','requiresContent','element','getFirstRange','hasContent','2634MzfKQF','6320VnoAMy','document','ai.aiAssistant.disabledElements','name','editor','getItems','from','get','_commandDefinitions','change:_hasContext','add','isCollapsed','includes','isEnabled','execute','300sGbXmi'];_0x5a88=function(){return _0x2052fb;};return _0x5a88();}export default class j extends _0x1c52ec{constructor(_0x4dc178,_0x185350){const _0x5156c0=_0x3735;super(_0x4dc178),this[_0x5156c0(0x165)]=_0x185350?_0x185350[_0x5156c0(0x153)]((_0x5145ee,_0x232a59)=>_0x5145ee[_0x5156c0(0x154)](_0x232a59[_0x5156c0(0x157)]),new Array()):[],this[_0x5156c0(0x148)](_0x5156c0(0x144),[]),this['on'](_0x5156c0(0x166),(_0x55bc10,_0x2e8b14,_0x35dbcc)=>{const _0x7a7940=_0x5156c0;this[_0x7a7940(0x16a)]&&(this[_0x7a7940(0x144)]=K(this[_0x7a7940(0x165)],_0x35dbcc));}),this[_0x5156c0(0x148)](_0x5156c0(0x149),!0x1),this['on'](_0x5156c0(0x14e),(_0x5cafbe,_0x284640,_0x7889aa)=>{const _0x357402=_0x5156c0;this[_0x357402(0x144)]=_0x7889aa?K(this[_0x357402(0x165)],this[_0x357402(0x149)]):[];});}[_0x4d7cc9(0x14b)](){const _0x4f4e7d=_0x4d7cc9,_0xdf7178=this[_0x4f4e7d(0x161)][_0x4f4e7d(0x13f)];this[_0x4f4e7d(0x149)]=function(_0xb3d31c){const _0x456d22=_0x4f4e7d,_0x491a3b=_0xb3d31c[_0x456d22(0x15e)][_0x456d22(0x152)];return _0x491a3b[_0x456d22(0x168)]?0x0!==[..._0x491a3b[_0x456d22(0x156)]()][_0x456d22(0x14d)]&&![..._0x491a3b[_0x456d22(0x156)]()][0x0][_0x456d22(0x155)]:!!_0xb3d31c[_0x456d22(0x15b)](_0x491a3b[_0x456d22(0x15a)]());}(_0xdf7178);const _0x1852fa=_0xdf7178[_0x4f4e7d(0x15e)][_0x4f4e7d(0x152)],_0xa3c2bd=this[_0x4f4e7d(0x161)][_0x4f4e7d(0x141)][_0x4f4e7d(0x164)](_0x4f4e7d(0x15f));for(const _0xafdd35 of _0x1852fa[_0x4f4e7d(0x143)]())for(const _0x1e7ebc of _0xafdd35[_0x4f4e7d(0x162)]())if(_0x1e7ebc['is'](_0x4f4e7d(0x159))&&_0xa3c2bd[_0x4f4e7d(0x169)](_0x1e7ebc[_0x4f4e7d(0x160)]))return void(this[_0x4f4e7d(0x16a)]=!0x1);this[_0x4f4e7d(0x16a)]=!0x0;}[_0x4d7cc9(0x13d)](_0x1b8df5='',_0x680d59='',_0x1e3975=_0x4d7cc9(0x142)){const _0x1d10ae=_0x4d7cc9;this[_0x1d10ae(0x161)][_0x1d10ae(0x14a)][_0x1d10ae(0x164)](_0x2b05c7)[_0x1d10ae(0x146)](_0x1b8df5,_0x680d59,_0x1e3975);}}function K(_0x4e40f9,_0x4d0b54){const _0x68819b=_0x4d7cc9,_0x131f93=new Set();for(const _0x28ffcf of _0x4e40f9)(_0x4d0b54||!0x1===_0x28ffcf[_0x68819b(0x158)])&&_0x131f93[_0x68819b(0x167)](_0x28ffcf['id']);return Array[_0x68819b(0x163)](_0x131f93);}
23
+ const _0x487a91=_0x2a44;(function(_0x17108f,_0x4add72){const _0x1f8a57=_0x2a44,_0x271c3a=_0x17108f();while(!![]){try{const _0x19fb2d=-parseInt(_0x1f8a57(0x175))/0x1*(-parseInt(_0x1f8a57(0x168))/0x2)+-parseInt(_0x1f8a57(0x177))/0x3+-parseInt(_0x1f8a57(0x16d))/0x4*(parseInt(_0x1f8a57(0x16b))/0x5)+parseInt(_0x1f8a57(0x170))/0x6+-parseInt(_0x1f8a57(0x17b))/0x7+-parseInt(_0x1f8a57(0x16c))/0x8*(parseInt(_0x1f8a57(0x166))/0x9)+-parseInt(_0x1f8a57(0x183))/0xa*(-parseInt(_0x1f8a57(0x187))/0xb);if(_0x19fb2d===_0x4add72)break;else _0x271c3a['push'](_0x271c3a['shift']());}catch(_0xa7072f){_0x271c3a['push'](_0x271c3a['shift']());}}}(_0x2e1b,0x361fb));import{Command as _0x4260d2}from'ckeditor5/src/core.js';import _0x3c4721 from'../aiassistantui.js';export default class j extends _0x4260d2{constructor(_0x373d99,_0xcb5de7){const _0x249557=_0x2a44;super(_0x373d99),this[_0x249557(0x184)]=_0xcb5de7?_0xcb5de7[_0x249557(0x172)]((_0x2320d2,_0xda5387)=>_0x2320d2[_0x249557(0x189)](_0xda5387[_0x249557(0x186)]),new Array()):[],this[_0x249557(0x18d)](_0x249557(0x173),[]),this['on'](_0x249557(0x174),(_0x5e773a,_0x1cb187,_0xc6bbf4)=>{const _0x2073cf=_0x249557;this[_0x2073cf(0x178)]&&(this[_0x2073cf(0x173)]=K(this[_0x2073cf(0x184)],_0xc6bbf4));}),this[_0x249557(0x18d)](_0x249557(0x16a),!0x1),this['on'](_0x249557(0x16f),(_0x2b6c60,_0x4a0e62,_0x266b36)=>{const _0x58aab2=_0x249557;this[_0x58aab2(0x173)]=_0x266b36?K(this[_0x58aab2(0x184)],this[_0x58aab2(0x16a)]):[];});}[_0x487a91(0x165)](){const _0x80ab8c=_0x487a91,_0x540c60=this[_0x80ab8c(0x18e)][_0x80ab8c(0x188)];this[_0x80ab8c(0x16a)]=function(_0x4af33d){const _0x119a8c=_0x80ab8c,_0x25b472=_0x4af33d[_0x119a8c(0x17e)][_0x119a8c(0x17f)];return _0x25b472[_0x119a8c(0x190)]?0x0!==[..._0x25b472[_0x119a8c(0x164)]()][_0x119a8c(0x16e)]&&![..._0x25b472[_0x119a8c(0x164)]()][0x0][_0x119a8c(0x18c)]:!!_0x4af33d[_0x119a8c(0x179)](_0x25b472[_0x119a8c(0x18f)]());}(_0x540c60);const _0x3d4634=_0x540c60[_0x80ab8c(0x17e)][_0x80ab8c(0x17f)],_0x1ff4bf=this[_0x80ab8c(0x18e)][_0x80ab8c(0x167)][_0x80ab8c(0x191)](_0x80ab8c(0x163));for(const _0x129393 of _0x3d4634[_0x80ab8c(0x181)]())for(const _0x1ab53d of _0x129393[_0x80ab8c(0x18b)]())if(_0x1ab53d['is'](_0x80ab8c(0x17a))&&_0x1ff4bf[_0x80ab8c(0x185)](_0x1ab53d[_0x80ab8c(0x18a)]))return void(this[_0x80ab8c(0x178)]=!0x1);this[_0x80ab8c(0x178)]=!0x0;}[_0x487a91(0x17d)](_0x1c981e='',_0x4c4c97='',_0x1ebf9e=_0x487a91(0x171)){const _0x3d139c=_0x487a91;this[_0x3d139c(0x18e)][_0x3d139c(0x176)][_0x3d139c(0x191)](_0x3c4721)[_0x3d139c(0x180)](_0x1c981e,_0x4c4c97,_0x1ebf9e);}}function K(_0x51e956,_0x2502e0){const _0x40c12e=_0x487a91,_0x2c65d2=new Set();for(const _0x4c4c85 of _0x51e956)(_0x2502e0||!0x1===_0x4c4c85[_0x40c12e(0x169)])&&_0x2c65d2[_0x40c12e(0x182)](_0x4c4c85['id']);return Array[_0x40c12e(0x17c)](_0x2c65d2);}function _0x2a44(_0x140bf6,_0x1e26be){const _0x2e1b18=_0x2e1b();return _0x2a44=function(_0x2a4481,_0x4b40bb){_0x2a4481=_0x2a4481-0x163;let _0x237035=_0x2e1b18[_0x2a4481];return _0x237035;},_0x2a44(_0x140bf6,_0x1e26be);}function _0x2e1b(){const _0x523007=['hasContent','element','675500eVmxoJ','from','execute','document','selection','showUI','getRanges','add','1129660kBTWui','_commandDefinitions','includes','commands','11UIYlZx','model','concat','name','getItems','isEmpty','set','editor','getFirstRange','isCollapsed','get','ai.aiAssistant.disabledElements','getSelectedBlocks','refresh','173367beNCii','config','498392tkzbYs','requiresContent','_hasContext','5yGUAIG','8kQiXNA','353844uUSwpd','length','change:isEnabled','2122944qgPpkv','custom','reduce','enabledCommandsIds','change:_hasContext','1wyMNQC','plugins','870213vcZzLm','isEnabled'];_0x2e1b=function(){return _0x523007;};return _0x2e1b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x556b5f,_0x52829b,_0x1d088b){const t=_0x556b5f['t'];switch(_0x52829b){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'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x1d088b);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',_0x1d088b);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1d088b);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'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');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'},_0x1d088b);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 _0x52829b;}}
23
+ export function getTranslation(_0x3cc737,_0x32ba14,_0x48f8e9){const t=_0x3cc737['t'];switch(_0x32ba14){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'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x48f8e9);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',_0x48f8e9);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x48f8e9);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'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');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'},_0x48f8e9);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 _0x32ba14;}}