@ckeditor/ckeditor5-ai 42.0.1-alpha.3 → 42.0.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-content.css +2 -0
  3. package/dist/index-editor.css +296 -319
  4. package/dist/index.js +2 -2
  5. package/dist/translations/af.d.ts +1 -1
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.d.ts +1 -1
  9. package/dist/translations/ar.js +1 -1
  10. package/dist/translations/ar.umd.js +1 -1
  11. package/dist/translations/bg.d.ts +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.d.ts +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.d.ts +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.d.ts +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.d.ts +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.d.ts +1 -1
  27. package/dist/translations/da.js +1 -1
  28. package/dist/translations/da.umd.js +1 -1
  29. package/dist/translations/de-ch.d.ts +1 -1
  30. package/dist/translations/de-ch.js +1 -1
  31. package/dist/translations/de-ch.umd.js +1 -1
  32. package/dist/translations/de.d.ts +1 -1
  33. package/dist/translations/de.js +1 -1
  34. package/dist/translations/de.umd.js +1 -1
  35. package/dist/translations/el.d.ts +1 -1
  36. package/dist/translations/el.js +1 -1
  37. package/dist/translations/el.umd.js +1 -1
  38. package/dist/translations/en-au.d.ts +1 -1
  39. package/dist/translations/en-au.js +1 -1
  40. package/dist/translations/en-au.umd.js +1 -1
  41. package/dist/translations/en.d.ts +1 -1
  42. package/dist/translations/en.umd.js +1 -1
  43. package/dist/translations/es-co.d.ts +1 -1
  44. package/dist/translations/es-co.js +1 -1
  45. package/dist/translations/es-co.umd.js +1 -1
  46. package/dist/translations/es.d.ts +1 -1
  47. package/dist/translations/es.js +1 -1
  48. package/dist/translations/es.umd.js +1 -1
  49. package/dist/translations/et.d.ts +1 -1
  50. package/dist/translations/et.js +1 -1
  51. package/dist/translations/et.umd.js +1 -1
  52. package/dist/translations/fa.d.ts +1 -1
  53. package/dist/translations/fa.js +1 -1
  54. package/dist/translations/fa.umd.js +1 -1
  55. package/dist/translations/fi.d.ts +1 -1
  56. package/dist/translations/fi.js +1 -1
  57. package/dist/translations/fi.umd.js +1 -1
  58. package/dist/translations/fr.d.ts +1 -1
  59. package/dist/translations/fr.js +1 -1
  60. package/dist/translations/fr.umd.js +1 -1
  61. package/dist/translations/gl.d.ts +1 -1
  62. package/dist/translations/gl.js +1 -1
  63. package/dist/translations/gl.umd.js +1 -1
  64. package/dist/translations/he.d.ts +1 -1
  65. package/dist/translations/he.js +1 -1
  66. package/dist/translations/he.umd.js +1 -1
  67. package/dist/translations/hi.d.ts +1 -1
  68. package/dist/translations/hi.js +1 -1
  69. package/dist/translations/hi.umd.js +1 -1
  70. package/dist/translations/hr.d.ts +1 -1
  71. package/dist/translations/hr.js +1 -1
  72. package/dist/translations/hr.umd.js +1 -1
  73. package/dist/translations/hu.d.ts +1 -1
  74. package/dist/translations/hu.js +1 -1
  75. package/dist/translations/hu.umd.js +1 -1
  76. package/dist/translations/id.d.ts +1 -1
  77. package/dist/translations/id.js +1 -1
  78. package/dist/translations/id.umd.js +1 -1
  79. package/dist/translations/it.d.ts +1 -1
  80. package/dist/translations/it.js +1 -1
  81. package/dist/translations/it.umd.js +1 -1
  82. package/dist/translations/ja.d.ts +1 -1
  83. package/dist/translations/ja.js +1 -1
  84. package/dist/translations/ja.umd.js +1 -1
  85. package/dist/translations/jv.d.ts +1 -1
  86. package/dist/translations/jv.js +1 -1
  87. package/dist/translations/jv.umd.js +1 -1
  88. package/dist/translations/ko.d.ts +1 -1
  89. package/dist/translations/ko.js +1 -1
  90. package/dist/translations/ko.umd.js +1 -1
  91. package/dist/translations/lt.d.ts +1 -1
  92. package/dist/translations/lt.js +1 -1
  93. package/dist/translations/lt.umd.js +1 -1
  94. package/dist/translations/lv.d.ts +1 -1
  95. package/dist/translations/lv.js +1 -1
  96. package/dist/translations/lv.umd.js +1 -1
  97. package/dist/translations/ms.d.ts +1 -1
  98. package/dist/translations/ms.js +1 -1
  99. package/dist/translations/ms.umd.js +1 -1
  100. package/dist/translations/nl.d.ts +1 -1
  101. package/dist/translations/nl.js +1 -1
  102. package/dist/translations/nl.umd.js +1 -1
  103. package/dist/translations/no.d.ts +1 -1
  104. package/dist/translations/no.js +1 -1
  105. package/dist/translations/no.umd.js +1 -1
  106. package/dist/translations/pl.d.ts +1 -1
  107. package/dist/translations/pl.js +1 -1
  108. package/dist/translations/pl.umd.js +1 -1
  109. package/dist/translations/pt-br.d.ts +1 -1
  110. package/dist/translations/pt-br.js +1 -1
  111. package/dist/translations/pt-br.umd.js +1 -1
  112. package/dist/translations/pt.d.ts +1 -1
  113. package/dist/translations/pt.js +1 -1
  114. package/dist/translations/pt.umd.js +1 -1
  115. package/dist/translations/ro.d.ts +1 -1
  116. package/dist/translations/ro.js +1 -1
  117. package/dist/translations/ro.umd.js +1 -1
  118. package/dist/translations/ru.d.ts +1 -1
  119. package/dist/translations/ru.js +1 -1
  120. package/dist/translations/ru.umd.js +1 -1
  121. package/dist/translations/sk.d.ts +1 -1
  122. package/dist/translations/sk.js +1 -1
  123. package/dist/translations/sk.umd.js +1 -1
  124. package/dist/translations/sr-latn.d.ts +1 -1
  125. package/dist/translations/sr-latn.js +1 -1
  126. package/dist/translations/sr-latn.umd.js +1 -1
  127. package/dist/translations/sr.d.ts +1 -1
  128. package/dist/translations/sr.js +1 -1
  129. package/dist/translations/sr.umd.js +1 -1
  130. package/dist/translations/sv.d.ts +1 -1
  131. package/dist/translations/sv.js +1 -1
  132. package/dist/translations/sv.umd.js +1 -1
  133. package/dist/translations/th.d.ts +1 -1
  134. package/dist/translations/th.js +1 -1
  135. package/dist/translations/th.umd.js +1 -1
  136. package/dist/translations/ti.d.ts +1 -1
  137. package/dist/translations/ti.js +1 -1
  138. package/dist/translations/ti.umd.js +1 -1
  139. package/dist/translations/tk.d.ts +1 -1
  140. package/dist/translations/tk.js +1 -1
  141. package/dist/translations/tk.umd.js +1 -1
  142. package/dist/translations/tr.d.ts +1 -1
  143. package/dist/translations/tr.js +1 -1
  144. package/dist/translations/tr.umd.js +1 -1
  145. package/dist/translations/ug.d.ts +1 -1
  146. package/dist/translations/ug.js +1 -1
  147. package/dist/translations/ug.umd.js +1 -1
  148. package/dist/translations/uk.d.ts +1 -1
  149. package/dist/translations/uk.js +1 -1
  150. package/dist/translations/uk.umd.js +1 -1
  151. package/dist/translations/ur.d.ts +1 -1
  152. package/dist/translations/ur.js +1 -1
  153. package/dist/translations/ur.umd.js +1 -1
  154. package/dist/translations/uz.d.ts +1 -1
  155. package/dist/translations/uz.js +1 -1
  156. package/dist/translations/uz.umd.js +1 -1
  157. package/dist/translations/vi.d.ts +1 -1
  158. package/dist/translations/vi.js +1 -1
  159. package/dist/translations/vi.umd.js +1 -1
  160. package/dist/translations/zh-cn.d.ts +1 -1
  161. package/dist/translations/zh-cn.js +1 -1
  162. package/dist/translations/zh-cn.umd.js +1 -1
  163. package/dist/translations/zh.d.ts +1 -1
  164. package/dist/translations/zh.js +1 -1
  165. package/dist/translations/zh.umd.js +1 -1
  166. package/package.json +8 -4
  167. package/src/adapters/aiadapter.js +1 -1
  168. package/src/adapters/aitextadapter.js +1 -1
  169. package/src/adapters/awstextadapter.js +1 -1
  170. package/src/adapters/openaitextadapter.js +1 -1
  171. package/src/aiassistant.js +1 -1
  172. package/src/aiassistantediting.js +1 -1
  173. package/src/aiassistantui.js +1 -1
  174. package/src/index.js +1 -1
  175. package/src/ui/aiassistantcontroller.js +2 -2
  176. package/src/ui/dropdown/aicommandslistview.js +1 -1
  177. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  178. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  179. package/src/ui/form/aiformcontentarea.js +1 -1
  180. package/src/ui/form/aiformerrorview.js +1 -1
  181. package/src/ui/form/aiformpromptview.js +1 -1
  182. package/src/ui/form/aiformtoolbarview.js +1 -1
  183. package/src/ui/form/aiformview.js +1 -1
  184. package/src/ui/form/aihistorylistitemview.js +1 -1
  185. package/src/ui/form/aihistorylistview.js +1 -1
  186. package/src/ui/form/prompthistory.js +1 -1
  187. package/src/ui/showaiassistantcommand.js +1 -1
  188. package/src/utils/common-translations.js +1 -1
  189. /package/dist/{types/adapters → adapters}/aiadapter.d.ts +0 -0
  190. /package/dist/{types/adapters → adapters}/aitextadapter.d.ts +0 -0
  191. /package/dist/{types/adapters → adapters}/awstextadapter.d.ts +0 -0
  192. /package/dist/{types/adapters → adapters}/openaitextadapter.d.ts +0 -0
  193. /package/dist/{types/aiassistant.d.ts → aiassistant.d.ts} +0 -0
  194. /package/dist/{types/aiassistantediting.d.ts → aiassistantediting.d.ts} +0 -0
  195. /package/dist/{types/aiassistantui.d.ts → aiassistantui.d.ts} +0 -0
  196. /package/dist/{types/aiconfig.d.ts → aiconfig.d.ts} +0 -0
  197. /package/dist/{types/augmentation.d.ts → augmentation.d.ts} +0 -0
  198. /package/dist/{types/index.d.ts → index.d.ts} +0 -0
  199. /package/dist/{types/ui → ui}/aiassistantcontroller.d.ts +0 -0
  200. /package/dist/{types/ui → ui}/dropdown/aicommandslistview.d.ts +0 -0
  201. /package/dist/{types/ui → ui}/dropdown/buttonlabelwithhighlightview.d.ts +0 -0
  202. /package/dist/{types/ui → ui}/dropdown/labelwithhighlightview.d.ts +0 -0
  203. /package/dist/{types/ui → ui}/form/aiformcontentarea.d.ts +0 -0
  204. /package/dist/{types/ui → ui}/form/aiformerrorview.d.ts +0 -0
  205. /package/dist/{types/ui → ui}/form/aiformpromptview.d.ts +0 -0
  206. /package/dist/{types/ui → ui}/form/aiformtoolbarview.d.ts +0 -0
  207. /package/dist/{types/ui → ui}/form/aiformview.d.ts +0 -0
  208. /package/dist/{types/ui → ui}/form/aihistorylistitemview.d.ts +0 -0
  209. /package/dist/{types/ui → ui}/form/aihistorylistview.d.ts +0 -0
  210. /package/dist/{types/ui → ui}/form/prompthistory.d.ts +0 -0
  211. /package/dist/{types/ui → ui}/showaiassistantcommand.d.ts +0 -0
  212. /package/dist/{types/utils → utils}/common-translations.d.ts +0 -0
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a09ff=_0xd028;(function(_0x2542d8,_0xa2eedc){const _0x23b91d=_0xd028,_0x423e2c=_0x2542d8();while(!![]){try{const _0x288055=parseInt(_0x23b91d(0x1ab))/0x1+-parseInt(_0x23b91d(0x176))/0x2+-parseInt(_0x23b91d(0x197))/0x3+-parseInt(_0x23b91d(0x1aa))/0x4*(-parseInt(_0x23b91d(0x1be))/0x5)+-parseInt(_0x23b91d(0x18a))/0x6+-parseInt(_0x23b91d(0x19a))/0x7+parseInt(_0x23b91d(0x1bc))/0x8;if(_0x288055===_0xa2eedc)break;else _0x423e2c['push'](_0x423e2c['shift']());}catch(_0x145591){_0x423e2c['push'](_0x423e2c['shift']());}}}(_0x9c70,0xd06c7));import{ObservableMixin as _0x55a1d9}from'ckeditor5/src/utils.js';import{AIRequestError as _0x5ab54b}from'../adapters/aiadapter.js';function _0x9c70(){const _0x3a39ec=['2912068eoOEfB','editing','substring','listenTo','makeRequest','trim','processor','set:currentContext','then','stopListening','document','previousLabel','_isH1TagSupportEnabled','previousActionId','setContentOf','match','message','htmlProcessor','currentContext','ELEMENT_NODE','5468448dDAPud','startsWith','editor','endsWith','element','finally','previousQuery','push','serializeToString','_sanitizationContainer','stringify','data','view','817428YslaRf','length','from','9212308Etehfu','reset','name','abort','exec','div','tryAgainEvent','catch','set','toView','nodeType','_normalizeResponseHeadings','<h1></h1>','reverse','rename','_sanitizeHTML','8SjrsjD','73754WvDaIY','startProcessing','destroy','_parseAndNormalizeContent','submitPrompt','handleError','createElement','_xmlSerializer','updateView','isProcessing','prompt','childNodes','text/html','remove','_handleQuery','stopProcessing','```html','27320344cKjQjB','viewToDom','3302170wkSqQL','_domParser','render','domConverter','parseFromString','querySelector','initialContext','toModel','finishProcessing','mainAction','value','isRendered','```','previousContext','currentResponse','once','custom','innerHTML','body','textAdapter','_stripMarkdownSyntax'];_0x9c70=function(){return _0x3a39ec;};return _0x9c70();}function _0xd028(_0x28631a,_0x53fa34){const _0x9c700=_0x9c70();return _0xd028=function(_0xd02845,_0x3a9e2a){_0xd02845=_0xd02845-0x16d;let _0x12c93d=_0x9c700[_0xd02845];return _0x12c93d;},_0xd028(_0x28631a,_0x53fa34);}import{Matcher as _0xf509bb,UpcastWriter as _0x1d1d35}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
24
- _0x55a1d9(){constructor(_0x4a298a,_0x32ba3e,_0x4b2ae2){const _0x467ab8=_0xd028;super(),this[_0x467ab8(0x18c)]=_0x4a298a,this[_0x467ab8(0x174)]=_0x32ba3e,this[_0x467ab8(0x193)]=document[_0x467ab8(0x1b1)](_0x467ab8(0x19f)),this[_0x467ab8(0x1bf)]=new DOMParser(),this[_0x467ab8(0x1b2)]=new XMLSerializer(),this[_0x467ab8(0x196)]=_0x4b2ae2,this[_0x467ab8(0x1a2)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x467ab8(0x17d),(_0x49b905,_0x247a07,_0x303c69)=>{const _0x214c29=_0x467ab8;this[_0x214c29(0x196)][_0x214c29(0x1c8)]=this[_0x214c29(0x1a9)](_0x303c69);}),this[_0x467ab8(0x179)](this[_0x467ab8(0x196)],_0x467ab8(0x1af),(_0x5dfefa,_0xd7adb6)=>{const _0x4f3286=_0x467ab8,_0x4ba095=this[_0x4f3286(0x188)]||this[_0x4f3286(0x1c4)];this[_0x4f3286(0x1b9)](_0xd7adb6,_0x4ba095,_0x4f3286(0x171));}),this[_0x467ab8(0x179)](this[_0x467ab8(0x196)],_0x467ab8(0x1a0),()=>{const _0x357b02=_0x467ab8;this[_0x357b02(0x196)][_0x357b02(0x1b5)]=this[_0x357b02(0x181)],this[_0x357b02(0x1b9)](this[_0x357b02(0x190)],this[_0x357b02(0x16e)],this[_0x357b02(0x183)],this[_0x357b02(0x181)]);}),this[_0x467ab8(0x179)](this[_0x467ab8(0x196)],_0x467ab8(0x1ba),()=>{const _0x4dda28=_0x467ab8;this[_0x4dda28(0x1ba)]();});}[_0x2a09ff(0x1ad)](){const _0x1e743b=_0x2a09ff;this[_0x1e743b(0x17f)]();}async[_0x2a09ff(0x1b3)]({actionId:_0x4e3c73,query:_0x345c8e,htmlContent:_0x12fdf8,label:_0xa386b4,mainActionLabel:_0x584d9b}){const _0x5702ed=_0x2a09ff;this[_0x5702ed(0x196)][_0x5702ed(0x1b5)]=_0xa386b4,this[_0x5702ed(0x196)][_0x5702ed(0x1c7)]=_0x584d9b,this[_0x5702ed(0x1c4)]=_0x12fdf8,_0x345c8e&&(this[_0x5702ed(0x196)][_0x5702ed(0x1c9)]?this[_0x5702ed(0x1b9)](_0x345c8e,_0x12fdf8,_0x4e3c73,_0xa386b4):this[_0x5702ed(0x196)][_0x5702ed(0x170)](_0x5702ed(0x1c0),()=>{const _0x5a5b1a=_0x5702ed;this[_0x5a5b1a(0x1b9)](_0x345c8e,_0x12fdf8,_0x4e3c73,_0xa386b4);}));}[_0x2a09ff(0x1ba)](){const _0x313e3=_0x2a09ff;this[_0x313e3(0x1b4)]&&(this[_0x313e3(0x1b4)]=!0x1,this[_0x313e3(0x196)][_0x313e3(0x1c6)](),this[_0x313e3(0x174)][_0x313e3(0x19d)]());}[_0x2a09ff(0x19b)](){const _0x3f3331=_0x2a09ff;this[_0x3f3331(0x1c4)]='',this[_0x3f3331(0x188)]='',this[_0x3f3331(0x16f)]='',this[_0x3f3331(0x16e)]='',this[_0x3f3331(0x190)]='',this[_0x3f3331(0x181)]='',this[_0x3f3331(0x183)]=void 0x0,this[_0x3f3331(0x196)][_0x3f3331(0x19b)](),this[_0x3f3331(0x1ba)]();}async[_0x2a09ff(0x1b9)](_0x25285d,_0x255016,_0x217a9e,_0x9c31d6){const _0x2c770b=_0x2a09ff;return this[_0x2c770b(0x1b4)]=!0x0,this[_0x2c770b(0x196)][_0x2c770b(0x1ac)](),this[_0x2c770b(0x16e)]=_0x255016,this[_0x2c770b(0x190)]=_0x25285d,this[_0x2c770b(0x181)]=_0x9c31d6||_0x25285d,this[_0x2c770b(0x183)]=_0x217a9e,new Promise(_0x317e6e=>{const _0x3922aa=_0x2c770b;this[_0x3922aa(0x174)][_0x3922aa(0x17a)]({'query':_0x25285d,'context':_0x255016,'onData':_0x1bdf37=>{const _0x156ce7=_0x3922aa;this[_0x156ce7(0x16f)]=_0x1bdf37,this[_0x156ce7(0x188)]=this[_0x156ce7(0x1ae)](this[_0x156ce7(0x16f)]);},'actionId':_0x217a9e})[_0x3922aa(0x17e)](()=>{const _0x168bdb=_0x3922aa;!this[_0x168bdb(0x188)]&&this[_0x168bdb(0x16f)]&&(this[_0x168bdb(0x188)]=this[_0x168bdb(0x1ae)](this[_0x168bdb(0x16f)],!0x0));})[_0x3922aa(0x1a1)](_0x39f379=>{const _0xe21f08=_0x3922aa;_0x39f379 instanceof _0x5ab54b?this[_0xe21f08(0x196)][_0xe21f08(0x1b0)](_0x39f379[_0xe21f08(0x186)]):this[_0xe21f08(0x196)][_0xe21f08(0x1b0)](),_0x317e6e();})[_0x3922aa(0x18f)](()=>{const _0xb0dfb4=_0x3922aa;this[_0xb0dfb4(0x1ba)](),_0x317e6e();});});}[_0x2a09ff(0x1ae)](_0x57e785,_0x26cebd=!0x1){const _0x3cdf8d=_0x2a09ff,_0x15109e=X[_0x3cdf8d(0x19e)](_0x57e785);_0x57e785=_0x15109e?_0x57e785[_0x3cdf8d(0x178)](_0x15109e[0x1][_0x3cdf8d(0x198)]):_0x57e785[_0x3cdf8d(0x198)]<0x64&&!_0x26cebd?'':this[_0x3cdf8d(0x175)](_0x57e785);const _0x4e510e=this[_0x3cdf8d(0x1bf)][_0x3cdf8d(0x1c2)](_0x57e785,_0x3cdf8d(0x1b7));if(_0x15109e){const _0xe25596=Array[_0x3cdf8d(0x199)](_0x4e510e[_0x3cdf8d(0x173)][_0x3cdf8d(0x1b6)]);_0xe25596[_0x3cdf8d(0x1a7)]();for(const _0x4b8bed of _0xe25596){if(_0x4b8bed[_0x3cdf8d(0x1a4)]==Node[_0x3cdf8d(0x189)])break;_0x4b8bed[_0x3cdf8d(0x1b8)]();}}const _0x4a36c4=this[_0x3cdf8d(0x18c)][_0x3cdf8d(0x195)][_0x3cdf8d(0x17c)][_0x3cdf8d(0x1a3)](this[_0x3cdf8d(0x1b2)][_0x3cdf8d(0x192)](_0x4e510e[_0x3cdf8d(0x173)]));return this[_0x3cdf8d(0x182)]()||this[_0x3cdf8d(0x1a5)](_0x4a36c4),this[_0x3cdf8d(0x18c)][_0x3cdf8d(0x195)][_0x3cdf8d(0x194)](this[_0x3cdf8d(0x18c)][_0x3cdf8d(0x195)][_0x3cdf8d(0x1c5)](_0x4a36c4));}[_0x2a09ff(0x1a5)](_0x124582){const _0x3fe4aa=_0x2a09ff,_0x4ab5f2=new _0x1d1d35(this[_0x3fe4aa(0x18c)][_0x3fe4aa(0x177)][_0x3fe4aa(0x196)][_0x3fe4aa(0x180)]),_0x4c7c90=new _0xf509bb({'name':/^h[1-5]$/}),_0x113721=[];let _0x3aeac7=!0x1;for(const _0x307bea of _0x124582)_0x307bea['is'](_0x3fe4aa(0x18e))&&_0x4c7c90[_0x3fe4aa(0x185)](_0x307bea)&&(_0x113721[_0x3fe4aa(0x191)](_0x307bea),'h1'==_0x307bea[_0x3fe4aa(0x19c)]&&(_0x3aeac7=!0x0));if(_0x3aeac7){for(const _0x4d29a9 of _0x113721)_0x4ab5f2[_0x3fe4aa(0x1a8)]('h'+(parseInt(_0x4d29a9[_0x3fe4aa(0x19c)][0x1])+0x1),_0x4d29a9);}}[_0x2a09ff(0x182)](){const _0x4dcaa6=_0x2a09ff,{data:_0x97bdb5,editing:_0x919d6d}=this[_0x4dcaa6(0x18c)],_0x34b691=_0x97bdb5[_0x4dcaa6(0x187)][_0x4dcaa6(0x1a3)](_0x4dcaa6(0x1a6)),_0x579af2=_0x97bdb5[_0x4dcaa6(0x1a3)](_0x97bdb5[_0x4dcaa6(0x1c5)](_0x34b691));return!!_0x919d6d[_0x4dcaa6(0x196)][_0x4dcaa6(0x1c1)][_0x4dcaa6(0x1bd)](_0x579af2)[_0x4dcaa6(0x1c3)]('h1');}[_0x2a09ff(0x1a9)](_0x3f2f16){const _0x239be1=_0x2a09ff;return this[_0x239be1(0x18c)][_0x239be1(0x177)][_0x239be1(0x196)][_0x239be1(0x1c1)][_0x239be1(0x184)](this[_0x239be1(0x193)],_0x3f2f16),this[_0x239be1(0x193)][_0x239be1(0x172)];}[_0x2a09ff(0x175)](_0x5a0fd9){const _0x2b2387=_0x2a09ff,_0x3093df=_0x5a0fd9[_0x2b2387(0x17b)]();return _0x3093df[_0x2b2387(0x18b)](_0x2b2387(0x1bb))?_0x3093df[_0x2b2387(0x18d)](_0x2b2387(0x16d))?_0x3093df[_0x2b2387(0x178)](0x7,_0x3093df[_0x2b2387(0x198)]-0x3):_0x3093df[_0x2b2387(0x178)](0x7):_0x5a0fd9;}}
23
+ const _0x415fa1=_0x1158;function _0x4ea8(){const _0x53ac16=['htmlProcessor','ELEMENT_NODE','```html','initialContext','finishProcessing','exec','render','push','message','stringify','length','_isH1TagSupportEnabled','_parseAndNormalizeContent','custom','8dzaoOh','view','once','startsWith','4848129cwCcbU','_handleQuery','_normalizeResponseHeadings','set:currentContext','submitPrompt','textAdapter','208733VjrJDW','handleError','stopListening','mainAction','endsWith','rename','body','_sanitizationContainer','viewToDom','destroy','name','text/html','data','previousQuery','createElement','element','updateView','toModel','then','1023050NtYztB','setContentOf','_sanitizeHTML','remove','172676ifkLty','listenTo','previousActionId','substring','div','_domParser','_stripMarkdownSyntax','nodeType','abort','prompt','childNodes','processor','previousLabel','<h1></h1>','startProcessing','currentContext','```','tryAgainEvent','makeRequest','1689669GIyUyn','reset','finally','set','toView','from','trim','value','previousContext','isRendered','querySelector','editing','document','3oJxNGR','699412ovfVlG','catch','innerHTML','reverse','3pekXDw','serializeToString','isProcessing','currentResponse','domConverter','parseFromString','stopProcessing','_xmlSerializer','54AqeCcY','editor','75305QdHLKe','match'];_0x4ea8=function(){return _0x53ac16;};return _0x4ea8();}(function(_0x3abfa4,_0x2cb6d7){const _0x46c29e=_0x1158,_0x52c454=_0x3abfa4();while(!![]){try{const _0x6c7d2d=parseInt(_0x46c29e(0x12e))/0x1*(-parseInt(_0x46c29e(0x169))/0x2)+parseInt(_0x46c29e(0x129))/0x3*(parseInt(_0x46c29e(0x12a))/0x4)+parseInt(_0x46c29e(0x138))/0x5*(-parseInt(_0x46c29e(0x136))/0x6)+parseInt(_0x46c29e(0x152))/0x7+-parseInt(_0x46c29e(0x148))/0x8*(parseInt(_0x46c29e(0x17c))/0x9)+parseInt(_0x46c29e(0x165))/0xa+parseInt(_0x46c29e(0x14c))/0xb;if(_0x6c7d2d===_0x2cb6d7)break;else _0x52c454['push'](_0x52c454['shift']());}catch(_0xbc207b){_0x52c454['push'](_0x52c454['shift']());}}}(_0x4ea8,0x28624));import{ObservableMixin as _0x1b37d4}from'ckeditor5/src/utils.js';import{AIRequestError as _0x50b0ce}from'../adapters/aiadapter.js';import{Matcher as _0x5886c7,UpcastWriter as _0x316e79}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x1158(_0x40b98d,_0x15be04){const _0x4ea8bd=_0x4ea8();return _0x1158=function(_0x1158f7,_0x3c997a){_0x1158f7=_0x1158f7-0x128;let _0x239d9a=_0x4ea8bd[_0x1158f7];return _0x239d9a;},_0x1158(_0x40b98d,_0x15be04);}export default class k extends/* #__PURE__ -- @preserve */
24
+ _0x1b37d4(){constructor(_0xfca196,_0x1fed96,_0x2dc914){const _0x2b8cf1=_0x1158;super(),this[_0x2b8cf1(0x137)]=_0xfca196,this[_0x2b8cf1(0x151)]=_0x1fed96,this[_0x2b8cf1(0x159)]=document[_0x2b8cf1(0x160)](_0x2b8cf1(0x16d)),this[_0x2b8cf1(0x16e)]=new DOMParser(),this[_0x2b8cf1(0x135)]=new XMLSerializer(),this[_0x2b8cf1(0x149)]=_0x2dc914,this[_0x2b8cf1(0x17f)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2b8cf1(0x14f),(_0x5ccf37,_0x2eb0be,_0x1fc446)=>{const _0x3ba533=_0x2b8cf1;this[_0x3ba533(0x149)][_0x3ba533(0x183)]=this[_0x3ba533(0x167)](_0x1fc446);}),this[_0x2b8cf1(0x16a)](this[_0x2b8cf1(0x149)],_0x2b8cf1(0x150),(_0xb34825,_0x4fa3f5)=>{const _0x3c1614=_0x2b8cf1,_0x4ed310=this[_0x3c1614(0x178)]||this[_0x3c1614(0x13d)];this[_0x3c1614(0x14d)](_0x4fa3f5,_0x4ed310,_0x3c1614(0x147));}),this[_0x2b8cf1(0x16a)](this[_0x2b8cf1(0x149)],_0x2b8cf1(0x17a),()=>{const _0x120f92=_0x2b8cf1;this[_0x120f92(0x149)][_0x120f92(0x172)]=this[_0x120f92(0x175)],this[_0x120f92(0x14d)](this[_0x120f92(0x15f)],this[_0x120f92(0x184)],this[_0x120f92(0x16b)],this[_0x120f92(0x175)]);}),this[_0x2b8cf1(0x16a)](this[_0x2b8cf1(0x149)],_0x2b8cf1(0x134),()=>{const _0x4b9f14=_0x2b8cf1;this[_0x4b9f14(0x134)]();});}[_0x415fa1(0x15b)](){const _0x1f7d77=_0x415fa1;this[_0x1f7d77(0x154)]();}async[_0x415fa1(0x162)]({actionId:_0x31c908,query:_0x5997fa,htmlContent:_0x36020d,label:_0x455896,mainActionLabel:_0x2211df}){const _0x58cd32=_0x415fa1;this[_0x58cd32(0x149)][_0x58cd32(0x172)]=_0x455896,this[_0x58cd32(0x149)][_0x58cd32(0x155)]=_0x2211df,this[_0x58cd32(0x13d)]=_0x36020d,_0x5997fa&&(this[_0x58cd32(0x149)][_0x58cd32(0x185)]?this[_0x58cd32(0x14d)](_0x5997fa,_0x36020d,_0x31c908,_0x455896):this[_0x58cd32(0x149)][_0x58cd32(0x14a)](_0x58cd32(0x140),()=>{const _0x1d64a8=_0x58cd32;this[_0x1d64a8(0x14d)](_0x5997fa,_0x36020d,_0x31c908,_0x455896);}));}[_0x415fa1(0x134)](){const _0x5f0a03=_0x415fa1;this[_0x5f0a03(0x130)]&&(this[_0x5f0a03(0x130)]=!0x1,this[_0x5f0a03(0x149)][_0x5f0a03(0x13e)](),this[_0x5f0a03(0x151)][_0x5f0a03(0x171)]());}[_0x415fa1(0x17d)](){const _0x29225c=_0x415fa1;this[_0x29225c(0x13d)]='',this[_0x29225c(0x178)]='',this[_0x29225c(0x131)]='',this[_0x29225c(0x184)]='',this[_0x29225c(0x15f)]='',this[_0x29225c(0x175)]='',this[_0x29225c(0x16b)]=void 0x0,this[_0x29225c(0x149)][_0x29225c(0x17d)](),this[_0x29225c(0x134)]();}async[_0x415fa1(0x14d)](_0x406fcb,_0x215aba,_0x3e21a0,_0x3e6f64){const _0x5c6e1a=_0x415fa1;return this[_0x5c6e1a(0x130)]=!0x0,this[_0x5c6e1a(0x149)][_0x5c6e1a(0x177)](),this[_0x5c6e1a(0x184)]=_0x215aba,this[_0x5c6e1a(0x15f)]=_0x406fcb,this[_0x5c6e1a(0x175)]=_0x3e6f64||_0x406fcb,this[_0x5c6e1a(0x16b)]=_0x3e21a0,new Promise(_0x38bade=>{const _0x252269=_0x5c6e1a;this[_0x252269(0x151)][_0x252269(0x17b)]({'query':_0x406fcb,'context':_0x215aba,'onData':_0x4463c1=>{const _0x273ba5=_0x252269;this[_0x273ba5(0x131)]=_0x4463c1,this[_0x273ba5(0x178)]=this[_0x273ba5(0x146)](this[_0x273ba5(0x131)]);},'actionId':_0x3e21a0})[_0x252269(0x164)](()=>{const _0x368a52=_0x252269;!this[_0x368a52(0x178)]&&this[_0x368a52(0x131)]&&(this[_0x368a52(0x178)]=this[_0x368a52(0x146)](this[_0x368a52(0x131)],!0x0));})[_0x252269(0x12b)](_0x92d585=>{const _0x1fa706=_0x252269;_0x92d585 instanceof _0x50b0ce?this[_0x1fa706(0x149)][_0x1fa706(0x153)](_0x92d585[_0x1fa706(0x142)]):this[_0x1fa706(0x149)][_0x1fa706(0x153)](),_0x38bade();})[_0x252269(0x17e)](()=>{const _0x3ea21b=_0x252269;this[_0x3ea21b(0x134)](),_0x38bade();});});}[_0x415fa1(0x146)](_0x422b01,_0x9390ac=!0x1){const _0x5664ac=_0x415fa1,_0xfd1fdc=X[_0x5664ac(0x13f)](_0x422b01);_0x422b01=_0xfd1fdc?_0x422b01[_0x5664ac(0x16c)](_0xfd1fdc[0x1][_0x5664ac(0x144)]):_0x422b01[_0x5664ac(0x144)]<0x64&&!_0x9390ac?'':this[_0x5664ac(0x16f)](_0x422b01);const _0xd3bb71=this[_0x5664ac(0x16e)][_0x5664ac(0x133)](_0x422b01,_0x5664ac(0x15d));if(_0xfd1fdc){const _0x219850=Array[_0x5664ac(0x181)](_0xd3bb71[_0x5664ac(0x158)][_0x5664ac(0x173)]);_0x219850[_0x5664ac(0x12d)]();for(const _0x4b4263 of _0x219850){if(_0x4b4263[_0x5664ac(0x170)]==Node[_0x5664ac(0x13b)])break;_0x4b4263[_0x5664ac(0x168)]();}}const _0xdaba83=this[_0x5664ac(0x137)][_0x5664ac(0x15e)][_0x5664ac(0x174)][_0x5664ac(0x180)](this[_0x5664ac(0x135)][_0x5664ac(0x12f)](_0xd3bb71[_0x5664ac(0x158)]));return this[_0x5664ac(0x145)]()||this[_0x5664ac(0x14e)](_0xdaba83),this[_0x5664ac(0x137)][_0x5664ac(0x15e)][_0x5664ac(0x143)](this[_0x5664ac(0x137)][_0x5664ac(0x15e)][_0x5664ac(0x163)](_0xdaba83));}[_0x415fa1(0x14e)](_0x177a7d){const _0x37af54=_0x415fa1,_0x141d23=new _0x316e79(this[_0x37af54(0x137)][_0x37af54(0x187)][_0x37af54(0x149)][_0x37af54(0x128)]),_0x59dd18=new _0x5886c7({'name':/^h[1-5]$/}),_0x17d9a8=[];let _0x454bb8=!0x1;for(const _0x59d6db of _0x177a7d)_0x59d6db['is'](_0x37af54(0x161))&&_0x59dd18[_0x37af54(0x139)](_0x59d6db)&&(_0x17d9a8[_0x37af54(0x141)](_0x59d6db),'h1'==_0x59d6db[_0x37af54(0x15c)]&&(_0x454bb8=!0x0));if(_0x454bb8){for(const _0x38db04 of _0x17d9a8)_0x141d23[_0x37af54(0x157)]('h'+(parseInt(_0x38db04[_0x37af54(0x15c)][0x1])+0x1),_0x38db04);}}[_0x415fa1(0x145)](){const _0x29c9bd=_0x415fa1,{data:_0x51f3f1,editing:_0x23c3f6}=this[_0x29c9bd(0x137)],_0x1f46c0=_0x51f3f1[_0x29c9bd(0x13a)][_0x29c9bd(0x180)](_0x29c9bd(0x176)),_0x353cf7=_0x51f3f1[_0x29c9bd(0x180)](_0x51f3f1[_0x29c9bd(0x163)](_0x1f46c0));return!!_0x23c3f6[_0x29c9bd(0x149)][_0x29c9bd(0x132)][_0x29c9bd(0x15a)](_0x353cf7)[_0x29c9bd(0x186)]('h1');}[_0x415fa1(0x167)](_0xdf6fbb){const _0x1543b0=_0x415fa1;return this[_0x1543b0(0x137)][_0x1543b0(0x187)][_0x1543b0(0x149)][_0x1543b0(0x132)][_0x1543b0(0x166)](this[_0x1543b0(0x159)],_0xdf6fbb),this[_0x1543b0(0x159)][_0x1543b0(0x12c)];}[_0x415fa1(0x16f)](_0xe11f60){const _0x3bf716=_0x415fa1,_0x10af71=_0xe11f60[_0x3bf716(0x182)]();return _0x10af71[_0x3bf716(0x14b)](_0x3bf716(0x13c))?_0x10af71[_0x3bf716(0x156)](_0x3bf716(0x179))?_0x10af71[_0x3bf716(0x16c)](0x7,_0x10af71[_0x3bf716(0x144)]-0x3):_0x10af71[_0x3bf716(0x16c)](0x7):_0xe11f60;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e703d=_0x55d7;function _0x4a61(){const _0x42ee3f=['label','isEnabled','length','enabledCommandsIds','1395078BmnKkk','set','items','filter','role','458OPBqYu','highlightText','1015244BBbvnk','match','isVisible','commandDefinition','listbox','1630720GuqDCn','199uZvuDQ','includes','171479lXyXHQ','get','labelView','8VMQeEN','378459UjaSIa','first','change:enabledCommandsIds','81PwNJZm','children','527830XBePDv'];_0x4a61=function(){return _0x42ee3f;};return _0x4a61();}(function(_0x1caaea,_0x1112bc){const _0x37d05d=_0x55d7,_0x5d593b=_0x1caaea();while(!![]){try{const _0x375f19=-parseInt(_0x37d05d(0xd4))/0x1*(parseInt(_0x37d05d(0xcc))/0x2)+-parseInt(_0x37d05d(0xda))/0x3+-parseInt(_0x37d05d(0xce))/0x4+parseInt(_0x37d05d(0xd3))/0x5+-parseInt(_0x37d05d(0xe4))/0x6+parseInt(_0x37d05d(0xd6))/0x7*(parseInt(_0x37d05d(0xd9))/0x8)+parseInt(_0x37d05d(0xdd))/0x9*(parseInt(_0x37d05d(0xdf))/0xa);if(_0x375f19===_0x1112bc)break;else _0x5d593b['push'](_0x5d593b['shift']());}catch(_0xfa4202){_0x5d593b['push'](_0x5d593b['shift']());}}}(_0x4a61,0x28ed8));import{ListView as _0x24d8c6,ListItemGroupView as _0x38e09c}from'ckeditor5/src/ui.js';function _0x55d7(_0x47abb5,_0x29cc41){const _0x4a61e2=_0x4a61();return _0x55d7=function(_0x55d748,_0x39669a){_0x55d748=_0x55d748-0xca;let _0x2de414=_0x4a61e2[_0x55d748];return _0x2de414;},_0x55d7(_0x47abb5,_0x29cc41);}import{AICommandsListItemView as _0x6dbcff}from'../../aiassistantui.js';export default class U extends _0x24d8c6{constructor(_0x1b37df){const _0x23d745=_0x55d7;super(_0x1b37df),this[_0x23d745(0xcb)]=_0x23d745(0xd2),this[_0x23d745(0xe5)](_0x23d745(0xe3),[]),this['on'](_0x23d745(0xdc),()=>{const _0x36bfd9=_0x23d745;for(const _0x2c18bf of this[_0x36bfd9(0xe6)])if(_0x2c18bf instanceof _0x38e09c){for(const _0x561b6e of _0x2c18bf[_0x36bfd9(0xe6)])if(_0x561b6e instanceof _0x6dbcff){const _0x308324=_0x561b6e[_0x36bfd9(0xde)][_0x36bfd9(0xd7)](0x0);this[_0x36bfd9(0xe3)][_0x36bfd9(0xd5)](_0x561b6e[_0x36bfd9(0xd1)]['id'])?_0x308324[_0x36bfd9(0xe1)]=!0x0:_0x308324[_0x36bfd9(0xe1)]=!0x1;}}});}[_0x1e703d(0xca)](_0x539802){const _0x42127d=_0x1e703d;let _0x271bb4=0x0,_0x38c90b=0x0;for(const _0x5bf381 of this[_0x42127d(0xe6)]){const _0x11f406=_0x5bf381,_0x344c4d=_0x11f406[_0x42127d(0xe6)],_0x110133=_0x539802&&!!_0x11f406[_0x42127d(0xe0)][_0x42127d(0xcf)](_0x539802);_0x11f406[_0x42127d(0xd8)][_0x42127d(0xcd)](_0x110133?_0x539802:null);for(const _0x48f864 of _0x344c4d){const _0x39fc91=_0x48f864[_0x42127d(0xde)][_0x42127d(0xdb)],_0x4d427e=_0x39fc91[_0x42127d(0xd8)];if(_0x539802){const _0xd59bbf=!!_0x39fc91[_0x42127d(0xe0)][_0x42127d(0xcf)](_0x539802);_0x4d427e[_0x42127d(0xcd)](_0xd59bbf?_0x539802:null),_0x48f864[_0x42127d(0xd0)]=_0x110133||_0xd59bbf;}else _0x48f864[_0x42127d(0xd0)]=!0x0,_0x4d427e[_0x42127d(0xcd)](null);}const _0x23beef=_0x344c4d[_0x42127d(0xca)](_0x561d0d=>_0x561d0d[_0x42127d(0xd0)])[_0x42127d(0xe2)];_0x271bb4+=_0x11f406[_0x42127d(0xe6)][_0x42127d(0xe2)],_0x38c90b+=_0x110133?_0x11f406[_0x42127d(0xe6)][_0x42127d(0xe2)]:_0x23beef,_0x11f406[_0x42127d(0xd0)]=_0x110133||!!_0x23beef;}return{'resultsCount':_0x38c90b,'totalItemsCount':_0x271bb4};}}
23
+ const _0x22f52d=_0x3801;(function(_0x569264,_0x2062bf){const _0xf6939=_0x3801,_0x253147=_0x569264();while(!![]){try{const _0x58722f=-parseInt(_0xf6939(0x1ba))/0x1+-parseInt(_0xf6939(0x1b5))/0x2*(parseInt(_0xf6939(0x1a8))/0x3)+parseInt(_0xf6939(0x1b6))/0x4+parseInt(_0xf6939(0x1b3))/0x5*(-parseInt(_0xf6939(0x1a9))/0x6)+-parseInt(_0xf6939(0x1b0))/0x7+parseInt(_0xf6939(0x1af))/0x8+-parseInt(_0xf6939(0x1bc))/0x9*(-parseInt(_0xf6939(0x1ad))/0xa);if(_0x58722f===_0x2062bf)break;else _0x253147['push'](_0x253147['shift']());}catch(_0x98e343){_0x253147['push'](_0x253147['shift']());}}}(_0x2929,0x8d15c));import{ListView as _0xcdf9e8,ListItemGroupView as _0x17f25b}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x5444b7}from'../../aiassistantui.js';export default class U extends _0xcdf9e8{constructor(_0x144ecb){const _0x5c9791=_0x3801;super(_0x144ecb),this[_0x5c9791(0x1b4)]=_0x5c9791(0x1bd),this[_0x5c9791(0x1b2)](_0x5c9791(0x1bb),[]),this['on'](_0x5c9791(0x1a1),()=>{const _0x3ef8c4=_0x5c9791;for(const _0x1709f0 of this[_0x3ef8c4(0x1a5)])if(_0x1709f0 instanceof _0x17f25b){for(const _0x4ec546 of _0x1709f0[_0x3ef8c4(0x1a5)])if(_0x4ec546 instanceof _0x5444b7){const _0x105bfc=_0x4ec546[_0x3ef8c4(0x1aa)][_0x3ef8c4(0x1b9)](0x0);this[_0x3ef8c4(0x1bb)][_0x3ef8c4(0x1a2)](_0x4ec546[_0x3ef8c4(0x1a6)]['id'])?_0x105bfc[_0x3ef8c4(0x1a7)]=!0x0:_0x105bfc[_0x3ef8c4(0x1a7)]=!0x1;}}});}[_0x22f52d(0x1ac)](_0x106141){const _0x15f2c2=_0x22f52d;let _0x4d6e55=0x0,_0x30516e=0x0;for(const _0x447356 of this[_0x15f2c2(0x1a5)]){const _0x3c8a37=_0x447356,_0x1d013b=_0x3c8a37[_0x15f2c2(0x1a5)],_0x541165=_0x106141&&!!_0x3c8a37[_0x15f2c2(0x1ab)][_0x15f2c2(0x1b1)](_0x106141);_0x3c8a37[_0x15f2c2(0x1ae)][_0x15f2c2(0x1b8)](_0x541165?_0x106141:null);for(const _0x3081b3 of _0x1d013b){const _0x352002=_0x3081b3[_0x15f2c2(0x1aa)][_0x15f2c2(0x1a4)],_0x3029dd=_0x352002[_0x15f2c2(0x1ae)];if(_0x106141){const _0x37075b=!!_0x352002[_0x15f2c2(0x1ab)][_0x15f2c2(0x1b1)](_0x106141);_0x3029dd[_0x15f2c2(0x1b8)](_0x37075b?_0x106141:null),_0x3081b3[_0x15f2c2(0x1a3)]=_0x541165||_0x37075b;}else _0x3081b3[_0x15f2c2(0x1a3)]=!0x0,_0x3029dd[_0x15f2c2(0x1b8)](null);}const _0x39c7bc=_0x1d013b[_0x15f2c2(0x1ac)](_0x3423b5=>_0x3423b5[_0x15f2c2(0x1a3)])[_0x15f2c2(0x1b7)];_0x4d6e55+=_0x3c8a37[_0x15f2c2(0x1a5)][_0x15f2c2(0x1b7)],_0x30516e+=_0x541165?_0x3c8a37[_0x15f2c2(0x1a5)][_0x15f2c2(0x1b7)]:_0x39c7bc,_0x3c8a37[_0x15f2c2(0x1a3)]=_0x541165||!!_0x39c7bc;}return{'resultsCount':_0x30516e,'totalItemsCount':_0x4d6e55};}}function _0x3801(_0x30ee7a,_0x1d09d0){const _0x29295e=_0x2929();return _0x3801=function(_0x38013e,_0x85c58c){_0x38013e=_0x38013e-0x1a1;let _0x289170=_0x29295e[_0x38013e];return _0x289170;},_0x3801(_0x30ee7a,_0x1d09d0);}function _0x2929(){const _0x7bcd36=['change:enabledCommandsIds','includes','isVisible','first','items','commandDefinition','isEnabled','54951hwbjlU','66XpGjXF','children','label','filter','23582310lvjCdM','labelView','2371880Tgmmmz','7080353hCpfrU','match','set','469485EMwOqP','role','6GopWwB','4384056PSQXaN','length','highlightText','get','1073549fHxQwS','enabledCommandsIds','9QSPOhe','listbox'];_0x2929=function(){return _0x7bcd36;};return _0x2929();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e6c(_0x4cb1c9,_0xee507){const _0x216bc3=_0x216b();return _0x2e6c=function(_0x2e6c0b,_0x5f31b5){_0x2e6c0b=_0x2e6c0b-0xc5;let _0x3c8d55=_0x216bc3[_0x2e6c0b];return _0x3c8d55;},_0x2e6c(_0x4cb1c9,_0xee507);}function _0x216b(){const _0x18347=['set','66ovBcmJ','31dEGipQ','12WvdYOS','8TDLStf','9ltumus','13RVneXo','8532HDyjil','208430bDmdGL','5733376nmmTtM','extendTemplate','style','83016SYOxhF','36862aiGjCm','bindTemplate','ck-button__label','2348514WVPIeI','1206156SFfoww','1640CkDGne'];_0x216b=function(){return _0x18347;};return _0x216b();}(function(_0xa5f0e3,_0xf30c2e){const _0xb1f1a3=_0x2e6c,_0x396bf5=_0xa5f0e3();while(!![]){try{const _0x36169f=-parseInt(_0xb1f1a3(0xc9))/0x1*(-parseInt(_0xb1f1a3(0xd4))/0x2)+parseInt(_0xb1f1a3(0xcc))/0x3*(parseInt(_0xb1f1a3(0xd3))/0x4)+-parseInt(_0xb1f1a3(0xcf))/0x5*(-parseInt(_0xb1f1a3(0xc8))/0x6)+parseInt(_0xb1f1a3(0xc5))/0x7*(-parseInt(_0xb1f1a3(0xcb))/0x8)+parseInt(_0xb1f1a3(0xce))/0x9*(parseInt(_0xb1f1a3(0xc6))/0xa)+-parseInt(_0xb1f1a3(0xd0))/0xb*(parseInt(_0xb1f1a3(0xca))/0xc)+-parseInt(_0xb1f1a3(0xcd))/0xd*(parseInt(_0xb1f1a3(0xd7))/0xe);if(_0x36169f===_0xf30c2e)break;else _0x396bf5['push'](_0x396bf5['shift']());}catch(_0x3c6432){_0x396bf5['push'](_0x396bf5['shift']());}}}(_0x216b,0x5e53e));import{HighlightedTextView as _0x4092ba}from'ckeditor5/src/ui.js';export default class N extends _0x4092ba{constructor(){const _0x5b4908=_0x2e6c;super(),this[_0x5b4908(0xc7)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0xc66365=this[_0x5b4908(0xd5)];this[_0x5b4908(0xd1)]({'attributes':{'class':[_0x5b4908(0xd6)],'style':_0xc66365['to'](_0x5b4908(0xd2)),'id':_0xc66365['to']('id')}});}}
23
+ function _0x3294(_0x3ad33a,_0x566d5e){const _0x359e83=_0x359e();return _0x3294=function(_0x32941b,_0x29a4d1){_0x32941b=_0x32941b-0x1ec;let _0x118be1=_0x359e83[_0x32941b];return _0x118be1;},_0x3294(_0x3ad33a,_0x566d5e);}function _0x359e(){const _0x3210e8=['567vrWqev','ck-button__label','7REKbsR','73rzQRjR','7348847fNHKEm','2963528ahrrFm','2090046jiFOFk','extendTemplate','2978736cDTzav','40665BCYSAY','7118yFCSnk','86980YPNYBg','212FUuxCt','set','bindTemplate','24hYGoEI','style'];_0x359e=function(){return _0x3210e8;};return _0x359e();}(function(_0x5b58e8,_0x2994b6){const _0x35eb4d=_0x3294,_0x2c155c=_0x5b58e8();while(!![]){try{const _0x370f99=-parseInt(_0x35eb4d(0x1ee))/0x1*(parseInt(_0x35eb4d(0x1f5))/0x2)+-parseInt(_0x35eb4d(0x1f1))/0x3+parseInt(_0x35eb4d(0x1f7))/0x4*(-parseInt(_0x35eb4d(0x1f4))/0x5)+-parseInt(_0x35eb4d(0x1f3))/0x6+parseInt(_0x35eb4d(0x1ed))/0x7*(parseInt(_0x35eb4d(0x1f0))/0x8)+parseInt(_0x35eb4d(0x1fc))/0x9*(parseInt(_0x35eb4d(0x1f6))/0xa)+parseInt(_0x35eb4d(0x1ef))/0xb*(parseInt(_0x35eb4d(0x1fa))/0xc);if(_0x370f99===_0x2994b6)break;else _0x2c155c['push'](_0x2c155c['shift']());}catch(_0xba7cca){_0x2c155c['push'](_0x2c155c['shift']());}}}(_0x359e,0x5a78f));import{HighlightedTextView as _0x60708a}from'ckeditor5/src/ui.js';export default class N extends _0x60708a{constructor(){const _0x4f7c2e=_0x3294;super(),this[_0x4f7c2e(0x1f8)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x157b9e=this[_0x4f7c2e(0x1f9)];this[_0x4f7c2e(0x1f2)]({'attributes':{'class':[_0x4f7c2e(0x1ec)],'style':_0x157b9e['to'](_0x4f7c2e(0x1fb)),'id':_0x157b9e['to']('id')}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x881593,_0x288bba){const _0x2374fa=_0xfd14,_0xbca783=_0x881593();while(!![]){try{const _0x1ba460=-parseInt(_0x2374fa(0x1c5))/0x1+parseInt(_0x2374fa(0x1c7))/0x2*(parseInt(_0x2374fa(0x1ca))/0x3)+parseInt(_0x2374fa(0x1bc))/0x4+parseInt(_0x2374fa(0x1cb))/0x5+-parseInt(_0x2374fa(0x1c3))/0x6+-parseInt(_0x2374fa(0x1c9))/0x7*(-parseInt(_0x2374fa(0x1bf))/0x8)+parseInt(_0x2374fa(0x1c8))/0x9*(-parseInt(_0x2374fa(0x1c2))/0xa);if(_0x1ba460===_0x288bba)break;else _0xbca783['push'](_0xbca783['shift']());}catch(_0x33679f){_0xbca783['push'](_0xbca783['shift']());}}}(_0x2376,0x74037));function _0x2376(){const _0x5d29bd=['10PewEdC','4408950UXIhlo','bindTemplate','212608lCDjYF','extendTemplate','90466JqwANB','10656639AxsZBy','1473878cBcaKG','27ToEkrv','2698130XzSZjh','3271024BQASIj','set','ck-label','32viVbHS','for','ck-editor__label_'];_0x2376=function(){return _0x5d29bd;};return _0x2376();}import{HighlightedTextView as _0x20906d}from'ckeditor5/src/ui.js';import{uid as _0x2037d4}from'ckeditor5/src/utils.js';function _0xfd14(_0x1d9574,_0x267471){const _0x237624=_0x2376();return _0xfd14=function(_0xfd1456,_0x4d626a){_0xfd1456=_0xfd1456-0x1bc;let _0x45515a=_0x237624[_0xfd1456];return _0x45515a;},_0xfd14(_0x1d9574,_0x267471);}export default class S extends _0x20906d{constructor(){const _0x497d10=_0xfd14;super(),this[_0x497d10(0x1bd)](_0x497d10(0x1c0),void 0x0);const _0x3d9fd5=this[_0x497d10(0x1c4)];this['id']=_0x497d10(0x1c1)+_0x2037d4(),this[_0x497d10(0x1c6)]({'attributes':{'class':['ck',_0x497d10(0x1be)],'id':this['id'],'for':_0x3d9fd5['to'](_0x497d10(0x1c0))}});}}
23
+ function _0x46be(_0x2e92de,_0x4c3fd7){const _0x24ab79=_0x24ab();return _0x46be=function(_0x46be8b,_0x8e099b){_0x46be8b=_0x46be8b-0x1c8;let _0x56bbd8=_0x24ab79[_0x46be8b];return _0x56bbd8;},_0x46be(_0x2e92de,_0x4c3fd7);}(function(_0x371eef,_0xb35a5a){const _0x921102=_0x46be,_0x44a94f=_0x371eef();while(!![]){try{const _0x1f77a1=parseInt(_0x921102(0x1d6))/0x1+-parseInt(_0x921102(0x1c8))/0x2+-parseInt(_0x921102(0x1d1))/0x3*(-parseInt(_0x921102(0x1d0))/0x4)+-parseInt(_0x921102(0x1cd))/0x5+-parseInt(_0x921102(0x1d7))/0x6*(-parseInt(_0x921102(0x1cf))/0x7)+parseInt(_0x921102(0x1d3))/0x8*(parseInt(_0x921102(0x1d2))/0x9)+-parseInt(_0x921102(0x1cb))/0xa;if(_0x1f77a1===_0xb35a5a)break;else _0x44a94f['push'](_0x44a94f['shift']());}catch(_0x1613cb){_0x44a94f['push'](_0x44a94f['shift']());}}}(_0x24ab,0xdc0f3));import{HighlightedTextView as _0x49326c}from'ckeditor5/src/ui.js';function _0x24ab(){const _0x2888f1=['872478tJetxZ','798812kqTAUo','ck-editor__label_','ck-label','2105300aVeUzD','bindTemplate','3037730KyGRtD','for','7EbNMCj','13268AZwcGu','831WMEvTx','4254813RrohVO','8hlQgML','extendTemplate','set','581866Szkrbf'];_0x24ab=function(){return _0x2888f1;};return _0x24ab();}import{uid as _0x33eadb}from'ckeditor5/src/utils.js';export default class S extends _0x49326c{constructor(){const _0x28b6be=_0x46be;super(),this[_0x28b6be(0x1d5)](_0x28b6be(0x1ce),void 0x0);const _0x3f4be2=this[_0x28b6be(0x1cc)];this['id']=_0x28b6be(0x1c9)+_0x33eadb(),this[_0x28b6be(0x1d4)]({'attributes':{'class':['ck',_0x28b6be(0x1ca)],'id':this['id'],'for':_0x3f4be2['to'](_0x28b6be(0x1ce))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b22(_0x46731e,_0x2d1732){const _0x49edfd=_0x49ed();return _0x5b22=function(_0x5b22f2,_0x3457ce){_0x5b22f2=_0x5b22f2-0x16d;let _0x367a2a=_0x49edfd[_0x5b22f2];return _0x367a2a;},_0x5b22(_0x46731e,_0x2d1732);}const _0x195739=_0x5b22;function _0x49ed(){const _0x4a4335=['ck-ai-form__content-area-wrapper','107487CCsxes','setTemplate','locale','5XjkErl','-9999px','bindTemplate','Copy','set','position','lastElementChild','body','isVisible','463090cTOHCt','ck-ai-form__copy-button','getSelection','ck-ai-form__content-field','write','wheel','mousedown','scrollHeight','86386claXno','createRange','copyButtonView','ck-content','setEndBefore','check','value','contentFieldView','querySelector','change:isProcessing','4246020xbsrSj','scrollTo','change:value','\x20ck-ai-form__copy-button--copied','.ck-ai-form__loader','textContent','element','ck-reset_all-excluded','_createCopyButton','36sFNlXv','smooth','isEnabled','9998934feBBrs','_copyHTMLToClipboard','absolute','addRange','innerHTML','text/plain','copy','left','createElement','listenTo','ck-hidden','removeAllRanges','style','ClipboardItem','ck-ai-form__content-area--processing','clipboard','258936sQQTuV','setStartAfter','bind','ck-ai-form__content-area','icon','text/html','div','6573420YXGMXo','AI\x20is\x20writing...','ck-ai-form__copy-button-wrapper','<span>[</span>','<span>]</span>','808rKjDOk','remove','execCommand','execute','render','isProcessing','ck-ai-form__loader','loaderView','firstElementChild','appendLoader','focus','class','setContent','473yXPOJv','_createLoader','appendChild'];_0x49ed=function(){return _0x4a4335;};return _0x49ed();}(function(_0x2871b8,_0x4f558f){const _0x1d7bf3=_0x5b22,_0x5012c1=_0x2871b8();while(!![]){try{const _0x330526=-parseInt(_0x1d7bf3(0x1a6))/0x1*(-parseInt(_0x1d7bf3(0x193))/0x2)+parseInt(_0x1d7bf3(0x1b9))/0x3+parseInt(_0x1d7bf3(0x19d))/0x4*(parseInt(_0x1d7bf3(0x182))/0x5)+-parseInt(_0x1d7bf3(0x1a9))/0x6+-parseInt(_0x1d7bf3(0x1c0))/0x7+-parseInt(_0x1d7bf3(0x16e))/0x8*(parseInt(_0x1d7bf3(0x17f))/0x9)+-parseInt(_0x1d7bf3(0x18b))/0xa*(-parseInt(_0x1d7bf3(0x17b))/0xb);if(_0x330526===_0x4f558f)break;else _0x5012c1['push'](_0x5012c1['shift']());}catch(_0x325dcc){_0x5012c1['push'](_0x5012c1['shift']());}}}(_0x49ed,0xd7654));import{global as _0x343de4}from'ckeditor5/src/utils.js';import{View as _0x4d42d8,ButtonView as _0x17d56a,SpinnerView as _0xf9caf0}from'ckeditor5/src/ui.js';import _0x90888c from'../../../theme/icons/copy.svg';import{getTranslation as _0x42127c}from'../../utils/common-translations.js';import{icons as _0x2568d7}from'ckeditor5/src/core.js';export default class nt extends _0x4d42d8{constructor(_0x4fc68a,_0x44e7cd=''){const _0x58aeb2=_0x5b22;super(_0x4fc68a),this[_0x58aeb2(0x186)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xd40819=this[_0x58aeb2(0x184)];this[_0x58aeb2(0x19a)]=new ContentFieldView(_0x4fc68a,_0x44e7cd),this[_0x58aeb2(0x195)]=this[_0x58aeb2(0x1a5)](),this[_0x58aeb2(0x180)]({'tag':_0x58aeb2(0x1bf),'attributes':{'class':['ck',_0x58aeb2(0x17e),_0xd40819['if'](_0x58aeb2(0x18a),_0x58aeb2(0x1b3),_0x4b7643=>!_0x4b7643)],'tabindex':'-1'},'children':[{'tag':_0x58aeb2(0x1bf),'attributes':{'class':['ck',_0x58aeb2(0x1bc),_0xd40819['if'](_0x58aeb2(0x173),_0x58aeb2(0x1b7))]},'children':[this[_0x58aeb2(0x19a)],{'tag':_0x58aeb2(0x1bf),'attributes':{'class':['ck',_0x58aeb2(0x1c2)]},'children':[this[_0x58aeb2(0x195)]]}]}]});}[_0x195739(0x172)](){const _0x11ecba=_0x195739;super[_0x11ecba(0x172)](),this[_0x11ecba(0x199)]&&this[_0x11ecba(0x19a)][_0x11ecba(0x17a)](this[_0x11ecba(0x199)]);let _0x1bae67=!0x1;this['on'](_0x11ecba(0x19f),(_0x4de55c,_0x435909,_0x176763)=>{const _0x48a4c4=_0x11ecba,_0x1edd26=!this[_0x48a4c4(0x19a)][_0x48a4c4(0x1a3)][_0x48a4c4(0x19b)](_0x48a4c4(0x1a1));this[_0x48a4c4(0x19a)][_0x48a4c4(0x17a)](_0x176763),this[_0x48a4c4(0x173)]&&_0x1edd26&&!_0x1bae67&&this[_0x48a4c4(0x1a3)][_0x48a4c4(0x19e)]({'top':this[_0x48a4c4(0x1a3)][_0x48a4c4(0x192)],'behavior':_0x48a4c4(0x1a7)});}),this['on'](_0x11ecba(0x19c),(_0xf11190,_0xe56122,_0x3134bd)=>{const _0x42761f=_0x11ecba;_0x1bae67=!0x1,_0x3134bd?(this[_0x42761f(0x199)]=null,this[_0x42761f(0x19a)][_0x42761f(0x177)]()):this[_0x42761f(0x199)]||this[_0x42761f(0x19a)][_0x42761f(0x17a)]('');}),this[_0x11ecba(0x1b2)](this[_0x11ecba(0x1a3)],_0x11ecba(0x190),()=>{_0x1bae67=!0x0;}),this[_0x11ecba(0x1b2)](this[_0x11ecba(0x1a3)],_0x11ecba(0x191),()=>{_0x1bae67=!0x0;});}[_0x195739(0x178)](){const _0x1a8bcb=_0x195739;this[_0x1a8bcb(0x1a3)][_0x1a8bcb(0x178)]();}[_0x195739(0x1a5)](){const _0x3ed999=_0x195739,_0x524d00=this[_0x3ed999(0x181)],_0x4d5f1d=new _0x17d56a(this[_0x3ed999(0x181)]),_0x2bbdfb=_0x3ed999(0x18c);return _0x4d5f1d[_0x3ed999(0x186)]({'label':_0x42127c(_0x524d00,_0x3ed999(0x185)),'icon':_0x90888c,'class':_0x2bbdfb,'tooltip':!0x0}),_0x4d5f1d[_0x3ed999(0x1bb)](_0x3ed999(0x18a))['to'](this,_0x3ed999(0x199),_0x177cea=>!!_0x177cea),_0x4d5f1d[_0x3ed999(0x1bb)](_0x3ed999(0x1a8))['to'](this,_0x3ed999(0x173),_0xcee000=>!_0xcee000),_0x4d5f1d['on'](_0x3ed999(0x171),()=>{const _0x866aad=_0x3ed999;this[_0x866aad(0x1aa)](this[_0x866aad(0x19a)][_0x866aad(0x1a3)]),_0x4d5f1d[_0x866aad(0x1bd)]=_0x2568d7[_0x866aad(0x198)],_0x4d5f1d[_0x866aad(0x179)]=_0x2bbdfb+_0x866aad(0x1a0),this[_0x866aad(0x178)](),setTimeout(()=>{const _0x395c43=_0x866aad;_0x4d5f1d[_0x395c43(0x1bd)]=_0x90888c,_0x4d5f1d[_0x395c43(0x179)]=_0x2bbdfb;},0x3e8);}),_0x4d5f1d;}[_0x195739(0x1aa)](_0x3924c1){const _0x56f300=_0x195739,{window:_0xad14ad,document:_0x299e71}=_0x343de4;if(_0xad14ad[_0x56f300(0x1b6)]){const {Blob:_0x44c23b,ClipboardItem:_0x409f97}=_0xad14ad,_0xcfb7d2=[new _0x409f97({'text/html':new _0x44c23b([_0x3924c1[_0x56f300(0x1ad)]],{'type':_0x56f300(0x1be)}),'text/plain':new _0x44c23b([_0x3924c1[_0x56f300(0x1a2)]||''],{'type':_0x56f300(0x1ae)})})];navigator[_0x56f300(0x1b8)][_0x56f300(0x18f)](_0xcfb7d2);}else{const _0x262f9c=_0x299e71[_0x56f300(0x1b1)](_0x56f300(0x1bf));_0x262f9c[_0x56f300(0x1b5)][_0x56f300(0x187)]=_0x56f300(0x1ab),_0x262f9c[_0x56f300(0x1b5)][_0x56f300(0x1b0)]=_0x56f300(0x183),_0x262f9c[_0x56f300(0x1ad)]=_0x56f300(0x1c3)+_0x3924c1[_0x56f300(0x1ad)]+_0x56f300(0x16d),_0x299e71[_0x56f300(0x189)][_0x56f300(0x17d)](_0x262f9c);const _0x38456d=_0x299e71[_0x56f300(0x194)]();_0x38456d[_0x56f300(0x1ba)](_0x262f9c[_0x56f300(0x176)]),_0x38456d[_0x56f300(0x197)](_0x262f9c[_0x56f300(0x188)]);const _0x36972f=_0xad14ad[_0x56f300(0x18d)]();_0x36972f[_0x56f300(0x1b4)](),_0x36972f[_0x56f300(0x1ac)](_0x38456d),_0x299e71[_0x56f300(0x170)](_0x56f300(0x1af)),_0x262f9c[_0x56f300(0x16f)]();}}}export class ContentFieldView extends _0x4d42d8{constructor(_0x32f090,_0x31debd=''){const _0xf60245=_0x195739;super(_0x32f090),this[_0xf60245(0x175)]=this[_0xf60245(0x17c)](),this[_0xf60245(0x180)]({'tag':_0xf60245(0x1bf),'attributes':{'class':['ck',_0xf60245(0x196),_0x31debd,_0xf60245(0x1a4),_0xf60245(0x18e)]}});}[_0x195739(0x17a)](_0x318c12){const _0x57db2c=_0x195739;this[_0x57db2c(0x1a3)][_0x57db2c(0x1ad)]=_0x318c12;}[_0x195739(0x177)](){const _0x103f64=_0x195739;this[_0x103f64(0x1a3)][_0x103f64(0x17d)](this[_0x103f64(0x175)][_0x103f64(0x1a3)]);}[_0x195739(0x17c)](){const _0x140f4f=_0x195739,_0x41754d=new _0x4d42d8(),_0x417a59=this[_0x140f4f(0x181)],_0xee0c69=new _0xf9caf0();return _0xee0c69[_0x140f4f(0x18a)]=!0x0,_0x41754d[_0x140f4f(0x180)]({'tag':_0x140f4f(0x1bf),'attributes':{'class':['ck',_0x140f4f(0x174)]},'children':[_0xee0c69,{'text':_0x42127c(_0x417a59,_0x140f4f(0x1c1))}]}),_0x41754d[_0x140f4f(0x172)](),_0x41754d;}}
23
+ const _0x2cd234=_0x1398;(function(_0x57a170,_0x38551d){const _0x20e3cb=_0x1398,_0x2955f7=_0x57a170();while(!![]){try{const _0x2ae5cc=parseInt(_0x20e3cb(0x1a4))/0x1*(-parseInt(_0x20e3cb(0x1ab))/0x2)+-parseInt(_0x20e3cb(0x1a6))/0x3*(parseInt(_0x20e3cb(0x1ae))/0x4)+parseInt(_0x20e3cb(0x19d))/0x5*(-parseInt(_0x20e3cb(0x19f))/0x6)+-parseInt(_0x20e3cb(0x175))/0x7*(parseInt(_0x20e3cb(0x1ba))/0x8)+-parseInt(_0x20e3cb(0x186))/0x9+-parseInt(_0x20e3cb(0x17c))/0xa+-parseInt(_0x20e3cb(0x182))/0xb*(-parseInt(_0x20e3cb(0x1b5))/0xc);if(_0x2ae5cc===_0x38551d)break;else _0x2955f7['push'](_0x2955f7['shift']());}catch(_0x216482){_0x2955f7['push'](_0x2955f7['shift']());}}}(_0x2bcd,0x366bd));function _0x1398(_0x125af9,_0x3850c1){const _0x2bcd53=_0x2bcd();return _0x1398=function(_0x139886,_0xfacaf3){_0x139886=_0x139886-0x175;let _0x52ce09=_0x2bcd53[_0x139886];return _0x52ce09;},_0x1398(_0x125af9,_0x3850c1);}import{global as _0x39bcca}from'ckeditor5/src/utils.js';import{View as _0x4fb550,ButtonView as _0x1f64c2,SpinnerView as _0x5b2fb1}from'ckeditor5/src/ui.js';import _0x36edc3 from'../../../theme/icons/copy.svg';import{getTranslation as _0x5046f8}from'../../utils/common-translations.js';import{icons as _0x1047a0}from'ckeditor5/src/core.js';export default class nt extends _0x4fb550{constructor(_0x4d427c,_0x31a352=''){const _0x411c74=_0x1398;super(_0x4d427c),this[_0x411c74(0x17f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1ef7d9=this[_0x411c74(0x190)];this[_0x411c74(0x1af)]=new ContentFieldView(_0x4d427c,_0x31a352),this[_0x411c74(0x1cb)]=this[_0x411c74(0x177)](),this[_0x411c74(0x1b9)]({'tag':_0x411c74(0x1c3),'attributes':{'class':['ck',_0x411c74(0x1b8),_0x1ef7d9['if'](_0x411c74(0x1b2),_0x411c74(0x199),_0x115a96=>!_0x115a96)],'tabindex':'-1'},'children':[{'tag':_0x411c74(0x1c3),'attributes':{'class':['ck',_0x411c74(0x17e),_0x1ef7d9['if'](_0x411c74(0x1b4),_0x411c74(0x188))]},'children':[this[_0x411c74(0x1af)],{'tag':_0x411c74(0x1c3),'attributes':{'class':['ck',_0x411c74(0x195)]},'children':[this[_0x411c74(0x1cb)]]}]}]});}[_0x2cd234(0x1b6)](){const _0x3cc462=_0x2cd234;super[_0x3cc462(0x1b6)](),this[_0x3cc462(0x1c0)]&&this[_0x3cc462(0x1af)][_0x3cc462(0x185)](this[_0x3cc462(0x1c0)]);let _0x48108f=!0x1;this['on'](_0x3cc462(0x1bf),(_0x199e8b,_0x51a1aa,_0x33c63e)=>{const _0x21a213=_0x3cc462,_0x314df0=!this[_0x21a213(0x1af)][_0x21a213(0x1c2)][_0x21a213(0x198)](_0x21a213(0x1ac));this[_0x21a213(0x1af)][_0x21a213(0x185)](_0x33c63e),this[_0x21a213(0x1b4)]&&_0x314df0&&!_0x48108f&&this[_0x21a213(0x1c2)][_0x21a213(0x1a7)]({'top':this[_0x21a213(0x1c2)][_0x21a213(0x187)],'behavior':_0x21a213(0x18a)});}),this['on'](_0x3cc462(0x183),(_0x2c1ab2,_0x2491e2,_0x55922f)=>{const _0xfc10a4=_0x3cc462;_0x48108f=!0x1,_0x55922f?(this[_0xfc10a4(0x1c0)]=null,this[_0xfc10a4(0x1af)][_0xfc10a4(0x1a8)]()):this[_0xfc10a4(0x1c0)]||this[_0xfc10a4(0x1af)][_0xfc10a4(0x185)]('');}),this[_0x3cc462(0x179)](this[_0x3cc462(0x1c2)],_0x3cc462(0x1b7),()=>{_0x48108f=!0x0;}),this[_0x3cc462(0x179)](this[_0x3cc462(0x1c2)],_0x3cc462(0x181),()=>{_0x48108f=!0x0;});}[_0x2cd234(0x193)](){const _0x196cc9=_0x2cd234;this[_0x196cc9(0x1c2)][_0x196cc9(0x193)]();}[_0x2cd234(0x177)](){const _0x33b319=_0x2cd234,_0x45dd83=this[_0x33b319(0x1a3)],_0x445652=new _0x1f64c2(this[_0x33b319(0x1a3)]),_0x284150=_0x33b319(0x1a0);return _0x445652[_0x33b319(0x17f)]({'label':_0x5046f8(_0x45dd83,_0x33b319(0x197)),'icon':_0x36edc3,'class':_0x284150,'tooltip':!0x0}),_0x445652[_0x33b319(0x1be)](_0x33b319(0x1b2))['to'](this,_0x33b319(0x1c0),_0x4814ab=>!!_0x4814ab),_0x445652[_0x33b319(0x1be)](_0x33b319(0x17d))['to'](this,_0x33b319(0x1b4),_0x5362ad=>!_0x5362ad),_0x445652['on'](_0x33b319(0x18c),()=>{const _0x432be0=_0x33b319;this[_0x432be0(0x1b1)](this[_0x432be0(0x1af)][_0x432be0(0x1c2)]),_0x445652[_0x432be0(0x1b0)]=_0x1047a0[_0x432be0(0x192)],_0x445652[_0x432be0(0x1c1)]=_0x284150+_0x432be0(0x1c6),this[_0x432be0(0x193)](),setTimeout(()=>{const _0x1c6b51=_0x432be0;_0x445652[_0x1c6b51(0x1b0)]=_0x36edc3,_0x445652[_0x1c6b51(0x1c1)]=_0x284150;},0x3e8);}),_0x445652;}[_0x2cd234(0x1b1)](_0x262ffb){const _0x5951af=_0x2cd234,{window:_0x35ce4c,document:_0x184ae0}=_0x39bcca;if(_0x35ce4c[_0x5951af(0x178)]){const {Blob:_0x4cf568,ClipboardItem:_0x3cb366}=_0x35ce4c,_0x3d298c=[new _0x3cb366({'text/html':new _0x4cf568([_0x262ffb[_0x5951af(0x19e)]],{'type':_0x5951af(0x180)}),'text/plain':new _0x4cf568([_0x262ffb[_0x5951af(0x1a5)]||''],{'type':_0x5951af(0x1a9)})})];navigator[_0x5951af(0x1a1)][_0x5951af(0x1ad)](_0x3d298c);}else{const _0x1817ae=_0x184ae0[_0x5951af(0x1bb)](_0x5951af(0x1c3));_0x1817ae[_0x5951af(0x18b)][_0x5951af(0x1b3)]=_0x5951af(0x1ca),_0x1817ae[_0x5951af(0x18b)][_0x5951af(0x19a)]=_0x5951af(0x1c9),_0x1817ae[_0x5951af(0x19e)]=_0x5951af(0x196)+_0x262ffb[_0x5951af(0x19e)]+_0x5951af(0x19c),_0x184ae0[_0x5951af(0x194)][_0x5951af(0x1c8)](_0x1817ae);const _0x47896c=_0x184ae0[_0x5951af(0x191)]();_0x47896c[_0x5951af(0x1aa)](_0x1817ae[_0x5951af(0x189)]),_0x47896c[_0x5951af(0x1c4)](_0x1817ae[_0x5951af(0x1bc)]);const _0x36c802=_0x35ce4c[_0x5951af(0x1c5)]();_0x36c802[_0x5951af(0x18f)](),_0x36c802[_0x5951af(0x1cc)](_0x47896c),_0x184ae0[_0x5951af(0x17b)](_0x5951af(0x19b)),_0x1817ae[_0x5951af(0x18e)]();}}}function _0x2bcd(){const _0x3bad76=['ck-ai-form__content-area','set','text/html','mousedown','15112229IDogCi','change:isProcessing','ck-ai-form__loader','setContent','276597iRuqCl','scrollHeight','ck-ai-form__content-area--processing','firstElementChild','smooth','style','execute','AI\x20is\x20writing...','remove','removeAllRanges','bindTemplate','createRange','check','focus','body','ck-ai-form__copy-button-wrapper','<span>[</span>','Copy','querySelector','ck-hidden','left','copy','<span>]</span>','1517030JinalE','innerHTML','6VezzXJ','ck-ai-form__copy-button','clipboard','ck-content','locale','3SAbtoX','textContent','451641kFhDFU','scrollTo','appendLoader','text/plain','setStartAfter','131466HpslXi','.ck-ai-form__loader','write','4JidEYh','contentFieldView','icon','_copyHTMLToClipboard','isVisible','position','isProcessing','12LezrSC','render','wheel','ck-ai-form__content-area-wrapper','setTemplate','64rcqTOr','createElement','lastElementChild','_createLoader','bind','change:value','value','class','element','div','setEndBefore','getSelection','\x20ck-ai-form__copy-button--copied','ck-reset_all-excluded','appendChild','-9999px','absolute','copyButtonView','addRange','153867awyckU','ck-ai-form__content-field','_createCopyButton','ClipboardItem','listenTo','loaderView','execCommand','2931970eayzhu','isEnabled'];_0x2bcd=function(){return _0x3bad76;};return _0x2bcd();}export class ContentFieldView extends _0x4fb550{constructor(_0x488ec4,_0x2fd395=''){const _0x18a8d6=_0x2cd234;super(_0x488ec4),this[_0x18a8d6(0x17a)]=this[_0x18a8d6(0x1bd)](),this[_0x18a8d6(0x1b9)]({'tag':_0x18a8d6(0x1c3),'attributes':{'class':['ck',_0x18a8d6(0x1a2),_0x2fd395,_0x18a8d6(0x1c7),_0x18a8d6(0x176)]}});}[_0x2cd234(0x185)](_0x447b53){const _0x347acc=_0x2cd234;this[_0x347acc(0x1c2)][_0x347acc(0x19e)]=_0x447b53;}[_0x2cd234(0x1a8)](){const _0x24c10b=_0x2cd234;this[_0x24c10b(0x1c2)][_0x24c10b(0x1c8)](this[_0x24c10b(0x17a)][_0x24c10b(0x1c2)]);}[_0x2cd234(0x1bd)](){const _0x21ab76=_0x2cd234,_0x493ebb=new _0x4fb550(),_0x571eb7=this[_0x21ab76(0x1a3)],_0x5e2c66=new _0x5b2fb1();return _0x5e2c66[_0x21ab76(0x1b2)]=!0x0,_0x493ebb[_0x21ab76(0x1b9)]({'tag':_0x21ab76(0x1c3),'attributes':{'class':['ck',_0x21ab76(0x184)]},'children':[_0x5e2c66,{'text':_0x5046f8(_0x571eb7,_0x21ab76(0x18d))}]}),_0x493ebb[_0x21ab76(0x1b6)](),_0x493ebb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2d3df1,_0x5a77a4){const _0x2a75cb=_0x1075,_0x4489fd=_0x2d3df1();while(!![]){try{const _0x354d89=parseInt(_0x2a75cb(0x88))/0x1+parseInt(_0x2a75cb(0x85))/0x2*(parseInt(_0x2a75cb(0x8f))/0x3)+parseInt(_0x2a75cb(0x82))/0x4+-parseInt(_0x2a75cb(0x8b))/0x5+-parseInt(_0x2a75cb(0x8a))/0x6*(-parseInt(_0x2a75cb(0x86))/0x7)+-parseInt(_0x2a75cb(0x92))/0x8+-parseInt(_0x2a75cb(0x90))/0x9*(parseInt(_0x2a75cb(0x84))/0xa);if(_0x354d89===_0x5a77a4)break;else _0x4489fd['push'](_0x4489fd['shift']());}catch(_0x3b9ecb){_0x4489fd['push'](_0x4489fd['shift']());}}}(_0x1346,0x44b50));function _0x1346(){const _0x23533e=['1635520SCRniX','div','text','bindTemplate','654baArDO','3356154dPPsTk','content','914560YjSIgQ','563532QYOjqJ','ck-ai-form__error','10WKAdkN','2804xnBwiq','1175664vizmXT','set','481283HTEPWk','setTemplate','6awVGPe'];_0x1346=function(){return _0x23533e;};return _0x1346();}function _0x1075(_0x4da048,_0x2c8c50){const _0x1346d8=_0x1346();return _0x1075=function(_0x1075b6,_0x312540){_0x1075b6=_0x1075b6-0x82;let _0x6b5238=_0x1346d8[_0x1075b6];return _0x6b5238;},_0x1075(_0x4da048,_0x2c8c50);}import{View as _0x216b9c,IconView as _0x1e91bd}from'ckeditor5/src/ui.js';import _0x2fbd53 from'../../../theme/icons/error.svg';export default class mt extends _0x216b9c{constructor(_0x28ab90,_0xa094b4=''){const _0x343d36=_0x1075;super(_0x28ab90);const _0x38e3db=new _0x1e91bd(),_0x3eee66=this[_0x343d36(0x8e)];this[_0x343d36(0x87)](_0x343d36(0x8d),_0xa094b4),_0x38e3db[_0x343d36(0x91)]=_0x2fbd53,this[_0x343d36(0x89)]({'tag':_0x343d36(0x8c),'attributes':{'class':['ck',_0x343d36(0x83)]},'children':[_0x38e3db,{'text':_0x3eee66['to'](_0x343d36(0x8d))}]});}}
23
+ function _0x345d(_0xfb8603,_0x3b5f43){const _0x56a3f3=_0x56a3();return _0x345d=function(_0x345d4b,_0x273d72){_0x345d4b=_0x345d4b-0x1db;let _0x22b5a7=_0x56a3f3[_0x345d4b];return _0x22b5a7;},_0x345d(_0xfb8603,_0x3b5f43);}(function(_0x1d6d64,_0x19ed18){const _0x41a5f8=_0x345d,_0xa6304b=_0x1d6d64();while(!![]){try{const _0x13729f=parseInt(_0x41a5f8(0x1ec))/0x1+parseInt(_0x41a5f8(0x1e5))/0x2*(-parseInt(_0x41a5f8(0x1de))/0x3)+-parseInt(_0x41a5f8(0x1df))/0x4*(parseInt(_0x41a5f8(0x1e0))/0x5)+parseInt(_0x41a5f8(0x1e9))/0x6+-parseInt(_0x41a5f8(0x1dc))/0x7*(parseInt(_0x41a5f8(0x1eb))/0x8)+-parseInt(_0x41a5f8(0x1dd))/0x9*(-parseInt(_0x41a5f8(0x1e3))/0xa)+parseInt(_0x41a5f8(0x1e1))/0xb;if(_0x13729f===_0x19ed18)break;else _0xa6304b['push'](_0xa6304b['shift']());}catch(_0x5bbd3c){_0xa6304b['push'](_0xa6304b['shift']());}}}(_0x56a3,0xcfa2a));import{View as _0x1ef9d5,IconView as _0x402164}from'ckeditor5/src/ui.js';import _0x1163dd from'../../../theme/icons/error.svg';function _0x56a3(){const _0x3fb807=['404JfvgZg','79880TtdNph','13051907ROwGrR','set','300970juIxUE','ck-ai-form__error','6hwxWXi','text','setTemplate','content','7837974crNqwL','bindTemplate','441848fOSWMA','488324NkIFaP','div','35HOPcbj','234eOCyGF','1023507feLCol'];_0x56a3=function(){return _0x3fb807;};return _0x56a3();}export default class mt extends _0x1ef9d5{constructor(_0x37eef1,_0x5c61a6=''){const _0x48f970=_0x345d;super(_0x37eef1);const _0x53793d=new _0x402164(),_0x29741e=this[_0x48f970(0x1ea)];this[_0x48f970(0x1e2)](_0x48f970(0x1e6),_0x5c61a6),_0x53793d[_0x48f970(0x1e8)]=_0x1163dd,this[_0x48f970(0x1e7)]({'tag':_0x48f970(0x1db),'attributes':{'class':['ck',_0x48f970(0x1e4)]},'children':[_0x53793d,{'text':_0x29741e['to'](_0x48f970(0x1e6))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x197497=_0x36e4;(function(_0x4e7375,_0x253e3b){const _0x53e640=_0x36e4,_0x94fa1f=_0x4e7375();while(!![]){try{const _0x15f166=-parseInt(_0x53e640(0x1b3))/0x1+-parseInt(_0x53e640(0x1a2))/0x2*(parseInt(_0x53e640(0x1c7))/0x3)+-parseInt(_0x53e640(0x1a8))/0x4*(-parseInt(_0x53e640(0x1b4))/0x5)+parseInt(_0x53e640(0x1c1))/0x6+parseInt(_0x53e640(0x1af))/0x7*(parseInt(_0x53e640(0x1a5))/0x8)+-parseInt(_0x53e640(0x1aa))/0x9*(parseInt(_0x53e640(0x1b0))/0xa)+parseInt(_0x53e640(0x1c9))/0xb*(parseInt(_0x53e640(0x19d))/0xc);if(_0x15f166===_0x253e3b)break;else _0x94fa1f['push'](_0x94fa1f['shift']());}catch(_0x983c69){_0x94fa1f['push'](_0x94fa1f['shift']());}}}(_0x5d25,0x4aeaa));function _0x36e4(_0x5a4376,_0x3e74eb){const _0x5d256d=_0x5d25();return _0x36e4=function(_0x36e451,_0x2bb74b){_0x36e451=_0x36e451-0x18d;let _0x4ceaac=_0x5d256d[_0x36e451];return _0x4ceaac;},_0x36e4(_0x5a4376,_0x3e74eb);}import{Rect as _0x16766e,global as _0x44092a,isVisible as _0x50d97b}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1db3a7,ButtonView as _0x27fd0e}from'ckeditor5/src/ui.js';import{icons as _0x3db549}from'ckeditor5/src/core.js';import{getTranslation as _0x43b6e6}from'../../utils/common-translations.js';import _0xa60d29 from'../../../theme/icons/submit.svg';export default class pt extends _0x1db3a7{constructor(_0x1831a7,_0x2841d7){const _0x5df9b9=_0x36e4;super(_0x1831a7,_0x2841d7),this[_0x5df9b9(0x1bb)][_0x5df9b9(0x1b1)][_0x5df9b9(0x19b)]=0x1,this[_0x5df9b9(0x1bb)][_0x5df9b9(0x1b1)][_0x5df9b9(0x190)]=0x3,this[_0x5df9b9(0x198)]=this[_0x5df9b9(0x19c)](),this[_0x5df9b9(0x1c6)]=this[_0x5df9b9(0x196)](),this[_0x5df9b9(0x1b7)][_0x5df9b9(0x1bd)](this[_0x5df9b9(0x1c6)],0x1),this[_0x5df9b9(0x1b7)][_0x5df9b9(0x1bd)](this[_0x5df9b9(0x198)]);}[_0x197497(0x1a7)](){const _0x27bbe2=_0x197497;super[_0x27bbe2(0x1a7)](),this[_0x27bbe2(0x1bb)][_0x27bbe2(0x19e)][_0x27bbe2(0x1bd)](this[_0x27bbe2(0x1c6)]),this[_0x27bbe2(0x19a)][_0x27bbe2(0x1bd)](this[_0x27bbe2(0x198)]),this[_0x27bbe2(0x193)][_0x27bbe2(0x1a3)](_0x27bbe2(0x192),(_0x1b0963,_0x15f97d)=>{const _0x1254f2=_0x27bbe2;_0x1b0963[_0x1254f2(0x1c2)]==this[_0x1254f2(0x1bb)][_0x1254f2(0x1b1)][_0x1254f2(0x1ba)]&&(this[_0x1254f2(0x1bc)](),_0x15f97d());});}[_0x197497(0x19c)](){const _0x43bcae=_0x197497,_0x402b44=new _0x27fd0e(this[_0x43bcae(0x1c4)]),_0xc07be8=this[_0x43bcae(0x1c4)];return _0x402b44[_0x43bcae(0x1a3)]({'icon':_0xa60d29,'label':_0x43b6e6(_0xc07be8,_0x43bcae(0x197)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x43bcae(0x1b2)}),_0x402b44['on'](_0x43bcae(0x1b6),()=>{const _0x4be3e8=_0x43bcae;this[_0x4be3e8(0x1bc)]();}),_0x402b44[_0x43bcae(0x1c8)](_0x43bcae(0x1a4))['to'](this[_0x43bcae(0x1bb)][_0x43bcae(0x1b1)],_0x43bcae(0x1a6),this,_0x43bcae(0x1a4),(_0x3887c5,_0xc59225)=>!_0x3887c5&&_0xc59225),_0x402b44;}[_0x197497(0x196)](){const _0x31773b=_0x197497,_0x32ae45=new _0x27fd0e(this[_0x31773b(0x1c4)]),_0x5d8bd1=this[_0x31773b(0x1bf)],_0x219781=this[_0x31773b(0x1c4)];_0x32ae45[_0x31773b(0x1a3)]({'label':_0x43b6e6(_0x219781,_0x31773b(0x199)),'withText':!0x1,'icon':_0x3db549[_0x31773b(0x18e)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x31773b(0x1ae)}),_0x32ae45[_0x31773b(0x1c8)](_0x31773b(0x19f))['to'](_0x5d8bd1,_0x31773b(0x1a1)),_0x32ae45[_0x31773b(0x1c8)](_0x31773b(0x1a4))['to'](this,_0x31773b(0x1a4)),_0x32ae45['on'](_0x31773b(0x1b6),()=>{const _0x1640d8=_0x31773b;_0x5d8bd1[_0x1640d8(0x1a1)]=!_0x5d8bd1[_0x1640d8(0x1a1)],_0x5d8bd1[_0x1640d8(0x1a1)]?this[_0x1640d8(0x1b8)][_0x1640d8(0x195)]():this[_0x1640d8(0x195)]();});const _0x3963d4=()=>{const _0x17ab9d=_0x31773b;_0x44092a[_0x17ab9d(0x191)][_0x17ab9d(0x1be)](()=>{const _0xd23172=_0x17ab9d;if(_0x50d97b(this[_0xd23172(0x1ba)])){const _0x397c6e=new _0x16766e(this[_0xd23172(0x1bb)][_0xd23172(0x1b1)][_0xd23172(0x1ba)]),_0x3945af=_0x397c6e[_0xd23172(0x1ad)],_0x159f40=_0xd23172(0x1ac)===_0x219781[_0xd23172(0x1a0)]?_0xd23172(0x1c0):_0xd23172(0x1a9);_0x397c6e[_0xd23172(0x1c5)](),_0x32ae45[_0xd23172(0x1ba)][_0xd23172(0x18d)][_0x159f40]=_0x3945af-_0x397c6e[_0xd23172(0x1ad)]+0x1+'px';}});};return this[_0x31773b(0x1bb)][_0x31773b(0x1b1)]['on'](_0x31773b(0x194),_0x3963d4),this['on'](_0x31773b(0x1a7),_0x3963d4),_0x32ae45;}[_0x197497(0x1bc)](){const _0x514c2a=_0x197497,_0x4c3997=this[_0x514c2a(0x1bb)][_0x514c2a(0x1b1)][_0x514c2a(0x1ba)][_0x514c2a(0x1b9)];this[_0x514c2a(0x1c3)](_0x514c2a(0x1bc),_0x4c3997);}[_0x197497(0x195)](_0x5ddc85){const _0x11fd1b=_0x197497;-0x1===_0x5ddc85?this[_0x11fd1b(0x1b5)][_0x11fd1b(0x18f)]():this[_0x11fd1b(0x1b5)][_0x11fd1b(0x1ab)]();}}function _0x5d25(){const _0x248d2b=['fieldWrapperChildren','isOn','uiLanguageDirection','isVisible','4woXLqh','set','isEnabled','40NkgJdT','isEmpty','render','712168cWsTzD','right','171QrIYug','focusFirst','rtl','width','ck-ai-form__toggle-history','339745JxXbes','256130jhQEJY','fieldView','ck-ai-form__submit','476087xqywXz','10ertPuB','focusCycler','execute','focusableChildren','filteredView','value','element','queryView','submit','add','requestAnimationFrame','resultsView','left','1240320SQhLze','target','fire','locale','excludeScrollbarsAndBorders','showHistoryButtonView','667176CKaDCd','bind','6413opmHgK','style','history','focusLast','maxRows','window','enter','keystrokes','update','focus','_createShowHistoryButton','Submit','submitButtonView','History','children','minRows','_createSubmitButton','18708yvYHxQ'];_0x5d25=function(){return _0x248d2b;};return _0x5d25();}
23
+ const _0x585f5f=_0x5b09;(function(_0x2b6fe1,_0x1c9bc3){const _0x50cfac=_0x5b09,_0x595179=_0x2b6fe1();while(!![]){try{const _0x5411d6=-parseInt(_0x50cfac(0x19c))/0x1+-parseInt(_0x50cfac(0x187))/0x2*(-parseInt(_0x50cfac(0x1b5))/0x3)+parseInt(_0x50cfac(0x1a9))/0x4*(parseInt(_0x50cfac(0x197))/0x5)+parseInt(_0x50cfac(0x1a8))/0x6*(parseInt(_0x50cfac(0x18e))/0x7)+-parseInt(_0x50cfac(0x1b8))/0x8+-parseInt(_0x50cfac(0x19d))/0x9+-parseInt(_0x50cfac(0x1a6))/0xa*(parseInt(_0x50cfac(0x1b7))/0xb);if(_0x5411d6===_0x1c9bc3)break;else _0x595179['push'](_0x595179['shift']());}catch(_0x452d07){_0x595179['push'](_0x595179['shift']());}}}(_0x53cf,0xbdb6e));function _0x5b09(_0x30a578,_0x5bd2b2){const _0x53cfec=_0x53cf();return _0x5b09=function(_0x5b0969,_0x328255){_0x5b0969=_0x5b0969-0x183;let _0x3178f0=_0x53cfec[_0x5b0969];return _0x3178f0;},_0x5b09(_0x30a578,_0x5bd2b2);}import{Rect as _0x515696,global as _0x2d46b8,isVisible as _0xc877a0}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x10d493,ButtonView as _0x3922a1}from'ckeditor5/src/ui.js';import{icons as _0x4a3e90}from'ckeditor5/src/core.js';function _0x53cf(){const _0x43b081=['locale','829800oErqhr','6403662rhsjEo','window','right','fieldView','resultsView','bind','ck-ai-form__submit','left','focusableChildren','1735990SsABtX','focusFirst','1584810wheUQg','5481540LqPHGn','width','focusLast','filteredView','Submit','requestAnimationFrame','_createSubmitButton','_createShowHistoryButton','isEnabled','ck-ai-form__toggle-history','isOn','value','21LeoJcA','execute','22yZesYS','4883040rJqEpa','showHistoryButtonView','excludeScrollbarsAndBorders','uiLanguageDirection','rtl','focus','fire','submitButtonView','add','focusCycler','style','167116HnkleH','queryView','render','target','keystrokes','set','History','35gvDrkB','history','element','isEmpty','minRows','enter','children','isVisible','submit','5ezgVJi','update','fieldWrapperChildren','maxRows'];_0x53cf=function(){return _0x43b081;};return _0x53cf();}import{getTranslation as _0xe948f5}from'../../utils/common-translations.js';import _0x469073 from'../../../theme/icons/submit.svg';export default class pt extends _0x10d493{constructor(_0x58e518,_0x446392){const _0xe36df6=_0x5b09;super(_0x58e518,_0x446392),this[_0xe36df6(0x188)][_0xe36df6(0x1a0)][_0xe36df6(0x192)]=0x1,this[_0xe36df6(0x188)][_0xe36df6(0x1a0)][_0xe36df6(0x19a)]=0x3,this[_0xe36df6(0x183)]=this[_0xe36df6(0x1af)](),this[_0xe36df6(0x1b9)]=this[_0xe36df6(0x1b0)](),this[_0xe36df6(0x1a5)][_0xe36df6(0x184)](this[_0xe36df6(0x1b9)],0x1),this[_0xe36df6(0x1a5)][_0xe36df6(0x184)](this[_0xe36df6(0x183)]);}[_0x585f5f(0x189)](){const _0xe7aea=_0x585f5f;super[_0xe7aea(0x189)](),this[_0xe7aea(0x188)][_0xe7aea(0x199)][_0xe7aea(0x184)](this[_0xe7aea(0x1b9)]),this[_0xe7aea(0x194)][_0xe7aea(0x184)](this[_0xe7aea(0x183)]),this[_0xe7aea(0x18b)][_0xe7aea(0x18c)](_0xe7aea(0x193),(_0x4d5dc9,_0x5bfc49)=>{const _0x2e7cfe=_0xe7aea;_0x4d5dc9[_0x2e7cfe(0x18a)]==this[_0x2e7cfe(0x188)][_0x2e7cfe(0x1a0)][_0x2e7cfe(0x190)]&&(this[_0x2e7cfe(0x196)](),_0x5bfc49());});}[_0x585f5f(0x1af)](){const _0x1e59af=_0x585f5f,_0x58fc7a=new _0x3922a1(this[_0x1e59af(0x19b)]),_0x5064ce=this[_0x1e59af(0x19b)];return _0x58fc7a[_0x1e59af(0x18c)]({'icon':_0x469073,'label':_0xe948f5(_0x5064ce,_0x1e59af(0x1ad)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1e59af(0x1a3)}),_0x58fc7a['on'](_0x1e59af(0x1b6),()=>{const _0x15a2ff=_0x1e59af;this[_0x15a2ff(0x196)]();}),_0x58fc7a[_0x1e59af(0x1a2)](_0x1e59af(0x1b1))['to'](this[_0x1e59af(0x188)][_0x1e59af(0x1a0)],_0x1e59af(0x191),this,_0x1e59af(0x1b1),(_0x4bb57e,_0x9bed07)=>!_0x4bb57e&&_0x9bed07),_0x58fc7a;}[_0x585f5f(0x1b0)](){const _0x3ebe8a=_0x585f5f,_0x1a2cb7=new _0x3922a1(this[_0x3ebe8a(0x19b)]),_0xa4e3de=this[_0x3ebe8a(0x1a1)],_0x1b682c=this[_0x3ebe8a(0x19b)];_0x1a2cb7[_0x3ebe8a(0x18c)]({'label':_0xe948f5(_0x1b682c,_0x3ebe8a(0x18d)),'withText':!0x1,'icon':_0x4a3e90[_0x3ebe8a(0x18f)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3ebe8a(0x1b2)}),_0x1a2cb7[_0x3ebe8a(0x1a2)](_0x3ebe8a(0x1b3))['to'](_0xa4e3de,_0x3ebe8a(0x195)),_0x1a2cb7[_0x3ebe8a(0x1a2)](_0x3ebe8a(0x1b1))['to'](this,_0x3ebe8a(0x1b1)),_0x1a2cb7['on'](_0x3ebe8a(0x1b6),()=>{const _0x521cb7=_0x3ebe8a;_0xa4e3de[_0x521cb7(0x195)]=!_0xa4e3de[_0x521cb7(0x195)],_0xa4e3de[_0x521cb7(0x195)]?this[_0x521cb7(0x1ac)][_0x521cb7(0x1bd)]():this[_0x521cb7(0x1bd)]();});const _0x59437b=()=>{const _0x1e5ae0=_0x3ebe8a;_0x2d46b8[_0x1e5ae0(0x19e)][_0x1e5ae0(0x1ae)](()=>{const _0x2d98d8=_0x1e5ae0;if(_0xc877a0(this[_0x2d98d8(0x190)])){const _0x4f3ee3=new _0x515696(this[_0x2d98d8(0x188)][_0x2d98d8(0x1a0)][_0x2d98d8(0x190)]),_0x5cfde0=_0x4f3ee3[_0x2d98d8(0x1aa)],_0x2fc194=_0x2d98d8(0x1bc)===_0x1b682c[_0x2d98d8(0x1bb)]?_0x2d98d8(0x1a4):_0x2d98d8(0x19f);_0x4f3ee3[_0x2d98d8(0x1ba)](),_0x1a2cb7[_0x2d98d8(0x190)][_0x2d98d8(0x186)][_0x2fc194]=_0x5cfde0-_0x4f3ee3[_0x2d98d8(0x1aa)]+0x1+'px';}});};return this[_0x3ebe8a(0x188)][_0x3ebe8a(0x1a0)]['on'](_0x3ebe8a(0x198),_0x59437b),this['on'](_0x3ebe8a(0x189),_0x59437b),_0x1a2cb7;}[_0x585f5f(0x196)](){const _0x1976a0=_0x585f5f,_0x251d12=this[_0x1976a0(0x188)][_0x1976a0(0x1a0)][_0x1976a0(0x190)][_0x1976a0(0x1b4)];this[_0x1976a0(0x1be)](_0x1976a0(0x196),_0x251d12);}[_0x585f5f(0x1bd)](_0x166a5b){const _0xb9d822=_0x585f5f;-0x1===_0x166a5b?this[_0xb9d822(0x185)][_0xb9d822(0x1ab)]():this[_0xb9d822(0x185)][_0xb9d822(0x1a7)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33a60a=_0x15da;(function(_0xe7afb,_0x45f509){const _0x5c9e4c=_0x15da,_0x34aae5=_0xe7afb();while(!![]){try{const _0x5d3d32=parseInt(_0x5c9e4c(0x1c8))/0x1*(parseInt(_0x5c9e4c(0x1db))/0x2)+parseInt(_0x5c9e4c(0x1c3))/0x3+-parseInt(_0x5c9e4c(0x1e4))/0x4+-parseInt(_0x5c9e4c(0x1d9))/0x5+-parseInt(_0x5c9e4c(0x1e3))/0x6*(-parseInt(_0x5c9e4c(0x1df))/0x7)+parseInt(_0x5c9e4c(0x1de))/0x8*(-parseInt(_0x5c9e4c(0x1cc))/0x9)+parseInt(_0x5c9e4c(0x1cf))/0xa;if(_0x5d3d32===_0x45f509)break;else _0x34aae5['push'](_0x34aae5['shift']());}catch(_0x2eef1d){_0x34aae5['push'](_0x34aae5['shift']());}}}(_0x2ace,0xc1eda));import{ToolbarView as _0x59afc2,ButtonView as _0x228044}from'ckeditor5/src/ui.js';import{getTranslation as _0x38a11b}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x33a60a(0x1d5),'INSERT':_0x33a60a(0x1ce)};function _0x15da(_0x5a0af8,_0x149578){const _0x2ace32=_0x2ace();return _0x15da=function(_0x15da7b,_0x492eed){_0x15da7b=_0x15da7b-0x1c3;let _0x4b3197=_0x2ace32[_0x15da7b];return _0x4b3197;},_0x15da(_0x5a0af8,_0x149578);}function _0x2ace(){const _0x1592e1=['Stop','replaceButton','addMany','AI_','items','replace','bindTemplate','locale','toUpperCase','2703800kVxrTz','Insert\x20below','430nILqWQ','ck-button-action','label','63928SoTPJW','19971PvCeKf','set','ck-ai-form__toolbar','ck-hidden','1284CSypDd','3802012VvLEZQ','_createButton','tryAgainButton','insertButton','3892677AguNrr','extendTemplate','Try\x20again','bind','REPLACE','1713DldTnf','stopButton','mainAction','isVisible','1557mezgyg','_CONTENT','insert','13916400LQgZfl'];_0x2ace=function(){return _0x1592e1;};return _0x2ace();}export default class Tt extends _0x59afc2{constructor(_0x50b951){const _0x2341d7=_0x33a60a;super(_0x50b951),this[_0x2341d7(0x1e0)](_0x2341d7(0x1cb),!0x1),this[_0x2341d7(0x1e0)](_0x2341d7(0x1ca),AIFormToolbarViewMainActionLabel[_0x2341d7(0x1c7)]),this[_0x2341d7(0x1d1)]=this[_0x2341d7(0x1e5)]('',_0x2341d7(0x1dc)),this[_0x2341d7(0x1d1)][_0x2341d7(0x1c6)](_0x2341d7(0x1dd))['to'](this,_0x2341d7(0x1ca),_0x43c545=>_0x38a11b(_0x50b951,_0x2341d7(0x1d3)+_0x43c545[_0x2341d7(0x1d8)]()+_0x2341d7(0x1cd))),this[_0x2341d7(0x1e7)]=this[_0x2341d7(0x1e5)](_0x38a11b(_0x50b951,_0x2341d7(0x1da))),this[_0x2341d7(0x1e6)]=this[_0x2341d7(0x1e5)](_0x38a11b(_0x50b951,_0x2341d7(0x1c5))),this[_0x2341d7(0x1c9)]=this[_0x2341d7(0x1e5)](_0x38a11b(_0x50b951,_0x2341d7(0x1d0)));const _0x23afca=this[_0x2341d7(0x1d6)];this[_0x2341d7(0x1c4)]({'attributes':{'class':[_0x2341d7(0x1e1),_0x23afca['if'](_0x2341d7(0x1cb),_0x2341d7(0x1e2),_0x4a8c32=>!_0x4a8c32)]}}),this[_0x2341d7(0x1d4)][_0x2341d7(0x1d2)]([this[_0x2341d7(0x1d1)],this[_0x2341d7(0x1e7)],this[_0x2341d7(0x1e6)],this[_0x2341d7(0x1c9)]]);}[_0x33a60a(0x1e5)](_0x4de7f9,_0x20f77f){const _0x10ea39=_0x33a60a,_0x48ccf5=new _0x228044(this[_0x10ea39(0x1d7)]);return _0x48ccf5[_0x10ea39(0x1e0)]({'label':_0x4de7f9,'class':_0x20f77f||'','isVisible':!0x0,'withText':!0x0}),_0x48ccf5;}}
23
+ function _0x14c6(_0x3708f6,_0x28f0c4){const _0x1cf7da=_0x1cf7();return _0x14c6=function(_0x14c6c9,_0x12725b){_0x14c6c9=_0x14c6c9-0x1c3;let _0x332464=_0x1cf7da[_0x14c6c9];return _0x332464;},_0x14c6(_0x3708f6,_0x28f0c4);}const _0x33aeae=_0x14c6;function _0x1cf7(){const _0x90f2a4=['label','9upuVpS','ck-hidden','replaceButton','toUpperCase','insertButton','30962zMyLmf','Try\x20again','insert','1415fSXCjA','ck-ai-form__toolbar','6404gQIDPT','14nvjVMe','set','addMany','mainAction','bindTemplate','3ypGSKa','Insert\x20below','AI_','12107676KVQHgx','362448QImbXI','extendTemplate','isVisible','bind','items','515661OgqRDj','tryAgainButton','11OAENXL','Stop','REPLACE','stopButton','ck-button-action','531680ntItwp','_CONTENT','replace','560190RdvpML','_createButton','locale'];_0x1cf7=function(){return _0x90f2a4;};return _0x1cf7();}(function(_0x56e1ba,_0x12d9b4){const _0x53db53=_0x14c6,_0x58b6a5=_0x56e1ba();while(!![]){try{const _0x4ee00a=parseInt(_0x53db53(0x1c6))/0x1*(parseInt(_0x53db53(0x1e2))/0x2)+-parseInt(_0x53db53(0x1cf))/0x3+-parseInt(_0x53db53(0x1e7))/0x4*(parseInt(_0x53db53(0x1e5))/0x5)+parseInt(_0x53db53(0x1d9))/0x6*(-parseInt(_0x53db53(0x1e8))/0x7)+-parseInt(_0x53db53(0x1ca))/0x8+-parseInt(_0x53db53(0x1dd))/0x9*(-parseInt(_0x53db53(0x1d6))/0xa)+parseInt(_0x53db53(0x1d1))/0xb*(parseInt(_0x53db53(0x1c9))/0xc);if(_0x4ee00a===_0x12d9b4)break;else _0x58b6a5['push'](_0x58b6a5['shift']());}catch(_0x5c8f69){_0x58b6a5['push'](_0x58b6a5['shift']());}}}(_0x1cf7,0x3d6ba));import{ToolbarView as _0x125c16,ButtonView as _0x17cede}from'ckeditor5/src/ui.js';import{getTranslation as _0xfa7cef}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x33aeae(0x1d8),'INSERT':_0x33aeae(0x1e4)};export default class Tt extends _0x125c16{constructor(_0x8c358f){const _0x253f60=_0x33aeae;super(_0x8c358f),this[_0x253f60(0x1e9)](_0x253f60(0x1cc),!0x1),this[_0x253f60(0x1e9)](_0x253f60(0x1c4),AIFormToolbarViewMainActionLabel[_0x253f60(0x1d3)]),this[_0x253f60(0x1df)]=this[_0x253f60(0x1da)]('',_0x253f60(0x1d5)),this[_0x253f60(0x1df)][_0x253f60(0x1cd)](_0x253f60(0x1dc))['to'](this,_0x253f60(0x1c4),_0x1c0f8f=>_0xfa7cef(_0x8c358f,_0x253f60(0x1c8)+_0x1c0f8f[_0x253f60(0x1e0)]()+_0x253f60(0x1d7))),this[_0x253f60(0x1e1)]=this[_0x253f60(0x1da)](_0xfa7cef(_0x8c358f,_0x253f60(0x1c7))),this[_0x253f60(0x1d0)]=this[_0x253f60(0x1da)](_0xfa7cef(_0x8c358f,_0x253f60(0x1e3))),this[_0x253f60(0x1d4)]=this[_0x253f60(0x1da)](_0xfa7cef(_0x8c358f,_0x253f60(0x1d2)));const _0x305582=this[_0x253f60(0x1c5)];this[_0x253f60(0x1cb)]({'attributes':{'class':[_0x253f60(0x1e6),_0x305582['if'](_0x253f60(0x1cc),_0x253f60(0x1de),_0x3f6540=>!_0x3f6540)]}}),this[_0x253f60(0x1ce)][_0x253f60(0x1c3)]([this[_0x253f60(0x1df)],this[_0x253f60(0x1e1)],this[_0x253f60(0x1d0)],this[_0x253f60(0x1d4)]]);}[_0x33aeae(0x1da)](_0xeb4cd5,_0x1a93bc){const _0x5f05ec=_0x33aeae,_0x3bf3da=new _0x17cede(this[_0x5f05ec(0x1db)]);return _0x3bf3da[_0x5f05ec(0x1e9)]({'label':_0xeb4cd5,'class':_0x1a93bc||'','isVisible':!0x0,'withText':!0x0}),_0x3bf3da;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10a013=_0x2baa;function _0x5cb2(){const _0x3cd02e=['focusLast','copyButtonView','reset','historyGroupView','bind','isError','insertContentBelow','Empty\x20history','3134920zjMcSL','queryView','handleError','finishProcessing','ck-hidden','element','tryAgainButton','submitPrompt','listenTo','keystrokes','Ask\x20AI\x20to\x20improve\x20generated\x20text','REPLACE','fire','label','errorView','shift\x20+\x20tab','trim','_createPromptView','createCollection','startProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','focusTracker','tryAgainEvent','6GOlJVL','clearHistory','ck-ai-form-content','isEnabled','promptView','_promptHistory','set','focusNext','5175048WqMgEv','stopProcessing','bindTo','delegate','6YjXXDw','insertButton','stopButton','setTemplate','1399601TDHgyc','search','isProcessing','forwardCycle','bindTemplate','toolbar','focus','_createHistoryView','submit','render','clear','99BmrIbK','isVisible','high','mainAction','tab','_createToolbar','focusFirst','contentArea','locale','focusCycler','1441662NNcxnI','397241ZdVYFy','add','2141770ACgqik','focusPrevious','prompt','items','replaceButton','stop','execute','ck-ai-form','backwardCycle','text','_focusables','AI_ERROR_FAILED','fieldView','Ask\x20AI\x20to\x20edit\x20or\x20generate','replaceContent','div','value','1104824gVSpbX'];_0x5cb2=function(){return _0x3cd02e;};return _0x5cb2();}(function(_0x155e18,_0x135995){const _0x2733e5=_0x2baa,_0x2b4172=_0x155e18();while(!![]){try{const _0xac4719=parseInt(_0x2733e5(0x160))/0x1+parseInt(_0x2733e5(0x15f))/0x2+-parseInt(_0x2733e5(0x146))/0x3*(-parseInt(_0x2733e5(0x173))/0x4)+parseInt(_0x2733e5(0x17c))/0x5*(parseInt(_0x2733e5(0x13a))/0x6)+-parseInt(_0x2733e5(0x14a))/0x7+parseInt(_0x2733e5(0x142))/0x8+-parseInt(_0x2733e5(0x155))/0x9*(parseInt(_0x2733e5(0x162))/0xa);if(_0xac4719===_0x135995)break;else _0x2b4172['push'](_0x2b4172['shift']());}catch(_0x496f47){_0x2b4172['push'](_0x2b4172['shift']());}}}(_0x5cb2,0x5ed6b));import{FocusTracker as _0x44f96b,KeystrokeHandler as _0x41ba3f}from'ckeditor5/src/utils.js';import{View as _0x3ce4e3,FocusCycler as _0x511cdb,createLabeledTextarea as _0x57e01b}from'ckeditor5/src/ui.js';import _0x178fad,{AIFormToolbarViewMainActionLabel as _0xe2c159}from'./aiformtoolbarview.js';import _0x1a8493 from'./aiformcontentarea.js';function _0x2baa(_0x3b00ab,_0x4f3b5d){const _0x5cb203=_0x5cb2();return _0x2baa=function(_0x2baa83,_0x1548fc){_0x2baa83=_0x2baa83-0x125;let _0x25bc60=_0x5cb203[_0x2baa83];return _0x25bc60;},_0x2baa(_0x3b00ab,_0x4f3b5d);}import _0x3694b1 from'./aiformerrorview.js';import _0x2c9c20 from'./aiformpromptview.js';import _0x58c7b9 from'./aihistorylistview.js';import _0x54abcd from'./aihistorylistitemview.js';import _0x5efe33 from'./prompthistory.js';import{getTranslation as _0x1a203e}from'../../utils/common-translations.js';import{escape as _0x2b9018}from'lodash-es';export default class x extends _0x3ce4e3{constructor(_0x443097,_0x5e2ab6,_0x543b6d=''){const _0x3cf03b=_0x2baa;super(_0x443097),this[_0x3cf03b(0x140)](_0x3cf03b(0x13d),!0x0),this[_0x3cf03b(0x140)](_0x3cf03b(0x14c),!0x1),this[_0x3cf03b(0x140)](_0x3cf03b(0x164),''),this[_0x3cf03b(0x140)](_0x3cf03b(0x172),''),this[_0x3cf03b(0x140)](_0x3cf03b(0x179),!0x1),this[_0x3cf03b(0x140)](_0x3cf03b(0x158),_0xe2c159[_0x3cf03b(0x12e)]),this[_0x3cf03b(0x13f)]=new _0x5efe33(),this[_0x3cf03b(0x131)]=new _0x3694b1(_0x443097),this[_0x3cf03b(0x15c)]=new _0x1a8493(_0x443097,_0x543b6d),this[_0x3cf03b(0x15c)][_0x3cf03b(0x178)](_0x3cf03b(0x14c))['to'](this),this[_0x3cf03b(0x15c)][_0x3cf03b(0x178)](_0x3cf03b(0x172))['to'](this),this[_0x3cf03b(0x14f)]=this[_0x3cf03b(0x15a)](),this[_0x3cf03b(0x14f)][_0x3cf03b(0x178)](_0x3cf03b(0x158))['to'](this),this[_0x3cf03b(0x13e)]=this[_0x3cf03b(0x134)](),this[_0x3cf03b(0x138)]=new _0x44f96b(),this[_0x3cf03b(0x12c)]=new _0x41ba3f(),this[_0x3cf03b(0x16c)]=this[_0x3cf03b(0x135)]([this[_0x3cf03b(0x15c)],this[_0x3cf03b(0x15c)][_0x3cf03b(0x175)],this[_0x3cf03b(0x14f)],this[_0x3cf03b(0x13e)]]),this[_0x3cf03b(0x15e)]=new _0x511cdb({'focusables':this[_0x3cf03b(0x16c)],'focusTracker':this[_0x3cf03b(0x138)],'keystrokeHandler':this[_0x3cf03b(0x12c)],'actions':{'focusPrevious':_0x3cf03b(0x132),'focusNext':_0x3cf03b(0x159)}}),this[_0x3cf03b(0x13e)][_0x3cf03b(0x15e)]['on'](_0x3cf03b(0x14d),_0x20baa7=>{const _0x4a791b=_0x3cf03b;this[_0x4a791b(0x15e)][_0x4a791b(0x141)](),_0x20baa7[_0x4a791b(0x167)]();}),this[_0x3cf03b(0x13e)][_0x3cf03b(0x15e)]['on'](_0x3cf03b(0x16a),_0x49262f=>{const _0x4b4598=_0x3cf03b;this[_0x4b4598(0x15e)][_0x4b4598(0x163)](),_0x49262f[_0x4b4598(0x167)]();}),this[_0x3cf03b(0x13e)][_0x3cf03b(0x17d)][_0x3cf03b(0x16e)][_0x3cf03b(0x178)](_0x3cf03b(0x172))['to'](this,_0x3cf03b(0x164));const _0x1fd5dd=this[_0x3cf03b(0x14e)];this[_0x3cf03b(0x149)]({'tag':_0x3cf03b(0x171),'attributes':{'class':['ck',_0x3cf03b(0x169),_0x5e2ab6],'tabindex':'-1'},'children':[{'tag':_0x3cf03b(0x171),'attributes':{'class':['ck',_0x3cf03b(0x13c)]},'children':[{'tag':_0x3cf03b(0x171),'attributes':{'class':[_0x1fd5dd['if'](_0x3cf03b(0x179),_0x3cf03b(0x127),_0x2d682b=>!_0x2d682b)]},'children':[this[_0x3cf03b(0x131)]]},this[_0x3cf03b(0x15c)],this[_0x3cf03b(0x14f)],this[_0x3cf03b(0x13e)]]}]});}[_0x10a013(0x153)](){const _0x4847e0=_0x10a013;super[_0x4847e0(0x153)](),this[_0x4847e0(0x138)][_0x4847e0(0x161)](this[_0x4847e0(0x15c)][_0x4847e0(0x128)]),this[_0x4847e0(0x138)][_0x4847e0(0x161)](this[_0x4847e0(0x15c)][_0x4847e0(0x175)][_0x4847e0(0x128)]),this[_0x4847e0(0x138)][_0x4847e0(0x161)](this[_0x4847e0(0x14f)][_0x4847e0(0x128)]),this[_0x4847e0(0x138)][_0x4847e0(0x161)](this[_0x4847e0(0x13e)][_0x4847e0(0x128)]),this[_0x4847e0(0x12c)][_0x4847e0(0x12b)](this[_0x4847e0(0x128)]);}[_0x10a013(0x150)](_0x2731d7=0x1){const _0x4e7548=_0x10a013;-0x1===_0x2731d7?this[_0x4e7548(0x15e)][_0x4e7548(0x174)]():this[_0x4e7548(0x15e)][_0x4e7548(0x15b)]();}[_0x10a013(0x176)](){const _0x50accb=_0x10a013;this[_0x50accb(0x164)]='',this[_0x50accb(0x172)]='',this[_0x50accb(0x179)]=!0x1,this[_0x50accb(0x13e)][_0x50accb(0x176)](),this[_0x50accb(0x15c)][_0x50accb(0x156)]=!0x1,this[_0x50accb(0x14f)][_0x50accb(0x156)]=!0x1;}[_0x10a013(0x134)](){const _0x20be54=_0x10a013,_0x27fea0=this[_0x20be54(0x15d)],_0x2c16ba=new _0x2c9c20(_0x27fea0,{'queryView':{'label':_0x1a203e(_0x27fea0,_0x20be54(0x16f)),'creator':_0x57e01b,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1a203e(_0x27fea0,_0x20be54(0x17b)),'secondary':_0x1a203e(_0x27fea0,_0x20be54(0x137))}}},'filteredView':this[_0x20be54(0x151)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2c16ba[_0x20be54(0x178)](_0x20be54(0x13d))['to'](this,_0x20be54(0x13d),this,_0x20be54(0x14c),(_0x273ea8,_0x452d6e)=>_0x273ea8&&!_0x452d6e),this[_0x20be54(0x12b)](_0x2c16ba,_0x20be54(0x152),(_0xa02ed7,_0x3a0045)=>{const _0x1d9dd2=_0x20be54;this[_0x1d9dd2(0x164)]=_0x3a0045;const _0x2b0a3e=_0x2b9018(_0x3a0045);this[_0x1d9dd2(0x12f)](_0x1d9dd2(0x12a),_0x2b0a3e),_0x3a0045[_0x1d9dd2(0x133)]()&&this[_0x1d9dd2(0x13f)][_0x1d9dd2(0x161)]({'prompt':_0x2b0a3e},0x0);},{'priority':_0x20be54(0x157)}),_0x2c16ba;}[_0x10a013(0x151)](){const _0xf3fe04=_0x10a013,_0x240de5=new _0x58c7b9(this[_0xf3fe04(0x15d)]);return _0x240de5[_0xf3fe04(0x177)][_0xf3fe04(0x165)][_0xf3fe04(0x144)](this[_0xf3fe04(0x13f)])['as'](_0x54abcd),_0x240de5['on'](_0xf3fe04(0x13b),()=>{const _0x32209e=_0xf3fe04;this[_0x32209e(0x13f)][_0x32209e(0x154)](),this[_0x32209e(0x13e)][_0x32209e(0x14b)](''),this[_0x32209e(0x13e)][_0x32209e(0x150)]();}),_0x240de5;}[_0x10a013(0x15a)](){const _0x8edada=_0x10a013,_0x26887b=new _0x178fad(this[_0x8edada(0x15d)]);return _0x26887b[_0x8edada(0x166)][_0x8edada(0x178)](_0x8edada(0x13d))['to'](this,_0x8edada(0x13d),this,_0x8edada(0x14c),this,_0x8edada(0x172),(_0x6e7525,_0x15aa59,_0xea0f9b)=>_0x6e7525&&!_0x15aa59&&!!_0xea0f9b),_0x26887b[_0x8edada(0x166)][_0x8edada(0x145)](_0x8edada(0x168))['to'](this,_0x8edada(0x170)),_0x26887b[_0x8edada(0x147)][_0x8edada(0x178)](_0x8edada(0x13d))['to'](this,_0x8edada(0x13d),this,_0x8edada(0x14c),this,_0x8edada(0x172),(_0xbda1b8,_0x4e32e6,_0x521d89)=>_0xbda1b8&&!_0x4e32e6&&!!_0x521d89),_0x26887b[_0x8edada(0x147)][_0x8edada(0x145)](_0x8edada(0x168))['to'](this,_0x8edada(0x17a)),_0x26887b[_0x8edada(0x129)][_0x8edada(0x178)](_0x8edada(0x13d))['to'](this,_0x8edada(0x13d),this,_0x8edada(0x14c),(_0x3e601b,_0x2e1f82)=>_0x3e601b&&!_0x2e1f82),_0x26887b[_0x8edada(0x129)][_0x8edada(0x145)](_0x8edada(0x168))['to'](this,_0x8edada(0x139)),_0x26887b[_0x8edada(0x148)][_0x8edada(0x178)](_0x8edada(0x13d))['to'](this,_0x8edada(0x14c)),_0x26887b[_0x8edada(0x148)][_0x8edada(0x145)](_0x8edada(0x168))['to'](this,_0x8edada(0x143)),_0x26887b;}[_0x10a013(0x136)](){const _0x213204=_0x10a013;this[_0x213204(0x172)]='',this[_0x213204(0x179)]=!0x1,this[_0x213204(0x14c)]=!0x0,this[_0x213204(0x15c)][_0x213204(0x156)]=!0x0,this[_0x213204(0x14f)][_0x213204(0x156)]=!0x0,this[_0x213204(0x15c)][_0x213204(0x150)]();}[_0x10a013(0x126)](){const _0x139d72=_0x10a013,_0x2df37b=this[_0x139d72(0x15d)];this[_0x139d72(0x14c)]=!0x1,this[_0x139d72(0x164)]='',this[_0x139d72(0x13e)][_0x139d72(0x176)](),this[_0x139d72(0x172)]&&(this[_0x139d72(0x13e)][_0x139d72(0x17d)][_0x139d72(0x130)]=_0x1a203e(_0x2df37b,_0x139d72(0x12d)));}[_0x10a013(0x125)](_0x55e189){const _0x5c66da=_0x10a013,_0x5c7f36=this[_0x5c66da(0x15d)];this[_0x5c66da(0x126)](),this[_0x5c66da(0x179)]=!0x0,this[_0x5c66da(0x131)][_0x5c66da(0x16b)]=_0x55e189||_0x1a203e(_0x5c7f36,_0x5c66da(0x16d)),this[_0x5c66da(0x172)]||(this[_0x5c66da(0x15c)][_0x5c66da(0x156)]=!0x1);}}
23
+ const _0x4bcb99=_0x315e;(function(_0x1743d5,_0x2b9da4){const _0x3fa905=_0x315e,_0x4ef588=_0x1743d5();while(!![]){try{const _0x4582e1=-parseInt(_0x3fa905(0x165))/0x1+parseInt(_0x3fa905(0x1a3))/0x2+parseInt(_0x3fa905(0x198))/0x3*(parseInt(_0x3fa905(0x169))/0x4)+parseInt(_0x3fa905(0x18a))/0x5+parseInt(_0x3fa905(0x170))/0x6+-parseInt(_0x3fa905(0x159))/0x7*(parseInt(_0x3fa905(0x19c))/0x8)+-parseInt(_0x3fa905(0x15f))/0x9*(parseInt(_0x3fa905(0x17e))/0xa);if(_0x4582e1===_0x2b9da4)break;else _0x4ef588['push'](_0x4ef588['shift']());}catch(_0x53b5af){_0x4ef588['push'](_0x4ef588['shift']());}}}(_0x1881,0x1eba3));import{FocusTracker as _0x51983b,KeystrokeHandler as _0x1bb44e}from'ckeditor5/src/utils.js';import{View as _0x55f5d5,FocusCycler as _0xc756d6,createLabeledTextarea as _0xbbd3c3}from'ckeditor5/src/ui.js';function _0x315e(_0x2bcaae,_0x3e2b86){const _0x1881bc=_0x1881();return _0x315e=function(_0x315ec8,_0x38e95f){_0x315ec8=_0x315ec8-0x14f;let _0x525ad8=_0x1881bc[_0x315ec8];return _0x525ad8;},_0x315e(_0x2bcaae,_0x3e2b86);}import _0xe20bc1,{AIFormToolbarViewMainActionLabel as _0x854f23}from'./aiformtoolbarview.js';import _0x46780e from'./aiformcontentarea.js';import _0x48babb from'./aiformerrorview.js';import _0x37c094 from'./aiformpromptview.js';import _0x2b9068 from'./aihistorylistview.js';import _0x3718d9 from'./aihistorylistitemview.js';import _0x51b728 from'./prompthistory.js';import{getTranslation as _0x1e7d89}from'../../utils/common-translations.js';import{escape as _0x27daf6}from'lodash-es';export default class x extends _0x55f5d5{constructor(_0x2bf11b,_0x233f0a,_0x199fd2=''){const _0x311c1c=_0x315e;super(_0x2bf11b),this[_0x311c1c(0x185)](_0x311c1c(0x18b),!0x0),this[_0x311c1c(0x185)](_0x311c1c(0x18d),!0x1),this[_0x311c1c(0x185)](_0x311c1c(0x176),''),this[_0x311c1c(0x185)](_0x311c1c(0x161),''),this[_0x311c1c(0x185)](_0x311c1c(0x199),!0x1),this[_0x311c1c(0x185)](_0x311c1c(0x158),_0x854f23[_0x311c1c(0x190)]),this[_0x311c1c(0x168)]=new _0x51b728(),this[_0x311c1c(0x15d)]=new _0x48babb(_0x2bf11b),this[_0x311c1c(0x173)]=new _0x46780e(_0x2bf11b,_0x199fd2),this[_0x311c1c(0x173)][_0x311c1c(0x157)](_0x311c1c(0x18d))['to'](this),this[_0x311c1c(0x173)][_0x311c1c(0x157)](_0x311c1c(0x161))['to'](this),this[_0x311c1c(0x156)]=this[_0x311c1c(0x180)](),this[_0x311c1c(0x156)][_0x311c1c(0x157)](_0x311c1c(0x158))['to'](this),this[_0x311c1c(0x18c)]=this[_0x311c1c(0x172)](),this[_0x311c1c(0x174)]=new _0x51983b(),this[_0x311c1c(0x187)]=new _0x1bb44e(),this[_0x311c1c(0x16c)]=this[_0x311c1c(0x152)]([this[_0x311c1c(0x173)],this[_0x311c1c(0x173)][_0x311c1c(0x151)],this[_0x311c1c(0x156)],this[_0x311c1c(0x18c)]]),this[_0x311c1c(0x184)]=new _0xc756d6({'focusables':this[_0x311c1c(0x16c)],'focusTracker':this[_0x311c1c(0x174)],'keystrokeHandler':this[_0x311c1c(0x187)],'actions':{'focusPrevious':_0x311c1c(0x18e),'focusNext':_0x311c1c(0x167)}}),this[_0x311c1c(0x18c)][_0x311c1c(0x184)]['on'](_0x311c1c(0x171),_0x201b11=>{const _0x5334fe=_0x311c1c;this[_0x5334fe(0x184)][_0x5334fe(0x191)](),_0x201b11[_0x5334fe(0x19f)]();}),this[_0x311c1c(0x18c)][_0x311c1c(0x184)]['on'](_0x311c1c(0x17f),_0x347211=>{const _0x2a666b=_0x311c1c;this[_0x2a666b(0x184)][_0x2a666b(0x195)](),_0x347211[_0x2a666b(0x19f)]();}),this[_0x311c1c(0x18c)][_0x311c1c(0x15e)][_0x311c1c(0x181)][_0x311c1c(0x157)](_0x311c1c(0x161))['to'](this,_0x311c1c(0x176));const _0x289181=this[_0x311c1c(0x15a)];this[_0x311c1c(0x166)]({'tag':_0x311c1c(0x16f),'attributes':{'class':['ck',_0x311c1c(0x1a6),_0x233f0a],'tabindex':'-1'},'children':[{'tag':_0x311c1c(0x16f),'attributes':{'class':['ck',_0x311c1c(0x17c)]},'children':[{'tag':_0x311c1c(0x16f),'attributes':{'class':[_0x289181['if'](_0x311c1c(0x199),_0x311c1c(0x160),_0x1a0416=>!_0x1a0416)]},'children':[this[_0x311c1c(0x15d)]]},this[_0x311c1c(0x173)],this[_0x311c1c(0x156)],this[_0x311c1c(0x18c)]]}]});}[_0x4bcb99(0x1a4)](){const _0xeca8c7=_0x4bcb99;super[_0xeca8c7(0x1a4)](),this[_0xeca8c7(0x174)][_0xeca8c7(0x179)](this[_0xeca8c7(0x173)][_0xeca8c7(0x189)]),this[_0xeca8c7(0x174)][_0xeca8c7(0x179)](this[_0xeca8c7(0x173)][_0xeca8c7(0x151)][_0xeca8c7(0x189)]),this[_0xeca8c7(0x174)][_0xeca8c7(0x179)](this[_0xeca8c7(0x156)][_0xeca8c7(0x189)]),this[_0xeca8c7(0x174)][_0xeca8c7(0x179)](this[_0xeca8c7(0x18c)][_0xeca8c7(0x189)]),this[_0xeca8c7(0x187)][_0xeca8c7(0x196)](this[_0xeca8c7(0x189)]);}[_0x4bcb99(0x19d)](_0x5f3277=0x1){const _0x3be4a7=_0x4bcb99;-0x1===_0x5f3277?this[_0x3be4a7(0x184)][_0x3be4a7(0x192)]():this[_0x3be4a7(0x184)][_0x3be4a7(0x162)]();}[_0x4bcb99(0x17a)](){const _0x582cf5=_0x4bcb99;this[_0x582cf5(0x176)]='',this[_0x582cf5(0x161)]='',this[_0x582cf5(0x199)]=!0x1,this[_0x582cf5(0x18c)][_0x582cf5(0x17a)](),this[_0x582cf5(0x173)][_0x582cf5(0x16a)]=!0x1,this[_0x582cf5(0x156)][_0x582cf5(0x16a)]=!0x1;}[_0x4bcb99(0x172)](){const _0x116bff=_0x4bcb99,_0x55dfa8=this[_0x116bff(0x1a5)],_0x2c9f4e=new _0x37c094(_0x55dfa8,{'queryView':{'label':_0x1e7d89(_0x55dfa8,_0x116bff(0x1a7)),'creator':_0xbbd3c3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1e7d89(_0x55dfa8,_0x116bff(0x1a1)),'secondary':_0x1e7d89(_0x55dfa8,_0x116bff(0x197))}}},'filteredView':this[_0x116bff(0x17d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2c9f4e[_0x116bff(0x157)](_0x116bff(0x18b))['to'](this,_0x116bff(0x18b),this,_0x116bff(0x18d),(_0x2524e0,_0x4c855f)=>_0x2524e0&&!_0x4c855f),this[_0x116bff(0x196)](_0x2c9f4e,_0x116bff(0x164),(_0x316e28,_0x516de6)=>{const _0x476d5d=_0x116bff;this[_0x476d5d(0x176)]=_0x516de6;const _0x124ec5=_0x27daf6(_0x516de6);this[_0x476d5d(0x19e)](_0x476d5d(0x178),_0x124ec5),_0x516de6[_0x476d5d(0x14f)]()&&this[_0x476d5d(0x168)][_0x476d5d(0x179)]({'prompt':_0x124ec5},0x0);},{'priority':_0x116bff(0x155)}),_0x2c9f4e;}[_0x4bcb99(0x17d)](){const _0x1d2ab1=_0x4bcb99,_0x37193d=new _0x2b9068(this[_0x1d2ab1(0x1a5)]);return _0x37193d[_0x1d2ab1(0x19b)][_0x1d2ab1(0x1a0)][_0x1d2ab1(0x150)](this[_0x1d2ab1(0x168)])['as'](_0x3718d9),_0x37193d['on'](_0x1d2ab1(0x194),()=>{const _0x51a074=_0x1d2ab1;this[_0x51a074(0x168)][_0x51a074(0x186)](),this[_0x51a074(0x18c)][_0x51a074(0x175)](''),this[_0x51a074(0x18c)][_0x51a074(0x19d)]();}),_0x37193d;}[_0x4bcb99(0x180)](){const _0x46ace6=_0x4bcb99,_0x53969f=new _0xe20bc1(this[_0x46ace6(0x1a5)]);return _0x53969f[_0x46ace6(0x163)][_0x46ace6(0x157)](_0x46ace6(0x18b))['to'](this,_0x46ace6(0x18b),this,_0x46ace6(0x18d),this,_0x46ace6(0x161),(_0x70a42a,_0xd1de6a,_0x23fdd0)=>_0x70a42a&&!_0xd1de6a&&!!_0x23fdd0),_0x53969f[_0x46ace6(0x163)][_0x46ace6(0x16e)](_0x46ace6(0x154))['to'](this,_0x46ace6(0x182)),_0x53969f[_0x46ace6(0x15c)][_0x46ace6(0x157)](_0x46ace6(0x18b))['to'](this,_0x46ace6(0x18b),this,_0x46ace6(0x18d),this,_0x46ace6(0x161),(_0x3a09a8,_0x5b8eda,_0x3cb44e)=>_0x3a09a8&&!_0x5b8eda&&!!_0x3cb44e),_0x53969f[_0x46ace6(0x15c)][_0x46ace6(0x16e)](_0x46ace6(0x154))['to'](this,_0x46ace6(0x18f)),_0x53969f[_0x46ace6(0x16d)][_0x46ace6(0x157)](_0x46ace6(0x18b))['to'](this,_0x46ace6(0x18b),this,_0x46ace6(0x18d),(_0x3602e2,_0x2a98bf)=>_0x3602e2&&!_0x2a98bf),_0x53969f[_0x46ace6(0x16d)][_0x46ace6(0x16e)](_0x46ace6(0x154))['to'](this,_0x46ace6(0x1a2)),_0x53969f[_0x46ace6(0x177)][_0x46ace6(0x157)](_0x46ace6(0x18b))['to'](this,_0x46ace6(0x18d)),_0x53969f[_0x46ace6(0x177)][_0x46ace6(0x16e)](_0x46ace6(0x154))['to'](this,_0x46ace6(0x193)),_0x53969f;}[_0x4bcb99(0x15b)](){const _0x4ec9da=_0x4bcb99;this[_0x4ec9da(0x161)]='',this[_0x4ec9da(0x199)]=!0x1,this[_0x4ec9da(0x18d)]=!0x0,this[_0x4ec9da(0x173)][_0x4ec9da(0x16a)]=!0x0,this[_0x4ec9da(0x156)][_0x4ec9da(0x16a)]=!0x0,this[_0x4ec9da(0x173)][_0x4ec9da(0x19d)]();}[_0x4bcb99(0x19a)](){const _0x2d15f6=_0x4bcb99,_0x20bd31=this[_0x2d15f6(0x1a5)];this[_0x2d15f6(0x18d)]=!0x1,this[_0x2d15f6(0x176)]='',this[_0x2d15f6(0x18c)][_0x2d15f6(0x17a)](),this[_0x2d15f6(0x161)]&&(this[_0x2d15f6(0x18c)][_0x2d15f6(0x15e)][_0x2d15f6(0x17b)]=_0x1e7d89(_0x20bd31,_0x2d15f6(0x16b)));}[_0x4bcb99(0x153)](_0x2e83e2){const _0x1d179a=_0x4bcb99,_0x20daf0=this[_0x1d179a(0x1a5)];this[_0x1d179a(0x19a)](),this[_0x1d179a(0x199)]=!0x0,this[_0x1d179a(0x15d)][_0x1d179a(0x183)]=_0x2e83e2||_0x1e7d89(_0x20daf0,_0x1d179a(0x188)),this[_0x1d179a(0x161)]||(this[_0x1d179a(0x173)][_0x1d179a(0x16a)]=!0x1);}}function _0x1881(){const _0x21b9ac=['clear','keystrokes','AI_ERROR_FAILED','element','260320CtwZAQ','isEnabled','promptView','isProcessing','shift\x20+\x20tab','insertContentBelow','REPLACE','focusNext','focusLast','stopProcessing','clearHistory','focusPrevious','listenTo','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','3iilcWl','isError','finishProcessing','historyGroupView','160MztxeY','focus','fire','stop','items','Empty\x20history','tryAgainEvent','439234JUiEGE','render','locale','ck-ai-form','Ask\x20AI\x20to\x20edit\x20or\x20generate','trim','bindTo','copyButtonView','createCollection','handleError','execute','high','toolbar','bind','mainAction','12124mayPsy','bindTemplate','startProcessing','insertButton','errorView','queryView','3006MhENxc','ck-hidden','value','focusFirst','replaceButton','submit','29194AIWumq','setTemplate','tab','_promptHistory','440904wdOaLK','isVisible','Ask\x20AI\x20to\x20improve\x20generated\x20text','_focusables','tryAgainButton','delegate','div','978972raeIin','forwardCycle','_createPromptView','contentArea','focusTracker','search','prompt','stopButton','submitPrompt','add','reset','label','ck-ai-form-content','_createHistoryView','10640HobHqb','backwardCycle','_createToolbar','fieldView','replaceContent','text','focusCycler','set'];_0x1881=function(){return _0x21b9ac;};return _0x1881();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4172ae,_0x2f7f35){const _0x45d22a=_0xeac7,_0x4fc013=_0x4172ae();while(!![]){try{const _0x4c3782=parseInt(_0x45d22a(0x89))/0x1+parseInt(_0x45d22a(0x81))/0x2+parseInt(_0x45d22a(0x8c))/0x3+parseInt(_0x45d22a(0x86))/0x4*(parseInt(_0x45d22a(0x87))/0x5)+parseInt(_0x45d22a(0x8a))/0x6+parseInt(_0x45d22a(0x83))/0x7*(-parseInt(_0x45d22a(0x88))/0x8)+-parseInt(_0x45d22a(0x82))/0x9;if(_0x4c3782===_0x2f7f35)break;else _0x4fc013['push'](_0x4fc013['shift']());}catch(_0x5d4d21){_0x4fc013['push'](_0x4fc013['shift']());}}}(_0x4369,0x2c7b3));import{ListItemView as _0x248396,ButtonView as _0x3e7e0c}from'ckeditor5/src/ui.js';import _0x52abf1 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x1dc4c9}from'lodash-es';function _0x4369(){const _0x2d2177=['438220YJHanI','15nfHVPB','40kUGnwT','234184mzXDTv','1350330YKNQWF','children','593208ONUPVp','prompt','execute','add','fire','127220DvrYCI','5999940Ummkli','280553ckdDaV','locale','set'];_0x4369=function(){return _0x2d2177;};return _0x4369();}function _0xeac7(_0x584610,_0x416468){const _0x436903=_0x4369();return _0xeac7=function(_0xeac719,_0xdc2205){_0xeac719=_0xeac719-0x80;let _0x4a673b=_0x436903[_0xeac719];return _0x4a673b;},_0xeac7(_0x584610,_0x416468);}export default class hs extends _0x248396{constructor(_0x1ad4f7){const _0x95e62b=_0xeac7;super();const _0xaa99d0=new _0x52abf1(),_0x43c27c=new _0x3e7e0c(this[_0x95e62b(0x84)],_0xaa99d0);this[_0x95e62b(0x8b)][_0x95e62b(0x8f)](_0x43c27c),_0x43c27c[_0x95e62b(0x85)]({'label':_0x1ad4f7[_0x95e62b(0x8d)],'withText':!0x0}),_0x43c27c['on'](_0x95e62b(0x8e),()=>{const _0x5200d1=_0x95e62b;this[_0x5200d1(0x80)](_0x5200d1(0x8e),{'value':_0x1dc4c9(_0x1ad4f7[_0x5200d1(0x8d)])});});}}
23
+ (function(_0xd72797,_0x2a67d8){const _0x5d4a3c=_0x4543,_0x183bd3=_0xd72797();while(!![]){try{const _0x4de712=parseInt(_0x5d4a3c(0x158))/0x1+parseInt(_0x5d4a3c(0x156))/0x2*(parseInt(_0x5d4a3c(0x152))/0x3)+parseInt(_0x5d4a3c(0x15b))/0x4+parseInt(_0x5d4a3c(0x14e))/0x5*(-parseInt(_0x5d4a3c(0x159))/0x6)+parseInt(_0x5d4a3c(0x15c))/0x7*(-parseInt(_0x5d4a3c(0x14b))/0x8)+-parseInt(_0x5d4a3c(0x155))/0x9+-parseInt(_0x5d4a3c(0x151))/0xa*(parseInt(_0x5d4a3c(0x14d))/0xb);if(_0x4de712===_0x2a67d8)break;else _0x183bd3['push'](_0x183bd3['shift']());}catch(_0x454e69){_0x183bd3['push'](_0x183bd3['shift']());}}}(_0x294d,0xaf4a3));import{ListItemView as _0x2cb8d5,ButtonView as _0x518769}from'ckeditor5/src/ui.js';import _0x5a9190 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x31c4b7}from'lodash-es';function _0x294d(){const _0x6efd3d=['1117121NHNQyQ','1670586TjWhMI','children','4772092DNOqOf','7sUHdwI','5825656KXyRRK','locale','209HrPDNz','5xdvvVd','fire','add','13610xVGwpG','3MePyfM','execute','prompt','5677479gVDMHq','142342WGBJwA','set'];_0x294d=function(){return _0x6efd3d;};return _0x294d();}function _0x4543(_0x1018fc,_0xf924f2){const _0x294dea=_0x294d();return _0x4543=function(_0x454340,_0x3ecef1){_0x454340=_0x454340-0x14b;let _0x1ece32=_0x294dea[_0x454340];return _0x1ece32;},_0x4543(_0x1018fc,_0xf924f2);}export default class hs extends _0x2cb8d5{constructor(_0x17eae3){const _0x4d4ed9=_0x4543;super();const _0x303190=new _0x5a9190(),_0x108130=new _0x518769(this[_0x4d4ed9(0x14c)],_0x303190);this[_0x4d4ed9(0x15a)][_0x4d4ed9(0x150)](_0x108130),_0x108130[_0x4d4ed9(0x157)]({'label':_0x17eae3[_0x4d4ed9(0x154)],'withText':!0x0}),_0x108130['on'](_0x4d4ed9(0x153),()=>{const _0x4fd355=_0x4d4ed9;this[_0x4fd355(0x14f)](_0x4fd355(0x153),{'value':_0x31c4b7(_0x17eae3[_0x4fd355(0x154)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x632401=_0x2134;(function(_0x3ad468,_0x447480){const _0x5d86e4=_0x2134,_0x21aeab=_0x3ad468();while(!![]){try{const _0x115ab7=-parseInt(_0x5d86e4(0x1cd))/0x1*(-parseInt(_0x5d86e4(0x1d9))/0x2)+parseInt(_0x5d86e4(0x1da))/0x3+parseInt(_0x5d86e4(0x1ce))/0x4+-parseInt(_0x5d86e4(0x1cf))/0x5*(parseInt(_0x5d86e4(0x1d7))/0x6)+parseInt(_0x5d86e4(0x1c9))/0x7+parseInt(_0x5d86e4(0x1ca))/0x8*(parseInt(_0x5d86e4(0x1dc))/0x9)+-parseInt(_0x5d86e4(0x1d5))/0xa*(parseInt(_0x5d86e4(0x1df))/0xb);if(_0x115ab7===_0x447480)break;else _0x21aeab['push'](_0x21aeab['shift']());}catch(_0x55ed73){_0x21aeab['push'](_0x21aeab['shift']());}}}(_0x4b30,0x1a7c8));import{ListView as _0x3f819d,ListItemGroupView as _0x23d415,ButtonView as _0x489f59}from'ckeditor5/src/ui.js';function _0x4b30(){const _0x4c7153=['label','length','clearHistoryButton','1195208QbwwBq','194936xVNSmP','filter','delegate','1JXXJEM','799204AndSZc','98755xymhDt','fire','Clear','set','historyGroupView','locale','304950oIgGZe','clearHistory','36AnAQAY','_createClearHistoryButton','273662FKngLI','275058BRjPHO','children','9AoZLxi','add','items','143iQNMhD','Prompt\x20history','execute'];_0x4b30=function(){return _0x4c7153;};return _0x4b30();}function _0x2134(_0x4cd58f,_0x292e69){const _0x4b303c=_0x4b30();return _0x2134=function(_0x213462,_0x4b64db){_0x213462=_0x213462-0x1c5;let _0x23c5b0=_0x4b303c[_0x213462];return _0x23c5b0;},_0x2134(_0x4cd58f,_0x292e69);}import{getTranslation as _0x283a77}from'../../utils/common-translations.js';export default class rs extends _0x3f819d{constructor(_0x34e01a){const _0x4b7387=_0x2134;super(_0x34e01a),this[_0x4b7387(0x1c8)]=this[_0x4b7387(0x1d8)](),this[_0x4b7387(0x1d3)]=new _0x23d415(),this[_0x4b7387(0x1d3)][_0x4b7387(0x1db)][_0x4b7387(0x1dd)](this[_0x4b7387(0x1c8)],0x1),this[_0x4b7387(0x1d3)][_0x4b7387(0x1c6)]=_0x283a77(_0x34e01a,_0x4b7387(0x1e0)),this[_0x4b7387(0x1d3)][_0x4b7387(0x1de)][_0x4b7387(0x1cc)](_0x4b7387(0x1c5))['to'](this),this[_0x4b7387(0x1de)][_0x4b7387(0x1dd)](this[_0x4b7387(0x1d3)]);}[_0x632401(0x1cb)](){const _0x158411=_0x632401;let _0xd5fb3=0x0;for(const _0x579b30 of this[_0x158411(0x1de)])_0xd5fb3+=_0x579b30[_0x158411(0x1de)][_0x158411(0x1c7)];return{'resultsCount':_0xd5fb3,'totalItemsCount':_0xd5fb3};}[_0x632401(0x1d8)](){const _0x57ce45=_0x632401,_0x2746dd=this[_0x57ce45(0x1d4)],_0x59dcb4=new _0x489f59(this[_0x57ce45(0x1d4)]);return _0x59dcb4[_0x57ce45(0x1d2)]({'label':'('+_0x283a77(_0x2746dd,_0x57ce45(0x1d1))+')','withText':!0x0}),_0x59dcb4['on'](_0x57ce45(0x1c5),()=>this[_0x57ce45(0x1d0)](_0x57ce45(0x1d6))),_0x59dcb4;}}
23
+ const _0x2c90a3=_0x4ffa;(function(_0x7f8bad,_0x366d13){const _0x5eef13=_0x4ffa,_0x516a35=_0x7f8bad();while(!![]){try{const _0xcab319=-parseInt(_0x5eef13(0x1c8))/0x1*(-parseInt(_0x5eef13(0x1dd))/0x2)+-parseInt(_0x5eef13(0x1d5))/0x3+-parseInt(_0x5eef13(0x1df))/0x4*(-parseInt(_0x5eef13(0x1c9))/0x5)+-parseInt(_0x5eef13(0x1cb))/0x6+parseInt(_0x5eef13(0x1d0))/0x7+-parseInt(_0x5eef13(0x1d8))/0x8+-parseInt(_0x5eef13(0x1d9))/0x9*(-parseInt(_0x5eef13(0x1cd))/0xa);if(_0xcab319===_0x366d13)break;else _0x516a35['push'](_0x516a35['shift']());}catch(_0x4ad396){_0x516a35['push'](_0x516a35['shift']());}}}(_0x58b8,0x494a9));import{ListView as _0x9f61c1,ListItemGroupView as _0x5bd80c,ButtonView as _0x32f65a}from'ckeditor5/src/ui.js';function _0x4ffa(_0x37f1b5,_0x5238cc){const _0x58b808=_0x58b8();return _0x4ffa=function(_0x4ffac9,_0x2fd9b1){_0x4ffac9=_0x4ffac9-0x1c6;let _0x4c2a5c=_0x58b808[_0x4ffac9];return _0x4c2a5c;},_0x4ffa(_0x37f1b5,_0x5238cc);}import{getTranslation as _0x1e01ba}from'../../utils/common-translations.js';function _0x58b8(){const _0x21f129=['execute','4265864BiBbDX','2502666TzuXNe','Clear','delegate','set','244642WXGhcx','locale','8cunPSa','children','fire','clearHistory','3qzelDT','996230ldcJfg','label','374484WbUXwV','filter','10TiPqxR','add','clearHistoryButton','279916jcRxYc','Prompt\x20history','_createClearHistoryButton','historyGroupView','length','563007jmtgkQ','items'];_0x58b8=function(){return _0x21f129;};return _0x58b8();}export default class rs extends _0x9f61c1{constructor(_0x45fd37){const _0x4c1f34=_0x4ffa;super(_0x45fd37),this[_0x4c1f34(0x1cf)]=this[_0x4c1f34(0x1d2)](),this[_0x4c1f34(0x1d3)]=new _0x5bd80c(),this[_0x4c1f34(0x1d3)][_0x4c1f34(0x1e0)][_0x4c1f34(0x1ce)](this[_0x4c1f34(0x1cf)],0x1),this[_0x4c1f34(0x1d3)][_0x4c1f34(0x1ca)]=_0x1e01ba(_0x45fd37,_0x4c1f34(0x1d1)),this[_0x4c1f34(0x1d3)][_0x4c1f34(0x1d6)][_0x4c1f34(0x1db)](_0x4c1f34(0x1d7))['to'](this),this[_0x4c1f34(0x1d6)][_0x4c1f34(0x1ce)](this[_0x4c1f34(0x1d3)]);}[_0x2c90a3(0x1cc)](){const _0x39b9b4=_0x2c90a3;let _0x4c6a15=0x0;for(const _0x2b2852 of this[_0x39b9b4(0x1d6)])_0x4c6a15+=_0x2b2852[_0x39b9b4(0x1d6)][_0x39b9b4(0x1d4)];return{'resultsCount':_0x4c6a15,'totalItemsCount':_0x4c6a15};}[_0x2c90a3(0x1d2)](){const _0x2629fa=_0x2c90a3,_0x2e249d=this[_0x2629fa(0x1de)],_0x27f6f8=new _0x32f65a(this[_0x2629fa(0x1de)]);return _0x27f6f8[_0x2629fa(0x1dc)]({'label':'('+_0x1e01ba(_0x2e249d,_0x2629fa(0x1da))+')','withText':!0x0}),_0x27f6f8['on'](_0x2629fa(0x1d7),()=>this[_0x2629fa(0x1c6)](_0x2629fa(0x1c7))),_0x27f6f8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57c3eb=_0x585e;function _0x585e(_0x2b5725,_0x59a073){const _0x563d6b=_0x563d();return _0x585e=function(_0x585ef3,_0x307a45){_0x585ef3=_0x585ef3-0xdd;let _0x5228da=_0x563d6b[_0x585ef3];return _0x5228da;},_0x585e(_0x2b5725,_0x59a073);}(function(_0x6d2ab4,_0x4c81f0){const _0x166641=_0x585e,_0xb3a571=_0x6d2ab4();while(!![]){try{const _0x1ebeee=-parseInt(_0x166641(0xf6))/0x1*(parseInt(_0x166641(0xed))/0x2)+-parseInt(_0x166641(0xe5))/0x3+-parseInt(_0x166641(0xf2))/0x4+-parseInt(_0x166641(0xe0))/0x5*(parseInt(_0x166641(0xe9))/0x6)+parseInt(_0x166641(0xe2))/0x7*(parseInt(_0x166641(0xe4))/0x8)+-parseInt(_0x166641(0xf1))/0x9*(-parseInt(_0x166641(0xe6))/0xa)+parseInt(_0x166641(0xe8))/0xb;if(_0x1ebeee===_0x4c81f0)break;else _0xb3a571['push'](_0xb3a571['shift']());}catch(_0x4773e8){_0xb3a571['push'](_0xb3a571['shift']());}}}(_0x563d,0xae10f));import{Collection as _0x22e2b1}from'ckeditor5/src/utils.js';const cs=_0x57c3eb(0xe1);function _0x563d(){const _0x31ce5c=['stringify','parse','length','22186wTaxNK','map','toLowerCase','trim','3655134eQOIbk','1848900iUOaok','setItem','remove','_saveToSessionStorage','103dTOmin','getItem','last','prompt','_loadFromSessionStorage','215jBlLBu','CKEditor/AIFormView/PromptHistory','9174109omDong','addMany','8TkVdFl','2031381QMOtfc','20aWBNgI','add','24259994dwxUoX','186054BQiHpn'];_0x563d=function(){return _0x31ce5c;};return _0x563d();}export default class os extends _0x22e2b1{constructor(){const _0x64d873=_0x57c3eb;super(),this[_0x64d873(0xdf)](),this['on'](_0x64d873(0xe7),(_0x552b84,_0x5ec99a)=>{const _0x3fd54b=_0x64d873,_0x2855a1=Ss(_0x5ec99a[_0x3fd54b(0xde)]);for(const _0x5284a7 of this)if(_0x5284a7!=_0x5ec99a&&Ss(_0x5284a7[_0x3fd54b(0xde)])===_0x2855a1){this[_0x3fd54b(0xf4)](_0x5284a7);break;}this[_0x3fd54b(0xec)]>0x14&&this[_0x3fd54b(0xf4)](this[_0x3fd54b(0xdd)]),this[_0x3fd54b(0xf5)]();}),this['on'](_0x64d873(0xf4),()=>{const _0x2b78b4=_0x64d873;this[_0x2b78b4(0xf5)]();});}[_0x57c3eb(0xdf)](){const _0x58c106=_0x57c3eb,_0x2857ba=sessionStorage[_0x58c106(0xf7)](cs)||'[]';this[_0x58c106(0xe3)](JSON[_0x58c106(0xeb)](_0x2857ba));}[_0x57c3eb(0xf5)](){const _0xda895d=_0x57c3eb;sessionStorage[_0xda895d(0xf3)](cs,JSON[_0xda895d(0xea)](this[_0xda895d(0xee)](_0x5882bf=>_0x5882bf)));}}function Ss(_0xd3ba3d){const _0x4206d6=_0x57c3eb;return _0xd3ba3d[_0x4206d6(0xef)]()[_0x4206d6(0xf0)]();}
23
+ const _0x235fa7=_0xc9f4;(function(_0x431f02,_0x11605a){const _0x49384e=_0xc9f4,_0x17b3a7=_0x431f02();while(!![]){try{const _0x13ecc3=parseInt(_0x49384e(0x1ba))/0x1+parseInt(_0x49384e(0x1ab))/0x2*(-parseInt(_0x49384e(0x1a2))/0x3)+parseInt(_0x49384e(0x1b0))/0x4*(parseInt(_0x49384e(0x1a1))/0x5)+-parseInt(_0x49384e(0x1b4))/0x6+-parseInt(_0x49384e(0x1ac))/0x7+-parseInt(_0x49384e(0x1ae))/0x8*(parseInt(_0x49384e(0x1b9))/0x9)+parseInt(_0x49384e(0x1a9))/0xa;if(_0x13ecc3===_0x11605a)break;else _0x17b3a7['push'](_0x17b3a7['shift']());}catch(_0xb8a60c){_0x17b3a7['push'](_0x17b3a7['shift']());}}}(_0xc829,0xa9323));import{Collection as _0x3bdb75}from'ckeditor5/src/utils.js';function _0xc829(){const _0x4fb992=['map','toLowerCase','last','CKEditor/AIFormView/PromptHistory','10502470iNEZYm','length','1321274qQvIUt','2392957XgxuRk','_loadFromSessionStorage','56nEETrY','prompt','116ySsDgS','stringify','addMany','setItem','553524ooTtBM','remove','trim','add','_saveToSessionStorage','718686TZIXdT','1046868HmMCvh','43040LqDhDV','3hseGAs','parse','getItem'];_0xc829=function(){return _0x4fb992;};return _0xc829();}const cs=_0x235fa7(0x1a8);function _0xc9f4(_0x46f5b1,_0x2c5e3b){const _0xc829ea=_0xc829();return _0xc9f4=function(_0xc9f4ec,_0x3a6c8b){_0xc9f4ec=_0xc9f4ec-0x1a1;let _0x3f189a=_0xc829ea[_0xc9f4ec];return _0x3f189a;},_0xc9f4(_0x46f5b1,_0x2c5e3b);}export default class os extends _0x3bdb75{constructor(){const _0x235ba3=_0x235fa7;super(),this[_0x235ba3(0x1ad)](),this['on'](_0x235ba3(0x1b7),(_0x2f4939,_0x443d1c)=>{const _0x37de75=_0x235ba3,_0x270ed3=Ss(_0x443d1c[_0x37de75(0x1af)]);for(const _0xa98528 of this)if(_0xa98528!=_0x443d1c&&Ss(_0xa98528[_0x37de75(0x1af)])===_0x270ed3){this[_0x37de75(0x1b5)](_0xa98528);break;}this[_0x37de75(0x1aa)]>0x14&&this[_0x37de75(0x1b5)](this[_0x37de75(0x1a7)]),this[_0x37de75(0x1b8)]();}),this['on'](_0x235ba3(0x1b5),()=>{const _0x24acdf=_0x235ba3;this[_0x24acdf(0x1b8)]();});}[_0x235fa7(0x1ad)](){const _0x146527=_0x235fa7,_0x128bd4=sessionStorage[_0x146527(0x1a4)](cs)||'[]';this[_0x146527(0x1b2)](JSON[_0x146527(0x1a3)](_0x128bd4));}[_0x235fa7(0x1b8)](){const _0x12b5a6=_0x235fa7;sessionStorage[_0x12b5a6(0x1b3)](cs,JSON[_0x12b5a6(0x1b1)](this[_0x12b5a6(0x1a5)](_0x57ffa4=>_0x57ffa4)));}}function Ss(_0x178caa){const _0x837f51=_0x235fa7;return _0x178caa[_0x837f51(0x1a6)]()[_0x837f51(0x1b6)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d90df=_0x18af;(function(_0x35837e,_0x280307){const _0x4c24f4=_0x18af,_0x3de3a6=_0x35837e();while(!![]){try{const _0x34fafa=parseInt(_0x4c24f4(0x208))/0x1+parseInt(_0x4c24f4(0x215))/0x2+parseInt(_0x4c24f4(0x205))/0x3+parseInt(_0x4c24f4(0x1f9))/0x4+-parseInt(_0x4c24f4(0x20c))/0x5+-parseInt(_0x4c24f4(0x1fc))/0x6+-parseInt(_0x4c24f4(0x203))/0x7;if(_0x34fafa===_0x280307)break;else _0x3de3a6['push'](_0x3de3a6['shift']());}catch(_0x40558a){_0x3de3a6['push'](_0x3de3a6['shift']());}}}(_0x2c74,0x59326));import{Command as _0x6199f8}from'ckeditor5/src/core.js';import _0x3bd5e2 from'../aiassistantui.js';function _0x2c74(){const _0x25d2b8=['isEnabled','change:_hasContext','getFirstRange','add','enabledCommandsIds','ai.aiAssistant.disabledElements','document','678312akLGrl','editor','change:isEnabled','1424322FQUxwF','from','hasContent','get','_commandDefinitions','isCollapsed','getRanges','4877012JFcLYa','model','1952841EoVyeK','name','showUI','19760MMabcL','concat','execute','refresh','1317600FzFusR','config','getItems','_hasContext','element','getSelectedBlocks','set','length','custom','1445376UZKpuG','requiresContent','plugins','reduce','isEmpty','includes','selection','commands'];_0x2c74=function(){return _0x25d2b8;};return _0x2c74();}export default class j extends _0x6199f8{constructor(_0x3d779d,_0x4d4315){const _0xb0caaf=_0x18af;super(_0x3d779d),this[_0xb0caaf(0x200)]=_0x4d4315?_0x4d4315[_0xb0caaf(0x218)]((_0xc582b8,_0x5a44e4)=>_0xc582b8[_0xb0caaf(0x209)](_0x5a44e4[_0xb0caaf(0x1f1)]),new Array()):[],this[_0xb0caaf(0x212)](_0xb0caaf(0x1f6),[]),this['on'](_0xb0caaf(0x1f3),(_0x3afa39,_0x34b9c8,_0x449b23)=>{const _0x1911ae=_0xb0caaf;this[_0x1911ae(0x1f2)]&&(this[_0x1911ae(0x1f6)]=K(this[_0x1911ae(0x200)],_0x449b23));}),this[_0xb0caaf(0x212)](_0xb0caaf(0x20f),!0x1),this['on'](_0xb0caaf(0x1fb),(_0x211b5d,_0x17cfdc,_0x2a774a)=>{const _0x3c2d63=_0xb0caaf;this[_0x3c2d63(0x1f6)]=_0x2a774a?K(this[_0x3c2d63(0x200)],this[_0x3c2d63(0x20f)]):[];});}[_0x3d90df(0x20b)](){const _0x4136d8=_0x3d90df,_0x419971=this[_0x4136d8(0x1fa)][_0x4136d8(0x204)];this[_0x4136d8(0x20f)]=function(_0x3fae31){const _0x4c90a5=_0x4136d8,_0x87c51=_0x3fae31[_0x4c90a5(0x1f8)][_0x4c90a5(0x21b)];return _0x87c51[_0x4c90a5(0x201)]?0x0!==[..._0x87c51[_0x4c90a5(0x211)]()][_0x4c90a5(0x213)]&&![..._0x87c51[_0x4c90a5(0x211)]()][0x0][_0x4c90a5(0x219)]:!!_0x3fae31[_0x4c90a5(0x1fe)](_0x87c51[_0x4c90a5(0x1f4)]());}(_0x419971);const _0x48be04=_0x419971[_0x4136d8(0x1f8)][_0x4136d8(0x21b)],_0x347429=this[_0x4136d8(0x1fa)][_0x4136d8(0x20d)][_0x4136d8(0x1ff)](_0x4136d8(0x1f7));for(const _0x38b844 of _0x48be04[_0x4136d8(0x202)]())for(const _0x17eb16 of _0x38b844[_0x4136d8(0x20e)]())if(_0x17eb16['is'](_0x4136d8(0x210))&&_0x347429[_0x4136d8(0x21a)](_0x17eb16[_0x4136d8(0x206)]))return void(this[_0x4136d8(0x1f2)]=!0x1);this[_0x4136d8(0x1f2)]=!0x0;}[_0x3d90df(0x20a)](_0x267b1a='',_0x535a05='',_0x5096dd=_0x3d90df(0x214)){const _0x4cbbfa=_0x3d90df;this[_0x4cbbfa(0x1fa)][_0x4cbbfa(0x217)][_0x4cbbfa(0x1ff)](_0x3bd5e2)[_0x4cbbfa(0x207)](_0x267b1a,_0x535a05,_0x5096dd);}}function _0x18af(_0x2fa35a,_0xa90336){const _0x2c74b7=_0x2c74();return _0x18af=function(_0x18afb7,_0x51fa6f){_0x18afb7=_0x18afb7-0x1f1;let _0x479bcb=_0x2c74b7[_0x18afb7];return _0x479bcb;},_0x18af(_0x2fa35a,_0xa90336);}function K(_0x4aa89f,_0x236101){const _0x4e5632=_0x3d90df,_0x579fb7=new Set();for(const _0x3c3c01 of _0x4aa89f)(_0x236101||!0x1===_0x3c3c01[_0x4e5632(0x216)])&&_0x579fb7[_0x4e5632(0x1f5)](_0x3c3c01['id']);return Array[_0x4e5632(0x1fd)](_0x579fb7);}
23
+ const _0x4e87f9=_0x5a7e;(function(_0xb99567,_0x13c0e3){const _0x5bf779=_0x5a7e,_0x2e6035=_0xb99567();while(!![]){try{const _0x4ecc5f=-parseInt(_0x5bf779(0x1d0))/0x1*(-parseInt(_0x5bf779(0x1aa))/0x2)+-parseInt(_0x5bf779(0x1c4))/0x3*(-parseInt(_0x5bf779(0x1bc))/0x4)+parseInt(_0x5bf779(0x1cd))/0x5+parseInt(_0x5bf779(0x1d7))/0x6*(-parseInt(_0x5bf779(0x1c9))/0x7)+parseInt(_0x5bf779(0x1cc))/0x8*(parseInt(_0x5bf779(0x1d6))/0x9)+-parseInt(_0x5bf779(0x1c7))/0xa*(-parseInt(_0x5bf779(0x1ae))/0xb)+-parseInt(_0x5bf779(0x1c8))/0xc*(parseInt(_0x5bf779(0x1c5))/0xd);if(_0x4ecc5f===_0x13c0e3)break;else _0x2e6035['push'](_0x2e6035['shift']());}catch(_0x49a287){_0x2e6035['push'](_0x2e6035['shift']());}}}(_0x5c33,0x31b08));import{Command as _0x1b668e}from'ckeditor5/src/core.js';import _0x54de27 from'../aiassistantui.js';export default class j extends _0x1b668e{constructor(_0x1cd4d9,_0x217062){const _0x1dd0ec=_0x5a7e;super(_0x1cd4d9),this[_0x1dd0ec(0x1b5)]=_0x217062?_0x217062[_0x1dd0ec(0x1b2)]((_0x2a67e4,_0x34b7e9)=>_0x2a67e4[_0x1dd0ec(0x1c0)](_0x34b7e9[_0x1dd0ec(0x1cb)]),new Array()):[],this[_0x1dd0ec(0x1bd)](_0x1dd0ec(0x1c3),[]),this['on'](_0x1dd0ec(0x1b1),(_0x168b4c,_0xa40add,_0x155d3e)=>{const _0x520fa4=_0x1dd0ec;this[_0x520fa4(0x1ce)]&&(this[_0x520fa4(0x1c3)]=K(this[_0x520fa4(0x1b5)],_0x155d3e));}),this[_0x1dd0ec(0x1bd)](_0x1dd0ec(0x1b8),!0x1),this['on'](_0x1dd0ec(0x1c2),(_0x15a1b3,_0x24fcc8,_0x327772)=>{const _0x60c5f3=_0x1dd0ec;this[_0x60c5f3(0x1c3)]=_0x327772?K(this[_0x60c5f3(0x1b5)],this[_0x60c5f3(0x1b8)]):[];});}[_0x4e87f9(0x1ad)](){const _0x3aa3c7=_0x4e87f9,_0x59b8f7=this[_0x3aa3c7(0x1bf)][_0x3aa3c7(0x1c1)];this[_0x3aa3c7(0x1b8)]=function(_0x3ddb1a){const _0x10edb1=_0x3aa3c7,_0x87edcb=_0x3ddb1a[_0x10edb1(0x1af)][_0x10edb1(0x1b4)];return _0x87edcb[_0x10edb1(0x1ab)]?0x0!==[..._0x87edcb[_0x10edb1(0x1b9)]()][_0x10edb1(0x1d2)]&&![..._0x87edcb[_0x10edb1(0x1b9)]()][0x0][_0x10edb1(0x1d8)]:!!_0x3ddb1a[_0x10edb1(0x1b7)](_0x87edcb[_0x10edb1(0x1ba)]());}(_0x59b8f7);const _0x14d9d2=_0x59b8f7[_0x3aa3c7(0x1af)][_0x3aa3c7(0x1b4)],_0x5569a2=this[_0x3aa3c7(0x1bf)][_0x3aa3c7(0x1d3)][_0x3aa3c7(0x1d4)](_0x3aa3c7(0x1b6));for(const _0x4dace8 of _0x14d9d2[_0x3aa3c7(0x1a9)]())for(const _0x1469d6 of _0x4dace8[_0x3aa3c7(0x1ac)]())if(_0x1469d6['is'](_0x3aa3c7(0x1d1))&&_0x5569a2[_0x3aa3c7(0x1be)](_0x1469d6[_0x3aa3c7(0x1c6)]))return void(this[_0x3aa3c7(0x1ce)]=!0x1);this[_0x3aa3c7(0x1ce)]=!0x0;}[_0x4e87f9(0x1b0)](_0x3d218b='',_0x405c26='',_0x2254ff=_0x4e87f9(0x1ca)){const _0x330e6a=_0x4e87f9;this[_0x330e6a(0x1bf)][_0x330e6a(0x1a8)][_0x330e6a(0x1d4)](_0x54de27)[_0x330e6a(0x1d5)](_0x3d218b,_0x405c26,_0x2254ff);}}function K(_0x3e57aa,_0x39d46c){const _0x2c5c47=_0x4e87f9,_0x1de5b0=new Set();for(const _0x178aeb of _0x3e57aa)(_0x39d46c||!0x1===_0x178aeb[_0x2c5c47(0x1bb)])&&_0x1de5b0[_0x2c5c47(0x1b3)](_0x178aeb['id']);return Array[_0x2c5c47(0x1cf)](_0x1de5b0);}function _0x5a7e(_0x3df9ec,_0xaba1eb){const _0x5c33c6=_0x5c33();return _0x5a7e=function(_0x5a7e13,_0x18d6a9){_0x5a7e13=_0x5a7e13-0x1a8;let _0x12914f=_0x5c33c6[_0x5a7e13];return _0x12914f;},_0x5a7e(_0x3df9ec,_0xaba1eb);}function _0x5c33(){const _0x10fe95=['commands','1593272QAIzPz','638250wRPodv','isEnabled','from','70459ZpOZrn','element','length','config','get','showUI','9yMkUIk','30rQEYlX','isEmpty','plugins','getRanges','2igbNmA','isCollapsed','getItems','refresh','11plPrpe','document','execute','change:_hasContext','reduce','add','selection','_commandDefinitions','ai.aiAssistant.disabledElements','hasContent','_hasContext','getSelectedBlocks','getFirstRange','requiresContent','12gtIwKK','set','includes','editor','concat','model','change:isEnabled','enabledCommandsIds','370665SWnjUK','8023847CSaejg','name','1478690mBSqif','12HcWtTY','133077auslTL','custom'];_0x5c33=function(){return _0x10fe95;};return _0x5c33();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4e7848,_0x353dc5,_0x16e7c6){const t=_0x4e7848['t'];switch(_0x353dc5){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',_0x16e7c6);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',_0x16e7c6);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x16e7c6);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'},_0x16e7c6);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 _0x353dc5;}}
23
+ export function getTranslation(_0x458209,_0x53dd5e,_0x2b41c0){const t=_0x458209['t'];switch(_0x53dd5e){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',_0x2b41c0);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',_0x2b41c0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2b41c0);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'},_0x2b41c0);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 _0x53dd5e;}}
File without changes