@ckeditor/ckeditor5-ai 44.1.0-alpha.5 → 44.1.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 (168) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/adapters/aiadapter.js +1 -1
  149. package/src/adapters/aitextadapter.js +1 -1
  150. package/src/adapters/awstextadapter.js +1 -1
  151. package/src/adapters/openaitextadapter.js +1 -1
  152. package/src/aiassistant.js +1 -1
  153. package/src/aiassistantediting.js +1 -1
  154. package/src/aiassistantui.js +1 -1
  155. package/src/index.js +1 -1
  156. package/src/legacyerrors.js +1 -1
  157. package/src/ui/aiassistantcontroller.js +2 -2
  158. package/src/ui/form/aiformcontentarea.js +1 -1
  159. package/src/ui/form/aiformerrorview.js +1 -1
  160. package/src/ui/form/aiformpromptview.js +1 -1
  161. package/src/ui/form/aiformtoolbarview.js +1 -1
  162. package/src/ui/form/aiformview.js +1 -1
  163. package/src/ui/form/aihistorylistitemview.js +1 -1
  164. package/src/ui/form/aihistorylistview.js +1 -1
  165. package/src/ui/form/prompthistory.js +1 -1
  166. package/src/ui/showaiassistantcommand.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x124c27=_0x4a5a;function _0x4a5a(_0x5c930a,_0x110071){const _0x4012eb=_0x4012();return _0x4a5a=function(_0x4a5a45,_0x4f8ac7){_0x4a5a45=_0x4a5a45-0x8e;let _0x2d4af6=_0x4012eb[_0x4a5a45];return _0x2d4af6;},_0x4a5a(_0x5c930a,_0x110071);}(function(_0x3f1e5a,_0x5bc02f){const _0x1f569f=_0x4a5a,_0xcf9c4d=_0x3f1e5a();while(!![]){try{const _0x20e7a0=parseInt(_0x1f569f(0x8e))/0x1*(-parseInt(_0x1f569f(0x9d))/0x2)+-parseInt(_0x1f569f(0x99))/0x3+parseInt(_0x1f569f(0x93))/0x4*(parseInt(_0x1f569f(0xb2))/0x5)+-parseInt(_0x1f569f(0xa8))/0x6*(parseInt(_0x1f569f(0xac))/0x7)+-parseInt(_0x1f569f(0x8f))/0x8*(parseInt(_0x1f569f(0xa6))/0x9)+parseInt(_0x1f569f(0xa7))/0xa*(-parseInt(_0x1f569f(0xb1))/0xb)+parseInt(_0x1f569f(0xa5))/0xc;if(_0x20e7a0===_0x5bc02f)break;else _0xcf9c4d['push'](_0xcf9c4d['shift']());}catch(_0x167106){_0xcf9c4d['push'](_0xcf9c4d['shift']());}}}(_0x4012,0x4dd83));import{ToolbarView as _0x599b54,ButtonView as _0x553f2e}from'ckeditor5/src/ui.js';import{getTranslation as _0x4e286c}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x124c27(0xab),'INSERT':_0x124c27(0xad)};function _0x4012(){const _0x47e224=['104KfQyxS','REPLACE','_createButton','AI_','604iXRWui','_CONTENT','set','mainAction','Stop','replaceButton','1101879qSSkDU','Try\x20again','stopButton','isVisible','58244aXZILe','ck-button-action','label','items','insertButton','ck-ai-form__toolbar','bindTemplate','toUpperCase','25474044MSQxZL','427374IQwUef','1767910DjEXeu','78TBAbmd','extendTemplate','locale','replace','338863NPHOgG','insert','ck-hidden','tryAgainButton','addMany','11huQfSa','525nlsVVR','Insert\x20below','bind','1xnLjRv'];_0x4012=function(){return _0x47e224;};return _0x4012();}export default class nt extends _0x599b54{constructor(_0x25b6b3){const _0x355145=_0x124c27;super(_0x25b6b3),this[_0x355145(0x95)](_0x355145(0x9c),!0x1),this[_0x355145(0x95)](_0x355145(0x96),AIFormToolbarViewMainActionLabel[_0x355145(0x90)]),this[_0x355145(0x98)]=this[_0x355145(0x91)]('',_0x355145(0x9e)),this[_0x355145(0x98)][_0x355145(0xb4)](_0x355145(0x9f))['to'](this,_0x355145(0x96),_0x1103df=>_0x4e286c(_0x25b6b3,_0x355145(0x92)+_0x1103df[_0x355145(0xa4)]()+_0x355145(0x94))),this[_0x355145(0xa1)]=this[_0x355145(0x91)](_0x4e286c(_0x25b6b3,_0x355145(0xb3))),this[_0x355145(0xaf)]=this[_0x355145(0x91)](_0x4e286c(_0x25b6b3,_0x355145(0x9a))),this[_0x355145(0x9b)]=this[_0x355145(0x91)](_0x4e286c(_0x25b6b3,_0x355145(0x97)));const _0x3bbf5c=this[_0x355145(0xa3)];this[_0x355145(0xa9)]({'attributes':{'class':[_0x355145(0xa2),_0x3bbf5c['if'](_0x355145(0x9c),_0x355145(0xae),_0xad3873=>!_0xad3873)]}}),this[_0x355145(0xa0)][_0x355145(0xb0)]([this[_0x355145(0x98)],this[_0x355145(0xa1)],this[_0x355145(0xaf)],this[_0x355145(0x9b)]]);}[_0x124c27(0x91)](_0x52f1b6,_0x20e468){const _0x1d9999=_0x124c27,_0x4379d9=new _0x553f2e(this[_0x1d9999(0xaa)]);return _0x4379d9[_0x1d9999(0x95)]({'label':_0x52f1b6,'class':_0x20e468||'','isVisible':!0x0,'withText':!0x0}),_0x4379d9;}}
23
+ function _0x17e4(_0x2c59a7,_0x35b51a){const _0x36aad1=_0x36aa();return _0x17e4=function(_0x17e4ba,_0x26df1f){_0x17e4ba=_0x17e4ba-0x8b;let _0x595ed1=_0x36aad1[_0x17e4ba];return _0x595ed1;},_0x17e4(_0x2c59a7,_0x35b51a);}const _0x365574=_0x17e4;(function(_0x26d6df,_0x1ab143){const _0x4d9e29=_0x17e4,_0x407d0f=_0x26d6df();while(!![]){try{const _0x3b652d=-parseInt(_0x4d9e29(0xa2))/0x1+-parseInt(_0x4d9e29(0xab))/0x2*(parseInt(_0x4d9e29(0x90))/0x3)+-parseInt(_0x4d9e29(0xaa))/0x4*(-parseInt(_0x4d9e29(0xa0))/0x5)+parseInt(_0x4d9e29(0xa7))/0x6*(parseInt(_0x4d9e29(0xa9))/0x7)+parseInt(_0x4d9e29(0x95))/0x8+parseInt(_0x4d9e29(0xad))/0x9+-parseInt(_0x4d9e29(0x91))/0xa*(parseInt(_0x4d9e29(0x8b))/0xb);if(_0x3b652d===_0x1ab143)break;else _0x407d0f['push'](_0x407d0f['shift']());}catch(_0x19edf7){_0x407d0f['push'](_0x407d0f['shift']());}}}(_0x36aa,0x636d1));import{ToolbarView as _0x1229f3,ButtonView as _0x16689b}from'ckeditor5/src/ui.js';import{getTranslation as _0x4f1921}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x365574(0xb0),'INSERT':_0x365574(0x92)};export default class nt extends _0x1229f3{constructor(_0x2ee13c){const _0x461c46=_0x365574;super(_0x2ee13c),this[_0x461c46(0x96)](_0x461c46(0x97),!0x1),this[_0x461c46(0x96)](_0x461c46(0xae),AIFormToolbarViewMainActionLabel[_0x461c46(0x9f)]),this[_0x461c46(0x8f)]=this[_0x461c46(0x9a)]('',_0x461c46(0x98)),this[_0x461c46(0x8f)][_0x461c46(0xa8)](_0x461c46(0x9c))['to'](this,_0x461c46(0xae),_0x4b98c9=>_0x4f1921(_0x2ee13c,_0x461c46(0xa1)+_0x4b98c9[_0x461c46(0x8d)]()+_0x461c46(0xac))),this[_0x461c46(0xa5)]=this[_0x461c46(0x9a)](_0x4f1921(_0x2ee13c,_0x461c46(0x8c))),this[_0x461c46(0xa6)]=this[_0x461c46(0x9a)](_0x4f1921(_0x2ee13c,_0x461c46(0x94))),this[_0x461c46(0x99)]=this[_0x461c46(0x9a)](_0x4f1921(_0x2ee13c,_0x461c46(0xa3)));const _0x7d1ac5=this[_0x461c46(0x9e)];this[_0x461c46(0x9b)]({'attributes':{'class':[_0x461c46(0xaf),_0x7d1ac5['if'](_0x461c46(0x97),_0x461c46(0x9d),_0x307a75=>!_0x307a75)]}}),this[_0x461c46(0x8e)][_0x461c46(0x93)]([this[_0x461c46(0x8f)],this[_0x461c46(0xa5)],this[_0x461c46(0xa6)],this[_0x461c46(0x99)]]);}[_0x365574(0x9a)](_0x1bfbfa,_0x5d3d79){const _0x446df7=_0x365574,_0xe6c9e5=new _0x16689b(this[_0x446df7(0xa4)]);return _0xe6c9e5[_0x446df7(0x96)]({'label':_0x1bfbfa,'class':_0x5d3d79||'','isVisible':!0x0,'withText':!0x0}),_0xe6c9e5;}}function _0x36aa(){const _0x5b2ac8=['_createButton','extendTemplate','label','ck-hidden','bindTemplate','REPLACE','5zhYTSJ','AI_','346073vtKiMt','Stop','locale','insertButton','tryAgainButton','13920ESZJDG','bind','952xmcVES','2170076vIZPon','1810yCozod','_CONTENT','4594320ipYcnr','mainAction','ck-ai-form__toolbar','replace','22xMYyOv','Insert\x20below','toUpperCase','items','replaceButton','1305ALCaCA','4112510xTnlLZ','insert','addMany','Try\x20again','4807840gumJCW','set','isVisible','ck-button-action','stopButton'];_0x36aa=function(){return _0x5b2ac8;};return _0x36aa();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e30b3=_0x5398;(function(_0x597674,_0x23aa9e){const _0x1dad55=_0x5398,_0x7c8196=_0x597674();while(!![]){try{const _0x33cf85=-parseInt(_0x1dad55(0x172))/0x1+-parseInt(_0x1dad55(0x184))/0x2+parseInt(_0x1dad55(0x147))/0x3+-parseInt(_0x1dad55(0x191))/0x4+-parseInt(_0x1dad55(0x188))/0x5+parseInt(_0x1dad55(0x168))/0x6+parseInt(_0x1dad55(0x173))/0x7*(parseInt(_0x1dad55(0x169))/0x8);if(_0x33cf85===_0x23aa9e)break;else _0x7c8196['push'](_0x7c8196['shift']());}catch(_0x1193c1){_0x7c8196['push'](_0x7c8196['shift']());}}}(_0x14cd,0x71580));import{FocusTracker as _0x5addcc,KeystrokeHandler as _0x263865}from'ckeditor5/src/utils.js';import{View as _0x1fadac,FocusCycler as _0x4bbe7e,createLabeledTextarea as _0x3106db}from'ckeditor5/src/ui.js';import _0x27e062,{AIFormToolbarViewMainActionLabel as _0x533a9a}from'./aiformtoolbarview.js';import _0x26f9ab from'./aiformcontentarea.js';function _0x14cd(){const _0x3d70d4=['focusTracker','insertButton','historyGroupView','execute','copyButtonView','clearHistory','render','focusCycler','focusFirst','element','stopButton','focusLast','contentArea','insertContentBelow','trim','isEnabled','errorView','label','2176428iyUVbf','8TLhyKQ','high','tryAgainEvent','_focusables','items','value','keystrokes','_createPromptView','delegate','565365yuAVof','10887562CzbGla','stopProcessing','listenTo','startProcessing','Ask\x20AI\x20to\x20improve\x20generated\x20text','queryView','submit','tryAgainButton','createCollection','Empty\x20history','_createHistoryView','isVisible','add','bindTo','div','fire','set','587546iaLLtU','submitPrompt','ck-ai-form-content','text','3613515dgQFgI','toolbar','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','clear','isError','focus','replaceContent','chain','ck-ai-form','3183964PxTFfd','bind','tab','reset','isProcessing','REPLACE','prompt','ck-hidden','shift\x20+\x20tab','2771952DCBNWn','setTemplate','locale','fieldView','finishProcessing','replaceButton','promptView','_promptHistory','mainAction','_createToolbar','bindTemplate','handleError','AI_ERROR_FAILED','Ask\x20AI\x20to\x20edit\x20or\x20generate','search'];_0x14cd=function(){return _0x3d70d4;};return _0x14cd();}import _0x450bed from'./aiformerrorview.js';import _0x2b0a66 from'./aiformpromptview.js';import _0x467c2a from'./aihistorylistview.js';import _0x484547 from'./aihistorylistitemview.js';import _0x341d91 from'./prompthistory.js';import{getTranslation as _0x13b9cd}from'../../utils/common-translations.js';import{escape as _0xa6be2a}from'lodash-es';function _0x5398(_0x42a6bc,_0x581c9a){const _0x14cd34=_0x14cd();return _0x5398=function(_0x5398a3,_0x382b00){_0x5398a3=_0x5398a3-0x146;let _0x155244=_0x14cd34[_0x5398a3];return _0x155244;},_0x5398(_0x42a6bc,_0x581c9a);}export default class K extends _0x1fadac{constructor(_0x27cbb9,_0x3d0d31,_0x4f8469=''){const _0x5a43c7=_0x5398;super(_0x27cbb9),this[_0x5a43c7(0x183)](_0x5a43c7(0x165),!0x0),this[_0x5a43c7(0x183)](_0x5a43c7(0x195),!0x1),this[_0x5a43c7(0x183)](_0x5a43c7(0x197),''),this[_0x5a43c7(0x183)](_0x5a43c7(0x16e),''),this[_0x5a43c7(0x183)](_0x5a43c7(0x18c),!0x1),this[_0x5a43c7(0x183)](_0x5a43c7(0x14f),_0x533a9a[_0x5a43c7(0x196)]),this[_0x5a43c7(0x14e)]=new _0x341d91(),this[_0x5a43c7(0x166)]=new _0x450bed(_0x27cbb9),this[_0x5a43c7(0x162)]=new _0x26f9ab(_0x27cbb9,_0x4f8469),this[_0x5a43c7(0x162)][_0x5a43c7(0x192)](_0x5a43c7(0x195))['to'](this),this[_0x5a43c7(0x162)][_0x5a43c7(0x192)](_0x5a43c7(0x16e))['to'](this),this[_0x5a43c7(0x189)]=this[_0x5a43c7(0x150)](),this[_0x5a43c7(0x189)][_0x5a43c7(0x192)](_0x5a43c7(0x14f))['to'](this),this[_0x5a43c7(0x14d)]=this[_0x5a43c7(0x170)](),this[_0x5a43c7(0x156)]=new _0x5addcc(),this[_0x5a43c7(0x16f)]=new _0x263865(),this[_0x5a43c7(0x16c)]=this[_0x5a43c7(0x17b)]([this[_0x5a43c7(0x162)],this[_0x5a43c7(0x162)][_0x5a43c7(0x15a)],this[_0x5a43c7(0x189)],this[_0x5a43c7(0x14d)]]),this[_0x5a43c7(0x15d)]=new _0x4bbe7e({'focusables':this[_0x5a43c7(0x16c)],'focusTracker':this[_0x5a43c7(0x156)],'keystrokeHandler':this[_0x5a43c7(0x16f)],'actions':{'focusPrevious':_0x5a43c7(0x146),'focusNext':_0x5a43c7(0x193)}}),this[_0x5a43c7(0x15d)][_0x5a43c7(0x18f)](this[_0x5a43c7(0x14d)][_0x5a43c7(0x15d)]),this[_0x5a43c7(0x14d)][_0x5a43c7(0x178)][_0x5a43c7(0x14a)][_0x5a43c7(0x192)](_0x5a43c7(0x16e))['to'](this,_0x5a43c7(0x197));const _0x3a2d93=this[_0x5a43c7(0x151)];this[_0x5a43c7(0x148)]({'tag':_0x5a43c7(0x181),'attributes':{'class':['ck',_0x5a43c7(0x190),_0x3d0d31],'tabindex':'-1'},'children':[{'tag':_0x5a43c7(0x181),'attributes':{'class':['ck',_0x5a43c7(0x186)]},'children':[{'tag':_0x5a43c7(0x181),'attributes':{'class':[_0x3a2d93['if'](_0x5a43c7(0x18c),_0x5a43c7(0x198),_0xc67e82=>!_0xc67e82)]},'children':[this[_0x5a43c7(0x166)]]},this[_0x5a43c7(0x162)],this[_0x5a43c7(0x189)],this[_0x5a43c7(0x14d)]]}]});}[_0x1e30b3(0x15c)](){const _0x27b291=_0x1e30b3;super[_0x27b291(0x15c)](),this[_0x27b291(0x156)][_0x27b291(0x17f)](this[_0x27b291(0x162)][_0x27b291(0x15f)]),this[_0x27b291(0x156)][_0x27b291(0x17f)](this[_0x27b291(0x162)][_0x27b291(0x15a)][_0x27b291(0x15f)]),this[_0x27b291(0x156)][_0x27b291(0x17f)](this[_0x27b291(0x189)][_0x27b291(0x15f)]),this[_0x27b291(0x156)][_0x27b291(0x17f)](this[_0x27b291(0x14d)][_0x27b291(0x15f)]),this[_0x27b291(0x16f)][_0x27b291(0x175)](this[_0x27b291(0x15f)]);}[_0x1e30b3(0x18d)](_0x1e77af=0x1){const _0x24cfae=_0x1e30b3;-0x1===_0x1e77af?this[_0x24cfae(0x15d)][_0x24cfae(0x161)]():this[_0x24cfae(0x15d)][_0x24cfae(0x15e)]();}[_0x1e30b3(0x194)](){const _0x2e59f8=_0x1e30b3;this[_0x2e59f8(0x197)]='',this[_0x2e59f8(0x16e)]='',this[_0x2e59f8(0x18c)]=!0x1,this[_0x2e59f8(0x14d)][_0x2e59f8(0x194)](),this[_0x2e59f8(0x162)][_0x2e59f8(0x17e)]=!0x1,this[_0x2e59f8(0x189)][_0x2e59f8(0x17e)]=!0x1;}[_0x1e30b3(0x170)](){const _0x2ffc39=_0x1e30b3,_0x104bae=this[_0x2ffc39(0x149)],_0x456dfc=new _0x2b0a66(_0x104bae,{'queryView':{'label':_0x13b9cd(_0x104bae,_0x2ffc39(0x154)),'creator':_0x3106db,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x13b9cd(_0x104bae,_0x2ffc39(0x17c)),'secondary':_0x13b9cd(_0x104bae,_0x2ffc39(0x18a))}}},'filteredView':this[_0x2ffc39(0x17d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x456dfc[_0x2ffc39(0x192)](_0x2ffc39(0x165))['to'](this,_0x2ffc39(0x165),this,_0x2ffc39(0x195),(_0x16d44c,_0x2c5359)=>_0x16d44c&&!_0x2c5359),this[_0x2ffc39(0x175)](_0x456dfc,_0x2ffc39(0x179),(_0x29722c,_0x1d5878)=>{const _0x3a9f5e=_0x2ffc39;this[_0x3a9f5e(0x197)]=_0x1d5878;const _0x24b302=_0xa6be2a(_0x1d5878);this[_0x3a9f5e(0x182)](_0x3a9f5e(0x185),_0x24b302),_0x1d5878[_0x3a9f5e(0x164)]()&&this[_0x3a9f5e(0x14e)][_0x3a9f5e(0x17f)]({'prompt':_0x24b302},0x0);},{'priority':_0x2ffc39(0x16a)}),_0x456dfc;}[_0x1e30b3(0x17d)](){const _0x428b19=_0x1e30b3,_0x23d3f8=new _0x467c2a(this[_0x428b19(0x149)]);return _0x23d3f8[_0x428b19(0x158)][_0x428b19(0x16d)][_0x428b19(0x180)](this[_0x428b19(0x14e)])['as'](_0x484547),_0x23d3f8['on'](_0x428b19(0x15b),()=>{const _0x44702a=_0x428b19;this[_0x44702a(0x14e)][_0x44702a(0x18b)](),this[_0x44702a(0x14d)][_0x44702a(0x155)](''),this[_0x44702a(0x14d)][_0x44702a(0x18d)]();}),_0x23d3f8;}[_0x1e30b3(0x150)](){const _0x419c15=_0x1e30b3,_0x350473=new _0x27e062(this[_0x419c15(0x149)]);return _0x350473[_0x419c15(0x14c)][_0x419c15(0x192)](_0x419c15(0x165))['to'](this,_0x419c15(0x165),this,_0x419c15(0x195),this,_0x419c15(0x16e),(_0x59d8d9,_0x19170a,_0x2f92ad)=>_0x59d8d9&&!_0x19170a&&!!_0x2f92ad),_0x350473[_0x419c15(0x14c)][_0x419c15(0x171)](_0x419c15(0x159))['to'](this,_0x419c15(0x18e)),_0x350473[_0x419c15(0x157)][_0x419c15(0x192)](_0x419c15(0x165))['to'](this,_0x419c15(0x165),this,_0x419c15(0x195),this,_0x419c15(0x16e),(_0x540bbe,_0x1d75e9,_0x2ec884)=>_0x540bbe&&!_0x1d75e9&&!!_0x2ec884),_0x350473[_0x419c15(0x157)][_0x419c15(0x171)](_0x419c15(0x159))['to'](this,_0x419c15(0x163)),_0x350473[_0x419c15(0x17a)][_0x419c15(0x192)](_0x419c15(0x165))['to'](this,_0x419c15(0x165),this,_0x419c15(0x195),(_0x50a28a,_0x1aabeb)=>_0x50a28a&&!_0x1aabeb),_0x350473[_0x419c15(0x17a)][_0x419c15(0x171)](_0x419c15(0x159))['to'](this,_0x419c15(0x16b)),_0x350473[_0x419c15(0x160)][_0x419c15(0x192)](_0x419c15(0x165))['to'](this,_0x419c15(0x195)),_0x350473[_0x419c15(0x160)][_0x419c15(0x171)](_0x419c15(0x159))['to'](this,_0x419c15(0x174)),_0x350473;}[_0x1e30b3(0x176)](){const _0x35e090=_0x1e30b3;this[_0x35e090(0x16e)]='',this[_0x35e090(0x18c)]=!0x1,this[_0x35e090(0x195)]=!0x0,this[_0x35e090(0x162)][_0x35e090(0x17e)]=!0x0,this[_0x35e090(0x189)][_0x35e090(0x17e)]=!0x0,this[_0x35e090(0x162)][_0x35e090(0x18d)]();}[_0x1e30b3(0x14b)](){const _0x5457ba=_0x1e30b3,_0x198331=this[_0x5457ba(0x149)];this[_0x5457ba(0x195)]=!0x1,this[_0x5457ba(0x197)]='',this[_0x5457ba(0x14d)][_0x5457ba(0x194)](),this[_0x5457ba(0x16e)]&&(this[_0x5457ba(0x14d)][_0x5457ba(0x178)][_0x5457ba(0x167)]=_0x13b9cd(_0x198331,_0x5457ba(0x177)));}[_0x1e30b3(0x152)](_0x4df192){const _0x5dc973=_0x1e30b3,_0x42c843=this[_0x5dc973(0x149)];this[_0x5dc973(0x14b)](),this[_0x5dc973(0x18c)]=!0x0,this[_0x5dc973(0x166)][_0x5dc973(0x187)]=_0x4df192||_0x13b9cd(_0x42c843,_0x5dc973(0x153)),this[_0x5dc973(0x16e)]||(this[_0x5dc973(0x162)][_0x5dc973(0x17e)]=!0x1);}}
23
+ function _0x1bf3(){const _0xb6c51c=['render','stopButton','Ask\x20AI\x20to\x20edit\x20or\x20generate','stopProcessing','focusLast','createCollection','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','3233800kKNLwS','reset','copyButtonView','submit','value','shift\x20+\x20tab','66pDKaCC','focusFirst','focusCycler','2730952AOsPZO','_createPromptView','_promptHistory','historyGroupView','27718oZlezG','ck-ai-form','keystrokes','setTemplate','toolbar','startProcessing','focus','REPLACE','ck-ai-form-content','bindTo','isVisible','tryAgainButton','errorView','chain','element','add','prompt','delegate','set','tryAgainEvent','fire','focusTracker','194276CKLQre','_createToolbar','items','_focusables','listenTo','Empty\x20history','12725064stVyMd','AI_ERROR_FAILED','text','replaceButton','ck-hidden','2113464tvqiDw','queryView','fieldView','isProcessing','tab','contentArea','bindTemplate','insertContentBelow','promptView','finishProcessing','isError','clearHistory','label','submitPrompt','replaceContent','526286ZHSFOO','mainAction','locale','25rzKjrw','search','execute','trim','insertButton','_createHistoryView','handleError','bind','div','isEnabled','high','Ask\x20AI\x20to\x20improve\x20generated\x20text','clear'];_0x1bf3=function(){return _0xb6c51c;};return _0x1bf3();}const _0x321bd8=_0x37c4;(function(_0x33af80,_0x27a277){const _0x231f56=_0x37c4,_0x3afd70=_0x33af80();while(!![]){try{const _0x59e578=-parseInt(_0x231f56(0xce))/0x1+parseInt(_0x231f56(0xf2))/0x2*(parseInt(_0x231f56(0xeb))/0x3)+-parseInt(_0x231f56(0x108))/0x4*(-parseInt(_0x231f56(0xd1))/0x5)+-parseInt(_0x231f56(0xbf))/0x6+-parseInt(_0x231f56(0xee))/0x7+-parseInt(_0x231f56(0xe5))/0x8+parseInt(_0x231f56(0x10e))/0x9;if(_0x59e578===_0x27a277)break;else _0x3afd70['push'](_0x3afd70['shift']());}catch(_0x3b216e){_0x3afd70['push'](_0x3afd70['shift']());}}}(_0x1bf3,0x467ec));import{FocusTracker as _0xc43a72,KeystrokeHandler as _0x35ce6e}from'ckeditor5/src/utils.js';import{View as _0x1cc63a,FocusCycler as _0x19defe,createLabeledTextarea as _0x1be4ba}from'ckeditor5/src/ui.js';function _0x37c4(_0x3f9ff6,_0x5b070c){const _0x1bf3bb=_0x1bf3();return _0x37c4=function(_0x37c438,_0x351e5b){_0x37c438=_0x37c438-0xbc;let _0x4e913b=_0x1bf3bb[_0x37c438];return _0x4e913b;},_0x37c4(_0x3f9ff6,_0x5b070c);}import _0x25d9f6,{AIFormToolbarViewMainActionLabel as _0x573053}from'./aiformtoolbarview.js';import _0x52aa23 from'./aiformcontentarea.js';import _0x2063d7 from'./aiformerrorview.js';import _0xd76751 from'./aiformpromptview.js';import _0x31df51 from'./aihistorylistview.js';import _0x2a7743 from'./aihistorylistitemview.js';import _0x330b98 from'./prompthistory.js';import{getTranslation as _0x56a587}from'../../utils/common-translations.js';import{escape as _0x565645}from'lodash-es';export default class K extends _0x1cc63a{constructor(_0x3a37ab,_0x41a428,_0x26dc3f=''){const _0x241074=_0x37c4;super(_0x3a37ab),this[_0x241074(0x104)](_0x241074(0xda),!0x0),this[_0x241074(0x104)](_0x241074(0xc2),!0x1),this[_0x241074(0x104)](_0x241074(0x102),''),this[_0x241074(0x104)](_0x241074(0xe9),''),this[_0x241074(0x104)](_0x241074(0xc9),!0x1),this[_0x241074(0x104)](_0x241074(0xcf),_0x573053[_0x241074(0xf9)]),this[_0x241074(0xf0)]=new _0x330b98(),this[_0x241074(0xfe)]=new _0x2063d7(_0x3a37ab),this[_0x241074(0xc4)]=new _0x52aa23(_0x3a37ab,_0x26dc3f),this[_0x241074(0xc4)][_0x241074(0xd8)](_0x241074(0xc2))['to'](this),this[_0x241074(0xc4)][_0x241074(0xd8)](_0x241074(0xe9))['to'](this),this[_0x241074(0xf6)]=this[_0x241074(0x109)](),this[_0x241074(0xf6)][_0x241074(0xd8)](_0x241074(0xcf))['to'](this),this[_0x241074(0xc7)]=this[_0x241074(0xef)](),this[_0x241074(0x107)]=new _0xc43a72(),this[_0x241074(0xf4)]=new _0x35ce6e(),this[_0x241074(0x10b)]=this[_0x241074(0xe3)]([this[_0x241074(0xc4)],this[_0x241074(0xc4)][_0x241074(0xe7)],this[_0x241074(0xf6)],this[_0x241074(0xc7)]]),this[_0x241074(0xed)]=new _0x19defe({'focusables':this[_0x241074(0x10b)],'focusTracker':this[_0x241074(0x107)],'keystrokeHandler':this[_0x241074(0xf4)],'actions':{'focusPrevious':_0x241074(0xea),'focusNext':_0x241074(0xc3)}}),this[_0x241074(0xed)][_0x241074(0xff)](this[_0x241074(0xc7)][_0x241074(0xed)]),this[_0x241074(0xc7)][_0x241074(0xc0)][_0x241074(0xc1)][_0x241074(0xd8)](_0x241074(0xe9))['to'](this,_0x241074(0x102));const _0x4be535=this[_0x241074(0xc5)];this[_0x241074(0xf5)]({'tag':_0x241074(0xd9),'attributes':{'class':['ck',_0x241074(0xf3),_0x41a428],'tabindex':'-1'},'children':[{'tag':_0x241074(0xd9),'attributes':{'class':['ck',_0x241074(0xfa)]},'children':[{'tag':_0x241074(0xd9),'attributes':{'class':[_0x4be535['if'](_0x241074(0xc9),_0x241074(0xbe),_0x565172=>!_0x565172)]},'children':[this[_0x241074(0xfe)]]},this[_0x241074(0xc4)],this[_0x241074(0xf6)],this[_0x241074(0xc7)]]}]});}[_0x321bd8(0xde)](){const _0x59f6a4=_0x321bd8;super[_0x59f6a4(0xde)](),this[_0x59f6a4(0x107)][_0x59f6a4(0x101)](this[_0x59f6a4(0xc4)][_0x59f6a4(0x100)]),this[_0x59f6a4(0x107)][_0x59f6a4(0x101)](this[_0x59f6a4(0xc4)][_0x59f6a4(0xe7)][_0x59f6a4(0x100)]),this[_0x59f6a4(0x107)][_0x59f6a4(0x101)](this[_0x59f6a4(0xf6)][_0x59f6a4(0x100)]),this[_0x59f6a4(0x107)][_0x59f6a4(0x101)](this[_0x59f6a4(0xc7)][_0x59f6a4(0x100)]),this[_0x59f6a4(0xf4)][_0x59f6a4(0x10c)](this[_0x59f6a4(0x100)]);}[_0x321bd8(0xf8)](_0x1ee1c9=0x1){const _0x23db16=_0x321bd8;-0x1===_0x1ee1c9?this[_0x23db16(0xed)][_0x23db16(0xe2)]():this[_0x23db16(0xed)][_0x23db16(0xec)]();}[_0x321bd8(0xe6)](){const _0x39f4a5=_0x321bd8;this[_0x39f4a5(0x102)]='',this[_0x39f4a5(0xe9)]='',this[_0x39f4a5(0xc9)]=!0x1,this[_0x39f4a5(0xc7)][_0x39f4a5(0xe6)](),this[_0x39f4a5(0xc4)][_0x39f4a5(0xfc)]=!0x1,this[_0x39f4a5(0xf6)][_0x39f4a5(0xfc)]=!0x1;}[_0x321bd8(0xef)](){const _0x95d2c5=_0x321bd8,_0x2641cf=this[_0x95d2c5(0xd0)],_0x4aafe3=new _0xd76751(_0x2641cf,{'queryView':{'label':_0x56a587(_0x2641cf,_0x95d2c5(0xe0)),'creator':_0x1be4ba,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x56a587(_0x2641cf,_0x95d2c5(0x10d)),'secondary':_0x56a587(_0x2641cf,_0x95d2c5(0xe4))}}},'filteredView':this[_0x95d2c5(0xd6)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4aafe3[_0x95d2c5(0xd8)](_0x95d2c5(0xda))['to'](this,_0x95d2c5(0xda),this,_0x95d2c5(0xc2),(_0x4a2335,_0x31d6c4)=>_0x4a2335&&!_0x31d6c4),this[_0x95d2c5(0x10c)](_0x4aafe3,_0x95d2c5(0xe8),(_0x5df40f,_0x2ee436)=>{const _0x4d774f=_0x95d2c5;this[_0x4d774f(0x102)]=_0x2ee436;const _0x27551d=_0x565645(_0x2ee436);this[_0x4d774f(0x106)](_0x4d774f(0xcc),_0x27551d),_0x2ee436[_0x4d774f(0xd4)]()&&this[_0x4d774f(0xf0)][_0x4d774f(0x101)]({'prompt':_0x27551d},0x0);},{'priority':_0x95d2c5(0xdb)}),_0x4aafe3;}[_0x321bd8(0xd6)](){const _0x43ca8c=_0x321bd8,_0x3c6504=new _0x31df51(this[_0x43ca8c(0xd0)]);return _0x3c6504[_0x43ca8c(0xf1)][_0x43ca8c(0x10a)][_0x43ca8c(0xfb)](this[_0x43ca8c(0xf0)])['as'](_0x2a7743),_0x3c6504['on'](_0x43ca8c(0xca),()=>{const _0x52368e=_0x43ca8c;this[_0x52368e(0xf0)][_0x52368e(0xdd)](),this[_0x52368e(0xc7)][_0x52368e(0xd2)](''),this[_0x52368e(0xc7)][_0x52368e(0xf8)]();}),_0x3c6504;}[_0x321bd8(0x109)](){const _0x5e42a2=_0x321bd8,_0x3a2369=new _0x25d9f6(this[_0x5e42a2(0xd0)]);return _0x3a2369[_0x5e42a2(0xbd)][_0x5e42a2(0xd8)](_0x5e42a2(0xda))['to'](this,_0x5e42a2(0xda),this,_0x5e42a2(0xc2),this,_0x5e42a2(0xe9),(_0x382344,_0xd456f0,_0x151078)=>_0x382344&&!_0xd456f0&&!!_0x151078),_0x3a2369[_0x5e42a2(0xbd)][_0x5e42a2(0x103)](_0x5e42a2(0xd3))['to'](this,_0x5e42a2(0xcd)),_0x3a2369[_0x5e42a2(0xd5)][_0x5e42a2(0xd8)](_0x5e42a2(0xda))['to'](this,_0x5e42a2(0xda),this,_0x5e42a2(0xc2),this,_0x5e42a2(0xe9),(_0x117c18,_0x1981cf,_0x1e49fb)=>_0x117c18&&!_0x1981cf&&!!_0x1e49fb),_0x3a2369[_0x5e42a2(0xd5)][_0x5e42a2(0x103)](_0x5e42a2(0xd3))['to'](this,_0x5e42a2(0xc6)),_0x3a2369[_0x5e42a2(0xfd)][_0x5e42a2(0xd8)](_0x5e42a2(0xda))['to'](this,_0x5e42a2(0xda),this,_0x5e42a2(0xc2),(_0x3eea76,_0x2ef283)=>_0x3eea76&&!_0x2ef283),_0x3a2369[_0x5e42a2(0xfd)][_0x5e42a2(0x103)](_0x5e42a2(0xd3))['to'](this,_0x5e42a2(0x105)),_0x3a2369[_0x5e42a2(0xdf)][_0x5e42a2(0xd8)](_0x5e42a2(0xda))['to'](this,_0x5e42a2(0xc2)),_0x3a2369[_0x5e42a2(0xdf)][_0x5e42a2(0x103)](_0x5e42a2(0xd3))['to'](this,_0x5e42a2(0xe1)),_0x3a2369;}[_0x321bd8(0xf7)](){const _0x1a4db4=_0x321bd8;this[_0x1a4db4(0xe9)]='',this[_0x1a4db4(0xc9)]=!0x1,this[_0x1a4db4(0xc2)]=!0x0,this[_0x1a4db4(0xc4)][_0x1a4db4(0xfc)]=!0x0,this[_0x1a4db4(0xf6)][_0x1a4db4(0xfc)]=!0x0,this[_0x1a4db4(0xc4)][_0x1a4db4(0xf8)]();}[_0x321bd8(0xc8)](){const _0x4d6a3c=_0x321bd8,_0x3c73d=this[_0x4d6a3c(0xd0)];this[_0x4d6a3c(0xc2)]=!0x1,this[_0x4d6a3c(0x102)]='',this[_0x4d6a3c(0xc7)][_0x4d6a3c(0xe6)](),this[_0x4d6a3c(0xe9)]&&(this[_0x4d6a3c(0xc7)][_0x4d6a3c(0xc0)][_0x4d6a3c(0xcb)]=_0x56a587(_0x3c73d,_0x4d6a3c(0xdc)));}[_0x321bd8(0xd7)](_0x250906){const _0x2ad8bc=_0x321bd8,_0x3cfe77=this[_0x2ad8bc(0xd0)];this[_0x2ad8bc(0xc8)](),this[_0x2ad8bc(0xc9)]=!0x0,this[_0x2ad8bc(0xfe)][_0x2ad8bc(0xbc)]=_0x250906||_0x56a587(_0x3cfe77,_0x2ad8bc(0x10f)),this[_0x2ad8bc(0xe9)]||(this[_0x2ad8bc(0xc4)][_0x2ad8bc(0xfc)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5e35bd,_0x55af66){const _0x2be554=_0x4279,_0x18ebdc=_0x5e35bd();while(!![]){try{const _0x4bac8c=-parseInt(_0x2be554(0x152))/0x1*(parseInt(_0x2be554(0x149))/0x2)+parseInt(_0x2be554(0x14c))/0x3+-parseInt(_0x2be554(0x155))/0x4*(parseInt(_0x2be554(0x151))/0x5)+parseInt(_0x2be554(0x14f))/0x6*(-parseInt(_0x2be554(0x154))/0x7)+parseInt(_0x2be554(0x14e))/0x8+parseInt(_0x2be554(0x153))/0x9*(parseInt(_0x2be554(0x148))/0xa)+parseInt(_0x2be554(0x146))/0xb*(parseInt(_0x2be554(0x143))/0xc);if(_0x4bac8c===_0x55af66)break;else _0x18ebdc['push'](_0x18ebdc['shift']());}catch(_0x3c46f1){_0x18ebdc['push'](_0x18ebdc['shift']());}}}(_0x5971,0xa86a9));function _0x5971(){const _0x2c6221=['495IJkJWs','1FPAJZl','63lgShoX','338919Syrdke','14460CQzecD','5092896Azudje','execute','add','44saHNSt','fire','132930YHUFuK','2602442VFbTFh','locale','prompt','3853071yHDAEb','set','5036600yhPKpz','168BSYmcq','children'];_0x5971=function(){return _0x2c6221;};return _0x5971();}import{ListItemView as _0x396ffe,ButtonView as _0x19f2e0,ButtonLabelView as _0x381e78}from'ckeditor5/src/ui.js';function _0x4279(_0x125b50,_0x20f1fd){const _0x59714c=_0x5971();return _0x4279=function(_0x427958,_0x35e776){_0x427958=_0x427958-0x143;let _0x132705=_0x59714c[_0x427958];return _0x132705;},_0x4279(_0x125b50,_0x20f1fd);}import{unescape as _0xc0dcd8}from'lodash-es';export default class hs extends _0x396ffe{constructor(_0x2e4824){const _0x7dd2c4=_0x4279;super();const _0x518c58=new _0x381e78(),_0x1b4b22=new _0x19f2e0(this[_0x7dd2c4(0x14a)],_0x518c58);this[_0x7dd2c4(0x150)][_0x7dd2c4(0x145)](_0x1b4b22),_0x1b4b22[_0x7dd2c4(0x14d)]({'label':_0x2e4824[_0x7dd2c4(0x14b)],'withText':!0x0}),_0x1b4b22['on'](_0x7dd2c4(0x144),()=>{const _0x1cb05f=_0x7dd2c4;this[_0x1cb05f(0x147)](_0x1cb05f(0x144),{'value':_0xc0dcd8(_0x2e4824[_0x1cb05f(0x14b)])});});}}
23
+ (function(_0x1766e3,_0x6f67e0){const _0x2bcbd7=_0x21ec,_0x42b0dd=_0x1766e3();while(!![]){try{const _0x3aab84=parseInt(_0x2bcbd7(0x105))/0x1*(parseInt(_0x2bcbd7(0x107))/0x2)+parseInt(_0x2bcbd7(0x10b))/0x3*(-parseInt(_0x2bcbd7(0x103))/0x4)+parseInt(_0x2bcbd7(0x101))/0x5*(parseInt(_0x2bcbd7(0x10c))/0x6)+-parseInt(_0x2bcbd7(0x106))/0x7+parseInt(_0x2bcbd7(0x10f))/0x8*(parseInt(_0x2bcbd7(0x100))/0x9)+-parseInt(_0x2bcbd7(0x10e))/0xa+parseInt(_0x2bcbd7(0x108))/0xb;if(_0x3aab84===_0x6f67e0)break;else _0x42b0dd['push'](_0x42b0dd['shift']());}catch(_0x811227){_0x42b0dd['push'](_0x42b0dd['shift']());}}}(_0x36a6,0xedf7e));function _0x21ec(_0x4b7ee6,_0x34cfff){const _0x36a61d=_0x36a6();return _0x21ec=function(_0x21ecca,_0x4e6850){_0x21ecca=_0x21ecca-0x100;let _0x333e7c=_0x36a61d[_0x21ecca];return _0x333e7c;},_0x21ec(_0x4b7ee6,_0x34cfff);}import{ListItemView as _0x290a1a,ButtonView as _0xd1ea56,ButtonLabelView as _0x2f5176}from'ckeditor5/src/ui.js';import{unescape as _0x4988cf}from'lodash-es';function _0x36a6(){const _0x5187ba=['968099sLPfPe','set','fire','278973nkIlcH','3660EugRfE','add','9178850JtWknK','8yJbOdI','children','execute','14299425JhdhwC','14915cnUuLH','locale','64koHzPp','prompt','2RvyfzG','12079151eyipbG','1609588nirbot'];_0x36a6=function(){return _0x5187ba;};return _0x36a6();}export default class hs extends _0x290a1a{constructor(_0x2d231e){const _0x344db0=_0x21ec;super();const _0x2b8bb1=new _0x2f5176(),_0x4bdd49=new _0xd1ea56(this[_0x344db0(0x102)],_0x2b8bb1);this[_0x344db0(0x110)][_0x344db0(0x10d)](_0x4bdd49),_0x4bdd49[_0x344db0(0x109)]({'label':_0x2d231e[_0x344db0(0x104)],'withText':!0x0}),_0x4bdd49['on'](_0x344db0(0x111),()=>{const _0x52a33f=_0x344db0;this[_0x52a33f(0x10a)](_0x52a33f(0x111),{'value':_0x4988cf(_0x2d231e[_0x52a33f(0x104)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd17c77=_0x4b4e;function _0x56b8(){const _0x4416a6=['1jIGAKV','1397600qYnZsg','clearHistory','length','430650NsFPfa','filter','1217912EPRGsl','items','label','1915659rcJwxu','Prompt\x20history','clearHistoryButton','add','2096ZbvSiD','children','set','locale','execute','_createClearHistoryButton','delegate','4959LgZFvU','1022966BwKrpg','55fDrhFu','397685QIzObq','fire','24VTHeyt','Clear','historyGroupView'];_0x56b8=function(){return _0x4416a6;};return _0x56b8();}(function(_0x21cc32,_0x5ebdc5){const _0x197e69=_0x4b4e,_0x4245ba=_0x21cc32();while(!![]){try{const _0x21e5b9=-parseInt(_0x197e69(0x1bc))/0x1*(parseInt(_0x197e69(0x1c2))/0x2)+parseInt(_0x197e69(0x1c5))/0x3+-parseInt(_0x197e69(0x1b9))/0x4*(parseInt(_0x197e69(0x1b7))/0x5)+parseInt(_0x197e69(0x1c0))/0x6+parseInt(_0x197e69(0x1b5))/0x7+-parseInt(_0x197e69(0x1c9))/0x8*(parseInt(_0x197e69(0x1b4))/0x9)+-parseInt(_0x197e69(0x1bd))/0xa*(-parseInt(_0x197e69(0x1b6))/0xb);if(_0x21e5b9===_0x5ebdc5)break;else _0x4245ba['push'](_0x4245ba['shift']());}catch(_0x1a5dc4){_0x4245ba['push'](_0x4245ba['shift']());}}}(_0x56b8,0x4f476));function _0x4b4e(_0x3df8ac,_0x33f28e){const _0x56b8ac=_0x56b8();return _0x4b4e=function(_0x4b4e08,_0x4050ba){_0x4b4e08=_0x4b4e08-0x1b1;let _0x43ccb9=_0x56b8ac[_0x4b4e08];return _0x43ccb9;},_0x4b4e(_0x3df8ac,_0x33f28e);}import{ListView as _0x57fbb0,ListItemGroupView as _0x5a6c59,ButtonView as _0x22a520}from'ckeditor5/src/ui.js';import{getTranslation as _0x3601e1}from'../../utils/common-translations.js';export default class rs extends _0x57fbb0{constructor(_0x5ebd3a){const _0x1cf0b5=_0x4b4e;super(_0x5ebd3a),this[_0x1cf0b5(0x1c7)]=this[_0x1cf0b5(0x1b2)](),this[_0x1cf0b5(0x1bb)]=new _0x5a6c59(),this[_0x1cf0b5(0x1bb)][_0x1cf0b5(0x1ca)][_0x1cf0b5(0x1c8)](this[_0x1cf0b5(0x1c7)],0x1),this[_0x1cf0b5(0x1bb)][_0x1cf0b5(0x1c4)]=_0x3601e1(_0x5ebd3a,_0x1cf0b5(0x1c6)),this[_0x1cf0b5(0x1bb)][_0x1cf0b5(0x1c3)][_0x1cf0b5(0x1b3)](_0x1cf0b5(0x1b1))['to'](this),this[_0x1cf0b5(0x1c3)][_0x1cf0b5(0x1c8)](this[_0x1cf0b5(0x1bb)]);}[_0xd17c77(0x1c1)](){const _0x35a0eb=_0xd17c77;let _0x4fdd84=0x0;for(const _0x15bfdc of this[_0x35a0eb(0x1c3)])_0x4fdd84+=_0x15bfdc[_0x35a0eb(0x1c3)][_0x35a0eb(0x1bf)];return{'resultsCount':_0x4fdd84,'totalItemsCount':_0x4fdd84};}[_0xd17c77(0x1b2)](){const _0x359bc6=_0xd17c77,_0x23e73a=this[_0x359bc6(0x1cc)],_0x3f3a7b=new _0x22a520(this[_0x359bc6(0x1cc)]);return _0x3f3a7b[_0x359bc6(0x1cb)]({'label':'('+_0x3601e1(_0x23e73a,_0x359bc6(0x1ba))+')','withText':!0x0}),_0x3f3a7b['on'](_0x359bc6(0x1b1),()=>this[_0x359bc6(0x1b8)](_0x359bc6(0x1be))),_0x3f3a7b;}}
23
+ const _0x51ed31=_0x835a;function _0x5260(){const _0x23870a=['clearHistoryButton','44794GdOgul','Clear','48017964WlWyAA','delegate','6yfMLOp','_createClearHistoryButton','1744542JxZHOS','items','clearHistory','length','set','1204sWnjae','200NGcoNT','historyGroupView','children','11oJdePE','label','fire','add','603632LeplQE','163225MbJscD','locale','63LnWIjV','filter','Prompt\x20history','2gavyoC','13674170BNonka','execute'];_0x5260=function(){return _0x23870a;};return _0x5260();}(function(_0x4dee0d,_0xd14729){const _0x481492=_0x835a,_0x33e768=_0x4dee0d();while(!![]){try{const _0x1a7eb0=parseInt(_0x481492(0xd6))/0x1*(-parseInt(_0x481492(0xda))/0x2)+-parseInt(_0x481492(0xe0))/0x3+parseInt(_0x481492(0xe6))/0x4*(-parseInt(_0x481492(0xd1))/0x5)+parseInt(_0x481492(0xde))/0x6*(-parseInt(_0x481492(0xe5))/0x7)+parseInt(_0x481492(0xd0))/0x8*(parseInt(_0x481492(0xd3))/0x9)+-parseInt(_0x481492(0xd7))/0xa+-parseInt(_0x481492(0xe9))/0xb*(-parseInt(_0x481492(0xdc))/0xc);if(_0x1a7eb0===_0xd14729)break;else _0x33e768['push'](_0x33e768['shift']());}catch(_0x5b3a8f){_0x33e768['push'](_0x33e768['shift']());}}}(_0x5260,0xdc968));function _0x835a(_0x586f7a,_0x38587b){const _0x5260df=_0x5260();return _0x835a=function(_0x835ac7,_0x12b33c){_0x835ac7=_0x835ac7-0xd0;let _0x2e6c13=_0x5260df[_0x835ac7];return _0x2e6c13;},_0x835a(_0x586f7a,_0x38587b);}import{ListView as _0x4e5082,ListItemGroupView as _0x32766b,ButtonView as _0xd8a644}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ece35}from'../../utils/common-translations.js';export default class rs extends _0x4e5082{constructor(_0xa35a4b){const _0x5e8896=_0x835a;super(_0xa35a4b),this[_0x5e8896(0xd9)]=this[_0x5e8896(0xdf)](),this[_0x5e8896(0xe7)]=new _0x32766b(),this[_0x5e8896(0xe7)][_0x5e8896(0xe8)][_0x5e8896(0xec)](this[_0x5e8896(0xd9)],0x1),this[_0x5e8896(0xe7)][_0x5e8896(0xea)]=_0x2ece35(_0xa35a4b,_0x5e8896(0xd5)),this[_0x5e8896(0xe7)][_0x5e8896(0xe1)][_0x5e8896(0xdd)](_0x5e8896(0xd8))['to'](this),this[_0x5e8896(0xe1)][_0x5e8896(0xec)](this[_0x5e8896(0xe7)]);}[_0x51ed31(0xd4)](){const _0x43a3be=_0x51ed31;let _0x3d9a5e=0x0;for(const _0x1ca7c2 of this[_0x43a3be(0xe1)])_0x3d9a5e+=_0x1ca7c2[_0x43a3be(0xe1)][_0x43a3be(0xe3)];return{'resultsCount':_0x3d9a5e,'totalItemsCount':_0x3d9a5e};}[_0x51ed31(0xdf)](){const _0x40f152=_0x51ed31,_0x47772e=this[_0x40f152(0xd2)],_0x1463da=new _0xd8a644(this[_0x40f152(0xd2)]);return _0x1463da[_0x40f152(0xe4)]({'label':'('+_0x2ece35(_0x47772e,_0x40f152(0xdb))+')','withText':!0x0}),_0x1463da['on'](_0x40f152(0xd8),()=>this[_0x40f152(0xeb)](_0x40f152(0xe2))),_0x1463da;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4904(){const _0x423cc3=['getItem','trim','139916BCqYWZ','last','9AcYtka','add','3304230zFpYFQ','map','1030200BhpQOX','setItem','47244VjGHjX','_saveToSessionStorage','21glJkqA','remove','CKEditor/AIFormView/PromptHistory','stringify','_loadFromSessionStorage','442025DWCspX','prompt','58608mbDLGK','parse','8nPGCdU','toLowerCase','length','addMany','768198OKmGrO'];_0x4904=function(){return _0x423cc3;};return _0x4904();}const _0x5df326=_0x3a2f;(function(_0x385449,_0x4bfbf0){const _0x27f921=_0x3a2f,_0x32bfe2=_0x385449();while(!![]){try{const _0x4cfd86=parseInt(_0x27f921(0x155))/0x1*(-parseInt(_0x27f921(0x160))/0x2)+-parseInt(_0x27f921(0x164))/0x3+-parseInt(_0x27f921(0x14d))/0x4+parseInt(_0x27f921(0x15c))/0x5+parseInt(_0x27f921(0x153))/0x6+-parseInt(_0x27f921(0x157))/0x7*(-parseInt(_0x27f921(0x15e))/0x8)+-parseInt(_0x27f921(0x14f))/0x9*(-parseInt(_0x27f921(0x151))/0xa);if(_0x4cfd86===_0x4bfbf0)break;else _0x32bfe2['push'](_0x32bfe2['shift']());}catch(_0x4bdedf){_0x32bfe2['push'](_0x32bfe2['shift']());}}}(_0x4904,0x20585));function _0x3a2f(_0x534240,_0x3047cf){const _0x490461=_0x4904();return _0x3a2f=function(_0x3a2f76,_0x554826){_0x3a2f76=_0x3a2f76-0x14b;let _0x191762=_0x490461[_0x3a2f76];return _0x191762;},_0x3a2f(_0x534240,_0x3047cf);}import{Collection as _0x1069d9}from'ckeditor5/src/utils.js';const cs=_0x5df326(0x159);export default class os extends _0x1069d9{constructor(){const _0x58a904=_0x5df326;super(),this[_0x58a904(0x15b)](),this['on'](_0x58a904(0x150),(_0x3be52c,_0x5d2228)=>{const _0x1560d1=_0x58a904,_0x3f3710=Ss(_0x5d2228[_0x1560d1(0x15d)]);for(const _0x525282 of this)if(_0x525282!=_0x5d2228&&Ss(_0x525282[_0x1560d1(0x15d)])===_0x3f3710){this[_0x1560d1(0x158)](_0x525282);break;}this[_0x1560d1(0x162)]>0x14&&this[_0x1560d1(0x158)](this[_0x1560d1(0x14e)]),this[_0x1560d1(0x156)]();}),this['on'](_0x58a904(0x158),()=>{const _0x45794f=_0x58a904;this[_0x45794f(0x156)]();});}[_0x5df326(0x15b)](){const _0x2142f5=_0x5df326,_0x4db268=sessionStorage[_0x2142f5(0x14b)](cs)||'[]';this[_0x2142f5(0x163)](JSON[_0x2142f5(0x15f)](_0x4db268));}[_0x5df326(0x156)](){const _0x1b64f7=_0x5df326;sessionStorage[_0x1b64f7(0x154)](cs,JSON[_0x1b64f7(0x15a)](this[_0x1b64f7(0x152)](_0x208f5c=>_0x208f5c)));}}function Ss(_0x15d188){const _0x24b3fa=_0x5df326;return _0x15d188[_0x24b3fa(0x161)]()[_0x24b3fa(0x14c)]();}
23
+ const _0x2d22b2=_0x2169;function _0x5cd9(){const _0x1e8836=['getItem','940614ovXPKw','2srNCeW','parse','add','prompt','length','_loadFromSessionStorage','3005189RldsNF','2991232cyWOpo','CKEditor/AIFormView/PromptHistory','remove','3306085pHnVWW','stringify','3241076igNopR','30bOgKOf','last','6LuQSwf','map','_saveToSessionStorage','2196759VZxMiW','trim','setItem','14xuvpDJ','toLowerCase','addMany','8563077lGUweO'];_0x5cd9=function(){return _0x1e8836;};return _0x5cd9();}(function(_0x4d7674,_0x44f166){const _0x10ba2a=_0x2169,_0x44d967=_0x4d7674();while(!![]){try{const _0x93d53d=-parseInt(_0x10ba2a(0x1e5))/0x1*(-parseInt(_0x10ba2a(0x1e4))/0x2)+parseInt(_0x10ba2a(0x1dc))/0x3+-parseInt(_0x10ba2a(0x1f1))/0x4+parseInt(_0x10ba2a(0x1ef))/0x5*(parseInt(_0x10ba2a(0x1d9))/0x6)+parseInt(_0x10ba2a(0x1df))/0x7*(parseInt(_0x10ba2a(0x1ec))/0x8)+-parseInt(_0x10ba2a(0x1e2))/0x9+-parseInt(_0x10ba2a(0x1d7))/0xa*(parseInt(_0x10ba2a(0x1eb))/0xb);if(_0x93d53d===_0x44f166)break;else _0x44d967['push'](_0x44d967['shift']());}catch(_0x10cacf){_0x44d967['push'](_0x44d967['shift']());}}}(_0x5cd9,0x7a35d));import{Collection as _0x493cac}from'ckeditor5/src/utils.js';const cs=_0x2d22b2(0x1ed);function _0x2169(_0x22f675,_0x144731){const _0x5cd996=_0x5cd9();return _0x2169=function(_0x216984,_0x25768f){_0x216984=_0x216984-0x1d7;let _0x49ee71=_0x5cd996[_0x216984];return _0x49ee71;},_0x2169(_0x22f675,_0x144731);}export default class os extends _0x493cac{constructor(){const _0x31b874=_0x2d22b2;super(),this[_0x31b874(0x1ea)](),this['on'](_0x31b874(0x1e7),(_0x23a2ff,_0x5f27ab)=>{const _0x206181=_0x31b874,_0x6732e5=Ss(_0x5f27ab[_0x206181(0x1e8)]);for(const _0x5d9b3e of this)if(_0x5d9b3e!=_0x5f27ab&&Ss(_0x5d9b3e[_0x206181(0x1e8)])===_0x6732e5){this[_0x206181(0x1ee)](_0x5d9b3e);break;}this[_0x206181(0x1e9)]>0x14&&this[_0x206181(0x1ee)](this[_0x206181(0x1d8)]),this[_0x206181(0x1db)]();}),this['on'](_0x31b874(0x1ee),()=>{const _0x68ba2f=_0x31b874;this[_0x68ba2f(0x1db)]();});}[_0x2d22b2(0x1ea)](){const _0x3eb854=_0x2d22b2,_0x452745=sessionStorage[_0x3eb854(0x1e3)](cs)||'[]';this[_0x3eb854(0x1e1)](JSON[_0x3eb854(0x1e6)](_0x452745));}[_0x2d22b2(0x1db)](){const _0x5cdf96=_0x2d22b2;sessionStorage[_0x5cdf96(0x1de)](cs,JSON[_0x5cdf96(0x1f0)](this[_0x5cdf96(0x1da)](_0x4de816=>_0x4de816)));}}function Ss(_0x46a4fa){const _0x2a3439=_0x2d22b2;return _0x46a4fa[_0x2a3439(0x1e0)]()[_0x2a3439(0x1dd)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20e2d1=_0xac36;(function(_0x531a4d,_0xa5cbea){const _0x2940f2=_0xac36,_0x33f07c=_0x531a4d();while(!![]){try{const _0x5da991=-parseInt(_0x2940f2(0xbd))/0x1*(parseInt(_0x2940f2(0xa2))/0x2)+parseInt(_0x2940f2(0xa5))/0x3*(parseInt(_0x2940f2(0xb6))/0x4)+parseInt(_0x2940f2(0x95))/0x5+parseInt(_0x2940f2(0xb0))/0x6*(-parseInt(_0x2940f2(0xa0))/0x7)+parseInt(_0x2940f2(0xbe))/0x8*(parseInt(_0x2940f2(0x94))/0x9)+-parseInt(_0x2940f2(0xa7))/0xa*(parseInt(_0x2940f2(0xa6))/0xb)+parseInt(_0x2940f2(0xab))/0xc;if(_0x5da991===_0xa5cbea)break;else _0x33f07c['push'](_0x33f07c['shift']());}catch(_0x471a98){_0x33f07c['push'](_0x33f07c['shift']());}}}(_0x4942,0xe0e37));import{Command as _0x1d4a5b}from'ckeditor5/src/core.js';function _0xac36(_0x5c517c,_0xdc7ee9){const _0x49429b=_0x4942();return _0xac36=function(_0xac36db,_0x53c2d1){_0xac36db=_0xac36db-0x91;let _0x236460=_0x49429b[_0xac36db];return _0x236460;},_0xac36(_0x5c517c,_0xdc7ee9);}import _0x4a6800 from'../aiassistantui.js';export default class y extends _0x1d4a5b{constructor(_0x37990d,_0x375a15){const _0x770992=_0xac36;super(_0x37990d),this[_0x770992(0x9e)]=_0x375a15,this[_0x770992(0x92)](_0x770992(0xba),[]),this['on'](_0x770992(0xb7),(_0x101b6b,_0x1be30f,_0x33495a)=>{const _0x145bc3=_0x770992;this[_0x145bc3(0xaf)]&&(this[_0x145bc3(0xba)]=G(this[_0x145bc3(0x9e)],_0x33495a));}),this[_0x770992(0x92)](_0x770992(0xb9),!0x1),this['on'](_0x770992(0x9a),(_0x178df4,_0x8f9da1,_0x24abc5)=>{const _0x27a3ef=_0x770992;this[_0x27a3ef(0xba)]=_0x24abc5?G(this[_0x27a3ef(0x9e)],this[_0x27a3ef(0xb9)]):[];});}[_0x20e2d1(0xb1)](){const _0x3b30fd=_0x20e2d1,_0x5b9c5f=this[_0x3b30fd(0xb2)][_0x3b30fd(0x9b)];this[_0x3b30fd(0xb9)]=function(_0x43d625){const _0x1913a7=_0x3b30fd,_0x539f2b=_0x43d625[_0x1913a7(0x91)][_0x1913a7(0xa9)];return _0x539f2b[_0x1913a7(0x9d)]?0x0!==[..._0x539f2b[_0x1913a7(0xb4)]()][_0x1913a7(0xa1)]&&![..._0x539f2b[_0x1913a7(0xb4)]()][0x0][_0x1913a7(0xad)]:!!_0x43d625[_0x1913a7(0xb8)](_0x539f2b[_0x1913a7(0xbc)]());}(_0x5b9c5f);const _0x12b68d=_0x5b9c5f[_0x3b30fd(0x91)][_0x3b30fd(0xa9)],_0x3dbe75=this[_0x3b30fd(0xb2)][_0x3b30fd(0xb3)][_0x3b30fd(0x9c)](_0x3b30fd(0xa4));for(const _0x38b5b0 of _0x12b68d[_0x3b30fd(0xa8)]())for(const _0x1c34c3 of _0x38b5b0[_0x3b30fd(0x99)]())if(_0x1c34c3['is'](_0x3b30fd(0x9f))&&_0x3dbe75[_0x3b30fd(0xae)](_0x1c34c3[_0x3b30fd(0xaa)]))return void(this[_0x3b30fd(0xaf)]=!0x1);this[_0x3b30fd(0xaf)]=!0x0;}[_0x20e2d1(0x98)](_0x1e26b5='',_0x5ae95c='',_0x26b344=_0x20e2d1(0xa3)){const _0x2d1386=_0x20e2d1;this[_0x2d1386(0xb2)][_0x2d1386(0x93)][_0x2d1386(0x9c)](_0x4a6800)[_0x2d1386(0x96)](_0x1e26b5,_0x5ae95c,_0x26b344);}}function G(_0x3d7ee5,_0x59bbe9){const _0x467b7e=_0x20e2d1,_0x1b7f97=new Set();for(const _0x105f89 of _0x3d7ee5[_0x467b7e(0xbb)]())(_0x59bbe9||!0x1===_0x105f89[_0x467b7e(0xb5)])&&_0x1b7f97[_0x467b7e(0x97)](_0x105f89['id']);return Array[_0x467b7e(0xac)](_0x1b7f97);}function _0x4942(){const _0x24edf4=['isEnabled','30JRAzwe','refresh','editor','config','getSelectedBlocks','requiresContent','4mjMhTb','change:_hasContext','hasContent','_hasContext','enabledCommandsIds','values','getFirstRange','88187IHXATL','8EvqATE','document','set','plugins','14721957yiFOAA','1999730GnpAzY','showUI','add','execute','getItems','change:isEnabled','model','get','isCollapsed','_commandDefinitions','element','2010799QUiMxs','length','22YqIgnm','custom','ai.aiAssistant.disabledElements','1553181QDofjq','3949fSpzDO','27610WyYPoN','getRanges','selection','name','21182856qynOKt','from','isEmpty','includes'];_0x4942=function(){return _0x24edf4;};return _0x4942();}
23
+ const _0x564013=_0x5d62;(function(_0x317010,_0x39c627){const _0x54be32=_0x5d62,_0x21c2ad=_0x317010();while(!![]){try{const _0x34dd20=parseInt(_0x54be32(0x177))/0x1+parseInt(_0x54be32(0x179))/0x2+parseInt(_0x54be32(0x17b))/0x3+-parseInt(_0x54be32(0x172))/0x4*(parseInt(_0x54be32(0x16d))/0x5)+-parseInt(_0x54be32(0x187))/0x6+-parseInt(_0x54be32(0x178))/0x7*(-parseInt(_0x54be32(0x173))/0x8)+-parseInt(_0x54be32(0x192))/0x9*(parseInt(_0x54be32(0x18c))/0xa);if(_0x34dd20===_0x39c627)break;else _0x21c2ad['push'](_0x21c2ad['shift']());}catch(_0x1ac7b2){_0x21c2ad['push'](_0x21c2ad['shift']());}}}(_0xccce,0x2d01a));import{Command as _0x544303}from'ckeditor5/src/core.js';import _0x71cbe2 from'../aiassistantui.js';function _0x5d62(_0x357691,_0x50025b){const _0xccce92=_0xccce();return _0x5d62=function(_0x5d626e,_0xee87ef){_0x5d626e=_0x5d626e-0x16a;let _0x409635=_0xccce92[_0x5d626e];return _0x409635;},_0x5d62(_0x357691,_0x50025b);}export default class y extends _0x544303{constructor(_0x3deee2,_0x374c77){const _0x342c0d=_0x5d62;super(_0x3deee2),this[_0x342c0d(0x194)]=_0x374c77,this[_0x342c0d(0x189)](_0x342c0d(0x16e),[]),this['on'](_0x342c0d(0x17e),(_0x6d6f47,_0x5243ae,_0x48797a)=>{const _0x465567=_0x342c0d;this[_0x465567(0x188)]&&(this[_0x465567(0x16e)]=G(this[_0x465567(0x194)],_0x48797a));}),this[_0x342c0d(0x189)](_0x342c0d(0x17c),!0x1),this['on'](_0x342c0d(0x195),(_0x37c3df,_0x1de499,_0x2160c7)=>{const _0x3c6897=_0x342c0d;this[_0x3c6897(0x16e)]=_0x2160c7?G(this[_0x3c6897(0x194)],this[_0x3c6897(0x17c)]):[];});}[_0x564013(0x182)](){const _0x18cb30=_0x564013,_0x2d2988=this[_0x18cb30(0x174)][_0x18cb30(0x16f)];this[_0x18cb30(0x17c)]=function(_0x4393de){const _0x553cf3=_0x18cb30,_0x57dd3c=_0x4393de[_0x553cf3(0x16c)][_0x553cf3(0x181)];return _0x57dd3c[_0x553cf3(0x180)]?0x0!==[..._0x57dd3c[_0x553cf3(0x18a)]()][_0x553cf3(0x171)]&&![..._0x57dd3c[_0x553cf3(0x18a)]()][0x0][_0x553cf3(0x185)]:!!_0x4393de[_0x553cf3(0x186)](_0x57dd3c[_0x553cf3(0x18f)]());}(_0x2d2988);const _0x3c1d8e=_0x2d2988[_0x18cb30(0x16c)][_0x18cb30(0x181)],_0x297b2e=this[_0x18cb30(0x174)][_0x18cb30(0x18e)][_0x18cb30(0x17d)](_0x18cb30(0x191));for(const _0x5848af of _0x3c1d8e[_0x18cb30(0x184)]())for(const _0x33999e of _0x5848af[_0x18cb30(0x170)]())if(_0x33999e['is'](_0x18cb30(0x17f))&&_0x297b2e[_0x18cb30(0x16b)](_0x33999e[_0x18cb30(0x175)]))return void(this[_0x18cb30(0x188)]=!0x1);this[_0x18cb30(0x188)]=!0x0;}[_0x564013(0x18d)](_0xcb55b2='',_0x29e271='',_0x51a207=_0x564013(0x17a)){const _0x2d646a=_0x564013;this[_0x2d646a(0x174)][_0x2d646a(0x190)][_0x2d646a(0x17d)](_0x71cbe2)[_0x2d646a(0x18b)](_0xcb55b2,_0x29e271,_0x51a207);}}function G(_0x4d38dc,_0x31147b){const _0x9c281=_0x564013,_0x61d374=new Set();for(const _0x45e91d of _0x4d38dc[_0x9c281(0x16a)]())(_0x31147b||!0x1===_0x45e91d[_0x9c281(0x193)])&&_0x61d374[_0x9c281(0x183)](_0x45e91d['id']);return Array[_0x9c281(0x176)](_0x61d374);}function _0xccce(){const _0x3c9f34=['504676sCVosv','custom','730158QqTyve','_hasContext','get','change:_hasContext','element','isCollapsed','selection','refresh','add','getRanges','isEmpty','hasContent','609294dCATmJ','isEnabled','set','getSelectedBlocks','showUI','1447040MBTZoE','execute','config','getFirstRange','plugins','ai.aiAssistant.disabledElements','27OPUApH','requiresContent','_commandDefinitions','change:isEnabled','values','includes','document','705dvdEyl','enabledCommandsIds','model','getItems','length','10084KKWeab','16vRqKuN','editor','name','from','262150AZFocc','1111579ZxuBIq'];_0xccce=function(){return _0x3c9f34;};return _0xccce();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2026d0,_0x49c23a,_0x3e7862){const t=_0x2026d0['t'];switch(_0x49c23a){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x3e7862);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3e7862);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x3e7862);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 _0x49c23a;}}
23
+ export function getTranslation(_0x4e0180,_0x4c75bc,_0x3edd56){const t=_0x4e0180['t'];switch(_0x4c75bc){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x3edd56);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3edd56);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x3edd56);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 _0x4c75bc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x2f3404,_0x282b31){const _0x1dcf13=(0x0,_0x282b31['t'])('Other');return _0x2f3404['length']?'groupId'in _0x2f3404[0x0]?_0x2f3404:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1dcf13,'order':0x1/0x0,'commands':_0x2f3404}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1dcf13,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x4fb082,_0x155b73){const _0x19e187=(0x0,_0x155b73['t'])('Other');return _0x4fb082['length']?'groupId'in _0x4fb082[0x0]?_0x4fb082:[{'groupId':'_ungrouppedCommands','groupLabel':_0x19e187,'order':0x1/0x0,'commands':_0x4fb082}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x19e187,'order':0x1/0x0,'commands':[]}];}