@ckeditor/ckeditor5-ai 44.1.0-alpha.5 → 44.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/ai.js +2 -2
- package/build/translations/cs.js +1 -1
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +2 -2
- package/dist/index.css +9 -9
- package/dist/index.js +3 -3
- package/dist/translations/af.d.ts +2 -2
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +2 -2
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +2 -2
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +2 -2
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +2 -2
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +2 -2
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +2 -2
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +2 -2
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +2 -2
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +2 -2
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +2 -2
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +2 -2
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +2 -2
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +2 -2
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +2 -2
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +2 -2
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +2 -2
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +2 -2
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +2 -2
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +2 -2
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +2 -2
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +2 -2
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +2 -2
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +2 -2
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +2 -2
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +2 -2
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +2 -2
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +2 -2
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +2 -2
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +2 -2
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +2 -2
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +2 -2
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +2 -2
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +2 -2
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +2 -2
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +2 -2
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +2 -2
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +2 -2
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +2 -2
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +2 -2
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +2 -2
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +2 -2
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +2 -2
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +2 -2
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +2 -2
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +2 -2
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +2 -2
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +2 -2
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +2 -2
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +2 -2
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +2 -2
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +2 -2
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +2 -2
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +2 -2
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +2 -2
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +2 -2
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +2 -2
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +2 -2
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +31 -8
- package/src/adapters/aiadapter.d.ts +1 -1
- package/src/adapters/aiadapter.js +2 -2
- package/src/adapters/aitextadapter.d.ts +1 -1
- package/src/adapters/aitextadapter.js +2 -2
- package/src/adapters/awstextadapter.d.ts +1 -1
- package/src/adapters/awstextadapter.js +2 -2
- package/src/adapters/openaitextadapter.d.ts +1 -1
- package/src/adapters/openaitextadapter.js +2 -2
- package/src/aiassistant.d.ts +21 -3
- package/src/aiassistant.js +2 -2
- package/src/aiassistantediting.d.ts +3 -3
- package/src/aiassistantediting.js +2 -2
- package/src/aiassistantui.d.ts +1 -1
- package/src/aiassistantui.js +2 -2
- package/src/aiconfig.d.ts +1 -1
- package/src/aiconfig.js +1 -1
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +3 -2
- package/src/index.js +2 -2
- package/src/legacyerrors.d.ts +1 -1
- package/src/legacyerrors.js +2 -2
- package/src/ui/aiassistantcontroller.d.ts +1 -1
- package/src/ui/aiassistantcontroller.js +3 -3
- package/src/ui/form/aiformcontentarea.d.ts +1 -1
- package/src/ui/form/aiformcontentarea.js +2 -2
- package/src/ui/form/aiformerrorview.d.ts +1 -1
- package/src/ui/form/aiformerrorview.js +2 -2
- package/src/ui/form/aiformpromptview.d.ts +1 -1
- package/src/ui/form/aiformpromptview.js +2 -2
- package/src/ui/form/aiformtoolbarview.d.ts +1 -1
- package/src/ui/form/aiformtoolbarview.js +2 -2
- package/src/ui/form/aiformview.d.ts +1 -1
- package/src/ui/form/aiformview.js +2 -2
- package/src/ui/form/aihistorylistitemview.d.ts +1 -1
- package/src/ui/form/aihistorylistitemview.js +2 -2
- package/src/ui/form/aihistorylistview.d.ts +1 -1
- package/src/ui/form/aihistorylistview.js +2 -2
- package/src/ui/form/prompthistory.d.ts +1 -1
- package/src/ui/form/prompthistory.js +2 -2
- package/src/ui/showaiassistantcommand.d.ts +1 -1
- package/src/ui/showaiassistantcommand.js +2 -2
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/src/utils/normalizecommandsconfig.d.ts +1 -1
- package/src/utils/normalizecommandsconfig.js +2 -2
- package/theme/ai-dropdown.css +1 -1
- package/theme/ai-form.css +1 -1
- package/theme/ai.css +1 -1
- package/dist/adapters/aiadapter.d.ts +0 -60
- package/dist/adapters/aitextadapter.d.ts +0 -150
- package/dist/adapters/awstextadapter.d.ts +0 -183
- package/dist/adapters/openaitextadapter.d.ts +0 -187
- package/dist/aiassistant.d.ts +0 -393
- package/dist/aiassistantediting.d.ts +0 -59
- package/dist/aiassistantui.d.ts +0 -62
- package/dist/aiconfig.d.ts +0 -73
- package/dist/augmentation.d.ts +0 -31
- package/dist/index.d.ts +0 -17
- package/dist/legacyerrors.d.ts +0 -9
- package/dist/ui/aiassistantcontroller.d.ts +0 -113
- package/dist/ui/form/aiformcontentarea.d.ts +0 -52
- package/dist/ui/form/aiformerrorview.d.ts +0 -30
- package/dist/ui/form/aiformpromptview.d.ts +0 -50
- package/dist/ui/form/aiformtoolbarview.d.ts +0 -62
- package/dist/ui/form/aiformview.d.ts +0 -145
- package/dist/ui/form/aihistorylistitemview.d.ts +0 -22
- package/dist/ui/form/aihistorylistview.d.ts +0 -39
- package/dist/ui/form/prompthistory.d.ts +0 -24
- package/dist/ui/showaiassistantcommand.d.ts +0 -44
- package/dist/utils/common-translations.d.ts +0 -13
- package/dist/utils/normalizecommandsconfig.d.ts +0 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x45c1cb=_0x2de3;(function(_0xd61615,_0x5ebc2a){const _0x5a3498=_0x2de3,_0x2fe4ea=_0xd61615();while(!![]){try{const _0x187f00=parseInt(_0x5a3498(0x13e))/0x1*(parseInt(_0x5a3498(0x119))/0x2)+-parseInt(_0x5a3498(0x149))/0x3*(-parseInt(_0x5a3498(0x11e))/0x4)+-parseInt(_0x5a3498(0x143))/0x5*(parseInt(_0x5a3498(0x11b))/0x6)+-parseInt(_0x5a3498(0x12d))/0x7*(-parseInt(_0x5a3498(0x10d))/0x8)+parseInt(_0x5a3498(0x117))/0x9+parseInt(_0x5a3498(0x152))/0xa*(-parseInt(_0x5a3498(0x156))/0xb)+-parseInt(_0x5a3498(0x114))/0xc;if(_0x187f00===_0x5ebc2a)break;else _0x2fe4ea['push'](_0x2fe4ea['shift']());}catch(_0x42e9a0){_0x2fe4ea['push'](_0x2fe4ea['shift']());}}}(_0x28c3,0x9b979));import{uid as _0xb22f60}from'ckeditor5/src/utils.js';function _0x2de3(_0x17e288,_0x2271bc){const _0x28c374=_0x28c3();return _0x2de3=function(_0x2de3dd,_0x117522){_0x2de3dd=_0x2de3dd-0x10d;let _0x9464c3=_0x28c374[_0x2de3dd];return _0x9464c3;},_0x2de3(_0x17e288,_0x2271bc);}import{Plugin as _0x3d307a}from'ckeditor5/src/core.js';const u=_0x45c1cb(0x151);export default class a extends _0x3d307a{static get[_0x45c1cb(0x12f)](){const _0x5d0f26=_0x45c1cb;return _0x5d0f26(0x138);}static get[_0x45c1cb(0x14a)](){return!0x0;}static get[_0x45c1cb(0x124)](){return!0x0;}[_0x45c1cb(0x137)](){const _0x1f8489=_0x45c1cb,{editor:_0x377c0d}=this,_0x4be089=[_0x1f8489(0x116)];_0x377c0d[_0x1f8489(0x123)][_0x1f8489(0x113)](_0x1f8489(0x115))&&_0x4be089[_0x1f8489(0x13c)](_0x1f8489(0x140)),_0x377c0d[_0x1f8489(0x145)][_0x1f8489(0x139)](_0x1f8489(0x130))[_0x1f8489(0x127)]({'model':u,'view':{'classes':_0x4be089,'priority':0xc}}),_0x377c0d[_0x1f8489(0x145)][_0x1f8489(0x139)](_0x1f8489(0x130))[_0x1f8489(0x14b)]({'model':u,'view':(_0x278b3c,{writer:_0x5e011e})=>{const _0x12ef27=_0x1f8489;if(!_0x278b3c[_0x12ef27(0x142)][_0x12ef27(0x110)])return null;const _0x381f69=_0x5e011e[_0x12ef27(0x147)](_0x12ef27(0x11c));return _0x5e011e[_0x12ef27(0x12b)]([_0x12ef27(0x116),_0x12ef27(0x141)],_0x381f69),_0x381f69;}});}[_0x45c1cb(0x132)](){!async function(_0x4541a9){const _0x2f1346=_0x54ad46([0x38,0x46,0x41,0x64,0x57,0x32,0x30,0x43,0x42,0x4b,0x76,0x5a,0x31,0x6e,0x54,0x78,0x35,0x45,0x39,0x77,0x62,0x59,0x52,0x50,0x7a,0x34,0x58,0x37,0x68,0x33,0x61,0x4a,0x6b,0x4c,0x6a,0x4f,0x72,0x51,0x49,0x44,0x47,0x69,0x63,0x70,0x56,0x4d,0x6c,0x6d,0x79,0x65,0x4e,0x66,0x67,0x73,0x53,0x36,0x6f,0x71,0x75,0x48,0x55,0x74]),_0x207e80=0x100e04f4,_0x20c05a=0x10095d2c^_0x207e80,_0x50f2f6=window[_0x54ad46([0x44,0x61,0x74,0x65])][_0x54ad46([0x6e,0x6f,0x77])](),_0x1ff208=_0x4541a9[_0x54ad46([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x561ae4=new window[(_0x54ad46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x501588=>{_0x1ff208[_0x54ad46([0x6f,0x6e,0x63,0x65])](_0x54ad46([0x72,0x65,0x61,0x64,0x79]),_0x501588);}),_0x1b42f9={[_0x54ad46([0x6b,0x74,0x79])]:_0x54ad46([0x45,0x43]),[_0x54ad46([0x75,0x73,0x65])]:_0x54ad46([0x73,0x69,0x67]),[_0x54ad46([0x63,0x72,0x76])]:_0x54ad46([0x50,0x2d,0x32,0x35,0x36]),[_0x54ad46([0x78])]:_0x54ad46([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x54ad46([0x79])]:_0x54ad46([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x54ad46([0x61,0x6c,0x67])]:_0x54ad46([0x45,0x53,0x32,0x35,0x36])},_0x3c6812=_0x1ff208[_0x54ad46([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x54ad46([0x67,0x65,0x74])](_0x54ad46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b483c(){let _0x370226,_0x3a7ca6=null,_0x5bfd6e=null;try{if(_0x3c6812==_0x54ad46([0x47,0x50,0x4c]))return _0x54ad46([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x370226=_0x18d782(),!_0x370226)return _0x54ad46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x370226[_0x54ad46([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5bfd6e=_0x1d7ec4(_0x370226[_0x54ad46([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x370226[_0x54ad46([0x6a,0x74,0x69])])),await _0x3c0f77()?_0x21fcbe()?_0x4812d6()?_0x54ad46([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5513e9()?(_0x370226[_0x54ad46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54ad46([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a7ca6=_0x4d9574(_0x54ad46([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x370226[_0x54ad46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54ad46([0x74,0x72,0x69,0x61,0x6c])&&(_0x3a7ca6=_0x4d9574(_0x54ad46([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x370226[_0x54ad46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54ad46([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x3a7ca6=_0x4d9574(_0x54ad46([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x623eb5()):_0x54ad46([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x54ad46([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x54ad46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4436e3){return _0x54ad46([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4812d6(){const _0x2853b7=[_0x54ad46([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x54ad46([0x74,0x72,0x69,0x61,0x6c])][_0x54ad46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x370226[_0x54ad46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50f2f6/0x3e8:0xe10*_0x20c05a;return _0x370226[_0x54ad46([0x65,0x78,0x70])]<_0x2853b7;}function _0x21fcbe(){const _0x3ffa61=_0x370226[_0x54ad46([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ffa61&&(!!_0x3ffa61[_0x54ad46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54ad46([0x2a]))||!!_0x3ffa61[_0x54ad46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54ad46([0x41,0x49])));}function _0x5513e9(){const _0x20c549=_0x2de3,_0x5f1f96=_0x370226[_0x54ad46([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f1f96||0x0==_0x5f1f96[_0x54ad46([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54b645}=new URL(window[_0x54ad46([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x20c549(0x157)]);if(_0x5f1f96[_0x54ad46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54b645))return!0x0;const _0x393cec=_0x54b645[_0x54ad46([0x73,0x70,0x6c,0x69,0x74])](_0x54ad46([0x2e]));return _0x5f1f96[_0x54ad46([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16c021=>_0x16c021[_0x54ad46([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54ad46([0x2a])))[_0x54ad46([0x6d,0x61,0x70])](_0xe4fa0e=>_0xe4fa0e[_0x54ad46([0x73,0x70,0x6c,0x69,0x74])](_0x54ad46([0x2e])))[_0x54ad46([0x73,0x6f,0x6d,0x65])](_0x1d339b=>_0x393cec[_0x54ad46([0x65,0x76,0x65,0x72,0x79])]((_0x2f04f7,_0x7b9b53)=>_0x1d339b[_0x7b9b53]===_0x2f04f7||_0x1d339b[_0x7b9b53]===_0x54ad46([0x2a])));}function _0x623eb5(){return _0x3a7ca6&&_0x5bfd6e?new window[(_0x54ad46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6fe07,_0xc771ba)=>{_0x3a7ca6[_0x54ad46([0x74,0x68,0x65,0x6e])](_0x6fe07,_0xc771ba),_0x5bfd6e[_0x54ad46([0x74,0x68,0x65,0x6e])](_0x4e62c4=>{_0x4e62c4!=_0x54ad46([0x56,0x61,0x6c,0x69,0x64])&&_0x6fe07(_0x4e62c4);},_0xc771ba);}):_0x3a7ca6||_0x5bfd6e||_0x54ad46([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1d7ec4(_0xeb70b,_0x369846){return new window[(_0x54ad46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ae72d=>{if(_0x45d496())return _0x1ae72d(_0x54ad46([0x56,0x61,0x6c,0x69,0x64]));_0xf0025f(),_0x1ff208[_0x54ad46([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x54ad46([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a6b7e=!0x1;const _0x502569=_0xb22f60();function _0xad68be(_0x2e4f9b){return!!_0x2e4f9b&&(typeof _0x2e4f9b===_0x54ad46([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e4f9b===_0x54ad46([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e4f9b[_0x54ad46([0x74,0x68,0x65,0x6e])]===_0x54ad46([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e4f9b[_0x54ad46([0x63,0x61,0x74,0x63,0x68])]===_0x54ad46([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59b807(_0x278f28){_0x43753a(_0x278f28)[_0x54ad46([0x74,0x68,0x65,0x6e])](_0x2e3b35=>{if(!_0x2e3b35||_0x2e3b35[_0x54ad46([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x54ad46([0x6f,0x6b]))return _0x54ad46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x378200(_0x184f97(_0x502569+_0x369846))!=_0x2e3b35[_0x54ad46([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x54ad46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x54ad46([0x56,0x61,0x6c,0x69,0x64]);})[_0x54ad46([0x74,0x68,0x65,0x6e])](_0x368202=>(_0x56d2e3(),_0x368202),()=>{const _0x13811d=_0x9bdc52();return null==_0x13811d?(_0x56d2e3(),_0x54ad46([0x56,0x61,0x6c,0x69,0x64])):_0x54ad46(_0x50f2f6-_0x13811d>(0x340280f4^_0x207e80)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x54ad46([0x74,0x68,0x65,0x6e])](_0x1ae72d)[_0x54ad46([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ae72d(_0x54ad46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12e3e4=0x1038ea74^_0x207e80;function _0x56d2e3(){const _0x1943ff=_0x54ad46([0x6c,0x6c,0x63,0x74,0x2d])+_0x378200(_0x184f97(_0xeb70b)),_0x257b85=_0x2e86a3(_0x378200(window[_0x54ad46([0x4d,0x61,0x74,0x68])][_0x54ad46([0x63,0x65,0x69,0x6c])](_0x50f2f6/_0x12e3e4)));window[_0x54ad46([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54ad46([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1943ff,_0x257b85);}function _0x9bdc52(){const _0x1ece3e=_0x54ad46([0x6c,0x6c,0x63,0x74,0x2d])+_0x378200(_0x184f97(_0xeb70b)),_0x4bec09=window[_0x54ad46([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54ad46([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ece3e);return _0x4bec09?window[_0x54ad46([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e86a3(_0x4bec09),0x10)*_0x12e3e4:null;}function _0x43753a(_0x1f2dbc){return new window[(_0x54ad46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16d346,_0x2a210f)=>{_0x1f2dbc[_0x54ad46([0x74,0x68,0x65,0x6e])](_0x16d346,_0x2a210f),window[_0x54ad46([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a210f,0x100fd034^_0x207e80);});}}_0x1ff208[_0x54ad46([0x6f,0x6e])](_0x54ad46([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b9fdf,_0xa1173b)=>{if(_0xa1173b[0x0]!=_0xeb70b)return _0x1ae72d(_0x54ad46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa1173b[0x1]={..._0xa1173b[0x1],[_0x54ad46([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x502569};},{[_0x54ad46([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54ad46([0x68,0x69,0x67,0x68])}),_0x1ff208[_0x54ad46([0x6f,0x6e])](_0x54ad46([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f6788=>{_0xad68be(_0x4f6788[_0x54ad46([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a6b7e=!0x0,_0x59b807(_0x4f6788[_0x54ad46([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x54ad46([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54ad46([0x6c,0x6f,0x77])}),_0x561ae4[_0x54ad46([0x74,0x68,0x65,0x6e])](()=>{_0x2a6b7e||_0x1ae72d(_0x54ad46([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x45d496(){return _0x1ff208[_0x54ad46([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54ad46([0x76,0x69,0x65,0x77])][_0x54ad46([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x54ad46([0x61,0x75,0x74,0x6f]);}function _0xf0025f(){_0x1ff208[_0x54ad46([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54ad46([0x76,0x69,0x65,0x77])][_0x54ad46([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x54ad46([0x61,0x75,0x74,0x6f]);}}function _0x4d9574(_0x56d451){const _0x4ccd7d=[new window[(_0x54ad46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b003d=>setTimeout(_0x5b003d,0x10073a38^_0x207e80)),_0x561ae4[_0x54ad46([0x74,0x68,0x65,0x6e])](()=>new window[(_0x54ad46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e26bd=>{let _0x553257=0x0;_0x1ff208[_0x54ad46([0x6d,0x6f,0x64,0x65,0x6c])][_0x54ad46([0x6f,0x6e])](_0x54ad46([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x102f35,_0x4ca2d4)=>{_0x4ca2d4[0x0][_0x54ad46([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x553257++,_0x553257==(0x100e050c^_0x207e80)&&(_0x4e26bd(),_0x102f35[_0x54ad46([0x6f,0x66,0x66])]());});}))];return window[_0x54ad46([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x54ad46([0x72,0x61,0x63,0x65])](_0x4ccd7d)[_0x54ad46([0x74,0x68,0x65,0x6e])](()=>_0x56d451);}async function _0x5be7e9(){await _0x561ae4,_0x1ff208[_0x54ad46([0x6d,0x6f,0x64,0x65,0x6c])][_0x54ad46([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb632f5,_0x1ff208[_0x54ad46([0x6d,0x6f,0x64,0x65,0x6c])][_0x54ad46([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb632f5,_0x1ff208[_0x54ad46([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x54ad46([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d7e89(_0x2faf1b){const _0x12f7d9=_0x496896();_0x1ff208[_0x12f7d9]=_0x54ad46([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2faf1b,_0x2faf1b!=_0x54ad46([0x56,0x61,0x6c,0x69,0x64])&&_0x5be7e9();}function _0x496896(){const _0x274128=window[_0x54ad46([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x54ad46([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x54ad46([0x6e,0x6f,0x77])]())[_0x54ad46([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x54ad46([0x2e]),'');let _0xbfa615=_0x54ad46([0x46]);for(let _0xf9beec=0x0;_0xf9beec<_0x274128[_0x54ad46([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf9beec+=0x2){let _0x2e685a=window[_0x54ad46([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x274128[_0x54ad46([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf9beec,_0xf9beec+0x2));_0x2e685a>=_0x2f1346[_0x54ad46([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e685a-=_0x2f1346[_0x54ad46([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbfa615+=_0x2f1346[_0x2e685a];}return _0xbfa615;}function _0x18d782(){const _0x2c29c6=_0x3c6812[_0x54ad46([0x73,0x70,0x6c,0x69,0x74])](_0x54ad46([0x2e]));if(0x3!=_0x2c29c6[_0x54ad46([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5242f7(_0x2c29c6[0x1]);function _0x5242f7(_0x1e0be1){const _0x50cd78=_0x7b5cdd(_0x1e0be1);return _0x50cd78&&_0x1b3551()?_0x50cd78:null;function _0x1b3551(){const _0x42e47a=_0x50cd78[_0x54ad46([0x6a,0x74,0x69])],_0x892121=window[_0x54ad46([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42e47a[_0x54ad46([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42e47a[_0x54ad46([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32e2cc={..._0x50cd78,[_0x54ad46([0x6a,0x74,0x69])]:_0x42e47a[_0x54ad46([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x42e47a[_0x54ad46([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32e2cc[_0x54ad46([0x76,0x63])],_0x184f97(_0x32e2cc)==_0x892121;}}}async function _0x3c0f77(){let _0xeafc3e=!0x0;try{const _0x32f984=_0x3c6812[_0x54ad46([0x73,0x70,0x6c,0x69,0x74])](_0x54ad46([0x2e])),[_0x5b106d,_0x28ab7f,_0x12589e]=_0x32f984;return _0x4c34cc(_0x5b106d),await _0xe2249c(_0x5b106d,_0x28ab7f,_0x12589e),_0xeafc3e;}catch(_0x243055){return!0x1;}function _0x4c34cc(_0x1ab947){const _0x16e539=_0x7b5cdd(_0x1ab947);_0x16e539&&_0x16e539[_0x54ad46([0x61,0x6c,0x67])]==_0x54ad46([0x45,0x53,0x32,0x35,0x36])||(_0xeafc3e=!0x1);}async function _0xe2249c(_0x4ecf2f,_0x24702f,_0x38b2c9){const _0x4b1ef8=window[_0x54ad46([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x54ad46([0x66,0x72,0x6f,0x6d])](_0x3fdd41(_0x38b2c9),_0x3f8c4d=>_0x3f8c4d[_0x54ad46([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x55d2dd=new window[(_0x54ad46([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x54ad46([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ecf2f+_0x54ad46([0x2e])+_0x24702f),_0x437b6d=window[_0x54ad46([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x54ad46([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x437b6d)return;const _0x1d0f58=await _0x437b6d[_0x54ad46([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x54ad46([0x6a,0x77,0x6b]),_0x1b42f9,{[_0x54ad46([0x6e,0x61,0x6d,0x65])]:_0x54ad46([0x45,0x43,0x44,0x53,0x41]),[_0x54ad46([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x54ad46([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x54ad46([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x437b6d[_0x54ad46([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x54ad46([0x6e,0x61,0x6d,0x65])]:_0x54ad46([0x45,0x43,0x44,0x53,0x41]),[_0x54ad46([0x68,0x61,0x73,0x68])]:{[_0x54ad46([0x6e,0x61,0x6d,0x65])]:_0x54ad46([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d0f58,_0x4b1ef8,_0x55d2dd)||(_0xeafc3e=!0x1);}}function _0x7b5cdd(_0x135a8b){return _0x135a8b[_0x54ad46([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x54ad46([0x65,0x79]))?JSON[_0x54ad46([0x70,0x61,0x72,0x73,0x65])](_0x3fdd41(_0x135a8b)):null;}function _0x3fdd41(_0x411f1f){return window[_0x54ad46([0x61,0x74,0x6f,0x62])](_0x411f1f[_0x54ad46([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x54ad46([0x2b]))[_0x54ad46([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x54ad46([0x2f])));}function _0x184f97(_0x1adb5b){let _0x3b7844=0x1505;function _0x2aa8bb(_0xca1248){for(let _0x144275=0x0;_0x144275<_0xca1248[_0x54ad46([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x144275++){const _0xff576=_0xca1248[_0x54ad46([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x144275);_0x3b7844=(_0x3b7844<<0x5)+_0x3b7844+_0xff576,_0x3b7844&=_0x3b7844;}}function _0x56497e(_0x5f29dc){Array[_0x54ad46([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f29dc)?_0x5f29dc[_0x54ad46([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x56497e):_0x5f29dc&&typeof _0x5f29dc==_0x54ad46([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x54ad46([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f29dc)[_0x54ad46([0x73,0x6f,0x72,0x74])]()[_0x54ad46([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x405a4b,_0x2dc9b6])=>{_0x2aa8bb(_0x405a4b),_0x56497e(_0x2dc9b6);}):_0x2aa8bb(window[_0x54ad46([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f29dc));}return _0x56497e(_0x1adb5b),_0x3b7844>>>0x0;}function _0x378200(_0x5e29da){return _0x5e29da[_0x54ad46([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x54ad46([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x54ad46([0x30]));}function _0x2e86a3(_0x375da3){return _0x375da3[_0x54ad46([0x73,0x70,0x6c,0x69,0x74])]('')[_0x54ad46([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x54ad46([0x6a,0x6f,0x69,0x6e])]('');}function _0xb632f5(){}function _0x54ad46(_0x4b1a22){const _0x3f610e=_0x2de3;return _0x4b1a22[_0x3f610e(0x125)](_0x3aa81b=>String[_0x3f610e(0x158)](_0x3aa81b))[_0x3f610e(0x150)]('');}_0x5d7e89(await _0x4b483c());}(this);}[_0x45c1cb(0x144)](){const _0x38f95a=_0x45c1cb,_0x2b9b22=this[_0x38f95a(0x14e)][_0x38f95a(0x148)];_0x2b9b22[_0x38f95a(0x11d)](_0x255d23=>{const _0x26012a=_0x38f95a,_0x9d49a4=_0x2b9b22[_0x26012a(0x131)][_0x26012a(0x14c)][_0x26012a(0x120)]();if(_0x2b9b22[_0x26012a(0x133)][_0x26012a(0x154)](u))_0x255d23[_0x26012a(0x12e)](u,{'range':_0x9d49a4});else{if(_0x9d49a4[_0x26012a(0x13a)][_0x26012a(0x14f)]){const _0x7e5037=_0x9d49a4[_0x26012a(0x13a)][_0x26012a(0x111)](({item:_0x17d40b})=>!_0x2b9b22[_0x26012a(0x112)][_0x26012a(0x136)](_0x17d40b),{'boundaries':_0x9d49a4});_0x255d23[_0x26012a(0x118)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x255d23[_0x26012a(0x146)](_0x7e5037,_0x9d49a4[_0x26012a(0x13b)])});}else _0x255d23[_0x26012a(0x118)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x9d49a4});}});}[_0x45c1cb(0x121)](){const _0x3bcb01=_0x45c1cb,_0x4987dc=this[_0x3bcb01(0x14e)][_0x3bcb01(0x148)];_0x4987dc[_0x3bcb01(0x133)][_0x3bcb01(0x154)](u)&&_0x4987dc[_0x3bcb01(0x11d)](_0x5a3c29=>{const _0x40030e=_0x3bcb01;_0x5a3c29[_0x40030e(0x11f)](u);});}[_0x45c1cb(0x129)](_0x50076f,_0x42534f){const _0x23c7c4=_0x45c1cb,_0x247192=_0x42534f||this[_0x23c7c4(0x14e)][_0x23c7c4(0x148)][_0x23c7c4(0x133)][_0x23c7c4(0x113)](u)[_0x23c7c4(0x128)]();if(!this[_0x23c7c4(0x14e)][_0x23c7c4(0x148)][_0x23c7c4(0x122)](_0x247192))return;const _0x44d7fe=this[_0x23c7c4(0x14e)][_0x23c7c4(0x10f)][_0x23c7c4(0x126)][_0x23c7c4(0x153)](_0x50076f),_0xdc173e=this[_0x23c7c4(0x14e)][_0x23c7c4(0x10f)][_0x23c7c4(0x135)](_0x44d7fe);this[_0x23c7c4(0x14e)][_0x23c7c4(0x148)][_0x23c7c4(0x11d)](_0x3a8861=>{const _0x39a865=_0x23c7c4;this[_0x39a865(0x121)]();const _0x2e6c67=this[_0x39a865(0x14e)][_0x39a865(0x148)][_0x39a865(0x129)](_0xdc173e,_0x247192);_0x2e6c67&&_0x3a8861[_0x39a865(0x13f)](_0x2e6c67);});}[_0x45c1cb(0x12a)](_0x373e21){const _0x3615c0=_0x45c1cb,{model:_0xb200d0}=this[_0x3615c0(0x14e)],_0x5bd028=Array[_0x3615c0(0x12c)](_0xb200d0[_0x3615c0(0x155)](this[_0x3615c0(0x14e)][_0x3615c0(0x148)][_0x3615c0(0x133)][_0x3615c0(0x113)](u)[_0x3615c0(0x128)]())[_0x3615c0(0x13d)]()),_0x3ba3f9=_0x5bd028[_0x3615c0(0x11a)]?_0xb200d0[_0x3615c0(0x134)](_0x5bd028[_0x3615c0(0x14d)]()):_0xb200d0[_0x3615c0(0x131)][_0x3615c0(0x14c)][_0x3615c0(0x10e)]();this[_0x3615c0(0x129)](_0x373e21,_0x3ba3f9);}}function _0x28c3(){const _0x564707=['markerRange','968755RyhcOB','showFakeVisualSelection','conversion','createRange','createUIElement','model','6AVLWzp','isOfficialPlugin','markerToElement','selection','pop','editor','isAtEnd','join','ai-ui','352770bhqOwE','toView','has','createSelection','132lyxLqF','href','fromCharCode','160RvUbdW','getLastPosition','data','isCollapsed','getLastMatchingPosition','schema','get','6653616NNyKRb','ai.useTheme','ck-fake-ai-selection','4291029xFHkUL','addMarker','110974XQQhAE','length','30uUDeyG','span','change','1059524EfQDIp','removeMarker','getFirstRange','hideFakeVisualSelection','canEditAt','config','isPremiumPlugin','map','processor','markerToHighlight','getRange','insertContent','insertContentBelow','addClass','from','416115ANusfb','updateMarker','pluginName','editingDowncast','document','afterInit','markers','createPositionAfter','toModel','isContent','init','AIAssistantEditing','for','start','end','push','getSelectedBlocks','7efEsng','setSelection','ck-ai-assistant-ui_theme','ck-fake-ai-selection_collapsed'];_0x28c3=function(){return _0x564707;};return _0x28c3();}
|
|
23
|
+
const _0x342f93=_0x23ce;(function(_0x4e98ac,_0x58b588){const _0x488669=_0x23ce,_0x550299=_0x4e98ac();while(!![]){try{const _0x22b8a4=-parseInt(_0x488669(0xe7))/0x1*(-parseInt(_0x488669(0xb8))/0x2)+-parseInt(_0x488669(0x113))/0x3*(-parseInt(_0x488669(0xe2))/0x4)+-parseInt(_0x488669(0xc8))/0x5+parseInt(_0x488669(0xd2))/0x6*(-parseInt(_0x488669(0x10f))/0x7)+parseInt(_0x488669(0x11a))/0x8+-parseInt(_0x488669(0x10a))/0x9*(-parseInt(_0x488669(0xec))/0xa)+-parseInt(_0x488669(0xd6))/0xb;if(_0x22b8a4===_0x58b588)break;else _0x550299['push'](_0x550299['shift']());}catch(_0x552835){_0x550299['push'](_0x550299['shift']());}}}(_0x40b3,0x6384c));import{uid as _0x54bb47}from'ckeditor5/src/utils.js';import{Plugin as _0x2416b9}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5c6646}from'ckeditor5/src/clipboard.js';function _0x23ce(_0x1ae770,_0x2efccb){const _0x40b35f=_0x40b3();return _0x23ce=function(_0x23ce40,_0x1ea027){_0x23ce40=_0x23ce40-0xad;let _0x1f44fe=_0x40b35f[_0x23ce40];return _0x1f44fe;},_0x23ce(_0x1ae770,_0x2efccb);}import{DomEventData as _0x5c1903,DataTransfer as _0x4ec866}from'ckeditor5/src/engine.js';const w=globalThis[_0x342f93(0xb9)],f=_0x342f93(0xd7);export default class a extends _0x2416b9{static get[_0x342f93(0xe3)](){const _0x344cee=_0x342f93;return _0x344cee(0xc0);}static get[_0x342f93(0xef)](){return!0x0;}static get[_0x342f93(0xb2)](){return!0x0;}[_0x342f93(0x109)](){const _0x3a2323=_0x342f93,{editor:_0x3a96e5}=this,_0x3795ba=[_0x3a2323(0xfd)];_0x3a96e5[_0x3a2323(0xd5)][_0x3a2323(0xe9)](_0x3a2323(0xde))&&_0x3795ba[_0x3a2323(0xbf)](_0x3a2323(0xee)),_0x3a96e5[_0x3a2323(0x118)][_0x3a2323(0xe1)](_0x3a2323(0x101))[_0x3a2323(0xc2)]({'model':f,'view':{'classes':_0x3795ba,'priority':0xc}}),_0x3a96e5[_0x3a2323(0x118)][_0x3a2323(0xe1)](_0x3a2323(0x101))[_0x3a2323(0xf7)]({'model':f,'view':(_0x5971a0,{writer:_0x16f3c4})=>{const _0x5b8c54=_0x3a2323;if(!_0x5971a0[_0x5b8c54(0xc1)][_0x5b8c54(0x112)])return null;const _0x30f777=_0x16f3c4[_0x5b8c54(0x103)](_0x5b8c54(0xd4));return _0x16f3c4[_0x5b8c54(0x104)]([_0x5b8c54(0xfd),_0x5b8c54(0x10c)],_0x30f777),_0x30f777;}});}[_0x342f93(0xf9)](){!async function(_0x21c22f){const _0x31647c=_0x77a298([0x52,0x48,0x66,0x6c,0x41,0x62,0x6b,0x61,0x42,0x5a,0x63,0x45,0x4b,0x71,0x53,0x78,0x46,0x4e,0x33,0x43,0x6a,0x37,0x56,0x65,0x67,0x69,0x77,0x54,0x44,0x70,0x4f,0x72,0x32,0x49,0x35,0x57,0x7a,0x59,0x36,0x47,0x31,0x6e,0x51,0x39,0x76,0x79,0x6f,0x75,0x58,0x74,0x50,0x4c,0x38,0x64,0x4a,0x34,0x4d,0x30,0x55,0x68,0x6d,0x73]),_0x5af079=0x15e67a3,_0xae56ed=0x1593a5b^_0x5af079,_0x2568e4=window[_0x77a298([0x44,0x61,0x74,0x65])][_0x77a298([0x6e,0x6f,0x77])](),_0x17ef88=_0x21c22f[_0x77a298([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e8994=new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31eafc=>{_0x17ef88[_0x77a298([0x6f,0x6e,0x63,0x65])](_0x77a298([0x72,0x65,0x61,0x64,0x79]),_0x31eafc);}),_0x31e82a={[_0x77a298([0x6b,0x74,0x79])]:_0x77a298([0x45,0x43]),[_0x77a298([0x75,0x73,0x65])]:_0x77a298([0x73,0x69,0x67]),[_0x77a298([0x63,0x72,0x76])]:_0x77a298([0x50,0x2d,0x32,0x35,0x36]),[_0x77a298([0x78])]:_0x77a298([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x77a298([0x79])]:_0x77a298([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x77a298([0x61,0x6c,0x67])]:_0x77a298([0x45,0x53,0x32,0x35,0x36])},_0x3d91ac=_0x17ef88[_0x77a298([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x77a298([0x67,0x65,0x74])](_0x77a298([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11d87a(){let _0x5a3e59,_0x17891c=null,_0x21fadd=null;try{if(_0x3d91ac==_0x77a298([0x47,0x50,0x4c]))return _0x77a298([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a3e59=_0x593476(),!_0x5a3e59)return _0x77a298([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a3e59[_0x77a298([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21fadd=_0x2566a1(_0x5a3e59[_0x77a298([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a3e59[_0x77a298([0x6a,0x74,0x69])])),await _0x5dfc4a()?_0x1b5e10()?_0x5f43ff()?_0x77a298([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ea8d4()?(_0x5a3e59[_0x77a298([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x77a298([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17891c=_0x3a416c(_0x77a298([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5a3e59[_0x77a298([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x77a298([0x74,0x72,0x69,0x61,0x6c])&&(_0x17891c=_0x3a416c(_0x77a298([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e4d38()):_0x77a298([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x77a298([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x77a298([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x15e36b){return _0x77a298([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f43ff(){const _0x3ac1b0=[_0x77a298([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x77a298([0x74,0x72,0x69,0x61,0x6c])][_0x77a298([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3e59[_0x77a298([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2568e4/0x3e8:0xe10*_0xae56ed;return _0x5a3e59[_0x77a298([0x65,0x78,0x70])]<_0x3ac1b0;}function _0x1b5e10(){const _0x579e9e=_0x5a3e59[_0x77a298([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x579e9e&&(!!_0x579e9e[_0x77a298([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77a298([0x2a]))||!!_0x579e9e[_0x77a298([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77a298([0x41,0x49])));}function _0x5ea8d4(){const _0x47a960=_0x23ce,_0xf9fefe=_0x5a3e59[_0x77a298([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf9fefe||0x0==_0xf9fefe[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54e090}=new URL(window[_0x77a298([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x47a960(0xae)]);if(_0xf9fefe[_0x77a298([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54e090))return!0x0;const _0x49837c=_0x54e090[_0x77a298([0x73,0x70,0x6c,0x69,0x74])](_0x77a298([0x2e]));return _0xf9fefe[_0x77a298([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26bb3c=>_0x26bb3c[_0x77a298([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77a298([0x2a])))[_0x77a298([0x6d,0x61,0x70])](_0x123c76=>_0x123c76[_0x77a298([0x73,0x70,0x6c,0x69,0x74])](_0x77a298([0x2e])))[_0x77a298([0x73,0x6f,0x6d,0x65])](_0x2d63a8=>_0x49837c[_0x77a298([0x65,0x76,0x65,0x72,0x79])]((_0x1bb9ff,_0x3df751)=>_0x2d63a8[_0x3df751]===_0x1bb9ff||_0x2d63a8[_0x3df751]===_0x77a298([0x2a])));}function _0x4e4d38(){return _0x17891c&&_0x21fadd?new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14af04,_0x23b058)=>{_0x17891c[_0x77a298([0x74,0x68,0x65,0x6e])](_0x14af04,_0x23b058),_0x21fadd[_0x77a298([0x74,0x68,0x65,0x6e])](_0x22c8b2=>{_0x22c8b2!=_0x77a298([0x56,0x61,0x6c,0x69,0x64])&&_0x14af04(_0x22c8b2);},_0x23b058);}):_0x17891c||_0x21fadd||_0x77a298([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2566a1(_0x46296b,_0x342380){return new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x248943=>{if(_0x2da96d())return _0x248943(_0x77a298([0x56,0x61,0x6c,0x69,0x64]));_0x5ba2b5(),_0x17ef88[_0x77a298([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x77a298([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x539136=!0x1;const _0x3551b1=_0x54bb47();function _0x5785d8(_0x7679ce){return!!_0x7679ce&&(typeof _0x7679ce===_0x77a298([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x7679ce===_0x77a298([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x7679ce[_0x77a298([0x74,0x68,0x65,0x6e])]===_0x77a298([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x7679ce[_0x77a298([0x63,0x61,0x74,0x63,0x68])]===_0x77a298([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x517c74(_0x3d199b){_0x48f32d(_0x3d199b)[_0x77a298([0x74,0x68,0x65,0x6e])](_0x420bd8=>{if(!_0x420bd8||_0x420bd8[_0x77a298([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x77a298([0x6f,0x6b]))return _0x77a298([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11423e(_0x24fb96(_0x3551b1+_0x342380))!=_0x420bd8[_0x77a298([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x77a298([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x77a298([0x56,0x61,0x6c,0x69,0x64]);})[_0x77a298([0x74,0x68,0x65,0x6e])](_0xa8279c=>(_0x39536a(),_0xa8279c),()=>{const _0x16603a=_0x65917d();return null==_0x16603a?(_0x39536a(),_0x77a298([0x56,0x61,0x6c,0x69,0x64])):_0x77a298(_0x2568e4-_0x16603a>(0x2552e3a3^_0x5af079)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x77a298([0x74,0x68,0x65,0x6e])](_0x248943)[_0x77a298([0x63,0x61,0x74,0x63,0x68])](()=>{_0x248943(_0x77a298([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e3a57=0x1688923^_0x5af079;function _0x39536a(){const _0x1fcc57=_0x77a298([0x6c,0x6c,0x63,0x74,0x2d])+_0x11423e(_0x24fb96(_0x46296b)),_0x3618dc=_0x47274a(_0x11423e(window[_0x77a298([0x4d,0x61,0x74,0x68])][_0x77a298([0x63,0x65,0x69,0x6c])](_0x2568e4/_0x5e3a57)));window[_0x77a298([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77a298([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fcc57,_0x3618dc);}function _0x65917d(){const _0x8b0bc2=_0x77a298([0x6c,0x6c,0x63,0x74,0x2d])+_0x11423e(_0x24fb96(_0x46296b)),_0x41a8f8=window[_0x77a298([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77a298([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8b0bc2);return _0x41a8f8?window[_0x77a298([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47274a(_0x41a8f8),0x10)*_0x5e3a57:null;}function _0x48f32d(_0x5e026f){return new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37243c,_0x49e518)=>{_0x5e026f[_0x77a298([0x74,0x68,0x65,0x6e])](_0x37243c,_0x49e518),window[_0x77a298([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49e518,0x15fb363^_0x5af079);});}}_0x17ef88[_0x77a298([0x6f,0x6e])](_0x77a298([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fbead,_0x5702fb)=>{if(_0x5702fb[0x0]!=_0x46296b)return _0x248943(_0x77a298([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5702fb[0x1]={..._0x5702fb[0x1],[_0x77a298([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3551b1};},{[_0x77a298([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77a298([0x68,0x69,0x67,0x68])}),_0x17ef88[_0x77a298([0x6f,0x6e])](_0x77a298([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe4e7=>{_0x5785d8(_0xe4e7[_0x77a298([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x539136=!0x0,_0x517c74(_0xe4e7[_0x77a298([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x77a298([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77a298([0x6c,0x6f,0x77])}),_0x3e8994[_0x77a298([0x74,0x68,0x65,0x6e])](()=>{_0x539136||_0x248943(_0x77a298([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2da96d(){return _0x17ef88[_0x77a298([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77a298([0x76,0x69,0x65,0x77])][_0x77a298([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x77a298([0x61,0x75,0x74,0x6f]);}function _0x5ba2b5(){_0x17ef88[_0x77a298([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77a298([0x76,0x69,0x65,0x77])][_0x77a298([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x77a298([0x61,0x75,0x74,0x6f]);}}function _0x3a416c(_0x42d99f){const _0x18d630=[new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d644=>setTimeout(_0x32d644,0x157596f^_0x5af079)),_0x3e8994[_0x77a298([0x74,0x68,0x65,0x6e])](()=>new window[(_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2118b3=>{let _0x65e747=0x0;_0x17ef88[_0x77a298([0x6d,0x6f,0x64,0x65,0x6c])][_0x77a298([0x6f,0x6e])](_0x77a298([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x461197,_0x1a4138)=>{_0x1a4138[0x0][_0x77a298([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x65e747++,_0x65e747==(0x15e665b^_0x5af079)&&(_0x2118b3(),_0x461197[_0x77a298([0x6f,0x66,0x66])]());});}))];return window[_0x77a298([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x77a298([0x72,0x61,0x63,0x65])](_0x18d630)[_0x77a298([0x74,0x68,0x65,0x6e])](()=>_0x42d99f);}async function _0xb91aba(){await _0x3e8994,_0x17ef88[_0x77a298([0x6d,0x6f,0x64,0x65,0x6c])][_0x77a298([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13b6e0,_0x17ef88[_0x77a298([0x6d,0x6f,0x64,0x65,0x6c])][_0x77a298([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13b6e0,_0x17ef88[_0x77a298([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x77a298([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c3576(_0x2c9d8){const _0x2523e2=_0x420516();_0x17ef88[_0x2523e2]=_0x77a298([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c9d8,_0x2c9d8!=_0x77a298([0x56,0x61,0x6c,0x69,0x64])&&_0xb91aba();}function _0x420516(){const _0x394d92=window[_0x77a298([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x77a298([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x77a298([0x6e,0x6f,0x77])]())[_0x77a298([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x77a298([0x2e]),'');let _0x4c7dc3=_0x77a298([0x52]);for(let _0x572128=0x0;_0x572128<_0x394d92[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x572128+=0x2){let _0x5ae694=window[_0x77a298([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x394d92[_0x77a298([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x572128,_0x572128+0x2));_0x5ae694>=_0x31647c[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ae694-=_0x31647c[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c7dc3+=_0x31647c[_0x5ae694];}return _0x4c7dc3;}function _0x593476(){const _0x4a911e=_0x3d91ac[_0x77a298([0x73,0x70,0x6c,0x69,0x74])](_0x77a298([0x2e]));if(0x3!=_0x4a911e[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x129832(_0x4a911e[0x1]);function _0x129832(_0x25dead){const _0x46e497=_0x2796ee(_0x25dead);return _0x46e497&&_0x52c950()?_0x46e497:null;function _0x52c950(){const _0x147bde=_0x46e497[_0x77a298([0x6a,0x74,0x69])],_0x5bdc8c=window[_0x77a298([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x147bde[_0x77a298([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x147bde[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x506a48={..._0x46e497,[_0x77a298([0x6a,0x74,0x69])]:_0x147bde[_0x77a298([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x147bde[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x506a48[_0x77a298([0x76,0x63])],_0x24fb96(_0x506a48)==_0x5bdc8c;}}}async function _0x5dfc4a(){let _0x303433=!0x0;try{const _0x4c7f32=_0x3d91ac[_0x77a298([0x73,0x70,0x6c,0x69,0x74])](_0x77a298([0x2e])),[_0x723468,_0x365394,_0x1d8042]=_0x4c7f32;return _0x72180b(_0x723468),await _0x5312eb(_0x723468,_0x365394,_0x1d8042),_0x303433;}catch(_0x519c71){return!0x1;}function _0x72180b(_0x3b4bbd){const _0x541363=_0x2796ee(_0x3b4bbd);_0x541363&&_0x541363[_0x77a298([0x61,0x6c,0x67])]==_0x77a298([0x45,0x53,0x32,0x35,0x36])||(_0x303433=!0x1);}async function _0x5312eb(_0x2b1cb4,_0x230190,_0x1ce758){const _0x9e3405=window[_0x77a298([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x77a298([0x66,0x72,0x6f,0x6d])](_0x45648e(_0x1ce758),_0x48dc61=>_0x48dc61[_0x77a298([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d1019=new window[(_0x77a298([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x77a298([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b1cb4+_0x77a298([0x2e])+_0x230190),_0x5c774a=window[_0x77a298([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x77a298([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c774a)return;const _0x21cf21=await _0x5c774a[_0x77a298([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x77a298([0x6a,0x77,0x6b]),_0x31e82a,{[_0x77a298([0x6e,0x61,0x6d,0x65])]:_0x77a298([0x45,0x43,0x44,0x53,0x41]),[_0x77a298([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x77a298([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x77a298([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c774a[_0x77a298([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x77a298([0x6e,0x61,0x6d,0x65])]:_0x77a298([0x45,0x43,0x44,0x53,0x41]),[_0x77a298([0x68,0x61,0x73,0x68])]:{[_0x77a298([0x6e,0x61,0x6d,0x65])]:_0x77a298([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21cf21,_0x9e3405,_0x1d1019)||(_0x303433=!0x1);}}function _0x2796ee(_0x349311){return _0x349311[_0x77a298([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x77a298([0x65,0x79]))?JSON[_0x77a298([0x70,0x61,0x72,0x73,0x65])](_0x45648e(_0x349311)):null;}function _0x45648e(_0x1da163){return window[_0x77a298([0x61,0x74,0x6f,0x62])](_0x1da163[_0x77a298([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x77a298([0x2b]))[_0x77a298([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x77a298([0x2f])));}function _0x24fb96(_0x671de4){let _0x3780a3=0x1505;function _0x83ef46(_0x2cd245){for(let _0x4d907c=0x0;_0x4d907c<_0x2cd245[_0x77a298([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d907c++){const _0x5d9456=_0x2cd245[_0x77a298([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d907c);_0x3780a3=(_0x3780a3<<0x5)+_0x3780a3+_0x5d9456,_0x3780a3&=_0x3780a3;}}function _0x5a9e39(_0x228d21){Array[_0x77a298([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x228d21)?_0x228d21[_0x77a298([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a9e39):_0x228d21&&typeof _0x228d21==_0x77a298([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x77a298([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x228d21)[_0x77a298([0x73,0x6f,0x72,0x74])]()[_0x77a298([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x52f89f,_0x26c9c4])=>{_0x83ef46(_0x52f89f),_0x5a9e39(_0x26c9c4);}):_0x83ef46(window[_0x77a298([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x228d21));}return _0x5a9e39(_0x671de4),_0x3780a3>>>0x0;}function _0x11423e(_0x4b01e2){return _0x4b01e2[_0x77a298([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x77a298([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x77a298([0x30]));}function _0x47274a(_0x177089){return _0x177089[_0x77a298([0x73,0x70,0x6c,0x69,0x74])]('')[_0x77a298([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x77a298([0x6a,0x6f,0x69,0x6e])]('');}function _0x13b6e0(){}function _0x77a298(_0x555cf7){const _0x2f33e1=_0x23ce;return _0x555cf7[_0x2f33e1(0x107)](_0x2459f6=>String[_0x2f33e1(0xaf)](_0x2459f6))[_0x2f33e1(0xcc)]('');}_0x2c3576(await _0x11d87a());}(this);}[_0x342f93(0xd8)](){const _0x25502f=_0x342f93,_0x45f75a=this[_0x25502f(0xc3)][_0x25502f(0xc7)];_0x45f75a[_0x25502f(0xdc)](_0xe26ee=>{const _0x14efde=_0x25502f,_0x1c005c=_0x45f75a[_0x14efde(0xce)][_0x14efde(0xbc)][_0x14efde(0xbe)]();let _0x337236=0x0;for(const _0x429e2d of _0x1c005c){const _0x54ff56=f+':'+_0x337236;if(_0x45f75a[_0x14efde(0xb0)][_0x14efde(0xea)](_0x54ff56))_0xe26ee[_0x14efde(0xe6)](_0x54ff56,{'range':_0x429e2d});else{if(_0x429e2d[_0x14efde(0xf1)][_0x14efde(0xba)]){const _0xcc6b2d=_0x429e2d[_0x14efde(0xf1)][_0x14efde(0x110)](({item:_0x8cd726})=>!_0x45f75a[_0x14efde(0xd0)][_0x14efde(0xca)](_0x8cd726),{'boundaries':_0x429e2d});_0xe26ee[_0x14efde(0x10b)](_0x54ff56,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xe26ee[_0x14efde(0xcb)](_0xcc6b2d,_0x429e2d[_0x14efde(0x10e)])});}else _0xe26ee[_0x14efde(0x10b)](_0x54ff56,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x429e2d});}_0x337236++;}});}[_0x342f93(0xfa)](){const _0xdf09e8=_0x342f93,_0x527464=this[_0xdf09e8(0xc3)][_0xdf09e8(0xc7)],_0x10a79b=Array[_0xdf09e8(0xcd)](this[_0xdf09e8(0xc3)][_0xdf09e8(0xc7)][_0xdf09e8(0xb0)][_0xdf09e8(0xed)](f));_0x10a79b[_0xdf09e8(0xbb)]&&_0x527464[_0xdf09e8(0xdc)](_0x536c1b=>{const _0x148b44=_0xdf09e8;_0x10a79b[_0x148b44(0xd3)](_0x43a372=>{const _0xe631cf=_0x148b44;_0x536c1b[_0xe631cf(0xd1)](_0x43a372);});});}[_0x342f93(0xf5)](_0x3c868e,_0x1ae3dc){const _0x1557ec=_0x342f93,_0x5e1dc5=this[_0x1557ec(0x100)](),_0x5909b6=_0x1ae3dc||_0x5e1dc5[_0x1557ec(0x116)]();this[_0x1557ec(0xc3)][_0x1557ec(0xc7)][_0x1557ec(0xff)](_0x5909b6)&&this[_0x1557ec(0xc3)][_0x1557ec(0xc7)][_0x1557ec(0xdc)](_0x4f2d16=>{const _0x164e76=_0x1557ec;this[_0x164e76(0xfa)](),_0x1ae3dc||this[_0x164e76(0xfb)](_0x4f2d16,_0x5e1dc5),this[_0x164e76(0x114)]({'insertAt':_0x5909b6,'writer':_0x4f2d16,'html':_0x3c868e});});}[_0x342f93(0xb4)](_0x3c9023){const _0x32ed26=_0x342f93,{model:_0x5aa76c}=this[_0x32ed26(0xc3)],_0x4aead4=this[_0x32ed26(0x100)]();_0x5aa76c[_0x32ed26(0xdc)](()=>{const _0x3ff578=_0x32ed26,_0x5af47f=this[_0x3ff578(0xcf)](_0x3c9023,_0x4aead4)||this[_0x3ff578(0x10d)](_0x4aead4);this[_0x3ff578(0xf5)](_0x3c9023,_0x5af47f);});}[_0x342f93(0x100)](){const _0x549b74=_0x342f93,_0x11f888=this[_0x549b74(0xc3)][_0x549b74(0xc7)],_0x2b68f4=Array[_0x549b74(0xcd)](_0x11f888[_0x549b74(0xb0)][_0x549b74(0xed)](f))[_0x549b74(0x107)](_0x2df696=>_0x2df696[_0x549b74(0xf4)]());return _0x11f888[_0x549b74(0xf6)](_0x2b68f4);}[_0x342f93(0x114)]({writer:_0x14b89a,html:_0x573b93,insertAt:_0x24ed3a}){const _0x26924d=_0x342f93,{view:_0x54af07}=this[_0x26924d(0xc3)][_0x26924d(0xdd)],_0xb4a34e=this[_0x26924d(0xc3)][_0x26924d(0xf3)][_0x26924d(0xe9)](_0x5c6646),_0x31d391=new w();_0x31d391[_0x26924d(0xb1)](_0x26924d(0xb6),_0x573b93);const _0x28bb7b=new ClipboardEvent(_0x26924d(0xc6),{'clipboardData':_0x31d391}),_0x883ee7=new _0x5c1903(_0x54af07,_0x28bb7b,{'dataTransfer':new _0x4ec866(_0x31d391)});_0x14b89a[_0x26924d(0xdf)](_0x24ed3a);const _0x23a0dc=(_0x11919d,_0x3203f7)=>{const _0x4eef34=_0x26924d;_0x3203f7[_0x4eef34(0xf2)]&&_0x14b89a[_0x4eef34(0xdf)](_0x3203f7[_0x4eef34(0xf2)]);};_0xb4a34e[_0x26924d(0xf0)](_0x26924d(0xbd),_0x23a0dc,{'priority':_0x26924d(0xb7)}),_0x54af07[_0x26924d(0xce)][_0x26924d(0xf8)](_0x26924d(0xc6),_0x883ee7),_0xb4a34e[_0x26924d(0xc9)](_0x26924d(0xbd),_0x23a0dc);}[_0x342f93(0x10d)](_0x12291b){const _0x2b2b5a=_0x342f93,{model:_0x168671}=this[_0x2b2b5a(0xc3)],_0x5b9c4d=Array[_0x2b2b5a(0xcd)](_0x12291b[_0x2b2b5a(0xe8)]());return _0x5b9c4d[_0x2b2b5a(0xbb)]?_0x168671[_0x2b2b5a(0x105)](_0x5b9c4d[_0x2b2b5a(0xe4)]()):_0x12291b[_0x2b2b5a(0x115)]();}[_0x342f93(0xcf)](_0x5e8335,_0x224ad3){const _0x2f1a69=_0x342f93,{model:_0x4c0308,plugins:_0x564258}=this[_0x2f1a69(0xc3)];if(_0x564258[_0x2f1a69(0xea)](_0x2f1a69(0xdb))){const _0x4b1dff=_0x564258[_0x2f1a69(0xe9)](_0x2f1a69(0xdb))[_0x2f1a69(0xda)](_0x224ad3);if(_0x4b1dff[_0x2f1a69(0xbb)]){const _0x4c9397=this[_0x2f1a69(0x111)](_0x5e8335),_0x4cdb5a=this[_0x2f1a69(0xeb)](_0x4b1dff,_0x4c9397);return _0x4c0308[_0x2f1a69(0xe5)](_0x4cdb5a,0x0);}}return null;}[_0x342f93(0x111)](_0x17d1e4){const _0x544acf=_0x342f93,_0x530421=this[_0x544acf(0xc3)][_0x544acf(0xf3)][_0x544acf(0xe9)](_0x544acf(0xdb)),_0x53444e=this[_0x544acf(0xc3)][_0x544acf(0xb3)][_0x544acf(0x11b)](_0x17d1e4),_0x5ceb71=Array[_0x544acf(0xcd)](_0x53444e[_0x544acf(0x108)]())[_0x544acf(0xc4)](_0x43a456=>_0x43a456['is'](_0x544acf(0xfc),_0x544acf(0xfe)));let _0x53eeab=0x0;return _0x5ceb71[_0x544acf(0xd3)](_0x374381=>{const _0x24b43b=_0x544acf;_0x53eeab+=_0x530421[_0x24b43b(0x106)](_0x374381);}),_0x53eeab;}[_0x342f93(0xeb)](_0xe283b7,_0x51f4ae){const _0xb899a8=_0x342f93,_0x1c6e0c=this[_0xb899a8(0xc3)][_0xb899a8(0xf3)][_0xb899a8(0xe9)](_0xb899a8(0xdb)),_0x255b75=_0x1c6e0c[_0xb899a8(0xc5)](_0xe283b7),_0x10ae85=_0x1c6e0c[_0xb899a8(0xb5)](_0xe283b7),_0x9628f7=_0x255b75[_0xb899a8(0x102)]+0x1,_0x3571ef=_0x10ae85[_0xb899a8(0xad)],_0x1c4d51=_0xe283b7[0x0][_0xb899a8(0xe0)](_0xb899a8(0xfe));for(let _0x4366aa=0x0;_0x4366aa<_0x51f4ae;_0x4366aa++)_0x1c6e0c[_0xb899a8(0xd9)](_0x1c4d51,{'at':_0x9628f7});return _0x1c4d51[_0xb899a8(0x117)](_0x9628f7)[_0xb899a8(0x117)](_0x3571ef);}[_0x342f93(0xfb)](_0x48bf7f,_0x45b793){const _0x3fab02=_0x342f93,{plugins:_0x1b4442}=this[_0x3fab02(0xc3)],{model:_0x88e428}=_0x48bf7f;if(!_0x1b4442[_0x3fab02(0xea)](_0x3fab02(0xdb)))return;_0x1b4442[_0x3fab02(0xe9)](_0x3fab02(0xdb))[_0x3fab02(0xda)](_0x45b793)[_0x3fab02(0xbb)]&&_0x88e428[_0x3fab02(0x119)](_0x45b793);}}function _0x40b3(){const _0x32da85=['getLastMatchingPosition','_getTableRowCountFromContent','isCollapsed','185787hvIcgx','_pasteHTMLUsingClipboard','getLastPosition','getFirstRange','getChild','conversion','deleteContent','476360xThCtF','parse','first','href','fromCharCode','markers','setData','isPremiumPlugin','data','insertContentBelow','getColumnIndexes','text/html','lowest','429140SaVrSe','DataTransfer','isAtEnd','length','selection','contentInsertion','getRanges','push','AIAssistantEditing','markerRange','markerToHighlight','editor','filter','getRowIndexes','paste','model','1523595XeBGXh','off','isContent','createRange','join','from','document','_prepareTableInsertBelowPosition','schema','removeMarker','1782odHObH','forEach','span','config','3457949pkHXNW','ai-ui','showFakeVisualSelection','insertRows','getSelectedTableCells','TableUtils','change','editing','ai.useTheme','setSelection','findAncestor','for','48OEqRKw','pluginName','pop','createPositionAt','updateMarker','3NdLDLW','getSelectedBlocks','get','has','_createEmptyTableRows','3570xrwHon','getMarkersGroup','ck-ai-assistant-ui_theme','isOfficialPlugin','once','start','resultRange','plugins','getRange','insertContent','createSelection','markerToElement','fire','afterInit','hideFakeVisualSelection','_resetContentOfSelectedTableCells','element','ck-fake-ai-selection','table','canEditAt','_getAISelection','editingDowncast','last','createUIElement','addClass','createPositionAfter','getRows','map','getChildren','init','7479wBgxKT','addMarker','ck-fake-ai-selection_collapsed','_getDefaultInsertBelowPosition','end','16884Sznret'];_0x40b3=function(){return _0x32da85;};return _0x40b3();}
|
package/src/aiassistantui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/aiassistantui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xe14aab=_0x3120;(function(_0x3888c4,_0x1c34c7){const _0x47ab40=_0x3120,_0x1c6f4d=_0x3888c4();while(!![]){try{const _0x4013bf=-parseInt(_0x47ab40(0x10a))/0x1*(parseInt(_0x47ab40(0x1a8))/0x2)+parseInt(_0x47ab40(0x187))/0x3*(-parseInt(_0x47ab40(0x110))/0x4)+parseInt(_0x47ab40(0x130))/0x5+-parseInt(_0x47ab40(0x173))/0x6+-parseInt(_0x47ab40(0x10d))/0x7+-parseInt(_0x47ab40(0x191))/0x8+parseInt(_0x47ab40(0x178))/0x9;if(_0x4013bf===_0x1c34c7)break;else _0x1c6f4d['push'](_0x1c6f4d['shift']());}catch(_0x2cc8e5){_0x1c6f4d['push'](_0x1c6f4d['shift']());}}}(_0x1344,0x9d6cb));import{Plugin as _0x1f8c54}from'ckeditor5/src/core.js';import{first as _0x44ba26,CKEditorError as _0x4f7f63}from'ckeditor5/src/utils.js';import{createDropdown as _0x5cea75,addMenuToDropdown as _0x54179c,ButtonView as _0x181266,MenuBarMenuListItemButtonView as _0x31816a,Dialog as _0x5f0ff1,DialogViewPosition as _0x20766c,MenuBarMenuView as _0x326110,MenuBarMenuListView as _0x4e8a2b,MenuBarMenuListItemView as _0x5db70e}from'ckeditor5/src/ui.js';import{icons as _0xea4b0d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3120(_0x40dd41,_0x243bca){const _0x134449=_0x1344();return _0x3120=function(_0x3120d3,_0x2b6c18){_0x3120d3=_0x3120d3-0x10a;let _0x4006b0=_0x134449[_0x3120d3];return _0x4006b0;},_0x3120(_0x40dd41,_0x243bca);}import{normalizeCommandsConfig as _0x14574b,UNGROUPED_COMMANDS_GROUP_ID as _0x245d00}from'./utils/normalizecommandsconfig.js';import _0x20d297 from'./aiassistantediting.js';import _0x38f7e9 from'./adapters/aiadapter.js';import{getTranslation as _0x54ffa6}from'./utils/common-translations.js';import _0x1b0619 from'./ui/showaiassistantcommand.js';function _0x1344(){const _0x102b35=['hideFakeVisualSelection','destroy','isOfficialPlugin','aiCommands','splice','_formView','fieldView','getSelectedBlocks','DataTransfer','announce','children','trim','expired','_commandDefinitions','push','text/html','tableOfContents','4182650wjPXZy','EDITOR_TOP_SIDE','menuPanelClass','promptView','execute','menuView','get','text','Generated\x20content:\x20%0','getData','</p>','values','map','updateView','INSERT','buttons','order','aiLicenseKeyEvaluationLimit','robotPencil','body','set','_aiAdapter','featureNotAllowed','domainLimit','change:enabledCommandsIds','usageLimit','insertContent','render','change','isOn','copy','replace','isPremiumPlugin','sort','rawHtml','panelView','change:isProcessing','isCollapsed','queryView','menuBar:aiAssistant','showFakeVisualSelection','_forceMarkersCopy','textAdapter','config','from','hideUI','licenseKey','aiAssistant','change:value','delegate','ck-ai-assistant-button\x20','AI\x20Commands','enabledCommandsIds','aiLicenseKeyNotAllowed','aiLicenseKeyTrialLimit','REPLACE','aiLicenseKeyValid','locale','_createAIAssistantUIButton','schema','prompt','ai.aiAssistant.contentAreaCssClass','replaceContent','_dialog','AIAssistant','groupLabel','addMany','4845486OEqBjN','editing','wasMoved','updatePosition','length','38003364JoZKMa','show','evaluationLimit','listenTo','fire','once','menuitemcheckbox','developmentLimit','isFlat','document','<p>','ck-ai-commands-dropdown\x20','model','requires','pluginName','141294Rmhcxc','aiLicenseKeyUsageLimit','errorView','insertContentBelow','aiLicenseKeyDomainLimit','ai-commands-config-order-collision','groupId','source','bind','showUI','5203112ndikNK','custom','command:','ck-ai-assistant-ui','_uiCssClasses','_initAriaAiStatusChangeAnnouncements','componentFactory','_populateMenuBarMenu','ai.aiAssistant.commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20is\x20writing','items','label','contentArea','AI\x20Assistant','_getMenuBarGroupButtons','aiLicenseKeyExpired','init','buttonView','commands','media','showAIAssistant','add','28bdccKj','define','aiLicenseKeyInvalid','isEnabled','comment','includes','_getResolvedCommandsDefinitions','getLimitElement','menuBar:aiCommands','hide','plugins','getSelectedElement','setSelection','update','requiresContent','_showLicenseError','ai.useTheme','\x20ck-ai-assistant-ui_theme','focus','filter','91081vlOEnR','_onExecute','trialLimit','7482559uNRavJ','view','_initView','52ahOnEZ','change:isError','_licenseKeyCheckInterval','editor','_aiAssistantController','forEach','ai.aiAssistant.disabledElements','aiLicenseKeyDevelopmentLimit','invalid','getRanges','polite','selection','reset','currentContext','AIAssistantUI'];_0x1344=function(){return _0x102b35;};return _0x1344();}import _0x318a7a from'./ui/aiassistantcontroller.js';import _0x23a4da from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x228fd3}from'./ui/form/aiformtoolbarview.js';import _0x184a87 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0xe14aab(0x127)];import{ClipboardMarkersUtils as _0x2cce70}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x115a71,DataTransfer as _0x143c67}from'ckeditor5/src/engine.js';export default class n extends _0x1f8c54{static get[_0xe14aab(0x186)](){const _0x2026a0=_0xe14aab;return _0x2026a0(0x11e);}static get[_0xe14aab(0x121)](){return!0x0;}static get[_0xe14aab(0x150)](){return!0x0;}static get[_0xe14aab(0x185)](){return[_0x2cce70,_0x20d297,_0x38f7e9,_0x5f0ff1];}constructor(_0x9dbaf){const _0x4e8b66=_0xe14aab;super(_0x9dbaf),this[_0x4e8b66(0x195)]='',_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x116),[_0x4e8b66(0x1a5),_0x4e8b66(0x152),_0x4e8b66(0x12f)]),_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x16d),''),_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x1b8),!0x0),this[_0x4e8b66(0x195)]=_0x4e8b66(0x194)+(_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x136)](_0x4e8b66(0x1b8))?_0x4e8b66(0x1b9):'');}[_0xe14aab(0x1a2)](){const _0x36efe4=_0xe14aab,{editor:_0x5442ee}=this;this[_0x36efe4(0x145)]=_0x5442ee[_0x36efe4(0x1b2)][_0x36efe4(0x136)](_0x38f7e9),this[_0x36efe4(0x16f)]=_0x5442ee[_0x36efe4(0x1b2)][_0x36efe4(0x136)](_0x5f0ff1),this[_0x36efe4(0x124)]=null,this[_0x36efe4(0x12c)]=this[_0x36efe4(0x1ae)]();const _0x12014d=new _0x1b0619(_0x5442ee,Array[_0x36efe4(0x15c)](this[_0x36efe4(0x12c)][_0x36efe4(0x13b)]()));_0x5442ee[_0x36efe4(0x1a4)][_0x36efe4(0x1a7)](_0x36efe4(0x1a6),_0x12014d),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x122),_0x280efb=>{const _0x591b66=_0x36efe4,_0x964a55=_0x5cea75(_0x280efb);return _0x964a55[_0x591b66(0x144)]({'class':_0x591b66(0x183)+this[_0x591b66(0x195)]}),_0x964a55[_0x591b66(0x1a3)][_0x591b66(0x144)]({'label':_0x54ffa6(_0x280efb,_0x591b66(0x163)),'icon':_0x184a87,'tooltip':!0x0}),_0x964a55['on'](_0x591b66(0x134),_0x42c463=>this[_0x591b66(0x10b)](_0x42c463[_0x591b66(0x18e)]['id'])),_0x54179c(_0x964a55,_0x5442ee['ui'][_0x591b66(0x10e)][_0x591b66(0x143)],function(_0x3cdb77){const _0x3cab69=_0x591b66,_0x466411=_0x14574b(_0x3cdb77[_0x3cab69(0x15b)][_0x3cab69(0x136)](_0x3cab69(0x199)),_0x3cdb77[_0x3cab69(0x169)]),_0x24858c=B(_0x3cdb77,_0x466411)[_0x3cab69(0x1bb)](_0x17f57f=>_0x17f57f[_0x3cab69(0x1a4)][_0x3cab69(0x177)]);if(0x1===_0x24858c[_0x3cab69(0x177)])return B(_0x3cdb77,_0x24858c[0x0][_0x3cab69(0x1a4)])[_0x3cab69(0x13c)](_0x163c6b=>({'id':_0x163c6b['id'],'label':_0x163c6b[_0x3cab69(0x19d)]}));return _0x24858c[_0x3cab69(0x13c)](_0x5b2135=>{const _0x59a919=_0x3cab69,{groupId:_0x4c7a40,groupLabel:_0x1ddd04,commands:_0x40efd1}=_0x5b2135,_0x251992=B(_0x3cdb77,_0x40efd1)[_0x59a919(0x13c)](_0x41ca2b=>({'id':_0x41ca2b['id'],'label':_0x41ca2b[_0x59a919(0x19d)]}));return{'id':_0x4c7a40,'menu':_0x1ddd04||_0x4c7a40,'children':_0x251992};});}(_0x5442ee),{'ariaLabel':_0x54ffa6(_0x280efb,_0x591b66(0x163))}),_0x964a55[_0x591b66(0x135)][_0x591b66(0x132)]=_0x591b66(0x183)+this[_0x591b66(0x195)],_0x12014d['on'](_0x591b66(0x148),_0x488fc0),_0x964a55[_0x591b66(0x135)][_0x591b66(0x17d)](_0x591b66(0x14b),_0x488fc0),_0x964a55;function _0x488fc0(){const _0x2eaaaf=_0x591b66;_0x964a55[_0x2eaaaf(0x1ab)]=_0x12014d[_0x2eaaaf(0x164)][_0x2eaaaf(0x177)]>0x0;for(const _0x5d1395 of _0x964a55[_0x2eaaaf(0x135)][_0x2eaaaf(0x13f)])_0x5d1395[_0x2eaaaf(0x1ab)]=_0x12014d[_0x2eaaaf(0x164)][_0x2eaaaf(0x1ad)](_0x5d1395['id']);}}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x1b0),_0x2f00a1=>{const _0x15446b=_0x36efe4,_0x12dfdd=new _0x326110(_0x2f00a1);_0x12dfdd[_0x15446b(0x1a3)][_0x15446b(0x144)]({'label':_0x54ffa6(_0x2f00a1,_0x15446b(0x163)),'icon':_0x184a87}),_0x12dfdd[_0x15446b(0x18f)](_0x15446b(0x1ab))['to'](_0x12014d,_0x15446b(0x164),_0x462572=>_0x462572[_0x15446b(0x177)]>0x0);const _0x2fa67a=_0x14574b(_0x5442ee[_0x15446b(0x15b)][_0x15446b(0x136)](_0x15446b(0x199)),_0x2f00a1);return this[_0x15446b(0x198)](_0x12014d,_0x12dfdd,_0x2fa67a,_0x5b42a0=>this[_0x15446b(0x10b)](_0x5b42a0)),_0x12dfdd;}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x15f),()=>{const _0x12a6d6=_0x36efe4,_0x3ca514=this[_0x12a6d6(0x16a)](_0x181266);return _0x3ca514[_0x12a6d6(0x144)]({'tooltip':!0x0,'class':_0x12a6d6(0x162)+this[_0x12a6d6(0x195)]}),_0x3ca514;}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x157),()=>{const _0x1e6f23=_0x36efe4,_0x1e8ce6=this[_0x1e6f23(0x16a)](_0x31816a);return _0x1e8ce6[_0x1e6f23(0x144)]({'role':_0x1e6f23(0x17e)}),_0x1e8ce6;}),this[_0x36efe4(0x15e)]=this[_0x36efe4(0x113)][_0x36efe4(0x15b)][_0x36efe4(0x136)](_0x36efe4(0x15e));const _0x164ba1=this[_0x36efe4(0x113)];this[_0x36efe4(0x112)]=setInterval(()=>{const _0x5e53a1=_0x36efe4;let _0x5e5862;for(const _0x2e5b3c in _0x164ba1){const _0x28b5ce=_0x2e5b3c,_0x17c3ae=_0x164ba1[_0x28b5ce];if(_0x5e53a1(0x168)==_0x17c3ae||_0x5e53a1(0x1aa)==_0x17c3ae||_0x5e53a1(0x1a1)==_0x17c3ae||_0x5e53a1(0x18b)==_0x17c3ae||_0x5e53a1(0x165)==_0x17c3ae||_0x5e53a1(0x141)==_0x17c3ae||_0x5e53a1(0x166)==_0x17c3ae||_0x5e53a1(0x117)==_0x17c3ae||_0x5e53a1(0x188)==_0x17c3ae){delete _0x164ba1[_0x28b5ce],_0x5e5862=_0x17c3ae,clearInterval(this[_0x5e53a1(0x112)]),this[_0x5e53a1(0x112)]=void 0x0;break;}}_0x5e53a1(0x1aa)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x118)),_0x5e53a1(0x1a1)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x12b)),_0x5e53a1(0x18b)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x147)),_0x5e53a1(0x165)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x146),_0x5e53a1(0x170)),_0x5e53a1(0x141)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x17a)),_0x5e53a1(0x166)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x10c)),_0x5e53a1(0x117)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x17f)),_0x5e53a1(0x188)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x149));},0x3e8);}[_0xe14aab(0x120)](){const _0x7181fb=_0xe14aab;super[_0x7181fb(0x120)](),this[_0x7181fb(0x112)]&&clearInterval(this[_0x7181fb(0x112)]);}[_0xe14aab(0x190)](_0x13d0a6='',_0x1ef584='',_0x578bf1=_0xe14aab(0x192)){const _0x2f7d47=_0xe14aab,_0x5d6032=this[_0x2f7d47(0x113)],_0x19d314=_0x5d6032[_0x2f7d47(0x174)][_0x2f7d47(0x10e)],_0x33eaf2=_0x5d6032[_0x2f7d47(0x1b2)][_0x2f7d47(0x136)](_0x20d297),_0x571756=_0x5d6032[_0x2f7d47(0x1b2)][_0x2f7d47(0x136)](_0x2cce70);_0x33eaf2[_0x2f7d47(0x158)]();const _0x37e819=new j(),_0x338518=new ClipboardEvent(_0x2f7d47(0x14e),{'clipboardData':_0x37e819}),_0x7bc270=new _0x143c67(_0x37e819),_0x5f100e=new _0x115a71(_0x19d314,_0x338518,{'dataTransfer':_0x7bc270});_0x571756[_0x2f7d47(0x159)](_0x2f7d47(0x1ac),()=>{const _0x13e7d7=_0x2f7d47;_0x19d314[_0x13e7d7(0x181)][_0x13e7d7(0x17c)](_0x13e7d7(0x14e),_0x5f100e);}),this[_0x2f7d47(0x124)]||(this[_0x2f7d47(0x10f)](),this[_0x2f7d47(0x114)]=new _0x318a7a(_0x5d6032,this[_0x2f7d47(0x145)][_0x2f7d47(0x15a)],this[_0x2f7d47(0x124)]));let _0x29b333=_0x7bc270[_0x2f7d47(0x139)](_0x2f7d47(0x12e));const _0xd26e32=_0x5d6032[_0x2f7d47(0x184)][_0x2f7d47(0x181)][_0x2f7d47(0x11b)],_0x5927dd=Array[_0x2f7d47(0x15c)](_0xd26e32[_0x2f7d47(0x119)]());0x1===_0x5927dd[_0x2f7d47(0x177)]&&_0x5927dd[0x0][_0x2f7d47(0x180)]&&!_0xd26e32[_0x2f7d47(0x1b3)]()&&''!==_0x29b333[_0x2f7d47(0x14f)](/ /g,'')[_0x2f7d47(0x12a)]()&&(_0x29b333=_0x2f7d47(0x182)+_0x29b333+_0x2f7d47(0x13a)),this[_0x2f7d47(0x114)][_0x2f7d47(0x13d)]({'actionId':_0x578bf1,'query':_0x13d0a6,'htmlContent':_0x29b333,'label':_0x1ef584,'mainActionLabel':_0x228fd3[_0x5d6032[_0x2f7d47(0x184)][_0x2f7d47(0x181)][_0x2f7d47(0x11b)][_0x2f7d47(0x155)]?_0x2f7d47(0x13e):_0x2f7d47(0x167)]}),_0x2f7d47(0x15f)!==this[_0x2f7d47(0x16f)]['id']?this[_0x2f7d47(0x16f)][_0x2f7d47(0x179)]({'id':_0x2f7d47(0x15f),'icon':_0xea4b0d[_0x2f7d47(0x142)],'title':_0x54ffa6(this[_0x2f7d47(0x113)][_0x2f7d47(0x169)],_0x2f7d47(0x19f)),'content':this[_0x2f7d47(0x124)],'position':_0x20766c[_0x2f7d47(0x131)],'onShow':()=>{const _0x101252=_0x2f7d47;this[_0x101252(0x124)][_0x101252(0x1ba)]();},'onHide':()=>{const _0x25623c=_0x2f7d47;this[_0x25623c(0x114)][_0x25623c(0x11c)](),_0x33eaf2[_0x25623c(0x11f)]();}}):this[_0x2f7d47(0x16f)][_0x2f7d47(0x10e)][_0x2f7d47(0x175)]||this[_0x2f7d47(0x16f)][_0x2f7d47(0x10e)][_0x2f7d47(0x176)]();}[_0xe14aab(0x15d)](){const _0x3da1d0=_0xe14aab;this[_0x3da1d0(0x16f)][_0x3da1d0(0x1b1)]();}[_0xe14aab(0x1ae)](){const _0x2be6e3=_0xe14aab,_0x13b0d0=new Map(),_0x3a8a11=_0x14574b(this[_0x2be6e3(0x113)][_0x2be6e3(0x15b)][_0x2be6e3(0x136)](_0x2be6e3(0x199)),this[_0x2be6e3(0x113)][_0x2be6e3(0x169)]);for(const _0xcf8a42 of _0x3a8a11)for(const _0x18f06c of _0xcf8a42[_0x2be6e3(0x1a4)])_0x13b0d0[_0x2be6e3(0x144)](_0x18f06c['id'],{..._0x18f06c,'groupId':_0xcf8a42[_0x2be6e3(0x18d)],'groupLabel':_0xcf8a42[_0x2be6e3(0x171)]||_0xcf8a42[_0x2be6e3(0x18d)]});return _0x13b0d0;}[_0xe14aab(0x16a)](_0x28ffe1){const _0x1788b4=_0xe14aab,_0x1b990f=this[_0x1788b4(0x113)],_0x46d617=_0x1b990f[_0x1788b4(0x1a4)][_0x1788b4(0x136)](_0x1788b4(0x1a6)),_0x4e52e5=new _0x28ffe1(_0x1b990f[_0x1788b4(0x169)]);return _0x4e52e5[_0x1788b4(0x144)]({'label':_0x54ffa6(_0x1b990f[_0x1788b4(0x169)],_0x1788b4(0x19f)),'icon':_0xea4b0d[_0x1788b4(0x142)],'isToggleable':!0x0}),_0x4e52e5[_0x1788b4(0x18f)](_0x1788b4(0x1ab))['to'](_0x46d617),_0x4e52e5[_0x1788b4(0x18f)](_0x1788b4(0x14d))['to'](this[_0x1788b4(0x16f)],'id',_0x173416=>_0x1788b4(0x15f)===_0x173416),this[_0x1788b4(0x17b)](_0x4e52e5,_0x1788b4(0x134),()=>{const _0x4d75c2=_0x1788b4;_0x4e52e5[_0x4d75c2(0x14d)]?this[_0x4d75c2(0x15d)]():_0x46d617[_0x4d75c2(0x134)]();}),_0x4e52e5;}[_0xe14aab(0x10f)](){const _0x57d726=_0xe14aab,_0x1138fa=this[_0x57d726(0x113)][_0x57d726(0x1b2)][_0x57d726(0x136)](_0x20d297);this[_0x57d726(0x124)]=new _0x23a4da(this[_0x57d726(0x113)][_0x57d726(0x169)],this[_0x57d726(0x195)],this[_0x57d726(0x113)][_0x57d726(0x15b)][_0x57d726(0x136)](_0x57d726(0x16d))),this[_0x57d726(0x124)]['on'](_0x57d726(0x160),()=>{const _0x6e02b=_0x57d726;this[_0x6e02b(0x16f)][_0x6e02b(0x10e)][_0x6e02b(0x175)]||this[_0x6e02b(0x16f)][_0x6e02b(0x10e)][_0x6e02b(0x176)]();}),this[_0x57d726(0x124)][_0x57d726(0x133)][_0x57d726(0x156)][_0x57d726(0x125)]['on'](_0x57d726(0x1b5),()=>{const _0x43ad95=_0x57d726;this[_0x43ad95(0x16f)][_0x43ad95(0x10e)][_0x43ad95(0x175)]||this[_0x43ad95(0x16f)][_0x43ad95(0x10e)][_0x43ad95(0x176)]();}),this[_0x57d726(0x17b)](this[_0x57d726(0x124)],_0x57d726(0x16e),()=>{const _0x572019=_0x57d726;_0x1138fa[_0x572019(0x14a)](this[_0x572019(0x114)][_0x572019(0x11d)]),this[_0x572019(0x15d)]();}),this[_0x57d726(0x17b)](this[_0x57d726(0x124)],_0x57d726(0x18a),()=>{const _0x304972=_0x57d726;_0x1138fa[_0x304972(0x18a)](this[_0x304972(0x114)][_0x304972(0x11d)]),this[_0x304972(0x15d)]();}),this[_0x57d726(0x196)]();}[_0xe14aab(0x196)](){const _0x473929=_0xe14aab,{locale:_0x129937,ui:{ariaLiveAnnouncer:_0x5e7d91}}=this[_0x473929(0x113)];this[_0x473929(0x124)][_0x473929(0x19e)]['on'](_0x473929(0x154),(_0x2204a4,_0x4e3302,_0x4e190c)=>{const _0x5559cc=_0x473929,_0x37c919=this[_0x5559cc(0x114)][_0x5559cc(0x11d)];_0x4e190c?_0x5e7d91[_0x5559cc(0x128)](_0x54ffa6(_0x129937,_0x5559cc(0x19b))):_0x37c919&&_0x5e7d91[_0x5559cc(0x128)](_0x54ffa6(_0x129937,_0x5559cc(0x138),_0x37c919),{'politeness':_0x5559cc(0x11a),'isUnsafeHTML':!0x0});}),this[_0x473929(0x124)]['on'](_0x473929(0x111),(_0x11fdb3,_0x221bb1,_0x1d8e70)=>{const _0x4759f0=_0x473929;if(_0x1d8e70){const _0x222f18=this[_0x4759f0(0x124)][_0x4759f0(0x189)][_0x4759f0(0x137)];_0x5e7d91[_0x4759f0(0x128)](_0x54ffa6(_0x129937,_0x4759f0(0x19a),_0x222f18));}});}[_0xe14aab(0x10b)](_0x6ec913){const _0x333cf1=_0xe14aab,_0x3b156e=this[_0x333cf1(0x12c)][_0x333cf1(0x136)](_0x6ec913),_0x148686=this[_0x333cf1(0x113)],_0x27a61d=_0x148686[_0x333cf1(0x184)][_0x333cf1(0x181)][_0x333cf1(0x11b)],_0x291003=_0x148686[_0x333cf1(0x1a4)][_0x333cf1(0x136)](_0x333cf1(0x1a6)),_0x62924a=_0x148686[_0x333cf1(0x1b2)][_0x333cf1(0x136)](_0x20d297),_0x91222a=''+(_0x3b156e[_0x333cf1(0x18d)]!==_0x245d00?_0x3b156e[_0x333cf1(0x171)]+':\x20':'')+_0x3b156e[_0x333cf1(0x19d)];if(!0x1!==_0x3b156e[_0x333cf1(0x1b6)]&&_0x27a61d[_0x333cf1(0x155)]){const _0x2065d0=_0x44ba26(_0x27a61d[_0x333cf1(0x126)]())||_0x148686[_0x333cf1(0x184)][_0x333cf1(0x16b)][_0x333cf1(0x1af)](_0x27a61d);_0x148686[_0x333cf1(0x184)][_0x333cf1(0x14c)](_0x177397=>{const _0x57af82=_0x333cf1;_0x177397[_0x57af82(0x1b4)](_0x2065d0,'in');});}_0x62924a[_0x333cf1(0x158)](),_0x291003[_0x333cf1(0x134)](_0x3b156e[_0x333cf1(0x16c)],_0x91222a,_0x333cf1(0x193)+_0x6ec913);}[_0xe14aab(0x198)](_0x30aaa7,_0x443bfc,_0x44cfd3,_0x1cff3e){const _0x4d833d=_0xe14aab,_0xaf4361=this[_0x4d833d(0x113)],_0x51af18=_0xaf4361[_0x4d833d(0x169)],_0x47be9e=new _0x4e8a2b(_0x51af18),_0x46bbbb=B(_0xaf4361,_0x44cfd3)[_0x4d833d(0x1bb)](_0x4c4686=>_0x4c4686[_0x4d833d(0x1a4)][_0x4d833d(0x177)]);0x1===_0x46bbbb[_0x4d833d(0x177)]?this[_0x4d833d(0x1a0)]({'command':_0x30aaa7,'commands':_0x46bbbb[0x0][_0x4d833d(0x1a4)],'parentMenuView':_0x443bfc,'onExecute':_0x1cff3e})[_0x4d833d(0x115)](_0x513be6=>_0x47be9e[_0x4d833d(0x19c)][_0x4d833d(0x1a7)](_0x513be6)):_0x46bbbb[_0x4d833d(0x115)](({groupId:_0xff0d6a,groupLabel:_0x28ddf3,commands:_0xf936de})=>{const _0x5a0ba8=_0x4d833d,_0x2a25b9=new _0x5db70e(_0x51af18,_0x443bfc),_0x860720=new _0x326110(_0x51af18),_0x488d33=new _0x4e8a2b(_0x51af18),_0x175d61=this[_0x5a0ba8(0x1a0)]({'command':_0x30aaa7,'commands':_0xf936de,'parentMenuView':_0x860720,'onExecute':_0x1cff3e});_0x860720[_0x5a0ba8(0x1a3)][_0x5a0ba8(0x144)]({'label':_0x28ddf3||_0xff0d6a}),_0x860720[_0x5a0ba8(0x161)](_0x5a0ba8(0x134))['to'](_0x443bfc),_0x488d33[_0x5a0ba8(0x19c)][_0x5a0ba8(0x172)](_0x175d61),_0x860720[_0x5a0ba8(0x153)][_0x5a0ba8(0x129)][_0x5a0ba8(0x1a7)](_0x488d33),_0x2a25b9[_0x5a0ba8(0x129)][_0x5a0ba8(0x1a7)](_0x860720),_0x47be9e[_0x5a0ba8(0x19c)][_0x5a0ba8(0x1a7)](_0x2a25b9);}),_0x443bfc[_0x4d833d(0x153)][_0x4d833d(0x129)][_0x4d833d(0x1a7)](_0x47be9e);}[_0xe14aab(0x1a0)]({command:_0x5c31b2,commands:_0x3d8fba,parentMenuView:_0x192342,onExecute:_0x221c0e}){const _0x381d4b=_0xe14aab,_0x463908=this[_0x381d4b(0x113)],_0x6fa25e=_0x463908[_0x381d4b(0x169)];return B(_0x463908,_0x3d8fba)[_0x381d4b(0x13c)](_0x499e4c=>{const _0x2763cd=_0x381d4b,_0x4f6e40=new _0x5db70e(_0x6fa25e,_0x192342),_0x192540=new _0x31816a(_0x6fa25e);return _0x192540[_0x2763cd(0x144)]({'label':_0x499e4c[_0x2763cd(0x19d)]}),_0x192540[_0x2763cd(0x161)](_0x2763cd(0x134))['to'](_0x192342),_0x192540['on'](_0x2763cd(0x134),()=>_0x221c0e(_0x499e4c['id'])),_0x192540[_0x2763cd(0x18f)](_0x2763cd(0x1ab))['to'](_0x5c31b2,_0x2763cd(0x164),_0x25847c=>_0x25847c[_0x2763cd(0x1ad)](_0x499e4c['id'])),_0x4f6e40[_0x2763cd(0x129)][_0x2763cd(0x1a7)](_0x192540),_0x4f6e40;});}}function _(_0x3efe0c,_0x312bbe){const _0x147c2f=_0xe14aab;return void 0x0!==_0x3efe0c[_0x147c2f(0x140)]&&void 0x0===_0x312bbe[_0x147c2f(0x140)]?0x1:void 0x0===_0x3efe0c[_0x147c2f(0x140)]&&void 0x0!==_0x312bbe[_0x147c2f(0x140)]?-0x1:void 0x0!==_0x3efe0c[_0x147c2f(0x140)]&&void 0x0!==_0x312bbe[_0x147c2f(0x140)]?_0x3efe0c[_0x147c2f(0x140)]-_0x312bbe[_0x147c2f(0x140)]:0x0;}function B(_0x47f84f,_0x10f100){const _0x58dab1=_0xe14aab;_0x10f100[_0x58dab1(0x151)](_);const _0x583fec={},_0x4e0d4b=[];for(const _0x53a48f of _0x10f100)if(void 0x0!==_0x53a48f[_0x58dab1(0x140)]){if(_0x53a48f[_0x58dab1(0x140)]in _0x583fec)throw new _0x4f7f63(_0x58dab1(0x18c),_0x47f84f,{'conflictingDefinitions':[_0x53a48f,_0x583fec[_0x53a48f[_0x58dab1(0x140)]]]});_0x583fec[_0x53a48f[_0x58dab1(0x140)]]=_0x53a48f,_0x4e0d4b[_0x58dab1(0x123)](_0x53a48f[_0x58dab1(0x140)],0x0,_0x53a48f);}else _0x4e0d4b[_0x58dab1(0x12d)](_0x53a48f);return _0x4e0d4b;}
|
|
23
|
+
const _0x55a9d3=_0x5bfc;(function(_0x36565d,_0x5eb376){const _0x774cbe=_0x5bfc,_0x2684cf=_0x36565d();while(!![]){try{const _0x3cec8b=parseInt(_0x774cbe(0x176))/0x1*(-parseInt(_0x774cbe(0x16a))/0x2)+-parseInt(_0x774cbe(0x1a0))/0x3+parseInt(_0x774cbe(0x106))/0x4+-parseInt(_0x774cbe(0x187))/0x5+parseInt(_0x774cbe(0x197))/0x6+-parseInt(_0x774cbe(0x120))/0x7*(parseInt(_0x774cbe(0x174))/0x8)+parseInt(_0x774cbe(0x15a))/0x9*(parseInt(_0x774cbe(0x179))/0xa);if(_0x3cec8b===_0x5eb376)break;else _0x2684cf['push'](_0x2684cf['shift']());}catch(_0x96f3ee){_0x2684cf['push'](_0x2684cf['shift']());}}}(_0x59fe,0x2c8d3));import{Plugin as _0x5c2690}from'ckeditor5/src/core.js';function _0x5bfc(_0x555129,_0x2469aa){const _0x59fee4=_0x59fe();return _0x5bfc=function(_0x5bfca6,_0x3805b3){_0x5bfca6=_0x5bfca6-0xfa;let _0x4a0fb2=_0x59fee4[_0x5bfca6];return _0x4a0fb2;},_0x5bfc(_0x555129,_0x2469aa);}import{first as _0x4ff4e2,CKEditorError as _0x5ea249}from'ckeditor5/src/utils.js';import{createDropdown as _0x147db5,addMenuToDropdown as _0x30ce7b,ButtonView as _0x4a0c0c,MenuBarMenuListItemButtonView as _0x515633,Dialog as _0x515215,DialogViewPosition as _0x2c4ce6,MenuBarMenuView as _0x428256,MenuBarMenuListView as _0x75e727,MenuBarMenuListItemView as _0x12f791}from'ckeditor5/src/ui.js';import{icons as _0x275f0a}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x2ed405,UNGROUPED_COMMANDS_GROUP_ID as _0xb228fe}from'./utils/normalizecommandsconfig.js';import _0x271127 from'./aiassistantediting.js';import _0xf90523 from'./adapters/aiadapter.js';import{getTranslation as _0x733d93}from'./utils/common-translations.js';import _0x2b0c72 from'./ui/showaiassistantcommand.js';import _0x42592c from'./ui/aiassistantcontroller.js';import _0x35c75c from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x121547}from'./ui/form/aiformtoolbarview.js';import _0x18e96a from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x55a9d3(0x18f)];import{ClipboardMarkersUtils as _0x2a109}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x23272b,DataTransfer as _0x45011e}from'ckeditor5/src/engine.js';function _0x59fe(){const _0x1533b0=['isEnabled','forEach','ck-ai-commands-dropdown\x20','groupLabel','view','commands','once','enabledCommandsIds','change:isProcessing','change','insertContentBelow','EDITOR_TOP_SIDE','menuPanelClass','menuBar:aiCommands','_dialog','_onExecute','listenTo','<p>','buttonView','focus','contentArea','label','aiLicenseKeyValid','ck-ai-assistant-ui','get','body','INSERT','menuView','editor','aiAssistant','panelView','replaceContent','change:isError','filter','currentContext','textAdapter','domainLimit','aiLicenseKeyUsageLimit','children','media','trim','3797379DNNXaX','AI\x20Assistant','showUI','isOfficialPlugin','destroy','add','usageLimit','featureNotAllowed','menuitemcheckbox','aiLicenseKeyNotAllowed','_showLicenseError','values','bind','AI\x20Commands','groupId','rawHtml','2JxCQhU','comment','componentFactory','_aiAdapter','_getResolvedCommandsDefinitions','expired','init','_commandDefinitions','AIAssistant','ai.aiAssistant.disabledElements','58376DtwLYI','errorView','14617NyVNan','change:enabledCommandsIds','polite','20eRVsNb','Generated\x20content:\x20%0','locale','execute','from','model','buttons','selection','change:value','tableOfContents','trialLimit','addMany','</p>','requiresContent','1329370XxqWoB','evaluationLimit','announce','AI\x20is\x20writing','splice','sort','push','command:','DataTransfer','licenseKey','items','_createAIAssistantUIButton','copy','custom','schema','_initView','42924quUrvV','showFakeVisualSelection','promptView','_licenseKeyCheckInterval','_aiAssistantController','hideFakeVisualSelection','aiLicenseKeyEvaluationLimit','editing','isFlat','893055LUQgvU','source','render','text/html','_populateMenuBarMenu','order','delegate','ck-ai-assistant-button\x20','reset','getRanges','define','show','getData','setSelection','update','ai-commands-config-order-collision','_uiCssClasses','updateView','showAIAssistant','map','updatePosition','document','pluginName','776904nDoyme','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiCommands','getSelectedBlocks','length','_initAriaAiStatusChangeAnnouncements','robotPencil','isOn','getLimitElement','set','isPremiumPlugin','AIAssistantUI','isCollapsed','wasMoved','invalid','getSelectedElement','REPLACE','_formView','replace','includes','fieldView','prompt','aiLicenseKeyInvalid','requires','_getMenuBarGroupButtons','ai.aiAssistant.commands','273RPeXGV','menuBar:aiAssistant','aiLicenseKeyExpired','config','_forceMarkersCopy','hide','hideUI','ai.aiAssistant.contentAreaCssClass','plugins','\x20ck-ai-assistant-ui_theme','ai.useTheme','aiLicenseKeyDomainLimit','queryView','insertContent','text','fire','aiLicenseKeyTrialLimit'];_0x59fe=function(){return _0x1533b0;};return _0x59fe();}export default class n extends _0x5c2690{static get[_0x55a9d3(0x105)](){const _0x3d9bfa=_0x55a9d3;return _0x3d9bfa(0x111);}static get[_0x55a9d3(0x15d)](){return!0x0;}static get[_0x55a9d3(0x110)](){return!0x0;}static get[_0x55a9d3(0x11d)](){return[_0x2a109,_0x271127,_0xf90523,_0x515215];}constructor(_0x2d845c){const _0x57f7f3=_0x55a9d3;super(_0x2d845c),this[_0x57f7f3(0xff)]='',_0x2d845c[_0x57f7f3(0x123)][_0x57f7f3(0x1aa)](_0x57f7f3(0x173),[_0x57f7f3(0x158),_0x57f7f3(0x169),_0x57f7f3(0x182)]),_0x2d845c[_0x57f7f3(0x123)][_0x57f7f3(0x1aa)](_0x57f7f3(0x127),''),_0x2d845c[_0x57f7f3(0x123)][_0x57f7f3(0x1aa)](_0x57f7f3(0x12a),!0x0),this[_0x57f7f3(0xff)]=_0x57f7f3(0x148)+(_0x2d845c[_0x57f7f3(0x123)][_0x57f7f3(0x149)](_0x57f7f3(0x12a))?_0x57f7f3(0x129):'');}[_0x55a9d3(0x170)](){const _0x46e8b5=_0x55a9d3,{editor:_0x586185}=this;this[_0x46e8b5(0x16d)]=_0x586185[_0x46e8b5(0x128)][_0x46e8b5(0x149)](_0xf90523),this[_0x46e8b5(0x13f)]=_0x586185[_0x46e8b5(0x128)][_0x46e8b5(0x149)](_0x515215),this[_0x46e8b5(0x117)]=null,this[_0x46e8b5(0x171)]=this[_0x46e8b5(0x16e)]();const _0x572ba3=new _0x2b0c72(_0x586185,Array[_0x46e8b5(0x17d)](this[_0x46e8b5(0x171)][_0x46e8b5(0x165)]()));_0x586185[_0x46e8b5(0x136)][_0x46e8b5(0x15f)](_0x46e8b5(0x101),_0x572ba3),_0x586185['ui'][_0x46e8b5(0x16c)][_0x46e8b5(0x15f)](_0x46e8b5(0x108),_0x292caa=>{const _0x24d66b=_0x46e8b5,_0x1c404c=_0x147db5(_0x292caa);return _0x1c404c[_0x24d66b(0x10f)]({'class':_0x24d66b(0x133)+this[_0x24d66b(0xff)]}),_0x1c404c[_0x24d66b(0x143)][_0x24d66b(0x10f)]({'label':_0x733d93(_0x292caa,_0x24d66b(0x167)),'icon':_0x18e96a,'tooltip':!0x0}),_0x1c404c['on'](_0x24d66b(0x17c),_0x4e34e1=>this[_0x24d66b(0x140)](_0x4e34e1[_0x24d66b(0x1a1)]['id'])),_0x30ce7b(_0x1c404c,_0x586185['ui'][_0x24d66b(0x135)][_0x24d66b(0x14a)],function(_0x452948){const _0x37a29c=_0x24d66b,_0x4069b9=_0x2ed405(_0x452948[_0x37a29c(0x123)][_0x37a29c(0x149)](_0x37a29c(0x11f)),_0x452948[_0x37a29c(0x17b)]),_0x36a105=U(_0x452948,_0x4069b9)[_0x37a29c(0x152)](_0x3ef082=>_0x3ef082[_0x37a29c(0x136)][_0x37a29c(0x10a)]);if(0x1===_0x36a105[_0x37a29c(0x10a)])return U(_0x452948,_0x36a105[0x0][_0x37a29c(0x136)])[_0x37a29c(0x102)](_0x596317=>({'id':_0x596317['id'],'label':_0x596317[_0x37a29c(0x146)]}));return _0x36a105[_0x37a29c(0x102)](_0x37c334=>{const _0x483588=_0x37a29c,{groupId:_0x22d46a,groupLabel:_0x36d845,commands:_0xd2dab8}=_0x37c334,_0x42669e=U(_0x452948,_0xd2dab8)[_0x483588(0x102)](_0x54b3a6=>({'id':_0x54b3a6['id'],'label':_0x54b3a6[_0x483588(0x146)]}));return{'id':_0x22d46a,'menu':_0x36d845||_0x22d46a,'children':_0x42669e};});}(_0x586185),{'ariaLabel':_0x733d93(_0x292caa,_0x24d66b(0x167))}),_0x1c404c[_0x24d66b(0x14c)][_0x24d66b(0x13d)]=_0x24d66b(0x133)+this[_0x24d66b(0xff)],_0x572ba3['on'](_0x24d66b(0x177),_0x3895bf),_0x1c404c[_0x24d66b(0x14c)][_0x24d66b(0x137)](_0x24d66b(0x1a2),_0x3895bf),_0x1c404c;function _0x3895bf(){const _0x356ed5=_0x24d66b;_0x1c404c[_0x356ed5(0x131)]=_0x572ba3[_0x356ed5(0x138)][_0x356ed5(0x10a)]>0x0;for(const _0x5caac0 of _0x1c404c[_0x356ed5(0x14c)][_0x356ed5(0x17f)])_0x5caac0[_0x356ed5(0x131)]=_0x572ba3[_0x356ed5(0x138)][_0x356ed5(0x119)](_0x5caac0['id']);}}),_0x586185['ui'][_0x46e8b5(0x16c)][_0x46e8b5(0x15f)](_0x46e8b5(0x13e),_0x460755=>{const _0x4c4c85=_0x46e8b5,_0x3b1fde=new _0x428256(_0x460755);_0x3b1fde[_0x4c4c85(0x143)][_0x4c4c85(0x10f)]({'label':_0x733d93(_0x460755,_0x4c4c85(0x167)),'icon':_0x18e96a}),_0x3b1fde[_0x4c4c85(0x166)](_0x4c4c85(0x131))['to'](_0x572ba3,_0x4c4c85(0x138),_0x957118=>_0x957118[_0x4c4c85(0x10a)]>0x0);const _0x2cad76=_0x2ed405(_0x586185[_0x4c4c85(0x123)][_0x4c4c85(0x149)](_0x4c4c85(0x11f)),_0x460755);return this[_0x4c4c85(0x1a4)](_0x572ba3,_0x3b1fde,_0x2cad76,_0x3726f6=>this[_0x4c4c85(0x140)](_0x3726f6)),_0x3b1fde;}),_0x586185['ui'][_0x46e8b5(0x16c)][_0x46e8b5(0x15f)](_0x46e8b5(0x14e),()=>{const _0xe60631=_0x46e8b5,_0x466cae=this[_0xe60631(0x192)](_0x4a0c0c);return _0x466cae[_0xe60631(0x10f)]({'tooltip':!0x0,'class':_0xe60631(0x1a7)+this[_0xe60631(0xff)]}),_0x466cae;}),_0x586185['ui'][_0x46e8b5(0x16c)][_0x46e8b5(0x15f)](_0x46e8b5(0x121),()=>{const _0x498cd6=_0x46e8b5,_0x36b83=this[_0x498cd6(0x192)](_0x515633);return _0x36b83[_0x498cd6(0x10f)]({'role':_0x498cd6(0x162)}),_0x36b83;}),this[_0x46e8b5(0x190)]=this[_0x46e8b5(0x14d)][_0x46e8b5(0x123)][_0x46e8b5(0x149)](_0x46e8b5(0x190));const _0x2a703b=this[_0x46e8b5(0x14d)];this[_0x46e8b5(0x19a)]=setInterval(()=>{const _0x11b352=_0x46e8b5;let _0x1b33ab;for(const _0x63d5fc in _0x2a703b){const _0x29193f=_0x63d5fc,_0x4a29c4=_0x2a703b[_0x29193f];if(_0x11b352(0x147)==_0x4a29c4||_0x11b352(0x11c)==_0x4a29c4||_0x11b352(0x122)==_0x4a29c4||_0x11b352(0x12b)==_0x4a29c4||_0x11b352(0x163)==_0x4a29c4||_0x11b352(0x19d)==_0x4a29c4||_0x11b352(0x130)==_0x4a29c4||_0x11b352(0x156)==_0x4a29c4){delete _0x2a703b[_0x29193f],_0x1b33ab=_0x4a29c4,clearInterval(this[_0x11b352(0x19a)]),this[_0x11b352(0x19a)]=void 0x0;break;}}_0x11b352(0x11c)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x114)),_0x11b352(0x122)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x16f)),_0x11b352(0x12b)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x155)),_0x11b352(0x163)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x161),_0x11b352(0x172)),_0x11b352(0x19d)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x188)),_0x11b352(0x130)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x183)),_0x11b352(0x156)==_0x1b33ab&&_0x2a703b[_0x11b352(0x164)](_0x11b352(0x160));},0x3e8);}[_0x55a9d3(0x15e)](){const _0x15c6c9=_0x55a9d3;super[_0x15c6c9(0x15e)](),this[_0x15c6c9(0x19a)]&&clearInterval(this[_0x15c6c9(0x19a)]);}[_0x55a9d3(0x15c)](_0x355d92='',_0x5b66aa='',_0x4929c8=_0x55a9d3(0x194)){const _0x14866a=_0x55a9d3,_0x35ee21=this[_0x14866a(0x14d)],_0x487996=_0x35ee21[_0x14866a(0x19e)][_0x14866a(0x135)],_0x3533a8=_0x35ee21[_0x14866a(0x128)][_0x14866a(0x149)](_0x271127),_0x511b20=_0x35ee21[_0x14866a(0x128)][_0x14866a(0x149)](_0x2a109);_0x3533a8[_0x14866a(0x198)]();const _0x20935d=new w(),_0x41a68b=new ClipboardEvent(_0x14866a(0x193),{'clipboardData':_0x20935d}),_0x518f36=new _0x45011e(_0x20935d),_0x232ff1=new _0x23272b(_0x487996,_0x41a68b,{'dataTransfer':_0x518f36});_0x511b20[_0x14866a(0x124)](_0x14866a(0x16b),()=>{const _0x3e70cd=_0x14866a;_0x487996[_0x3e70cd(0x104)][_0x3e70cd(0x12f)](_0x3e70cd(0x193),_0x232ff1);}),this[_0x14866a(0x117)]||(this[_0x14866a(0x196)](),this[_0x14866a(0x19b)]=new _0x42592c(_0x35ee21,this[_0x14866a(0x16d)][_0x14866a(0x154)],this[_0x14866a(0x117)]));let _0x2080b2=_0x518f36[_0x14866a(0xfb)](_0x14866a(0x1a3));const _0x1c3f27=_0x35ee21[_0x14866a(0x17e)][_0x14866a(0x104)][_0x14866a(0x180)],_0x163043=Array[_0x14866a(0x17d)](_0x1c3f27[_0x14866a(0x1a9)]());0x1===_0x163043[_0x14866a(0x10a)]&&_0x163043[0x0][_0x14866a(0x19f)]&&!_0x1c3f27[_0x14866a(0x115)]()&&''!==_0x2080b2[_0x14866a(0x118)](/ /g,'')[_0x14866a(0x159)]()&&(_0x2080b2=_0x14866a(0x142)+_0x2080b2+_0x14866a(0x185)),this[_0x14866a(0x19b)][_0x14866a(0x100)]({'actionId':_0x4929c8,'query':_0x355d92,'htmlContent':_0x2080b2,'label':_0x5b66aa,'mainActionLabel':_0x121547[_0x35ee21[_0x14866a(0x17e)][_0x14866a(0x104)][_0x14866a(0x180)][_0x14866a(0x112)]?_0x14866a(0x14b):_0x14866a(0x116)]}),_0x14866a(0x14e)!==this[_0x14866a(0x13f)]['id']?this[_0x14866a(0x13f)][_0x14866a(0xfa)]({'id':_0x14866a(0x14e),'icon':_0x275f0a[_0x14866a(0x10c)],'title':_0x733d93(this[_0x14866a(0x14d)][_0x14866a(0x17b)],_0x14866a(0x15b)),'content':this[_0x14866a(0x117)],'position':_0x2c4ce6[_0x14866a(0x13c)],'onShow':()=>{const _0x58496b=_0x14866a;this[_0x58496b(0x117)][_0x58496b(0x144)]();},'onHide':()=>{const _0x498b98=_0x14866a;this[_0x498b98(0x19b)][_0x498b98(0x1a8)](),_0x3533a8[_0x498b98(0x19c)]();}}):this[_0x14866a(0x13f)][_0x14866a(0x135)][_0x14866a(0x113)]||this[_0x14866a(0x13f)][_0x14866a(0x135)][_0x14866a(0x103)]();}[_0x55a9d3(0x126)](){const _0x4924c7=_0x55a9d3;this[_0x4924c7(0x13f)][_0x4924c7(0x125)]();}[_0x55a9d3(0x16e)](){const _0x1f8e44=_0x55a9d3,_0x39aa4b=new Map(),_0xb38851=_0x2ed405(this[_0x1f8e44(0x14d)][_0x1f8e44(0x123)][_0x1f8e44(0x149)](_0x1f8e44(0x11f)),this[_0x1f8e44(0x14d)][_0x1f8e44(0x17b)]);for(const _0x132db6 of _0xb38851)for(const _0x1724df of _0x132db6[_0x1f8e44(0x136)])_0x39aa4b[_0x1f8e44(0x10f)](_0x1724df['id'],{..._0x1724df,'groupId':_0x132db6[_0x1f8e44(0x168)],'groupLabel':_0x132db6[_0x1f8e44(0x134)]||_0x132db6[_0x1f8e44(0x168)]});return _0x39aa4b;}[_0x55a9d3(0x192)](_0x2be79d){const _0x488fc7=_0x55a9d3,_0x3454cb=this[_0x488fc7(0x14d)],_0xb2bb12=_0x3454cb[_0x488fc7(0x136)][_0x488fc7(0x149)](_0x488fc7(0x101)),_0x4bc9d7=new _0x2be79d(_0x3454cb[_0x488fc7(0x17b)]);return _0x4bc9d7[_0x488fc7(0x10f)]({'label':_0x733d93(_0x3454cb[_0x488fc7(0x17b)],_0x488fc7(0x15b)),'icon':_0x275f0a[_0x488fc7(0x10c)],'isToggleable':!0x0}),_0x4bc9d7[_0x488fc7(0x166)](_0x488fc7(0x131))['to'](_0xb2bb12),_0x4bc9d7[_0x488fc7(0x166)](_0x488fc7(0x10d))['to'](this[_0x488fc7(0x13f)],'id',_0x2f31e0=>_0x488fc7(0x14e)===_0x2f31e0),this[_0x488fc7(0x141)](_0x4bc9d7,_0x488fc7(0x17c),()=>{const _0xf3a041=_0x488fc7;_0x4bc9d7[_0xf3a041(0x10d)]?this[_0xf3a041(0x126)]():_0xb2bb12[_0xf3a041(0x17c)]();}),_0x4bc9d7;}[_0x55a9d3(0x196)](){const _0x2e16b6=_0x55a9d3,_0x1e5ca3=this[_0x2e16b6(0x14d)][_0x2e16b6(0x128)][_0x2e16b6(0x149)](_0x271127);this[_0x2e16b6(0x117)]=new _0x35c75c(this[_0x2e16b6(0x14d)][_0x2e16b6(0x17b)],this[_0x2e16b6(0xff)],this[_0x2e16b6(0x14d)][_0x2e16b6(0x123)][_0x2e16b6(0x149)](_0x2e16b6(0x127))),this[_0x2e16b6(0x117)]['on'](_0x2e16b6(0x181),()=>{const _0x24191f=_0x2e16b6;this[_0x24191f(0x13f)][_0x24191f(0x135)][_0x24191f(0x113)]||this[_0x24191f(0x13f)][_0x24191f(0x135)][_0x24191f(0x103)]();}),this[_0x2e16b6(0x117)][_0x2e16b6(0x199)][_0x2e16b6(0x12c)][_0x2e16b6(0x11a)]['on'](_0x2e16b6(0xfd),()=>{const _0x5f4a1b=_0x2e16b6;this[_0x5f4a1b(0x13f)][_0x5f4a1b(0x135)][_0x5f4a1b(0x113)]||this[_0x5f4a1b(0x13f)][_0x5f4a1b(0x135)][_0x5f4a1b(0x103)]();}),this[_0x2e16b6(0x141)](this[_0x2e16b6(0x117)],_0x2e16b6(0x150),()=>{const _0x36fe26=_0x2e16b6;_0x1e5ca3[_0x36fe26(0x12d)](this[_0x36fe26(0x19b)][_0x36fe26(0x153)]),this[_0x36fe26(0x126)]();}),this[_0x2e16b6(0x141)](this[_0x2e16b6(0x117)],_0x2e16b6(0x13b),()=>{const _0x39d53a=_0x2e16b6;_0x1e5ca3[_0x39d53a(0x13b)](this[_0x39d53a(0x19b)][_0x39d53a(0x153)]),this[_0x39d53a(0x126)]();}),this[_0x2e16b6(0x10b)]();}[_0x55a9d3(0x10b)](){const _0x4ec1f2=_0x55a9d3,{locale:_0x497372,ui:{ariaLiveAnnouncer:_0x4acece}}=this[_0x4ec1f2(0x14d)];this[_0x4ec1f2(0x117)][_0x4ec1f2(0x145)]['on'](_0x4ec1f2(0x139),(_0x3e9d32,_0x326933,_0x43fd0a)=>{const _0x250582=_0x4ec1f2,_0x5a002d=this[_0x250582(0x19b)][_0x250582(0x153)];_0x43fd0a?_0x4acece[_0x250582(0x189)](_0x733d93(_0x497372,_0x250582(0x18a))):_0x5a002d&&_0x4acece[_0x250582(0x189)](_0x733d93(_0x497372,_0x250582(0x17a),_0x5a002d),{'politeness':_0x250582(0x178),'isUnsafeHTML':!0x0});}),this[_0x4ec1f2(0x117)]['on'](_0x4ec1f2(0x151),(_0x4eddd9,_0x572e13,_0xd89e33)=>{const _0x2d26f3=_0x4ec1f2;if(_0xd89e33){const _0x5b2ca2=this[_0x2d26f3(0x117)][_0x2d26f3(0x175)][_0x2d26f3(0x12e)];_0x4acece[_0x2d26f3(0x189)](_0x733d93(_0x497372,_0x2d26f3(0x107),_0x5b2ca2));}});}[_0x55a9d3(0x140)](_0x598448){const _0x5c7512=_0x55a9d3,_0x32fabf=this[_0x5c7512(0x171)][_0x5c7512(0x149)](_0x598448),_0x4685be=this[_0x5c7512(0x14d)],_0xb7efee=_0x4685be[_0x5c7512(0x17e)][_0x5c7512(0x104)][_0x5c7512(0x180)],_0x1aa6f7=_0x4685be[_0x5c7512(0x136)][_0x5c7512(0x149)](_0x5c7512(0x101)),_0x2506cd=_0x4685be[_0x5c7512(0x128)][_0x5c7512(0x149)](_0x271127),_0x1fc695=''+(_0x32fabf[_0x5c7512(0x168)]!==_0xb228fe?_0x32fabf[_0x5c7512(0x134)]+':\x20':'')+_0x32fabf[_0x5c7512(0x146)];if(!0x1!==_0x32fabf[_0x5c7512(0x186)]&&_0xb7efee[_0x5c7512(0x112)]){const _0x2bf745=_0x4ff4e2(_0xb7efee[_0x5c7512(0x109)]())||_0x4685be[_0x5c7512(0x17e)][_0x5c7512(0x195)][_0x5c7512(0x10e)](_0xb7efee);_0x4685be[_0x5c7512(0x17e)][_0x5c7512(0x13a)](_0x3b7c04=>{const _0xaa8d1e=_0x5c7512;_0x3b7c04[_0xaa8d1e(0xfc)](_0x2bf745,'in');});}_0x2506cd[_0x5c7512(0x198)](),_0x1aa6f7[_0x5c7512(0x17c)](_0x32fabf[_0x5c7512(0x11b)],_0x1fc695,_0x5c7512(0x18e)+_0x598448);}[_0x55a9d3(0x1a4)](_0x1c1e83,_0x36953d,_0x15a906,_0x2f2e49){const _0x46ee34=_0x55a9d3,_0x420241=this[_0x46ee34(0x14d)],_0x15a0ae=_0x420241[_0x46ee34(0x17b)],_0x24e674=new _0x75e727(_0x15a0ae),_0x4c2575=U(_0x420241,_0x15a906)[_0x46ee34(0x152)](_0x5cab5d=>_0x5cab5d[_0x46ee34(0x136)][_0x46ee34(0x10a)]);0x1===_0x4c2575[_0x46ee34(0x10a)]?this[_0x46ee34(0x11e)]({'command':_0x1c1e83,'commands':_0x4c2575[0x0][_0x46ee34(0x136)],'parentMenuView':_0x36953d,'onExecute':_0x2f2e49})[_0x46ee34(0x132)](_0x153992=>_0x24e674[_0x46ee34(0x191)][_0x46ee34(0x15f)](_0x153992)):_0x4c2575[_0x46ee34(0x132)](({groupId:_0x218a9c,groupLabel:_0x1995f2,commands:_0xa6b436})=>{const _0x4b9995=_0x46ee34,_0x5fc99a=new _0x12f791(_0x15a0ae,_0x36953d),_0x6374af=new _0x428256(_0x15a0ae),_0x4755e3=new _0x75e727(_0x15a0ae),_0x2cf986=this[_0x4b9995(0x11e)]({'command':_0x1c1e83,'commands':_0xa6b436,'parentMenuView':_0x6374af,'onExecute':_0x2f2e49});_0x6374af[_0x4b9995(0x143)][_0x4b9995(0x10f)]({'label':_0x1995f2||_0x218a9c}),_0x6374af[_0x4b9995(0x1a6)](_0x4b9995(0x17c))['to'](_0x36953d),_0x4755e3[_0x4b9995(0x191)][_0x4b9995(0x184)](_0x2cf986),_0x6374af[_0x4b9995(0x14f)][_0x4b9995(0x157)][_0x4b9995(0x15f)](_0x4755e3),_0x5fc99a[_0x4b9995(0x157)][_0x4b9995(0x15f)](_0x6374af),_0x24e674[_0x4b9995(0x191)][_0x4b9995(0x15f)](_0x5fc99a);}),_0x36953d[_0x46ee34(0x14f)][_0x46ee34(0x157)][_0x46ee34(0x15f)](_0x24e674);}[_0x55a9d3(0x11e)]({command:_0x5acc28,commands:_0x400034,parentMenuView:_0x1cf598,onExecute:_0xf9434c}){const _0x56cf3f=_0x55a9d3,_0x16bf63=this[_0x56cf3f(0x14d)],_0x3c3506=_0x16bf63[_0x56cf3f(0x17b)];return U(_0x16bf63,_0x400034)[_0x56cf3f(0x102)](_0x46076a=>{const _0x5c5172=_0x56cf3f,_0xe4c24a=new _0x12f791(_0x3c3506,_0x1cf598),_0x2a1598=new _0x515633(_0x3c3506);return _0x2a1598[_0x5c5172(0x10f)]({'label':_0x46076a[_0x5c5172(0x146)]}),_0x2a1598[_0x5c5172(0x1a6)](_0x5c5172(0x17c))['to'](_0x1cf598),_0x2a1598['on'](_0x5c5172(0x17c),()=>_0xf9434c(_0x46076a['id'])),_0x2a1598[_0x5c5172(0x166)](_0x5c5172(0x131))['to'](_0x5acc28,_0x5c5172(0x138),_0x2553c3=>_0x2553c3[_0x5c5172(0x119)](_0x46076a['id'])),_0xe4c24a[_0x5c5172(0x157)][_0x5c5172(0x15f)](_0x2a1598),_0xe4c24a;});}}function B(_0xf1c27f,_0x334736){const _0x2a1b69=_0x55a9d3;return void 0x0!==_0xf1c27f[_0x2a1b69(0x1a5)]&&void 0x0===_0x334736[_0x2a1b69(0x1a5)]?0x1:void 0x0===_0xf1c27f[_0x2a1b69(0x1a5)]&&void 0x0!==_0x334736[_0x2a1b69(0x1a5)]?-0x1:void 0x0!==_0xf1c27f[_0x2a1b69(0x1a5)]&&void 0x0!==_0x334736[_0x2a1b69(0x1a5)]?_0xf1c27f[_0x2a1b69(0x1a5)]-_0x334736[_0x2a1b69(0x1a5)]:0x0;}function U(_0x3756cf,_0x1d11f7){const _0x2f97bd=_0x55a9d3;_0x1d11f7[_0x2f97bd(0x18c)](B);const _0x5463d5={},_0x24573e=[];for(const _0x5b2674 of _0x1d11f7)if(void 0x0!==_0x5b2674[_0x2f97bd(0x1a5)]){if(_0x5b2674[_0x2f97bd(0x1a5)]in _0x5463d5)throw new _0x5ea249(_0x2f97bd(0xfe),_0x3756cf,{'conflictingDefinitions':[_0x5b2674,_0x5463d5[_0x5b2674[_0x2f97bd(0x1a5)]]]});_0x5463d5[_0x5b2674[_0x2f97bd(0x1a5)]]=_0x5b2674,_0x24573e[_0x2f97bd(0x18b)](_0x5b2674[_0x2f97bd(0x1a5)],0x0,_0x5b2674);}else _0x24573e[_0x2f97bd(0x18d)](_0x5b2674);return _0x24573e;}
|
package/src/aiconfig.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/aiconfig.js
CHANGED
package/src/augmentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import type AIAssistant from './aiassistant.js';
|
package/src/augmentation.js
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ai
|
|
7
7
|
*/
|
|
8
|
-
export { default as AIAssistant } from './aiassistant.js';
|
|
8
|
+
export { default as AIAssistant, type AIAssistantConfig, type GroupDefinition, type CommandDefinition } from './aiassistant.js';
|
|
9
|
+
export { default as AIAssistantUI } from './aiassistantui.js';
|
|
9
10
|
export { default as AIAdapter, AIRequestError } from './adapters/aiadapter.js';
|
|
10
11
|
export { default as AITextAdapter, type AITextAdapterRequestData, type RequestHeaders, type RequestParameters, type AITextAdapterDataCallback } from './adapters/aitextadapter.js';
|
|
11
12
|
export { default as OpenAITextAdapter, type OpenAITextAdapterConfig } from './adapters/openaitextadapter.js';
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1de9bb,_0x521cc9){var _0x55902d=_0x5793,_0xbd5302=_0x1de9bb();while(!![]){try{var _0x146d49=parseInt(_0x55902d(0x161))/0x1+parseInt(_0x55902d(0x15f))/0x2*(parseInt(_0x55902d(0x15e))/0x3)+-parseInt(_0x55902d(0x15b))/0x4+parseInt(_0x55902d(0x15a))/0x5*(-parseInt(_0x55902d(0x162))/0x6)+parseInt(_0x55902d(0x160))/0x7+-parseInt(_0x55902d(0x163))/0x8*(parseInt(_0x55902d(0x15c))/0x9)+-parseInt(_0x55902d(0x15d))/0xa*(-parseInt(_0x55902d(0x159))/0xb);if(_0x146d49===_0x521cc9)break;else _0xbd5302['push'](_0xbd5302['shift']());}catch(_0x5e16ff){_0xbd5302['push'](_0xbd5302['shift']());}}}(_0x9593,0x68fc0));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x9593(){var _0x4daeeb=['25205eXByXO','2244504LiLzrF','18gGYyHd','2279890RhUDRm','64143GRhdGO','78gBYLMo','4325433vmfhsG','294706mvKTiI','684UnZHTS','2546584ZGXcFA','22zeeQYJ'];_0x9593=function(){return _0x4daeeb;};return _0x9593();}export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x5793(_0x241384,_0x5e2388){var _0x959321=_0x9593();return _0x5793=function(_0x579389,_0x24e885){_0x579389=_0x579389-0x159;var _0x25fd1c=_0x959321[_0x579389];return _0x25fd1c;},_0x5793(_0x241384,_0x5e2388);}export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
package/src/legacyerrors.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1558(){var _0xbd8a01=['6451128IXWTuh','71034CbKaRb','622685oTYzmg','1380800oJyKXK','49EZDXtx','16bEoUgo','280236TEXcOA','15093747EZfgGG','340865LpTmNR'];_0x1558=function(){return _0xbd8a01;};return _0x1558();}function _0x5dca(_0x57d2cd,_0x5d24c4){var _0x155864=_0x1558();return _0x5dca=function(_0x5dca6b,_0x13ddd0){_0x5dca6b=_0x5dca6b-0x147;var _0x5bf7cf=_0x155864[_0x5dca6b];return _0x5bf7cf;},_0x5dca(_0x57d2cd,_0x5d24c4);}(function(_0x4f7274,_0x24168f){var _0x240212=_0x5dca,_0x4dc239=_0x4f7274();while(!![]){try{var _0x1fd262=-parseInt(_0x240212(0x147))/0x1+parseInt(_0x240212(0x148))/0x2+-parseInt(_0x240212(0x14b))/0x3*(parseInt(_0x240212(0x14a))/0x4)+-parseInt(_0x240212(0x14d))/0x5+-parseInt(_0x240212(0x14f))/0x6*(parseInt(_0x240212(0x149))/0x7)+-parseInt(_0x240212(0x14e))/0x8+parseInt(_0x240212(0x14c))/0x9;if(_0x1fd262===_0x24168f)break;else _0x4dc239['push'](_0x4dc239['shift']());}catch(_0x48ef50){_0x4dc239['push'](_0x4dc239['shift']());}}}(_0x1558,0x65011));import{CKEditorError as _0x2a5b80}from'ckeditor5/src/utils.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import type AITextAdapter from '../adapters/aitextadapter.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0xa133(_0x32f2b5,_0x3e7fc6){const _0x318c85=_0x318c();return _0xa133=function(_0xa13308,_0x564789){_0xa13308=_0xa13308-0x18b;let _0x56cbd6=_0x318c85[_0xa13308];return _0x56cbd6;},_0xa133(_0x32f2b5,_0x3e7fc6);}const _0x51bf3c=_0xa133;(function(_0x4a049a,_0x56954e){const _0x5e15d4=_0xa133,_0x11343a=_0x4a049a();while(!![]){try{const _0x515112=parseInt(_0x5e15d4(0x191))/0x1*(parseInt(_0x5e15d4(0x1cc))/0x2)+parseInt(_0x5e15d4(0x1db))/0x3*(parseInt(_0x5e15d4(0x1d7))/0x4)+-parseInt(_0x5e15d4(0x1a0))/0x5*(parseInt(_0x5e15d4(0x1b8))/0x6)+parseInt(_0x5e15d4(0x1ef))/0x7+-parseInt(_0x5e15d4(0x1ee))/0x8*(parseInt(_0x5e15d4(0x1d2))/0x9)+parseInt(_0x5e15d4(0x1dd))/0xa*(parseInt(_0x5e15d4(0x19d))/0xb)+-parseInt(_0x5e15d4(0x1b1))/0xc*(parseInt(_0x5e15d4(0x1e1))/0xd);if(_0x515112===_0x56954e)break;else _0x11343a['push'](_0x11343a['shift']());}catch(_0x3e11d1){_0x11343a['push'](_0x11343a['shift']());}}}(_0x318c,0x6d563));function _0x318c(){const _0x448be3=['handleError','previousActionId','rename','startsWith','toModel','body','message','innerHTML','720rqUcaM','initialContext','_stripMarkdownSyntax','previousLabel','from','toView','createElement','6ClAJxH','remove','catch','```html','render','processor','viewToDom','element','prompt','submitPrompt','setContentOf','editing','match','text/html','trim','textAdapter','childNodes','view','_domParser','nodeType','210bhCXbs','currentResponse','domConverter','data','stringify','editor','171PaRPdo','abort','serializeToString','htmlProcessor','mainAction','4uxBsDP','startProcessing','custom','stopProcessing','89637VvAyZF','push','10oDuXMC','_xmlSerializer','ai.aiAssistant.preserveComments','tryAgainEvent','145769OndpIw','once','endsWith','clear','destroy','set:currentContext','document','config','value','_normalizeResponseHeadings','markers','previousContext','isRendered','194088XIJiRK','5529986GfRxLF','set','length','_handleQuery','makeRequest','substring','updateView','previousQuery','_parseAndNormalizeContent','4271HjqwfH','div','name','```','<h1></h1>','currentContext','exec','_sanitizeHTML','then','stopListening','_sanitizationContainer','finally','8380691vIwAdw','ELEMENT_NODE','querySelector','2243155xdsGoS','parseFromString','get','reset','_isH1TagSupportEnabled','reverse','finishProcessing','isProcessing','listenTo'];_0x318c=function(){return _0x448be3;};return _0x318c();}import{ObservableMixin as _0x1b2201}from'ckeditor5/src/utils.js';import{AIRequestError as _0x10ab1e}from'../adapters/aiadapter.js';import{Matcher as _0x23e596,UpcastWriter as _0x5646a8}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1b2201(){constructor(_0x544f95,_0x155188,_0xb80691){const _0x45d05b=_0xa133;super(),this[_0x45d05b(0x1d1)]=_0x544f95,this[_0x45d05b(0x1c7)]=_0x155188,this[_0x45d05b(0x19b)]=document[_0x45d05b(0x1b7)](_0x45d05b(0x192)),this[_0x45d05b(0x1ca)]=new DOMParser(),this[_0x45d05b(0x1de)]=new XMLSerializer(),this[_0x45d05b(0x1c9)]=_0xb80691,this[_0x45d05b(0x1f0)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x45d05b(0x1e6),(_0x3a221b,_0xbe3934,_0x163732)=>{const _0x6c7205=_0x45d05b;this[_0x6c7205(0x1c9)][_0x6c7205(0x1e9)]=this[_0x6c7205(0x198)](_0x163732);}),this[_0x45d05b(0x1a8)](this[_0x45d05b(0x1c9)],_0x45d05b(0x1c1),(_0x248ab4,_0x224953)=>{const _0x519905=_0x45d05b,_0x3d64fb=this[_0x519905(0x196)]||this[_0x519905(0x1b2)];this[_0x519905(0x18b)](_0x224953,_0x3d64fb,_0x519905(0x1d9));}),this[_0x45d05b(0x1a8)](this[_0x45d05b(0x1c9)],_0x45d05b(0x1e0),()=>{const _0x3c263c=_0x45d05b;this[_0x3c263c(0x1c9)][_0x3c263c(0x1c0)]=this[_0x3c263c(0x1b4)],this[_0x3c263c(0x18b)](this[_0x3c263c(0x18f)],this[_0x3c263c(0x1ec)],this[_0x3c263c(0x1aa)],this[_0x3c263c(0x1b4)]);}),this[_0x45d05b(0x1a8)](this[_0x45d05b(0x1c9)],_0x45d05b(0x1da),()=>{const _0x2ae36b=_0x45d05b;this[_0x2ae36b(0x1da)]();});}[_0x51bf3c(0x1e5)](){const _0x485e55=_0x51bf3c;this[_0x485e55(0x19a)]();}async[_0x51bf3c(0x18e)]({actionId:_0x72ed66,query:_0x483bd3,htmlContent:_0x18684e,label:_0x323554,mainActionLabel:_0x14866e}){const _0x19fec4=_0x51bf3c;this[_0x19fec4(0x1c9)][_0x19fec4(0x1c0)]=_0x323554,this[_0x19fec4(0x1c9)][_0x19fec4(0x1d6)]=_0x14866e,this[_0x19fec4(0x1b2)]=_0x18684e,_0x483bd3&&(this[_0x19fec4(0x1c9)][_0x19fec4(0x1ed)]?this[_0x19fec4(0x18b)](_0x483bd3,_0x18684e,_0x72ed66,_0x323554):this[_0x19fec4(0x1c9)][_0x19fec4(0x1e2)](_0x19fec4(0x1bc),()=>{const _0x4a3d0b=_0x19fec4;this[_0x4a3d0b(0x18b)](_0x483bd3,_0x18684e,_0x72ed66,_0x323554);}));}[_0x51bf3c(0x1da)](){const _0x4f7cc5=_0x51bf3c;this[_0x4f7cc5(0x1a7)]&&(this[_0x4f7cc5(0x1a7)]=!0x1,this[_0x4f7cc5(0x1c9)][_0x4f7cc5(0x1a6)](),this[_0x4f7cc5(0x1c7)][_0x4f7cc5(0x1d3)]());}[_0x51bf3c(0x1a3)](){const _0x4ad231=_0x51bf3c;this[_0x4ad231(0x1b2)]='',this[_0x4ad231(0x196)]='',this[_0x4ad231(0x1cd)]='',this[_0x4ad231(0x1ec)]='',this[_0x4ad231(0x18f)]='',this[_0x4ad231(0x1b4)]='',this[_0x4ad231(0x1aa)]=void 0x0,this[_0x4ad231(0x1c9)][_0x4ad231(0x1a3)](),this[_0x4ad231(0x1da)]();}async[_0x51bf3c(0x18b)](_0x1ab0d0,_0x40e67f,_0xa01a8b,_0x279784){const _0x41e924=_0x51bf3c;return this[_0x41e924(0x1a7)]=!0x0,this[_0x41e924(0x1c9)][_0x41e924(0x1d8)](),this[_0x41e924(0x1ec)]=_0x40e67f,this[_0x41e924(0x18f)]=_0x1ab0d0,this[_0x41e924(0x1b4)]=_0x279784||_0x1ab0d0,this[_0x41e924(0x1aa)]=_0xa01a8b,new Promise(_0x199ed3=>{const _0x4826fc=_0x41e924;this[_0x4826fc(0x1c7)][_0x4826fc(0x18c)]({'query':_0x1ab0d0,'context':_0x40e67f,'onData':_0x4b78dc=>{const _0x11496c=_0x4826fc;this[_0x11496c(0x1cd)]=_0x4b78dc,this[_0x11496c(0x196)]=this[_0x11496c(0x190)](this[_0x11496c(0x1cd)]);},'actionId':_0xa01a8b})[_0x4826fc(0x199)](()=>{const _0x14e2fe=_0x4826fc;!this[_0x14e2fe(0x196)]&&this[_0x14e2fe(0x1cd)]&&(this[_0x14e2fe(0x196)]=this[_0x14e2fe(0x190)](this[_0x14e2fe(0x1cd)],!0x0));})[_0x4826fc(0x1ba)](_0x4288a8=>{const _0x5f4092=_0x4826fc;_0x4288a8 instanceof _0x10ab1e?this[_0x5f4092(0x1c9)][_0x5f4092(0x1a9)](_0x4288a8[_0x5f4092(0x1af)]):this[_0x5f4092(0x1c9)][_0x5f4092(0x1a9)](),_0x199ed3();})[_0x4826fc(0x19c)](()=>{const _0x5c8b48=_0x4826fc;this[_0x5c8b48(0x1da)](),_0x199ed3();});});}[_0x51bf3c(0x190)](_0x4d005f,_0x54778c=!0x1){const _0x5f5b9d=_0x51bf3c,_0xc8a95f=Z[_0x5f5b9d(0x197)](_0x4d005f);_0x4d005f=_0xc8a95f?_0x4d005f[_0x5f5b9d(0x18d)](_0xc8a95f[0x1][_0x5f5b9d(0x1f1)]):_0x4d005f[_0x5f5b9d(0x1f1)]<0x64&&!_0x54778c?'':this[_0x5f5b9d(0x1b3)](_0x4d005f);const _0x58d2ff=this[_0x5f5b9d(0x1ca)][_0x5f5b9d(0x1a1)](_0x4d005f,_0x5f5b9d(0x1c5));if(_0xc8a95f){const _0x17dd44=Array[_0x5f5b9d(0x1b5)](_0x58d2ff[_0x5f5b9d(0x1ae)][_0x5f5b9d(0x1c8)]);_0x17dd44[_0x5f5b9d(0x1a5)]();for(const _0x4c650f of _0x17dd44){if(_0x4c650f[_0x5f5b9d(0x1cb)]==Node[_0x5f5b9d(0x19e)])break;_0x4c650f[_0x5f5b9d(0x1b9)]();}}const _0x2b2064=this[_0x5f5b9d(0x1d1)][_0x5f5b9d(0x1cf)][_0x5f5b9d(0x1bd)][_0x5f5b9d(0x1b6)](this[_0x5f5b9d(0x1de)][_0x5f5b9d(0x1d4)](_0x58d2ff[_0x5f5b9d(0x1ae)]));this[_0x5f5b9d(0x1a4)]()||this[_0x5f5b9d(0x1ea)](_0x2b2064);const _0x18f83d=this[_0x5f5b9d(0x1d1)][_0x5f5b9d(0x1e8)][_0x5f5b9d(0x1a2)](_0x5f5b9d(0x1df)),_0x26b11=this[_0x5f5b9d(0x1d1)][_0x5f5b9d(0x1cf)][_0x5f5b9d(0x1ad)](_0x2b2064);return _0x18f83d||_0x26b11[_0x5f5b9d(0x1eb)][_0x5f5b9d(0x1e4)](),this[_0x5f5b9d(0x1d1)][_0x5f5b9d(0x1cf)][_0x5f5b9d(0x1d0)](_0x26b11);}[_0x51bf3c(0x1ea)](_0x4cd1c7){const _0x201da7=_0x51bf3c,_0x429492=new _0x5646a8(this[_0x201da7(0x1d1)][_0x201da7(0x1c3)][_0x201da7(0x1c9)][_0x201da7(0x1e7)]),_0x58f885=new _0x23e596({'name':/^h[1-5]$/}),_0x340ee3=[];let _0x2c8707=!0x1;for(const _0x513d99 of _0x4cd1c7)_0x513d99['is'](_0x201da7(0x1bf))&&_0x58f885[_0x201da7(0x1c4)](_0x513d99)&&(_0x340ee3[_0x201da7(0x1dc)](_0x513d99),'h1'==_0x513d99[_0x201da7(0x193)]&&(_0x2c8707=!0x0));if(_0x2c8707){for(const _0x163951 of _0x340ee3)_0x429492[_0x201da7(0x1ab)]('h'+(parseInt(_0x163951[_0x201da7(0x193)][0x1])+0x1),_0x163951);}}[_0x51bf3c(0x1a4)](){const _0x38380c=_0x51bf3c,{data:_0x4e6e70,editing:_0x35ba3}=this[_0x38380c(0x1d1)],_0x228194=_0x4e6e70[_0x38380c(0x1d5)][_0x38380c(0x1b6)](_0x38380c(0x195)),_0x1e864a=_0x4e6e70[_0x38380c(0x1b6)](_0x4e6e70[_0x38380c(0x1ad)](_0x228194));return!!_0x35ba3[_0x38380c(0x1c9)][_0x38380c(0x1ce)][_0x38380c(0x1be)](_0x1e864a)[_0x38380c(0x19f)]('h1');}[_0x51bf3c(0x198)](_0x42636d){const _0x354084=_0x51bf3c;return this[_0x354084(0x1d1)][_0x354084(0x1c3)][_0x354084(0x1c9)][_0x354084(0x1ce)][_0x354084(0x1c2)](this[_0x354084(0x19b)],_0x42636d),this[_0x354084(0x19b)][_0x354084(0x1b0)];}[_0x51bf3c(0x1b3)](_0x146d6c){const _0x2825d6=_0x51bf3c,_0x403db2=_0x146d6c[_0x2825d6(0x1c6)]();return _0x403db2[_0x2825d6(0x1ac)](_0x2825d6(0x1bb))?_0x403db2[_0x2825d6(0x1e3)](_0x2825d6(0x194))?_0x403db2[_0x2825d6(0x18d)](0x7,_0x403db2[_0x2825d6(0x1f1)]-0x3):_0x403db2[_0x2825d6(0x18d)](0x7):_0x146d6c;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x587a(){const _0x570704=['firstElementChild','ck-ai-form__content-area-wrapper','283207tjOaaB','AI\x20is\x20writing...','\x20ck-ai-form__copy-button--copied','copyButtonView','createRange','4211091HCJeDk','bindTemplate','appendLoader','execCommand','setStartAfter','ClipboardItem','focus','change:value','<span>[</span>','ck-reset_all-excluded','4XUryCq','value','ck-hidden','Copy','<span>]</span>','-9999px','_copyHTMLToClipboard','ck-ai-form__content-area','text/plain','copy','querySelector','change:isProcessing','removeAllRanges','class','scrollHeight','isVisible','div','287xVmVDp','execute','setTemplate','3620295FFGxTC','isProcessing','smooth','53104IBYdnj','ck-ai-form__loader','textContent','innerHTML','appendChild','createElement','isEnabled','_createCopyButton','remove','absolute','lastElementChild','check','6feLrdS','25527560lasRoS','6695112yulHwq','_createLoader','getSelection','listenTo','loaderView','element','1427313eoVNgf','ck-ai-form__copy-button-wrapper','wheel','text/html','render','setContent','ck-content','left','ck-ai-form__content-field','clipboard','scrollTo','mousedown','icon','style','locale','addRange','set','.ck-ai-form__loader','setEndBefore','ck-ai-form__content-area--processing','write','body','bind','ck-ai-form__copy-button','position','contentFieldView'];_0x587a=function(){return _0x570704;};return _0x587a();}const _0x1fec39=_0x2bf6;(function(_0x5ca0d3,_0x27321a){const _0x326f7c=_0x2bf6,_0x2d9227=_0x5ca0d3();while(!![]){try{const _0x499082=parseInt(_0x326f7c(0x207))/0x1*(-parseInt(_0x326f7c(0x1e3))/0x2)+-parseInt(_0x326f7c(0x1eb))/0x3*(parseInt(_0x326f7c(0x1c0))/0x4)+parseInt(_0x326f7c(0x1d4))/0x5+-parseInt(_0x326f7c(0x1e5))/0x6+-parseInt(_0x326f7c(0x1d1))/0x7*(-parseInt(_0x326f7c(0x1d7))/0x8)+-parseInt(_0x326f7c(0x20c))/0x9+parseInt(_0x326f7c(0x1e4))/0xa;if(_0x499082===_0x27321a)break;else _0x2d9227['push'](_0x2d9227['shift']());}catch(_0x3c322a){_0x2d9227['push'](_0x2d9227['shift']());}}}(_0x587a,0x9c356));import{global as _0x26149f}from'ckeditor5/src/utils.js';import{View as _0x2576d8,ButtonView as _0x58af0c,SpinnerView as _0x29e2c2}from'ckeditor5/src/ui.js';import _0xd7d456 from'../../../theme/icons/copy.svg';function _0x2bf6(_0x12c716,_0x32c2c4){const _0x587ab3=_0x587a();return _0x2bf6=function(_0x2bf62a,_0x15ef72){_0x2bf62a=_0x2bf62a-0x1bf;let _0x13f437=_0x587ab3[_0x2bf62a];return _0x13f437;},_0x2bf6(_0x12c716,_0x32c2c4);}import{getTranslation as _0x54a08e}from'../../utils/common-translations.js';import{icons as _0xa1c13f}from'ckeditor5/src/core.js';export default class X extends _0x2576d8{constructor(_0x36dbf2,_0x54a1dd=''){const _0xb38561=_0x2bf6;super(_0x36dbf2),this[_0xb38561(0x1fb)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x363078=this[_0xb38561(0x20d)];this[_0xb38561(0x204)]=new ContentFieldView(_0x36dbf2,_0x54a1dd),this[_0xb38561(0x20a)]=this[_0xb38561(0x1de)](),this[_0xb38561(0x1d3)]({'tag':_0xb38561(0x1d0),'attributes':{'class':['ck',_0xb38561(0x206),_0x363078['if'](_0xb38561(0x1cf),_0xb38561(0x1c2),_0x17894e=>!_0x17894e)],'tabindex':'-1'},'children':[{'tag':_0xb38561(0x1d0),'attributes':{'class':['ck',_0xb38561(0x1c7),_0x363078['if'](_0xb38561(0x1d5),_0xb38561(0x1fe))]},'children':[this[_0xb38561(0x204)],{'tag':_0xb38561(0x1d0),'attributes':{'class':['ck',_0xb38561(0x1ec)]},'children':[this[_0xb38561(0x20a)]]}]}]});}[_0x1fec39(0x1ef)](){const _0x51f992=_0x1fec39;super[_0x51f992(0x1ef)](),this[_0x51f992(0x1c1)]&&this[_0x51f992(0x204)][_0x51f992(0x1f0)](this[_0x51f992(0x1c1)]);let _0xdb63b7=!0x1;this['on'](_0x51f992(0x213),(_0x4ace8a,_0x44e026,_0x40ed76)=>{const _0xb5d085=_0x51f992,_0x5c3ad8=!this[_0xb5d085(0x204)][_0xb5d085(0x1ea)][_0xb5d085(0x1ca)](_0xb5d085(0x1fc));this[_0xb5d085(0x204)][_0xb5d085(0x1f0)](_0x40ed76),this[_0xb5d085(0x1d5)]&&_0x5c3ad8&&!_0xdb63b7&&this[_0xb5d085(0x1ea)][_0xb5d085(0x1f5)]({'top':this[_0xb5d085(0x1ea)][_0xb5d085(0x1ce)],'behavior':_0xb5d085(0x1d6)});}),this['on'](_0x51f992(0x1cb),(_0x398db6,_0x140cd9,_0xbdd186)=>{const _0x40b2f8=_0x51f992;_0xdb63b7=!0x1,_0xbdd186?(this[_0x40b2f8(0x1c1)]=null,this[_0x40b2f8(0x204)][_0x40b2f8(0x20e)]()):this[_0x40b2f8(0x1c1)]||this[_0x40b2f8(0x204)][_0x40b2f8(0x1f0)]('');}),this[_0x51f992(0x1e8)](this[_0x51f992(0x1ea)],_0x51f992(0x1ed),()=>{_0xdb63b7=!0x0;}),this[_0x51f992(0x1e8)](this[_0x51f992(0x1ea)],_0x51f992(0x1f6),()=>{_0xdb63b7=!0x0;});}[_0x1fec39(0x212)](){const _0x3a89a8=_0x1fec39;this[_0x3a89a8(0x1ea)][_0x3a89a8(0x212)]();}[_0x1fec39(0x1de)](){const _0x328f4a=_0x1fec39,_0xcc9f0=this[_0x328f4a(0x1f9)],_0x189d68=new _0x58af0c(this[_0x328f4a(0x1f9)]),_0x3802c7=_0x328f4a(0x202);return _0x189d68[_0x328f4a(0x1fb)]({'label':_0x54a08e(_0xcc9f0,_0x328f4a(0x1c3)),'icon':_0xd7d456,'class':_0x3802c7,'tooltip':!0x0}),_0x189d68[_0x328f4a(0x201)](_0x328f4a(0x1cf))['to'](this,_0x328f4a(0x1c1),_0x4dc5f1=>!!_0x4dc5f1),_0x189d68[_0x328f4a(0x201)](_0x328f4a(0x1dd))['to'](this,_0x328f4a(0x1d5),_0x5c4d72=>!_0x5c4d72),_0x189d68['on'](_0x328f4a(0x1d2),()=>{const _0x2d27a7=_0x328f4a;this[_0x2d27a7(0x1c6)](this[_0x2d27a7(0x204)][_0x2d27a7(0x1ea)]),_0x189d68[_0x2d27a7(0x1f7)]=_0xa1c13f[_0x2d27a7(0x1e2)],_0x189d68[_0x2d27a7(0x1cd)]=_0x3802c7+_0x2d27a7(0x209),this[_0x2d27a7(0x212)](),setTimeout(()=>{const _0x1120a0=_0x2d27a7;_0x189d68[_0x1120a0(0x1f7)]=_0xd7d456,_0x189d68[_0x1120a0(0x1cd)]=_0x3802c7;},0x3e8);}),_0x189d68;}[_0x1fec39(0x1c6)](_0x3caad4){const _0x51416c=_0x1fec39,{window:_0x157556,document:_0xa7778a}=_0x26149f;if(_0x157556[_0x51416c(0x211)]){const {Blob:_0x544e0f,ClipboardItem:_0x2f1ce5}=_0x157556,_0x4bd4bf=[new _0x2f1ce5({'text/html':new _0x544e0f([_0x3caad4[_0x51416c(0x1da)]],{'type':_0x51416c(0x1ee)}),'text/plain':new _0x544e0f([_0x3caad4[_0x51416c(0x1d9)]||''],{'type':_0x51416c(0x1c8)})})];navigator[_0x51416c(0x1f4)][_0x51416c(0x1ff)](_0x4bd4bf);}else{const _0x564502=_0xa7778a[_0x51416c(0x1dc)](_0x51416c(0x1d0));_0x564502[_0x51416c(0x1f8)][_0x51416c(0x203)]=_0x51416c(0x1e0),_0x564502[_0x51416c(0x1f8)][_0x51416c(0x1f2)]=_0x51416c(0x1c5),_0x564502[_0x51416c(0x1da)]=_0x51416c(0x214)+_0x3caad4[_0x51416c(0x1da)]+_0x51416c(0x1c4),_0xa7778a[_0x51416c(0x200)][_0x51416c(0x1db)](_0x564502);const _0x1dc11e=_0xa7778a[_0x51416c(0x20b)]();_0x1dc11e[_0x51416c(0x210)](_0x564502[_0x51416c(0x205)]),_0x1dc11e[_0x51416c(0x1fd)](_0x564502[_0x51416c(0x1e1)]);const _0x160174=_0x157556[_0x51416c(0x1e7)]();_0x160174[_0x51416c(0x1cc)](),_0x160174[_0x51416c(0x1fa)](_0x1dc11e),_0xa7778a[_0x51416c(0x20f)](_0x51416c(0x1c9)),_0x564502[_0x51416c(0x1df)]();}}}export class ContentFieldView extends _0x2576d8{constructor(_0x176041,_0x2b752e=''){const _0x354ee1=_0x1fec39;super(_0x176041),this[_0x354ee1(0x1e9)]=this[_0x354ee1(0x1e6)](),this[_0x354ee1(0x1d3)]({'tag':_0x354ee1(0x1d0),'attributes':{'class':['ck',_0x354ee1(0x1f1),_0x2b752e,_0x354ee1(0x1bf),_0x354ee1(0x1f3)]}});}[_0x1fec39(0x1f0)](_0x390c25){const _0x1378ae=_0x1fec39;this[_0x1378ae(0x1ea)][_0x1378ae(0x1da)]=_0x390c25;}[_0x1fec39(0x20e)](){const _0x1aae35=_0x1fec39;this[_0x1aae35(0x1ea)][_0x1aae35(0x1db)](this[_0x1aae35(0x1e9)][_0x1aae35(0x1ea)]);}[_0x1fec39(0x1e6)](){const _0x40047d=_0x1fec39,_0x5cd013=new _0x2576d8(),_0x5ebe3a=this[_0x40047d(0x1f9)],_0x46d916=new _0x29e2c2();return _0x46d916[_0x40047d(0x1cf)]=!0x0,_0x5cd013[_0x40047d(0x1d3)]({'tag':_0x40047d(0x1d0),'attributes':{'class':['ck',_0x40047d(0x1d8)]},'children':[_0x46d916,{'text':_0x54a08e(_0x5ebe3a,_0x40047d(0x208))}]}),_0x5cd013[_0x40047d(0x1ef)](),_0x5cd013;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3d22(_0x125012,_0x43e853){const _0x4cef60=_0x4cef();return _0x3d22=function(_0x3d229e,_0xb2c8bc){_0x3d229e=_0x3d229e-0x1df;let _0x2f07b6=_0x4cef60[_0x3d229e];return _0x2f07b6;},_0x3d22(_0x125012,_0x43e853);}function _0x4cef(){const _0x360b55=['104796RoFSRz','8nYxcAr','590715sjhFEG','7IzgNYK','content','179937lsqDtu','2YVTAPf','3437608ReAcYd','48eeWnSf','ck-ai-form__error','div','741796mQijFS','541419dgDKbq','5wTWbzi','setTemplate','set','bindTemplate','text','224750aDhrGW'];_0x4cef=function(){return _0x360b55;};return _0x4cef();}(function(_0x43dbeb,_0x599023){const _0x541b07=_0x3d22,_0x1be140=_0x43dbeb();while(!![]){try{const _0x495566=-parseInt(_0x541b07(0x1e0))/0x1*(parseInt(_0x541b07(0x1e1))/0x2)+-parseInt(_0x541b07(0x1e7))/0x3*(parseInt(_0x541b07(0x1ef))/0x4)+-parseInt(_0x541b07(0x1e8))/0x5*(-parseInt(_0x541b07(0x1ee))/0x6)+parseInt(_0x541b07(0x1f1))/0x7*(parseInt(_0x541b07(0x1e2))/0x8)+parseInt(_0x541b07(0x1f0))/0x9+-parseInt(_0x541b07(0x1ed))/0xa+parseInt(_0x541b07(0x1e6))/0xb*(parseInt(_0x541b07(0x1e3))/0xc);if(_0x495566===_0x599023)break;else _0x1be140['push'](_0x1be140['shift']());}catch(_0x56b8a8){_0x1be140['push'](_0x1be140['shift']());}}}(_0x4cef,0x35834));import{View as _0x199371,IconView as _0x50c270}from'ckeditor5/src/ui.js';import _0x1e74f7 from'../../../theme/icons/error.svg';export default class rt extends _0x199371{constructor(_0x374ef0,_0x1a2a4a=''){const _0x3224e8=_0x3d22;super(_0x374ef0);const _0x4b4d04=new _0x50c270(),_0x2837e4=this[_0x3224e8(0x1eb)];this[_0x3224e8(0x1ea)](_0x3224e8(0x1ec),_0x1a2a4a),_0x4b4d04[_0x3224e8(0x1df)]=_0x1e74f7,this[_0x3224e8(0x1e9)]({'tag':_0x3224e8(0x1e5),'attributes':{'class':['ck',_0x3224e8(0x1e4)]},'children':[_0x4b4d04,{'text':_0x2837e4['to'](_0x3224e8(0x1ec))}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|