@ckeditor/ckeditor5-ai 42.0.2-alpha.2 → 43.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/build/ai.js +6 -6
  3. package/build/translations/sr-latn.js +1 -1
  4. package/dist/index.js +2 -2
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en.umd.js +1 -1
  30. package/dist/translations/es-co.js +1 -1
  31. package/dist/translations/es-co.umd.js +1 -1
  32. package/dist/translations/es.js +1 -1
  33. package/dist/translations/es.umd.js +1 -1
  34. package/dist/translations/et.js +1 -1
  35. package/dist/translations/et.umd.js +1 -1
  36. package/dist/translations/fa.js +1 -1
  37. package/dist/translations/fa.umd.js +1 -1
  38. package/dist/translations/fi.js +1 -1
  39. package/dist/translations/fi.umd.js +1 -1
  40. package/dist/translations/fr.js +1 -1
  41. package/dist/translations/fr.umd.js +1 -1
  42. package/dist/translations/gl.js +1 -1
  43. package/dist/translations/gl.umd.js +1 -1
  44. package/dist/translations/he.js +1 -1
  45. package/dist/translations/he.umd.js +1 -1
  46. package/dist/translations/hi.js +1 -1
  47. package/dist/translations/hi.umd.js +1 -1
  48. package/dist/translations/hr.js +1 -1
  49. package/dist/translations/hr.umd.js +1 -1
  50. package/dist/translations/hu.js +1 -1
  51. package/dist/translations/hu.umd.js +1 -1
  52. package/dist/translations/id.js +1 -1
  53. package/dist/translations/id.umd.js +1 -1
  54. package/dist/translations/it.js +1 -1
  55. package/dist/translations/it.umd.js +1 -1
  56. package/dist/translations/ja.js +1 -1
  57. package/dist/translations/ja.umd.js +1 -1
  58. package/dist/translations/jv.js +1 -1
  59. package/dist/translations/jv.umd.js +1 -1
  60. package/dist/translations/ko.js +1 -1
  61. package/dist/translations/ko.umd.js +1 -1
  62. package/dist/translations/lt.js +1 -1
  63. package/dist/translations/lt.umd.js +1 -1
  64. package/dist/translations/lv.js +1 -1
  65. package/dist/translations/lv.umd.js +1 -1
  66. package/dist/translations/ms.js +1 -1
  67. package/dist/translations/ms.umd.js +1 -1
  68. package/dist/translations/nl.js +1 -1
  69. package/dist/translations/nl.umd.js +1 -1
  70. package/dist/translations/no.js +1 -1
  71. package/dist/translations/no.umd.js +1 -1
  72. package/dist/translations/pl.js +1 -1
  73. package/dist/translations/pl.umd.js +1 -1
  74. package/dist/translations/pt-br.js +1 -1
  75. package/dist/translations/pt-br.umd.js +1 -1
  76. package/dist/translations/pt.js +1 -1
  77. package/dist/translations/pt.umd.js +1 -1
  78. package/dist/translations/ro.js +1 -1
  79. package/dist/translations/ro.umd.js +1 -1
  80. package/dist/translations/ru.js +1 -1
  81. package/dist/translations/ru.umd.js +1 -1
  82. package/dist/translations/sk.js +1 -1
  83. package/dist/translations/sk.umd.js +1 -1
  84. package/dist/translations/sr-latn.js +1 -1
  85. package/dist/translations/sr-latn.umd.js +1 -1
  86. package/dist/translations/sr.js +1 -1
  87. package/dist/translations/sr.umd.js +1 -1
  88. package/dist/translations/sv.js +1 -1
  89. package/dist/translations/sv.umd.js +1 -1
  90. package/dist/translations/th.js +1 -1
  91. package/dist/translations/th.umd.js +1 -1
  92. package/dist/translations/ti.js +1 -1
  93. package/dist/translations/ti.umd.js +1 -1
  94. package/dist/translations/tk.js +1 -1
  95. package/dist/translations/tk.umd.js +1 -1
  96. package/dist/translations/tr.js +1 -1
  97. package/dist/translations/tr.umd.js +1 -1
  98. package/dist/translations/ug.js +1 -1
  99. package/dist/translations/ug.umd.js +1 -1
  100. package/dist/translations/uk.js +1 -1
  101. package/dist/translations/uk.umd.js +1 -1
  102. package/dist/translations/ur.js +1 -1
  103. package/dist/translations/ur.umd.js +1 -1
  104. package/dist/translations/uz.js +1 -1
  105. package/dist/translations/uz.umd.js +1 -1
  106. package/dist/translations/vi.js +1 -1
  107. package/dist/translations/vi.umd.js +1 -1
  108. package/dist/translations/zh-cn.js +1 -1
  109. package/dist/translations/zh-cn.umd.js +1 -1
  110. package/dist/translations/zh.js +1 -1
  111. package/dist/translations/zh.umd.js +1 -1
  112. package/lang/translations/sr-latn.po +7 -7
  113. package/package.json +8 -8
  114. package/src/adapters/aiadapter.js +1 -1
  115. package/src/adapters/aitextadapter.js +1 -1
  116. package/src/adapters/awstextadapter.js +1 -1
  117. package/src/adapters/openaitextadapter.js +1 -1
  118. package/src/aiassistant.js +1 -1
  119. package/src/aiassistantediting.js +1 -1
  120. package/src/aiassistantui.js +1 -1
  121. package/src/index.js +1 -1
  122. package/src/ui/aiassistantcontroller.js +2 -2
  123. package/src/ui/dropdown/aicommandslistview.js +1 -1
  124. package/src/ui/form/aiformcontentarea.js +1 -1
  125. package/src/ui/form/aiformerrorview.js +1 -1
  126. package/src/ui/form/aiformpromptview.js +1 -1
  127. package/src/ui/form/aiformtoolbarview.js +1 -1
  128. package/src/ui/form/aiformview.js +1 -1
  129. package/src/ui/form/aihistorylistitemview.js +1 -1
  130. package/src/ui/form/aihistorylistview.js +1 -1
  131. package/src/ui/form/prompthistory.js +1 -1
  132. package/src/ui/showaiassistantcommand.js +1 -1
  133. package/src/utils/common-translations.js +1 -1
  134. package/dist/ui/dropdown/buttonlabelwithhighlightview.d.ts +0 -33
  135. package/dist/ui/dropdown/labelwithhighlightview.d.ts +0 -29
  136. package/src/ui/dropdown/buttonlabelwithhighlightview.d.ts +0 -29
  137. package/src/ui/dropdown/buttonlabelwithhighlightview.js +0 -23
  138. package/src/ui/dropdown/labelwithhighlightview.d.ts +0 -25
  139. package/src/ui/dropdown/labelwithhighlightview.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x345d(_0xfb8603,_0x3b5f43){const _0x56a3f3=_0x56a3();return _0x345d=function(_0x345d4b,_0x273d72){_0x345d4b=_0x345d4b-0x1db;let _0x22b5a7=_0x56a3f3[_0x345d4b];return _0x22b5a7;},_0x345d(_0xfb8603,_0x3b5f43);}(function(_0x1d6d64,_0x19ed18){const _0x41a5f8=_0x345d,_0xa6304b=_0x1d6d64();while(!![]){try{const _0x13729f=parseInt(_0x41a5f8(0x1ec))/0x1+parseInt(_0x41a5f8(0x1e5))/0x2*(-parseInt(_0x41a5f8(0x1de))/0x3)+-parseInt(_0x41a5f8(0x1df))/0x4*(parseInt(_0x41a5f8(0x1e0))/0x5)+parseInt(_0x41a5f8(0x1e9))/0x6+-parseInt(_0x41a5f8(0x1dc))/0x7*(parseInt(_0x41a5f8(0x1eb))/0x8)+-parseInt(_0x41a5f8(0x1dd))/0x9*(-parseInt(_0x41a5f8(0x1e3))/0xa)+parseInt(_0x41a5f8(0x1e1))/0xb;if(_0x13729f===_0x19ed18)break;else _0xa6304b['push'](_0xa6304b['shift']());}catch(_0x5bbd3c){_0xa6304b['push'](_0xa6304b['shift']());}}}(_0x56a3,0xcfa2a));import{View as _0x1ef9d5,IconView as _0x402164}from'ckeditor5/src/ui.js';import _0x1163dd from'../../../theme/icons/error.svg';function _0x56a3(){const _0x3fb807=['404JfvgZg','79880TtdNph','13051907ROwGrR','set','300970juIxUE','ck-ai-form__error','6hwxWXi','text','setTemplate','content','7837974crNqwL','bindTemplate','441848fOSWMA','488324NkIFaP','div','35HOPcbj','234eOCyGF','1023507feLCol'];_0x56a3=function(){return _0x3fb807;};return _0x56a3();}export default class mt extends _0x1ef9d5{constructor(_0x37eef1,_0x5c61a6=''){const _0x48f970=_0x345d;super(_0x37eef1);const _0x53793d=new _0x402164(),_0x29741e=this[_0x48f970(0x1ea)];this[_0x48f970(0x1e2)](_0x48f970(0x1e6),_0x5c61a6),_0x53793d[_0x48f970(0x1e8)]=_0x1163dd,this[_0x48f970(0x1e7)]({'tag':_0x48f970(0x1db),'attributes':{'class':['ck',_0x48f970(0x1e4)]},'children':[_0x53793d,{'text':_0x29741e['to'](_0x48f970(0x1e6))}]});}}
23
+ (function(_0x5df7f3,_0x1db716){const _0x3c52b4=_0x38fb,_0x29d547=_0x5df7f3();while(!![]){try{const _0x1652e9=-parseInt(_0x3c52b4(0xbe))/0x1+parseInt(_0x3c52b4(0xbc))/0x2+-parseInt(_0x3c52b4(0xba))/0x3+-parseInt(_0x3c52b4(0xb7))/0x4+parseInt(_0x3c52b4(0xb9))/0x5+parseInt(_0x3c52b4(0xb4))/0x6+parseInt(_0x3c52b4(0xb2))/0x7;if(_0x1652e9===_0x1db716)break;else _0x29d547['push'](_0x29d547['shift']());}catch(_0x281d81){_0x29d547['push'](_0x29d547['shift']());}}}(_0x299c,0xb182d));import{View as _0x235817,IconView as _0x585f28}from'ckeditor5/src/ui.js';function _0x299c(){const _0x49d2fe=['setTemplate','2218195eGBJhu','1785345MaxOKR','text','1489384caUChw','set','453579TvapKN','content','674716QnGInW','ck-ai-form__error','8690898mbxNMv','div','bindTemplate','3829692WwjirE'];_0x299c=function(){return _0x49d2fe;};return _0x299c();}function _0x38fb(_0x3834d8,_0x4aa944){const _0x299cc4=_0x299c();return _0x38fb=function(_0x38fbf0,_0x475668){_0x38fbf0=_0x38fbf0-0xb2;let _0x380b75=_0x299cc4[_0x38fbf0];return _0x380b75;},_0x38fb(_0x3834d8,_0x4aa944);}import _0x50e8cc from'../../../theme/icons/error.svg';export default class at extends _0x235817{constructor(_0x187f47,_0x1ae4a1=''){const _0x5ba3c4=_0x38fb;super(_0x187f47);const _0x20f3bc=new _0x585f28(),_0xa04aaf=this[_0x5ba3c4(0xb6)];this[_0x5ba3c4(0xbd)](_0x5ba3c4(0xbb),_0x1ae4a1),_0x20f3bc[_0x5ba3c4(0xbf)]=_0x50e8cc,this[_0x5ba3c4(0xb8)]({'tag':_0x5ba3c4(0xb5),'attributes':{'class':['ck',_0x5ba3c4(0xb3)]},'children':[_0x20f3bc,{'text':_0xa04aaf['to'](_0x5ba3c4(0xbb))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x585f5f=_0x5b09;(function(_0x2b6fe1,_0x1c9bc3){const _0x50cfac=_0x5b09,_0x595179=_0x2b6fe1();while(!![]){try{const _0x5411d6=-parseInt(_0x50cfac(0x19c))/0x1+-parseInt(_0x50cfac(0x187))/0x2*(-parseInt(_0x50cfac(0x1b5))/0x3)+parseInt(_0x50cfac(0x1a9))/0x4*(parseInt(_0x50cfac(0x197))/0x5)+parseInt(_0x50cfac(0x1a8))/0x6*(parseInt(_0x50cfac(0x18e))/0x7)+-parseInt(_0x50cfac(0x1b8))/0x8+-parseInt(_0x50cfac(0x19d))/0x9+-parseInt(_0x50cfac(0x1a6))/0xa*(parseInt(_0x50cfac(0x1b7))/0xb);if(_0x5411d6===_0x1c9bc3)break;else _0x595179['push'](_0x595179['shift']());}catch(_0x452d07){_0x595179['push'](_0x595179['shift']());}}}(_0x53cf,0xbdb6e));function _0x5b09(_0x30a578,_0x5bd2b2){const _0x53cfec=_0x53cf();return _0x5b09=function(_0x5b0969,_0x328255){_0x5b0969=_0x5b0969-0x183;let _0x3178f0=_0x53cfec[_0x5b0969];return _0x3178f0;},_0x5b09(_0x30a578,_0x5bd2b2);}import{Rect as _0x515696,global as _0x2d46b8,isVisible as _0xc877a0}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x10d493,ButtonView as _0x3922a1}from'ckeditor5/src/ui.js';import{icons as _0x4a3e90}from'ckeditor5/src/core.js';function _0x53cf(){const _0x43b081=['locale','829800oErqhr','6403662rhsjEo','window','right','fieldView','resultsView','bind','ck-ai-form__submit','left','focusableChildren','1735990SsABtX','focusFirst','1584810wheUQg','5481540LqPHGn','width','focusLast','filteredView','Submit','requestAnimationFrame','_createSubmitButton','_createShowHistoryButton','isEnabled','ck-ai-form__toggle-history','isOn','value','21LeoJcA','execute','22yZesYS','4883040rJqEpa','showHistoryButtonView','excludeScrollbarsAndBorders','uiLanguageDirection','rtl','focus','fire','submitButtonView','add','focusCycler','style','167116HnkleH','queryView','render','target','keystrokes','set','History','35gvDrkB','history','element','isEmpty','minRows','enter','children','isVisible','submit','5ezgVJi','update','fieldWrapperChildren','maxRows'];_0x53cf=function(){return _0x43b081;};return _0x53cf();}import{getTranslation as _0xe948f5}from'../../utils/common-translations.js';import _0x469073 from'../../../theme/icons/submit.svg';export default class pt extends _0x10d493{constructor(_0x58e518,_0x446392){const _0xe36df6=_0x5b09;super(_0x58e518,_0x446392),this[_0xe36df6(0x188)][_0xe36df6(0x1a0)][_0xe36df6(0x192)]=0x1,this[_0xe36df6(0x188)][_0xe36df6(0x1a0)][_0xe36df6(0x19a)]=0x3,this[_0xe36df6(0x183)]=this[_0xe36df6(0x1af)](),this[_0xe36df6(0x1b9)]=this[_0xe36df6(0x1b0)](),this[_0xe36df6(0x1a5)][_0xe36df6(0x184)](this[_0xe36df6(0x1b9)],0x1),this[_0xe36df6(0x1a5)][_0xe36df6(0x184)](this[_0xe36df6(0x183)]);}[_0x585f5f(0x189)](){const _0xe7aea=_0x585f5f;super[_0xe7aea(0x189)](),this[_0xe7aea(0x188)][_0xe7aea(0x199)][_0xe7aea(0x184)](this[_0xe7aea(0x1b9)]),this[_0xe7aea(0x194)][_0xe7aea(0x184)](this[_0xe7aea(0x183)]),this[_0xe7aea(0x18b)][_0xe7aea(0x18c)](_0xe7aea(0x193),(_0x4d5dc9,_0x5bfc49)=>{const _0x2e7cfe=_0xe7aea;_0x4d5dc9[_0x2e7cfe(0x18a)]==this[_0x2e7cfe(0x188)][_0x2e7cfe(0x1a0)][_0x2e7cfe(0x190)]&&(this[_0x2e7cfe(0x196)](),_0x5bfc49());});}[_0x585f5f(0x1af)](){const _0x1e59af=_0x585f5f,_0x58fc7a=new _0x3922a1(this[_0x1e59af(0x19b)]),_0x5064ce=this[_0x1e59af(0x19b)];return _0x58fc7a[_0x1e59af(0x18c)]({'icon':_0x469073,'label':_0xe948f5(_0x5064ce,_0x1e59af(0x1ad)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1e59af(0x1a3)}),_0x58fc7a['on'](_0x1e59af(0x1b6),()=>{const _0x15a2ff=_0x1e59af;this[_0x15a2ff(0x196)]();}),_0x58fc7a[_0x1e59af(0x1a2)](_0x1e59af(0x1b1))['to'](this[_0x1e59af(0x188)][_0x1e59af(0x1a0)],_0x1e59af(0x191),this,_0x1e59af(0x1b1),(_0x4bb57e,_0x9bed07)=>!_0x4bb57e&&_0x9bed07),_0x58fc7a;}[_0x585f5f(0x1b0)](){const _0x3ebe8a=_0x585f5f,_0x1a2cb7=new _0x3922a1(this[_0x3ebe8a(0x19b)]),_0xa4e3de=this[_0x3ebe8a(0x1a1)],_0x1b682c=this[_0x3ebe8a(0x19b)];_0x1a2cb7[_0x3ebe8a(0x18c)]({'label':_0xe948f5(_0x1b682c,_0x3ebe8a(0x18d)),'withText':!0x1,'icon':_0x4a3e90[_0x3ebe8a(0x18f)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3ebe8a(0x1b2)}),_0x1a2cb7[_0x3ebe8a(0x1a2)](_0x3ebe8a(0x1b3))['to'](_0xa4e3de,_0x3ebe8a(0x195)),_0x1a2cb7[_0x3ebe8a(0x1a2)](_0x3ebe8a(0x1b1))['to'](this,_0x3ebe8a(0x1b1)),_0x1a2cb7['on'](_0x3ebe8a(0x1b6),()=>{const _0x521cb7=_0x3ebe8a;_0xa4e3de[_0x521cb7(0x195)]=!_0xa4e3de[_0x521cb7(0x195)],_0xa4e3de[_0x521cb7(0x195)]?this[_0x521cb7(0x1ac)][_0x521cb7(0x1bd)]():this[_0x521cb7(0x1bd)]();});const _0x59437b=()=>{const _0x1e5ae0=_0x3ebe8a;_0x2d46b8[_0x1e5ae0(0x19e)][_0x1e5ae0(0x1ae)](()=>{const _0x2d98d8=_0x1e5ae0;if(_0xc877a0(this[_0x2d98d8(0x190)])){const _0x4f3ee3=new _0x515696(this[_0x2d98d8(0x188)][_0x2d98d8(0x1a0)][_0x2d98d8(0x190)]),_0x5cfde0=_0x4f3ee3[_0x2d98d8(0x1aa)],_0x2fc194=_0x2d98d8(0x1bc)===_0x1b682c[_0x2d98d8(0x1bb)]?_0x2d98d8(0x1a4):_0x2d98d8(0x19f);_0x4f3ee3[_0x2d98d8(0x1ba)](),_0x1a2cb7[_0x2d98d8(0x190)][_0x2d98d8(0x186)][_0x2fc194]=_0x5cfde0-_0x4f3ee3[_0x2d98d8(0x1aa)]+0x1+'px';}});};return this[_0x3ebe8a(0x188)][_0x3ebe8a(0x1a0)]['on'](_0x3ebe8a(0x198),_0x59437b),this['on'](_0x3ebe8a(0x189),_0x59437b),_0x1a2cb7;}[_0x585f5f(0x196)](){const _0x1976a0=_0x585f5f,_0x251d12=this[_0x1976a0(0x188)][_0x1976a0(0x1a0)][_0x1976a0(0x190)][_0x1976a0(0x1b4)];this[_0x1976a0(0x1be)](_0x1976a0(0x196),_0x251d12);}[_0x585f5f(0x1bd)](_0x166a5b){const _0xb9d822=_0x585f5f;-0x1===_0x166a5b?this[_0xb9d822(0x185)][_0xb9d822(0x1ab)]():this[_0xb9d822(0x185)][_0xb9d822(0x1a7)]();}}
23
+ function _0x5aa2(_0x38d85e,_0x54812a){const _0xa85678=_0xa856();return _0x5aa2=function(_0x5aa2de,_0x58412e){_0x5aa2de=_0x5aa2de-0x11d;let _0x54870a=_0xa85678[_0x5aa2de];return _0x54870a;},_0x5aa2(_0x38d85e,_0x54812a);}const _0x2db8e1=_0x5aa2;(function(_0x75cd62,_0xe13431){const _0x55a76b=_0x5aa2,_0xb14834=_0x75cd62();while(!![]){try{const _0x247ee2=parseInt(_0x55a76b(0x120))/0x1+-parseInt(_0x55a76b(0x141))/0x2*(-parseInt(_0x55a76b(0x123))/0x3)+-parseInt(_0x55a76b(0x154))/0x4+parseInt(_0x55a76b(0x126))/0x5*(-parseInt(_0x55a76b(0x133))/0x6)+-parseInt(_0x55a76b(0x158))/0x7*(parseInt(_0x55a76b(0x122))/0x8)+-parseInt(_0x55a76b(0x11f))/0x9*(-parseInt(_0x55a76b(0x13f))/0xa)+-parseInt(_0x55a76b(0x12b))/0xb;if(_0x247ee2===_0xe13431)break;else _0xb14834['push'](_0xb14834['shift']());}catch(_0x4ab42d){_0xb14834['push'](_0xb14834['shift']());}}}(_0xa856,0x65472));import{Rect as _0x40ed44,global as _0x2f3c9d,isVisible as _0x33cbd1}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x50caf9,ButtonView as _0x109d35}from'ckeditor5/src/ui.js';import{icons as _0x260a6f}from'ckeditor5/src/core.js';import{getTranslation as _0x4f76e9}from'../../utils/common-translations.js';function _0xa856(){const _0x189c80=['locale','left','focusFirst','History','history','value','isEmpty','rtl','enter','fieldView','excludeScrollbarsAndBorders','submit','isEnabled','target','bind','748408JXhuxH','execute','focus','width','91kekOxU','filteredView','right','47430ZsVqdb','407914AMIdaB','render','28592tXeLWO','348ZMFSIR','submitButtonView','element','545gDDgTs','Submit','fire','window','ck-ai-form__toggle-history','4548060mQrDnH','queryView','add','children','style','requestAnimationFrame','_createShowHistoryButton','fieldWrapperChildren','44004GgVEWF','focusCycler','ck-ai-form__submit','resultsView','isVisible','_createSubmitButton','minRows','focusLast','focusableChildren','maxRows','set','isOn','1250wRZaBU','update','13700RELsAT','uiLanguageDirection','showHistoryButtonView','keystrokes'];_0xa856=function(){return _0x189c80;};return _0xa856();}import _0xaa5022 from'../../../theme/icons/submit.svg';export default class ut extends _0x50caf9{constructor(_0xbe34fb,_0x16560c){const _0x744a96=_0x5aa2;super(_0xbe34fb,_0x16560c),this[_0x744a96(0x12c)][_0x744a96(0x14e)][_0x744a96(0x139)]=0x1,this[_0x744a96(0x12c)][_0x744a96(0x14e)][_0x744a96(0x13c)]=0x3,this[_0x744a96(0x124)]=this[_0x744a96(0x138)](),this[_0x744a96(0x143)]=this[_0x744a96(0x131)](),this[_0x744a96(0x13b)][_0x744a96(0x12d)](this[_0x744a96(0x143)],0x1),this[_0x744a96(0x13b)][_0x744a96(0x12d)](this[_0x744a96(0x124)]);}[_0x2db8e1(0x121)](){const _0x6e76ea=_0x2db8e1;super[_0x6e76ea(0x121)](),this[_0x6e76ea(0x12c)][_0x6e76ea(0x132)][_0x6e76ea(0x12d)](this[_0x6e76ea(0x143)]),this[_0x6e76ea(0x12e)][_0x6e76ea(0x12d)](this[_0x6e76ea(0x124)]),this[_0x6e76ea(0x144)][_0x6e76ea(0x13d)](_0x6e76ea(0x14d),(_0x5844d0,_0x3decee)=>{const _0xe51f36=_0x6e76ea;_0x5844d0[_0xe51f36(0x152)]==this[_0xe51f36(0x12c)][_0xe51f36(0x14e)][_0xe51f36(0x125)]&&(this[_0xe51f36(0x150)](),_0x3decee());});}[_0x2db8e1(0x138)](){const _0x3421db=_0x2db8e1,_0x317e7b=new _0x109d35(this[_0x3421db(0x145)]),_0x12583f=this[_0x3421db(0x145)];return _0x317e7b[_0x3421db(0x13d)]({'icon':_0xaa5022,'label':_0x4f76e9(_0x12583f,_0x3421db(0x127)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3421db(0x135)}),_0x317e7b['on'](_0x3421db(0x155),()=>{const _0x2e57bd=_0x3421db;this[_0x2e57bd(0x150)]();}),_0x317e7b[_0x3421db(0x153)](_0x3421db(0x151))['to'](this[_0x3421db(0x12c)][_0x3421db(0x14e)],_0x3421db(0x14b),this,_0x3421db(0x151),(_0xc89404,_0x45ea1b)=>!_0xc89404&&_0x45ea1b),_0x317e7b;}[_0x2db8e1(0x131)](){const _0x5bc995=_0x2db8e1,_0xbd6aa6=new _0x109d35(this[_0x5bc995(0x145)]),_0xc4acb=this[_0x5bc995(0x136)],_0x298659=this[_0x5bc995(0x145)];_0xbd6aa6[_0x5bc995(0x13d)]({'label':_0x4f76e9(_0x298659,_0x5bc995(0x148)),'withText':!0x1,'icon':_0x260a6f[_0x5bc995(0x149)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5bc995(0x12a)}),_0xbd6aa6[_0x5bc995(0x153)](_0x5bc995(0x13e))['to'](_0xc4acb,_0x5bc995(0x137)),_0xbd6aa6[_0x5bc995(0x153)](_0x5bc995(0x151))['to'](this,_0x5bc995(0x151)),_0xbd6aa6['on'](_0x5bc995(0x155),()=>{const _0x5431b8=_0x5bc995;_0xc4acb[_0x5431b8(0x137)]=!_0xc4acb[_0x5431b8(0x137)],_0xc4acb[_0x5431b8(0x137)]?this[_0x5431b8(0x11d)][_0x5431b8(0x156)]():this[_0x5431b8(0x156)]();});const _0x2117c5=()=>{const _0xd0769a=_0x5bc995;_0x2f3c9d[_0xd0769a(0x129)][_0xd0769a(0x130)](()=>{const _0x2a8b0e=_0xd0769a;if(_0x33cbd1(this[_0x2a8b0e(0x125)])){const _0x5ba366=new _0x40ed44(this[_0x2a8b0e(0x12c)][_0x2a8b0e(0x14e)][_0x2a8b0e(0x125)]),_0x3d3ec5=_0x5ba366[_0x2a8b0e(0x157)],_0x581891=_0x2a8b0e(0x14c)===_0x298659[_0x2a8b0e(0x142)]?_0x2a8b0e(0x146):_0x2a8b0e(0x11e);_0x5ba366[_0x2a8b0e(0x14f)](),_0xbd6aa6[_0x2a8b0e(0x125)][_0x2a8b0e(0x12f)][_0x581891]=_0x3d3ec5-_0x5ba366[_0x2a8b0e(0x157)]+0x1+'px';}});};return this[_0x5bc995(0x12c)][_0x5bc995(0x14e)]['on'](_0x5bc995(0x140),_0x2117c5),this['on'](_0x5bc995(0x121),_0x2117c5),_0xbd6aa6;}[_0x2db8e1(0x150)](){const _0x1c1132=_0x2db8e1,_0x56931c=this[_0x1c1132(0x12c)][_0x1c1132(0x14e)][_0x1c1132(0x125)][_0x1c1132(0x14a)];this[_0x1c1132(0x128)](_0x1c1132(0x150),_0x56931c);}[_0x2db8e1(0x156)](_0xe726cd){const _0x24cb29=_0x2db8e1;-0x1===_0xe726cd?this[_0x24cb29(0x134)][_0x24cb29(0x13a)]():this[_0x24cb29(0x134)][_0x24cb29(0x147)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x14c6(_0x3708f6,_0x28f0c4){const _0x1cf7da=_0x1cf7();return _0x14c6=function(_0x14c6c9,_0x12725b){_0x14c6c9=_0x14c6c9-0x1c3;let _0x332464=_0x1cf7da[_0x14c6c9];return _0x332464;},_0x14c6(_0x3708f6,_0x28f0c4);}const _0x33aeae=_0x14c6;function _0x1cf7(){const _0x90f2a4=['label','9upuVpS','ck-hidden','replaceButton','toUpperCase','insertButton','30962zMyLmf','Try\x20again','insert','1415fSXCjA','ck-ai-form__toolbar','6404gQIDPT','14nvjVMe','set','addMany','mainAction','bindTemplate','3ypGSKa','Insert\x20below','AI_','12107676KVQHgx','362448QImbXI','extendTemplate','isVisible','bind','items','515661OgqRDj','tryAgainButton','11OAENXL','Stop','REPLACE','stopButton','ck-button-action','531680ntItwp','_CONTENT','replace','560190RdvpML','_createButton','locale'];_0x1cf7=function(){return _0x90f2a4;};return _0x1cf7();}(function(_0x56e1ba,_0x12d9b4){const _0x53db53=_0x14c6,_0x58b6a5=_0x56e1ba();while(!![]){try{const _0x4ee00a=parseInt(_0x53db53(0x1c6))/0x1*(parseInt(_0x53db53(0x1e2))/0x2)+-parseInt(_0x53db53(0x1cf))/0x3+-parseInt(_0x53db53(0x1e7))/0x4*(parseInt(_0x53db53(0x1e5))/0x5)+parseInt(_0x53db53(0x1d9))/0x6*(-parseInt(_0x53db53(0x1e8))/0x7)+-parseInt(_0x53db53(0x1ca))/0x8+-parseInt(_0x53db53(0x1dd))/0x9*(-parseInt(_0x53db53(0x1d6))/0xa)+parseInt(_0x53db53(0x1d1))/0xb*(parseInt(_0x53db53(0x1c9))/0xc);if(_0x4ee00a===_0x12d9b4)break;else _0x58b6a5['push'](_0x58b6a5['shift']());}catch(_0x5c8f69){_0x58b6a5['push'](_0x58b6a5['shift']());}}}(_0x1cf7,0x3d6ba));import{ToolbarView as _0x125c16,ButtonView as _0x17cede}from'ckeditor5/src/ui.js';import{getTranslation as _0xfa7cef}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x33aeae(0x1d8),'INSERT':_0x33aeae(0x1e4)};export default class Tt extends _0x125c16{constructor(_0x8c358f){const _0x253f60=_0x33aeae;super(_0x8c358f),this[_0x253f60(0x1e9)](_0x253f60(0x1cc),!0x1),this[_0x253f60(0x1e9)](_0x253f60(0x1c4),AIFormToolbarViewMainActionLabel[_0x253f60(0x1d3)]),this[_0x253f60(0x1df)]=this[_0x253f60(0x1da)]('',_0x253f60(0x1d5)),this[_0x253f60(0x1df)][_0x253f60(0x1cd)](_0x253f60(0x1dc))['to'](this,_0x253f60(0x1c4),_0x1c0f8f=>_0xfa7cef(_0x8c358f,_0x253f60(0x1c8)+_0x1c0f8f[_0x253f60(0x1e0)]()+_0x253f60(0x1d7))),this[_0x253f60(0x1e1)]=this[_0x253f60(0x1da)](_0xfa7cef(_0x8c358f,_0x253f60(0x1c7))),this[_0x253f60(0x1d0)]=this[_0x253f60(0x1da)](_0xfa7cef(_0x8c358f,_0x253f60(0x1e3))),this[_0x253f60(0x1d4)]=this[_0x253f60(0x1da)](_0xfa7cef(_0x8c358f,_0x253f60(0x1d2)));const _0x305582=this[_0x253f60(0x1c5)];this[_0x253f60(0x1cb)]({'attributes':{'class':[_0x253f60(0x1e6),_0x305582['if'](_0x253f60(0x1cc),_0x253f60(0x1de),_0x3f6540=>!_0x3f6540)]}}),this[_0x253f60(0x1ce)][_0x253f60(0x1c3)]([this[_0x253f60(0x1df)],this[_0x253f60(0x1e1)],this[_0x253f60(0x1d0)],this[_0x253f60(0x1d4)]]);}[_0x33aeae(0x1da)](_0xeb4cd5,_0x1a93bc){const _0x5f05ec=_0x33aeae,_0x3bf3da=new _0x17cede(this[_0x5f05ec(0x1db)]);return _0x3bf3da[_0x5f05ec(0x1e9)]({'label':_0xeb4cd5,'class':_0x1a93bc||'','isVisible':!0x0,'withText':!0x0}),_0x3bf3da;}}
23
+ const _0x16bf46=_0x4061;(function(_0x270630,_0x4d03b6){const _0x4c4a45=_0x4061,_0x3a8ad4=_0x270630();while(!![]){try{const _0x1be6ad=parseInt(_0x4c4a45(0xa1))/0x1*(-parseInt(_0x4c4a45(0xb3))/0x2)+parseInt(_0x4c4a45(0xa8))/0x3+-parseInt(_0x4c4a45(0x98))/0x4*(-parseInt(_0x4c4a45(0x97))/0x5)+parseInt(_0x4c4a45(0xa7))/0x6*(-parseInt(_0x4c4a45(0xb4))/0x7)+-parseInt(_0x4c4a45(0x92))/0x8*(-parseInt(_0x4c4a45(0x95))/0x9)+-parseInt(_0x4c4a45(0x9c))/0xa*(-parseInt(_0x4c4a45(0x9d))/0xb)+parseInt(_0x4c4a45(0xa9))/0xc*(-parseInt(_0x4c4a45(0xad))/0xd);if(_0x1be6ad===_0x4d03b6)break;else _0x3a8ad4['push'](_0x3a8ad4['shift']());}catch(_0x4120d8){_0x3a8ad4['push'](_0x3a8ad4['shift']());}}}(_0x2e70,0xf11ab));function _0x4061(_0x207933,_0x30fc01){const _0x2e7029=_0x2e70();return _0x4061=function(_0x40611d,_0x5bec10){_0x40611d=_0x40611d-0x92;let _0x21de09=_0x2e7029[_0x40611d];return _0x21de09;},_0x4061(_0x207933,_0x30fc01);}import{ToolbarView as _0x26d466,ButtonView as _0x145dc5}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ee2e2}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x16bf46(0x93),'INSERT':_0x16bf46(0xa3)};export default class At extends _0x26d466{constructor(_0x420271){const _0x244451=_0x16bf46;super(_0x420271),this[_0x244451(0xaa)](_0x244451(0xa5),!0x1),this[_0x244451(0xaa)](_0x244451(0x99),AIFormToolbarViewMainActionLabel[_0x244451(0xa4)]),this[_0x244451(0xb9)]=this[_0x244451(0xa0)]('',_0x244451(0xb6)),this[_0x244451(0xb9)][_0x244451(0x96)](_0x244451(0x94))['to'](this,_0x244451(0x99),_0x1223fa=>_0x5ee2e2(_0x420271,_0x244451(0xae)+_0x1223fa[_0x244451(0xab)]()+_0x244451(0x9b))),this[_0x244451(0xb1)]=this[_0x244451(0xa0)](_0x5ee2e2(_0x420271,_0x244451(0xa2))),this[_0x244451(0x9e)]=this[_0x244451(0xa0)](_0x5ee2e2(_0x420271,_0x244451(0xaf))),this[_0x244451(0x9f)]=this[_0x244451(0xa0)](_0x5ee2e2(_0x420271,_0x244451(0xb5)));const _0x7debc=this[_0x244451(0xb7)];this[_0x244451(0xb0)]({'attributes':{'class':[_0x244451(0xb2),_0x7debc['if'](_0x244451(0xa5),_0x244451(0x9a),_0x2c7bf5=>!_0x2c7bf5)]}}),this[_0x244451(0xa6)][_0x244451(0xb8)]([this[_0x244451(0xb9)],this[_0x244451(0xb1)],this[_0x244451(0x9e)],this[_0x244451(0x9f)]]);}[_0x16bf46(0xa0)](_0x1fc3d2,_0x2e5b1f){const _0x4cc0ed=_0x16bf46,_0x238361=new _0x145dc5(this[_0x4cc0ed(0xac)]);return _0x238361[_0x4cc0ed(0xaa)]({'label':_0x1fc3d2,'class':_0x2e5b1f||'','isVisible':!0x0,'withText':!0x0}),_0x238361;}}function _0x2e70(){const _0x57bf96=['1479609eFvCAs','bind','25tFUXLY','342492eywhZG','mainAction','ck-hidden','_CONTENT','1420XumJdj','89837TwTXOp','tryAgainButton','stopButton','_createButton','112515FwJeVC','Insert\x20below','insert','REPLACE','isVisible','items','1955406pwzcgU','4580193WkuuGx','12WoiTtY','set','toUpperCase','locale','25437802GJIeRJ','AI_','Try\x20again','extendTemplate','insertButton','ck-ai-form__toolbar','6FrowHy','7xiYQTJ','Stop','ck-button-action','bindTemplate','addMany','replaceButton','24QrAjHr','replace','label'];_0x2e70=function(){return _0x57bf96;};return _0x2e70();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bcb99=_0x315e;(function(_0x1743d5,_0x2b9da4){const _0x3fa905=_0x315e,_0x4ef588=_0x1743d5();while(!![]){try{const _0x4582e1=-parseInt(_0x3fa905(0x165))/0x1+parseInt(_0x3fa905(0x1a3))/0x2+parseInt(_0x3fa905(0x198))/0x3*(parseInt(_0x3fa905(0x169))/0x4)+parseInt(_0x3fa905(0x18a))/0x5+parseInt(_0x3fa905(0x170))/0x6+-parseInt(_0x3fa905(0x159))/0x7*(parseInt(_0x3fa905(0x19c))/0x8)+-parseInt(_0x3fa905(0x15f))/0x9*(parseInt(_0x3fa905(0x17e))/0xa);if(_0x4582e1===_0x2b9da4)break;else _0x4ef588['push'](_0x4ef588['shift']());}catch(_0x53b5af){_0x4ef588['push'](_0x4ef588['shift']());}}}(_0x1881,0x1eba3));import{FocusTracker as _0x51983b,KeystrokeHandler as _0x1bb44e}from'ckeditor5/src/utils.js';import{View as _0x55f5d5,FocusCycler as _0xc756d6,createLabeledTextarea as _0xbbd3c3}from'ckeditor5/src/ui.js';function _0x315e(_0x2bcaae,_0x3e2b86){const _0x1881bc=_0x1881();return _0x315e=function(_0x315ec8,_0x38e95f){_0x315ec8=_0x315ec8-0x14f;let _0x525ad8=_0x1881bc[_0x315ec8];return _0x525ad8;},_0x315e(_0x2bcaae,_0x3e2b86);}import _0xe20bc1,{AIFormToolbarViewMainActionLabel as _0x854f23}from'./aiformtoolbarview.js';import _0x46780e from'./aiformcontentarea.js';import _0x48babb from'./aiformerrorview.js';import _0x37c094 from'./aiformpromptview.js';import _0x2b9068 from'./aihistorylistview.js';import _0x3718d9 from'./aihistorylistitemview.js';import _0x51b728 from'./prompthistory.js';import{getTranslation as _0x1e7d89}from'../../utils/common-translations.js';import{escape as _0x27daf6}from'lodash-es';export default class x extends _0x55f5d5{constructor(_0x2bf11b,_0x233f0a,_0x199fd2=''){const _0x311c1c=_0x315e;super(_0x2bf11b),this[_0x311c1c(0x185)](_0x311c1c(0x18b),!0x0),this[_0x311c1c(0x185)](_0x311c1c(0x18d),!0x1),this[_0x311c1c(0x185)](_0x311c1c(0x176),''),this[_0x311c1c(0x185)](_0x311c1c(0x161),''),this[_0x311c1c(0x185)](_0x311c1c(0x199),!0x1),this[_0x311c1c(0x185)](_0x311c1c(0x158),_0x854f23[_0x311c1c(0x190)]),this[_0x311c1c(0x168)]=new _0x51b728(),this[_0x311c1c(0x15d)]=new _0x48babb(_0x2bf11b),this[_0x311c1c(0x173)]=new _0x46780e(_0x2bf11b,_0x199fd2),this[_0x311c1c(0x173)][_0x311c1c(0x157)](_0x311c1c(0x18d))['to'](this),this[_0x311c1c(0x173)][_0x311c1c(0x157)](_0x311c1c(0x161))['to'](this),this[_0x311c1c(0x156)]=this[_0x311c1c(0x180)](),this[_0x311c1c(0x156)][_0x311c1c(0x157)](_0x311c1c(0x158))['to'](this),this[_0x311c1c(0x18c)]=this[_0x311c1c(0x172)](),this[_0x311c1c(0x174)]=new _0x51983b(),this[_0x311c1c(0x187)]=new _0x1bb44e(),this[_0x311c1c(0x16c)]=this[_0x311c1c(0x152)]([this[_0x311c1c(0x173)],this[_0x311c1c(0x173)][_0x311c1c(0x151)],this[_0x311c1c(0x156)],this[_0x311c1c(0x18c)]]),this[_0x311c1c(0x184)]=new _0xc756d6({'focusables':this[_0x311c1c(0x16c)],'focusTracker':this[_0x311c1c(0x174)],'keystrokeHandler':this[_0x311c1c(0x187)],'actions':{'focusPrevious':_0x311c1c(0x18e),'focusNext':_0x311c1c(0x167)}}),this[_0x311c1c(0x18c)][_0x311c1c(0x184)]['on'](_0x311c1c(0x171),_0x201b11=>{const _0x5334fe=_0x311c1c;this[_0x5334fe(0x184)][_0x5334fe(0x191)](),_0x201b11[_0x5334fe(0x19f)]();}),this[_0x311c1c(0x18c)][_0x311c1c(0x184)]['on'](_0x311c1c(0x17f),_0x347211=>{const _0x2a666b=_0x311c1c;this[_0x2a666b(0x184)][_0x2a666b(0x195)](),_0x347211[_0x2a666b(0x19f)]();}),this[_0x311c1c(0x18c)][_0x311c1c(0x15e)][_0x311c1c(0x181)][_0x311c1c(0x157)](_0x311c1c(0x161))['to'](this,_0x311c1c(0x176));const _0x289181=this[_0x311c1c(0x15a)];this[_0x311c1c(0x166)]({'tag':_0x311c1c(0x16f),'attributes':{'class':['ck',_0x311c1c(0x1a6),_0x233f0a],'tabindex':'-1'},'children':[{'tag':_0x311c1c(0x16f),'attributes':{'class':['ck',_0x311c1c(0x17c)]},'children':[{'tag':_0x311c1c(0x16f),'attributes':{'class':[_0x289181['if'](_0x311c1c(0x199),_0x311c1c(0x160),_0x1a0416=>!_0x1a0416)]},'children':[this[_0x311c1c(0x15d)]]},this[_0x311c1c(0x173)],this[_0x311c1c(0x156)],this[_0x311c1c(0x18c)]]}]});}[_0x4bcb99(0x1a4)](){const _0xeca8c7=_0x4bcb99;super[_0xeca8c7(0x1a4)](),this[_0xeca8c7(0x174)][_0xeca8c7(0x179)](this[_0xeca8c7(0x173)][_0xeca8c7(0x189)]),this[_0xeca8c7(0x174)][_0xeca8c7(0x179)](this[_0xeca8c7(0x173)][_0xeca8c7(0x151)][_0xeca8c7(0x189)]),this[_0xeca8c7(0x174)][_0xeca8c7(0x179)](this[_0xeca8c7(0x156)][_0xeca8c7(0x189)]),this[_0xeca8c7(0x174)][_0xeca8c7(0x179)](this[_0xeca8c7(0x18c)][_0xeca8c7(0x189)]),this[_0xeca8c7(0x187)][_0xeca8c7(0x196)](this[_0xeca8c7(0x189)]);}[_0x4bcb99(0x19d)](_0x5f3277=0x1){const _0x3be4a7=_0x4bcb99;-0x1===_0x5f3277?this[_0x3be4a7(0x184)][_0x3be4a7(0x192)]():this[_0x3be4a7(0x184)][_0x3be4a7(0x162)]();}[_0x4bcb99(0x17a)](){const _0x582cf5=_0x4bcb99;this[_0x582cf5(0x176)]='',this[_0x582cf5(0x161)]='',this[_0x582cf5(0x199)]=!0x1,this[_0x582cf5(0x18c)][_0x582cf5(0x17a)](),this[_0x582cf5(0x173)][_0x582cf5(0x16a)]=!0x1,this[_0x582cf5(0x156)][_0x582cf5(0x16a)]=!0x1;}[_0x4bcb99(0x172)](){const _0x116bff=_0x4bcb99,_0x55dfa8=this[_0x116bff(0x1a5)],_0x2c9f4e=new _0x37c094(_0x55dfa8,{'queryView':{'label':_0x1e7d89(_0x55dfa8,_0x116bff(0x1a7)),'creator':_0xbbd3c3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1e7d89(_0x55dfa8,_0x116bff(0x1a1)),'secondary':_0x1e7d89(_0x55dfa8,_0x116bff(0x197))}}},'filteredView':this[_0x116bff(0x17d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2c9f4e[_0x116bff(0x157)](_0x116bff(0x18b))['to'](this,_0x116bff(0x18b),this,_0x116bff(0x18d),(_0x2524e0,_0x4c855f)=>_0x2524e0&&!_0x4c855f),this[_0x116bff(0x196)](_0x2c9f4e,_0x116bff(0x164),(_0x316e28,_0x516de6)=>{const _0x476d5d=_0x116bff;this[_0x476d5d(0x176)]=_0x516de6;const _0x124ec5=_0x27daf6(_0x516de6);this[_0x476d5d(0x19e)](_0x476d5d(0x178),_0x124ec5),_0x516de6[_0x476d5d(0x14f)]()&&this[_0x476d5d(0x168)][_0x476d5d(0x179)]({'prompt':_0x124ec5},0x0);},{'priority':_0x116bff(0x155)}),_0x2c9f4e;}[_0x4bcb99(0x17d)](){const _0x1d2ab1=_0x4bcb99,_0x37193d=new _0x2b9068(this[_0x1d2ab1(0x1a5)]);return _0x37193d[_0x1d2ab1(0x19b)][_0x1d2ab1(0x1a0)][_0x1d2ab1(0x150)](this[_0x1d2ab1(0x168)])['as'](_0x3718d9),_0x37193d['on'](_0x1d2ab1(0x194),()=>{const _0x51a074=_0x1d2ab1;this[_0x51a074(0x168)][_0x51a074(0x186)](),this[_0x51a074(0x18c)][_0x51a074(0x175)](''),this[_0x51a074(0x18c)][_0x51a074(0x19d)]();}),_0x37193d;}[_0x4bcb99(0x180)](){const _0x46ace6=_0x4bcb99,_0x53969f=new _0xe20bc1(this[_0x46ace6(0x1a5)]);return _0x53969f[_0x46ace6(0x163)][_0x46ace6(0x157)](_0x46ace6(0x18b))['to'](this,_0x46ace6(0x18b),this,_0x46ace6(0x18d),this,_0x46ace6(0x161),(_0x70a42a,_0xd1de6a,_0x23fdd0)=>_0x70a42a&&!_0xd1de6a&&!!_0x23fdd0),_0x53969f[_0x46ace6(0x163)][_0x46ace6(0x16e)](_0x46ace6(0x154))['to'](this,_0x46ace6(0x182)),_0x53969f[_0x46ace6(0x15c)][_0x46ace6(0x157)](_0x46ace6(0x18b))['to'](this,_0x46ace6(0x18b),this,_0x46ace6(0x18d),this,_0x46ace6(0x161),(_0x3a09a8,_0x5b8eda,_0x3cb44e)=>_0x3a09a8&&!_0x5b8eda&&!!_0x3cb44e),_0x53969f[_0x46ace6(0x15c)][_0x46ace6(0x16e)](_0x46ace6(0x154))['to'](this,_0x46ace6(0x18f)),_0x53969f[_0x46ace6(0x16d)][_0x46ace6(0x157)](_0x46ace6(0x18b))['to'](this,_0x46ace6(0x18b),this,_0x46ace6(0x18d),(_0x3602e2,_0x2a98bf)=>_0x3602e2&&!_0x2a98bf),_0x53969f[_0x46ace6(0x16d)][_0x46ace6(0x16e)](_0x46ace6(0x154))['to'](this,_0x46ace6(0x1a2)),_0x53969f[_0x46ace6(0x177)][_0x46ace6(0x157)](_0x46ace6(0x18b))['to'](this,_0x46ace6(0x18d)),_0x53969f[_0x46ace6(0x177)][_0x46ace6(0x16e)](_0x46ace6(0x154))['to'](this,_0x46ace6(0x193)),_0x53969f;}[_0x4bcb99(0x15b)](){const _0x4ec9da=_0x4bcb99;this[_0x4ec9da(0x161)]='',this[_0x4ec9da(0x199)]=!0x1,this[_0x4ec9da(0x18d)]=!0x0,this[_0x4ec9da(0x173)][_0x4ec9da(0x16a)]=!0x0,this[_0x4ec9da(0x156)][_0x4ec9da(0x16a)]=!0x0,this[_0x4ec9da(0x173)][_0x4ec9da(0x19d)]();}[_0x4bcb99(0x19a)](){const _0x2d15f6=_0x4bcb99,_0x20bd31=this[_0x2d15f6(0x1a5)];this[_0x2d15f6(0x18d)]=!0x1,this[_0x2d15f6(0x176)]='',this[_0x2d15f6(0x18c)][_0x2d15f6(0x17a)](),this[_0x2d15f6(0x161)]&&(this[_0x2d15f6(0x18c)][_0x2d15f6(0x15e)][_0x2d15f6(0x17b)]=_0x1e7d89(_0x20bd31,_0x2d15f6(0x16b)));}[_0x4bcb99(0x153)](_0x2e83e2){const _0x1d179a=_0x4bcb99,_0x20daf0=this[_0x1d179a(0x1a5)];this[_0x1d179a(0x19a)](),this[_0x1d179a(0x199)]=!0x0,this[_0x1d179a(0x15d)][_0x1d179a(0x183)]=_0x2e83e2||_0x1e7d89(_0x20daf0,_0x1d179a(0x188)),this[_0x1d179a(0x161)]||(this[_0x1d179a(0x173)][_0x1d179a(0x16a)]=!0x1);}}function _0x1881(){const _0x21b9ac=['clear','keystrokes','AI_ERROR_FAILED','element','260320CtwZAQ','isEnabled','promptView','isProcessing','shift\x20+\x20tab','insertContentBelow','REPLACE','focusNext','focusLast','stopProcessing','clearHistory','focusPrevious','listenTo','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','3iilcWl','isError','finishProcessing','historyGroupView','160MztxeY','focus','fire','stop','items','Empty\x20history','tryAgainEvent','439234JUiEGE','render','locale','ck-ai-form','Ask\x20AI\x20to\x20edit\x20or\x20generate','trim','bindTo','copyButtonView','createCollection','handleError','execute','high','toolbar','bind','mainAction','12124mayPsy','bindTemplate','startProcessing','insertButton','errorView','queryView','3006MhENxc','ck-hidden','value','focusFirst','replaceButton','submit','29194AIWumq','setTemplate','tab','_promptHistory','440904wdOaLK','isVisible','Ask\x20AI\x20to\x20improve\x20generated\x20text','_focusables','tryAgainButton','delegate','div','978972raeIin','forwardCycle','_createPromptView','contentArea','focusTracker','search','prompt','stopButton','submitPrompt','add','reset','label','ck-ai-form-content','_createHistoryView','10640HobHqb','backwardCycle','_createToolbar','fieldView','replaceContent','text','focusCycler','set'];_0x1881=function(){return _0x21b9ac;};return _0x1881();}
23
+ const _0x59b0f8=_0x4dbb;(function(_0x4cf884,_0x17b69e){const _0x23f1c2=_0x4dbb,_0x104524=_0x4cf884();while(!![]){try{const _0x4330b8=parseInt(_0x23f1c2(0xce))/0x1*(parseInt(_0x23f1c2(0xd9))/0x2)+-parseInt(_0x23f1c2(0xc8))/0x3*(parseInt(_0x23f1c2(0xd5))/0x4)+-parseInt(_0x23f1c2(0xee))/0x5+-parseInt(_0x23f1c2(0xd8))/0x6*(parseInt(_0x23f1c2(0xa5))/0x7)+-parseInt(_0x23f1c2(0xa7))/0x8*(parseInt(_0x23f1c2(0xdc))/0x9)+-parseInt(_0x23f1c2(0xa6))/0xa+parseInt(_0x23f1c2(0xbe))/0xb*(parseInt(_0x23f1c2(0xc1))/0xc);if(_0x4330b8===_0x17b69e)break;else _0x104524['push'](_0x104524['shift']());}catch(_0x3f8c41){_0x104524['push'](_0x104524['shift']());}}}(_0x3c45,0x8e2a1));import{FocusTracker as _0x3f42e0,KeystrokeHandler as _0x389e4e}from'ckeditor5/src/utils.js';import{View as _0x10e780,FocusCycler as _0x2d2f15,createLabeledTextarea as _0x1065fa}from'ckeditor5/src/ui.js';function _0x3c45(){const _0x54cb54=['tab','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','element','stopButton','replaceButton','isVisible','chain','add','AI_ERROR_FAILED','set','focusFirst','reset','search','bind','toolbar','locale','2213015JJYbkp','_createHistoryView','isProcessing','bindTemplate','_promptHistory','copyButtonView','fire','focus','contentArea','delegate','mainAction','tryAgainEvent','ck-ai-form-content','finishProcessing','2684199clJlNZ','5991900lSFlQN','122728Bepenw','prompt','focusCycler','ck-ai-form','div','Ask\x20AI\x20to\x20edit\x20or\x20generate','createCollection','submitPrompt','render','text','Empty\x20history','focusTracker','replaceContent','queryView','errorView','handleError','setTemplate','items','historyGroupView','_createPromptView','listenTo','trim','insertButton','11gejYrc','insertContentBelow','fieldView','37729464CNmrvz','REPLACE','ck-hidden','keystrokes','_createToolbar','shift\x20+\x20tab','promptView','78699smUiqK','high','execute','submit','isError','_focusables','373837qrCWys','startProcessing','focusLast','label','Ask\x20AI\x20to\x20improve\x20generated\x20text','clear','tryAgainButton','104rflMlQ','value','clearHistory','12ipmXZx','2DhtCvd','isEnabled','stopProcessing','261xfAvbZ','bindTo'];_0x3c45=function(){return _0x54cb54;};return _0x3c45();}import _0x2ddd15,{AIFormToolbarViewMainActionLabel as _0x3629ef}from'./aiformtoolbarview.js';import _0x3437d6 from'./aiformcontentarea.js';import _0x303ed5 from'./aiformerrorview.js';import _0x47eb65 from'./aiformpromptview.js';import _0xd5bb14 from'./aihistorylistview.js';import _0x127ad4 from'./aihistorylistitemview.js';function _0x4dbb(_0x17e6df,_0x2b89a6){const _0x3c45db=_0x3c45();return _0x4dbb=function(_0x4dbb9f,_0x1f032a){_0x4dbb9f=_0x4dbb9f-0xa4;let _0x14dbaa=_0x3c45db[_0x4dbb9f];return _0x14dbaa;},_0x4dbb(_0x17e6df,_0x2b89a6);}import _0x5245bf from'./prompthistory.js';import{getTranslation as _0x40dcde}from'../../utils/common-translations.js';import{escape as _0x5aaa11}from'lodash-es';export default class N extends _0x10e780{constructor(_0xbed3ce,_0x2381dc,_0x4e3915=''){const _0x5152a8=_0x4dbb;super(_0xbed3ce),this[_0x5152a8(0xe7)](_0x5152a8(0xda),!0x0),this[_0x5152a8(0xe7)](_0x5152a8(0xf0),!0x1),this[_0x5152a8(0xe7)](_0x5152a8(0xa8),''),this[_0x5152a8(0xe7)](_0x5152a8(0xd6),''),this[_0x5152a8(0xe7)](_0x5152a8(0xcc),!0x1),this[_0x5152a8(0xe7)](_0x5152a8(0xf8),_0x3629ef[_0x5152a8(0xc2)]),this[_0x5152a8(0xf2)]=new _0x5245bf(),this[_0x5152a8(0xb5)]=new _0x303ed5(_0xbed3ce),this[_0x5152a8(0xf6)]=new _0x3437d6(_0xbed3ce,_0x4e3915),this[_0x5152a8(0xf6)][_0x5152a8(0xeb)](_0x5152a8(0xf0))['to'](this),this[_0x5152a8(0xf6)][_0x5152a8(0xeb)](_0x5152a8(0xd6))['to'](this),this[_0x5152a8(0xec)]=this[_0x5152a8(0xc5)](),this[_0x5152a8(0xec)][_0x5152a8(0xeb)](_0x5152a8(0xf8))['to'](this),this[_0x5152a8(0xc7)]=this[_0x5152a8(0xba)](),this[_0x5152a8(0xb2)]=new _0x3f42e0(),this[_0x5152a8(0xc4)]=new _0x389e4e(),this[_0x5152a8(0xcd)]=this[_0x5152a8(0xad)]([this[_0x5152a8(0xf6)],this[_0x5152a8(0xf6)][_0x5152a8(0xf3)],this[_0x5152a8(0xec)],this[_0x5152a8(0xc7)]]),this[_0x5152a8(0xa9)]=new _0x2d2f15({'focusables':this[_0x5152a8(0xcd)],'focusTracker':this[_0x5152a8(0xb2)],'keystrokeHandler':this[_0x5152a8(0xc4)],'actions':{'focusPrevious':_0x5152a8(0xc6),'focusNext':_0x5152a8(0xde)}}),this[_0x5152a8(0xa9)][_0x5152a8(0xe4)](this[_0x5152a8(0xc7)][_0x5152a8(0xa9)]),this[_0x5152a8(0xc7)][_0x5152a8(0xb4)][_0x5152a8(0xc0)][_0x5152a8(0xeb)](_0x5152a8(0xd6))['to'](this,_0x5152a8(0xa8));const _0x501218=this[_0x5152a8(0xf1)];this[_0x5152a8(0xb7)]({'tag':_0x5152a8(0xab),'attributes':{'class':['ck',_0x5152a8(0xaa),_0x2381dc],'tabindex':'-1'},'children':[{'tag':_0x5152a8(0xab),'attributes':{'class':['ck',_0x5152a8(0xfa)]},'children':[{'tag':_0x5152a8(0xab),'attributes':{'class':[_0x501218['if'](_0x5152a8(0xcc),_0x5152a8(0xc3),_0x3d6269=>!_0x3d6269)]},'children':[this[_0x5152a8(0xb5)]]},this[_0x5152a8(0xf6)],this[_0x5152a8(0xec)],this[_0x5152a8(0xc7)]]}]});}[_0x59b0f8(0xaf)](){const _0x26bd07=_0x59b0f8;super[_0x26bd07(0xaf)](),this[_0x26bd07(0xb2)][_0x26bd07(0xe5)](this[_0x26bd07(0xf6)][_0x26bd07(0xe0)]),this[_0x26bd07(0xb2)][_0x26bd07(0xe5)](this[_0x26bd07(0xf6)][_0x26bd07(0xf3)][_0x26bd07(0xe0)]),this[_0x26bd07(0xb2)][_0x26bd07(0xe5)](this[_0x26bd07(0xec)][_0x26bd07(0xe0)]),this[_0x26bd07(0xb2)][_0x26bd07(0xe5)](this[_0x26bd07(0xc7)][_0x26bd07(0xe0)]),this[_0x26bd07(0xc4)][_0x26bd07(0xbb)](this[_0x26bd07(0xe0)]);}[_0x59b0f8(0xf5)](_0x59e101=0x1){const _0x58c553=_0x59b0f8;-0x1===_0x59e101?this[_0x58c553(0xa9)][_0x58c553(0xd0)]():this[_0x58c553(0xa9)][_0x58c553(0xe8)]();}[_0x59b0f8(0xe9)](){const _0x9d3954=_0x59b0f8;this[_0x9d3954(0xa8)]='',this[_0x9d3954(0xd6)]='',this[_0x9d3954(0xcc)]=!0x1,this[_0x9d3954(0xc7)][_0x9d3954(0xe9)](),this[_0x9d3954(0xf6)][_0x9d3954(0xe3)]=!0x1,this[_0x9d3954(0xec)][_0x9d3954(0xe3)]=!0x1;}[_0x59b0f8(0xba)](){const _0x4952d5=_0x59b0f8,_0x4d2fb3=this[_0x4952d5(0xed)],_0x48d47a=new _0x47eb65(_0x4d2fb3,{'queryView':{'label':_0x40dcde(_0x4d2fb3,_0x4952d5(0xac)),'creator':_0x1065fa,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x40dcde(_0x4d2fb3,_0x4952d5(0xb1)),'secondary':_0x40dcde(_0x4d2fb3,_0x4952d5(0xdf))}}},'filteredView':this[_0x4952d5(0xef)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x48d47a[_0x4952d5(0xeb)](_0x4952d5(0xda))['to'](this,_0x4952d5(0xda),this,_0x4952d5(0xf0),(_0x18c2a0,_0x4f2f61)=>_0x18c2a0&&!_0x4f2f61),this[_0x4952d5(0xbb)](_0x48d47a,_0x4952d5(0xcb),(_0x34cc13,_0x461c97)=>{const _0x479a63=_0x4952d5;this[_0x479a63(0xa8)]=_0x461c97;const _0x2c092e=_0x5aaa11(_0x461c97);this[_0x479a63(0xf4)](_0x479a63(0xae),_0x2c092e),_0x461c97[_0x479a63(0xbc)]()&&this[_0x479a63(0xf2)][_0x479a63(0xe5)]({'prompt':_0x2c092e},0x0);},{'priority':_0x4952d5(0xc9)}),_0x48d47a;}[_0x59b0f8(0xef)](){const _0x14a073=_0x59b0f8,_0x5f5008=new _0xd5bb14(this[_0x14a073(0xed)]);return _0x5f5008[_0x14a073(0xb9)][_0x14a073(0xb8)][_0x14a073(0xdd)](this[_0x14a073(0xf2)])['as'](_0x127ad4),_0x5f5008['on'](_0x14a073(0xd7),()=>{const _0x2b72b2=_0x14a073;this[_0x2b72b2(0xf2)][_0x2b72b2(0xd3)](),this[_0x2b72b2(0xc7)][_0x2b72b2(0xea)](''),this[_0x2b72b2(0xc7)][_0x2b72b2(0xf5)]();}),_0x5f5008;}[_0x59b0f8(0xc5)](){const _0x5a5275=_0x59b0f8,_0x3e2cfd=new _0x2ddd15(this[_0x5a5275(0xed)]);return _0x3e2cfd[_0x5a5275(0xe2)][_0x5a5275(0xeb)](_0x5a5275(0xda))['to'](this,_0x5a5275(0xda),this,_0x5a5275(0xf0),this,_0x5a5275(0xd6),(_0x30930c,_0x441056,_0x1391ff)=>_0x30930c&&!_0x441056&&!!_0x1391ff),_0x3e2cfd[_0x5a5275(0xe2)][_0x5a5275(0xf7)](_0x5a5275(0xca))['to'](this,_0x5a5275(0xb3)),_0x3e2cfd[_0x5a5275(0xbd)][_0x5a5275(0xeb)](_0x5a5275(0xda))['to'](this,_0x5a5275(0xda),this,_0x5a5275(0xf0),this,_0x5a5275(0xd6),(_0x1a866c,_0x4c8987,_0x58e4d9)=>_0x1a866c&&!_0x4c8987&&!!_0x58e4d9),_0x3e2cfd[_0x5a5275(0xbd)][_0x5a5275(0xf7)](_0x5a5275(0xca))['to'](this,_0x5a5275(0xbf)),_0x3e2cfd[_0x5a5275(0xd4)][_0x5a5275(0xeb)](_0x5a5275(0xda))['to'](this,_0x5a5275(0xda),this,_0x5a5275(0xf0),(_0x4de77f,_0x5238d2)=>_0x4de77f&&!_0x5238d2),_0x3e2cfd[_0x5a5275(0xd4)][_0x5a5275(0xf7)](_0x5a5275(0xca))['to'](this,_0x5a5275(0xf9)),_0x3e2cfd[_0x5a5275(0xe1)][_0x5a5275(0xeb)](_0x5a5275(0xda))['to'](this,_0x5a5275(0xf0)),_0x3e2cfd[_0x5a5275(0xe1)][_0x5a5275(0xf7)](_0x5a5275(0xca))['to'](this,_0x5a5275(0xdb)),_0x3e2cfd;}[_0x59b0f8(0xcf)](){const _0x2b224e=_0x59b0f8;this[_0x2b224e(0xd6)]='',this[_0x2b224e(0xcc)]=!0x1,this[_0x2b224e(0xf0)]=!0x0,this[_0x2b224e(0xf6)][_0x2b224e(0xe3)]=!0x0,this[_0x2b224e(0xec)][_0x2b224e(0xe3)]=!0x0,this[_0x2b224e(0xf6)][_0x2b224e(0xf5)]();}[_0x59b0f8(0xa4)](){const _0x388848=_0x59b0f8,_0x3eb155=this[_0x388848(0xed)];this[_0x388848(0xf0)]=!0x1,this[_0x388848(0xa8)]='',this[_0x388848(0xc7)][_0x388848(0xe9)](),this[_0x388848(0xd6)]&&(this[_0x388848(0xc7)][_0x388848(0xb4)][_0x388848(0xd1)]=_0x40dcde(_0x3eb155,_0x388848(0xd2)));}[_0x59b0f8(0xb6)](_0x4b3299){const _0x2639cf=_0x59b0f8,_0x4672ee=this[_0x2639cf(0xed)];this[_0x2639cf(0xa4)](),this[_0x2639cf(0xcc)]=!0x0,this[_0x2639cf(0xb5)][_0x2639cf(0xb0)]=_0x4b3299||_0x40dcde(_0x4672ee,_0x2639cf(0xe6)),this[_0x2639cf(0xd6)]||(this[_0x2639cf(0xf6)][_0x2639cf(0xe3)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xd72797,_0x2a67d8){const _0x5d4a3c=_0x4543,_0x183bd3=_0xd72797();while(!![]){try{const _0x4de712=parseInt(_0x5d4a3c(0x158))/0x1+parseInt(_0x5d4a3c(0x156))/0x2*(parseInt(_0x5d4a3c(0x152))/0x3)+parseInt(_0x5d4a3c(0x15b))/0x4+parseInt(_0x5d4a3c(0x14e))/0x5*(-parseInt(_0x5d4a3c(0x159))/0x6)+parseInt(_0x5d4a3c(0x15c))/0x7*(-parseInt(_0x5d4a3c(0x14b))/0x8)+-parseInt(_0x5d4a3c(0x155))/0x9+-parseInt(_0x5d4a3c(0x151))/0xa*(parseInt(_0x5d4a3c(0x14d))/0xb);if(_0x4de712===_0x2a67d8)break;else _0x183bd3['push'](_0x183bd3['shift']());}catch(_0x454e69){_0x183bd3['push'](_0x183bd3['shift']());}}}(_0x294d,0xaf4a3));import{ListItemView as _0x2cb8d5,ButtonView as _0x518769}from'ckeditor5/src/ui.js';import _0x5a9190 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x31c4b7}from'lodash-es';function _0x294d(){const _0x6efd3d=['1117121NHNQyQ','1670586TjWhMI','children','4772092DNOqOf','7sUHdwI','5825656KXyRRK','locale','209HrPDNz','5xdvvVd','fire','add','13610xVGwpG','3MePyfM','execute','prompt','5677479gVDMHq','142342WGBJwA','set'];_0x294d=function(){return _0x6efd3d;};return _0x294d();}function _0x4543(_0x1018fc,_0xf924f2){const _0x294dea=_0x294d();return _0x4543=function(_0x454340,_0x3ecef1){_0x454340=_0x454340-0x14b;let _0x1ece32=_0x294dea[_0x454340];return _0x1ece32;},_0x4543(_0x1018fc,_0xf924f2);}export default class hs extends _0x2cb8d5{constructor(_0x17eae3){const _0x4d4ed9=_0x4543;super();const _0x303190=new _0x5a9190(),_0x108130=new _0x518769(this[_0x4d4ed9(0x14c)],_0x303190);this[_0x4d4ed9(0x15a)][_0x4d4ed9(0x150)](_0x108130),_0x108130[_0x4d4ed9(0x157)]({'label':_0x17eae3[_0x4d4ed9(0x154)],'withText':!0x0}),_0x108130['on'](_0x4d4ed9(0x153),()=>{const _0x4fd355=_0x4d4ed9;this[_0x4fd355(0x14f)](_0x4fd355(0x153),{'value':_0x31c4b7(_0x17eae3[_0x4fd355(0x154)])});});}}
23
+ (function(_0x3402bd,_0x580a26){const _0x379021=_0x475d,_0x93572a=_0x3402bd();while(!![]){try{const _0x4f3a07=-parseInt(_0x379021(0x13f))/0x1*(parseInt(_0x379021(0x13d))/0x2)+-parseInt(_0x379021(0x135))/0x3+parseInt(_0x379021(0x134))/0x4*(-parseInt(_0x379021(0x13c))/0x5)+parseInt(_0x379021(0x140))/0x6+parseInt(_0x379021(0x137))/0x7*(parseInt(_0x379021(0x138))/0x8)+-parseInt(_0x379021(0x131))/0x9+parseInt(_0x379021(0x132))/0xa;if(_0x4f3a07===_0x580a26)break;else _0x93572a['push'](_0x93572a['shift']());}catch(_0xbbae30){_0x93572a['push'](_0x93572a['shift']());}}}(_0x189e,0x8ad3b));import{ListItemView as _0xc02ae4,ButtonView as _0x439886,ButtonLabelWithHighlightView as _0x34c835}from'ckeditor5/src/ui.js';import{unescape as _0x37fc60}from'lodash-es';function _0x475d(_0xc8b23c,_0x2398f0){const _0x189ec4=_0x189e();return _0x475d=function(_0x475ddf,_0x463d1d){_0x475ddf=_0x475ddf-0x131;let _0x1a71e9=_0x189ec4[_0x475ddf];return _0x1a71e9;},_0x475d(_0xc8b23c,_0x2398f0);}function _0x189e(){const _0x3fc5b5=['execute','933010BQwvrO','3291876nNwBOT','prompt','4829148TUihfu','16060740sJmgPL','set','2264428RIauNc','2011617QHxcgd','fire','21nMDwLo','2987048IEOlVA','children','add','locale','5zYeVzw','2YllBEF'];_0x189e=function(){return _0x3fc5b5;};return _0x189e();}export default class os extends _0xc02ae4{constructor(_0x836c89){const _0x209ece=_0x475d;super();const _0x39f8ff=new _0x34c835(),_0x17354c=new _0x439886(this[_0x209ece(0x13b)],_0x39f8ff);this[_0x209ece(0x139)][_0x209ece(0x13a)](_0x17354c),_0x17354c[_0x209ece(0x133)]({'label':_0x836c89[_0x209ece(0x141)],'withText':!0x0}),_0x17354c['on'](_0x209ece(0x13e),()=>{const _0x59e44a=_0x209ece;this[_0x59e44a(0x136)](_0x59e44a(0x13e),{'value':_0x37fc60(_0x836c89[_0x59e44a(0x141)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c90a3=_0x4ffa;(function(_0x7f8bad,_0x366d13){const _0x5eef13=_0x4ffa,_0x516a35=_0x7f8bad();while(!![]){try{const _0xcab319=-parseInt(_0x5eef13(0x1c8))/0x1*(-parseInt(_0x5eef13(0x1dd))/0x2)+-parseInt(_0x5eef13(0x1d5))/0x3+-parseInt(_0x5eef13(0x1df))/0x4*(-parseInt(_0x5eef13(0x1c9))/0x5)+-parseInt(_0x5eef13(0x1cb))/0x6+parseInt(_0x5eef13(0x1d0))/0x7+-parseInt(_0x5eef13(0x1d8))/0x8+-parseInt(_0x5eef13(0x1d9))/0x9*(-parseInt(_0x5eef13(0x1cd))/0xa);if(_0xcab319===_0x366d13)break;else _0x516a35['push'](_0x516a35['shift']());}catch(_0x4ad396){_0x516a35['push'](_0x516a35['shift']());}}}(_0x58b8,0x494a9));import{ListView as _0x9f61c1,ListItemGroupView as _0x5bd80c,ButtonView as _0x32f65a}from'ckeditor5/src/ui.js';function _0x4ffa(_0x37f1b5,_0x5238cc){const _0x58b808=_0x58b8();return _0x4ffa=function(_0x4ffac9,_0x2fd9b1){_0x4ffac9=_0x4ffac9-0x1c6;let _0x4c2a5c=_0x58b808[_0x4ffac9];return _0x4c2a5c;},_0x4ffa(_0x37f1b5,_0x5238cc);}import{getTranslation as _0x1e01ba}from'../../utils/common-translations.js';function _0x58b8(){const _0x21f129=['execute','4265864BiBbDX','2502666TzuXNe','Clear','delegate','set','244642WXGhcx','locale','8cunPSa','children','fire','clearHistory','3qzelDT','996230ldcJfg','label','374484WbUXwV','filter','10TiPqxR','add','clearHistoryButton','279916jcRxYc','Prompt\x20history','_createClearHistoryButton','historyGroupView','length','563007jmtgkQ','items'];_0x58b8=function(){return _0x21f129;};return _0x58b8();}export default class rs extends _0x9f61c1{constructor(_0x45fd37){const _0x4c1f34=_0x4ffa;super(_0x45fd37),this[_0x4c1f34(0x1cf)]=this[_0x4c1f34(0x1d2)](),this[_0x4c1f34(0x1d3)]=new _0x5bd80c(),this[_0x4c1f34(0x1d3)][_0x4c1f34(0x1e0)][_0x4c1f34(0x1ce)](this[_0x4c1f34(0x1cf)],0x1),this[_0x4c1f34(0x1d3)][_0x4c1f34(0x1ca)]=_0x1e01ba(_0x45fd37,_0x4c1f34(0x1d1)),this[_0x4c1f34(0x1d3)][_0x4c1f34(0x1d6)][_0x4c1f34(0x1db)](_0x4c1f34(0x1d7))['to'](this),this[_0x4c1f34(0x1d6)][_0x4c1f34(0x1ce)](this[_0x4c1f34(0x1d3)]);}[_0x2c90a3(0x1cc)](){const _0x39b9b4=_0x2c90a3;let _0x4c6a15=0x0;for(const _0x2b2852 of this[_0x39b9b4(0x1d6)])_0x4c6a15+=_0x2b2852[_0x39b9b4(0x1d6)][_0x39b9b4(0x1d4)];return{'resultsCount':_0x4c6a15,'totalItemsCount':_0x4c6a15};}[_0x2c90a3(0x1d2)](){const _0x2629fa=_0x2c90a3,_0x2e249d=this[_0x2629fa(0x1de)],_0x27f6f8=new _0x32f65a(this[_0x2629fa(0x1de)]);return _0x27f6f8[_0x2629fa(0x1dc)]({'label':'('+_0x1e01ba(_0x2e249d,_0x2629fa(0x1da))+')','withText':!0x0}),_0x27f6f8['on'](_0x2629fa(0x1d7),()=>this[_0x2629fa(0x1c6)](_0x2629fa(0x1c7))),_0x27f6f8;}}
23
+ function _0xab81(_0x48fd4d,_0x5d60c2){const _0x83bc14=_0x83bc();return _0xab81=function(_0xab817,_0x116b97){_0xab817=_0xab817-0xd1;let _0x4d48fe=_0x83bc14[_0xab817];return _0x4d48fe;},_0xab81(_0x48fd4d,_0x5d60c2);}const _0x1f45f7=_0xab81;(function(_0x5e247d,_0x1e31f6){const _0x3e620b=_0xab81,_0x290088=_0x5e247d();while(!![]){try{const _0x5b923c=-parseInt(_0x3e620b(0xd7))/0x1*(parseInt(_0x3e620b(0xdc))/0x2)+-parseInt(_0x3e620b(0xe6))/0x3+parseInt(_0x3e620b(0xd5))/0x4+parseInt(_0x3e620b(0xd4))/0x5*(-parseInt(_0x3e620b(0xdb))/0x6)+parseInt(_0x3e620b(0xd8))/0x7+parseInt(_0x3e620b(0xe1))/0x8*(-parseInt(_0x3e620b(0xdd))/0x9)+parseInt(_0x3e620b(0xd9))/0xa;if(_0x5b923c===_0x1e31f6)break;else _0x290088['push'](_0x290088['shift']());}catch(_0x393457){_0x290088['push'](_0x290088['shift']());}}}(_0x83bc,0x5c9ff));function _0x83bc(){const _0x6bb250=['items','label','children','set','Prompt\x20history','execute','_createClearHistoryButton','120vITnVk','1929908CETFPq','add','105863UXGNbx','1332835hFTUjt','5857140HRIciF','Clear','29364ldoyJP','4EehqUd','5067gQrKfU','historyGroupView','delegate','clearHistoryButton','6288PPlDxp','locale','length','fire','clearHistory','322515FLdcJb','filter'];_0x83bc=function(){return _0x6bb250;};return _0x83bc();}import{ListView as _0x19a6fb,ListItemGroupView as _0xfae8a8,ButtonView as _0x9e423d}from'ckeditor5/src/ui.js';import{getTranslation as _0x461222}from'../../utils/common-translations.js';export default class hs extends _0x19a6fb{constructor(_0x541633){const _0xdf040e=_0xab81;super(_0x541633),this[_0xdf040e(0xe0)]=this[_0xdf040e(0xd3)](),this[_0xdf040e(0xde)]=new _0xfae8a8(),this[_0xdf040e(0xde)][_0xdf040e(0xea)][_0xdf040e(0xd6)](this[_0xdf040e(0xe0)],0x1),this[_0xdf040e(0xde)][_0xdf040e(0xe9)]=_0x461222(_0x541633,_0xdf040e(0xd1)),this[_0xdf040e(0xde)][_0xdf040e(0xe8)][_0xdf040e(0xdf)](_0xdf040e(0xd2))['to'](this),this[_0xdf040e(0xe8)][_0xdf040e(0xd6)](this[_0xdf040e(0xde)]);}[_0x1f45f7(0xe7)](){const _0x5b3988=_0x1f45f7;let _0x261752=0x0;for(const _0x45d13b of this[_0x5b3988(0xe8)])_0x261752+=_0x45d13b[_0x5b3988(0xe8)][_0x5b3988(0xe3)];return{'resultsCount':_0x261752,'totalItemsCount':_0x261752};}[_0x1f45f7(0xd3)](){const _0x355b47=_0x1f45f7,_0x463eae=this[_0x355b47(0xe2)],_0xa34625=new _0x9e423d(this[_0x355b47(0xe2)]);return _0xa34625[_0x355b47(0xeb)]({'label':'('+_0x461222(_0x463eae,_0x355b47(0xda))+')','withText':!0x0}),_0xa34625['on'](_0x355b47(0xd2),()=>this[_0x355b47(0xe4)](_0x355b47(0xe5))),_0xa34625;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x235fa7=_0xc9f4;(function(_0x431f02,_0x11605a){const _0x49384e=_0xc9f4,_0x17b3a7=_0x431f02();while(!![]){try{const _0x13ecc3=parseInt(_0x49384e(0x1ba))/0x1+parseInt(_0x49384e(0x1ab))/0x2*(-parseInt(_0x49384e(0x1a2))/0x3)+parseInt(_0x49384e(0x1b0))/0x4*(parseInt(_0x49384e(0x1a1))/0x5)+-parseInt(_0x49384e(0x1b4))/0x6+-parseInt(_0x49384e(0x1ac))/0x7+-parseInt(_0x49384e(0x1ae))/0x8*(parseInt(_0x49384e(0x1b9))/0x9)+parseInt(_0x49384e(0x1a9))/0xa;if(_0x13ecc3===_0x11605a)break;else _0x17b3a7['push'](_0x17b3a7['shift']());}catch(_0xb8a60c){_0x17b3a7['push'](_0x17b3a7['shift']());}}}(_0xc829,0xa9323));import{Collection as _0x3bdb75}from'ckeditor5/src/utils.js';function _0xc829(){const _0x4fb992=['map','toLowerCase','last','CKEditor/AIFormView/PromptHistory','10502470iNEZYm','length','1321274qQvIUt','2392957XgxuRk','_loadFromSessionStorage','56nEETrY','prompt','116ySsDgS','stringify','addMany','setItem','553524ooTtBM','remove','trim','add','_saveToSessionStorage','718686TZIXdT','1046868HmMCvh','43040LqDhDV','3hseGAs','parse','getItem'];_0xc829=function(){return _0x4fb992;};return _0xc829();}const cs=_0x235fa7(0x1a8);function _0xc9f4(_0x46f5b1,_0x2c5e3b){const _0xc829ea=_0xc829();return _0xc9f4=function(_0xc9f4ec,_0x3a6c8b){_0xc9f4ec=_0xc9f4ec-0x1a1;let _0x3f189a=_0xc829ea[_0xc9f4ec];return _0x3f189a;},_0xc9f4(_0x46f5b1,_0x2c5e3b);}export default class os extends _0x3bdb75{constructor(){const _0x235ba3=_0x235fa7;super(),this[_0x235ba3(0x1ad)](),this['on'](_0x235ba3(0x1b7),(_0x2f4939,_0x443d1c)=>{const _0x37de75=_0x235ba3,_0x270ed3=Ss(_0x443d1c[_0x37de75(0x1af)]);for(const _0xa98528 of this)if(_0xa98528!=_0x443d1c&&Ss(_0xa98528[_0x37de75(0x1af)])===_0x270ed3){this[_0x37de75(0x1b5)](_0xa98528);break;}this[_0x37de75(0x1aa)]>0x14&&this[_0x37de75(0x1b5)](this[_0x37de75(0x1a7)]),this[_0x37de75(0x1b8)]();}),this['on'](_0x235ba3(0x1b5),()=>{const _0x24acdf=_0x235ba3;this[_0x24acdf(0x1b8)]();});}[_0x235fa7(0x1ad)](){const _0x146527=_0x235fa7,_0x128bd4=sessionStorage[_0x146527(0x1a4)](cs)||'[]';this[_0x146527(0x1b2)](JSON[_0x146527(0x1a3)](_0x128bd4));}[_0x235fa7(0x1b8)](){const _0x12b5a6=_0x235fa7;sessionStorage[_0x12b5a6(0x1b3)](cs,JSON[_0x12b5a6(0x1b1)](this[_0x12b5a6(0x1a5)](_0x57ffa4=>_0x57ffa4)));}}function Ss(_0x178caa){const _0x837f51=_0x235fa7;return _0x178caa[_0x837f51(0x1a6)]()[_0x837f51(0x1b6)]();}
23
+ function _0x30f2(){const _0x299d8e=['10tTFLSz','addMany','toLowerCase','length','1714224TZvuiz','map','7JoyooY','22LUbDHz','getItem','last','parse','_saveToSessionStorage','738MagVth','remove','10108GiTXtP','4327921iWGfpc','stringify','setItem','CKEditor/AIFormView/PromptHistory','4535505rVYDDT','prompt','trim','3497160MXkIXk','_loadFromSessionStorage','111JDnrao','4272152WdVfEo','add','5YCdVJF','136Oxwped'];_0x30f2=function(){return _0x299d8e;};return _0x30f2();}const _0x3b11f5=_0xe88f;(function(_0x498262,_0x7fb404){const _0x4c8c2f=_0xe88f,_0x27e099=_0x498262();while(!![]){try{const _0x425cbc=parseInt(_0x4c8c2f(0x86))/0x1*(parseInt(_0x4c8c2f(0x8a))/0x2)+-parseInt(_0x4c8c2f(0x7a))/0x3*(-parseInt(_0x4c8c2f(0x7c))/0x4)+parseInt(_0x4c8c2f(0x89))/0x5*(-parseInt(_0x4c8c2f(0x84))/0x6)+parseInt(_0x4c8c2f(0x74))/0x7*(-parseInt(_0x4c8c2f(0x87))/0x8)+-parseInt(_0x4c8c2f(0x81))/0x9*(-parseInt(_0x4c8c2f(0x6e))/0xa)+parseInt(_0x4c8c2f(0x75))/0xb*(parseInt(_0x4c8c2f(0x72))/0xc)+parseInt(_0x4c8c2f(0x7d))/0xd;if(_0x425cbc===_0x7fb404)break;else _0x27e099['push'](_0x27e099['shift']());}catch(_0x57e6a1){_0x27e099['push'](_0x27e099['shift']());}}}(_0x30f2,0x9affd));import{Collection as _0x20548f}from'ckeditor5/src/utils.js';function _0xe88f(_0x1e9e8a,_0x577a74){const _0x30f2ac=_0x30f2();return _0xe88f=function(_0xe88f8d,_0x56cf45){_0xe88f8d=_0xe88f8d-0x6e;let _0x57f3ef=_0x30f2ac[_0xe88f8d];return _0x57f3ef;},_0xe88f(_0x1e9e8a,_0x577a74);}const Ss=_0x3b11f5(0x80);export default class ns extends _0x20548f{constructor(){const _0x4664c5=_0x3b11f5;super(),this[_0x4664c5(0x85)](),this['on'](_0x4664c5(0x88),(_0x437b6a,_0x1b058f)=>{const _0x5329e4=_0x4664c5,_0x5e0865=ds(_0x1b058f[_0x5329e4(0x82)]);for(const _0x4c875b of this)if(_0x4c875b!=_0x1b058f&&ds(_0x4c875b[_0x5329e4(0x82)])===_0x5e0865){this[_0x5329e4(0x7b)](_0x4c875b);break;}this[_0x5329e4(0x71)]>0x14&&this[_0x5329e4(0x7b)](this[_0x5329e4(0x77)]),this[_0x5329e4(0x79)]();}),this['on'](_0x4664c5(0x7b),()=>{const _0x57e651=_0x4664c5;this[_0x57e651(0x79)]();});}[_0x3b11f5(0x85)](){const _0x269b25=_0x3b11f5,_0x3e791c=sessionStorage[_0x269b25(0x76)](Ss)||'[]';this[_0x269b25(0x6f)](JSON[_0x269b25(0x78)](_0x3e791c));}[_0x3b11f5(0x79)](){const _0x1bd728=_0x3b11f5;sessionStorage[_0x1bd728(0x7f)](Ss,JSON[_0x1bd728(0x7e)](this[_0x1bd728(0x73)](_0x1275fc=>_0x1275fc)));}}function ds(_0x33facd){const _0xe3eb13=_0x3b11f5;return _0x33facd[_0xe3eb13(0x70)]()[_0xe3eb13(0x83)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e87f9=_0x5a7e;(function(_0xb99567,_0x13c0e3){const _0x5bf779=_0x5a7e,_0x2e6035=_0xb99567();while(!![]){try{const _0x4ecc5f=-parseInt(_0x5bf779(0x1d0))/0x1*(-parseInt(_0x5bf779(0x1aa))/0x2)+-parseInt(_0x5bf779(0x1c4))/0x3*(-parseInt(_0x5bf779(0x1bc))/0x4)+parseInt(_0x5bf779(0x1cd))/0x5+parseInt(_0x5bf779(0x1d7))/0x6*(-parseInt(_0x5bf779(0x1c9))/0x7)+parseInt(_0x5bf779(0x1cc))/0x8*(parseInt(_0x5bf779(0x1d6))/0x9)+-parseInt(_0x5bf779(0x1c7))/0xa*(-parseInt(_0x5bf779(0x1ae))/0xb)+-parseInt(_0x5bf779(0x1c8))/0xc*(parseInt(_0x5bf779(0x1c5))/0xd);if(_0x4ecc5f===_0x13c0e3)break;else _0x2e6035['push'](_0x2e6035['shift']());}catch(_0x49a287){_0x2e6035['push'](_0x2e6035['shift']());}}}(_0x5c33,0x31b08));import{Command as _0x1b668e}from'ckeditor5/src/core.js';import _0x54de27 from'../aiassistantui.js';export default class j extends _0x1b668e{constructor(_0x1cd4d9,_0x217062){const _0x1dd0ec=_0x5a7e;super(_0x1cd4d9),this[_0x1dd0ec(0x1b5)]=_0x217062?_0x217062[_0x1dd0ec(0x1b2)]((_0x2a67e4,_0x34b7e9)=>_0x2a67e4[_0x1dd0ec(0x1c0)](_0x34b7e9[_0x1dd0ec(0x1cb)]),new Array()):[],this[_0x1dd0ec(0x1bd)](_0x1dd0ec(0x1c3),[]),this['on'](_0x1dd0ec(0x1b1),(_0x168b4c,_0xa40add,_0x155d3e)=>{const _0x520fa4=_0x1dd0ec;this[_0x520fa4(0x1ce)]&&(this[_0x520fa4(0x1c3)]=K(this[_0x520fa4(0x1b5)],_0x155d3e));}),this[_0x1dd0ec(0x1bd)](_0x1dd0ec(0x1b8),!0x1),this['on'](_0x1dd0ec(0x1c2),(_0x15a1b3,_0x24fcc8,_0x327772)=>{const _0x60c5f3=_0x1dd0ec;this[_0x60c5f3(0x1c3)]=_0x327772?K(this[_0x60c5f3(0x1b5)],this[_0x60c5f3(0x1b8)]):[];});}[_0x4e87f9(0x1ad)](){const _0x3aa3c7=_0x4e87f9,_0x59b8f7=this[_0x3aa3c7(0x1bf)][_0x3aa3c7(0x1c1)];this[_0x3aa3c7(0x1b8)]=function(_0x3ddb1a){const _0x10edb1=_0x3aa3c7,_0x87edcb=_0x3ddb1a[_0x10edb1(0x1af)][_0x10edb1(0x1b4)];return _0x87edcb[_0x10edb1(0x1ab)]?0x0!==[..._0x87edcb[_0x10edb1(0x1b9)]()][_0x10edb1(0x1d2)]&&![..._0x87edcb[_0x10edb1(0x1b9)]()][0x0][_0x10edb1(0x1d8)]:!!_0x3ddb1a[_0x10edb1(0x1b7)](_0x87edcb[_0x10edb1(0x1ba)]());}(_0x59b8f7);const _0x14d9d2=_0x59b8f7[_0x3aa3c7(0x1af)][_0x3aa3c7(0x1b4)],_0x5569a2=this[_0x3aa3c7(0x1bf)][_0x3aa3c7(0x1d3)][_0x3aa3c7(0x1d4)](_0x3aa3c7(0x1b6));for(const _0x4dace8 of _0x14d9d2[_0x3aa3c7(0x1a9)]())for(const _0x1469d6 of _0x4dace8[_0x3aa3c7(0x1ac)]())if(_0x1469d6['is'](_0x3aa3c7(0x1d1))&&_0x5569a2[_0x3aa3c7(0x1be)](_0x1469d6[_0x3aa3c7(0x1c6)]))return void(this[_0x3aa3c7(0x1ce)]=!0x1);this[_0x3aa3c7(0x1ce)]=!0x0;}[_0x4e87f9(0x1b0)](_0x3d218b='',_0x405c26='',_0x2254ff=_0x4e87f9(0x1ca)){const _0x330e6a=_0x4e87f9;this[_0x330e6a(0x1bf)][_0x330e6a(0x1a8)][_0x330e6a(0x1d4)](_0x54de27)[_0x330e6a(0x1d5)](_0x3d218b,_0x405c26,_0x2254ff);}}function K(_0x3e57aa,_0x39d46c){const _0x2c5c47=_0x4e87f9,_0x1de5b0=new Set();for(const _0x178aeb of _0x3e57aa)(_0x39d46c||!0x1===_0x178aeb[_0x2c5c47(0x1bb)])&&_0x1de5b0[_0x2c5c47(0x1b3)](_0x178aeb['id']);return Array[_0x2c5c47(0x1cf)](_0x1de5b0);}function _0x5a7e(_0x3df9ec,_0xaba1eb){const _0x5c33c6=_0x5c33();return _0x5a7e=function(_0x5a7e13,_0x18d6a9){_0x5a7e13=_0x5a7e13-0x1a8;let _0x12914f=_0x5c33c6[_0x5a7e13];return _0x12914f;},_0x5a7e(_0x3df9ec,_0xaba1eb);}function _0x5c33(){const _0x10fe95=['commands','1593272QAIzPz','638250wRPodv','isEnabled','from','70459ZpOZrn','element','length','config','get','showUI','9yMkUIk','30rQEYlX','isEmpty','plugins','getRanges','2igbNmA','isCollapsed','getItems','refresh','11plPrpe','document','execute','change:_hasContext','reduce','add','selection','_commandDefinitions','ai.aiAssistant.disabledElements','hasContent','_hasContext','getSelectedBlocks','getFirstRange','requiresContent','12gtIwKK','set','includes','editor','concat','model','change:isEnabled','enabledCommandsIds','370665SWnjUK','8023847CSaejg','name','1478690mBSqif','12HcWtTY','133077auslTL','custom'];_0x5c33=function(){return _0x10fe95;};return _0x5c33();}
23
+ const _0x2fec9e=_0x3a57;(function(_0x5725b5,_0x5f34f0){const _0x249b61=_0x3a57,_0x300b0d=_0x5725b5();while(!![]){try{const _0x411bc6=parseInt(_0x249b61(0xef))/0x1*(-parseInt(_0x249b61(0xf8))/0x2)+-parseInt(_0x249b61(0xfc))/0x3*(-parseInt(_0x249b61(0xe0))/0x4)+parseInt(_0x249b61(0xf5))/0x5+parseInt(_0x249b61(0x103))/0x6*(parseInt(_0x249b61(0xe3))/0x7)+-parseInt(_0x249b61(0xff))/0x8*(-parseInt(_0x249b61(0xdd))/0x9)+-parseInt(_0x249b61(0xe9))/0xa+-parseInt(_0x249b61(0x105))/0xb;if(_0x411bc6===_0x5f34f0)break;else _0x300b0d['push'](_0x300b0d['shift']());}catch(_0x5ba4a9){_0x300b0d['push'](_0x300b0d['shift']());}}}(_0x52db,0xc325c));function _0x52db(){const _0x33f63a=['document','model','custom','_hasContext','includes','108zboDaX','from','getSelectedBlocks','4JZIPIt','editor','change:_hasContext','35GdtpXK','name','getRanges','set','execute','reduce','1253280XQmsdj','plugins','concat','getFirstRange','length','_commandDefinitions','297654SHroFu','commands','selection','add','showUI','requiresContent','6153985MjNKuf','hasContent','element','8LwQXPe','enabledCommandsIds','change:isEnabled','isEmpty','184629TheiOc','ai.aiAssistant.disabledElements','getItems','960888AnlZFG','get','config','isCollapsed','572586gekjCF','refresh','12051149fSlwZX','isEnabled'];_0x52db=function(){return _0x33f63a;};return _0x52db();}import{Command as _0x132e0b}from'ckeditor5/src/core.js';import _0x224b27 from'../aiassistantui.js';export default class x extends _0x132e0b{constructor(_0x5cfbda,_0x34100c){const _0x17ebec=_0x3a57;super(_0x5cfbda),this[_0x17ebec(0xee)]=_0x34100c?_0x34100c[_0x17ebec(0xe8)]((_0x5073e4,_0x5dbad0)=>_0x5073e4[_0x17ebec(0xeb)](_0x5dbad0[_0x17ebec(0xf0)]),new Array()):[],this[_0x17ebec(0xe6)](_0x17ebec(0xf9),[]),this['on'](_0x17ebec(0xe2),(_0x21b6d2,_0x1b6879,_0x520fe2)=>{const _0x221f71=_0x17ebec;this[_0x221f71(0x106)]&&(this[_0x221f71(0xf9)]=K(this[_0x221f71(0xee)],_0x520fe2));}),this[_0x17ebec(0xe6)](_0x17ebec(0xdb),!0x1),this['on'](_0x17ebec(0xfa),(_0x2f814a,_0x1c9239,_0x338e60)=>{const _0x2439c2=_0x17ebec;this[_0x2439c2(0xf9)]=_0x338e60?K(this[_0x2439c2(0xee)],this[_0x2439c2(0xdb)]):[];});}[_0x2fec9e(0x104)](){const _0x1716f1=_0x2fec9e,_0x8288a4=this[_0x1716f1(0xe1)][_0x1716f1(0xd9)];this[_0x1716f1(0xdb)]=function(_0x297b7d){const _0x2ee6a8=_0x1716f1,_0x2dd634=_0x297b7d[_0x2ee6a8(0x107)][_0x2ee6a8(0xf1)];return _0x2dd634[_0x2ee6a8(0x102)]?0x0!==[..._0x2dd634[_0x2ee6a8(0xdf)]()][_0x2ee6a8(0xed)]&&![..._0x2dd634[_0x2ee6a8(0xdf)]()][0x0][_0x2ee6a8(0xfb)]:!!_0x297b7d[_0x2ee6a8(0xf6)](_0x2dd634[_0x2ee6a8(0xec)]());}(_0x8288a4);const _0x196f7f=_0x8288a4[_0x1716f1(0x107)][_0x1716f1(0xf1)],_0x3698d4=this[_0x1716f1(0xe1)][_0x1716f1(0x101)][_0x1716f1(0x100)](_0x1716f1(0xfd));for(const _0x5c1583 of _0x196f7f[_0x1716f1(0xe5)]())for(const _0x4a6fbd of _0x5c1583[_0x1716f1(0xfe)]())if(_0x4a6fbd['is'](_0x1716f1(0xf7))&&_0x3698d4[_0x1716f1(0xdc)](_0x4a6fbd[_0x1716f1(0xe4)]))return void(this[_0x1716f1(0x106)]=!0x1);this[_0x1716f1(0x106)]=!0x0;}[_0x2fec9e(0xe7)](_0x4ebf8e='',_0x28b0ce='',_0x49f46c=_0x2fec9e(0xda)){const _0x6ccb2=_0x2fec9e;this[_0x6ccb2(0xe1)][_0x6ccb2(0xea)][_0x6ccb2(0x100)](_0x224b27)[_0x6ccb2(0xf3)](_0x4ebf8e,_0x28b0ce,_0x49f46c);}}function _0x3a57(_0x44ec3c,_0x348d72){const _0x52db0d=_0x52db();return _0x3a57=function(_0x3a5703,_0x506fb7){_0x3a5703=_0x3a5703-0xd9;let _0x4616c1=_0x52db0d[_0x3a5703];return _0x4616c1;},_0x3a57(_0x44ec3c,_0x348d72);}function K(_0x1ea696,_0xc5fcbb){const _0xc37410=_0x2fec9e,_0x177e37=new Set();for(const _0x36f0e7 of _0x1ea696)(_0xc5fcbb||!0x1===_0x36f0e7[_0xc37410(0xf4)])&&_0x177e37[_0xc37410(0xf2)](_0x36f0e7['id']);return Array[_0xc37410(0xde)](_0x177e37);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x458209,_0x53dd5e,_0x2b41c0){const t=_0x458209['t'];switch(_0x53dd5e){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',_0x2b41c0);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',_0x2b41c0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2b41c0);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'},_0x2b41c0);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 _0x53dd5e;}}
23
+ export function getTranslation(_0x396f4d,_0x548f73,_0x5ebee0){const t=_0x396f4d['t'];switch(_0x548f73){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'%0\x20commands\x20found':return t('%0\x20commands\x20found',_0x5ebee0);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',_0x5ebee0);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',_0x5ebee0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5ebee0);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'},_0x5ebee0);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 _0x548f73;}}
@@ -1,33 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module ai/ui/buttonlabelwithhighlightview
11
- */
12
- import { type ButtonLabel, HighlightedTextView } from 'ckeditor5/src/ui.js';
13
- /**
14
- * A button label view that can highlight a text fragment.
15
- */
16
- export default class ButtonLabelWithHighlightView extends HighlightedTextView implements ButtonLabel {
17
- /**
18
- * @inheritDoc
19
- */
20
- style: string | undefined;
21
- /**
22
- * @inheritDoc
23
- */
24
- text: string | undefined;
25
- /**
26
- * @inheritDoc
27
- */
28
- id: string | undefined;
29
- /**
30
- * @inheritDoc
31
- */
32
- constructor();
33
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module ai/ui/labelwithhighlightview
11
- */
12
- import { type LabelView, HighlightedTextView } from 'ckeditor5/src/ui.js';
13
- /**
14
- * A label view that can highlight a text fragment.
15
- */
16
- export default class LabelWithHighlightView extends HighlightedTextView implements LabelView {
17
- /**
18
- * @inheritDoc
19
- */
20
- readonly id: string;
21
- /**
22
- * @inheritDoc
23
- */
24
- for: string | undefined;
25
- /**
26
- * @inheritDoc
27
- */
28
- constructor();
29
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module ai/ui/buttonlabelwithhighlightview
7
- */
8
- import { type ButtonLabel, HighlightedTextView } from 'ckeditor5/src/ui.js';
9
- /**
10
- * A button label view that can highlight a text fragment.
11
- */
12
- export default class ButtonLabelWithHighlightView extends HighlightedTextView implements ButtonLabel {
13
- /**
14
- * @inheritDoc
15
- */
16
- style: string | undefined;
17
- /**
18
- * @inheritDoc
19
- */
20
- text: string | undefined;
21
- /**
22
- * @inheritDoc
23
- */
24
- id: string | undefined;
25
- /**
26
- * @inheritDoc
27
- */
28
- constructor();
29
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x3294(_0x3ad33a,_0x566d5e){const _0x359e83=_0x359e();return _0x3294=function(_0x32941b,_0x29a4d1){_0x32941b=_0x32941b-0x1ec;let _0x118be1=_0x359e83[_0x32941b];return _0x118be1;},_0x3294(_0x3ad33a,_0x566d5e);}function _0x359e(){const _0x3210e8=['567vrWqev','ck-button__label','7REKbsR','73rzQRjR','7348847fNHKEm','2963528ahrrFm','2090046jiFOFk','extendTemplate','2978736cDTzav','40665BCYSAY','7118yFCSnk','86980YPNYBg','212FUuxCt','set','bindTemplate','24hYGoEI','style'];_0x359e=function(){return _0x3210e8;};return _0x359e();}(function(_0x5b58e8,_0x2994b6){const _0x35eb4d=_0x3294,_0x2c155c=_0x5b58e8();while(!![]){try{const _0x370f99=-parseInt(_0x35eb4d(0x1ee))/0x1*(parseInt(_0x35eb4d(0x1f5))/0x2)+-parseInt(_0x35eb4d(0x1f1))/0x3+parseInt(_0x35eb4d(0x1f7))/0x4*(-parseInt(_0x35eb4d(0x1f4))/0x5)+-parseInt(_0x35eb4d(0x1f3))/0x6+parseInt(_0x35eb4d(0x1ed))/0x7*(parseInt(_0x35eb4d(0x1f0))/0x8)+parseInt(_0x35eb4d(0x1fc))/0x9*(parseInt(_0x35eb4d(0x1f6))/0xa)+parseInt(_0x35eb4d(0x1ef))/0xb*(parseInt(_0x35eb4d(0x1fa))/0xc);if(_0x370f99===_0x2994b6)break;else _0x2c155c['push'](_0x2c155c['shift']());}catch(_0xba7cca){_0x2c155c['push'](_0x2c155c['shift']());}}}(_0x359e,0x5a78f));import{HighlightedTextView as _0x60708a}from'ckeditor5/src/ui.js';export default class N extends _0x60708a{constructor(){const _0x4f7c2e=_0x3294;super(),this[_0x4f7c2e(0x1f8)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x157b9e=this[_0x4f7c2e(0x1f9)];this[_0x4f7c2e(0x1f2)]({'attributes':{'class':[_0x4f7c2e(0x1ec)],'style':_0x157b9e['to'](_0x4f7c2e(0x1fb)),'id':_0x157b9e['to']('id')}});}}
@@ -1,25 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module ai/ui/labelwithhighlightview
7
- */
8
- import { type LabelView, HighlightedTextView } from 'ckeditor5/src/ui.js';
9
- /**
10
- * A label view that can highlight a text fragment.
11
- */
12
- export default class LabelWithHighlightView extends HighlightedTextView implements LabelView {
13
- /**
14
- * @inheritDoc
15
- */
16
- readonly id: string;
17
- /**
18
- * @inheritDoc
19
- */
20
- for: string | undefined;
21
- /**
22
- * @inheritDoc
23
- */
24
- constructor();
25
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x46be(_0x2e92de,_0x4c3fd7){const _0x24ab79=_0x24ab();return _0x46be=function(_0x46be8b,_0x8e099b){_0x46be8b=_0x46be8b-0x1c8;let _0x56bbd8=_0x24ab79[_0x46be8b];return _0x56bbd8;},_0x46be(_0x2e92de,_0x4c3fd7);}(function(_0x371eef,_0xb35a5a){const _0x921102=_0x46be,_0x44a94f=_0x371eef();while(!![]){try{const _0x1f77a1=parseInt(_0x921102(0x1d6))/0x1+-parseInt(_0x921102(0x1c8))/0x2+-parseInt(_0x921102(0x1d1))/0x3*(-parseInt(_0x921102(0x1d0))/0x4)+-parseInt(_0x921102(0x1cd))/0x5+-parseInt(_0x921102(0x1d7))/0x6*(-parseInt(_0x921102(0x1cf))/0x7)+parseInt(_0x921102(0x1d3))/0x8*(parseInt(_0x921102(0x1d2))/0x9)+-parseInt(_0x921102(0x1cb))/0xa;if(_0x1f77a1===_0xb35a5a)break;else _0x44a94f['push'](_0x44a94f['shift']());}catch(_0x1613cb){_0x44a94f['push'](_0x44a94f['shift']());}}}(_0x24ab,0xdc0f3));import{HighlightedTextView as _0x49326c}from'ckeditor5/src/ui.js';function _0x24ab(){const _0x2888f1=['872478tJetxZ','798812kqTAUo','ck-editor__label_','ck-label','2105300aVeUzD','bindTemplate','3037730KyGRtD','for','7EbNMCj','13268AZwcGu','831WMEvTx','4254813RrohVO','8hlQgML','extendTemplate','set','581866Szkrbf'];_0x24ab=function(){return _0x2888f1;};return _0x24ab();}import{uid as _0x33eadb}from'ckeditor5/src/utils.js';export default class S extends _0x49326c{constructor(){const _0x28b6be=_0x46be;super(),this[_0x28b6be(0x1d5)](_0x28b6be(0x1ce),void 0x0);const _0x3f4be2=this[_0x28b6be(0x1cc)];this['id']=_0x28b6be(0x1c9)+_0x33eadb(),this[_0x28b6be(0x1d4)]({'attributes':{'class':['ck',_0x28b6be(0x1ca)],'id':this['id'],'for':_0x3f4be2['to'](_0x28b6be(0x1ce))}});}}