@ckeditor/ckeditor5-ai 41.3.1 → 41.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/README.md +1 -1
  2. package/build/ai.js +7 -7
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/bs.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de-ch.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/es-co.js +1 -1
  16. package/build/translations/es.js +1 -1
  17. package/build/translations/et.js +1 -1
  18. package/build/translations/fa.js +1 -1
  19. package/build/translations/fi.js +1 -1
  20. package/build/translations/fr.js +1 -1
  21. package/build/translations/gl.js +1 -1
  22. package/build/translations/he.js +1 -1
  23. package/build/translations/hi.js +1 -1
  24. package/build/translations/hr.js +1 -1
  25. package/build/translations/hu.js +1 -1
  26. package/build/translations/id.js +1 -1
  27. package/build/translations/it.js +1 -1
  28. package/build/translations/ja.js +1 -1
  29. package/build/translations/jv.js +1 -1
  30. package/build/translations/ko.js +1 -1
  31. package/build/translations/lt.js +1 -1
  32. package/build/translations/lv.js +1 -1
  33. package/build/translations/ms.js +1 -1
  34. package/build/translations/nl.js +1 -1
  35. package/build/translations/no.js +1 -1
  36. package/build/translations/pl.js +1 -1
  37. package/build/translations/pt-br.js +1 -1
  38. package/build/translations/pt.js +1 -1
  39. package/build/translations/ro.js +1 -1
  40. package/build/translations/ru.js +1 -1
  41. package/build/translations/sk.js +1 -1
  42. package/build/translations/sr-latn.js +1 -1
  43. package/build/translations/sr.js +1 -1
  44. package/build/translations/sv.js +1 -1
  45. package/build/translations/th.js +1 -1
  46. package/build/translations/ti.js +1 -0
  47. package/build/translations/tk.js +1 -1
  48. package/build/translations/tr.js +1 -1
  49. package/build/translations/ug.js +1 -1
  50. package/build/translations/uk.js +1 -1
  51. package/build/translations/ur.js +1 -1
  52. package/build/translations/uz.js +1 -1
  53. package/build/translations/vi.js +1 -1
  54. package/build/translations/zh-cn.js +1 -1
  55. package/build/translations/zh.js +1 -1
  56. package/dist/index-content.css +4 -0
  57. package/dist/index-editor.css +267 -0
  58. package/dist/index.css +396 -0
  59. package/dist/index.js +23 -0
  60. package/dist/translations/af.d.ts +8 -0
  61. package/dist/translations/af.js +23 -0
  62. package/dist/translations/af.umd.js +23 -0
  63. package/dist/translations/ar.d.ts +8 -0
  64. package/dist/translations/ar.js +23 -0
  65. package/dist/translations/ar.umd.js +23 -0
  66. package/dist/translations/bg.d.ts +8 -0
  67. package/dist/translations/bg.js +23 -0
  68. package/dist/translations/bg.umd.js +23 -0
  69. package/dist/translations/bn.d.ts +8 -0
  70. package/dist/translations/bn.js +23 -0
  71. package/dist/translations/bn.umd.js +23 -0
  72. package/dist/translations/bs.d.ts +8 -0
  73. package/dist/translations/bs.js +23 -0
  74. package/dist/translations/bs.umd.js +23 -0
  75. package/dist/translations/ca.d.ts +8 -0
  76. package/dist/translations/ca.js +23 -0
  77. package/dist/translations/ca.umd.js +23 -0
  78. package/dist/translations/cs.d.ts +8 -0
  79. package/dist/translations/cs.js +23 -0
  80. package/dist/translations/cs.umd.js +23 -0
  81. package/dist/translations/da.d.ts +8 -0
  82. package/dist/translations/da.js +23 -0
  83. package/dist/translations/da.umd.js +23 -0
  84. package/dist/translations/de-ch.d.ts +8 -0
  85. package/dist/translations/de-ch.js +23 -0
  86. package/dist/translations/de-ch.umd.js +23 -0
  87. package/dist/translations/de.d.ts +8 -0
  88. package/dist/translations/de.js +23 -0
  89. package/dist/translations/de.umd.js +23 -0
  90. package/dist/translations/el.d.ts +8 -0
  91. package/dist/translations/el.js +23 -0
  92. package/dist/translations/el.umd.js +23 -0
  93. package/dist/translations/en-au.d.ts +8 -0
  94. package/dist/translations/en-au.js +23 -0
  95. package/dist/translations/en-au.umd.js +23 -0
  96. package/dist/translations/en.d.ts +8 -0
  97. package/dist/translations/en.js +23 -0
  98. package/dist/translations/en.umd.js +23 -0
  99. package/dist/translations/es-co.d.ts +8 -0
  100. package/dist/translations/es-co.js +23 -0
  101. package/dist/translations/es-co.umd.js +23 -0
  102. package/dist/translations/es.d.ts +8 -0
  103. package/dist/translations/es.js +23 -0
  104. package/dist/translations/es.umd.js +23 -0
  105. package/dist/translations/et.d.ts +8 -0
  106. package/dist/translations/et.js +23 -0
  107. package/dist/translations/et.umd.js +23 -0
  108. package/dist/translations/fa.d.ts +8 -0
  109. package/dist/translations/fa.js +23 -0
  110. package/dist/translations/fa.umd.js +23 -0
  111. package/dist/translations/fi.d.ts +8 -0
  112. package/dist/translations/fi.js +23 -0
  113. package/dist/translations/fi.umd.js +23 -0
  114. package/dist/translations/fr.d.ts +8 -0
  115. package/dist/translations/fr.js +23 -0
  116. package/dist/translations/fr.umd.js +23 -0
  117. package/dist/translations/gl.d.ts +8 -0
  118. package/dist/translations/gl.js +23 -0
  119. package/dist/translations/gl.umd.js +23 -0
  120. package/dist/translations/he.d.ts +8 -0
  121. package/dist/translations/he.js +23 -0
  122. package/dist/translations/he.umd.js +23 -0
  123. package/dist/translations/hi.d.ts +8 -0
  124. package/dist/translations/hi.js +23 -0
  125. package/dist/translations/hi.umd.js +23 -0
  126. package/dist/translations/hr.d.ts +8 -0
  127. package/dist/translations/hr.js +23 -0
  128. package/dist/translations/hr.umd.js +23 -0
  129. package/dist/translations/hu.d.ts +8 -0
  130. package/dist/translations/hu.js +23 -0
  131. package/dist/translations/hu.umd.js +23 -0
  132. package/dist/translations/id.d.ts +8 -0
  133. package/dist/translations/id.js +23 -0
  134. package/dist/translations/id.umd.js +23 -0
  135. package/dist/translations/it.d.ts +8 -0
  136. package/dist/translations/it.js +23 -0
  137. package/dist/translations/it.umd.js +23 -0
  138. package/dist/translations/ja.d.ts +8 -0
  139. package/dist/translations/ja.js +23 -0
  140. package/dist/translations/ja.umd.js +23 -0
  141. package/dist/translations/jv.d.ts +8 -0
  142. package/dist/translations/jv.js +23 -0
  143. package/dist/translations/jv.umd.js +23 -0
  144. package/dist/translations/ko.d.ts +8 -0
  145. package/dist/translations/ko.js +23 -0
  146. package/dist/translations/ko.umd.js +23 -0
  147. package/dist/translations/lt.d.ts +8 -0
  148. package/dist/translations/lt.js +23 -0
  149. package/dist/translations/lt.umd.js +23 -0
  150. package/dist/translations/lv.d.ts +8 -0
  151. package/dist/translations/lv.js +23 -0
  152. package/dist/translations/lv.umd.js +23 -0
  153. package/dist/translations/ms.d.ts +8 -0
  154. package/dist/translations/ms.js +23 -0
  155. package/dist/translations/ms.umd.js +23 -0
  156. package/dist/translations/nl.d.ts +8 -0
  157. package/dist/translations/nl.js +23 -0
  158. package/dist/translations/nl.umd.js +23 -0
  159. package/dist/translations/no.d.ts +8 -0
  160. package/dist/translations/no.js +23 -0
  161. package/dist/translations/no.umd.js +23 -0
  162. package/dist/translations/pl.d.ts +8 -0
  163. package/dist/translations/pl.js +23 -0
  164. package/dist/translations/pl.umd.js +23 -0
  165. package/dist/translations/pt-br.d.ts +8 -0
  166. package/dist/translations/pt-br.js +23 -0
  167. package/dist/translations/pt-br.umd.js +23 -0
  168. package/dist/translations/pt.d.ts +8 -0
  169. package/dist/translations/pt.js +23 -0
  170. package/dist/translations/pt.umd.js +23 -0
  171. package/dist/translations/ro.d.ts +8 -0
  172. package/dist/translations/ro.js +23 -0
  173. package/dist/translations/ro.umd.js +23 -0
  174. package/dist/translations/ru.d.ts +8 -0
  175. package/dist/translations/ru.js +23 -0
  176. package/dist/translations/ru.umd.js +23 -0
  177. package/dist/translations/sk.d.ts +8 -0
  178. package/dist/translations/sk.js +23 -0
  179. package/dist/translations/sk.umd.js +23 -0
  180. package/dist/translations/sr-latn.d.ts +8 -0
  181. package/dist/translations/sr-latn.js +23 -0
  182. package/dist/translations/sr-latn.umd.js +23 -0
  183. package/dist/translations/sr.d.ts +8 -0
  184. package/dist/translations/sr.js +23 -0
  185. package/dist/translations/sr.umd.js +23 -0
  186. package/dist/translations/sv.d.ts +8 -0
  187. package/dist/translations/sv.js +23 -0
  188. package/dist/translations/sv.umd.js +23 -0
  189. package/dist/translations/th.d.ts +8 -0
  190. package/dist/translations/th.js +23 -0
  191. package/dist/translations/th.umd.js +23 -0
  192. package/dist/translations/ti.d.ts +8 -0
  193. package/dist/translations/ti.js +23 -0
  194. package/dist/translations/ti.umd.js +23 -0
  195. package/dist/translations/tk.d.ts +8 -0
  196. package/dist/translations/tk.js +23 -0
  197. package/dist/translations/tk.umd.js +23 -0
  198. package/dist/translations/tr.d.ts +8 -0
  199. package/dist/translations/tr.js +23 -0
  200. package/dist/translations/tr.umd.js +23 -0
  201. package/dist/translations/ug.d.ts +8 -0
  202. package/dist/translations/ug.js +23 -0
  203. package/dist/translations/ug.umd.js +23 -0
  204. package/dist/translations/uk.d.ts +8 -0
  205. package/dist/translations/uk.js +23 -0
  206. package/dist/translations/uk.umd.js +23 -0
  207. package/dist/translations/ur.d.ts +8 -0
  208. package/dist/translations/ur.js +23 -0
  209. package/dist/translations/ur.umd.js +23 -0
  210. package/dist/translations/uz.d.ts +8 -0
  211. package/dist/translations/uz.js +23 -0
  212. package/dist/translations/uz.umd.js +23 -0
  213. package/dist/translations/vi.d.ts +8 -0
  214. package/dist/translations/vi.js +23 -0
  215. package/dist/translations/vi.umd.js +23 -0
  216. package/dist/translations/zh-cn.d.ts +8 -0
  217. package/dist/translations/zh-cn.js +23 -0
  218. package/dist/translations/zh-cn.umd.js +23 -0
  219. package/dist/translations/zh.d.ts +8 -0
  220. package/dist/translations/zh.js +23 -0
  221. package/dist/translations/zh.umd.js +23 -0
  222. package/dist/types/adapters/aiadapter.d.ts +52 -0
  223. package/dist/types/adapters/aitextadapter.d.ts +150 -0
  224. package/dist/types/adapters/awstextadapter.d.ts +183 -0
  225. package/dist/types/adapters/openaitextadapter.d.ts +187 -0
  226. package/dist/types/aiassistant.d.ts +390 -0
  227. package/dist/types/aiassistantediting.d.ts +50 -0
  228. package/dist/types/aiassistantui.d.ts +57 -0
  229. package/dist/types/aiconfig.d.ts +73 -0
  230. package/dist/types/augmentation.d.ts +31 -0
  231. package/dist/types/index.d.ts +17 -0
  232. package/dist/types/ui/aiassistantcontroller.d.ts +113 -0
  233. package/dist/types/ui/dropdown/aicommandslistview.d.ts +37 -0
  234. package/dist/types/ui/dropdown/buttonlabelwithhighlightview.d.ts +33 -0
  235. package/dist/types/ui/dropdown/labelwithhighlightview.d.ts +29 -0
  236. package/dist/types/ui/form/aiformcontentarea.d.ts +52 -0
  237. package/dist/types/ui/form/aiformerrorview.d.ts +30 -0
  238. package/dist/types/ui/form/aiformpromptview.d.ts +50 -0
  239. package/dist/types/ui/form/aiformtoolbarview.d.ts +62 -0
  240. package/dist/types/ui/form/aiformview.d.ts +145 -0
  241. package/dist/types/ui/form/aihistorylistitemview.d.ts +22 -0
  242. package/dist/types/ui/form/aihistorylistview.d.ts +39 -0
  243. package/dist/types/ui/form/prompthistory.d.ts +24 -0
  244. package/dist/types/ui/showaiassistantcommand.d.ts +44 -0
  245. package/dist/types/utils/common-translations.d.ts +13 -0
  246. package/lang/contexts.json +4 -0
  247. package/lang/translations/af.po +16 -0
  248. package/lang/translations/ar.po +16 -0
  249. package/lang/translations/bg.po +16 -0
  250. package/lang/translations/bn.po +16 -0
  251. package/lang/translations/bs.po +16 -0
  252. package/lang/translations/ca.po +16 -0
  253. package/lang/translations/cs.po +16 -0
  254. package/lang/translations/da.po +16 -0
  255. package/lang/translations/de-ch.po +16 -0
  256. package/lang/translations/de.po +16 -0
  257. package/lang/translations/el.po +16 -0
  258. package/lang/translations/en-au.po +16 -0
  259. package/lang/translations/en.po +16 -0
  260. package/lang/translations/es-co.po +16 -0
  261. package/lang/translations/es.po +16 -0
  262. package/lang/translations/et.po +16 -0
  263. package/lang/translations/fa.po +16 -0
  264. package/lang/translations/fi.po +16 -0
  265. package/lang/translations/fr.po +16 -0
  266. package/lang/translations/gl.po +16 -0
  267. package/lang/translations/he.po +16 -0
  268. package/lang/translations/hi.po +16 -0
  269. package/lang/translations/hr.po +16 -0
  270. package/lang/translations/hu.po +16 -0
  271. package/lang/translations/id.po +16 -0
  272. package/lang/translations/it.po +16 -0
  273. package/lang/translations/ja.po +16 -0
  274. package/lang/translations/jv.po +16 -0
  275. package/lang/translations/ko.po +16 -0
  276. package/lang/translations/lt.po +16 -0
  277. package/lang/translations/lv.po +16 -0
  278. package/lang/translations/ms.po +16 -0
  279. package/lang/translations/nl.po +16 -0
  280. package/lang/translations/no.po +16 -0
  281. package/lang/translations/pl.po +16 -0
  282. package/lang/translations/pt-br.po +16 -0
  283. package/lang/translations/pt.po +16 -0
  284. package/lang/translations/ro.po +16 -0
  285. package/lang/translations/ru.po +16 -0
  286. package/lang/translations/sk.po +16 -0
  287. package/lang/translations/sr-latn.po +16 -0
  288. package/lang/translations/sr.po +16 -0
  289. package/lang/translations/sv.po +16 -0
  290. package/lang/translations/th.po +16 -0
  291. package/lang/translations/ti.po +250 -0
  292. package/lang/translations/tk.po +16 -0
  293. package/lang/translations/tr.po +16 -0
  294. package/lang/translations/ug.po +16 -0
  295. package/lang/translations/uk.po +16 -0
  296. package/lang/translations/ur.po +16 -0
  297. package/lang/translations/uz.po +16 -0
  298. package/lang/translations/vi.po +16 -0
  299. package/lang/translations/zh-cn.po +16 -0
  300. package/lang/translations/zh.po +16 -0
  301. package/package.json +5 -4
  302. package/src/adapters/aiadapter.js +1 -1
  303. package/src/adapters/aitextadapter.js +1 -1
  304. package/src/adapters/awstextadapter.js +1 -1
  305. package/src/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant.js +1 -1
  307. package/src/aiassistantediting.js +1 -1
  308. package/src/aiassistantui.js +1 -1
  309. package/src/index.js +1 -1
  310. package/src/ui/aiassistantcontroller.js +1 -1
  311. package/src/ui/dropdown/aicommandslistview.js +1 -1
  312. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  313. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  314. package/src/ui/form/aiformcontentarea.js +1 -1
  315. package/src/ui/form/aiformerrorview.js +1 -1
  316. package/src/ui/form/aiformpromptview.js +1 -1
  317. package/src/ui/form/aiformtoolbarview.js +1 -1
  318. package/src/ui/form/aiformview.js +1 -1
  319. package/src/ui/form/aihistorylistitemview.js +1 -1
  320. package/src/ui/form/aihistorylistview.js +1 -1
  321. package/src/ui/form/prompthistory.js +1 -1
  322. package/src/ui/showaiassistantcommand.js +1 -1
  323. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cace2=_0x1a3c;(function(_0xcd56a,_0x5be933){const _0x4d066e=_0x1a3c,_0x367237=_0xcd56a();while(!![]){try{const _0x54be96=-parseInt(_0x4d066e(0x1ba))/0x1+parseInt(_0x4d066e(0x1cb))/0x2+parseInt(_0x4d066e(0x1c6))/0x3+parseInt(_0x4d066e(0x202))/0x4+-parseInt(_0x4d066e(0x1bb))/0x5*(-parseInt(_0x4d066e(0x1c5))/0x6)+parseInt(_0x4d066e(0x1bc))/0x7*(-parseInt(_0x4d066e(0x1f0))/0x8)+-parseInt(_0x4d066e(0x1d1))/0x9;if(_0x54be96===_0x5be933)break;else _0x367237['push'](_0x367237['shift']());}catch(_0x14ad0a){_0x367237['push'](_0x367237['shift']());}}}(_0x2c54,0x2e5ff));import{global as _0x38ae40}from'ckeditor5/src/utils.js';import{View as _0x1f7037,ButtonView as _0x14b78a,SpinnerView as _0x2851a3}from'ckeditor5/src/ui.js';function _0x2c54(){const _0x51fba6=['ck-ai-form__content-area--processing','element','appendChild','scrollTo','-9999px','isEnabled','ck-content','remove','739584xgCjZf','isProcessing','ClipboardItem','execute','position','appendLoader','text/plain','ck-ai-form__copy-button','div','scrollHeight','clipboard','check','createElement','156653zstWCk','10vYzbqC','7aSHheL','change:isProcessing','absolute','textContent','wheel','execCommand','body','ck-ai-form__content-area','mousedown','1065588xjdudW','447435MrlyMY','contentFieldView','left','_createLoader','ck-ai-form__content-field','326864BdHyRh','Copy','setTemplate','icon','querySelector','loaderView','2352888EOezNj','render','createRange','change:value','setStartAfter','write','ck-hidden','copyButtonView','_copyHTMLToClipboard','getSelection','<span>]</span>','text/html','ck-ai-form__copy-button-wrapper','removeAllRanges','isVisible','bind','\x20ck-ai-form__copy-button--copied','style','bindTemplate','<span>[</span>','innerHTML','class','ck-ai-form__content-area-wrapper','setEndBefore','value','_createCopyButton','focus','.ck-ai-form__loader','addRange','ck-ai-form__loader','firstElementChild','1957064XrBopH','smooth','listenTo','lastElementChild','locale','AI\x20is\x20writing...','set','copy','setContent','ck-reset_all-excluded'];_0x2c54=function(){return _0x51fba6;};return _0x2c54();}import _0x3fdb58 from'../../../theme/icons/copy.svg';import{getTranslation as _0xae2454}from'../../utils/common-translations.js';import{icons as _0x4641ce}from'ckeditor5/src/core.js';function _0x1a3c(_0x49e708,_0x504ff6){const _0x2c547a=_0x2c54();return _0x1a3c=function(_0x1a3ce6,_0x22efbf){_0x1a3ce6=_0x1a3ce6-0x1b6;let _0x1133bf=_0x2c547a[_0x1a3ce6];return _0x1133bf;},_0x1a3c(_0x49e708,_0x504ff6);}export default class nt extends _0x1f7037{constructor(_0x392e2e,_0x1bb88e=''){const _0x21edf4=_0x1a3c;super(_0x392e2e),this[_0x21edf4(0x1f6)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x55fffb=this[_0x21edf4(0x1e3)];this[_0x21edf4(0x1c7)]=new ContentFieldView(_0x392e2e,_0x1bb88e),this[_0x21edf4(0x1d8)]=this[_0x21edf4(0x1ea)](),this[_0x21edf4(0x1cd)]({'tag':_0x21edf4(0x20a),'attributes':{'class':['ck',_0x21edf4(0x1e7),_0x55fffb['if'](_0x21edf4(0x1df),_0x21edf4(0x1d7),_0x23e852=>!_0x23e852)],'tabindex':'-1'},'children':[{'tag':_0x21edf4(0x20a),'attributes':{'class':['ck',_0x21edf4(0x1c3),_0x55fffb['if'](_0x21edf4(0x203),_0x21edf4(0x1fa))]},'children':[this[_0x21edf4(0x1c7)],{'tag':_0x21edf4(0x20a),'attributes':{'class':['ck',_0x21edf4(0x1dd)]},'children':[this[_0x21edf4(0x1d8)]]}]}]});}[_0x5cace2(0x1d2)](){const _0x446bba=_0x5cace2;super[_0x446bba(0x1d2)](),this[_0x446bba(0x1e9)]&&this[_0x446bba(0x1c7)][_0x446bba(0x1f8)](this[_0x446bba(0x1e9)]);let _0x52a860=!0x1;this['on'](_0x446bba(0x1d4),(_0x1a9643,_0x33ae2f,_0x4a647b)=>{const _0x51a124=_0x446bba,_0x24a878=!this[_0x51a124(0x1c7)][_0x51a124(0x1fb)][_0x51a124(0x1cf)](_0x51a124(0x1ec));this[_0x51a124(0x1c7)][_0x51a124(0x1f8)](_0x4a647b),this[_0x51a124(0x203)]&&_0x24a878&&!_0x52a860&&this[_0x51a124(0x1fb)][_0x51a124(0x1fd)]({'top':this[_0x51a124(0x1fb)][_0x51a124(0x1b6)],'behavior':_0x51a124(0x1f1)});}),this['on'](_0x446bba(0x1bd),(_0x2370a4,_0xce025b,_0x3db2b9)=>{const _0x40f0e5=_0x446bba;_0x52a860=!0x1,_0x3db2b9?(this[_0x40f0e5(0x1e9)]=null,this[_0x40f0e5(0x1c7)][_0x40f0e5(0x207)]()):this[_0x40f0e5(0x1e9)]||this[_0x40f0e5(0x1c7)][_0x40f0e5(0x1f8)]('');}),this[_0x446bba(0x1f2)](this[_0x446bba(0x1fb)],_0x446bba(0x1c0),()=>{_0x52a860=!0x0;}),this[_0x446bba(0x1f2)](this[_0x446bba(0x1fb)],_0x446bba(0x1c4),()=>{_0x52a860=!0x0;});}[_0x5cace2(0x1eb)](){const _0x1ebb49=_0x5cace2;this[_0x1ebb49(0x1fb)][_0x1ebb49(0x1eb)]();}[_0x5cace2(0x1ea)](){const _0x1c4096=_0x5cace2,_0x5c7673=this[_0x1c4096(0x1f4)],_0x4210ef=new _0x14b78a(this[_0x1c4096(0x1f4)]),_0x3ccade=_0x1c4096(0x209);return _0x4210ef[_0x1c4096(0x1f6)]({'label':_0xae2454(_0x5c7673,_0x1c4096(0x1cc)),'icon':_0x3fdb58,'class':_0x3ccade,'tooltip':!0x0}),_0x4210ef[_0x1c4096(0x1e0)](_0x1c4096(0x1df))['to'](this,_0x1c4096(0x1e9),_0xe65bea=>!!_0xe65bea),_0x4210ef[_0x1c4096(0x1e0)](_0x1c4096(0x1ff))['to'](this,_0x1c4096(0x203),_0x3d0902=>!_0x3d0902),_0x4210ef['on'](_0x1c4096(0x205),()=>{const _0x1b63c3=_0x1c4096;this[_0x1b63c3(0x1d9)](this[_0x1b63c3(0x1c7)][_0x1b63c3(0x1fb)]),_0x4210ef[_0x1b63c3(0x1ce)]=_0x4641ce[_0x1b63c3(0x1b8)],_0x4210ef[_0x1b63c3(0x1e6)]=_0x3ccade+_0x1b63c3(0x1e1),this[_0x1b63c3(0x1eb)](),setTimeout(()=>{const _0x1c94bd=_0x1b63c3;_0x4210ef[_0x1c94bd(0x1ce)]=_0x3fdb58,_0x4210ef[_0x1c94bd(0x1e6)]=_0x3ccade;},0x3e8);}),_0x4210ef;}[_0x5cace2(0x1d9)](_0x9b60c8){const _0x29f47b=_0x5cace2,{window:_0x3fab1e,document:_0x1538ba}=_0x38ae40;if(_0x3fab1e[_0x29f47b(0x204)]){const {Blob:_0xa5953,ClipboardItem:_0x24760e}=_0x3fab1e,_0x710f21=[new _0x24760e({'text/html':new _0xa5953([_0x9b60c8[_0x29f47b(0x1e5)]],{'type':_0x29f47b(0x1dc)}),'text/plain':new _0xa5953([_0x9b60c8[_0x29f47b(0x1bf)]||''],{'type':_0x29f47b(0x208)})})];navigator[_0x29f47b(0x1b7)][_0x29f47b(0x1d6)](_0x710f21);}else{const _0x25aeab=_0x1538ba[_0x29f47b(0x1b9)](_0x29f47b(0x20a));_0x25aeab[_0x29f47b(0x1e2)][_0x29f47b(0x206)]=_0x29f47b(0x1be),_0x25aeab[_0x29f47b(0x1e2)][_0x29f47b(0x1c8)]=_0x29f47b(0x1fe),_0x25aeab[_0x29f47b(0x1e5)]=_0x29f47b(0x1e4)+_0x9b60c8[_0x29f47b(0x1e5)]+_0x29f47b(0x1db),_0x1538ba[_0x29f47b(0x1c2)][_0x29f47b(0x1fc)](_0x25aeab);const _0x3a428a=_0x1538ba[_0x29f47b(0x1d3)]();_0x3a428a[_0x29f47b(0x1d5)](_0x25aeab[_0x29f47b(0x1ef)]),_0x3a428a[_0x29f47b(0x1e8)](_0x25aeab[_0x29f47b(0x1f3)]);const _0x61fa32=_0x3fab1e[_0x29f47b(0x1da)]();_0x61fa32[_0x29f47b(0x1de)](),_0x61fa32[_0x29f47b(0x1ed)](_0x3a428a),_0x1538ba[_0x29f47b(0x1c1)](_0x29f47b(0x1f7)),_0x25aeab[_0x29f47b(0x201)]();}}}export class ContentFieldView extends _0x1f7037{constructor(_0x20952a,_0x343d0c=''){const _0xf7c98c=_0x5cace2;super(_0x20952a),this[_0xf7c98c(0x1d0)]=this[_0xf7c98c(0x1c9)](),this[_0xf7c98c(0x1cd)]({'tag':_0xf7c98c(0x20a),'attributes':{'class':['ck',_0xf7c98c(0x200),_0x343d0c,_0xf7c98c(0x1f9),_0xf7c98c(0x1ca)]}});}[_0x5cace2(0x1f8)](_0x11bac3){const _0x39b2e9=_0x5cace2;this[_0x39b2e9(0x1fb)][_0x39b2e9(0x1e5)]=_0x11bac3;}[_0x5cace2(0x207)](){const _0x3797b9=_0x5cace2;this[_0x3797b9(0x1fb)][_0x3797b9(0x1fc)](this[_0x3797b9(0x1d0)][_0x3797b9(0x1fb)]);}[_0x5cace2(0x1c9)](){const _0x346ad2=_0x5cace2,_0x530d41=new _0x1f7037(),_0xb92fbf=this[_0x346ad2(0x1f4)],_0x547120=new _0x2851a3();return _0x547120[_0x346ad2(0x1df)]=!0x0,_0x530d41[_0x346ad2(0x1cd)]({'tag':_0x346ad2(0x20a),'attributes':{'class':['ck',_0x346ad2(0x1ee)]},'children':[_0x547120,{'text':_0xae2454(_0xb92fbf,_0x346ad2(0x1f5))}]}),_0x530d41[_0x346ad2(0x1d2)](),_0x530d41;}}
23
+ const _0x35899b=_0x4983;function _0x4983(_0x257b2c,_0x4bf371){const _0x198204=_0x1982();return _0x4983=function(_0x49837d,_0x2056e4){_0x49837d=_0x49837d-0x178;let _0x1219dc=_0x198204[_0x49837d];return _0x1219dc;},_0x4983(_0x257b2c,_0x4bf371);}function _0x1982(){const _0x447dd2=['bind','_createCopyButton','-9999px','lastElementChild','3976jNDftM','innerHTML','getSelection','createRange','class','render','ck-ai-form__content-area-wrapper','value','element','contentFieldView','execCommand','12MWyZtf','5PZfmNc','ck-ai-form__content-area','copyButtonView','text/plain','18882604MRiPpK','textContent','Copy','set','4793290MKKFIu','11179DsjqHC','appendChild','change:value','ck-ai-form__content-area--processing','<span>[</span>','ck-ai-form__copy-button-wrapper','querySelector','isProcessing','execute','setEndBefore','loaderView','scrollTo','locale','firstElementChild','scrollHeight','isEnabled','3183996HsiQWA','removeAllRanges','AI\x20is\x20writing...','ck-hidden','ck-ai-form__loader','check','addRange','change:isProcessing','absolute','wheel','ClipboardItem','.ck-ai-form__loader','ck-reset_all-excluded','setContent','setTemplate','303TxOQeu','<span>]</span>','appendLoader','clipboard','_copyHTMLToClipboard','focus','div','isVisible','ck-content','ck-ai-form__content-field','position','write','left','mousedown','copy','40UQyPFr','_createLoader','style','icon','ck-ai-form__copy-button','body','setStartAfter','remove','bindTemplate','9GhMrgb','7793EzbBSY','createElement','6978818CWMqxF','smooth','text/html','listenTo','\x20ck-ai-form__copy-button--copied','26684xiYDTF'];_0x1982=function(){return _0x447dd2;};return _0x1982();}(function(_0x154e13,_0x318519){const _0x50bbc7=_0x4983,_0x375e1c=_0x154e13();while(!![]){try{const _0x5d88d6=parseInt(_0x50bbc7(0x1c1))/0x1*(-parseInt(_0x50bbc7(0x1b7))/0x2)+parseInt(_0x50bbc7(0x1a8))/0x3*(-parseInt(_0x50bbc7(0x1c8))/0x4)+-parseInt(_0x50bbc7(0x180))/0x5*(parseInt(_0x50bbc7(0x199))/0x6)+parseInt(_0x50bbc7(0x189))/0x7*(-parseInt(_0x50bbc7(0x1cd))/0x8)+parseInt(_0x50bbc7(0x1c0))/0x9*(parseInt(_0x50bbc7(0x188))/0xa)+parseInt(_0x50bbc7(0x1c3))/0xb+-parseInt(_0x50bbc7(0x17f))/0xc*(-parseInt(_0x50bbc7(0x184))/0xd);if(_0x5d88d6===_0x318519)break;else _0x375e1c['push'](_0x375e1c['shift']());}catch(_0x1630ef){_0x375e1c['push'](_0x375e1c['shift']());}}}(_0x1982,0x64a6d));import{global as _0x24788a}from'ckeditor5/src/utils.js';import{View as _0x5bdb77,ButtonView as _0x4d2972,SpinnerView as _0x391eac}from'ckeditor5/src/ui.js';import _0x4ccc18 from'../../../theme/icons/copy.svg';import{getTranslation as _0x380f38}from'../../utils/common-translations.js';import{icons as _0x42220a}from'ckeditor5/src/core.js';export default class nt extends _0x5bdb77{constructor(_0x28ad0e,_0x15d9d7=''){const _0x119f69=_0x4983;super(_0x28ad0e),this[_0x119f69(0x187)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xd18592=this[_0x119f69(0x1bf)];this[_0x119f69(0x17d)]=new ContentFieldView(_0x28ad0e,_0x15d9d7),this[_0x119f69(0x182)]=this[_0x119f69(0x1ca)](),this[_0x119f69(0x1a7)]({'tag':_0x119f69(0x1ae),'attributes':{'class':['ck',_0x119f69(0x17a),_0xd18592['if'](_0x119f69(0x1af),_0x119f69(0x19c),_0x12c582=>!_0x12c582)],'tabindex':'-1'},'children':[{'tag':_0x119f69(0x1ae),'attributes':{'class':['ck',_0x119f69(0x181),_0xd18592['if'](_0x119f69(0x190),_0x119f69(0x18c))]},'children':[this[_0x119f69(0x17d)],{'tag':_0x119f69(0x1ae),'attributes':{'class':['ck',_0x119f69(0x18e)]},'children':[this[_0x119f69(0x182)]]}]}]});}[_0x35899b(0x179)](){const _0x3bcceb=_0x35899b;super[_0x3bcceb(0x179)](),this[_0x3bcceb(0x17b)]&&this[_0x3bcceb(0x17d)][_0x3bcceb(0x1a6)](this[_0x3bcceb(0x17b)]);let _0x21dd94=!0x1;this['on'](_0x3bcceb(0x18b),(_0x1ef699,_0x42f516,_0x14c569)=>{const _0x150121=_0x3bcceb,_0x4fdb9d=!this[_0x150121(0x17d)][_0x150121(0x17c)][_0x150121(0x18f)](_0x150121(0x1a4));this[_0x150121(0x17d)][_0x150121(0x1a6)](_0x14c569),this[_0x150121(0x190)]&&_0x4fdb9d&&!_0x21dd94&&this[_0x150121(0x17c)][_0x150121(0x194)]({'top':this[_0x150121(0x17c)][_0x150121(0x197)],'behavior':_0x150121(0x1c4)});}),this['on'](_0x3bcceb(0x1a0),(_0x3f1e70,_0x10d170,_0x1c4982)=>{const _0x94dc53=_0x3bcceb;_0x21dd94=!0x1,_0x1c4982?(this[_0x94dc53(0x17b)]=null,this[_0x94dc53(0x17d)][_0x94dc53(0x1aa)]()):this[_0x94dc53(0x17b)]||this[_0x94dc53(0x17d)][_0x94dc53(0x1a6)]('');}),this[_0x3bcceb(0x1c6)](this[_0x3bcceb(0x17c)],_0x3bcceb(0x1a2),()=>{_0x21dd94=!0x0;}),this[_0x3bcceb(0x1c6)](this[_0x3bcceb(0x17c)],_0x3bcceb(0x1b5),()=>{_0x21dd94=!0x0;});}[_0x35899b(0x1ad)](){const _0x3542a9=_0x35899b;this[_0x3542a9(0x17c)][_0x3542a9(0x1ad)]();}[_0x35899b(0x1ca)](){const _0x182208=_0x35899b,_0x5946dc=this[_0x182208(0x195)],_0x580b20=new _0x4d2972(this[_0x182208(0x195)]),_0x2c02d1=_0x182208(0x1bb);return _0x580b20[_0x182208(0x187)]({'label':_0x380f38(_0x5946dc,_0x182208(0x186)),'icon':_0x4ccc18,'class':_0x2c02d1,'tooltip':!0x0}),_0x580b20[_0x182208(0x1c9)](_0x182208(0x1af))['to'](this,_0x182208(0x17b),_0x54a7ce=>!!_0x54a7ce),_0x580b20[_0x182208(0x1c9)](_0x182208(0x198))['to'](this,_0x182208(0x190),_0x2b6c65=>!_0x2b6c65),_0x580b20['on'](_0x182208(0x191),()=>{const _0x4adeda=_0x182208;this[_0x4adeda(0x1ac)](this[_0x4adeda(0x17d)][_0x4adeda(0x17c)]),_0x580b20[_0x4adeda(0x1ba)]=_0x42220a[_0x4adeda(0x19e)],_0x580b20[_0x4adeda(0x178)]=_0x2c02d1+_0x4adeda(0x1c7),this[_0x4adeda(0x1ad)](),setTimeout(()=>{const _0x59d75e=_0x4adeda;_0x580b20[_0x59d75e(0x1ba)]=_0x4ccc18,_0x580b20[_0x59d75e(0x178)]=_0x2c02d1;},0x3e8);}),_0x580b20;}[_0x35899b(0x1ac)](_0x320fd4){const _0x4a225a=_0x35899b,{window:_0x427a11,document:_0x63fe30}=_0x24788a;if(_0x427a11[_0x4a225a(0x1a3)]){const {Blob:_0x1b89f4,ClipboardItem:_0x1d8e59}=_0x427a11,_0x25f0a0=[new _0x1d8e59({'text/html':new _0x1b89f4([_0x320fd4[_0x4a225a(0x1ce)]],{'type':_0x4a225a(0x1c5)}),'text/plain':new _0x1b89f4([_0x320fd4[_0x4a225a(0x185)]||''],{'type':_0x4a225a(0x183)})})];navigator[_0x4a225a(0x1ab)][_0x4a225a(0x1b3)](_0x25f0a0);}else{const _0x1c82fd=_0x63fe30[_0x4a225a(0x1c2)](_0x4a225a(0x1ae));_0x1c82fd[_0x4a225a(0x1b9)][_0x4a225a(0x1b2)]=_0x4a225a(0x1a1),_0x1c82fd[_0x4a225a(0x1b9)][_0x4a225a(0x1b4)]=_0x4a225a(0x1cb),_0x1c82fd[_0x4a225a(0x1ce)]=_0x4a225a(0x18d)+_0x320fd4[_0x4a225a(0x1ce)]+_0x4a225a(0x1a9),_0x63fe30[_0x4a225a(0x1bc)][_0x4a225a(0x18a)](_0x1c82fd);const _0x458301=_0x63fe30[_0x4a225a(0x1d0)]();_0x458301[_0x4a225a(0x1bd)](_0x1c82fd[_0x4a225a(0x196)]),_0x458301[_0x4a225a(0x192)](_0x1c82fd[_0x4a225a(0x1cc)]);const _0x365dd9=_0x427a11[_0x4a225a(0x1cf)]();_0x365dd9[_0x4a225a(0x19a)](),_0x365dd9[_0x4a225a(0x19f)](_0x458301),_0x63fe30[_0x4a225a(0x17e)](_0x4a225a(0x1b6)),_0x1c82fd[_0x4a225a(0x1be)]();}}}export class ContentFieldView extends _0x5bdb77{constructor(_0x177849,_0x54af8a=''){const _0x465d48=_0x35899b;super(_0x177849),this[_0x465d48(0x193)]=this[_0x465d48(0x1b8)](),this[_0x465d48(0x1a7)]({'tag':_0x465d48(0x1ae),'attributes':{'class':['ck',_0x465d48(0x1b0),_0x54af8a,_0x465d48(0x1a5),_0x465d48(0x1b1)]}});}[_0x35899b(0x1a6)](_0x551e38){const _0x1b0936=_0x35899b;this[_0x1b0936(0x17c)][_0x1b0936(0x1ce)]=_0x551e38;}[_0x35899b(0x1aa)](){const _0x179cb7=_0x35899b;this[_0x179cb7(0x17c)][_0x179cb7(0x18a)](this[_0x179cb7(0x193)][_0x179cb7(0x17c)]);}[_0x35899b(0x1b8)](){const _0x4c6e8e=_0x35899b,_0x3bff00=new _0x5bdb77(),_0x4a3d28=this[_0x4c6e8e(0x195)],_0x3cbfcf=new _0x391eac();return _0x3cbfcf[_0x4c6e8e(0x1af)]=!0x0,_0x3bff00[_0x4c6e8e(0x1a7)]({'tag':_0x4c6e8e(0x1ae),'attributes':{'class':['ck',_0x4c6e8e(0x19d)]},'children':[_0x3cbfcf,{'text':_0x380f38(_0x4a3d28,_0x4c6e8e(0x19b))}]}),_0x3bff00[_0x4c6e8e(0x179)](),_0x3bff00;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x34a19f,_0x56a471){const _0x53f880=_0x1998,_0x161806=_0x34a19f();while(!![]){try{const _0x1d8c8e=parseInt(_0x53f880(0x75))/0x1+-parseInt(_0x53f880(0x66))/0x2*(-parseInt(_0x53f880(0x6e))/0x3)+-parseInt(_0x53f880(0x6a))/0x4+-parseInt(_0x53f880(0x6f))/0x5*(-parseInt(_0x53f880(0x74))/0x6)+-parseInt(_0x53f880(0x6d))/0x7*(parseInt(_0x53f880(0x6b))/0x8)+parseInt(_0x53f880(0x70))/0x9+parseInt(_0x53f880(0x71))/0xa*(-parseInt(_0x53f880(0x73))/0xb);if(_0x1d8c8e===_0x56a471)break;else _0x161806['push'](_0x161806['shift']());}catch(_0x23b6bf){_0x161806['push'](_0x161806['shift']());}}}(_0x5c43,0xbb4b9));import{View as _0x3e9c57,IconView as _0xb5825}from'ckeditor5/src/ui.js';function _0x5c43(){const _0x49ddc0=['set','1242600MVCTRv','357096ZyxHEB','bindTemplate','49ugKpPS','747867jotFbi','2000435DmKGjQ','3351510xPtTSV','50sfkyGx','div','4634333pzAWwC','18CjXThq','677689uWehQD','ck-ai-form__error','text','10yUOisr','setTemplate','content'];_0x5c43=function(){return _0x49ddc0;};return _0x5c43();}import _0xf12696 from'../../../theme/icons/error.svg';function _0x1998(_0x3ac41d,_0x4d1288){const _0x5c4333=_0x5c43();return _0x1998=function(_0x19989b,_0x386a09){_0x19989b=_0x19989b-0x66;let _0x221047=_0x5c4333[_0x19989b];return _0x221047;},_0x1998(_0x3ac41d,_0x4d1288);}export default class mt extends _0x3e9c57{constructor(_0x2d942a,_0x21ecb0=''){const _0x17feb4=_0x1998;super(_0x2d942a);const _0x1f111c=new _0xb5825(),_0x1bd409=this[_0x17feb4(0x6c)];this[_0x17feb4(0x69)](_0x17feb4(0x77),_0x21ecb0),_0x1f111c[_0x17feb4(0x68)]=_0xf12696,this[_0x17feb4(0x67)]({'tag':_0x17feb4(0x72),'attributes':{'class':['ck',_0x17feb4(0x76)]},'children':[_0x1f111c,{'text':_0x1bd409['to'](_0x17feb4(0x77))}]});}}
23
+ function _0x5838(){const _0x16412c=['1541392GgdJPe','content','setTemplate','464040eUkPSl','22883HJwJOP','2lDoMEC','bindTemplate','890LSfRrH','190482DtRJTU','set','4iBBwFy','6476074OURZOu','582fnXLDG','44262mfIHnE','ck-ai-form__error','text','div','1139406UmkhaK'];_0x5838=function(){return _0x16412c;};return _0x5838();}(function(_0x541d38,_0x3a6188){const _0x562994=_0x2d4d,_0x177b2b=_0x541d38();while(!![]){try{const _0x5a0630=-parseInt(_0x562994(0x15f))/0x1*(-parseInt(_0x562994(0x15c))/0x2)+-parseInt(_0x562994(0x168))/0x3*(parseInt(_0x562994(0x161))/0x4)+-parseInt(_0x562994(0x15a))/0x5+-parseInt(_0x562994(0x163))/0x6*(parseInt(_0x562994(0x15b))/0x7)+-parseInt(_0x562994(0x157))/0x8+parseInt(_0x562994(0x164))/0x9*(parseInt(_0x562994(0x15e))/0xa)+parseInt(_0x562994(0x162))/0xb;if(_0x5a0630===_0x3a6188)break;else _0x177b2b['push'](_0x177b2b['shift']());}catch(_0x1b0cfa){_0x177b2b['push'](_0x177b2b['shift']());}}}(_0x5838,0x3942d));import{View as _0x2e4d25,IconView as _0x1809f4}from'ckeditor5/src/ui.js';import _0x47cace from'../../../theme/icons/error.svg';function _0x2d4d(_0x1a3df2,_0x89aa0b){const _0x58383a=_0x5838();return _0x2d4d=function(_0x2d4dbd,_0x369394){_0x2d4dbd=_0x2d4dbd-0x157;let _0xcc6192=_0x58383a[_0x2d4dbd];return _0xcc6192;},_0x2d4d(_0x1a3df2,_0x89aa0b);}export default class mt extends _0x2e4d25{constructor(_0x91c3c7,_0x209da7=''){const _0x3f2388=_0x2d4d;super(_0x91c3c7);const _0x1af165=new _0x1809f4(),_0x456b2f=this[_0x3f2388(0x15d)];this[_0x3f2388(0x160)](_0x3f2388(0x166),_0x209da7),_0x1af165[_0x3f2388(0x158)]=_0x47cace,this[_0x3f2388(0x159)]({'tag':_0x3f2388(0x167),'attributes':{'class':['ck',_0x3f2388(0x165)]},'children':[_0x1af165,{'text':_0x456b2f['to'](_0x3f2388(0x166))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa96080=_0x446e;function _0x446e(_0x24f7b5,_0x563a11){const _0x1652b1=_0x1652();return _0x446e=function(_0x446e42,_0x4a33e5){_0x446e42=_0x446e42-0x75;let _0x2e8833=_0x1652b1[_0x446e42];return _0x2e8833;},_0x446e(_0x24f7b5,_0x563a11);}(function(_0x478316,_0x2aed32){const _0xab8720=_0x446e,_0x15d4be=_0x478316();while(!![]){try{const _0x129780=parseInt(_0xab8720(0x83))/0x1+-parseInt(_0xab8720(0x9a))/0x2+-parseInt(_0xab8720(0x80))/0x3*(parseInt(_0xab8720(0x7d))/0x4)+-parseInt(_0xab8720(0xa9))/0x5+-parseInt(_0xab8720(0x9f))/0x6+-parseInt(_0xab8720(0x8d))/0x7+parseInt(_0xab8720(0x91))/0x8;if(_0x129780===_0x2aed32)break;else _0x15d4be['push'](_0x15d4be['shift']());}catch(_0x293e51){_0x15d4be['push'](_0x15d4be['shift']());}}}(_0x1652,0x9d0bf));import{Rect as _0x10d74a,global as _0x533a84,isVisible as _0x569af1}from'ckeditor5/src/utils.js';function _0x1652(){const _0x162440=['requestAnimationFrame','width','Submit','_createSubmitButton','keystrokes','focusableChildren','right','4OtHZJK','resultsView','focusFirst','232299iEnxIB','locale','queryView','845393gIQbVv','submit','rtl','excludeScrollbarsAndBorders','uiLanguageDirection','fieldWrapperChildren','update','focusLast','isEnabled','_createShowHistoryButton','1062831zYzUsR','enter','fieldView','window','10875328iGqZmm','element','children','style','maxRows','filteredView','isEmpty','History','ck-ai-form__submit','1274598ShHDmj','fire','ck-ai-form__toggle-history','focusCycler','render','2272644jUFuJF','focus','value','showHistoryButtonView','left','bind','isVisible','submitButtonView','execute','history','1581035LGFcGJ','isOn','add','target','minRows','set'];_0x1652=function(){return _0x162440;};return _0x1652();}import{AutocompleteView as _0x5b99b7,ButtonView as _0x54c26b}from'ckeditor5/src/ui.js';import{icons as _0x21c7a1}from'ckeditor5/src/core.js';import{getTranslation as _0x54b88b}from'../../utils/common-translations.js';import _0x146631 from'../../../theme/icons/submit.svg';export default class pt extends _0x5b99b7{constructor(_0x327412,_0x1bce84){const _0x4ec72b=_0x446e;super(_0x327412,_0x1bce84),this[_0x4ec72b(0x82)][_0x4ec72b(0x8f)][_0x4ec72b(0xad)]=0x1,this[_0x4ec72b(0x82)][_0x4ec72b(0x8f)][_0x4ec72b(0x95)]=0x3,this[_0x4ec72b(0xa6)]=this[_0x4ec72b(0x79)](),this[_0x4ec72b(0xa2)]=this[_0x4ec72b(0x8c)](),this[_0x4ec72b(0x7b)][_0x4ec72b(0xab)](this[_0x4ec72b(0xa2)],0x1),this[_0x4ec72b(0x7b)][_0x4ec72b(0xab)](this[_0x4ec72b(0xa6)]);}[_0xa96080(0x9e)](){const _0x52bcd0=_0xa96080;super[_0x52bcd0(0x9e)](),this[_0x52bcd0(0x82)][_0x52bcd0(0x88)][_0x52bcd0(0xab)](this[_0x52bcd0(0xa2)]),this[_0x52bcd0(0x93)][_0x52bcd0(0xab)](this[_0x52bcd0(0xa6)]),this[_0x52bcd0(0x7a)][_0x52bcd0(0x75)](_0x52bcd0(0x8e),(_0x475e98,_0x6cb36f)=>{const _0x2b7f14=_0x52bcd0;_0x475e98[_0x2b7f14(0xac)]==this[_0x2b7f14(0x82)][_0x2b7f14(0x8f)][_0x2b7f14(0x92)]&&(this[_0x2b7f14(0x84)](),_0x6cb36f());});}[_0xa96080(0x79)](){const _0x2e1e5a=_0xa96080,_0x1d7aa1=new _0x54c26b(this[_0x2e1e5a(0x81)]),_0x3f493f=this[_0x2e1e5a(0x81)];return _0x1d7aa1[_0x2e1e5a(0x75)]({'icon':_0x146631,'label':_0x54b88b(_0x3f493f,_0x2e1e5a(0x78)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2e1e5a(0x99)}),_0x1d7aa1['on'](_0x2e1e5a(0xa7),()=>{const _0x20d460=_0x2e1e5a;this[_0x20d460(0x84)]();}),_0x1d7aa1[_0x2e1e5a(0xa4)](_0x2e1e5a(0x8b))['to'](this[_0x2e1e5a(0x82)][_0x2e1e5a(0x8f)],_0x2e1e5a(0x97),this,_0x2e1e5a(0x8b),(_0x1f97db,_0x4201f5)=>!_0x1f97db&&_0x4201f5),_0x1d7aa1;}[_0xa96080(0x8c)](){const _0x272ab4=_0xa96080,_0x3aad6a=new _0x54c26b(this[_0x272ab4(0x81)]),_0x32778e=this[_0x272ab4(0x7e)],_0x5f0aa6=this[_0x272ab4(0x81)];_0x3aad6a[_0x272ab4(0x75)]({'label':_0x54b88b(_0x5f0aa6,_0x272ab4(0x98)),'withText':!0x1,'icon':_0x21c7a1[_0x272ab4(0xa8)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x272ab4(0x9c)}),_0x3aad6a[_0x272ab4(0xa4)](_0x272ab4(0xaa))['to'](_0x32778e,_0x272ab4(0xa5)),_0x3aad6a[_0x272ab4(0xa4)](_0x272ab4(0x8b))['to'](this,_0x272ab4(0x8b)),_0x3aad6a['on'](_0x272ab4(0xa7),()=>{const _0x43d9c7=_0x272ab4;_0x32778e[_0x43d9c7(0xa5)]=!_0x32778e[_0x43d9c7(0xa5)],_0x32778e[_0x43d9c7(0xa5)]?this[_0x43d9c7(0x96)][_0x43d9c7(0xa0)]():this[_0x43d9c7(0xa0)]();});const _0x5b18e0=()=>{const _0x3b720b=_0x272ab4;_0x533a84[_0x3b720b(0x90)][_0x3b720b(0x76)](()=>{const _0x165876=_0x3b720b;if(_0x569af1(this[_0x165876(0x92)])){const _0x4b35ad=new _0x10d74a(this[_0x165876(0x82)][_0x165876(0x8f)][_0x165876(0x92)]),_0x49ab00=_0x4b35ad[_0x165876(0x77)],_0x301acd=_0x165876(0x85)===_0x5f0aa6[_0x165876(0x87)]?_0x165876(0xa3):_0x165876(0x7c);_0x4b35ad[_0x165876(0x86)](),_0x3aad6a[_0x165876(0x92)][_0x165876(0x94)][_0x301acd]=_0x49ab00-_0x4b35ad[_0x165876(0x77)]+0x1+'px';}});};return this[_0x272ab4(0x82)][_0x272ab4(0x8f)]['on'](_0x272ab4(0x89),_0x5b18e0),this['on'](_0x272ab4(0x9e),_0x5b18e0),_0x3aad6a;}[_0xa96080(0x84)](){const _0x252ab8=_0xa96080,_0x77cfe7=this[_0x252ab8(0x82)][_0x252ab8(0x8f)][_0x252ab8(0x92)][_0x252ab8(0xa1)];this[_0x252ab8(0x9b)](_0x252ab8(0x84),_0x77cfe7);}[_0xa96080(0xa0)](_0x27303e){const _0x1f84bc=_0xa96080;-0x1===_0x27303e?this[_0x1f84bc(0x9d)][_0x1f84bc(0x8a)]():this[_0x1f84bc(0x9d)][_0x1f84bc(0x7f)]();}}
23
+ function _0x12e8(){const _0x2819bd=['history','keystrokes','fire','add','right','57672882IjtakK','maxRows','value','resultsView','4NHrbBX','excludeScrollbarsAndBorders','left','Submit','rtl','_createSubmitButton','10779671ftKfNc','requestAnimationFrame','submit','focusCycler','focusableChildren','enter','filteredView','queryView','fieldView','locale','element','bind','1204619bwfGUj','execute','window','10vlZXlo','update','isEnabled','ck-ai-form__submit','fieldWrapperChildren','isVisible','target','isOn','set','submitButtonView','819240ipHpUs','render','History','3949527QJBmbv','uiLanguageDirection','isEmpty','width','983744rqIeGC','ck-ai-form__toggle-history','showHistoryButtonView','minRows','focus','focusFirst','4830655BcJAuv','focusLast','6rFyqSr','_createShowHistoryButton','children','style'];_0x12e8=function(){return _0x2819bd;};return _0x12e8();}const _0x1ca096=_0x4d85;(function(_0x3a100f,_0x41862e){const _0xbbc51b=_0x4d85,_0x270daf=_0x3a100f();while(!![]){try{const _0x2fc282=-parseInt(_0xbbc51b(0x181))/0x1+-parseInt(_0xbbc51b(0x15a))/0x2+-parseInt(_0xbbc51b(0x156))/0x3*(parseInt(_0xbbc51b(0x16f))/0x4)+-parseInt(_0xbbc51b(0x160))/0x5+-parseInt(_0xbbc51b(0x162))/0x6*(parseInt(_0xbbc51b(0x175))/0x7)+-parseInt(_0xbbc51b(0x153))/0x8+-parseInt(_0xbbc51b(0x16b))/0x9*(-parseInt(_0xbbc51b(0x149))/0xa);if(_0x2fc282===_0x41862e)break;else _0x270daf['push'](_0x270daf['shift']());}catch(_0x20c6da){_0x270daf['push'](_0x270daf['shift']());}}}(_0x12e8,0xc00b1));import{Rect as _0x54361,global as _0x1ca864,isVisible as _0xce6df1}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x93f510,ButtonView as _0x44c257}from'ckeditor5/src/ui.js';import{icons as _0x1c0714}from'ckeditor5/src/core.js';function _0x4d85(_0x2a733a,_0x1ec75b){const _0x12e8d0=_0x12e8();return _0x4d85=function(_0x4d8587,_0x17c098){_0x4d8587=_0x4d8587-0x147;let _0x2b288e=_0x12e8d0[_0x4d8587];return _0x2b288e;},_0x4d85(_0x2a733a,_0x1ec75b);}import{getTranslation as _0x50d70d}from'../../utils/common-translations.js';import _0x270efb from'../../../theme/icons/submit.svg';export default class pt extends _0x93f510{constructor(_0x371074,_0x26887a){const _0x178830=_0x4d85;super(_0x371074,_0x26887a),this[_0x178830(0x17c)][_0x178830(0x17d)][_0x178830(0x15d)]=0x1,this[_0x178830(0x17c)][_0x178830(0x17d)][_0x178830(0x16c)]=0x3,this[_0x178830(0x152)]=this[_0x178830(0x174)](),this[_0x178830(0x15c)]=this[_0x178830(0x163)](),this[_0x178830(0x179)][_0x178830(0x169)](this[_0x178830(0x15c)],0x1),this[_0x178830(0x179)][_0x178830(0x169)](this[_0x178830(0x152)]);}[_0x1ca096(0x154)](){const _0x1bd63a=_0x1ca096;super[_0x1bd63a(0x154)](),this[_0x1bd63a(0x17c)][_0x1bd63a(0x14d)][_0x1bd63a(0x169)](this[_0x1bd63a(0x15c)]),this[_0x1bd63a(0x164)][_0x1bd63a(0x169)](this[_0x1bd63a(0x152)]),this[_0x1bd63a(0x167)][_0x1bd63a(0x151)](_0x1bd63a(0x17a),(_0x234789,_0x1997be)=>{const _0x58044b=_0x1bd63a;_0x234789[_0x58044b(0x14f)]==this[_0x58044b(0x17c)][_0x58044b(0x17d)][_0x58044b(0x17f)]&&(this[_0x58044b(0x177)](),_0x1997be());});}[_0x1ca096(0x174)](){const _0x12867a=_0x1ca096,_0x34c3bb=new _0x44c257(this[_0x12867a(0x17e)]),_0xe2dfbd=this[_0x12867a(0x17e)];return _0x34c3bb[_0x12867a(0x151)]({'icon':_0x270efb,'label':_0x50d70d(_0xe2dfbd,_0x12867a(0x172)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x12867a(0x14c)}),_0x34c3bb['on'](_0x12867a(0x147),()=>{const _0x457103=_0x12867a;this[_0x457103(0x177)]();}),_0x34c3bb[_0x12867a(0x180)](_0x12867a(0x14b))['to'](this[_0x12867a(0x17c)][_0x12867a(0x17d)],_0x12867a(0x158),this,_0x12867a(0x14b),(_0x1a08c0,_0x1165c2)=>!_0x1a08c0&&_0x1165c2),_0x34c3bb;}[_0x1ca096(0x163)](){const _0xc5592b=_0x1ca096,_0xf666d7=new _0x44c257(this[_0xc5592b(0x17e)]),_0x5a38f0=this[_0xc5592b(0x16e)],_0x2e2e9b=this[_0xc5592b(0x17e)];_0xf666d7[_0xc5592b(0x151)]({'label':_0x50d70d(_0x2e2e9b,_0xc5592b(0x155)),'withText':!0x1,'icon':_0x1c0714[_0xc5592b(0x166)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0xc5592b(0x15b)}),_0xf666d7[_0xc5592b(0x180)](_0xc5592b(0x150))['to'](_0x5a38f0,_0xc5592b(0x14e)),_0xf666d7[_0xc5592b(0x180)](_0xc5592b(0x14b))['to'](this,_0xc5592b(0x14b)),_0xf666d7['on'](_0xc5592b(0x147),()=>{const _0x52e796=_0xc5592b;_0x5a38f0[_0x52e796(0x14e)]=!_0x5a38f0[_0x52e796(0x14e)],_0x5a38f0[_0x52e796(0x14e)]?this[_0x52e796(0x17b)][_0x52e796(0x15e)]():this[_0x52e796(0x15e)]();});const _0x4f7c5e=()=>{const _0x35833b=_0xc5592b;_0x1ca864[_0x35833b(0x148)][_0x35833b(0x176)](()=>{const _0x55c1e4=_0x35833b;if(_0xce6df1(this[_0x55c1e4(0x17f)])){const _0x455440=new _0x54361(this[_0x55c1e4(0x17c)][_0x55c1e4(0x17d)][_0x55c1e4(0x17f)]),_0x2151be=_0x455440[_0x55c1e4(0x159)],_0x18d3d2=_0x55c1e4(0x173)===_0x2e2e9b[_0x55c1e4(0x157)]?_0x55c1e4(0x171):_0x55c1e4(0x16a);_0x455440[_0x55c1e4(0x170)](),_0xf666d7[_0x55c1e4(0x17f)][_0x55c1e4(0x165)][_0x18d3d2]=_0x2151be-_0x455440[_0x55c1e4(0x159)]+0x1+'px';}});};return this[_0xc5592b(0x17c)][_0xc5592b(0x17d)]['on'](_0xc5592b(0x14a),_0x4f7c5e),this['on'](_0xc5592b(0x154),_0x4f7c5e),_0xf666d7;}[_0x1ca096(0x177)](){const _0x590a53=_0x1ca096,_0x475bec=this[_0x590a53(0x17c)][_0x590a53(0x17d)][_0x590a53(0x17f)][_0x590a53(0x16d)];this[_0x590a53(0x168)](_0x590a53(0x177),_0x475bec);}[_0x1ca096(0x15e)](_0x783ae0){const _0x3230cc=_0x1ca096;-0x1===_0x783ae0?this[_0x3230cc(0x178)][_0x3230cc(0x161)]():this[_0x3230cc(0x178)][_0x3230cc(0x15f)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5af9(){const _0x2737c9=['ck-button-action','stopButton','toUpperCase','insert','replaceButton','211095eOPCsE','28aHfexQ','items','REPLACE','AI_','285865UMiPQi','1226352TGlXYr','set','tryAgainButton','bind','label','1307849WpYham','8228056jbGwdK','Stop','_createButton','9NQSnJQ','9768970CyuqEG','locale','mainAction','addMany','Try\x20again','isVisible','ck-ai-form__toolbar','_CONTENT','Insert\x20below','bindTemplate','16usicpn','ck-hidden','397886VbVejF','replace','extendTemplate','insertButton'];_0x5af9=function(){return _0x2737c9;};return _0x5af9();}const _0xa1abdd=_0x46c7;(function(_0x510603,_0x5b3d03){const _0x5bda94=_0x46c7,_0x48ed82=_0x510603();while(!![]){try{const _0x12c7d2=parseInt(_0x5bda94(0xea))/0x1+parseInt(_0x5bda94(0xd6))/0x2+-parseInt(_0x5bda94(0xdf))/0x3+-parseInt(_0x5bda94(0xd4))/0x4*(-parseInt(_0x5bda94(0xe4))/0x5)+-parseInt(_0x5bda94(0xe5))/0x6*(parseInt(_0x5bda94(0xe0))/0x7)+-parseInt(_0x5bda94(0xeb))/0x8+parseInt(_0x5bda94(0xee))/0x9*(parseInt(_0x5bda94(0xef))/0xa);if(_0x12c7d2===_0x5b3d03)break;else _0x48ed82['push'](_0x48ed82['shift']());}catch(_0x205319){_0x48ed82['push'](_0x48ed82['shift']());}}}(_0x5af9,0xc2525));function _0x46c7(_0x583b4b,_0x22ff9a){const _0x5af917=_0x5af9();return _0x46c7=function(_0x46c70a,_0x1adf40){_0x46c70a=_0x46c70a-0xcb;let _0x39c611=_0x5af917[_0x46c70a];return _0x39c611;},_0x46c7(_0x583b4b,_0x22ff9a);}import{ToolbarView as _0x2b5163,ButtonView as _0x42c3b8}from'ckeditor5/src/ui.js';import{getTranslation as _0x1406b2}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xa1abdd(0xd7),'INSERT':_0xa1abdd(0xdd)};export default class Tt extends _0x2b5163{constructor(_0x3ccfee){const _0x23c00d=_0xa1abdd;super(_0x3ccfee),this[_0x23c00d(0xe6)](_0x23c00d(0xcf),!0x1),this[_0x23c00d(0xe6)](_0x23c00d(0xcc),AIFormToolbarViewMainActionLabel[_0x23c00d(0xe2)]),this[_0x23c00d(0xde)]=this[_0x23c00d(0xed)]('',_0x23c00d(0xda)),this[_0x23c00d(0xde)][_0x23c00d(0xe8)](_0x23c00d(0xe9))['to'](this,_0x23c00d(0xcc),_0x42c30e=>_0x1406b2(_0x3ccfee,_0x23c00d(0xe3)+_0x42c30e[_0x23c00d(0xdc)]()+_0x23c00d(0xd1))),this[_0x23c00d(0xd9)]=this[_0x23c00d(0xed)](_0x1406b2(_0x3ccfee,_0x23c00d(0xd2))),this[_0x23c00d(0xe7)]=this[_0x23c00d(0xed)](_0x1406b2(_0x3ccfee,_0x23c00d(0xce))),this[_0x23c00d(0xdb)]=this[_0x23c00d(0xed)](_0x1406b2(_0x3ccfee,_0x23c00d(0xec)));const _0x1fcd73=this[_0x23c00d(0xd3)];this[_0x23c00d(0xd8)]({'attributes':{'class':[_0x23c00d(0xd0),_0x1fcd73['if'](_0x23c00d(0xcf),_0x23c00d(0xd5),_0x1a9368=>!_0x1a9368)]}}),this[_0x23c00d(0xe1)][_0x23c00d(0xcd)]([this[_0x23c00d(0xde)],this[_0x23c00d(0xd9)],this[_0x23c00d(0xe7)],this[_0x23c00d(0xdb)]]);}[_0xa1abdd(0xed)](_0x2c0ed6,_0x4b8940){const _0x49ec24=_0xa1abdd,_0x2ce96e=new _0x42c3b8(this[_0x49ec24(0xcb)]);return _0x2ce96e[_0x49ec24(0xe6)]({'label':_0x2c0ed6,'class':_0x4b8940||'','isVisible':!0x0,'withText':!0x0}),_0x2ce96e;}}
23
+ const _0x56be7c=_0x40f9;(function(_0xc05dc4,_0x4933a7){const _0x2946a5=_0x40f9,_0x1d9f31=_0xc05dc4();while(!![]){try{const _0x5cf42a=-parseInt(_0x2946a5(0x119))/0x1+-parseInt(_0x2946a5(0x106))/0x2*(parseInt(_0x2946a5(0x11a))/0x3)+parseInt(_0x2946a5(0xff))/0x4+parseInt(_0x2946a5(0x122))/0x5*(parseInt(_0x2946a5(0x104))/0x6)+parseInt(_0x2946a5(0x118))/0x7+parseInt(_0x2946a5(0x10d))/0x8*(-parseInt(_0x2946a5(0x114))/0x9)+parseInt(_0x2946a5(0x108))/0xa;if(_0x5cf42a===_0x4933a7)break;else _0x1d9f31['push'](_0x1d9f31['shift']());}catch(_0x307dc2){_0x1d9f31['push'](_0x1d9f31['shift']());}}}(_0x1a90,0x3cf56));import{ToolbarView as _0x2f2e7c,ButtonView as _0x2995b9}from'ckeditor5/src/ui.js';import{getTranslation as _0x491aa2}from'../../utils/common-translations.js';function _0x1a90(){const _0x28e41a=['locale','1387440ouDgJj','label','addMany','extendTemplate','tryAgainButton','6TDUHQQ','insertButton','2cqUWky','items','1187990QWHsxv','replace','set','ck-hidden','AI_','8nBgIyM','Try\x20again','replaceButton','ck-ai-form__toolbar','insert','REPLACE','Insert\x20below','2586393XWkPgN','bind','mainAction','_createButton','2885876zCMgcl','409278kPwjZp','1179723ROIjDm','toUpperCase','ck-button-action','_CONTENT','isVisible','Stop','stopButton','bindTemplate','2308275VsuUzG'];_0x1a90=function(){return _0x28e41a;};return _0x1a90();}function _0x40f9(_0x4efcb5,_0x2230eb){const _0x1a90dc=_0x1a90();return _0x40f9=function(_0x40f978,_0x187473){_0x40f978=_0x40f978-0xfe;let _0x1bb80c=_0x1a90dc[_0x40f978];return _0x1bb80c;},_0x40f9(_0x4efcb5,_0x2230eb);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x56be7c(0x109),'INSERT':_0x56be7c(0x111)};export default class Tt extends _0x2f2e7c{constructor(_0x129334){const _0x40a6d8=_0x56be7c;super(_0x129334),this[_0x40a6d8(0x10a)](_0x40a6d8(0x11e),!0x1),this[_0x40a6d8(0x10a)](_0x40a6d8(0x116),AIFormToolbarViewMainActionLabel[_0x40a6d8(0x112)]),this[_0x40a6d8(0x10f)]=this[_0x40a6d8(0x117)]('',_0x40a6d8(0x11c)),this[_0x40a6d8(0x10f)][_0x40a6d8(0x115)](_0x40a6d8(0x100))['to'](this,_0x40a6d8(0x116),_0x902001=>_0x491aa2(_0x129334,_0x40a6d8(0x10c)+_0x902001[_0x40a6d8(0x11b)]()+_0x40a6d8(0x11d))),this[_0x40a6d8(0x105)]=this[_0x40a6d8(0x117)](_0x491aa2(_0x129334,_0x40a6d8(0x113))),this[_0x40a6d8(0x103)]=this[_0x40a6d8(0x117)](_0x491aa2(_0x129334,_0x40a6d8(0x10e))),this[_0x40a6d8(0x120)]=this[_0x40a6d8(0x117)](_0x491aa2(_0x129334,_0x40a6d8(0x11f)));const _0x153367=this[_0x40a6d8(0x121)];this[_0x40a6d8(0x102)]({'attributes':{'class':[_0x40a6d8(0x110),_0x153367['if'](_0x40a6d8(0x11e),_0x40a6d8(0x10b),_0x2a857c=>!_0x2a857c)]}}),this[_0x40a6d8(0x107)][_0x40a6d8(0x101)]([this[_0x40a6d8(0x10f)],this[_0x40a6d8(0x105)],this[_0x40a6d8(0x103)],this[_0x40a6d8(0x120)]]);}[_0x56be7c(0x117)](_0x50a008,_0x45fac8){const _0x4f77d1=_0x56be7c,_0x44a924=new _0x2995b9(this[_0x4f77d1(0xfe)]);return _0x44a924[_0x4f77d1(0x10a)]({'label':_0x50a008,'class':_0x45fac8||'','isVisible':!0x0,'withText':!0x0}),_0x44a924;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36a662=_0x1054;(function(_0x1e25c5,_0x5a5a35){const _0x469830=_0x1054,_0xfa6cbb=_0x1e25c5();while(!![]){try{const _0x10e436=-parseInt(_0x469830(0x1bd))/0x1+-parseInt(_0x469830(0x1e1))/0x2*(-parseInt(_0x469830(0x1e6))/0x3)+-parseInt(_0x469830(0x1e7))/0x4*(parseInt(_0x469830(0x1a5))/0x5)+-parseInt(_0x469830(0x1bf))/0x6+parseInt(_0x469830(0x1be))/0x7*(-parseInt(_0x469830(0x1d0))/0x8)+-parseInt(_0x469830(0x1b3))/0x9+-parseInt(_0x469830(0x197))/0xa*(-parseInt(_0x469830(0x1d8))/0xb);if(_0x10e436===_0x5a5a35)break;else _0xfa6cbb['push'](_0xfa6cbb['shift']());}catch(_0x44eef2){_0xfa6cbb['push'](_0xfa6cbb['shift']());}}}(_0x190e,0x22120));import{FocusTracker as _0x3a2cd7,KeystrokeHandler as _0xadd381}from'ckeditor5/src/utils.js';import{View as _0x3e1903,FocusCycler as _0x333007,createLabeledTextarea as _0x41614b}from'ckeditor5/src/ui.js';import _0x18ffc0,{AIFormToolbarViewMainActionLabel as _0x2ab65a}from'./aiformtoolbarview.js';function _0x190e(){const _0xf94648=['keystrokes','insertButton','focusLast','bindTemplate','clear','value','tab','copyButtonView','trim','isEnabled','390965XyizAz','toolbar','ck-ai-form-content','isError','search','queryView','tryAgainButton','setTemplate','focusCycler','backwardCycle','element','bindTo','delegate','set','2376243dHeWsd','_createHistoryView','replaceContent','historyGroupView','_focusables','createCollection','shift\x20+\x20tab','fieldView','add','tryAgainEvent','255885sDVuOJ','8708WFVUwb','1453584JxJoWF','contentArea','finishProcessing','mainAction','render','execute','stop','_createToolbar','_createPromptView','focusTracker','stopProcessing','focusFirst','focusNext','_promptHistory','fire','stopButton','handleError','856CleRrw','submit','Ask\x20AI\x20to\x20edit\x20or\x20generate','bind','ck-ai-form','high','forwardCycle','replaceButton','30877BZNpaE','focus','reset','items','isVisible','isProcessing','ck-hidden','text','insertContentBelow','14mGwrwa','submitPrompt','div','startProcessing','Ask\x20AI\x20to\x20improve\x20generated\x20text','114564dZgGwL','12dMYoJj','prompt','REPLACE','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','listenTo','clearHistory','AI_ERROR_FAILED','promptView','focusPrevious','label','3570WLMnWm','errorView','locale','Empty\x20history'];_0x190e=function(){return _0xf94648;};return _0x190e();}import _0x56df32 from'./aiformcontentarea.js';import _0x17f690 from'./aiformerrorview.js';import _0xb076be from'./aiformpromptview.js';import _0xeae327 from'./aihistorylistview.js';import _0x324831 from'./aihistorylistitemview.js';import _0x330d22 from'./prompthistory.js';import{getTranslation as _0xdc8046}from'../../utils/common-translations.js';import{escape as _0x108f85}from'lodash-es';function _0x1054(_0x248579,_0x2fcb1b){const _0x190ebb=_0x190e();return _0x1054=function(_0x105475,_0xe3d60){_0x105475=_0x105475-0x197;let _0x548c9e=_0x190ebb[_0x105475];return _0x548c9e;},_0x1054(_0x248579,_0x2fcb1b);}export default class x extends _0x3e1903{constructor(_0x4576e9,_0x5a92a7,_0x2bc95c=''){const _0x48f0a7=_0x1054;super(_0x4576e9),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1a4),!0x0),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1dd),!0x1),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1e8),''),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1a0),''),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1a8),!0x1),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1c2),_0x2ab65a[_0x48f0a7(0x1e9)]),this[_0x48f0a7(0x1cc)]=new _0x330d22(),this[_0x48f0a7(0x198)]=new _0x17f690(_0x4576e9),this[_0x48f0a7(0x1c0)]=new _0x56df32(_0x4576e9,_0x2bc95c),this[_0x48f0a7(0x1c0)][_0x48f0a7(0x1d3)](_0x48f0a7(0x1dd))['to'](this),this[_0x48f0a7(0x1c0)][_0x48f0a7(0x1d3)](_0x48f0a7(0x1a0))['to'](this),this[_0x48f0a7(0x1a6)]=this[_0x48f0a7(0x1c6)](),this[_0x48f0a7(0x1a6)][_0x48f0a7(0x1d3)](_0x48f0a7(0x1c2))['to'](this),this[_0x48f0a7(0x1ee)]=this[_0x48f0a7(0x1c7)](),this[_0x48f0a7(0x1c8)]=new _0x3a2cd7(),this[_0x48f0a7(0x19b)]=new _0xadd381(),this[_0x48f0a7(0x1b7)]=this[_0x48f0a7(0x1b8)]([this[_0x48f0a7(0x1c0)],this[_0x48f0a7(0x1c0)][_0x48f0a7(0x1a2)],this[_0x48f0a7(0x1a6)],this[_0x48f0a7(0x1ee)]]),this[_0x48f0a7(0x1ad)]=new _0x333007({'focusables':this[_0x48f0a7(0x1b7)],'focusTracker':this[_0x48f0a7(0x1c8)],'keystrokeHandler':this[_0x48f0a7(0x19b)],'actions':{'focusPrevious':_0x48f0a7(0x1b9),'focusNext':_0x48f0a7(0x1a1)}}),this[_0x48f0a7(0x1ee)][_0x48f0a7(0x1ad)]['on'](_0x48f0a7(0x1d6),_0x47f8c6=>{const _0x14e647=_0x48f0a7;this[_0x14e647(0x1ad)][_0x14e647(0x1cb)](),_0x47f8c6[_0x14e647(0x1c5)]();}),this[_0x48f0a7(0x1ee)][_0x48f0a7(0x1ad)]['on'](_0x48f0a7(0x1ae),_0x4cd2e0=>{const _0x4cd59d=_0x48f0a7;this[_0x4cd59d(0x1ad)][_0x4cd59d(0x1ef)](),_0x4cd2e0[_0x4cd59d(0x1c5)]();}),this[_0x48f0a7(0x1ee)][_0x48f0a7(0x1aa)][_0x48f0a7(0x1ba)][_0x48f0a7(0x1d3)](_0x48f0a7(0x1a0))['to'](this,_0x48f0a7(0x1e8));const _0x435547=this[_0x48f0a7(0x19e)];this[_0x48f0a7(0x1ac)]({'tag':_0x48f0a7(0x1e3),'attributes':{'class':['ck',_0x48f0a7(0x1d4),_0x5a92a7],'tabindex':'-1'},'children':[{'tag':_0x48f0a7(0x1e3),'attributes':{'class':['ck',_0x48f0a7(0x1a7)]},'children':[{'tag':_0x48f0a7(0x1e3),'attributes':{'class':[_0x435547['if'](_0x48f0a7(0x1a8),_0x48f0a7(0x1de),_0x5644e0=>!_0x5644e0)]},'children':[this[_0x48f0a7(0x198)]]},this[_0x48f0a7(0x1c0)],this[_0x48f0a7(0x1a6)],this[_0x48f0a7(0x1ee)]]}]});}[_0x36a662(0x1c3)](){const _0xb90e82=_0x36a662;super[_0xb90e82(0x1c3)](),this[_0xb90e82(0x1c8)][_0xb90e82(0x1bb)](this[_0xb90e82(0x1c0)][_0xb90e82(0x1af)]),this[_0xb90e82(0x1c8)][_0xb90e82(0x1bb)](this[_0xb90e82(0x1c0)][_0xb90e82(0x1a2)][_0xb90e82(0x1af)]),this[_0xb90e82(0x1c8)][_0xb90e82(0x1bb)](this[_0xb90e82(0x1a6)][_0xb90e82(0x1af)]),this[_0xb90e82(0x1c8)][_0xb90e82(0x1bb)](this[_0xb90e82(0x1ee)][_0xb90e82(0x1af)]),this[_0xb90e82(0x19b)][_0xb90e82(0x1eb)](this[_0xb90e82(0x1af)]);}[_0x36a662(0x1d9)](_0x58abce=0x1){const _0x15d43a=_0x36a662;-0x1===_0x58abce?this[_0x15d43a(0x1ad)][_0x15d43a(0x19d)]():this[_0x15d43a(0x1ad)][_0x15d43a(0x1ca)]();}[_0x36a662(0x1da)](){const _0x2ef592=_0x36a662;this[_0x2ef592(0x1e8)]='',this[_0x2ef592(0x1a0)]='',this[_0x2ef592(0x1a8)]=!0x1,this[_0x2ef592(0x1ee)][_0x2ef592(0x1da)](),this[_0x2ef592(0x1c0)][_0x2ef592(0x1dc)]=!0x1,this[_0x2ef592(0x1a6)][_0x2ef592(0x1dc)]=!0x1;}[_0x36a662(0x1c7)](){const _0x467172=_0x36a662,_0x3070ce=this[_0x467172(0x199)],_0xe4dd23=new _0xb076be(_0x3070ce,{'queryView':{'label':_0xdc8046(_0x3070ce,_0x467172(0x1d2)),'creator':_0x41614b,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xdc8046(_0x3070ce,_0x467172(0x19a)),'secondary':_0xdc8046(_0x3070ce,_0x467172(0x1ea))}}},'filteredView':this[_0x467172(0x1b4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xe4dd23[_0x467172(0x1d3)](_0x467172(0x1a4))['to'](this,_0x467172(0x1a4),this,_0x467172(0x1dd),(_0x15e8fc,_0x17646c)=>_0x15e8fc&&!_0x17646c),this[_0x467172(0x1eb)](_0xe4dd23,_0x467172(0x1d1),(_0x2c722a,_0x202dbe)=>{const _0x148f23=_0x467172;this[_0x148f23(0x1e8)]=_0x202dbe;const _0xda40e1=_0x108f85(_0x202dbe);this[_0x148f23(0x1cd)](_0x148f23(0x1e2),_0xda40e1),_0x202dbe[_0x148f23(0x1a3)]()&&this[_0x148f23(0x1cc)][_0x148f23(0x1bb)]({'prompt':_0xda40e1},0x0);},{'priority':_0x467172(0x1d5)}),_0xe4dd23;}[_0x36a662(0x1b4)](){const _0x310e9e=_0x36a662,_0x1e110b=new _0xeae327(this[_0x310e9e(0x199)]);return _0x1e110b[_0x310e9e(0x1b6)][_0x310e9e(0x1db)][_0x310e9e(0x1b0)](this[_0x310e9e(0x1cc)])['as'](_0x324831),_0x1e110b['on'](_0x310e9e(0x1ec),()=>{const _0x329739=_0x310e9e;this[_0x329739(0x1cc)][_0x329739(0x19f)](),this[_0x329739(0x1ee)][_0x329739(0x1a9)](''),this[_0x329739(0x1ee)][_0x329739(0x1d9)]();}),_0x1e110b;}[_0x36a662(0x1c6)](){const _0x987054=_0x36a662,_0x36ce7f=new _0x18ffc0(this[_0x987054(0x199)]);return _0x36ce7f[_0x987054(0x1d7)][_0x987054(0x1d3)](_0x987054(0x1a4))['to'](this,_0x987054(0x1a4),this,_0x987054(0x1dd),this,_0x987054(0x1a0),(_0xaf570b,_0x3f3977,_0x57ec0e)=>_0xaf570b&&!_0x3f3977&&!!_0x57ec0e),_0x36ce7f[_0x987054(0x1d7)][_0x987054(0x1b1)](_0x987054(0x1c4))['to'](this,_0x987054(0x1b5)),_0x36ce7f[_0x987054(0x19c)][_0x987054(0x1d3)](_0x987054(0x1a4))['to'](this,_0x987054(0x1a4),this,_0x987054(0x1dd),this,_0x987054(0x1a0),(_0x5121dc,_0x38877f,_0x354dcc)=>_0x5121dc&&!_0x38877f&&!!_0x354dcc),_0x36ce7f[_0x987054(0x19c)][_0x987054(0x1b1)](_0x987054(0x1c4))['to'](this,_0x987054(0x1e0)),_0x36ce7f[_0x987054(0x1ab)][_0x987054(0x1d3)](_0x987054(0x1a4))['to'](this,_0x987054(0x1a4),this,_0x987054(0x1dd),(_0x4e56c7,_0xacb30c)=>_0x4e56c7&&!_0xacb30c),_0x36ce7f[_0x987054(0x1ab)][_0x987054(0x1b1)](_0x987054(0x1c4))['to'](this,_0x987054(0x1bc)),_0x36ce7f[_0x987054(0x1ce)][_0x987054(0x1d3)](_0x987054(0x1a4))['to'](this,_0x987054(0x1dd)),_0x36ce7f[_0x987054(0x1ce)][_0x987054(0x1b1)](_0x987054(0x1c4))['to'](this,_0x987054(0x1c9)),_0x36ce7f;}[_0x36a662(0x1e4)](){const _0x5e2391=_0x36a662;this[_0x5e2391(0x1a0)]='',this[_0x5e2391(0x1a8)]=!0x1,this[_0x5e2391(0x1dd)]=!0x0,this[_0x5e2391(0x1c0)][_0x5e2391(0x1dc)]=!0x0,this[_0x5e2391(0x1a6)][_0x5e2391(0x1dc)]=!0x0,this[_0x5e2391(0x1c0)][_0x5e2391(0x1d9)]();}[_0x36a662(0x1c1)](){const _0x432e13=_0x36a662,_0x4ff52b=this[_0x432e13(0x199)];this[_0x432e13(0x1dd)]=!0x1,this[_0x432e13(0x1e8)]='',this[_0x432e13(0x1ee)][_0x432e13(0x1da)](),this[_0x432e13(0x1a0)]&&(this[_0x432e13(0x1ee)][_0x432e13(0x1aa)][_0x432e13(0x1f0)]=_0xdc8046(_0x4ff52b,_0x432e13(0x1e5)));}[_0x36a662(0x1cf)](_0x2e356a){const _0x2e94f5=_0x36a662,_0x313c0d=this[_0x2e94f5(0x199)];this[_0x2e94f5(0x1c1)](),this[_0x2e94f5(0x1a8)]=!0x0,this[_0x2e94f5(0x198)][_0x2e94f5(0x1df)]=_0x2e356a||_0xdc8046(_0x313c0d,_0x2e94f5(0x1ed)),this[_0x2e94f5(0x1a0)]||(this[_0x2e94f5(0x1c0)][_0x2e94f5(0x1dc)]=!0x1);}}
23
+ const _0x18e3c3=_0x3b98;(function(_0x2a8b34,_0x28fe7a){const _0xac9ee3=_0x3b98,_0x49ec0f=_0x2a8b34();while(!![]){try{const _0x398d7c=parseInt(_0xac9ee3(0x190))/0x1+parseInt(_0xac9ee3(0x19e))/0x2+-parseInt(_0xac9ee3(0x17e))/0x3*(parseInt(_0xac9ee3(0x1a5))/0x4)+-parseInt(_0xac9ee3(0x1ab))/0x5*(-parseInt(_0xac9ee3(0x184))/0x6)+-parseInt(_0xac9ee3(0x1b1))/0x7+parseInt(_0xac9ee3(0x1a4))/0x8*(-parseInt(_0xac9ee3(0x15d))/0x9)+parseInt(_0xac9ee3(0x16a))/0xa*(parseInt(_0xac9ee3(0x199))/0xb);if(_0x398d7c===_0x28fe7a)break;else _0x49ec0f['push'](_0x49ec0f['shift']());}catch(_0x10717d){_0x49ec0f['push'](_0x49ec0f['shift']());}}}(_0x38df,0x7a6e7));import{FocusTracker as _0x2c0f7e,KeystrokeHandler as _0x45ec56}from'ckeditor5/src/utils.js';import{View as _0x41764e,FocusCycler as _0x277524,createLabeledTextarea as _0x111b52}from'ckeditor5/src/ui.js';import _0x4bb4ac,{AIFormToolbarViewMainActionLabel as _0x295ac9}from'./aiformtoolbarview.js';import _0x335810 from'./aiformcontentarea.js';import _0x2f5250 from'./aiformerrorview.js';import _0x1a3459 from'./aiformpromptview.js';import _0x4c1d63 from'./aihistorylistview.js';import _0x3351ff from'./aihistorylistitemview.js';import _0x21b4f5 from'./prompthistory.js';function _0x38df(){const _0x5acd9b=['startProcessing','bindTo','bindTemplate','1557734bbQpvK','add','historyGroupView','queryView','delegate','insertButton','8tOoYDo','36MJPlRN','toolbar','isProcessing','stopProcessing','createCollection','insertContentBelow','2725KnepJQ','focusTracker','focus','clearHistory','focusPrevious','reset','4095980CcFOgH','fieldView','Ask\x20AI\x20to\x20edit\x20or\x20generate','replaceContent','isEnabled','tryAgainButton','5873697bkSugA','render','Empty\x20history','_createHistoryView','div','promptView','_createPromptView','ck-hidden','submit','execute','stopButton','clear','AI_ERROR_FAILED','120jGvYad','bind','handleError','isError','search','replaceButton','_promptHistory','Ask\x20AI\x20to\x20improve\x20generated\x20text','label','isVisible','setTemplate','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','tab','listenTo','keystrokes','ck-ai-form-content','stop','REPLACE','high','_createToolbar','14907sssFEp','backwardCycle','element','mainAction','copyButtonView','shift\x20+\x20tab','2130azXfpa','text','focusCycler','value','set','items','trim','ck-ai-form','focusLast','focusNext','errorView','forwardCycle','707003hDRdyc','fire','submitPrompt','tryAgainEvent','finishProcessing','_focusables','prompt','locale','contentArea','95909mggyHA','focusFirst'];_0x38df=function(){return _0x5acd9b;};return _0x38df();}function _0x3b98(_0x21dd6c,_0x4d4368){const _0x38df7c=_0x38df();return _0x3b98=function(_0x3b982c,_0x14a925){_0x3b982c=_0x3b982c-0x15c;let _0x5ad503=_0x38df7c[_0x3b982c];return _0x5ad503;},_0x3b98(_0x21dd6c,_0x4d4368);}import{getTranslation as _0x28c9c0}from'../../utils/common-translations.js';import{escape as _0x10688a}from'lodash-es';export default class x extends _0x41764e{constructor(_0x10d295,_0x3896fa,_0x3d16c0=''){const _0x58c27a=_0x3b98;super(_0x10d295),this[_0x58c27a(0x188)](_0x58c27a(0x1b5),!0x0),this[_0x58c27a(0x188)](_0x58c27a(0x1a7),!0x1),this[_0x58c27a(0x188)](_0x58c27a(0x196),''),this[_0x58c27a(0x188)](_0x58c27a(0x187),''),this[_0x58c27a(0x188)](_0x58c27a(0x16d),!0x1),this[_0x58c27a(0x188)](_0x58c27a(0x181),_0x295ac9[_0x58c27a(0x17b)]),this[_0x58c27a(0x170)]=new _0x21b4f5(),this[_0x58c27a(0x18e)]=new _0x2f5250(_0x10d295),this[_0x58c27a(0x198)]=new _0x335810(_0x10d295,_0x3d16c0),this[_0x58c27a(0x198)][_0x58c27a(0x16b)](_0x58c27a(0x1a7))['to'](this),this[_0x58c27a(0x198)][_0x58c27a(0x16b)](_0x58c27a(0x187))['to'](this),this[_0x58c27a(0x1a6)]=this[_0x58c27a(0x17d)](),this[_0x58c27a(0x1a6)][_0x58c27a(0x16b)](_0x58c27a(0x181))['to'](this),this[_0x58c27a(0x162)]=this[_0x58c27a(0x163)](),this[_0x58c27a(0x1ac)]=new _0x2c0f7e(),this[_0x58c27a(0x178)]=new _0x45ec56(),this[_0x58c27a(0x195)]=this[_0x58c27a(0x1a9)]([this[_0x58c27a(0x198)],this[_0x58c27a(0x198)][_0x58c27a(0x182)],this[_0x58c27a(0x1a6)],this[_0x58c27a(0x162)]]),this[_0x58c27a(0x186)]=new _0x277524({'focusables':this[_0x58c27a(0x195)],'focusTracker':this[_0x58c27a(0x1ac)],'keystrokeHandler':this[_0x58c27a(0x178)],'actions':{'focusPrevious':_0x58c27a(0x183),'focusNext':_0x58c27a(0x176)}}),this[_0x58c27a(0x162)][_0x58c27a(0x186)]['on'](_0x58c27a(0x18f),_0x4b30e5=>{const _0x102972=_0x58c27a;this[_0x102972(0x186)][_0x102972(0x18d)](),_0x4b30e5[_0x102972(0x17a)]();}),this[_0x58c27a(0x162)][_0x58c27a(0x186)]['on'](_0x58c27a(0x17f),_0x3fe43b=>{const _0x1ffba2=_0x58c27a;this[_0x1ffba2(0x186)][_0x1ffba2(0x1af)](),_0x3fe43b[_0x1ffba2(0x17a)]();}),this[_0x58c27a(0x162)][_0x58c27a(0x1a1)][_0x58c27a(0x1b2)][_0x58c27a(0x16b)](_0x58c27a(0x187))['to'](this,_0x58c27a(0x196));const _0xc19e40=this[_0x58c27a(0x19d)];this[_0x58c27a(0x174)]({'tag':_0x58c27a(0x161),'attributes':{'class':['ck',_0x58c27a(0x18b),_0x3896fa],'tabindex':'-1'},'children':[{'tag':_0x58c27a(0x161),'attributes':{'class':['ck',_0x58c27a(0x179)]},'children':[{'tag':_0x58c27a(0x161),'attributes':{'class':[_0xc19e40['if'](_0x58c27a(0x16d),_0x58c27a(0x164),_0x5e7b28=>!_0x5e7b28)]},'children':[this[_0x58c27a(0x18e)]]},this[_0x58c27a(0x198)],this[_0x58c27a(0x1a6)],this[_0x58c27a(0x162)]]}]});}[_0x18e3c3(0x15e)](){const _0x51fed7=_0x18e3c3;super[_0x51fed7(0x15e)](),this[_0x51fed7(0x1ac)][_0x51fed7(0x19f)](this[_0x51fed7(0x198)][_0x51fed7(0x180)]),this[_0x51fed7(0x1ac)][_0x51fed7(0x19f)](this[_0x51fed7(0x198)][_0x51fed7(0x182)][_0x51fed7(0x180)]),this[_0x51fed7(0x1ac)][_0x51fed7(0x19f)](this[_0x51fed7(0x1a6)][_0x51fed7(0x180)]),this[_0x51fed7(0x1ac)][_0x51fed7(0x19f)](this[_0x51fed7(0x162)][_0x51fed7(0x180)]),this[_0x51fed7(0x178)][_0x51fed7(0x177)](this[_0x51fed7(0x180)]);}[_0x18e3c3(0x1ad)](_0x398f3d=0x1){const _0x44a21d=_0x18e3c3;-0x1===_0x398f3d?this[_0x44a21d(0x186)][_0x44a21d(0x18c)]():this[_0x44a21d(0x186)][_0x44a21d(0x19a)]();}[_0x18e3c3(0x1b0)](){const _0x319647=_0x18e3c3;this[_0x319647(0x196)]='',this[_0x319647(0x187)]='',this[_0x319647(0x16d)]=!0x1,this[_0x319647(0x162)][_0x319647(0x1b0)](),this[_0x319647(0x198)][_0x319647(0x173)]=!0x1,this[_0x319647(0x1a6)][_0x319647(0x173)]=!0x1;}[_0x18e3c3(0x163)](){const _0x50fb76=_0x18e3c3,_0xd42f39=this[_0x50fb76(0x197)],_0x1c25df=new _0x1a3459(_0xd42f39,{'queryView':{'label':_0x28c9c0(_0xd42f39,_0x50fb76(0x1b3)),'creator':_0x111b52,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x28c9c0(_0xd42f39,_0x50fb76(0x15f)),'secondary':_0x28c9c0(_0xd42f39,_0x50fb76(0x175))}}},'filteredView':this[_0x50fb76(0x160)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1c25df[_0x50fb76(0x16b)](_0x50fb76(0x1b5))['to'](this,_0x50fb76(0x1b5),this,_0x50fb76(0x1a7),(_0x51725a,_0x35db7a)=>_0x51725a&&!_0x35db7a),this[_0x50fb76(0x177)](_0x1c25df,_0x50fb76(0x165),(_0x18f951,_0x2f1252)=>{const _0x3dae32=_0x50fb76;this[_0x3dae32(0x196)]=_0x2f1252;const _0x4f9cb6=_0x10688a(_0x2f1252);this[_0x3dae32(0x191)](_0x3dae32(0x192),_0x4f9cb6),_0x2f1252[_0x3dae32(0x18a)]()&&this[_0x3dae32(0x170)][_0x3dae32(0x19f)]({'prompt':_0x4f9cb6},0x0);},{'priority':_0x50fb76(0x17c)}),_0x1c25df;}[_0x18e3c3(0x160)](){const _0x16a0dc=_0x18e3c3,_0x549e21=new _0x4c1d63(this[_0x16a0dc(0x197)]);return _0x549e21[_0x16a0dc(0x1a0)][_0x16a0dc(0x189)][_0x16a0dc(0x19c)](this[_0x16a0dc(0x170)])['as'](_0x3351ff),_0x549e21['on'](_0x16a0dc(0x1ae),()=>{const _0x1afbc6=_0x16a0dc;this[_0x1afbc6(0x170)][_0x1afbc6(0x168)](),this[_0x1afbc6(0x162)][_0x1afbc6(0x16e)](''),this[_0x1afbc6(0x162)][_0x1afbc6(0x1ad)]();}),_0x549e21;}[_0x18e3c3(0x17d)](){const _0x5d23f1=_0x18e3c3,_0x2feb65=new _0x4bb4ac(this[_0x5d23f1(0x197)]);return _0x2feb65[_0x5d23f1(0x16f)][_0x5d23f1(0x16b)](_0x5d23f1(0x1b5))['to'](this,_0x5d23f1(0x1b5),this,_0x5d23f1(0x1a7),this,_0x5d23f1(0x187),(_0x31e4c7,_0x12aa5e,_0x167abb)=>_0x31e4c7&&!_0x12aa5e&&!!_0x167abb),_0x2feb65[_0x5d23f1(0x16f)][_0x5d23f1(0x1a2)](_0x5d23f1(0x166))['to'](this,_0x5d23f1(0x1b4)),_0x2feb65[_0x5d23f1(0x1a3)][_0x5d23f1(0x16b)](_0x5d23f1(0x1b5))['to'](this,_0x5d23f1(0x1b5),this,_0x5d23f1(0x1a7),this,_0x5d23f1(0x187),(_0x4278f2,_0x46ea82,_0x5f266f)=>_0x4278f2&&!_0x46ea82&&!!_0x5f266f),_0x2feb65[_0x5d23f1(0x1a3)][_0x5d23f1(0x1a2)](_0x5d23f1(0x166))['to'](this,_0x5d23f1(0x1aa)),_0x2feb65[_0x5d23f1(0x15c)][_0x5d23f1(0x16b)](_0x5d23f1(0x1b5))['to'](this,_0x5d23f1(0x1b5),this,_0x5d23f1(0x1a7),(_0x36bc5a,_0x36bae3)=>_0x36bc5a&&!_0x36bae3),_0x2feb65[_0x5d23f1(0x15c)][_0x5d23f1(0x1a2)](_0x5d23f1(0x166))['to'](this,_0x5d23f1(0x193)),_0x2feb65[_0x5d23f1(0x167)][_0x5d23f1(0x16b)](_0x5d23f1(0x1b5))['to'](this,_0x5d23f1(0x1a7)),_0x2feb65[_0x5d23f1(0x167)][_0x5d23f1(0x1a2)](_0x5d23f1(0x166))['to'](this,_0x5d23f1(0x1a8)),_0x2feb65;}[_0x18e3c3(0x19b)](){const _0x506b71=_0x18e3c3;this[_0x506b71(0x187)]='',this[_0x506b71(0x16d)]=!0x1,this[_0x506b71(0x1a7)]=!0x0,this[_0x506b71(0x198)][_0x506b71(0x173)]=!0x0,this[_0x506b71(0x1a6)][_0x506b71(0x173)]=!0x0,this[_0x506b71(0x198)][_0x506b71(0x1ad)]();}[_0x18e3c3(0x194)](){const _0x18804d=_0x18e3c3,_0x12c97c=this[_0x18804d(0x197)];this[_0x18804d(0x1a7)]=!0x1,this[_0x18804d(0x196)]='',this[_0x18804d(0x162)][_0x18804d(0x1b0)](),this[_0x18804d(0x187)]&&(this[_0x18804d(0x162)][_0x18804d(0x1a1)][_0x18804d(0x172)]=_0x28c9c0(_0x12c97c,_0x18804d(0x171)));}[_0x18e3c3(0x16c)](_0x20d80a){const _0x177b3f=_0x18e3c3,_0x460490=this[_0x177b3f(0x197)];this[_0x177b3f(0x194)](),this[_0x177b3f(0x16d)]=!0x0,this[_0x177b3f(0x18e)][_0x177b3f(0x185)]=_0x20d80a||_0x28c9c0(_0x460490,_0x177b3f(0x169)),this[_0x177b3f(0x187)]||(this[_0x177b3f(0x198)][_0x177b3f(0x173)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4a20c0,_0x506c30){const _0x133846=_0x5777,_0x44e28e=_0x4a20c0();while(!![]){try{const _0x4a8baf=-parseInt(_0x133846(0x93))/0x1*(parseInt(_0x133846(0x9f))/0x2)+-parseInt(_0x133846(0x99))/0x3*(parseInt(_0x133846(0x90))/0x4)+parseInt(_0x133846(0xa0))/0x5+-parseInt(_0x133846(0x8f))/0x6+parseInt(_0x133846(0x9d))/0x7*(parseInt(_0x133846(0x9c))/0x8)+parseInt(_0x133846(0x91))/0x9*(-parseInt(_0x133846(0x94))/0xa)+parseInt(_0x133846(0x95))/0xb;if(_0x4a8baf===_0x506c30)break;else _0x44e28e['push'](_0x44e28e['shift']());}catch(_0x913c6f){_0x44e28e['push'](_0x44e28e['shift']());}}}(_0x5ed3,0x1c608));import{ListItemView as _0x486c4f,ButtonView as _0xcccaae}from'ckeditor5/src/ui.js';function _0x5777(_0x47ea97,_0xeb76c6){const _0x5ed349=_0x5ed3();return _0x5777=function(_0x5777f3,_0x47d446){_0x5777f3=_0x5777f3-0x8f;let _0x43b8ed=_0x5ed349[_0x5777f3];return _0x43b8ed;},_0x5777(_0x47ea97,_0xeb76c6);}import _0xc769e3 from'../dropdown/buttonlabelwithhighlightview.js';function _0x5ed3(){const _0x3bf3e5=['128dbUZkp','81368zZZgnl','prompt','33802JahkaE','282460SISxJd','476094JkOaJT','4GZTiDk','341703wwYAxV','fire','2oWrOUZ','50bvFihw','2926187kcuXnV','locale','add','set','267825XPzRST','children','execute'];_0x5ed3=function(){return _0x3bf3e5;};return _0x5ed3();}import{unescape as _0x33a511}from'lodash-es';export default class hs extends _0x486c4f{constructor(_0x2902ef){const _0x4123fe=_0x5777;super();const _0x38a25d=new _0xc769e3(),_0x4ba167=new _0xcccaae(this[_0x4123fe(0x96)],_0x38a25d);this[_0x4123fe(0x9a)][_0x4123fe(0x97)](_0x4ba167),_0x4ba167[_0x4123fe(0x98)]({'label':_0x2902ef[_0x4123fe(0x9e)],'withText':!0x0}),_0x4ba167['on'](_0x4123fe(0x9b),()=>{const _0x48763b=_0x4123fe;this[_0x48763b(0x92)](_0x48763b(0x9b),{'value':_0x33a511(_0x2902ef[_0x48763b(0x9e)])});});}}
23
+ function _0x3f7d(){const _0x17112a=['8979TqZPFW','640202quEHYV','2041818UULzIg','set','2521320vTVPPb','children','27285dJAomz','fire','execute','275958mOOxod','prompt','add','44YAZZQm','7pNUAbp','58PaVYKv','500110GhRwbB','144DczsKT','locale'];_0x3f7d=function(){return _0x17112a;};return _0x3f7d();}(function(_0x3b0d91,_0x5f1e77){const _0x19582b=_0x570d,_0x4c5616=_0x3b0d91();while(!![]){try{const _0x4f96a0=-parseInt(_0x19582b(0x17e))/0x1+parseInt(_0x19582b(0x179))/0x2*(-parseInt(_0x19582b(0x17d))/0x3)+parseInt(_0x19582b(0x181))/0x4+parseInt(_0x19582b(0x183))/0x5+parseInt(_0x19582b(0x17f))/0x6*(-parseInt(_0x19582b(0x178))/0x7)+-parseInt(_0x19582b(0x17b))/0x8*(-parseInt(_0x19582b(0x186))/0x9)+parseInt(_0x19582b(0x17a))/0xa*(parseInt(_0x19582b(0x189))/0xb);if(_0x4f96a0===_0x5f1e77)break;else _0x4c5616['push'](_0x4c5616['shift']());}catch(_0x14cd8c){_0x4c5616['push'](_0x4c5616['shift']());}}}(_0x3f7d,0x4e3bd));import{ListItemView as _0x17e087,ButtonView as _0x4e83fb}from'ckeditor5/src/ui.js';import _0x1a92f0 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x4baab7}from'lodash-es';function _0x570d(_0x348b8a,_0x2b5f70){const _0x3f7d8c=_0x3f7d();return _0x570d=function(_0x570d66,_0x42bee8){_0x570d66=_0x570d66-0x178;let _0x41cf08=_0x3f7d8c[_0x570d66];return _0x41cf08;},_0x570d(_0x348b8a,_0x2b5f70);}export default class hs extends _0x17e087{constructor(_0x15313a){const _0x3f3cee=_0x570d;super();const _0x226c81=new _0x1a92f0(),_0x372b88=new _0x4e83fb(this[_0x3f3cee(0x17c)],_0x226c81);this[_0x3f3cee(0x182)][_0x3f3cee(0x188)](_0x372b88),_0x372b88[_0x3f3cee(0x180)]({'label':_0x15313a[_0x3f3cee(0x187)],'withText':!0x0}),_0x372b88['on'](_0x3f3cee(0x185),()=>{const _0x434aa1=_0x3f3cee;this[_0x434aa1(0x184)](_0x434aa1(0x185),{'value':_0x4baab7(_0x15313a[_0x434aa1(0x187)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1a22(_0x560a60,_0x363a84){const _0x26fd62=_0x26fd();return _0x1a22=function(_0x1a2252,_0x353994){_0x1a2252=_0x1a2252-0x1a2;let _0x1b5414=_0x26fd62[_0x1a2252];return _0x1b5414;},_0x1a22(_0x560a60,_0x363a84);}const _0x1244bd=_0x1a22;(function(_0x5a05a5,_0xfd3385){const _0x15b442=_0x1a22,_0x3066ae=_0x5a05a5();while(!![]){try{const _0x289d76=-parseInt(_0x15b442(0x1a9))/0x1*(-parseInt(_0x15b442(0x1bd))/0x2)+parseInt(_0x15b442(0x1ad))/0x3*(-parseInt(_0x15b442(0x1a3))/0x4)+parseInt(_0x15b442(0x1b5))/0x5+-parseInt(_0x15b442(0x1ab))/0x6+parseInt(_0x15b442(0x1b7))/0x7*(parseInt(_0x15b442(0x1b4))/0x8)+-parseInt(_0x15b442(0x1b2))/0x9+parseInt(_0x15b442(0x1ac))/0xa*(parseInt(_0x15b442(0x1bc))/0xb);if(_0x289d76===_0xfd3385)break;else _0x3066ae['push'](_0x3066ae['shift']());}catch(_0x27a7e5){_0x3066ae['push'](_0x3066ae['shift']());}}}(_0x26fd,0x312ba));import{ListView as _0x1a6632,ListItemGroupView as _0x336b6f,ButtonView as _0x326e3a}from'ckeditor5/src/ui.js';import{getTranslation as _0x5769f0}from'../../utils/common-translations.js';export default class rs extends _0x1a6632{constructor(_0x20be2b){const _0x1efb42=_0x1a22;super(_0x20be2b),this[_0x1efb42(0x1b8)]=this[_0x1efb42(0x1af)](),this[_0x1efb42(0x1b3)]=new _0x336b6f(),this[_0x1efb42(0x1b3)][_0x1efb42(0x1a7)][_0x1efb42(0x1bb)](this[_0x1efb42(0x1b8)],0x1),this[_0x1efb42(0x1b3)][_0x1efb42(0x1b9)]=_0x5769f0(_0x20be2b,_0x1efb42(0x1ba)),this[_0x1efb42(0x1b3)][_0x1efb42(0x1a5)][_0x1efb42(0x1a6)](_0x1efb42(0x1aa))['to'](this),this[_0x1efb42(0x1a5)][_0x1efb42(0x1bb)](this[_0x1efb42(0x1b3)]);}[_0x1244bd(0x1a4)](){const _0x198edf=_0x1244bd;let _0x4fe77e=0x0;for(const _0x297b9c of this[_0x198edf(0x1a5)])_0x4fe77e+=_0x297b9c[_0x198edf(0x1a5)][_0x198edf(0x1b0)];return{'resultsCount':_0x4fe77e,'totalItemsCount':_0x4fe77e};}[_0x1244bd(0x1af)](){const _0xfe88ac=_0x1244bd,_0x28c0e4=this[_0xfe88ac(0x1ae)],_0x484f5a=new _0x326e3a(this[_0xfe88ac(0x1ae)]);return _0x484f5a[_0xfe88ac(0x1a2)]({'label':'('+_0x5769f0(_0x28c0e4,_0xfe88ac(0x1b1))+')','withText':!0x0}),_0x484f5a['on'](_0xfe88ac(0x1aa),()=>this[_0xfe88ac(0x1b6)](_0xfe88ac(0x1a8))),_0x484f5a;}}function _0x26fd(){const _0x97033e=['fire','49MpfCTy','clearHistoryButton','label','Prompt\x20history','add','11QTFzBt','727138fwKeNQ','set','4yoMwzF','filter','items','delegate','children','clearHistory','1rvbhZl','execute','566820bLEfEo','1182110MnCFOm','932934AqbsZQ','locale','_createClearHistoryButton','length','Clear','296370vEcSlT','historyGroupView','87496ZbHWOo','407205plopyW'];_0x26fd=function(){return _0x97033e;};return _0x26fd();}
23
+ function _0x20b6(){const _0x4c1ebe=['fire','locale','add','12kNeVwH','_createClearHistoryButton','1757dQmnsA','items','execute','36333ZNaVRy','5819064xagSDr','label','Clear','826837QXwita','1080945UTRush','length','Prompt\x20history','set','clearHistoryButton','108417BiCGDD','24YTiWiM','delegate','clearHistory','4314WNzqLr','historyGroupView','filter','6271vFOslg','children','50JgslJg','2nEjmWR'];_0x20b6=function(){return _0x4c1ebe;};return _0x20b6();}const _0x28395a=_0x459d;(function(_0x3db7a3,_0x13807c){const _0x54482e=_0x459d,_0x2e82e0=_0x3db7a3();while(!![]){try{const _0x5ce798=-parseInt(_0x54482e(0x16a))/0x1*(-parseInt(_0x54482e(0x16d))/0x2)+parseInt(_0x54482e(0x163))/0x3*(-parseInt(_0x54482e(0x171))/0x4)+parseInt(_0x54482e(0x15e))/0x5+-parseInt(_0x54482e(0x167))/0x6*(-parseInt(_0x54482e(0x173))/0x7)+-parseInt(_0x54482e(0x164))/0x8*(-parseInt(_0x54482e(0x176))/0x9)+parseInt(_0x54482e(0x16c))/0xa*(parseInt(_0x54482e(0x15d))/0xb)+-parseInt(_0x54482e(0x177))/0xc;if(_0x5ce798===_0x13807c)break;else _0x2e82e0['push'](_0x2e82e0['shift']());}catch(_0x4d51b7){_0x2e82e0['push'](_0x2e82e0['shift']());}}}(_0x20b6,0x303a0));import{ListView as _0x5c4154,ListItemGroupView as _0x395150,ButtonView as _0x4e8fcf}from'ckeditor5/src/ui.js';function _0x459d(_0x45faf4,_0x56236b){const _0x20b6a1=_0x20b6();return _0x459d=function(_0x459ddf,_0x56643a){_0x459ddf=_0x459ddf-0x15b;let _0x374305=_0x20b6a1[_0x459ddf];return _0x374305;},_0x459d(_0x45faf4,_0x56236b);}import{getTranslation as _0x487fcf}from'../../utils/common-translations.js';export default class rs extends _0x5c4154{constructor(_0x49a60a){const _0x127041=_0x459d;super(_0x49a60a),this[_0x127041(0x162)]=this[_0x127041(0x172)](),this[_0x127041(0x168)]=new _0x395150(),this[_0x127041(0x168)][_0x127041(0x16b)][_0x127041(0x170)](this[_0x127041(0x162)],0x1),this[_0x127041(0x168)][_0x127041(0x15b)]=_0x487fcf(_0x49a60a,_0x127041(0x160)),this[_0x127041(0x168)][_0x127041(0x174)][_0x127041(0x165)](_0x127041(0x175))['to'](this),this[_0x127041(0x174)][_0x127041(0x170)](this[_0x127041(0x168)]);}[_0x28395a(0x169)](){const _0x4487b7=_0x28395a;let _0x193972=0x0;for(const _0x4d0db2 of this[_0x4487b7(0x174)])_0x193972+=_0x4d0db2[_0x4487b7(0x174)][_0x4487b7(0x15f)];return{'resultsCount':_0x193972,'totalItemsCount':_0x193972};}[_0x28395a(0x172)](){const _0x17f0d3=_0x28395a,_0x4585cf=this[_0x17f0d3(0x16f)],_0x2175a8=new _0x4e8fcf(this[_0x17f0d3(0x16f)]);return _0x2175a8[_0x17f0d3(0x161)]({'label':'('+_0x487fcf(_0x4585cf,_0x17f0d3(0x15c))+')','withText':!0x0}),_0x2175a8['on'](_0x17f0d3(0x175),()=>this[_0x17f0d3(0x16e)](_0x17f0d3(0x166))),_0x2175a8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x297c(_0xc12639,_0x53828f){const _0x3471c3=_0x3471();return _0x297c=function(_0x297c24,_0x53473d){_0x297c24=_0x297c24-0xf6;let _0x41bd8f=_0x3471c3[_0x297c24];return _0x41bd8f;},_0x297c(_0xc12639,_0x53828f);}function _0x3471(){const _0x2ba338=['27vRMzwe','6niTwMq','setItem','trim','30hgtnTp','map','110fNbFeZ','514332rDErgP','getItem','2553704fEDQty','231798WsLSDl','123324HqHTTy','8523095vWYpER','parse','_saveToSessionStorage','last','length','remove','stringify','toLowerCase','prompt','110YWeuLv','448349YIVEGZ','_loadFromSessionStorage','CKEditor/AIFormView/PromptHistory','41655216dSvhRc','addMany','add'];_0x3471=function(){return _0x2ba338;};return _0x3471();}const _0x402356=_0x297c;(function(_0x4ca23a,_0x584d75){const _0x3b80f7=_0x297c,_0x230041=_0x4ca23a();while(!![]){try{const _0x42062d=-parseInt(_0x3b80f7(0x10b))/0x1*(-parseInt(_0x3b80f7(0xf8))/0x2)+parseInt(_0x3b80f7(0x10e))/0x3*(-parseInt(_0x3b80f7(0x111))/0x4)+parseInt(_0x3b80f7(0x103))/0x5*(parseInt(_0x3b80f7(0xf9))/0x6)+-parseInt(_0x3b80f7(0xfa))/0x7+-parseInt(_0x3b80f7(0xf7))/0x8*(parseInt(_0x3b80f7(0x10a))/0x9)+-parseInt(_0x3b80f7(0x110))/0xa*(parseInt(_0x3b80f7(0x104))/0xb)+parseInt(_0x3b80f7(0x107))/0xc;if(_0x42062d===_0x584d75)break;else _0x230041['push'](_0x230041['shift']());}catch(_0x29ce00){_0x230041['push'](_0x230041['shift']());}}}(_0x3471,0xad347));import{Collection as _0x87f5f1}from'ckeditor5/src/utils.js';const cs=_0x402356(0x106);export default class os extends _0x87f5f1{constructor(){const _0x2082d8=_0x402356;super(),this[_0x2082d8(0x105)](),this['on'](_0x2082d8(0x109),(_0x1b14a2,_0x3b67fb)=>{const _0x55d19c=_0x2082d8,_0x1e3403=Ss(_0x3b67fb[_0x55d19c(0x102)]);for(const _0xf3ae4e of this)if(_0xf3ae4e!=_0x3b67fb&&Ss(_0xf3ae4e[_0x55d19c(0x102)])===_0x1e3403){this[_0x55d19c(0xff)](_0xf3ae4e);break;}this[_0x55d19c(0xfe)]>0x14&&this[_0x55d19c(0xff)](this[_0x55d19c(0xfd)]),this[_0x55d19c(0xfc)]();}),this['on'](_0x2082d8(0xff),()=>{const _0x335d0a=_0x2082d8;this[_0x335d0a(0xfc)]();});}[_0x402356(0x105)](){const _0x56b098=_0x402356,_0xaf05f4=sessionStorage[_0x56b098(0xf6)](cs)||'[]';this[_0x56b098(0x108)](JSON[_0x56b098(0xfb)](_0xaf05f4));}[_0x402356(0xfc)](){const _0x39b508=_0x402356;sessionStorage[_0x39b508(0x10c)](cs,JSON[_0x39b508(0x100)](this[_0x39b508(0x10f)](_0x450569=>_0x450569)));}}function Ss(_0x3208c0){const _0x20f5a2=_0x402356;return _0x3208c0[_0x20f5a2(0x101)]()[_0x20f5a2(0x10d)]();}
23
+ const _0xd037fd=_0x2c43;(function(_0x3a0ce4,_0x28e007){const _0x13297e=_0x2c43,_0x58ed79=_0x3a0ce4();while(!![]){try{const _0x2a4c10=-parseInt(_0x13297e(0x100))/0x1+parseInt(_0x13297e(0xf8))/0x2+-parseInt(_0x13297e(0xf0))/0x3+-parseInt(_0x13297e(0x106))/0x4*(-parseInt(_0x13297e(0xf2))/0x5)+-parseInt(_0x13297e(0xfc))/0x6+-parseInt(_0x13297e(0xfe))/0x7*(parseInt(_0x13297e(0xf5))/0x8)+-parseInt(_0x13297e(0x107))/0x9*(-parseInt(_0x13297e(0x108))/0xa);if(_0x2a4c10===_0x28e007)break;else _0x58ed79['push'](_0x58ed79['shift']());}catch(_0x13e63a){_0x58ed79['push'](_0x58ed79['shift']());}}}(_0x3a87,0x1b11d));import{Collection as _0x29cb99}from'ckeditor5/src/utils.js';const cs=_0xd037fd(0xef);function _0x3a87(){const _0x13287=['remove','15276oGVLAH','900doqYnR','21470TyrkDr','CKEditor/AIFormView/PromptHistory','42270cGYiFb','_saveToSessionStorage','55VCcqnO','last','toLowerCase','13096oxQRDe','add','trim','407386Enmtgd','prompt','setItem','addMany','1158588oaUUXE','length','259BqdrJD','map','81768NMNKHk','getItem','stringify','parse','_loadFromSessionStorage'];_0x3a87=function(){return _0x13287;};return _0x3a87();}function _0x2c43(_0x2fd950,_0x5513b1){const _0x3a870b=_0x3a87();return _0x2c43=function(_0x2c43f8,_0x15da65){_0x2c43f8=_0x2c43f8-0xef;let _0x59771e=_0x3a870b[_0x2c43f8];return _0x59771e;},_0x2c43(_0x2fd950,_0x5513b1);}export default class os extends _0x29cb99{constructor(){const _0x46ddaf=_0xd037fd;super(),this[_0x46ddaf(0x104)](),this['on'](_0x46ddaf(0xf6),(_0x2c0b39,_0xb9b52)=>{const _0x4220a1=_0x46ddaf,_0x3e427c=Ss(_0xb9b52[_0x4220a1(0xf9)]);for(const _0x2a5886 of this)if(_0x2a5886!=_0xb9b52&&Ss(_0x2a5886[_0x4220a1(0xf9)])===_0x3e427c){this[_0x4220a1(0x105)](_0x2a5886);break;}this[_0x4220a1(0xfd)]>0x14&&this[_0x4220a1(0x105)](this[_0x4220a1(0xf3)]),this[_0x4220a1(0xf1)]();}),this['on'](_0x46ddaf(0x105),()=>{const _0x5cdb27=_0x46ddaf;this[_0x5cdb27(0xf1)]();});}[_0xd037fd(0x104)](){const _0xf6eb3b=_0xd037fd,_0x5ccebe=sessionStorage[_0xf6eb3b(0x101)](cs)||'[]';this[_0xf6eb3b(0xfb)](JSON[_0xf6eb3b(0x103)](_0x5ccebe));}[_0xd037fd(0xf1)](){const _0xe32120=_0xd037fd;sessionStorage[_0xe32120(0xfa)](cs,JSON[_0xe32120(0x102)](this[_0xe32120(0xff)](_0x4299e1=>_0x4299e1)));}}function Ss(_0x266584){const _0x5be447=_0xd037fd;return _0x266584[_0x5be447(0xf4)]()[_0x5be447(0xf7)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4193ab=_0x2b38;(function(_0x2696f1,_0x17f1df){const _0x926c72=_0x2b38,_0x540eec=_0x2696f1();while(!![]){try{const _0x1d7af6=parseInt(_0x926c72(0x13d))/0x1+-parseInt(_0x926c72(0x13f))/0x2*(parseInt(_0x926c72(0x125))/0x3)+-parseInt(_0x926c72(0x12b))/0x4*(parseInt(_0x926c72(0x131))/0x5)+-parseInt(_0x926c72(0x130))/0x6*(-parseInt(_0x926c72(0x138))/0x7)+parseInt(_0x926c72(0x11b))/0x8+parseInt(_0x926c72(0x122))/0x9+parseInt(_0x926c72(0x139))/0xa;if(_0x1d7af6===_0x17f1df)break;else _0x540eec['push'](_0x540eec['shift']());}catch(_0x3e1647){_0x540eec['push'](_0x540eec['shift']());}}}(_0x5667,0x5cfa0));function _0x5667(){const _0x69f653=['custom','isCollapsed','selection','concat','get','14KqyIgj','1856320WgiczG','getFirstRange','commands','add','703442AdIAOo','plugins','61482lPZfgn','config','_commandDefinitions','change:isEnabled','getRanges','name','showUI','isEnabled','refresh','from','2796696kZPDwT','getItems','change:_hasContext','model','execute','hasContent','enabledCommandsIds','1047672fufdFZ','editor','document','69BzaxfW','_hasContext','includes','set','ai.aiAssistant.disabledElements','requiresContent','721372wiCluq','getSelectedBlocks','reduce','length','element','1362534MeRGKD','20ZQIQhR','isEmpty'];_0x5667=function(){return _0x69f653;};return _0x5667();}import{Command as _0x167b1c}from'ckeditor5/src/core.js';function _0x2b38(_0xae4e79,_0x11c11e){const _0x566701=_0x5667();return _0x2b38=function(_0x2b3831,_0x22d5b4){_0x2b3831=_0x2b3831-0x119;let _0x2f5a4d=_0x566701[_0x2b3831];return _0x2f5a4d;},_0x2b38(_0xae4e79,_0x11c11e);}import _0x124ffb from'../aiassistantui.js';export default class j extends _0x167b1c{constructor(_0x3a12f1,_0x4600b7){const _0x9e2641=_0x2b38;super(_0x3a12f1),this[_0x9e2641(0x141)]=_0x4600b7?_0x4600b7[_0x9e2641(0x12d)]((_0x656d5f,_0x4d5265)=>_0x656d5f[_0x9e2641(0x136)](_0x4d5265[_0x9e2641(0x13b)]),new Array()):[],this[_0x9e2641(0x128)](_0x9e2641(0x121),[]),this['on'](_0x9e2641(0x11d),(_0x5352a3,_0x2fc676,_0x21bd76)=>{const _0x551299=_0x9e2641;this[_0x551299(0x146)]&&(this[_0x551299(0x121)]=G(this[_0x551299(0x141)],_0x21bd76));}),this[_0x9e2641(0x128)](_0x9e2641(0x126),!0x1),this['on'](_0x9e2641(0x142),(_0x9b9207,_0x1ee06b,_0x81976c)=>{const _0x3769e0=_0x9e2641;this[_0x3769e0(0x121)]=_0x81976c?G(this[_0x3769e0(0x141)],this[_0x3769e0(0x126)]):[];});}[_0x4193ab(0x119)](){const _0x1fe5a0=_0x4193ab,_0x4f5900=this[_0x1fe5a0(0x123)][_0x1fe5a0(0x11e)];this[_0x1fe5a0(0x126)]=function(_0x159a4d){const _0x530561=_0x1fe5a0,_0x5c7a81=_0x159a4d[_0x530561(0x124)][_0x530561(0x135)];return _0x5c7a81[_0x530561(0x134)]?0x0!==[..._0x5c7a81[_0x530561(0x12c)]()][_0x530561(0x12e)]&&![..._0x5c7a81[_0x530561(0x12c)]()][0x0][_0x530561(0x132)]:!!_0x159a4d[_0x530561(0x120)](_0x5c7a81[_0x530561(0x13a)]());}(_0x4f5900);const _0x51cdde=_0x4f5900[_0x1fe5a0(0x124)][_0x1fe5a0(0x135)],_0x3d6bae=this[_0x1fe5a0(0x123)][_0x1fe5a0(0x140)][_0x1fe5a0(0x137)](_0x1fe5a0(0x129));for(const _0xb46e99 of _0x51cdde[_0x1fe5a0(0x143)]())for(const _0xd2a4a7 of _0xb46e99[_0x1fe5a0(0x11c)]())if(_0xd2a4a7['is'](_0x1fe5a0(0x12f))&&_0x3d6bae[_0x1fe5a0(0x127)](_0xd2a4a7[_0x1fe5a0(0x144)]))return void(this[_0x1fe5a0(0x146)]=!0x1);this[_0x1fe5a0(0x146)]=!0x0;}[_0x4193ab(0x11f)](_0xe9813f='',_0x1c8800='',_0x824398=_0x4193ab(0x133)){const _0x1933c2=_0x4193ab;this[_0x1933c2(0x123)][_0x1933c2(0x13e)][_0x1933c2(0x137)](_0x124ffb)[_0x1933c2(0x145)](_0xe9813f,_0x1c8800,_0x824398);}}function G(_0x5ea519,_0x40586){const _0x4affc6=_0x4193ab,_0x3c2fa2=new Set();for(const _0x3da03e of _0x5ea519)(_0x40586||!0x1===_0x3da03e[_0x4affc6(0x12a)])&&_0x3c2fa2[_0x4affc6(0x13c)](_0x3da03e['id']);return Array[_0x4affc6(0x11a)](_0x3c2fa2);}
23
+ const _0x53df69=_0x2e43;function _0x2e43(_0x2273ee,_0x22e8c7){const _0x487ac3=_0x487a();return _0x2e43=function(_0x2e4386,_0x223beb){_0x2e4386=_0x2e4386-0x1ef;let _0x3fcaf6=_0x487ac3[_0x2e4386];return _0x3fcaf6;},_0x2e43(_0x2273ee,_0x22e8c7);}(function(_0x260837,_0x1dba26){const _0x553ce8=_0x2e43,_0x107992=_0x260837();while(!![]){try{const _0x4f81f2=-parseInt(_0x553ce8(0x1ff))/0x1+parseInt(_0x553ce8(0x1f9))/0x2+parseInt(_0x553ce8(0x21b))/0x3+parseInt(_0x553ce8(0x1fc))/0x4+parseInt(_0x553ce8(0x210))/0x5*(parseInt(_0x553ce8(0x1f1))/0x6)+-parseInt(_0x553ce8(0x219))/0x7*(-parseInt(_0x553ce8(0x20f))/0x8)+-parseInt(_0x553ce8(0x1f8))/0x9;if(_0x4f81f2===_0x1dba26)break;else _0x107992['push'](_0x107992['shift']());}catch(_0x5c2d22){_0x107992['push'](_0x107992['shift']());}}}(_0x487a,0xaf06c));function _0x487a(){const _0x52b268=['isEnabled','custom','change:_hasContext','selection','requiresContent','isEmpty','hasContent','reduce','includes','from','commands','model','ai.aiAssistant.disabledElements','11177048Zmfbnd','18355Mwqdpq','getFirstRange','showUI','_commandDefinitions','name','get','getItems','execute','refresh','7pxqZHI','getRanges','907584EYLZHF','document','editor','1554mBCprY','set','length','change:isEnabled','add','concat','enabledCommandsIds','22109499BmpBey','1983132BrxSix','getSelectedBlocks','isCollapsed','2821092VFfhUO','config','plugins','1173768QzsdJZ','element','_hasContext'];_0x487a=function(){return _0x52b268;};return _0x487a();}import{Command as _0x88ec4e}from'ckeditor5/src/core.js';import _0x5d3e98 from'../aiassistantui.js';export default class j extends _0x88ec4e{constructor(_0x1cdc42,_0x297eda){const _0xe4dfa9=_0x2e43;super(_0x1cdc42),this[_0xe4dfa9(0x213)]=_0x297eda?_0x297eda[_0xe4dfa9(0x209)]((_0x23cba8,_0x4b1d47)=>_0x23cba8[_0xe4dfa9(0x1f6)](_0x4b1d47[_0xe4dfa9(0x20c)]),new Array()):[],this[_0xe4dfa9(0x1f2)](_0xe4dfa9(0x1f7),[]),this['on'](_0xe4dfa9(0x204),(_0x437e75,_0x3f34b9,_0x459db6)=>{const _0x3d049c=_0xe4dfa9;this[_0x3d049c(0x202)]&&(this[_0x3d049c(0x1f7)]=K(this[_0x3d049c(0x213)],_0x459db6));}),this[_0xe4dfa9(0x1f2)](_0xe4dfa9(0x201),!0x1),this['on'](_0xe4dfa9(0x1f4),(_0xceb29e,_0x17670e,_0x3996f4)=>{const _0x56fb91=_0xe4dfa9;this[_0x56fb91(0x1f7)]=_0x3996f4?K(this[_0x56fb91(0x213)],this[_0x56fb91(0x201)]):[];});}[_0x53df69(0x218)](){const _0x3cdc64=_0x53df69,_0x297501=this[_0x3cdc64(0x1f0)][_0x3cdc64(0x20d)];this[_0x3cdc64(0x201)]=function(_0x1b5610){const _0x3f5ff3=_0x3cdc64,_0x2d6f8b=_0x1b5610[_0x3f5ff3(0x1ef)][_0x3f5ff3(0x205)];return _0x2d6f8b[_0x3f5ff3(0x1fb)]?0x0!==[..._0x2d6f8b[_0x3f5ff3(0x1fa)]()][_0x3f5ff3(0x1f3)]&&![..._0x2d6f8b[_0x3f5ff3(0x1fa)]()][0x0][_0x3f5ff3(0x207)]:!!_0x1b5610[_0x3f5ff3(0x208)](_0x2d6f8b[_0x3f5ff3(0x211)]());}(_0x297501);const _0x33053e=_0x297501[_0x3cdc64(0x1ef)][_0x3cdc64(0x205)],_0x44ca1f=this[_0x3cdc64(0x1f0)][_0x3cdc64(0x1fd)][_0x3cdc64(0x215)](_0x3cdc64(0x20e));for(const _0x5ba77d of _0x33053e[_0x3cdc64(0x21a)]())for(const _0x41ba82 of _0x5ba77d[_0x3cdc64(0x216)]())if(_0x41ba82['is'](_0x3cdc64(0x200))&&_0x44ca1f[_0x3cdc64(0x20a)](_0x41ba82[_0x3cdc64(0x214)]))return void(this[_0x3cdc64(0x202)]=!0x1);this[_0x3cdc64(0x202)]=!0x0;}[_0x53df69(0x217)](_0x5dcdab='',_0xdece6='',_0x2c4725=_0x53df69(0x203)){const _0x3e2fb0=_0x53df69;this[_0x3e2fb0(0x1f0)][_0x3e2fb0(0x1fe)][_0x3e2fb0(0x215)](_0x5d3e98)[_0x3e2fb0(0x212)](_0x5dcdab,_0xdece6,_0x2c4725);}}function K(_0x5a12b8,_0x483af7){const _0x1d1e69=_0x53df69,_0x59f84e=new Set();for(const _0x2d15a0 of _0x5a12b8)(_0x483af7||!0x1===_0x2d15a0[_0x1d1e69(0x206)])&&_0x59f84e[_0x1d1e69(0x1f5)](_0x2d15a0['id']);return Array[_0x1d1e69(0x20b)](_0x59f84e);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x49300c,_0x31813e,_0x2dc0f8){const t=_0x49300c['t'];switch(_0x31813e){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',_0x2dc0f8);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'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'},_0x2dc0f8);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 _0x31813e;}}
23
+ export function getTranslation(_0x8bb98d,_0x6a8d5c,_0x273517){const t=_0x8bb98d['t'];switch(_0x6a8d5c){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',_0x273517);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',_0x273517);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x273517);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'},_0x273517);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 _0x6a8d5c;}}