@ckeditor/ckeditor5-line-height 47.3.0 → 47.4.0-alpha.1
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/line-height.js +2 -2
- package/dist/index-content.css +1 -1
- package/dist/index-editor.css +1 -1
- package/dist/index.css +3 -3
- package/dist/index.js +2 -2
- package/dist/translations/af.d.ts +1 -1
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +1 -1
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +1 -1
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +1 -1
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/be.d.ts +1 -1
- package/dist/translations/be.js +2 -2
- package/dist/translations/be.umd.js +2 -2
- package/dist/translations/bg.d.ts +1 -1
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +1 -1
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +1 -1
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +1 -1
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +1 -1
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +1 -1
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +1 -1
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +1 -1
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +1 -1
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +1 -1
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +1 -1
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +1 -1
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +1 -1
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +1 -1
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +1 -1
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +1 -1
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +1 -1
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +1 -1
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +1 -1
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +1 -1
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +1 -1
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +1 -1
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +1 -1
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +1 -1
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +1 -1
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +1 -1
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +1 -1
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +1 -1
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +1 -1
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +1 -1
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +1 -1
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +1 -1
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +1 -1
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +1 -1
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +1 -1
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +1 -1
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +1 -1
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +1 -1
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +1 -1
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +1 -1
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +1 -1
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +1 -1
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +1 -1
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +1 -1
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +1 -1
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +1 -1
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +1 -1
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +1 -1
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +1 -1
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +1 -1
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +1 -1
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +1 -1
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +1 -1
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +1 -1
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +1 -1
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +1 -1
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +1 -1
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +1 -1
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +1 -1
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +1 -1
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +1 -1
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +1 -1
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +1 -1
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +1 -1
- 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/be.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 +9 -9
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/integrations/todolist.d.ts +1 -1
- package/src/integrations/todolist.js +2 -2
- package/src/lineheight.d.ts +1 -1
- package/src/lineheight.js +2 -2
- package/src/lineheightcommand.d.ts +1 -1
- package/src/lineheightcommand.js +2 -2
- package/src/lineheightconfig.d.ts +1 -1
- package/src/lineheightconfig.js +1 -1
- package/src/lineheightediting.d.ts +1 -1
- package/src/lineheightediting.js +2 -2
- package/src/lineheightui.d.ts +1 -1
- package/src/lineheightui.js +2 -2
- package/src/utils.d.ts +1 -1
- package/src/utils.js +2 -2
- package/theme/integrations/todolist.css +1 -1
- package/theme/lineheight.css +1 -1
package/lang/translations/ro.po
CHANGED
package/lang/translations/ru.po
CHANGED
package/lang/translations/si.po
CHANGED
package/lang/translations/sk.po
CHANGED
package/lang/translations/sl.po
CHANGED
package/lang/translations/sq.po
CHANGED
package/lang/translations/sr.po
CHANGED
package/lang/translations/sv.po
CHANGED
package/lang/translations/th.po
CHANGED
package/lang/translations/ti.po
CHANGED
package/lang/translations/tk.po
CHANGED
package/lang/translations/tr.po
CHANGED
package/lang/translations/tt.po
CHANGED
package/lang/translations/ug.po
CHANGED
package/lang/translations/uk.po
CHANGED
package/lang/translations/ur.po
CHANGED
package/lang/translations/uz.po
CHANGED
package/lang/translations/vi.po
CHANGED
package/lang/translations/zh.po
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "47.
|
|
3
|
+
"version": "47.4.0-alpha.1",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "47.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "47.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "47.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "47.
|
|
21
|
-
"@ckeditor/ckeditor5-list": "47.
|
|
22
|
-
"ckeditor5": "47.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.4.0-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.4.0-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "47.4.0-alpha.1",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "47.4.0-alpha.1",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "47.4.0-alpha.1",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "47.4.0-alpha.1",
|
|
22
|
+
"ckeditor5": "47.4.0-alpha.1"
|
|
23
23
|
},
|
|
24
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
25
25
|
"author": "CKSource (https://cksource.com/)",
|
|
@@ -64,4 +64,4 @@
|
|
|
64
64
|
"./package.json": "./package.json"
|
|
65
65
|
},
|
|
66
66
|
"obfuscated": true
|
|
67
|
-
}
|
|
67
|
+
}
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig, LineHeightTodoListIntegration } from './index.js';
|
package/src/augmentation.js
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, 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-2026, 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(_0x170065,_0x163271){var _0x246a9d=_0x2c30,_0x3b696a=_0x170065();while(!![]){try{var _0x5783c4=-parseInt(_0x246a9d(0x130))/0x1*(-parseInt(_0x246a9d(0x12f))/0x2)+parseInt(_0x246a9d(0x12d))/0x3*(-parseInt(_0x246a9d(0x12c))/0x4)+-parseInt(_0x246a9d(0x134))/0x5+-parseInt(_0x246a9d(0x135))/0x6+-parseInt(_0x246a9d(0x132))/0x7+parseInt(_0x246a9d(0x133))/0x8*(-parseInt(_0x246a9d(0x131))/0x9)+-parseInt(_0x246a9d(0x12b))/0xa*(-parseInt(_0x246a9d(0x12e))/0xb);if(_0x5783c4===_0x163271)break;else _0x3b696a['push'](_0x3b696a['shift']());}catch(_0x1609ea){_0x3b696a['push'](_0x3b696a['shift']());}}}(_0x459a,0x332cd));function _0x2c30(_0x187b34,_0x13e446){var _0x459a28=_0x459a();return _0x2c30=function(_0x2c30bc,_0x45b122){_0x2c30bc=_0x2c30bc-0x12b;var _0xa2d4ee=_0x459a28[_0x2c30bc];return _0xa2d4ee;},_0x2c30(_0x187b34,_0x13e446);}function _0x459a(){var _0x3f1f72=['1748860cYxVrS','1804rgjdyQ','1173cPSVoo','99NCavJL','276MVUAxj','25AGCDiY','7308PZDiRe','1069355tWcDfs','2872FXucMv','1974505WJzVHp','2113776JRVbgM'];_0x459a=function(){return _0x3f1f72;};return _0x459a();}export{LineHeight}from'./lineheight.js';export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightTodoListIntegration}from'./integrations/todolist.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, 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-2026, 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 _0x5136d8=_0x147e;function _0x147e(_0x290136,_0xe505f5){const _0x75f0e5=_0x75f0();return _0x147e=function(_0x147eb3,_0x1bcea7){_0x147eb3=_0x147eb3-0x10d;let _0x57068b=_0x75f0e5[_0x147eb3];return _0x57068b;},_0x147e(_0x290136,_0xe505f5);}(function(_0x3d2e14,_0xd52136){const _0x1a9db3=_0x147e,_0x57e617=_0x3d2e14();while(!![]){try{const _0x5dd1f6=parseInt(_0x1a9db3(0x129))/0x1+-parseInt(_0x1a9db3(0x114))/0x2*(-parseInt(_0x1a9db3(0x137))/0x3)+parseInt(_0x1a9db3(0x133))/0x4+parseInt(_0x1a9db3(0x132))/0x5+-parseInt(_0x1a9db3(0x110))/0x6*(parseInt(_0x1a9db3(0x117))/0x7)+-parseInt(_0x1a9db3(0x131))/0x8*(parseInt(_0x1a9db3(0x113))/0x9)+parseInt(_0x1a9db3(0x126))/0xa;if(_0x5dd1f6===_0xd52136)break;else _0x57e617['push'](_0x57e617['shift']());}catch(_0x4d8127){_0x57e617['push'](_0x57e617['shift']());}}}(_0x75f0,0x5a70a));import{Plugin as _0x4870ec}from'ckeditor5/src/core.js';import{Matcher as _0x166d4f}from'ckeditor5/src/engine.js';import'../../theme/integrations/todolist.css';function _0x75f0(){const _0x1146a7=['--ck-content-list-marker-line-height','ListEditing','lineHeight','editor','6jUuPrV','consume','todo','9AUtGKI','777194cXydwf','LineHeightTodoListIntegration','upcast','1906429Raldyw','ck-list-marker-line-height','addClass','element:li','viewItem','add','elementToElement','item','name','isOfficialPlugin','high','for','paragraph','pluginName','registerDowncastStrategy','1492360WPaceK','todo-list__label__description','has','433645VFLIGX','consumable','isPremiumPlugin','get','getAttribute','TodoListEditing','span','setStyle','5683728ceKjlL','1659670kCmsfk','199372uwozKz','listType','match','init','3qhRauV'];_0x75f0=function(){return _0x1146a7;};return _0x75f0();}export class LineHeightTodoListIntegration extends _0x4870ec{static get[_0x5136d8(0x124)](){const _0x39e5bc=_0x5136d8;return _0x39e5bc(0x115);}static get[_0x5136d8(0x120)](){return!0x0;}static get[_0x5136d8(0x12b)](){return!0x0;}[_0x5136d8(0x136)](){const _0x400c91=_0x5136d8,{plugins:_0x25eff5,conversion:_0x4e65b0}=this[_0x400c91(0x10f)];if(!_0x25eff5[_0x400c91(0x128)](_0x400c91(0x10d))||!_0x25eff5[_0x400c91(0x128)](_0x400c91(0x12e)))return;_0x25eff5[_0x400c91(0x12c)](_0x400c91(0x10d))[_0x400c91(0x125)]({'scope':_0x400c91(0x11e),'attributeName':_0x400c91(0x10e),'consume':!0x1,'setAttributeOnDowncast'(_0x389d1b,_0x152553,_0x5b690d,_0x140c4b,_0x4e7a04){const _0x4f46c6=_0x400c91;_0x4f46c6(0x112)==_0x4e7a04[_0x4f46c6(0x12d)](_0x4f46c6(0x134))&&_0x152553&&(_0x389d1b[_0x4f46c6(0x119)](_0x4f46c6(0x118),_0x5b690d),_0x389d1b[_0x4f46c6(0x130)](_0x4f46c6(0x138),_0x152553,_0x5b690d));}}),_0x4e65b0[_0x400c91(0x122)](_0x400c91(0x116))[_0x400c91(0x11d)]({'view':{'name':_0x400c91(0x12f),'classes':_0x400c91(0x127)},'model':_0x400c91(0x123),'converterPriority':_0x400c91(0x121)}),_0x4e65b0[_0x400c91(0x122)](_0x400c91(0x116))[_0x400c91(0x11c)](_0x4bae3b=>{const _0x3154b2=_0x400c91;_0x4bae3b['on'](_0x3154b2(0x11a),function(_0x52099f){const _0x1d78dd=new _0x166d4f(_0x52099f);return(_0x3cb27f,_0xa8f2b2,_0x4d3f0c)=>{const _0x5f3663=_0x147e,_0x2dfd02=_0x1d78dd[_0x5f3663(0x135)](_0xa8f2b2[_0x5f3663(0x11b)]);if(!_0x2dfd02)return;const _0x2e6a88=_0x2dfd02[_0x5f3663(0x135)];_0x2e6a88[_0x5f3663(0x11f)]=!0x1,_0x4d3f0c[_0x5f3663(0x12a)][_0x5f3663(0x111)](_0xa8f2b2[_0x5f3663(0x11b)],_0x2e6a88);};}({'name':'li','classes':_0x3154b2(0x118),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, 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/lineheight.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, 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
|
-
var
|
|
23
|
+
var _0x5420c4=_0x3630;(function(_0x189a6e,_0x21080a){var _0x23cb29=_0x3630,_0x49a196=_0x189a6e();while(!![]){try{var _0x24bc72=parseInt(_0x23cb29(0x194))/0x1+parseInt(_0x23cb29(0x19d))/0x2+-parseInt(_0x23cb29(0x19e))/0x3+parseInt(_0x23cb29(0x199))/0x4*(parseInt(_0x23cb29(0x198))/0x5)+parseInt(_0x23cb29(0x193))/0x6+-parseInt(_0x23cb29(0x192))/0x7*(-parseInt(_0x23cb29(0x19b))/0x8)+-parseInt(_0x23cb29(0x196))/0x9;if(_0x24bc72===_0x21080a)break;else _0x49a196['push'](_0x49a196['shift']());}catch(_0x2204f5){_0x49a196['push'](_0x49a196['shift']());}}}(_0x29fa,0x5d978));function _0x3630(_0x272e1f,_0xbb300a){var _0x29fa85=_0x29fa();return _0x3630=function(_0x3630ae,_0x559640){_0x3630ae=_0x3630ae-0x191;var _0x1e2df8=_0x29fa85[_0x3630ae];return _0x1e2df8;},_0x3630(_0x272e1f,_0xbb300a);}import{Plugin as _0x2b15dd}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x268030}from'./lineheightediting.js';function _0x29fa(){var _0x49f89c=['394093JsLjrg','LineHeight','16100874HLDTco','pluginName','380HJZLfh','8404kDaRzP','requires','13016XePcSJ','isOfficialPlugin','931470YCHIJN','161895VTLfwp','isPremiumPlugin','2037IpqkhS','4400052wNaCDC'];_0x29fa=function(){return _0x49f89c;};return _0x29fa();}import{LineHeightUI as _0x559c37}from'./lineheightui.js';export class LineHeight extends _0x2b15dd{static get[_0x5420c4(0x19a)](){return[_0x268030,_0x559c37];}static get[_0x5420c4(0x197)](){var _0x1c5808=_0x5420c4;return _0x1c5808(0x195);}static get[_0x5420c4(0x19c)](){return!0x0;}static get[_0x5420c4(0x191)](){return!0x0;}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, 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/lineheightcommand.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, 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 _0x24f226=_0x1cbd;function _0x49c3(){const _0x5c99b4=['isEnabled','2887350jWrcBb','28aQvYEW','8YUNeHV','removeAttribute','4472330kByZTB','filter','refresh','lineHeight','1847421uCizBX','getAttribute','model','8222CCyQWR','execute','setAttribute','586326QwrKPs','11OuBOgE','_canHaveLineHeight','1337816eGJokt','checkAttribute','3300468FBjhif','change','schema','getSelectedBlocks','document','value','86Gfitiu','editor','from','selection'];_0x49c3=function(){return _0x5c99b4;};return _0x49c3();}(function(_0x1209da,_0x57d02a){const _0x2fc723=_0x1cbd,_0x5f0aae=_0x1209da();while(!![]){try{const _0x101ad8=parseInt(_0x2fc723(0x1e4))/0x1*(parseInt(_0x2fc723(0x1d6))/0x2)+-parseInt(_0x2fc723(0x1d9))/0x3*(parseInt(_0x2fc723(0x1eb))/0x4)+parseInt(_0x2fc723(0x1e9))/0x5+-parseInt(_0x2fc723(0x1de))/0x6+-parseInt(_0x2fc723(0x1ea))/0x7*(-parseInt(_0x2fc723(0x1dc))/0x8)+parseInt(_0x2fc723(0x1d3))/0x9+-parseInt(_0x2fc723(0x1ed))/0xa*(parseInt(_0x2fc723(0x1da))/0xb);if(_0x101ad8===_0x57d02a)break;else _0x5f0aae['push'](_0x5f0aae['shift']());}catch(_0x5b8e00){_0x5f0aae['push'](_0x5f0aae['shift']());}}}(_0x49c3,0x65ce6));function _0x1cbd(_0x3d940f,_0x1aba68){const _0x49c319=_0x49c3();return _0x1cbd=function(_0x1cbddb,_0x17ad50){_0x1cbddb=_0x1cbddb-0x1d1;let _0x361148=_0x49c319[_0x1cbddb];return _0x361148;},_0x1cbd(_0x3d940f,_0x1aba68);}import{Command as _0x4b3a1c}from'ckeditor5/src/core.js';import{first as _0x4ad763}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x4b3a1c{[_0x24f226(0x1d1)](){const _0x3648f5=_0x24f226,_0x280c0b=this[_0x3648f5(0x1e5)][_0x3648f5(0x1d5)][_0x3648f5(0x1e2)],_0x13881e=_0x4ad763(_0x280c0b[_0x3648f5(0x1e7)][_0x3648f5(0x1e1)]());this[_0x3648f5(0x1e8)]=Boolean(_0x13881e)&&this[_0x3648f5(0x1db)](_0x13881e),this[_0x3648f5(0x1e3)]=this[_0x3648f5(0x1e8)]&&_0x13881e[_0x3648f5(0x1d4)](_0x3648f5(0x1d2));}[_0x24f226(0x1d7)](_0x482428={}){const _0x47ef1a=_0x24f226,_0x21f408=this[_0x47ef1a(0x1e5)][_0x47ef1a(0x1d5)],_0x5017d8=_0x21f408[_0x47ef1a(0x1e2)][_0x47ef1a(0x1e7)],_0x164d04=_0x482428[_0x47ef1a(0x1e3)];_0x21f408[_0x47ef1a(0x1df)](_0x530875=>{const _0x3f1fa4=_0x47ef1a,_0x43848c=Array[_0x3f1fa4(0x1e6)](_0x5017d8[_0x3f1fa4(0x1e1)]())[_0x3f1fa4(0x1ee)](_0x458de8=>this[_0x3f1fa4(0x1db)](_0x458de8));for(const _0x1d8695 of _0x43848c)_0x164d04?_0x530875[_0x3f1fa4(0x1d8)](_0x3f1fa4(0x1d2),_0x164d04,_0x1d8695):_0x530875[_0x3f1fa4(0x1ec)](_0x3f1fa4(0x1d2),_0x1d8695);});}[_0x24f226(0x1db)](_0xeacff9){const _0x1308eb=_0x24f226;return this[_0x1308eb(0x1e5)][_0x1308eb(0x1d5)][_0x1308eb(0x1e0)][_0x1308eb(0x1dd)](_0xeacff9,_0x1308eb(0x1d2));}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, 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/lineheightconfig.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, 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/lineheightediting.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, 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 _0x41171b=_0x3845;function _0x3845(_0x39dfcd,_0x4fdaf2){const _0x27ba46=_0x27ba();return _0x3845=function(_0x3845f1,_0xf8e118){_0x3845f1=_0x3845f1-0x91;let _0x3fa409=_0x27ba46[_0x3845f1];return _0x3fa409;},_0x3845(_0x39dfcd,_0x4fdaf2);}(function(_0x4109de,_0x1d0991){const _0x2e4ac3=_0x3845,_0x2e2785=_0x4109de();while(!![]){try{const _0x33fada=parseInt(_0x2e4ac3(0xbe))/0x1*(-parseInt(_0x2e4ac3(0xa8))/0x2)+parseInt(_0x2e4ac3(0x96))/0x3+-parseInt(_0x2e4ac3(0xbc))/0x4+-parseInt(_0x2e4ac3(0xa2))/0x5*(parseInt(_0x2e4ac3(0x9e))/0x6)+-parseInt(_0x2e4ac3(0xa3))/0x7+parseInt(_0x2e4ac3(0xc5))/0x8+parseInt(_0x2e4ac3(0xa4))/0x9;if(_0x33fada===_0x1d0991)break;else _0x2e2785['push'](_0x2e2785['shift']());}catch(_0xf9c7c6){_0x2e2785['push'](_0x2e2785['shift']());}}}(_0x27ba,0x70783));import{Plugin as _0x4dc60f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x30fde5}from'./lineheightcommand.js';function _0x27ba(){const _0x107554=['length','fromCharCode','isOfficialPlugin','extend','3340968UusZUK','upcast','91039TvCOYz','lineHeight.supportAllValues','line-height-invalid-use-of-named-presets','join','filter','lineHeight.options','values','4012032vMEqKb','_prepareAnyValueConverters','slice','getStyle','href','attributeToAttribute','string','954903MipWwh','setAttributeProperties','for','get','define','lineHeight.defaultValue','schema','isPremiumPlugin','6qYlUXh','map','init','style','361325TYtmkv','1346590dTXYuc','12402180QywcBi','conversion','default','editor','14eKCyja','add','_preparePredefinedConverters','model','requires','config','LineHeightEditing','pluginName','$block','includes','downcast','lineHeight','commands','afterInit','_validateConfig','line-height'];_0x27ba=function(){return _0x107554;};return _0x27ba();}import{isPercentageStyleValue as _0x7cbd1e}from'ckeditor5/src/engine.js';import{uid as _0x77813d,CKEditorError as _0x33cdae}from'ckeditor5/src/utils.js';import{buildDefinition as _0x59532d,isLineHeightDefaultValue as _0x3a0fb3,normalizeOptions as _0x5d9d18}from'./utils.js';import{LineHeightTodoListIntegration as _0x4ffde4}from'./integrations/todolist.js';export class LineHeightEditing extends _0x4dc60f{static get[_0x41171b(0xaf)](){const _0x1e0084=_0x41171b;return _0x1e0084(0xae);}static get[_0x41171b(0xac)](){return[_0x4ffde4];}static get[_0x41171b(0xba)](){return!0x0;}static get[_0x41171b(0x9d)](){return!0x0;}constructor(_0x429c93){const _0x65107a=_0x41171b;super(_0x429c93),_0x429c93[_0x65107a(0xad)][_0x65107a(0x9a)](_0x65107a(0xb3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x65107a(0xa6),0x2,2.5,0x3]});}[_0x41171b(0xa0)](){const _0x2999ea=_0x41171b,_0x4e9a44=this[_0x2999ea(0xa7)];this[_0x2999ea(0xb6)](),_0x4e9a44[_0x2999ea(0xab)][_0x2999ea(0x9c)][_0x2999ea(0xbb)](_0x2999ea(0xb0),{'allowAttributes':_0x2999ea(0xb3)}),_0x4e9a44[_0x2999ea(0xab)][_0x2999ea(0x9c)][_0x2999ea(0x97)](_0x2999ea(0xb3),{'isFormatting':!0x0}),_0x4e9a44[_0x2999ea(0xb4)][_0x2999ea(0xa9)](_0x2999ea(0xb3),new _0x30fde5(_0x4e9a44)),this[_0x2999ea(0xa7)][_0x2999ea(0xad)][_0x2999ea(0x99)](_0x2999ea(0xbf))?this[_0x2999ea(0xc6)]():this[_0x2999ea(0xaa)]();}[_0x41171b(0xb5)](){!async function(_0x4292d1){const _0x5f4250=_0x479c8e([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x35a395=0x45ddd215,_0x3e20f3=0x45daa8cd^_0x35a395,_0x56ad1c=window[_0x479c8e([0x44,0x61,0x74,0x65])][_0x479c8e([0x6e,0x6f,0x77])](),_0x517e51=_0x4292d1[_0x479c8e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3cc69f=new window[(_0x479c8e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x508224=>{_0x517e51[_0x479c8e([0x6f,0x6e,0x63,0x65])](_0x479c8e([0x72,0x65,0x61,0x64,0x79]),_0x508224);}),_0xf7201c={[_0x479c8e([0x6b,0x74,0x79])]:_0x479c8e([0x45,0x43]),[_0x479c8e([0x75,0x73,0x65])]:_0x479c8e([0x73,0x69,0x67]),[_0x479c8e([0x63,0x72,0x76])]:_0x479c8e([0x50,0x2d,0x32,0x35,0x36]),[_0x479c8e([0x78])]:_0x479c8e([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]),[_0x479c8e([0x79])]:_0x479c8e([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]),[_0x479c8e([0x61,0x6c,0x67])]:_0x479c8e([0x45,0x53,0x32,0x35,0x36])},_0x50cbb0=_0x517e51[_0x479c8e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x479c8e([0x67,0x65,0x74])](_0x479c8e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22f846(){let _0x3472e6,_0x1d5c94=null,_0x3cadac=null;try{if(_0x50cbb0==_0x479c8e([0x47,0x50,0x4c]))return _0x479c8e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3472e6=_0x34384e(),!_0x3472e6)return _0x479c8e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3472e6[_0x479c8e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3cadac=_0x391889(_0x3472e6[_0x479c8e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3472e6[_0x479c8e([0x6a,0x74,0x69])])),await _0x438bdd()?_0x2753c0()?_0x4061b6()?_0x479c8e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x356f9a()?(_0x3472e6[_0x479c8e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x479c8e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1d5c94=_0x58ecf3(_0x479c8e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3472e6[_0x479c8e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x479c8e([0x74,0x72,0x69,0x61,0x6c])&&(_0x1d5c94=_0x58ecf3(_0x479c8e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x225beb()):_0x479c8e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x479c8e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x479c8e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x479c8e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4061b6(){const _0x40e73a=[_0x479c8e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x479c8e([0x74,0x72,0x69,0x61,0x6c])][_0x479c8e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3472e6[_0x479c8e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x56ad1c/0x3e8:0xe10*_0x3e20f3;return _0x3472e6[_0x479c8e([0x65,0x78,0x70])]<_0x40e73a;}function _0x2753c0(){const _0x3834c3=_0x3472e6[_0x479c8e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3834c3&&(!!_0x3834c3[_0x479c8e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x479c8e([0x2a]))||!!_0x3834c3[_0x479c8e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x479c8e([0x4c,0x48])));}function _0x356f9a(){const _0x53ef40=_0x3845,_0x4b35b1=_0x3472e6[_0x479c8e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b35b1||0x0==_0x4b35b1[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c8928}=new URL(window[_0x479c8e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x53ef40(0x93)]);if(_0x4b35b1[_0x479c8e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c8928))return!0x0;const _0x227464=_0x2c8928[_0x479c8e([0x73,0x70,0x6c,0x69,0x74])](_0x479c8e([0x2e]));return _0x4b35b1[_0x479c8e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x61d771=>_0x61d771[_0x479c8e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x479c8e([0x2a])))[_0x479c8e([0x6d,0x61,0x70])](_0x1bb681=>_0x1bb681[_0x479c8e([0x73,0x70,0x6c,0x69,0x74])](_0x479c8e([0x2e])))[_0x479c8e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a39a0=>_0x5a39a0[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x227464[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x479c8e([0x6d,0x61,0x70])](_0x9ceda=>Array(_0x227464[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9ceda[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x479c8e([0x66,0x69,0x6c,0x6c])](_0x9ceda[0x0]===_0x479c8e([0x2a])?_0x479c8e([0x2a]):'')[_0x479c8e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9ceda))[_0x479c8e([0x73,0x6f,0x6d,0x65])](_0x3fe5d3=>_0x227464[_0x479c8e([0x65,0x76,0x65,0x72,0x79])]((_0x203dfb,_0x18c812)=>_0x3fe5d3[_0x18c812]===_0x203dfb||_0x3fe5d3[_0x18c812]===_0x479c8e([0x2a])));}function _0x225beb(){return _0x1d5c94&&_0x3cadac?new window[(_0x479c8e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34c93c,_0x19b632)=>{_0x1d5c94[_0x479c8e([0x74,0x68,0x65,0x6e])](_0x34c93c,_0x19b632),_0x3cadac[_0x479c8e([0x74,0x68,0x65,0x6e])](_0x58f340=>{_0x58f340!=_0x479c8e([0x56,0x61,0x6c,0x69,0x64])&&_0x34c93c(_0x58f340);},_0x19b632);}):_0x1d5c94||_0x3cadac||_0x479c8e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x391889(_0x11f5f4,_0x424dc1){return new window[(_0x479c8e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32d4bc=>{if(_0x2b56fc())return _0x32d4bc(_0x479c8e([0x56,0x61,0x6c,0x69,0x64]));_0x3e391c(),_0x517e51[_0x479c8e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x479c8e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5dd6bc=!0x1;const _0x2cf927=_0x77813d();function _0x5efceb(_0x26f693){return!!_0x26f693&&(typeof _0x26f693===_0x479c8e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x26f693===_0x479c8e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x26f693[_0x479c8e([0x74,0x68,0x65,0x6e])]===_0x479c8e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x26f693[_0x479c8e([0x63,0x61,0x74,0x63,0x68])]===_0x479c8e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x32ccf1(_0x5ee82a){_0x1c4ecc(_0x5ee82a)[_0x479c8e([0x74,0x68,0x65,0x6e])](_0x2570bd=>{if(!_0x2570bd||_0x2570bd[_0x479c8e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x479c8e([0x6f,0x6b]))return _0x479c8e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d5b07(_0x308da1(_0x2cf927+_0x424dc1))!=_0x2570bd[_0x479c8e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x479c8e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x479c8e([0x56,0x61,0x6c,0x69,0x64]);})[_0x479c8e([0x74,0x68,0x65,0x6e])](_0x32fbff=>(_0x4f2c77(),_0x32fbff),()=>{const _0x78a2d6=_0x2c8389();return null==_0x78a2d6?(_0x4f2c77(),_0x479c8e([0x56,0x61,0x6c,0x69,0x64])):_0x479c8e(_0x56ad1c-_0x78a2d6>(0x61d15615^_0x35a395)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x479c8e([0x74,0x68,0x65,0x6e])](_0x32d4bc)[_0x479c8e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32d4bc(_0x479c8e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2370e8=0x45eb3c95^_0x35a395;function _0x4f2c77(){const _0x26b437=_0x479c8e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d5b07(_0x308da1(_0x11f5f4)),_0x2f1162=_0x412b7d(_0x1d5b07(window[_0x479c8e([0x4d,0x61,0x74,0x68])][_0x479c8e([0x63,0x65,0x69,0x6c])](_0x56ad1c/_0x2370e8)));window[_0x479c8e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x479c8e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26b437,_0x2f1162);}function _0x2c8389(){const _0x8e174b=_0x479c8e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d5b07(_0x308da1(_0x11f5f4)),_0x7ec60d=window[_0x479c8e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x479c8e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8e174b);return _0x7ec60d?window[_0x479c8e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x412b7d(_0x7ec60d),0x10)*_0x2370e8:null;}function _0x1c4ecc(_0xb2d4bf){return new window[(_0x479c8e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e3a98,_0xba7301)=>{_0xb2d4bf[_0x479c8e([0x74,0x68,0x65,0x6e])](_0x1e3a98,_0xba7301),window[_0x479c8e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xba7301,0x45dc06d5^_0x35a395);});}}_0x517e51[_0x479c8e([0x6f,0x6e])](_0x479c8e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x106a93,_0x4c9389)=>{if(_0x4c9389[0x0]!=_0x11f5f4)return _0x32d4bc(_0x479c8e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c9389[0x1]={..._0x4c9389[0x1],[_0x479c8e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cf927};},{[_0x479c8e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x479c8e([0x68,0x69,0x67,0x68])}),_0x517e51[_0x479c8e([0x6f,0x6e])](_0x479c8e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x507465=>{_0x5efceb(_0x507465[_0x479c8e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5dd6bc=!0x0,_0x32ccf1(_0x507465[_0x479c8e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x479c8e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x479c8e([0x6c,0x6f,0x77])}),_0x3cc69f[_0x479c8e([0x74,0x68,0x65,0x6e])](()=>{_0x5dd6bc||_0x32d4bc(_0x479c8e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b56fc(){return _0x517e51[_0x479c8e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x479c8e([0x76,0x69,0x65,0x77])][_0x479c8e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x479c8e([0x61,0x75,0x74,0x6f]);}function _0x3e391c(){_0x517e51[_0x479c8e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x479c8e([0x76,0x69,0x65,0x77])][_0x479c8e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x479c8e([0x61,0x75,0x74,0x6f]);}}function _0x58ecf3(_0x64ef9){const _0x4fe956=[new window[(_0x479c8e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e7c36=>setTimeout(_0x4e7c36,0x45d4ecd9^_0x35a395)),_0x3cc69f[_0x479c8e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x479c8e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56cb93=>{let _0xc4d0cd=0x0;_0x517e51[_0x479c8e([0x6d,0x6f,0x64,0x65,0x6c])][_0x479c8e([0x6f,0x6e])](_0x479c8e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x466ce6,_0x267f90)=>{_0x267f90[0x0][_0x479c8e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc4d0cd++,_0xc4d0cd==(0x45ddd3ed^_0x35a395)&&(_0x56cb93(),_0x466ce6[_0x479c8e([0x6f,0x66,0x66])]());});}))];return window[_0x479c8e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x479c8e([0x72,0x61,0x63,0x65])](_0x4fe956)[_0x479c8e([0x74,0x68,0x65,0x6e])](()=>_0x64ef9);}async function _0x4d3695(){await _0x3cc69f,_0x517e51[_0x479c8e([0x6d,0x6f,0x64,0x65,0x6c])][_0x479c8e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c7a1e,_0x517e51[_0x479c8e([0x6d,0x6f,0x64,0x65,0x6c])][_0x479c8e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c7a1e,_0x517e51[_0x479c8e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x479c8e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x423dc3(_0x27698c){const _0x158eca=_0x3c5576();_0x517e51[_0x158eca]=_0x479c8e([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x27698c,_0x27698c!=_0x479c8e([0x56,0x61,0x6c,0x69,0x64])&&_0x4d3695();}function _0x3c5576(){const _0x315566=window[_0x479c8e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x479c8e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x479c8e([0x6e,0x6f,0x77])]())[_0x479c8e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x479c8e([0x2e]),'');let _0x302b20=_0x479c8e([0x50]);for(let _0x5477e5=0x0;_0x5477e5<_0x315566[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5477e5+=0x2){let _0x1785fa=window[_0x479c8e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x315566[_0x479c8e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5477e5,_0x5477e5+0x2));_0x1785fa>=_0x5f4250[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1785fa-=_0x5f4250[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x302b20+=_0x5f4250[_0x1785fa];}return _0x302b20;}function _0x34384e(){const _0x133f2a=_0x50cbb0[_0x479c8e([0x73,0x70,0x6c,0x69,0x74])](_0x479c8e([0x2e]));if(0x3!=_0x133f2a[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x26940f(_0x133f2a[0x1]);function _0x26940f(_0x97053d){const _0x370e02=_0x323c83(_0x97053d);return _0x370e02&&_0x58ad0d()?_0x370e02:null;function _0x58ad0d(){const _0x55ef2a=_0x370e02[_0x479c8e([0x6a,0x74,0x69])],_0x505e89=window[_0x479c8e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55ef2a[_0x479c8e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55ef2a[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x419291={..._0x370e02,[_0x479c8e([0x6a,0x74,0x69])]:_0x55ef2a[_0x479c8e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x55ef2a[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x419291[_0x479c8e([0x76,0x63])],_0x308da1(_0x419291)==_0x505e89;}}}async function _0x438bdd(){let _0x1f9a58=!0x0;try{const _0x5b6e35=_0x50cbb0[_0x479c8e([0x73,0x70,0x6c,0x69,0x74])](_0x479c8e([0x2e])),[_0x282d5f,_0x37580f,_0x391dc5]=_0x5b6e35;return _0x3b65c7(_0x282d5f),await _0x4832a3(_0x282d5f,_0x37580f,_0x391dc5),_0x1f9a58;}catch{return!0x1;}function _0x3b65c7(_0x46a784){const _0x329241=_0x323c83(_0x46a784);_0x329241&&_0x329241[_0x479c8e([0x61,0x6c,0x67])]==_0x479c8e([0x45,0x53,0x32,0x35,0x36])||(_0x1f9a58=!0x1);}async function _0x4832a3(_0x4307ae,_0x10caff,_0x571d67){const _0xfc6f1=window[_0x479c8e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x479c8e([0x66,0x72,0x6f,0x6d])](_0x40488d(_0x571d67),_0x135524=>_0x135524[_0x479c8e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46c631=new window[(_0x479c8e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x479c8e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4307ae+_0x479c8e([0x2e])+_0x10caff),_0x593aba=window[_0x479c8e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x479c8e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x593aba)return;const _0x24daac=await _0x593aba[_0x479c8e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x479c8e([0x6a,0x77,0x6b]),_0xf7201c,{[_0x479c8e([0x6e,0x61,0x6d,0x65])]:_0x479c8e([0x45,0x43,0x44,0x53,0x41]),[_0x479c8e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x479c8e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x479c8e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x593aba[_0x479c8e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x479c8e([0x6e,0x61,0x6d,0x65])]:_0x479c8e([0x45,0x43,0x44,0x53,0x41]),[_0x479c8e([0x68,0x61,0x73,0x68])]:{[_0x479c8e([0x6e,0x61,0x6d,0x65])]:_0x479c8e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24daac,_0xfc6f1,_0x46c631)||(_0x1f9a58=!0x1);}}function _0x323c83(_0x237dd2){return _0x237dd2[_0x479c8e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x479c8e([0x65,0x79]))?JSON[_0x479c8e([0x70,0x61,0x72,0x73,0x65])](_0x40488d(_0x237dd2)):null;}function _0x40488d(_0x444d1c){return window[_0x479c8e([0x61,0x74,0x6f,0x62])](_0x444d1c[_0x479c8e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x479c8e([0x2b]))[_0x479c8e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x479c8e([0x2f])));}function _0x308da1(_0x39e6c6){let _0x1512d2=0x1505;function _0x1d2380(_0x544481){for(let _0xcb7b46=0x0;_0xcb7b46<_0x544481[_0x479c8e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcb7b46++){const _0x40eaad=_0x544481[_0x479c8e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xcb7b46);_0x1512d2=(_0x1512d2<<0x5)+_0x1512d2+_0x40eaad,_0x1512d2&=_0x1512d2;}}function _0x386215(_0x23bc32){Array[_0x479c8e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23bc32)?_0x23bc32[_0x479c8e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x386215):_0x23bc32&&typeof _0x23bc32==_0x479c8e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x479c8e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23bc32)[_0x479c8e([0x73,0x6f,0x72,0x74])]()[_0x479c8e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27680f,_0x3d03a6])=>{_0x1d2380(_0x27680f),_0x386215(_0x3d03a6);}):_0x1d2380(window[_0x479c8e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23bc32));}return _0x386215(_0x39e6c6),_0x1512d2>>>0x0;}function _0x1d5b07(_0x2ad998){return _0x2ad998[_0x479c8e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x479c8e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x479c8e([0x30]));}function _0x412b7d(_0x2e24e3){return _0x2e24e3[_0x479c8e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x479c8e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x479c8e([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c7a1e(){}function _0x479c8e(_0x27ab60){const _0x9ac727=_0x3845;return _0x27ab60[_0x9ac727(0x9f)](_0x1be939=>String[_0x9ac727(0xb9)](_0x1be939))[_0x9ac727(0xc1)]('');}_0x423dc3(await _0x22f846());}(this);}[_0x41171b(0xb6)](){const _0x2e7d8b=_0x41171b,_0x4b5e87=this[_0x2e7d8b(0xa7)];if(!_0x4b5e87[_0x2e7d8b(0xad)][_0x2e7d8b(0x99)](_0x2e7d8b(0xbf)))return;const _0x1d4d23=_0x4b5e87[_0x2e7d8b(0xad)][_0x2e7d8b(0x99)](_0x2e7d8b(0xc3))[_0x2e7d8b(0xc2)](_0x59a80e=>_0x2e7d8b(0x95)==typeof _0x59a80e&&(!_0x3a0fb3(_0x59a80e)&&isNaN(Number(_0x59a80e))));if(_0x1d4d23[_0x2e7d8b(0xb8)])throw new _0x33cdae(_0x2e7d8b(0xc0),null,{'namedPresets':_0x1d4d23});}[_0x41171b(0xc6)](){const _0x44d510=_0x41171b,_0x3d619b=this[_0x44d510(0xa7)],_0x21a006=this[_0x44d510(0xa7)][_0x44d510(0xad)][_0x44d510(0x99)](_0x44d510(0x9b));_0x3d619b[_0x44d510(0xa5)][_0x44d510(0x98)](_0x44d510(0xb2))[_0x44d510(0x94)]({'model':{'key':_0x44d510(0xb3)},'view':_0x5e5d46=>String(_0x5e5d46)===String(_0x21a006)?null:{'key':_0x44d510(0xa1),'value':{'line-height':_0x5e5d46}}}),_0x3d619b[_0x44d510(0xa5)][_0x44d510(0x98)](_0x44d510(0xbd))[_0x44d510(0x94)]({'model':{'key':_0x44d510(0xb3),'value':_0x1e8d56=>{const _0x570168=_0x44d510;let _0x1b5474=_0x1e8d56[_0x570168(0x92)](_0x570168(0xb7));return _0x7cbd1e(_0x1b5474)&&(_0x1b5474=String(Number(_0x1b5474[_0x570168(0x91)](0x0,-0x1))/0x64)),String(_0x1b5474)===String(_0x21a006)?null:_0x1b5474;}},'view':{'styles':{'line-height':/.*/}}});}[_0x41171b(0xaa)](){const _0x52b234=_0x41171b,_0x30cefa=this[_0x52b234(0xa7)],_0x452db8=this[_0x52b234(0xa7)][_0x52b234(0xad)][_0x52b234(0x99)](_0x52b234(0x9b)),_0xa6dbce=_0x5d9d18(this[_0x52b234(0xa7)][_0x52b234(0xad)][_0x52b234(0x99)](_0x52b234(0xb3)))[_0x52b234(0xc2)](_0x18a4c0=>_0x18a4c0[_0x52b234(0xab)]),_0xa5db9d=_0x59532d(_0x52b234(0xb3),_0xa6dbce);_0x30cefa[_0x52b234(0xa5)][_0x52b234(0x94)](_0xa5db9d),_0x30cefa[_0x52b234(0xa5)][_0x52b234(0x98)](_0x52b234(0xbd))[_0x52b234(0x94)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x52b234(0xb3),'value':_0x471883=>{const _0x1f9244=_0x52b234;let _0x2228ae=_0x471883[_0x1f9244(0x92)](_0x1f9244(0xb7));return _0x7cbd1e(_0x2228ae)&&(_0x2228ae=String(Number(_0x2228ae[_0x1f9244(0x91)](0x0,-0x1))/0x64)),_0x2228ae===String(_0x452db8)?null:_0xa5db9d[_0x1f9244(0xab)][_0x1f9244(0xc4)][_0x1f9244(0xb1)](_0x2228ae)?_0x2228ae:null;}}});}}
|
|
23
|
+
const _0x398430=_0x4a0a;(function(_0x153637,_0x2bcf84){const _0x180992=_0x4a0a,_0x48a6a1=_0x153637();while(!![]){try{const _0x4eca1e=-parseInt(_0x180992(0x187))/0x1+parseInt(_0x180992(0x19c))/0x2+parseInt(_0x180992(0x1a5))/0x3*(parseInt(_0x180992(0x198))/0x4)+-parseInt(_0x180992(0x191))/0x5+parseInt(_0x180992(0x1a9))/0x6*(-parseInt(_0x180992(0x1a4))/0x7)+-parseInt(_0x180992(0x18f))/0x8+parseInt(_0x180992(0x1a2))/0x9;if(_0x4eca1e===_0x2bcf84)break;else _0x48a6a1['push'](_0x48a6a1['shift']());}catch(_0x62f92d){_0x48a6a1['push'](_0x48a6a1['shift']());}}}(_0x589a,0xb81b0));import{Plugin as _0x26f0d7}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x464f72}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x23ea1a}from'ckeditor5/src/engine.js';import{uid as _0x35b5f2,CKEditorError as _0x2b6907}from'ckeditor5/src/utils.js';import{buildDefinition as _0x19acd3,isLineHeightDefaultValue as _0x35e00a,normalizeOptions as _0x433a92}from'./utils.js';function _0x589a(){const _0x5ea5f8=['schema','style','config','line-height','conversion','includes','lineHeight.supportAllValues','lineHeight','get','fromCharCode','774660uDVheU','default','afterInit','define','add','downcast','setAttributeProperties','for','7893984UfbEKr','isPremiumPlugin','3229580HgVUJh','join','string','attributeToAttribute','pluginName','upcast','_validateConfig','8ONpYBQ','filter','_prepareAnyValueConverters','LineHeightEditing','1469406USGhgt','lineHeight.options','getStyle','map','line-height-invalid-use-of-named-presets','extend','25898364eCyaMP','model','7OVCJta','1069278hKVxFY','_preparePredefinedConverters','$block','length','6982386UBXpKw','commands','href','isOfficialPlugin','slice','lineHeight.defaultValue','init','values','editor','requires'];_0x589a=function(){return _0x5ea5f8;};return _0x589a();}import{LineHeightTodoListIntegration as _0x33621e}from'./integrations/todolist.js';function _0x4a0a(_0x385111,_0x50d30c){const _0x589ab4=_0x589a();return _0x4a0a=function(_0x4a0add,_0x441d80){_0x4a0add=_0x4a0add-0x180;let _0x11e608=_0x589ab4[_0x4a0add];return _0x11e608;},_0x4a0a(_0x385111,_0x50d30c);}export class LineHeightEditing extends _0x26f0d7{static get[_0x398430(0x195)](){const _0x322eb9=_0x398430;return _0x322eb9(0x19b);}static get[_0x398430(0x1b2)](){return[_0x33621e];}static get[_0x398430(0x1ac)](){return!0x0;}static get[_0x398430(0x190)](){return!0x0;}constructor(_0x1f730f){const _0x351d8f=_0x398430;super(_0x1f730f),_0x1f730f[_0x351d8f(0x1b5)][_0x351d8f(0x18a)](_0x351d8f(0x184),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x351d8f(0x188),0x2,2.5,0x3]});}[_0x398430(0x1af)](){const _0x45ce2d=_0x398430,_0x38e3af=this[_0x45ce2d(0x1b1)];this[_0x45ce2d(0x197)](),_0x38e3af[_0x45ce2d(0x1a3)][_0x45ce2d(0x1b3)][_0x45ce2d(0x1a1)](_0x45ce2d(0x1a7),{'allowAttributes':_0x45ce2d(0x184)}),_0x38e3af[_0x45ce2d(0x1a3)][_0x45ce2d(0x1b3)][_0x45ce2d(0x18d)](_0x45ce2d(0x184),{'isFormatting':!0x0}),_0x38e3af[_0x45ce2d(0x1aa)][_0x45ce2d(0x18b)](_0x45ce2d(0x184),new _0x464f72(_0x38e3af)),this[_0x45ce2d(0x1b1)][_0x45ce2d(0x1b5)][_0x45ce2d(0x185)](_0x45ce2d(0x183))?this[_0x45ce2d(0x19a)]():this[_0x45ce2d(0x1a6)]();}[_0x398430(0x189)](){!async function(_0x207d7c){const _0x4fe49f=_0x4a5dd8([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x17c251=0x45ddd215,_0x54ab00=0x45daac45^_0x17c251,_0x2190e2=window[_0x4a5dd8([0x44,0x61,0x74,0x65])][_0x4a5dd8([0x6e,0x6f,0x77])](),_0x3b87d5=_0x207d7c[_0x4a5dd8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x449ab9=new window[(_0x4a5dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e2f2f=>{_0x3b87d5[_0x4a5dd8([0x6f,0x6e,0x63,0x65])](_0x4a5dd8([0x72,0x65,0x61,0x64,0x79]),_0x5e2f2f);}),_0x3e723a={[_0x4a5dd8([0x6b,0x74,0x79])]:_0x4a5dd8([0x45,0x43]),[_0x4a5dd8([0x75,0x73,0x65])]:_0x4a5dd8([0x73,0x69,0x67]),[_0x4a5dd8([0x63,0x72,0x76])]:_0x4a5dd8([0x50,0x2d,0x32,0x35,0x36]),[_0x4a5dd8([0x78])]:_0x4a5dd8([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]),[_0x4a5dd8([0x79])]:_0x4a5dd8([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]),[_0x4a5dd8([0x61,0x6c,0x67])]:_0x4a5dd8([0x45,0x53,0x32,0x35,0x36])},_0x1b8b83=_0x3b87d5[_0x4a5dd8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a5dd8([0x67,0x65,0x74])](_0x4a5dd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b2aa5(){let _0x1d63cb,_0x7e7357=null,_0x2b308b=null;try{if(_0x1b8b83==_0x4a5dd8([0x47,0x50,0x4c]))return _0x4a5dd8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d63cb=_0x54b5e0(),!_0x1d63cb)return _0x4a5dd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d63cb[_0x4a5dd8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b308b=_0x53259b(_0x1d63cb[_0x4a5dd8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d63cb[_0x4a5dd8([0x6a,0x74,0x69])])),await _0x37fa36()?_0x47fe21()?_0x117040()?_0x4a5dd8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x119da9()?(_0x1d63cb[_0x4a5dd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a5dd8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7e7357=_0x3de6d0(_0x4a5dd8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1c91d0()):_0x4a5dd8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a5dd8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a5dd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a5dd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x117040(){const _0x1a2927=[_0x4a5dd8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a5dd8([0x74,0x72,0x69,0x61,0x6c])][_0x4a5dd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d63cb[_0x4a5dd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2190e2/0x3e8:0xe10*_0x54ab00;return _0x1d63cb[_0x4a5dd8([0x65,0x78,0x70])]<_0x1a2927;}function _0x47fe21(){const _0x21475f=_0x1d63cb[_0x4a5dd8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21475f&&(!!_0x21475f[_0x4a5dd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a5dd8([0x2a]))||!!_0x21475f[_0x4a5dd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a5dd8([0x4c,0x48])));}function _0x119da9(){const _0x28683b=_0x4a0a,_0x643389=_0x1d63cb[_0x4a5dd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x643389||0x0==_0x643389[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51b20e}=new URL(window[_0x4a5dd8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x28683b(0x1ab)]);if(_0x643389[_0x4a5dd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51b20e))return!0x0;const _0x1ab76c=_0x51b20e[_0x4a5dd8([0x73,0x70,0x6c,0x69,0x74])](_0x4a5dd8([0x2e]));return _0x643389[_0x4a5dd8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5aa959=>_0x5aa959[_0x4a5dd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a5dd8([0x2a])))[_0x4a5dd8([0x6d,0x61,0x70])](_0x105720=>_0x105720[_0x4a5dd8([0x73,0x70,0x6c,0x69,0x74])](_0x4a5dd8([0x2e])))[_0x4a5dd8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a74b9=>_0x5a74b9[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ab76c[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a5dd8([0x6d,0x61,0x70])](_0x1c28f4=>Array(_0x1ab76c[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1c28f4[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a5dd8([0x66,0x69,0x6c,0x6c])](_0x1c28f4[0x0]===_0x4a5dd8([0x2a])?_0x4a5dd8([0x2a]):'')[_0x4a5dd8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1c28f4))[_0x4a5dd8([0x73,0x6f,0x6d,0x65])](_0xff525=>_0x1ab76c[_0x4a5dd8([0x65,0x76,0x65,0x72,0x79])]((_0x4efffb,_0x4f376c)=>_0xff525[_0x4f376c]===_0x4efffb||_0xff525[_0x4f376c]===_0x4a5dd8([0x2a])));}function _0x1c91d0(){return _0x7e7357&&_0x2b308b?new window[(_0x4a5dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49c4e3,_0x51887c)=>{_0x7e7357[_0x4a5dd8([0x74,0x68,0x65,0x6e])](_0x49c4e3,_0x51887c),_0x2b308b[_0x4a5dd8([0x74,0x68,0x65,0x6e])](_0x469106=>{_0x469106!=_0x4a5dd8([0x56,0x61,0x6c,0x69,0x64])&&_0x49c4e3(_0x469106);},_0x51887c);}):_0x7e7357||_0x2b308b||_0x4a5dd8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53259b(_0x27c42e,_0x15691a){return new window[(_0x4a5dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eba18=>{if(_0x168d00())return _0x2eba18(_0x4a5dd8([0x56,0x61,0x6c,0x69,0x64]));_0x1e1c0f(),_0x3b87d5[_0x4a5dd8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a5dd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe140a6=!0x1;const _0x257fd4=_0x35b5f2();function _0xb39096(_0x286252){return!!_0x286252&&(typeof _0x286252===_0x4a5dd8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x286252===_0x4a5dd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x286252[_0x4a5dd8([0x74,0x68,0x65,0x6e])]===_0x4a5dd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x286252[_0x4a5dd8([0x63,0x61,0x74,0x63,0x68])]===_0x4a5dd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x581229(_0x4da403){_0xc042d9(_0x4da403)[_0x4a5dd8([0x74,0x68,0x65,0x6e])](_0x2372da=>{if(!_0x2372da||_0x2372da[_0x4a5dd8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a5dd8([0x6f,0x6b]))return _0x4a5dd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20322c(_0x165bf4(_0x257fd4+_0x15691a))!=_0x2372da[_0x4a5dd8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a5dd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a5dd8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a5dd8([0x74,0x68,0x65,0x6e])](_0x1310d1=>(_0x939dec(),_0x1310d1),()=>{const _0x3b4894=_0x5c0018();return null==_0x3b4894?(_0x939dec(),_0x4a5dd8([0x56,0x61,0x6c,0x69,0x64])):_0x4a5dd8(_0x2190e2-_0x3b4894>(0x61d15615^_0x17c251)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a5dd8([0x74,0x68,0x65,0x6e])](_0x2eba18)[_0x4a5dd8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2eba18(_0x4a5dd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a31f0=0x45eb3c95^_0x17c251;function _0x939dec(){const _0x9844e0=_0x4a5dd8([0x6c,0x6c,0x63,0x74,0x2d])+_0x20322c(_0x165bf4(_0x27c42e)),_0xc09c85=_0x57c3b3(_0x20322c(window[_0x4a5dd8([0x4d,0x61,0x74,0x68])][_0x4a5dd8([0x63,0x65,0x69,0x6c])](_0x2190e2/_0x1a31f0)));window[_0x4a5dd8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a5dd8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9844e0,_0xc09c85);}function _0x5c0018(){const _0x48a643=_0x4a5dd8([0x6c,0x6c,0x63,0x74,0x2d])+_0x20322c(_0x165bf4(_0x27c42e)),_0x24cff5=window[_0x4a5dd8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a5dd8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48a643);return _0x24cff5?window[_0x4a5dd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57c3b3(_0x24cff5),0x10)*_0x1a31f0:null;}function _0xc042d9(_0x425f69){return new window[(_0x4a5dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8ef95,_0x14e8b9)=>{_0x425f69[_0x4a5dd8([0x74,0x68,0x65,0x6e])](_0x8ef95,_0x14e8b9),window[_0x4a5dd8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14e8b9,0x45dc06d5^_0x17c251);});}}_0x3b87d5[_0x4a5dd8([0x6f,0x6e])](_0x4a5dd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2237d4,_0x5d83cd)=>{if(_0x5d83cd[0x0]!=_0x27c42e)return _0x2eba18(_0x4a5dd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d83cd[0x1]={..._0x5d83cd[0x1],[_0x4a5dd8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x257fd4};},{[_0x4a5dd8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a5dd8([0x68,0x69,0x67,0x68])}),_0x3b87d5[_0x4a5dd8([0x6f,0x6e])](_0x4a5dd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ea6ca=>{_0xb39096(_0x3ea6ca[_0x4a5dd8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe140a6=!0x0,_0x581229(_0x3ea6ca[_0x4a5dd8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a5dd8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a5dd8([0x6c,0x6f,0x77])}),_0x449ab9[_0x4a5dd8([0x74,0x68,0x65,0x6e])](()=>{_0xe140a6||_0x2eba18(_0x4a5dd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x168d00(){return _0x3b87d5[_0x4a5dd8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a5dd8([0x76,0x69,0x65,0x77])][_0x4a5dd8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a5dd8([0x61,0x75,0x74,0x6f]);}function _0x1e1c0f(){_0x3b87d5[_0x4a5dd8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a5dd8([0x76,0x69,0x65,0x77])][_0x4a5dd8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a5dd8([0x61,0x75,0x74,0x6f]);}}function _0x3de6d0(_0x238f85){const _0x23b7d1=[new window[(_0x4a5dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa1119d=>setTimeout(_0xa1119d,0x45d4ecd9^_0x17c251)),_0x449ab9[_0x4a5dd8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a5dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17e540=>{let _0x5d8a26=0x0;_0x3b87d5[_0x4a5dd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a5dd8([0x6f,0x6e])](_0x4a5dd8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d6ebd,_0x40974a)=>{_0x40974a[0x0][_0x4a5dd8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d8a26++,_0x5d8a26==(0x45ddd7fd^_0x17c251)&&(_0x17e540(),_0x5d6ebd[_0x4a5dd8([0x6f,0x66,0x66])]());});}))];return window[_0x4a5dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a5dd8([0x72,0x61,0x63,0x65])](_0x23b7d1)[_0x4a5dd8([0x74,0x68,0x65,0x6e])](()=>_0x238f85);}async function _0x32fabc(){await _0x449ab9,_0x3b87d5[_0x4a5dd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a5dd8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x370a62,_0x3b87d5[_0x4a5dd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a5dd8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x370a62,_0x3b87d5[_0x4a5dd8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a5dd8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x481997(_0x335a4f){const _0x3d2fde=_0x27c65c();_0x3b87d5[_0x3d2fde]=_0x4a5dd8([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x335a4f,_0x335a4f!=_0x4a5dd8([0x56,0x61,0x6c,0x69,0x64])&&_0x32fabc();}function _0x27c65c(){const _0x229af6=window[_0x4a5dd8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a5dd8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a5dd8([0x6e,0x6f,0x77])]())[_0x4a5dd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a5dd8([0x2e]),'');let _0x5ac530=_0x4a5dd8([0x50]);for(let _0x52a7d0=0x0;_0x52a7d0<_0x229af6[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52a7d0+=0x2){let _0x41b1fe=window[_0x4a5dd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x229af6[_0x4a5dd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52a7d0,_0x52a7d0+0x2));_0x41b1fe>=_0x4fe49f[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41b1fe-=_0x4fe49f[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5ac530+=_0x4fe49f[_0x41b1fe];}return _0x5ac530;}function _0x54b5e0(){const _0x4db06e=_0x1b8b83[_0x4a5dd8([0x73,0x70,0x6c,0x69,0x74])](_0x4a5dd8([0x2e]));if(0x3!=_0x4db06e[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x356f0a(_0x4db06e[0x1]);function _0x356f0a(_0x1397e9){const _0x5c3f5a=_0xf9bd8e(_0x1397e9);return _0x5c3f5a&&_0x464fd4()?_0x5c3f5a:null;function _0x464fd4(){const _0x5923c5=_0x5c3f5a[_0x4a5dd8([0x6a,0x74,0x69])],_0x4419d3=window[_0x4a5dd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5923c5[_0x4a5dd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5923c5[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5216c8={..._0x5c3f5a,[_0x4a5dd8([0x6a,0x74,0x69])]:_0x5923c5[_0x4a5dd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5923c5[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5216c8[_0x4a5dd8([0x76,0x63])],_0x165bf4(_0x5216c8)==_0x4419d3;}}}async function _0x37fa36(){let _0x16d052=!0x0;try{const _0x153294=_0x1b8b83[_0x4a5dd8([0x73,0x70,0x6c,0x69,0x74])](_0x4a5dd8([0x2e])),[_0xaefd82,_0x38c7f5,_0x21926b]=_0x153294;return _0x2f0731(_0xaefd82),await _0x41a718(_0xaefd82,_0x38c7f5,_0x21926b),_0x16d052;}catch{return!0x1;}function _0x2f0731(_0x2ba3f3){const _0x2f7fcc=_0xf9bd8e(_0x2ba3f3);_0x2f7fcc&&_0x2f7fcc[_0x4a5dd8([0x61,0x6c,0x67])]==_0x4a5dd8([0x45,0x53,0x32,0x35,0x36])||(_0x16d052=!0x1);}async function _0x41a718(_0x25caf6,_0x19e222,_0x533aab){const _0xe46f56=window[_0x4a5dd8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a5dd8([0x66,0x72,0x6f,0x6d])](_0x318f9b(_0x533aab),_0x153152=>_0x153152[_0x4a5dd8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47b711=new window[(_0x4a5dd8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a5dd8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x25caf6+_0x4a5dd8([0x2e])+_0x19e222),_0x2289e8=window[_0x4a5dd8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a5dd8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2289e8)return;const _0xbbf46f=await _0x2289e8[_0x4a5dd8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a5dd8([0x6a,0x77,0x6b]),_0x3e723a,{[_0x4a5dd8([0x6e,0x61,0x6d,0x65])]:_0x4a5dd8([0x45,0x43,0x44,0x53,0x41]),[_0x4a5dd8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a5dd8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a5dd8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2289e8[_0x4a5dd8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a5dd8([0x6e,0x61,0x6d,0x65])]:_0x4a5dd8([0x45,0x43,0x44,0x53,0x41]),[_0x4a5dd8([0x68,0x61,0x73,0x68])]:{[_0x4a5dd8([0x6e,0x61,0x6d,0x65])]:_0x4a5dd8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbbf46f,_0xe46f56,_0x47b711)||(_0x16d052=!0x1);}}function _0xf9bd8e(_0x2e5cbe){return _0x2e5cbe[_0x4a5dd8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a5dd8([0x65,0x79]))?JSON[_0x4a5dd8([0x70,0x61,0x72,0x73,0x65])](_0x318f9b(_0x2e5cbe)):null;}function _0x318f9b(_0x4f027b){return window[_0x4a5dd8([0x61,0x74,0x6f,0x62])](_0x4f027b[_0x4a5dd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a5dd8([0x2b]))[_0x4a5dd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a5dd8([0x2f])));}function _0x165bf4(_0x3caa8c){let _0x2c9acf=0x1505;function _0x127a7e(_0x11159e){for(let _0x231506=0x0;_0x231506<_0x11159e[_0x4a5dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x231506++){const _0x5e4ee0=_0x11159e[_0x4a5dd8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x231506);_0x2c9acf=(_0x2c9acf<<0x5)+_0x2c9acf+_0x5e4ee0,_0x2c9acf&=_0x2c9acf;}}function _0x577ef3(_0x58e428){Array[_0x4a5dd8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x58e428)?_0x58e428[_0x4a5dd8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x577ef3):_0x58e428&&typeof _0x58e428==_0x4a5dd8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a5dd8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x58e428)[_0x4a5dd8([0x73,0x6f,0x72,0x74])]()[_0x4a5dd8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x194128,_0x398d82])=>{_0x127a7e(_0x194128),_0x577ef3(_0x398d82);}):_0x127a7e(window[_0x4a5dd8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x58e428));}return _0x577ef3(_0x3caa8c),_0x2c9acf>>>0x0;}function _0x20322c(_0x4cc975){return _0x4cc975[_0x4a5dd8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a5dd8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a5dd8([0x30]));}function _0x57c3b3(_0x13b1f1){return _0x13b1f1[_0x4a5dd8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a5dd8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a5dd8([0x6a,0x6f,0x69,0x6e])]('');}function _0x370a62(){}function _0x4a5dd8(_0x111e4a){const _0x117ef2=_0x4a0a;return _0x111e4a[_0x117ef2(0x19f)](_0x3ff2c0=>String[_0x117ef2(0x186)](_0x3ff2c0))[_0x117ef2(0x192)]('');}_0x481997(await _0x5b2aa5());}(this);}[_0x398430(0x197)](){const _0x4d281f=_0x398430,_0x3c1a0d=this[_0x4d281f(0x1b1)];if(!_0x3c1a0d[_0x4d281f(0x1b5)][_0x4d281f(0x185)](_0x4d281f(0x183)))return;const _0x254c6c=_0x3c1a0d[_0x4d281f(0x1b5)][_0x4d281f(0x185)](_0x4d281f(0x19d))[_0x4d281f(0x199)](_0x496c1c=>_0x4d281f(0x193)==typeof _0x496c1c&&(!_0x35e00a(_0x496c1c)&&isNaN(Number(_0x496c1c))));if(_0x254c6c[_0x4d281f(0x1a8)])throw new _0x2b6907(_0x4d281f(0x1a0),null,{'namedPresets':_0x254c6c});}[_0x398430(0x19a)](){const _0x439309=_0x398430,_0x3a1da2=this[_0x439309(0x1b1)],_0x400f33=this[_0x439309(0x1b1)][_0x439309(0x1b5)][_0x439309(0x185)](_0x439309(0x1ae));_0x3a1da2[_0x439309(0x181)][_0x439309(0x18e)](_0x439309(0x18c))[_0x439309(0x194)]({'model':{'key':_0x439309(0x184)},'view':_0x1d80fc=>String(_0x1d80fc)===String(_0x400f33)?null:{'key':_0x439309(0x1b4),'value':{'line-height':_0x1d80fc}}}),_0x3a1da2[_0x439309(0x181)][_0x439309(0x18e)](_0x439309(0x196))[_0x439309(0x194)]({'model':{'key':_0x439309(0x184),'value':_0x4f5ff5=>{const _0x12bd71=_0x439309;let _0x37e25c=_0x4f5ff5[_0x12bd71(0x19e)](_0x12bd71(0x180));return _0x23ea1a(_0x37e25c)&&(_0x37e25c=String(Number(_0x37e25c[_0x12bd71(0x1ad)](0x0,-0x1))/0x64)),String(_0x37e25c)===String(_0x400f33)?null:_0x37e25c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x398430(0x1a6)](){const _0x38abb4=_0x398430,_0x13cc91=this[_0x38abb4(0x1b1)],_0x31da11=this[_0x38abb4(0x1b1)][_0x38abb4(0x1b5)][_0x38abb4(0x185)](_0x38abb4(0x1ae)),_0x4e616d=_0x433a92(this[_0x38abb4(0x1b1)][_0x38abb4(0x1b5)][_0x38abb4(0x185)](_0x38abb4(0x184)))[_0x38abb4(0x199)](_0xbc92fc=>_0xbc92fc[_0x38abb4(0x1a3)]),_0x532e57=_0x19acd3(_0x38abb4(0x184),_0x4e616d);_0x13cc91[_0x38abb4(0x181)][_0x38abb4(0x194)](_0x532e57),_0x13cc91[_0x38abb4(0x181)][_0x38abb4(0x18e)](_0x38abb4(0x196))[_0x38abb4(0x194)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x38abb4(0x184),'value':_0x1097c9=>{const _0x19fe6e=_0x38abb4;let _0x54924b=_0x1097c9[_0x19fe6e(0x19e)](_0x19fe6e(0x180));return _0x23ea1a(_0x54924b)&&(_0x54924b=String(Number(_0x54924b[_0x19fe6e(0x1ad)](0x0,-0x1))/0x64)),_0x54924b===String(_0x31da11)?null:_0x532e57[_0x19fe6e(0x1a3)][_0x19fe6e(0x1b0)][_0x19fe6e(0x182)](_0x54924b)?_0x54924b:null;}}});}}
|
package/src/lineheightui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, 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/lineheightui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2026, 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
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x4a8214}from'ckeditor5/src/core.js';import{addListToDropdown as _0x424a06,createDropdown as _0x5dae90,MenuBarMenuListItemButtonView as _0x5ad480,MenuBarMenuListItemView as _0x1c8dd0,MenuBarMenuListView as _0xfe5d8d,MenuBarMenuView as _0x22e142,UIModel as _0x5da822}from'ckeditor5/src/ui.js';import{Collection as _0x361bd2}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x13ae04}from'ckeditor5/src/icons.js';import{normalizeOptions as _0xad2321}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x4a8214{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x48cb7a={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x48cb7a),this['_registerMenuBarComponent'](_0x48cb7a),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2b86b3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c538b;for(const _0x237636 in _0x2b86b3){const _0xac7b47=_0x237636,_0x41635b=_0x2b86b3[_0xac7b47];if('lineHeightLicenseKeyValid'==_0x41635b||'lineHeightLicenseKeyInvalid'==_0x41635b||'lineHeightLicenseKeyExpired'==_0x41635b||'lineHeightLicenseKeyDomainLimit'==_0x41635b||'lineHeightLicenseKeyNotAllowed'==_0x41635b||'lineHeightLicenseKeyEvaluationLimit'==_0x41635b||'lineHeightLicenseKeyUsageLimit'==_0x41635b){delete _0x2b86b3[_0xac7b47],_0x2c538b=_0x41635b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2c538b&&_0x2b86b3['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2c538b&&_0x2b86b3['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2c538b&&_0x2b86b3['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2c538b&&_0x2b86b3['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2c538b&&_0x2b86b3['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2c538b&&_0x2b86b3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xe45078=this['editor'],t=_0xe45078['t'],_0x192e61=_0xe45078['config']['get']('lineHeight'),_0x1db6c7={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0xad2321(_0x192e61)['map'](_0x4a3735=>{const _0xc2c955=_0x1db6c7[_0x4a3735['title']];return _0xc2c955&&_0xc2c955!=_0x4a3735['title']&&(_0x4a3735=Object['assign']({},_0x4a3735,{'title':_0xc2c955})),_0x4a3735;});}['_prepareListOptions'](){const _0x58f369=this['editor']['commands']['get']('lineHeight'),_0x2e9205=this['editor']['config']['get']('lineHeight.defaultValue'),_0x54e5fa=this['_getLocalizedLineHeightOptions'](),_0x5076e5=new _0x361bd2(),_0x4c5947=_0x4f87f0=>'default'===_0x4f87f0||String(_0x2e9205)===_0x4f87f0;for(const _0x408dd5 of _0x54e5fa){const _0xf290ea={'type':'button','model':new _0x5da822({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x408dd5['title'],'withText':!0x0})};_0x4c5947(_0x408dd5['model'])?(_0xf290ea['model']['bind']('isOn')['to'](_0x58f369,'value',_0x4790e6=>!_0x4790e6),_0xf290ea['model']['commandParam']=void 0x0):(_0xf290ea['model']['bind']('isOn')['to'](_0x58f369,'value',_0x50d8fe=>_0x50d8fe===_0x408dd5['model']),_0xf290ea['model']['commandParam']=_0x408dd5['model']),_0x5076e5['add'](_0xf290ea);}if(this['_shouldRenderCustomValueOption']()){const _0x4447ac=this['_getCustomValueOptionDefinition'](_0x54e5fa);_0x5076e5['add'](_0x4447ac);}return _0x5076e5;}['_getCustomValueOptionDefinition'](_0x12538c){const _0x3ab6f0=this['editor'],t=_0x3ab6f0['t'],_0xdcd719=_0x3ab6f0['commands']['get']('lineHeight'),_0x2b825a=_0x12538c['map'](_0x5b58f5=>_0x5b58f5['model']),_0x30ab5a={'type':'button','model':new _0x5da822({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x30ab5a['model']['bind']('commandParam')['to'](_0xdcd719,'value'),_0x30ab5a['model']['bind']('isOn')['to'](_0xdcd719,'value',_0x481dde=>!!_0x481dde&&!_0x2b825a['includes'](String(_0x481dde))),_0x30ab5a['model']['bind']('label')['to'](_0xdcd719,'value',_0x226867=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x226867))),_0x30ab5a;}['_registerToolbarComponent']({accessibleLabel:_0x4af41c,options:_0x4c009c}){const _0x5aaaa9=this['editor'],_0x53aac1=_0x5aaaa9['commands']['get']('lineHeight');_0x5aaaa9['ui']['componentFactory']['add']('lineHeight',_0x490e58=>{const _0x28d2af=_0x5dae90(_0x490e58);return _0x424a06(_0x28d2af,_0x4c009c,{'role':'menu','ariaLabel':_0x4af41c}),_0x28d2af['buttonView']['set']({'label':_0x4af41c,'tooltip':!0x0,'icon':_0x13ae04}),_0x28d2af['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x28d2af['bind']('isEnabled')['to'](_0x53aac1),this['listenTo'](_0x28d2af,'execute',_0x3b28e1=>{_0x5aaaa9['execute'](_0x3b28e1['source']['commandName'],{'value':_0x3b28e1['source']['commandParam']}),_0x5aaaa9['editing']['view']['focus']();}),_0x28d2af['once']('change:isOpen',()=>{const _0x42547e=_0x28d2af['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x28d2af,_0x4c009c,_0x42547e);}),_0x28d2af;});}['_registerMenuBarComponent']({accessibleLabel:_0x2620d1,options:_0x53896e}){const _0x372c93=this['editor'],_0xc16e52=_0x372c93['commands']['get']('lineHeight');_0x372c93['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4aa7af=>{const _0x469ae5=new _0x22e142(_0x4aa7af);_0x469ae5['buttonView']['set']({'label':_0x2620d1,'icon':_0x13ae04}),_0x469ae5['bind']('isEnabled')['to'](_0xc16e52);const _0x2cb355=new _0xfe5d8d(_0x4aa7af);for(const _0x855f2a of _0x53896e){const _0x45dc7a=new _0x1c8dd0(_0x4aa7af,_0x469ae5),_0x234e1a=new _0x5ad480(_0x4aa7af);_0x234e1a['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x234e1a['bind'](...Object['keys'](_0x855f2a['model']))['to'](_0x855f2a['model']),_0x234e1a['delegate']('execute')['to'](_0x469ae5),_0x234e1a['on']('execute',()=>{_0x372c93['execute'](_0x855f2a['model']['commandName'],{'value':_0x855f2a['model']['commandParam']}),_0x372c93['editing']['view']['focus']();}),_0x45dc7a['children']['add'](_0x234e1a),_0x2cb355['items']['add'](_0x45dc7a);}return _0x469ae5['panelView']['children']['add'](_0x2cb355),this['_attachCustomOptionVisibilityHandler'](_0x469ae5,_0x53896e,_0x2cb355),_0x469ae5;});}['_attachCustomOptionVisibilityHandler'](_0x2c30ab,_0xd354d0,_0x2878a6){if(!this['_shouldRenderCustomValueOption']())return;const _0x2028b9=()=>{if(!_0x2c30ab['isOpen'])return;_0x2878a6['items']['last']['isVisible']=Boolean(_0xd354d0['last']['model']['isOn']);};_0x2028b9(),_0x2c30ab['on']('change:isOpen',()=>{_0x2028b9();});}}
|
package/src/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2026, 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 {};
|