@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20260120.0 → 0.0.0-nightly-20260121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +5 -0
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +1 -1
- 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/lang/contexts.json +6 -0
- package/lang/translations/af.po +28 -0
- package/lang/translations/ar.po +28 -0
- package/lang/translations/ast.po +28 -0
- package/lang/translations/az.po +28 -0
- package/lang/translations/be.po +28 -0
- package/lang/translations/bg.po +28 -0
- package/lang/translations/bn.po +28 -0
- package/lang/translations/bs.po +28 -0
- package/lang/translations/ca.po +28 -0
- package/lang/translations/cs.po +28 -0
- package/lang/translations/da.po +28 -0
- package/lang/translations/de-ch.po +28 -0
- package/lang/translations/de.po +28 -0
- package/lang/translations/el.po +28 -0
- package/lang/translations/en-au.po +28 -0
- package/lang/translations/en-gb.po +28 -0
- package/lang/translations/en.po +28 -0
- package/lang/translations/eo.po +28 -0
- package/lang/translations/es-co.po +28 -0
- package/lang/translations/es.po +28 -0
- package/lang/translations/et.po +28 -0
- package/lang/translations/eu.po +28 -0
- package/lang/translations/fa.po +28 -0
- package/lang/translations/fi.po +28 -0
- package/lang/translations/fr.po +28 -0
- package/lang/translations/gl.po +28 -0
- package/lang/translations/gu.po +28 -0
- package/lang/translations/he.po +28 -0
- package/lang/translations/hi.po +28 -0
- package/lang/translations/hr.po +28 -0
- package/lang/translations/hu.po +28 -0
- package/lang/translations/hy.po +28 -0
- package/lang/translations/id.po +28 -0
- package/lang/translations/it.po +28 -0
- package/lang/translations/ja.po +28 -0
- package/lang/translations/jv.po +28 -0
- package/lang/translations/kk.po +28 -0
- package/lang/translations/km.po +28 -0
- package/lang/translations/kn.po +28 -0
- package/lang/translations/ko.po +28 -0
- package/lang/translations/ku.po +28 -0
- package/lang/translations/lt.po +28 -0
- package/lang/translations/lv.po +28 -0
- package/lang/translations/ms.po +28 -0
- package/lang/translations/nb.po +28 -0
- package/lang/translations/ne.po +28 -0
- package/lang/translations/nl.po +28 -0
- package/lang/translations/no.po +28 -0
- package/lang/translations/oc.po +28 -0
- package/lang/translations/pl.po +28 -0
- package/lang/translations/pt-br.po +28 -0
- package/lang/translations/pt.po +28 -0
- package/lang/translations/ro.po +28 -0
- package/lang/translations/ru.po +28 -0
- package/lang/translations/si.po +28 -0
- package/lang/translations/sk.po +28 -0
- package/lang/translations/sl.po +28 -0
- package/lang/translations/sq.po +28 -0
- package/lang/translations/sr-latn.po +28 -0
- package/lang/translations/sr.po +28 -0
- package/lang/translations/sv.po +28 -0
- package/lang/translations/th.po +28 -0
- package/lang/translations/ti.po +28 -0
- package/lang/translations/tk.po +28 -0
- package/lang/translations/tr.po +28 -0
- package/lang/translations/tt.po +28 -0
- package/lang/translations/ug.po +28 -0
- package/lang/translations/uk.po +28 -0
- package/lang/translations/ur.po +28 -0
- package/lang/translations/uz.po +28 -0
- package/lang/translations/vi.po +28 -0
- package/lang/translations/zh-cn.po +28 -0
- package/lang/translations/zh.po +28 -0
- package/package.json +48 -23
- package/src/augmentation.js +23 -0
- package/src/index.js +23 -0
- package/{dist → src}/integrations/todolist.d.ts +1 -1
- package/src/integrations/todolist.js +23 -0
- package/{dist → src}/lineheight.d.ts +1 -1
- package/src/lineheight.js +23 -0
- package/{dist → src}/lineheightcommand.d.ts +1 -1
- package/src/lineheightcommand.js +23 -0
- package/{dist → src}/lineheightconfig.d.ts +1 -1
- package/src/lineheightconfig.js +23 -0
- package/{dist → src}/lineheightediting.d.ts +1 -1
- package/src/lineheightediting.js +23 -0
- package/{dist → src}/lineheightui.d.ts +1 -1
- package/src/lineheightui.js +23 -0
- package/src/utils.js +23 -0
- package/theme/integrations/todolist.css +46 -0
- package/theme/lineheight.css +16 -0
- /package/{dist → src}/augmentation.d.ts +0 -0
- /package/{dist → src}/index.d.ts +0 -0
- /package/{dist → src}/utils.d.ts +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, 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 _0x1678a4=_0x3fdc;(function(_0xc73e16,_0x1f1856){const _0x3f93ba=_0x3fdc,_0x373ace=_0xc73e16();while(!![]){try{const _0xe9d227=-parseInt(_0x3f93ba(0x1e4))/0x1+parseInt(_0x3f93ba(0x1e9))/0x2*(-parseInt(_0x3f93ba(0x1e0))/0x3)+parseInt(_0x3f93ba(0x1f2))/0x4*(-parseInt(_0x3f93ba(0x1e3))/0x5)+-parseInt(_0x3f93ba(0x1de))/0x6+-parseInt(_0x3f93ba(0x1f3))/0x7*(parseInt(_0x3f93ba(0x1dd))/0x8)+-parseInt(_0x3f93ba(0x1f4))/0x9*(-parseInt(_0x3f93ba(0x1ef))/0xa)+parseInt(_0x3f93ba(0x1f5))/0xb;if(_0xe9d227===_0x1f1856)break;else _0x373ace['push'](_0x373ace['shift']());}catch(_0x59cc7b){_0x373ace['push'](_0x373ace['shift']());}}}(_0x5b69,0x5cc5a));import{Command as _0x5d0862}from'ckeditor5/src/core.js';function _0x3fdc(_0x3a0bfc,_0x14149e){const _0x5b6976=_0x5b69();return _0x3fdc=function(_0x3fdca2,_0x5b9d2a){_0x3fdca2=_0x3fdca2-0x1da;let _0x48092e=_0x5b6976[_0x3fdca2];return _0x48092e;},_0x3fdc(_0x3a0bfc,_0x14149e);}import{first as _0x5c1a97}from'ckeditor5/src/utils.js';function _0x5b69(){const _0x3116ac=['getAttribute','2242776gfTmuA','value','schema','217185UJZmNa','650205XAnbPC','_canHaveLineHeight','checkAttribute','getSelectedBlocks','execute','2TOFKly','selection','editor','lineHeight','setAttribute','refresh','10tCxcrQ','change','isEnabled','20PKShat','49JaJThz','233127JGSTGP','34271490heWuhO','filter','document','model','removeAttribute','from','837464wbSrun','2482416GUSTLo'];_0x5b69=function(){return _0x3116ac;};return _0x5b69();}export class LineHeightCommand extends _0x5d0862{[_0x1678a4(0x1ee)](){const _0x4ccb83=_0x1678a4,_0x51a182=this[_0x4ccb83(0x1eb)][_0x4ccb83(0x1da)][_0x4ccb83(0x1f7)],_0x113348=_0x5c1a97(_0x51a182[_0x4ccb83(0x1ea)][_0x4ccb83(0x1e7)]());this[_0x4ccb83(0x1f1)]=Boolean(_0x113348)&&this[_0x4ccb83(0x1e5)](_0x113348),this[_0x4ccb83(0x1e1)]=this[_0x4ccb83(0x1f1)]&&_0x113348[_0x4ccb83(0x1df)](_0x4ccb83(0x1ec));}[_0x1678a4(0x1e8)](_0xe38c66={}){const _0x21a82e=_0x1678a4,_0x404ad1=this[_0x21a82e(0x1eb)][_0x21a82e(0x1da)],_0xa3b936=_0x404ad1[_0x21a82e(0x1f7)][_0x21a82e(0x1ea)],_0x3ad912=_0xe38c66[_0x21a82e(0x1e1)];_0x404ad1[_0x21a82e(0x1f0)](_0x5e5360=>{const _0x4eef0c=_0x21a82e,_0x19b9d6=Array[_0x4eef0c(0x1dc)](_0xa3b936[_0x4eef0c(0x1e7)]())[_0x4eef0c(0x1f6)](_0x406231=>this[_0x4eef0c(0x1e5)](_0x406231));for(const _0x22dc1a of _0x19b9d6)_0x3ad912?_0x5e5360[_0x4eef0c(0x1ed)](_0x4eef0c(0x1ec),_0x3ad912,_0x22dc1a):_0x5e5360[_0x4eef0c(0x1db)](_0x4eef0c(0x1ec),_0x22dc1a);});}[_0x1678a4(0x1e5)](_0x587a30){const _0x29ffa9=_0x1678a4;return this[_0x29ffa9(0x1eb)][_0x29ffa9(0x1da)][_0x29ffa9(0x1e2)][_0x29ffa9(0x1e6)](_0x587a30,_0x29ffa9(0x1ec));}}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module line-height/lineheightconfig
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import type { DowncastAttributeDescriptor } from '
|
|
9
|
+
import type { DowncastAttributeDescriptor } from 'ckeditor5/src/engine.js';
|
|
10
10
|
/**
|
|
11
11
|
* The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
|
|
12
12
|
*
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, 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
|
+
export{};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module line-height/lineheightediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from '
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
9
|
import { LineHeightTodoListIntegration } from './integrations/todolist.js';
|
|
10
10
|
/**
|
|
11
11
|
* The line height editing feature.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, 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 _0x34b6fb=_0x2c06;(function(_0x494391,_0x4ecff5){const _0x13312f=_0x2c06,_0x1cccdb=_0x494391();while(!![]){try{const _0xde3279=-parseInt(_0x13312f(0x19b))/0x1+parseInt(_0x13312f(0x1aa))/0x2*(parseInt(_0x13312f(0x181))/0x3)+-parseInt(_0x13312f(0x19c))/0x4*(-parseInt(_0x13312f(0x1ab))/0x5)+parseInt(_0x13312f(0x18e))/0x6*(parseInt(_0x13312f(0x17f))/0x7)+parseInt(_0x13312f(0x196))/0x8+parseInt(_0x13312f(0x183))/0x9+-parseInt(_0x13312f(0x1b0))/0xa;if(_0xde3279===_0x4ecff5)break;else _0x1cccdb['push'](_0x1cccdb['shift']());}catch(_0x3b7961){_0x1cccdb['push'](_0x1cccdb['shift']());}}}(_0x5271,0x7aed4));function _0x2c06(_0x17100a,_0x11eef5){const _0x5271d1=_0x5271();return _0x2c06=function(_0x2c062f,_0x31c105){_0x2c062f=_0x2c062f-0x17d;let _0x48bc11=_0x5271d1[_0x2c062f];return _0x48bc11;},_0x2c06(_0x17100a,_0x11eef5);}import{Plugin as _0x4f6f99}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x4c61c3}from'./lineheightcommand.js';import{isPercentageStyleValue as _0xa30318}from'ckeditor5/src/engine.js';function _0x5271(){const _0x16cccb=['isPremiumPlugin','lineHeight.supportAllValues','lineHeight','$block','map','for','fromCharCode','style','pluginName','model','line-height','editor','4EFEntB','9305WSCsoi','lineHeight.defaultValue','includes','_validateConfig','default','6327480pjZdrr','commands','_prepareAnyValueConverters','add','attributeToAttribute','isOfficialPlugin','14917cUHGHk','schema','808428CNzlRE','join','173385XYcUoY','slice','get','conversion','config','href','filter','length','_preparePredefinedConverters','string','values','126QlmTMD','lineHeight.options','upcast','init','requires','setAttributeProperties','line-height-invalid-use-of-named-presets','extend','6334808lkHMtd','LineHeightEditing','afterInit','downcast','getStyle','837334ukQwuu','1244EnurdP','define'];_0x5271=function(){return _0x16cccb;};return _0x5271();}import{uid as _0x35d6d2,CKEditorError as _0x2131c8}from'ckeditor5/src/utils.js';import{buildDefinition as _0x10ed21,isLineHeightDefaultValue as _0x1fe407,normalizeOptions as _0x4480a6}from'./utils.js';import{LineHeightTodoListIntegration as _0x28c8cc}from'./integrations/todolist.js';export class LineHeightEditing extends _0x4f6f99{static get[_0x34b6fb(0x1a6)](){const _0x2e0d25=_0x34b6fb;return _0x2e0d25(0x197);}static get[_0x34b6fb(0x192)](){return[_0x28c8cc];}static get[_0x34b6fb(0x17e)](){return!0x0;}static get[_0x34b6fb(0x19e)](){return!0x0;}constructor(_0x246584){const _0x4dd953=_0x34b6fb;super(_0x246584),_0x246584[_0x4dd953(0x187)][_0x4dd953(0x19d)](_0x4dd953(0x1a0),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4dd953(0x1af),0x2,2.5,0x3]});}[_0x34b6fb(0x191)](){const _0x1daae9=_0x34b6fb,_0x3b8ea7=this[_0x1daae9(0x1a9)];this[_0x1daae9(0x1ae)](),_0x3b8ea7[_0x1daae9(0x1a7)][_0x1daae9(0x180)][_0x1daae9(0x195)](_0x1daae9(0x1a1),{'allowAttributes':_0x1daae9(0x1a0)}),_0x3b8ea7[_0x1daae9(0x1a7)][_0x1daae9(0x180)][_0x1daae9(0x193)](_0x1daae9(0x1a0),{'isFormatting':!0x0}),_0x3b8ea7[_0x1daae9(0x1b1)][_0x1daae9(0x1b3)](_0x1daae9(0x1a0),new _0x4c61c3(_0x3b8ea7)),this[_0x1daae9(0x1a9)][_0x1daae9(0x187)][_0x1daae9(0x185)](_0x1daae9(0x19f))?this[_0x1daae9(0x1b2)]():this[_0x1daae9(0x18b)]();}[_0x34b6fb(0x198)](){!async function(_0x494e1f){const _0x1f6b4e=_0x280c0a([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]),_0x46e4fd=0x45ddd215,_0x41200b=0x45daad65^_0x46e4fd,_0x5621fe=window[_0x280c0a([0x44,0x61,0x74,0x65])][_0x280c0a([0x6e,0x6f,0x77])](),_0x43f80e=_0x494e1f[_0x280c0a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f3e38=new window[(_0x280c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x453bb7=>{_0x43f80e[_0x280c0a([0x6f,0x6e,0x63,0x65])](_0x280c0a([0x72,0x65,0x61,0x64,0x79]),_0x453bb7);}),_0x38d65a={[_0x280c0a([0x6b,0x74,0x79])]:_0x280c0a([0x45,0x43]),[_0x280c0a([0x75,0x73,0x65])]:_0x280c0a([0x73,0x69,0x67]),[_0x280c0a([0x63,0x72,0x76])]:_0x280c0a([0x50,0x2d,0x32,0x35,0x36]),[_0x280c0a([0x78])]:_0x280c0a([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]),[_0x280c0a([0x79])]:_0x280c0a([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]),[_0x280c0a([0x61,0x6c,0x67])]:_0x280c0a([0x45,0x53,0x32,0x35,0x36])},_0x4edff9=_0x43f80e[_0x280c0a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x280c0a([0x67,0x65,0x74])](_0x280c0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d9cea(){let _0x50f348,_0x552343=null,_0x4abd50=null;try{if(_0x4edff9==_0x280c0a([0x47,0x50,0x4c]))return _0x280c0a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50f348=_0x1cb326(),!_0x50f348)return _0x280c0a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50f348[_0x280c0a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4abd50=_0x555634(_0x50f348[_0x280c0a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50f348[_0x280c0a([0x6a,0x74,0x69])])),await _0x360712()?_0xcbb06c()?_0x51851c()?_0x280c0a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x94b5e4()?(_0x50f348[_0x280c0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x280c0a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x552343=_0x59b338(_0x280c0a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4819f9()):_0x280c0a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x280c0a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x280c0a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x280c0a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x51851c(){const _0x337f1c=[_0x280c0a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x280c0a([0x74,0x72,0x69,0x61,0x6c])][_0x280c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50f348[_0x280c0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5621fe/0x3e8:0xe10*_0x41200b;return _0x50f348[_0x280c0a([0x65,0x78,0x70])]<_0x337f1c;}function _0xcbb06c(){const _0x46face=_0x50f348[_0x280c0a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46face&&(!!_0x46face[_0x280c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280c0a([0x2a]))||!!_0x46face[_0x280c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280c0a([0x4c,0x48])));}function _0x94b5e4(){const _0x315073=_0x2c06,_0xf3376f=_0x50f348[_0x280c0a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf3376f||0x0==_0xf3376f[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5f55af}=new URL(window[_0x280c0a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x315073(0x188)]);if(_0xf3376f[_0x280c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f55af))return!0x0;const _0x29ba5f=_0x5f55af[_0x280c0a([0x73,0x70,0x6c,0x69,0x74])](_0x280c0a([0x2e]));return _0xf3376f[_0x280c0a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5178d1=>_0x5178d1[_0x280c0a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x280c0a([0x2a])))[_0x280c0a([0x6d,0x61,0x70])](_0x598931=>_0x598931[_0x280c0a([0x73,0x70,0x6c,0x69,0x74])](_0x280c0a([0x2e])))[_0x280c0a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x371eaa=>_0x371eaa[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29ba5f[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x280c0a([0x6d,0x61,0x70])](_0x4c2c11=>Array(_0x29ba5f[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c2c11[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x280c0a([0x66,0x69,0x6c,0x6c])](_0x4c2c11[0x0]===_0x280c0a([0x2a])?_0x280c0a([0x2a]):'')[_0x280c0a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c2c11))[_0x280c0a([0x73,0x6f,0x6d,0x65])](_0x1ca6fc=>_0x29ba5f[_0x280c0a([0x65,0x76,0x65,0x72,0x79])]((_0x50e238,_0x3f5899)=>_0x1ca6fc[_0x3f5899]===_0x50e238||_0x1ca6fc[_0x3f5899]===_0x280c0a([0x2a])));}function _0x4819f9(){return _0x552343&&_0x4abd50?new window[(_0x280c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45a20a,_0x2c2d3b)=>{_0x552343[_0x280c0a([0x74,0x68,0x65,0x6e])](_0x45a20a,_0x2c2d3b),_0x4abd50[_0x280c0a([0x74,0x68,0x65,0x6e])](_0x34a26f=>{_0x34a26f!=_0x280c0a([0x56,0x61,0x6c,0x69,0x64])&&_0x45a20a(_0x34a26f);},_0x2c2d3b);}):_0x552343||_0x4abd50||_0x280c0a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x555634(_0x530517,_0x3962ec){return new window[(_0x280c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x652a70=>{if(_0x32bc81())return _0x652a70(_0x280c0a([0x56,0x61,0x6c,0x69,0x64]));_0x1bfafa(),_0x43f80e[_0x280c0a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x280c0a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x11a23a=!0x1;const _0x2394f6=_0x35d6d2();function _0x19c446(_0x82a501){return!!_0x82a501&&(typeof _0x82a501===_0x280c0a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x82a501===_0x280c0a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x82a501[_0x280c0a([0x74,0x68,0x65,0x6e])]===_0x280c0a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x82a501[_0x280c0a([0x63,0x61,0x74,0x63,0x68])]===_0x280c0a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45c023(_0x441e43){_0x417232(_0x441e43)[_0x280c0a([0x74,0x68,0x65,0x6e])](_0x3a6938=>{if(!_0x3a6938||_0x3a6938[_0x280c0a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x280c0a([0x6f,0x6b]))return _0x280c0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49c66f(_0x5bb58f(_0x2394f6+_0x3962ec))!=_0x3a6938[_0x280c0a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x280c0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x280c0a([0x56,0x61,0x6c,0x69,0x64]);})[_0x280c0a([0x74,0x68,0x65,0x6e])](_0x34b95f=>(_0x549ce3(),_0x34b95f),()=>{const _0x2e0afc=_0x5070b9();return null==_0x2e0afc?(_0x549ce3(),_0x280c0a([0x56,0x61,0x6c,0x69,0x64])):_0x280c0a(_0x5621fe-_0x2e0afc>(0x61d15615^_0x46e4fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x280c0a([0x74,0x68,0x65,0x6e])](_0x652a70)[_0x280c0a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x652a70(_0x280c0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54681a=0x45eb3c95^_0x46e4fd;function _0x549ce3(){const _0x86781d=_0x280c0a([0x6c,0x6c,0x63,0x74,0x2d])+_0x49c66f(_0x5bb58f(_0x530517)),_0x51d2cf=_0x41daca(_0x49c66f(window[_0x280c0a([0x4d,0x61,0x74,0x68])][_0x280c0a([0x63,0x65,0x69,0x6c])](_0x5621fe/_0x54681a)));window[_0x280c0a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x280c0a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x86781d,_0x51d2cf);}function _0x5070b9(){const _0x6e186c=_0x280c0a([0x6c,0x6c,0x63,0x74,0x2d])+_0x49c66f(_0x5bb58f(_0x530517)),_0xe351f3=window[_0x280c0a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x280c0a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6e186c);return _0xe351f3?window[_0x280c0a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41daca(_0xe351f3),0x10)*_0x54681a:null;}function _0x417232(_0x40a913){return new window[(_0x280c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd8c97,_0x7e3846)=>{_0x40a913[_0x280c0a([0x74,0x68,0x65,0x6e])](_0xd8c97,_0x7e3846),window[_0x280c0a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7e3846,0x45dc06d5^_0x46e4fd);});}}_0x43f80e[_0x280c0a([0x6f,0x6e])](_0x280c0a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29411c,_0x98459c)=>{if(_0x98459c[0x0]!=_0x530517)return _0x652a70(_0x280c0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x98459c[0x1]={..._0x98459c[0x1],[_0x280c0a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2394f6};},{[_0x280c0a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x280c0a([0x68,0x69,0x67,0x68])}),_0x43f80e[_0x280c0a([0x6f,0x6e])](_0x280c0a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb4c194=>{_0x19c446(_0xb4c194[_0x280c0a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x11a23a=!0x0,_0x45c023(_0xb4c194[_0x280c0a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x280c0a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x280c0a([0x6c,0x6f,0x77])}),_0x4f3e38[_0x280c0a([0x74,0x68,0x65,0x6e])](()=>{_0x11a23a||_0x652a70(_0x280c0a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32bc81(){return _0x43f80e[_0x280c0a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x280c0a([0x76,0x69,0x65,0x77])][_0x280c0a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x280c0a([0x61,0x75,0x74,0x6f]);}function _0x1bfafa(){_0x43f80e[_0x280c0a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x280c0a([0x76,0x69,0x65,0x77])][_0x280c0a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x280c0a([0x61,0x75,0x74,0x6f]);}}function _0x59b338(_0x34b4df){const _0x1468ee=[new window[(_0x280c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cd042=>setTimeout(_0x4cd042,0x45d4ecd9^_0x46e4fd)),_0x4f3e38[_0x280c0a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x280c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56f78d=>{let _0x45c223=0x0;_0x43f80e[_0x280c0a([0x6d,0x6f,0x64,0x65,0x6c])][_0x280c0a([0x6f,0x6e])](_0x280c0a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4cf834,_0x4390cd)=>{_0x4390cd[0x0][_0x280c0a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45c223++,_0x45c223==(0x45ddd7fd^_0x46e4fd)&&(_0x56f78d(),_0x4cf834[_0x280c0a([0x6f,0x66,0x66])]());});}))];return window[_0x280c0a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x280c0a([0x72,0x61,0x63,0x65])](_0x1468ee)[_0x280c0a([0x74,0x68,0x65,0x6e])](()=>_0x34b4df);}async function _0x3225e3(){await _0x4f3e38,_0x43f80e[_0x280c0a([0x6d,0x6f,0x64,0x65,0x6c])][_0x280c0a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x38bd5b,_0x43f80e[_0x280c0a([0x6d,0x6f,0x64,0x65,0x6c])][_0x280c0a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x38bd5b,_0x43f80e[_0x280c0a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x280c0a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1146c9(_0x3f53ef){const _0x4d0987=_0x53d476();_0x43f80e[_0x4d0987]=_0x280c0a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f53ef,_0x3f53ef!=_0x280c0a([0x56,0x61,0x6c,0x69,0x64])&&_0x3225e3();}function _0x53d476(){const _0x528f21=window[_0x280c0a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x280c0a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x280c0a([0x6e,0x6f,0x77])]())[_0x280c0a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x280c0a([0x2e]),'');let _0x2cbf8b=_0x280c0a([0x50]);for(let _0x10963c=0x0;_0x10963c<_0x528f21[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10963c+=0x2){let _0x205562=window[_0x280c0a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x528f21[_0x280c0a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10963c,_0x10963c+0x2));_0x205562>=_0x1f6b4e[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x205562-=_0x1f6b4e[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2cbf8b+=_0x1f6b4e[_0x205562];}return _0x2cbf8b;}function _0x1cb326(){const _0x41feae=_0x4edff9[_0x280c0a([0x73,0x70,0x6c,0x69,0x74])](_0x280c0a([0x2e]));if(0x3!=_0x41feae[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f6360(_0x41feae[0x1]);function _0x4f6360(_0x24f743){const _0x4288f7=_0x28a062(_0x24f743);return _0x4288f7&&_0x4ceb65()?_0x4288f7:null;function _0x4ceb65(){const _0x41b5ae=_0x4288f7[_0x280c0a([0x6a,0x74,0x69])],_0x5d3a7f=window[_0x280c0a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41b5ae[_0x280c0a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41b5ae[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42741f={..._0x4288f7,[_0x280c0a([0x6a,0x74,0x69])]:_0x41b5ae[_0x280c0a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41b5ae[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42741f[_0x280c0a([0x76,0x63])],_0x5bb58f(_0x42741f)==_0x5d3a7f;}}}async function _0x360712(){let _0x375eae=!0x0;try{const _0x4d858a=_0x4edff9[_0x280c0a([0x73,0x70,0x6c,0x69,0x74])](_0x280c0a([0x2e])),[_0x2f74f4,_0x4b2050,_0x1a3103]=_0x4d858a;return _0x5059cb(_0x2f74f4),await _0x1649b2(_0x2f74f4,_0x4b2050,_0x1a3103),_0x375eae;}catch{return!0x1;}function _0x5059cb(_0x2b2457){const _0x2fc905=_0x28a062(_0x2b2457);_0x2fc905&&_0x2fc905[_0x280c0a([0x61,0x6c,0x67])]==_0x280c0a([0x45,0x53,0x32,0x35,0x36])||(_0x375eae=!0x1);}async function _0x1649b2(_0x262a82,_0x519919,_0x511130){const _0x3f580d=window[_0x280c0a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x280c0a([0x66,0x72,0x6f,0x6d])](_0x38ac71(_0x511130),_0x42c4ef=>_0x42c4ef[_0x280c0a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22e875=new window[(_0x280c0a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x280c0a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x262a82+_0x280c0a([0x2e])+_0x519919),_0x252438=window[_0x280c0a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x280c0a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x252438)return;const _0x525159=await _0x252438[_0x280c0a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x280c0a([0x6a,0x77,0x6b]),_0x38d65a,{[_0x280c0a([0x6e,0x61,0x6d,0x65])]:_0x280c0a([0x45,0x43,0x44,0x53,0x41]),[_0x280c0a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x280c0a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x280c0a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x252438[_0x280c0a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x280c0a([0x6e,0x61,0x6d,0x65])]:_0x280c0a([0x45,0x43,0x44,0x53,0x41]),[_0x280c0a([0x68,0x61,0x73,0x68])]:{[_0x280c0a([0x6e,0x61,0x6d,0x65])]:_0x280c0a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x525159,_0x3f580d,_0x22e875)||(_0x375eae=!0x1);}}function _0x28a062(_0x193ca7){return _0x193ca7[_0x280c0a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x280c0a([0x65,0x79]))?JSON[_0x280c0a([0x70,0x61,0x72,0x73,0x65])](_0x38ac71(_0x193ca7)):null;}function _0x38ac71(_0x12fa6f){return window[_0x280c0a([0x61,0x74,0x6f,0x62])](_0x12fa6f[_0x280c0a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x280c0a([0x2b]))[_0x280c0a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x280c0a([0x2f])));}function _0x5bb58f(_0xdb41e6){let _0x2f3474=0x1505;function _0x5c6f92(_0x345dac){for(let _0x45556a=0x0;_0x45556a<_0x345dac[_0x280c0a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45556a++){const _0x40dd93=_0x345dac[_0x280c0a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45556a);_0x2f3474=(_0x2f3474<<0x5)+_0x2f3474+_0x40dd93,_0x2f3474&=_0x2f3474;}}function _0x3f03e8(_0x18b2d2){Array[_0x280c0a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18b2d2)?_0x18b2d2[_0x280c0a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f03e8):_0x18b2d2&&typeof _0x18b2d2==_0x280c0a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x280c0a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18b2d2)[_0x280c0a([0x73,0x6f,0x72,0x74])]()[_0x280c0a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x104387,_0x22c3fc])=>{_0x5c6f92(_0x104387),_0x3f03e8(_0x22c3fc);}):_0x5c6f92(window[_0x280c0a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18b2d2));}return _0x3f03e8(_0xdb41e6),_0x2f3474>>>0x0;}function _0x49c66f(_0x4d52ae){return _0x4d52ae[_0x280c0a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x280c0a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x280c0a([0x30]));}function _0x41daca(_0x19482c){return _0x19482c[_0x280c0a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x280c0a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x280c0a([0x6a,0x6f,0x69,0x6e])]('');}function _0x38bd5b(){}function _0x280c0a(_0x47ad45){const _0x217ed3=_0x2c06;return _0x47ad45[_0x217ed3(0x1a2)](_0x424ac5=>String[_0x217ed3(0x1a4)](_0x424ac5))[_0x217ed3(0x182)]('');}_0x1146c9(await _0x2d9cea());}(this);}[_0x34b6fb(0x1ae)](){const _0x280c4b=_0x34b6fb,_0x24df20=this[_0x280c4b(0x1a9)];if(!_0x24df20[_0x280c4b(0x187)][_0x280c4b(0x185)](_0x280c4b(0x19f)))return;const _0x2dcb82=_0x24df20[_0x280c4b(0x187)][_0x280c4b(0x185)](_0x280c4b(0x18f))[_0x280c4b(0x189)](_0x3dcc8e=>_0x280c4b(0x18c)==typeof _0x3dcc8e&&(!_0x1fe407(_0x3dcc8e)&&isNaN(Number(_0x3dcc8e))));if(_0x2dcb82[_0x280c4b(0x18a)])throw new _0x2131c8(_0x280c4b(0x194),null,{'namedPresets':_0x2dcb82});}[_0x34b6fb(0x1b2)](){const _0x50426d=_0x34b6fb,_0x4e1357=this[_0x50426d(0x1a9)],_0x28b2b1=this[_0x50426d(0x1a9)][_0x50426d(0x187)][_0x50426d(0x185)](_0x50426d(0x1ac));_0x4e1357[_0x50426d(0x186)][_0x50426d(0x1a3)](_0x50426d(0x199))[_0x50426d(0x17d)]({'model':{'key':_0x50426d(0x1a0)},'view':_0x521a46=>String(_0x521a46)===String(_0x28b2b1)?null:{'key':_0x50426d(0x1a5),'value':{'line-height':_0x521a46}}}),_0x4e1357[_0x50426d(0x186)][_0x50426d(0x1a3)](_0x50426d(0x190))[_0x50426d(0x17d)]({'model':{'key':_0x50426d(0x1a0),'value':_0xf64855=>{const _0x22b72e=_0x50426d;let _0x5a05b4=_0xf64855[_0x22b72e(0x19a)](_0x22b72e(0x1a8));return _0xa30318(_0x5a05b4)&&(_0x5a05b4=String(Number(_0x5a05b4[_0x22b72e(0x184)](0x0,-0x1))/0x64)),String(_0x5a05b4)===String(_0x28b2b1)?null:_0x5a05b4;}},'view':{'styles':{'line-height':/.*/}}});}[_0x34b6fb(0x18b)](){const _0x144eaf=_0x34b6fb,_0x4b7772=this[_0x144eaf(0x1a9)],_0x49f7fe=this[_0x144eaf(0x1a9)][_0x144eaf(0x187)][_0x144eaf(0x185)](_0x144eaf(0x1ac)),_0x50f3dd=_0x4480a6(this[_0x144eaf(0x1a9)][_0x144eaf(0x187)][_0x144eaf(0x185)](_0x144eaf(0x1a0)))[_0x144eaf(0x189)](_0x1ca1fc=>_0x1ca1fc[_0x144eaf(0x1a7)]),_0xdb0cb7=_0x10ed21(_0x144eaf(0x1a0),_0x50f3dd);_0x4b7772[_0x144eaf(0x186)][_0x144eaf(0x17d)](_0xdb0cb7),_0x4b7772[_0x144eaf(0x186)][_0x144eaf(0x1a3)](_0x144eaf(0x190))[_0x144eaf(0x17d)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x144eaf(0x1a0),'value':_0x4b9f6a=>{const _0x3ee9d8=_0x144eaf;let _0x29c785=_0x4b9f6a[_0x3ee9d8(0x19a)](_0x3ee9d8(0x1a8));return _0xa30318(_0x29c785)&&(_0x29c785=String(Number(_0x29c785[_0x3ee9d8(0x184)](0x0,-0x1))/0x64)),_0x29c785===String(_0x49f7fe)?null:_0xdb0cb7[_0x3ee9d8(0x1a7)][_0x3ee9d8(0x18d)][_0x3ee9d8(0x1ad)](_0x29c785)?_0x29c785:null;}}});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module line-height/lineheightui
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from '
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
import '../theme/lineheight.css';
|
|
10
10
|
/**
|
|
11
11
|
* The line height UI plugin. It introduces the `'lineHeight'` dropdown.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, 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
|
+
import{Plugin as _0x5aa435}from'ckeditor5/src/core.js';import{addListToDropdown as _0x77225b,createDropdown as _0x347a43,MenuBarMenuListItemButtonView as _0x32408a,MenuBarMenuListItemView as _0xe85036,MenuBarMenuListView as _0x47c8f0,MenuBarMenuView as _0xd2caa9,UIModel as _0x445ed3}from'ckeditor5/src/ui.js';import{Collection as _0x34f43f}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x2ba951}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x32f38a}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x5aa435{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x45f5dc={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x45f5dc),this['_registerMenuBarComponent'](_0x45f5dc),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb7a898=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b2f6f;for(const _0xc0c64b in _0xb7a898){const _0x3e6a4f=_0xc0c64b,_0x365fdd=_0xb7a898[_0x3e6a4f];if('lineHeightLicenseKeyValid'==_0x365fdd||'lineHeightLicenseKeyInvalid'==_0x365fdd||'lineHeightLicenseKeyExpired'==_0x365fdd||'lineHeightLicenseKeyDomainLimit'==_0x365fdd||'lineHeightLicenseKeyNotAllowed'==_0x365fdd||'lineHeightLicenseKeyEvaluationLimit'==_0x365fdd||'lineHeightLicenseKeyUsageLimit'==_0x365fdd){delete _0xb7a898[_0x3e6a4f],_0x2b2f6f=_0x365fdd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2b2f6f&&_0xb7a898['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2b2f6f&&_0xb7a898['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2b2f6f&&_0xb7a898['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2b2f6f&&_0xb7a898['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2b2f6f&&_0xb7a898['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2b2f6f&&_0xb7a898['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2a2d4f=this['editor'],t=_0x2a2d4f['t'],_0x2e2944=_0x2a2d4f['config']['get']('lineHeight'),_0x9087f1={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x32f38a(_0x2e2944)['map'](_0x210fc4=>{const _0x5bc97f=_0x9087f1[_0x210fc4['title']];return _0x5bc97f&&_0x5bc97f!=_0x210fc4['title']&&(_0x210fc4=Object['assign']({},_0x210fc4,{'title':_0x5bc97f})),_0x210fc4;});}['_prepareListOptions'](){const _0xf8a7d1=this['editor']['commands']['get']('lineHeight'),_0x410b72=this['editor']['config']['get']('lineHeight.defaultValue'),_0x8d11e4=this['_getLocalizedLineHeightOptions'](),_0x537b8f=new _0x34f43f(),_0x21f175=_0x51cbb9=>'default'===_0x51cbb9||String(_0x410b72)===_0x51cbb9;for(const _0x56e189 of _0x8d11e4){const _0x377069={'type':'button','model':new _0x445ed3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x56e189['title'],'withText':!0x0})};_0x21f175(_0x56e189['model'])?(_0x377069['model']['bind']('isOn')['to'](_0xf8a7d1,'value',_0x125ba3=>!_0x125ba3),_0x377069['model']['commandParam']=void 0x0):(_0x377069['model']['bind']('isOn')['to'](_0xf8a7d1,'value',_0x233509=>_0x233509===_0x56e189['model']),_0x377069['model']['commandParam']=_0x56e189['model']),_0x537b8f['add'](_0x377069);}if(this['_shouldRenderCustomValueOption']()){const _0x2b517b=this['_getCustomValueOptionDefinition'](_0x8d11e4);_0x537b8f['add'](_0x2b517b);}return _0x537b8f;}['_getCustomValueOptionDefinition'](_0x1dab7e){const _0x573a75=this['editor'],t=_0x573a75['t'],_0x5ca39f=_0x573a75['commands']['get']('lineHeight'),_0x5e1ed1=_0x1dab7e['map'](_0x5ddd55=>_0x5ddd55['model']),_0x3d732c={'type':'button','model':new _0x445ed3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3d732c['model']['bind']('commandParam')['to'](_0x5ca39f,'value'),_0x3d732c['model']['bind']('isOn')['to'](_0x5ca39f,'value',_0x389951=>!!_0x389951&&!_0x5e1ed1['includes'](String(_0x389951))),_0x3d732c['model']['bind']('label')['to'](_0x5ca39f,'value',_0x32f3b0=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x32f3b0))),_0x3d732c;}['_registerToolbarComponent']({accessibleLabel:_0x543760,options:_0x1929e9}){const _0x43b88a=this['editor'],_0x3873bc=_0x43b88a['commands']['get']('lineHeight');_0x43b88a['ui']['componentFactory']['add']('lineHeight',_0x13a12e=>{const _0x49f7d5=_0x347a43(_0x13a12e);return _0x77225b(_0x49f7d5,_0x1929e9,{'role':'menu','ariaLabel':_0x543760}),_0x49f7d5['buttonView']['set']({'label':_0x543760,'tooltip':!0x0,'icon':_0x2ba951}),_0x49f7d5['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x49f7d5['bind']('isEnabled')['to'](_0x3873bc),this['listenTo'](_0x49f7d5,'execute',_0x8d6222=>{_0x43b88a['execute'](_0x8d6222['source']['commandName'],{'value':_0x8d6222['source']['commandParam']}),_0x43b88a['editing']['view']['focus']();}),_0x49f7d5['once']('change:isOpen',()=>{const _0x4aee10=_0x49f7d5['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x49f7d5,_0x1929e9,_0x4aee10);}),_0x49f7d5;});}['_registerMenuBarComponent']({accessibleLabel:_0x35e9cb,options:_0x508838}){const _0x468fb0=this['editor'],_0x24becd=_0x468fb0['commands']['get']('lineHeight');_0x468fb0['ui']['componentFactory']['add']('menuBar:lineHeight',_0x14117c=>{const _0x39bcc0=new _0xd2caa9(_0x14117c);_0x39bcc0['buttonView']['set']({'label':_0x35e9cb,'icon':_0x2ba951}),_0x39bcc0['bind']('isEnabled')['to'](_0x24becd);const _0x3dcf7c=new _0x47c8f0(_0x14117c);for(const _0x3a0c5f of _0x508838){const _0x26b499=new _0xe85036(_0x14117c,_0x39bcc0),_0x17f942=new _0x32408a(_0x14117c);_0x17f942['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x17f942['bind'](...Object['keys'](_0x3a0c5f['model']))['to'](_0x3a0c5f['model']),_0x17f942['delegate']('execute')['to'](_0x39bcc0),_0x17f942['on']('execute',()=>{_0x468fb0['execute'](_0x3a0c5f['model']['commandName'],{'value':_0x3a0c5f['model']['commandParam']}),_0x468fb0['editing']['view']['focus']();}),_0x26b499['children']['add'](_0x17f942),_0x3dcf7c['items']['add'](_0x26b499);}return _0x39bcc0['panelView']['children']['add'](_0x3dcf7c),this['_attachCustomOptionVisibilityHandler'](_0x39bcc0,_0x508838,_0x3dcf7c),_0x39bcc0;});}['_attachCustomOptionVisibilityHandler'](_0x516722,_0x1e30f2,_0x2f15d6){if(!this['_shouldRenderCustomValueOption']())return;const _0x14e98b=()=>{if(!_0x516722['isOpen'])return;_0x2f15d6['items']['last']['isVisible']=Boolean(_0x1e30f2['last']['model']['isOn']);};_0x14e98b(),_0x516722['on']('change:isOpen',()=>{_0x14e98b();});}}
|
package/src/utils.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, 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
|
+
(function(_0x160f58,_0x29214f){const _0x4d38bb=_0x31de,_0x2e7f24=_0x160f58();while(!![]){try{const _0x3169fc=parseInt(_0x4d38bb(0x125))/0x1*(-parseInt(_0x4d38bb(0x118))/0x2)+parseInt(_0x4d38bb(0x122))/0x3*(parseInt(_0x4d38bb(0x11a))/0x4)+parseInt(_0x4d38bb(0x113))/0x5*(parseInt(_0x4d38bb(0x11c))/0x6)+parseInt(_0x4d38bb(0x115))/0x7*(-parseInt(_0x4d38bb(0x132))/0x8)+-parseInt(_0x4d38bb(0x117))/0x9*(parseInt(_0x4d38bb(0x123))/0xa)+parseInt(_0x4d38bb(0x136))/0xb*(-parseInt(_0x4d38bb(0x116))/0xc)+parseInt(_0x4d38bb(0x12f))/0xd;if(_0x3169fc===_0x29214f)break;else _0x2e7f24['push'](_0x2e7f24['shift']());}catch(_0x5d62a3){_0x2e7f24['push'](_0x2e7f24['shift']());}}}(_0x3aa4,0x38de5));const v={get 'single'(){const _0x5eb00a=_0x31de;return{'title':_0x5eb00a(0x128),'model':_0x5eb00a(0x129),'view':{'key':_0x5eb00a(0x121),'value':_0x5eb00a(0x12e)}};},get 'double'(){const _0x18e9a3=_0x31de;return{'title':_0x18e9a3(0x135),'model':_0x18e9a3(0x120),'view':{'key':_0x18e9a3(0x121),'value':_0x18e9a3(0x12b)}};}};export function isLineHeightDefaultValue(_0xfb9064){const _0x217bda=_0x31de;return _0x217bda(0x119)==typeof _0xfb9064&&_0x217bda(0x131)===_0xfb9064[_0x217bda(0x130)]();}export function normalizeOptions(_0x5c87bf){const _0xee5e33=_0x31de;return _0x5c87bf[_0xee5e33(0x126)][_0xee5e33(0x114)](_0x5e24ce=>isLineHeightDefaultValue(_0x5e24ce)?{'title':String(_0x5c87bf[_0xee5e33(0x11f)]),'model':_0xee5e33(0x131)}:(_0xee5e33(0x12c)==typeof _0x5e24ce&&(_0x5e24ce=String(_0x5e24ce)),_0xee5e33(0x119)!=typeof _0x5e24ce?_0x5e24ce:parseFloat(_0x5e24ce)?{'title':_0x5e24ce,'model':_0x5e24ce,'view':{'name':_0xee5e33(0x124),'styles':{'line-height':_0x5e24ce}}}:findPreset(_0x5e24ce)))[_0xee5e33(0x112)](_0x486d0b=>void 0x0!==_0x486d0b);}function _0x31de(_0x4c3d40,_0x57b2a0){const _0x3aa445=_0x3aa4();return _0x31de=function(_0x31de35,_0x5b60ce){_0x31de35=_0x31de35-0x112;let _0x31672c=_0x3aa445[_0x31de35];return _0x31672c;},_0x31de(_0x4c3d40,_0x57b2a0);}export function findPreset(_0x374bfd){const _0x1c5f7a=_0x31de;return _0x1c5f7a(0x119)==typeof _0x374bfd?v[_0x374bfd]:v[_0x374bfd[_0x1c5f7a(0x12a)]];}function _0x3aa4(){const _0x35cbc7=['78655HyuJSR','map','7POGWVp','4764mihDoM','87651HeUqBd','4FMmAXw','string','68LdgzLz','values','168VeQXqB','style','key','defaultValue','double','class','62367yQHCxy','220WjfdLu','span','20994ljKSxr','options','push','Single','single','model','line-height-double','number','line-height:','line-height-single','2873728mZVVtt','toLowerCase','default','2481496oCagSG','view','value','Double','5973zPrcQL','filter'];_0x3aa4=function(){return _0x35cbc7;};return _0x3aa4();}export function buildDefinition(_0x2f78bb,_0x1781ba){const _0x595262=_0x31de,_0x450dbe={'model':{'key':_0x2f78bb,'values':[]},'view':{}};for(const _0x47cabe of _0x1781ba)_0x595262(0x121)===_0x47cabe[_0x595262(0x133)]?.[_0x595262(0x11e)]?(_0x450dbe[_0x595262(0x12a)][_0x595262(0x11b)][_0x595262(0x127)](_0x47cabe[_0x595262(0x12a)]),_0x450dbe[_0x595262(0x133)][_0x47cabe[_0x595262(0x12a)]]={'key':_0x595262(0x121),'value':_0x47cabe[_0x595262(0x133)][_0x595262(0x134)]}):(_0x450dbe[_0x595262(0x12a)][_0x595262(0x11b)][_0x595262(0x127)](_0x47cabe[_0x595262(0x12a)]),_0x450dbe[_0x595262(0x133)][_0x47cabe[_0x595262(0x12a)]]={'key':_0x595262(0x11d),'value':_0x595262(0x12d)+_0x47cabe[_0x595262(0x12a)]+';'});return _0x450dbe;}
|
|
@@ -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-2026, 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
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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-2026, 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
|
+
.ck-content .line-height-single {
|
|
11
|
+
line-height: 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ck-content .line-height-double {
|
|
15
|
+
line-height: 2;
|
|
16
|
+
}
|
|
File without changes
|
/package/{dist → src}/index.d.ts
RENAMED
|
File without changes
|
/package/{dist → src}/utils.d.ts
RENAMED
|
File without changes
|