@ckeditor/ckeditor5-ai 41.4.0 → 41.4.2

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 +6 -6
  2. package/dist/index.js +1 -1
  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 +1 -1
  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,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xeda3c4=_0xf054;(function(_0x40015c,_0x27e3e6){const _0x2801e1=_0xf054,_0x5548ad=_0x40015c();while(!![]){try{const _0x245ecc=-parseInt(_0x2801e1(0xa0))/0x1*(parseInt(_0x2801e1(0xbd))/0x2)+-parseInt(_0x2801e1(0xd4))/0x3*(parseInt(_0x2801e1(0xcf))/0x4)+-parseInt(_0x2801e1(0x88))/0x5+-parseInt(_0x2801e1(0x8c))/0x6*(-parseInt(_0x2801e1(0xd7))/0x7)+parseInt(_0x2801e1(0xd8))/0x8*(parseInt(_0x2801e1(0xc1))/0x9)+-parseInt(_0x2801e1(0xde))/0xa*(parseInt(_0x2801e1(0x90))/0xb)+-parseInt(_0x2801e1(0xd1))/0xc*(-parseInt(_0x2801e1(0x8b))/0xd);if(_0x245ecc===_0x27e3e6)break;else _0x5548ad['push'](_0x5548ad['shift']());}catch(_0x1c17b5){_0x5548ad['push'](_0x5548ad['shift']());}}}(_0x5eff,0xa72ad));import{ObservableMixin as _0x44fefb}from'ckeditor5/src/utils.js';import{AIRequestError as _0x249259}from'../adapters/aiadapter.js';import{Matcher as _0x5b160b,UpcastWriter as _0x581f63}from'ckeditor5/src/engine.js';function _0xf054(_0x182e0d,_0x2177ee){const _0x5effa4=_0x5eff();return _0xf054=function(_0xf05456,_0x265347){_0xf05456=_0xf05456-0x86;let _0x35c040=_0x5effa4[_0xf05456];return _0x35c040;},_0xf054(_0x182e0d,_0x2177ee);}const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends _0x44fefb(){constructor(_0x133bea,_0x2d613e,_0x14a626){const _0x2e79d8=_0xf054;super(),this[_0x2e79d8(0xd3)]=_0x133bea,this[_0x2e79d8(0xb0)]=_0x2d613e,this[_0x2e79d8(0x8a)]=document[_0x2e79d8(0xe0)](_0x2e79d8(0xb3)),this[_0x2e79d8(0xb6)]=new DOMParser(),this[_0x2e79d8(0xa4)]=new XMLSerializer(),this[_0x2e79d8(0x93)]=_0x14a626,this[_0x2e79d8(0xdb)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2e79d8(0xdf),(_0x306494,_0x4844c8,_0x14cc00)=>{const _0x354d38=_0x2e79d8;this[_0x354d38(0x93)][_0x354d38(0xa3)]=this[_0x354d38(0xcc)](_0x14cc00);}),this[_0x2e79d8(0x95)](this[_0x2e79d8(0x93)],_0x2e79d8(0xb8),(_0x2f79f5,_0x5a4a72)=>{const _0x1dc9ae=_0x2e79d8,_0x101388=this[_0x1dc9ae(0xa6)]||this[_0x1dc9ae(0x86)];this[_0x1dc9ae(0xc9)](_0x5a4a72,_0x101388,_0x1dc9ae(0x89));}),this[_0x2e79d8(0x95)](this[_0x2e79d8(0x93)],_0x2e79d8(0x87),()=>{const _0x1fd19b=_0x2e79d8;this[_0x1fd19b(0x93)][_0x1fd19b(0xb2)]=this[_0x1fd19b(0xba)],this[_0x1fd19b(0xc9)](this[_0x1fd19b(0xa9)],this[_0x1fd19b(0xa2)],this[_0x1fd19b(0xc4)],this[_0x1fd19b(0xba)]);}),this[_0x2e79d8(0x95)](this[_0x2e79d8(0x93)],_0x2e79d8(0xdc),()=>{const _0x3348e6=_0x2e79d8;this[_0x3348e6(0xdc)]();});}[_0xeda3c4(0xda)](){const _0x17002c=_0xeda3c4;this[_0x17002c(0xaf)]();}async[_0xeda3c4(0xc2)]({actionId:_0x3a678e,query:_0x3948bd,htmlContent:_0x4f5daa,label:_0x5eacc9,mainActionLabel:_0x2715a4}){const _0x43c4f8=_0xeda3c4;this[_0x43c4f8(0x93)][_0x43c4f8(0xb2)]=_0x5eacc9,this[_0x43c4f8(0x93)][_0x43c4f8(0xaa)]=_0x2715a4,this[_0x43c4f8(0x86)]=_0x4f5daa,_0x3948bd&&(this[_0x43c4f8(0x93)][_0x43c4f8(0x9c)]?this[_0x43c4f8(0xc9)](_0x3948bd,_0x4f5daa,_0x3a678e,_0x5eacc9):this[_0x43c4f8(0x93)][_0x43c4f8(0xa5)](_0x43c4f8(0xc5),()=>{const _0x564bb9=_0x43c4f8;this[_0x564bb9(0xc9)](_0x3948bd,_0x4f5daa,_0x3a678e,_0x5eacc9);}));}[_0xeda3c4(0xdc)](){const _0xcca878=_0xeda3c4;this[_0xcca878(0xb5)]&&(this[_0xcca878(0xb5)]=!0x1,this[_0xcca878(0x93)][_0xcca878(0x9d)](),this[_0xcca878(0xb0)][_0xcca878(0xd2)]());}[_0xeda3c4(0x9e)](){const _0x2d8841=_0xeda3c4;this[_0x2d8841(0x86)]='',this[_0x2d8841(0xa6)]='',this[_0x2d8841(0xc7)]='',this[_0x2d8841(0xa2)]='',this[_0x2d8841(0xa9)]='',this[_0x2d8841(0xba)]='',this[_0x2d8841(0xc4)]=void 0x0,this[_0x2d8841(0x93)][_0x2d8841(0x9e)](),this[_0x2d8841(0xdc)]();}async[_0xeda3c4(0xc9)](_0x4f871e,_0x5bef99,_0x3eebdb,_0x43f3ce){const _0x2589b1=_0xeda3c4;return this[_0x2589b1(0xb5)]=!0x0,this[_0x2589b1(0x93)][_0x2589b1(0x98)](),this[_0x2589b1(0xa2)]=_0x5bef99,this[_0x2589b1(0xa9)]=_0x4f871e,this[_0x2589b1(0xba)]=_0x43f3ce||_0x4f871e,this[_0x2589b1(0xc4)]=_0x3eebdb,new Promise(_0x157f6b=>{const _0xed39a1=_0x2589b1;this[_0xed39a1(0xb0)][_0xed39a1(0x92)]({'query':_0x4f871e,'context':_0x5bef99,'onData':_0x478490=>{const _0x2dfde0=_0xed39a1;this[_0x2dfde0(0xc7)]=_0x478490,this[_0x2dfde0(0xa6)]=this[_0x2dfde0(0xbf)](this[_0x2dfde0(0xc7)]);},'actionId':_0x3eebdb})[_0xed39a1(0xd6)](()=>{const _0xfd2327=_0xed39a1;!this[_0xfd2327(0xa6)]&&this[_0xfd2327(0xc7)]&&(this[_0xfd2327(0xa6)]=this[_0xfd2327(0xbf)](this[_0xfd2327(0xc7)],!0x0));})[_0xed39a1(0xb7)](_0x5bdaac=>{const _0x39eb1f=_0xed39a1;_0x5bdaac instanceof _0x249259?this[_0x39eb1f(0x93)][_0x39eb1f(0xca)](_0x5bdaac[_0x39eb1f(0xb1)]):this[_0x39eb1f(0x93)][_0x39eb1f(0xca)](),_0x157f6b();})[_0xed39a1(0xa7)](()=>{const _0x1117a5=_0xed39a1;this[_0x1117a5(0xdc)](),_0x157f6b();});});}[_0xeda3c4(0xbf)](_0x3ac7fc,_0x394100=!0x1){const _0x33769b=_0xeda3c4,_0x52feb2=X[_0x33769b(0xcb)](_0x3ac7fc);_0x3ac7fc=_0x52feb2?_0x3ac7fc[_0x33769b(0xcd)](_0x52feb2[0x1][_0x33769b(0x8e)]):_0x3ac7fc[_0x33769b(0x8e)]<0x64&&!_0x394100?'':this[_0x33769b(0xbb)](_0x3ac7fc);const _0x2481c9=this[_0x33769b(0xb6)][_0x33769b(0xe2)](_0x3ac7fc,_0x33769b(0xe1));if(_0x52feb2){const _0x491348=Array[_0x33769b(0xa8)](_0x2481c9[_0x33769b(0xab)][_0x33769b(0xc3)]);_0x491348[_0x33769b(0xbc)]();for(const _0x405c4e of _0x491348){if(_0x405c4e[_0x33769b(0xd5)]==Node[_0x33769b(0x9b)])break;_0x405c4e[_0x33769b(0x9a)]();}}const _0x492761=this[_0x33769b(0xd3)][_0x33769b(0xdd)][_0x33769b(0xc6)][_0x33769b(0xb4)](this[_0x33769b(0xa4)][_0x33769b(0x9f)](_0x2481c9[_0x33769b(0xab)]));return this[_0x33769b(0xd9)](_0x492761),this[_0x33769b(0xd3)][_0x33769b(0xdd)][_0x33769b(0x99)](this[_0x33769b(0xd3)][_0x33769b(0xdd)][_0x33769b(0x8d)](_0x492761));}[_0xeda3c4(0xd9)](_0x2af6e5){const _0x448e9e=_0xeda3c4,_0x34f052=new _0x581f63(this[_0x448e9e(0xd3)][_0x448e9e(0xae)][_0x448e9e(0x93)][_0x448e9e(0xad)]),_0x47b49f=new _0x5b160b({'name':/^h[1-5]$/}),_0x10b06b=[];let _0x267bda=!0x1;for(const _0x123210 of _0x2af6e5)_0x123210['is'](_0x448e9e(0x8f))&&_0x47b49f[_0x448e9e(0xb9)](_0x123210)&&(_0x10b06b[_0x448e9e(0xce)](_0x123210),'h1'==_0x123210[_0x448e9e(0xac)]&&(_0x267bda=!0x0));if(_0x267bda){for(const _0x449f5b of _0x10b06b)_0x34f052[_0x448e9e(0xc8)]('h'+(parseInt(_0x449f5b[_0x448e9e(0xac)][0x1])+0x1),_0x449f5b);}}[_0xeda3c4(0xcc)](_0x41669a){const _0x5d9505=_0xeda3c4;return this[_0x5d9505(0xd3)][_0x5d9505(0xae)][_0x5d9505(0x93)][_0x5d9505(0xc0)][_0x5d9505(0xbe)](this[_0x5d9505(0x8a)],_0x41669a),this[_0x5d9505(0x8a)][_0x5d9505(0xd0)];}[_0xeda3c4(0xbb)](_0x5bdd7a){const _0x4ead1b=_0xeda3c4,_0x279b76=_0x5bdd7a[_0x4ead1b(0x96)]();return _0x279b76[_0x4ead1b(0xa1)](_0x4ead1b(0x94))?_0x279b76[_0x4ead1b(0x97)](_0x4ead1b(0x91))?_0x279b76[_0x4ead1b(0xcd)](0x7,_0x279b76[_0x4ead1b(0x8e)]-0x3):_0x279b76[_0x4ead1b(0xcd)](0x7):_0x5bdd7a;}}function _0x5eff(){const _0x5ca7a3=['9LjwEME','updateView','childNodes','previousActionId','render','processor','currentResponse','rename','_handleQuery','handleError','exec','_sanitizeHTML','substring','push','28fHdJMG','innerHTML','603396NMZSWl','abort','editor','31197roDeVz','nodeType','then','7aRSUlU','6232024RSugca','_normalizeResponseHeadings','destroy','set','stopProcessing','data','3050McTzRp','set:currentContext','createElement','text/html','parseFromString','initialContext','tryAgainEvent','3010265Uemcib','custom','_sanitizationContainer','39AhGUDi','6883446nMsfNT','toModel','length','element','9966lddXYL','```','makeRequest','view','```html','listenTo','trim','endsWith','startProcessing','stringify','remove','ELEMENT_NODE','isRendered','finishProcessing','reset','serializeToString','11030KCVvQb','startsWith','previousContext','value','_xmlSerializer','once','currentContext','finally','from','previousQuery','mainAction','body','name','document','editing','stopListening','textAdapter','message','prompt','div','toView','isProcessing','_domParser','catch','submitPrompt','match','previousLabel','_stripMarkdownSyntax','reverse','80ybnQHJ','setContentOf','_parseAndNormalizeContent','domConverter'];_0x5eff=function(){return _0x5ca7a3;};return _0x5eff();}
23
+ const _0x5a4bbe=_0x536c;(function(_0x50a808,_0x48a988){const _0x1c9f3a=_0x536c,_0x958fa=_0x50a808();while(!![]){try{const _0x391303=parseInt(_0x1c9f3a(0x133))/0x1*(-parseInt(_0x1c9f3a(0xff))/0x2)+parseInt(_0x1c9f3a(0x118))/0x3+parseInt(_0x1c9f3a(0x148))/0x4+parseInt(_0x1c9f3a(0x10f))/0x5*(parseInt(_0x1c9f3a(0x11d))/0x6)+-parseInt(_0x1c9f3a(0xf4))/0x7+-parseInt(_0x1c9f3a(0x10e))/0x8+parseInt(_0x1c9f3a(0x124))/0x9;if(_0x391303===_0x48a988)break;else _0x958fa['push'](_0x958fa['shift']());}catch(_0x46fffe){_0x958fa['push'](_0x958fa['shift']());}}}(_0x13c2,0x1d710));function _0x536c(_0xbcc83c,_0x181d92){const _0x13c2a1=_0x13c2();return _0x536c=function(_0x536cdb,_0x328568){_0x536cdb=_0x536cdb-0xf0;let _0x57eff0=_0x13c2a1[_0x536cdb];return _0x57eff0;},_0x536c(_0xbcc83c,_0x181d92);}import{ObservableMixin as _0x4c2ab4}from'ckeditor5/src/utils.js';import{AIRequestError as _0x42efb8}from'../adapters/aiadapter.js';import{Matcher as _0x368e3e,UpcastWriter as _0x33cecc}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x13c2(){const _0x2255db=['exec','createElement','_domParser','domConverter','_sanitizeHTML','abort','catch','_handleQuery','finally','_sanitizationContainer','serializeToString','prompt','_xmlSerializer','view','toModel','data','startsWith','174696oaEtlW','from','value','then','message','726411WXqUul','currentContext','body','currentResponse','ELEMENT_NODE','set','document','mainAction','innerHTML','```','parseFromString','175040vjBNrU','render','push','previousLabel','_parseAndNormalizeContent','tryAgainEvent','updateView','isRendered','stringify','_stripMarkdownSyntax','childNodes','length','name','reverse','once','994784ajYFws','35suFhnf','handleError','isProcessing','editing','_normalizeResponseHeadings','reset','match','trim','nodeType','247647wdPDtS','remove','element','setContentOf','destroy','160884TllKAG','makeRequest','previousContext','editor','stopProcessing','previousQuery','processor','1100808LOHBrh','toView','custom','set:currentContext','startProcessing','endsWith','finishProcessing','substring','initialContext','text/html','```html','rename','submitPrompt','listenTo','stopListening','1JpzaxD','div','textAdapter','previousActionId'];_0x13c2=function(){return _0x2255db;};return _0x13c2();}export default class k extends _0x4c2ab4(){constructor(_0x4bb3df,_0x1d8f91,_0x5cf798){const _0x10886a=_0x536c;super(),this[_0x10886a(0x120)]=_0x4bb3df,this[_0x10886a(0x135)]=_0x1d8f91,this[_0x10886a(0x140)]=document[_0x10886a(0x138)](_0x10886a(0x134)),this[_0x10886a(0x139)]=new DOMParser(),this[_0x10886a(0x143)]=new XMLSerializer(),this[_0x10886a(0x144)]=_0x5cf798,this[_0x10886a(0xf9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x10886a(0x127),(_0x410760,_0x2455b6,_0x3a007e)=>{const _0x2e2bb7=_0x10886a;this[_0x2e2bb7(0x144)][_0x2e2bb7(0xf1)]=this[_0x2e2bb7(0x13b)](_0x3a007e);}),this[_0x10886a(0x131)](this[_0x10886a(0x144)],_0x10886a(0x130),(_0x1ee8da,_0x1d3810)=>{const _0x134077=_0x10886a,_0x1d203a=this[_0x134077(0xf5)]||this[_0x134077(0x12c)];this[_0x134077(0x13e)](_0x1d3810,_0x1d203a,_0x134077(0x126));}),this[_0x10886a(0x131)](this[_0x10886a(0x144)],_0x10886a(0x104),()=>{const _0x4d7043=_0x10886a;this[_0x4d7043(0x144)][_0x4d7043(0x142)]=this[_0x4d7043(0x102)],this[_0x4d7043(0x13e)](this[_0x4d7043(0x122)],this[_0x4d7043(0x11f)],this[_0x4d7043(0x136)],this[_0x4d7043(0x102)]);}),this[_0x10886a(0x131)](this[_0x10886a(0x144)],_0x10886a(0x121),()=>{const _0x57a709=_0x10886a;this[_0x57a709(0x121)]();});}[_0x5a4bbe(0x11c)](){const _0x3b0ba7=_0x5a4bbe;this[_0x3b0ba7(0x132)]();}async[_0x5a4bbe(0x105)]({actionId:_0x160267,query:_0x314533,htmlContent:_0x22f1c1,label:_0x13d4c1,mainActionLabel:_0x33455b}){const _0x486cbb=_0x5a4bbe;this[_0x486cbb(0x144)][_0x486cbb(0x142)]=_0x13d4c1,this[_0x486cbb(0x144)][_0x486cbb(0xfb)]=_0x33455b,this[_0x486cbb(0x12c)]=_0x22f1c1,_0x314533&&(this[_0x486cbb(0x144)][_0x486cbb(0x106)]?this[_0x486cbb(0x13e)](_0x314533,_0x22f1c1,_0x160267,_0x13d4c1):this[_0x486cbb(0x144)][_0x486cbb(0x10d)](_0x486cbb(0x100),()=>{const _0x584cae=_0x486cbb;this[_0x584cae(0x13e)](_0x314533,_0x22f1c1,_0x160267,_0x13d4c1);}));}[_0x5a4bbe(0x121)](){const _0x4a3f4f=_0x5a4bbe;this[_0x4a3f4f(0x111)]&&(this[_0x4a3f4f(0x111)]=!0x1,this[_0x4a3f4f(0x144)][_0x4a3f4f(0x12a)](),this[_0x4a3f4f(0x135)][_0x4a3f4f(0x13c)]());}[_0x5a4bbe(0x114)](){const _0x5761a8=_0x5a4bbe;this[_0x5761a8(0x12c)]='',this[_0x5761a8(0xf5)]='',this[_0x5761a8(0xf7)]='',this[_0x5761a8(0x11f)]='',this[_0x5761a8(0x122)]='',this[_0x5761a8(0x102)]='',this[_0x5761a8(0x136)]=void 0x0,this[_0x5761a8(0x144)][_0x5761a8(0x114)](),this[_0x5761a8(0x121)]();}async[_0x5a4bbe(0x13e)](_0x34f244,_0x3a90ae,_0x3fda37,_0x111b7d){const _0x23d17e=_0x5a4bbe;return this[_0x23d17e(0x111)]=!0x0,this[_0x23d17e(0x144)][_0x23d17e(0x128)](),this[_0x23d17e(0x11f)]=_0x3a90ae,this[_0x23d17e(0x122)]=_0x34f244,this[_0x23d17e(0x102)]=_0x111b7d||_0x34f244,this[_0x23d17e(0x136)]=_0x3fda37,new Promise(_0x1e416a=>{const _0x2b2163=_0x23d17e;this[_0x2b2163(0x135)][_0x2b2163(0x11e)]({'query':_0x34f244,'context':_0x3a90ae,'onData':_0x31760e=>{const _0x36604f=_0x2b2163;this[_0x36604f(0xf7)]=_0x31760e,this[_0x36604f(0xf5)]=this[_0x36604f(0x103)](this[_0x36604f(0xf7)]);},'actionId':_0x3fda37})[_0x2b2163(0xf2)](()=>{const _0x2a3019=_0x2b2163;!this[_0x2a3019(0xf5)]&&this[_0x2a3019(0xf7)]&&(this[_0x2a3019(0xf5)]=this[_0x2a3019(0x103)](this[_0x2a3019(0xf7)],!0x0));})[_0x2b2163(0x13d)](_0x4d3441=>{const _0x256901=_0x2b2163;_0x4d3441 instanceof _0x42efb8?this[_0x256901(0x144)][_0x256901(0x110)](_0x4d3441[_0x256901(0xf3)]):this[_0x256901(0x144)][_0x256901(0x110)](),_0x1e416a();})[_0x2b2163(0x13f)](()=>{const _0x2a360c=_0x2b2163;this[_0x2a360c(0x121)](),_0x1e416a();});});}[_0x5a4bbe(0x103)](_0x145756,_0x2b3148=!0x1){const _0xd62567=_0x5a4bbe,_0x344eae=X[_0xd62567(0x137)](_0x145756);_0x145756=_0x344eae?_0x145756[_0xd62567(0x12b)](_0x344eae[0x1][_0xd62567(0x10a)]):_0x145756[_0xd62567(0x10a)]<0x64&&!_0x2b3148?'':this[_0xd62567(0x108)](_0x145756);const _0x536ddd=this[_0xd62567(0x139)][_0xd62567(0xfe)](_0x145756,_0xd62567(0x12d));if(_0x344eae){const _0x928833=Array[_0xd62567(0xf0)](_0x536ddd[_0xd62567(0xf6)][_0xd62567(0x109)]);_0x928833[_0xd62567(0x10c)]();for(const _0x2ffb19 of _0x928833){if(_0x2ffb19[_0xd62567(0x117)]==Node[_0xd62567(0xf8)])break;_0x2ffb19[_0xd62567(0x119)]();}}const _0x41c5f9=this[_0xd62567(0x120)][_0xd62567(0x146)][_0xd62567(0x123)][_0xd62567(0x125)](this[_0xd62567(0x143)][_0xd62567(0x141)](_0x536ddd[_0xd62567(0xf6)]));return this[_0xd62567(0x113)](_0x41c5f9),this[_0xd62567(0x120)][_0xd62567(0x146)][_0xd62567(0x107)](this[_0xd62567(0x120)][_0xd62567(0x146)][_0xd62567(0x145)](_0x41c5f9));}[_0x5a4bbe(0x113)](_0x47433c){const _0x45cbbb=_0x5a4bbe,_0x4dcca1=new _0x33cecc(this[_0x45cbbb(0x120)][_0x45cbbb(0x112)][_0x45cbbb(0x144)][_0x45cbbb(0xfa)]),_0x10e690=new _0x368e3e({'name':/^h[1-5]$/}),_0x5676a2=[];let _0x1893c4=!0x1;for(const _0x1fc875 of _0x47433c)_0x1fc875['is'](_0x45cbbb(0x11a))&&_0x10e690[_0x45cbbb(0x115)](_0x1fc875)&&(_0x5676a2[_0x45cbbb(0x101)](_0x1fc875),'h1'==_0x1fc875[_0x45cbbb(0x10b)]&&(_0x1893c4=!0x0));if(_0x1893c4){for(const _0xff4240 of _0x5676a2)_0x4dcca1[_0x45cbbb(0x12f)]('h'+(parseInt(_0xff4240[_0x45cbbb(0x10b)][0x1])+0x1),_0xff4240);}}[_0x5a4bbe(0x13b)](_0x46a9c5){const _0x272d88=_0x5a4bbe;return this[_0x272d88(0x120)][_0x272d88(0x112)][_0x272d88(0x144)][_0x272d88(0x13a)][_0x272d88(0x11b)](this[_0x272d88(0x140)],_0x46a9c5),this[_0x272d88(0x140)][_0x272d88(0xfc)];}[_0x5a4bbe(0x108)](_0x5029d8){const _0x3d4b50=_0x5a4bbe,_0x1829f2=_0x5029d8[_0x3d4b50(0x116)]();return _0x1829f2[_0x3d4b50(0x147)](_0x3d4b50(0x12e))?_0x1829f2[_0x3d4b50(0x129)](_0x3d4b50(0xfd))?_0x1829f2[_0x3d4b50(0x12b)](0x7,_0x1829f2[_0x3d4b50(0x10a)]-0x3):_0x1829f2[_0x3d4b50(0x12b)](0x7):_0x5029d8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8749c=_0x2e5f;(function(_0x529730,_0x5e1f5b){const _0x1c1c27=_0x2e5f,_0x533034=_0x529730();while(!![]){try{const _0xfce622=-parseInt(_0x1c1c27(0xd4))/0x1*(parseInt(_0x1c1c27(0xd0))/0x2)+-parseInt(_0x1c1c27(0xc2))/0x3*(-parseInt(_0x1c1c27(0xd8))/0x4)+-parseInt(_0x1c1c27(0xc3))/0x5*(-parseInt(_0x1c1c27(0xdc))/0x6)+parseInt(_0x1c1c27(0xc1))/0x7*(-parseInt(_0x1c1c27(0xd9))/0x8)+-parseInt(_0x1c1c27(0xcc))/0x9*(-parseInt(_0x1c1c27(0xd1))/0xa)+parseInt(_0x1c1c27(0xbd))/0xb*(-parseInt(_0x1c1c27(0xc4))/0xc)+parseInt(_0x1c1c27(0xca))/0xd;if(_0xfce622===_0x5e1f5b)break;else _0x533034['push'](_0x533034['shift']());}catch(_0x180c2f){_0x533034['push'](_0x533034['shift']());}}}(_0xb119,0xe13f7));import{ListView as _0x4960a2,ListItemGroupView as _0x313973}from'ckeditor5/src/ui.js';function _0x2e5f(_0x53db61,_0x2b18cc){const _0xb11934=_0xb119();return _0x2e5f=function(_0x2e5ff8,_0x43fd2d){_0x2e5ff8=_0x2e5ff8-0xbd;let _0x5c0ff7=_0xb11934[_0x2e5ff8];return _0x5c0ff7;},_0x2e5f(_0x53db61,_0x2b18cc);}function _0xb119(){const _0x5b33fd=['get','11YXZzuC','children','includes','listbox','100dXEPBN','150904TqfNiw','first','filter','12VqQgTx','187UZjCzC','isVisible','set','label','238QeKeBv','119235pTkbzh','325540gEzGak','1162716BhcDLZ','enabledCommandsIds','match','role','isEnabled','highlightText','10198435xidtIT','length','1323OXjSqx','change:enabledCommandsIds','items','labelView','27914TapKxG','99070PtzEsl','commandDefinition'];_0xb119=function(){return _0x5b33fd;};return _0xb119();}import{AICommandsListItemView as _0xd53dd0}from'../../aiassistantui.js';export default class U extends _0x4960a2{constructor(_0x1fae07){const _0x160587=_0x2e5f;super(_0x1fae07),this[_0x160587(0xc7)]=_0x160587(0xd7),this[_0x160587(0xbf)](_0x160587(0xc5),[]),this['on'](_0x160587(0xcd),()=>{const _0x5f4481=_0x160587;for(const _0x4209d6 of this[_0x5f4481(0xce)])if(_0x4209d6 instanceof _0x313973){for(const _0x4b9faa of _0x4209d6[_0x5f4481(0xce)])if(_0x4b9faa instanceof _0xd53dd0){const _0x26df27=_0x4b9faa[_0x5f4481(0xd5)][_0x5f4481(0xd3)](0x0);this[_0x5f4481(0xc5)][_0x5f4481(0xd6)](_0x4b9faa[_0x5f4481(0xd2)]['id'])?_0x26df27[_0x5f4481(0xc8)]=!0x0:_0x26df27[_0x5f4481(0xc8)]=!0x1;}}});}[_0x8749c(0xdb)](_0x14bdfd){const _0x2ffd94=_0x8749c;let _0x5ad522=0x0,_0x41a707=0x0;for(const _0x1ef9a1 of this[_0x2ffd94(0xce)]){const _0x598465=_0x1ef9a1,_0x35ae62=_0x598465[_0x2ffd94(0xce)],_0x1c8339=_0x14bdfd&&!!_0x598465[_0x2ffd94(0xc0)][_0x2ffd94(0xc6)](_0x14bdfd);_0x598465[_0x2ffd94(0xcf)][_0x2ffd94(0xc9)](_0x1c8339?_0x14bdfd:null);for(const _0x805fa of _0x35ae62){const _0x1e06ac=_0x805fa[_0x2ffd94(0xd5)][_0x2ffd94(0xda)],_0x105fdd=_0x1e06ac[_0x2ffd94(0xcf)];if(_0x14bdfd){const _0x44dca1=!!_0x1e06ac[_0x2ffd94(0xc0)][_0x2ffd94(0xc6)](_0x14bdfd);_0x105fdd[_0x2ffd94(0xc9)](_0x44dca1?_0x14bdfd:null),_0x805fa[_0x2ffd94(0xbe)]=_0x1c8339||_0x44dca1;}else _0x805fa[_0x2ffd94(0xbe)]=!0x0,_0x105fdd[_0x2ffd94(0xc9)](null);}const _0x49cee5=_0x35ae62[_0x2ffd94(0xdb)](_0x20ea37=>_0x20ea37[_0x2ffd94(0xbe)])[_0x2ffd94(0xcb)];_0x5ad522+=_0x598465[_0x2ffd94(0xce)][_0x2ffd94(0xcb)],_0x41a707+=_0x1c8339?_0x598465[_0x2ffd94(0xce)][_0x2ffd94(0xcb)]:_0x49cee5,_0x598465[_0x2ffd94(0xbe)]=_0x1c8339||!!_0x49cee5;}return{'resultsCount':_0x41a707,'totalItemsCount':_0x5ad522};}}
23
+ const _0x140433=_0x5401;(function(_0x3db626,_0x4e9559){const _0x4f43be=_0x5401,_0x2af917=_0x3db626();while(!![]){try{const _0x1d5ade=parseInt(_0x4f43be(0x1fc))/0x1*(parseInt(_0x4f43be(0x1e4))/0x2)+parseInt(_0x4f43be(0x1e9))/0x3+parseInt(_0x4f43be(0x1e8))/0x4+parseInt(_0x4f43be(0x1e7))/0x5*(-parseInt(_0x4f43be(0x1fb))/0x6)+parseInt(_0x4f43be(0x1ec))/0x7+-parseInt(_0x4f43be(0x1f9))/0x8*(-parseInt(_0x4f43be(0x1f1))/0x9)+-parseInt(_0x4f43be(0x1f8))/0xa;if(_0x1d5ade===_0x4e9559)break;else _0x2af917['push'](_0x2af917['shift']());}catch(_0x95e10c){_0x2af917['push'](_0x2af917['shift']());}}}(_0x274b,0x8afe4));import{ListView as _0x59d1c3,ListItemGroupView as _0x362453}from'ckeditor5/src/ui.js';function _0x5401(_0x1028a4,_0x193f19){const _0x274bb3=_0x274b();return _0x5401=function(_0x540143,_0x5716e1){_0x540143=_0x540143-0x1e0;let _0x1f842f=_0x274bb3[_0x540143];return _0x1f842f;},_0x5401(_0x1028a4,_0x193f19);}import{AICommandsListItemView as _0x589734}from'../../aiassistantui.js';function _0x274b(){const _0x4a162c=['filter','10xHVpNz','isVisible','enabledCommandsIds','5GVkQjx','2251616cgqiaT','862458VihJsp','isEnabled','change:enabledCommandsIds','611863vAcPWS','get','labelView','highlightText','items','2763lEIwnT','children','commandDefinition','role','match','length','listbox','2443330RlQUcO','21864DtsTVQ','first','6106026CShYEa','10898jvgfkU','includes','set','label'];_0x274b=function(){return _0x4a162c;};return _0x274b();}export default class U extends _0x59d1c3{constructor(_0xaa59b2){const _0x3465cc=_0x5401;super(_0xaa59b2),this[_0x3465cc(0x1f4)]=_0x3465cc(0x1f7),this[_0x3465cc(0x1e1)](_0x3465cc(0x1e6),[]),this['on'](_0x3465cc(0x1eb),()=>{const _0x501330=_0x3465cc;for(const _0x3fcf6a of this[_0x501330(0x1f0)])if(_0x3fcf6a instanceof _0x362453){for(const _0x2bbbc9 of _0x3fcf6a[_0x501330(0x1f0)])if(_0x2bbbc9 instanceof _0x589734){const _0x5c78fb=_0x2bbbc9[_0x501330(0x1f2)][_0x501330(0x1ed)](0x0);this[_0x501330(0x1e6)][_0x501330(0x1e0)](_0x2bbbc9[_0x501330(0x1f3)]['id'])?_0x5c78fb[_0x501330(0x1ea)]=!0x0:_0x5c78fb[_0x501330(0x1ea)]=!0x1;}}});}[_0x140433(0x1e3)](_0x345339){const _0x2254c6=_0x140433;let _0x416033=0x0,_0x45c17c=0x0;for(const _0x597d88 of this[_0x2254c6(0x1f0)]){const _0x9b895f=_0x597d88,_0x3e485f=_0x9b895f[_0x2254c6(0x1f0)],_0x24a449=_0x345339&&!!_0x9b895f[_0x2254c6(0x1e2)][_0x2254c6(0x1f5)](_0x345339);_0x9b895f[_0x2254c6(0x1ee)][_0x2254c6(0x1ef)](_0x24a449?_0x345339:null);for(const _0x1ead55 of _0x3e485f){const _0x4c8630=_0x1ead55[_0x2254c6(0x1f2)][_0x2254c6(0x1fa)],_0x4c7775=_0x4c8630[_0x2254c6(0x1ee)];if(_0x345339){const _0x5c0965=!!_0x4c8630[_0x2254c6(0x1e2)][_0x2254c6(0x1f5)](_0x345339);_0x4c7775[_0x2254c6(0x1ef)](_0x5c0965?_0x345339:null),_0x1ead55[_0x2254c6(0x1e5)]=_0x24a449||_0x5c0965;}else _0x1ead55[_0x2254c6(0x1e5)]=!0x0,_0x4c7775[_0x2254c6(0x1ef)](null);}const _0x5b4b0f=_0x3e485f[_0x2254c6(0x1e3)](_0x51a8f9=>_0x51a8f9[_0x2254c6(0x1e5)])[_0x2254c6(0x1f6)];_0x416033+=_0x9b895f[_0x2254c6(0x1f0)][_0x2254c6(0x1f6)],_0x45c17c+=_0x24a449?_0x9b895f[_0x2254c6(0x1f0)][_0x2254c6(0x1f6)]:_0x5b4b0f,_0x9b895f[_0x2254c6(0x1e5)]=_0x24a449||!!_0x5b4b0f;}return{'resultsCount':_0x45c17c,'totalItemsCount':_0x416033};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5d9d32,_0x1abc87){const _0x2a7896=_0x3b74,_0x302b37=_0x5d9d32();while(!![]){try{const _0x1fecba=-parseInt(_0x2a7896(0xf1))/0x1+-parseInt(_0x2a7896(0xf5))/0x2+parseInt(_0x2a7896(0xe9))/0x3*(parseInt(_0x2a7896(0xf6))/0x4)+parseInt(_0x2a7896(0xea))/0x5*(-parseInt(_0x2a7896(0xf3))/0x6)+-parseInt(_0x2a7896(0xf2))/0x7+parseInt(_0x2a7896(0xf4))/0x8*(parseInt(_0x2a7896(0xee))/0x9)+parseInt(_0x2a7896(0xef))/0xa;if(_0x1fecba===_0x1abc87)break;else _0x302b37['push'](_0x302b37['shift']());}catch(_0x519367){_0x302b37['push'](_0x302b37['shift']());}}}(_0x5cc0,0x78380));import{HighlightedTextView as _0x4c03f8}from'ckeditor5/src/ui.js';function _0x3b74(_0x202ca7,_0x41bc94){const _0x5cc077=_0x5cc0();return _0x3b74=function(_0x3b74e6,_0x4fd3c0){_0x3b74e6=_0x3b74e6-0xe9;let _0x1c0c75=_0x5cc077[_0x3b74e6];return _0x1c0c75;},_0x3b74(_0x202ca7,_0x41bc94);}export default class N extends _0x4c03f8{constructor(){const _0x15698d=_0x3b74;super(),this[_0x15698d(0xeb)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x2ed98a=this[_0x15698d(0xf0)];this[_0x15698d(0xec)]({'attributes':{'class':[_0x15698d(0xed)],'style':_0x2ed98a['to'](_0x15698d(0xf7)),'id':_0x2ed98a['to']('id')}});}}function _0x5cc0(){const _0x4fab19=['41668sRrThG','style','63YThYoQ','5FovbtC','set','extendTemplate','ck-button__label','9ARSyel','32797930MQWqUi','bindTemplate','834002vgCkYR','6580665nAtroz','4418898jxdMYB','1778552OYyJHV','1435746TPXlVH'];_0x5cc0=function(){return _0x4fab19;};return _0x5cc0();}
23
+ (function(_0xc679bc,_0x4dd6ed){const _0x17e277=_0x3729,_0x3a9222=_0xc679bc();while(!![]){try{const _0x20d79c=-parseInt(_0x17e277(0xcb))/0x1+-parseInt(_0x17e277(0xcf))/0x2*(parseInt(_0x17e277(0xd5))/0x3)+parseInt(_0x17e277(0xce))/0x4+parseInt(_0x17e277(0xd6))/0x5+parseInt(_0x17e277(0xd8))/0x6*(parseInt(_0x17e277(0xcc))/0x7)+parseInt(_0x17e277(0xd2))/0x8+-parseInt(_0x17e277(0xcd))/0x9;if(_0x20d79c===_0x4dd6ed)break;else _0x3a9222['push'](_0x3a9222['shift']());}catch(_0xbac239){_0x3a9222['push'](_0x3a9222['shift']());}}}(_0x4bc6,0x464d8));import{HighlightedTextView as _0x163fc4}from'ckeditor5/src/ui.js';function _0x3729(_0xfb0912,_0x5bc57f){const _0x4bc620=_0x4bc6();return _0x3729=function(_0x372974,_0x22ce5f){_0x372974=_0x372974-0xcb;let _0x120e4b=_0x4bc620[_0x372974];return _0x120e4b;},_0x3729(_0xfb0912,_0x5bc57f);}function _0x4bc6(){const _0x2aa767=['ck-button__label','style','27EvZhgp','1934700sraTOm','set','30132CydgOQ','278353yKhwTT','798dCPUlm','4009392lykrqR','1537164ZgMvfH','120820fvEsxt','extendTemplate','bindTemplate','1694016bylhSs'];_0x4bc6=function(){return _0x2aa767;};return _0x4bc6();}export default class N extends _0x163fc4{constructor(){const _0x542320=_0x3729;super(),this[_0x542320(0xd7)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x49099f=this[_0x542320(0xd1)];this[_0x542320(0xd0)]({'attributes':{'class':[_0x542320(0xd3)],'style':_0x49099f['to'](_0x542320(0xd4)),'id':_0x49099f['to']('id')}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3c03(){const _0x57022f=['6156656vEXmOg','11DVfrvD','6584NRvpCB','ck-label','45ivWuOI','426430rwTzUI','for','ck-editor__label_','set','bindTemplate','19294rTjRKT','8MYYPIG','83202JSkjgK','125FEYPuf','297492MaNFSd','76689neFaJB','extendTemplate'];_0x3c03=function(){return _0x57022f;};return _0x3c03();}(function(_0x287b56,_0x5b84eb){const _0x269bcd=_0x4ef5,_0x584a9d=_0x287b56();while(!![]){try{const _0x158b3a=-parseInt(_0x269bcd(0xe5))/0x1*(parseInt(_0x269bcd(0xee))/0x2)+-parseInt(_0x269bcd(0xf3))/0x3+-parseInt(_0x269bcd(0xe6))/0x4*(parseInt(_0x269bcd(0xf1))/0x5)+-parseInt(_0x269bcd(0xf2))/0x6+parseInt(_0x269bcd(0xf0))/0x7*(-parseInt(_0x269bcd(0xef))/0x8)+-parseInt(_0x269bcd(0xe8))/0x9*(parseInt(_0x269bcd(0xe9))/0xa)+parseInt(_0x269bcd(0xe4))/0xb;if(_0x158b3a===_0x5b84eb)break;else _0x584a9d['push'](_0x584a9d['shift']());}catch(_0x1e0c7d){_0x584a9d['push'](_0x584a9d['shift']());}}}(_0x3c03,0x1b637));function _0x4ef5(_0x4f5130,_0x4b37b2){const _0x3c03a3=_0x3c03();return _0x4ef5=function(_0x4ef53f,_0x141158){_0x4ef53f=_0x4ef53f-0xe4;let _0x3f0b61=_0x3c03a3[_0x4ef53f];return _0x3f0b61;},_0x4ef5(_0x4f5130,_0x4b37b2);}import{HighlightedTextView as _0x328c78}from'ckeditor5/src/ui.js';import{uid as _0x5cce77}from'ckeditor5/src/utils.js';export default class S extends _0x328c78{constructor(){const _0x3aac15=_0x4ef5;super(),this[_0x3aac15(0xec)](_0x3aac15(0xea),void 0x0);const _0xee6666=this[_0x3aac15(0xed)];this['id']=_0x3aac15(0xeb)+_0x5cce77(),this[_0x3aac15(0xf4)]({'attributes':{'class':['ck',_0x3aac15(0xe7)],'id':this['id'],'for':_0xee6666['to'](_0x3aac15(0xea))}});}}
23
+ function _0x3dd7(){const _0x517078=['1185146KeiLzH','1047tKlicx','ck-editor__label_','extendTemplate','8239pSeXRw','161512rsrrha','set','150QITYmk','29530uGrmsu','11784hFkRCS','4007230ZUpQta','140119jaFYbX','bindTemplate','for','153toFEWu','ck-label','2832186pMspMt'];_0x3dd7=function(){return _0x517078;};return _0x3dd7();}(function(_0x129356,_0x6a3f7d){const _0x15658d=_0x5bf5,_0x1999e9=_0x129356();while(!![]){try{const _0x200554=parseInt(_0x15658d(0x1d0))/0x1+parseInt(_0x15658d(0x1cf))/0x2+parseInt(_0x15658d(0x1d1))/0x3*(parseInt(_0x15658d(0x1c8))/0x4)+-parseInt(_0x15658d(0x1c9))/0x5+parseInt(_0x15658d(0x1c6))/0x6*(parseInt(_0x15658d(0x1ca))/0x7)+-parseInt(_0x15658d(0x1c4))/0x8*(parseInt(_0x15658d(0x1cd))/0x9)+-parseInt(_0x15658d(0x1c7))/0xa*(parseInt(_0x15658d(0x1d4))/0xb);if(_0x200554===_0x6a3f7d)break;else _0x1999e9['push'](_0x1999e9['shift']());}catch(_0x3c57a8){_0x1999e9['push'](_0x1999e9['shift']());}}}(_0x3dd7,0xbccf2));import{HighlightedTextView as _0x300828}from'ckeditor5/src/ui.js';function _0x5bf5(_0x3d1c2d,_0x50c425){const _0x3dd739=_0x3dd7();return _0x5bf5=function(_0x5bf548,_0x22c6c5){_0x5bf548=_0x5bf548-0x1c4;let _0x19c358=_0x3dd739[_0x5bf548];return _0x19c358;},_0x5bf5(_0x3d1c2d,_0x50c425);}import{uid as _0x5efff2}from'ckeditor5/src/utils.js';export default class S extends _0x300828{constructor(){const _0x651d75=_0x5bf5;super(),this[_0x651d75(0x1c5)](_0x651d75(0x1cc),void 0x0);const _0x63f99b=this[_0x651d75(0x1cb)];this['id']=_0x651d75(0x1d2)+_0x5efff2(),this[_0x651d75(0x1d3)]({'attributes':{'class':['ck',_0x651d75(0x1ce)],'id':this['id'],'for':_0x63f99b['to'](_0x651d75(0x1cc))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35899b=_0x4983;function _0x4983(_0x257b2c,_0x4bf371){const _0x198204=_0x1982();return _0x4983=function(_0x49837d,_0x2056e4){_0x49837d=_0x49837d-0x178;let _0x1219dc=_0x198204[_0x49837d];return _0x1219dc;},_0x4983(_0x257b2c,_0x4bf371);}function _0x1982(){const _0x447dd2=['bind','_createCopyButton','-9999px','lastElementChild','3976jNDftM','innerHTML','getSelection','createRange','class','render','ck-ai-form__content-area-wrapper','value','element','contentFieldView','execCommand','12MWyZtf','5PZfmNc','ck-ai-form__content-area','copyButtonView','text/plain','18882604MRiPpK','textContent','Copy','set','4793290MKKFIu','11179DsjqHC','appendChild','change:value','ck-ai-form__content-area--processing','<span>[</span>','ck-ai-form__copy-button-wrapper','querySelector','isProcessing','execute','setEndBefore','loaderView','scrollTo','locale','firstElementChild','scrollHeight','isEnabled','3183996HsiQWA','removeAllRanges','AI\x20is\x20writing...','ck-hidden','ck-ai-form__loader','check','addRange','change:isProcessing','absolute','wheel','ClipboardItem','.ck-ai-form__loader','ck-reset_all-excluded','setContent','setTemplate','303TxOQeu','<span>]</span>','appendLoader','clipboard','_copyHTMLToClipboard','focus','div','isVisible','ck-content','ck-ai-form__content-field','position','write','left','mousedown','copy','40UQyPFr','_createLoader','style','icon','ck-ai-form__copy-button','body','setStartAfter','remove','bindTemplate','9GhMrgb','7793EzbBSY','createElement','6978818CWMqxF','smooth','text/html','listenTo','\x20ck-ai-form__copy-button--copied','26684xiYDTF'];_0x1982=function(){return _0x447dd2;};return _0x1982();}(function(_0x154e13,_0x318519){const _0x50bbc7=_0x4983,_0x375e1c=_0x154e13();while(!![]){try{const _0x5d88d6=parseInt(_0x50bbc7(0x1c1))/0x1*(-parseInt(_0x50bbc7(0x1b7))/0x2)+parseInt(_0x50bbc7(0x1a8))/0x3*(-parseInt(_0x50bbc7(0x1c8))/0x4)+-parseInt(_0x50bbc7(0x180))/0x5*(parseInt(_0x50bbc7(0x199))/0x6)+parseInt(_0x50bbc7(0x189))/0x7*(-parseInt(_0x50bbc7(0x1cd))/0x8)+parseInt(_0x50bbc7(0x1c0))/0x9*(parseInt(_0x50bbc7(0x188))/0xa)+parseInt(_0x50bbc7(0x1c3))/0xb+-parseInt(_0x50bbc7(0x17f))/0xc*(-parseInt(_0x50bbc7(0x184))/0xd);if(_0x5d88d6===_0x318519)break;else _0x375e1c['push'](_0x375e1c['shift']());}catch(_0x1630ef){_0x375e1c['push'](_0x375e1c['shift']());}}}(_0x1982,0x64a6d));import{global as _0x24788a}from'ckeditor5/src/utils.js';import{View as _0x5bdb77,ButtonView as _0x4d2972,SpinnerView as _0x391eac}from'ckeditor5/src/ui.js';import _0x4ccc18 from'../../../theme/icons/copy.svg';import{getTranslation as _0x380f38}from'../../utils/common-translations.js';import{icons as _0x42220a}from'ckeditor5/src/core.js';export default class nt extends _0x5bdb77{constructor(_0x28ad0e,_0x15d9d7=''){const _0x119f69=_0x4983;super(_0x28ad0e),this[_0x119f69(0x187)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xd18592=this[_0x119f69(0x1bf)];this[_0x119f69(0x17d)]=new ContentFieldView(_0x28ad0e,_0x15d9d7),this[_0x119f69(0x182)]=this[_0x119f69(0x1ca)](),this[_0x119f69(0x1a7)]({'tag':_0x119f69(0x1ae),'attributes':{'class':['ck',_0x119f69(0x17a),_0xd18592['if'](_0x119f69(0x1af),_0x119f69(0x19c),_0x12c582=>!_0x12c582)],'tabindex':'-1'},'children':[{'tag':_0x119f69(0x1ae),'attributes':{'class':['ck',_0x119f69(0x181),_0xd18592['if'](_0x119f69(0x190),_0x119f69(0x18c))]},'children':[this[_0x119f69(0x17d)],{'tag':_0x119f69(0x1ae),'attributes':{'class':['ck',_0x119f69(0x18e)]},'children':[this[_0x119f69(0x182)]]}]}]});}[_0x35899b(0x179)](){const _0x3bcceb=_0x35899b;super[_0x3bcceb(0x179)](),this[_0x3bcceb(0x17b)]&&this[_0x3bcceb(0x17d)][_0x3bcceb(0x1a6)](this[_0x3bcceb(0x17b)]);let _0x21dd94=!0x1;this['on'](_0x3bcceb(0x18b),(_0x1ef699,_0x42f516,_0x14c569)=>{const _0x150121=_0x3bcceb,_0x4fdb9d=!this[_0x150121(0x17d)][_0x150121(0x17c)][_0x150121(0x18f)](_0x150121(0x1a4));this[_0x150121(0x17d)][_0x150121(0x1a6)](_0x14c569),this[_0x150121(0x190)]&&_0x4fdb9d&&!_0x21dd94&&this[_0x150121(0x17c)][_0x150121(0x194)]({'top':this[_0x150121(0x17c)][_0x150121(0x197)],'behavior':_0x150121(0x1c4)});}),this['on'](_0x3bcceb(0x1a0),(_0x3f1e70,_0x10d170,_0x1c4982)=>{const _0x94dc53=_0x3bcceb;_0x21dd94=!0x1,_0x1c4982?(this[_0x94dc53(0x17b)]=null,this[_0x94dc53(0x17d)][_0x94dc53(0x1aa)]()):this[_0x94dc53(0x17b)]||this[_0x94dc53(0x17d)][_0x94dc53(0x1a6)]('');}),this[_0x3bcceb(0x1c6)](this[_0x3bcceb(0x17c)],_0x3bcceb(0x1a2),()=>{_0x21dd94=!0x0;}),this[_0x3bcceb(0x1c6)](this[_0x3bcceb(0x17c)],_0x3bcceb(0x1b5),()=>{_0x21dd94=!0x0;});}[_0x35899b(0x1ad)](){const _0x3542a9=_0x35899b;this[_0x3542a9(0x17c)][_0x3542a9(0x1ad)]();}[_0x35899b(0x1ca)](){const _0x182208=_0x35899b,_0x5946dc=this[_0x182208(0x195)],_0x580b20=new _0x4d2972(this[_0x182208(0x195)]),_0x2c02d1=_0x182208(0x1bb);return _0x580b20[_0x182208(0x187)]({'label':_0x380f38(_0x5946dc,_0x182208(0x186)),'icon':_0x4ccc18,'class':_0x2c02d1,'tooltip':!0x0}),_0x580b20[_0x182208(0x1c9)](_0x182208(0x1af))['to'](this,_0x182208(0x17b),_0x54a7ce=>!!_0x54a7ce),_0x580b20[_0x182208(0x1c9)](_0x182208(0x198))['to'](this,_0x182208(0x190),_0x2b6c65=>!_0x2b6c65),_0x580b20['on'](_0x182208(0x191),()=>{const _0x4adeda=_0x182208;this[_0x4adeda(0x1ac)](this[_0x4adeda(0x17d)][_0x4adeda(0x17c)]),_0x580b20[_0x4adeda(0x1ba)]=_0x42220a[_0x4adeda(0x19e)],_0x580b20[_0x4adeda(0x178)]=_0x2c02d1+_0x4adeda(0x1c7),this[_0x4adeda(0x1ad)](),setTimeout(()=>{const _0x59d75e=_0x4adeda;_0x580b20[_0x59d75e(0x1ba)]=_0x4ccc18,_0x580b20[_0x59d75e(0x178)]=_0x2c02d1;},0x3e8);}),_0x580b20;}[_0x35899b(0x1ac)](_0x320fd4){const _0x4a225a=_0x35899b,{window:_0x427a11,document:_0x63fe30}=_0x24788a;if(_0x427a11[_0x4a225a(0x1a3)]){const {Blob:_0x1b89f4,ClipboardItem:_0x1d8e59}=_0x427a11,_0x25f0a0=[new _0x1d8e59({'text/html':new _0x1b89f4([_0x320fd4[_0x4a225a(0x1ce)]],{'type':_0x4a225a(0x1c5)}),'text/plain':new _0x1b89f4([_0x320fd4[_0x4a225a(0x185)]||''],{'type':_0x4a225a(0x183)})})];navigator[_0x4a225a(0x1ab)][_0x4a225a(0x1b3)](_0x25f0a0);}else{const _0x1c82fd=_0x63fe30[_0x4a225a(0x1c2)](_0x4a225a(0x1ae));_0x1c82fd[_0x4a225a(0x1b9)][_0x4a225a(0x1b2)]=_0x4a225a(0x1a1),_0x1c82fd[_0x4a225a(0x1b9)][_0x4a225a(0x1b4)]=_0x4a225a(0x1cb),_0x1c82fd[_0x4a225a(0x1ce)]=_0x4a225a(0x18d)+_0x320fd4[_0x4a225a(0x1ce)]+_0x4a225a(0x1a9),_0x63fe30[_0x4a225a(0x1bc)][_0x4a225a(0x18a)](_0x1c82fd);const _0x458301=_0x63fe30[_0x4a225a(0x1d0)]();_0x458301[_0x4a225a(0x1bd)](_0x1c82fd[_0x4a225a(0x196)]),_0x458301[_0x4a225a(0x192)](_0x1c82fd[_0x4a225a(0x1cc)]);const _0x365dd9=_0x427a11[_0x4a225a(0x1cf)]();_0x365dd9[_0x4a225a(0x19a)](),_0x365dd9[_0x4a225a(0x19f)](_0x458301),_0x63fe30[_0x4a225a(0x17e)](_0x4a225a(0x1b6)),_0x1c82fd[_0x4a225a(0x1be)]();}}}export class ContentFieldView extends _0x5bdb77{constructor(_0x177849,_0x54af8a=''){const _0x465d48=_0x35899b;super(_0x177849),this[_0x465d48(0x193)]=this[_0x465d48(0x1b8)](),this[_0x465d48(0x1a7)]({'tag':_0x465d48(0x1ae),'attributes':{'class':['ck',_0x465d48(0x1b0),_0x54af8a,_0x465d48(0x1a5),_0x465d48(0x1b1)]}});}[_0x35899b(0x1a6)](_0x551e38){const _0x1b0936=_0x35899b;this[_0x1b0936(0x17c)][_0x1b0936(0x1ce)]=_0x551e38;}[_0x35899b(0x1aa)](){const _0x179cb7=_0x35899b;this[_0x179cb7(0x17c)][_0x179cb7(0x18a)](this[_0x179cb7(0x193)][_0x179cb7(0x17c)]);}[_0x35899b(0x1b8)](){const _0x4c6e8e=_0x35899b,_0x3bff00=new _0x5bdb77(),_0x4a3d28=this[_0x4c6e8e(0x195)],_0x3cbfcf=new _0x391eac();return _0x3cbfcf[_0x4c6e8e(0x1af)]=!0x0,_0x3bff00[_0x4c6e8e(0x1a7)]({'tag':_0x4c6e8e(0x1ae),'attributes':{'class':['ck',_0x4c6e8e(0x19d)]},'children':[_0x3cbfcf,{'text':_0x380f38(_0x4a3d28,_0x4c6e8e(0x19b))}]}),_0x3bff00[_0x4c6e8e(0x179)](),_0x3bff00;}}
23
+ const _0xf6dc49=_0x8f08;(function(_0x1a57b2,_0xa94cb4){const _0x4e403b=_0x8f08,_0x1a8af4=_0x1a57b2();while(!![]){try{const _0x7ac57=parseInt(_0x4e403b(0x148))/0x1+-parseInt(_0x4e403b(0x14b))/0x2*(parseInt(_0x4e403b(0x14a))/0x3)+parseInt(_0x4e403b(0x13d))/0x4+parseInt(_0x4e403b(0x131))/0x5+-parseInt(_0x4e403b(0x173))/0x6+parseInt(_0x4e403b(0x137))/0x7+-parseInt(_0x4e403b(0x15b))/0x8;if(_0x7ac57===_0xa94cb4)break;else _0x1a8af4['push'](_0x1a8af4['shift']());}catch(_0x3b6f5d){_0x1a8af4['push'](_0x1a8af4['shift']());}}}(_0x1d80,0x51c90));import{global as _0x32deeb}from'ckeditor5/src/utils.js';import{View as _0x5b6132,ButtonView as _0x2f64e2,SpinnerView as _0x10b802}from'ckeditor5/src/ui.js';import _0x516839 from'../../../theme/icons/copy.svg';function _0x8f08(_0x4b1dcd,_0x60e5c1){const _0x1d8055=_0x1d80();return _0x8f08=function(_0x8f0835,_0x399605){_0x8f0835=_0x8f0835-0x12f;let _0x1fa3a3=_0x1d8055[_0x8f0835];return _0x1fa3a3;},_0x8f08(_0x4b1dcd,_0x60e5c1);}import{getTranslation as _0x341915}from'../../utils/common-translations.js';import{icons as _0xc3c7c7}from'ckeditor5/src/core.js';export default class nt extends _0x5b6132{constructor(_0x573261,_0x23139c=''){const _0x65dccd=_0x8f08;super(_0x573261),this[_0x65dccd(0x17a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xb2736c=this[_0x65dccd(0x171)];this[_0x65dccd(0x16c)]=new ContentFieldView(_0x573261,_0x23139c),this[_0x65dccd(0x16d)]=this[_0x65dccd(0x175)](),this[_0x65dccd(0x16a)]({'tag':_0x65dccd(0x169),'attributes':{'class':['ck',_0x65dccd(0x182),_0xb2736c['if'](_0x65dccd(0x17b),_0x65dccd(0x139),_0x5f2642=>!_0x5f2642)],'tabindex':'-1'},'children':[{'tag':_0x65dccd(0x169),'attributes':{'class':['ck',_0x65dccd(0x14c),_0xb2736c['if'](_0x65dccd(0x153),_0x65dccd(0x132))]},'children':[this[_0x65dccd(0x16c)],{'tag':_0x65dccd(0x169),'attributes':{'class':['ck',_0x65dccd(0x151)]},'children':[this[_0x65dccd(0x16d)]]}]}]});}[_0xf6dc49(0x138)](){const _0x1525a1=_0xf6dc49;super[_0x1525a1(0x138)](),this[_0x1525a1(0x180)]&&this[_0x1525a1(0x16c)][_0x1525a1(0x181)](this[_0x1525a1(0x180)]);let _0x48d2ca=!0x1;this['on'](_0x1525a1(0x14e),(_0xe90aa5,_0x242753,_0x357995)=>{const _0x111fcd=_0x1525a1,_0x50b7de=!this[_0x111fcd(0x16c)][_0x111fcd(0x134)][_0x111fcd(0x17d)](_0x111fcd(0x152));this[_0x111fcd(0x16c)][_0x111fcd(0x181)](_0x357995),this[_0x111fcd(0x153)]&&_0x50b7de&&!_0x48d2ca&&this[_0x111fcd(0x134)][_0x111fcd(0x133)]({'top':this[_0x111fcd(0x134)][_0x111fcd(0x13f)],'behavior':_0x111fcd(0x14d)});}),this['on'](_0x1525a1(0x157),(_0x1fae4a,_0x2f5efe,_0x14f6ce)=>{const _0x409179=_0x1525a1;_0x48d2ca=!0x1,_0x14f6ce?(this[_0x409179(0x180)]=null,this[_0x409179(0x16c)][_0x409179(0x136)]()):this[_0x409179(0x180)]||this[_0x409179(0x16c)][_0x409179(0x181)]('');}),this[_0x1525a1(0x17c)](this[_0x1525a1(0x134)],_0x1525a1(0x166),()=>{_0x48d2ca=!0x0;}),this[_0x1525a1(0x17c)](this[_0x1525a1(0x134)],_0x1525a1(0x13a),()=>{_0x48d2ca=!0x0;});}[_0xf6dc49(0x150)](){const _0xb89e21=_0xf6dc49;this[_0xb89e21(0x134)][_0xb89e21(0x150)]();}[_0xf6dc49(0x175)](){const _0x1225b4=_0xf6dc49,_0x592ea9=this[_0x1225b4(0x172)],_0x1d99b3=new _0x2f64e2(this[_0x1225b4(0x172)]),_0x3e5a1e=_0x1225b4(0x12f);return _0x1d99b3[_0x1225b4(0x17a)]({'label':_0x341915(_0x592ea9,_0x1225b4(0x146)),'icon':_0x516839,'class':_0x3e5a1e,'tooltip':!0x0}),_0x1d99b3[_0x1225b4(0x147)](_0x1225b4(0x17b))['to'](this,_0x1225b4(0x180),_0x399cb2=>!!_0x399cb2),_0x1d99b3[_0x1225b4(0x147)](_0x1225b4(0x15e))['to'](this,_0x1225b4(0x153),_0x9fd37c=>!_0x9fd37c),_0x1d99b3['on'](_0x1225b4(0x13c),()=>{const _0x12f233=_0x1225b4;this[_0x12f233(0x145)](this[_0x12f233(0x16c)][_0x12f233(0x134)]),_0x1d99b3[_0x12f233(0x15a)]=_0xc3c7c7[_0x12f233(0x13e)],_0x1d99b3[_0x12f233(0x162)]=_0x3e5a1e+_0x12f233(0x144),this[_0x12f233(0x150)](),setTimeout(()=>{const _0x21c71b=_0x12f233;_0x1d99b3[_0x21c71b(0x15a)]=_0x516839,_0x1d99b3[_0x21c71b(0x162)]=_0x3e5a1e;},0x3e8);}),_0x1d99b3;}[_0xf6dc49(0x145)](_0x24430f){const _0x1242a6=_0xf6dc49,{window:_0x177167,document:_0x1a01a4}=_0x32deeb;if(_0x177167[_0x1242a6(0x135)]){const {Blob:_0x48357b,ClipboardItem:_0xc392ec}=_0x177167,_0x36b66b=[new _0xc392ec({'text/html':new _0x48357b([_0x24430f[_0x1242a6(0x14f)]],{'type':_0x1242a6(0x156)}),'text/plain':new _0x48357b([_0x24430f[_0x1242a6(0x168)]||''],{'type':_0x1242a6(0x176)})})];navigator[_0x1242a6(0x177)][_0x1242a6(0x141)](_0x36b66b);}else{const _0x10cf07=_0x1a01a4[_0x1242a6(0x13b)](_0x1242a6(0x169));_0x10cf07[_0x1242a6(0x15d)][_0x1242a6(0x160)]=_0x1242a6(0x167),_0x10cf07[_0x1242a6(0x15d)][_0x1242a6(0x158)]=_0x1242a6(0x159),_0x10cf07[_0x1242a6(0x14f)]=_0x1242a6(0x143)+_0x24430f[_0x1242a6(0x14f)]+_0x1242a6(0x161),_0x1a01a4[_0x1242a6(0x170)][_0x1242a6(0x179)](_0x10cf07);const _0x181841=_0x1a01a4[_0x1242a6(0x155)]();_0x181841[_0x1242a6(0x130)](_0x10cf07[_0x1242a6(0x16f)]),_0x181841[_0x1242a6(0x165)](_0x10cf07[_0x1242a6(0x164)]);const _0x3c242a=_0x177167[_0x1242a6(0x17f)]();_0x3c242a[_0x1242a6(0x17e)](),_0x3c242a[_0x1242a6(0x163)](_0x181841),_0x1a01a4[_0x1242a6(0x178)](_0x1242a6(0x149)),_0x10cf07[_0x1242a6(0x142)]();}}}function _0x1d80(){const _0x12ea58=['copy','285HNpLDW','3314dpCuqT','ck-ai-form__content-area','smooth','change:value','innerHTML','focus','ck-ai-form__copy-button-wrapper','.ck-ai-form__loader','isProcessing','ck-reset_all-excluded','createRange','text/html','change:isProcessing','left','-9999px','icon','2892424HcwEnj','ck-ai-form__loader','style','isEnabled','_createLoader','position','<span>]</span>','class','addRange','lastElementChild','setEndBefore','wheel','absolute','textContent','div','setTemplate','ck-ai-form__content-field','contentFieldView','copyButtonView','ck-content','firstElementChild','body','bindTemplate','locale','1106682bGkvVf','AI\x20is\x20writing...','_createCopyButton','text/plain','clipboard','execCommand','appendChild','set','isVisible','listenTo','querySelector','removeAllRanges','getSelection','value','setContent','ck-ai-form__content-area-wrapper','ck-ai-form__copy-button','setStartAfter','537630kNEccE','ck-ai-form__content-area--processing','scrollTo','element','ClipboardItem','appendLoader','1249353yOCGwC','render','ck-hidden','mousedown','createElement','execute','1463124oTOCEf','check','scrollHeight','loaderView','write','remove','<span>[</span>','\x20ck-ai-form__copy-button--copied','_copyHTMLToClipboard','Copy','bind','386621krltqu'];_0x1d80=function(){return _0x12ea58;};return _0x1d80();}export class ContentFieldView extends _0x5b6132{constructor(_0x3ef1a7,_0x52def6=''){const _0xd08584=_0xf6dc49;super(_0x3ef1a7),this[_0xd08584(0x140)]=this[_0xd08584(0x15f)](),this[_0xd08584(0x16a)]({'tag':_0xd08584(0x169),'attributes':{'class':['ck',_0xd08584(0x16e),_0x52def6,_0xd08584(0x154),_0xd08584(0x16b)]}});}[_0xf6dc49(0x181)](_0x3e7e24){const _0x54fe8c=_0xf6dc49;this[_0x54fe8c(0x134)][_0x54fe8c(0x14f)]=_0x3e7e24;}[_0xf6dc49(0x136)](){const _0x1b64fe=_0xf6dc49;this[_0x1b64fe(0x134)][_0x1b64fe(0x179)](this[_0x1b64fe(0x140)][_0x1b64fe(0x134)]);}[_0xf6dc49(0x15f)](){const _0x19bce7=_0xf6dc49,_0x13c705=new _0x5b6132(),_0x293c2d=this[_0x19bce7(0x172)],_0x59d55e=new _0x10b802();return _0x59d55e[_0x19bce7(0x17b)]=!0x0,_0x13c705[_0x19bce7(0x16a)]({'tag':_0x19bce7(0x169),'attributes':{'class':['ck',_0x19bce7(0x15c)]},'children':[_0x59d55e,{'text':_0x341915(_0x293c2d,_0x19bce7(0x174))}]}),_0x13c705[_0x19bce7(0x138)](),_0x13c705;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5838(){const _0x16412c=['1541392GgdJPe','content','setTemplate','464040eUkPSl','22883HJwJOP','2lDoMEC','bindTemplate','890LSfRrH','190482DtRJTU','set','4iBBwFy','6476074OURZOu','582fnXLDG','44262mfIHnE','ck-ai-form__error','text','div','1139406UmkhaK'];_0x5838=function(){return _0x16412c;};return _0x5838();}(function(_0x541d38,_0x3a6188){const _0x562994=_0x2d4d,_0x177b2b=_0x541d38();while(!![]){try{const _0x5a0630=-parseInt(_0x562994(0x15f))/0x1*(-parseInt(_0x562994(0x15c))/0x2)+-parseInt(_0x562994(0x168))/0x3*(parseInt(_0x562994(0x161))/0x4)+-parseInt(_0x562994(0x15a))/0x5+-parseInt(_0x562994(0x163))/0x6*(parseInt(_0x562994(0x15b))/0x7)+-parseInt(_0x562994(0x157))/0x8+parseInt(_0x562994(0x164))/0x9*(parseInt(_0x562994(0x15e))/0xa)+parseInt(_0x562994(0x162))/0xb;if(_0x5a0630===_0x3a6188)break;else _0x177b2b['push'](_0x177b2b['shift']());}catch(_0x1b0cfa){_0x177b2b['push'](_0x177b2b['shift']());}}}(_0x5838,0x3942d));import{View as _0x2e4d25,IconView as _0x1809f4}from'ckeditor5/src/ui.js';import _0x47cace from'../../../theme/icons/error.svg';function _0x2d4d(_0x1a3df2,_0x89aa0b){const _0x58383a=_0x5838();return _0x2d4d=function(_0x2d4dbd,_0x369394){_0x2d4dbd=_0x2d4dbd-0x157;let _0xcc6192=_0x58383a[_0x2d4dbd];return _0xcc6192;},_0x2d4d(_0x1a3df2,_0x89aa0b);}export default class mt extends _0x2e4d25{constructor(_0x91c3c7,_0x209da7=''){const _0x3f2388=_0x2d4d;super(_0x91c3c7);const _0x1af165=new _0x1809f4(),_0x456b2f=this[_0x3f2388(0x15d)];this[_0x3f2388(0x160)](_0x3f2388(0x166),_0x209da7),_0x1af165[_0x3f2388(0x158)]=_0x47cace,this[_0x3f2388(0x159)]({'tag':_0x3f2388(0x167),'attributes':{'class':['ck',_0x3f2388(0x165)]},'children':[_0x1af165,{'text':_0x456b2f['to'](_0x3f2388(0x166))}]});}}
23
+ function _0x578d(){const _0x496375=['4945234JrIJhY','text','1122qKuprb','1420668FlGZxz','71kHQSGK','2177763IKWEMf','content','6TzfFnV','div','set','48ZQPdLG','ck-ai-form__error','setTemplate','8VdoWgp','bindTemplate','6513716QfFOZE','1793830wPiFlR','63stFrHM','817805tiffIa'];_0x578d=function(){return _0x496375;};return _0x578d();}(function(_0x12e534,_0x4e690e){const _0x1ec169=_0x3cbb,_0x2ccb7c=_0x12e534();while(!![]){try{const _0x2095c2=-parseInt(_0x1ec169(0x108))/0x1*(parseInt(_0x1ec169(0x119))/0x2)+parseInt(_0x1ec169(0x109))/0x3+parseInt(_0x1ec169(0x11a))/0x4+parseInt(_0x1ec169(0x116))/0x5*(parseInt(_0x1ec169(0x10b))/0x6)+parseInt(_0x1ec169(0x117))/0x7*(parseInt(_0x1ec169(0x111))/0x8)+-parseInt(_0x1ec169(0x115))/0x9*(-parseInt(_0x1ec169(0x114))/0xa)+parseInt(_0x1ec169(0x113))/0xb*(-parseInt(_0x1ec169(0x10e))/0xc);if(_0x2095c2===_0x4e690e)break;else _0x2ccb7c['push'](_0x2ccb7c['shift']());}catch(_0x53a11d){_0x2ccb7c['push'](_0x2ccb7c['shift']());}}}(_0x578d,0xc2e81));import{View as _0x261148,IconView as _0x46b164}from'ckeditor5/src/ui.js';function _0x3cbb(_0x48b0c4,_0x442d22){const _0x578dec=_0x578d();return _0x3cbb=function(_0x3cbb78,_0x3cb4b7){_0x3cbb78=_0x3cbb78-0x108;let _0x501ae5=_0x578dec[_0x3cbb78];return _0x501ae5;},_0x3cbb(_0x48b0c4,_0x442d22);}import _0x5cac5b from'../../../theme/icons/error.svg';export default class mt extends _0x261148{constructor(_0x2465e9,_0x29f6c8=''){const _0x23ec2c=_0x3cbb;super(_0x2465e9);const _0x92a4f4=new _0x46b164(),_0x3742df=this[_0x23ec2c(0x112)];this[_0x23ec2c(0x10d)](_0x23ec2c(0x118),_0x29f6c8),_0x92a4f4[_0x23ec2c(0x10a)]=_0x5cac5b,this[_0x23ec2c(0x110)]({'tag':_0x23ec2c(0x10c),'attributes':{'class':['ck',_0x23ec2c(0x10f)]},'children':[_0x92a4f4,{'text':_0x3742df['to'](_0x23ec2c(0x118))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x12e8(){const _0x2819bd=['history','keystrokes','fire','add','right','57672882IjtakK','maxRows','value','resultsView','4NHrbBX','excludeScrollbarsAndBorders','left','Submit','rtl','_createSubmitButton','10779671ftKfNc','requestAnimationFrame','submit','focusCycler','focusableChildren','enter','filteredView','queryView','fieldView','locale','element','bind','1204619bwfGUj','execute','window','10vlZXlo','update','isEnabled','ck-ai-form__submit','fieldWrapperChildren','isVisible','target','isOn','set','submitButtonView','819240ipHpUs','render','History','3949527QJBmbv','uiLanguageDirection','isEmpty','width','983744rqIeGC','ck-ai-form__toggle-history','showHistoryButtonView','minRows','focus','focusFirst','4830655BcJAuv','focusLast','6rFyqSr','_createShowHistoryButton','children','style'];_0x12e8=function(){return _0x2819bd;};return _0x12e8();}const _0x1ca096=_0x4d85;(function(_0x3a100f,_0x41862e){const _0xbbc51b=_0x4d85,_0x270daf=_0x3a100f();while(!![]){try{const _0x2fc282=-parseInt(_0xbbc51b(0x181))/0x1+-parseInt(_0xbbc51b(0x15a))/0x2+-parseInt(_0xbbc51b(0x156))/0x3*(parseInt(_0xbbc51b(0x16f))/0x4)+-parseInt(_0xbbc51b(0x160))/0x5+-parseInt(_0xbbc51b(0x162))/0x6*(parseInt(_0xbbc51b(0x175))/0x7)+-parseInt(_0xbbc51b(0x153))/0x8+-parseInt(_0xbbc51b(0x16b))/0x9*(-parseInt(_0xbbc51b(0x149))/0xa);if(_0x2fc282===_0x41862e)break;else _0x270daf['push'](_0x270daf['shift']());}catch(_0x20c6da){_0x270daf['push'](_0x270daf['shift']());}}}(_0x12e8,0xc00b1));import{Rect as _0x54361,global as _0x1ca864,isVisible as _0xce6df1}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x93f510,ButtonView as _0x44c257}from'ckeditor5/src/ui.js';import{icons as _0x1c0714}from'ckeditor5/src/core.js';function _0x4d85(_0x2a733a,_0x1ec75b){const _0x12e8d0=_0x12e8();return _0x4d85=function(_0x4d8587,_0x17c098){_0x4d8587=_0x4d8587-0x147;let _0x2b288e=_0x12e8d0[_0x4d8587];return _0x2b288e;},_0x4d85(_0x2a733a,_0x1ec75b);}import{getTranslation as _0x50d70d}from'../../utils/common-translations.js';import _0x270efb from'../../../theme/icons/submit.svg';export default class pt extends _0x93f510{constructor(_0x371074,_0x26887a){const _0x178830=_0x4d85;super(_0x371074,_0x26887a),this[_0x178830(0x17c)][_0x178830(0x17d)][_0x178830(0x15d)]=0x1,this[_0x178830(0x17c)][_0x178830(0x17d)][_0x178830(0x16c)]=0x3,this[_0x178830(0x152)]=this[_0x178830(0x174)](),this[_0x178830(0x15c)]=this[_0x178830(0x163)](),this[_0x178830(0x179)][_0x178830(0x169)](this[_0x178830(0x15c)],0x1),this[_0x178830(0x179)][_0x178830(0x169)](this[_0x178830(0x152)]);}[_0x1ca096(0x154)](){const _0x1bd63a=_0x1ca096;super[_0x1bd63a(0x154)](),this[_0x1bd63a(0x17c)][_0x1bd63a(0x14d)][_0x1bd63a(0x169)](this[_0x1bd63a(0x15c)]),this[_0x1bd63a(0x164)][_0x1bd63a(0x169)](this[_0x1bd63a(0x152)]),this[_0x1bd63a(0x167)][_0x1bd63a(0x151)](_0x1bd63a(0x17a),(_0x234789,_0x1997be)=>{const _0x58044b=_0x1bd63a;_0x234789[_0x58044b(0x14f)]==this[_0x58044b(0x17c)][_0x58044b(0x17d)][_0x58044b(0x17f)]&&(this[_0x58044b(0x177)](),_0x1997be());});}[_0x1ca096(0x174)](){const _0x12867a=_0x1ca096,_0x34c3bb=new _0x44c257(this[_0x12867a(0x17e)]),_0xe2dfbd=this[_0x12867a(0x17e)];return _0x34c3bb[_0x12867a(0x151)]({'icon':_0x270efb,'label':_0x50d70d(_0xe2dfbd,_0x12867a(0x172)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x12867a(0x14c)}),_0x34c3bb['on'](_0x12867a(0x147),()=>{const _0x457103=_0x12867a;this[_0x457103(0x177)]();}),_0x34c3bb[_0x12867a(0x180)](_0x12867a(0x14b))['to'](this[_0x12867a(0x17c)][_0x12867a(0x17d)],_0x12867a(0x158),this,_0x12867a(0x14b),(_0x1a08c0,_0x1165c2)=>!_0x1a08c0&&_0x1165c2),_0x34c3bb;}[_0x1ca096(0x163)](){const _0xc5592b=_0x1ca096,_0xf666d7=new _0x44c257(this[_0xc5592b(0x17e)]),_0x5a38f0=this[_0xc5592b(0x16e)],_0x2e2e9b=this[_0xc5592b(0x17e)];_0xf666d7[_0xc5592b(0x151)]({'label':_0x50d70d(_0x2e2e9b,_0xc5592b(0x155)),'withText':!0x1,'icon':_0x1c0714[_0xc5592b(0x166)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0xc5592b(0x15b)}),_0xf666d7[_0xc5592b(0x180)](_0xc5592b(0x150))['to'](_0x5a38f0,_0xc5592b(0x14e)),_0xf666d7[_0xc5592b(0x180)](_0xc5592b(0x14b))['to'](this,_0xc5592b(0x14b)),_0xf666d7['on'](_0xc5592b(0x147),()=>{const _0x52e796=_0xc5592b;_0x5a38f0[_0x52e796(0x14e)]=!_0x5a38f0[_0x52e796(0x14e)],_0x5a38f0[_0x52e796(0x14e)]?this[_0x52e796(0x17b)][_0x52e796(0x15e)]():this[_0x52e796(0x15e)]();});const _0x4f7c5e=()=>{const _0x35833b=_0xc5592b;_0x1ca864[_0x35833b(0x148)][_0x35833b(0x176)](()=>{const _0x55c1e4=_0x35833b;if(_0xce6df1(this[_0x55c1e4(0x17f)])){const _0x455440=new _0x54361(this[_0x55c1e4(0x17c)][_0x55c1e4(0x17d)][_0x55c1e4(0x17f)]),_0x2151be=_0x455440[_0x55c1e4(0x159)],_0x18d3d2=_0x55c1e4(0x173)===_0x2e2e9b[_0x55c1e4(0x157)]?_0x55c1e4(0x171):_0x55c1e4(0x16a);_0x455440[_0x55c1e4(0x170)](),_0xf666d7[_0x55c1e4(0x17f)][_0x55c1e4(0x165)][_0x18d3d2]=_0x2151be-_0x455440[_0x55c1e4(0x159)]+0x1+'px';}});};return this[_0xc5592b(0x17c)][_0xc5592b(0x17d)]['on'](_0xc5592b(0x14a),_0x4f7c5e),this['on'](_0xc5592b(0x154),_0x4f7c5e),_0xf666d7;}[_0x1ca096(0x177)](){const _0x590a53=_0x1ca096,_0x475bec=this[_0x590a53(0x17c)][_0x590a53(0x17d)][_0x590a53(0x17f)][_0x590a53(0x16d)];this[_0x590a53(0x168)](_0x590a53(0x177),_0x475bec);}[_0x1ca096(0x15e)](_0x783ae0){const _0x3230cc=_0x1ca096;-0x1===_0x783ae0?this[_0x3230cc(0x178)][_0x3230cc(0x161)]():this[_0x3230cc(0x178)][_0x3230cc(0x15f)]();}}
23
+ function _0x1046(){const _0x2a33e=['set','fieldView','requestAnimationFrame','isVisible','focusCycler','uiLanguageDirection','History','render','focusFirst','focusableChildren','ck-ai-form__toggle-history','queryView','isEnabled','minRows','width','children','locale','enter','1akSgGP','fieldWrapperChildren','fire','focus','history','add','keystrokes','isEmpty','execute','25280OaGpsV','bind','rtl','window','target','filteredView','959565dQrVDX','729506QmOsOx','right','resultsView','ck-ai-form__submit','style','1116227gJgJiC','2101cEbdxt','value','element','1983012mccIHe','left','_createShowHistoryButton','submitButtonView','isOn','10lvYozU','excludeScrollbarsAndBorders','maxRows','Submit','submit','focusLast','15560JlfZmn','_createSubmitButton','1204960MbzOmy','showHistoryButtonView','3231ZzyOsE','update'];_0x1046=function(){return _0x2a33e;};return _0x1046();}const _0x1eeaf4=_0x15da;(function(_0x4b40eb,_0x464ce5){const _0x3e5f2f=_0x15da,_0x3ee408=_0x4b40eb();while(!![]){try{const _0x5ad7d4=-parseInt(_0x3e5f2f(0x1cb))/0x1*(-parseInt(_0x3e5f2f(0x1db))/0x2)+parseInt(_0x3e5f2f(0x1da))/0x3+parseInt(_0x3e5f2f(0x1b5))/0x4+parseInt(_0x3e5f2f(0x1ad))/0x5*(-parseInt(_0x3e5f2f(0x1e4))/0x6)+-parseInt(_0x3e5f2f(0x1e0))/0x7+-parseInt(_0x3e5f2f(0x1b3))/0x8*(-parseInt(_0x3e5f2f(0x1b7))/0x9)+parseInt(_0x3e5f2f(0x1d4))/0xa*(-parseInt(_0x3e5f2f(0x1e1))/0xb);if(_0x5ad7d4===_0x464ce5)break;else _0x3ee408['push'](_0x3ee408['shift']());}catch(_0x45c51c){_0x3ee408['push'](_0x3ee408['shift']());}}}(_0x1046,0x5cf76));import{Rect as _0x20976d,global as _0x6d5fc7,isVisible as _0x35ced8}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x31e6c6,ButtonView as _0x1bdeb3}from'ckeditor5/src/ui.js';import{icons as _0x26004a}from'ckeditor5/src/core.js';import{getTranslation as _0x5adbd7}from'../../utils/common-translations.js';import _0x1f50d2 from'../../../theme/icons/submit.svg';function _0x15da(_0x3f8c3e,_0x1ece1a){const _0x1046cb=_0x1046();return _0x15da=function(_0x15daf9,_0x102e40){_0x15daf9=_0x15daf9-0x1aa;let _0x17c0b7=_0x1046cb[_0x15daf9];return _0x17c0b7;},_0x15da(_0x3f8c3e,_0x1ece1a);}export default class pt extends _0x31e6c6{constructor(_0x40ee6c,_0xbe8fd){const _0x1effa9=_0x15da;super(_0x40ee6c,_0xbe8fd),this[_0x1effa9(0x1c4)][_0x1effa9(0x1ba)][_0x1effa9(0x1c6)]=0x1,this[_0x1effa9(0x1c4)][_0x1effa9(0x1ba)][_0x1effa9(0x1af)]=0x3,this[_0x1effa9(0x1ab)]=this[_0x1effa9(0x1b4)](),this[_0x1effa9(0x1b6)]=this[_0x1effa9(0x1aa)](),this[_0x1effa9(0x1c2)][_0x1effa9(0x1d0)](this[_0x1effa9(0x1b6)],0x1),this[_0x1effa9(0x1c2)][_0x1effa9(0x1d0)](this[_0x1effa9(0x1ab)]);}[_0x1eeaf4(0x1c0)](){const _0x2b520a=_0x1eeaf4;super[_0x2b520a(0x1c0)](),this[_0x2b520a(0x1c4)][_0x2b520a(0x1cc)][_0x2b520a(0x1d0)](this[_0x2b520a(0x1b6)]),this[_0x2b520a(0x1c8)][_0x2b520a(0x1d0)](this[_0x2b520a(0x1ab)]),this[_0x2b520a(0x1d1)][_0x2b520a(0x1b9)](_0x2b520a(0x1ca),(_0x303527,_0x24eafd)=>{const _0x1581e5=_0x2b520a;_0x303527[_0x1581e5(0x1d8)]==this[_0x1581e5(0x1c4)][_0x1581e5(0x1ba)][_0x1581e5(0x1e3)]&&(this[_0x1581e5(0x1b1)](),_0x24eafd());});}[_0x1eeaf4(0x1b4)](){const _0x425195=_0x1eeaf4,_0x4aae16=new _0x1bdeb3(this[_0x425195(0x1c9)]),_0xf31d9f=this[_0x425195(0x1c9)];return _0x4aae16[_0x425195(0x1b9)]({'icon':_0x1f50d2,'label':_0x5adbd7(_0xf31d9f,_0x425195(0x1b0)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x425195(0x1de)}),_0x4aae16['on'](_0x425195(0x1d3),()=>{const _0x5cdbfd=_0x425195;this[_0x5cdbfd(0x1b1)]();}),_0x4aae16[_0x425195(0x1d5)](_0x425195(0x1c5))['to'](this[_0x425195(0x1c4)][_0x425195(0x1ba)],_0x425195(0x1d2),this,_0x425195(0x1c5),(_0x366615,_0x3a612b)=>!_0x366615&&_0x3a612b),_0x4aae16;}[_0x1eeaf4(0x1aa)](){const _0x339f69=_0x1eeaf4,_0x57a92f=new _0x1bdeb3(this[_0x339f69(0x1c9)]),_0x136c4e=this[_0x339f69(0x1dd)],_0x1887d5=this[_0x339f69(0x1c9)];_0x57a92f[_0x339f69(0x1b9)]({'label':_0x5adbd7(_0x1887d5,_0x339f69(0x1bf)),'withText':!0x1,'icon':_0x26004a[_0x339f69(0x1cf)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x339f69(0x1c3)}),_0x57a92f[_0x339f69(0x1d5)](_0x339f69(0x1ac))['to'](_0x136c4e,_0x339f69(0x1bc)),_0x57a92f[_0x339f69(0x1d5)](_0x339f69(0x1c5))['to'](this,_0x339f69(0x1c5)),_0x57a92f['on'](_0x339f69(0x1d3),()=>{const _0x461f22=_0x339f69;_0x136c4e[_0x461f22(0x1bc)]=!_0x136c4e[_0x461f22(0x1bc)],_0x136c4e[_0x461f22(0x1bc)]?this[_0x461f22(0x1d9)][_0x461f22(0x1ce)]():this[_0x461f22(0x1ce)]();});const _0x2f0d35=()=>{const _0x5b84a3=_0x339f69;_0x6d5fc7[_0x5b84a3(0x1d7)][_0x5b84a3(0x1bb)](()=>{const _0xede203=_0x5b84a3;if(_0x35ced8(this[_0xede203(0x1e3)])){const _0x2657c9=new _0x20976d(this[_0xede203(0x1c4)][_0xede203(0x1ba)][_0xede203(0x1e3)]),_0xafff36=_0x2657c9[_0xede203(0x1c7)],_0x4bc118=_0xede203(0x1d6)===_0x1887d5[_0xede203(0x1be)]?_0xede203(0x1e5):_0xede203(0x1dc);_0x2657c9[_0xede203(0x1ae)](),_0x57a92f[_0xede203(0x1e3)][_0xede203(0x1df)][_0x4bc118]=_0xafff36-_0x2657c9[_0xede203(0x1c7)]+0x1+'px';}});};return this[_0x339f69(0x1c4)][_0x339f69(0x1ba)]['on'](_0x339f69(0x1b8),_0x2f0d35),this['on'](_0x339f69(0x1c0),_0x2f0d35),_0x57a92f;}[_0x1eeaf4(0x1b1)](){const _0x54b3a0=_0x1eeaf4,_0x1f92f2=this[_0x54b3a0(0x1c4)][_0x54b3a0(0x1ba)][_0x54b3a0(0x1e3)][_0x54b3a0(0x1e2)];this[_0x54b3a0(0x1cd)](_0x54b3a0(0x1b1),_0x1f92f2);}[_0x1eeaf4(0x1ce)](_0xe45e96){const _0x36b91f=_0x1eeaf4;-0x1===_0xe45e96?this[_0x36b91f(0x1bd)][_0x36b91f(0x1b2)]():this[_0x36b91f(0x1bd)][_0x36b91f(0x1c1)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56be7c=_0x40f9;(function(_0xc05dc4,_0x4933a7){const _0x2946a5=_0x40f9,_0x1d9f31=_0xc05dc4();while(!![]){try{const _0x5cf42a=-parseInt(_0x2946a5(0x119))/0x1+-parseInt(_0x2946a5(0x106))/0x2*(parseInt(_0x2946a5(0x11a))/0x3)+parseInt(_0x2946a5(0xff))/0x4+parseInt(_0x2946a5(0x122))/0x5*(parseInt(_0x2946a5(0x104))/0x6)+parseInt(_0x2946a5(0x118))/0x7+parseInt(_0x2946a5(0x10d))/0x8*(-parseInt(_0x2946a5(0x114))/0x9)+parseInt(_0x2946a5(0x108))/0xa;if(_0x5cf42a===_0x4933a7)break;else _0x1d9f31['push'](_0x1d9f31['shift']());}catch(_0x307dc2){_0x1d9f31['push'](_0x1d9f31['shift']());}}}(_0x1a90,0x3cf56));import{ToolbarView as _0x2f2e7c,ButtonView as _0x2995b9}from'ckeditor5/src/ui.js';import{getTranslation as _0x491aa2}from'../../utils/common-translations.js';function _0x1a90(){const _0x28e41a=['locale','1387440ouDgJj','label','addMany','extendTemplate','tryAgainButton','6TDUHQQ','insertButton','2cqUWky','items','1187990QWHsxv','replace','set','ck-hidden','AI_','8nBgIyM','Try\x20again','replaceButton','ck-ai-form__toolbar','insert','REPLACE','Insert\x20below','2586393XWkPgN','bind','mainAction','_createButton','2885876zCMgcl','409278kPwjZp','1179723ROIjDm','toUpperCase','ck-button-action','_CONTENT','isVisible','Stop','stopButton','bindTemplate','2308275VsuUzG'];_0x1a90=function(){return _0x28e41a;};return _0x1a90();}function _0x40f9(_0x4efcb5,_0x2230eb){const _0x1a90dc=_0x1a90();return _0x40f9=function(_0x40f978,_0x187473){_0x40f978=_0x40f978-0xfe;let _0x1bb80c=_0x1a90dc[_0x40f978];return _0x1bb80c;},_0x40f9(_0x4efcb5,_0x2230eb);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x56be7c(0x109),'INSERT':_0x56be7c(0x111)};export default class Tt extends _0x2f2e7c{constructor(_0x129334){const _0x40a6d8=_0x56be7c;super(_0x129334),this[_0x40a6d8(0x10a)](_0x40a6d8(0x11e),!0x1),this[_0x40a6d8(0x10a)](_0x40a6d8(0x116),AIFormToolbarViewMainActionLabel[_0x40a6d8(0x112)]),this[_0x40a6d8(0x10f)]=this[_0x40a6d8(0x117)]('',_0x40a6d8(0x11c)),this[_0x40a6d8(0x10f)][_0x40a6d8(0x115)](_0x40a6d8(0x100))['to'](this,_0x40a6d8(0x116),_0x902001=>_0x491aa2(_0x129334,_0x40a6d8(0x10c)+_0x902001[_0x40a6d8(0x11b)]()+_0x40a6d8(0x11d))),this[_0x40a6d8(0x105)]=this[_0x40a6d8(0x117)](_0x491aa2(_0x129334,_0x40a6d8(0x113))),this[_0x40a6d8(0x103)]=this[_0x40a6d8(0x117)](_0x491aa2(_0x129334,_0x40a6d8(0x10e))),this[_0x40a6d8(0x120)]=this[_0x40a6d8(0x117)](_0x491aa2(_0x129334,_0x40a6d8(0x11f)));const _0x153367=this[_0x40a6d8(0x121)];this[_0x40a6d8(0x102)]({'attributes':{'class':[_0x40a6d8(0x110),_0x153367['if'](_0x40a6d8(0x11e),_0x40a6d8(0x10b),_0x2a857c=>!_0x2a857c)]}}),this[_0x40a6d8(0x107)][_0x40a6d8(0x101)]([this[_0x40a6d8(0x10f)],this[_0x40a6d8(0x105)],this[_0x40a6d8(0x103)],this[_0x40a6d8(0x120)]]);}[_0x56be7c(0x117)](_0x50a008,_0x45fac8){const _0x4f77d1=_0x56be7c,_0x44a924=new _0x2995b9(this[_0x4f77d1(0xfe)]);return _0x44a924[_0x4f77d1(0x10a)]({'label':_0x50a008,'class':_0x45fac8||'','isVisible':!0x0,'withText':!0x0}),_0x44a924;}}
23
+ function _0xe9cf(_0x474680,_0x2b0257){const _0x557f91=_0x557f();return _0xe9cf=function(_0xe9cf25,_0x4362c8){_0xe9cf25=_0xe9cf25-0xe6;let _0x46c3f9=_0x557f91[_0xe9cf25];return _0x46c3f9;},_0xe9cf(_0x474680,_0x2b0257);}const _0x182d4e=_0xe9cf;function _0x557f(){const _0x219da7=['stopButton','4609EEQjDM','Try\x20again','2466699UuZtmd','replaceButton','items','4RDzEYY','locale','label','Stop','10NLTWoz','4nrKxAl','bind','ck-button-action','Insert\x20below','ck-hidden','ck-ai-form__toolbar','AI_','419708sxjFyL','4981664dgETAb','4585670DeYjMP','142116HljNrW','bindTemplate','addMany','replace','tryAgainButton','42936MjcwyA','mainAction','REPLACE','insert','_createButton','insertButton','isVisible','toUpperCase','4942431SCTYfc','175PRTwPf','_CONTENT','extendTemplate','set'];_0x557f=function(){return _0x219da7;};return _0x557f();}(function(_0x4d4aeb,_0x1d9662){const _0x4724c1=_0xe9cf,_0x10af68=_0x4d4aeb();while(!![]){try{const _0x424808=-parseInt(_0x4724c1(0x107))/0x1*(-parseInt(_0x4724c1(0xec))/0x2)+-parseInt(_0x4724c1(0x104))/0x3*(-parseInt(_0x4724c1(0x10c))/0x4)+parseInt(_0x4724c1(0xee))/0x5+parseInt(_0x4724c1(0xef))/0x6*(-parseInt(_0x4724c1(0xfd))/0x7)+parseInt(_0x4724c1(0xed))/0x8+-parseInt(_0x4724c1(0xfc))/0x9*(parseInt(_0x4724c1(0x10b))/0xa)+-parseInt(_0x4724c1(0x102))/0xb*(parseInt(_0x4724c1(0xf4))/0xc);if(_0x424808===_0x1d9662)break;else _0x10af68['push'](_0x10af68['shift']());}catch(_0xa1ec73){_0x10af68['push'](_0x10af68['shift']());}}}(_0x557f,0x88f68));import{ToolbarView as _0x5742bb,ButtonView as _0x564b25}from'ckeditor5/src/ui.js';import{getTranslation as _0x144c76}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x182d4e(0xf2),'INSERT':_0x182d4e(0xf7)};export default class Tt extends _0x5742bb{constructor(_0xc2e71a){const _0xb598d=_0x182d4e;super(_0xc2e71a),this[_0xb598d(0x100)](_0xb598d(0xfa),!0x1),this[_0xb598d(0x100)](_0xb598d(0xf5),AIFormToolbarViewMainActionLabel[_0xb598d(0xf6)]),this[_0xb598d(0x105)]=this[_0xb598d(0xf8)]('',_0xb598d(0xe7)),this[_0xb598d(0x105)][_0xb598d(0xe6)](_0xb598d(0x109))['to'](this,_0xb598d(0xf5),_0x3e4cf1=>_0x144c76(_0xc2e71a,_0xb598d(0xeb)+_0x3e4cf1[_0xb598d(0xfb)]()+_0xb598d(0xfe))),this[_0xb598d(0xf9)]=this[_0xb598d(0xf8)](_0x144c76(_0xc2e71a,_0xb598d(0xe8))),this[_0xb598d(0xf3)]=this[_0xb598d(0xf8)](_0x144c76(_0xc2e71a,_0xb598d(0x103))),this[_0xb598d(0x101)]=this[_0xb598d(0xf8)](_0x144c76(_0xc2e71a,_0xb598d(0x10a)));const _0xd9d216=this[_0xb598d(0xf0)];this[_0xb598d(0xff)]({'attributes':{'class':[_0xb598d(0xea),_0xd9d216['if'](_0xb598d(0xfa),_0xb598d(0xe9),_0xf9de73=>!_0xf9de73)]}}),this[_0xb598d(0x106)][_0xb598d(0xf1)]([this[_0xb598d(0x105)],this[_0xb598d(0xf9)],this[_0xb598d(0xf3)],this[_0xb598d(0x101)]]);}[_0x182d4e(0xf8)](_0x434a7c,_0x57089c){const _0x3bb2d1=_0x182d4e,_0xfba048=new _0x564b25(this[_0x3bb2d1(0x108)]);return _0xfba048[_0x3bb2d1(0x100)]({'label':_0x434a7c,'class':_0x57089c||'','isVisible':!0x0,'withText':!0x0}),_0xfba048;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18e3c3=_0x3b98;(function(_0x2a8b34,_0x28fe7a){const _0xac9ee3=_0x3b98,_0x49ec0f=_0x2a8b34();while(!![]){try{const _0x398d7c=parseInt(_0xac9ee3(0x190))/0x1+parseInt(_0xac9ee3(0x19e))/0x2+-parseInt(_0xac9ee3(0x17e))/0x3*(parseInt(_0xac9ee3(0x1a5))/0x4)+-parseInt(_0xac9ee3(0x1ab))/0x5*(-parseInt(_0xac9ee3(0x184))/0x6)+-parseInt(_0xac9ee3(0x1b1))/0x7+parseInt(_0xac9ee3(0x1a4))/0x8*(-parseInt(_0xac9ee3(0x15d))/0x9)+parseInt(_0xac9ee3(0x16a))/0xa*(parseInt(_0xac9ee3(0x199))/0xb);if(_0x398d7c===_0x28fe7a)break;else _0x49ec0f['push'](_0x49ec0f['shift']());}catch(_0x10717d){_0x49ec0f['push'](_0x49ec0f['shift']());}}}(_0x38df,0x7a6e7));import{FocusTracker as _0x2c0f7e,KeystrokeHandler as _0x45ec56}from'ckeditor5/src/utils.js';import{View as _0x41764e,FocusCycler as _0x277524,createLabeledTextarea as _0x111b52}from'ckeditor5/src/ui.js';import _0x4bb4ac,{AIFormToolbarViewMainActionLabel as _0x295ac9}from'./aiformtoolbarview.js';import _0x335810 from'./aiformcontentarea.js';import _0x2f5250 from'./aiformerrorview.js';import _0x1a3459 from'./aiformpromptview.js';import _0x4c1d63 from'./aihistorylistview.js';import _0x3351ff from'./aihistorylistitemview.js';import _0x21b4f5 from'./prompthistory.js';function _0x38df(){const _0x5acd9b=['startProcessing','bindTo','bindTemplate','1557734bbQpvK','add','historyGroupView','queryView','delegate','insertButton','8tOoYDo','36MJPlRN','toolbar','isProcessing','stopProcessing','createCollection','insertContentBelow','2725KnepJQ','focusTracker','focus','clearHistory','focusPrevious','reset','4095980CcFOgH','fieldView','Ask\x20AI\x20to\x20edit\x20or\x20generate','replaceContent','isEnabled','tryAgainButton','5873697bkSugA','render','Empty\x20history','_createHistoryView','div','promptView','_createPromptView','ck-hidden','submit','execute','stopButton','clear','AI_ERROR_FAILED','120jGvYad','bind','handleError','isError','search','replaceButton','_promptHistory','Ask\x20AI\x20to\x20improve\x20generated\x20text','label','isVisible','setTemplate','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','tab','listenTo','keystrokes','ck-ai-form-content','stop','REPLACE','high','_createToolbar','14907sssFEp','backwardCycle','element','mainAction','copyButtonView','shift\x20+\x20tab','2130azXfpa','text','focusCycler','value','set','items','trim','ck-ai-form','focusLast','focusNext','errorView','forwardCycle','707003hDRdyc','fire','submitPrompt','tryAgainEvent','finishProcessing','_focusables','prompt','locale','contentArea','95909mggyHA','focusFirst'];_0x38df=function(){return _0x5acd9b;};return _0x38df();}function _0x3b98(_0x21dd6c,_0x4d4368){const _0x38df7c=_0x38df();return _0x3b98=function(_0x3b982c,_0x14a925){_0x3b982c=_0x3b982c-0x15c;let _0x5ad503=_0x38df7c[_0x3b982c];return _0x5ad503;},_0x3b98(_0x21dd6c,_0x4d4368);}import{getTranslation as _0x28c9c0}from'../../utils/common-translations.js';import{escape as _0x10688a}from'lodash-es';export default class x extends _0x41764e{constructor(_0x10d295,_0x3896fa,_0x3d16c0=''){const _0x58c27a=_0x3b98;super(_0x10d295),this[_0x58c27a(0x188)](_0x58c27a(0x1b5),!0x0),this[_0x58c27a(0x188)](_0x58c27a(0x1a7),!0x1),this[_0x58c27a(0x188)](_0x58c27a(0x196),''),this[_0x58c27a(0x188)](_0x58c27a(0x187),''),this[_0x58c27a(0x188)](_0x58c27a(0x16d),!0x1),this[_0x58c27a(0x188)](_0x58c27a(0x181),_0x295ac9[_0x58c27a(0x17b)]),this[_0x58c27a(0x170)]=new _0x21b4f5(),this[_0x58c27a(0x18e)]=new _0x2f5250(_0x10d295),this[_0x58c27a(0x198)]=new _0x335810(_0x10d295,_0x3d16c0),this[_0x58c27a(0x198)][_0x58c27a(0x16b)](_0x58c27a(0x1a7))['to'](this),this[_0x58c27a(0x198)][_0x58c27a(0x16b)](_0x58c27a(0x187))['to'](this),this[_0x58c27a(0x1a6)]=this[_0x58c27a(0x17d)](),this[_0x58c27a(0x1a6)][_0x58c27a(0x16b)](_0x58c27a(0x181))['to'](this),this[_0x58c27a(0x162)]=this[_0x58c27a(0x163)](),this[_0x58c27a(0x1ac)]=new _0x2c0f7e(),this[_0x58c27a(0x178)]=new _0x45ec56(),this[_0x58c27a(0x195)]=this[_0x58c27a(0x1a9)]([this[_0x58c27a(0x198)],this[_0x58c27a(0x198)][_0x58c27a(0x182)],this[_0x58c27a(0x1a6)],this[_0x58c27a(0x162)]]),this[_0x58c27a(0x186)]=new _0x277524({'focusables':this[_0x58c27a(0x195)],'focusTracker':this[_0x58c27a(0x1ac)],'keystrokeHandler':this[_0x58c27a(0x178)],'actions':{'focusPrevious':_0x58c27a(0x183),'focusNext':_0x58c27a(0x176)}}),this[_0x58c27a(0x162)][_0x58c27a(0x186)]['on'](_0x58c27a(0x18f),_0x4b30e5=>{const _0x102972=_0x58c27a;this[_0x102972(0x186)][_0x102972(0x18d)](),_0x4b30e5[_0x102972(0x17a)]();}),this[_0x58c27a(0x162)][_0x58c27a(0x186)]['on'](_0x58c27a(0x17f),_0x3fe43b=>{const _0x1ffba2=_0x58c27a;this[_0x1ffba2(0x186)][_0x1ffba2(0x1af)](),_0x3fe43b[_0x1ffba2(0x17a)]();}),this[_0x58c27a(0x162)][_0x58c27a(0x1a1)][_0x58c27a(0x1b2)][_0x58c27a(0x16b)](_0x58c27a(0x187))['to'](this,_0x58c27a(0x196));const _0xc19e40=this[_0x58c27a(0x19d)];this[_0x58c27a(0x174)]({'tag':_0x58c27a(0x161),'attributes':{'class':['ck',_0x58c27a(0x18b),_0x3896fa],'tabindex':'-1'},'children':[{'tag':_0x58c27a(0x161),'attributes':{'class':['ck',_0x58c27a(0x179)]},'children':[{'tag':_0x58c27a(0x161),'attributes':{'class':[_0xc19e40['if'](_0x58c27a(0x16d),_0x58c27a(0x164),_0x5e7b28=>!_0x5e7b28)]},'children':[this[_0x58c27a(0x18e)]]},this[_0x58c27a(0x198)],this[_0x58c27a(0x1a6)],this[_0x58c27a(0x162)]]}]});}[_0x18e3c3(0x15e)](){const _0x51fed7=_0x18e3c3;super[_0x51fed7(0x15e)](),this[_0x51fed7(0x1ac)][_0x51fed7(0x19f)](this[_0x51fed7(0x198)][_0x51fed7(0x180)]),this[_0x51fed7(0x1ac)][_0x51fed7(0x19f)](this[_0x51fed7(0x198)][_0x51fed7(0x182)][_0x51fed7(0x180)]),this[_0x51fed7(0x1ac)][_0x51fed7(0x19f)](this[_0x51fed7(0x1a6)][_0x51fed7(0x180)]),this[_0x51fed7(0x1ac)][_0x51fed7(0x19f)](this[_0x51fed7(0x162)][_0x51fed7(0x180)]),this[_0x51fed7(0x178)][_0x51fed7(0x177)](this[_0x51fed7(0x180)]);}[_0x18e3c3(0x1ad)](_0x398f3d=0x1){const _0x44a21d=_0x18e3c3;-0x1===_0x398f3d?this[_0x44a21d(0x186)][_0x44a21d(0x18c)]():this[_0x44a21d(0x186)][_0x44a21d(0x19a)]();}[_0x18e3c3(0x1b0)](){const _0x319647=_0x18e3c3;this[_0x319647(0x196)]='',this[_0x319647(0x187)]='',this[_0x319647(0x16d)]=!0x1,this[_0x319647(0x162)][_0x319647(0x1b0)](),this[_0x319647(0x198)][_0x319647(0x173)]=!0x1,this[_0x319647(0x1a6)][_0x319647(0x173)]=!0x1;}[_0x18e3c3(0x163)](){const _0x50fb76=_0x18e3c3,_0xd42f39=this[_0x50fb76(0x197)],_0x1c25df=new _0x1a3459(_0xd42f39,{'queryView':{'label':_0x28c9c0(_0xd42f39,_0x50fb76(0x1b3)),'creator':_0x111b52,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x28c9c0(_0xd42f39,_0x50fb76(0x15f)),'secondary':_0x28c9c0(_0xd42f39,_0x50fb76(0x175))}}},'filteredView':this[_0x50fb76(0x160)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1c25df[_0x50fb76(0x16b)](_0x50fb76(0x1b5))['to'](this,_0x50fb76(0x1b5),this,_0x50fb76(0x1a7),(_0x51725a,_0x35db7a)=>_0x51725a&&!_0x35db7a),this[_0x50fb76(0x177)](_0x1c25df,_0x50fb76(0x165),(_0x18f951,_0x2f1252)=>{const _0x3dae32=_0x50fb76;this[_0x3dae32(0x196)]=_0x2f1252;const _0x4f9cb6=_0x10688a(_0x2f1252);this[_0x3dae32(0x191)](_0x3dae32(0x192),_0x4f9cb6),_0x2f1252[_0x3dae32(0x18a)]()&&this[_0x3dae32(0x170)][_0x3dae32(0x19f)]({'prompt':_0x4f9cb6},0x0);},{'priority':_0x50fb76(0x17c)}),_0x1c25df;}[_0x18e3c3(0x160)](){const _0x16a0dc=_0x18e3c3,_0x549e21=new _0x4c1d63(this[_0x16a0dc(0x197)]);return _0x549e21[_0x16a0dc(0x1a0)][_0x16a0dc(0x189)][_0x16a0dc(0x19c)](this[_0x16a0dc(0x170)])['as'](_0x3351ff),_0x549e21['on'](_0x16a0dc(0x1ae),()=>{const _0x1afbc6=_0x16a0dc;this[_0x1afbc6(0x170)][_0x1afbc6(0x168)](),this[_0x1afbc6(0x162)][_0x1afbc6(0x16e)](''),this[_0x1afbc6(0x162)][_0x1afbc6(0x1ad)]();}),_0x549e21;}[_0x18e3c3(0x17d)](){const _0x5d23f1=_0x18e3c3,_0x2feb65=new _0x4bb4ac(this[_0x5d23f1(0x197)]);return _0x2feb65[_0x5d23f1(0x16f)][_0x5d23f1(0x16b)](_0x5d23f1(0x1b5))['to'](this,_0x5d23f1(0x1b5),this,_0x5d23f1(0x1a7),this,_0x5d23f1(0x187),(_0x31e4c7,_0x12aa5e,_0x167abb)=>_0x31e4c7&&!_0x12aa5e&&!!_0x167abb),_0x2feb65[_0x5d23f1(0x16f)][_0x5d23f1(0x1a2)](_0x5d23f1(0x166))['to'](this,_0x5d23f1(0x1b4)),_0x2feb65[_0x5d23f1(0x1a3)][_0x5d23f1(0x16b)](_0x5d23f1(0x1b5))['to'](this,_0x5d23f1(0x1b5),this,_0x5d23f1(0x1a7),this,_0x5d23f1(0x187),(_0x4278f2,_0x46ea82,_0x5f266f)=>_0x4278f2&&!_0x46ea82&&!!_0x5f266f),_0x2feb65[_0x5d23f1(0x1a3)][_0x5d23f1(0x1a2)](_0x5d23f1(0x166))['to'](this,_0x5d23f1(0x1aa)),_0x2feb65[_0x5d23f1(0x15c)][_0x5d23f1(0x16b)](_0x5d23f1(0x1b5))['to'](this,_0x5d23f1(0x1b5),this,_0x5d23f1(0x1a7),(_0x36bc5a,_0x36bae3)=>_0x36bc5a&&!_0x36bae3),_0x2feb65[_0x5d23f1(0x15c)][_0x5d23f1(0x1a2)](_0x5d23f1(0x166))['to'](this,_0x5d23f1(0x193)),_0x2feb65[_0x5d23f1(0x167)][_0x5d23f1(0x16b)](_0x5d23f1(0x1b5))['to'](this,_0x5d23f1(0x1a7)),_0x2feb65[_0x5d23f1(0x167)][_0x5d23f1(0x1a2)](_0x5d23f1(0x166))['to'](this,_0x5d23f1(0x1a8)),_0x2feb65;}[_0x18e3c3(0x19b)](){const _0x506b71=_0x18e3c3;this[_0x506b71(0x187)]='',this[_0x506b71(0x16d)]=!0x1,this[_0x506b71(0x1a7)]=!0x0,this[_0x506b71(0x198)][_0x506b71(0x173)]=!0x0,this[_0x506b71(0x1a6)][_0x506b71(0x173)]=!0x0,this[_0x506b71(0x198)][_0x506b71(0x1ad)]();}[_0x18e3c3(0x194)](){const _0x18804d=_0x18e3c3,_0x12c97c=this[_0x18804d(0x197)];this[_0x18804d(0x1a7)]=!0x1,this[_0x18804d(0x196)]='',this[_0x18804d(0x162)][_0x18804d(0x1b0)](),this[_0x18804d(0x187)]&&(this[_0x18804d(0x162)][_0x18804d(0x1a1)][_0x18804d(0x172)]=_0x28c9c0(_0x12c97c,_0x18804d(0x171)));}[_0x18e3c3(0x16c)](_0x20d80a){const _0x177b3f=_0x18e3c3,_0x460490=this[_0x177b3f(0x197)];this[_0x177b3f(0x194)](),this[_0x177b3f(0x16d)]=!0x0,this[_0x177b3f(0x18e)][_0x177b3f(0x185)]=_0x20d80a||_0x28c9c0(_0x460490,_0x177b3f(0x169)),this[_0x177b3f(0x187)]||(this[_0x177b3f(0x198)][_0x177b3f(0x173)]=!0x1);}}
23
+ const _0x5eff06=_0x5ae8;(function(_0xb06341,_0x1b492f){const _0x48460b=_0x5ae8,_0x136b0c=_0xb06341();while(!![]){try{const _0x4c9cd5=-parseInt(_0x48460b(0x186))/0x1+-parseInt(_0x48460b(0x196))/0x2+-parseInt(_0x48460b(0x1b1))/0x3+-parseInt(_0x48460b(0x1a2))/0x4*(-parseInt(_0x48460b(0x197))/0x5)+-parseInt(_0x48460b(0x19e))/0x6*(parseInt(_0x48460b(0x184))/0x7)+-parseInt(_0x48460b(0x189))/0x8+parseInt(_0x48460b(0x188))/0x9*(parseInt(_0x48460b(0x191))/0xa);if(_0x4c9cd5===_0x1b492f)break;else _0x136b0c['push'](_0x136b0c['shift']());}catch(_0x12c22e){_0x136b0c['push'](_0x136b0c['shift']());}}}(_0x5343,0x845bb));import{FocusTracker as _0x1c4fae,KeystrokeHandler as _0x124aee}from'ckeditor5/src/utils.js';import{View as _0x2e0f08,FocusCycler as _0x12ff45,createLabeledTextarea as _0x5ca0a3}from'ckeditor5/src/ui.js';import _0x1b16ff,{AIFormToolbarViewMainActionLabel as _0x8c1bc8}from'./aiformtoolbarview.js';import _0x5ada49 from'./aiformcontentarea.js';import _0x190ee3 from'./aiformerrorview.js';import _0x2a7a8d from'./aiformpromptview.js';import _0x3a87b0 from'./aihistorylistview.js';import _0x24af68 from'./aihistorylistitemview.js';function _0x5ae8(_0x4020a0,_0x5ba37c){const _0x534389=_0x5343();return _0x5ae8=function(_0x5ae868,_0x319256){_0x5ae868=_0x5ae868-0x17c;let _0x36d561=_0x534389[_0x5ae868];return _0x36d561;},_0x5ae8(_0x4020a0,_0x5ba37c);}function _0x5343(){const _0x967f5=['tab','search','items','bind','handleError','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','fieldView','Ask\x20AI\x20to\x20edit\x20or\x20generate','promptView','reset','focusFirst','div','focusCycler','errorView','isVisible','startProcessing','tryAgainButton','setTemplate','label','queryView','stopButton','text','add','value','locale','isProcessing','contentArea','tryAgainEvent','isError','trim','_promptHistory','isEnabled','stopProcessing','prompt','15603TIZfKS','ck-ai-form-content','415095EJwFLl','render','9cmeESJ','1014400QxicxE','focusPrevious','bindTemplate','submitPrompt','mainAction','shift\x20+\x20tab','replaceContent','execute','15980360eLGSRn','stop','insertContentBelow','set','delegate','1417988oNOzow','5UUHabR','REPLACE','copyButtonView','focusNext','clear','focus','fire','1518jdIvmm','toolbar','forwardCycle','AI_ERROR_FAILED','3197024ATAaFz','focusTracker','insertButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','keystrokes','focusLast','_createToolbar','Empty\x20history','clearHistory','high','createCollection','ck-hidden','element','_createPromptView','bindTo','120981MdWcHg','ck-ai-form','_focusables','submit','historyGroupView','_createHistoryView','listenTo','replaceButton','finishProcessing','backwardCycle'];_0x5343=function(){return _0x967f5;};return _0x5343();}import _0x359a05 from'./prompthistory.js';import{getTranslation as _0x34c13d}from'../../utils/common-translations.js';import{escape as _0x15a56d}from'lodash-es';export default class x extends _0x2e0f08{constructor(_0xcb2ad2,_0x2f0a3c,_0x50e94c=''){const _0x376e3a=_0x5ae8;super(_0xcb2ad2),this[_0x376e3a(0x194)](_0x376e3a(0x181),!0x0),this[_0x376e3a(0x194)](_0x376e3a(0x1d4),!0x1),this[_0x376e3a(0x194)](_0x376e3a(0x183),''),this[_0x376e3a(0x194)](_0x376e3a(0x1d2),''),this[_0x376e3a(0x194)](_0x376e3a(0x17e),!0x1),this[_0x376e3a(0x194)](_0x376e3a(0x18d),_0x8c1bc8[_0x376e3a(0x198)]),this[_0x376e3a(0x180)]=new _0x359a05(),this[_0x376e3a(0x1c8)]=new _0x190ee3(_0xcb2ad2),this[_0x376e3a(0x17c)]=new _0x5ada49(_0xcb2ad2,_0x50e94c),this[_0x376e3a(0x17c)][_0x376e3a(0x1be)](_0x376e3a(0x1d4))['to'](this),this[_0x376e3a(0x17c)][_0x376e3a(0x1be)](_0x376e3a(0x1d2))['to'](this),this[_0x376e3a(0x19f)]=this[_0x376e3a(0x1a8)](),this[_0x376e3a(0x19f)][_0x376e3a(0x1be)](_0x376e3a(0x18d))['to'](this),this[_0x376e3a(0x1c3)]=this[_0x376e3a(0x1af)](),this[_0x376e3a(0x1a3)]=new _0x1c4fae(),this[_0x376e3a(0x1a6)]=new _0x124aee(),this[_0x376e3a(0x1b3)]=this[_0x376e3a(0x1ac)]([this[_0x376e3a(0x17c)],this[_0x376e3a(0x17c)][_0x376e3a(0x199)],this[_0x376e3a(0x19f)],this[_0x376e3a(0x1c3)]]),this[_0x376e3a(0x1c7)]=new _0x12ff45({'focusables':this[_0x376e3a(0x1b3)],'focusTracker':this[_0x376e3a(0x1a3)],'keystrokeHandler':this[_0x376e3a(0x1a6)],'actions':{'focusPrevious':_0x376e3a(0x18e),'focusNext':_0x376e3a(0x1bb)}}),this[_0x376e3a(0x1c3)][_0x376e3a(0x1c7)]['on'](_0x376e3a(0x1a0),_0x43212c=>{const _0x5e8907=_0x376e3a;this[_0x5e8907(0x1c7)][_0x5e8907(0x19a)](),_0x43212c[_0x5e8907(0x192)]();}),this[_0x376e3a(0x1c3)][_0x376e3a(0x1c7)]['on'](_0x376e3a(0x1ba),_0x464798=>{const _0x45b6b5=_0x376e3a;this[_0x45b6b5(0x1c7)][_0x45b6b5(0x18a)](),_0x464798[_0x45b6b5(0x192)]();}),this[_0x376e3a(0x1c3)][_0x376e3a(0x1ce)][_0x376e3a(0x1c1)][_0x376e3a(0x1be)](_0x376e3a(0x1d2))['to'](this,_0x376e3a(0x183));const _0x5d8cf5=this[_0x376e3a(0x18b)];this[_0x376e3a(0x1cc)]({'tag':_0x376e3a(0x1c6),'attributes':{'class':['ck',_0x376e3a(0x1b2),_0x2f0a3c],'tabindex':'-1'},'children':[{'tag':_0x376e3a(0x1c6),'attributes':{'class':['ck',_0x376e3a(0x185)]},'children':[{'tag':_0x376e3a(0x1c6),'attributes':{'class':[_0x5d8cf5['if'](_0x376e3a(0x17e),_0x376e3a(0x1ad),_0x52cd26=>!_0x52cd26)]},'children':[this[_0x376e3a(0x1c8)]]},this[_0x376e3a(0x17c)],this[_0x376e3a(0x19f)],this[_0x376e3a(0x1c3)]]}]});}[_0x5eff06(0x187)](){const _0x28e1d0=_0x5eff06;super[_0x28e1d0(0x187)](),this[_0x28e1d0(0x1a3)][_0x28e1d0(0x1d1)](this[_0x28e1d0(0x17c)][_0x28e1d0(0x1ae)]),this[_0x28e1d0(0x1a3)][_0x28e1d0(0x1d1)](this[_0x28e1d0(0x17c)][_0x28e1d0(0x199)][_0x28e1d0(0x1ae)]),this[_0x28e1d0(0x1a3)][_0x28e1d0(0x1d1)](this[_0x28e1d0(0x19f)][_0x28e1d0(0x1ae)]),this[_0x28e1d0(0x1a3)][_0x28e1d0(0x1d1)](this[_0x28e1d0(0x1c3)][_0x28e1d0(0x1ae)]),this[_0x28e1d0(0x1a6)][_0x28e1d0(0x1b7)](this[_0x28e1d0(0x1ae)]);}[_0x5eff06(0x19c)](_0x2b72f8=0x1){const _0x392e76=_0x5eff06;-0x1===_0x2b72f8?this[_0x392e76(0x1c7)][_0x392e76(0x1a7)]():this[_0x392e76(0x1c7)][_0x392e76(0x1c5)]();}[_0x5eff06(0x1c4)](){const _0x146344=_0x5eff06;this[_0x146344(0x183)]='',this[_0x146344(0x1d2)]='',this[_0x146344(0x17e)]=!0x1,this[_0x146344(0x1c3)][_0x146344(0x1c4)](),this[_0x146344(0x17c)][_0x146344(0x1c9)]=!0x1,this[_0x146344(0x19f)][_0x146344(0x1c9)]=!0x1;}[_0x5eff06(0x1af)](){const _0x12534e=_0x5eff06,_0x1585cd=this[_0x12534e(0x1d3)],_0xc381aa=new _0x2a7a8d(_0x1585cd,{'queryView':{'label':_0x34c13d(_0x1585cd,_0x12534e(0x1c2)),'creator':_0x5ca0a3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x34c13d(_0x1585cd,_0x12534e(0x1a9)),'secondary':_0x34c13d(_0x1585cd,_0x12534e(0x1c0))}}},'filteredView':this[_0x12534e(0x1b6)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xc381aa[_0x12534e(0x1be)](_0x12534e(0x181))['to'](this,_0x12534e(0x181),this,_0x12534e(0x1d4),(_0x563e08,_0x457d0b)=>_0x563e08&&!_0x457d0b),this[_0x12534e(0x1b7)](_0xc381aa,_0x12534e(0x1b4),(_0xcad62a,_0x1ea3fa)=>{const _0x216a88=_0x12534e;this[_0x216a88(0x183)]=_0x1ea3fa;const _0x3ebdd4=_0x15a56d(_0x1ea3fa);this[_0x216a88(0x19d)](_0x216a88(0x18c),_0x3ebdd4),_0x1ea3fa[_0x216a88(0x17f)]()&&this[_0x216a88(0x180)][_0x216a88(0x1d1)]({'prompt':_0x3ebdd4},0x0);},{'priority':_0x12534e(0x1ab)}),_0xc381aa;}[_0x5eff06(0x1b6)](){const _0x401c70=_0x5eff06,_0x379a6d=new _0x3a87b0(this[_0x401c70(0x1d3)]);return _0x379a6d[_0x401c70(0x1b5)][_0x401c70(0x1bd)][_0x401c70(0x1b0)](this[_0x401c70(0x180)])['as'](_0x24af68),_0x379a6d['on'](_0x401c70(0x1aa),()=>{const _0x48904e=_0x401c70;this[_0x48904e(0x180)][_0x48904e(0x19b)](),this[_0x48904e(0x1c3)][_0x48904e(0x1bc)](''),this[_0x48904e(0x1c3)][_0x48904e(0x19c)]();}),_0x379a6d;}[_0x5eff06(0x1a8)](){const _0x130f86=_0x5eff06,_0x571de7=new _0x1b16ff(this[_0x130f86(0x1d3)]);return _0x571de7[_0x130f86(0x1b8)][_0x130f86(0x1be)](_0x130f86(0x181))['to'](this,_0x130f86(0x181),this,_0x130f86(0x1d4),this,_0x130f86(0x1d2),(_0x45ac55,_0x537494,_0x53b69f)=>_0x45ac55&&!_0x537494&&!!_0x53b69f),_0x571de7[_0x130f86(0x1b8)][_0x130f86(0x195)](_0x130f86(0x190))['to'](this,_0x130f86(0x18f)),_0x571de7[_0x130f86(0x1a4)][_0x130f86(0x1be)](_0x130f86(0x181))['to'](this,_0x130f86(0x181),this,_0x130f86(0x1d4),this,_0x130f86(0x1d2),(_0x1902cd,_0x4bac12,_0x4a9814)=>_0x1902cd&&!_0x4bac12&&!!_0x4a9814),_0x571de7[_0x130f86(0x1a4)][_0x130f86(0x195)](_0x130f86(0x190))['to'](this,_0x130f86(0x193)),_0x571de7[_0x130f86(0x1cb)][_0x130f86(0x1be)](_0x130f86(0x181))['to'](this,_0x130f86(0x181),this,_0x130f86(0x1d4),(_0x5b098a,_0x40f1c4)=>_0x5b098a&&!_0x40f1c4),_0x571de7[_0x130f86(0x1cb)][_0x130f86(0x195)](_0x130f86(0x190))['to'](this,_0x130f86(0x17d)),_0x571de7[_0x130f86(0x1cf)][_0x130f86(0x1be)](_0x130f86(0x181))['to'](this,_0x130f86(0x1d4)),_0x571de7[_0x130f86(0x1cf)][_0x130f86(0x195)](_0x130f86(0x190))['to'](this,_0x130f86(0x182)),_0x571de7;}[_0x5eff06(0x1ca)](){const _0x3d350c=_0x5eff06;this[_0x3d350c(0x1d2)]='',this[_0x3d350c(0x17e)]=!0x1,this[_0x3d350c(0x1d4)]=!0x0,this[_0x3d350c(0x17c)][_0x3d350c(0x1c9)]=!0x0,this[_0x3d350c(0x19f)][_0x3d350c(0x1c9)]=!0x0,this[_0x3d350c(0x17c)][_0x3d350c(0x19c)]();}[_0x5eff06(0x1b9)](){const _0x1e7726=_0x5eff06,_0x19dd96=this[_0x1e7726(0x1d3)];this[_0x1e7726(0x1d4)]=!0x1,this[_0x1e7726(0x183)]='',this[_0x1e7726(0x1c3)][_0x1e7726(0x1c4)](),this[_0x1e7726(0x1d2)]&&(this[_0x1e7726(0x1c3)][_0x1e7726(0x1ce)][_0x1e7726(0x1cd)]=_0x34c13d(_0x19dd96,_0x1e7726(0x1a5)));}[_0x5eff06(0x1bf)](_0x232419){const _0x4c7e04=_0x5eff06,_0x2c1734=this[_0x4c7e04(0x1d3)];this[_0x4c7e04(0x1b9)](),this[_0x4c7e04(0x17e)]=!0x0,this[_0x4c7e04(0x1c8)][_0x4c7e04(0x1d0)]=_0x232419||_0x34c13d(_0x2c1734,_0x4c7e04(0x1a1)),this[_0x4c7e04(0x1d2)]||(this[_0x4c7e04(0x17c)][_0x4c7e04(0x1c9)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3f7d(){const _0x17112a=['8979TqZPFW','640202quEHYV','2041818UULzIg','set','2521320vTVPPb','children','27285dJAomz','fire','execute','275958mOOxod','prompt','add','44YAZZQm','7pNUAbp','58PaVYKv','500110GhRwbB','144DczsKT','locale'];_0x3f7d=function(){return _0x17112a;};return _0x3f7d();}(function(_0x3b0d91,_0x5f1e77){const _0x19582b=_0x570d,_0x4c5616=_0x3b0d91();while(!![]){try{const _0x4f96a0=-parseInt(_0x19582b(0x17e))/0x1+parseInt(_0x19582b(0x179))/0x2*(-parseInt(_0x19582b(0x17d))/0x3)+parseInt(_0x19582b(0x181))/0x4+parseInt(_0x19582b(0x183))/0x5+parseInt(_0x19582b(0x17f))/0x6*(-parseInt(_0x19582b(0x178))/0x7)+-parseInt(_0x19582b(0x17b))/0x8*(-parseInt(_0x19582b(0x186))/0x9)+parseInt(_0x19582b(0x17a))/0xa*(parseInt(_0x19582b(0x189))/0xb);if(_0x4f96a0===_0x5f1e77)break;else _0x4c5616['push'](_0x4c5616['shift']());}catch(_0x14cd8c){_0x4c5616['push'](_0x4c5616['shift']());}}}(_0x3f7d,0x4e3bd));import{ListItemView as _0x17e087,ButtonView as _0x4e83fb}from'ckeditor5/src/ui.js';import _0x1a92f0 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x4baab7}from'lodash-es';function _0x570d(_0x348b8a,_0x2b5f70){const _0x3f7d8c=_0x3f7d();return _0x570d=function(_0x570d66,_0x42bee8){_0x570d66=_0x570d66-0x178;let _0x41cf08=_0x3f7d8c[_0x570d66];return _0x41cf08;},_0x570d(_0x348b8a,_0x2b5f70);}export default class hs extends _0x17e087{constructor(_0x15313a){const _0x3f3cee=_0x570d;super();const _0x226c81=new _0x1a92f0(),_0x372b88=new _0x4e83fb(this[_0x3f3cee(0x17c)],_0x226c81);this[_0x3f3cee(0x182)][_0x3f3cee(0x188)](_0x372b88),_0x372b88[_0x3f3cee(0x180)]({'label':_0x15313a[_0x3f3cee(0x187)],'withText':!0x0}),_0x372b88['on'](_0x3f3cee(0x185),()=>{const _0x434aa1=_0x3f3cee;this[_0x434aa1(0x184)](_0x434aa1(0x185),{'value':_0x4baab7(_0x15313a[_0x434aa1(0x187)])});});}}
23
+ function _0x6143(){const _0x5063bd=['children','6136552CqiiEH','8135204oRqpTI','execute','12oYtChN','prompt','110993RfRKNA','12PVCKEK','3LLBWdu','2114790jsIjDS','3165745CvjFvx','add','4103128JnOYnJ','5XItqOS','51568894umIQBk','10YjmBZk','set','locale','9wxXcBF','fire'];_0x6143=function(){return _0x5063bd;};return _0x6143();}(function(_0x4c920a,_0x122534){const _0x2da921=_0x246f,_0x5f1d00=_0x4c920a();while(!![]){try{const _0x10499f=parseInt(_0x2da921(0x1a6))/0x1*(parseInt(_0x2da921(0x1a7))/0x2)+-parseInt(_0x2da921(0x1a8))/0x3*(parseInt(_0x2da921(0x1b5))/0x4)+-parseInt(_0x2da921(0x1ad))/0x5*(parseInt(_0x2da921(0x1a9))/0x6)+-parseInt(_0x2da921(0x1b6))/0x7+parseInt(_0x2da921(0x1ac))/0x8*(-parseInt(_0x2da921(0x1b2))/0x9)+-parseInt(_0x2da921(0x1af))/0xa*(parseInt(_0x2da921(0x1aa))/0xb)+parseInt(_0x2da921(0x1b8))/0xc*(parseInt(_0x2da921(0x1ae))/0xd);if(_0x10499f===_0x122534)break;else _0x5f1d00['push'](_0x5f1d00['shift']());}catch(_0x194eb3){_0x5f1d00['push'](_0x5f1d00['shift']());}}}(_0x6143,0xbf3e7));import{ListItemView as _0x15ba5b,ButtonView as _0x205886}from'ckeditor5/src/ui.js';function _0x246f(_0x2a5d69,_0x4ff9f7){const _0x614351=_0x6143();return _0x246f=function(_0x246f2f,_0xae9ef2){_0x246f2f=_0x246f2f-0x1a5;let _0x531e1e=_0x614351[_0x246f2f];return _0x531e1e;},_0x246f(_0x2a5d69,_0x4ff9f7);}import _0x2bceee from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x5d4257}from'lodash-es';export default class hs extends _0x15ba5b{constructor(_0x48340e){const _0x3cba86=_0x246f;super();const _0x572871=new _0x2bceee(),_0x3e3400=new _0x205886(this[_0x3cba86(0x1b1)],_0x572871);this[_0x3cba86(0x1b4)][_0x3cba86(0x1ab)](_0x3e3400),_0x3e3400[_0x3cba86(0x1b0)]({'label':_0x48340e[_0x3cba86(0x1a5)],'withText':!0x0}),_0x3e3400['on'](_0x3cba86(0x1b7),()=>{const _0x364a13=_0x3cba86;this[_0x364a13(0x1b3)](_0x364a13(0x1b7),{'value':_0x5d4257(_0x48340e[_0x364a13(0x1a5)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x20b6(){const _0x4c1ebe=['fire','locale','add','12kNeVwH','_createClearHistoryButton','1757dQmnsA','items','execute','36333ZNaVRy','5819064xagSDr','label','Clear','826837QXwita','1080945UTRush','length','Prompt\x20history','set','clearHistoryButton','108417BiCGDD','24YTiWiM','delegate','clearHistory','4314WNzqLr','historyGroupView','filter','6271vFOslg','children','50JgslJg','2nEjmWR'];_0x20b6=function(){return _0x4c1ebe;};return _0x20b6();}const _0x28395a=_0x459d;(function(_0x3db7a3,_0x13807c){const _0x54482e=_0x459d,_0x2e82e0=_0x3db7a3();while(!![]){try{const _0x5ce798=-parseInt(_0x54482e(0x16a))/0x1*(-parseInt(_0x54482e(0x16d))/0x2)+parseInt(_0x54482e(0x163))/0x3*(-parseInt(_0x54482e(0x171))/0x4)+parseInt(_0x54482e(0x15e))/0x5+-parseInt(_0x54482e(0x167))/0x6*(-parseInt(_0x54482e(0x173))/0x7)+-parseInt(_0x54482e(0x164))/0x8*(-parseInt(_0x54482e(0x176))/0x9)+parseInt(_0x54482e(0x16c))/0xa*(parseInt(_0x54482e(0x15d))/0xb)+-parseInt(_0x54482e(0x177))/0xc;if(_0x5ce798===_0x13807c)break;else _0x2e82e0['push'](_0x2e82e0['shift']());}catch(_0x4d51b7){_0x2e82e0['push'](_0x2e82e0['shift']());}}}(_0x20b6,0x303a0));import{ListView as _0x5c4154,ListItemGroupView as _0x395150,ButtonView as _0x4e8fcf}from'ckeditor5/src/ui.js';function _0x459d(_0x45faf4,_0x56236b){const _0x20b6a1=_0x20b6();return _0x459d=function(_0x459ddf,_0x56643a){_0x459ddf=_0x459ddf-0x15b;let _0x374305=_0x20b6a1[_0x459ddf];return _0x374305;},_0x459d(_0x45faf4,_0x56236b);}import{getTranslation as _0x487fcf}from'../../utils/common-translations.js';export default class rs extends _0x5c4154{constructor(_0x49a60a){const _0x127041=_0x459d;super(_0x49a60a),this[_0x127041(0x162)]=this[_0x127041(0x172)](),this[_0x127041(0x168)]=new _0x395150(),this[_0x127041(0x168)][_0x127041(0x16b)][_0x127041(0x170)](this[_0x127041(0x162)],0x1),this[_0x127041(0x168)][_0x127041(0x15b)]=_0x487fcf(_0x49a60a,_0x127041(0x160)),this[_0x127041(0x168)][_0x127041(0x174)][_0x127041(0x165)](_0x127041(0x175))['to'](this),this[_0x127041(0x174)][_0x127041(0x170)](this[_0x127041(0x168)]);}[_0x28395a(0x169)](){const _0x4487b7=_0x28395a;let _0x193972=0x0;for(const _0x4d0db2 of this[_0x4487b7(0x174)])_0x193972+=_0x4d0db2[_0x4487b7(0x174)][_0x4487b7(0x15f)];return{'resultsCount':_0x193972,'totalItemsCount':_0x193972};}[_0x28395a(0x172)](){const _0x17f0d3=_0x28395a,_0x4585cf=this[_0x17f0d3(0x16f)],_0x2175a8=new _0x4e8fcf(this[_0x17f0d3(0x16f)]);return _0x2175a8[_0x17f0d3(0x161)]({'label':'('+_0x487fcf(_0x4585cf,_0x17f0d3(0x15c))+')','withText':!0x0}),_0x2175a8['on'](_0x17f0d3(0x175),()=>this[_0x17f0d3(0x16e)](_0x17f0d3(0x166))),_0x2175a8;}}
23
+ const _0x15577f=_0x58cf;(function(_0x3d6b83,_0x52002b){const _0x62e1c1=_0x58cf,_0x28ddcb=_0x3d6b83();while(!![]){try{const _0x11ced5=parseInt(_0x62e1c1(0x8f))/0x1+parseInt(_0x62e1c1(0x96))/0x2+parseInt(_0x62e1c1(0x8c))/0x3+-parseInt(_0x62e1c1(0x9e))/0x4+parseInt(_0x62e1c1(0x9d))/0x5*(parseInt(_0x62e1c1(0x93))/0x6)+parseInt(_0x62e1c1(0x8b))/0x7+-parseInt(_0x62e1c1(0x92))/0x8*(-parseInt(_0x62e1c1(0x88))/0x9);if(_0x11ced5===_0x52002b)break;else _0x28ddcb['push'](_0x28ddcb['shift']());}catch(_0x13eb69){_0x28ddcb['push'](_0x28ddcb['shift']());}}}(_0x1db8,0x19b65));import{ListView as _0x2e5c4b,ListItemGroupView as _0x361846,ButtonView as _0x568145}from'ckeditor5/src/ui.js';function _0x58cf(_0x23ce2c,_0x272358){const _0x1db83c=_0x1db8();return _0x58cf=function(_0x58cf24,_0x1c5666){_0x58cf24=_0x58cf24-0x85;let _0x159cb0=_0x1db83c[_0x58cf24];return _0x159cb0;},_0x58cf(_0x23ce2c,_0x272358);}function _0x1db8(){const _0x5ae119=['set','historyGroupView','items','9kPiPAt','fire','filter','192241KvBxLe','7242adJCMO','clearHistoryButton','execute','41124JjHXks','add','locale','367072OZioFD','6LrkDrP','clearHistory','children','20290BBLGdI','length','_createClearHistoryButton','delegate','label','Clear','Prompt\x20history','884525RRjGSY','794472sCxqWa'];_0x1db8=function(){return _0x5ae119;};return _0x1db8();}import{getTranslation as _0x437d80}from'../../utils/common-translations.js';export default class rs extends _0x2e5c4b{constructor(_0x640f43){const _0x3a84c4=_0x58cf;super(_0x640f43),this[_0x3a84c4(0x8d)]=this[_0x3a84c4(0x98)](),this[_0x3a84c4(0x86)]=new _0x361846(),this[_0x3a84c4(0x86)][_0x3a84c4(0x95)][_0x3a84c4(0x90)](this[_0x3a84c4(0x8d)],0x1),this[_0x3a84c4(0x86)][_0x3a84c4(0x9a)]=_0x437d80(_0x640f43,_0x3a84c4(0x9c)),this[_0x3a84c4(0x86)][_0x3a84c4(0x87)][_0x3a84c4(0x99)](_0x3a84c4(0x8e))['to'](this),this[_0x3a84c4(0x87)][_0x3a84c4(0x90)](this[_0x3a84c4(0x86)]);}[_0x15577f(0x8a)](){const _0x536571=_0x15577f;let _0x4b9bb9=0x0;for(const _0x9db438 of this[_0x536571(0x87)])_0x4b9bb9+=_0x9db438[_0x536571(0x87)][_0x536571(0x97)];return{'resultsCount':_0x4b9bb9,'totalItemsCount':_0x4b9bb9};}[_0x15577f(0x98)](){const _0x5c89fc=_0x15577f,_0x1ebab1=this[_0x5c89fc(0x91)],_0x41d8a8=new _0x568145(this[_0x5c89fc(0x91)]);return _0x41d8a8[_0x5c89fc(0x85)]({'label':'('+_0x437d80(_0x1ebab1,_0x5c89fc(0x9b))+')','withText':!0x0}),_0x41d8a8['on'](_0x5c89fc(0x8e),()=>this[_0x5c89fc(0x89)](_0x5c89fc(0x94))),_0x41d8a8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd037fd=_0x2c43;(function(_0x3a0ce4,_0x28e007){const _0x13297e=_0x2c43,_0x58ed79=_0x3a0ce4();while(!![]){try{const _0x2a4c10=-parseInt(_0x13297e(0x100))/0x1+parseInt(_0x13297e(0xf8))/0x2+-parseInt(_0x13297e(0xf0))/0x3+-parseInt(_0x13297e(0x106))/0x4*(-parseInt(_0x13297e(0xf2))/0x5)+-parseInt(_0x13297e(0xfc))/0x6+-parseInt(_0x13297e(0xfe))/0x7*(parseInt(_0x13297e(0xf5))/0x8)+-parseInt(_0x13297e(0x107))/0x9*(-parseInt(_0x13297e(0x108))/0xa);if(_0x2a4c10===_0x28e007)break;else _0x58ed79['push'](_0x58ed79['shift']());}catch(_0x13e63a){_0x58ed79['push'](_0x58ed79['shift']());}}}(_0x3a87,0x1b11d));import{Collection as _0x29cb99}from'ckeditor5/src/utils.js';const cs=_0xd037fd(0xef);function _0x3a87(){const _0x13287=['remove','15276oGVLAH','900doqYnR','21470TyrkDr','CKEditor/AIFormView/PromptHistory','42270cGYiFb','_saveToSessionStorage','55VCcqnO','last','toLowerCase','13096oxQRDe','add','trim','407386Enmtgd','prompt','setItem','addMany','1158588oaUUXE','length','259BqdrJD','map','81768NMNKHk','getItem','stringify','parse','_loadFromSessionStorage'];_0x3a87=function(){return _0x13287;};return _0x3a87();}function _0x2c43(_0x2fd950,_0x5513b1){const _0x3a870b=_0x3a87();return _0x2c43=function(_0x2c43f8,_0x15da65){_0x2c43f8=_0x2c43f8-0xef;let _0x59771e=_0x3a870b[_0x2c43f8];return _0x59771e;},_0x2c43(_0x2fd950,_0x5513b1);}export default class os extends _0x29cb99{constructor(){const _0x46ddaf=_0xd037fd;super(),this[_0x46ddaf(0x104)](),this['on'](_0x46ddaf(0xf6),(_0x2c0b39,_0xb9b52)=>{const _0x4220a1=_0x46ddaf,_0x3e427c=Ss(_0xb9b52[_0x4220a1(0xf9)]);for(const _0x2a5886 of this)if(_0x2a5886!=_0xb9b52&&Ss(_0x2a5886[_0x4220a1(0xf9)])===_0x3e427c){this[_0x4220a1(0x105)](_0x2a5886);break;}this[_0x4220a1(0xfd)]>0x14&&this[_0x4220a1(0x105)](this[_0x4220a1(0xf3)]),this[_0x4220a1(0xf1)]();}),this['on'](_0x46ddaf(0x105),()=>{const _0x5cdb27=_0x46ddaf;this[_0x5cdb27(0xf1)]();});}[_0xd037fd(0x104)](){const _0xf6eb3b=_0xd037fd,_0x5ccebe=sessionStorage[_0xf6eb3b(0x101)](cs)||'[]';this[_0xf6eb3b(0xfb)](JSON[_0xf6eb3b(0x103)](_0x5ccebe));}[_0xd037fd(0xf1)](){const _0xe32120=_0xd037fd;sessionStorage[_0xe32120(0xfa)](cs,JSON[_0xe32120(0x102)](this[_0xe32120(0xff)](_0x4299e1=>_0x4299e1)));}}function Ss(_0x266584){const _0x5be447=_0xd037fd;return _0x266584[_0x5be447(0xf4)]()[_0x5be447(0xf7)]();}
23
+ function _0x7510(_0x3e5180,_0x4b28de){const _0x2ae3dc=_0x2ae3();return _0x7510=function(_0x75107f,_0x33598e){_0x75107f=_0x75107f-0xde;let _0x28ece4=_0x2ae3dc[_0x75107f];return _0x28ece4;},_0x7510(_0x3e5180,_0x4b28de);}const _0x44256c=_0x7510;(function(_0x239077,_0xdecffc){const _0x54520b=_0x7510,_0x220e2c=_0x239077();while(!![]){try{const _0x127b61=-parseInt(_0x54520b(0xdf))/0x1+parseInt(_0x54520b(0xee))/0x2+parseInt(_0x54520b(0xe7))/0x3*(-parseInt(_0x54520b(0xe6))/0x4)+parseInt(_0x54520b(0xf2))/0x5*(-parseInt(_0x54520b(0xec))/0x6)+parseInt(_0x54520b(0xf3))/0x7*(parseInt(_0x54520b(0xe1))/0x8)+-parseInt(_0x54520b(0xf7))/0x9+parseInt(_0x54520b(0xeb))/0xa*(parseInt(_0x54520b(0xe3))/0xb);if(_0x127b61===_0xdecffc)break;else _0x220e2c['push'](_0x220e2c['shift']());}catch(_0x493e06){_0x220e2c['push'](_0x220e2c['shift']());}}}(_0x2ae3,0xe8ac8));import{Collection as _0xfb6b55}from'ckeditor5/src/utils.js';const cs=_0x44256c(0xe0);export default class os extends _0xfb6b55{constructor(){const _0x472e1b=_0x44256c;super(),this[_0x472e1b(0xf5)](),this['on'](_0x472e1b(0xf4),(_0x37cdb5,_0xd0772b)=>{const _0x3b3a7e=_0x472e1b,_0x128122=Ss(_0xd0772b[_0x3b3a7e(0xef)]);for(const _0x117246 of this)if(_0x117246!=_0xd0772b&&Ss(_0x117246[_0x3b3a7e(0xef)])===_0x128122){this[_0x3b3a7e(0xe4)](_0x117246);break;}this[_0x3b3a7e(0xde)]>0x14&&this[_0x3b3a7e(0xe4)](this[_0x3b3a7e(0xf1)]),this[_0x3b3a7e(0xea)]();}),this['on'](_0x472e1b(0xe4),()=>{const _0x274a93=_0x472e1b;this[_0x274a93(0xea)]();});}[_0x44256c(0xf5)](){const _0x136c5c=_0x44256c,_0x132ddc=sessionStorage[_0x136c5c(0xf0)](cs)||'[]';this[_0x136c5c(0xe5)](JSON[_0x136c5c(0xf8)](_0x132ddc));}[_0x44256c(0xea)](){const _0x232de4=_0x44256c;sessionStorage[_0x232de4(0xe8)](cs,JSON[_0x232de4(0xf6)](this[_0x232de4(0xe2)](_0x3b5492=>_0x3b5492)));}}function Ss(_0x458c7f){const _0xeb5841=_0x44256c;return _0x458c7f[_0xeb5841(0xe9)]()[_0xeb5841(0xed)]();}function _0x2ae3(){const _0x353132=['getItem','last','14310qlyMKt','244279QwDAtP','add','_loadFromSessionStorage','stringify','13979682TQBEHb','parse','length','1149106NBXHJr','CKEditor/AIFormView/PromptHistory','152EIYMGR','map','3203387EyAuFP','remove','addMany','688LkugZZ','20346jAmkHz','setItem','toLowerCase','_saveToSessionStorage','130MJHoNo','264KInIsZ','trim','998008SuiBSD','prompt'];_0x2ae3=function(){return _0x353132;};return _0x2ae3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53df69=_0x2e43;function _0x2e43(_0x2273ee,_0x22e8c7){const _0x487ac3=_0x487a();return _0x2e43=function(_0x2e4386,_0x223beb){_0x2e4386=_0x2e4386-0x1ef;let _0x3fcaf6=_0x487ac3[_0x2e4386];return _0x3fcaf6;},_0x2e43(_0x2273ee,_0x22e8c7);}(function(_0x260837,_0x1dba26){const _0x553ce8=_0x2e43,_0x107992=_0x260837();while(!![]){try{const _0x4f81f2=-parseInt(_0x553ce8(0x1ff))/0x1+parseInt(_0x553ce8(0x1f9))/0x2+parseInt(_0x553ce8(0x21b))/0x3+parseInt(_0x553ce8(0x1fc))/0x4+parseInt(_0x553ce8(0x210))/0x5*(parseInt(_0x553ce8(0x1f1))/0x6)+-parseInt(_0x553ce8(0x219))/0x7*(-parseInt(_0x553ce8(0x20f))/0x8)+-parseInt(_0x553ce8(0x1f8))/0x9;if(_0x4f81f2===_0x1dba26)break;else _0x107992['push'](_0x107992['shift']());}catch(_0x5c2d22){_0x107992['push'](_0x107992['shift']());}}}(_0x487a,0xaf06c));function _0x487a(){const _0x52b268=['isEnabled','custom','change:_hasContext','selection','requiresContent','isEmpty','hasContent','reduce','includes','from','commands','model','ai.aiAssistant.disabledElements','11177048Zmfbnd','18355Mwqdpq','getFirstRange','showUI','_commandDefinitions','name','get','getItems','execute','refresh','7pxqZHI','getRanges','907584EYLZHF','document','editor','1554mBCprY','set','length','change:isEnabled','add','concat','enabledCommandsIds','22109499BmpBey','1983132BrxSix','getSelectedBlocks','isCollapsed','2821092VFfhUO','config','plugins','1173768QzsdJZ','element','_hasContext'];_0x487a=function(){return _0x52b268;};return _0x487a();}import{Command as _0x88ec4e}from'ckeditor5/src/core.js';import _0x5d3e98 from'../aiassistantui.js';export default class j extends _0x88ec4e{constructor(_0x1cdc42,_0x297eda){const _0xe4dfa9=_0x2e43;super(_0x1cdc42),this[_0xe4dfa9(0x213)]=_0x297eda?_0x297eda[_0xe4dfa9(0x209)]((_0x23cba8,_0x4b1d47)=>_0x23cba8[_0xe4dfa9(0x1f6)](_0x4b1d47[_0xe4dfa9(0x20c)]),new Array()):[],this[_0xe4dfa9(0x1f2)](_0xe4dfa9(0x1f7),[]),this['on'](_0xe4dfa9(0x204),(_0x437e75,_0x3f34b9,_0x459db6)=>{const _0x3d049c=_0xe4dfa9;this[_0x3d049c(0x202)]&&(this[_0x3d049c(0x1f7)]=K(this[_0x3d049c(0x213)],_0x459db6));}),this[_0xe4dfa9(0x1f2)](_0xe4dfa9(0x201),!0x1),this['on'](_0xe4dfa9(0x1f4),(_0xceb29e,_0x17670e,_0x3996f4)=>{const _0x56fb91=_0xe4dfa9;this[_0x56fb91(0x1f7)]=_0x3996f4?K(this[_0x56fb91(0x213)],this[_0x56fb91(0x201)]):[];});}[_0x53df69(0x218)](){const _0x3cdc64=_0x53df69,_0x297501=this[_0x3cdc64(0x1f0)][_0x3cdc64(0x20d)];this[_0x3cdc64(0x201)]=function(_0x1b5610){const _0x3f5ff3=_0x3cdc64,_0x2d6f8b=_0x1b5610[_0x3f5ff3(0x1ef)][_0x3f5ff3(0x205)];return _0x2d6f8b[_0x3f5ff3(0x1fb)]?0x0!==[..._0x2d6f8b[_0x3f5ff3(0x1fa)]()][_0x3f5ff3(0x1f3)]&&![..._0x2d6f8b[_0x3f5ff3(0x1fa)]()][0x0][_0x3f5ff3(0x207)]:!!_0x1b5610[_0x3f5ff3(0x208)](_0x2d6f8b[_0x3f5ff3(0x211)]());}(_0x297501);const _0x33053e=_0x297501[_0x3cdc64(0x1ef)][_0x3cdc64(0x205)],_0x44ca1f=this[_0x3cdc64(0x1f0)][_0x3cdc64(0x1fd)][_0x3cdc64(0x215)](_0x3cdc64(0x20e));for(const _0x5ba77d of _0x33053e[_0x3cdc64(0x21a)]())for(const _0x41ba82 of _0x5ba77d[_0x3cdc64(0x216)]())if(_0x41ba82['is'](_0x3cdc64(0x200))&&_0x44ca1f[_0x3cdc64(0x20a)](_0x41ba82[_0x3cdc64(0x214)]))return void(this[_0x3cdc64(0x202)]=!0x1);this[_0x3cdc64(0x202)]=!0x0;}[_0x53df69(0x217)](_0x5dcdab='',_0xdece6='',_0x2c4725=_0x53df69(0x203)){const _0x3e2fb0=_0x53df69;this[_0x3e2fb0(0x1f0)][_0x3e2fb0(0x1fe)][_0x3e2fb0(0x215)](_0x5d3e98)[_0x3e2fb0(0x212)](_0x5dcdab,_0xdece6,_0x2c4725);}}function K(_0x5a12b8,_0x483af7){const _0x1d1e69=_0x53df69,_0x59f84e=new Set();for(const _0x2d15a0 of _0x5a12b8)(_0x483af7||!0x1===_0x2d15a0[_0x1d1e69(0x206)])&&_0x59f84e[_0x1d1e69(0x1f5)](_0x2d15a0['id']);return Array[_0x1d1e69(0x20b)](_0x59f84e);}
23
+ function _0x518e(_0x2560d2,_0x3aa413){const _0x39ac89=_0x39ac();return _0x518e=function(_0x518eeb,_0x3c1f21){_0x518eeb=_0x518eeb-0x15e;let _0x324327=_0x39ac89[_0x518eeb];return _0x324327;},_0x518e(_0x2560d2,_0x3aa413);}const _0xd0705f=_0x518e;(function(_0x5b541e,_0x1351ac){const _0x542708=_0x518e,_0x14e038=_0x5b541e();while(!![]){try{const _0x1c70ba=-parseInt(_0x542708(0x186))/0x1*(-parseInt(_0x542708(0x161))/0x2)+parseInt(_0x542708(0x17a))/0x3*(-parseInt(_0x542708(0x165))/0x4)+parseInt(_0x542708(0x162))/0x5*(-parseInt(_0x542708(0x187))/0x6)+-parseInt(_0x542708(0x17d))/0x7*(parseInt(_0x542708(0x167))/0x8)+parseInt(_0x542708(0x173))/0x9+-parseInt(_0x542708(0x18a))/0xa+-parseInt(_0x542708(0x16a))/0xb*(-parseInt(_0x542708(0x169))/0xc);if(_0x1c70ba===_0x1351ac)break;else _0x14e038['push'](_0x14e038['shift']());}catch(_0xafa835){_0x14e038['push'](_0x14e038['shift']());}}}(_0x39ac,0x8c889));import{Command as _0x3e6bae}from'ckeditor5/src/core.js';function _0x39ac(){const _0x291f55=['config','isEnabled','isCollapsed','commands','getRanges','isEmpty','editor','add','16669DuAItH','132306yADDWM','set','element','8518360cFnGbX','change:isEnabled','refresh','length','getFirstRange','selection','model','30pvxnzw','65GfTcMp','from','get','356008NUOSfF','plugins','1016QaxKgz','enabledCommandsIds','60AWZNGs','2605867LxQDJh','document','concat','ai.aiAssistant.disabledElements','execute','requiresContent','getSelectedBlocks','hasContent','showUI','9205290wYbANy','_commandDefinitions','includes','change:_hasContext','custom','getItems','name','15TvPfPi','reduce','_hasContext','16436loZYpc'];_0x39ac=function(){return _0x291f55;};return _0x39ac();}import _0xc02f0d from'../aiassistantui.js';export default class j extends _0x3e6bae{constructor(_0x3c4462,_0x278584){const _0x2c82d6=_0x518e;super(_0x3c4462),this[_0x2c82d6(0x174)]=_0x278584?_0x278584[_0x2c82d6(0x17b)]((_0x24da2e,_0x219b13)=>_0x24da2e[_0x2c82d6(0x16c)](_0x219b13[_0x2c82d6(0x181)]),new Array()):[],this[_0x2c82d6(0x188)](_0x2c82d6(0x168),[]),this['on'](_0x2c82d6(0x176),(_0x3fb9c2,_0x437f97,_0x56df9c)=>{const _0x14f553=_0x2c82d6;this[_0x14f553(0x17f)]&&(this[_0x14f553(0x168)]=K(this[_0x14f553(0x174)],_0x56df9c));}),this[_0x2c82d6(0x188)](_0x2c82d6(0x17c),!0x1),this['on'](_0x2c82d6(0x18b),(_0x3bba0a,_0x21f39b,_0x238b44)=>{const _0x22fdce=_0x2c82d6;this[_0x22fdce(0x168)]=_0x238b44?K(this[_0x22fdce(0x174)],this[_0x22fdce(0x17c)]):[];});}[_0xd0705f(0x18c)](){const _0x54c702=_0xd0705f,_0x3eec6d=this[_0x54c702(0x184)][_0x54c702(0x160)];this[_0x54c702(0x17c)]=function(_0x5f84f5){const _0x4eba3d=_0x54c702,_0x4233da=_0x5f84f5[_0x4eba3d(0x16b)][_0x4eba3d(0x15f)];return _0x4233da[_0x4eba3d(0x180)]?0x0!==[..._0x4233da[_0x4eba3d(0x170)]()][_0x4eba3d(0x18d)]&&![..._0x4233da[_0x4eba3d(0x170)]()][0x0][_0x4eba3d(0x183)]:!!_0x5f84f5[_0x4eba3d(0x171)](_0x4233da[_0x4eba3d(0x15e)]());}(_0x3eec6d);const _0x541847=_0x3eec6d[_0x54c702(0x16b)][_0x54c702(0x15f)],_0xf5fc93=this[_0x54c702(0x184)][_0x54c702(0x17e)][_0x54c702(0x164)](_0x54c702(0x16d));for(const _0x3f7080 of _0x541847[_0x54c702(0x182)]())for(const _0x41d16d of _0x3f7080[_0x54c702(0x178)]())if(_0x41d16d['is'](_0x54c702(0x189))&&_0xf5fc93[_0x54c702(0x175)](_0x41d16d[_0x54c702(0x179)]))return void(this[_0x54c702(0x17f)]=!0x1);this[_0x54c702(0x17f)]=!0x0;}[_0xd0705f(0x16e)](_0x4bf910='',_0x9f41ae='',_0x5c9662=_0xd0705f(0x177)){const _0x1388b0=_0xd0705f;this[_0x1388b0(0x184)][_0x1388b0(0x166)][_0x1388b0(0x164)](_0xc02f0d)[_0x1388b0(0x172)](_0x4bf910,_0x9f41ae,_0x5c9662);}}function K(_0x4f1a38,_0x1b3017){const _0x512840=_0xd0705f,_0x170117=new Set();for(const _0x1fd4b3 of _0x4f1a38)(_0x1b3017||!0x1===_0x1fd4b3[_0x512840(0x16f)])&&_0x170117[_0x512840(0x185)](_0x1fd4b3['id']);return Array[_0x512840(0x163)](_0x170117);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x8bb98d,_0x6a8d5c,_0x273517){const t=_0x8bb98d['t'];switch(_0x6a8d5c){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',_0x273517);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',_0x273517);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x273517);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'},_0x273517);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 _0x6a8d5c;}}
23
+ export function getTranslation(_0x2ae844,_0xd6ec59,_0x1aac40){const t=_0x2ae844['t'];switch(_0xd6ec59){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',_0x1aac40);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',_0x1aac40);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1aac40);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'},_0x1aac40);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 _0xd6ec59;}}