@ckeditor/ckeditor5-ai 46.0.0-alpha.0 → 46.0.0-alpha.2

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 (171) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.d.ts +1 -2
  154. package/src/adapters/openaitextadapter.js +1 -1
  155. package/src/aiassistant.js +1 -1
  156. package/src/aiassistantediting.js +1 -1
  157. package/src/aiassistantui.js +1 -1
  158. package/src/index.js +1 -1
  159. package/src/legacyerrors.js +1 -1
  160. package/src/ui/aiassistantcontroller.js +2 -2
  161. package/src/ui/form/aiformcontentarea.js +1 -1
  162. package/src/ui/form/aiformerrorview.js +1 -1
  163. package/src/ui/form/aiformpromptview.js +1 -1
  164. package/src/ui/form/aiformtoolbarview.js +1 -1
  165. package/src/ui/form/aiformview.js +1 -1
  166. package/src/ui/form/aihistorylistitemview.js +1 -1
  167. package/src/ui/form/aihistorylistview.js +1 -1
  168. package/src/ui/form/prompthistory.js +1 -1
  169. package/src/ui/showaiassistantcommand.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x499939=_0x5184;(function(_0x221db3,_0x5ed16d){const _0x2497d2=_0x5184,_0x18a7ae=_0x221db3();while(!![]){try{const _0x5284a0=-parseInt(_0x2497d2(0x17f))/0x1+parseInt(_0x2497d2(0x1af))/0x2+parseInt(_0x2497d2(0x1c4))/0x3*(parseInt(_0x2497d2(0x184))/0x4)+parseInt(_0x2497d2(0x1ad))/0x5*(-parseInt(_0x2497d2(0x1ba))/0x6)+-parseInt(_0x2497d2(0x182))/0x7*(parseInt(_0x2497d2(0x18d))/0x8)+-parseInt(_0x2497d2(0x1a9))/0x9+parseInt(_0x2497d2(0x17e))/0xa;if(_0x5284a0===_0x5ed16d)break;else _0x18a7ae['push'](_0x18a7ae['shift']());}catch(_0x23268b){_0x18a7ae['push'](_0x18a7ae['shift']());}}}(_0x4f55,0x2868d));import{global as _0x12ab0f}from'ckeditor5/src/utils.js';function _0x5184(_0x535f82,_0x467f88){const _0x4f5501=_0x4f55();return _0x5184=function(_0x5184b8,_0x2599b2){_0x5184b8=_0x5184b8-0x172;let _0x486eab=_0x4f5501[_0x5184b8];return _0x486eab;},_0x5184(_0x535f82,_0x467f88);}import{View as _0x3a9f94,ButtonView as _0x5393a9,SpinnerView as _0x249047}from'ckeditor5/src/ui.js';import{IconCheck as _0x2b3ff5,IconCopy as _0x5621fe}from'ckeditor5/src/icons.js';function _0x4f55(){const _0xe06db6=['<span>]</span>','render','smooth','504453vpxjWo','locale','ck-hidden','isProcessing','setStartAfter','ck-ai-form__content-area','focus','isVisible','execCommand','addRange','body','absolute','clipboard','ck-ai-form__content-area-wrapper','_createCopyButton','3281730sHUscl','123963uoeIYp','text/html','ck-ai-form__loader','1141nbPOXt','<span>[</span>','4KEbAbZ','text/plain','value','ClipboardItem','remove','mousedown','ck-ai-form__content-area--processing','left','ck-content','13528EXSuKV','ck-ai-form__content-field','_createLoader','createRange','copy','textContent','appendChild','setContent','firstElementChild','change:isProcessing','scrollHeight','ck-reset_all-excluded','getSelection','appendLoader','.ck-ai-form__loader','createElement','copyButtonView','set','div','bind','isEnabled','execute','listenTo','style','innerHTML','write','loaderView','contentFieldView','2073834IcZIlk','scrollTo','removeAllRanges','querySelector','290WYKbRd','bindTemplate','610726CByzeG','setTemplate','\x20ck-ai-form__copy-button--copied','Copy','AI\x20is\x20writing...','position','wheel','setEndBefore','change:value','ck-ai-form__copy-button','class','636HmACmo','-9999px','ck-ai-form__copy-button-wrapper','element','lastElementChild','icon','_copyHTMLToClipboard'];_0x4f55=function(){return _0xe06db6;};return _0x4f55();}import{getTranslation as _0x283340}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x3a9f94{[_0x499939(0x1a8)];[_0x499939(0x19d)];constructor(_0x352ede,_0x5b3975=''){const _0x6755b=_0x499939;super(_0x352ede),this[_0x6755b(0x19e)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3e2bf1=this[_0x6755b(0x1ae)];this[_0x6755b(0x1a8)]=new ContentFieldView(_0x352ede,_0x5b3975),this[_0x6755b(0x19d)]=this[_0x6755b(0x17d)](),this[_0x6755b(0x1b0)]({'tag':_0x6755b(0x19f),'attributes':{'class':['ck',_0x6755b(0x17c),_0x3e2bf1['if'](_0x6755b(0x176),_0x6755b(0x1c6),_0x357480=>!_0x357480)],'tabindex':'-1'},'children':[{'tag':_0x6755b(0x19f),'attributes':{'class':['ck',_0x6755b(0x174),_0x3e2bf1['if'](_0x6755b(0x172),_0x6755b(0x18a))]},'children':[this[_0x6755b(0x1a8)],{'tag':_0x6755b(0x19f),'attributes':{'class':['ck',_0x6755b(0x1bc)]},'children':[this[_0x6755b(0x19d)]]}]}]});}[_0x499939(0x1c2)](){const _0x5e2039=_0x499939;super[_0x5e2039(0x1c2)](),this[_0x5e2039(0x186)]&&this[_0x5e2039(0x1a8)][_0x5e2039(0x194)](this[_0x5e2039(0x186)]);let _0x56c792=!0x1;this['on'](_0x5e2039(0x1b7),(_0x78204a,_0x8a1956,_0x1aea16)=>{const _0x58538d=_0x5e2039,_0xa279c9=!this[_0x58538d(0x1a8)][_0x58538d(0x1bd)][_0x58538d(0x1ac)](_0x58538d(0x19b));this[_0x58538d(0x1a8)][_0x58538d(0x194)](_0x1aea16),this[_0x58538d(0x172)]&&_0xa279c9&&!_0x56c792&&this[_0x58538d(0x1bd)][_0x58538d(0x1aa)]({'top':this[_0x58538d(0x1bd)][_0x58538d(0x197)],'behavior':_0x58538d(0x1c3)});}),this['on'](_0x5e2039(0x196),(_0x5d4c43,_0x46224f,_0x412aed)=>{const _0xa18a93=_0x5e2039;_0x56c792=!0x1,_0x412aed?(this[_0xa18a93(0x186)]=null,this[_0xa18a93(0x1a8)][_0xa18a93(0x19a)]()):this[_0xa18a93(0x186)]||this[_0xa18a93(0x1a8)][_0xa18a93(0x194)]('');}),this[_0x5e2039(0x1a3)](this[_0x5e2039(0x1bd)],_0x5e2039(0x1b5),()=>{_0x56c792=!0x0;}),this[_0x5e2039(0x1a3)](this[_0x5e2039(0x1bd)],_0x5e2039(0x189),()=>{_0x56c792=!0x0;});}[_0x499939(0x175)](){const _0x44381f=_0x499939;this[_0x44381f(0x1bd)][_0x44381f(0x175)]();}[_0x499939(0x17d)](){const _0x199ff8=_0x499939,_0x3cb5c3=this[_0x199ff8(0x1c5)],_0x39abba=new _0x5393a9(this[_0x199ff8(0x1c5)]),_0x24a00c=_0x199ff8(0x1b8);return _0x39abba[_0x199ff8(0x19e)]({'label':_0x283340(_0x3cb5c3,_0x199ff8(0x1b2)),'icon':_0x5621fe,'class':_0x24a00c,'tooltip':!0x0}),_0x39abba[_0x199ff8(0x1a0)](_0x199ff8(0x176))['to'](this,_0x199ff8(0x186),_0x53b54a=>!!_0x53b54a),_0x39abba[_0x199ff8(0x1a0)](_0x199ff8(0x1a1))['to'](this,_0x199ff8(0x172),_0x56da88=>!_0x56da88),_0x39abba['on'](_0x199ff8(0x1a2),()=>{const _0x4bb66e=_0x199ff8;this[_0x4bb66e(0x1c0)](this[_0x4bb66e(0x1a8)][_0x4bb66e(0x1bd)]),_0x39abba[_0x4bb66e(0x1bf)]=_0x2b3ff5,_0x39abba[_0x4bb66e(0x1b9)]=_0x24a00c+_0x4bb66e(0x1b1),this[_0x4bb66e(0x175)](),setTimeout(()=>{const _0x1cf3f2=_0x4bb66e;_0x39abba[_0x1cf3f2(0x1bf)]=_0x5621fe,_0x39abba[_0x1cf3f2(0x1b9)]=_0x24a00c;},0x3e8);}),_0x39abba;}[_0x499939(0x1c0)](_0xbe2416){const _0x5fc1b2=_0x499939,{window:_0x2fa88d,document:_0x3f9195}=_0x12ab0f;if(_0x2fa88d[_0x5fc1b2(0x187)]){const {Blob:_0x4fd360,ClipboardItem:_0x9686d1}=_0x2fa88d,_0x5eb7bd=[new _0x9686d1({'text/html':new _0x4fd360([_0xbe2416[_0x5fc1b2(0x1a5)]],{'type':_0x5fc1b2(0x180)}),'text/plain':new _0x4fd360([_0xbe2416[_0x5fc1b2(0x192)]||''],{'type':_0x5fc1b2(0x185)})})];navigator[_0x5fc1b2(0x17b)][_0x5fc1b2(0x1a6)](_0x5eb7bd);}else{const _0x17cd35=_0x3f9195[_0x5fc1b2(0x19c)](_0x5fc1b2(0x19f));_0x17cd35[_0x5fc1b2(0x1a4)][_0x5fc1b2(0x1b4)]=_0x5fc1b2(0x17a),_0x17cd35[_0x5fc1b2(0x1a4)][_0x5fc1b2(0x18b)]=_0x5fc1b2(0x1bb),_0x17cd35[_0x5fc1b2(0x1a5)]=_0x5fc1b2(0x183)+_0xbe2416[_0x5fc1b2(0x1a5)]+_0x5fc1b2(0x1c1),_0x3f9195[_0x5fc1b2(0x179)][_0x5fc1b2(0x193)](_0x17cd35);const _0x294b91=_0x3f9195[_0x5fc1b2(0x190)]();_0x294b91[_0x5fc1b2(0x173)](_0x17cd35[_0x5fc1b2(0x195)]),_0x294b91[_0x5fc1b2(0x1b6)](_0x17cd35[_0x5fc1b2(0x1be)]);const _0x1077cb=_0x2fa88d[_0x5fc1b2(0x199)]();_0x1077cb[_0x5fc1b2(0x1ab)](),_0x1077cb[_0x5fc1b2(0x178)](_0x294b91),_0x3f9195[_0x5fc1b2(0x177)](_0x5fc1b2(0x191)),_0x17cd35[_0x5fc1b2(0x188)]();}}}export class ContentFieldView extends _0x3a9f94{constructor(_0x3bddaf,_0x6f4479=''){const _0x17b004=_0x499939;super(_0x3bddaf),this[_0x17b004(0x1a7)]=this[_0x17b004(0x18f)](),this[_0x17b004(0x1b0)]({'tag':_0x17b004(0x19f),'attributes':{'class':['ck',_0x17b004(0x18c),_0x6f4479,_0x17b004(0x198),_0x17b004(0x18e)]}});}[_0x499939(0x194)](_0x4f63d6){const _0x356aee=_0x499939;this[_0x356aee(0x1bd)][_0x356aee(0x1a5)]=_0x4f63d6;}[_0x499939(0x19a)](){const _0x3fec76=_0x499939;this[_0x3fec76(0x1bd)][_0x3fec76(0x193)](this[_0x3fec76(0x1a7)][_0x3fec76(0x1bd)]);}[_0x499939(0x18f)](){const _0x19b16e=_0x499939,_0x41e573=new _0x3a9f94(),_0x1bd44a=this[_0x19b16e(0x1c5)],_0x44e5b4=new _0x249047();return _0x44e5b4[_0x19b16e(0x176)]=!0x0,_0x41e573[_0x19b16e(0x1b0)]({'tag':_0x19b16e(0x19f),'attributes':{'class':['ck',_0x19b16e(0x181)]},'children':[_0x44e5b4,{'text':_0x283340(_0x1bd44a,_0x19b16e(0x1b3))}]}),_0x41e573[_0x19b16e(0x1c2)](),_0x41e573;}}
23
+ function _0x5450(_0x121989,_0xf943d2){const _0x5a67e8=_0x5a67();return _0x5450=function(_0x5450e2,_0x4c53a4){_0x5450e2=_0x5450e2-0x77;let _0x4e1ba8=_0x5a67e8[_0x5450e2];return _0x4e1ba8;},_0x5450(_0x121989,_0xf943d2);}function _0x5a67(){const _0x508e2d=['ck-ai-form__content-area-wrapper','ck-ai-form__content-area','render','-9999px','isProcessing','ck-hidden','AI\x20is\x20writing...','setEndBefore','text/html','setTemplate','copyButtonView','smooth','text/plain','_copyHTMLToClipboard','execute','body','querySelector','removeAllRanges','<span>]</span>','\x20ck-ai-form__copy-button--copied','ck-ai-form__loader','createRange','icon','_createLoader','element','mousedown','bindTemplate','getSelection','ck-content','clipboard','locale','wheel','class','contentFieldView','ck-ai-form__content-area--processing','innerHTML','6388agHrgU','.ck-ai-form__loader','set','12IUlCEe','523620qRyNZV','listenTo','div','isVisible','ck-ai-form__content-field','createElement','copy','firstElementChild','1166221vxeQSs','appendLoader','4311890WPgvEB','74578aBvXqu','appendChild','scrollTo','left','2161750eAYVuu','change:isProcessing','change:value','position','22KevChm','absolute','Copy','isEnabled','execCommand','style','loaderView','scrollHeight','remove','ck-reset_all-excluded','setStartAfter','value','bind','focus','textContent','lastElementChild','<span>[</span>','write','363vYMAFX','23589hnukcg','setContent','_createCopyButton','1056yhpxrc','ClipboardItem','ck-ai-form__copy-button','addRange','ck-ai-form__copy-button-wrapper'];_0x5a67=function(){return _0x508e2d;};return _0x5a67();}const _0x119fa0=_0x5450;(function(_0x49891f,_0x457472){const _0x45270c=_0x5450,_0x451a75=_0x49891f();while(!![]){try{const _0x334a2a=parseInt(_0x45270c(0x8d))/0x1+-parseInt(_0x45270c(0x82))/0x2+-parseInt(_0x45270c(0xa7))/0x3*(parseInt(_0x45270c(0x7e))/0x4)+parseInt(_0x45270c(0x91))/0x5+parseInt(_0x45270c(0x81))/0x6*(-parseInt(_0x45270c(0x8a))/0x7)+parseInt(_0x45270c(0xab))/0x8*(-parseInt(_0x45270c(0xa8))/0x9)+parseInt(_0x45270c(0x8c))/0xa*(parseInt(_0x45270c(0x95))/0xb);if(_0x334a2a===_0x457472)break;else _0x451a75['push'](_0x451a75['shift']());}catch(_0x48f111){_0x451a75['push'](_0x451a75['shift']());}}}(_0x5a67,0x39649));import{global as _0x3f6d91}from'ckeditor5/src/utils.js';import{View as _0x2df446,ButtonView as _0x122df5,SpinnerView as _0x1ee570}from'ckeditor5/src/ui.js';import{IconCheck as _0x20043c,IconCopy as _0x2a67f8}from'ckeditor5/src/icons.js';import{getTranslation as _0x256597}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x2df446{[_0x119fa0(0x7b)];[_0x119fa0(0xba)];constructor(_0x1ff734,_0x2d1a2c=''){const _0x26b119=_0x119fa0;super(_0x1ff734),this[_0x26b119(0x80)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4904a1=this[_0x26b119(0xca)];this[_0x26b119(0x7b)]=new ContentFieldView(_0x1ff734,_0x2d1a2c),this[_0x26b119(0xba)]=this[_0x26b119(0xaa)](),this[_0x26b119(0xb9)]({'tag':_0x26b119(0x84),'attributes':{'class':['ck',_0x26b119(0xb0),_0x4904a1['if'](_0x26b119(0x85),_0x26b119(0xb5),_0x563319=>!_0x563319)],'tabindex':'-1'},'children':[{'tag':_0x26b119(0x84),'attributes':{'class':['ck',_0x26b119(0xb1),_0x4904a1['if'](_0x26b119(0xb4),_0x26b119(0x7c))]},'children':[this[_0x26b119(0x7b)],{'tag':_0x26b119(0x84),'attributes':{'class':['ck',_0x26b119(0xaf)]},'children':[this[_0x26b119(0xba)]]}]}]});}[_0x119fa0(0xb2)](){const _0x279ffc=_0x119fa0;super[_0x279ffc(0xb2)](),this[_0x279ffc(0xa0)]&&this[_0x279ffc(0x7b)][_0x279ffc(0xa9)](this[_0x279ffc(0xa0)]);let _0x1c0daf=!0x1;this['on'](_0x279ffc(0x93),(_0x24a564,_0x14572c,_0x5695af)=>{const _0x44bf8b=_0x279ffc,_0x67c2e8=!this[_0x44bf8b(0x7b)][_0x44bf8b(0xc8)][_0x44bf8b(0xc0)](_0x44bf8b(0x7f));this[_0x44bf8b(0x7b)][_0x44bf8b(0xa9)](_0x5695af),this[_0x44bf8b(0xb4)]&&_0x67c2e8&&!_0x1c0daf&&this[_0x44bf8b(0xc8)][_0x44bf8b(0x8f)]({'top':this[_0x44bf8b(0xc8)][_0x44bf8b(0x9c)],'behavior':_0x44bf8b(0xbb)});}),this['on'](_0x279ffc(0x92),(_0x19fb48,_0xa39409,_0x415f55)=>{const _0x36e734=_0x279ffc;_0x1c0daf=!0x1,_0x415f55?(this[_0x36e734(0xa0)]=null,this[_0x36e734(0x7b)][_0x36e734(0x8b)]()):this[_0x36e734(0xa0)]||this[_0x36e734(0x7b)][_0x36e734(0xa9)]('');}),this[_0x279ffc(0x83)](this[_0x279ffc(0xc8)],_0x279ffc(0x79),()=>{_0x1c0daf=!0x0;}),this[_0x279ffc(0x83)](this[_0x279ffc(0xc8)],_0x279ffc(0xc9),()=>{_0x1c0daf=!0x0;});}[_0x119fa0(0xa2)](){const _0x5d36aa=_0x119fa0;this[_0x5d36aa(0xc8)][_0x5d36aa(0xa2)]();}[_0x119fa0(0xaa)](){const _0x4fc074=_0x119fa0,_0x19e4f2=this[_0x4fc074(0x78)],_0x22be83=new _0x122df5(this[_0x4fc074(0x78)]),_0x39b590=_0x4fc074(0xad);return _0x22be83[_0x4fc074(0x80)]({'label':_0x256597(_0x19e4f2,_0x4fc074(0x97)),'icon':_0x2a67f8,'class':_0x39b590,'tooltip':!0x0}),_0x22be83[_0x4fc074(0xa1)](_0x4fc074(0x85))['to'](this,_0x4fc074(0xa0),_0x36d5be=>!!_0x36d5be),_0x22be83[_0x4fc074(0xa1)](_0x4fc074(0x98))['to'](this,_0x4fc074(0xb4),_0x2ef1e5=>!_0x2ef1e5),_0x22be83['on'](_0x4fc074(0xbe),()=>{const _0x22c065=_0x4fc074;this[_0x22c065(0xbd)](this[_0x22c065(0x7b)][_0x22c065(0xc8)]),_0x22be83[_0x22c065(0xc6)]=_0x20043c,_0x22be83[_0x22c065(0x7a)]=_0x39b590+_0x22c065(0xc3),this[_0x22c065(0xa2)](),setTimeout(()=>{const _0x4160a3=_0x22c065;_0x22be83[_0x4160a3(0xc6)]=_0x2a67f8,_0x22be83[_0x4160a3(0x7a)]=_0x39b590;},0x3e8);}),_0x22be83;}[_0x119fa0(0xbd)](_0x10927c){const _0x41b38f=_0x119fa0,{window:_0xde0709,document:_0x5eadca}=_0x3f6d91;if(_0xde0709[_0x41b38f(0xac)]){const {Blob:_0x28c71d,ClipboardItem:_0x3ff263}=_0xde0709,_0x1b2d5a=[new _0x3ff263({'text/html':new _0x28c71d([_0x10927c[_0x41b38f(0x7d)]],{'type':_0x41b38f(0xb8)}),'text/plain':new _0x28c71d([_0x10927c[_0x41b38f(0xa3)]||''],{'type':_0x41b38f(0xbc)})})];navigator[_0x41b38f(0x77)][_0x41b38f(0xa6)](_0x1b2d5a);}else{const _0x412a4c=_0x5eadca[_0x41b38f(0x87)](_0x41b38f(0x84));_0x412a4c[_0x41b38f(0x9a)][_0x41b38f(0x94)]=_0x41b38f(0x96),_0x412a4c[_0x41b38f(0x9a)][_0x41b38f(0x90)]=_0x41b38f(0xb3),_0x412a4c[_0x41b38f(0x7d)]=_0x41b38f(0xa5)+_0x10927c[_0x41b38f(0x7d)]+_0x41b38f(0xc2),_0x5eadca[_0x41b38f(0xbf)][_0x41b38f(0x8e)](_0x412a4c);const _0x4aeabc=_0x5eadca[_0x41b38f(0xc5)]();_0x4aeabc[_0x41b38f(0x9f)](_0x412a4c[_0x41b38f(0x89)]),_0x4aeabc[_0x41b38f(0xb7)](_0x412a4c[_0x41b38f(0xa4)]);const _0x5a3b2a=_0xde0709[_0x41b38f(0xcb)]();_0x5a3b2a[_0x41b38f(0xc1)](),_0x5a3b2a[_0x41b38f(0xae)](_0x4aeabc),_0x5eadca[_0x41b38f(0x99)](_0x41b38f(0x88)),_0x412a4c[_0x41b38f(0x9d)]();}}}export class ContentFieldView extends _0x2df446{constructor(_0x49be65,_0xe14fdc=''){const _0xf73bcf=_0x119fa0;super(_0x49be65),this[_0xf73bcf(0x9b)]=this[_0xf73bcf(0xc7)](),this[_0xf73bcf(0xb9)]({'tag':_0xf73bcf(0x84),'attributes':{'class':['ck',_0xf73bcf(0xcc),_0xe14fdc,_0xf73bcf(0x9e),_0xf73bcf(0x86)]}});}[_0x119fa0(0xa9)](_0xa2f203){const _0x265b86=_0x119fa0;this[_0x265b86(0xc8)][_0x265b86(0x7d)]=_0xa2f203;}[_0x119fa0(0x8b)](){const _0x36dae3=_0x119fa0;this[_0x36dae3(0xc8)][_0x36dae3(0x8e)](this[_0x36dae3(0x9b)][_0x36dae3(0xc8)]);}[_0x119fa0(0xc7)](){const _0x43f4dd=_0x119fa0,_0x3aa458=new _0x2df446(),_0x45242d=this[_0x43f4dd(0x78)],_0x2ad71=new _0x1ee570();return _0x2ad71[_0x43f4dd(0x85)]=!0x0,_0x3aa458[_0x43f4dd(0xb9)]({'tag':_0x43f4dd(0x84),'attributes':{'class':['ck',_0x43f4dd(0xc4)]},'children':[_0x2ad71,{'text':_0x256597(_0x45242d,_0x43f4dd(0xb6))}]}),_0x3aa458[_0x43f4dd(0xb2)](),_0x3aa458;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x7a83a,_0x2dc797){const _0x360fcd=_0x1374,_0x4b4451=_0x7a83a();while(!![]){try{const _0x477acc=-parseInt(_0x360fcd(0x176))/0x1*(parseInt(_0x360fcd(0x17e))/0x2)+-parseInt(_0x360fcd(0x179))/0x3+-parseInt(_0x360fcd(0x174))/0x4+parseInt(_0x360fcd(0x16f))/0x5*(-parseInt(_0x360fcd(0x170))/0x6)+parseInt(_0x360fcd(0x178))/0x7*(-parseInt(_0x360fcd(0x177))/0x8)+-parseInt(_0x360fcd(0x17a))/0x9*(parseInt(_0x360fcd(0x17b))/0xa)+parseInt(_0x360fcd(0x171))/0xb;if(_0x477acc===_0x2dc797)break;else _0x4b4451['push'](_0x4b4451['shift']());}catch(_0x2d9c70){_0x4b4451['push'](_0x4b4451['shift']());}}}(_0x5350,0x94f7f));import{IconError as _0x315fd4}from'ckeditor5/src/icons.js';import{View as _0x457bd1,IconView as _0x34d498}from'ckeditor5/src/ui.js';function _0x5350(){const _0xadf7a0=['54919887LwDfzC','bindTemplate','set','3166808wzjGFG','ck-ai-form__error','2113quCQxA','7632nZdfdt','3850szrKsl','2314461AvRTdz','9FITDhG','10869890ctFZSz','setTemplate','text','4bRFxvt','content','div','6017190XoLtiN','6JXCQUu'];_0x5350=function(){return _0xadf7a0;};return _0x5350();}function _0x1374(_0x4173de,_0x424c98){const _0x535088=_0x5350();return _0x1374=function(_0x13745a,_0xf24d71){_0x13745a=_0x13745a-0x16f;let _0x10b9d9=_0x535088[_0x13745a];return _0x10b9d9;},_0x1374(_0x4173de,_0x424c98);}export class AIFormErrorView extends _0x457bd1{constructor(_0x277706,_0x4af488=''){const _0xd10a64=_0x1374;super(_0x277706);const _0x3e56b1=new _0x34d498(),_0xd6be20=this[_0xd10a64(0x172)];this[_0xd10a64(0x173)](_0xd10a64(0x17d),_0x4af488),_0x3e56b1[_0xd10a64(0x17f)]=_0x315fd4,this[_0xd10a64(0x17c)]({'tag':_0xd10a64(0x180),'attributes':{'class':['ck',_0xd10a64(0x175)]},'children':[_0x3e56b1,{'text':_0xd6be20['to'](_0xd10a64(0x17d))}]});}}
23
+ (function(_0xcb4333,_0x3ee3b4){const _0x156cca=_0x105a,_0x35eb71=_0xcb4333();while(!![]){try{const _0x3a5009=-parseInt(_0x156cca(0x189))/0x1+parseInt(_0x156cca(0x18e))/0x2*(-parseInt(_0x156cca(0x188))/0x3)+-parseInt(_0x156cca(0x18f))/0x4+-parseInt(_0x156cca(0x184))/0x5*(-parseInt(_0x156cca(0x191))/0x6)+-parseInt(_0x156cca(0x18a))/0x7*(parseInt(_0x156cca(0x18d))/0x8)+parseInt(_0x156cca(0x185))/0x9+parseInt(_0x156cca(0x192))/0xa;if(_0x3a5009===_0x3ee3b4)break;else _0x35eb71['push'](_0x35eb71['shift']());}catch(_0x45f2ab){_0x35eb71['push'](_0x35eb71['shift']());}}}(_0x5c79,0x5a93e));import{IconError as _0x2146dc}from'ckeditor5/src/icons.js';import{View as _0x304ed4,IconView as _0x293ca0}from'ckeditor5/src/ui.js';function _0x105a(_0x4f1f81,_0x524e04){const _0x5c7957=_0x5c79();return _0x105a=function(_0x105a1b,_0x3529f4){_0x105a1b=_0x105a1b-0x182;let _0x3dcc13=_0x5c7957[_0x105a1b];return _0x3dcc13;},_0x105a(_0x4f1f81,_0x524e04);}export class AIFormErrorView extends _0x304ed4{constructor(_0x15890a,_0x5f5441=''){const _0x3845a8=_0x105a;super(_0x15890a);const _0x150c42=new _0x293ca0(),_0xac49db=this[_0x3845a8(0x183)];this[_0x3845a8(0x18c)](_0x3845a8(0x187),_0x5f5441),_0x150c42[_0x3845a8(0x18b)]=_0x2146dc,this[_0x3845a8(0x186)]({'tag':_0x3845a8(0x190),'attributes':{'class':['ck',_0x3845a8(0x182)]},'children':[_0x150c42,{'text':_0xac49db['to'](_0x3845a8(0x187))}]});}}function _0x5c79(){const _0x259623=['content','set','1944mOpdpf','664148jIXRbo','706696edzCXu','div','209796dsQZXu','9601060zwhZNH','ck-ai-form__error','bindTemplate','35IvwokV','1580958IrWmSk','setTemplate','text','3cflLnv','257533NXIayV','7007EjxQsG'];_0x5c79=function(){return _0x259623;};return _0x5c79();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x570f(_0x172f36,_0x339d0b){const _0x21a2fa=_0x21a2();return _0x570f=function(_0x570f31,_0x32eb1c){_0x570f31=_0x570f31-0xf2;let _0x50da28=_0x21a2fa[_0x570f31];return _0x50da28;},_0x570f(_0x172f36,_0x339d0b);}const _0x191caf=_0x570f;(function(_0x398d69,_0x539c83){const _0x44878d=_0x570f,_0x34c70e=_0x398d69();while(!![]){try{const _0x33f2b0=parseInt(_0x44878d(0x11e))/0x1*(parseInt(_0x44878d(0x10d))/0x2)+-parseInt(_0x44878d(0x104))/0x3+-parseInt(_0x44878d(0x122))/0x4+-parseInt(_0x44878d(0x10e))/0x5+parseInt(_0x44878d(0xfa))/0x6+-parseInt(_0x44878d(0xfd))/0x7+parseInt(_0x44878d(0xf3))/0x8*(parseInt(_0x44878d(0x11f))/0x9);if(_0x33f2b0===_0x539c83)break;else _0x34c70e['push'](_0x34c70e['shift']());}catch(_0x388bc0){_0x34c70e['push'](_0x34c70e['shift']());}}}(_0x21a2,0x91f21));import{Rect as _0x1faeb2,global as _0x487a9a,isVisible as _0x461447}from'ckeditor5/src/utils.js';import{IconHistory as _0x45ef35,IconSubmit as _0x23c222}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x1fe516,ButtonView as _0x35ad30}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b8b24}from'../../utils/common-translations.js';function _0x21a2(){const _0x25073c=['ck-ai-form__submit','fieldView','add','uiLanguageDirection','2107254RDtAwM','isEmpty','children','3084606JfWntB','queryView','keystrokes','focusCycler','submit','History','maxRows','1560201nMTnrQ','target','resultsView','excludeScrollbarsAndBorders','requestAnimationFrame','Submit','execute','enter','isVisible','1370586vNRcUf','4897200wvQkFL','focusLast','ck-ai-form__toggle-history','focusFirst','fieldWrapperChildren','fire','render','isOn','style','left','set','element','width','update','value','right','1aAuMFq','227781vEiPAA','_createShowHistoryButton','locale','2700472GoHSKk','focusableChildren','submitButtonView','bind','minRows','focus','window','showHistoryButtonView','isEnabled','filteredView','688jmzbRO','rtl','_createSubmitButton'];_0x21a2=function(){return _0x25073c;};return _0x21a2();}export class AIFormPromptView extends _0x1fe516{[_0x191caf(0x124)];[_0x191caf(0x129)];constructor(_0x53017a,_0x59844e){const _0x3e2a0a=_0x191caf;super(_0x53017a,_0x59844e),this[_0x3e2a0a(0xfe)][_0x3e2a0a(0xf7)][_0x3e2a0a(0x126)]=0x1,this[_0x3e2a0a(0xfe)][_0x3e2a0a(0xf7)][_0x3e2a0a(0x103)]=0x3,this[_0x3e2a0a(0x124)]=this[_0x3e2a0a(0xf5)](),this[_0x3e2a0a(0x129)]=this[_0x3e2a0a(0x120)](),this[_0x3e2a0a(0x123)][_0x3e2a0a(0xf8)](this[_0x3e2a0a(0x129)],0x1),this[_0x3e2a0a(0x123)][_0x3e2a0a(0xf8)](this[_0x3e2a0a(0x124)]);}[_0x191caf(0x114)](){const _0x18c3c7=_0x191caf;super[_0x18c3c7(0x114)](),this[_0x18c3c7(0xfe)][_0x18c3c7(0x112)][_0x18c3c7(0xf8)](this[_0x18c3c7(0x129)]),this[_0x18c3c7(0xfc)][_0x18c3c7(0xf8)](this[_0x18c3c7(0x124)]),this[_0x18c3c7(0xff)][_0x18c3c7(0x118)](_0x18c3c7(0x10b),(_0x57571f,_0x10e97a)=>{const _0x31dbfc=_0x18c3c7;_0x57571f[_0x31dbfc(0x105)]==this[_0x31dbfc(0xfe)][_0x31dbfc(0xf7)][_0x31dbfc(0x119)]&&(this[_0x31dbfc(0x101)](),_0x10e97a());});}[_0x191caf(0xf5)](){const _0x43db09=_0x191caf,_0x1d0dfb=new _0x35ad30(this[_0x43db09(0x121)]),_0x8964a=this[_0x43db09(0x121)];return _0x1d0dfb[_0x43db09(0x118)]({'icon':_0x23c222,'label':_0x3b8b24(_0x8964a,_0x43db09(0x109)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x43db09(0xf6)}),_0x1d0dfb['on'](_0x43db09(0x10a),()=>{const _0x5bd0a8=_0x43db09;this[_0x5bd0a8(0x101)]();}),_0x1d0dfb[_0x43db09(0x125)](_0x43db09(0x12a))['to'](this[_0x43db09(0xfe)][_0x43db09(0xf7)],_0x43db09(0xfb),this,_0x43db09(0x12a),(_0x2c6fd6,_0x1baf30)=>!_0x2c6fd6&&_0x1baf30),_0x1d0dfb;}[_0x191caf(0x120)](){const _0x14a285=_0x191caf,_0x4f6596=new _0x35ad30(this[_0x14a285(0x121)]),_0x401528=this[_0x14a285(0x106)],_0x218557=this[_0x14a285(0x121)];_0x4f6596[_0x14a285(0x118)]({'label':_0x3b8b24(_0x218557,_0x14a285(0x102)),'withText':!0x1,'icon':_0x45ef35,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x14a285(0x110)}),_0x4f6596[_0x14a285(0x125)](_0x14a285(0x115))['to'](_0x401528,_0x14a285(0x10c)),_0x4f6596[_0x14a285(0x125)](_0x14a285(0x12a))['to'](this,_0x14a285(0x12a)),_0x4f6596['on'](_0x14a285(0x10a),()=>{const _0x182ff1=_0x14a285;_0x401528[_0x182ff1(0x10c)]=!_0x401528[_0x182ff1(0x10c)],_0x401528[_0x182ff1(0x10c)]?this[_0x182ff1(0xf2)][_0x182ff1(0x127)]():this[_0x182ff1(0x127)]();});const _0x362378=()=>{const _0x2ff2cf=_0x14a285;_0x487a9a[_0x2ff2cf(0x128)][_0x2ff2cf(0x108)](()=>{const _0x3ecc40=_0x2ff2cf;if(_0x461447(this[_0x3ecc40(0x119)])){const _0x1c94c2=new _0x1faeb2(this[_0x3ecc40(0xfe)][_0x3ecc40(0xf7)][_0x3ecc40(0x119)]),_0x32f6ee=_0x1c94c2[_0x3ecc40(0x11a)],_0x311592=_0x3ecc40(0xf4)===_0x218557[_0x3ecc40(0xf9)]?_0x3ecc40(0x117):_0x3ecc40(0x11d);_0x1c94c2[_0x3ecc40(0x107)](),_0x4f6596[_0x3ecc40(0x119)][_0x3ecc40(0x116)][_0x311592]=_0x32f6ee-_0x1c94c2[_0x3ecc40(0x11a)]+0x1+'px';}});};return this[_0x14a285(0xfe)][_0x14a285(0xf7)]['on'](_0x14a285(0x11b),_0x362378),this['on'](_0x14a285(0x114),_0x362378),_0x4f6596;}[_0x191caf(0x101)](){const _0x125f25=_0x191caf,_0x492b6f=this[_0x125f25(0xfe)][_0x125f25(0xf7)][_0x125f25(0x119)][_0x125f25(0x11c)];this[_0x125f25(0x113)](_0x125f25(0x101),_0x492b6f);}[_0x191caf(0x127)](_0x563be0){const _0x1233bc=_0x191caf;-0x1===_0x563be0?this[_0x1233bc(0x100)][_0x1233bc(0x10f)]():this[_0x1233bc(0x100)][_0x1233bc(0x111)]();}}
23
+ const _0x37c142=_0x5f28;(function(_0x4e8049,_0xf8dac){const _0xb2242e=_0x5f28,_0x125d89=_0x4e8049();while(!![]){try{const _0x2a27e8=-parseInt(_0xb2242e(0x106))/0x1*(-parseInt(_0xb2242e(0xe8))/0x2)+-parseInt(_0xb2242e(0xe6))/0x3+-parseInt(_0xb2242e(0xdc))/0x4+-parseInt(_0xb2242e(0xfd))/0x5*(-parseInt(_0xb2242e(0xf9))/0x6)+parseInt(_0xb2242e(0x104))/0x7*(-parseInt(_0xb2242e(0xe9))/0x8)+-parseInt(_0xb2242e(0xfb))/0x9+parseInt(_0xb2242e(0xff))/0xa;if(_0x2a27e8===_0xf8dac)break;else _0x125d89['push'](_0x125d89['shift']());}catch(_0x416bbb){_0x125d89['push'](_0x125d89['shift']());}}}(_0x1f30,0xf1972));import{Rect as _0x54c8dd,global as _0xcc36c4,isVisible as _0x54e304}from'ckeditor5/src/utils.js';function _0x1f30(){const _0x31bed5=['submit','value','7653520JEvHQm','style','fire','render','enter','element','right','width','resultsView','isOn','2802495zjrNyK','isEmpty','14282DdAWug','6587848PHltRN','target','isEnabled','fieldView','ck-ai-form__submit','Submit','focus','set','ck-ai-form__toggle-history','_createShowHistoryButton','_createSubmitButton','uiLanguageDirection','execute','window','add','children','494784fSGoZv','excludeScrollbarsAndBorders','13640805wtQUHz','focusCycler','25hIPNvk','keystrokes','49998180xoppYH','requestAnimationFrame','fieldWrapperChildren','update','isVisible','7lckEfx','History','107jOiSQc','showHistoryButtonView','bind','minRows','filteredView','focusFirst','locale','maxRows','submitButtonView','left','focusLast','rtl','queryView','focusableChildren'];_0x1f30=function(){return _0x31bed5;};return _0x1f30();}import{IconHistory as _0x54f1e1,IconSubmit as _0x1a1174}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x1090d5,ButtonView as _0x4f56cb}from'ckeditor5/src/ui.js';function _0x5f28(_0x13a342,_0x27f961){const _0x1f3077=_0x1f30();return _0x5f28=function(_0x5f289e,_0x2e5e7f){_0x5f289e=_0x5f289e-0xd2;let _0x5418ce=_0x1f3077[_0x5f289e];return _0x5418ce;},_0x5f28(_0x13a342,_0x27f961);}import{getTranslation as _0x2edda9}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x1090d5{[_0x37c142(0xd4)];[_0x37c142(0x107)];constructor(_0x40d69f,_0x3d15fb){const _0x282067=_0x37c142;super(_0x40d69f,_0x3d15fb),this[_0x282067(0xd8)][_0x282067(0xec)][_0x282067(0x109)]=0x1,this[_0x282067(0xd8)][_0x282067(0xec)][_0x282067(0xd3)]=0x3,this[_0x282067(0xd4)]=this[_0x282067(0xf3)](),this[_0x282067(0x107)]=this[_0x282067(0xf2)](),this[_0x282067(0xd9)][_0x282067(0xf7)](this[_0x282067(0x107)],0x1),this[_0x282067(0xd9)][_0x282067(0xf7)](this[_0x282067(0xd4)]);}[_0x37c142(0xdf)](){const _0x314291=_0x37c142;super[_0x314291(0xdf)](),this[_0x314291(0xd8)][_0x314291(0x101)][_0x314291(0xf7)](this[_0x314291(0x107)]),this[_0x314291(0xf8)][_0x314291(0xf7)](this[_0x314291(0xd4)]),this[_0x314291(0xfe)][_0x314291(0xf0)](_0x314291(0xe0),(_0x438f34,_0x1908c8)=>{const _0x2fb4b7=_0x314291;_0x438f34[_0x2fb4b7(0xea)]==this[_0x2fb4b7(0xd8)][_0x2fb4b7(0xec)][_0x2fb4b7(0xe1)]&&(this[_0x2fb4b7(0xda)](),_0x1908c8());});}[_0x37c142(0xf3)](){const _0x642cea=_0x37c142,_0x4f7c43=new _0x4f56cb(this[_0x642cea(0xd2)]),_0x353e18=this[_0x642cea(0xd2)];return _0x4f7c43[_0x642cea(0xf0)]({'icon':_0x1a1174,'label':_0x2edda9(_0x353e18,_0x642cea(0xee)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x642cea(0xed)}),_0x4f7c43['on'](_0x642cea(0xf5),()=>{const _0x625769=_0x642cea;this[_0x625769(0xda)]();}),_0x4f7c43[_0x642cea(0x108)](_0x642cea(0xeb))['to'](this[_0x642cea(0xd8)][_0x642cea(0xec)],_0x642cea(0xe7),this,_0x642cea(0xeb),(_0x1a4415,_0x23b886)=>!_0x1a4415&&_0x23b886),_0x4f7c43;}[_0x37c142(0xf2)](){const _0x92c65d=_0x37c142,_0x5095b3=new _0x4f56cb(this[_0x92c65d(0xd2)]),_0x4ca714=this[_0x92c65d(0xe4)],_0x5eb572=this[_0x92c65d(0xd2)];_0x5095b3[_0x92c65d(0xf0)]({'label':_0x2edda9(_0x5eb572,_0x92c65d(0x105)),'withText':!0x1,'icon':_0x54f1e1,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x92c65d(0xf1)}),_0x5095b3[_0x92c65d(0x108)](_0x92c65d(0xe5))['to'](_0x4ca714,_0x92c65d(0x103)),_0x5095b3[_0x92c65d(0x108)](_0x92c65d(0xeb))['to'](this,_0x92c65d(0xeb)),_0x5095b3['on'](_0x92c65d(0xf5),()=>{const _0x386b28=_0x92c65d;_0x4ca714[_0x386b28(0x103)]=!_0x4ca714[_0x386b28(0x103)],_0x4ca714[_0x386b28(0x103)]?this[_0x386b28(0x10a)][_0x386b28(0xef)]():this[_0x386b28(0xef)]();});const _0x52e512=()=>{const _0x5a05af=_0x92c65d;_0xcc36c4[_0x5a05af(0xf6)][_0x5a05af(0x100)](()=>{const _0x4fd05f=_0x5a05af;if(_0x54e304(this[_0x4fd05f(0xe1)])){const _0x1030d6=new _0x54c8dd(this[_0x4fd05f(0xd8)][_0x4fd05f(0xec)][_0x4fd05f(0xe1)]),_0x39b6c0=_0x1030d6[_0x4fd05f(0xe3)],_0x3d16db=_0x4fd05f(0xd7)===_0x5eb572[_0x4fd05f(0xf4)]?_0x4fd05f(0xd5):_0x4fd05f(0xe2);_0x1030d6[_0x4fd05f(0xfa)](),_0x5095b3[_0x4fd05f(0xe1)][_0x4fd05f(0xdd)][_0x3d16db]=_0x39b6c0-_0x1030d6[_0x4fd05f(0xe3)]+0x1+'px';}});};return this[_0x92c65d(0xd8)][_0x92c65d(0xec)]['on'](_0x92c65d(0x102),_0x52e512),this['on'](_0x92c65d(0xdf),_0x52e512),_0x5095b3;}[_0x37c142(0xda)](){const _0x4b8436=_0x37c142,_0x2feee1=this[_0x4b8436(0xd8)][_0x4b8436(0xec)][_0x4b8436(0xe1)][_0x4b8436(0xdb)];this[_0x4b8436(0xde)](_0x4b8436(0xda),_0x2feee1);}[_0x37c142(0xef)](_0x5beb12){const _0xf694bb=_0x37c142;-0x1===_0x5beb12?this[_0xf694bb(0xfc)][_0xf694bb(0xd6)]():this[_0xf694bb(0xfc)][_0xf694bb(0x10b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cadf5=_0x4263;(function(_0x4963f3,_0x4517e1){const _0x22769a=_0x4263,_0x1bf215=_0x4963f3();while(!![]){try{const _0x14b786=parseInt(_0x22769a(0x18e))/0x1*(-parseInt(_0x22769a(0x17a))/0x2)+-parseInt(_0x22769a(0x17d))/0x3+parseInt(_0x22769a(0x189))/0x4*(parseInt(_0x22769a(0x197))/0x5)+-parseInt(_0x22769a(0x192))/0x6*(-parseInt(_0x22769a(0x180))/0x7)+parseInt(_0x22769a(0x17f))/0x8*(-parseInt(_0x22769a(0x190))/0x9)+-parseInt(_0x22769a(0x18d))/0xa*(-parseInt(_0x22769a(0x18a))/0xb)+parseInt(_0x22769a(0x199))/0xc*(parseInt(_0x22769a(0x184))/0xd);if(_0x14b786===_0x4517e1)break;else _0x1bf215['push'](_0x1bf215['shift']());}catch(_0x4eedc9){_0x1bf215['push'](_0x1bf215['shift']());}}}(_0x3a46,0xdc074));import{ToolbarView as _0x187506,ButtonView as _0x27b3b0}from'ckeditor5/src/ui.js';function _0x4263(_0x3e9761,_0x307b2c){const _0x3a462a=_0x3a46();return _0x4263=function(_0x4263e5,_0x408fd3){_0x4263e5=_0x4263e5-0x174;let _0x3d2aa1=_0x3a462a[_0x4263e5];return _0x3d2aa1;},_0x4263(_0x3e9761,_0x307b2c);}import{getTranslation as _0x5f823f}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1cadf5(0x183),'INSERT':_0x1cadf5(0x185)};export class AIFormToolbarView extends _0x187506{constructor(_0xeae3e0){const _0xd28d1=_0x1cadf5;super(_0xeae3e0),this[_0xd28d1(0x193)](_0xd28d1(0x178),!0x1),this[_0xd28d1(0x193)](_0xd28d1(0x175),AIFormToolbarViewMainActionLabel[_0xd28d1(0x177)]),this[_0xd28d1(0x181)]=this[_0xd28d1(0x187)]('',_0xd28d1(0x19b)),this[_0xd28d1(0x181)][_0xd28d1(0x17b)](_0xd28d1(0x188))['to'](this,_0xd28d1(0x175),_0xf42bc1=>_0x5f823f(_0xeae3e0,_0xd28d1(0x18c)+_0xf42bc1[_0xd28d1(0x198)]()+_0xd28d1(0x186))),this[_0xd28d1(0x195)]=this[_0xd28d1(0x187)](_0x5f823f(_0xeae3e0,_0xd28d1(0x176))),this[_0xd28d1(0x196)]=this[_0xd28d1(0x187)](_0x5f823f(_0xeae3e0,_0xd28d1(0x194))),this[_0xd28d1(0x191)]=this[_0xd28d1(0x187)](_0x5f823f(_0xeae3e0,_0xd28d1(0x17c)));const _0x3689be=this[_0xd28d1(0x174)];this[_0xd28d1(0x19a)]({'attributes':{'class':[_0xd28d1(0x18b),_0x3689be['if'](_0xd28d1(0x178),_0xd28d1(0x18f),_0x3902d7=>!_0x3902d7)]}}),this[_0xd28d1(0x17e)][_0xd28d1(0x182)]([this[_0xd28d1(0x181)],this[_0xd28d1(0x195)],this[_0xd28d1(0x196)],this[_0xd28d1(0x191)]]);}[_0x1cadf5(0x187)](_0x4d8523,_0x2b7014){const _0x1fb4d2=_0x1cadf5,_0x4c1502=new _0x27b3b0(this[_0x1fb4d2(0x179)]);return _0x4c1502[_0x1fb4d2(0x193)]({'label':_0x4d8523,'class':_0x2b7014||'','isVisible':!0x0,'withText':!0x0}),_0x4c1502;}}function _0x3a46(){const _0xe5cda8=['items','96GdOojj','319123hMsDCn','replaceButton','addMany','replace','11623001qLvBcw','insert','_CONTENT','_createButton','label','24TGJdXs','10119703sVawVa','ck-ai-form__toolbar','AI_','10APgSId','2NUDMRe','ck-hidden','534231ilJGdo','stopButton','42LOddmB','set','Try\x20again','insertButton','tryAgainButton','1258080RfhRCB','toUpperCase','24hqKHUb','extendTemplate','ck-button-action','bindTemplate','mainAction','Insert\x20below','REPLACE','isVisible','locale','1321982uvNSBy','bind','Stop','4804260zgVEQE'];_0x3a46=function(){return _0xe5cda8;};return _0x3a46();}
23
+ const _0x314b3f=_0x522f;(function(_0xa6e94a,_0x1b8f23){const _0x5a55f4=_0x522f,_0x40d040=_0xa6e94a();while(!![]){try{const _0x490b08=parseInt(_0x5a55f4(0x12c))/0x1+parseInt(_0x5a55f4(0x132))/0x2+parseInt(_0x5a55f4(0x12a))/0x3+-parseInt(_0x5a55f4(0x13d))/0x4+-parseInt(_0x5a55f4(0x13b))/0x5*(-parseInt(_0x5a55f4(0x127))/0x6)+parseInt(_0x5a55f4(0x129))/0x7+-parseInt(_0x5a55f4(0x13a))/0x8*(parseInt(_0x5a55f4(0x147))/0x9);if(_0x490b08===_0x1b8f23)break;else _0x40d040['push'](_0x40d040['shift']());}catch(_0xb420f2){_0x40d040['push'](_0x40d040['shift']());}}}(_0x1c9d,0x21baf));import{ToolbarView as _0x1e557d,ButtonView as _0x2cd1b9}from'ckeditor5/src/ui.js';import{getTranslation as _0x410fd3}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x314b3f(0x139),'INSERT':_0x314b3f(0x12d)};export class AIFormToolbarView extends _0x1e557d{constructor(_0x371c97){const _0x4e6b1a=_0x314b3f;super(_0x371c97),this[_0x4e6b1a(0x144)](_0x4e6b1a(0x146),!0x1),this[_0x4e6b1a(0x144)](_0x4e6b1a(0x131),AIFormToolbarViewMainActionLabel[_0x4e6b1a(0x142)]),this[_0x4e6b1a(0x133)]=this[_0x4e6b1a(0x149)]('',_0x4e6b1a(0x148)),this[_0x4e6b1a(0x133)][_0x4e6b1a(0x14a)](_0x4e6b1a(0x13e))['to'](this,_0x4e6b1a(0x131),_0x1485ef=>_0x410fd3(_0x371c97,_0x4e6b1a(0x135)+_0x1485ef[_0x4e6b1a(0x128)]()+_0x4e6b1a(0x12b))),this[_0x4e6b1a(0x130)]=this[_0x4e6b1a(0x149)](_0x410fd3(_0x371c97,_0x4e6b1a(0x136))),this[_0x4e6b1a(0x137)]=this[_0x4e6b1a(0x149)](_0x410fd3(_0x371c97,_0x4e6b1a(0x143))),this[_0x4e6b1a(0x145)]=this[_0x4e6b1a(0x149)](_0x410fd3(_0x371c97,_0x4e6b1a(0x13c)));const _0x40b231=this[_0x4e6b1a(0x140)];this[_0x4e6b1a(0x141)]({'attributes':{'class':[_0x4e6b1a(0x12f),_0x40b231['if'](_0x4e6b1a(0x146),_0x4e6b1a(0x134),_0x209efb=>!_0x209efb)]}}),this[_0x4e6b1a(0x13f)][_0x4e6b1a(0x12e)]([this[_0x4e6b1a(0x133)],this[_0x4e6b1a(0x130)],this[_0x4e6b1a(0x137)],this[_0x4e6b1a(0x145)]]);}[_0x314b3f(0x149)](_0x19b985,_0x7e0520){const _0x1808e9=_0x314b3f,_0x2e82b8=new _0x2cd1b9(this[_0x1808e9(0x138)]);return _0x2e82b8[_0x1808e9(0x144)]({'label':_0x19b985,'class':_0x7e0520||'','isVisible':!0x0,'withText':!0x0}),_0x2e82b8;}}function _0x522f(_0x5f4075,_0xeda31b){const _0x1c9d3c=_0x1c9d();return _0x522f=function(_0x522fe2,_0x438787){_0x522fe2=_0x522fe2-0x127;let _0x24ad25=_0x1c9d3c[_0x522fe2];return _0x24ad25;},_0x522f(_0x5f4075,_0xeda31b);}function _0x1c9d(){const _0x372e92=['locale','replace','3201056SjuUMO','55775sGgWJp','Stop','277464BIqXGh','label','items','bindTemplate','extendTemplate','REPLACE','Try\x20again','set','stopButton','isVisible','9XtxXqs','ck-button-action','_createButton','bind','114pLSTCL','toUpperCase','629139xMfhfZ','139038lwYuzs','_CONTENT','75079qOFpHi','insert','addMany','ck-ai-form__toolbar','insertButton','mainAction','368820MYlPty','replaceButton','ck-hidden','AI_','Insert\x20below','tryAgainButton'];_0x1c9d=function(){return _0x372e92;};return _0x1c9d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33f22b=_0x1bb8;(function(_0x4e4bc5,_0xc44772){const _0x49b4cf=_0x1bb8,_0x405679=_0x4e4bc5();while(!![]){try{const _0x3548c4=parseInt(_0x49b4cf(0xb8))/0x1*(parseInt(_0x49b4cf(0x92))/0x2)+parseInt(_0x49b4cf(0xd6))/0x3+parseInt(_0x49b4cf(0xb7))/0x4+parseInt(_0x49b4cf(0xc1))/0x5+parseInt(_0x49b4cf(0xca))/0x6+parseInt(_0x49b4cf(0x8f))/0x7*(parseInt(_0x49b4cf(0x99))/0x8)+parseInt(_0x49b4cf(0x93))/0x9*(-parseInt(_0x49b4cf(0x90))/0xa);if(_0x3548c4===_0xc44772)break;else _0x405679['push'](_0x405679['shift']());}catch(_0x48eccc){_0x405679['push'](_0x405679['shift']());}}}(_0x1e95,0xc5495));import{FocusTracker as _0x1bf017,KeystrokeHandler as _0x49c680}from'ckeditor5/src/utils.js';function _0x1e95(){const _0x295cf1=['focus','4622xLcheu','477sSqEnO','Empty\x20history','_focusables','chain','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusFirst','4935032KqbgaA','focusTracker','execute','items','keystrokes','startProcessing','reset','queryView','contentArea','tryAgainButton','_createPromptView','listenTo','focusLast','stopProcessing','render','text','set','REPLACE','setTemplate','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','submitPrompt','isEnabled','element','replaceContent','submit','errorView','shift\x20+\x20tab','_createToolbar','mainAction','isError','914608YpBLed','131hVauFU','clear','ck-ai-form','ck-ai-form-content','div','createCollection','trim','promptView','tab','4687445UVRoKY','add','fire','_createHistoryView','isProcessing','prompt','ck-hidden','toolbar','finishProcessing','1296942QPlCEy','locale','replaceButton','insertButton','tryAgainEvent','label','value','delegate','Ask\x20AI\x20to\x20improve\x20generated\x20text','copyButtonView','AI_ERROR_FAILED','focusCycler','2832660rrZEYn','isVisible','high','fieldView','handleError','historyGroupView','bindTemplate','stopButton','insertContentBelow','_promptHistory','bind','clearHistory','search','bindTo','7aPXGWF','460010rYCgQO'];_0x1e95=function(){return _0x295cf1;};return _0x1e95();}import{View as _0x15596c,FocusCycler as _0x3ce281,createLabeledTextarea as _0x2f40a5}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x1bad73,AIFormToolbarViewMainActionLabel as _0x59764e}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x9a0d05}from'./aiformcontentarea.js';import{AIFormErrorView as _0x5801bf}from'./aiformerrorview.js';function _0x1bb8(_0x168da4,_0x4ccede){const _0x1e9576=_0x1e95();return _0x1bb8=function(_0x1bb84e,_0x493771){_0x1bb84e=_0x1bb84e-0x82;let _0x5cee3c=_0x1e9576[_0x1bb84e];return _0x5cee3c;},_0x1bb8(_0x168da4,_0x4ccede);}import{AIFormPromptView as _0x465a23}from'./aiformpromptview.js';import{AIHistoryListView as _0x2f86c7}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x98e300}from'./aihistorylistitemview.js';import{PromptHistory as _0x371e9d}from'./prompthistory.js';import{getTranslation as _0x25e8ca}from'../../utils/common-translations.js';import{escape as _0x4bf8d8}from'es-toolkit/compat';export class AIFormView extends _0x15596c{[_0x33f22b(0x9a)];[_0x33f22b(0x9d)];[_0x33f22b(0xa1)];[_0x33f22b(0xc8)];[_0x33f22b(0xbf)];[_0x33f22b(0xb2)];[_0x33f22b(0x95)];[_0x33f22b(0xd5)];[_0x33f22b(0x8a)];constructor(_0x4139d9,_0x1d43a0,_0x2b86c8=''){const _0x5442d1=_0x33f22b;super(_0x4139d9),this[_0x5442d1(0xa9)](_0x5442d1(0xae),!0x0),this[_0x5442d1(0xa9)](_0x5442d1(0xc5),!0x1),this[_0x5442d1(0xa9)](_0x5442d1(0xc6),''),this[_0x5442d1(0xa9)](_0x5442d1(0xd0),''),this[_0x5442d1(0xa9)](_0x5442d1(0xb6),!0x1),this[_0x5442d1(0xa9)](_0x5442d1(0xb5),_0x59764e[_0x5442d1(0xaa)]),this[_0x5442d1(0x8a)]=new _0x371e9d(),this[_0x5442d1(0xb2)]=new _0x5801bf(_0x4139d9),this[_0x5442d1(0xa1)]=new _0x9a0d05(_0x4139d9,_0x2b86c8),this[_0x5442d1(0xa1)][_0x5442d1(0x8b)](_0x5442d1(0xc5))['to'](this),this[_0x5442d1(0xa1)][_0x5442d1(0x8b)](_0x5442d1(0xd0))['to'](this),this[_0x5442d1(0xc8)]=this[_0x5442d1(0xb4)](),this[_0x5442d1(0xc8)][_0x5442d1(0x8b)](_0x5442d1(0xb5))['to'](this),this[_0x5442d1(0xbf)]=this[_0x5442d1(0xa3)](),this[_0x5442d1(0x9a)]=new _0x1bf017(),this[_0x5442d1(0x9d)]=new _0x49c680(),this[_0x5442d1(0x95)]=this[_0x5442d1(0xbd)]([this[_0x5442d1(0xa1)],this[_0x5442d1(0xa1)][_0x5442d1(0xd3)],this[_0x5442d1(0xc8)],this[_0x5442d1(0xbf)]]),this[_0x5442d1(0xd5)]=new _0x3ce281({'focusables':this[_0x5442d1(0x95)],'focusTracker':this[_0x5442d1(0x9a)],'keystrokeHandler':this[_0x5442d1(0x9d)],'actions':{'focusPrevious':_0x5442d1(0xb3),'focusNext':_0x5442d1(0xc0)}}),this[_0x5442d1(0xd5)][_0x5442d1(0x96)](this[_0x5442d1(0xbf)][_0x5442d1(0xd5)]),this[_0x5442d1(0xbf)][_0x5442d1(0xa0)][_0x5442d1(0x84)][_0x5442d1(0x8b)](_0x5442d1(0xd0))['to'](this,_0x5442d1(0xc6));const _0x342f3c=this[_0x5442d1(0x87)];this[_0x5442d1(0xab)]({'tag':_0x5442d1(0xbc),'attributes':{'class':['ck',_0x5442d1(0xba),_0x1d43a0],'tabindex':'-1'},'children':[{'tag':_0x5442d1(0xbc),'attributes':{'class':['ck',_0x5442d1(0xbb)]},'children':[{'tag':_0x5442d1(0xbc),'attributes':{'class':[_0x342f3c['if'](_0x5442d1(0xb6),_0x5442d1(0xc7),_0x528319=>!_0x528319)]},'children':[this[_0x5442d1(0xb2)]]},this[_0x5442d1(0xa1)],this[_0x5442d1(0xc8)],this[_0x5442d1(0xbf)]]}]});}[_0x33f22b(0xa7)](){const _0x33ec46=_0x33f22b;super[_0x33ec46(0xa7)](),this[_0x33ec46(0x9a)][_0x33ec46(0xc2)](this[_0x33ec46(0xa1)][_0x33ec46(0xaf)]),this[_0x33ec46(0x9a)][_0x33ec46(0xc2)](this[_0x33ec46(0xa1)][_0x33ec46(0xd3)][_0x33ec46(0xaf)]),this[_0x33ec46(0x9a)][_0x33ec46(0xc2)](this[_0x33ec46(0xc8)][_0x33ec46(0xaf)]),this[_0x33ec46(0x9a)][_0x33ec46(0xc2)](this[_0x33ec46(0xbf)][_0x33ec46(0xaf)]),this[_0x33ec46(0x9d)][_0x33ec46(0xa4)](this[_0x33ec46(0xaf)]);}[_0x33f22b(0x91)](_0x440d9f=0x1){const _0x3789a0=_0x33f22b;-0x1===_0x440d9f?this[_0x3789a0(0xd5)][_0x3789a0(0xa5)]():this[_0x3789a0(0xd5)][_0x3789a0(0x98)]();}[_0x33f22b(0x9f)](){const _0x248b4d=_0x33f22b;this[_0x248b4d(0xc6)]='',this[_0x248b4d(0xd0)]='',this[_0x248b4d(0xb6)]=!0x1,this[_0x248b4d(0xbf)][_0x248b4d(0x9f)](),this[_0x248b4d(0xa1)][_0x248b4d(0x82)]=!0x1,this[_0x248b4d(0xc8)][_0x248b4d(0x82)]=!0x1;}[_0x33f22b(0xa3)](){const _0x1932b7=_0x33f22b,_0x264afa=this[_0x1932b7(0xcb)],_0x4e1466=new _0x465a23(_0x264afa,{'queryView':{'label':_0x25e8ca(_0x264afa,_0x1932b7(0x97)),'creator':_0x2f40a5,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x25e8ca(_0x264afa,_0x1932b7(0x94)),'secondary':_0x25e8ca(_0x264afa,_0x1932b7(0xac))}}},'filteredView':this[_0x1932b7(0xc4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4e1466[_0x1932b7(0x8b)](_0x1932b7(0xae))['to'](this,_0x1932b7(0xae),this,_0x1932b7(0xc5),(_0x847ba9,_0x6a8a6e)=>_0x847ba9&&!_0x6a8a6e),this[_0x1932b7(0xa4)](_0x4e1466,_0x1932b7(0xb1),(_0x5bb7ff,_0x1ccbd4)=>{const _0x458927=_0x1932b7;this[_0x458927(0xc6)]=_0x1ccbd4;const _0x4c1387=_0x4bf8d8(_0x1ccbd4);this[_0x458927(0xc3)](_0x458927(0xad),_0x4c1387),_0x1ccbd4[_0x458927(0xbe)]()&&this[_0x458927(0x8a)][_0x458927(0xc2)]({'prompt':_0x4c1387},0x0);},{'priority':_0x1932b7(0x83)}),_0x4e1466;}[_0x33f22b(0xc4)](){const _0x3da4ac=_0x33f22b,_0x4ba420=new _0x2f86c7(this[_0x3da4ac(0xcb)]);return _0x4ba420[_0x3da4ac(0x86)][_0x3da4ac(0x9c)][_0x3da4ac(0x8e)](this[_0x3da4ac(0x8a)])['as'](_0x98e300),_0x4ba420['on'](_0x3da4ac(0x8c),()=>{const _0xe80009=_0x3da4ac;this[_0xe80009(0x8a)][_0xe80009(0xb9)](),this[_0xe80009(0xbf)][_0xe80009(0x8d)](''),this[_0xe80009(0xbf)][_0xe80009(0x91)]();}),_0x4ba420;}[_0x33f22b(0xb4)](){const _0x108619=_0x33f22b,_0xdf13aa=new _0x1bad73(this[_0x108619(0xcb)]);return _0xdf13aa[_0x108619(0xcc)][_0x108619(0x8b)](_0x108619(0xae))['to'](this,_0x108619(0xae),this,_0x108619(0xc5),this,_0x108619(0xd0),(_0x4ba8d8,_0xe5964c,_0x6c05d9)=>_0x4ba8d8&&!_0xe5964c&&!!_0x6c05d9),_0xdf13aa[_0x108619(0xcc)][_0x108619(0xd1)](_0x108619(0x9b))['to'](this,_0x108619(0xb0)),_0xdf13aa[_0x108619(0xcd)][_0x108619(0x8b)](_0x108619(0xae))['to'](this,_0x108619(0xae),this,_0x108619(0xc5),this,_0x108619(0xd0),(_0x84b94f,_0x2c27c5,_0x7ada2b)=>_0x84b94f&&!_0x2c27c5&&!!_0x7ada2b),_0xdf13aa[_0x108619(0xcd)][_0x108619(0xd1)](_0x108619(0x9b))['to'](this,_0x108619(0x89)),_0xdf13aa[_0x108619(0xa2)][_0x108619(0x8b)](_0x108619(0xae))['to'](this,_0x108619(0xae),this,_0x108619(0xc5),(_0x77f185,_0x1f202b)=>_0x77f185&&!_0x1f202b),_0xdf13aa[_0x108619(0xa2)][_0x108619(0xd1)](_0x108619(0x9b))['to'](this,_0x108619(0xce)),_0xdf13aa[_0x108619(0x88)][_0x108619(0x8b)](_0x108619(0xae))['to'](this,_0x108619(0xc5)),_0xdf13aa[_0x108619(0x88)][_0x108619(0xd1)](_0x108619(0x9b))['to'](this,_0x108619(0xa6)),_0xdf13aa;}[_0x33f22b(0x9e)](){const _0x367920=_0x33f22b;this[_0x367920(0xd0)]='',this[_0x367920(0xb6)]=!0x1,this[_0x367920(0xc5)]=!0x0,this[_0x367920(0xa1)][_0x367920(0x82)]=!0x0,this[_0x367920(0xc8)][_0x367920(0x82)]=!0x0,this[_0x367920(0xa1)][_0x367920(0x91)]();}[_0x33f22b(0xc9)](){const _0x2cbe3f=_0x33f22b,_0x50b0eb=this[_0x2cbe3f(0xcb)];this[_0x2cbe3f(0xc5)]=!0x1,this[_0x2cbe3f(0xc6)]='',this[_0x2cbe3f(0xbf)][_0x2cbe3f(0x9f)](),this[_0x2cbe3f(0xd0)]&&(this[_0x2cbe3f(0xbf)][_0x2cbe3f(0xa0)][_0x2cbe3f(0xcf)]=_0x25e8ca(_0x50b0eb,_0x2cbe3f(0xd2)));}[_0x33f22b(0x85)](_0x508d42){const _0x1b2720=_0x33f22b,_0x40a7ab=this[_0x1b2720(0xcb)];this[_0x1b2720(0xc9)](),this[_0x1b2720(0xb6)]=!0x0,this[_0x1b2720(0xb2)][_0x1b2720(0xa8)]=_0x508d42||_0x25e8ca(_0x40a7ab,_0x1b2720(0xd4)),this[_0x1b2720(0xd0)]||(this[_0x1b2720(0xa1)][_0x1b2720(0x82)]=!0x1);}}
23
+ const _0x4c714b=_0x560b;(function(_0x2ebe7f,_0x5dfa1d){const _0x48b371=_0x560b,_0x437b71=_0x2ebe7f();while(!![]){try{const _0x580625=parseInt(_0x48b371(0x92))/0x1*(parseInt(_0x48b371(0x9b))/0x2)+-parseInt(_0x48b371(0xad))/0x3*(parseInt(_0x48b371(0x91))/0x4)+-parseInt(_0x48b371(0x94))/0x5+-parseInt(_0x48b371(0xbd))/0x6+-parseInt(_0x48b371(0x8a))/0x7+-parseInt(_0x48b371(0x77))/0x8+-parseInt(_0x48b371(0x9d))/0x9*(-parseInt(_0x48b371(0xac))/0xa);if(_0x580625===_0x5dfa1d)break;else _0x437b71['push'](_0x437b71['shift']());}catch(_0x283c34){_0x437b71['push'](_0x437b71['shift']());}}}(_0x4a96,0xbf4e5));import{FocusTracker as _0x4a0212,KeystrokeHandler as _0xfbcb5f}from'ckeditor5/src/utils.js';function _0x4a96(){const _0x194738=['focus','insertButton','stopProcessing','1408440xlDdpg','Ask\x20AI\x20to\x20edit\x20or\x20generate','Empty\x20history','historyGroupView','element','focusLast','execute','_createHistoryView','chain','contentArea','search','delegate','queryView','isError','ck-ai-form-content','11108376ZiGkJt','REPLACE','handleError','_createPromptView','toolbar','add','clear','items','keystrokes','isProcessing','render','submit','fire','tryAgainButton','focusTracker','insertContentBelow','focusFirst','_createToolbar','tab','8337014IdVVLX','clearHistory','listenTo','_promptHistory','high','tryAgainEvent','Ask\x20AI\x20to\x20improve\x20generated\x20text','172PFDumY','359ZOOOnM','AI_ERROR_FAILED','6034735pfEZUi','focusCycler','bindTo','ck-ai-form','div','ck-hidden','replaceContent','1078thcdtW','trim','52376229QzkNnu','label','submitPrompt','startProcessing','bind','locale','reset','isEnabled','isVisible','promptView','stopButton','_focusables','set','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','text','10rYuGiO','84297RATNjl','copyButtonView','createCollection','bindTemplate','value','fieldView','replaceButton','mainAction','prompt','shift\x20+\x20tab','setTemplate','errorView','finishProcessing'];_0x4a96=function(){return _0x194738;};return _0x4a96();}import{View as _0x109c0d,FocusCycler as _0x599cda,createLabeledTextarea as _0x51e3a4}from'ckeditor5/src/ui.js';function _0x560b(_0x46157d,_0x13eabc){const _0x4a960a=_0x4a96();return _0x560b=function(_0x560b42,_0xcbbd9b){_0x560b42=_0x560b42-0x75;let _0x40793f=_0x4a960a[_0x560b42];return _0x40793f;},_0x560b(_0x46157d,_0x13eabc);}import{AIFormToolbarView as _0xc8df1f,AIFormToolbarViewMainActionLabel as _0x15b4cd}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x2bd5f4}from'./aiformcontentarea.js';import{AIFormErrorView as _0x25c8eb}from'./aiformerrorview.js';import{AIFormPromptView as _0x34be7a}from'./aiformpromptview.js';import{AIHistoryListView as _0xa97c7f}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x3b419f}from'./aihistorylistitemview.js';import{PromptHistory as _0x175b10}from'./prompthistory.js';import{getTranslation as _0x3ce3bd}from'../../utils/common-translations.js';import{escape as _0x265acb}from'es-toolkit/compat';export class AIFormView extends _0x109c0d{[_0x4c714b(0x85)];[_0x4c714b(0x7f)];[_0x4c714b(0xc6)];[_0x4c714b(0x7b)];[_0x4c714b(0xa6)];[_0x4c714b(0xb8)];[_0x4c714b(0xa8)];[_0x4c714b(0x95)];[_0x4c714b(0x8d)];constructor(_0x309a36,_0x533d78,_0x1f8428=''){const _0x12923f=_0x4c714b;super(_0x309a36),this[_0x12923f(0xa9)](_0x12923f(0xa4),!0x0),this[_0x12923f(0xa9)](_0x12923f(0x80),!0x1),this[_0x12923f(0xa9)](_0x12923f(0xb5),''),this[_0x12923f(0xa9)](_0x12923f(0xb1),''),this[_0x12923f(0xa9)](_0x12923f(0x75),!0x1),this[_0x12923f(0xa9)](_0x12923f(0xb4),_0x15b4cd[_0x12923f(0x78)]),this[_0x12923f(0x8d)]=new _0x175b10(),this[_0x12923f(0xb8)]=new _0x25c8eb(_0x309a36),this[_0x12923f(0xc6)]=new _0x2bd5f4(_0x309a36,_0x1f8428),this[_0x12923f(0xc6)][_0x12923f(0xa1)](_0x12923f(0x80))['to'](this),this[_0x12923f(0xc6)][_0x12923f(0xa1)](_0x12923f(0xb1))['to'](this),this[_0x12923f(0x7b)]=this[_0x12923f(0x88)](),this[_0x12923f(0x7b)][_0x12923f(0xa1)](_0x12923f(0xb4))['to'](this),this[_0x12923f(0xa6)]=this[_0x12923f(0x7a)](),this[_0x12923f(0x85)]=new _0x4a0212(),this[_0x12923f(0x7f)]=new _0xfbcb5f(),this[_0x12923f(0xa8)]=this[_0x12923f(0xaf)]([this[_0x12923f(0xc6)],this[_0x12923f(0xc6)][_0x12923f(0xae)],this[_0x12923f(0x7b)],this[_0x12923f(0xa6)]]),this[_0x12923f(0x95)]=new _0x599cda({'focusables':this[_0x12923f(0xa8)],'focusTracker':this[_0x12923f(0x85)],'keystrokeHandler':this[_0x12923f(0x7f)],'actions':{'focusPrevious':_0x12923f(0xb6),'focusNext':_0x12923f(0x89)}}),this[_0x12923f(0x95)][_0x12923f(0xc5)](this[_0x12923f(0xa6)][_0x12923f(0x95)]),this[_0x12923f(0xa6)][_0x12923f(0xc9)][_0x12923f(0xb2)][_0x12923f(0xa1)](_0x12923f(0xb1))['to'](this,_0x12923f(0xb5));const _0x2508c3=this[_0x12923f(0xb0)];this[_0x12923f(0xb7)]({'tag':_0x12923f(0x98),'attributes':{'class':['ck',_0x12923f(0x97),_0x533d78],'tabindex':'-1'},'children':[{'tag':_0x12923f(0x98),'attributes':{'class':['ck',_0x12923f(0x76)]},'children':[{'tag':_0x12923f(0x98),'attributes':{'class':[_0x2508c3['if'](_0x12923f(0x75),_0x12923f(0x99),_0x4ece12=>!_0x4ece12)]},'children':[this[_0x12923f(0xb8)]]},this[_0x12923f(0xc6)],this[_0x12923f(0x7b)],this[_0x12923f(0xa6)]]}]});}[_0x4c714b(0x81)](){const _0x523fe7=_0x4c714b;super[_0x523fe7(0x81)](),this[_0x523fe7(0x85)][_0x523fe7(0x7c)](this[_0x523fe7(0xc6)][_0x523fe7(0xc1)]),this[_0x523fe7(0x85)][_0x523fe7(0x7c)](this[_0x523fe7(0xc6)][_0x523fe7(0xae)][_0x523fe7(0xc1)]),this[_0x523fe7(0x85)][_0x523fe7(0x7c)](this[_0x523fe7(0x7b)][_0x523fe7(0xc1)]),this[_0x523fe7(0x85)][_0x523fe7(0x7c)](this[_0x523fe7(0xa6)][_0x523fe7(0xc1)]),this[_0x523fe7(0x7f)][_0x523fe7(0x8c)](this[_0x523fe7(0xc1)]);}[_0x4c714b(0xba)](_0x1164fe=0x1){const _0x513f89=_0x4c714b;-0x1===_0x1164fe?this[_0x513f89(0x95)][_0x513f89(0xc2)]():this[_0x513f89(0x95)][_0x513f89(0x87)]();}[_0x4c714b(0xa3)](){const _0x5bc5c0=_0x4c714b;this[_0x5bc5c0(0xb5)]='',this[_0x5bc5c0(0xb1)]='',this[_0x5bc5c0(0x75)]=!0x1,this[_0x5bc5c0(0xa6)][_0x5bc5c0(0xa3)](),this[_0x5bc5c0(0xc6)][_0x5bc5c0(0xa5)]=!0x1,this[_0x5bc5c0(0x7b)][_0x5bc5c0(0xa5)]=!0x1;}[_0x4c714b(0x7a)](){const _0x423752=_0x4c714b,_0x418131=this[_0x423752(0xa2)],_0x4e14a1=new _0x34be7a(_0x418131,{'queryView':{'label':_0x3ce3bd(_0x418131,_0x423752(0xbe)),'creator':_0x51e3a4,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3ce3bd(_0x418131,_0x423752(0xbf)),'secondary':_0x3ce3bd(_0x418131,_0x423752(0xaa))}}},'filteredView':this[_0x423752(0xc4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4e14a1[_0x423752(0xa1)](_0x423752(0xa4))['to'](this,_0x423752(0xa4),this,_0x423752(0x80),(_0x2a06ca,_0x59762e)=>_0x2a06ca&&!_0x59762e),this[_0x423752(0x8c)](_0x4e14a1,_0x423752(0x82),(_0x9bfbe7,_0x15f92e)=>{const _0x344eb1=_0x423752;this[_0x344eb1(0xb5)]=_0x15f92e;const _0x563ca3=_0x265acb(_0x15f92e);this[_0x344eb1(0x83)](_0x344eb1(0x9f),_0x563ca3),_0x15f92e[_0x344eb1(0x9c)]()&&this[_0x344eb1(0x8d)][_0x344eb1(0x7c)]({'prompt':_0x563ca3},0x0);},{'priority':_0x423752(0x8e)}),_0x4e14a1;}[_0x4c714b(0xc4)](){const _0x35b814=_0x4c714b,_0xdd4960=new _0xa97c7f(this[_0x35b814(0xa2)]);return _0xdd4960[_0x35b814(0xc0)][_0x35b814(0x7e)][_0x35b814(0x96)](this[_0x35b814(0x8d)])['as'](_0x3b419f),_0xdd4960['on'](_0x35b814(0x8b),()=>{const _0x257a0a=_0x35b814;this[_0x257a0a(0x8d)][_0x257a0a(0x7d)](),this[_0x257a0a(0xa6)][_0x257a0a(0xc7)](''),this[_0x257a0a(0xa6)][_0x257a0a(0xba)]();}),_0xdd4960;}[_0x4c714b(0x88)](){const _0x3a2d2f=_0x4c714b,_0x349801=new _0xc8df1f(this[_0x3a2d2f(0xa2)]);return _0x349801[_0x3a2d2f(0xb3)][_0x3a2d2f(0xa1)](_0x3a2d2f(0xa4))['to'](this,_0x3a2d2f(0xa4),this,_0x3a2d2f(0x80),this,_0x3a2d2f(0xb1),(_0x5a131a,_0x175701,_0x11784b)=>_0x5a131a&&!_0x175701&&!!_0x11784b),_0x349801[_0x3a2d2f(0xb3)][_0x3a2d2f(0xc8)](_0x3a2d2f(0xc3))['to'](this,_0x3a2d2f(0x9a)),_0x349801[_0x3a2d2f(0xbb)][_0x3a2d2f(0xa1)](_0x3a2d2f(0xa4))['to'](this,_0x3a2d2f(0xa4),this,_0x3a2d2f(0x80),this,_0x3a2d2f(0xb1),(_0x2092aa,_0x4d181a,_0x381a68)=>_0x2092aa&&!_0x4d181a&&!!_0x381a68),_0x349801[_0x3a2d2f(0xbb)][_0x3a2d2f(0xc8)](_0x3a2d2f(0xc3))['to'](this,_0x3a2d2f(0x86)),_0x349801[_0x3a2d2f(0x84)][_0x3a2d2f(0xa1)](_0x3a2d2f(0xa4))['to'](this,_0x3a2d2f(0xa4),this,_0x3a2d2f(0x80),(_0x5f1c70,_0x15286d)=>_0x5f1c70&&!_0x15286d),_0x349801[_0x3a2d2f(0x84)][_0x3a2d2f(0xc8)](_0x3a2d2f(0xc3))['to'](this,_0x3a2d2f(0x8f)),_0x349801[_0x3a2d2f(0xa7)][_0x3a2d2f(0xa1)](_0x3a2d2f(0xa4))['to'](this,_0x3a2d2f(0x80)),_0x349801[_0x3a2d2f(0xa7)][_0x3a2d2f(0xc8)](_0x3a2d2f(0xc3))['to'](this,_0x3a2d2f(0xbc)),_0x349801;}[_0x4c714b(0xa0)](){const _0x498a8f=_0x4c714b;this[_0x498a8f(0xb1)]='',this[_0x498a8f(0x75)]=!0x1,this[_0x498a8f(0x80)]=!0x0,this[_0x498a8f(0xc6)][_0x498a8f(0xa5)]=!0x0,this[_0x498a8f(0x7b)][_0x498a8f(0xa5)]=!0x0,this[_0x498a8f(0xc6)][_0x498a8f(0xba)]();}[_0x4c714b(0xb9)](){const _0x327a=_0x4c714b,_0x4490b5=this[_0x327a(0xa2)];this[_0x327a(0x80)]=!0x1,this[_0x327a(0xb5)]='',this[_0x327a(0xa6)][_0x327a(0xa3)](),this[_0x327a(0xb1)]&&(this[_0x327a(0xa6)][_0x327a(0xc9)][_0x327a(0x9e)]=_0x3ce3bd(_0x4490b5,_0x327a(0x90)));}[_0x4c714b(0x79)](_0x30d777){const _0x500333=_0x4c714b,_0x167726=this[_0x500333(0xa2)];this[_0x500333(0xb9)](),this[_0x500333(0x75)]=!0x0,this[_0x500333(0xb8)][_0x500333(0xab)]=_0x30d777||_0x3ce3bd(_0x167726,_0x500333(0x93)),this[_0x500333(0xb1)]||(this[_0x500333(0xc6)][_0x500333(0xa5)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xba7cce,_0xe2d39c){const _0x42cff4=_0x3873,_0x18909a=_0xba7cce();while(!![]){try{const _0x486257=parseInt(_0x42cff4(0xfd))/0x1*(parseInt(_0x42cff4(0xfc))/0x2)+-parseInt(_0x42cff4(0xf7))/0x3*(-parseInt(_0x42cff4(0xf8))/0x4)+parseInt(_0x42cff4(0x102))/0x5*(-parseInt(_0x42cff4(0xfe))/0x6)+parseInt(_0x42cff4(0x106))/0x7*(-parseInt(_0x42cff4(0xf4))/0x8)+parseInt(_0x42cff4(0x105))/0x9+-parseInt(_0x42cff4(0xf5))/0xa*(-parseInt(_0x42cff4(0x103))/0xb)+-parseInt(_0x42cff4(0xfa))/0xc;if(_0x486257===_0xe2d39c)break;else _0x18909a['push'](_0x18909a['shift']());}catch(_0x78b695){_0x18909a['push'](_0x18909a['shift']());}}}(_0x23c9,0xf3f74));import{ListItemView as _0x2f4ada,ButtonView as _0xed7bf0,ButtonLabelView as _0x504543}from'ckeditor5/src/ui.js';function _0x23c9(){const _0x2ebe55=['set','11310462rqMmbq','867699kyJnSR','16SdITLV','14591860OnYDns','prompt','3QxIqOw','6904328yAdQix','execute','40892592qUPQbD','children','2EANzAN','1948847FbtGeL','6UhcycW','add','locale','fire','8679595hbWehA','11IjEumn'];_0x23c9=function(){return _0x2ebe55;};return _0x23c9();}function _0x3873(_0x5ac61e,_0x923ace){const _0x23c9c6=_0x23c9();return _0x3873=function(_0x3873f0,_0x336432){_0x3873f0=_0x3873f0-0xf4;let _0x151b0e=_0x23c9c6[_0x3873f0];return _0x151b0e;},_0x3873(_0x5ac61e,_0x923ace);}import{unescape as _0x1b7047}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x2f4ada{constructor(_0xa91cb5){const _0x5e0a2b=_0x3873;super();const _0xa775f5=new _0x504543(),_0x1c68b3=new _0xed7bf0(this[_0x5e0a2b(0x100)],_0xa775f5);this[_0x5e0a2b(0xfb)][_0x5e0a2b(0xff)](_0x1c68b3),_0x1c68b3[_0x5e0a2b(0x104)]({'label':_0xa91cb5[_0x5e0a2b(0xf6)],'withText':!0x0}),_0x1c68b3['on'](_0x5e0a2b(0xf9),()=>{const _0x1d5890=_0x5e0a2b;this[_0x1d5890(0x101)](_0x1d5890(0xf9),{'value':_0x1b7047(_0xa91cb5[_0x1d5890(0xf6)])});});}}
23
+ (function(_0x4aa105,_0x5e3eec){const _0x13155a=_0x59da,_0x315208=_0x4aa105();while(!![]){try{const _0x312926=-parseInt(_0x13155a(0xa5))/0x1*(parseInt(_0x13155a(0xa6))/0x2)+-parseInt(_0x13155a(0xa3))/0x3*(parseInt(_0x13155a(0xb2))/0x4)+parseInt(_0x13155a(0xb4))/0x5+parseInt(_0x13155a(0xb1))/0x6+parseInt(_0x13155a(0xac))/0x7*(-parseInt(_0x13155a(0xaa))/0x8)+-parseInt(_0x13155a(0xa4))/0x9+parseInt(_0x13155a(0xa8))/0xa*(parseInt(_0x13155a(0xae))/0xb);if(_0x312926===_0x5e3eec)break;else _0x315208['push'](_0x315208['shift']());}catch(_0x4be386){_0x315208['push'](_0x315208['shift']());}}}(_0x39d4,0xbc883));import{ListItemView as _0x142378,ButtonView as _0x29d734,ButtonLabelView as _0x593eef}from'ckeditor5/src/ui.js';import{unescape as _0x475339}from'es-toolkit/compat';function _0x59da(_0x2a089f,_0x5544ca){const _0x39d41c=_0x39d4();return _0x59da=function(_0x59da56,_0x362b21){_0x59da56=_0x59da56-0xa3;let _0x454cb9=_0x39d41c[_0x59da56];return _0x454cb9;},_0x59da(_0x2a089f,_0x5544ca);}export class AIHistoryListItemView extends _0x142378{constructor(_0x15eb84){const _0xdbc519=_0x59da;super();const _0x3bf869=new _0x593eef(),_0x32bb27=new _0x29d734(this[_0xdbc519(0xb3)],_0x3bf869);this[_0xdbc519(0xb0)][_0xdbc519(0xa9)](_0x32bb27),_0x32bb27[_0xdbc519(0xa7)]({'label':_0x15eb84[_0xdbc519(0xaf)],'withText':!0x0}),_0x32bb27['on'](_0xdbc519(0xad),()=>{const _0x496ea4=_0xdbc519;this[_0x496ea4(0xab)](_0x496ea4(0xad),{'value':_0x475339(_0x15eb84[_0x496ea4(0xaf)])});});}}function _0x39d4(){const _0x5554f2=['680692rzxiad','set','1486060ijaaWO','add','2176jpoKrU','fire','28084YhhGVp','execute','209ggsYnN','prompt','children','1204896HUkvuJ','5605948EeQQNT','locale','6465190nCrNvx','3TFcJHU','6408396SrJmhO','1vwhFhs'];_0x39d4=function(){return _0x5554f2;};return _0x39d4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12351c=_0x5119;(function(_0x4c5eba,_0x71224d){const _0x16238c=_0x5119,_0x29c04f=_0x4c5eba();while(!![]){try{const _0x1f05d5=-parseInt(_0x16238c(0x128))/0x1*(parseInt(_0x16238c(0x136))/0x2)+parseInt(_0x16238c(0x121))/0x3*(-parseInt(_0x16238c(0x138))/0x4)+-parseInt(_0x16238c(0x125))/0x5*(-parseInt(_0x16238c(0x13b))/0x6)+-parseInt(_0x16238c(0x126))/0x7*(parseInt(_0x16238c(0x139))/0x8)+parseInt(_0x16238c(0x122))/0x9+-parseInt(_0x16238c(0x12c))/0xa*(-parseInt(_0x16238c(0x131))/0xb)+-parseInt(_0x16238c(0x12a))/0xc*(-parseInt(_0x16238c(0x11f))/0xd);if(_0x1f05d5===_0x71224d)break;else _0x29c04f['push'](_0x29c04f['shift']());}catch(_0x19bf1c){_0x29c04f['push'](_0x29c04f['shift']());}}}(_0x2c2d,0x96e98));import{ListView as _0x2b604f,ListItemGroupView as _0x3da88b,ButtonView as _0x2932c5}from'ckeditor5/src/ui.js';function _0x5119(_0x3572c4,_0xa30269){const _0x2c2d71=_0x2c2d();return _0x5119=function(_0x511983,_0x501f5c){_0x511983=_0x511983-0x11e;let _0x26f073=_0x2c2d71[_0x511983];return _0x26f073;},_0x5119(_0x3572c4,_0xa30269);}function _0x2c2d(){const _0x4b67bf=['set','Prompt\x20history','14YILSZc','add','4gdHvNP','8hZAnyA','length','1932MCQHIM','execute','17817306GHJJuQ','locale','2856201bWxDjk','3522726CxDstd','children','historyGroupView','14255dbiYub','4996733vqHLNL','delegate','130538zgaxjm','fire','12FeVQrk','label','350ikNHap','Clear','_createClearHistoryButton','items','filter','162734qEYkcl','clearHistoryButton','clearHistory'];_0x2c2d=function(){return _0x4b67bf;};return _0x2c2d();}import{getTranslation as _0x4c68e9}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x2b604f{[_0x12351c(0x124)];[_0x12351c(0x132)];constructor(_0x580e5d){const _0x5a99cf=_0x12351c;super(_0x580e5d),this[_0x5a99cf(0x132)]=this[_0x5a99cf(0x12e)](),this[_0x5a99cf(0x124)]=new _0x3da88b(),this[_0x5a99cf(0x124)][_0x5a99cf(0x123)][_0x5a99cf(0x137)](this[_0x5a99cf(0x132)],0x1),this[_0x5a99cf(0x124)][_0x5a99cf(0x12b)]=_0x4c68e9(_0x580e5d,_0x5a99cf(0x135)),this[_0x5a99cf(0x124)][_0x5a99cf(0x12f)][_0x5a99cf(0x127)](_0x5a99cf(0x11e))['to'](this),this[_0x5a99cf(0x12f)][_0x5a99cf(0x137)](this[_0x5a99cf(0x124)]);}[_0x12351c(0x130)](){const _0x3d750e=_0x12351c;let _0x485748=0x0;for(const _0x1636d4 of this[_0x3d750e(0x12f)])_0x485748+=_0x1636d4[_0x3d750e(0x12f)][_0x3d750e(0x13a)];return{'resultsCount':_0x485748,'totalItemsCount':_0x485748};}[_0x12351c(0x12e)](){const _0x3d6b2e=_0x12351c,_0x1aa9fc=this[_0x3d6b2e(0x120)],_0x2fd838=new _0x2932c5(this[_0x3d6b2e(0x120)]);return _0x2fd838[_0x3d6b2e(0x134)]({'label':'('+_0x4c68e9(_0x1aa9fc,_0x3d6b2e(0x12d))+')','withText':!0x0}),_0x2fd838['on'](_0x3d6b2e(0x11e),()=>this[_0x3d6b2e(0x129)](_0x3d6b2e(0x133))),_0x2fd838;}}
23
+ const _0x267bb7=_0x3b77;function _0x3b77(_0xf030df,_0x4ef575){const _0x234fa9=_0x234f();return _0x3b77=function(_0x3b7721,_0x463388){_0x3b7721=_0x3b7721-0xf5;let _0x4049f4=_0x234fa9[_0x3b7721];return _0x4049f4;},_0x3b77(_0xf030df,_0x4ef575);}(function(_0x1f401b,_0x131c5c){const _0x166787=_0x3b77,_0x42db52=_0x1f401b();while(!![]){try{const _0x4fba70=-parseInt(_0x166787(0x100))/0x1*(-parseInt(_0x166787(0xff))/0x2)+-parseInt(_0x166787(0x105))/0x3*(parseInt(_0x166787(0xf8))/0x4)+-parseInt(_0x166787(0x10d))/0x5+parseInt(_0x166787(0x108))/0x6+-parseInt(_0x166787(0x10c))/0x7*(parseInt(_0x166787(0x10e))/0x8)+parseInt(_0x166787(0xfb))/0x9+parseInt(_0x166787(0x109))/0xa*(parseInt(_0x166787(0x103))/0xb);if(_0x4fba70===_0x131c5c)break;else _0x42db52['push'](_0x42db52['shift']());}catch(_0x5047c2){_0x42db52['push'](_0x42db52['shift']());}}}(_0x234f,0xafd6c));import{ListView as _0x80bda5,ListItemGroupView as _0x17b15c,ButtonView as _0x26b9b9}from'ckeditor5/src/ui.js';import{getTranslation as _0x4d9246}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x80bda5{[_0x267bb7(0x106)];[_0x267bb7(0x107)];constructor(_0x2d6cf1){const _0x5cf8d6=_0x267bb7;super(_0x2d6cf1),this[_0x5cf8d6(0x107)]=this[_0x5cf8d6(0x10b)](),this[_0x5cf8d6(0x106)]=new _0x17b15c(),this[_0x5cf8d6(0x106)][_0x5cf8d6(0xfd)][_0x5cf8d6(0xfa)](this[_0x5cf8d6(0x107)],0x1),this[_0x5cf8d6(0x106)][_0x5cf8d6(0xf6)]=_0x4d9246(_0x2d6cf1,_0x5cf8d6(0x104)),this[_0x5cf8d6(0x106)][_0x5cf8d6(0xfc)][_0x5cf8d6(0x101)](_0x5cf8d6(0xf9))['to'](this),this[_0x5cf8d6(0xfc)][_0x5cf8d6(0xfa)](this[_0x5cf8d6(0x106)]);}[_0x267bb7(0x10f)](){const _0x520080=_0x267bb7;let _0x56e035=0x0;for(const _0x272b43 of this[_0x520080(0xfc)])_0x56e035+=_0x272b43[_0x520080(0xfc)][_0x520080(0xfe)];return{'resultsCount':_0x56e035,'totalItemsCount':_0x56e035};}[_0x267bb7(0x10b)](){const _0x563672=_0x267bb7,_0x2fc371=this[_0x563672(0x10a)],_0x5b0fd1=new _0x26b9b9(this[_0x563672(0x10a)]);return _0x5b0fd1[_0x563672(0x102)]({'label':'('+_0x4d9246(_0x2fc371,_0x563672(0xf5))+')','withText':!0x0}),_0x5b0fd1['on'](_0x563672(0xf9),()=>this[_0x563672(0x110)](_0x563672(0xf7))),_0x5b0fd1;}}function _0x234f(){const _0x24bcc9=['Prompt\x20history','111ZOSjdA','historyGroupView','clearHistoryButton','4006320hhqtuj','20loHuQw','locale','_createClearHistoryButton','7211449vCqlSV','4979660LMFvZd','8GIoPSN','filter','fire','Clear','label','clearHistory','114148WoSvDv','execute','add','10429155fyonWT','items','children','length','182306lNvjph','5LfZYXG','delegate','set','8359802jlvHxh'];_0x234f=function(){return _0x24bcc9;};return _0x234f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3712(){const _0xafa389=['168sCVRCN','6ujrPhL','prompt','remove','_saveToSessionStorage','stringify','773903ygnNOb','3005185xlpcUO','setItem','trim','107987QgfOqM','940ysyleO','toLowerCase','8EzZdLt','map','1IWumwp','_loadFromSessionStorage','add','1012846ZVMjSW','CKEditor/AIFormView/PromptHistory','length','addMany','getItem','parse','5589279HbaBQo','last','4462752PUoTQi','1628313Wqqmeh','8cgglHJ'];_0x3712=function(){return _0xafa389;};return _0x3712();}const _0x5d4b6e=_0x149e;(function(_0x3d0d4c,_0x5af6cf){const _0x2589ea=_0x149e,_0x2e4aff=_0x3d0d4c();while(!![]){try{const _0x5ca936=parseInt(_0x2589ea(0x85))/0x1*(parseInt(_0x2589ea(0x88))/0x2)+parseInt(_0x2589ea(0x74))/0x3*(-parseInt(_0x2589ea(0x83))/0x4)+-parseInt(_0x2589ea(0x7d))/0x5*(parseInt(_0x2589ea(0x77))/0x6)+parseInt(_0x2589ea(0x90))/0x7+-parseInt(_0x2589ea(0x75))/0x8*(parseInt(_0x2589ea(0x8e))/0x9)+-parseInt(_0x2589ea(0x81))/0xa*(-parseInt(_0x2589ea(0x80))/0xb)+-parseInt(_0x2589ea(0x76))/0xc*(-parseInt(_0x2589ea(0x7c))/0xd);if(_0x5ca936===_0x5af6cf)break;else _0x2e4aff['push'](_0x2e4aff['shift']());}catch(_0x510fe5){_0x2e4aff['push'](_0x2e4aff['shift']());}}}(_0x3712,0x90ac5));import{Collection as _0x60807}from'ckeditor5/src/utils.js';function _0x149e(_0x25f74d,_0x33c806){const _0x3712bc=_0x3712();return _0x149e=function(_0x149edd,_0x3e69bc){_0x149edd=_0x149edd-0x74;let _0x15ec7a=_0x3712bc[_0x149edd];return _0x15ec7a;},_0x149e(_0x25f74d,_0x33c806);}const ts=_0x5d4b6e(0x89);export class PromptHistory extends _0x60807{constructor(){const _0x589965=_0x5d4b6e;super(),this[_0x589965(0x86)](),this['on'](_0x589965(0x87),(_0x54562b,_0xe262a1)=>{const _0x1d886c=_0x589965,_0x4e9c2a=os(_0xe262a1[_0x1d886c(0x78)]);for(const _0x17ecf0 of this)if(_0x17ecf0!=_0xe262a1&&os(_0x17ecf0[_0x1d886c(0x78)])===_0x4e9c2a){this[_0x1d886c(0x79)](_0x17ecf0);break;}this[_0x1d886c(0x8a)]>0x14&&this[_0x1d886c(0x79)](this[_0x1d886c(0x8f)]),this[_0x1d886c(0x7a)]();}),this['on'](_0x589965(0x79),()=>{const _0x287fd3=_0x589965;this[_0x287fd3(0x7a)]();});}[_0x5d4b6e(0x86)](){const _0x48752d=_0x5d4b6e,_0x16c3e3=sessionStorage[_0x48752d(0x8c)](ts)||'[]';this[_0x48752d(0x8b)](JSON[_0x48752d(0x8d)](_0x16c3e3));}[_0x5d4b6e(0x7a)](){const _0x243cfe=_0x5d4b6e;sessionStorage[_0x243cfe(0x7e)](ts,JSON[_0x243cfe(0x7b)](this[_0x243cfe(0x84)](_0x2f375d=>_0x2f375d)));}}function os(_0x4d6ce9){const _0x5edd14=_0x5d4b6e;return _0x4d6ce9[_0x5edd14(0x82)]()[_0x5edd14(0x7f)]();}
23
+ function _0x22d4(_0xa7f0ae,_0x57d3d5){const _0xbe2d03=_0xbe2d();return _0x22d4=function(_0x22d468,_0xae758c){_0x22d468=_0x22d468-0x166;let _0x5d55ca=_0xbe2d03[_0x22d468];return _0x5d55ca;},_0x22d4(_0xa7f0ae,_0x57d3d5);}const _0x472e47=_0x22d4;(function(_0x29a94e,_0x5a9c7a){const _0x210485=_0x22d4,_0x2dd73e=_0x29a94e();while(!![]){try{const _0x5aecdb=parseInt(_0x210485(0x17b))/0x1*(-parseInt(_0x210485(0x168))/0x2)+parseInt(_0x210485(0x16a))/0x3*(parseInt(_0x210485(0x167))/0x4)+parseInt(_0x210485(0x178))/0x5+-parseInt(_0x210485(0x169))/0x6+-parseInt(_0x210485(0x170))/0x7*(parseInt(_0x210485(0x177))/0x8)+parseInt(_0x210485(0x174))/0x9*(-parseInt(_0x210485(0x172))/0xa)+parseInt(_0x210485(0x16c))/0xb;if(_0x5aecdb===_0x5a9c7a)break;else _0x2dd73e['push'](_0x2dd73e['shift']());}catch(_0x3dadbf){_0x2dd73e['push'](_0x2dd73e['shift']());}}}(_0xbe2d,0x73d33));import{Collection as _0x450f93}from'ckeditor5/src/utils.js';const ts=_0x472e47(0x16f);export class PromptHistory extends _0x450f93{constructor(){const _0x4d617a=_0x472e47;super(),this[_0x4d617a(0x16e)](),this['on'](_0x4d617a(0x166),(_0x5d0125,_0x30e46d)=>{const _0x2333ac=_0x4d617a,_0x336893=os(_0x30e46d[_0x2333ac(0x17f)]);for(const _0x36b45a of this)if(_0x36b45a!=_0x30e46d&&os(_0x36b45a[_0x2333ac(0x17f)])===_0x336893){this[_0x2333ac(0x179)](_0x36b45a);break;}this[_0x2333ac(0x171)]>0x14&&this[_0x2333ac(0x179)](this[_0x2333ac(0x173)]),this[_0x2333ac(0x16b)]();}),this['on'](_0x4d617a(0x179),()=>{const _0x29e107=_0x4d617a;this[_0x29e107(0x16b)]();});}[_0x472e47(0x16e)](){const _0x46de5d=_0x472e47,_0x36e39c=sessionStorage[_0x46de5d(0x17d)](ts)||'[]';this[_0x46de5d(0x176)](JSON[_0x46de5d(0x175)](_0x36e39c));}[_0x472e47(0x16b)](){const _0x20de1c=_0x472e47;sessionStorage[_0x20de1c(0x180)](ts,JSON[_0x20de1c(0x17e)](this[_0x20de1c(0x17c)](_0x1414fd=>_0x1414fd)));}}function os(_0x47cad1){const _0x513859=_0x472e47;return _0x47cad1[_0x513859(0x16d)]()[_0x513859(0x17a)]();}function _0xbe2d(){const _0x3134e4=['setItem','add','24EwfhNL','988jyhrRf','739428RawCFs','117669rixGPt','_saveToSessionStorage','13466288doKsld','toLowerCase','_loadFromSessionStorage','CKEditor/AIFormView/PromptHistory','824873ySmISR','length','500ZzqIBG','last','83817FpYKCY','parse','addMany','40CSyeUU','2980300SpcIFj','remove','trim','816AIZTsn','map','getItem','stringify','prompt'];_0xbe2d=function(){return _0x3134e4;};return _0xbe2d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5daf6d=_0x4b60;(function(_0x470479,_0x35067d){const _0x385a67=_0x4b60,_0x4145bc=_0x470479();while(!![]){try{const _0x25f251=-parseInt(_0x385a67(0x1b4))/0x1+parseInt(_0x385a67(0x1a7))/0x2*(-parseInt(_0x385a67(0x1b5))/0x3)+parseInt(_0x385a67(0x1c8))/0x4*(parseInt(_0x385a67(0x19e))/0x5)+-parseInt(_0x385a67(0x1bd))/0x6+parseInt(_0x385a67(0x1c1))/0x7+-parseInt(_0x385a67(0x1b2))/0x8+-parseInt(_0x385a67(0x1a5))/0x9*(-parseInt(_0x385a67(0x1c5))/0xa);if(_0x25f251===_0x35067d)break;else _0x4145bc['push'](_0x4145bc['shift']());}catch(_0x107290){_0x4145bc['push'](_0x4145bc['shift']());}}}(_0x1922,0x428e3));import{Command as _0x3084b8}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2de502}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x3084b8{[_0x5daf6d(0x1ad)];constructor(_0x1e0d88,_0x585659){const _0x1e3b53=_0x5daf6d;super(_0x1e0d88),this[_0x1e3b53(0x1ad)]=_0x585659,this[_0x1e3b53(0x1bf)](_0x1e3b53(0x1ac),[]),this['on'](_0x1e3b53(0x1b1),(_0x24e2f0,_0x457cef,_0x742d6c)=>{const _0x22f80f=_0x1e3b53;this[_0x22f80f(0x1bc)]&&(this[_0x22f80f(0x1ac)]=F(this[_0x22f80f(0x1ad)],_0x742d6c));}),this[_0x1e3b53(0x1bf)](_0x1e3b53(0x1b3),!0x1),this['on'](_0x1e3b53(0x1aa),(_0x5364fb,_0x1216e6,_0x4544f2)=>{const _0x4c0c72=_0x1e3b53;this[_0x4c0c72(0x1ac)]=_0x4544f2?F(this[_0x4c0c72(0x1ad)],this[_0x4c0c72(0x1b3)]):[];});}[_0x5daf6d(0x1c4)](){const _0x37d40f=_0x5daf6d,_0x2f4c57=this[_0x37d40f(0x1a8)][_0x37d40f(0x1a4)];this[_0x37d40f(0x1b3)]=function(_0x5d84a8){const _0x2a6536=_0x37d40f,_0x5e7e4e=_0x5d84a8[_0x2a6536(0x1c3)][_0x2a6536(0x1ab)];return _0x5e7e4e[_0x2a6536(0x1be)]?0x0!==[..._0x5e7e4e[_0x2a6536(0x1a2)]()][_0x2a6536(0x1ae)]&&![..._0x5e7e4e[_0x2a6536(0x1a2)]()][0x0][_0x2a6536(0x1b6)]:!!_0x5d84a8[_0x2a6536(0x1b8)](_0x5e7e4e[_0x2a6536(0x1af)]());}(_0x2f4c57);const _0x5fd9d2=_0x2f4c57[_0x37d40f(0x1c3)][_0x37d40f(0x1ab)],_0x1f0f70=this[_0x37d40f(0x1a8)][_0x37d40f(0x1b9)][_0x37d40f(0x1bb)](_0x37d40f(0x1b0));for(const _0x55c270 of _0x5fd9d2[_0x37d40f(0x19f)]())for(const _0x4503df of _0x55c270[_0x37d40f(0x1a0)]())if(_0x4503df['is'](_0x37d40f(0x1b7))&&_0x1f0f70[_0x37d40f(0x1a3)](_0x4503df[_0x37d40f(0x1a6)]))return void(this[_0x37d40f(0x1bc)]=!0x1);this[_0x37d40f(0x1bc)]=!0x0;}[_0x5daf6d(0x1c7)](_0x48c18b='',_0x3e2a64='',_0x27c6e7=_0x5daf6d(0x1c0)){const _0x21b3fb=_0x5daf6d;this[_0x21b3fb(0x1a8)][_0x21b3fb(0x1c9)][_0x21b3fb(0x1bb)](_0x2de502)[_0x21b3fb(0x1c6)](_0x48c18b,_0x3e2a64,_0x27c6e7);}}function F(_0x37f213,_0x30f5bf){const _0xaf31bf=_0x5daf6d,_0x5dfe95=new Set();for(const _0x9c1664 of _0x37f213[_0xaf31bf(0x1a9)]())(_0x30f5bf||!0x1===_0x9c1664[_0xaf31bf(0x1c2)])&&_0x5dfe95[_0xaf31bf(0x1ba)](_0x9c1664['id']);return Array[_0xaf31bf(0x1a1)](_0x5dfe95);}function _0x4b60(_0x5c8209,_0x5b3e48){const _0x192262=_0x1922();return _0x4b60=function(_0x4b60f0,_0x35bde8){_0x4b60f0=_0x4b60f0-0x19e;let _0x241422=_0x192262[_0x4b60f0];return _0x241422;},_0x4b60(_0x5c8209,_0x5b3e48);}function _0x1922(){const _0x56dd99=['ai.aiAssistant.disabledElements','change:_hasContext','2785248RQnpPr','_hasContext','94949tQkbLa','9jnlrkJ','isEmpty','element','hasContent','config','add','get','isEnabled','2497482rfXMId','isCollapsed','set','custom','109249WMeKTm','requiresContent','document','refresh','10458350yUgyCi','showUI','execute','298436PuTVQA','plugins','30tbrJre','getRanges','getItems','from','getSelectedBlocks','includes','model','9ErETpl','name','251422WzPuVM','editor','values','change:isEnabled','selection','enabledCommandsIds','_commandDefinitions','length','getFirstRange'];_0x1922=function(){return _0x56dd99;};return _0x1922();}
23
+ function _0x555a(_0x610a6f,_0x3872a9){const _0x1851dd=_0x1851();return _0x555a=function(_0x555a1e,_0x3db97f){_0x555a1e=_0x555a1e-0x164;let _0x287108=_0x1851dd[_0x555a1e];return _0x287108;},_0x555a(_0x610a6f,_0x3872a9);}const _0x4766cd=_0x555a;(function(_0x114241,_0x2f5f60){const _0x2ed951=_0x555a,_0x17ac8d=_0x114241();while(!![]){try{const _0x5bd494=-parseInt(_0x2ed951(0x167))/0x1*(parseInt(_0x2ed951(0x185))/0x2)+-parseInt(_0x2ed951(0x177))/0x3*(parseInt(_0x2ed951(0x168))/0x4)+-parseInt(_0x2ed951(0x17b))/0x5+parseInt(_0x2ed951(0x173))/0x6*(-parseInt(_0x2ed951(0x189))/0x7)+parseInt(_0x2ed951(0x179))/0x8*(parseInt(_0x2ed951(0x187))/0x9)+parseInt(_0x2ed951(0x16e))/0xa+parseInt(_0x2ed951(0x18c))/0xb;if(_0x5bd494===_0x2f5f60)break;else _0x17ac8d['push'](_0x17ac8d['shift']());}catch(_0x3571dd){_0x17ac8d['push'](_0x17ac8d['shift']());}}}(_0x1851,0x3367d));import{Command as _0xba8a07}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3b35d2}from'../aiassistantui.js';function _0x1851(){const _0x3ad9da=['getItems','get','document','12FGzjGm','custom','45LlprRZ','from','75082AGWnxM','includes','isCollapsed','4661756DwRiOC','plugins','name','isEmpty','hasContent','execute','ai.aiAssistant.disabledElements','getFirstRange','67599fUvOXd','9088jVFJVu','_commandDefinitions','refresh','isEnabled','_hasContext','selection','2756220SXxdfe','config','requiresContent','editor','change:isEnabled','6EDrjnh','model','length','enabledCommandsIds','198MKhqYb','element','231304OgaXeR','getSelectedBlocks','335770qTboKm','getRanges','change:_hasContext','showUI','add','set','values'];_0x1851=function(){return _0x3ad9da;};return _0x1851();}export class ShowAIAssistantCommand extends _0xba8a07{[_0x4766cd(0x169)];constructor(_0x353885,_0x27ed2a){const _0x3b82bd=_0x4766cd;super(_0x353885),this[_0x3b82bd(0x169)]=_0x27ed2a,this[_0x3b82bd(0x180)](_0x3b82bd(0x176),[]),this['on'](_0x3b82bd(0x17d),(_0x507e87,_0x3caff4,_0x2247ea)=>{const _0x4af810=_0x3b82bd;this[_0x4af810(0x16b)]&&(this[_0x4af810(0x176)]=F(this[_0x4af810(0x169)],_0x2247ea));}),this[_0x3b82bd(0x180)](_0x3b82bd(0x16c),!0x1),this['on'](_0x3b82bd(0x172),(_0x299780,_0x24d7c6,_0x4f62ed)=>{const _0x9da243=_0x3b82bd;this[_0x9da243(0x176)]=_0x4f62ed?F(this[_0x9da243(0x169)],this[_0x9da243(0x16c)]):[];});}[_0x4766cd(0x16a)](){const _0x29c1c5=_0x4766cd,_0x2969f1=this[_0x29c1c5(0x171)][_0x29c1c5(0x174)];this[_0x29c1c5(0x16c)]=function(_0x17bb32){const _0x440094=_0x29c1c5,_0x4e01a3=_0x17bb32[_0x440094(0x184)][_0x440094(0x16d)];return _0x4e01a3[_0x440094(0x18b)]?0x0!==[..._0x4e01a3[_0x440094(0x17a)]()][_0x440094(0x175)]&&![..._0x4e01a3[_0x440094(0x17a)]()][0x0][_0x440094(0x18f)]:!!_0x17bb32[_0x440094(0x190)](_0x4e01a3[_0x440094(0x166)]());}(_0x2969f1);const _0x4bd7d1=_0x2969f1[_0x29c1c5(0x184)][_0x29c1c5(0x16d)],_0x426638=this[_0x29c1c5(0x171)][_0x29c1c5(0x16f)][_0x29c1c5(0x183)](_0x29c1c5(0x165));for(const _0x2dacfd of _0x4bd7d1[_0x29c1c5(0x17c)]())for(const _0x43d226 of _0x2dacfd[_0x29c1c5(0x182)]())if(_0x43d226['is'](_0x29c1c5(0x178))&&_0x426638[_0x29c1c5(0x18a)](_0x43d226[_0x29c1c5(0x18e)]))return void(this[_0x29c1c5(0x16b)]=!0x1);this[_0x29c1c5(0x16b)]=!0x0;}[_0x4766cd(0x164)](_0x1087ea='',_0x1aba91='',_0x52bd7b=_0x4766cd(0x186)){const _0x297feb=_0x4766cd;this[_0x297feb(0x171)][_0x297feb(0x18d)][_0x297feb(0x183)](_0x3b35d2)[_0x297feb(0x17e)](_0x1087ea,_0x1aba91,_0x52bd7b);}}function F(_0x128785,_0xa7584c){const _0x206cf2=_0x4766cd,_0x2acfcd=new Set();for(const _0x496731 of _0x128785[_0x206cf2(0x181)]())(_0xa7584c||!0x1===_0x496731[_0x206cf2(0x170)])&&_0x2acfcd[_0x206cf2(0x17f)](_0x496731['id']);return Array[_0x206cf2(0x188)](_0x2acfcd);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2a8a68,_0x36fe51,_0x240cd9){const t=_0x2a8a68['t'];switch(_0x36fe51){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x240cd9);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x240cd9);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x240cd9);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 _0x36fe51;}}
23
+ export function getTranslation(_0x3a6ce4,_0xbb0b5e,_0x50fc27){const t=_0x3a6ce4['t'];switch(_0xbb0b5e){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x50fc27);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x50fc27);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x50fc27);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 _0xbb0b5e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x2ed21a,_0x1ff88d){const _0x395ad1=(0x0,_0x1ff88d['t'])('Other');return _0x2ed21a['length']?'groupId'in _0x2ed21a[0x0]?_0x2ed21a:[{'groupId':'_ungrouppedCommands','groupLabel':_0x395ad1,'order':0x1/0x0,'commands':_0x2ed21a}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x395ad1,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x296f6b,_0x4a4c42){const _0x55e7bd=(0x0,_0x4a4c42['t'])('Other');return _0x296f6b['length']?'groupId'in _0x296f6b[0x0]?_0x296f6b:[{'groupId':'_ungrouppedCommands','groupLabel':_0x55e7bd,'order':0x1/0x0,'commands':_0x296f6b}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x55e7bd,'order':0x1/0x0,'commands':[]}];}