@ckeditor/ckeditor5-ai 42.0.0-alpha.22 → 42.0.0-alpha.23

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 (132) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sr-latn.js +1 -1
  83. package/dist/translations/sr-latn.umd.js +1 -1
  84. package/dist/translations/sr.js +1 -1
  85. package/dist/translations/sr.umd.js +1 -1
  86. package/dist/translations/sv.js +1 -1
  87. package/dist/translations/sv.umd.js +1 -1
  88. package/dist/translations/th.js +1 -1
  89. package/dist/translations/th.umd.js +1 -1
  90. package/dist/translations/ti.js +1 -1
  91. package/dist/translations/ti.umd.js +1 -1
  92. package/dist/translations/tk.js +1 -1
  93. package/dist/translations/tk.umd.js +1 -1
  94. package/dist/translations/tr.js +1 -1
  95. package/dist/translations/tr.umd.js +1 -1
  96. package/dist/translations/ug.js +1 -1
  97. package/dist/translations/ug.umd.js +1 -1
  98. package/dist/translations/uk.js +1 -1
  99. package/dist/translations/uk.umd.js +1 -1
  100. package/dist/translations/ur.js +1 -1
  101. package/dist/translations/ur.umd.js +1 -1
  102. package/dist/translations/uz.js +1 -1
  103. package/dist/translations/uz.umd.js +1 -1
  104. package/dist/translations/vi.js +1 -1
  105. package/dist/translations/vi.umd.js +1 -1
  106. package/dist/translations/zh-cn.js +1 -1
  107. package/dist/translations/zh-cn.umd.js +1 -1
  108. package/dist/translations/zh.js +1 -1
  109. package/dist/translations/zh.umd.js +1 -1
  110. package/package.json +4 -4
  111. package/src/adapters/aiadapter.js +1 -1
  112. package/src/adapters/aitextadapter.js +1 -1
  113. package/src/adapters/awstextadapter.js +1 -1
  114. package/src/adapters/openaitextadapter.js +1 -1
  115. package/src/aiassistant.js +1 -1
  116. package/src/aiassistantediting.js +1 -1
  117. package/src/aiassistantui.js +1 -1
  118. package/src/index.js +1 -1
  119. package/src/ui/aiassistantcontroller.js +2 -2
  120. package/src/ui/dropdown/aicommandslistview.js +1 -1
  121. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  122. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  123. package/src/ui/form/aiformcontentarea.js +1 -1
  124. package/src/ui/form/aiformerrorview.js +1 -1
  125. package/src/ui/form/aiformpromptview.js +1 -1
  126. package/src/ui/form/aiformtoolbarview.js +1 -1
  127. package/src/ui/form/aiformview.js +1 -1
  128. package/src/ui/form/aihistorylistitemview.js +1 -1
  129. package/src/ui/form/aihistorylistview.js +1 -1
  130. package/src/ui/form/prompthistory.js +1 -1
  131. package/src/ui/showaiassistantcommand.js +1 -1
  132. package/src/utils/common-translations.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdaafd4=_0x5c06;function _0x5c06(_0x3ec7f1,_0x10f7c0){const _0x3a24f6=_0x3a24();return _0x5c06=function(_0x5c06e3,_0x307d4b){_0x5c06e3=_0x5c06e3-0xdc;let _0x5986bd=_0x3a24f6[_0x5c06e3];return _0x5986bd;},_0x5c06(_0x3ec7f1,_0x10f7c0);}(function(_0x4a9317,_0x3f0b7c){const _0x5a0f01=_0x5c06,_0x27ecab=_0x4a9317();while(!![]){try{const _0x46e996=parseInt(_0x5a0f01(0x11f))/0x1+parseInt(_0x5a0f01(0x106))/0x2+parseInt(_0x5a0f01(0x130))/0x3+parseInt(_0x5a0f01(0x128))/0x4*(-parseInt(_0x5a0f01(0xfb))/0x5)+-parseInt(_0x5a0f01(0x137))/0x6*(-parseInt(_0x5a0f01(0x118))/0x7)+parseInt(_0x5a0f01(0x119))/0x8+parseInt(_0x5a0f01(0xe9))/0x9*(-parseInt(_0x5a0f01(0xfc))/0xa);if(_0x46e996===_0x3f0b7c)break;else _0x27ecab['push'](_0x27ecab['shift']());}catch(_0x1dc180){_0x27ecab['push'](_0x27ecab['shift']());}}}(_0x3a24,0x47b93));import{ObservableMixin as _0x240a50}from'ckeditor5/src/utils.js';import{AIRequestError as _0x185e39}from'../adapters/aiadapter.js';function _0x3a24(){const _0x34f421=['catch','value','323073eYmwNb','element','finishProcessing','_sanitizationContainer','toModel','nodeType','initialContext','2478DpUDRE','reverse','<h1></h1>','exec','submitPrompt','destroy','_isH1TagSupportEnabled','querySelector','document','_parseAndNormalizeContent','_domParser','rename','serializeToString','innerHTML','div','body','view','735309NVMMZY','message','_handleQuery','render','_stripMarkdownSyntax','processor','substring','childNodes','text/html','data','isProcessing','endsWith','stringify','length','currentResponse','previousContext','previousActionId','abort','214105PqKjdX','70ifUKaG','```html','editing','name','once','updateView','textAdapter','set:currentContext','tryAgainEvent','htmlProcessor','131676OUPFgY','ELEMENT_NODE','createElement','handleError','set','_xmlSerializer','prompt','mainAction','toView','custom','match','editor','stopProcessing','previousLabel','push','from','makeRequest','remove','8939ksDZIc','915936yTRmdT','stopListening','startsWith','isRendered','setContentOf','_normalizeResponseHeadings','135906aKwgND','_sanitizeHTML','finally','reset','then','parseFromString','viewToDom','previousQuery','currentContext','8cPTewp','trim','```','domConverter','startProcessing','listenTo'];_0x3a24=function(){return _0x34f421;};return _0x3a24();}import{Matcher as _0x345eb7,UpcastWriter as _0x3297a9}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
24
- _0x240a50(){constructor(_0x555597,_0x4618ac,_0x11e0da){const _0x23474c=_0x5c06;super(),this[_0x23474c(0x111)]=_0x555597,this[_0x23474c(0x102)]=_0x4618ac,this[_0x23474c(0x133)]=document[_0x23474c(0x108)](_0x23474c(0xe6)),this[_0x23474c(0xe2)]=new DOMParser(),this[_0x23474c(0x10b)]=new XMLSerializer(),this[_0x23474c(0xe8)]=_0x11e0da,this[_0x23474c(0x10a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x23474c(0x103),(_0x5e07df,_0x4dc5d3,_0x2d2785)=>{const _0xf1b6cf=_0x23474c;this[_0xf1b6cf(0xe8)][_0xf1b6cf(0x12f)]=this[_0xf1b6cf(0x120)](_0x2d2785);}),this[_0x23474c(0x12d)](this[_0x23474c(0xe8)],_0x23474c(0xdc),(_0x36bff7,_0x17de7e)=>{const _0x1cee40=_0x23474c,_0x3fdd3c=this[_0x1cee40(0x127)]||this[_0x1cee40(0x136)];this[_0x1cee40(0xeb)](_0x17de7e,_0x3fdd3c,_0x1cee40(0x10f));}),this[_0x23474c(0x12d)](this[_0x23474c(0xe8)],_0x23474c(0x104),()=>{const _0x5215bc=_0x23474c;this[_0x5215bc(0xe8)][_0x5215bc(0x10c)]=this[_0x5215bc(0x113)],this[_0x5215bc(0xeb)](this[_0x5215bc(0x126)],this[_0x5215bc(0xf8)],this[_0x5215bc(0xf9)],this[_0x5215bc(0x113)]);}),this[_0x23474c(0x12d)](this[_0x23474c(0xe8)],_0x23474c(0x112),()=>{const _0x821c95=_0x23474c;this[_0x821c95(0x112)]();});}[_0xdaafd4(0xdd)](){const _0x25484a=_0xdaafd4;this[_0x25484a(0x11a)]();}async[_0xdaafd4(0x101)]({actionId:_0x34a367,query:_0x4d5f8a,htmlContent:_0x2a9c8c,label:_0x153a55,mainActionLabel:_0x3c601e}){const _0x50551f=_0xdaafd4;this[_0x50551f(0xe8)][_0x50551f(0x10c)]=_0x153a55,this[_0x50551f(0xe8)][_0x50551f(0x10d)]=_0x3c601e,this[_0x50551f(0x136)]=_0x2a9c8c,_0x4d5f8a&&(this[_0x50551f(0xe8)][_0x50551f(0x11c)]?this[_0x50551f(0xeb)](_0x4d5f8a,_0x2a9c8c,_0x34a367,_0x153a55):this[_0x50551f(0xe8)][_0x50551f(0x100)](_0x50551f(0xec),()=>{const _0x233dcd=_0x50551f;this[_0x233dcd(0xeb)](_0x4d5f8a,_0x2a9c8c,_0x34a367,_0x153a55);}));}[_0xdaafd4(0x112)](){const _0x270d79=_0xdaafd4;this[_0x270d79(0xf3)]&&(this[_0x270d79(0xf3)]=!0x1,this[_0x270d79(0xe8)][_0x270d79(0x132)](),this[_0x270d79(0x102)][_0x270d79(0xfa)]());}[_0xdaafd4(0x122)](){const _0xddf115=_0xdaafd4;this[_0xddf115(0x136)]='',this[_0xddf115(0x127)]='',this[_0xddf115(0xf7)]='',this[_0xddf115(0xf8)]='',this[_0xddf115(0x126)]='',this[_0xddf115(0x113)]='',this[_0xddf115(0xf9)]=void 0x0,this[_0xddf115(0xe8)][_0xddf115(0x122)](),this[_0xddf115(0x112)]();}async[_0xdaafd4(0xeb)](_0x3a2f5f,_0x35bcae,_0x347375,_0x2a54df){const _0x30590f=_0xdaafd4;return this[_0x30590f(0xf3)]=!0x0,this[_0x30590f(0xe8)][_0x30590f(0x12c)](),this[_0x30590f(0xf8)]=_0x35bcae,this[_0x30590f(0x126)]=_0x3a2f5f,this[_0x30590f(0x113)]=_0x2a54df||_0x3a2f5f,this[_0x30590f(0xf9)]=_0x347375,new Promise(_0x188018=>{const _0x5cefa7=_0x30590f;this[_0x5cefa7(0x102)][_0x5cefa7(0x116)]({'query':_0x3a2f5f,'context':_0x35bcae,'onData':_0x5b9067=>{const _0x31a1ca=_0x5cefa7;this[_0x31a1ca(0xf7)]=_0x5b9067,this[_0x31a1ca(0x127)]=this[_0x31a1ca(0xe1)](this[_0x31a1ca(0xf7)]);},'actionId':_0x347375})[_0x5cefa7(0x123)](()=>{const _0x42e0d8=_0x5cefa7;!this[_0x42e0d8(0x127)]&&this[_0x42e0d8(0xf7)]&&(this[_0x42e0d8(0x127)]=this[_0x42e0d8(0xe1)](this[_0x42e0d8(0xf7)],!0x0));})[_0x5cefa7(0x12e)](_0x1144eb=>{const _0x52fec4=_0x5cefa7;_0x1144eb instanceof _0x185e39?this[_0x52fec4(0xe8)][_0x52fec4(0x109)](_0x1144eb[_0x52fec4(0xea)]):this[_0x52fec4(0xe8)][_0x52fec4(0x109)](),_0x188018();})[_0x5cefa7(0x121)](()=>{const _0x2b3bbd=_0x5cefa7;this[_0x2b3bbd(0x112)](),_0x188018();});});}[_0xdaafd4(0xe1)](_0x29cb84,_0x1de222=!0x1){const _0x146fb1=_0xdaafd4,_0x53d23b=X[_0x146fb1(0x13a)](_0x29cb84);_0x29cb84=_0x53d23b?_0x29cb84[_0x146fb1(0xef)](_0x53d23b[0x1][_0x146fb1(0xf6)]):_0x29cb84[_0x146fb1(0xf6)]<0x64&&!_0x1de222?'':this[_0x146fb1(0xed)](_0x29cb84);const _0x5f1117=this[_0x146fb1(0xe2)][_0x146fb1(0x124)](_0x29cb84,_0x146fb1(0xf1));if(_0x53d23b){const _0x4165c7=Array[_0x146fb1(0x115)](_0x5f1117[_0x146fb1(0xe7)][_0x146fb1(0xf0)]);_0x4165c7[_0x146fb1(0x138)]();for(const _0xf69f9a of _0x4165c7){if(_0xf69f9a[_0x146fb1(0x135)]==Node[_0x146fb1(0x107)])break;_0xf69f9a[_0x146fb1(0x117)]();}}const _0x2ca33f=this[_0x146fb1(0x111)][_0x146fb1(0xf2)][_0x146fb1(0xee)][_0x146fb1(0x10e)](this[_0x146fb1(0x10b)][_0x146fb1(0xe4)](_0x5f1117[_0x146fb1(0xe7)]));return this[_0x146fb1(0xde)]()||this[_0x146fb1(0x11e)](_0x2ca33f),this[_0x146fb1(0x111)][_0x146fb1(0xf2)][_0x146fb1(0xf5)](this[_0x146fb1(0x111)][_0x146fb1(0xf2)][_0x146fb1(0x134)](_0x2ca33f));}[_0xdaafd4(0x11e)](_0x487bc5){const _0x1c1bd7=_0xdaafd4,_0x5a511a=new _0x3297a9(this[_0x1c1bd7(0x111)][_0x1c1bd7(0xfe)][_0x1c1bd7(0xe8)][_0x1c1bd7(0xe0)]),_0x4b95ca=new _0x345eb7({'name':/^h[1-5]$/}),_0x17e901=[];let _0x276295=!0x1;for(const _0x3b1ae2 of _0x487bc5)_0x3b1ae2['is'](_0x1c1bd7(0x131))&&_0x4b95ca[_0x1c1bd7(0x110)](_0x3b1ae2)&&(_0x17e901[_0x1c1bd7(0x114)](_0x3b1ae2),'h1'==_0x3b1ae2[_0x1c1bd7(0xff)]&&(_0x276295=!0x0));if(_0x276295){for(const _0x1df402 of _0x17e901)_0x5a511a[_0x1c1bd7(0xe3)]('h'+(parseInt(_0x1df402[_0x1c1bd7(0xff)][0x1])+0x1),_0x1df402);}}[_0xdaafd4(0xde)](){const _0x13e107=_0xdaafd4,{data:_0x3c79de,editing:_0x3cbfd6}=this[_0x13e107(0x111)],_0x2ad9e9=_0x3c79de[_0x13e107(0x105)][_0x13e107(0x10e)](_0x13e107(0x139)),_0x16d2eb=_0x3c79de[_0x13e107(0x10e)](_0x3c79de[_0x13e107(0x134)](_0x2ad9e9));return!!_0x3cbfd6[_0x13e107(0xe8)][_0x13e107(0x12b)][_0x13e107(0x125)](_0x16d2eb)[_0x13e107(0xdf)]('h1');}[_0xdaafd4(0x120)](_0x38df18){const _0x3b6bea=_0xdaafd4;return this[_0x3b6bea(0x111)][_0x3b6bea(0xfe)][_0x3b6bea(0xe8)][_0x3b6bea(0x12b)][_0x3b6bea(0x11d)](this[_0x3b6bea(0x133)],_0x38df18),this[_0x3b6bea(0x133)][_0x3b6bea(0xe5)];}[_0xdaafd4(0xed)](_0x3be088){const _0x63a622=_0xdaafd4,_0x6d92e9=_0x3be088[_0x63a622(0x129)]();return _0x6d92e9[_0x63a622(0x11b)](_0x63a622(0xfd))?_0x6d92e9[_0x63a622(0xf4)](_0x63a622(0x12a))?_0x6d92e9[_0x63a622(0xef)](0x7,_0x6d92e9[_0x63a622(0xf6)]-0x3):_0x6d92e9[_0x63a622(0xef)](0x7):_0x3be088;}}
23
+ const _0x31f7d5=_0x110d;(function(_0x2e02ee,_0x36ddf3){const _0x4e6c34=_0x110d,_0x573c4a=_0x2e02ee();while(!![]){try{const _0x1e9a24=-parseInt(_0x4e6c34(0x198))/0x1*(parseInt(_0x4e6c34(0x1aa))/0x2)+parseInt(_0x4e6c34(0x1af))/0x3+parseInt(_0x4e6c34(0x184))/0x4+-parseInt(_0x4e6c34(0x1df))/0x5+-parseInt(_0x4e6c34(0x19f))/0x6*(-parseInt(_0x4e6c34(0x19d))/0x7)+parseInt(_0x4e6c34(0x1b9))/0x8*(-parseInt(_0x4e6c34(0x1a7))/0x9)+parseInt(_0x4e6c34(0x1cd))/0xa*(parseInt(_0x4e6c34(0x1ab))/0xb);if(_0x1e9a24===_0x36ddf3)break;else _0x573c4a['push'](_0x573c4a['shift']());}catch(_0x4c8b87){_0x573c4a['push'](_0x573c4a['shift']());}}}(_0x4876,0xf2d84));import{ObservableMixin as _0x3e08d6}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3aaea6}from'../adapters/aiadapter.js';function _0x110d(_0x2fa5ee,_0x40d2ad){const _0x487618=_0x4876();return _0x110d=function(_0x110de8,_0x548ce5){_0x110de8=_0x110de8-0x182;let _0x1728cd=_0x487618[_0x110de8];return _0x1728cd;},_0x110d(_0x2fa5ee,_0x40d2ad);}import{Matcher as _0x4bd937,UpcastWriter as _0x3e33ba}from'ckeditor5/src/engine.js';function _0x4876(){const _0x44294f=['startsWith','element','_sanitizationContainer','render','isProcessing','18jamRrF','trim','startProcessing','4YtNKEB','297lSZaXy','finally','push','editor','2519349cvgtGW','initialContext','innerHTML','childNodes','serializeToString','_xmlSerializer','finishProcessing','stringify','mainAction','div','4397432SvUQLR','isRendered','previousLabel','previousActionId','reset','listenTo','substring','processor','set:currentContext','parseFromString','stopListening','then','prompt','htmlProcessor','remove','value','currentResponse','updateView','match','endsWith','682270oZMRpX','editing','set','viewToDom','message','toModel','handleError','createElement','custom','submitPrompt','text/html','previousQuery','once','_isH1TagSupportEnabled','destroy','ELEMENT_NODE','view','rename','5218825lUEpkG','_domParser','catch','nodeType','_handleQuery','4986272fyBksI','domConverter','makeRequest','<h1></h1>','length','textAdapter','name','from','stopProcessing','querySelector','data','reverse','document','tryAgainEvent','_stripMarkdownSyntax','_sanitizeHTML','exec','toView','abort','setContentOf','844844yTilwB','body','```html','previousContext','_parseAndNormalizeContent','6293161qFAfgz','```','6tEEIfq','currentContext','_normalizeResponseHeadings'];_0x4876=function(){return _0x44294f;};return _0x4876();}const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
24
+ _0x3e08d6(){constructor(_0x18046d,_0x5302ff,_0x47bc49){const _0x53386a=_0x110d;super(),this[_0x53386a(0x1ae)]=_0x18046d,this[_0x53386a(0x189)]=_0x5302ff,this[_0x53386a(0x1a4)]=document[_0x53386a(0x1d4)](_0x53386a(0x1b8)),this[_0x53386a(0x1e0)]=new DOMParser(),this[_0x53386a(0x1b4)]=new XMLSerializer(),this[_0x53386a(0x1dd)]=_0x47bc49,this[_0x53386a(0x1cf)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x53386a(0x1c1),(_0x2f136a,_0x1f8fef,_0x13c2bb)=>{const _0x1d86f7=_0x53386a;this[_0x1d86f7(0x1dd)][_0x1d86f7(0x1c8)]=this[_0x1d86f7(0x193)](_0x13c2bb);}),this[_0x53386a(0x1be)](this[_0x53386a(0x1dd)],_0x53386a(0x1d6),(_0x20bb1c,_0xb983f8)=>{const _0x2562f0=_0x53386a,_0x244dfa=this[_0x2562f0(0x1a0)]||this[_0x2562f0(0x1b0)];this[_0x2562f0(0x183)](_0xb983f8,_0x244dfa,_0x2562f0(0x1d5));}),this[_0x53386a(0x1be)](this[_0x53386a(0x1dd)],_0x53386a(0x191),()=>{const _0x28869b=_0x53386a;this[_0x28869b(0x1dd)][_0x28869b(0x1c5)]=this[_0x28869b(0x1bb)],this[_0x28869b(0x183)](this[_0x28869b(0x1d8)],this[_0x28869b(0x19b)],this[_0x28869b(0x1bc)],this[_0x28869b(0x1bb)]);}),this[_0x53386a(0x1be)](this[_0x53386a(0x1dd)],_0x53386a(0x18c),()=>{const _0x2bb784=_0x53386a;this[_0x2bb784(0x18c)]();});}[_0x31f7d5(0x1db)](){const _0x16f667=_0x31f7d5;this[_0x16f667(0x1c3)]();}async[_0x31f7d5(0x1ca)]({actionId:_0x493962,query:_0x11fb64,htmlContent:_0x53c3e5,label:_0x219eb5,mainActionLabel:_0x2d863b}){const _0x22c5b0=_0x31f7d5;this[_0x22c5b0(0x1dd)][_0x22c5b0(0x1c5)]=_0x219eb5,this[_0x22c5b0(0x1dd)][_0x22c5b0(0x1b7)]=_0x2d863b,this[_0x22c5b0(0x1b0)]=_0x53c3e5,_0x11fb64&&(this[_0x22c5b0(0x1dd)][_0x22c5b0(0x1ba)]?this[_0x22c5b0(0x183)](_0x11fb64,_0x53c3e5,_0x493962,_0x219eb5):this[_0x22c5b0(0x1dd)][_0x22c5b0(0x1d9)](_0x22c5b0(0x1a5),()=>{const _0x4b7d09=_0x22c5b0;this[_0x4b7d09(0x183)](_0x11fb64,_0x53c3e5,_0x493962,_0x219eb5);}));}[_0x31f7d5(0x18c)](){const _0x3c88ce=_0x31f7d5;this[_0x3c88ce(0x1a6)]&&(this[_0x3c88ce(0x1a6)]=!0x1,this[_0x3c88ce(0x1dd)][_0x3c88ce(0x1b5)](),this[_0x3c88ce(0x189)][_0x3c88ce(0x196)]());}[_0x31f7d5(0x1bd)](){const _0x14028c=_0x31f7d5;this[_0x14028c(0x1b0)]='',this[_0x14028c(0x1a0)]='',this[_0x14028c(0x1c9)]='',this[_0x14028c(0x19b)]='',this[_0x14028c(0x1d8)]='',this[_0x14028c(0x1bb)]='',this[_0x14028c(0x1bc)]=void 0x0,this[_0x14028c(0x1dd)][_0x14028c(0x1bd)](),this[_0x14028c(0x18c)]();}async[_0x31f7d5(0x183)](_0x159320,_0x258bb4,_0x4d801b,_0xc042c7){const _0x430cb0=_0x31f7d5;return this[_0x430cb0(0x1a6)]=!0x0,this[_0x430cb0(0x1dd)][_0x430cb0(0x1a9)](),this[_0x430cb0(0x19b)]=_0x258bb4,this[_0x430cb0(0x1d8)]=_0x159320,this[_0x430cb0(0x1bb)]=_0xc042c7||_0x159320,this[_0x430cb0(0x1bc)]=_0x4d801b,new Promise(_0x9f52c=>{const _0x21be06=_0x430cb0;this[_0x21be06(0x189)][_0x21be06(0x186)]({'query':_0x159320,'context':_0x258bb4,'onData':_0x1287fe=>{const _0x1828b6=_0x21be06;this[_0x1828b6(0x1c9)]=_0x1287fe,this[_0x1828b6(0x1a0)]=this[_0x1828b6(0x19c)](this[_0x1828b6(0x1c9)]);},'actionId':_0x4d801b})[_0x21be06(0x1c4)](()=>{const _0x57fc74=_0x21be06;!this[_0x57fc74(0x1a0)]&&this[_0x57fc74(0x1c9)]&&(this[_0x57fc74(0x1a0)]=this[_0x57fc74(0x19c)](this[_0x57fc74(0x1c9)],!0x0));})[_0x21be06(0x1e1)](_0x185d95=>{const _0x1db11c=_0x21be06;_0x185d95 instanceof _0x3aaea6?this[_0x1db11c(0x1dd)][_0x1db11c(0x1d3)](_0x185d95[_0x1db11c(0x1d1)]):this[_0x1db11c(0x1dd)][_0x1db11c(0x1d3)](),_0x9f52c();})[_0x21be06(0x1ac)](()=>{const _0x3069e3=_0x21be06;this[_0x3069e3(0x18c)](),_0x9f52c();});});}[_0x31f7d5(0x19c)](_0x22839c,_0xdc54ee=!0x1){const _0x12964b=_0x31f7d5,_0x128004=X[_0x12964b(0x194)](_0x22839c);_0x22839c=_0x128004?_0x22839c[_0x12964b(0x1bf)](_0x128004[0x1][_0x12964b(0x188)]):_0x22839c[_0x12964b(0x188)]<0x64&&!_0xdc54ee?'':this[_0x12964b(0x192)](_0x22839c);const _0x542892=this[_0x12964b(0x1e0)][_0x12964b(0x1c2)](_0x22839c,_0x12964b(0x1d7));if(_0x128004){const _0x3f4864=Array[_0x12964b(0x18b)](_0x542892[_0x12964b(0x199)][_0x12964b(0x1b2)]);_0x3f4864[_0x12964b(0x18f)]();for(const _0x309203 of _0x3f4864){if(_0x309203[_0x12964b(0x182)]==Node[_0x12964b(0x1dc)])break;_0x309203[_0x12964b(0x1c7)]();}}const _0x55aac2=this[_0x12964b(0x1ae)][_0x12964b(0x18e)][_0x12964b(0x1c0)][_0x12964b(0x195)](this[_0x12964b(0x1b4)][_0x12964b(0x1b3)](_0x542892[_0x12964b(0x199)]));return this[_0x12964b(0x1da)]()||this[_0x12964b(0x1a1)](_0x55aac2),this[_0x12964b(0x1ae)][_0x12964b(0x18e)][_0x12964b(0x1b6)](this[_0x12964b(0x1ae)][_0x12964b(0x18e)][_0x12964b(0x1d2)](_0x55aac2));}[_0x31f7d5(0x1a1)](_0x288df1){const _0x3c5d42=_0x31f7d5,_0x2d5616=new _0x3e33ba(this[_0x3c5d42(0x1ae)][_0x3c5d42(0x1ce)][_0x3c5d42(0x1dd)][_0x3c5d42(0x190)]),_0x1dd9a1=new _0x4bd937({'name':/^h[1-5]$/}),_0x50d8b6=[];let _0xe8d2f8=!0x1;for(const _0x2911fd of _0x288df1)_0x2911fd['is'](_0x3c5d42(0x1a3))&&_0x1dd9a1[_0x3c5d42(0x1cb)](_0x2911fd)&&(_0x50d8b6[_0x3c5d42(0x1ad)](_0x2911fd),'h1'==_0x2911fd[_0x3c5d42(0x18a)]&&(_0xe8d2f8=!0x0));if(_0xe8d2f8){for(const _0x2200d6 of _0x50d8b6)_0x2d5616[_0x3c5d42(0x1de)]('h'+(parseInt(_0x2200d6[_0x3c5d42(0x18a)][0x1])+0x1),_0x2200d6);}}[_0x31f7d5(0x1da)](){const _0x19e004=_0x31f7d5,{data:_0x2d6840,editing:_0x261c93}=this[_0x19e004(0x1ae)],_0x4c46c3=_0x2d6840[_0x19e004(0x1c6)][_0x19e004(0x195)](_0x19e004(0x187)),_0x176875=_0x2d6840[_0x19e004(0x195)](_0x2d6840[_0x19e004(0x1d2)](_0x4c46c3));return!!_0x261c93[_0x19e004(0x1dd)][_0x19e004(0x185)][_0x19e004(0x1d0)](_0x176875)[_0x19e004(0x18d)]('h1');}[_0x31f7d5(0x193)](_0xd33aa5){const _0x1a414a=_0x31f7d5;return this[_0x1a414a(0x1ae)][_0x1a414a(0x1ce)][_0x1a414a(0x1dd)][_0x1a414a(0x185)][_0x1a414a(0x197)](this[_0x1a414a(0x1a4)],_0xd33aa5),this[_0x1a414a(0x1a4)][_0x1a414a(0x1b1)];}[_0x31f7d5(0x192)](_0x198c38){const _0x5c982d=_0x31f7d5,_0xd5c297=_0x198c38[_0x5c982d(0x1a8)]();return _0xd5c297[_0x5c982d(0x1a2)](_0x5c982d(0x19a))?_0xd5c297[_0x5c982d(0x1cc)](_0x5c982d(0x19e))?_0xd5c297[_0x5c982d(0x1bf)](0x7,_0xd5c297[_0x5c982d(0x188)]-0x3):_0xd5c297[_0x5c982d(0x1bf)](0x7):_0x198c38;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x235358=_0x56e6;(function(_0xa26ba4,_0x18f8ab){const _0x59805e=_0x56e6,_0x467967=_0xa26ba4();while(!![]){try{const _0x35dfb9=parseInt(_0x59805e(0xaa))/0x1+parseInt(_0x59805e(0xc1))/0x2*(-parseInt(_0x59805e(0xb3))/0x3)+-parseInt(_0x59805e(0xaf))/0x4+parseInt(_0x59805e(0xa6))/0x5*(parseInt(_0x59805e(0xc0))/0x6)+-parseInt(_0x59805e(0xa5))/0x7+parseInt(_0x59805e(0xad))/0x8*(parseInt(_0x59805e(0xac))/0x9)+parseInt(_0x59805e(0xb1))/0xa*(parseInt(_0x59805e(0xb6))/0xb);if(_0x35dfb9===_0x18f8ab)break;else _0x467967['push'](_0x467967['shift']());}catch(_0x3f99d3){_0x467967['push'](_0x467967['shift']());}}}(_0x59f0,0x643c9));function _0x59f0(){const _0x4e3adc=['children','13104lRajxA','33042OroYjf','change:enabledCommandsIds','2400531niIwYW','1155mcVhwp','filter','items','get','294487KHuiCz','set','1006227araEqJ','24gHLkXg','highlightText','1935772gXDOPx','enabledCommandsIds','20oTSKhf','isEnabled','51kECOSP','commandDefinition','includes','2111461VzSGLW','labelView','length','isVisible','listbox','first','match','label','role'];_0x59f0=function(){return _0x4e3adc;};return _0x59f0();}function _0x56e6(_0x29b366,_0x42663c){const _0x59f000=_0x59f0();return _0x56e6=function(_0x56e630,_0xe286fd){_0x56e630=_0x56e630-0xa4;let _0x3dbb7f=_0x59f000[_0x56e630];return _0x3dbb7f;},_0x56e6(_0x29b366,_0x42663c);}import{ListView as _0x2bae6a,ListItemGroupView as _0x2118aa}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x18c850}from'../../aiassistantui.js';export default class U extends _0x2bae6a{constructor(_0x50d103){const _0x366320=_0x56e6;super(_0x50d103),this[_0x366320(0xbe)]=_0x366320(0xba),this[_0x366320(0xab)](_0x366320(0xb0),[]),this['on'](_0x366320(0xa4),()=>{const _0x1f8d3d=_0x366320;for(const _0x434996 of this[_0x1f8d3d(0xa8)])if(_0x434996 instanceof _0x2118aa){for(const _0x3733fb of _0x434996[_0x1f8d3d(0xa8)])if(_0x3733fb instanceof _0x18c850){const _0x12dd29=_0x3733fb[_0x1f8d3d(0xbf)][_0x1f8d3d(0xa9)](0x0);this[_0x1f8d3d(0xb0)][_0x1f8d3d(0xb5)](_0x3733fb[_0x1f8d3d(0xb4)]['id'])?_0x12dd29[_0x1f8d3d(0xb2)]=!0x0:_0x12dd29[_0x1f8d3d(0xb2)]=!0x1;}}});}[_0x235358(0xa7)](_0x451e7a){const _0x1cd6b2=_0x235358;let _0x28607e=0x0,_0x41c124=0x0;for(const _0x109a73 of this[_0x1cd6b2(0xa8)]){const _0x5ee45=_0x109a73,_0x549461=_0x5ee45[_0x1cd6b2(0xa8)],_0x5a8965=_0x451e7a&&!!_0x5ee45[_0x1cd6b2(0xbd)][_0x1cd6b2(0xbc)](_0x451e7a);_0x5ee45[_0x1cd6b2(0xb7)][_0x1cd6b2(0xae)](_0x5a8965?_0x451e7a:null);for(const _0x47a33e of _0x549461){const _0xe42a00=_0x47a33e[_0x1cd6b2(0xbf)][_0x1cd6b2(0xbb)],_0x2ee3b6=_0xe42a00[_0x1cd6b2(0xb7)];if(_0x451e7a){const _0x2895b5=!!_0xe42a00[_0x1cd6b2(0xbd)][_0x1cd6b2(0xbc)](_0x451e7a);_0x2ee3b6[_0x1cd6b2(0xae)](_0x2895b5?_0x451e7a:null),_0x47a33e[_0x1cd6b2(0xb9)]=_0x5a8965||_0x2895b5;}else _0x47a33e[_0x1cd6b2(0xb9)]=!0x0,_0x2ee3b6[_0x1cd6b2(0xae)](null);}const _0x266369=_0x549461[_0x1cd6b2(0xa7)](_0x5a1910=>_0x5a1910[_0x1cd6b2(0xb9)])[_0x1cd6b2(0xb8)];_0x28607e+=_0x5ee45[_0x1cd6b2(0xa8)][_0x1cd6b2(0xb8)],_0x41c124+=_0x5a8965?_0x5ee45[_0x1cd6b2(0xa8)][_0x1cd6b2(0xb8)]:_0x266369,_0x5ee45[_0x1cd6b2(0xb9)]=_0x5a8965||!!_0x266369;}return{'resultsCount':_0x41c124,'totalItemsCount':_0x28607e};}}
23
+ const _0x55c72e=_0x102e;(function(_0x3ffe91,_0x399a6c){const _0x58cb06=_0x102e,_0x528781=_0x3ffe91();while(!![]){try{const _0x75c3c1=-parseInt(_0x58cb06(0x98))/0x1*(-parseInt(_0x58cb06(0x9c))/0x2)+parseInt(_0x58cb06(0x87))/0x3*(-parseInt(_0x58cb06(0x96))/0x4)+-parseInt(_0x58cb06(0x84))/0x5*(-parseInt(_0x58cb06(0x9d))/0x6)+-parseInt(_0x58cb06(0x95))/0x7+-parseInt(_0x58cb06(0x99))/0x8*(parseInt(_0x58cb06(0x9a))/0x9)+-parseInt(_0x58cb06(0x8c))/0xa+parseInt(_0x58cb06(0x8b))/0xb;if(_0x75c3c1===_0x399a6c)break;else _0x528781['push'](_0x528781['shift']());}catch(_0x802ac8){_0x528781['push'](_0x528781['shift']());}}}(_0x2b7e,0x51153));import{ListView as _0x40129c,ListItemGroupView as _0x43e235}from'ckeditor5/src/ui.js';function _0x102e(_0x3400c5,_0x545557){const _0x2b7efd=_0x2b7e();return _0x102e=function(_0x102ec3,_0x2ac3ec){_0x102ec3=_0x102ec3-0x81;let _0x1811f3=_0x2b7efd[_0x102ec3];return _0x1811f3;},_0x102e(_0x3400c5,_0x545557);}import{AICommandsListItemView as _0x5f628c}from'../../aiassistantui.js';function _0x2b7e(){const _0x193f85=['includes','labelView','2128427ZDVSvP','92BicjOr','first','3223dorIzQ','8GGZreg','3758148yTpPPy','length','118iBVsis','402NEGzzu','listbox','isVisible','items','children','48215wKDRSM','highlightText','change:enabledCommandsIds','56073SZmxNi','set','isEnabled','match','9489161DPaWbx','2152480exTcVx','get','role','enabledCommandsIds','commandDefinition','filter','label'];_0x2b7e=function(){return _0x193f85;};return _0x2b7e();}export default class U extends _0x40129c{constructor(_0x196d45){const _0x2a3de6=_0x102e;super(_0x196d45),this[_0x2a3de6(0x8e)]=_0x2a3de6(0x9e),this[_0x2a3de6(0x88)](_0x2a3de6(0x8f),[]),this['on'](_0x2a3de6(0x86),()=>{const _0xa7dfb5=_0x2a3de6;for(const _0xe8ce8f of this[_0xa7dfb5(0x82)])if(_0xe8ce8f instanceof _0x43e235){for(const _0x427182 of _0xe8ce8f[_0xa7dfb5(0x82)])if(_0x427182 instanceof _0x5f628c){const _0xb42632=_0x427182[_0xa7dfb5(0x83)][_0xa7dfb5(0x8d)](0x0);this[_0xa7dfb5(0x8f)][_0xa7dfb5(0x93)](_0x427182[_0xa7dfb5(0x90)]['id'])?_0xb42632[_0xa7dfb5(0x89)]=!0x0:_0xb42632[_0xa7dfb5(0x89)]=!0x1;}}});}[_0x55c72e(0x91)](_0x548d92){const _0x2b9f9f=_0x55c72e;let _0x358a1a=0x0,_0x98eb1a=0x0;for(const _0x33b407 of this[_0x2b9f9f(0x82)]){const _0x1362ba=_0x33b407,_0x1f186f=_0x1362ba[_0x2b9f9f(0x82)],_0x7782d2=_0x548d92&&!!_0x1362ba[_0x2b9f9f(0x92)][_0x2b9f9f(0x8a)](_0x548d92);_0x1362ba[_0x2b9f9f(0x94)][_0x2b9f9f(0x85)](_0x7782d2?_0x548d92:null);for(const _0x4e02b6 of _0x1f186f){const _0x12f4f2=_0x4e02b6[_0x2b9f9f(0x83)][_0x2b9f9f(0x97)],_0xc15af3=_0x12f4f2[_0x2b9f9f(0x94)];if(_0x548d92){const _0x27c242=!!_0x12f4f2[_0x2b9f9f(0x92)][_0x2b9f9f(0x8a)](_0x548d92);_0xc15af3[_0x2b9f9f(0x85)](_0x27c242?_0x548d92:null),_0x4e02b6[_0x2b9f9f(0x81)]=_0x7782d2||_0x27c242;}else _0x4e02b6[_0x2b9f9f(0x81)]=!0x0,_0xc15af3[_0x2b9f9f(0x85)](null);}const _0x211cad=_0x1f186f[_0x2b9f9f(0x91)](_0xee6131=>_0xee6131[_0x2b9f9f(0x81)])[_0x2b9f9f(0x9b)];_0x358a1a+=_0x1362ba[_0x2b9f9f(0x82)][_0x2b9f9f(0x9b)],_0x98eb1a+=_0x7782d2?_0x1362ba[_0x2b9f9f(0x82)][_0x2b9f9f(0x9b)]:_0x211cad,_0x1362ba[_0x2b9f9f(0x81)]=_0x7782d2||!!_0x211cad;}return{'resultsCount':_0x98eb1a,'totalItemsCount':_0x358a1a};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x445072,_0x2bc1e0){const _0x2abaef=_0x295d,_0x4a8102=_0x445072();while(!![]){try{const _0x8076d4=parseInt(_0x2abaef(0xb4))/0x1*(-parseInt(_0x2abaef(0xbe))/0x2)+parseInt(_0x2abaef(0xc0))/0x3*(parseInt(_0x2abaef(0xb2))/0x4)+parseInt(_0x2abaef(0xbd))/0x5*(parseInt(_0x2abaef(0xb9))/0x6)+-parseInt(_0x2abaef(0xba))/0x7+parseInt(_0x2abaef(0xbb))/0x8+-parseInt(_0x2abaef(0xc2))/0x9*(parseInt(_0x2abaef(0xb3))/0xa)+-parseInt(_0x2abaef(0xb6))/0xb*(-parseInt(_0x2abaef(0xbf))/0xc);if(_0x8076d4===_0x2bc1e0)break;else _0x4a8102['push'](_0x4a8102['shift']());}catch(_0x50c1ff){_0x4a8102['push'](_0x4a8102['shift']());}}}(_0x1262,0x5b252));import{HighlightedTextView as _0x43c1f3}from'ckeditor5/src/ui.js';function _0x295d(_0x4a898f,_0x208124){const _0x1262dd=_0x1262();return _0x295d=function(_0x295dcc,_0x28d1da){_0x295dcc=_0x295dcc-0xb2;let _0x318b44=_0x1262dd[_0x295dcc];return _0x318b44;},_0x295d(_0x4a898f,_0x208124);}export default class N extends _0x43c1f3{constructor(){const _0x58ff5e=_0x295d;super(),this[_0x58ff5e(0xc1)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x3e7200=this[_0x58ff5e(0xbc)];this[_0x58ff5e(0xb8)]({'attributes':{'class':[_0x58ff5e(0xb5)],'style':_0x3e7200['to'](_0x58ff5e(0xb7)),'id':_0x3e7200['to']('id')}});}}function _0x1262(){const _0x349b12=['86763pCnLrP','set','93213KAnOlk','28zwWYPt','190bhiDpV','34367NbNTNZ','ck-button__label','4225573UHhFEp','style','extendTemplate','18BDggAE','2576770NrTDMS','3948656OPgPbe','bindTemplate','154190kAeDuo','36XPoUMC','24qWmefV'];_0x1262=function(){return _0x349b12;};return _0x1262();}
23
+ (function(_0x3b8f4d,_0x5527e2){const _0xb91005=_0x20e8,_0x34ff2b=_0x3b8f4d();while(!![]){try{const _0x24884e=-parseInt(_0xb91005(0x118))/0x1*(-parseInt(_0xb91005(0x112))/0x2)+parseInt(_0xb91005(0x116))/0x3*(-parseInt(_0xb91005(0x11b))/0x4)+-parseInt(_0xb91005(0x10f))/0x5*(-parseInt(_0xb91005(0x115))/0x6)+parseInt(_0xb91005(0x111))/0x7*(-parseInt(_0xb91005(0x113))/0x8)+-parseInt(_0xb91005(0x11e))/0x9+parseInt(_0xb91005(0x117))/0xa+-parseInt(_0xb91005(0x11a))/0xb;if(_0x24884e===_0x5527e2)break;else _0x34ff2b['push'](_0x34ff2b['shift']());}catch(_0x2d20a3){_0x34ff2b['push'](_0x34ff2b['shift']());}}}(_0x4774,0x50480));function _0x4774(){const _0x252e5e=['5612520QMyCpJ','6EfCFqp','bindTemplate','1404975mOgjNN','24452uHqWCS','set','ck-button__label','5543478upGOUs','2095GjbyFX','extendTemplate','1211BEqNDx','189666DWWbmy','18752QOLkOT','style','6468uaNoSV','51izEfsi'];_0x4774=function(){return _0x252e5e;};return _0x4774();}function _0x20e8(_0x453fc2,_0x36dfc5){const _0x4774ee=_0x4774();return _0x20e8=function(_0x20e868,_0x6ce8a7){_0x20e868=_0x20e868-0x10f;let _0x5346ba=_0x4774ee[_0x20e868];return _0x5346ba;},_0x20e8(_0x453fc2,_0x36dfc5);}import{HighlightedTextView as _0x5d7b0b}from'ckeditor5/src/ui.js';export default class N extends _0x5d7b0b{constructor(){const _0x3d65f7=_0x20e8;super(),this[_0x3d65f7(0x11c)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x4477fa=this[_0x3d65f7(0x119)];this[_0x3d65f7(0x110)]({'attributes':{'class':[_0x3d65f7(0x11d)],'style':_0x4477fa['to'](_0x3d65f7(0x114)),'id':_0x4477fa['to']('id')}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2de1(){const _0x28b38e=['extendTemplate','set','10IfuOrv','18GzLXuw','617108NASwYu','bindTemplate','2296wAXXlh','ck-editor__label_','17104300kUnDXm','6094963LZEdMQ','19422gnWmTS','for','153071pgVfhU','360095IMQuyb','ck-label','132351jbgNXD'];_0x2de1=function(){return _0x28b38e;};return _0x2de1();}(function(_0x2cc252,_0x10f375){const _0xa31f23=_0x213b,_0x269a5b=_0x2cc252();while(!![]){try{const _0x529bbb=-parseInt(_0xa31f23(0x1d2))/0x1*(-parseInt(_0xa31f23(0x1d8))/0x2)+-parseInt(_0xa31f23(0x1d5))/0x3+parseInt(_0xa31f23(0x1da))/0x4+-parseInt(_0xa31f23(0x1d3))/0x5*(parseInt(_0xa31f23(0x1d9))/0x6)+parseInt(_0xa31f23(0x1df))/0x7+parseInt(_0xa31f23(0x1dc))/0x8*(parseInt(_0xa31f23(0x1d0))/0x9)+-parseInt(_0xa31f23(0x1de))/0xa;if(_0x529bbb===_0x10f375)break;else _0x269a5b['push'](_0x269a5b['shift']());}catch(_0x5ec1d8){_0x269a5b['push'](_0x269a5b['shift']());}}}(_0x2de1,0x6b32b));import{HighlightedTextView as _0x44d902}from'ckeditor5/src/ui.js';function _0x213b(_0x188e9c,_0x592d25){const _0x2de110=_0x2de1();return _0x213b=function(_0x213bd1,_0x572c20){_0x213bd1=_0x213bd1-0x1d0;let _0xa3b592=_0x2de110[_0x213bd1];return _0xa3b592;},_0x213b(_0x188e9c,_0x592d25);}import{uid as _0x73809}from'ckeditor5/src/utils.js';export default class S extends _0x44d902{constructor(){const _0x599537=_0x213b;super(),this[_0x599537(0x1d7)](_0x599537(0x1d1),void 0x0);const _0x2258fb=this[_0x599537(0x1db)];this['id']=_0x599537(0x1dd)+_0x73809(),this[_0x599537(0x1d6)]({'attributes':{'class':['ck',_0x599537(0x1d4)],'id':this['id'],'for':_0x2258fb['to'](_0x599537(0x1d1))}});}}
23
+ (function(_0x49635a,_0x4bb3c9){const _0x1331ae=_0x4ecd,_0x48035a=_0x49635a();while(!![]){try{const _0x1e3543=parseInt(_0x1331ae(0x1cc))/0x1*(parseInt(_0x1331ae(0x1cd))/0x2)+parseInt(_0x1331ae(0x1d2))/0x3+-parseInt(_0x1331ae(0x1c8))/0x4+-parseInt(_0x1331ae(0x1d0))/0x5+parseInt(_0x1331ae(0x1ce))/0x6+parseInt(_0x1331ae(0x1c5))/0x7+-parseInt(_0x1331ae(0x1cb))/0x8*(parseInt(_0x1331ae(0x1d1))/0x9);if(_0x1e3543===_0x4bb3c9)break;else _0x48035a['push'](_0x48035a['shift']());}catch(_0x3c2ceb){_0x48035a['push'](_0x48035a['shift']());}}}(_0x4029,0x418a1));import{HighlightedTextView as _0x3654a1}from'ckeditor5/src/ui.js';import{uid as _0x280886}from'ckeditor5/src/utils.js';function _0x4029(){const _0x1b5f49=['337512uGqTvI','for','3383051GIyvvX','extendTemplate','set','100140BiENGM','ck-label','ck-editor__label_','8OzjKsQ','67183qnqrOe','14cNuyGb','3049824EqcErI','bindTemplate','372700LtOfnw','10857222jLiQuv'];_0x4029=function(){return _0x1b5f49;};return _0x4029();}function _0x4ecd(_0xcb359a,_0x490714){const _0x402918=_0x4029();return _0x4ecd=function(_0x4ecd24,_0x478200){_0x4ecd24=_0x4ecd24-0x1c5;let _0x146cf5=_0x402918[_0x4ecd24];return _0x146cf5;},_0x4ecd(_0xcb359a,_0x490714);}export default class S extends _0x3654a1{constructor(){const _0x1d2487=_0x4ecd;super(),this[_0x1d2487(0x1c7)](_0x1d2487(0x1d3),void 0x0);const _0x1e6ffb=this[_0x1d2487(0x1cf)];this['id']=_0x1d2487(0x1ca)+_0x280886(),this[_0x1d2487(0x1c6)]({'attributes':{'class':['ck',_0x1d2487(0x1c9)],'id':this['id'],'for':_0x1e6ffb['to'](_0x1d2487(0x1d3))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x582feb=_0x3e0e;(function(_0x21c647,_0x165c2a){const _0x272883=_0x3e0e,_0x355f13=_0x21c647();while(!![]){try{const _0x54f2be=-parseInt(_0x272883(0x1d0))/0x1+parseInt(_0x272883(0x1dd))/0x2+parseInt(_0x272883(0x1be))/0x3*(parseInt(_0x272883(0x1ff))/0x4)+-parseInt(_0x272883(0x1bc))/0x5+parseInt(_0x272883(0x1c8))/0x6+parseInt(_0x272883(0x1fe))/0x7+-parseInt(_0x272883(0x20b))/0x8*(-parseInt(_0x272883(0x1bd))/0x9);if(_0x54f2be===_0x165c2a)break;else _0x355f13['push'](_0x355f13['shift']());}catch(_0x44617e){_0x355f13['push'](_0x355f13['shift']());}}}(_0x5647,0x99d6a));import{global as _0x249d9d}from'ckeditor5/src/utils.js';import{View as _0x3e4f04,ButtonView as _0x15cfda,SpinnerView as _0x2fea7d}from'ckeditor5/src/ui.js';function _0x5647(){const _0x3493ff=['setContent','_copyHTMLToClipboard','copy','lastElementChild','body','appendChild','listenTo','appendLoader','bind','1099398OCvcGb','ck-ai-form__content-area--processing','setStartAfter','mousedown','\x20ck-ai-form__copy-button--copied','removeAllRanges','textContent','ck-content','435201MedjCM','firstElementChild','element','isProcessing','left','scrollTo','_createLoader','Copy','createRange','wheel','remove','contentFieldView','change:isProcessing','601506jOrVGA','addRange','ck-ai-form__content-area','locale','bindTemplate','div','position','smooth','execute','class','set','ck-reset_all-excluded','setEndBefore','querySelector','AI\x20is\x20writing...','write','scrollHeight','ck-hidden','loaderView','copyButtonView','ck-ai-form__content-field','<span>[</span>','getSelection','focus','change:value','text/plain','execCommand','style','render','-9999px','ck-ai-form__copy-button','icon','check','1976807zjnmTw','664344svVcsP','ck-ai-form__content-area-wrapper','isVisible','.ck-ai-form__loader','ClipboardItem','ck-ai-form__loader','ck-ai-form__copy-button-wrapper','<span>]</span>','clipboard','_createCopyButton','innerHTML','createElement','6234056PCOFqA','value','text/html','setTemplate','absolute','isEnabled','3232035yRGtyV','9TSphhS','3mIozsx'];_0x5647=function(){return _0x3493ff;};return _0x5647();}import _0x2111aa from'../../../theme/icons/copy.svg';import{getTranslation as _0x3e89e1}from'../../utils/common-translations.js';import{icons as _0x3ad53a}from'ckeditor5/src/core.js';export default class nt extends _0x3e4f04{constructor(_0x171589,_0x39e52a=''){const _0x3ef807=_0x3e0e;super(_0x171589),this[_0x3ef807(0x1e7)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x52dc51=this[_0x3ef807(0x1e1)];this[_0x3ef807(0x1db)]=new ContentFieldView(_0x171589,_0x39e52a),this[_0x3ef807(0x1f0)]=this[_0x3ef807(0x208)](),this[_0x3ef807(0x20e)]({'tag':_0x3ef807(0x1e2),'attributes':{'class':['ck',_0x3ef807(0x200),_0x52dc51['if'](_0x3ef807(0x201),_0x3ef807(0x1ee),_0x19b627=>!_0x19b627)],'tabindex':'-1'},'children':[{'tag':_0x3ef807(0x1e2),'attributes':{'class':['ck',_0x3ef807(0x1df),_0x52dc51['if'](_0x3ef807(0x1d3),_0x3ef807(0x1c9))]},'children':[this[_0x3ef807(0x1db)],{'tag':_0x3ef807(0x1e2),'attributes':{'class':['ck',_0x3ef807(0x205)]},'children':[this[_0x3ef807(0x1f0)]]}]}]});}[_0x582feb(0x1f9)](){const _0xfc33ad=_0x582feb;super[_0xfc33ad(0x1f9)](),this[_0xfc33ad(0x20c)]&&this[_0xfc33ad(0x1db)][_0xfc33ad(0x1bf)](this[_0xfc33ad(0x20c)]);let _0x2150d7=!0x1;this['on'](_0xfc33ad(0x1f5),(_0x3e903d,_0x869a7,_0x1f50eb)=>{const _0x59d52e=_0xfc33ad,_0xf55f3f=!this[_0x59d52e(0x1db)][_0x59d52e(0x1d2)][_0x59d52e(0x1ea)](_0x59d52e(0x202));this[_0x59d52e(0x1db)][_0x59d52e(0x1bf)](_0x1f50eb),this[_0x59d52e(0x1d3)]&&_0xf55f3f&&!_0x2150d7&&this[_0x59d52e(0x1d2)][_0x59d52e(0x1d5)]({'top':this[_0x59d52e(0x1d2)][_0x59d52e(0x1ed)],'behavior':_0x59d52e(0x1e4)});}),this['on'](_0xfc33ad(0x1dc),(_0x1e2666,_0x6893dc,_0xac5d5d)=>{const _0x495247=_0xfc33ad;_0x2150d7=!0x1,_0xac5d5d?(this[_0x495247(0x20c)]=null,this[_0x495247(0x1db)][_0x495247(0x1c6)]()):this[_0x495247(0x20c)]||this[_0x495247(0x1db)][_0x495247(0x1bf)]('');}),this[_0xfc33ad(0x1c5)](this[_0xfc33ad(0x1d2)],_0xfc33ad(0x1d9),()=>{_0x2150d7=!0x0;}),this[_0xfc33ad(0x1c5)](this[_0xfc33ad(0x1d2)],_0xfc33ad(0x1cb),()=>{_0x2150d7=!0x0;});}[_0x582feb(0x1f4)](){const _0x4072d4=_0x582feb;this[_0x4072d4(0x1d2)][_0x4072d4(0x1f4)]();}[_0x582feb(0x208)](){const _0x2481d8=_0x582feb,_0x3c883c=this[_0x2481d8(0x1e0)],_0x2cbda2=new _0x15cfda(this[_0x2481d8(0x1e0)]),_0x5385d7=_0x2481d8(0x1fb);return _0x2cbda2[_0x2481d8(0x1e7)]({'label':_0x3e89e1(_0x3c883c,_0x2481d8(0x1d7)),'icon':_0x2111aa,'class':_0x5385d7,'tooltip':!0x0}),_0x2cbda2[_0x2481d8(0x1c7)](_0x2481d8(0x201))['to'](this,_0x2481d8(0x20c),_0x5de326=>!!_0x5de326),_0x2cbda2[_0x2481d8(0x1c7)](_0x2481d8(0x210))['to'](this,_0x2481d8(0x1d3),_0x50057b=>!_0x50057b),_0x2cbda2['on'](_0x2481d8(0x1e5),()=>{const _0x4df291=_0x2481d8;this[_0x4df291(0x1c0)](this[_0x4df291(0x1db)][_0x4df291(0x1d2)]),_0x2cbda2[_0x4df291(0x1fc)]=_0x3ad53a[_0x4df291(0x1fd)],_0x2cbda2[_0x4df291(0x1e6)]=_0x5385d7+_0x4df291(0x1cc),this[_0x4df291(0x1f4)](),setTimeout(()=>{const _0x4a94ed=_0x4df291;_0x2cbda2[_0x4a94ed(0x1fc)]=_0x2111aa,_0x2cbda2[_0x4a94ed(0x1e6)]=_0x5385d7;},0x3e8);}),_0x2cbda2;}[_0x582feb(0x1c0)](_0x322001){const _0x5602ae=_0x582feb,{window:_0x1322b0,document:_0x2cafd0}=_0x249d9d;if(_0x1322b0[_0x5602ae(0x203)]){const {Blob:_0x55ec84,ClipboardItem:_0x21abed}=_0x1322b0,_0x46a909=[new _0x21abed({'text/html':new _0x55ec84([_0x322001[_0x5602ae(0x209)]],{'type':_0x5602ae(0x20d)}),'text/plain':new _0x55ec84([_0x322001[_0x5602ae(0x1ce)]||''],{'type':_0x5602ae(0x1f6)})})];navigator[_0x5602ae(0x207)][_0x5602ae(0x1ec)](_0x46a909);}else{const _0x1626a6=_0x2cafd0[_0x5602ae(0x20a)](_0x5602ae(0x1e2));_0x1626a6[_0x5602ae(0x1f8)][_0x5602ae(0x1e3)]=_0x5602ae(0x20f),_0x1626a6[_0x5602ae(0x1f8)][_0x5602ae(0x1d4)]=_0x5602ae(0x1fa),_0x1626a6[_0x5602ae(0x209)]=_0x5602ae(0x1f2)+_0x322001[_0x5602ae(0x209)]+_0x5602ae(0x206),_0x2cafd0[_0x5602ae(0x1c3)][_0x5602ae(0x1c4)](_0x1626a6);const _0x1066ce=_0x2cafd0[_0x5602ae(0x1d8)]();_0x1066ce[_0x5602ae(0x1ca)](_0x1626a6[_0x5602ae(0x1d1)]),_0x1066ce[_0x5602ae(0x1e9)](_0x1626a6[_0x5602ae(0x1c2)]);const _0x1ca0a0=_0x1322b0[_0x5602ae(0x1f3)]();_0x1ca0a0[_0x5602ae(0x1cd)](),_0x1ca0a0[_0x5602ae(0x1de)](_0x1066ce),_0x2cafd0[_0x5602ae(0x1f7)](_0x5602ae(0x1c1)),_0x1626a6[_0x5602ae(0x1da)]();}}}function _0x3e0e(_0x551de3,_0x413c72){const _0x564792=_0x5647();return _0x3e0e=function(_0x3e0e9f,_0xeb3b96){_0x3e0e9f=_0x3e0e9f-0x1bc;let _0x5f3b3e=_0x564792[_0x3e0e9f];return _0x5f3b3e;},_0x3e0e(_0x551de3,_0x413c72);}export class ContentFieldView extends _0x3e4f04{constructor(_0x403c2d,_0x226cc6=''){const _0x89268e=_0x582feb;super(_0x403c2d),this[_0x89268e(0x1ef)]=this[_0x89268e(0x1d6)](),this[_0x89268e(0x20e)]({'tag':_0x89268e(0x1e2),'attributes':{'class':['ck',_0x89268e(0x1cf),_0x226cc6,_0x89268e(0x1e8),_0x89268e(0x1f1)]}});}[_0x582feb(0x1bf)](_0x213e16){const _0x50cad4=_0x582feb;this[_0x50cad4(0x1d2)][_0x50cad4(0x209)]=_0x213e16;}[_0x582feb(0x1c6)](){const _0x13b59f=_0x582feb;this[_0x13b59f(0x1d2)][_0x13b59f(0x1c4)](this[_0x13b59f(0x1ef)][_0x13b59f(0x1d2)]);}[_0x582feb(0x1d6)](){const _0x341978=_0x582feb,_0x3fe6bd=new _0x3e4f04(),_0x332659=this[_0x341978(0x1e0)],_0x55eca4=new _0x2fea7d();return _0x55eca4[_0x341978(0x201)]=!0x0,_0x3fe6bd[_0x341978(0x20e)]({'tag':_0x341978(0x1e2),'attributes':{'class':['ck',_0x341978(0x204)]},'children':[_0x55eca4,{'text':_0x3e89e1(_0x332659,_0x341978(0x1eb))}]}),_0x3fe6bd[_0x341978(0x1f9)](),_0x3fe6bd;}}
23
+ const _0x51c2c3=_0x1e69;function _0x1e69(_0x30e7ed,_0x48bb17){const _0x158f67=_0x158f();return _0x1e69=function(_0x1e698f,_0x537250){_0x1e698f=_0x1e698f-0xc5;let _0x297115=_0x158f67[_0x1e698f];return _0x297115;},_0x1e69(_0x30e7ed,_0x48bb17);}(function(_0x53c6d4,_0x320abc){const _0x18e8aa=_0x1e69,_0x175521=_0x53c6d4();while(!![]){try{const _0x366e79=-parseInt(_0x18e8aa(0xc7))/0x1*(-parseInt(_0x18e8aa(0x107))/0x2)+-parseInt(_0x18e8aa(0xd8))/0x3+parseInt(_0x18e8aa(0x10a))/0x4+parseInt(_0x18e8aa(0xe0))/0x5+parseInt(_0x18e8aa(0xc5))/0x6+-parseInt(_0x18e8aa(0xca))/0x7+-parseInt(_0x18e8aa(0xda))/0x8;if(_0x366e79===_0x320abc)break;else _0x175521['push'](_0x175521['shift']());}catch(_0x333bea){_0x175521['push'](_0x175521['shift']());}}}(_0x158f,0x91e60));import{global as _0x2998aa}from'ckeditor5/src/utils.js';import{View as _0x13ca3f,ButtonView as _0x2586a0,SpinnerView as _0x1de1a4}from'ckeditor5/src/ui.js';import _0x230723 from'../../../theme/icons/copy.svg';function _0x158f(){const _0x35e247=['addRange','2035676xYIQCU','locale','bindTemplate','appendChild','<span>]</span>','innerHTML','loaderView','isVisible','copy','textContent','bind','set','\x20ck-ai-form__copy-button--copied','ck-ai-form__copy-button-wrapper','position','945738yFxzmi','write','11fovpVS','ClipboardItem','setEndBefore','3867318SeldHa','text/html','focus','copyButtonView','_createCopyButton','body','render','ck-ai-form__content-area-wrapper','value','div','scrollTo','wheel','icon','mousedown','2541615nnfgaG','remove','4009040uuzKfz','isEnabled','contentFieldView','check','execCommand','element','3692005ZuAJiB','change:value','_copyHTMLToClipboard','text/plain','smooth','listenTo','ck-reset_all-excluded','ck-ai-form__content-field','createRange','ck-ai-form__loader','setTemplate','absolute','AI\x20is\x20writing...','change:isProcessing','class','ck-hidden','removeAllRanges','left','Copy','querySelector','createElement','<span>[</span>','setContent','scrollHeight','style','isProcessing','firstElementChild','ck-ai-form__copy-button','clipboard','setStartAfter','ck-content','execute','appendLoader','ck-ai-form__content-area--processing','_createLoader','ck-ai-form__content-area','lastElementChild','.ck-ai-form__loader','-9999px','198812sJggaF','getSelection'];_0x158f=function(){return _0x35e247;};return _0x158f();}import{getTranslation as _0x490428}from'../../utils/common-translations.js';import{icons as _0x36b8cd}from'ckeditor5/src/core.js';export default class nt extends _0x13ca3f{constructor(_0x61e92c,_0x23a3db=''){const _0x388023=_0x1e69;super(_0x61e92c),this[_0x388023(0x115)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x9bfb0c=this[_0x388023(0x10c)];this[_0x388023(0xdc)]=new ContentFieldView(_0x61e92c,_0x23a3db),this[_0x388023(0xcd)]=this[_0x388023(0xce)](),this[_0x388023(0xea)]({'tag':_0x388023(0xd3),'attributes':{'class':['ck',_0x388023(0xd1),_0x9bfb0c['if'](_0x388023(0x111),_0x388023(0xef),_0x4eca62=>!_0x4eca62)],'tabindex':'-1'},'children':[{'tag':_0x388023(0xd3),'attributes':{'class':['ck',_0x388023(0x103),_0x9bfb0c['if'](_0x388023(0xf9),_0x388023(0x101))]},'children':[this[_0x388023(0xdc)],{'tag':_0x388023(0xd3),'attributes':{'class':['ck',_0x388023(0x117)]},'children':[this[_0x388023(0xcd)]]}]}]});}[_0x51c2c3(0xd0)](){const _0x3b25e9=_0x51c2c3;super[_0x3b25e9(0xd0)](),this[_0x3b25e9(0xd2)]&&this[_0x3b25e9(0xdc)][_0x3b25e9(0xf6)](this[_0x3b25e9(0xd2)]);let _0x16789a=!0x1;this['on'](_0x3b25e9(0xe1),(_0x59739a,_0x11619e,_0x17a072)=>{const _0x14d3f3=_0x3b25e9,_0x5c88f0=!this[_0x14d3f3(0xdc)][_0x14d3f3(0xdf)][_0x14d3f3(0xf3)](_0x14d3f3(0x105));this[_0x14d3f3(0xdc)][_0x14d3f3(0xf6)](_0x17a072),this[_0x14d3f3(0xf9)]&&_0x5c88f0&&!_0x16789a&&this[_0x14d3f3(0xdf)][_0x14d3f3(0xd4)]({'top':this[_0x14d3f3(0xdf)][_0x14d3f3(0xf7)],'behavior':_0x14d3f3(0xe4)});}),this['on'](_0x3b25e9(0xed),(_0x4c7149,_0x1a5751,_0x3c3e3b)=>{const _0x467d56=_0x3b25e9;_0x16789a=!0x1,_0x3c3e3b?(this[_0x467d56(0xd2)]=null,this[_0x467d56(0xdc)][_0x467d56(0x100)]()):this[_0x467d56(0xd2)]||this[_0x467d56(0xdc)][_0x467d56(0xf6)]('');}),this[_0x3b25e9(0xe5)](this[_0x3b25e9(0xdf)],_0x3b25e9(0xd5),()=>{_0x16789a=!0x0;}),this[_0x3b25e9(0xe5)](this[_0x3b25e9(0xdf)],_0x3b25e9(0xd7),()=>{_0x16789a=!0x0;});}[_0x51c2c3(0xcc)](){const _0x2ed7c1=_0x51c2c3;this[_0x2ed7c1(0xdf)][_0x2ed7c1(0xcc)]();}[_0x51c2c3(0xce)](){const _0xf5dd4d=_0x51c2c3,_0x2268bb=this[_0xf5dd4d(0x10b)],_0x1cfebd=new _0x2586a0(this[_0xf5dd4d(0x10b)]),_0x54e7ff=_0xf5dd4d(0xfb);return _0x1cfebd[_0xf5dd4d(0x115)]({'label':_0x490428(_0x2268bb,_0xf5dd4d(0xf2)),'icon':_0x230723,'class':_0x54e7ff,'tooltip':!0x0}),_0x1cfebd[_0xf5dd4d(0x114)](_0xf5dd4d(0x111))['to'](this,_0xf5dd4d(0xd2),_0x45d695=>!!_0x45d695),_0x1cfebd[_0xf5dd4d(0x114)](_0xf5dd4d(0xdb))['to'](this,_0xf5dd4d(0xf9),_0x491da3=>!_0x491da3),_0x1cfebd['on'](_0xf5dd4d(0xff),()=>{const _0x44ca60=_0xf5dd4d;this[_0x44ca60(0xe2)](this[_0x44ca60(0xdc)][_0x44ca60(0xdf)]),_0x1cfebd[_0x44ca60(0xd6)]=_0x36b8cd[_0x44ca60(0xdd)],_0x1cfebd[_0x44ca60(0xee)]=_0x54e7ff+_0x44ca60(0x116),this[_0x44ca60(0xcc)](),setTimeout(()=>{const _0x29ba88=_0x44ca60;_0x1cfebd[_0x29ba88(0xd6)]=_0x230723,_0x1cfebd[_0x29ba88(0xee)]=_0x54e7ff;},0x3e8);}),_0x1cfebd;}[_0x51c2c3(0xe2)](_0x1f7b4d){const _0x4a02aa=_0x51c2c3,{window:_0x295715,document:_0xb8b9f5}=_0x2998aa;if(_0x295715[_0x4a02aa(0xc8)]){const {Blob:_0x3d741e,ClipboardItem:_0x35eef1}=_0x295715,_0x4bb88b=[new _0x35eef1({'text/html':new _0x3d741e([_0x1f7b4d[_0x4a02aa(0x10f)]],{'type':_0x4a02aa(0xcb)}),'text/plain':new _0x3d741e([_0x1f7b4d[_0x4a02aa(0x113)]||''],{'type':_0x4a02aa(0xe3)})})];navigator[_0x4a02aa(0xfc)][_0x4a02aa(0xc6)](_0x4bb88b);}else{const _0x319efd=_0xb8b9f5[_0x4a02aa(0xf4)](_0x4a02aa(0xd3));_0x319efd[_0x4a02aa(0xf8)][_0x4a02aa(0x118)]=_0x4a02aa(0xeb),_0x319efd[_0x4a02aa(0xf8)][_0x4a02aa(0xf1)]=_0x4a02aa(0x106),_0x319efd[_0x4a02aa(0x10f)]=_0x4a02aa(0xf5)+_0x1f7b4d[_0x4a02aa(0x10f)]+_0x4a02aa(0x10e),_0xb8b9f5[_0x4a02aa(0xcf)][_0x4a02aa(0x10d)](_0x319efd);const _0x1a01c2=_0xb8b9f5[_0x4a02aa(0xe8)]();_0x1a01c2[_0x4a02aa(0xfd)](_0x319efd[_0x4a02aa(0xfa)]),_0x1a01c2[_0x4a02aa(0xc9)](_0x319efd[_0x4a02aa(0x104)]);const _0x314b38=_0x295715[_0x4a02aa(0x108)]();_0x314b38[_0x4a02aa(0xf0)](),_0x314b38[_0x4a02aa(0x109)](_0x1a01c2),_0xb8b9f5[_0x4a02aa(0xde)](_0x4a02aa(0x112)),_0x319efd[_0x4a02aa(0xd9)]();}}}export class ContentFieldView extends _0x13ca3f{constructor(_0x5b76b3,_0x477422=''){const _0x3a3515=_0x51c2c3;super(_0x5b76b3),this[_0x3a3515(0x110)]=this[_0x3a3515(0x102)](),this[_0x3a3515(0xea)]({'tag':_0x3a3515(0xd3),'attributes':{'class':['ck',_0x3a3515(0xfe),_0x477422,_0x3a3515(0xe6),_0x3a3515(0xe7)]}});}[_0x51c2c3(0xf6)](_0x2e7527){const _0x4d3ca9=_0x51c2c3;this[_0x4d3ca9(0xdf)][_0x4d3ca9(0x10f)]=_0x2e7527;}[_0x51c2c3(0x100)](){const _0x41e384=_0x51c2c3;this[_0x41e384(0xdf)][_0x41e384(0x10d)](this[_0x41e384(0x110)][_0x41e384(0xdf)]);}[_0x51c2c3(0x102)](){const _0x2722c6=_0x51c2c3,_0x421a96=new _0x13ca3f(),_0x4e71dc=this[_0x2722c6(0x10b)],_0x5d0b9a=new _0x1de1a4();return _0x5d0b9a[_0x2722c6(0x111)]=!0x0,_0x421a96[_0x2722c6(0xea)]({'tag':_0x2722c6(0xd3),'attributes':{'class':['ck',_0x2722c6(0xe9)]},'children':[_0x5d0b9a,{'text':_0x490428(_0x4e71dc,_0x2722c6(0xec))}]}),_0x421a96[_0x2722c6(0xd0)](),_0x421a96;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x98dac7,_0xa89632){const _0x37e9b5=_0x179e,_0x3d894d=_0x98dac7();while(!![]){try{const _0x154679=parseInt(_0x37e9b5(0xf2))/0x1*(parseInt(_0x37e9b5(0x100))/0x2)+-parseInt(_0x37e9b5(0x103))/0x3*(parseInt(_0x37e9b5(0xfe))/0x4)+parseInt(_0x37e9b5(0xf9))/0x5*(parseInt(_0x37e9b5(0x101))/0x6)+-parseInt(_0x37e9b5(0xf8))/0x7*(-parseInt(_0x37e9b5(0xf6))/0x8)+parseInt(_0x37e9b5(0xfd))/0x9*(parseInt(_0x37e9b5(0xfa))/0xa)+parseInt(_0x37e9b5(0xff))/0xb+parseInt(_0x37e9b5(0xf1))/0xc*(-parseInt(_0x37e9b5(0xf4))/0xd);if(_0x154679===_0xa89632)break;else _0x3d894d['push'](_0x3d894d['shift']());}catch(_0x435d47){_0x3d894d['push'](_0x3d894d['shift']());}}}(_0x48bf,0xc3dfe));import{View as _0x39a457,IconView as _0x2c8bea}from'ckeditor5/src/ui.js';import _0x1cfd06 from'../../../theme/icons/error.svg';function _0x179e(_0xa9d1bd,_0x611585){const _0x48bf2d=_0x48bf();return _0x179e=function(_0x179ede,_0x49930e){_0x179ede=_0x179ede-0xf1;let _0x49d291=_0x48bf2d[_0x179ede];return _0x49d291;},_0x179e(_0xa9d1bd,_0x611585);}function _0x48bf(){const _0x4a94c7=['8Clbvgc','ck-ai-form__error','9191791nfzrnK','135115AJOjLC','5692510JjeKxP','div','setTemplate','9tohOft','5621436PSLTdN','8458329YDAAOK','260HgwSHQ','42lRkvZN','content','3fSzrKm','set','684qmOEnV','12074CCQbwc','bindTemplate','502307FQgrQU','text'];_0x48bf=function(){return _0x4a94c7;};return _0x48bf();}export default class mt extends _0x39a457{constructor(_0x4e7a47,_0x2ba19f=''){const _0x40524c=_0x179e;super(_0x4e7a47);const _0x6d245e=new _0x2c8bea(),_0x4c840e=this[_0x40524c(0xf3)];this[_0x40524c(0x104)](_0x40524c(0xf5),_0x2ba19f),_0x6d245e[_0x40524c(0x102)]=_0x1cfd06,this[_0x40524c(0xfc)]({'tag':_0x40524c(0xfb),'attributes':{'class':['ck',_0x40524c(0xf7)]},'children':[_0x6d245e,{'text':_0x4c840e['to'](_0x40524c(0xf5))}]});}}
23
+ (function(_0x30d4a3,_0x248979){const _0x454e4d=_0x2731,_0x2f8bed=_0x30d4a3();while(!![]){try{const _0x28e62d=-parseInt(_0x454e4d(0x9b))/0x1+parseInt(_0x454e4d(0x91))/0x2*(parseInt(_0x454e4d(0x97))/0x3)+parseInt(_0x454e4d(0x95))/0x4*(parseInt(_0x454e4d(0x8d))/0x5)+parseInt(_0x454e4d(0x96))/0x6*(parseInt(_0x454e4d(0x8f))/0x7)+-parseInt(_0x454e4d(0x93))/0x8+-parseInt(_0x454e4d(0x98))/0x9+-parseInt(_0x454e4d(0x9c))/0xa;if(_0x28e62d===_0x248979)break;else _0x2f8bed['push'](_0x2f8bed['shift']());}catch(_0x118b06){_0x2f8bed['push'](_0x2f8bed['shift']());}}}(_0xb45a,0x795bc));function _0x2731(_0x160ef2,_0x347183){const _0xb45ac2=_0xb45a();return _0x2731=function(_0x273168,_0xda95b3){_0x273168=_0x273168-0x8d;let _0x3586f1=_0xb45ac2[_0x273168];return _0x3586f1;},_0x2731(_0x160ef2,_0x347183);}import{View as _0x272d3f,IconView as _0x9074b0}from'ckeditor5/src/ui.js';function _0xb45a(){const _0xe1f91a=['1371470kCRzaY','content','7vVdDkb','set','4LGIvTL','bindTemplate','2695592RJCZuU','div','8eZXlEg','5837178cppwQZ','1357404ryZXWo','1631556ztIeBk','ck-ai-form__error','setTemplate','308637gffsto','11024330rSEXvw','text'];_0xb45a=function(){return _0xe1f91a;};return _0xb45a();}import _0x56ff24 from'../../../theme/icons/error.svg';export default class mt extends _0x272d3f{constructor(_0x576ca7,_0x51a272=''){const _0x51db0b=_0x2731;super(_0x576ca7);const _0x27ff3d=new _0x9074b0(),_0x4f29da=this[_0x51db0b(0x92)];this[_0x51db0b(0x90)](_0x51db0b(0x9d),_0x51a272),_0x27ff3d[_0x51db0b(0x8e)]=_0x56ff24,this[_0x51db0b(0x9a)]({'tag':_0x51db0b(0x94),'attributes':{'class':['ck',_0x51db0b(0x99)]},'children':[_0x27ff3d,{'text':_0x4f29da['to'](_0x51db0b(0x9d))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4da1(){const _0x54c3db=['children','filteredView','showHistoryButtonView','ck-ai-form__submit','History','focusableChildren','maxRows','execute','enter','focusFirst','isOn','locale','15540WShYBC','right','keystrokes','add','Submit','style','324810PhIstV','focusCycler','element','width','isEmpty','3045357nSEJLB','430526CjSMOv','value','ck-ai-form__toggle-history','_createShowHistoryButton','set','isEnabled','requestAnimationFrame','resultsView','rtl','10xkcvHS','minRows','window','submitButtonView','810565hUTZkO','excludeScrollbarsAndBorders','render','_createSubmitButton','740396MGnCrB','174TNpYAV','isVisible','fieldWrapperChildren','update','queryView','fire','left','bind','focusLast','history','target','fieldView','submit','focus','2815326iSlZDP','352wDwalB','uiLanguageDirection','8eZpEJC'];_0x4da1=function(){return _0x54c3db;};return _0x4da1();}const _0x2cc36a=_0x3c48;(function(_0x2a25f4,_0x316a1e){const _0x8623e8=_0x3c48,_0x13994b=_0x2a25f4();while(!![]){try{const _0x1708ba=-parseInt(_0x8623e8(0x1ea))/0x1+-parseInt(_0x8623e8(0x1de))/0x2*(parseInt(_0x8623e8(0x1fc))/0x3)+-parseInt(_0x8623e8(0x1fb))/0x4*(-parseInt(_0x8623e8(0x1f3))/0x5)+-parseInt(_0x8623e8(0x1ce))/0x6+-parseInt(_0x8623e8(0x1f7))/0x7+parseInt(_0x8623e8(0x1d1))/0x8*(parseInt(_0x8623e8(0x1e9))/0x9)+parseInt(_0x8623e8(0x1e4))/0xa*(parseInt(_0x8623e8(0x1cf))/0xb);if(_0x1708ba===_0x316a1e)break;else _0x13994b['push'](_0x13994b['shift']());}catch(_0x57764c){_0x13994b['push'](_0x13994b['shift']());}}}(_0x4da1,0x44ca1));import{Rect as _0x43bd36,global as _0x1304eb,isVisible as _0x129613}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x41a9ee,ButtonView as _0x3b18ab}from'ckeditor5/src/ui.js';import{icons as _0x5f4325}from'ckeditor5/src/core.js';function _0x3c48(_0x55a354,_0x52de50){const _0x4da114=_0x4da1();return _0x3c48=function(_0x3c4869,_0x45bcae){_0x3c4869=_0x3c4869-0x1c1;let _0x342675=_0x4da114[_0x3c4869];return _0x342675;},_0x3c48(_0x55a354,_0x52de50);}import{getTranslation as _0x35bd91}from'../../utils/common-translations.js';import _0x37f156 from'../../../theme/icons/submit.svg';export default class pt extends _0x41a9ee{constructor(_0x436f7c,_0x1ff92b){const _0xff87e=_0x3c48;super(_0x436f7c,_0x1ff92b),this[_0xff87e(0x1c4)][_0xff87e(0x1cb)][_0xff87e(0x1f4)]=0x1,this[_0xff87e(0x1c4)][_0xff87e(0x1cb)][_0xff87e(0x1d8)]=0x3,this[_0xff87e(0x1f6)]=this[_0xff87e(0x1fa)](),this[_0xff87e(0x1d4)]=this[_0xff87e(0x1ed)](),this[_0xff87e(0x1d7)][_0xff87e(0x1e1)](this[_0xff87e(0x1d4)],0x1),this[_0xff87e(0x1d7)][_0xff87e(0x1e1)](this[_0xff87e(0x1f6)]);}[_0x2cc36a(0x1f9)](){const _0x6f0d97=_0x2cc36a;super[_0x6f0d97(0x1f9)](),this[_0x6f0d97(0x1c4)][_0x6f0d97(0x1c2)][_0x6f0d97(0x1e1)](this[_0x6f0d97(0x1d4)]),this[_0x6f0d97(0x1d2)][_0x6f0d97(0x1e1)](this[_0x6f0d97(0x1f6)]),this[_0x6f0d97(0x1e0)][_0x6f0d97(0x1ee)](_0x6f0d97(0x1da),(_0x5e376f,_0x2e939d)=>{const _0x5d9e80=_0x6f0d97;_0x5e376f[_0x5d9e80(0x1ca)]==this[_0x5d9e80(0x1c4)][_0x5d9e80(0x1cb)][_0x5d9e80(0x1e6)]&&(this[_0x5d9e80(0x1cc)](),_0x2e939d());});}[_0x2cc36a(0x1fa)](){const _0x9e327c=_0x2cc36a,_0xb6d883=new _0x3b18ab(this[_0x9e327c(0x1dd)]),_0x5797fa=this[_0x9e327c(0x1dd)];return _0xb6d883[_0x9e327c(0x1ee)]({'icon':_0x37f156,'label':_0x35bd91(_0x5797fa,_0x9e327c(0x1e2)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x9e327c(0x1d5)}),_0xb6d883['on'](_0x9e327c(0x1d9),()=>{const _0x5d2e7b=_0x9e327c;this[_0x5d2e7b(0x1cc)]();}),_0xb6d883[_0x9e327c(0x1c7)](_0x9e327c(0x1ef))['to'](this[_0x9e327c(0x1c4)][_0x9e327c(0x1cb)],_0x9e327c(0x1e8),this,_0x9e327c(0x1ef),(_0x5e200f,_0x4860e8)=>!_0x5e200f&&_0x4860e8),_0xb6d883;}[_0x2cc36a(0x1ed)](){const _0x32f9c8=_0x2cc36a,_0x4731fe=new _0x3b18ab(this[_0x32f9c8(0x1dd)]),_0x4ec518=this[_0x32f9c8(0x1f1)],_0x4d939e=this[_0x32f9c8(0x1dd)];_0x4731fe[_0x32f9c8(0x1ee)]({'label':_0x35bd91(_0x4d939e,_0x32f9c8(0x1d6)),'withText':!0x1,'icon':_0x5f4325[_0x32f9c8(0x1c9)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x32f9c8(0x1ec)}),_0x4731fe[_0x32f9c8(0x1c7)](_0x32f9c8(0x1dc))['to'](_0x4ec518,_0x32f9c8(0x1c1)),_0x4731fe[_0x32f9c8(0x1c7)](_0x32f9c8(0x1ef))['to'](this,_0x32f9c8(0x1ef)),_0x4731fe['on'](_0x32f9c8(0x1d9),()=>{const _0x2eacec=_0x32f9c8;_0x4ec518[_0x2eacec(0x1c1)]=!_0x4ec518[_0x2eacec(0x1c1)],_0x4ec518[_0x2eacec(0x1c1)]?this[_0x2eacec(0x1d3)][_0x2eacec(0x1cd)]():this[_0x2eacec(0x1cd)]();});const _0x1be260=()=>{const _0x3c686f=_0x32f9c8;_0x1304eb[_0x3c686f(0x1f5)][_0x3c686f(0x1f0)](()=>{const _0x39556e=_0x3c686f;if(_0x129613(this[_0x39556e(0x1e6)])){const _0xbb571a=new _0x43bd36(this[_0x39556e(0x1c4)][_0x39556e(0x1cb)][_0x39556e(0x1e6)]),_0x358a35=_0xbb571a[_0x39556e(0x1e7)],_0x45555d=_0x39556e(0x1f2)===_0x4d939e[_0x39556e(0x1d0)]?_0x39556e(0x1c6):_0x39556e(0x1df);_0xbb571a[_0x39556e(0x1f8)](),_0x4731fe[_0x39556e(0x1e6)][_0x39556e(0x1e3)][_0x45555d]=_0x358a35-_0xbb571a[_0x39556e(0x1e7)]+0x1+'px';}});};return this[_0x32f9c8(0x1c4)][_0x32f9c8(0x1cb)]['on'](_0x32f9c8(0x1c3),_0x1be260),this['on'](_0x32f9c8(0x1f9),_0x1be260),_0x4731fe;}[_0x2cc36a(0x1cc)](){const _0x398299=_0x2cc36a,_0x28642d=this[_0x398299(0x1c4)][_0x398299(0x1cb)][_0x398299(0x1e6)][_0x398299(0x1eb)];this[_0x398299(0x1c5)](_0x398299(0x1cc),_0x28642d);}[_0x2cc36a(0x1cd)](_0x2743cb){const _0x46aeeb=_0x2cc36a;-0x1===_0x2743cb?this[_0x46aeeb(0x1e5)][_0x46aeeb(0x1c8)]():this[_0x46aeeb(0x1e5)][_0x46aeeb(0x1db)]();}}
23
+ const _0x5bb79c=_0x4436;(function(_0x50c219,_0x4fc0e3){const _0x14ef69=_0x4436,_0x6e4555=_0x50c219();while(!![]){try{const _0x1ffcd1=-parseInt(_0x14ef69(0xc3))/0x1+-parseInt(_0x14ef69(0x9d))/0x2+-parseInt(_0x14ef69(0xc2))/0x3+-parseInt(_0x14ef69(0xb7))/0x4+-parseInt(_0x14ef69(0x9c))/0x5*(parseInt(_0x14ef69(0xb8))/0x6)+parseInt(_0x14ef69(0x9b))/0x7*(-parseInt(_0x14ef69(0xa2))/0x8)+parseInt(_0x14ef69(0xc1))/0x9;if(_0x1ffcd1===_0x4fc0e3)break;else _0x6e4555['push'](_0x6e4555['shift']());}catch(_0x1c2070){_0x6e4555['push'](_0x6e4555['shift']());}}}(_0x20ff,0x563aa));import{Rect as _0x198c9d,global as _0x5197d2,isVisible as _0x595c33}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x3b0ae2,ButtonView as _0x33aef4}from'ckeditor5/src/ui.js';import{icons as _0x49a79c}from'ckeditor5/src/core.js';function _0x4436(_0x32fa04,_0x5beb7a){const _0x20fff6=_0x20ff();return _0x4436=function(_0x443613,_0x124419){_0x443613=_0x443613-0x8f;let _0x15ea25=_0x20fff6[_0x443613];return _0x15ea25;},_0x4436(_0x32fa04,_0x5beb7a);}import{getTranslation as _0x4c30d9}from'../../utils/common-translations.js';import _0x505477 from'../../../theme/icons/submit.svg';export default class pt extends _0x3b0ae2{constructor(_0x8fe3a7,_0xa49a05){const _0x275a32=_0x4436;super(_0x8fe3a7,_0xa49a05),this[_0x275a32(0xc8)][_0x275a32(0x9f)][_0x275a32(0xa3)]=0x1,this[_0x275a32(0xc8)][_0x275a32(0x9f)][_0x275a32(0x9e)]=0x3,this[_0x275a32(0x97)]=this[_0x275a32(0x93)](),this[_0x275a32(0xc6)]=this[_0x275a32(0xb9)](),this[_0x275a32(0xa1)][_0x275a32(0xa5)](this[_0x275a32(0xc6)],0x1),this[_0x275a32(0xa1)][_0x275a32(0xa5)](this[_0x275a32(0x97)]);}[_0x5bb79c(0xb1)](){const _0x30f47f=_0x5bb79c;super[_0x30f47f(0xb1)](),this[_0x30f47f(0xc8)][_0x30f47f(0xb0)][_0x30f47f(0xa5)](this[_0x30f47f(0xc6)]),this[_0x30f47f(0xa8)][_0x30f47f(0xa5)](this[_0x30f47f(0x97)]),this[_0x30f47f(0xb5)][_0x30f47f(0x91)](_0x30f47f(0x94),(_0xf769a1,_0x491f48)=>{const _0x2d20ee=_0x30f47f;_0xf769a1[_0x2d20ee(0xbb)]==this[_0x2d20ee(0xc8)][_0x2d20ee(0x9f)][_0x2d20ee(0xa9)]&&(this[_0x2d20ee(0xaa)](),_0x491f48());});}[_0x5bb79c(0x93)](){const _0x542cda=_0x5bb79c,_0x7d6bb8=new _0x33aef4(this[_0x542cda(0xba)]),_0xb67ee=this[_0x542cda(0xba)];return _0x7d6bb8[_0x542cda(0x91)]({'icon':_0x505477,'label':_0x4c30d9(_0xb67ee,_0x542cda(0xbc)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x542cda(0xaf)}),_0x7d6bb8['on'](_0x542cda(0xb3),()=>{const _0x4da6b3=_0x542cda;this[_0x4da6b3(0xaa)]();}),_0x7d6bb8[_0x542cda(0xb6)](_0x542cda(0xa4))['to'](this[_0x542cda(0xc8)][_0x542cda(0x9f)],_0x542cda(0xbe),this,_0x542cda(0xa4),(_0x5b1804,_0x11bbe1)=>!_0x5b1804&&_0x11bbe1),_0x7d6bb8;}[_0x5bb79c(0xb9)](){const _0x1b7c83=_0x5bb79c,_0x3ac380=new _0x33aef4(this[_0x1b7c83(0xba)]),_0x5e34b4=this[_0x1b7c83(0x9a)],_0x1eb394=this[_0x1b7c83(0xba)];_0x3ac380[_0x1b7c83(0x91)]({'label':_0x4c30d9(_0x1eb394,_0x1b7c83(0xad)),'withText':!0x1,'icon':_0x49a79c[_0x1b7c83(0x96)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1b7c83(0x8f)}),_0x3ac380[_0x1b7c83(0xb6)](_0x1b7c83(0xab))['to'](_0x5e34b4,_0x1b7c83(0xae)),_0x3ac380[_0x1b7c83(0xb6)](_0x1b7c83(0xa4))['to'](this,_0x1b7c83(0xa4)),_0x3ac380['on'](_0x1b7c83(0xb3),()=>{const _0xb6e799=_0x1b7c83;_0x5e34b4[_0xb6e799(0xae)]=!_0x5e34b4[_0xb6e799(0xae)],_0x5e34b4[_0xb6e799(0xae)]?this[_0xb6e799(0xb4)][_0xb6e799(0xc5)]():this[_0xb6e799(0xc5)]();});const _0x3dd224=()=>{const _0x5dc19e=_0x1b7c83;_0x5197d2[_0x5dc19e(0xc4)][_0x5dc19e(0x98)](()=>{const _0x36049c=_0x5dc19e;if(_0x595c33(this[_0x36049c(0xa9)])){const _0x29c59f=new _0x198c9d(this[_0x36049c(0xc8)][_0x36049c(0x9f)][_0x36049c(0xa9)]),_0x1ebaeb=_0x29c59f[_0x36049c(0x92)],_0x1235c4=_0x36049c(0x95)===_0x1eb394[_0x36049c(0x99)]?_0x36049c(0xbf):_0x36049c(0xac);_0x29c59f[_0x36049c(0xc7)](),_0x3ac380[_0x36049c(0xa9)][_0x36049c(0xa6)][_0x1235c4]=_0x1ebaeb-_0x29c59f[_0x36049c(0x92)]+0x1+'px';}});};return this[_0x1b7c83(0xc8)][_0x1b7c83(0x9f)]['on'](_0x1b7c83(0xb2),_0x3dd224),this['on'](_0x1b7c83(0xb1),_0x3dd224),_0x3ac380;}[_0x5bb79c(0xaa)](){const _0x461f2d=_0x5bb79c,_0x3f654c=this[_0x461f2d(0xc8)][_0x461f2d(0x9f)][_0x461f2d(0xa9)][_0x461f2d(0x90)];this[_0x461f2d(0xa7)](_0x461f2d(0xaa),_0x3f654c);}[_0x5bb79c(0xc5)](_0x1a6be3){const _0x444560=_0x5bb79c;-0x1===_0x1a6be3?this[_0x444560(0xbd)][_0x444560(0xc0)]():this[_0x444560(0xbd)][_0x444560(0xa0)]();}}function _0x20ff(){const _0x52e3f7=['fieldView','focusFirst','focusableChildren','24DhvNAQ','minRows','isEnabled','add','style','fire','children','element','submit','isOn','right','History','isVisible','ck-ai-form__submit','fieldWrapperChildren','render','update','execute','filteredView','keystrokes','bind','2574460qodSIG','65088TAobnp','_createShowHistoryButton','locale','target','Submit','focusCycler','isEmpty','left','focusLast','26220555wSQPID','1222530YdFaRz','387088EQHdee','window','focus','showHistoryButtonView','excludeScrollbarsAndBorders','queryView','ck-ai-form__toggle-history','value','set','width','_createSubmitButton','enter','rtl','history','submitButtonView','requestAnimationFrame','uiLanguageDirection','resultsView','705411PpTQmE','240Borhha','597930LXKXli','maxRows'];_0x20ff=function(){return _0x52e3f7;};return _0x20ff();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ee3a8=_0x1717;(function(_0x14f07b,_0x535881){const _0x220641=_0x1717,_0x5ef5d8=_0x14f07b();while(!![]){try{const _0x260590=parseInt(_0x220641(0xff))/0x1+parseInt(_0x220641(0xea))/0x2*(-parseInt(_0x220641(0xf9))/0x3)+-parseInt(_0x220641(0xe8))/0x4*(-parseInt(_0x220641(0xf4))/0x5)+-parseInt(_0x220641(0xf7))/0x6+parseInt(_0x220641(0xfd))/0x7*(-parseInt(_0x220641(0xeb))/0x8)+parseInt(_0x220641(0xe3))/0x9+parseInt(_0x220641(0xfe))/0xa*(-parseInt(_0x220641(0xec))/0xb);if(_0x260590===_0x535881)break;else _0x5ef5d8['push'](_0x5ef5d8['shift']());}catch(_0x287ca2){_0x5ef5d8['push'](_0x5ef5d8['shift']());}}}(_0x390b,0x61afb));import{ToolbarView as _0x3b805c,ButtonView as _0x192ce5}from'ckeditor5/src/ui.js';import{getTranslation as _0x10d086}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4ee3a8(0xe6),'INSERT':_0x4ee3a8(0xf8)};function _0x1717(_0x54318c,_0x53ba57){const _0x390b41=_0x390b();return _0x1717=function(_0x171795,_0x465af8){_0x171795=_0x171795-0xdf;let _0xa9307e=_0x390b41[_0x171795];return _0xa9307e;},_0x1717(_0x54318c,_0x53ba57);}function _0x390b(){const _0x10b170=['locale','_CONTENT','AI_','1307300XzNsvK','Stop','ck-button-action','3233190FtkuQN','insert','1371vJSCeQ','ck-hidden','Try\x20again','label','5448499wCPrhv','10iOTXLp','634561eLoUZt','bind','set','extendTemplate','Insert\x20below','_createButton','toUpperCase','items','mainAction','ck-ai-form__toolbar','5331717lUKgdL','addMany','stopButton','replace','isVisible','12ixTyio','tryAgainButton','816vwMeqw','8guZjnP','1183083twTHVL','replaceButton','insertButton','bindTemplate','REPLACE'];_0x390b=function(){return _0x10b170;};return _0x390b();}export default class Tt extends _0x3b805c{constructor(_0x4af96e){const _0x3a5e75=_0x4ee3a8;super(_0x4af96e),this[_0x3a5e75(0x101)](_0x3a5e75(0xe7),!0x1),this[_0x3a5e75(0x101)](_0x3a5e75(0xe1),AIFormToolbarViewMainActionLabel[_0x3a5e75(0xf0)]),this[_0x3a5e75(0xed)]=this[_0x3a5e75(0x104)]('',_0x3a5e75(0xf6)),this[_0x3a5e75(0xed)][_0x3a5e75(0x100)](_0x3a5e75(0xfc))['to'](this,_0x3a5e75(0xe1),_0x442439=>_0x10d086(_0x4af96e,_0x3a5e75(0xf3)+_0x442439[_0x3a5e75(0xdf)]()+_0x3a5e75(0xf2))),this[_0x3a5e75(0xee)]=this[_0x3a5e75(0x104)](_0x10d086(_0x4af96e,_0x3a5e75(0x103))),this[_0x3a5e75(0xe9)]=this[_0x3a5e75(0x104)](_0x10d086(_0x4af96e,_0x3a5e75(0xfb))),this[_0x3a5e75(0xe5)]=this[_0x3a5e75(0x104)](_0x10d086(_0x4af96e,_0x3a5e75(0xf5)));const _0x59d548=this[_0x3a5e75(0xef)];this[_0x3a5e75(0x102)]({'attributes':{'class':[_0x3a5e75(0xe2),_0x59d548['if'](_0x3a5e75(0xe7),_0x3a5e75(0xfa),_0x1738c9=>!_0x1738c9)]}}),this[_0x3a5e75(0xe0)][_0x3a5e75(0xe4)]([this[_0x3a5e75(0xed)],this[_0x3a5e75(0xee)],this[_0x3a5e75(0xe9)],this[_0x3a5e75(0xe5)]]);}[_0x4ee3a8(0x104)](_0x27f336,_0x1ba4cd){const _0x1be440=_0x4ee3a8,_0x10d42a=new _0x192ce5(this[_0x1be440(0xf1)]);return _0x10d42a[_0x1be440(0x101)]({'label':_0x27f336,'class':_0x1ba4cd||'','isVisible':!0x0,'withText':!0x0}),_0x10d42a;}}
23
+ const _0x553a1d=_0x5bac;(function(_0x23ae94,_0x526353){const _0x21d4b2=_0x5bac,_0x31b11f=_0x23ae94();while(!![]){try{const _0x51e7ef=parseInt(_0x21d4b2(0x1ea))/0x1+parseInt(_0x21d4b2(0x1eb))/0x2+parseInt(_0x21d4b2(0x202))/0x3+parseInt(_0x21d4b2(0x1fc))/0x4+parseInt(_0x21d4b2(0x20b))/0x5+parseInt(_0x21d4b2(0x1ff))/0x6*(-parseInt(_0x21d4b2(0x1f8))/0x7)+-parseInt(_0x21d4b2(0x201))/0x8;if(_0x51e7ef===_0x526353)break;else _0x31b11f['push'](_0x31b11f['shift']());}catch(_0x172ff2){_0x31b11f['push'](_0x31b11f['shift']());}}}(_0x2bf3,0x6f6fc));import{ToolbarView as _0x3f2ebc,ButtonView as _0x1e7b94}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b54c9}from'../../utils/common-translations.js';function _0x5bac(_0x9724fd,_0x3af9a8){const _0x2bf3a3=_0x2bf3();return _0x5bac=function(_0x5bac66,_0x17b4f1){_0x5bac66=_0x5bac66-0x1ea;let _0x5dc9cc=_0x2bf3a3[_0x5bac66];return _0x5dc9cc;},_0x5bac(_0x9724fd,_0x3af9a8);}function _0x2bf3(){const _0x572e7d=['items','_createButton','replaceButton','920297SoZbTk','insertButton','addMany','AI_','2200488SilHsZ','Try\x20again','insert','24ilTYhy','set','10142232sLSSTA','2686008UTHQZq','mainAction','toUpperCase','label','replace','bindTemplate','Stop','ck-hidden','Insert\x20below','430765mlnLcp','locale','233951kTQloC','969090ZDmUaV','ck-button-action','_CONTENT','bind','tryAgainButton','isVisible','extendTemplate','stopButton','REPLACE','ck-ai-form__toolbar'];_0x2bf3=function(){return _0x572e7d;};return _0x2bf3();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x553a1d(0x206),'INSERT':_0x553a1d(0x1fe)};export default class Tt extends _0x3f2ebc{constructor(_0x2f1669){const _0x1ed7e8=_0x553a1d;super(_0x2f1669),this[_0x1ed7e8(0x200)](_0x1ed7e8(0x1f0),!0x1),this[_0x1ed7e8(0x200)](_0x1ed7e8(0x203),AIFormToolbarViewMainActionLabel[_0x1ed7e8(0x1f3)]),this[_0x1ed7e8(0x1f7)]=this[_0x1ed7e8(0x1f6)]('',_0x1ed7e8(0x1ec)),this[_0x1ed7e8(0x1f7)][_0x1ed7e8(0x1ee)](_0x1ed7e8(0x205))['to'](this,_0x1ed7e8(0x203),_0x23c407=>_0x4b54c9(_0x2f1669,_0x1ed7e8(0x1fb)+_0x23c407[_0x1ed7e8(0x204)]()+_0x1ed7e8(0x1ed))),this[_0x1ed7e8(0x1f9)]=this[_0x1ed7e8(0x1f6)](_0x4b54c9(_0x2f1669,_0x1ed7e8(0x20a))),this[_0x1ed7e8(0x1ef)]=this[_0x1ed7e8(0x1f6)](_0x4b54c9(_0x2f1669,_0x1ed7e8(0x1fd))),this[_0x1ed7e8(0x1f2)]=this[_0x1ed7e8(0x1f6)](_0x4b54c9(_0x2f1669,_0x1ed7e8(0x208)));const _0x18c1d6=this[_0x1ed7e8(0x207)];this[_0x1ed7e8(0x1f1)]({'attributes':{'class':[_0x1ed7e8(0x1f4),_0x18c1d6['if'](_0x1ed7e8(0x1f0),_0x1ed7e8(0x209),_0x2bdbf3=>!_0x2bdbf3)]}}),this[_0x1ed7e8(0x1f5)][_0x1ed7e8(0x1fa)]([this[_0x1ed7e8(0x1f7)],this[_0x1ed7e8(0x1f9)],this[_0x1ed7e8(0x1ef)],this[_0x1ed7e8(0x1f2)]]);}[_0x553a1d(0x1f6)](_0x360108,_0x22ebef){const _0x52bdde=_0x553a1d,_0x4c0c7e=new _0x1e7b94(this[_0x52bdde(0x20c)]);return _0x4c0c7e[_0x52bdde(0x200)]({'label':_0x360108,'class':_0x22ebef||'','isVisible':!0x0,'withText':!0x0}),_0x4c0c7e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50772e=_0x2be5;function _0x2be5(_0x3713e9,_0x17792b){const _0x282b89=_0x282b();return _0x2be5=function(_0x2be590,_0x30a3a6){_0x2be590=_0x2be590-0xdd;let _0x413c4d=_0x282b89[_0x2be590];return _0x413c4d;},_0x2be5(_0x3713e9,_0x17792b);}(function(_0x19e0a7,_0xbce794){const _0x3801c9=_0x2be5,_0x42ae9f=_0x19e0a7();while(!![]){try{const _0x3c11a2=-parseInt(_0x3801c9(0x126))/0x1*(parseInt(_0x3801c9(0x129))/0x2)+-parseInt(_0x3801c9(0x109))/0x3*(-parseInt(_0x3801c9(0xfe))/0x4)+parseInt(_0x3801c9(0xe9))/0x5+-parseInt(_0x3801c9(0xea))/0x6+parseInt(_0x3801c9(0xeb))/0x7*(parseInt(_0x3801c9(0xfc))/0x8)+-parseInt(_0x3801c9(0xe8))/0x9+-parseInt(_0x3801c9(0x11c))/0xa;if(_0x3c11a2===_0xbce794)break;else _0x42ae9f['push'](_0x42ae9f['shift']());}catch(_0x38b315){_0x42ae9f['push'](_0x42ae9f['shift']());}}}(_0x282b,0xd27ad));import{FocusTracker as _0xb17bef,KeystrokeHandler as _0x1d239c}from'ckeditor5/src/utils.js';import{View as _0x43b3ef,FocusCycler as _0x3636a6,createLabeledTextarea as _0x36d863}from'ckeditor5/src/ui.js';import _0x3040cb,{AIFormToolbarViewMainActionLabel as _0x11cdc3}from'./aiformtoolbarview.js';import _0x58264e from'./aiformcontentarea.js';import _0x362c01 from'./aiformerrorview.js';import _0x1a5ae7 from'./aiformpromptview.js';import _0x55e9d6 from'./aihistorylistview.js';import _0x424429 from'./aihistorylistitemview.js';import _0x55faf3 from'./prompthistory.js';import{getTranslation as _0x15cb10}from'../../utils/common-translations.js';import{escape as _0x5086fc}from'lodash-es';function _0x282b(){const _0x3ef1cd=['Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_promptHistory','5472630tUEfCp','backwardCycle','Empty\x20history','focusPrevious','stop','copyButtonView','errorView','contentArea','execute','shift\x20+\x20tab','18253eAsZFS','search','handleError','82rJBpwI','_createPromptView','mainAction','focusTracker','queryView','fieldView','Ask\x20AI\x20to\x20edit\x20or\x20generate','prompt','forwardCycle','render','fire','delegate','trim','high','tab','insertContentBelow','replaceButton','add','isProcessing','listenTo','set','focusFirst','bindTemplate','isEnabled','4643937afeJOJ','7898505uXBTnv','2881812asqhVv','14ANfCWZ','label','tryAgainButton','div','value','focusNext','submitPrompt','clear','promptView','clearHistory','_focusables','focus','createCollection','REPLACE','text','reset','isVisible','5532872NIPKkd','bindTo','4UELsIa','Ask\x20AI\x20to\x20improve\x20generated\x20text','stopButton','isError','focusCycler','toolbar','replaceContent','_createHistoryView','stopProcessing','insertButton','AI_ERROR_FAILED','573411sFjGpZ','ck-ai-form-content','setTemplate','locale','ck-ai-form','element','tryAgainEvent','keystrokes','bind','items','startProcessing','ck-hidden','historyGroupView','finishProcessing','_createToolbar','focusLast','submit'];_0x282b=function(){return _0x3ef1cd;};return _0x282b();}export default class x extends _0x43b3ef{constructor(_0x44b5cb,_0x55357c,_0x2724f5=''){const _0x1e25e7=_0x2be5;super(_0x44b5cb),this[_0x1e25e7(0xe4)](_0x1e25e7(0xe7),!0x0),this[_0x1e25e7(0xe4)](_0x1e25e7(0xe2),!0x1),this[_0x1e25e7(0xe4)](_0x1e25e7(0x130),''),this[_0x1e25e7(0xe4)](_0x1e25e7(0xef),''),this[_0x1e25e7(0xe4)](_0x1e25e7(0x101),!0x1),this[_0x1e25e7(0xe4)](_0x1e25e7(0x12b),_0x11cdc3[_0x1e25e7(0xf8)]),this[_0x1e25e7(0x11b)]=new _0x55faf3(),this[_0x1e25e7(0x122)]=new _0x362c01(_0x44b5cb),this[_0x1e25e7(0x123)]=new _0x58264e(_0x44b5cb,_0x2724f5),this[_0x1e25e7(0x123)][_0x1e25e7(0x111)](_0x1e25e7(0xe2))['to'](this),this[_0x1e25e7(0x123)][_0x1e25e7(0x111)](_0x1e25e7(0xef))['to'](this),this[_0x1e25e7(0x103)]=this[_0x1e25e7(0x117)](),this[_0x1e25e7(0x103)][_0x1e25e7(0x111)](_0x1e25e7(0x12b))['to'](this),this[_0x1e25e7(0xf3)]=this[_0x1e25e7(0x12a)](),this[_0x1e25e7(0x12c)]=new _0xb17bef(),this[_0x1e25e7(0x110)]=new _0x1d239c(),this[_0x1e25e7(0xf5)]=this[_0x1e25e7(0xf7)]([this[_0x1e25e7(0x123)],this[_0x1e25e7(0x123)][_0x1e25e7(0x121)],this[_0x1e25e7(0x103)],this[_0x1e25e7(0xf3)]]),this[_0x1e25e7(0x102)]=new _0x3636a6({'focusables':this[_0x1e25e7(0xf5)],'focusTracker':this[_0x1e25e7(0x12c)],'keystrokeHandler':this[_0x1e25e7(0x110)],'actions':{'focusPrevious':_0x1e25e7(0x125),'focusNext':_0x1e25e7(0xde)}}),this[_0x1e25e7(0xf3)][_0x1e25e7(0x102)]['on'](_0x1e25e7(0x131),_0x4e9b69=>{const _0x5b05d7=_0x1e25e7;this[_0x5b05d7(0x102)][_0x5b05d7(0xf0)](),_0x4e9b69[_0x5b05d7(0x120)]();}),this[_0x1e25e7(0xf3)][_0x1e25e7(0x102)]['on'](_0x1e25e7(0x11d),_0xac221c=>{const _0x23ba49=_0x1e25e7;this[_0x23ba49(0x102)][_0x23ba49(0x11f)](),_0xac221c[_0x23ba49(0x120)]();}),this[_0x1e25e7(0xf3)][_0x1e25e7(0x12d)][_0x1e25e7(0x12e)][_0x1e25e7(0x111)](_0x1e25e7(0xef))['to'](this,_0x1e25e7(0x130));const _0x4a9df8=this[_0x1e25e7(0xe6)];this[_0x1e25e7(0x10b)]({'tag':_0x1e25e7(0xee),'attributes':{'class':['ck',_0x1e25e7(0x10d),_0x55357c],'tabindex':'-1'},'children':[{'tag':_0x1e25e7(0xee),'attributes':{'class':['ck',_0x1e25e7(0x10a)]},'children':[{'tag':_0x1e25e7(0xee),'attributes':{'class':[_0x4a9df8['if'](_0x1e25e7(0x101),_0x1e25e7(0x114),_0x182bb2=>!_0x182bb2)]},'children':[this[_0x1e25e7(0x122)]]},this[_0x1e25e7(0x123)],this[_0x1e25e7(0x103)],this[_0x1e25e7(0xf3)]]}]});}[_0x50772e(0x132)](){const _0x47ce06=_0x50772e;super[_0x47ce06(0x132)](),this[_0x47ce06(0x12c)][_0x47ce06(0xe1)](this[_0x47ce06(0x123)][_0x47ce06(0x10e)]),this[_0x47ce06(0x12c)][_0x47ce06(0xe1)](this[_0x47ce06(0x123)][_0x47ce06(0x121)][_0x47ce06(0x10e)]),this[_0x47ce06(0x12c)][_0x47ce06(0xe1)](this[_0x47ce06(0x103)][_0x47ce06(0x10e)]),this[_0x47ce06(0x12c)][_0x47ce06(0xe1)](this[_0x47ce06(0xf3)][_0x47ce06(0x10e)]),this[_0x47ce06(0x110)][_0x47ce06(0xe3)](this[_0x47ce06(0x10e)]);}[_0x50772e(0xf6)](_0x17569b=0x1){const _0x3e40fe=_0x50772e;-0x1===_0x17569b?this[_0x3e40fe(0x102)][_0x3e40fe(0x118)]():this[_0x3e40fe(0x102)][_0x3e40fe(0xe5)]();}[_0x50772e(0xfa)](){const _0x4d35ff=_0x50772e;this[_0x4d35ff(0x130)]='',this[_0x4d35ff(0xef)]='',this[_0x4d35ff(0x101)]=!0x1,this[_0x4d35ff(0xf3)][_0x4d35ff(0xfa)](),this[_0x4d35ff(0x123)][_0x4d35ff(0xfb)]=!0x1,this[_0x4d35ff(0x103)][_0x4d35ff(0xfb)]=!0x1;}[_0x50772e(0x12a)](){const _0x139dfd=_0x50772e,_0x11650c=this[_0x139dfd(0x10c)],_0x51e6b2=new _0x1a5ae7(_0x11650c,{'queryView':{'label':_0x15cb10(_0x11650c,_0x139dfd(0x12f)),'creator':_0x36d863,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x15cb10(_0x11650c,_0x139dfd(0x11e)),'secondary':_0x15cb10(_0x11650c,_0x139dfd(0x11a))}}},'filteredView':this[_0x139dfd(0x105)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x51e6b2[_0x139dfd(0x111)](_0x139dfd(0xe7))['to'](this,_0x139dfd(0xe7),this,_0x139dfd(0xe2),(_0x30a672,_0x382986)=>_0x30a672&&!_0x382986),this[_0x139dfd(0xe3)](_0x51e6b2,_0x139dfd(0x119),(_0x30a871,_0xade17f)=>{const _0x2fca42=_0x139dfd;this[_0x2fca42(0x130)]=_0xade17f;const _0x317b36=_0x5086fc(_0xade17f);this[_0x2fca42(0x133)](_0x2fca42(0xf1),_0x317b36),_0xade17f[_0x2fca42(0x135)]()&&this[_0x2fca42(0x11b)][_0x2fca42(0xe1)]({'prompt':_0x317b36},0x0);},{'priority':_0x139dfd(0xdd)}),_0x51e6b2;}[_0x50772e(0x105)](){const _0x130988=_0x50772e,_0x54df84=new _0x55e9d6(this[_0x130988(0x10c)]);return _0x54df84[_0x130988(0x115)][_0x130988(0x112)][_0x130988(0xfd)](this[_0x130988(0x11b)])['as'](_0x424429),_0x54df84['on'](_0x130988(0xf4),()=>{const _0x219b19=_0x130988;this[_0x219b19(0x11b)][_0x219b19(0xf2)](),this[_0x219b19(0xf3)][_0x219b19(0x127)](''),this[_0x219b19(0xf3)][_0x219b19(0xf6)]();}),_0x54df84;}[_0x50772e(0x117)](){const _0x2d019f=_0x50772e,_0x1eebdd=new _0x3040cb(this[_0x2d019f(0x10c)]);return _0x1eebdd[_0x2d019f(0xe0)][_0x2d019f(0x111)](_0x2d019f(0xe7))['to'](this,_0x2d019f(0xe7),this,_0x2d019f(0xe2),this,_0x2d019f(0xef),(_0x4a121b,_0x5e2ff2,_0x207a59)=>_0x4a121b&&!_0x5e2ff2&&!!_0x207a59),_0x1eebdd[_0x2d019f(0xe0)][_0x2d019f(0x134)](_0x2d019f(0x124))['to'](this,_0x2d019f(0x104)),_0x1eebdd[_0x2d019f(0x107)][_0x2d019f(0x111)](_0x2d019f(0xe7))['to'](this,_0x2d019f(0xe7),this,_0x2d019f(0xe2),this,_0x2d019f(0xef),(_0x49f5a6,_0x41ef36,_0x58a5cc)=>_0x49f5a6&&!_0x41ef36&&!!_0x58a5cc),_0x1eebdd[_0x2d019f(0x107)][_0x2d019f(0x134)](_0x2d019f(0x124))['to'](this,_0x2d019f(0xdf)),_0x1eebdd[_0x2d019f(0xed)][_0x2d019f(0x111)](_0x2d019f(0xe7))['to'](this,_0x2d019f(0xe7),this,_0x2d019f(0xe2),(_0x2931c3,_0x12b252)=>_0x2931c3&&!_0x12b252),_0x1eebdd[_0x2d019f(0xed)][_0x2d019f(0x134)](_0x2d019f(0x124))['to'](this,_0x2d019f(0x10f)),_0x1eebdd[_0x2d019f(0x100)][_0x2d019f(0x111)](_0x2d019f(0xe7))['to'](this,_0x2d019f(0xe2)),_0x1eebdd[_0x2d019f(0x100)][_0x2d019f(0x134)](_0x2d019f(0x124))['to'](this,_0x2d019f(0x106)),_0x1eebdd;}[_0x50772e(0x113)](){const _0x179fed=_0x50772e;this[_0x179fed(0xef)]='',this[_0x179fed(0x101)]=!0x1,this[_0x179fed(0xe2)]=!0x0,this[_0x179fed(0x123)][_0x179fed(0xfb)]=!0x0,this[_0x179fed(0x103)][_0x179fed(0xfb)]=!0x0,this[_0x179fed(0x123)][_0x179fed(0xf6)]();}[_0x50772e(0x116)](){const _0x8d77fc=_0x50772e,_0x16cde2=this[_0x8d77fc(0x10c)];this[_0x8d77fc(0xe2)]=!0x1,this[_0x8d77fc(0x130)]='',this[_0x8d77fc(0xf3)][_0x8d77fc(0xfa)](),this[_0x8d77fc(0xef)]&&(this[_0x8d77fc(0xf3)][_0x8d77fc(0x12d)][_0x8d77fc(0xec)]=_0x15cb10(_0x16cde2,_0x8d77fc(0xff)));}[_0x50772e(0x128)](_0x29df50){const _0x301101=_0x50772e,_0x2a9796=this[_0x301101(0x10c)];this[_0x301101(0x116)](),this[_0x301101(0x101)]=!0x0,this[_0x301101(0x122)][_0x301101(0xf9)]=_0x29df50||_0x15cb10(_0x2a9796,_0x301101(0x108)),this[_0x301101(0xef)]||(this[_0x301101(0x123)][_0x301101(0xfb)]=!0x1);}}
23
+ const _0x245d59=_0x2525;(function(_0x4d4b79,_0x427c94){const _0x5c665e=_0x2525,_0x23edc8=_0x4d4b79();while(!![]){try{const _0x131d4c=-parseInt(_0x5c665e(0x1bb))/0x1*(parseInt(_0x5c665e(0x1c2))/0x2)+-parseInt(_0x5c665e(0x18a))/0x3+-parseInt(_0x5c665e(0x18e))/0x4+-parseInt(_0x5c665e(0x1a5))/0x5+parseInt(_0x5c665e(0x182))/0x6+parseInt(_0x5c665e(0x1b1))/0x7*(parseInt(_0x5c665e(0x185))/0x8)+parseInt(_0x5c665e(0x1b2))/0x9;if(_0x131d4c===_0x427c94)break;else _0x23edc8['push'](_0x23edc8['shift']());}catch(_0x480f8e){_0x23edc8['push'](_0x23edc8['shift']());}}}(_0x4ab3,0x98231));import{FocusTracker as _0x98794e,KeystrokeHandler as _0x31c1c9}from'ckeditor5/src/utils.js';function _0x4ab3(){const _0x26a42f=['forwardCycle','keystrokes','4030182oymcdc','isVisible','stopButton','85216LPbeSg','finishProcessing','promptView','_promptHistory','clearHistory','3327426wgEKEP','locale','add','backwardCycle','1249776UThaga','insertButton','mainAction','AI_ERROR_FAILED','isError','Ask\x20AI\x20to\x20improve\x20generated\x20text','clear','bindTo','focusNext','fire','fieldView','queryView','shift\x20+\x20tab','focusFirst','replaceButton','isEnabled','_createPromptView','reset','label','bind','value','trim','replaceContent','5609750oTbRZi','items','prompt','element','search','stop','startProcessing','div','set','REPLACE','focusLast','tab','189VtewSR','25471449CDTqUx','execute','Empty\x20history','high','stopProcessing','render','setTemplate','text','delegate','69197lIoenF','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','listenTo','copyButtonView','historyGroupView','ck-ai-form','handleError','18QDvmHw','insertContentBelow','tryAgainButton','focusTracker','_createHistoryView','submit','isProcessing','toolbar','focusPrevious','createCollection','Ask\x20AI\x20to\x20edit\x20or\x20generate','errorView','focusCycler','submitPrompt','tryAgainEvent','ck-hidden','focus','bindTemplate','contentArea','_focusables','_createToolbar','ck-ai-form-content'];_0x4ab3=function(){return _0x26a42f;};return _0x4ab3();}import{View as _0x254f32,FocusCycler as _0x5b4191,createLabeledTextarea as _0x1b03b9}from'ckeditor5/src/ui.js';import _0x523d40,{AIFormToolbarViewMainActionLabel as _0x4875bb}from'./aiformtoolbarview.js';import _0x2cc8d4 from'./aiformcontentarea.js';function _0x2525(_0x146623,_0xa3e86){const _0x4ab37e=_0x4ab3();return _0x2525=function(_0x252561,_0x40f403){_0x252561=_0x252561-0x177;let _0x5ca291=_0x4ab37e[_0x252561];return _0x5ca291;},_0x2525(_0x146623,_0xa3e86);}import _0x1067a3 from'./aiformerrorview.js';import _0x59e9ce from'./aiformpromptview.js';import _0x2e0614 from'./aihistorylistview.js';import _0xa17488 from'./aihistorylistitemview.js';import _0x7678e2 from'./prompthistory.js';import{getTranslation as _0xa771a1}from'../../utils/common-translations.js';import{escape as _0x99b96}from'lodash-es';export default class x extends _0x254f32{constructor(_0x2e8cf4,_0x466865,_0x97acfe=''){const _0x2a0316=_0x2525;super(_0x2e8cf4),this[_0x2a0316(0x1ad)](_0x2a0316(0x19d),!0x0),this[_0x2a0316(0x1ad)](_0x2a0316(0x1c8),!0x1),this[_0x2a0316(0x1ad)](_0x2a0316(0x1a7),''),this[_0x2a0316(0x1ad)](_0x2a0316(0x1a2),''),this[_0x2a0316(0x1ad)](_0x2a0316(0x192),!0x1),this[_0x2a0316(0x1ad)](_0x2a0316(0x190),_0x4875bb[_0x2a0316(0x1ae)]),this[_0x2a0316(0x188)]=new _0x7678e2(),this[_0x2a0316(0x1cd)]=new _0x1067a3(_0x2e8cf4),this[_0x2a0316(0x17c)]=new _0x2cc8d4(_0x2e8cf4,_0x97acfe),this[_0x2a0316(0x17c)][_0x2a0316(0x1a1)](_0x2a0316(0x1c8))['to'](this),this[_0x2a0316(0x17c)][_0x2a0316(0x1a1)](_0x2a0316(0x1a2))['to'](this),this[_0x2a0316(0x1c9)]=this[_0x2a0316(0x17e)](),this[_0x2a0316(0x1c9)][_0x2a0316(0x1a1)](_0x2a0316(0x190))['to'](this),this[_0x2a0316(0x187)]=this[_0x2a0316(0x19e)](),this[_0x2a0316(0x1c5)]=new _0x98794e(),this[_0x2a0316(0x181)]=new _0x31c1c9(),this[_0x2a0316(0x17d)]=this[_0x2a0316(0x1cb)]([this[_0x2a0316(0x17c)],this[_0x2a0316(0x17c)][_0x2a0316(0x1be)],this[_0x2a0316(0x1c9)],this[_0x2a0316(0x187)]]),this[_0x2a0316(0x1ce)]=new _0x5b4191({'focusables':this[_0x2a0316(0x17d)],'focusTracker':this[_0x2a0316(0x1c5)],'keystrokeHandler':this[_0x2a0316(0x181)],'actions':{'focusPrevious':_0x2a0316(0x19a),'focusNext':_0x2a0316(0x1b0)}}),this[_0x2a0316(0x187)][_0x2a0316(0x1ce)]['on'](_0x2a0316(0x180),_0x272354=>{const _0x4043a5=_0x2a0316;this[_0x4043a5(0x1ce)][_0x4043a5(0x196)](),_0x272354[_0x4043a5(0x1aa)]();}),this[_0x2a0316(0x187)][_0x2a0316(0x1ce)]['on'](_0x2a0316(0x18d),_0x1ffbcf=>{const _0x55a2b1=_0x2a0316;this[_0x55a2b1(0x1ce)][_0x55a2b1(0x1ca)](),_0x1ffbcf[_0x55a2b1(0x1aa)]();}),this[_0x2a0316(0x187)][_0x2a0316(0x199)][_0x2a0316(0x198)][_0x2a0316(0x1a1)](_0x2a0316(0x1a2))['to'](this,_0x2a0316(0x1a7));const _0x5094ad=this[_0x2a0316(0x17b)];this[_0x2a0316(0x1b8)]({'tag':_0x2a0316(0x1ac),'attributes':{'class':['ck',_0x2a0316(0x1c0),_0x466865],'tabindex':'-1'},'children':[{'tag':_0x2a0316(0x1ac),'attributes':{'class':['ck',_0x2a0316(0x17f)]},'children':[{'tag':_0x2a0316(0x1ac),'attributes':{'class':[_0x5094ad['if'](_0x2a0316(0x192),_0x2a0316(0x179),_0x8e5afa=>!_0x8e5afa)]},'children':[this[_0x2a0316(0x1cd)]]},this[_0x2a0316(0x17c)],this[_0x2a0316(0x1c9)],this[_0x2a0316(0x187)]]}]});}[_0x245d59(0x1b7)](){const _0x367f05=_0x245d59;super[_0x367f05(0x1b7)](),this[_0x367f05(0x1c5)][_0x367f05(0x18c)](this[_0x367f05(0x17c)][_0x367f05(0x1a8)]),this[_0x367f05(0x1c5)][_0x367f05(0x18c)](this[_0x367f05(0x17c)][_0x367f05(0x1be)][_0x367f05(0x1a8)]),this[_0x367f05(0x1c5)][_0x367f05(0x18c)](this[_0x367f05(0x1c9)][_0x367f05(0x1a8)]),this[_0x367f05(0x1c5)][_0x367f05(0x18c)](this[_0x367f05(0x187)][_0x367f05(0x1a8)]),this[_0x367f05(0x181)][_0x367f05(0x1bd)](this[_0x367f05(0x1a8)]);}[_0x245d59(0x17a)](_0x23fdcb=0x1){const _0x59f5cd=_0x245d59;-0x1===_0x23fdcb?this[_0x59f5cd(0x1ce)][_0x59f5cd(0x1af)]():this[_0x59f5cd(0x1ce)][_0x59f5cd(0x19b)]();}[_0x245d59(0x19f)](){const _0x123ab4=_0x245d59;this[_0x123ab4(0x1a7)]='',this[_0x123ab4(0x1a2)]='',this[_0x123ab4(0x192)]=!0x1,this[_0x123ab4(0x187)][_0x123ab4(0x19f)](),this[_0x123ab4(0x17c)][_0x123ab4(0x183)]=!0x1,this[_0x123ab4(0x1c9)][_0x123ab4(0x183)]=!0x1;}[_0x245d59(0x19e)](){const _0x31ed37=_0x245d59,_0x4c4be4=this[_0x31ed37(0x18b)],_0x4625b9=new _0x59e9ce(_0x4c4be4,{'queryView':{'label':_0xa771a1(_0x4c4be4,_0x31ed37(0x1cc)),'creator':_0x1b03b9,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xa771a1(_0x4c4be4,_0x31ed37(0x1b4)),'secondary':_0xa771a1(_0x4c4be4,_0x31ed37(0x1bc))}}},'filteredView':this[_0x31ed37(0x1c6)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4625b9[_0x31ed37(0x1a1)](_0x31ed37(0x19d))['to'](this,_0x31ed37(0x19d),this,_0x31ed37(0x1c8),(_0x5648ab,_0x29a780)=>_0x5648ab&&!_0x29a780),this[_0x31ed37(0x1bd)](_0x4625b9,_0x31ed37(0x1c7),(_0x5d7a8c,_0x1e93f4)=>{const _0x4684dc=_0x31ed37;this[_0x4684dc(0x1a7)]=_0x1e93f4;const _0x44af32=_0x99b96(_0x1e93f4);this[_0x4684dc(0x197)](_0x4684dc(0x177),_0x44af32),_0x1e93f4[_0x4684dc(0x1a3)]()&&this[_0x4684dc(0x188)][_0x4684dc(0x18c)]({'prompt':_0x44af32},0x0);},{'priority':_0x31ed37(0x1b5)}),_0x4625b9;}[_0x245d59(0x1c6)](){const _0x3e1fb0=_0x245d59,_0x474e5a=new _0x2e0614(this[_0x3e1fb0(0x18b)]);return _0x474e5a[_0x3e1fb0(0x1bf)][_0x3e1fb0(0x1a6)][_0x3e1fb0(0x195)](this[_0x3e1fb0(0x188)])['as'](_0xa17488),_0x474e5a['on'](_0x3e1fb0(0x189),()=>{const _0x49b6cd=_0x3e1fb0;this[_0x49b6cd(0x188)][_0x49b6cd(0x194)](),this[_0x49b6cd(0x187)][_0x49b6cd(0x1a9)](''),this[_0x49b6cd(0x187)][_0x49b6cd(0x17a)]();}),_0x474e5a;}[_0x245d59(0x17e)](){const _0x523891=_0x245d59,_0xab9f0a=new _0x523d40(this[_0x523891(0x18b)]);return _0xab9f0a[_0x523891(0x19c)][_0x523891(0x1a1)](_0x523891(0x19d))['to'](this,_0x523891(0x19d),this,_0x523891(0x1c8),this,_0x523891(0x1a2),(_0x3924d0,_0x1934be,_0x524359)=>_0x3924d0&&!_0x1934be&&!!_0x524359),_0xab9f0a[_0x523891(0x19c)][_0x523891(0x1ba)](_0x523891(0x1b3))['to'](this,_0x523891(0x1a4)),_0xab9f0a[_0x523891(0x18f)][_0x523891(0x1a1)](_0x523891(0x19d))['to'](this,_0x523891(0x19d),this,_0x523891(0x1c8),this,_0x523891(0x1a2),(_0x4c803f,_0x21a4c4,_0x242f97)=>_0x4c803f&&!_0x21a4c4&&!!_0x242f97),_0xab9f0a[_0x523891(0x18f)][_0x523891(0x1ba)](_0x523891(0x1b3))['to'](this,_0x523891(0x1c3)),_0xab9f0a[_0x523891(0x1c4)][_0x523891(0x1a1)](_0x523891(0x19d))['to'](this,_0x523891(0x19d),this,_0x523891(0x1c8),(_0x442919,_0x33d948)=>_0x442919&&!_0x33d948),_0xab9f0a[_0x523891(0x1c4)][_0x523891(0x1ba)](_0x523891(0x1b3))['to'](this,_0x523891(0x178)),_0xab9f0a[_0x523891(0x184)][_0x523891(0x1a1)](_0x523891(0x19d))['to'](this,_0x523891(0x1c8)),_0xab9f0a[_0x523891(0x184)][_0x523891(0x1ba)](_0x523891(0x1b3))['to'](this,_0x523891(0x1b6)),_0xab9f0a;}[_0x245d59(0x1ab)](){const _0x1d3ef8=_0x245d59;this[_0x1d3ef8(0x1a2)]='',this[_0x1d3ef8(0x192)]=!0x1,this[_0x1d3ef8(0x1c8)]=!0x0,this[_0x1d3ef8(0x17c)][_0x1d3ef8(0x183)]=!0x0,this[_0x1d3ef8(0x1c9)][_0x1d3ef8(0x183)]=!0x0,this[_0x1d3ef8(0x17c)][_0x1d3ef8(0x17a)]();}[_0x245d59(0x186)](){const _0x48a649=_0x245d59,_0x41c28c=this[_0x48a649(0x18b)];this[_0x48a649(0x1c8)]=!0x1,this[_0x48a649(0x1a7)]='',this[_0x48a649(0x187)][_0x48a649(0x19f)](),this[_0x48a649(0x1a2)]&&(this[_0x48a649(0x187)][_0x48a649(0x199)][_0x48a649(0x1a0)]=_0xa771a1(_0x41c28c,_0x48a649(0x193)));}[_0x245d59(0x1c1)](_0x38d948){const _0x5b6342=_0x245d59,_0x3f6113=this[_0x5b6342(0x18b)];this[_0x5b6342(0x186)](),this[_0x5b6342(0x192)]=!0x0,this[_0x5b6342(0x1cd)][_0x5b6342(0x1b9)]=_0x38d948||_0xa771a1(_0x3f6113,_0x5b6342(0x191)),this[_0x5b6342(0x1a2)]||(this[_0x5b6342(0x17c)][_0x5b6342(0x183)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x489a74,_0x431ea0){const _0x4488ca=_0x4384,_0x3336f8=_0x489a74();while(!![]){try{const _0xd15b8f=parseInt(_0x4488ca(0x121))/0x1*(-parseInt(_0x4488ca(0x113))/0x2)+-parseInt(_0x4488ca(0x11e))/0x3+-parseInt(_0x4488ca(0x119))/0x4+parseInt(_0x4488ca(0x11d))/0x5+-parseInt(_0x4488ca(0x11b))/0x6*(parseInt(_0x4488ca(0x118))/0x7)+-parseInt(_0x4488ca(0x123))/0x8*(parseInt(_0x4488ca(0x11c))/0x9)+parseInt(_0x4488ca(0x115))/0xa;if(_0xd15b8f===_0x431ea0)break;else _0x3336f8['push'](_0x3336f8['shift']());}catch(_0x50a514){_0x3336f8['push'](_0x3336f8['shift']());}}}(_0x5ed1,0xec7c8));import{ListItemView as _0x391d55,ButtonView as _0x4f8a5f}from'ckeditor5/src/ui.js';function _0x4384(_0x9a9f9d,_0x109a68){const _0x5ed170=_0x5ed1();return _0x4384=function(_0x4384ed,_0x31dd8c){_0x4384ed=_0x4384ed-0x113;let _0x2426e0=_0x5ed170[_0x4384ed];return _0x2426e0;},_0x4384(_0x9a9f9d,_0x109a68);}function _0x5ed1(){const _0x4784b3=['13688ozYEZk','2850682lDKlBm','prompt','62012990UOrvzm','locale','add','7161259WhiEYe','5163772bzpUqt','execute','6apTJsQ','9864zVGabA','9103205ygJrpH','4316145GyNrTz','children','fire','1VaLWNK','set'];_0x5ed1=function(){return _0x4784b3;};return _0x5ed1();}import _0x271068 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x58daa5}from'lodash-es';export default class hs extends _0x391d55{constructor(_0x250fb2){const _0x355f2f=_0x4384;super();const _0x4e9852=new _0x271068(),_0x33afc8=new _0x4f8a5f(this[_0x355f2f(0x116)],_0x4e9852);this[_0x355f2f(0x11f)][_0x355f2f(0x117)](_0x33afc8),_0x33afc8[_0x355f2f(0x122)]({'label':_0x250fb2[_0x355f2f(0x114)],'withText':!0x0}),_0x33afc8['on'](_0x355f2f(0x11a),()=>{const _0x383d8b=_0x355f2f;this[_0x383d8b(0x120)](_0x383d8b(0x11a),{'value':_0x58daa5(_0x250fb2[_0x383d8b(0x114)])});});}}
23
+ function _0x4341(_0x574f34,_0x53dd48){const _0xf8322c=_0xf832();return _0x4341=function(_0x4341ea,_0x5acb43){_0x4341ea=_0x4341ea-0xf2;let _0x585d0a=_0xf8322c[_0x4341ea];return _0x585d0a;},_0x4341(_0x574f34,_0x53dd48);}(function(_0x36750e,_0x40d8c7){const _0x36b5fa=_0x4341,_0x4f8e7a=_0x36750e();while(!![]){try{const _0x1a44b2=-parseInt(_0x36b5fa(0xf4))/0x1*(parseInt(_0x36b5fa(0xf6))/0x2)+-parseInt(_0x36b5fa(0xfd))/0x3*(parseInt(_0x36b5fa(0xfe))/0x4)+-parseInt(_0x36b5fa(0x104))/0x5*(-parseInt(_0x36b5fa(0xf8))/0x6)+parseInt(_0x36b5fa(0xfc))/0x7+parseInt(_0x36b5fa(0xfb))/0x8*(parseInt(_0x36b5fa(0x100))/0x9)+parseInt(_0x36b5fa(0x102))/0xa+parseInt(_0x36b5fa(0x103))/0xb*(-parseInt(_0x36b5fa(0x101))/0xc);if(_0x1a44b2===_0x40d8c7)break;else _0x4f8e7a['push'](_0x4f8e7a['shift']());}catch(_0x5167ba){_0x4f8e7a['push'](_0x4f8e7a['shift']());}}}(_0xf832,0xe7f40));function _0xf832(){const _0x342a94=['set','fire','1VBIQif','children','1304702WwTwIt','locale','6IlxtGH','prompt','execute','48368QCsFZv','4104800KNchqD','1554411OSOvbg','8lktRlW','add','1179BgYsdE','580248xTwcgr','7073480LNLFgF','143zrfjbF','5907665zEcTKG'];_0xf832=function(){return _0x342a94;};return _0xf832();}import{ListItemView as _0x225605,ButtonView as _0x300dbd}from'ckeditor5/src/ui.js';import _0x4c80a8 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x504c92}from'lodash-es';export default class hs extends _0x225605{constructor(_0x50a5f9){const _0x3420f9=_0x4341;super();const _0x1945d4=new _0x4c80a8(),_0x48a1f4=new _0x300dbd(this[_0x3420f9(0xf7)],_0x1945d4);this[_0x3420f9(0xf5)][_0x3420f9(0xff)](_0x48a1f4),_0x48a1f4[_0x3420f9(0xf2)]({'label':_0x50a5f9[_0x3420f9(0xf9)],'withText':!0x0}),_0x48a1f4['on'](_0x3420f9(0xfa),()=>{const _0x5bfbf3=_0x3420f9;this[_0x5bfbf3(0xf3)](_0x5bfbf3(0xfa),{'value':_0x504c92(_0x50a5f9[_0x5bfbf3(0xf9)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x362ae6=_0x153e;(function(_0x446ac8,_0x175a19){const _0x4e499c=_0x153e,_0x216ddc=_0x446ac8();while(!![]){try{const _0x4bfc43=-parseInt(_0x4e499c(0xd2))/0x1*(-parseInt(_0x4e499c(0xd1))/0x2)+parseInt(_0x4e499c(0xcd))/0x3+-parseInt(_0x4e499c(0xd7))/0x4*(parseInt(_0x4e499c(0xc8))/0x5)+-parseInt(_0x4e499c(0xc9))/0x6+parseInt(_0x4e499c(0xd6))/0x7+-parseInt(_0x4e499c(0xce))/0x8+parseInt(_0x4e499c(0xde))/0x9;if(_0x4bfc43===_0x175a19)break;else _0x216ddc['push'](_0x216ddc['shift']());}catch(_0x415511){_0x216ddc['push'](_0x216ddc['shift']());}}}(_0x1c9b,0xbe325));import{ListView as _0x5f11e6,ListItemGroupView as _0x3a8568,ButtonView as _0x9fa0c9}from'ckeditor5/src/ui.js';function _0x1c9b(){const _0x36cf8f=['Prompt\x20history','1577931CqmKog','6509232sPPvbN','children','_createClearHistoryButton','898GsqMcs','2180fnKgGf','set','label','fire','1517355mzSjqr','1252uLivEA','add','locale','delegate','Clear','clearHistory','length','3503421xpbvOj','filter','clearHistoryButton','items','5105gNcKsT','1191354asiont','execute','historyGroupView'];_0x1c9b=function(){return _0x36cf8f;};return _0x1c9b();}import{getTranslation as _0x5c1e0f}from'../../utils/common-translations.js';function _0x153e(_0x5ed4d0,_0xb5b184){const _0x1c9b14=_0x1c9b();return _0x153e=function(_0x153e2d,_0x561743){_0x153e2d=_0x153e2d-0xc5;let _0x3a8571=_0x1c9b14[_0x153e2d];return _0x3a8571;},_0x153e(_0x5ed4d0,_0xb5b184);}export default class rs extends _0x5f11e6{constructor(_0x9597e5){const _0x2755ae=_0x153e;super(_0x9597e5),this[_0x2755ae(0xc6)]=this[_0x2755ae(0xd0)](),this[_0x2755ae(0xcb)]=new _0x3a8568(),this[_0x2755ae(0xcb)][_0x2755ae(0xcf)][_0x2755ae(0xd8)](this[_0x2755ae(0xc6)],0x1),this[_0x2755ae(0xcb)][_0x2755ae(0xd4)]=_0x5c1e0f(_0x9597e5,_0x2755ae(0xcc)),this[_0x2755ae(0xcb)][_0x2755ae(0xc7)][_0x2755ae(0xda)](_0x2755ae(0xca))['to'](this),this[_0x2755ae(0xc7)][_0x2755ae(0xd8)](this[_0x2755ae(0xcb)]);}[_0x362ae6(0xc5)](){const _0x2690ca=_0x362ae6;let _0x36f8ec=0x0;for(const _0x2fa5fc of this[_0x2690ca(0xc7)])_0x36f8ec+=_0x2fa5fc[_0x2690ca(0xc7)][_0x2690ca(0xdd)];return{'resultsCount':_0x36f8ec,'totalItemsCount':_0x36f8ec};}[_0x362ae6(0xd0)](){const _0x2f1078=_0x362ae6,_0x17a3af=this[_0x2f1078(0xd9)],_0x13e6e3=new _0x9fa0c9(this[_0x2f1078(0xd9)]);return _0x13e6e3[_0x2f1078(0xd3)]({'label':'('+_0x5c1e0f(_0x17a3af,_0x2f1078(0xdb))+')','withText':!0x0}),_0x13e6e3['on'](_0x2f1078(0xca),()=>this[_0x2f1078(0xd5)](_0x2f1078(0xdc))),_0x13e6e3;}}
23
+ function _0x30b6(){const _0x1e76d4=['4025ggMEcW','Clear','clearHistory','items','351081qxGbgO','historyGroupView','length','1033686hoscsD','set','clearHistoryButton','3147777jHIrPz','Prompt\x20history','fire','2GRkwSv','931240IQwGgc','children','locale','add','_createClearHistoryButton','execute','label','1043IlfAsI','filter','12424NyXqDf','delegate','381153olUcuR','1112qqKrtX'];_0x30b6=function(){return _0x1e76d4;};return _0x30b6();}const _0x517b2a=_0x1d39;(function(_0x4f38d7,_0x441c56){const _0x48eb13=_0x1d39,_0x136a9f=_0x4f38d7();while(!![]){try{const _0x2f97c3=-parseInt(_0x48eb13(0xb0))/0x1*(-parseInt(_0x48eb13(0x9e))/0x2)+-parseInt(_0x48eb13(0xaa))/0x3+-parseInt(_0x48eb13(0xab))/0x4*(-parseInt(_0x48eb13(0xac))/0x5)+-parseInt(_0x48eb13(0xb3))/0x6+parseInt(_0x48eb13(0xa6))/0x7*(parseInt(_0x48eb13(0xa8))/0x8)+-parseInt(_0x48eb13(0x9b))/0x9+parseInt(_0x48eb13(0x9f))/0xa;if(_0x2f97c3===_0x441c56)break;else _0x136a9f['push'](_0x136a9f['shift']());}catch(_0x49bd2f){_0x136a9f['push'](_0x136a9f['shift']());}}}(_0x30b6,0x3d1c3));import{ListView as _0x46af1b,ListItemGroupView as _0x20080a,ButtonView as _0x10a2a6}from'ckeditor5/src/ui.js';function _0x1d39(_0x1bd191,_0x233e33){const _0x30b6c7=_0x30b6();return _0x1d39=function(_0x1d39b1,_0x9abb73){_0x1d39b1=_0x1d39b1-0x99;let _0x450117=_0x30b6c7[_0x1d39b1];return _0x450117;},_0x1d39(_0x1bd191,_0x233e33);}import{getTranslation as _0x41793f}from'../../utils/common-translations.js';export default class rs extends _0x46af1b{constructor(_0xbfb353){const _0x4ee21e=_0x1d39;super(_0xbfb353),this[_0x4ee21e(0x9a)]=this[_0x4ee21e(0xa3)](),this[_0x4ee21e(0xb1)]=new _0x20080a(),this[_0x4ee21e(0xb1)][_0x4ee21e(0xa0)][_0x4ee21e(0xa2)](this[_0x4ee21e(0x9a)],0x1),this[_0x4ee21e(0xb1)][_0x4ee21e(0xa5)]=_0x41793f(_0xbfb353,_0x4ee21e(0x9c)),this[_0x4ee21e(0xb1)][_0x4ee21e(0xaf)][_0x4ee21e(0xa9)](_0x4ee21e(0xa4))['to'](this),this[_0x4ee21e(0xaf)][_0x4ee21e(0xa2)](this[_0x4ee21e(0xb1)]);}[_0x517b2a(0xa7)](){const _0x5ac9ff=_0x517b2a;let _0x4bbe39=0x0;for(const _0x86c624 of this[_0x5ac9ff(0xaf)])_0x4bbe39+=_0x86c624[_0x5ac9ff(0xaf)][_0x5ac9ff(0xb2)];return{'resultsCount':_0x4bbe39,'totalItemsCount':_0x4bbe39};}[_0x517b2a(0xa3)](){const _0x53b1fc=_0x517b2a,_0x234a7=this[_0x53b1fc(0xa1)],_0x21dbe5=new _0x10a2a6(this[_0x53b1fc(0xa1)]);return _0x21dbe5[_0x53b1fc(0x99)]({'label':'('+_0x41793f(_0x234a7,_0x53b1fc(0xad))+')','withText':!0x0}),_0x21dbe5['on'](_0x53b1fc(0xa4),()=>this[_0x53b1fc(0x9d)](_0x53b1fc(0xae))),_0x21dbe5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd3879d=_0x1b14;(function(_0x4b4822,_0x157aaf){const _0x443e2e=_0x1b14,_0x7b87a4=_0x4b4822();while(!![]){try{const _0x128fad=parseInt(_0x443e2e(0x204))/0x1+-parseInt(_0x443e2e(0x1f7))/0x2*(parseInt(_0x443e2e(0x1f3))/0x3)+-parseInt(_0x443e2e(0x206))/0x4*(parseInt(_0x443e2e(0x203))/0x5)+parseInt(_0x443e2e(0x1ff))/0x6*(parseInt(_0x443e2e(0x209))/0x7)+parseInt(_0x443e2e(0x1f6))/0x8*(-parseInt(_0x443e2e(0x1fc))/0x9)+parseInt(_0x443e2e(0x202))/0xa+-parseInt(_0x443e2e(0x200))/0xb*(parseInt(_0x443e2e(0x201))/0xc);if(_0x128fad===_0x157aaf)break;else _0x7b87a4['push'](_0x7b87a4['shift']());}catch(_0x42434d){_0x7b87a4['push'](_0x7b87a4['shift']());}}}(_0x23b6,0x6c30a));import{Collection as _0x531bf1}from'ckeditor5/src/utils.js';const cs=_0xd3879d(0x1f2);export default class os extends _0x531bf1{constructor(){const _0x5afe01=_0xd3879d;super(),this[_0x5afe01(0x1f4)](),this['on'](_0x5afe01(0x1f9),(_0x16f40e,_0x3b9bfc)=>{const _0x58d53a=_0x5afe01,_0x17867e=Ss(_0x3b9bfc[_0x58d53a(0x1fb)]);for(const _0x245bb0 of this)if(_0x245bb0!=_0x3b9bfc&&Ss(_0x245bb0[_0x58d53a(0x1fb)])===_0x17867e){this[_0x58d53a(0x1f8)](_0x245bb0);break;}this[_0x58d53a(0x1fd)]>0x14&&this[_0x58d53a(0x1f8)](this[_0x58d53a(0x1fa)]),this[_0x58d53a(0x20b)]();}),this['on'](_0x5afe01(0x1f8),()=>{const _0x35de11=_0x5afe01;this[_0x35de11(0x20b)]();});}[_0xd3879d(0x1f4)](){const _0x229c62=_0xd3879d,_0x12a6a3=sessionStorage[_0x229c62(0x1f1)](cs)||'[]';this[_0x229c62(0x1fe)](JSON[_0x229c62(0x1f0)](_0x12a6a3));}[_0xd3879d(0x20b)](){const _0x553d70=_0xd3879d;sessionStorage[_0x553d70(0x20a)](cs,JSON[_0x553d70(0x208)](this[_0x553d70(0x1f5)](_0x3ac29c=>_0x3ac29c)));}}function Ss(_0x2d3c1e){const _0x5c5b41=_0xd3879d;return _0x2d3c1e[_0x5c5b41(0x207)]()[_0x5c5b41(0x205)]();}function _0x1b14(_0x14e389,_0x41e21e){const _0x23b6cd=_0x23b6();return _0x1b14=function(_0x1b14d9,_0x2cf383){_0x1b14d9=_0x1b14d9-0x1f0;let _0x36326c=_0x23b6cd[_0x1b14d9];return _0x36326c;},_0x1b14(_0x14e389,_0x41e21e);}function _0x23b6(){const _0x3625c6=['_saveToSessionStorage','parse','getItem','CKEditor/AIFormView/PromptHistory','87uCPZNc','_loadFromSessionStorage','map','53240JNBUox','3054oWNKpL','remove','add','last','prompt','126IGNoBW','length','addMany','54XFuaNV','66ohKELA','785244dladBp','7835350kSFBRc','30rMpyIW','414485FHmgWP','trim','462628XRnDqQ','toLowerCase','stringify','364889pFmnXi','setItem'];_0x23b6=function(){return _0x3625c6;};return _0x23b6();}
23
+ const _0x241fa5=_0x709e;(function(_0x570c9e,_0x2b62f3){const _0x441f78=_0x709e,_0x1c4230=_0x570c9e();while(!![]){try{const _0x8e64d3=-parseInt(_0x441f78(0x1a9))/0x1+parseInt(_0x441f78(0x1a3))/0x2+-parseInt(_0x441f78(0x1b5))/0x3+-parseInt(_0x441f78(0x1a4))/0x4*(-parseInt(_0x441f78(0x1b9))/0x5)+parseInt(_0x441f78(0x1b3))/0x6+-parseInt(_0x441f78(0x1b8))/0x7+parseInt(_0x441f78(0x1af))/0x8*(parseInt(_0x441f78(0x1b6))/0x9);if(_0x8e64d3===_0x2b62f3)break;else _0x1c4230['push'](_0x1c4230['shift']());}catch(_0x2f6d68){_0x1c4230['push'](_0x1c4230['shift']());}}}(_0x40c4,0xc3ed3));import{Collection as _0x556149}from'ckeditor5/src/utils.js';function _0x40c4(){const _0x420fa0=['add','472164nUBCXa','length','4235181uExudl','54ThCNBb','trim','4958569osuEgf','57625HQdiPR','map','getItem','827056iUZrDi','344kdwoiR','prompt','remove','addMany','toLowerCase','1156225ybBlHG','_loadFromSessionStorage','CKEditor/AIFormView/PromptHistory','_saveToSessionStorage','last','setItem','3460616wonrBN','stringify','parse'];_0x40c4=function(){return _0x420fa0;};return _0x40c4();}function _0x709e(_0x1c8b6b,_0x39164e){const _0x40c42d=_0x40c4();return _0x709e=function(_0x709edd,_0x71e93d){_0x709edd=_0x709edd-0x1a1;let _0x3bf180=_0x40c42d[_0x709edd];return _0x3bf180;},_0x709e(_0x1c8b6b,_0x39164e);}const cs=_0x241fa5(0x1ab);export default class os extends _0x556149{constructor(){const _0x46a5a8=_0x241fa5;super(),this[_0x46a5a8(0x1aa)](),this['on'](_0x46a5a8(0x1b2),(_0x1ca42e,_0x975359)=>{const _0x39d015=_0x46a5a8,_0x265d3e=Ss(_0x975359[_0x39d015(0x1a5)]);for(const _0x495762 of this)if(_0x495762!=_0x975359&&Ss(_0x495762[_0x39d015(0x1a5)])===_0x265d3e){this[_0x39d015(0x1a6)](_0x495762);break;}this[_0x39d015(0x1b4)]>0x14&&this[_0x39d015(0x1a6)](this[_0x39d015(0x1ad)]),this[_0x39d015(0x1ac)]();}),this['on'](_0x46a5a8(0x1a6),()=>{const _0x42be2a=_0x46a5a8;this[_0x42be2a(0x1ac)]();});}[_0x241fa5(0x1aa)](){const _0x54d629=_0x241fa5,_0x295aaa=sessionStorage[_0x54d629(0x1a2)](cs)||'[]';this[_0x54d629(0x1a7)](JSON[_0x54d629(0x1b1)](_0x295aaa));}[_0x241fa5(0x1ac)](){const _0x1f3d6a=_0x241fa5;sessionStorage[_0x1f3d6a(0x1ae)](cs,JSON[_0x1f3d6a(0x1b0)](this[_0x1f3d6a(0x1a1)](_0xc94f38=>_0xc94f38)));}}function Ss(_0x379b7e){const _0x154add=_0x241fa5;return _0x379b7e[_0x154add(0x1a8)]()[_0x154add(0x1b7)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x441d33=_0x4f36;(function(_0xa73f94,_0x442240){const _0x487f78=_0x4f36,_0x42700a=_0xa73f94();while(!![]){try{const _0xb8f934=parseInt(_0x487f78(0x1ea))/0x1+-parseInt(_0x487f78(0x1f1))/0x2+parseInt(_0x487f78(0x1ed))/0x3*(parseInt(_0x487f78(0x1d1))/0x4)+parseInt(_0x487f78(0x1cf))/0x5*(parseInt(_0x487f78(0x1c4))/0x6)+-parseInt(_0x487f78(0x1d5))/0x7+-parseInt(_0x487f78(0x1e1))/0x8*(parseInt(_0x487f78(0x1e2))/0x9)+-parseInt(_0x487f78(0x1c9))/0xa*(-parseInt(_0x487f78(0x1cc))/0xb);if(_0xb8f934===_0x442240)break;else _0x42700a['push'](_0x42700a['shift']());}catch(_0x432dc5){_0x42700a['push'](_0x42700a['shift']());}}}(_0x48d1,0xc6b22));function _0x48d1(){const _0x316fe9=['showUI','add','element','26533070DFWojz','isCollapsed','isEmpty','11hygiwr','length','ai.aiAssistant.disabledElements','1002210ASKOWx','hasContent','249820JSBKWo','getSelectedBlocks','config','name','7458829VPdVCN','refresh','includes','document','from','execute','editor','change:isEnabled','plugins','selection','reduce','_hasContext','5881968FvBojz','18uFmfYQ','custom','set','isEnabled','enabledCommandsIds','concat','get','change:_hasContext','358300HhnlrB','commands','getItems','21aWQzdt','model','getRanges','getFirstRange','598674DbpFwC','_commandDefinitions','6vNhgCy','requiresContent'];_0x48d1=function(){return _0x316fe9;};return _0x48d1();}import{Command as _0x235111}from'ckeditor5/src/core.js';import _0x27432d from'../aiassistantui.js';function _0x4f36(_0x21db6c,_0xb6ce43){const _0x48d1ce=_0x48d1();return _0x4f36=function(_0x4f36dd,_0x2c3461){_0x4f36dd=_0x4f36dd-0x1c3;let _0x232745=_0x48d1ce[_0x4f36dd];return _0x232745;},_0x4f36(_0x21db6c,_0xb6ce43);}export default class j extends _0x235111{constructor(_0x2f9741,_0x423255){const _0xccf31=_0x4f36;super(_0x2f9741),this[_0xccf31(0x1c3)]=_0x423255?_0x423255[_0xccf31(0x1df)]((_0x3790a1,_0x5b7c66)=>_0x3790a1[_0xccf31(0x1e7)](_0x5b7c66[_0xccf31(0x1eb)]),new Array()):[],this[_0xccf31(0x1e4)](_0xccf31(0x1e6),[]),this['on'](_0xccf31(0x1e9),(_0x3a3b82,_0x15d6bd,_0x442744)=>{const _0x14369c=_0xccf31;this[_0x14369c(0x1e5)]&&(this[_0x14369c(0x1e6)]=K(this[_0x14369c(0x1c3)],_0x442744));}),this[_0xccf31(0x1e4)](_0xccf31(0x1e0),!0x1),this['on'](_0xccf31(0x1dc),(_0xdc9ed3,_0x5a779f,_0x40c61a)=>{const _0x4e7341=_0xccf31;this[_0x4e7341(0x1e6)]=_0x40c61a?K(this[_0x4e7341(0x1c3)],this[_0x4e7341(0x1e0)]):[];});}[_0x441d33(0x1d6)](){const _0x46b65a=_0x441d33,_0x4d8a90=this[_0x46b65a(0x1db)][_0x46b65a(0x1ee)];this[_0x46b65a(0x1e0)]=function(_0xc8a616){const _0x5a073d=_0x46b65a,_0x19d3fa=_0xc8a616[_0x5a073d(0x1d8)][_0x5a073d(0x1de)];return _0x19d3fa[_0x5a073d(0x1ca)]?0x0!==[..._0x19d3fa[_0x5a073d(0x1d2)]()][_0x5a073d(0x1cd)]&&![..._0x19d3fa[_0x5a073d(0x1d2)]()][0x0][_0x5a073d(0x1cb)]:!!_0xc8a616[_0x5a073d(0x1d0)](_0x19d3fa[_0x5a073d(0x1f0)]());}(_0x4d8a90);const _0xbaba51=_0x4d8a90[_0x46b65a(0x1d8)][_0x46b65a(0x1de)],_0x1b198f=this[_0x46b65a(0x1db)][_0x46b65a(0x1d3)][_0x46b65a(0x1e8)](_0x46b65a(0x1ce));for(const _0x50bfdc of _0xbaba51[_0x46b65a(0x1ef)]())for(const _0x3241ad of _0x50bfdc[_0x46b65a(0x1ec)]())if(_0x3241ad['is'](_0x46b65a(0x1c8))&&_0x1b198f[_0x46b65a(0x1d7)](_0x3241ad[_0x46b65a(0x1d4)]))return void(this[_0x46b65a(0x1e5)]=!0x1);this[_0x46b65a(0x1e5)]=!0x0;}[_0x441d33(0x1da)](_0x3fc370='',_0x1c1df4='',_0x2380a8=_0x441d33(0x1e3)){const _0x2ba75c=_0x441d33;this[_0x2ba75c(0x1db)][_0x2ba75c(0x1dd)][_0x2ba75c(0x1e8)](_0x27432d)[_0x2ba75c(0x1c6)](_0x3fc370,_0x1c1df4,_0x2380a8);}}function K(_0x222191,_0x24470e){const _0x305c7a=_0x441d33,_0x5cd137=new Set();for(const _0x5e34dd of _0x222191)(_0x24470e||!0x1===_0x5e34dd[_0x305c7a(0x1c5)])&&_0x5cd137[_0x305c7a(0x1c7)](_0x5e34dd['id']);return Array[_0x305c7a(0x1d9)](_0x5cd137);}
23
+ const _0x2fb42f=_0x1c8f;(function(_0x3861e8,_0x40ea8b){const _0x354e6d=_0x1c8f,_0x4f8021=_0x3861e8();while(!![]){try{const _0x517468=-parseInt(_0x354e6d(0x16d))/0x1+-parseInt(_0x354e6d(0x192))/0x2*(parseInt(_0x354e6d(0x16e))/0x3)+-parseInt(_0x354e6d(0x16c))/0x4*(-parseInt(_0x354e6d(0x175))/0x5)+parseInt(_0x354e6d(0x18d))/0x6+parseInt(_0x354e6d(0x195))/0x7*(parseInt(_0x354e6d(0x176))/0x8)+parseInt(_0x354e6d(0x18b))/0x9+parseInt(_0x354e6d(0x17f))/0xa*(-parseInt(_0x354e6d(0x178))/0xb);if(_0x517468===_0x40ea8b)break;else _0x4f8021['push'](_0x4f8021['shift']());}catch(_0x25d91f){_0x4f8021['push'](_0x4f8021['shift']());}}}(_0xed36,0xd5fee));function _0x1c8f(_0x28a29d,_0x28a463){const _0xed3679=_0xed36();return _0x1c8f=function(_0x1c8f6b,_0x2a1055){_0x1c8f6b=_0x1c8f6b-0x16a;let _0x4dd579=_0xed3679[_0x1c8f6b];return _0x4dd579;},_0x1c8f(_0x28a29d,_0x28a463);}function _0xed36(){const _0x3a522b=['getFirstRange','selection','1075djudlP','30904hdMRFO','custom','308pcawho','execute','commands','length','name','_hasContext','change:isEnabled','617120jhtNRY','_commandDefinitions','isEmpty','document','editor','add','getRanges','change:_hasContext','get','hasContent','isCollapsed','from','2588346pbiQyv','plugins','6654288igSySe','refresh','getSelectedBlocks','getItems','ai.aiAssistant.disabledElements','16zpHihW','reduce','element','777UQDAeF','includes','config','enabledCommandsIds','model','concat','26108abcsgK','171342EKnZIJ','169851gYbtrX','set','isEnabled','requiresContent','showUI'];_0xed36=function(){return _0x3a522b;};return _0xed36();}import{Command as _0xdae6e5}from'ckeditor5/src/core.js';import _0x3dee0e from'../aiassistantui.js';export default class j extends _0xdae6e5{constructor(_0x337b0d,_0x19ba55){const _0x389169=_0x1c8f;super(_0x337b0d),this[_0x389169(0x180)]=_0x19ba55?_0x19ba55[_0x389169(0x193)]((_0xe58925,_0x42cccf)=>_0xe58925[_0x389169(0x16b)](_0x42cccf[_0x389169(0x17a)]),new Array()):[],this[_0x389169(0x16f)](_0x389169(0x198),[]),this['on'](_0x389169(0x186),(_0x2f7970,_0x5a4b55,_0xfbbe77)=>{const _0x283cad=_0x389169;this[_0x283cad(0x170)]&&(this[_0x283cad(0x198)]=K(this[_0x283cad(0x180)],_0xfbbe77));}),this[_0x389169(0x16f)](_0x389169(0x17d),!0x1),this['on'](_0x389169(0x17e),(_0x10ed16,_0x16729f,_0x5d2a07)=>{const _0x28640c=_0x389169;this[_0x28640c(0x198)]=_0x5d2a07?K(this[_0x28640c(0x180)],this[_0x28640c(0x17d)]):[];});}[_0x2fb42f(0x18e)](){const _0x3042e1=_0x2fb42f,_0x3f6b7=this[_0x3042e1(0x183)][_0x3042e1(0x16a)];this[_0x3042e1(0x17d)]=function(_0x4b83fc){const _0x583d70=_0x3042e1,_0x522331=_0x4b83fc[_0x583d70(0x182)][_0x583d70(0x174)];return _0x522331[_0x583d70(0x189)]?0x0!==[..._0x522331[_0x583d70(0x18f)]()][_0x583d70(0x17b)]&&![..._0x522331[_0x583d70(0x18f)]()][0x0][_0x583d70(0x181)]:!!_0x4b83fc[_0x583d70(0x188)](_0x522331[_0x583d70(0x173)]());}(_0x3f6b7);const _0x210588=_0x3f6b7[_0x3042e1(0x182)][_0x3042e1(0x174)],_0xb8533=this[_0x3042e1(0x183)][_0x3042e1(0x197)][_0x3042e1(0x187)](_0x3042e1(0x191));for(const _0x4ba73f of _0x210588[_0x3042e1(0x185)]())for(const _0x194333 of _0x4ba73f[_0x3042e1(0x190)]())if(_0x194333['is'](_0x3042e1(0x194))&&_0xb8533[_0x3042e1(0x196)](_0x194333[_0x3042e1(0x17c)]))return void(this[_0x3042e1(0x170)]=!0x1);this[_0x3042e1(0x170)]=!0x0;}[_0x2fb42f(0x179)](_0x1aada3='',_0x5ef1ad='',_0x52442c=_0x2fb42f(0x177)){const _0x216fe2=_0x2fb42f;this[_0x216fe2(0x183)][_0x216fe2(0x18c)][_0x216fe2(0x187)](_0x3dee0e)[_0x216fe2(0x172)](_0x1aada3,_0x5ef1ad,_0x52442c);}}function K(_0x31b315,_0x465274){const _0x26060b=_0x2fb42f,_0x5c0b02=new Set();for(const _0x5bbc15 of _0x31b315)(_0x465274||!0x1===_0x5bbc15[_0x26060b(0x171)])&&_0x5c0b02[_0x26060b(0x184)](_0x5bbc15['id']);return Array[_0x26060b(0x18a)](_0x5c0b02);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xaf3b03,_0x5b62f6,_0x5406b7){const t=_0xaf3b03['t'];switch(_0x5b62f6){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',_0x5406b7);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',_0x5406b7);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5406b7);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'},_0x5406b7);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 _0x5b62f6;}}
23
+ export function getTranslation(_0x4a189e,_0x18b4d3,_0x2e59b9){const t=_0x4a189e['t'];switch(_0x18b4d3){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',_0x2e59b9);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',_0x2e59b9);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2e59b9);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'},_0x2e59b9);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 _0x18b4d3;}}