@ckeditor/ckeditor5-line-height 46.0.0-alpha.2 → 46.0.0-alpha.4
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 u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var 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),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>V,LineHeightCommand:()=>a,LineHeightEditing:()=>m,LineHeightUI:()=>k});var e=n(782),t=n(584);function r(e,t){const n=s();return(r=function(e,t){return n[e-=253]})(e,t)}const o=r;function s(){const e=["checkAttribute","30PyjgPd","selection","editor","schema","197995bNuyrr","getSelectedBlocks","filter","358985hqoGan","897799OpnoOW","202761bHyWlS","202966gMJjgM","from","getAttribute","model","setAttribute","value","2eGcOLX","10572QXsFYR","7748mzXRDx","9cuNnEa","removeAttribute","12JrkoQb","8IHFNzv","_canHaveLineHeight","change","1486932gmaZQQ","isEnabled","lineHeight","document","execute","refresh"];return(s=function(){return e})()}!function(e){const t=r,n=e();for(;;)try{if(758646===parseInt(t(272))/1*(-parseInt(t(278))/2)+parseInt(t(281))/3*(parseInt(t(255))/4)+parseInt(t(266))/5+-parseInt(t(283))/6*(-parseInt(t(270))/7)+parseInt(t(284))/8*(-parseInt(t(271))/9)+parseInt(t(262))/10*(parseInt(t(269))/11)+-parseInt(t(279))/12*(parseInt(t(280))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[o(260)](){const e=o,n=this[e(264)][e(275)][e(258)],i=(0,t.first)(n[e(263)][e(267)]());this[e(256)]=Boolean(i)&&this[e(253)](i),this[e(277)]=this[e(256)]&&i[e(274)](e(257))}[o(259)](e={}){const t=o,n=this[t(264)][t(275)],i=n[t(258)][t(263)],r=e[t(277)];n[t(254)](e=>{const n=t,o=Array[n(273)](i[n(267)]())[n(268)](e=>this[n(253)](e));for(const t of o)r?e[n(276)](n(257),r,t):e[n(282)](n(257),t)})}[o(253)](e){const t=o;return this[t(264)][t(275)][t(265)][t(261)](e,t(257))}}var c=n(783);function u(e,t){const n=l();return(u=function(e,t){return n[e-=301]})(e,t)}function l(){const e=["254200llqLcy","9456192xKNSgo","push","number","189987gVNZhi","line-height-single","line-height:","value","3wBkASn","string","666gOHEGM","view","default","1367542Yehozf","options","894746kXqSla","class","line-height-double","single","span","Single","map","double","258fzmZuS","10RmTZOJ","model","values","584035Dqjjuh","filter","defaultValue","Double","29548qxilXv","style","toLowerCase","key"];return(l=function(){return e})()}!function(e){const t=u,n=e();for(;;)try{if(973807===-parseInt(t(315))/1+-parseInt(t(303))/2*(parseInt(t(331))/3)+parseInt(t(319))/4*(parseInt(t(312))/5)+parseInt(t(311))/6*(parseInt(t(327))/7)+-parseInt(t(324))/8+-parseInt(t(333))/9*(-parseInt(t(323))/10)+parseInt(t(301))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const d={get single(){const e=u;return{title:e(308),model:e(306),view:{key:e(304),value:e(328)}}},get double(){const e=u;return{title:e(318),model:e(310),view:{key:e(304),value:e(305)}}}};function h(e){const t=u;return t(332)==typeof e&&t(335)===e[t(321)]()}function f(e){const t=u;return e[t(302)][t(309)](n=>h(n)?{title:String(e[t(317)]),model:t(335)}:(t(326)==typeof n&&(n=String(n)),t(332)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(307),styles:{"line-height":n}}}:function(e){const t=u;return t(332)==typeof e?d[e]:d[e[t(313)]]}(n)))[t(316)](e=>void 0!==e)}const p=g;function g(e,t){const n=w();return(g=function(e,t){return n[e-=434]})(e,t)}!function(e){const t=g,n=e();for(;;)try{if(484577===parseInt(t(467))/1*(-parseInt(t(457))/2)+-parseInt(t(446))/3+parseInt(t(466))/4+parseInt(t(483))/5+-parseInt(t(481))/6+-parseInt(t(451))/7*(parseInt(t(475))/8)+parseInt(t(440))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(w);class m extends e.Plugin{static get[p(445)](){return p(465)}static get[p(473)](){return!0}static get[p(444)](){return!0}constructor(e){const t=p;super(e),e[t(477)][t(447)](t(435),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(484),2,2.5,3]})}[p(476)](){const e=p,t=this[e(442)];this[e(438)](),t[e(480)][e(463)][e(478)](e(437),{allowAttributes:e(435)}),t[e(480)][e(463)][e(474)](e(435),{isFormatting:!0}),t[e(456)][e(443)](e(435),new a(t)),this[e(442)][e(477)][e(472)](e(439))?this[e(452)]():this[e(486)]()}[p(482)](){!async function(e){const n=m([73,65,117,88,102,76,114,97,54,84,119,66,113,67,112,122,106,71,87,57,68,110,83,107,86,81,70,116,53,109,105,100,52,103,72,80,77,82,111,55,56,78,98,75,69,120,90,89,99,85,49,79,104,108,48,50,101,74,121,118,115,51]),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 u(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(e)):null}function l(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function 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(469)](e=>String[t(460)](e))[t(448)]("")}!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([73]);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=u(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(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 u=!1;const l=(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(l+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])]:l}},{[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])])&&(u=!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])](()=>{u||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=u(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),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:1751673600;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(479)]);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(438)](){const e=p,n=this[e(442)];if(!n[e(477)][e(472)](e(439)))return;const i=n[e(477)][e(472)](e(461))[e(458)](t=>e(462)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(470)])throw new t.CKEditorError(e(468),null,{namedPresets:i})}[p(452)](){const e=p,t=this[e(442)],n=this[e(442)][e(477)][e(472)](e(464));t[e(436)][e(454)](e(453))[e(485)]({model:{key:e(435)},view:t=>String(t)===String(n)?null:{key:e(450),value:{"line-height":t}}}),t[e(436)][e(454)](e(441))[e(485)]({model:{key:e(435),value:t=>{const i=e;let r=t[i(459)](i(434));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(449)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(486)](){const e=p,t=this[e(442)],n=this[e(442)][e(477)][e(472)](e(464)),i=f(this[e(442)][e(477)][e(472)](e(435)))[e(458)](t=>t[e(480)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(304)===e[n(334)]?.[n(322)]?(i[n(313)][n(314)][n(325)](e[n(313)]),i[n(334)][e[n(313)]]={key:n(304),value:e[n(334)][n(330)]}):(i[n(313)][n(314)][n(325)](e[n(313)]),i[n(334)][e[n(313)]]={key:n(320),value:n(329)+e[n(313)]+";"});return i}(e(435),i);t[e(436)][e(485)](r),t[e(436)][e(454)](e(441))[e(485)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(435),value:t=>{const i=e;let o=t[i(459)](i(434));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(449)](0,-1))/100)),o===String(n)?null:r[i(480)][i(471)][i(455)](o)?o:null}}})}}function w(){const e=["includes","commands","2bxlrKj","filter","getStyle","fromCharCode","lineHeight.options","string","schema","lineHeight.defaultValue","LineHeightEditing","3470960NREjqo","104529kJqINr","line-height-invalid-use-of-named-presets","map","length","values","get","isOfficialPlugin","setAttributeProperties","93400waMGNN","init","config","extend","href","model","4487394drRCYd","afterInit","3208075EDltEC","default","attributeToAttribute","_preparePredefinedConverters","line-height","lineHeight","conversion","$block","_validateConfig","lineHeight.supportAllValues","1600038VmATIi","upcast","editor","add","isPremiumPlugin","pluginName","735171EeGKnK","define","join","slice","style","63YWZydO","_prepareAnyValueConverters","downcast","for"];return(w=function(){return e})()}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),O=n.n(_),E=n(667),S=n.n(E),x=n(357),C=n.n(x),N=n(422),A={attributes:{"data-cke":!0}};A.setAttributes=S(),A.insert=O().bind(null,"head"),A.domAPI=H(),A.insertStyleElement=C();b()(N.A,A);N.A&&N.A.locals&&N.A.locals;class k extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return f(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var T=P;function P(e,t){var n=K();return(P=function(e,t){return n[e-=241]})(e,t)}function K(){var e=["pluginName","12101544iUqFOk","isPremiumPlugin","13626547LNXsRa","requires","1582554HFvqit","19008410iEeegr","64mAznVV","1054067jbzcpr","3xRVDvo","24329bBaCAd","106xwHgym","isOfficialPlugin","12EZStGm","LineHeight","672376rtxiIH","35OyHZBI"];return(K=function(){return e})()}!function(e){for(var t=P,n=e();;)try{if(979136===-parseInt(t(249))/1*(parseInt(t(250))/2)+-parseInt(t(248))/3*(parseInt(t(254))/4)+-parseInt(t(255))/5*(-parseInt(t(244))/6)+parseInt(t(247))/7*(-parseInt(t(246))/8)+-parseInt(t(257))/9+parseInt(t(245))/10+-parseInt(t(242))/11*(-parseInt(t(252))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class V extends e.Plugin{static get[T(243)](){return[m,k]}static get[T(256)](){return T(253)}static get[T(251)](){return!0}static get[T(241)](){return!0}}function j(){var e=["166062QWjjAn","5031kDaoxv","5tZwpLx","1101360pqbuKR","2387358ofPFef","443429OtnMQk","1333336eHjvOx","994648PsJgzn","278uSLAXq"];return(j=function(){return e})()}function M(e,t){var n=j();return(M=function(e,t){return n[e-=477]})(e,t)}!function(e){for(var t=M,n=e();;)try{if(366954===parseInt(t(482))/1*(parseInt(t(480))/2)+-parseInt(t(484))/3+-parseInt(t(478))/4*(-parseInt(t(483))/5)+parseInt(t(481))/6+parseInt(t(477))/7+-parseInt(t(479))/8+-parseInt(t(485))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(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 _0x41891d,Plugin as _0x5b7c20}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x14ec43,CKEditorError as _0xf3e92e,uid as _0x20d2ed,Collection as _0x59f313}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x43a66a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x299052,createDropdown as _0x17e999,addListToDropdown as _0x54725a,MenuBarMenuView as _0xc8402c,MenuBarMenuListView as _0x54d504,MenuBarMenuListItemView as _0x2724fb,MenuBarMenuListItemButtonView as _0x3b0c54}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0xdc06f6}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x41891d{['refresh'](){const _0xceb945=this['editor']['model']['document'],_0x2cf385=_0x14ec43(_0xceb945['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2cf385)&&this['_canHaveLineHeight'](_0x2cf385),this['value']=this['isEnabled']&&_0x2cf385['getAttribute']('lineHeight');}['execute'](_0x383554={}){const _0x53ccc1=this['editor']['model'],_0x321524=_0x53ccc1['document']['selection'],_0x534d91=_0x383554['value'];_0x53ccc1['change'](_0x48e562=>{const _0xdc2ee9=Array['from'](_0x321524['getSelectedBlocks']())['filter'](_0x21bc9f=>this['_canHaveLineHeight'](_0x21bc9f));for(const _0x15d257 of _0xdc2ee9)_0x534d91?_0x48e562['setAttribute']('lineHeight',_0x534d91,_0x15d257):_0x48e562['removeAttribute']('lineHeight',_0x15d257);});}['_canHaveLineHeight'](_0x21356a){return this['editor']['model']['schema']['checkAttribute'](_0x21356a,'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(_0x5cc727){return'string'==typeof _0x5cc727&&'default'===_0x5cc727['toLowerCase']();}function a(_0x5948f){return _0x5948f['options']['map'](_0x2ca245=>{return f(_0x2ca245)?{'title':String(_0x5948f['defaultValue']),'model':'default'}:('number'==typeof _0x2ca245&&(_0x2ca245=String(_0x2ca245)),'string'!=typeof _0x2ca245?_0x2ca245:parseFloat(_0x2ca245)?{'title':_0x2ca245,'model':_0x2ca245,'view':{'name':'span','styles':{'line-height':_0x2ca245}}}:'string'==typeof(_0x1d7ac3=_0x2ca245)?v[_0x1d7ac3]:v[_0x1d7ac3['model']]);var _0x1d7ac3;})['filter'](_0x5925e1=>void 0x0!==_0x5925e1);}class e extends _0x5b7c20{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x30cbf8){super(_0x30cbf8),_0x30cbf8['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x42bd3d=this['editor'];this['_validateConfig'](),_0x42bd3d['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x42bd3d['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x42bd3d['commands']['add']('lineHeight',new n(_0x42bd3d)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x40ae22){const _0x424a53=_0x5b7b21([0x49,0x41,0x75,0x58,0x66,0x4c,0x72,0x61,0x36,0x54,0x77,0x42,0x71,0x43,0x70,0x7a,0x6a,0x47,0x57,0x39,0x44,0x6e,0x53,0x6b,0x56,0x51,0x46,0x74,0x35,0x6d,0x69,0x64,0x34,0x67,0x48,0x50,0x4d,0x52,0x6f,0x37,0x38,0x4e,0x62,0x4b,0x45,0x78,0x5a,0x59,0x63,0x55,0x31,0x4f,0x68,0x6c,0x30,0x32,0x65,0x4a,0x79,0x76,0x73,0x33]),_0x3267b7=0x43919e31,_0x39d83a=0x4396f281^_0x3267b7,_0x1b8563=window[_0x5b7b21([0x44,0x61,0x74,0x65])][_0x5b7b21([0x6e,0x6f,0x77])](),_0x1f125b=_0x40ae22[_0x5b7b21([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43d586=new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x437693=>{_0x1f125b[_0x5b7b21([0x6f,0x6e,0x63,0x65])](_0x5b7b21([0x72,0x65,0x61,0x64,0x79]),_0x437693);}),_0x1f034b={[_0x5b7b21([0x6b,0x74,0x79])]:_0x5b7b21([0x45,0x43]),[_0x5b7b21([0x75,0x73,0x65])]:_0x5b7b21([0x73,0x69,0x67]),[_0x5b7b21([0x63,0x72,0x76])]:_0x5b7b21([0x50,0x2d,0x32,0x35,0x36]),[_0x5b7b21([0x78])]:_0x5b7b21([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]),[_0x5b7b21([0x79])]:_0x5b7b21([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]),[_0x5b7b21([0x61,0x6c,0x67])]:_0x5b7b21([0x45,0x53,0x32,0x35,0x36])},_0x453892=_0x1f125b[_0x5b7b21([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b7b21([0x67,0x65,0x74])](_0x5b7b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa8f5e9(){let _0x43ac7a,_0x2829ce=null,_0x3957d8=null;try{if(_0x453892==_0x5b7b21([0x47,0x50,0x4c]))return _0x5b7b21([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43ac7a=_0x5bf8be(),!_0x43ac7a)return _0x5b7b21([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43ac7a[_0x5b7b21([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3957d8=_0xa4bfb7(_0x43ac7a[_0x5b7b21([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43ac7a[_0x5b7b21([0x6a,0x74,0x69])])),await _0x110eaa()?_0x7b4b1e()?_0x441255()?_0x5b7b21([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48a451()?(_0x43ac7a[_0x5b7b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b7b21([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2829ce=_0x24329a(_0x5b7b21([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43ac7a[_0x5b7b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b7b21([0x74,0x72,0x69,0x61,0x6c])&&(_0x2829ce=_0x24329a(_0x5b7b21([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2eca25()):_0x5b7b21([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b7b21([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b7b21([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b7b21([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x441255(){const _0x34fa3b=[_0x5b7b21([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b7b21([0x74,0x72,0x69,0x61,0x6c])][_0x5b7b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43ac7a[_0x5b7b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b8563/0x3e8:0xe10*_0x39d83a;return _0x43ac7a[_0x5b7b21([0x65,0x78,0x70])]<_0x34fa3b;}function _0x7b4b1e(){const _0x2601f1=_0x43ac7a[_0x5b7b21([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2601f1&&(!!_0x2601f1[_0x5b7b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7b21([0x2a]))||!!_0x2601f1[_0x5b7b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7b21([0x4c,0x48])));}function _0x48a451(){const _0x25b6d0=_0x43ac7a[_0x5b7b21([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25b6d0||0x0==_0x25b6d0[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d276c}=new URL(window[_0x5b7b21([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x25b6d0[_0x5b7b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d276c))return!0x0;const _0xc5a8d=_0x1d276c[_0x5b7b21([0x73,0x70,0x6c,0x69,0x74])](_0x5b7b21([0x2e]));return _0x25b6d0[_0x5b7b21([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34eabc=>_0x34eabc[_0x5b7b21([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7b21([0x2a])))[_0x5b7b21([0x6d,0x61,0x70])](_0x4445c5=>_0x4445c5[_0x5b7b21([0x73,0x70,0x6c,0x69,0x74])](_0x5b7b21([0x2e])))[_0x5b7b21([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x390deb=>_0x390deb[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc5a8d[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b7b21([0x6d,0x61,0x70])](_0x1664a5=>Array(_0xc5a8d[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1664a5[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b7b21([0x66,0x69,0x6c,0x6c])](_0x1664a5[0x0]===_0x5b7b21([0x2a])?_0x5b7b21([0x2a]):'')[_0x5b7b21([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1664a5))[_0x5b7b21([0x73,0x6f,0x6d,0x65])](_0x2a7f7b=>_0xc5a8d[_0x5b7b21([0x65,0x76,0x65,0x72,0x79])]((_0x30ec19,_0x30389f)=>_0x2a7f7b[_0x30389f]===_0x30ec19||_0x2a7f7b[_0x30389f]===_0x5b7b21([0x2a])));}function _0x2eca25(){return _0x2829ce&&_0x3957d8?new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24b0e3,_0x2bc1d2)=>{_0x2829ce[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0x24b0e3,_0x2bc1d2),_0x3957d8[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0x56b69b=>{_0x56b69b!=_0x5b7b21([0x56,0x61,0x6c,0x69,0x64])&&_0x24b0e3(_0x56b69b);},_0x2bc1d2);}):_0x2829ce||_0x3957d8||_0x5b7b21([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa4bfb7(_0x278a36,_0x395462){return new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f0cf6=>{if(_0x20c08d())return _0x4f0cf6(_0x5b7b21([0x56,0x61,0x6c,0x69,0x64]));_0x232328(),_0x1f125b[_0x5b7b21([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b7b21([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x434d48=!0x1;const _0x42380a=_0x20d2ed();function _0x4615d0(_0x5c3f40){return!!_0x5c3f40&&(typeof _0x5c3f40===_0x5b7b21([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c3f40===_0x5b7b21([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c3f40[_0x5b7b21([0x74,0x68,0x65,0x6e])]===_0x5b7b21([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c3f40[_0x5b7b21([0x63,0x61,0x74,0x63,0x68])]===_0x5b7b21([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51838c(_0x8cbe7b){_0x5eebb5(_0x8cbe7b)[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0xd5c7ad=>{if(!_0xd5c7ad||_0xd5c7ad[_0x5b7b21([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b7b21([0x6f,0x6b]))return _0x5b7b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38367c(_0x5a2f59(_0x42380a+_0x395462))!=_0xd5c7ad[_0x5b7b21([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b7b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b7b21([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0x4afd48=>(_0x3cf7e8(),_0x4afd48),()=>{const _0x32fb4d=_0x4fb18d();return null==_0x32fb4d?(_0x3cf7e8(),_0x5b7b21([0x56,0x61,0x6c,0x69,0x64])):_0x5b7b21(_0x1b8563-_0x32fb4d>(0x679d1a31^_0x3267b7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0x4f0cf6)[_0x5b7b21([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f0cf6(_0x5b7b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c55ea=0x43a770b1^_0x3267b7;function _0x3cf7e8(){const _0x1c6408=_0x5b7b21([0x6c,0x6c,0x63,0x74,0x2d])+_0x38367c(_0x5a2f59(_0x278a36)),_0x23a013=_0x38977a(_0x38367c(window[_0x5b7b21([0x4d,0x61,0x74,0x68])][_0x5b7b21([0x63,0x65,0x69,0x6c])](_0x1b8563/_0x1c55ea)));window[_0x5b7b21([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b7b21([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c6408,_0x23a013);}function _0x4fb18d(){const _0x35b735=_0x5b7b21([0x6c,0x6c,0x63,0x74,0x2d])+_0x38367c(_0x5a2f59(_0x278a36)),_0x412d32=window[_0x5b7b21([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b7b21([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35b735);return _0x412d32?window[_0x5b7b21([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38977a(_0x412d32),0x10)*_0x1c55ea:null;}function _0x5eebb5(_0x31618e){return new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x388628,_0x312915)=>{_0x31618e[_0x5b7b21([0x74,0x68,0x65,0x6e])](_0x388628,_0x312915),window[_0x5b7b21([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x312915,0x43904af1^_0x3267b7);});}}_0x1f125b[_0x5b7b21([0x6f,0x6e])](_0x5b7b21([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bc801,_0x2dea64)=>{if(_0x2dea64[0x0]!=_0x278a36)return _0x4f0cf6(_0x5b7b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2dea64[0x1]={..._0x2dea64[0x1],[_0x5b7b21([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42380a};},{[_0x5b7b21([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b7b21([0x68,0x69,0x67,0x68])}),_0x1f125b[_0x5b7b21([0x6f,0x6e])](_0x5b7b21([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c63a7=>{_0x4615d0(_0x2c63a7[_0x5b7b21([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x434d48=!0x0,_0x51838c(_0x2c63a7[_0x5b7b21([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b7b21([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b7b21([0x6c,0x6f,0x77])}),_0x43d586[_0x5b7b21([0x74,0x68,0x65,0x6e])](()=>{_0x434d48||_0x4f0cf6(_0x5b7b21([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20c08d(){return _0x1f125b[_0x5b7b21([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b7b21([0x76,0x69,0x65,0x77])][_0x5b7b21([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b7b21([0x61,0x75,0x74,0x6f]);}function _0x232328(){_0x1f125b[_0x5b7b21([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b7b21([0x76,0x69,0x65,0x77])][_0x5b7b21([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b7b21([0x61,0x75,0x74,0x6f]);}}function _0x24329a(_0x292276){const _0x2c4798=[new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23f763=>setTimeout(_0x23f763,0x4398a0fd^_0x3267b7)),_0x43d586[_0x5b7b21([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x536436=>{let _0x359135=0x0;_0x1f125b[_0x5b7b21([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b7b21([0x6f,0x6e])](_0x5b7b21([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40e2d8,_0x2052c6)=>{_0x2052c6[0x0][_0x5b7b21([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x359135++,_0x359135==(0x43919fc9^_0x3267b7)&&(_0x536436(),_0x40e2d8[_0x5b7b21([0x6f,0x66,0x66])]());});}))];return window[_0x5b7b21([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b7b21([0x72,0x61,0x63,0x65])](_0x2c4798)[_0x5b7b21([0x74,0x68,0x65,0x6e])](()=>_0x292276);}async function _0x26fd2e(){await _0x43d586,_0x1f125b[_0x5b7b21([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b7b21([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24d7b1,_0x1f125b[_0x5b7b21([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b7b21([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24d7b1,_0x1f125b[_0x5b7b21([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b7b21([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1465d0(_0xd3cfc9){const _0x43b110=_0x421235();_0x1f125b[_0x43b110]=_0x5b7b21([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd3cfc9,_0xd3cfc9!=_0x5b7b21([0x56,0x61,0x6c,0x69,0x64])&&_0x26fd2e();}function _0x421235(){const _0x31102c=window[_0x5b7b21([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b7b21([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b7b21([0x6e,0x6f,0x77])]())[_0x5b7b21([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b7b21([0x2e]),'');let _0x4dcbce=_0x5b7b21([0x49]);for(let _0x5bb3dd=0x0;_0x5bb3dd<_0x31102c[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5bb3dd+=0x2){let _0x5b7865=window[_0x5b7b21([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31102c[_0x5b7b21([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bb3dd,_0x5bb3dd+0x2));_0x5b7865>=_0x424a53[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b7865-=_0x424a53[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4dcbce+=_0x424a53[_0x5b7865];}return _0x4dcbce;}function _0x5bf8be(){const _0x44457f=_0x453892[_0x5b7b21([0x73,0x70,0x6c,0x69,0x74])](_0x5b7b21([0x2e]));if(0x3!=_0x44457f[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d4d58(_0x44457f[0x1]);function _0x3d4d58(_0x3780aa){const _0x350a26=_0x4803f5(_0x3780aa);return _0x350a26&&_0x452cf0()?_0x350a26:null;function _0x452cf0(){const _0x1149b3=_0x350a26[_0x5b7b21([0x6a,0x74,0x69])],_0x7a9279=window[_0x5b7b21([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1149b3[_0x5b7b21([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1149b3[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d387c={..._0x350a26,[_0x5b7b21([0x6a,0x74,0x69])]:_0x1149b3[_0x5b7b21([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1149b3[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d387c[_0x5b7b21([0x76,0x63])],_0x5a2f59(_0x3d387c)==_0x7a9279;}}}async function _0x110eaa(){let _0x2b5113=!0x0;try{const _0x3d3946=_0x453892[_0x5b7b21([0x73,0x70,0x6c,0x69,0x74])](_0x5b7b21([0x2e])),[_0x1534fe,_0x507208,_0x300609]=_0x3d3946;return _0x52cfef(_0x1534fe),await _0xa41008(_0x1534fe,_0x507208,_0x300609),_0x2b5113;}catch{return!0x1;}function _0x52cfef(_0x402ecc){const _0x1dbd09=_0x4803f5(_0x402ecc);_0x1dbd09&&_0x1dbd09[_0x5b7b21([0x61,0x6c,0x67])]==_0x5b7b21([0x45,0x53,0x32,0x35,0x36])||(_0x2b5113=!0x1);}async function _0xa41008(_0x2f35c9,_0x53fee8,_0x35ed1e){const _0x5adc96=window[_0x5b7b21([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b7b21([0x66,0x72,0x6f,0x6d])](_0x1892d1(_0x35ed1e),_0x172294=>_0x172294[_0x5b7b21([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x573070=new window[(_0x5b7b21([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b7b21([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f35c9+_0x5b7b21([0x2e])+_0x53fee8),_0x5af234=window[_0x5b7b21([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b7b21([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5af234)return;const _0xf838de=await _0x5af234[_0x5b7b21([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b7b21([0x6a,0x77,0x6b]),_0x1f034b,{[_0x5b7b21([0x6e,0x61,0x6d,0x65])]:_0x5b7b21([0x45,0x43,0x44,0x53,0x41]),[_0x5b7b21([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b7b21([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b7b21([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5af234[_0x5b7b21([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b7b21([0x6e,0x61,0x6d,0x65])]:_0x5b7b21([0x45,0x43,0x44,0x53,0x41]),[_0x5b7b21([0x68,0x61,0x73,0x68])]:{[_0x5b7b21([0x6e,0x61,0x6d,0x65])]:_0x5b7b21([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xf838de,_0x5adc96,_0x573070)||(_0x2b5113=!0x1);}}function _0x4803f5(_0x4d8c02){return _0x4d8c02[_0x5b7b21([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b7b21([0x65,0x79]))?JSON[_0x5b7b21([0x70,0x61,0x72,0x73,0x65])](_0x1892d1(_0x4d8c02)):null;}function _0x1892d1(_0x133ed8){return window[_0x5b7b21([0x61,0x74,0x6f,0x62])](_0x133ed8[_0x5b7b21([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b7b21([0x2b]))[_0x5b7b21([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b7b21([0x2f])));}function _0x5a2f59(_0x206de1){let _0x348347=0x1505;function _0x4bf8c0(_0x32012b){for(let _0x37c39a=0x0;_0x37c39a<_0x32012b[_0x5b7b21([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37c39a++){const _0x4dc244=_0x32012b[_0x5b7b21([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37c39a);_0x348347=(_0x348347<<0x5)+_0x348347+_0x4dc244,_0x348347&=_0x348347;}}function _0x12ef14(_0x5e324d){Array[_0x5b7b21([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e324d)?_0x5e324d[_0x5b7b21([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12ef14):_0x5e324d&&typeof _0x5e324d==_0x5b7b21([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b7b21([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e324d)[_0x5b7b21([0x73,0x6f,0x72,0x74])]()[_0x5b7b21([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5f1633,_0x222c66])=>{_0x4bf8c0(_0x5f1633),_0x12ef14(_0x222c66);}):_0x4bf8c0(window[_0x5b7b21([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e324d));}return _0x12ef14(_0x206de1),_0x348347>>>0x0;}function _0x38367c(_0x548b64){return _0x548b64[_0x5b7b21([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b7b21([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b7b21([0x30]));}function _0x38977a(_0x1e61e2){return _0x1e61e2[_0x5b7b21([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b7b21([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b7b21([0x6a,0x6f,0x69,0x6e])]('');}function _0x24d7b1(){}function _0x5b7b21(_0x1b3925){return _0x1b3925['map'](_0x5ee7c4=>String['fromCharCode'](_0x5ee7c4))['join']('');}_0x1465d0(await _0xa8f5e9());}(this);}['_validateConfig'](){const _0x3bc6d0=this['editor'];if(!_0x3bc6d0['config']['get']('lineHeight.supportAllValues'))return;const _0x4cb44a=_0x3bc6d0['config']['get']('lineHeight.options')['filter'](_0x514e6a=>'string'==typeof _0x514e6a&&(!f(_0x514e6a)&&isNaN(Number(_0x514e6a))));if(_0x4cb44a['length'])throw new _0xf3e92e('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x4cb44a});}['_prepareAnyValueConverters'](){const _0x33a4a7=this['editor'],_0x28914d=this['editor']['config']['get']('lineHeight.defaultValue');_0x33a4a7['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x90ef95=>String(_0x90ef95)===String(_0x28914d)?null:{'key':'style','value':{'line-height':_0x90ef95}}}),_0x33a4a7['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x466fdc=>{let _0x24bf4a=_0x466fdc['getStyle']('line-height');return _0x43a66a(_0x24bf4a)&&(_0x24bf4a=String(Number(_0x24bf4a['slice'](0x0,-0x1))/0x64)),String(_0x24bf4a)===String(_0x28914d)?null:_0x24bf4a;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1d60b9=this['editor'],_0xbfd8cc=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5a7648=function(_0x20e7ce,_0x51d50e){const _0x4798e8={'model':{'key':_0x20e7ce,'values':[]},'view':{}};for(const _0x5cf811 of _0x51d50e)'class'===_0x5cf811['view']?.['key']?(_0x4798e8['model']['values']['push'](_0x5cf811['model']),_0x4798e8['view'][_0x5cf811['model']]={'key':'class','value':_0x5cf811['view']['value']}):(_0x4798e8['model']['values']['push'](_0x5cf811['model']),_0x4798e8['view'][_0x5cf811['model']]={'key':'style','value':'line-height:'+_0x5cf811['model']+';'});return _0x4798e8;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x57fa92=>_0x57fa92['model']));_0x1d60b9['conversion']['attributeToAttribute'](_0x5a7648),_0x1d60b9['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1a2cbd=>{let _0x543b01=_0x1a2cbd['getStyle']('line-height');return _0x43a66a(_0x543b01)&&(_0x543b01=String(Number(_0x543b01['slice'](0x0,-0x1))/0x64)),_0x543b01===String(_0xbfd8cc)?null:_0x5a7648['model']['values']['includes'](_0x543b01)?_0x543b01:null;}}});}}class r extends _0x5b7c20{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5325d3={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x5325d3),this['_registerMenuBarComponent'](_0x5325d3),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4cd4ab=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2fd68e;for(const _0x51c067 in _0x4cd4ab){const _0x2ff21d=_0x51c067,_0x4d6e1a=_0x4cd4ab[_0x2ff21d];if('lineHeightLicenseKeyValid'==_0x4d6e1a||'lineHeightLicenseKeyInvalid'==_0x4d6e1a||'lineHeightLicenseKeyExpired'==_0x4d6e1a||'lineHeightLicenseKeyDomainLimit'==_0x4d6e1a||'lineHeightLicenseKeyNotAllowed'==_0x4d6e1a||'lineHeightLicenseKeyEvaluationLimit'==_0x4d6e1a||'lineHeightLicenseKeyTrialLimit'==_0x4d6e1a||'lineHeightLicenseKeyUsageLimit'==_0x4d6e1a){delete _0x4cd4ab[_0x2ff21d],_0x2fd68e=_0x4d6e1a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2fd68e&&_0x4cd4ab['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x14bf3f=this['editor'],t=_0x14bf3f['t'],_0x5b9283=_0x14bf3f['config']['get']('lineHeight'),_0x3a6a35={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x5b9283)['map'](_0x2dbe79=>{const _0x482e99=_0x3a6a35[_0x2dbe79['title']];return _0x482e99&&_0x482e99!=_0x2dbe79['title']&&(_0x2dbe79=Object['assign']({},_0x2dbe79,{'title':_0x482e99})),_0x2dbe79;});}['_prepareListOptions'](){const _0x3b0a72=this['editor']['commands']['get']('lineHeight'),_0xb9615b=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1cb2da=this['_getLocalizedLineHeightOptions'](),_0x180b02=new _0x59f313(),_0x1e4edd=_0xdfd43f=>'default'===_0xdfd43f||String(_0xb9615b)===_0xdfd43f;for(const _0x5dcfdc of _0x1cb2da){const _0x4e14d9={'type':'button','model':new _0x299052({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5dcfdc['title'],'withText':!0x0})};_0x1e4edd(_0x5dcfdc['model'])?(_0x4e14d9['model']['bind']('isOn')['to'](_0x3b0a72,'value',_0x431d0f=>!_0x431d0f),_0x4e14d9['model']['commandParam']=void 0x0):(_0x4e14d9['model']['bind']('isOn')['to'](_0x3b0a72,'value',_0x55630a=>_0x55630a===_0x5dcfdc['model']),_0x4e14d9['model']['commandParam']=_0x5dcfdc['model']),_0x180b02['add'](_0x4e14d9);}if(this['_shouldRenderCustomValueOption']()){const _0x3270c2=this['_getCustomValueOptionDefinition'](_0x1cb2da);_0x180b02['add'](_0x3270c2);}return _0x180b02;}['_getCustomValueOptionDefinition'](_0x56471e){const _0xf1a8ee=this['editor'],t=_0xf1a8ee['t'],_0x14aac1=_0xf1a8ee['commands']['get']('lineHeight'),_0x25429b=_0x56471e['map'](_0x304608=>_0x304608['model']),_0x57fe9f={'type':'button','model':new _0x299052({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x57fe9f['model']['bind']('commandParam')['to'](_0x14aac1,'value'),_0x57fe9f['model']['bind']('isOn')['to'](_0x14aac1,'value',_0x5238f3=>!!_0x5238f3&&!_0x25429b['includes'](String(_0x5238f3))),_0x57fe9f['model']['bind']('label')['to'](_0x14aac1,'value',_0x4c8120=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4c8120))),_0x57fe9f;}['_registerToolbarComponent']({accessibleLabel:_0x40a1fe,options:_0x4ff96f}){const _0x25db53=this['editor'],_0x2428b4=_0x25db53['commands']['get']('lineHeight');_0x25db53['ui']['componentFactory']['add']('lineHeight',_0x63f523=>{const _0x39bdf9=_0x17e999(_0x63f523);return _0x54725a(_0x39bdf9,_0x4ff96f,{'role':'menu','ariaLabel':_0x40a1fe}),_0x39bdf9['buttonView']['set']({'label':_0x40a1fe,'tooltip':!0x0,'icon':_0xdc06f6}),_0x39bdf9['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x39bdf9['bind']('isEnabled')['to'](_0x2428b4),this['listenTo'](_0x39bdf9,'execute',_0x48e3de=>{_0x25db53['execute'](_0x48e3de['source']['commandName'],{'value':_0x48e3de['source']['commandParam']}),_0x25db53['editing']['view']['focus']();}),_0x39bdf9['once']('change:isOpen',()=>{const _0x4a5cef=_0x39bdf9['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x39bdf9,_0x4ff96f,_0x4a5cef);}),_0x39bdf9;});}['_registerMenuBarComponent']({accessibleLabel:_0x58bd91,options:_0x1009fb}){const _0x4a39bd=this['editor'],_0x23230b=_0x4a39bd['commands']['get']('lineHeight');_0x4a39bd['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3552f4=>{const _0x408f62=new _0xc8402c(_0x3552f4);_0x408f62['buttonView']['set']({'label':_0x58bd91,'icon':_0xdc06f6}),_0x408f62['bind']('isEnabled')['to'](_0x23230b);const _0xd0a543=new _0x54d504(_0x3552f4);for(const _0x34c4d0 of _0x1009fb){const _0x3457a1=new _0x2724fb(_0x3552f4,_0x408f62),_0x3da7a6=new _0x3b0c54(_0x3552f4);_0x3da7a6['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3da7a6['bind'](...Object['keys'](_0x34c4d0['model']))['to'](_0x34c4d0['model']),_0x3da7a6['delegate']('execute')['to'](_0x408f62),_0x3da7a6['on']('execute',()=>{_0x4a39bd['execute'](_0x34c4d0['model']['commandName'],{'value':_0x34c4d0['model']['commandParam']}),_0x4a39bd['editing']['view']['focus']();}),_0x3457a1['children']['add'](_0x3da7a6),_0xd0a543['items']['add'](_0x3457a1);}return _0x408f62['panelView']['children']['add'](_0xd0a543),this['_attachCustomOptionVisibilityHandler'](_0x408f62,_0x1009fb,_0xd0a543),_0x408f62;});}['_attachCustomOptionVisibilityHandler'](_0x54bc6a,_0x3523fa,_0x4abb25){if(!this['_shouldRenderCustomValueOption']())return;const _0x685664=()=>{if(!_0x54bc6a['isOpen'])return;_0x4abb25['items']['last']['isVisible']=Boolean(_0x3523fa['last']['model']['isOn']);};_0x685664(),_0x54bc6a['on']('change:isOpen',()=>{_0x685664();});}}class k extends _0x5b7c20{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':_0x1fd8f7=>0x1!=_0x1fd8f7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38de40=>{const {af:{dictionary:_0xceca6b,getPluralForm:_0x42218d}}={'af':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':_0x535dc4=>0x1!=_0x535dc4}};_0x38de40['af']||={'dictionary':{},'getPluralForm':null},_0x38de40['af']['dictionary']=Object['assign'](_0x38de40['af']['dictionary'],_0xceca6b),_0x38de40['af']['getPluralForm']=_0x42218d;})(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':_0x175243=>0x0==_0x175243?0x0:0x1==_0x175243?0x1:0x2==_0x175243?0x2:_0x175243%0x64>=0x3&&_0x175243%0x64<=0xa?0x3:_0x175243%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4b035f=>{const {ar:{dictionary:_0x3989eb,getPluralForm:_0x1d86a6}}={'ar':{'dictionary':{'Line\x20height':'ارتفاع\x20السطر','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'مخصص:\x20%0','LINE_HEIGHT_SINGLE_OPTION_LABEL':'مفرد','LINE_HEIGHT_DOUBLE_OPTION_LABEL':'مزدوج'},'getPluralForm':_0x14de33=>0x0==_0x14de33?0x0:0x1==_0x14de33?0x1:0x2==_0x14de33?0x2:_0x14de33%0x64>=0x3&&_0x14de33%0x64<=0xa?0x3:_0x14de33%0x64>=0xb?0x4:0x5}};_0x4b035f['ar']||={'dictionary':{},'getPluralForm':null},_0x4b035f['ar']['dictionary']=Object['assign'](_0x4b035f['ar']['dictionary'],_0x3989eb),_0x4b035f['ar']['getPluralForm']=_0x1d86a6;})(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':_0x2d9a6d=>0x1!=_0x2d9a6d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27e973=>{const {ast:{dictionary:_0x50ce9d,getPluralForm:_0x42a019}}={'ast':{'dictionary':{'Line\x20height':'','LINE_HEIGHT_CUSTOM_OPTION_LABEL':'','LINE_HEIGHT_SINGLE_OPTION_LABEL':'','LINE_HEIGHT_DOUBLE_OPTION_LABEL':''},'getPluralForm':_0xa0ac84=>0x1!=_0xa0ac84}};_0x27e973['ast']||={'dictionary':{},'getPluralForm':null},_0x27e973['ast']['dictionary']=Object['assign'](_0x27e973['ast']['dictionary'],_0x50ce9d),_0x27e973['ast']['getPluralForm']=_0x42a019;})(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':_0x14d322=>0x1!=_0x14d322}};
|