@ckeditor/ckeditor5-case-change 44.1.0 → 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 _0x4fdb91=_0x372a;function _0x330a(){const _0x6d7753=['148MUGatu','map','find','caseChange.titleCase.excludeWords','3473991drRVUt','commandName','11209336QgURsS','8675868ZjTzhK','config','execute','editing','11IijzrB','changeCaseTitle','set','ariaLiveAnnouncer','_currentCommandIndex','contentLanguage','96VdIYQi','includes','Title\x20Case','substring','listenTo','1142wnfKKf','entries','changeCaseUpper','10USzuzc','isOfficialPlugin','label','toLocaleLowerCase','href','isPremiumPlugin','replace','toLocaleUpperCase','commands','keystrokes','Changed\x20case\x20to\x20%0','selectionChange','UPPERCASE','changeCaseLower','CaseChangeEditing','matchAll','length','announce','document','join','_announceCaseChangeOperation','42045GCBkLk','41005596EalMSB','get','fromCharCode','locale','7wvlwRm','toLowerCase','shift+f3','4313256LhIGHM','function','editor','init','lowercase','afterInit','index','view','add','pluginName'];_0x330a=function(){return _0x6d7753;};return _0x330a();}function _0x372a(_0x55ec39,_0xc1a51b){const _0x330af6=_0x330a();return _0x372a=function(_0x372af8,_0x6b6517){_0x372af8=_0x372af8-0x19c;let _0x2f114e=_0x330af6[_0x372af8];return _0x2f114e;},_0x372a(_0x55ec39,_0xc1a51b);}(function(_0x454b40,_0x32b514){const _0x42f55d=_0x372a,_0x259e3f=_0x454b40();while(!![]){try{const _0x4d2852=parseInt(_0x42f55d(0x1b3))/0x1*(parseInt(_0x42f55d(0x1b8))/0x2)+parseInt(_0x42f55d(0x1d8))/0x3+-parseInt(_0x42f55d(0x1a2))/0x4*(-parseInt(_0x42f55d(0x1d0))/0x5)+parseInt(_0x42f55d(0x1a9))/0x6+-parseInt(_0x42f55d(0x1d5))/0x7*(-parseInt(_0x42f55d(0x1a8))/0x8)+-parseInt(_0x42f55d(0x1a6))/0x9*(parseInt(_0x42f55d(0x1bb))/0xa)+-parseInt(_0x42f55d(0x1ad))/0xb*(parseInt(_0x42f55d(0x1d1))/0xc);if(_0x4d2852===_0x32b514)break;else _0x259e3f['push'](_0x259e3f['shift']());}catch(_0x48f2ad){_0x259e3f['push'](_0x259e3f['shift']());}}}(_0x330a,0xcef62));import{Plugin as _0x8412b9}from'ckeditor5/src/core.js';import{uid as _0x26cf7f}from'ckeditor5/src/utils.js';import _0x527d2d from'./casechangecommand.js';import{getTranslation as _0x4b2b6d}from'./utils/common-translations.js';export default class r extends _0x8412b9{constructor(){const _0x1449d2=_0x372a;super(...arguments),this[_0x1449d2(0x1b1)]=0x0;}static get[_0x4fdb91(0x1a1)](){const _0x3b9ffc=_0x4fdb91;return _0x3b9ffc(0x1c9);}static get[_0x4fdb91(0x1bc)](){return!0x0;}static get[_0x4fdb91(0x1c0)](){return!0x0;}[_0x4fdb91(0x1db)](){const _0x176a55=_0x4fdb91,_0x31b5f3=this[_0x176a55(0x1da)],_0x5e2f8d=_0x31b5f3[_0x176a55(0x1d4)][_0x176a55(0x1b2)],_0x8666bc=function(_0xce679a=[]){const _0x519d34=_0x176a55;return _0x519d34(0x1d9)==typeof _0xce679a?_0xce679a:(_0x46a3d0,{wordIndex:_0x12e984})=>_0x12e984>0x0&&_0xce679a[_0x519d34(0x1b4)](_0x46a3d0);}(_0x31b5f3[_0x176a55(0x1aa)][_0x176a55(0x1d2)](_0x176a55(0x1a5))),_0x5420e5={'changeCaseUpper':new _0x527d2d(_0x31b5f3,_0x56bef7=>_0x56bef7[_0x176a55(0x1c2)](_0x5e2f8d)),'changeCaseLower':new _0x527d2d(_0x31b5f3,_0x704243=>_0x704243[_0x176a55(0x1be)](_0x5e2f8d)),'changeCaseTitle':new _0x527d2d(_0x31b5f3,_0x31b3b7=>function(_0x6a40d,_0x54e159,_0x1048f6){return function(_0x2aef43,_0x2d4c20){const _0xf18e58=_0x372a;let _0x509f4c='',_0xe86430=0x0,_0xebcb83=0x0;for(const _0x461e41 of _0x2aef43[_0xf18e58(0x1ca)](/ +/g)){const _0x4c728e=_0x461e41[_0xf18e58(0x19e)],_0x535f45=_0x2aef43[_0xf18e58(0x1b6)](_0xe86430,_0x4c728e);_0x535f45[_0xf18e58(0x1cb)]&&(_0x509f4c+=_0x2d4c20(_0x535f45,_0xe86430,_0xebcb83++)),_0x509f4c+=_0x461e41[0x0],_0xe86430=_0x4c728e+_0x461e41[0x0][_0xf18e58(0x1cb)];}const _0x3fa13f=_0x2aef43[_0xf18e58(0x1b6)](_0xe86430);return _0x3fa13f[_0xf18e58(0x1cb)]&&(_0x509f4c+=_0x2d4c20(_0x3fa13f,_0xe86430,_0xebcb83)),_0x509f4c;}(_0x6a40d,(_0x2d2767,_0xce163a,_0x5c4fcd)=>{const _0x13c158=_0x372a,_0x57ed31=_0x2d2767[_0x13c158(0x1be)](_0x1048f6);return _0x54e159(_0x57ed31,{'charOffset':_0xce163a,'wordIndex':_0x5c4fcd,'blockText':_0x6a40d})?_0x57ed31:_0x57ed31[_0x13c158(0x1c1)](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x2bfefc=>_0x2bfefc[_0x13c158(0x1c2)](_0x1048f6));});}(_0x31b3b7,_0x8666bc,_0x5e2f8d))};for(const [_0x3934b0,_0x3c15ce]of Object[_0x176a55(0x1b9)](_0x5420e5))_0x31b5f3[_0x176a55(0x1c3)][_0x176a55(0x1a0)](_0x3934b0,_0x3c15ce),_0x3c15ce['on'](_0x176a55(0x1ab),()=>{const _0x58377f=_0x176a55;this[_0x58377f(0x1cf)](_0x3934b0);});this[_0x176a55(0x1b7)](_0x31b5f3[_0x176a55(0x1ac)][_0x176a55(0x19f)][_0x176a55(0x1cd)],_0x176a55(0x1c6),()=>{const _0x38adad=_0x176a55;this[_0x38adad(0x1b1)]=0x0;}),_0x31b5f3[_0x176a55(0x1c4)][_0x176a55(0x1af)](_0x176a55(0x1d7),(_0x39f8a8,_0x3d07e9)=>{const _0x2a580a=_0x176a55,_0x492ca0=_getOptions(this[_0x2a580a(0x1da)][_0x2a580a(0x1d4)]),_0x57c006=_0x492ca0[this[_0x2a580a(0x1b1)]%_0x492ca0[_0x2a580a(0x1cb)]][_0x2a580a(0x1a7)];_0x31b5f3[_0x2a580a(0x1ab)](_0x57c006),this[_0x2a580a(0x1b1)]++,_0x3d07e9();});}[_0x4fdb91(0x19d)](){!async function(_0x198ed9){const _0x27332d=_0x475f53([0x71,0x59,0x4a,0x4b,0x44,0x7a,0x6a,0x72,0x34,0x77,0x75,0x41,0x31,0x62,0x68,0x51,0x42,0x4e,0x33,0x55,0x74,0x66,0x67,0x37,0x4d,0x78,0x6d,0x32,0x56,0x35,0x43,0x46,0x39,0x38,0x76,0x58,0x69,0x52,0x50,0x61,0x73,0x36,0x53,0x49,0x48,0x64,0x54,0x70,0x65,0x63,0x57,0x4c,0x4f,0x79,0x5a,0x47,0x45,0x6c,0x6b,0x30,0x6f,0x6e]),_0xd5e992=0x4c40aee4,_0x3dc53d=0x4c47f73c^_0xd5e992,_0x15d98a=window[_0x475f53([0x44,0x61,0x74,0x65])][_0x475f53([0x6e,0x6f,0x77])](),_0x1886cd=_0x198ed9[_0x475f53([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3098f5=new window[(_0x475f53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56006b=>{_0x1886cd[_0x475f53([0x6f,0x6e,0x63,0x65])](_0x475f53([0x72,0x65,0x61,0x64,0x79]),_0x56006b);}),_0x52a1f9={[_0x475f53([0x6b,0x74,0x79])]:_0x475f53([0x45,0x43]),[_0x475f53([0x75,0x73,0x65])]:_0x475f53([0x73,0x69,0x67]),[_0x475f53([0x63,0x72,0x76])]:_0x475f53([0x50,0x2d,0x32,0x35,0x36]),[_0x475f53([0x78])]:_0x475f53([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]),[_0x475f53([0x79])]:_0x475f53([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]),[_0x475f53([0x61,0x6c,0x67])]:_0x475f53([0x45,0x53,0x32,0x35,0x36])},_0xb4d581=_0x1886cd[_0x475f53([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x475f53([0x67,0x65,0x74])](_0x475f53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b26d2(){let _0x35a2f1,_0x270a69=null,_0x272b57=null;try{if(_0xb4d581==_0x475f53([0x47,0x50,0x4c]))return _0x475f53([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35a2f1=_0xff77f1(),!_0x35a2f1)return _0x475f53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35a2f1[_0x475f53([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x272b57=_0x447d36(_0x35a2f1[_0x475f53([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35a2f1[_0x475f53([0x6a,0x74,0x69])])),await _0x34bdb6()?_0x30a8ee()?_0x185b16()?_0x475f53([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xf1c149()?(_0x35a2f1[_0x475f53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x475f53([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x270a69=_0x17662e(_0x475f53([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x35a2f1[_0x475f53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x475f53([0x74,0x72,0x69,0x61,0x6c])&&(_0x270a69=_0x17662e(_0x475f53([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x35a2f1[_0x475f53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x475f53([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x270a69=_0x17662e(_0x475f53([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4aaf60()):_0x475f53([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x475f53([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x475f53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1fa914){return _0x475f53([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x185b16(){const _0x12b056=[_0x475f53([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x475f53([0x74,0x72,0x69,0x61,0x6c])][_0x475f53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35a2f1[_0x475f53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15d98a/0x3e8:0xe10*_0x3dc53d;return _0x35a2f1[_0x475f53([0x65,0x78,0x70])]<_0x12b056;}function _0x30a8ee(){const _0x2ea579=_0x35a2f1[_0x475f53([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2ea579&&(!!_0x2ea579[_0x475f53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x475f53([0x2a]))||(!!_0x2ea579[_0x475f53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x475f53([0x43,0x43]))||!!_0x2ea579[_0x475f53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x475f53([0x50,0x50]))));}function _0xf1c149(){const _0x43b0bf=_0x372a,_0x54f995=_0x35a2f1[_0x475f53([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x54f995||0x0==_0x54f995[_0x475f53([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b8a09}=new URL(window[_0x475f53([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x43b0bf(0x1bf)]);if(_0x54f995[_0x475f53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b8a09))return!0x0;const _0x4b66db=_0x4b8a09[_0x475f53([0x73,0x70,0x6c,0x69,0x74])](_0x475f53([0x2e]));return _0x54f995[_0x475f53([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b8164=>_0x2b8164[_0x475f53([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x475f53([0x2a])))[_0x475f53([0x6d,0x61,0x70])](_0x10a5e5=>_0x10a5e5[_0x475f53([0x73,0x70,0x6c,0x69,0x74])](_0x475f53([0x2e])))[_0x475f53([0x73,0x6f,0x6d,0x65])](_0x595cad=>_0x4b66db[_0x475f53([0x65,0x76,0x65,0x72,0x79])]((_0x483041,_0x483741)=>_0x595cad[_0x483741]===_0x483041||_0x595cad[_0x483741]===_0x475f53([0x2a])));}function _0x4aaf60(){return _0x270a69&&_0x272b57?new window[(_0x475f53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48e903,_0x5816d8)=>{_0x270a69[_0x475f53([0x74,0x68,0x65,0x6e])](_0x48e903,_0x5816d8),_0x272b57[_0x475f53([0x74,0x68,0x65,0x6e])](_0x1ee25f=>{_0x1ee25f!=_0x475f53([0x56,0x61,0x6c,0x69,0x64])&&_0x48e903(_0x1ee25f);},_0x5816d8);}):_0x270a69||_0x272b57||_0x475f53([0x56,0x61,0x6c,0x69,0x64]);}}function _0x447d36(_0x2d73ed,_0x1017f4){return new window[(_0x475f53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x368e7e=>{if(_0x2cfc03())return _0x368e7e(_0x475f53([0x56,0x61,0x6c,0x69,0x64]));_0x46fca6(),_0x1886cd[_0x475f53([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x475f53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x367a28=!0x1;const _0x3c2366=_0x26cf7f();function _0x4920f6(_0x4d72bd){return!!_0x4d72bd&&(typeof _0x4d72bd===_0x475f53([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d72bd===_0x475f53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d72bd[_0x475f53([0x74,0x68,0x65,0x6e])]===_0x475f53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d72bd[_0x475f53([0x63,0x61,0x74,0x63,0x68])]===_0x475f53([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bf478(_0x38f215){_0x4c8872(_0x38f215)[_0x475f53([0x74,0x68,0x65,0x6e])](_0x50dc72=>{if(!_0x50dc72||_0x50dc72[_0x475f53([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x475f53([0x6f,0x6b]))return _0x475f53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a3e64(_0x5e6a0e(_0x3c2366+_0x1017f4))!=_0x50dc72[_0x475f53([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x475f53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x475f53([0x56,0x61,0x6c,0x69,0x64]);})[_0x475f53([0x74,0x68,0x65,0x6e])](_0x2c9d3=>(_0x8a65f5(),_0x2c9d3),()=>{const _0x356c11=_0x4fd04c();return null==_0x356c11?(_0x8a65f5(),_0x475f53([0x56,0x61,0x6c,0x69,0x64])):_0x475f53(_0x15d98a-_0x356c11>(0x684c2ae4^_0xd5e992)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x475f53([0x74,0x68,0x65,0x6e])](_0x368e7e)[_0x475f53([0x63,0x61,0x74,0x63,0x68])](()=>{_0x368e7e(_0x475f53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x401063=0x4c764064^_0xd5e992;function _0x8a65f5(){const _0x37f002=_0x475f53([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a3e64(_0x5e6a0e(_0x2d73ed)),_0x3c7eae=_0x7bfdfe(_0x5a3e64(window[_0x475f53([0x4d,0x61,0x74,0x68])][_0x475f53([0x63,0x65,0x69,0x6c])](_0x15d98a/_0x401063)));window[_0x475f53([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x475f53([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37f002,_0x3c7eae);}function _0x4fd04c(){const _0x51fd14=_0x475f53([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a3e64(_0x5e6a0e(_0x2d73ed)),_0x54af9f=window[_0x475f53([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x475f53([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51fd14);return _0x54af9f?window[_0x475f53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7bfdfe(_0x54af9f),0x10)*_0x401063:null;}function _0x4c8872(_0x1594d7){return new window[(_0x475f53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a66a8,_0x4a8b7c)=>{_0x1594d7[_0x475f53([0x74,0x68,0x65,0x6e])](_0x4a66a8,_0x4a8b7c),window[_0x475f53([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a8b7c,0x4c417a24^_0xd5e992);});}}_0x1886cd[_0x475f53([0x6f,0x6e])](_0x475f53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c1394,_0x4347a7)=>{if(_0x4347a7[0x0]!=_0x2d73ed)return _0x368e7e(_0x475f53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4347a7[0x1]={..._0x4347a7[0x1],[_0x475f53([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c2366};},{[_0x475f53([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x475f53([0x68,0x69,0x67,0x68])}),_0x1886cd[_0x475f53([0x6f,0x6e])](_0x475f53([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7894ca=>{_0x4920f6(_0x7894ca[_0x475f53([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x367a28=!0x0,_0x1bf478(_0x7894ca[_0x475f53([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x475f53([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x475f53([0x6c,0x6f,0x77])}),_0x3098f5[_0x475f53([0x74,0x68,0x65,0x6e])](()=>{_0x367a28||_0x368e7e(_0x475f53([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2cfc03(){return _0x1886cd[_0x475f53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x475f53([0x76,0x69,0x65,0x77])][_0x475f53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x475f53([0x61,0x75,0x74,0x6f]);}function _0x46fca6(){_0x1886cd[_0x475f53([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x475f53([0x76,0x69,0x65,0x77])][_0x475f53([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x475f53([0x61,0x75,0x74,0x6f]);}}function _0x17662e(_0x402878){const _0xe927a7=[new window[(_0x475f53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a22b7=>setTimeout(_0x3a22b7,0x4c499028^_0xd5e992)),_0x3098f5[_0x475f53([0x74,0x68,0x65,0x6e])](()=>new window[(_0x475f53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18256b=>{let _0x1b7ab0=0x0;_0x1886cd[_0x475f53([0x6d,0x6f,0x64,0x65,0x6c])][_0x475f53([0x6f,0x6e])](_0x475f53([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x557a52,_0x47f2cb)=>{_0x47f2cb[0x0][_0x475f53([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b7ab0++,_0x1b7ab0==(0x4c40af1c^_0xd5e992)&&(_0x18256b(),_0x557a52[_0x475f53([0x6f,0x66,0x66])]());});}))];return window[_0x475f53([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x475f53([0x72,0x61,0x63,0x65])](_0xe927a7)[_0x475f53([0x74,0x68,0x65,0x6e])](()=>_0x402878);}async function _0x501750(){await _0x3098f5,_0x1886cd[_0x475f53([0x6d,0x6f,0x64,0x65,0x6c])][_0x475f53([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c1bef,_0x1886cd[_0x475f53([0x6d,0x6f,0x64,0x65,0x6c])][_0x475f53([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c1bef,_0x1886cd[_0x475f53([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x475f53([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e5408(_0x5914a3){const _0x3274d5=_0x1584c1();_0x1886cd[_0x3274d5]=_0x475f53([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5914a3,_0x5914a3!=_0x475f53([0x56,0x61,0x6c,0x69,0x64])&&_0x501750();}function _0x1584c1(){const _0x59b70c=window[_0x475f53([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x475f53([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x475f53([0x6e,0x6f,0x77])]())[_0x475f53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x475f53([0x2e]),'');let _0x27d3d0=_0x475f53([0x71]);for(let _0x5f279f=0x0;_0x5f279f<_0x59b70c[_0x475f53([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f279f+=0x2){let _0x5f53e7=window[_0x475f53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59b70c[_0x475f53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f279f,_0x5f279f+0x2));_0x5f53e7>=_0x27332d[_0x475f53([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5f53e7-=_0x27332d[_0x475f53([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27d3d0+=_0x27332d[_0x5f53e7];}return _0x27d3d0;}function _0xff77f1(){const _0x24291b=_0xb4d581[_0x475f53([0x73,0x70,0x6c,0x69,0x74])](_0x475f53([0x2e]));if(0x3!=_0x24291b[_0x475f53([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c8249(_0x24291b[0x1]);function _0x4c8249(_0x11ffb8){const _0x5f526c=_0x26cbaf(_0x11ffb8);return _0x5f526c&&_0x30189f()?_0x5f526c:null;function _0x30189f(){const _0x3fa431=_0x5f526c[_0x475f53([0x6a,0x74,0x69])],_0x5ab9cd=window[_0x475f53([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fa431[_0x475f53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fa431[_0x475f53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34976c={..._0x5f526c,[_0x475f53([0x6a,0x74,0x69])]:_0x3fa431[_0x475f53([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3fa431[_0x475f53([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34976c[_0x475f53([0x76,0x63])],_0x5e6a0e(_0x34976c)==_0x5ab9cd;}}}async function _0x34bdb6(){let _0x39ee43=!0x0;try{const _0x2a90e6=_0xb4d581[_0x475f53([0x73,0x70,0x6c,0x69,0x74])](_0x475f53([0x2e])),[_0x2ef028,_0x39a2ee,_0x2f3803]=_0x2a90e6;return _0x44f401(_0x2ef028),await _0x4a82bd(_0x2ef028,_0x39a2ee,_0x2f3803),_0x39ee43;}catch(_0x33197c){return!0x1;}function _0x44f401(_0x180564){const _0x3307da=_0x26cbaf(_0x180564);_0x3307da&&_0x3307da[_0x475f53([0x61,0x6c,0x67])]==_0x475f53([0x45,0x53,0x32,0x35,0x36])||(_0x39ee43=!0x1);}async function _0x4a82bd(_0x643d3a,_0x5281a6,_0x420413){const _0x18e060=window[_0x475f53([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x475f53([0x66,0x72,0x6f,0x6d])](_0x504837(_0x420413),_0x46f8b9=>_0x46f8b9[_0x475f53([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x837ffb=new window[(_0x475f53([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x475f53([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x643d3a+_0x475f53([0x2e])+_0x5281a6),_0x549fa9=window[_0x475f53([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x475f53([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x549fa9)return;const _0x45ed90=await _0x549fa9[_0x475f53([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x475f53([0x6a,0x77,0x6b]),_0x52a1f9,{[_0x475f53([0x6e,0x61,0x6d,0x65])]:_0x475f53([0x45,0x43,0x44,0x53,0x41]),[_0x475f53([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x475f53([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x475f53([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x549fa9[_0x475f53([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x475f53([0x6e,0x61,0x6d,0x65])]:_0x475f53([0x45,0x43,0x44,0x53,0x41]),[_0x475f53([0x68,0x61,0x73,0x68])]:{[_0x475f53([0x6e,0x61,0x6d,0x65])]:_0x475f53([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45ed90,_0x18e060,_0x837ffb)||(_0x39ee43=!0x1);}}function _0x26cbaf(_0x48dfbf){return _0x48dfbf[_0x475f53([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x475f53([0x65,0x79]))?JSON[_0x475f53([0x70,0x61,0x72,0x73,0x65])](_0x504837(_0x48dfbf)):null;}function _0x504837(_0x4f8da5){return window[_0x475f53([0x61,0x74,0x6f,0x62])](_0x4f8da5[_0x475f53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x475f53([0x2b]))[_0x475f53([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x475f53([0x2f])));}function _0x5e6a0e(_0x18b61e){let _0x496451=0x1505;function _0x1c149a(_0x17cb3b){for(let _0x40a137=0x0;_0x40a137<_0x17cb3b[_0x475f53([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40a137++){const _0x2c2118=_0x17cb3b[_0x475f53([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40a137);_0x496451=(_0x496451<<0x5)+_0x496451+_0x2c2118,_0x496451&=_0x496451;}}function _0x3b3af2(_0x10da9a){Array[_0x475f53([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10da9a)?_0x10da9a[_0x475f53([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b3af2):_0x10da9a&&typeof _0x10da9a==_0x475f53([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x475f53([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10da9a)[_0x475f53([0x73,0x6f,0x72,0x74])]()[_0x475f53([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x98a10a,_0x29cf51])=>{_0x1c149a(_0x98a10a),_0x3b3af2(_0x29cf51);}):_0x1c149a(window[_0x475f53([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10da9a));}return _0x3b3af2(_0x18b61e),_0x496451>>>0x0;}function _0x5a3e64(_0x115bc4){return _0x115bc4[_0x475f53([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x475f53([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x475f53([0x30]));}function _0x7bfdfe(_0x349c95){return _0x349c95[_0x475f53([0x73,0x70,0x6c,0x69,0x74])]('')[_0x475f53([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x475f53([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c1bef(){}function _0x475f53(_0x29c7c8){const _0x5ca77a=_0x372a;return _0x29c7c8[_0x5ca77a(0x1a3)](_0x22fe8b=>String[_0x5ca77a(0x1d3)](_0x22fe8b))[_0x5ca77a(0x1ce)]('');}_0x1e5408(await _0x3b26d2());}(this);}[_0x4fdb91(0x1cf)](_0x3f5dc4){const _0x5def6d=_0x4fdb91,{ui:_0x45043e,locale:_0x1e4b97}=this[_0x5def6d(0x1da)],_0x3d0d5f=_getOptions(_0x1e4b97)[_0x5def6d(0x1a4)](_0x216d12=>_0x216d12[_0x5def6d(0x1a7)]===_0x3f5dc4)[_0x5def6d(0x1bd)][_0x5def6d(0x1d6)]();_0x45043e[_0x5def6d(0x1b0)][_0x5def6d(0x1cc)](_0x4b2b6d(_0x1e4b97,_0x5def6d(0x1c5),_0x3d0d5f));}}export function _getOptions(_0x3eb104){const _0x35a74f=_0x4fdb91;return[{'label':_0x4b2b6d(_0x3eb104,_0x35a74f(0x1c7)),'commandName':_0x35a74f(0x1ba)},{'label':_0x4b2b6d(_0x3eb104,_0x35a74f(0x19c)),'commandName':_0x35a74f(0x1c8)},{'label':_0x4b2b6d(_0x3eb104,_0x35a74f(0x1b5)),'commandName':_0x35a74f(0x1ae)}];}
|
|
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
|
-
const
|
|
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
|
-
}
|