@ckeditor/ckeditor5-line-height 0.0.0-nightly-20250701.1 → 0.0.0-nightly-20250703.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 u=0;u<e.length;u++){var l=[].concat(e[u]);i&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),t.push(l))}},t}},545:e=>{"use strict";var t,n=(t=[],function(e,n){return t[e]=n,t.filter(Boolean).join("\n")});function i(e,t,i,r){var o;if(i)o="";else{o="",r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,s&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}")}if(e.styleSheet)e.styleSheet.cssText=n(t,o);else{var a=document.createTextNode(o),c=e.childNodes;c[t]&&e.removeChild(c[t]),c.length?e.insertBefore(a,c[t]):e.appendChild(a)}}var r={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=r.singletonCounter++,n=r.singleton||(r.singleton=e.insertStyleElement(e));return{update:function(e){i(n,t,!1,e)},remove:function(e){i(n,t,!0,e)}}}},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},667:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},673:e=>{"use strict";var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},s=[],a=0;a<e.length;a++){var c=e[a],u=i.base?c[0]+i.base:c[0],l=o[u]||0,d="".concat(u," ").concat(l);o[u]=l+1;var h=n(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(f);else{var p=r(f,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:p,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=c}}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{LineHeight:()=>j,LineHeightCommand:()=>a,LineHeightEditing:()=>w,LineHeightUI:()=>A});var e=n(782),t=n(584);const r=s;function o(){const e=["editor","819066WnfwUu","refresh","14YrGLlb","from","4qDRjpV","removeAttribute","10wEygZw","schema","change","getAttribute","getSelectedBlocks","filter","value","3637092jsNquE","63376ngtyDP","setAttribute","21703561aQxSZT","999ZOmDAm","checkAttribute","553025HChGBY","isEnabled","document","execute","lineHeight","model","selection","848070odlOvJ","_canHaveLineHeight","2922114joKMAl"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=214]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(556451===-parseInt(t(222))/1+-parseInt(t(230))/2*(-parseInt(t(226))/3)+-parseInt(t(239))/4+-parseInt(t(215))/5+-parseInt(t(224))/6*(parseInt(t(228))/7)+parseInt(t(240))/8*(parseInt(t(243))/9)+parseInt(t(232))/10*(parseInt(t(242))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(227)](){const e=r,n=this[e(225)][e(220)][e(217)],i=(0,t.first)(n[e(221)][e(236)]());this[e(216)]=Boolean(i)&&this[e(223)](i),this[e(238)]=this[e(216)]&&i[e(235)](e(219))}[r(218)](e={}){const t=r,n=this[t(225)][t(220)],i=n[t(217)][t(221)],o=e[t(238)];n[t(234)](e=>{const n=t,r=Array[n(229)](i[n(236)]())[n(237)](e=>this[n(223)](e));for(const t of r)o?e[n(241)](n(219),o,t):e[n(231)](n(219),t)})}[r(223)](e){const t=r;return this[t(225)][t(220)][t(233)][t(214)](e,t(219))}}var c=n(783);!function(e){const t=d,n=e();for(;;)try{if(384348===parseInt(t(451))/1+parseInt(t(445))/2*(parseInt(t(458))/3)+parseInt(t(467))/4*(parseInt(t(473))/5)+-parseInt(t(444))/6+parseInt(t(453))/7*(parseInt(t(461))/8)+parseInt(t(475))/9*(-parseInt(t(460))/10)+parseInt(t(446))/11*(-parseInt(t(456))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const u={get single(){const e=d;return{title:e(472),model:e(466),view:{key:e(463),value:e(447)}}},get double(){const e=d;return{title:e(462),model:e(457),view:{key:e(463),value:e(464)}}}};function l(e){const t=d;return t(478)==typeof e&&t(443)===e[t(454)]()}function d(e,t){const n=h();return(d=function(e,t){return n[e-=443]})(e,t)}function h(){const e=["values","Single","15PgoWVA","style","62730UdJgbN","push","value","string","default","291924aMmLPa","2174wRjYSJ","2053777CJQXnd","line-height-single","filter","number","options","677139iZVbNM","defaultValue","21RFEtxm","toLowerCase","view","132tPYddj","double","2037HboXou","line-height:","420rKxsuu","1596408tZWppD","Double","class","line-height-double","model","single","1020872KeLici","key","span","map"];return(h=function(){return e})()}function f(e){const t=d;return e[t(450)][t(470)](n=>l(n)?{title:String(e[t(452)]),model:t(443)}:(t(449)==typeof n&&(n=String(n)),t(478)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(469),styles:{"line-height":n}}}:function(e){const t=d;return t(478)==typeof e?u[e]:u[e[t(465)]]}(n)))[t(448)](e=>void 0!==e)}const p=g;function g(e,t){const n=m();return(g=function(e,t){return n[e-=360]})(e,t)}function m(){const e=["lineHeight.options","line-height","_preparePredefinedConverters","conversion","70002TcrYxr","line-height-invalid-use-of-named-presets","setAttributeProperties","schema","slice","init","_validateConfig","downcast","getStyle","upcast","commands","3040664wvYumg","7343322JHIvjv","2297076OLMxsj","lineHeight.supportAllValues","6rbtCsq","3707530cbzLjy","get","lineHeight","for","values","model","LineHeightEditing","_prepareAnyValueConverters","default","isPremiumPlugin","isOfficialPlugin","includes","afterInit","join","extend","href","fromCharCode","define","length","map","attributeToAttribute","85664RIgmYf","$block","filter","config","editor","string","pluginName","2552QczRNO","lineHeight.defaultValue","style","1104862RggQIq","add"];return(m=function(){return e})()}!function(e){const t=g,n=e();for(;;)try{if(777124===parseInt(t(382))/1+parseInt(t(392))/2*(-parseInt(t(360))/3)+-parseInt(t(409))/4+parseInt(t(361))/5+parseInt(t(411))/6+-parseInt(t(410))/7+parseInt(t(389))/8*(parseInt(t(398))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(m);class w extends e.Plugin{static get[p(388)](){return p(367)}static get[p(371)](){return!0}static get[p(370)](){return!0}constructor(e){const t=p;super(e),e[t(385)][t(378)](t(363),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(369),2,2.5,3]})}[p(403)](){const e=p,t=this[e(386)];this[e(404)](),t[e(366)][e(401)][e(375)](e(383),{allowAttributes:e(363)}),t[e(366)][e(401)][e(400)](e(363),{isFormatting:!0}),t[e(408)][e(393)](e(363),new a(t)),this[e(386)][e(385)][e(362)](e(412))?this[e(368)]():this[e(396)]()}[p(373)](){!async function(e){const n=m([88,75,114,108,84,90,103,98,121,77,107,99,56,74,71,104,102,66,52,82,73,86,67,112,117,76,101,65,72,109,80,49,105,69,54,122,55,97,48,118,70,110,116,111,115,78,113,119,100,85,83,120,53,51,89,87,68,81,79,57,50,106]),i=window[m([68,97,116,101])][m([110,111,119])](),r=e[m([101,100,105,116,111,114])],o=new(window[m([80,114,111,109,105,115,101])])(e=>{r[m([111,110,99,101])](m([114,101,97,100,121]),e)}),s={[m([107,116,121])]:m([69,67]),[m([117,115,101])]:m([115,105,103]),[m([99,114,118])]:m([80,45,50,53,54]),[m([120])]:m([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[m([121])]:m([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[m([97,108,103])]:m([69,83,50,53,54])},a=r[m([99,111,110,102,105,103])][m([103,101,116])](m([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[m([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[m([116,104,101,110])](()=>new(window[m([80,114,111,109,105,115,101])])(e=>{let t=0;r[m([109,111,100,101,108])][m([111,110])](m([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][m([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,504==t&&(e(),n[m([111,102,102])]())})}))];return window[m([80,114,111,109,105,115,101])][m([114,97,99,101])](t)[m([116,104,101,110])](()=>e)}function u(e){return e[m([115,116,97,114,116,115,87,105,116,104])](m([101,121]))?JSON[m([112,97,114,115,101])](l(e)):null}function l(e){return window[m([97,116,111,98])](e[m([114,101,112,108,97,99,101])](/-/g,m([43]))[m([114,101,112,108,97,99,101])](/_/g,m([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[m([108,101,110,103,116,104])];n++){const i=e[m([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[m([105,115,65,114,114,97,121])](t)?t[m([102,111,114,69,97,99,104])](e):t&&typeof t==m([111,98,106,101,99,116])?Object[m([101,110,116,114,105,101,115])](t)[m([115,111,114,116])]()[m([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[m([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[m([116,111,83,116,114,105,110,103])](16)[m([112,97,100,83,116,97,114,116])](8,m([48]))}function f(e){return e[m([115,112,108,105,116])]("")[m([114,101,118,101,114,115,101])]()[m([106,111,105,110])]("")}function p(){}function m(e){const t=g;return e[t(380)](e=>String[t(377)](e))[t(374)]("")}!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([88]);for(let i=0;i<e[m([108,101,110,103,116,104])];i+=2){let r=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[m([108,101,110,103,116,104])]&&(r-=n[m([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=m([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=m([86,97,108,105,100])&&async function(){await o,r[m([109,111,100,101,108])][m([99,104,97,110,103,101])]=p,r[m([109,111,100,101,108])][m([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[m([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](m([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==m([71,80,76])?m([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[m([115,112,108,105,116])](m([46]));return 3!=e[m([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=u(e);return t&&n()?t:null;function n(){const e=t[m([106,116,105])],n=window[m([112,97,114,115,101,73,110,116])](e[m([115,117,98,115,116,114,105,110,103])](e[m([108,101,110,103,116,104])]-8),16),i={...t,[m([106,116,105])]:e[m([115,117,98,115,116,114,105,110,103])](0,e[m([108,101,110,103,116,104])]-8)};return delete i[m([118,99])],d(i)==n}}}(),e?(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[m([80,114,111,109,105,115,101])])(c=>{if(s())return c(m([86,97,108,105,100]));a(),r[m([100,101,99,111,114,97,116,101])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function p(e){return!!e&&(typeof e===m([111,98,106,101,99,116])||typeof e===m([102,117,110,99,116,105,111,110]))&&typeof e[m([116,104,101,110])]===m([102,117,110,99,116,105,111,110])&&typeof e[m([99,97,116,99,104])]===m([102,117,110,99,116,105,111,110])}function g(t){a(t)[m([116,104,101,110])](e=>e&&e[m([115,116,97,116,117,115])]==m([111,107])?h(d(l+n))!=e[m([118,101,114,105,102,105,99,97,116,105,111,110])]?m([85,115,97,103,101,76,105,109,105,116]):m([86,97,108,105,100]):m([85,115,97,103,101,76,105,109,105,116]))[m([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),m([86,97,108,105,100])):m(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[m([116,104,101,110])](c)[m([99,97,116,99,104])](()=>{c(m([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=m([108,108,99,116,45])+h(d(e)),n=f(h(window[m([77,97,116,104])][m([99,101,105,108])](i/r)));window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([115,101,116,73,116,101,109])](t,n)}function s(){const t=m([108,108,99,116,45])+h(d(e)),n=window[m([108,111,99,97,108,83,116,111,114,97,103,101])][m([103,101,116,73,116,101,109])](t);return n?window[m([112,97,114,115,101,73,110,116])](f(n),16)*r:null}function a(e){return new(window[m([80,114,111,109,105,115,101])])((t,n)=>{e[m([116,104,101,110])](t,n),window[m([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(m([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[m([114,101,113,117,101,115,116,73,100])]:l}},{[m([112,114,105,111,114,105,116,121])]:m([104,105,103,104])}),r[m([111,110])](m([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{p(e[m([114,101,116,117,114,110])])&&(u=!0,g(e[m([114,101,116,117,114,110])]))},{[m([112,114,105,111,114,105,116,121])]:m([108,111,119])}),o[m([116,104,101,110])](()=>{u||c(m([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==m([97,117,116,111])}function a(){r[m([101,100,105,116,105,110,103])][m([118,105,101,119])][m([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=m([97,117,116,111])}}(e[m([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[m([106,116,105])])),await async function(){let e=!0;try{const i=a[m([115,112,108,105,116])](m([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=u(t);n&&n[m([97,108,103])]==m([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[m([85,105,110,116,56,65,114,114,97,121])][m([102,114,111,109])](l(i),e=>e[m([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[m([84,101,120,116,69,110,99,111,100,101,114])]))[m([101,110,99,111,100,101])](t+m([46])+n),a=window[m([99,114,121,112,116,111])][m([115,117,98,116,108,101])];if(!a)return;const c=await a[m([105,109,112,111,114,116,75,101,121])](m([106,119,107]),s,{[m([110,97,109,101])]:m([69,67,68,83,65]),[m([110,97,109,101,100,67,117,114,118,101])]:m([80,45,50,53,54])},!1,[m([118,101,114,105,102,121])]);await a[m([118,101,114,105,102,121])]({[m([110,97,109,101])]:m([69,67,68,83,65]),[m([104,97,115,104])]:{[m([110,97,109,101])]:m([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[m([102,101,97,116,117,114,101,115])];return!(!t||!t[m([105,110,99,108,117,100,101,115])](m([42]))&&!t[m([105,110,99,108,117,100,101,115])](m([76,72])))}()?function(){const t=[m([101,118,97,108,117,97,116,105,111,110]),m([116,114,105,97,108])][m([105,110,99,108,117,100,101,115])](e[m([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1751328e3;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(376)]);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(404)](){const e=p,n=this[e(386)];if(!n[e(385)][e(362)](e(412)))return;const i=n[e(385)][e(362)](e(394))[e(384)](t=>e(387)==typeof t&&!l(t)&&isNaN(Number(t)));if(i[e(379)])throw new t.CKEditorError(e(399),null,{namedPresets:i})}[p(368)](){const e=p,t=this[e(386)],n=this[e(386)][e(385)][e(362)](e(390));t[e(397)][e(364)](e(405))[e(381)]({model:{key:e(363)},view:t=>String(t)===String(n)?null:{key:e(391),value:{"line-height":t}}}),t[e(397)][e(364)](e(407))[e(381)]({model:{key:e(363),value:t=>{const i=e;let r=t[i(406)](i(395));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(402)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[p(396)](){const e=p,t=this[e(386)],n=this[e(386)][e(385)][e(362)](e(390)),i=f(this[e(386)][e(385)][e(362)](e(363)))[e(384)](t=>t[e(366)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(463)===e[n(455)]?.[n(468)]?(i[n(465)][n(471)][n(476)](e[n(465)]),i[n(455)][e[n(465)]]={key:n(463),value:e[n(455)][n(477)]}):(i[n(465)][n(471)][n(476)](e[n(465)]),i[n(455)][e[n(465)]]={key:n(474),value:n(459)+e[n(465)]+";"});return i}(e(363),i);t[e(397)][e(381)](r),t[e(397)][e(364)](e(407))[e(381)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(363),value:t=>{const i=e;let o=t[i(406)](i(395));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(402)](0,-1))/100)),o===String(n)?null:r[i(366)][i(365)][i(372)](o)?o:null}}})}}var v=n(311),y=n(355),b=n(673),I=n.n(b),L=n(545),H=n.n(L),_=n(262),O=n.n(_),C=n(667),x=n.n(C),E=n(357),S=n.n(E),k=n(422),P={attributes:{"data-cke":!0}};P.setAttributes=x(),P.insert=O().bind(null,"head"),P.domAPI=H(),P.insertStyleElement=S();I()(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 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=N;function N(e,t){var n=K();return(N=function(e,t){return n[e-=375]})(e,t)}function K(){var e=["isPremiumPlugin","isOfficialPlugin","3824ZEtexV","431778rlrbfN","requires","1944264moUARo","7BtrNIF","1017495rjkQMH","LineHeight","120OVODej","pluginName","759435nfbgVb","565524SwjEMl","287053pxXKHG"];return(K=function(){return e})()}!function(e){for(var t=N,n=e();;)try{if(167371===-parseInt(t(377))/1+parseInt(t(376))/2+-parseInt(t(387))/3*(parseInt(t(380))/4)+parseInt(t(375))/5+-parseInt(t(381))/6*(parseInt(t(384))/7)+parseInt(t(383))/8+-parseInt(t(385))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);class j extends e.Plugin{static get[V(382)](){return[w,A]}static get[V(388)](){return V(386)}static get[V(379)](){return!0}static get[V(378)](){return!0}}function M(){var e=["3724yFCKSg","3128VFeCbA","11myNrIC","235158aokbvm","4VpRPLf","377628tbsujg","1271622MCoGdj","5554370LmBaUN","105QslHSs","10386wBzejA","9odMPNj","17524788nknLvO"];return(M=function(){return e})()}function T(e,t){var n=M();return(T=function(e,t){return n[e-=286]})(e,t)}!function(e){for(var t=T,n=e();;)try{if(301479===-parseInt(t(296))/1+-parseInt(t(286))/2+-parseInt(t(287))/3*(parseInt(t(297))/4)+parseInt(t(289))/5*(parseInt(t(290))/6)+parseInt(t(293))/7*(parseInt(t(294))/8)+parseInt(t(291))/9*(-parseInt(t(288))/10)+parseInt(t(295))/11*(parseInt(t(292))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(M)})(),(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:()=>K,LineHeightCommand:()=>a,LineHeightEditing:()=>v,LineHeightUI:()=>V});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)}function p(){const e=["downcast","13127972gnDKVi","add","pluginName","string","isOfficialPlugin","for","join","values","editor","line-height","model","filter","upcast","lineHeight.options","init","attributeToAttribute","LineHeightEditing","slice","commands","fromCharCode","afterInit","map","line-height-invalid-use-of-named-presets","_preparePredefinedConverters","schema","63UOONtl","lineHeight.supportAllValues","325645GXvCpV","style","getStyle","1576519ONarhz","define","16YXJJDF","includes","extend","54XpgjoZ","22924PNceMC","_validateConfig","866840UGEPVr","config","get","lineHeight.defaultValue","483uFXbfO","setAttributeProperties","$block","2289310FgKSiN","52789rLAlvV","lineHeight","default","length","href","isPremiumPlugin","_prepareAnyValueConverters","conversion"];return(p=function(){return e})()}const g=m;function m(e,t){const n=p();return(m=function(e,t){return n[e-=346]})(e,t)}!function(e){const t=m,n=e();for(;;)try{if(474921===-parseInt(t(384))/1*(parseInt(t(370))/2)+parseInt(t(380))/3*(-parseInt(t(374))/4)+parseInt(t(365))/5*(-parseInt(t(373))/6)+parseInt(t(368))/7+-parseInt(t(376))/8*(-parseInt(t(363))/9)+parseInt(t(383))/10+parseInt(t(393))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);class v extends e.Plugin{static get[g(395)](){return g(354)}static get[g(397)](){return!0}static get[g(389)](){return!0}constructor(e){const t=g;super(e),e[t(377)][t(369)](t(385),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(386),2,2.5,3]})}[g(352)](){const e=g,t=this[e(346)];this[e(375)](),t[e(348)][e(362)][e(372)](e(382),{allowAttributes:e(385)}),t[e(348)][e(362)][e(381)](e(385),{isFormatting:!0}),t[e(356)][e(394)](e(385),new a(t)),this[e(346)][e(377)][e(378)](e(364))?this[e(390)]():this[e(361)]()}[g(358)](){!async function(e){const n=g([109,72,74,110,105,65,68,75,108,54,118,101,113,116,49,102,119,117,76,98,84,88,80,120,83,82,89,86,73,67,122,85,55,56,111,106,90,103,97,53,107,99,69,57,115,70,87,112,100,71,48,50,104,114,52,66,79,78,121,77,51,81]),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(359)](e=>String[t(357)](e))[t(399)]("")}!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([109]);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:1751500800;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(388)]);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)}[g(375)](){const e=g,n=this[e(346)];if(!n[e(377)][e(378)](e(364)))return;const i=n[e(377)][e(378)](e(351))[e(349)](t=>e(396)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(387)])throw new t.CKEditorError(e(360),null,{namedPresets:i})}[g(390)](){const e=g,t=this[e(346)],n=this[e(346)][e(377)][e(378)](e(379));t[e(391)][e(398)](e(392))[e(353)]({model:{key:e(385)},view:t=>String(t)===String(n)?null:{key:e(366),value:{"line-height":t}}}),t[e(391)][e(398)](e(350))[e(353)]({model:{key:e(385),value:t=>{const i=e;let r=t[i(367)](i(347));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(355)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[g(361)](){const e=g,t=this[e(346)],n=this[e(346)][e(377)][e(378)](e(379)),i=f(this[e(346)][e(377)][e(378)](e(385)))[e(349)](t=>t[e(348)]),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(385),i);t[e(391)][e(353)](r),t[e(391)][e(398)](e(350))[e(353)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(385),value:t=>{const i=e;let o=t[i(367)](i(347));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(355)](0,-1))/100)),o===String(n)?null:r[i(348)][i(400)][i(371)](o)?o:null}}})}}var w=n(311),y=n(355),I=n(673),b=n.n(I),L=n(545),H=n.n(L),_=n(262),C=n.n(_),O=n(667),E=n.n(O),x=n(357),k=n.n(x),P=n(422),S={attributes:{"data-cke":!0}};S.setAttributes=E(),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 V 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 w.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 w.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,w.createDropdown)(r);return(0,w.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 w.MenuBarMenuView(r);o.buttonView.set({label:e,icon:y.IconLineHeight}),o.bind("isEnabled").to(i);const s=new w.MenuBarMenuListView(r);for(const e of t){const t=new w.MenuBarMenuListItemView(r,o),i=new w.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 A=N;function N(e,t){var n=T();return(N=function(e,t){return n[e-=159]})(e,t)}!function(e){for(var t=N,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 K extends e.Plugin{static get[A(160)](){return[v,V]}static get[A(170)](){return A(165)}static get[A(166)](){return!0}static get[A(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 _0x511311,Plugin as _0x5d965d}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1dbac3,CKEditorError as _0x2e624c,uid as _0x293a51,Collection as _0x32793c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x248d26}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x502b17,createDropdown as _0x10f7c5,addListToDropdown as _0x431647,MenuBarMenuView as _0x55d5f8,MenuBarMenuListView as _0x4555d3,MenuBarMenuListItemView as _0x1a5648,MenuBarMenuListItemButtonView as _0xb3e173}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x19dcf5}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x511311{['refresh'](){const _0x5c0346=this['editor']['model']['document'],_0x43018f=_0x1dbac3(_0x5c0346['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x43018f)&&this['_canHaveLineHeight'](_0x43018f),this['value']=this['isEnabled']&&_0x43018f['getAttribute']('lineHeight');}['execute'](_0x977062={}){const _0x19813c=this['editor']['model'],_0x221cd9=_0x19813c['document']['selection'],_0xc4f978=_0x977062['value'];_0x19813c['change'](_0x111b69=>{const _0x19c2d1=Array['from'](_0x221cd9['getSelectedBlocks']())['filter'](_0x1c4b1f=>this['_canHaveLineHeight'](_0x1c4b1f));for(const _0x3bcccb of _0x19c2d1)_0xc4f978?_0x111b69['setAttribute']('lineHeight',_0xc4f978,_0x3bcccb):_0x111b69['removeAttribute']('lineHeight',_0x3bcccb);});}['_canHaveLineHeight'](_0x3aebae){return this['editor']['model']['schema']['checkAttribute'](_0x3aebae,'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(_0x1601a4){return'string'==typeof _0x1601a4&&'default'===_0x1601a4['toLowerCase']();}function a(_0x3fb820){return _0x3fb820['options']['map'](_0x5a3a50=>{return f(_0x5a3a50)?{'title':String(_0x3fb820['defaultValue']),'model':'default'}:('number'==typeof _0x5a3a50&&(_0x5a3a50=String(_0x5a3a50)),'string'!=typeof _0x5a3a50?_0x5a3a50:parseFloat(_0x5a3a50)?{'title':_0x5a3a50,'model':_0x5a3a50,'view':{'name':'span','styles':{'line-height':_0x5a3a50}}}:'string'==typeof(_0x56df0f=_0x5a3a50)?v[_0x56df0f]:v[_0x56df0f['model']]);var _0x56df0f;})['filter'](_0x28ca97=>void 0x0!==_0x28ca97);}class e extends _0x5d965d{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1654f2){super(_0x1654f2),_0x1654f2['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x3c6921=this['editor'];this['_validateConfig'](),_0x3c6921['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x3c6921['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x3c6921['commands']['add']('lineHeight',new n(_0x3c6921)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x3eb446){const _0xddbc8b=_0x5dfcf4([0x58,0x4b,0x72,0x6c,0x54,0x5a,0x67,0x62,0x79,0x4d,0x6b,0x63,0x38,0x4a,0x47,0x68,0x66,0x42,0x34,0x52,0x49,0x56,0x43,0x70,0x75,0x4c,0x65,0x41,0x48,0x6d,0x50,0x31,0x69,0x45,0x36,0x7a,0x37,0x61,0x30,0x76,0x46,0x6e,0x74,0x6f,0x73,0x4e,0x71,0x77,0x64,0x55,0x53,0x78,0x35,0x33,0x59,0x57,0x44,0x51,0x4f,0x39,0x32,0x6a]),_0x2cd818=0x127f1987,_0x241184=0x127875d7^_0x2cd818,_0x3135c7=window[_0x5dfcf4([0x44,0x61,0x74,0x65])][_0x5dfcf4([0x6e,0x6f,0x77])](),_0x2d38a0=_0x3eb446[_0x5dfcf4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x20fbbc=new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaa7bae=>{_0x2d38a0[_0x5dfcf4([0x6f,0x6e,0x63,0x65])](_0x5dfcf4([0x72,0x65,0x61,0x64,0x79]),_0xaa7bae);}),_0x18091a={[_0x5dfcf4([0x6b,0x74,0x79])]:_0x5dfcf4([0x45,0x43]),[_0x5dfcf4([0x75,0x73,0x65])]:_0x5dfcf4([0x73,0x69,0x67]),[_0x5dfcf4([0x63,0x72,0x76])]:_0x5dfcf4([0x50,0x2d,0x32,0x35,0x36]),[_0x5dfcf4([0x78])]:_0x5dfcf4([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]),[_0x5dfcf4([0x79])]:_0x5dfcf4([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]),[_0x5dfcf4([0x61,0x6c,0x67])]:_0x5dfcf4([0x45,0x53,0x32,0x35,0x36])},_0x915bba=_0x2d38a0[_0x5dfcf4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5dfcf4([0x67,0x65,0x74])](_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xae92db(){let _0x2f2e1a,_0x35c00f=null,_0x1c21d6=null;try{if(_0x915bba==_0x5dfcf4([0x47,0x50,0x4c]))return _0x5dfcf4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f2e1a=_0x57ba10(),!_0x2f2e1a)return _0x5dfcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f2e1a[_0x5dfcf4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c21d6=_0x2231eb(_0x2f2e1a[_0x5dfcf4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f2e1a[_0x5dfcf4([0x6a,0x74,0x69])])),await _0x9873f7()?_0x3b678b()?_0x284ab2()?_0x5dfcf4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfe131()?(_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5dfcf4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35c00f=_0x49f3ea(_0x5dfcf4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5dfcf4([0x74,0x72,0x69,0x61,0x6c])&&(_0x35c00f=_0x49f3ea(_0x5dfcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x46f1fe()):_0x5dfcf4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5dfcf4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5dfcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5dfcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x284ab2(){const _0x4568d7=[_0x5dfcf4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5dfcf4([0x74,0x72,0x69,0x61,0x6c])][_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3135c7/0x3e8:0xe10*_0x241184;return _0x2f2e1a[_0x5dfcf4([0x65,0x78,0x70])]<_0x4568d7;}function _0x3b678b(){const _0x3bf5a1=_0x2f2e1a[_0x5dfcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bf5a1&&(!!_0x3bf5a1[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dfcf4([0x2a]))||!!_0x3bf5a1[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dfcf4([0x4c,0x48])));}function _0xfe131(){const _0x32a997=_0x2f2e1a[_0x5dfcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32a997||0x0==_0x32a997[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31ee9c}=new URL(window[_0x5dfcf4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32a997[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31ee9c))return!0x0;const _0x8b6f87=_0x31ee9c[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e]));return _0x32a997[_0x5dfcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x145a42=>_0x145a42[_0x5dfcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dfcf4([0x2a])))[_0x5dfcf4([0x6d,0x61,0x70])](_0x1956c2=>_0x1956c2[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e])))[_0x5dfcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ceb33=>_0x2ceb33[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8b6f87[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dfcf4([0x6d,0x61,0x70])](_0x1406eb=>Array(_0x8b6f87[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1406eb[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5dfcf4([0x66,0x69,0x6c,0x6c])](_0x1406eb[0x0]===_0x5dfcf4([0x2a])?_0x5dfcf4([0x2a]):'')[_0x5dfcf4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1406eb))[_0x5dfcf4([0x73,0x6f,0x6d,0x65])](_0x37a0fa=>_0x8b6f87[_0x5dfcf4([0x65,0x76,0x65,0x72,0x79])]((_0x490692,_0x202068)=>_0x37a0fa[_0x202068]===_0x490692||_0x37a0fa[_0x202068]===_0x5dfcf4([0x2a])));}function _0x46f1fe(){return _0x35c00f&&_0x1c21d6?new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1137de,_0x9a3b7b)=>{_0x35c00f[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x1137de,_0x9a3b7b),_0x1c21d6[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x297e92=>{_0x297e92!=_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64])&&_0x1137de(_0x297e92);},_0x9a3b7b);}):_0x35c00f||_0x1c21d6||_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2231eb(_0x5b9615,_0x66d33c){return new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3475f2=>{if(_0x4103e5())return _0x3475f2(_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64]));_0x22b99a(),_0x2d38a0[_0x5dfcf4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5dfcf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dfee3=!0x1;const _0x25b777=_0x293a51();function _0x7a9ea8(_0x43d097){return!!_0x43d097&&(typeof _0x43d097===_0x5dfcf4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43d097===_0x5dfcf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43d097[_0x5dfcf4([0x74,0x68,0x65,0x6e])]===_0x5dfcf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43d097[_0x5dfcf4([0x63,0x61,0x74,0x63,0x68])]===_0x5dfcf4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xed142d(_0x2a9500){_0x519405(_0x2a9500)[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x451438=>{if(!_0x451438||_0x451438[_0x5dfcf4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5dfcf4([0x6f,0x6b]))return _0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x271fbf(_0x494356(_0x25b777+_0x66d33c))!=_0x451438[_0x5dfcf4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64]);})[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x322903=>(_0x49f721(),_0x322903),()=>{const _0x536960=_0x4514ee();return null==_0x536960?(_0x49f721(),_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64])):_0x5dfcf4(_0x3135c7-_0x536960>(0x36739d87^_0x2cd818)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x3475f2)[_0x5dfcf4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3475f2(_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c998c=0x1249f707^_0x2cd818;function _0x49f721(){const _0x1b50e7=_0x5dfcf4([0x6c,0x6c,0x63,0x74,0x2d])+_0x271fbf(_0x494356(_0x5b9615)),_0x1e3de5=_0x120069(_0x271fbf(window[_0x5dfcf4([0x4d,0x61,0x74,0x68])][_0x5dfcf4([0x63,0x65,0x69,0x6c])](_0x3135c7/_0x2c998c)));window[_0x5dfcf4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dfcf4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b50e7,_0x1e3de5);}function _0x4514ee(){const _0xde62d8=_0x5dfcf4([0x6c,0x6c,0x63,0x74,0x2d])+_0x271fbf(_0x494356(_0x5b9615)),_0x587ee1=window[_0x5dfcf4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5dfcf4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xde62d8);return _0x587ee1?window[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x120069(_0x587ee1),0x10)*_0x2c998c:null;}function _0x519405(_0x2caab6){return new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x176127,_0x53dad1)=>{_0x2caab6[_0x5dfcf4([0x74,0x68,0x65,0x6e])](_0x176127,_0x53dad1),window[_0x5dfcf4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53dad1,0x127ecd47^_0x2cd818);});}}_0x2d38a0[_0x5dfcf4([0x6f,0x6e])](_0x5dfcf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a3ad5,_0x1fc0de)=>{if(_0x1fc0de[0x0]!=_0x5b9615)return _0x3475f2(_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1fc0de[0x1]={..._0x1fc0de[0x1],[_0x5dfcf4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25b777};},{[_0x5dfcf4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dfcf4([0x68,0x69,0x67,0x68])}),_0x2d38a0[_0x5dfcf4([0x6f,0x6e])](_0x5dfcf4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf5c926=>{_0x7a9ea8(_0xf5c926[_0x5dfcf4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dfee3=!0x0,_0xed142d(_0xf5c926[_0x5dfcf4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5dfcf4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5dfcf4([0x6c,0x6f,0x77])}),_0x20fbbc[_0x5dfcf4([0x74,0x68,0x65,0x6e])](()=>{_0x3dfee3||_0x3475f2(_0x5dfcf4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4103e5(){return _0x2d38a0[_0x5dfcf4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dfcf4([0x76,0x69,0x65,0x77])][_0x5dfcf4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5dfcf4([0x61,0x75,0x74,0x6f]);}function _0x22b99a(){_0x2d38a0[_0x5dfcf4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5dfcf4([0x76,0x69,0x65,0x77])][_0x5dfcf4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5dfcf4([0x61,0x75,0x74,0x6f]);}}function _0x49f3ea(_0x2ab4f4){const _0x1f76bc=[new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14076e=>setTimeout(_0x14076e,0x1276274b^_0x2cd818)),_0x20fbbc[_0x5dfcf4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34d0e3=>{let _0x5ebf8e=0x0;_0x2d38a0[_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dfcf4([0x6f,0x6e])](_0x5dfcf4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x171c94,_0x34de40)=>{_0x34de40[0x0][_0x5dfcf4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ebf8e++,_0x5ebf8e==(0x127f187f^_0x2cd818)&&(_0x34d0e3(),_0x171c94[_0x5dfcf4([0x6f,0x66,0x66])]());});}))];return window[_0x5dfcf4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5dfcf4([0x72,0x61,0x63,0x65])](_0x1f76bc)[_0x5dfcf4([0x74,0x68,0x65,0x6e])](()=>_0x2ab4f4);}async function _0x41f177(){await _0x20fbbc,_0x2d38a0[_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dfcf4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e5381,_0x2d38a0[_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5dfcf4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e5381,_0x2d38a0[_0x5dfcf4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5dfcf4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a32fe(_0x5a4a6d){const _0x303bb2=_0x34b4ab();_0x2d38a0[_0x303bb2]=_0x5dfcf4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a4a6d,_0x5a4a6d!=_0x5dfcf4([0x56,0x61,0x6c,0x69,0x64])&&_0x41f177();}function _0x34b4ab(){const _0x16404b=window[_0x5dfcf4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5dfcf4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5dfcf4([0x6e,0x6f,0x77])]())[_0x5dfcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5dfcf4([0x2e]),'');let _0x49dcf8=_0x5dfcf4([0x58]);for(let _0x3eef05=0x0;_0x3eef05<_0x16404b[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3eef05+=0x2){let _0x553d84=window[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16404b[_0x5dfcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3eef05,_0x3eef05+0x2));_0x553d84>=_0xddbc8b[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x553d84-=_0xddbc8b[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49dcf8+=_0xddbc8b[_0x553d84];}return _0x49dcf8;}function _0x57ba10(){const _0x5a50d5=_0x915bba[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e]));if(0x3!=_0x5a50d5[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57f45c(_0x5a50d5[0x1]);function _0x57f45c(_0x391e81){const _0x97020f=_0x40aced(_0x391e81);return _0x97020f&&_0x2df325()?_0x97020f:null;function _0x2df325(){const _0x213921=_0x97020f[_0x5dfcf4([0x6a,0x74,0x69])],_0x2e1be6=window[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x213921[_0x5dfcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x213921[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47d1b3={..._0x97020f,[_0x5dfcf4([0x6a,0x74,0x69])]:_0x213921[_0x5dfcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x213921[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47d1b3[_0x5dfcf4([0x76,0x63])],_0x494356(_0x47d1b3)==_0x2e1be6;}}}async function _0x9873f7(){let _0x4cd55c=!0x0;try{const _0x549585=_0x915bba[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])](_0x5dfcf4([0x2e])),[_0x5286e5,_0x3dd00c,_0x2d972a]=_0x549585;return _0x52e482(_0x5286e5),await _0x537fa7(_0x5286e5,_0x3dd00c,_0x2d972a),_0x4cd55c;}catch{return!0x1;}function _0x52e482(_0x98d5c7){const _0x525abd=_0x40aced(_0x98d5c7);_0x525abd&&_0x525abd[_0x5dfcf4([0x61,0x6c,0x67])]==_0x5dfcf4([0x45,0x53,0x32,0x35,0x36])||(_0x4cd55c=!0x1);}async function _0x537fa7(_0x43ac8a,_0x5ea782,_0x5f2c68){const _0x3f4e85=window[_0x5dfcf4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5dfcf4([0x66,0x72,0x6f,0x6d])](_0x302d8c(_0x5f2c68),_0xb2cd9=>_0xb2cd9[_0x5dfcf4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4efe96=new window[(_0x5dfcf4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5dfcf4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43ac8a+_0x5dfcf4([0x2e])+_0x5ea782),_0x516d35=window[_0x5dfcf4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5dfcf4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x516d35)return;const _0x12f0ec=await _0x516d35[_0x5dfcf4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5dfcf4([0x6a,0x77,0x6b]),_0x18091a,{[_0x5dfcf4([0x6e,0x61,0x6d,0x65])]:_0x5dfcf4([0x45,0x43,0x44,0x53,0x41]),[_0x5dfcf4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5dfcf4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5dfcf4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x516d35[_0x5dfcf4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5dfcf4([0x6e,0x61,0x6d,0x65])]:_0x5dfcf4([0x45,0x43,0x44,0x53,0x41]),[_0x5dfcf4([0x68,0x61,0x73,0x68])]:{[_0x5dfcf4([0x6e,0x61,0x6d,0x65])]:_0x5dfcf4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12f0ec,_0x3f4e85,_0x4efe96)||(_0x4cd55c=!0x1);}}function _0x40aced(_0x1b826d){return _0x1b826d[_0x5dfcf4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5dfcf4([0x65,0x79]))?JSON[_0x5dfcf4([0x70,0x61,0x72,0x73,0x65])](_0x302d8c(_0x1b826d)):null;}function _0x302d8c(_0x13ee1d){return window[_0x5dfcf4([0x61,0x74,0x6f,0x62])](_0x13ee1d[_0x5dfcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5dfcf4([0x2b]))[_0x5dfcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5dfcf4([0x2f])));}function _0x494356(_0x5258f0){let _0x3411db=0x1505;function _0x11e7af(_0xe60169){for(let _0x21214d=0x0;_0x21214d<_0xe60169[_0x5dfcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21214d++){const _0x2f9b0d=_0xe60169[_0x5dfcf4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21214d);_0x3411db=(_0x3411db<<0x5)+_0x3411db+_0x2f9b0d,_0x3411db&=_0x3411db;}}function _0x517a4d(_0x2e4f8b){Array[_0x5dfcf4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e4f8b)?_0x2e4f8b[_0x5dfcf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x517a4d):_0x2e4f8b&&typeof _0x2e4f8b==_0x5dfcf4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5dfcf4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e4f8b)[_0x5dfcf4([0x73,0x6f,0x72,0x74])]()[_0x5dfcf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x591303,_0x50069c])=>{_0x11e7af(_0x591303),_0x517a4d(_0x50069c);}):_0x11e7af(window[_0x5dfcf4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e4f8b));}return _0x517a4d(_0x5258f0),_0x3411db>>>0x0;}function _0x271fbf(_0x1c7ecd){return _0x1c7ecd[_0x5dfcf4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5dfcf4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5dfcf4([0x30]));}function _0x120069(_0x54ff7c){return _0x54ff7c[_0x5dfcf4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5dfcf4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5dfcf4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e5381(){}function _0x5dfcf4(_0xa2d3ed){return _0xa2d3ed['map'](_0x5cd19d=>String['fromCharCode'](_0x5cd19d))['join']('');}_0x4a32fe(await _0xae92db());}(this);}['_validateConfig'](){const _0x3f4b12=this['editor'];if(!_0x3f4b12['config']['get']('lineHeight.supportAllValues'))return;const _0x2835c2=_0x3f4b12['config']['get']('lineHeight.options')['filter'](_0x13a995=>'string'==typeof _0x13a995&&(!f(_0x13a995)&&isNaN(Number(_0x13a995))));if(_0x2835c2['length'])throw new _0x2e624c('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x2835c2});}['_prepareAnyValueConverters'](){const _0x17293b=this['editor'],_0xbb098=this['editor']['config']['get']('lineHeight.defaultValue');_0x17293b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x14f215=>String(_0x14f215)===String(_0xbb098)?null:{'key':'style','value':{'line-height':_0x14f215}}}),_0x17293b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x9c9d20=>{let _0x1d9590=_0x9c9d20['getStyle']('line-height');return _0x248d26(_0x1d9590)&&(_0x1d9590=String(Number(_0x1d9590['slice'](0x0,-0x1))/0x64)),String(_0x1d9590)===String(_0xbb098)?null:_0x1d9590;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0xf4ac34=this['editor'],_0x50a878=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5d46a1=function(_0x20e38a,_0x7844f6){const _0xcab1f2={'model':{'key':_0x20e38a,'values':[]},'view':{}};for(const _0x5231b1 of _0x7844f6)'class'===_0x5231b1['view']?.['key']?(_0xcab1f2['model']['values']['push'](_0x5231b1['model']),_0xcab1f2['view'][_0x5231b1['model']]={'key':'class','value':_0x5231b1['view']['value']}):(_0xcab1f2['model']['values']['push'](_0x5231b1['model']),_0xcab1f2['view'][_0x5231b1['model']]={'key':'style','value':'line-height:'+_0x5231b1['model']+';'});return _0xcab1f2;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x36653b=>_0x36653b['model']));_0xf4ac34['conversion']['attributeToAttribute'](_0x5d46a1),_0xf4ac34['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1b73bb=>{let _0x35a039=_0x1b73bb['getStyle']('line-height');return _0x248d26(_0x35a039)&&(_0x35a039=String(Number(_0x35a039['slice'](0x0,-0x1))/0x64)),_0x35a039===String(_0x50a878)?null:_0x5d46a1['model']['values']['includes'](_0x35a039)?_0x35a039:null;}}});}}class r extends _0x5d965d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1e298={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1e298),this['_registerMenuBarComponent'](_0x1e298),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1d14c5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf33617;for(const _0x150474 in _0x1d14c5){const _0x2a111e=_0x150474,_0x446361=_0x1d14c5[_0x2a111e];if('lineHeightLicenseKeyValid'==_0x446361||'lineHeightLicenseKeyInvalid'==_0x446361||'lineHeightLicenseKeyExpired'==_0x446361||'lineHeightLicenseKeyDomainLimit'==_0x446361||'lineHeightLicenseKeyNotAllowed'==_0x446361||'lineHeightLicenseKeyEvaluationLimit'==_0x446361||'lineHeightLicenseKeyTrialLimit'==_0x446361||'lineHeightLicenseKeyUsageLimit'==_0x446361){delete _0x1d14c5[_0x2a111e],_0xf33617=_0x446361,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xf33617&&_0x1d14c5['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xf33617&&_0x1d14c5['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xf33617&&_0x1d14c5['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0xf33617&&_0x1d14c5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x33e243=this['editor'],t=_0x33e243['t'],_0x1ca323=_0x33e243['config']['get']('lineHeight'),_0x450e4c={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x1ca323)['map'](_0x3bbd69=>{const _0x210675=_0x450e4c[_0x3bbd69['title']];return _0x210675&&_0x210675!=_0x3bbd69['title']&&(_0x3bbd69=Object['assign']({},_0x3bbd69,{'title':_0x210675})),_0x3bbd69;});}['_prepareListOptions'](){const _0x382452=this['editor']['commands']['get']('lineHeight'),_0xd07cd8=this['editor']['config']['get']('lineHeight.defaultValue'),_0x252c72=this['_getLocalizedLineHeightOptions'](),_0x2eb42d=new _0x32793c(),_0x32dae8=_0x59f836=>'default'===_0x59f836||String(_0xd07cd8)===_0x59f836;for(const _0x6a2e21 of _0x252c72){const _0x40fd57={'type':'button','model':new _0x502b17({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x6a2e21['title'],'withText':!0x0})};_0x32dae8(_0x6a2e21['model'])?(_0x40fd57['model']['bind']('isOn')['to'](_0x382452,'value',_0x354537=>!_0x354537),_0x40fd57['model']['commandParam']=void 0x0):(_0x40fd57['model']['bind']('isOn')['to'](_0x382452,'value',_0x456968=>_0x456968===_0x6a2e21['model']),_0x40fd57['model']['commandParam']=_0x6a2e21['model']),_0x2eb42d['add'](_0x40fd57);}if(this['_shouldRenderCustomValueOption']()){const _0x36fc7d=this['_getCustomValueOptionDefinition'](_0x252c72);_0x2eb42d['add'](_0x36fc7d);}return _0x2eb42d;}['_getCustomValueOptionDefinition'](_0x315833){const _0x425637=this['editor'],t=_0x425637['t'],_0x47be31=_0x425637['commands']['get']('lineHeight'),_0x59ada4=_0x315833['map'](_0x5cf8e4=>_0x5cf8e4['model']),_0x30f923={'type':'button','model':new _0x502b17({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x30f923['model']['bind']('commandParam')['to'](_0x47be31,'value'),_0x30f923['model']['bind']('isOn')['to'](_0x47be31,'value',_0x922183=>!!_0x922183&&!_0x59ada4['includes'](String(_0x922183))),_0x30f923['model']['bind']('label')['to'](_0x47be31,'value',_0x2ea6ae=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2ea6ae))),_0x30f923;}['_registerToolbarComponent']({accessibleLabel:_0x16738a,options:_0x1885b6}){const _0x4d6558=this['editor'],_0x7cc4a5=_0x4d6558['commands']['get']('lineHeight');_0x4d6558['ui']['componentFactory']['add']('lineHeight',_0x34e06a=>{const _0x250a9a=_0x10f7c5(_0x34e06a);return _0x431647(_0x250a9a,_0x1885b6,{'role':'menu','ariaLabel':_0x16738a}),_0x250a9a['buttonView']['set']({'label':_0x16738a,'tooltip':!0x0,'icon':_0x19dcf5}),_0x250a9a['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x250a9a['bind']('isEnabled')['to'](_0x7cc4a5),this['listenTo'](_0x250a9a,'execute',_0x3376b7=>{_0x4d6558['execute'](_0x3376b7['source']['commandName'],{'value':_0x3376b7['source']['commandParam']}),_0x4d6558['editing']['view']['focus']();}),_0x250a9a['once']('change:isOpen',()=>{const _0x5926e9=_0x250a9a['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x250a9a,_0x1885b6,_0x5926e9);}),_0x250a9a;});}['_registerMenuBarComponent']({accessibleLabel:_0x466397,options:_0x2551e3}){const _0x4a81e9=this['editor'],_0x3b0821=_0x4a81e9['commands']['get']('lineHeight');_0x4a81e9['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1a37d2=>{const _0x58c54c=new _0x55d5f8(_0x1a37d2);_0x58c54c['buttonView']['set']({'label':_0x466397,'icon':_0x19dcf5}),_0x58c54c['bind']('isEnabled')['to'](_0x3b0821);const _0x336ab7=new _0x4555d3(_0x1a37d2);for(const _0x30f30f of _0x2551e3){const _0x27ae39=new _0x1a5648(_0x1a37d2,_0x58c54c),_0x2a8078=new _0xb3e173(_0x1a37d2);_0x2a8078['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x2a8078['bind'](...Object['keys'](_0x30f30f['model']))['to'](_0x30f30f['model']),_0x2a8078['delegate']('execute')['to'](_0x58c54c),_0x2a8078['on']('execute',()=>{_0x4a81e9['execute'](_0x30f30f['model']['commandName'],{'value':_0x30f30f['model']['commandParam']}),_0x4a81e9['editing']['view']['focus']();}),_0x27ae39['children']['add'](_0x2a8078),_0x336ab7['items']['add'](_0x27ae39);}return _0x58c54c['panelView']['children']['add'](_0x336ab7),this['_attachCustomOptionVisibilityHandler'](_0x58c54c,_0x2551e3,_0x336ab7),_0x58c54c;});}['_attachCustomOptionVisibilityHandler'](_0x3a06ce,_0x586b54,_0x25176f){if(!this['_shouldRenderCustomValueOption']())return;const _0x45af26=()=>{if(!_0x3a06ce['isOpen'])return;_0x25176f['items']['last']['isVisible']=Boolean(_0x586b54['last']['model']['isOn']);};_0x45af26(),_0x3a06ce['on']('change:isOpen',()=>{_0x45af26();});}}class k extends _0x5d965d{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 _0x193775,Plugin as _0x13b176}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x1276ac,CKEditorError as _0x16e2ad,uid as _0x53724c,Collection as _0x2c9420}from'@ckeditor/ckeditor5-utils/dist/index.js';import{isPercentageStyleValue as _0x580cf0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x296faa,createDropdown as _0x131e13,addListToDropdown as _0x379a16,MenuBarMenuView as _0x26a63e,MenuBarMenuListView as _0x2d568a,MenuBarMenuListItemView as _0x46f96e,MenuBarMenuListItemButtonView as _0xec22d0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x3a0b62}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x193775{['refresh'](){const _0x51b0f7=this['editor']['model']['document'],_0x306a98=_0x1276ac(_0x51b0f7['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x306a98)&&this['_canHaveLineHeight'](_0x306a98),this['value']=this['isEnabled']&&_0x306a98['getAttribute']('lineHeight');}['execute'](_0x483fa0={}){const _0x3bc367=this['editor']['model'],_0x302904=_0x3bc367['document']['selection'],_0x5600ee=_0x483fa0['value'];_0x3bc367['change'](_0xa17ea0=>{const _0x18ae9e=Array['from'](_0x302904['getSelectedBlocks']())['filter'](_0x327039=>this['_canHaveLineHeight'](_0x327039));for(const _0x216dff of _0x18ae9e)_0x5600ee?_0xa17ea0['setAttribute']('lineHeight',_0x5600ee,_0x216dff):_0xa17ea0['removeAttribute']('lineHeight',_0x216dff);});}['_canHaveLineHeight'](_0x1380ad){return this['editor']['model']['schema']['checkAttribute'](_0x1380ad,'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(_0x1c5a01){return'string'==typeof _0x1c5a01&&'default'===_0x1c5a01['toLowerCase']();}function a(_0x30c360){return _0x30c360['options']['map'](_0x5b3e96=>{return f(_0x5b3e96)?{'title':String(_0x30c360['defaultValue']),'model':'default'}:('number'==typeof _0x5b3e96&&(_0x5b3e96=String(_0x5b3e96)),'string'!=typeof _0x5b3e96?_0x5b3e96:parseFloat(_0x5b3e96)?{'title':_0x5b3e96,'model':_0x5b3e96,'view':{'name':'span','styles':{'line-height':_0x5b3e96}}}:'string'==typeof(_0x19d7cc=_0x5b3e96)?v[_0x19d7cc]:v[_0x19d7cc['model']]);var _0x19d7cc;})['filter'](_0x4b522a=>void 0x0!==_0x4b522a);}class e extends _0x13b176{static get['pluginName'](){return'LineHeightEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x427749){super(_0x427749),_0x427749['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x4df75=this['editor'];this['_validateConfig'](),_0x4df75['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x4df75['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x4df75['commands']['add']('lineHeight',new n(_0x4df75)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x49fd4f){const _0x3d99f7=_0x2328c1([0x6d,0x48,0x4a,0x6e,0x69,0x41,0x44,0x4b,0x6c,0x36,0x76,0x65,0x71,0x74,0x31,0x66,0x77,0x75,0x4c,0x62,0x54,0x58,0x50,0x78,0x53,0x52,0x59,0x56,0x49,0x43,0x7a,0x55,0x37,0x38,0x6f,0x6a,0x5a,0x67,0x61,0x35,0x6b,0x63,0x45,0x39,0x73,0x46,0x57,0x70,0x64,0x47,0x30,0x32,0x68,0x72,0x34,0x42,0x4f,0x4e,0x79,0x4d,0x33,0x51]),_0x43487b=0x2fb10d7d,_0x320a55=0x2fb661fd^_0x43487b,_0x234051=window[_0x2328c1([0x44,0x61,0x74,0x65])][_0x2328c1([0x6e,0x6f,0x77])](),_0x3b2c1c=_0x49fd4f[_0x2328c1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e88d9=new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3baf5d=>{_0x3b2c1c[_0x2328c1([0x6f,0x6e,0x63,0x65])](_0x2328c1([0x72,0x65,0x61,0x64,0x79]),_0x3baf5d);}),_0x4d7d4c={[_0x2328c1([0x6b,0x74,0x79])]:_0x2328c1([0x45,0x43]),[_0x2328c1([0x75,0x73,0x65])]:_0x2328c1([0x73,0x69,0x67]),[_0x2328c1([0x63,0x72,0x76])]:_0x2328c1([0x50,0x2d,0x32,0x35,0x36]),[_0x2328c1([0x78])]:_0x2328c1([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]),[_0x2328c1([0x79])]:_0x2328c1([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]),[_0x2328c1([0x61,0x6c,0x67])]:_0x2328c1([0x45,0x53,0x32,0x35,0x36])},_0x23594a=_0x3b2c1c[_0x2328c1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2328c1([0x67,0x65,0x74])](_0x2328c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b274d(){let _0x11a381,_0xa347ac=null,_0xe16862=null;try{if(_0x23594a==_0x2328c1([0x47,0x50,0x4c]))return _0x2328c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x11a381=_0x39b980(),!_0x11a381)return _0x2328c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x11a381[_0x2328c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe16862=_0x1da663(_0x11a381[_0x2328c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x11a381[_0x2328c1([0x6a,0x74,0x69])])),await _0x3f86c0()?_0xe67e70()?_0xc1bc74()?_0x2328c1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5eb538()?(_0x11a381[_0x2328c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2328c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa347ac=_0x399392(_0x2328c1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x11a381[_0x2328c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2328c1([0x74,0x72,0x69,0x61,0x6c])&&(_0xa347ac=_0x399392(_0x2328c1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34d147()):_0x2328c1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2328c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2328c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2328c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xc1bc74(){const _0x3c16d6=[_0x2328c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2328c1([0x74,0x72,0x69,0x61,0x6c])][_0x2328c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11a381[_0x2328c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x234051/0x3e8:0xe10*_0x320a55;return _0x11a381[_0x2328c1([0x65,0x78,0x70])]<_0x3c16d6;}function _0xe67e70(){const _0x49a5c8=_0x11a381[_0x2328c1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49a5c8&&(!!_0x49a5c8[_0x2328c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2328c1([0x2a]))||!!_0x49a5c8[_0x2328c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2328c1([0x4c,0x48])));}function _0x5eb538(){const _0x5840e7=_0x11a381[_0x2328c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5840e7||0x0==_0x5840e7[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6a5d86}=new URL(window[_0x2328c1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5840e7[_0x2328c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a5d86))return!0x0;const _0x14e641=_0x6a5d86[_0x2328c1([0x73,0x70,0x6c,0x69,0x74])](_0x2328c1([0x2e]));return _0x5840e7[_0x2328c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fbc3d=>_0x2fbc3d[_0x2328c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2328c1([0x2a])))[_0x2328c1([0x6d,0x61,0x70])](_0x3167b2=>_0x3167b2[_0x2328c1([0x73,0x70,0x6c,0x69,0x74])](_0x2328c1([0x2e])))[_0x2328c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x491043=>_0x491043[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x14e641[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2328c1([0x6d,0x61,0x70])](_0x963b9c=>Array(_0x14e641[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x963b9c[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2328c1([0x66,0x69,0x6c,0x6c])](_0x963b9c[0x0]===_0x2328c1([0x2a])?_0x2328c1([0x2a]):'')[_0x2328c1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x963b9c))[_0x2328c1([0x73,0x6f,0x6d,0x65])](_0x5566f0=>_0x14e641[_0x2328c1([0x65,0x76,0x65,0x72,0x79])]((_0x4abdb0,_0x321050)=>_0x5566f0[_0x321050]===_0x4abdb0||_0x5566f0[_0x321050]===_0x2328c1([0x2a])));}function _0x34d147(){return _0xa347ac&&_0xe16862?new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40897a,_0x9d29a0)=>{_0xa347ac[_0x2328c1([0x74,0x68,0x65,0x6e])](_0x40897a,_0x9d29a0),_0xe16862[_0x2328c1([0x74,0x68,0x65,0x6e])](_0x5c9796=>{_0x5c9796!=_0x2328c1([0x56,0x61,0x6c,0x69,0x64])&&_0x40897a(_0x5c9796);},_0x9d29a0);}):_0xa347ac||_0xe16862||_0x2328c1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1da663(_0x3876e1,_0x2d15ab){return new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fc275=>{if(_0x3e3b80())return _0x3fc275(_0x2328c1([0x56,0x61,0x6c,0x69,0x64]));_0x42ea86(),_0x3b2c1c[_0x2328c1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2328c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ef9bb=!0x1;const _0x180951=_0x53724c();function _0x132895(_0x3f09c8){return!!_0x3f09c8&&(typeof _0x3f09c8===_0x2328c1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f09c8===_0x2328c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f09c8[_0x2328c1([0x74,0x68,0x65,0x6e])]===_0x2328c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f09c8[_0x2328c1([0x63,0x61,0x74,0x63,0x68])]===_0x2328c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b6736(_0x304954){_0x2d822e(_0x304954)[_0x2328c1([0x74,0x68,0x65,0x6e])](_0x4dd1ca=>{if(!_0x4dd1ca||_0x4dd1ca[_0x2328c1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2328c1([0x6f,0x6b]))return _0x2328c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x27d4c6(_0x21c7d0(_0x180951+_0x2d15ab))!=_0x4dd1ca[_0x2328c1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2328c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2328c1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2328c1([0x74,0x68,0x65,0x6e])](_0xe610e0=>(_0x48e297(),_0xe610e0),()=>{const _0x302f3c=_0x2e3d4c();return null==_0x302f3c?(_0x48e297(),_0x2328c1([0x56,0x61,0x6c,0x69,0x64])):_0x2328c1(_0x234051-_0x302f3c>(0xbbd897d^_0x43487b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2328c1([0x74,0x68,0x65,0x6e])](_0x3fc275)[_0x2328c1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fc275(_0x2328c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x241c92=0x2f87e3fd^_0x43487b;function _0x48e297(){const _0x2bdb9=_0x2328c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x27d4c6(_0x21c7d0(_0x3876e1)),_0x1267bb=_0xb7a250(_0x27d4c6(window[_0x2328c1([0x4d,0x61,0x74,0x68])][_0x2328c1([0x63,0x65,0x69,0x6c])](_0x234051/_0x241c92)));window[_0x2328c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2328c1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bdb9,_0x1267bb);}function _0x2e3d4c(){const _0x3b2a91=_0x2328c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x27d4c6(_0x21c7d0(_0x3876e1)),_0x28272c=window[_0x2328c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2328c1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b2a91);return _0x28272c?window[_0x2328c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb7a250(_0x28272c),0x10)*_0x241c92:null;}function _0x2d822e(_0x5cf938){return new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x304cef,_0x26450d)=>{_0x5cf938[_0x2328c1([0x74,0x68,0x65,0x6e])](_0x304cef,_0x26450d),window[_0x2328c1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26450d,0x2fb0d9bd^_0x43487b);});}}_0x3b2c1c[_0x2328c1([0x6f,0x6e])](_0x2328c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16b8f4,_0x578b8b)=>{if(_0x578b8b[0x0]!=_0x3876e1)return _0x3fc275(_0x2328c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x578b8b[0x1]={..._0x578b8b[0x1],[_0x2328c1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x180951};},{[_0x2328c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2328c1([0x68,0x69,0x67,0x68])}),_0x3b2c1c[_0x2328c1([0x6f,0x6e])](_0x2328c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x52c145=>{_0x132895(_0x52c145[_0x2328c1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ef9bb=!0x0,_0x5b6736(_0x52c145[_0x2328c1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2328c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2328c1([0x6c,0x6f,0x77])}),_0x5e88d9[_0x2328c1([0x74,0x68,0x65,0x6e])](()=>{_0x1ef9bb||_0x3fc275(_0x2328c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3e3b80(){return _0x3b2c1c[_0x2328c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2328c1([0x76,0x69,0x65,0x77])][_0x2328c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2328c1([0x61,0x75,0x74,0x6f]);}function _0x42ea86(){_0x3b2c1c[_0x2328c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2328c1([0x76,0x69,0x65,0x77])][_0x2328c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2328c1([0x61,0x75,0x74,0x6f]);}}function _0x399392(_0x5ca55e){const _0xa6602a=[new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xee75ee=>setTimeout(_0xee75ee,0x2fb833b1^_0x43487b)),_0x5e88d9[_0x2328c1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56558a=>{let _0x4c395a=0x0;_0x3b2c1c[_0x2328c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2328c1([0x6f,0x6e])](_0x2328c1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x372c3e,_0x593379)=>{_0x593379[0x0][_0x2328c1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c395a++,_0x4c395a==(0x2fb10c85^_0x43487b)&&(_0x56558a(),_0x372c3e[_0x2328c1([0x6f,0x66,0x66])]());});}))];return window[_0x2328c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2328c1([0x72,0x61,0x63,0x65])](_0xa6602a)[_0x2328c1([0x74,0x68,0x65,0x6e])](()=>_0x5ca55e);}async function _0x739794(){await _0x5e88d9,_0x3b2c1c[_0x2328c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2328c1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55e9cb,_0x3b2c1c[_0x2328c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2328c1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55e9cb,_0x3b2c1c[_0x2328c1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2328c1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12eed3(_0x151689){const _0x40a9b0=_0x58709f();_0x3b2c1c[_0x40a9b0]=_0x2328c1([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x151689,_0x151689!=_0x2328c1([0x56,0x61,0x6c,0x69,0x64])&&_0x739794();}function _0x58709f(){const _0x2bfc36=window[_0x2328c1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2328c1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2328c1([0x6e,0x6f,0x77])]())[_0x2328c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2328c1([0x2e]),'');let _0x11e3f3=_0x2328c1([0x6d]);for(let _0x1b3ffc=0x0;_0x1b3ffc<_0x2bfc36[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b3ffc+=0x2){let _0x7a196f=window[_0x2328c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bfc36[_0x2328c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b3ffc,_0x1b3ffc+0x2));_0x7a196f>=_0x3d99f7[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7a196f-=_0x3d99f7[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11e3f3+=_0x3d99f7[_0x7a196f];}return _0x11e3f3;}function _0x39b980(){const _0x3e5de2=_0x23594a[_0x2328c1([0x73,0x70,0x6c,0x69,0x74])](_0x2328c1([0x2e]));if(0x3!=_0x3e5de2[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x133386(_0x3e5de2[0x1]);function _0x133386(_0x24ce74){const _0x5b0b61=_0x237df6(_0x24ce74);return _0x5b0b61&&_0x1dd43a()?_0x5b0b61:null;function _0x1dd43a(){const _0x465b36=_0x5b0b61[_0x2328c1([0x6a,0x74,0x69])],_0x4e2db7=window[_0x2328c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x465b36[_0x2328c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x465b36[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57e5f4={..._0x5b0b61,[_0x2328c1([0x6a,0x74,0x69])]:_0x465b36[_0x2328c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x465b36[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57e5f4[_0x2328c1([0x76,0x63])],_0x21c7d0(_0x57e5f4)==_0x4e2db7;}}}async function _0x3f86c0(){let _0x5d32f0=!0x0;try{const _0x61748f=_0x23594a[_0x2328c1([0x73,0x70,0x6c,0x69,0x74])](_0x2328c1([0x2e])),[_0x4aac92,_0x1b58b1,_0x31e1bc]=_0x61748f;return _0x261ad2(_0x4aac92),await _0x42fbba(_0x4aac92,_0x1b58b1,_0x31e1bc),_0x5d32f0;}catch{return!0x1;}function _0x261ad2(_0x402223){const _0x384f61=_0x237df6(_0x402223);_0x384f61&&_0x384f61[_0x2328c1([0x61,0x6c,0x67])]==_0x2328c1([0x45,0x53,0x32,0x35,0x36])||(_0x5d32f0=!0x1);}async function _0x42fbba(_0xd860d8,_0x3c0555,_0xf8e183){const _0x1c21c4=window[_0x2328c1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2328c1([0x66,0x72,0x6f,0x6d])](_0x213e8c(_0xf8e183),_0x3a092a=>_0x3a092a[_0x2328c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37f963=new window[(_0x2328c1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2328c1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd860d8+_0x2328c1([0x2e])+_0x3c0555),_0x37b688=window[_0x2328c1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2328c1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37b688)return;const _0x279214=await _0x37b688[_0x2328c1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2328c1([0x6a,0x77,0x6b]),_0x4d7d4c,{[_0x2328c1([0x6e,0x61,0x6d,0x65])]:_0x2328c1([0x45,0x43,0x44,0x53,0x41]),[_0x2328c1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2328c1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2328c1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37b688[_0x2328c1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2328c1([0x6e,0x61,0x6d,0x65])]:_0x2328c1([0x45,0x43,0x44,0x53,0x41]),[_0x2328c1([0x68,0x61,0x73,0x68])]:{[_0x2328c1([0x6e,0x61,0x6d,0x65])]:_0x2328c1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x279214,_0x1c21c4,_0x37f963)||(_0x5d32f0=!0x1);}}function _0x237df6(_0x15f445){return _0x15f445[_0x2328c1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2328c1([0x65,0x79]))?JSON[_0x2328c1([0x70,0x61,0x72,0x73,0x65])](_0x213e8c(_0x15f445)):null;}function _0x213e8c(_0x36188e){return window[_0x2328c1([0x61,0x74,0x6f,0x62])](_0x36188e[_0x2328c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2328c1([0x2b]))[_0x2328c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2328c1([0x2f])));}function _0x21c7d0(_0x32dc3a){let _0x26280a=0x1505;function _0x4bf1f9(_0x4aca34){for(let _0x2656a5=0x0;_0x2656a5<_0x4aca34[_0x2328c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2656a5++){const _0x570d40=_0x4aca34[_0x2328c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2656a5);_0x26280a=(_0x26280a<<0x5)+_0x26280a+_0x570d40,_0x26280a&=_0x26280a;}}function _0x436f4a(_0x565366){Array[_0x2328c1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x565366)?_0x565366[_0x2328c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x436f4a):_0x565366&&typeof _0x565366==_0x2328c1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2328c1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x565366)[_0x2328c1([0x73,0x6f,0x72,0x74])]()[_0x2328c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36aa09,_0x3c192c])=>{_0x4bf1f9(_0x36aa09),_0x436f4a(_0x3c192c);}):_0x4bf1f9(window[_0x2328c1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x565366));}return _0x436f4a(_0x32dc3a),_0x26280a>>>0x0;}function _0x27d4c6(_0x9f2db2){return _0x9f2db2[_0x2328c1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2328c1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2328c1([0x30]));}function _0xb7a250(_0x18114a){return _0x18114a[_0x2328c1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2328c1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2328c1([0x6a,0x6f,0x69,0x6e])]('');}function _0x55e9cb(){}function _0x2328c1(_0x42b8c3){return _0x42b8c3['map'](_0x108104=>String['fromCharCode'](_0x108104))['join']('');}_0x12eed3(await _0x1b274d());}(this);}['_validateConfig'](){const _0xb6631a=this['editor'];if(!_0xb6631a['config']['get']('lineHeight.supportAllValues'))return;const _0x5ecc04=_0xb6631a['config']['get']('lineHeight.options')['filter'](_0x59c565=>'string'==typeof _0x59c565&&(!f(_0x59c565)&&isNaN(Number(_0x59c565))));if(_0x5ecc04['length'])throw new _0x16e2ad('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5ecc04});}['_prepareAnyValueConverters'](){const _0x1fe12b=this['editor'],_0x1df3f2=this['editor']['config']['get']('lineHeight.defaultValue');_0x1fe12b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x32c895=>String(_0x32c895)===String(_0x1df3f2)?null:{'key':'style','value':{'line-height':_0x32c895}}}),_0x1fe12b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x1647b6=>{let _0x199d0c=_0x1647b6['getStyle']('line-height');return _0x580cf0(_0x199d0c)&&(_0x199d0c=String(Number(_0x199d0c['slice'](0x0,-0x1))/0x64)),String(_0x199d0c)===String(_0x1df3f2)?null:_0x199d0c;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x598fec=this['editor'],_0x130473=this['editor']['config']['get']('lineHeight.defaultValue'),_0x1e2893=function(_0x552861,_0x1f6d15){const _0xa47c67={'model':{'key':_0x552861,'values':[]},'view':{}};for(const _0x3c05fe of _0x1f6d15)'class'===_0x3c05fe['view']?.['key']?(_0xa47c67['model']['values']['push'](_0x3c05fe['model']),_0xa47c67['view'][_0x3c05fe['model']]={'key':'class','value':_0x3c05fe['view']['value']}):(_0xa47c67['model']['values']['push'](_0x3c05fe['model']),_0xa47c67['view'][_0x3c05fe['model']]={'key':'style','value':'line-height:'+_0x3c05fe['model']+';'});return _0xa47c67;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x135eca=>_0x135eca['model']));_0x598fec['conversion']['attributeToAttribute'](_0x1e2893),_0x598fec['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0xcc0130=>{let _0x159abe=_0xcc0130['getStyle']('line-height');return _0x580cf0(_0x159abe)&&(_0x159abe=String(Number(_0x159abe['slice'](0x0,-0x1))/0x64)),_0x159abe===String(_0x130473)?null:_0x1e2893['model']['values']['includes'](_0x159abe)?_0x159abe:null;}}});}}class r extends _0x13b176{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1f31ad={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x1f31ad),this['_registerMenuBarComponent'](_0x1f31ad),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1d93fb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1247d4;for(const _0x48a478 in _0x1d93fb){const _0x66afef=_0x48a478,_0x2901e6=_0x1d93fb[_0x66afef];if('lineHeightLicenseKeyValid'==_0x2901e6||'lineHeightLicenseKeyInvalid'==_0x2901e6||'lineHeightLicenseKeyExpired'==_0x2901e6||'lineHeightLicenseKeyDomainLimit'==_0x2901e6||'lineHeightLicenseKeyNotAllowed'==_0x2901e6||'lineHeightLicenseKeyEvaluationLimit'==_0x2901e6||'lineHeightLicenseKeyTrialLimit'==_0x2901e6||'lineHeightLicenseKeyUsageLimit'==_0x2901e6){delete _0x1d93fb[_0x66afef],_0x1247d4=_0x2901e6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x1247d4&&_0x1d93fb['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x1247d4&&_0x1d93fb['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x1247d4&&_0x1d93fb['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x1247d4&&_0x1d93fb['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x1247d4&&_0x1d93fb['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x1247d4&&_0x1d93fb['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x1247d4&&_0x1d93fb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xddf3c3=this['editor'],t=_0xddf3c3['t'],_0x2be426=_0xddf3c3['config']['get']('lineHeight'),_0x1d6aa7={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x2be426)['map'](_0xf416be=>{const _0x4a6bca=_0x1d6aa7[_0xf416be['title']];return _0x4a6bca&&_0x4a6bca!=_0xf416be['title']&&(_0xf416be=Object['assign']({},_0xf416be,{'title':_0x4a6bca})),_0xf416be;});}['_prepareListOptions'](){const _0x42d3d3=this['editor']['commands']['get']('lineHeight'),_0x50a6c1=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2ee4f7=this['_getLocalizedLineHeightOptions'](),_0x313c97=new _0x2c9420(),_0x176e1c=_0xa80b57=>'default'===_0xa80b57||String(_0x50a6c1)===_0xa80b57;for(const _0x37b0b8 of _0x2ee4f7){const _0x419ab8={'type':'button','model':new _0x296faa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x37b0b8['title'],'withText':!0x0})};_0x176e1c(_0x37b0b8['model'])?(_0x419ab8['model']['bind']('isOn')['to'](_0x42d3d3,'value',_0x189223=>!_0x189223),_0x419ab8['model']['commandParam']=void 0x0):(_0x419ab8['model']['bind']('isOn')['to'](_0x42d3d3,'value',_0x272d88=>_0x272d88===_0x37b0b8['model']),_0x419ab8['model']['commandParam']=_0x37b0b8['model']),_0x313c97['add'](_0x419ab8);}if(this['_shouldRenderCustomValueOption']()){const _0x18d20f=this['_getCustomValueOptionDefinition'](_0x2ee4f7);_0x313c97['add'](_0x18d20f);}return _0x313c97;}['_getCustomValueOptionDefinition'](_0x597609){const _0x106ccc=this['editor'],t=_0x106ccc['t'],_0x32113e=_0x106ccc['commands']['get']('lineHeight'),_0x1830c6=_0x597609['map'](_0x5b744e=>_0x5b744e['model']),_0x221399={'type':'button','model':new _0x296faa({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x221399['model']['bind']('commandParam')['to'](_0x32113e,'value'),_0x221399['model']['bind']('isOn')['to'](_0x32113e,'value',_0x329896=>!!_0x329896&&!_0x1830c6['includes'](String(_0x329896))),_0x221399['model']['bind']('label')['to'](_0x32113e,'value',_0x449619=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x449619))),_0x221399;}['_registerToolbarComponent']({accessibleLabel:_0x11c549,options:_0x47eb8c}){const _0x5f0807=this['editor'],_0x2167e5=_0x5f0807['commands']['get']('lineHeight');_0x5f0807['ui']['componentFactory']['add']('lineHeight',_0x129d9f=>{const _0x273003=_0x131e13(_0x129d9f);return _0x379a16(_0x273003,_0x47eb8c,{'role':'menu','ariaLabel':_0x11c549}),_0x273003['buttonView']['set']({'label':_0x11c549,'tooltip':!0x0,'icon':_0x3a0b62}),_0x273003['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x273003['bind']('isEnabled')['to'](_0x2167e5),this['listenTo'](_0x273003,'execute',_0x3c48e2=>{_0x5f0807['execute'](_0x3c48e2['source']['commandName'],{'value':_0x3c48e2['source']['commandParam']}),_0x5f0807['editing']['view']['focus']();}),_0x273003['once']('change:isOpen',()=>{const _0x4301fc=_0x273003['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x273003,_0x47eb8c,_0x4301fc);}),_0x273003;});}['_registerMenuBarComponent']({accessibleLabel:_0x7c7734,options:_0x14f52d}){const _0x4dad41=this['editor'],_0x1bffb0=_0x4dad41['commands']['get']('lineHeight');_0x4dad41['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5eb760=>{const _0xe055cf=new _0x26a63e(_0x5eb760);_0xe055cf['buttonView']['set']({'label':_0x7c7734,'icon':_0x3a0b62}),_0xe055cf['bind']('isEnabled')['to'](_0x1bffb0);const _0x33bd9d=new _0x2d568a(_0x5eb760);for(const _0x35f067 of _0x14f52d){const _0x1385e5=new _0x46f96e(_0x5eb760,_0xe055cf),_0x1038c3=new _0xec22d0(_0x5eb760);_0x1038c3['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1038c3['bind'](...Object['keys'](_0x35f067['model']))['to'](_0x35f067['model']),_0x1038c3['delegate']('execute')['to'](_0xe055cf),_0x1038c3['on']('execute',()=>{_0x4dad41['execute'](_0x35f067['model']['commandName'],{'value':_0x35f067['model']['commandParam']}),_0x4dad41['editing']['view']['focus']();}),_0x1385e5['children']['add'](_0x1038c3),_0x33bd9d['items']['add'](_0x1385e5);}return _0xe055cf['panelView']['children']['add'](_0x33bd9d),this['_attachCustomOptionVisibilityHandler'](_0xe055cf,_0x14f52d,_0x33bd9d),_0xe055cf;});}['_attachCustomOptionVisibilityHandler'](_0x1ce298,_0x39cae7,_0x5af5e6){if(!this['_shouldRenderCustomValueOption']())return;const _0x9e767=()=>{if(!_0x1ce298['isOpen'])return;_0x5af5e6['items']['last']['isVisible']=Boolean(_0x39cae7['last']['model']['isOn']);};_0x9e767(),_0x1ce298['on']('change:isOpen',()=>{_0x9e767();});}}class k extends _0x13b176{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-20250701.1",
3
+ "version": "0.0.0-nightly-20250703.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-20250701.1",
17
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250701.1",
18
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250701.1",
19
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250701.1",
20
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250701.1",
21
- "ckeditor5": "0.0.0-nightly-20250701.1"
16
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250703.0",
17
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250703.0",
18
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250703.0",
19
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250703.0",
20
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250703.0",
21
+ "ckeditor5": "0.0.0-nightly-20250703.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 _0x1878(){var _0x13001e=['3724yFCKSg','3128VFeCbA','11myNrIC','235158aokbvm','4VpRPLf','377628tbsujg','1271622MCoGdj','5554370LmBaUN','105QslHSs','10386wBzejA','9odMPNj','17524788nknLvO'];_0x1878=function(){return _0x13001e;};return _0x1878();}(function(_0x45fc9f,_0x437525){var _0x381aed=_0x1789,_0x3dd5f5=_0x45fc9f();while(!![]){try{var _0xdb764c=-parseInt(_0x381aed(0x128))/0x1+-parseInt(_0x381aed(0x11e))/0x2+-parseInt(_0x381aed(0x11f))/0x3*(parseInt(_0x381aed(0x129))/0x4)+parseInt(_0x381aed(0x121))/0x5*(parseInt(_0x381aed(0x122))/0x6)+parseInt(_0x381aed(0x125))/0x7*(parseInt(_0x381aed(0x126))/0x8)+parseInt(_0x381aed(0x123))/0x9*(-parseInt(_0x381aed(0x120))/0xa)+parseInt(_0x381aed(0x127))/0xb*(parseInt(_0x381aed(0x124))/0xc);if(_0xdb764c===_0x437525)break;else _0x3dd5f5['push'](_0x3dd5f5['shift']());}catch(_0x3e7b16){_0x3dd5f5['push'](_0x3dd5f5['shift']());}}}(_0x1878,0x499a7));export{LineHeight}from'./lineheight.js';export{LineHeightEditing}from'./lineheightediting.js';export{LineHeightUI}from'./lineheightui.js';export{LineHeightCommand}from'./lineheightcommand.js';function _0x1789(_0x5eae45,_0x13d52b){var _0x18780d=_0x1878();return _0x1789=function(_0x1789be,_0x1a24ca){_0x1789be=_0x1789be-0x11e;var _0x1d3582=_0x18780d[_0x1789be];return _0x1d3582;},_0x1789(_0x5eae45,_0x13d52b);}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 _0x1507c3=_0xffa2;(function(_0x2219ed,_0x47d50d){var _0x56be54=_0xffa2,_0x31876e=_0x2219ed();while(!![]){try{var _0x10d5f4=-parseInt(_0x56be54(0x179))/0x1+parseInt(_0x56be54(0x178))/0x2+-parseInt(_0x56be54(0x183))/0x3*(parseInt(_0x56be54(0x17c))/0x4)+parseInt(_0x56be54(0x177))/0x5+-parseInt(_0x56be54(0x17d))/0x6*(parseInt(_0x56be54(0x180))/0x7)+parseInt(_0x56be54(0x17f))/0x8+-parseInt(_0x56be54(0x181))/0x9;if(_0x10d5f4===_0x47d50d)break;else _0x31876e['push'](_0x31876e['shift']());}catch(_0xe30cfc){_0x31876e['push'](_0x31876e['shift']());}}}(_0x204f,0x28dcb));function _0xffa2(_0x599a56,_0x3012ab){var _0x204f18=_0x204f();return _0xffa2=function(_0xffa2b0,_0x31728c){_0xffa2b0=_0xffa2b0-0x177;var _0x266877=_0x204f18[_0xffa2b0];return _0x266877;},_0xffa2(_0x599a56,_0x3012ab);}import{Plugin as _0x4e05d3}from'ckeditor5/src/core.js';function _0x204f(){var _0xd1a41b=['isPremiumPlugin','isOfficialPlugin','3824ZEtexV','431778rlrbfN','requires','1944264moUARo','7BtrNIF','1017495rjkQMH','LineHeight','120OVODej','pluginName','759435nfbgVb','565524SwjEMl','287053pxXKHG'];_0x204f=function(){return _0xd1a41b;};return _0x204f();}import{LineHeightEditing as _0x45a503}from'./lineheightediting.js';import{LineHeightUI as _0x7d0443}from'./lineheightui.js';export class LineHeight extends _0x4e05d3{static get[_0x1507c3(0x17e)](){return[_0x45a503,_0x7d0443];}static get[_0x1507c3(0x184)](){var _0x56cf60=_0x1507c3;return _0x56cf60(0x182);}static get[_0x1507c3(0x17b)](){return!0x0;}static get[_0x1507c3(0x17a)](){return!0x0;}}
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 _0x233e49=_0x5deb;function _0x3a09(){const _0x5a41d5=['editor','819066WnfwUu','refresh','14YrGLlb','from','4qDRjpV','removeAttribute','10wEygZw','schema','change','getAttribute','getSelectedBlocks','filter','value','3637092jsNquE','63376ngtyDP','setAttribute','21703561aQxSZT','999ZOmDAm','checkAttribute','553025HChGBY','isEnabled','document','execute','lineHeight','model','selection','848070odlOvJ','_canHaveLineHeight','2922114joKMAl'];_0x3a09=function(){return _0x5a41d5;};return _0x3a09();}(function(_0x25e5f0,_0x46ac68){const _0x14eced=_0x5deb,_0x44350d=_0x25e5f0();while(!![]){try{const _0x2c4ffe=-parseInt(_0x14eced(0xde))/0x1+-parseInt(_0x14eced(0xe6))/0x2*(-parseInt(_0x14eced(0xe2))/0x3)+-parseInt(_0x14eced(0xef))/0x4+-parseInt(_0x14eced(0xd7))/0x5+-parseInt(_0x14eced(0xe0))/0x6*(parseInt(_0x14eced(0xe4))/0x7)+parseInt(_0x14eced(0xf0))/0x8*(parseInt(_0x14eced(0xf3))/0x9)+parseInt(_0x14eced(0xe8))/0xa*(parseInt(_0x14eced(0xf2))/0xb);if(_0x2c4ffe===_0x46ac68)break;else _0x44350d['push'](_0x44350d['shift']());}catch(_0x14e5bf){_0x44350d['push'](_0x44350d['shift']());}}}(_0x3a09,0x87da3));import{Command as _0x43473e}from'ckeditor5/src/core.js';import{first as _0x3b4ddf}from'ckeditor5/src/utils.js';function _0x5deb(_0xf612af,_0xd3b90e){const _0x3a09d8=_0x3a09();return _0x5deb=function(_0x5deb5a,_0x490fed){_0x5deb5a=_0x5deb5a-0xd6;let _0x216d55=_0x3a09d8[_0x5deb5a];return _0x216d55;},_0x5deb(_0xf612af,_0xd3b90e);}export class LineHeightCommand extends _0x43473e{[_0x233e49(0xe3)](){const _0x18d69d=_0x233e49,_0x42f612=this[_0x18d69d(0xe1)][_0x18d69d(0xdc)][_0x18d69d(0xd9)],_0x500912=_0x3b4ddf(_0x42f612[_0x18d69d(0xdd)][_0x18d69d(0xec)]());this[_0x18d69d(0xd8)]=Boolean(_0x500912)&&this[_0x18d69d(0xdf)](_0x500912),this[_0x18d69d(0xee)]=this[_0x18d69d(0xd8)]&&_0x500912[_0x18d69d(0xeb)](_0x18d69d(0xdb));}[_0x233e49(0xda)](_0x515608={}){const _0x43b596=_0x233e49,_0x2650c7=this[_0x43b596(0xe1)][_0x43b596(0xdc)],_0x310435=_0x2650c7[_0x43b596(0xd9)][_0x43b596(0xdd)],_0x2e4d89=_0x515608[_0x43b596(0xee)];_0x2650c7[_0x43b596(0xea)](_0x56a2c0=>{const _0x33f3db=_0x43b596,_0x24c8a5=Array[_0x33f3db(0xe5)](_0x310435[_0x33f3db(0xec)]())[_0x33f3db(0xed)](_0x2595d3=>this[_0x33f3db(0xdf)](_0x2595d3));for(const _0x46e12d of _0x24c8a5)_0x2e4d89?_0x56a2c0[_0x33f3db(0xf1)](_0x33f3db(0xdb),_0x2e4d89,_0x46e12d):_0x56a2c0[_0x33f3db(0xe7)](_0x33f3db(0xdb),_0x46e12d);});}[_0x233e49(0xdf)](_0x1bd2ff){const _0x38e28c=_0x233e49;return this[_0x38e28c(0xe1)][_0x38e28c(0xdc)][_0x38e28c(0xe9)][_0x38e28c(0xd6)](_0x1bd2ff,_0x38e28c(0xdb));}}
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 _0x38e6aa=_0x487a;(function(_0x4a9da8,_0x5a292a){const _0x522c2f=_0x487a,_0xb194f8=_0x4a9da8();while(!![]){try{const _0x283eb9=parseInt(_0x522c2f(0x17e))/0x1+parseInt(_0x522c2f(0x188))/0x2*(-parseInt(_0x522c2f(0x168))/0x3)+-parseInt(_0x522c2f(0x199))/0x4+parseInt(_0x522c2f(0x169))/0x5+parseInt(_0x522c2f(0x19b))/0x6+-parseInt(_0x522c2f(0x19a))/0x7+parseInt(_0x522c2f(0x185))/0x8*(parseInt(_0x522c2f(0x18e))/0x9);if(_0x283eb9===_0x5a292a)break;else _0xb194f8['push'](_0xb194f8['shift']());}catch(_0x4577d7){_0xb194f8['push'](_0xb194f8['shift']());}}}(_0x4364,0xbdba4));import{Plugin as _0x2a580b}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x340e92}from'./lineheightcommand.js';function _0x487a(_0x2ce5e1,_0x4d7b13){const _0x436453=_0x4364();return _0x487a=function(_0x487aa9,_0x5f457f){_0x487aa9=_0x487aa9-0x168;let _0x456b79=_0x436453[_0x487aa9];return _0x456b79;},_0x487a(_0x2ce5e1,_0x4d7b13);}import{isPercentageStyleValue as _0x3186b6}from'ckeditor5/src/engine.js';function _0x4364(){const _0x52e1a9=['lineHeight.options','line-height','_preparePredefinedConverters','conversion','70002TcrYxr','line-height-invalid-use-of-named-presets','setAttributeProperties','schema','slice','init','_validateConfig','downcast','getStyle','upcast','commands','3040664wvYumg','7343322JHIvjv','2297076OLMxsj','lineHeight.supportAllValues','6rbtCsq','3707530cbzLjy','get','lineHeight','for','values','model','LineHeightEditing','_prepareAnyValueConverters','default','isPremiumPlugin','isOfficialPlugin','includes','afterInit','join','extend','href','fromCharCode','define','length','map','attributeToAttribute','85664RIgmYf','$block','filter','config','editor','string','pluginName','2552QczRNO','lineHeight.defaultValue','style','1104862RggQIq','add'];_0x4364=function(){return _0x52e1a9;};return _0x4364();}import{uid as _0x33f26a,CKEditorError as _0xf9d25}from'ckeditor5/src/utils.js';import{buildDefinition as _0x20b276,isLineHeightDefaultValue as _0x2433a2,normalizeOptions as _0x4bcc99}from'./utils.js';export class LineHeightEditing extends _0x2a580b{static get[_0x38e6aa(0x184)](){const _0x85f55a=_0x38e6aa;return _0x85f55a(0x16f);}static get[_0x38e6aa(0x173)](){return!0x0;}static get[_0x38e6aa(0x172)](){return!0x0;}constructor(_0x3e3da7){const _0x1f2d27=_0x38e6aa;super(_0x3e3da7),_0x3e3da7[_0x1f2d27(0x181)][_0x1f2d27(0x17a)](_0x1f2d27(0x16b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x1f2d27(0x171),0x2,2.5,0x3]});}[_0x38e6aa(0x193)](){const _0x215ffa=_0x38e6aa,_0x563d83=this[_0x215ffa(0x182)];this[_0x215ffa(0x194)](),_0x563d83[_0x215ffa(0x16e)][_0x215ffa(0x191)][_0x215ffa(0x177)](_0x215ffa(0x17f),{'allowAttributes':_0x215ffa(0x16b)}),_0x563d83[_0x215ffa(0x16e)][_0x215ffa(0x191)][_0x215ffa(0x190)](_0x215ffa(0x16b),{'isFormatting':!0x0}),_0x563d83[_0x215ffa(0x198)][_0x215ffa(0x189)](_0x215ffa(0x16b),new _0x340e92(_0x563d83)),this[_0x215ffa(0x182)][_0x215ffa(0x181)][_0x215ffa(0x16a)](_0x215ffa(0x19c))?this[_0x215ffa(0x170)]():this[_0x215ffa(0x18c)]();}[_0x38e6aa(0x175)](){!async function(_0x3e9db9){const _0x1f12d6=_0x4df8bf([0x58,0x4b,0x72,0x6c,0x54,0x5a,0x67,0x62,0x79,0x4d,0x6b,0x63,0x38,0x4a,0x47,0x68,0x66,0x42,0x34,0x52,0x49,0x56,0x43,0x70,0x75,0x4c,0x65,0x41,0x48,0x6d,0x50,0x31,0x69,0x45,0x36,0x7a,0x37,0x61,0x30,0x76,0x46,0x6e,0x74,0x6f,0x73,0x4e,0x71,0x77,0x64,0x55,0x53,0x78,0x35,0x33,0x59,0x57,0x44,0x51,0x4f,0x39,0x32,0x6a]),_0x5d4bb5=0x127f1987,_0x4893ef=0x127875d7^_0x5d4bb5,_0x39449d=window[_0x4df8bf([0x44,0x61,0x74,0x65])][_0x4df8bf([0x6e,0x6f,0x77])](),_0x4a7622=_0x3e9db9[_0x4df8bf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c573b=new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x295e60=>{_0x4a7622[_0x4df8bf([0x6f,0x6e,0x63,0x65])](_0x4df8bf([0x72,0x65,0x61,0x64,0x79]),_0x295e60);}),_0x42794b={[_0x4df8bf([0x6b,0x74,0x79])]:_0x4df8bf([0x45,0x43]),[_0x4df8bf([0x75,0x73,0x65])]:_0x4df8bf([0x73,0x69,0x67]),[_0x4df8bf([0x63,0x72,0x76])]:_0x4df8bf([0x50,0x2d,0x32,0x35,0x36]),[_0x4df8bf([0x78])]:_0x4df8bf([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]),[_0x4df8bf([0x79])]:_0x4df8bf([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]),[_0x4df8bf([0x61,0x6c,0x67])]:_0x4df8bf([0x45,0x53,0x32,0x35,0x36])},_0x26db7d=_0x4a7622[_0x4df8bf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4df8bf([0x67,0x65,0x74])](_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x96654c(){let _0x4b9e30,_0x17482d=null,_0x4d6180=null;try{if(_0x26db7d==_0x4df8bf([0x47,0x50,0x4c]))return _0x4df8bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b9e30=_0x37ebe5(),!_0x4b9e30)return _0x4df8bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b9e30[_0x4df8bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d6180=_0x5bf3cb(_0x4b9e30[_0x4df8bf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b9e30[_0x4df8bf([0x6a,0x74,0x69])])),await _0x330dbf()?_0x3db5ef()?_0x35e523()?_0x4df8bf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47ef73()?(_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4df8bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17482d=_0x1aa89b(_0x4df8bf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4df8bf([0x74,0x72,0x69,0x61,0x6c])&&(_0x17482d=_0x1aa89b(_0x4df8bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa8cce7()):_0x4df8bf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4df8bf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4df8bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4df8bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35e523(){const _0x134635=[_0x4df8bf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4df8bf([0x74,0x72,0x69,0x61,0x6c])][_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39449d/0x3e8:0xe10*_0x4893ef;return _0x4b9e30[_0x4df8bf([0x65,0x78,0x70])]<_0x134635;}function _0x3db5ef(){const _0x56ff8d=_0x4b9e30[_0x4df8bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56ff8d&&(!!_0x56ff8d[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df8bf([0x2a]))||!!_0x56ff8d[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df8bf([0x4c,0x48])));}function _0x47ef73(){const _0x3327ca=_0x487a,_0x111d4a=_0x4b9e30[_0x4df8bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x111d4a||0x0==_0x111d4a[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xba2b20}=new URL(window[_0x4df8bf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3327ca(0x178)]);if(_0x111d4a[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xba2b20))return!0x0;const _0x3c14dd=_0xba2b20[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e]));return _0x111d4a[_0x4df8bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa05c79=>_0xa05c79[_0x4df8bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df8bf([0x2a])))[_0x4df8bf([0x6d,0x61,0x70])](_0x45a0f5=>_0x45a0f5[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e])))[_0x4df8bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13b58f=>_0x13b58f[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c14dd[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4df8bf([0x6d,0x61,0x70])](_0x44d1d0=>Array(_0x3c14dd[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44d1d0[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4df8bf([0x66,0x69,0x6c,0x6c])](_0x44d1d0[0x0]===_0x4df8bf([0x2a])?_0x4df8bf([0x2a]):'')[_0x4df8bf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44d1d0))[_0x4df8bf([0x73,0x6f,0x6d,0x65])](_0x3338b3=>_0x3c14dd[_0x4df8bf([0x65,0x76,0x65,0x72,0x79])]((_0x321bc5,_0x433226)=>_0x3338b3[_0x433226]===_0x321bc5||_0x3338b3[_0x433226]===_0x4df8bf([0x2a])));}function _0xa8cce7(){return _0x17482d&&_0x4d6180?new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x624948,_0xcabb3b)=>{_0x17482d[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x624948,_0xcabb3b),_0x4d6180[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x31cd2d=>{_0x31cd2d!=_0x4df8bf([0x56,0x61,0x6c,0x69,0x64])&&_0x624948(_0x31cd2d);},_0xcabb3b);}):_0x17482d||_0x4d6180||_0x4df8bf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5bf3cb(_0xf18a23,_0x17f3b2){return new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49affd=>{if(_0x58a3e9())return _0x49affd(_0x4df8bf([0x56,0x61,0x6c,0x69,0x64]));_0x1a8dcf(),_0x4a7622[_0x4df8bf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4df8bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b480d=!0x1;const _0x403b68=_0x33f26a();function _0x476846(_0x4b4cb3){return!!_0x4b4cb3&&(typeof _0x4b4cb3===_0x4df8bf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b4cb3===_0x4df8bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b4cb3[_0x4df8bf([0x74,0x68,0x65,0x6e])]===_0x4df8bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b4cb3[_0x4df8bf([0x63,0x61,0x74,0x63,0x68])]===_0x4df8bf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x394b5b(_0x28d0ee){_0x4ae2a7(_0x28d0ee)[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x5ae412=>{if(!_0x5ae412||_0x5ae412[_0x4df8bf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4df8bf([0x6f,0x6b]))return _0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38a996(_0x52040d(_0x403b68+_0x17f3b2))!=_0x5ae412[_0x4df8bf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4df8bf([0x56,0x61,0x6c,0x69,0x64]);})[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x1f9f77=>(_0x440e6d(),_0x1f9f77),()=>{const _0x676b22=_0x26d00a();return null==_0x676b22?(_0x440e6d(),_0x4df8bf([0x56,0x61,0x6c,0x69,0x64])):_0x4df8bf(_0x39449d-_0x676b22>(0x36739d87^_0x5d4bb5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x49affd)[_0x4df8bf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49affd(_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24b5f6=0x1249f707^_0x5d4bb5;function _0x440e6d(){const _0x24095c=_0x4df8bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x38a996(_0x52040d(_0xf18a23)),_0x5c4fe3=_0x5a5e19(_0x38a996(window[_0x4df8bf([0x4d,0x61,0x74,0x68])][_0x4df8bf([0x63,0x65,0x69,0x6c])](_0x39449d/_0x24b5f6)));window[_0x4df8bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4df8bf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24095c,_0x5c4fe3);}function _0x26d00a(){const _0x332a2a=_0x4df8bf([0x6c,0x6c,0x63,0x74,0x2d])+_0x38a996(_0x52040d(_0xf18a23)),_0x241b86=window[_0x4df8bf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4df8bf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x332a2a);return _0x241b86?window[_0x4df8bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a5e19(_0x241b86),0x10)*_0x24b5f6:null;}function _0x4ae2a7(_0x2c98ec){return new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3104c2,_0x52066d)=>{_0x2c98ec[_0x4df8bf([0x74,0x68,0x65,0x6e])](_0x3104c2,_0x52066d),window[_0x4df8bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52066d,0x127ecd47^_0x5d4bb5);});}}_0x4a7622[_0x4df8bf([0x6f,0x6e])](_0x4df8bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18dce7,_0x20ccb7)=>{if(_0x20ccb7[0x0]!=_0xf18a23)return _0x49affd(_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20ccb7[0x1]={..._0x20ccb7[0x1],[_0x4df8bf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x403b68};},{[_0x4df8bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4df8bf([0x68,0x69,0x67,0x68])}),_0x4a7622[_0x4df8bf([0x6f,0x6e])](_0x4df8bf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ccec7=>{_0x476846(_0x1ccec7[_0x4df8bf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b480d=!0x0,_0x394b5b(_0x1ccec7[_0x4df8bf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4df8bf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4df8bf([0x6c,0x6f,0x77])}),_0x2c573b[_0x4df8bf([0x74,0x68,0x65,0x6e])](()=>{_0x1b480d||_0x49affd(_0x4df8bf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58a3e9(){return _0x4a7622[_0x4df8bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4df8bf([0x76,0x69,0x65,0x77])][_0x4df8bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4df8bf([0x61,0x75,0x74,0x6f]);}function _0x1a8dcf(){_0x4a7622[_0x4df8bf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4df8bf([0x76,0x69,0x65,0x77])][_0x4df8bf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4df8bf([0x61,0x75,0x74,0x6f]);}}function _0x1aa89b(_0x3d1bd3){const _0x2fa121=[new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x363a71=>setTimeout(_0x363a71,0x1276274b^_0x5d4bb5)),_0x2c573b[_0x4df8bf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x289e3c=>{let _0x4edf2c=0x0;_0x4a7622[_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df8bf([0x6f,0x6e])](_0x4df8bf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e8cc2,_0x265e8b)=>{_0x265e8b[0x0][_0x4df8bf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4edf2c++,_0x4edf2c==(0x127f187f^_0x5d4bb5)&&(_0x289e3c(),_0x2e8cc2[_0x4df8bf([0x6f,0x66,0x66])]());});}))];return window[_0x4df8bf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4df8bf([0x72,0x61,0x63,0x65])](_0x2fa121)[_0x4df8bf([0x74,0x68,0x65,0x6e])](()=>_0x3d1bd3);}async function _0x397778(){await _0x2c573b,_0x4a7622[_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df8bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4b8703,_0x4a7622[_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x4df8bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4b8703,_0x4a7622[_0x4df8bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4df8bf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5f4d7a(_0x528b26){const _0x2b1f6c=_0x65b560();_0x4a7622[_0x2b1f6c]=_0x4df8bf([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x528b26,_0x528b26!=_0x4df8bf([0x56,0x61,0x6c,0x69,0x64])&&_0x397778();}function _0x65b560(){const _0xfc469=window[_0x4df8bf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4df8bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4df8bf([0x6e,0x6f,0x77])]())[_0x4df8bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4df8bf([0x2e]),'');let _0x284bf3=_0x4df8bf([0x58]);for(let _0x3f73d5=0x0;_0x3f73d5<_0xfc469[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f73d5+=0x2){let _0xb3e9ac=window[_0x4df8bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfc469[_0x4df8bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f73d5,_0x3f73d5+0x2));_0xb3e9ac>=_0x1f12d6[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb3e9ac-=_0x1f12d6[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x284bf3+=_0x1f12d6[_0xb3e9ac];}return _0x284bf3;}function _0x37ebe5(){const _0x21d0d1=_0x26db7d[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e]));if(0x3!=_0x21d0d1[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x14d9ef(_0x21d0d1[0x1]);function _0x14d9ef(_0x34ce3f){const _0x509049=_0x316c0c(_0x34ce3f);return _0x509049&&_0x407de8()?_0x509049:null;function _0x407de8(){const _0x182461=_0x509049[_0x4df8bf([0x6a,0x74,0x69])],_0x3a37a5=window[_0x4df8bf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x182461[_0x4df8bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x182461[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47901c={..._0x509049,[_0x4df8bf([0x6a,0x74,0x69])]:_0x182461[_0x4df8bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x182461[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47901c[_0x4df8bf([0x76,0x63])],_0x52040d(_0x47901c)==_0x3a37a5;}}}async function _0x330dbf(){let _0x1fe530=!0x0;try{const _0x220de7=_0x26db7d[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])](_0x4df8bf([0x2e])),[_0xd7c0e8,_0x3b4993,_0x2f2fb2]=_0x220de7;return _0xd9fc0e(_0xd7c0e8),await _0xbb53a1(_0xd7c0e8,_0x3b4993,_0x2f2fb2),_0x1fe530;}catch{return!0x1;}function _0xd9fc0e(_0x2d6393){const _0x4c7a95=_0x316c0c(_0x2d6393);_0x4c7a95&&_0x4c7a95[_0x4df8bf([0x61,0x6c,0x67])]==_0x4df8bf([0x45,0x53,0x32,0x35,0x36])||(_0x1fe530=!0x1);}async function _0xbb53a1(_0xfe8af1,_0x3686e3,_0x3fdcb6){const _0x18ec2e=window[_0x4df8bf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4df8bf([0x66,0x72,0x6f,0x6d])](_0x4727c1(_0x3fdcb6),_0x3f7bdb=>_0x3f7bdb[_0x4df8bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d2f31=new window[(_0x4df8bf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4df8bf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xfe8af1+_0x4df8bf([0x2e])+_0x3686e3),_0x3d8a87=window[_0x4df8bf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4df8bf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d8a87)return;const _0x5482fa=await _0x3d8a87[_0x4df8bf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4df8bf([0x6a,0x77,0x6b]),_0x42794b,{[_0x4df8bf([0x6e,0x61,0x6d,0x65])]:_0x4df8bf([0x45,0x43,0x44,0x53,0x41]),[_0x4df8bf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4df8bf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4df8bf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d8a87[_0x4df8bf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4df8bf([0x6e,0x61,0x6d,0x65])]:_0x4df8bf([0x45,0x43,0x44,0x53,0x41]),[_0x4df8bf([0x68,0x61,0x73,0x68])]:{[_0x4df8bf([0x6e,0x61,0x6d,0x65])]:_0x4df8bf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5482fa,_0x18ec2e,_0x1d2f31)||(_0x1fe530=!0x1);}}function _0x316c0c(_0x160750){return _0x160750[_0x4df8bf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4df8bf([0x65,0x79]))?JSON[_0x4df8bf([0x70,0x61,0x72,0x73,0x65])](_0x4727c1(_0x160750)):null;}function _0x4727c1(_0xd264c7){return window[_0x4df8bf([0x61,0x74,0x6f,0x62])](_0xd264c7[_0x4df8bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4df8bf([0x2b]))[_0x4df8bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4df8bf([0x2f])));}function _0x52040d(_0x27b74c){let _0xaedb82=0x1505;function _0x5b032f(_0x2504a6){for(let _0x4bc123=0x0;_0x4bc123<_0x2504a6[_0x4df8bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bc123++){const _0xe69874=_0x2504a6[_0x4df8bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bc123);_0xaedb82=(_0xaedb82<<0x5)+_0xaedb82+_0xe69874,_0xaedb82&=_0xaedb82;}}function _0x55dba0(_0x488d83){Array[_0x4df8bf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x488d83)?_0x488d83[_0x4df8bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x55dba0):_0x488d83&&typeof _0x488d83==_0x4df8bf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4df8bf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x488d83)[_0x4df8bf([0x73,0x6f,0x72,0x74])]()[_0x4df8bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48b246,_0x5d9cd2])=>{_0x5b032f(_0x48b246),_0x55dba0(_0x5d9cd2);}):_0x5b032f(window[_0x4df8bf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x488d83));}return _0x55dba0(_0x27b74c),_0xaedb82>>>0x0;}function _0x38a996(_0xb2bcdc){return _0xb2bcdc[_0x4df8bf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4df8bf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4df8bf([0x30]));}function _0x5a5e19(_0x40aae1){return _0x40aae1[_0x4df8bf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4df8bf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4df8bf([0x6a,0x6f,0x69,0x6e])]('');}function _0x4b8703(){}function _0x4df8bf(_0x592218){const _0x1acdcf=_0x487a;return _0x592218[_0x1acdcf(0x17c)](_0x2f5bd9=>String[_0x1acdcf(0x179)](_0x2f5bd9))[_0x1acdcf(0x176)]('');}_0x5f4d7a(await _0x96654c());}(this);}[_0x38e6aa(0x194)](){const _0x1e944c=_0x38e6aa,_0x171d55=this[_0x1e944c(0x182)];if(!_0x171d55[_0x1e944c(0x181)][_0x1e944c(0x16a)](_0x1e944c(0x19c)))return;const _0x3e01bc=_0x171d55[_0x1e944c(0x181)][_0x1e944c(0x16a)](_0x1e944c(0x18a))[_0x1e944c(0x180)](_0x1b90da=>_0x1e944c(0x183)==typeof _0x1b90da&&(!_0x2433a2(_0x1b90da)&&isNaN(Number(_0x1b90da))));if(_0x3e01bc[_0x1e944c(0x17b)])throw new _0xf9d25(_0x1e944c(0x18f),null,{'namedPresets':_0x3e01bc});}[_0x38e6aa(0x170)](){const _0x380d41=_0x38e6aa,_0xc6e007=this[_0x380d41(0x182)],_0x2cb2da=this[_0x380d41(0x182)][_0x380d41(0x181)][_0x380d41(0x16a)](_0x380d41(0x186));_0xc6e007[_0x380d41(0x18d)][_0x380d41(0x16c)](_0x380d41(0x195))[_0x380d41(0x17d)]({'model':{'key':_0x380d41(0x16b)},'view':_0x5e851f=>String(_0x5e851f)===String(_0x2cb2da)?null:{'key':_0x380d41(0x187),'value':{'line-height':_0x5e851f}}}),_0xc6e007[_0x380d41(0x18d)][_0x380d41(0x16c)](_0x380d41(0x197))[_0x380d41(0x17d)]({'model':{'key':_0x380d41(0x16b),'value':_0x1df2ad=>{const _0x587046=_0x380d41;let _0x5cdf67=_0x1df2ad[_0x587046(0x196)](_0x587046(0x18b));return _0x3186b6(_0x5cdf67)&&(_0x5cdf67=String(Number(_0x5cdf67[_0x587046(0x192)](0x0,-0x1))/0x64)),String(_0x5cdf67)===String(_0x2cb2da)?null:_0x5cdf67;}},'view':{'styles':{'line-height':/.*/}}});}[_0x38e6aa(0x18c)](){const _0x3c3fac=_0x38e6aa,_0x57770d=this[_0x3c3fac(0x182)],_0x38645e=this[_0x3c3fac(0x182)][_0x3c3fac(0x181)][_0x3c3fac(0x16a)](_0x3c3fac(0x186)),_0x493172=_0x4bcc99(this[_0x3c3fac(0x182)][_0x3c3fac(0x181)][_0x3c3fac(0x16a)](_0x3c3fac(0x16b)))[_0x3c3fac(0x180)](_0x43d682=>_0x43d682[_0x3c3fac(0x16e)]),_0x2ad5e9=_0x20b276(_0x3c3fac(0x16b),_0x493172);_0x57770d[_0x3c3fac(0x18d)][_0x3c3fac(0x17d)](_0x2ad5e9),_0x57770d[_0x3c3fac(0x18d)][_0x3c3fac(0x16c)](_0x3c3fac(0x197))[_0x3c3fac(0x17d)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x3c3fac(0x16b),'value':_0x486350=>{const _0x3dfd14=_0x3c3fac;let _0x34ef73=_0x486350[_0x3dfd14(0x196)](_0x3dfd14(0x18b));return _0x3186b6(_0x34ef73)&&(_0x34ef73=String(Number(_0x34ef73[_0x3dfd14(0x192)](0x0,-0x1))/0x64)),_0x34ef73===String(_0x38645e)?null:_0x2ad5e9[_0x3dfd14(0x16e)][_0x3dfd14(0x16d)][_0x3dfd14(0x174)](_0x34ef73)?_0x34ef73:null;}}});}}
23
+ function _0x2747(){const _0x51605c=['downcast','13127972gnDKVi','add','pluginName','string','isOfficialPlugin','for','join','values','editor','line-height','model','filter','upcast','lineHeight.options','init','attributeToAttribute','LineHeightEditing','slice','commands','fromCharCode','afterInit','map','line-height-invalid-use-of-named-presets','_preparePredefinedConverters','schema','63UOONtl','lineHeight.supportAllValues','325645GXvCpV','style','getStyle','1576519ONarhz','define','16YXJJDF','includes','extend','54XpgjoZ','22924PNceMC','_validateConfig','866840UGEPVr','config','get','lineHeight.defaultValue','483uFXbfO','setAttributeProperties','$block','2289310FgKSiN','52789rLAlvV','lineHeight','default','length','href','isPremiumPlugin','_prepareAnyValueConverters','conversion'];_0x2747=function(){return _0x51605c;};return _0x2747();}const _0x53aba2=_0x392b;(function(_0x14c1c8,_0x1dfaa2){const _0x4f8b3c=_0x392b,_0x11dd54=_0x14c1c8();while(!![]){try{const _0x438726=-parseInt(_0x4f8b3c(0x180))/0x1*(parseInt(_0x4f8b3c(0x172))/0x2)+parseInt(_0x4f8b3c(0x17c))/0x3*(-parseInt(_0x4f8b3c(0x176))/0x4)+parseInt(_0x4f8b3c(0x16d))/0x5*(-parseInt(_0x4f8b3c(0x175))/0x6)+parseInt(_0x4f8b3c(0x170))/0x7+-parseInt(_0x4f8b3c(0x178))/0x8*(-parseInt(_0x4f8b3c(0x16b))/0x9)+parseInt(_0x4f8b3c(0x17f))/0xa+parseInt(_0x4f8b3c(0x189))/0xb;if(_0x438726===_0x1dfaa2)break;else _0x11dd54['push'](_0x11dd54['shift']());}catch(_0x4a812f){_0x11dd54['push'](_0x11dd54['shift']());}}}(_0x2747,0x73f29));import{Plugin as _0x3136d1}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x529267}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5b9d89}from'ckeditor5/src/engine.js';function _0x392b(_0x3f235b,_0x8bb5ba){const _0x274716=_0x2747();return _0x392b=function(_0x392b23,_0x383c72){_0x392b23=_0x392b23-0x15a;let _0x52cc75=_0x274716[_0x392b23];return _0x52cc75;},_0x392b(_0x3f235b,_0x8bb5ba);}import{uid as _0x1597cf,CKEditorError as _0x5632de}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1ff34e,isLineHeightDefaultValue as _0x24a538,normalizeOptions as _0x555cc4}from'./utils.js';export class LineHeightEditing extends _0x3136d1{static get[_0x53aba2(0x18b)](){const _0x4eb92b=_0x53aba2;return _0x4eb92b(0x162);}static get[_0x53aba2(0x18d)](){return!0x0;}static get[_0x53aba2(0x185)](){return!0x0;}constructor(_0x5e293d){const _0x467760=_0x53aba2;super(_0x5e293d),_0x5e293d[_0x467760(0x179)][_0x467760(0x171)](_0x467760(0x181),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x467760(0x182),0x2,2.5,0x3]});}[_0x53aba2(0x160)](){const _0x1fec11=_0x53aba2,_0x4cdf43=this[_0x1fec11(0x15a)];this[_0x1fec11(0x177)](),_0x4cdf43[_0x1fec11(0x15c)][_0x1fec11(0x16a)][_0x1fec11(0x174)](_0x1fec11(0x17e),{'allowAttributes':_0x1fec11(0x181)}),_0x4cdf43[_0x1fec11(0x15c)][_0x1fec11(0x16a)][_0x1fec11(0x17d)](_0x1fec11(0x181),{'isFormatting':!0x0}),_0x4cdf43[_0x1fec11(0x164)][_0x1fec11(0x18a)](_0x1fec11(0x181),new _0x529267(_0x4cdf43)),this[_0x1fec11(0x15a)][_0x1fec11(0x179)][_0x1fec11(0x17a)](_0x1fec11(0x16c))?this[_0x1fec11(0x186)]():this[_0x1fec11(0x169)]();}[_0x53aba2(0x166)](){!async function(_0x39d4a0){const _0x4b05ac=_0x1d7c03([0x6d,0x48,0x4a,0x6e,0x69,0x41,0x44,0x4b,0x6c,0x36,0x76,0x65,0x71,0x74,0x31,0x66,0x77,0x75,0x4c,0x62,0x54,0x58,0x50,0x78,0x53,0x52,0x59,0x56,0x49,0x43,0x7a,0x55,0x37,0x38,0x6f,0x6a,0x5a,0x67,0x61,0x35,0x6b,0x63,0x45,0x39,0x73,0x46,0x57,0x70,0x64,0x47,0x30,0x32,0x68,0x72,0x34,0x42,0x4f,0x4e,0x79,0x4d,0x33,0x51]),_0x2779c4=0x2fb10d7d,_0x3b01d2=0x2fb661fd^_0x2779c4,_0x51e642=window[_0x1d7c03([0x44,0x61,0x74,0x65])][_0x1d7c03([0x6e,0x6f,0x77])](),_0x18490a=_0x39d4a0[_0x1d7c03([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xeec3b=new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25adbc=>{_0x18490a[_0x1d7c03([0x6f,0x6e,0x63,0x65])](_0x1d7c03([0x72,0x65,0x61,0x64,0x79]),_0x25adbc);}),_0x4eba85={[_0x1d7c03([0x6b,0x74,0x79])]:_0x1d7c03([0x45,0x43]),[_0x1d7c03([0x75,0x73,0x65])]:_0x1d7c03([0x73,0x69,0x67]),[_0x1d7c03([0x63,0x72,0x76])]:_0x1d7c03([0x50,0x2d,0x32,0x35,0x36]),[_0x1d7c03([0x78])]:_0x1d7c03([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]),[_0x1d7c03([0x79])]:_0x1d7c03([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]),[_0x1d7c03([0x61,0x6c,0x67])]:_0x1d7c03([0x45,0x53,0x32,0x35,0x36])},_0x5f4347=_0x18490a[_0x1d7c03([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d7c03([0x67,0x65,0x74])](_0x1d7c03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x345edf(){let _0x3769c3,_0x3fb5b0=null,_0x346ecf=null;try{if(_0x5f4347==_0x1d7c03([0x47,0x50,0x4c]))return _0x1d7c03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3769c3=_0xf2cab2(),!_0x3769c3)return _0x1d7c03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3769c3[_0x1d7c03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x346ecf=_0x463107(_0x3769c3[_0x1d7c03([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3769c3[_0x1d7c03([0x6a,0x74,0x69])])),await _0xa0e0b8()?_0x4f0593()?_0x3d4a73()?_0x1d7c03([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52d6ab()?(_0x3769c3[_0x1d7c03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d7c03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3fb5b0=_0x848425(_0x1d7c03([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3769c3[_0x1d7c03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d7c03([0x74,0x72,0x69,0x61,0x6c])&&(_0x3fb5b0=_0x848425(_0x1d7c03([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a28f9()):_0x1d7c03([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d7c03([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d7c03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d7c03([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d4a73(){const _0x37b37f=[_0x1d7c03([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d7c03([0x74,0x72,0x69,0x61,0x6c])][_0x1d7c03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3769c3[_0x1d7c03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51e642/0x3e8:0xe10*_0x3b01d2;return _0x3769c3[_0x1d7c03([0x65,0x78,0x70])]<_0x37b37f;}function _0x4f0593(){const _0x19fe39=_0x3769c3[_0x1d7c03([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19fe39&&(!!_0x19fe39[_0x1d7c03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7c03([0x2a]))||!!_0x19fe39[_0x1d7c03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7c03([0x4c,0x48])));}function _0x52d6ab(){const _0x5ecf87=_0x392b,_0x5c6bb3=_0x3769c3[_0x1d7c03([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c6bb3||0x0==_0x5c6bb3[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5f240d}=new URL(window[_0x1d7c03([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ecf87(0x184)]);if(_0x5c6bb3[_0x1d7c03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f240d))return!0x0;const _0x52ddd8=_0x5f240d[_0x1d7c03([0x73,0x70,0x6c,0x69,0x74])](_0x1d7c03([0x2e]));return _0x5c6bb3[_0x1d7c03([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24e534=>_0x24e534[_0x1d7c03([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d7c03([0x2a])))[_0x1d7c03([0x6d,0x61,0x70])](_0x2d79f3=>_0x2d79f3[_0x1d7c03([0x73,0x70,0x6c,0x69,0x74])](_0x1d7c03([0x2e])))[_0x1d7c03([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20d931=>_0x20d931[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52ddd8[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d7c03([0x6d,0x61,0x70])](_0x524ab4=>Array(_0x52ddd8[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x524ab4[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d7c03([0x66,0x69,0x6c,0x6c])](_0x524ab4[0x0]===_0x1d7c03([0x2a])?_0x1d7c03([0x2a]):'')[_0x1d7c03([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x524ab4))[_0x1d7c03([0x73,0x6f,0x6d,0x65])](_0x30206e=>_0x52ddd8[_0x1d7c03([0x65,0x76,0x65,0x72,0x79])]((_0x1c84bc,_0x303977)=>_0x30206e[_0x303977]===_0x1c84bc||_0x30206e[_0x303977]===_0x1d7c03([0x2a])));}function _0x5a28f9(){return _0x3fb5b0&&_0x346ecf?new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x369940,_0x404849)=>{_0x3fb5b0[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x369940,_0x404849),_0x346ecf[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x17a662=>{_0x17a662!=_0x1d7c03([0x56,0x61,0x6c,0x69,0x64])&&_0x369940(_0x17a662);},_0x404849);}):_0x3fb5b0||_0x346ecf||_0x1d7c03([0x56,0x61,0x6c,0x69,0x64]);}}function _0x463107(_0x5077af,_0x5e1aa1){return new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48b242=>{if(_0x1bfcbb())return _0x48b242(_0x1d7c03([0x56,0x61,0x6c,0x69,0x64]));_0x29e81d(),_0x18490a[_0x1d7c03([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d7c03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d7a4f=!0x1;const _0x1f922b=_0x1597cf();function _0x336c5e(_0x4e83f9){return!!_0x4e83f9&&(typeof _0x4e83f9===_0x1d7c03([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e83f9===_0x1d7c03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e83f9[_0x1d7c03([0x74,0x68,0x65,0x6e])]===_0x1d7c03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e83f9[_0x1d7c03([0x63,0x61,0x74,0x63,0x68])]===_0x1d7c03([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e02ef(_0x13ddf4){_0x5567dc(_0x13ddf4)[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x369624=>{if(!_0x369624||_0x369624[_0x1d7c03([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d7c03([0x6f,0x6b]))return _0x1d7c03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x183ddc(_0x819278(_0x1f922b+_0x5e1aa1))!=_0x369624[_0x1d7c03([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d7c03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d7c03([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x5fc5cc=>(_0x3625d4(),_0x5fc5cc),()=>{const _0x119359=_0x3190f3();return null==_0x119359?(_0x3625d4(),_0x1d7c03([0x56,0x61,0x6c,0x69,0x64])):_0x1d7c03(_0x51e642-_0x119359>(0xbbd897d^_0x2779c4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x48b242)[_0x1d7c03([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48b242(_0x1d7c03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55cd41=0x2f87e3fd^_0x2779c4;function _0x3625d4(){const _0x235746=_0x1d7c03([0x6c,0x6c,0x63,0x74,0x2d])+_0x183ddc(_0x819278(_0x5077af)),_0x32bd25=_0x5cff8a(_0x183ddc(window[_0x1d7c03([0x4d,0x61,0x74,0x68])][_0x1d7c03([0x63,0x65,0x69,0x6c])](_0x51e642/_0x55cd41)));window[_0x1d7c03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d7c03([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x235746,_0x32bd25);}function _0x3190f3(){const _0x2946ac=_0x1d7c03([0x6c,0x6c,0x63,0x74,0x2d])+_0x183ddc(_0x819278(_0x5077af)),_0xbe8a11=window[_0x1d7c03([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d7c03([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2946ac);return _0xbe8a11?window[_0x1d7c03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cff8a(_0xbe8a11),0x10)*_0x55cd41:null;}function _0x5567dc(_0x164c6f){return new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c1fcd,_0x55963b)=>{_0x164c6f[_0x1d7c03([0x74,0x68,0x65,0x6e])](_0x5c1fcd,_0x55963b),window[_0x1d7c03([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55963b,0x2fb0d9bd^_0x2779c4);});}}_0x18490a[_0x1d7c03([0x6f,0x6e])](_0x1d7c03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x424954,_0x35bb3c)=>{if(_0x35bb3c[0x0]!=_0x5077af)return _0x48b242(_0x1d7c03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35bb3c[0x1]={..._0x35bb3c[0x1],[_0x1d7c03([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f922b};},{[_0x1d7c03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d7c03([0x68,0x69,0x67,0x68])}),_0x18490a[_0x1d7c03([0x6f,0x6e])](_0x1d7c03([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x495730=>{_0x336c5e(_0x495730[_0x1d7c03([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d7a4f=!0x0,_0x3e02ef(_0x495730[_0x1d7c03([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d7c03([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d7c03([0x6c,0x6f,0x77])}),_0xeec3b[_0x1d7c03([0x74,0x68,0x65,0x6e])](()=>{_0x5d7a4f||_0x48b242(_0x1d7c03([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bfcbb(){return _0x18490a[_0x1d7c03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d7c03([0x76,0x69,0x65,0x77])][_0x1d7c03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d7c03([0x61,0x75,0x74,0x6f]);}function _0x29e81d(){_0x18490a[_0x1d7c03([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d7c03([0x76,0x69,0x65,0x77])][_0x1d7c03([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d7c03([0x61,0x75,0x74,0x6f]);}}function _0x848425(_0x4fc8a7){const _0x12c380=[new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x367b29=>setTimeout(_0x367b29,0x2fb833b1^_0x2779c4)),_0xeec3b[_0x1d7c03([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb9efd7=>{let _0x188b99=0x0;_0x18490a[_0x1d7c03([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d7c03([0x6f,0x6e])](_0x1d7c03([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3bba7c,_0x411774)=>{_0x411774[0x0][_0x1d7c03([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x188b99++,_0x188b99==(0x2fb10c85^_0x2779c4)&&(_0xb9efd7(),_0x3bba7c[_0x1d7c03([0x6f,0x66,0x66])]());});}))];return window[_0x1d7c03([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d7c03([0x72,0x61,0x63,0x65])](_0x12c380)[_0x1d7c03([0x74,0x68,0x65,0x6e])](()=>_0x4fc8a7);}async function _0x39e644(){await _0xeec3b,_0x18490a[_0x1d7c03([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d7c03([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3421e7,_0x18490a[_0x1d7c03([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d7c03([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3421e7,_0x18490a[_0x1d7c03([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d7c03([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb29cd5(_0x2675e0){const _0x4d6fc8=_0x45f979();_0x18490a[_0x4d6fc8]=_0x1d7c03([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2675e0,_0x2675e0!=_0x1d7c03([0x56,0x61,0x6c,0x69,0x64])&&_0x39e644();}function _0x45f979(){const _0x515744=window[_0x1d7c03([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d7c03([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d7c03([0x6e,0x6f,0x77])]())[_0x1d7c03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d7c03([0x2e]),'');let _0x29dc27=_0x1d7c03([0x6d]);for(let _0x4e4628=0x0;_0x4e4628<_0x515744[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e4628+=0x2){let _0x5dba2c=window[_0x1d7c03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x515744[_0x1d7c03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e4628,_0x4e4628+0x2));_0x5dba2c>=_0x4b05ac[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dba2c-=_0x4b05ac[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29dc27+=_0x4b05ac[_0x5dba2c];}return _0x29dc27;}function _0xf2cab2(){const _0x227dc8=_0x5f4347[_0x1d7c03([0x73,0x70,0x6c,0x69,0x74])](_0x1d7c03([0x2e]));if(0x3!=_0x227dc8[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x406544(_0x227dc8[0x1]);function _0x406544(_0x3ab6b3){const _0x188e1e=_0x209ebe(_0x3ab6b3);return _0x188e1e&&_0x2c4863()?_0x188e1e:null;function _0x2c4863(){const _0x4df60b=_0x188e1e[_0x1d7c03([0x6a,0x74,0x69])],_0x3555ea=window[_0x1d7c03([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4df60b[_0x1d7c03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4df60b[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x143195={..._0x188e1e,[_0x1d7c03([0x6a,0x74,0x69])]:_0x4df60b[_0x1d7c03([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4df60b[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x143195[_0x1d7c03([0x76,0x63])],_0x819278(_0x143195)==_0x3555ea;}}}async function _0xa0e0b8(){let _0x1e6cd2=!0x0;try{const _0x520b05=_0x5f4347[_0x1d7c03([0x73,0x70,0x6c,0x69,0x74])](_0x1d7c03([0x2e])),[_0x3944eb,_0x24d849,_0x15feab]=_0x520b05;return _0x1ac93a(_0x3944eb),await _0x1c0c9f(_0x3944eb,_0x24d849,_0x15feab),_0x1e6cd2;}catch{return!0x1;}function _0x1ac93a(_0x1cbc24){const _0x3ee567=_0x209ebe(_0x1cbc24);_0x3ee567&&_0x3ee567[_0x1d7c03([0x61,0x6c,0x67])]==_0x1d7c03([0x45,0x53,0x32,0x35,0x36])||(_0x1e6cd2=!0x1);}async function _0x1c0c9f(_0x23ac07,_0x2ae25b,_0x45f4a3){const _0x521a49=window[_0x1d7c03([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d7c03([0x66,0x72,0x6f,0x6d])](_0x131849(_0x45f4a3),_0x8f1514=>_0x8f1514[_0x1d7c03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5aa80e=new window[(_0x1d7c03([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d7c03([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23ac07+_0x1d7c03([0x2e])+_0x2ae25b),_0x445227=window[_0x1d7c03([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d7c03([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x445227)return;const _0x577c77=await _0x445227[_0x1d7c03([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d7c03([0x6a,0x77,0x6b]),_0x4eba85,{[_0x1d7c03([0x6e,0x61,0x6d,0x65])]:_0x1d7c03([0x45,0x43,0x44,0x53,0x41]),[_0x1d7c03([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d7c03([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d7c03([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x445227[_0x1d7c03([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d7c03([0x6e,0x61,0x6d,0x65])]:_0x1d7c03([0x45,0x43,0x44,0x53,0x41]),[_0x1d7c03([0x68,0x61,0x73,0x68])]:{[_0x1d7c03([0x6e,0x61,0x6d,0x65])]:_0x1d7c03([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x577c77,_0x521a49,_0x5aa80e)||(_0x1e6cd2=!0x1);}}function _0x209ebe(_0x19e988){return _0x19e988[_0x1d7c03([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d7c03([0x65,0x79]))?JSON[_0x1d7c03([0x70,0x61,0x72,0x73,0x65])](_0x131849(_0x19e988)):null;}function _0x131849(_0x1c7416){return window[_0x1d7c03([0x61,0x74,0x6f,0x62])](_0x1c7416[_0x1d7c03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d7c03([0x2b]))[_0x1d7c03([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d7c03([0x2f])));}function _0x819278(_0xfcdbe9){let _0x48b224=0x1505;function _0xf308c0(_0x321c5d){for(let _0x21da01=0x0;_0x21da01<_0x321c5d[_0x1d7c03([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21da01++){const _0x2a82a9=_0x321c5d[_0x1d7c03([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21da01);_0x48b224=(_0x48b224<<0x5)+_0x48b224+_0x2a82a9,_0x48b224&=_0x48b224;}}function _0x42e8bf(_0x261500){Array[_0x1d7c03([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x261500)?_0x261500[_0x1d7c03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42e8bf):_0x261500&&typeof _0x261500==_0x1d7c03([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d7c03([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x261500)[_0x1d7c03([0x73,0x6f,0x72,0x74])]()[_0x1d7c03([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f57bd,_0x134c7c])=>{_0xf308c0(_0x2f57bd),_0x42e8bf(_0x134c7c);}):_0xf308c0(window[_0x1d7c03([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x261500));}return _0x42e8bf(_0xfcdbe9),_0x48b224>>>0x0;}function _0x183ddc(_0x1418bb){return _0x1418bb[_0x1d7c03([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d7c03([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d7c03([0x30]));}function _0x5cff8a(_0x2a6f4b){return _0x2a6f4b[_0x1d7c03([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d7c03([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d7c03([0x6a,0x6f,0x69,0x6e])]('');}function _0x3421e7(){}function _0x1d7c03(_0x2acb3a){const _0xc50649=_0x392b;return _0x2acb3a[_0xc50649(0x167)](_0x46d14e=>String[_0xc50649(0x165)](_0x46d14e))[_0xc50649(0x18f)]('');}_0xb29cd5(await _0x345edf());}(this);}[_0x53aba2(0x177)](){const _0xc5d4e1=_0x53aba2,_0x56bd1e=this[_0xc5d4e1(0x15a)];if(!_0x56bd1e[_0xc5d4e1(0x179)][_0xc5d4e1(0x17a)](_0xc5d4e1(0x16c)))return;const _0x1a5640=_0x56bd1e[_0xc5d4e1(0x179)][_0xc5d4e1(0x17a)](_0xc5d4e1(0x15f))[_0xc5d4e1(0x15d)](_0x15842c=>_0xc5d4e1(0x18c)==typeof _0x15842c&&(!_0x24a538(_0x15842c)&&isNaN(Number(_0x15842c))));if(_0x1a5640[_0xc5d4e1(0x183)])throw new _0x5632de(_0xc5d4e1(0x168),null,{'namedPresets':_0x1a5640});}[_0x53aba2(0x186)](){const _0x247bdd=_0x53aba2,_0x27edbe=this[_0x247bdd(0x15a)],_0x3070f6=this[_0x247bdd(0x15a)][_0x247bdd(0x179)][_0x247bdd(0x17a)](_0x247bdd(0x17b));_0x27edbe[_0x247bdd(0x187)][_0x247bdd(0x18e)](_0x247bdd(0x188))[_0x247bdd(0x161)]({'model':{'key':_0x247bdd(0x181)},'view':_0x1e01f1=>String(_0x1e01f1)===String(_0x3070f6)?null:{'key':_0x247bdd(0x16e),'value':{'line-height':_0x1e01f1}}}),_0x27edbe[_0x247bdd(0x187)][_0x247bdd(0x18e)](_0x247bdd(0x15e))[_0x247bdd(0x161)]({'model':{'key':_0x247bdd(0x181),'value':_0x3f386f=>{const _0x16e1db=_0x247bdd;let _0x5b9497=_0x3f386f[_0x16e1db(0x16f)](_0x16e1db(0x15b));return _0x5b9d89(_0x5b9497)&&(_0x5b9497=String(Number(_0x5b9497[_0x16e1db(0x163)](0x0,-0x1))/0x64)),String(_0x5b9497)===String(_0x3070f6)?null:_0x5b9497;}},'view':{'styles':{'line-height':/.*/}}});}[_0x53aba2(0x169)](){const _0xfb76fb=_0x53aba2,_0x1e16a9=this[_0xfb76fb(0x15a)],_0x5c6ad9=this[_0xfb76fb(0x15a)][_0xfb76fb(0x179)][_0xfb76fb(0x17a)](_0xfb76fb(0x17b)),_0x3ffd29=_0x555cc4(this[_0xfb76fb(0x15a)][_0xfb76fb(0x179)][_0xfb76fb(0x17a)](_0xfb76fb(0x181)))[_0xfb76fb(0x15d)](_0x23388b=>_0x23388b[_0xfb76fb(0x15c)]),_0x5d423f=_0x1ff34e(_0xfb76fb(0x181),_0x3ffd29);_0x1e16a9[_0xfb76fb(0x187)][_0xfb76fb(0x161)](_0x5d423f),_0x1e16a9[_0xfb76fb(0x187)][_0xfb76fb(0x18e)](_0xfb76fb(0x15e))[_0xfb76fb(0x161)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0xfb76fb(0x181),'value':_0x39d369=>{const _0x755757=_0xfb76fb;let _0x209012=_0x39d369[_0x755757(0x16f)](_0x755757(0x15b));return _0x5b9d89(_0x209012)&&(_0x209012=String(Number(_0x209012[_0x755757(0x163)](0x0,-0x1))/0x64)),_0x209012===String(_0x5c6ad9)?null:_0x5d423f[_0x755757(0x15c)][_0x755757(0x190)][_0x755757(0x173)](_0x209012)?_0x209012:null;}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5a87d2}from'ckeditor5/src/core.js';import{addListToDropdown as _0x4163c8,createDropdown as _0x4d9654,MenuBarMenuListItemButtonView as _0x2ad12b,MenuBarMenuListItemView as _0xe47b00,MenuBarMenuListView as _0x1b50cf,MenuBarMenuView as _0x16c09d,UIModel as _0x1393ce}from'ckeditor5/src/ui.js';import{Collection as _0x518d74}from'ckeditor5/src/utils.js';import{IconLineHeight as _0x224992}from'ckeditor5/src/icons.js';import{normalizeOptions as _0x43fc38}from'./utils.js';import'../theme/lineheight.css';export class LineHeightUI extends _0x5a87d2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x8e287a={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x8e287a),this['_registerMenuBarComponent'](_0x8e287a),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1db438=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x123cde;for(const _0x3da7e2 in _0x1db438){const _0x106f98=_0x3da7e2,_0x2d1730=_0x1db438[_0x106f98];if('lineHeightLicenseKeyValid'==_0x2d1730||'lineHeightLicenseKeyInvalid'==_0x2d1730||'lineHeightLicenseKeyExpired'==_0x2d1730||'lineHeightLicenseKeyDomainLimit'==_0x2d1730||'lineHeightLicenseKeyNotAllowed'==_0x2d1730||'lineHeightLicenseKeyEvaluationLimit'==_0x2d1730||'lineHeightLicenseKeyTrialLimit'==_0x2d1730||'lineHeightLicenseKeyUsageLimit'==_0x2d1730){delete _0x1db438[_0x106f98],_0x123cde=_0x2d1730,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x123cde&&_0x1db438['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x123cde&&_0x1db438['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x123cde&&_0x1db438['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x123cde&&_0x1db438['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x123cde&&_0x1db438['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x123cde&&_0x1db438['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x123cde&&_0x1db438['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2e0596=this['editor'],t=_0x2e0596['t'],_0x491773=_0x2e0596['config']['get']('lineHeight'),_0x36397f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x43fc38(_0x491773)['map'](_0x1626bb=>{const _0x51f2c3=_0x36397f[_0x1626bb['title']];return _0x51f2c3&&_0x51f2c3!=_0x1626bb['title']&&(_0x1626bb=Object['assign']({},_0x1626bb,{'title':_0x51f2c3})),_0x1626bb;});}['_prepareListOptions'](){const _0xd89623=this['editor']['commands']['get']('lineHeight'),_0x3ef4e1=this['editor']['config']['get']('lineHeight.defaultValue'),_0x50961c=this['_getLocalizedLineHeightOptions'](),_0xee9118=new _0x518d74(),_0x46c07f=_0x21e2c3=>'default'===_0x21e2c3||String(_0x3ef4e1)===_0x21e2c3;for(const _0x5e6eb9 of _0x50961c){const _0x3e534c={'type':'button','model':new _0x1393ce({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x5e6eb9['title'],'withText':!0x0})};_0x46c07f(_0x5e6eb9['model'])?(_0x3e534c['model']['bind']('isOn')['to'](_0xd89623,'value',_0x2b9bf0=>!_0x2b9bf0),_0x3e534c['model']['commandParam']=void 0x0):(_0x3e534c['model']['bind']('isOn')['to'](_0xd89623,'value',_0x3d5057=>_0x3d5057===_0x5e6eb9['model']),_0x3e534c['model']['commandParam']=_0x5e6eb9['model']),_0xee9118['add'](_0x3e534c);}if(this['_shouldRenderCustomValueOption']()){const _0x261585=this['_getCustomValueOptionDefinition'](_0x50961c);_0xee9118['add'](_0x261585);}return _0xee9118;}['_getCustomValueOptionDefinition'](_0x37eca2){const _0x5ac6df=this['editor'],t=_0x5ac6df['t'],_0x3d1040=_0x5ac6df['commands']['get']('lineHeight'),_0x29f460=_0x37eca2['map'](_0x3b152b=>_0x3b152b['model']),_0x571882={'type':'button','model':new _0x1393ce({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x571882['model']['bind']('commandParam')['to'](_0x3d1040,'value'),_0x571882['model']['bind']('isOn')['to'](_0x3d1040,'value',_0xa567bf=>!!_0xa567bf&&!_0x29f460['includes'](String(_0xa567bf))),_0x571882['model']['bind']('label')['to'](_0x3d1040,'value',_0x476c48=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x476c48))),_0x571882;}['_registerToolbarComponent']({accessibleLabel:_0x2aa0ff,options:_0x326df5}){const _0x1087c1=this['editor'],_0x10f108=_0x1087c1['commands']['get']('lineHeight');_0x1087c1['ui']['componentFactory']['add']('lineHeight',_0x3a30f1=>{const _0x5aa27d=_0x4d9654(_0x3a30f1);return _0x4163c8(_0x5aa27d,_0x326df5,{'role':'menu','ariaLabel':_0x2aa0ff}),_0x5aa27d['buttonView']['set']({'label':_0x2aa0ff,'tooltip':!0x0,'icon':_0x224992}),_0x5aa27d['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5aa27d['bind']('isEnabled')['to'](_0x10f108),this['listenTo'](_0x5aa27d,'execute',_0xed1b98=>{_0x1087c1['execute'](_0xed1b98['source']['commandName'],{'value':_0xed1b98['source']['commandParam']}),_0x1087c1['editing']['view']['focus']();}),_0x5aa27d['once']('change:isOpen',()=>{const _0x5e39a8=_0x5aa27d['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5aa27d,_0x326df5,_0x5e39a8);}),_0x5aa27d;});}['_registerMenuBarComponent']({accessibleLabel:_0x26688c,options:_0x91168c}){const _0xa3c6d0=this['editor'],_0x548d54=_0xa3c6d0['commands']['get']('lineHeight');_0xa3c6d0['ui']['componentFactory']['add']('menuBar:lineHeight',_0x17ba6a=>{const _0x1a370c=new _0x16c09d(_0x17ba6a);_0x1a370c['buttonView']['set']({'label':_0x26688c,'icon':_0x224992}),_0x1a370c['bind']('isEnabled')['to'](_0x548d54);const _0x7c01ce=new _0x1b50cf(_0x17ba6a);for(const _0x566ba5 of _0x91168c){const _0x15b5a2=new _0xe47b00(_0x17ba6a,_0x1a370c),_0x5bbe4a=new _0x2ad12b(_0x17ba6a);_0x5bbe4a['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5bbe4a['bind'](...Object['keys'](_0x566ba5['model']))['to'](_0x566ba5['model']),_0x5bbe4a['delegate']('execute')['to'](_0x1a370c),_0x5bbe4a['on']('execute',()=>{_0xa3c6d0['execute'](_0x566ba5['model']['commandName'],{'value':_0x566ba5['model']['commandParam']}),_0xa3c6d0['editing']['view']['focus']();}),_0x15b5a2['children']['add'](_0x5bbe4a),_0x7c01ce['items']['add'](_0x15b5a2);}return _0x1a370c['panelView']['children']['add'](_0x7c01ce),this['_attachCustomOptionVisibilityHandler'](_0x1a370c,_0x91168c,_0x7c01ce),_0x1a370c;});}['_attachCustomOptionVisibilityHandler'](_0x52c9a2,_0xd90ff4,_0x3610f3){if(!this['_shouldRenderCustomValueOption']())return;const _0x4741c9=()=>{if(!_0x52c9a2['isOpen'])return;_0x3610f3['items']['last']['isVisible']=Boolean(_0xd90ff4['last']['model']['isOn']);};_0x4741c9(),_0x52c9a2['on']('change:isOpen',()=>{_0x4741c9();});}}
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(_0x1b4842,_0x4d2d72){const _0x2435c1=_0x14ac,_0x5e8318=_0x1b4842();while(!![]){try{const _0x3734f0=parseInt(_0x2435c1(0x1c3))/0x1+parseInt(_0x2435c1(0x1bd))/0x2*(parseInt(_0x2435c1(0x1ca))/0x3)+parseInt(_0x2435c1(0x1d3))/0x4*(parseInt(_0x2435c1(0x1d9))/0x5)+-parseInt(_0x2435c1(0x1bc))/0x6+parseInt(_0x2435c1(0x1c5))/0x7*(parseInt(_0x2435c1(0x1cd))/0x8)+parseInt(_0x2435c1(0x1db))/0x9*(-parseInt(_0x2435c1(0x1cc))/0xa)+parseInt(_0x2435c1(0x1be))/0xb*(-parseInt(_0x2435c1(0x1c8))/0xc);if(_0x3734f0===_0x4d2d72)break;else _0x5e8318['push'](_0x5e8318['shift']());}catch(_0x53ead3){_0x5e8318['push'](_0x5e8318['shift']());}}}(_0x486d,0x5dd5c));const v={get 'single'(){const _0x5ca3af=_0x14ac;return{'title':_0x5ca3af(0x1d8),'model':_0x5ca3af(0x1d2),'view':{'key':_0x5ca3af(0x1cf),'value':_0x5ca3af(0x1bf)}};},get 'double'(){const _0xeda4c4=_0x14ac;return{'title':_0xeda4c4(0x1ce),'model':_0xeda4c4(0x1c9),'view':{'key':_0xeda4c4(0x1cf),'value':_0xeda4c4(0x1d0)}};}};export function isLineHeightDefaultValue(_0xf624d5){const _0x3260fb=_0x14ac;return _0x3260fb(0x1de)==typeof _0xf624d5&&_0x3260fb(0x1bb)===_0xf624d5[_0x3260fb(0x1c6)]();}function _0x14ac(_0x23b0a9,_0x39bd8c){const _0x486d34=_0x486d();return _0x14ac=function(_0x14ac96,_0x29614e){_0x14ac96=_0x14ac96-0x1bb;let _0x4170ba=_0x486d34[_0x14ac96];return _0x4170ba;},_0x14ac(_0x23b0a9,_0x39bd8c);}function _0x486d(){const _0x89f0a=['values','Single','15PgoWVA','style','62730UdJgbN','push','value','string','default','291924aMmLPa','2174wRjYSJ','2053777CJQXnd','line-height-single','filter','number','options','677139iZVbNM','defaultValue','21RFEtxm','toLowerCase','view','132tPYddj','double','2037HboXou','line-height:','420rKxsuu','1596408tZWppD','Double','class','line-height-double','model','single','1020872KeLici','key','span','map'];_0x486d=function(){return _0x89f0a;};return _0x486d();}export function normalizeOptions(_0x1ec22){const _0x4390f3=_0x14ac;return _0x1ec22[_0x4390f3(0x1c2)][_0x4390f3(0x1d6)](_0x1b425c=>isLineHeightDefaultValue(_0x1b425c)?{'title':String(_0x1ec22[_0x4390f3(0x1c4)]),'model':_0x4390f3(0x1bb)}:(_0x4390f3(0x1c1)==typeof _0x1b425c&&(_0x1b425c=String(_0x1b425c)),_0x4390f3(0x1de)!=typeof _0x1b425c?_0x1b425c:parseFloat(_0x1b425c)?{'title':_0x1b425c,'model':_0x1b425c,'view':{'name':_0x4390f3(0x1d5),'styles':{'line-height':_0x1b425c}}}:findPreset(_0x1b425c)))[_0x4390f3(0x1c0)](_0x39c8b1=>void 0x0!==_0x39c8b1);}export function findPreset(_0x394024){const _0x2999fd=_0x14ac;return _0x2999fd(0x1de)==typeof _0x394024?v[_0x394024]:v[_0x394024[_0x2999fd(0x1d1)]];}export function buildDefinition(_0x315da6,_0x16219f){const _0x3568f9=_0x14ac,_0x5b2f51={'model':{'key':_0x315da6,'values':[]},'view':{}};for(const _0x413656 of _0x16219f)_0x3568f9(0x1cf)===_0x413656[_0x3568f9(0x1c7)]?.[_0x3568f9(0x1d4)]?(_0x5b2f51[_0x3568f9(0x1d1)][_0x3568f9(0x1d7)][_0x3568f9(0x1dc)](_0x413656[_0x3568f9(0x1d1)]),_0x5b2f51[_0x3568f9(0x1c7)][_0x413656[_0x3568f9(0x1d1)]]={'key':_0x3568f9(0x1cf),'value':_0x413656[_0x3568f9(0x1c7)][_0x3568f9(0x1dd)]}):(_0x5b2f51[_0x3568f9(0x1d1)][_0x3568f9(0x1d7)][_0x3568f9(0x1dc)](_0x413656[_0x3568f9(0x1d1)]),_0x5b2f51[_0x3568f9(0x1c7)][_0x413656[_0x3568f9(0x1d1)]]={'key':_0x3568f9(0x1da),'value':_0x3568f9(0x1cb)+_0x413656[_0x3568f9(0x1d1)]+';'});return _0x5b2f51;}
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;}