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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/README.md +6 -0
  2. package/build/ai.js +1 -1
  3. package/dist/index.js +2 -1
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/bg.js +1 -1
  9. package/dist/translations/bg.umd.js +1 -1
  10. package/dist/translations/bn.js +1 -1
  11. package/dist/translations/bn.umd.js +1 -1
  12. package/dist/translations/bs.js +1 -1
  13. package/dist/translations/bs.umd.js +1 -1
  14. package/dist/translations/ca.js +1 -1
  15. package/dist/translations/ca.umd.js +1 -1
  16. package/dist/translations/cs.js +1 -1
  17. package/dist/translations/cs.umd.js +1 -1
  18. package/dist/translations/da.js +1 -1
  19. package/dist/translations/da.umd.js +1 -1
  20. package/dist/translations/de-ch.js +1 -1
  21. package/dist/translations/de-ch.umd.js +1 -1
  22. package/dist/translations/de.js +1 -1
  23. package/dist/translations/de.umd.js +1 -1
  24. package/dist/translations/el.js +1 -1
  25. package/dist/translations/el.umd.js +1 -1
  26. package/dist/translations/en-au.js +1 -1
  27. package/dist/translations/en-au.umd.js +1 -1
  28. package/dist/translations/en.umd.js +1 -1
  29. package/dist/translations/es-co.js +1 -1
  30. package/dist/translations/es-co.umd.js +1 -1
  31. package/dist/translations/es.js +1 -1
  32. package/dist/translations/es.umd.js +1 -1
  33. package/dist/translations/et.js +1 -1
  34. package/dist/translations/et.umd.js +1 -1
  35. package/dist/translations/fa.js +1 -1
  36. package/dist/translations/fa.umd.js +1 -1
  37. package/dist/translations/fi.js +1 -1
  38. package/dist/translations/fi.umd.js +1 -1
  39. package/dist/translations/fr.js +1 -1
  40. package/dist/translations/fr.umd.js +1 -1
  41. package/dist/translations/gl.js +1 -1
  42. package/dist/translations/gl.umd.js +1 -1
  43. package/dist/translations/he.js +1 -1
  44. package/dist/translations/he.umd.js +1 -1
  45. package/dist/translations/hi.js +1 -1
  46. package/dist/translations/hi.umd.js +1 -1
  47. package/dist/translations/hr.js +1 -1
  48. package/dist/translations/hr.umd.js +1 -1
  49. package/dist/translations/hu.js +1 -1
  50. package/dist/translations/hu.umd.js +1 -1
  51. package/dist/translations/id.js +1 -1
  52. package/dist/translations/id.umd.js +1 -1
  53. package/dist/translations/it.js +1 -1
  54. package/dist/translations/it.umd.js +1 -1
  55. package/dist/translations/ja.js +1 -1
  56. package/dist/translations/ja.umd.js +1 -1
  57. package/dist/translations/jv.js +1 -1
  58. package/dist/translations/jv.umd.js +1 -1
  59. package/dist/translations/ko.js +1 -1
  60. package/dist/translations/ko.umd.js +1 -1
  61. package/dist/translations/lt.js +1 -1
  62. package/dist/translations/lt.umd.js +1 -1
  63. package/dist/translations/lv.js +1 -1
  64. package/dist/translations/lv.umd.js +1 -1
  65. package/dist/translations/ms.js +1 -1
  66. package/dist/translations/ms.umd.js +1 -1
  67. package/dist/translations/nl.js +1 -1
  68. package/dist/translations/nl.umd.js +1 -1
  69. package/dist/translations/no.js +1 -1
  70. package/dist/translations/no.umd.js +1 -1
  71. package/dist/translations/pl.js +1 -1
  72. package/dist/translations/pl.umd.js +1 -1
  73. package/dist/translations/pt-br.js +1 -1
  74. package/dist/translations/pt-br.umd.js +1 -1
  75. package/dist/translations/pt.js +1 -1
  76. package/dist/translations/pt.umd.js +1 -1
  77. package/dist/translations/ro.js +1 -1
  78. package/dist/translations/ro.umd.js +1 -1
  79. package/dist/translations/ru.js +1 -1
  80. package/dist/translations/ru.umd.js +1 -1
  81. package/dist/translations/sk.js +1 -1
  82. package/dist/translations/sk.umd.js +1 -1
  83. package/dist/translations/sr-latn.js +1 -1
  84. package/dist/translations/sr-latn.umd.js +1 -1
  85. package/dist/translations/sr.js +1 -1
  86. package/dist/translations/sr.umd.js +1 -1
  87. package/dist/translations/sv.js +1 -1
  88. package/dist/translations/sv.umd.js +1 -1
  89. package/dist/translations/th.js +1 -1
  90. package/dist/translations/th.umd.js +1 -1
  91. package/dist/translations/ti.js +1 -1
  92. package/dist/translations/ti.umd.js +1 -1
  93. package/dist/translations/tk.js +1 -1
  94. package/dist/translations/tk.umd.js +1 -1
  95. package/dist/translations/tr.js +1 -1
  96. package/dist/translations/tr.umd.js +1 -1
  97. package/dist/translations/ug.js +1 -1
  98. package/dist/translations/ug.umd.js +1 -1
  99. package/dist/translations/uk.js +1 -1
  100. package/dist/translations/uk.umd.js +1 -1
  101. package/dist/translations/ur.js +1 -1
  102. package/dist/translations/ur.umd.js +1 -1
  103. package/dist/translations/uz.js +1 -1
  104. package/dist/translations/uz.umd.js +1 -1
  105. package/dist/translations/vi.js +1 -1
  106. package/dist/translations/vi.umd.js +1 -1
  107. package/dist/translations/zh-cn.js +1 -1
  108. package/dist/translations/zh-cn.umd.js +1 -1
  109. package/dist/translations/zh.js +1 -1
  110. package/dist/translations/zh.umd.js +1 -1
  111. package/dist/types/ui/aiassistantcontroller.d.ts +1 -1
  112. package/lang/contexts.json +1 -1
  113. package/lang/translations/af.po +1 -1
  114. package/lang/translations/ar.po +1 -1
  115. package/lang/translations/bg.po +1 -1
  116. package/lang/translations/bn.po +1 -1
  117. package/lang/translations/bs.po +1 -1
  118. package/lang/translations/ca.po +1 -1
  119. package/lang/translations/cs.po +1 -1
  120. package/lang/translations/da.po +1 -1
  121. package/lang/translations/de-ch.po +1 -1
  122. package/lang/translations/de.po +1 -1
  123. package/lang/translations/el.po +1 -1
  124. package/lang/translations/en-au.po +1 -1
  125. package/lang/translations/en.po +1 -1
  126. package/lang/translations/es-co.po +1 -1
  127. package/lang/translations/es.po +1 -1
  128. package/lang/translations/et.po +1 -1
  129. package/lang/translations/fa.po +1 -1
  130. package/lang/translations/fi.po +1 -1
  131. package/lang/translations/fr.po +1 -1
  132. package/lang/translations/gl.po +1 -1
  133. package/lang/translations/he.po +1 -1
  134. package/lang/translations/hi.po +1 -1
  135. package/lang/translations/hr.po +1 -1
  136. package/lang/translations/hu.po +1 -1
  137. package/lang/translations/id.po +1 -1
  138. package/lang/translations/it.po +1 -1
  139. package/lang/translations/ja.po +1 -1
  140. package/lang/translations/jv.po +1 -1
  141. package/lang/translations/ko.po +1 -1
  142. package/lang/translations/lt.po +1 -1
  143. package/lang/translations/lv.po +1 -1
  144. package/lang/translations/ms.po +1 -1
  145. package/lang/translations/nl.po +1 -1
  146. package/lang/translations/no.po +1 -1
  147. package/lang/translations/pl.po +1 -1
  148. package/lang/translations/pt-br.po +1 -1
  149. package/lang/translations/pt.po +1 -1
  150. package/lang/translations/ro.po +1 -1
  151. package/lang/translations/ru.po +1 -1
  152. package/lang/translations/sk.po +1 -1
  153. package/lang/translations/sr-latn.po +1 -1
  154. package/lang/translations/sr.po +1 -1
  155. package/lang/translations/sv.po +1 -1
  156. package/lang/translations/th.po +1 -1
  157. package/lang/translations/ti.po +1 -1
  158. package/lang/translations/tk.po +1 -1
  159. package/lang/translations/tr.po +1 -1
  160. package/lang/translations/ug.po +1 -1
  161. package/lang/translations/uk.po +1 -1
  162. package/lang/translations/ur.po +1 -1
  163. package/lang/translations/uz.po +1 -1
  164. package/lang/translations/vi.po +1 -1
  165. package/lang/translations/zh-cn.po +1 -1
  166. package/lang/translations/zh.po +1 -1
  167. package/package.json +4 -4
  168. package/src/adapters/aiadapter.js +1 -1
  169. package/src/adapters/aitextadapter.js +1 -1
  170. package/src/adapters/awstextadapter.js +1 -1
  171. package/src/adapters/openaitextadapter.js +1 -1
  172. package/src/aiassistant.js +1 -1
  173. package/src/aiassistantediting.js +1 -1
  174. package/src/aiassistantui.js +1 -1
  175. package/src/index.js +1 -1
  176. package/src/ui/aiassistantcontroller.d.ts +1 -1
  177. package/src/ui/aiassistantcontroller.js +2 -1
  178. package/src/ui/dropdown/aicommandslistview.js +1 -1
  179. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  180. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  181. package/src/ui/form/aiformcontentarea.js +1 -1
  182. package/src/ui/form/aiformerrorview.js +1 -1
  183. package/src/ui/form/aiformpromptview.js +1 -1
  184. package/src/ui/form/aiformtoolbarview.js +1 -1
  185. package/src/ui/form/aiformview.js +1 -1
  186. package/src/ui/form/aihistorylistitemview.js +1 -1
  187. package/src/ui/form/aihistorylistview.js +1 -1
  188. package/src/ui/form/prompthistory.js +1 -1
  189. package/src/ui/showaiassistantcommand.js +1 -1
  190. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36bc02=_0x1b8b;(function(_0x276882,_0x2a69b6){const _0x8a1af2=_0x1b8b,_0x4e9dc9=_0x276882();while(!![]){try{const _0xf631ed=-parseInt(_0x8a1af2(0x1ca))/0x1+-parseInt(_0x8a1af2(0x1bb))/0x2+-parseInt(_0x8a1af2(0x1d2))/0x3*(parseInt(_0x8a1af2(0x1cf))/0x4)+-parseInt(_0x8a1af2(0x1d7))/0x5*(-parseInt(_0x8a1af2(0x1a3))/0x6)+-parseInt(_0x8a1af2(0x1c9))/0x7*(-parseInt(_0x8a1af2(0x1e0))/0x8)+-parseInt(_0x8a1af2(0x1b6))/0x9*(parseInt(_0x8a1af2(0x1be))/0xa)+parseInt(_0x8a1af2(0x1ba))/0xb;if(_0xf631ed===_0x2a69b6)break;else _0x4e9dc9['push'](_0x4e9dc9['shift']());}catch(_0x21344b){_0x4e9dc9['push'](_0x4e9dc9['shift']());}}}(_0x5050,0x74e63));import{ObservableMixin as _0x909067}from'ckeditor5/src/utils.js';function _0x5050(){const _0x462a26=['tryAgainEvent','match','name','handleError','trim','stopListening','finishProcessing','serializeToString','value','previousQuery','toView','_xmlSerializer','innerHTML','updateView','finally','```html','push','stopProcessing','render','initialContext','nodeType','_normalizeResponseHeadings','stringify','90ySAlJT','_parseAndNormalizeContent','listenTo','startsWith','then','custom','createElement','rename','abort','previousActionId','_handleQuery','catch','textAdapter','_stripMarkdownSyntax','processor','```','data','setContentOf','view','1503MMOLJC','currentContext','previousContext','prompt','11051139GHQpeQ','44738ANeNVt','childNodes','previousLabel','7570hhLokR','startProcessing','set:currentContext','substring','destroy','domConverter','mainAction','text/html','editor','_domParser','ELEMENT_NODE','1617TwuSQl','719888wvLUap','message','isProcessing','currentResponse','endsWith','2000jqOFmb','length','div','3078cIxjhL','submitPrompt','_sanitizationContainer','exec','parseFromString','72685juVVHx','set','reverse','reset','makeRequest','remove','document','body','from','22088frmxHh','once','element','isRendered','editing','_sanitizeHTML','toModel'];_0x5050=function(){return _0x462a26;};return _0x5050();}import{AIRequestError as _0x309a87}from'../adapters/aiadapter.js';function _0x1b8b(_0x168103,_0x9a231e){const _0x505034=_0x5050();return _0x1b8b=function(_0x1b8bbd,_0x223f98){_0x1b8bbd=_0x1b8bbd-0x19b;let _0x41f9a3=_0x505034[_0x1b8bbd];return _0x41f9a3;},_0x1b8b(_0x168103,_0x9a231e);}import{Matcher as _0x3818ae,UpcastWriter as _0x122007}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends _0x909067(){constructor(_0xe3196c,_0x5409f1,_0x2e0b63){const _0x1fc72a=_0x1b8b;super(),this[_0x1fc72a(0x1c6)]=_0xe3196c,this[_0x1fc72a(0x1af)]=_0x5409f1,this[_0x1fc72a(0x1d4)]=document[_0x1fc72a(0x1a9)](_0x1fc72a(0x1d1)),this[_0x1fc72a(0x1c7)]=new DOMParser(),this[_0x1fc72a(0x1f2)]=new XMLSerializer(),this[_0x1fc72a(0x1b5)]=_0x2e0b63,this[_0x1fc72a(0x1d8)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1fc72a(0x1c0),(_0x94c0df,_0x17b63c,_0x173694)=>{const _0xc658bf=_0x1fc72a;this[_0xc658bf(0x1b5)][_0xc658bf(0x1ef)]=this[_0xc658bf(0x1e5)](_0x173694);}),this[_0x1fc72a(0x1a5)](this[_0x1fc72a(0x1b5)],_0x1fc72a(0x1d3),(_0x265185,_0x250e41)=>{const _0xe24d9b=_0x1fc72a,_0x4d0e69=this[_0xe24d9b(0x1b7)]||this[_0xe24d9b(0x19f)];this[_0xe24d9b(0x1ad)](_0x250e41,_0x4d0e69,_0xe24d9b(0x1a8));}),this[_0x1fc72a(0x1a5)](this[_0x1fc72a(0x1b5)],_0x1fc72a(0x1e7),()=>{const _0x1d6078=_0x1fc72a;this[_0x1d6078(0x1b5)][_0x1d6078(0x1b9)]=this[_0x1d6078(0x1bd)],this[_0x1d6078(0x1ad)](this[_0x1d6078(0x1f0)],this[_0x1d6078(0x1b8)],this[_0x1d6078(0x1ac)],this[_0x1d6078(0x1bd)]);}),this[_0x1fc72a(0x1a5)](this[_0x1fc72a(0x1b5)],_0x1fc72a(0x19d),()=>{const _0xa34bc9=_0x1fc72a;this[_0xa34bc9(0x19d)]();});}[_0x36bc02(0x1c2)](){const _0x33ba36=_0x36bc02;this[_0x33ba36(0x1ec)]();}async[_0x36bc02(0x1f4)]({actionId:_0x2ad2ab,query:_0x4d8bdb,htmlContent:_0x449cba,label:_0x36f018,mainActionLabel:_0x4b3a54}){const _0xf6d948=_0x36bc02;this[_0xf6d948(0x1b5)][_0xf6d948(0x1b9)]=_0x36f018,this[_0xf6d948(0x1b5)][_0xf6d948(0x1c4)]=_0x4b3a54,this[_0xf6d948(0x19f)]=_0x449cba,_0x4d8bdb&&(this[_0xf6d948(0x1b5)][_0xf6d948(0x1e3)]?this[_0xf6d948(0x1ad)](_0x4d8bdb,_0x449cba,_0x2ad2ab,_0x36f018):this[_0xf6d948(0x1b5)][_0xf6d948(0x1e1)](_0xf6d948(0x19e),()=>{const _0x40ef36=_0xf6d948;this[_0x40ef36(0x1ad)](_0x4d8bdb,_0x449cba,_0x2ad2ab,_0x36f018);}));}[_0x36bc02(0x19d)](){const _0x95e3c4=_0x36bc02;this[_0x95e3c4(0x1cc)]&&(this[_0x95e3c4(0x1cc)]=!0x1,this[_0x95e3c4(0x1b5)][_0x95e3c4(0x1ed)](),this[_0x95e3c4(0x1af)][_0x95e3c4(0x1ab)]());}[_0x36bc02(0x1da)](){const _0x2e985c=_0x36bc02;this[_0x2e985c(0x19f)]='',this[_0x2e985c(0x1b7)]='',this[_0x2e985c(0x1cd)]='',this[_0x2e985c(0x1b8)]='',this[_0x2e985c(0x1f0)]='',this[_0x2e985c(0x1bd)]='',this[_0x2e985c(0x1ac)]=void 0x0,this[_0x2e985c(0x1b5)][_0x2e985c(0x1da)](),this[_0x2e985c(0x19d)]();}async[_0x36bc02(0x1ad)](_0x410778,_0x2e5921,_0x1523d4,_0x20accb){const _0x3749b8=_0x36bc02;return this[_0x3749b8(0x1cc)]=!0x0,this[_0x3749b8(0x1b5)][_0x3749b8(0x1bf)](),this[_0x3749b8(0x1b8)]=_0x2e5921,this[_0x3749b8(0x1f0)]=_0x410778,this[_0x3749b8(0x1bd)]=_0x20accb||_0x410778,this[_0x3749b8(0x1ac)]=_0x1523d4,new Promise(_0x238dc8=>{const _0x5f1fb2=_0x3749b8;this[_0x5f1fb2(0x1af)][_0x5f1fb2(0x1db)]({'query':_0x410778,'context':_0x2e5921,'onData':_0x94a115=>{const _0x184618=_0x5f1fb2;this[_0x184618(0x1cd)]=_0x94a115,this[_0x184618(0x1b7)]=this[_0x184618(0x1a4)](this[_0x184618(0x1cd)]);},'actionId':_0x1523d4})[_0x5f1fb2(0x1a7)](()=>{const _0x55a027=_0x5f1fb2;!this[_0x55a027(0x1b7)]&&this[_0x55a027(0x1cd)]&&(this[_0x55a027(0x1b7)]=this[_0x55a027(0x1a4)](this[_0x55a027(0x1cd)],!0x0));})[_0x5f1fb2(0x1ae)](_0x20e8a3=>{const _0x458ca5=_0x5f1fb2;_0x20e8a3 instanceof _0x309a87?this[_0x458ca5(0x1b5)][_0x458ca5(0x1ea)](_0x20e8a3[_0x458ca5(0x1cb)]):this[_0x458ca5(0x1b5)][_0x458ca5(0x1ea)](),_0x238dc8();})[_0x5f1fb2(0x1f5)](()=>{const _0x342f12=_0x5f1fb2;this[_0x342f12(0x19d)](),_0x238dc8();});});}[_0x36bc02(0x1a4)](_0x3f7ff2,_0x2ce02b=!0x1){const _0x5d047e=_0x36bc02,_0x3a1882=X[_0x5d047e(0x1d5)](_0x3f7ff2);_0x3f7ff2=_0x3a1882?_0x3f7ff2[_0x5d047e(0x1c1)](_0x3a1882[0x1][_0x5d047e(0x1d0)]):_0x3f7ff2[_0x5d047e(0x1d0)]<0x64&&!_0x2ce02b?'':this[_0x5d047e(0x1b0)](_0x3f7ff2);const _0x2e1088=this[_0x5d047e(0x1c7)][_0x5d047e(0x1d6)](_0x3f7ff2,_0x5d047e(0x1c5));if(_0x3a1882){const _0xdc3b74=Array[_0x5d047e(0x1df)](_0x2e1088[_0x5d047e(0x1de)][_0x5d047e(0x1bc)]);_0xdc3b74[_0x5d047e(0x1d9)]();for(const _0x123a08 of _0xdc3b74){if(_0x123a08[_0x5d047e(0x1a0)]==Node[_0x5d047e(0x1c8)])break;_0x123a08[_0x5d047e(0x1dc)]();}}const _0x275444=this[_0x5d047e(0x1c6)][_0x5d047e(0x1b3)][_0x5d047e(0x1b1)][_0x5d047e(0x1f1)](this[_0x5d047e(0x1f2)][_0x5d047e(0x1ee)](_0x2e1088[_0x5d047e(0x1de)]));return this[_0x5d047e(0x1a1)](_0x275444),this[_0x5d047e(0x1c6)][_0x5d047e(0x1b3)][_0x5d047e(0x1a2)](this[_0x5d047e(0x1c6)][_0x5d047e(0x1b3)][_0x5d047e(0x1e6)](_0x275444));}[_0x36bc02(0x1a1)](_0x13fc19){const _0x36bdbb=_0x36bc02,_0x21ee12=new _0x122007(this[_0x36bdbb(0x1c6)][_0x36bdbb(0x1e4)][_0x36bdbb(0x1b5)][_0x36bdbb(0x1dd)]),_0x2da156=new _0x3818ae({'name':/^h[1-5]$/}),_0x2f088e=[];let _0x17ab5b=!0x1;for(const _0x16d3b6 of _0x13fc19)_0x16d3b6['is'](_0x36bdbb(0x1e2))&&_0x2da156[_0x36bdbb(0x1e8)](_0x16d3b6)&&(_0x2f088e[_0x36bdbb(0x19c)](_0x16d3b6),'h1'==_0x16d3b6[_0x36bdbb(0x1e9)]&&(_0x17ab5b=!0x0));if(_0x17ab5b){for(const _0x270dd4 of _0x2f088e)_0x21ee12[_0x36bdbb(0x1aa)]('h'+(parseInt(_0x270dd4[_0x36bdbb(0x1e9)][0x1])+0x1),_0x270dd4);}}[_0x36bc02(0x1e5)](_0x4669d8){const _0x12ffa0=_0x36bc02;return this[_0x12ffa0(0x1c6)][_0x12ffa0(0x1e4)][_0x12ffa0(0x1b5)][_0x12ffa0(0x1c3)][_0x12ffa0(0x1b4)](this[_0x12ffa0(0x1d4)],_0x4669d8),this[_0x12ffa0(0x1d4)][_0x12ffa0(0x1f3)];}[_0x36bc02(0x1b0)](_0x4b6eff){const _0x5a57ec=_0x36bc02,_0x4c9899=_0x4b6eff[_0x5a57ec(0x1eb)]();return _0x4c9899[_0x5a57ec(0x1a6)](_0x5a57ec(0x19b))?_0x4c9899[_0x5a57ec(0x1ce)](_0x5a57ec(0x1b2))?_0x4c9899[_0x5a57ec(0x1c1)](0x7,_0x4c9899[_0x5a57ec(0x1d0)]-0x3):_0x4c9899[_0x5a57ec(0x1c1)](0x7):_0x4b6eff;}}
23
+ const _0x53286b=_0x11c5;function _0xf162(){const _0x56fd16=['element','from','_parseAndNormalizeContent','toView','27261gTxjpv','substring','viewToDom','startsWith','previousContext','tryAgainEvent','_domParser','1904276qeocuk','169846DPYZQG','editor','stopListening','childNodes','_xmlSerializer','_sanitizationContainer','ELEMENT_NODE','mainAction','nodeType','reverse','finishProcessing','6eJIwxg','previousActionId','_normalizeResponseHeadings','finally','serializeToString','then','initialContext','currentResponse','message','body','editing','```','processor','abort','536rAcJcS','_handleQuery','isProcessing','<h1></h1>','makeRequest','querySelector','once','updateView','746225JYjcDO','name','10BUNtJT','exec','parseFromString','textAdapter','startProcessing','stopProcessing','rename','length','data','endsWith','setContentOf','render','currentContext','catch','submitPrompt','innerHTML','text/html','```html','document','custom','push','2430021jiRqhR','match','domConverter','listenTo','value','view','handleError','htmlProcessor','set','previousLabel','15pkQAfN','set:currentContext','322982lyQLKX','destroy','_sanitizeHTML','prompt','isRendered','reset','previousQuery','_stripMarkdownSyntax','createElement','div','remove','stringify','trim','toModel','115647pjRLAb','_isH1TagSupportEnabled'];_0xf162=function(){return _0x56fd16;};return _0xf162();}(function(_0x1f88b8,_0x2b8398){const _0x22710e=_0x11c5,_0x3fbfe3=_0x1f88b8();while(!![]){try{const _0x1ba2bf=parseInt(_0x22710e(0xf3))/0x1+-parseInt(_0x22710e(0x10f))/0x2*(parseInt(_0x22710e(0xf1))/0x3)+parseInt(_0x22710e(0x10e))/0x4+-parseInt(_0x22710e(0xd0))/0x5+parseInt(_0x22710e(0x11a))/0x6*(parseInt(_0x22710e(0x101))/0x7)+-parseInt(_0x22710e(0xc8))/0x8*(parseInt(_0x22710e(0x107))/0x9)+parseInt(_0x22710e(0xd2))/0xa*(parseInt(_0x22710e(0xe7))/0xb);if(_0x1ba2bf===_0x2b8398)break;else _0x3fbfe3['push'](_0x3fbfe3['shift']());}catch(_0x535012){_0x3fbfe3['push'](_0x3fbfe3['shift']());}}}(_0xf162,0x3f660));import{ObservableMixin as _0x8ff53}from'ckeditor5/src/utils.js';import{AIRequestError as _0x469b94}from'../adapters/aiadapter.js';function _0x11c5(_0x35f4ef,_0x394e0b){const _0xf162d2=_0xf162();return _0x11c5=function(_0x11c599,_0x257d29){_0x11c599=_0x11c599-0xbf;let _0x362a03=_0xf162d2[_0x11c599];return _0x362a03;},_0x11c5(_0x35f4ef,_0x394e0b);}import{Matcher as _0x2522f2,UpcastWriter as _0x22707e}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
+ _0x8ff53(){constructor(_0x59c211,_0x30f90c,_0x571689){const _0x9ea158=_0x11c5;super(),this[_0x9ea158(0x110)]=_0x59c211,this[_0x9ea158(0xd5)]=_0x30f90c,this[_0x9ea158(0x114)]=document[_0x9ea158(0xfb)](_0x9ea158(0xfc)),this[_0x9ea158(0x10d)]=new DOMParser(),this[_0x9ea158(0x113)]=new XMLSerializer(),this[_0x9ea158(0xec)]=_0x571689,this[_0x9ea158(0xef)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x9ea158(0xf2),(_0x14ee35,_0x5cf28d,_0x3abfc7)=>{const _0x3b3d57=_0x9ea158;this[_0x3b3d57(0xec)][_0x3b3d57(0xeb)]=this[_0x3b3d57(0xf5)](_0x3abfc7);}),this[_0x9ea158(0xea)](this[_0x9ea158(0xec)],_0x9ea158(0xe0),(_0x14d69f,_0x261040)=>{const _0xcf2e2c=_0x9ea158,_0x45e95f=this[_0xcf2e2c(0xde)]||this[_0xcf2e2c(0xc0)];this[_0xcf2e2c(0xc9)](_0x261040,_0x45e95f,_0xcf2e2c(0xe5));}),this[_0x9ea158(0xea)](this[_0x9ea158(0xec)],_0x9ea158(0x10c),()=>{const _0x1759f3=_0x9ea158;this[_0x1759f3(0xec)][_0x1759f3(0xf6)]=this[_0x1759f3(0xf0)],this[_0x1759f3(0xc9)](this[_0x1759f3(0xf9)],this[_0x1759f3(0x10b)],this[_0x1759f3(0x11b)],this[_0x1759f3(0xf0)]);}),this[_0x9ea158(0xea)](this[_0x9ea158(0xec)],_0x9ea158(0xd7),()=>{const _0x209ab2=_0x9ea158;this[_0x209ab2(0xd7)]();});}[_0x53286b(0xf4)](){const _0x5646ff=_0x53286b;this[_0x5646ff(0x111)]();}async[_0x53286b(0xcf)]({actionId:_0x2bba76,query:_0x131be3,htmlContent:_0x4e1977,label:_0x2b236d,mainActionLabel:_0x552457}){const _0xfde844=_0x53286b;this[_0xfde844(0xec)][_0xfde844(0xf6)]=_0x2b236d,this[_0xfde844(0xec)][_0xfde844(0x116)]=_0x552457,this[_0xfde844(0xc0)]=_0x4e1977,_0x131be3&&(this[_0xfde844(0xec)][_0xfde844(0xf7)]?this[_0xfde844(0xc9)](_0x131be3,_0x4e1977,_0x2bba76,_0x2b236d):this[_0xfde844(0xec)][_0xfde844(0xce)](_0xfde844(0xdd),()=>{const _0x2fc837=_0xfde844;this[_0x2fc837(0xc9)](_0x131be3,_0x4e1977,_0x2bba76,_0x2b236d);}));}[_0x53286b(0xd7)](){const _0x229773=_0x53286b;this[_0x229773(0xca)]&&(this[_0x229773(0xca)]=!0x1,this[_0x229773(0xec)][_0x229773(0x119)](),this[_0x229773(0xd5)][_0x229773(0xc7)]());}[_0x53286b(0xf8)](){const _0x159236=_0x53286b;this[_0x159236(0xc0)]='',this[_0x159236(0xde)]='',this[_0x159236(0xc1)]='',this[_0x159236(0x10b)]='',this[_0x159236(0xf9)]='',this[_0x159236(0xf0)]='',this[_0x159236(0x11b)]=void 0x0,this[_0x159236(0xec)][_0x159236(0xf8)](),this[_0x159236(0xd7)]();}async[_0x53286b(0xc9)](_0x59a85c,_0xbbc314,_0x24dc3f,_0x5735a8){const _0x512215=_0x53286b;return this[_0x512215(0xca)]=!0x0,this[_0x512215(0xec)][_0x512215(0xd6)](),this[_0x512215(0x10b)]=_0xbbc314,this[_0x512215(0xf9)]=_0x59a85c,this[_0x512215(0xf0)]=_0x5735a8||_0x59a85c,this[_0x512215(0x11b)]=_0x24dc3f,new Promise(_0x1c8888=>{const _0x51c206=_0x512215;this[_0x51c206(0xd5)][_0x51c206(0xcc)]({'query':_0x59a85c,'context':_0xbbc314,'onData':_0x4fbbb5=>{const _0x82899f=_0x51c206;this[_0x82899f(0xc1)]=_0x4fbbb5,this[_0x82899f(0xde)]=this[_0x82899f(0x105)](this[_0x82899f(0xc1)]);},'actionId':_0x24dc3f})[_0x51c206(0xbf)](()=>{const _0x47d51f=_0x51c206;!this[_0x47d51f(0xde)]&&this[_0x47d51f(0xc1)]&&(this[_0x47d51f(0xde)]=this[_0x47d51f(0x105)](this[_0x47d51f(0xc1)],!0x0));})[_0x51c206(0xdf)](_0x3c33bd=>{const _0x5ac6e7=_0x51c206;_0x3c33bd instanceof _0x469b94?this[_0x5ac6e7(0xec)][_0x5ac6e7(0xed)](_0x3c33bd[_0x5ac6e7(0xc2)]):this[_0x5ac6e7(0xec)][_0x5ac6e7(0xed)](),_0x1c8888();})[_0x51c206(0x11d)](()=>{const _0x36f2d8=_0x51c206;this[_0x36f2d8(0xd7)](),_0x1c8888();});});}[_0x53286b(0x105)](_0xcac6fc,_0x3edd34=!0x1){const _0x11621c=_0x53286b,_0x362c95=X[_0x11621c(0xd3)](_0xcac6fc);_0xcac6fc=_0x362c95?_0xcac6fc[_0x11621c(0x108)](_0x362c95[0x1][_0x11621c(0xd9)]):_0xcac6fc[_0x11621c(0xd9)]<0x64&&!_0x3edd34?'':this[_0x11621c(0xfa)](_0xcac6fc);const _0x4e99bf=this[_0x11621c(0x10d)][_0x11621c(0xd4)](_0xcac6fc,_0x11621c(0xe2));if(_0x362c95){const _0x4dc415=Array[_0x11621c(0x104)](_0x4e99bf[_0x11621c(0xc3)][_0x11621c(0x112)]);_0x4dc415[_0x11621c(0x118)]();for(const _0x244748 of _0x4dc415){if(_0x244748[_0x11621c(0x117)]==Node[_0x11621c(0x115)])break;_0x244748[_0x11621c(0xfd)]();}}const _0x2a647c=this[_0x11621c(0x110)][_0x11621c(0xda)][_0x11621c(0xc6)][_0x11621c(0x106)](this[_0x11621c(0x113)][_0x11621c(0x11e)](_0x4e99bf[_0x11621c(0xc3)]));return this[_0x11621c(0x102)]()||this[_0x11621c(0x11c)](_0x2a647c),this[_0x11621c(0x110)][_0x11621c(0xda)][_0x11621c(0xfe)](this[_0x11621c(0x110)][_0x11621c(0xda)][_0x11621c(0x100)](_0x2a647c));}[_0x53286b(0x11c)](_0x33c2fe){const _0x1d6682=_0x53286b,_0x7afb14=new _0x22707e(this[_0x1d6682(0x110)][_0x1d6682(0xc4)][_0x1d6682(0xec)][_0x1d6682(0xe4)]),_0x23ed26=new _0x2522f2({'name':/^h[1-5]$/}),_0x889000=[];let _0x39c012=!0x1;for(const _0x2a30f9 of _0x33c2fe)_0x2a30f9['is'](_0x1d6682(0x103))&&_0x23ed26[_0x1d6682(0xe8)](_0x2a30f9)&&(_0x889000[_0x1d6682(0xe6)](_0x2a30f9),'h1'==_0x2a30f9[_0x1d6682(0xd1)]&&(_0x39c012=!0x0));if(_0x39c012){for(const _0x2c2803 of _0x889000)_0x7afb14[_0x1d6682(0xd8)]('h'+(parseInt(_0x2c2803[_0x1d6682(0xd1)][0x1])+0x1),_0x2c2803);}}[_0x53286b(0x102)](){const _0x563389=_0x53286b,{data:_0x108e90,editing:_0x5e8dfe}=this[_0x563389(0x110)],_0xc9ac0f=_0x108e90[_0x563389(0xee)][_0x563389(0x106)](_0x563389(0xcb)),_0x28611c=_0x108e90[_0x563389(0x106)](_0x108e90[_0x563389(0x100)](_0xc9ac0f));return!!_0x5e8dfe[_0x563389(0xec)][_0x563389(0xe9)][_0x563389(0x109)](_0x28611c)[_0x563389(0xcd)]('h1');}[_0x53286b(0xf5)](_0x517ac1){const _0x2401f0=_0x53286b;return this[_0x2401f0(0x110)][_0x2401f0(0xc4)][_0x2401f0(0xec)][_0x2401f0(0xe9)][_0x2401f0(0xdc)](this[_0x2401f0(0x114)],_0x517ac1),this[_0x2401f0(0x114)][_0x2401f0(0xe1)];}[_0x53286b(0xfa)](_0x393e72){const _0x455598=_0x53286b,_0x19d329=_0x393e72[_0x455598(0xff)]();return _0x19d329[_0x455598(0x10a)](_0x455598(0xe3))?_0x19d329[_0x455598(0xdb)](_0x455598(0xc5))?_0x19d329[_0x455598(0x108)](0x7,_0x19d329[_0x455598(0xd9)]-0x3):_0x19d329[_0x455598(0x108)](0x7):_0x393e72;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3556c5=_0x3e03;function _0x8284(){const _0x58f9c3=['highlightText','match','121491buPjpR','filter','children','1HGmJAZ','12YOTgdi','change:enabledCommandsIds','525742hZopbW','702632whOMSk','28ffWGDW','7495fVRRWr','first','set','length','enabledCommandsIds','130SwFcUI','639648qSEuCH','get','role','9187585KEKIJU','isEnabled','label','labelView','commandDefinition','items','980RWfJNy','listbox','includes','1194861dacHMt','isVisible'];_0x8284=function(){return _0x58f9c3;};return _0x8284();}(function(_0x2b8bb7,_0x5b39d5){const _0x45cbfe=_0x3e03,_0x3dee5c=_0x2b8bb7();while(!![]){try{const _0x265689=parseInt(_0x45cbfe(0x175))/0x1*(-parseInt(_0x45cbfe(0x178))/0x2)+-parseInt(_0x45cbfe(0x16e))/0x3+parseInt(_0x45cbfe(0x16b))/0x4*(-parseInt(_0x45cbfe(0x15c))/0x5)+-parseInt(_0x45cbfe(0x162))/0x6+parseInt(_0x45cbfe(0x17a))/0x7*(parseInt(_0x45cbfe(0x179))/0x8)+parseInt(_0x45cbfe(0x172))/0x9*(parseInt(_0x45cbfe(0x161))/0xa)+parseInt(_0x45cbfe(0x165))/0xb*(parseInt(_0x45cbfe(0x176))/0xc);if(_0x265689===_0x5b39d5)break;else _0x3dee5c['push'](_0x3dee5c['shift']());}catch(_0x12ea76){_0x3dee5c['push'](_0x3dee5c['shift']());}}}(_0x8284,0x376c9));import{ListView as _0xbf8f26,ListItemGroupView as _0x573f1f}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0xeb4144}from'../../aiassistantui.js';function _0x3e03(_0x1520db,_0x3c564e){const _0x8284f1=_0x8284();return _0x3e03=function(_0x3e03f5,_0x236a24){_0x3e03f5=_0x3e03f5-0x15c;let _0x4a0f46=_0x8284f1[_0x3e03f5];return _0x4a0f46;},_0x3e03(_0x1520db,_0x3c564e);}export default class U extends _0xbf8f26{constructor(_0xe4bea0){const _0xc3e512=_0x3e03;super(_0xe4bea0),this[_0xc3e512(0x164)]=_0xc3e512(0x16c),this[_0xc3e512(0x15e)](_0xc3e512(0x160),[]),this['on'](_0xc3e512(0x177),()=>{const _0x29f01e=_0xc3e512;for(const _0x44ad8d of this[_0x29f01e(0x16a)])if(_0x44ad8d instanceof _0x573f1f){for(const _0x1c3300 of _0x44ad8d[_0x29f01e(0x16a)])if(_0x1c3300 instanceof _0xeb4144){const _0x3dae9b=_0x1c3300[_0x29f01e(0x174)][_0x29f01e(0x163)](0x0);this[_0x29f01e(0x160)][_0x29f01e(0x16d)](_0x1c3300[_0x29f01e(0x169)]['id'])?_0x3dae9b[_0x29f01e(0x166)]=!0x0:_0x3dae9b[_0x29f01e(0x166)]=!0x1;}}});}[_0x3556c5(0x173)](_0x398fcb){const _0x3da1b5=_0x3556c5;let _0x18ccfc=0x0,_0x3700ea=0x0;for(const _0x5d4513 of this[_0x3da1b5(0x16a)]){const _0x269636=_0x5d4513,_0x39cd10=_0x269636[_0x3da1b5(0x16a)],_0x5d87ad=_0x398fcb&&!!_0x269636[_0x3da1b5(0x167)][_0x3da1b5(0x171)](_0x398fcb);_0x269636[_0x3da1b5(0x168)][_0x3da1b5(0x170)](_0x5d87ad?_0x398fcb:null);for(const _0x5c11a8 of _0x39cd10){const _0x1d2511=_0x5c11a8[_0x3da1b5(0x174)][_0x3da1b5(0x15d)],_0x18bec3=_0x1d2511[_0x3da1b5(0x168)];if(_0x398fcb){const _0x22fde5=!!_0x1d2511[_0x3da1b5(0x167)][_0x3da1b5(0x171)](_0x398fcb);_0x18bec3[_0x3da1b5(0x170)](_0x22fde5?_0x398fcb:null),_0x5c11a8[_0x3da1b5(0x16f)]=_0x5d87ad||_0x22fde5;}else _0x5c11a8[_0x3da1b5(0x16f)]=!0x0,_0x18bec3[_0x3da1b5(0x170)](null);}const _0x4b356a=_0x39cd10[_0x3da1b5(0x173)](_0x34d701=>_0x34d701[_0x3da1b5(0x16f)])[_0x3da1b5(0x15f)];_0x18ccfc+=_0x269636[_0x3da1b5(0x16a)][_0x3da1b5(0x15f)],_0x3700ea+=_0x5d87ad?_0x269636[_0x3da1b5(0x16a)][_0x3da1b5(0x15f)]:_0x4b356a,_0x269636[_0x3da1b5(0x16f)]=_0x5d87ad||!!_0x4b356a;}return{'resultsCount':_0x3700ea,'totalItemsCount':_0x18ccfc};}}
23
+ const _0x198231=_0x2865;(function(_0x3e1580,_0x5deb95){const _0x4d6d54=_0x2865,_0x37bfc0=_0x3e1580();while(!![]){try{const _0x1080aa=parseInt(_0x4d6d54(0x16e))/0x1+parseInt(_0x4d6d54(0x179))/0x2*(parseInt(_0x4d6d54(0x170))/0x3)+parseInt(_0x4d6d54(0x17d))/0x4*(-parseInt(_0x4d6d54(0x171))/0x5)+-parseInt(_0x4d6d54(0x16c))/0x6*(-parseInt(_0x4d6d54(0x172))/0x7)+parseInt(_0x4d6d54(0x181))/0x8*(-parseInt(_0x4d6d54(0x187))/0x9)+-parseInt(_0x4d6d54(0x188))/0xa+parseInt(_0x4d6d54(0x175))/0xb*(parseInt(_0x4d6d54(0x16a))/0xc);if(_0x1080aa===_0x5deb95)break;else _0x37bfc0['push'](_0x37bfc0['shift']());}catch(_0x26cb4c){_0x37bfc0['push'](_0x37bfc0['shift']());}}}(_0x46f9,0xdc97b));function _0x46f9(){const _0x5c0d5b=['475545BwjfUO','children','156QkzBNR','3748465lMkjDM','10875928MBqNYn','change:enabledCommandsIds','commandDefinition','462LuJCQx','labelView','includes','get','47870GsXHYQ','label','isEnabled','items','8LACMgv','length','set','listbox','376jmfMwR','role','first','highlightText','match','filter','20115njFMLE','13793430goQgUE','175272Hzblel','enabledCommandsIds','6HJfqEX','isVisible'];_0x46f9=function(){return _0x5c0d5b;};return _0x46f9();}function _0x2865(_0x1acc74,_0x283850){const _0x46f929=_0x46f9();return _0x2865=function(_0x2865d7,_0x88998c){_0x2865d7=_0x2865d7-0x16a;let _0x55902c=_0x46f929[_0x2865d7];return _0x55902c;},_0x2865(_0x1acc74,_0x283850);}import{ListView as _0xd05187,ListItemGroupView as _0x5bab12}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x13ede1}from'../../aiassistantui.js';export default class U extends _0xd05187{constructor(_0x12a792){const _0x3aab9f=_0x2865;super(_0x12a792),this[_0x3aab9f(0x182)]=_0x3aab9f(0x180),this[_0x3aab9f(0x17f)](_0x3aab9f(0x16b),[]),this['on'](_0x3aab9f(0x173),()=>{const _0x408507=_0x3aab9f;for(const _0x528ff5 of this[_0x408507(0x17c)])if(_0x528ff5 instanceof _0x5bab12){for(const _0x582772 of _0x528ff5[_0x408507(0x17c)])if(_0x582772 instanceof _0x13ede1){const _0x42323f=_0x582772[_0x408507(0x16f)][_0x408507(0x178)](0x0);this[_0x408507(0x16b)][_0x408507(0x177)](_0x582772[_0x408507(0x174)]['id'])?_0x42323f[_0x408507(0x17b)]=!0x0:_0x42323f[_0x408507(0x17b)]=!0x1;}}});}[_0x198231(0x186)](_0x27b8c1){const _0x4261ea=_0x198231;let _0x4de05d=0x0,_0x315482=0x0;for(const _0x265ff0 of this[_0x4261ea(0x17c)]){const _0x22c622=_0x265ff0,_0x15f0c0=_0x22c622[_0x4261ea(0x17c)],_0x1ae81f=_0x27b8c1&&!!_0x22c622[_0x4261ea(0x17a)][_0x4261ea(0x185)](_0x27b8c1);_0x22c622[_0x4261ea(0x176)][_0x4261ea(0x184)](_0x1ae81f?_0x27b8c1:null);for(const _0x5c7300 of _0x15f0c0){const _0x41eb52=_0x5c7300[_0x4261ea(0x16f)][_0x4261ea(0x183)],_0x4d246e=_0x41eb52[_0x4261ea(0x176)];if(_0x27b8c1){const _0x3e041d=!!_0x41eb52[_0x4261ea(0x17a)][_0x4261ea(0x185)](_0x27b8c1);_0x4d246e[_0x4261ea(0x184)](_0x3e041d?_0x27b8c1:null),_0x5c7300[_0x4261ea(0x16d)]=_0x1ae81f||_0x3e041d;}else _0x5c7300[_0x4261ea(0x16d)]=!0x0,_0x4d246e[_0x4261ea(0x184)](null);}const _0x33673c=_0x15f0c0[_0x4261ea(0x186)](_0x47a940=>_0x47a940[_0x4261ea(0x16d)])[_0x4261ea(0x17e)];_0x4de05d+=_0x22c622[_0x4261ea(0x17c)][_0x4261ea(0x17e)],_0x315482+=_0x1ae81f?_0x22c622[_0x4261ea(0x17c)][_0x4261ea(0x17e)]:_0x33673c,_0x22c622[_0x4261ea(0x16d)]=_0x1ae81f||!!_0x33673c;}return{'resultsCount':_0x315482,'totalItemsCount':_0x4de05d};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xd518(_0xe64c41,_0x32ba6a){const _0x515771=_0x5157();return _0xd518=function(_0xd51820,_0x3e88ca){_0xd51820=_0xd51820-0x154;let _0x19e56e=_0x515771[_0xd51820];return _0x19e56e;},_0xd518(_0xe64c41,_0x32ba6a);}(function(_0x1eaff4,_0x528759){const _0x124d5f=_0xd518,_0x19f9e9=_0x1eaff4();while(!![]){try{const _0x4e4805=parseInt(_0x124d5f(0x158))/0x1+-parseInt(_0x124d5f(0x161))/0x2*(-parseInt(_0x124d5f(0x15e))/0x3)+-parseInt(_0x124d5f(0x155))/0x4*(-parseInt(_0x124d5f(0x159))/0x5)+parseInt(_0x124d5f(0x15c))/0x6+-parseInt(_0x124d5f(0x15d))/0x7+-parseInt(_0x124d5f(0x15a))/0x8+-parseInt(_0x124d5f(0x160))/0x9;if(_0x4e4805===_0x528759)break;else _0x19f9e9['push'](_0x19f9e9['shift']());}catch(_0x39601c){_0x19f9e9['push'](_0x19f9e9['shift']());}}}(_0x5157,0x32933));function _0x5157(){const _0x1c83f9=['set','4578327cDaAJA','26jOXKfD','style','162788YWRtIM','ck-button__label','bindTemplate','258334cZmbiE','25MjVwCO','1431176fMFVKh','extendTemplate','1915086TPTRQT','2098789xMOkhA','95442YJPLhU'];_0x5157=function(){return _0x1c83f9;};return _0x5157();}import{HighlightedTextView as _0x2894db}from'ckeditor5/src/ui.js';export default class N extends _0x2894db{constructor(){const _0x23b23a=_0xd518;super(),this[_0x23b23a(0x15f)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x123916=this[_0x23b23a(0x157)];this[_0x23b23a(0x15b)]({'attributes':{'class':[_0x23b23a(0x156)],'style':_0x123916['to'](_0x23b23a(0x154)),'id':_0x123916['to']('id')}});}}
23
+ (function(_0x583f10,_0x2d0c94){const _0x5de86c=_0x1275,_0x1cc8f2=_0x583f10();while(!![]){try{const _0x2dcd72=-parseInt(_0x5de86c(0x118))/0x1+parseInt(_0x5de86c(0x110))/0x2*(-parseInt(_0x5de86c(0x113))/0x3)+-parseInt(_0x5de86c(0x116))/0x4*(-parseInt(_0x5de86c(0x115))/0x5)+-parseInt(_0x5de86c(0x114))/0x6+-parseInt(_0x5de86c(0x117))/0x7*(-parseInt(_0x5de86c(0x11b))/0x8)+-parseInt(_0x5de86c(0x111))/0x9+parseInt(_0x5de86c(0x112))/0xa;if(_0x2dcd72===_0x2d0c94)break;else _0x1cc8f2['push'](_0x1cc8f2['shift']());}catch(_0x3488f3){_0x1cc8f2['push'](_0x1cc8f2['shift']());}}}(_0x3660,0x2e46c));function _0x3660(){const _0x3888e5=['bindTemplate','extendTemplate','2wdZESr','698220sWHGiQ','8379540KAxxqA','841785TKITmK','1790298HErztd','5oOTNfy','311944liZiZg','7QqjTRy','89183QLswzy','ck-button__label','set','154792jXIGaQ','style'];_0x3660=function(){return _0x3888e5;};return _0x3660();}import{HighlightedTextView as _0x1b444a}from'ckeditor5/src/ui.js';function _0x1275(_0x366ed3,_0xaf6866){const _0x36606e=_0x3660();return _0x1275=function(_0x127517,_0x42c6df){_0x127517=_0x127517-0x110;let _0x2621c7=_0x36606e[_0x127517];return _0x2621c7;},_0x1275(_0x366ed3,_0xaf6866);}export default class N extends _0x1b444a{constructor(){const _0x24e60a=_0x1275;super(),this[_0x24e60a(0x11a)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x5b6181=this[_0x24e60a(0x11d)];this[_0x24e60a(0x11e)]({'attributes':{'class':[_0x24e60a(0x119)],'style':_0x5b6181['to'](_0x24e60a(0x11c)),'id':_0x5b6181['to']('id')}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x27f26a,_0x485698){const _0x230b72=_0x842e,_0x1be1a0=_0x27f26a();while(!![]){try{const _0x5116e7=-parseInt(_0x230b72(0x14e))/0x1+parseInt(_0x230b72(0x146))/0x2+-parseInt(_0x230b72(0x141))/0x3*(parseInt(_0x230b72(0x145))/0x4)+-parseInt(_0x230b72(0x148))/0x5*(parseInt(_0x230b72(0x149))/0x6)+parseInt(_0x230b72(0x144))/0x7+-parseInt(_0x230b72(0x14a))/0x8+parseInt(_0x230b72(0x143))/0x9;if(_0x5116e7===_0x485698)break;else _0x1be1a0['push'](_0x1be1a0['shift']());}catch(_0x21ec1f){_0x1be1a0['push'](_0x1be1a0['shift']());}}}(_0x1a24,0x96a1e));function _0x842e(_0xffadf4,_0x1c604f){const _0x1a24d0=_0x1a24();return _0x842e=function(_0x842e0b,_0x5501eb){_0x842e0b=_0x842e0b-0x141;let _0x13590d=_0x1a24d0[_0x842e0b];return _0x13590d;},_0x842e(_0xffadf4,_0x1c604f);}import{HighlightedTextView as _0x11150b}from'ckeditor5/src/ui.js';function _0x1a24(){const _0x34d50f=['2532128DsFbjx','for','ck-label','set','885604SxWwrj','ck-editor__label_','23817eqxoRY','extendTemplate','11163501CcqVUw','2954357kxNIyc','4ImmJyk','2456206SnqCrn','bindTemplate','5tBybhj','6380964bNNYTY'];_0x1a24=function(){return _0x34d50f;};return _0x1a24();}import{uid as _0x1de101}from'ckeditor5/src/utils.js';export default class S extends _0x11150b{constructor(){const _0x24c8d9=_0x842e;super(),this[_0x24c8d9(0x14d)](_0x24c8d9(0x14b),void 0x0);const _0x22ae59=this[_0x24c8d9(0x147)];this['id']=_0x24c8d9(0x14f)+_0x1de101(),this[_0x24c8d9(0x142)]({'attributes':{'class':['ck',_0x24c8d9(0x14c)],'id':this['id'],'for':_0x22ae59['to'](_0x24c8d9(0x14b))}});}}
23
+ (function(_0x493acf,_0x12381c){const _0x12e11b=_0x1496,_0xfadd3d=_0x493acf();while(!![]){try{const _0x52c54f=parseInt(_0x12e11b(0xed))/0x1*(parseInt(_0x12e11b(0xec))/0x2)+parseInt(_0x12e11b(0xe2))/0x3*(parseInt(_0x12e11b(0xeb))/0x4)+-parseInt(_0x12e11b(0xe1))/0x5+parseInt(_0x12e11b(0xe4))/0x6+-parseInt(_0x12e11b(0xea))/0x7+parseInt(_0x12e11b(0xe9))/0x8+-parseInt(_0x12e11b(0xe7))/0x9;if(_0x52c54f===_0x12381c)break;else _0xfadd3d['push'](_0xfadd3d['shift']());}catch(_0x10cce0){_0xfadd3d['push'](_0xfadd3d['shift']());}}}(_0x5ca3,0x9cc9d));function _0x5ca3(){const _0x2a3e96=['set','ck-editor__label_','2083790BDGmYC','293196JxjkxA','bindTemplate','5805444zKKmMI','ck-label','extendTemplate','6092262NzBymT','for','2305256MXJaoh','7233345ZdyOcF','52oElQYU','458mGCxfJ','1061KTksqW'];_0x5ca3=function(){return _0x2a3e96;};return _0x5ca3();}import{HighlightedTextView as _0x2973c3}from'ckeditor5/src/ui.js';import{uid as _0x5e9f4e}from'ckeditor5/src/utils.js';function _0x1496(_0x519e14,_0x58ca33){const _0x5ca3a4=_0x5ca3();return _0x1496=function(_0x14968f,_0x487e1b){_0x14968f=_0x14968f-0xdf;let _0x3fddff=_0x5ca3a4[_0x14968f];return _0x3fddff;},_0x1496(_0x519e14,_0x58ca33);}export default class S extends _0x2973c3{constructor(){const _0x269236=_0x1496;super(),this[_0x269236(0xdf)](_0x269236(0xe8),void 0x0);const _0x521b43=this[_0x269236(0xe3)];this['id']=_0x269236(0xe0)+_0x5e9f4e(),this[_0x269236(0xe6)]({'attributes':{'class':['ck',_0x269236(0xe5)],'id':this['id'],'for':_0x521b43['to'](_0x269236(0xe8))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3f19(_0x11a21f,_0x5bd791){const _0x4e54eb=_0x4e54();return _0x3f19=function(_0x3f194c,_0x160624){_0x3f194c=_0x3f194c-0xfc;let _0x477c07=_0x4e54eb[_0x3f194c];return _0x477c07;},_0x3f19(_0x11a21f,_0x5bd791);}function _0x4e54(){const _0x5ba1f4=['ck-content','querySelector','removeAllRanges','render','3123FxJICv','5442619nGOmLz','div','ck-ai-form__content-field','isVisible','bindTemplate','body','mousedown','965988rvVHXu','execCommand','isProcessing','ck-ai-form__content-area--processing','appendLoader','createRange','text/html','appendChild','focus','AI\x20is\x20writing...','\x20ck-ai-form__copy-button--copied','absolute','setStartAfter','ClipboardItem','smooth','left','class','listenTo','text/plain','icon','firstElementChild','wheel','copy','ck-ai-form__copy-button','addRange','ck-hidden','setTemplate','execute','133805GuWYJF','isEnabled','.ck-ai-form__loader','position','set','loaderView','scrollTo','ck-reset_all-excluded','Copy','<span>[</span>','ck-ai-form__content-area','change:isProcessing','setContent','getSelection','style','bind','_copyHTMLToClipboard','check','ck-ai-form__loader','write','innerHTML','copyButtonView','clipboard','setEndBefore','locale','ck-ai-form__copy-button-wrapper','3598752exBcEg','66880YrchOy','change:value','<span>]</span>','_createLoader','value','2847658XBJzhG','scrollHeight','createElement','element','204tDsEWc','ck-ai-form__content-area-wrapper','lastElementChild','contentFieldView','remove','-9999px','_createCopyButton','4130268PDgjzQ','textContent'];_0x4e54=function(){return _0x5ba1f4;};return _0x4e54();}const _0x30244b=_0x3f19;(function(_0x3f3461,_0x15331d){const _0x37fa16=_0x3f19,_0x457d53=_0x3f3461();while(!![]){try{const _0x549d43=-parseInt(_0x37fa16(0x144))/0x1+parseInt(_0x37fa16(0x12b))/0x2+-parseInt(_0x37fa16(0x136))/0x3+parseInt(_0x37fa16(0x12f))/0x4*(-parseInt(_0x37fa16(0x10b))/0x5)+-parseInt(_0x37fa16(0x125))/0x6+parseInt(_0x37fa16(0x13d))/0x7+parseInt(_0x37fa16(0x126))/0x8*(parseInt(_0x37fa16(0x13c))/0x9);if(_0x549d43===_0x15331d)break;else _0x457d53['push'](_0x457d53['shift']());}catch(_0x37716f){_0x457d53['push'](_0x457d53['shift']());}}}(_0x4e54,0xc2127));import{global as _0x1021ee}from'ckeditor5/src/utils.js';import{View as _0x1091a1,ButtonView as _0x3a1fa7,SpinnerView as _0x5869e7}from'ckeditor5/src/ui.js';import _0x1cfe24 from'../../../theme/icons/copy.svg';import{getTranslation as _0x4747fc}from'../../utils/common-translations.js';import{icons as _0x34be2b}from'ckeditor5/src/core.js';export default class nt extends _0x1091a1{constructor(_0x5ce8f7,_0x51f08f=''){const _0x1ff8d1=_0x3f19;super(_0x5ce8f7),this[_0x1ff8d1(0x10f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4bbd95=this[_0x1ff8d1(0x141)];this[_0x1ff8d1(0x132)]=new ContentFieldView(_0x5ce8f7,_0x51f08f),this[_0x1ff8d1(0x120)]=this[_0x1ff8d1(0x135)](),this[_0x1ff8d1(0x109)]({'tag':_0x1ff8d1(0x13e),'attributes':{'class':['ck',_0x1ff8d1(0x130),_0x4bbd95['if'](_0x1ff8d1(0x140),_0x1ff8d1(0x108),_0x436918=>!_0x436918)],'tabindex':'-1'},'children':[{'tag':_0x1ff8d1(0x13e),'attributes':{'class':['ck',_0x1ff8d1(0x115),_0x4bbd95['if'](_0x1ff8d1(0x146),_0x1ff8d1(0x147))]},'children':[this[_0x1ff8d1(0x132)],{'tag':_0x1ff8d1(0x13e),'attributes':{'class':['ck',_0x1ff8d1(0x124)]},'children':[this[_0x1ff8d1(0x120)]]}]}]});}[_0x30244b(0x13b)](){const _0x4e56ae=_0x30244b;super[_0x4e56ae(0x13b)](),this[_0x4e56ae(0x12a)]&&this[_0x4e56ae(0x132)][_0x4e56ae(0x117)](this[_0x4e56ae(0x12a)]);let _0x502f3b=!0x1;this['on'](_0x4e56ae(0x127),(_0x162bf1,_0x4ad55f,_0xc412b7)=>{const _0x1aa9df=_0x4e56ae,_0x28ffb9=!this[_0x1aa9df(0x132)][_0x1aa9df(0x12e)][_0x1aa9df(0x139)](_0x1aa9df(0x10d));this[_0x1aa9df(0x132)][_0x1aa9df(0x117)](_0xc412b7),this[_0x1aa9df(0x146)]&&_0x28ffb9&&!_0x502f3b&&this[_0x1aa9df(0x12e)][_0x1aa9df(0x111)]({'top':this[_0x1aa9df(0x12e)][_0x1aa9df(0x12c)],'behavior':_0x1aa9df(0xfd)});}),this['on'](_0x4e56ae(0x116),(_0x70179c,_0x59f679,_0x4026e3)=>{const _0x371ae9=_0x4e56ae;_0x502f3b=!0x1,_0x4026e3?(this[_0x371ae9(0x12a)]=null,this[_0x371ae9(0x132)][_0x371ae9(0x148)]()):this[_0x371ae9(0x12a)]||this[_0x371ae9(0x132)][_0x371ae9(0x117)]('');}),this[_0x4e56ae(0x100)](this[_0x4e56ae(0x12e)],_0x4e56ae(0x104),()=>{_0x502f3b=!0x0;}),this[_0x4e56ae(0x100)](this[_0x4e56ae(0x12e)],_0x4e56ae(0x143),()=>{_0x502f3b=!0x0;});}[_0x30244b(0x14c)](){const _0x45ec68=_0x30244b;this[_0x45ec68(0x12e)][_0x45ec68(0x14c)]();}[_0x30244b(0x135)](){const _0x567f51=_0x30244b,_0x4be0ff=this[_0x567f51(0x123)],_0x22b2b3=new _0x3a1fa7(this[_0x567f51(0x123)]),_0x5d848f=_0x567f51(0x106);return _0x22b2b3[_0x567f51(0x10f)]({'label':_0x4747fc(_0x4be0ff,_0x567f51(0x113)),'icon':_0x1cfe24,'class':_0x5d848f,'tooltip':!0x0}),_0x22b2b3[_0x567f51(0x11a)](_0x567f51(0x140))['to'](this,_0x567f51(0x12a),_0x5093b1=>!!_0x5093b1),_0x22b2b3[_0x567f51(0x11a)](_0x567f51(0x10c))['to'](this,_0x567f51(0x146),_0x241f67=>!_0x241f67),_0x22b2b3['on'](_0x567f51(0x10a),()=>{const _0x49cfb5=_0x567f51;this[_0x49cfb5(0x11b)](this[_0x49cfb5(0x132)][_0x49cfb5(0x12e)]),_0x22b2b3[_0x49cfb5(0x102)]=_0x34be2b[_0x49cfb5(0x11c)],_0x22b2b3[_0x49cfb5(0xff)]=_0x5d848f+_0x49cfb5(0x14e),this[_0x49cfb5(0x14c)](),setTimeout(()=>{const _0x1dc755=_0x49cfb5;_0x22b2b3[_0x1dc755(0x102)]=_0x1cfe24,_0x22b2b3[_0x1dc755(0xff)]=_0x5d848f;},0x3e8);}),_0x22b2b3;}[_0x30244b(0x11b)](_0x2486d8){const _0x25872f=_0x30244b,{window:_0x5a138d,document:_0x8ac569}=_0x1021ee;if(_0x5a138d[_0x25872f(0xfc)]){const {Blob:_0x31c3bd,ClipboardItem:_0x54312}=_0x5a138d,_0x2ecb73=[new _0x54312({'text/html':new _0x31c3bd([_0x2486d8[_0x25872f(0x11f)]],{'type':_0x25872f(0x14a)}),'text/plain':new _0x31c3bd([_0x2486d8[_0x25872f(0x137)]||''],{'type':_0x25872f(0x101)})})];navigator[_0x25872f(0x121)][_0x25872f(0x11e)](_0x2ecb73);}else{const _0xd21b8d=_0x8ac569[_0x25872f(0x12d)](_0x25872f(0x13e));_0xd21b8d[_0x25872f(0x119)][_0x25872f(0x10e)]=_0x25872f(0x14f),_0xd21b8d[_0x25872f(0x119)][_0x25872f(0xfe)]=_0x25872f(0x134),_0xd21b8d[_0x25872f(0x11f)]=_0x25872f(0x114)+_0x2486d8[_0x25872f(0x11f)]+_0x25872f(0x128),_0x8ac569[_0x25872f(0x142)][_0x25872f(0x14b)](_0xd21b8d);const _0x23738e=_0x8ac569[_0x25872f(0x149)]();_0x23738e[_0x25872f(0x150)](_0xd21b8d[_0x25872f(0x103)]),_0x23738e[_0x25872f(0x122)](_0xd21b8d[_0x25872f(0x131)]);const _0x435ea8=_0x5a138d[_0x25872f(0x118)]();_0x435ea8[_0x25872f(0x13a)](),_0x435ea8[_0x25872f(0x107)](_0x23738e),_0x8ac569[_0x25872f(0x145)](_0x25872f(0x105)),_0xd21b8d[_0x25872f(0x133)]();}}}export class ContentFieldView extends _0x1091a1{constructor(_0x42da79,_0x3cfb16=''){const _0x54e1a1=_0x30244b;super(_0x42da79),this[_0x54e1a1(0x110)]=this[_0x54e1a1(0x129)](),this[_0x54e1a1(0x109)]({'tag':_0x54e1a1(0x13e),'attributes':{'class':['ck',_0x54e1a1(0x138),_0x3cfb16,_0x54e1a1(0x112),_0x54e1a1(0x13f)]}});}[_0x30244b(0x117)](_0x131a64){const _0x3dcadf=_0x30244b;this[_0x3dcadf(0x12e)][_0x3dcadf(0x11f)]=_0x131a64;}[_0x30244b(0x148)](){const _0x4abe7f=_0x30244b;this[_0x4abe7f(0x12e)][_0x4abe7f(0x14b)](this[_0x4abe7f(0x110)][_0x4abe7f(0x12e)]);}[_0x30244b(0x129)](){const _0x520efb=_0x30244b,_0x3a6f8b=new _0x1091a1(),_0x2bcd7b=this[_0x520efb(0x123)],_0x58e4ac=new _0x5869e7();return _0x58e4ac[_0x520efb(0x140)]=!0x0,_0x3a6f8b[_0x520efb(0x109)]({'tag':_0x520efb(0x13e),'attributes':{'class':['ck',_0x520efb(0x11d)]},'children':[_0x58e4ac,{'text':_0x4747fc(_0x2bcd7b,_0x520efb(0x14d))}]}),_0x3a6f8b[_0x520efb(0x13b)](),_0x3a6f8b;}}
23
+ const _0x2692c5=_0xece6;(function(_0x5bd689,_0x3380e3){const _0x3d17b2=_0xece6,_0x49263f=_0x5bd689();while(!![]){try{const _0x3ebec3=-parseInt(_0x3d17b2(0xa1))/0x1*(parseInt(_0x3d17b2(0xdf))/0x2)+parseInt(_0x3d17b2(0xd3))/0x3*(-parseInt(_0x3d17b2(0x95))/0x4)+parseInt(_0x3d17b2(0xcf))/0x5*(-parseInt(_0x3d17b2(0x9e))/0x6)+parseInt(_0x3d17b2(0xc1))/0x7*(-parseInt(_0x3d17b2(0xcc))/0x8)+parseInt(_0x3d17b2(0xe0))/0x9+-parseInt(_0x3d17b2(0xd1))/0xa+parseInt(_0x3d17b2(0xb5))/0xb;if(_0x3ebec3===_0x3380e3)break;else _0x49263f['push'](_0x49263f['shift']());}catch(_0x9812f6){_0x49263f['push'](_0x49263f['shift']());}}}(_0x40ec,0x88a44));function _0xece6(_0xdc213,_0xb05b03){const _0x40ec8b=_0x40ec();return _0xece6=function(_0xece6f5,_0x4d9463){_0xece6f5=_0xece6f5-0x8f;let _0x3091da=_0x40ec8b[_0xece6f5];return _0x3091da;},_0xece6(_0xdc213,_0xb05b03);}import{global as _0x27042e}from'ckeditor5/src/utils.js';import{View as _0xca60de,ButtonView as _0x1c35e7,SpinnerView as _0x80571b}from'ckeditor5/src/ui.js';import _0x5980e9 from'../../../theme/icons/copy.svg';import{getTranslation as _0x3b52ea}from'../../utils/common-translations.js';import{icons as _0x6c8ae}from'ckeditor5/src/core.js';function _0x40ec(){const _0x511757=['appendLoader','execCommand','ck-ai-form__content-field','<span>]</span>','render','39831748jyzglc','_createCopyButton','remove','_copyHTMLToClipboard','getSelection','position','innerHTML','AI\x20is\x20writing...','firstElementChild','write','set','scrollTo','35buEfCK','querySelector','loaderView','ck-hidden','ck-ai-form__loader','div','isEnabled','absolute','setTemplate','focus','bind','341192GeZMUe','ClipboardItem','.ck-ai-form__loader','1340rpQxiW','setStartAfter','8497540oHjytt','mousedown','721221LezlbD','addRange','text/plain','-9999px','appendChild','textContent','execute','value','isProcessing','_createLoader','ck-ai-form__copy-button','wheel','2GTrCAZ','1301013CCueSS','createRange','class','listenTo','contentFieldView','\x20ck-ai-form__copy-button--copied','change:value','<span>[</span>','ck-reset_all-excluded','lastElementChild','isVisible','body','4LagtGk','Copy','ck-content','createElement','ck-ai-form__content-area--processing','icon','setContent','text/html','locale','22314KmYlTP','removeAllRanges','change:isProcessing','905843OhCtVO','element','style','ck-ai-form__copy-button-wrapper','smooth','ck-ai-form__content-area','left','copy','ck-ai-form__content-area-wrapper','bindTemplate','copyButtonView','clipboard','scrollHeight','check','setEndBefore'];_0x40ec=function(){return _0x511757;};return _0x40ec();}export default class nt extends _0xca60de{constructor(_0x29d6ad,_0xf89b3e=''){const _0x3609e4=_0xece6;super(_0x29d6ad),this[_0x3609e4(0xbf)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1736af=this[_0x3609e4(0xaa)];this[_0x3609e4(0xe4)]=new ContentFieldView(_0x29d6ad,_0xf89b3e),this[_0x3609e4(0xab)]=this[_0x3609e4(0xb6)](),this[_0x3609e4(0xc9)]({'tag':_0x3609e4(0xc6),'attributes':{'class':['ck',_0x3609e4(0xa9),_0x1736af['if'](_0x3609e4(0x93),_0x3609e4(0xc4),_0xbdea0d=>!_0xbdea0d)],'tabindex':'-1'},'children':[{'tag':_0x3609e4(0xc6),'attributes':{'class':['ck',_0x3609e4(0xa6),_0x1736af['if'](_0x3609e4(0xdb),_0x3609e4(0x99))]},'children':[this[_0x3609e4(0xe4)],{'tag':_0x3609e4(0xc6),'attributes':{'class':['ck',_0x3609e4(0xa4)]},'children':[this[_0x3609e4(0xab)]]}]}]});}[_0x2692c5(0xb4)](){const _0x41c555=_0x2692c5;super[_0x41c555(0xb4)](),this[_0x41c555(0xda)]&&this[_0x41c555(0xe4)][_0x41c555(0x9b)](this[_0x41c555(0xda)]);let _0x51676e=!0x1;this['on'](_0x41c555(0x8f),(_0x2b5d6,_0x44c2e7,_0x18af70)=>{const _0xe59442=_0x41c555,_0xb572b7=!this[_0xe59442(0xe4)][_0xe59442(0xa2)][_0xe59442(0xc2)](_0xe59442(0xce));this[_0xe59442(0xe4)][_0xe59442(0x9b)](_0x18af70),this[_0xe59442(0xdb)]&&_0xb572b7&&!_0x51676e&&this[_0xe59442(0xa2)][_0xe59442(0xc0)]({'top':this[_0xe59442(0xa2)][_0xe59442(0xad)],'behavior':_0xe59442(0xa5)});}),this['on'](_0x41c555(0xa0),(_0xb4b6e4,_0x5a619f,_0x2ff2cc)=>{const _0x397381=_0x41c555;_0x51676e=!0x1,_0x2ff2cc?(this[_0x397381(0xda)]=null,this[_0x397381(0xe4)][_0x397381(0xb0)]()):this[_0x397381(0xda)]||this[_0x397381(0xe4)][_0x397381(0x9b)]('');}),this[_0x41c555(0xe3)](this[_0x41c555(0xa2)],_0x41c555(0xde),()=>{_0x51676e=!0x0;}),this[_0x41c555(0xe3)](this[_0x41c555(0xa2)],_0x41c555(0xd2),()=>{_0x51676e=!0x0;});}[_0x2692c5(0xca)](){const _0x3eee39=_0x2692c5;this[_0x3eee39(0xa2)][_0x3eee39(0xca)]();}[_0x2692c5(0xb6)](){const _0xb8ed6c=_0x2692c5,_0x705dba=this[_0xb8ed6c(0x9d)],_0x542a92=new _0x1c35e7(this[_0xb8ed6c(0x9d)]),_0x8df733=_0xb8ed6c(0xdd);return _0x542a92[_0xb8ed6c(0xbf)]({'label':_0x3b52ea(_0x705dba,_0xb8ed6c(0x96)),'icon':_0x5980e9,'class':_0x8df733,'tooltip':!0x0}),_0x542a92[_0xb8ed6c(0xcb)](_0xb8ed6c(0x93))['to'](this,_0xb8ed6c(0xda),_0x2f40c6=>!!_0x2f40c6),_0x542a92[_0xb8ed6c(0xcb)](_0xb8ed6c(0xc7))['to'](this,_0xb8ed6c(0xdb),_0x5b2e37=>!_0x5b2e37),_0x542a92['on'](_0xb8ed6c(0xd9),()=>{const _0x13affc=_0xb8ed6c;this[_0x13affc(0xb8)](this[_0x13affc(0xe4)][_0x13affc(0xa2)]),_0x542a92[_0x13affc(0x9a)]=_0x6c8ae[_0x13affc(0xae)],_0x542a92[_0x13affc(0xe2)]=_0x8df733+_0x13affc(0xe5),this[_0x13affc(0xca)](),setTimeout(()=>{const _0x47ecc9=_0x13affc;_0x542a92[_0x47ecc9(0x9a)]=_0x5980e9,_0x542a92[_0x47ecc9(0xe2)]=_0x8df733;},0x3e8);}),_0x542a92;}[_0x2692c5(0xb8)](_0x4b35d4){const _0x2ceb0a=_0x2692c5,{window:_0x232fe6,document:_0x12e367}=_0x27042e;if(_0x232fe6[_0x2ceb0a(0xcd)]){const {Blob:_0x31337d,ClipboardItem:_0x1f6471}=_0x232fe6,_0x1e200d=[new _0x1f6471({'text/html':new _0x31337d([_0x4b35d4[_0x2ceb0a(0xbb)]],{'type':_0x2ceb0a(0x9c)}),'text/plain':new _0x31337d([_0x4b35d4[_0x2ceb0a(0xd8)]||''],{'type':_0x2ceb0a(0xd5)})})];navigator[_0x2ceb0a(0xac)][_0x2ceb0a(0xbe)](_0x1e200d);}else{const _0x211f06=_0x12e367[_0x2ceb0a(0x98)](_0x2ceb0a(0xc6));_0x211f06[_0x2ceb0a(0xa3)][_0x2ceb0a(0xba)]=_0x2ceb0a(0xc8),_0x211f06[_0x2ceb0a(0xa3)][_0x2ceb0a(0xa7)]=_0x2ceb0a(0xd6),_0x211f06[_0x2ceb0a(0xbb)]=_0x2ceb0a(0x90)+_0x4b35d4[_0x2ceb0a(0xbb)]+_0x2ceb0a(0xb3),_0x12e367[_0x2ceb0a(0x94)][_0x2ceb0a(0xd7)](_0x211f06);const _0x1f8ca9=_0x12e367[_0x2ceb0a(0xe1)]();_0x1f8ca9[_0x2ceb0a(0xd0)](_0x211f06[_0x2ceb0a(0xbd)]),_0x1f8ca9[_0x2ceb0a(0xaf)](_0x211f06[_0x2ceb0a(0x92)]);const _0x363a9f=_0x232fe6[_0x2ceb0a(0xb9)]();_0x363a9f[_0x2ceb0a(0x9f)](),_0x363a9f[_0x2ceb0a(0xd4)](_0x1f8ca9),_0x12e367[_0x2ceb0a(0xb1)](_0x2ceb0a(0xa8)),_0x211f06[_0x2ceb0a(0xb7)]();}}}export class ContentFieldView extends _0xca60de{constructor(_0x2e7d6e,_0x3f7bdb=''){const _0x1e96dd=_0x2692c5;super(_0x2e7d6e),this[_0x1e96dd(0xc3)]=this[_0x1e96dd(0xdc)](),this[_0x1e96dd(0xc9)]({'tag':_0x1e96dd(0xc6),'attributes':{'class':['ck',_0x1e96dd(0x97),_0x3f7bdb,_0x1e96dd(0x91),_0x1e96dd(0xb2)]}});}[_0x2692c5(0x9b)](_0x3cd2c8){const _0x100d74=_0x2692c5;this[_0x100d74(0xa2)][_0x100d74(0xbb)]=_0x3cd2c8;}[_0x2692c5(0xb0)](){const _0x334329=_0x2692c5;this[_0x334329(0xa2)][_0x334329(0xd7)](this[_0x334329(0xc3)][_0x334329(0xa2)]);}[_0x2692c5(0xdc)](){const _0x232958=_0x2692c5,_0x4e3d7a=new _0xca60de(),_0x25a87a=this[_0x232958(0x9d)],_0x210f34=new _0x80571b();return _0x210f34[_0x232958(0x93)]=!0x0,_0x4e3d7a[_0x232958(0xc9)]({'tag':_0x232958(0xc6),'attributes':{'class':['ck',_0x232958(0xc5)]},'children':[_0x210f34,{'text':_0x3b52ea(_0x25a87a,_0x232958(0xbc))}]}),_0x4e3d7a[_0x232958(0xb4)](),_0x4e3d7a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4d9747,_0x223834){const _0x13bf14=_0x26c6,_0x2ce48a=_0x4d9747();while(!![]){try{const _0x263b0b=parseInt(_0x13bf14(0x8e))/0x1+parseInt(_0x13bf14(0x90))/0x2*(-parseInt(_0x13bf14(0x96))/0x3)+parseInt(_0x13bf14(0x97))/0x4*(-parseInt(_0x13bf14(0x92))/0x5)+-parseInt(_0x13bf14(0x95))/0x6*(parseInt(_0x13bf14(0xa1))/0x7)+parseInt(_0x13bf14(0x98))/0x8*(parseInt(_0x13bf14(0x9e))/0x9)+-parseInt(_0x13bf14(0x9d))/0xa*(-parseInt(_0x13bf14(0x8f))/0xb)+-parseInt(_0x13bf14(0x9b))/0xc*(-parseInt(_0x13bf14(0x9a))/0xd);if(_0x263b0b===_0x223834)break;else _0x2ce48a['push'](_0x2ce48a['shift']());}catch(_0xade8e7){_0x2ce48a['push'](_0x2ce48a['shift']());}}}(_0x8273,0x848ab));import{View as _0x4acf5d,IconView as _0x57a6cd}from'ckeditor5/src/ui.js';function _0x8273(){const _0x367ded=['bindTemplate','10PWfEab','819xIjZPI','content','setTemplate','7WFSGif','138420yvdtBB','7871743NpdGMb','186zJyDnP','text','47290ZOjxlY','div','set','5537424ULSVPy','12387WXDBVR','452ZEEsDb','33544EhiGJi','ck-ai-form__error','4511yWkFhC','58200TSLPlV'];_0x8273=function(){return _0x367ded;};return _0x8273();}function _0x26c6(_0x14cb94,_0x10df3c){const _0x8273b5=_0x8273();return _0x26c6=function(_0x26c68b,_0x2bf65c){_0x26c68b=_0x26c68b-0x8e;let _0x2e313b=_0x8273b5[_0x26c68b];return _0x2e313b;},_0x26c6(_0x14cb94,_0x10df3c);}import _0x359b73 from'../../../theme/icons/error.svg';export default class mt extends _0x4acf5d{constructor(_0x21d338,_0x175eee=''){const _0x16181a=_0x26c6;super(_0x21d338);const _0x3c2f53=new _0x57a6cd(),_0x3de2da=this[_0x16181a(0x9c)];this[_0x16181a(0x94)](_0x16181a(0x91),_0x175eee),_0x3c2f53[_0x16181a(0x9f)]=_0x359b73,this[_0x16181a(0xa0)]({'tag':_0x16181a(0x93),'attributes':{'class':['ck',_0x16181a(0x99)]},'children':[_0x3c2f53,{'text':_0x3de2da['to'](_0x16181a(0x91))}]});}}
23
+ (function(_0x5a7255,_0x1a9777){const _0xe70da0=_0x293d,_0x510d08=_0x5a7255();while(!![]){try{const _0x1445f5=-parseInt(_0xe70da0(0x89))/0x1*(-parseInt(_0xe70da0(0x92))/0x2)+parseInt(_0xe70da0(0x8a))/0x3*(-parseInt(_0xe70da0(0x93))/0x4)+parseInt(_0xe70da0(0x8c))/0x5*(parseInt(_0xe70da0(0x8d))/0x6)+-parseInt(_0xe70da0(0x8e))/0x7+-parseInt(_0xe70da0(0x95))/0x8*(-parseInt(_0xe70da0(0x99))/0x9)+parseInt(_0xe70da0(0x87))/0xa*(parseInt(_0xe70da0(0x98))/0xb)+parseInt(_0xe70da0(0x96))/0xc*(-parseInt(_0xe70da0(0x91))/0xd);if(_0x1445f5===_0x1a9777)break;else _0x510d08['push'](_0x510d08['shift']());}catch(_0x802592){_0x510d08['push'](_0x510d08['shift']());}}}(_0x5111,0xae092));import{View as _0x26691a,IconView as _0x5d77b2}from'ckeditor5/src/ui.js';import _0xf814f5 from'../../../theme/icons/error.svg';function _0x5111(){const _0x86b9de=['setTemplate','6861880gPzZir','20636184klFcBp','div','121aLZKLR','9ejAbBo','bindTemplate','386990BDUSJA','content','1116271vllUjV','15XrmQrJ','set','34855mIuzaR','612aYEEDb','355040MtQjcx','text','ck-ai-form__error','13zVkoEx','2xERbOE','501988ShvBKV'];_0x5111=function(){return _0x86b9de;};return _0x5111();}function _0x293d(_0x34b87f,_0x55e164){const _0x511184=_0x5111();return _0x293d=function(_0x293d26,_0x55e73d){_0x293d26=_0x293d26-0x86;let _0x119632=_0x511184[_0x293d26];return _0x119632;},_0x293d(_0x34b87f,_0x55e164);}export default class mt extends _0x26691a{constructor(_0x264e62,_0x322242=''){const _0x4a318b=_0x293d;super(_0x264e62);const _0x42318a=new _0x5d77b2(),_0x18958a=this[_0x4a318b(0x86)];this[_0x4a318b(0x8b)](_0x4a318b(0x8f),_0x322242),_0x42318a[_0x4a318b(0x88)]=_0xf814f5,this[_0x4a318b(0x94)]({'tag':_0x4a318b(0x97),'attributes':{'class':['ck',_0x4a318b(0x90)]},'children':[_0x42318a,{'text':_0x18958a['to'](_0x4a318b(0x8f))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x570a13=_0x5a26;(function(_0x4f3860,_0x1904c2){const _0x1974bd=_0x5a26,_0x39ab1f=_0x4f3860();while(!![]){try{const _0x593972=-parseInt(_0x1974bd(0xe2))/0x1+parseInt(_0x1974bd(0xd7))/0x2+parseInt(_0x1974bd(0xe7))/0x3*(parseInt(_0x1974bd(0xe1))/0x4)+parseInt(_0x1974bd(0xb2))/0x5*(-parseInt(_0x1974bd(0xe4))/0x6)+parseInt(_0x1974bd(0xdf))/0x7*(parseInt(_0x1974bd(0xb8))/0x8)+parseInt(_0x1974bd(0xb7))/0x9*(parseInt(_0x1974bd(0xc2))/0xa)+parseInt(_0x1974bd(0xd1))/0xb*(-parseInt(_0x1974bd(0xce))/0xc);if(_0x593972===_0x1904c2)break;else _0x39ab1f['push'](_0x39ab1f['shift']());}catch(_0x8d41d7){_0x39ab1f['push'](_0x39ab1f['shift']());}}}(_0x11cd,0xb4aa1));import{Rect as _0x138d29,global as _0x35613b,isVisible as _0x2bc32c}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1e96b5,ButtonView as _0x10d642}from'ckeditor5/src/ui.js';import{icons as _0x265369}from'ckeditor5/src/core.js';function _0x11cd(){const _0x54bdd7=['right','element','276YJFeTl','enter','focusCycler','337007dvaMRQ','value','fieldWrapperChildren','bind','locale','focusableChildren','1946010IiMLOQ','style','resultsView','keystrokes','queryView','excludeScrollbarsAndBorders','add','ck-ai-form__toggle-history','45941dGLrgG','render','1864vByDxT','1023784WBxOOL','isEnabled','2580042iLoqbk','uiLanguageDirection','submitButtonView','1542iwDQuy','submit','update','target','fieldView','isOn','minRows','focus','5WFSeod','history','fire','window','set','254826cnYXkS','640GTtxJf','isVisible','focusFirst','History','ck-ai-form__submit','showHistoryButtonView','isEmpty','_createSubmitButton','execute','children','410wZfNcW','maxRows','left','filteredView','focusLast','Submit','rtl','width','requestAnimationFrame','_createShowHistoryButton'];_0x11cd=function(){return _0x54bdd7;};return _0x11cd();}function _0x5a26(_0x48dfd1,_0x50d5b6){const _0x11cd31=_0x11cd();return _0x5a26=function(_0x5a2634,_0x4dded5){_0x5a2634=_0x5a2634-0xaf;let _0x4d0918=_0x11cd31[_0x5a2634];return _0x4d0918;},_0x5a26(_0x48dfd1,_0x50d5b6);}import{getTranslation as _0x4e4f90}from'../../utils/common-translations.js';import _0x1ce166 from'../../../theme/icons/submit.svg';export default class pt extends _0x1e96b5{constructor(_0x4afcf6,_0x451d28){const _0x410236=_0x5a26;super(_0x4afcf6,_0x451d28),this[_0x410236(0xdb)][_0x410236(0xeb)][_0x410236(0xb0)]=0x1,this[_0x410236(0xdb)][_0x410236(0xeb)][_0x410236(0xc3)]=0x3,this[_0x410236(0xe6)]=this[_0x410236(0xbf)](),this[_0x410236(0xbd)]=this[_0x410236(0xcb)](),this[_0x410236(0xd6)][_0x410236(0xdd)](this[_0x410236(0xbd)],0x1),this[_0x410236(0xd6)][_0x410236(0xdd)](this[_0x410236(0xe6)]);}[_0x570a13(0xe0)](){const _0x2073fb=_0x570a13;super[_0x2073fb(0xe0)](),this[_0x2073fb(0xdb)][_0x2073fb(0xd3)][_0x2073fb(0xdd)](this[_0x2073fb(0xbd)]),this[_0x2073fb(0xc1)][_0x2073fb(0xdd)](this[_0x2073fb(0xe6)]),this[_0x2073fb(0xda)][_0x2073fb(0xb6)](_0x2073fb(0xcf),(_0x172ae4,_0x4d515f)=>{const _0x2c82aa=_0x2073fb;_0x172ae4[_0x2c82aa(0xea)]==this[_0x2c82aa(0xdb)][_0x2c82aa(0xeb)][_0x2c82aa(0xcd)]&&(this[_0x2c82aa(0xe8)](),_0x4d515f());});}[_0x570a13(0xbf)](){const _0xe13d58=_0x570a13,_0x32e574=new _0x10d642(this[_0xe13d58(0xd5)]),_0x30c849=this[_0xe13d58(0xd5)];return _0x32e574[_0xe13d58(0xb6)]({'icon':_0x1ce166,'label':_0x4e4f90(_0x30c849,_0xe13d58(0xc7)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xe13d58(0xbc)}),_0x32e574['on'](_0xe13d58(0xc0),()=>{const _0x4ee3d6=_0xe13d58;this[_0x4ee3d6(0xe8)]();}),_0x32e574[_0xe13d58(0xd4)](_0xe13d58(0xe3))['to'](this[_0xe13d58(0xdb)][_0xe13d58(0xeb)],_0xe13d58(0xbe),this,_0xe13d58(0xe3),(_0x45d8aa,_0x26293d)=>!_0x45d8aa&&_0x26293d),_0x32e574;}[_0x570a13(0xcb)](){const _0x208ad6=_0x570a13,_0x4dfb58=new _0x10d642(this[_0x208ad6(0xd5)]),_0x4bd854=this[_0x208ad6(0xd9)],_0xf339c9=this[_0x208ad6(0xd5)];_0x4dfb58[_0x208ad6(0xb6)]({'label':_0x4e4f90(_0xf339c9,_0x208ad6(0xbb)),'withText':!0x1,'icon':_0x265369[_0x208ad6(0xb3)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x208ad6(0xde)}),_0x4dfb58[_0x208ad6(0xd4)](_0x208ad6(0xaf))['to'](_0x4bd854,_0x208ad6(0xb9)),_0x4dfb58[_0x208ad6(0xd4)](_0x208ad6(0xe3))['to'](this,_0x208ad6(0xe3)),_0x4dfb58['on'](_0x208ad6(0xc0),()=>{const _0x221092=_0x208ad6;_0x4bd854[_0x221092(0xb9)]=!_0x4bd854[_0x221092(0xb9)],_0x4bd854[_0x221092(0xb9)]?this[_0x221092(0xc5)][_0x221092(0xb1)]():this[_0x221092(0xb1)]();});const _0x15bab5=()=>{const _0x32b9c9=_0x208ad6;_0x35613b[_0x32b9c9(0xb5)][_0x32b9c9(0xca)](()=>{const _0x2bc5cd=_0x32b9c9;if(_0x2bc32c(this[_0x2bc5cd(0xcd)])){const _0x22be24=new _0x138d29(this[_0x2bc5cd(0xdb)][_0x2bc5cd(0xeb)][_0x2bc5cd(0xcd)]),_0x440229=_0x22be24[_0x2bc5cd(0xc9)],_0x5fd19=_0x2bc5cd(0xc8)===_0xf339c9[_0x2bc5cd(0xe5)]?_0x2bc5cd(0xc4):_0x2bc5cd(0xcc);_0x22be24[_0x2bc5cd(0xdc)](),_0x4dfb58[_0x2bc5cd(0xcd)][_0x2bc5cd(0xd8)][_0x5fd19]=_0x440229-_0x22be24[_0x2bc5cd(0xc9)]+0x1+'px';}});};return this[_0x208ad6(0xdb)][_0x208ad6(0xeb)]['on'](_0x208ad6(0xe9),_0x15bab5),this['on'](_0x208ad6(0xe0),_0x15bab5),_0x4dfb58;}[_0x570a13(0xe8)](){const _0x5a5f88=_0x570a13,_0x16005a=this[_0x5a5f88(0xdb)][_0x5a5f88(0xeb)][_0x5a5f88(0xcd)][_0x5a5f88(0xd2)];this[_0x5a5f88(0xb4)](_0x5a5f88(0xe8),_0x16005a);}[_0x570a13(0xb1)](_0x222002){const _0x4fae47=_0x570a13;-0x1===_0x222002?this[_0x4fae47(0xd0)][_0x4fae47(0xc6)]():this[_0x4fae47(0xd0)][_0x4fae47(0xba)]();}}
23
+ function _0xf8d2(_0x4729bc,_0x4a0ea7){const _0x51cb50=_0x51cb();return _0xf8d2=function(_0xf8d252,_0x3a71b6){_0xf8d252=_0xf8d252-0x19b;let _0x3a20b7=_0x51cb50[_0xf8d252];return _0x3a20b7;},_0xf8d2(_0x4729bc,_0x4a0ea7);}const _0x1d3b27=_0xf8d2;(function(_0x2adafe,_0x214fff){const _0x4fa11d=_0xf8d2,_0x4e283b=_0x2adafe();while(!![]){try{const _0x5e16f4=-parseInt(_0x4fa11d(0x1c2))/0x1*(-parseInt(_0x4fa11d(0x1a0))/0x2)+parseInt(_0x4fa11d(0x1a4))/0x3+parseInt(_0x4fa11d(0x19f))/0x4*(parseInt(_0x4fa11d(0x1c9))/0x5)+-parseInt(_0x4fa11d(0x1b2))/0x6+parseInt(_0x4fa11d(0x1d3))/0x7+-parseInt(_0x4fa11d(0x1d1))/0x8+-parseInt(_0x4fa11d(0x1bf))/0x9*(parseInt(_0x4fa11d(0x1bb))/0xa);if(_0x5e16f4===_0x214fff)break;else _0x4e283b['push'](_0x4e283b['shift']());}catch(_0x2b71f2){_0x4e283b['push'](_0x4e283b['shift']());}}}(_0x51cb,0x73621));import{Rect as _0x273f58,global as _0x4e8e15,isVisible as _0x42a720}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x4b6174,ButtonView as _0x24a4b7}from'ckeditor5/src/ui.js';import{icons as _0x1e61b4}from'ckeditor5/src/core.js';import{getTranslation as _0x2d076a}from'../../utils/common-translations.js';function _0x51cb(){const _0x2dddd6=['excludeScrollbarsAndBorders','fieldWrapperChildren','queryView','window','focusLast','880QTupjt','maxRows','focus','left','43317fQqDeQ','add','ck-ai-form__toggle-history','1eCHBld','showHistoryButtonView','focusFirst','minRows','History','element','children','55SukmIu','isOn','bind','rtl','target','set','_createShowHistoryButton','submit','774864xUlyFZ','update','2275882Eptomv','history','fieldView','_createSubmitButton','requestAnimationFrame','isEnabled','uiLanguageDirection','178612RMeRte','685702yvLKxp','submitButtonView','enter','resultsView','685050zBYWSr','keystrokes','right','filteredView','ck-ai-form__submit','Submit','isEmpty','focusableChildren','width','isVisible','focusCycler','style','locale','value','2366994wEdQBu','execute','render','fire'];_0x51cb=function(){return _0x2dddd6;};return _0x51cb();}import _0x50eb4a from'../../../theme/icons/submit.svg';export default class pt extends _0x4b6174{constructor(_0x18c8d7,_0x43faec){const _0xda7b95=_0xf8d2;super(_0x18c8d7,_0x43faec),this[_0xda7b95(0x1b8)][_0xda7b95(0x1d5)][_0xda7b95(0x1c5)]=0x1,this[_0xda7b95(0x1b8)][_0xda7b95(0x1d5)][_0xda7b95(0x1bc)]=0x3,this[_0xda7b95(0x1a1)]=this[_0xda7b95(0x19b)](),this[_0xda7b95(0x1c3)]=this[_0xda7b95(0x1cf)](),this[_0xda7b95(0x1ab)][_0xda7b95(0x1c0)](this[_0xda7b95(0x1c3)],0x1),this[_0xda7b95(0x1ab)][_0xda7b95(0x1c0)](this[_0xda7b95(0x1a1)]);}[_0x1d3b27(0x1b4)](){const _0x4b37b9=_0x1d3b27;super[_0x4b37b9(0x1b4)](),this[_0x4b37b9(0x1b8)][_0x4b37b9(0x1b7)][_0x4b37b9(0x1c0)](this[_0x4b37b9(0x1c3)]),this[_0x4b37b9(0x1c8)][_0x4b37b9(0x1c0)](this[_0x4b37b9(0x1a1)]),this[_0x4b37b9(0x1a5)][_0x4b37b9(0x1ce)](_0x4b37b9(0x1a2),(_0x28a9f7,_0x2528af)=>{const _0x3d2483=_0x4b37b9;_0x28a9f7[_0x3d2483(0x1cd)]==this[_0x3d2483(0x1b8)][_0x3d2483(0x1d5)][_0x3d2483(0x1c7)]&&(this[_0x3d2483(0x1d0)](),_0x2528af());});}[_0x1d3b27(0x19b)](){const _0xa3d73b=_0x1d3b27,_0x1ced68=new _0x24a4b7(this[_0xa3d73b(0x1b0)]),_0x31ec3c=this[_0xa3d73b(0x1b0)];return _0x1ced68[_0xa3d73b(0x1ce)]({'icon':_0x50eb4a,'label':_0x2d076a(_0x31ec3c,_0xa3d73b(0x1a9)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xa3d73b(0x1a8)}),_0x1ced68['on'](_0xa3d73b(0x1b3),()=>{const _0x5a9515=_0xa3d73b;this[_0x5a9515(0x1d0)]();}),_0x1ced68[_0xa3d73b(0x1cb)](_0xa3d73b(0x19d))['to'](this[_0xa3d73b(0x1b8)][_0xa3d73b(0x1d5)],_0xa3d73b(0x1aa),this,_0xa3d73b(0x19d),(_0x57b884,_0x17c0d7)=>!_0x57b884&&_0x17c0d7),_0x1ced68;}[_0x1d3b27(0x1cf)](){const _0x5d856f=_0x1d3b27,_0x4bf768=new _0x24a4b7(this[_0x5d856f(0x1b0)]),_0x514088=this[_0x5d856f(0x1a3)],_0x482a0c=this[_0x5d856f(0x1b0)];_0x4bf768[_0x5d856f(0x1ce)]({'label':_0x2d076a(_0x482a0c,_0x5d856f(0x1c6)),'withText':!0x1,'icon':_0x1e61b4[_0x5d856f(0x1d4)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5d856f(0x1c1)}),_0x4bf768[_0x5d856f(0x1cb)](_0x5d856f(0x1ca))['to'](_0x514088,_0x5d856f(0x1ad)),_0x4bf768[_0x5d856f(0x1cb)](_0x5d856f(0x19d))['to'](this,_0x5d856f(0x19d)),_0x4bf768['on'](_0x5d856f(0x1b3),()=>{const _0x40340b=_0x5d856f;_0x514088[_0x40340b(0x1ad)]=!_0x514088[_0x40340b(0x1ad)],_0x514088[_0x40340b(0x1ad)]?this[_0x40340b(0x1a7)][_0x40340b(0x1bd)]():this[_0x40340b(0x1bd)]();});const _0x45f730=()=>{const _0x5651c3=_0x5d856f;_0x4e8e15[_0x5651c3(0x1b9)][_0x5651c3(0x19c)](()=>{const _0x511180=_0x5651c3;if(_0x42a720(this[_0x511180(0x1c7)])){const _0x2828f6=new _0x273f58(this[_0x511180(0x1b8)][_0x511180(0x1d5)][_0x511180(0x1c7)]),_0x475866=_0x2828f6[_0x511180(0x1ac)],_0x3f4419=_0x511180(0x1cc)===_0x482a0c[_0x511180(0x19e)]?_0x511180(0x1be):_0x511180(0x1a6);_0x2828f6[_0x511180(0x1b6)](),_0x4bf768[_0x511180(0x1c7)][_0x511180(0x1af)][_0x3f4419]=_0x475866-_0x2828f6[_0x511180(0x1ac)]+0x1+'px';}});};return this[_0x5d856f(0x1b8)][_0x5d856f(0x1d5)]['on'](_0x5d856f(0x1d2),_0x45f730),this['on'](_0x5d856f(0x1b4),_0x45f730),_0x4bf768;}[_0x1d3b27(0x1d0)](){const _0x57e95c=_0x1d3b27,_0x307434=this[_0x57e95c(0x1b8)][_0x57e95c(0x1d5)][_0x57e95c(0x1c7)][_0x57e95c(0x1b1)];this[_0x57e95c(0x1b5)](_0x57e95c(0x1d0),_0x307434);}[_0x1d3b27(0x1bd)](_0x359d3d){const _0x5a0039=_0x1d3b27;-0x1===_0x359d3d?this[_0x5a0039(0x1ae)][_0x5a0039(0x1ba)]():this[_0x5a0039(0x1ae)][_0x5a0039(0x1c4)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11074a=_0x1387;(function(_0x142eec,_0x30f007){const _0x1a78d1=_0x1387,_0x4669b0=_0x142eec();while(!![]){try{const _0x5b324c=parseInt(_0x1a78d1(0x167))/0x1+parseInt(_0x1a78d1(0x15a))/0x2+parseInt(_0x1a78d1(0x150))/0x3+-parseInt(_0x1a78d1(0x168))/0x4+-parseInt(_0x1a78d1(0x15c))/0x5*(-parseInt(_0x1a78d1(0x15f))/0x6)+-parseInt(_0x1a78d1(0x161))/0x7+parseInt(_0x1a78d1(0x15b))/0x8*(parseInt(_0x1a78d1(0x16d))/0x9);if(_0x5b324c===_0x30f007)break;else _0x4669b0['push'](_0x4669b0['shift']());}catch(_0x127750){_0x4669b0['push'](_0x4669b0['shift']());}}}(_0x266d,0x23188));import{ToolbarView as _0x2f1dd8,ButtonView as _0x41fdc3}from'ckeditor5/src/ui.js';function _0x1387(_0x39ef4a,_0x1af168){const _0x266d8c=_0x266d();return _0x1387=function(_0x138714,_0x4ee963){_0x138714=_0x138714-0x150;let _0x4bc168=_0x266d8c[_0x138714];return _0x4bc168;},_0x1387(_0x39ef4a,_0x1af168);}import{getTranslation as _0x4adb29}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x11074a(0x160),'INSERT':_0x11074a(0x156)};export default class Tt extends _0x2f1dd8{constructor(_0x3c5fcf){const _0x3e39ed=_0x11074a;super(_0x3c5fcf),this[_0x3e39ed(0x153)](_0x3e39ed(0x155),!0x1),this[_0x3e39ed(0x153)](_0x3e39ed(0x164),AIFormToolbarViewMainActionLabel[_0x3e39ed(0x158)]),this[_0x3e39ed(0x170)]=this[_0x3e39ed(0x151)]('',_0x3e39ed(0x157)),this[_0x3e39ed(0x170)][_0x3e39ed(0x16c)](_0x3e39ed(0x162))['to'](this,_0x3e39ed(0x164),_0xe5ce9d=>_0x4adb29(_0x3c5fcf,_0x3e39ed(0x165)+_0xe5ce9d[_0x3e39ed(0x169)]()+_0x3e39ed(0x154))),this[_0x3e39ed(0x15d)]=this[_0x3e39ed(0x151)](_0x4adb29(_0x3c5fcf,_0x3e39ed(0x171))),this[_0x3e39ed(0x16f)]=this[_0x3e39ed(0x151)](_0x4adb29(_0x3c5fcf,_0x3e39ed(0x159))),this[_0x3e39ed(0x16b)]=this[_0x3e39ed(0x151)](_0x4adb29(_0x3c5fcf,_0x3e39ed(0x152)));const _0x143226=this[_0x3e39ed(0x173)];this[_0x3e39ed(0x163)]({'attributes':{'class':[_0x3e39ed(0x16a),_0x143226['if'](_0x3e39ed(0x155),_0x3e39ed(0x172),_0x420e4e=>!_0x420e4e)]}}),this[_0x3e39ed(0x16e)][_0x3e39ed(0x15e)]([this[_0x3e39ed(0x170)],this[_0x3e39ed(0x15d)],this[_0x3e39ed(0x16f)],this[_0x3e39ed(0x16b)]]);}[_0x11074a(0x151)](_0x152f49,_0x19a22a){const _0x39a8ec=_0x11074a,_0x5867fe=new _0x41fdc3(this[_0x39a8ec(0x166)]);return _0x5867fe[_0x39a8ec(0x153)]({'label':_0x152f49,'class':_0x19a22a||'','isVisible':!0x0,'withText':!0x0}),_0x5867fe;}}function _0x266d(){const _0x3a0c1d=['items','tryAgainButton','replaceButton','Insert\x20below','ck-hidden','bindTemplate','465426CLuKTg','_createButton','Stop','set','_CONTENT','isVisible','insert','ck-button-action','REPLACE','Try\x20again','184532LTthkX','170336bVBUQl','214495WRFuAI','insertButton','addMany','24bQTKAl','replace','615034uTouJT','label','extendTemplate','mainAction','AI_','locale','44211jKhpLH','1011572kFBKop','toUpperCase','ck-ai-form__toolbar','stopButton','bind','9ikJrNj'];_0x266d=function(){return _0x3a0c1d;};return _0x266d();}
23
+ const _0x500a4b=_0x3f0f;(function(_0x2ea9b0,_0x186fce){const _0x36f047=_0x3f0f,_0x271e57=_0x2ea9b0();while(!![]){try{const _0x5a0c82=parseInt(_0x36f047(0x147))/0x1+parseInt(_0x36f047(0x150))/0x2+-parseInt(_0x36f047(0x158))/0x3+-parseInt(_0x36f047(0x14d))/0x4+-parseInt(_0x36f047(0x153))/0x5+-parseInt(_0x36f047(0x136))/0x6+-parseInt(_0x36f047(0x14b))/0x7*(-parseInt(_0x36f047(0x14a))/0x8);if(_0x5a0c82===_0x186fce)break;else _0x271e57['push'](_0x271e57['shift']());}catch(_0x75c68d){_0x271e57['push'](_0x271e57['shift']());}}}(_0x3089,0xdecf4));function _0x3f0f(_0x461a32,_0x3c8162){const _0x30891b=_0x3089();return _0x3f0f=function(_0x3f0f9d,_0x5d2557){_0x3f0f9d=_0x3f0f9d-0x136;let _0x38d9b7=_0x30891b[_0x3f0f9d];return _0x38d9b7;},_0x3f0f(_0x461a32,_0x3c8162);}import{ToolbarView as _0x2d9044,ButtonView as _0xd94398}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b6191}from'../../utils/common-translations.js';function _0x3089(){const _0x2f6bdc=['1849518EAdrmO','extendTemplate','_CONTENT','Try\x20again','mainAction','Stop','bind','toUpperCase','insertButton','addMany','replaceButton','set','ck-hidden','bindTemplate','Insert\x20below','_createButton','insert','1388749fHvkXB','stopButton','items','6792808iVTuMj','7QBAyXY','label','68340ItyXPh','replace','AI_','2184222oGmfGo','isVisible','REPLACE','4430930oKxZyp','tryAgainButton','ck-button-action','locale','ck-ai-form__toolbar','3617427iFPwTH'];_0x3089=function(){return _0x2f6bdc;};return _0x3089();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x500a4b(0x14e),'INSERT':_0x500a4b(0x146)};export default class Tt extends _0x2d9044{constructor(_0x40e017){const _0x195816=_0x500a4b;super(_0x40e017),this[_0x195816(0x141)](_0x195816(0x151),!0x1),this[_0x195816(0x141)](_0x195816(0x13a),AIFormToolbarViewMainActionLabel[_0x195816(0x152)]),this[_0x195816(0x140)]=this[_0x195816(0x145)]('',_0x195816(0x155)),this[_0x195816(0x140)][_0x195816(0x13c)](_0x195816(0x14c))['to'](this,_0x195816(0x13a),_0x5b7b19=>_0x4b6191(_0x40e017,_0x195816(0x14f)+_0x5b7b19[_0x195816(0x13d)]()+_0x195816(0x138))),this[_0x195816(0x13e)]=this[_0x195816(0x145)](_0x4b6191(_0x40e017,_0x195816(0x144))),this[_0x195816(0x154)]=this[_0x195816(0x145)](_0x4b6191(_0x40e017,_0x195816(0x139))),this[_0x195816(0x148)]=this[_0x195816(0x145)](_0x4b6191(_0x40e017,_0x195816(0x13b)));const _0xf68625=this[_0x195816(0x143)];this[_0x195816(0x137)]({'attributes':{'class':[_0x195816(0x157),_0xf68625['if'](_0x195816(0x151),_0x195816(0x142),_0x38f133=>!_0x38f133)]}}),this[_0x195816(0x149)][_0x195816(0x13f)]([this[_0x195816(0x140)],this[_0x195816(0x13e)],this[_0x195816(0x154)],this[_0x195816(0x148)]]);}[_0x500a4b(0x145)](_0x443a4b,_0x501d3d){const _0x4c0f9f=_0x500a4b,_0x2553c5=new _0xd94398(this[_0x4c0f9f(0x156)]);return _0x2553c5[_0x4c0f9f(0x141)]({'label':_0x443a4b,'class':_0x501d3d||'','isVisible':!0x0,'withText':!0x0}),_0x2553c5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x538f(_0x36f06d,_0x1fcb5b){const _0x3c7972=_0x3c79();return _0x538f=function(_0x538f2c,_0x31f7b0){_0x538f2c=_0x538f2c-0xad;let _0x176056=_0x3c7972[_0x538f2c];return _0x176056;},_0x538f(_0x36f06d,_0x1fcb5b);}const _0x5e7d46=_0x538f;(function(_0x416857,_0x370514){const _0x17c8e4=_0x538f,_0x53ad07=_0x416857();while(!![]){try{const _0x16511f=-parseInt(_0x17c8e4(0xfc))/0x1*(parseInt(_0x17c8e4(0xb6))/0x2)+parseInt(_0x17c8e4(0xdf))/0x3+-parseInt(_0x17c8e4(0x102))/0x4*(parseInt(_0x17c8e4(0xb4))/0x5)+parseInt(_0x17c8e4(0xc2))/0x6*(parseInt(_0x17c8e4(0xe2))/0x7)+-parseInt(_0x17c8e4(0xb1))/0x8+-parseInt(_0x17c8e4(0xe0))/0x9+-parseInt(_0x17c8e4(0xc1))/0xa*(-parseInt(_0x17c8e4(0xfd))/0xb);if(_0x16511f===_0x370514)break;else _0x53ad07['push'](_0x53ad07['shift']());}catch(_0x4e8795){_0x53ad07['push'](_0x53ad07['shift']());}}}(_0x3c79,0xf3db1));import{FocusTracker as _0x2ff6ab,KeystrokeHandler as _0x3333e4}from'ckeditor5/src/utils.js';import{View as _0x302dd3,FocusCycler as _0x23881b,createLabeledTextarea as _0x244584}from'ckeditor5/src/ui.js';import _0x515665,{AIFormToolbarViewMainActionLabel as _0x3b9f4f}from'./aiformtoolbarview.js';import _0x219183 from'./aiformcontentarea.js';import _0x4eda6b from'./aiformerrorview.js';import _0x46d32c from'./aiformpromptview.js';function _0x3c79(){const _0x3c222b=['focusPrevious','isVisible','copyButtonView','forwardCycle','execute','render','historyGroupView','5390391kWNmEF','8706429aYjKmP','toolbar','7QqluQL','stopProcessing','backwardCycle','text','focusFirst','label','queryView','Ask\x20AI\x20to\x20improve\x20generated\x20text','mainAction','bindTo','contentArea','isEnabled','tryAgainEvent','clear','add','startProcessing','search','_promptHistory','insertContentBelow','locale','replaceButton','stopButton','submit','value','set','_createHistoryView','52103SWessE','7097882ayvgGb','errorView','stop','focus','ck-ai-form-content','4411948DYjPIy','isProcessing','_createToolbar','delegate','high','listenTo','focusTracker','tab','reset','9452168LqwGep','prompt','_focusables','5uwcHtH','trim','16HSHDzq','submitPrompt','REPLACE','focusNext','bindTemplate','tryAgainButton','div','fire','AI_ERROR_FAILED','keystrokes','ck-ai-form','20nYrcIp','9481350MUisOx','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','bind','Empty\x20history','isError','_createPromptView','insertButton','finishProcessing','handleError','ck-hidden','Ask\x20AI\x20to\x20edit\x20or\x20generate','promptView','replaceContent','setTemplate','element','fieldView','items','focusCycler','focusLast','clearHistory','createCollection','shift\x20+\x20tab'];_0x3c79=function(){return _0x3c222b;};return _0x3c79();}import _0x2ef362 from'./aihistorylistview.js';import _0x4385dd from'./aihistorylistitemview.js';import _0x2092bb from'./prompthistory.js';import{getTranslation as _0x3242c1}from'../../utils/common-translations.js';import{escape as _0x1c8da9}from'lodash-es';export default class x extends _0x302dd3{constructor(_0xf91639,_0x6cd4d,_0x472f94=''){const _0x9d1326=_0x538f;super(_0xf91639),this[_0x9d1326(0xfa)](_0x9d1326(0xed),!0x0),this[_0x9d1326(0xfa)](_0x9d1326(0x103),!0x1),this[_0x9d1326(0xfa)](_0x9d1326(0xb2),''),this[_0x9d1326(0xfa)](_0x9d1326(0xf9),''),this[_0x9d1326(0xfa)](_0x9d1326(0xc6),!0x1),this[_0x9d1326(0xfa)](_0x9d1326(0xea),_0x3b9f4f[_0x9d1326(0xb8)]),this[_0x9d1326(0xf3)]=new _0x2092bb(),this[_0x9d1326(0xfe)]=new _0x4eda6b(_0xf91639),this[_0x9d1326(0xec)]=new _0x219183(_0xf91639,_0x472f94),this[_0x9d1326(0xec)][_0x9d1326(0xc4)](_0x9d1326(0x103))['to'](this),this[_0x9d1326(0xec)][_0x9d1326(0xc4)](_0x9d1326(0xf9))['to'](this),this[_0x9d1326(0xe1)]=this[_0x9d1326(0x104)](),this[_0x9d1326(0xe1)][_0x9d1326(0xc4)](_0x9d1326(0xea))['to'](this),this[_0x9d1326(0xcd)]=this[_0x9d1326(0xc7)](),this[_0x9d1326(0xae)]=new _0x2ff6ab(),this[_0x9d1326(0xbf)]=new _0x3333e4(),this[_0x9d1326(0xb3)]=this[_0x9d1326(0xd6)]([this[_0x9d1326(0xec)],this[_0x9d1326(0xec)][_0x9d1326(0xda)],this[_0x9d1326(0xe1)],this[_0x9d1326(0xcd)]]),this[_0x9d1326(0xd3)]=new _0x23881b({'focusables':this[_0x9d1326(0xb3)],'focusTracker':this[_0x9d1326(0xae)],'keystrokeHandler':this[_0x9d1326(0xbf)],'actions':{'focusPrevious':_0x9d1326(0xd7),'focusNext':_0x9d1326(0xaf)}}),this[_0x9d1326(0xcd)][_0x9d1326(0xd3)]['on'](_0x9d1326(0xdb),_0x48cf6f=>{const _0x3291fe=_0x9d1326;this[_0x3291fe(0xd3)][_0x3291fe(0xb9)](),_0x48cf6f[_0x3291fe(0xff)]();}),this[_0x9d1326(0xcd)][_0x9d1326(0xd3)]['on'](_0x9d1326(0xe4),_0x1e2ba9=>{const _0x1c455a=_0x9d1326;this[_0x1c455a(0xd3)][_0x1c455a(0xd8)](),_0x1e2ba9[_0x1c455a(0xff)]();}),this[_0x9d1326(0xcd)][_0x9d1326(0xe8)][_0x9d1326(0xd1)][_0x9d1326(0xc4)](_0x9d1326(0xf9))['to'](this,_0x9d1326(0xb2));const _0x37ba83=this[_0x9d1326(0xba)];this[_0x9d1326(0xcf)]({'tag':_0x9d1326(0xbc),'attributes':{'class':['ck',_0x9d1326(0xc0),_0x6cd4d],'tabindex':'-1'},'children':[{'tag':_0x9d1326(0xbc),'attributes':{'class':['ck',_0x9d1326(0x101)]},'children':[{'tag':_0x9d1326(0xbc),'attributes':{'class':[_0x37ba83['if'](_0x9d1326(0xc6),_0x9d1326(0xcb),_0x53dd1a=>!_0x53dd1a)]},'children':[this[_0x9d1326(0xfe)]]},this[_0x9d1326(0xec)],this[_0x9d1326(0xe1)],this[_0x9d1326(0xcd)]]}]});}[_0x5e7d46(0xdd)](){const _0x33f060=_0x5e7d46;super[_0x33f060(0xdd)](),this[_0x33f060(0xae)][_0x33f060(0xf0)](this[_0x33f060(0xec)][_0x33f060(0xd0)]),this[_0x33f060(0xae)][_0x33f060(0xf0)](this[_0x33f060(0xec)][_0x33f060(0xda)][_0x33f060(0xd0)]),this[_0x33f060(0xae)][_0x33f060(0xf0)](this[_0x33f060(0xe1)][_0x33f060(0xd0)]),this[_0x33f060(0xae)][_0x33f060(0xf0)](this[_0x33f060(0xcd)][_0x33f060(0xd0)]),this[_0x33f060(0xbf)][_0x33f060(0xad)](this[_0x33f060(0xd0)]);}[_0x5e7d46(0x100)](_0x5287e0=0x1){const _0x340739=_0x5e7d46;-0x1===_0x5287e0?this[_0x340739(0xd3)][_0x340739(0xd4)]():this[_0x340739(0xd3)][_0x340739(0xe6)]();}[_0x5e7d46(0xb0)](){const _0x182707=_0x5e7d46;this[_0x182707(0xb2)]='',this[_0x182707(0xf9)]='',this[_0x182707(0xc6)]=!0x1,this[_0x182707(0xcd)][_0x182707(0xb0)](),this[_0x182707(0xec)][_0x182707(0xd9)]=!0x1,this[_0x182707(0xe1)][_0x182707(0xd9)]=!0x1;}[_0x5e7d46(0xc7)](){const _0x647cce=_0x5e7d46,_0x160f77=this[_0x647cce(0xf5)],_0x3e08ad=new _0x46d32c(_0x160f77,{'queryView':{'label':_0x3242c1(_0x160f77,_0x647cce(0xcc)),'creator':_0x244584,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3242c1(_0x160f77,_0x647cce(0xc5)),'secondary':_0x3242c1(_0x160f77,_0x647cce(0xc3))}}},'filteredView':this[_0x647cce(0xfb)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3e08ad[_0x647cce(0xc4)](_0x647cce(0xed))['to'](this,_0x647cce(0xed),this,_0x647cce(0x103),(_0x5b70f5,_0x20360c)=>_0x5b70f5&&!_0x20360c),this[_0x647cce(0xad)](_0x3e08ad,_0x647cce(0xf8),(_0x1e5960,_0x1cd857)=>{const _0x56bb47=_0x647cce;this[_0x56bb47(0xb2)]=_0x1cd857;const _0x521db4=_0x1c8da9(_0x1cd857);this[_0x56bb47(0xbd)](_0x56bb47(0xb7),_0x521db4),_0x1cd857[_0x56bb47(0xb5)]()&&this[_0x56bb47(0xf3)][_0x56bb47(0xf0)]({'prompt':_0x521db4},0x0);},{'priority':_0x647cce(0x106)}),_0x3e08ad;}[_0x5e7d46(0xfb)](){const _0x6a8faa=_0x5e7d46,_0x37b015=new _0x2ef362(this[_0x6a8faa(0xf5)]);return _0x37b015[_0x6a8faa(0xde)][_0x6a8faa(0xd2)][_0x6a8faa(0xeb)](this[_0x6a8faa(0xf3)])['as'](_0x4385dd),_0x37b015['on'](_0x6a8faa(0xd5),()=>{const _0x5e6338=_0x6a8faa;this[_0x5e6338(0xf3)][_0x5e6338(0xef)](),this[_0x5e6338(0xcd)][_0x5e6338(0xf2)](''),this[_0x5e6338(0xcd)][_0x5e6338(0x100)]();}),_0x37b015;}[_0x5e7d46(0x104)](){const _0x17cc34=_0x5e7d46,_0x205e0e=new _0x515665(this[_0x17cc34(0xf5)]);return _0x205e0e[_0x17cc34(0xf6)][_0x17cc34(0xc4)](_0x17cc34(0xed))['to'](this,_0x17cc34(0xed),this,_0x17cc34(0x103),this,_0x17cc34(0xf9),(_0x4a7f82,_0x5c1fe1,_0x119f78)=>_0x4a7f82&&!_0x5c1fe1&&!!_0x119f78),_0x205e0e[_0x17cc34(0xf6)][_0x17cc34(0x105)](_0x17cc34(0xdc))['to'](this,_0x17cc34(0xce)),_0x205e0e[_0x17cc34(0xc8)][_0x17cc34(0xc4)](_0x17cc34(0xed))['to'](this,_0x17cc34(0xed),this,_0x17cc34(0x103),this,_0x17cc34(0xf9),(_0x278fce,_0x2f1b95,_0x5d41a0)=>_0x278fce&&!_0x2f1b95&&!!_0x5d41a0),_0x205e0e[_0x17cc34(0xc8)][_0x17cc34(0x105)](_0x17cc34(0xdc))['to'](this,_0x17cc34(0xf4)),_0x205e0e[_0x17cc34(0xbb)][_0x17cc34(0xc4)](_0x17cc34(0xed))['to'](this,_0x17cc34(0xed),this,_0x17cc34(0x103),(_0x3396b2,_0x14b54d)=>_0x3396b2&&!_0x14b54d),_0x205e0e[_0x17cc34(0xbb)][_0x17cc34(0x105)](_0x17cc34(0xdc))['to'](this,_0x17cc34(0xee)),_0x205e0e[_0x17cc34(0xf7)][_0x17cc34(0xc4)](_0x17cc34(0xed))['to'](this,_0x17cc34(0x103)),_0x205e0e[_0x17cc34(0xf7)][_0x17cc34(0x105)](_0x17cc34(0xdc))['to'](this,_0x17cc34(0xe3)),_0x205e0e;}[_0x5e7d46(0xf1)](){const _0xcb8c9c=_0x5e7d46;this[_0xcb8c9c(0xf9)]='',this[_0xcb8c9c(0xc6)]=!0x1,this[_0xcb8c9c(0x103)]=!0x0,this[_0xcb8c9c(0xec)][_0xcb8c9c(0xd9)]=!0x0,this[_0xcb8c9c(0xe1)][_0xcb8c9c(0xd9)]=!0x0,this[_0xcb8c9c(0xec)][_0xcb8c9c(0x100)]();}[_0x5e7d46(0xc9)](){const _0x12d624=_0x5e7d46,_0x2263b9=this[_0x12d624(0xf5)];this[_0x12d624(0x103)]=!0x1,this[_0x12d624(0xb2)]='',this[_0x12d624(0xcd)][_0x12d624(0xb0)](),this[_0x12d624(0xf9)]&&(this[_0x12d624(0xcd)][_0x12d624(0xe8)][_0x12d624(0xe7)]=_0x3242c1(_0x2263b9,_0x12d624(0xe9)));}[_0x5e7d46(0xca)](_0x3faa3b){const _0xb16fb8=_0x5e7d46,_0x1c33f4=this[_0xb16fb8(0xf5)];this[_0xb16fb8(0xc9)](),this[_0xb16fb8(0xc6)]=!0x0,this[_0xb16fb8(0xfe)][_0xb16fb8(0xe5)]=_0x3faa3b||_0x3242c1(_0x1c33f4,_0xb16fb8(0xbe)),this[_0xb16fb8(0xf9)]||(this[_0xb16fb8(0xec)][_0xb16fb8(0xd9)]=!0x1);}}
23
+ const _0xa55c32=_0x30ae;function _0x2bb2(){const _0x553a62=['clear','backwardCycle','delegate','_focusables','tryAgainEvent','552951extbqe','35885gQdGjX','locale','promptView','stopButton','fire','listenTo','setTemplate','focusNext','insertButton','ck-ai-form-content','_createHistoryView','925064NHTZbW','keystrokes','tab','focusTracker','focusFirst','trim','Ask\x20AI\x20to\x20improve\x20generated\x20text','div','92naZwnB','2394684GIQGTd','startProcessing','_promptHistory','replaceContent','high','Ask\x20AI\x20to\x20edit\x20or\x20generate','value','bindTo','stopProcessing','handleError','2205088yUAipF','submit','focusCycler','focus','bind','shift\x20+\x20tab','reset','isEnabled','queryView','Empty\x20history','isProcessing','clearHistory','focusLast','render','items','errorView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isVisible','add','_createToolbar','replaceButton','label','fieldView','tryAgainButton','1xzdUXX','AI_ERROR_FAILED','historyGroupView','finishProcessing','toolbar','execute','copyButtonView','prompt','311738ERiBKj','1023792roNoAu','isError','ck-hidden','element','set','contentArea','createCollection','ck-ai-form','focusPrevious','search','insertContentBelow','mainAction','stop','REPLACE','submitPrompt','forwardCycle','_createPromptView','text','bindTemplate'];_0x2bb2=function(){return _0x553a62;};return _0x2bb2();}(function(_0x416ad4,_0x30f462){const _0x1e5212=_0x30ae,_0x2b9ceb=_0x416ad4();while(!![]){try{const _0x42aff9=-parseInt(_0x1e5212(0x183))/0x1*(-parseInt(_0x1e5212(0x18b))/0x2)+parseInt(_0x1e5212(0x1a4))/0x3+parseInt(_0x1e5212(0x1b8))/0x4*(-parseInt(_0x1e5212(0x1a5))/0x5)+-parseInt(_0x1e5212(0x18c))/0x6+parseInt(_0x1e5212(0x1b0))/0x7+parseInt(_0x1e5212(0x1c3))/0x8+-parseInt(_0x1e5212(0x1b9))/0x9;if(_0x42aff9===_0x30f462)break;else _0x2b9ceb['push'](_0x2b9ceb['shift']());}catch(_0x3da123){_0x2b9ceb['push'](_0x2b9ceb['shift']());}}}(_0x2bb2,0x23b13));import{FocusTracker as _0x6f3b0e,KeystrokeHandler as _0x31d804}from'ckeditor5/src/utils.js';import{View as _0x24f0ec,FocusCycler as _0x379181,createLabeledTextarea as _0x118a92}from'ckeditor5/src/ui.js';import _0x2b1124,{AIFormToolbarViewMainActionLabel as _0x132893}from'./aiformtoolbarview.js';import _0x112479 from'./aiformcontentarea.js';import _0x108400 from'./aiformerrorview.js';import _0x46c96a from'./aiformpromptview.js';function _0x30ae(_0xc36073,_0xda4cf1){const _0x2bb2a2=_0x2bb2();return _0x30ae=function(_0x30ae7e,_0x26365d){_0x30ae7e=_0x30ae7e-0x17b;let _0x106d6c=_0x2bb2a2[_0x30ae7e];return _0x106d6c;},_0x30ae(_0xc36073,_0xda4cf1);}import _0x112509 from'./aihistorylistview.js';import _0x55d572 from'./aihistorylistitemview.js';import _0x33ed90 from'./prompthistory.js';import{getTranslation as _0xddbf39}from'../../utils/common-translations.js';import{escape as _0x42b6f1}from'lodash-es';export default class x extends _0x24f0ec{constructor(_0x504c2c,_0x54488a,_0x385800=''){const _0x5af557=_0x30ae;super(_0x504c2c),this[_0x5af557(0x190)](_0x5af557(0x1ca),!0x0),this[_0x5af557(0x190)](_0x5af557(0x1cd),!0x1),this[_0x5af557(0x190)](_0x5af557(0x18a),''),this[_0x5af557(0x190)](_0x5af557(0x1bf),''),this[_0x5af557(0x190)](_0x5af557(0x18d),!0x1),this[_0x5af557(0x190)](_0x5af557(0x197),_0x132893[_0x5af557(0x199)]),this[_0x5af557(0x1bb)]=new _0x33ed90(),this[_0x5af557(0x1d2)]=new _0x108400(_0x504c2c),this[_0x5af557(0x191)]=new _0x112479(_0x504c2c,_0x385800),this[_0x5af557(0x191)][_0x5af557(0x1c7)](_0x5af557(0x1cd))['to'](this),this[_0x5af557(0x191)][_0x5af557(0x1c7)](_0x5af557(0x1bf))['to'](this),this[_0x5af557(0x187)]=this[_0x5af557(0x17e)](),this[_0x5af557(0x187)][_0x5af557(0x1c7)](_0x5af557(0x197))['to'](this),this[_0x5af557(0x1a7)]=this[_0x5af557(0x19c)](),this[_0x5af557(0x1b3)]=new _0x6f3b0e(),this[_0x5af557(0x1b1)]=new _0x31d804(),this[_0x5af557(0x1a2)]=this[_0x5af557(0x192)]([this[_0x5af557(0x191)],this[_0x5af557(0x191)][_0x5af557(0x189)],this[_0x5af557(0x187)],this[_0x5af557(0x1a7)]]),this[_0x5af557(0x1c5)]=new _0x379181({'focusables':this[_0x5af557(0x1a2)],'focusTracker':this[_0x5af557(0x1b3)],'keystrokeHandler':this[_0x5af557(0x1b1)],'actions':{'focusPrevious':_0x5af557(0x1c8),'focusNext':_0x5af557(0x1b2)}}),this[_0x5af557(0x1a7)][_0x5af557(0x1c5)]['on'](_0x5af557(0x19b),_0x2dc249=>{const _0x1a93f3=_0x5af557;this[_0x1a93f3(0x1c5)][_0x1a93f3(0x1ac)](),_0x2dc249[_0x1a93f3(0x198)]();}),this[_0x5af557(0x1a7)][_0x5af557(0x1c5)]['on'](_0x5af557(0x1a0),_0xbaccf5=>{const _0x50c5b5=_0x5af557;this[_0x50c5b5(0x1c5)][_0x50c5b5(0x194)](),_0xbaccf5[_0x50c5b5(0x198)]();}),this[_0x5af557(0x1a7)][_0x5af557(0x1cb)][_0x5af557(0x181)][_0x5af557(0x1c7)](_0x5af557(0x1bf))['to'](this,_0x5af557(0x18a));const _0x2820df=this[_0x5af557(0x19e)];this[_0x5af557(0x1ab)]({'tag':_0x5af557(0x1b7),'attributes':{'class':['ck',_0x5af557(0x193),_0x54488a],'tabindex':'-1'},'children':[{'tag':_0x5af557(0x1b7),'attributes':{'class':['ck',_0x5af557(0x1ae)]},'children':[{'tag':_0x5af557(0x1b7),'attributes':{'class':[_0x2820df['if'](_0x5af557(0x18d),_0x5af557(0x18e),_0x39959c=>!_0x39959c)]},'children':[this[_0x5af557(0x1d2)]]},this[_0x5af557(0x191)],this[_0x5af557(0x187)],this[_0x5af557(0x1a7)]]}]});}[_0xa55c32(0x1d0)](){const _0x5d1c6c=_0xa55c32;super[_0x5d1c6c(0x1d0)](),this[_0x5d1c6c(0x1b3)][_0x5d1c6c(0x17d)](this[_0x5d1c6c(0x191)][_0x5d1c6c(0x18f)]),this[_0x5d1c6c(0x1b3)][_0x5d1c6c(0x17d)](this[_0x5d1c6c(0x191)][_0x5d1c6c(0x189)][_0x5d1c6c(0x18f)]),this[_0x5d1c6c(0x1b3)][_0x5d1c6c(0x17d)](this[_0x5d1c6c(0x187)][_0x5d1c6c(0x18f)]),this[_0x5d1c6c(0x1b3)][_0x5d1c6c(0x17d)](this[_0x5d1c6c(0x1a7)][_0x5d1c6c(0x18f)]),this[_0x5d1c6c(0x1b1)][_0x5d1c6c(0x1aa)](this[_0x5d1c6c(0x18f)]);}[_0xa55c32(0x1c6)](_0x49d544=0x1){const _0x2862ce=_0xa55c32;-0x1===_0x49d544?this[_0x2862ce(0x1c5)][_0x2862ce(0x1cf)]():this[_0x2862ce(0x1c5)][_0x2862ce(0x1b4)]();}[_0xa55c32(0x1c9)](){const _0x3425e9=_0xa55c32;this[_0x3425e9(0x18a)]='',this[_0x3425e9(0x1bf)]='',this[_0x3425e9(0x18d)]=!0x1,this[_0x3425e9(0x1a7)][_0x3425e9(0x1c9)](),this[_0x3425e9(0x191)][_0x3425e9(0x17c)]=!0x1,this[_0x3425e9(0x187)][_0x3425e9(0x17c)]=!0x1;}[_0xa55c32(0x19c)](){const _0x245a4c=_0xa55c32,_0xca9f6c=this[_0x245a4c(0x1a6)],_0x40e6d7=new _0x46c96a(_0xca9f6c,{'queryView':{'label':_0xddbf39(_0xca9f6c,_0x245a4c(0x1be)),'creator':_0x118a92,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xddbf39(_0xca9f6c,_0x245a4c(0x1cc)),'secondary':_0xddbf39(_0xca9f6c,_0x245a4c(0x17b))}}},'filteredView':this[_0x245a4c(0x1af)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x40e6d7[_0x245a4c(0x1c7)](_0x245a4c(0x1ca))['to'](this,_0x245a4c(0x1ca),this,_0x245a4c(0x1cd),(_0x2d926b,_0x40e52a)=>_0x2d926b&&!_0x40e52a),this[_0x245a4c(0x1aa)](_0x40e6d7,_0x245a4c(0x1c4),(_0x549416,_0x37468c)=>{const _0x1037b0=_0x245a4c;this[_0x1037b0(0x18a)]=_0x37468c;const _0x1fdf5a=_0x42b6f1(_0x37468c);this[_0x1037b0(0x1a9)](_0x1037b0(0x19a),_0x1fdf5a),_0x37468c[_0x1037b0(0x1b5)]()&&this[_0x1037b0(0x1bb)][_0x1037b0(0x17d)]({'prompt':_0x1fdf5a},0x0);},{'priority':_0x245a4c(0x1bd)}),_0x40e6d7;}[_0xa55c32(0x1af)](){const _0x29481e=_0xa55c32,_0x1141db=new _0x112509(this[_0x29481e(0x1a6)]);return _0x1141db[_0x29481e(0x185)][_0x29481e(0x1d1)][_0x29481e(0x1c0)](this[_0x29481e(0x1bb)])['as'](_0x55d572),_0x1141db['on'](_0x29481e(0x1ce),()=>{const _0x59a6ab=_0x29481e;this[_0x59a6ab(0x1bb)][_0x59a6ab(0x19f)](),this[_0x59a6ab(0x1a7)][_0x59a6ab(0x195)](''),this[_0x59a6ab(0x1a7)][_0x59a6ab(0x1c6)]();}),_0x1141db;}[_0xa55c32(0x17e)](){const _0x2e323d=_0xa55c32,_0x2b6959=new _0x2b1124(this[_0x2e323d(0x1a6)]);return _0x2b6959[_0x2e323d(0x17f)][_0x2e323d(0x1c7)](_0x2e323d(0x1ca))['to'](this,_0x2e323d(0x1ca),this,_0x2e323d(0x1cd),this,_0x2e323d(0x1bf),(_0x3cf23d,_0x1cd252,_0x41c8a7)=>_0x3cf23d&&!_0x1cd252&&!!_0x41c8a7),_0x2b6959[_0x2e323d(0x17f)][_0x2e323d(0x1a1)](_0x2e323d(0x188))['to'](this,_0x2e323d(0x1bc)),_0x2b6959[_0x2e323d(0x1ad)][_0x2e323d(0x1c7)](_0x2e323d(0x1ca))['to'](this,_0x2e323d(0x1ca),this,_0x2e323d(0x1cd),this,_0x2e323d(0x1bf),(_0x4bc78b,_0x5d6447,_0x374977)=>_0x4bc78b&&!_0x5d6447&&!!_0x374977),_0x2b6959[_0x2e323d(0x1ad)][_0x2e323d(0x1a1)](_0x2e323d(0x188))['to'](this,_0x2e323d(0x196)),_0x2b6959[_0x2e323d(0x182)][_0x2e323d(0x1c7)](_0x2e323d(0x1ca))['to'](this,_0x2e323d(0x1ca),this,_0x2e323d(0x1cd),(_0x33a3f2,_0x4971df)=>_0x33a3f2&&!_0x4971df),_0x2b6959[_0x2e323d(0x182)][_0x2e323d(0x1a1)](_0x2e323d(0x188))['to'](this,_0x2e323d(0x1a3)),_0x2b6959[_0x2e323d(0x1a8)][_0x2e323d(0x1c7)](_0x2e323d(0x1ca))['to'](this,_0x2e323d(0x1cd)),_0x2b6959[_0x2e323d(0x1a8)][_0x2e323d(0x1a1)](_0x2e323d(0x188))['to'](this,_0x2e323d(0x1c1)),_0x2b6959;}[_0xa55c32(0x1ba)](){const _0x26855b=_0xa55c32;this[_0x26855b(0x1bf)]='',this[_0x26855b(0x18d)]=!0x1,this[_0x26855b(0x1cd)]=!0x0,this[_0x26855b(0x191)][_0x26855b(0x17c)]=!0x0,this[_0x26855b(0x187)][_0x26855b(0x17c)]=!0x0,this[_0x26855b(0x191)][_0x26855b(0x1c6)]();}[_0xa55c32(0x186)](){const _0x1d2ee0=_0xa55c32,_0x2980b9=this[_0x1d2ee0(0x1a6)];this[_0x1d2ee0(0x1cd)]=!0x1,this[_0x1d2ee0(0x18a)]='',this[_0x1d2ee0(0x1a7)][_0x1d2ee0(0x1c9)](),this[_0x1d2ee0(0x1bf)]&&(this[_0x1d2ee0(0x1a7)][_0x1d2ee0(0x1cb)][_0x1d2ee0(0x180)]=_0xddbf39(_0x2980b9,_0x1d2ee0(0x1b6)));}[_0xa55c32(0x1c2)](_0x45fae3){const _0x2a5c44=_0xa55c32,_0x4c5144=this[_0x2a5c44(0x1a6)];this[_0x2a5c44(0x186)](),this[_0x2a5c44(0x18d)]=!0x0,this[_0x2a5c44(0x1d2)][_0x2a5c44(0x19d)]=_0x45fae3||_0xddbf39(_0x4c5144,_0x2a5c44(0x184)),this[_0x2a5c44(0x1bf)]||(this[_0x2a5c44(0x191)][_0x2a5c44(0x17c)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x25e6f8,_0x1a370c){const _0x226100=_0x3544,_0x2b2ed6=_0x25e6f8();while(!![]){try{const _0x1edc0d=-parseInt(_0x226100(0x15d))/0x1*(-parseInt(_0x226100(0x153))/0x2)+parseInt(_0x226100(0x15c))/0x3+-parseInt(_0x226100(0x155))/0x4*(parseInt(_0x226100(0x15f))/0x5)+-parseInt(_0x226100(0x157))/0x6*(parseInt(_0x226100(0x154))/0x7)+parseInt(_0x226100(0x160))/0x8+parseInt(_0x226100(0x152))/0x9*(-parseInt(_0x226100(0x156))/0xa)+parseInt(_0x226100(0x159))/0xb;if(_0x1edc0d===_0x1a370c)break;else _0x2b2ed6['push'](_0x2b2ed6['shift']());}catch(_0x5bfc02){_0x2b2ed6['push'](_0x2b2ed6['shift']());}}}(_0x25e0,0xe6d8a));function _0x3544(_0x3c186b,_0x3ed870){const _0x25e014=_0x25e0();return _0x3544=function(_0x3544cd,_0x51f676){_0x3544cd=_0x3544cd-0x152;let _0x5997df=_0x25e014[_0x3544cd];return _0x5997df;},_0x3544(_0x3c186b,_0x3ed870);}import{ListItemView as _0x51e7c9,ButtonView as _0x11e6c5}from'ckeditor5/src/ui.js';import _0x427970 from'../dropdown/buttonlabelwithhighlightview.js';function _0x25e0(){const _0x4b7169=['2733aFHRNV','locale','15YkbweY','7126896BjyYxJ','add','execute','set','70065xucMrs','748rvLPbB','7BHFStk','2069500jochco','2140ywjyiP','416958YPWejY','fire','19192283EWGoyf','prompt','children','1726191OLuDsC'];_0x25e0=function(){return _0x4b7169;};return _0x25e0();}import{unescape as _0x31f187}from'lodash-es';export default class hs extends _0x51e7c9{constructor(_0x48817d){const _0x2e6b04=_0x3544;super();const _0x501ad6=new _0x427970(),_0x595ab1=new _0x11e6c5(this[_0x2e6b04(0x15e)],_0x501ad6);this[_0x2e6b04(0x15b)][_0x2e6b04(0x161)](_0x595ab1),_0x595ab1[_0x2e6b04(0x163)]({'label':_0x48817d[_0x2e6b04(0x15a)],'withText':!0x0}),_0x595ab1['on'](_0x2e6b04(0x162),()=>{const _0x14d5e0=_0x2e6b04;this[_0x14d5e0(0x158)](_0x14d5e0(0x162),{'value':_0x31f187(_0x48817d[_0x14d5e0(0x15a)])});});}}
23
+ (function(_0x6c1c45,_0x4c4a28){const _0x5a7a7e=_0x258a,_0x155a10=_0x6c1c45();while(!![]){try{const _0x162d51=parseInt(_0x5a7a7e(0x18c))/0x1*(-parseInt(_0x5a7a7e(0x186))/0x2)+parseInt(_0x5a7a7e(0x17b))/0x3+-parseInt(_0x5a7a7e(0x184))/0x4*(-parseInt(_0x5a7a7e(0x183))/0x5)+parseInt(_0x5a7a7e(0x182))/0x6+-parseInt(_0x5a7a7e(0x18a))/0x7*(-parseInt(_0x5a7a7e(0x189))/0x8)+-parseInt(_0x5a7a7e(0x17e))/0x9*(parseInt(_0x5a7a7e(0x18b))/0xa)+-parseInt(_0x5a7a7e(0x17c))/0xb;if(_0x162d51===_0x4c4a28)break;else _0x155a10['push'](_0x155a10['shift']());}catch(_0x1afadf){_0x155a10['push'](_0x155a10['shift']());}}}(_0x8bfe,0x79659));function _0x8bfe(){const _0x306367=['fire','set','5958312DyDOeB','2401540EpznYw','8eAeqGg','add','199242BixQWS','prompt','children','44024LGreht','175FORaAu','60xlNdmV','1gQsxnr','74937wuhyPN','14222582mEdIGU','execute','339597kUCQJs','locale'];_0x8bfe=function(){return _0x306367;};return _0x8bfe();}import{ListItemView as _0x5b46f0,ButtonView as _0xd88739}from'ckeditor5/src/ui.js';function _0x258a(_0x59cf31,_0x4fd167){const _0x8bfe4e=_0x8bfe();return _0x258a=function(_0x258a6c,_0x3adbc1){_0x258a6c=_0x258a6c-0x17b;let _0x273fc9=_0x8bfe4e[_0x258a6c];return _0x273fc9;},_0x258a(_0x59cf31,_0x4fd167);}import _0x45b967 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x313cae}from'lodash-es';export default class hs extends _0x5b46f0{constructor(_0x23a6d0){const _0x5e032e=_0x258a;super();const _0x248124=new _0x45b967(),_0x2a56fe=new _0xd88739(this[_0x5e032e(0x17f)],_0x248124);this[_0x5e032e(0x188)][_0x5e032e(0x185)](_0x2a56fe),_0x2a56fe[_0x5e032e(0x181)]({'label':_0x23a6d0[_0x5e032e(0x187)],'withText':!0x0}),_0x2a56fe['on'](_0x5e032e(0x17d),()=>{const _0x439435=_0x5e032e;this[_0x439435(0x180)](_0x439435(0x17d),{'value':_0x313cae(_0x23a6d0[_0x439435(0x187)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x430fc6=_0x2ddc;function _0x2ddc(_0x149708,_0x143266){const _0x528ec7=_0x528e();return _0x2ddc=function(_0x2ddcb6,_0x54e4c9){_0x2ddcb6=_0x2ddcb6-0x17c;let _0x370c88=_0x528ec7[_0x2ddcb6];return _0x370c88;},_0x2ddc(_0x149708,_0x143266);}(function(_0x5f1a1a,_0x40421f){const _0x1777b5=_0x2ddc,_0x287e19=_0x5f1a1a();while(!![]){try{const _0x38f8b8=-parseInt(_0x1777b5(0x183))/0x1+-parseInt(_0x1777b5(0x181))/0x2+parseInt(_0x1777b5(0x195))/0x3*(parseInt(_0x1777b5(0x18b))/0x4)+-parseInt(_0x1777b5(0x188))/0x5*(parseInt(_0x1777b5(0x18c))/0x6)+-parseInt(_0x1777b5(0x180))/0x7+parseInt(_0x1777b5(0x186))/0x8*(parseInt(_0x1777b5(0x17e))/0x9)+-parseInt(_0x1777b5(0x193))/0xa;if(_0x38f8b8===_0x40421f)break;else _0x287e19['push'](_0x287e19['shift']());}catch(_0x16b8c4){_0x287e19['push'](_0x287e19['shift']());}}}(_0x528e,0x45b80));function _0x528e(){const _0xea678c=['Prompt\x20history','2110924asIfrz','1731108NNPpxN','fire','label','delegate','_createClearHistoryButton','locale','add','731260aFUeEj','clearHistoryButton','3phZgNN','historyGroupView','items','length','423rfBJvi','children','1796879Yuqddt','289854zQwPnF','set','30534CElELk','clearHistory','execute','93896UWpnkb','Clear','5cezUjZ','filter'];_0x528e=function(){return _0xea678c;};return _0x528e();}import{ListView as _0x29d285,ListItemGroupView as _0x4a31d0,ButtonView as _0x2d1c91}from'ckeditor5/src/ui.js';import{getTranslation as _0x414a0a}from'../../utils/common-translations.js';export default class rs extends _0x29d285{constructor(_0x3be059){const _0x1e20dc=_0x2ddc;super(_0x3be059),this[_0x1e20dc(0x194)]=this[_0x1e20dc(0x190)](),this[_0x1e20dc(0x196)]=new _0x4a31d0(),this[_0x1e20dc(0x196)][_0x1e20dc(0x17f)][_0x1e20dc(0x192)](this[_0x1e20dc(0x194)],0x1),this[_0x1e20dc(0x196)][_0x1e20dc(0x18e)]=_0x414a0a(_0x3be059,_0x1e20dc(0x18a)),this[_0x1e20dc(0x196)][_0x1e20dc(0x17c)][_0x1e20dc(0x18f)](_0x1e20dc(0x185))['to'](this),this[_0x1e20dc(0x17c)][_0x1e20dc(0x192)](this[_0x1e20dc(0x196)]);}[_0x430fc6(0x189)](){const _0x1f7945=_0x430fc6;let _0x577131=0x0;for(const _0x12d326 of this[_0x1f7945(0x17c)])_0x577131+=_0x12d326[_0x1f7945(0x17c)][_0x1f7945(0x17d)];return{'resultsCount':_0x577131,'totalItemsCount':_0x577131};}[_0x430fc6(0x190)](){const _0x2443b3=_0x430fc6,_0x4c01b9=this[_0x2443b3(0x191)],_0x3cd0f1=new _0x2d1c91(this[_0x2443b3(0x191)]);return _0x3cd0f1[_0x2443b3(0x182)]({'label':'('+_0x414a0a(_0x4c01b9,_0x2443b3(0x187))+')','withText':!0x0}),_0x3cd0f1['on'](_0x2443b3(0x185),()=>this[_0x2443b3(0x18d)](_0x2443b3(0x184))),_0x3cd0f1;}}
23
+ const _0x3e6c00=_0x4df6;function _0x4df6(_0x56bf21,_0x50d409){const _0x58683c=_0x5868();return _0x4df6=function(_0x4df62a,_0x5c1ee9){_0x4df62a=_0x4df62a-0x1cc;let _0x66f5f0=_0x58683c[_0x4df62a];return _0x66f5f0;},_0x4df6(_0x56bf21,_0x50d409);}(function(_0x29ab8b,_0x4100fb){const _0x30dd82=_0x4df6,_0x45af49=_0x29ab8b();while(!![]){try{const _0xade81c=-parseInt(_0x30dd82(0x1d2))/0x1+-parseInt(_0x30dd82(0x1de))/0x2+parseInt(_0x30dd82(0x1d8))/0x3*(parseInt(_0x30dd82(0x1dc))/0x4)+-parseInt(_0x30dd82(0x1d0))/0x5+parseInt(_0x30dd82(0x1da))/0x6*(parseInt(_0x30dd82(0x1ce))/0x7)+parseInt(_0x30dd82(0x1cd))/0x8+-parseInt(_0x30dd82(0x1e5))/0x9*(-parseInt(_0x30dd82(0x1e4))/0xa);if(_0xade81c===_0x4100fb)break;else _0x45af49['push'](_0x45af49['shift']());}catch(_0x50e1ea){_0x45af49['push'](_0x45af49['shift']());}}}(_0x5868,0x97b23));import{ListView as _0x50880b,ListItemGroupView as _0x5dff2a,ButtonView as _0x1576ea}from'ckeditor5/src/ui.js';import{getTranslation as _0x2eabfd}from'../../utils/common-translations.js';function _0x5868(){const _0x4e86f1=['322venZVY','historyGroupView','1424975JzMUjg','execute','1214221VbPFhO','set','delegate','label','clearHistoryButton','items','3687SKxANF','_createClearHistoryButton','135942xAxLor','fire','580iwlQJm','add','1310412gkcKLD','Prompt\x20history','children','Clear','clearHistory','filter','57930iVCPAh','585qpdYbr','length','locale','9430376wzKkOo'];_0x5868=function(){return _0x4e86f1;};return _0x5868();}export default class rs extends _0x50880b{constructor(_0x2f92b3){const _0x2a3477=_0x4df6;super(_0x2f92b3),this[_0x2a3477(0x1d6)]=this[_0x2a3477(0x1d9)](),this[_0x2a3477(0x1cf)]=new _0x5dff2a(),this[_0x2a3477(0x1cf)][_0x2a3477(0x1e0)][_0x2a3477(0x1dd)](this[_0x2a3477(0x1d6)],0x1),this[_0x2a3477(0x1cf)][_0x2a3477(0x1d5)]=_0x2eabfd(_0x2f92b3,_0x2a3477(0x1df)),this[_0x2a3477(0x1cf)][_0x2a3477(0x1d7)][_0x2a3477(0x1d4)](_0x2a3477(0x1d1))['to'](this),this[_0x2a3477(0x1d7)][_0x2a3477(0x1dd)](this[_0x2a3477(0x1cf)]);}[_0x3e6c00(0x1e3)](){const _0x11149c=_0x3e6c00;let _0x434615=0x0;for(const _0xbd57cd of this[_0x11149c(0x1d7)])_0x434615+=_0xbd57cd[_0x11149c(0x1d7)][_0x11149c(0x1e6)];return{'resultsCount':_0x434615,'totalItemsCount':_0x434615};}[_0x3e6c00(0x1d9)](){const _0x23bf13=_0x3e6c00,_0x506209=this[_0x23bf13(0x1cc)],_0x2fc0cc=new _0x1576ea(this[_0x23bf13(0x1cc)]);return _0x2fc0cc[_0x23bf13(0x1d3)]({'label':'('+_0x2eabfd(_0x506209,_0x23bf13(0x1e1))+')','withText':!0x0}),_0x2fc0cc['on'](_0x23bf13(0x1d1),()=>this[_0x23bf13(0x1db)](_0x23bf13(0x1e2))),_0x2fc0cc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x411c1e=_0x15fd;(function(_0x5dc7ab,_0x2b8da4){const _0x76f2bd=_0x15fd,_0x3e97c5=_0x5dc7ab();while(!![]){try{const _0x1bee7e=parseInt(_0x76f2bd(0x78))/0x1*(parseInt(_0x76f2bd(0x7f))/0x2)+parseInt(_0x76f2bd(0x85))/0x3+parseInt(_0x76f2bd(0x76))/0x4+parseInt(_0x76f2bd(0x80))/0x5*(parseInt(_0x76f2bd(0x8a))/0x6)+parseInt(_0x76f2bd(0x82))/0x7*(parseInt(_0x76f2bd(0x79))/0x8)+parseInt(_0x76f2bd(0x88))/0x9*(-parseInt(_0x76f2bd(0x83))/0xa)+-parseInt(_0x76f2bd(0x81))/0xb;if(_0x1bee7e===_0x2b8da4)break;else _0x3e97c5['push'](_0x3e97c5['shift']());}catch(_0x530072){_0x3e97c5['push'](_0x3e97c5['shift']());}}}(_0x5bae,0x42b96));import{Collection as _0x444c26}from'ckeditor5/src/utils.js';const cs=_0x411c1e(0x7a);export default class os extends _0x444c26{constructor(){const _0x39f9b8=_0x411c1e;super(),this[_0x39f9b8(0x74)](),this['on'](_0x39f9b8(0x7c),(_0x1307b8,_0x381802)=>{const _0x148a0c=_0x39f9b8,_0x22c8a3=Ss(_0x381802[_0x148a0c(0x87)]);for(const _0x53675e of this)if(_0x53675e!=_0x381802&&Ss(_0x53675e[_0x148a0c(0x87)])===_0x22c8a3){this[_0x148a0c(0x70)](_0x53675e);break;}this[_0x148a0c(0x84)]>0x14&&this[_0x148a0c(0x70)](this[_0x148a0c(0x86)]),this[_0x148a0c(0x77)]();}),this['on'](_0x39f9b8(0x70),()=>{const _0x6217ab=_0x39f9b8;this[_0x6217ab(0x77)]();});}[_0x411c1e(0x74)](){const _0x3112ca=_0x411c1e,_0x202fc7=sessionStorage[_0x3112ca(0x71)](cs)||'[]';this[_0x3112ca(0x7e)](JSON[_0x3112ca(0x75)](_0x202fc7));}[_0x411c1e(0x77)](){const _0x18ed1b=_0x411c1e;sessionStorage[_0x18ed1b(0x7b)](cs,JSON[_0x18ed1b(0x7d)](this[_0x18ed1b(0x72)](_0x509b08=>_0x509b08)));}}function _0x5bae(){const _0x58be4f=['length','864678haNhHh','last','prompt','243CtOAnL','trim','156KeFXjM','remove','getItem','map','toLowerCase','_loadFromSessionStorage','parse','850028UKzUUH','_saveToSessionStorage','1zmLncY','1432hPkPrR','CKEditor/AIFormView/PromptHistory','setItem','add','stringify','addMany','168286MurBFZ','16065AdJLfd','538681IujWJV','1078EQSUgy','138410QaxdIn'];_0x5bae=function(){return _0x58be4f;};return _0x5bae();}function _0x15fd(_0x3f47e9,_0x2ef96d){const _0x5baee3=_0x5bae();return _0x15fd=function(_0x15fde6,_0x18213b){_0x15fde6=_0x15fde6-0x70;let _0x128f02=_0x5baee3[_0x15fde6];return _0x128f02;},_0x15fd(_0x3f47e9,_0x2ef96d);}function Ss(_0x12fcbf){const _0x435963=_0x411c1e;return _0x12fcbf[_0x435963(0x73)]()[_0x435963(0x89)]();}
23
+ const _0x3b7598=_0x2a87;(function(_0x2f4934,_0x3a8f6a){const _0x2f6bb0=_0x2a87,_0x25524e=_0x2f4934();while(!![]){try{const _0x3dcb7e=parseInt(_0x2f6bb0(0x137))/0x1+-parseInt(_0x2f6bb0(0x12f))/0x2+parseInt(_0x2f6bb0(0x139))/0x3*(parseInt(_0x2f6bb0(0x136))/0x4)+parseInt(_0x2f6bb0(0x13e))/0x5+-parseInt(_0x2f6bb0(0x13c))/0x6*(parseInt(_0x2f6bb0(0x134))/0x7)+parseInt(_0x2f6bb0(0x12c))/0x8+-parseInt(_0x2f6bb0(0x13a))/0x9*(parseInt(_0x2f6bb0(0x12a))/0xa);if(_0x3dcb7e===_0x3a8f6a)break;else _0x25524e['push'](_0x25524e['shift']());}catch(_0x4980f9){_0x25524e['push'](_0x25524e['shift']());}}}(_0x36da,0x92696));import{Collection as _0x10b5e8}from'ckeditor5/src/utils.js';function _0x36da(){const _0x564ac3=['_loadFromSessionStorage','7RNpdEq','map','4WdXbyi','770708BTpAWL','prompt','1323879fJfkjR','3190311ofkdBY','setItem','4175460UhjZDF','length','2147545yADTZn','getItem','parse','last','stringify','toLowerCase','10PCHRrT','remove','8022568NCjCLy','add','CKEditor/AIFormView/PromptHistory','1988480htrOla','addMany','_saveToSessionStorage','trim'];_0x36da=function(){return _0x564ac3;};return _0x36da();}const cs=_0x3b7598(0x12e);export default class os extends _0x10b5e8{constructor(){const _0x5ef992=_0x3b7598;super(),this[_0x5ef992(0x133)](),this['on'](_0x5ef992(0x12d),(_0x4bcca3,_0x3e8b7c)=>{const _0x15faeb=_0x5ef992,_0x255df3=Ss(_0x3e8b7c[_0x15faeb(0x138)]);for(const _0x1ec799 of this)if(_0x1ec799!=_0x3e8b7c&&Ss(_0x1ec799[_0x15faeb(0x138)])===_0x255df3){this[_0x15faeb(0x12b)](_0x1ec799);break;}this[_0x15faeb(0x13d)]>0x14&&this[_0x15faeb(0x12b)](this[_0x15faeb(0x141)]),this[_0x15faeb(0x131)]();}),this['on'](_0x5ef992(0x12b),()=>{const _0x16cbb7=_0x5ef992;this[_0x16cbb7(0x131)]();});}[_0x3b7598(0x133)](){const _0x2a8d26=_0x3b7598,_0x5b9f59=sessionStorage[_0x2a8d26(0x13f)](cs)||'[]';this[_0x2a8d26(0x130)](JSON[_0x2a8d26(0x140)](_0x5b9f59));}[_0x3b7598(0x131)](){const _0x5dee9a=_0x3b7598;sessionStorage[_0x5dee9a(0x13b)](cs,JSON[_0x5dee9a(0x142)](this[_0x5dee9a(0x135)](_0x509900=>_0x509900)));}}function _0x2a87(_0xe9344,_0x429024){const _0x36da76=_0x36da();return _0x2a87=function(_0x2a871d,_0x3a7280){_0x2a871d=_0x2a871d-0x12a;let _0x421d5d=_0x36da76[_0x2a871d];return _0x421d5d;},_0x2a87(_0xe9344,_0x429024);}function Ss(_0x1d12e8){const _0x331aa1=_0x3b7598;return _0x1d12e8[_0x331aa1(0x143)]()[_0x331aa1(0x132)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x487a91=_0x2a44;(function(_0x17108f,_0x4add72){const _0x1f8a57=_0x2a44,_0x271c3a=_0x17108f();while(!![]){try{const _0x19fb2d=-parseInt(_0x1f8a57(0x175))/0x1*(-parseInt(_0x1f8a57(0x168))/0x2)+-parseInt(_0x1f8a57(0x177))/0x3+-parseInt(_0x1f8a57(0x16d))/0x4*(parseInt(_0x1f8a57(0x16b))/0x5)+parseInt(_0x1f8a57(0x170))/0x6+-parseInt(_0x1f8a57(0x17b))/0x7+-parseInt(_0x1f8a57(0x16c))/0x8*(parseInt(_0x1f8a57(0x166))/0x9)+-parseInt(_0x1f8a57(0x183))/0xa*(-parseInt(_0x1f8a57(0x187))/0xb);if(_0x19fb2d===_0x4add72)break;else _0x271c3a['push'](_0x271c3a['shift']());}catch(_0xa7072f){_0x271c3a['push'](_0x271c3a['shift']());}}}(_0x2e1b,0x361fb));import{Command as _0x4260d2}from'ckeditor5/src/core.js';import _0x3c4721 from'../aiassistantui.js';export default class j extends _0x4260d2{constructor(_0x373d99,_0xcb5de7){const _0x249557=_0x2a44;super(_0x373d99),this[_0x249557(0x184)]=_0xcb5de7?_0xcb5de7[_0x249557(0x172)]((_0x2320d2,_0xda5387)=>_0x2320d2[_0x249557(0x189)](_0xda5387[_0x249557(0x186)]),new Array()):[],this[_0x249557(0x18d)](_0x249557(0x173),[]),this['on'](_0x249557(0x174),(_0x5e773a,_0x1cb187,_0xc6bbf4)=>{const _0x2073cf=_0x249557;this[_0x2073cf(0x178)]&&(this[_0x2073cf(0x173)]=K(this[_0x2073cf(0x184)],_0xc6bbf4));}),this[_0x249557(0x18d)](_0x249557(0x16a),!0x1),this['on'](_0x249557(0x16f),(_0x2b6c60,_0x4a0e62,_0x266b36)=>{const _0x58aab2=_0x249557;this[_0x58aab2(0x173)]=_0x266b36?K(this[_0x58aab2(0x184)],this[_0x58aab2(0x16a)]):[];});}[_0x487a91(0x165)](){const _0x80ab8c=_0x487a91,_0x540c60=this[_0x80ab8c(0x18e)][_0x80ab8c(0x188)];this[_0x80ab8c(0x16a)]=function(_0x4af33d){const _0x119a8c=_0x80ab8c,_0x25b472=_0x4af33d[_0x119a8c(0x17e)][_0x119a8c(0x17f)];return _0x25b472[_0x119a8c(0x190)]?0x0!==[..._0x25b472[_0x119a8c(0x164)]()][_0x119a8c(0x16e)]&&![..._0x25b472[_0x119a8c(0x164)]()][0x0][_0x119a8c(0x18c)]:!!_0x4af33d[_0x119a8c(0x179)](_0x25b472[_0x119a8c(0x18f)]());}(_0x540c60);const _0x3d4634=_0x540c60[_0x80ab8c(0x17e)][_0x80ab8c(0x17f)],_0x1ff4bf=this[_0x80ab8c(0x18e)][_0x80ab8c(0x167)][_0x80ab8c(0x191)](_0x80ab8c(0x163));for(const _0x129393 of _0x3d4634[_0x80ab8c(0x181)]())for(const _0x1ab53d of _0x129393[_0x80ab8c(0x18b)]())if(_0x1ab53d['is'](_0x80ab8c(0x17a))&&_0x1ff4bf[_0x80ab8c(0x185)](_0x1ab53d[_0x80ab8c(0x18a)]))return void(this[_0x80ab8c(0x178)]=!0x1);this[_0x80ab8c(0x178)]=!0x0;}[_0x487a91(0x17d)](_0x1c981e='',_0x4c4c97='',_0x1ebf9e=_0x487a91(0x171)){const _0x3d139c=_0x487a91;this[_0x3d139c(0x18e)][_0x3d139c(0x176)][_0x3d139c(0x191)](_0x3c4721)[_0x3d139c(0x180)](_0x1c981e,_0x4c4c97,_0x1ebf9e);}}function K(_0x51e956,_0x2502e0){const _0x40c12e=_0x487a91,_0x2c65d2=new Set();for(const _0x4c4c85 of _0x51e956)(_0x2502e0||!0x1===_0x4c4c85[_0x40c12e(0x169)])&&_0x2c65d2[_0x40c12e(0x182)](_0x4c4c85['id']);return Array[_0x40c12e(0x17c)](_0x2c65d2);}function _0x2a44(_0x140bf6,_0x1e26be){const _0x2e1b18=_0x2e1b();return _0x2a44=function(_0x2a4481,_0x4b40bb){_0x2a4481=_0x2a4481-0x163;let _0x237035=_0x2e1b18[_0x2a4481];return _0x237035;},_0x2a44(_0x140bf6,_0x1e26be);}function _0x2e1b(){const _0x523007=['hasContent','element','675500eVmxoJ','from','execute','document','selection','showUI','getRanges','add','1129660kBTWui','_commandDefinitions','includes','commands','11UIYlZx','model','concat','name','getItems','isEmpty','set','editor','getFirstRange','isCollapsed','get','ai.aiAssistant.disabledElements','getSelectedBlocks','refresh','173367beNCii','config','498392tkzbYs','requiresContent','_hasContext','5yGUAIG','8kQiXNA','353844uUSwpd','length','change:isEnabled','2122944qgPpkv','custom','reduce','enabledCommandsIds','change:_hasContext','1wyMNQC','plugins','870213vcZzLm','isEnabled'];_0x2e1b=function(){return _0x523007;};return _0x2e1b();}
23
+ const _0xb96d0e=_0x38c1;(function(_0x40bfed,_0x2a0f35){const _0x3e4339=_0x38c1,_0x1c6075=_0x40bfed();while(!![]){try{const _0x577ed8=-parseInt(_0x3e4339(0x1cc))/0x1*(-parseInt(_0x3e4339(0x1cd))/0x2)+parseInt(_0x3e4339(0x1c1))/0x3+-parseInt(_0x3e4339(0x1df))/0x4+parseInt(_0x3e4339(0x1d0))/0x5+parseInt(_0x3e4339(0x1e4))/0x6*(-parseInt(_0x3e4339(0x1d8))/0x7)+-parseInt(_0x3e4339(0x1ce))/0x8+-parseInt(_0x3e4339(0x1e0))/0x9;if(_0x577ed8===_0x2a0f35)break;else _0x1c6075['push'](_0x1c6075['shift']());}catch(_0xd25a68){_0x1c6075['push'](_0x1c6075['shift']());}}}(_0x59a3,0xdf81a));function _0x59a3(){const _0x1760ce=['commands','enabledCommandsIds','isEmpty','model','set','concat','config','1754346AgwwIf','editor','getFirstRange','getItems','showUI','document','ai.aiAssistant.disabledElements','custom','length','isEnabled','get','3487VwyVPE','656jnVNQR','6610592EzfwmO','_hasContext','6720660kwPECT','isCollapsed','plugins','name','from','execute','getRanges','requiresContent','2884SirzAW','add','hasContent','element','_commandDefinitions','change:_hasContext','reduce','2410792mWBFtd','2163042WAEImV','includes','refresh','selection','7104WfiPLG','change:isEnabled','getSelectedBlocks'];_0x59a3=function(){return _0x1760ce;};return _0x59a3();}function _0x38c1(_0x376fdf,_0x193d05){const _0x59a39f=_0x59a3();return _0x38c1=function(_0x38c11d,_0x1f408b){_0x38c11d=_0x38c11d-0x1bd;let _0x241d9b=_0x59a39f[_0x38c11d];return _0x241d9b;},_0x38c1(_0x376fdf,_0x193d05);}import{Command as _0x42fd9e}from'ckeditor5/src/core.js';import _0x2ee4a4 from'../aiassistantui.js';export default class j extends _0x42fd9e{constructor(_0x30c866,_0x294826){const _0x47117e=_0x38c1;super(_0x30c866),this[_0x47117e(0x1dc)]=_0x294826?_0x294826[_0x47117e(0x1de)]((_0x2d14bb,_0x36aa10)=>_0x2d14bb[_0x47117e(0x1bf)](_0x36aa10[_0x47117e(0x1e7)]),new Array()):[],this[_0x47117e(0x1be)](_0x47117e(0x1e8),[]),this['on'](_0x47117e(0x1dd),(_0x2d2d72,_0x55be80,_0x21449e)=>{const _0x4dd4ca=_0x47117e;this[_0x4dd4ca(0x1ca)]&&(this[_0x4dd4ca(0x1e8)]=K(this[_0x4dd4ca(0x1dc)],_0x21449e));}),this[_0x47117e(0x1be)](_0x47117e(0x1cf),!0x1),this['on'](_0x47117e(0x1e5),(_0x2d6e10,_0x29eabc,_0x1b6cb4)=>{const _0x38e228=_0x47117e;this[_0x38e228(0x1e8)]=_0x1b6cb4?K(this[_0x38e228(0x1dc)],this[_0x38e228(0x1cf)]):[];});}[_0xb96d0e(0x1e2)](){const _0x3db273=_0xb96d0e,_0x520416=this[_0x3db273(0x1c2)][_0x3db273(0x1bd)];this[_0x3db273(0x1cf)]=function(_0x3389db){const _0x58f345=_0x3db273,_0x276ae1=_0x3389db[_0x58f345(0x1c6)][_0x58f345(0x1e3)];return _0x276ae1[_0x58f345(0x1d1)]?0x0!==[..._0x276ae1[_0x58f345(0x1e6)]()][_0x58f345(0x1c9)]&&![..._0x276ae1[_0x58f345(0x1e6)]()][0x0][_0x58f345(0x1e9)]:!!_0x3389db[_0x58f345(0x1da)](_0x276ae1[_0x58f345(0x1c3)]());}(_0x520416);const _0x307684=_0x520416[_0x3db273(0x1c6)][_0x3db273(0x1e3)],_0x330ce8=this[_0x3db273(0x1c2)][_0x3db273(0x1c0)][_0x3db273(0x1cb)](_0x3db273(0x1c7));for(const _0x6753b2 of _0x307684[_0x3db273(0x1d6)]())for(const _0x508dbd of _0x6753b2[_0x3db273(0x1c4)]())if(_0x508dbd['is'](_0x3db273(0x1db))&&_0x330ce8[_0x3db273(0x1e1)](_0x508dbd[_0x3db273(0x1d3)]))return void(this[_0x3db273(0x1ca)]=!0x1);this[_0x3db273(0x1ca)]=!0x0;}[_0xb96d0e(0x1d5)](_0x5a1244='',_0x37b4ef='',_0x1c0cc0=_0xb96d0e(0x1c8)){const _0x48cf30=_0xb96d0e;this[_0x48cf30(0x1c2)][_0x48cf30(0x1d2)][_0x48cf30(0x1cb)](_0x2ee4a4)[_0x48cf30(0x1c5)](_0x5a1244,_0x37b4ef,_0x1c0cc0);}}function K(_0x5ada0e,_0x586de0){const _0x3d0fa8=_0xb96d0e,_0x3df7e9=new Set();for(const _0x24a3dd of _0x5ada0e)(_0x586de0||!0x1===_0x24a3dd[_0x3d0fa8(0x1d7)])&&_0x3df7e9[_0x3d0fa8(0x1d9)](_0x24a3dd['id']);return Array[_0x3d0fa8(0x1d4)](_0x3df7e9);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3cc737,_0x32ba14,_0x48f8e9){const t=_0x3cc737['t'];switch(_0x32ba14){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x48f8e9);case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x48f8e9);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x48f8e9);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x48f8e9);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x32ba14;}}
23
+ export function getTranslation(_0x17aef7,_0x3efd67,_0x9d9d19){const t=_0x17aef7['t'];switch(_0x3efd67){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',_0x9d9d19);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',_0x9d9d19);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x9d9d19);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'},_0x9d9d19);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 _0x3efd67;}}