@ckeditor/ckeditor5-case-change 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/case-change.js +2 -2
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +2 -2
- package/dist/index.css +2 -2
- package/dist/index.js +2 -2
- 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 +1 -1
- 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 +27 -6
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/casechange.d.ts +1 -1
- package/src/casechange.js +2 -2
- package/src/casechangecommand.d.ts +1 -1
- package/src/casechangecommand.js +2 -2
- package/src/casechangeediting.d.ts +1 -1
- package/src/casechangeediting.js +2 -2
- package/src/casechangeui.d.ts +1 -1
- package/src/casechangeui.js +2 -2
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/legacyerrors.d.ts +1 -1
- package/src/legacyerrors.js +2 -2
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/dist/augmentation.d.ts +0 -22
- package/dist/casechange.d.ts +0 -130
- package/dist/casechangecommand.d.ts +0 -36
- package/dist/casechangeediting.d.ts +0 -37
- package/dist/casechangeui.d.ts +0 -38
- package/dist/index.d.ts +0 -16
- package/dist/legacyerrors.d.ts +0 -9
- package/dist/utils/common-translations.d.ts +0 -13
package/src/casechangecommand.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
|
+
const _0x2c94ae=_0x5ae0;(function(_0x365bd1,_0x954be7){const _0x26fec8=_0x5ae0,_0x52d1f2=_0x365bd1();while(!![]){try{const _0x1718f3=parseInt(_0x26fec8(0xa6))/0x1+parseInt(_0x26fec8(0x9b))/0x2*(parseInt(_0x26fec8(0xa1))/0x3)+-parseInt(_0x26fec8(0x8c))/0x4*(-parseInt(_0x26fec8(0xa9))/0x5)+-parseInt(_0x26fec8(0x91))/0x6+parseInt(_0x26fec8(0x98))/0x7+parseInt(_0x26fec8(0xa0))/0x8*(-parseInt(_0x26fec8(0x8a))/0x9)+parseInt(_0x26fec8(0x96))/0xa;if(_0x1718f3===_0x954be7)break;else _0x52d1f2['push'](_0x52d1f2['shift']());}catch(_0x4ace50){_0x52d1f2['push'](_0x52d1f2['shift']());}}}(_0x100e,0x1a965));function _0x5ae0(_0x107254,_0x48dc0a){const _0x100eb7=_0x100e();return _0x5ae0=function(_0x5ae099,_0x210f25){_0x5ae099=_0x5ae099-0x82;let _0x23fd9a=_0x100eb7[_0x5ae099];return _0x23fd9a;},_0x5ae0(_0x107254,_0x48dc0a);}import{Command as _0xf59eb7}from'ckeditor5/src/core.js';export default class n extends _0xf59eb7{constructor(_0xc20956,_0x5ada70){const _0x5d191a=_0x5ae0;super(_0xc20956),this[_0x5d191a(0xab)]=_0x5ada70;}[_0x2c94ae(0x90)](){const _0x1060bd=_0x2c94ae,_0x504d05=this[_0x1060bd(0xb2)][_0x1060bd(0xa5)],_0x522cbc=Array[_0x1060bd(0x8b)](this[_0x1060bd(0x95)]()),_0x4eacd2=Array[_0x1060bd(0x8b)](_0x504d05[_0x1060bd(0x93)][_0x1060bd(0xaf)][_0x1060bd(0x85)]());_0x504d05[_0x1060bd(0xa7)](_0x20d77b=>{const _0x13e22a=_0x1060bd;for(const _0x345d2a of _0x522cbc)this[_0x13e22a(0x94)](_0x345d2a,_0x20d77b);_0x20d77b[_0x13e22a(0x8e)](_0x4eacd2);});}[_0x2c94ae(0x8f)](){const _0x5651e5=_0x2c94ae;for(const _0x1ffcc6 of this[_0x5651e5(0x95)]())for(const _0x103c07 of _0x1ffcc6)if(_0x103c07[_0x5651e5(0x9f)]['is'](_0x5651e5(0xb3)))return void(this[_0x5651e5(0x8d)]=!0x0);this[_0x5651e5(0x8d)]=!0x1;}[_0x2c94ae(0x95)](){const _0xfbfc41=_0x2c94ae,_0x3e9596=this[_0xfbfc41(0xb2)][_0xfbfc41(0xa5)],_0x4c3529=_0x3e9596[_0xfbfc41(0x93)][_0xfbfc41(0xaf)];if(_0x4c3529[_0xfbfc41(0x89)]){const _0x58da01=this[_0xfbfc41(0xa4)](_0x4c3529[_0xfbfc41(0x88)]()[_0xfbfc41(0xb4)]);return _0x58da01?[_0x3e9596[_0xfbfc41(0x97)](_0x58da01)]:[];}return _0x4c3529[_0xfbfc41(0x85)]();}[_0x2c94ae(0x94)](_0x16ddf0,_0x293b8a){const _0x427298=_0x2c94ae;for(const _0x3c241f of this[_0x427298(0x92)](_0x16ddf0)){const _0x3ce2f5=this[_0x427298(0xae)](_0x3c241f),_0x38cb9a=this[_0x427298(0xab)](_0x3ce2f5);for(const _0x193a99 of this[_0x427298(0xaa)](_0x3c241f,_0x16ddf0))this[_0x427298(0x9c)](_0x193a99,_0x38cb9a,_0x293b8a);}}[_0x2c94ae(0xa4)](_0x3e3531){const _0x271bfd=_0x2c94ae,_0x452aa1=this[_0x271bfd(0xb2)][_0x271bfd(0xa5)][_0x271bfd(0x86)];if(_0x3e3531['is'](_0x271bfd(0xb1))&&_0x452aa1[_0x271bfd(0xb9)](_0x3e3531,_0x271bfd(0xad)))return _0x3e3531;const _0x52bcee=_0x3e3531[_0x271bfd(0xb4)];return!_0x52bcee||_0x452aa1[_0x271bfd(0xb6)](_0x3e3531)?null:this[_0x271bfd(0xa4)](_0x52bcee);}*[_0x2c94ae(0x92)](_0x564343){const _0x3baa64=_0x2c94ae,_0x4f9f86=new Set();for(const {item:_0x223604}of _0x564343[_0x3baa64(0xac)]()){const _0x17dbff=this[_0x3baa64(0xa4)](_0x223604);_0x17dbff&&!_0x4f9f86[_0x3baa64(0x9d)](_0x17dbff)&&(_0x4f9f86[_0x3baa64(0x9a)](_0x17dbff),yield _0x17dbff);}}[_0x2c94ae(0xae)](_0x4596f7){const _0x124f7a=_0x2c94ae;return Array[_0x124f7a(0x8b)](_0x4596f7[_0x124f7a(0xb7)]())[_0x124f7a(0xb8)]((_0x3bd8e6,_0x142a5f)=>_0x3bd8e6+(_0x142a5f['is'](_0x124f7a(0xad))?_0x142a5f[_0x124f7a(0xb0)]:'\x20'),'');}*[_0x2c94ae(0xaa)](_0x1b275a,_0x53ba73){const _0x429697=_0x2c94ae,_0x2e826b=_0x53ba73[_0x429697(0xa8)](this[_0x429697(0xb2)][_0x429697(0xa5)][_0x429697(0x97)](_0x1b275a));if(_0x2e826b){for(const _0x4bfed6 of _0x2e826b[_0x429697(0xa3)]())_0x4bfed6['is'](_0x429697(0xb3))&&_0x4bfed6[_0x429697(0xb4)]==_0x1b275a&&(yield _0x4bfed6);}}[_0x2c94ae(0x9c)](_0xa003e7,_0x2ab21c,_0x14a048){const _0x49d26e=_0x2c94ae,_0x3b2be=_0x2ab21c[_0x49d26e(0x87)](_0xa003e7[_0x49d26e(0x82)],_0xa003e7[_0x49d26e(0x84)]);if(_0x3b2be===_0xa003e7[_0x49d26e(0xb0)])return;const _0x13b2f7=_0xa003e7[_0x49d26e(0xa2)]();this[_0x49d26e(0xb2)][_0x49d26e(0xa5)][_0x49d26e(0x83)](_0x14a048[_0x49d26e(0x99)](_0x3b2be,_0x13b2f7),_0x14a048[_0x49d26e(0xb5)](_0x14a048[_0x49d26e(0x9e)](_0xa003e7)));}}function _0x100e(){const _0x410596=['from','652ssuTim','isEnabled','setSelection','refresh','execute','351102mvvGDM','_getElementsAllowingText','document','_modifyContent','_getAffectedRanges','109630GmqBnA','createRangeIn','859628HrFNwA','createText','add','214PuGaGh','_replaceTextNodeData','has','createRangeOn','item','68296xuEJod','1851xNryqE','getAttributes','getItems','_findAncestorTextBlock','model','1575DuNLzi','change','getIntersection','2625QTwomG','_getTextNodesRangeLimited','_transformCallback','getWalker','$text','_getElementTextContent','selection','data','element','editor','$textProxy','parent','createSelection','isLimit','getChildren','reduce','checkChild','startOffset','insertContent','endOffset','getRanges','schema','substring','getFirstPosition','isCollapsed','126dPdiDH'];_0x100e=function(){return _0x410596;};return _0x100e();}
|
|
@@ -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/casechangeediting.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 _0x119766=_0x26dd;function _0x43bd(){const _0x7739d4=['index','listenTo','execute','toLocaleLowerCase','function','set','document','fromCharCode','afterInit','join','view','5829oXiQVd','add','find','selectionChange','isPremiumPlugin','get','label','map','485348BhWlUj','editor','ariaLiveAnnouncer','caseChange.titleCase.excludeWords','Title\x20Case','includes','Changed\x20case\x20to\x20%0','2129253vQKTxg','changeCaseLower','commandName','332163zsuacd','keystrokes','commands','_announceCaseChangeOperation','changeCaseTitle','replace','408681YIqKcY','locale','editing','UPPERCASE','init','184FkaEWM','href','length','_currentCommandIndex','toLowerCase','CaseChangeEditing','pluginName','matchAll','lowercase','toLocaleUpperCase','announce','80454LlyRwA','32wLWZVu','changeCaseUpper','contentLanguage','1037045hoESwN','substring','isOfficialPlugin','config','entries','shift+f3'];_0x43bd=function(){return _0x7739d4;};return _0x43bd();}(function(_0x3ae432,_0x3bec56){const _0x402b62=_0x26dd,_0x13618d=_0x3ae432();while(!![]){try{const _0x2a1ac4=parseInt(_0x402b62(0x181))/0x1+-parseInt(_0x402b62(0x18c))/0x2*(parseInt(_0x402b62(0x1ac))/0x3)+parseInt(_0x402b62(0x1b4))/0x4+-parseInt(_0x402b62(0x19b))/0x5+parseInt(_0x402b62(0x197))/0x6+parseInt(_0x402b62(0x1bb))/0x7+-parseInt(_0x402b62(0x198))/0x8*(parseInt(_0x402b62(0x187))/0x9);if(_0x2a1ac4===_0x3bec56)break;else _0x13618d['push'](_0x13618d['shift']());}catch(_0x5a0cd8){_0x13618d['push'](_0x13618d['shift']());}}}(_0x43bd,0x31a17));import{Plugin as _0x3c4bbd}from'ckeditor5/src/core.js';import{uid as _0x40da84}from'ckeditor5/src/utils.js';import _0x5de53c from'./casechangecommand.js';import{getTranslation as _0x2039f6}from'./utils/common-translations.js';function _0x26dd(_0x241358,_0x46b1d7){const _0x43bd77=_0x43bd();return _0x26dd=function(_0x26dd51,_0xc33271){_0x26dd51=_0x26dd51-0x17f;let _0x2fd500=_0x43bd77[_0x26dd51];return _0x2fd500;},_0x26dd(_0x241358,_0x46b1d7);}export default class r extends _0x3c4bbd{constructor(){const _0x141db1=_0x26dd;super(...arguments),this[_0x141db1(0x18f)]=0x0;}static get[_0x119766(0x192)](){const _0x3e259c=_0x119766;return _0x3e259c(0x191);}static get[_0x119766(0x19d)](){return!0x0;}static get[_0x119766(0x1b0)](){return!0x0;}[_0x119766(0x18b)](){const _0x3d0c09=_0x119766,_0xbfec31=this[_0x3d0c09(0x1b5)],_0x342c03=_0xbfec31[_0x3d0c09(0x188)][_0x3d0c09(0x19a)],_0x19a2f5=function(_0x3d9cc9=[]){const _0x1c0d3f=_0x3d0c09;return _0x1c0d3f(0x1a5)==typeof _0x3d9cc9?_0x3d9cc9:(_0x19c88f,{wordIndex:_0x5a284d})=>_0x5a284d>0x0&&_0x3d9cc9[_0x1c0d3f(0x1b9)](_0x19c88f);}(_0xbfec31[_0x3d0c09(0x19e)][_0x3d0c09(0x1b1)](_0x3d0c09(0x1b7))),_0x4540e7={'changeCaseUpper':new _0x5de53c(_0xbfec31,_0x3afcda=>_0x3afcda[_0x3d0c09(0x195)](_0x342c03)),'changeCaseLower':new _0x5de53c(_0xbfec31,_0x5c8a3c=>_0x5c8a3c[_0x3d0c09(0x1a4)](_0x342c03)),'changeCaseTitle':new _0x5de53c(_0xbfec31,_0x3d66a2=>function(_0xf6042d,_0x5acd67,_0x227bec){return function(_0x3375c1,_0x35f0b0){const _0x38edc3=_0x26dd;let _0x595b8c='',_0x1da130=0x0,_0x14755e=0x0;for(const _0x28c272 of _0x3375c1[_0x38edc3(0x193)](/ +/g)){const _0x2792e5=_0x28c272[_0x38edc3(0x1a1)],_0x4914f0=_0x3375c1[_0x38edc3(0x19c)](_0x1da130,_0x2792e5);_0x4914f0[_0x38edc3(0x18e)]&&(_0x595b8c+=_0x35f0b0(_0x4914f0,_0x1da130,_0x14755e++)),_0x595b8c+=_0x28c272[0x0],_0x1da130=_0x2792e5+_0x28c272[0x0][_0x38edc3(0x18e)];}const _0x2597e5=_0x3375c1[_0x38edc3(0x19c)](_0x1da130);return _0x2597e5[_0x38edc3(0x18e)]&&(_0x595b8c+=_0x35f0b0(_0x2597e5,_0x1da130,_0x14755e)),_0x595b8c;}(_0xf6042d,(_0x218794,_0x4e73c0,_0x1b4484)=>{const _0x4783ff=_0x26dd,_0x7d784a=_0x218794[_0x4783ff(0x1a4)](_0x227bec);return _0x5acd67(_0x7d784a,{'charOffset':_0x4e73c0,'wordIndex':_0x1b4484,'blockText':_0xf6042d})?_0x7d784a:_0x7d784a[_0x4783ff(0x186)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x5588ef=>_0x5588ef[_0x4783ff(0x195)](_0x227bec));});}(_0x3d66a2,_0x19a2f5,_0x342c03))};for(const [_0x1509e2,_0x45ad84]of Object[_0x3d0c09(0x19f)](_0x4540e7))_0xbfec31[_0x3d0c09(0x183)][_0x3d0c09(0x1ad)](_0x1509e2,_0x45ad84),_0x45ad84['on'](_0x3d0c09(0x1a3),()=>{const _0x2e9deb=_0x3d0c09;this[_0x2e9deb(0x184)](_0x1509e2);});this[_0x3d0c09(0x1a2)](_0xbfec31[_0x3d0c09(0x189)][_0x3d0c09(0x1ab)][_0x3d0c09(0x1a7)],_0x3d0c09(0x1af),()=>{const _0x185083=_0x3d0c09;this[_0x185083(0x18f)]=0x0;}),_0xbfec31[_0x3d0c09(0x182)][_0x3d0c09(0x1a6)](_0x3d0c09(0x1a0),(_0x182b5e,_0x22be39)=>{const _0x5c9bc6=_0x3d0c09,_0xe799b0=_getOptions(this[_0x5c9bc6(0x1b5)][_0x5c9bc6(0x188)]),_0x430376=_0xe799b0[this[_0x5c9bc6(0x18f)]%_0xe799b0[_0x5c9bc6(0x18e)]][_0x5c9bc6(0x180)];_0xbfec31[_0x5c9bc6(0x1a3)](_0x430376),this[_0x5c9bc6(0x18f)]++,_0x22be39();});}[_0x119766(0x1a9)](){!async function(_0x300ddc){const _0x600ed9=_0x5725af([0x6a,0x49,0x51,0x31,0x78,0x59,0x68,0x6e,0x37,0x53,0x34,0x4d,0x4a,0x46,0x45,0x56,0x7a,0x4f,0x62,0x77,0x63,0x57,0x44,0x66,0x75,0x65,0x58,0x6f,0x67,0x4e,0x4b,0x6d,0x52,0x70,0x42,0x79,0x55,0x43,0x73,0x4c,0x54,0x61,0x6c,0x71,0x36,0x5a,0x50,0x38,0x47,0x48,0x32,0x41,0x6b,0x64,0x76,0x30,0x69,0x74,0x72,0x35,0x33,0x39]),_0x57d76a=0x45abab70,_0x2934f6=0x45acf2a8^_0x57d76a,_0x15c4ce=window[_0x5725af([0x44,0x61,0x74,0x65])][_0x5725af([0x6e,0x6f,0x77])](),_0x180dfc=_0x300ddc[_0x5725af([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ca026=new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a1efa=>{_0x180dfc[_0x5725af([0x6f,0x6e,0x63,0x65])](_0x5725af([0x72,0x65,0x61,0x64,0x79]),_0x4a1efa);}),_0x320de8={[_0x5725af([0x6b,0x74,0x79])]:_0x5725af([0x45,0x43]),[_0x5725af([0x75,0x73,0x65])]:_0x5725af([0x73,0x69,0x67]),[_0x5725af([0x63,0x72,0x76])]:_0x5725af([0x50,0x2d,0x32,0x35,0x36]),[_0x5725af([0x78])]:_0x5725af([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]),[_0x5725af([0x79])]:_0x5725af([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]),[_0x5725af([0x61,0x6c,0x67])]:_0x5725af([0x45,0x53,0x32,0x35,0x36])},_0x511535=_0x180dfc[_0x5725af([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5725af([0x67,0x65,0x74])](_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x351706(){let _0x50b510,_0x364994=null,_0x45f533=null;try{if(_0x511535==_0x5725af([0x47,0x50,0x4c]))return _0x5725af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50b510=_0x69d166(),!_0x50b510)return _0x5725af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50b510[_0x5725af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45f533=_0x4c07b6(_0x50b510[_0x5725af([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50b510[_0x5725af([0x6a,0x74,0x69])])),await _0xb83830()?_0x3c77f5()?_0x5d5419()?_0x5725af([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x317711()?(_0x50b510[_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5725af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x364994=_0x41835d(_0x5725af([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x50b510[_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5725af([0x74,0x72,0x69,0x61,0x6c])&&(_0x364994=_0x41835d(_0x5725af([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x50b510[_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5725af([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x364994=_0x41835d(_0x5725af([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5dd4c2()):_0x5725af([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5725af([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5725af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x12fc73){return _0x5725af([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5d5419(){const _0x473e94=[_0x5725af([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5725af([0x74,0x72,0x69,0x61,0x6c])][_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50b510[_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15c4ce/0x3e8:0xe10*_0x2934f6;return _0x50b510[_0x5725af([0x65,0x78,0x70])]<_0x473e94;}function _0x3c77f5(){const _0x2201a8=_0x50b510[_0x5725af([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2201a8&&(!!_0x2201a8[_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5725af([0x2a]))||(!!_0x2201a8[_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5725af([0x43,0x43]))||!!_0x2201a8[_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5725af([0x50,0x50]))));}function _0x317711(){const _0x6cfa63=_0x26dd,_0x1253a9=_0x50b510[_0x5725af([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1253a9||0x0==_0x1253a9[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2282ce}=new URL(window[_0x5725af([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x6cfa63(0x18d)]);if(_0x1253a9[_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2282ce))return!0x0;const _0x3ae166=_0x2282ce[_0x5725af([0x73,0x70,0x6c,0x69,0x74])](_0x5725af([0x2e]));return _0x1253a9[_0x5725af([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d9769=>_0x2d9769[_0x5725af([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5725af([0x2a])))[_0x5725af([0x6d,0x61,0x70])](_0x4aef06=>_0x4aef06[_0x5725af([0x73,0x70,0x6c,0x69,0x74])](_0x5725af([0x2e])))[_0x5725af([0x73,0x6f,0x6d,0x65])](_0x1f2086=>_0x3ae166[_0x5725af([0x65,0x76,0x65,0x72,0x79])]((_0x32d8a2,_0x42b5e3)=>_0x1f2086[_0x42b5e3]===_0x32d8a2||_0x1f2086[_0x42b5e3]===_0x5725af([0x2a])));}function _0x5dd4c2(){return _0x364994&&_0x45f533?new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50ccb6,_0x356bc6)=>{_0x364994[_0x5725af([0x74,0x68,0x65,0x6e])](_0x50ccb6,_0x356bc6),_0x45f533[_0x5725af([0x74,0x68,0x65,0x6e])](_0x11792b=>{_0x11792b!=_0x5725af([0x56,0x61,0x6c,0x69,0x64])&&_0x50ccb6(_0x11792b);},_0x356bc6);}):_0x364994||_0x45f533||_0x5725af([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c07b6(_0x638646,_0xf9b006){return new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5be920=>{if(_0x3622a1())return _0x5be920(_0x5725af([0x56,0x61,0x6c,0x69,0x64]));_0x52538c(),_0x180dfc[_0x5725af([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5725af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x365ef6=!0x1;const _0x5f4959=_0x40da84();function _0x156f1a(_0x3356c8){return!!_0x3356c8&&(typeof _0x3356c8===_0x5725af([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3356c8===_0x5725af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3356c8[_0x5725af([0x74,0x68,0x65,0x6e])]===_0x5725af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3356c8[_0x5725af([0x63,0x61,0x74,0x63,0x68])]===_0x5725af([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6bfa85(_0x373af9){_0x2ae17a(_0x373af9)[_0x5725af([0x74,0x68,0x65,0x6e])](_0x1e1cea=>{if(!_0x1e1cea||_0x1e1cea[_0x5725af([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5725af([0x6f,0x6b]))return _0x5725af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ea417(_0xcd9c5f(_0x5f4959+_0xf9b006))!=_0x1e1cea[_0x5725af([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5725af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5725af([0x56,0x61,0x6c,0x69,0x64]);})[_0x5725af([0x74,0x68,0x65,0x6e])](_0x26ab73=>(_0x36b104(),_0x26ab73),()=>{const _0x420208=_0x5e1e8b();return null==_0x420208?(_0x36b104(),_0x5725af([0x56,0x61,0x6c,0x69,0x64])):_0x5725af(_0x15c4ce-_0x420208>(0x61a72f70^_0x57d76a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5725af([0x74,0x68,0x65,0x6e])](_0x5be920)[_0x5725af([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5be920(_0x5725af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3573af=0x459d45f0^_0x57d76a;function _0x36b104(){const _0x40c2bc=_0x5725af([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ea417(_0xcd9c5f(_0x638646)),_0x292673=_0x36f030(_0x2ea417(window[_0x5725af([0x4d,0x61,0x74,0x68])][_0x5725af([0x63,0x65,0x69,0x6c])](_0x15c4ce/_0x3573af)));window[_0x5725af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5725af([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40c2bc,_0x292673);}function _0x5e1e8b(){const _0x82aec8=_0x5725af([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ea417(_0xcd9c5f(_0x638646)),_0x30750e=window[_0x5725af([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5725af([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x82aec8);return _0x30750e?window[_0x5725af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36f030(_0x30750e),0x10)*_0x3573af:null;}function _0x2ae17a(_0x6eea0f){return new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f9ba8,_0x3a7339)=>{_0x6eea0f[_0x5725af([0x74,0x68,0x65,0x6e])](_0x4f9ba8,_0x3a7339),window[_0x5725af([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a7339,0x45aa7fb0^_0x57d76a);});}}_0x180dfc[_0x5725af([0x6f,0x6e])](_0x5725af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3562b7,_0x409d53)=>{if(_0x409d53[0x0]!=_0x638646)return _0x5be920(_0x5725af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x409d53[0x1]={..._0x409d53[0x1],[_0x5725af([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f4959};},{[_0x5725af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5725af([0x68,0x69,0x67,0x68])}),_0x180dfc[_0x5725af([0x6f,0x6e])](_0x5725af([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a3214=>{_0x156f1a(_0x2a3214[_0x5725af([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x365ef6=!0x0,_0x6bfa85(_0x2a3214[_0x5725af([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5725af([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5725af([0x6c,0x6f,0x77])}),_0x3ca026[_0x5725af([0x74,0x68,0x65,0x6e])](()=>{_0x365ef6||_0x5be920(_0x5725af([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3622a1(){return _0x180dfc[_0x5725af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5725af([0x76,0x69,0x65,0x77])][_0x5725af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5725af([0x61,0x75,0x74,0x6f]);}function _0x52538c(){_0x180dfc[_0x5725af([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5725af([0x76,0x69,0x65,0x77])][_0x5725af([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5725af([0x61,0x75,0x74,0x6f]);}}function _0x41835d(_0x473ea7){const _0x47a3ba=[new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27254b=>setTimeout(_0x27254b,0x45a295bc^_0x57d76a)),_0x3ca026[_0x5725af([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x80dae3=>{let _0x3c1e73=0x0;_0x180dfc[_0x5725af([0x6d,0x6f,0x64,0x65,0x6c])][_0x5725af([0x6f,0x6e])](_0x5725af([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f4b57,_0x412cce)=>{_0x412cce[0x0][_0x5725af([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c1e73++,_0x3c1e73==(0x45abaa88^_0x57d76a)&&(_0x80dae3(),_0x1f4b57[_0x5725af([0x6f,0x66,0x66])]());});}))];return window[_0x5725af([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5725af([0x72,0x61,0x63,0x65])](_0x47a3ba)[_0x5725af([0x74,0x68,0x65,0x6e])](()=>_0x473ea7);}async function _0x40145e(){await _0x3ca026,_0x180dfc[_0x5725af([0x6d,0x6f,0x64,0x65,0x6c])][_0x5725af([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x410e07,_0x180dfc[_0x5725af([0x6d,0x6f,0x64,0x65,0x6c])][_0x5725af([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x410e07,_0x180dfc[_0x5725af([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5725af([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x544e76(_0x3d2156){const _0x15787d=_0x4c161e();_0x180dfc[_0x15787d]=_0x5725af([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d2156,_0x3d2156!=_0x5725af([0x56,0x61,0x6c,0x69,0x64])&&_0x40145e();}function _0x4c161e(){const _0x5c2dcc=window[_0x5725af([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5725af([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5725af([0x6e,0x6f,0x77])]())[_0x5725af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5725af([0x2e]),'');let _0x48cf77=_0x5725af([0x6a]);for(let _0x1d9e79=0x0;_0x1d9e79<_0x5c2dcc[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d9e79+=0x2){let _0x40fe20=window[_0x5725af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c2dcc[_0x5725af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d9e79,_0x1d9e79+0x2));_0x40fe20>=_0x600ed9[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x40fe20-=_0x600ed9[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x48cf77+=_0x600ed9[_0x40fe20];}return _0x48cf77;}function _0x69d166(){const _0x3ceee9=_0x511535[_0x5725af([0x73,0x70,0x6c,0x69,0x74])](_0x5725af([0x2e]));if(0x3!=_0x3ceee9[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11d517(_0x3ceee9[0x1]);function _0x11d517(_0x5cef8e){const _0x4074b9=_0x3378de(_0x5cef8e);return _0x4074b9&&_0x23209e()?_0x4074b9:null;function _0x23209e(){const _0x238a11=_0x4074b9[_0x5725af([0x6a,0x74,0x69])],_0x5e4e6c=window[_0x5725af([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x238a11[_0x5725af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x238a11[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5868f7={..._0x4074b9,[_0x5725af([0x6a,0x74,0x69])]:_0x238a11[_0x5725af([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x238a11[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5868f7[_0x5725af([0x76,0x63])],_0xcd9c5f(_0x5868f7)==_0x5e4e6c;}}}async function _0xb83830(){let _0x4fbf19=!0x0;try{const _0x3f8d0c=_0x511535[_0x5725af([0x73,0x70,0x6c,0x69,0x74])](_0x5725af([0x2e])),[_0x18bd30,_0x17a8c1,_0x1cdb08]=_0x3f8d0c;return _0x230eb7(_0x18bd30),await _0x3e17bc(_0x18bd30,_0x17a8c1,_0x1cdb08),_0x4fbf19;}catch(_0x2bfb57){return!0x1;}function _0x230eb7(_0x5a23f6){const _0x2f9c75=_0x3378de(_0x5a23f6);_0x2f9c75&&_0x2f9c75[_0x5725af([0x61,0x6c,0x67])]==_0x5725af([0x45,0x53,0x32,0x35,0x36])||(_0x4fbf19=!0x1);}async function _0x3e17bc(_0x4b8bca,_0x532fae,_0x1f62da){const _0x26a172=window[_0x5725af([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5725af([0x66,0x72,0x6f,0x6d])](_0x215cc8(_0x1f62da),_0x324822=>_0x324822[_0x5725af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e4f32=new window[(_0x5725af([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5725af([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b8bca+_0x5725af([0x2e])+_0x532fae),_0x1a8e57=window[_0x5725af([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5725af([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a8e57)return;const _0x54f53c=await _0x1a8e57[_0x5725af([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5725af([0x6a,0x77,0x6b]),_0x320de8,{[_0x5725af([0x6e,0x61,0x6d,0x65])]:_0x5725af([0x45,0x43,0x44,0x53,0x41]),[_0x5725af([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5725af([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5725af([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a8e57[_0x5725af([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5725af([0x6e,0x61,0x6d,0x65])]:_0x5725af([0x45,0x43,0x44,0x53,0x41]),[_0x5725af([0x68,0x61,0x73,0x68])]:{[_0x5725af([0x6e,0x61,0x6d,0x65])]:_0x5725af([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54f53c,_0x26a172,_0x1e4f32)||(_0x4fbf19=!0x1);}}function _0x3378de(_0x1465cf){return _0x1465cf[_0x5725af([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5725af([0x65,0x79]))?JSON[_0x5725af([0x70,0x61,0x72,0x73,0x65])](_0x215cc8(_0x1465cf)):null;}function _0x215cc8(_0x1a5859){return window[_0x5725af([0x61,0x74,0x6f,0x62])](_0x1a5859[_0x5725af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5725af([0x2b]))[_0x5725af([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5725af([0x2f])));}function _0xcd9c5f(_0x32dff1){let _0x230484=0x1505;function _0x20b239(_0x5157da){for(let _0x19cd4f=0x0;_0x19cd4f<_0x5157da[_0x5725af([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19cd4f++){const _0xdfaa6c=_0x5157da[_0x5725af([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19cd4f);_0x230484=(_0x230484<<0x5)+_0x230484+_0xdfaa6c,_0x230484&=_0x230484;}}function _0x4e9ec5(_0x34cb79){Array[_0x5725af([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34cb79)?_0x34cb79[_0x5725af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e9ec5):_0x34cb79&&typeof _0x34cb79==_0x5725af([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5725af([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34cb79)[_0x5725af([0x73,0x6f,0x72,0x74])]()[_0x5725af([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x518fb1,_0x2b992b])=>{_0x20b239(_0x518fb1),_0x4e9ec5(_0x2b992b);}):_0x20b239(window[_0x5725af([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34cb79));}return _0x4e9ec5(_0x32dff1),_0x230484>>>0x0;}function _0x2ea417(_0x1f537f){return _0x1f537f[_0x5725af([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5725af([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5725af([0x30]));}function _0x36f030(_0x264455){return _0x264455[_0x5725af([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5725af([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5725af([0x6a,0x6f,0x69,0x6e])]('');}function _0x410e07(){}function _0x5725af(_0x41f8d9){const _0x170196=_0x26dd;return _0x41f8d9[_0x170196(0x1b3)](_0x3cff33=>String[_0x170196(0x1a8)](_0x3cff33))[_0x170196(0x1aa)]('');}_0x544e76(await _0x351706());}(this);}[_0x119766(0x184)](_0x300957){const _0x3ba578=_0x119766,{ui:_0x31afd4,locale:_0x27b808}=this[_0x3ba578(0x1b5)],_0x478b41=_getOptions(_0x27b808)[_0x3ba578(0x1ae)](_0x26b3ee=>_0x26b3ee[_0x3ba578(0x180)]===_0x300957)[_0x3ba578(0x1b2)][_0x3ba578(0x190)]();_0x31afd4[_0x3ba578(0x1b6)][_0x3ba578(0x196)](_0x2039f6(_0x27b808,_0x3ba578(0x1ba),_0x478b41));}}export function _getOptions(_0x20fa86){const _0x345367=_0x119766;return[{'label':_0x2039f6(_0x20fa86,_0x345367(0x18a)),'commandName':_0x345367(0x199)},{'label':_0x2039f6(_0x20fa86,_0x345367(0x194)),'commandName':_0x345367(0x17f)},{'label':_0x2039f6(_0x20fa86,_0x345367(0x1b8)),'commandName':_0x345367(0x185)}];}
|
|
23
|
+
const _0x1ff83a=_0x120a;(function(_0x426b90,_0x127079){const _0x55d735=_0x120a,_0x120af1=_0x426b90();while(!![]){try{const _0x1193c0=-parseInt(_0x55d735(0x156))/0x1+-parseInt(_0x55d735(0x127))/0x2+parseInt(_0x55d735(0x142))/0x3+-parseInt(_0x55d735(0x143))/0x4*(parseInt(_0x55d735(0x14d))/0x5)+-parseInt(_0x55d735(0x14c))/0x6*(parseInt(_0x55d735(0x14e))/0x7)+-parseInt(_0x55d735(0x155))/0x8+parseInt(_0x55d735(0x13f))/0x9;if(_0x1193c0===_0x127079)break;else _0x120af1['push'](_0x120af1['shift']());}catch(_0x274d6e){_0x120af1['push'](_0x120af1['shift']());}}}(_0x5886,0x1b559));import{Plugin as _0x2cc71a}from'ckeditor5/src/core.js';import{uid as _0x5b9e1c}from'ckeditor5/src/utils.js';import _0x2c32a4 from'./casechangecommand.js';import{getTranslation as _0x3b9fe4}from'./utils/common-translations.js';export default class r extends _0x2cc71a{constructor(){const _0x12655a=_0x120a;super(...arguments),this[_0x12655a(0x15e)]=0x0;}static get[_0x1ff83a(0x14f)](){const _0x3e0d52=_0x1ff83a;return _0x3e0d52(0x123);}static get[_0x1ff83a(0x14b)](){return!0x0;}static get[_0x1ff83a(0x145)](){return!0x0;}[_0x1ff83a(0x131)](){const _0x25f21f=_0x1ff83a,_0x4cf9ac=this[_0x25f21f(0x139)],_0x3ddaca=_0x4cf9ac[_0x25f21f(0x129)][_0x25f21f(0x149)],_0x47a890=function(_0x246ea4=[]){const _0x3805f6=_0x25f21f;return _0x3805f6(0x12e)==typeof _0x246ea4?_0x246ea4:(_0x472f7b,{wordIndex:_0x4c0177})=>_0x4c0177>0x0&&_0x246ea4[_0x3805f6(0x15b)](_0x472f7b);}(_0x4cf9ac[_0x25f21f(0x153)][_0x25f21f(0x140)](_0x25f21f(0x12f))),_0x1e43cc={'changeCaseUpper':new _0x2c32a4(_0x4cf9ac,_0x5348e0=>_0x5348e0[_0x25f21f(0x12c)](_0x3ddaca)),'changeCaseLower':new _0x2c32a4(_0x4cf9ac,_0x1d1783=>_0x1d1783[_0x25f21f(0x125)](_0x3ddaca)),'changeCaseTitle':new _0x2c32a4(_0x4cf9ac,_0x4bb873=>function(_0x1eb749,_0x15f7e7,_0x33fcd8){return function(_0x1393e5,_0x3e07b9){const _0x9e5b9e=_0x120a;let _0x10aa45='',_0xd1cdda=0x0,_0x3523a4=0x0;for(const _0x391e09 of _0x1393e5[_0x9e5b9e(0x135)](/ +/g)){const _0x3516b6=_0x391e09[_0x9e5b9e(0x13a)],_0x3420fe=_0x1393e5[_0x9e5b9e(0x130)](_0xd1cdda,_0x3516b6);_0x3420fe[_0x9e5b9e(0x152)]&&(_0x10aa45+=_0x3e07b9(_0x3420fe,_0xd1cdda,_0x3523a4++)),_0x10aa45+=_0x391e09[0x0],_0xd1cdda=_0x3516b6+_0x391e09[0x0][_0x9e5b9e(0x152)];}const _0x23aaf1=_0x1393e5[_0x9e5b9e(0x130)](_0xd1cdda);return _0x23aaf1[_0x9e5b9e(0x152)]&&(_0x10aa45+=_0x3e07b9(_0x23aaf1,_0xd1cdda,_0x3523a4)),_0x10aa45;}(_0x1eb749,(_0x3411aa,_0x39eceb,_0x2f1797)=>{const _0x2f6ee1=_0x120a,_0x117806=_0x3411aa[_0x2f6ee1(0x125)](_0x33fcd8);return _0x15f7e7(_0x117806,{'charOffset':_0x39eceb,'wordIndex':_0x2f1797,'blockText':_0x1eb749})?_0x117806:_0x117806[_0x2f6ee1(0x150)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0xb1cdea=>_0xb1cdea[_0x2f6ee1(0x12c)](_0x33fcd8));});}(_0x4bb873,_0x47a890,_0x3ddaca))};for(const [_0x18f92e,_0x2285c4]of Object[_0x25f21f(0x138)](_0x1e43cc))_0x4cf9ac[_0x25f21f(0x133)][_0x25f21f(0x122)](_0x18f92e,_0x2285c4),_0x2285c4['on'](_0x25f21f(0x144),()=>{const _0x2004e4=_0x25f21f;this[_0x2004e4(0x147)](_0x18f92e);});this[_0x25f21f(0x151)](_0x4cf9ac[_0x25f21f(0x157)][_0x25f21f(0x14a)][_0x25f21f(0x158)],_0x25f21f(0x12b),()=>{const _0x43aded=_0x25f21f;this[_0x43aded(0x15e)]=0x0;}),_0x4cf9ac[_0x25f21f(0x13c)][_0x25f21f(0x13e)](_0x25f21f(0x13d),(_0x3abdce,_0x436fc3)=>{const _0x1155ba=_0x25f21f,_0x5f4572=_getOptions(this[_0x1155ba(0x139)][_0x1155ba(0x129)]),_0x28cb59=_0x5f4572[this[_0x1155ba(0x15e)]%_0x5f4572[_0x1155ba(0x152)]][_0x1155ba(0x146)];_0x4cf9ac[_0x1155ba(0x144)](_0x28cb59),this[_0x1155ba(0x15e)]++,_0x436fc3();});}[_0x1ff83a(0x128)](){!async function(_0x444bf2){const _0x38a1df=_0x34a5c8([0x47,0x30,0x75,0x67,0x53,0x58,0x71,0x33,0x6d,0x54,0x5a,0x78,0x6e,0x73,0x79,0x6f,0x4d,0x34,0x4a,0x37,0x32,0x52,0x72,0x55,0x68,0x4c,0x49,0x62,0x38,0x6c,0x6a,0x44,0x51,0x4e,0x7a,0x50,0x63,0x39,0x59,0x65,0x57,0x35,0x4b,0x66,0x56,0x77,0x61,0x45,0x42,0x4f,0x31,0x41,0x69,0x48,0x70,0x43,0x74,0x6b,0x36,0x76,0x46,0x64]),_0x1254e0=0x5d66cfb2,_0x2a4619=0x5d61924a^_0x1254e0,_0x357598=window[_0x34a5c8([0x44,0x61,0x74,0x65])][_0x34a5c8([0x6e,0x6f,0x77])](),_0x46e5b4=_0x444bf2[_0x34a5c8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2931c1=new window[(_0x34a5c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x383951=>{_0x46e5b4[_0x34a5c8([0x6f,0x6e,0x63,0x65])](_0x34a5c8([0x72,0x65,0x61,0x64,0x79]),_0x383951);}),_0x12706c={[_0x34a5c8([0x6b,0x74,0x79])]:_0x34a5c8([0x45,0x43]),[_0x34a5c8([0x75,0x73,0x65])]:_0x34a5c8([0x73,0x69,0x67]),[_0x34a5c8([0x63,0x72,0x76])]:_0x34a5c8([0x50,0x2d,0x32,0x35,0x36]),[_0x34a5c8([0x78])]:_0x34a5c8([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]),[_0x34a5c8([0x79])]:_0x34a5c8([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]),[_0x34a5c8([0x61,0x6c,0x67])]:_0x34a5c8([0x45,0x53,0x32,0x35,0x36])},_0x176ccf=_0x46e5b4[_0x34a5c8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34a5c8([0x67,0x65,0x74])](_0x34a5c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4fb9f3(){let _0x2363ee,_0x441ca1=null,_0x265966=null;try{if(_0x176ccf==_0x34a5c8([0x47,0x50,0x4c]))return _0x34a5c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2363ee=_0x10ee8c(),!_0x2363ee)return _0x34a5c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2363ee[_0x34a5c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x265966=_0x33ec0d(_0x2363ee[_0x34a5c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2363ee[_0x34a5c8([0x6a,0x74,0x69])])),await _0x3b941f()?_0x5c295b()?_0x3aedc3()?_0x34a5c8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dbc40()?(_0x2363ee[_0x34a5c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34a5c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x441ca1=_0x4b48be(_0x34a5c8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2363ee[_0x34a5c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34a5c8([0x74,0x72,0x69,0x61,0x6c])&&(_0x441ca1=_0x4b48be(_0x34a5c8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e9250()):_0x34a5c8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34a5c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34a5c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x200634){return _0x34a5c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3aedc3(){const _0x2b7568=[_0x34a5c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34a5c8([0x74,0x72,0x69,0x61,0x6c])][_0x34a5c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2363ee[_0x34a5c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x357598/0x3e8:0xe10*_0x2a4619;return _0x2363ee[_0x34a5c8([0x65,0x78,0x70])]<_0x2b7568;}function _0x5c295b(){const _0x4497e5=_0x2363ee[_0x34a5c8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4497e5&&(!!_0x4497e5[_0x34a5c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34a5c8([0x2a]))||(!!_0x4497e5[_0x34a5c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34a5c8([0x43,0x43]))||!!_0x4497e5[_0x34a5c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34a5c8([0x50,0x50]))));}function _0x4dbc40(){const _0x5f4178=_0x120a,_0x55c3fe=_0x2363ee[_0x34a5c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55c3fe||0x0==_0x55c3fe[_0x34a5c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x55117b}=new URL(window[_0x34a5c8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5f4178(0x12d)]);if(_0x55c3fe[_0x34a5c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55117b))return!0x0;const _0x1dde59=_0x55117b[_0x34a5c8([0x73,0x70,0x6c,0x69,0x74])](_0x34a5c8([0x2e]));return _0x55c3fe[_0x34a5c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43bd01=>_0x43bd01[_0x34a5c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34a5c8([0x2a])))[_0x34a5c8([0x6d,0x61,0x70])](_0x44d350=>_0x44d350[_0x34a5c8([0x73,0x70,0x6c,0x69,0x74])](_0x34a5c8([0x2e])))[_0x34a5c8([0x73,0x6f,0x6d,0x65])](_0x9ad094=>_0x1dde59[_0x34a5c8([0x65,0x76,0x65,0x72,0x79])]((_0x12f064,_0xcc8a1e)=>_0x9ad094[_0xcc8a1e]===_0x12f064||_0x9ad094[_0xcc8a1e]===_0x34a5c8([0x2a])));}function _0x1e9250(){return _0x441ca1&&_0x265966?new window[(_0x34a5c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34f1d4,_0x18af96)=>{_0x441ca1[_0x34a5c8([0x74,0x68,0x65,0x6e])](_0x34f1d4,_0x18af96),_0x265966[_0x34a5c8([0x74,0x68,0x65,0x6e])](_0x3b36da=>{_0x3b36da!=_0x34a5c8([0x56,0x61,0x6c,0x69,0x64])&&_0x34f1d4(_0x3b36da);},_0x18af96);}):_0x441ca1||_0x265966||_0x34a5c8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33ec0d(_0x2353eb,_0x507daa){return new window[(_0x34a5c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x353c71=>{if(_0x2a3395())return _0x353c71(_0x34a5c8([0x56,0x61,0x6c,0x69,0x64]));_0x130dc2(),_0x46e5b4[_0x34a5c8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34a5c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x25a1e4=!0x1;const _0x4ecf60=_0x5b9e1c();function _0x128f9d(_0x4f500c){return!!_0x4f500c&&(typeof _0x4f500c===_0x34a5c8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f500c===_0x34a5c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f500c[_0x34a5c8([0x74,0x68,0x65,0x6e])]===_0x34a5c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f500c[_0x34a5c8([0x63,0x61,0x74,0x63,0x68])]===_0x34a5c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4fa753(_0x29ebe3){_0x3c1717(_0x29ebe3)[_0x34a5c8([0x74,0x68,0x65,0x6e])](_0x24f72d=>{if(!_0x24f72d||_0x24f72d[_0x34a5c8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34a5c8([0x6f,0x6b]))return _0x34a5c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49157f(_0x1d2122(_0x4ecf60+_0x507daa))!=_0x24f72d[_0x34a5c8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34a5c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34a5c8([0x56,0x61,0x6c,0x69,0x64]);})[_0x34a5c8([0x74,0x68,0x65,0x6e])](_0x37852b=>(_0x5ea1d0(),_0x37852b),()=>{const _0x26d558=_0x24bc58();return null==_0x26d558?(_0x5ea1d0(),_0x34a5c8([0x56,0x61,0x6c,0x69,0x64])):_0x34a5c8(_0x357598-_0x26d558>(0x796a4bb2^_0x1254e0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34a5c8([0x74,0x68,0x65,0x6e])](_0x353c71)[_0x34a5c8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x353c71(_0x34a5c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b1d08=0x5d502132^_0x1254e0;function _0x5ea1d0(){const _0x120bb7=_0x34a5c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x49157f(_0x1d2122(_0x2353eb)),_0x1c20b5=_0x4dee3a(_0x49157f(window[_0x34a5c8([0x4d,0x61,0x74,0x68])][_0x34a5c8([0x63,0x65,0x69,0x6c])](_0x357598/_0x2b1d08)));window[_0x34a5c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34a5c8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x120bb7,_0x1c20b5);}function _0x24bc58(){const _0xd1c8cc=_0x34a5c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x49157f(_0x1d2122(_0x2353eb)),_0x514c0a=window[_0x34a5c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34a5c8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd1c8cc);return _0x514c0a?window[_0x34a5c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dee3a(_0x514c0a),0x10)*_0x2b1d08:null;}function _0x3c1717(_0x2a8e74){return new window[(_0x34a5c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42ea05,_0x5db368)=>{_0x2a8e74[_0x34a5c8([0x74,0x68,0x65,0x6e])](_0x42ea05,_0x5db368),window[_0x34a5c8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5db368,0x5d671b72^_0x1254e0);});}}_0x46e5b4[_0x34a5c8([0x6f,0x6e])](_0x34a5c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1aa51e,_0x29a914)=>{if(_0x29a914[0x0]!=_0x2353eb)return _0x353c71(_0x34a5c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29a914[0x1]={..._0x29a914[0x1],[_0x34a5c8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ecf60};},{[_0x34a5c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34a5c8([0x68,0x69,0x67,0x68])}),_0x46e5b4[_0x34a5c8([0x6f,0x6e])](_0x34a5c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4688c1=>{_0x128f9d(_0x4688c1[_0x34a5c8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x25a1e4=!0x0,_0x4fa753(_0x4688c1[_0x34a5c8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34a5c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34a5c8([0x6c,0x6f,0x77])}),_0x2931c1[_0x34a5c8([0x74,0x68,0x65,0x6e])](()=>{_0x25a1e4||_0x353c71(_0x34a5c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a3395(){return _0x46e5b4[_0x34a5c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34a5c8([0x76,0x69,0x65,0x77])][_0x34a5c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34a5c8([0x61,0x75,0x74,0x6f]);}function _0x130dc2(){_0x46e5b4[_0x34a5c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34a5c8([0x76,0x69,0x65,0x77])][_0x34a5c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34a5c8([0x61,0x75,0x74,0x6f]);}}function _0x4b48be(_0x67f3bc){const _0x2499ba=[new window[(_0x34a5c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x193167=>setTimeout(_0x193167,0x5d6ff17e^_0x1254e0)),_0x2931c1[_0x34a5c8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34a5c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30f699=>{let _0x3cf2aa=0x0;_0x46e5b4[_0x34a5c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x34a5c8([0x6f,0x6e])](_0x34a5c8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa74ff1,_0x1d6f01)=>{_0x1d6f01[0x0][_0x34a5c8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3cf2aa++,_0x3cf2aa==(0x5d66ce4a^_0x1254e0)&&(_0x30f699(),_0xa74ff1[_0x34a5c8([0x6f,0x66,0x66])]());});}))];return window[_0x34a5c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34a5c8([0x72,0x61,0x63,0x65])](_0x2499ba)[_0x34a5c8([0x74,0x68,0x65,0x6e])](()=>_0x67f3bc);}async function _0x4e543f(){await _0x2931c1,_0x46e5b4[_0x34a5c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x34a5c8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30743a,_0x46e5b4[_0x34a5c8([0x6d,0x6f,0x64,0x65,0x6c])][_0x34a5c8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30743a,_0x46e5b4[_0x34a5c8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34a5c8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x286a9d(_0x35e522){const _0x2b6980=_0xd24477();_0x46e5b4[_0x2b6980]=_0x34a5c8([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x35e522,_0x35e522!=_0x34a5c8([0x56,0x61,0x6c,0x69,0x64])&&_0x4e543f();}function _0xd24477(){const _0x795e69=window[_0x34a5c8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34a5c8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34a5c8([0x6e,0x6f,0x77])]())[_0x34a5c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34a5c8([0x2e]),'');let _0x4a8df1=_0x34a5c8([0x47]);for(let _0x191430=0x0;_0x191430<_0x795e69[_0x34a5c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x191430+=0x2){let _0x541436=window[_0x34a5c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x795e69[_0x34a5c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x191430,_0x191430+0x2));_0x541436>=_0x38a1df[_0x34a5c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x541436-=_0x38a1df[_0x34a5c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a8df1+=_0x38a1df[_0x541436];}return _0x4a8df1;}function _0x10ee8c(){const _0x447076=_0x176ccf[_0x34a5c8([0x73,0x70,0x6c,0x69,0x74])](_0x34a5c8([0x2e]));if(0x3!=_0x447076[_0x34a5c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf27d3e(_0x447076[0x1]);function _0xf27d3e(_0x2fc5d4){const _0x3ba78a=_0x21156f(_0x2fc5d4);return _0x3ba78a&&_0x28326d()?_0x3ba78a:null;function _0x28326d(){const _0x4bbb70=_0x3ba78a[_0x34a5c8([0x6a,0x74,0x69])],_0x4da200=window[_0x34a5c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bbb70[_0x34a5c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bbb70[_0x34a5c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ecdbd={..._0x3ba78a,[_0x34a5c8([0x6a,0x74,0x69])]:_0x4bbb70[_0x34a5c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4bbb70[_0x34a5c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ecdbd[_0x34a5c8([0x76,0x63])],_0x1d2122(_0x3ecdbd)==_0x4da200;}}}async function _0x3b941f(){let _0x19895c=!0x0;try{const _0x26b67e=_0x176ccf[_0x34a5c8([0x73,0x70,0x6c,0x69,0x74])](_0x34a5c8([0x2e])),[_0x2dbac3,_0x5ab1ea,_0x40fbd5]=_0x26b67e;return _0x317c4e(_0x2dbac3),await _0x3d7752(_0x2dbac3,_0x5ab1ea,_0x40fbd5),_0x19895c;}catch(_0x40e8c7){return!0x1;}function _0x317c4e(_0x1b8a6b){const _0x163a78=_0x21156f(_0x1b8a6b);_0x163a78&&_0x163a78[_0x34a5c8([0x61,0x6c,0x67])]==_0x34a5c8([0x45,0x53,0x32,0x35,0x36])||(_0x19895c=!0x1);}async function _0x3d7752(_0x2f313f,_0x4547ed,_0x2c733d){const _0x13a1f7=window[_0x34a5c8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34a5c8([0x66,0x72,0x6f,0x6d])](_0x5b191d(_0x2c733d),_0x32db4c=>_0x32db4c[_0x34a5c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xee577=new window[(_0x34a5c8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34a5c8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f313f+_0x34a5c8([0x2e])+_0x4547ed),_0x1c3526=window[_0x34a5c8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34a5c8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c3526)return;const _0x1e0c8c=await _0x1c3526[_0x34a5c8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34a5c8([0x6a,0x77,0x6b]),_0x12706c,{[_0x34a5c8([0x6e,0x61,0x6d,0x65])]:_0x34a5c8([0x45,0x43,0x44,0x53,0x41]),[_0x34a5c8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34a5c8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34a5c8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c3526[_0x34a5c8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34a5c8([0x6e,0x61,0x6d,0x65])]:_0x34a5c8([0x45,0x43,0x44,0x53,0x41]),[_0x34a5c8([0x68,0x61,0x73,0x68])]:{[_0x34a5c8([0x6e,0x61,0x6d,0x65])]:_0x34a5c8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e0c8c,_0x13a1f7,_0xee577)||(_0x19895c=!0x1);}}function _0x21156f(_0x2500eb){return _0x2500eb[_0x34a5c8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34a5c8([0x65,0x79]))?JSON[_0x34a5c8([0x70,0x61,0x72,0x73,0x65])](_0x5b191d(_0x2500eb)):null;}function _0x5b191d(_0x2fa55f){return window[_0x34a5c8([0x61,0x74,0x6f,0x62])](_0x2fa55f[_0x34a5c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34a5c8([0x2b]))[_0x34a5c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34a5c8([0x2f])));}function _0x1d2122(_0x5bfb45){let _0x12194e=0x1505;function _0x47ddaa(_0x448290){for(let _0x50d661=0x0;_0x50d661<_0x448290[_0x34a5c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50d661++){const _0x1aeb98=_0x448290[_0x34a5c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50d661);_0x12194e=(_0x12194e<<0x5)+_0x12194e+_0x1aeb98,_0x12194e&=_0x12194e;}}function _0x5b65ba(_0x4a5fe8){Array[_0x34a5c8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a5fe8)?_0x4a5fe8[_0x34a5c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b65ba):_0x4a5fe8&&typeof _0x4a5fe8==_0x34a5c8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34a5c8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a5fe8)[_0x34a5c8([0x73,0x6f,0x72,0x74])]()[_0x34a5c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa3303,_0x6e46ed])=>{_0x47ddaa(_0xa3303),_0x5b65ba(_0x6e46ed);}):_0x47ddaa(window[_0x34a5c8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a5fe8));}return _0x5b65ba(_0x5bfb45),_0x12194e>>>0x0;}function _0x49157f(_0x2a93a2){return _0x2a93a2[_0x34a5c8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34a5c8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34a5c8([0x30]));}function _0x4dee3a(_0x3723fc){return _0x3723fc[_0x34a5c8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34a5c8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34a5c8([0x6a,0x6f,0x69,0x6e])]('');}function _0x30743a(){}function _0x34a5c8(_0x5d4095){const _0x214d99=_0x120a;return _0x5d4095[_0x214d99(0x141)](_0x36bafb=>String[_0x214d99(0x154)](_0x36bafb))[_0x214d99(0x13b)]('');}_0x286a9d(await _0x4fb9f3());}(this);}[_0x1ff83a(0x147)](_0x2db477){const _0xdac17b=_0x1ff83a,{ui:_0x1774df,locale:_0x5e11e9}=this[_0xdac17b(0x139)],_0x26f455=_getOptions(_0x5e11e9)[_0xdac17b(0x148)](_0x44aea1=>_0x44aea1[_0xdac17b(0x146)]===_0x2db477)[_0xdac17b(0x15a)][_0xdac17b(0x136)]();_0x1774df[_0xdac17b(0x15d)][_0xdac17b(0x137)](_0x3b9fe4(_0x5e11e9,_0xdac17b(0x132),_0x26f455));}}export function _getOptions(_0xbcbe4){const _0x3f1711=_0x1ff83a;return[{'label':_0x3b9fe4(_0xbcbe4,_0x3f1711(0x124)),'commandName':_0x3f1711(0x159)},{'label':_0x3b9fe4(_0xbcbe4,_0x3f1711(0x12a)),'commandName':_0x3f1711(0x15c)},{'label':_0x3b9fe4(_0xbcbe4,_0x3f1711(0x126)),'commandName':_0x3f1711(0x134)}];}function _0x120a(_0xc00aa5,_0x47dc07){const _0x588629=_0x5886();return _0x120a=function(_0x120a39,_0x4a35b5){_0x120a39=_0x120a39-0x122;let _0x5b2d76=_0x588629[_0x120a39];return _0x5b2d76;},_0x120a(_0xc00aa5,_0x47dc07);}function _0x5886(){const _0x34466d=['commands','changeCaseTitle','matchAll','toLowerCase','announce','entries','editor','index','join','keystrokes','shift+f3','set','4816215ZLalgv','get','map','480285DCVBCW','12xjPySN','execute','isPremiumPlugin','commandName','_announceCaseChangeOperation','find','contentLanguage','view','isOfficialPlugin','65202DiXWAy','125140NOTUhS','42xwgCYY','pluginName','replace','listenTo','length','config','fromCharCode','1440840gCEcsK','212809fPsVzD','editing','document','changeCaseUpper','label','includes','changeCaseLower','ariaLiveAnnouncer','_currentCommandIndex','add','CaseChangeEditing','UPPERCASE','toLocaleLowerCase','Title\x20Case','100138geIuRd','afterInit','locale','lowercase','selectionChange','toLocaleUpperCase','href','function','caseChange.titleCase.excludeWords','substring','init','Changed\x20case\x20to\x20%0'];_0x5886=function(){return _0x34466d;};return _0x5886();}
|
package/src/casechangeui.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/casechangeui.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
|
+
const _0x4a2df1=_0x52ff;(function(_0x41144c,_0x2cd7ba){const _0x2ea960=_0x52ff,_0x2ce5b8=_0x41144c();while(!![]){try{const _0x588be7=-parseInt(_0x2ea960(0x180))/0x1*(parseInt(_0x2ea960(0x151))/0x2)+-parseInt(_0x2ea960(0x150))/0x3+parseInt(_0x2ea960(0x161))/0x4+-parseInt(_0x2ea960(0x14f))/0x5*(-parseInt(_0x2ea960(0x157))/0x6)+-parseInt(_0x2ea960(0x153))/0x7*(parseInt(_0x2ea960(0x17b))/0x8)+parseInt(_0x2ea960(0x179))/0x9*(-parseInt(_0x2ea960(0x163))/0xa)+parseInt(_0x2ea960(0x14d))/0xb*(parseInt(_0x2ea960(0x141))/0xc);if(_0x588be7===_0x2cd7ba)break;else _0x2ce5b8['push'](_0x2ce5b8['shift']());}catch(_0x316379){_0x2ce5b8['push'](_0x2ce5b8['shift']());}}}(_0x2b7f,0x8b9a5));import{Plugin as _0x241dea}from'ckeditor5/src/core.js';import{addListToDropdown as _0x3ed9f3,createDropdown as _0x30ce0b,MenuBarMenuListItemButtonView as _0x3f2c0e,MenuBarMenuListItemView as _0x1b2899,MenuBarMenuListView as _0x435f05,MenuBarMenuView as _0x498e29,ViewModel as _0x4812bd}from'ckeditor5/src/ui.js';import{Collection as _0x814bfe}from'ckeditor5/src/utils.js';function _0x52ff(_0x54584e,_0x20f706){const _0x2b7f43=_0x2b7f();return _0x52ff=function(_0x52ff8d,_0x13714a){_0x52ff8d=_0x52ff8d-0x139;let _0x143d55=_0x2b7f43[_0x52ff8d];return _0x143d55;},_0x52ff(_0x54584e,_0x20f706);}import{icons as _0x15afcd}from'ckeditor5-collaboration/src/collaboration-core.js';import{_getOptions as _0x2d6874}from'./casechangeediting.js';import{getTranslation as _0x53407e}from'./utils/common-translations.js';function _0x2b7f(){const _0x4c2188=['163KeoabY','expired','_showLicenseError','source','domainLimit','add','some','_createMenuBarMenuView','panelView','editing','CaseChangeUI','editor','label','destroy','extendTemplate','licenseKey','trialLimit','caseChangeLicenseKeyTrialLimit','caseChangeLicenseKeyValid','push','276jFwkSv','CaseChange','toMany','addKeystrokeInfos','_registerComponents','config','get','caseChange','_createDropdownView','Shift+f3','usageLimit','items','1964017beJjoB','_setButtonProperties','1195aMqcSd','1752930QKOwtI','13262WrvQif','accessibility','7817509axZJFo','_licenseKeyCheckInterval','evaluationLimit','set','246lbpXxZ','caseChangeLicenseKeyExpired','Change\x20text\x20case','bind','Case\x20change','commands','listenTo','isOfficialPlugin','pluginName','model','1332812RTNkRv','caseChangeLicenseKeyUsageLimit','680WFIdsz','ck-case-change-dropdown','featureNotAllowed','commandName','menu','caseChangeLicenseKeyEvaluationLimit','caseChangeLicenseKeyNotAllowed','caseChangeLicenseKeyInvalid','button','isPremiumPlugin','invalid','menuBar:caseChange','keys','caseChangeLicenseKeyDomainLimit','init','view','children','focus','execute','delegate','locale','buttonView','145035zkjRAA','isEnabled','8BVCYws','_getListItemDefinitionsAndCommands','menuitemradio','componentFactory','Shift+F3'];_0x2b7f=function(){return _0x4c2188;};return _0x2b7f();}export default class i extends _0x241dea{static get[_0x4a2df1(0x15f)](){const _0x3c5dea=_0x4a2df1;return _0x3c5dea(0x18a);}static get[_0x4a2df1(0x15e)](){return!0x0;}static get[_0x4a2df1(0x16c)](){return!0x0;}[_0x4a2df1(0x171)](){const _0x5a88b6=_0x4a2df1,_0x35eafd=this[_0x5a88b6(0x18b)];this[_0x5a88b6(0x145)](),_0x35eafd[_0x5a88b6(0x152)][_0x5a88b6(0x144)]({'keystrokes':[{'label':_0x53407e(_0x35eafd[_0x5a88b6(0x177)],_0x5a88b6(0x159)),'keystroke':_0x5a88b6(0x14a),'mayRequireFn':!0x0}]}),this[_0x5a88b6(0x13c)]=this[_0x5a88b6(0x18b)][_0x5a88b6(0x146)][_0x5a88b6(0x147)](_0x5a88b6(0x13c));const _0x5cd541=this[_0x5a88b6(0x18b)];this[_0x5a88b6(0x154)]=setInterval(()=>{const _0x3fc72e=_0x5a88b6;let _0xdfd33d;for(const _0xfa8b30 in _0x5cd541){const _0x3eed01=_0xfa8b30,_0x4fffa9=_0x5cd541[_0x3eed01];if(_0x3fc72e(0x13f)==_0x4fffa9||_0x3fc72e(0x16a)==_0x4fffa9||_0x3fc72e(0x158)==_0x4fffa9||_0x3fc72e(0x170)==_0x4fffa9||_0x3fc72e(0x169)==_0x4fffa9||_0x3fc72e(0x168)==_0x4fffa9||_0x3fc72e(0x13e)==_0x4fffa9||_0x3fc72e(0x162)==_0x4fffa9){delete _0x5cd541[_0x3eed01],_0xdfd33d=_0x4fffa9,clearInterval(this[_0x3fc72e(0x154)]),this[_0x3fc72e(0x154)]=void 0x0;break;}}_0x3fc72e(0x16a)==_0xdfd33d&&_0x5cd541[_0x3fc72e(0x182)](_0x3fc72e(0x16d)),_0x3fc72e(0x158)==_0xdfd33d&&_0x5cd541[_0x3fc72e(0x182)](_0x3fc72e(0x181)),_0x3fc72e(0x170)==_0xdfd33d&&_0x5cd541[_0x3fc72e(0x182)](_0x3fc72e(0x184)),_0x3fc72e(0x169)==_0xdfd33d&&_0x5cd541[_0x3fc72e(0x182)](_0x3fc72e(0x165),_0x3fc72e(0x142)),_0x3fc72e(0x168)==_0xdfd33d&&_0x5cd541[_0x3fc72e(0x182)](_0x3fc72e(0x155)),_0x3fc72e(0x13e)==_0xdfd33d&&_0x5cd541[_0x3fc72e(0x182)](_0x3fc72e(0x13d)),_0x3fc72e(0x162)==_0xdfd33d&&_0x5cd541[_0x3fc72e(0x182)](_0x3fc72e(0x14b));},0x3e8);}[_0x4a2df1(0x13a)](){const _0x1cbdb2=_0x4a2df1;super[_0x1cbdb2(0x13a)](),this[_0x1cbdb2(0x154)]&&clearInterval(this[_0x1cbdb2(0x154)]);}[_0x4a2df1(0x145)](){const _0x35e634=_0x4a2df1,_0x2957a8=this[_0x35e634(0x18b)],{itemDefinitions:_0x23dad0,commands:_0x3162d4}=this[_0x35e634(0x17c)]();_0x2957a8['ui'][_0x35e634(0x17e)][_0x35e634(0x185)](_0x35e634(0x148),()=>this[_0x35e634(0x149)](_0x23dad0,_0x3162d4)),_0x2957a8['ui'][_0x35e634(0x17e)][_0x35e634(0x185)](_0x35e634(0x16e),()=>this[_0x35e634(0x187)](_0x23dad0,_0x3162d4));}[_0x4a2df1(0x187)](_0x47ec3b,_0x56a650){const _0x4b16f8=_0x4a2df1,_0x3a38ac=this[_0x4b16f8(0x18b)],_0x4b170d=_0x3a38ac[_0x4b16f8(0x177)],_0x123882=new _0x498e29(_0x4b170d),_0xfd4d7f=new _0x435f05(_0x4b170d);_0xfd4d7f[_0x4b16f8(0x156)]({'ariaLabel':_0x53407e(_0x4b170d,_0x4b16f8(0x15b)),'role':_0x4b16f8(0x167)}),this[_0x4b16f8(0x14e)](_0x123882[_0x4b16f8(0x178)]),_0x123882[_0x4b16f8(0x15a)](_0x4b16f8(0x17a))[_0x4b16f8(0x143)](_0x56a650,_0x4b16f8(0x17a),(..._0x4b18f4)=>_0x4b18f4[_0x4b16f8(0x186)](_0x584818=>_0x584818));for(const _0x4a6216 of _0x47ec3b){const _0x3c657e=new _0x1b2899(_0x4b170d,_0x123882),_0x5f5d78=new _0x3f2c0e(_0x4b170d);_0x5f5d78[_0x4b16f8(0x176)](_0x4b16f8(0x175))['to'](_0x123882),_0x5f5d78[_0x4b16f8(0x15a)](...Object[_0x4b16f8(0x16f)](_0x4a6216[_0x4b16f8(0x160)]))['to'](_0x4a6216[_0x4b16f8(0x160)]),_0x5f5d78['on'](_0x4b16f8(0x175),()=>{const _0x345bff=_0x4b16f8;_0x3a38ac[_0x345bff(0x175)](_0x4a6216[_0x345bff(0x160)][_0x345bff(0x166)]),_0x3a38ac[_0x345bff(0x189)][_0x345bff(0x172)][_0x345bff(0x174)]();}),_0x3c657e[_0x4b16f8(0x173)][_0x4b16f8(0x185)](_0x5f5d78),_0xfd4d7f[_0x4b16f8(0x14c)][_0x4b16f8(0x185)](_0x3c657e);}return _0x123882[_0x4b16f8(0x188)][_0x4b16f8(0x173)][_0x4b16f8(0x185)](_0xfd4d7f),_0x123882;}[_0x4a2df1(0x149)](_0x202018,_0x456398){const _0xc317a3=_0x4a2df1,_0x2496ee=this[_0xc317a3(0x18b)],_0x76369a=_0x30ce0b(_0x2496ee[_0xc317a3(0x177)]);return this[_0xc317a3(0x14e)](_0x76369a[_0xc317a3(0x178)]),_0x76369a[_0xc317a3(0x178)][_0xc317a3(0x156)]({'tooltip':!0x0}),_0x76369a[_0xc317a3(0x13b)]({'attributes':{'class':[_0xc317a3(0x164)]}}),_0x3ed9f3(_0x76369a,_0x202018,{'ariaLabel':_0x53407e(_0x2496ee[_0xc317a3(0x177)],_0xc317a3(0x15b)),'role':_0xc317a3(0x167)}),_0x76369a[_0xc317a3(0x15a)](_0xc317a3(0x17a))[_0xc317a3(0x143)](_0x456398,_0xc317a3(0x17a),(..._0x5bb0e3)=>_0x5bb0e3[_0xc317a3(0x186)](_0x4c58a1=>_0x4c58a1)),this[_0xc317a3(0x15d)](_0x76369a,_0xc317a3(0x175),_0x55b4ea=>{const _0x2993d6=_0xc317a3;_0x2496ee[_0x2993d6(0x175)](_0x55b4ea[_0x2993d6(0x183)][_0x2993d6(0x166)]),_0x2496ee[_0x2993d6(0x189)][_0x2993d6(0x172)][_0x2993d6(0x174)]();}),_0x76369a;}[_0x4a2df1(0x14e)](_0x50b788){const _0x2c74ac=_0x4a2df1,_0x25be9e=this[_0x2c74ac(0x18b)];_0x50b788[_0x2c74ac(0x156)]({'label':_0x53407e(_0x25be9e[_0x2c74ac(0x177)],_0x2c74ac(0x15b)),'icon':_0x15afcd[_0x2c74ac(0x148)],'keystroke':_0x2c74ac(0x17f)});}[_0x4a2df1(0x17c)](){const _0x2a6b41=_0x4a2df1,_0x388775=new _0x814bfe(),_0x2731e1=[];for(const _0x1fda8b of _0x2d6874(this[_0x2a6b41(0x18b)][_0x2a6b41(0x177)])){const _0x4baebb=this[_0x2a6b41(0x18b)][_0x2a6b41(0x15c)][_0x2a6b41(0x147)](_0x1fda8b[_0x2a6b41(0x166)]),_0x493e2d=new _0x4812bd({'commandName':_0x1fda8b[_0x2a6b41(0x166)],'label':_0x1fda8b[_0x2a6b41(0x139)],'role':_0x2a6b41(0x17d),'withText':!0x0});_0x493e2d[_0x2a6b41(0x15a)](_0x2a6b41(0x17a))['to'](_0x4baebb,_0x2a6b41(0x17a)),_0x388775[_0x2a6b41(0x185)]({'type':_0x2a6b41(0x16b),'model':_0x493e2d}),_0x2731e1[_0x2a6b41(0x140)](_0x4baebb);}return{'itemDefinitions':_0x388775,'commands':_0x2731e1};}}
|
package/src/index.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/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
|
-
(function(
|
|
23
|
+
(function(_0x2176d5,_0x415209){var _0xfc20e=_0x152a,_0xe84a93=_0x2176d5();while(!![]){try{var _0x2aba39=-parseInt(_0xfc20e(0x19f))/0x1*(-parseInt(_0xfc20e(0x197))/0x2)+-parseInt(_0xfc20e(0x19e))/0x3*(parseInt(_0xfc20e(0x195))/0x4)+-parseInt(_0xfc20e(0x193))/0x5*(parseInt(_0xfc20e(0x19a))/0x6)+-parseInt(_0xfc20e(0x19b))/0x7*(-parseInt(_0xfc20e(0x19c))/0x8)+parseInt(_0xfc20e(0x194))/0x9*(-parseInt(_0xfc20e(0x198))/0xa)+-parseInt(_0xfc20e(0x199))/0xb+parseInt(_0xfc20e(0x19d))/0xc*(parseInt(_0xfc20e(0x196))/0xd);if(_0x2aba39===_0x415209)break;else _0xe84a93['push'](_0xe84a93['shift']());}catch(_0x14b3ab){_0xe84a93['push'](_0xe84a93['shift']());}}}(_0x549b,0x904a9));export{default as CaseChange}from'./casechange.js';export{default as CaseChangeEditing}from'./casechangeediting.js';function _0x549b(){var _0x597325=['8oQzXXz','150332wrKloq','1280924fGaGVb','210610tSxiXu','8887472eoNqoj','2068020SBDkEo','191870VJMcSv','96chpwUU','1704mgIcbk','891057orvIaj','1mLYqXL','5qmncAv','117uasjle'];_0x549b=function(){return _0x597325;};return _0x549b();}export{default as CaseChangeUI}from'./casechangeui.js';function _0x152a(_0x13c43a,_0x49622a){var _0x549b89=_0x549b();return _0x152a=function(_0x152abe,_0x5c01c7){_0x152abe=_0x152abe-0x193;var _0x31eaea=_0x549b89[_0x152abe];return _0x31eaea;},_0x152a(_0x13c43a,_0x49622a);}export{default as CaseChangeCommand}from'./casechangecommand.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
|
-
|
|
23
|
+
(function(_0x44e7b7,_0xfd9a99){var _0x297e2f=_0x103d,_0x138181=_0x44e7b7();while(!![]){try{var _0x23b74b=-parseInt(_0x297e2f(0x1c6))/0x1*(-parseInt(_0x297e2f(0x1c8))/0x2)+-parseInt(_0x297e2f(0x1c2))/0x3+-parseInt(_0x297e2f(0x1ca))/0x4+-parseInt(_0x297e2f(0x1c3))/0x5+parseInt(_0x297e2f(0x1c5))/0x6+parseInt(_0x297e2f(0x1c4))/0x7*(parseInt(_0x297e2f(0x1c7))/0x8)+-parseInt(_0x297e2f(0x1c9))/0x9;if(_0x23b74b===_0xfd9a99)break;else _0x138181['push'](_0x138181['shift']());}catch(_0x26da31){_0x138181['push'](_0x138181['shift']());}}}(_0x17ac,0x3bcea));function _0x103d(_0x8a6ca3,_0x26c454){var _0x17ac9c=_0x17ac();return _0x103d=function(_0x103de4,_0x4122ed){_0x103de4=_0x103de4-0x1c2;var _0x1e1fd0=_0x17ac9c[_0x103de4];return _0x1e1fd0;},_0x103d(_0x8a6ca3,_0x26c454);}function _0x17ac(){var _0x405518=['1orQPLe','8xItsvH','9566dQeGjo','2696643SxXdhM','253032sCDjrj','472644UyyqGs','70160UlgomZ','2447935HIqejo','2549682gZCSdC'];_0x17ac=function(){return _0x405518;};return _0x17ac();}import{CKEditorError as _0x4c398a}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
|
/**
|
|
@@ -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
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x48f151,_0x3e36ba,..._0x285be8){const t=_0x48f151['t'];switch(_0x3e36ba){case'Case\x20change':return t('Case\x20change');case'UPPERCASE':return t('UPPERCASE');case'lowercase':return t('lowercase');case'Title\x20Case':return t('Title\x20Case');case'Change\x20text\x20case':return t('Change\x20text\x20case');case'Changed\x20case\x20to\x20%0':return t('Changed\x20case\x20to\x20%0',..._0x285be8);default:return _0x3e36ba;}}
|
package/dist/augmentation.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import type { CaseChange, CaseChangeEditing, CaseChangeUI, CaseChangeCommand, CaseChangeConfig } from './index.js';
|
|
10
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
11
|
-
interface EditorConfig {
|
|
12
|
-
caseChange?: CaseChangeConfig;
|
|
13
|
-
}
|
|
14
|
-
interface PluginsMap {
|
|
15
|
-
[CaseChange.pluginName]: CaseChange;
|
|
16
|
-
[CaseChangeEditing.pluginName]: CaseChangeEditing;
|
|
17
|
-
[CaseChangeUI.pluginName]: CaseChangeUI;
|
|
18
|
-
}
|
|
19
|
-
interface CommandsMap {
|
|
20
|
-
caseChange: CaseChangeCommand;
|
|
21
|
-
}
|
|
22
|
-
}
|
package/dist/casechange.d.ts
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module case-change/casechange
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
-
import CaseChangeEditing from './casechangeediting.js';
|
|
15
|
-
import CaseChangeUI from './casechangeui.js';
|
|
16
|
-
/**
|
|
17
|
-
* The case change feature.
|
|
18
|
-
*
|
|
19
|
-
* For a detailed overview, check the {@glink features/case-change Case change} feature guide.
|
|
20
|
-
*/
|
|
21
|
-
export default class CaseChange extends Plugin {
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
static get requires(): readonly [typeof CaseChangeEditing, typeof CaseChangeUI];
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
static get pluginName(): "CaseChange";
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
static get isOfficialPlugin(): true;
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
static get isPremiumPlugin(): true;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* The configuration of the {@link module:case-change/casechange~CaseChange case change feature}.
|
|
41
|
-
*
|
|
42
|
-
* ```ts
|
|
43
|
-
* ClassicEditor
|
|
44
|
-
* .create( editorElement, {
|
|
45
|
-
* caseChange: ... // Case change feature configuration.
|
|
46
|
-
* } )
|
|
47
|
-
* .then( /* ... *\/ )
|
|
48
|
-
* .catch( /* ... *\/ );
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
52
|
-
*/
|
|
53
|
-
export interface CaseChangeConfig {
|
|
54
|
-
/**
|
|
55
|
-
* Title case configuration.
|
|
56
|
-
*/
|
|
57
|
-
titleCase?: CaseChangeTitleCaseConfig;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Title case configuration.
|
|
61
|
-
* It allows setting words that should not be capitalized when formatted as title case.
|
|
62
|
-
*
|
|
63
|
-
* ```ts
|
|
64
|
-
* ClassicEditor
|
|
65
|
-
* .create( editorElement, {
|
|
66
|
-
* caseChange: {
|
|
67
|
-
* titleCase {
|
|
68
|
-
* excludeWords: [ 'a', 'an', 'the' ]
|
|
69
|
-
* }
|
|
70
|
-
* }
|
|
71
|
-
* } )
|
|
72
|
-
* .then( /* ... *\/ )
|
|
73
|
-
* .catch( /* ... *\/ );
|
|
74
|
-
* ```
|
|
75
|
-
*
|
|
76
|
-
* ```ts
|
|
77
|
-
* ClassicEditor
|
|
78
|
-
* .create( editorElement, {
|
|
79
|
-
* caseChange: {
|
|
80
|
-
* titleCase {
|
|
81
|
-
* excludeWords: ( word ) => [ 'a', 'an', 'the' ].includes( word )
|
|
82
|
-
* }
|
|
83
|
-
* }
|
|
84
|
-
* } )
|
|
85
|
-
* .then( /* ... *\/ )
|
|
86
|
-
* .catch( /* ... *\/ );
|
|
87
|
-
* ```
|
|
88
|
-
*
|
|
89
|
-
* ```ts
|
|
90
|
-
* ClassicEditor
|
|
91
|
-
* .create( editorElement, {
|
|
92
|
-
* caseChange: {
|
|
93
|
-
* titleCase {
|
|
94
|
-
* excludeWords: ( word, { wordIndex } ) => wordIndex > 0 && [ 'a', 'an', 'the' ].includes( word )
|
|
95
|
-
* }
|
|
96
|
-
* }
|
|
97
|
-
* } )
|
|
98
|
-
* .then( /* ... *\/ )
|
|
99
|
-
* .catch( /* ... *\/ );
|
|
100
|
-
* ```
|
|
101
|
-
*
|
|
102
|
-
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
103
|
-
*/
|
|
104
|
-
export interface CaseChangeTitleCaseConfig {
|
|
105
|
-
/**
|
|
106
|
-
* Words which should not be capitalized.
|
|
107
|
-
*/
|
|
108
|
-
excludeWords?: Array<string> | ExcludeWordsCallback;
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* The exclude word callback.
|
|
112
|
-
*/
|
|
113
|
-
export type ExcludeWordsCallback = (word: string, context: ExcludeWordsCallbackContext) => boolean;
|
|
114
|
-
/**
|
|
115
|
-
* The exclude word callback context.
|
|
116
|
-
*/
|
|
117
|
-
export interface ExcludeWordsCallbackContext {
|
|
118
|
-
/**
|
|
119
|
-
* The offset in the text where the given word starts.
|
|
120
|
-
*/
|
|
121
|
-
charOffset: number;
|
|
122
|
-
/**
|
|
123
|
-
* The word index in the given text.
|
|
124
|
-
*/
|
|
125
|
-
wordIndex: number;
|
|
126
|
-
/**
|
|
127
|
-
* The block text.
|
|
128
|
-
*/
|
|
129
|
-
blockText: string;
|
|
130
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module case-change/casechangecommand
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
14
|
-
/**
|
|
15
|
-
* This command changes the case of the selected text.
|
|
16
|
-
*/
|
|
17
|
-
export default class CaseChangeCommand extends Command {
|
|
18
|
-
/**
|
|
19
|
-
* Creates a new `CaseChangeCommand` instance.
|
|
20
|
-
*
|
|
21
|
-
* @param editor The editor on which this command will be used.
|
|
22
|
-
*/
|
|
23
|
-
constructor(editor: Editor, transformCallback: TransformCallback);
|
|
24
|
-
/**
|
|
25
|
-
* Transforms the selected text with the defined case change callback.
|
|
26
|
-
*
|
|
27
|
-
* @fires execute
|
|
28
|
-
*/
|
|
29
|
-
execute(): void;
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
refresh(): void;
|
|
34
|
-
}
|
|
35
|
-
type TransformCallback = (arg: string) => string;
|
|
36
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module case-change/casechangeediting
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
-
/**
|
|
14
|
-
* The case change editing feature. It introduces three commands: `changeCaseUpper`, `changeCaseLower`, and `changeCaseTitle`.
|
|
15
|
-
*/
|
|
16
|
-
export default class CaseChangeEditing extends Plugin {
|
|
17
|
-
/**
|
|
18
|
-
* @inheritDoc
|
|
19
|
-
*/
|
|
20
|
-
static get pluginName(): "CaseChangeEditing";
|
|
21
|
-
/**
|
|
22
|
-
* @inheritDoc
|
|
23
|
-
*/
|
|
24
|
-
static get isOfficialPlugin(): true;
|
|
25
|
-
/**
|
|
26
|
-
* @inheritDoc
|
|
27
|
-
*/
|
|
28
|
-
static get isPremiumPlugin(): true;
|
|
29
|
-
/**
|
|
30
|
-
* @inheritDoc
|
|
31
|
-
*/
|
|
32
|
-
init(): void;
|
|
33
|
-
/**
|
|
34
|
-
* @inheritDoc
|
|
35
|
-
*/
|
|
36
|
-
afterInit(): void;
|
|
37
|
-
}
|
package/dist/casechangeui.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module case-change/casechangeui
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
-
/**
|
|
15
|
-
* The case change UI plugin.
|
|
16
|
-
*/
|
|
17
|
-
export default class CaseChangeUI extends Plugin {
|
|
18
|
-
/**
|
|
19
|
-
* @inheritDoc
|
|
20
|
-
*/
|
|
21
|
-
static get pluginName(): "CaseChangeUI";
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
static get isOfficialPlugin(): true;
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
static get isPremiumPlugin(): true;
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
init(): void;
|
|
34
|
-
/**
|
|
35
|
-
* @inheritDoc
|
|
36
|
-
*/
|
|
37
|
-
destroy(): void;
|
|
38
|
-
}
|