@ckeditor/ckeditor5-line-height 46.0.0-alpha.2 → 46.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/ar.po +4 -4
- package/lang/translations/bg.po +4 -4
- package/lang/translations/bn.po +4 -4
- package/lang/translations/ca.po +4 -4
- package/lang/translations/cs.po +4 -4
- package/lang/translations/da.po +4 -4
- package/lang/translations/de.po +4 -4
- package/lang/translations/el.po +4 -4
- package/lang/translations/es.po +4 -4
- package/lang/translations/et.po +4 -4
- package/lang/translations/fi.po +4 -4
- package/lang/translations/fr.po +4 -4
- package/lang/translations/he.po +4 -4
- package/lang/translations/hi.po +4 -4
- package/lang/translations/hu.po +4 -4
- package/lang/translations/id.po +4 -4
- package/lang/translations/it.po +4 -4
- package/lang/translations/ja.po +4 -4
- package/lang/translations/ko.po +4 -4
- package/lang/translations/lt.po +4 -4
- package/lang/translations/lv.po +4 -4
- package/lang/translations/ms.po +4 -4
- package/lang/translations/nl.po +4 -4
- package/lang/translations/no.po +4 -4
- package/lang/translations/pl.po +4 -4
- package/lang/translations/pt-br.po +4 -4
- package/lang/translations/pt.po +4 -4
- package/lang/translations/ro.po +4 -4
- package/lang/translations/ru.po +4 -4
- package/lang/translations/sk.po +4 -4
- package/lang/translations/sr.po +4 -4
- package/lang/translations/sv.po +4 -4
- package/lang/translations/th.po +4 -4
- package/lang/translations/tr.po +4 -4
- package/lang/translations/uk.po +4 -4
- package/lang/translations/vi.po +4 -4
- package/lang/translations/zh-cn.po +4 -4
- package/lang/translations/zh.po +4 -4
- package/package.json +7 -7
- package/src/index.js +1 -1
- package/src/lineheight.js +1 -1
- package/src/lineheightcommand.js +1 -1
- package/src/lineheightediting.js +1 -1
- package/src/lineheightui.js +1 -1
- package/src/utils.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=s;function o(){const e=["checkAttribute","1214295diEemj","filter","editor","getSelectedBlocks","7IJxKOq","setAttribute","658864jPkcgD","_canHaveLineHeight","model","205772tcjxCT","509937qkHkck","2EiSoHE","isEnabled","7172154noqvdG","refresh","selection","change","1380112TWySkJ","lineHeight","358242kltZYl","getAttribute","schema","removeAttribute","from","document","execute","value"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=177]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(126387===-parseInt(t(199))/1*(parseInt(t(197))/2)+-parseInt(t(198))/3+-parseInt(t(194))/4+-parseInt(t(188))/5+parseInt(t(179))/6*(-parseInt(t(192))/7)+parseInt(t(177))/8+parseInt(t(201))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(202)](){const e=r,n=this[e(190)][e(196)][e(184)],i=(0,t.first)(n[e(203)][e(191)]());this[e(200)]=Boolean(i)&&this[e(195)](i),this[e(186)]=this[e(200)]&&i[e(180)](e(178))}[r(185)](e={}){const t=r,n=this[t(190)][t(196)],i=n[t(184)][t(203)],o=e[t(186)];n[t(204)](e=>{const n=t,r=Array[n(183)](i[n(191)]())[n(189)](e=>this[n(195)](e));for(const t of r)o?e[n(193)](n(178),o,t):e[n(182)](n(178),t)})}[r(195)](e){const t=r;return this[t(190)][t(196)][t(181)][t(187)](e,t(178))}}var c=n(783);function l(e,t){const n=h();return(l=function(e,t){return n[e-=147]})(e,t)}!function(e){const t=l,n=e();for(;;)try{if(463439===-parseInt(t(174))/1+parseInt(t(155))/2+-parseInt(t(154))/3+-parseInt(t(152))/4+parseInt(t(172))/5*(-parseInt(t(171))/6)+-parseInt(t(168))/7*(parseInt(t(163))/8)+-parseInt(t(157))/9*(-parseInt(t(167))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const u={get single(){const e=l;return{title:e(165),model:e(148),view:{key:e(180),value:e(160)}}},get double(){const e=l;return{title:e(149),model:e(158),view:{key:e(180),value:e(162)}}}};function d(e){const t=l;return t(156)==typeof e&&t(178)===e[t(159)]()}function h(){const e=["number","6yjQrvl","4067905rAEAQU","filter","664115ovkzZT","span","model","push","default","value","class","defaultValue","single","Double","options","view","3498480rwEZSS","key","1021413cdYfaw","715796kTBzKE","string","729hnCeMi","double","toLowerCase","line-height-single","map","line-height-double","1211592IgOglx","style","Single","values","364170bOYoGh","7LPdJQL","line-height:"];return(h=function(){return e})()}function f(e){const t=l;return e[t(150)][t(161)](n=>d(n)?{title:String(e[t(147)]),model:t(178)}:(t(170)==typeof n&&(n=String(n)),t(156)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(175),styles:{"line-height":n}}}:function(e){const t=l;return t(156)==typeof e?u[e]:u[e[t(176)]]}(n)))[t(173)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=492]})(e,t)}function m(){const e=["1qdfJGi","_validateConfig","afterInit","lineHeight","downcast","upcast","values","slice","setAttributeProperties","style","get","3006328koNSFv","lineHeight.supportAllValues","default","model","$block","string","fromCharCode","schema","href","1457187KmOSjE","_prepareAnyValueConverters","for","commands","getStyle","lineHeight.defaultValue","LineHeightEditing","add","lineHeight.options","init","isPremiumPlugin","line-height-invalid-use-of-named-presets","config","editor","1023246qaJVJi","attributeToAttribute","isOfficialPlugin","extend","filter","line-height","8CdPqCD","1164420MgxKHn","3668695DZrjtJ","pluginName","map","includes","join","length","_preparePredefinedConverters","conversion","3592442pZVatv","define","1775996ubhKAO"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(481988===parseInt(t(499))/1*(parseInt(t(498))/2)+parseInt(t(519))/3+-parseInt(t(510))/4+-parseInt(t(541))/5+parseInt(t(540))/6+-parseInt(t(496))/7*(-parseInt(t(539))/8)+-parseInt(t(533))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(542)](){return p(525)}static get[p(535)](){return!0}static get[p(529)](){return!0}constructor(e){const t=p;super(e),e[t(531)][t(497)](t(502),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(512),2,2.5,3]})}[p(528)](){const e=p,t=this[e(532)];this[e(500)](),t[e(513)][e(517)][e(536)](e(514),{allowAttributes:e(502)}),t[e(513)][e(517)][e(507)](e(502),{isFormatting:!0}),t[e(522)][e(526)](e(502),new a(t)),this[e(532)][e(531)][e(509)](e(511))?this[e(520)]():this[e(494)]()}[p(501)](){!async function(e){const n=m([114,90,69,49,118,65,89,102,76,52,75,87,86,103,101,88,100,105,84,113,70,115,108,57,85,68,77,110,83,97,119,66,111,112,99,82,109,79,53,67,74,72,122,80,48,98,73,120,121,55,104,81,117,50,51,116,71,78,54,106,56,107]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function l(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(e)):null}function u(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(543)](e=>String[t(516)](e))[t(492)]("")}!function(e){const t=function(){const e=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let t=m([114]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(u+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:u}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(l=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{l||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](u(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751500800;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(518)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(500)](){const e=p,n=this[e(532)];if(!n[e(531)][e(509)](e(511)))return;const i=n[e(531)][e(509)](e(527))[e(537)](t=>e(515)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(493)])throw new t.CKEditorError(e(530),null,{namedPresets:i})}[p(520)](){const e=p,t=this[e(532)],n=this[e(532)][e(531)][e(509)](e(524));t[e(495)][e(521)](e(503))[e(534)]({model:{key:e(502)},view:t=>String(t)===String(n)?null:{key:e(508),value:{"line-height":t}}}),t[e(495)][e(521)](e(504))[e(534)]({model:{key:e(502),value:t=>{const i=e;let r=t[i(523)](i(538));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(506)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(494)](){const e=p,t=this[e(532)],n=this[e(532)][e(531)][e(509)](e(524)),i=f(this[e(532)][e(531)][e(509)](e(502)))[e(537)](t=>t[e(513)]),r=function(e,t){const n=l,i={model:{key:e,values:[]},view:{}};for(const e of t)n(180)===e[n(151)]?.[n(153)]?(i[n(176)][n(166)][n(177)](e[n(176)]),i[n(151)][e[n(176)]]={key:n(180),value:e[n(151)][n(179)]}):(i[n(176)][n(166)][n(177)](e[n(176)]),i[n(151)][e[n(176)]]={key:n(164),value:n(169)+e[n(176)]+";"});return i}(e(502),i);t[e(495)][e(534)](r),t[e(495)][e(521)](e(504))[e(534)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(502),value:t=>{const i=e;let o=t[i(523)](i(538));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(506)](0,-1))/100)),o===String(n)?null:r[i(513)][i(505)][i(544)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),L=n.n(I),b=n(545),H=n.n(b),_=n(262),E=n.n(_),O=n(667),S=n.n(O),C=n(357),T=n.n(C),k=n(422),x={attributes:{"data-cke":!0}};x.setAttributes=S(),x.insert=E().bind(null,"head"),x.domAPI=H(),x.insertStyleElement=T();L()(k.A,x);k.A&&k.A.locals&&k.A.locals;class A extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}function N(e,t){var n=K();return(N=function(e,t){return n[e-=176]})(e,t)}var P=N;function K(){var e=["2zpqtgp","15759gHybhE","3285272cJGjcG","isOfficialPlugin","390458VPdpwI","isPremiumPlugin","4580HPWpnt","332rzgNvL","35KVWeMr","33gLiTns","338934dRAOOT","pluginName","LineHeight","31420tSrQGR","980604VGJxsl","2122803VIlkNq","requires"];return(K=function(){return e})()}!function(e){for(var t=N,n=e();;)try{if(480592===-parseInt(t(188))/1*(parseInt(t(184))/2)+parseInt(t(182))/3+parseInt(t(191))/4*(-parseInt(t(180))/5)+-parseInt(t(177))/6*(parseInt(t(192))/7)+parseInt(t(186))/8+-parseInt(t(185))/9*(-parseInt(t(190))/10)+-parseInt(t(176))/11*(parseInt(t(181))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class V extends e.Plugin{static get[P(183)](){return[w,A]}static get[P(178)](){return P(179)}static get[P(187)](){return!0}static get[P(189)](){return!0}}function M(e,t){var n=j();return(M=function(e,t){return n[e-=440]})(e,t)}function j(){var e=["201BEUfvs","6002408suXEsH","4293289qZludm","9584ZIDrEf","817706ZLTTLs","3163728cWhRsw","56225GDkHGQ","3786795bNhuKM"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(397643===parseInt(t(445))/1+parseInt(t(443))/2+parseInt(t(447))/3*(-parseInt(t(442))/4)+parseInt(t(446))/5+-parseInt(t(444))/6+parseInt(t(441))/7+-parseInt(t(440))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
|
5
|
+
*/(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=s;function o(){const e=["from","isEnabled","156842OdhFZE","233885YpSjTC","refresh","getAttribute","2656591DLtPMF","execute","_canHaveLineHeight","2271KLQJtO","schema","690968ktpMtQ","11170ahJlWw","filter","42WjhLNo","model","removeAttribute","850364aIHjLJ","value","selection","change","checkAttribute","document","setAttribute","editor","lineHeight","13023KxIVrw","getSelectedBlocks","2644bKGbaG"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=481]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(259425===parseInt(t(498))/1+parseInt(t(484))/2+parseInt(t(505))/3*(parseInt(t(495))/4)+parseInt(t(499))/5*(parseInt(t(481))/6)+parseInt(t(502))/7+parseInt(t(507))/8+-parseInt(t(493))/9*(parseInt(t(508))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(500)](){const e=r,n=this[e(491)][e(482)][e(489)],i=(0,t.first)(n[e(486)][e(494)]());this[e(497)]=Boolean(i)&&this[e(504)](i),this[e(485)]=this[e(497)]&&i[e(501)](e(492))}[r(503)](e={}){const t=r,n=this[t(491)][t(482)],i=n[t(489)][t(486)],o=e[t(485)];n[t(487)](e=>{const n=t,r=Array[n(496)](i[n(494)]())[n(509)](e=>this[n(504)](e));for(const t of r)o?e[n(490)](n(492),o,t):e[n(483)](n(492),t)})}[r(504)](e){const t=r;return this[t(491)][t(482)][t(506)][t(488)](e,t(492))}}var c=n(783);function l(){const e=["26592bDZFnn","9IElpue","value","options","452arbSeG","Single","model","default","defaultValue","class","line-height:","filter","Double","18192sgBRKT","534NWTNPm","key","3829KOgEzS","single","toLowerCase","76510oGZirz","line-height-double","14048340JYvjBa","map","style","line-height-single","push","double","span","17173500RAkvvo","8SVdRIJ","6319511yJjCPt","342262CLOHVu","string","values","number","view"];return(l=function(){return e})()}!function(e){const t=f,n=e();for(;;)try{if(850208===parseInt(t(416))/1*(parseInt(t(418))/2)+parseInt(t(387))/3*(-parseInt(t(391))/4)+-parseInt(t(406))/5*(parseInt(t(401))/6)+parseInt(t(403))/7*(parseInt(t(400))/8)+parseInt(t(388))/9*(-parseInt(t(408))/10)+parseInt(t(417))/11+parseInt(t(415))/12)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=f;return{title:e(392),model:e(404),view:{key:e(396),value:e(411)}}},get double(){const e=f;return{title:e(399),model:e(413),view:{key:e(396),value:e(407)}}}};function d(e){const t=f;return t(419)==typeof e&&t(394)===e[t(405)]()}function h(e){const t=f;return e[t(390)][t(409)](n=>d(n)?{title:String(e[t(395)]),model:t(394)}:(t(421)==typeof n&&(n=String(n)),t(419)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(414),styles:{"line-height":n}}}:function(e){const t=f;return t(419)==typeof e?u[e]:u[e[t(393)]]}(n)))[t(398)](e=>void 0!==e)}function f(e,t){const n=l();return(f=function(e,t){return n[e-=386]})(e,t)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=377]})(e,t)}function m(){const e=["extend","style","includes","model","113312gZOOnm","string","isOfficialPlugin","define","fromCharCode","for","line-height-invalid-use-of-named-presets","upcast","lineHeight.defaultValue","get","LineHeightEditing","isPremiumPlugin","afterInit","default","3YgZbpn","commands","slice","173996SDpRSo","config","getStyle","_validateConfig","downcast","5165952LwIyGO","pluginName","lineHeight","$block","add","1953616qCyQHR","_preparePredefinedConverters","length","1850242jUAGhK","1462461VVYMTL","conversion","join","filter","_prepareAnyValueConverters","lineHeight.options","init","map","line-height","href","setAttributeProperties","schema","lineHeight.supportAllValues","4193825IcFjWj","editor","attributeToAttribute","values"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(463581===-parseInt(t(396))/1+parseInt(t(409))/2+parseInt(t(393))/3*(-parseInt(t(406))/4)+parseInt(t(423))/5+-parseInt(t(401))/6+parseInt(t(410))/7+parseInt(t(379))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(402)](){return p(389)}static get[p(381)](){return!0}static get[p(390)](){return!0}constructor(e){const t=p;super(e),e[t(397)][t(382)](t(403),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(392),2,2.5,3]})}[p(416)](){const e=p,t=this[e(424)];this[e(399)](),t[e(378)][e(421)][e(427)](e(404),{allowAttributes:e(403)}),t[e(378)][e(421)][e(420)](e(403),{isFormatting:!0}),t[e(394)][e(405)](e(403),new a(t)),this[e(424)][e(397)][e(388)](e(422))?this[e(414)]():this[e(407)]()}[p(391)](){!async function(e){const n=m([68,66,52,49,79,116,65,50,75,111,104,57,120,98,80,102,84,70,67,114,103,87,122,71,108,109,107,55,72,85,105,78,99,106,117,48,88,100,86,115,119,77,81,90,112,53,69,74,51,89,97,76,121,54,118,113,73,110,56,82,101,83]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function l(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](u(e)):null}function u(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(417)](e=>String[t(383)](e))[t(412)]("")}!function(e){const t=function(){const e=window[m([83,116,114,105,110,103])](window[m([112,101,114,102,111,114,109,97,110,99,101])][m([110,111,119])]())[m([114,101,112,108,97,99,101])](m([46]),"");let t=m([68]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(u+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:u}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(l=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{l||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](u(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751587200;return e[m([101,120,112])]<t}()?m([69,120,112,105,114,101,100]):function(){const t=g,n=e[m([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[m([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[m([108,111,99,97,116,105,111,110])][t(419)]);if(n[m([105,110,99,108,117,100,101,115])](i))return!0;const r=i[m([115,112,108,105,116])](m([46]));return n[m([102,105,108,116,101,114])](e=>e[m([105,110,99,108,117,100,101,115])](m([42])))[m([109,97,112])](e=>e[m([115,112,108,105,116])](m([46])))[m([102,105,108,116,101,114])](e=>e[m([108,101,110,103,116,104])]<=r[m([108,101,110,103,116,104])])[m([109,97,112])](e=>Array(r[m([108,101,110,103,116,104])]-e[m([108,101,110,103,116,104])])[m([102,105,108,108])](e[0]===m([42])?m([42]):"")[m([99,111,110,99,97,116])](e))[m([115,111,109,101])](e=>r[m([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===m([42])))}()?(e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([101,118,97,108,117,97,116,105,111,110])&&(n=c(m([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[m([108,105,99,101,110,115,101,84,121,112,101])]==m([116,114,105,97,108])&&(n=c(m([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[m([80,114,111,109,105,115,101])])((e,t)=>{n[m([116,104,101,110])](e,t),p[m([116,104,101,110])](t=>{t!=m([86,97,108,105,100])&&e(t)},t)}):n||p||m([86,97,108,105,100]))):m([68,111,109,97,105,110,76,105,109,105,116]):m([78,111,116,65,108,108,111,119,101,100]):m([73,110,118,97,108,105,100])):m([73,110,118,97,108,105,100]))}catch{return m([73,110,118,97,108,105,100])}}())}(this)}[p(399)](){const e=p,n=this[e(424)];if(!n[e(397)][e(388)](e(422)))return;const i=n[e(397)][e(388)](e(415))[e(413)](t=>e(380)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(408)])throw new t.CKEditorError(e(385),null,{namedPresets:i})}[p(414)](){const e=p,t=this[e(424)],n=this[e(424)][e(397)][e(388)](e(387));t[e(411)][e(384)](e(400))[e(425)]({model:{key:e(403)},view:t=>String(t)===String(n)?null:{key:e(428),value:{"line-height":t}}}),t[e(411)][e(384)](e(386))[e(425)]({model:{key:e(403),value:t=>{const i=e;let r=t[i(398)](i(418));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(395)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(407)](){const e=p,t=this[e(424)],n=this[e(424)][e(397)][e(388)](e(387)),i=h(this[e(424)][e(397)][e(388)](e(403)))[e(413)](t=>t[e(378)]),r=function(e,t){const n=f,i={model:{key:e,values:[]},view:{}};for(const e of t)n(396)===e[n(386)]?.[n(402)]?(i[n(393)][n(420)][n(412)](e[n(393)]),i[n(386)][e[n(393)]]={key:n(396),value:e[n(386)][n(389)]}):(i[n(393)][n(420)][n(412)](e[n(393)]),i[n(386)][e[n(393)]]={key:n(410),value:n(397)+e[n(393)]+";"});return i}(e(403),i);t[e(411)][e(425)](r),t[e(411)][e(384)](e(386))[e(425)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(403),value:t=>{const i=e;let o=t[i(398)](i(418));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(395)](0,-1))/100)),o===String(n)?null:r[i(378)][i(426)][i(377)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),L=n.n(I),b=n(545),H=n.n(b),_=n(262),O=n.n(_),E=n(667),S=n.n(E),C=n(357),T=n.n(C),N=n(422),x={attributes:{"data-cke":!0}};x.setAttributes=S(),x.insert=O().bind(null,"head"),x.domAPI=H(),x.insertStyleElement=T();L()(N.A,x);N.A&&N.A.locals&&N.A.locals;class A 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 h(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var K=P;function k(){var e=["3884850wYxpKk","335272dzdmnR","18fKIwEj","isOfficialPlugin","1042853mdnrIJ","189292jvfGeo","pluginName","22oBQsHj","131637KRqyQX","isPremiumPlugin","requires","1735096RyAWpd","2011875qlSAgz","LineHeight"];return(k=function(){return e})()}function P(e,t){var n=k();return(P=function(e,t){return n[e-=134]})(e,t)}!function(e){for(var t=P,n=e();;)try{if(308296===-parseInt(t(146))/1+parseInt(t(134))/2*(-parseInt(t(135))/3)+-parseInt(t(142))/4+parseInt(t(139))/5+parseInt(t(143))/6*(parseInt(t(145))/7)+-parseInt(t(138))/8+parseInt(t(141))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(k);class V extends e.Plugin{static get[K(137)](){return[w,A]}static get[K(147)](){return K(140)}static get[K(144)](){return!0}static get[K(136)](){return!0}}function j(e,t){var n=B();return(j=function(e,t){return n[e-=114]})(e,t)}function B(){var e=["28606204kNyyNI","1251831ZtwPgm","205Qoldbr","112qjdqTi","411032llpzfc","8328meKvZc","106014dSxIJE","3TxCzKB","5999370SuLfIg","18BNHrIc","1431790aBqORM"];return(B=function(){return e})()}!function(e){for(var t=j,n=e();;)try{if(683821===parseInt(t(123))/1+-parseInt(t(121))/2+-parseInt(t(118))/3*(-parseInt(t(116))/4)+-parseInt(t(124))/5*(-parseInt(t(117))/6)+parseInt(t(114))/7*(parseInt(t(115))/8)+parseInt(t(120))/9*(parseInt(t(119))/10)+-parseInt(t(122))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(B)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/build/translations/ar.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.ar=I.ar||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.ar=I.ar||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"مخصص: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"مزدوج",LINE_HEIGHT_SINGLE_OPTION_LABEL:"مفرد"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/bg.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.bg=I.bg||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.bg=I.bg||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Персонализиране: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Двоен",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Единична"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/bn.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.bn=I.bn||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.bn=I.bn||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Custom: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"দ্বিগুণ",LINE_HEIGHT_SINGLE_OPTION_LABEL:"একক"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ca.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.ca=I.ca||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.ca=I.ca||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Personalitzada: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Doble",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Única"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/cs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.cs=I.cs||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.cs=I.cs||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Vlastní: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dvojitý",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Jednoduchý"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/da.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(E){const I=E.da=E.da||{};I.dictionary=Object.assign(I.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Tilpasset: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dobbelt",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Enkelt"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/de.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(E){const I=E.de=E.de||{};I.dictionary=Object.assign(I.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Benutzerdefiniert: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Doppelt",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Einfach"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/el.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.el=I.el||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.el=I.el||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Προσαρμογή: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Διπλό",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Μονό"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.es=I.es||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.es=I.es||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Personalizado: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Doble",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Sencillo"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/et.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.et=I.et||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.et=I.et||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Kohandatud: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Kahekordne",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Ühekordne"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/fi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.fi=I.fi||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.fi=I.fi||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Mukautettu: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Kaksinkertainen",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Yksi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/fr.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.fr=I.fr||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.fr=I.fr||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Personnalisée : %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Double",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Simple"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/he.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.he=I.he||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.he=I.he||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"מותאם אישית: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"כפול",LINE_HEIGHT_SINGLE_OPTION_LABEL:"יחיד"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/hi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.hi=I.hi||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.hi=I.hi||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"कस्टम: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"डबल",LINE_HEIGHT_SINGLE_OPTION_LABEL:"सिंगल"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/hu.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(E){const I=E.hu=E.hu||{};I.dictionary=Object.assign(I.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Egyedi: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dupla",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Egyszeres"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/id.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const
|
|
1
|
+
!function(I){const T=I.id=I.id||{};T.dictionary=Object.assign(T.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Kustom: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Ganda",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Tunggal"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/it.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.it=I.it||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.it=I.it||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Personalizzata: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Interlinea",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Interlinea"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ja.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.ja=I.ja||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.ja=I.ja||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"カスタム:%0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"2本線",LINE_HEIGHT_SINGLE_OPTION_LABEL:"1行"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ko.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.ko=I.ko||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.ko=I.ko||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"사용자 지정: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"이중선",LINE_HEIGHT_SINGLE_OPTION_LABEL:"1줄"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/lt.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const
|
|
1
|
+
!function(I){const T=I.lt=I.lt||{};T.dictionary=Object.assign(T.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Tinkintas (-a): %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dvigubas",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Viengubas"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/lv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.lv=I.lv||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.lv=I.lv||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Pielāgots: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dubults",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Viens"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ms.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const
|
|
1
|
+
!function(I){const T=I.ms=I.ms||{};T.dictionary=Object.assign(T.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Suai: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dua baris",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Tunggal"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/nl.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(E){const I=E.nl=E.nl||{};I.dictionary=Object.assign(I.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Aangepast: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dubbel",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Enkel"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/no.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(E){const I=E.no=E.no||{};I.dictionary=Object.assign(I.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Tilpasset: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dobbel",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Enkel"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/pl.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.pl=I.pl||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.pl=I.pl||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Niestandardowa: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Podwójna",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Pojedyncza"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I["pt-br"]=I["pt-br"]||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I["pt-br"]=I["pt-br"]||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Personalizado: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dupla",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Simples"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/pt.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.pt=I.pt||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.pt=I.pt||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Personalizado: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Duplo",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Simples"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ro.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(L){const I=L.ro=L.ro||{};I.dictionary=Object.assign(I.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Personalizată: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"La două rânduri",LINE_HEIGHT_SINGLE_OPTION_LABEL:"La un rând"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ru.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.ru=I.ru||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.ru=I.ru||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Особая: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Двойная",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Одинарная"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/sk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.sk=I.sk||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.sk=I.sk||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Vlastné: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dvojitá",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Jednoduchá"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/sr.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.sr=I.sr||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.sr=I.sr||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Prilagođeno: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dvostruki razmak",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Jednostruki razmak"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/sv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(
|
|
1
|
+
!function(E){const I=E.sv=E.sv||{};I.dictionary=Object.assign(I.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Anpassat: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Dubbel",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Enkelt"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/th.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.th=I.th||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.th=I.th||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"กำหนดเอง: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"คู่",LINE_HEIGHT_SINGLE_OPTION_LABEL:"เดี่ยว"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/tr.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const
|
|
1
|
+
!function(I){const T=I.tr=I.tr||{};T.dictionary=Object.assign(T.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Özel: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Çift",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Tek"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/uk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.uk=I.uk||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.uk=I.uk||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Користувацька: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Подвійна",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Одинарна"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/vi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const
|
|
1
|
+
!function(I){const T=I.vi=I.vi||{};T.dictionary=Object.assign(T.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"Tùy chỉnh: %0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"Đôi",LINE_HEIGHT_SINGLE_OPTION_LABEL:"Đơn"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I["zh-cn"]=I["zh-cn"]||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I["zh-cn"]=I["zh-cn"]||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"自定义:%0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"双倍行距",LINE_HEIGHT_SINGLE_OPTION_LABEL:"单倍行距"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/zh.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(I){const _=I.zh=I.zh||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"",LINE_HEIGHT_SINGLE_OPTION_LABEL:""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
1
|
+
!function(I){const _=I.zh=I.zh||{};_.dictionary=Object.assign(_.dictionary||{},{LINE_HEIGHT_CUSTOM_OPTION_LABEL:"自訂:%0",LINE_HEIGHT_DOUBLE_OPTION_LABEL:"雙行",LINE_HEIGHT_SINGLE_OPTION_LABEL:"單行"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x23cc26,Plugin as _0x475010}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x3eef9e,CKEditorError as _0x5dc3d2,uid as _0x5a0c29,Collection as _0x1c794e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x4b4cf2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x5a448a,createDropdown as _0x3ec160,addListToDropdown as _0x32c89b,MenuBarMenuView as _0x315cc5,MenuBarMenuListView as _0x45445c,MenuBarMenuListItemView as _0x33a688,MenuBarMenuListItemButtonView as _0x566d21}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x101b96}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x23cc26{['refresh'](){const _0x4b1d5a=this['editor']['model']['document'],_0x9f2d94=_0x3eef9e(_0x4b1d5a['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x9f2d94)&&this['_canHaveLineHeight'](_0x9f2d94),this['value']=this['isEnabled']&&_0x9f2d94['getAttribute']('lineHeight');}['execute'](_0x514e38={}){const _0x5c90da=this['editor']['model'],_0x1399d8=_0x5c90da['document']['selection'],_0x3db1fa=_0x514e38['value'];_0x5c90da['change'](_0x2543ea=>{const _0x3644f0=Array['from'](_0x1399d8['getSelectedBlocks']())['filter'](_0x277bb3=>this['_canHaveLineHeight'](_0x277bb3));for(const _0x43ce88 of _0x3644f0)_0x3db1fa?_0x2543ea['setAttribute']('lineHeight',_0x3db1fa,_0x43ce88):_0x2543ea['removeAttribute']('lineHeight',_0x43ce88);});}['_canHaveLineHeight'](_0x590c59){return this['editor']['model']['schema']['checkAttribute'](_0x590c59,'lineHeight');}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function f(_0x1af0eb){return'string'==typeof _0x1af0eb&&'default'===_0x1af0eb['toLowerCase']();}function a(_0x486f76){return _0x486f76['options']['map'](_0x3b04ec=>{return f(_0x3b04ec)?{'title':String(_0x486f76['defaultValue']),'model':'default'}:('number'==typeof _0x3b04ec&&(_0x3b04ec=String(_0x3b04ec)),'string'!=typeof _0x3b04ec?_0x3b04ec:parseFloat(_0x3b04ec)?{'title':_0x3b04ec,'model':_0x3b04ec,'view':{'name':'span','styles':{'line-height':_0x3b04ec}}}:'string'==typeof(_0xc7a244=_0x3b04ec)?v[_0xc7a244]:v[_0xc7a244['model']]);var _0xc7a244;})['filter'](_0x438c32=>void 0x0!==_0x438c32);}class e extends _0x475010{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1a5994){super(_0x1a5994),_0x1a5994['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x119cdc=this['editor'];this['_validateConfig'](),_0x119cdc['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x119cdc['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x119cdc['commands']['add']('lineHeight',new n(_0x119cdc)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x4658a9){const _0x124f8b=_0x256082([0x72,0x5a,0x45,0x31,0x76,0x41,0x59,0x66,0x4c,0x34,0x4b,0x57,0x56,0x67,0x65,0x58,0x64,0x69,0x54,0x71,0x46,0x73,0x6c,0x39,0x55,0x44,0x4d,0x6e,0x53,0x61,0x77,0x42,0x6f,0x70,0x63,0x52,0x6d,0x4f,0x35,0x43,0x4a,0x48,0x7a,0x50,0x30,0x62,0x49,0x78,0x79,0x37,0x68,0x51,0x75,0x32,0x33,0x74,0x47,0x4e,0x36,0x6a,0x38,0x6b]),_0x22efaa=0x4d7f17,_0x2f9370=0x4a1397^_0x22efaa,_0x4e8b8c=window[_0x256082([0x44,0x61,0x74,0x65])][_0x256082([0x6e,0x6f,0x77])](),_0x2a4ed2=_0x4658a9[_0x256082([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x152ffc=new window[(_0x256082([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x489674=>{_0x2a4ed2[_0x256082([0x6f,0x6e,0x63,0x65])](_0x256082([0x72,0x65,0x61,0x64,0x79]),_0x489674);}),_0x5d7056={[_0x256082([0x6b,0x74,0x79])]:_0x256082([0x45,0x43]),[_0x256082([0x75,0x73,0x65])]:_0x256082([0x73,0x69,0x67]),[_0x256082([0x63,0x72,0x76])]:_0x256082([0x50,0x2d,0x32,0x35,0x36]),[_0x256082([0x78])]:_0x256082([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]),[_0x256082([0x79])]:_0x256082([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]),[_0x256082([0x61,0x6c,0x67])]:_0x256082([0x45,0x53,0x32,0x35,0x36])},_0x280f64=_0x2a4ed2[_0x256082([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x256082([0x67,0x65,0x74])](_0x256082([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ad805(){let _0x9315b7,_0xbdb882=null,_0x313679=null;try{if(_0x280f64==_0x256082([0x47,0x50,0x4c]))return _0x256082([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9315b7=_0x1345f3(),!_0x9315b7)return _0x256082([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9315b7[_0x256082([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x313679=_0x5bc578(_0x9315b7[_0x256082([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9315b7[_0x256082([0x6a,0x74,0x69])])),await _0x362f34()?_0x5e260e()?_0x53d481()?_0x256082([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f93d()?(_0x9315b7[_0x256082([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x256082([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbdb882=_0x186c12(_0x256082([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9315b7[_0x256082([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x256082([0x74,0x72,0x69,0x61,0x6c])&&(_0xbdb882=_0x186c12(_0x256082([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd4b1be()):_0x256082([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x256082([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x256082([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x256082([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53d481(){const _0x3c8835=[_0x256082([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x256082([0x74,0x72,0x69,0x61,0x6c])][_0x256082([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9315b7[_0x256082([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e8b8c/0x3e8:0xe10*_0x2f9370;return _0x9315b7[_0x256082([0x65,0x78,0x70])]<_0x3c8835;}function _0x5e260e(){const _0x365f0b=_0x9315b7[_0x256082([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x365f0b&&(!!_0x365f0b[_0x256082([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256082([0x2a]))||!!_0x365f0b[_0x256082([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256082([0x4c,0x48])));}function _0x1f93d(){const _0x14c42c=_0x9315b7[_0x256082([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14c42c||0x0==_0x14c42c[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1601c7}=new URL(window[_0x256082([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x14c42c[_0x256082([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1601c7))return!0x0;const _0x31cf6b=_0x1601c7[_0x256082([0x73,0x70,0x6c,0x69,0x74])](_0x256082([0x2e]));return _0x14c42c[_0x256082([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x599c6d=>_0x599c6d[_0x256082([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256082([0x2a])))[_0x256082([0x6d,0x61,0x70])](_0x1c3384=>_0x1c3384[_0x256082([0x73,0x70,0x6c,0x69,0x74])](_0x256082([0x2e])))[_0x256082([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34434a=>_0x34434a[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x31cf6b[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x256082([0x6d,0x61,0x70])](_0x146d54=>Array(_0x31cf6b[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x146d54[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x256082([0x66,0x69,0x6c,0x6c])](_0x146d54[0x0]===_0x256082([0x2a])?_0x256082([0x2a]):'')[_0x256082([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x146d54))[_0x256082([0x73,0x6f,0x6d,0x65])](_0x3481c4=>_0x31cf6b[_0x256082([0x65,0x76,0x65,0x72,0x79])]((_0x1d8f6c,_0x1244cb)=>_0x3481c4[_0x1244cb]===_0x1d8f6c||_0x3481c4[_0x1244cb]===_0x256082([0x2a])));}function _0xd4b1be(){return _0xbdb882&&_0x313679?new window[(_0x256082([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x110963,_0x45eccf)=>{_0xbdb882[_0x256082([0x74,0x68,0x65,0x6e])](_0x110963,_0x45eccf),_0x313679[_0x256082([0x74,0x68,0x65,0x6e])](_0xa6fa62=>{_0xa6fa62!=_0x256082([0x56,0x61,0x6c,0x69,0x64])&&_0x110963(_0xa6fa62);},_0x45eccf);}):_0xbdb882||_0x313679||_0x256082([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5bc578(_0x249024,_0x208115){return new window[(_0x256082([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a6704=>{if(_0x4d0d35())return _0x1a6704(_0x256082([0x56,0x61,0x6c,0x69,0x64]));_0x3bd1ff(),_0x2a4ed2[_0x256082([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x256082([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c85d6=!0x1;const _0x574530=_0x5a0c29();function _0x1ccbf5(_0x491de4){return!!_0x491de4&&(typeof _0x491de4===_0x256082([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x491de4===_0x256082([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x491de4[_0x256082([0x74,0x68,0x65,0x6e])]===_0x256082([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x491de4[_0x256082([0x63,0x61,0x74,0x63,0x68])]===_0x256082([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47b9fa(_0x321c7c){_0x4f0ee1(_0x321c7c)[_0x256082([0x74,0x68,0x65,0x6e])](_0x13b1d3=>{if(!_0x13b1d3||_0x13b1d3[_0x256082([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x256082([0x6f,0x6b]))return _0x256082([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c8d57(_0x4977a8(_0x574530+_0x208115))!=_0x13b1d3[_0x256082([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x256082([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x256082([0x56,0x61,0x6c,0x69,0x64]);})[_0x256082([0x74,0x68,0x65,0x6e])](_0x132491=>(_0x1201c0(),_0x132491),()=>{const _0x2c71cc=_0x702ad9();return null==_0x2c71cc?(_0x1201c0(),_0x256082([0x56,0x61,0x6c,0x69,0x64])):_0x256082(_0x4e8b8c-_0x2c71cc>(0x2441fb17^_0x22efaa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x256082([0x74,0x68,0x65,0x6e])](_0x1a6704)[_0x256082([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a6704(_0x256082([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ef6c4=0x7b9197^_0x22efaa;function _0x1201c0(){const _0x1f2ca6=_0x256082([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c8d57(_0x4977a8(_0x249024)),_0x4c60e5=_0x7496fe(_0x1c8d57(window[_0x256082([0x4d,0x61,0x74,0x68])][_0x256082([0x63,0x65,0x69,0x6c])](_0x4e8b8c/_0x2ef6c4)));window[_0x256082([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x256082([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f2ca6,_0x4c60e5);}function _0x702ad9(){const _0x38efa8=_0x256082([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c8d57(_0x4977a8(_0x249024)),_0x46de49=window[_0x256082([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x256082([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38efa8);return _0x46de49?window[_0x256082([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7496fe(_0x46de49),0x10)*_0x2ef6c4:null;}function _0x4f0ee1(_0x3709e4){return new window[(_0x256082([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1874b1,_0x236872)=>{_0x3709e4[_0x256082([0x74,0x68,0x65,0x6e])](_0x1874b1,_0x236872),window[_0x256082([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x236872,0x4cabd7^_0x22efaa);});}}_0x2a4ed2[_0x256082([0x6f,0x6e])](_0x256082([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e9a64,_0x1e319e)=>{if(_0x1e319e[0x0]!=_0x249024)return _0x1a6704(_0x256082([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e319e[0x1]={..._0x1e319e[0x1],[_0x256082([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x574530};},{[_0x256082([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x256082([0x68,0x69,0x67,0x68])}),_0x2a4ed2[_0x256082([0x6f,0x6e])](_0x256082([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2cb539=>{_0x1ccbf5(_0x2cb539[_0x256082([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c85d6=!0x0,_0x47b9fa(_0x2cb539[_0x256082([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x256082([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x256082([0x6c,0x6f,0x77])}),_0x152ffc[_0x256082([0x74,0x68,0x65,0x6e])](()=>{_0x5c85d6||_0x1a6704(_0x256082([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d0d35(){return _0x2a4ed2[_0x256082([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x256082([0x76,0x69,0x65,0x77])][_0x256082([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x256082([0x61,0x75,0x74,0x6f]);}function _0x3bd1ff(){_0x2a4ed2[_0x256082([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x256082([0x76,0x69,0x65,0x77])][_0x256082([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x256082([0x61,0x75,0x74,0x6f]);}}function _0x186c12(_0x3fbdf6){const _0x2b27e9=[new window[(_0x256082([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39f98f=>setTimeout(_0x39f98f,0x4441db^_0x22efaa)),_0x152ffc[_0x256082([0x74,0x68,0x65,0x6e])](()=>new window[(_0x256082([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d8dd4=>{let _0x50e203=0x0;_0x2a4ed2[_0x256082([0x6d,0x6f,0x64,0x65,0x6c])][_0x256082([0x6f,0x6e])](_0x256082([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x240da2,_0x537dc9)=>{_0x537dc9[0x0][_0x256082([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50e203++,_0x50e203==(0x4d7eef^_0x22efaa)&&(_0x5d8dd4(),_0x240da2[_0x256082([0x6f,0x66,0x66])]());});}))];return window[_0x256082([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x256082([0x72,0x61,0x63,0x65])](_0x2b27e9)[_0x256082([0x74,0x68,0x65,0x6e])](()=>_0x3fbdf6);}async function _0xd93490(){await _0x152ffc,_0x2a4ed2[_0x256082([0x6d,0x6f,0x64,0x65,0x6c])][_0x256082([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b2107,_0x2a4ed2[_0x256082([0x6d,0x6f,0x64,0x65,0x6c])][_0x256082([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b2107,_0x2a4ed2[_0x256082([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x256082([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x433f75(_0x2f4348){const _0x497752=_0x26c7ba();_0x2a4ed2[_0x497752]=_0x256082([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f4348,_0x2f4348!=_0x256082([0x56,0x61,0x6c,0x69,0x64])&&_0xd93490();}function _0x26c7ba(){const _0x50616e=window[_0x256082([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x256082([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x256082([0x6e,0x6f,0x77])]())[_0x256082([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x256082([0x2e]),'');let _0x16ed86=_0x256082([0x72]);for(let _0x31f1b7=0x0;_0x31f1b7<_0x50616e[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31f1b7+=0x2){let _0x43b1b3=window[_0x256082([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50616e[_0x256082([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31f1b7,_0x31f1b7+0x2));_0x43b1b3>=_0x124f8b[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43b1b3-=_0x124f8b[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x16ed86+=_0x124f8b[_0x43b1b3];}return _0x16ed86;}function _0x1345f3(){const _0xf2095f=_0x280f64[_0x256082([0x73,0x70,0x6c,0x69,0x74])](_0x256082([0x2e]));if(0x3!=_0xf2095f[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3bc2d4(_0xf2095f[0x1]);function _0x3bc2d4(_0x281d5f){const _0x673e9c=_0x417a29(_0x281d5f);return _0x673e9c&&_0x155ccd()?_0x673e9c:null;function _0x155ccd(){const _0x328106=_0x673e9c[_0x256082([0x6a,0x74,0x69])],_0x40d6db=window[_0x256082([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x328106[_0x256082([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x328106[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xede066={..._0x673e9c,[_0x256082([0x6a,0x74,0x69])]:_0x328106[_0x256082([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x328106[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xede066[_0x256082([0x76,0x63])],_0x4977a8(_0xede066)==_0x40d6db;}}}async function _0x362f34(){let _0xa8896=!0x0;try{const _0x11b733=_0x280f64[_0x256082([0x73,0x70,0x6c,0x69,0x74])](_0x256082([0x2e])),[_0x55bcd3,_0x597526,_0x2ac09a]=_0x11b733;return _0x4b28ee(_0x55bcd3),await _0x1241d6(_0x55bcd3,_0x597526,_0x2ac09a),_0xa8896;}catch{return!0x1;}function _0x4b28ee(_0x56d98e){const _0x585922=_0x417a29(_0x56d98e);_0x585922&&_0x585922[_0x256082([0x61,0x6c,0x67])]==_0x256082([0x45,0x53,0x32,0x35,0x36])||(_0xa8896=!0x1);}async function _0x1241d6(_0x45f53e,_0x55256e,_0x237178){const _0x5b3c9e=window[_0x256082([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x256082([0x66,0x72,0x6f,0x6d])](_0x5b08dc(_0x237178),_0x3e0f7f=>_0x3e0f7f[_0x256082([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x388035=new window[(_0x256082([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x256082([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45f53e+_0x256082([0x2e])+_0x55256e),_0x48aaab=window[_0x256082([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x256082([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48aaab)return;const _0x5039eb=await _0x48aaab[_0x256082([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x256082([0x6a,0x77,0x6b]),_0x5d7056,{[_0x256082([0x6e,0x61,0x6d,0x65])]:_0x256082([0x45,0x43,0x44,0x53,0x41]),[_0x256082([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x256082([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x256082([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48aaab[_0x256082([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x256082([0x6e,0x61,0x6d,0x65])]:_0x256082([0x45,0x43,0x44,0x53,0x41]),[_0x256082([0x68,0x61,0x73,0x68])]:{[_0x256082([0x6e,0x61,0x6d,0x65])]:_0x256082([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5039eb,_0x5b3c9e,_0x388035)||(_0xa8896=!0x1);}}function _0x417a29(_0x1d5bc8){return _0x1d5bc8[_0x256082([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x256082([0x65,0x79]))?JSON[_0x256082([0x70,0x61,0x72,0x73,0x65])](_0x5b08dc(_0x1d5bc8)):null;}function _0x5b08dc(_0x53fcb2){return window[_0x256082([0x61,0x74,0x6f,0x62])](_0x53fcb2[_0x256082([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x256082([0x2b]))[_0x256082([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x256082([0x2f])));}function _0x4977a8(_0x20ad62){let _0x3ebbdb=0x1505;function _0x5144bb(_0x2f5814){for(let _0x42329c=0x0;_0x42329c<_0x2f5814[_0x256082([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42329c++){const _0x1954c5=_0x2f5814[_0x256082([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42329c);_0x3ebbdb=(_0x3ebbdb<<0x5)+_0x3ebbdb+_0x1954c5,_0x3ebbdb&=_0x3ebbdb;}}function _0x1f1703(_0x288c95){Array[_0x256082([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x288c95)?_0x288c95[_0x256082([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f1703):_0x288c95&&typeof _0x288c95==_0x256082([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x256082([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x288c95)[_0x256082([0x73,0x6f,0x72,0x74])]()[_0x256082([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e4ac5,_0x6089b0])=>{_0x5144bb(_0x5e4ac5),_0x1f1703(_0x6089b0);}):_0x5144bb(window[_0x256082([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x288c95));}return _0x1f1703(_0x20ad62),_0x3ebbdb>>>0x0;}function _0x1c8d57(_0x590b03){return _0x590b03[_0x256082([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x256082([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x256082([0x30]));}function _0x7496fe(_0x26b7bf){return _0x26b7bf[_0x256082([0x73,0x70,0x6c,0x69,0x74])]('')[_0x256082([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x256082([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b2107(){}function _0x256082(_0x454cbd){return _0x454cbd['map'](_0x3b5db2=>String['fromCharCode'](_0x3b5db2))['join']('');}_0x433f75(await _0x2ad805());}(this);}['_validateConfig'](){const _0x5f42ff=this['editor'];if(!_0x5f42ff['config']['get']('lineHeight.supportAllValues'))return;const _0x2c0a02=_0x5f42ff['config']['get']('lineHeight.options')['filter'](_0xdf1bb7=>'string'==typeof _0xdf1bb7&&(!f(_0xdf1bb7)&&isNaN(Number(_0xdf1bb7))));if(_0x2c0a02['length'])throw new _0x5dc3d2('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x2c0a02});}['_prepareAnyValueConverters'](){const _0x29ff95=this['editor'],_0x33c2ad=this['editor']['config']['get']('lineHeight.defaultValue');_0x29ff95['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x3d0e4d=>String(_0x3d0e4d)===String(_0x33c2ad)?null:{'key':'style','value':{'line-height':_0x3d0e4d}}}),_0x29ff95['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x142ed9=>{let _0xd19ae2=_0x142ed9['getStyle']('line-height');return _0x4b4cf2(_0xd19ae2)&&(_0xd19ae2=String(Number(_0xd19ae2['slice'](0x0,-0x1))/0x64)),String(_0xd19ae2)===String(_0x33c2ad)?null:_0xd19ae2;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x980338=this['editor'],_0x34a49e=this['editor']['config']['get']('lineHeight.defaultValue'),_0xa1c39f=function(_0x26bf3f,_0x4e3871){const _0xda82e0={'model':{'key':_0x26bf3f,'values':[]},'view':{}};for(const _0x2d7320 of _0x4e3871)'class'===_0x2d7320['view']?.['key']?(_0xda82e0['model']['values']['push'](_0x2d7320['model']),_0xda82e0['view'][_0x2d7320['model']]={'key':'class','value':_0x2d7320['view']['value']}):(_0xda82e0['model']['values']['push'](_0x2d7320['model']),_0xda82e0['view'][_0x2d7320['model']]={'key':'style','value':'line-height:'+_0x2d7320['model']+';'});return _0xda82e0;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x1ee0c3=>_0x1ee0c3['model']));_0x980338['conversion']['attributeToAttribute'](_0xa1c39f),_0x980338['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x64293c=>{let _0x16f6f2=_0x64293c['getStyle']('line-height');return _0x4b4cf2(_0x16f6f2)&&(_0x16f6f2=String(Number(_0x16f6f2['slice'](0x0,-0x1))/0x64)),_0x16f6f2===String(_0x34a49e)?null:_0xa1c39f['model']['values']['includes'](_0x16f6f2)?_0x16f6f2:null;}}});}}class r extends _0x475010{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2450f8={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x2450f8),this['_registerMenuBarComponent'](_0x2450f8),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x486678=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42c1dd;for(const _0x50fcf2 in _0x486678){const _0x38de67=_0x50fcf2,_0x44bc5=_0x486678[_0x38de67];if('lineHeightLicenseKeyValid'==_0x44bc5||'lineHeightLicenseKeyInvalid'==_0x44bc5||'lineHeightLicenseKeyExpired'==_0x44bc5||'lineHeightLicenseKeyDomainLimit'==_0x44bc5||'lineHeightLicenseKeyNotAllowed'==_0x44bc5||'lineHeightLicenseKeyEvaluationLimit'==_0x44bc5||'lineHeightLicenseKeyTrialLimit'==_0x44bc5||'lineHeightLicenseKeyUsageLimit'==_0x44bc5){delete _0x486678[_0x38de67],_0x42c1dd=_0x44bc5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x42c1dd&&_0x486678['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x42c1dd&&_0x486678['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x42c1dd&&_0x486678['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x42c1dd&&_0x486678['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x42c1dd&&_0x486678['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x42c1dd&&_0x486678['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x42c1dd&&_0x486678['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x187a64=this['editor'],t=_0x187a64['t'],_0x3f8eb9=_0x187a64['config']['get']('lineHeight'),_0x44844b={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x3f8eb9)['map'](_0x2f4323=>{const _0xec1deb=_0x44844b[_0x2f4323['title']];return _0xec1deb&&_0xec1deb!=_0x2f4323['title']&&(_0x2f4323=Object['assign']({},_0x2f4323,{'title':_0xec1deb})),_0x2f4323;});}['_prepareListOptions'](){const _0x243be1=this['editor']['commands']['get']('lineHeight'),_0x42069d=this['editor']['config']['get']('lineHeight.defaultValue'),_0x482180=this['_getLocalizedLineHeightOptions'](),_0x28d1ef=new _0x1c794e(),_0x9e2a81=_0x429f23=>'default'===_0x429f23||String(_0x42069d)===_0x429f23;for(const _0x3c1fe4 of _0x482180){const _0x1c0735={'type':'button','model':new _0x5a448a({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3c1fe4['title'],'withText':!0x0})};_0x9e2a81(_0x3c1fe4['model'])?(_0x1c0735['model']['bind']('isOn')['to'](_0x243be1,'value',_0x11473a=>!_0x11473a),_0x1c0735['model']['commandParam']=void 0x0):(_0x1c0735['model']['bind']('isOn')['to'](_0x243be1,'value',_0x133823=>_0x133823===_0x3c1fe4['model']),_0x1c0735['model']['commandParam']=_0x3c1fe4['model']),_0x28d1ef['add'](_0x1c0735);}if(this['_shouldRenderCustomValueOption']()){const _0x5d6d39=this['_getCustomValueOptionDefinition'](_0x482180);_0x28d1ef['add'](_0x5d6d39);}return _0x28d1ef;}['_getCustomValueOptionDefinition'](_0x400dca){const _0x564f5e=this['editor'],t=_0x564f5e['t'],_0x4015d8=_0x564f5e['commands']['get']('lineHeight'),_0x2bc971=_0x400dca['map'](_0x5bde47=>_0x5bde47['model']),_0x3055e8={'type':'button','model':new _0x5a448a({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3055e8['model']['bind']('commandParam')['to'](_0x4015d8,'value'),_0x3055e8['model']['bind']('isOn')['to'](_0x4015d8,'value',_0x31a296=>!!_0x31a296&&!_0x2bc971['includes'](String(_0x31a296))),_0x3055e8['model']['bind']('label')['to'](_0x4015d8,'value',_0x5ef87a=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x5ef87a))),_0x3055e8;}['_registerToolbarComponent']({accessibleLabel:_0x214979,options:_0x20f4d4}){const _0x414424=this['editor'],_0x3f4bfa=_0x414424['commands']['get']('lineHeight');_0x414424['ui']['componentFactory']['add']('lineHeight',_0x26e861=>{const _0x18b8ae=_0x3ec160(_0x26e861);return _0x32c89b(_0x18b8ae,_0x20f4d4,{'role':'menu','ariaLabel':_0x214979}),_0x18b8ae['buttonView']['set']({'label':_0x214979,'tooltip':!0x0,'icon':_0x101b96}),_0x18b8ae['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x18b8ae['bind']('isEnabled')['to'](_0x3f4bfa),this['listenTo'](_0x18b8ae,'execute',_0x28535f=>{_0x414424['execute'](_0x28535f['source']['commandName'],{'value':_0x28535f['source']['commandParam']}),_0x414424['editing']['view']['focus']();}),_0x18b8ae['once']('change:isOpen',()=>{const _0x72d740=_0x18b8ae['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x18b8ae,_0x20f4d4,_0x72d740);}),_0x18b8ae;});}['_registerMenuBarComponent']({accessibleLabel:_0x8eaca0,options:_0x55ca50}){const _0x476406=this['editor'],_0x3337bd=_0x476406['commands']['get']('lineHeight');_0x476406['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3d449d=>{const _0x9e1068=new _0x315cc5(_0x3d449d);_0x9e1068['buttonView']['set']({'label':_0x8eaca0,'icon':_0x101b96}),_0x9e1068['bind']('isEnabled')['to'](_0x3337bd);const _0x84b68d=new _0x45445c(_0x3d449d);for(const _0x5c884c of _0x55ca50){const _0x4000fc=new _0x33a688(_0x3d449d,_0x9e1068),_0x4fc304=new _0x566d21(_0x3d449d);_0x4fc304['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4fc304['bind'](...Object['keys'](_0x5c884c['model']))['to'](_0x5c884c['model']),_0x4fc304['delegate']('execute')['to'](_0x9e1068),_0x4fc304['on']('execute',()=>{_0x476406['execute'](_0x5c884c['model']['commandName'],{'value':_0x5c884c['model']['commandParam']}),_0x476406['editing']['view']['focus']();}),_0x4000fc['children']['add'](_0x4fc304),_0x84b68d['items']['add'](_0x4000fc);}return _0x9e1068['panelView']['children']['add'](_0x84b68d),this['_attachCustomOptionVisibilityHandler'](_0x9e1068,_0x55ca50,_0x84b68d),_0x9e1068;});}['_attachCustomOptionVisibilityHandler'](_0x23fbe6,_0x14055e,_0x2514c3){if(!this['_shouldRenderCustomValueOption']())return;const _0x2636a5=()=>{if(!_0x23fbe6['isOpen'])return;_0x2514c3['items']['last']['isVisible']=Boolean(_0x14055e['last']['model']['isOn']);};_0x2636a5(),_0x23fbe6['on']('change:isOpen',()=>{_0x2636a5();});}}class k extends _0x475010{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};
|
|
23
|
+
import{Command as _0x840dec,Plugin as _0x4b61f5}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x60a504,CKEditorError as _0x203ce0,uid as _0xa0c045,Collection as _0xc48c35}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x336fad}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x151d6e,createDropdown as _0xa1da1,addListToDropdown as _0x34a6bd,MenuBarMenuView as _0x59f0e8,MenuBarMenuListView as _0x556cce,MenuBarMenuListItemView as _0x2dd1c5,MenuBarMenuListItemButtonView as _0x4099b6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x1fb4b8}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x840dec{['refresh'](){const _0x4e037a=this['editor']['model']['document'],_0x570ec8=_0x60a504(_0x4e037a['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x570ec8)&&this['_canHaveLineHeight'](_0x570ec8),this['value']=this['isEnabled']&&_0x570ec8['getAttribute']('lineHeight');}['execute'](_0x1f64a6={}){const _0x3bd4dc=this['editor']['model'],_0x2e5bba=_0x3bd4dc['document']['selection'],_0x33531a=_0x1f64a6['value'];_0x3bd4dc['change'](_0x245a74=>{const _0x25b5e2=Array['from'](_0x2e5bba['getSelectedBlocks']())['filter'](_0x1318b9=>this['_canHaveLineHeight'](_0x1318b9));for(const _0x264351 of _0x25b5e2)_0x33531a?_0x245a74['setAttribute']('lineHeight',_0x33531a,_0x264351):_0x245a74['removeAttribute']('lineHeight',_0x264351);});}['_canHaveLineHeight'](_0x3e9a28){return this['editor']['model']['schema']['checkAttribute'](_0x3e9a28,'lineHeight');}}const v={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function f(_0x5128c0){return'string'==typeof _0x5128c0&&'default'===_0x5128c0['toLowerCase']();}function a(_0x550de8){return _0x550de8['options']['map'](_0x3fd3d4=>{return f(_0x3fd3d4)?{'title':String(_0x550de8['defaultValue']),'model':'default'}:('number'==typeof _0x3fd3d4&&(_0x3fd3d4=String(_0x3fd3d4)),'string'!=typeof _0x3fd3d4?_0x3fd3d4:parseFloat(_0x3fd3d4)?{'title':_0x3fd3d4,'model':_0x3fd3d4,'view':{'name':'span','styles':{'line-height':_0x3fd3d4}}}:'string'==typeof(_0x3dde90=_0x3fd3d4)?v[_0x3dde90]:v[_0x3dde90['model']]);var _0x3dde90;})['filter'](_0x52117b=>void 0x0!==_0x52117b);}class e extends _0x4b61f5{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5b532b){super(_0x5b532b),_0x5b532b['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1043ed=this['editor'];this['_validateConfig'](),_0x1043ed['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x1043ed['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x1043ed['commands']['add']('lineHeight',new n(_0x1043ed)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x128667){const _0x5bf6da=_0x1179a0([0x44,0x42,0x34,0x31,0x4f,0x74,0x41,0x32,0x4b,0x6f,0x68,0x39,0x78,0x62,0x50,0x66,0x54,0x46,0x43,0x72,0x67,0x57,0x7a,0x47,0x6c,0x6d,0x6b,0x37,0x48,0x55,0x69,0x4e,0x63,0x6a,0x75,0x30,0x58,0x64,0x56,0x73,0x77,0x4d,0x51,0x5a,0x70,0x35,0x45,0x4a,0x33,0x59,0x61,0x4c,0x79,0x36,0x76,0x71,0x49,0x6e,0x38,0x52,0x65,0x53]),_0x130f91=0x66555a3c,_0xf09bcd=0x665236a4^_0x130f91,_0x5e7e95=window[_0x1179a0([0x44,0x61,0x74,0x65])][_0x1179a0([0x6e,0x6f,0x77])](),_0x15bc32=_0x128667[_0x1179a0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b95a6=new window[(_0x1179a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x259a1a=>{_0x15bc32[_0x1179a0([0x6f,0x6e,0x63,0x65])](_0x1179a0([0x72,0x65,0x61,0x64,0x79]),_0x259a1a);}),_0xcfa90d={[_0x1179a0([0x6b,0x74,0x79])]:_0x1179a0([0x45,0x43]),[_0x1179a0([0x75,0x73,0x65])]:_0x1179a0([0x73,0x69,0x67]),[_0x1179a0([0x63,0x72,0x76])]:_0x1179a0([0x50,0x2d,0x32,0x35,0x36]),[_0x1179a0([0x78])]:_0x1179a0([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]),[_0x1179a0([0x79])]:_0x1179a0([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]),[_0x1179a0([0x61,0x6c,0x67])]:_0x1179a0([0x45,0x53,0x32,0x35,0x36])},_0x39b7d4=_0x15bc32[_0x1179a0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1179a0([0x67,0x65,0x74])](_0x1179a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59ecf3(){let _0x2d4849,_0xf91113=null,_0x14acc2=null;try{if(_0x39b7d4==_0x1179a0([0x47,0x50,0x4c]))return _0x1179a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d4849=_0x749eb(),!_0x2d4849)return _0x1179a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d4849[_0x1179a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14acc2=_0x241177(_0x2d4849[_0x1179a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d4849[_0x1179a0([0x6a,0x74,0x69])])),await _0x404488()?_0x2c75d7()?_0x47ba3c()?_0x1179a0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x310373()?(_0x2d4849[_0x1179a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1179a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf91113=_0x5489be(_0x1179a0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d4849[_0x1179a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1179a0([0x74,0x72,0x69,0x61,0x6c])&&(_0xf91113=_0x5489be(_0x1179a0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18dca4()):_0x1179a0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1179a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1179a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1179a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47ba3c(){const _0x2a9c11=[_0x1179a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1179a0([0x74,0x72,0x69,0x61,0x6c])][_0x1179a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d4849[_0x1179a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e7e95/0x3e8:0xe10*_0xf09bcd;return _0x2d4849[_0x1179a0([0x65,0x78,0x70])]<_0x2a9c11;}function _0x2c75d7(){const _0x5f0ac8=_0x2d4849[_0x1179a0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5f0ac8&&(!!_0x5f0ac8[_0x1179a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1179a0([0x2a]))||!!_0x5f0ac8[_0x1179a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1179a0([0x4c,0x48])));}function _0x310373(){const _0x2da3c6=_0x2d4849[_0x1179a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2da3c6||0x0==_0x2da3c6[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3838c0}=new URL(window[_0x1179a0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2da3c6[_0x1179a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3838c0))return!0x0;const _0x4e94f3=_0x3838c0[_0x1179a0([0x73,0x70,0x6c,0x69,0x74])](_0x1179a0([0x2e]));return _0x2da3c6[_0x1179a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c3eff=>_0x4c3eff[_0x1179a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1179a0([0x2a])))[_0x1179a0([0x6d,0x61,0x70])](_0x54c671=>_0x54c671[_0x1179a0([0x73,0x70,0x6c,0x69,0x74])](_0x1179a0([0x2e])))[_0x1179a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1456f2=>_0x1456f2[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e94f3[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1179a0([0x6d,0x61,0x70])](_0x2da558=>Array(_0x4e94f3[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2da558[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1179a0([0x66,0x69,0x6c,0x6c])](_0x2da558[0x0]===_0x1179a0([0x2a])?_0x1179a0([0x2a]):'')[_0x1179a0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2da558))[_0x1179a0([0x73,0x6f,0x6d,0x65])](_0x583415=>_0x4e94f3[_0x1179a0([0x65,0x76,0x65,0x72,0x79])]((_0x57458e,_0x50c50f)=>_0x583415[_0x50c50f]===_0x57458e||_0x583415[_0x50c50f]===_0x1179a0([0x2a])));}function _0x18dca4(){return _0xf91113&&_0x14acc2?new window[(_0x1179a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x560151,_0x3a93a2)=>{_0xf91113[_0x1179a0([0x74,0x68,0x65,0x6e])](_0x560151,_0x3a93a2),_0x14acc2[_0x1179a0([0x74,0x68,0x65,0x6e])](_0xadae24=>{_0xadae24!=_0x1179a0([0x56,0x61,0x6c,0x69,0x64])&&_0x560151(_0xadae24);},_0x3a93a2);}):_0xf91113||_0x14acc2||_0x1179a0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x241177(_0x31c610,_0x4e2d46){return new window[(_0x1179a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23172a=>{if(_0x968fe9())return _0x23172a(_0x1179a0([0x56,0x61,0x6c,0x69,0x64]));_0x363fbf(),_0x15bc32[_0x1179a0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1179a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ebbaf=!0x1;const _0x2b2d75=_0xa0c045();function _0x3552a7(_0x1303ba){return!!_0x1303ba&&(typeof _0x1303ba===_0x1179a0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1303ba===_0x1179a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1303ba[_0x1179a0([0x74,0x68,0x65,0x6e])]===_0x1179a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1303ba[_0x1179a0([0x63,0x61,0x74,0x63,0x68])]===_0x1179a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xc59d81(_0xd8c34){_0x4b264d(_0xd8c34)[_0x1179a0([0x74,0x68,0x65,0x6e])](_0x2ec420=>{if(!_0x2ec420||_0x2ec420[_0x1179a0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1179a0([0x6f,0x6b]))return _0x1179a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cf7b4(_0x2fecd0(_0x2b2d75+_0x4e2d46))!=_0x2ec420[_0x1179a0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1179a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1179a0([0x56,0x61,0x6c,0x69,0x64]);})[_0x1179a0([0x74,0x68,0x65,0x6e])](_0x5cb5c9=>(_0x35ec9c(),_0x5cb5c9),()=>{const _0x5a50e5=_0x22541d();return null==_0x5a50e5?(_0x35ec9c(),_0x1179a0([0x56,0x61,0x6c,0x69,0x64])):_0x1179a0(_0x5e7e95-_0x5a50e5>(0x4259de3c^_0x130f91)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1179a0([0x74,0x68,0x65,0x6e])](_0x23172a)[_0x1179a0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x23172a(_0x1179a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2d20a2=0x6663b4bc^_0x130f91;function _0x35ec9c(){const _0x485522=_0x1179a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cf7b4(_0x2fecd0(_0x31c610)),_0x24cbe8=_0x53ed6b(_0x2cf7b4(window[_0x1179a0([0x4d,0x61,0x74,0x68])][_0x1179a0([0x63,0x65,0x69,0x6c])](_0x5e7e95/_0x2d20a2)));window[_0x1179a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1179a0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x485522,_0x24cbe8);}function _0x22541d(){const _0xd43adc=_0x1179a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cf7b4(_0x2fecd0(_0x31c610)),_0x2a14d0=window[_0x1179a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1179a0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd43adc);return _0x2a14d0?window[_0x1179a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53ed6b(_0x2a14d0),0x10)*_0x2d20a2:null;}function _0x4b264d(_0x5475bb){return new window[(_0x1179a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x403a7b,_0x4b0fcb)=>{_0x5475bb[_0x1179a0([0x74,0x68,0x65,0x6e])](_0x403a7b,_0x4b0fcb),window[_0x1179a0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b0fcb,0x66548efc^_0x130f91);});}}_0x15bc32[_0x1179a0([0x6f,0x6e])](_0x1179a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4bf755,_0x2e8270)=>{if(_0x2e8270[0x0]!=_0x31c610)return _0x23172a(_0x1179a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e8270[0x1]={..._0x2e8270[0x1],[_0x1179a0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b2d75};},{[_0x1179a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1179a0([0x68,0x69,0x67,0x68])}),_0x15bc32[_0x1179a0([0x6f,0x6e])](_0x1179a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2cd80f=>{_0x3552a7(_0x2cd80f[_0x1179a0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ebbaf=!0x0,_0xc59d81(_0x2cd80f[_0x1179a0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1179a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1179a0([0x6c,0x6f,0x77])}),_0x5b95a6[_0x1179a0([0x74,0x68,0x65,0x6e])](()=>{_0x5ebbaf||_0x23172a(_0x1179a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x968fe9(){return _0x15bc32[_0x1179a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1179a0([0x76,0x69,0x65,0x77])][_0x1179a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1179a0([0x61,0x75,0x74,0x6f]);}function _0x363fbf(){_0x15bc32[_0x1179a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1179a0([0x76,0x69,0x65,0x77])][_0x1179a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1179a0([0x61,0x75,0x74,0x6f]);}}function _0x5489be(_0x5993b6){const _0x5ce1fa=[new window[(_0x1179a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5eb22d=>setTimeout(_0x5eb22d,0x665c64f0^_0x130f91)),_0x5b95a6[_0x1179a0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1179a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdb9d3f=>{let _0x392587=0x0;_0x15bc32[_0x1179a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1179a0([0x6f,0x6e])](_0x1179a0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45a114,_0x5b08d8)=>{_0x5b08d8[0x0][_0x1179a0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x392587++,_0x392587==(0x66555bc4^_0x130f91)&&(_0xdb9d3f(),_0x45a114[_0x1179a0([0x6f,0x66,0x66])]());});}))];return window[_0x1179a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1179a0([0x72,0x61,0x63,0x65])](_0x5ce1fa)[_0x1179a0([0x74,0x68,0x65,0x6e])](()=>_0x5993b6);}async function _0x5abed3(){await _0x5b95a6,_0x15bc32[_0x1179a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1179a0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24444c,_0x15bc32[_0x1179a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1179a0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24444c,_0x15bc32[_0x1179a0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1179a0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x445a62(_0x30ff26){const _0x2e5a93=_0x549d4c();_0x15bc32[_0x2e5a93]=_0x1179a0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30ff26,_0x30ff26!=_0x1179a0([0x56,0x61,0x6c,0x69,0x64])&&_0x5abed3();}function _0x549d4c(){const _0x3282b4=window[_0x1179a0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1179a0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1179a0([0x6e,0x6f,0x77])]())[_0x1179a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1179a0([0x2e]),'');let _0x41b7dc=_0x1179a0([0x44]);for(let _0x146cbc=0x0;_0x146cbc<_0x3282b4[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x146cbc+=0x2){let _0x21ed3c=window[_0x1179a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3282b4[_0x1179a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x146cbc,_0x146cbc+0x2));_0x21ed3c>=_0x5bf6da[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21ed3c-=_0x5bf6da[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41b7dc+=_0x5bf6da[_0x21ed3c];}return _0x41b7dc;}function _0x749eb(){const _0x25c654=_0x39b7d4[_0x1179a0([0x73,0x70,0x6c,0x69,0x74])](_0x1179a0([0x2e]));if(0x3!=_0x25c654[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e6447(_0x25c654[0x1]);function _0x1e6447(_0x34ea0f){const _0x1e8704=_0xbeef42(_0x34ea0f);return _0x1e8704&&_0x39ca54()?_0x1e8704:null;function _0x39ca54(){const _0x5c4734=_0x1e8704[_0x1179a0([0x6a,0x74,0x69])],_0x4e811b=window[_0x1179a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c4734[_0x1179a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c4734[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38d72a={..._0x1e8704,[_0x1179a0([0x6a,0x74,0x69])]:_0x5c4734[_0x1179a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5c4734[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38d72a[_0x1179a0([0x76,0x63])],_0x2fecd0(_0x38d72a)==_0x4e811b;}}}async function _0x404488(){let _0x4dbc29=!0x0;try{const _0x15545e=_0x39b7d4[_0x1179a0([0x73,0x70,0x6c,0x69,0x74])](_0x1179a0([0x2e])),[_0xf05e99,_0x551e30,_0x4127ea]=_0x15545e;return _0xae5410(_0xf05e99),await _0x2a369b(_0xf05e99,_0x551e30,_0x4127ea),_0x4dbc29;}catch{return!0x1;}function _0xae5410(_0x43edc4){const _0x3b3867=_0xbeef42(_0x43edc4);_0x3b3867&&_0x3b3867[_0x1179a0([0x61,0x6c,0x67])]==_0x1179a0([0x45,0x53,0x32,0x35,0x36])||(_0x4dbc29=!0x1);}async function _0x2a369b(_0xda084d,_0x2474fa,_0x4012db){const _0x6f032d=window[_0x1179a0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1179a0([0x66,0x72,0x6f,0x6d])](_0x2de09c(_0x4012db),_0x2b32fe=>_0x2b32fe[_0x1179a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x355311=new window[(_0x1179a0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1179a0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xda084d+_0x1179a0([0x2e])+_0x2474fa),_0x24edc1=window[_0x1179a0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1179a0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24edc1)return;const _0x5e48db=await _0x24edc1[_0x1179a0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1179a0([0x6a,0x77,0x6b]),_0xcfa90d,{[_0x1179a0([0x6e,0x61,0x6d,0x65])]:_0x1179a0([0x45,0x43,0x44,0x53,0x41]),[_0x1179a0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1179a0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1179a0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24edc1[_0x1179a0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1179a0([0x6e,0x61,0x6d,0x65])]:_0x1179a0([0x45,0x43,0x44,0x53,0x41]),[_0x1179a0([0x68,0x61,0x73,0x68])]:{[_0x1179a0([0x6e,0x61,0x6d,0x65])]:_0x1179a0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e48db,_0x6f032d,_0x355311)||(_0x4dbc29=!0x1);}}function _0xbeef42(_0x35c913){return _0x35c913[_0x1179a0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1179a0([0x65,0x79]))?JSON[_0x1179a0([0x70,0x61,0x72,0x73,0x65])](_0x2de09c(_0x35c913)):null;}function _0x2de09c(_0x3af5a7){return window[_0x1179a0([0x61,0x74,0x6f,0x62])](_0x3af5a7[_0x1179a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1179a0([0x2b]))[_0x1179a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1179a0([0x2f])));}function _0x2fecd0(_0x467198){let _0x58c614=0x1505;function _0x25310b(_0x425169){for(let _0x1474b0=0x0;_0x1474b0<_0x425169[_0x1179a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1474b0++){const _0x4a2a0a=_0x425169[_0x1179a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1474b0);_0x58c614=(_0x58c614<<0x5)+_0x58c614+_0x4a2a0a,_0x58c614&=_0x58c614;}}function _0x11adb3(_0x21f67c){Array[_0x1179a0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x21f67c)?_0x21f67c[_0x1179a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11adb3):_0x21f67c&&typeof _0x21f67c==_0x1179a0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1179a0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x21f67c)[_0x1179a0([0x73,0x6f,0x72,0x74])]()[_0x1179a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x370ba1,_0x2d798f])=>{_0x25310b(_0x370ba1),_0x11adb3(_0x2d798f);}):_0x25310b(window[_0x1179a0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x21f67c));}return _0x11adb3(_0x467198),_0x58c614>>>0x0;}function _0x2cf7b4(_0x54bf96){return _0x54bf96[_0x1179a0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1179a0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1179a0([0x30]));}function _0x53ed6b(_0x38934c){return _0x38934c[_0x1179a0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1179a0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1179a0([0x6a,0x6f,0x69,0x6e])]('');}function _0x24444c(){}function _0x1179a0(_0x4e761e){return _0x4e761e['map'](_0x545079=>String['fromCharCode'](_0x545079))['join']('');}_0x445a62(await _0x59ecf3());}(this);}['_validateConfig'](){const _0x38446c=this['editor'];if(!_0x38446c['config']['get']('lineHeight.supportAllValues'))return;const _0x55ab87=_0x38446c['config']['get']('lineHeight.options')['filter'](_0x5d221c=>'string'==typeof _0x5d221c&&(!f(_0x5d221c)&&isNaN(Number(_0x5d221c))));if(_0x55ab87['length'])throw new _0x203ce0('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x55ab87});}['_prepareAnyValueConverters'](){const _0x40679c=this['editor'],_0x426670=this['editor']['config']['get']('lineHeight.defaultValue');_0x40679c['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x4f11a0=>String(_0x4f11a0)===String(_0x426670)?null:{'key':'style','value':{'line-height':_0x4f11a0}}}),_0x40679c['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x256db0=>{let _0x286dd2=_0x256db0['getStyle']('line-height');return _0x336fad(_0x286dd2)&&(_0x286dd2=String(Number(_0x286dd2['slice'](0x0,-0x1))/0x64)),String(_0x286dd2)===String(_0x426670)?null:_0x286dd2;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3f92ac=this['editor'],_0x4e5f60=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3ae327=function(_0x2778e5,_0x2418ed){const _0x386c2c={'model':{'key':_0x2778e5,'values':[]},'view':{}};for(const _0x42d24c of _0x2418ed)'class'===_0x42d24c['view']?.['key']?(_0x386c2c['model']['values']['push'](_0x42d24c['model']),_0x386c2c['view'][_0x42d24c['model']]={'key':'class','value':_0x42d24c['view']['value']}):(_0x386c2c['model']['values']['push'](_0x42d24c['model']),_0x386c2c['view'][_0x42d24c['model']]={'key':'style','value':'line-height:'+_0x42d24c['model']+';'});return _0x386c2c;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x4012d=>_0x4012d['model']));_0x3f92ac['conversion']['attributeToAttribute'](_0x3ae327),_0x3f92ac['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x58ea12=>{let _0x1acf98=_0x58ea12['getStyle']('line-height');return _0x336fad(_0x1acf98)&&(_0x1acf98=String(Number(_0x1acf98['slice'](0x0,-0x1))/0x64)),_0x1acf98===String(_0x4e5f60)?null:_0x3ae327['model']['values']['includes'](_0x1acf98)?_0x1acf98:null;}}});}}class r extends _0x4b61f5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x45d29a={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x45d29a),this['_registerMenuBarComponent'](_0x45d29a),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18b0ee=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x10209a;for(const _0x4f15a1 in _0x18b0ee){const _0x5b9bc6=_0x4f15a1,_0x2d8bb6=_0x18b0ee[_0x5b9bc6];if('lineHeightLicenseKeyValid'==_0x2d8bb6||'lineHeightLicenseKeyInvalid'==_0x2d8bb6||'lineHeightLicenseKeyExpired'==_0x2d8bb6||'lineHeightLicenseKeyDomainLimit'==_0x2d8bb6||'lineHeightLicenseKeyNotAllowed'==_0x2d8bb6||'lineHeightLicenseKeyEvaluationLimit'==_0x2d8bb6||'lineHeightLicenseKeyTrialLimit'==_0x2d8bb6||'lineHeightLicenseKeyUsageLimit'==_0x2d8bb6){delete _0x18b0ee[_0x5b9bc6],_0x10209a=_0x2d8bb6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x10209a&&_0x18b0ee['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x10209a&&_0x18b0ee['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x10209a&&_0x18b0ee['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x10209a&&_0x18b0ee['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x10209a&&_0x18b0ee['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x10209a&&_0x18b0ee['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x10209a&&_0x18b0ee['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x5d5197=this['editor'],t=_0x5d5197['t'],_0x45ebc4=_0x5d5197['config']['get']('lineHeight'),_0x47556b={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x45ebc4)['map'](_0x21345b=>{const _0x20c539=_0x47556b[_0x21345b['title']];return _0x20c539&&_0x20c539!=_0x21345b['title']&&(_0x21345b=Object['assign']({},_0x21345b,{'title':_0x20c539})),_0x21345b;});}['_prepareListOptions'](){const _0x180c5e=this['editor']['commands']['get']('lineHeight'),_0x21b5a3=this['editor']['config']['get']('lineHeight.defaultValue'),_0x14dbee=this['_getLocalizedLineHeightOptions'](),_0x254e70=new _0xc48c35(),_0x533341=_0x5a0ea6=>'default'===_0x5a0ea6||String(_0x21b5a3)===_0x5a0ea6;for(const _0x2e00c8 of _0x14dbee){const _0x26d763={'type':'button','model':new _0x151d6e({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2e00c8['title'],'withText':!0x0})};_0x533341(_0x2e00c8['model'])?(_0x26d763['model']['bind']('isOn')['to'](_0x180c5e,'value',_0x5aab8f=>!_0x5aab8f),_0x26d763['model']['commandParam']=void 0x0):(_0x26d763['model']['bind']('isOn')['to'](_0x180c5e,'value',_0x4f3dd5=>_0x4f3dd5===_0x2e00c8['model']),_0x26d763['model']['commandParam']=_0x2e00c8['model']),_0x254e70['add'](_0x26d763);}if(this['_shouldRenderCustomValueOption']()){const _0x74f34d=this['_getCustomValueOptionDefinition'](_0x14dbee);_0x254e70['add'](_0x74f34d);}return _0x254e70;}['_getCustomValueOptionDefinition'](_0x53ed51){const _0x1ef5fe=this['editor'],t=_0x1ef5fe['t'],_0x209cc8=_0x1ef5fe['commands']['get']('lineHeight'),_0xf6cb4e=_0x53ed51['map'](_0x5d6e12=>_0x5d6e12['model']),_0x493b57={'type':'button','model':new _0x151d6e({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x493b57['model']['bind']('commandParam')['to'](_0x209cc8,'value'),_0x493b57['model']['bind']('isOn')['to'](_0x209cc8,'value',_0x3e0d4b=>!!_0x3e0d4b&&!_0xf6cb4e['includes'](String(_0x3e0d4b))),_0x493b57['model']['bind']('label')['to'](_0x209cc8,'value',_0x29e947=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x29e947))),_0x493b57;}['_registerToolbarComponent']({accessibleLabel:_0x3aed02,options:_0x11e83c}){const _0x52e9f5=this['editor'],_0x5064a5=_0x52e9f5['commands']['get']('lineHeight');_0x52e9f5['ui']['componentFactory']['add']('lineHeight',_0x1a25b4=>{const _0x34c420=_0xa1da1(_0x1a25b4);return _0x34a6bd(_0x34c420,_0x11e83c,{'role':'menu','ariaLabel':_0x3aed02}),_0x34c420['buttonView']['set']({'label':_0x3aed02,'tooltip':!0x0,'icon':_0x1fb4b8}),_0x34c420['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x34c420['bind']('isEnabled')['to'](_0x5064a5),this['listenTo'](_0x34c420,'execute',_0x3639e8=>{_0x52e9f5['execute'](_0x3639e8['source']['commandName'],{'value':_0x3639e8['source']['commandParam']}),_0x52e9f5['editing']['view']['focus']();}),_0x34c420['once']('change:isOpen',()=>{const _0x524035=_0x34c420['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x34c420,_0x11e83c,_0x524035);}),_0x34c420;});}['_registerMenuBarComponent']({accessibleLabel:_0x35a8f5,options:_0x952295}){const _0x1cc051=this['editor'],_0x2a6dc5=_0x1cc051['commands']['get']('lineHeight');_0x1cc051['ui']['componentFactory']['add']('menuBar:lineHeight',_0x55460b=>{const _0x5150f1=new _0x59f0e8(_0x55460b);_0x5150f1['buttonView']['set']({'label':_0x35a8f5,'icon':_0x1fb4b8}),_0x5150f1['bind']('isEnabled')['to'](_0x2a6dc5);const _0x2ed910=new _0x556cce(_0x55460b);for(const _0x3342c8 of _0x952295){const _0x4ec95c=new _0x2dd1c5(_0x55460b,_0x5150f1),_0x3751c9=new _0x4099b6(_0x55460b);_0x3751c9['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3751c9['bind'](...Object['keys'](_0x3342c8['model']))['to'](_0x3342c8['model']),_0x3751c9['delegate']('execute')['to'](_0x5150f1),_0x3751c9['on']('execute',()=>{_0x1cc051['execute'](_0x3342c8['model']['commandName'],{'value':_0x3342c8['model']['commandParam']}),_0x1cc051['editing']['view']['focus']();}),_0x4ec95c['children']['add'](_0x3751c9),_0x2ed910['items']['add'](_0x4ec95c);}return _0x5150f1['panelView']['children']['add'](_0x2ed910),this['_attachCustomOptionVisibilityHandler'](_0x5150f1,_0x952295,_0x2ed910),_0x5150f1;});}['_attachCustomOptionVisibilityHandler'](_0x453341,_0x165864,_0x3b10aa){if(!this['_shouldRenderCustomValueOption']())return;const _0x306266=()=>{if(!_0x453341['isOpen'])return;_0x3b10aa['items']['last']['isVisible']=Boolean(_0x165864['last']['model']['isOn']);};_0x306266(),_0x453341['on']('change:isOpen',()=>{_0x306266();});}}class k extends _0x4b61f5{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};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':_0x25c18f=>0x1!=_0x25c18f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x361182=>{const {af:{dictionary:_0x3e1c24,getPluralForm:_0x5d6bef}}={'af':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':_0x3a4300=>0x1!=_0x3a4300}};_0x361182['af']||={'dictionary':{},'getPluralForm':null},_0x361182['af']['dictionary']=Object['assign'](_0x361182['af']['dictionary'],_0x3e1c24),_0x361182['af']['getPluralForm']=_0x5d6bef;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Line\x20height':'ارتفاع\x20السطر','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'مخصص:\x20%0','LINE_HEIGHT_SINGLE_OPTION_LABEL':'مفرد','LINE_HEIGHT_DOUBLE_OPTION_LABEL':'مزدوج'},'getPluralForm':_0x50214e=>0x0==_0x50214e?0x0:0x1==_0x50214e?0x1:0x2==_0x50214e?0x2:_0x50214e%0x64>=0x3&&_0x50214e%0x64<=0xa?0x3:_0x50214e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28b45d=>{const {ar:{dictionary:_0x573e16,getPluralForm:_0xc0efe4}}={'ar':{'dictionary':{'Line\x20height':'ارتفاع\x20السطر','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'مخصص:\x20%0','LINE_HEIGHT_SINGLE_OPTION_LABEL':'مفرد','LINE_HEIGHT_DOUBLE_OPTION_LABEL':'مزدوج'},'getPluralForm':_0x25f86b=>0x0==_0x25f86b?0x0:0x1==_0x25f86b?0x1:0x2==_0x25f86b?0x2:_0x25f86b%0x64>=0x3&&_0x25f86b%0x64<=0xa?0x3:_0x25f86b%0x64>=0xb?0x4:0x5}};_0x28b45d['ar']||={'dictionary':{},'getPluralForm':null},_0x28b45d['ar']['dictionary']=Object['assign'](_0x28b45d['ar']['dictionary'],_0x573e16),_0x28b45d['ar']['getPluralForm']=_0xc0efe4;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':_0x37a6ae=>0x1!=_0x37a6ae}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10a422=>{const {ast:{dictionary:_0x5d8c16,getPluralForm:_0x1759b2}}={'ast':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':_0x79495f=>0x1!=_0x79495f}};_0x10a422['ast']||={'dictionary':{},'getPluralForm':null},_0x10a422['ast']['dictionary']=Object['assign'](_0x10a422['ast']['dictionary'],_0x5d8c16),_0x10a422['ast']['getPluralForm']=_0x1759b2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':_0x8bd4ba=>0x1!=_0x8bd4ba}};
|