@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250709.0 → 0.0.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 CHANGED
@@ -1,18 +1,18 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor&nbsp;5 Line height feature** (https://ckeditor.com/ckeditor-5/)<br>
4
+ **CKEditor 5 Line height feature** https://github.com/ckeditor/ckeditor5 <br>
5
5
  Copyright (c) 2003–2025, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
- CKEditor&nbsp;5 Line height feature is licensed under a commercial license and is protected by copyright law.
7
+ CKEditor 5 Line height feature is licensed under a commercial license and is protected by copyright law.
8
8
  For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
9
9
 
10
- Sources of Intellectual Property Included in CKEditor&nbsp;5 Line height feature
11
- --------------------------------------------------------------------------------
10
+ Sources of Intellectual Property Included in CKEditor
11
+ -----------------------------------------------------
12
12
 
13
- Where not otherwise indicated, all CKEditor&nbsp;5 Line height feature content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
13
+ Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
14
14
 
15
15
  Trademarks
16
16
  ----------
17
17
 
18
- **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
18
+ **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com). All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
package/README.md CHANGED
@@ -1,45 +1,4 @@
1
- CKEditor 5 line height feature
2
- ===========================
1
+ CKEditor 5 Line height
2
+ ======================
3
3
 
4
- [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-line-height.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-line-height)
5
-
6
- This package contains the Line height feature for CKEditor&nbsp;5. It lets you adjust the vertical spacing between lines of text, controlling how tightly or loosely text is packed within paragraphs.
7
-
8
- This is a premium feature. Sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free), or see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing) for more information.
9
-
10
- ## Installation
11
-
12
- This plugin is part of the `ckeditor5-premium-features` package. Install the whole package to use it.
13
-
14
- ```bash
15
- npm install ckeditor5-premium-features
16
- ```
17
-
18
- ## Create free account
19
-
20
- If you want to check full CKEditor&nbsp;5 capabilities, sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free).
21
-
22
- ## Demo
23
-
24
- Check out the demo in the [line height feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/line-height.html#demo).
25
-
26
- ## Documentation
27
-
28
- See the [`@ckeditor/ckeditor5-line-height` package](https://ckeditor.com/docs/ckeditor5/latest/api/line-height.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
29
-
30
- ## Getting support
31
-
32
- The CKEditor&nbsp;5 Line height feature comes with outstanding support from a dedicated team of customer care specialists, QA engineers, and CKEditor&nbsp;5 developers. The team will gladly assist you in all aspects from setting up your account to integrating the CKEditor&nbsp;5 Line height feature with your application.
33
-
34
- As a licensed CKEditor&nbsp;5 Line height feature user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
35
-
36
- ## License
37
-
38
- **CKEditor&nbsp;5 Line height feature** (https://ckeditor.com/ckeditor-5/)<br>
39
- Copyright (c) 2003–2025, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
40
-
41
- CKEditor&nbsp;5 Line height feature is licensed under a commercial license and is protected by copyright law. For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
42
-
43
- ### Trademarks
44
-
45
- **CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
4
+ This is an initial package for development purposes. It does not contain code yet.
package/package.json CHANGED
@@ -1,66 +1,14 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-line-height",
3
- "version": "0.0.0-nightly-20250709.0",
4
- "description": "Line height feature for CKEditor 5.",
3
+ "version": "0.0.1",
5
4
  "keywords": [
6
5
  "ckeditor",
7
6
  "ckeditor5",
8
7
  "ckeditor 5",
9
- "ckeditor5-feature",
10
- "ckeditor5-plugin",
11
- "ckeditor5-dll"
8
+ "ckeditor5-lib"
12
9
  ],
13
- "type": "module",
14
- "main": "src/index.js",
15
- "dependencies": {
16
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250709.0",
17
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250709.0",
18
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250709.0",
19
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250709.0",
20
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250709.0",
21
- "ckeditor5": "0.0.0-nightly-20250709.0"
22
- },
23
- "license": "SEE LICENSE IN LICENSE.md",
24
- "author": "CKSource (https://cksource.com/)",
10
+ "author": "CKSource (http://cksource.com/)",
11
+ "license": "GPL-2.0-or-later",
25
12
  "homepage": "https://ckeditor.com/ckeditor-5",
26
- "bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
27
- "files": [
28
- "dist",
29
- "lang",
30
- "src/**/*.js",
31
- "src/**/*.d.ts",
32
- "theme",
33
- "build",
34
- "ckeditor5-metadata.json",
35
- "CHANGELOG.md"
36
- ],
37
- "sideEffects": [
38
- "*.css",
39
- "build/**/*.js",
40
- "dist/translations/*.umd.js"
41
- ],
42
- "types": "src/index.d.ts",
43
- "exports": {
44
- ".": {
45
- "types": "./src/index.d.ts",
46
- "import": "./src/index.js",
47
- "default": "./src/index.js"
48
- },
49
- "./dist/*": {
50
- "types": "./src/index.d.ts",
51
- "import": "./dist/*",
52
- "default": "./dist/*"
53
- },
54
- "./src/*": {
55
- "types": "./src/*.d.ts",
56
- "import": "./src/*",
57
- "default": "./src/*"
58
- },
59
- "./build/*": "./build/*",
60
- "./lang/*": "./lang/*",
61
- "./theme/*": "./theme/*",
62
- "./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
63
- "./package.json": "./package.json"
64
- },
65
- "obfuscated": true
13
+ "bugs": "https://github.com/ckeditor/ckeditor5/issues"
66
14
  }
package/CHANGELOG.md DELETED
@@ -1,4 +0,0 @@
1
- Changelog
2
- =========
3
-
4
- All changes in the package are documented in https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
@@ -1,4 +0,0 @@
1
- /*!
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md.
4
- */(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>N,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>P});var e=n(782),t=n(584);const r=s;function o(){const e=["model","value","setAttribute","870wcJNXT","change","9351139mlcdCq","10SAsgsY","isEnabled","getAttribute","selection","refresh","40YxfqhC","checkAttribute","document","from","execute","3344568GrqVKS","28998ypxILr","editor","_canHaveLineHeight","getSelectedBlocks","removeAttribute","filter","3fHxOSz","6180977kzxgoT","lineHeight","2764618lSMiey","1364459CbLcVL","schema","1893969ldtuQe"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=235]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(925393===parseInt(t(240))/1+parseInt(t(239))/2*(parseInt(t(236))/3)+-parseInt(t(259))/4+-parseInt(t(246))/5*(-parseInt(t(260))/6)+-parseInt(t(248))/7+-parseInt(t(254))/8*(parseInt(t(242))/9)+-parseInt(t(249))/10*(-parseInt(t(237))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(253)](){const e=r,n=this[e(261)][e(243)][e(256)],i=(0,t.first)(n[e(252)][e(263)]());this[e(250)]=Boolean(i)&&this[e(262)](i),this[e(244)]=this[e(250)]&&i[e(251)](e(238))}[r(258)](e={}){const t=r,n=this[t(261)][t(243)],i=n[t(256)][t(252)],o=e[t(244)];n[t(247)](e=>{const n=t,r=Array[n(257)](i[n(263)]())[n(235)](e=>this[n(262)](e));for(const t of r)o?e[n(245)](n(238),o,t):e[n(264)](n(238),t)})}[r(262)](e){const t=r;return this[t(261)][t(243)][t(241)][t(255)](e,t(238))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(171937===parseInt(t(130))/1+parseInt(t(109))/2+-parseInt(t(104))/3+-parseInt(t(133))/4*(parseInt(t(134))/5)+parseInt(t(128))/6*(-parseInt(t(123))/7)+-parseInt(t(108))/8*(parseInt(t(124))/9)+parseInt(t(131))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(u);const l={get single(){const e=h;return{title:e(129),model:e(117),view:{key:e(105),value:e(113)}}},get double(){const e=h;return{title:e(118),model:e(122),view:{key:e(105),value:e(121)}}}};function u(){const e=["56EOeOtA","104408KICeEI","line-height:","map","string","line-height-single","view","value","number","single","Double","values","toLowerCase","line-height-double","double","16541OvJGGi","99837BqFfGc","model","style","push","474xbfljB","Single","220592eSDdJU","6120220kGMDNP","key","12qwZrIm","463135WHBUZt","default","options","filter","512016WZcRQx","class","span","defaultValue"];return(u=function(){return e})()}function d(e){const t=h;return t(112)==typeof e&&t(135)===e[t(120)]()}function h(e,t){const n=u();return(h=function(e,t){return n[e-=102]})(e,t)}function f(e){const t=h;return e[t(102)][t(111)](n=>d(n)?{title:String(e[t(107)]),model:t(135)}:(t(116)==typeof n&&(n=String(n)),t(112)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(106),styles:{"line-height":n}}}:function(e){const t=h;return t(112)==typeof e?l[e]:l[e[t(125)]]}(n)))[t(103)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=370]})(e,t)}function m(){const e=["85IhOXKP","values","upcast","for","41530iimYor","lineHeight.defaultValue","config","lineHeight.supportAllValues","6qUInie","2080072QIQnLs","downcast","editor","$block","schema","20ckrhIP","join","lineHeight","model","conversion","length","6665481GlmjFF","style","init","filter","fromCharCode","define","includes","extend","LineHeightEditing","_prepareAnyValueConverters","commands","string","map","get","attributeToAttribute","_preparePredefinedConverters","105924XbvNCF","line-height-invalid-use-of-named-presets","_validateConfig","pluginName","isOfficialPlugin","setAttributeProperties","afterInit","838164TfpnAV","line-height","lineHeight.options","372044ZsoTar","default","href","isPremiumPlugin","slice","7ywFTRj","add","2472899sDTFGv","getStyle"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(473169===parseInt(t(372))/1+-parseInt(t(414))/2*(-parseInt(t(376))/3)+-parseInt(t(411))/4+-parseInt(t(423))/5*(-parseInt(t(404))/6)+parseInt(t(419))/7*(parseInt(t(377))/8)+-parseInt(t(388))/9+parseInt(t(382))/10*(parseInt(t(421))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(407)](){return p(396)}static get[p(408)](){return!0}static get[p(417)](){return!0}constructor(e){const t=p;super(e),e[t(374)][t(393)](t(384),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(415),2,2.5,3]})}[p(390)](){const e=p,t=this[e(379)];this[e(406)](),t[e(385)][e(381)][e(395)](e(380),{allowAttributes:e(384)}),t[e(385)][e(381)][e(409)](e(384),{isFormatting:!0}),t[e(398)][e(420)](e(384),new a(t)),this[e(379)][e(374)][e(401)](e(375))?this[e(397)]():this[e(403)]()}[p(410)](){!async function(e){const n=m([76,69,86,65,107,82,51,81,110,52,103,74,99,109,101,89,112,88,119,66,50,111,72,87,114,57,85,113,48,49,67,117,120,78,104,79,55,71,56,105,68,108,83,98,97,80,54,77,106,116,115,90,84,100,122,70,73,121,102,53,75,118]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function l(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(e)):null}function u(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(400)](e=>String[t(392)](e))[t(383)]("")}!function(e){const t=function(){const e=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let t=m([76]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(u+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:u}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(l=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{l||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](u(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1752019200;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(416)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(406)](){const e=p,n=this[e(379)];if(!n[e(374)][e(401)](e(375)))return;const i=n[e(374)][e(401)](e(413))[e(391)](t=>e(399)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(387)])throw new t.CKEditorError(e(405),null,{namedPresets:i})}[p(397)](){const e=p,t=this[e(379)],n=this[e(379)][e(374)][e(401)](e(373));t[e(386)][e(371)](e(378))[e(402)]({model:{key:e(384)},view:t=>String(t)===String(n)?null:{key:e(389),value:{"line-height":t}}}),t[e(386)][e(371)](e(370))[e(402)]({model:{key:e(384),value:t=>{const i=e;let r=t[i(422)](i(412));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(418)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(403)](){const e=p,t=this[e(379)],n=this[e(379)][e(374)][e(401)](e(373)),i=f(this[e(379)][e(374)][e(401)](e(384)))[e(391)](t=>t[e(385)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(105)===e[n(114)]?.[n(132)]?(i[n(125)][n(119)][n(127)](e[n(125)]),i[n(114)][e[n(125)]]={key:n(105),value:e[n(114)][n(115)]}):(i[n(125)][n(119)][n(127)](e[n(125)]),i[n(114)][e[n(125)]]={key:n(126),value:n(110)+e[n(125)]+";"});return i}(e(384),i);t[e(386)][e(402)](r),t[e(386)][e(371)](e(370))[e(402)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(384),value:t=>{const i=e;let o=t[i(422)](i(412));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(418)](0,-1))/100)),o===String(n)?null:r[i(385)][i(424)][i(394)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),C=n.n(_),x=n(667),O=n.n(x),E=n(357),S=n.n(E),k=n(422),A={attributes:{"data-cke":!0}};A.setAttributes=O(),A.insert=C().bind(null,"head"),A.domAPI=H(),A.insertStyleElement=S();b()(k.A,A);k.A&&k.A.locals&&k.A.locals;class P extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var V=K;function T(){var e=["3951CDCqkq","352bnQbuI","requires","919512HaXfGa","isOfficialPlugin","87591jQwBzd","3mVxkcD","LineHeight","1474753FlPxMr","pluginName","isPremiumPlugin","293800JibVvZ","286720fqDusF","1422756kUmUAI"];return(T=function(){return e})()}function K(e,t){var n=T();return(K=function(e,t){return n[e-=164]})(e,t)}!function(e){for(var t=K,n=e();;)try{if(188221===parseInt(t(173))/1+parseInt(t(165))/2+-parseInt(t(174))/3*(-parseInt(t(167))/4)+-parseInt(t(166))/5+-parseInt(t(171))/6+-parseInt(t(176))/7+parseInt(t(169))/8*(parseInt(t(168))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class N extends e.Plugin{static get[V(170)](){return[w,P]}static get[V(177)](){return V(175)}static get[V(172)](){return!0}static get[V(164)](){return!0}}function M(e,t){var n=j();return(M=function(e,t){return n[e-=269]})(e,t)}function j(){var e=["35661qPEzVy","36bSaIAu","155996djyYms","2fpRJQA","5674384AmACEQ","1028690SLNZpJ","27861030SXgoCH","7944160ZTURtj","3881040auLaNq"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(843215===-parseInt(t(274))/1+parseInt(t(275))/2*(parseInt(t(272))/3)+parseInt(t(271))/4+parseInt(t(277))/5*(-parseInt(t(273))/6)+-parseInt(t(270))/7+-parseInt(t(276))/8+parseInt(t(269))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
@@ -1,18 +0,0 @@
1
- {
2
- "plugins": [
3
- {
4
- "name": "Line height",
5
- "className": "LineHeight",
6
- "description": "Allows setting line height for text.",
7
- "docs": "features/line-height.html",
8
- "path": "src/lineheight.js",
9
- "uiComponents": [
10
- {
11
- "name": "lineHeight",
12
- "type": "SplitButton",
13
- "iconPath": "@ckeditor/ckeditor5-icons/theme/icons/line-height.svg"
14
- }
15
- ]
16
- }
17
- ]
18
- }
@@ -1,11 +0,0 @@
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
- .ck-content .line-height-single{
6
- line-height:1;
7
- }
8
-
9
- .ck-content .line-height-double{
10
- line-height:2;
11
- }
@@ -1,5 +0,0 @@
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
-
package/dist/index.css DELETED
@@ -1,20 +0,0 @@
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
- * What you're currently looking at is the source code of a legally protected, proprietary software.
7
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
8
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
9
- *
10
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
11
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
12
- */
13
-
14
- .ck-content .line-height-single {
15
- line-height: 1;
16
- }
17
-
18
- .ck-content .line-height-double {
19
- line-height: 2;
20
- }
package/dist/index.js DELETED
@@ -1,23 +0,0 @@
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
- import{Command as _0x5a87d1,Plugin as _0x22043c}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x46e0cf,CKEditorError as _0x67013a,uid as _0x417335,Collection as _0x4e2b35}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x1f1c68}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x9369cc,createDropdown as _0x5735fd,addListToDropdown as _0x8393d1,MenuBarMenuView as _0x29d914,MenuBarMenuListView as _0x177701,MenuBarMenuListItemView as _0x3a15a9,MenuBarMenuListItemButtonView as _0x49b199}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0xa670fe}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x5a87d1{['refresh'](){const _0x4f55bb=this['editor']['model']['document'],_0x59fa0e=_0x46e0cf(_0x4f55bb['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x59fa0e)&&this['_canHaveLineHeight'](_0x59fa0e),this['value']=this['isEnabled']&&_0x59fa0e['getAttribute']('lineHeight');}['execute'](_0x1b2465={}){const _0x5698c3=this['editor']['model'],_0x4bc040=_0x5698c3['document']['selection'],_0x19fb2c=_0x1b2465['value'];_0x5698c3['change'](_0x33f3fb=>{const _0x9218fe=Array['from'](_0x4bc040['getSelectedBlocks']())['filter'](_0x45d094=>this['_canHaveLineHeight'](_0x45d094));for(const _0x476213 of _0x9218fe)_0x19fb2c?_0x33f3fb['setAttribute']('lineHeight',_0x19fb2c,_0x476213):_0x33f3fb['removeAttribute']('lineHeight',_0x476213);});}['_canHaveLineHeight'](_0x1194d2){return this['editor']['model']['schema']['checkAttribute'](_0x1194d2,'lineHeight');}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function f(_0x490331){return'string'==typeof _0x490331&&'default'===_0x490331['toLowerCase']();}function a(_0x3543dc){return _0x3543dc['options']['map'](_0x3e3f36=>{return f(_0x3e3f36)?{'title':String(_0x3543dc['defaultValue']),'model':'default'}:('number'==typeof _0x3e3f36&&(_0x3e3f36=String(_0x3e3f36)),'string'!=typeof _0x3e3f36?_0x3e3f36:parseFloat(_0x3e3f36)?{'title':_0x3e3f36,'model':_0x3e3f36,'view':{'name':'span','styles':{'line-height':_0x3e3f36}}}:'string'==typeof(_0x21547f=_0x3e3f36)?v[_0x21547f]:v[_0x21547f['model']]);var _0x21547f;})['filter'](_0x348ff1=>void 0x0!==_0x348ff1);}class e extends _0x22043c{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x484230){super(_0x484230),_0x484230['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x55f40d=this['editor'];this['_validateConfig'](),_0x55f40d['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x55f40d['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x55f40d['commands']['add']('lineHeight',new n(_0x55f40d)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x50b584){const _0x3b4e17=_0x3bd7ea([0x4c,0x45,0x56,0x41,0x6b,0x52,0x33,0x51,0x6e,0x34,0x67,0x4a,0x63,0x6d,0x65,0x59,0x70,0x58,0x77,0x42,0x32,0x6f,0x48,0x57,0x72,0x39,0x55,0x71,0x30,0x31,0x43,0x75,0x78,0x4e,0x68,0x4f,0x37,0x47,0x38,0x69,0x44,0x6c,0x53,0x62,0x61,0x50,0x36,0x4d,0x6a,0x74,0x73,0x5a,0x54,0x64,0x7a,0x46,0x49,0x79,0x66,0x35,0x4b,0x76]),_0x51c454=0x3f7712b6,_0x48c183=0x3f707fa6^_0x51c454,_0x5826b5=window[_0x3bd7ea([0x44,0x61,0x74,0x65])][_0x3bd7ea([0x6e,0x6f,0x77])](),_0x54327f=_0x50b584[_0x3bd7ea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c7fc6=new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x388ac5=>{_0x54327f[_0x3bd7ea([0x6f,0x6e,0x63,0x65])](_0x3bd7ea([0x72,0x65,0x61,0x64,0x79]),_0x388ac5);}),_0x1349aa={[_0x3bd7ea([0x6b,0x74,0x79])]:_0x3bd7ea([0x45,0x43]),[_0x3bd7ea([0x75,0x73,0x65])]:_0x3bd7ea([0x73,0x69,0x67]),[_0x3bd7ea([0x63,0x72,0x76])]:_0x3bd7ea([0x50,0x2d,0x32,0x35,0x36]),[_0x3bd7ea([0x78])]:_0x3bd7ea([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]),[_0x3bd7ea([0x79])]:_0x3bd7ea([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]),[_0x3bd7ea([0x61,0x6c,0x67])]:_0x3bd7ea([0x45,0x53,0x32,0x35,0x36])},_0xf583b6=_0x54327f[_0x3bd7ea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3bd7ea([0x67,0x65,0x74])](_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xef11de(){let _0x29e0d3,_0x2db535=null,_0x1f406b=null;try{if(_0xf583b6==_0x3bd7ea([0x47,0x50,0x4c]))return _0x3bd7ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29e0d3=_0x152d11(),!_0x29e0d3)return _0x3bd7ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29e0d3[_0x3bd7ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f406b=_0x4c40d3(_0x29e0d3[_0x3bd7ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29e0d3[_0x3bd7ea([0x6a,0x74,0x69])])),await _0x7c8e80()?_0x312f77()?_0x244284()?_0x3bd7ea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xc87fb5()?(_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bd7ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2db535=_0x49a6f7(_0x3bd7ea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3bd7ea([0x74,0x72,0x69,0x61,0x6c])&&(_0x2db535=_0x49a6f7(_0x3bd7ea([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21d418()):_0x3bd7ea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3bd7ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3bd7ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3bd7ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x244284(){const _0x39df2d=[_0x3bd7ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3bd7ea([0x74,0x72,0x69,0x61,0x6c])][_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5826b5/0x3e8:0xe10*_0x48c183;return _0x29e0d3[_0x3bd7ea([0x65,0x78,0x70])]<_0x39df2d;}function _0x312f77(){const _0x1690e8=_0x29e0d3[_0x3bd7ea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1690e8&&(!!_0x1690e8[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd7ea([0x2a]))||!!_0x1690e8[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd7ea([0x4c,0x48])));}function _0xc87fb5(){const _0x24345d=_0x29e0d3[_0x3bd7ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24345d||0x0==_0x24345d[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50b83a}=new URL(window[_0x3bd7ea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24345d[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50b83a))return!0x0;const _0x40a141=_0x50b83a[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e]));return _0x24345d[_0x3bd7ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3efa28=>_0x3efa28[_0x3bd7ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bd7ea([0x2a])))[_0x3bd7ea([0x6d,0x61,0x70])](_0x1a4363=>_0x1a4363[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e])))[_0x3bd7ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53674c=>_0x53674c[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40a141[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bd7ea([0x6d,0x61,0x70])](_0x11d9b0=>Array(_0x40a141[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11d9b0[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3bd7ea([0x66,0x69,0x6c,0x6c])](_0x11d9b0[0x0]===_0x3bd7ea([0x2a])?_0x3bd7ea([0x2a]):'')[_0x3bd7ea([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11d9b0))[_0x3bd7ea([0x73,0x6f,0x6d,0x65])](_0x133b67=>_0x40a141[_0x3bd7ea([0x65,0x76,0x65,0x72,0x79])]((_0x384119,_0x3ff513)=>_0x133b67[_0x3ff513]===_0x384119||_0x133b67[_0x3ff513]===_0x3bd7ea([0x2a])));}function _0x21d418(){return _0x2db535&&_0x1f406b?new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x263d13,_0x1f78ec)=>{_0x2db535[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x263d13,_0x1f78ec),_0x1f406b[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x5130fe=>{_0x5130fe!=_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64])&&_0x263d13(_0x5130fe);},_0x1f78ec);}):_0x2db535||_0x1f406b||_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c40d3(_0x450a88,_0x1de19c){return new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18f60d=>{if(_0x1a4135())return _0x18f60d(_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64]));_0x1ba4da(),_0x54327f[_0x3bd7ea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3bd7ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3949a6=!0x1;const _0x33ad04=_0x417335();function _0x4dc653(_0x5b44c1){return!!_0x5b44c1&&(typeof _0x5b44c1===_0x3bd7ea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b44c1===_0x3bd7ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b44c1[_0x3bd7ea([0x74,0x68,0x65,0x6e])]===_0x3bd7ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b44c1[_0x3bd7ea([0x63,0x61,0x74,0x63,0x68])]===_0x3bd7ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x306795(_0xb57d3){_0x543d57(_0xb57d3)[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x131e17=>{if(!_0x131e17||_0x131e17[_0x3bd7ea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3bd7ea([0x6f,0x6b]))return _0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x655f8a(_0x22df30(_0x33ad04+_0x1de19c))!=_0x131e17[_0x3bd7ea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64]);})[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x2b1449=>(_0x23700f(),_0x2b1449),()=>{const _0x51642c=_0x3671d1();return null==_0x51642c?(_0x23700f(),_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64])):_0x3bd7ea(_0x5826b5-_0x51642c>(0x1b7b96b6^_0x51c454)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x18f60d)[_0x3bd7ea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18f60d(_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31a344=0x3f41fc36^_0x51c454;function _0x23700f(){const _0x1494f7=_0x3bd7ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x655f8a(_0x22df30(_0x450a88)),_0x4e1276=_0x2d103f(_0x655f8a(window[_0x3bd7ea([0x4d,0x61,0x74,0x68])][_0x3bd7ea([0x63,0x65,0x69,0x6c])](_0x5826b5/_0x31a344)));window[_0x3bd7ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bd7ea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1494f7,_0x4e1276);}function _0x3671d1(){const _0x57af53=_0x3bd7ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x655f8a(_0x22df30(_0x450a88)),_0x372bff=window[_0x3bd7ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3bd7ea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57af53);return _0x372bff?window[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d103f(_0x372bff),0x10)*_0x31a344:null;}function _0x543d57(_0x3b8e5f){return new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31239b,_0x13f57c)=>{_0x3b8e5f[_0x3bd7ea([0x74,0x68,0x65,0x6e])](_0x31239b,_0x13f57c),window[_0x3bd7ea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13f57c,0x3f76c676^_0x51c454);});}}_0x54327f[_0x3bd7ea([0x6f,0x6e])](_0x3bd7ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3dea4f,_0x313527)=>{if(_0x313527[0x0]!=_0x450a88)return _0x18f60d(_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x313527[0x1]={..._0x313527[0x1],[_0x3bd7ea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33ad04};},{[_0x3bd7ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bd7ea([0x68,0x69,0x67,0x68])}),_0x54327f[_0x3bd7ea([0x6f,0x6e])](_0x3bd7ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x24f225=>{_0x4dc653(_0x24f225[_0x3bd7ea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3949a6=!0x0,_0x306795(_0x24f225[_0x3bd7ea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3bd7ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3bd7ea([0x6c,0x6f,0x77])}),_0x2c7fc6[_0x3bd7ea([0x74,0x68,0x65,0x6e])](()=>{_0x3949a6||_0x18f60d(_0x3bd7ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a4135(){return _0x54327f[_0x3bd7ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bd7ea([0x76,0x69,0x65,0x77])][_0x3bd7ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3bd7ea([0x61,0x75,0x74,0x6f]);}function _0x1ba4da(){_0x54327f[_0x3bd7ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3bd7ea([0x76,0x69,0x65,0x77])][_0x3bd7ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3bd7ea([0x61,0x75,0x74,0x6f]);}}function _0x49a6f7(_0x22b67e){const _0x5a0a3e=[new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dbd20=>setTimeout(_0x2dbd20,0x3f7e2c7a^_0x51c454)),_0x2c7fc6[_0x3bd7ea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28601e=>{let _0x2c2426=0x0;_0x54327f[_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd7ea([0x6f,0x6e])](_0x3bd7ea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc29289,_0x33fc41)=>{_0x33fc41[0x0][_0x3bd7ea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c2426++,_0x2c2426==(0x3f77134e^_0x51c454)&&(_0x28601e(),_0xc29289[_0x3bd7ea([0x6f,0x66,0x66])]());});}))];return window[_0x3bd7ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3bd7ea([0x72,0x61,0x63,0x65])](_0x5a0a3e)[_0x3bd7ea([0x74,0x68,0x65,0x6e])](()=>_0x22b67e);}async function _0x227617(){await _0x2c7fc6,_0x54327f[_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd7ea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc58a91,_0x54327f[_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x3bd7ea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc58a91,_0x54327f[_0x3bd7ea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3bd7ea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b4f8b(_0x7ebe47){const _0x4a8be6=_0x4d79ba();_0x54327f[_0x4a8be6]=_0x3bd7ea([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7ebe47,_0x7ebe47!=_0x3bd7ea([0x56,0x61,0x6c,0x69,0x64])&&_0x227617();}function _0x4d79ba(){const _0x3ea0af=window[_0x3bd7ea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3bd7ea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3bd7ea([0x6e,0x6f,0x77])]())[_0x3bd7ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3bd7ea([0x2e]),'');let _0x3d3dd9=_0x3bd7ea([0x4c]);for(let _0x43d01c=0x0;_0x43d01c<_0x3ea0af[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43d01c+=0x2){let _0xa72d6c=window[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ea0af[_0x3bd7ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43d01c,_0x43d01c+0x2));_0xa72d6c>=_0x3b4e17[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa72d6c-=_0x3b4e17[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d3dd9+=_0x3b4e17[_0xa72d6c];}return _0x3d3dd9;}function _0x152d11(){const _0x2d4166=_0xf583b6[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e]));if(0x3!=_0x2d4166[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b5d13(_0x2d4166[0x1]);function _0x2b5d13(_0x3bd6ac){const _0x18bf50=_0x2ca69f(_0x3bd6ac);return _0x18bf50&&_0x23576b()?_0x18bf50:null;function _0x23576b(){const _0x4ac30f=_0x18bf50[_0x3bd7ea([0x6a,0x74,0x69])],_0x2d2a6d=window[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ac30f[_0x3bd7ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ac30f[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x254bb9={..._0x18bf50,[_0x3bd7ea([0x6a,0x74,0x69])]:_0x4ac30f[_0x3bd7ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ac30f[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x254bb9[_0x3bd7ea([0x76,0x63])],_0x22df30(_0x254bb9)==_0x2d2a6d;}}}async function _0x7c8e80(){let _0x161898=!0x0;try{const _0x33aaeb=_0xf583b6[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])](_0x3bd7ea([0x2e])),[_0x4751fd,_0x579ccd,_0x4a1e01]=_0x33aaeb;return _0x38c4ea(_0x4751fd),await _0x3dd2a8(_0x4751fd,_0x579ccd,_0x4a1e01),_0x161898;}catch{return!0x1;}function _0x38c4ea(_0x9a766d){const _0x553d6b=_0x2ca69f(_0x9a766d);_0x553d6b&&_0x553d6b[_0x3bd7ea([0x61,0x6c,0x67])]==_0x3bd7ea([0x45,0x53,0x32,0x35,0x36])||(_0x161898=!0x1);}async function _0x3dd2a8(_0x29fc4a,_0xf1dc99,_0x22edb9){const _0x590cbb=window[_0x3bd7ea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3bd7ea([0x66,0x72,0x6f,0x6d])](_0x1f8987(_0x22edb9),_0x19045c=>_0x19045c[_0x3bd7ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d6b07=new window[(_0x3bd7ea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3bd7ea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29fc4a+_0x3bd7ea([0x2e])+_0xf1dc99),_0x3809ad=window[_0x3bd7ea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3bd7ea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3809ad)return;const _0x45bb8f=await _0x3809ad[_0x3bd7ea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3bd7ea([0x6a,0x77,0x6b]),_0x1349aa,{[_0x3bd7ea([0x6e,0x61,0x6d,0x65])]:_0x3bd7ea([0x45,0x43,0x44,0x53,0x41]),[_0x3bd7ea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3bd7ea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3bd7ea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3809ad[_0x3bd7ea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3bd7ea([0x6e,0x61,0x6d,0x65])]:_0x3bd7ea([0x45,0x43,0x44,0x53,0x41]),[_0x3bd7ea([0x68,0x61,0x73,0x68])]:{[_0x3bd7ea([0x6e,0x61,0x6d,0x65])]:_0x3bd7ea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45bb8f,_0x590cbb,_0x2d6b07)||(_0x161898=!0x1);}}function _0x2ca69f(_0x42d7f9){return _0x42d7f9[_0x3bd7ea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3bd7ea([0x65,0x79]))?JSON[_0x3bd7ea([0x70,0x61,0x72,0x73,0x65])](_0x1f8987(_0x42d7f9)):null;}function _0x1f8987(_0x5cb783){return window[_0x3bd7ea([0x61,0x74,0x6f,0x62])](_0x5cb783[_0x3bd7ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3bd7ea([0x2b]))[_0x3bd7ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3bd7ea([0x2f])));}function _0x22df30(_0x40087b){let _0x507da6=0x1505;function _0xda24ad(_0x329fca){for(let _0x8934cb=0x0;_0x8934cb<_0x329fca[_0x3bd7ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8934cb++){const _0xa72ed9=_0x329fca[_0x3bd7ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8934cb);_0x507da6=(_0x507da6<<0x5)+_0x507da6+_0xa72ed9,_0x507da6&=_0x507da6;}}function _0x1180fc(_0x4e0a80){Array[_0x3bd7ea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e0a80)?_0x4e0a80[_0x3bd7ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1180fc):_0x4e0a80&&typeof _0x4e0a80==_0x3bd7ea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3bd7ea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e0a80)[_0x3bd7ea([0x73,0x6f,0x72,0x74])]()[_0x3bd7ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27d09f,_0x5affd3])=>{_0xda24ad(_0x27d09f),_0x1180fc(_0x5affd3);}):_0xda24ad(window[_0x3bd7ea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e0a80));}return _0x1180fc(_0x40087b),_0x507da6>>>0x0;}function _0x655f8a(_0x559173){return _0x559173[_0x3bd7ea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3bd7ea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3bd7ea([0x30]));}function _0x2d103f(_0xfb654f){return _0xfb654f[_0x3bd7ea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3bd7ea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3bd7ea([0x6a,0x6f,0x69,0x6e])]('');}function _0xc58a91(){}function _0x3bd7ea(_0x1f1a55){return _0x1f1a55['map'](_0x40abbd=>String['fromCharCode'](_0x40abbd))['join']('');}_0x5b4f8b(await _0xef11de());}(this);}['_validateConfig'](){const _0x223f10=this['editor'];if(!_0x223f10['config']['get']('lineHeight.supportAllValues'))return;const _0x463c3c=_0x223f10['config']['get']('lineHeight.options')['filter'](_0x342c9e=>'string'==typeof _0x342c9e&&(!f(_0x342c9e)&&isNaN(Number(_0x342c9e))));if(_0x463c3c['length'])throw new _0x67013a('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x463c3c});}['_prepareAnyValueConverters'](){const _0x3c7f52=this['editor'],_0x36d23c=this['editor']['config']['get']('lineHeight.defaultValue');_0x3c7f52['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x2ed891=>String(_0x2ed891)===String(_0x36d23c)?null:{'key':'style','value':{'line-height':_0x2ed891}}}),_0x3c7f52['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x35b1cf=>{let _0x3cd7e1=_0x35b1cf['getStyle']('line-height');return _0x1f1c68(_0x3cd7e1)&&(_0x3cd7e1=String(Number(_0x3cd7e1['slice'](0x0,-0x1))/0x64)),String(_0x3cd7e1)===String(_0x36d23c)?null:_0x3cd7e1;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x918a7c=this['editor'],_0x4d06a2=this['editor']['config']['get']('lineHeight.defaultValue'),_0x330458=function(_0x326649,_0x3cfdad){const _0x5487a0={'model':{'key':_0x326649,'values':[]},'view':{}};for(const _0x2675e5 of _0x3cfdad)'class'===_0x2675e5['view']?.['key']?(_0x5487a0['model']['values']['push'](_0x2675e5['model']),_0x5487a0['view'][_0x2675e5['model']]={'key':'class','value':_0x2675e5['view']['value']}):(_0x5487a0['model']['values']['push'](_0x2675e5['model']),_0x5487a0['view'][_0x2675e5['model']]={'key':'style','value':'line-height:'+_0x2675e5['model']+';'});return _0x5487a0;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x5ce00e=>_0x5ce00e['model']));_0x918a7c['conversion']['attributeToAttribute'](_0x330458),_0x918a7c['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0xfd40b3=>{let _0x1d61d9=_0xfd40b3['getStyle']('line-height');return _0x1f1c68(_0x1d61d9)&&(_0x1d61d9=String(Number(_0x1d61d9['slice'](0x0,-0x1))/0x64)),_0x1d61d9===String(_0x4d06a2)?null:_0x330458['model']['values']['includes'](_0x1d61d9)?_0x1d61d9:null;}}});}}class r extends _0x22043c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1b5d8c={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1b5d8c),this['_registerMenuBarComponent'](_0x1b5d8c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e95f1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x30bfa2;for(const _0x2d37fc in _0x5e95f1){const _0xbf82b8=_0x2d37fc,_0x112b95=_0x5e95f1[_0xbf82b8];if('lineHeightLicenseKeyValid'==_0x112b95||'lineHeightLicenseKeyInvalid'==_0x112b95||'lineHeightLicenseKeyExpired'==_0x112b95||'lineHeightLicenseKeyDomainLimit'==_0x112b95||'lineHeightLicenseKeyNotAllowed'==_0x112b95||'lineHeightLicenseKeyEvaluationLimit'==_0x112b95||'lineHeightLicenseKeyTrialLimit'==_0x112b95||'lineHeightLicenseKeyUsageLimit'==_0x112b95){delete _0x5e95f1[_0xbf82b8],_0x30bfa2=_0x112b95,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x30bfa2&&_0x5e95f1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xfe77b9=this['editor'],t=_0xfe77b9['t'],_0x282cdb=_0xfe77b9['config']['get']('lineHeight'),_0x1cd051={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x282cdb)['map'](_0x11b419=>{const _0x3e94b3=_0x1cd051[_0x11b419['title']];return _0x3e94b3&&_0x3e94b3!=_0x11b419['title']&&(_0x11b419=Object['assign']({},_0x11b419,{'title':_0x3e94b3})),_0x11b419;});}['_prepareListOptions'](){const _0x48c23d=this['editor']['commands']['get']('lineHeight'),_0x2b5243=this['editor']['config']['get']('lineHeight.defaultValue'),_0xab77dd=this['_getLocalizedLineHeightOptions'](),_0x4680d2=new _0x4e2b35(),_0x48e061=_0x5087ff=>'default'===_0x5087ff||String(_0x2b5243)===_0x5087ff;for(const _0x10751e of _0xab77dd){const _0x4ee682={'type':'button','model':new _0x9369cc({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x10751e['title'],'withText':!0x0})};_0x48e061(_0x10751e['model'])?(_0x4ee682['model']['bind']('isOn')['to'](_0x48c23d,'value',_0x547195=>!_0x547195),_0x4ee682['model']['commandParam']=void 0x0):(_0x4ee682['model']['bind']('isOn')['to'](_0x48c23d,'value',_0x3c1692=>_0x3c1692===_0x10751e['model']),_0x4ee682['model']['commandParam']=_0x10751e['model']),_0x4680d2['add'](_0x4ee682);}if(this['_shouldRenderCustomValueOption']()){const _0x16fedb=this['_getCustomValueOptionDefinition'](_0xab77dd);_0x4680d2['add'](_0x16fedb);}return _0x4680d2;}['_getCustomValueOptionDefinition'](_0x4a6fd7){const _0x47d53b=this['editor'],t=_0x47d53b['t'],_0x19c34e=_0x47d53b['commands']['get']('lineHeight'),_0x57dd30=_0x4a6fd7['map'](_0x5a14a1=>_0x5a14a1['model']),_0x4fdb6f={'type':'button','model':new _0x9369cc({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4fdb6f['model']['bind']('commandParam')['to'](_0x19c34e,'value'),_0x4fdb6f['model']['bind']('isOn')['to'](_0x19c34e,'value',_0x128ee1=>!!_0x128ee1&&!_0x57dd30['includes'](String(_0x128ee1))),_0x4fdb6f['model']['bind']('label')['to'](_0x19c34e,'value',_0x5dd253=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5dd253))),_0x4fdb6f;}['_registerToolbarComponent']({accessibleLabel:_0x2862d2,options:_0x35abbe}){const _0x4277ad=this['editor'],_0x593c54=_0x4277ad['commands']['get']('lineHeight');_0x4277ad['ui']['componentFactory']['add']('lineHeight',_0x5781fd=>{const _0x56b441=_0x5735fd(_0x5781fd);return _0x8393d1(_0x56b441,_0x35abbe,{'role':'menu','ariaLabel':_0x2862d2}),_0x56b441['buttonView']['set']({'label':_0x2862d2,'tooltip':!0x0,'icon':_0xa670fe}),_0x56b441['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x56b441['bind']('isEnabled')['to'](_0x593c54),this['listenTo'](_0x56b441,'execute',_0x1657f1=>{_0x4277ad['execute'](_0x1657f1['source']['commandName'],{'value':_0x1657f1['source']['commandParam']}),_0x4277ad['editing']['view']['focus']();}),_0x56b441['once']('change:isOpen',()=>{const _0x3257d1=_0x56b441['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x56b441,_0x35abbe,_0x3257d1);}),_0x56b441;});}['_registerMenuBarComponent']({accessibleLabel:_0xd9b462,options:_0x2c65ea}){const _0x362b38=this['editor'],_0x1e48e6=_0x362b38['commands']['get']('lineHeight');_0x362b38['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4fb997=>{const _0x50d46a=new _0x29d914(_0x4fb997);_0x50d46a['buttonView']['set']({'label':_0xd9b462,'icon':_0xa670fe}),_0x50d46a['bind']('isEnabled')['to'](_0x1e48e6);const _0x43e61d=new _0x177701(_0x4fb997);for(const _0x2fa0e5 of _0x2c65ea){const _0x21ce02=new _0x3a15a9(_0x4fb997,_0x50d46a),_0x5025e8=new _0x49b199(_0x4fb997);_0x5025e8['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5025e8['bind'](...Object['keys'](_0x2fa0e5['model']))['to'](_0x2fa0e5['model']),_0x5025e8['delegate']('execute')['to'](_0x50d46a),_0x5025e8['on']('execute',()=>{_0x362b38['execute'](_0x2fa0e5['model']['commandName'],{'value':_0x2fa0e5['model']['commandParam']}),_0x362b38['editing']['view']['focus']();}),_0x21ce02['children']['add'](_0x5025e8),_0x43e61d['items']['add'](_0x21ce02);}return _0x50d46a['panelView']['children']['add'](_0x43e61d),this['_attachCustomOptionVisibilityHandler'](_0x50d46a,_0x2c65ea,_0x43e61d),_0x50d46a;});}['_attachCustomOptionVisibilityHandler'](_0x16c719,_0x41d62d,_0x161a55){if(!this['_shouldRenderCustomValueOption']())return;const _0xdc5f44=()=>{if(!_0x16c719['isOpen'])return;_0x161a55['items']['last']['isVisible']=Boolean(_0x41d62d['last']['model']['isOn']);};_0xdc5f44(),_0x16c719['on']('change:isOpen',()=>{_0xdc5f44();});}}class k extends _0x22043c{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{k as LineHeight,n as LineHeightCommand,e as LineHeightEditing,r as LineHeightUI};
@@ -1,6 +0,0 @@
1
- {
2
- "Line height": "The label of the line height toolbar button.",
3
- "LINE_HEIGHT_CUSTOM_OPTION_LABEL": "Dropdown option label for the custom line height, e.g., \"Custom: 1.75\".",
4
- "LINE_HEIGHT_SINGLE_OPTION_LABEL": "Dropdown option label for the \"Single\" line height option.",
5
- "LINE_HEIGHT_DOUBLE_OPTION_LABEL": "Dropdown option label for the \"Double\" line height option."
6
- }
@@ -1,20 +0,0 @@
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
- import type { LineHeight, LineHeightEditing, LineHeightUI, LineHeightConfig } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface PluginsMap {
8
- [LineHeight.pluginName]: LineHeight;
9
- [LineHeightEditing.pluginName]: LineHeightEditing;
10
- [LineHeightUI.pluginName]: LineHeightUI;
11
- }
12
- interface EditorConfig {
13
- /**
14
- * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
15
- *
16
- * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
17
- */
18
- lineHeight?: LineHeightConfig;
19
- }
20
- }
@@ -1,23 +0,0 @@
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
- export{};
package/src/index.d.ts DELETED
@@ -1,13 +0,0 @@
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
7
- */
8
- export { LineHeight } from './lineheight.js';
9
- export { LineHeightEditing } from './lineheightediting.js';
10
- export { LineHeightUI } from './lineheightui.js';
11
- export { LineHeightCommand } from './lineheightcommand.js';
12
- export type { LineHeightConfig, LineHeightOption } from './lineheightconfig.js';
13
- import './augmentation.js';
package/src/index.js DELETED
@@ -1,23 +0,0 @@
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
- (function(_0x4a3562,_0x57b188){var _0x2f1aaf=_0x3f31,_0x54f699=_0x4a3562();while(!![]){try{var _0x5a4f01=-parseInt(_0x2f1aaf(0x112))/0x1+parseInt(_0x2f1aaf(0x113))/0x2*(parseInt(_0x2f1aaf(0x110))/0x3)+parseInt(_0x2f1aaf(0x10f))/0x4+parseInt(_0x2f1aaf(0x115))/0x5*(-parseInt(_0x2f1aaf(0x111))/0x6)+-parseInt(_0x2f1aaf(0x10e))/0x7+-parseInt(_0x2f1aaf(0x114))/0x8+parseInt(_0x2f1aaf(0x10d))/0x9;if(_0x5a4f01===_0x57b188)break;else _0x54f699['push'](_0x54f699['shift']());}catch(_0x197c62){_0x54f699['push'](_0x54f699['shift']());}}}(_0x28b3,0xcddcf));export{LineHeight}from'./lineheight.js';function _0x3f31(_0x294ff1,_0x4033fc){var _0x28b3db=_0x28b3();return _0x3f31=function(_0x3f3176,_0x186105){_0x3f3176=_0x3f3176-0x10d;var _0x35f6fb=_0x28b3db[_0x3f3176];return _0x35f6fb;},_0x3f31(_0x294ff1,_0x4033fc);}function _0x28b3(){var _0x4c2f1d=['35661qPEzVy','36bSaIAu','155996djyYms','2fpRJQA','5674384AmACEQ','1028690SLNZpJ','27861030SXgoCH','7944160ZTURtj','3881040auLaNq'];_0x28b3=function(){return _0x4c2f1d;};return _0x28b3();}export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';
@@ -1,34 +0,0 @@
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/lineheight
7
- * @publicApi
8
- */
9
- import { Plugin } from 'ckeditor5/src/core.js';
10
- import { LineHeightEditing } from './lineheightediting.js';
11
- import { LineHeightUI } from './lineheightui.js';
12
- /**
13
- * The line height plugin.
14
- *
15
- * For a detailed overview, check the {@glink features/line-height Line height feature documentation}.
16
- */
17
- export declare class LineHeight extends Plugin {
18
- /**
19
- * @inheritDoc
20
- */
21
- static get requires(): readonly [typeof LineHeightEditing, typeof LineHeightUI];
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "LineHeight";
26
- /**
27
- * @inheritDoc
28
- */
29
- static get isOfficialPlugin(): true;
30
- /**
31
- * @inheritDoc
32
- */
33
- static get isPremiumPlugin(): true;
34
- }
package/src/lineheight.js DELETED
@@ -1,23 +0,0 @@
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
- var _0x6c30d3=_0x394e;function _0xfc73(){var _0x1e7dcf=['3951CDCqkq','352bnQbuI','requires','919512HaXfGa','isOfficialPlugin','87591jQwBzd','3mVxkcD','LineHeight','1474753FlPxMr','pluginName','isPremiumPlugin','293800JibVvZ','286720fqDusF','1422756kUmUAI'];_0xfc73=function(){return _0x1e7dcf;};return _0xfc73();}(function(_0x366016,_0x4909e6){var _0x261615=_0x394e,_0x4c9a85=_0x366016();while(!![]){try{var _0x1dedbe=parseInt(_0x261615(0xad))/0x1+parseInt(_0x261615(0xa5))/0x2+-parseInt(_0x261615(0xae))/0x3*(-parseInt(_0x261615(0xa7))/0x4)+-parseInt(_0x261615(0xa6))/0x5+-parseInt(_0x261615(0xab))/0x6+-parseInt(_0x261615(0xb0))/0x7+parseInt(_0x261615(0xa9))/0x8*(parseInt(_0x261615(0xa8))/0x9);if(_0x1dedbe===_0x4909e6)break;else _0x4c9a85['push'](_0x4c9a85['shift']());}catch(_0x5c4c1b){_0x4c9a85['push'](_0x4c9a85['shift']());}}}(_0xfc73,0x2df3d));import{Plugin as _0x312d83}from'ckeditor5/src/core.js';function _0x394e(_0x2eccc2,_0x13cb7c){var _0xfc73f8=_0xfc73();return _0x394e=function(_0x394e50,_0x4624ac){_0x394e50=_0x394e50-0xa4;var _0x26cd2e=_0xfc73f8[_0x394e50];return _0x26cd2e;},_0x394e(_0x2eccc2,_0x13cb7c);}import{LineHeightEditing as _0x21d1b3}from'./lineheightediting.js';import{LineHeightUI as _0x38ee1a}from'./lineheightui.js';export class LineHeight extends _0x312d83{static get[_0x6c30d3(0xaa)](){return[_0x21d1b3,_0x38ee1a];}static get[_0x6c30d3(0xb1)](){var _0x18891b=_0x6c30d3;return _0x18891b(0xaf);}static get[_0x6c30d3(0xac)](){return!0x0;}static get[_0x6c30d3(0xa4)](){return!0x0;}}
@@ -1,26 +0,0 @@
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/lineheightcommand
7
- * @publicApi
8
- */
9
- import { Command } from 'ckeditor5/src/core.js';
10
- /**
11
- * The line height command. It applies the line height on block elements.
12
- */
13
- export declare class LineHeightCommand extends Command {
14
- /**
15
- * @inheritDoc
16
- */
17
- refresh(): void;
18
- /**
19
- * Executes the command.
20
- *
21
- * @param options.value The value to apply. When `undefined`, the command will remove the attribute.
22
- */
23
- execute(options?: {
24
- value?: string;
25
- }): void;
26
- }
@@ -1,23 +0,0 @@
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 _0x45be27=_0x383c;(function(_0x41cc86,_0x530a2d){const _0x477b47=_0x383c,_0x59a64a=_0x41cc86();while(!![]){try{const _0x1e9df9=parseInt(_0x477b47(0xf0))/0x1+parseInt(_0x477b47(0xef))/0x2*(parseInt(_0x477b47(0xec))/0x3)+-parseInt(_0x477b47(0x103))/0x4+-parseInt(_0x477b47(0xf6))/0x5*(-parseInt(_0x477b47(0x104))/0x6)+-parseInt(_0x477b47(0xf8))/0x7+-parseInt(_0x477b47(0xfe))/0x8*(parseInt(_0x477b47(0xf2))/0x9)+-parseInt(_0x477b47(0xf9))/0xa*(-parseInt(_0x477b47(0xed))/0xb);if(_0x1e9df9===_0x530a2d)break;else _0x59a64a['push'](_0x59a64a['shift']());}catch(_0x375818){_0x59a64a['push'](_0x59a64a['shift']());}}}(_0x94ac,0xe1ed1));function _0x94ac(){const _0x98a7f3=['model','value','setAttribute','870wcJNXT','change','9351139mlcdCq','10SAsgsY','isEnabled','getAttribute','selection','refresh','40YxfqhC','checkAttribute','document','from','execute','3344568GrqVKS','28998ypxILr','editor','_canHaveLineHeight','getSelectedBlocks','removeAttribute','filter','3fHxOSz','6180977kzxgoT','lineHeight','2764618lSMiey','1364459CbLcVL','schema','1893969ldtuQe'];_0x94ac=function(){return _0x98a7f3;};return _0x94ac();}import{Command as _0x41bc4a}from'ckeditor5/src/core.js';import{first as _0x287553}from'ckeditor5/src/utils.js';function _0x383c(_0x37f69c,_0x3813d8){const _0x94ac62=_0x94ac();return _0x383c=function(_0x383c0d,_0x1cfaac){_0x383c0d=_0x383c0d-0xeb;let _0x5d8e73=_0x94ac62[_0x383c0d];return _0x5d8e73;},_0x383c(_0x37f69c,_0x3813d8);}export class LineHeightCommand extends _0x41bc4a{[_0x45be27(0xfd)](){const _0x588f84=_0x45be27,_0x2455c4=this[_0x588f84(0x105)][_0x588f84(0xf3)][_0x588f84(0x100)],_0x28165a=_0x287553(_0x2455c4[_0x588f84(0xfc)][_0x588f84(0x107)]());this[_0x588f84(0xfa)]=Boolean(_0x28165a)&&this[_0x588f84(0x106)](_0x28165a),this[_0x588f84(0xf4)]=this[_0x588f84(0xfa)]&&_0x28165a[_0x588f84(0xfb)](_0x588f84(0xee));}[_0x45be27(0x102)](_0x2840a0={}){const _0x5a40c0=_0x45be27,_0x252afc=this[_0x5a40c0(0x105)][_0x5a40c0(0xf3)],_0x44aa99=_0x252afc[_0x5a40c0(0x100)][_0x5a40c0(0xfc)],_0x2e85e7=_0x2840a0[_0x5a40c0(0xf4)];_0x252afc[_0x5a40c0(0xf7)](_0x33bbf4=>{const _0x117b54=_0x5a40c0,_0x8c7000=Array[_0x117b54(0x101)](_0x44aa99[_0x117b54(0x107)]())[_0x117b54(0xeb)](_0x384119=>this[_0x117b54(0x106)](_0x384119));for(const _0x31e2bd of _0x8c7000)_0x2e85e7?_0x33bbf4[_0x117b54(0xf5)](_0x117b54(0xee),_0x2e85e7,_0x31e2bd):_0x33bbf4[_0x117b54(0x108)](_0x117b54(0xee),_0x31e2bd);});}[_0x45be27(0x106)](_0x31185d){const _0x243fd0=_0x45be27;return this[_0x243fd0(0x105)][_0x243fd0(0xf3)][_0x243fd0(0xf1)][_0x243fd0(0xff)](_0x31185d,_0x243fd0(0xee));}}
@@ -1,66 +0,0 @@
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/lineheightconfig
7
- * @publicApi
8
- */
9
- import type { DowncastAttributeDescriptor } from 'ckeditor5/src/engine.js';
10
- /**
11
- * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
12
- *
13
- * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
14
- */
15
- export interface LineHeightConfig {
16
- /**
17
- * Available line height options. The default value is:
18
- *
19
- * ```ts
20
- * const lineHeightConfig = {
21
- * options: [ 0.5, 1, 1.5, 2, 2.5 ]
22
- * };
23
- * ```
24
- *
25
- * **Note**: Line height values have to be provided in a format without units.
26
- * The available values are always multipliers of the default line height applied to the edited content.
27
- */
28
- options?: Array<string | number | LineHeightOption>;
29
- /**
30
- * By default, the plugin removes any `line-height` value that does not match the plugin's configuration.
31
- * It means that if you paste content with line heights that the editor does not understand, the `line-height` attribute
32
- * will be removed and the content will be displayed with the default line height.
33
- *
34
- * You can preserve pasted line heights values by switching the `supportAllValues` option to `true`:
35
- *
36
- * ```ts
37
- * const lineHeightConfig = {
38
- * supportAllValues: true
39
- * };
40
- * ```
41
- *
42
- * With this configuration line heights not specified in the editor configuration will not be removed when pasting the content.
43
- */
44
- supportAllValues?: boolean;
45
- /**
46
- * Default value of line height attribute. Defaults to `1.5`.
47
- */
48
- defaultValue?: number;
49
- }
50
- /**
51
- * Configuration for one of the dropdown options.
52
- */
53
- export interface LineHeightOption {
54
- /**
55
- * The user-readable title of the option.
56
- */
57
- title: string;
58
- /**
59
- * The line height value (CSS line-height property value, string).
60
- */
61
- model: string;
62
- /**
63
- * View element configuration.
64
- */
65
- view?: DowncastAttributeDescriptor;
66
- }
@@ -1,23 +0,0 @@
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
- export{};
@@ -1,41 +0,0 @@
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/lineheightediting
7
- */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
- /**
10
- * The line height editing feature.
11
- *
12
- * It introduces the {@link module:line-height/lineheightcommand~LineHeightCommand command} and the `lineHeight`
13
- * attribute in the {@link module:engine/model/model~Model model} which renders in the {@link module:engine/view/view view}
14
- * as a `style="line-height: ..."` style.
15
- */
16
- export declare class LineHeightEditing extends Plugin {
17
- /**
18
- * @inheritDoc
19
- */
20
- static get pluginName(): "LineHeightEditing";
21
- /**
22
- * @inheritDoc
23
- */
24
- static get isOfficialPlugin(): true;
25
- /**
26
- * @inheritDoc
27
- */
28
- static get isPremiumPlugin(): true;
29
- /**
30
- * @inheritDoc
31
- */
32
- constructor(editor: Editor);
33
- /**
34
- * @inheritDoc
35
- */
36
- init(): void;
37
- /**
38
- * @inheritDoc
39
- */
40
- afterInit(): void;
41
- }
@@ -1,23 +0,0 @@
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 _0x24b956=_0x1210;(function(_0x2f0d20,_0x3511cd){const _0x45772b=_0x1210,_0x32fd3c=_0x2f0d20();while(!![]){try{const _0x4b9a46=parseInt(_0x45772b(0x174))/0x1+-parseInt(_0x45772b(0x19e))/0x2*(-parseInt(_0x45772b(0x178))/0x3)+-parseInt(_0x45772b(0x19b))/0x4+-parseInt(_0x45772b(0x1a7))/0x5*(-parseInt(_0x45772b(0x194))/0x6)+parseInt(_0x45772b(0x1a3))/0x7*(parseInt(_0x45772b(0x179))/0x8)+-parseInt(_0x45772b(0x184))/0x9+parseInt(_0x45772b(0x17e))/0xa*(parseInt(_0x45772b(0x1a5))/0xb);if(_0x4b9a46===_0x3511cd)break;else _0x32fd3c['push'](_0x32fd3c['shift']());}catch(_0x296f97){_0x32fd3c['push'](_0x32fd3c['shift']());}}}(_0xc749,0x73851));import{Plugin as _0x57b195}from'ckeditor5/src/core.js';import{LineHeightCommand as _0xe41833}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x191144}from'ckeditor5/src/engine.js';import{uid as _0x5aa732,CKEditorError as _0x477750}from'ckeditor5/src/utils.js';function _0x1210(_0x879e3,_0x21e81c){const _0xc74932=_0xc749();return _0x1210=function(_0x1210aa,_0x476f41){_0x1210aa=_0x1210aa-0x172;let _0x5362ec=_0xc74932[_0x1210aa];return _0x5362ec;},_0x1210(_0x879e3,_0x21e81c);}function _0xc749(){const _0x9f5e3c=['85IhOXKP','values','upcast','for','41530iimYor','lineHeight.defaultValue','config','lineHeight.supportAllValues','6qUInie','2080072QIQnLs','downcast','editor','$block','schema','20ckrhIP','join','lineHeight','model','conversion','length','6665481GlmjFF','style','init','filter','fromCharCode','define','includes','extend','LineHeightEditing','_prepareAnyValueConverters','commands','string','map','get','attributeToAttribute','_preparePredefinedConverters','105924XbvNCF','line-height-invalid-use-of-named-presets','_validateConfig','pluginName','isOfficialPlugin','setAttributeProperties','afterInit','838164TfpnAV','line-height','lineHeight.options','372044ZsoTar','default','href','isPremiumPlugin','slice','7ywFTRj','add','2472899sDTFGv','getStyle'];_0xc749=function(){return _0x9f5e3c;};return _0xc749();}import{buildDefinition as _0x29ea60,isLineHeightDefaultValue as _0x4ed081,normalizeOptions as _0x2392a0}from'./utils.js';export class LineHeightEditing extends _0x57b195{static get[_0x24b956(0x197)](){const _0x39735f=_0x24b956;return _0x39735f(0x18c);}static get[_0x24b956(0x198)](){return!0x0;}static get[_0x24b956(0x1a1)](){return!0x0;}constructor(_0x240548){const _0x17361f=_0x24b956;super(_0x240548),_0x240548[_0x17361f(0x176)][_0x17361f(0x189)](_0x17361f(0x180),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x17361f(0x19f),0x2,2.5,0x3]});}[_0x24b956(0x186)](){const _0x432842=_0x24b956,_0x3ccd12=this[_0x432842(0x17b)];this[_0x432842(0x196)](),_0x3ccd12[_0x432842(0x181)][_0x432842(0x17d)][_0x432842(0x18b)](_0x432842(0x17c),{'allowAttributes':_0x432842(0x180)}),_0x3ccd12[_0x432842(0x181)][_0x432842(0x17d)][_0x432842(0x199)](_0x432842(0x180),{'isFormatting':!0x0}),_0x3ccd12[_0x432842(0x18e)][_0x432842(0x1a4)](_0x432842(0x180),new _0xe41833(_0x3ccd12)),this[_0x432842(0x17b)][_0x432842(0x176)][_0x432842(0x191)](_0x432842(0x177))?this[_0x432842(0x18d)]():this[_0x432842(0x193)]();}[_0x24b956(0x19a)](){!async function(_0x2a31ec){const _0x3e713a=_0x1848a8([0x4c,0x45,0x56,0x41,0x6b,0x52,0x33,0x51,0x6e,0x34,0x67,0x4a,0x63,0x6d,0x65,0x59,0x70,0x58,0x77,0x42,0x32,0x6f,0x48,0x57,0x72,0x39,0x55,0x71,0x30,0x31,0x43,0x75,0x78,0x4e,0x68,0x4f,0x37,0x47,0x38,0x69,0x44,0x6c,0x53,0x62,0x61,0x50,0x36,0x4d,0x6a,0x74,0x73,0x5a,0x54,0x64,0x7a,0x46,0x49,0x79,0x66,0x35,0x4b,0x76]),_0x416b6a=0x3f7712b6,_0x41e1f2=0x3f707fa6^_0x416b6a,_0x1dbeeb=window[_0x1848a8([0x44,0x61,0x74,0x65])][_0x1848a8([0x6e,0x6f,0x77])](),_0x2006e5=_0x2a31ec[_0x1848a8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb32ee3=new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26ed02=>{_0x2006e5[_0x1848a8([0x6f,0x6e,0x63,0x65])](_0x1848a8([0x72,0x65,0x61,0x64,0x79]),_0x26ed02);}),_0x4d9103={[_0x1848a8([0x6b,0x74,0x79])]:_0x1848a8([0x45,0x43]),[_0x1848a8([0x75,0x73,0x65])]:_0x1848a8([0x73,0x69,0x67]),[_0x1848a8([0x63,0x72,0x76])]:_0x1848a8([0x50,0x2d,0x32,0x35,0x36]),[_0x1848a8([0x78])]:_0x1848a8([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]),[_0x1848a8([0x79])]:_0x1848a8([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]),[_0x1848a8([0x61,0x6c,0x67])]:_0x1848a8([0x45,0x53,0x32,0x35,0x36])},_0x295ebf=_0x2006e5[_0x1848a8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1848a8([0x67,0x65,0x74])](_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd6e846(){let _0x11f21b,_0x2882c0=null,_0xeeb472=null;try{if(_0x295ebf==_0x1848a8([0x47,0x50,0x4c]))return _0x1848a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11f21b=_0x5aa7ae(),!_0x11f21b)return _0x1848a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11f21b[_0x1848a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xeeb472=_0x44feb4(_0x11f21b[_0x1848a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11f21b[_0x1848a8([0x6a,0x74,0x69])])),await _0x2828f2()?_0xe0fcec()?_0x37b75b()?_0x1848a8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46b53e()?(_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1848a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2882c0=_0x4b0092(_0x1848a8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1848a8([0x74,0x72,0x69,0x61,0x6c])&&(_0x2882c0=_0x4b0092(_0x1848a8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x347167()):_0x1848a8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1848a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1848a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1848a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x37b75b(){const _0x1b50a6=[_0x1848a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1848a8([0x74,0x72,0x69,0x61,0x6c])][_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1dbeeb/0x3e8:0xe10*_0x41e1f2;return _0x11f21b[_0x1848a8([0x65,0x78,0x70])]<_0x1b50a6;}function _0xe0fcec(){const _0x9d2cdc=_0x11f21b[_0x1848a8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9d2cdc&&(!!_0x9d2cdc[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1848a8([0x2a]))||!!_0x9d2cdc[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1848a8([0x4c,0x48])));}function _0x46b53e(){const _0x36e9a1=_0x1210,_0x49acb3=_0x11f21b[_0x1848a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49acb3||0x0==_0x49acb3[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a0f7e}=new URL(window[_0x1848a8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36e9a1(0x1a0)]);if(_0x49acb3[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a0f7e))return!0x0;const _0xbdc567=_0x2a0f7e[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e]));return _0x49acb3[_0x1848a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e662c=>_0x2e662c[_0x1848a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1848a8([0x2a])))[_0x1848a8([0x6d,0x61,0x70])](_0x22741f=>_0x22741f[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e])))[_0x1848a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40f058=>_0x40f058[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xbdc567[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1848a8([0x6d,0x61,0x70])](_0x341c2c=>Array(_0xbdc567[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x341c2c[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1848a8([0x66,0x69,0x6c,0x6c])](_0x341c2c[0x0]===_0x1848a8([0x2a])?_0x1848a8([0x2a]):'')[_0x1848a8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x341c2c))[_0x1848a8([0x73,0x6f,0x6d,0x65])](_0x35a6e5=>_0xbdc567[_0x1848a8([0x65,0x76,0x65,0x72,0x79])]((_0x4185fa,_0x60ae00)=>_0x35a6e5[_0x60ae00]===_0x4185fa||_0x35a6e5[_0x60ae00]===_0x1848a8([0x2a])));}function _0x347167(){return _0x2882c0&&_0xeeb472?new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd67b08,_0x594d11)=>{_0x2882c0[_0x1848a8([0x74,0x68,0x65,0x6e])](_0xd67b08,_0x594d11),_0xeeb472[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x39a6cf=>{_0x39a6cf!=_0x1848a8([0x56,0x61,0x6c,0x69,0x64])&&_0xd67b08(_0x39a6cf);},_0x594d11);}):_0x2882c0||_0xeeb472||_0x1848a8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44feb4(_0x4eeaaf,_0x162cfa){return new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e653=>{if(_0x39266d())return _0x36e653(_0x1848a8([0x56,0x61,0x6c,0x69,0x64]));_0x58e348(),_0x2006e5[_0x1848a8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1848a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x419527=!0x1;const _0x550979=_0x5aa732();function _0x14fe9f(_0x1fa138){return!!_0x1fa138&&(typeof _0x1fa138===_0x1848a8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1fa138===_0x1848a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1fa138[_0x1848a8([0x74,0x68,0x65,0x6e])]===_0x1848a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1fa138[_0x1848a8([0x63,0x61,0x74,0x63,0x68])]===_0x1848a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x461eca(_0x1dd5c2){_0x2b86c4(_0x1dd5c2)[_0x1848a8([0x74,0x68,0x65,0x6e])](_0xbc89a3=>{if(!_0xbc89a3||_0xbc89a3[_0x1848a8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1848a8([0x6f,0x6b]))return _0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xfcba2e(_0x217593(_0x550979+_0x162cfa))!=_0xbc89a3[_0x1848a8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1848a8([0x56,0x61,0x6c,0x69,0x64]);})[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x299474=>(_0x19562e(),_0x299474),()=>{const _0x3ddd2e=_0x52292d();return null==_0x3ddd2e?(_0x19562e(),_0x1848a8([0x56,0x61,0x6c,0x69,0x64])):_0x1848a8(_0x1dbeeb-_0x3ddd2e>(0x1b7b96b6^_0x416b6a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x36e653)[_0x1848a8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36e653(_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x205601=0x3f41fc36^_0x416b6a;function _0x19562e(){const _0x313bf4=_0x1848a8([0x6c,0x6c,0x63,0x74,0x2d])+_0xfcba2e(_0x217593(_0x4eeaaf)),_0x509a6c=_0xdf0cce(_0xfcba2e(window[_0x1848a8([0x4d,0x61,0x74,0x68])][_0x1848a8([0x63,0x65,0x69,0x6c])](_0x1dbeeb/_0x205601)));window[_0x1848a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1848a8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x313bf4,_0x509a6c);}function _0x52292d(){const _0x2a511d=_0x1848a8([0x6c,0x6c,0x63,0x74,0x2d])+_0xfcba2e(_0x217593(_0x4eeaaf)),_0x2169bb=window[_0x1848a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1848a8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a511d);return _0x2169bb?window[_0x1848a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdf0cce(_0x2169bb),0x10)*_0x205601:null;}function _0x2b86c4(_0x18b748){return new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23ec40,_0x42f00e)=>{_0x18b748[_0x1848a8([0x74,0x68,0x65,0x6e])](_0x23ec40,_0x42f00e),window[_0x1848a8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42f00e,0x3f76c676^_0x416b6a);});}}_0x2006e5[_0x1848a8([0x6f,0x6e])](_0x1848a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3722c0,_0x5dee36)=>{if(_0x5dee36[0x0]!=_0x4eeaaf)return _0x36e653(_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5dee36[0x1]={..._0x5dee36[0x1],[_0x1848a8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x550979};},{[_0x1848a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1848a8([0x68,0x69,0x67,0x68])}),_0x2006e5[_0x1848a8([0x6f,0x6e])](_0x1848a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e4aa0=>{_0x14fe9f(_0x3e4aa0[_0x1848a8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x419527=!0x0,_0x461eca(_0x3e4aa0[_0x1848a8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1848a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1848a8([0x6c,0x6f,0x77])}),_0xb32ee3[_0x1848a8([0x74,0x68,0x65,0x6e])](()=>{_0x419527||_0x36e653(_0x1848a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39266d(){return _0x2006e5[_0x1848a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1848a8([0x76,0x69,0x65,0x77])][_0x1848a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1848a8([0x61,0x75,0x74,0x6f]);}function _0x58e348(){_0x2006e5[_0x1848a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1848a8([0x76,0x69,0x65,0x77])][_0x1848a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1848a8([0x61,0x75,0x74,0x6f]);}}function _0x4b0092(_0x2c9d2c){const _0x224eec=[new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9cbd=>setTimeout(_0x4b9cbd,0x3f7e2c7a^_0x416b6a)),_0xb32ee3[_0x1848a8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14cbf7=>{let _0x3e3d98=0x0;_0x2006e5[_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1848a8([0x6f,0x6e])](_0x1848a8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x493bf7,_0x2b665e)=>{_0x2b665e[0x0][_0x1848a8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e3d98++,_0x3e3d98==(0x3f77134e^_0x416b6a)&&(_0x14cbf7(),_0x493bf7[_0x1848a8([0x6f,0x66,0x66])]());});}))];return window[_0x1848a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1848a8([0x72,0x61,0x63,0x65])](_0x224eec)[_0x1848a8([0x74,0x68,0x65,0x6e])](()=>_0x2c9d2c);}async function _0x18316e(){await _0xb32ee3,_0x2006e5[_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1848a8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b0fae,_0x2006e5[_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1848a8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b0fae,_0x2006e5[_0x1848a8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1848a8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d2bbb(_0x3e32c5){const _0x1895b8=_0x1d010();_0x2006e5[_0x1895b8]=_0x1848a8([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e32c5,_0x3e32c5!=_0x1848a8([0x56,0x61,0x6c,0x69,0x64])&&_0x18316e();}function _0x1d010(){const _0x219fa9=window[_0x1848a8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1848a8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1848a8([0x6e,0x6f,0x77])]())[_0x1848a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1848a8([0x2e]),'');let _0x293c2f=_0x1848a8([0x4c]);for(let _0x7451fd=0x0;_0x7451fd<_0x219fa9[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7451fd+=0x2){let _0x12ad45=window[_0x1848a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x219fa9[_0x1848a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7451fd,_0x7451fd+0x2));_0x12ad45>=_0x3e713a[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12ad45-=_0x3e713a[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x293c2f+=_0x3e713a[_0x12ad45];}return _0x293c2f;}function _0x5aa7ae(){const _0xd73aee=_0x295ebf[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e]));if(0x3!=_0xd73aee[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5102fa(_0xd73aee[0x1]);function _0x5102fa(_0x8a9900){const _0x5e4432=_0x454150(_0x8a9900);return _0x5e4432&&_0x16c907()?_0x5e4432:null;function _0x16c907(){const _0x576e80=_0x5e4432[_0x1848a8([0x6a,0x74,0x69])],_0x1b0fea=window[_0x1848a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x576e80[_0x1848a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x576e80[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5c58b8={..._0x5e4432,[_0x1848a8([0x6a,0x74,0x69])]:_0x576e80[_0x1848a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x576e80[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5c58b8[_0x1848a8([0x76,0x63])],_0x217593(_0x5c58b8)==_0x1b0fea;}}}async function _0x2828f2(){let _0x249bdc=!0x0;try{const _0x21326c=_0x295ebf[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])](_0x1848a8([0x2e])),[_0x746358,_0x55f239,_0x3a858f]=_0x21326c;return _0x476f22(_0x746358),await _0x4d53b3(_0x746358,_0x55f239,_0x3a858f),_0x249bdc;}catch{return!0x1;}function _0x476f22(_0x12a33d){const _0x15057f=_0x454150(_0x12a33d);_0x15057f&&_0x15057f[_0x1848a8([0x61,0x6c,0x67])]==_0x1848a8([0x45,0x53,0x32,0x35,0x36])||(_0x249bdc=!0x1);}async function _0x4d53b3(_0x360960,_0x51c6f4,_0x5148c1){const _0x2f6b28=window[_0x1848a8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1848a8([0x66,0x72,0x6f,0x6d])](_0x4482f1(_0x5148c1),_0x4bee20=>_0x4bee20[_0x1848a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x955505=new window[(_0x1848a8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1848a8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x360960+_0x1848a8([0x2e])+_0x51c6f4),_0x2b44aa=window[_0x1848a8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1848a8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b44aa)return;const _0xbcfd30=await _0x2b44aa[_0x1848a8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1848a8([0x6a,0x77,0x6b]),_0x4d9103,{[_0x1848a8([0x6e,0x61,0x6d,0x65])]:_0x1848a8([0x45,0x43,0x44,0x53,0x41]),[_0x1848a8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1848a8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1848a8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b44aa[_0x1848a8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1848a8([0x6e,0x61,0x6d,0x65])]:_0x1848a8([0x45,0x43,0x44,0x53,0x41]),[_0x1848a8([0x68,0x61,0x73,0x68])]:{[_0x1848a8([0x6e,0x61,0x6d,0x65])]:_0x1848a8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbcfd30,_0x2f6b28,_0x955505)||(_0x249bdc=!0x1);}}function _0x454150(_0x54215c){return _0x54215c[_0x1848a8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1848a8([0x65,0x79]))?JSON[_0x1848a8([0x70,0x61,0x72,0x73,0x65])](_0x4482f1(_0x54215c)):null;}function _0x4482f1(_0x317a69){return window[_0x1848a8([0x61,0x74,0x6f,0x62])](_0x317a69[_0x1848a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1848a8([0x2b]))[_0x1848a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1848a8([0x2f])));}function _0x217593(_0x33f206){let _0x514059=0x1505;function _0x2779b0(_0xba4b0){for(let _0x24e983=0x0;_0x24e983<_0xba4b0[_0x1848a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24e983++){const _0x1bc03e=_0xba4b0[_0x1848a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24e983);_0x514059=(_0x514059<<0x5)+_0x514059+_0x1bc03e,_0x514059&=_0x514059;}}function _0x36e96b(_0x2e1458){Array[_0x1848a8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e1458)?_0x2e1458[_0x1848a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36e96b):_0x2e1458&&typeof _0x2e1458==_0x1848a8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1848a8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e1458)[_0x1848a8([0x73,0x6f,0x72,0x74])]()[_0x1848a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ef522,_0x3cd728])=>{_0x2779b0(_0x2ef522),_0x36e96b(_0x3cd728);}):_0x2779b0(window[_0x1848a8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e1458));}return _0x36e96b(_0x33f206),_0x514059>>>0x0;}function _0xfcba2e(_0x142191){return _0x142191[_0x1848a8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1848a8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1848a8([0x30]));}function _0xdf0cce(_0x3bc2c7){return _0x3bc2c7[_0x1848a8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1848a8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1848a8([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b0fae(){}function _0x1848a8(_0x1182ce){const _0x192310=_0x1210;return _0x1182ce[_0x192310(0x190)](_0x5983d2=>String[_0x192310(0x188)](_0x5983d2))[_0x192310(0x17f)]('');}_0x1d2bbb(await _0xd6e846());}(this);}[_0x24b956(0x196)](){const _0x38e0e9=_0x24b956,_0x228997=this[_0x38e0e9(0x17b)];if(!_0x228997[_0x38e0e9(0x176)][_0x38e0e9(0x191)](_0x38e0e9(0x177)))return;const _0x2363f6=_0x228997[_0x38e0e9(0x176)][_0x38e0e9(0x191)](_0x38e0e9(0x19d))[_0x38e0e9(0x187)](_0x1c4176=>_0x38e0e9(0x18f)==typeof _0x1c4176&&(!_0x4ed081(_0x1c4176)&&isNaN(Number(_0x1c4176))));if(_0x2363f6[_0x38e0e9(0x183)])throw new _0x477750(_0x38e0e9(0x195),null,{'namedPresets':_0x2363f6});}[_0x24b956(0x18d)](){const _0x737725=_0x24b956,_0x1b9404=this[_0x737725(0x17b)],_0x405c05=this[_0x737725(0x17b)][_0x737725(0x176)][_0x737725(0x191)](_0x737725(0x175));_0x1b9404[_0x737725(0x182)][_0x737725(0x173)](_0x737725(0x17a))[_0x737725(0x192)]({'model':{'key':_0x737725(0x180)},'view':_0x40e79f=>String(_0x40e79f)===String(_0x405c05)?null:{'key':_0x737725(0x185),'value':{'line-height':_0x40e79f}}}),_0x1b9404[_0x737725(0x182)][_0x737725(0x173)](_0x737725(0x172))[_0x737725(0x192)]({'model':{'key':_0x737725(0x180),'value':_0x1f0877=>{const _0x17cfd8=_0x737725;let _0xa3dd6f=_0x1f0877[_0x17cfd8(0x1a6)](_0x17cfd8(0x19c));return _0x191144(_0xa3dd6f)&&(_0xa3dd6f=String(Number(_0xa3dd6f[_0x17cfd8(0x1a2)](0x0,-0x1))/0x64)),String(_0xa3dd6f)===String(_0x405c05)?null:_0xa3dd6f;}},'view':{'styles':{'line-height':/.*/}}});}[_0x24b956(0x193)](){const _0x2cebc1=_0x24b956,_0x3c7ded=this[_0x2cebc1(0x17b)],_0x246214=this[_0x2cebc1(0x17b)][_0x2cebc1(0x176)][_0x2cebc1(0x191)](_0x2cebc1(0x175)),_0x2d9260=_0x2392a0(this[_0x2cebc1(0x17b)][_0x2cebc1(0x176)][_0x2cebc1(0x191)](_0x2cebc1(0x180)))[_0x2cebc1(0x187)](_0x53851c=>_0x53851c[_0x2cebc1(0x181)]),_0x6e5a99=_0x29ea60(_0x2cebc1(0x180),_0x2d9260);_0x3c7ded[_0x2cebc1(0x182)][_0x2cebc1(0x192)](_0x6e5a99),_0x3c7ded[_0x2cebc1(0x182)][_0x2cebc1(0x173)](_0x2cebc1(0x172))[_0x2cebc1(0x192)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2cebc1(0x180),'value':_0x15b21d=>{const _0x6ea70a=_0x2cebc1;let _0x139b48=_0x15b21d[_0x6ea70a(0x1a6)](_0x6ea70a(0x19c));return _0x191144(_0x139b48)&&(_0x139b48=String(Number(_0x139b48[_0x6ea70a(0x1a2)](0x0,-0x1))/0x64)),_0x139b48===String(_0x246214)?null:_0x6e5a99[_0x6ea70a(0x181)][_0x6ea70a(0x1a8)][_0x6ea70a(0x18a)](_0x139b48)?_0x139b48:null;}}});}}
@@ -1,34 +0,0 @@
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/lineheightui
7
- */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import '../theme/lineheight.css';
10
- /**
11
- * The line height UI plugin. It introduces the `'lineHeight'` dropdown.
12
- */
13
- export declare class LineHeightUI extends Plugin {
14
- /**
15
- * @inheritDoc
16
- */
17
- static get pluginName(): "LineHeightUI";
18
- /**
19
- * @inheritDoc
20
- */
21
- static get isOfficialPlugin(): true;
22
- /**
23
- * @inheritDoc
24
- */
25
- static get isPremiumPlugin(): true;
26
- /**
27
- * @inheritDoc
28
- */
29
- init(): void;
30
- /**
31
- * @inheritDoc
32
- */
33
- destroy(): void;
34
- }
@@ -1,23 +0,0 @@
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
- import{Plugin as _0x304b89}from'ckeditor5/src/core.js';import{addListToDropdown as _0x5644a7,createDropdown as _0x2226b,MenuBarMenuListItemButtonView as _0x4b9e43,MenuBarMenuListItemView as _0x40c734,MenuBarMenuListView as _0x5ba81c,MenuBarMenuView as _0x4ae97d,UIModel as _0x10637c}from'ckeditor5/src/ui.js';import{Collection as _0x59ac0e}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x51e5e1}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x57725c}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x304b89{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5b1d3b={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5b1d3b),this['_registerMenuBarComponent'](_0x5b1d3b),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25d13f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x25a1fc;for(const _0x458bad in _0x25d13f){const _0x561688=_0x458bad,_0x486ea0=_0x25d13f[_0x561688];if('lineHeightLicenseKeyValid'==_0x486ea0||'lineHeightLicenseKeyInvalid'==_0x486ea0||'lineHeightLicenseKeyExpired'==_0x486ea0||'lineHeightLicenseKeyDomainLimit'==_0x486ea0||'lineHeightLicenseKeyNotAllowed'==_0x486ea0||'lineHeightLicenseKeyEvaluationLimit'==_0x486ea0||'lineHeightLicenseKeyTrialLimit'==_0x486ea0||'lineHeightLicenseKeyUsageLimit'==_0x486ea0){delete _0x25d13f[_0x561688],_0x25a1fc=_0x486ea0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x25a1fc&&_0x25d13f['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x25a1fc&&_0x25d13f['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x25a1fc&&_0x25d13f['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x25a1fc&&_0x25d13f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4cba77=this['editor'],t=_0x4cba77['t'],_0x559b3d=_0x4cba77['config']['get']('lineHeight'),_0x5a83b5={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x57725c(_0x559b3d)['map'](_0x3b4f5b=>{const _0x6bf2f0=_0x5a83b5[_0x3b4f5b['title']];return _0x6bf2f0&&_0x6bf2f0!=_0x3b4f5b['title']&&(_0x3b4f5b=Object['assign']({},_0x3b4f5b,{'title':_0x6bf2f0})),_0x3b4f5b;});}['_prepareListOptions'](){const _0x46b189=this['editor']['commands']['get']('lineHeight'),_0x3e3e74=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2c77e0=this['_getLocalizedLineHeightOptions'](),_0x584d34=new _0x59ac0e(),_0x48f30=_0x2bbf26=>'default'===_0x2bbf26||String(_0x3e3e74)===_0x2bbf26;for(const _0x56431b of _0x2c77e0){const _0x5ae424={'type':'button','model':new _0x10637c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x56431b['title'],'withText':!0x0})};_0x48f30(_0x56431b['model'])?(_0x5ae424['model']['bind']('isOn')['to'](_0x46b189,'value',_0x1cbbd4=>!_0x1cbbd4),_0x5ae424['model']['commandParam']=void 0x0):(_0x5ae424['model']['bind']('isOn')['to'](_0x46b189,'value',_0x409010=>_0x409010===_0x56431b['model']),_0x5ae424['model']['commandParam']=_0x56431b['model']),_0x584d34['add'](_0x5ae424);}if(this['_shouldRenderCustomValueOption']()){const _0x4da2cd=this['_getCustomValueOptionDefinition'](_0x2c77e0);_0x584d34['add'](_0x4da2cd);}return _0x584d34;}['_getCustomValueOptionDefinition'](_0x4d73a5){const _0x3c1858=this['editor'],t=_0x3c1858['t'],_0x2688cf=_0x3c1858['commands']['get']('lineHeight'),_0xfabe99=_0x4d73a5['map'](_0x5459e8=>_0x5459e8['model']),_0x1f730a={'type':'button','model':new _0x10637c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1f730a['model']['bind']('commandParam')['to'](_0x2688cf,'value'),_0x1f730a['model']['bind']('isOn')['to'](_0x2688cf,'value',_0x25c725=>!!_0x25c725&&!_0xfabe99['includes'](String(_0x25c725))),_0x1f730a['model']['bind']('label')['to'](_0x2688cf,'value',_0x1d34fc=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1d34fc))),_0x1f730a;}['_registerToolbarComponent']({accessibleLabel:_0x493059,options:_0x445b23}){const _0x32c3bb=this['editor'],_0x595449=_0x32c3bb['commands']['get']('lineHeight');_0x32c3bb['ui']['componentFactory']['add']('lineHeight',_0x2ed7b5=>{const _0x49b4b6=_0x2226b(_0x2ed7b5);return _0x5644a7(_0x49b4b6,_0x445b23,{'role':'menu','ariaLabel':_0x493059}),_0x49b4b6['buttonView']['set']({'label':_0x493059,'tooltip':!0x0,'icon':_0x51e5e1}),_0x49b4b6['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x49b4b6['bind']('isEnabled')['to'](_0x595449),this['listenTo'](_0x49b4b6,'execute',_0x21156d=>{_0x32c3bb['execute'](_0x21156d['source']['commandName'],{'value':_0x21156d['source']['commandParam']}),_0x32c3bb['editing']['view']['focus']();}),_0x49b4b6['once']('change:isOpen',()=>{const _0x589166=_0x49b4b6['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x49b4b6,_0x445b23,_0x589166);}),_0x49b4b6;});}['_registerMenuBarComponent']({accessibleLabel:_0x26674a,options:_0x51b9a4}){const _0x134112=this['editor'],_0x3577c7=_0x134112['commands']['get']('lineHeight');_0x134112['ui']['componentFactory']['add']('menuBar:lineHeight',_0x411b68=>{const _0x1992bd=new _0x4ae97d(_0x411b68);_0x1992bd['buttonView']['set']({'label':_0x26674a,'icon':_0x51e5e1}),_0x1992bd['bind']('isEnabled')['to'](_0x3577c7);const _0x47a436=new _0x5ba81c(_0x411b68);for(const _0x3a5f77 of _0x51b9a4){const _0x315545=new _0x40c734(_0x411b68,_0x1992bd),_0x3a2c34=new _0x4b9e43(_0x411b68);_0x3a2c34['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3a2c34['bind'](...Object['keys'](_0x3a5f77['model']))['to'](_0x3a5f77['model']),_0x3a2c34['delegate']('execute')['to'](_0x1992bd),_0x3a2c34['on']('execute',()=>{_0x134112['execute'](_0x3a5f77['model']['commandName'],{'value':_0x3a5f77['model']['commandParam']}),_0x134112['editing']['view']['focus']();}),_0x315545['children']['add'](_0x3a2c34),_0x47a436['items']['add'](_0x315545);}return _0x1992bd['panelView']['children']['add'](_0x47a436),this['_attachCustomOptionVisibilityHandler'](_0x1992bd,_0x51b9a4,_0x47a436),_0x1992bd;});}['_attachCustomOptionVisibilityHandler'](_0x5b7f7f,_0x1341c4,_0x13f6b5){if(!this['_shouldRenderCustomValueOption']())return;const _0x2e640f=()=>{if(!_0x5b7f7f['isOpen'])return;_0x13f6b5['items']['last']['isVisible']=Boolean(_0x1341c4['last']['model']['isOn']);};_0x2e640f(),_0x5b7f7f['on']('change:isOpen',()=>{_0x2e640f();});}}
package/src/utils.d.ts DELETED
@@ -1,5 +0,0 @@
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
- export {};
package/src/utils.js DELETED
@@ -1,23 +0,0 @@
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
- (function(_0x50d6e3,_0x2ef9d1){const _0x2191e6=_0x3be0,_0x451d53=_0x50d6e3();while(!![]){try{const _0x5112b6=parseInt(_0x2191e6(0x82))/0x1+parseInt(_0x2191e6(0x6d))/0x2+-parseInt(_0x2191e6(0x68))/0x3+-parseInt(_0x2191e6(0x85))/0x4*(parseInt(_0x2191e6(0x86))/0x5)+parseInt(_0x2191e6(0x80))/0x6*(-parseInt(_0x2191e6(0x7b))/0x7)+-parseInt(_0x2191e6(0x6c))/0x8*(parseInt(_0x2191e6(0x7c))/0x9)+parseInt(_0x2191e6(0x83))/0xa;if(_0x5112b6===_0x2ef9d1)break;else _0x451d53['push'](_0x451d53['shift']());}catch(_0x490517){_0x451d53['push'](_0x451d53['shift']());}}}(_0x374f,0x29fa1));const v={get 'single'(){const _0x17cc1f=_0x3be0;return{'title':_0x17cc1f(0x81),'model':_0x17cc1f(0x75),'view':{'key':_0x17cc1f(0x69),'value':_0x17cc1f(0x71)}};},get 'double'(){const _0x29394c=_0x3be0;return{'title':_0x29394c(0x76),'model':_0x29394c(0x7a),'view':{'key':_0x29394c(0x69),'value':_0x29394c(0x79)}};}};function _0x374f(){const _0x286972=['56EOeOtA','104408KICeEI','line-height:','map','string','line-height-single','view','value','number','single','Double','values','toLowerCase','line-height-double','double','16541OvJGGi','99837BqFfGc','model','style','push','474xbfljB','Single','220592eSDdJU','6120220kGMDNP','key','12qwZrIm','463135WHBUZt','default','options','filter','512016WZcRQx','class','span','defaultValue'];_0x374f=function(){return _0x286972;};return _0x374f();}export function isLineHeightDefaultValue(_0x5ca576){const _0x40ba86=_0x3be0;return _0x40ba86(0x70)==typeof _0x5ca576&&_0x40ba86(0x87)===_0x5ca576[_0x40ba86(0x78)]();}function _0x3be0(_0x1e1c78,_0x2c5320){const _0x374fd4=_0x374f();return _0x3be0=function(_0x3be053,_0x9989f6){_0x3be053=_0x3be053-0x66;let _0x1179da=_0x374fd4[_0x3be053];return _0x1179da;},_0x3be0(_0x1e1c78,_0x2c5320);}export function normalizeOptions(_0x42ae33){const _0xdb5856=_0x3be0;return _0x42ae33[_0xdb5856(0x66)][_0xdb5856(0x6f)](_0x344399=>isLineHeightDefaultValue(_0x344399)?{'title':String(_0x42ae33[_0xdb5856(0x6b)]),'model':_0xdb5856(0x87)}:(_0xdb5856(0x74)==typeof _0x344399&&(_0x344399=String(_0x344399)),_0xdb5856(0x70)!=typeof _0x344399?_0x344399:parseFloat(_0x344399)?{'title':_0x344399,'model':_0x344399,'view':{'name':_0xdb5856(0x6a),'styles':{'line-height':_0x344399}}}:findPreset(_0x344399)))[_0xdb5856(0x67)](_0x3fb675=>void 0x0!==_0x3fb675);}export function findPreset(_0x47f048){const _0x2717e8=_0x3be0;return _0x2717e8(0x70)==typeof _0x47f048?v[_0x47f048]:v[_0x47f048[_0x2717e8(0x7d)]];}export function buildDefinition(_0x39e8c0,_0x35e23f){const _0x4e8166=_0x3be0,_0x1f6914={'model':{'key':_0x39e8c0,'values':[]},'view':{}};for(const _0x127525 of _0x35e23f)_0x4e8166(0x69)===_0x127525[_0x4e8166(0x72)]?.[_0x4e8166(0x84)]?(_0x1f6914[_0x4e8166(0x7d)][_0x4e8166(0x77)][_0x4e8166(0x7f)](_0x127525[_0x4e8166(0x7d)]),_0x1f6914[_0x4e8166(0x72)][_0x127525[_0x4e8166(0x7d)]]={'key':_0x4e8166(0x69),'value':_0x127525[_0x4e8166(0x72)][_0x4e8166(0x73)]}):(_0x1f6914[_0x4e8166(0x7d)][_0x4e8166(0x77)][_0x4e8166(0x7f)](_0x127525[_0x4e8166(0x7d)]),_0x1f6914[_0x4e8166(0x72)][_0x127525[_0x4e8166(0x7d)]]={'key':_0x4e8166(0x7e),'value':_0x4e8166(0x6e)+_0x127525[_0x4e8166(0x7d)]+';'});return _0x1f6914;}
@@ -1,16 +0,0 @@
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
- .ck-content .line-height-single {
11
- line-height: 1;
12
- }
13
-
14
- .ck-content .line-height-double {
15
- line-height: 2;
16
- }