@ckeditor/ckeditor5-ai 43.1.0-alpha.6 → 43.1.0-alpha.8

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 (129) 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/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sr-latn.js +1 -1
  83. package/dist/translations/sr-latn.umd.js +1 -1
  84. package/dist/translations/sr.js +1 -1
  85. package/dist/translations/sr.umd.js +1 -1
  86. package/dist/translations/sv.js +1 -1
  87. package/dist/translations/sv.umd.js +1 -1
  88. package/dist/translations/th.js +1 -1
  89. package/dist/translations/th.umd.js +1 -1
  90. package/dist/translations/ti.js +1 -1
  91. package/dist/translations/ti.umd.js +1 -1
  92. package/dist/translations/tk.js +1 -1
  93. package/dist/translations/tk.umd.js +1 -1
  94. package/dist/translations/tr.js +1 -1
  95. package/dist/translations/tr.umd.js +1 -1
  96. package/dist/translations/ug.js +1 -1
  97. package/dist/translations/ug.umd.js +1 -1
  98. package/dist/translations/uk.js +1 -1
  99. package/dist/translations/uk.umd.js +1 -1
  100. package/dist/translations/ur.js +1 -1
  101. package/dist/translations/ur.umd.js +1 -1
  102. package/dist/translations/uz.js +1 -1
  103. package/dist/translations/uz.umd.js +1 -1
  104. package/dist/translations/vi.js +1 -1
  105. package/dist/translations/vi.umd.js +1 -1
  106. package/dist/translations/zh-cn.js +1 -1
  107. package/dist/translations/zh-cn.umd.js +1 -1
  108. package/dist/translations/zh.js +1 -1
  109. package/dist/translations/zh.umd.js +1 -1
  110. package/package.json +8 -8
  111. package/src/adapters/aiadapter.js +1 -1
  112. package/src/adapters/aitextadapter.js +1 -1
  113. package/src/adapters/awstextadapter.js +1 -1
  114. package/src/adapters/openaitextadapter.js +1 -1
  115. package/src/aiassistant.js +1 -1
  116. package/src/aiassistantediting.js +1 -1
  117. package/src/aiassistantui.js +1 -1
  118. package/src/index.js +1 -1
  119. package/src/ui/aiassistantcontroller.js +2 -2
  120. package/src/ui/form/aiformcontentarea.js +1 -1
  121. package/src/ui/form/aiformerrorview.js +1 -1
  122. package/src/ui/form/aiformpromptview.js +1 -1
  123. package/src/ui/form/aiformtoolbarview.js +1 -1
  124. package/src/ui/form/aiformview.js +1 -1
  125. package/src/ui/form/aihistorylistitemview.js +1 -1
  126. package/src/ui/form/aihistorylistview.js +1 -1
  127. package/src/ui/form/prompthistory.js +1 -1
  128. package/src/ui/showaiassistantcommand.js +1 -1
  129. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3532ec=_0x4c07;(function(_0x35b0ee,_0x5bd09f){const _0x378bd3=_0x4c07,_0x171679=_0x35b0ee();while(!![]){try{const _0x5aceee=parseInt(_0x378bd3(0xfe))/0x1+parseInt(_0x378bd3(0xe7))/0x2+-parseInt(_0x378bd3(0xec))/0x3+parseInt(_0x378bd3(0x101))/0x4*(parseInt(_0x378bd3(0xeb))/0x5)+parseInt(_0x378bd3(0xf4))/0x6+parseInt(_0x378bd3(0x107))/0x7*(parseInt(_0x378bd3(0x108))/0x8)+-parseInt(_0x378bd3(0x10a))/0x9*(parseInt(_0x378bd3(0xfd))/0xa);if(_0x5aceee===_0x5bd09f)break;else _0x171679['push'](_0x171679['shift']());}catch(_0x16633c){_0x171679['push'](_0x171679['shift']());}}}(_0x2e46,0xeaa94));import{global as _0x3a7d1e}from'ckeditor5/src/utils.js';function _0x4c07(_0x5201ae,_0x4a8bcd){const _0x2e46cd=_0x2e46();return _0x4c07=function(_0x4c077b,_0x490223){_0x4c077b=_0x4c077b-0xc5;let _0x26e02f=_0x2e46cd[_0x4c077b];return _0x26e02f;},_0x4c07(_0x5201ae,_0x4a8bcd);}import{View as _0x1cffde,ButtonView as _0x1c270f,SpinnerView as _0x29414c}from'ckeditor5/src/ui.js';import _0x3cd887 from'../../../theme/icons/copy.svg';function _0x2e46(){const _0x1de63b=['appendChild','body','element','<span>[</span>','icon','textContent','wheel','clipboard','locale','.ck-ai-form__loader','_createLoader','ck-ai-form__loader','createElement','execCommand','removeAllRanges','isProcessing','lastElementChild','remove','bind','focus','class','_copyHTMLToClipboard','Copy','ck-ai-form__copy-button-wrapper','3747754VsIuAP','setContent','createRange','ck-reset_all-excluded','230WnLZRj','1305039dksPsl','change:value','change:isProcessing','ck-ai-form__content-area','-9999px','setStartAfter','addRange','ck-ai-form__content-field','5069364WwBVfr','isVisible','firstElementChild','contentFieldView','ck-ai-form__content-area-wrapper','render','\x20ck-ai-form__copy-button--copied','value','querySelector','10MgiVBo','1543182BAagcf','copy','setEndBefore','112460enDkMu','div','<span>]</span>','style','ck-ai-form__content-area--processing','AI\x20is\x20writing...','90377ayoKMR','776Ddddfi','ck-hidden','48702825mmTdsl','innerHTML','smooth','text/plain','bindTemplate','listenTo','ck-content','setTemplate','execute','appendLoader','ck-ai-form__copy-button','text/html','check','scrollTo','copyButtonView','loaderView','absolute','position','mousedown','write','scrollHeight','getSelection','isEnabled','ClipboardItem','left','set','_createCopyButton'];_0x2e46=function(){return _0x1de63b;};return _0x2e46();}import{getTranslation as _0x15279e}from'../../utils/common-translations.js';import{icons as _0x183f9c}from'ckeditor5/src/core.js';export default class K extends _0x1cffde{constructor(_0x1ddbda,_0x399f55=''){const _0x338cdc=_0x4c07;super(_0x1ddbda),this[_0x338cdc(0xcd)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x14009f=this[_0x338cdc(0x10e)];this[_0x338cdc(0xf7)]=new ContentFieldView(_0x1ddbda,_0x399f55),this[_0x338cdc(0x118)]=this[_0x338cdc(0xce)](),this[_0x338cdc(0x111)]({'tag':_0x338cdc(0x102),'attributes':{'class':['ck',_0x338cdc(0xf8),_0x14009f['if'](_0x338cdc(0xf5),_0x338cdc(0x109),_0x424f65=>!_0x424f65)],'tabindex':'-1'},'children':[{'tag':_0x338cdc(0x102),'attributes':{'class':['ck',_0x338cdc(0xef),_0x14009f['if'](_0x338cdc(0xde),_0x338cdc(0x105))]},'children':[this[_0x338cdc(0xf7)],{'tag':_0x338cdc(0x102),'attributes':{'class':['ck',_0x338cdc(0xe6)]},'children':[this[_0x338cdc(0x118)]]}]}]});}[_0x3532ec(0xf9)](){const _0x46ffa4=_0x3532ec;super[_0x46ffa4(0xf9)](),this[_0x46ffa4(0xfb)]&&this[_0x46ffa4(0xf7)][_0x46ffa4(0xe8)](this[_0x46ffa4(0xfb)]);let _0x1501e4=!0x1;this['on'](_0x46ffa4(0xed),(_0x202f9f,_0x39dde2,_0x3d5475)=>{const _0x18bf6f=_0x46ffa4,_0x29deba=!this[_0x18bf6f(0xf7)][_0x18bf6f(0xd1)][_0x18bf6f(0xfc)](_0x18bf6f(0xd8));this[_0x18bf6f(0xf7)][_0x18bf6f(0xe8)](_0x3d5475),this[_0x18bf6f(0xde)]&&_0x29deba&&!_0x1501e4&&this[_0x18bf6f(0xd1)][_0x18bf6f(0x117)]({'top':this[_0x18bf6f(0xd1)][_0x18bf6f(0xc8)],'behavior':_0x18bf6f(0x10c)});}),this['on'](_0x46ffa4(0xee),(_0x2357eb,_0x38bd09,_0x536b03)=>{const _0x37214d=_0x46ffa4;_0x1501e4=!0x1,_0x536b03?(this[_0x37214d(0xfb)]=null,this[_0x37214d(0xf7)][_0x37214d(0x113)]()):this[_0x37214d(0xfb)]||this[_0x37214d(0xf7)][_0x37214d(0xe8)]('');}),this[_0x46ffa4(0x10f)](this[_0x46ffa4(0xd1)],_0x46ffa4(0xd5),()=>{_0x1501e4=!0x0;}),this[_0x46ffa4(0x10f)](this[_0x46ffa4(0xd1)],_0x46ffa4(0xc6),()=>{_0x1501e4=!0x0;});}[_0x3532ec(0xe2)](){const _0x4fb035=_0x3532ec;this[_0x4fb035(0xd1)][_0x4fb035(0xe2)]();}[_0x3532ec(0xce)](){const _0x19a5b2=_0x3532ec,_0x3ed296=this[_0x19a5b2(0xd7)],_0x22acbc=new _0x1c270f(this[_0x19a5b2(0xd7)]),_0x1a1fc4=_0x19a5b2(0x114);return _0x22acbc[_0x19a5b2(0xcd)]({'label':_0x15279e(_0x3ed296,_0x19a5b2(0xe5)),'icon':_0x3cd887,'class':_0x1a1fc4,'tooltip':!0x0}),_0x22acbc[_0x19a5b2(0xe1)](_0x19a5b2(0xf5))['to'](this,_0x19a5b2(0xfb),_0x48b1e7=>!!_0x48b1e7),_0x22acbc[_0x19a5b2(0xe1)](_0x19a5b2(0xca))['to'](this,_0x19a5b2(0xde),_0xbe1c74=>!_0xbe1c74),_0x22acbc['on'](_0x19a5b2(0x112),()=>{const _0x172533=_0x19a5b2;this[_0x172533(0xe4)](this[_0x172533(0xf7)][_0x172533(0xd1)]),_0x22acbc[_0x172533(0xd3)]=_0x183f9c[_0x172533(0x116)],_0x22acbc[_0x172533(0xe3)]=_0x1a1fc4+_0x172533(0xfa),this[_0x172533(0xe2)](),setTimeout(()=>{const _0x280df9=_0x172533;_0x22acbc[_0x280df9(0xd3)]=_0x3cd887,_0x22acbc[_0x280df9(0xe3)]=_0x1a1fc4;},0x3e8);}),_0x22acbc;}[_0x3532ec(0xe4)](_0x35552f){const _0x42b8d1=_0x3532ec,{window:_0x271791,document:_0x547945}=_0x3a7d1e;if(_0x271791[_0x42b8d1(0xcb)]){const {Blob:_0x5d616f,ClipboardItem:_0x3abec9}=_0x271791,_0x5109cf=[new _0x3abec9({'text/html':new _0x5d616f([_0x35552f[_0x42b8d1(0x10b)]],{'type':_0x42b8d1(0x115)}),'text/plain':new _0x5d616f([_0x35552f[_0x42b8d1(0xd4)]||''],{'type':_0x42b8d1(0x10d)})})];navigator[_0x42b8d1(0xd6)][_0x42b8d1(0xc7)](_0x5109cf);}else{const _0x35eb23=_0x547945[_0x42b8d1(0xdb)](_0x42b8d1(0x102));_0x35eb23[_0x42b8d1(0x104)][_0x42b8d1(0xc5)]=_0x42b8d1(0x11a),_0x35eb23[_0x42b8d1(0x104)][_0x42b8d1(0xcc)]=_0x42b8d1(0xf0),_0x35eb23[_0x42b8d1(0x10b)]=_0x42b8d1(0xd2)+_0x35552f[_0x42b8d1(0x10b)]+_0x42b8d1(0x103),_0x547945[_0x42b8d1(0xd0)][_0x42b8d1(0xcf)](_0x35eb23);const _0x34f92d=_0x547945[_0x42b8d1(0xe9)]();_0x34f92d[_0x42b8d1(0xf1)](_0x35eb23[_0x42b8d1(0xf6)]),_0x34f92d[_0x42b8d1(0x100)](_0x35eb23[_0x42b8d1(0xdf)]);const _0x5eea67=_0x271791[_0x42b8d1(0xc9)]();_0x5eea67[_0x42b8d1(0xdd)](),_0x5eea67[_0x42b8d1(0xf2)](_0x34f92d),_0x547945[_0x42b8d1(0xdc)](_0x42b8d1(0xff)),_0x35eb23[_0x42b8d1(0xe0)]();}}}export class ContentFieldView extends _0x1cffde{constructor(_0x26cb38,_0x483711=''){const _0x2b6245=_0x3532ec;super(_0x26cb38),this[_0x2b6245(0x119)]=this[_0x2b6245(0xd9)](),this[_0x2b6245(0x111)]({'tag':_0x2b6245(0x102),'attributes':{'class':['ck',_0x2b6245(0x110),_0x483711,_0x2b6245(0xea),_0x2b6245(0xf3)]}});}[_0x3532ec(0xe8)](_0x11f82f){const _0x605243=_0x3532ec;this[_0x605243(0xd1)][_0x605243(0x10b)]=_0x11f82f;}[_0x3532ec(0x113)](){const _0x4779e8=_0x3532ec;this[_0x4779e8(0xd1)][_0x4779e8(0xcf)](this[_0x4779e8(0x119)][_0x4779e8(0xd1)]);}[_0x3532ec(0xd9)](){const _0xc1ff0d=_0x3532ec,_0x352814=new _0x1cffde(),_0x36f2c1=this[_0xc1ff0d(0xd7)],_0x4b6f97=new _0x29414c();return _0x4b6f97[_0xc1ff0d(0xf5)]=!0x0,_0x352814[_0xc1ff0d(0x111)]({'tag':_0xc1ff0d(0x102),'attributes':{'class':['ck',_0xc1ff0d(0xda)]},'children':[_0x4b6f97,{'text':_0x15279e(_0x36f2c1,_0xc1ff0d(0x106))}]}),_0x352814[_0xc1ff0d(0xf9)](),_0x352814;}}
23
+ const _0x3ad481=_0x598e;(function(_0x5ac9cd,_0x3eb6d1){const _0x1fbb02=_0x598e,_0x3662dd=_0x5ac9cd();while(!![]){try{const _0x49cb4a=-parseInt(_0x1fbb02(0xb1))/0x1*(parseInt(_0x1fbb02(0xde))/0x2)+-parseInt(_0x1fbb02(0xfd))/0x3*(parseInt(_0x1fbb02(0xb8))/0x4)+parseInt(_0x1fbb02(0xc7))/0x5*(-parseInt(_0x1fbb02(0xc4))/0x6)+-parseInt(_0x1fbb02(0xd5))/0x7*(-parseInt(_0x1fbb02(0xc3))/0x8)+parseInt(_0x1fbb02(0xfe))/0x9*(-parseInt(_0x1fbb02(0xeb))/0xa)+-parseInt(_0x1fbb02(0xe5))/0xb*(-parseInt(_0x1fbb02(0xef))/0xc)+parseInt(_0x1fbb02(0xee))/0xd;if(_0x49cb4a===_0x3eb6d1)break;else _0x3662dd['push'](_0x3662dd['shift']());}catch(_0x108303){_0x3662dd['push'](_0x3662dd['shift']());}}}(_0x44b8,0x4bf57));import{global as _0x3ded95}from'ckeditor5/src/utils.js';import{View as _0x17e157,ButtonView as _0x1dd883,SpinnerView as _0x39cefe}from'ckeditor5/src/ui.js';import _0x3928fe from'../../../theme/icons/copy.svg';import{getTranslation as _0x316814}from'../../utils/common-translations.js';import{icons as _0x2cc30c}from'ckeditor5/src/core.js';export default class K extends _0x17e157{constructor(_0x1a2504,_0x28ffc9=''){const _0x39571e=_0x598e;super(_0x1a2504),this[_0x39571e(0xd8)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x355fe0=this[_0x39571e(0xbf)];this[_0x39571e(0xfa)]=new ContentFieldView(_0x1a2504,_0x28ffc9),this[_0x39571e(0xea)]=this[_0x39571e(0xd7)](),this[_0x39571e(0xbc)]({'tag':_0x39571e(0xf5),'attributes':{'class':['ck',_0x39571e(0xcb),_0x355fe0['if'](_0x39571e(0xa8),_0x39571e(0xd3),_0x3aacfd=>!_0x3aacfd)],'tabindex':'-1'},'children':[{'tag':_0x39571e(0xf5),'attributes':{'class':['ck',_0x39571e(0xbd),_0x355fe0['if'](_0x39571e(0xd1),_0x39571e(0xad))]},'children':[this[_0x39571e(0xfa)],{'tag':_0x39571e(0xf5),'attributes':{'class':['ck',_0x39571e(0xf4)]},'children':[this[_0x39571e(0xea)]]}]}]});}[_0x3ad481(0xc5)](){const _0x141d69=_0x3ad481;super[_0x141d69(0xc5)](),this[_0x141d69(0xd6)]&&this[_0x141d69(0xfa)][_0x141d69(0xfb)](this[_0x141d69(0xd6)]);let _0xc0dc56=!0x1;this['on'](_0x141d69(0xa6),(_0x785278,_0x21109d,_0x1ab417)=>{const _0x504109=_0x141d69,_0x5d7631=!this[_0x504109(0xfa)][_0x504109(0xec)][_0x504109(0xe8)](_0x504109(0xe9));this[_0x504109(0xfa)][_0x504109(0xfb)](_0x1ab417),this[_0x504109(0xd1)]&&_0x5d7631&&!_0xc0dc56&&this[_0x504109(0xec)][_0x504109(0xb9)]({'top':this[_0x504109(0xec)][_0x504109(0xcd)],'behavior':_0x504109(0xe0)});}),this['on'](_0x141d69(0xca),(_0x5e653c,_0x122cda,_0x25902d)=>{const _0x512c62=_0x141d69;_0xc0dc56=!0x1,_0x25902d?(this[_0x512c62(0xd6)]=null,this[_0x512c62(0xfa)][_0x512c62(0xc8)]()):this[_0x512c62(0xd6)]||this[_0x512c62(0xfa)][_0x512c62(0xfb)]('');}),this[_0x141d69(0xf0)](this[_0x141d69(0xec)],_0x141d69(0xba),()=>{_0xc0dc56=!0x0;}),this[_0x141d69(0xf0)](this[_0x141d69(0xec)],_0x141d69(0xcc),()=>{_0xc0dc56=!0x0;});}[_0x3ad481(0xfc)](){const _0x29f6ae=_0x3ad481;this[_0x29f6ae(0xec)][_0x29f6ae(0xfc)]();}[_0x3ad481(0xd7)](){const _0x3649de=_0x3ad481,_0x2b2152=this[_0x3649de(0xd0)],_0x5a48e6=new _0x1dd883(this[_0x3649de(0xd0)]),_0x4e50a4=_0x3649de(0xe4);return _0x5a48e6[_0x3649de(0xd8)]({'label':_0x316814(_0x2b2152,_0x3649de(0xbe)),'icon':_0x3928fe,'class':_0x4e50a4,'tooltip':!0x0}),_0x5a48e6[_0x3649de(0xb6)](_0x3649de(0xa8))['to'](this,_0x3649de(0xd6),_0x44822a=>!!_0x44822a),_0x5a48e6[_0x3649de(0xb6)](_0x3649de(0xac))['to'](this,_0x3649de(0xd1),_0x130805=>!_0x130805),_0x5a48e6['on'](_0x3649de(0xed),()=>{const _0x361ffb=_0x3649de;this[_0x361ffb(0xb5)](this[_0x361ffb(0xfa)][_0x361ffb(0xec)]),_0x5a48e6[_0x361ffb(0xb4)]=_0x2cc30c[_0x361ffb(0xc1)],_0x5a48e6[_0x361ffb(0xf8)]=_0x4e50a4+_0x361ffb(0xf7),this[_0x361ffb(0xfc)](),setTimeout(()=>{const _0x34dd00=_0x361ffb;_0x5a48e6[_0x34dd00(0xb4)]=_0x3928fe,_0x5a48e6[_0x34dd00(0xf8)]=_0x4e50a4;},0x3e8);}),_0x5a48e6;}[_0x3ad481(0xb5)](_0x394607){const _0x5188f5=_0x3ad481,{window:_0x338516,document:_0x3e5187}=_0x3ded95;if(_0x338516[_0x5188f5(0xdc)]){const {Blob:_0x183fdb,ClipboardItem:_0x364fa6}=_0x338516,_0x5c7d92=[new _0x364fa6({'text/html':new _0x183fdb([_0x394607[_0x5188f5(0xda)]],{'type':_0x5188f5(0xf3)}),'text/plain':new _0x183fdb([_0x394607[_0x5188f5(0xbb)]||''],{'type':_0x5188f5(0xa9)})})];navigator[_0x5188f5(0xb2)][_0x5188f5(0xb0)](_0x5c7d92);}else{const _0x2c93e0=_0x3e5187[_0x5188f5(0xb7)](_0x5188f5(0xf5));_0x2c93e0[_0x5188f5(0xf6)][_0x5188f5(0xd2)]=_0x5188f5(0xdb),_0x2c93e0[_0x5188f5(0xf6)][_0x5188f5(0xc0)]=_0x5188f5(0xd4),_0x2c93e0[_0x5188f5(0xda)]=_0x5188f5(0xab)+_0x394607[_0x5188f5(0xda)]+_0x5188f5(0xce),_0x3e5187[_0x5188f5(0xa7)][_0x5188f5(0xe3)](_0x2c93e0);const _0x62ecc5=_0x3e5187[_0x5188f5(0xc2)]();_0x62ecc5[_0x5188f5(0xc6)](_0x2c93e0[_0x5188f5(0xf2)]),_0x62ecc5[_0x5188f5(0xd9)](_0x2c93e0[_0x5188f5(0xf1)]);const _0x3716c5=_0x338516[_0x5188f5(0xae)]();_0x3716c5[_0x5188f5(0xc9)](),_0x3716c5[_0x5188f5(0xf9)](_0x62ecc5),_0x3e5187[_0x5188f5(0xdf)](_0x5188f5(0xaf)),_0x2c93e0[_0x5188f5(0xdd)]();}}}function _0x598e(_0x1e2f06,_0x6283d7){const _0x44b840=_0x44b8();return _0x598e=function(_0x598e86,_0x451bb7){_0x598e86=_0x598e86-0xa6;let _0x151dc0=_0x44b840[_0x598e86];return _0x151dc0;},_0x598e(_0x1e2f06,_0x6283d7);}function _0x44b8(){const _0x1d1387=['ck-reset_all-excluded','<span>[</span>','isEnabled','ck-ai-form__content-area--processing','getSelection','copy','write','1LXWYRp','clipboard','AI\x20is\x20writing...','icon','_copyHTMLToClipboard','bind','createElement','2276akHtZa','scrollTo','wheel','textContent','setTemplate','ck-ai-form__content-area','Copy','bindTemplate','left','check','createRange','8DeuuwI','32460vGIywE','render','setStartAfter','390PjKplo','appendLoader','removeAllRanges','change:isProcessing','ck-ai-form__content-area-wrapper','mousedown','scrollHeight','<span>]</span>','ck-ai-form__loader','locale','isProcessing','position','ck-hidden','-9999px','25613IALKDl','value','_createCopyButton','set','setEndBefore','innerHTML','absolute','ClipboardItem','remove','973976uvyUtc','execCommand','smooth','_createLoader','ck-content','appendChild','ck-ai-form__copy-button','27005WhOmTl','loaderView','ck-ai-form__content-field','querySelector','.ck-ai-form__loader','copyButtonView','858390SyZWMR','element','execute','23525008UbNHre','1284CmhkNy','listenTo','lastElementChild','firstElementChild','text/html','ck-ai-form__copy-button-wrapper','div','style','\x20ck-ai-form__copy-button--copied','class','addRange','contentFieldView','setContent','focus','1797XOFbXY','54KWPNpE','change:value','body','isVisible','text/plain'];_0x44b8=function(){return _0x1d1387;};return _0x44b8();}export class ContentFieldView extends _0x17e157{constructor(_0x124d8d,_0x7b21cd=''){const _0x5804b6=_0x3ad481;super(_0x124d8d),this[_0x5804b6(0xe6)]=this[_0x5804b6(0xe1)](),this[_0x5804b6(0xbc)]({'tag':_0x5804b6(0xf5),'attributes':{'class':['ck',_0x5804b6(0xe2),_0x7b21cd,_0x5804b6(0xaa),_0x5804b6(0xe7)]}});}[_0x3ad481(0xfb)](_0xad1a9f){const _0x42d650=_0x3ad481;this[_0x42d650(0xec)][_0x42d650(0xda)]=_0xad1a9f;}[_0x3ad481(0xc8)](){const _0x85f82c=_0x3ad481;this[_0x85f82c(0xec)][_0x85f82c(0xe3)](this[_0x85f82c(0xe6)][_0x85f82c(0xec)]);}[_0x3ad481(0xe1)](){const _0x3ad5ba=_0x3ad481,_0x1a5c25=new _0x17e157(),_0x2e773e=this[_0x3ad5ba(0xd0)],_0x55b907=new _0x39cefe();return _0x55b907[_0x3ad5ba(0xa8)]=!0x0,_0x1a5c25[_0x3ad5ba(0xbc)]({'tag':_0x3ad5ba(0xf5),'attributes':{'class':['ck',_0x3ad5ba(0xcf)]},'children':[_0x55b907,{'text':_0x316814(_0x2e773e,_0x3ad5ba(0xb3))}]}),_0x1a5c25[_0x3ad5ba(0xc5)](),_0x1a5c25;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2e361d,_0x3d1723){const _0x2a59df=_0x2975,_0x5bdebb=_0x2e361d();while(!![]){try{const _0xfd9e0a=-parseInt(_0x2a59df(0x160))/0x1+parseInt(_0x2a59df(0x153))/0x2*(parseInt(_0x2a59df(0x15e))/0x3)+-parseInt(_0x2a59df(0x161))/0x4*(parseInt(_0x2a59df(0x15d))/0x5)+-parseInt(_0x2a59df(0x164))/0x6+-parseInt(_0x2a59df(0x155))/0x7*(parseInt(_0x2a59df(0x15f))/0x8)+parseInt(_0x2a59df(0x159))/0x9*(-parseInt(_0x2a59df(0x163))/0xa)+-parseInt(_0x2a59df(0x154))/0xb*(-parseInt(_0x2a59df(0x162))/0xc);if(_0xfd9e0a===_0x3d1723)break;else _0x5bdebb['push'](_0x5bdebb['shift']());}catch(_0x3d3d50){_0x5bdebb['push'](_0x5bdebb['shift']());}}}(_0x3305,0x8b937));import{View as _0x4a0f64,IconView as _0x59f929}from'ckeditor5/src/ui.js';import _0x50ce26 from'../../../theme/icons/error.svg';function _0x2975(_0x2f1e3b,_0x528d01){const _0x33053e=_0x3305();return _0x2975=function(_0x297541,_0x2f97a6){_0x297541=_0x297541-0x153;let _0x5e9091=_0x33053e[_0x297541];return _0x5e9091;},_0x2975(_0x2f1e3b,_0x528d01);}export default class Y extends _0x4a0f64{constructor(_0x209945,_0x3e38f5=''){const _0x31796b=_0x2975;super(_0x209945);const _0x256323=new _0x59f929(),_0x14a0e3=this[_0x31796b(0x165)];this[_0x31796b(0x15c)](_0x31796b(0x157),_0x3e38f5),_0x256323[_0x31796b(0x15b)]=_0x50ce26,this[_0x31796b(0x158)]({'tag':_0x31796b(0x156),'attributes':{'class':['ck',_0x31796b(0x15a)]},'children':[_0x256323,{'text':_0x14a0e3['to'](_0x31796b(0x157))}]});}}function _0x3305(){const _0x11eeb2=['content','set','5snbcpY','825oNdrEF','26016etkIaB','130109ZxCKXm','359740xrMTBG','1356oSXLJl','2100590IlKGWR','627336ZAQxDx','bindTemplate','1306RLnuVW','144727lnkmNM','301UJxsAI','div','text','setTemplate','27nAGowF','ck-ai-form__error'];_0x3305=function(){return _0x11eeb2;};return _0x3305();}
23
+ (function(_0x2fa730,_0x1b2796){const _0x586c82=_0x3f82,_0x31d4ee=_0x2fa730();while(!![]){try{const _0x1338c6=parseInt(_0x586c82(0x17d))/0x1*(-parseInt(_0x586c82(0x184))/0x2)+-parseInt(_0x586c82(0x17a))/0x3+-parseInt(_0x586c82(0x185))/0x4+parseInt(_0x586c82(0x17c))/0x5*(parseInt(_0x586c82(0x186))/0x6)+-parseInt(_0x586c82(0x182))/0x7*(-parseInt(_0x586c82(0x188))/0x8)+parseInt(_0x586c82(0x180))/0x9+-parseInt(_0x586c82(0x178))/0xa;if(_0x1338c6===_0x1b2796)break;else _0x31d4ee['push'](_0x31d4ee['shift']());}catch(_0x1796d5){_0x31d4ee['push'](_0x31d4ee['shift']());}}}(_0x572f,0x76d23));function _0x3f82(_0x139aea,_0x561a66){const _0x572f18=_0x572f();return _0x3f82=function(_0x3f8276,_0x516e37){_0x3f8276=_0x3f8276-0x178;let _0x160d8a=_0x572f18[_0x3f8276];return _0x160d8a;},_0x3f82(_0x139aea,_0x561a66);}function _0x572f(){const _0x427f04=['251397RAvwKe','ck-ai-form__error','5OQDZQT','5323KOtbnI','content','bindTemplate','1838250xXpSnn','div','24185kpHHUG','set','94bhPrWq','2840416JHJegh','4766712krLkSV','text','1328eiymkZ','414570dGfjOC','setTemplate'];_0x572f=function(){return _0x427f04;};return _0x572f();}import{View as _0x281efe,IconView as _0x3e6217}from'ckeditor5/src/ui.js';import _0x2ab8dd from'../../../theme/icons/error.svg';export default class Y extends _0x281efe{constructor(_0x2dc8c6,_0x5d125b=''){const _0x43fee4=_0x3f82;super(_0x2dc8c6);const _0xaa809e=new _0x3e6217(),_0x59d2ea=this[_0x43fee4(0x17f)];this[_0x43fee4(0x183)](_0x43fee4(0x187),_0x5d125b),_0xaa809e[_0x43fee4(0x17e)]=_0x2ab8dd,this[_0x43fee4(0x179)]({'tag':_0x43fee4(0x181),'attributes':{'class':['ck',_0x43fee4(0x17b)]},'children':[_0xaa809e,{'text':_0x59d2ea['to'](_0x43fee4(0x187))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x340858=_0x6baa;function _0x6baa(_0x2ae810,_0x227505){const _0x395b2f=_0x395b();return _0x6baa=function(_0x6baa64,_0x4e88b4){_0x6baa64=_0x6baa64-0x1b0;let _0x1d07e2=_0x395b2f[_0x6baa64];return _0x1d07e2;},_0x6baa(_0x2ae810,_0x227505);}(function(_0x28b3bb,_0x952a74){const _0x37025d=_0x6baa,_0x37fd3e=_0x28b3bb();while(!![]){try{const _0x20bb8b=-parseInt(_0x37025d(0x1c4))/0x1+-parseInt(_0x37025d(0x1b9))/0x2+-parseInt(_0x37025d(0x1b6))/0x3*(-parseInt(_0x37025d(0x1de))/0x4)+-parseInt(_0x37025d(0x1c3))/0x5*(parseInt(_0x37025d(0x1c5))/0x6)+parseInt(_0x37025d(0x1cf))/0x7+parseInt(_0x37025d(0x1b1))/0x8*(parseInt(_0x37025d(0x1dd))/0x9)+-parseInt(_0x37025d(0x1b2))/0xa*(-parseInt(_0x37025d(0x1cb))/0xb);if(_0x20bb8b===_0x952a74)break;else _0x37fd3e['push'](_0x37fd3e['shift']());}catch(_0x509ac5){_0x37fd3e['push'](_0x37fd3e['shift']());}}}(_0x395b,0x55e86));import{Rect as _0x336ece,global as _0x4efb65,isVisible as _0x5c3171}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1a09fb,ButtonView as _0x63cc66}from'ckeditor5/src/ui.js';import{icons as _0x1d3974}from'ckeditor5/src/core.js';function _0x395b(){const _0x18a174=['isEnabled','minRows','update','40SMwOQS','641903DqKnVL','492846HodUjd','_createShowHistoryButton','children','ck-ai-form__toggle-history','window','fieldView','11fEKVIk','filteredView','isVisible','excludeScrollbarsAndBorders','314258MpEosb','History','focusFirst','fieldWrapperChildren','resultsView','locale','submitButtonView','ck-ai-form__submit','right','add','left','value','requestAnimationFrame','element','18JsiTKA','645028hldKot','set','style','maxRows','queryView','history','focus','focusCycler','focusLast','render','_createSubmitButton','isOn','uiLanguageDirection','showHistoryButtonView','keystrokes','281752gWCoam','20662750jGSyos','isEmpty','Submit','enter','3mAZQyp','rtl','bind','1383910eWUrsX','submit','execute','fire','focusableChildren','target','width'];_0x395b=function(){return _0x18a174;};return _0x395b();}import{getTranslation as _0x478807}from'../../utils/common-translations.js';import _0x531129 from'../../../theme/icons/submit.svg';export default class ot extends _0x1a09fb{constructor(_0x590367,_0x13af20){const _0x2c87ad=_0x6baa;super(_0x590367,_0x13af20),this[_0x2c87ad(0x1e2)][_0x2c87ad(0x1ca)][_0x2c87ad(0x1c1)]=0x1,this[_0x2c87ad(0x1e2)][_0x2c87ad(0x1ca)][_0x2c87ad(0x1e1)]=0x3,this[_0x2c87ad(0x1d5)]=this[_0x2c87ad(0x1e8)](),this[_0x2c87ad(0x1eb)]=this[_0x2c87ad(0x1c6)](),this[_0x2c87ad(0x1bd)][_0x2c87ad(0x1d8)](this[_0x2c87ad(0x1eb)],0x1),this[_0x2c87ad(0x1bd)][_0x2c87ad(0x1d8)](this[_0x2c87ad(0x1d5)]);}[_0x340858(0x1e7)](){const _0x2f3fcb=_0x340858;super[_0x2f3fcb(0x1e7)](),this[_0x2f3fcb(0x1e2)][_0x2f3fcb(0x1d2)][_0x2f3fcb(0x1d8)](this[_0x2f3fcb(0x1eb)]),this[_0x2f3fcb(0x1c7)][_0x2f3fcb(0x1d8)](this[_0x2f3fcb(0x1d5)]),this[_0x2f3fcb(0x1b0)][_0x2f3fcb(0x1df)](_0x2f3fcb(0x1b5),(_0x364775,_0x99dfdc)=>{const _0xbf0c1f=_0x2f3fcb;_0x364775[_0xbf0c1f(0x1be)]==this[_0xbf0c1f(0x1e2)][_0xbf0c1f(0x1ca)][_0xbf0c1f(0x1dc)]&&(this[_0xbf0c1f(0x1ba)](),_0x99dfdc());});}[_0x340858(0x1e8)](){const _0x486c9e=_0x340858,_0x4b94c4=new _0x63cc66(this[_0x486c9e(0x1d4)]),_0x50ccaf=this[_0x486c9e(0x1d4)];return _0x4b94c4[_0x486c9e(0x1df)]({'icon':_0x531129,'label':_0x478807(_0x50ccaf,_0x486c9e(0x1b4)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x486c9e(0x1d6)}),_0x4b94c4['on'](_0x486c9e(0x1bb),()=>{const _0x51c13b=_0x486c9e;this[_0x51c13b(0x1ba)]();}),_0x4b94c4[_0x486c9e(0x1b8)](_0x486c9e(0x1c0))['to'](this[_0x486c9e(0x1e2)][_0x486c9e(0x1ca)],_0x486c9e(0x1b3),this,_0x486c9e(0x1c0),(_0x1842ab,_0x28b723)=>!_0x1842ab&&_0x28b723),_0x4b94c4;}[_0x340858(0x1c6)](){const _0x3f1099=_0x340858,_0xb670d5=new _0x63cc66(this[_0x3f1099(0x1d4)]),_0x29a711=this[_0x3f1099(0x1d3)],_0x1521ae=this[_0x3f1099(0x1d4)];_0xb670d5[_0x3f1099(0x1df)]({'label':_0x478807(_0x1521ae,_0x3f1099(0x1d0)),'withText':!0x1,'icon':_0x1d3974[_0x3f1099(0x1e3)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3f1099(0x1c8)}),_0xb670d5[_0x3f1099(0x1b8)](_0x3f1099(0x1e9))['to'](_0x29a711,_0x3f1099(0x1cd)),_0xb670d5[_0x3f1099(0x1b8)](_0x3f1099(0x1c0))['to'](this,_0x3f1099(0x1c0)),_0xb670d5['on'](_0x3f1099(0x1bb),()=>{const _0xce94da=_0x3f1099;_0x29a711[_0xce94da(0x1cd)]=!_0x29a711[_0xce94da(0x1cd)],_0x29a711[_0xce94da(0x1cd)]?this[_0xce94da(0x1cc)][_0xce94da(0x1e4)]():this[_0xce94da(0x1e4)]();});const _0x2a4231=()=>{const _0x46240e=_0x3f1099;_0x4efb65[_0x46240e(0x1c9)][_0x46240e(0x1db)](()=>{const _0x16b349=_0x46240e;if(_0x5c3171(this[_0x16b349(0x1dc)])){const _0x4854b9=new _0x336ece(this[_0x16b349(0x1e2)][_0x16b349(0x1ca)][_0x16b349(0x1dc)]),_0x568635=_0x4854b9[_0x16b349(0x1bf)],_0x46f87b=_0x16b349(0x1b7)===_0x1521ae[_0x16b349(0x1ea)]?_0x16b349(0x1d9):_0x16b349(0x1d7);_0x4854b9[_0x16b349(0x1ce)](),_0xb670d5[_0x16b349(0x1dc)][_0x16b349(0x1e0)][_0x46f87b]=_0x568635-_0x4854b9[_0x16b349(0x1bf)]+0x1+'px';}});};return this[_0x3f1099(0x1e2)][_0x3f1099(0x1ca)]['on'](_0x3f1099(0x1c2),_0x2a4231),this['on'](_0x3f1099(0x1e7),_0x2a4231),_0xb670d5;}[_0x340858(0x1ba)](){const _0x54f5ea=_0x340858,_0x23dcb3=this[_0x54f5ea(0x1e2)][_0x54f5ea(0x1ca)][_0x54f5ea(0x1dc)][_0x54f5ea(0x1da)];this[_0x54f5ea(0x1bc)](_0x54f5ea(0x1ba),_0x23dcb3);}[_0x340858(0x1e4)](_0x30e718){const _0x21cea0=_0x340858;-0x1===_0x30e718?this[_0x21cea0(0x1e5)][_0x21cea0(0x1e6)]():this[_0x21cea0(0x1e5)][_0x21cea0(0x1d1)]();}}
23
+ const _0x3661bb=_0x5a23;function _0x3d3a(){const _0x3995d0=['isOn','fire','style','value','5Ptqmmk','enter','isEmpty','resultsView','3TFJcHx','182rZtHqs','ck-ai-form__submit','keystrokes','queryView','uiLanguageDirection','history','window','fieldView','width','History','add','locale','submit','maxRows','_createShowHistoryButton','minRows','left','bind','1390140YRHekT','requestAnimationFrame','isEnabled','fieldWrapperChildren','children','focusFirst','update','focus','803764dQtLbQ','focusableChildren','render','isVisible','target','excludeScrollbarsAndBorders','submitButtonView','focusCycler','filteredView','focusLast','right','set','Submit','2394784cCsdvi','showHistoryButtonView','element','535250EsqsKE','1135882FwvRrv','_createSubmitButton','ck-ai-form__toggle-history','155370eVxOWM','rtl','9355050cArvyB','execute'];_0x3d3a=function(){return _0x3995d0;};return _0x3d3a();}(function(_0xd8c292,_0x22cb7f){const _0x596aff=_0x5a23,_0x108f68=_0xd8c292();while(!![]){try{const _0x16e8bb=parseInt(_0x596aff(0x1b8))/0x1+parseInt(_0x596aff(0x1b7))/0x2*(-parseInt(_0x596aff(0x1c7))/0x3)+parseInt(_0x596aff(0x1e2))/0x4*(-parseInt(_0x596aff(0x1c3))/0x5)+-parseInt(_0x596aff(0x1bb))/0x6*(parseInt(_0x596aff(0x1c8))/0x7)+-parseInt(_0x596aff(0x1ef))/0x8+parseInt(_0x596aff(0x1bd))/0x9+parseInt(_0x596aff(0x1da))/0xa;if(_0x16e8bb===_0x22cb7f)break;else _0x108f68['push'](_0x108f68['shift']());}catch(_0x45f7f1){_0x108f68['push'](_0x108f68['shift']());}}}(_0x3d3a,0xd52ca));function _0x5a23(_0x129310,_0x47f8b1){const _0x3d3ae2=_0x3d3a();return _0x5a23=function(_0x5a2310,_0x5b914c){_0x5a2310=_0x5a2310-0x1b7;let _0x4ef1aa=_0x3d3ae2[_0x5a2310];return _0x4ef1aa;},_0x5a23(_0x129310,_0x47f8b1);}import{Rect as _0x17378f,global as _0x298055,isVisible as _0xbce06e}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x4d62a3,ButtonView as _0xf622b9}from'ckeditor5/src/ui.js';import{icons as _0x492b99}from'ckeditor5/src/core.js';import{getTranslation as _0x3e0828}from'../../utils/common-translations.js';import _0x25b361 from'../../../theme/icons/submit.svg';export default class ot extends _0x4d62a3{constructor(_0x4c87a3,_0x42d01d){const _0xb1a788=_0x5a23;super(_0x4c87a3,_0x42d01d),this[_0xb1a788(0x1cb)][_0xb1a788(0x1cf)][_0xb1a788(0x1d7)]=0x1,this[_0xb1a788(0x1cb)][_0xb1a788(0x1cf)][_0xb1a788(0x1d5)]=0x3,this[_0xb1a788(0x1e8)]=this[_0xb1a788(0x1b9)](),this[_0xb1a788(0x1f0)]=this[_0xb1a788(0x1d6)](),this[_0xb1a788(0x1e3)][_0xb1a788(0x1d2)](this[_0xb1a788(0x1f0)],0x1),this[_0xb1a788(0x1e3)][_0xb1a788(0x1d2)](this[_0xb1a788(0x1e8)]);}[_0x3661bb(0x1e4)](){const _0x8228f5=_0x3661bb;super[_0x8228f5(0x1e4)](),this[_0x8228f5(0x1cb)][_0x8228f5(0x1dd)][_0x8228f5(0x1d2)](this[_0x8228f5(0x1f0)]),this[_0x8228f5(0x1de)][_0x8228f5(0x1d2)](this[_0x8228f5(0x1e8)]),this[_0x8228f5(0x1ca)][_0x8228f5(0x1ed)](_0x8228f5(0x1c4),(_0x3b9c35,_0x1ee04f)=>{const _0x282ba4=_0x8228f5;_0x3b9c35[_0x282ba4(0x1e6)]==this[_0x282ba4(0x1cb)][_0x282ba4(0x1cf)][_0x282ba4(0x1f1)]&&(this[_0x282ba4(0x1d4)](),_0x1ee04f());});}[_0x3661bb(0x1b9)](){const _0x540705=_0x3661bb,_0x1e2f35=new _0xf622b9(this[_0x540705(0x1d3)]),_0x261463=this[_0x540705(0x1d3)];return _0x1e2f35[_0x540705(0x1ed)]({'icon':_0x25b361,'label':_0x3e0828(_0x261463,_0x540705(0x1ee)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x540705(0x1c9)}),_0x1e2f35['on'](_0x540705(0x1be),()=>{const _0xf0d401=_0x540705;this[_0xf0d401(0x1d4)]();}),_0x1e2f35[_0x540705(0x1d9)](_0x540705(0x1dc))['to'](this[_0x540705(0x1cb)][_0x540705(0x1cf)],_0x540705(0x1c5),this,_0x540705(0x1dc),(_0x1f2195,_0x177487)=>!_0x1f2195&&_0x177487),_0x1e2f35;}[_0x3661bb(0x1d6)](){const _0x3f8dca=_0x3661bb,_0x39ffea=new _0xf622b9(this[_0x3f8dca(0x1d3)]),_0x35f417=this[_0x3f8dca(0x1c6)],_0x5cf431=this[_0x3f8dca(0x1d3)];_0x39ffea[_0x3f8dca(0x1ed)]({'label':_0x3e0828(_0x5cf431,_0x3f8dca(0x1d1)),'withText':!0x1,'icon':_0x492b99[_0x3f8dca(0x1cd)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3f8dca(0x1ba)}),_0x39ffea[_0x3f8dca(0x1d9)](_0x3f8dca(0x1bf))['to'](_0x35f417,_0x3f8dca(0x1e5)),_0x39ffea[_0x3f8dca(0x1d9)](_0x3f8dca(0x1dc))['to'](this,_0x3f8dca(0x1dc)),_0x39ffea['on'](_0x3f8dca(0x1be),()=>{const _0x557a6d=_0x3f8dca;_0x35f417[_0x557a6d(0x1e5)]=!_0x35f417[_0x557a6d(0x1e5)],_0x35f417[_0x557a6d(0x1e5)]?this[_0x557a6d(0x1ea)][_0x557a6d(0x1e1)]():this[_0x557a6d(0x1e1)]();});const _0x1a4857=()=>{const _0x27bb03=_0x3f8dca;_0x298055[_0x27bb03(0x1ce)][_0x27bb03(0x1db)](()=>{const _0x26b85b=_0x27bb03;if(_0xbce06e(this[_0x26b85b(0x1f1)])){const _0xd048a6=new _0x17378f(this[_0x26b85b(0x1cb)][_0x26b85b(0x1cf)][_0x26b85b(0x1f1)]),_0xf7b372=_0xd048a6[_0x26b85b(0x1d0)],_0x650c04=_0x26b85b(0x1bc)===_0x5cf431[_0x26b85b(0x1cc)]?_0x26b85b(0x1d8):_0x26b85b(0x1ec);_0xd048a6[_0x26b85b(0x1e7)](),_0x39ffea[_0x26b85b(0x1f1)][_0x26b85b(0x1c1)][_0x650c04]=_0xf7b372-_0xd048a6[_0x26b85b(0x1d0)]+0x1+'px';}});};return this[_0x3f8dca(0x1cb)][_0x3f8dca(0x1cf)]['on'](_0x3f8dca(0x1e0),_0x1a4857),this['on'](_0x3f8dca(0x1e4),_0x1a4857),_0x39ffea;}[_0x3661bb(0x1d4)](){const _0x5404aa=_0x3661bb,_0x4aa9cb=this[_0x5404aa(0x1cb)][_0x5404aa(0x1cf)][_0x5404aa(0x1f1)][_0x5404aa(0x1c2)];this[_0x5404aa(0x1c0)](_0x5404aa(0x1d4),_0x4aa9cb);}[_0x3661bb(0x1e1)](_0x342662){const _0x34edb4=_0x3661bb;-0x1===_0x342662?this[_0x34edb4(0x1e9)][_0x34edb4(0x1eb)]():this[_0x34edb4(0x1e9)][_0x34edb4(0x1df)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b29c3=_0x4f05;(function(_0x225a47,_0x5e6d1f){const _0x21a648=_0x4f05,_0x48af9f=_0x225a47();while(!![]){try{const _0x28f01a=parseInt(_0x21a648(0x1a1))/0x1+parseInt(_0x21a648(0x1a2))/0x2+-parseInt(_0x21a648(0x1af))/0x3+-parseInt(_0x21a648(0x1b4))/0x4+-parseInt(_0x21a648(0x1ab))/0x5*(parseInt(_0x21a648(0x1a6))/0x6)+-parseInt(_0x21a648(0x1b6))/0x7+parseInt(_0x21a648(0x1b8))/0x8;if(_0x28f01a===_0x5e6d1f)break;else _0x48af9f['push'](_0x48af9f['shift']());}catch(_0x6bcf4){_0x48af9f['push'](_0x48af9f['shift']());}}}(_0x43ba,0x40a4d));import{ToolbarView as _0x59e1aa,ButtonView as _0x3f7eab}from'ckeditor5/src/ui.js';import{getTranslation as _0x397b7a}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1b29c3(0x1b3),'INSERT':_0x1b29c3(0x1c0)};function _0x4f05(_0x22ff83,_0x6edba){const _0x43ba87=_0x43ba();return _0x4f05=function(_0x4f05b0,_0x4b1bdc){_0x4f05b0=_0x4f05b0-0x19e;let _0x5834a1=_0x43ba87[_0x4f05b0];return _0x5834a1;},_0x4f05(_0x22ff83,_0x6edba);}export default class rt extends _0x59e1aa{constructor(_0xd816ff){const _0x8ebb3a=_0x1b29c3;super(_0xd816ff),this[_0x8ebb3a(0x1b2)](_0x8ebb3a(0x19e),!0x1),this[_0x8ebb3a(0x1b2)](_0x8ebb3a(0x1a9),AIFormToolbarViewMainActionLabel[_0x8ebb3a(0x1be)]),this[_0x8ebb3a(0x1ad)]=this[_0x8ebb3a(0x1ae)]('',_0x8ebb3a(0x1a5)),this[_0x8ebb3a(0x1ad)][_0x8ebb3a(0x1bb)](_0x8ebb3a(0x1ba))['to'](this,_0x8ebb3a(0x1a9),_0x4d6255=>_0x397b7a(_0xd816ff,_0x8ebb3a(0x1b1)+_0x4d6255[_0x8ebb3a(0x1a3)]()+_0x8ebb3a(0x1b5))),this[_0x8ebb3a(0x1b9)]=this[_0x8ebb3a(0x1ae)](_0x397b7a(_0xd816ff,_0x8ebb3a(0x1bc))),this[_0x8ebb3a(0x1a7)]=this[_0x8ebb3a(0x1ae)](_0x397b7a(_0xd816ff,_0x8ebb3a(0x1b7))),this[_0x8ebb3a(0x1a0)]=this[_0x8ebb3a(0x1ae)](_0x397b7a(_0xd816ff,_0x8ebb3a(0x1ac)));const _0x43b57f=this[_0x8ebb3a(0x1a8)];this[_0x8ebb3a(0x1b0)]({'attributes':{'class':[_0x8ebb3a(0x1a4),_0x43b57f['if'](_0x8ebb3a(0x19e),_0x8ebb3a(0x1aa),_0x5f5437=>!_0x5f5437)]}}),this[_0x8ebb3a(0x1bd)][_0x8ebb3a(0x19f)]([this[_0x8ebb3a(0x1ad)],this[_0x8ebb3a(0x1b9)],this[_0x8ebb3a(0x1a7)],this[_0x8ebb3a(0x1a0)]]);}[_0x1b29c3(0x1ae)](_0x281d64,_0x4e6e4f){const _0x1e75f4=_0x1b29c3,_0x491605=new _0x3f7eab(this[_0x1e75f4(0x1bf)]);return _0x491605[_0x1e75f4(0x1b2)]({'label':_0x281d64,'class':_0x4e6e4f||'','isVisible':!0x0,'withText':!0x0}),_0x491605;}}function _0x43ba(){const _0xe45d0c=['REPLACE','locale','insert','isVisible','addMany','stopButton','387703ppOdmg','212684UToNpj','toUpperCase','ck-ai-form__toolbar','ck-button-action','36IcZslj','tryAgainButton','bindTemplate','mainAction','ck-hidden','135910ZJzWqp','Stop','replaceButton','_createButton','1142895EganHH','extendTemplate','AI_','set','replace','1116284TPqHFE','_CONTENT','2698500drsfCc','Try\x20again','7834912UOrvwe','insertButton','label','bind','Insert\x20below','items'];_0x43ba=function(){return _0xe45d0c;};return _0x43ba();}
23
+ const _0xdede8b=_0x2e45;function _0x2e45(_0x34da28,_0x44050d){const _0x49872e=_0x4987();return _0x2e45=function(_0x2e45dd,_0x1603ad){_0x2e45dd=_0x2e45dd-0x88;let _0x335ee6=_0x49872e[_0x2e45dd];return _0x335ee6;},_0x2e45(_0x34da28,_0x44050d);}(function(_0xb6ac0a,_0x27c107){const _0x33bd28=_0x2e45,_0x164173=_0xb6ac0a();while(!![]){try{const _0x3076c5=-parseInt(_0x33bd28(0x97))/0x1+-parseInt(_0x33bd28(0xa8))/0x2*(-parseInt(_0x33bd28(0x88))/0x3)+-parseInt(_0x33bd28(0x8c))/0x4*(-parseInt(_0x33bd28(0x9b))/0x5)+parseInt(_0x33bd28(0xa9))/0x6+-parseInt(_0x33bd28(0xac))/0x7*(-parseInt(_0x33bd28(0x99))/0x8)+parseInt(_0x33bd28(0x91))/0x9*(-parseInt(_0x33bd28(0x8f))/0xa)+parseInt(_0x33bd28(0xa7))/0xb*(-parseInt(_0x33bd28(0x8d))/0xc);if(_0x3076c5===_0x27c107)break;else _0x164173['push'](_0x164173['shift']());}catch(_0x284e44){_0x164173['push'](_0x164173['shift']());}}}(_0x4987,0xc41ac));import{ToolbarView as _0x67e717,ButtonView as _0x2697bd}from'ckeditor5/src/ui.js';import{getTranslation as _0x4222e8}from'../../utils/common-translations.js';function _0x4987(){const _0x13f600=['replaceButton','301jRUikI','toUpperCase','set','2113938TnXCtP','replace','addMany','Stop','4kfmiSi','8940Pgbmql','ck-ai-form__toolbar','10woeLjD','insertButton','11688201oSjnoe','_CONTENT','ck-button-action','stopButton','tryAgainButton','bindTemplate','543449pwArnS','AI_','213688xUBrrP','Insert\x20below','2060155aXutzd','insert','items','_createButton','locale','extendTemplate','REPLACE','ck-hidden','isVisible','bind','mainAction','Try\x20again','19382umRwws','4YynPsW','5929056YVpOKE','label'];_0x4987=function(){return _0x13f600;};return _0x4987();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xdede8b(0x89),'INSERT':_0xdede8b(0x9c)};export default class rt extends _0x67e717{constructor(_0x3dabb9){const _0x5f30eb=_0xdede8b;super(_0x3dabb9),this[_0x5f30eb(0xae)](_0x5f30eb(0xa3),!0x1),this[_0x5f30eb(0xae)](_0x5f30eb(0xa5),AIFormToolbarViewMainActionLabel[_0x5f30eb(0xa1)]),this[_0x5f30eb(0xab)]=this[_0x5f30eb(0x9e)]('',_0x5f30eb(0x93)),this[_0x5f30eb(0xab)][_0x5f30eb(0xa4)](_0x5f30eb(0xaa))['to'](this,_0x5f30eb(0xa5),_0x592345=>_0x4222e8(_0x3dabb9,_0x5f30eb(0x98)+_0x592345[_0x5f30eb(0xad)]()+_0x5f30eb(0x92))),this[_0x5f30eb(0x90)]=this[_0x5f30eb(0x9e)](_0x4222e8(_0x3dabb9,_0x5f30eb(0x9a))),this[_0x5f30eb(0x95)]=this[_0x5f30eb(0x9e)](_0x4222e8(_0x3dabb9,_0x5f30eb(0xa6))),this[_0x5f30eb(0x94)]=this[_0x5f30eb(0x9e)](_0x4222e8(_0x3dabb9,_0x5f30eb(0x8b)));const _0xacb002=this[_0x5f30eb(0x96)];this[_0x5f30eb(0xa0)]({'attributes':{'class':[_0x5f30eb(0x8e),_0xacb002['if'](_0x5f30eb(0xa3),_0x5f30eb(0xa2),_0x43bfdf=>!_0x43bfdf)]}}),this[_0x5f30eb(0x9d)][_0x5f30eb(0x8a)]([this[_0x5f30eb(0xab)],this[_0x5f30eb(0x90)],this[_0x5f30eb(0x95)],this[_0x5f30eb(0x94)]]);}[_0xdede8b(0x9e)](_0x3a3ead,_0x3180a6){const _0xaed00c=_0xdede8b,_0x53450f=new _0x2697bd(this[_0xaed00c(0x9f)]);return _0x53450f[_0xaed00c(0xae)]({'label':_0x3a3ead,'class':_0x3180a6||'','isVisible':!0x0,'withText':!0x0}),_0x53450f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4440b0=_0x4c4f;(function(_0x218967,_0x345d94){const _0x545689=_0x4c4f,_0x42f294=_0x218967();while(!![]){try{const _0x34c306=-parseInt(_0x545689(0x231))/0x1*(parseInt(_0x545689(0x233))/0x2)+-parseInt(_0x545689(0x23d))/0x3*(parseInt(_0x545689(0x1f8))/0x4)+-parseInt(_0x545689(0x21f))/0x5*(parseInt(_0x545689(0x219))/0x6)+parseInt(_0x545689(0x207))/0x7*(parseInt(_0x545689(0x21b))/0x8)+-parseInt(_0x545689(0x235))/0x9*(parseInt(_0x545689(0x226))/0xa)+parseInt(_0x545689(0x221))/0xb+-parseInt(_0x545689(0x1ef))/0xc*(-parseInt(_0x545689(0x1f4))/0xd);if(_0x34c306===_0x345d94)break;else _0x42f294['push'](_0x42f294['shift']());}catch(_0xc4793a){_0x42f294['push'](_0x42f294['shift']());}}}(_0x1cb8,0xebcad));import{FocusTracker as _0xf6261f,KeystrokeHandler as _0x1a143d}from'ckeditor5/src/utils.js';import{View as _0x3106da,FocusCycler as _0x3dabed,createLabeledTextarea as _0x454014}from'ckeditor5/src/ui.js';import _0x55f107,{AIFormToolbarViewMainActionLabel as _0x59c828}from'./aiformtoolbarview.js';import _0xefa2eb from'./aiformcontentarea.js';import _0x4e7ace from'./aiformerrorview.js';import _0x5d5233 from'./aiformpromptview.js';import _0x555b5d from'./aihistorylistview.js';function _0x4c4f(_0x100f50,_0x396b7a){const _0x1cb891=_0x1cb8();return _0x4c4f=function(_0x4c4f67,_0xd5a936){_0x4c4f67=_0x4c4f67-0x1ef;let _0x1c19c0=_0x1cb891[_0x4c4f67];return _0x1c19c0;},_0x4c4f(_0x100f50,_0x396b7a);}import _0x4dad87 from'./aihistorylistitemview.js';function _0x1cb8(){const _0x2b4aa3=['shift\x20+\x20tab','trim','tryAgainButton','focus','stopButton','createCollection','delegate','7KUlqZu','bind','isError','clear','contentArea','focusTracker','promptView','execute','Ask\x20AI\x20to\x20edit\x20or\x20generate','REPLACE','tab','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_createHistoryView','stopProcessing','focusLast','mainAction','set','value','474VFIDMi','ck-ai-form','2197144ZevpSJ','_createToolbar','Ask\x20AI\x20to\x20improve\x20generated\x20text','element','54455kdeNWc','locale','19149053tdSElB','replaceButton','listenTo','toolbar','bindTo','20VlZgDU','prompt','div','add','_promptHistory','clearHistory','submit','insertButton','insertContentBelow','fire','search','987380MtqUqt','isProcessing','2eXUaBX','queryView','7028919fGZXpn','replaceContent','keystrokes','isEnabled','label','submitPrompt','tryAgainEvent','focusCycler','255DMPTvn','startProcessing','setTemplate','text','handleError','errorView','Empty\x20history','finishProcessing','_focusables','reset','660YXiXNE','ck-hidden','items','isVisible','render','657631zminCY','focusFirst','ck-ai-form-content','copyButtonView','19868aUUFzm','bindTemplate','historyGroupView','high','fieldView','chain','_createPromptView','AI_ERROR_FAILED'];_0x1cb8=function(){return _0x2b4aa3;};return _0x1cb8();}import _0x3e7b8a from'./prompthistory.js';import{getTranslation as _0x4499b2}from'../../utils/common-translations.js';import{escape as _0x17dc5c}from'lodash-es';export default class v extends _0x3106da{constructor(_0xddf30f,_0x4b97b7,_0xb2dab6=''){const _0xf90351=_0x4c4f;super(_0xddf30f),this[_0xf90351(0x217)](_0xf90351(0x238),!0x0),this[_0xf90351(0x217)](_0xf90351(0x232),!0x1),this[_0xf90351(0x217)](_0xf90351(0x227),''),this[_0xf90351(0x217)](_0xf90351(0x218),''),this[_0xf90351(0x217)](_0xf90351(0x209),!0x1),this[_0xf90351(0x217)](_0xf90351(0x216),_0x59c828[_0xf90351(0x210)]),this[_0xf90351(0x22a)]=new _0x3e7b8a(),this[_0xf90351(0x242)]=new _0x4e7ace(_0xddf30f),this[_0xf90351(0x20b)]=new _0xefa2eb(_0xddf30f,_0xb2dab6),this[_0xf90351(0x20b)][_0xf90351(0x208)](_0xf90351(0x232))['to'](this),this[_0xf90351(0x20b)][_0xf90351(0x208)](_0xf90351(0x218))['to'](this),this[_0xf90351(0x224)]=this[_0xf90351(0x21c)](),this[_0xf90351(0x224)][_0xf90351(0x208)](_0xf90351(0x216))['to'](this),this[_0xf90351(0x20d)]=this[_0xf90351(0x1fe)](),this[_0xf90351(0x20c)]=new _0xf6261f(),this[_0xf90351(0x237)]=new _0x1a143d(),this[_0xf90351(0x245)]=this[_0xf90351(0x205)]([this[_0xf90351(0x20b)],this[_0xf90351(0x20b)][_0xf90351(0x1f7)],this[_0xf90351(0x224)],this[_0xf90351(0x20d)]]),this[_0xf90351(0x23c)]=new _0x3dabed({'focusables':this[_0xf90351(0x245)],'focusTracker':this[_0xf90351(0x20c)],'keystrokeHandler':this[_0xf90351(0x237)],'actions':{'focusPrevious':_0xf90351(0x200),'focusNext':_0xf90351(0x211)}}),this[_0xf90351(0x23c)][_0xf90351(0x1fd)](this[_0xf90351(0x20d)][_0xf90351(0x23c)]),this[_0xf90351(0x20d)][_0xf90351(0x234)][_0xf90351(0x1fc)][_0xf90351(0x208)](_0xf90351(0x218))['to'](this,_0xf90351(0x227));const _0x31bfeb=this[_0xf90351(0x1f9)];this[_0xf90351(0x23f)]({'tag':_0xf90351(0x228),'attributes':{'class':['ck',_0xf90351(0x21a),_0x4b97b7],'tabindex':'-1'},'children':[{'tag':_0xf90351(0x228),'attributes':{'class':['ck',_0xf90351(0x1f6)]},'children':[{'tag':_0xf90351(0x228),'attributes':{'class':[_0x31bfeb['if'](_0xf90351(0x209),_0xf90351(0x1f0),_0x2211d1=>!_0x2211d1)]},'children':[this[_0xf90351(0x242)]]},this[_0xf90351(0x20b)],this[_0xf90351(0x224)],this[_0xf90351(0x20d)]]}]});}[_0x4440b0(0x1f3)](){const _0x59912f=_0x4440b0;super[_0x59912f(0x1f3)](),this[_0x59912f(0x20c)][_0x59912f(0x229)](this[_0x59912f(0x20b)][_0x59912f(0x21e)]),this[_0x59912f(0x20c)][_0x59912f(0x229)](this[_0x59912f(0x20b)][_0x59912f(0x1f7)][_0x59912f(0x21e)]),this[_0x59912f(0x20c)][_0x59912f(0x229)](this[_0x59912f(0x224)][_0x59912f(0x21e)]),this[_0x59912f(0x20c)][_0x59912f(0x229)](this[_0x59912f(0x20d)][_0x59912f(0x21e)]),this[_0x59912f(0x237)][_0x59912f(0x223)](this[_0x59912f(0x21e)]);}[_0x4440b0(0x203)](_0x2a3e71=0x1){const _0x2c9ace=_0x4440b0;-0x1===_0x2a3e71?this[_0x2c9ace(0x23c)][_0x2c9ace(0x215)]():this[_0x2c9ace(0x23c)][_0x2c9ace(0x1f5)]();}[_0x4440b0(0x246)](){const _0x107265=_0x4440b0;this[_0x107265(0x227)]='',this[_0x107265(0x218)]='',this[_0x107265(0x209)]=!0x1,this[_0x107265(0x20d)][_0x107265(0x246)](),this[_0x107265(0x20b)][_0x107265(0x1f2)]=!0x1,this[_0x107265(0x224)][_0x107265(0x1f2)]=!0x1;}[_0x4440b0(0x1fe)](){const _0x7dcce7=_0x4440b0,_0x1c5296=this[_0x7dcce7(0x220)],_0x1dc7a5=new _0x5d5233(_0x1c5296,{'queryView':{'label':_0x4499b2(_0x1c5296,_0x7dcce7(0x20f)),'creator':_0x454014,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4499b2(_0x1c5296,_0x7dcce7(0x243)),'secondary':_0x4499b2(_0x1c5296,_0x7dcce7(0x212))}}},'filteredView':this[_0x7dcce7(0x213)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1dc7a5[_0x7dcce7(0x208)](_0x7dcce7(0x238))['to'](this,_0x7dcce7(0x238),this,_0x7dcce7(0x232),(_0x4bdb41,_0xd5cd5b)=>_0x4bdb41&&!_0xd5cd5b),this[_0x7dcce7(0x223)](_0x1dc7a5,_0x7dcce7(0x22c),(_0x3fc89c,_0x3f5c8d)=>{const _0x26bbaf=_0x7dcce7;this[_0x26bbaf(0x227)]=_0x3f5c8d;const _0x40a7dc=_0x17dc5c(_0x3f5c8d);this[_0x26bbaf(0x22f)](_0x26bbaf(0x23a),_0x40a7dc),_0x3f5c8d[_0x26bbaf(0x201)]()&&this[_0x26bbaf(0x22a)][_0x26bbaf(0x229)]({'prompt':_0x40a7dc},0x0);},{'priority':_0x7dcce7(0x1fb)}),_0x1dc7a5;}[_0x4440b0(0x213)](){const _0x5a79c7=_0x4440b0,_0xe1331f=new _0x555b5d(this[_0x5a79c7(0x220)]);return _0xe1331f[_0x5a79c7(0x1fa)][_0x5a79c7(0x1f1)][_0x5a79c7(0x225)](this[_0x5a79c7(0x22a)])['as'](_0x4dad87),_0xe1331f['on'](_0x5a79c7(0x22b),()=>{const _0x383f42=_0x5a79c7;this[_0x383f42(0x22a)][_0x383f42(0x20a)](),this[_0x383f42(0x20d)][_0x383f42(0x230)](''),this[_0x383f42(0x20d)][_0x383f42(0x203)]();}),_0xe1331f;}[_0x4440b0(0x21c)](){const _0x418690=_0x4440b0,_0x1f8b07=new _0x55f107(this[_0x418690(0x220)]);return _0x1f8b07[_0x418690(0x222)][_0x418690(0x208)](_0x418690(0x238))['to'](this,_0x418690(0x238),this,_0x418690(0x232),this,_0x418690(0x218),(_0xb74a85,_0x1b6c8d,_0x571432)=>_0xb74a85&&!_0x1b6c8d&&!!_0x571432),_0x1f8b07[_0x418690(0x222)][_0x418690(0x206)](_0x418690(0x20e))['to'](this,_0x418690(0x236)),_0x1f8b07[_0x418690(0x22d)][_0x418690(0x208)](_0x418690(0x238))['to'](this,_0x418690(0x238),this,_0x418690(0x232),this,_0x418690(0x218),(_0xcfaf85,_0x3e1bbc,_0x1622f7)=>_0xcfaf85&&!_0x3e1bbc&&!!_0x1622f7),_0x1f8b07[_0x418690(0x22d)][_0x418690(0x206)](_0x418690(0x20e))['to'](this,_0x418690(0x22e)),_0x1f8b07[_0x418690(0x202)][_0x418690(0x208)](_0x418690(0x238))['to'](this,_0x418690(0x238),this,_0x418690(0x232),(_0xf73813,_0x170642)=>_0xf73813&&!_0x170642),_0x1f8b07[_0x418690(0x202)][_0x418690(0x206)](_0x418690(0x20e))['to'](this,_0x418690(0x23b)),_0x1f8b07[_0x418690(0x204)][_0x418690(0x208)](_0x418690(0x238))['to'](this,_0x418690(0x232)),_0x1f8b07[_0x418690(0x204)][_0x418690(0x206)](_0x418690(0x20e))['to'](this,_0x418690(0x214)),_0x1f8b07;}[_0x4440b0(0x23e)](){const _0x35107d=_0x4440b0;this[_0x35107d(0x218)]='',this[_0x35107d(0x209)]=!0x1,this[_0x35107d(0x232)]=!0x0,this[_0x35107d(0x20b)][_0x35107d(0x1f2)]=!0x0,this[_0x35107d(0x224)][_0x35107d(0x1f2)]=!0x0,this[_0x35107d(0x20b)][_0x35107d(0x203)]();}[_0x4440b0(0x244)](){const _0x414e28=_0x4440b0,_0x523342=this[_0x414e28(0x220)];this[_0x414e28(0x232)]=!0x1,this[_0x414e28(0x227)]='',this[_0x414e28(0x20d)][_0x414e28(0x246)](),this[_0x414e28(0x218)]&&(this[_0x414e28(0x20d)][_0x414e28(0x234)][_0x414e28(0x239)]=_0x4499b2(_0x523342,_0x414e28(0x21d)));}[_0x4440b0(0x241)](_0x5c671b){const _0x1f941a=_0x4440b0,_0x43191d=this[_0x1f941a(0x220)];this[_0x1f941a(0x244)](),this[_0x1f941a(0x209)]=!0x0,this[_0x1f941a(0x242)][_0x1f941a(0x240)]=_0x5c671b||_0x4499b2(_0x43191d,_0x1f941a(0x1ff)),this[_0x1f941a(0x218)]||(this[_0x1f941a(0x20b)][_0x1f941a(0x1f2)]=!0x1);}}
23
+ const _0x5b7c3e=_0x3132;(function(_0x52561,_0x4fc691){const _0x3d25d8=_0x3132,_0x198f6e=_0x52561();while(!![]){try{const _0xc9ad08=parseInt(_0x3d25d8(0x1a0))/0x1*(-parseInt(_0x3d25d8(0x1c3))/0x2)+-parseInt(_0x3d25d8(0x19c))/0x3+-parseInt(_0x3d25d8(0x1b2))/0x4*(-parseInt(_0x3d25d8(0x1b9))/0x5)+parseInt(_0x3d25d8(0x1bf))/0x6+parseInt(_0x3d25d8(0x1aa))/0x7+-parseInt(_0x3d25d8(0x18b))/0x8+parseInt(_0x3d25d8(0x1a8))/0x9*(parseInt(_0x3d25d8(0x1c5))/0xa);if(_0xc9ad08===_0x4fc691)break;else _0x198f6e['push'](_0x198f6e['shift']());}catch(_0x4c498a){_0x198f6e['push'](_0x198f6e['shift']());}}}(_0x525c,0x98a2c));import{FocusTracker as _0x222873,KeystrokeHandler as _0x8f6e96}from'ckeditor5/src/utils.js';import{View as _0x288d04,FocusCycler as _0x48cb0f,createLabeledTextarea as _0x5562da}from'ckeditor5/src/ui.js';import _0x30bebc,{AIFormToolbarViewMainActionLabel as _0xe66796}from'./aiformtoolbarview.js';function _0x525c(){const _0x4e32f9=['startProcessing','AI_ERROR_FAILED','focusCycler','delegate','stopButton','8000256oeMRuO','isProcessing','value','execute','historyGroupView','bind','locale','copyButtonView','items','keystrokes','handleError','element','clearHistory','text','focusTracker','prompt','insertContentBelow','3228777cndkXD','stopProcessing','focusLast','submit','1Lzhgxf','shift\x20+\x20tab','contentArea','queryView','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusFirst','chain','isEnabled','15219315twIOpB','tab','4243666nmQjva','bindTemplate','focus','label','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','insertButton','search','tryAgainEvent','16hYMjhi','replaceContent','bindTo','submitPrompt','high','fire','render','66655frFRpa','Empty\x20history','_promptHistory','_createHistoryView','tryAgainButton','clear','2127774LHroVG','ck-ai-form','_createToolbar','isVisible','7478xpQmgk','toolbar','10QpfRSw','listenTo','setTemplate','fieldView','ck-hidden','REPLACE','mainAction','createCollection','isError','reset','promptView','errorView','Ask\x20AI\x20to\x20improve\x20generated\x20text','_createPromptView','set','_focusables','finishProcessing','replaceButton','ck-ai-form-content','add','div','trim'];_0x525c=function(){return _0x4e32f9;};return _0x525c();}import _0x4d0e4f from'./aiformcontentarea.js';import _0x448179 from'./aiformerrorview.js';import _0x2d754a from'./aiformpromptview.js';import _0x442b0d from'./aihistorylistview.js';import _0x7ed009 from'./aihistorylistitemview.js';import _0x782152 from'./prompthistory.js';import{getTranslation as _0x1cbf05}from'../../utils/common-translations.js';function _0x3132(_0xef21ea,_0x28b8f1){const _0x525ccb=_0x525c();return _0x3132=function(_0x31322d,_0x4b89ca){_0x31322d=_0x31322d-0x17c;let _0xe59422=_0x525ccb[_0x31322d];return _0xe59422;},_0x3132(_0xef21ea,_0x28b8f1);}import{escape as _0x4572ea}from'lodash-es';export default class v extends _0x288d04{constructor(_0x1ee085,_0x320680,_0x43ff21=''){const _0x33a230=_0x3132;super(_0x1ee085),this[_0x33a230(0x17e)](_0x33a230(0x1a7),!0x0),this[_0x33a230(0x17e)](_0x33a230(0x18c),!0x1),this[_0x33a230(0x17e)](_0x33a230(0x19a),''),this[_0x33a230(0x17e)](_0x33a230(0x18d),''),this[_0x33a230(0x17e)](_0x33a230(0x1cd),!0x1),this[_0x33a230(0x17e)](_0x33a230(0x1cb),_0xe66796[_0x33a230(0x1ca)]),this[_0x33a230(0x1bb)]=new _0x782152(),this[_0x33a230(0x1d0)]=new _0x448179(_0x1ee085),this[_0x33a230(0x1a2)]=new _0x4d0e4f(_0x1ee085,_0x43ff21),this[_0x33a230(0x1a2)][_0x33a230(0x190)](_0x33a230(0x18c))['to'](this),this[_0x33a230(0x1a2)][_0x33a230(0x190)](_0x33a230(0x18d))['to'](this),this[_0x33a230(0x1c4)]=this[_0x33a230(0x1c1)](),this[_0x33a230(0x1c4)][_0x33a230(0x190)](_0x33a230(0x1cb))['to'](this),this[_0x33a230(0x1cf)]=this[_0x33a230(0x17d)](),this[_0x33a230(0x199)]=new _0x222873(),this[_0x33a230(0x194)]=new _0x8f6e96(),this[_0x33a230(0x17f)]=this[_0x33a230(0x1cc)]([this[_0x33a230(0x1a2)],this[_0x33a230(0x1a2)][_0x33a230(0x192)],this[_0x33a230(0x1c4)],this[_0x33a230(0x1cf)]]),this[_0x33a230(0x188)]=new _0x48cb0f({'focusables':this[_0x33a230(0x17f)],'focusTracker':this[_0x33a230(0x199)],'keystrokeHandler':this[_0x33a230(0x194)],'actions':{'focusPrevious':_0x33a230(0x1a1),'focusNext':_0x33a230(0x1a9)}}),this[_0x33a230(0x188)][_0x33a230(0x1a6)](this[_0x33a230(0x1cf)][_0x33a230(0x188)]),this[_0x33a230(0x1cf)][_0x33a230(0x1a3)][_0x33a230(0x1c8)][_0x33a230(0x190)](_0x33a230(0x18d))['to'](this,_0x33a230(0x19a));const _0x130614=this[_0x33a230(0x1ab)];this[_0x33a230(0x1c7)]({'tag':_0x33a230(0x184),'attributes':{'class':['ck',_0x33a230(0x1c0),_0x320680],'tabindex':'-1'},'children':[{'tag':_0x33a230(0x184),'attributes':{'class':['ck',_0x33a230(0x182)]},'children':[{'tag':_0x33a230(0x184),'attributes':{'class':[_0x130614['if'](_0x33a230(0x1cd),_0x33a230(0x1c9),_0x37426b=>!_0x37426b)]},'children':[this[_0x33a230(0x1d0)]]},this[_0x33a230(0x1a2)],this[_0x33a230(0x1c4)],this[_0x33a230(0x1cf)]]}]});}[_0x5b7c3e(0x1b8)](){const _0x3f9375=_0x5b7c3e;super[_0x3f9375(0x1b8)](),this[_0x3f9375(0x199)][_0x3f9375(0x183)](this[_0x3f9375(0x1a2)][_0x3f9375(0x196)]),this[_0x3f9375(0x199)][_0x3f9375(0x183)](this[_0x3f9375(0x1a2)][_0x3f9375(0x192)][_0x3f9375(0x196)]),this[_0x3f9375(0x199)][_0x3f9375(0x183)](this[_0x3f9375(0x1c4)][_0x3f9375(0x196)]),this[_0x3f9375(0x199)][_0x3f9375(0x183)](this[_0x3f9375(0x1cf)][_0x3f9375(0x196)]),this[_0x3f9375(0x194)][_0x3f9375(0x1c6)](this[_0x3f9375(0x196)]);}[_0x5b7c3e(0x1ac)](_0x48c33a=0x1){const _0x4f5944=_0x5b7c3e;-0x1===_0x48c33a?this[_0x4f5944(0x188)][_0x4f5944(0x19e)]():this[_0x4f5944(0x188)][_0x4f5944(0x1a5)]();}[_0x5b7c3e(0x1ce)](){const _0x331339=_0x5b7c3e;this[_0x331339(0x19a)]='',this[_0x331339(0x18d)]='',this[_0x331339(0x1cd)]=!0x1,this[_0x331339(0x1cf)][_0x331339(0x1ce)](),this[_0x331339(0x1a2)][_0x331339(0x1c2)]=!0x1,this[_0x331339(0x1c4)][_0x331339(0x1c2)]=!0x1;}[_0x5b7c3e(0x17d)](){const _0x5f2398=_0x5b7c3e,_0x546001=this[_0x5f2398(0x191)],_0x539f9b=new _0x2d754a(_0x546001,{'queryView':{'label':_0x1cbf05(_0x546001,_0x5f2398(0x1a4)),'creator':_0x5562da,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1cbf05(_0x546001,_0x5f2398(0x1ba)),'secondary':_0x1cbf05(_0x546001,_0x5f2398(0x1ae))}}},'filteredView':this[_0x5f2398(0x1bc)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x539f9b[_0x5f2398(0x190)](_0x5f2398(0x1a7))['to'](this,_0x5f2398(0x1a7),this,_0x5f2398(0x18c),(_0x28783c,_0x2eed50)=>_0x28783c&&!_0x2eed50),this[_0x5f2398(0x1c6)](_0x539f9b,_0x5f2398(0x19f),(_0x51136b,_0x4939d2)=>{const _0x2c8752=_0x5f2398;this[_0x2c8752(0x19a)]=_0x4939d2;const _0x23d682=_0x4572ea(_0x4939d2);this[_0x2c8752(0x1b7)](_0x2c8752(0x1b5),_0x23d682),_0x4939d2[_0x2c8752(0x185)]()&&this[_0x2c8752(0x1bb)][_0x2c8752(0x183)]({'prompt':_0x23d682},0x0);},{'priority':_0x5f2398(0x1b6)}),_0x539f9b;}[_0x5b7c3e(0x1bc)](){const _0x4b082e=_0x5b7c3e,_0xc88858=new _0x442b0d(this[_0x4b082e(0x191)]);return _0xc88858[_0x4b082e(0x18f)][_0x4b082e(0x193)][_0x4b082e(0x1b4)](this[_0x4b082e(0x1bb)])['as'](_0x7ed009),_0xc88858['on'](_0x4b082e(0x197),()=>{const _0x4b9bcd=_0x4b082e;this[_0x4b9bcd(0x1bb)][_0x4b9bcd(0x1be)](),this[_0x4b9bcd(0x1cf)][_0x4b9bcd(0x1b0)](''),this[_0x4b9bcd(0x1cf)][_0x4b9bcd(0x1ac)]();}),_0xc88858;}[_0x5b7c3e(0x1c1)](){const _0x4d7570=_0x5b7c3e,_0x237cdd=new _0x30bebc(this[_0x4d7570(0x191)]);return _0x237cdd[_0x4d7570(0x181)][_0x4d7570(0x190)](_0x4d7570(0x1a7))['to'](this,_0x4d7570(0x1a7),this,_0x4d7570(0x18c),this,_0x4d7570(0x18d),(_0x22d4f8,_0x11306c,_0x2c2c68)=>_0x22d4f8&&!_0x11306c&&!!_0x2c2c68),_0x237cdd[_0x4d7570(0x181)][_0x4d7570(0x189)](_0x4d7570(0x18e))['to'](this,_0x4d7570(0x1b3)),_0x237cdd[_0x4d7570(0x1af)][_0x4d7570(0x190)](_0x4d7570(0x1a7))['to'](this,_0x4d7570(0x1a7),this,_0x4d7570(0x18c),this,_0x4d7570(0x18d),(_0x55cd74,_0x2667da,_0x104ab5)=>_0x55cd74&&!_0x2667da&&!!_0x104ab5),_0x237cdd[_0x4d7570(0x1af)][_0x4d7570(0x189)](_0x4d7570(0x18e))['to'](this,_0x4d7570(0x19b)),_0x237cdd[_0x4d7570(0x1bd)][_0x4d7570(0x190)](_0x4d7570(0x1a7))['to'](this,_0x4d7570(0x1a7),this,_0x4d7570(0x18c),(_0x230694,_0x824cb1)=>_0x230694&&!_0x824cb1),_0x237cdd[_0x4d7570(0x1bd)][_0x4d7570(0x189)](_0x4d7570(0x18e))['to'](this,_0x4d7570(0x1b1)),_0x237cdd[_0x4d7570(0x18a)][_0x4d7570(0x190)](_0x4d7570(0x1a7))['to'](this,_0x4d7570(0x18c)),_0x237cdd[_0x4d7570(0x18a)][_0x4d7570(0x189)](_0x4d7570(0x18e))['to'](this,_0x4d7570(0x19d)),_0x237cdd;}[_0x5b7c3e(0x186)](){const _0x541fe4=_0x5b7c3e;this[_0x541fe4(0x18d)]='',this[_0x541fe4(0x1cd)]=!0x1,this[_0x541fe4(0x18c)]=!0x0,this[_0x541fe4(0x1a2)][_0x541fe4(0x1c2)]=!0x0,this[_0x541fe4(0x1c4)][_0x541fe4(0x1c2)]=!0x0,this[_0x541fe4(0x1a2)][_0x541fe4(0x1ac)]();}[_0x5b7c3e(0x180)](){const _0x3f509b=_0x5b7c3e,_0x298e65=this[_0x3f509b(0x191)];this[_0x3f509b(0x18c)]=!0x1,this[_0x3f509b(0x19a)]='',this[_0x3f509b(0x1cf)][_0x3f509b(0x1ce)](),this[_0x3f509b(0x18d)]&&(this[_0x3f509b(0x1cf)][_0x3f509b(0x1a3)][_0x3f509b(0x1ad)]=_0x1cbf05(_0x298e65,_0x3f509b(0x17c)));}[_0x5b7c3e(0x195)](_0x57ec57){const _0x473b2e=_0x5b7c3e,_0x2e3c7b=this[_0x473b2e(0x191)];this[_0x473b2e(0x180)](),this[_0x473b2e(0x1cd)]=!0x0,this[_0x473b2e(0x1d0)][_0x473b2e(0x198)]=_0x57ec57||_0x1cbf05(_0x2e3c7b,_0x473b2e(0x187)),this[_0x473b2e(0x18d)]||(this[_0x473b2e(0x1a2)][_0x473b2e(0x1c2)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3430ac,_0x47a1e5){const _0x261962=_0x5680,_0xb29c65=_0x3430ac();while(!![]){try{const _0x15e50b=parseInt(_0x261962(0x1f7))/0x1+-parseInt(_0x261962(0x1ff))/0x2*(parseInt(_0x261962(0x1fb))/0x3)+-parseInt(_0x261962(0x1f2))/0x4*(-parseInt(_0x261962(0x1fa))/0x5)+parseInt(_0x261962(0x1f8))/0x6+-parseInt(_0x261962(0x202))/0x7+-parseInt(_0x261962(0x200))/0x8*(-parseInt(_0x261962(0x1f6))/0x9)+parseInt(_0x261962(0x201))/0xa*(-parseInt(_0x261962(0x1f4))/0xb);if(_0x15e50b===_0x47a1e5)break;else _0xb29c65['push'](_0xb29c65['shift']());}catch(_0x556d5a){_0xb29c65['push'](_0xb29c65['shift']());}}}(_0x580b,0x221b4));import{ListItemView as _0x167834,ButtonView as _0x1e0fec,ButtonLabelView as _0x45186f}from'ckeditor5/src/ui.js';function _0x5680(_0x571f57,_0x15ad04){const _0x580bbd=_0x580b();return _0x5680=function(_0x568002,_0x2bd281){_0x568002=_0x568002-0x1f1;let _0x4a0733=_0x580bbd[_0x568002];return _0x4a0733;},_0x5680(_0x571f57,_0x15ad04);}import{unescape as _0x262bdd}from'lodash-es';export default class hs extends _0x167834{constructor(_0x4940e5){const _0x2cc8a2=_0x5680;super();const _0x28c432=new _0x45186f(),_0x4e4064=new _0x1e0fec(this[_0x2cc8a2(0x1f3)],_0x28c432);this[_0x2cc8a2(0x1fc)][_0x2cc8a2(0x1fe)](_0x4e4064),_0x4e4064[_0x2cc8a2(0x1f9)]({'label':_0x4940e5[_0x2cc8a2(0x1f5)],'withText':!0x0}),_0x4e4064['on'](_0x2cc8a2(0x1fd),()=>{const _0x1a9027=_0x2cc8a2;this[_0x1a9027(0x1f1)](_0x1a9027(0x1fd),{'value':_0x262bdd(_0x4940e5[_0x1a9027(0x1f5)])});});}}function _0x580b(){const _0x256b02=['2412LWjtwR','locale','11cvHjMx','prompt','2409507UOSinI','58649UvdLpM','394248zPlskx','set','1415HVPAqk','3nUcNhk','children','execute','add','339698sZTIAN','8HkhQPF','1067890JtzEaz','1024737tLqYlh','fire'];_0x580b=function(){return _0x256b02;};return _0x580b();}
23
+ function _0x5ee7(){const _0x30d1a7=['3XyTgLe','6331850LNvknX','prompt','1751584HUNoMF','1rQuRnS','locale','11538967vvRdSh','14yDzGQZ','execute','fire','set','2699980DVwVpz','children','add','1585456UoITJQ','2635yxGVxU','5904153oXiXPM','6918BiXloO'];_0x5ee7=function(){return _0x30d1a7;};return _0x5ee7();}function _0x307e(_0x235079,_0x42fc79){const _0x5ee728=_0x5ee7();return _0x307e=function(_0x307eca,_0x588d55){_0x307eca=_0x307eca-0x98;let _0x5008df=_0x5ee728[_0x307eca];return _0x5008df;},_0x307e(_0x235079,_0x42fc79);}(function(_0x2de8ad,_0x3f4667){const _0x227448=_0x307e,_0x20a120=_0x2de8ad();while(!![]){try{const _0x4bd0d6=parseInt(_0x227448(0x9a))/0x1*(-parseInt(_0x227448(0x99))/0x2)+parseInt(_0x227448(0xa8))/0x3*(-parseInt(_0x227448(0xa1))/0x4)+-parseInt(_0x227448(0xa5))/0x5*(-parseInt(_0x227448(0xa7))/0x6)+parseInt(_0x227448(0x9d))/0x7*(parseInt(_0x227448(0xa4))/0x8)+parseInt(_0x227448(0xa6))/0x9+-parseInt(_0x227448(0xa9))/0xa+parseInt(_0x227448(0x9c))/0xb;if(_0x4bd0d6===_0x3f4667)break;else _0x20a120['push'](_0x20a120['shift']());}catch(_0x1361ee){_0x20a120['push'](_0x20a120['shift']());}}}(_0x5ee7,0x802ed));import{ListItemView as _0x269dcc,ButtonView as _0x56f1f7,ButtonLabelView as _0x523fd5}from'ckeditor5/src/ui.js';import{unescape as _0x109cb0}from'lodash-es';export default class hs extends _0x269dcc{constructor(_0x38d86c){const _0x11de3d=_0x307e;super();const _0xa43beb=new _0x523fd5(),_0x108e5e=new _0x56f1f7(this[_0x11de3d(0x9b)],_0xa43beb);this[_0x11de3d(0xa2)][_0x11de3d(0xa3)](_0x108e5e),_0x108e5e[_0x11de3d(0xa0)]({'label':_0x38d86c[_0x11de3d(0x98)],'withText':!0x0}),_0x108e5e['on'](_0x11de3d(0x9e),()=>{const _0x251084=_0x11de3d;this[_0x251084(0x9f)](_0x251084(0x9e),{'value':_0x109cb0(_0x38d86c[_0x251084(0x98)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2bb1(_0x28c7bd,_0x5790d0){const _0x4828ef=_0x4828();return _0x2bb1=function(_0x2bb187,_0x597874){_0x2bb187=_0x2bb187-0x14e;let _0x2b7e7c=_0x4828ef[_0x2bb187];return _0x2b7e7c;},_0x2bb1(_0x28c7bd,_0x5790d0);}const _0xf89737=_0x2bb1;(function(_0x2452be,_0x31f27a){const _0x2df3a4=_0x2bb1,_0x799349=_0x2452be();while(!![]){try{const _0x4bda84=parseInt(_0x2df3a4(0x160))/0x1*(-parseInt(_0x2df3a4(0x165))/0x2)+-parseInt(_0x2df3a4(0x150))/0x3+-parseInt(_0x2df3a4(0x14f))/0x4+parseInt(_0x2df3a4(0x15d))/0x5+-parseInt(_0x2df3a4(0x167))/0x6+parseInt(_0x2df3a4(0x15f))/0x7*(-parseInt(_0x2df3a4(0x158))/0x8)+parseInt(_0x2df3a4(0x163))/0x9;if(_0x4bda84===_0x31f27a)break;else _0x799349['push'](_0x799349['shift']());}catch(_0x400318){_0x799349['push'](_0x799349['shift']());}}}(_0x4828,0x59308));function _0x4828(){const _0x17e807=['378591rSlzdb','Clear','Prompt\x20history','fire','delegate','_createClearHistoryButton','filter','add','392BpAcnv','set','clearHistory','locale','children','356465IDywDb','items','36155fXAjuE','1108GYhaAz','historyGroupView','clearHistoryButton','16922925WnLRQF','label','794wlJYrh','length','2889312mgZzbg','execute','1142352tGJoge'];_0x4828=function(){return _0x17e807;};return _0x4828();}import{ListView as _0x114691,ListItemGroupView as _0x41fe0c,ButtonView as _0xe10e0e}from'ckeditor5/src/ui.js';import{getTranslation as _0x7d0622}from'../../utils/common-translations.js';export default class rs extends _0x114691{constructor(_0x3a4160){const _0x12aa62=_0x2bb1;super(_0x3a4160),this[_0x12aa62(0x162)]=this[_0x12aa62(0x155)](),this[_0x12aa62(0x161)]=new _0x41fe0c(),this[_0x12aa62(0x161)][_0x12aa62(0x15c)][_0x12aa62(0x157)](this[_0x12aa62(0x162)],0x1),this[_0x12aa62(0x161)][_0x12aa62(0x164)]=_0x7d0622(_0x3a4160,_0x12aa62(0x152)),this[_0x12aa62(0x161)][_0x12aa62(0x15e)][_0x12aa62(0x154)](_0x12aa62(0x14e))['to'](this),this[_0x12aa62(0x15e)][_0x12aa62(0x157)](this[_0x12aa62(0x161)]);}[_0xf89737(0x156)](){const _0x57ff6c=_0xf89737;let _0x5604a8=0x0;for(const _0x259b32 of this[_0x57ff6c(0x15e)])_0x5604a8+=_0x259b32[_0x57ff6c(0x15e)][_0x57ff6c(0x166)];return{'resultsCount':_0x5604a8,'totalItemsCount':_0x5604a8};}[_0xf89737(0x155)](){const _0x15196e=_0xf89737,_0x29deda=this[_0x15196e(0x15b)],_0x1fc266=new _0xe10e0e(this[_0x15196e(0x15b)]);return _0x1fc266[_0x15196e(0x159)]({'label':'('+_0x7d0622(_0x29deda,_0x15196e(0x151))+')','withText':!0x0}),_0x1fc266['on'](_0x15196e(0x14e),()=>this[_0x15196e(0x153)](_0x15196e(0x15a))),_0x1fc266;}}
23
+ function _0x2938(){const _0x3ab171=['20fwOXkN','delegate','items','1622IALTov','12FYYHMD','length','set','locale','children','9GIhrtK','fire','1520560IAoYVY','add','412105laygkt','historyGroupView','8557090LeCnBN','779709PxXjqG','clearHistoryButton','label','6418914MPUMYA','filter','clearHistory','Clear','104FRyYyj','1632IwOEAR','Prompt\x20history','45014849nQnsCI','_createClearHistoryButton','execute'];_0x2938=function(){return _0x3ab171;};return _0x2938();}const _0x3349b9=_0x2d55;(function(_0x11a84f,_0x72217f){const _0x127cbe=_0x2d55,_0x5aa0f7=_0x11a84f();while(!![]){try{const _0x2674d3=parseInt(_0x127cbe(0x14f))/0x1+-parseInt(_0x127cbe(0x147))/0x2*(parseInt(_0x127cbe(0x13f))/0x3)+parseInt(_0x127cbe(0x144))/0x4*(parseInt(_0x127cbe(0x151))/0x5)+parseInt(_0x127cbe(0x13a))/0x6+-parseInt(_0x127cbe(0x154))/0x7*(-parseInt(_0x127cbe(0x13e))/0x8)+-parseInt(_0x127cbe(0x14d))/0x9*(-parseInt(_0x127cbe(0x153))/0xa)+-parseInt(_0x127cbe(0x141))/0xb*(parseInt(_0x127cbe(0x148))/0xc);if(_0x2674d3===_0x72217f)break;else _0x5aa0f7['push'](_0x5aa0f7['shift']());}catch(_0x269751){_0x5aa0f7['push'](_0x5aa0f7['shift']());}}}(_0x2938,0xbcaad));import{ListView as _0x319ff3,ListItemGroupView as _0x5e6c74,ButtonView as _0x5c912d}from'ckeditor5/src/ui.js';import{getTranslation as _0xd83b3d}from'../../utils/common-translations.js';function _0x2d55(_0x1567cb,_0x20e33c){const _0x293843=_0x2938();return _0x2d55=function(_0x2d557f,_0xa06869){_0x2d557f=_0x2d557f-0x138;let _0xb18720=_0x293843[_0x2d557f];return _0xb18720;},_0x2d55(_0x1567cb,_0x20e33c);}export default class rs extends _0x319ff3{constructor(_0x5b091c){const _0x34c582=_0x2d55;super(_0x5b091c),this[_0x34c582(0x138)]=this[_0x34c582(0x142)](),this[_0x34c582(0x152)]=new _0x5e6c74(),this[_0x34c582(0x152)][_0x34c582(0x14c)][_0x34c582(0x150)](this[_0x34c582(0x138)],0x1),this[_0x34c582(0x152)][_0x34c582(0x139)]=_0xd83b3d(_0x5b091c,_0x34c582(0x140)),this[_0x34c582(0x152)][_0x34c582(0x146)][_0x34c582(0x145)](_0x34c582(0x143))['to'](this),this[_0x34c582(0x146)][_0x34c582(0x150)](this[_0x34c582(0x152)]);}[_0x3349b9(0x13b)](){const _0x164ebd=_0x3349b9;let _0x3447ec=0x0;for(const _0x53e35e of this[_0x164ebd(0x146)])_0x3447ec+=_0x53e35e[_0x164ebd(0x146)][_0x164ebd(0x149)];return{'resultsCount':_0x3447ec,'totalItemsCount':_0x3447ec};}[_0x3349b9(0x142)](){const _0x3e2f52=_0x3349b9,_0x29ddd2=this[_0x3e2f52(0x14b)],_0x576621=new _0x5c912d(this[_0x3e2f52(0x14b)]);return _0x576621[_0x3e2f52(0x14a)]({'label':'('+_0xd83b3d(_0x29ddd2,_0x3e2f52(0x13d))+')','withText':!0x0}),_0x576621['on'](_0x3e2f52(0x143),()=>this[_0x3e2f52(0x14e)](_0x3e2f52(0x13c))),_0x576621;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1337(){const _0x552459=['getItem','toLowerCase','trim','remove','12NXOApV','last','add','prompt','105740nyQQQd','3426gzqbVX','_loadFromSessionStorage','18067vAHJZQ','setItem','parse','1IKzwEX','addMany','488562oWOjZy','833526JCzRjZ','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','935460YZpZPv','372KIujzv','106612StayAA','234FddFJP','312EIgetN','length','stringify','map'];_0x1337=function(){return _0x552459;};return _0x1337();}const _0x115cab=_0x1533;(function(_0x500ac4,_0x135b56){const _0x4c5bb6=_0x1533,_0x4b5713=_0x500ac4();while(!![]){try{const _0x28796f=parseInt(_0x4c5bb6(0x19e))/0x1*(-parseInt(_0x4c5bb6(0x1a0))/0x2)+-parseInt(_0x4c5bb6(0x199))/0x3*(parseInt(_0x4c5bb6(0x1a5))/0x4)+parseInt(_0x4c5bb6(0x1a4))/0x5+parseInt(_0x4c5bb6(0x1a1))/0x6+parseInt(_0x4c5bb6(0x19b))/0x7*(-parseInt(_0x4c5bb6(0x1a8))/0x8)+-parseInt(_0x4c5bb6(0x1a7))/0x9*(-parseInt(_0x4c5bb6(0x198))/0xa)+-parseInt(_0x4c5bb6(0x1a6))/0xb*(parseInt(_0x4c5bb6(0x194))/0xc);if(_0x28796f===_0x135b56)break;else _0x4b5713['push'](_0x4b5713['shift']());}catch(_0x136f48){_0x4b5713['push'](_0x4b5713['shift']());}}}(_0x1337,0x22343));import{Collection as _0x3c7aa7}from'ckeditor5/src/utils.js';function _0x1533(_0x1cee02,_0x3f357d){const _0x133778=_0x1337();return _0x1533=function(_0x15333a,_0x576a08){_0x15333a=_0x15333a-0x193;let _0x1f757c=_0x133778[_0x15333a];return _0x1f757c;},_0x1533(_0x1cee02,_0x3f357d);}const cs=_0x115cab(0x1a3);export default class os extends _0x3c7aa7{constructor(){const _0x1f7d4a=_0x115cab;super(),this[_0x1f7d4a(0x19a)](),this['on'](_0x1f7d4a(0x196),(_0xf80c21,_0x3d7483)=>{const _0x575174=_0x1f7d4a,_0x26374c=Ss(_0x3d7483[_0x575174(0x197)]);for(const _0x59ce51 of this)if(_0x59ce51!=_0x3d7483&&Ss(_0x59ce51[_0x575174(0x197)])===_0x26374c){this[_0x575174(0x193)](_0x59ce51);break;}this[_0x575174(0x1a9)]>0x14&&this[_0x575174(0x193)](this[_0x575174(0x195)]),this[_0x575174(0x1a2)]();}),this['on'](_0x1f7d4a(0x193),()=>{const _0x16ac94=_0x1f7d4a;this[_0x16ac94(0x1a2)]();});}[_0x115cab(0x19a)](){const _0x131aa0=_0x115cab,_0x11176e=sessionStorage[_0x131aa0(0x1ac)](cs)||'[]';this[_0x131aa0(0x19f)](JSON[_0x131aa0(0x19d)](_0x11176e));}[_0x115cab(0x1a2)](){const _0x150cf2=_0x115cab;sessionStorage[_0x150cf2(0x19c)](cs,JSON[_0x150cf2(0x1aa)](this[_0x150cf2(0x1ab)](_0x1f477d=>_0x1f477d)));}}function Ss(_0x381eba){const _0xb8acd8=_0x115cab;return _0x381eba[_0xb8acd8(0x1ad)]()[_0xb8acd8(0x1ae)]();}
23
+ const _0x297a64=_0x2c85;(function(_0x570eb6,_0x4168ab){const _0x2d0eee=_0x2c85,_0xbd2a1c=_0x570eb6();while(!![]){try{const _0x5cda23=-parseInt(_0x2d0eee(0x1c2))/0x1*(parseInt(_0x2d0eee(0x1c8))/0x2)+parseInt(_0x2d0eee(0x1d3))/0x3+parseInt(_0x2d0eee(0x1c6))/0x4+parseInt(_0x2d0eee(0x1d1))/0x5+parseInt(_0x2d0eee(0x1cc))/0x6+parseInt(_0x2d0eee(0x1d6))/0x7+-parseInt(_0x2d0eee(0x1c4))/0x8;if(_0x5cda23===_0x4168ab)break;else _0xbd2a1c['push'](_0xbd2a1c['shift']());}catch(_0x527a38){_0xbd2a1c['push'](_0xbd2a1c['shift']());}}}(_0x336d,0xc75f6));function _0x336d(){const _0x31e95f=['addMany','prompt','7894390MxKylg','stringify','trim','last','2nkyVdA','add','19211944QwsvOl','remove','4422544SqkaIM','CKEditor/AIFormView/PromptHistory','1179184GJpLVn','length','_loadFromSessionStorage','parse','4507788MIgHiB','getItem','_saveToSessionStorage','toLowerCase','setItem','6726330cjgiCo','map','202011IxKddg'];_0x336d=function(){return _0x31e95f;};return _0x336d();}import{Collection as _0x201180}from'ckeditor5/src/utils.js';function _0x2c85(_0x3398f4,_0x5d8d3f){const _0x336d1d=_0x336d();return _0x2c85=function(_0x2c85ea,_0x1bd7e8){_0x2c85ea=_0x2c85ea-0x1c0;let _0x3b1d5d=_0x336d1d[_0x2c85ea];return _0x3b1d5d;},_0x2c85(_0x3398f4,_0x5d8d3f);}const cs=_0x297a64(0x1c7);export default class os extends _0x201180{constructor(){const _0x321ac8=_0x297a64;super(),this[_0x321ac8(0x1ca)](),this['on'](_0x321ac8(0x1c3),(_0x5e8512,_0x584d37)=>{const _0x32e93b=_0x321ac8,_0x3d3093=Ss(_0x584d37[_0x32e93b(0x1d5)]);for(const _0x22843c of this)if(_0x22843c!=_0x584d37&&Ss(_0x22843c[_0x32e93b(0x1d5)])===_0x3d3093){this[_0x32e93b(0x1c5)](_0x22843c);break;}this[_0x32e93b(0x1c9)]>0x14&&this[_0x32e93b(0x1c5)](this[_0x32e93b(0x1c1)]),this[_0x32e93b(0x1ce)]();}),this['on'](_0x321ac8(0x1c5),()=>{const _0x4532c8=_0x321ac8;this[_0x4532c8(0x1ce)]();});}[_0x297a64(0x1ca)](){const _0x24e398=_0x297a64,_0x491485=sessionStorage[_0x24e398(0x1cd)](cs)||'[]';this[_0x24e398(0x1d4)](JSON[_0x24e398(0x1cb)](_0x491485));}[_0x297a64(0x1ce)](){const _0x403033=_0x297a64;sessionStorage[_0x403033(0x1d0)](cs,JSON[_0x403033(0x1d7)](this[_0x403033(0x1d2)](_0x547221=>_0x547221)));}}function Ss(_0x2e5bc0){const _0x1de12d=_0x297a64;return _0x2e5bc0[_0x1de12d(0x1cf)]()[_0x1de12d(0x1c0)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x423298=_0x431a;(function(_0x2aaa24,_0x34221a){const _0x26e515=_0x431a,_0x559c3c=_0x2aaa24();while(!![]){try{const _0x3d94fc=parseInt(_0x26e515(0x189))/0x1*(parseInt(_0x26e515(0x185))/0x2)+-parseInt(_0x26e515(0x199))/0x3+-parseInt(_0x26e515(0x196))/0x4*(parseInt(_0x26e515(0x18b))/0x5)+parseInt(_0x26e515(0x19a))/0x6*(-parseInt(_0x26e515(0x192))/0x7)+parseInt(_0x26e515(0x197))/0x8*(parseInt(_0x26e515(0x194))/0x9)+-parseInt(_0x26e515(0x1a8))/0xa*(-parseInt(_0x26e515(0x195))/0xb)+-parseInt(_0x26e515(0x187))/0xc;if(_0x3d94fc===_0x34221a)break;else _0x559c3c['push'](_0x559c3c['shift']());}catch(_0x371ab3){_0x559c3c['push'](_0x559c3c['shift']());}}}(_0x27ce,0x78468));function _0x431a(_0x4f20ff,_0x4aa39e){const _0x27ce93=_0x27ce();return _0x431a=function(_0x431a72,_0x4d8722){_0x431a72=_0x431a72-0x182;let _0x4b0a19=_0x27ce93[_0x431a72];return _0x4b0a19;},_0x431a(_0x4f20ff,_0x4aa39e);}import{Command as _0x20cc13}from'ckeditor5/src/core.js';import _0x52bfd0 from'../aiassistantui.js';export default class C extends _0x20cc13{constructor(_0x1e10a6,_0x137d16){const _0xfc5503=_0x431a;super(_0x1e10a6),this[_0xfc5503(0x190)]=_0x137d16,this[_0xfc5503(0x191)](_0xfc5503(0x1aa),[]),this['on'](_0xfc5503(0x1ac),(_0x24be58,_0x1b2f24,_0x3674d8)=>{const _0x52ec3d=_0xfc5503;this[_0x52ec3d(0x1a0)]&&(this[_0x52ec3d(0x1aa)]=F(this[_0x52ec3d(0x190)],_0x3674d8));}),this[_0xfc5503(0x191)](_0xfc5503(0x18d),!0x1),this['on'](_0xfc5503(0x18e),(_0x42c294,_0x2b71ee,_0x2b345)=>{const _0x2bae3d=_0xfc5503;this[_0x2bae3d(0x1aa)]=_0x2b345?F(this[_0x2bae3d(0x190)],this[_0x2bae3d(0x18d)]):[];});}[_0x423298(0x1a2)](){const _0x2b162e=_0x423298,_0x187fa9=this[_0x2b162e(0x19c)][_0x2b162e(0x1a7)];this[_0x2b162e(0x18d)]=function(_0x167a8a){const _0x1f99fa=_0x2b162e,_0x34092d=_0x167a8a[_0x1f99fa(0x1a5)][_0x1f99fa(0x18f)];return _0x34092d[_0x1f99fa(0x19f)]?0x0!==[..._0x34092d[_0x1f99fa(0x1ae)]()][_0x1f99fa(0x1a1)]&&![..._0x34092d[_0x1f99fa(0x1ae)]()][0x0][_0x1f99fa(0x18a)]:!!_0x167a8a[_0x1f99fa(0x193)](_0x34092d[_0x1f99fa(0x182)]());}(_0x187fa9);const _0x3a1ca2=_0x187fa9[_0x2b162e(0x1a5)][_0x2b162e(0x18f)],_0x37c426=this[_0x2b162e(0x19c)][_0x2b162e(0x198)][_0x2b162e(0x184)](_0x2b162e(0x1a4));for(const _0x3a0b6d of _0x3a1ca2[_0x2b162e(0x18c)]())for(const _0x1ab89a of _0x3a0b6d[_0x2b162e(0x19e)]())if(_0x1ab89a['is'](_0x2b162e(0x183))&&_0x37c426[_0x2b162e(0x188)](_0x1ab89a[_0x2b162e(0x1ad)]))return void(this[_0x2b162e(0x1a0)]=!0x1);this[_0x2b162e(0x1a0)]=!0x0;}[_0x423298(0x1ab)](_0x3564df='',_0x4489d1='',_0x4f3845=_0x423298(0x1af)){const _0x5449d=_0x423298;this[_0x5449d(0x19c)][_0x5449d(0x1a9)][_0x5449d(0x184)](_0x52bfd0)[_0x5449d(0x1a3)](_0x3564df,_0x4489d1,_0x4f3845);}}function F(_0x1e2149,_0x95819c){const _0x4f6a27=_0x423298,_0x45c93c=new Set();for(const _0x229a96 of _0x1e2149[_0x4f6a27(0x19b)]())(_0x95819c||!0x1===_0x229a96[_0x4f6a27(0x186)])&&_0x45c93c[_0x4f6a27(0x19d)](_0x229a96['id']);return Array[_0x4f6a27(0x1a6)](_0x45c93c);}function _0x27ce(){const _0x176fe8=['showUI','ai.aiAssistant.disabledElements','document','from','model','10zsggXI','plugins','enabledCommandsIds','execute','change:_hasContext','name','getSelectedBlocks','custom','getFirstRange','element','get','142QlVIVm','requiresContent','11717868WBDFdK','includes','12034CuTzll','isEmpty','5TigekD','getRanges','_hasContext','change:isEnabled','selection','_commandDefinitions','set','119WWuEer','hasContent','7445223MecRRb','6756827WsQYmN','1538024BkObkj','8ClBUqR','config','422442yMaMRi','106398kSSPZg','values','editor','add','getItems','isCollapsed','isEnabled','length','refresh'];_0x27ce=function(){return _0x176fe8;};return _0x27ce();}
23
+ const _0x5578a5=_0x10c6;(function(_0x1a2fab,_0x537a84){const _0x322f8d=_0x10c6,_0x65bbb=_0x1a2fab();while(!![]){try{const _0x2613b4=-parseInt(_0x322f8d(0xa4))/0x1+parseInt(_0x322f8d(0xb4))/0x2*(parseInt(_0x322f8d(0xbf))/0x3)+parseInt(_0x322f8d(0xb3))/0x4+parseInt(_0x322f8d(0xbc))/0x5+-parseInt(_0x322f8d(0xcd))/0x6*(parseInt(_0x322f8d(0xa5))/0x7)+parseInt(_0x322f8d(0xc9))/0x8*(-parseInt(_0x322f8d(0xa7))/0x9)+-parseInt(_0x322f8d(0xaa))/0xa;if(_0x2613b4===_0x537a84)break;else _0x65bbb['push'](_0x65bbb['shift']());}catch(_0x2ca5b5){_0x65bbb['push'](_0x65bbb['shift']());}}}(_0x44df,0xe10f5));import{Command as _0xdece7e}from'ckeditor5/src/core.js';import _0x3dca94 from'../aiassistantui.js';export default class C extends _0xdece7e{constructor(_0x1fb03e,_0x262180){const _0x12fe5b=_0x10c6;super(_0x1fb03e),this[_0x12fe5b(0xaf)]=_0x262180,this[_0x12fe5b(0xb9)](_0x12fe5b(0xbd),[]),this['on'](_0x12fe5b(0xb0),(_0x2571ee,_0x1b0b4f,_0xb2df54)=>{const _0x4c3f8b=_0x12fe5b;this[_0x4c3f8b(0xc2)]&&(this[_0x4c3f8b(0xbd)]=F(this[_0x4c3f8b(0xaf)],_0xb2df54));}),this[_0x12fe5b(0xb9)](_0x12fe5b(0xab),!0x1),this['on'](_0x12fe5b(0xb7),(_0x43d0ea,_0x3446bb,_0x46e641)=>{const _0x3b3fa6=_0x12fe5b;this[_0x3b3fa6(0xbd)]=_0x46e641?F(this[_0x3b3fa6(0xaf)],this[_0x3b3fa6(0xab)]):[];});}[_0x5578a5(0xad)](){const _0x162dea=_0x5578a5,_0x3b9942=this[_0x162dea(0xb8)][_0x162dea(0xc7)];this[_0x162dea(0xab)]=function(_0x215c06){const _0x46168b=_0x162dea,_0x269a03=_0x215c06[_0x46168b(0xcf)][_0x46168b(0xb5)];return _0x269a03[_0x46168b(0xb1)]?0x0!==[..._0x269a03[_0x46168b(0xa9)]()][_0x46168b(0xb6)]&&![..._0x269a03[_0x46168b(0xa9)]()][0x0][_0x46168b(0xc4)]:!!_0x215c06[_0x46168b(0xc3)](_0x269a03[_0x46168b(0xb2)]());}(_0x3b9942);const _0x370aa5=_0x3b9942[_0x162dea(0xcf)][_0x162dea(0xb5)],_0xb30df2=this[_0x162dea(0xb8)][_0x162dea(0xbb)][_0x162dea(0xce)](_0x162dea(0xc5));for(const _0x235336 of _0x370aa5[_0x162dea(0xcb)]())for(const _0x270065 of _0x235336[_0x162dea(0xac)]())if(_0x270065['is'](_0x162dea(0xc0))&&_0xb30df2[_0x162dea(0xbe)](_0x270065[_0x162dea(0xa6)]))return void(this[_0x162dea(0xc2)]=!0x1);this[_0x162dea(0xc2)]=!0x0;}[_0x5578a5(0xcc)](_0x550cfe='',_0x224255='',_0x3a423c=_0x5578a5(0xc1)){const _0x4a67b4=_0x5578a5;this[_0x4a67b4(0xb8)][_0x4a67b4(0xc8)][_0x4a67b4(0xce)](_0x3dca94)[_0x4a67b4(0xca)](_0x550cfe,_0x224255,_0x3a423c);}}function _0x10c6(_0x14c426,_0x682fd){const _0x44df22=_0x44df();return _0x10c6=function(_0x10c67d,_0x4f2316){_0x10c67d=_0x10c67d-0xa4;let _0x4964a8=_0x44df22[_0x10c67d];return _0x4964a8;},_0x10c6(_0x14c426,_0x682fd);}function _0x44df(){const _0x327bd6=['execute','666aaJjoV','get','document','7359Oehzwt','95312Rpxghl','name','11403IqOidF','values','getSelectedBlocks','10226420voDmth','_hasContext','getItems','refresh','add','_commandDefinitions','change:_hasContext','isCollapsed','getFirstRange','4978812KiaAhi','8aSjxSm','selection','length','change:isEnabled','editor','set','requiresContent','config','8889550CBMxrW','enabledCommandsIds','includes','871149TcbRRo','element','custom','isEnabled','hasContent','isEmpty','ai.aiAssistant.disabledElements','from','model','plugins','4552FnvZdC','showUI','getRanges'];_0x44df=function(){return _0x327bd6;};return _0x44df();}function F(_0x58de26,_0x128b45){const _0x1277de=_0x5578a5,_0x3715ab=new Set();for(const _0x9a3a52 of _0x58de26[_0x1277de(0xa8)]())(_0x128b45||!0x1===_0x9a3a52[_0x1277de(0xba)])&&_0x3715ab[_0x1277de(0xae)](_0x9a3a52['id']);return Array[_0x1277de(0xc6)](_0x3715ab);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x525793,_0x331eb0,_0x48fc88){const t=_0x525793['t'];switch(_0x331eb0){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',_0x48fc88);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x48fc88);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'},_0x48fc88);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 _0x331eb0;}}
23
+ export function getTranslation(_0x310d71,_0x368acc,_0x1d6625){const t=_0x310d71['t'];switch(_0x368acc){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',_0x1d6625);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1d6625);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'},_0x1d6625);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 _0x368acc;}}