@ckeditor/ckeditor5-ai 41.3.0-alpha.4 → 41.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/build/ai.js +6 -6
  2. package/build/translations/es-co.js +1 -1
  3. package/lang/translations/es-co.po +53 -53
  4. package/package.json +4 -5
  5. package/src/adapters/aiadapter.js +1 -1
  6. package/src/adapters/aitextadapter.js +1 -1
  7. package/src/adapters/awstextadapter.d.ts +1 -0
  8. package/src/adapters/awstextadapter.js +1 -1
  9. package/src/adapters/openaitextadapter.d.ts +3 -1
  10. package/src/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant.js +1 -1
  12. package/src/aiassistantediting.js +1 -1
  13. package/src/aiassistantui.js +1 -1
  14. package/src/index.js +1 -1
  15. package/src/ui/aiassistantcontroller.js +1 -1
  16. package/src/ui/dropdown/aicommandslistview.js +1 -1
  17. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  18. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  19. package/src/ui/form/aiformcontentarea.js +1 -1
  20. package/src/ui/form/aiformerrorview.js +1 -1
  21. package/src/ui/form/aiformpromptview.js +1 -1
  22. package/src/ui/form/aiformtoolbarview.js +1 -1
  23. package/src/ui/form/aiformview.js +1 -1
  24. package/src/ui/form/aihistorylistitemview.js +1 -1
  25. package/src/ui/form/aihistorylistview.js +1 -1
  26. package/src/ui/form/prompthistory.js +1 -1
  27. package/src/ui/showaiassistantcommand.js +1 -1
  28. package/src/utils/common-translations.js +1 -1
  29. package/dist/content-index.css +0 -332
  30. package/dist/editor-index.css +0 -573
  31. package/dist/index.css +0 -1344
  32. package/dist/translations/af.d.ts +0 -8
  33. package/dist/translations/af.js +0 -23
  34. package/dist/translations/ar.d.ts +0 -8
  35. package/dist/translations/ar.js +0 -23
  36. package/dist/translations/bg.d.ts +0 -8
  37. package/dist/translations/bg.js +0 -23
  38. package/dist/translations/bn.d.ts +0 -8
  39. package/dist/translations/bn.js +0 -23
  40. package/dist/translations/bs.d.ts +0 -8
  41. package/dist/translations/bs.js +0 -23
  42. package/dist/translations/ca.d.ts +0 -8
  43. package/dist/translations/ca.js +0 -23
  44. package/dist/translations/cs.d.ts +0 -8
  45. package/dist/translations/cs.js +0 -23
  46. package/dist/translations/da.d.ts +0 -8
  47. package/dist/translations/da.js +0 -23
  48. package/dist/translations/de-ch.d.ts +0 -8
  49. package/dist/translations/de-ch.js +0 -23
  50. package/dist/translations/de.d.ts +0 -8
  51. package/dist/translations/de.js +0 -23
  52. package/dist/translations/el.d.ts +0 -8
  53. package/dist/translations/el.js +0 -23
  54. package/dist/translations/en-au.d.ts +0 -8
  55. package/dist/translations/en-au.js +0 -23
  56. package/dist/translations/en.d.ts +0 -8
  57. package/dist/translations/en.js +0 -23
  58. package/dist/translations/es-co.d.ts +0 -8
  59. package/dist/translations/es-co.js +0 -23
  60. package/dist/translations/es.d.ts +0 -8
  61. package/dist/translations/es.js +0 -23
  62. package/dist/translations/et.d.ts +0 -8
  63. package/dist/translations/et.js +0 -23
  64. package/dist/translations/fa.d.ts +0 -8
  65. package/dist/translations/fa.js +0 -23
  66. package/dist/translations/fi.d.ts +0 -8
  67. package/dist/translations/fi.js +0 -23
  68. package/dist/translations/fr.d.ts +0 -8
  69. package/dist/translations/fr.js +0 -23
  70. package/dist/translations/gl.d.ts +0 -8
  71. package/dist/translations/gl.js +0 -23
  72. package/dist/translations/he.d.ts +0 -8
  73. package/dist/translations/he.js +0 -23
  74. package/dist/translations/hi.d.ts +0 -8
  75. package/dist/translations/hi.js +0 -23
  76. package/dist/translations/hr.d.ts +0 -8
  77. package/dist/translations/hr.js +0 -23
  78. package/dist/translations/hu.d.ts +0 -8
  79. package/dist/translations/hu.js +0 -23
  80. package/dist/translations/id.d.ts +0 -8
  81. package/dist/translations/id.js +0 -23
  82. package/dist/translations/it.d.ts +0 -8
  83. package/dist/translations/it.js +0 -23
  84. package/dist/translations/ja.d.ts +0 -8
  85. package/dist/translations/ja.js +0 -23
  86. package/dist/translations/jv.d.ts +0 -8
  87. package/dist/translations/jv.js +0 -23
  88. package/dist/translations/ko.d.ts +0 -8
  89. package/dist/translations/ko.js +0 -23
  90. package/dist/translations/lt.d.ts +0 -8
  91. package/dist/translations/lt.js +0 -23
  92. package/dist/translations/lv.d.ts +0 -8
  93. package/dist/translations/lv.js +0 -23
  94. package/dist/translations/ms.d.ts +0 -8
  95. package/dist/translations/ms.js +0 -23
  96. package/dist/translations/nl.d.ts +0 -8
  97. package/dist/translations/nl.js +0 -23
  98. package/dist/translations/no.d.ts +0 -8
  99. package/dist/translations/no.js +0 -23
  100. package/dist/translations/pl.d.ts +0 -8
  101. package/dist/translations/pl.js +0 -23
  102. package/dist/translations/pt-br.d.ts +0 -8
  103. package/dist/translations/pt-br.js +0 -23
  104. package/dist/translations/pt.d.ts +0 -8
  105. package/dist/translations/pt.js +0 -23
  106. package/dist/translations/ro.d.ts +0 -8
  107. package/dist/translations/ro.js +0 -23
  108. package/dist/translations/ru.d.ts +0 -8
  109. package/dist/translations/ru.js +0 -23
  110. package/dist/translations/sk.d.ts +0 -8
  111. package/dist/translations/sk.js +0 -23
  112. package/dist/translations/sr-latn.d.ts +0 -8
  113. package/dist/translations/sr-latn.js +0 -23
  114. package/dist/translations/sr.d.ts +0 -8
  115. package/dist/translations/sr.js +0 -23
  116. package/dist/translations/sv.d.ts +0 -8
  117. package/dist/translations/sv.js +0 -23
  118. package/dist/translations/th.d.ts +0 -8
  119. package/dist/translations/th.js +0 -23
  120. package/dist/translations/tk.d.ts +0 -8
  121. package/dist/translations/tk.js +0 -23
  122. package/dist/translations/tr.d.ts +0 -8
  123. package/dist/translations/tr.js +0 -23
  124. package/dist/translations/ug.d.ts +0 -8
  125. package/dist/translations/ug.js +0 -23
  126. package/dist/translations/uk.d.ts +0 -8
  127. package/dist/translations/uk.js +0 -23
  128. package/dist/translations/ur.d.ts +0 -8
  129. package/dist/translations/ur.js +0 -23
  130. package/dist/translations/uz.d.ts +0 -8
  131. package/dist/translations/uz.js +0 -23
  132. package/dist/translations/vi.d.ts +0 -8
  133. package/dist/translations/vi.js +0 -23
  134. package/dist/translations/zh-cn.d.ts +0 -8
  135. package/dist/translations/zh-cn.js +0 -23
  136. package/dist/translations/zh.d.ts +0 -8
  137. package/dist/translations/zh.js +0 -23
  138. package/dist/types/adapters/aiadapter.d.ts +0 -52
  139. package/dist/types/adapters/aitextadapter.d.ts +0 -150
  140. package/dist/types/adapters/awstextadapter.d.ts +0 -182
  141. package/dist/types/adapters/openaitextadapter.d.ts +0 -185
  142. package/dist/types/aiassistant.d.ts +0 -390
  143. package/dist/types/aiassistantediting.d.ts +0 -50
  144. package/dist/types/aiassistantui.d.ts +0 -57
  145. package/dist/types/aiconfig.d.ts +0 -73
  146. package/dist/types/augmentation.d.ts +0 -31
  147. package/dist/types/index.d.ts +0 -17
  148. package/dist/types/ui/aiassistantcontroller.d.ts +0 -113
  149. package/dist/types/ui/dropdown/aicommandslistview.d.ts +0 -37
  150. package/dist/types/ui/dropdown/buttonlabelwithhighlightview.d.ts +0 -33
  151. package/dist/types/ui/dropdown/labelwithhighlightview.d.ts +0 -29
  152. package/dist/types/ui/form/aiformcontentarea.d.ts +0 -52
  153. package/dist/types/ui/form/aiformerrorview.d.ts +0 -30
  154. package/dist/types/ui/form/aiformpromptview.d.ts +0 -50
  155. package/dist/types/ui/form/aiformtoolbarview.d.ts +0 -62
  156. package/dist/types/ui/form/aiformview.d.ts +0 -145
  157. package/dist/types/ui/form/aihistorylistitemview.d.ts +0 -22
  158. package/dist/types/ui/form/aihistorylistview.d.ts +0 -39
  159. package/dist/types/ui/form/prompthistory.d.ts +0 -24
  160. package/dist/types/ui/showaiassistantcommand.d.ts +0 -44
  161. package/dist/types/utils/common-translations.d.ts +0 -13
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x239c(_0x5d50a9,_0x470be4){const _0x23e1f9=_0x23e1();return _0x239c=function(_0x239caf,_0x42904a){_0x239caf=_0x239caf-0x131;let _0x1bf435=_0x23e1f9[_0x239caf];return _0x1bf435;},_0x239c(_0x5d50a9,_0x470be4);}(function(_0x1a90f5,_0x5997d8){const _0x25bf73=_0x239c,_0x106a28=_0x1a90f5();while(!![]){try{const _0x2f5c64=-parseInt(_0x25bf73(0x139))/0x1*(-parseInt(_0x25bf73(0x137))/0x2)+-parseInt(_0x25bf73(0x13d))/0x3*(-parseInt(_0x25bf73(0x134))/0x4)+parseInt(_0x25bf73(0x133))/0x5*(-parseInt(_0x25bf73(0x13e))/0x6)+parseInt(_0x25bf73(0x13a))/0x7*(parseInt(_0x25bf73(0x141))/0x8)+parseInt(_0x25bf73(0x138))/0x9*(-parseInt(_0x25bf73(0x132))/0xa)+parseInt(_0x25bf73(0x13f))/0xb+parseInt(_0x25bf73(0x131))/0xc;if(_0x2f5c64===_0x5997d8)break;else _0x106a28['push'](_0x106a28['shift']());}catch(_0x128441){_0x106a28['push'](_0x106a28['shift']());}}}(_0x23e1,0xe1741));function _0x23e1(){const _0x5248e6=['9FgfiiE','458479XNpkgS','ck-label','set','55551MMnGKH','2671632lfOapv','1029215Pwjrni','extendTemplate','8yanxwX','bindTemplate','27489456NmkWiB','18189320NtTmDI','15tYYHLj','48CwULTG','for','ck-editor__label_','312478cUkkLV','9EYxRnC'];_0x23e1=function(){return _0x5248e6;};return _0x23e1();}import{HighlightedTextView as _0x266d9c}from'ckeditor5/src/ui.js';import{uid as _0x253c0}from'ckeditor5/src/utils.js';export default class k extends _0x266d9c{constructor(){const _0x45eca7=_0x239c;super(),this[_0x45eca7(0x13c)](_0x45eca7(0x135),void 0x0);const _0x4ef6e1=this[_0x45eca7(0x142)];this['id']=_0x45eca7(0x136)+_0x253c0(),this[_0x45eca7(0x140)]({'attributes':{'class':['ck',_0x45eca7(0x13b)],'id':this['id'],'for':_0x4ef6e1['to'](_0x45eca7(0x135))}});}}
23
+ function _0x4af0(_0x28b465,_0x10c204){const _0x267e97=_0x267e();return _0x4af0=function(_0x4af045,_0x49dd1){_0x4af045=_0x4af045-0xab;let _0xdf0063=_0x267e97[_0x4af045];return _0xdf0063;},_0x4af0(_0x28b465,_0x10c204);}(function(_0x17f58a,_0x18c08f){const _0x27c553=_0x4af0,_0x272adf=_0x17f58a();while(!![]){try{const _0x243829=parseInt(_0x27c553(0xb0))/0x1+-parseInt(_0x27c553(0xaf))/0x2*(parseInt(_0x27c553(0xb2))/0x3)+parseInt(_0x27c553(0xba))/0x4*(-parseInt(_0x27c553(0xbb))/0x5)+-parseInt(_0x27c553(0xb8))/0x6+parseInt(_0x27c553(0xab))/0x7*(parseInt(_0x27c553(0xb6))/0x8)+parseInt(_0x27c553(0xae))/0x9*(parseInt(_0x27c553(0xb9))/0xa)+parseInt(_0x27c553(0xb1))/0xb;if(_0x243829===_0x18c08f)break;else _0x272adf['push'](_0x272adf['shift']());}catch(_0x5872e5){_0x272adf['push'](_0x272adf['shift']());}}}(_0x267e,0x8793f));import{HighlightedTextView as _0x3c2f36}from'ckeditor5/src/ui.js';import{uid as _0x429206}from'ckeditor5/src/utils.js';function _0x267e(){const _0x51e078=['20049568WjtvAe','393mORwIT','set','for','ck-editor__label_','15504nRRROI','ck-label','4939932AvYqxt','80YqTNuH','4dSAnDj','2833685orcddq','133iIosvl','bindTemplate','extendTemplate','275490eEsunE','5510DlJMuq','201901zATQKA'];_0x267e=function(){return _0x51e078;};return _0x267e();}export default class S extends _0x3c2f36{constructor(){const _0x5ba45e=_0x4af0;super(),this[_0x5ba45e(0xb3)](_0x5ba45e(0xb4),void 0x0);const _0x2c3ece=this[_0x5ba45e(0xac)];this['id']=_0x5ba45e(0xb5)+_0x429206(),this[_0x5ba45e(0xad)]({'attributes':{'class':['ck',_0x5ba45e(0xb7)],'id':this['id'],'for':_0x2c3ece['to'](_0x5ba45e(0xb4))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x356e83=_0x2a2a;(function(_0x56cff5,_0x2e40bb){const _0x3f69a3=_0x2a2a,_0x54a563=_0x56cff5();while(!![]){try{const _0x524e5c=-parseInt(_0x3f69a3(0x223))/0x1+parseInt(_0x3f69a3(0x215))/0x2*(-parseInt(_0x3f69a3(0x1ed))/0x3)+parseInt(_0x3f69a3(0x1ee))/0x4*(parseInt(_0x3f69a3(0x209))/0x5)+parseInt(_0x3f69a3(0x1e3))/0x6+-parseInt(_0x3f69a3(0x1f9))/0x7+parseInt(_0x3f69a3(0x208))/0x8+-parseInt(_0x3f69a3(0x229))/0x9*(parseInt(_0x3f69a3(0x21b))/0xa);if(_0x524e5c===_0x2e40bb)break;else _0x54a563['push'](_0x54a563['shift']());}catch(_0x39148a){_0x54a563['push'](_0x54a563['shift']());}}}(_0x3658,0x33623));import{global as _0x6fadc5}from'ckeditor5/src/utils.js';import{View as _0x556a41,ButtonView as _0x21e688,SpinnerView as _0x4bd1f6}from'ckeditor5/src/ui.js';import _0xf8f3a3 from'../../../theme/icons/copy.svg';import{getTranslation as _0x1b137d}from'../../utils/common-translations.js';import{icons as _0x2c6e8a}from'ckeditor5/src/core.js';export default class st extends _0x556a41{constructor(_0x55d445,_0x459e4e=''){const _0x26524c=_0x2a2a;super(_0x55d445),this[_0x26524c(0x1fb)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5a6b40=this[_0x26524c(0x205)];this[_0x26524c(0x1f4)]=new ContentFieldView(_0x55d445,_0x459e4e),this[_0x26524c(0x1eb)]=this[_0x26524c(0x22d)](),this[_0x26524c(0x22b)]({'tag':_0x26524c(0x213),'attributes':{'class':['ck',_0x26524c(0x1f0),_0x5a6b40['if'](_0x26524c(0x1e4),_0x26524c(0x1e9),_0x488f9c=>!_0x488f9c)],'tabindex':'-1'},'children':[{'tag':_0x26524c(0x213),'attributes':{'class':['ck',_0x26524c(0x1f1),_0x5a6b40['if'](_0x26524c(0x20f),_0x26524c(0x20a))]},'children':[this[_0x26524c(0x1f4)],{'tag':_0x26524c(0x213),'attributes':{'class':['ck',_0x26524c(0x1df)]},'children':[this[_0x26524c(0x1eb)]]}]}]});}[_0x356e83(0x211)](){const _0x3213ed=_0x356e83;super[_0x3213ed(0x211)](),this[_0x3213ed(0x218)]&&this[_0x3213ed(0x1f4)][_0x3213ed(0x231)](this[_0x3213ed(0x218)]);let _0x594460=!0x1;this['on'](_0x3213ed(0x220),(_0x26b4c1,_0x40175c,_0x27ea50)=>{const _0x29a9a3=_0x3213ed,_0x181c1f=!this[_0x29a9a3(0x1f4)][_0x29a9a3(0x204)][_0x29a9a3(0x21a)](_0x29a9a3(0x216));this[_0x29a9a3(0x1f4)][_0x29a9a3(0x231)](_0x27ea50),this[_0x29a9a3(0x20f)]&&_0x181c1f&&!_0x594460&&this[_0x29a9a3(0x204)][_0x29a9a3(0x1f2)]({'top':this[_0x29a9a3(0x204)][_0x29a9a3(0x21f)],'behavior':_0x29a9a3(0x21e)});}),this['on'](_0x3213ed(0x212),(_0x4cc6e1,_0x489edd,_0x52581f)=>{const _0x329618=_0x3213ed;_0x594460=!0x1,_0x52581f?(this[_0x329618(0x218)]=null,this[_0x329618(0x1f4)][_0x329618(0x1e5)]()):this[_0x329618(0x218)]||this[_0x329618(0x1f4)][_0x329618(0x231)]('');}),this[_0x3213ed(0x1dc)](this[_0x3213ed(0x204)],_0x3213ed(0x224),()=>{_0x594460=!0x0;}),this[_0x3213ed(0x1dc)](this[_0x3213ed(0x204)],_0x3213ed(0x1e1),()=>{_0x594460=!0x0;});}[_0x356e83(0x201)](){const _0x488773=_0x356e83;this[_0x488773(0x204)][_0x488773(0x201)]();}[_0x356e83(0x22d)](){const _0x5d3b2c=_0x356e83,_0x5db695=this[_0x5d3b2c(0x221)],_0x1d4354=new _0x21e688(this[_0x5d3b2c(0x221)]),_0xece16a=_0x5d3b2c(0x219);return _0x1d4354[_0x5d3b2c(0x1fb)]({'label':_0x1b137d(_0x5db695,_0x5d3b2c(0x1dd)),'icon':_0xf8f3a3,'class':_0xece16a,'tooltip':!0x0}),_0x1d4354[_0x5d3b2c(0x225)](_0x5d3b2c(0x1e4))['to'](this,_0x5d3b2c(0x218),_0x1d0d81=>!!_0x1d0d81),_0x1d4354[_0x5d3b2c(0x225)](_0x5d3b2c(0x202))['to'](this,_0x5d3b2c(0x20f),_0x134760=>!_0x134760),_0x1d4354['on'](_0x5d3b2c(0x22e),()=>{const _0x5deb81=_0x5d3b2c;this[_0x5deb81(0x1fd)](this[_0x5deb81(0x1f4)][_0x5deb81(0x204)]),_0x1d4354[_0x5deb81(0x20b)]=_0x2c6e8a[_0x5deb81(0x1fa)],_0x1d4354[_0x5deb81(0x203)]=_0xece16a+_0x5deb81(0x230),this[_0x5deb81(0x201)](),setTimeout(()=>{const _0x1b7abe=_0x5deb81;_0x1d4354[_0x1b7abe(0x20b)]=_0xf8f3a3,_0x1d4354[_0x1b7abe(0x203)]=_0xece16a;},0x3e8);}),_0x1d4354;}[_0x356e83(0x1fd)](_0x1b86a7){const _0x2eed55=_0x356e83,{window:_0x354ceb,document:_0x4be34e}=_0x6fadc5;if(_0x354ceb[_0x2eed55(0x1ea)]){const {Blob:_0x4be774,ClipboardItem:_0x2891bf}=_0x354ceb,_0x15a71a=[new _0x2891bf({'text/html':new _0x4be774([_0x1b86a7[_0x2eed55(0x1e7)]],{'type':_0x2eed55(0x1fe)}),'text/plain':new _0x4be774([_0x1b86a7[_0x2eed55(0x1f6)]||''],{'type':_0x2eed55(0x20e)})})];navigator[_0x2eed55(0x207)][_0x2eed55(0x206)](_0x15a71a);}else{const _0x594315=_0x4be34e[_0x2eed55(0x22a)](_0x2eed55(0x213));_0x594315[_0x2eed55(0x21d)][_0x2eed55(0x1ec)]=_0x2eed55(0x226),_0x594315[_0x2eed55(0x21d)][_0x2eed55(0x1de)]=_0x2eed55(0x1e6),_0x594315[_0x2eed55(0x1e7)]=_0x2eed55(0x1ef)+_0x1b86a7[_0x2eed55(0x1e7)]+_0x2eed55(0x1fc),_0x4be34e[_0x2eed55(0x1e0)][_0x2eed55(0x20d)](_0x594315);const _0xe8bd14=_0x4be34e[_0x2eed55(0x1f5)]();_0xe8bd14[_0x2eed55(0x21c)](_0x594315[_0x2eed55(0x22f)]),_0xe8bd14[_0x2eed55(0x222)](_0x594315[_0x2eed55(0x22c)]);const _0x333fac=_0x354ceb[_0x2eed55(0x200)]();_0x333fac[_0x2eed55(0x1ff)](),_0x333fac[_0x2eed55(0x1f3)](_0xe8bd14),_0x4be34e[_0x2eed55(0x1e2)](_0x2eed55(0x1f7)),_0x594315[_0x2eed55(0x228)]();}}}function _0x2a2a(_0x30ef1a,_0x66e977){const _0x3658fc=_0x3658();return _0x2a2a=function(_0x2a2adc,_0x3a03b6){_0x2a2adc=_0x2a2adc-0x1dc;let _0x9c8506=_0x3658fc[_0x2a2adc];return _0x9c8506;},_0x2a2a(_0x30ef1a,_0x66e977);}export class ContentFieldView extends _0x556a41{constructor(_0x40ec07,_0xaa2fbe=''){const _0x5aaede=_0x356e83;super(_0x40ec07),this[_0x5aaede(0x20c)]=this[_0x5aaede(0x210)](),this[_0x5aaede(0x22b)]({'tag':_0x5aaede(0x213),'attributes':{'class':['ck',_0x5aaede(0x227),_0xaa2fbe,_0x5aaede(0x214),_0x5aaede(0x1f8)]}});}[_0x356e83(0x231)](_0x2436b5){const _0x303334=_0x356e83;this[_0x303334(0x204)][_0x303334(0x1e7)]=_0x2436b5;}[_0x356e83(0x1e5)](){const _0xfff51f=_0x356e83;this[_0xfff51f(0x204)][_0xfff51f(0x20d)](this[_0xfff51f(0x20c)][_0xfff51f(0x204)]);}[_0x356e83(0x210)](){const _0x275059=_0x356e83,_0x4191f8=new _0x556a41(),_0x2a5a71=this[_0x275059(0x221)],_0x2da128=new _0x4bd1f6();return _0x2da128[_0x275059(0x1e4)]=!0x0,_0x4191f8[_0x275059(0x22b)]({'tag':_0x275059(0x213),'attributes':{'class':['ck',_0x275059(0x217)]},'children':[_0x2da128,{'text':_0x1b137d(_0x2a5a71,_0x275059(0x1e8))}]}),_0x4191f8[_0x275059(0x211)](),_0x4191f8;}}function _0x3658(){const _0x18742f=['ck-ai-form__content-area--processing','icon','loaderView','appendChild','text/plain','isProcessing','_createLoader','render','change:isProcessing','div','ck-reset_all-excluded','2aMzZlv','.ck-ai-form__loader','ck-ai-form__loader','value','ck-ai-form__copy-button','querySelector','140FEZmKf','setStartAfter','style','smooth','scrollHeight','change:value','locale','setEndBefore','190066qQOnBz','wheel','bind','absolute','ck-content','remove','280557zwrMpe','createElement','setTemplate','lastElementChild','_createCopyButton','execute','firstElementChild','\x20ck-ai-form__copy-button--copied','setContent','listenTo','Copy','left','ck-ai-form__copy-button-wrapper','body','mousedown','execCommand','2386248VgYvMK','isVisible','appendLoader','-9999px','innerHTML','AI\x20is\x20writing...','ck-hidden','ClipboardItem','copyButtonView','position','233211NPYOOD','294572sGldsx','<span>[</span>','ck-ai-form__content-area-wrapper','ck-ai-form__content-area','scrollTo','addRange','contentFieldView','createRange','textContent','copy','ck-ai-form__content-field','37086OsVQXb','check','set','<span>]</span>','_copyHTMLToClipboard','text/html','removeAllRanges','getSelection','focus','isEnabled','class','element','bindTemplate','write','clipboard','1821680uUUAcN','20zylrOt'];_0x3658=function(){return _0x18742f;};return _0x3658();}
23
+ const _0x39da61=_0x83dc;(function(_0x14b06f,_0x4a4dfe){const _0x195b78=_0x83dc,_0xb28b9=_0x14b06f();while(!![]){try{const _0x28068e=parseInt(_0x195b78(0x237))/0x1+parseInt(_0x195b78(0x1f4))/0x2+-parseInt(_0x195b78(0x21a))/0x3*(parseInt(_0x195b78(0x1f8))/0x4)+-parseInt(_0x195b78(0x228))/0x5+-parseInt(_0x195b78(0x200))/0x6+-parseInt(_0x195b78(0x22a))/0x7+parseInt(_0x195b78(0x206))/0x8*(parseInt(_0x195b78(0x21e))/0x9);if(_0x28068e===_0x4a4dfe)break;else _0xb28b9['push'](_0xb28b9['shift']());}catch(_0x576448){_0xb28b9['push'](_0xb28b9['shift']());}}}(_0x4b85,0x78384));import{global as _0x418b31}from'ckeditor5/src/utils.js';import{View as _0x2e319d,ButtonView as _0x5baeb1,SpinnerView as _0x466698}from'ckeditor5/src/ui.js';import _0x1a3b20 from'../../../theme/icons/copy.svg';import{getTranslation as _0x1dd433}from'../../utils/common-translations.js';import{icons as _0x5433a7}from'ckeditor5/src/core.js';export default class nt extends _0x2e319d{constructor(_0x1f6f30,_0x5f0afe=''){const _0x4ec07f=_0x83dc;super(_0x1f6f30),this[_0x4ec07f(0x23f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3af89d=this[_0x4ec07f(0x213)];this[_0x4ec07f(0x1fc)]=new ContentFieldView(_0x1f6f30,_0x5f0afe),this[_0x4ec07f(0x226)]=this[_0x4ec07f(0x243)](),this[_0x4ec07f(0x225)]({'tag':_0x4ec07f(0x20d),'attributes':{'class':['ck',_0x4ec07f(0x247),_0x3af89d['if'](_0x4ec07f(0x230),_0x4ec07f(0x242),_0xd431bc=>!_0xd431bc)],'tabindex':'-1'},'children':[{'tag':_0x4ec07f(0x20d),'attributes':{'class':['ck',_0x4ec07f(0x1f6),_0x3af89d['if'](_0x4ec07f(0x1fd),_0x4ec07f(0x234))]},'children':[this[_0x4ec07f(0x1fc)],{'tag':_0x4ec07f(0x20d),'attributes':{'class':['ck',_0x4ec07f(0x240)]},'children':[this[_0x4ec07f(0x226)]]}]}]});}[_0x39da61(0x244)](){const _0x6d076b=_0x39da61;super[_0x6d076b(0x244)](),this[_0x6d076b(0x229)]&&this[_0x6d076b(0x1fc)][_0x6d076b(0x21f)](this[_0x6d076b(0x229)]);let _0x5bbc14=!0x1;this['on'](_0x6d076b(0x1f7),(_0x3c8e31,_0x1467c6,_0x2945cf)=>{const _0x3e43f3=_0x6d076b,_0x152a2e=!this[_0x3e43f3(0x1fc)][_0x3e43f3(0x202)][_0x3e43f3(0x236)](_0x3e43f3(0x21b));this[_0x3e43f3(0x1fc)][_0x3e43f3(0x21f)](_0x2945cf),this[_0x3e43f3(0x1fd)]&&_0x152a2e&&!_0x5bbc14&&this[_0x3e43f3(0x202)][_0x3e43f3(0x201)]({'top':this[_0x3e43f3(0x202)][_0x3e43f3(0x20c)],'behavior':_0x3e43f3(0x22f)});}),this['on'](_0x6d076b(0x207),(_0x49642c,_0x3ed8a9,_0x2e7d26)=>{const _0x4e3f3e=_0x6d076b;_0x5bbc14=!0x1,_0x2e7d26?(this[_0x4e3f3e(0x229)]=null,this[_0x4e3f3e(0x1fc)][_0x4e3f3e(0x221)]()):this[_0x4e3f3e(0x229)]||this[_0x4e3f3e(0x1fc)][_0x4e3f3e(0x21f)]('');}),this[_0x6d076b(0x1fb)](this[_0x6d076b(0x202)],_0x6d076b(0x215),()=>{_0x5bbc14=!0x0;}),this[_0x6d076b(0x1fb)](this[_0x6d076b(0x202)],_0x6d076b(0x239),()=>{_0x5bbc14=!0x0;});}[_0x39da61(0x23a)](){const _0x17599f=_0x39da61;this[_0x17599f(0x202)][_0x17599f(0x23a)]();}[_0x39da61(0x243)](){const _0x2d2764=_0x39da61,_0xafc51d=this[_0x2d2764(0x227)],_0x33f9a5=new _0x5baeb1(this[_0x2d2764(0x227)]),_0x5f06d2=_0x2d2764(0x21c);return _0x33f9a5[_0x2d2764(0x23f)]({'label':_0x1dd433(_0xafc51d,_0x2d2764(0x203)),'icon':_0x1a3b20,'class':_0x5f06d2,'tooltip':!0x0}),_0x33f9a5[_0x2d2764(0x23c)](_0x2d2764(0x230))['to'](this,_0x2d2764(0x229),_0x15d27e=>!!_0x15d27e),_0x33f9a5[_0x2d2764(0x23c)](_0x2d2764(0x209))['to'](this,_0x2d2764(0x1fd),_0x1b0a6e=>!_0x1b0a6e),_0x33f9a5['on'](_0x2d2764(0x22d),()=>{const _0x1bb58b=_0x2d2764;this[_0x1bb58b(0x1f5)](this[_0x1bb58b(0x1fc)][_0x1bb58b(0x202)]),_0x33f9a5[_0x1bb58b(0x23b)]=_0x5433a7[_0x1bb58b(0x223)],_0x33f9a5[_0x1bb58b(0x208)]=_0x5f06d2+_0x1bb58b(0x212),this[_0x1bb58b(0x23a)](),setTimeout(()=>{const _0x9d2244=_0x1bb58b;_0x33f9a5[_0x9d2244(0x23b)]=_0x1a3b20,_0x33f9a5[_0x9d2244(0x208)]=_0x5f06d2;},0x3e8);}),_0x33f9a5;}[_0x39da61(0x1f5)](_0x429436){const _0x444886=_0x39da61,{window:_0x5814b9,document:_0x25cebe}=_0x418b31;if(_0x5814b9[_0x444886(0x235)]){const {Blob:_0x581083,ClipboardItem:_0x525b4b}=_0x5814b9,_0x1337e7=[new _0x525b4b({'text/html':new _0x581083([_0x429436[_0x444886(0x246)]],{'type':_0x444886(0x1fa)}),'text/plain':new _0x581083([_0x429436[_0x444886(0x238)]||''],{'type':_0x444886(0x20a)})})];navigator[_0x444886(0x1ff)][_0x444886(0x216)](_0x1337e7);}else{const _0x491a26=_0x25cebe[_0x444886(0x20f)](_0x444886(0x20d));_0x491a26[_0x444886(0x224)][_0x444886(0x210)]=_0x444886(0x217),_0x491a26[_0x444886(0x224)][_0x444886(0x21d)]=_0x444886(0x220),_0x491a26[_0x444886(0x246)]=_0x444886(0x20e)+_0x429436[_0x444886(0x246)]+_0x444886(0x204),_0x25cebe[_0x444886(0x241)][_0x444886(0x1f9)](_0x491a26);const _0x34e3ff=_0x25cebe[_0x444886(0x214)]();_0x34e3ff[_0x444886(0x231)](_0x491a26[_0x444886(0x1f3)]),_0x34e3ff[_0x444886(0x222)](_0x491a26[_0x444886(0x1fe)]);const _0xdefb3e=_0x5814b9[_0x444886(0x22b)]();_0xdefb3e[_0x444886(0x22c)](),_0xdefb3e[_0x444886(0x233)](_0x34e3ff),_0x25cebe[_0x444886(0x245)](_0x444886(0x219)),_0x491a26[_0x444886(0x218)]();}}}function _0x83dc(_0xf64dd5,_0x1296f6){const _0x4b85e2=_0x4b85();return _0x83dc=function(_0x83dcf4,_0x311386){_0x83dcf4=_0x83dcf4-0x1f3;let _0x277f24=_0x4b85e2[_0x83dcf4];return _0x277f24;},_0x83dc(_0xf64dd5,_0x1296f6);}function _0x4b85(){const _0x3ac63d=['createRange','wheel','write','absolute','remove','copy','6279alrYaF','.ck-ai-form__loader','ck-ai-form__copy-button','left','9IbGAoj','setContent','-9999px','appendLoader','setEndBefore','check','style','setTemplate','copyButtonView','locale','2456040mutwiO','value','2903705GRzYgu','getSelection','removeAllRanges','execute','ck-content','smooth','isVisible','setStartAfter','ck-reset_all-excluded','addRange','ck-ai-form__content-area--processing','ClipboardItem','querySelector','618945kewIdN','textContent','mousedown','focus','icon','bind','_createLoader','ck-ai-form__content-field','set','ck-ai-form__copy-button-wrapper','body','ck-hidden','_createCopyButton','render','execCommand','innerHTML','ck-ai-form__content-area-wrapper','firstElementChild','176324uAPNAG','_copyHTMLToClipboard','ck-ai-form__content-area','change:value','476JMANut','appendChild','text/html','listenTo','contentFieldView','isProcessing','lastElementChild','clipboard','4075392qgNNPN','scrollTo','element','Copy','<span>]</span>','ck-ai-form__loader','12957080ekaAjy','change:isProcessing','class','isEnabled','text/plain','loaderView','scrollHeight','div','<span>[</span>','createElement','position','AI\x20is\x20writing...','\x20ck-ai-form__copy-button--copied','bindTemplate'];_0x4b85=function(){return _0x3ac63d;};return _0x4b85();}export class ContentFieldView extends _0x2e319d{constructor(_0x5730c7,_0x38a942=''){const _0x5f35ed=_0x39da61;super(_0x5730c7),this[_0x5f35ed(0x20b)]=this[_0x5f35ed(0x23d)](),this[_0x5f35ed(0x225)]({'tag':_0x5f35ed(0x20d),'attributes':{'class':['ck',_0x5f35ed(0x22e),_0x38a942,_0x5f35ed(0x232),_0x5f35ed(0x23e)]}});}[_0x39da61(0x21f)](_0x7eabc1){const _0x3496bb=_0x39da61;this[_0x3496bb(0x202)][_0x3496bb(0x246)]=_0x7eabc1;}[_0x39da61(0x221)](){const _0x2fcbbd=_0x39da61;this[_0x2fcbbd(0x202)][_0x2fcbbd(0x1f9)](this[_0x2fcbbd(0x20b)][_0x2fcbbd(0x202)]);}[_0x39da61(0x23d)](){const _0x24b350=_0x39da61,_0x5964fe=new _0x2e319d(),_0x29218b=this[_0x24b350(0x227)],_0x28102c=new _0x466698();return _0x28102c[_0x24b350(0x230)]=!0x0,_0x5964fe[_0x24b350(0x225)]({'tag':_0x24b350(0x20d),'attributes':{'class':['ck',_0x24b350(0x205)]},'children':[_0x28102c,{'text':_0x1dd433(_0x29218b,_0x24b350(0x211))}]}),_0x5964fe[_0x24b350(0x244)](),_0x5964fe;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1141(){const _0x36ea70=['138018lmqAcb','28jelgHL','ck-ai-form__error','5313szfpMl','setTemplate','36066SWxcQe','set','div','bindTemplate','content','7112100ciSOgH','22818kBmKfi','9mktxnQ','10YCVPWv','35930xudEaF','1519xZEvRc','6546424UExJPX','47399772rwtDTw','text'];_0x1141=function(){return _0x36ea70;};return _0x1141();}function _0x2805(_0x376537,_0x59e0d8){const _0x11417f=_0x1141();return _0x2805=function(_0x2805b2,_0x168510){_0x2805b2=_0x2805b2-0x110;let _0x29206c=_0x11417f[_0x2805b2];return _0x29206c;},_0x2805(_0x376537,_0x59e0d8);}(function(_0x4c15bd,_0x36a2d3){const _0x350d42=_0x2805,_0x273a51=_0x4c15bd();while(!![]){try{const _0x53b5b3=parseInt(_0x350d42(0x11e))/0x1*(-parseInt(_0x350d42(0x11c))/0x2)+parseInt(_0x350d42(0x111))/0x3*(-parseInt(_0x350d42(0x112))/0x4)+parseInt(_0x350d42(0x11b))/0x5+-parseInt(_0x350d42(0x116))/0x6*(-parseInt(_0x350d42(0x120))/0x7)+-parseInt(_0x350d42(0x121))/0x8*(-parseInt(_0x350d42(0x11d))/0x9)+parseInt(_0x350d42(0x11f))/0xa*(parseInt(_0x350d42(0x114))/0xb)+-parseInt(_0x350d42(0x122))/0xc;if(_0x53b5b3===_0x36a2d3)break;else _0x273a51['push'](_0x273a51['shift']());}catch(_0x4890da){_0x273a51['push'](_0x273a51['shift']());}}}(_0x1141,0xda5d0));import{View as _0x5839ed,IconView as _0xa8b9a7}from'ckeditor5/src/ui.js';import _0x54c5a4 from'../../../theme/icons/error.svg';export default class ot extends _0x5839ed{constructor(_0x501642,_0x1f80a3=''){const _0xe4e9f2=_0x2805;super(_0x501642);const _0x5662dd=new _0xa8b9a7(),_0x3e8afa=this[_0xe4e9f2(0x119)];this[_0xe4e9f2(0x117)](_0xe4e9f2(0x110),_0x1f80a3),_0x5662dd[_0xe4e9f2(0x11a)]=_0x54c5a4,this[_0xe4e9f2(0x115)]({'tag':_0xe4e9f2(0x118),'attributes':{'class':['ck',_0xe4e9f2(0x113)]},'children':[_0x5662dd,{'text':_0x3e8afa['to'](_0xe4e9f2(0x110))}]});}}
23
+ (function(_0x2c3fcc,_0x410089){const _0x130cce=_0x5031,_0xfed235=_0x2c3fcc();while(!![]){try{const _0x57f5dd=parseInt(_0x130cce(0xfe))/0x1+-parseInt(_0x130cce(0xf8))/0x2*(parseInt(_0x130cce(0xfd))/0x3)+parseInt(_0x130cce(0xfb))/0x4+-parseInt(_0x130cce(0xf6))/0x5+parseInt(_0x130cce(0xf5))/0x6+-parseInt(_0x130cce(0xf3))/0x7+parseInt(_0x130cce(0x100))/0x8;if(_0x57f5dd===_0x410089)break;else _0xfed235['push'](_0xfed235['shift']());}catch(_0x2ab780){_0xfed235['push'](_0xfed235['shift']());}}}(_0x52ac,0x1c2f9));function _0x52ac(){const _0x34b12f=['551552Tfadcb','text','189990dfGATe','151051QPoAzn','div','956280asFTBM','ck-ai-form__error','847028nRfxuF','bindTemplate','1374660VVBVEV','1055705uHbMuL','set','6dYoLQK','setTemplate','content'];_0x52ac=function(){return _0x34b12f;};return _0x52ac();}import{View as _0x3d70b8,IconView as _0xc2e3f1}from'ckeditor5/src/ui.js';import _0x235cb7 from'../../../theme/icons/error.svg';function _0x5031(_0x48d4eb,_0x2d116e){const _0x52ac62=_0x52ac();return _0x5031=function(_0x5031fb,_0x1d80bf){_0x5031fb=_0x5031fb-0xf3;let _0x8750cc=_0x52ac62[_0x5031fb];return _0x8750cc;},_0x5031(_0x48d4eb,_0x2d116e);}export default class mt extends _0x3d70b8{constructor(_0x35c859,_0x85f304=''){const _0x4a518d=_0x5031;super(_0x35c859);const _0x163d27=new _0xc2e3f1(),_0x4d14f8=this[_0x4a518d(0xf4)];this[_0x4a518d(0xf7)](_0x4a518d(0xfc),_0x85f304),_0x163d27[_0x4a518d(0xfa)]=_0x235cb7,this[_0x4a518d(0xf9)]({'tag':_0x4a518d(0xff),'attributes':{'class':['ck',_0x4a518d(0x101)]},'children':[_0x163d27,{'text':_0x4d14f8['to'](_0x4a518d(0xfc))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5022b3=_0x90f0;function _0x90f0(_0x13c82c,_0x5dc182){const _0x16ccf4=_0x16cc();return _0x90f0=function(_0x90f09e,_0xf844c8){_0x90f09e=_0x90f09e-0x1ed;let _0x3e55db=_0x16ccf4[_0x90f09e];return _0x3e55db;},_0x90f0(_0x13c82c,_0x5dc182);}(function(_0x4b244e,_0x46809f){const _0x281c46=_0x90f0,_0x3740dd=_0x4b244e();while(!![]){try{const _0x1a6f50=-parseInt(_0x281c46(0x226))/0x1+parseInt(_0x281c46(0x1fd))/0x2*(parseInt(_0x281c46(0x1fe))/0x3)+parseInt(_0x281c46(0x224))/0x4*(parseInt(_0x281c46(0x207))/0x5)+-parseInt(_0x281c46(0x1ee))/0x6+-parseInt(_0x281c46(0x1f7))/0x7+parseInt(_0x281c46(0x1fa))/0x8+-parseInt(_0x281c46(0x20f))/0x9;if(_0x1a6f50===_0x46809f)break;else _0x3740dd['push'](_0x3740dd['shift']());}catch(_0x65f23a){_0x3740dd['push'](_0x3740dd['shift']());}}}(_0x16cc,0x428ca));import{Rect as _0x7cadec,global as _0x9f3efc,isVisible as _0x1817cc}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x4899ef,ButtonView as _0x27dc89}from'ckeditor5/src/ui.js';import{icons as _0x82e2e9}from'ckeditor5/src/core.js';import{getTranslation as _0x53d36e}from'../../utils/common-translations.js';function _0x16cc(){const _0x7e64b3=['fire','target','4eKxExH','showHistoryButtonView','708oTdEcJ','isEmpty','3092934faFKsy','execute','update','focus','element','left','add','bind','maxRows','228781jYcges','rtl','value','4288312JWtElp','submitButtonView','locale','2jFwYhb','1453026qXLpEF','requestAnimationFrame','keystrokes','filteredView','History','set','isVisible','focusCycler','Submit','576235tnBNTF','uiLanguageDirection','right','resultsView','focusLast','ck-ai-form__toggle-history','enter','excludeScrollbarsAndBorders','2827458khdSLA','ck-ai-form__submit','style','submit','history','width','children','focusFirst','_createSubmitButton','fieldView','window','isOn','fieldWrapperChildren','_createShowHistoryButton','focusableChildren','render','queryView','minRows','isEnabled'];_0x16cc=function(){return _0x7e64b3;};return _0x16cc();}import _0x362776 from'../../../theme/icons/submit.svg';export default class lt extends _0x4899ef{constructor(_0x261822,_0x581ed7){const _0x24fcee=_0x90f0;super(_0x261822,_0x581ed7),this[_0x24fcee(0x21f)][_0x24fcee(0x218)][_0x24fcee(0x220)]=0x1,this[_0x24fcee(0x21f)][_0x24fcee(0x218)][_0x24fcee(0x1f6)]=0x3,this[_0x24fcee(0x1fb)]=this[_0x24fcee(0x217)](),this[_0x24fcee(0x225)]=this[_0x24fcee(0x21c)](),this[_0x24fcee(0x21d)][_0x24fcee(0x1f4)](this[_0x24fcee(0x225)],0x1),this[_0x24fcee(0x21d)][_0x24fcee(0x1f4)](this[_0x24fcee(0x1fb)]);}[_0x5022b3(0x21e)](){const _0x21c284=_0x5022b3;super[_0x21c284(0x21e)](),this[_0x21c284(0x21f)][_0x21c284(0x21b)][_0x21c284(0x1f4)](this[_0x21c284(0x225)]),this[_0x21c284(0x215)][_0x21c284(0x1f4)](this[_0x21c284(0x1fb)]),this[_0x21c284(0x200)][_0x21c284(0x203)](_0x21c284(0x20d),(_0x5872b4,_0x528346)=>{const _0x39a592=_0x21c284;_0x5872b4[_0x39a592(0x223)]==this[_0x39a592(0x21f)][_0x39a592(0x218)][_0x39a592(0x1f2)]&&(this[_0x39a592(0x212)](),_0x528346());});}[_0x5022b3(0x217)](){const _0x27c10e=_0x5022b3,_0x385d6b=new _0x27dc89(this[_0x27c10e(0x1fc)]),_0x1c345c=this[_0x27c10e(0x1fc)];return _0x385d6b[_0x27c10e(0x203)]({'icon':_0x362776,'label':_0x53d36e(_0x1c345c,_0x27c10e(0x206)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x27c10e(0x210)}),_0x385d6b['on'](_0x27c10e(0x1ef),()=>{const _0x48fbc2=_0x27c10e;this[_0x48fbc2(0x212)]();}),_0x385d6b[_0x27c10e(0x1f5)](_0x27c10e(0x221))['to'](this[_0x27c10e(0x21f)][_0x27c10e(0x218)],_0x27c10e(0x1ed),this,_0x27c10e(0x221),(_0x438bba,_0x238625)=>!_0x438bba&&_0x238625),_0x385d6b;}[_0x5022b3(0x21c)](){const _0xc99987=_0x5022b3,_0x4beb5e=new _0x27dc89(this[_0xc99987(0x1fc)]),_0x2e4855=this[_0xc99987(0x20a)],_0x4f313a=this[_0xc99987(0x1fc)];_0x4beb5e[_0xc99987(0x203)]({'label':_0x53d36e(_0x4f313a,_0xc99987(0x202)),'withText':!0x1,'icon':_0x82e2e9[_0xc99987(0x213)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0xc99987(0x20c)}),_0x4beb5e[_0xc99987(0x1f5)](_0xc99987(0x21a))['to'](_0x2e4855,_0xc99987(0x204)),_0x4beb5e[_0xc99987(0x1f5)](_0xc99987(0x221))['to'](this,_0xc99987(0x221)),_0x4beb5e['on'](_0xc99987(0x1ef),()=>{const _0x5a29a7=_0xc99987;_0x2e4855[_0x5a29a7(0x204)]=!_0x2e4855[_0x5a29a7(0x204)],_0x2e4855[_0x5a29a7(0x204)]?this[_0x5a29a7(0x201)][_0x5a29a7(0x1f1)]():this[_0x5a29a7(0x1f1)]();});const _0x35301e=()=>{const _0x2730f1=_0xc99987;_0x9f3efc[_0x2730f1(0x219)][_0x2730f1(0x1ff)](()=>{const _0x1471bd=_0x2730f1;if(_0x1817cc(this[_0x1471bd(0x1f2)])){const _0x27fabd=new _0x7cadec(this[_0x1471bd(0x21f)][_0x1471bd(0x218)][_0x1471bd(0x1f2)]),_0x1e1aa0=_0x27fabd[_0x1471bd(0x214)],_0x2da8ce=_0x1471bd(0x1f8)===_0x4f313a[_0x1471bd(0x208)]?_0x1471bd(0x1f3):_0x1471bd(0x209);_0x27fabd[_0x1471bd(0x20e)](),_0x4beb5e[_0x1471bd(0x1f2)][_0x1471bd(0x211)][_0x2da8ce]=_0x1e1aa0-_0x27fabd[_0x1471bd(0x214)]+0x1+'px';}});};return this[_0xc99987(0x21f)][_0xc99987(0x218)]['on'](_0xc99987(0x1f0),_0x35301e),this['on'](_0xc99987(0x21e),_0x35301e),_0x4beb5e;}[_0x5022b3(0x212)](){const _0x175bc7=_0x5022b3,_0x53eb28=this[_0x175bc7(0x21f)][_0x175bc7(0x218)][_0x175bc7(0x1f2)][_0x175bc7(0x1f9)];this[_0x175bc7(0x222)](_0x175bc7(0x212),_0x53eb28);}[_0x5022b3(0x1f1)](_0xa36ad8){const _0x3d2f4=_0x5022b3;-0x1===_0xa36ad8?this[_0x3d2f4(0x205)][_0x3d2f4(0x20b)]():this[_0x3d2f4(0x205)][_0x3d2f4(0x216)]();}}
23
+ const _0x2e475b=_0x191b;(function(_0x114d8c,_0xb46d3c){const _0x1b088e=_0x191b,_0x47f41d=_0x114d8c();while(!![]){try{const _0x4ce539=-parseInt(_0x1b088e(0x148))/0x1*(parseInt(_0x1b088e(0x139))/0x2)+-parseInt(_0x1b088e(0x15f))/0x3+parseInt(_0x1b088e(0x150))/0x4+parseInt(_0x1b088e(0x15d))/0x5+-parseInt(_0x1b088e(0x166))/0x6*(parseInt(_0x1b088e(0x16a))/0x7)+parseInt(_0x1b088e(0x154))/0x8*(-parseInt(_0x1b088e(0x16d))/0x9)+parseInt(_0x1b088e(0x158))/0xa;if(_0x4ce539===_0xb46d3c)break;else _0x47f41d['push'](_0x47f41d['shift']());}catch(_0x24260f){_0x47f41d['push'](_0x47f41d['shift']());}}}(_0x55df,0xb35ab));import{Rect as _0xfd344c,global as _0xbe8717,isVisible as _0x13b7a8}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x5a7d7e,ButtonView as _0x19a867}from'ckeditor5/src/ui.js';function _0x191b(_0x44a4e1,_0x3b1a2b){const _0x55df7c=_0x55df();return _0x191b=function(_0x191bf8,_0x1b4ef9){_0x191bf8=_0x191bf8-0x136;let _0x1c64f4=_0x55df7c[_0x191bf8];return _0x1c64f4;},_0x191b(_0x44a4e1,_0x3b1a2b);}import{icons as _0xd1e7eb}from'ckeditor5/src/core.js';import{getTranslation as _0x923ccb}from'../../utils/common-translations.js';import _0x108a5e from'../../../theme/icons/submit.svg';export default class pt extends _0x5a7d7e{constructor(_0xf3cf3,_0x44b68a){const _0x757198=_0x191b;super(_0xf3cf3,_0x44b68a),this[_0x757198(0x144)][_0x757198(0x14d)][_0x757198(0x13a)]=0x1,this[_0x757198(0x144)][_0x757198(0x14d)][_0x757198(0x16e)]=0x3,this[_0x757198(0x157)]=this[_0x757198(0x16f)](),this[_0x757198(0x137)]=this[_0x757198(0x168)](),this[_0x757198(0x147)][_0x757198(0x13f)](this[_0x757198(0x137)],0x1),this[_0x757198(0x147)][_0x757198(0x13f)](this[_0x757198(0x157)]);}[_0x2e475b(0x138)](){const _0x4542df=_0x2e475b;super[_0x4542df(0x138)](),this[_0x4542df(0x144)][_0x4542df(0x162)][_0x4542df(0x13f)](this[_0x4542df(0x137)]),this[_0x4542df(0x16b)][_0x4542df(0x13f)](this[_0x4542df(0x157)]),this[_0x4542df(0x146)][_0x4542df(0x163)](_0x4542df(0x15a),(_0x2bd725,_0x4f9f82)=>{const _0x400e21=_0x4542df;_0x2bd725[_0x400e21(0x16c)]==this[_0x400e21(0x144)][_0x400e21(0x14d)][_0x400e21(0x160)]&&(this[_0x400e21(0x141)](),_0x4f9f82());});}[_0x2e475b(0x16f)](){const _0x3a8f2a=_0x2e475b,_0x5d2cbb=new _0x19a867(this[_0x3a8f2a(0x149)]),_0x4c7956=this[_0x3a8f2a(0x149)];return _0x5d2cbb[_0x3a8f2a(0x163)]({'icon':_0x108a5e,'label':_0x923ccb(_0x4c7956,_0x3a8f2a(0x14c)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3a8f2a(0x169)}),_0x5d2cbb['on'](_0x3a8f2a(0x13b),()=>{const _0xbcd165=_0x3a8f2a;this[_0xbcd165(0x141)]();}),_0x5d2cbb[_0x3a8f2a(0x167)](_0x3a8f2a(0x164))['to'](this[_0x3a8f2a(0x144)][_0x3a8f2a(0x14d)],_0x3a8f2a(0x13e),this,_0x3a8f2a(0x164),(_0x30ba55,_0x578063)=>!_0x30ba55&&_0x578063),_0x5d2cbb;}[_0x2e475b(0x168)](){const _0x3234d0=_0x2e475b,_0x54e6db=new _0x19a867(this[_0x3234d0(0x149)]),_0x110e1b=this[_0x3234d0(0x14e)],_0x4b5dc4=this[_0x3234d0(0x149)];_0x54e6db[_0x3234d0(0x163)]({'label':_0x923ccb(_0x4b5dc4,_0x3234d0(0x153)),'withText':!0x1,'icon':_0xd1e7eb[_0x3234d0(0x140)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3234d0(0x161)}),_0x54e6db[_0x3234d0(0x167)](_0x3234d0(0x143))['to'](_0x110e1b,_0x3234d0(0x151)),_0x54e6db[_0x3234d0(0x167)](_0x3234d0(0x164))['to'](this,_0x3234d0(0x164)),_0x54e6db['on'](_0x3234d0(0x13b),()=>{const _0x150ed0=_0x3234d0;_0x110e1b[_0x150ed0(0x151)]=!_0x110e1b[_0x150ed0(0x151)],_0x110e1b[_0x150ed0(0x151)]?this[_0x150ed0(0x14a)][_0x150ed0(0x136)]():this[_0x150ed0(0x136)]();});const _0x497fe1=()=>{const _0x40d352=_0x3234d0;_0xbe8717[_0x40d352(0x152)][_0x40d352(0x165)](()=>{const _0x5115f1=_0x40d352;if(_0x13b7a8(this[_0x5115f1(0x160)])){const _0x2b041e=new _0xfd344c(this[_0x5115f1(0x144)][_0x5115f1(0x14d)][_0x5115f1(0x160)]),_0x1cd2eb=_0x2b041e[_0x5115f1(0x170)],_0x29e8e4=_0x5115f1(0x145)===_0x4b5dc4[_0x5115f1(0x159)]?_0x5115f1(0x14f):_0x5115f1(0x15b);_0x2b041e[_0x5115f1(0x14b)](),_0x54e6db[_0x5115f1(0x160)][_0x5115f1(0x15c)][_0x29e8e4]=_0x1cd2eb-_0x2b041e[_0x5115f1(0x170)]+0x1+'px';}});};return this[_0x3234d0(0x144)][_0x3234d0(0x14d)]['on'](_0x3234d0(0x156),_0x497fe1),this['on'](_0x3234d0(0x138),_0x497fe1),_0x54e6db;}[_0x2e475b(0x141)](){const _0x2fea30=_0x2e475b,_0x5f1182=this[_0x2fea30(0x144)][_0x2fea30(0x14d)][_0x2fea30(0x160)][_0x2fea30(0x142)];this[_0x2fea30(0x15e)](_0x2fea30(0x141),_0x5f1182);}[_0x2e475b(0x136)](_0x244307){const _0x5c69ac=_0x2e475b;-0x1===_0x244307?this[_0x5c69ac(0x13c)][_0x5c69ac(0x13d)]():this[_0x5c69ac(0x13c)][_0x5c69ac(0x155)]();}}function _0x55df(){const _0x2671f2=['width','focus','showHistoryButtonView','render','217444MXWwvD','minRows','execute','focusCycler','focusLast','isEmpty','add','history','submit','value','isOn','queryView','rtl','keystrokes','focusableChildren','13tamPJS','locale','filteredView','excludeScrollbarsAndBorders','Submit','fieldView','resultsView','left','488388KtSAjj','isVisible','window','History','8jayhcP','focusFirst','update','submitButtonView','38424750iGmfUS','uiLanguageDirection','enter','right','style','1619790jmkATt','fire','3187311YmBIye','element','ck-ai-form__toggle-history','fieldWrapperChildren','set','isEnabled','requestAnimationFrame','13878MQifjg','bind','_createShowHistoryButton','ck-ai-form__submit','105YTkCrY','children','target','9390393YrdlQZ','maxRows','_createSubmitButton'];_0x55df=function(){return _0x2671f2;};return _0x55df();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46360f=_0x23d3;function _0x52e2(){const _0x35dbb7=['items','ck-button-action','isVisible','extendTemplate','ck-hidden','bindTemplate','AI_','Try\x20again','insertButton','10507oLnjqP','50LJadjy','ck-ai-form__toolbar','set','bind','locale','REPLACE','addMany','stopButton','446408jiqqVL','Stop','38284DGeSga','_createButton','label','Insert\x20below','187380LjZAAV','mainAction','_CONTENT','replace','tryAgainButton','157311SXGzBJ','1544Cpjfla','toUpperCase','replaceButton','18uFcOyq','424254awqIVJ','1123550wIkwyw','insert'];_0x52e2=function(){return _0x35dbb7;};return _0x52e2();}(function(_0x52fbd1,_0x58cb9e){const _0x50b091=_0x23d3,_0x56df41=_0x52fbd1();while(!![]){try{const _0x31e991=parseInt(_0x50b091(0x1bf))/0x1+parseInt(_0x50b091(0x1d9))/0x2+-parseInt(_0x50b091(0x1df))/0x3+parseInt(_0x50b091(0x1db))/0x4*(parseInt(_0x50b091(0x1d1))/0x5)+-parseInt(_0x50b091(0x1c4))/0x6+parseInt(_0x50b091(0x1d0))/0x7*(-parseInt(_0x50b091(0x1c0))/0x8)+parseInt(_0x50b091(0x1c3))/0x9*(parseInt(_0x50b091(0x1c5))/0xa);if(_0x31e991===_0x58cb9e)break;else _0x56df41['push'](_0x56df41['shift']());}catch(_0x73403e){_0x56df41['push'](_0x56df41['shift']());}}}(_0x52e2,0x43e39));import{ToolbarView as _0x56428e,ButtonView as _0x2fa93f}from'ckeditor5/src/ui.js';import{getTranslation as _0x46c744}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x46360f(0x1e2),'INSERT':_0x46360f(0x1c6)};function _0x23d3(_0x16d4fd,_0x1ef0ca){const _0x52e2c7=_0x52e2();return _0x23d3=function(_0x23d3e9,_0x50b3de){_0x23d3e9=_0x23d3e9-0x1bf;let _0x2629c7=_0x52e2c7[_0x23d3e9];return _0x2629c7;},_0x23d3(_0x16d4fd,_0x1ef0ca);}export default class bt extends _0x56428e{constructor(_0x18688b){const _0x36d9a5=_0x46360f;super(_0x18688b),this[_0x36d9a5(0x1d3)](_0x36d9a5(0x1c9),!0x1),this[_0x36d9a5(0x1d3)](_0x36d9a5(0x1e0),AIFormToolbarViewMainActionLabel[_0x36d9a5(0x1d6)]),this[_0x36d9a5(0x1c2)]=this[_0x36d9a5(0x1dc)]('',_0x36d9a5(0x1c8)),this[_0x36d9a5(0x1c2)][_0x36d9a5(0x1d4)](_0x36d9a5(0x1dd))['to'](this,_0x36d9a5(0x1e0),_0x4825ac=>_0x46c744(_0x18688b,_0x36d9a5(0x1cd)+_0x4825ac[_0x36d9a5(0x1c1)]()+_0x36d9a5(0x1e1))),this[_0x36d9a5(0x1cf)]=this[_0x36d9a5(0x1dc)](_0x46c744(_0x18688b,_0x36d9a5(0x1de))),this[_0x36d9a5(0x1e3)]=this[_0x36d9a5(0x1dc)](_0x46c744(_0x18688b,_0x36d9a5(0x1ce))),this[_0x36d9a5(0x1d8)]=this[_0x36d9a5(0x1dc)](_0x46c744(_0x18688b,_0x36d9a5(0x1da)));const _0x57b09d=this[_0x36d9a5(0x1cc)];this[_0x36d9a5(0x1ca)]({'attributes':{'class':[_0x36d9a5(0x1d2),_0x57b09d['if'](_0x36d9a5(0x1c9),_0x36d9a5(0x1cb),_0x2e52cc=>!_0x2e52cc)]}}),this[_0x36d9a5(0x1c7)][_0x36d9a5(0x1d7)]([this[_0x36d9a5(0x1c2)],this[_0x36d9a5(0x1cf)],this[_0x36d9a5(0x1e3)],this[_0x36d9a5(0x1d8)]]);}[_0x46360f(0x1dc)](_0x5ecf34,_0xf567c8){const _0x356ef=_0x46360f,_0xfa3295=new _0x2fa93f(this[_0x356ef(0x1d5)]);return _0xfa3295[_0x356ef(0x1d3)]({'label':_0x5ecf34,'class':_0xf567c8||'','isVisible':!0x0,'withText':!0x0}),_0xfa3295;}}
23
+ const _0xe617f=_0x4350;(function(_0x411f8a,_0x1a16e1){const _0x429a6b=_0x4350,_0x1827c5=_0x411f8a();while(!![]){try{const _0x1892c5=parseInt(_0x429a6b(0xb6))/0x1*(parseInt(_0x429a6b(0x9a))/0x2)+parseInt(_0x429a6b(0xa1))/0x3*(parseInt(_0x429a6b(0xab))/0x4)+-parseInt(_0x429a6b(0xa9))/0x5+-parseInt(_0x429a6b(0x9e))/0x6+parseInt(_0x429a6b(0x97))/0x7+parseInt(_0x429a6b(0xa5))/0x8*(-parseInt(_0x429a6b(0x9d))/0x9)+parseInt(_0x429a6b(0xa7))/0xa;if(_0x1892c5===_0x1a16e1)break;else _0x1827c5['push'](_0x1827c5['shift']());}catch(_0x3dbbb8){_0x1827c5['push'](_0x1827c5['shift']());}}}(_0x236e,0xad4d1));import{ToolbarView as _0x51e45b,ButtonView as _0x2e0e30}from'ckeditor5/src/ui.js';import{getTranslation as _0x9a8b95}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xe617f(0xac),'INSERT':_0xe617f(0xa2)};function _0x4350(_0x4c472c,_0x4fe480){const _0x236e99=_0x236e();return _0x4350=function(_0x4350f0,_0x51b471){_0x4350f0=_0x4350f0-0x97;let _0xda828c=_0x236e99[_0x4350f0];return _0xda828c;},_0x4350(_0x4c472c,_0x4fe480);}function _0x236e(){const _0x214c4d=['items','bindTemplate','stopButton','ck-button-action','Insert\x20below','2521022xCaAbc','replaceButton','ck-ai-form__toolbar','72kqmqHm','Try\x20again','toUpperCase','18toQHuM','3464244FPqVhS','addMany','insertButton','9516mwBwgO','insert','bind','AI_','734728wTcZUT','tryAgainButton','3321520eaFHIP','isVisible','3594965micIDP','label','244AQgzkL','replace','_createButton','_CONTENT','REPLACE','extendTemplate','mainAction','set','Stop','ck-hidden','locale','36225WkHufJ'];_0x236e=function(){return _0x214c4d;};return _0x236e();}export default class Tt extends _0x51e45b{constructor(_0x27ab2b){const _0x464662=_0xe617f;super(_0x27ab2b),this[_0x464662(0xb2)](_0x464662(0xa8),!0x1),this[_0x464662(0xb2)](_0x464662(0xb1),AIFormToolbarViewMainActionLabel[_0x464662(0xaf)]),this[_0x464662(0x98)]=this[_0x464662(0xad)]('',_0x464662(0xba)),this[_0x464662(0x98)][_0x464662(0xa3)](_0x464662(0xaa))['to'](this,_0x464662(0xb1),_0x942681=>_0x9a8b95(_0x27ab2b,_0x464662(0xa4)+_0x942681[_0x464662(0x9c)]()+_0x464662(0xae))),this[_0x464662(0xa0)]=this[_0x464662(0xad)](_0x9a8b95(_0x27ab2b,_0x464662(0xbb))),this[_0x464662(0xa6)]=this[_0x464662(0xad)](_0x9a8b95(_0x27ab2b,_0x464662(0x9b))),this[_0x464662(0xb9)]=this[_0x464662(0xad)](_0x9a8b95(_0x27ab2b,_0x464662(0xb3)));const _0x2ac0ca=this[_0x464662(0xb8)];this[_0x464662(0xb0)]({'attributes':{'class':[_0x464662(0x99),_0x2ac0ca['if'](_0x464662(0xa8),_0x464662(0xb4),_0x160748=>!_0x160748)]}}),this[_0x464662(0xb7)][_0x464662(0x9f)]([this[_0x464662(0x98)],this[_0x464662(0xa0)],this[_0x464662(0xa6)],this[_0x464662(0xb9)]]);}[_0xe617f(0xad)](_0x333306,_0x3e2ec6){const _0x3986af=_0xe617f,_0x543b62=new _0x2e0e30(this[_0x3986af(0xb5)]);return _0x543b62[_0x3986af(0xb2)]({'label':_0x333306,'class':_0x3e2ec6||'','isVisible':!0x0,'withText':!0x0}),_0x543b62;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46c076=_0x238b;(function(_0xc6d090,_0x4ccc41){const _0x301e05=_0x238b,_0xbf0a1b=_0xc6d090();while(!![]){try{const _0x502a69=-parseInt(_0x301e05(0x1ab))/0x1*(parseInt(_0x301e05(0x15f))/0x2)+-parseInt(_0x301e05(0x172))/0x3*(parseInt(_0x301e05(0x1a9))/0x4)+parseInt(_0x301e05(0x19b))/0x5+parseInt(_0x301e05(0x18e))/0x6*(-parseInt(_0x301e05(0x171))/0x7)+parseInt(_0x301e05(0x166))/0x8*(parseInt(_0x301e05(0x163))/0x9)+parseInt(_0x301e05(0x1a4))/0xa+-parseInt(_0x301e05(0x1af))/0xb*(-parseInt(_0x301e05(0x168))/0xc);if(_0x502a69===_0x4ccc41)break;else _0xbf0a1b['push'](_0xbf0a1b['shift']());}catch(_0x1f6fab){_0xbf0a1b['push'](_0xbf0a1b['shift']());}}}(_0x41c4,0x814ed));import{FocusTracker as _0x4cebe5,KeystrokeHandler as _0x57322a}from'ckeditor5/src/utils.js';import{View as _0x3d0b7a,FocusCycler as _0x50905c,createLabeledTextarea as _0x3efe76}from'ckeditor5/src/ui.js';import _0x3eb05e,{AIFormToolbarViewMainActionLabel as _0x553815}from'./aiformtoolbarview.js';import _0x361467 from'./aiformcontentarea.js';import _0x5a37e2 from'./aiformerrorview.js';import _0x433588 from'./aiformpromptview.js';function _0x238b(_0x2b23f9,_0x76a63){const _0x41c467=_0x41c4();return _0x238b=function(_0x238b66,_0x3f29c4){_0x238b66=_0x238b66-0x157;let _0x152405=_0x41c467[_0x238b66];return _0x152405;},_0x238b(_0x2b23f9,_0x76a63);}import _0x212e11 from'./aihistorylistview.js';import _0xa1b5a4 from'./aihistorylistitemview.js';import _0x2a5f4 from'./prompthistory.js';import{getTranslation as _0x59e513}from'../../utils/common-translations.js';import{escape as _0x2de50b}from'lodash-es';export default class v extends _0x3d0b7a{constructor(_0x53db0e,_0x32137b,_0x54a1c3=''){const _0x431cbe=_0x238b;super(_0x53db0e),this[_0x431cbe(0x160)](_0x431cbe(0x198),!0x0),this[_0x431cbe(0x160)](_0x431cbe(0x180),!0x1),this[_0x431cbe(0x160)](_0x431cbe(0x174),''),this[_0x431cbe(0x160)](_0x431cbe(0x164),''),this[_0x431cbe(0x160)](_0x431cbe(0x17e),!0x1),this[_0x431cbe(0x160)](_0x431cbe(0x1a8),_0x553815[_0x431cbe(0x184)]),this[_0x431cbe(0x193)]=new _0x2a5f4(),this[_0x431cbe(0x183)]=new _0x5a37e2(_0x53db0e),this[_0x431cbe(0x1ae)]=new _0x361467(_0x53db0e,_0x54a1c3),this[_0x431cbe(0x1ae)][_0x431cbe(0x1b1)](_0x431cbe(0x180))['to'](this),this[_0x431cbe(0x1ae)][_0x431cbe(0x1b1)](_0x431cbe(0x164))['to'](this),this[_0x431cbe(0x157)]=this[_0x431cbe(0x17f)](),this[_0x431cbe(0x157)][_0x431cbe(0x1b1)](_0x431cbe(0x1a8))['to'](this),this[_0x431cbe(0x188)]=this[_0x431cbe(0x16a)](),this[_0x431cbe(0x19d)]=new _0x4cebe5(),this[_0x431cbe(0x15a)]=new _0x57322a(),this[_0x431cbe(0x16e)]=this[_0x431cbe(0x187)]([this[_0x431cbe(0x1ae)],this[_0x431cbe(0x1ae)][_0x431cbe(0x18d)],this[_0x431cbe(0x157)],this[_0x431cbe(0x188)]]),this[_0x431cbe(0x176)]=new _0x50905c({'focusables':this[_0x431cbe(0x16e)],'focusTracker':this[_0x431cbe(0x19d)],'keystrokeHandler':this[_0x431cbe(0x15a)],'actions':{'focusPrevious':_0x431cbe(0x19a),'focusNext':_0x431cbe(0x199)}}),this[_0x431cbe(0x188)][_0x431cbe(0x176)]['on'](_0x431cbe(0x190),_0x39ac1e=>{const _0x30229f=_0x431cbe;this[_0x30229f(0x176)][_0x30229f(0x1a6)](),_0x39ac1e[_0x30229f(0x165)]();}),this[_0x431cbe(0x188)][_0x431cbe(0x176)]['on'](_0x431cbe(0x195),_0x109bf2=>{const _0x102c68=_0x431cbe;this[_0x102c68(0x176)][_0x102c68(0x177)](),_0x109bf2[_0x102c68(0x165)]();}),this[_0x431cbe(0x188)][_0x431cbe(0x186)][_0x431cbe(0x1a2)][_0x431cbe(0x1b1)](_0x431cbe(0x164))['to'](this,_0x431cbe(0x174));const _0x3ed4d3=this[_0x431cbe(0x1ad)];this[_0x431cbe(0x17d)]({'tag':_0x431cbe(0x19c),'attributes':{'class':['ck',_0x431cbe(0x1a7),_0x32137b],'tabindex':'-1'},'children':[{'tag':_0x431cbe(0x19c),'attributes':{'class':['ck',_0x431cbe(0x16b)]},'children':[{'tag':_0x431cbe(0x19c),'attributes':{'class':[_0x3ed4d3['if'](_0x431cbe(0x17e),_0x431cbe(0x17b),_0x2f05d1=>!_0x2f05d1)]},'children':[this[_0x431cbe(0x183)]]},this[_0x431cbe(0x1ae)],this[_0x431cbe(0x157)],this[_0x431cbe(0x188)]]}]});}[_0x46c076(0x18b)](){const _0x90494e=_0x46c076;super[_0x90494e(0x18b)](),this[_0x90494e(0x19d)][_0x90494e(0x19f)](this[_0x90494e(0x1ae)][_0x90494e(0x1ac)]),this[_0x90494e(0x19d)][_0x90494e(0x19f)](this[_0x90494e(0x1ae)][_0x90494e(0x18d)][_0x90494e(0x1ac)]),this[_0x90494e(0x19d)][_0x90494e(0x19f)](this[_0x90494e(0x157)][_0x90494e(0x1ac)]),this[_0x90494e(0x19d)][_0x90494e(0x19f)](this[_0x90494e(0x188)][_0x90494e(0x1ac)]),this[_0x90494e(0x15a)][_0x90494e(0x167)](this[_0x90494e(0x1ac)]);}[_0x46c076(0x192)](_0xf4e5b3=0x1){const _0x2920fb=_0x46c076;-0x1===_0xf4e5b3?this[_0x2920fb(0x176)][_0x2920fb(0x15e)]():this[_0x2920fb(0x176)][_0x2920fb(0x189)]();}[_0x46c076(0x18f)](){const _0x597c47=_0x46c076;this[_0x597c47(0x174)]='',this[_0x597c47(0x164)]='',this[_0x597c47(0x17e)]=!0x1,this[_0x597c47(0x188)][_0x597c47(0x18f)](),this[_0x597c47(0x1ae)][_0x597c47(0x170)]=!0x1,this[_0x597c47(0x157)][_0x597c47(0x170)]=!0x1;}[_0x46c076(0x16a)](){const _0x138562=_0x46c076,_0x2e5d66=this[_0x138562(0x185)],_0xc7525a=new _0x433588(_0x2e5d66,{'queryView':{'label':_0x59e513(_0x2e5d66,_0x138562(0x175)),'creator':_0x3efe76,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x59e513(_0x2e5d66,_0x138562(0x1b0)),'secondary':_0x59e513(_0x2e5d66,_0x138562(0x1a3))}}},'filteredView':this[_0x138562(0x18c)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xc7525a[_0x138562(0x1b1)](_0x138562(0x198))['to'](this,_0x138562(0x198),this,_0x138562(0x180),(_0x104437,_0x20c204)=>_0x104437&&!_0x20c204),this[_0x138562(0x167)](_0xc7525a,_0x138562(0x182),(_0x186052,_0xc3bccb)=>{const _0x3104e1=_0x138562;this[_0x3104e1(0x174)]=_0xc3bccb;const _0x1d2d47=_0x2de50b(_0xc3bccb);this[_0x3104e1(0x15b)](_0x3104e1(0x16f),_0x1d2d47),_0xc3bccb[_0x3104e1(0x178)]()&&this[_0x3104e1(0x193)][_0x3104e1(0x19f)]({'prompt':_0x1d2d47},0x0);},{'priority':_0x138562(0x169)}),_0xc7525a;}[_0x46c076(0x18c)](){const _0x892c42=_0x46c076,_0x202ad8=new _0x212e11(this[_0x892c42(0x185)]);return _0x202ad8[_0x892c42(0x15d)][_0x892c42(0x161)][_0x892c42(0x191)](this[_0x892c42(0x193)])['as'](_0xa1b5a4),_0x202ad8['on'](_0x892c42(0x15c),()=>{const _0x2ced0f=_0x892c42;this[_0x2ced0f(0x193)][_0x2ced0f(0x18a)](),this[_0x2ced0f(0x188)][_0x2ced0f(0x162)](''),this[_0x2ced0f(0x188)][_0x2ced0f(0x192)]();}),_0x202ad8;}[_0x46c076(0x17f)](){const _0x4e43bb=_0x46c076,_0xa46f9=new _0x3eb05e(this[_0x4e43bb(0x185)]);return _0xa46f9[_0x4e43bb(0x16d)][_0x4e43bb(0x1b1)](_0x4e43bb(0x198))['to'](this,_0x4e43bb(0x198),this,_0x4e43bb(0x180),this,_0x4e43bb(0x164),(_0x2fb20f,_0x1c137e,_0x239d08)=>_0x2fb20f&&!_0x1c137e&&!!_0x239d08),_0xa46f9[_0x4e43bb(0x16d)][_0x4e43bb(0x19e)](_0x4e43bb(0x173))['to'](this,_0x4e43bb(0x1a5)),_0xa46f9[_0x4e43bb(0x16c)][_0x4e43bb(0x1b1)](_0x4e43bb(0x198))['to'](this,_0x4e43bb(0x198),this,_0x4e43bb(0x180),this,_0x4e43bb(0x164),(_0x57c34c,_0x1b7e02,_0xa1d657)=>_0x57c34c&&!_0x1b7e02&&!!_0xa1d657),_0xa46f9[_0x4e43bb(0x16c)][_0x4e43bb(0x19e)](_0x4e43bb(0x173))['to'](this,_0x4e43bb(0x1aa)),_0xa46f9[_0x4e43bb(0x158)][_0x4e43bb(0x1b1)](_0x4e43bb(0x198))['to'](this,_0x4e43bb(0x198),this,_0x4e43bb(0x180),(_0x33635b,_0x41b44b)=>_0x33635b&&!_0x41b44b),_0xa46f9[_0x4e43bb(0x158)][_0x4e43bb(0x19e)](_0x4e43bb(0x173))['to'](this,_0x4e43bb(0x159)),_0xa46f9[_0x4e43bb(0x197)][_0x4e43bb(0x1b1)](_0x4e43bb(0x198))['to'](this,_0x4e43bb(0x180)),_0xa46f9[_0x4e43bb(0x197)][_0x4e43bb(0x19e)](_0x4e43bb(0x173))['to'](this,_0x4e43bb(0x196)),_0xa46f9;}[_0x46c076(0x181)](){const _0x118ee3=_0x46c076;this[_0x118ee3(0x164)]='',this[_0x118ee3(0x17e)]=!0x1,this[_0x118ee3(0x180)]=!0x0,this[_0x118ee3(0x1ae)][_0x118ee3(0x170)]=!0x0,this[_0x118ee3(0x157)][_0x118ee3(0x170)]=!0x0,this[_0x118ee3(0x1ae)][_0x118ee3(0x192)]();}[_0x46c076(0x194)](){const _0x1825da=_0x46c076,_0x2daed1=this[_0x1825da(0x185)];this[_0x1825da(0x180)]=!0x1,this[_0x1825da(0x174)]='',this[_0x1825da(0x188)][_0x1825da(0x18f)](),this[_0x1825da(0x164)]&&(this[_0x1825da(0x188)][_0x1825da(0x186)][_0x1825da(0x179)]=_0x59e513(_0x2daed1,_0x1825da(0x1a0)));}[_0x46c076(0x1a1)](_0x3fca50){const _0x36b2fb=_0x46c076,_0x4e7b7a=this[_0x36b2fb(0x185)];this[_0x36b2fb(0x194)](),this[_0x36b2fb(0x17e)]=!0x0,this[_0x36b2fb(0x183)][_0x36b2fb(0x17c)]=_0x3fca50||_0x59e513(_0x4e7b7a,_0x36b2fb(0x17a)),this[_0x36b2fb(0x164)]||(this[_0x36b2fb(0x1ae)][_0x36b2fb(0x170)]=!0x1);}}function _0x41c4(){const _0x3a837f=['272206bfzvqc','Empty\x20history','bind','toolbar','tryAgainButton','tryAgainEvent','keystrokes','fire','clearHistory','historyGroupView','focusLast','68KMBNKA','set','items','search','3199131kwkApj','value','stop','16igrpSt','listenTo','60FKekha','high','_createPromptView','ck-ai-form-content','insertButton','replaceButton','_focusables','submitPrompt','isVisible','7FKvByI','3vKFqjY','execute','prompt','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusCycler','focusPrevious','trim','label','AI_ERROR_FAILED','ck-hidden','text','setTemplate','isError','_createToolbar','isProcessing','startProcessing','submit','errorView','REPLACE','locale','queryView','createCollection','promptView','focusFirst','clear','render','_createHistoryView','copyButtonView','6302028rPtRzU','reset','forwardCycle','bindTo','focus','_promptHistory','finishProcessing','backwardCycle','stopProcessing','stopButton','isEnabled','tab','shift\x20+\x20tab','2164130UqIFgM','div','focusTracker','delegate','add','Ask\x20AI\x20to\x20improve\x20generated\x20text','handleError','fieldView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','7992180bLxprO','replaceContent','focusNext','ck-ai-form','mainAction','793148KTjJGp','insertContentBelow','8483OIuCDx','element','bindTemplate','contentArea'];_0x41c4=function(){return _0x3a837f;};return _0x41c4();}
23
+ function _0x461b(){const _0x3c174b=['setTemplate','_createHistoryView','1138254jWbDsa','AI_ERROR_FAILED','isProcessing','element','isVisible','text','focusNext','submit','render','ck-hidden','toolbar','fieldView','set','Ask\x20AI\x20to\x20improve\x20generated\x20text','fire','_createPromptView','insertButton','isError','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','finishProcessing','shift\x20+\x20tab','focusFirst','reset','15rOndHI','keystrokes','clear','_promptHistory','5456128YFMzpM','value','backwardCycle','ck-ai-form','listenTo','execute','tryAgainButton','Empty\x20history','367060RwujlE','focusCycler','trim','startProcessing','bindTemplate','clearHistory','createCollection','stopProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','search','REPLACE','bindTo','errorView','focusPrevious','high','bind','handleError','prompt','tryAgainEvent','1491308KLCMFv','focusTracker','isEnabled','ck-ai-form-content','focusLast','stop','mainAction','_createToolbar','contentArea','items','forwardCycle','historyGroupView','div','insertContentBelow','submitPrompt','315356OKayMz','promptView','1482159VOlpjB','add','550941DxGhOT','locale','focus','tab','delegate','_focusables','replaceButton','queryView','copyButtonView','stopButton','replaceContent','label'];_0x461b=function(){return _0x3c174b;};return _0x461b();}const _0x230cf7=_0xbab5;(function(_0x577838,_0xc08e5e){const _0x47eef2=_0xbab5,_0x2187ea=_0x577838();while(!![]){try{const _0xe819e2=parseInt(_0x47eef2(0x1d0))/0x1+parseInt(_0x47eef2(0x1aa))/0x2+-parseInt(_0x47eef2(0x1ce))/0x3+-parseInt(_0x47eef2(0x1cc))/0x4*(parseInt(_0x47eef2(0x19e))/0x5)+-parseInt(_0x47eef2(0x1de))/0x6+-parseInt(_0x47eef2(0x1bd))/0x7+parseInt(_0x47eef2(0x1a2))/0x8;if(_0xe819e2===_0xc08e5e)break;else _0x2187ea['push'](_0x2187ea['shift']());}catch(_0xb8017f){_0x2187ea['push'](_0x2187ea['shift']());}}}(_0x461b,0x4521c));import{FocusTracker as _0x2dba59,KeystrokeHandler as _0x401088}from'ckeditor5/src/utils.js';import{View as _0x5d7765,FocusCycler as _0x4aa783,createLabeledTextarea as _0x77dfc2}from'ckeditor5/src/ui.js';import _0x3f7a08,{AIFormToolbarViewMainActionLabel as _0x211735}from'./aiformtoolbarview.js';function _0xbab5(_0x1f1666,_0x150936){const _0x461bb8=_0x461b();return _0xbab5=function(_0xbab5d1,_0x4b79c9){_0xbab5d1=_0xbab5d1-0x19c;let _0x2e65f2=_0x461bb8[_0xbab5d1];return _0x2e65f2;},_0xbab5(_0x1f1666,_0x150936);}import _0xfd6e75 from'./aiformcontentarea.js';import _0x4e7cda from'./aiformerrorview.js';import _0x26d92b from'./aiformpromptview.js';import _0x5b1c9d from'./aihistorylistview.js';import _0x15eaad from'./aihistorylistitemview.js';import _0x1832a6 from'./prompthistory.js';import{getTranslation as _0x4ada63}from'../../utils/common-translations.js';import{escape as _0x12e8ca}from'lodash-es';export default class x extends _0x5d7765{constructor(_0x43d85d,_0x29dac5,_0x2685dc=''){const _0x160a67=_0xbab5;super(_0x43d85d),this[_0x160a67(0x1ea)](_0x160a67(0x1bf),!0x0),this[_0x160a67(0x1ea)](_0x160a67(0x1e0),!0x1),this[_0x160a67(0x1ea)](_0x160a67(0x1bb),''),this[_0x160a67(0x1ea)](_0x160a67(0x1a3),''),this[_0x160a67(0x1ea)](_0x160a67(0x1ef),!0x1),this[_0x160a67(0x1ea)](_0x160a67(0x1c3),_0x211735[_0x160a67(0x1b4)]),this[_0x160a67(0x1a1)]=new _0x1832a6(),this[_0x160a67(0x1b6)]=new _0x4e7cda(_0x43d85d),this[_0x160a67(0x1c5)]=new _0xfd6e75(_0x43d85d,_0x2685dc),this[_0x160a67(0x1c5)][_0x160a67(0x1b9)](_0x160a67(0x1e0))['to'](this),this[_0x160a67(0x1c5)][_0x160a67(0x1b9)](_0x160a67(0x1a3))['to'](this),this[_0x160a67(0x1e8)]=this[_0x160a67(0x1c4)](),this[_0x160a67(0x1e8)][_0x160a67(0x1b9)](_0x160a67(0x1c3))['to'](this),this[_0x160a67(0x1cd)]=this[_0x160a67(0x1ed)](),this[_0x160a67(0x1be)]=new _0x2dba59(),this[_0x160a67(0x19f)]=new _0x401088(),this[_0x160a67(0x1d5)]=this[_0x160a67(0x1b0)]([this[_0x160a67(0x1c5)],this[_0x160a67(0x1c5)][_0x160a67(0x1d8)],this[_0x160a67(0x1e8)],this[_0x160a67(0x1cd)]]),this[_0x160a67(0x1ab)]=new _0x4aa783({'focusables':this[_0x160a67(0x1d5)],'focusTracker':this[_0x160a67(0x1be)],'keystrokeHandler':this[_0x160a67(0x19f)],'actions':{'focusPrevious':_0x160a67(0x1f2),'focusNext':_0x160a67(0x1d3)}}),this[_0x160a67(0x1cd)][_0x160a67(0x1ab)]['on'](_0x160a67(0x1c7),_0x3bc2f1=>{const _0x105749=_0x160a67;this[_0x105749(0x1ab)][_0x105749(0x1e4)](),_0x3bc2f1[_0x105749(0x1c2)]();}),this[_0x160a67(0x1cd)][_0x160a67(0x1ab)]['on'](_0x160a67(0x1a4),_0x4401b7=>{const _0x430412=_0x160a67;this[_0x430412(0x1ab)][_0x430412(0x1b7)](),_0x4401b7[_0x430412(0x1c2)]();}),this[_0x160a67(0x1cd)][_0x160a67(0x1d7)][_0x160a67(0x1e9)][_0x160a67(0x1b9)](_0x160a67(0x1a3))['to'](this,_0x160a67(0x1bb));const _0x3888c5=this[_0x160a67(0x1ae)];this[_0x160a67(0x1dc)]({'tag':_0x160a67(0x1c9),'attributes':{'class':['ck',_0x160a67(0x1a5),_0x29dac5],'tabindex':'-1'},'children':[{'tag':_0x160a67(0x1c9),'attributes':{'class':['ck',_0x160a67(0x1c0)]},'children':[{'tag':_0x160a67(0x1c9),'attributes':{'class':[_0x3888c5['if'](_0x160a67(0x1ef),_0x160a67(0x1e7),_0x2259e5=>!_0x2259e5)]},'children':[this[_0x160a67(0x1b6)]]},this[_0x160a67(0x1c5)],this[_0x160a67(0x1e8)],this[_0x160a67(0x1cd)]]}]});}[_0x230cf7(0x1e6)](){const _0x413261=_0x230cf7;super[_0x413261(0x1e6)](),this[_0x413261(0x1be)][_0x413261(0x1cf)](this[_0x413261(0x1c5)][_0x413261(0x1e1)]),this[_0x413261(0x1be)][_0x413261(0x1cf)](this[_0x413261(0x1c5)][_0x413261(0x1d8)][_0x413261(0x1e1)]),this[_0x413261(0x1be)][_0x413261(0x1cf)](this[_0x413261(0x1e8)][_0x413261(0x1e1)]),this[_0x413261(0x1be)][_0x413261(0x1cf)](this[_0x413261(0x1cd)][_0x413261(0x1e1)]),this[_0x413261(0x19f)][_0x413261(0x1a6)](this[_0x413261(0x1e1)]);}[_0x230cf7(0x1d2)](_0x1aff88=0x1){const _0x76ba6c=_0x230cf7;-0x1===_0x1aff88?this[_0x76ba6c(0x1ab)][_0x76ba6c(0x1c1)]():this[_0x76ba6c(0x1ab)][_0x76ba6c(0x19c)]();}[_0x230cf7(0x19d)](){const _0x5be3d6=_0x230cf7;this[_0x5be3d6(0x1bb)]='',this[_0x5be3d6(0x1a3)]='',this[_0x5be3d6(0x1ef)]=!0x1,this[_0x5be3d6(0x1cd)][_0x5be3d6(0x19d)](),this[_0x5be3d6(0x1c5)][_0x5be3d6(0x1e2)]=!0x1,this[_0x5be3d6(0x1e8)][_0x5be3d6(0x1e2)]=!0x1;}[_0x230cf7(0x1ed)](){const _0x5c0a93=_0x230cf7,_0x18a63a=this[_0x5c0a93(0x1d1)],_0x533fbf=new _0x26d92b(_0x18a63a,{'queryView':{'label':_0x4ada63(_0x18a63a,_0x5c0a93(0x1b2)),'creator':_0x77dfc2,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4ada63(_0x18a63a,_0x5c0a93(0x1a9)),'secondary':_0x4ada63(_0x18a63a,_0x5c0a93(0x1f0))}}},'filteredView':this[_0x5c0a93(0x1dd)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x533fbf[_0x5c0a93(0x1b9)](_0x5c0a93(0x1bf))['to'](this,_0x5c0a93(0x1bf),this,_0x5c0a93(0x1e0),(_0x34b5ba,_0x2c47fa)=>_0x34b5ba&&!_0x2c47fa),this[_0x5c0a93(0x1a6)](_0x533fbf,_0x5c0a93(0x1e5),(_0x381704,_0x2bb1ba)=>{const _0x2520c3=_0x5c0a93;this[_0x2520c3(0x1bb)]=_0x2bb1ba;const _0x52a2a7=_0x12e8ca(_0x2bb1ba);this[_0x2520c3(0x1ec)](_0x2520c3(0x1cb),_0x52a2a7),_0x2bb1ba[_0x2520c3(0x1ac)]()&&this[_0x2520c3(0x1a1)][_0x2520c3(0x1cf)]({'prompt':_0x52a2a7},0x0);},{'priority':_0x5c0a93(0x1b8)}),_0x533fbf;}[_0x230cf7(0x1dd)](){const _0x239074=_0x230cf7,_0x5b225=new _0x5b1c9d(this[_0x239074(0x1d1)]);return _0x5b225[_0x239074(0x1c8)][_0x239074(0x1c6)][_0x239074(0x1b5)](this[_0x239074(0x1a1)])['as'](_0x15eaad),_0x5b225['on'](_0x239074(0x1af),()=>{const _0xfa12fc=_0x239074;this[_0xfa12fc(0x1a1)][_0xfa12fc(0x1a0)](),this[_0xfa12fc(0x1cd)][_0xfa12fc(0x1b3)](''),this[_0xfa12fc(0x1cd)][_0xfa12fc(0x1d2)]();}),_0x5b225;}[_0x230cf7(0x1c4)](){const _0x37180b=_0x230cf7,_0x170fe9=new _0x3f7a08(this[_0x37180b(0x1d1)]);return _0x170fe9[_0x37180b(0x1d6)][_0x37180b(0x1b9)](_0x37180b(0x1bf))['to'](this,_0x37180b(0x1bf),this,_0x37180b(0x1e0),this,_0x37180b(0x1a3),(_0x134715,_0x1da2a6,_0x136fe3)=>_0x134715&&!_0x1da2a6&&!!_0x136fe3),_0x170fe9[_0x37180b(0x1d6)][_0x37180b(0x1d4)](_0x37180b(0x1a7))['to'](this,_0x37180b(0x1da)),_0x170fe9[_0x37180b(0x1ee)][_0x37180b(0x1b9)](_0x37180b(0x1bf))['to'](this,_0x37180b(0x1bf),this,_0x37180b(0x1e0),this,_0x37180b(0x1a3),(_0xb874fc,_0x371b8c,_0x48b493)=>_0xb874fc&&!_0x371b8c&&!!_0x48b493),_0x170fe9[_0x37180b(0x1ee)][_0x37180b(0x1d4)](_0x37180b(0x1a7))['to'](this,_0x37180b(0x1ca)),_0x170fe9[_0x37180b(0x1a8)][_0x37180b(0x1b9)](_0x37180b(0x1bf))['to'](this,_0x37180b(0x1bf),this,_0x37180b(0x1e0),(_0x136658,_0x49a56a)=>_0x136658&&!_0x49a56a),_0x170fe9[_0x37180b(0x1a8)][_0x37180b(0x1d4)](_0x37180b(0x1a7))['to'](this,_0x37180b(0x1bc)),_0x170fe9[_0x37180b(0x1d9)][_0x37180b(0x1b9)](_0x37180b(0x1bf))['to'](this,_0x37180b(0x1e0)),_0x170fe9[_0x37180b(0x1d9)][_0x37180b(0x1d4)](_0x37180b(0x1a7))['to'](this,_0x37180b(0x1b1)),_0x170fe9;}[_0x230cf7(0x1ad)](){const _0x431732=_0x230cf7;this[_0x431732(0x1a3)]='',this[_0x431732(0x1ef)]=!0x1,this[_0x431732(0x1e0)]=!0x0,this[_0x431732(0x1c5)][_0x431732(0x1e2)]=!0x0,this[_0x431732(0x1e8)][_0x431732(0x1e2)]=!0x0,this[_0x431732(0x1c5)][_0x431732(0x1d2)]();}[_0x230cf7(0x1f1)](){const _0x4aad76=_0x230cf7,_0x412a75=this[_0x4aad76(0x1d1)];this[_0x4aad76(0x1e0)]=!0x1,this[_0x4aad76(0x1bb)]='',this[_0x4aad76(0x1cd)][_0x4aad76(0x19d)](),this[_0x4aad76(0x1a3)]&&(this[_0x4aad76(0x1cd)][_0x4aad76(0x1d7)][_0x4aad76(0x1db)]=_0x4ada63(_0x412a75,_0x4aad76(0x1eb)));}[_0x230cf7(0x1ba)](_0x42820d){const _0x242acf=_0x230cf7,_0x39f61f=this[_0x242acf(0x1d1)];this[_0x242acf(0x1f1)](),this[_0x242acf(0x1ef)]=!0x0,this[_0x242acf(0x1b6)][_0x242acf(0x1e3)]=_0x42820d||_0x4ada63(_0x39f61f,_0x242acf(0x1df)),this[_0x242acf(0x1a3)]||(this[_0x242acf(0x1c5)][_0x242acf(0x1e2)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x11e95a,_0x3587c0){const _0x3c6a26=_0xa685,_0x230240=_0x11e95a();while(!![]){try{const _0x1149ec=parseInt(_0x3c6a26(0xe7))/0x1*(parseInt(_0x3c6a26(0xe3))/0x2)+-parseInt(_0x3c6a26(0xe5))/0x3*(parseInt(_0x3c6a26(0xe8))/0x4)+-parseInt(_0x3c6a26(0xe1))/0x5*(-parseInt(_0x3c6a26(0xe2))/0x6)+-parseInt(_0x3c6a26(0xe4))/0x7+parseInt(_0x3c6a26(0xdf))/0x8+parseInt(_0x3c6a26(0xed))/0x9+-parseInt(_0x3c6a26(0xe6))/0xa*(-parseInt(_0x3c6a26(0xe9))/0xb);if(_0x1149ec===_0x3587c0)break;else _0x230240['push'](_0x230240['shift']());}catch(_0x568f8e){_0x230240['push'](_0x230240['shift']());}}}(_0x31f8,0x45600));import{ListItemView as _0x116ee1,ButtonView as _0x482d32}from'ckeditor5/src/ui.js';import _0x16f1db from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0xe7580d}from'lodash-es';export default class hs extends _0x116ee1{constructor(_0x38eeef){const _0x76ccdb=_0xa685;super();const _0x53cbb4=new _0x16f1db(),_0x161665=new _0x482d32(this[_0x76ccdb(0xe0)],_0x53cbb4);this[_0x76ccdb(0xec)][_0x76ccdb(0xdd)](_0x161665),_0x161665[_0x76ccdb(0xeb)]({'label':_0x38eeef[_0x76ccdb(0xde)],'withText':!0x0}),_0x161665['on'](_0x76ccdb(0xdc),()=>{const _0x1ceab9=_0x76ccdb;this[_0x1ceab9(0xea)](_0x1ceab9(0xdc),{'value':_0xe7580d(_0x38eeef[_0x1ceab9(0xde)])});});}}function _0xa685(_0x2d6602,_0x471447){const _0x31f88e=_0x31f8();return _0xa685=function(_0xa68538,_0x1eb394){_0xa68538=_0xa68538-0xdc;let _0x5842a8=_0x31f88e[_0xa68538];return _0x5842a8;},_0xa685(_0x2d6602,_0x471447);}function _0x31f8(){const _0x102149=['2310064iYwdwT','locale','2605smbKAC','1686okdUfe','48284ldnwYD','3119452MyAPlu','1218891NZEHXb','30YkKKMu','1HPZnJv','4CtEJYA','1367707mUfblM','fire','set','children','2734029ypKqJC','execute','add','prompt'];_0x31f8=function(){return _0x102149;};return _0x31f8();}
23
+ (function(_0xe786a6,_0x594284){const _0x7ac176=_0x4f06,_0x4e0fcb=_0xe786a6();while(!![]){try{const _0x2f53de=parseInt(_0x7ac176(0xae))/0x1+-parseInt(_0x7ac176(0xac))/0x2*(-parseInt(_0x7ac176(0xad))/0x3)+parseInt(_0x7ac176(0xa0))/0x4+parseInt(_0x7ac176(0x9f))/0x5*(-parseInt(_0x7ac176(0xa8))/0x6)+parseInt(_0x7ac176(0xa7))/0x7+parseInt(_0x7ac176(0x9e))/0x8*(-parseInt(_0x7ac176(0xa9))/0x9)+-parseInt(_0x7ac176(0xa2))/0xa;if(_0x2f53de===_0x594284)break;else _0x4e0fcb['push'](_0x4e0fcb['shift']());}catch(_0x4c3fe3){_0x4e0fcb['push'](_0x4e0fcb['shift']());}}}(_0xa744,0x5dfb5));function _0x4f06(_0x41f012,_0x138642){const _0xa744c2=_0xa744();return _0x4f06=function(_0x4f06e0,_0x345667){_0x4f06e0=_0x4f06e0-0x9e;let _0x31c25f=_0xa744c2[_0x4f06e0];return _0x31c25f;},_0x4f06(_0x41f012,_0x138642);}function _0xa744(){const _0x1030ba=['add','4222730WzQgOW','execute','locale','fire','prompt','4280654QPtIDF','1721130kcFihN','5013vYDxOj','set','children','29590ALRjXx','93CdlohR','617319FXAUNg','9616uvlEXG','5XYTDTF','304420heqqMZ'];_0xa744=function(){return _0x1030ba;};return _0xa744();}import{ListItemView as _0x379b4f,ButtonView as _0x5ce639}from'ckeditor5/src/ui.js';import _0x1e0dd4 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x57530f}from'lodash-es';export default class hs extends _0x379b4f{constructor(_0x1b9ad2){const _0x520f02=_0x4f06;super();const _0x262cc2=new _0x1e0dd4(),_0x37bd44=new _0x5ce639(this[_0x520f02(0xa4)],_0x262cc2);this[_0x520f02(0xab)][_0x520f02(0xa1)](_0x37bd44),_0x37bd44[_0x520f02(0xaa)]({'label':_0x1b9ad2[_0x520f02(0xa6)],'withText':!0x0}),_0x37bd44['on'](_0x520f02(0xa3),()=>{const _0x5a5a64=_0x520f02;this[_0x5a5a64(0xa5)](_0x5a5a64(0xa3),{'value':_0x57530f(_0x1b9ad2[_0x5a5a64(0xa6)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2355(_0x5daa1e,_0x554253){const _0xbefc59=_0xbefc();return _0x2355=function(_0x23557f,_0x3030eb){_0x23557f=_0x23557f-0x160;let _0x3cceb3=_0xbefc59[_0x23557f];return _0x3cceb3;},_0x2355(_0x5daa1e,_0x554253);}const _0x131e44=_0x2355;(function(_0x4a6567,_0x11a011){const _0x3cb11e=_0x2355,_0x111ede=_0x4a6567();while(!![]){try{const _0x19ce47=-parseInt(_0x3cb11e(0x16a))/0x1*(-parseInt(_0x3cb11e(0x16e))/0x2)+-parseInt(_0x3cb11e(0x16f))/0x3*(parseInt(_0x3cb11e(0x176))/0x4)+-parseInt(_0x3cb11e(0x17b))/0x5+parseInt(_0x3cb11e(0x160))/0x6+parseInt(_0x3cb11e(0x179))/0x7+-parseInt(_0x3cb11e(0x168))/0x8*(parseInt(_0x3cb11e(0x162))/0x9)+-parseInt(_0x3cb11e(0x16d))/0xa*(-parseInt(_0x3cb11e(0x167))/0xb);if(_0x19ce47===_0x11a011)break;else _0x111ede['push'](_0x111ede['shift']());}catch(_0x16170c){_0x111ede['push'](_0x111ede['shift']());}}}(_0xbefc,0xd39e1));import{ListView as _0x34536a,ListItemGroupView as _0x572fa5,ButtonView as _0x341d66}from'ckeditor5/src/ui.js';function _0xbefc(){const _0x33d1b3=['clearHistoryButton','Prompt\x20history','Clear','locale','24896thhQvI','historyGroupView','label','2792433kCgEeI','_createClearHistoryButton','207380AxzKgv','6973212pIIDUJ','items','6486147OiXmMc','filter','fire','clearHistory','execute','869066HWAOxo','8xQNbDc','set','1Gsiyxd','length','children','10yqTLMf','388418HfZSeh','99RDwGEH','delegate','add'];_0xbefc=function(){return _0x33d1b3;};return _0xbefc();}import{getTranslation as _0xa99d90}from'../../utils/common-translations.js';export default class rs extends _0x34536a{constructor(_0xff267a){const _0x46e8b8=_0x2355;super(_0xff267a),this[_0x46e8b8(0x172)]=this[_0x46e8b8(0x17a)](),this[_0x46e8b8(0x177)]=new _0x572fa5(),this[_0x46e8b8(0x177)][_0x46e8b8(0x16c)][_0x46e8b8(0x171)](this[_0x46e8b8(0x172)],0x1),this[_0x46e8b8(0x177)][_0x46e8b8(0x178)]=_0xa99d90(_0xff267a,_0x46e8b8(0x173)),this[_0x46e8b8(0x177)][_0x46e8b8(0x161)][_0x46e8b8(0x170)](_0x46e8b8(0x166))['to'](this),this[_0x46e8b8(0x161)][_0x46e8b8(0x171)](this[_0x46e8b8(0x177)]);}[_0x131e44(0x163)](){const _0x588cb3=_0x131e44;let _0x430240=0x0;for(const _0x16464f of this[_0x588cb3(0x161)])_0x430240+=_0x16464f[_0x588cb3(0x161)][_0x588cb3(0x16b)];return{'resultsCount':_0x430240,'totalItemsCount':_0x430240};}[_0x131e44(0x17a)](){const _0x5cc724=_0x131e44,_0xbe3147=this[_0x5cc724(0x175)],_0x1ef2fa=new _0x341d66(this[_0x5cc724(0x175)]);return _0x1ef2fa[_0x5cc724(0x169)]({'label':'('+_0xa99d90(_0xbe3147,_0x5cc724(0x174))+')','withText':!0x0}),_0x1ef2fa['on'](_0x5cc724(0x166),()=>this[_0x5cc724(0x164)](_0x5cc724(0x165))),_0x1ef2fa;}}
23
+ const _0x6e8868=_0x1432;(function(_0x115f97,_0x261235){const _0x2d2cdb=_0x1432,_0x597b47=_0x115f97();while(!![]){try{const _0x4642d6=-parseInt(_0x2d2cdb(0x12d))/0x1+-parseInt(_0x2d2cdb(0x12c))/0x2+-parseInt(_0x2d2cdb(0x123))/0x3+-parseInt(_0x2d2cdb(0x11e))/0x4+-parseInt(_0x2d2cdb(0x125))/0x5*(-parseInt(_0x2d2cdb(0x122))/0x6)+parseInt(_0x2d2cdb(0x118))/0x7*(parseInt(_0x2d2cdb(0x117))/0x8)+parseInt(_0x2d2cdb(0x121))/0x9;if(_0x4642d6===_0x261235)break;else _0x597b47['push'](_0x597b47['shift']());}catch(_0x2e97d6){_0x597b47['push'](_0x597b47['shift']());}}}(_0x99e6,0x46899));import{ListView as _0x976006,ListItemGroupView as _0x42fdea,ButtonView as _0x292248}from'ckeditor5/src/ui.js';import{getTranslation as _0x3a9311}from'../../utils/common-translations.js';function _0x99e6(){const _0x1182a6=['filter','Prompt\x20history','Clear','set','label','821536NtQSjJ','61377SvDHUm','length','locale','clearHistory','8ElACHT','1427447dwvgty','execute','clearHistoryButton','items','add','_createClearHistoryButton','2057256isDklS','fire','historyGroupView','9288513EBXGty','312sbKhrt','872862BoAByA','delegate','31765BfMfAZ','children'];_0x99e6=function(){return _0x1182a6;};return _0x99e6();}function _0x1432(_0x11e4c6,_0x3c6ec5){const _0x99e60f=_0x99e6();return _0x1432=function(_0x1432cf,_0x1233f9){_0x1432cf=_0x1432cf-0x114;let _0x583fb7=_0x99e60f[_0x1432cf];return _0x583fb7;},_0x1432(_0x11e4c6,_0x3c6ec5);}export default class rs extends _0x976006{constructor(_0x18e4d0){const _0x534f7f=_0x1432;super(_0x18e4d0),this[_0x534f7f(0x11a)]=this[_0x534f7f(0x11d)](),this[_0x534f7f(0x120)]=new _0x42fdea(),this[_0x534f7f(0x120)][_0x534f7f(0x126)][_0x534f7f(0x11c)](this[_0x534f7f(0x11a)],0x1),this[_0x534f7f(0x120)][_0x534f7f(0x12b)]=_0x3a9311(_0x18e4d0,_0x534f7f(0x128)),this[_0x534f7f(0x120)][_0x534f7f(0x11b)][_0x534f7f(0x124)](_0x534f7f(0x119))['to'](this),this[_0x534f7f(0x11b)][_0x534f7f(0x11c)](this[_0x534f7f(0x120)]);}[_0x6e8868(0x127)](){const _0x2168f6=_0x6e8868;let _0x31692d=0x0;for(const _0x5758fe of this[_0x2168f6(0x11b)])_0x31692d+=_0x5758fe[_0x2168f6(0x11b)][_0x2168f6(0x114)];return{'resultsCount':_0x31692d,'totalItemsCount':_0x31692d};}[_0x6e8868(0x11d)](){const _0xc14dde=_0x6e8868,_0x2ddb1b=this[_0xc14dde(0x115)],_0x1db2e1=new _0x292248(this[_0xc14dde(0x115)]);return _0x1db2e1[_0xc14dde(0x12a)]({'label':'('+_0x3a9311(_0x2ddb1b,_0xc14dde(0x129))+')','withText':!0x0}),_0x1db2e1['on'](_0xc14dde(0x119),()=>this[_0xc14dde(0x11f)](_0xc14dde(0x116))),_0x1db2e1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x513170=_0x4399;(function(_0x12d0b8,_0x3fa593){const _0x192579=_0x4399,_0x104da1=_0x12d0b8();while(!![]){try{const _0x3a52f2=-parseInt(_0x192579(0x1c7))/0x1+-parseInt(_0x192579(0x1d2))/0x2*(parseInt(_0x192579(0x1bc))/0x3)+parseInt(_0x192579(0x1bb))/0x4+parseInt(_0x192579(0x1c3))/0x5+-parseInt(_0x192579(0x1c0))/0x6*(parseInt(_0x192579(0x1c4))/0x7)+-parseInt(_0x192579(0x1be))/0x8+-parseInt(_0x192579(0x1c6))/0x9*(-parseInt(_0x192579(0x1c1))/0xa);if(_0x3a52f2===_0x3fa593)break;else _0x104da1['push'](_0x104da1['shift']());}catch(_0x4d0b21){_0x104da1['push'](_0x104da1['shift']());}}}(_0x4372,0xb6f76));function _0x4372(){const _0x17b953=['map','CKEditor/AIFormView/PromptHistory','2489362brMNFt','setItem','_loadFromSessionStorage','1474992YGQoSM','3PYJelF','_saveToSessionStorage','9171776ZrGlED','add','1380UbFoSR','110aaNGOt','last','3973315vKZHiA','15127WWeZVX','stringify','2301813yQktLg','339125eBSIMr','prompt','remove','addMany','getItem','toLowerCase','parse','trim','length'];_0x4372=function(){return _0x17b953;};return _0x4372();}import{Collection as _0x35707c}from'ckeditor5/src/utils.js';function _0x4399(_0x5abe2d,_0x550735){const _0x4372a1=_0x4372();return _0x4399=function(_0x4399b4,_0x220e8d){_0x4399b4=_0x4399b4-0x1b9;let _0x2cdfe1=_0x4372a1[_0x4399b4];return _0x2cdfe1;},_0x4399(_0x5abe2d,_0x550735);}const cs=_0x513170(0x1d1);export default class os extends _0x35707c{constructor(){const _0x39e6b6=_0x513170;super(),this[_0x39e6b6(0x1ba)](),this['on'](_0x39e6b6(0x1bf),(_0x5ec469,_0x23ed43)=>{const _0x4f36bc=_0x39e6b6,_0x5224c7=Ss(_0x23ed43[_0x4f36bc(0x1c8)]);for(const _0x8f1bfe of this)if(_0x8f1bfe!=_0x23ed43&&Ss(_0x8f1bfe[_0x4f36bc(0x1c8)])===_0x5224c7){this[_0x4f36bc(0x1c9)](_0x8f1bfe);break;}this[_0x4f36bc(0x1cf)]>0x14&&this[_0x4f36bc(0x1c9)](this[_0x4f36bc(0x1c2)]),this[_0x4f36bc(0x1bd)]();}),this['on'](_0x39e6b6(0x1c9),()=>{const _0x2956a5=_0x39e6b6;this[_0x2956a5(0x1bd)]();});}[_0x513170(0x1ba)](){const _0x19e431=_0x513170,_0x251819=sessionStorage[_0x19e431(0x1cb)](cs)||'[]';this[_0x19e431(0x1ca)](JSON[_0x19e431(0x1cd)](_0x251819));}[_0x513170(0x1bd)](){const _0x2d934b=_0x513170;sessionStorage[_0x2d934b(0x1b9)](cs,JSON[_0x2d934b(0x1c5)](this[_0x2d934b(0x1d0)](_0xe5dc77=>_0xe5dc77)));}}function Ss(_0x1ae949){const _0xe17ae5=_0x513170;return _0x1ae949[_0xe17ae5(0x1cc)]()[_0xe17ae5(0x1ce)]();}
23
+ const _0x4ab66c=_0x17bb;function _0x17bb(_0x2a5018,_0x13012f){const _0x1147cc=_0x1147();return _0x17bb=function(_0x17bbef,_0x390471){_0x17bbef=_0x17bbef-0xe9;let _0x2c5c8f=_0x1147cc[_0x17bbef];return _0x2c5c8f;},_0x17bb(_0x2a5018,_0x13012f);}(function(_0x26f9d8,_0x39a904){const _0x292f38=_0x17bb,_0x184fc9=_0x26f9d8();while(!![]){try{const _0x649ab1=parseInt(_0x292f38(0xf7))/0x1+-parseInt(_0x292f38(0xf0))/0x2*(-parseInt(_0x292f38(0xea))/0x3)+-parseInt(_0x292f38(0xfe))/0x4*(parseInt(_0x292f38(0xf1))/0x5)+parseInt(_0x292f38(0xed))/0x6+-parseInt(_0x292f38(0xef))/0x7+-parseInt(_0x292f38(0x100))/0x8+-parseInt(_0x292f38(0xf9))/0x9*(parseInt(_0x292f38(0xf3))/0xa);if(_0x649ab1===_0x39a904)break;else _0x184fc9['push'](_0x184fc9['shift']());}catch(_0x1a8416){_0x184fc9['push'](_0x184fc9['shift']());}}}(_0x1147,0x75db2));import{Collection as _0x851e3d}from'ckeditor5/src/utils.js';function _0x1147(){const _0x5f3c88=['toLowerCase','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','remove','1871288NCIopa','add','3992416lczYgR','_loadFromSessionStorage','length','addMany','132fQpfyD','prompt','map','2322432HdfjDE','trim','1141861lIwagM','35194uSofJr','5WDLxeK','last','770420MlGnSb','parse','stringify','getItem','759563lgmBUT','setItem','36mrYsOj'];_0x1147=function(){return _0x5f3c88;};return _0x1147();}const cs=_0x4ab66c(0xfc);export default class os extends _0x851e3d{constructor(){const _0x1d40c8=_0x4ab66c;super(),this[_0x1d40c8(0x101)](),this['on'](_0x1d40c8(0xff),(_0xd2e8f7,_0xe54bd0)=>{const _0x49dee1=_0x1d40c8,_0x597040=Ss(_0xe54bd0[_0x49dee1(0xeb)]);for(const _0xe92a9b of this)if(_0xe92a9b!=_0xe54bd0&&Ss(_0xe92a9b[_0x49dee1(0xeb)])===_0x597040){this[_0x49dee1(0xfd)](_0xe92a9b);break;}this[_0x49dee1(0x102)]>0x14&&this[_0x49dee1(0xfd)](this[_0x49dee1(0xf2)]),this[_0x49dee1(0xfb)]();}),this['on'](_0x1d40c8(0xfd),()=>{const _0x535103=_0x1d40c8;this[_0x535103(0xfb)]();});}[_0x4ab66c(0x101)](){const _0x2bf6d2=_0x4ab66c,_0x565706=sessionStorage[_0x2bf6d2(0xf6)](cs)||'[]';this[_0x2bf6d2(0xe9)](JSON[_0x2bf6d2(0xf4)](_0x565706));}[_0x4ab66c(0xfb)](){const _0x47c686=_0x4ab66c;sessionStorage[_0x47c686(0xf8)](cs,JSON[_0x47c686(0xf5)](this[_0x47c686(0xec)](_0x46516c=>_0x46516c)));}}function Ss(_0x442631){const _0x4f8ab4=_0x4ab66c;return _0x442631[_0x4f8ab4(0xfa)]()[_0x4f8ab4(0xee)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xada131=_0x4266;function _0x4266(_0x260ef4,_0x4ec300){const _0x2b4be8=_0x2b4b();return _0x4266=function(_0x42663f,_0x300144){_0x42663f=_0x42663f-0x16c;let _0x2459e4=_0x2b4be8[_0x42663f];return _0x2459e4;},_0x4266(_0x260ef4,_0x4ec300);}(function(_0x1a00ce,_0x1c1177){const _0x368811=_0x4266,_0x3d8175=_0x1a00ce();while(!![]){try{const _0x32b9eb=parseInt(_0x368811(0x16f))/0x1+-parseInt(_0x368811(0x173))/0x2*(parseInt(_0x368811(0x175))/0x3)+-parseInt(_0x368811(0x183))/0x4*(-parseInt(_0x368811(0x178))/0x5)+-parseInt(_0x368811(0x16d))/0x6*(-parseInt(_0x368811(0x196))/0x7)+parseInt(_0x368811(0x17b))/0x8+parseInt(_0x368811(0x16c))/0x9*(-parseInt(_0x368811(0x177))/0xa)+parseInt(_0x368811(0x190))/0xb*(-parseInt(_0x368811(0x174))/0xc);if(_0x32b9eb===_0x1c1177)break;else _0x3d8175['push'](_0x3d8175['shift']());}catch(_0x2633ea){_0x3d8175['push'](_0x3d8175['shift']());}}}(_0x2b4b,0x3a230));import{Command as _0x468827}from'ckeditor5/src/core.js';import _0x5cb2b8 from'../aiassistantui.js';function _0x2b4b(){const _0x2a46cf=['showUI','99UiLjoB','isEnabled','element','getRanges','selection','change:isEnabled','13552FeDakW','plugins','document','isEmpty','getItems','from','7272vLMMhQ','726NXKiYk','_hasContext','234107NzpbJg','refresh','commands','_commandDefinitions','152948xncKID','29172gmRyHS','15GPFjJr','custom','2150XItVqP','837665Vmyfht','hasContent','length','1441608khEVCi','getFirstRange','add','execute','reduce','set','name','ai.aiAssistant.disabledElements','4sVTSjP','requiresContent','getSelectedBlocks','change:_hasContext','enabledCommandsIds','isCollapsed','config','editor','concat','get','model','includes'];_0x2b4b=function(){return _0x2a46cf;};return _0x2b4b();}export default class g extends _0x468827{constructor(_0x393505,_0x4d6169){const _0x26a479=_0x4266;super(_0x393505),this[_0x26a479(0x172)]=_0x4d6169?_0x4d6169[_0x26a479(0x17f)]((_0x5ba3a0,_0x295056)=>_0x5ba3a0[_0x26a479(0x18b)](_0x295056[_0x26a479(0x171)]),new Array()):[],this[_0x26a479(0x180)](_0x26a479(0x187),[]),this['on'](_0x26a479(0x186),(_0x49d190,_0x371e55,_0x303823)=>{const _0x554e67=_0x26a479;this[_0x554e67(0x191)]&&(this[_0x554e67(0x187)]=F(this[_0x554e67(0x172)],_0x303823));}),this[_0x26a479(0x180)](_0x26a479(0x16e),!0x1),this['on'](_0x26a479(0x195),(_0x59cae4,_0x25dd56,_0x7dc618)=>{const _0xe95b95=_0x26a479;this[_0xe95b95(0x187)]=_0x7dc618?F(this[_0xe95b95(0x172)],this[_0xe95b95(0x16e)]):[];});}[_0xada131(0x170)](){const _0x53bc81=_0xada131,_0x2b41e4=this[_0x53bc81(0x18a)][_0x53bc81(0x18d)];this[_0x53bc81(0x16e)]=function(_0x3a85da){const _0x407478=_0x53bc81,_0x228617=_0x3a85da[_0x407478(0x198)][_0x407478(0x194)];return _0x228617[_0x407478(0x188)]?0x0!==[..._0x228617[_0x407478(0x185)]()][_0x407478(0x17a)]&&![..._0x228617[_0x407478(0x185)]()][0x0][_0x407478(0x199)]:!!_0x3a85da[_0x407478(0x179)](_0x228617[_0x407478(0x17c)]());}(_0x2b41e4);const _0x580b1a=_0x2b41e4[_0x53bc81(0x198)][_0x53bc81(0x194)],_0x25b425=this[_0x53bc81(0x18a)][_0x53bc81(0x189)][_0x53bc81(0x18c)](_0x53bc81(0x182));for(const _0x38f72a of _0x580b1a[_0x53bc81(0x193)]())for(const _0x4026da of _0x38f72a[_0x53bc81(0x19a)]())if(_0x4026da['is'](_0x53bc81(0x192))&&_0x25b425[_0x53bc81(0x18e)](_0x4026da[_0x53bc81(0x181)]))return void(this[_0x53bc81(0x191)]=!0x1);this[_0x53bc81(0x191)]=!0x0;}[_0xada131(0x17e)](_0x5677cd='',_0x2e1e27='',_0x1069bb=_0xada131(0x176)){const _0x102615=_0xada131;this[_0x102615(0x18a)][_0x102615(0x197)][_0x102615(0x18c)](_0x5cb2b8)[_0x102615(0x18f)](_0x5677cd,_0x2e1e27,_0x1069bb);}}function F(_0x3f0e94,_0x58d230){const _0x1f2230=_0xada131,_0xb487f1=new Set();for(const _0x37954a of _0x3f0e94)(_0x58d230||!0x1===_0x37954a[_0x1f2230(0x184)])&&_0xb487f1[_0x1f2230(0x17d)](_0x37954a['id']);return Array[_0x1f2230(0x19b)](_0xb487f1);}
23
+ const _0x30d7cc=_0x9a35;function _0x405d(){const _0x29de62=['ai.aiAssistant.disabledElements','getSelectedBlocks','17376MjTAZi','hasContent','commands','get','document','getItems','custom','112110wLhpcQ','102423HrNNOO','change:isEnabled','11Qciwzr','refresh','isEmpty','_hasContext','_commandDefinitions','reduce','293712dPHFZJ','editor','model','name','getRanges','1452GcLnmA','from','set','requiresContent','plugins','change:_hasContext','selection','1764iyAAQe','add','isCollapsed','157949saIIHa','execute','element','1631RQuunw','includes','length','337276LFbFSA','showUI','isEnabled','20zLMXWu','27280CmGLLI','getFirstRange','enabledCommandsIds','concat','config'];_0x405d=function(){return _0x29de62;};return _0x405d();}(function(_0x4e66f5,_0x3cdd9a){const _0x3bec30=_0x9a35,_0x45f64e=_0x4e66f5();while(!![]){try{const _0x1795e8=parseInt(_0x3bec30(0x130))/0x1*(parseInt(_0x3bec30(0x12d))/0x2)+parseInt(_0x3bec30(0x12e))/0x3+parseInt(_0x3bec30(0x14b))/0x4*(parseInt(_0x3bec30(0x14e))/0x5)+parseInt(_0x3bec30(0x136))/0x6+-parseInt(_0x3bec30(0x148))/0x7*(-parseInt(_0x3bec30(0x156))/0x8)+parseInt(_0x3bec30(0x142))/0x9*(parseInt(_0x3bec30(0x14f))/0xa)+-parseInt(_0x3bec30(0x145))/0xb*(parseInt(_0x3bec30(0x13b))/0xc);if(_0x1795e8===_0x3cdd9a)break;else _0x45f64e['push'](_0x45f64e['shift']());}catch(_0x5674e2){_0x45f64e['push'](_0x45f64e['shift']());}}}(_0x405d,0x5314b));import{Command as _0x2287a0}from'ckeditor5/src/core.js';function _0x9a35(_0x31b1d6,_0x3a6261){const _0x405dba=_0x405d();return _0x9a35=function(_0x9a358,_0x4b916a){_0x9a358=_0x9a358-0x129;let _0x460f40=_0x405dba[_0x9a358];return _0x460f40;},_0x9a35(_0x31b1d6,_0x3a6261);}import _0x42b0eb from'../aiassistantui.js';export default class j extends _0x2287a0{constructor(_0x56799e,_0x4aecf9){const _0x3dc923=_0x9a35;super(_0x56799e),this[_0x3dc923(0x134)]=_0x4aecf9?_0x4aecf9[_0x3dc923(0x135)]((_0x22d412,_0x453e9d)=>_0x22d412[_0x3dc923(0x152)](_0x453e9d[_0x3dc923(0x158)]),new Array()):[],this[_0x3dc923(0x13d)](_0x3dc923(0x151),[]),this['on'](_0x3dc923(0x140),(_0xc84841,_0x1c7ff7,_0x5d7591)=>{const _0x994a88=_0x3dc923;this[_0x994a88(0x14d)]&&(this[_0x994a88(0x151)]=G(this[_0x994a88(0x134)],_0x5d7591));}),this[_0x3dc923(0x13d)](_0x3dc923(0x133),!0x1),this['on'](_0x3dc923(0x12f),(_0x385088,_0xbcce83,_0x4ed9e9)=>{const _0x9307e6=_0x3dc923;this[_0x9307e6(0x151)]=_0x4ed9e9?G(this[_0x9307e6(0x134)],this[_0x9307e6(0x133)]):[];});}[_0x30d7cc(0x131)](){const _0x4af9c2=_0x30d7cc,_0x2d7270=this[_0x4af9c2(0x137)][_0x4af9c2(0x138)];this[_0x4af9c2(0x133)]=function(_0x4fcebf){const _0x540274=_0x4af9c2,_0x327d8e=_0x4fcebf[_0x540274(0x12a)][_0x540274(0x141)];return _0x327d8e[_0x540274(0x144)]?0x0!==[..._0x327d8e[_0x540274(0x155)]()][_0x540274(0x14a)]&&![..._0x327d8e[_0x540274(0x155)]()][0x0][_0x540274(0x132)]:!!_0x4fcebf[_0x540274(0x157)](_0x327d8e[_0x540274(0x150)]());}(_0x2d7270);const _0x23570c=_0x2d7270[_0x4af9c2(0x12a)][_0x4af9c2(0x141)],_0x562129=this[_0x4af9c2(0x137)][_0x4af9c2(0x153)][_0x4af9c2(0x129)](_0x4af9c2(0x154));for(const _0xa09a93 of _0x23570c[_0x4af9c2(0x13a)]())for(const _0x1de6a4 of _0xa09a93[_0x4af9c2(0x12b)]())if(_0x1de6a4['is'](_0x4af9c2(0x147))&&_0x562129[_0x4af9c2(0x149)](_0x1de6a4[_0x4af9c2(0x139)]))return void(this[_0x4af9c2(0x14d)]=!0x1);this[_0x4af9c2(0x14d)]=!0x0;}[_0x30d7cc(0x146)](_0x28d809='',_0x5a4323='',_0x3585b9=_0x30d7cc(0x12c)){const _0x306a31=_0x30d7cc;this[_0x306a31(0x137)][_0x306a31(0x13f)][_0x306a31(0x129)](_0x42b0eb)[_0x306a31(0x14c)](_0x28d809,_0x5a4323,_0x3585b9);}}function G(_0x507a77,_0x1484cc){const _0x4f390c=_0x30d7cc,_0x3a127c=new Set();for(const _0x4016aa of _0x507a77)(_0x1484cc||!0x1===_0x4016aa[_0x4f390c(0x13e)])&&_0x3a127c[_0x4f390c(0x143)](_0x4016aa['id']);return Array[_0x4f390c(0x13c)](_0x3a127c);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x19055d,_0x546604,_0x16482f){const t=_0x19055d['t'];switch(_0x546604){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x16482f);case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x16482f);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 _0x546604;}}
23
+ export function getTranslation(_0x4d4018,_0x4639ee,_0x10801e){const t=_0x4d4018['t'];switch(_0x4639ee){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x10801e);case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x10801e);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 _0x4639ee;}}