@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250702.0 → 0.0.0-nightly-20250704.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md.
4
- */(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>T,LineHeightCommand:()=>s,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=o;function o(e,t){const n=a();return(o=function(e,t){return n[e-=217]})(e,t)}!function(e){const t=o,n=e();for(;;)try{if(908797===-parseInt(t(218))/1*(-parseInt(t(233))/2)+-parseInt(t(239))/3+-parseInt(t(226))/4+parseInt(t(236))/5*(-parseInt(t(240))/6)+-parseInt(t(223))/7+-parseInt(t(227))/8+parseInt(t(232))/9*(parseInt(t(217))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(a);class s extends e.Command{[r(237)](){const e=r,n=this[e(228)][e(244)][e(222)],i=(0,t.first)(n[e(242)][e(245)]());this[e(224)]=Boolean(i)&&this[e(235)](i),this[e(238)]=this[e(224)]&&i[e(241)](e(231))}[r(219)](e={}){const t=r,n=this[t(228)][t(244)],i=n[t(222)][t(242)],o=e[t(238)];n[t(220)](e=>{const n=t,r=Array[n(229)](i[n(245)]())[n(230)](e=>this[n(235)](e));for(const t of r)o?e[n(225)](n(231),o,t):e[n(243)](n(231),t)})}[r(235)](e){const t=r;return this[t(228)][t(244)][t(221)][t(234)](e,t(231))}}function a(){const e=["editor","from","filter","lineHeight","60462baWExe","97406FgzHeG","checkAttribute","_canHaveLineHeight","15yVGajw","refresh","value","5101662oYSaFy","274698YBPujk","getAttribute","selection","removeAttribute","model","getSelectedBlocks","7520NdyzpP","7IMvBSJ","execute","change","schema","document","8661590oqjBLL","isEnabled","setAttribute","1767224KVXlOC","7735848VsiNzk"];return(a=function(){return e})()}var c=n(783);!function(e){const t=f,n=e();for(;;)try{if(747295===-parseInt(t(502))/1*(parseInt(t(507))/2)+parseInt(t(528))/3+-parseInt(t(506))/4+parseInt(t(525))/5*(-parseInt(t(521))/6)+-parseInt(t(517))/7*(-parseInt(t(510))/8)+-parseInt(t(509))/9+parseInt(t(520))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const l={get single(){const e=f;return{title:e(508),model:e(495),view:{key:e(505),value:e(514)}}},get double(){const e=f;return{title:e(500),model:e(512),view:{key:e(505),value:e(511)}}}};function u(e){const t=f;return t(519)==typeof e&&t(526)===e[t(515)]()}function d(e){const t=f;return e[t(497)][t(504)](n=>u(n)?{title:String(e[t(503)]),model:t(526)}:(t(527)==typeof n&&(n=String(n)),t(519)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(522),styles:{"line-height":n}}}:function(e){const t=f;return t(519)==typeof e?l[e]:l[e[t(523)]]}(n)))[t(498)](e=>void 0!==e)}function h(){const e=["11920270BuCtYR","2022iAmBWn","span","model","push","17745CAMlMB","default","number","4309029EMcJMp","single","value","options","filter","key","Double","values","1YZcTsG","defaultValue","map","class","2566784SLsaQw","2006868nnLSAH","Single","2449341YDnVjJ","504BCCNXP","line-height-double","double","line-height:","line-height-single","toLowerCase","style","136913ntvgkL","view","string"];return(h=function(){return e})()}function f(e,t){const n=h();return(f=function(e,t){return n[e-=495]})(e,t)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=144]})(e,t)}function m(){const e=["474QkZxiE","map","pluginName","16WDwxAa","LineHeightEditing","$block","1067969KlKqjM","671tTobwa","string","length","line-height-invalid-use-of-named-presets","extend","conversion","setAttributeProperties","href","join","values","955798zZPTsp","lineHeight.options","136720HUHQLS","lineHeight.supportAllValues","schema","44845nrTrlX","add","slice","lineHeight","_preparePredefinedConverters","attributeToAttribute","model","48045zPamjO","editor","lineHeight.defaultValue","afterInit","for","fromCharCode","includes","_validateConfig","isOfficialPlugin","5460993FIUlKV","init","get","isPremiumPlugin","_prepareAnyValueConverters","style","filter","config","downcast","getStyle","define","line-height","commands","80CwGlLC","upcast","595099WBTsIu","default"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(450888===-parseInt(t(175))/1+-parseInt(t(194))/2+parseInt(t(151))/3*(-parseInt(t(173))/4)+parseInt(t(144))/5*(parseInt(t(177))/6)+-parseInt(t(183))/7*(parseInt(t(180))/8)+parseInt(t(160))/9+parseInt(t(196))/10*(parseInt(t(184))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(179)](){return p(181)}static get[p(159)](){return!0}static get[p(163)](){return!0}constructor(e){const t=p;super(e),e[t(167)][t(170)](t(147),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(176),2,2.5,3]})}[p(161)](){const e=p,t=this[e(152)];this[e(158)](),t[e(150)][e(198)][e(188)](e(182),{allowAttributes:e(147)}),t[e(150)][e(198)][e(190)](e(147),{isFormatting:!0}),t[e(172)][e(145)](e(147),new s(t)),this[e(152)][e(167)][e(162)](e(197))?this[e(164)]():this[e(148)]()}[p(154)](){!async function(e){const n=m([90,65,57,110,69,111,75,87,113,82,78,55,51,103,109,100,67,66,74,56,49,76,80,52,48,83,77,116,50,97,72,73,122,71,84,99,81,68,85,79,104,114,54,120,86,106,121,119,53,105,70,98,117,118,89,107,108,112,115,102,88,101]),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(178)](e=>String[t(156)](e))[t(192)]("")}!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([90]);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:1751414400;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(191)]);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(158)](){const e=p,n=this[e(152)];if(!n[e(167)][e(162)](e(197)))return;const i=n[e(167)][e(162)](e(195))[e(166)](t=>e(185)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(186)])throw new t.CKEditorError(e(187),null,{namedPresets:i})}[p(164)](){const e=p,t=this[e(152)],n=this[e(152)][e(167)][e(162)](e(153));t[e(189)][e(155)](e(168))[e(149)]({model:{key:e(147)},view:t=>String(t)===String(n)?null:{key:e(165),value:{"line-height":t}}}),t[e(189)][e(155)](e(174))[e(149)]({model:{key:e(147),value:t=>{const i=e;let r=t[i(169)](i(171));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(146)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(148)](){const e=p,t=this[e(152)],n=this[e(152)][e(167)][e(162)](e(153)),i=d(this[e(152)][e(167)][e(162)](e(147)))[e(166)](t=>t[e(150)]),r=function(e,t){const n=f,i={model:{key:e,values:[]},view:{}};for(const e of t)n(505)===e[n(518)]?.[n(499)]?(i[n(523)][n(501)][n(524)](e[n(523)]),i[n(518)][e[n(523)]]={key:n(505),value:e[n(518)][n(496)]}):(i[n(523)][n(501)][n(524)](e[n(523)]),i[n(518)][e[n(523)]]={key:n(516),value:n(513)+e[n(523)]+";"});return i}(e(147),i);t[e(189)][e(149)](r),t[e(189)][e(155)](e(174))[e(149)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(147),value:t=>{const i=e;let o=t[i(169)](i(171));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(146)](0,-1))/100)),o===String(n)?null:r[i(150)][i(193)][i(157)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),C=n(262),_=n.n(C),E=n(667),O=n.n(E),S=n(357),x=n.n(S),k=n(422),P={attributes:{"data-cke":!0}};P.setAttributes=O(),P.insert=_().bind(null,"head"),P.domAPI=H(),P.insertStyleElement=x();b()(k.A,P);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 d(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:t.title,withText:!0})};o(t.model)?(n.model.bind("isOn").to(e,"value",e=>!e),n.model.commandParam=void 0):(n.model.bind("isOn").to(e,"value",e=>e===t.model),n.model.commandParam=t.model),r.add(n)}if(this._shouldRenderCustomValueOption()){const e=this._getCustomValueOptionDefinition(i);r.add(e)}return r}_getCustomValueOptionDefinition(e){const t=this.editor,n=t.t,i=t.commands.get("lineHeight"),r=e.map(e=>e.model),o={type:"button",model:new v.UIModel({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return o.model.bind("commandParam").to(i,"value"),o.model.bind("isOn").to(i,"value",e=>!!e&&!r.includes(String(e))),o.model.bind("label").to(i,"value",e=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(e))),o}_registerToolbarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",r=>{const o=(0,v.createDropdown)(r);return(0,v.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:y.IconLineHeight}),o.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),o.bind("isEnabled").to(i),this.listenTo(o,"execute",e=>{n.execute(e.source.commandName,{value:e.source.commandParam}),n.editing.view.focus()}),o.once("change:isOpen",()=>{const e=o.panelView.children.first;this._attachCustomOptionVisibilityHandler(o,t,e)}),o})}_registerMenuBarComponent({accessibleLabel:e,options:t}){const n=this.editor,i=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",r=>{const o=new v.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new v.MenuBarMenuListView(r);for(const e of t){const t=new v.MenuBarMenuListItemView(r,o),i=new v.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var K=V;function V(e,t){var n=M();return(V=function(e,t){return n[e-=171]})(e,t)}!function(e){for(var t=V,n=e();;)try{if(362971===-parseInt(t(183))/1+parseInt(t(180))/2+-parseInt(t(182))/3+-parseInt(t(176))/4*(parseInt(t(175))/5)+-parseInt(t(177))/6+-parseInt(t(172))/7*(parseInt(t(184))/8)+parseInt(t(181))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M);class T extends e.Plugin{static get[K(179)](){return[w,A]}static get[K(171)](){return K(174)}static get[K(173)](){return!0}static get[K(178)](){return!0}}function M(){var e=["requires","1414818LkHGUM","10279602ynLJaC","348879rgCGDo","322870rghGyi","49480KFaTYE","pluginName","14kYgIZo","isOfficialPlugin","LineHeight","1093060SucaFC","8WdogXG","3587154tigJxY","isPremiumPlugin"];return(M=function(){return e})()}function N(){var e=["80OFItsN","43887190sHEXYl","2440077KYdNDP","335vSfMLh","91434dCiWCM","10793223CtreFG","1641677uFSKmw","2laduDz","779212jMwIQw","2133892WQNAXP"];return(N=function(){return e})()}function B(e,t){var n=N();return(B=function(e,t){return n[e-=152]})(e,t)}!function(e){for(var t=B,n=e();;)try{if(866264===-parseInt(t(161))/1*(-parseInt(t(152))/2)+parseInt(t(157))/3+-parseInt(t(154))/4+-parseInt(t(158))/5*(-parseInt(t(159))/6)+-parseInt(t(153))/7*(-parseInt(t(155))/8)+parseInt(t(160))/9+-parseInt(t(156))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(N)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
4
+ */(()=>{var e={168:e=>{"use strict";e.exports=function(e){return e[1]}},237:e=>{"use strict";e.exports=CKEditor5.dll},262:e=>{"use strict";var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},357:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(168),r=n.n(i),o=n(433),s=n.n(o)()(r());s.push([e.id,".ck-content .line-height-single{line-height:1}.ck-content .line-height-double{line-height:2}",""]);const a=s},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(s[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);i&&s[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],l=i.base?c[0]+i.base:c[0],u=o[l]||0,d="".concat(l," ").concat(u);o[l]=u+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>N,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=o;function o(e,t){const n=s();return(o=function(e,t){return n[e-=264]})(e,t)}function s(){const e=["895816UkJRVD","isEnabled","editor","removeAttribute","231159MiUxeu","2321vxJiAu","3607974yEAIOB","selection","refresh","from","155795RwZyah","checkAttribute","change","9072165tgfUTy","_canHaveLineHeight","57435zCHPaL","setAttribute","536oFoenN","document","6meNnSy","getSelectedBlocks","schema","16ObBGJG","value","lineHeight","model","130670fUZPJW","execute","getAttribute","filter"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(919832===parseInt(t(272))/1+parseInt(t(292))/2+parseInt(t(266))/3*(parseInt(t(284))/4)+-parseInt(t(275))/5*(-parseInt(t(281))/6)+parseInt(t(277))/7*(parseInt(t(279))/8)+parseInt(t(268))/9+-parseInt(t(288))/10*(parseInt(t(267))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(270)](){const e=r,n=this[e(264)][e(287)][e(280)],i=(0,t.first)(n[e(269)][e(282)]());this[e(293)]=Boolean(i)&&this[e(276)](i),this[e(285)]=this[e(293)]&&i[e(290)](e(286))}[r(289)](e={}){const t=r,n=this[t(264)][t(287)],i=n[t(280)][t(269)],o=e[t(285)];n[t(274)](e=>{const n=t,r=Array[n(271)](i[n(282)]())[n(291)](e=>this[n(276)](e));for(const t of r)o?e[n(278)](n(286),o,t):e[n(265)](n(286),t)})}[r(276)](e){const t=r;return this[t(264)][t(287)][t(283)][t(273)](e,t(286))}}var c=n(783);function l(){const e=["defaultValue","view","11098971eDkHrt","style","618394rzJOhU","values","132cYTvRe","20370867civlci","default","key","5935296vyHCfC","10MrXzkA","Single","12sZjNeM","number","double","class","single","filter","20PVcCze","5721045LniIdv","options","push","line-height:","toLowerCase","value","79830pHKGoP","line-height-single","model","line-height-double","string","span","Double","map","110082CleDWJ"];return(l=function(){return e})()}!function(e){const t=h,n=e();for(;;)try{if(678157===parseInt(t(180))/1*(parseInt(t(187))/2)+-parseInt(t(195))/3*(parseInt(t(167))/4)+parseInt(t(181))/5+parseInt(t(174))/6*(-parseInt(t(200))/7)+parseInt(t(171))/8+parseInt(t(198))/9+-parseInt(t(172))/10*(parseInt(t(168))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=h;return{title:e(173),model:e(178),view:{key:e(177),value:e(188)}}},get double(){const e=h;return{title:e(193),model:e(176),view:{key:e(177),value:e(190)}}}};function d(e){const t=h;return t(191)==typeof e&&t(169)===e[t(185)]()}function h(e,t){const n=l();return(h=function(e,t){return n[e-=166]})(e,t)}function f(e){const t=h;return e[t(182)][t(194)](n=>d(n)?{title:String(e[t(196)]),model:t(169)}:(t(175)==typeof n&&(n=String(n)),t(191)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(192),styles:{"line-height":n}}}:function(e){const t=h;return t(191)==typeof e?u[e]:u[e[t(189)]]}(n)))[t(179)](e=>void 0!==e)}const p=m;function g(){const e=["filter","LineHeightEditing","fromCharCode","editor","_validateConfig","setAttributeProperties","for","getStyle","2767dsiHbZ","href","commands","style","values","line-height","string","conversion","$block","5143670TAhzfU","isOfficialPlugin","lineHeight.supportAllValues","slice","isPremiumPlugin","extend","line-height-invalid-use-of-named-presets","schema","pluginName","19863gjsfZj","upcast","3746649QmZzjo","downcast","attributeToAttribute","lineHeight","_preparePredefinedConverters","_prepareAnyValueConverters","define","model","8780684sIzqxz","115ZpdwqJ","8039646pwqaWl","lineHeight.defaultValue","length","includes","37188UnLUmk","2864LBdcvt","afterInit","add","796VgxPeB","join","lineHeight.options","map","default","get","config","init","7VwIWtE"];return(g=function(){return e})()}function m(e,t){const n=g();return(m=function(e,t){return n[e-=432]})(e,t)}!function(e){const t=m,n=e();for(;;)try{if(701534===parseInt(t(463))/1*(parseInt(t(446))/2)+parseInt(t(483))/3+parseInt(t(442))/4*(parseInt(t(437))/5)+parseInt(t(438))/6*(-parseInt(t(454))/7)+-parseInt(t(443))/8*(-parseInt(t(481))/9)+-parseInt(t(472))/10+-parseInt(t(436))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(g);class w extends e.Plugin{static get[p(480)](){return p(456)}static get[p(473)](){return!0}static get[p(476)](){return!0}constructor(e){const t=p;super(e),e[t(452)][t(434)](t(486),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(450),2,2.5,3]})}[p(453)](){const e=p,t=this[e(458)];this[e(459)](),t[e(435)][e(479)][e(477)](e(471),{allowAttributes:e(486)}),t[e(435)][e(479)][e(460)](e(486),{isFormatting:!0}),t[e(465)][e(445)](e(486),new a(t)),this[e(458)][e(452)][e(451)](e(474))?this[e(433)]():this[e(432)]()}[p(444)](){!async function(e){const n=g([118,109,112,86,100,89,65,52,104,67,70,50,107,97,90,99,114,115,72,49,111,84,117,77,71,85,74,57,82,83,119,98,105,56,108,87,55,76,122,73,54,101,120,79,110,113,103,78,121,81,53,68,48,80,75,51,88,66,106,69,116,102]),i=window[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([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]),[g([121])]:g([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]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function f(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function p(){}function g(e){const t=m;return e[t(449)](e=>String[t(457)](e))[t(447)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([118]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=p,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([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[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([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===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=f(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([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(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([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[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751587200;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=m,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(464)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&p?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),p[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||p||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[p(459)](){const e=p,n=this[e(458)];if(!n[e(452)][e(451)](e(474)))return;const i=n[e(452)][e(451)](e(448))[e(455)](t=>e(469)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(440)])throw new t.CKEditorError(e(478),null,{namedPresets:i})}[p(433)](){const e=p,t=this[e(458)],n=this[e(458)][e(452)][e(451)](e(439));t[e(470)][e(461)](e(484))[e(485)]({model:{key:e(486)},view:t=>String(t)===String(n)?null:{key:e(466),value:{"line-height":t}}}),t[e(470)][e(461)](e(482))[e(485)]({model:{key:e(486),value:t=>{const i=e;let r=t[i(462)](i(468));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(475)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(432)](){const e=p,t=this[e(458)],n=this[e(458)][e(452)][e(451)](e(439)),i=f(this[e(458)][e(452)][e(451)](e(486)))[e(455)](t=>t[e(435)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(177)===e[n(197)]?.[n(170)]?(i[n(189)][n(166)][n(183)](e[n(189)]),i[n(197)][e[n(189)]]={key:n(177),value:e[n(197)][n(186)]}):(i[n(189)][n(166)][n(183)](e[n(189)]),i[n(197)][e[n(189)]]={key:n(199),value:n(184)+e[n(189)]+";"});return i}(e(486),i);t[e(470)][e(485)](r),t[e(470)][e(461)](e(482))[e(485)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(486),value:t=>{const i=e;let o=t[i(462)](i(468));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(475)](0,-1))/100)),o===String(n)?null:r[i(435)][i(467)][i(441)](o)?o:null}}})}}var v=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),C=n.n(_),E=n(667),O=n.n(E),x=n(357),k=n.n(x),P=n(422),S={attributes:{"data-cke":!0}};S.setAttributes=O(),S.insert=C().bind(null,"head"),S.domAPI=H(),S.insertStyleElement=k();b()(P.A,S);P.A&&P.A.locals&&P.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()})}}var V=K;function K(e,t){var n=T();return(K=function(e,t){return n[e-=159]})(e,t)}!function(e){for(var t=K,n=e();;)try{if(432645===parseInt(t(159))/1+parseInt(t(171))/2+-parseInt(t(167))/3*(parseInt(t(161))/4)+parseInt(t(172))/5*(-parseInt(t(169))/6)+parseInt(t(163))/7+parseInt(t(164))/8+parseInt(t(168))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class N extends e.Plugin{static get[V(160)](){return[w,A]}static get[V(170)](){return V(165)}static get[V(166)](){return!0}static get[V(162)](){return!0}}function T(){var e=["LineHeight","isOfficialPlugin","78723aTnVsc","937566GJNlCE","212622ftEnvS","pluginName","9168wFJfux","20SeWdKN","686598VgWGwx","requires","92KCaPIk","isPremiumPlugin","1890833EcfMyo","899688hNaOjj"];return(T=function(){return e})()}function M(e,t){var n=j();return(M=function(e,t){return n[e-=330]})(e,t)}function j(){var e=["898798WVlDjE","8697205ierKLA","830295TyYVtr","9913480xybtJr","9873rQoOWk","1RzfgCb","48DlRbyA","8srvkUB","60rcvbQJ","2909354wZEhYf","5751405RDPRmL"];return(j=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(833727===-parseInt(t(337))/1*(-parseInt(t(332))/2)+-parseInt(t(336))/3*(-parseInt(t(338))/4)+parseInt(t(334))/5*(-parseInt(t(340))/6)+-parseInt(t(330))/7*(parseInt(t(339))/8)+parseInt(t(331))/9+parseInt(t(335))/10+parseInt(t(333))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x572879,Plugin as _0x572734}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x3d9915,CKEditorError as _0x24562e,uid as _0x28aac2,Collection as _0x4b7292}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x4ed8be}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x4bdda3,createDropdown as _0xd83fa5,addListToDropdown as _0x29ffd8,MenuBarMenuView as _0x2ec5a9,MenuBarMenuListView as _0x5b4a6b,MenuBarMenuListItemView as _0x5cd765,MenuBarMenuListItemButtonView as _0x23ba64}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x17b5cf}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x572879{['refresh'](){const _0x335e9d=this['editor']['model']['document'],_0x50aedf=_0x3d9915(_0x335e9d['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x50aedf)&&this['_canHaveLineHeight'](_0x50aedf),this['value']=this['isEnabled']&&_0x50aedf['getAttribute']('lineHeight');}['execute'](_0x4a908e={}){const _0x2a3109=this['editor']['model'],_0x42c8e6=_0x2a3109['document']['selection'],_0x574c1a=_0x4a908e['value'];_0x2a3109['change'](_0x5c6654=>{const _0x5b8d3f=Array['from'](_0x42c8e6['getSelectedBlocks']())['filter'](_0x1131fa=>this['_canHaveLineHeight'](_0x1131fa));for(const _0x81864b of _0x5b8d3f)_0x574c1a?_0x5c6654['setAttribute']('lineHeight',_0x574c1a,_0x81864b):_0x5c6654['removeAttribute']('lineHeight',_0x81864b);});}['_canHaveLineHeight'](_0x351c80){return this['editor']['model']['schema']['checkAttribute'](_0x351c80,'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(_0x66292c){return'string'==typeof _0x66292c&&'default'===_0x66292c['toLowerCase']();}function a(_0x279505){return _0x279505['options']['map'](_0x152130=>{return f(_0x152130)?{'title':String(_0x279505['defaultValue']),'model':'default'}:('number'==typeof _0x152130&&(_0x152130=String(_0x152130)),'string'!=typeof _0x152130?_0x152130:parseFloat(_0x152130)?{'title':_0x152130,'model':_0x152130,'view':{'name':'span','styles':{'line-height':_0x152130}}}:'string'==typeof(_0x2479e0=_0x152130)?v[_0x2479e0]:v[_0x2479e0['model']]);var _0x2479e0;})['filter'](_0x191ddc=>void 0x0!==_0x191ddc);}class e extends _0x572734{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3573f1){super(_0x3573f1),_0x3573f1['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2dfc4f=this['editor'];this['_validateConfig'](),_0x2dfc4f['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2dfc4f['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2dfc4f['commands']['add']('lineHeight',new n(_0x2dfc4f)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x4e5eb3){const _0x2ffc48=_0x2dc924([0x5a,0x41,0x39,0x6e,0x45,0x6f,0x4b,0x57,0x71,0x52,0x4e,0x37,0x33,0x67,0x6d,0x64,0x43,0x42,0x4a,0x38,0x31,0x4c,0x50,0x34,0x30,0x53,0x4d,0x74,0x32,0x61,0x48,0x49,0x7a,0x47,0x54,0x63,0x51,0x44,0x55,0x4f,0x68,0x72,0x36,0x78,0x56,0x6a,0x79,0x77,0x35,0x69,0x46,0x62,0x75,0x76,0x59,0x6b,0x6c,0x70,0x73,0x66,0x58,0x65]),_0x40e1e8=0x23ee94aa,_0x485f23=0x23e9f8c2^_0x40e1e8,_0x9f2a06=window[_0x2dc924([0x44,0x61,0x74,0x65])][_0x2dc924([0x6e,0x6f,0x77])](),_0x570287=_0x4e5eb3[_0x2dc924([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x81998d=new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x294396=>{_0x570287[_0x2dc924([0x6f,0x6e,0x63,0x65])](_0x2dc924([0x72,0x65,0x61,0x64,0x79]),_0x294396);}),_0x3fa322={[_0x2dc924([0x6b,0x74,0x79])]:_0x2dc924([0x45,0x43]),[_0x2dc924([0x75,0x73,0x65])]:_0x2dc924([0x73,0x69,0x67]),[_0x2dc924([0x63,0x72,0x76])]:_0x2dc924([0x50,0x2d,0x32,0x35,0x36]),[_0x2dc924([0x78])]:_0x2dc924([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]),[_0x2dc924([0x79])]:_0x2dc924([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]),[_0x2dc924([0x61,0x6c,0x67])]:_0x2dc924([0x45,0x53,0x32,0x35,0x36])},_0xdd9cc0=_0x570287[_0x2dc924([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dc924([0x67,0x65,0x74])](_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45d86f(){let _0x47c9d4,_0xa110f5=null,_0x3601a9=null;try{if(_0xdd9cc0==_0x2dc924([0x47,0x50,0x4c]))return _0x2dc924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47c9d4=_0x257473(),!_0x47c9d4)return _0x2dc924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47c9d4[_0x2dc924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3601a9=_0x3ee3c0(_0x47c9d4[_0x2dc924([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47c9d4[_0x2dc924([0x6a,0x74,0x69])])),await _0x220c89()?_0x4c6b0e()?_0x21deae()?_0x2dc924([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3306e3()?(_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dc924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa110f5=_0x1136a7(_0x2dc924([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dc924([0x74,0x72,0x69,0x61,0x6c])&&(_0xa110f5=_0x1136a7(_0x2dc924([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbba0c()):_0x2dc924([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dc924([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dc924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dc924([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21deae(){const _0x380abf=[_0x2dc924([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dc924([0x74,0x72,0x69,0x61,0x6c])][_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9f2a06/0x3e8:0xe10*_0x485f23;return _0x47c9d4[_0x2dc924([0x65,0x78,0x70])]<_0x380abf;}function _0x4c6b0e(){const _0x386a0e=_0x47c9d4[_0x2dc924([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x386a0e&&(!!_0x386a0e[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc924([0x2a]))||!!_0x386a0e[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc924([0x4c,0x48])));}function _0x3306e3(){const _0x2c9ebc=_0x47c9d4[_0x2dc924([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c9ebc||0x0==_0x2c9ebc[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x125890}=new URL(window[_0x2dc924([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c9ebc[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x125890))return!0x0;const _0x10dbe9=_0x125890[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e]));return _0x2c9ebc[_0x2dc924([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3baea1=>_0x3baea1[_0x2dc924([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc924([0x2a])))[_0x2dc924([0x6d,0x61,0x70])](_0x136843=>_0x136843[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e])))[_0x2dc924([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x230a19=>_0x230a19[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x10dbe9[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dc924([0x6d,0x61,0x70])](_0x4baa53=>Array(_0x10dbe9[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4baa53[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dc924([0x66,0x69,0x6c,0x6c])](_0x4baa53[0x0]===_0x2dc924([0x2a])?_0x2dc924([0x2a]):'')[_0x2dc924([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4baa53))[_0x2dc924([0x73,0x6f,0x6d,0x65])](_0x522652=>_0x10dbe9[_0x2dc924([0x65,0x76,0x65,0x72,0x79])]((_0x956d49,_0x2dd899)=>_0x522652[_0x2dd899]===_0x956d49||_0x522652[_0x2dd899]===_0x2dc924([0x2a])));}function _0xbba0c(){return _0xa110f5&&_0x3601a9?new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x551fd2,_0x5835a5)=>{_0xa110f5[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x551fd2,_0x5835a5),_0x3601a9[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x1de917=>{_0x1de917!=_0x2dc924([0x56,0x61,0x6c,0x69,0x64])&&_0x551fd2(_0x1de917);},_0x5835a5);}):_0xa110f5||_0x3601a9||_0x2dc924([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ee3c0(_0x4608af,_0xf3dea4){return new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x213838=>{if(_0x5f362e())return _0x213838(_0x2dc924([0x56,0x61,0x6c,0x69,0x64]));_0x24df4f(),_0x570287[_0x2dc924([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dc924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x593817=!0x1;const _0x1befda=_0x28aac2();function _0x508fc6(_0x42d0e5){return!!_0x42d0e5&&(typeof _0x42d0e5===_0x2dc924([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42d0e5===_0x2dc924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42d0e5[_0x2dc924([0x74,0x68,0x65,0x6e])]===_0x2dc924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42d0e5[_0x2dc924([0x63,0x61,0x74,0x63,0x68])]===_0x2dc924([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a7f77(_0x1c3b5d){_0x4ea7f3(_0x1c3b5d)[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x538934=>{if(!_0x538934||_0x538934[_0x2dc924([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dc924([0x6f,0x6b]))return _0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35c3ce(_0x3bb94f(_0x1befda+_0xf3dea4))!=_0x538934[_0x2dc924([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dc924([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x21a7f9=>(_0x555bf8(),_0x21a7f9),()=>{const _0x45bc74=_0x22ab0a();return null==_0x45bc74?(_0x555bf8(),_0x2dc924([0x56,0x61,0x6c,0x69,0x64])):_0x2dc924(_0x9f2a06-_0x45bc74>(0x7e210aa^_0x40e1e8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x213838)[_0x2dc924([0x63,0x61,0x74,0x63,0x68])](()=>{_0x213838(_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x37b5d0=0x23d87a2a^_0x40e1e8;function _0x555bf8(){const _0x3f4282=_0x2dc924([0x6c,0x6c,0x63,0x74,0x2d])+_0x35c3ce(_0x3bb94f(_0x4608af)),_0x3db7a0=_0x40b324(_0x35c3ce(window[_0x2dc924([0x4d,0x61,0x74,0x68])][_0x2dc924([0x63,0x65,0x69,0x6c])](_0x9f2a06/_0x37b5d0)));window[_0x2dc924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dc924([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f4282,_0x3db7a0);}function _0x22ab0a(){const _0x39b7a4=_0x2dc924([0x6c,0x6c,0x63,0x74,0x2d])+_0x35c3ce(_0x3bb94f(_0x4608af)),_0x1fbdd5=window[_0x2dc924([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dc924([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39b7a4);return _0x1fbdd5?window[_0x2dc924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40b324(_0x1fbdd5),0x10)*_0x37b5d0:null;}function _0x4ea7f3(_0x1951eb){return new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36f7d5,_0x420df8)=>{_0x1951eb[_0x2dc924([0x74,0x68,0x65,0x6e])](_0x36f7d5,_0x420df8),window[_0x2dc924([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x420df8,0x23ef406a^_0x40e1e8);});}}_0x570287[_0x2dc924([0x6f,0x6e])](_0x2dc924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b3ae1,_0x3222bd)=>{if(_0x3222bd[0x0]!=_0x4608af)return _0x213838(_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3222bd[0x1]={..._0x3222bd[0x1],[_0x2dc924([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1befda};},{[_0x2dc924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dc924([0x68,0x69,0x67,0x68])}),_0x570287[_0x2dc924([0x6f,0x6e])](_0x2dc924([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19338e=>{_0x508fc6(_0x19338e[_0x2dc924([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x593817=!0x0,_0x2a7f77(_0x19338e[_0x2dc924([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dc924([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dc924([0x6c,0x6f,0x77])}),_0x81998d[_0x2dc924([0x74,0x68,0x65,0x6e])](()=>{_0x593817||_0x213838(_0x2dc924([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f362e(){return _0x570287[_0x2dc924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dc924([0x76,0x69,0x65,0x77])][_0x2dc924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dc924([0x61,0x75,0x74,0x6f]);}function _0x24df4f(){_0x570287[_0x2dc924([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dc924([0x76,0x69,0x65,0x77])][_0x2dc924([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dc924([0x61,0x75,0x74,0x6f]);}}function _0x1136a7(_0x15f5d7){const _0xaa9648=[new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39c22d=>setTimeout(_0x39c22d,0x23e7aa66^_0x40e1e8)),_0x81998d[_0x2dc924([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13ae75=>{let _0x4bdcc5=0x0;_0x570287[_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc924([0x6f,0x6e])](_0x2dc924([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17a346,_0x1ba351)=>{_0x1ba351[0x0][_0x2dc924([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4bdcc5++,_0x4bdcc5==(0x23ee9552^_0x40e1e8)&&(_0x13ae75(),_0x17a346[_0x2dc924([0x6f,0x66,0x66])]());});}))];return window[_0x2dc924([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dc924([0x72,0x61,0x63,0x65])](_0xaa9648)[_0x2dc924([0x74,0x68,0x65,0x6e])](()=>_0x15f5d7);}async function _0x488f05(){await _0x81998d,_0x570287[_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc924([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a808a,_0x570287[_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dc924([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a808a,_0x570287[_0x2dc924([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dc924([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4111af(_0x564ec1){const _0x2b8cb2=_0x4ea8e8();_0x570287[_0x2b8cb2]=_0x2dc924([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x564ec1,_0x564ec1!=_0x2dc924([0x56,0x61,0x6c,0x69,0x64])&&_0x488f05();}function _0x4ea8e8(){const _0xeb5acb=window[_0x2dc924([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dc924([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dc924([0x6e,0x6f,0x77])]())[_0x2dc924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dc924([0x2e]),'');let _0x488b6f=_0x2dc924([0x5a]);for(let _0x393aa9=0x0;_0x393aa9<_0xeb5acb[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x393aa9+=0x2){let _0x2c29af=window[_0x2dc924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xeb5acb[_0x2dc924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x393aa9,_0x393aa9+0x2));_0x2c29af>=_0x2ffc48[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c29af-=_0x2ffc48[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x488b6f+=_0x2ffc48[_0x2c29af];}return _0x488b6f;}function _0x257473(){const _0x48d9de=_0xdd9cc0[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e]));if(0x3!=_0x48d9de[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5257c7(_0x48d9de[0x1]);function _0x5257c7(_0x3831c2){const _0x3945fc=_0x3f9faa(_0x3831c2);return _0x3945fc&&_0x58541f()?_0x3945fc:null;function _0x58541f(){const _0x56deb3=_0x3945fc[_0x2dc924([0x6a,0x74,0x69])],_0x45d74f=window[_0x2dc924([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56deb3[_0x2dc924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56deb3[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc98acc={..._0x3945fc,[_0x2dc924([0x6a,0x74,0x69])]:_0x56deb3[_0x2dc924([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56deb3[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc98acc[_0x2dc924([0x76,0x63])],_0x3bb94f(_0xc98acc)==_0x45d74f;}}}async function _0x220c89(){let _0x127527=!0x0;try{const _0x1bb283=_0xdd9cc0[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])](_0x2dc924([0x2e])),[_0x1db45a,_0x1d0681,_0x23241d]=_0x1bb283;return _0x5672f1(_0x1db45a),await _0x4cc8fc(_0x1db45a,_0x1d0681,_0x23241d),_0x127527;}catch{return!0x1;}function _0x5672f1(_0x1292a6){const _0x2d32f9=_0x3f9faa(_0x1292a6);_0x2d32f9&&_0x2d32f9[_0x2dc924([0x61,0x6c,0x67])]==_0x2dc924([0x45,0x53,0x32,0x35,0x36])||(_0x127527=!0x1);}async function _0x4cc8fc(_0x15ca2d,_0x55cc1f,_0x4feabd){const _0x4f2db4=window[_0x2dc924([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dc924([0x66,0x72,0x6f,0x6d])](_0x560690(_0x4feabd),_0x1be3a8=>_0x1be3a8[_0x2dc924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f852e=new window[(_0x2dc924([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dc924([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x15ca2d+_0x2dc924([0x2e])+_0x55cc1f),_0x198945=window[_0x2dc924([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dc924([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x198945)return;const _0x66d30e=await _0x198945[_0x2dc924([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dc924([0x6a,0x77,0x6b]),_0x3fa322,{[_0x2dc924([0x6e,0x61,0x6d,0x65])]:_0x2dc924([0x45,0x43,0x44,0x53,0x41]),[_0x2dc924([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dc924([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dc924([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x198945[_0x2dc924([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dc924([0x6e,0x61,0x6d,0x65])]:_0x2dc924([0x45,0x43,0x44,0x53,0x41]),[_0x2dc924([0x68,0x61,0x73,0x68])]:{[_0x2dc924([0x6e,0x61,0x6d,0x65])]:_0x2dc924([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x66d30e,_0x4f2db4,_0x3f852e)||(_0x127527=!0x1);}}function _0x3f9faa(_0x177117){return _0x177117[_0x2dc924([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dc924([0x65,0x79]))?JSON[_0x2dc924([0x70,0x61,0x72,0x73,0x65])](_0x560690(_0x177117)):null;}function _0x560690(_0x68f538){return window[_0x2dc924([0x61,0x74,0x6f,0x62])](_0x68f538[_0x2dc924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dc924([0x2b]))[_0x2dc924([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dc924([0x2f])));}function _0x3bb94f(_0x339650){let _0x167541=0x1505;function _0x3a9453(_0x183c0b){for(let _0xa59ecc=0x0;_0xa59ecc<_0x183c0b[_0x2dc924([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa59ecc++){const _0x489605=_0x183c0b[_0x2dc924([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa59ecc);_0x167541=(_0x167541<<0x5)+_0x167541+_0x489605,_0x167541&=_0x167541;}}function _0x5b3447(_0x3d2e0a){Array[_0x2dc924([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d2e0a)?_0x3d2e0a[_0x2dc924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b3447):_0x3d2e0a&&typeof _0x3d2e0a==_0x2dc924([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dc924([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d2e0a)[_0x2dc924([0x73,0x6f,0x72,0x74])]()[_0x2dc924([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28eb23,_0x3b5aa0])=>{_0x3a9453(_0x28eb23),_0x5b3447(_0x3b5aa0);}):_0x3a9453(window[_0x2dc924([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d2e0a));}return _0x5b3447(_0x339650),_0x167541>>>0x0;}function _0x35c3ce(_0x528d14){return _0x528d14[_0x2dc924([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dc924([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dc924([0x30]));}function _0x40b324(_0xbeb0a0){return _0xbeb0a0[_0x2dc924([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dc924([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dc924([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a808a(){}function _0x2dc924(_0x1cce80){return _0x1cce80['map'](_0x54ad2f=>String['fromCharCode'](_0x54ad2f))['join']('');}_0x4111af(await _0x45d86f());}(this);}['_validateConfig'](){const _0x47c08e=this['editor'];if(!_0x47c08e['config']['get']('lineHeight.supportAllValues'))return;const _0x7667e6=_0x47c08e['config']['get']('lineHeight.options')['filter'](_0x193a2e=>'string'==typeof _0x193a2e&&(!f(_0x193a2e)&&isNaN(Number(_0x193a2e))));if(_0x7667e6['length'])throw new _0x24562e('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x7667e6});}['_prepareAnyValueConverters'](){const _0x4c39f6=this['editor'],_0x570109=this['editor']['config']['get']('lineHeight.defaultValue');_0x4c39f6['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x561e77=>String(_0x561e77)===String(_0x570109)?null:{'key':'style','value':{'line-height':_0x561e77}}}),_0x4c39f6['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x2656e9=>{let _0x4ce016=_0x2656e9['getStyle']('line-height');return _0x4ed8be(_0x4ce016)&&(_0x4ce016=String(Number(_0x4ce016['slice'](0x0,-0x1))/0x64)),String(_0x4ce016)===String(_0x570109)?null:_0x4ce016;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3fc459=this['editor'],_0x20bef0=this['editor']['config']['get']('lineHeight.defaultValue'),_0x195964=function(_0x442739,_0x164964){const _0x240753={'model':{'key':_0x442739,'values':[]},'view':{}};for(const _0x19047d of _0x164964)'class'===_0x19047d['view']?.['key']?(_0x240753['model']['values']['push'](_0x19047d['model']),_0x240753['view'][_0x19047d['model']]={'key':'class','value':_0x19047d['view']['value']}):(_0x240753['model']['values']['push'](_0x19047d['model']),_0x240753['view'][_0x19047d['model']]={'key':'style','value':'line-height:'+_0x19047d['model']+';'});return _0x240753;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x1b140c=>_0x1b140c['model']));_0x3fc459['conversion']['attributeToAttribute'](_0x195964),_0x3fc459['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x50cc05=>{let _0x8f601b=_0x50cc05['getStyle']('line-height');return _0x4ed8be(_0x8f601b)&&(_0x8f601b=String(Number(_0x8f601b['slice'](0x0,-0x1))/0x64)),_0x8f601b===String(_0x20bef0)?null:_0x195964['model']['values']['includes'](_0x8f601b)?_0x8f601b:null;}}});}}class r extends _0x572734{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x533c01={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x533c01),this['_registerMenuBarComponent'](_0x533c01),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x652ce8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c1533;for(const _0x3cb1d9 in _0x652ce8){const _0x305986=_0x3cb1d9,_0x2ddc55=_0x652ce8[_0x305986];if('lineHeightLicenseKeyValid'==_0x2ddc55||'lineHeightLicenseKeyInvalid'==_0x2ddc55||'lineHeightLicenseKeyExpired'==_0x2ddc55||'lineHeightLicenseKeyDomainLimit'==_0x2ddc55||'lineHeightLicenseKeyNotAllowed'==_0x2ddc55||'lineHeightLicenseKeyEvaluationLimit'==_0x2ddc55||'lineHeightLicenseKeyTrialLimit'==_0x2ddc55||'lineHeightLicenseKeyUsageLimit'==_0x2ddc55){delete _0x652ce8[_0x305986],_0x2c1533=_0x2ddc55,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2c1533&&_0x652ce8['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2c1533&&_0x652ce8['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2c1533&&_0x652ce8['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2c1533&&_0x652ce8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x17b27d=this['editor'],t=_0x17b27d['t'],_0x3248dc=_0x17b27d['config']['get']('lineHeight'),_0x37d04e={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x3248dc)['map'](_0x1a94bf=>{const _0x4eff62=_0x37d04e[_0x1a94bf['title']];return _0x4eff62&&_0x4eff62!=_0x1a94bf['title']&&(_0x1a94bf=Object['assign']({},_0x1a94bf,{'title':_0x4eff62})),_0x1a94bf;});}['_prepareListOptions'](){const _0x288184=this['editor']['commands']['get']('lineHeight'),_0x3f1347=this['editor']['config']['get']('lineHeight.defaultValue'),_0x7c532d=this['_getLocalizedLineHeightOptions'](),_0x3f4d76=new _0x4b7292(),_0x354f66=_0x55490e=>'default'===_0x55490e||String(_0x3f1347)===_0x55490e;for(const _0x2ad9a7 of _0x7c532d){const _0x2158f6={'type':'button','model':new _0x4bdda3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2ad9a7['title'],'withText':!0x0})};_0x354f66(_0x2ad9a7['model'])?(_0x2158f6['model']['bind']('isOn')['to'](_0x288184,'value',_0x65666d=>!_0x65666d),_0x2158f6['model']['commandParam']=void 0x0):(_0x2158f6['model']['bind']('isOn')['to'](_0x288184,'value',_0x1e5cfa=>_0x1e5cfa===_0x2ad9a7['model']),_0x2158f6['model']['commandParam']=_0x2ad9a7['model']),_0x3f4d76['add'](_0x2158f6);}if(this['_shouldRenderCustomValueOption']()){const _0x3970e2=this['_getCustomValueOptionDefinition'](_0x7c532d);_0x3f4d76['add'](_0x3970e2);}return _0x3f4d76;}['_getCustomValueOptionDefinition'](_0x21e54b){const _0x4b8fbd=this['editor'],t=_0x4b8fbd['t'],_0x2fd058=_0x4b8fbd['commands']['get']('lineHeight'),_0x5a5fba=_0x21e54b['map'](_0x737156=>_0x737156['model']),_0x14bd69={'type':'button','model':new _0x4bdda3({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x14bd69['model']['bind']('commandParam')['to'](_0x2fd058,'value'),_0x14bd69['model']['bind']('isOn')['to'](_0x2fd058,'value',_0x446430=>!!_0x446430&&!_0x5a5fba['includes'](String(_0x446430))),_0x14bd69['model']['bind']('label')['to'](_0x2fd058,'value',_0x1dcdc6=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1dcdc6))),_0x14bd69;}['_registerToolbarComponent']({accessibleLabel:_0x532d8a,options:_0x2fcc9a}){const _0x318e52=this['editor'],_0x32c70c=_0x318e52['commands']['get']('lineHeight');_0x318e52['ui']['componentFactory']['add']('lineHeight',_0x23ccb8=>{const _0x5acfe7=_0xd83fa5(_0x23ccb8);return _0x29ffd8(_0x5acfe7,_0x2fcc9a,{'role':'menu','ariaLabel':_0x532d8a}),_0x5acfe7['buttonView']['set']({'label':_0x532d8a,'tooltip':!0x0,'icon':_0x17b5cf}),_0x5acfe7['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5acfe7['bind']('isEnabled')['to'](_0x32c70c),this['listenTo'](_0x5acfe7,'execute',_0x266d43=>{_0x318e52['execute'](_0x266d43['source']['commandName'],{'value':_0x266d43['source']['commandParam']}),_0x318e52['editing']['view']['focus']();}),_0x5acfe7['once']('change:isOpen',()=>{const _0x5d00a3=_0x5acfe7['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5acfe7,_0x2fcc9a,_0x5d00a3);}),_0x5acfe7;});}['_registerMenuBarComponent']({accessibleLabel:_0x41ca69,options:_0x549e74}){const _0xbb723d=this['editor'],_0x13774f=_0xbb723d['commands']['get']('lineHeight');_0xbb723d['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2608c5=>{const _0x21b36c=new _0x2ec5a9(_0x2608c5);_0x21b36c['buttonView']['set']({'label':_0x41ca69,'icon':_0x17b5cf}),_0x21b36c['bind']('isEnabled')['to'](_0x13774f);const _0x537491=new _0x5b4a6b(_0x2608c5);for(const _0x46a28c of _0x549e74){const _0x5a26d9=new _0x5cd765(_0x2608c5,_0x21b36c),_0x260b61=new _0x23ba64(_0x2608c5);_0x260b61['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x260b61['bind'](...Object['keys'](_0x46a28c['model']))['to'](_0x46a28c['model']),_0x260b61['delegate']('execute')['to'](_0x21b36c),_0x260b61['on']('execute',()=>{_0xbb723d['execute'](_0x46a28c['model']['commandName'],{'value':_0x46a28c['model']['commandParam']}),_0xbb723d['editing']['view']['focus']();}),_0x5a26d9['children']['add'](_0x260b61),_0x537491['items']['add'](_0x5a26d9);}return _0x21b36c['panelView']['children']['add'](_0x537491),this['_attachCustomOptionVisibilityHandler'](_0x21b36c,_0x549e74,_0x537491),_0x21b36c;});}['_attachCustomOptionVisibilityHandler'](_0x1e559e,_0x1221d7,_0x169bbe){if(!this['_shouldRenderCustomValueOption']())return;const _0x4a8661=()=>{if(!_0x1e559e['isOpen'])return;_0x169bbe['items']['last']['isVisible']=Boolean(_0x1221d7['last']['model']['isOn']);};_0x4a8661(),_0x1e559e['on']('change:isOpen',()=>{_0x4a8661();});}}class k extends _0x572734{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 _0x506f41,Plugin as _0xbebd3b}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x3a19c0,CKEditorError as _0x358040,uid as _0x180fa0,Collection as _0x315727}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x4e99ca}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x1c5c3c,createDropdown as _0x377e01,addListToDropdown as _0x30502f,MenuBarMenuView as _0x8ce064,MenuBarMenuListView as _0x1d7170,MenuBarMenuListItemView as _0x370d9e,MenuBarMenuListItemButtonView as _0x179728}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x13c0a2}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x506f41{['refresh'](){const _0x535b52=this['editor']['model']['document'],_0x3caee1=_0x3a19c0(_0x535b52['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x3caee1)&&this['_canHaveLineHeight'](_0x3caee1),this['value']=this['isEnabled']&&_0x3caee1['getAttribute']('lineHeight');}['execute'](_0x1b81e3={}){const _0x516ca1=this['editor']['model'],_0x2f8bbe=_0x516ca1['document']['selection'],_0xaf1529=_0x1b81e3['value'];_0x516ca1['change'](_0x3e16eb=>{const _0x5bb6ff=Array['from'](_0x2f8bbe['getSelectedBlocks']())['filter'](_0x5622b9=>this['_canHaveLineHeight'](_0x5622b9));for(const _0xd6c955 of _0x5bb6ff)_0xaf1529?_0x3e16eb['setAttribute']('lineHeight',_0xaf1529,_0xd6c955):_0x3e16eb['removeAttribute']('lineHeight',_0xd6c955);});}['_canHaveLineHeight'](_0x25aac8){return this['editor']['model']['schema']['checkAttribute'](_0x25aac8,'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(_0x3afc3f){return'string'==typeof _0x3afc3f&&'default'===_0x3afc3f['toLowerCase']();}function a(_0x62bfd2){return _0x62bfd2['options']['map'](_0x16393c=>{return f(_0x16393c)?{'title':String(_0x62bfd2['defaultValue']),'model':'default'}:('number'==typeof _0x16393c&&(_0x16393c=String(_0x16393c)),'string'!=typeof _0x16393c?_0x16393c:parseFloat(_0x16393c)?{'title':_0x16393c,'model':_0x16393c,'view':{'name':'span','styles':{'line-height':_0x16393c}}}:'string'==typeof(_0x4b6e49=_0x16393c)?v[_0x4b6e49]:v[_0x4b6e49['model']]);var _0x4b6e49;})['filter'](_0x340336=>void 0x0!==_0x340336);}class e extends _0xbebd3b{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ca728){super(_0x2ca728),_0x2ca728['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0xad3708=this['editor'];this['_validateConfig'](),_0xad3708['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0xad3708['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0xad3708['commands']['add']('lineHeight',new n(_0xad3708)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x1f99bc){const _0x16146d=_0x410c70([0x76,0x6d,0x70,0x56,0x64,0x59,0x41,0x34,0x68,0x43,0x46,0x32,0x6b,0x61,0x5a,0x63,0x72,0x73,0x48,0x31,0x6f,0x54,0x75,0x4d,0x47,0x55,0x4a,0x39,0x52,0x53,0x77,0x62,0x69,0x38,0x6c,0x57,0x37,0x4c,0x7a,0x49,0x36,0x65,0x78,0x4f,0x6e,0x71,0x67,0x4e,0x79,0x51,0x35,0x44,0x30,0x50,0x4b,0x33,0x58,0x42,0x6a,0x45,0x74,0x66]),_0x4efec0=0x2f04ad25,_0xab2c93=0x2f03c1bd^_0x4efec0,_0x3d3d41=window[_0x410c70([0x44,0x61,0x74,0x65])][_0x410c70([0x6e,0x6f,0x77])](),_0x56c5e2=_0x1f99bc[_0x410c70([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfdc53a=new window[(_0x410c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39799e=>{_0x56c5e2[_0x410c70([0x6f,0x6e,0x63,0x65])](_0x410c70([0x72,0x65,0x61,0x64,0x79]),_0x39799e);}),_0x515424={[_0x410c70([0x6b,0x74,0x79])]:_0x410c70([0x45,0x43]),[_0x410c70([0x75,0x73,0x65])]:_0x410c70([0x73,0x69,0x67]),[_0x410c70([0x63,0x72,0x76])]:_0x410c70([0x50,0x2d,0x32,0x35,0x36]),[_0x410c70([0x78])]:_0x410c70([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]),[_0x410c70([0x79])]:_0x410c70([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]),[_0x410c70([0x61,0x6c,0x67])]:_0x410c70([0x45,0x53,0x32,0x35,0x36])},_0x119c2c=_0x56c5e2[_0x410c70([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x410c70([0x67,0x65,0x74])](_0x410c70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e06e8(){let _0x529e87,_0x4d78cb=null,_0x483706=null;try{if(_0x119c2c==_0x410c70([0x47,0x50,0x4c]))return _0x410c70([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x529e87=_0x18ce5c(),!_0x529e87)return _0x410c70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x529e87[_0x410c70([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x483706=_0x535b7b(_0x529e87[_0x410c70([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x529e87[_0x410c70([0x6a,0x74,0x69])])),await _0x3a6764()?_0x1ae2e1()?_0x29afa1()?_0x410c70([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x15bc4b()?(_0x529e87[_0x410c70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x410c70([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d78cb=_0xd4c84b(_0x410c70([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x529e87[_0x410c70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x410c70([0x74,0x72,0x69,0x61,0x6c])&&(_0x4d78cb=_0xd4c84b(_0x410c70([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f48f7()):_0x410c70([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x410c70([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x410c70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x410c70([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29afa1(){const _0x1ea86a=[_0x410c70([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x410c70([0x74,0x72,0x69,0x61,0x6c])][_0x410c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x529e87[_0x410c70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d3d41/0x3e8:0xe10*_0xab2c93;return _0x529e87[_0x410c70([0x65,0x78,0x70])]<_0x1ea86a;}function _0x1ae2e1(){const _0x3d1f7e=_0x529e87[_0x410c70([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d1f7e&&(!!_0x3d1f7e[_0x410c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410c70([0x2a]))||!!_0x3d1f7e[_0x410c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410c70([0x4c,0x48])));}function _0x15bc4b(){const _0x31ad69=_0x529e87[_0x410c70([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31ad69||0x0==_0x31ad69[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc03140}=new URL(window[_0x410c70([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31ad69[_0x410c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc03140))return!0x0;const _0x13a45a=_0xc03140[_0x410c70([0x73,0x70,0x6c,0x69,0x74])](_0x410c70([0x2e]));return _0x31ad69[_0x410c70([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cdef0=>_0x3cdef0[_0x410c70([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x410c70([0x2a])))[_0x410c70([0x6d,0x61,0x70])](_0x54e027=>_0x54e027[_0x410c70([0x73,0x70,0x6c,0x69,0x74])](_0x410c70([0x2e])))[_0x410c70([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x558fb4=>_0x558fb4[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13a45a[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x410c70([0x6d,0x61,0x70])](_0x3a104b=>Array(_0x13a45a[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a104b[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x410c70([0x66,0x69,0x6c,0x6c])](_0x3a104b[0x0]===_0x410c70([0x2a])?_0x410c70([0x2a]):'')[_0x410c70([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a104b))[_0x410c70([0x73,0x6f,0x6d,0x65])](_0x562e4c=>_0x13a45a[_0x410c70([0x65,0x76,0x65,0x72,0x79])]((_0x58c3d4,_0x12448d)=>_0x562e4c[_0x12448d]===_0x58c3d4||_0x562e4c[_0x12448d]===_0x410c70([0x2a])));}function _0x1f48f7(){return _0x4d78cb&&_0x483706?new window[(_0x410c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x414e44,_0x5ba7d4)=>{_0x4d78cb[_0x410c70([0x74,0x68,0x65,0x6e])](_0x414e44,_0x5ba7d4),_0x483706[_0x410c70([0x74,0x68,0x65,0x6e])](_0x4d1390=>{_0x4d1390!=_0x410c70([0x56,0x61,0x6c,0x69,0x64])&&_0x414e44(_0x4d1390);},_0x5ba7d4);}):_0x4d78cb||_0x483706||_0x410c70([0x56,0x61,0x6c,0x69,0x64]);}}function _0x535b7b(_0x5f8683,_0xf9875e){return new window[(_0x410c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a0e62=>{if(_0x1be8ea())return _0x2a0e62(_0x410c70([0x56,0x61,0x6c,0x69,0x64]));_0x7b133a(),_0x56c5e2[_0x410c70([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x410c70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3b8027=!0x1;const _0x21b523=_0x180fa0();function _0x2ed6e5(_0x36f610){return!!_0x36f610&&(typeof _0x36f610===_0x410c70([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36f610===_0x410c70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36f610[_0x410c70([0x74,0x68,0x65,0x6e])]===_0x410c70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36f610[_0x410c70([0x63,0x61,0x74,0x63,0x68])]===_0x410c70([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21f787(_0x15c87a){_0x4f58bc(_0x15c87a)[_0x410c70([0x74,0x68,0x65,0x6e])](_0x4fa92b=>{if(!_0x4fa92b||_0x4fa92b[_0x410c70([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x410c70([0x6f,0x6b]))return _0x410c70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x227386(_0x5d4db4(_0x21b523+_0xf9875e))!=_0x4fa92b[_0x410c70([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x410c70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x410c70([0x56,0x61,0x6c,0x69,0x64]);})[_0x410c70([0x74,0x68,0x65,0x6e])](_0x7ce3ae=>(_0x4db2a5(),_0x7ce3ae),()=>{const _0x20c49a=_0x507bb0();return null==_0x20c49a?(_0x4db2a5(),_0x410c70([0x56,0x61,0x6c,0x69,0x64])):_0x410c70(_0x3d3d41-_0x20c49a>(0xb082925^_0x4efec0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x410c70([0x74,0x68,0x65,0x6e])](_0x2a0e62)[_0x410c70([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a0e62(_0x410c70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x206c83=0x2f3243a5^_0x4efec0;function _0x4db2a5(){const _0x440dbc=_0x410c70([0x6c,0x6c,0x63,0x74,0x2d])+_0x227386(_0x5d4db4(_0x5f8683)),_0x36e18a=_0x56bef2(_0x227386(window[_0x410c70([0x4d,0x61,0x74,0x68])][_0x410c70([0x63,0x65,0x69,0x6c])](_0x3d3d41/_0x206c83)));window[_0x410c70([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x410c70([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x440dbc,_0x36e18a);}function _0x507bb0(){const _0x147b5c=_0x410c70([0x6c,0x6c,0x63,0x74,0x2d])+_0x227386(_0x5d4db4(_0x5f8683)),_0xd352b=window[_0x410c70([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x410c70([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x147b5c);return _0xd352b?window[_0x410c70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56bef2(_0xd352b),0x10)*_0x206c83:null;}function _0x4f58bc(_0xcad32d){return new window[(_0x410c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8308cf,_0x16104a)=>{_0xcad32d[_0x410c70([0x74,0x68,0x65,0x6e])](_0x8308cf,_0x16104a),window[_0x410c70([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16104a,0x2f0579e5^_0x4efec0);});}}_0x56c5e2[_0x410c70([0x6f,0x6e])](_0x410c70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x24a6a1,_0xc0db87)=>{if(_0xc0db87[0x0]!=_0x5f8683)return _0x2a0e62(_0x410c70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc0db87[0x1]={..._0xc0db87[0x1],[_0x410c70([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21b523};},{[_0x410c70([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x410c70([0x68,0x69,0x67,0x68])}),_0x56c5e2[_0x410c70([0x6f,0x6e])](_0x410c70([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c443f=>{_0x2ed6e5(_0x1c443f[_0x410c70([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3b8027=!0x0,_0x21f787(_0x1c443f[_0x410c70([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x410c70([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x410c70([0x6c,0x6f,0x77])}),_0xfdc53a[_0x410c70([0x74,0x68,0x65,0x6e])](()=>{_0x3b8027||_0x2a0e62(_0x410c70([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1be8ea(){return _0x56c5e2[_0x410c70([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x410c70([0x76,0x69,0x65,0x77])][_0x410c70([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x410c70([0x61,0x75,0x74,0x6f]);}function _0x7b133a(){_0x56c5e2[_0x410c70([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x410c70([0x76,0x69,0x65,0x77])][_0x410c70([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x410c70([0x61,0x75,0x74,0x6f]);}}function _0xd4c84b(_0x9ada8d){const _0x10c722=[new window[(_0x410c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13006f=>setTimeout(_0x13006f,0x2f0d93e9^_0x4efec0)),_0xfdc53a[_0x410c70([0x74,0x68,0x65,0x6e])](()=>new window[(_0x410c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37d42b=>{let _0x215182=0x0;_0x56c5e2[_0x410c70([0x6d,0x6f,0x64,0x65,0x6c])][_0x410c70([0x6f,0x6e])](_0x410c70([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4acfd7,_0x3f6a80)=>{_0x3f6a80[0x0][_0x410c70([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x215182++,_0x215182==(0x2f04acdd^_0x4efec0)&&(_0x37d42b(),_0x4acfd7[_0x410c70([0x6f,0x66,0x66])]());});}))];return window[_0x410c70([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x410c70([0x72,0x61,0x63,0x65])](_0x10c722)[_0x410c70([0x74,0x68,0x65,0x6e])](()=>_0x9ada8d);}async function _0x5e034f(){await _0xfdc53a,_0x56c5e2[_0x410c70([0x6d,0x6f,0x64,0x65,0x6c])][_0x410c70([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c9d06,_0x56c5e2[_0x410c70([0x6d,0x6f,0x64,0x65,0x6c])][_0x410c70([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c9d06,_0x56c5e2[_0x410c70([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x410c70([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f7726(_0x4c3efa){const _0x46fd32=_0x300266();_0x56c5e2[_0x46fd32]=_0x410c70([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c3efa,_0x4c3efa!=_0x410c70([0x56,0x61,0x6c,0x69,0x64])&&_0x5e034f();}function _0x300266(){const _0x1f80fc=window[_0x410c70([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x410c70([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x410c70([0x6e,0x6f,0x77])]())[_0x410c70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x410c70([0x2e]),'');let _0x51fe46=_0x410c70([0x76]);for(let _0x53bacf=0x0;_0x53bacf<_0x1f80fc[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53bacf+=0x2){let _0x5f38c8=window[_0x410c70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f80fc[_0x410c70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53bacf,_0x53bacf+0x2));_0x5f38c8>=_0x16146d[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5f38c8-=_0x16146d[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51fe46+=_0x16146d[_0x5f38c8];}return _0x51fe46;}function _0x18ce5c(){const _0x4a4553=_0x119c2c[_0x410c70([0x73,0x70,0x6c,0x69,0x74])](_0x410c70([0x2e]));if(0x3!=_0x4a4553[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x399793(_0x4a4553[0x1]);function _0x399793(_0x3fd3d6){const _0x1ccbf9=_0x5e21bc(_0x3fd3d6);return _0x1ccbf9&&_0x290c91()?_0x1ccbf9:null;function _0x290c91(){const _0x57f0e1=_0x1ccbf9[_0x410c70([0x6a,0x74,0x69])],_0x30abee=window[_0x410c70([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57f0e1[_0x410c70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57f0e1[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x46fcc0={..._0x1ccbf9,[_0x410c70([0x6a,0x74,0x69])]:_0x57f0e1[_0x410c70([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x57f0e1[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x46fcc0[_0x410c70([0x76,0x63])],_0x5d4db4(_0x46fcc0)==_0x30abee;}}}async function _0x3a6764(){let _0x2cae03=!0x0;try{const _0x309d76=_0x119c2c[_0x410c70([0x73,0x70,0x6c,0x69,0x74])](_0x410c70([0x2e])),[_0xfd3fa4,_0x78aaf3,_0x4da2b9]=_0x309d76;return _0x3c512b(_0xfd3fa4),await _0x3328bd(_0xfd3fa4,_0x78aaf3,_0x4da2b9),_0x2cae03;}catch{return!0x1;}function _0x3c512b(_0x487af3){const _0x39ff7a=_0x5e21bc(_0x487af3);_0x39ff7a&&_0x39ff7a[_0x410c70([0x61,0x6c,0x67])]==_0x410c70([0x45,0x53,0x32,0x35,0x36])||(_0x2cae03=!0x1);}async function _0x3328bd(_0x3cf45e,_0x8b7939,_0x2266fc){const _0x131888=window[_0x410c70([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x410c70([0x66,0x72,0x6f,0x6d])](_0x5775b0(_0x2266fc),_0x1e7943=>_0x1e7943[_0x410c70([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e29ff=new window[(_0x410c70([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x410c70([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cf45e+_0x410c70([0x2e])+_0x8b7939),_0x5df2f4=window[_0x410c70([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x410c70([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5df2f4)return;const _0x16b3e6=await _0x5df2f4[_0x410c70([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x410c70([0x6a,0x77,0x6b]),_0x515424,{[_0x410c70([0x6e,0x61,0x6d,0x65])]:_0x410c70([0x45,0x43,0x44,0x53,0x41]),[_0x410c70([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x410c70([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x410c70([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5df2f4[_0x410c70([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x410c70([0x6e,0x61,0x6d,0x65])]:_0x410c70([0x45,0x43,0x44,0x53,0x41]),[_0x410c70([0x68,0x61,0x73,0x68])]:{[_0x410c70([0x6e,0x61,0x6d,0x65])]:_0x410c70([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16b3e6,_0x131888,_0x3e29ff)||(_0x2cae03=!0x1);}}function _0x5e21bc(_0x11b004){return _0x11b004[_0x410c70([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x410c70([0x65,0x79]))?JSON[_0x410c70([0x70,0x61,0x72,0x73,0x65])](_0x5775b0(_0x11b004)):null;}function _0x5775b0(_0x564349){return window[_0x410c70([0x61,0x74,0x6f,0x62])](_0x564349[_0x410c70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x410c70([0x2b]))[_0x410c70([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x410c70([0x2f])));}function _0x5d4db4(_0x4c7f36){let _0x1e0ea5=0x1505;function _0x56524f(_0x2d78cc){for(let _0x1347a6=0x0;_0x1347a6<_0x2d78cc[_0x410c70([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1347a6++){const _0x91be77=_0x2d78cc[_0x410c70([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1347a6);_0x1e0ea5=(_0x1e0ea5<<0x5)+_0x1e0ea5+_0x91be77,_0x1e0ea5&=_0x1e0ea5;}}function _0x4fa748(_0x41d215){Array[_0x410c70([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41d215)?_0x41d215[_0x410c70([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4fa748):_0x41d215&&typeof _0x41d215==_0x410c70([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x410c70([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41d215)[_0x410c70([0x73,0x6f,0x72,0x74])]()[_0x410c70([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd73565,_0x4dcca7])=>{_0x56524f(_0xd73565),_0x4fa748(_0x4dcca7);}):_0x56524f(window[_0x410c70([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41d215));}return _0x4fa748(_0x4c7f36),_0x1e0ea5>>>0x0;}function _0x227386(_0x3b433a){return _0x3b433a[_0x410c70([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x410c70([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x410c70([0x30]));}function _0x56bef2(_0x929d37){return _0x929d37[_0x410c70([0x73,0x70,0x6c,0x69,0x74])]('')[_0x410c70([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x410c70([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c9d06(){}function _0x410c70(_0x39357c){return _0x39357c['map'](_0x368734=>String['fromCharCode'](_0x368734))['join']('');}_0x1f7726(await _0x5e06e8());}(this);}['_validateConfig'](){const _0x42d1a6=this['editor'];if(!_0x42d1a6['config']['get']('lineHeight.supportAllValues'))return;const _0x17f885=_0x42d1a6['config']['get']('lineHeight.options')['filter'](_0x13227b=>'string'==typeof _0x13227b&&(!f(_0x13227b)&&isNaN(Number(_0x13227b))));if(_0x17f885['length'])throw new _0x358040('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x17f885});}['_prepareAnyValueConverters'](){const _0x4bd43d=this['editor'],_0x2eb05=this['editor']['config']['get']('lineHeight.defaultValue');_0x4bd43d['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x3b6d58=>String(_0x3b6d58)===String(_0x2eb05)?null:{'key':'style','value':{'line-height':_0x3b6d58}}}),_0x4bd43d['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x54d28e=>{let _0x145413=_0x54d28e['getStyle']('line-height');return _0x4e99ca(_0x145413)&&(_0x145413=String(Number(_0x145413['slice'](0x0,-0x1))/0x64)),String(_0x145413)===String(_0x2eb05)?null:_0x145413;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x9a4dec=this['editor'],_0x28930f=this['editor']['config']['get']('lineHeight.defaultValue'),_0xc56eaf=function(_0x5f2d55,_0x164523){const _0x550641={'model':{'key':_0x5f2d55,'values':[]},'view':{}};for(const _0x18c793 of _0x164523)'class'===_0x18c793['view']?.['key']?(_0x550641['model']['values']['push'](_0x18c793['model']),_0x550641['view'][_0x18c793['model']]={'key':'class','value':_0x18c793['view']['value']}):(_0x550641['model']['values']['push'](_0x18c793['model']),_0x550641['view'][_0x18c793['model']]={'key':'style','value':'line-height:'+_0x18c793['model']+';'});return _0x550641;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x787357=>_0x787357['model']));_0x9a4dec['conversion']['attributeToAttribute'](_0xc56eaf),_0x9a4dec['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x147047=>{let _0x51abe9=_0x147047['getStyle']('line-height');return _0x4e99ca(_0x51abe9)&&(_0x51abe9=String(Number(_0x51abe9['slice'](0x0,-0x1))/0x64)),_0x51abe9===String(_0x28930f)?null:_0xc56eaf['model']['values']['includes'](_0x51abe9)?_0x51abe9:null;}}});}}class r extends _0xbebd3b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x46b581={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x46b581),this['_registerMenuBarComponent'](_0x46b581),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xc843f5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4b20ed;for(const _0x242808 in _0xc843f5){const _0x13c2bc=_0x242808,_0x3681e2=_0xc843f5[_0x13c2bc];if('lineHeightLicenseKeyValid'==_0x3681e2||'lineHeightLicenseKeyInvalid'==_0x3681e2||'lineHeightLicenseKeyExpired'==_0x3681e2||'lineHeightLicenseKeyDomainLimit'==_0x3681e2||'lineHeightLicenseKeyNotAllowed'==_0x3681e2||'lineHeightLicenseKeyEvaluationLimit'==_0x3681e2||'lineHeightLicenseKeyTrialLimit'==_0x3681e2||'lineHeightLicenseKeyUsageLimit'==_0x3681e2){delete _0xc843f5[_0x13c2bc],_0x4b20ed=_0x3681e2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4b20ed&&_0xc843f5['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4b20ed&&_0xc843f5['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4b20ed&&_0xc843f5['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4b20ed&&_0xc843f5['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4b20ed&&_0xc843f5['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4b20ed&&_0xc843f5['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4b20ed&&_0xc843f5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x49f2ae=this['editor'],t=_0x49f2ae['t'],_0x2e5767=_0x49f2ae['config']['get']('lineHeight'),_0x2b5c22={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x2e5767)['map'](_0x3d51b7=>{const _0xa5f157=_0x2b5c22[_0x3d51b7['title']];return _0xa5f157&&_0xa5f157!=_0x3d51b7['title']&&(_0x3d51b7=Object['assign']({},_0x3d51b7,{'title':_0xa5f157})),_0x3d51b7;});}['_prepareListOptions'](){const _0x17985e=this['editor']['commands']['get']('lineHeight'),_0x23a4ec=this['editor']['config']['get']('lineHeight.defaultValue'),_0x28cd58=this['_getLocalizedLineHeightOptions'](),_0x1d2b26=new _0x315727(),_0x55d8c5=_0xe27f65=>'default'===_0xe27f65||String(_0x23a4ec)===_0xe27f65;for(const _0x479374 of _0x28cd58){const _0x19a02c={'type':'button','model':new _0x1c5c3c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x479374['title'],'withText':!0x0})};_0x55d8c5(_0x479374['model'])?(_0x19a02c['model']['bind']('isOn')['to'](_0x17985e,'value',_0x1c235b=>!_0x1c235b),_0x19a02c['model']['commandParam']=void 0x0):(_0x19a02c['model']['bind']('isOn')['to'](_0x17985e,'value',_0x3d5124=>_0x3d5124===_0x479374['model']),_0x19a02c['model']['commandParam']=_0x479374['model']),_0x1d2b26['add'](_0x19a02c);}if(this['_shouldRenderCustomValueOption']()){const _0x36ee61=this['_getCustomValueOptionDefinition'](_0x28cd58);_0x1d2b26['add'](_0x36ee61);}return _0x1d2b26;}['_getCustomValueOptionDefinition'](_0x95d522){const _0x1c3512=this['editor'],t=_0x1c3512['t'],_0x4f142b=_0x1c3512['commands']['get']('lineHeight'),_0x3f2df7=_0x95d522['map'](_0x27041c=>_0x27041c['model']),_0x2c368f={'type':'button','model':new _0x1c5c3c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2c368f['model']['bind']('commandParam')['to'](_0x4f142b,'value'),_0x2c368f['model']['bind']('isOn')['to'](_0x4f142b,'value',_0xd71e96=>!!_0xd71e96&&!_0x3f2df7['includes'](String(_0xd71e96))),_0x2c368f['model']['bind']('label')['to'](_0x4f142b,'value',_0x1ee4ea=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x1ee4ea))),_0x2c368f;}['_registerToolbarComponent']({accessibleLabel:_0xa44bb1,options:_0x3a022f}){const _0x89f33a=this['editor'],_0x135e0d=_0x89f33a['commands']['get']('lineHeight');_0x89f33a['ui']['componentFactory']['add']('lineHeight',_0x4500e2=>{const _0x5d553a=_0x377e01(_0x4500e2);return _0x30502f(_0x5d553a,_0x3a022f,{'role':'menu','ariaLabel':_0xa44bb1}),_0x5d553a['buttonView']['set']({'label':_0xa44bb1,'tooltip':!0x0,'icon':_0x13c0a2}),_0x5d553a['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5d553a['bind']('isEnabled')['to'](_0x135e0d),this['listenTo'](_0x5d553a,'execute',_0x24ec49=>{_0x89f33a['execute'](_0x24ec49['source']['commandName'],{'value':_0x24ec49['source']['commandParam']}),_0x89f33a['editing']['view']['focus']();}),_0x5d553a['once']('change:isOpen',()=>{const _0x103779=_0x5d553a['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5d553a,_0x3a022f,_0x103779);}),_0x5d553a;});}['_registerMenuBarComponent']({accessibleLabel:_0x3dac5d,options:_0x3aefcc}){const _0x569d0f=this['editor'],_0xb7c88c=_0x569d0f['commands']['get']('lineHeight');_0x569d0f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3aa928=>{const _0x237a63=new _0x8ce064(_0x3aa928);_0x237a63['buttonView']['set']({'label':_0x3dac5d,'icon':_0x13c0a2}),_0x237a63['bind']('isEnabled')['to'](_0xb7c88c);const _0x10a459=new _0x1d7170(_0x3aa928);for(const _0x290c7c of _0x3aefcc){const _0x2932c0=new _0x370d9e(_0x3aa928,_0x237a63),_0x24a6b2=new _0x179728(_0x3aa928);_0x24a6b2['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x24a6b2['bind'](...Object['keys'](_0x290c7c['model']))['to'](_0x290c7c['model']),_0x24a6b2['delegate']('execute')['to'](_0x237a63),_0x24a6b2['on']('execute',()=>{_0x569d0f['execute'](_0x290c7c['model']['commandName'],{'value':_0x290c7c['model']['commandParam']}),_0x569d0f['editing']['view']['focus']();}),_0x2932c0['children']['add'](_0x24a6b2),_0x10a459['items']['add'](_0x2932c0);}return _0x237a63['panelView']['children']['add'](_0x10a459),this['_attachCustomOptionVisibilityHandler'](_0x237a63,_0x3aefcc,_0x10a459),_0x237a63;});}['_attachCustomOptionVisibilityHandler'](_0x508c87,_0xaf44db,_0x23c3bc){if(!this['_shouldRenderCustomValueOption']())return;const _0x553f1f=()=>{if(!_0x508c87['isOpen'])return;_0x23c3bc['items']['last']['isVisible']=Boolean(_0xaf44db['last']['model']['isOn']);};_0x553f1f(),_0x508c87['on']('change:isOpen',()=>{_0x553f1f();});}}class k extends _0xbebd3b{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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-line-height",
3
- "version": "0.0.0-nightly-20250702.0",
3
+ "version": "0.0.0-nightly-20250704.0",
4
4
  "description": "Line height feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,12 +13,12 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250702.0",
17
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250702.0",
18
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250702.0",
19
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250702.0",
20
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250702.0",
21
- "ckeditor5": "0.0.0-nightly-20250702.0"
16
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250704.0",
17
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250704.0",
18
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250704.0",
19
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250704.0",
20
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250704.0",
21
+ "ckeditor5": "0.0.0-nightly-20250704.0"
22
22
  },
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "author": "CKSource (https://cksource.com/)",
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x420917,_0x2922ca){var _0x1e2eb6=_0xf5c9,_0x23eed6=_0x420917();while(!![]){try{var _0x19531e=-parseInt(_0x1e2eb6(0xa1))/0x1*(-parseInt(_0x1e2eb6(0x98))/0x2)+parseInt(_0x1e2eb6(0x9d))/0x3+-parseInt(_0x1e2eb6(0x9a))/0x4+-parseInt(_0x1e2eb6(0x9e))/0x5*(-parseInt(_0x1e2eb6(0x9f))/0x6)+-parseInt(_0x1e2eb6(0x99))/0x7*(-parseInt(_0x1e2eb6(0x9b))/0x8)+parseInt(_0x1e2eb6(0xa0))/0x9+-parseInt(_0x1e2eb6(0x9c))/0xa;if(_0x19531e===_0x2922ca)break;else _0x23eed6['push'](_0x23eed6['shift']());}catch(_0x1d5b3b){_0x23eed6['push'](_0x23eed6['shift']());}}}(_0x32a8,0xd37d8));export{LineHeight}from'./lineheight.js';function _0x32a8(){var _0x106867=['80OFItsN','43887190sHEXYl','2440077KYdNDP','335vSfMLh','91434dCiWCM','10793223CtreFG','1641677uFSKmw','2laduDz','779212jMwIQw','2133892WQNAXP'];_0x32a8=function(){return _0x106867;};return _0x32a8();}function _0xf5c9(_0x50e37f,_0x12e0e4){var _0x32a837=_0x32a8();return _0xf5c9=function(_0xf5c99a,_0x353b9d){_0xf5c99a=_0xf5c99a-0x98;var _0x2258ff=_0x32a837[_0xf5c99a];return _0x2258ff;},_0xf5c9(_0x50e37f,_0x12e0e4);}export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';import'./augmentation.js';
23
+ (function(_0x57d748,_0x5c1b0e){var _0x3d6599=_0x1ae6,_0x4c0b7d=_0x57d748();while(!![]){try{var _0x1814ea=-parseInt(_0x3d6599(0x151))/0x1*(-parseInt(_0x3d6599(0x14c))/0x2)+-parseInt(_0x3d6599(0x150))/0x3*(-parseInt(_0x3d6599(0x152))/0x4)+parseInt(_0x3d6599(0x14e))/0x5*(-parseInt(_0x3d6599(0x154))/0x6)+-parseInt(_0x3d6599(0x14a))/0x7*(parseInt(_0x3d6599(0x153))/0x8)+parseInt(_0x3d6599(0x14b))/0x9+parseInt(_0x3d6599(0x14f))/0xa+parseInt(_0x3d6599(0x14d))/0xb;if(_0x1814ea===_0x5c1b0e)break;else _0x4c0b7d['push'](_0x4c0b7d['shift']());}catch(_0x2e83a6){_0x4c0b7d['push'](_0x4c0b7d['shift']());}}}(_0x16c2,0xcb8bf));export{LineHeight}from'./lineheight.js';function _0x1ae6(_0x25dc0c,_0x1d2fbd){var _0x16c26e=_0x16c2();return _0x1ae6=function(_0x1ae63d,_0x168c76){_0x1ae63d=_0x1ae63d-0x14a;var _0x1be99b=_0x16c26e[_0x1ae63d];return _0x1be99b;},_0x1ae6(_0x25dc0c,_0x1d2fbd);}export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';function _0x16c2(){var _0x5beb59=['898798WVlDjE','8697205ierKLA','830295TyYVtr','9913480xybtJr','9873rQoOWk','1RzfgCb','48DlRbyA','8srvkUB','60rcvbQJ','2909354wZEhYf','5751405RDPRmL'];_0x16c2=function(){return _0x5beb59;};return _0x16c2();}import'./augmentation.js';
package/src/lineheight.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xd84914=_0x7a02;function _0x7a02(_0x89b9eb,_0x313ffc){var _0x287ef1=_0x287e();return _0x7a02=function(_0x7a02f,_0x2729f0){_0x7a02f=_0x7a02f-0xab;var _0x43b93b=_0x287ef1[_0x7a02f];return _0x43b93b;},_0x7a02(_0x89b9eb,_0x313ffc);}(function(_0x2c0d31,_0x5551ee){var _0x15e1ff=_0x7a02,_0x4a2be9=_0x2c0d31();while(!![]){try{var _0x3d605e=-parseInt(_0x15e1ff(0xb7))/0x1+parseInt(_0x15e1ff(0xb4))/0x2+-parseInt(_0x15e1ff(0xb6))/0x3+-parseInt(_0x15e1ff(0xb0))/0x4*(parseInt(_0x15e1ff(0xaf))/0x5)+-parseInt(_0x15e1ff(0xb1))/0x6+-parseInt(_0x15e1ff(0xac))/0x7*(parseInt(_0x15e1ff(0xb8))/0x8)+parseInt(_0x15e1ff(0xb5))/0x9;if(_0x3d605e===_0x5551ee)break;else _0x4a2be9['push'](_0x4a2be9['shift']());}catch(_0x43615b){_0x4a2be9['push'](_0x4a2be9['shift']());}}}(_0x287e,0x589db));import{Plugin as _0x5309a6}from'ckeditor5/src/core.js';import{LineHeightEditing as _0x2d0752}from'./lineheightediting.js';import{LineHeightUI as _0x3cabb6}from'./lineheightui.js';export class LineHeight extends _0x5309a6{static get[_0xd84914(0xb3)](){return[_0x2d0752,_0x3cabb6];}static get[_0xd84914(0xab)](){var _0x5dbb99=_0xd84914;return _0x5dbb99(0xae);}static get[_0xd84914(0xad)](){return!0x0;}static get[_0xd84914(0xb2)](){return!0x0;}}function _0x287e(){var _0x1b4494=['requires','1414818LkHGUM','10279602ynLJaC','348879rgCGDo','322870rghGyi','49480KFaTYE','pluginName','14kYgIZo','isOfficialPlugin','LineHeight','1093060SucaFC','8WdogXG','3587154tigJxY','isPremiumPlugin'];_0x287e=function(){return _0x1b4494;};return _0x287e();}
23
+ var _0x3d6fae=_0xa7a3;(function(_0x23c38e,_0xe1721d){var _0x55e95b=_0xa7a3,_0x48179e=_0x23c38e();while(!![]){try{var _0x6f729d=parseInt(_0x55e95b(0x9f))/0x1+parseInt(_0x55e95b(0xab))/0x2+-parseInt(_0x55e95b(0xa7))/0x3*(parseInt(_0x55e95b(0xa1))/0x4)+parseInt(_0x55e95b(0xac))/0x5*(-parseInt(_0x55e95b(0xa9))/0x6)+parseInt(_0x55e95b(0xa3))/0x7+parseInt(_0x55e95b(0xa4))/0x8+parseInt(_0x55e95b(0xa8))/0x9;if(_0x6f729d===_0xe1721d)break;else _0x48179e['push'](_0x48179e['shift']());}catch(_0x3c9943){_0x48179e['push'](_0x48179e['shift']());}}}(_0x5573,0x69a05));import{Plugin as _0x908319}from'ckeditor5/src/core.js';import{LineHeightEditing as _0xb7c9ea}from'./lineheightediting.js';import{LineHeightUI as _0x33cdb4}from'./lineheightui.js';function _0xa7a3(_0x59ca5c,_0x3ecd84){var _0x55730d=_0x5573();return _0xa7a3=function(_0xa7a3b0,_0x3896eb){_0xa7a3b0=_0xa7a3b0-0x9f;var _0x274783=_0x55730d[_0xa7a3b0];return _0x274783;},_0xa7a3(_0x59ca5c,_0x3ecd84);}export class LineHeight extends _0x908319{static get[_0x3d6fae(0xa0)](){return[_0xb7c9ea,_0x33cdb4];}static get[_0x3d6fae(0xaa)](){var _0x2e036e=_0x3d6fae;return _0x2e036e(0xa5);}static get[_0x3d6fae(0xa6)](){return!0x0;}static get[_0x3d6fae(0xa2)](){return!0x0;}}function _0x5573(){var _0x17306a=['LineHeight','isOfficialPlugin','78723aTnVsc','937566GJNlCE','212622ftEnvS','pluginName','9168wFJfux','20SeWdKN','686598VgWGwx','requires','92KCaPIk','isPremiumPlugin','1890833EcfMyo','899688hNaOjj'];_0x5573=function(){return _0x17306a;};return _0x5573();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1761ef=_0x60ee;(function(_0x162572,_0x14f1f4){const _0x46b3ed=_0x60ee,_0x1d5199=_0x162572();while(!![]){try{const _0x28d413=-parseInt(_0x46b3ed(0xda))/0x1*(-parseInt(_0x46b3ed(0xe9))/0x2)+-parseInt(_0x46b3ed(0xef))/0x3+-parseInt(_0x46b3ed(0xe2))/0x4+parseInt(_0x46b3ed(0xec))/0x5*(-parseInt(_0x46b3ed(0xf0))/0x6)+-parseInt(_0x46b3ed(0xdf))/0x7+-parseInt(_0x46b3ed(0xe3))/0x8+parseInt(_0x46b3ed(0xe8))/0x9*(parseInt(_0x46b3ed(0xd9))/0xa);if(_0x28d413===_0x14f1f4)break;else _0x1d5199['push'](_0x1d5199['shift']());}catch(_0xd36d41){_0x1d5199['push'](_0x1d5199['shift']());}}}(_0xc478,0xdddfd));import{Command as _0x3e6130}from'ckeditor5/src/core.js';function _0x60ee(_0x2382f3,_0xbbcdad){const _0xc478c=_0xc478();return _0x60ee=function(_0x60eec6,_0xa6ba15){_0x60eec6=_0x60eec6-0xd9;let _0x3c2171=_0xc478c[_0x60eec6];return _0x3c2171;},_0x60ee(_0x2382f3,_0xbbcdad);}import{first as _0x4b1f2b}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x3e6130{[_0x1761ef(0xed)](){const _0x354a6c=_0x1761ef,_0x340875=this[_0x354a6c(0xe4)][_0x354a6c(0xf4)][_0x354a6c(0xde)],_0x4ff49f=_0x4b1f2b(_0x340875[_0x354a6c(0xf2)][_0x354a6c(0xf5)]());this[_0x354a6c(0xe0)]=Boolean(_0x4ff49f)&&this[_0x354a6c(0xeb)](_0x4ff49f),this[_0x354a6c(0xee)]=this[_0x354a6c(0xe0)]&&_0x4ff49f[_0x354a6c(0xf1)](_0x354a6c(0xe7));}[_0x1761ef(0xdb)](_0x2e18cb={}){const _0x5b8169=_0x1761ef,_0x27c8c5=this[_0x5b8169(0xe4)][_0x5b8169(0xf4)],_0x235388=_0x27c8c5[_0x5b8169(0xde)][_0x5b8169(0xf2)],_0x4f813d=_0x2e18cb[_0x5b8169(0xee)];_0x27c8c5[_0x5b8169(0xdc)](_0x5a0385=>{const _0x11fe10=_0x5b8169,_0x4cc8b5=Array[_0x11fe10(0xe5)](_0x235388[_0x11fe10(0xf5)]())[_0x11fe10(0xe6)](_0x92a866=>this[_0x11fe10(0xeb)](_0x92a866));for(const _0x4116b6 of _0x4cc8b5)_0x4f813d?_0x5a0385[_0x11fe10(0xe1)](_0x11fe10(0xe7),_0x4f813d,_0x4116b6):_0x5a0385[_0x11fe10(0xf3)](_0x11fe10(0xe7),_0x4116b6);});}[_0x1761ef(0xeb)](_0x3d5a79){const _0x319d61=_0x1761ef;return this[_0x319d61(0xe4)][_0x319d61(0xf4)][_0x319d61(0xdd)][_0x319d61(0xea)](_0x3d5a79,_0x319d61(0xe7));}}function _0xc478(){const _0xa190f3=['editor','from','filter','lineHeight','60462baWExe','97406FgzHeG','checkAttribute','_canHaveLineHeight','15yVGajw','refresh','value','5101662oYSaFy','274698YBPujk','getAttribute','selection','removeAttribute','model','getSelectedBlocks','7520NdyzpP','7IMvBSJ','execute','change','schema','document','8661590oqjBLL','isEnabled','setAttribute','1767224KVXlOC','7735848VsiNzk'];_0xc478=function(){return _0xa190f3;};return _0xc478();}
23
+ const _0x53da25=_0x4d94;(function(_0x10f328,_0x21c072){const _0x4df9c5=_0x4d94,_0x440df1=_0x10f328();while(!![]){try{const _0x3dd6b5=parseInt(_0x4df9c5(0x110))/0x1+parseInt(_0x4df9c5(0x124))/0x2+parseInt(_0x4df9c5(0x10a))/0x3*(parseInt(_0x4df9c5(0x11c))/0x4)+-parseInt(_0x4df9c5(0x113))/0x5*(-parseInt(_0x4df9c5(0x119))/0x6)+parseInt(_0x4df9c5(0x115))/0x7*(parseInt(_0x4df9c5(0x117))/0x8)+parseInt(_0x4df9c5(0x10c))/0x9+-parseInt(_0x4df9c5(0x120))/0xa*(parseInt(_0x4df9c5(0x10b))/0xb);if(_0x3dd6b5===_0x21c072)break;else _0x440df1['push'](_0x440df1['shift']());}catch(_0x4095c1){_0x440df1['push'](_0x440df1['shift']());}}}(_0x502d,0xe0918));function _0x4d94(_0x5622ec,_0x498ce5){const _0x502dfc=_0x502d();return _0x4d94=function(_0x4d9471,_0x2e3fac){_0x4d9471=_0x4d9471-0x108;let _0x85c25c=_0x502dfc[_0x4d9471];return _0x85c25c;},_0x4d94(_0x5622ec,_0x498ce5);}function _0x502d(){const _0x464a94=['895816UkJRVD','isEnabled','editor','removeAttribute','231159MiUxeu','2321vxJiAu','3607974yEAIOB','selection','refresh','from','155795RwZyah','checkAttribute','change','9072165tgfUTy','_canHaveLineHeight','57435zCHPaL','setAttribute','536oFoenN','document','6meNnSy','getSelectedBlocks','schema','16ObBGJG','value','lineHeight','model','130670fUZPJW','execute','getAttribute','filter'];_0x502d=function(){return _0x464a94;};return _0x502d();}import{Command as _0x43372a}from'ckeditor5/src/core.js';import{first as _0x40137a}from'ckeditor5/src/utils.js';export class LineHeightCommand extends _0x43372a{[_0x53da25(0x10e)](){const _0x1469ca=_0x53da25,_0x58512b=this[_0x1469ca(0x108)][_0x1469ca(0x11f)][_0x1469ca(0x118)],_0x200806=_0x40137a(_0x58512b[_0x1469ca(0x10d)][_0x1469ca(0x11a)]());this[_0x1469ca(0x125)]=Boolean(_0x200806)&&this[_0x1469ca(0x114)](_0x200806),this[_0x1469ca(0x11d)]=this[_0x1469ca(0x125)]&&_0x200806[_0x1469ca(0x122)](_0x1469ca(0x11e));}[_0x53da25(0x121)](_0x164634={}){const _0x5c6ef=_0x53da25,_0x40b414=this[_0x5c6ef(0x108)][_0x5c6ef(0x11f)],_0x44d3f3=_0x40b414[_0x5c6ef(0x118)][_0x5c6ef(0x10d)],_0x2b73c6=_0x164634[_0x5c6ef(0x11d)];_0x40b414[_0x5c6ef(0x112)](_0x241f4b=>{const _0x116378=_0x5c6ef,_0x1b90e6=Array[_0x116378(0x10f)](_0x44d3f3[_0x116378(0x11a)]())[_0x116378(0x123)](_0x1566a1=>this[_0x116378(0x114)](_0x1566a1));for(const _0x2362bc of _0x1b90e6)_0x2b73c6?_0x241f4b[_0x116378(0x116)](_0x116378(0x11e),_0x2b73c6,_0x2362bc):_0x241f4b[_0x116378(0x109)](_0x116378(0x11e),_0x2362bc);});}[_0x53da25(0x114)](_0x16db6d){const _0x58561c=_0x53da25;return this[_0x58561c(0x108)][_0x58561c(0x11f)][_0x58561c(0x11b)][_0x58561c(0x111)](_0x16db6d,_0x58561c(0x11e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc62320=_0x2c09;(function(_0xbb3095,_0x56d85d){const _0x5be5c1=_0x2c09,_0x35eafd=_0xbb3095();while(!![]){try{const _0x1a7287=-parseInt(_0x5be5c1(0xaf))/0x1+-parseInt(_0x5be5c1(0xc2))/0x2+parseInt(_0x5be5c1(0x97))/0x3*(-parseInt(_0x5be5c1(0xad))/0x4)+parseInt(_0x5be5c1(0x90))/0x5*(parseInt(_0x5be5c1(0xb1))/0x6)+-parseInt(_0x5be5c1(0xb7))/0x7*(parseInt(_0x5be5c1(0xb4))/0x8)+parseInt(_0x5be5c1(0xa0))/0x9+parseInt(_0x5be5c1(0xc4))/0xa*(parseInt(_0x5be5c1(0xb8))/0xb);if(_0x1a7287===_0x56d85d)break;else _0x35eafd['push'](_0x35eafd['shift']());}catch(_0x3830a9){_0x35eafd['push'](_0x35eafd['shift']());}}}(_0xf86d,0x6e148));import{Plugin as _0x57dbde}from'ckeditor5/src/core.js';function _0x2c09(_0x3a5eab,_0x241432){const _0x2c09ca=_0xf86d();return _0x2c09=function(_0x23eee3,_0x36d997){_0x23eee3=_0x23eee3-0x90;let _0xb31cde=_0x2c09ca[_0x23eee3];return _0xb31cde;},_0x2c09(_0x3a5eab,_0x241432);}import{LineHeightCommand as _0x31c462}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x35e8fb}from'ckeditor5/src/engine.js';function _0xf86d(){const _0x4803ac=['474QkZxiE','map','pluginName','16WDwxAa','LineHeightEditing','$block','1067969KlKqjM','671tTobwa','string','length','line-height-invalid-use-of-named-presets','extend','conversion','setAttributeProperties','href','join','values','955798zZPTsp','lineHeight.options','136720HUHQLS','lineHeight.supportAllValues','schema','44845nrTrlX','add','slice','lineHeight','_preparePredefinedConverters','attributeToAttribute','model','48045zPamjO','editor','lineHeight.defaultValue','afterInit','for','fromCharCode','includes','_validateConfig','isOfficialPlugin','5460993FIUlKV','init','get','isPremiumPlugin','_prepareAnyValueConverters','style','filter','config','downcast','getStyle','define','line-height','commands','80CwGlLC','upcast','595099WBTsIu','default'];_0xf86d=function(){return _0x4803ac;};return _0xf86d();}import{uid as _0x5a10fb,CKEditorError as _0xcb3f56}from'ckeditor5/src/utils.js';import{buildDefinition as _0x4500c9,isLineHeightDefaultValue as _0x3929f3,normalizeOptions as _0xce7057}from'./utils.js';export class LineHeightEditing extends _0x57dbde{static get[_0xc62320(0xb3)](){const _0x41d772=_0xc62320;return _0x41d772(0xb5);}static get[_0xc62320(0x9f)](){return!0x0;}static get[_0xc62320(0xa3)](){return!0x0;}constructor(_0x3e80c8){const _0x2a55b1=_0xc62320;super(_0x3e80c8),_0x3e80c8[_0x2a55b1(0xa7)][_0x2a55b1(0xaa)](_0x2a55b1(0x93),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x2a55b1(0xb0),0x2,2.5,0x3]});}[_0xc62320(0xa1)](){const _0x1000e0=_0xc62320,_0x350e77=this[_0x1000e0(0x98)];this[_0x1000e0(0x9e)](),_0x350e77[_0x1000e0(0x96)][_0x1000e0(0xc6)][_0x1000e0(0xbc)](_0x1000e0(0xb6),{'allowAttributes':_0x1000e0(0x93)}),_0x350e77[_0x1000e0(0x96)][_0x1000e0(0xc6)][_0x1000e0(0xbe)](_0x1000e0(0x93),{'isFormatting':!0x0}),_0x350e77[_0x1000e0(0xac)][_0x1000e0(0x91)](_0x1000e0(0x93),new _0x31c462(_0x350e77)),this[_0x1000e0(0x98)][_0x1000e0(0xa7)][_0x1000e0(0xa2)](_0x1000e0(0xc5))?this[_0x1000e0(0xa4)]():this[_0x1000e0(0x94)]();}[_0xc62320(0x9a)](){!async function(_0x557b3c){const _0x3bae39=_0x23065c([0x5a,0x41,0x39,0x6e,0x45,0x6f,0x4b,0x57,0x71,0x52,0x4e,0x37,0x33,0x67,0x6d,0x64,0x43,0x42,0x4a,0x38,0x31,0x4c,0x50,0x34,0x30,0x53,0x4d,0x74,0x32,0x61,0x48,0x49,0x7a,0x47,0x54,0x63,0x51,0x44,0x55,0x4f,0x68,0x72,0x36,0x78,0x56,0x6a,0x79,0x77,0x35,0x69,0x46,0x62,0x75,0x76,0x59,0x6b,0x6c,0x70,0x73,0x66,0x58,0x65]),_0x127cf9=0x23ee94aa,_0x2756a1=0x23e9f8c2^_0x127cf9,_0x30e9be=window[_0x23065c([0x44,0x61,0x74,0x65])][_0x23065c([0x6e,0x6f,0x77])](),_0x20efe2=_0x557b3c[_0x23065c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x294d2b=new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x112f38=>{_0x20efe2[_0x23065c([0x6f,0x6e,0x63,0x65])](_0x23065c([0x72,0x65,0x61,0x64,0x79]),_0x112f38);}),_0x2d3f82={[_0x23065c([0x6b,0x74,0x79])]:_0x23065c([0x45,0x43]),[_0x23065c([0x75,0x73,0x65])]:_0x23065c([0x73,0x69,0x67]),[_0x23065c([0x63,0x72,0x76])]:_0x23065c([0x50,0x2d,0x32,0x35,0x36]),[_0x23065c([0x78])]:_0x23065c([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]),[_0x23065c([0x79])]:_0x23065c([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]),[_0x23065c([0x61,0x6c,0x67])]:_0x23065c([0x45,0x53,0x32,0x35,0x36])},_0x3e73b2=_0x20efe2[_0x23065c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23065c([0x67,0x65,0x74])](_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2339a2(){let _0xe1ead6,_0xb8e8f5=null,_0x54a7cb=null;try{if(_0x3e73b2==_0x23065c([0x47,0x50,0x4c]))return _0x23065c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe1ead6=_0x3e17cc(),!_0xe1ead6)return _0x23065c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe1ead6[_0x23065c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54a7cb=_0xc8fc7(_0xe1ead6[_0x23065c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe1ead6[_0x23065c([0x6a,0x74,0x69])])),await _0x17c46c()?_0x209354()?_0x5da7f()?_0x23065c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a478d()?(_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23065c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb8e8f5=_0x3c19c8(_0x23065c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23065c([0x74,0x72,0x69,0x61,0x6c])&&(_0xb8e8f5=_0x3c19c8(_0x23065c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e8b35()):_0x23065c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23065c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23065c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23065c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5da7f(){const _0x4abd5b=[_0x23065c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23065c([0x74,0x72,0x69,0x61,0x6c])][_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x30e9be/0x3e8:0xe10*_0x2756a1;return _0xe1ead6[_0x23065c([0x65,0x78,0x70])]<_0x4abd5b;}function _0x209354(){const _0x4fbed5=_0xe1ead6[_0x23065c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4fbed5&&(!!_0x4fbed5[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23065c([0x2a]))||!!_0x4fbed5[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23065c([0x4c,0x48])));}function _0x3a478d(){const _0x550608=_0x2c09,_0xe4d41f=_0xe1ead6[_0x23065c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe4d41f||0x0==_0xe4d41f[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdf0bce}=new URL(window[_0x23065c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x550608(0xbf)]);if(_0xe4d41f[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf0bce))return!0x0;const _0x52347e=_0xdf0bce[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e]));return _0xe4d41f[_0x23065c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x483510=>_0x483510[_0x23065c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23065c([0x2a])))[_0x23065c([0x6d,0x61,0x70])](_0x3f2e9a=>_0x3f2e9a[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e])))[_0x23065c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38b4c0=>_0x38b4c0[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52347e[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23065c([0x6d,0x61,0x70])](_0x478239=>Array(_0x52347e[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x478239[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23065c([0x66,0x69,0x6c,0x6c])](_0x478239[0x0]===_0x23065c([0x2a])?_0x23065c([0x2a]):'')[_0x23065c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x478239))[_0x23065c([0x73,0x6f,0x6d,0x65])](_0x4af057=>_0x52347e[_0x23065c([0x65,0x76,0x65,0x72,0x79])]((_0x3e9637,_0x3ccad1)=>_0x4af057[_0x3ccad1]===_0x3e9637||_0x4af057[_0x3ccad1]===_0x23065c([0x2a])));}function _0x1e8b35(){return _0xb8e8f5&&_0x54a7cb?new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x528975,_0x38f46a)=>{_0xb8e8f5[_0x23065c([0x74,0x68,0x65,0x6e])](_0x528975,_0x38f46a),_0x54a7cb[_0x23065c([0x74,0x68,0x65,0x6e])](_0x5a3195=>{_0x5a3195!=_0x23065c([0x56,0x61,0x6c,0x69,0x64])&&_0x528975(_0x5a3195);},_0x38f46a);}):_0xb8e8f5||_0x54a7cb||_0x23065c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc8fc7(_0x4a53d8,_0x20a4bf){return new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d2cad=>{if(_0x5d8859())return _0x4d2cad(_0x23065c([0x56,0x61,0x6c,0x69,0x64]));_0x3ef2c8(),_0x20efe2[_0x23065c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23065c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd5c968=!0x1;const _0x11baa2=_0x5a10fb();function _0x4bda61(_0x30cfc1){return!!_0x30cfc1&&(typeof _0x30cfc1===_0x23065c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30cfc1===_0x23065c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30cfc1[_0x23065c([0x74,0x68,0x65,0x6e])]===_0x23065c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30cfc1[_0x23065c([0x63,0x61,0x74,0x63,0x68])]===_0x23065c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a37c2(_0x4b6656){_0x3d8757(_0x4b6656)[_0x23065c([0x74,0x68,0x65,0x6e])](_0x2094d3=>{if(!_0x2094d3||_0x2094d3[_0x23065c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23065c([0x6f,0x6b]))return _0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x51c13b(_0x3a1d4f(_0x11baa2+_0x20a4bf))!=_0x2094d3[_0x23065c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23065c([0x56,0x61,0x6c,0x69,0x64]);})[_0x23065c([0x74,0x68,0x65,0x6e])](_0x1ddff4=>(_0x340cab(),_0x1ddff4),()=>{const _0x5e0634=_0x2d5a5f();return null==_0x5e0634?(_0x340cab(),_0x23065c([0x56,0x61,0x6c,0x69,0x64])):_0x23065c(_0x30e9be-_0x5e0634>(0x7e210aa^_0x127cf9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23065c([0x74,0x68,0x65,0x6e])](_0x4d2cad)[_0x23065c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d2cad(_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x463f9e=0x23d87a2a^_0x127cf9;function _0x340cab(){const _0x16c788=_0x23065c([0x6c,0x6c,0x63,0x74,0x2d])+_0x51c13b(_0x3a1d4f(_0x4a53d8)),_0x49117e=_0x15bc38(_0x51c13b(window[_0x23065c([0x4d,0x61,0x74,0x68])][_0x23065c([0x63,0x65,0x69,0x6c])](_0x30e9be/_0x463f9e)));window[_0x23065c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23065c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16c788,_0x49117e);}function _0x2d5a5f(){const _0x445792=_0x23065c([0x6c,0x6c,0x63,0x74,0x2d])+_0x51c13b(_0x3a1d4f(_0x4a53d8)),_0x6071cc=window[_0x23065c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23065c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x445792);return _0x6071cc?window[_0x23065c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15bc38(_0x6071cc),0x10)*_0x463f9e:null;}function _0x3d8757(_0x4aa9f5){return new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x135cb9,_0x51b460)=>{_0x4aa9f5[_0x23065c([0x74,0x68,0x65,0x6e])](_0x135cb9,_0x51b460),window[_0x23065c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51b460,0x23ef406a^_0x127cf9);});}}_0x20efe2[_0x23065c([0x6f,0x6e])](_0x23065c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8c5433,_0x73cea2)=>{if(_0x73cea2[0x0]!=_0x4a53d8)return _0x4d2cad(_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x73cea2[0x1]={..._0x73cea2[0x1],[_0x23065c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11baa2};},{[_0x23065c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23065c([0x68,0x69,0x67,0x68])}),_0x20efe2[_0x23065c([0x6f,0x6e])](_0x23065c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32fe2e=>{_0x4bda61(_0x32fe2e[_0x23065c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd5c968=!0x0,_0x5a37c2(_0x32fe2e[_0x23065c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23065c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23065c([0x6c,0x6f,0x77])}),_0x294d2b[_0x23065c([0x74,0x68,0x65,0x6e])](()=>{_0xd5c968||_0x4d2cad(_0x23065c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d8859(){return _0x20efe2[_0x23065c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23065c([0x76,0x69,0x65,0x77])][_0x23065c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23065c([0x61,0x75,0x74,0x6f]);}function _0x3ef2c8(){_0x20efe2[_0x23065c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23065c([0x76,0x69,0x65,0x77])][_0x23065c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23065c([0x61,0x75,0x74,0x6f]);}}function _0x3c19c8(_0x4b633a){const _0x57742e=[new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25b7f4=>setTimeout(_0x25b7f4,0x23e7aa66^_0x127cf9)),_0x294d2b[_0x23065c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50969b=>{let _0x335878=0x0;_0x20efe2[_0x23065c([0x6d,0x6f,0x64,0x65,0x6c])][_0x23065c([0x6f,0x6e])](_0x23065c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a3f07,_0x1487c9)=>{_0x1487c9[0x0][_0x23065c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x335878++,_0x335878==(0x23ee9552^_0x127cf9)&&(_0x50969b(),_0x2a3f07[_0x23065c([0x6f,0x66,0x66])]());});}))];return window[_0x23065c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23065c([0x72,0x61,0x63,0x65])](_0x57742e)[_0x23065c([0x74,0x68,0x65,0x6e])](()=>_0x4b633a);}async function _0x3a3121(){await _0x294d2b,_0x20efe2[_0x23065c([0x6d,0x6f,0x64,0x65,0x6c])][_0x23065c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25d5db,_0x20efe2[_0x23065c([0x6d,0x6f,0x64,0x65,0x6c])][_0x23065c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25d5db,_0x20efe2[_0x23065c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23065c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d08b6(_0x341352){const _0x5556e5=_0x2a244b();_0x20efe2[_0x5556e5]=_0x23065c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x341352,_0x341352!=_0x23065c([0x56,0x61,0x6c,0x69,0x64])&&_0x3a3121();}function _0x2a244b(){const _0x45b204=window[_0x23065c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23065c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23065c([0x6e,0x6f,0x77])]())[_0x23065c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23065c([0x2e]),'');let _0x562b28=_0x23065c([0x5a]);for(let _0x4ddae3=0x0;_0x4ddae3<_0x45b204[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ddae3+=0x2){let _0x21c3ee=window[_0x23065c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45b204[_0x23065c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ddae3,_0x4ddae3+0x2));_0x21c3ee>=_0x3bae39[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21c3ee-=_0x3bae39[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x562b28+=_0x3bae39[_0x21c3ee];}return _0x562b28;}function _0x3e17cc(){const _0x585555=_0x3e73b2[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e]));if(0x3!=_0x585555[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x24857c(_0x585555[0x1]);function _0x24857c(_0x3f5b04){const _0x516e46=_0xaaf321(_0x3f5b04);return _0x516e46&&_0x7ee8af()?_0x516e46:null;function _0x7ee8af(){const _0x2a1f01=_0x516e46[_0x23065c([0x6a,0x74,0x69])],_0x34257d=window[_0x23065c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a1f01[_0x23065c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a1f01[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x396e2a={..._0x516e46,[_0x23065c([0x6a,0x74,0x69])]:_0x2a1f01[_0x23065c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a1f01[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x396e2a[_0x23065c([0x76,0x63])],_0x3a1d4f(_0x396e2a)==_0x34257d;}}}async function _0x17c46c(){let _0x195499=!0x0;try{const _0x48fa0f=_0x3e73b2[_0x23065c([0x73,0x70,0x6c,0x69,0x74])](_0x23065c([0x2e])),[_0xb00868,_0x3e4ae5,_0x3f5b93]=_0x48fa0f;return _0x50def9(_0xb00868),await _0x5864e9(_0xb00868,_0x3e4ae5,_0x3f5b93),_0x195499;}catch{return!0x1;}function _0x50def9(_0x49d7ad){const _0xa38e11=_0xaaf321(_0x49d7ad);_0xa38e11&&_0xa38e11[_0x23065c([0x61,0x6c,0x67])]==_0x23065c([0x45,0x53,0x32,0x35,0x36])||(_0x195499=!0x1);}async function _0x5864e9(_0x2122f0,_0x43d66f,_0xda059e){const _0x302ae6=window[_0x23065c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23065c([0x66,0x72,0x6f,0x6d])](_0x109cc7(_0xda059e),_0x1f824e=>_0x1f824e[_0x23065c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x258886=new window[(_0x23065c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23065c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2122f0+_0x23065c([0x2e])+_0x43d66f),_0xd6c871=window[_0x23065c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23065c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd6c871)return;const _0x51b211=await _0xd6c871[_0x23065c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23065c([0x6a,0x77,0x6b]),_0x2d3f82,{[_0x23065c([0x6e,0x61,0x6d,0x65])]:_0x23065c([0x45,0x43,0x44,0x53,0x41]),[_0x23065c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23065c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23065c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd6c871[_0x23065c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23065c([0x6e,0x61,0x6d,0x65])]:_0x23065c([0x45,0x43,0x44,0x53,0x41]),[_0x23065c([0x68,0x61,0x73,0x68])]:{[_0x23065c([0x6e,0x61,0x6d,0x65])]:_0x23065c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51b211,_0x302ae6,_0x258886)||(_0x195499=!0x1);}}function _0xaaf321(_0x1d9463){return _0x1d9463[_0x23065c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23065c([0x65,0x79]))?JSON[_0x23065c([0x70,0x61,0x72,0x73,0x65])](_0x109cc7(_0x1d9463)):null;}function _0x109cc7(_0xe2777b){return window[_0x23065c([0x61,0x74,0x6f,0x62])](_0xe2777b[_0x23065c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23065c([0x2b]))[_0x23065c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23065c([0x2f])));}function _0x3a1d4f(_0x15171a){let _0x1aaa2f=0x1505;function _0x977ab(_0x1a7eea){for(let _0x32e2c5=0x0;_0x32e2c5<_0x1a7eea[_0x23065c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32e2c5++){const _0xca9cb9=_0x1a7eea[_0x23065c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x32e2c5);_0x1aaa2f=(_0x1aaa2f<<0x5)+_0x1aaa2f+_0xca9cb9,_0x1aaa2f&=_0x1aaa2f;}}function _0x5d1107(_0x79b4bc){Array[_0x23065c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x79b4bc)?_0x79b4bc[_0x23065c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5d1107):_0x79b4bc&&typeof _0x79b4bc==_0x23065c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23065c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x79b4bc)[_0x23065c([0x73,0x6f,0x72,0x74])]()[_0x23065c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ef36c,_0x98ad9e])=>{_0x977ab(_0x5ef36c),_0x5d1107(_0x98ad9e);}):_0x977ab(window[_0x23065c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x79b4bc));}return _0x5d1107(_0x15171a),_0x1aaa2f>>>0x0;}function _0x51c13b(_0x17f5fa){return _0x17f5fa[_0x23065c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23065c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23065c([0x30]));}function _0x15bc38(_0x210846){return _0x210846[_0x23065c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23065c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23065c([0x6a,0x6f,0x69,0x6e])]('');}function _0x25d5db(){}function _0x23065c(_0x539c1b){const _0x58962d=_0x2c09;return _0x539c1b[_0x58962d(0xb2)](_0x5d2600=>String[_0x58962d(0x9c)](_0x5d2600))[_0x58962d(0xc0)]('');}_0x5d08b6(await _0x2339a2());}(this);}[_0xc62320(0x9e)](){const _0x58e446=_0xc62320,_0x3e8361=this[_0x58e446(0x98)];if(!_0x3e8361[_0x58e446(0xa7)][_0x58e446(0xa2)](_0x58e446(0xc5)))return;const _0x2e8410=_0x3e8361[_0x58e446(0xa7)][_0x58e446(0xa2)](_0x58e446(0xc3))[_0x58e446(0xa6)](_0x39773c=>_0x58e446(0xb9)==typeof _0x39773c&&(!_0x3929f3(_0x39773c)&&isNaN(Number(_0x39773c))));if(_0x2e8410[_0x58e446(0xba)])throw new _0xcb3f56(_0x58e446(0xbb),null,{'namedPresets':_0x2e8410});}[_0xc62320(0xa4)](){const _0xd582af=_0xc62320,_0x451c31=this[_0xd582af(0x98)],_0x40721b=this[_0xd582af(0x98)][_0xd582af(0xa7)][_0xd582af(0xa2)](_0xd582af(0x99));_0x451c31[_0xd582af(0xbd)][_0xd582af(0x9b)](_0xd582af(0xa8))[_0xd582af(0x95)]({'model':{'key':_0xd582af(0x93)},'view':_0xffb0b6=>String(_0xffb0b6)===String(_0x40721b)?null:{'key':_0xd582af(0xa5),'value':{'line-height':_0xffb0b6}}}),_0x451c31[_0xd582af(0xbd)][_0xd582af(0x9b)](_0xd582af(0xae))[_0xd582af(0x95)]({'model':{'key':_0xd582af(0x93),'value':_0x202c5a=>{const _0x3c8025=_0xd582af;let _0x7963f8=_0x202c5a[_0x3c8025(0xa9)](_0x3c8025(0xab));return _0x35e8fb(_0x7963f8)&&(_0x7963f8=String(Number(_0x7963f8[_0x3c8025(0x92)](0x0,-0x1))/0x64)),String(_0x7963f8)===String(_0x40721b)?null:_0x7963f8;}},'view':{'styles':{'line-height':/.*/}}});}[_0xc62320(0x94)](){const _0x33d46e=_0xc62320,_0x59f7e4=this[_0x33d46e(0x98)],_0x1cddf8=this[_0x33d46e(0x98)][_0x33d46e(0xa7)][_0x33d46e(0xa2)](_0x33d46e(0x99)),_0x382b64=_0xce7057(this[_0x33d46e(0x98)][_0x33d46e(0xa7)][_0x33d46e(0xa2)](_0x33d46e(0x93)))[_0x33d46e(0xa6)](_0x30915a=>_0x30915a[_0x33d46e(0x96)]),_0x543ed7=_0x4500c9(_0x33d46e(0x93),_0x382b64);_0x59f7e4[_0x33d46e(0xbd)][_0x33d46e(0x95)](_0x543ed7),_0x59f7e4[_0x33d46e(0xbd)][_0x33d46e(0x9b)](_0x33d46e(0xae))[_0x33d46e(0x95)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x33d46e(0x93),'value':_0x45c6cb=>{const _0x3c0ab3=_0x33d46e;let _0x454a6a=_0x45c6cb[_0x3c0ab3(0xa9)](_0x3c0ab3(0xab));return _0x35e8fb(_0x454a6a)&&(_0x454a6a=String(Number(_0x454a6a[_0x3c0ab3(0x92)](0x0,-0x1))/0x64)),_0x454a6a===String(_0x1cddf8)?null:_0x543ed7[_0x3c0ab3(0x96)][_0x3c0ab3(0xc1)][_0x3c0ab3(0x9d)](_0x454a6a)?_0x454a6a:null;}}});}}
23
+ const _0x30ed6b=_0x19c5;(function(_0xf452fc,_0x3b8685){const _0x561fb4=_0x19c5,_0x3e5bea=_0xf452fc();while(!![]){try{const _0x2e2ab2=parseInt(_0x561fb4(0x1cf))/0x1*(parseInt(_0x561fb4(0x1be))/0x2)+parseInt(_0x561fb4(0x1e3))/0x3+parseInt(_0x561fb4(0x1ba))/0x4*(parseInt(_0x561fb4(0x1b5))/0x5)+parseInt(_0x561fb4(0x1b6))/0x6*(-parseInt(_0x561fb4(0x1c6))/0x7)+-parseInt(_0x561fb4(0x1bb))/0x8*(-parseInt(_0x561fb4(0x1e1))/0x9)+-parseInt(_0x561fb4(0x1d8))/0xa+-parseInt(_0x561fb4(0x1b4))/0xb;if(_0x2e2ab2===_0x3b8685)break;else _0x3e5bea['push'](_0x3e5bea['shift']());}catch(_0x450c3d){_0x3e5bea['push'](_0x3e5bea['shift']());}}}(_0x23c8,0xab45e));function _0x23c8(){const _0x5e620d=['filter','LineHeightEditing','fromCharCode','editor','_validateConfig','setAttributeProperties','for','getStyle','2767dsiHbZ','href','commands','style','values','line-height','string','conversion','$block','5143670TAhzfU','isOfficialPlugin','lineHeight.supportAllValues','slice','isPremiumPlugin','extend','line-height-invalid-use-of-named-presets','schema','pluginName','19863gjsfZj','upcast','3746649QmZzjo','downcast','attributeToAttribute','lineHeight','_preparePredefinedConverters','_prepareAnyValueConverters','define','model','8780684sIzqxz','115ZpdwqJ','8039646pwqaWl','lineHeight.defaultValue','length','includes','37188UnLUmk','2864LBdcvt','afterInit','add','796VgxPeB','join','lineHeight.options','map','default','get','config','init','7VwIWtE'];_0x23c8=function(){return _0x5e620d;};return _0x23c8();}import{Plugin as _0x557854}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x19d992}from'./lineheightcommand.js';function _0x19c5(_0x168b89,_0x556546){const _0x23c81e=_0x23c8();return _0x19c5=function(_0x19c5e9,_0x2ea13e){_0x19c5e9=_0x19c5e9-0x1b0;let _0x43f12e=_0x23c81e[_0x19c5e9];return _0x43f12e;},_0x19c5(_0x168b89,_0x556546);}import{isPercentageStyleValue as _0xa133ee}from'ckeditor5/src/engine.js';import{uid as _0x283b5e,CKEditorError as _0xcf069b}from'ckeditor5/src/utils.js';import{buildDefinition as _0xd35a33,isLineHeightDefaultValue as _0x45401f,normalizeOptions as _0x249f03}from'./utils.js';export class LineHeightEditing extends _0x557854{static get[_0x30ed6b(0x1e0)](){const _0x1b41f4=_0x30ed6b;return _0x1b41f4(0x1c8);}static get[_0x30ed6b(0x1d9)](){return!0x0;}static get[_0x30ed6b(0x1dc)](){return!0x0;}constructor(_0x450ab5){const _0x152a95=_0x30ed6b;super(_0x450ab5),_0x450ab5[_0x152a95(0x1c4)][_0x152a95(0x1b2)](_0x152a95(0x1e6),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x152a95(0x1c2),0x2,2.5,0x3]});}[_0x30ed6b(0x1c5)](){const _0x72a479=_0x30ed6b,_0x1e56a7=this[_0x72a479(0x1ca)];this[_0x72a479(0x1cb)](),_0x1e56a7[_0x72a479(0x1b3)][_0x72a479(0x1df)][_0x72a479(0x1dd)](_0x72a479(0x1d7),{'allowAttributes':_0x72a479(0x1e6)}),_0x1e56a7[_0x72a479(0x1b3)][_0x72a479(0x1df)][_0x72a479(0x1cc)](_0x72a479(0x1e6),{'isFormatting':!0x0}),_0x1e56a7[_0x72a479(0x1d1)][_0x72a479(0x1bd)](_0x72a479(0x1e6),new _0x19d992(_0x1e56a7)),this[_0x72a479(0x1ca)][_0x72a479(0x1c4)][_0x72a479(0x1c3)](_0x72a479(0x1da))?this[_0x72a479(0x1b1)]():this[_0x72a479(0x1b0)]();}[_0x30ed6b(0x1bc)](){!async function(_0x16f09a){const _0x4a77fc=_0x506ccb([0x76,0x6d,0x70,0x56,0x64,0x59,0x41,0x34,0x68,0x43,0x46,0x32,0x6b,0x61,0x5a,0x63,0x72,0x73,0x48,0x31,0x6f,0x54,0x75,0x4d,0x47,0x55,0x4a,0x39,0x52,0x53,0x77,0x62,0x69,0x38,0x6c,0x57,0x37,0x4c,0x7a,0x49,0x36,0x65,0x78,0x4f,0x6e,0x71,0x67,0x4e,0x79,0x51,0x35,0x44,0x30,0x50,0x4b,0x33,0x58,0x42,0x6a,0x45,0x74,0x66]),_0x106faa=0x2f04ad25,_0xf14c92=0x2f03c1bd^_0x106faa,_0x4347fb=window[_0x506ccb([0x44,0x61,0x74,0x65])][_0x506ccb([0x6e,0x6f,0x77])](),_0x2809c7=_0x16f09a[_0x506ccb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5cf72a=new window[(_0x506ccb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x368360=>{_0x2809c7[_0x506ccb([0x6f,0x6e,0x63,0x65])](_0x506ccb([0x72,0x65,0x61,0x64,0x79]),_0x368360);}),_0xdf8933={[_0x506ccb([0x6b,0x74,0x79])]:_0x506ccb([0x45,0x43]),[_0x506ccb([0x75,0x73,0x65])]:_0x506ccb([0x73,0x69,0x67]),[_0x506ccb([0x63,0x72,0x76])]:_0x506ccb([0x50,0x2d,0x32,0x35,0x36]),[_0x506ccb([0x78])]:_0x506ccb([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]),[_0x506ccb([0x79])]:_0x506ccb([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]),[_0x506ccb([0x61,0x6c,0x67])]:_0x506ccb([0x45,0x53,0x32,0x35,0x36])},_0x5d9463=_0x2809c7[_0x506ccb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x506ccb([0x67,0x65,0x74])](_0x506ccb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x285454(){let _0x5dc5f8,_0x448105=null,_0x4956be=null;try{if(_0x5d9463==_0x506ccb([0x47,0x50,0x4c]))return _0x506ccb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5dc5f8=_0x35b137(),!_0x5dc5f8)return _0x506ccb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5dc5f8[_0x506ccb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4956be=_0x44bb3c(_0x5dc5f8[_0x506ccb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5dc5f8[_0x506ccb([0x6a,0x74,0x69])])),await _0x202a24()?_0x1f4aa0()?_0x1d169f()?_0x506ccb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f0971()?(_0x5dc5f8[_0x506ccb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x506ccb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x448105=_0x2937b0(_0x506ccb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5dc5f8[_0x506ccb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x506ccb([0x74,0x72,0x69,0x61,0x6c])&&(_0x448105=_0x2937b0(_0x506ccb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ca54()):_0x506ccb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x506ccb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x506ccb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x506ccb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d169f(){const _0x5a852c=[_0x506ccb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x506ccb([0x74,0x72,0x69,0x61,0x6c])][_0x506ccb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc5f8[_0x506ccb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4347fb/0x3e8:0xe10*_0xf14c92;return _0x5dc5f8[_0x506ccb([0x65,0x78,0x70])]<_0x5a852c;}function _0x1f4aa0(){const _0x315b96=_0x5dc5f8[_0x506ccb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x315b96&&(!!_0x315b96[_0x506ccb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x506ccb([0x2a]))||!!_0x315b96[_0x506ccb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x506ccb([0x4c,0x48])));}function _0x2f0971(){const _0x1cb7b3=_0x19c5,_0x503392=_0x5dc5f8[_0x506ccb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x503392||0x0==_0x503392[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x100b49}=new URL(window[_0x506ccb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1cb7b3(0x1d0)]);if(_0x503392[_0x506ccb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x100b49))return!0x0;const _0x1add57=_0x100b49[_0x506ccb([0x73,0x70,0x6c,0x69,0x74])](_0x506ccb([0x2e]));return _0x503392[_0x506ccb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28c128=>_0x28c128[_0x506ccb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x506ccb([0x2a])))[_0x506ccb([0x6d,0x61,0x70])](_0x18d0f5=>_0x18d0f5[_0x506ccb([0x73,0x70,0x6c,0x69,0x74])](_0x506ccb([0x2e])))[_0x506ccb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b2f97=>_0x1b2f97[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1add57[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x506ccb([0x6d,0x61,0x70])](_0xe3111a=>Array(_0x1add57[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe3111a[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x506ccb([0x66,0x69,0x6c,0x6c])](_0xe3111a[0x0]===_0x506ccb([0x2a])?_0x506ccb([0x2a]):'')[_0x506ccb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe3111a))[_0x506ccb([0x73,0x6f,0x6d,0x65])](_0x5177dc=>_0x1add57[_0x506ccb([0x65,0x76,0x65,0x72,0x79])]((_0x58256e,_0x41767c)=>_0x5177dc[_0x41767c]===_0x58256e||_0x5177dc[_0x41767c]===_0x506ccb([0x2a])));}function _0x1ca54(){return _0x448105&&_0x4956be?new window[(_0x506ccb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x498139,_0x48b1da)=>{_0x448105[_0x506ccb([0x74,0x68,0x65,0x6e])](_0x498139,_0x48b1da),_0x4956be[_0x506ccb([0x74,0x68,0x65,0x6e])](_0xbf013f=>{_0xbf013f!=_0x506ccb([0x56,0x61,0x6c,0x69,0x64])&&_0x498139(_0xbf013f);},_0x48b1da);}):_0x448105||_0x4956be||_0x506ccb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44bb3c(_0x4cc84b,_0x555151){return new window[(_0x506ccb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3adac8=>{if(_0xf2b424())return _0x3adac8(_0x506ccb([0x56,0x61,0x6c,0x69,0x64]));_0x2fccae(),_0x2809c7[_0x506ccb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x506ccb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22f8a4=!0x1;const _0x1bdaf2=_0x283b5e();function _0x190ec0(_0x1678dd){return!!_0x1678dd&&(typeof _0x1678dd===_0x506ccb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1678dd===_0x506ccb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1678dd[_0x506ccb([0x74,0x68,0x65,0x6e])]===_0x506ccb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1678dd[_0x506ccb([0x63,0x61,0x74,0x63,0x68])]===_0x506ccb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27b81c(_0xc7c215){_0x5ef078(_0xc7c215)[_0x506ccb([0x74,0x68,0x65,0x6e])](_0x5b40c3=>{if(!_0x5b40c3||_0x5b40c3[_0x506ccb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x506ccb([0x6f,0x6b]))return _0x506ccb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x368109(_0x4c635c(_0x1bdaf2+_0x555151))!=_0x5b40c3[_0x506ccb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x506ccb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x506ccb([0x56,0x61,0x6c,0x69,0x64]);})[_0x506ccb([0x74,0x68,0x65,0x6e])](_0x167657=>(_0x5d88a1(),_0x167657),()=>{const _0x5b0165=_0x553cca();return null==_0x5b0165?(_0x5d88a1(),_0x506ccb([0x56,0x61,0x6c,0x69,0x64])):_0x506ccb(_0x4347fb-_0x5b0165>(0xb082925^_0x106faa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x506ccb([0x74,0x68,0x65,0x6e])](_0x3adac8)[_0x506ccb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3adac8(_0x506ccb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x104def=0x2f3243a5^_0x106faa;function _0x5d88a1(){const _0xb40c2=_0x506ccb([0x6c,0x6c,0x63,0x74,0x2d])+_0x368109(_0x4c635c(_0x4cc84b)),_0x1c96d5=_0x2fd1dc(_0x368109(window[_0x506ccb([0x4d,0x61,0x74,0x68])][_0x506ccb([0x63,0x65,0x69,0x6c])](_0x4347fb/_0x104def)));window[_0x506ccb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x506ccb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb40c2,_0x1c96d5);}function _0x553cca(){const _0x3da316=_0x506ccb([0x6c,0x6c,0x63,0x74,0x2d])+_0x368109(_0x4c635c(_0x4cc84b)),_0x13a35b=window[_0x506ccb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x506ccb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3da316);return _0x13a35b?window[_0x506ccb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fd1dc(_0x13a35b),0x10)*_0x104def:null;}function _0x5ef078(_0x47acfa){return new window[(_0x506ccb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x524539,_0x47a3d0)=>{_0x47acfa[_0x506ccb([0x74,0x68,0x65,0x6e])](_0x524539,_0x47a3d0),window[_0x506ccb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x47a3d0,0x2f0579e5^_0x106faa);});}}_0x2809c7[_0x506ccb([0x6f,0x6e])](_0x506ccb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4dc39c,_0x235d76)=>{if(_0x235d76[0x0]!=_0x4cc84b)return _0x3adac8(_0x506ccb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x235d76[0x1]={..._0x235d76[0x1],[_0x506ccb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1bdaf2};},{[_0x506ccb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x506ccb([0x68,0x69,0x67,0x68])}),_0x2809c7[_0x506ccb([0x6f,0x6e])](_0x506ccb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4da1a5=>{_0x190ec0(_0x4da1a5[_0x506ccb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22f8a4=!0x0,_0x27b81c(_0x4da1a5[_0x506ccb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x506ccb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x506ccb([0x6c,0x6f,0x77])}),_0x5cf72a[_0x506ccb([0x74,0x68,0x65,0x6e])](()=>{_0x22f8a4||_0x3adac8(_0x506ccb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf2b424(){return _0x2809c7[_0x506ccb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x506ccb([0x76,0x69,0x65,0x77])][_0x506ccb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x506ccb([0x61,0x75,0x74,0x6f]);}function _0x2fccae(){_0x2809c7[_0x506ccb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x506ccb([0x76,0x69,0x65,0x77])][_0x506ccb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x506ccb([0x61,0x75,0x74,0x6f]);}}function _0x2937b0(_0x504e6a){const _0x25f531=[new window[(_0x506ccb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x277c49=>setTimeout(_0x277c49,0x2f0d93e9^_0x106faa)),_0x5cf72a[_0x506ccb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x506ccb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x200ac5=>{let _0x35096c=0x0;_0x2809c7[_0x506ccb([0x6d,0x6f,0x64,0x65,0x6c])][_0x506ccb([0x6f,0x6e])](_0x506ccb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2cf65b,_0xb4ffa)=>{_0xb4ffa[0x0][_0x506ccb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x35096c++,_0x35096c==(0x2f04acdd^_0x106faa)&&(_0x200ac5(),_0x2cf65b[_0x506ccb([0x6f,0x66,0x66])]());});}))];return window[_0x506ccb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x506ccb([0x72,0x61,0x63,0x65])](_0x25f531)[_0x506ccb([0x74,0x68,0x65,0x6e])](()=>_0x504e6a);}async function _0x50491c(){await _0x5cf72a,_0x2809c7[_0x506ccb([0x6d,0x6f,0x64,0x65,0x6c])][_0x506ccb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f8a79,_0x2809c7[_0x506ccb([0x6d,0x6f,0x64,0x65,0x6c])][_0x506ccb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f8a79,_0x2809c7[_0x506ccb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x506ccb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d9267(_0x564bad){const _0x52d91f=_0x389ff4();_0x2809c7[_0x52d91f]=_0x506ccb([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x564bad,_0x564bad!=_0x506ccb([0x56,0x61,0x6c,0x69,0x64])&&_0x50491c();}function _0x389ff4(){const _0x1c4513=window[_0x506ccb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x506ccb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x506ccb([0x6e,0x6f,0x77])]())[_0x506ccb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x506ccb([0x2e]),'');let _0x54dc6b=_0x506ccb([0x76]);for(let _0x4ca479=0x0;_0x4ca479<_0x1c4513[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ca479+=0x2){let _0x6f5af3=window[_0x506ccb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c4513[_0x506ccb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ca479,_0x4ca479+0x2));_0x6f5af3>=_0x4a77fc[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6f5af3-=_0x4a77fc[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54dc6b+=_0x4a77fc[_0x6f5af3];}return _0x54dc6b;}function _0x35b137(){const _0x443150=_0x5d9463[_0x506ccb([0x73,0x70,0x6c,0x69,0x74])](_0x506ccb([0x2e]));if(0x3!=_0x443150[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x597fdb(_0x443150[0x1]);function _0x597fdb(_0xa71027){const _0x351c7f=_0x35145c(_0xa71027);return _0x351c7f&&_0x55f3ae()?_0x351c7f:null;function _0x55f3ae(){const _0x2bbf79=_0x351c7f[_0x506ccb([0x6a,0x74,0x69])],_0x18a1e3=window[_0x506ccb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bbf79[_0x506ccb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bbf79[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5da4c4={..._0x351c7f,[_0x506ccb([0x6a,0x74,0x69])]:_0x2bbf79[_0x506ccb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2bbf79[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5da4c4[_0x506ccb([0x76,0x63])],_0x4c635c(_0x5da4c4)==_0x18a1e3;}}}async function _0x202a24(){let _0x26e8fa=!0x0;try{const _0x3b96ac=_0x5d9463[_0x506ccb([0x73,0x70,0x6c,0x69,0x74])](_0x506ccb([0x2e])),[_0x43f6d4,_0x4146f0,_0x58a46a]=_0x3b96ac;return _0x319548(_0x43f6d4),await _0x55ee42(_0x43f6d4,_0x4146f0,_0x58a46a),_0x26e8fa;}catch{return!0x1;}function _0x319548(_0x1a5793){const _0x383f5c=_0x35145c(_0x1a5793);_0x383f5c&&_0x383f5c[_0x506ccb([0x61,0x6c,0x67])]==_0x506ccb([0x45,0x53,0x32,0x35,0x36])||(_0x26e8fa=!0x1);}async function _0x55ee42(_0x442125,_0x7d73da,_0x2b5120){const _0x47ef5d=window[_0x506ccb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x506ccb([0x66,0x72,0x6f,0x6d])](_0x31568f(_0x2b5120),_0x55ca37=>_0x55ca37[_0x506ccb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x72573b=new window[(_0x506ccb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x506ccb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x442125+_0x506ccb([0x2e])+_0x7d73da),_0x195e6d=window[_0x506ccb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x506ccb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x195e6d)return;const _0x29f694=await _0x195e6d[_0x506ccb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x506ccb([0x6a,0x77,0x6b]),_0xdf8933,{[_0x506ccb([0x6e,0x61,0x6d,0x65])]:_0x506ccb([0x45,0x43,0x44,0x53,0x41]),[_0x506ccb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x506ccb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x506ccb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x195e6d[_0x506ccb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x506ccb([0x6e,0x61,0x6d,0x65])]:_0x506ccb([0x45,0x43,0x44,0x53,0x41]),[_0x506ccb([0x68,0x61,0x73,0x68])]:{[_0x506ccb([0x6e,0x61,0x6d,0x65])]:_0x506ccb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29f694,_0x47ef5d,_0x72573b)||(_0x26e8fa=!0x1);}}function _0x35145c(_0x888cf){return _0x888cf[_0x506ccb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x506ccb([0x65,0x79]))?JSON[_0x506ccb([0x70,0x61,0x72,0x73,0x65])](_0x31568f(_0x888cf)):null;}function _0x31568f(_0x1937ea){return window[_0x506ccb([0x61,0x74,0x6f,0x62])](_0x1937ea[_0x506ccb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x506ccb([0x2b]))[_0x506ccb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x506ccb([0x2f])));}function _0x4c635c(_0x5eec91){let _0x21d1dc=0x1505;function _0x251c36(_0x4db867){for(let _0x30cc45=0x0;_0x30cc45<_0x4db867[_0x506ccb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30cc45++){const _0x202a79=_0x4db867[_0x506ccb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30cc45);_0x21d1dc=(_0x21d1dc<<0x5)+_0x21d1dc+_0x202a79,_0x21d1dc&=_0x21d1dc;}}function _0x4ca387(_0x10914c){Array[_0x506ccb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10914c)?_0x10914c[_0x506ccb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ca387):_0x10914c&&typeof _0x10914c==_0x506ccb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x506ccb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10914c)[_0x506ccb([0x73,0x6f,0x72,0x74])]()[_0x506ccb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x558b8d,_0x56cc27])=>{_0x251c36(_0x558b8d),_0x4ca387(_0x56cc27);}):_0x251c36(window[_0x506ccb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10914c));}return _0x4ca387(_0x5eec91),_0x21d1dc>>>0x0;}function _0x368109(_0x29ef0f){return _0x29ef0f[_0x506ccb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x506ccb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x506ccb([0x30]));}function _0x2fd1dc(_0x2e9f33){return _0x2e9f33[_0x506ccb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x506ccb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x506ccb([0x6a,0x6f,0x69,0x6e])]('');}function _0x2f8a79(){}function _0x506ccb(_0x22ee1c){const _0x5917ae=_0x19c5;return _0x22ee1c[_0x5917ae(0x1c1)](_0xaa39ba=>String[_0x5917ae(0x1c9)](_0xaa39ba))[_0x5917ae(0x1bf)]('');}_0x4d9267(await _0x285454());}(this);}[_0x30ed6b(0x1cb)](){const _0x23c1e6=_0x30ed6b,_0x5810ba=this[_0x23c1e6(0x1ca)];if(!_0x5810ba[_0x23c1e6(0x1c4)][_0x23c1e6(0x1c3)](_0x23c1e6(0x1da)))return;const _0x1bb045=_0x5810ba[_0x23c1e6(0x1c4)][_0x23c1e6(0x1c3)](_0x23c1e6(0x1c0))[_0x23c1e6(0x1c7)](_0x6ea382=>_0x23c1e6(0x1d5)==typeof _0x6ea382&&(!_0x45401f(_0x6ea382)&&isNaN(Number(_0x6ea382))));if(_0x1bb045[_0x23c1e6(0x1b8)])throw new _0xcf069b(_0x23c1e6(0x1de),null,{'namedPresets':_0x1bb045});}[_0x30ed6b(0x1b1)](){const _0x24b885=_0x30ed6b,_0x456c35=this[_0x24b885(0x1ca)],_0x41e842=this[_0x24b885(0x1ca)][_0x24b885(0x1c4)][_0x24b885(0x1c3)](_0x24b885(0x1b7));_0x456c35[_0x24b885(0x1d6)][_0x24b885(0x1cd)](_0x24b885(0x1e4))[_0x24b885(0x1e5)]({'model':{'key':_0x24b885(0x1e6)},'view':_0x3b5bca=>String(_0x3b5bca)===String(_0x41e842)?null:{'key':_0x24b885(0x1d2),'value':{'line-height':_0x3b5bca}}}),_0x456c35[_0x24b885(0x1d6)][_0x24b885(0x1cd)](_0x24b885(0x1e2))[_0x24b885(0x1e5)]({'model':{'key':_0x24b885(0x1e6),'value':_0xd51868=>{const _0x11745b=_0x24b885;let _0x4a467b=_0xd51868[_0x11745b(0x1ce)](_0x11745b(0x1d4));return _0xa133ee(_0x4a467b)&&(_0x4a467b=String(Number(_0x4a467b[_0x11745b(0x1db)](0x0,-0x1))/0x64)),String(_0x4a467b)===String(_0x41e842)?null:_0x4a467b;}},'view':{'styles':{'line-height':/.*/}}});}[_0x30ed6b(0x1b0)](){const _0x428177=_0x30ed6b,_0x2de5e0=this[_0x428177(0x1ca)],_0x2c3be1=this[_0x428177(0x1ca)][_0x428177(0x1c4)][_0x428177(0x1c3)](_0x428177(0x1b7)),_0xcb9f5e=_0x249f03(this[_0x428177(0x1ca)][_0x428177(0x1c4)][_0x428177(0x1c3)](_0x428177(0x1e6)))[_0x428177(0x1c7)](_0x505f90=>_0x505f90[_0x428177(0x1b3)]),_0x311651=_0xd35a33(_0x428177(0x1e6),_0xcb9f5e);_0x2de5e0[_0x428177(0x1d6)][_0x428177(0x1e5)](_0x311651),_0x2de5e0[_0x428177(0x1d6)][_0x428177(0x1cd)](_0x428177(0x1e2))[_0x428177(0x1e5)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x428177(0x1e6),'value':_0xaee8e7=>{const _0x1ff742=_0x428177;let _0x27dc56=_0xaee8e7[_0x1ff742(0x1ce)](_0x1ff742(0x1d4));return _0xa133ee(_0x27dc56)&&(_0x27dc56=String(Number(_0x27dc56[_0x1ff742(0x1db)](0x0,-0x1))/0x64)),_0x27dc56===String(_0x2c3be1)?null:_0x311651[_0x1ff742(0x1b3)][_0x1ff742(0x1d3)][_0x1ff742(0x1b9)](_0x27dc56)?_0x27dc56:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x26582d}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4f375d,createDropdown as _0x27f6f9,MenuBarMenuListItemButtonView as _0x15bd2d,MenuBarMenuListItemView as _0x2ec11f,MenuBarMenuListView as _0xe08435,MenuBarMenuView as _0x4f8964,UIModel as _0x44762f}from'ckeditor5/src/ui.js';import{Collection as _0x82f7f1}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x5d350f}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x142f9b}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x26582d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x25b54d={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x25b54d),this['_registerMenuBarComponent'](_0x25b54d),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x547d48=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1cd40f;for(const _0x102d61 in _0x547d48){const _0x2b5be7=_0x102d61,_0x5dbaf8=_0x547d48[_0x2b5be7];if('lineHeightLicenseKeyValid'==_0x5dbaf8||'lineHeightLicenseKeyInvalid'==_0x5dbaf8||'lineHeightLicenseKeyExpired'==_0x5dbaf8||'lineHeightLicenseKeyDomainLimit'==_0x5dbaf8||'lineHeightLicenseKeyNotAllowed'==_0x5dbaf8||'lineHeightLicenseKeyEvaluationLimit'==_0x5dbaf8||'lineHeightLicenseKeyTrialLimit'==_0x5dbaf8||'lineHeightLicenseKeyUsageLimit'==_0x5dbaf8){delete _0x547d48[_0x2b5be7],_0x1cd40f=_0x5dbaf8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1cd40f&&_0x547d48['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1cd40f&&_0x547d48['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1cd40f&&_0x547d48['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1cd40f&&_0x547d48['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2bb9e7=this['editor'],t=_0x2bb9e7['t'],_0x5a4483=_0x2bb9e7['config']['get']('lineHeight'),_0x2f4b04={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x142f9b(_0x5a4483)['map'](_0x2fe4a2=>{const _0x237177=_0x2f4b04[_0x2fe4a2['title']];return _0x237177&&_0x237177!=_0x2fe4a2['title']&&(_0x2fe4a2=Object['assign']({},_0x2fe4a2,{'title':_0x237177})),_0x2fe4a2;});}['_prepareListOptions'](){const _0x22d6b8=this['editor']['commands']['get']('lineHeight'),_0x5999ad=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4ba060=this['_getLocalizedLineHeightOptions'](),_0x2e9268=new _0x82f7f1(),_0x33b886=_0x5db0d0=>'default'===_0x5db0d0||String(_0x5999ad)===_0x5db0d0;for(const _0x29365f of _0x4ba060){const _0x1fdfcb={'type':'button','model':new _0x44762f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x29365f['title'],'withText':!0x0})};_0x33b886(_0x29365f['model'])?(_0x1fdfcb['model']['bind']('isOn')['to'](_0x22d6b8,'value',_0x31223e=>!_0x31223e),_0x1fdfcb['model']['commandParam']=void 0x0):(_0x1fdfcb['model']['bind']('isOn')['to'](_0x22d6b8,'value',_0x97cc95=>_0x97cc95===_0x29365f['model']),_0x1fdfcb['model']['commandParam']=_0x29365f['model']),_0x2e9268['add'](_0x1fdfcb);}if(this['_shouldRenderCustomValueOption']()){const _0x4cab87=this['_getCustomValueOptionDefinition'](_0x4ba060);_0x2e9268['add'](_0x4cab87);}return _0x2e9268;}['_getCustomValueOptionDefinition'](_0x5e86d1){const _0x2e5738=this['editor'],t=_0x2e5738['t'],_0x41d24a=_0x2e5738['commands']['get']('lineHeight'),_0x2cad8c=_0x5e86d1['map'](_0x142421=>_0x142421['model']),_0x18d213={'type':'button','model':new _0x44762f({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x18d213['model']['bind']('commandParam')['to'](_0x41d24a,'value'),_0x18d213['model']['bind']('isOn')['to'](_0x41d24a,'value',_0x2cfabe=>!!_0x2cfabe&&!_0x2cad8c['includes'](String(_0x2cfabe))),_0x18d213['model']['bind']('label')['to'](_0x41d24a,'value',_0x4084df=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x4084df))),_0x18d213;}['_registerToolbarComponent']({accessibleLabel:_0x2a3ab0,options:_0xbf6310}){const _0x558b2e=this['editor'],_0x47b332=_0x558b2e['commands']['get']('lineHeight');_0x558b2e['ui']['componentFactory']['add']('lineHeight',_0x4979eb=>{const _0x2933a8=_0x27f6f9(_0x4979eb);return _0x4f375d(_0x2933a8,_0xbf6310,{'role':'menu','ariaLabel':_0x2a3ab0}),_0x2933a8['buttonView']['set']({'label':_0x2a3ab0,'tooltip':!0x0,'icon':_0x5d350f}),_0x2933a8['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2933a8['bind']('isEnabled')['to'](_0x47b332),this['listenTo'](_0x2933a8,'execute',_0x54e75b=>{_0x558b2e['execute'](_0x54e75b['source']['commandName'],{'value':_0x54e75b['source']['commandParam']}),_0x558b2e['editing']['view']['focus']();}),_0x2933a8['once']('change:isOpen',()=>{const _0x1122b1=_0x2933a8['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2933a8,_0xbf6310,_0x1122b1);}),_0x2933a8;});}['_registerMenuBarComponent']({accessibleLabel:_0x18a0f1,options:_0x24aa0c}){const _0x297e8b=this['editor'],_0x2cdee8=_0x297e8b['commands']['get']('lineHeight');_0x297e8b['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2a1d71=>{const _0x1f0e6e=new _0x4f8964(_0x2a1d71);_0x1f0e6e['buttonView']['set']({'label':_0x18a0f1,'icon':_0x5d350f}),_0x1f0e6e['bind']('isEnabled')['to'](_0x2cdee8);const _0x2443ac=new _0xe08435(_0x2a1d71);for(const _0x4f3dfd of _0x24aa0c){const _0x40afc8=new _0x2ec11f(_0x2a1d71,_0x1f0e6e),_0x5c7923=new _0x15bd2d(_0x2a1d71);_0x5c7923['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5c7923['bind'](...Object['keys'](_0x4f3dfd['model']))['to'](_0x4f3dfd['model']),_0x5c7923['delegate']('execute')['to'](_0x1f0e6e),_0x5c7923['on']('execute',()=>{_0x297e8b['execute'](_0x4f3dfd['model']['commandName'],{'value':_0x4f3dfd['model']['commandParam']}),_0x297e8b['editing']['view']['focus']();}),_0x40afc8['children']['add'](_0x5c7923),_0x2443ac['items']['add'](_0x40afc8);}return _0x1f0e6e['panelView']['children']['add'](_0x2443ac),this['_attachCustomOptionVisibilityHandler'](_0x1f0e6e,_0x24aa0c,_0x2443ac),_0x1f0e6e;});}['_attachCustomOptionVisibilityHandler'](_0x527c48,_0xd35ba7,_0x24c56f){if(!this['_shouldRenderCustomValueOption']())return;const _0x317eb0=()=>{if(!_0x527c48['isOpen'])return;_0x24c56f['items']['last']['isVisible']=Boolean(_0xd35ba7['last']['model']['isOn']);};_0x317eb0(),_0x527c48['on']('change:isOpen',()=>{_0x317eb0();});}}
23
+ import{Plugin as _0x3529d5}from'ckeditor5/src/core.js';import{addListToDropdown as _0x17ca63,createDropdown as _0x433abf,MenuBarMenuListItemButtonView as _0x3c6f77,MenuBarMenuListItemView as _0x4bcedb,MenuBarMenuListView as _0x5859c7,MenuBarMenuView as _0x3bf78e,UIModel as _0x4e583c}from'ckeditor5/src/ui.js';import{Collection as _0x87f8e4}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x311c21}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x1281a6}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x3529d5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3bcde4={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3bcde4),this['_registerMenuBarComponent'](_0x3bcde4),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x13407f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2682a6;for(const _0x522f7e in _0x13407f){const _0x40b53e=_0x522f7e,_0x562179=_0x13407f[_0x40b53e];if('lineHeightLicenseKeyValid'==_0x562179||'lineHeightLicenseKeyInvalid'==_0x562179||'lineHeightLicenseKeyExpired'==_0x562179||'lineHeightLicenseKeyDomainLimit'==_0x562179||'lineHeightLicenseKeyNotAllowed'==_0x562179||'lineHeightLicenseKeyEvaluationLimit'==_0x562179||'lineHeightLicenseKeyTrialLimit'==_0x562179||'lineHeightLicenseKeyUsageLimit'==_0x562179){delete _0x13407f[_0x40b53e],_0x2682a6=_0x562179,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2682a6&&_0x13407f['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2682a6&&_0x13407f['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2682a6&&_0x13407f['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2682a6&&_0x13407f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3ad992=this['editor'],t=_0x3ad992['t'],_0x79a9b8=_0x3ad992['config']['get']('lineHeight'),_0x1ee32c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x1281a6(_0x79a9b8)['map'](_0x1c360e=>{const _0x15698f=_0x1ee32c[_0x1c360e['title']];return _0x15698f&&_0x15698f!=_0x1c360e['title']&&(_0x1c360e=Object['assign']({},_0x1c360e,{'title':_0x15698f})),_0x1c360e;});}['_prepareListOptions'](){const _0x10da40=this['editor']['commands']['get']('lineHeight'),_0x337ceb=this['editor']['config']['get']('lineHeight.defaultValue'),_0x358c4a=this['_getLocalizedLineHeightOptions'](),_0x4a4e90=new _0x87f8e4(),_0x3a9c66=_0xcccf2=>'default'===_0xcccf2||String(_0x337ceb)===_0xcccf2;for(const _0x41348e of _0x358c4a){const _0x1977cf={'type':'button','model':new _0x4e583c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x41348e['title'],'withText':!0x0})};_0x3a9c66(_0x41348e['model'])?(_0x1977cf['model']['bind']('isOn')['to'](_0x10da40,'value',_0x3a0c72=>!_0x3a0c72),_0x1977cf['model']['commandParam']=void 0x0):(_0x1977cf['model']['bind']('isOn')['to'](_0x10da40,'value',_0x69898a=>_0x69898a===_0x41348e['model']),_0x1977cf['model']['commandParam']=_0x41348e['model']),_0x4a4e90['add'](_0x1977cf);}if(this['_shouldRenderCustomValueOption']()){const _0x2852ae=this['_getCustomValueOptionDefinition'](_0x358c4a);_0x4a4e90['add'](_0x2852ae);}return _0x4a4e90;}['_getCustomValueOptionDefinition'](_0x5a4bd6){const _0x407078=this['editor'],t=_0x407078['t'],_0x386541=_0x407078['commands']['get']('lineHeight'),_0x227611=_0x5a4bd6['map'](_0x590633=>_0x590633['model']),_0x1798ff={'type':'button','model':new _0x4e583c({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1798ff['model']['bind']('commandParam')['to'](_0x386541,'value'),_0x1798ff['model']['bind']('isOn')['to'](_0x386541,'value',_0x54fc1d=>!!_0x54fc1d&&!_0x227611['includes'](String(_0x54fc1d))),_0x1798ff['model']['bind']('label')['to'](_0x386541,'value',_0x3eee51=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3eee51))),_0x1798ff;}['_registerToolbarComponent']({accessibleLabel:_0x176369,options:_0x3da4b9}){const _0x4455a7=this['editor'],_0x5f4b41=_0x4455a7['commands']['get']('lineHeight');_0x4455a7['ui']['componentFactory']['add']('lineHeight',_0x132d2e=>{const _0x1c4c1e=_0x433abf(_0x132d2e);return _0x17ca63(_0x1c4c1e,_0x3da4b9,{'role':'menu','ariaLabel':_0x176369}),_0x1c4c1e['buttonView']['set']({'label':_0x176369,'tooltip':!0x0,'icon':_0x311c21}),_0x1c4c1e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x1c4c1e['bind']('isEnabled')['to'](_0x5f4b41),this['listenTo'](_0x1c4c1e,'execute',_0x430a33=>{_0x4455a7['execute'](_0x430a33['source']['commandName'],{'value':_0x430a33['source']['commandParam']}),_0x4455a7['editing']['view']['focus']();}),_0x1c4c1e['once']('change:isOpen',()=>{const _0x18aab8=_0x1c4c1e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x1c4c1e,_0x3da4b9,_0x18aab8);}),_0x1c4c1e;});}['_registerMenuBarComponent']({accessibleLabel:_0x256aa3,options:_0xb1450e}){const _0x4622aa=this['editor'],_0x3f4dbb=_0x4622aa['commands']['get']('lineHeight');_0x4622aa['ui']['componentFactory']['add']('menuBar:lineHeight',_0x3150e2=>{const _0xeab50c=new _0x3bf78e(_0x3150e2);_0xeab50c['buttonView']['set']({'label':_0x256aa3,'icon':_0x311c21}),_0xeab50c['bind']('isEnabled')['to'](_0x3f4dbb);const _0x28eb80=new _0x5859c7(_0x3150e2);for(const _0x4ee515 of _0xb1450e){const _0x346835=new _0x4bcedb(_0x3150e2,_0xeab50c),_0x1daf5e=new _0x3c6f77(_0x3150e2);_0x1daf5e['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1daf5e['bind'](...Object['keys'](_0x4ee515['model']))['to'](_0x4ee515['model']),_0x1daf5e['delegate']('execute')['to'](_0xeab50c),_0x1daf5e['on']('execute',()=>{_0x4622aa['execute'](_0x4ee515['model']['commandName'],{'value':_0x4ee515['model']['commandParam']}),_0x4622aa['editing']['view']['focus']();}),_0x346835['children']['add'](_0x1daf5e),_0x28eb80['items']['add'](_0x346835);}return _0xeab50c['panelView']['children']['add'](_0x28eb80),this['_attachCustomOptionVisibilityHandler'](_0xeab50c,_0xb1450e,_0x28eb80),_0xeab50c;});}['_attachCustomOptionVisibilityHandler'](_0x5b0c32,_0x3870d1,_0x18d2f4){if(!this['_shouldRenderCustomValueOption']())return;const _0x1eede2=()=>{if(!_0x5b0c32['isOpen'])return;_0x18d2f4['items']['last']['isVisible']=Boolean(_0x3870d1['last']['model']['isOn']);};_0x1eede2(),_0x5b0c32['on']('change:isOpen',()=>{_0x1eede2();});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x215d68,_0x2b0e3e){const _0x27a89a=_0x34d7,_0x1bdb24=_0x215d68();while(!![]){try{const _0x4acc10=-parseInt(_0x27a89a(0x1f6))/0x1*(parseInt(_0x27a89a(0x1fb))/0x2)+parseInt(_0x27a89a(0x210))/0x3+-parseInt(_0x27a89a(0x1fa))/0x4+parseInt(_0x27a89a(0x20d))/0x5*(-parseInt(_0x27a89a(0x209))/0x6)+-parseInt(_0x27a89a(0x205))/0x7*(-parseInt(_0x27a89a(0x1fe))/0x8)+-parseInt(_0x27a89a(0x1fd))/0x9+parseInt(_0x27a89a(0x208))/0xa;if(_0x4acc10===_0x2b0e3e)break;else _0x1bdb24['push'](_0x1bdb24['shift']());}catch(_0x262746){_0x1bdb24['push'](_0x1bdb24['shift']());}}}(_0x196e,0xb671f));const v={get 'single'(){const _0x2086ef=_0x34d7;return{'title':_0x2086ef(0x1fc),'model':_0x2086ef(0x1ef),'view':{'key':_0x2086ef(0x1f9),'value':_0x2086ef(0x202)}};},get 'double'(){const _0x397214=_0x34d7;return{'title':_0x397214(0x1f4),'model':_0x397214(0x200),'view':{'key':_0x397214(0x1f9),'value':_0x397214(0x1ff)}};}};export function isLineHeightDefaultValue(_0x55eb40){const _0x249ba4=_0x34d7;return _0x249ba4(0x207)==typeof _0x55eb40&&_0x249ba4(0x20e)===_0x55eb40[_0x249ba4(0x203)]();}export function normalizeOptions(_0x1c1f33){const _0x52096f=_0x34d7;return _0x1c1f33[_0x52096f(0x1f1)][_0x52096f(0x1f8)](_0x223d21=>isLineHeightDefaultValue(_0x223d21)?{'title':String(_0x1c1f33[_0x52096f(0x1f7)]),'model':_0x52096f(0x20e)}:(_0x52096f(0x20f)==typeof _0x223d21&&(_0x223d21=String(_0x223d21)),_0x52096f(0x207)!=typeof _0x223d21?_0x223d21:parseFloat(_0x223d21)?{'title':_0x223d21,'model':_0x223d21,'view':{'name':_0x52096f(0x20a),'styles':{'line-height':_0x223d21}}}:findPreset(_0x223d21)))[_0x52096f(0x1f2)](_0xd4d996=>void 0x0!==_0xd4d996);}export function findPreset(_0x5798a7){const _0x3436db=_0x34d7;return _0x3436db(0x207)==typeof _0x5798a7?v[_0x5798a7]:v[_0x5798a7[_0x3436db(0x20b)]];}function _0x196e(){const _0x5d1d70=['11920270BuCtYR','2022iAmBWn','span','model','push','17745CAMlMB','default','number','4309029EMcJMp','single','value','options','filter','key','Double','values','1YZcTsG','defaultValue','map','class','2566784SLsaQw','2006868nnLSAH','Single','2449341YDnVjJ','504BCCNXP','line-height-double','double','line-height:','line-height-single','toLowerCase','style','136913ntvgkL','view','string'];_0x196e=function(){return _0x5d1d70;};return _0x196e();}function _0x34d7(_0x55c3fb,_0x46ab09){const _0x196e6f=_0x196e();return _0x34d7=function(_0x34d7ef,_0x93a0ab){_0x34d7ef=_0x34d7ef-0x1ef;let _0x557ef1=_0x196e6f[_0x34d7ef];return _0x557ef1;},_0x34d7(_0x55c3fb,_0x46ab09);}export function buildDefinition(_0x2d0f7d,_0x1af9ff){const _0x391209=_0x34d7,_0x515c11={'model':{'key':_0x2d0f7d,'values':[]},'view':{}};for(const _0x3c32cf of _0x1af9ff)_0x391209(0x1f9)===_0x3c32cf[_0x391209(0x206)]?.[_0x391209(0x1f3)]?(_0x515c11[_0x391209(0x20b)][_0x391209(0x1f5)][_0x391209(0x20c)](_0x3c32cf[_0x391209(0x20b)]),_0x515c11[_0x391209(0x206)][_0x3c32cf[_0x391209(0x20b)]]={'key':_0x391209(0x1f9),'value':_0x3c32cf[_0x391209(0x206)][_0x391209(0x1f0)]}):(_0x515c11[_0x391209(0x20b)][_0x391209(0x1f5)][_0x391209(0x20c)](_0x3c32cf[_0x391209(0x20b)]),_0x515c11[_0x391209(0x206)][_0x3c32cf[_0x391209(0x20b)]]={'key':_0x391209(0x204),'value':_0x391209(0x201)+_0x3c32cf[_0x391209(0x20b)]+';'});return _0x515c11;}
23
+ (function(_0x1ea668,_0x35b7f8){const _0x593d7c=_0x163c,_0x4c8771=_0x1ea668();while(!![]){try{const _0x341695=parseInt(_0x593d7c(0xb4))/0x1*(parseInt(_0x593d7c(0xbb))/0x2)+-parseInt(_0x593d7c(0xc3))/0x3*(parseInt(_0x593d7c(0xa7))/0x4)+parseInt(_0x593d7c(0xb5))/0x5+parseInt(_0x593d7c(0xae))/0x6*(-parseInt(_0x593d7c(0xc8))/0x7)+parseInt(_0x593d7c(0xab))/0x8+parseInt(_0x593d7c(0xc6))/0x9+-parseInt(_0x593d7c(0xac))/0xa*(parseInt(_0x593d7c(0xa8))/0xb);if(_0x341695===_0x35b7f8)break;else _0x4c8771['push'](_0x4c8771['shift']());}catch(_0x41b8a0){_0x4c8771['push'](_0x4c8771['shift']());}}}(_0x4445,0xa590d));function _0x4445(){const _0xf73d50=['defaultValue','view','11098971eDkHrt','style','618394rzJOhU','values','132cYTvRe','20370867civlci','default','key','5935296vyHCfC','10MrXzkA','Single','12sZjNeM','number','double','class','single','filter','20PVcCze','5721045LniIdv','options','push','line-height:','toLowerCase','value','79830pHKGoP','line-height-single','model','line-height-double','string','span','Double','map','110082CleDWJ'];_0x4445=function(){return _0xf73d50;};return _0x4445();}const v={get 'single'(){const _0x4693a1=_0x163c;return{'title':_0x4693a1(0xad),'model':_0x4693a1(0xb2),'view':{'key':_0x4693a1(0xb1),'value':_0x4693a1(0xbc)}};},get 'double'(){const _0x1bb331=_0x163c;return{'title':_0x1bb331(0xc1),'model':_0x1bb331(0xb0),'view':{'key':_0x1bb331(0xb1),'value':_0x1bb331(0xbe)}};}};export function isLineHeightDefaultValue(_0x48594c){const _0x41ddc9=_0x163c;return _0x41ddc9(0xbf)==typeof _0x48594c&&_0x41ddc9(0xa9)===_0x48594c[_0x41ddc9(0xb9)]();}function _0x163c(_0x874633,_0x2cfd4b){const _0x444580=_0x4445();return _0x163c=function(_0x163ced,_0x7d8402){_0x163ced=_0x163ced-0xa6;let _0x54f0fc=_0x444580[_0x163ced];return _0x54f0fc;},_0x163c(_0x874633,_0x2cfd4b);}export function normalizeOptions(_0x31ad1b){const _0x4e243a=_0x163c;return _0x31ad1b[_0x4e243a(0xb6)][_0x4e243a(0xc2)](_0x4c4aab=>isLineHeightDefaultValue(_0x4c4aab)?{'title':String(_0x31ad1b[_0x4e243a(0xc4)]),'model':_0x4e243a(0xa9)}:(_0x4e243a(0xaf)==typeof _0x4c4aab&&(_0x4c4aab=String(_0x4c4aab)),_0x4e243a(0xbf)!=typeof _0x4c4aab?_0x4c4aab:parseFloat(_0x4c4aab)?{'title':_0x4c4aab,'model':_0x4c4aab,'view':{'name':_0x4e243a(0xc0),'styles':{'line-height':_0x4c4aab}}}:findPreset(_0x4c4aab)))[_0x4e243a(0xb3)](_0x29e26e=>void 0x0!==_0x29e26e);}export function findPreset(_0x5b6611){const _0x14b134=_0x163c;return _0x14b134(0xbf)==typeof _0x5b6611?v[_0x5b6611]:v[_0x5b6611[_0x14b134(0xbd)]];}export function buildDefinition(_0x1339d2,_0x210b52){const _0x28cd88=_0x163c,_0x12fe78={'model':{'key':_0x1339d2,'values':[]},'view':{}};for(const _0xd986a6 of _0x210b52)_0x28cd88(0xb1)===_0xd986a6[_0x28cd88(0xc5)]?.[_0x28cd88(0xaa)]?(_0x12fe78[_0x28cd88(0xbd)][_0x28cd88(0xa6)][_0x28cd88(0xb7)](_0xd986a6[_0x28cd88(0xbd)]),_0x12fe78[_0x28cd88(0xc5)][_0xd986a6[_0x28cd88(0xbd)]]={'key':_0x28cd88(0xb1),'value':_0xd986a6[_0x28cd88(0xc5)][_0x28cd88(0xba)]}):(_0x12fe78[_0x28cd88(0xbd)][_0x28cd88(0xa6)][_0x28cd88(0xb7)](_0xd986a6[_0x28cd88(0xbd)]),_0x12fe78[_0x28cd88(0xc5)][_0xd986a6[_0x28cd88(0xbd)]]={'key':_0x28cd88(0xc7),'value':_0x28cd88(0xb8)+_0xd986a6[_0x28cd88(0xbd)]+';'});return _0x12fe78;}