@ckeditor/ckeditor5-line-height 47.2.0 → 47.3.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 +3 -3
- package/build/line-height.js +1 -1
- package/dist/index-content.css +20 -0
- package/dist/index-editor.css +7 -0
- package/dist/index.css +40 -0
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -7
- package/src/augmentation.d.ts +2 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -1
- package/src/integrations/todolist.d.ts +31 -0
- package/src/integrations/todolist.js +23 -0
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.d.ts +5 -0
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
- package/theme/integrations/todolist.css +46 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d6c90=>{const {'zh-cn':{dictionary:_0x4968ae,getPluralForm:_0x1e715d}}={'zh-cn':{'dictionary':{'Line\x20height':'行距','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'自定义:%0','LINE_HEIGHT_SINGLE_OPTION_LABEL':'单倍行距','LINE_HEIGHT_DOUBLE_OPTION_LABEL':'双倍行距'},'getPluralForm':_0x48da69=>0x0}};_0x3d6c90['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x3d6c90['zh-cn']['dictionary']=Object['assign'](_0x3d6c90['zh-cn']['dictionary'],_0x4968ae),_0x3d6c90['zh-cn']['getPluralForm']=_0x1e715d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Line\x20height':'行高','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'自訂:%0','LINE_HEIGHT_SINGLE_OPTION_LABEL':'單行','LINE_HEIGHT_DOUBLE_OPTION_LABEL':'雙行'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Line\x20height':'行高','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'自訂:%0','LINE_HEIGHT_SINGLE_OPTION_LABEL':'單行','LINE_HEIGHT_DOUBLE_OPTION_LABEL':'雙行'},'getPluralForm':_0x6893d8=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d4d79=>{const {zh:{dictionary:_0x2dfe40,getPluralForm:_0x2361dc}}={'zh':{'dictionary':{'Line\x20height':'行高','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'自訂:%0','LINE_HEIGHT_SINGLE_OPTION_LABEL':'單行','LINE_HEIGHT_DOUBLE_OPTION_LABEL':'雙行'},'getPluralForm':_0x49991f=>0x0}};_0x3d4d79['zh']||={'dictionary':{},'getPluralForm':null},_0x3d4d79['zh']['dictionary']=Object['assign'](_0x3d4d79['zh']['dictionary'],_0x2dfe40),_0x3d4d79['zh']['getPluralForm']=_0x2361dc;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "47.
|
|
3
|
+
"version": "47.3.0-alpha.1",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +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
|
-
"ckeditor5": "47.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.3.0-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.3.0-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "47.3.0-alpha.1",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.1",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.1",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "47.3.0-alpha.1",
|
|
22
|
+
"ckeditor5": "47.3.0-alpha.1"
|
|
22
23
|
},
|
|
23
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
24
25
|
"author": "CKSource (https://cksource.com/)",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
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
|
-
import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig } from './index.js';
|
|
5
|
+
import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig, LineHeightTodoListIntegration } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface PluginsMap {
|
|
8
8
|
[LineHeight.pluginName]: LineHeight;
|
|
9
9
|
[LineHeightEditing.pluginName]: LineHeightEditing;
|
|
10
10
|
[LineHeightUI.pluginName]: LineHeightUI;
|
|
11
|
+
[LineHeightTodoListIntegration.pluginName]: LineHeightTodoListIntegration;
|
|
11
12
|
}
|
|
12
13
|
interface EditorConfig {
|
|
13
14
|
/**
|
package/src/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
export { LineHeight } from './lineheight.js';
|
|
9
9
|
export { LineHeightEditing } from './lineheightediting.js';
|
|
10
10
|
export { LineHeightUI } from './lineheightui.js';
|
|
11
|
+
export { LineHeightTodoListIntegration } from './integrations/todolist.js';
|
|
11
12
|
export { LineHeightCommand } from './lineheightcommand.js';
|
|
12
13
|
export type { LineHeightConfig, LineHeightOption } from './lineheightconfig.js';
|
|
13
14
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3d15(_0x51227c,_0x41091a){var _0x539b51=_0x539b();return _0x3d15=function(_0x3d159e,_0x20b931){_0x3d159e=_0x3d159e-0x12d;var _0x13e299=_0x539b51[_0x3d159e];return _0x13e299;},_0x3d15(_0x51227c,_0x41091a);}(function(_0x1e2263,_0xc08027){var _0x47d6fa=_0x3d15,_0x30c6d6=_0x1e2263();while(!![]){try{var _0x379e0b=-parseInt(_0x47d6fa(0x12e))/0x1+parseInt(_0x47d6fa(0x12d))/0x2*(-parseInt(_0x47d6fa(0x12f))/0x3)+-parseInt(_0x47d6fa(0x131))/0x4+parseInt(_0x47d6fa(0x134))/0x5+parseInt(_0x47d6fa(0x130))/0x6+-parseInt(_0x47d6fa(0x132))/0x7+-parseInt(_0x47d6fa(0x133))/0x8*(-parseInt(_0x47d6fa(0x135))/0x9);if(_0x379e0b===_0xc08027)break;else _0x30c6d6['push'](_0x30c6d6['shift']());}catch(_0x520b4e){_0x30c6d6['push'](_0x30c6d6['shift']());}}}(_0x539b,0xb4048));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';function _0x539b(){var _0x40a119=['9ivVhgU','79374zcUMtm','834365CqCsXm','3ESZRMe','3999972mIBkpJ','3670368uGgENM','8581846IXbfbr','13207192AEHYmk','7187065Psqmrg'];_0x539b=function(){return _0x40a119;};return _0x539b();}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module line-height/integrations/todolist
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import '../../theme/integrations/todolist.css';
|
|
11
|
+
/**
|
|
12
|
+
* The to-do list line height support plugin.
|
|
13
|
+
*/
|
|
14
|
+
export declare class LineHeightTodoListIntegration extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get pluginName(): "LineHeightTodoListIntegration";
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get isOfficialPlugin(): true;
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isPremiumPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
init(): void;
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x3ac0d6=_0x299c;function _0x299c(_0x433ba5,_0x1be7bd){const _0x313975=_0x3139();return _0x299c=function(_0x299c6b,_0x4932b6){_0x299c6b=_0x299c6b-0x80;let _0x19585c=_0x313975[_0x299c6b];return _0x19585c;},_0x299c(_0x433ba5,_0x1be7bd);}(function(_0x4a776e,_0x567a5b){const _0x4f4d87=_0x299c,_0x528f11=_0x4a776e();while(!![]){try{const _0x2ea30e=parseInt(_0x4f4d87(0x84))/0x1+parseInt(_0x4f4d87(0x95))/0x2+parseInt(_0x4f4d87(0x80))/0x3+parseInt(_0x4f4d87(0x92))/0x4+-parseInt(_0x4f4d87(0xa2))/0x5*(parseInt(_0x4f4d87(0x99))/0x6)+-parseInt(_0x4f4d87(0xa7))/0x7+parseInt(_0x4f4d87(0x87))/0x8;if(_0x2ea30e===_0x567a5b)break;else _0x528f11['push'](_0x528f11['shift']());}catch(_0x4a94f7){_0x528f11['push'](_0x528f11['shift']());}}}(_0x3139,0xb337f));import{Plugin as _0x1a2741}from'ckeditor5/src/core.js';import{Matcher as _0x5b64a1}from'ckeditor5/src/engine.js';function _0x3139(){const _0x285f3a=['element:li','4173560atfiEE','viewItem','item','upcast','ListEditing','span','init','--ck-content-list-marker-line-height','registerDowncastStrategy','getAttribute','elementToElement','3691652kkDrIw','consume','high','1573490PrNTqt','lineHeight','todo','for','6KebYkh','has','add','ck-list-marker-line-height','isPremiumPlugin','pluginName','isOfficialPlugin','editor','match','4643245ZGvMel','listType','TodoListEditing','setStyle','consumable','8205757jqptMO','todo-list__label__description','get','797568XnwbrA','paragraph','name','LineHeightTodoListIntegration','337770davBhY','addClass'];_0x3139=function(){return _0x285f3a;};return _0x3139();}import'../../theme/integrations/todolist.css';export class LineHeightTodoListIntegration extends _0x1a2741{static get[_0x3ac0d6(0x9e)](){const _0x3b59ab=_0x3ac0d6;return _0x3b59ab(0x83);}static get[_0x3ac0d6(0x9f)](){return!0x0;}static get[_0x3ac0d6(0x9d)](){return!0x0;}[_0x3ac0d6(0x8d)](){const _0x14abc6=_0x3ac0d6,{plugins:_0x262691,conversion:_0x5552f2}=this[_0x14abc6(0xa0)];if(!_0x262691[_0x14abc6(0x9a)](_0x14abc6(0x8b))||!_0x262691[_0x14abc6(0x9a)](_0x14abc6(0xa4)))return;_0x262691[_0x14abc6(0xa9)](_0x14abc6(0x8b))[_0x14abc6(0x8f)]({'scope':_0x14abc6(0x89),'attributeName':_0x14abc6(0x96),'consume':!0x1,'setAttributeOnDowncast'(_0x479de7,_0x2d6868,_0x5435f0,_0x379e9c,_0xbee91){const _0xefb6b4=_0x14abc6;_0xefb6b4(0x97)==_0xbee91[_0xefb6b4(0x90)](_0xefb6b4(0xa3))&&_0x2d6868&&(_0x479de7[_0xefb6b4(0x85)](_0xefb6b4(0x9c),_0x5435f0),_0x479de7[_0xefb6b4(0xa5)](_0xefb6b4(0x8e),_0x2d6868,_0x5435f0));}}),_0x5552f2[_0x14abc6(0x98)](_0x14abc6(0x8a))[_0x14abc6(0x91)]({'view':{'name':_0x14abc6(0x8c),'classes':_0x14abc6(0xa8)},'model':_0x14abc6(0x81),'converterPriority':_0x14abc6(0x94)}),_0x5552f2[_0x14abc6(0x98)](_0x14abc6(0x8a))[_0x14abc6(0x9b)](_0x1c1cf7=>{const _0x4274f2=_0x14abc6;_0x1c1cf7['on'](_0x4274f2(0x86),function(_0x1c7206){const _0x1cafed=new _0x5b64a1(_0x1c7206);return(_0x30a2fc,_0x3a49d4,_0x165eaf)=>{const _0x461fe4=_0x299c,_0x27b61e=_0x1cafed[_0x461fe4(0xa1)](_0x3a49d4[_0x461fe4(0x88)]);if(!_0x27b61e)return;const _0xf75672=_0x27b61e[_0x461fe4(0xa1)];_0xf75672[_0x461fe4(0x82)]=!0x1,_0x165eaf[_0x461fe4(0xa6)][_0x461fe4(0x93)](_0x3a49d4[_0x461fe4(0x88)],_0xf75672);};}({'name':'li','classes':_0x4274f2(0x9c),'styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}
|
package/src/lineheight.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x163b1e=_0x43d3;(function(_0x243b17,_0x55cd28){var _0x2498f2=_0x43d3,_0x181b6d=_0x243b17();while(!![]){try{var _0x4c147e=parseInt(_0x2498f2(0xc3))/0x1*(-parseInt(_0x2498f2(0xc1))/0x2)+parseInt(_0x2498f2(0xca))/0x3+-parseInt(_0x2498f2(0xc0))/0x4+-parseInt(_0x2498f2(0xbd))/0x5*(parseInt(_0x2498f2(0xc9))/0x6)+-parseInt(_0x2498f2(0xc8))/0x7*(-parseInt(_0x2498f2(0xbe))/0x8)+parseInt(_0x2498f2(0xc7))/0x9*(-parseInt(_0x2498f2(0xbf))/0xa)+parseInt(_0x2498f2(0xc4))/0xb;if(_0x4c147e===_0x55cd28)break;else _0x181b6d['push'](_0x181b6d['shift']());}catch(_0x4e51a3){_0x181b6d['push'](_0x181b6d['shift']());}}}(_0x8498,0x9635f));import{Plugin as _0x15e6ed}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x4b898d}from'./lineheightediting.js';import{LineHeightUI as _0x3fb458}from'./lineheightui.js';function _0x8498(){var _0x11008c=['isOfficialPlugin','LineHeight','9WHheMf','7483lPlhoa','57636KFjErJ','746958JGNwRv','requires','pluginName','625ZfMuZQ','5528PjRGbd','10446040smoXnP','2988880aZwgFY','2257790TwZlIq','isPremiumPlugin','1qBKWMo','41239737RPHdTd'];_0x8498=function(){return _0x11008c;};return _0x8498();}function _0x43d3(_0xa10925,_0x97f55e){var _0x849866=_0x8498();return _0x43d3=function(_0x43d39a,_0x53f5dc){_0x43d39a=_0x43d39a-0xbd;var _0x27fb46=_0x849866[_0x43d39a];return _0x27fb46;},_0x43d3(_0xa10925,_0x97f55e);}export class LineHeight extends _0x15e6ed{static get[_0x163b1e(0xcb)](){return[_0x4b898d,_0x3fb458];}static get[_0x163b1e(0xcc)](){var _0x35a855=_0x163b1e;return _0x35a855(0xc6);}static get[_0x163b1e(0xc5)](){return!0x0;}static get[_0x163b1e(0xc2)](){return!0x0;}}
|
package/src/lineheightcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42789d=_0x52b1;(function(_0x47e895,_0x3468d1){const _0x4c2149=_0x52b1,_0x1f2bf7=_0x47e895();while(!![]){try{const _0x4ec8ce=-parseInt(_0x4c2149(0x13f))/0x1+-parseInt(_0x4c2149(0x13e))/0x2+-parseInt(_0x4c2149(0x132))/0x3+parseInt(_0x4c2149(0x135))/0x4*(-parseInt(_0x4c2149(0x133))/0x5)+-parseInt(_0x4c2149(0x144))/0x6*(parseInt(_0x4c2149(0x13d))/0x7)+-parseInt(_0x4c2149(0x14a))/0x8*(parseInt(_0x4c2149(0x13a))/0x9)+parseInt(_0x4c2149(0x14c))/0xa;if(_0x4ec8ce===_0x3468d1)break;else _0x1f2bf7['push'](_0x1f2bf7['shift']());}catch(_0x26fd8a){_0x1f2bf7['push'](_0x1f2bf7['shift']());}}}(_0x126e,0x30f27));import{Command as _0x929866}from'ckeditor5/src/core.js';function _0x126e(){const _0xea41ed=['refresh','change','from','selection','1682037pfszks','checkAttribute','lineHeight','44653nbPObo','769522jpmoDW','135167emhVoi','filter','setAttribute','getSelectedBlocks','value','42ygDNZc','removeAttribute','getAttribute','_canHaveLineHeight','isEnabled','editor','8hoqshv','execute','13815560RFNPDS','model','document','142539gsGHci','730dWqNBe','schema','10468ehYAkm'];_0x126e=function(){return _0xea41ed;};return _0x126e();}import{first as _0x401f26}from'ckeditor5/src/utils.js';function _0x52b1(_0x33fc50,_0xbfc97b){const _0x126e3e=_0x126e();return _0x52b1=function(_0x52b11e,_0x42c768){_0x52b11e=_0x52b11e-0x130;let _0x2e68de=_0x126e3e[_0x52b11e];return _0x2e68de;},_0x52b1(_0x33fc50,_0xbfc97b);}export class LineHeightCommand extends _0x929866{[_0x42789d(0x136)](){const _0x2ccb22=_0x42789d,_0x204c4b=this[_0x2ccb22(0x149)][_0x2ccb22(0x130)][_0x2ccb22(0x131)],_0xbaca52=_0x401f26(_0x204c4b[_0x2ccb22(0x139)][_0x2ccb22(0x142)]());this[_0x2ccb22(0x148)]=Boolean(_0xbaca52)&&this[_0x2ccb22(0x147)](_0xbaca52),this[_0x2ccb22(0x143)]=this[_0x2ccb22(0x148)]&&_0xbaca52[_0x2ccb22(0x146)](_0x2ccb22(0x13c));}[_0x42789d(0x14b)](_0x46a77d={}){const _0x25ed39=_0x42789d,_0x3f359c=this[_0x25ed39(0x149)][_0x25ed39(0x130)],_0x5683f8=_0x3f359c[_0x25ed39(0x131)][_0x25ed39(0x139)],_0x390f5f=_0x46a77d[_0x25ed39(0x143)];_0x3f359c[_0x25ed39(0x137)](_0x4e8952=>{const _0x328ad8=_0x25ed39,_0x262af1=Array[_0x328ad8(0x138)](_0x5683f8[_0x328ad8(0x142)]())[_0x328ad8(0x140)](_0x35ca09=>this[_0x328ad8(0x147)](_0x35ca09));for(const _0xa7c7af of _0x262af1)_0x390f5f?_0x4e8952[_0x328ad8(0x141)](_0x328ad8(0x13c),_0x390f5f,_0xa7c7af):_0x4e8952[_0x328ad8(0x145)](_0x328ad8(0x13c),_0xa7c7af);});}[_0x42789d(0x147)](_0x2c0741){const _0x54b519=_0x42789d;return this[_0x54b519(0x149)][_0x54b519(0x130)][_0x54b519(0x134)][_0x54b519(0x13b)](_0x2c0741,_0x54b519(0x13c));}}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* @module line-height/lineheightediting
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { LineHeightTodoListIntegration } from './integrations/todolist.js';
|
|
9
10
|
/**
|
|
10
11
|
* The line height editing feature.
|
|
11
12
|
*
|
|
@@ -18,6 +19,10 @@ export declare class LineHeightEditing extends Plugin {
|
|
|
18
19
|
* @inheritDoc
|
|
19
20
|
*/
|
|
20
21
|
static get pluginName(): "LineHeightEditing";
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get requires(): readonly [typeof LineHeightTodoListIntegration];
|
|
21
26
|
/**
|
|
22
27
|
* @inheritDoc
|
|
23
28
|
*/
|
package/src/lineheightediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4c1500=_0x288a;(function(_0x515e3a,_0x4abb2a){const _0x2abe31=_0x288a,_0xf4e6bb=_0x515e3a();while(!![]){try{const _0x2b000d=parseInt(_0x2abe31(0xba))/0x1*(parseInt(_0x2abe31(0xac))/0x2)+parseInt(_0x2abe31(0x9e))/0x3+parseInt(_0x2abe31(0x95))/0x4+-parseInt(_0x2abe31(0xb8))/0x5+-parseInt(_0x2abe31(0x91))/0x6+-parseInt(_0x2abe31(0xae))/0x7+-parseInt(_0x2abe31(0x98))/0x8;if(_0x2b000d===_0x4abb2a)break;else _0xf4e6bb['push'](_0xf4e6bb['shift']());}catch(_0x21e9e0){_0xf4e6bb['push'](_0xf4e6bb['shift']());}}}(_0x3177,0x1fbfc));import{Plugin as _0x52f1e8}from'ckeditor5/src/core.js';function _0x288a(_0x3c9a2a,_0x2fe00e){const _0x31772f=_0x3177();return _0x288a=function(_0x288ac0,_0x511973){_0x288ac0=_0x288ac0-0x8f;let _0x57b3a8=_0x31772f[_0x288ac0];return _0x57b3a8;},_0x288a(_0x3c9a2a,_0x2fe00e);}import{LineHeightCommand as _0x4f1489}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x34e27f}from'ckeditor5/src/engine.js';import{uid as _0x19f84c,CKEditorError as _0x30849a}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5ef9a3,isLineHeightDefaultValue as _0x1473de,normalizeOptions as _0x3fc7e6}from'./utils.js';export class LineHeightEditing extends _0x52f1e8{static get[_0x4c1500(0xc1)](){const _0x464dca=_0x4c1500;return _0x464dca(0xbb);}static get[_0x4c1500(0x92)](){return!0x0;}static get[_0x4c1500(0xab)](){return!0x0;}constructor(_0xe2cd02){const _0x361f6e=_0x4c1500;super(_0xe2cd02),_0xe2cd02[_0x361f6e(0xb4)][_0x361f6e(0xc0)](_0x361f6e(0xa3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x361f6e(0xb9),0x2,2.5,0x3]});}[_0x4c1500(0xa1)](){const _0x1f8c66=_0x4c1500,_0x5926a3=this[_0x1f8c66(0xc2)];this[_0x1f8c66(0x96)](),_0x5926a3[_0x1f8c66(0xbf)][_0x1f8c66(0xaf)][_0x1f8c66(0x9d)](_0x1f8c66(0xad),{'allowAttributes':_0x1f8c66(0xa3)}),_0x5926a3[_0x1f8c66(0xbf)][_0x1f8c66(0xaf)][_0x1f8c66(0x9b)](_0x1f8c66(0xa3),{'isFormatting':!0x0}),_0x5926a3[_0x1f8c66(0x8f)][_0x1f8c66(0xa8)](_0x1f8c66(0xa3),new _0x4f1489(_0x5926a3)),this[_0x1f8c66(0xc2)][_0x1f8c66(0xb4)][_0x1f8c66(0xa7)](_0x1f8c66(0x9a))?this[_0x1f8c66(0x99)]():this[_0x1f8c66(0x93)]();}[_0x4c1500(0xaa)](){!async function(_0x42269b){const _0x498b9d=_0x3555a4([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]),_0x29d291=0x45ddd215,_0x22ad17=0x45daaa2d^_0x29d291,_0x459866=window[_0x3555a4([0x44,0x61,0x74,0x65])][_0x3555a4([0x6e,0x6f,0x77])](),_0x3386c1=_0x42269b[_0x3555a4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2046d9=new window[(_0x3555a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc00f01=>{_0x3386c1[_0x3555a4([0x6f,0x6e,0x63,0x65])](_0x3555a4([0x72,0x65,0x61,0x64,0x79]),_0xc00f01);}),_0x1a8b00={[_0x3555a4([0x6b,0x74,0x79])]:_0x3555a4([0x45,0x43]),[_0x3555a4([0x75,0x73,0x65])]:_0x3555a4([0x73,0x69,0x67]),[_0x3555a4([0x63,0x72,0x76])]:_0x3555a4([0x50,0x2d,0x32,0x35,0x36]),[_0x3555a4([0x78])]:_0x3555a4([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]),[_0x3555a4([0x79])]:_0x3555a4([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]),[_0x3555a4([0x61,0x6c,0x67])]:_0x3555a4([0x45,0x53,0x32,0x35,0x36])},_0x1c7d82=_0x3386c1[_0x3555a4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3555a4([0x67,0x65,0x74])](_0x3555a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5816ae(){let _0x2a626a,_0x2a5fcc=null,_0x18e11a=null;try{if(_0x1c7d82==_0x3555a4([0x47,0x50,0x4c]))return _0x3555a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a626a=_0x57559f(),!_0x2a626a)return _0x3555a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a626a[_0x3555a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18e11a=_0x133def(_0x2a626a[_0x3555a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a626a[_0x3555a4([0x6a,0x74,0x69])])),await _0x48830c()?_0x15d6d8()?_0x4bf73c()?_0x3555a4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x153908()?(_0x2a626a[_0x3555a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3555a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a5fcc=_0x549aa4(_0x3555a4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a626a[_0x3555a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3555a4([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a5fcc=_0x549aa4(_0x3555a4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x44da9b()):_0x3555a4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3555a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3555a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3555a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4bf73c(){const _0x2c6584=[_0x3555a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3555a4([0x74,0x72,0x69,0x61,0x6c])][_0x3555a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a626a[_0x3555a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x459866/0x3e8:0xe10*_0x22ad17;return _0x2a626a[_0x3555a4([0x65,0x78,0x70])]<_0x2c6584;}function _0x15d6d8(){const _0x41674e=_0x2a626a[_0x3555a4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41674e&&(!!_0x41674e[_0x3555a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3555a4([0x2a]))||!!_0x41674e[_0x3555a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3555a4([0x4c,0x48])));}function _0x153908(){const _0x282805=_0x288a,_0x113c4a=_0x2a626a[_0x3555a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x113c4a||0x0==_0x113c4a[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x180461}=new URL(window[_0x3555a4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x282805(0x94)]);if(_0x113c4a[_0x3555a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x180461))return!0x0;const _0x2aed91=_0x180461[_0x3555a4([0x73,0x70,0x6c,0x69,0x74])](_0x3555a4([0x2e]));return _0x113c4a[_0x3555a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51a69b=>_0x51a69b[_0x3555a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3555a4([0x2a])))[_0x3555a4([0x6d,0x61,0x70])](_0x399cc9=>_0x399cc9[_0x3555a4([0x73,0x70,0x6c,0x69,0x74])](_0x3555a4([0x2e])))[_0x3555a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x378507=>_0x378507[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2aed91[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3555a4([0x6d,0x61,0x70])](_0x10050e=>Array(_0x2aed91[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x10050e[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3555a4([0x66,0x69,0x6c,0x6c])](_0x10050e[0x0]===_0x3555a4([0x2a])?_0x3555a4([0x2a]):'')[_0x3555a4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x10050e))[_0x3555a4([0x73,0x6f,0x6d,0x65])](_0x113400=>_0x2aed91[_0x3555a4([0x65,0x76,0x65,0x72,0x79])]((_0x5316f0,_0x413992)=>_0x113400[_0x413992]===_0x5316f0||_0x113400[_0x413992]===_0x3555a4([0x2a])));}function _0x44da9b(){return _0x2a5fcc&&_0x18e11a?new window[(_0x3555a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1af355,_0x13a5a0)=>{_0x2a5fcc[_0x3555a4([0x74,0x68,0x65,0x6e])](_0x1af355,_0x13a5a0),_0x18e11a[_0x3555a4([0x74,0x68,0x65,0x6e])](_0x21250a=>{_0x21250a!=_0x3555a4([0x56,0x61,0x6c,0x69,0x64])&&_0x1af355(_0x21250a);},_0x13a5a0);}):_0x2a5fcc||_0x18e11a||_0x3555a4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x133def(_0x2809cc,_0x296c63){return new window[(_0x3555a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f495d=>{if(_0x170472())return _0x2f495d(_0x3555a4([0x56,0x61,0x6c,0x69,0x64]));_0x3291a2(),_0x3386c1[_0x3555a4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3555a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5da38a=!0x1;const _0x33fb03=_0x19f84c();function _0x56e5eb(_0x4357df){return!!_0x4357df&&(typeof _0x4357df===_0x3555a4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4357df===_0x3555a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4357df[_0x3555a4([0x74,0x68,0x65,0x6e])]===_0x3555a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4357df[_0x3555a4([0x63,0x61,0x74,0x63,0x68])]===_0x3555a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d189a(_0x4fddd4){_0xd84b2d(_0x4fddd4)[_0x3555a4([0x74,0x68,0x65,0x6e])](_0x212b1e=>{if(!_0x212b1e||_0x212b1e[_0x3555a4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3555a4([0x6f,0x6b]))return _0x3555a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2841e5(_0x8e9405(_0x33fb03+_0x296c63))!=_0x212b1e[_0x3555a4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3555a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3555a4([0x56,0x61,0x6c,0x69,0x64]);})[_0x3555a4([0x74,0x68,0x65,0x6e])](_0x13ecb6=>(_0x443518(),_0x13ecb6),()=>{const _0xb0fac0=_0x4f4a72();return null==_0xb0fac0?(_0x443518(),_0x3555a4([0x56,0x61,0x6c,0x69,0x64])):_0x3555a4(_0x459866-_0xb0fac0>(0x61d15615^_0x29d291)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3555a4([0x74,0x68,0x65,0x6e])](_0x2f495d)[_0x3555a4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f495d(_0x3555a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2bd5ae=0x45eb3c95^_0x29d291;function _0x443518(){const _0x2ad9b1=_0x3555a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x2841e5(_0x8e9405(_0x2809cc)),_0x393c64=_0x1fb6b5(_0x2841e5(window[_0x3555a4([0x4d,0x61,0x74,0x68])][_0x3555a4([0x63,0x65,0x69,0x6c])](_0x459866/_0x2bd5ae)));window[_0x3555a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3555a4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ad9b1,_0x393c64);}function _0x4f4a72(){const _0x5b5799=_0x3555a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x2841e5(_0x8e9405(_0x2809cc)),_0x1848bb=window[_0x3555a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3555a4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b5799);return _0x1848bb?window[_0x3555a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fb6b5(_0x1848bb),0x10)*_0x2bd5ae:null;}function _0xd84b2d(_0x5a4b0b){return new window[(_0x3555a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x272886,_0x41ba01)=>{_0x5a4b0b[_0x3555a4([0x74,0x68,0x65,0x6e])](_0x272886,_0x41ba01),window[_0x3555a4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x41ba01,0x45dc06d5^_0x29d291);});}}_0x3386c1[_0x3555a4([0x6f,0x6e])](_0x3555a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x7ad890,_0x147ea7)=>{if(_0x147ea7[0x0]!=_0x2809cc)return _0x2f495d(_0x3555a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x147ea7[0x1]={..._0x147ea7[0x1],[_0x3555a4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33fb03};},{[_0x3555a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3555a4([0x68,0x69,0x67,0x68])}),_0x3386c1[_0x3555a4([0x6f,0x6e])](_0x3555a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38200c=>{_0x56e5eb(_0x38200c[_0x3555a4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5da38a=!0x0,_0x3d189a(_0x38200c[_0x3555a4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3555a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3555a4([0x6c,0x6f,0x77])}),_0x2046d9[_0x3555a4([0x74,0x68,0x65,0x6e])](()=>{_0x5da38a||_0x2f495d(_0x3555a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x170472(){return _0x3386c1[_0x3555a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3555a4([0x76,0x69,0x65,0x77])][_0x3555a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3555a4([0x61,0x75,0x74,0x6f]);}function _0x3291a2(){_0x3386c1[_0x3555a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3555a4([0x76,0x69,0x65,0x77])][_0x3555a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3555a4([0x61,0x75,0x74,0x6f]);}}function _0x549aa4(_0x251a80){const _0xedba85=[new window[(_0x3555a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3521e8=>setTimeout(_0x3521e8,0x45d4ecd9^_0x29d291)),_0x2046d9[_0x3555a4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3555a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x400e4b=>{let _0x2e0948=0x0;_0x3386c1[_0x3555a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3555a4([0x6f,0x6e])](_0x3555a4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x50202f,_0x233ca2)=>{_0x233ca2[0x0][_0x3555a4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e0948++,_0x2e0948==(0x45ddd3ed^_0x29d291)&&(_0x400e4b(),_0x50202f[_0x3555a4([0x6f,0x66,0x66])]());});}))];return window[_0x3555a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3555a4([0x72,0x61,0x63,0x65])](_0xedba85)[_0x3555a4([0x74,0x68,0x65,0x6e])](()=>_0x251a80);}async function _0x558a71(){await _0x2046d9,_0x3386c1[_0x3555a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3555a4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5cdfab,_0x3386c1[_0x3555a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x3555a4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5cdfab,_0x3386c1[_0x3555a4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3555a4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xdc3152(_0x17315e){const _0x127808=_0x351023();_0x3386c1[_0x127808]=_0x3555a4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x17315e,_0x17315e!=_0x3555a4([0x56,0x61,0x6c,0x69,0x64])&&_0x558a71();}function _0x351023(){const _0x118623=window[_0x3555a4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3555a4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3555a4([0x6e,0x6f,0x77])]())[_0x3555a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3555a4([0x2e]),'');let _0x40f75f=_0x3555a4([0x50]);for(let _0x38f32d=0x0;_0x38f32d<_0x118623[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38f32d+=0x2){let _0x101d66=window[_0x3555a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x118623[_0x3555a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38f32d,_0x38f32d+0x2));_0x101d66>=_0x498b9d[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x101d66-=_0x498b9d[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40f75f+=_0x498b9d[_0x101d66];}return _0x40f75f;}function _0x57559f(){const _0x389de3=_0x1c7d82[_0x3555a4([0x73,0x70,0x6c,0x69,0x74])](_0x3555a4([0x2e]));if(0x3!=_0x389de3[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5dd949(_0x389de3[0x1]);function _0x5dd949(_0x4ab685){const _0x1a3b03=_0x338805(_0x4ab685);return _0x1a3b03&&_0x5451c1()?_0x1a3b03:null;function _0x5451c1(){const _0x10e3b5=_0x1a3b03[_0x3555a4([0x6a,0x74,0x69])],_0x2de458=window[_0x3555a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10e3b5[_0x3555a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10e3b5[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x360aee={..._0x1a3b03,[_0x3555a4([0x6a,0x74,0x69])]:_0x10e3b5[_0x3555a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x10e3b5[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x360aee[_0x3555a4([0x76,0x63])],_0x8e9405(_0x360aee)==_0x2de458;}}}async function _0x48830c(){let _0x1af1dd=!0x0;try{const _0x15ed2d=_0x1c7d82[_0x3555a4([0x73,0x70,0x6c,0x69,0x74])](_0x3555a4([0x2e])),[_0x4c4af7,_0x31bbf2,_0x457b16]=_0x15ed2d;return _0x4891e6(_0x4c4af7),await _0x11806a(_0x4c4af7,_0x31bbf2,_0x457b16),_0x1af1dd;}catch{return!0x1;}function _0x4891e6(_0x1a4244){const _0x15e290=_0x338805(_0x1a4244);_0x15e290&&_0x15e290[_0x3555a4([0x61,0x6c,0x67])]==_0x3555a4([0x45,0x53,0x32,0x35,0x36])||(_0x1af1dd=!0x1);}async function _0x11806a(_0x48d0ad,_0x101fe5,_0x292a51){const _0x4b88cc=window[_0x3555a4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3555a4([0x66,0x72,0x6f,0x6d])](_0x34300f(_0x292a51),_0x3b6e7f=>_0x3b6e7f[_0x3555a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x509390=new window[(_0x3555a4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3555a4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48d0ad+_0x3555a4([0x2e])+_0x101fe5),_0x176f33=window[_0x3555a4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3555a4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x176f33)return;const _0x49f10d=await _0x176f33[_0x3555a4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3555a4([0x6a,0x77,0x6b]),_0x1a8b00,{[_0x3555a4([0x6e,0x61,0x6d,0x65])]:_0x3555a4([0x45,0x43,0x44,0x53,0x41]),[_0x3555a4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3555a4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3555a4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x176f33[_0x3555a4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3555a4([0x6e,0x61,0x6d,0x65])]:_0x3555a4([0x45,0x43,0x44,0x53,0x41]),[_0x3555a4([0x68,0x61,0x73,0x68])]:{[_0x3555a4([0x6e,0x61,0x6d,0x65])]:_0x3555a4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49f10d,_0x4b88cc,_0x509390)||(_0x1af1dd=!0x1);}}function _0x338805(_0xd28139){return _0xd28139[_0x3555a4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3555a4([0x65,0x79]))?JSON[_0x3555a4([0x70,0x61,0x72,0x73,0x65])](_0x34300f(_0xd28139)):null;}function _0x34300f(_0x2fdb39){return window[_0x3555a4([0x61,0x74,0x6f,0x62])](_0x2fdb39[_0x3555a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3555a4([0x2b]))[_0x3555a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3555a4([0x2f])));}function _0x8e9405(_0x237f51){let _0x49325b=0x1505;function _0x71937(_0x3fd1a2){for(let _0x5ee3a9=0x0;_0x5ee3a9<_0x3fd1a2[_0x3555a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ee3a9++){const _0x59aa68=_0x3fd1a2[_0x3555a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ee3a9);_0x49325b=(_0x49325b<<0x5)+_0x49325b+_0x59aa68,_0x49325b&=_0x49325b;}}function _0x4b45e9(_0x5086da){Array[_0x3555a4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5086da)?_0x5086da[_0x3555a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b45e9):_0x5086da&&typeof _0x5086da==_0x3555a4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3555a4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5086da)[_0x3555a4([0x73,0x6f,0x72,0x74])]()[_0x3555a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26d8b6,_0x15fb42])=>{_0x71937(_0x26d8b6),_0x4b45e9(_0x15fb42);}):_0x71937(window[_0x3555a4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5086da));}return _0x4b45e9(_0x237f51),_0x49325b>>>0x0;}function _0x2841e5(_0x16e343){return _0x16e343[_0x3555a4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3555a4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3555a4([0x30]));}function _0x1fb6b5(_0x5580d6){return _0x5580d6[_0x3555a4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3555a4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3555a4([0x6a,0x6f,0x69,0x6e])]('');}function _0x5cdfab(){}function _0x3555a4(_0x31335e){const _0x125a6f=_0x288a;return _0x31335e[_0x125a6f(0xb1)](_0x36822a=>String[_0x125a6f(0x90)](_0x36822a))[_0x125a6f(0xa0)]('');}_0xdc3152(await _0x5816ae());}(this);}[_0x4c1500(0x96)](){const _0x3b05e8=_0x4c1500,_0x3aedc8=this[_0x3b05e8(0xc2)];if(!_0x3aedc8[_0x3b05e8(0xb4)][_0x3b05e8(0xa7)](_0x3b05e8(0x9a)))return;const _0x14d28c=_0x3aedc8[_0x3b05e8(0xb4)][_0x3b05e8(0xa7)](_0x3b05e8(0xbd))[_0x3b05e8(0xb7)](_0x14eef8=>_0x3b05e8(0xb0)==typeof _0x14eef8&&(!_0x1473de(_0x14eef8)&&isNaN(Number(_0x14eef8))));if(_0x14d28c[_0x3b05e8(0xa5)])throw new _0x30849a(_0x3b05e8(0xa4),null,{'namedPresets':_0x14d28c});}[_0x4c1500(0x99)](){const _0x2c2cf4=_0x4c1500,_0x1b7b27=this[_0x2c2cf4(0xc2)],_0x2eaacc=this[_0x2c2cf4(0xc2)][_0x2c2cf4(0xb4)][_0x2c2cf4(0xa7)](_0x2c2cf4(0x97));_0x1b7b27[_0x2c2cf4(0xa2)][_0x2c2cf4(0xb6)](_0x2c2cf4(0xbe))[_0x2c2cf4(0xb5)]({'model':{'key':_0x2c2cf4(0xa3)},'view':_0x55081d=>String(_0x55081d)===String(_0x2eaacc)?null:{'key':_0x2c2cf4(0xbc),'value':{'line-height':_0x55081d}}}),_0x1b7b27[_0x2c2cf4(0xa2)][_0x2c2cf4(0xb6)](_0x2c2cf4(0x9c))[_0x2c2cf4(0xb5)]({'model':{'key':_0x2c2cf4(0xa3),'value':_0x4b14e5=>{const _0x414a53=_0x2c2cf4;let _0x5ba8a6=_0x4b14e5[_0x414a53(0xa6)](_0x414a53(0xa9));return _0x34e27f(_0x5ba8a6)&&(_0x5ba8a6=String(Number(_0x5ba8a6[_0x414a53(0xb3)](0x0,-0x1))/0x64)),String(_0x5ba8a6)===String(_0x2eaacc)?null:_0x5ba8a6;}},'view':{'styles':{'line-height':/.*/}}});}[_0x4c1500(0x93)](){const _0x27ed50=_0x4c1500,_0x4947fc=this[_0x27ed50(0xc2)],_0x14c635=this[_0x27ed50(0xc2)][_0x27ed50(0xb4)][_0x27ed50(0xa7)](_0x27ed50(0x97)),_0xb609f9=_0x3fc7e6(this[_0x27ed50(0xc2)][_0x27ed50(0xb4)][_0x27ed50(0xa7)](_0x27ed50(0xa3)))[_0x27ed50(0xb7)](_0x311194=>_0x311194[_0x27ed50(0xbf)]),_0x493c54=_0x5ef9a3(_0x27ed50(0xa3),_0xb609f9);_0x4947fc[_0x27ed50(0xa2)][_0x27ed50(0xb5)](_0x493c54),_0x4947fc[_0x27ed50(0xa2)][_0x27ed50(0xb6)](_0x27ed50(0x9c))[_0x27ed50(0xb5)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x27ed50(0xa3),'value':_0x5d0860=>{const _0x1afdd4=_0x27ed50;let _0x3f61f9=_0x5d0860[_0x1afdd4(0xa6)](_0x1afdd4(0xa9));return _0x34e27f(_0x3f61f9)&&(_0x3f61f9=String(Number(_0x3f61f9[_0x1afdd4(0xb3)](0x0,-0x1))/0x64)),_0x3f61f9===String(_0x14c635)?null:_0x493c54[_0x1afdd4(0xbf)][_0x1afdd4(0xb2)][_0x1afdd4(0x9f)](_0x3f61f9)?_0x3f61f9:null;}}});}}function _0x3177(){const _0xe0ce55=['lineHeight.defaultValue','644872JsQfgf','_prepareAnyValueConverters','lineHeight.supportAllValues','setAttributeProperties','upcast','extend','723276YzJWds','includes','join','init','conversion','lineHeight','line-height-invalid-use-of-named-presets','length','getStyle','get','add','line-height','afterInit','isPremiumPlugin','13496yJhDDA','$block','668724IyGPWr','schema','string','map','values','slice','config','attributeToAttribute','for','filter','1213840vShogq','default','20LWSODZ','LineHeightEditing','style','lineHeight.options','downcast','model','define','pluginName','editor','commands','fromCharCode','334776csEDtX','isOfficialPlugin','_preparePredefinedConverters','href','914788WTmrQy','_validateConfig'];_0x3177=function(){return _0xe0ce55;};return _0x3177();}
|
|
23
|
+
const _0xb63199=_0x5e4c;function _0x5e4c(_0x2d9394,_0x2df2c0){const _0x2a79b9=_0x2a79();return _0x5e4c=function(_0x5e4c13,_0xa3c85d){_0x5e4c13=_0x5e4c13-0x1bd;let _0x88d537=_0x2a79b9[_0x5e4c13];return _0x88d537;},_0x5e4c(_0x2d9394,_0x2df2c0);}(function(_0x440ade,_0xe8ef97){const _0x1a16bc=_0x5e4c,_0xa60802=_0x440ade();while(!![]){try{const _0x12ea5a=parseInt(_0x1a16bc(0x1e7))/0x1*(-parseInt(_0x1a16bc(0x1c0))/0x2)+parseInt(_0x1a16bc(0x1e1))/0x3+parseInt(_0x1a16bc(0x1f0))/0x4+-parseInt(_0x1a16bc(0x1ec))/0x5+-parseInt(_0x1a16bc(0x1de))/0x6*(-parseInt(_0x1a16bc(0x1c1))/0x7)+parseInt(_0x1a16bc(0x1d4))/0x8+-parseInt(_0x1a16bc(0x1cd))/0x9;if(_0x12ea5a===_0xe8ef97)break;else _0xa60802['push'](_0xa60802['shift']());}catch(_0x1b31c6){_0xa60802['push'](_0xa60802['shift']());}}}(_0x2a79,0x40ef0));import{Plugin as _0x20769b}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x1b792d}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4a69c8}from'ckeditor5/src/engine.js';function _0x2a79(){const _0x344ea9=['6yTuNcA','afterInit','isOfficialPlugin','1233594VUBSUR','add','attributeToAttribute','model','length','_validateConfig','46339iTntEp','get','lineHeight.options','isPremiumPlugin','map','1847300UfcZnd','default','style','_preparePredefinedConverters','913796QNBLKd','LineHeightEditing','downcast','schema','join','editor','12LKEWgD','1908662LjuPnm','$block','pluginName','lineHeight.defaultValue','commands','values','getStyle','line-height-invalid-use-of-named-presets','filter','fromCharCode','upcast','config','3745791eIZwva','string','init','extend','requires','define','for','3338784blUaEP','_prepareAnyValueConverters','slice','includes','lineHeight.supportAllValues','href','conversion','setAttributeProperties','lineHeight','line-height'];_0x2a79=function(){return _0x344ea9;};return _0x2a79();}import{uid as _0x129a43,CKEditorError as _0x567022}from'ckeditor5/src/utils.js';import{buildDefinition as _0x34eef4,isLineHeightDefaultValue as _0x33c05c,normalizeOptions as _0x1b9c0f}from'./utils.js';import{LineHeightTodoListIntegration as _0xd1aa5d}from'./integrations/todolist.js';export class LineHeightEditing extends _0x20769b{static get[_0xb63199(0x1c3)](){const _0x3c31ea=_0xb63199;return _0x3c31ea(0x1f1);}static get[_0xb63199(0x1d1)](){return[_0xd1aa5d];}static get[_0xb63199(0x1e0)](){return!0x0;}static get[_0xb63199(0x1ea)](){return!0x0;}constructor(_0xb4a9d2){const _0x2f873e=_0xb63199;super(_0xb4a9d2),_0xb4a9d2[_0x2f873e(0x1cc)][_0x2f873e(0x1d2)](_0x2f873e(0x1dc),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2f873e(0x1ed),0x2,2.5,0x3]});}[_0xb63199(0x1cf)](){const _0x42a906=_0xb63199,_0x10eacd=this[_0x42a906(0x1bf)];this[_0x42a906(0x1e6)](),_0x10eacd[_0x42a906(0x1e4)][_0x42a906(0x1bd)][_0x42a906(0x1d0)](_0x42a906(0x1c2),{'allowAttributes':_0x42a906(0x1dc)}),_0x10eacd[_0x42a906(0x1e4)][_0x42a906(0x1bd)][_0x42a906(0x1db)](_0x42a906(0x1dc),{'isFormatting':!0x0}),_0x10eacd[_0x42a906(0x1c5)][_0x42a906(0x1e2)](_0x42a906(0x1dc),new _0x1b792d(_0x10eacd)),this[_0x42a906(0x1bf)][_0x42a906(0x1cc)][_0x42a906(0x1e8)](_0x42a906(0x1d8))?this[_0x42a906(0x1d5)]():this[_0x42a906(0x1ef)]();}[_0xb63199(0x1df)](){!async function(_0x11839b){const _0x3d4603=_0x4ad0dc([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]),_0xa13088=0x45ddd215,_0x4f3bca=0x45daa85d^_0xa13088,_0x2f9a76=window[_0x4ad0dc([0x44,0x61,0x74,0x65])][_0x4ad0dc([0x6e,0x6f,0x77])](),_0x43908b=_0x11839b[_0x4ad0dc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xbef158=new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1475bb=>{_0x43908b[_0x4ad0dc([0x6f,0x6e,0x63,0x65])](_0x4ad0dc([0x72,0x65,0x61,0x64,0x79]),_0x1475bb);}),_0x155981={[_0x4ad0dc([0x6b,0x74,0x79])]:_0x4ad0dc([0x45,0x43]),[_0x4ad0dc([0x75,0x73,0x65])]:_0x4ad0dc([0x73,0x69,0x67]),[_0x4ad0dc([0x63,0x72,0x76])]:_0x4ad0dc([0x50,0x2d,0x32,0x35,0x36]),[_0x4ad0dc([0x78])]:_0x4ad0dc([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]),[_0x4ad0dc([0x79])]:_0x4ad0dc([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]),[_0x4ad0dc([0x61,0x6c,0x67])]:_0x4ad0dc([0x45,0x53,0x32,0x35,0x36])},_0x55f5fd=_0x43908b[_0x4ad0dc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ad0dc([0x67,0x65,0x74])](_0x4ad0dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x345365(){let _0xcc47ea,_0x3d3a84=null,_0x31e9aa=null;try{if(_0x55f5fd==_0x4ad0dc([0x47,0x50,0x4c]))return _0x4ad0dc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xcc47ea=_0x5ab811(),!_0xcc47ea)return _0x4ad0dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xcc47ea[_0x4ad0dc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31e9aa=_0x237af7(_0xcc47ea[_0x4ad0dc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xcc47ea[_0x4ad0dc([0x6a,0x74,0x69])])),await _0x40f3a3()?_0x523cdf()?_0x4a6fed()?_0x4ad0dc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10ba87()?(_0xcc47ea[_0x4ad0dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ad0dc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d3a84=_0x28557f(_0x4ad0dc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xcc47ea[_0x4ad0dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ad0dc([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d3a84=_0x28557f(_0x4ad0dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x54f423()):_0x4ad0dc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ad0dc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ad0dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ad0dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a6fed(){const _0x2ed650=[_0x4ad0dc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ad0dc([0x74,0x72,0x69,0x61,0x6c])][_0x4ad0dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcc47ea[_0x4ad0dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f9a76/0x3e8:0xe10*_0x4f3bca;return _0xcc47ea[_0x4ad0dc([0x65,0x78,0x70])]<_0x2ed650;}function _0x523cdf(){const _0xe4c62d=_0xcc47ea[_0x4ad0dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe4c62d&&(!!_0xe4c62d[_0x4ad0dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ad0dc([0x2a]))||!!_0xe4c62d[_0x4ad0dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ad0dc([0x4c,0x48])));}function _0x10ba87(){const _0x5c7fd2=_0x5e4c,_0x3fda52=_0xcc47ea[_0x4ad0dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3fda52||0x0==_0x3fda52[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fda93}=new URL(window[_0x4ad0dc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5c7fd2(0x1d9)]);if(_0x3fda52[_0x4ad0dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fda93))return!0x0;const _0x476562=_0x2fda93[_0x4ad0dc([0x73,0x70,0x6c,0x69,0x74])](_0x4ad0dc([0x2e]));return _0x3fda52[_0x4ad0dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24651b=>_0x24651b[_0x4ad0dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ad0dc([0x2a])))[_0x4ad0dc([0x6d,0x61,0x70])](_0xdff6d7=>_0xdff6d7[_0x4ad0dc([0x73,0x70,0x6c,0x69,0x74])](_0x4ad0dc([0x2e])))[_0x4ad0dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x306bba=>_0x306bba[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x476562[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ad0dc([0x6d,0x61,0x70])](_0x2efe27=>Array(_0x476562[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2efe27[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ad0dc([0x66,0x69,0x6c,0x6c])](_0x2efe27[0x0]===_0x4ad0dc([0x2a])?_0x4ad0dc([0x2a]):'')[_0x4ad0dc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2efe27))[_0x4ad0dc([0x73,0x6f,0x6d,0x65])](_0x20c4f5=>_0x476562[_0x4ad0dc([0x65,0x76,0x65,0x72,0x79])]((_0xe01276,_0x462ca9)=>_0x20c4f5[_0x462ca9]===_0xe01276||_0x20c4f5[_0x462ca9]===_0x4ad0dc([0x2a])));}function _0x54f423(){return _0x3d3a84&&_0x31e9aa?new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x327d26,_0x20a4e5)=>{_0x3d3a84[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0x327d26,_0x20a4e5),_0x31e9aa[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0x4bfa14=>{_0x4bfa14!=_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64])&&_0x327d26(_0x4bfa14);},_0x20a4e5);}):_0x3d3a84||_0x31e9aa||_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x237af7(_0x8c8552,_0xf931aa){return new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f43ef=>{if(_0x3b1830())return _0x1f43ef(_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64]));_0x3fd57a(),_0x43908b[_0x4ad0dc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ad0dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x269cf5=!0x1;const _0x39c5a6=_0x129a43();function _0x5314b4(_0x5f5cb5){return!!_0x5f5cb5&&(typeof _0x5f5cb5===_0x4ad0dc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f5cb5===_0x4ad0dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f5cb5[_0x4ad0dc([0x74,0x68,0x65,0x6e])]===_0x4ad0dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f5cb5[_0x4ad0dc([0x63,0x61,0x74,0x63,0x68])]===_0x4ad0dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29e8e8(_0x47c460){_0x547539(_0x47c460)[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0x209980=>{if(!_0x209980||_0x209980[_0x4ad0dc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ad0dc([0x6f,0x6b]))return _0x4ad0dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xaab851(_0x265f74(_0x39c5a6+_0xf931aa))!=_0x209980[_0x4ad0dc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ad0dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0x3eaead=>(_0x3bb5dd(),_0x3eaead),()=>{const _0x145474=_0x270d3f();return null==_0x145474?(_0x3bb5dd(),_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64])):_0x4ad0dc(_0x2f9a76-_0x145474>(0x61d15615^_0xa13088)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0x1f43ef)[_0x4ad0dc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f43ef(_0x4ad0dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57b208=0x45eb3c95^_0xa13088;function _0x3bb5dd(){const _0x5e2a96=_0x4ad0dc([0x6c,0x6c,0x63,0x74,0x2d])+_0xaab851(_0x265f74(_0x8c8552)),_0xf98e33=_0x28908f(_0xaab851(window[_0x4ad0dc([0x4d,0x61,0x74,0x68])][_0x4ad0dc([0x63,0x65,0x69,0x6c])](_0x2f9a76/_0x57b208)));window[_0x4ad0dc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ad0dc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e2a96,_0xf98e33);}function _0x270d3f(){const _0x3c64de=_0x4ad0dc([0x6c,0x6c,0x63,0x74,0x2d])+_0xaab851(_0x265f74(_0x8c8552)),_0x3f9098=window[_0x4ad0dc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ad0dc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c64de);return _0x3f9098?window[_0x4ad0dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28908f(_0x3f9098),0x10)*_0x57b208:null;}function _0x547539(_0x4967e0){return new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfe5450,_0x44988e)=>{_0x4967e0[_0x4ad0dc([0x74,0x68,0x65,0x6e])](_0xfe5450,_0x44988e),window[_0x4ad0dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x44988e,0x45dc06d5^_0xa13088);});}}_0x43908b[_0x4ad0dc([0x6f,0x6e])](_0x4ad0dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e91c5,_0x41e5c7)=>{if(_0x41e5c7[0x0]!=_0x8c8552)return _0x1f43ef(_0x4ad0dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41e5c7[0x1]={..._0x41e5c7[0x1],[_0x4ad0dc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x39c5a6};},{[_0x4ad0dc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ad0dc([0x68,0x69,0x67,0x68])}),_0x43908b[_0x4ad0dc([0x6f,0x6e])](_0x4ad0dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x117aa6=>{_0x5314b4(_0x117aa6[_0x4ad0dc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x269cf5=!0x0,_0x29e8e8(_0x117aa6[_0x4ad0dc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ad0dc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ad0dc([0x6c,0x6f,0x77])}),_0xbef158[_0x4ad0dc([0x74,0x68,0x65,0x6e])](()=>{_0x269cf5||_0x1f43ef(_0x4ad0dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b1830(){return _0x43908b[_0x4ad0dc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ad0dc([0x76,0x69,0x65,0x77])][_0x4ad0dc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ad0dc([0x61,0x75,0x74,0x6f]);}function _0x3fd57a(){_0x43908b[_0x4ad0dc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ad0dc([0x76,0x69,0x65,0x77])][_0x4ad0dc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ad0dc([0x61,0x75,0x74,0x6f]);}}function _0x28557f(_0x262c14){const _0x314b75=[new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23e578=>setTimeout(_0x23e578,0x45d4ecd9^_0xa13088)),_0xbef158[_0x4ad0dc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d472c=>{let _0xf3f9b7=0x0;_0x43908b[_0x4ad0dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ad0dc([0x6f,0x6e])](_0x4ad0dc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15ea37,_0xeec963)=>{_0xeec963[0x0][_0x4ad0dc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf3f9b7++,_0xf3f9b7==(0x45ddd3ed^_0xa13088)&&(_0x2d472c(),_0x15ea37[_0x4ad0dc([0x6f,0x66,0x66])]());});}))];return window[_0x4ad0dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ad0dc([0x72,0x61,0x63,0x65])](_0x314b75)[_0x4ad0dc([0x74,0x68,0x65,0x6e])](()=>_0x262c14);}async function _0x45f5cd(){await _0xbef158,_0x43908b[_0x4ad0dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ad0dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53b4d6,_0x43908b[_0x4ad0dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ad0dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53b4d6,_0x43908b[_0x4ad0dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ad0dc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x18a5c6(_0x2f3f56){const _0x731c30=_0x37a7ba();_0x43908b[_0x731c30]=_0x4ad0dc([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f3f56,_0x2f3f56!=_0x4ad0dc([0x56,0x61,0x6c,0x69,0x64])&&_0x45f5cd();}function _0x37a7ba(){const _0x3a47ce=window[_0x4ad0dc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ad0dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ad0dc([0x6e,0x6f,0x77])]())[_0x4ad0dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ad0dc([0x2e]),'');let _0x55d300=_0x4ad0dc([0x50]);for(let _0x1249e5=0x0;_0x1249e5<_0x3a47ce[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1249e5+=0x2){let _0x1f1047=window[_0x4ad0dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a47ce[_0x4ad0dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1249e5,_0x1249e5+0x2));_0x1f1047>=_0x3d4603[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f1047-=_0x3d4603[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55d300+=_0x3d4603[_0x1f1047];}return _0x55d300;}function _0x5ab811(){const _0x4ac49f=_0x55f5fd[_0x4ad0dc([0x73,0x70,0x6c,0x69,0x74])](_0x4ad0dc([0x2e]));if(0x3!=_0x4ac49f[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46829c(_0x4ac49f[0x1]);function _0x46829c(_0x2a3c90){const _0x10a784=_0x30b823(_0x2a3c90);return _0x10a784&&_0x42c7b6()?_0x10a784:null;function _0x42c7b6(){const _0x349b65=_0x10a784[_0x4ad0dc([0x6a,0x74,0x69])],_0x301ce0=window[_0x4ad0dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x349b65[_0x4ad0dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x349b65[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x55e1eb={..._0x10a784,[_0x4ad0dc([0x6a,0x74,0x69])]:_0x349b65[_0x4ad0dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x349b65[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x55e1eb[_0x4ad0dc([0x76,0x63])],_0x265f74(_0x55e1eb)==_0x301ce0;}}}async function _0x40f3a3(){let _0x1acbb4=!0x0;try{const _0x75fbce=_0x55f5fd[_0x4ad0dc([0x73,0x70,0x6c,0x69,0x74])](_0x4ad0dc([0x2e])),[_0x2f6ae2,_0xa44b4e,_0x5d1ab5]=_0x75fbce;return _0x104d3e(_0x2f6ae2),await _0x285650(_0x2f6ae2,_0xa44b4e,_0x5d1ab5),_0x1acbb4;}catch{return!0x1;}function _0x104d3e(_0x358522){const _0x1194c8=_0x30b823(_0x358522);_0x1194c8&&_0x1194c8[_0x4ad0dc([0x61,0x6c,0x67])]==_0x4ad0dc([0x45,0x53,0x32,0x35,0x36])||(_0x1acbb4=!0x1);}async function _0x285650(_0x495ac1,_0x5a67ed,_0x54849b){const _0x5e0da6=window[_0x4ad0dc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ad0dc([0x66,0x72,0x6f,0x6d])](_0x5584a3(_0x54849b),_0x4be564=>_0x4be564[_0x4ad0dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52a184=new window[(_0x4ad0dc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ad0dc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x495ac1+_0x4ad0dc([0x2e])+_0x5a67ed),_0x5ddb7b=window[_0x4ad0dc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ad0dc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ddb7b)return;const _0x160af9=await _0x5ddb7b[_0x4ad0dc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ad0dc([0x6a,0x77,0x6b]),_0x155981,{[_0x4ad0dc([0x6e,0x61,0x6d,0x65])]:_0x4ad0dc([0x45,0x43,0x44,0x53,0x41]),[_0x4ad0dc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ad0dc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ad0dc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ddb7b[_0x4ad0dc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ad0dc([0x6e,0x61,0x6d,0x65])]:_0x4ad0dc([0x45,0x43,0x44,0x53,0x41]),[_0x4ad0dc([0x68,0x61,0x73,0x68])]:{[_0x4ad0dc([0x6e,0x61,0x6d,0x65])]:_0x4ad0dc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x160af9,_0x5e0da6,_0x52a184)||(_0x1acbb4=!0x1);}}function _0x30b823(_0x26bfa3){return _0x26bfa3[_0x4ad0dc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ad0dc([0x65,0x79]))?JSON[_0x4ad0dc([0x70,0x61,0x72,0x73,0x65])](_0x5584a3(_0x26bfa3)):null;}function _0x5584a3(_0xa97c71){return window[_0x4ad0dc([0x61,0x74,0x6f,0x62])](_0xa97c71[_0x4ad0dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ad0dc([0x2b]))[_0x4ad0dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ad0dc([0x2f])));}function _0x265f74(_0x99841b){let _0x191555=0x1505;function _0x47c962(_0x53a88c){for(let _0x21397a=0x0;_0x21397a<_0x53a88c[_0x4ad0dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21397a++){const _0x93ee6d=_0x53a88c[_0x4ad0dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21397a);_0x191555=(_0x191555<<0x5)+_0x191555+_0x93ee6d,_0x191555&=_0x191555;}}function _0x8993f2(_0x5f4406){Array[_0x4ad0dc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f4406)?_0x5f4406[_0x4ad0dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8993f2):_0x5f4406&&typeof _0x5f4406==_0x4ad0dc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ad0dc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f4406)[_0x4ad0dc([0x73,0x6f,0x72,0x74])]()[_0x4ad0dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14eb2c,_0x4f0569])=>{_0x47c962(_0x14eb2c),_0x8993f2(_0x4f0569);}):_0x47c962(window[_0x4ad0dc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f4406));}return _0x8993f2(_0x99841b),_0x191555>>>0x0;}function _0xaab851(_0x1f7979){return _0x1f7979[_0x4ad0dc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ad0dc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ad0dc([0x30]));}function _0x28908f(_0x5d737d){return _0x5d737d[_0x4ad0dc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ad0dc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ad0dc([0x6a,0x6f,0x69,0x6e])]('');}function _0x53b4d6(){}function _0x4ad0dc(_0x46ae3b){const _0x3f281b=_0x5e4c;return _0x46ae3b[_0x3f281b(0x1eb)](_0x29755d=>String[_0x3f281b(0x1ca)](_0x29755d))[_0x3f281b(0x1be)]('');}_0x18a5c6(await _0x345365());}(this);}[_0xb63199(0x1e6)](){const _0x206d33=_0xb63199,_0x69510f=this[_0x206d33(0x1bf)];if(!_0x69510f[_0x206d33(0x1cc)][_0x206d33(0x1e8)](_0x206d33(0x1d8)))return;const _0x5760b3=_0x69510f[_0x206d33(0x1cc)][_0x206d33(0x1e8)](_0x206d33(0x1e9))[_0x206d33(0x1c9)](_0x2be14f=>_0x206d33(0x1ce)==typeof _0x2be14f&&(!_0x33c05c(_0x2be14f)&&isNaN(Number(_0x2be14f))));if(_0x5760b3[_0x206d33(0x1e5)])throw new _0x567022(_0x206d33(0x1c8),null,{'namedPresets':_0x5760b3});}[_0xb63199(0x1d5)](){const _0x493028=_0xb63199,_0x324a84=this[_0x493028(0x1bf)],_0x18a4f0=this[_0x493028(0x1bf)][_0x493028(0x1cc)][_0x493028(0x1e8)](_0x493028(0x1c4));_0x324a84[_0x493028(0x1da)][_0x493028(0x1d3)](_0x493028(0x1f2))[_0x493028(0x1e3)]({'model':{'key':_0x493028(0x1dc)},'view':_0x146846=>String(_0x146846)===String(_0x18a4f0)?null:{'key':_0x493028(0x1ee),'value':{'line-height':_0x146846}}}),_0x324a84[_0x493028(0x1da)][_0x493028(0x1d3)](_0x493028(0x1cb))[_0x493028(0x1e3)]({'model':{'key':_0x493028(0x1dc),'value':_0x4241b7=>{const _0xade433=_0x493028;let _0x9f44bf=_0x4241b7[_0xade433(0x1c7)](_0xade433(0x1dd));return _0x4a69c8(_0x9f44bf)&&(_0x9f44bf=String(Number(_0x9f44bf[_0xade433(0x1d6)](0x0,-0x1))/0x64)),String(_0x9f44bf)===String(_0x18a4f0)?null:_0x9f44bf;}},'view':{'styles':{'line-height':/.*/}}});}[_0xb63199(0x1ef)](){const _0x3e597c=_0xb63199,_0x17a5c8=this[_0x3e597c(0x1bf)],_0x52888d=this[_0x3e597c(0x1bf)][_0x3e597c(0x1cc)][_0x3e597c(0x1e8)](_0x3e597c(0x1c4)),_0x2ada1b=_0x1b9c0f(this[_0x3e597c(0x1bf)][_0x3e597c(0x1cc)][_0x3e597c(0x1e8)](_0x3e597c(0x1dc)))[_0x3e597c(0x1c9)](_0x9f5924=>_0x9f5924[_0x3e597c(0x1e4)]),_0x49a4d7=_0x34eef4(_0x3e597c(0x1dc),_0x2ada1b);_0x17a5c8[_0x3e597c(0x1da)][_0x3e597c(0x1e3)](_0x49a4d7),_0x17a5c8[_0x3e597c(0x1da)][_0x3e597c(0x1d3)](_0x3e597c(0x1cb))[_0x3e597c(0x1e3)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3e597c(0x1dc),'value':_0xec269d=>{const _0x2c360a=_0x3e597c;let _0x256df6=_0xec269d[_0x2c360a(0x1c7)](_0x2c360a(0x1dd));return _0x4a69c8(_0x256df6)&&(_0x256df6=String(Number(_0x256df6[_0x2c360a(0x1d6)](0x0,-0x1))/0x64)),_0x256df6===String(_0x52888d)?null:_0x49a4d7[_0x2c360a(0x1e4)][_0x2c360a(0x1c6)][_0x2c360a(0x1d7)](_0x256df6)?_0x256df6:null;}}});}}
|
package/src/lineheightui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x57a87d}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4e6da4,createDropdown as _0x5638b4,MenuBarMenuListItemButtonView as _0x42b68c,MenuBarMenuListItemView as _0x2f5c31,MenuBarMenuListView as _0x3b9b33,MenuBarMenuView as _0x5e1c2f,UIModel as _0x10030d}from'ckeditor5/src/ui.js';import{Collection as _0x242db6}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x211be1}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x514814}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x57a87d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3b7005={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3b7005),this['_registerMenuBarComponent'](_0x3b7005),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2bf540=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x533d67;for(const _0x3ac6a6 in _0x2bf540){const _0x16321b=_0x3ac6a6,_0x3f31f7=_0x2bf540[_0x16321b];if('lineHeightLicenseKeyValid'==_0x3f31f7||'lineHeightLicenseKeyInvalid'==_0x3f31f7||'lineHeightLicenseKeyExpired'==_0x3f31f7||'lineHeightLicenseKeyDomainLimit'==_0x3f31f7||'lineHeightLicenseKeyNotAllowed'==_0x3f31f7||'lineHeightLicenseKeyEvaluationLimit'==_0x3f31f7||'lineHeightLicenseKeyTrialLimit'==_0x3f31f7||'lineHeightLicenseKeyUsageLimit'==_0x3f31f7){delete _0x2bf540[_0x16321b],_0x533d67=_0x3f31f7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x533d67&&_0x2bf540['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x533d67&&_0x2bf540['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x533d67&&_0x2bf540['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x533d67&&_0x2bf540['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x533d67&&_0x2bf540['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x533d67&&_0x2bf540['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x533d67&&_0x2bf540['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x23f8f7=this['editor'],t=_0x23f8f7['t'],_0x34dcce=_0x23f8f7['config']['get']('lineHeight'),_0x194b90={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x514814(_0x34dcce)['map'](_0x5b7e96=>{const _0xc976cd=_0x194b90[_0x5b7e96['title']];return _0xc976cd&&_0xc976cd!=_0x5b7e96['title']&&(_0x5b7e96=Object['assign']({},_0x5b7e96,{'title':_0xc976cd})),_0x5b7e96;});}['_prepareListOptions'](){const _0x3801b7=this['editor']['commands']['get']('lineHeight'),_0x2c0fef=this['editor']['config']['get']('lineHeight.defaultValue'),_0x42c684=this['_getLocalizedLineHeightOptions'](),_0x3ef4f5=new _0x242db6(),_0x4a0c2a=_0xb69c4b=>'default'===_0xb69c4b||String(_0x2c0fef)===_0xb69c4b;for(const _0x3d0756 of _0x42c684){const _0x94d490={'type':'button','model':new _0x10030d({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3d0756['title'],'withText':!0x0})};_0x4a0c2a(_0x3d0756['model'])?(_0x94d490['model']['bind']('isOn')['to'](_0x3801b7,'value',_0x39ce82=>!_0x39ce82),_0x94d490['model']['commandParam']=void 0x0):(_0x94d490['model']['bind']('isOn')['to'](_0x3801b7,'value',_0x53d2e6=>_0x53d2e6===_0x3d0756['model']),_0x94d490['model']['commandParam']=_0x3d0756['model']),_0x3ef4f5['add'](_0x94d490);}if(this['_shouldRenderCustomValueOption']()){const _0x579713=this['_getCustomValueOptionDefinition'](_0x42c684);_0x3ef4f5['add'](_0x579713);}return _0x3ef4f5;}['_getCustomValueOptionDefinition'](_0x884a07){const _0x2bda45=this['editor'],t=_0x2bda45['t'],_0x37d064=_0x2bda45['commands']['get']('lineHeight'),_0xf56ae8=_0x884a07['map'](_0x4f57f3=>_0x4f57f3['model']),_0x4b58d8={'type':'button','model':new _0x10030d({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4b58d8['model']['bind']('commandParam')['to'](_0x37d064,'value'),_0x4b58d8['model']['bind']('isOn')['to'](_0x37d064,'value',_0x10fcdb=>!!_0x10fcdb&&!_0xf56ae8['includes'](String(_0x10fcdb))),_0x4b58d8['model']['bind']('label')['to'](_0x37d064,'value',_0x340f15=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x340f15))),_0x4b58d8;}['_registerToolbarComponent']({accessibleLabel:_0x3ab2e6,options:_0x572c8e}){const _0x36d23e=this['editor'],_0x261f43=_0x36d23e['commands']['get']('lineHeight');_0x36d23e['ui']['componentFactory']['add']('lineHeight',_0x5809b5=>{const _0x4e5d3b=_0x5638b4(_0x5809b5);return _0x4e6da4(_0x4e5d3b,_0x572c8e,{'role':'menu','ariaLabel':_0x3ab2e6}),_0x4e5d3b['buttonView']['set']({'label':_0x3ab2e6,'tooltip':!0x0,'icon':_0x211be1}),_0x4e5d3b['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4e5d3b['bind']('isEnabled')['to'](_0x261f43),this['listenTo'](_0x4e5d3b,'execute',_0x5d4d10=>{_0x36d23e['execute'](_0x5d4d10['source']['commandName'],{'value':_0x5d4d10['source']['commandParam']}),_0x36d23e['editing']['view']['focus']();}),_0x4e5d3b['once']('change:isOpen',()=>{const _0x13d320=_0x4e5d3b['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4e5d3b,_0x572c8e,_0x13d320);}),_0x4e5d3b;});}['_registerMenuBarComponent']({accessibleLabel:_0x75da5b,options:_0x828213}){const _0x503dcb=this['editor'],_0x15cdbd=_0x503dcb['commands']['get']('lineHeight');_0x503dcb['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5161cd=>{const _0x342159=new _0x5e1c2f(_0x5161cd);_0x342159['buttonView']['set']({'label':_0x75da5b,'icon':_0x211be1}),_0x342159['bind']('isEnabled')['to'](_0x15cdbd);const _0x662a95=new _0x3b9b33(_0x5161cd);for(const _0x4c179c of _0x828213){const _0x41ccf4=new _0x2f5c31(_0x5161cd,_0x342159),_0x489378=new _0x42b68c(_0x5161cd);_0x489378['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x489378['bind'](...Object['keys'](_0x4c179c['model']))['to'](_0x4c179c['model']),_0x489378['delegate']('execute')['to'](_0x342159),_0x489378['on']('execute',()=>{_0x503dcb['execute'](_0x4c179c['model']['commandName'],{'value':_0x4c179c['model']['commandParam']}),_0x503dcb['editing']['view']['focus']();}),_0x41ccf4['children']['add'](_0x489378),_0x662a95['items']['add'](_0x41ccf4);}return _0x342159['panelView']['children']['add'](_0x662a95),this['_attachCustomOptionVisibilityHandler'](_0x342159,_0x828213,_0x662a95),_0x342159;});}['_attachCustomOptionVisibilityHandler'](_0x4600ed,_0x5e23ab,_0x2a3bc5){if(!this['_shouldRenderCustomValueOption']())return;const _0x49f545=()=>{if(!_0x4600ed['isOpen'])return;_0x2a3bc5['items']['last']['isVisible']=Boolean(_0x5e23ab['last']['model']['isOn']);};_0x49f545(),_0x4600ed['on']('change:isOpen',()=>{_0x49f545();});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x110e82,_0x4e093e){const _0x5606c9=_0xe019,_0x1cd665=_0x110e82();while(!![]){try{const _0x17776a=parseInt(_0x5606c9(0x106))/0x1+-parseInt(_0x5606c9(0xfe))/0x2+-parseInt(_0x5606c9(0x113))/0x3*(-parseInt(_0x5606c9(0x100))/0x4)+-parseInt(_0x5606c9(0x111))/0x5*(-parseInt(_0x5606c9(0x112))/0x6)+-parseInt(_0x5606c9(0x10e))/0x7+parseInt(_0x5606c9(0xf9))/0x8*(-parseInt(_0x5606c9(0xff))/0x9)+-parseInt(_0x5606c9(0x103))/0xa*(-parseInt(_0x5606c9(0x10c))/0xb);if(_0x17776a===_0x4e093e)break;else _0x1cd665['push'](_0x1cd665['shift']());}catch(_0xe458db){_0x1cd665['push'](_0x1cd665['shift']());}}}(_0x5e32,0x89f17));const v={get 'single'(){const _0x2ee5cc=_0xe019;return{'title':_0x2ee5cc(0x10a),'model':_0x2ee5cc(0x116),'view':{'key':_0x2ee5cc(0x105),'value':_0x2ee5cc(0x10d)}};},get 'double'(){const _0x161af1=_0xe019;return{'title':_0x161af1(0x104),'model':_0x161af1(0x117),'view':{'key':_0x161af1(0x105),'value':_0x161af1(0x114)}};}};function _0x5e32(){const _0x472cd9=['style','defaultValue','731472XelBaU','2702529cexRSx','304476BkwYTa','values','view','12590GuySHW','Double','class','142587ZWUGGp','toLowerCase','push','map','Single','filter','407DWIUkW','line-height-single','4274669XoqbPL','string','options','2598455AGizCG','12nJvLPG','36OYouAG','line-height-double','value','single','double','span','number','model','default','16jKnpoJ','key','line-height:'];_0x5e32=function(){return _0x472cd9;};return _0x5e32();}function _0xe019(_0x2ccbd5,_0x1ea872){const _0x5e32b4=_0x5e32();return _0xe019=function(_0xe0194a,_0x5b3e4d){_0xe0194a=_0xe0194a-0xf7;let _0x1943dd=_0x5e32b4[_0xe0194a];return _0x1943dd;},_0xe019(_0x2ccbd5,_0x1ea872);}export function isLineHeightDefaultValue(_0x3111de){const _0x37a5cd=_0xe019;return _0x37a5cd(0x10f)==typeof _0x3111de&&_0x37a5cd(0xf8)===_0x3111de[_0x37a5cd(0x107)]();}export function normalizeOptions(_0x5f1067){const _0x1b774f=_0xe019;return _0x5f1067[_0x1b774f(0x110)][_0x1b774f(0x109)](_0x5999eb=>isLineHeightDefaultValue(_0x5999eb)?{'title':String(_0x5f1067[_0x1b774f(0xfd)]),'model':_0x1b774f(0xf8)}:(_0x1b774f(0x119)==typeof _0x5999eb&&(_0x5999eb=String(_0x5999eb)),_0x1b774f(0x10f)!=typeof _0x5999eb?_0x5999eb:parseFloat(_0x5999eb)?{'title':_0x5999eb,'model':_0x5999eb,'view':{'name':_0x1b774f(0x118),'styles':{'line-height':_0x5999eb}}}:findPreset(_0x5999eb)))[_0x1b774f(0x10b)](_0x26b600=>void 0x0!==_0x26b600);}export function findPreset(_0x15d4ca){const _0x1e35c5=_0xe019;return _0x1e35c5(0x10f)==typeof _0x15d4ca?v[_0x15d4ca]:v[_0x15d4ca[_0x1e35c5(0xf7)]];}export function buildDefinition(_0x111b17,_0x2da28d){const _0x23ae91=_0xe019,_0xff5558={'model':{'key':_0x111b17,'values':[]},'view':{}};for(const _0xf831d5 of _0x2da28d)_0x23ae91(0x105)===_0xf831d5[_0x23ae91(0x102)]?.[_0x23ae91(0xfa)]?(_0xff5558[_0x23ae91(0xf7)][_0x23ae91(0x101)][_0x23ae91(0x108)](_0xf831d5[_0x23ae91(0xf7)]),_0xff5558[_0x23ae91(0x102)][_0xf831d5[_0x23ae91(0xf7)]]={'key':_0x23ae91(0x105),'value':_0xf831d5[_0x23ae91(0x102)][_0x23ae91(0x115)]}):(_0xff5558[_0x23ae91(0xf7)][_0x23ae91(0x101)][_0x23ae91(0x108)](_0xf831d5[_0x23ae91(0xf7)]),_0xff5558[_0x23ae91(0x102)][_0xf831d5[_0x23ae91(0xf7)]]={'key':_0x23ae91(0xfc),'value':_0x23ae91(0xfb)+_0xf831d5[_0x23ae91(0xf7)]+';'});return _0xff5558;}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2025, 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
|
+
:root {
|
|
11
|
+
--ck-content-list-marker-line-height: var(--ck-content-line-height);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ck-content .todo-list {
|
|
15
|
+
& li.ck-list-marker-line-height {
|
|
16
|
+
/*
|
|
17
|
+
* Workaround for misplacement of checkbox when change to-do list item
|
|
18
|
+
* type from item with description to item without description. Without this
|
|
19
|
+
* checkbox will be vertically shifted.
|
|
20
|
+
*/
|
|
21
|
+
&::before {
|
|
22
|
+
line-height: var(--ck-content-list-marker-line-height);
|
|
23
|
+
content: '';
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
& > .todo-list__label.todo-list__label_without-description {
|
|
27
|
+
position: absolute;
|
|
28
|
+
width: 0;
|
|
29
|
+
line-height: var(--ck-content-list-marker-line-height);
|
|
30
|
+
|
|
31
|
+
& input[type=checkbox] {
|
|
32
|
+
position: relative;
|
|
33
|
+
margin: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ck-editor__editable.ck-content .todo-list {
|
|
40
|
+
& li.ck-list-marker-line-height > .todo-list__label.todo-list__label_without-description {
|
|
41
|
+
& > span[contenteditable="false"] {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
width: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|