@ckeditor/ckeditor5-ai 42.0.0 → 42.0.1-alpha.1

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 _0x598ab7=_0x4b98;(function(_0x5b9a2d,_0x206b5d){const _0x8edd07=_0x4b98,_0x29f40a=_0x5b9a2d();while(!![]){try{const _0x53b7ff=parseInt(_0x8edd07(0xa6))/0x1*(-parseInt(_0x8edd07(0xd8))/0x2)+-parseInt(_0x8edd07(0x82))/0x3*(parseInt(_0x8edd07(0xca))/0x4)+parseInt(_0x8edd07(0xb0))/0x5+parseInt(_0x8edd07(0xa9))/0x6+-parseInt(_0x8edd07(0xaa))/0x7*(-parseInt(_0x8edd07(0xce))/0x8)+-parseInt(_0x8edd07(0xb6))/0x9+parseInt(_0x8edd07(0x91))/0xa;if(_0x53b7ff===_0x206b5d)break;else _0x29f40a['push'](_0x29f40a['shift']());}catch(_0x7c1667){_0x29f40a['push'](_0x29f40a['shift']());}}}(_0x5c2d,0x794eb));function _0x4b98(_0x2eda73,_0x3a0d70){const _0x5c2dcf=_0x5c2d();return _0x4b98=function(_0x4b9806,_0x31d69c){_0x4b9806=_0x4b9806-0x7e;let _0x1404ff=_0x5c2dcf[_0x4b9806];return _0x1404ff;},_0x4b98(_0x2eda73,_0x3a0d70);}import{ObservableMixin as _0x20bc36}from'ckeditor5/src/utils.js';import{AIRequestError as _0x31952a}from'../adapters/aiadapter.js';import{Matcher as _0x1504dd,UpcastWriter as _0x443a3a}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x5c2d(){const _0x54c2f4=['previousContext','data','currentResponse','toModel','abort','37256YWWtCE','_stripMarkdownSyntax','previousLabel','once','textAdapter','body','stopListening','length','<h1></h1>','334959FigRXM','tryAgainEvent','div','set:currentContext','handleError','_xmlSerializer','htmlProcessor','previousActionId','processor','stopProcessing','custom','then','finally','view','innerHTML','4642690eCdftQ','listenTo','endsWith','childNodes','reset','submitPrompt','_domParser','text/html','_sanitizationContainer','_parseAndNormalizeContent','previousQuery','exec','_handleQuery','_sanitizeHTML','editing','updateView','domConverter','```html','startProcessing','parseFromString','substring','43aFfIjO','isProcessing','rename','1883730ZnwNOW','210JwkNXi','value','viewToDom','setContentOf','nodeType','destroy','3002085XhSmhh','match','name','editor','stringify','currentContext','4517307imWBXn','remove','document','ELEMENT_NODE','serializeToString','initialContext','push','startsWith','set','message','makeRequest','render','mainAction','element','from','reverse','_normalizeResponseHeadings','isRendered','_isH1TagSupportEnabled','toView','12jCVcos','finishProcessing','catch','trim','201632iIYQmp','```','prompt','querySelector','createElement'];_0x5c2d=function(){return _0x54c2f4;};return _0x5c2d();}export default class k extends/* #__PURE__ -- @preserve */
24
- _0x20bc36(){constructor(_0x1b1c45,_0xe1d77c,_0x4882e8){const _0x2bd77e=_0x4b98;super(),this[_0x2bd77e(0xb3)]=_0x1b1c45,this[_0x2bd77e(0xdc)]=_0xe1d77c,this[_0x2bd77e(0x99)]=document[_0x2bd77e(0xd2)](_0x2bd77e(0x84)),this[_0x2bd77e(0x97)]=new DOMParser(),this[_0x2bd77e(0x87)]=new XMLSerializer(),this[_0x2bd77e(0x8f)]=_0x4882e8,this[_0x2bd77e(0xbe)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2bd77e(0x85),(_0x152852,_0x5380b9,_0x3999dc)=>{const _0x30921c=_0x2bd77e;this[_0x30921c(0x8f)][_0x30921c(0xab)]=this[_0x30921c(0x9e)](_0x3999dc);}),this[_0x2bd77e(0x92)](this[_0x2bd77e(0x8f)],_0x2bd77e(0x96),(_0x2891d6,_0x2bb14e)=>{const _0x1d61cd=_0x2bd77e,_0x3be8b3=this[_0x1d61cd(0xb5)]||this[_0x1d61cd(0xbb)];this[_0x1d61cd(0x9d)](_0x2bb14e,_0x3be8b3,_0x1d61cd(0x8c));}),this[_0x2bd77e(0x92)](this[_0x2bd77e(0x8f)],_0x2bd77e(0x83),()=>{const _0x23c6b6=_0x2bd77e;this[_0x23c6b6(0x8f)][_0x23c6b6(0xd0)]=this[_0x23c6b6(0xda)],this[_0x23c6b6(0x9d)](this[_0x23c6b6(0x9b)],this[_0x23c6b6(0xd3)],this[_0x23c6b6(0x89)],this[_0x23c6b6(0xda)]);}),this[_0x2bd77e(0x92)](this[_0x2bd77e(0x8f)],_0x2bd77e(0x8b),()=>{const _0x527dfd=_0x2bd77e;this[_0x527dfd(0x8b)]();});}[_0x598ab7(0xaf)](){const _0x1fb76c=_0x598ab7;this[_0x1fb76c(0x7f)]();}async[_0x598ab7(0xa0)]({actionId:_0x46cd4f,query:_0x3e2f68,htmlContent:_0x2ac622,label:_0x38b7fc,mainActionLabel:_0x53639a}){const _0x1f188e=_0x598ab7;this[_0x1f188e(0x8f)][_0x1f188e(0xd0)]=_0x38b7fc,this[_0x1f188e(0x8f)][_0x1f188e(0xc2)]=_0x53639a,this[_0x1f188e(0xbb)]=_0x2ac622,_0x3e2f68&&(this[_0x1f188e(0x8f)][_0x1f188e(0xc7)]?this[_0x1f188e(0x9d)](_0x3e2f68,_0x2ac622,_0x46cd4f,_0x38b7fc):this[_0x1f188e(0x8f)][_0x1f188e(0xdb)](_0x1f188e(0xc1),()=>{const _0x268db4=_0x1f188e;this[_0x268db4(0x9d)](_0x3e2f68,_0x2ac622,_0x46cd4f,_0x38b7fc);}));}[_0x598ab7(0x8b)](){const _0x129534=_0x598ab7;this[_0x129534(0xa7)]&&(this[_0x129534(0xa7)]=!0x1,this[_0x129534(0x8f)][_0x129534(0xcb)](),this[_0x129534(0xdc)][_0x129534(0xd7)]());}[_0x598ab7(0x95)](){const _0x511ff4=_0x598ab7;this[_0x511ff4(0xbb)]='',this[_0x511ff4(0xb5)]='',this[_0x511ff4(0xd5)]='',this[_0x511ff4(0xd3)]='',this[_0x511ff4(0x9b)]='',this[_0x511ff4(0xda)]='',this[_0x511ff4(0x89)]=void 0x0,this[_0x511ff4(0x8f)][_0x511ff4(0x95)](),this[_0x511ff4(0x8b)]();}async[_0x598ab7(0x9d)](_0x100fdc,_0x19d9c1,_0x2ee14e,_0x5e18cf){const _0x1cb146=_0x598ab7;return this[_0x1cb146(0xa7)]=!0x0,this[_0x1cb146(0x8f)][_0x1cb146(0xa3)](),this[_0x1cb146(0xd3)]=_0x19d9c1,this[_0x1cb146(0x9b)]=_0x100fdc,this[_0x1cb146(0xda)]=_0x5e18cf||_0x100fdc,this[_0x1cb146(0x89)]=_0x2ee14e,new Promise(_0x2c1e7a=>{const _0x595864=_0x1cb146;this[_0x595864(0xdc)][_0x595864(0xc0)]({'query':_0x100fdc,'context':_0x19d9c1,'onData':_0x28c5b1=>{const _0x32e283=_0x595864;this[_0x32e283(0xd5)]=_0x28c5b1,this[_0x32e283(0xb5)]=this[_0x32e283(0x9a)](this[_0x32e283(0xd5)]);},'actionId':_0x2ee14e})[_0x595864(0x8d)](()=>{const _0x14b5b3=_0x595864;!this[_0x14b5b3(0xb5)]&&this[_0x14b5b3(0xd5)]&&(this[_0x14b5b3(0xb5)]=this[_0x14b5b3(0x9a)](this[_0x14b5b3(0xd5)],!0x0));})[_0x595864(0xcc)](_0x2f32a8=>{const _0x2aa3ed=_0x595864;_0x2f32a8 instanceof _0x31952a?this[_0x2aa3ed(0x8f)][_0x2aa3ed(0x86)](_0x2f32a8[_0x2aa3ed(0xbf)]):this[_0x2aa3ed(0x8f)][_0x2aa3ed(0x86)](),_0x2c1e7a();})[_0x595864(0x8e)](()=>{const _0x22cb77=_0x595864;this[_0x22cb77(0x8b)](),_0x2c1e7a();});});}[_0x598ab7(0x9a)](_0x19ba32,_0x53d7a7=!0x1){const _0x2c7483=_0x598ab7,_0x36e461=X[_0x2c7483(0x9c)](_0x19ba32);_0x19ba32=_0x36e461?_0x19ba32[_0x2c7483(0xa5)](_0x36e461[0x1][_0x2c7483(0x80)]):_0x19ba32[_0x2c7483(0x80)]<0x64&&!_0x53d7a7?'':this[_0x2c7483(0xd9)](_0x19ba32);const _0x4f9837=this[_0x2c7483(0x97)][_0x2c7483(0xa4)](_0x19ba32,_0x2c7483(0x98));if(_0x36e461){const _0x4354dd=Array[_0x2c7483(0xc4)](_0x4f9837[_0x2c7483(0x7e)][_0x2c7483(0x94)]);_0x4354dd[_0x2c7483(0xc5)]();for(const _0x40feed of _0x4354dd){if(_0x40feed[_0x2c7483(0xae)]==Node[_0x2c7483(0xb9)])break;_0x40feed[_0x2c7483(0xb7)]();}}const _0x37b6bb=this[_0x2c7483(0xb3)][_0x2c7483(0xd4)][_0x2c7483(0x8a)][_0x2c7483(0xc9)](this[_0x2c7483(0x87)][_0x2c7483(0xba)](_0x4f9837[_0x2c7483(0x7e)]));return this[_0x2c7483(0xc8)]()||this[_0x2c7483(0xc6)](_0x37b6bb),this[_0x2c7483(0xb3)][_0x2c7483(0xd4)][_0x2c7483(0xb4)](this[_0x2c7483(0xb3)][_0x2c7483(0xd4)][_0x2c7483(0xd6)](_0x37b6bb));}[_0x598ab7(0xc6)](_0x50fb1b){const _0x4d096c=_0x598ab7,_0x136a65=new _0x443a3a(this[_0x4d096c(0xb3)][_0x4d096c(0x9f)][_0x4d096c(0x8f)][_0x4d096c(0xb8)]),_0x273bde=new _0x1504dd({'name':/^h[1-5]$/}),_0x1197d4=[];let _0x238cc7=!0x1;for(const _0x2b3eef of _0x50fb1b)_0x2b3eef['is'](_0x4d096c(0xc3))&&_0x273bde[_0x4d096c(0xb1)](_0x2b3eef)&&(_0x1197d4[_0x4d096c(0xbc)](_0x2b3eef),'h1'==_0x2b3eef[_0x4d096c(0xb2)]&&(_0x238cc7=!0x0));if(_0x238cc7){for(const _0x4dfa7a of _0x1197d4)_0x136a65[_0x4d096c(0xa8)]('h'+(parseInt(_0x4dfa7a[_0x4d096c(0xb2)][0x1])+0x1),_0x4dfa7a);}}[_0x598ab7(0xc8)](){const _0x11c102=_0x598ab7,{data:_0x22a1b2,editing:_0x2275fb}=this[_0x11c102(0xb3)],_0x361943=_0x22a1b2[_0x11c102(0x88)][_0x11c102(0xc9)](_0x11c102(0x81)),_0x9448b8=_0x22a1b2[_0x11c102(0xc9)](_0x22a1b2[_0x11c102(0xd6)](_0x361943));return!!_0x2275fb[_0x11c102(0x8f)][_0x11c102(0xa1)][_0x11c102(0xac)](_0x9448b8)[_0x11c102(0xd1)]('h1');}[_0x598ab7(0x9e)](_0x5b4602){const _0x1ff131=_0x598ab7;return this[_0x1ff131(0xb3)][_0x1ff131(0x9f)][_0x1ff131(0x8f)][_0x1ff131(0xa1)][_0x1ff131(0xad)](this[_0x1ff131(0x99)],_0x5b4602),this[_0x1ff131(0x99)][_0x1ff131(0x90)];}[_0x598ab7(0xd9)](_0x749b50){const _0x153e99=_0x598ab7,_0x514bd1=_0x749b50[_0x153e99(0xcd)]();return _0x514bd1[_0x153e99(0xbd)](_0x153e99(0xa2))?_0x514bd1[_0x153e99(0x93)](_0x153e99(0xcf))?_0x514bd1[_0x153e99(0xa5)](0x7,_0x514bd1[_0x153e99(0x80)]-0x3):_0x514bd1[_0x153e99(0xa5)](0x7):_0x749b50;}}
23
+ const _0x2a09ff=_0xd028;(function(_0x2542d8,_0xa2eedc){const _0x23b91d=_0xd028,_0x423e2c=_0x2542d8();while(!![]){try{const _0x288055=parseInt(_0x23b91d(0x1ab))/0x1+-parseInt(_0x23b91d(0x176))/0x2+-parseInt(_0x23b91d(0x197))/0x3+-parseInt(_0x23b91d(0x1aa))/0x4*(-parseInt(_0x23b91d(0x1be))/0x5)+-parseInt(_0x23b91d(0x18a))/0x6+-parseInt(_0x23b91d(0x19a))/0x7+parseInt(_0x23b91d(0x1bc))/0x8;if(_0x288055===_0xa2eedc)break;else _0x423e2c['push'](_0x423e2c['shift']());}catch(_0x145591){_0x423e2c['push'](_0x423e2c['shift']());}}}(_0x9c70,0xd06c7));import{ObservableMixin as _0x55a1d9}from'ckeditor5/src/utils.js';import{AIRequestError as _0x5ab54b}from'../adapters/aiadapter.js';function _0x9c70(){const _0x3a39ec=['2912068eoOEfB','editing','substring','listenTo','makeRequest','trim','processor','set:currentContext','then','stopListening','document','previousLabel','_isH1TagSupportEnabled','previousActionId','setContentOf','match','message','htmlProcessor','currentContext','ELEMENT_NODE','5468448dDAPud','startsWith','editor','endsWith','element','finally','previousQuery','push','serializeToString','_sanitizationContainer','stringify','data','view','817428YslaRf','length','from','9212308Etehfu','reset','name','abort','exec','div','tryAgainEvent','catch','set','toView','nodeType','_normalizeResponseHeadings','<h1></h1>','reverse','rename','_sanitizeHTML','8SjrsjD','73754WvDaIY','startProcessing','destroy','_parseAndNormalizeContent','submitPrompt','handleError','createElement','_xmlSerializer','updateView','isProcessing','prompt','childNodes','text/html','remove','_handleQuery','stopProcessing','```html','27320344cKjQjB','viewToDom','3302170wkSqQL','_domParser','render','domConverter','parseFromString','querySelector','initialContext','toModel','finishProcessing','mainAction','value','isRendered','```','previousContext','currentResponse','once','custom','innerHTML','body','textAdapter','_stripMarkdownSyntax'];_0x9c70=function(){return _0x3a39ec;};return _0x9c70();}function _0xd028(_0x28631a,_0x53fa34){const _0x9c700=_0x9c70();return _0xd028=function(_0xd02845,_0x3a9e2a){_0xd02845=_0xd02845-0x16d;let _0x12c93d=_0x9c700[_0xd02845];return _0x12c93d;},_0xd028(_0x28631a,_0x53fa34);}import{Matcher as _0xf509bb,UpcastWriter as _0x1d1d35}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
+ _0x55a1d9(){constructor(_0x4a298a,_0x32ba3e,_0x4b2ae2){const _0x467ab8=_0xd028;super(),this[_0x467ab8(0x18c)]=_0x4a298a,this[_0x467ab8(0x174)]=_0x32ba3e,this[_0x467ab8(0x193)]=document[_0x467ab8(0x1b1)](_0x467ab8(0x19f)),this[_0x467ab8(0x1bf)]=new DOMParser(),this[_0x467ab8(0x1b2)]=new XMLSerializer(),this[_0x467ab8(0x196)]=_0x4b2ae2,this[_0x467ab8(0x1a2)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x467ab8(0x17d),(_0x49b905,_0x247a07,_0x303c69)=>{const _0x214c29=_0x467ab8;this[_0x214c29(0x196)][_0x214c29(0x1c8)]=this[_0x214c29(0x1a9)](_0x303c69);}),this[_0x467ab8(0x179)](this[_0x467ab8(0x196)],_0x467ab8(0x1af),(_0x5dfefa,_0xd7adb6)=>{const _0x4f3286=_0x467ab8,_0x4ba095=this[_0x4f3286(0x188)]||this[_0x4f3286(0x1c4)];this[_0x4f3286(0x1b9)](_0xd7adb6,_0x4ba095,_0x4f3286(0x171));}),this[_0x467ab8(0x179)](this[_0x467ab8(0x196)],_0x467ab8(0x1a0),()=>{const _0x357b02=_0x467ab8;this[_0x357b02(0x196)][_0x357b02(0x1b5)]=this[_0x357b02(0x181)],this[_0x357b02(0x1b9)](this[_0x357b02(0x190)],this[_0x357b02(0x16e)],this[_0x357b02(0x183)],this[_0x357b02(0x181)]);}),this[_0x467ab8(0x179)](this[_0x467ab8(0x196)],_0x467ab8(0x1ba),()=>{const _0x4dda28=_0x467ab8;this[_0x4dda28(0x1ba)]();});}[_0x2a09ff(0x1ad)](){const _0x1e743b=_0x2a09ff;this[_0x1e743b(0x17f)]();}async[_0x2a09ff(0x1b3)]({actionId:_0x4e3c73,query:_0x345c8e,htmlContent:_0x12fdf8,label:_0xa386b4,mainActionLabel:_0x584d9b}){const _0x5702ed=_0x2a09ff;this[_0x5702ed(0x196)][_0x5702ed(0x1b5)]=_0xa386b4,this[_0x5702ed(0x196)][_0x5702ed(0x1c7)]=_0x584d9b,this[_0x5702ed(0x1c4)]=_0x12fdf8,_0x345c8e&&(this[_0x5702ed(0x196)][_0x5702ed(0x1c9)]?this[_0x5702ed(0x1b9)](_0x345c8e,_0x12fdf8,_0x4e3c73,_0xa386b4):this[_0x5702ed(0x196)][_0x5702ed(0x170)](_0x5702ed(0x1c0),()=>{const _0x5a5b1a=_0x5702ed;this[_0x5a5b1a(0x1b9)](_0x345c8e,_0x12fdf8,_0x4e3c73,_0xa386b4);}));}[_0x2a09ff(0x1ba)](){const _0x313e3=_0x2a09ff;this[_0x313e3(0x1b4)]&&(this[_0x313e3(0x1b4)]=!0x1,this[_0x313e3(0x196)][_0x313e3(0x1c6)](),this[_0x313e3(0x174)][_0x313e3(0x19d)]());}[_0x2a09ff(0x19b)](){const _0x3f3331=_0x2a09ff;this[_0x3f3331(0x1c4)]='',this[_0x3f3331(0x188)]='',this[_0x3f3331(0x16f)]='',this[_0x3f3331(0x16e)]='',this[_0x3f3331(0x190)]='',this[_0x3f3331(0x181)]='',this[_0x3f3331(0x183)]=void 0x0,this[_0x3f3331(0x196)][_0x3f3331(0x19b)](),this[_0x3f3331(0x1ba)]();}async[_0x2a09ff(0x1b9)](_0x25285d,_0x255016,_0x217a9e,_0x9c31d6){const _0x2c770b=_0x2a09ff;return this[_0x2c770b(0x1b4)]=!0x0,this[_0x2c770b(0x196)][_0x2c770b(0x1ac)](),this[_0x2c770b(0x16e)]=_0x255016,this[_0x2c770b(0x190)]=_0x25285d,this[_0x2c770b(0x181)]=_0x9c31d6||_0x25285d,this[_0x2c770b(0x183)]=_0x217a9e,new Promise(_0x317e6e=>{const _0x3922aa=_0x2c770b;this[_0x3922aa(0x174)][_0x3922aa(0x17a)]({'query':_0x25285d,'context':_0x255016,'onData':_0x1bdf37=>{const _0x156ce7=_0x3922aa;this[_0x156ce7(0x16f)]=_0x1bdf37,this[_0x156ce7(0x188)]=this[_0x156ce7(0x1ae)](this[_0x156ce7(0x16f)]);},'actionId':_0x217a9e})[_0x3922aa(0x17e)](()=>{const _0x168bdb=_0x3922aa;!this[_0x168bdb(0x188)]&&this[_0x168bdb(0x16f)]&&(this[_0x168bdb(0x188)]=this[_0x168bdb(0x1ae)](this[_0x168bdb(0x16f)],!0x0));})[_0x3922aa(0x1a1)](_0x39f379=>{const _0xe21f08=_0x3922aa;_0x39f379 instanceof _0x5ab54b?this[_0xe21f08(0x196)][_0xe21f08(0x1b0)](_0x39f379[_0xe21f08(0x186)]):this[_0xe21f08(0x196)][_0xe21f08(0x1b0)](),_0x317e6e();})[_0x3922aa(0x18f)](()=>{const _0xb0dfb4=_0x3922aa;this[_0xb0dfb4(0x1ba)](),_0x317e6e();});});}[_0x2a09ff(0x1ae)](_0x57e785,_0x26cebd=!0x1){const _0x3cdf8d=_0x2a09ff,_0x15109e=X[_0x3cdf8d(0x19e)](_0x57e785);_0x57e785=_0x15109e?_0x57e785[_0x3cdf8d(0x178)](_0x15109e[0x1][_0x3cdf8d(0x198)]):_0x57e785[_0x3cdf8d(0x198)]<0x64&&!_0x26cebd?'':this[_0x3cdf8d(0x175)](_0x57e785);const _0x4e510e=this[_0x3cdf8d(0x1bf)][_0x3cdf8d(0x1c2)](_0x57e785,_0x3cdf8d(0x1b7));if(_0x15109e){const _0xe25596=Array[_0x3cdf8d(0x199)](_0x4e510e[_0x3cdf8d(0x173)][_0x3cdf8d(0x1b6)]);_0xe25596[_0x3cdf8d(0x1a7)]();for(const _0x4b8bed of _0xe25596){if(_0x4b8bed[_0x3cdf8d(0x1a4)]==Node[_0x3cdf8d(0x189)])break;_0x4b8bed[_0x3cdf8d(0x1b8)]();}}const _0x4a36c4=this[_0x3cdf8d(0x18c)][_0x3cdf8d(0x195)][_0x3cdf8d(0x17c)][_0x3cdf8d(0x1a3)](this[_0x3cdf8d(0x1b2)][_0x3cdf8d(0x192)](_0x4e510e[_0x3cdf8d(0x173)]));return this[_0x3cdf8d(0x182)]()||this[_0x3cdf8d(0x1a5)](_0x4a36c4),this[_0x3cdf8d(0x18c)][_0x3cdf8d(0x195)][_0x3cdf8d(0x194)](this[_0x3cdf8d(0x18c)][_0x3cdf8d(0x195)][_0x3cdf8d(0x1c5)](_0x4a36c4));}[_0x2a09ff(0x1a5)](_0x124582){const _0x3fe4aa=_0x2a09ff,_0x4ab5f2=new _0x1d1d35(this[_0x3fe4aa(0x18c)][_0x3fe4aa(0x177)][_0x3fe4aa(0x196)][_0x3fe4aa(0x180)]),_0x4c7c90=new _0xf509bb({'name':/^h[1-5]$/}),_0x113721=[];let _0x3aeac7=!0x1;for(const _0x307bea of _0x124582)_0x307bea['is'](_0x3fe4aa(0x18e))&&_0x4c7c90[_0x3fe4aa(0x185)](_0x307bea)&&(_0x113721[_0x3fe4aa(0x191)](_0x307bea),'h1'==_0x307bea[_0x3fe4aa(0x19c)]&&(_0x3aeac7=!0x0));if(_0x3aeac7){for(const _0x4d29a9 of _0x113721)_0x4ab5f2[_0x3fe4aa(0x1a8)]('h'+(parseInt(_0x4d29a9[_0x3fe4aa(0x19c)][0x1])+0x1),_0x4d29a9);}}[_0x2a09ff(0x182)](){const _0x4dcaa6=_0x2a09ff,{data:_0x97bdb5,editing:_0x919d6d}=this[_0x4dcaa6(0x18c)],_0x34b691=_0x97bdb5[_0x4dcaa6(0x187)][_0x4dcaa6(0x1a3)](_0x4dcaa6(0x1a6)),_0x579af2=_0x97bdb5[_0x4dcaa6(0x1a3)](_0x97bdb5[_0x4dcaa6(0x1c5)](_0x34b691));return!!_0x919d6d[_0x4dcaa6(0x196)][_0x4dcaa6(0x1c1)][_0x4dcaa6(0x1bd)](_0x579af2)[_0x4dcaa6(0x1c3)]('h1');}[_0x2a09ff(0x1a9)](_0x3f2f16){const _0x239be1=_0x2a09ff;return this[_0x239be1(0x18c)][_0x239be1(0x177)][_0x239be1(0x196)][_0x239be1(0x1c1)][_0x239be1(0x184)](this[_0x239be1(0x193)],_0x3f2f16),this[_0x239be1(0x193)][_0x239be1(0x172)];}[_0x2a09ff(0x175)](_0x5a0fd9){const _0x2b2387=_0x2a09ff,_0x3093df=_0x5a0fd9[_0x2b2387(0x17b)]();return _0x3093df[_0x2b2387(0x18b)](_0x2b2387(0x1bb))?_0x3093df[_0x2b2387(0x18d)](_0x2b2387(0x16d))?_0x3093df[_0x2b2387(0x178)](0x7,_0x3093df[_0x2b2387(0x198)]-0x3):_0x3093df[_0x2b2387(0x178)](0x7):_0x5a0fd9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x490a(){const _0x1ff075=['77YClmrX','enabledCommandsIds','includes','first','874760MjCPSz','6049610SOMhOH','7162sHWmvs','listbox','set','children','isEnabled','labelView','highlightText','items','filter','8574uAUBtZ','290ALNVSQ','2599731BFUKFa','5551BhGWNp','285idLjYN','role','get','length','match','commandDefinition','change:enabledCommandsIds','isVisible','108HGkMbs','label','1399668GgYwby','36820HGfmgU'];_0x490a=function(){return _0x1ff075;};return _0x490a();}const _0xdb8c18=_0xe87d;(function(_0x1ff025,_0x32e384){const _0x26b6e4=_0xe87d,_0x47377f=_0x1ff025();while(!![]){try{const _0x567c65=parseInt(_0x26b6e4(0x1d8))/0x1*(parseInt(_0x26b6e4(0x1e2))/0x2)+-parseInt(_0x26b6e4(0x1e3))/0x3+-parseInt(_0x26b6e4(0x1f0))/0x4*(-parseInt(_0x26b6e4(0x1e5))/0x5)+-parseInt(_0x26b6e4(0x1e1))/0x6*(-parseInt(_0x26b6e4(0x1e4))/0x7)+parseInt(_0x26b6e4(0x1d6))/0x8*(-parseInt(_0x26b6e4(0x1ed))/0x9)+-parseInt(_0x26b6e4(0x1d7))/0xa+-parseInt(_0x26b6e4(0x1f1))/0xb*(-parseInt(_0x26b6e4(0x1ef))/0xc);if(_0x567c65===_0x32e384)break;else _0x47377f['push'](_0x47377f['shift']());}catch(_0x16fead){_0x47377f['push'](_0x47377f['shift']());}}}(_0x490a,0xb204f));function _0xe87d(_0x32de1b,_0x5e7759){const _0x490aff=_0x490a();return _0xe87d=function(_0xe87d31,_0x165a34){_0xe87d31=_0xe87d31-0x1d5;let _0xd494a7=_0x490aff[_0xe87d31];return _0xd494a7;},_0xe87d(_0x32de1b,_0x5e7759);}import{ListView as _0xe672bf,ListItemGroupView as _0x3f74b9}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x279c21}from'../../aiassistantui.js';export default class U extends _0xe672bf{constructor(_0x48c1b1){const _0x135bfd=_0xe87d;super(_0x48c1b1),this[_0x135bfd(0x1e6)]=_0x135bfd(0x1d9),this[_0x135bfd(0x1da)](_0x135bfd(0x1f2),[]),this['on'](_0x135bfd(0x1eb),()=>{const _0x103bb4=_0x135bfd;for(const _0x5f594e of this[_0x103bb4(0x1df)])if(_0x5f594e instanceof _0x3f74b9){for(const _0x1312d2 of _0x5f594e[_0x103bb4(0x1df)])if(_0x1312d2 instanceof _0x279c21){const _0x166f23=_0x1312d2[_0x103bb4(0x1db)][_0x103bb4(0x1e7)](0x0);this[_0x103bb4(0x1f2)][_0x103bb4(0x1f3)](_0x1312d2[_0x103bb4(0x1ea)]['id'])?_0x166f23[_0x103bb4(0x1dc)]=!0x0:_0x166f23[_0x103bb4(0x1dc)]=!0x1;}}});}[_0xdb8c18(0x1e0)](_0x5f448f){const _0x1f032f=_0xdb8c18;let _0x42fde4=0x0,_0x12ed02=0x0;for(const _0x1fa146 of this[_0x1f032f(0x1df)]){const _0xee1c22=_0x1fa146,_0x466bc8=_0xee1c22[_0x1f032f(0x1df)],_0x2f1ed2=_0x5f448f&&!!_0xee1c22[_0x1f032f(0x1ee)][_0x1f032f(0x1e9)](_0x5f448f);_0xee1c22[_0x1f032f(0x1dd)][_0x1f032f(0x1de)](_0x2f1ed2?_0x5f448f:null);for(const _0x4f78b9 of _0x466bc8){const _0xb822ce=_0x4f78b9[_0x1f032f(0x1db)][_0x1f032f(0x1d5)],_0x3bdc01=_0xb822ce[_0x1f032f(0x1dd)];if(_0x5f448f){const _0x518027=!!_0xb822ce[_0x1f032f(0x1ee)][_0x1f032f(0x1e9)](_0x5f448f);_0x3bdc01[_0x1f032f(0x1de)](_0x518027?_0x5f448f:null),_0x4f78b9[_0x1f032f(0x1ec)]=_0x2f1ed2||_0x518027;}else _0x4f78b9[_0x1f032f(0x1ec)]=!0x0,_0x3bdc01[_0x1f032f(0x1de)](null);}const _0x5cb8b9=_0x466bc8[_0x1f032f(0x1e0)](_0x2b990e=>_0x2b990e[_0x1f032f(0x1ec)])[_0x1f032f(0x1e8)];_0x42fde4+=_0xee1c22[_0x1f032f(0x1df)][_0x1f032f(0x1e8)],_0x12ed02+=_0x2f1ed2?_0xee1c22[_0x1f032f(0x1df)][_0x1f032f(0x1e8)]:_0x5cb8b9,_0xee1c22[_0x1f032f(0x1ec)]=_0x2f1ed2||!!_0x5cb8b9;}return{'resultsCount':_0x12ed02,'totalItemsCount':_0x42fde4};}}
23
+ const _0x1e703d=_0x55d7;function _0x4a61(){const _0x42ee3f=['label','isEnabled','length','enabledCommandsIds','1395078BmnKkk','set','items','filter','role','458OPBqYu','highlightText','1015244BBbvnk','match','isVisible','commandDefinition','listbox','1630720GuqDCn','199uZvuDQ','includes','171479lXyXHQ','get','labelView','8VMQeEN','378459UjaSIa','first','change:enabledCommandsIds','81PwNJZm','children','527830XBePDv'];_0x4a61=function(){return _0x42ee3f;};return _0x4a61();}(function(_0x1caaea,_0x1112bc){const _0x37d05d=_0x55d7,_0x5d593b=_0x1caaea();while(!![]){try{const _0x375f19=-parseInt(_0x37d05d(0xd4))/0x1*(parseInt(_0x37d05d(0xcc))/0x2)+-parseInt(_0x37d05d(0xda))/0x3+-parseInt(_0x37d05d(0xce))/0x4+parseInt(_0x37d05d(0xd3))/0x5+-parseInt(_0x37d05d(0xe4))/0x6+parseInt(_0x37d05d(0xd6))/0x7*(parseInt(_0x37d05d(0xd9))/0x8)+parseInt(_0x37d05d(0xdd))/0x9*(parseInt(_0x37d05d(0xdf))/0xa);if(_0x375f19===_0x1112bc)break;else _0x5d593b['push'](_0x5d593b['shift']());}catch(_0xfa4202){_0x5d593b['push'](_0x5d593b['shift']());}}}(_0x4a61,0x28ed8));import{ListView as _0x24d8c6,ListItemGroupView as _0x38e09c}from'ckeditor5/src/ui.js';function _0x55d7(_0x47abb5,_0x29cc41){const _0x4a61e2=_0x4a61();return _0x55d7=function(_0x55d748,_0x39669a){_0x55d748=_0x55d748-0xca;let _0x2de414=_0x4a61e2[_0x55d748];return _0x2de414;},_0x55d7(_0x47abb5,_0x29cc41);}import{AICommandsListItemView as _0x6dbcff}from'../../aiassistantui.js';export default class U extends _0x24d8c6{constructor(_0x1b37df){const _0x23d745=_0x55d7;super(_0x1b37df),this[_0x23d745(0xcb)]=_0x23d745(0xd2),this[_0x23d745(0xe5)](_0x23d745(0xe3),[]),this['on'](_0x23d745(0xdc),()=>{const _0x36bfd9=_0x23d745;for(const _0x2c18bf of this[_0x36bfd9(0xe6)])if(_0x2c18bf instanceof _0x38e09c){for(const _0x561b6e of _0x2c18bf[_0x36bfd9(0xe6)])if(_0x561b6e instanceof _0x6dbcff){const _0x308324=_0x561b6e[_0x36bfd9(0xde)][_0x36bfd9(0xd7)](0x0);this[_0x36bfd9(0xe3)][_0x36bfd9(0xd5)](_0x561b6e[_0x36bfd9(0xd1)]['id'])?_0x308324[_0x36bfd9(0xe1)]=!0x0:_0x308324[_0x36bfd9(0xe1)]=!0x1;}}});}[_0x1e703d(0xca)](_0x539802){const _0x42127d=_0x1e703d;let _0x271bb4=0x0,_0x38c90b=0x0;for(const _0x5bf381 of this[_0x42127d(0xe6)]){const _0x11f406=_0x5bf381,_0x344c4d=_0x11f406[_0x42127d(0xe6)],_0x110133=_0x539802&&!!_0x11f406[_0x42127d(0xe0)][_0x42127d(0xcf)](_0x539802);_0x11f406[_0x42127d(0xd8)][_0x42127d(0xcd)](_0x110133?_0x539802:null);for(const _0x48f864 of _0x344c4d){const _0x39fc91=_0x48f864[_0x42127d(0xde)][_0x42127d(0xdb)],_0x4d427e=_0x39fc91[_0x42127d(0xd8)];if(_0x539802){const _0xd59bbf=!!_0x39fc91[_0x42127d(0xe0)][_0x42127d(0xcf)](_0x539802);_0x4d427e[_0x42127d(0xcd)](_0xd59bbf?_0x539802:null),_0x48f864[_0x42127d(0xd0)]=_0x110133||_0xd59bbf;}else _0x48f864[_0x42127d(0xd0)]=!0x0,_0x4d427e[_0x42127d(0xcd)](null);}const _0x23beef=_0x344c4d[_0x42127d(0xca)](_0x561d0d=>_0x561d0d[_0x42127d(0xd0)])[_0x42127d(0xe2)];_0x271bb4+=_0x11f406[_0x42127d(0xe6)][_0x42127d(0xe2)],_0x38c90b+=_0x110133?_0x11f406[_0x42127d(0xe6)][_0x42127d(0xe2)]:_0x23beef,_0x11f406[_0x42127d(0xd0)]=_0x110133||!!_0x23beef;}return{'resultsCount':_0x38c90b,'totalItemsCount':_0x271bb4};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2b65a6,_0x376f22){const _0x218a92=_0xc635,_0x141f7d=_0x2b65a6();while(!![]){try{const _0x395c76=-parseInt(_0x218a92(0x1ef))/0x1+parseInt(_0x218a92(0x1ec))/0x2*(parseInt(_0x218a92(0x1f5))/0x3)+-parseInt(_0x218a92(0x1f6))/0x4+parseInt(_0x218a92(0x1f0))/0x5*(-parseInt(_0x218a92(0x1ee))/0x6)+parseInt(_0x218a92(0x1f9))/0x7+parseInt(_0x218a92(0x1f4))/0x8*(-parseInt(_0x218a92(0x1f8))/0x9)+parseInt(_0x218a92(0x1f7))/0xa;if(_0x395c76===_0x376f22)break;else _0x141f7d['push'](_0x141f7d['shift']());}catch(_0x8ba7b7){_0x141f7d['push'](_0x141f7d['shift']());}}}(_0x1caf,0x6b01b));import{HighlightedTextView as _0x433dc0}from'ckeditor5/src/ui.js';export default class N extends _0x433dc0{constructor(){const _0x21d055=_0xc635;super(),this[_0x21d055(0x1fa)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x32f983=this[_0x21d055(0x1f3)];this[_0x21d055(0x1f2)]({'attributes':{'class':[_0x21d055(0x1ed)],'style':_0x32f983['to'](_0x21d055(0x1f1)),'id':_0x32f983['to']('id')}});}}function _0xc635(_0x12bccd,_0x39b4d6){const _0x1caf58=_0x1caf();return _0xc635=function(_0xc635c2,_0x725985){_0xc635c2=_0xc635c2-0x1ec;let _0x1768f3=_0x1caf58[_0xc635c2];return _0x1768f3;},_0xc635(_0x12bccd,_0x39b4d6);}function _0x1caf(){const _0x18024b=['style','extendTemplate','bindTemplate','96GesDEX','69YqxtoE','2981488okAGvd','16098920nUVCPZ','303147kxicEI','5220845OQvycj','set','12746rnZwKN','ck-button__label','6szumcB','698066OQaCke','1081865GcsFnm'];_0x1caf=function(){return _0x18024b;};return _0x1caf();}
23
+ function _0x2e6c(_0x4cb1c9,_0xee507){const _0x216bc3=_0x216b();return _0x2e6c=function(_0x2e6c0b,_0x5f31b5){_0x2e6c0b=_0x2e6c0b-0xc5;let _0x3c8d55=_0x216bc3[_0x2e6c0b];return _0x3c8d55;},_0x2e6c(_0x4cb1c9,_0xee507);}function _0x216b(){const _0x18347=['set','66ovBcmJ','31dEGipQ','12WvdYOS','8TDLStf','9ltumus','13RVneXo','8532HDyjil','208430bDmdGL','5733376nmmTtM','extendTemplate','style','83016SYOxhF','36862aiGjCm','bindTemplate','ck-button__label','2348514WVPIeI','1206156SFfoww','1640CkDGne'];_0x216b=function(){return _0x18347;};return _0x216b();}(function(_0xa5f0e3,_0xf30c2e){const _0xb1f1a3=_0x2e6c,_0x396bf5=_0xa5f0e3();while(!![]){try{const _0x36169f=-parseInt(_0xb1f1a3(0xc9))/0x1*(-parseInt(_0xb1f1a3(0xd4))/0x2)+parseInt(_0xb1f1a3(0xcc))/0x3*(parseInt(_0xb1f1a3(0xd3))/0x4)+-parseInt(_0xb1f1a3(0xcf))/0x5*(-parseInt(_0xb1f1a3(0xc8))/0x6)+parseInt(_0xb1f1a3(0xc5))/0x7*(-parseInt(_0xb1f1a3(0xcb))/0x8)+parseInt(_0xb1f1a3(0xce))/0x9*(parseInt(_0xb1f1a3(0xc6))/0xa)+-parseInt(_0xb1f1a3(0xd0))/0xb*(parseInt(_0xb1f1a3(0xca))/0xc)+-parseInt(_0xb1f1a3(0xcd))/0xd*(parseInt(_0xb1f1a3(0xd7))/0xe);if(_0x36169f===_0xf30c2e)break;else _0x396bf5['push'](_0x396bf5['shift']());}catch(_0x3c6432){_0x396bf5['push'](_0x396bf5['shift']());}}}(_0x216b,0x5e53e));import{HighlightedTextView as _0x4092ba}from'ckeditor5/src/ui.js';export default class N extends _0x4092ba{constructor(){const _0x5b4908=_0x2e6c;super(),this[_0x5b4908(0xc7)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0xc66365=this[_0x5b4908(0xd5)];this[_0x5b4908(0xd1)]({'attributes':{'class':[_0x5b4908(0xd6)],'style':_0xc66365['to'](_0x5b4908(0xd2)),'id':_0xc66365['to']('id')}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2d3e(){const _0x1d8c44=['set','1040MyUAGd','for','ck-editor__label_','2027826MOaLCG','14217ovVbQs','873720SDPoUC','bindTemplate','55917UZeAjD','505pkqgKE','24876wEMiWa','52ZWVELf','33RnZRYi','ck-label','extendTemplate','262969Cvcpqp','1216688zXTATr'];_0x2d3e=function(){return _0x1d8c44;};return _0x2d3e();}(function(_0x527e61,_0xb40499){const _0x5e7d1e=_0x58ec,_0xb6aa2c=_0x527e61();while(!![]){try{const _0x2bfc0e=-parseInt(_0x5e7d1e(0x1d2))/0x1+parseInt(_0x5e7d1e(0x1ce))/0x2*(parseInt(_0x5e7d1e(0x1cb))/0x3)+-parseInt(_0x5e7d1e(0x1d3))/0x4+-parseInt(_0x5e7d1e(0x1cc))/0x5*(parseInt(_0x5e7d1e(0x1cd))/0x6)+-parseInt(_0x5e7d1e(0x1c8))/0x7*(-parseInt(_0x5e7d1e(0x1c4))/0x8)+parseInt(_0x5e7d1e(0x1c7))/0x9+-parseInt(_0x5e7d1e(0x1c9))/0xa*(-parseInt(_0x5e7d1e(0x1cf))/0xb);if(_0x2bfc0e===_0xb40499)break;else _0xb6aa2c['push'](_0xb6aa2c['shift']());}catch(_0x279c5f){_0xb6aa2c['push'](_0xb6aa2c['shift']());}}}(_0x2d3e,0x3d14b));function _0x58ec(_0x267ebc,_0x2ddfe2){const _0x2d3eeb=_0x2d3e();return _0x58ec=function(_0x58ec48,_0x59e796){_0x58ec48=_0x58ec48-0x1c4;let _0x174100=_0x2d3eeb[_0x58ec48];return _0x174100;},_0x58ec(_0x267ebc,_0x2ddfe2);}import{HighlightedTextView as _0x922dbd}from'ckeditor5/src/ui.js';import{uid as _0x31903d}from'ckeditor5/src/utils.js';export default class S extends _0x922dbd{constructor(){const _0x31279=_0x58ec;super(),this[_0x31279(0x1d4)](_0x31279(0x1c5),void 0x0);const _0x23eace=this[_0x31279(0x1ca)];this['id']=_0x31279(0x1c6)+_0x31903d(),this[_0x31279(0x1d1)]({'attributes':{'class':['ck',_0x31279(0x1d0)],'id':this['id'],'for':_0x23eace['to'](_0x31279(0x1c5))}});}}
23
+ (function(_0x881593,_0x288bba){const _0x2374fa=_0xfd14,_0xbca783=_0x881593();while(!![]){try{const _0x1ba460=-parseInt(_0x2374fa(0x1c5))/0x1+parseInt(_0x2374fa(0x1c7))/0x2*(parseInt(_0x2374fa(0x1ca))/0x3)+parseInt(_0x2374fa(0x1bc))/0x4+parseInt(_0x2374fa(0x1cb))/0x5+-parseInt(_0x2374fa(0x1c3))/0x6+-parseInt(_0x2374fa(0x1c9))/0x7*(-parseInt(_0x2374fa(0x1bf))/0x8)+parseInt(_0x2374fa(0x1c8))/0x9*(-parseInt(_0x2374fa(0x1c2))/0xa);if(_0x1ba460===_0x288bba)break;else _0xbca783['push'](_0xbca783['shift']());}catch(_0x33679f){_0xbca783['push'](_0xbca783['shift']());}}}(_0x2376,0x74037));function _0x2376(){const _0x5d29bd=['10PewEdC','4408950UXIhlo','bindTemplate','212608lCDjYF','extendTemplate','90466JqwANB','10656639AxsZBy','1473878cBcaKG','27ToEkrv','2698130XzSZjh','3271024BQASIj','set','ck-label','32viVbHS','for','ck-editor__label_'];_0x2376=function(){return _0x5d29bd;};return _0x2376();}import{HighlightedTextView as _0x20906d}from'ckeditor5/src/ui.js';import{uid as _0x2037d4}from'ckeditor5/src/utils.js';function _0xfd14(_0x1d9574,_0x267471){const _0x237624=_0x2376();return _0xfd14=function(_0xfd1456,_0x4d626a){_0xfd1456=_0xfd1456-0x1bc;let _0x45515a=_0x237624[_0xfd1456];return _0x45515a;},_0xfd14(_0x1d9574,_0x267471);}export default class S extends _0x20906d{constructor(){const _0x497d10=_0xfd14;super(),this[_0x497d10(0x1bd)](_0x497d10(0x1c0),void 0x0);const _0x3d9fd5=this[_0x497d10(0x1c4)];this['id']=_0x497d10(0x1c1)+_0x2037d4(),this[_0x497d10(0x1c6)]({'attributes':{'class':['ck',_0x497d10(0x1be)],'id':this['id'],'for':_0x3d9fd5['to'](_0x497d10(0x1c0))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e7224=_0x1339;(function(_0x56a0f0,_0x374b30){const _0x253c8c=_0x1339,_0x480bc9=_0x56a0f0();while(!![]){try{const _0x5bf5af=-parseInt(_0x253c8c(0x17c))/0x1*(-parseInt(_0x253c8c(0x145))/0x2)+-parseInt(_0x253c8c(0x170))/0x3+-parseInt(_0x253c8c(0x14c))/0x4+parseInt(_0x253c8c(0x17b))/0x5+parseInt(_0x253c8c(0x144))/0x6+parseInt(_0x253c8c(0x150))/0x7*(parseInt(_0x253c8c(0x17f))/0x8)+-parseInt(_0x253c8c(0x162))/0x9;if(_0x5bf5af===_0x374b30)break;else _0x480bc9['push'](_0x480bc9['shift']());}catch(_0x10891d){_0x480bc9['push'](_0x480bc9['shift']());}}}(_0x446d,0x9e9db));import{global as _0x2d5c80}from'ckeditor5/src/utils.js';import{View as _0x1391e5,ButtonView as _0x91c9f2,SpinnerView as _0x3bd9ea}from'ckeditor5/src/ui.js';import _0xba0479 from'../../../theme/icons/copy.svg';import{getTranslation as _0x19b8d9}from'../../utils/common-translations.js';function _0x1339(_0x4973c0,_0x3e0a7b){const _0x446dbb=_0x446d();return _0x1339=function(_0x1339d6,_0x33d95a){_0x1339d6=_0x1339d6-0x13a;let _0x13ea62=_0x446dbb[_0x1339d6];return _0x13ea62;},_0x1339(_0x4973c0,_0x3e0a7b);}import{icons as _0x2054be}from'ckeditor5/src/core.js';export default class nt extends _0x1391e5{constructor(_0x941e8f,_0x2358d5=''){const _0x5b9266=_0x1339;super(_0x941e8f),this[_0x5b9266(0x18c)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x77587d=this[_0x5b9266(0x143)];this[_0x5b9266(0x183)]=new ContentFieldView(_0x941e8f,_0x2358d5),this[_0x5b9266(0x184)]=this[_0x5b9266(0x17d)](),this[_0x5b9266(0x14b)]({'tag':_0x5b9266(0x187),'attributes':{'class':['ck',_0x5b9266(0x14f),_0x77587d['if'](_0x5b9266(0x13b),_0x5b9266(0x15d),_0x25655e=>!_0x25655e)],'tabindex':'-1'},'children':[{'tag':_0x5b9266(0x187),'attributes':{'class':['ck',_0x5b9266(0x160),_0x77587d['if'](_0x5b9266(0x13a),_0x5b9266(0x180))]},'children':[this[_0x5b9266(0x183)],{'tag':_0x5b9266(0x187),'attributes':{'class':['ck',_0x5b9266(0x186)]},'children':[this[_0x5b9266(0x184)]]}]}]});}[_0x1e7224(0x157)](){const _0x56818a=_0x1e7224;super[_0x56818a(0x157)](),this[_0x56818a(0x147)]&&this[_0x56818a(0x183)][_0x56818a(0x164)](this[_0x56818a(0x147)]);let _0x30c622=!0x1;this['on'](_0x56818a(0x14d),(_0xb8a6f,_0xe87384,_0x498ba8)=>{const _0x15ec64=_0x56818a,_0x45028b=!this[_0x15ec64(0x183)][_0x15ec64(0x142)][_0x15ec64(0x15e)](_0x15ec64(0x15f));this[_0x15ec64(0x183)][_0x15ec64(0x164)](_0x498ba8),this[_0x15ec64(0x13a)]&&_0x45028b&&!_0x30c622&&this[_0x15ec64(0x142)][_0x15ec64(0x161)]({'top':this[_0x15ec64(0x142)][_0x15ec64(0x155)],'behavior':_0x15ec64(0x14e)});}),this['on'](_0x56818a(0x181),(_0x434a75,_0x541492,_0x4db72d)=>{const _0x3c5ab2=_0x56818a;_0x30c622=!0x1,_0x4db72d?(this[_0x3c5ab2(0x147)]=null,this[_0x3c5ab2(0x183)][_0x3c5ab2(0x16b)]()):this[_0x3c5ab2(0x147)]||this[_0x3c5ab2(0x183)][_0x3c5ab2(0x164)]('');}),this[_0x56818a(0x174)](this[_0x56818a(0x142)],_0x56818a(0x189),()=>{_0x30c622=!0x0;}),this[_0x56818a(0x174)](this[_0x56818a(0x142)],_0x56818a(0x17a),()=>{_0x30c622=!0x0;});}[_0x1e7224(0x175)](){const _0x2f4546=_0x1e7224;this[_0x2f4546(0x142)][_0x2f4546(0x175)]();}[_0x1e7224(0x17d)](){const _0xc0f27=_0x1e7224,_0x1a14a8=this[_0xc0f27(0x16a)],_0x3188c2=new _0x91c9f2(this[_0xc0f27(0x16a)]),_0x120355=_0xc0f27(0x16d);return _0x3188c2[_0xc0f27(0x18c)]({'label':_0x19b8d9(_0x1a14a8,_0xc0f27(0x13c)),'icon':_0xba0479,'class':_0x120355,'tooltip':!0x0}),_0x3188c2[_0xc0f27(0x173)](_0xc0f27(0x13b))['to'](this,_0xc0f27(0x147),_0x64bd6c=>!!_0x64bd6c),_0x3188c2[_0xc0f27(0x173)](_0xc0f27(0x18b))['to'](this,_0xc0f27(0x13a),_0x4acf9d=>!_0x4acf9d),_0x3188c2['on'](_0xc0f27(0x15b),()=>{const _0x41d5d3=_0xc0f27;this[_0x41d5d3(0x179)](this[_0x41d5d3(0x183)][_0x41d5d3(0x142)]),_0x3188c2[_0x41d5d3(0x148)]=_0x2054be[_0x41d5d3(0x185)],_0x3188c2[_0x41d5d3(0x18d)]=_0x120355+_0x41d5d3(0x149),this[_0x41d5d3(0x175)](),setTimeout(()=>{const _0x453a9b=_0x41d5d3;_0x3188c2[_0x453a9b(0x148)]=_0xba0479,_0x3188c2[_0x453a9b(0x18d)]=_0x120355;},0x3e8);}),_0x3188c2;}[_0x1e7224(0x179)](_0x3113b9){const _0x293e0e=_0x1e7224,{window:_0xc08387,document:_0x288747}=_0x2d5c80;if(_0xc08387[_0x293e0e(0x18a)]){const {Blob:_0x36e42f,ClipboardItem:_0x31b90a}=_0xc08387,_0x2b7c4c=[new _0x31b90a({'text/html':new _0x36e42f([_0x3113b9[_0x293e0e(0x16e)]],{'type':_0x293e0e(0x188)}),'text/plain':new _0x36e42f([_0x3113b9[_0x293e0e(0x171)]||''],{'type':_0x293e0e(0x151)})})];navigator[_0x293e0e(0x166)][_0x293e0e(0x172)](_0x2b7c4c);}else{const _0x3d7e50=_0x288747[_0x293e0e(0x165)](_0x293e0e(0x187));_0x3d7e50[_0x293e0e(0x154)][_0x293e0e(0x168)]=_0x293e0e(0x16c),_0x3d7e50[_0x293e0e(0x154)][_0x293e0e(0x18e)]=_0x293e0e(0x14a),_0x3d7e50[_0x293e0e(0x16e)]=_0x293e0e(0x141)+_0x3113b9[_0x293e0e(0x16e)]+_0x293e0e(0x156),_0x288747[_0x293e0e(0x140)][_0x293e0e(0x153)](_0x3d7e50);const _0x3b5fa5=_0x288747[_0x293e0e(0x182)]();_0x3b5fa5[_0x293e0e(0x13d)](_0x3d7e50[_0x293e0e(0x152)]),_0x3b5fa5[_0x293e0e(0x177)](_0x3d7e50[_0x293e0e(0x176)]);const _0x353a79=_0xc08387[_0x293e0e(0x13f)]();_0x353a79[_0x293e0e(0x17e)](),_0x353a79[_0x293e0e(0x15c)](_0x3b5fa5),_0x288747[_0x293e0e(0x169)](_0x293e0e(0x16f)),_0x3d7e50[_0x293e0e(0x167)]();}}}function _0x446d(){const _0x1bcd56=['ck-ai-form__content-area--processing','change:isProcessing','createRange','contentFieldView','copyButtonView','check','ck-ai-form__copy-button-wrapper','div','text/html','wheel','ClipboardItem','isEnabled','set','class','left','isProcessing','isVisible','Copy','setStartAfter','loaderView','getSelection','body','<span>[</span>','element','bindTemplate','4000050YjHRyn','2108002LgmIdX','_createLoader','value','icon','\x20ck-ai-form__copy-button--copied','-9999px','setTemplate','4173952NeQrxf','change:value','smooth','ck-ai-form__content-area-wrapper','21DisUog','text/plain','firstElementChild','appendChild','style','scrollHeight','<span>]</span>','render','ck-reset_all-excluded','ck-ai-form__loader','ck-ai-form__content-field','execute','addRange','ck-hidden','querySelector','.ck-ai-form__loader','ck-ai-form__content-area','scrollTo','11633913Uemjzb','ck-content','setContent','createElement','clipboard','remove','position','execCommand','locale','appendLoader','absolute','ck-ai-form__copy-button','innerHTML','copy','414612OxUJTT','textContent','write','bind','listenTo','focus','lastElementChild','setEndBefore','AI\x20is\x20writing...','_copyHTMLToClipboard','mousedown','1380585ytPSFl','1lYScrw','_createCopyButton','removeAllRanges','3005992tkrIhY'];_0x446d=function(){return _0x1bcd56;};return _0x446d();}export class ContentFieldView extends _0x1391e5{constructor(_0x30bd84,_0xd2baec=''){const _0x1784a3=_0x1e7224;super(_0x30bd84),this[_0x1784a3(0x13e)]=this[_0x1784a3(0x146)](),this[_0x1784a3(0x14b)]({'tag':_0x1784a3(0x187),'attributes':{'class':['ck',_0x1784a3(0x163),_0xd2baec,_0x1784a3(0x158),_0x1784a3(0x15a)]}});}[_0x1e7224(0x164)](_0x6b6de8){const _0x392a4c=_0x1e7224;this[_0x392a4c(0x142)][_0x392a4c(0x16e)]=_0x6b6de8;}[_0x1e7224(0x16b)](){const _0x369146=_0x1e7224;this[_0x369146(0x142)][_0x369146(0x153)](this[_0x369146(0x13e)][_0x369146(0x142)]);}[_0x1e7224(0x146)](){const _0x5eab52=_0x1e7224,_0x5ef717=new _0x1391e5(),_0x56d000=this[_0x5eab52(0x16a)],_0x5bd67a=new _0x3bd9ea();return _0x5bd67a[_0x5eab52(0x13b)]=!0x0,_0x5ef717[_0x5eab52(0x14b)]({'tag':_0x5eab52(0x187),'attributes':{'class':['ck',_0x5eab52(0x159)]},'children':[_0x5bd67a,{'text':_0x19b8d9(_0x56d000,_0x5eab52(0x178))}]}),_0x5ef717[_0x5eab52(0x157)](),_0x5ef717;}}
23
+ function _0x5b22(_0x46731e,_0x2d1732){const _0x49edfd=_0x49ed();return _0x5b22=function(_0x5b22f2,_0x3457ce){_0x5b22f2=_0x5b22f2-0x16d;let _0x367a2a=_0x49edfd[_0x5b22f2];return _0x367a2a;},_0x5b22(_0x46731e,_0x2d1732);}const _0x195739=_0x5b22;function _0x49ed(){const _0x4a4335=['ck-ai-form__content-area-wrapper','107487CCsxes','setTemplate','locale','5XjkErl','-9999px','bindTemplate','Copy','set','position','lastElementChild','body','isVisible','463090cTOHCt','ck-ai-form__copy-button','getSelection','ck-ai-form__content-field','write','wheel','mousedown','scrollHeight','86386claXno','createRange','copyButtonView','ck-content','setEndBefore','check','value','contentFieldView','querySelector','change:isProcessing','4246020xbsrSj','scrollTo','change:value','\x20ck-ai-form__copy-button--copied','.ck-ai-form__loader','textContent','element','ck-reset_all-excluded','_createCopyButton','36sFNlXv','smooth','isEnabled','9998934feBBrs','_copyHTMLToClipboard','absolute','addRange','innerHTML','text/plain','copy','left','createElement','listenTo','ck-hidden','removeAllRanges','style','ClipboardItem','ck-ai-form__content-area--processing','clipboard','258936sQQTuV','setStartAfter','bind','ck-ai-form__content-area','icon','text/html','div','6573420YXGMXo','AI\x20is\x20writing...','ck-ai-form__copy-button-wrapper','<span>[</span>','<span>]</span>','808rKjDOk','remove','execCommand','execute','render','isProcessing','ck-ai-form__loader','loaderView','firstElementChild','appendLoader','focus','class','setContent','473yXPOJv','_createLoader','appendChild'];_0x49ed=function(){return _0x4a4335;};return _0x49ed();}(function(_0x2871b8,_0x4f558f){const _0x1d7bf3=_0x5b22,_0x5012c1=_0x2871b8();while(!![]){try{const _0x330526=-parseInt(_0x1d7bf3(0x1a6))/0x1*(-parseInt(_0x1d7bf3(0x193))/0x2)+parseInt(_0x1d7bf3(0x1b9))/0x3+parseInt(_0x1d7bf3(0x19d))/0x4*(parseInt(_0x1d7bf3(0x182))/0x5)+-parseInt(_0x1d7bf3(0x1a9))/0x6+-parseInt(_0x1d7bf3(0x1c0))/0x7+-parseInt(_0x1d7bf3(0x16e))/0x8*(parseInt(_0x1d7bf3(0x17f))/0x9)+-parseInt(_0x1d7bf3(0x18b))/0xa*(-parseInt(_0x1d7bf3(0x17b))/0xb);if(_0x330526===_0x4f558f)break;else _0x5012c1['push'](_0x5012c1['shift']());}catch(_0x325dcc){_0x5012c1['push'](_0x5012c1['shift']());}}}(_0x49ed,0xd7654));import{global as _0x343de4}from'ckeditor5/src/utils.js';import{View as _0x4d42d8,ButtonView as _0x17d56a,SpinnerView as _0xf9caf0}from'ckeditor5/src/ui.js';import _0x90888c from'../../../theme/icons/copy.svg';import{getTranslation as _0x42127c}from'../../utils/common-translations.js';import{icons as _0x2568d7}from'ckeditor5/src/core.js';export default class nt extends _0x4d42d8{constructor(_0x4fc68a,_0x44e7cd=''){const _0x58aeb2=_0x5b22;super(_0x4fc68a),this[_0x58aeb2(0x186)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xd40819=this[_0x58aeb2(0x184)];this[_0x58aeb2(0x19a)]=new ContentFieldView(_0x4fc68a,_0x44e7cd),this[_0x58aeb2(0x195)]=this[_0x58aeb2(0x1a5)](),this[_0x58aeb2(0x180)]({'tag':_0x58aeb2(0x1bf),'attributes':{'class':['ck',_0x58aeb2(0x17e),_0xd40819['if'](_0x58aeb2(0x18a),_0x58aeb2(0x1b3),_0x4b7643=>!_0x4b7643)],'tabindex':'-1'},'children':[{'tag':_0x58aeb2(0x1bf),'attributes':{'class':['ck',_0x58aeb2(0x1bc),_0xd40819['if'](_0x58aeb2(0x173),_0x58aeb2(0x1b7))]},'children':[this[_0x58aeb2(0x19a)],{'tag':_0x58aeb2(0x1bf),'attributes':{'class':['ck',_0x58aeb2(0x1c2)]},'children':[this[_0x58aeb2(0x195)]]}]}]});}[_0x195739(0x172)](){const _0x11ecba=_0x195739;super[_0x11ecba(0x172)](),this[_0x11ecba(0x199)]&&this[_0x11ecba(0x19a)][_0x11ecba(0x17a)](this[_0x11ecba(0x199)]);let _0x1bae67=!0x1;this['on'](_0x11ecba(0x19f),(_0x4de55c,_0x435909,_0x176763)=>{const _0x48a4c4=_0x11ecba,_0x1edd26=!this[_0x48a4c4(0x19a)][_0x48a4c4(0x1a3)][_0x48a4c4(0x19b)](_0x48a4c4(0x1a1));this[_0x48a4c4(0x19a)][_0x48a4c4(0x17a)](_0x176763),this[_0x48a4c4(0x173)]&&_0x1edd26&&!_0x1bae67&&this[_0x48a4c4(0x1a3)][_0x48a4c4(0x19e)]({'top':this[_0x48a4c4(0x1a3)][_0x48a4c4(0x192)],'behavior':_0x48a4c4(0x1a7)});}),this['on'](_0x11ecba(0x19c),(_0xf11190,_0xe56122,_0x3134bd)=>{const _0x42761f=_0x11ecba;_0x1bae67=!0x1,_0x3134bd?(this[_0x42761f(0x199)]=null,this[_0x42761f(0x19a)][_0x42761f(0x177)]()):this[_0x42761f(0x199)]||this[_0x42761f(0x19a)][_0x42761f(0x17a)]('');}),this[_0x11ecba(0x1b2)](this[_0x11ecba(0x1a3)],_0x11ecba(0x190),()=>{_0x1bae67=!0x0;}),this[_0x11ecba(0x1b2)](this[_0x11ecba(0x1a3)],_0x11ecba(0x191),()=>{_0x1bae67=!0x0;});}[_0x195739(0x178)](){const _0x1a8bcb=_0x195739;this[_0x1a8bcb(0x1a3)][_0x1a8bcb(0x178)]();}[_0x195739(0x1a5)](){const _0x3ed999=_0x195739,_0x524d00=this[_0x3ed999(0x181)],_0x4d5f1d=new _0x17d56a(this[_0x3ed999(0x181)]),_0x2bbdfb=_0x3ed999(0x18c);return _0x4d5f1d[_0x3ed999(0x186)]({'label':_0x42127c(_0x524d00,_0x3ed999(0x185)),'icon':_0x90888c,'class':_0x2bbdfb,'tooltip':!0x0}),_0x4d5f1d[_0x3ed999(0x1bb)](_0x3ed999(0x18a))['to'](this,_0x3ed999(0x199),_0x177cea=>!!_0x177cea),_0x4d5f1d[_0x3ed999(0x1bb)](_0x3ed999(0x1a8))['to'](this,_0x3ed999(0x173),_0xcee000=>!_0xcee000),_0x4d5f1d['on'](_0x3ed999(0x171),()=>{const _0x866aad=_0x3ed999;this[_0x866aad(0x1aa)](this[_0x866aad(0x19a)][_0x866aad(0x1a3)]),_0x4d5f1d[_0x866aad(0x1bd)]=_0x2568d7[_0x866aad(0x198)],_0x4d5f1d[_0x866aad(0x179)]=_0x2bbdfb+_0x866aad(0x1a0),this[_0x866aad(0x178)](),setTimeout(()=>{const _0x395c43=_0x866aad;_0x4d5f1d[_0x395c43(0x1bd)]=_0x90888c,_0x4d5f1d[_0x395c43(0x179)]=_0x2bbdfb;},0x3e8);}),_0x4d5f1d;}[_0x195739(0x1aa)](_0x3924c1){const _0x56f300=_0x195739,{window:_0xad14ad,document:_0x299e71}=_0x343de4;if(_0xad14ad[_0x56f300(0x1b6)]){const {Blob:_0x44c23b,ClipboardItem:_0x409f97}=_0xad14ad,_0xcfb7d2=[new _0x409f97({'text/html':new _0x44c23b([_0x3924c1[_0x56f300(0x1ad)]],{'type':_0x56f300(0x1be)}),'text/plain':new _0x44c23b([_0x3924c1[_0x56f300(0x1a2)]||''],{'type':_0x56f300(0x1ae)})})];navigator[_0x56f300(0x1b8)][_0x56f300(0x18f)](_0xcfb7d2);}else{const _0x262f9c=_0x299e71[_0x56f300(0x1b1)](_0x56f300(0x1bf));_0x262f9c[_0x56f300(0x1b5)][_0x56f300(0x187)]=_0x56f300(0x1ab),_0x262f9c[_0x56f300(0x1b5)][_0x56f300(0x1b0)]=_0x56f300(0x183),_0x262f9c[_0x56f300(0x1ad)]=_0x56f300(0x1c3)+_0x3924c1[_0x56f300(0x1ad)]+_0x56f300(0x16d),_0x299e71[_0x56f300(0x189)][_0x56f300(0x17d)](_0x262f9c);const _0x38456d=_0x299e71[_0x56f300(0x194)]();_0x38456d[_0x56f300(0x1ba)](_0x262f9c[_0x56f300(0x176)]),_0x38456d[_0x56f300(0x197)](_0x262f9c[_0x56f300(0x188)]);const _0x36972f=_0xad14ad[_0x56f300(0x18d)]();_0x36972f[_0x56f300(0x1b4)](),_0x36972f[_0x56f300(0x1ac)](_0x38456d),_0x299e71[_0x56f300(0x170)](_0x56f300(0x1af)),_0x262f9c[_0x56f300(0x16f)]();}}}export class ContentFieldView extends _0x4d42d8{constructor(_0x32f090,_0x31debd=''){const _0xf60245=_0x195739;super(_0x32f090),this[_0xf60245(0x175)]=this[_0xf60245(0x17c)](),this[_0xf60245(0x180)]({'tag':_0xf60245(0x1bf),'attributes':{'class':['ck',_0xf60245(0x196),_0x31debd,_0xf60245(0x1a4),_0xf60245(0x18e)]}});}[_0x195739(0x17a)](_0x318c12){const _0x57db2c=_0x195739;this[_0x57db2c(0x1a3)][_0x57db2c(0x1ad)]=_0x318c12;}[_0x195739(0x177)](){const _0x103f64=_0x195739;this[_0x103f64(0x1a3)][_0x103f64(0x17d)](this[_0x103f64(0x175)][_0x103f64(0x1a3)]);}[_0x195739(0x17c)](){const _0x140f4f=_0x195739,_0x41754d=new _0x4d42d8(),_0x417a59=this[_0x140f4f(0x181)],_0xee0c69=new _0xf9caf0();return _0xee0c69[_0x140f4f(0x18a)]=!0x0,_0x41754d[_0x140f4f(0x180)]({'tag':_0x140f4f(0x1bf),'attributes':{'class':['ck',_0x140f4f(0x174)]},'children':[_0xee0c69,{'text':_0x42127c(_0x417a59,_0x140f4f(0x1c1))}]}),_0x41754d[_0x140f4f(0x172)](),_0x41754d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x56c98a,_0x57dd33){const _0x107898=_0x1773,_0x5b9de4=_0x56c98a();while(!![]){try{const _0x151d16=parseInt(_0x107898(0x16e))/0x1*(-parseInt(_0x107898(0x15c))/0x2)+parseInt(_0x107898(0x168))/0x3*(parseInt(_0x107898(0x15e))/0x4)+-parseInt(_0x107898(0x16b))/0x5*(parseInt(_0x107898(0x16a))/0x6)+parseInt(_0x107898(0x165))/0x7*(parseInt(_0x107898(0x15d))/0x8)+parseInt(_0x107898(0x16c))/0x9+parseInt(_0x107898(0x164))/0xa+-parseInt(_0x107898(0x16d))/0xb*(-parseInt(_0x107898(0x162))/0xc);if(_0x151d16===_0x57dd33)break;else _0x5b9de4['push'](_0x5b9de4['shift']());}catch(_0x112172){_0x5b9de4['push'](_0x5b9de4['shift']());}}}(_0x4378,0xbb62e));import{View as _0xe1bfce,IconView as _0x512ff5}from'ckeditor5/src/ui.js';function _0x1773(_0x1e787b,_0x65dce9){const _0x43787f=_0x4378();return _0x1773=function(_0x17734c,_0x45ef89){_0x17734c=_0x17734c-0x15c;let _0x3c954b=_0x43787f[_0x17734c];return _0x3c954b;},_0x1773(_0x1e787b,_0x65dce9);}function _0x4378(){const _0x5ba357=['2256424QZpmPq','4gFlrQR','bindTemplate','text','set','12RNEEwX','content','9145970RahSZY','7EHvqKB','div','setTemplate','1043376kdeOsE','ck-ai-form__error','1695126VRzTSN','25FgZgOs','2700279jySfCt','8012455QJqUur','41rvXOYD','19158QOhOvd'];_0x4378=function(){return _0x5ba357;};return _0x4378();}import _0x35f785 from'../../../theme/icons/error.svg';export default class mt extends _0xe1bfce{constructor(_0xcbc5e4,_0x23ad54=''){const _0x323c07=_0x1773;super(_0xcbc5e4);const _0x4b33f8=new _0x512ff5(),_0x243272=this[_0x323c07(0x15f)];this[_0x323c07(0x161)](_0x323c07(0x160),_0x23ad54),_0x4b33f8[_0x323c07(0x163)]=_0x35f785,this[_0x323c07(0x167)]({'tag':_0x323c07(0x166),'attributes':{'class':['ck',_0x323c07(0x169)]},'children':[_0x4b33f8,{'text':_0x243272['to'](_0x323c07(0x160))}]});}}
23
+ (function(_0x2d3df1,_0x5a77a4){const _0x2a75cb=_0x1075,_0x4489fd=_0x2d3df1();while(!![]){try{const _0x354d89=parseInt(_0x2a75cb(0x88))/0x1+parseInt(_0x2a75cb(0x85))/0x2*(parseInt(_0x2a75cb(0x8f))/0x3)+parseInt(_0x2a75cb(0x82))/0x4+-parseInt(_0x2a75cb(0x8b))/0x5+-parseInt(_0x2a75cb(0x8a))/0x6*(-parseInt(_0x2a75cb(0x86))/0x7)+-parseInt(_0x2a75cb(0x92))/0x8+-parseInt(_0x2a75cb(0x90))/0x9*(parseInt(_0x2a75cb(0x84))/0xa);if(_0x354d89===_0x5a77a4)break;else _0x4489fd['push'](_0x4489fd['shift']());}catch(_0x3b9ecb){_0x4489fd['push'](_0x4489fd['shift']());}}}(_0x1346,0x44b50));function _0x1346(){const _0x23533e=['1635520SCRniX','div','text','bindTemplate','654baArDO','3356154dPPsTk','content','914560YjSIgQ','563532QYOjqJ','ck-ai-form__error','10WKAdkN','2804xnBwiq','1175664vizmXT','set','481283HTEPWk','setTemplate','6awVGPe'];_0x1346=function(){return _0x23533e;};return _0x1346();}function _0x1075(_0x4da048,_0x2c8c50){const _0x1346d8=_0x1346();return _0x1075=function(_0x1075b6,_0x312540){_0x1075b6=_0x1075b6-0x82;let _0x6b5238=_0x1346d8[_0x1075b6];return _0x6b5238;},_0x1075(_0x4da048,_0x2c8c50);}import{View as _0x216b9c,IconView as _0x1e91bd}from'ckeditor5/src/ui.js';import _0x2fbd53 from'../../../theme/icons/error.svg';export default class mt extends _0x216b9c{constructor(_0x28ab90,_0xa094b4=''){const _0x343d36=_0x1075;super(_0x28ab90);const _0x38e3db=new _0x1e91bd(),_0x3eee66=this[_0x343d36(0x8e)];this[_0x343d36(0x87)](_0x343d36(0x8d),_0xa094b4),_0x38e3db[_0x343d36(0x91)]=_0x2fbd53,this[_0x343d36(0x89)]({'tag':_0x343d36(0x8c),'attributes':{'class':['ck',_0x343d36(0x83)]},'children':[_0x38e3db,{'text':_0x3eee66['to'](_0x343d36(0x8d))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5e3f(_0x30402b,_0x4217d2){const _0x20abed=_0x20ab();return _0x5e3f=function(_0x5e3f2b,_0x4eb30d){_0x5e3f2b=_0x5e3f2b-0x1c5;let _0x4ba67b=_0x20abed[_0x5e3f2b];return _0x4ba67b;},_0x5e3f(_0x30402b,_0x4217d2);}function _0x20ab(){const _0x5eaab8=['excludeScrollbarsAndBorders','focusFirst','submitButtonView','requestAnimationFrame','children','value','1056910EvBmgk','fire','update','54720MUqJnQ','51351GDtgmd','submit','isVisible','8UVzVIX','execute','focus','280693XfsViB','window','rtl','element','795156oGLNYx','isOn','right','focusLast','9WvqgQE','ck-ai-form__submit','289255bKfKvH','14987bpqrXN','4tcPRbi','maxRows','left','Submit','add','queryView','isEnabled','keystrokes','style','fieldWrapperChildren','ck-ai-form__toggle-history','locale','minRows','fieldView','enter','History','focusCycler','width','_createShowHistoryButton','bind','focusableChildren','resultsView','_createSubmitButton','target','history','uiLanguageDirection','showHistoryButtonView','set','isEmpty','render','filteredView'];_0x20ab=function(){return _0x5eaab8;};return _0x20ab();}const _0x5b792c=_0x5e3f;(function(_0x1b6bff,_0x5745d2){const _0x438e17=_0x5e3f,_0x139ecb=_0x1b6bff();while(!![]){try{const _0x4c4d21=parseInt(_0x438e17(0x1c8))/0x1+-parseInt(_0x438e17(0x1c9))/0x2*(parseInt(_0x438e17(0x1f2))/0x3)+parseInt(_0x438e17(0x1f1))/0x4+parseInt(_0x438e17(0x1c7))/0x5+parseInt(_0x438e17(0x1fc))/0x6+parseInt(_0x438e17(0x1f8))/0x7*(parseInt(_0x438e17(0x1f5))/0x8)+parseInt(_0x438e17(0x1c5))/0x9*(-parseInt(_0x438e17(0x1ee))/0xa);if(_0x4c4d21===_0x5745d2)break;else _0x139ecb['push'](_0x139ecb['shift']());}catch(_0x28388d){_0x139ecb['push'](_0x139ecb['shift']());}}}(_0x20ab,0x1d1b2));import{Rect as _0x215437,global as _0x45e5f1,isVisible as _0xebb8cd}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x53f7a2,ButtonView as _0x9ccea3}from'ckeditor5/src/ui.js';import{icons as _0x3dac18}from'ckeditor5/src/core.js';import{getTranslation as _0x59cad2}from'../../utils/common-translations.js';import _0x3288d4 from'../../../theme/icons/submit.svg';export default class pt extends _0x53f7a2{constructor(_0x56bbae,_0x154066){const _0x17a9f8=_0x5e3f;super(_0x56bbae,_0x154066),this[_0x17a9f8(0x1ce)][_0x17a9f8(0x1d6)][_0x17a9f8(0x1d5)]=0x1,this[_0x17a9f8(0x1ce)][_0x17a9f8(0x1d6)][_0x17a9f8(0x1ca)]=0x3,this[_0x17a9f8(0x1ea)]=this[_0x17a9f8(0x1df)](),this[_0x17a9f8(0x1e3)]=this[_0x17a9f8(0x1db)](),this[_0x17a9f8(0x1dd)][_0x17a9f8(0x1cd)](this[_0x17a9f8(0x1e3)],0x1),this[_0x17a9f8(0x1dd)][_0x17a9f8(0x1cd)](this[_0x17a9f8(0x1ea)]);}[_0x5b792c(0x1e6)](){const _0x71cc01=_0x5b792c;super[_0x71cc01(0x1e6)](),this[_0x71cc01(0x1ce)][_0x71cc01(0x1d2)][_0x71cc01(0x1cd)](this[_0x71cc01(0x1e3)]),this[_0x71cc01(0x1ec)][_0x71cc01(0x1cd)](this[_0x71cc01(0x1ea)]),this[_0x71cc01(0x1d0)][_0x71cc01(0x1e4)](_0x71cc01(0x1d7),(_0x250a56,_0x1189a9)=>{const _0x4341e3=_0x71cc01;_0x250a56[_0x4341e3(0x1e0)]==this[_0x4341e3(0x1ce)][_0x4341e3(0x1d6)][_0x4341e3(0x1fb)]&&(this[_0x4341e3(0x1f3)](),_0x1189a9());});}[_0x5b792c(0x1df)](){const _0x23e7db=_0x5b792c,_0x2501cb=new _0x9ccea3(this[_0x23e7db(0x1d4)]),_0x5cee88=this[_0x23e7db(0x1d4)];return _0x2501cb[_0x23e7db(0x1e4)]({'icon':_0x3288d4,'label':_0x59cad2(_0x5cee88,_0x23e7db(0x1cc)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x23e7db(0x1c6)}),_0x2501cb['on'](_0x23e7db(0x1f6),()=>{const _0x5b798d=_0x23e7db;this[_0x5b798d(0x1f3)]();}),_0x2501cb[_0x23e7db(0x1dc)](_0x23e7db(0x1cf))['to'](this[_0x23e7db(0x1ce)][_0x23e7db(0x1d6)],_0x23e7db(0x1e5),this,_0x23e7db(0x1cf),(_0x175175,_0x509016)=>!_0x175175&&_0x509016),_0x2501cb;}[_0x5b792c(0x1db)](){const _0x1f3365=_0x5b792c,_0x46d38a=new _0x9ccea3(this[_0x1f3365(0x1d4)]),_0x354e9d=this[_0x1f3365(0x1de)],_0xdbd14f=this[_0x1f3365(0x1d4)];_0x46d38a[_0x1f3365(0x1e4)]({'label':_0x59cad2(_0xdbd14f,_0x1f3365(0x1d8)),'withText':!0x1,'icon':_0x3dac18[_0x1f3365(0x1e1)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1f3365(0x1d3)}),_0x46d38a[_0x1f3365(0x1dc)](_0x1f3365(0x1fd))['to'](_0x354e9d,_0x1f3365(0x1f4)),_0x46d38a[_0x1f3365(0x1dc)](_0x1f3365(0x1cf))['to'](this,_0x1f3365(0x1cf)),_0x46d38a['on'](_0x1f3365(0x1f6),()=>{const _0x1aa168=_0x1f3365;_0x354e9d[_0x1aa168(0x1f4)]=!_0x354e9d[_0x1aa168(0x1f4)],_0x354e9d[_0x1aa168(0x1f4)]?this[_0x1aa168(0x1e7)][_0x1aa168(0x1f7)]():this[_0x1aa168(0x1f7)]();});const _0x5b64de=()=>{const _0x5511e3=_0x1f3365;_0x45e5f1[_0x5511e3(0x1f9)][_0x5511e3(0x1eb)](()=>{const _0x1117eb=_0x5511e3;if(_0xebb8cd(this[_0x1117eb(0x1fb)])){const _0x2bf992=new _0x215437(this[_0x1117eb(0x1ce)][_0x1117eb(0x1d6)][_0x1117eb(0x1fb)]),_0x25ed3c=_0x2bf992[_0x1117eb(0x1da)],_0xd8c7d3=_0x1117eb(0x1fa)===_0xdbd14f[_0x1117eb(0x1e2)]?_0x1117eb(0x1cb):_0x1117eb(0x1fe);_0x2bf992[_0x1117eb(0x1e8)](),_0x46d38a[_0x1117eb(0x1fb)][_0x1117eb(0x1d1)][_0xd8c7d3]=_0x25ed3c-_0x2bf992[_0x1117eb(0x1da)]+0x1+'px';}});};return this[_0x1f3365(0x1ce)][_0x1f3365(0x1d6)]['on'](_0x1f3365(0x1f0),_0x5b64de),this['on'](_0x1f3365(0x1e6),_0x5b64de),_0x46d38a;}[_0x5b792c(0x1f3)](){const _0x32f9e6=_0x5b792c,_0x2f9951=this[_0x32f9e6(0x1ce)][_0x32f9e6(0x1d6)][_0x32f9e6(0x1fb)][_0x32f9e6(0x1ed)];this[_0x32f9e6(0x1ef)](_0x32f9e6(0x1f3),_0x2f9951);}[_0x5b792c(0x1f7)](_0x5321d9){const _0x21ca8c=_0x5b792c;-0x1===_0x5321d9?this[_0x21ca8c(0x1d9)][_0x21ca8c(0x1ff)]():this[_0x21ca8c(0x1d9)][_0x21ca8c(0x1e9)]();}}
23
+ const _0x197497=_0x36e4;(function(_0x4e7375,_0x253e3b){const _0x53e640=_0x36e4,_0x94fa1f=_0x4e7375();while(!![]){try{const _0x15f166=-parseInt(_0x53e640(0x1b3))/0x1+-parseInt(_0x53e640(0x1a2))/0x2*(parseInt(_0x53e640(0x1c7))/0x3)+-parseInt(_0x53e640(0x1a8))/0x4*(-parseInt(_0x53e640(0x1b4))/0x5)+parseInt(_0x53e640(0x1c1))/0x6+parseInt(_0x53e640(0x1af))/0x7*(parseInt(_0x53e640(0x1a5))/0x8)+-parseInt(_0x53e640(0x1aa))/0x9*(parseInt(_0x53e640(0x1b0))/0xa)+parseInt(_0x53e640(0x1c9))/0xb*(parseInt(_0x53e640(0x19d))/0xc);if(_0x15f166===_0x253e3b)break;else _0x94fa1f['push'](_0x94fa1f['shift']());}catch(_0x983c69){_0x94fa1f['push'](_0x94fa1f['shift']());}}}(_0x5d25,0x4aeaa));function _0x36e4(_0x5a4376,_0x3e74eb){const _0x5d256d=_0x5d25();return _0x36e4=function(_0x36e451,_0x2bb74b){_0x36e451=_0x36e451-0x18d;let _0x4ceaac=_0x5d256d[_0x36e451];return _0x4ceaac;},_0x36e4(_0x5a4376,_0x3e74eb);}import{Rect as _0x16766e,global as _0x44092a,isVisible as _0x50d97b}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1db3a7,ButtonView as _0x27fd0e}from'ckeditor5/src/ui.js';import{icons as _0x3db549}from'ckeditor5/src/core.js';import{getTranslation as _0x43b6e6}from'../../utils/common-translations.js';import _0xa60d29 from'../../../theme/icons/submit.svg';export default class pt extends _0x1db3a7{constructor(_0x1831a7,_0x2841d7){const _0x5df9b9=_0x36e4;super(_0x1831a7,_0x2841d7),this[_0x5df9b9(0x1bb)][_0x5df9b9(0x1b1)][_0x5df9b9(0x19b)]=0x1,this[_0x5df9b9(0x1bb)][_0x5df9b9(0x1b1)][_0x5df9b9(0x190)]=0x3,this[_0x5df9b9(0x198)]=this[_0x5df9b9(0x19c)](),this[_0x5df9b9(0x1c6)]=this[_0x5df9b9(0x196)](),this[_0x5df9b9(0x1b7)][_0x5df9b9(0x1bd)](this[_0x5df9b9(0x1c6)],0x1),this[_0x5df9b9(0x1b7)][_0x5df9b9(0x1bd)](this[_0x5df9b9(0x198)]);}[_0x197497(0x1a7)](){const _0x27bbe2=_0x197497;super[_0x27bbe2(0x1a7)](),this[_0x27bbe2(0x1bb)][_0x27bbe2(0x19e)][_0x27bbe2(0x1bd)](this[_0x27bbe2(0x1c6)]),this[_0x27bbe2(0x19a)][_0x27bbe2(0x1bd)](this[_0x27bbe2(0x198)]),this[_0x27bbe2(0x193)][_0x27bbe2(0x1a3)](_0x27bbe2(0x192),(_0x1b0963,_0x15f97d)=>{const _0x1254f2=_0x27bbe2;_0x1b0963[_0x1254f2(0x1c2)]==this[_0x1254f2(0x1bb)][_0x1254f2(0x1b1)][_0x1254f2(0x1ba)]&&(this[_0x1254f2(0x1bc)](),_0x15f97d());});}[_0x197497(0x19c)](){const _0x43bcae=_0x197497,_0x402b44=new _0x27fd0e(this[_0x43bcae(0x1c4)]),_0xc07be8=this[_0x43bcae(0x1c4)];return _0x402b44[_0x43bcae(0x1a3)]({'icon':_0xa60d29,'label':_0x43b6e6(_0xc07be8,_0x43bcae(0x197)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x43bcae(0x1b2)}),_0x402b44['on'](_0x43bcae(0x1b6),()=>{const _0x4be3e8=_0x43bcae;this[_0x4be3e8(0x1bc)]();}),_0x402b44[_0x43bcae(0x1c8)](_0x43bcae(0x1a4))['to'](this[_0x43bcae(0x1bb)][_0x43bcae(0x1b1)],_0x43bcae(0x1a6),this,_0x43bcae(0x1a4),(_0x3887c5,_0xc59225)=>!_0x3887c5&&_0xc59225),_0x402b44;}[_0x197497(0x196)](){const _0x31773b=_0x197497,_0x32ae45=new _0x27fd0e(this[_0x31773b(0x1c4)]),_0x5d8bd1=this[_0x31773b(0x1bf)],_0x219781=this[_0x31773b(0x1c4)];_0x32ae45[_0x31773b(0x1a3)]({'label':_0x43b6e6(_0x219781,_0x31773b(0x199)),'withText':!0x1,'icon':_0x3db549[_0x31773b(0x18e)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x31773b(0x1ae)}),_0x32ae45[_0x31773b(0x1c8)](_0x31773b(0x19f))['to'](_0x5d8bd1,_0x31773b(0x1a1)),_0x32ae45[_0x31773b(0x1c8)](_0x31773b(0x1a4))['to'](this,_0x31773b(0x1a4)),_0x32ae45['on'](_0x31773b(0x1b6),()=>{const _0x1640d8=_0x31773b;_0x5d8bd1[_0x1640d8(0x1a1)]=!_0x5d8bd1[_0x1640d8(0x1a1)],_0x5d8bd1[_0x1640d8(0x1a1)]?this[_0x1640d8(0x1b8)][_0x1640d8(0x195)]():this[_0x1640d8(0x195)]();});const _0x3963d4=()=>{const _0x17ab9d=_0x31773b;_0x44092a[_0x17ab9d(0x191)][_0x17ab9d(0x1be)](()=>{const _0xd23172=_0x17ab9d;if(_0x50d97b(this[_0xd23172(0x1ba)])){const _0x397c6e=new _0x16766e(this[_0xd23172(0x1bb)][_0xd23172(0x1b1)][_0xd23172(0x1ba)]),_0x3945af=_0x397c6e[_0xd23172(0x1ad)],_0x159f40=_0xd23172(0x1ac)===_0x219781[_0xd23172(0x1a0)]?_0xd23172(0x1c0):_0xd23172(0x1a9);_0x397c6e[_0xd23172(0x1c5)](),_0x32ae45[_0xd23172(0x1ba)][_0xd23172(0x18d)][_0x159f40]=_0x3945af-_0x397c6e[_0xd23172(0x1ad)]+0x1+'px';}});};return this[_0x31773b(0x1bb)][_0x31773b(0x1b1)]['on'](_0x31773b(0x194),_0x3963d4),this['on'](_0x31773b(0x1a7),_0x3963d4),_0x32ae45;}[_0x197497(0x1bc)](){const _0x514c2a=_0x197497,_0x4c3997=this[_0x514c2a(0x1bb)][_0x514c2a(0x1b1)][_0x514c2a(0x1ba)][_0x514c2a(0x1b9)];this[_0x514c2a(0x1c3)](_0x514c2a(0x1bc),_0x4c3997);}[_0x197497(0x195)](_0x5ddc85){const _0x11fd1b=_0x197497;-0x1===_0x5ddc85?this[_0x11fd1b(0x1b5)][_0x11fd1b(0x18f)]():this[_0x11fd1b(0x1b5)][_0x11fd1b(0x1ab)]();}}function _0x5d25(){const _0x248d2b=['fieldWrapperChildren','isOn','uiLanguageDirection','isVisible','4woXLqh','set','isEnabled','40NkgJdT','isEmpty','render','712168cWsTzD','right','171QrIYug','focusFirst','rtl','width','ck-ai-form__toggle-history','339745JxXbes','256130jhQEJY','fieldView','ck-ai-form__submit','476087xqywXz','10ertPuB','focusCycler','execute','focusableChildren','filteredView','value','element','queryView','submit','add','requestAnimationFrame','resultsView','left','1240320SQhLze','target','fire','locale','excludeScrollbarsAndBorders','showHistoryButtonView','667176CKaDCd','bind','6413opmHgK','style','history','focusLast','maxRows','window','enter','keystrokes','update','focus','_createShowHistoryButton','Submit','submitButtonView','History','children','minRows','_createSubmitButton','18708yvYHxQ'];_0x5d25=function(){return _0x248d2b;};return _0x5d25();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f6d83=_0x4cf5;(function(_0x26f9c8,_0x61a57e){const _0xa2eb3c=_0x4cf5,_0x104a6e=_0x26f9c8();while(!![]){try{const _0x4986cc=parseInt(_0xa2eb3c(0x1a5))/0x1+-parseInt(_0xa2eb3c(0x1ab))/0x2+parseInt(_0xa2eb3c(0x1b0))/0x3+parseInt(_0xa2eb3c(0x1b4))/0x4*(-parseInt(_0xa2eb3c(0x1b3))/0x5)+-parseInt(_0xa2eb3c(0x1bb))/0x6+-parseInt(_0xa2eb3c(0x1a7))/0x7+parseInt(_0xa2eb3c(0x1b5))/0x8*(parseInt(_0xa2eb3c(0x19c))/0x9);if(_0x4986cc===_0x61a57e)break;else _0x104a6e['push'](_0x104a6e['shift']());}catch(_0x4adce4){_0x104a6e['push'](_0x104a6e['shift']());}}}(_0x2f07,0xc3fcf));import{ToolbarView as _0x19d87c,ButtonView as _0x4b4b90}from'ckeditor5/src/ui.js';import{getTranslation as _0x2f0a3a}from'../../utils/common-translations.js';function _0x2f07(){const _0x3193a2=['1387825bODNxD','_createButton','4193329vSeImE','AI_','Stop','tryAgainButton','3037456ihCYwY','bindTemplate','addMany','_CONTENT','ck-hidden','4415883CemYRq','toUpperCase','ck-ai-form__toolbar','957515pzIsha','4mVfbYb','41616CWTNOs','locale','REPLACE','extendTemplate','ck-button-action','items','5165814dOFjzT','replace','isVisible','Insert\x20below','insert','1926TSzBkr','insertButton','replaceButton','stopButton','bind','label','Try\x20again','set','mainAction'];_0x2f07=function(){return _0x3193a2;};return _0x2f07();}function _0x4cf5(_0x56e5ab,_0x50e946){const _0x2f07a4=_0x2f07();return _0x4cf5=function(_0x4cf51b,_0x509735){_0x4cf51b=_0x4cf51b-0x19c;let _0x41cb35=_0x2f07a4[_0x4cf51b];return _0x41cb35;},_0x4cf5(_0x56e5ab,_0x50e946);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1f6d83(0x1bc),'INSERT':_0x1f6d83(0x1bf)};export default class Tt extends _0x19d87c{constructor(_0x5cf335){const _0x2c570e=_0x1f6d83;super(_0x5cf335),this[_0x2c570e(0x1a3)](_0x2c570e(0x1bd),!0x1),this[_0x2c570e(0x1a3)](_0x2c570e(0x1a4),AIFormToolbarViewMainActionLabel[_0x2c570e(0x1b7)]),this[_0x2c570e(0x19e)]=this[_0x2c570e(0x1a6)]('',_0x2c570e(0x1b9)),this[_0x2c570e(0x19e)][_0x2c570e(0x1a0)](_0x2c570e(0x1a1))['to'](this,_0x2c570e(0x1a4),_0x30d8c1=>_0x2f0a3a(_0x5cf335,_0x2c570e(0x1a8)+_0x30d8c1[_0x2c570e(0x1b1)]()+_0x2c570e(0x1ae))),this[_0x2c570e(0x19d)]=this[_0x2c570e(0x1a6)](_0x2f0a3a(_0x5cf335,_0x2c570e(0x1be))),this[_0x2c570e(0x1aa)]=this[_0x2c570e(0x1a6)](_0x2f0a3a(_0x5cf335,_0x2c570e(0x1a2))),this[_0x2c570e(0x19f)]=this[_0x2c570e(0x1a6)](_0x2f0a3a(_0x5cf335,_0x2c570e(0x1a9)));const _0x20e668=this[_0x2c570e(0x1ac)];this[_0x2c570e(0x1b8)]({'attributes':{'class':[_0x2c570e(0x1b2),_0x20e668['if'](_0x2c570e(0x1bd),_0x2c570e(0x1af),_0x3a28a0=>!_0x3a28a0)]}}),this[_0x2c570e(0x1ba)][_0x2c570e(0x1ad)]([this[_0x2c570e(0x19e)],this[_0x2c570e(0x19d)],this[_0x2c570e(0x1aa)],this[_0x2c570e(0x19f)]]);}[_0x1f6d83(0x1a6)](_0x1d5f17,_0x2e9251){const _0x412f18=_0x1f6d83,_0x51457f=new _0x4b4b90(this[_0x412f18(0x1b6)]);return _0x51457f[_0x412f18(0x1a3)]({'label':_0x1d5f17,'class':_0x2e9251||'','isVisible':!0x0,'withText':!0x0}),_0x51457f;}}
23
+ const _0x33a60a=_0x15da;(function(_0xe7afb,_0x45f509){const _0x5c9e4c=_0x15da,_0x34aae5=_0xe7afb();while(!![]){try{const _0x5d3d32=parseInt(_0x5c9e4c(0x1c8))/0x1*(parseInt(_0x5c9e4c(0x1db))/0x2)+parseInt(_0x5c9e4c(0x1c3))/0x3+-parseInt(_0x5c9e4c(0x1e4))/0x4+-parseInt(_0x5c9e4c(0x1d9))/0x5+-parseInt(_0x5c9e4c(0x1e3))/0x6*(-parseInt(_0x5c9e4c(0x1df))/0x7)+parseInt(_0x5c9e4c(0x1de))/0x8*(-parseInt(_0x5c9e4c(0x1cc))/0x9)+parseInt(_0x5c9e4c(0x1cf))/0xa;if(_0x5d3d32===_0x45f509)break;else _0x34aae5['push'](_0x34aae5['shift']());}catch(_0x2eef1d){_0x34aae5['push'](_0x34aae5['shift']());}}}(_0x2ace,0xc1eda));import{ToolbarView as _0x59afc2,ButtonView as _0x228044}from'ckeditor5/src/ui.js';import{getTranslation as _0x38a11b}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x33a60a(0x1d5),'INSERT':_0x33a60a(0x1ce)};function _0x15da(_0x5a0af8,_0x149578){const _0x2ace32=_0x2ace();return _0x15da=function(_0x15da7b,_0x492eed){_0x15da7b=_0x15da7b-0x1c3;let _0x4b3197=_0x2ace32[_0x15da7b];return _0x4b3197;},_0x15da(_0x5a0af8,_0x149578);}function _0x2ace(){const _0x1592e1=['Stop','replaceButton','addMany','AI_','items','replace','bindTemplate','locale','toUpperCase','2703800kVxrTz','Insert\x20below','430nILqWQ','ck-button-action','label','63928SoTPJW','19971PvCeKf','set','ck-ai-form__toolbar','ck-hidden','1284CSypDd','3802012VvLEZQ','_createButton','tryAgainButton','insertButton','3892677AguNrr','extendTemplate','Try\x20again','bind','REPLACE','1713DldTnf','stopButton','mainAction','isVisible','1557mezgyg','_CONTENT','insert','13916400LQgZfl'];_0x2ace=function(){return _0x1592e1;};return _0x2ace();}export default class Tt extends _0x59afc2{constructor(_0x50b951){const _0x2341d7=_0x33a60a;super(_0x50b951),this[_0x2341d7(0x1e0)](_0x2341d7(0x1cb),!0x1),this[_0x2341d7(0x1e0)](_0x2341d7(0x1ca),AIFormToolbarViewMainActionLabel[_0x2341d7(0x1c7)]),this[_0x2341d7(0x1d1)]=this[_0x2341d7(0x1e5)]('',_0x2341d7(0x1dc)),this[_0x2341d7(0x1d1)][_0x2341d7(0x1c6)](_0x2341d7(0x1dd))['to'](this,_0x2341d7(0x1ca),_0x43c545=>_0x38a11b(_0x50b951,_0x2341d7(0x1d3)+_0x43c545[_0x2341d7(0x1d8)]()+_0x2341d7(0x1cd))),this[_0x2341d7(0x1e7)]=this[_0x2341d7(0x1e5)](_0x38a11b(_0x50b951,_0x2341d7(0x1da))),this[_0x2341d7(0x1e6)]=this[_0x2341d7(0x1e5)](_0x38a11b(_0x50b951,_0x2341d7(0x1c5))),this[_0x2341d7(0x1c9)]=this[_0x2341d7(0x1e5)](_0x38a11b(_0x50b951,_0x2341d7(0x1d0)));const _0x23afca=this[_0x2341d7(0x1d6)];this[_0x2341d7(0x1c4)]({'attributes':{'class':[_0x2341d7(0x1e1),_0x23afca['if'](_0x2341d7(0x1cb),_0x2341d7(0x1e2),_0x4a8c32=>!_0x4a8c32)]}}),this[_0x2341d7(0x1d4)][_0x2341d7(0x1d2)]([this[_0x2341d7(0x1d1)],this[_0x2341d7(0x1e7)],this[_0x2341d7(0x1e6)],this[_0x2341d7(0x1c9)]]);}[_0x33a60a(0x1e5)](_0x4de7f9,_0x20f77f){const _0x10ea39=_0x33a60a,_0x48ccf5=new _0x228044(this[_0x10ea39(0x1d7)]);return _0x48ccf5[_0x10ea39(0x1e0)]({'label':_0x4de7f9,'class':_0x20f77f||'','isVisible':!0x0,'withText':!0x0}),_0x48ccf5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3fa819=_0x4f34;function _0x4f34(_0x5042b7,_0x3f6f3b){const _0xa71bc4=_0xa71b();return _0x4f34=function(_0x4f344b,_0x5ae964){_0x4f344b=_0x4f344b-0xaf;let _0x5e160f=_0xa71bc4[_0x4f344b];return _0x5e160f;},_0x4f34(_0x5042b7,_0x3f6f3b);}(function(_0x5e9ad1,_0x5b669a){const _0xbe4985=_0x4f34,_0x114f96=_0x5e9ad1();while(!![]){try{const _0x5b39d5=parseInt(_0xbe4985(0xff))/0x1*(parseInt(_0xbe4985(0xb2))/0x2)+-parseInt(_0xbe4985(0xc2))/0x3*(parseInt(_0xbe4985(0xdb))/0x4)+parseInt(_0xbe4985(0x107))/0x5+parseInt(_0xbe4985(0xbd))/0x6+parseInt(_0xbe4985(0xd2))/0x7*(parseInt(_0xbe4985(0xc1))/0x8)+-parseInt(_0xbe4985(0xe8))/0x9+parseInt(_0xbe4985(0xd3))/0xa;if(_0x5b39d5===_0x5b669a)break;else _0x114f96['push'](_0x114f96['shift']());}catch(_0x596dd7){_0x114f96['push'](_0x114f96['shift']());}}}(_0xa71b,0xea515));import{FocusTracker as _0x217028,KeystrokeHandler as _0x34c833}from'ckeditor5/src/utils.js';import{View as _0x1236e1,FocusCycler as _0x3c18e2,createLabeledTextarea as _0x4d275f}from'ckeditor5/src/ui.js';function _0xa71b(){const _0x28ae14=['finishProcessing','delegate','tab','isVisible','toolbar','execute','32056mgzWEZ','submit','add','reset','listenTo','focusNext','_createPromptView','search','5109605OukIzk','ck-ai-form','copyButtonView','fire','8KmvONK','startProcessing','div','AI_ERROR_FAILED','text','_createHistoryView','element','submitPrompt','focusPrevious','focusCycler','_createToolbar','259410vXOESv','isProcessing','_focusables','_promptHistory','8kWfOdB','426885SjUwHN','handleError','Empty\x20history','set','replaceButton','bindTemplate','insertButton','stopButton','forwardCycle','Ask\x20AI\x20to\x20improve\x20generated\x20text','mainAction','stopProcessing','isEnabled','label','focusFirst','prompt','6080179JOeNjZ','4174330JqldlA','replaceContent','stop','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','promptView','fieldView','Ask\x20AI\x20to\x20edit\x20or\x20generate','tryAgainButton','8ydrVhH','shift\x20+\x20tab','render','ck-ai-form-content','historyGroupView','contentArea','backwardCycle','createCollection','focusLast','errorView','isError','keystrokes','bindTo','11115495BjhZyH','ck-hidden','focus','locale','value','insertContentBelow','setTemplate','focusTracker','tryAgainEvent','trim','bind','queryView','REPLACE','high','clearHistory','items','clear'];_0xa71b=function(){return _0x28ae14;};return _0xa71b();}import _0x3de3b9,{AIFormToolbarViewMainActionLabel as _0x1ab84a}from'./aiformtoolbarview.js';import _0x58001a from'./aiformcontentarea.js';import _0x3c63b0 from'./aiformerrorview.js';import _0x58c091 from'./aiformpromptview.js';import _0x18051a from'./aihistorylistview.js';import _0x161b01 from'./aihistorylistitemview.js';import _0x444405 from'./prompthistory.js';import{getTranslation as _0x29580b}from'../../utils/common-translations.js';import{escape as _0x4a7565}from'lodash-es';export default class x extends _0x1236e1{constructor(_0x176346,_0x1df3d9,_0x5b74dc=''){const _0x2b0502=_0x4f34;super(_0x176346),this[_0x2b0502(0xc5)](_0x2b0502(0xce),!0x0),this[_0x2b0502(0xc5)](_0x2b0502(0xbe),!0x1),this[_0x2b0502(0xc5)](_0x2b0502(0xd1),''),this[_0x2b0502(0xc5)](_0x2b0502(0xec),''),this[_0x2b0502(0xc5)](_0x2b0502(0xe5),!0x1),this[_0x2b0502(0xc5)](_0x2b0502(0xcc),_0x1ab84a[_0x2b0502(0xf4)]),this[_0x2b0502(0xc0)]=new _0x444405(),this[_0x2b0502(0xe4)]=new _0x3c63b0(_0x176346),this[_0x2b0502(0xe0)]=new _0x58001a(_0x176346,_0x5b74dc),this[_0x2b0502(0xe0)][_0x2b0502(0xf2)](_0x2b0502(0xbe))['to'](this),this[_0x2b0502(0xe0)][_0x2b0502(0xf2)](_0x2b0502(0xec))['to'](this),this[_0x2b0502(0xfd)]=this[_0x2b0502(0xbc)](),this[_0x2b0502(0xfd)][_0x2b0502(0xf2)](_0x2b0502(0xcc))['to'](this),this[_0x2b0502(0xd7)]=this[_0x2b0502(0x105)](),this[_0x2b0502(0xef)]=new _0x217028(),this[_0x2b0502(0xe6)]=new _0x34c833(),this[_0x2b0502(0xbf)]=this[_0x2b0502(0xe2)]([this[_0x2b0502(0xe0)],this[_0x2b0502(0xe0)][_0x2b0502(0xb0)],this[_0x2b0502(0xfd)],this[_0x2b0502(0xd7)]]),this[_0x2b0502(0xbb)]=new _0x3c18e2({'focusables':this[_0x2b0502(0xbf)],'focusTracker':this[_0x2b0502(0xef)],'keystrokeHandler':this[_0x2b0502(0xe6)],'actions':{'focusPrevious':_0x2b0502(0xdc),'focusNext':_0x2b0502(0xfb)}}),this[_0x2b0502(0xd7)][_0x2b0502(0xbb)]['on'](_0x2b0502(0xca),_0x3e4f9e=>{const _0x5266d4=_0x2b0502;this[_0x5266d4(0xbb)][_0x5266d4(0x104)](),_0x3e4f9e[_0x5266d4(0xd5)]();}),this[_0x2b0502(0xd7)][_0x2b0502(0xbb)]['on'](_0x2b0502(0xe1),_0x3863e4=>{const _0x3c30c6=_0x2b0502;this[_0x3c30c6(0xbb)][_0x3c30c6(0xba)](),_0x3863e4[_0x3c30c6(0xd5)]();}),this[_0x2b0502(0xd7)][_0x2b0502(0xf3)][_0x2b0502(0xd8)][_0x2b0502(0xf2)](_0x2b0502(0xec))['to'](this,_0x2b0502(0xd1));const _0x3d8ae5=this[_0x2b0502(0xc7)];this[_0x2b0502(0xee)]({'tag':_0x2b0502(0xb4),'attributes':{'class':['ck',_0x2b0502(0xaf),_0x1df3d9],'tabindex':'-1'},'children':[{'tag':_0x2b0502(0xb4),'attributes':{'class':['ck',_0x2b0502(0xde)]},'children':[{'tag':_0x2b0502(0xb4),'attributes':{'class':[_0x3d8ae5['if'](_0x2b0502(0xe5),_0x2b0502(0xe9),_0x30d927=>!_0x30d927)]},'children':[this[_0x2b0502(0xe4)]]},this[_0x2b0502(0xe0)],this[_0x2b0502(0xfd)],this[_0x2b0502(0xd7)]]}]});}[_0x3fa819(0xdd)](){const _0x3e4b0a=_0x3fa819;super[_0x3e4b0a(0xdd)](),this[_0x3e4b0a(0xef)][_0x3e4b0a(0x101)](this[_0x3e4b0a(0xe0)][_0x3e4b0a(0xb8)]),this[_0x3e4b0a(0xef)][_0x3e4b0a(0x101)](this[_0x3e4b0a(0xe0)][_0x3e4b0a(0xb0)][_0x3e4b0a(0xb8)]),this[_0x3e4b0a(0xef)][_0x3e4b0a(0x101)](this[_0x3e4b0a(0xfd)][_0x3e4b0a(0xb8)]),this[_0x3e4b0a(0xef)][_0x3e4b0a(0x101)](this[_0x3e4b0a(0xd7)][_0x3e4b0a(0xb8)]),this[_0x3e4b0a(0xe6)][_0x3e4b0a(0x103)](this[_0x3e4b0a(0xb8)]);}[_0x3fa819(0xea)](_0x26bdbd=0x1){const _0x338845=_0x3fa819;-0x1===_0x26bdbd?this[_0x338845(0xbb)][_0x338845(0xe3)]():this[_0x338845(0xbb)][_0x338845(0xd0)]();}[_0x3fa819(0x102)](){const _0x45012b=_0x3fa819;this[_0x45012b(0xd1)]='',this[_0x45012b(0xec)]='',this[_0x45012b(0xe5)]=!0x1,this[_0x45012b(0xd7)][_0x45012b(0x102)](),this[_0x45012b(0xe0)][_0x45012b(0xfc)]=!0x1,this[_0x45012b(0xfd)][_0x45012b(0xfc)]=!0x1;}[_0x3fa819(0x105)](){const _0x522b58=_0x3fa819,_0x3d8ab7=this[_0x522b58(0xeb)],_0xfe56ae=new _0x58c091(_0x3d8ab7,{'queryView':{'label':_0x29580b(_0x3d8ab7,_0x522b58(0xd9)),'creator':_0x4d275f,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x29580b(_0x3d8ab7,_0x522b58(0xc4)),'secondary':_0x29580b(_0x3d8ab7,_0x522b58(0xd6))}}},'filteredView':this[_0x522b58(0xb7)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xfe56ae[_0x522b58(0xf2)](_0x522b58(0xce))['to'](this,_0x522b58(0xce),this,_0x522b58(0xbe),(_0x4cfe72,_0x282110)=>_0x4cfe72&&!_0x282110),this[_0x522b58(0x103)](_0xfe56ae,_0x522b58(0x100),(_0x35bc5a,_0x5e0278)=>{const _0x374877=_0x522b58;this[_0x374877(0xd1)]=_0x5e0278;const _0x31834b=_0x4a7565(_0x5e0278);this[_0x374877(0xb1)](_0x374877(0xb9),_0x31834b),_0x5e0278[_0x374877(0xf1)]()&&this[_0x374877(0xc0)][_0x374877(0x101)]({'prompt':_0x31834b},0x0);},{'priority':_0x522b58(0xf5)}),_0xfe56ae;}[_0x3fa819(0xb7)](){const _0x15a664=_0x3fa819,_0x30d99d=new _0x18051a(this[_0x15a664(0xeb)]);return _0x30d99d[_0x15a664(0xdf)][_0x15a664(0xf7)][_0x15a664(0xe7)](this[_0x15a664(0xc0)])['as'](_0x161b01),_0x30d99d['on'](_0x15a664(0xf6),()=>{const _0xee04b9=_0x15a664;this[_0xee04b9(0xc0)][_0xee04b9(0xf8)](),this[_0xee04b9(0xd7)][_0xee04b9(0x106)](''),this[_0xee04b9(0xd7)][_0xee04b9(0xea)]();}),_0x30d99d;}[_0x3fa819(0xbc)](){const _0x4ba464=_0x3fa819,_0x763211=new _0x3de3b9(this[_0x4ba464(0xeb)]);return _0x763211[_0x4ba464(0xc6)][_0x4ba464(0xf2)](_0x4ba464(0xce))['to'](this,_0x4ba464(0xce),this,_0x4ba464(0xbe),this,_0x4ba464(0xec),(_0x55ec45,_0x584135,_0x511cbf)=>_0x55ec45&&!_0x584135&&!!_0x511cbf),_0x763211[_0x4ba464(0xc6)][_0x4ba464(0xfa)](_0x4ba464(0xfe))['to'](this,_0x4ba464(0xd4)),_0x763211[_0x4ba464(0xc8)][_0x4ba464(0xf2)](_0x4ba464(0xce))['to'](this,_0x4ba464(0xce),this,_0x4ba464(0xbe),this,_0x4ba464(0xec),(_0x33216b,_0x66498d,_0x29c19e)=>_0x33216b&&!_0x66498d&&!!_0x29c19e),_0x763211[_0x4ba464(0xc8)][_0x4ba464(0xfa)](_0x4ba464(0xfe))['to'](this,_0x4ba464(0xed)),_0x763211[_0x4ba464(0xda)][_0x4ba464(0xf2)](_0x4ba464(0xce))['to'](this,_0x4ba464(0xce),this,_0x4ba464(0xbe),(_0x38f254,_0x3efcd5)=>_0x38f254&&!_0x3efcd5),_0x763211[_0x4ba464(0xda)][_0x4ba464(0xfa)](_0x4ba464(0xfe))['to'](this,_0x4ba464(0xf0)),_0x763211[_0x4ba464(0xc9)][_0x4ba464(0xf2)](_0x4ba464(0xce))['to'](this,_0x4ba464(0xbe)),_0x763211[_0x4ba464(0xc9)][_0x4ba464(0xfa)](_0x4ba464(0xfe))['to'](this,_0x4ba464(0xcd)),_0x763211;}[_0x3fa819(0xb3)](){const _0x1b296d=_0x3fa819;this[_0x1b296d(0xec)]='',this[_0x1b296d(0xe5)]=!0x1,this[_0x1b296d(0xbe)]=!0x0,this[_0x1b296d(0xe0)][_0x1b296d(0xfc)]=!0x0,this[_0x1b296d(0xfd)][_0x1b296d(0xfc)]=!0x0,this[_0x1b296d(0xe0)][_0x1b296d(0xea)]();}[_0x3fa819(0xf9)](){const _0x3e731f=_0x3fa819,_0x2c3a22=this[_0x3e731f(0xeb)];this[_0x3e731f(0xbe)]=!0x1,this[_0x3e731f(0xd1)]='',this[_0x3e731f(0xd7)][_0x3e731f(0x102)](),this[_0x3e731f(0xec)]&&(this[_0x3e731f(0xd7)][_0x3e731f(0xf3)][_0x3e731f(0xcf)]=_0x29580b(_0x2c3a22,_0x3e731f(0xcb)));}[_0x3fa819(0xc3)](_0x16f8ee){const _0x338b23=_0x3fa819,_0x51e8ac=this[_0x338b23(0xeb)];this[_0x338b23(0xf9)](),this[_0x338b23(0xe5)]=!0x0,this[_0x338b23(0xe4)][_0x338b23(0xb6)]=_0x16f8ee||_0x29580b(_0x51e8ac,_0x338b23(0xb5)),this[_0x338b23(0xec)]||(this[_0x338b23(0xe0)][_0x338b23(0xfc)]=!0x1);}}
23
+ const _0x10a013=_0x2baa;function _0x5cb2(){const _0x3cd02e=['focusLast','copyButtonView','reset','historyGroupView','bind','isError','insertContentBelow','Empty\x20history','3134920zjMcSL','queryView','handleError','finishProcessing','ck-hidden','element','tryAgainButton','submitPrompt','listenTo','keystrokes','Ask\x20AI\x20to\x20improve\x20generated\x20text','REPLACE','fire','label','errorView','shift\x20+\x20tab','trim','_createPromptView','createCollection','startProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','focusTracker','tryAgainEvent','6GOlJVL','clearHistory','ck-ai-form-content','isEnabled','promptView','_promptHistory','set','focusNext','5175048WqMgEv','stopProcessing','bindTo','delegate','6YjXXDw','insertButton','stopButton','setTemplate','1399601TDHgyc','search','isProcessing','forwardCycle','bindTemplate','toolbar','focus','_createHistoryView','submit','render','clear','99BmrIbK','isVisible','high','mainAction','tab','_createToolbar','focusFirst','contentArea','locale','focusCycler','1441662NNcxnI','397241ZdVYFy','add','2141770ACgqik','focusPrevious','prompt','items','replaceButton','stop','execute','ck-ai-form','backwardCycle','text','_focusables','AI_ERROR_FAILED','fieldView','Ask\x20AI\x20to\x20edit\x20or\x20generate','replaceContent','div','value','1104824gVSpbX'];_0x5cb2=function(){return _0x3cd02e;};return _0x5cb2();}(function(_0x155e18,_0x135995){const _0x2733e5=_0x2baa,_0x2b4172=_0x155e18();while(!![]){try{const _0xac4719=parseInt(_0x2733e5(0x160))/0x1+parseInt(_0x2733e5(0x15f))/0x2+-parseInt(_0x2733e5(0x146))/0x3*(-parseInt(_0x2733e5(0x173))/0x4)+parseInt(_0x2733e5(0x17c))/0x5*(parseInt(_0x2733e5(0x13a))/0x6)+-parseInt(_0x2733e5(0x14a))/0x7+parseInt(_0x2733e5(0x142))/0x8+-parseInt(_0x2733e5(0x155))/0x9*(parseInt(_0x2733e5(0x162))/0xa);if(_0xac4719===_0x135995)break;else _0x2b4172['push'](_0x2b4172['shift']());}catch(_0x496f47){_0x2b4172['push'](_0x2b4172['shift']());}}}(_0x5cb2,0x5ed6b));import{FocusTracker as _0x44f96b,KeystrokeHandler as _0x41ba3f}from'ckeditor5/src/utils.js';import{View as _0x3ce4e3,FocusCycler as _0x511cdb,createLabeledTextarea as _0x57e01b}from'ckeditor5/src/ui.js';import _0x178fad,{AIFormToolbarViewMainActionLabel as _0xe2c159}from'./aiformtoolbarview.js';import _0x1a8493 from'./aiformcontentarea.js';function _0x2baa(_0x3b00ab,_0x4f3b5d){const _0x5cb203=_0x5cb2();return _0x2baa=function(_0x2baa83,_0x1548fc){_0x2baa83=_0x2baa83-0x125;let _0x25bc60=_0x5cb203[_0x2baa83];return _0x25bc60;},_0x2baa(_0x3b00ab,_0x4f3b5d);}import _0x3694b1 from'./aiformerrorview.js';import _0x2c9c20 from'./aiformpromptview.js';import _0x58c7b9 from'./aihistorylistview.js';import _0x54abcd from'./aihistorylistitemview.js';import _0x5efe33 from'./prompthistory.js';import{getTranslation as _0x1a203e}from'../../utils/common-translations.js';import{escape as _0x2b9018}from'lodash-es';export default class x extends _0x3ce4e3{constructor(_0x443097,_0x5e2ab6,_0x543b6d=''){const _0x3cf03b=_0x2baa;super(_0x443097),this[_0x3cf03b(0x140)](_0x3cf03b(0x13d),!0x0),this[_0x3cf03b(0x140)](_0x3cf03b(0x14c),!0x1),this[_0x3cf03b(0x140)](_0x3cf03b(0x164),''),this[_0x3cf03b(0x140)](_0x3cf03b(0x172),''),this[_0x3cf03b(0x140)](_0x3cf03b(0x179),!0x1),this[_0x3cf03b(0x140)](_0x3cf03b(0x158),_0xe2c159[_0x3cf03b(0x12e)]),this[_0x3cf03b(0x13f)]=new _0x5efe33(),this[_0x3cf03b(0x131)]=new _0x3694b1(_0x443097),this[_0x3cf03b(0x15c)]=new _0x1a8493(_0x443097,_0x543b6d),this[_0x3cf03b(0x15c)][_0x3cf03b(0x178)](_0x3cf03b(0x14c))['to'](this),this[_0x3cf03b(0x15c)][_0x3cf03b(0x178)](_0x3cf03b(0x172))['to'](this),this[_0x3cf03b(0x14f)]=this[_0x3cf03b(0x15a)](),this[_0x3cf03b(0x14f)][_0x3cf03b(0x178)](_0x3cf03b(0x158))['to'](this),this[_0x3cf03b(0x13e)]=this[_0x3cf03b(0x134)](),this[_0x3cf03b(0x138)]=new _0x44f96b(),this[_0x3cf03b(0x12c)]=new _0x41ba3f(),this[_0x3cf03b(0x16c)]=this[_0x3cf03b(0x135)]([this[_0x3cf03b(0x15c)],this[_0x3cf03b(0x15c)][_0x3cf03b(0x175)],this[_0x3cf03b(0x14f)],this[_0x3cf03b(0x13e)]]),this[_0x3cf03b(0x15e)]=new _0x511cdb({'focusables':this[_0x3cf03b(0x16c)],'focusTracker':this[_0x3cf03b(0x138)],'keystrokeHandler':this[_0x3cf03b(0x12c)],'actions':{'focusPrevious':_0x3cf03b(0x132),'focusNext':_0x3cf03b(0x159)}}),this[_0x3cf03b(0x13e)][_0x3cf03b(0x15e)]['on'](_0x3cf03b(0x14d),_0x20baa7=>{const _0x4a791b=_0x3cf03b;this[_0x4a791b(0x15e)][_0x4a791b(0x141)](),_0x20baa7[_0x4a791b(0x167)]();}),this[_0x3cf03b(0x13e)][_0x3cf03b(0x15e)]['on'](_0x3cf03b(0x16a),_0x49262f=>{const _0x4b4598=_0x3cf03b;this[_0x4b4598(0x15e)][_0x4b4598(0x163)](),_0x49262f[_0x4b4598(0x167)]();}),this[_0x3cf03b(0x13e)][_0x3cf03b(0x17d)][_0x3cf03b(0x16e)][_0x3cf03b(0x178)](_0x3cf03b(0x172))['to'](this,_0x3cf03b(0x164));const _0x1fd5dd=this[_0x3cf03b(0x14e)];this[_0x3cf03b(0x149)]({'tag':_0x3cf03b(0x171),'attributes':{'class':['ck',_0x3cf03b(0x169),_0x5e2ab6],'tabindex':'-1'},'children':[{'tag':_0x3cf03b(0x171),'attributes':{'class':['ck',_0x3cf03b(0x13c)]},'children':[{'tag':_0x3cf03b(0x171),'attributes':{'class':[_0x1fd5dd['if'](_0x3cf03b(0x179),_0x3cf03b(0x127),_0x2d682b=>!_0x2d682b)]},'children':[this[_0x3cf03b(0x131)]]},this[_0x3cf03b(0x15c)],this[_0x3cf03b(0x14f)],this[_0x3cf03b(0x13e)]]}]});}[_0x10a013(0x153)](){const _0x4847e0=_0x10a013;super[_0x4847e0(0x153)](),this[_0x4847e0(0x138)][_0x4847e0(0x161)](this[_0x4847e0(0x15c)][_0x4847e0(0x128)]),this[_0x4847e0(0x138)][_0x4847e0(0x161)](this[_0x4847e0(0x15c)][_0x4847e0(0x175)][_0x4847e0(0x128)]),this[_0x4847e0(0x138)][_0x4847e0(0x161)](this[_0x4847e0(0x14f)][_0x4847e0(0x128)]),this[_0x4847e0(0x138)][_0x4847e0(0x161)](this[_0x4847e0(0x13e)][_0x4847e0(0x128)]),this[_0x4847e0(0x12c)][_0x4847e0(0x12b)](this[_0x4847e0(0x128)]);}[_0x10a013(0x150)](_0x2731d7=0x1){const _0x4e7548=_0x10a013;-0x1===_0x2731d7?this[_0x4e7548(0x15e)][_0x4e7548(0x174)]():this[_0x4e7548(0x15e)][_0x4e7548(0x15b)]();}[_0x10a013(0x176)](){const _0x50accb=_0x10a013;this[_0x50accb(0x164)]='',this[_0x50accb(0x172)]='',this[_0x50accb(0x179)]=!0x1,this[_0x50accb(0x13e)][_0x50accb(0x176)](),this[_0x50accb(0x15c)][_0x50accb(0x156)]=!0x1,this[_0x50accb(0x14f)][_0x50accb(0x156)]=!0x1;}[_0x10a013(0x134)](){const _0x20be54=_0x10a013,_0x27fea0=this[_0x20be54(0x15d)],_0x2c16ba=new _0x2c9c20(_0x27fea0,{'queryView':{'label':_0x1a203e(_0x27fea0,_0x20be54(0x16f)),'creator':_0x57e01b,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1a203e(_0x27fea0,_0x20be54(0x17b)),'secondary':_0x1a203e(_0x27fea0,_0x20be54(0x137))}}},'filteredView':this[_0x20be54(0x151)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2c16ba[_0x20be54(0x178)](_0x20be54(0x13d))['to'](this,_0x20be54(0x13d),this,_0x20be54(0x14c),(_0x273ea8,_0x452d6e)=>_0x273ea8&&!_0x452d6e),this[_0x20be54(0x12b)](_0x2c16ba,_0x20be54(0x152),(_0xa02ed7,_0x3a0045)=>{const _0x1d9dd2=_0x20be54;this[_0x1d9dd2(0x164)]=_0x3a0045;const _0x2b0a3e=_0x2b9018(_0x3a0045);this[_0x1d9dd2(0x12f)](_0x1d9dd2(0x12a),_0x2b0a3e),_0x3a0045[_0x1d9dd2(0x133)]()&&this[_0x1d9dd2(0x13f)][_0x1d9dd2(0x161)]({'prompt':_0x2b0a3e},0x0);},{'priority':_0x20be54(0x157)}),_0x2c16ba;}[_0x10a013(0x151)](){const _0xf3fe04=_0x10a013,_0x240de5=new _0x58c7b9(this[_0xf3fe04(0x15d)]);return _0x240de5[_0xf3fe04(0x177)][_0xf3fe04(0x165)][_0xf3fe04(0x144)](this[_0xf3fe04(0x13f)])['as'](_0x54abcd),_0x240de5['on'](_0xf3fe04(0x13b),()=>{const _0x32209e=_0xf3fe04;this[_0x32209e(0x13f)][_0x32209e(0x154)](),this[_0x32209e(0x13e)][_0x32209e(0x14b)](''),this[_0x32209e(0x13e)][_0x32209e(0x150)]();}),_0x240de5;}[_0x10a013(0x15a)](){const _0x8edada=_0x10a013,_0x26887b=new _0x178fad(this[_0x8edada(0x15d)]);return _0x26887b[_0x8edada(0x166)][_0x8edada(0x178)](_0x8edada(0x13d))['to'](this,_0x8edada(0x13d),this,_0x8edada(0x14c),this,_0x8edada(0x172),(_0x6e7525,_0x15aa59,_0xea0f9b)=>_0x6e7525&&!_0x15aa59&&!!_0xea0f9b),_0x26887b[_0x8edada(0x166)][_0x8edada(0x145)](_0x8edada(0x168))['to'](this,_0x8edada(0x170)),_0x26887b[_0x8edada(0x147)][_0x8edada(0x178)](_0x8edada(0x13d))['to'](this,_0x8edada(0x13d),this,_0x8edada(0x14c),this,_0x8edada(0x172),(_0xbda1b8,_0x4e32e6,_0x521d89)=>_0xbda1b8&&!_0x4e32e6&&!!_0x521d89),_0x26887b[_0x8edada(0x147)][_0x8edada(0x145)](_0x8edada(0x168))['to'](this,_0x8edada(0x17a)),_0x26887b[_0x8edada(0x129)][_0x8edada(0x178)](_0x8edada(0x13d))['to'](this,_0x8edada(0x13d),this,_0x8edada(0x14c),(_0x3e601b,_0x2e1f82)=>_0x3e601b&&!_0x2e1f82),_0x26887b[_0x8edada(0x129)][_0x8edada(0x145)](_0x8edada(0x168))['to'](this,_0x8edada(0x139)),_0x26887b[_0x8edada(0x148)][_0x8edada(0x178)](_0x8edada(0x13d))['to'](this,_0x8edada(0x14c)),_0x26887b[_0x8edada(0x148)][_0x8edada(0x145)](_0x8edada(0x168))['to'](this,_0x8edada(0x143)),_0x26887b;}[_0x10a013(0x136)](){const _0x213204=_0x10a013;this[_0x213204(0x172)]='',this[_0x213204(0x179)]=!0x1,this[_0x213204(0x14c)]=!0x0,this[_0x213204(0x15c)][_0x213204(0x156)]=!0x0,this[_0x213204(0x14f)][_0x213204(0x156)]=!0x0,this[_0x213204(0x15c)][_0x213204(0x150)]();}[_0x10a013(0x126)](){const _0x139d72=_0x10a013,_0x2df37b=this[_0x139d72(0x15d)];this[_0x139d72(0x14c)]=!0x1,this[_0x139d72(0x164)]='',this[_0x139d72(0x13e)][_0x139d72(0x176)](),this[_0x139d72(0x172)]&&(this[_0x139d72(0x13e)][_0x139d72(0x17d)][_0x139d72(0x130)]=_0x1a203e(_0x2df37b,_0x139d72(0x12d)));}[_0x10a013(0x125)](_0x55e189){const _0x5c66da=_0x10a013,_0x5c7f36=this[_0x5c66da(0x15d)];this[_0x5c66da(0x126)](),this[_0x5c66da(0x179)]=!0x0,this[_0x5c66da(0x131)][_0x5c66da(0x16b)]=_0x55e189||_0x1a203e(_0x5c7f36,_0x5c66da(0x16d)),this[_0x5c66da(0x172)]||(this[_0x5c66da(0x15c)][_0x5c66da(0x156)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2fdd(){const _0x172838=['set','1125cJYHlw','45553FllQZt','fire','5412pxbnVm','139016hvFexh','2605734OAluqG','2KvUCwn','execute','18vNPyuO','prompt','49lszuNG','935590HaQnot','6517709DoZPry','add','154620autaUX','locale','children'];_0x2fdd=function(){return _0x172838;};return _0x2fdd();}(function(_0x370287,_0x299017){const _0x297470=_0x3b06,_0x9add5b=_0x370287();while(!![]){try{const _0x3d12f0=parseInt(_0x297470(0xa3))/0x1*(parseInt(_0x297470(0xa8))/0x2)+parseInt(_0x297470(0xaa))/0x3*(parseInt(_0x297470(0xb0))/0x4)+parseInt(_0x297470(0xa2))/0x5*(-parseInt(_0x297470(0xa5))/0x6)+-parseInt(_0x297470(0xac))/0x7*(parseInt(_0x297470(0xa6))/0x8)+-parseInt(_0x297470(0xa7))/0x9+-parseInt(_0x297470(0xad))/0xa+parseInt(_0x297470(0xae))/0xb;if(_0x3d12f0===_0x299017)break;else _0x9add5b['push'](_0x9add5b['shift']());}catch(_0x334689){_0x9add5b['push'](_0x9add5b['shift']());}}}(_0x2fdd,0x27a18));import{ListItemView as _0x37be50,ButtonView as _0x3fbb91}from'ckeditor5/src/ui.js';function _0x3b06(_0x6e7551,_0x540612){const _0x2fddc0=_0x2fdd();return _0x3b06=function(_0x3b06af,_0x1afd9d){_0x3b06af=_0x3b06af-0x9f;let _0xbfdc1e=_0x2fddc0[_0x3b06af];return _0xbfdc1e;},_0x3b06(_0x6e7551,_0x540612);}import _0x290c1f from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x4b4f06}from'lodash-es';export default class hs extends _0x37be50{constructor(_0x494c55){const _0x3dc77a=_0x3b06;super();const _0x1ceacb=new _0x290c1f(),_0x22bcf5=new _0x3fbb91(this[_0x3dc77a(0x9f)],_0x1ceacb);this[_0x3dc77a(0xa0)][_0x3dc77a(0xaf)](_0x22bcf5),_0x22bcf5[_0x3dc77a(0xa1)]({'label':_0x494c55[_0x3dc77a(0xab)],'withText':!0x0}),_0x22bcf5['on'](_0x3dc77a(0xa9),()=>{const _0xbab010=_0x3dc77a;this[_0xbab010(0xa4)](_0xbab010(0xa9),{'value':_0x4b4f06(_0x494c55[_0xbab010(0xab)])});});}}
23
+ (function(_0x4172ae,_0x2f7f35){const _0x45d22a=_0xeac7,_0x4fc013=_0x4172ae();while(!![]){try{const _0x4c3782=parseInt(_0x45d22a(0x89))/0x1+parseInt(_0x45d22a(0x81))/0x2+parseInt(_0x45d22a(0x8c))/0x3+parseInt(_0x45d22a(0x86))/0x4*(parseInt(_0x45d22a(0x87))/0x5)+parseInt(_0x45d22a(0x8a))/0x6+parseInt(_0x45d22a(0x83))/0x7*(-parseInt(_0x45d22a(0x88))/0x8)+-parseInt(_0x45d22a(0x82))/0x9;if(_0x4c3782===_0x2f7f35)break;else _0x4fc013['push'](_0x4fc013['shift']());}catch(_0x5d4d21){_0x4fc013['push'](_0x4fc013['shift']());}}}(_0x4369,0x2c7b3));import{ListItemView as _0x248396,ButtonView as _0x3e7e0c}from'ckeditor5/src/ui.js';import _0x52abf1 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x1dc4c9}from'lodash-es';function _0x4369(){const _0x2d2177=['438220YJHanI','15nfHVPB','40kUGnwT','234184mzXDTv','1350330YKNQWF','children','593208ONUPVp','prompt','execute','add','fire','127220DvrYCI','5999940Ummkli','280553ckdDaV','locale','set'];_0x4369=function(){return _0x2d2177;};return _0x4369();}function _0xeac7(_0x584610,_0x416468){const _0x436903=_0x4369();return _0xeac7=function(_0xeac719,_0xdc2205){_0xeac719=_0xeac719-0x80;let _0x4a673b=_0x436903[_0xeac719];return _0x4a673b;},_0xeac7(_0x584610,_0x416468);}export default class hs extends _0x248396{constructor(_0x1ad4f7){const _0x95e62b=_0xeac7;super();const _0xaa99d0=new _0x52abf1(),_0x43c27c=new _0x3e7e0c(this[_0x95e62b(0x84)],_0xaa99d0);this[_0x95e62b(0x8b)][_0x95e62b(0x8f)](_0x43c27c),_0x43c27c[_0x95e62b(0x85)]({'label':_0x1ad4f7[_0x95e62b(0x8d)],'withText':!0x0}),_0x43c27c['on'](_0x95e62b(0x8e),()=>{const _0x5200d1=_0x95e62b;this[_0x5200d1(0x80)](_0x5200d1(0x8e),{'value':_0x1dc4c9(_0x1ad4f7[_0x5200d1(0x8d)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x437542=_0x1876;(function(_0x3f8496,_0x3158bc){const _0x1c789b=_0x1876,_0x119d94=_0x3f8496();while(!![]){try{const _0x30e7a6=parseInt(_0x1c789b(0x138))/0x1+parseInt(_0x1c789b(0x128))/0x2*(parseInt(_0x1c789b(0x13a))/0x3)+-parseInt(_0x1c789b(0x127))/0x4*(parseInt(_0x1c789b(0x134))/0x5)+-parseInt(_0x1c789b(0x12b))/0x6+parseInt(_0x1c789b(0x12f))/0x7*(parseInt(_0x1c789b(0x13f))/0x8)+parseInt(_0x1c789b(0x139))/0x9*(parseInt(_0x1c789b(0x133))/0xa)+-parseInt(_0x1c789b(0x13c))/0xb*(parseInt(_0x1c789b(0x12a))/0xc);if(_0x30e7a6===_0x3158bc)break;else _0x119d94['push'](_0x119d94['shift']());}catch(_0x3fa0d6){_0x119d94['push'](_0x119d94['shift']());}}}(_0x3ca2,0xe7f04));function _0x1876(_0x1fffcd,_0x37c0bc){const _0x3ca256=_0x3ca2();return _0x1876=function(_0x1876d6,_0x114418){_0x1876d6=_0x1876d6-0x127;let _0x59fc1d=_0x3ca256[_0x1876d6];return _0x59fc1d;},_0x1876(_0x1fffcd,_0x37c0bc);}import{ListView as _0x53b3e8,ListItemGroupView as _0x592740,ButtonView as _0x11b77c}from'ckeditor5/src/ui.js';function _0x3ca2(){const _0x3ce150=['add','40luBeft','execute','clearHistoryButton','fire','children','4viDHGC','52tAZBSb','Prompt\x20history','8644188OQKwvj','548928hsClJH','locale','length','set','1214234dOSLWt','_createClearHistoryButton','delegate','Clear','2246900euzaxV','7825905WlvlUe','label','historyGroupView','items','1328086MHAbgJ','36mNYkaJ','26871wYNgmC','clearHistory','11HYlUlV','filter'];_0x3ca2=function(){return _0x3ce150;};return _0x3ca2();}import{getTranslation as _0x38e07c}from'../../utils/common-translations.js';export default class rs extends _0x53b3e8{constructor(_0x2e4dcb){const _0x1299df=_0x1876;super(_0x2e4dcb),this[_0x1299df(0x141)]=this[_0x1299df(0x130)](),this[_0x1299df(0x136)]=new _0x592740(),this[_0x1299df(0x136)][_0x1299df(0x143)][_0x1299df(0x13e)](this[_0x1299df(0x141)],0x1),this[_0x1299df(0x136)][_0x1299df(0x135)]=_0x38e07c(_0x2e4dcb,_0x1299df(0x129)),this[_0x1299df(0x136)][_0x1299df(0x137)][_0x1299df(0x131)](_0x1299df(0x140))['to'](this),this[_0x1299df(0x137)][_0x1299df(0x13e)](this[_0x1299df(0x136)]);}[_0x437542(0x13d)](){const _0x3abf67=_0x437542;let _0x1fb5d5=0x0;for(const _0x113ab3 of this[_0x3abf67(0x137)])_0x1fb5d5+=_0x113ab3[_0x3abf67(0x137)][_0x3abf67(0x12d)];return{'resultsCount':_0x1fb5d5,'totalItemsCount':_0x1fb5d5};}[_0x437542(0x130)](){const _0x5991a9=_0x437542,_0x376369=this[_0x5991a9(0x12c)],_0x4c07f7=new _0x11b77c(this[_0x5991a9(0x12c)]);return _0x4c07f7[_0x5991a9(0x12e)]({'label':'('+_0x38e07c(_0x376369,_0x5991a9(0x132))+')','withText':!0x0}),_0x4c07f7['on'](_0x5991a9(0x140),()=>this[_0x5991a9(0x142)](_0x5991a9(0x13b))),_0x4c07f7;}}
23
+ const _0x632401=_0x2134;(function(_0x3ad468,_0x447480){const _0x5d86e4=_0x2134,_0x21aeab=_0x3ad468();while(!![]){try{const _0x115ab7=-parseInt(_0x5d86e4(0x1cd))/0x1*(-parseInt(_0x5d86e4(0x1d9))/0x2)+parseInt(_0x5d86e4(0x1da))/0x3+parseInt(_0x5d86e4(0x1ce))/0x4+-parseInt(_0x5d86e4(0x1cf))/0x5*(parseInt(_0x5d86e4(0x1d7))/0x6)+parseInt(_0x5d86e4(0x1c9))/0x7+parseInt(_0x5d86e4(0x1ca))/0x8*(parseInt(_0x5d86e4(0x1dc))/0x9)+-parseInt(_0x5d86e4(0x1d5))/0xa*(parseInt(_0x5d86e4(0x1df))/0xb);if(_0x115ab7===_0x447480)break;else _0x21aeab['push'](_0x21aeab['shift']());}catch(_0x55ed73){_0x21aeab['push'](_0x21aeab['shift']());}}}(_0x4b30,0x1a7c8));import{ListView as _0x3f819d,ListItemGroupView as _0x23d415,ButtonView as _0x489f59}from'ckeditor5/src/ui.js';function _0x4b30(){const _0x4c7153=['label','length','clearHistoryButton','1195208QbwwBq','194936xVNSmP','filter','delegate','1JXXJEM','799204AndSZc','98755xymhDt','fire','Clear','set','historyGroupView','locale','304950oIgGZe','clearHistory','36AnAQAY','_createClearHistoryButton','273662FKngLI','275058BRjPHO','children','9AoZLxi','add','items','143iQNMhD','Prompt\x20history','execute'];_0x4b30=function(){return _0x4c7153;};return _0x4b30();}function _0x2134(_0x4cd58f,_0x292e69){const _0x4b303c=_0x4b30();return _0x2134=function(_0x213462,_0x4b64db){_0x213462=_0x213462-0x1c5;let _0x23c5b0=_0x4b303c[_0x213462];return _0x23c5b0;},_0x2134(_0x4cd58f,_0x292e69);}import{getTranslation as _0x283a77}from'../../utils/common-translations.js';export default class rs extends _0x3f819d{constructor(_0x34e01a){const _0x4b7387=_0x2134;super(_0x34e01a),this[_0x4b7387(0x1c8)]=this[_0x4b7387(0x1d8)](),this[_0x4b7387(0x1d3)]=new _0x23d415(),this[_0x4b7387(0x1d3)][_0x4b7387(0x1db)][_0x4b7387(0x1dd)](this[_0x4b7387(0x1c8)],0x1),this[_0x4b7387(0x1d3)][_0x4b7387(0x1c6)]=_0x283a77(_0x34e01a,_0x4b7387(0x1e0)),this[_0x4b7387(0x1d3)][_0x4b7387(0x1de)][_0x4b7387(0x1cc)](_0x4b7387(0x1c5))['to'](this),this[_0x4b7387(0x1de)][_0x4b7387(0x1dd)](this[_0x4b7387(0x1d3)]);}[_0x632401(0x1cb)](){const _0x158411=_0x632401;let _0xd5fb3=0x0;for(const _0x579b30 of this[_0x158411(0x1de)])_0xd5fb3+=_0x579b30[_0x158411(0x1de)][_0x158411(0x1c7)];return{'resultsCount':_0xd5fb3,'totalItemsCount':_0xd5fb3};}[_0x632401(0x1d8)](){const _0x57ce45=_0x632401,_0x2746dd=this[_0x57ce45(0x1d4)],_0x59dcb4=new _0x489f59(this[_0x57ce45(0x1d4)]);return _0x59dcb4[_0x57ce45(0x1d2)]({'label':'('+_0x283a77(_0x2746dd,_0x57ce45(0x1d1))+')','withText':!0x0}),_0x59dcb4['on'](_0x57ce45(0x1c5),()=>this[_0x57ce45(0x1d0)](_0x57ce45(0x1d6))),_0x59dcb4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1fa1(){const _0xe2cf48=['7754380UNZLVp','_loadFromSessionStorage','28642LbxhMC','5091430MzXNES','trim','last','stringify','addMany','52263cDjIfm','2992INOdQk','3012960BySciX','_saveToSessionStorage','setItem','CKEditor/AIFormView/PromptHistory','add','parse','remove','prompt','toLowerCase','getItem','41361wjiiPX','27QEnysr','8095003nrRkMz','length','map'];_0x1fa1=function(){return _0xe2cf48;};return _0x1fa1();}const _0x4ec089=_0x57db;function _0x57db(_0x1489b8,_0x360792){const _0x1fa16b=_0x1fa1();return _0x57db=function(_0x57db6f,_0x2a028f){_0x57db6f=_0x57db6f-0x178;let _0x2e7de4=_0x1fa16b[_0x57db6f];return _0x2e7de4;},_0x57db(_0x1489b8,_0x360792);}(function(_0x1e5199,_0x5cd81e){const _0x3beb9f=_0x57db,_0x257540=_0x1e5199();while(!![]){try{const _0x176492=-parseInt(_0x3beb9f(0x17d))/0x1*(-parseInt(_0x3beb9f(0x183))/0x2)+parseInt(_0x3beb9f(0x17c))/0x3+-parseInt(_0x3beb9f(0x181))/0x4+parseInt(_0x3beb9f(0x184))/0x5+parseInt(_0x3beb9f(0x18b))/0x6+-parseInt(_0x3beb9f(0x17e))/0x7+-parseInt(_0x3beb9f(0x18a))/0x8*(-parseInt(_0x3beb9f(0x189))/0x9);if(_0x176492===_0x5cd81e)break;else _0x257540['push'](_0x257540['shift']());}catch(_0x2dc773){_0x257540['push'](_0x257540['shift']());}}}(_0x1fa1,0xf393e));import{Collection as _0x3009ec}from'ckeditor5/src/utils.js';const cs=_0x4ec089(0x18e);export default class os extends _0x3009ec{constructor(){const _0x312f93=_0x4ec089;super(),this[_0x312f93(0x182)](),this['on'](_0x312f93(0x18f),(_0x311f75,_0x22b9fe)=>{const _0x5c7762=_0x312f93,_0x1879e1=Ss(_0x22b9fe[_0x5c7762(0x179)]);for(const _0x5804b1 of this)if(_0x5804b1!=_0x22b9fe&&Ss(_0x5804b1[_0x5c7762(0x179)])===_0x1879e1){this[_0x5c7762(0x178)](_0x5804b1);break;}this[_0x5c7762(0x17f)]>0x14&&this[_0x5c7762(0x178)](this[_0x5c7762(0x186)]),this[_0x5c7762(0x18c)]();}),this['on'](_0x312f93(0x178),()=>{const _0x42b172=_0x312f93;this[_0x42b172(0x18c)]();});}[_0x4ec089(0x182)](){const _0x578b91=_0x4ec089,_0x42674d=sessionStorage[_0x578b91(0x17b)](cs)||'[]';this[_0x578b91(0x188)](JSON[_0x578b91(0x190)](_0x42674d));}[_0x4ec089(0x18c)](){const _0x2d6165=_0x4ec089;sessionStorage[_0x2d6165(0x18d)](cs,JSON[_0x2d6165(0x187)](this[_0x2d6165(0x180)](_0x2708aa=>_0x2708aa)));}}function Ss(_0x18ef09){const _0x46c923=_0x4ec089;return _0x18ef09[_0x46c923(0x17a)]()[_0x46c923(0x185)]();}
23
+ const _0x57c3eb=_0x585e;function _0x585e(_0x2b5725,_0x59a073){const _0x563d6b=_0x563d();return _0x585e=function(_0x585ef3,_0x307a45){_0x585ef3=_0x585ef3-0xdd;let _0x5228da=_0x563d6b[_0x585ef3];return _0x5228da;},_0x585e(_0x2b5725,_0x59a073);}(function(_0x6d2ab4,_0x4c81f0){const _0x166641=_0x585e,_0xb3a571=_0x6d2ab4();while(!![]){try{const _0x1ebeee=-parseInt(_0x166641(0xf6))/0x1*(parseInt(_0x166641(0xed))/0x2)+-parseInt(_0x166641(0xe5))/0x3+-parseInt(_0x166641(0xf2))/0x4+-parseInt(_0x166641(0xe0))/0x5*(parseInt(_0x166641(0xe9))/0x6)+parseInt(_0x166641(0xe2))/0x7*(parseInt(_0x166641(0xe4))/0x8)+-parseInt(_0x166641(0xf1))/0x9*(-parseInt(_0x166641(0xe6))/0xa)+parseInt(_0x166641(0xe8))/0xb;if(_0x1ebeee===_0x4c81f0)break;else _0xb3a571['push'](_0xb3a571['shift']());}catch(_0x4773e8){_0xb3a571['push'](_0xb3a571['shift']());}}}(_0x563d,0xae10f));import{Collection as _0x22e2b1}from'ckeditor5/src/utils.js';const cs=_0x57c3eb(0xe1);function _0x563d(){const _0x31ce5c=['stringify','parse','length','22186wTaxNK','map','toLowerCase','trim','3655134eQOIbk','1848900iUOaok','setItem','remove','_saveToSessionStorage','103dTOmin','getItem','last','prompt','_loadFromSessionStorage','215jBlLBu','CKEditor/AIFormView/PromptHistory','9174109omDong','addMany','8TkVdFl','2031381QMOtfc','20aWBNgI','add','24259994dwxUoX','186054BQiHpn'];_0x563d=function(){return _0x31ce5c;};return _0x563d();}export default class os extends _0x22e2b1{constructor(){const _0x64d873=_0x57c3eb;super(),this[_0x64d873(0xdf)](),this['on'](_0x64d873(0xe7),(_0x552b84,_0x5ec99a)=>{const _0x3fd54b=_0x64d873,_0x2855a1=Ss(_0x5ec99a[_0x3fd54b(0xde)]);for(const _0x5284a7 of this)if(_0x5284a7!=_0x5ec99a&&Ss(_0x5284a7[_0x3fd54b(0xde)])===_0x2855a1){this[_0x3fd54b(0xf4)](_0x5284a7);break;}this[_0x3fd54b(0xec)]>0x14&&this[_0x3fd54b(0xf4)](this[_0x3fd54b(0xdd)]),this[_0x3fd54b(0xf5)]();}),this['on'](_0x64d873(0xf4),()=>{const _0x2b78b4=_0x64d873;this[_0x2b78b4(0xf5)]();});}[_0x57c3eb(0xdf)](){const _0x58c106=_0x57c3eb,_0x2857ba=sessionStorage[_0x58c106(0xf7)](cs)||'[]';this[_0x58c106(0xe3)](JSON[_0x58c106(0xeb)](_0x2857ba));}[_0x57c3eb(0xf5)](){const _0xda895d=_0x57c3eb;sessionStorage[_0xda895d(0xf3)](cs,JSON[_0xda895d(0xea)](this[_0xda895d(0xee)](_0x5882bf=>_0x5882bf)));}}function Ss(_0xd3ba3d){const _0x4206d6=_0x57c3eb;return _0xd3ba3d[_0x4206d6(0xef)]()[_0x4206d6(0xf0)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xd2ef(){const _0x295d88=['includes','441588aJVkRc','commands','48luCjwl','model','35546iZGvGe','add','getRanges','isEnabled','hasContent','from','507109KegiGe','_hasContext','selection','392390GyViBo','custom','element','refresh','document','concat','change:_hasContext','241280kuOueF','reduce','set','get','getSelectedBlocks','plugins','21dhLfGg','getFirstRange','enabledCommandsIds','_commandDefinitions','execute','showUI','isEmpty','ai.aiAssistant.disabledElements','isCollapsed','name','editor','requiresContent','config','length','3994550AgOgqI','9958887GnqvoH','change:isEnabled','getItems'];_0xd2ef=function(){return _0x295d88;};return _0xd2ef();}const _0x4fc7d0=_0x2220;(function(_0x34bd4e,_0x48411e){const _0x39c54a=_0x2220,_0x5d8289=_0x34bd4e();while(!![]){try{const _0x26401d=-parseInt(_0x39c54a(0x1a4))/0x1+parseInt(_0x39c54a(0x19e))/0x2*(-parseInt(_0x39c54a(0x187))/0x3)+-parseInt(_0x39c54a(0x19a))/0x4+parseInt(_0x39c54a(0x1a7))/0x5*(parseInt(_0x39c54a(0x19c))/0x6)+-parseInt(_0x39c54a(0x195))/0x7+-parseInt(_0x39c54a(0x181))/0x8+parseInt(_0x39c54a(0x196))/0x9;if(_0x26401d===_0x48411e)break;else _0x5d8289['push'](_0x5d8289['shift']());}catch(_0x180136){_0x5d8289['push'](_0x5d8289['shift']());}}}(_0xd2ef,0x5f9d8));import{Command as _0x415bce}from'ckeditor5/src/core.js';import _0x169b4e from'../aiassistantui.js';export default class j extends _0x415bce{constructor(_0x27772e,_0x4af3ea){const _0x58c74c=_0x2220;super(_0x27772e),this[_0x58c74c(0x18a)]=_0x4af3ea?_0x4af3ea[_0x58c74c(0x182)]((_0x11741d,_0x5b2f26)=>_0x11741d[_0x58c74c(0x17f)](_0x5b2f26[_0x58c74c(0x19b)]),new Array()):[],this[_0x58c74c(0x183)](_0x58c74c(0x189),[]),this['on'](_0x58c74c(0x180),(_0x26f4b4,_0x3a57dc,_0x1efe19)=>{const _0x553c80=_0x58c74c;this[_0x553c80(0x1a1)]&&(this[_0x553c80(0x189)]=K(this[_0x553c80(0x18a)],_0x1efe19));}),this[_0x58c74c(0x183)](_0x58c74c(0x1a5),!0x1),this['on'](_0x58c74c(0x197),(_0x1d3601,_0x266e81,_0x5ab5c5)=>{const _0x2b721f=_0x58c74c;this[_0x2b721f(0x189)]=_0x5ab5c5?K(this[_0x2b721f(0x18a)],this[_0x2b721f(0x1a5)]):[];});}[_0x4fc7d0(0x17d)](){const _0x4f79a3=_0x4fc7d0,_0x18ec44=this[_0x4f79a3(0x191)][_0x4f79a3(0x19d)];this[_0x4f79a3(0x1a5)]=function(_0x220245){const _0x45e286=_0x4f79a3,_0x123526=_0x220245[_0x45e286(0x17e)][_0x45e286(0x1a6)];return _0x123526[_0x45e286(0x18f)]?0x0!==[..._0x123526[_0x45e286(0x185)]()][_0x45e286(0x194)]&&![..._0x123526[_0x45e286(0x185)]()][0x0][_0x45e286(0x18d)]:!!_0x220245[_0x45e286(0x1a2)](_0x123526[_0x45e286(0x188)]());}(_0x18ec44);const _0x1ffb5d=_0x18ec44[_0x4f79a3(0x17e)][_0x4f79a3(0x1a6)],_0x12a7c0=this[_0x4f79a3(0x191)][_0x4f79a3(0x193)][_0x4f79a3(0x184)](_0x4f79a3(0x18e));for(const _0x3918a9 of _0x1ffb5d[_0x4f79a3(0x1a0)]())for(const _0x255066 of _0x3918a9[_0x4f79a3(0x198)]())if(_0x255066['is'](_0x4f79a3(0x17c))&&_0x12a7c0[_0x4f79a3(0x199)](_0x255066[_0x4f79a3(0x190)]))return void(this[_0x4f79a3(0x1a1)]=!0x1);this[_0x4f79a3(0x1a1)]=!0x0;}[_0x4fc7d0(0x18b)](_0x5bc652='',_0xc0b135='',_0x30ec1a=_0x4fc7d0(0x17b)){const _0x48a90d=_0x4fc7d0;this[_0x48a90d(0x191)][_0x48a90d(0x186)][_0x48a90d(0x184)](_0x169b4e)[_0x48a90d(0x18c)](_0x5bc652,_0xc0b135,_0x30ec1a);}}function _0x2220(_0x3373e6,_0x284150){const _0xd2ef87=_0xd2ef();return _0x2220=function(_0x2220a5,_0x10d160){_0x2220a5=_0x2220a5-0x17b;let _0x405a25=_0xd2ef87[_0x2220a5];return _0x405a25;},_0x2220(_0x3373e6,_0x284150);}function K(_0x28e896,_0x485769){const _0x2b4412=_0x4fc7d0,_0x288444=new Set();for(const _0x2f1fcb of _0x28e896)(_0x485769||!0x1===_0x2f1fcb[_0x2b4412(0x192)])&&_0x288444[_0x2b4412(0x19f)](_0x2f1fcb['id']);return Array[_0x2b4412(0x1a3)](_0x288444);}
23
+ const _0x3d90df=_0x18af;(function(_0x35837e,_0x280307){const _0x4c24f4=_0x18af,_0x3de3a6=_0x35837e();while(!![]){try{const _0x34fafa=parseInt(_0x4c24f4(0x208))/0x1+parseInt(_0x4c24f4(0x215))/0x2+parseInt(_0x4c24f4(0x205))/0x3+parseInt(_0x4c24f4(0x1f9))/0x4+-parseInt(_0x4c24f4(0x20c))/0x5+-parseInt(_0x4c24f4(0x1fc))/0x6+-parseInt(_0x4c24f4(0x203))/0x7;if(_0x34fafa===_0x280307)break;else _0x3de3a6['push'](_0x3de3a6['shift']());}catch(_0x40558a){_0x3de3a6['push'](_0x3de3a6['shift']());}}}(_0x2c74,0x59326));import{Command as _0x6199f8}from'ckeditor5/src/core.js';import _0x3bd5e2 from'../aiassistantui.js';function _0x2c74(){const _0x25d2b8=['isEnabled','change:_hasContext','getFirstRange','add','enabledCommandsIds','ai.aiAssistant.disabledElements','document','678312akLGrl','editor','change:isEnabled','1424322FQUxwF','from','hasContent','get','_commandDefinitions','isCollapsed','getRanges','4877012JFcLYa','model','1952841EoVyeK','name','showUI','19760MMabcL','concat','execute','refresh','1317600FzFusR','config','getItems','_hasContext','element','getSelectedBlocks','set','length','custom','1445376UZKpuG','requiresContent','plugins','reduce','isEmpty','includes','selection','commands'];_0x2c74=function(){return _0x25d2b8;};return _0x2c74();}export default class j extends _0x6199f8{constructor(_0x3d779d,_0x4d4315){const _0xb0caaf=_0x18af;super(_0x3d779d),this[_0xb0caaf(0x200)]=_0x4d4315?_0x4d4315[_0xb0caaf(0x218)]((_0xc582b8,_0x5a44e4)=>_0xc582b8[_0xb0caaf(0x209)](_0x5a44e4[_0xb0caaf(0x1f1)]),new Array()):[],this[_0xb0caaf(0x212)](_0xb0caaf(0x1f6),[]),this['on'](_0xb0caaf(0x1f3),(_0x3afa39,_0x34b9c8,_0x449b23)=>{const _0x1911ae=_0xb0caaf;this[_0x1911ae(0x1f2)]&&(this[_0x1911ae(0x1f6)]=K(this[_0x1911ae(0x200)],_0x449b23));}),this[_0xb0caaf(0x212)](_0xb0caaf(0x20f),!0x1),this['on'](_0xb0caaf(0x1fb),(_0x211b5d,_0x17cfdc,_0x2a774a)=>{const _0x3c2d63=_0xb0caaf;this[_0x3c2d63(0x1f6)]=_0x2a774a?K(this[_0x3c2d63(0x200)],this[_0x3c2d63(0x20f)]):[];});}[_0x3d90df(0x20b)](){const _0x4136d8=_0x3d90df,_0x419971=this[_0x4136d8(0x1fa)][_0x4136d8(0x204)];this[_0x4136d8(0x20f)]=function(_0x3fae31){const _0x4c90a5=_0x4136d8,_0x87c51=_0x3fae31[_0x4c90a5(0x1f8)][_0x4c90a5(0x21b)];return _0x87c51[_0x4c90a5(0x201)]?0x0!==[..._0x87c51[_0x4c90a5(0x211)]()][_0x4c90a5(0x213)]&&![..._0x87c51[_0x4c90a5(0x211)]()][0x0][_0x4c90a5(0x219)]:!!_0x3fae31[_0x4c90a5(0x1fe)](_0x87c51[_0x4c90a5(0x1f4)]());}(_0x419971);const _0x48be04=_0x419971[_0x4136d8(0x1f8)][_0x4136d8(0x21b)],_0x347429=this[_0x4136d8(0x1fa)][_0x4136d8(0x20d)][_0x4136d8(0x1ff)](_0x4136d8(0x1f7));for(const _0x38b844 of _0x48be04[_0x4136d8(0x202)]())for(const _0x17eb16 of _0x38b844[_0x4136d8(0x20e)]())if(_0x17eb16['is'](_0x4136d8(0x210))&&_0x347429[_0x4136d8(0x21a)](_0x17eb16[_0x4136d8(0x206)]))return void(this[_0x4136d8(0x1f2)]=!0x1);this[_0x4136d8(0x1f2)]=!0x0;}[_0x3d90df(0x20a)](_0x267b1a='',_0x535a05='',_0x5096dd=_0x3d90df(0x214)){const _0x4cbbfa=_0x3d90df;this[_0x4cbbfa(0x1fa)][_0x4cbbfa(0x217)][_0x4cbbfa(0x1ff)](_0x3bd5e2)[_0x4cbbfa(0x207)](_0x267b1a,_0x535a05,_0x5096dd);}}function _0x18af(_0x2fa35a,_0xa90336){const _0x2c74b7=_0x2c74();return _0x18af=function(_0x18afb7,_0x51fa6f){_0x18afb7=_0x18afb7-0x1f1;let _0x479bcb=_0x2c74b7[_0x18afb7];return _0x479bcb;},_0x18af(_0x2fa35a,_0xa90336);}function K(_0x4aa89f,_0x236101){const _0x4e5632=_0x3d90df,_0x579fb7=new Set();for(const _0x3c3c01 of _0x4aa89f)(_0x236101||!0x1===_0x3c3c01[_0x4e5632(0x216)])&&_0x579fb7[_0x4e5632(0x1f5)](_0x3c3c01['id']);return Array[_0x4e5632(0x1fd)](_0x579fb7);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x31b5d4,_0x3b30cb,_0x424542){const t=_0x31b5d4['t'];switch(_0x3b30cb){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',_0x424542);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',_0x424542);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x424542);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'},_0x424542);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 _0x3b30cb;}}
23
+ export function getTranslation(_0x4e7848,_0x353dc5,_0x16e7c6){const t=_0x4e7848['t'];switch(_0x353dc5){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',_0x16e7c6);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',_0x16e7c6);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x16e7c6);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'},_0x16e7c6);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 _0x353dc5;}}