@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250628.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,4 @@
1
+ Changelog
2
+ =========
3
+
4
+ All changes in the package are documented in https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
package/LICENSE.md ADDED
@@ -0,0 +1,18 @@
1
+ Software License Agreement
2
+ ==========================
3
+
4
+ **CKEditor&nbsp;5 Line height feature** (https://ckeditor.com/ckeditor-5/)<br>
5
+ Copyright (c) 2003–2025, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
+
7
+ CKEditor&nbsp;5 Line height feature is licensed under a commercial license and is protected by copyright law.
8
+ For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
9
+
10
+ Sources of Intellectual Property Included in CKEditor&nbsp;5 Line height feature
11
+ --------------------------------------------------------------------------------
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.
14
+
15
+ Trademarks
16
+ ----------
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.
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ CKEditor 5 line height feature
2
+ ===========================
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.
@@ -0,0 +1,4 @@
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.ck-line-height-dropdown .ck-dropdown__panel .ck-list{max-height:300px}.ck.ck-line-height-dropdown .ck-dropdown__panel .ck-button.ck-line-height-option{min-width:6em}.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 u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},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],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var p=n(d),h={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(h);else{var f=r(h,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,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),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,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:()=>D,LineHeightCommand:()=>l,LineHeightEditing:()=>b,LineHeightUI:()=>T});var e=n(782);function t(){const e=["lineHeight","48YmTMFS","134448FTwBWy","17942Stxdwg","18iWoykg","24VogLiM","227580DxMdvZ","54873nyCmkO","174510xvQovA","581630xoZEWV","145455xUdYyh"];return(t=function(){return e})()}const r=o;function o(e,n){const i=t();return(o=function(e,t){return i[e-=130]})(e,n)}!function(e){const t=o,n=e();for(;;)try{if(147884===parseInt(t(139))/1+parseInt(t(138))/2+-parseInt(t(135))/3*(-parseInt(t(130))/4)+parseInt(t(133))/5+parseInt(t(140))/6*(-parseInt(t(134))/7)+parseInt(t(137))/8*(-parseInt(t(132))/9)+parseInt(t(131))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(t);const s=r(136);var a=n(584);const c=u;function u(e,t){const n=d();return(u=function(e,t){return n[e-=431]})(e,t)}!function(e){const t=u,n=e();for(;;)try{if(197165===parseInt(t(457))/1+parseInt(t(431))/2*(-parseInt(t(440))/3)+parseInt(t(458))/4+-parseInt(t(433))/5*(parseInt(t(445))/6)+-parseInt(t(434))/7+-parseInt(t(453))/8*(-parseInt(t(446))/9)+parseInt(t(454))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(d);class l extends e.Command{[c(436)](){const e=c,t=this[e(455)][e(438)][e(452)],n=(0,a.first)(t[e(450)][e(439)]());this[e(444)]=Boolean(n)&&this[e(441)](n),this[e(443)]=this[e(444)]&&n[e(432)](s)}[c(449)](e={}){const t=c,n=this[t(455)][t(438)],i=n[t(452)][t(450)],r=e[t(443)];n[t(435)](e=>{const n=t,o=Array[n(451)](i[n(439)]())[n(447)](e=>this[n(441)](e));for(const t of o)r?e[n(456)](s,r,t):e[n(437)](s,t)})}[c(441)](e){const t=c;return this[t(455)][t(438)][t(448)][t(442)](e,s)}}function d(){const e=["1236905kNLbyT","1907521AyVFSm","change","refresh","removeAttribute","model","getSelectedBlocks","6pMIIVQ","_canHaveLineHeight","checkAttribute","value","isEnabled","6iRxPCW","265653vsumNL","filter","schema","execute","selection","from","document","56IoufjQ","3972740FIPTYI","editor","setAttribute","316769GfZYCf","254420zmwZkt","267218VHwlGG","getAttribute"];return(d=function(){return e})()}var p=n(783);!function(e){const t=g,n=e();for(;;)try{if(771624===-parseInt(t(304))/1+-parseInt(t(298))/2+-parseInt(t(295))/3*(-parseInt(t(314))/4)+-parseInt(t(302))/5+parseInt(t(300))/6+parseInt(t(320))/7+parseInt(t(305))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(w);const h={get single(){const e=g;return{title:e(296),model:e(325),view:{key:e(319),value:e(301)}}},get double(){const e=g;return{title:e(316),model:e(313),view:{key:e(319),value:e(321)}}}};function f(e){const t=g;return t(317)==typeof e&&t(310)===e[t(323)]()}function m(e){const t=g;return e[t(299)][t(315)](n=>f(n)?{title:String(e[t(309)]),model:t(310)}:(t(297)==typeof n&&(n=String(n)),t(317)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(306),styles:{"line-height":n}}}:function(e){const t=g;return t(317)==typeof e?h[e]:h[e[t(307)]]}(n)))[t(303)](e=>void 0!==e)}function g(e,t){const n=w();return(g=function(e,t){return n[e-=294]})(e,t)}function w(){const e=["span","model","push","defaultValue","default","view","value","double","776YMXgmQ","map","Double","string","values","class","4136790XECNtQ","line-height-double","key","toLowerCase","line-height:","single","style","18030pPZCSQ","Single","number","2056206EKjpUp","options","3035244XWlkfM","line-height-single","1259415oAgZze","filter","926376PYCpXv","5721616xReghb"];return(w=function(){return e})()}function v(){const e=["get","9mhPfNx","426128jAuVsk","lineHeight.defaultValue","for","setAttributeProperties","afterInit","isPremiumPlugin","upcast","includes","line-height-invalid-use-of-named-presets","slice","pluginName","981152PbZVqn","conversion","_validateConfig","model","extend","_prepareAnyValueConverters","10889464krZVnD","lineHeight","init","1286243SIZtlg","attributeToAttribute","href","1695711ufpVzF","style","config","fromCharCode","isOfficialPlugin","join","define","downcast","44mwPcjX","string","getStyle","lineHeight.supportAllValues","5435720jJiErD","length","_preparePredefinedConverters","LineHeightEditing","$block","20RAzNJp","default","editor","add","lineHeight.options","values","filter","line-height","map","commands","12uXjEPc","1404732mFWtNh","schema"];return(v=function(){return e})()}const y=I;function I(e,t){const n=v();return(I=function(e,t){return n[e-=500]})(e,t)}!function(e){const t=I,n=e();for(;;)try{if(869840===-parseInt(t(538))/1+parseInt(t(526))/2+parseInt(t(511))/3+-parseInt(t(515))/4*(-parseInt(t(500))/5)+parseInt(t(510))/6*(parseInt(t(535))/7)+-parseInt(t(532))/8*(parseInt(t(514))/9)+parseInt(t(550))/10*(parseInt(t(546))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(v);class b extends e.Plugin{static get[y(525)](){return y(553)}static get[y(542)](){return!0}static get[y(520)](){return!0}constructor(e){const t=y;super(e),e[t(540)][t(544)](s,{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(501),2,2.5,3]})}[y(534)](){const e=y,t=this[e(502)];this[e(528)](),t[e(529)][e(512)][e(530)](e(554),{allowAttributes:s}),t[e(529)][e(512)][e(518)](s,{isFormatting:!0}),t[e(509)][e(503)](s,new l(t)),this[e(502)][e(540)][e(513)](e(549))?this[e(531)]():this[e(552)]()}[y(519)](){!async function(e){const t=m([98,101,97,76,110,67,77,78,87,50,121,70,55,109,111,89,73,75,107,65,83,49,103,117,68,118,81,79,114,113,74,100,120,86,108,66,119,48,90,53,71,57,56,102,99,52,88,106,54,80,82,122,85,104,69,84,72,112,115,116,51,105]),n=window[m([68,97,116,101])][m([110,111,119])](),i=e[m([101,100,105,116,111,114])],r=new(window[m([80,114,111,109,105,115,101])])(e=>{i[m([111,110,99,101])](m([114,101,97,100,121]),e)}),o={[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])},s=i[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)),r[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;i[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 u(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(e)):null}function l(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 p(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 h(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function f(){}function m(e){const t=I;return e[t(508)](e=>String[t(541)](e))[t(543)]("")}!function(e){const n=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 n=m([98]);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>=t[m([108,101,110,103,116,104])]&&(r-=t[m([108,101,110,103,116,104])]),n+=t[r]}return n}();i[n]=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 r,i[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=f,i[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,i[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,t=null,f=null;try{return s==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=s[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=u(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])]&&(f=function(e,t){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(o())return c(m([86,97,108,105,100]));s(),i[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 u=!1;const l=(0,a.uid)();function f(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(i){a(i)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?p(d(l+t))!=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(n-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])+p(d(e)),i=h(p(window[m([77,97,116,104])][m([99,101,105,108])](n/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,i)}function s(){const t=m([108,108,99,116,45])+p(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])](h(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)})}}i[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])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),i[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{f(e[m([114,101,116,117,114,110])])&&(u=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),r[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function o(){return i[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 s(){i[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=s[m([115,112,108,105,116])](m([46])),[r,o,a]=i;return t(r),await n(r,o,a),e}catch{return!1}function t(t){const n=u(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])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),s=(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]),o,{[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,s)||(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])])?n/1e3:1751068800;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=I,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(537)]);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])&&(t=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])&&(t=c(m([84,114,105,97,108,76,105,109,105,116]))),await(t&&f?new(window[m([80,114,111,109,105,115,101])])((e,n)=>{t[m([116,104,101,110])](e,n),f[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},n)}):t||f||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)}[y(528)](){const e=y,t=this[e(502)];if(!t[e(540)][e(513)](e(549)))return;const n=t[e(540)][e(513)](e(504))[e(506)](t=>e(547)==typeof t&&!f(t)&&isNaN(Number(t)));if(n[e(551)])throw new a.CKEditorError(e(523),null,{namedPresets:n})}[y(531)](){const e=y,t=this[e(502)],n=this[e(502)][e(540)][e(513)](e(516));t[e(527)][e(517)](e(545))[e(536)]({model:{key:s},view:t=>String(t)===String(n)?null:{key:e(539),value:{"line-height":t}}}),t[e(527)][e(517)](e(521))[e(536)]({model:{key:s,value:t=>{const i=e;let r=t[i(548)](i(507));return(0,p.isPercentageStyleValue)(r)&&(r=String(Number(r[i(524)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[y(552)](){const e=y,t=this[e(502)],n=this[e(502)][e(540)][e(513)](e(516)),i=m(this[e(502)][e(540)][e(513)](e(533)))[e(506)](t=>t[e(529)]),r=function(e,t){const n=g,i={model:{key:e,values:[]},view:{}};for(const e of t)n(319)===e[n(311)]?.[n(322)]?(i[n(307)][n(318)][n(308)](e[n(307)]),i[n(311)][e[n(307)]]={key:n(319),value:e[n(311)][n(312)]}):(i[n(307)][n(318)][n(308)](e[n(307)]),i[n(311)][e[n(307)]]={key:n(294),value:n(324)+e[n(307)]+";"});return i}(s,i);t[e(527)][e(536)](r),t[e(527)][e(517)](e(521))[e(536)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:s,value:t=>{const i=e;let o=t[i(548)](i(507));return(0,p.isPercentageStyleValue)(o)&&(o=String(Number(o[i(524)](0,-1))/100)),o===String(n)?null:r[i(529)][i(505)][i(522)](o)?o:null}}})}}var L=n(311),H=n(355),_=n(673),k=n.n(_),x=n(545),C=n.n(x),E=n(262),O=n.n(E),S=n(667),P=n.n(S),V=n(357),A=n.n(V),K=n(422),N={attributes:{"data-cke":!0}};N.setAttributes=P(),N.insert=O().bind(null,"head"),N.domAPI=C(),N.insertStyleElement=A();k()(K.A,N);K.A&&K.A.locals&&K.A.locals;class T 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 m(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"),t=this._getLocalizedLineHeightOptions(),n=new a.Collection;for(const i of t){const t={type:"button",model:new L.UIModel({commandName:s,class:"ck-line-height-option",role:"menuitemradio",label:i.title,withText:!0})};"default"===i.model?(t.model.bind("isOn").to(e,"value",e=>!e),t.model.commandParam=void 0):(t.model.bind("isOn").to(e,"value",e=>e===i.model),t.model.commandParam=i.model),n.add(t)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(t);n.add(e)}return n}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get(s),r=e.map(e=>e.model),o={type:"button",model:new L.UIModel({commandName:s,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=>!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(s,r=>{const o=(0,L.createDropdown)(r);return(0,L.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:H.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:"+s,r=>{const o=new L.MenuBarMenuView(r);o.buttonView.set({label:e,icon:H.IconLineHeight}),o.bind("isEnabled").to(i);const s=new L.MenuBarMenuListView(r);for(const e of t){const t=new L.MenuBarMenuListItemView(r,o),i=new L.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 M=B;function j(){var e=["requires","5327511oIOsxp","1oSAXjP","856656pWVbGZ","1415146SvLyCt","3585748IFYKCO","pluginName","isPremiumPlugin","4183180OpvKBN","369176mLIUof","isOfficialPlugin","LineHeight","657ZtQJJb","4952412nLTrtr"];return(j=function(){return e})()}function B(e,t){var n=j();return(B=function(e,t){return n[e-=187]})(e,t)}!function(e){for(var t=B,n=e();;)try{if(578204===parseInt(t(200))/1*(-parseInt(t(188))/2)+-parseInt(t(187))/3+-parseInt(t(189))/4+-parseInt(t(192))/5+-parseInt(t(197))/6+parseInt(t(199))/7+parseInt(t(193))/8*(parseInt(t(196))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j);class D extends e.Plugin{static get[M(198)](){return[b,T]}static get[M(190)](){return M(195)}static get[M(194)](){return!0}static get[M(191)](){return!0}}function F(e,t){var n=U();return(F=function(e,t){return n[e-=375]})(e,t)}function U(){var e=["379267XOQvAL","9LgLnLT","5XOzEmK","1691584xvvfwQ","13024iiBoVb","63838dExCGv","674922sscooo","18016GdLrHi","6crGlmi","425770tHeBDr","6oiWvMe"];return(U=function(){return e})()}!function(e){for(var t=F,n=e();;)try{if(131009===-parseInt(t(380))/1*(parseInt(t(383))/2)+parseInt(t(385))/3*(parseInt(t(382))/4)+parseInt(t(377))/5*(parseInt(t(381))/6)+-parseInt(t(375))/7+parseInt(t(378))/8+parseInt(t(376))/9*(parseInt(t(384))/10)+parseInt(t(379))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
@@ -0,0 +1,18 @@
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
+ }
@@ -0,0 +1,11 @@
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
+ }
@@ -0,0 +1,11 @@
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.ck-line-height-dropdown .ck-dropdown__panel .ck-list{
6
+ max-height:300px;
7
+ }
8
+
9
+ .ck.ck-line-height-dropdown .ck-dropdown__panel .ck-button.ck-line-height-option{
10
+ min-width:6em;
11
+ }
package/dist/index.css ADDED
@@ -0,0 +1,30 @@
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.ck-line-height-dropdown .ck-dropdown__panel .ck-list {
15
+ /* Extend dropdown height for better UX */
16
+ max-height: 300px;
17
+ }
18
+
19
+ .ck.ck-line-height-dropdown .ck-dropdown__panel .ck-button.ck-line-height-option {
20
+ /* Add some minimum width to avoid too narrow buttons */
21
+ min-width: 6em;
22
+ }
23
+
24
+ .ck-content .line-height-single {
25
+ line-height: 1;
26
+ }
27
+
28
+ .ck-content .line-height-double {
29
+ line-height: 2;
30
+ }
package/dist/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{Command as _0x3ca20b,Plugin as _0x3dd978}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x5469f3,CKEditorError as _0x7bb2ec,uid as _0x321c4b,Collection as _0x2c1e83}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x1680e8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x316215,createDropdown as _0x45ea3a,addListToDropdown as _0x47d213,MenuBarMenuView as _0x27de7c,MenuBarMenuListView as _0x4d4139,MenuBarMenuListItemView as _0x293887,MenuBarMenuListItemButtonView as _0x1f5ca0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x51ca18}from'@ckeditor/ckeditor5-icons/dist/index.js';const o='lineHeight';class n extends _0x3ca20b{['refresh'](){const _0x2e45da=this['editor']['model']['document'],_0x386f8c=_0x5469f3(_0x2e45da['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x386f8c)&&this['_canHaveLineHeight'](_0x386f8c),this['value']=this['isEnabled']&&_0x386f8c['getAttribute'](o);}['execute'](_0xf92d3b={}){const _0x2907fc=this['editor']['model'],_0xdc7186=_0x2907fc['document']['selection'],_0x58eb4d=_0xf92d3b['value'];_0x2907fc['change'](_0x1c8d66=>{const _0x3e43dd=Array['from'](_0xdc7186['getSelectedBlocks']())['filter'](_0x100641=>this['_canHaveLineHeight'](_0x100641));for(const _0x29f68b of _0x3e43dd)_0x58eb4d?_0x1c8d66['setAttribute'](o,_0x58eb4d,_0x29f68b):_0x1c8d66['removeAttribute'](o,_0x29f68b);});}['_canHaveLineHeight'](_0x26ab30){return this['editor']['model']['schema']['checkAttribute'](_0x26ab30,o);}}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 a(_0x566b0d){return'string'==typeof _0x566b0d&&'default'===_0x566b0d['toLowerCase']();}function d(_0x440ff1){return _0x440ff1['options']['map'](_0x444d85=>{return a(_0x444d85)?{'title':String(_0x440ff1['defaultValue']),'model':'default'}:('number'==typeof _0x444d85&&(_0x444d85=String(_0x444d85)),'string'!=typeof _0x444d85?_0x444d85:parseFloat(_0x444d85)?{'title':_0x444d85,'model':_0x444d85,'view':{'name':'span','styles':{'line-height':_0x444d85}}}:'string'==typeof(_0x33a6fa=_0x444d85)?v[_0x33a6fa]:v[_0x33a6fa['model']]);var _0x33a6fa;})['filter'](_0xaf0851=>void 0x0!==_0xaf0851);}class e extends _0x3dd978{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1bde1c){super(_0x1bde1c),_0x1bde1c['config']['define'](o,{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3e230a=this['editor'];this['_validateConfig'](),_0x3e230a['model']['schema']['extend']('$block',{'allowAttributes':o}),_0x3e230a['model']['schema']['setAttributeProperties'](o,{'isFormatting':!0x0}),_0x3e230a['commands']['add'](o,new n(_0x3e230a)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x541b00){const _0x5809f9=_0x4195d3([0x62,0x65,0x61,0x4c,0x6e,0x43,0x4d,0x4e,0x57,0x32,0x79,0x46,0x37,0x6d,0x6f,0x59,0x49,0x4b,0x6b,0x41,0x53,0x31,0x67,0x75,0x44,0x76,0x51,0x4f,0x72,0x71,0x4a,0x64,0x78,0x56,0x6c,0x42,0x77,0x30,0x5a,0x35,0x47,0x39,0x38,0x66,0x63,0x34,0x58,0x6a,0x36,0x50,0x52,0x7a,0x55,0x68,0x45,0x54,0x48,0x70,0x73,0x74,0x33,0x69]),_0x4f2470=0x46b47d5c,_0x330783=0x46b31154^_0x4f2470,_0xb50da7=window[_0x4195d3([0x44,0x61,0x74,0x65])][_0x4195d3([0x6e,0x6f,0x77])](),_0x223355=_0x541b00[_0x4195d3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x97a139=new window[(_0x4195d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3966c1=>{_0x223355[_0x4195d3([0x6f,0x6e,0x63,0x65])](_0x4195d3([0x72,0x65,0x61,0x64,0x79]),_0x3966c1);}),_0x1196f7={[_0x4195d3([0x6b,0x74,0x79])]:_0x4195d3([0x45,0x43]),[_0x4195d3([0x75,0x73,0x65])]:_0x4195d3([0x73,0x69,0x67]),[_0x4195d3([0x63,0x72,0x76])]:_0x4195d3([0x50,0x2d,0x32,0x35,0x36]),[_0x4195d3([0x78])]:_0x4195d3([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]),[_0x4195d3([0x79])]:_0x4195d3([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]),[_0x4195d3([0x61,0x6c,0x67])]:_0x4195d3([0x45,0x53,0x32,0x35,0x36])},_0x4f82f1=_0x223355[_0x4195d3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4195d3([0x67,0x65,0x74])](_0x4195d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xbf3fdb(){let _0xb08fef,_0x582a6f=null,_0x497011=null;try{if(_0x4f82f1==_0x4195d3([0x47,0x50,0x4c]))return _0x4195d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb08fef=_0x511f98(),!_0xb08fef)return _0x4195d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb08fef[_0x4195d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x497011=_0x2e0a23(_0xb08fef[_0x4195d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb08fef[_0x4195d3([0x6a,0x74,0x69])])),await _0x3a326a()?_0x2410a8()?_0x591d84()?_0x4195d3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x169faa()?(_0xb08fef[_0x4195d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4195d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x582a6f=_0x55d795(_0x4195d3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xb08fef[_0x4195d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4195d3([0x74,0x72,0x69,0x61,0x6c])&&(_0x582a6f=_0x55d795(_0x4195d3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16a0f9()):_0x4195d3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4195d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4195d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4195d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x591d84(){const _0x789da8=[_0x4195d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4195d3([0x74,0x72,0x69,0x61,0x6c])][_0x4195d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb08fef[_0x4195d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb50da7/0x3e8:0xe10*_0x330783;return _0xb08fef[_0x4195d3([0x65,0x78,0x70])]<_0x789da8;}function _0x2410a8(){const _0x456d09=_0xb08fef[_0x4195d3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x456d09&&(!!_0x456d09[_0x4195d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4195d3([0x2a]))||!!_0x456d09[_0x4195d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4195d3([0x4c,0x48])));}function _0x169faa(){const _0x2fca45=_0xb08fef[_0x4195d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2fca45||0x0==_0x2fca45[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x368317}=new URL(window[_0x4195d3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2fca45[_0x4195d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368317))return!0x0;const _0x39956e=_0x368317[_0x4195d3([0x73,0x70,0x6c,0x69,0x74])](_0x4195d3([0x2e]));return _0x2fca45[_0x4195d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a1a58=>_0x1a1a58[_0x4195d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4195d3([0x2a])))[_0x4195d3([0x6d,0x61,0x70])](_0xa0fd33=>_0xa0fd33[_0x4195d3([0x73,0x70,0x6c,0x69,0x74])](_0x4195d3([0x2e])))[_0x4195d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x114595=>_0x114595[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x39956e[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4195d3([0x6d,0x61,0x70])](_0x5da556=>Array(_0x39956e[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5da556[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4195d3([0x66,0x69,0x6c,0x6c])](_0x5da556[0x0]===_0x4195d3([0x2a])?_0x4195d3([0x2a]):'')[_0x4195d3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5da556))[_0x4195d3([0x73,0x6f,0x6d,0x65])](_0x2bf9be=>_0x39956e[_0x4195d3([0x65,0x76,0x65,0x72,0x79])]((_0x12ae71,_0x5dc74b)=>_0x2bf9be[_0x5dc74b]===_0x12ae71||_0x2bf9be[_0x5dc74b]===_0x4195d3([0x2a])));}function _0x16a0f9(){return _0x582a6f&&_0x497011?new window[(_0x4195d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x235435,_0x500ae9)=>{_0x582a6f[_0x4195d3([0x74,0x68,0x65,0x6e])](_0x235435,_0x500ae9),_0x497011[_0x4195d3([0x74,0x68,0x65,0x6e])](_0x50f126=>{_0x50f126!=_0x4195d3([0x56,0x61,0x6c,0x69,0x64])&&_0x235435(_0x50f126);},_0x500ae9);}):_0x582a6f||_0x497011||_0x4195d3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e0a23(_0xdbd02e,_0xf7ba5b){return new window[(_0x4195d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c6083=>{if(_0x51daad())return _0x3c6083(_0x4195d3([0x56,0x61,0x6c,0x69,0x64]));_0x22adba(),_0x223355[_0x4195d3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4195d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x329bff=!0x1;const _0x389c02=_0x321c4b();function _0x149105(_0x4b15d6){return!!_0x4b15d6&&(typeof _0x4b15d6===_0x4195d3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b15d6===_0x4195d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b15d6[_0x4195d3([0x74,0x68,0x65,0x6e])]===_0x4195d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b15d6[_0x4195d3([0x63,0x61,0x74,0x63,0x68])]===_0x4195d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x437f73(_0x49443f){_0x392fae(_0x49443f)[_0x4195d3([0x74,0x68,0x65,0x6e])](_0x271197=>{if(!_0x271197||_0x271197[_0x4195d3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4195d3([0x6f,0x6b]))return _0x4195d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x338656(_0x120172(_0x389c02+_0xf7ba5b))!=_0x271197[_0x4195d3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4195d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4195d3([0x56,0x61,0x6c,0x69,0x64]);})[_0x4195d3([0x74,0x68,0x65,0x6e])](_0x58fc8f=>(_0x46905e(),_0x58fc8f),()=>{const _0x6d8cec=_0x4ac329();return null==_0x6d8cec?(_0x46905e(),_0x4195d3([0x56,0x61,0x6c,0x69,0x64])):_0x4195d3(_0xb50da7-_0x6d8cec>(0x62b8f95c^_0x4f2470)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4195d3([0x74,0x68,0x65,0x6e])](_0x3c6083)[_0x4195d3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c6083(_0x4195d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24cb39=0x468293dc^_0x4f2470;function _0x46905e(){const _0x1d8eb2=_0x4195d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x338656(_0x120172(_0xdbd02e)),_0x2ae42c=_0x4c0096(_0x338656(window[_0x4195d3([0x4d,0x61,0x74,0x68])][_0x4195d3([0x63,0x65,0x69,0x6c])](_0xb50da7/_0x24cb39)));window[_0x4195d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4195d3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d8eb2,_0x2ae42c);}function _0x4ac329(){const _0x4788e3=_0x4195d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x338656(_0x120172(_0xdbd02e)),_0x835f0d=window[_0x4195d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4195d3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4788e3);return _0x835f0d?window[_0x4195d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c0096(_0x835f0d),0x10)*_0x24cb39:null;}function _0x392fae(_0x4ef0c8){return new window[(_0x4195d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ee85d,_0x13aac2)=>{_0x4ef0c8[_0x4195d3([0x74,0x68,0x65,0x6e])](_0x1ee85d,_0x13aac2),window[_0x4195d3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x13aac2,0x46b5a99c^_0x4f2470);});}}_0x223355[_0x4195d3([0x6f,0x6e])](_0x4195d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a3128,_0x9588a9)=>{if(_0x9588a9[0x0]!=_0xdbd02e)return _0x3c6083(_0x4195d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x9588a9[0x1]={..._0x9588a9[0x1],[_0x4195d3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x389c02};},{[_0x4195d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4195d3([0x68,0x69,0x67,0x68])}),_0x223355[_0x4195d3([0x6f,0x6e])](_0x4195d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31e925=>{_0x149105(_0x31e925[_0x4195d3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x329bff=!0x0,_0x437f73(_0x31e925[_0x4195d3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4195d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4195d3([0x6c,0x6f,0x77])}),_0x97a139[_0x4195d3([0x74,0x68,0x65,0x6e])](()=>{_0x329bff||_0x3c6083(_0x4195d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51daad(){return _0x223355[_0x4195d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4195d3([0x76,0x69,0x65,0x77])][_0x4195d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4195d3([0x61,0x75,0x74,0x6f]);}function _0x22adba(){_0x223355[_0x4195d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4195d3([0x76,0x69,0x65,0x77])][_0x4195d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4195d3([0x61,0x75,0x74,0x6f]);}}function _0x55d795(_0x53171a){const _0x4d03f7=[new window[(_0x4195d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4647fc=>setTimeout(_0x4647fc,0x46bd4390^_0x4f2470)),_0x97a139[_0x4195d3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4195d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35c426=>{let _0x1d5c39=0x0;_0x223355[_0x4195d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4195d3([0x6f,0x6e])](_0x4195d3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e7f5d,_0xf79817)=>{_0xf79817[0x0][_0x4195d3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d5c39++,_0x1d5c39==(0x46b47ca4^_0x4f2470)&&(_0x35c426(),_0x5e7f5d[_0x4195d3([0x6f,0x66,0x66])]());});}))];return window[_0x4195d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4195d3([0x72,0x61,0x63,0x65])](_0x4d03f7)[_0x4195d3([0x74,0x68,0x65,0x6e])](()=>_0x53171a);}async function _0x2957c2(){await _0x97a139,_0x223355[_0x4195d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4195d3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x424e82,_0x223355[_0x4195d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4195d3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x424e82,_0x223355[_0x4195d3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4195d3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x214990(_0xea4e61){const _0x2e7517=_0x3ea95e();_0x223355[_0x2e7517]=_0x4195d3([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xea4e61,_0xea4e61!=_0x4195d3([0x56,0x61,0x6c,0x69,0x64])&&_0x2957c2();}function _0x3ea95e(){const _0x244d50=window[_0x4195d3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4195d3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4195d3([0x6e,0x6f,0x77])]())[_0x4195d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4195d3([0x2e]),'');let _0x332a82=_0x4195d3([0x62]);for(let _0x3a3822=0x0;_0x3a3822<_0x244d50[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a3822+=0x2){let _0xb9a80c=window[_0x4195d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x244d50[_0x4195d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a3822,_0x3a3822+0x2));_0xb9a80c>=_0x5809f9[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb9a80c-=_0x5809f9[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x332a82+=_0x5809f9[_0xb9a80c];}return _0x332a82;}function _0x511f98(){const _0x2ff7cd=_0x4f82f1[_0x4195d3([0x73,0x70,0x6c,0x69,0x74])](_0x4195d3([0x2e]));if(0x3!=_0x2ff7cd[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfee66b(_0x2ff7cd[0x1]);function _0xfee66b(_0x47eee0){const _0xf2d27b=_0x42a3df(_0x47eee0);return _0xf2d27b&&_0x5ca634()?_0xf2d27b:null;function _0x5ca634(){const _0x23df79=_0xf2d27b[_0x4195d3([0x6a,0x74,0x69])],_0x1c42ea=window[_0x4195d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23df79[_0x4195d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23df79[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5dca81={..._0xf2d27b,[_0x4195d3([0x6a,0x74,0x69])]:_0x23df79[_0x4195d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23df79[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5dca81[_0x4195d3([0x76,0x63])],_0x120172(_0x5dca81)==_0x1c42ea;}}}async function _0x3a326a(){let _0x259589=!0x0;try{const _0x4f39cd=_0x4f82f1[_0x4195d3([0x73,0x70,0x6c,0x69,0x74])](_0x4195d3([0x2e])),[_0x222308,_0x1acab8,_0x5f55fa]=_0x4f39cd;return _0x3876d2(_0x222308),await _0xa93165(_0x222308,_0x1acab8,_0x5f55fa),_0x259589;}catch{return!0x1;}function _0x3876d2(_0x199f06){const _0x2b49cd=_0x42a3df(_0x199f06);_0x2b49cd&&_0x2b49cd[_0x4195d3([0x61,0x6c,0x67])]==_0x4195d3([0x45,0x53,0x32,0x35,0x36])||(_0x259589=!0x1);}async function _0xa93165(_0x5c07d6,_0x2cacd0,_0x55564a){const _0x588bed=window[_0x4195d3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4195d3([0x66,0x72,0x6f,0x6d])](_0x3eb855(_0x55564a),_0x104140=>_0x104140[_0x4195d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x242601=new window[(_0x4195d3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4195d3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c07d6+_0x4195d3([0x2e])+_0x2cacd0),_0x375a4e=window[_0x4195d3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4195d3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x375a4e)return;const _0x2f560e=await _0x375a4e[_0x4195d3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4195d3([0x6a,0x77,0x6b]),_0x1196f7,{[_0x4195d3([0x6e,0x61,0x6d,0x65])]:_0x4195d3([0x45,0x43,0x44,0x53,0x41]),[_0x4195d3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4195d3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4195d3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x375a4e[_0x4195d3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4195d3([0x6e,0x61,0x6d,0x65])]:_0x4195d3([0x45,0x43,0x44,0x53,0x41]),[_0x4195d3([0x68,0x61,0x73,0x68])]:{[_0x4195d3([0x6e,0x61,0x6d,0x65])]:_0x4195d3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f560e,_0x588bed,_0x242601)||(_0x259589=!0x1);}}function _0x42a3df(_0x3af554){return _0x3af554[_0x4195d3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4195d3([0x65,0x79]))?JSON[_0x4195d3([0x70,0x61,0x72,0x73,0x65])](_0x3eb855(_0x3af554)):null;}function _0x3eb855(_0x5da686){return window[_0x4195d3([0x61,0x74,0x6f,0x62])](_0x5da686[_0x4195d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4195d3([0x2b]))[_0x4195d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4195d3([0x2f])));}function _0x120172(_0x4f9a51){let _0x373fae=0x1505;function _0x4a1904(_0x16f9b3){for(let _0x3d66d5=0x0;_0x3d66d5<_0x16f9b3[_0x4195d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d66d5++){const _0x20e216=_0x16f9b3[_0x4195d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d66d5);_0x373fae=(_0x373fae<<0x5)+_0x373fae+_0x20e216,_0x373fae&=_0x373fae;}}function _0x369b2d(_0x4ac1e6){Array[_0x4195d3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ac1e6)?_0x4ac1e6[_0x4195d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x369b2d):_0x4ac1e6&&typeof _0x4ac1e6==_0x4195d3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4195d3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ac1e6)[_0x4195d3([0x73,0x6f,0x72,0x74])]()[_0x4195d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x283add,_0x3b16a2])=>{_0x4a1904(_0x283add),_0x369b2d(_0x3b16a2);}):_0x4a1904(window[_0x4195d3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ac1e6));}return _0x369b2d(_0x4f9a51),_0x373fae>>>0x0;}function _0x338656(_0x169393){return _0x169393[_0x4195d3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4195d3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4195d3([0x30]));}function _0x4c0096(_0x1ad91f){return _0x1ad91f[_0x4195d3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4195d3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4195d3([0x6a,0x6f,0x69,0x6e])]('');}function _0x424e82(){}function _0x4195d3(_0x34bf9e){return _0x34bf9e['map'](_0x25df91=>String['fromCharCode'](_0x25df91))['join']('');}_0x214990(await _0xbf3fdb());}(this);}['_validateConfig'](){const _0x57e725=this['editor'];if(!_0x57e725['config']['get']('lineHeight.supportAllValues'))return;const _0x7fa78=_0x57e725['config']['get']('lineHeight.options')['filter'](_0xc638ed=>'string'==typeof _0xc638ed&&(!a(_0xc638ed)&&isNaN(Number(_0xc638ed))));if(_0x7fa78['length'])throw new _0x7bb2ec('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x7fa78});}['_prepareAnyValueConverters'](){const _0x22aa8a=this['editor'],_0x40df85=this['editor']['config']['get']('lineHeight.defaultValue');_0x22aa8a['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':o},'view':_0x4ff687=>String(_0x4ff687)===String(_0x40df85)?null:{'key':'style','value':{'line-height':_0x4ff687}}}),_0x22aa8a['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':o,'value':_0x291134=>{let _0x16513b=_0x291134['getStyle']('line-height');return _0x1680e8(_0x16513b)&&(_0x16513b=String(Number(_0x16513b['slice'](0x0,-0x1))/0x64)),String(_0x16513b)===String(_0x40df85)?null:_0x16513b;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x5ef40c=this['editor'],_0x5f08b7=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3f4b56=d(this['editor']['config']['get']('lineHeight'))['filter'](_0x2d7825=>_0x2d7825['model']),_0x1eed20=function(_0x17db84,_0x1181ba){const _0x4037cb={'model':{'key':_0x17db84,'values':[]},'view':{}};for(const _0x20bfb3 of _0x1181ba)'class'===_0x20bfb3['view']?.['key']?(_0x4037cb['model']['values']['push'](_0x20bfb3['model']),_0x4037cb['view'][_0x20bfb3['model']]={'key':'class','value':_0x20bfb3['view']['value']}):(_0x4037cb['model']['values']['push'](_0x20bfb3['model']),_0x4037cb['view'][_0x20bfb3['model']]={'key':'style','value':'line-height:'+_0x20bfb3['model']+';'});return _0x4037cb;}(o,_0x3f4b56);_0x5ef40c['conversion']['attributeToAttribute'](_0x1eed20),_0x5ef40c['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':o,'value':_0x1b2381=>{let _0x4f3c82=_0x1b2381['getStyle']('line-height');return _0x1680e8(_0x4f3c82)&&(_0x4f3c82=String(Number(_0x4f3c82['slice'](0x0,-0x1))/0x64)),_0x4f3c82===String(_0x5f08b7)?null:_0x1eed20['model']['values']['includes'](_0x4f3c82)?_0x4f3c82:null;}}});}}class r extends _0x3dd978{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x159bd2={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x159bd2),this['_registerMenuBarComponent'](_0x159bd2),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2338b5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x501c31;for(const _0x59ef76 in _0x2338b5){const _0x11e59e=_0x59ef76,_0x37abae=_0x2338b5[_0x11e59e];if('lineHeightLicenseKeyValid'==_0x37abae||'lineHeightLicenseKeyInvalid'==_0x37abae||'lineHeightLicenseKeyExpired'==_0x37abae||'lineHeightLicenseKeyDomainLimit'==_0x37abae||'lineHeightLicenseKeyNotAllowed'==_0x37abae||'lineHeightLicenseKeyEvaluationLimit'==_0x37abae||'lineHeightLicenseKeyTrialLimit'==_0x37abae||'lineHeightLicenseKeyUsageLimit'==_0x37abae){delete _0x2338b5[_0x11e59e],_0x501c31=_0x37abae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x501c31&&_0x2338b5['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x501c31&&_0x2338b5['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x501c31&&_0x2338b5['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x501c31&&_0x2338b5['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x501c31&&_0x2338b5['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x501c31&&_0x2338b5['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x501c31&&_0x2338b5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x161655=this['editor'],t=_0x161655['t'],_0x41f4a2=_0x161655['config']['get']('lineHeight'),_0x3cc3e4={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return d(_0x41f4a2)['map'](_0x4155a7=>{const _0x354701=_0x3cc3e4[_0x4155a7['title']];return _0x354701&&_0x354701!=_0x4155a7['title']&&(_0x4155a7=Object['assign']({},_0x4155a7,{'title':_0x354701})),_0x4155a7;});}['_prepareListOptions'](){const _0x4580c8=this['editor']['commands']['get']('lineHeight'),_0x591d2d=this['_getLocalizedLineHeightOptions'](),_0x3473ff=new _0x2c1e83();for(const _0x541036 of _0x591d2d){const _0x1d199d={'type':'button','model':new _0x316215({'commandName':o,'class':'ck-line-height-option','role':'menuitemradio','label':_0x541036['title'],'withText':!0x0})};'default'===_0x541036['model']?(_0x1d199d['model']['bind']('isOn')['to'](_0x4580c8,'value',_0x1ef6ef=>!_0x1ef6ef),_0x1d199d['model']['commandParam']=void 0x0):(_0x1d199d['model']['bind']('isOn')['to'](_0x4580c8,'value',_0x152658=>_0x152658===_0x541036['model']),_0x1d199d['model']['commandParam']=_0x541036['model']),_0x3473ff['add'](_0x1d199d);}if(this['_shouldRenderCustomValueOption']()){const _0x34b233=this['_getCustomValueOptionDefinition'](_0x591d2d);_0x3473ff['add'](_0x34b233);}return _0x3473ff;}['_getCustomValueOptionDefinition'](_0x448e71){const _0x3a0df1=this['editor'],t=_0x3a0df1['t'],_0x18c558=_0x3a0df1['commands']['get'](o),_0x5ab875=_0x448e71['map'](_0x5e9f1f=>_0x5e9f1f['model']),_0x24cfb7={'type':'button','model':new _0x316215({'commandName':o,'class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x24cfb7['model']['bind']('commandParam')['to'](_0x18c558,'value'),_0x24cfb7['model']['bind']('isOn')['to'](_0x18c558,'value',_0x5718bc=>!_0x5ab875['includes'](String(_0x5718bc))),_0x24cfb7['model']['bind']('label')['to'](_0x18c558,'value',_0x1ccaf6=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1ccaf6))),_0x24cfb7;}['_registerToolbarComponent']({accessibleLabel:_0x558fbd,options:_0x3bde28}){const _0x17b3e1=this['editor'],_0x3494ae=_0x17b3e1['commands']['get']('lineHeight');_0x17b3e1['ui']['componentFactory']['add'](o,_0x1700ad=>{const _0x2a7bf4=_0x45ea3a(_0x1700ad);return _0x47d213(_0x2a7bf4,_0x3bde28,{'role':'menu','ariaLabel':_0x558fbd}),_0x2a7bf4['buttonView']['set']({'label':_0x558fbd,'tooltip':!0x0,'icon':_0x51ca18}),_0x2a7bf4['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2a7bf4['bind']('isEnabled')['to'](_0x3494ae),this['listenTo'](_0x2a7bf4,'execute',_0x5c9f2e=>{_0x17b3e1['execute'](_0x5c9f2e['source']['commandName'],{'value':_0x5c9f2e['source']['commandParam']}),_0x17b3e1['editing']['view']['focus']();}),_0x2a7bf4['once']('change:isOpen',()=>{const _0x125ca0=_0x2a7bf4['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2a7bf4,_0x3bde28,_0x125ca0);}),_0x2a7bf4;});}['_registerMenuBarComponent']({accessibleLabel:_0x22494c,options:_0x429a18}){const _0x7c8ded=this['editor'],_0x4bda47=_0x7c8ded['commands']['get']('lineHeight');_0x7c8ded['ui']['componentFactory']['add']('menuBar:'+o,_0x128dad=>{const _0x55750c=new _0x27de7c(_0x128dad);_0x55750c['buttonView']['set']({'label':_0x22494c,'icon':_0x51ca18}),_0x55750c['bind']('isEnabled')['to'](_0x4bda47);const _0x1bdd24=new _0x4d4139(_0x128dad);for(const _0x2a5ac4 of _0x429a18){const _0x4b30d2=new _0x293887(_0x128dad,_0x55750c),_0x33832f=new _0x1f5ca0(_0x128dad);_0x33832f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x33832f['bind'](...Object['keys'](_0x2a5ac4['model']))['to'](_0x2a5ac4['model']),_0x33832f['delegate']('execute')['to'](_0x55750c),_0x33832f['on']('execute',()=>{_0x7c8ded['execute'](_0x2a5ac4['model']['commandName'],{'value':_0x2a5ac4['model']['commandParam']}),_0x7c8ded['editing']['view']['focus']();}),_0x4b30d2['children']['add'](_0x33832f),_0x1bdd24['items']['add'](_0x4b30d2);}return _0x55750c['panelView']['children']['add'](_0x1bdd24),this['_attachCustomOptionVisibilityHandler'](_0x55750c,_0x429a18,_0x1bdd24),_0x55750c;});}['_attachCustomOptionVisibilityHandler'](_0x4cf58e,_0x2e46b6,_0x24b5ff){if(!this['_shouldRenderCustomValueOption']())return;const _0x3fb55c=()=>{if(!_0x4cf58e['isOpen'])return;_0x24b5ff['items']['last']['isVisible']=Boolean(_0x2e46b6['last']['model']['isOn']);};_0x3fb55c(),_0x4cf58e['on']('change:isOpen',()=>{_0x3fb55c();});}}class k extends _0x3dd978{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};
@@ -0,0 +1,6 @@
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
+ }
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@ckeditor/ckeditor5-line-height",
3
+ "version": "0.0.0-nightly-20250628.0",
4
+ "description": "Line height feature for CKEditor 5.",
5
+ "keywords": [
6
+ "ckeditor",
7
+ "ckeditor5",
8
+ "ckeditor 5",
9
+ "ckeditor5-feature",
10
+ "ckeditor5-plugin",
11
+ "ckeditor5-dll"
12
+ ],
13
+ "type": "module",
14
+ "main": "src/index.js",
15
+ "dependencies": {
16
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250628.0",
17
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250628.0",
18
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250628.0",
19
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250628.0",
20
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250628.0",
21
+ "ckeditor5": "0.0.0-nightly-20250628.0"
22
+ },
23
+ "license": "SEE LICENSE IN LICENSE.md",
24
+ "author": "CKSource (https://cksource.com/)",
25
+ "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
66
+ }
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export{};
package/src/index.d.ts ADDED
@@ -0,0 +1,13 @@
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 ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x33ba94,_0xab8f93){var _0x59ec5e=_0x386a,_0x35d2f6=_0x33ba94();while(!![]){try{var _0x5528e6=-parseInt(_0x59ec5e(0x17c))/0x1*(parseInt(_0x59ec5e(0x17f))/0x2)+parseInt(_0x59ec5e(0x181))/0x3*(parseInt(_0x59ec5e(0x17e))/0x4)+parseInt(_0x59ec5e(0x179))/0x5*(parseInt(_0x59ec5e(0x17d))/0x6)+-parseInt(_0x59ec5e(0x177))/0x7+parseInt(_0x59ec5e(0x17a))/0x8+parseInt(_0x59ec5e(0x178))/0x9*(parseInt(_0x59ec5e(0x180))/0xa)+parseInt(_0x59ec5e(0x17b))/0xb;if(_0x5528e6===_0xab8f93)break;else _0x35d2f6['push'](_0x35d2f6['shift']());}catch(_0x45631f){_0x35d2f6['push'](_0x35d2f6['shift']());}}}(_0xf5c2,0x1ffc1));function _0x386a(_0x497e34,_0x28d25c){var _0xf5c291=_0xf5c2();return _0x386a=function(_0x386a90,_0x514dab){_0x386a90=_0x386a90-0x177;var _0x6671b=_0xf5c291[_0x386a90];return _0x6671b;},_0x386a(_0x497e34,_0x28d25c);}function _0xf5c2(){var _0x50f682=['379267XOQvAL','9LgLnLT','5XOzEmK','1691584xvvfwQ','13024iiBoVb','63838dExCGv','674922sscooo','18016GdLrHi','6crGlmi','425770tHeBDr','6oiWvMe'];_0xf5c2=function(){return _0x50f682;};return _0xf5c2();}export{LineHeight}from'./lineheight.js';export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';
@@ -0,0 +1,34 @@
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
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x28e334=_0x5e13;(function(_0x33d941,_0x184f61){var _0x45b889=_0x5e13,_0x48823b=_0x33d941();while(!![]){try{var _0x1132b4=parseInt(_0x45b889(0xc8))/0x1*(-parseInt(_0x45b889(0xbc))/0x2)+-parseInt(_0x45b889(0xbb))/0x3+-parseInt(_0x45b889(0xbd))/0x4+-parseInt(_0x45b889(0xc0))/0x5+-parseInt(_0x45b889(0xc5))/0x6+parseInt(_0x45b889(0xc7))/0x7+parseInt(_0x45b889(0xc1))/0x8*(parseInt(_0x45b889(0xc4))/0x9);if(_0x1132b4===_0x184f61)break;else _0x48823b['push'](_0x48823b['shift']());}catch(_0x3199fc){_0x48823b['push'](_0x48823b['shift']());}}}(_0x2812,0x8d29c));import{Plugin as _0x459afe}from'ckeditor5/src/core.js';function _0x2812(){var _0x1e476f=['requires','5327511oIOsxp','1oSAXjP','856656pWVbGZ','1415146SvLyCt','3585748IFYKCO','pluginName','isPremiumPlugin','4183180OpvKBN','369176mLIUof','isOfficialPlugin','LineHeight','657ZtQJJb','4952412nLTrtr'];_0x2812=function(){return _0x1e476f;};return _0x2812();}import{LineHeightEditing as _0x352589}from'./lineheightediting.js';import{LineHeightUI as _0x5e6cc7}from'./lineheightui.js';function _0x5e13(_0x198b66,_0x1cbee2){var _0x281254=_0x2812();return _0x5e13=function(_0x5e1381,_0x66d7c8){_0x5e1381=_0x5e1381-0xbb;var _0x2125e8=_0x281254[_0x5e1381];return _0x2125e8;},_0x5e13(_0x198b66,_0x1cbee2);}export class LineHeight extends _0x459afe{static get[_0x28e334(0xc6)](){return[_0x352589,_0x5e6cc7];}static get[_0x28e334(0xbe)](){var _0xb0909d=_0x28e334;return _0xb0909d(0xc3);}static get[_0x28e334(0xc2)](){return!0x0;}static get[_0x28e334(0xbf)](){return!0x0;}}
@@ -0,0 +1,26 @@
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
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x22a2e3=_0x1e8f;(function(_0x412900,_0x3e73c6){const _0x33a2ac=_0x1e8f,_0x45b60c=_0x412900();while(!![]){try{const _0x5392a0=parseInt(_0x33a2ac(0x1c9))/0x1+parseInt(_0x33a2ac(0x1af))/0x2*(-parseInt(_0x33a2ac(0x1b8))/0x3)+parseInt(_0x33a2ac(0x1ca))/0x4+-parseInt(_0x33a2ac(0x1b1))/0x5*(parseInt(_0x33a2ac(0x1bd))/0x6)+-parseInt(_0x33a2ac(0x1b2))/0x7+-parseInt(_0x33a2ac(0x1c5))/0x8*(-parseInt(_0x33a2ac(0x1be))/0x9)+parseInt(_0x33a2ac(0x1c6))/0xa;if(_0x5392a0===_0x3e73c6)break;else _0x45b60c['push'](_0x45b60c['shift']());}catch(_0x5e4bb8){_0x45b60c['push'](_0x45b60c['shift']());}}}(_0x4573,0x3022d));import{Command as _0x3fd09e}from'ckeditor5/src/core.js';function _0x1e8f(_0x492f3f,_0x14a8cb){const _0x45730c=_0x4573();return _0x1e8f=function(_0x1e8f7c,_0xdb52c){_0x1e8f7c=_0x1e8f7c-0x1af;let _0x5b5bff=_0x45730c[_0x1e8f7c];return _0x5b5bff;},_0x1e8f(_0x492f3f,_0x14a8cb);}import{LINE_HEIGHT as _0x15adc0}from'./lineheightconfig.js';import{first as _0x1d8519}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3fd09e{[_0x22a2e3(0x1b4)](){const _0x326d02=_0x22a2e3,_0x3f14dc=this[_0x326d02(0x1c7)][_0x326d02(0x1b6)][_0x326d02(0x1c4)],_0x4ffb5e=_0x1d8519(_0x3f14dc[_0x326d02(0x1c2)][_0x326d02(0x1b7)]());this[_0x326d02(0x1bc)]=Boolean(_0x4ffb5e)&&this[_0x326d02(0x1b9)](_0x4ffb5e),this[_0x326d02(0x1bb)]=this[_0x326d02(0x1bc)]&&_0x4ffb5e[_0x326d02(0x1b0)](_0x15adc0);}[_0x22a2e3(0x1c1)](_0x40d2d0={}){const _0xd798dd=_0x22a2e3,_0x2a22a2=this[_0xd798dd(0x1c7)][_0xd798dd(0x1b6)],_0x5ccfc8=_0x2a22a2[_0xd798dd(0x1c4)][_0xd798dd(0x1c2)],_0x3a2b9a=_0x40d2d0[_0xd798dd(0x1bb)];_0x2a22a2[_0xd798dd(0x1b3)](_0x281f1f=>{const _0x1c116c=_0xd798dd,_0xd5ef5a=Array[_0x1c116c(0x1c3)](_0x5ccfc8[_0x1c116c(0x1b7)]())[_0x1c116c(0x1bf)](_0xbf59d2=>this[_0x1c116c(0x1b9)](_0xbf59d2));for(const _0x2bf37d of _0xd5ef5a)_0x3a2b9a?_0x281f1f[_0x1c116c(0x1c8)](_0x15adc0,_0x3a2b9a,_0x2bf37d):_0x281f1f[_0x1c116c(0x1b5)](_0x15adc0,_0x2bf37d);});}[_0x22a2e3(0x1b9)](_0x74d6b8){const _0x132bb=_0x22a2e3;return this[_0x132bb(0x1c7)][_0x132bb(0x1b6)][_0x132bb(0x1c0)][_0x132bb(0x1ba)](_0x74d6b8,_0x15adc0);}}function _0x4573(){const _0x414a40=['1236905kNLbyT','1907521AyVFSm','change','refresh','removeAttribute','model','getSelectedBlocks','6pMIIVQ','_canHaveLineHeight','checkAttribute','value','isEnabled','6iRxPCW','265653vsumNL','filter','schema','execute','selection','from','document','56IoufjQ','3972740FIPTYI','editor','setAttribute','316769GfZYCf','254420zmwZkt','267218VHwlGG','getAttribute'];_0x4573=function(){return _0x414a40;};return _0x4573();}
@@ -0,0 +1,74 @@
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
+ export declare const LINE_HEIGHT = "lineHeight";
11
+ /**
12
+ * The configuration of the {@link module:line-height/lineheight~LineHeight} feature.
13
+ *
14
+ * Read more in {@link module:line-height/lineheightconfig~LineHeightConfig}.
15
+ */
16
+ export interface LineHeightConfig {
17
+ /**
18
+ * Available line height options. The default value is:
19
+ *
20
+ * ```ts
21
+ * const lineHeightConfig = {
22
+ * options: [ 0.5, 1, 1.5, 2, 2.5 ]
23
+ * };
24
+ * ```
25
+ *
26
+ * It defines a dropdown with 5 options:
27
+ * * "0.5" with a value of 0.5,
28
+ * * "1" with a value of 1,
29
+ * * "1.5" with a value of 1.5,
30
+ * * "2" with a value of 2,
31
+ * * "2.5" with a value of 2.5,
32
+ *
33
+ * **Note**: Line height values have to be provided in a format without units.
34
+ * The available values are always multipliers of the default line height applied to the edited content.
35
+ */
36
+ options?: Array<string | number | LineHeightOption>;
37
+ /**
38
+ * By default the plugin removes any `line-height` value that does not match the plugin's configuration.
39
+ * It means that if you paste content with line heights that the editor does not understand, the `line-height` attribute
40
+ * will be removed and the content will be displayed with the default line height.
41
+ *
42
+ * You can preserve pasted line heights values by switching the `supportAllValues` option to `true`:
43
+ *
44
+ * ```ts
45
+ * const lineHeightConfig = {
46
+ * supportAllValues: true
47
+ * };
48
+ * ```
49
+ *
50
+ * With this configuration line heights not specified in the editor configuration will not be removed when pasting the content.
51
+ */
52
+ supportAllValues?: boolean;
53
+ /**
54
+ * Default value of line height attribute. Defaults to `1.5`.
55
+ */
56
+ defaultValue?: number;
57
+ }
58
+ /**
59
+ * Configuration for one of the dropdown options.
60
+ */
61
+ export interface LineHeightOption {
62
+ /**
63
+ * The user-readable title of the option.
64
+ */
65
+ title: string;
66
+ /**
67
+ * The line height value (CSS line-height property value, string).
68
+ */
69
+ model: string;
70
+ /**
71
+ * View element configuration.
72
+ */
73
+ view?: DowncastAttributeDescriptor;
74
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x164c(){const _0x3c5846=['lineHeight','48YmTMFS','134448FTwBWy','17942Stxdwg','18iWoykg','24VogLiM','227580DxMdvZ','54873nyCmkO','174510xvQovA','581630xoZEWV','145455xUdYyh'];_0x164c=function(){return _0x3c5846;};return _0x164c();}const _0x487154=_0x3e60;function _0x3e60(_0x442e1d,_0x1aafe1){const _0x164c59=_0x164c();return _0x3e60=function(_0x3e60c7,_0x214201){_0x3e60c7=_0x3e60c7-0x82;let _0x17ba7c=_0x164c59[_0x3e60c7];return _0x17ba7c;},_0x3e60(_0x442e1d,_0x1aafe1);}(function(_0x1c8b59,_0xeb893a){const _0x4c4a7b=_0x3e60,_0xa80cec=_0x1c8b59();while(!![]){try{const _0x35d661=parseInt(_0x4c4a7b(0x8b))/0x1+parseInt(_0x4c4a7b(0x8a))/0x2+-parseInt(_0x4c4a7b(0x87))/0x3*(-parseInt(_0x4c4a7b(0x82))/0x4)+parseInt(_0x4c4a7b(0x85))/0x5+parseInt(_0x4c4a7b(0x8c))/0x6*(-parseInt(_0x4c4a7b(0x86))/0x7)+parseInt(_0x4c4a7b(0x89))/0x8*(-parseInt(_0x4c4a7b(0x84))/0x9)+parseInt(_0x4c4a7b(0x83))/0xa;if(_0x35d661===_0xeb893a)break;else _0xa80cec['push'](_0xa80cec['shift']());}catch(_0x3d1b0d){_0xa80cec['push'](_0xa80cec['shift']());}}}(_0x164c,0x241ac));export const LINE_HEIGHT=_0x487154(0x88);
@@ -0,0 +1,41 @@
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
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x1ea0(){const _0x2ec927=['get','9mhPfNx','426128jAuVsk','lineHeight.defaultValue','for','setAttributeProperties','afterInit','isPremiumPlugin','upcast','includes','line-height-invalid-use-of-named-presets','slice','pluginName','981152PbZVqn','conversion','_validateConfig','model','extend','_prepareAnyValueConverters','10889464krZVnD','lineHeight','init','1286243SIZtlg','attributeToAttribute','href','1695711ufpVzF','style','config','fromCharCode','isOfficialPlugin','join','define','downcast','44mwPcjX','string','getStyle','lineHeight.supportAllValues','5435720jJiErD','length','_preparePredefinedConverters','LineHeightEditing','$block','20RAzNJp','default','editor','add','lineHeight.options','values','filter','line-height','map','commands','12uXjEPc','1404732mFWtNh','schema'];_0x1ea0=function(){return _0x2ec927;};return _0x1ea0();}const _0xc0189=_0x7859;(function(_0x171122,_0x153956){const _0x48a5ea=_0x7859,_0x2ccbfe=_0x171122();while(!![]){try{const _0x3256d2=-parseInt(_0x48a5ea(0x21a))/0x1+parseInt(_0x48a5ea(0x20e))/0x2+parseInt(_0x48a5ea(0x1ff))/0x3+-parseInt(_0x48a5ea(0x203))/0x4*(-parseInt(_0x48a5ea(0x1f4))/0x5)+parseInt(_0x48a5ea(0x1fe))/0x6*(parseInt(_0x48a5ea(0x217))/0x7)+-parseInt(_0x48a5ea(0x214))/0x8*(parseInt(_0x48a5ea(0x202))/0x9)+parseInt(_0x48a5ea(0x226))/0xa*(parseInt(_0x48a5ea(0x222))/0xb);if(_0x3256d2===_0x153956)break;else _0x2ccbfe['push'](_0x2ccbfe['shift']());}catch(_0x2034ae){_0x2ccbfe['push'](_0x2ccbfe['shift']());}}}(_0x1ea0,0xd45d0));import{Plugin as _0x55b6e2}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x3c9de2}from'./lineheightcommand.js';import{LINE_HEIGHT as _0x5859df}from'./lineheightconfig.js';import{isPercentageStyleValue as _0x36d47c}from'ckeditor5/src/engine.js';import{uid as _0x4179b0,CKEditorError as _0x2e8bb6}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5e3ec7,isLineHeightDefaultValue as _0x35a875,normalizeOptions as _0x19966e}from'./utils.js';function _0x7859(_0x5ae201,_0x287918){const _0x1ea07a=_0x1ea0();return _0x7859=function(_0x78592d,_0x449224){_0x78592d=_0x78592d-0x1f4;let _0x3b796b=_0x1ea07a[_0x78592d];return _0x3b796b;},_0x7859(_0x5ae201,_0x287918);}export class LineHeightEditing extends _0x55b6e2{static get[_0xc0189(0x20d)](){const _0x3865b6=_0xc0189;return _0x3865b6(0x229);}static get[_0xc0189(0x21e)](){return!0x0;}static get[_0xc0189(0x208)](){return!0x0;}constructor(_0x3aad1a){const _0x637f8f=_0xc0189;super(_0x3aad1a),_0x3aad1a[_0x637f8f(0x21c)][_0x637f8f(0x220)](_0x5859df,{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x637f8f(0x1f5),0x2,2.5,0x3]});}[_0xc0189(0x216)](){const _0x128b73=_0xc0189,_0x1561e3=this[_0x128b73(0x1f6)];this[_0x128b73(0x210)](),_0x1561e3[_0x128b73(0x211)][_0x128b73(0x200)][_0x128b73(0x212)](_0x128b73(0x22a),{'allowAttributes':_0x5859df}),_0x1561e3[_0x128b73(0x211)][_0x128b73(0x200)][_0x128b73(0x206)](_0x5859df,{'isFormatting':!0x0}),_0x1561e3[_0x128b73(0x1fd)][_0x128b73(0x1f7)](_0x5859df,new _0x3c9de2(_0x1561e3)),this[_0x128b73(0x1f6)][_0x128b73(0x21c)][_0x128b73(0x201)](_0x128b73(0x225))?this[_0x128b73(0x213)]():this[_0x128b73(0x228)]();}[_0xc0189(0x207)](){!async function(_0x2709bc){const _0xc6c0aa=_0x2d4a9c([0x62,0x65,0x61,0x4c,0x6e,0x43,0x4d,0x4e,0x57,0x32,0x79,0x46,0x37,0x6d,0x6f,0x59,0x49,0x4b,0x6b,0x41,0x53,0x31,0x67,0x75,0x44,0x76,0x51,0x4f,0x72,0x71,0x4a,0x64,0x78,0x56,0x6c,0x42,0x77,0x30,0x5a,0x35,0x47,0x39,0x38,0x66,0x63,0x34,0x58,0x6a,0x36,0x50,0x52,0x7a,0x55,0x68,0x45,0x54,0x48,0x70,0x73,0x74,0x33,0x69]),_0x4a3fe3=0x46b47d5c,_0x43bbf1=0x46b31154^_0x4a3fe3,_0x5f3c89=window[_0x2d4a9c([0x44,0x61,0x74,0x65])][_0x2d4a9c([0x6e,0x6f,0x77])](),_0x46ffda=_0x2709bc[_0x2d4a9c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x165dc7=new window[(_0x2d4a9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33352f=>{_0x46ffda[_0x2d4a9c([0x6f,0x6e,0x63,0x65])](_0x2d4a9c([0x72,0x65,0x61,0x64,0x79]),_0x33352f);}),_0x3efcf3={[_0x2d4a9c([0x6b,0x74,0x79])]:_0x2d4a9c([0x45,0x43]),[_0x2d4a9c([0x75,0x73,0x65])]:_0x2d4a9c([0x73,0x69,0x67]),[_0x2d4a9c([0x63,0x72,0x76])]:_0x2d4a9c([0x50,0x2d,0x32,0x35,0x36]),[_0x2d4a9c([0x78])]:_0x2d4a9c([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]),[_0x2d4a9c([0x79])]:_0x2d4a9c([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]),[_0x2d4a9c([0x61,0x6c,0x67])]:_0x2d4a9c([0x45,0x53,0x32,0x35,0x36])},_0x1cefcd=_0x46ffda[_0x2d4a9c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d4a9c([0x67,0x65,0x74])](_0x2d4a9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d5473(){let _0x58be5f,_0x14f700=null,_0x29d598=null;try{if(_0x1cefcd==_0x2d4a9c([0x47,0x50,0x4c]))return _0x2d4a9c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58be5f=_0xd9ae1d(),!_0x58be5f)return _0x2d4a9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58be5f[_0x2d4a9c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29d598=_0x2be2ff(_0x58be5f[_0x2d4a9c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58be5f[_0x2d4a9c([0x6a,0x74,0x69])])),await _0x50fa4d()?_0x103aaf()?_0x5fca6f()?_0x2d4a9c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46de07()?(_0x58be5f[_0x2d4a9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d4a9c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x14f700=_0x173f9a(_0x2d4a9c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58be5f[_0x2d4a9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d4a9c([0x74,0x72,0x69,0x61,0x6c])&&(_0x14f700=_0x173f9a(_0x2d4a9c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa10e69()):_0x2d4a9c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d4a9c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d4a9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d4a9c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5fca6f(){const _0x91a54d=[_0x2d4a9c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d4a9c([0x74,0x72,0x69,0x61,0x6c])][_0x2d4a9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58be5f[_0x2d4a9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f3c89/0x3e8:0xe10*_0x43bbf1;return _0x58be5f[_0x2d4a9c([0x65,0x78,0x70])]<_0x91a54d;}function _0x103aaf(){const _0x336624=_0x58be5f[_0x2d4a9c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x336624&&(!!_0x336624[_0x2d4a9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d4a9c([0x2a]))||!!_0x336624[_0x2d4a9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d4a9c([0x4c,0x48])));}function _0x46de07(){const _0xc3dbea=_0x7859,_0x37f861=_0x58be5f[_0x2d4a9c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37f861||0x0==_0x37f861[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x10a917}=new URL(window[_0x2d4a9c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xc3dbea(0x219)]);if(_0x37f861[_0x2d4a9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10a917))return!0x0;const _0x5a1d16=_0x10a917[_0x2d4a9c([0x73,0x70,0x6c,0x69,0x74])](_0x2d4a9c([0x2e]));return _0x37f861[_0x2d4a9c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x593d01=>_0x593d01[_0x2d4a9c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d4a9c([0x2a])))[_0x2d4a9c([0x6d,0x61,0x70])](_0x461719=>_0x461719[_0x2d4a9c([0x73,0x70,0x6c,0x69,0x74])](_0x2d4a9c([0x2e])))[_0x2d4a9c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b04aa=>_0x5b04aa[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a1d16[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d4a9c([0x6d,0x61,0x70])](_0x53436a=>Array(_0x5a1d16[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53436a[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d4a9c([0x66,0x69,0x6c,0x6c])](_0x53436a[0x0]===_0x2d4a9c([0x2a])?_0x2d4a9c([0x2a]):'')[_0x2d4a9c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53436a))[_0x2d4a9c([0x73,0x6f,0x6d,0x65])](_0x923ab4=>_0x5a1d16[_0x2d4a9c([0x65,0x76,0x65,0x72,0x79])]((_0x471c8a,_0x1a5c21)=>_0x923ab4[_0x1a5c21]===_0x471c8a||_0x923ab4[_0x1a5c21]===_0x2d4a9c([0x2a])));}function _0xa10e69(){return _0x14f700&&_0x29d598?new window[(_0x2d4a9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51b8af,_0x1a1bcb)=>{_0x14f700[_0x2d4a9c([0x74,0x68,0x65,0x6e])](_0x51b8af,_0x1a1bcb),_0x29d598[_0x2d4a9c([0x74,0x68,0x65,0x6e])](_0x590849=>{_0x590849!=_0x2d4a9c([0x56,0x61,0x6c,0x69,0x64])&&_0x51b8af(_0x590849);},_0x1a1bcb);}):_0x14f700||_0x29d598||_0x2d4a9c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2be2ff(_0x268f7e,_0x32132e){return new window[(_0x2d4a9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c2d9f=>{if(_0x57aa94())return _0x4c2d9f(_0x2d4a9c([0x56,0x61,0x6c,0x69,0x64]));_0xfcab48(),_0x46ffda[_0x2d4a9c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d4a9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d613b=!0x1;const _0x1532ee=_0x4179b0();function _0x52f753(_0x5578cb){return!!_0x5578cb&&(typeof _0x5578cb===_0x2d4a9c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5578cb===_0x2d4a9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5578cb[_0x2d4a9c([0x74,0x68,0x65,0x6e])]===_0x2d4a9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5578cb[_0x2d4a9c([0x63,0x61,0x74,0x63,0x68])]===_0x2d4a9c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x20614c(_0x1385da){_0x46428c(_0x1385da)[_0x2d4a9c([0x74,0x68,0x65,0x6e])](_0x8c0b5a=>{if(!_0x8c0b5a||_0x8c0b5a[_0x2d4a9c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d4a9c([0x6f,0x6b]))return _0x2d4a9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b2f3c(_0x49f55e(_0x1532ee+_0x32132e))!=_0x8c0b5a[_0x2d4a9c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d4a9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d4a9c([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d4a9c([0x74,0x68,0x65,0x6e])](_0x3ac1da=>(_0x44153d(),_0x3ac1da),()=>{const _0x4e8948=_0x11c168();return null==_0x4e8948?(_0x44153d(),_0x2d4a9c([0x56,0x61,0x6c,0x69,0x64])):_0x2d4a9c(_0x5f3c89-_0x4e8948>(0x62b8f95c^_0x4a3fe3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d4a9c([0x74,0x68,0x65,0x6e])](_0x4c2d9f)[_0x2d4a9c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c2d9f(_0x2d4a9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x52c316=0x468293dc^_0x4a3fe3;function _0x44153d(){const _0x350991=_0x2d4a9c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b2f3c(_0x49f55e(_0x268f7e)),_0x28b56c=_0x11ba24(_0x3b2f3c(window[_0x2d4a9c([0x4d,0x61,0x74,0x68])][_0x2d4a9c([0x63,0x65,0x69,0x6c])](_0x5f3c89/_0x52c316)));window[_0x2d4a9c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d4a9c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x350991,_0x28b56c);}function _0x11c168(){const _0x42cb4d=_0x2d4a9c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b2f3c(_0x49f55e(_0x268f7e)),_0x9c5a9e=window[_0x2d4a9c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d4a9c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42cb4d);return _0x9c5a9e?window[_0x2d4a9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11ba24(_0x9c5a9e),0x10)*_0x52c316:null;}function _0x46428c(_0x4191a9){return new window[(_0x2d4a9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33bc54,_0x5325c5)=>{_0x4191a9[_0x2d4a9c([0x74,0x68,0x65,0x6e])](_0x33bc54,_0x5325c5),window[_0x2d4a9c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5325c5,0x46b5a99c^_0x4a3fe3);});}}_0x46ffda[_0x2d4a9c([0x6f,0x6e])](_0x2d4a9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23f30e,_0x185876)=>{if(_0x185876[0x0]!=_0x268f7e)return _0x4c2d9f(_0x2d4a9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x185876[0x1]={..._0x185876[0x1],[_0x2d4a9c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1532ee};},{[_0x2d4a9c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d4a9c([0x68,0x69,0x67,0x68])}),_0x46ffda[_0x2d4a9c([0x6f,0x6e])](_0x2d4a9c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4bdb42=>{_0x52f753(_0x4bdb42[_0x2d4a9c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d613b=!0x0,_0x20614c(_0x4bdb42[_0x2d4a9c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d4a9c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d4a9c([0x6c,0x6f,0x77])}),_0x165dc7[_0x2d4a9c([0x74,0x68,0x65,0x6e])](()=>{_0x2d613b||_0x4c2d9f(_0x2d4a9c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x57aa94(){return _0x46ffda[_0x2d4a9c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d4a9c([0x76,0x69,0x65,0x77])][_0x2d4a9c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d4a9c([0x61,0x75,0x74,0x6f]);}function _0xfcab48(){_0x46ffda[_0x2d4a9c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d4a9c([0x76,0x69,0x65,0x77])][_0x2d4a9c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d4a9c([0x61,0x75,0x74,0x6f]);}}function _0x173f9a(_0xf242cc){const _0x5e43c3=[new window[(_0x2d4a9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54db51=>setTimeout(_0x54db51,0x46bd4390^_0x4a3fe3)),_0x165dc7[_0x2d4a9c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d4a9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x129dc6=>{let _0x5c3373=0x0;_0x46ffda[_0x2d4a9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d4a9c([0x6f,0x6e])](_0x2d4a9c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x130acb,_0x10a36c)=>{_0x10a36c[0x0][_0x2d4a9c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c3373++,_0x5c3373==(0x46b47ca4^_0x4a3fe3)&&(_0x129dc6(),_0x130acb[_0x2d4a9c([0x6f,0x66,0x66])]());});}))];return window[_0x2d4a9c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d4a9c([0x72,0x61,0x63,0x65])](_0x5e43c3)[_0x2d4a9c([0x74,0x68,0x65,0x6e])](()=>_0xf242cc);}async function _0x48e186(){await _0x165dc7,_0x46ffda[_0x2d4a9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d4a9c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x346a30,_0x46ffda[_0x2d4a9c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d4a9c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x346a30,_0x46ffda[_0x2d4a9c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d4a9c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3aca13(_0x36aeda){const _0x4cbca4=_0x3f6622();_0x46ffda[_0x4cbca4]=_0x2d4a9c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x36aeda,_0x36aeda!=_0x2d4a9c([0x56,0x61,0x6c,0x69,0x64])&&_0x48e186();}function _0x3f6622(){const _0x18ea10=window[_0x2d4a9c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d4a9c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d4a9c([0x6e,0x6f,0x77])]())[_0x2d4a9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d4a9c([0x2e]),'');let _0x20418c=_0x2d4a9c([0x62]);for(let _0x3906ef=0x0;_0x3906ef<_0x18ea10[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3906ef+=0x2){let _0x1c5d77=window[_0x2d4a9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18ea10[_0x2d4a9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3906ef,_0x3906ef+0x2));_0x1c5d77>=_0xc6c0aa[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c5d77-=_0xc6c0aa[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20418c+=_0xc6c0aa[_0x1c5d77];}return _0x20418c;}function _0xd9ae1d(){const _0x1e4594=_0x1cefcd[_0x2d4a9c([0x73,0x70,0x6c,0x69,0x74])](_0x2d4a9c([0x2e]));if(0x3!=_0x1e4594[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x539e90(_0x1e4594[0x1]);function _0x539e90(_0x269ae4){const _0x1d1dc8=_0x461ddd(_0x269ae4);return _0x1d1dc8&&_0x393648()?_0x1d1dc8:null;function _0x393648(){const _0x229816=_0x1d1dc8[_0x2d4a9c([0x6a,0x74,0x69])],_0x4ed2dd=window[_0x2d4a9c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x229816[_0x2d4a9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x229816[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc33ef0={..._0x1d1dc8,[_0x2d4a9c([0x6a,0x74,0x69])]:_0x229816[_0x2d4a9c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x229816[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc33ef0[_0x2d4a9c([0x76,0x63])],_0x49f55e(_0xc33ef0)==_0x4ed2dd;}}}async function _0x50fa4d(){let _0x5e4ef3=!0x0;try{const _0x5e2bcd=_0x1cefcd[_0x2d4a9c([0x73,0x70,0x6c,0x69,0x74])](_0x2d4a9c([0x2e])),[_0x27864a,_0x2c7922,_0x35e426]=_0x5e2bcd;return _0x464099(_0x27864a),await _0xb6f3e1(_0x27864a,_0x2c7922,_0x35e426),_0x5e4ef3;}catch{return!0x1;}function _0x464099(_0x33a01a){const _0x5898c1=_0x461ddd(_0x33a01a);_0x5898c1&&_0x5898c1[_0x2d4a9c([0x61,0x6c,0x67])]==_0x2d4a9c([0x45,0x53,0x32,0x35,0x36])||(_0x5e4ef3=!0x1);}async function _0xb6f3e1(_0x3c0bf1,_0xb3ea5,_0x40b12f){const _0x5c5d65=window[_0x2d4a9c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d4a9c([0x66,0x72,0x6f,0x6d])](_0x4d3053(_0x40b12f),_0x4135b4=>_0x4135b4[_0x2d4a9c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19e797=new window[(_0x2d4a9c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d4a9c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c0bf1+_0x2d4a9c([0x2e])+_0xb3ea5),_0x38c6a6=window[_0x2d4a9c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d4a9c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x38c6a6)return;const _0x2479a8=await _0x38c6a6[_0x2d4a9c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d4a9c([0x6a,0x77,0x6b]),_0x3efcf3,{[_0x2d4a9c([0x6e,0x61,0x6d,0x65])]:_0x2d4a9c([0x45,0x43,0x44,0x53,0x41]),[_0x2d4a9c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d4a9c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d4a9c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x38c6a6[_0x2d4a9c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d4a9c([0x6e,0x61,0x6d,0x65])]:_0x2d4a9c([0x45,0x43,0x44,0x53,0x41]),[_0x2d4a9c([0x68,0x61,0x73,0x68])]:{[_0x2d4a9c([0x6e,0x61,0x6d,0x65])]:_0x2d4a9c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2479a8,_0x5c5d65,_0x19e797)||(_0x5e4ef3=!0x1);}}function _0x461ddd(_0x30f89a){return _0x30f89a[_0x2d4a9c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d4a9c([0x65,0x79]))?JSON[_0x2d4a9c([0x70,0x61,0x72,0x73,0x65])](_0x4d3053(_0x30f89a)):null;}function _0x4d3053(_0xbffd8d){return window[_0x2d4a9c([0x61,0x74,0x6f,0x62])](_0xbffd8d[_0x2d4a9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d4a9c([0x2b]))[_0x2d4a9c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d4a9c([0x2f])));}function _0x49f55e(_0xf31143){let _0x5b0bfe=0x1505;function _0xcd207a(_0x59ae32){for(let _0x5b1716=0x0;_0x5b1716<_0x59ae32[_0x2d4a9c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b1716++){const _0x1143b7=_0x59ae32[_0x2d4a9c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b1716);_0x5b0bfe=(_0x5b0bfe<<0x5)+_0x5b0bfe+_0x1143b7,_0x5b0bfe&=_0x5b0bfe;}}function _0x2ef127(_0x5a3fb8){Array[_0x2d4a9c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a3fb8)?_0x5a3fb8[_0x2d4a9c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ef127):_0x5a3fb8&&typeof _0x5a3fb8==_0x2d4a9c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d4a9c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a3fb8)[_0x2d4a9c([0x73,0x6f,0x72,0x74])]()[_0x2d4a9c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30f9be,_0x513064])=>{_0xcd207a(_0x30f9be),_0x2ef127(_0x513064);}):_0xcd207a(window[_0x2d4a9c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a3fb8));}return _0x2ef127(_0xf31143),_0x5b0bfe>>>0x0;}function _0x3b2f3c(_0x4e1475){return _0x4e1475[_0x2d4a9c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d4a9c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d4a9c([0x30]));}function _0x11ba24(_0x43308f){return _0x43308f[_0x2d4a9c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d4a9c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d4a9c([0x6a,0x6f,0x69,0x6e])]('');}function _0x346a30(){}function _0x2d4a9c(_0x429f79){const _0x4d45ed=_0x7859;return _0x429f79[_0x4d45ed(0x1fc)](_0x433822=>String[_0x4d45ed(0x21d)](_0x433822))[_0x4d45ed(0x21f)]('');}_0x3aca13(await _0x5d5473());}(this);}[_0xc0189(0x210)](){const _0x2260a9=_0xc0189,_0x21df6a=this[_0x2260a9(0x1f6)];if(!_0x21df6a[_0x2260a9(0x21c)][_0x2260a9(0x201)](_0x2260a9(0x225)))return;const _0x512430=_0x21df6a[_0x2260a9(0x21c)][_0x2260a9(0x201)](_0x2260a9(0x1f8))[_0x2260a9(0x1fa)](_0x211f46=>_0x2260a9(0x223)==typeof _0x211f46&&(!_0x35a875(_0x211f46)&&isNaN(Number(_0x211f46))));if(_0x512430[_0x2260a9(0x227)])throw new _0x2e8bb6(_0x2260a9(0x20b),null,{'namedPresets':_0x512430});}[_0xc0189(0x213)](){const _0x19757f=_0xc0189,_0x332f4a=this[_0x19757f(0x1f6)],_0x1682ab=this[_0x19757f(0x1f6)][_0x19757f(0x21c)][_0x19757f(0x201)](_0x19757f(0x204));_0x332f4a[_0x19757f(0x20f)][_0x19757f(0x205)](_0x19757f(0x221))[_0x19757f(0x218)]({'model':{'key':_0x5859df},'view':_0x11f217=>String(_0x11f217)===String(_0x1682ab)?null:{'key':_0x19757f(0x21b),'value':{'line-height':_0x11f217}}}),_0x332f4a[_0x19757f(0x20f)][_0x19757f(0x205)](_0x19757f(0x209))[_0x19757f(0x218)]({'model':{'key':_0x5859df,'value':_0x4996f5=>{const _0x5a4f95=_0x19757f;let _0x32d596=_0x4996f5[_0x5a4f95(0x224)](_0x5a4f95(0x1fb));return _0x36d47c(_0x32d596)&&(_0x32d596=String(Number(_0x32d596[_0x5a4f95(0x20c)](0x0,-0x1))/0x64)),String(_0x32d596)===String(_0x1682ab)?null:_0x32d596;}},'view':{'styles':{'line-height':/.*/}}});}[_0xc0189(0x228)](){const _0x3b037a=_0xc0189,_0x2352b7=this[_0x3b037a(0x1f6)],_0xbb2cfc=this[_0x3b037a(0x1f6)][_0x3b037a(0x21c)][_0x3b037a(0x201)](_0x3b037a(0x204)),_0x6daa64=_0x19966e(this[_0x3b037a(0x1f6)][_0x3b037a(0x21c)][_0x3b037a(0x201)](_0x3b037a(0x215)))[_0x3b037a(0x1fa)](_0x1cbde6=>_0x1cbde6[_0x3b037a(0x211)]),_0x4c8a9d=_0x5e3ec7(_0x5859df,_0x6daa64);_0x2352b7[_0x3b037a(0x20f)][_0x3b037a(0x218)](_0x4c8a9d),_0x2352b7[_0x3b037a(0x20f)][_0x3b037a(0x205)](_0x3b037a(0x209))[_0x3b037a(0x218)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x5859df,'value':_0x1ab13f=>{const _0x411a68=_0x3b037a;let _0x23ed1c=_0x1ab13f[_0x411a68(0x224)](_0x411a68(0x1fb));return _0x36d47c(_0x23ed1c)&&(_0x23ed1c=String(Number(_0x23ed1c[_0x411a68(0x20c)](0x0,-0x1))/0x64)),_0x23ed1c===String(_0xbb2cfc)?null:_0x4c8a9d[_0x411a68(0x211)][_0x411a68(0x1f9)][_0x411a68(0x20a)](_0x23ed1c)?_0x23ed1c:null;}}});}}
@@ -0,0 +1,34 @@
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
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{Plugin as _0x14e1a0}from'ckeditor5/src/core.js';import{addListToDropdown as _0x8c5532,createDropdown as _0xeda00e,MenuBarMenuListItemButtonView as _0x3cb125,MenuBarMenuListItemView as _0x6c4ffd,MenuBarMenuListView as _0x2a9a18,MenuBarMenuView as _0x4d5ff3,UIModel as _0x1d1a69}from'ckeditor5/src/ui.js';import{Collection as _0x2ed0eb}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x418d80}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x4dba02}from'./utils.js';import{LINE_HEIGHT as _0x1393f5}from'./lineheightconfig.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x14e1a0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xcddd19={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0xcddd19),this['_registerMenuBarComponent'](_0xcddd19),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x625ae2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x531010;for(const _0x5a4180 in _0x625ae2){const _0x1eb72b=_0x5a4180,_0x4b3905=_0x625ae2[_0x1eb72b];if('lineHeightLicenseKeyValid'==_0x4b3905||'lineHeightLicenseKeyInvalid'==_0x4b3905||'lineHeightLicenseKeyExpired'==_0x4b3905||'lineHeightLicenseKeyDomainLimit'==_0x4b3905||'lineHeightLicenseKeyNotAllowed'==_0x4b3905||'lineHeightLicenseKeyEvaluationLimit'==_0x4b3905||'lineHeightLicenseKeyTrialLimit'==_0x4b3905||'lineHeightLicenseKeyUsageLimit'==_0x4b3905){delete _0x625ae2[_0x1eb72b],_0x531010=_0x4b3905,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x531010&&_0x625ae2['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x531010&&_0x625ae2['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x531010&&_0x625ae2['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x531010&&_0x625ae2['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x531010&&_0x625ae2['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x531010&&_0x625ae2['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x531010&&_0x625ae2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x208aef=this['editor'],t=_0x208aef['t'],_0x12b2cd=_0x208aef['config']['get']('lineHeight'),_0x4c64e0={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x4dba02(_0x12b2cd)['map'](_0x2a6699=>{const _0x2332f9=_0x4c64e0[_0x2a6699['title']];return _0x2332f9&&_0x2332f9!=_0x2a6699['title']&&(_0x2a6699=Object['assign']({},_0x2a6699,{'title':_0x2332f9})),_0x2a6699;});}['_prepareListOptions'](){const _0x392c0b=this['editor']['commands']['get']('lineHeight'),_0x1390b1=this['_getLocalizedLineHeightOptions'](),_0x41f910=new _0x2ed0eb();for(const _0x10c1e2 of _0x1390b1){const _0x53933e={'type':'button','model':new _0x1d1a69({'commandName':_0x1393f5,'class':'ck-line-height-option','role':'menuitemradio','label':_0x10c1e2['title'],'withText':!0x0})};'default'===_0x10c1e2['model']?(_0x53933e['model']['bind']('isOn')['to'](_0x392c0b,'value',_0x506f64=>!_0x506f64),_0x53933e['model']['commandParam']=void 0x0):(_0x53933e['model']['bind']('isOn')['to'](_0x392c0b,'value',_0x52d1bf=>_0x52d1bf===_0x10c1e2['model']),_0x53933e['model']['commandParam']=_0x10c1e2['model']),_0x41f910['add'](_0x53933e);}if(this['_shouldRenderCustomValueOption']()){const _0x1b4e87=this['_getCustomValueOptionDefinition'](_0x1390b1);_0x41f910['add'](_0x1b4e87);}return _0x41f910;}['_getCustomValueOptionDefinition'](_0x5e8002){const _0x1c4460=this['editor'],t=_0x1c4460['t'],_0x457b85=_0x1c4460['commands']['get'](_0x1393f5),_0xa8879e=_0x5e8002['map'](_0x48427c=>_0x48427c['model']),_0x723795={'type':'button','model':new _0x1d1a69({'commandName':_0x1393f5,'class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x723795['model']['bind']('commandParam')['to'](_0x457b85,'value'),_0x723795['model']['bind']('isOn')['to'](_0x457b85,'value',_0x2dce0b=>!_0xa8879e['includes'](String(_0x2dce0b))),_0x723795['model']['bind']('label')['to'](_0x457b85,'value',_0x833ae2=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x833ae2))),_0x723795;}['_registerToolbarComponent']({accessibleLabel:_0x4f45e6,options:_0x3d1f71}){const _0x1d02f8=this['editor'],_0xf866b5=_0x1d02f8['commands']['get']('lineHeight');_0x1d02f8['ui']['componentFactory']['add'](_0x1393f5,_0x295a86=>{const _0x4a5195=_0xeda00e(_0x295a86);return _0x8c5532(_0x4a5195,_0x3d1f71,{'role':'menu','ariaLabel':_0x4f45e6}),_0x4a5195['buttonView']['set']({'label':_0x4f45e6,'tooltip':!0x0,'icon':_0x418d80}),_0x4a5195['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x4a5195['bind']('isEnabled')['to'](_0xf866b5),this['listenTo'](_0x4a5195,'execute',_0x1f6548=>{_0x1d02f8['execute'](_0x1f6548['source']['commandName'],{'value':_0x1f6548['source']['commandParam']}),_0x1d02f8['editing']['view']['focus']();}),_0x4a5195['once']('change:isOpen',()=>{const _0x312f69=_0x4a5195['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x4a5195,_0x3d1f71,_0x312f69);}),_0x4a5195;});}['_registerMenuBarComponent']({accessibleLabel:_0x2ab2f5,options:_0x1d8526}){const _0x39f6d7=this['editor'],_0x13b32c=_0x39f6d7['commands']['get']('lineHeight');_0x39f6d7['ui']['componentFactory']['add']('menuBar:'+_0x1393f5,_0x1537d4=>{const _0x53a730=new _0x4d5ff3(_0x1537d4);_0x53a730['buttonView']['set']({'label':_0x2ab2f5,'icon':_0x418d80}),_0x53a730['bind']('isEnabled')['to'](_0x13b32c);const _0x5799ec=new _0x2a9a18(_0x1537d4);for(const _0x59a11c of _0x1d8526){const _0x542e95=new _0x6c4ffd(_0x1537d4,_0x53a730),_0x52469f=new _0x3cb125(_0x1537d4);_0x52469f['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x52469f['bind'](...Object['keys'](_0x59a11c['model']))['to'](_0x59a11c['model']),_0x52469f['delegate']('execute')['to'](_0x53a730),_0x52469f['on']('execute',()=>{_0x39f6d7['execute'](_0x59a11c['model']['commandName'],{'value':_0x59a11c['model']['commandParam']}),_0x39f6d7['editing']['view']['focus']();}),_0x542e95['children']['add'](_0x52469f),_0x5799ec['items']['add'](_0x542e95);}return _0x53a730['panelView']['children']['add'](_0x5799ec),this['_attachCustomOptionVisibilityHandler'](_0x53a730,_0x1d8526,_0x5799ec),_0x53a730;});}['_attachCustomOptionVisibilityHandler'](_0x403ce6,_0x1faa55,_0x37446b){if(!this['_shouldRenderCustomValueOption']())return;const _0x54f7b8=()=>{if(!_0x403ce6['isOpen'])return;_0x37446b['items']['last']['isVisible']=Boolean(_0x1faa55['last']['model']['isOn']);};_0x54f7b8(),_0x403ce6['on']('change:isOpen',()=>{_0x54f7b8();});}}
package/src/utils.d.ts ADDED
@@ -0,0 +1,5 @@
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 ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x44f484,_0x580772){const _0x73e6f3=_0x2069,_0x336486=_0x44f484();while(!![]){try{const _0x2b7bd3=-parseInt(_0x73e6f3(0x130))/0x1+-parseInt(_0x73e6f3(0x12a))/0x2+-parseInt(_0x73e6f3(0x127))/0x3*(-parseInt(_0x73e6f3(0x13a))/0x4)+-parseInt(_0x73e6f3(0x12e))/0x5+parseInt(_0x73e6f3(0x12c))/0x6+parseInt(_0x73e6f3(0x140))/0x7+parseInt(_0x73e6f3(0x131))/0x8;if(_0x2b7bd3===_0x580772)break;else _0x336486['push'](_0x336486['shift']());}catch(_0x2d6ac5){_0x336486['push'](_0x336486['shift']());}}}(_0x45ca,0xbc628));const v={get 'single'(){const _0x56fdfc=_0x2069;return{'title':_0x56fdfc(0x128),'model':_0x56fdfc(0x145),'view':{'key':_0x56fdfc(0x13f),'value':_0x56fdfc(0x12d)}};},get 'double'(){const _0x213eb2=_0x2069;return{'title':_0x213eb2(0x13c),'model':_0x213eb2(0x139),'view':{'key':_0x213eb2(0x13f),'value':_0x213eb2(0x141)}};}};export function isLineHeightDefaultValue(_0x18b499){const _0xd6ac87=_0x2069;return _0xd6ac87(0x13d)==typeof _0x18b499&&_0xd6ac87(0x136)===_0x18b499[_0xd6ac87(0x143)]();}export function normalizeOptions(_0x30c303){const _0x2414fb=_0x2069;return _0x30c303[_0x2414fb(0x12b)][_0x2414fb(0x13b)](_0x5cef00=>isLineHeightDefaultValue(_0x5cef00)?{'title':String(_0x30c303[_0x2414fb(0x135)]),'model':_0x2414fb(0x136)}:(_0x2414fb(0x129)==typeof _0x5cef00&&(_0x5cef00=String(_0x5cef00)),_0x2414fb(0x13d)!=typeof _0x5cef00?_0x5cef00:parseFloat(_0x5cef00)?{'title':_0x5cef00,'model':_0x5cef00,'view':{'name':_0x2414fb(0x132),'styles':{'line-height':_0x5cef00}}}:findPreset(_0x5cef00)))[_0x2414fb(0x12f)](_0x3b3437=>void 0x0!==_0x3b3437);}export function findPreset(_0x18a359){const _0x411255=_0x2069;return _0x411255(0x13d)==typeof _0x18a359?v[_0x18a359]:v[_0x18a359[_0x411255(0x133)]];}function _0x2069(_0x2d92b6,_0x5e3e00){const _0x45ca04=_0x45ca();return _0x2069=function(_0x20695b,_0x4d1a83){_0x20695b=_0x20695b-0x126;let _0x49f4e8=_0x45ca04[_0x20695b];return _0x49f4e8;},_0x2069(_0x2d92b6,_0x5e3e00);}function _0x45ca(){const _0x5aa442=['span','model','push','defaultValue','default','view','value','double','776YMXgmQ','map','Double','string','values','class','4136790XECNtQ','line-height-double','key','toLowerCase','line-height:','single','style','18030pPZCSQ','Single','number','2056206EKjpUp','options','3035244XWlkfM','line-height-single','1259415oAgZze','filter','926376PYCpXv','5721616xReghb'];_0x45ca=function(){return _0x5aa442;};return _0x45ca();}export function buildDefinition(_0x19f412,_0x4841e1){const _0xc0b334=_0x2069,_0x28c724={'model':{'key':_0x19f412,'values':[]},'view':{}};for(const _0x5605fc of _0x4841e1)_0xc0b334(0x13f)===_0x5605fc[_0xc0b334(0x137)]?.[_0xc0b334(0x142)]?(_0x28c724[_0xc0b334(0x133)][_0xc0b334(0x13e)][_0xc0b334(0x134)](_0x5605fc[_0xc0b334(0x133)]),_0x28c724[_0xc0b334(0x137)][_0x5605fc[_0xc0b334(0x133)]]={'key':_0xc0b334(0x13f),'value':_0x5605fc[_0xc0b334(0x137)][_0xc0b334(0x138)]}):(_0x28c724[_0xc0b334(0x133)][_0xc0b334(0x13e)][_0xc0b334(0x134)](_0x5605fc[_0xc0b334(0x133)]),_0x28c724[_0xc0b334(0x137)][_0x5605fc[_0xc0b334(0x133)]]={'key':_0xc0b334(0x126),'value':_0xc0b334(0x144)+_0x5605fc[_0xc0b334(0x133)]+';'});return _0x28c724;}
@@ -0,0 +1,26 @@
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.ck-line-height-dropdown .ck-dropdown__panel .ck-list {
11
+ /* Extend dropdown height for better UX */
12
+ max-height: 300px;
13
+ }
14
+
15
+ .ck.ck-line-height-dropdown .ck-dropdown__panel .ck-button.ck-line-height-option {
16
+ /* Add some minimum width to avoid too narrow buttons */
17
+ min-width: 6em;
18
+ }
19
+
20
+ .ck-content .line-height-single {
21
+ line-height: 1;
22
+ }
23
+
24
+ .ck-content .line-height-double {
25
+ line-height: 2;
26
+ }