@ckeditor/ckeditor5-ai 42.0.2-alpha.1 → 42.0.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.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/dropdown/aicommandslistview.js +1 -1
- package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
- package/src/ui/dropdown/labelwithhighlightview.js +1 -1
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x5238(_0x44d9c4,_0x492b3f){const _0x2911e2=_0x2911();return _0x5238=function(_0x523807,_0x430fa6){_0x523807=_0x523807-0xd1;let _0x552f2f=_0x2911e2[_0x523807];return _0x552f2f;},_0x5238(_0x44d9c4,_0x492b3f);}const _0x22d775=_0x5238;(function(_0x208fe2,_0x2c763d){const _0x4b4a7d=_0x5238,_0x2334d9=_0x208fe2();while(!![]){try{const _0x36758a=parseInt(_0x4b4a7d(0x10e))/0x1*(parseInt(_0x4b4a7d(0xe1))/0x2)+-parseInt(_0x4b4a7d(0xf3))/0x3*(-parseInt(_0x4b4a7d(0x10d))/0x4)+-parseInt(_0x4b4a7d(0x130))/0x5+-parseInt(_0x4b4a7d(0xd5))/0x6*(-parseInt(_0x4b4a7d(0xe4))/0x7)+-parseInt(_0x4b4a7d(0x112))/0x8*(parseInt(_0x4b4a7d(0x123))/0x9)+-parseInt(_0x4b4a7d(0x126))/0xa+parseInt(_0x4b4a7d(0x120))/0xb;if(_0x36758a===_0x2c763d)break;else _0x2334d9['push'](_0x2334d9['shift']());}catch(_0x4e2846){_0x2334d9['push'](_0x2334d9['shift']());}}}(_0x2911,0x3ed3d));import{ObservableMixin as _0x566f68}from'ckeditor5/src/utils.js';function _0x2911(){const _0x39ead1=['trim','prompt','endsWith','finishProcessing','stopProcessing','12EUNMOv','19gPhzIs','toModel','substring','_handleQuery','3416BKxJnW','ELEMENT_NODE','stopListening','isProcessing','_xmlSerializer','reverse','initialContext','nodeType','submitPrompt','startProcessing','name','createElement','abort','set','10266256QptHuE','listenTo','_sanitizeHTML','7137vkcFmV','div','destroy','4888280pnkfmP','processor','message','_domParser','toView','previousQuery','text/html','handleError','```html','_parseAndNormalizeContent','1707405YOEJrv','querySelector','rename','editor','_stripMarkdownSyntax','110634lTUeDb','once','push','previousLabel','editing','_sanitizationContainer','<h1></h1>','tryAgainEvent','innerHTML','from','_normalizeResponseHeadings','setContentOf','16586owEWRi','body','updateView','7KFKbdK','serializeToString','element','```','match','textAdapter','parseFromString','custom','document','remove','then','startsWith','previousActionId','_isH1TagSupportEnabled','currentContext','316959PDyloI','exec','makeRequest','htmlProcessor','viewToDom','childNodes','finally','stringify','isRendered','length','reset','catch','view','render','set:currentContext','mainAction','currentResponse','data','value','previousContext','domConverter'];_0x2911=function(){return _0x39ead1;};return _0x2911();}import{AIRequestError as _0x4c8e36}from'../adapters/aiadapter.js';import{Matcher as _0x48840a,UpcastWriter as _0x2cbbbd}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x566f68(){constructor(_0x1dc3d8,_0x58f818,_0x19bc40){const _0x1629c8=_0x5238;super(),this[_0x1629c8(0xd3)]=_0x1dc3d8,this[_0x1629c8(0xe9)]=_0x58f818,this[_0x1629c8(0xda)]=document[_0x1629c8(0x11d)](_0x1629c8(0x124)),this[_0x1629c8(0x129)]=new DOMParser(),this[_0x1629c8(0x116)]=new XMLSerializer(),this[_0x1629c8(0xff)]=_0x19bc40,this[_0x1629c8(0x11f)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1629c8(0x101),(_0x3d7d5d,_0x23e1b5,_0x5cd571)=>{const _0x4ae53e=_0x1629c8;this[_0x4ae53e(0xff)][_0x4ae53e(0x105)]=this[_0x4ae53e(0x122)](_0x5cd571);}),this[_0x1629c8(0x121)](this[_0x1629c8(0xff)],_0x1629c8(0x11a),(_0x2de2e4,_0x40bdb5)=>{const _0x2a3c6f=_0x1629c8,_0x187612=this[_0x2a3c6f(0xf2)]||this[_0x2a3c6f(0x118)];this[_0x2a3c6f(0x111)](_0x40bdb5,_0x187612,_0x2a3c6f(0xeb));}),this[_0x1629c8(0x121)](this[_0x1629c8(0xff)],_0x1629c8(0xdc),()=>{const _0x53f226=_0x1629c8;this[_0x53f226(0xff)][_0x53f226(0x109)]=this[_0x53f226(0xd8)],this[_0x53f226(0x111)](this[_0x53f226(0x12b)],this[_0x53f226(0x106)],this[_0x53f226(0xf0)],this[_0x53f226(0xd8)]);}),this[_0x1629c8(0x121)](this[_0x1629c8(0xff)],_0x1629c8(0x10c),()=>{const _0x3b20b2=_0x1629c8;this[_0x3b20b2(0x10c)]();});}[_0x22d775(0x125)](){const _0x4fcdd2=_0x22d775;this[_0x4fcdd2(0x114)]();}async[_0x22d775(0xe3)]({actionId:_0x44cc2b,query:_0x3d6746,htmlContent:_0x4a6b19,label:_0x8d0480,mainActionLabel:_0xbe0aa4}){const _0x572586=_0x22d775;this[_0x572586(0xff)][_0x572586(0x109)]=_0x8d0480,this[_0x572586(0xff)][_0x572586(0x102)]=_0xbe0aa4,this[_0x572586(0x118)]=_0x4a6b19,_0x3d6746&&(this[_0x572586(0xff)][_0x572586(0xfb)]?this[_0x572586(0x111)](_0x3d6746,_0x4a6b19,_0x44cc2b,_0x8d0480):this[_0x572586(0xff)][_0x572586(0xd6)](_0x572586(0x100),()=>{const _0x416ed3=_0x572586;this[_0x416ed3(0x111)](_0x3d6746,_0x4a6b19,_0x44cc2b,_0x8d0480);}));}[_0x22d775(0x10c)](){const _0x57603c=_0x22d775;this[_0x57603c(0x115)]&&(this[_0x57603c(0x115)]=!0x1,this[_0x57603c(0xff)][_0x57603c(0x10b)](),this[_0x57603c(0xe9)][_0x57603c(0x11e)]());}[_0x22d775(0xfd)](){const _0x4ee634=_0x22d775;this[_0x4ee634(0x118)]='',this[_0x4ee634(0xf2)]='',this[_0x4ee634(0x103)]='',this[_0x4ee634(0x106)]='',this[_0x4ee634(0x12b)]='',this[_0x4ee634(0xd8)]='',this[_0x4ee634(0xf0)]=void 0x0,this[_0x4ee634(0xff)][_0x4ee634(0xfd)](),this[_0x4ee634(0x10c)]();}async[_0x22d775(0x111)](_0x59622f,_0x241386,_0x3c0bc3,_0xcbbb5e){const _0x15c4d4=_0x22d775;return this[_0x15c4d4(0x115)]=!0x0,this[_0x15c4d4(0xff)][_0x15c4d4(0x11b)](),this[_0x15c4d4(0x106)]=_0x241386,this[_0x15c4d4(0x12b)]=_0x59622f,this[_0x15c4d4(0xd8)]=_0xcbbb5e||_0x59622f,this[_0x15c4d4(0xf0)]=_0x3c0bc3,new Promise(_0x478590=>{const _0x41a0ec=_0x15c4d4;this[_0x41a0ec(0xe9)][_0x41a0ec(0xf5)]({'query':_0x59622f,'context':_0x241386,'onData':_0x4abec3=>{const _0x26852c=_0x41a0ec;this[_0x26852c(0x103)]=_0x4abec3,this[_0x26852c(0xf2)]=this[_0x26852c(0x12f)](this[_0x26852c(0x103)]);},'actionId':_0x3c0bc3})[_0x41a0ec(0xee)](()=>{const _0x216cc8=_0x41a0ec;!this[_0x216cc8(0xf2)]&&this[_0x216cc8(0x103)]&&(this[_0x216cc8(0xf2)]=this[_0x216cc8(0x12f)](this[_0x216cc8(0x103)],!0x0));})[_0x41a0ec(0xfe)](_0x5937a1=>{const _0x19713d=_0x41a0ec;_0x5937a1 instanceof _0x4c8e36?this[_0x19713d(0xff)][_0x19713d(0x12d)](_0x5937a1[_0x19713d(0x128)]):this[_0x19713d(0xff)][_0x19713d(0x12d)](),_0x478590();})[_0x41a0ec(0xf9)](()=>{const _0x472d83=_0x41a0ec;this[_0x472d83(0x10c)](),_0x478590();});});}[_0x22d775(0x12f)](_0x437950,_0x1ae18b=!0x1){const _0x47bd25=_0x22d775,_0x4e09db=X[_0x47bd25(0xf4)](_0x437950);_0x437950=_0x4e09db?_0x437950[_0x47bd25(0x110)](_0x4e09db[0x1][_0x47bd25(0xfc)]):_0x437950[_0x47bd25(0xfc)]<0x64&&!_0x1ae18b?'':this[_0x47bd25(0xd4)](_0x437950);const _0x1adc04=this[_0x47bd25(0x129)][_0x47bd25(0xea)](_0x437950,_0x47bd25(0x12c));if(_0x4e09db){const _0x29590b=Array[_0x47bd25(0xde)](_0x1adc04[_0x47bd25(0xe2)][_0x47bd25(0xf8)]);_0x29590b[_0x47bd25(0x117)]();for(const _0x27262e of _0x29590b){if(_0x27262e[_0x47bd25(0x119)]==Node[_0x47bd25(0x113)])break;_0x27262e[_0x47bd25(0xed)]();}}const _0x32203e=this[_0x47bd25(0xd3)][_0x47bd25(0x104)][_0x47bd25(0x127)][_0x47bd25(0x12a)](this[_0x47bd25(0x116)][_0x47bd25(0xe5)](_0x1adc04[_0x47bd25(0xe2)]));return this[_0x47bd25(0xf1)]()||this[_0x47bd25(0xdf)](_0x32203e),this[_0x47bd25(0xd3)][_0x47bd25(0x104)][_0x47bd25(0xfa)](this[_0x47bd25(0xd3)][_0x47bd25(0x104)][_0x47bd25(0x10f)](_0x32203e));}[_0x22d775(0xdf)](_0x482bab){const _0x48512f=_0x22d775,_0x11189e=new _0x2cbbbd(this[_0x48512f(0xd3)][_0x48512f(0xd9)][_0x48512f(0xff)][_0x48512f(0xec)]),_0x4e5f98=new _0x48840a({'name':/^h[1-5]$/}),_0x2d0b26=[];let _0x17f497=!0x1;for(const _0x5678fd of _0x482bab)_0x5678fd['is'](_0x48512f(0xe6))&&_0x4e5f98[_0x48512f(0xe8)](_0x5678fd)&&(_0x2d0b26[_0x48512f(0xd7)](_0x5678fd),'h1'==_0x5678fd[_0x48512f(0x11c)]&&(_0x17f497=!0x0));if(_0x17f497){for(const _0x54eec2 of _0x2d0b26)_0x11189e[_0x48512f(0xd2)]('h'+(parseInt(_0x54eec2[_0x48512f(0x11c)][0x1])+0x1),_0x54eec2);}}[_0x22d775(0xf1)](){const _0x383a80=_0x22d775,{data:_0x483e14,editing:_0x74ea25}=this[_0x383a80(0xd3)],_0x27cbe7=_0x483e14[_0x383a80(0xf6)][_0x383a80(0x12a)](_0x383a80(0xdb)),_0xbb4466=_0x483e14[_0x383a80(0x12a)](_0x483e14[_0x383a80(0x10f)](_0x27cbe7));return!!_0x74ea25[_0x383a80(0xff)][_0x383a80(0x107)][_0x383a80(0xf7)](_0xbb4466)[_0x383a80(0xd1)]('h1');}[_0x22d775(0x122)](_0x1b33a9){const _0x597c6d=_0x22d775;return this[_0x597c6d(0xd3)][_0x597c6d(0xd9)][_0x597c6d(0xff)][_0x597c6d(0x107)][_0x597c6d(0xe0)](this[_0x597c6d(0xda)],_0x1b33a9),this[_0x597c6d(0xda)][_0x597c6d(0xdd)];}[_0x22d775(0xd4)](_0x2d4738){const _0x31eb7c=_0x22d775,_0x1c404e=_0x2d4738[_0x31eb7c(0x108)]();return _0x1c404e[_0x31eb7c(0xef)](_0x31eb7c(0x12e))?_0x1c404e[_0x31eb7c(0x10a)](_0x31eb7c(0xe7))?_0x1c404e[_0x31eb7c(0x110)](0x7,_0x1c404e[_0x31eb7c(0xfc)]-0x3):_0x1c404e[_0x31eb7c(0x110)](0x7):_0x2d4738;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d2d49=_0x4d34;(function(_0x13c2b7,_0x5d89f6){const _0x5c0daf=_0x4d34,_0x324e5b=_0x13c2b7();while(!![]){try{const _0x164a69=parseInt(_0x5c0daf(0x155))/0x1*(-parseInt(_0x5c0daf(0x156))/0x2)+parseInt(_0x5c0daf(0x16c))/0x3*(parseInt(_0x5c0daf(0x152))/0x4)+parseInt(_0x5c0daf(0x16e))/0x5+-parseInt(_0x5c0daf(0x151))/0x6*(-parseInt(_0x5c0daf(0x168))/0x7)+-parseInt(_0x5c0daf(0x161))/0x8*(parseInt(_0x5c0daf(0x15a))/0x9)+-parseInt(_0x5c0daf(0x16d))/0xa*(parseInt(_0x5c0daf(0x15e))/0xb)+parseInt(_0x5c0daf(0x150))/0xc;if(_0x164a69===_0x5d89f6)break;else _0x324e5b['push'](_0x324e5b['shift']());}catch(_0x1948d4){_0x324e5b['push'](_0x324e5b['shift']());}}}(_0x1ec8,0x38f95));import{ListView as _0x1f59cc,ListItemGroupView as _0x4ae7fa}from'ckeditor5/src/ui.js';function _0x1ec8(){const _0x4c4d9c=['children','set','label','2857293VYQfnD','highlightText','get','first','527659uPaiFJ','isEnabled','change:enabledCommandsIds','8MgMYnS','commandDefinition','includes','items','enabledCommandsIds','listbox','filter','1957585IsbGna','isVisible','length','role','204qJDmRh','60HwDKiI','361840jGLblb','7286892sGfYSk','6MHZmwl','19564EZNGdx','match','labelView','226598gjbOJp','4eTpeLu'];_0x1ec8=function(){return _0x4c4d9c;};return _0x1ec8();}function _0x4d34(_0x43d63d,_0x2fa8bb){const _0x1ec8e8=_0x1ec8();return _0x4d34=function(_0x4d34f4,_0x553724){_0x4d34f4=_0x4d34f4-0x150;let _0x15fefb=_0x1ec8e8[_0x4d34f4];return _0x15fefb;},_0x4d34(_0x43d63d,_0x2fa8bb);}import{AICommandsListItemView as _0x4c2154}from'../../aiassistantui.js';export default class U extends _0x1f59cc{constructor(_0x47fbe0){const _0xabfb68=_0x4d34;super(_0x47fbe0),this[_0xabfb68(0x16b)]=_0xabfb68(0x166),this[_0xabfb68(0x158)](_0xabfb68(0x165),[]),this['on'](_0xabfb68(0x160),()=>{const _0x52f4e4=_0xabfb68;for(const _0x451dce of this[_0x52f4e4(0x164)])if(_0x451dce instanceof _0x4ae7fa){for(const _0x58cfb7 of _0x451dce[_0x52f4e4(0x164)])if(_0x58cfb7 instanceof _0x4c2154){const _0x291bee=_0x58cfb7[_0x52f4e4(0x157)][_0x52f4e4(0x15c)](0x0);this[_0x52f4e4(0x165)][_0x52f4e4(0x163)](_0x58cfb7[_0x52f4e4(0x162)]['id'])?_0x291bee[_0x52f4e4(0x15f)]=!0x0:_0x291bee[_0x52f4e4(0x15f)]=!0x1;}}});}[_0x1d2d49(0x167)](_0x453f9a){const _0x29ba5e=_0x1d2d49;let _0x151396=0x0,_0x35f8fa=0x0;for(const _0x3a1d92 of this[_0x29ba5e(0x164)]){const _0x52b981=_0x3a1d92,_0x5d9c34=_0x52b981[_0x29ba5e(0x164)],_0x421b9d=_0x453f9a&&!!_0x52b981[_0x29ba5e(0x159)][_0x29ba5e(0x153)](_0x453f9a);_0x52b981[_0x29ba5e(0x154)][_0x29ba5e(0x15b)](_0x421b9d?_0x453f9a:null);for(const _0x39c07a of _0x5d9c34){const _0x2b681d=_0x39c07a[_0x29ba5e(0x157)][_0x29ba5e(0x15d)],_0x3e3e89=_0x2b681d[_0x29ba5e(0x154)];if(_0x453f9a){const _0x8e8f0a=!!_0x2b681d[_0x29ba5e(0x159)][_0x29ba5e(0x153)](_0x453f9a);_0x3e3e89[_0x29ba5e(0x15b)](_0x8e8f0a?_0x453f9a:null),_0x39c07a[_0x29ba5e(0x169)]=_0x421b9d||_0x8e8f0a;}else _0x39c07a[_0x29ba5e(0x169)]=!0x0,_0x3e3e89[_0x29ba5e(0x15b)](null);}const _0x274b2d=_0x5d9c34[_0x29ba5e(0x167)](_0x32c1f7=>_0x32c1f7[_0x29ba5e(0x169)])[_0x29ba5e(0x16a)];_0x151396+=_0x52b981[_0x29ba5e(0x164)][_0x29ba5e(0x16a)],_0x35f8fa+=_0x421b9d?_0x52b981[_0x29ba5e(0x164)][_0x29ba5e(0x16a)]:_0x274b2d,_0x52b981[_0x29ba5e(0x169)]=_0x421b9d||!!_0x274b2d;}return{'resultsCount':_0x35f8fa,'totalItemsCount':_0x151396};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x413f(){const _0x407534=['102ujnCLV','style','set','13693700gwvGIs','6rAoMiO','bindTemplate','2098695WFROzi','ck-button__label','34964xsFknr','186109hQOUyS','3502332xDacpY','extendTemplate','545355veMjkP','48oDMQEO','827650xwUExf'];_0x413f=function(){return _0x407534;};return _0x413f();}(function(_0x1e1d8d,_0x1e1d5a){const _0x50ccd3=_0x469d,_0x1482ca=_0x1e1d8d();while(!![]){try{const _0x16ea88=-parseInt(_0x50ccd3(0x1d9))/0x1+-parseInt(_0x50ccd3(0x1db))/0x2+-parseInt(_0x50ccd3(0x1dc))/0x3*(parseInt(_0x50ccd3(0x1d5))/0x4)+parseInt(_0x50ccd3(0x1d3))/0x5*(parseInt(_0x50ccd3(0x1e0))/0x6)+parseInt(_0x50ccd3(0x1d6))/0x7*(parseInt(_0x50ccd3(0x1da))/0x8)+-parseInt(_0x50ccd3(0x1d7))/0x9+parseInt(_0x50ccd3(0x1df))/0xa;if(_0x16ea88===_0x1e1d5a)break;else _0x1482ca['push'](_0x1482ca['shift']());}catch(_0xbc203c){_0x1482ca['push'](_0x1482ca['shift']());}}}(_0x413f,0x4a005));function _0x469d(_0x48d4a8,_0x9dacec){const _0x413ff7=_0x413f();return _0x469d=function(_0x469d67,_0x38f81d){_0x469d67=_0x469d67-0x1d3;let _0x4e69d7=_0x413ff7[_0x469d67];return _0x4e69d7;},_0x469d(_0x48d4a8,_0x9dacec);}import{HighlightedTextView as _0x8f6e75}from'ckeditor5/src/ui.js';export default class N extends _0x8f6e75{constructor(){const _0xceefb4=_0x469d;super(),this[_0xceefb4(0x1de)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0xc1d0e7=this[_0xceefb4(0x1e1)];this[_0xceefb4(0x1d8)]({'attributes':{'class':[_0xceefb4(0x1d4)],'style':_0xc1d0e7['to'](_0xceefb4(0x1dd)),'id':_0xc1d0e7['to']('id')}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4b661a,_0x1e8ae0){const _0x4f7ff3=_0xf366,_0x41c89a=_0x4b661a();while(!![]){try{const _0x31e813=-parseInt(_0x4f7ff3(0x1c2))/0x1+parseInt(_0x4f7ff3(0x1c3))/0x2+-parseInt(_0x4f7ff3(0x1bd))/0x3*(-parseInt(_0x4f7ff3(0x1c0))/0x4)+-parseInt(_0x4f7ff3(0x1bf))/0x5*(parseInt(_0x4f7ff3(0x1bb))/0x6)+-parseInt(_0x4f7ff3(0x1c6))/0x7+parseInt(_0x4f7ff3(0x1c5))/0x8+-parseInt(_0x4f7ff3(0x1c7))/0x9*(parseInt(_0x4f7ff3(0x1c8))/0xa);if(_0x31e813===_0x1e8ae0)break;else _0x41c89a['push'](_0x41c89a['shift']());}catch(_0x55e214){_0x41c89a['push'](_0x41c89a['shift']());}}}(_0x2e12,0x45cfc));import{HighlightedTextView as _0x230f28}from'ckeditor5/src/ui.js';import{uid as _0x2230f1}from'ckeditor5/src/utils.js';function _0xf366(_0x33df5b,_0x4aa565){const _0x2e1280=_0x2e12();return _0xf366=function(_0xf366ca,_0x1fcfae){_0xf366ca=_0xf366ca-0x1bb;let _0x8eabc3=_0x2e1280[_0xf366ca];return _0x8eabc3;},_0xf366(_0x33df5b,_0x4aa565);}export default class S extends _0x230f28{constructor(){const _0x28ccf1=_0xf366;super(),this[_0x28ccf1(0x1c1)](_0x28ccf1(0x1c4),void 0x0);const _0x9ede8a=this[_0x28ccf1(0x1bc)];this['id']=_0x28ccf1(0x1c9)+_0x2230f1(),this[_0x28ccf1(0x1be)]({'attributes':{'class':['ck',_0x28ccf1(0x1ca)],'id':this['id'],'for':_0x9ede8a['to'](_0x28ccf1(0x1c4))}});}}function _0x2e12(){const _0x3ba37f=['5LRNQZm','1642760MlnavU','set','269537xSfugw','494918FOJxcx','for','3714296zLXOYK','1974392kKBiCB','36zNodpr','210470qMkXIp','ck-editor__label_','ck-label','1204242SSpFxa','bindTemplate','3JiIPcc','extendTemplate'];_0x2e12=function(){return _0x3ba37f;};return _0x2e12();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25fc84=_0x36b8;function _0x3b94(){const _0x120759=['appendLoader','setTemplate','ck-ai-form__content-field','check','innerHTML','bindTemplate','smooth','555290NgUKVh','value','12ExKGLc','_createCopyButton','_createLoader','16YktwOp','scrollHeight','Copy','execCommand','element','createRange','ck-reset_all-excluded','setEndBefore','ck-ai-form__content-area-wrapper','listenTo','setContent','div','style','icon','ClipboardItem','clipboard','4087300WeLVoW','9SdFxxG','1389035gmTmsS','setStartAfter','.ck-ai-form__loader','set','<span>[</span>','_copyHTMLToClipboard','remove','write','createElement','class','copy','\x20ck-ai-form__copy-button--copied','wheel','appendChild','querySelector','84273oBlALn','AI\x20is\x20writing...','body','isProcessing','1920408cnwVUJ','focus','change:value','14ZVpbRi','absolute','addRange','loaderView','ck-ai-form__content-area','bind','textContent','12670361kivOVH','ck-ai-form__copy-button-wrapper','-9999px','ck-hidden','locale','isEnabled','<span>]</span>','change:isProcessing','copyButtonView','mousedown','render','getSelection','text/html','firstElementChild','contentFieldView','lastElementChild','position','scrollTo','text/plain','left','ck-ai-form__loader','isVisible','ck-ai-form__copy-button','ck-ai-form__content-area--processing','removeAllRanges','6vTcoPr','5061absOCw','ck-content','execute'];_0x3b94=function(){return _0x120759;};return _0x3b94();}(function(_0x9ef54a,_0x29d5d1){const _0x454b05=_0x36b8,_0x43c3fd=_0x9ef54a();while(!![]){try{const _0x440e5c=parseInt(_0x454b05(0x103))/0x1+parseInt(_0x454b05(0xd8))/0x2*(-parseInt(_0x454b05(0xd1))/0x3)+-parseInt(_0x454b05(0xd5))/0x4+parseInt(_0x454b05(0xc2))/0x5*(-parseInt(_0x454b05(0xf8))/0x6)+parseInt(_0x454b05(0xf9))/0x7*(-parseInt(_0x454b05(0x108))/0x8)+parseInt(_0x454b05(0xc1))/0x9*(-parseInt(_0x454b05(0xc0))/0xa)+-parseInt(_0x454b05(0xdf))/0xb*(-parseInt(_0x454b05(0x105))/0xc);if(_0x440e5c===_0x29d5d1)break;else _0x43c3fd['push'](_0x43c3fd['shift']());}catch(_0x4d4d66){_0x43c3fd['push'](_0x43c3fd['shift']());}}}(_0x3b94,0x53993));import{global as _0x4850eb}from'ckeditor5/src/utils.js';import{View as _0x5781bd,ButtonView as _0x476a4d,SpinnerView as _0xd07bd8}from'ckeditor5/src/ui.js';function _0x36b8(_0x1f735d,_0x28634d){const _0x3b94a4=_0x3b94();return _0x36b8=function(_0x36b8a4,_0x1def69){_0x36b8a4=_0x36b8a4-0xb2;let _0x30f0ca=_0x3b94a4[_0x36b8a4];return _0x30f0ca;},_0x36b8(_0x1f735d,_0x28634d);}import _0x298502 from'../../../theme/icons/copy.svg';import{getTranslation as _0x562374}from'../../utils/common-translations.js';import{icons as _0x1cf274}from'ckeditor5/src/core.js';export default class nt extends _0x5781bd{constructor(_0x47fd61,_0x39cf60=''){const _0x3493d9=_0x36b8;super(_0x47fd61),this[_0x3493d9(0xc5)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1527d6=this[_0x3493d9(0x101)];this[_0x3493d9(0xed)]=new ContentFieldView(_0x47fd61,_0x39cf60),this[_0x3493d9(0xe7)]=this[_0x3493d9(0x106)](),this[_0x3493d9(0xfd)]({'tag':_0x3493d9(0xbb),'attributes':{'class':['ck',_0x3493d9(0xb8),_0x1527d6['if'](_0x3493d9(0xf4),_0x3493d9(0xe2),_0x4c144c=>!_0x4c144c)],'tabindex':'-1'},'children':[{'tag':_0x3493d9(0xbb),'attributes':{'class':['ck',_0x3493d9(0xdc),_0x1527d6['if'](_0x3493d9(0xd4),_0x3493d9(0xf6))]},'children':[this[_0x3493d9(0xed)],{'tag':_0x3493d9(0xbb),'attributes':{'class':['ck',_0x3493d9(0xe0)]},'children':[this[_0x3493d9(0xe7)]]}]}]});}[_0x25fc84(0xe9)](){const _0x2e967b=_0x25fc84;super[_0x2e967b(0xe9)](),this[_0x2e967b(0x104)]&&this[_0x2e967b(0xed)][_0x2e967b(0xba)](this[_0x2e967b(0x104)]);let _0x15a755=!0x1;this['on'](_0x2e967b(0xd7),(_0x1bc018,_0x35ba1d,_0x5275a2)=>{const _0x35ad64=_0x2e967b,_0xd75982=!this[_0x35ad64(0xed)][_0x35ad64(0xb4)][_0x35ad64(0xd0)](_0x35ad64(0xc4));this[_0x35ad64(0xed)][_0x35ad64(0xba)](_0x5275a2),this[_0x35ad64(0xd4)]&&_0xd75982&&!_0x15a755&&this[_0x35ad64(0xb4)][_0x35ad64(0xf0)]({'top':this[_0x35ad64(0xb4)][_0x35ad64(0x109)],'behavior':_0x35ad64(0x102)});}),this['on'](_0x2e967b(0xe6),(_0x5cd6a1,_0x853830,_0x5189d1)=>{const _0xc6341d=_0x2e967b;_0x15a755=!0x1,_0x5189d1?(this[_0xc6341d(0x104)]=null,this[_0xc6341d(0xed)][_0xc6341d(0xfc)]()):this[_0xc6341d(0x104)]||this[_0xc6341d(0xed)][_0xc6341d(0xba)]('');}),this[_0x2e967b(0xb9)](this[_0x2e967b(0xb4)],_0x2e967b(0xce),()=>{_0x15a755=!0x0;}),this[_0x2e967b(0xb9)](this[_0x2e967b(0xb4)],_0x2e967b(0xe8),()=>{_0x15a755=!0x0;});}[_0x25fc84(0xd6)](){const _0x406ad8=_0x25fc84;this[_0x406ad8(0xb4)][_0x406ad8(0xd6)]();}[_0x25fc84(0x106)](){const _0x3d0b0a=_0x25fc84,_0x3f29e1=this[_0x3d0b0a(0xe3)],_0x3ee89a=new _0x476a4d(this[_0x3d0b0a(0xe3)]),_0xdb87c3=_0x3d0b0a(0xf5);return _0x3ee89a[_0x3d0b0a(0xc5)]({'label':_0x562374(_0x3f29e1,_0x3d0b0a(0xb2)),'icon':_0x298502,'class':_0xdb87c3,'tooltip':!0x0}),_0x3ee89a[_0x3d0b0a(0xdd)](_0x3d0b0a(0xf4))['to'](this,_0x3d0b0a(0x104),_0x736ee=>!!_0x736ee),_0x3ee89a[_0x3d0b0a(0xdd)](_0x3d0b0a(0xe4))['to'](this,_0x3d0b0a(0xd4),_0x2fbdac=>!_0x2fbdac),_0x3ee89a['on'](_0x3d0b0a(0xfb),()=>{const _0xbcfc6=_0x3d0b0a;this[_0xbcfc6(0xc7)](this[_0xbcfc6(0xed)][_0xbcfc6(0xb4)]),_0x3ee89a[_0xbcfc6(0xbd)]=_0x1cf274[_0xbcfc6(0xff)],_0x3ee89a[_0xbcfc6(0xcb)]=_0xdb87c3+_0xbcfc6(0xcd),this[_0xbcfc6(0xd6)](),setTimeout(()=>{const _0x5c18e6=_0xbcfc6;_0x3ee89a[_0x5c18e6(0xbd)]=_0x298502,_0x3ee89a[_0x5c18e6(0xcb)]=_0xdb87c3;},0x3e8);}),_0x3ee89a;}[_0x25fc84(0xc7)](_0x47eabc){const _0xddc8f1=_0x25fc84,{window:_0x58f399,document:_0x127c14}=_0x4850eb;if(_0x58f399[_0xddc8f1(0xbe)]){const {Blob:_0x4e0346,ClipboardItem:_0x2db205}=_0x58f399,_0x58e3f3=[new _0x2db205({'text/html':new _0x4e0346([_0x47eabc[_0xddc8f1(0x100)]],{'type':_0xddc8f1(0xeb)}),'text/plain':new _0x4e0346([_0x47eabc[_0xddc8f1(0xde)]||''],{'type':_0xddc8f1(0xf1)})})];navigator[_0xddc8f1(0xbf)][_0xddc8f1(0xc9)](_0x58e3f3);}else{const _0x1536d7=_0x127c14[_0xddc8f1(0xca)](_0xddc8f1(0xbb));_0x1536d7[_0xddc8f1(0xbc)][_0xddc8f1(0xef)]=_0xddc8f1(0xd9),_0x1536d7[_0xddc8f1(0xbc)][_0xddc8f1(0xf2)]=_0xddc8f1(0xe1),_0x1536d7[_0xddc8f1(0x100)]=_0xddc8f1(0xc6)+_0x47eabc[_0xddc8f1(0x100)]+_0xddc8f1(0xe5),_0x127c14[_0xddc8f1(0xd3)][_0xddc8f1(0xcf)](_0x1536d7);const _0x144b8e=_0x127c14[_0xddc8f1(0xb5)]();_0x144b8e[_0xddc8f1(0xc3)](_0x1536d7[_0xddc8f1(0xec)]),_0x144b8e[_0xddc8f1(0xb7)](_0x1536d7[_0xddc8f1(0xee)]);const _0x555d82=_0x58f399[_0xddc8f1(0xea)]();_0x555d82[_0xddc8f1(0xf7)](),_0x555d82[_0xddc8f1(0xda)](_0x144b8e),_0x127c14[_0xddc8f1(0xb3)](_0xddc8f1(0xcc)),_0x1536d7[_0xddc8f1(0xc8)]();}}}export class ContentFieldView extends _0x5781bd{constructor(_0x4c2001,_0x19456a=''){const _0x2b3336=_0x25fc84;super(_0x4c2001),this[_0x2b3336(0xdb)]=this[_0x2b3336(0x107)](),this[_0x2b3336(0xfd)]({'tag':_0x2b3336(0xbb),'attributes':{'class':['ck',_0x2b3336(0xfa),_0x19456a,_0x2b3336(0xb6),_0x2b3336(0xfe)]}});}[_0x25fc84(0xba)](_0x5d639b){const _0x2b7eb3=_0x25fc84;this[_0x2b7eb3(0xb4)][_0x2b7eb3(0x100)]=_0x5d639b;}[_0x25fc84(0xfc)](){const _0x17185e=_0x25fc84;this[_0x17185e(0xb4)][_0x17185e(0xcf)](this[_0x17185e(0xdb)][_0x17185e(0xb4)]);}[_0x25fc84(0x107)](){const _0xec2b7e=_0x25fc84,_0x14455f=new _0x5781bd(),_0x3d9d7a=this[_0xec2b7e(0xe3)],_0x25b345=new _0xd07bd8();return _0x25b345[_0xec2b7e(0xf4)]=!0x0,_0x14455f[_0xec2b7e(0xfd)]({'tag':_0xec2b7e(0xbb),'attributes':{'class':['ck',_0xec2b7e(0xf3)]},'children':[_0x25b345,{'text':_0x562374(_0x3d9d7a,_0xec2b7e(0xd2))}]}),_0x14455f[_0xec2b7e(0xe9)](),_0x14455f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x38c404,_0x189d0b){const _0x48852a=_0x1e32,_0x57a48a=_0x38c404();while(!![]){try{const _0x569450=-parseInt(_0x48852a(0x18f))/0x1*(-parseInt(_0x48852a(0x18d))/0x2)+-parseInt(_0x48852a(0x193))/0x3+parseInt(_0x48852a(0x18c))/0x4*(parseInt(_0x48852a(0x184))/0x5)+parseInt(_0x48852a(0x191))/0x6+-parseInt(_0x48852a(0x18e))/0x7*(parseInt(_0x48852a(0x182))/0x8)+-parseInt(_0x48852a(0x18a))/0x9*(parseInt(_0x48852a(0x192))/0xa)+-parseInt(_0x48852a(0x190))/0xb*(-parseInt(_0x48852a(0x183))/0xc);if(_0x569450===_0x189d0b)break;else _0x57a48a['push'](_0x57a48a['shift']());}catch(_0x360c55){_0x57a48a['push'](_0x57a48a['shift']());}}}(_0x3f7a,0x29b70));import{View as _0x387e68,IconView as _0x5a5931}from'ckeditor5/src/ui.js';function _0x3f7a(){const _0x58e415=['9nPkVLN','setTemplate','225428BbIDlT','82VGwHnd','268891ycdApB','2273VHhygW','8459DNgbrr','479856HNkahv','730130ghiXza','745398yKRqqx','ck-ai-form__error','32NUTbqT','4740rmMJIW','15RGMGCc','text','div','bindTemplate','set','content'];_0x3f7a=function(){return _0x58e415;};return _0x3f7a();}function _0x1e32(_0x12bda7,_0x251374){const _0x3f7a03=_0x3f7a();return _0x1e32=function(_0x1e3253,_0x2c2df3){_0x1e3253=_0x1e3253-0x182;let _0x4ad80b=_0x3f7a03[_0x1e3253];return _0x4ad80b;},_0x1e32(_0x12bda7,_0x251374);}import _0x335f7b from'../../../theme/icons/error.svg';export default class mt extends _0x387e68{constructor(_0x5c541e,_0xc916e8=''){const _0x21574d=_0x1e32;super(_0x5c541e);const _0x593df8=new _0x5a5931(),_0x404ec1=this[_0x21574d(0x187)];this[_0x21574d(0x188)](_0x21574d(0x185),_0xc916e8),_0x593df8[_0x21574d(0x189)]=_0x335f7b,this[_0x21574d(0x18b)]({'tag':_0x21574d(0x186),'attributes':{'class':['ck',_0x21574d(0x194)]},'children':[_0x593df8,{'text':_0x404ec1['to'](_0x21574d(0x185))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44f3e5=_0x1f3f;(function(_0x1546b5,_0x200ab7){const _0x1ce2be=_0x1f3f,_0x197c0a=_0x1546b5();while(!![]){try{const _0x4ba420=-parseInt(_0x1ce2be(0x19c))/0x1+parseInt(_0x1ce2be(0x1a9))/0x2+-parseInt(_0x1ce2be(0x1c0))/0x3+parseInt(_0x1ce2be(0x198))/0x4*(parseInt(_0x1ce2be(0x1bc))/0x5)+parseInt(_0x1ce2be(0x1bb))/0x6+parseInt(_0x1ce2be(0x19e))/0x7*(-parseInt(_0x1ce2be(0x19a))/0x8)+-parseInt(_0x1ce2be(0x1be))/0x9*(-parseInt(_0x1ce2be(0x19d))/0xa);if(_0x4ba420===_0x200ab7)break;else _0x197c0a['push'](_0x197c0a['shift']());}catch(_0x28110d){_0x197c0a['push'](_0x197c0a['shift']());}}}(_0x4666,0x5d35a));import{Rect as _0x3332e0,global as _0x10b791,isVisible as _0x4f100c}from'ckeditor5/src/utils.js';function _0x4666(){const _0x2f13e1=['uiLanguageDirection','locale','maxRows','focusableChildren','excludeScrollbarsAndBorders','bind','submitButtonView','value','add','2748738okjhzn','375520StNHiQ','enter','9ScIeKV','minRows','2055648KPkAJV','render','filteredView','_createShowHistoryButton','fieldWrapperChildren','isEnabled','focusFirst','isOn','execute','isEmpty','children','element','keystrokes','ck-ai-form__toggle-history','set','isVisible','requestAnimationFrame','_createSubmitButton','Submit','8ZRdXSF','width','77304TnSGic','left','50330hZjlSE','5943480ntfTmr','119oIWHie','showHistoryButtonView','submit','resultsView','update','style','queryView','fire','right','fieldView','target','157848jPXjIX','History','focusLast','window','ck-ai-form__submit','focus','history','rtl','focusCycler'];_0x4666=function(){return _0x2f13e1;};return _0x4666();}import{AutocompleteView as _0x36673b,ButtonView as _0x203d3c}from'ckeditor5/src/ui.js';import{icons as _0x54f781}from'ckeditor5/src/core.js';function _0x1f3f(_0x4984c3,_0x2aa047){const _0x4666e2=_0x4666();return _0x1f3f=function(_0x1f3fc7,_0x2d9e88){_0x1f3fc7=_0x1f3fc7-0x198;let _0x2d43d6=_0x4666e2[_0x1f3fc7];return _0x2d43d6;},_0x1f3f(_0x4984c3,_0x2aa047);}import{getTranslation as _0x34dfe2}from'../../utils/common-translations.js';import _0x3dd25d from'../../../theme/icons/submit.svg';export default class pt extends _0x36673b{constructor(_0x2d92db,_0x52a6ab){const _0x2fe045=_0x1f3f;super(_0x2d92db,_0x52a6ab),this[_0x2fe045(0x1a4)][_0x2fe045(0x1a7)][_0x2fe045(0x1bf)]=0x1,this[_0x2fe045(0x1a4)][_0x2fe045(0x1a7)][_0x2fe045(0x1b4)]=0x3,this[_0x2fe045(0x1b8)]=this[_0x2fe045(0x1d1)](),this[_0x2fe045(0x19f)]=this[_0x2fe045(0x1c3)](),this[_0x2fe045(0x1b5)][_0x2fe045(0x1ba)](this[_0x2fe045(0x19f)],0x1),this[_0x2fe045(0x1b5)][_0x2fe045(0x1ba)](this[_0x2fe045(0x1b8)]);}[_0x44f3e5(0x1c1)](){const _0x257c5c=_0x44f3e5;super[_0x257c5c(0x1c1)](),this[_0x257c5c(0x1a4)][_0x257c5c(0x1c4)][_0x257c5c(0x1ba)](this[_0x257c5c(0x19f)]),this[_0x257c5c(0x1ca)][_0x257c5c(0x1ba)](this[_0x257c5c(0x1b8)]),this[_0x257c5c(0x1cc)][_0x257c5c(0x1ce)](_0x257c5c(0x1bd),(_0x224260,_0x505f26)=>{const _0x23600e=_0x257c5c;_0x224260[_0x23600e(0x1a8)]==this[_0x23600e(0x1a4)][_0x23600e(0x1a7)][_0x23600e(0x1cb)]&&(this[_0x23600e(0x1a0)](),_0x505f26());});}[_0x44f3e5(0x1d1)](){const _0xef4806=_0x44f3e5,_0xca5058=new _0x203d3c(this[_0xef4806(0x1b3)]),_0x42cb19=this[_0xef4806(0x1b3)];return _0xca5058[_0xef4806(0x1ce)]({'icon':_0x3dd25d,'label':_0x34dfe2(_0x42cb19,_0xef4806(0x1d2)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xef4806(0x1ad)}),_0xca5058['on'](_0xef4806(0x1c8),()=>{const _0x16babb=_0xef4806;this[_0x16babb(0x1a0)]();}),_0xca5058[_0xef4806(0x1b7)](_0xef4806(0x1c5))['to'](this[_0xef4806(0x1a4)][_0xef4806(0x1a7)],_0xef4806(0x1c9),this,_0xef4806(0x1c5),(_0x312199,_0x3306ba)=>!_0x312199&&_0x3306ba),_0xca5058;}[_0x44f3e5(0x1c3)](){const _0x311c35=_0x44f3e5,_0x48a3b8=new _0x203d3c(this[_0x311c35(0x1b3)]),_0x38dcff=this[_0x311c35(0x1a1)],_0x21d8c8=this[_0x311c35(0x1b3)];_0x48a3b8[_0x311c35(0x1ce)]({'label':_0x34dfe2(_0x21d8c8,_0x311c35(0x1aa)),'withText':!0x1,'icon':_0x54f781[_0x311c35(0x1af)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x311c35(0x1cd)}),_0x48a3b8[_0x311c35(0x1b7)](_0x311c35(0x1c7))['to'](_0x38dcff,_0x311c35(0x1cf)),_0x48a3b8[_0x311c35(0x1b7)](_0x311c35(0x1c5))['to'](this,_0x311c35(0x1c5)),_0x48a3b8['on'](_0x311c35(0x1c8),()=>{const _0x3ecafe=_0x311c35;_0x38dcff[_0x3ecafe(0x1cf)]=!_0x38dcff[_0x3ecafe(0x1cf)],_0x38dcff[_0x3ecafe(0x1cf)]?this[_0x3ecafe(0x1c2)][_0x3ecafe(0x1ae)]():this[_0x3ecafe(0x1ae)]();});const _0x5ab586=()=>{const _0xbf96f6=_0x311c35;_0x10b791[_0xbf96f6(0x1ac)][_0xbf96f6(0x1d0)](()=>{const _0x3799b3=_0xbf96f6;if(_0x4f100c(this[_0x3799b3(0x1cb)])){const _0x51bbe5=new _0x3332e0(this[_0x3799b3(0x1a4)][_0x3799b3(0x1a7)][_0x3799b3(0x1cb)]),_0x38fd7e=_0x51bbe5[_0x3799b3(0x199)],_0x172cd5=_0x3799b3(0x1b0)===_0x21d8c8[_0x3799b3(0x1b2)]?_0x3799b3(0x19b):_0x3799b3(0x1a6);_0x51bbe5[_0x3799b3(0x1b6)](),_0x48a3b8[_0x3799b3(0x1cb)][_0x3799b3(0x1a3)][_0x172cd5]=_0x38fd7e-_0x51bbe5[_0x3799b3(0x199)]+0x1+'px';}});};return this[_0x311c35(0x1a4)][_0x311c35(0x1a7)]['on'](_0x311c35(0x1a2),_0x5ab586),this['on'](_0x311c35(0x1c1),_0x5ab586),_0x48a3b8;}[_0x44f3e5(0x1a0)](){const _0x4a9f79=_0x44f3e5,_0x40afa4=this[_0x4a9f79(0x1a4)][_0x4a9f79(0x1a7)][_0x4a9f79(0x1cb)][_0x4a9f79(0x1b9)];this[_0x4a9f79(0x1a5)](_0x4a9f79(0x1a0),_0x40afa4);}[_0x44f3e5(0x1ae)](_0x4a1439){const _0x5d3510=_0x44f3e5;-0x1===_0x4a1439?this[_0x5d3510(0x1b1)][_0x5d3510(0x1ab)]():this[_0x5d3510(0x1b1)][_0x5d3510(0x1c6)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4210(){const _0x308d28=['ck-hidden','bind','2EqyWbl','AI_','bindTemplate','8561230rRMKox','set','4712937tFbjkj','insertButton','Stop','16BvUEmr','REPLACE','replace','mainAction','1390886NzYpKr','_createButton','toUpperCase','1059921qvbuCZ','addMany','items','148027AHGrwS','Insert\x20below','insert','Try\x20again','isVisible','10415862nDOAgr','label','extendTemplate','153612GPFTcg','replaceButton','ck-ai-form__toolbar','tryAgainButton','ck-button-action','stopButton','locale','_CONTENT'];_0x4210=function(){return _0x308d28;};return _0x4210();}function _0x4de6(_0x948e6f,_0x27babf){const _0x421074=_0x4210();return _0x4de6=function(_0x4de6fd,_0x320c9b){_0x4de6fd=_0x4de6fd-0x9c;let _0x359b33=_0x421074[_0x4de6fd];return _0x359b33;},_0x4de6(_0x948e6f,_0x27babf);}const _0x4402d8=_0x4de6;(function(_0x68bf05,_0x15c95d){const _0x52f7e1=_0x4de6,_0x11001a=_0x68bf05();while(!![]){try{const _0xa7d5bc=parseInt(_0x52f7e1(0xbb))/0x1*(-parseInt(_0x52f7e1(0xa9))/0x2)+parseInt(_0x52f7e1(0xae))/0x3+parseInt(_0x52f7e1(0x9f))/0x4+-parseInt(_0x52f7e1(0xac))/0x5+parseInt(_0x52f7e1(0x9c))/0x6+parseInt(_0x52f7e1(0xb5))/0x7*(-parseInt(_0x52f7e1(0xb1))/0x8)+-parseInt(_0x52f7e1(0xb8))/0x9;if(_0xa7d5bc===_0x15c95d)break;else _0x11001a['push'](_0x11001a['shift']());}catch(_0x1a5588){_0x11001a['push'](_0x11001a['shift']());}}}(_0x4210,0xeccc1));import{ToolbarView as _0x4f94ab,ButtonView as _0x2f78bc}from'ckeditor5/src/ui.js';import{getTranslation as _0x172a16}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4402d8(0xb3),'INSERT':_0x4402d8(0xbd)};export default class Tt extends _0x4f94ab{constructor(_0x532f0c){const _0x20cf76=_0x4402d8;super(_0x532f0c),this[_0x20cf76(0xad)](_0x20cf76(0xbf),!0x1),this[_0x20cf76(0xad)](_0x20cf76(0xb4),AIFormToolbarViewMainActionLabel[_0x20cf76(0xb2)]),this[_0x20cf76(0xa0)]=this[_0x20cf76(0xb6)]('',_0x20cf76(0xa3)),this[_0x20cf76(0xa0)][_0x20cf76(0xa8)](_0x20cf76(0x9d))['to'](this,_0x20cf76(0xb4),_0x45f43a=>_0x172a16(_0x532f0c,_0x20cf76(0xaa)+_0x45f43a[_0x20cf76(0xb7)]()+_0x20cf76(0xa6))),this[_0x20cf76(0xaf)]=this[_0x20cf76(0xb6)](_0x172a16(_0x532f0c,_0x20cf76(0xbc))),this[_0x20cf76(0xa2)]=this[_0x20cf76(0xb6)](_0x172a16(_0x532f0c,_0x20cf76(0xbe))),this[_0x20cf76(0xa4)]=this[_0x20cf76(0xb6)](_0x172a16(_0x532f0c,_0x20cf76(0xb0)));const _0x16023b=this[_0x20cf76(0xab)];this[_0x20cf76(0x9e)]({'attributes':{'class':[_0x20cf76(0xa1),_0x16023b['if'](_0x20cf76(0xbf),_0x20cf76(0xa7),_0x33db05=>!_0x33db05)]}}),this[_0x20cf76(0xba)][_0x20cf76(0xb9)]([this[_0x20cf76(0xa0)],this[_0x20cf76(0xaf)],this[_0x20cf76(0xa2)],this[_0x20cf76(0xa4)]]);}[_0x4402d8(0xb6)](_0x562b77,_0x3b4486){const _0x354c83=_0x4402d8,_0x52cc8d=new _0x2f78bc(this[_0x354c83(0xa5)]);return _0x52cc8d[_0x354c83(0xad)]({'label':_0x562b77,'class':_0x3b4486||'','isVisible':!0x0,'withText':!0x0}),_0x52cc8d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xae1d8c=_0x2ce0;(function(_0x2f3714,_0x4986b6){const _0x53f98a=_0x2ce0,_0x399ef4=_0x2f3714();while(!![]){try{const _0x40f554=-parseInt(_0x53f98a(0x20e))/0x1*(parseInt(_0x53f98a(0x1e1))/0x2)+parseInt(_0x53f98a(0x201))/0x3*(parseInt(_0x53f98a(0x1e6))/0x4)+-parseInt(_0x53f98a(0x1f9))/0x5+parseInt(_0x53f98a(0x1ca))/0x6+-parseInt(_0x53f98a(0x200))/0x7*(-parseInt(_0x53f98a(0x20c))/0x8)+parseInt(_0x53f98a(0x1d1))/0x9+-parseInt(_0x53f98a(0x1e5))/0xa;if(_0x40f554===_0x4986b6)break;else _0x399ef4['push'](_0x399ef4['shift']());}catch(_0x1b84fd){_0x399ef4['push'](_0x399ef4['shift']());}}}(_0xe42a,0x9c239));import{FocusTracker as _0x2f86c3,KeystrokeHandler as _0x3f4e41}from'ckeditor5/src/utils.js';import{View as _0x171567,FocusCycler as _0x39bff7,createLabeledTextarea as _0x59f7f7}from'ckeditor5/src/ui.js';import _0x53b8e4,{AIFormToolbarViewMainActionLabel as _0x34b9d9}from'./aiformtoolbarview.js';import _0x94c768 from'./aiformcontentarea.js';import _0x2bd0b8 from'./aiformerrorview.js';import _0x9647f6 from'./aiformpromptview.js';import _0x54242c from'./aihistorylistview.js';import _0x6f37b1 from'./aihistorylistitemview.js';function _0x2ce0(_0x2d73c0,_0x240f69){const _0xe42ac3=_0xe42a();return _0x2ce0=function(_0x2ce085,_0x13f1bb){_0x2ce085=_0x2ce085-0x1c9;let _0x4dc1a3=_0xe42ac3[_0x2ce085];return _0x4dc1a3;},_0x2ce0(_0x2d73c0,_0x240f69);}import _0x2ce452 from'./prompthistory.js';import{getTranslation as _0x38f593}from'../../utils/common-translations.js';import{escape as _0x38e9e0}from'lodash-es';export default class x extends _0x171567{constructor(_0x1a1d2e,_0x2c1fa0,_0x2b4137=''){const _0xb7b8a1=_0x2ce0;super(_0x1a1d2e),this[_0xb7b8a1(0x206)](_0xb7b8a1(0x1f7),!0x0),this[_0xb7b8a1(0x206)](_0xb7b8a1(0x1f3),!0x1),this[_0xb7b8a1(0x206)](_0xb7b8a1(0x221),''),this[_0xb7b8a1(0x206)](_0xb7b8a1(0x1e0),''),this[_0xb7b8a1(0x206)](_0xb7b8a1(0x1cb),!0x1),this[_0xb7b8a1(0x206)](_0xb7b8a1(0x1d4),_0x34b9d9[_0xb7b8a1(0x218)]),this[_0xb7b8a1(0x211)]=new _0x2ce452(),this[_0xb7b8a1(0x1f1)]=new _0x2bd0b8(_0x1a1d2e),this[_0xb7b8a1(0x1de)]=new _0x94c768(_0x1a1d2e,_0x2b4137),this[_0xb7b8a1(0x1de)][_0xb7b8a1(0x21c)](_0xb7b8a1(0x1f3))['to'](this),this[_0xb7b8a1(0x1de)][_0xb7b8a1(0x21c)](_0xb7b8a1(0x1e0))['to'](this),this[_0xb7b8a1(0x1f0)]=this[_0xb7b8a1(0x1eb)](),this[_0xb7b8a1(0x1f0)][_0xb7b8a1(0x21c)](_0xb7b8a1(0x1d4))['to'](this),this[_0xb7b8a1(0x1e8)]=this[_0xb7b8a1(0x20d)](),this[_0xb7b8a1(0x214)]=new _0x2f86c3(),this[_0xb7b8a1(0x1d6)]=new _0x3f4e41(),this[_0xb7b8a1(0x1c9)]=this[_0xb7b8a1(0x209)]([this[_0xb7b8a1(0x1de)],this[_0xb7b8a1(0x1de)][_0xb7b8a1(0x1ea)],this[_0xb7b8a1(0x1f0)],this[_0xb7b8a1(0x1e8)]]),this[_0xb7b8a1(0x1fd)]=new _0x39bff7({'focusables':this[_0xb7b8a1(0x1c9)],'focusTracker':this[_0xb7b8a1(0x214)],'keystrokeHandler':this[_0xb7b8a1(0x1d6)],'actions':{'focusPrevious':_0xb7b8a1(0x208),'focusNext':_0xb7b8a1(0x1fc)}}),this[_0xb7b8a1(0x1e8)][_0xb7b8a1(0x1fd)]['on'](_0xb7b8a1(0x1ec),_0x57db35=>{const _0x5605d8=_0xb7b8a1;this[_0x5605d8(0x1fd)][_0x5605d8(0x1cc)](),_0x57db35[_0x5605d8(0x20a)]();}),this[_0xb7b8a1(0x1e8)][_0xb7b8a1(0x1fd)]['on'](_0xb7b8a1(0x1d7),_0x4f1b08=>{const _0x272308=_0xb7b8a1;this[_0x272308(0x1fd)][_0x272308(0x1cd)](),_0x4f1b08[_0x272308(0x20a)]();}),this[_0xb7b8a1(0x1e8)][_0xb7b8a1(0x1fe)][_0xb7b8a1(0x1d8)][_0xb7b8a1(0x21c)](_0xb7b8a1(0x1e0))['to'](this,_0xb7b8a1(0x221));const _0x4ad9d3=this[_0xb7b8a1(0x21e)];this[_0xb7b8a1(0x1f2)]({'tag':_0xb7b8a1(0x1cf),'attributes':{'class':['ck',_0xb7b8a1(0x202),_0x2c1fa0],'tabindex':'-1'},'children':[{'tag':_0xb7b8a1(0x1cf),'attributes':{'class':['ck',_0xb7b8a1(0x1e4)]},'children':[{'tag':_0xb7b8a1(0x1cf),'attributes':{'class':[_0x4ad9d3['if'](_0xb7b8a1(0x1cb),_0xb7b8a1(0x1e2),_0x3c13b9=>!_0x3c13b9)]},'children':[this[_0xb7b8a1(0x1f1)]]},this[_0xb7b8a1(0x1de)],this[_0xb7b8a1(0x1f0)],this[_0xb7b8a1(0x1e8)]]}]});}[_0xae1d8c(0x1ed)](){const _0x4ee1f9=_0xae1d8c;super[_0x4ee1f9(0x1ed)](),this[_0x4ee1f9(0x214)][_0x4ee1f9(0x1df)](this[_0x4ee1f9(0x1de)][_0x4ee1f9(0x1ef)]),this[_0x4ee1f9(0x214)][_0x4ee1f9(0x1df)](this[_0x4ee1f9(0x1de)][_0x4ee1f9(0x1ea)][_0x4ee1f9(0x1ef)]),this[_0x4ee1f9(0x214)][_0x4ee1f9(0x1df)](this[_0x4ee1f9(0x1f0)][_0x4ee1f9(0x1ef)]),this[_0x4ee1f9(0x214)][_0x4ee1f9(0x1df)](this[_0x4ee1f9(0x1e8)][_0x4ee1f9(0x1ef)]),this[_0x4ee1f9(0x1d6)][_0x4ee1f9(0x219)](this[_0x4ee1f9(0x1ef)]);}[_0xae1d8c(0x204)](_0x1108be=0x1){const _0x316386=_0xae1d8c;-0x1===_0x1108be?this[_0x316386(0x1fd)][_0x316386(0x210)]():this[_0x316386(0x1fd)][_0x316386(0x215)]();}[_0xae1d8c(0x1d2)](){const _0x2ca0df=_0xae1d8c;this[_0x2ca0df(0x221)]='',this[_0x2ca0df(0x1e0)]='',this[_0x2ca0df(0x1cb)]=!0x1,this[_0x2ca0df(0x1e8)][_0x2ca0df(0x1d2)](),this[_0x2ca0df(0x1de)][_0x2ca0df(0x1f4)]=!0x1,this[_0x2ca0df(0x1f0)][_0x2ca0df(0x1f4)]=!0x1;}[_0xae1d8c(0x20d)](){const _0x110cf7=_0xae1d8c,_0x4f85c0=this[_0x110cf7(0x21d)],_0x4d56ad=new _0x9647f6(_0x4f85c0,{'queryView':{'label':_0x38f593(_0x4f85c0,_0x110cf7(0x20b)),'creator':_0x59f7f7,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x38f593(_0x4f85c0,_0x110cf7(0x1ee)),'secondary':_0x38f593(_0x4f85c0,_0x110cf7(0x21f))}}},'filteredView':this[_0x110cf7(0x205)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4d56ad[_0x110cf7(0x21c)](_0x110cf7(0x1f7))['to'](this,_0x110cf7(0x1f7),this,_0x110cf7(0x1f3),(_0x3578af,_0x3f8765)=>_0x3578af&&!_0x3f8765),this[_0x110cf7(0x219)](_0x4d56ad,_0x110cf7(0x1ce),(_0x20a093,_0x3a0757)=>{const _0x2c297c=_0x110cf7;this[_0x2c297c(0x221)]=_0x3a0757;const _0x556032=_0x38e9e0(_0x3a0757);this[_0x2c297c(0x1fa)](_0x2c297c(0x217),_0x556032),_0x3a0757[_0x2c297c(0x220)]()&&this[_0x2c297c(0x211)][_0x2c297c(0x1df)]({'prompt':_0x556032},0x0);},{'priority':_0x110cf7(0x1e3)}),_0x4d56ad;}[_0xae1d8c(0x205)](){const _0x39afc4=_0xae1d8c,_0xfed64=new _0x54242c(this[_0x39afc4(0x21d)]);return _0xfed64[_0x39afc4(0x1da)][_0x39afc4(0x1db)][_0x39afc4(0x21a)](this[_0x39afc4(0x211)])['as'](_0x6f37b1),_0xfed64['on'](_0x39afc4(0x1d9),()=>{const _0x168c76=_0x39afc4;this[_0x168c76(0x211)][_0x168c76(0x20f)](),this[_0x168c76(0x1e8)][_0x168c76(0x213)](''),this[_0x168c76(0x1e8)][_0x168c76(0x204)]();}),_0xfed64;}[_0xae1d8c(0x1eb)](){const _0x4a89b1=_0xae1d8c,_0x43b584=new _0x53b8e4(this[_0x4a89b1(0x21d)]);return _0x43b584[_0x4a89b1(0x203)][_0x4a89b1(0x21c)](_0x4a89b1(0x1f7))['to'](this,_0x4a89b1(0x1f7),this,_0x4a89b1(0x1f3),this,_0x4a89b1(0x1e0),(_0x32f1ac,_0x4c42ff,_0x30f434)=>_0x32f1ac&&!_0x4c42ff&&!!_0x30f434),_0x43b584[_0x4a89b1(0x203)][_0x4a89b1(0x1e7)](_0x4a89b1(0x21b))['to'](this,_0x4a89b1(0x1dc)),_0x43b584[_0x4a89b1(0x212)][_0x4a89b1(0x21c)](_0x4a89b1(0x1f7))['to'](this,_0x4a89b1(0x1f7),this,_0x4a89b1(0x1f3),this,_0x4a89b1(0x1e0),(_0x7c778d,_0x4b81b4,_0x21e006)=>_0x7c778d&&!_0x4b81b4&&!!_0x21e006),_0x43b584[_0x4a89b1(0x212)][_0x4a89b1(0x1e7)](_0x4a89b1(0x21b))['to'](this,_0x4a89b1(0x1e9)),_0x43b584[_0x4a89b1(0x207)][_0x4a89b1(0x21c)](_0x4a89b1(0x1f7))['to'](this,_0x4a89b1(0x1f7),this,_0x4a89b1(0x1f3),(_0x4ac910,_0x1c284b)=>_0x4ac910&&!_0x1c284b),_0x43b584[_0x4a89b1(0x207)][_0x4a89b1(0x1e7)](_0x4a89b1(0x21b))['to'](this,_0x4a89b1(0x1f6)),_0x43b584[_0x4a89b1(0x1d0)][_0x4a89b1(0x21c)](_0x4a89b1(0x1f7))['to'](this,_0x4a89b1(0x1f3)),_0x43b584[_0x4a89b1(0x1d0)][_0x4a89b1(0x1e7)](_0x4a89b1(0x21b))['to'](this,_0x4a89b1(0x1d3)),_0x43b584;}[_0xae1d8c(0x1ff)](){const _0x6c2a3b=_0xae1d8c;this[_0x6c2a3b(0x1e0)]='',this[_0x6c2a3b(0x1cb)]=!0x1,this[_0x6c2a3b(0x1f3)]=!0x0,this[_0x6c2a3b(0x1de)][_0x6c2a3b(0x1f4)]=!0x0,this[_0x6c2a3b(0x1f0)][_0x6c2a3b(0x1f4)]=!0x0,this[_0x6c2a3b(0x1de)][_0x6c2a3b(0x204)]();}[_0xae1d8c(0x1f5)](){const _0x365ea5=_0xae1d8c,_0x576dee=this[_0x365ea5(0x21d)];this[_0x365ea5(0x1f3)]=!0x1,this[_0x365ea5(0x221)]='',this[_0x365ea5(0x1e8)][_0x365ea5(0x1d2)](),this[_0x365ea5(0x1e0)]&&(this[_0x365ea5(0x1e8)][_0x365ea5(0x1fe)][_0x365ea5(0x1d5)]=_0x38f593(_0x576dee,_0x365ea5(0x1fb)));}[_0xae1d8c(0x1f8)](_0x3c1b93){const _0x4f32b0=_0xae1d8c,_0x41525f=this[_0x4f32b0(0x21d)];this[_0x4f32b0(0x1f5)](),this[_0x4f32b0(0x1cb)]=!0x0,this[_0x4f32b0(0x1f1)][_0x4f32b0(0x216)]=_0x3c1b93||_0x38f593(_0x41525f,_0x4f32b0(0x1dd)),this[_0x4f32b0(0x1e0)]||(this[_0x4f32b0(0x1de)][_0x4f32b0(0x1f4)]=!0x1);}}function _0xe42a(){const _0x15341b=['_promptHistory','insertButton','search','focusTracker','focusFirst','text','submitPrompt','REPLACE','listenTo','bindTo','execute','bind','locale','bindTemplate','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','trim','prompt','_focusables','3860484nSuOul','isError','focusNext','focusPrevious','submit','div','stopButton','4139901JWqtUM','reset','stopProcessing','mainAction','label','keystrokes','backwardCycle','fieldView','clearHistory','historyGroupView','items','replaceContent','AI_ERROR_FAILED','contentArea','add','value','3442dsPAcH','ck-hidden','high','ck-ai-form-content','16315550FEATbB','1933900oBisWE','delegate','promptView','insertContentBelow','copyButtonView','_createToolbar','forwardCycle','render','Empty\x20history','element','toolbar','errorView','setTemplate','isProcessing','isVisible','finishProcessing','tryAgainEvent','isEnabled','handleError','4154195IaxBbP','fire','Ask\x20AI\x20to\x20improve\x20generated\x20text','tab','focusCycler','queryView','startProcessing','7233149hGgYnh','6QRehbA','ck-ai-form','replaceButton','focus','_createHistoryView','set','tryAgainButton','shift\x20+\x20tab','createCollection','stop','Ask\x20AI\x20to\x20edit\x20or\x20generate','8jJzTjD','_createPromptView','1qzUtfP','clear','focusLast'];_0xe42a=function(){return _0x15341b;};return _0xe42a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2719(){const _0xc7390b=['fire','2003412ZWeeJX','execute','locale','children','54oXIUpr','656UmWSHl','292899gzqIKY','806275LhqbSt','10yJIMhA','4zfqkBC','28765HXDjXh','2699272XbhIes','6288AdaZLP','14097627HSMqNG','96215OhFiAk','add','prompt','set'];_0x2719=function(){return _0xc7390b;};return _0x2719();}(function(_0x12c98b,_0x3edb01){const _0x1821f8=_0x3570,_0x3db418=_0x12c98b();while(!![]){try{const _0x98410a=-parseInt(_0x1821f8(0x1cb))/0x1+parseInt(_0x1821f8(0x1d0))/0x2+parseInt(_0x1821f8(0x1c5))/0x3*(-parseInt(_0x1821f8(0x1ce))/0x4)+-parseInt(_0x1821f8(0x1cc))/0x5*(-parseInt(_0x1821f8(0x1c9))/0x6)+parseInt(_0x1821f8(0x1d3))/0x7*(-parseInt(_0x1821f8(0x1ca))/0x8)+parseInt(_0x1821f8(0x1d2))/0x9*(parseInt(_0x1821f8(0x1cd))/0xa)+-parseInt(_0x1821f8(0x1cf))/0xb*(parseInt(_0x1821f8(0x1d1))/0xc);if(_0x98410a===_0x3edb01)break;else _0x3db418['push'](_0x3db418['shift']());}catch(_0x226d90){_0x3db418['push'](_0x3db418['shift']());}}}(_0x2719,0xddfe1));import{ListItemView as _0x3f014b,ButtonView as _0x5bb90e}from'ckeditor5/src/ui.js';import _0x295efd from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x45f254}from'lodash-es';function _0x3570(_0x5ae121,_0x5b5878){const _0x2719e5=_0x2719();return _0x3570=function(_0x357056,_0x401928){_0x357056=_0x357056-0x1c2;let _0x54b7ca=_0x2719e5[_0x357056];return _0x54b7ca;},_0x3570(_0x5ae121,_0x5b5878);}export default class hs extends _0x3f014b{constructor(_0x2dcb5a){const _0x496739=_0x3570;super();const _0x501e91=new _0x295efd(),_0x4dd0f5=new _0x5bb90e(this[_0x496739(0x1c7)],_0x501e91);this[_0x496739(0x1c8)][_0x496739(0x1d4)](_0x4dd0f5),_0x4dd0f5[_0x496739(0x1c3)]({'label':_0x2dcb5a[_0x496739(0x1c2)],'withText':!0x0}),_0x4dd0f5['on'](_0x496739(0x1c6),()=>{const _0x46b82f=_0x496739;this[_0x46b82f(0x1c4)](_0x46b82f(0x1c6),{'value':_0x45f254(_0x2dcb5a[_0x46b82f(0x1c2)])});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2489cd=_0xcb85;function _0x5b3f(){const _0x1fe471=['historyGroupView','20UGCdyG','Clear','_createClearHistoryButton','filter','5038227xtUkTA','clearHistoryButton','clearHistory','2258500BMalxD','123600vbBAZO','delegate','children','3141uzyqoz','execute','fire','7266066PctbSD','set','items','locale','970312uMSQbl','label','add','1194867OfsVVe','Prompt\x20history','length','4900273cyTFbK'];_0x5b3f=function(){return _0x1fe471;};return _0x5b3f();}(function(_0x65e162,_0x1d8a58){const _0x34d497=_0xcb85,_0x1431f5=_0x65e162();while(!![]){try{const _0x110543=parseInt(_0x34d497(0x11a))/0x1+-parseInt(_0x34d497(0x126))/0x2+-parseInt(_0x34d497(0x123))/0x3+parseInt(_0x34d497(0x117))/0x4*(-parseInt(_0x34d497(0x11f))/0x5)+-parseInt(_0x34d497(0x12d))/0x6+-parseInt(_0x34d497(0x11d))/0x7+parseInt(_0x34d497(0x127))/0x8*(parseInt(_0x34d497(0x12a))/0x9);if(_0x110543===_0x1d8a58)break;else _0x1431f5['push'](_0x1431f5['shift']());}catch(_0x548e94){_0x1431f5['push'](_0x1431f5['shift']());}}}(_0x5b3f,0xdaf80));import{ListView as _0x290626,ListItemGroupView as _0x2818e0,ButtonView as _0x1242ad}from'ckeditor5/src/ui.js';function _0xcb85(_0x3ab059,_0x6903cd){const _0x5b3f03=_0x5b3f();return _0xcb85=function(_0xcb85fa,_0x590d24){_0xcb85fa=_0xcb85fa-0x114;let _0x4e6edc=_0x5b3f03[_0xcb85fa];return _0x4e6edc;},_0xcb85(_0x3ab059,_0x6903cd);}import{getTranslation as _0x10188b}from'../../utils/common-translations.js';export default class rs extends _0x290626{constructor(_0x21cc18){const _0x9d55a9=_0xcb85;super(_0x21cc18),this[_0x9d55a9(0x124)]=this[_0x9d55a9(0x121)](),this[_0x9d55a9(0x11e)]=new _0x2818e0(),this[_0x9d55a9(0x11e)][_0x9d55a9(0x129)][_0x9d55a9(0x119)](this[_0x9d55a9(0x124)],0x1),this[_0x9d55a9(0x11e)][_0x9d55a9(0x118)]=_0x10188b(_0x21cc18,_0x9d55a9(0x11b)),this[_0x9d55a9(0x11e)][_0x9d55a9(0x115)][_0x9d55a9(0x128)](_0x9d55a9(0x12b))['to'](this),this[_0x9d55a9(0x115)][_0x9d55a9(0x119)](this[_0x9d55a9(0x11e)]);}[_0x2489cd(0x122)](){const _0x58c173=_0x2489cd;let _0x481cd8=0x0;for(const _0x5c521a of this[_0x58c173(0x115)])_0x481cd8+=_0x5c521a[_0x58c173(0x115)][_0x58c173(0x11c)];return{'resultsCount':_0x481cd8,'totalItemsCount':_0x481cd8};}[_0x2489cd(0x121)](){const _0x47c7e4=_0x2489cd,_0x578180=this[_0x47c7e4(0x116)],_0x737300=new _0x1242ad(this[_0x47c7e4(0x116)]);return _0x737300[_0x47c7e4(0x114)]({'label':'('+_0x10188b(_0x578180,_0x47c7e4(0x120))+')','withText':!0x0}),_0x737300['on'](_0x47c7e4(0x12b),()=>this[_0x47c7e4(0x12c)](_0x47c7e4(0x125))),_0x737300;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2e99(){const _0x2158f7=['CKEditor/AIFormView/PromptHistory','17094352NiiKCD','prompt','1120azsFiJ','118715mdVcOk','addMany','stringify','4HWgnZi','remove','add','parse','setItem','_loadFromSessionStorage','2671EpOoxa','getItem','210RITCXo','11950992NyGkhi','toLowerCase','914562jIBGXs','length','_saveToSessionStorage','3320127joXhmm','trim','last','6801452ycOUUK','50zncygF','map'];_0x2e99=function(){return _0x2158f7;};return _0x2e99();}function _0x22f3(_0x577a97,_0x272952){const _0x2e99cc=_0x2e99();return _0x22f3=function(_0x22f3ce,_0x27fa88){_0x22f3ce=_0x22f3ce-0x171;let _0x393773=_0x2e99cc[_0x22f3ce];return _0x393773;},_0x22f3(_0x577a97,_0x272952);}const _0x4f0dde=_0x22f3;(function(_0x53e8df,_0x139835){const _0x34b20f=_0x22f3,_0x125831=_0x53e8df();while(!![]){try{const _0x8ed0d6=parseInt(_0x34b20f(0x171))/0x1*(-parseInt(_0x34b20f(0x182))/0x2)+parseInt(_0x34b20f(0x179))/0x3*(parseInt(_0x34b20f(0x186))/0x4)+-parseInt(_0x34b20f(0x183))/0x5*(-parseInt(_0x34b20f(0x173))/0x6)+parseInt(_0x34b20f(0x17c))/0x7+parseInt(_0x34b20f(0x174))/0x8+parseInt(_0x34b20f(0x176))/0x9*(-parseInt(_0x34b20f(0x17d))/0xa)+-parseInt(_0x34b20f(0x180))/0xb;if(_0x8ed0d6===_0x139835)break;else _0x125831['push'](_0x125831['shift']());}catch(_0x3a6d30){_0x125831['push'](_0x125831['shift']());}}}(_0x2e99,0xce61e));import{Collection as _0x4e780a}from'ckeditor5/src/utils.js';const cs=_0x4f0dde(0x17f);export default class os extends _0x4e780a{constructor(){const _0x1a6e57=_0x4f0dde;super(),this[_0x1a6e57(0x18b)](),this['on'](_0x1a6e57(0x188),(_0x422774,_0x143eb4)=>{const _0x3cad00=_0x1a6e57,_0x4322ea=Ss(_0x143eb4[_0x3cad00(0x181)]);for(const _0x3c5714 of this)if(_0x3c5714!=_0x143eb4&&Ss(_0x3c5714[_0x3cad00(0x181)])===_0x4322ea){this[_0x3cad00(0x187)](_0x3c5714);break;}this[_0x3cad00(0x177)]>0x14&&this[_0x3cad00(0x187)](this[_0x3cad00(0x17b)]),this[_0x3cad00(0x178)]();}),this['on'](_0x1a6e57(0x187),()=>{const _0x2ca8f8=_0x1a6e57;this[_0x2ca8f8(0x178)]();});}[_0x4f0dde(0x18b)](){const _0x19e3a4=_0x4f0dde,_0xcd1d0c=sessionStorage[_0x19e3a4(0x172)](cs)||'[]';this[_0x19e3a4(0x184)](JSON[_0x19e3a4(0x189)](_0xcd1d0c));}[_0x4f0dde(0x178)](){const _0x168cf5=_0x4f0dde;sessionStorage[_0x168cf5(0x18a)](cs,JSON[_0x168cf5(0x185)](this[_0x168cf5(0x17e)](_0x11017f=>_0x11017f)));}}function Ss(_0x2726cf){const _0x5f185c=_0x4f0dde;return _0x2726cf[_0x5f185c(0x175)]()[_0x5f185c(0x17a)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bd6f6=_0x335a;(function(_0x2feac0,_0x50aa65){const _0x4a4d4a=_0x335a,_0x40e9c8=_0x2feac0();while(!![]){try{const _0x35a321=-parseInt(_0x4a4d4a(0x14b))/0x1+-parseInt(_0x4a4d4a(0x14d))/0x2+parseInt(_0x4a4d4a(0x13f))/0x3*(parseInt(_0x4a4d4a(0x14a))/0x4)+parseInt(_0x4a4d4a(0x162))/0x5+parseInt(_0x4a4d4a(0x155))/0x6+-parseInt(_0x4a4d4a(0x167))/0x7*(parseInt(_0x4a4d4a(0x147))/0x8)+parseInt(_0x4a4d4a(0x163))/0x9;if(_0x35a321===_0x50aa65)break;else _0x40e9c8['push'](_0x40e9c8['shift']());}catch(_0x3c535e){_0x40e9c8['push'](_0x40e9c8['shift']());}}}(_0xd156,0xede5e));function _0x335a(_0x4d2618,_0x254798){const _0xd156d3=_0xd156();return _0x335a=function(_0x335a17,_0x399868){_0x335a17=_0x335a17-0x13c;let _0x1ee1e3=_0xd156d3[_0x335a17];return _0x1ee1e3;},_0x335a(_0x4d2618,_0x254798);}import{Command as _0x5d659e}from'ckeditor5/src/core.js';import _0x404219 from'../aiassistantui.js';export default class j extends _0x5d659e{constructor(_0x3113b9,_0x419336){const _0xc2ac6=_0x335a;super(_0x3113b9),this[_0xc2ac6(0x141)]=_0x419336?_0x419336[_0xc2ac6(0x157)]((_0x3ddc04,_0x1f3974)=>_0x3ddc04[_0xc2ac6(0x159)](_0x1f3974[_0xc2ac6(0x143)]),new Array()):[],this[_0xc2ac6(0x14f)](_0xc2ac6(0x166),[]),this['on'](_0xc2ac6(0x158),(_0x54cd66,_0x2f50b6,_0x4df023)=>{const _0x51c27d=_0xc2ac6;this[_0x51c27d(0x14c)]&&(this[_0x51c27d(0x166)]=K(this[_0x51c27d(0x141)],_0x4df023));}),this[_0xc2ac6(0x14f)](_0xc2ac6(0x15c),!0x1),this['on'](_0xc2ac6(0x151),(_0x1d8674,_0x4521c2,_0x501eca)=>{const _0x350b40=_0xc2ac6;this[_0x350b40(0x166)]=_0x501eca?K(this[_0x350b40(0x141)],this[_0x350b40(0x15c)]):[];});}[_0x1bd6f6(0x140)](){const _0x2ca0d8=_0x1bd6f6,_0xaad788=this[_0x2ca0d8(0x145)][_0x2ca0d8(0x15b)];this[_0x2ca0d8(0x15c)]=function(_0x52e3cd){const _0x55ac96=_0x2ca0d8,_0x53544e=_0x52e3cd[_0x55ac96(0x160)][_0x55ac96(0x15e)];return _0x53544e[_0x55ac96(0x13e)]?0x0!==[..._0x53544e[_0x55ac96(0x14e)]()][_0x55ac96(0x15d)]&&![..._0x53544e[_0x55ac96(0x14e)]()][0x0][_0x55ac96(0x148)]:!!_0x52e3cd[_0x55ac96(0x15a)](_0x53544e[_0x55ac96(0x154)]());}(_0xaad788);const _0x18253c=_0xaad788[_0x2ca0d8(0x160)][_0x2ca0d8(0x15e)],_0x49a2db=this[_0x2ca0d8(0x145)][_0x2ca0d8(0x156)][_0x2ca0d8(0x144)](_0x2ca0d8(0x13d));for(const _0x234ba3 of _0x18253c[_0x2ca0d8(0x168)]())for(const _0x1ef189 of _0x234ba3[_0x2ca0d8(0x161)]())if(_0x1ef189['is'](_0x2ca0d8(0x142))&&_0x49a2db[_0x2ca0d8(0x165)](_0x1ef189[_0x2ca0d8(0x13c)]))return void(this[_0x2ca0d8(0x14c)]=!0x1);this[_0x2ca0d8(0x14c)]=!0x0;}[_0x1bd6f6(0x146)](_0x5b30f5='',_0x3a0c9d='',_0x48a7f3=_0x1bd6f6(0x150)){const _0x37c379=_0x1bd6f6;this[_0x37c379(0x145)][_0x37c379(0x149)][_0x37c379(0x144)](_0x404219)[_0x37c379(0x15f)](_0x5b30f5,_0x3a0c9d,_0x48a7f3);}}function _0xd156(){const _0x2baf57=['getSelectedBlocks','set','custom','change:isEnabled','add','requiresContent','getFirstRange','1997856YWDBOQ','config','reduce','change:_hasContext','concat','hasContent','model','_hasContext','length','selection','showUI','document','getItems','6261415CpmFOc','14415957ITenMW','from','includes','enabledCommandsIds','26453nIOzgK','getRanges','name','ai.aiAssistant.disabledElements','isCollapsed','29901BLRbOX','refresh','_commandDefinitions','element','commands','get','editor','execute','2296IphdcC','isEmpty','plugins','236MLBTEf','280250WtuKpN','isEnabled','2871664mwPZlc'];_0xd156=function(){return _0x2baf57;};return _0xd156();}function K(_0x35fc26,_0x44ced8){const _0x6e28ff=_0x1bd6f6,_0x51e6b9=new Set();for(const _0x16f7a8 of _0x35fc26)(_0x44ced8||!0x1===_0x16f7a8[_0x6e28ff(0x153)])&&_0x51e6b9[_0x6e28ff(0x152)](_0x16f7a8['id']);return Array[_0x6e28ff(0x164)](_0x51e6b9);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0xb15707,_0x371edd,_0x3ead2f){const t=_0xb15707['t'];switch(_0x371edd){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',_0x3ead2f);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',_0x3ead2f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3ead2f);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'},_0x3ead2f);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 _0x371edd;}}
|