@ckeditor/ckeditor5-line-height 47.5.0-alpha.3 → 47.5.0-alpha.5

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.
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var e={102: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)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297: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)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779: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}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),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},929: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),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},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:()=>q,LineHeightCommand:()=>a,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>D});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-=203]})(e,t)}function s(){const e=["selection","setAttribute","model","checkAttribute","document","schema","27hnbspZ","898224epwAfr","30ilYyja","getAttribute","filter","28KLLeui","393610DZgphC","96932qSeUUk","lineHeight","1198209JdCeNA","change","6306773QnPYxL","refresh","24tUXldu","from","474133ejtwvo","execute","value","_canHaveLineHeight","44514FCyisW","removeAttribute","getSelectedBlocks","editor","isEnabled","4DPtcef"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(297997===parseInt(t(227))/1+parseInt(t(219))/2+parseInt(t(221))/3*(parseInt(t(205))/4)+-parseInt(t(214))/5*(parseInt(t(231))/6)+parseInt(t(217))/7*(parseInt(t(213))/8)+-parseInt(t(212))/9*(-parseInt(t(218))/10)+parseInt(t(223))/11*(-parseInt(t(225))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(224)](){const e=r,n=this[e(203)][e(208)][e(210)],i=(0,t.first)(n[e(206)][e(233)]());this[e(204)]=Boolean(i)&&this[e(230)](i),this[e(229)]=this[e(204)]&&i[e(215)](e(220))}[r(228)](e={}){const t=r,n=this[t(203)][t(208)],i=n[t(210)][t(206)],o=e[t(229)];n[t(222)](e=>{const n=t,r=Array[n(226)](i[n(233)]())[n(216)](e=>this[n(230)](e));for(const t of r)o?e[n(207)](n(220),o,t):e[n(232)](n(220),t)})}[r(230)](e){const t=r;return this[t(203)][t(208)][t(211)][t(209)](e,t(220))}}var c=n(783);!function(e){const t=u,n=e();for(;;)try{if(495442===-parseInt(t(464))/1*(-parseInt(t(454))/2)+parseInt(t(477))/3*(parseInt(t(460))/4)+-parseInt(t(462))/5*(parseInt(t(468))/6)+-parseInt(t(490))/7+parseInt(t(489))/8*(-parseInt(t(473))/9)+parseInt(t(476))/10*(-parseInt(t(488))/11)+parseInt(t(472))/12*(parseInt(t(463))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const l={get single(){const e=u;return{title:e(482),model:e(458),view:{key:e(479),value:e(484)}}},get double(){const e=u;return{title:e(475),model:e(478),view:{key:e(479),value:e(480)}}}};function u(e,t){const n=h();return(u=function(e,t){return n[e-=454]})(e,t)}function d(e){const t=u;return t(469)==typeof e&&t(459)===e[t(457)]()}function h(){const e=["2477680rEsWSE","3HsNFlA","double","class","line-height-double","style","Single","value","line-height-single","view","filter","defaultValue","11XfQDNZ","56cEQWUq","6316758bFagoD","2PVhSXS","options","model","toLowerCase","single","default","3724848tTzQTK","push","1215770Ymzoan","39cHQDCm","988981PjSwMk","key","number","values","6SmXbbZ","string","map","span","3337524WgGnSF","1113192ggfzYj","line-height:","Double"];return(h=function(){return e})()}function p(e){const t=u;return e[t(455)][t(470)](n=>d(n)?{title:String(e[t(487)]),model:t(459)}:(t(466)==typeof n&&(n=String(n)),t(469)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(471),styles:{"line-height":n}}}:function(e){const t=u;return t(469)==typeof e?l[e]:l[e[t(456)]]}(n)))[t(486)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),I=n.n(v),y=n(123),b=n.n(y),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=I().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;const S=E;function O(){const e=["init","consumable","paragraph","viewItem","upcast","TodoListEditing","listType","element:li","todo-list__label__description","todo","getAttribute","45700rFWAgO","has","get","isOfficialPlugin","ck-list-marker-line-height","LineHeightTodoListIntegration","1145752vIqrSx","172188RKljUw","editor","ListEditing","for","addClass","10339497vbwcTo","pluginName","elementToElement","span","setStyle","item","registerDowncastStrategy","add","consume","6981674SwNvia","120tSuNSd","--ck-content-list-marker-line-height","16bnvSCj","high","name","762613mqVdfm","match","isPremiumPlugin","2276382qooyOH","lineHeight"];return(O=function(){return e})()}function E(e,t){const n=O();return(E=function(e,t){return n[e-=224]})(e,t)}!function(e){const t=E,n=e();for(;;)try{if(500588===-parseInt(t(243))/1+-parseInt(t(265))/2+-parseInt(t(246))/3+-parseInt(t(259))/4+-parseInt(t(238))/5*(parseInt(t(266))/6)+parseInt(t(237))/7+-parseInt(t(240))/8*(-parseInt(t(228))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(O);class C extends e.Plugin{static get[S(229)](){return S(264)}static get[S(262)](){return!0}static get[S(245)](){return!0}[S(248)](){const e=S,{plugins:t,conversion:n}=this[e(224)];t[e(260)](e(225))&&t[e(260)](e(253))&&(t[e(261)](e(225))[e(234)]({scope:e(233),attributeName:e(247),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(257)==o[s(258)](s(254))&&n&&(t[s(227)](s(263),i),t[s(232)](s(239),n,i))}}),n[e(226)](e(252))[e(230)]({view:{name:e(231),classes:e(256)},model:e(250),converterPriority:e(241)}),n[e(226)](e(252))[e(235)](t=>{const n=e;t.on(n(255),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(244)](n[r(251)]);if(!o)return;const s=o[r(244)];s[r(242)]=!1,i[r(249)][r(236)](n[r(251)],s)}}({name:"li",classes:n(263),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const A=N;function T(){const e=["downcast","string","extend","lineHeight.defaultValue","isPremiumPlugin","lineHeight.options","includes","line-height","editor","7923850fmpSgW","conversion","default","requires","slice","setAttributeProperties","add","values","style","href","LineHeightEditing","_validateConfig","3944920GWKXYR","filter","define","commands","upcast","lineHeight.supportAllValues","29kdjYCQ","getStyle","for","4522698iIsGKQ","join","line-height-invalid-use-of-named-presets","length","model","isOfficialPlugin","map","40VfzGzA","546048xZuENc","_prepareAnyValueConverters","314251cmnRUZ","7900620tGCufA","afterInit","get","config","pluginName","lineHeight","$block","schema","fromCharCode","attributeToAttribute","26354OhsbIf","88PfWYBQ","_preparePredefinedConverters","5wpwxDd","init"];return(T=function(){return e})()}function N(e,t){const n=T();return(N=function(e,t){return n[e-=380]})(e,t)}!function(e){const t=N,n=e();for(;;)try{if(778732===-parseInt(t(422))/1*(parseInt(t(390))/2)+parseInt(t(425))/3+parseInt(t(416))/4*(parseInt(t(393))/5)+-parseInt(t(380))/6+-parseInt(t(435))/7*(parseInt(t(391))/8)+parseInt(t(433))/9*(-parseInt(t(432))/10)+parseInt(t(404))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class P extends e.Plugin{static get[A(384)](){return A(414)}static get[A(407)](){return[C]}static get[A(430)](){return!0}static get[A(399)](){return!0}constructor(e){const t=A;super(e),e[t(383)][t(418)](t(385),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(406),2,2.5,3]})}[A(394)](){const e=A,t=this[e(403)];this[e(415)](),t[e(429)][e(387)][e(397)](e(386),{allowAttributes:e(385)}),t[e(429)][e(387)][e(409)](e(385),{isFormatting:!0}),t[e(419)][e(410)](e(385),new a(t)),this[e(403)][e(383)][e(382)](e(421))?this[e(434)]():this[e(392)]()}[A(381)](){!async function(e){const n=f([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[f([68,97,116,101])][f([110,111,119])](),r=e[f([101,100,105,116,111,114])],o=new(window[f([80,114,111,109,105,115,101])])(e=>{r[f([111,110,99,101])](f([114,101,97,100,121]),e)}),s={[f([107,116,121])]:f([69,67]),[f([117,115,101])]:f([115,105,103]),[f([99,114,118])]:f([80,45,50,53,54]),[f([120])]:f([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]),[f([121])]:f([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]),[f([97,108,103])]:f([69,83,50,53,54])},a=r[f([99,111,110,102,105,103])][f([103,101,116])](f([108,105,99,101,110,115,101,75,101,121]));function c(e){return e[f([115,116,97,114,116,115,87,105,116,104])](f([101,121]))?JSON[f([112,97,114,115,101])](l(e)):null}function l(e){return window[f([97,116,111,98])](e[f([114,101,112,108,97,99,101])](/-/g,f([43]))[f([114,101,112,108,97,99,101])](/_/g,f([47])))}function u(e){let t=5381;function n(e){for(let n=0;n<e[f([108,101,110,103,116,104])];n++){const i=e[f([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[f([105,115,65,114,114,97,121])](t)?t[f([102,111,114,69,97,99,104])](e):t&&typeof t==f([111,98,106,101,99,116])?Object[f([101,110,116,114,105,101,115])](t)[f([115,111,114,116])]()[f([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[f([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[f([116,111,83,116,114,105,110,103])](16)[f([112,97,100,83,116,97,114,116])](8,f([48]))}function h(e){return e[f([115,112,108,105,116])]("")[f([114,101,118,101,114,115,101])]()[f([106,111,105,110])]("")}function p(){}function f(e){const t=N;return e[t(431)](e=>String[t(388)](e))[t(426)]("")}!function(e){const t=function(){const e=window[f([83,116,114,105,110,103])](window[f([112,101,114,102,111,114,109,97,110,99,101])][f([110,111,119])]())[f([114,101,112,108,97,99,101])](f([46]),"");let t=f([80]);for(let i=0;i<e[f([108,101,110,103,116,104])];i+=2){let r=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[f([108,101,110,103,116,104])]&&(r-=n[f([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=f([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=f([86,97,108,105,100])&&async function(){await o,r[f([109,111,100,101,108])][f([99,104,97,110,103,101])]=p,r[f([109,111,100,101,108])][f([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[f([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](f([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==f([71,80,76])?f([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[f([115,112,108,105,116])](f([46]));return 3!=e[f([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=c(e);return t&&n()?t:null;function n(){const e=t[f([106,116,105])],n=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](e[f([108,101,110,103,116,104])]-8),16),i={...t,[f([106,116,105])]:e[f([115,117,98,115,116,114,105,110,103])](0,e[f([108,101,110,103,116,104])]-8)};return delete i[f([118,99])],u(i)==n}}}(),e?(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[f([80,114,111,109,105,115,101])])(c=>{if(s())return c(f([86,97,108,105,100]));a(),r[f([100,101,99,111,114,97,116,101])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const p=(0,t.uid)();function g(e){return!!e&&(typeof e===f([111,98,106,101,99,116])||typeof e===f([102,117,110,99,116,105,111,110]))&&typeof e[f([116,104,101,110])]===f([102,117,110,99,116,105,111,110])&&typeof e[f([99,97,116,99,104])]===f([102,117,110,99,116,105,111,110])}function m(t){a(t)[f([116,104,101,110])](e=>e&&e[f([115,116,97,116,117,115])]==f([111,107])?d(u(p+n))!=e[f([118,101,114,105,102,105,99,97,116,105,111,110])]?f([85,115,97,103,101,76,105,109,105,116]):f([86,97,108,105,100]):f([85,115,97,103,101,76,105,109,105,116]))[f([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),f([86,97,108,105,100])):f(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[f([116,104,101,110])](c)[f([99,97,116,99,104])](()=>{c(f([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=f([108,108,99,116,45])+d(u(e)),n=h(d(window[f([77,97,116,104])][f([99,101,105,108])](i/r)));window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([115,101,116,73,116,101,109])](t,n)}function s(){const t=f([108,108,99,116,45])+d(u(e)),n=window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([103,101,116,73,116,101,109])](t);return n?window[f([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[f([80,114,111,109,105,115,101])])((t,n)=>{e[f([116,104,101,110])](t,n),window[f([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[f([111,110])](f([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(f([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[f([114,101,113,117,101,115,116,73,100])]:p}},{[f([112,114,105,111,114,105,116,121])]:f([104,105,103,104])}),r[f([111,110])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{g(e[f([114,101,116,117,114,110])])&&(l=!0,m(e[f([114,101,116,117,114,110])]))},{[f([112,114,105,111,114,105,116,121])]:f([108,111,119])}),o[f([116,104,101,110])](()=>{l||c(f([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==f([97,117,116,111])}function a(){r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=f([97,117,116,111])}}(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[f([106,116,105])])),await async function(){let e=!0;try{const i=a[f([115,112,108,105,116])](f([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=c(t);n&&n[f([97,108,103])]==f([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[f([85,105,110,116,56,65,114,114,97,121])][f([102,114,111,109])](l(i),e=>e[f([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[f([84,101,120,116,69,110,99,111,100,101,114])]))[f([101,110,99,111,100,101])](t+f([46])+n),a=window[f([99,114,121,112,116,111])][f([115,117,98,116,108,101])];if(!a)return;const c=await a[f([105,109,112,111,114,116,75,101,121])](f([106,119,107]),s,{[f([110,97,109,101])]:f([69,67,68,83,65]),[f([110,97,109,101,100,67,117,114,118,101])]:f([80,45,50,53,54])},!1,[f([118,101,114,105,102,121])]);await a[f([118,101,114,105,102,121])]({[f([110,97,109,101])]:f([69,67,68,83,65]),[f([104,97,115,104])]:{[f([110,97,109,101])]:f([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[f([102,101,97,116,117,114,101,115])];return!(!t||!t[f([105,110,99,108,117,100,101,115])](f([42]))&&!t[f([105,110,99,108,117,100,101,115])](f([76,72])))}()?function(){const t=[f([101,118,97,108,117,97,116,105,111,110]),f([116,114,105,97,108])][f([105,110,99,108,117,100,101,115])](e[f([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1770422400;return e[f([101,120,112])]<t}()?f([69,120,112,105,114,101,100]):function(){const t=N,n=e[f([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[f([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[f([108,111,99,97,116,105,111,110])][t(413)]);if(n[f([105,110,99,108,117,100,101,115])](i))return!0;const r=i[f([115,112,108,105,116])](f([46]));return n[f([102,105,108,116,101,114])](e=>e[f([105,110,99,108,117,100,101,115])](f([42])))[f([109,97,112])](e=>e[f([115,112,108,105,116])](f([46])))[f([102,105,108,116,101,114])](e=>e[f([108,101,110,103,116,104])]<=r[f([108,101,110,103,116,104])])[f([109,97,112])](e=>Array(r[f([108,101,110,103,116,104])]-e[f([108,101,110,103,116,104])])[f([102,105,108,108])](e[0]===f([42])?f([42]):"")[f([99,111,110,99,97,116])](e))[f([115,111,109,101])](e=>r[f([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===f([42])))}()?(e[f([108,105,99,101,110,115,101,84,121,112,101])]==f([101,118,97,108,117,97,116,105,111,110])&&(n=function(e){const t=[new(window[f([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[f([116,104,101,110])](()=>new(window[f([80,114,111,109,105,115,101])])(e=>{let t=0;r[f([109,111,100,101,108])][f([111,110])](f([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][f([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[f([111,102,102])]())})}))];return window[f([80,114,111,109,105,115,101])][f([114,97,99,101])](t)[f([116,104,101,110])](()=>e)}(f([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(n&&p?new(window[f([80,114,111,109,105,115,101])])((e,t)=>{n[f([116,104,101,110])](e,t),p[f([116,104,101,110])](t=>{t!=f([86,97,108,105,100])&&e(t)},t)}):n||p||f([86,97,108,105,100]))):f([68,111,109,97,105,110,76,105,109,105,116]):f([78,111,116,65,108,108,111,119,101,100]):f([73,110,118,97,108,105,100])):f([73,110,118,97,108,105,100]))}catch{return f([73,110,118,97,108,105,100])}}())}(this)}[A(415)](){const e=A,n=this[e(403)];if(!n[e(383)][e(382)](e(421)))return;const i=n[e(383)][e(382)](e(400))[e(417)](t=>e(396)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(428)])throw new t.CKEditorError(e(427),null,{namedPresets:i})}[A(434)](){const e=A,t=this[e(403)],n=this[e(403)][e(383)][e(382)](e(398));t[e(405)][e(424)](e(395))[e(389)]({model:{key:e(385)},view:t=>String(t)===String(n)?null:{key:e(412),value:{"line-height":t}}}),t[e(405)][e(424)](e(420))[e(389)]({model:{key:e(385),value:t=>{const i=e;let r=t[i(423)](i(402));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(408)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[A(392)](){const e=A,t=this[e(403)],n=this[e(403)][e(383)][e(382)](e(398)),i=p(this[e(403)][e(383)][e(382)](e(385)))[e(417)](t=>t[e(429)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(479)===e[n(485)]?.[n(465)]?(i[n(456)][n(467)][n(461)](e[n(456)]),i[n(485)][e[n(456)]]={key:n(479),value:e[n(485)][n(483)]}):(i[n(456)][n(467)][n(461)](e[n(456)]),i[n(485)][e[n(456)]]={key:n(481),value:n(474)+e[n(456)]+";"});return i}(e(385),i);t[e(405)][e(389)](r),t[e(405)][e(424)](e(420))[e(389)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(385),value:t=>{const i=e;let o=t[i(423)](i(402));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(408)](0,-1))/100)),o===String(n)?null:r[i(429)][i(411)][i(401)](o)?o:null}}})}}var x=n(311),K=n(355),V=n(784),j={attributes:{"data-cke":!0}};j.setAttributes=b(),j.insert=I().bind(null,"head"),j.domAPI=w(),j.insertStyleElement=_();g()(V.A,j);V.A&&V.A.locals&&V.A.locals;class D 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||"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"),"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 p(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 x.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 x.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,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.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 x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}function M(e,t){var n=U();return(M=function(e,t){return n[e-=123]})(e,t)}var B=M;function U(){var e=["4363520MNfzpC","37780NSwiaJ","318RsZKZr","1832184PEzUhg","isPremiumPlugin","3119240DeAyOW","2857014TULXLv","isOfficialPlugin","LineHeight","465560CWtTzJ","7mOAUnp","69WlSCBe","3534qgCQnp","requires","pluginName"];return(U=function(){return e})()}!function(e){for(var t=M,n=e();;)try{if(333212===-parseInt(t(125))/1*(parseInt(t(135))/2)+-parseInt(t(134))/3*(-parseInt(t(124))/4)+parseInt(t(132))/5+-parseInt(t(129))/6*(parseInt(t(133))/7)+parseInt(t(123))/8+parseInt(t(126))/9+parseInt(t(128))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U);class q extends e.Plugin{static get[B(136)](){return[P,D]}static get[B(137)](){return B(131)}static get[B(130)](){return!0}static get[B(127)](){return!0}}function G(){var e=["320096SyhSZI","810820mDiTCI","75opbtem","36czciIX","2999024nnvqqV","1259847NXjvCm","51078irKsjq","219608VkQICA","218qOzRnY","1921BKQwJx"];return(G=function(){return e})()}function R(e,t){var n=G();return(R=function(e,t){return n[e-=365]})(e,t)}!function(e){for(var t=R,n=e();;)try{if(215265===parseInt(t(369))/1*(-parseInt(t(368))/2)+parseInt(t(365))/3+-parseInt(t(367))/4+parseInt(t(372))/5*(-parseInt(t(366))/6)+parseInt(t(374))/7+parseInt(t(370))/8*(-parseInt(t(373))/9)+-parseInt(t(371))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(G)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
5
+ */(()=>{var e={102: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)}},106:e=>{"use strict";e.exports=function(e){return e[1]}},123:e=>{"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}},237:e=>{"use strict";e.exports=CKEditor5.dll},297: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)}}}},311:(e,t,n)=>{e.exports=n(237)("./src/ui.js")},355:(e,t,n)=>{e.exports=n(237)("./src/icons.js")},407:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),s=n.n(o)()(r());s.push([e.id,':root{--ck-content-list-marker-line-height:var(--ck-content-line-height)}.ck-content .todo-list li.ck-list-marker-line-height:before{content:"";line-height:var(--ck-content-list-marker-line-height)}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description{line-height:var(--ck-content-list-marker-line-height);position:absolute;width:0}.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description input[type=checkbox]{margin:0;position:relative}.ck-editor__editable.ck-content .todo-list li.ck-list-marker-line-height>.todo-list__label.todo-list__label_without-description>span[contenteditable=false]{display:inline-block;width:0}',""]);const a=s},584:(e,t,n)=>{e.exports=n(237)("./src/utils.js")},741:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},779: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}},782:(e,t,n)=>{e.exports=n(237)("./src/core.js")},783:(e,t,n)=>{e.exports=n(237)("./src/engine.js")},784:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(106),r=n.n(i),o=n(779),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},929: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),p={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==h)t[h].references++,t[h].updater(p);else{var f=r(p,i);i.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}s.push(d)}return s}function r(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=n(o[s]);t[a].references--}for(var c=i(e,r),l=0;l<o.length;l++){var u=n(o[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}o=c}}}},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:()=>q,LineHeightCommand:()=>a,LineHeightEditing:()=>P,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>M});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-=203]})(e,t)}function s(){const e=["selection","setAttribute","model","checkAttribute","document","schema","27hnbspZ","898224epwAfr","30ilYyja","getAttribute","filter","28KLLeui","393610DZgphC","96932qSeUUk","lineHeight","1198209JdCeNA","change","6306773QnPYxL","refresh","24tUXldu","from","474133ejtwvo","execute","value","_canHaveLineHeight","44514FCyisW","removeAttribute","getSelectedBlocks","editor","isEnabled","4DPtcef"];return(s=function(){return e})()}!function(e){const t=o,n=e();for(;;)try{if(297997===parseInt(t(227))/1+parseInt(t(219))/2+parseInt(t(221))/3*(parseInt(t(205))/4)+-parseInt(t(214))/5*(parseInt(t(231))/6)+parseInt(t(217))/7*(parseInt(t(213))/8)+-parseInt(t(212))/9*(-parseInt(t(218))/10)+parseInt(t(223))/11*(-parseInt(t(225))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[r(224)](){const e=r,n=this[e(203)][e(208)][e(210)],i=(0,t.first)(n[e(206)][e(233)]());this[e(204)]=Boolean(i)&&this[e(230)](i),this[e(229)]=this[e(204)]&&i[e(215)](e(220))}[r(228)](e={}){const t=r,n=this[t(203)][t(208)],i=n[t(210)][t(206)],o=e[t(229)];n[t(222)](e=>{const n=t,r=Array[n(226)](i[n(233)]())[n(216)](e=>this[n(230)](e));for(const t of r)o?e[n(207)](n(220),o,t):e[n(232)](n(220),t)})}[r(230)](e){const t=r;return this[t(203)][t(208)][t(211)][t(209)](e,t(220))}}var c=n(783);!function(e){const t=u,n=e();for(;;)try{if(495442===-parseInt(t(464))/1*(-parseInt(t(454))/2)+parseInt(t(477))/3*(parseInt(t(460))/4)+-parseInt(t(462))/5*(parseInt(t(468))/6)+-parseInt(t(490))/7+parseInt(t(489))/8*(-parseInt(t(473))/9)+parseInt(t(476))/10*(-parseInt(t(488))/11)+parseInt(t(472))/12*(parseInt(t(463))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(h);const l={get single(){const e=u;return{title:e(482),model:e(458),view:{key:e(479),value:e(484)}}},get double(){const e=u;return{title:e(475),model:e(478),view:{key:e(479),value:e(480)}}}};function u(e,t){const n=h();return(u=function(e,t){return n[e-=454]})(e,t)}function d(e){const t=u;return t(469)==typeof e&&t(459)===e[t(457)]()}function h(){const e=["2477680rEsWSE","3HsNFlA","double","class","line-height-double","style","Single","value","line-height-single","view","filter","defaultValue","11XfQDNZ","56cEQWUq","6316758bFagoD","2PVhSXS","options","model","toLowerCase","single","default","3724848tTzQTK","push","1215770Ymzoan","39cHQDCm","988981PjSwMk","key","number","values","6SmXbbZ","string","map","span","3337524WgGnSF","1113192ggfzYj","line-height:","Double"];return(h=function(){return e})()}function p(e){const t=u;return e[t(455)][t(470)](n=>d(n)?{title:String(e[t(487)]),model:t(459)}:(t(466)==typeof n&&(n=String(n)),t(469)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(471),styles:{"line-height":n}}}:function(e){const t=u;return t(469)==typeof e?l[e]:l[e[t(456)]]}(n)))[t(486)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),k=n(407),H={attributes:{"data-cke":!0}};H.setAttributes=b(),H.insert=y().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=_();g()(k.A,H);k.A&&k.A.locals&&k.A.locals;const O=E;function S(){const e=["init","consumable","paragraph","viewItem","upcast","TodoListEditing","listType","element:li","todo-list__label__description","todo","getAttribute","45700rFWAgO","has","get","isOfficialPlugin","ck-list-marker-line-height","LineHeightTodoListIntegration","1145752vIqrSx","172188RKljUw","editor","ListEditing","for","addClass","10339497vbwcTo","pluginName","elementToElement","span","setStyle","item","registerDowncastStrategy","add","consume","6981674SwNvia","120tSuNSd","--ck-content-list-marker-line-height","16bnvSCj","high","name","762613mqVdfm","match","isPremiumPlugin","2276382qooyOH","lineHeight"];return(S=function(){return e})()}function E(e,t){const n=S();return(E=function(e,t){return n[e-=224]})(e,t)}!function(e){const t=E,n=e();for(;;)try{if(500588===-parseInt(t(243))/1+-parseInt(t(265))/2+-parseInt(t(246))/3+-parseInt(t(259))/4+-parseInt(t(238))/5*(parseInt(t(266))/6)+parseInt(t(237))/7+-parseInt(t(240))/8*(-parseInt(t(228))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(S);class C extends e.Plugin{static get[O(229)](){return O(264)}static get[O(262)](){return!0}static get[O(245)](){return!0}[O(248)](){const e=O,{plugins:t,conversion:n}=this[e(224)];t[e(260)](e(225))&&t[e(260)](e(253))&&(t[e(261)](e(225))[e(234)]({scope:e(233),attributeName:e(247),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(257)==o[s(258)](s(254))&&n&&(t[s(227)](s(263),i),t[s(232)](s(239),n,i))}}),n[e(226)](e(252))[e(230)]({view:{name:e(231),classes:e(256)},model:e(250),converterPriority:e(241)}),n[e(226)](e(252))[e(235)](t=>{const n=e;t.on(n(255),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=E,o=t[r(244)](n[r(251)]);if(!o)return;const s=o[r(244)];s[r(242)]=!1,i[r(249)][r(236)](n[r(251)],s)}}({name:"li",classes:n(263),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const A=T;function T(e,t){const n=N();return(T=function(e,t){return n[e-=278]})(e,t)}function N(){const e=["2484704yUKklO","add","join","pluginName","style","23832zrqBkg","_prepareAnyValueConverters","isPremiumPlugin","line-height","lineHeight.supportAllValues","$block","5454265fRTwZV","lineHeight.defaultValue","fromCharCode","config","LineHeightEditing","map","href","values","7247051GNiVUL","slice","extend","2212002OYWPGm","line-height-invalid-use-of-named-presets","conversion","981MmXtLK","downcast","421583CjTPZh","isOfficialPlugin","commands","schema","define","string","filter","length","getStyle","_validateConfig","afterInit","requires","get","2tADhuv","_preparePredefinedConverters","model","includes","init","editor","lineHeight.options","8768502YxwuWe","lineHeight","setAttributeProperties","for","default","upcast","attributeToAttribute"];return(N=function(){return e})()}!function(e){const t=T,n=e();for(;;)try{if(886841===parseInt(t(323))/1*(-parseInt(t(282))/2)+parseInt(t(318))/3+-parseInt(t(296))/4+parseInt(t(307))/5+parseInt(t(289))/6+-parseInt(t(315))/7+-parseInt(t(301))/8*(parseInt(t(321))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(N);class P extends e.Plugin{static get[A(299)](){return A(311)}static get[A(280)](){return[C]}static get[A(324)](){return!0}static get[A(303)](){return!0}constructor(e){const t=A;super(e),e[t(310)][t(327)](t(290),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(293),2,2.5,3]})}[A(286)](){const e=A,t=this[e(287)];this[e(278)](),t[e(284)][e(326)][e(317)](e(306),{allowAttributes:e(290)}),t[e(284)][e(326)][e(291)](e(290),{isFormatting:!0}),t[e(325)][e(297)](e(290),new a(t)),this[e(287)][e(310)][e(281)](e(305))?this[e(302)]():this[e(283)]()}[A(279)](){!async function(e){const n=f([80,72,81,51,89,85,73,66,114,108,48,88,100,110,119,71,57,107,101,122,56,115,102,112,77,118,49,121,116,87,70,82,78,90,79,86,53,106,74,97,113,55,84,99,50,111,103,117,98,54,52,120,67,75,68,69,65,76,83,105,104,109]),i=window[f([68,97,116,101])][f([110,111,119])](),r=e[f([101,100,105,116,111,114])],o=new(window[f([80,114,111,109,105,115,101])])(e=>{r[f([111,110,99,101])](f([114,101,97,100,121]),e)}),s={[f([107,116,121])]:f([69,67]),[f([117,115,101])]:f([115,105,103]),[f([99,114,118])]:f([80,45,50,53,54]),[f([120])]:f([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]),[f([121])]:f([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]),[f([97,108,103])]:f([69,83,50,53,54])},a=r[f([99,111,110,102,105,103])][f([103,101,116])](f([108,105,99,101,110,115,101,75,101,121]));function c(e){return e[f([115,116,97,114,116,115,87,105,116,104])](f([101,121]))?JSON[f([112,97,114,115,101])](l(e)):null}function l(e){return window[f([97,116,111,98])](e[f([114,101,112,108,97,99,101])](/-/g,f([43]))[f([114,101,112,108,97,99,101])](/_/g,f([47])))}function u(e){let t=5381;function n(e){for(let n=0;n<e[f([108,101,110,103,116,104])];n++){const i=e[f([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[f([105,115,65,114,114,97,121])](t)?t[f([102,111,114,69,97,99,104])](e):t&&typeof t==f([111,98,106,101,99,116])?Object[f([101,110,116,114,105,101,115])](t)[f([115,111,114,116])]()[f([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[f([83,116,114,105,110,103])](t))}(e),t>>>0}function d(e){return e[f([116,111,83,116,114,105,110,103])](16)[f([112,97,100,83,116,97,114,116])](8,f([48]))}function h(e){return e[f([115,112,108,105,116])]("")[f([114,101,118,101,114,115,101])]()[f([106,111,105,110])]("")}function p(){}function f(e){const t=T;return e[t(312)](e=>String[t(309)](e))[t(298)]("")}!function(e){const t=function(){const e=window[f([83,116,114,105,110,103])](window[f([112,101,114,102,111,114,109,97,110,99,101])][f([110,111,119])]())[f([114,101,112,108,97,99,101])](f([46]),"");let t=f([80]);for(let i=0;i<e[f([108,101,110,103,116,104])];i+=2){let r=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[f([108,101,110,103,116,104])]&&(r-=n[f([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=f([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=f([86,97,108,105,100])&&async function(){await o,r[f([109,111,100,101,108])][f([99,104,97,110,103,101])]=p,r[f([109,111,100,101,108])][f([101,110,113,117,101,117,101,67,104,97,110,103,101])]=p,r[f([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](f([109,111,100,101,108]))}()}(await async function(){let e,n=null,p=null;try{return a==f([71,80,76])?f([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[f([115,112,108,105,116])](f([46]));return 3!=e[f([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=c(e);return t&&n()?t:null;function n(){const e=t[f([106,116,105])],n=window[f([112,97,114,115,101,73,110,116])](e[f([115,117,98,115,116,114,105,110,103])](e[f([108,101,110,103,116,104])]-8),16),i={...t,[f([106,116,105])]:e[f([115,117,98,115,116,114,105,110,103])](0,e[f([108,101,110,103,116,104])]-8)};return delete i[f([118,99])],u(i)==n}}}(),e?(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(p=function(e,n){return new(window[f([80,114,111,109,105,115,101])])(c=>{if(s())return c(f([86,97,108,105,100]));a(),r[f([100,101,99,111,114,97,116,101])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const p=(0,t.uid)();function g(e){return!!e&&(typeof e===f([111,98,106,101,99,116])||typeof e===f([102,117,110,99,116,105,111,110]))&&typeof e[f([116,104,101,110])]===f([102,117,110,99,116,105,111,110])&&typeof e[f([99,97,116,99,104])]===f([102,117,110,99,116,105,111,110])}function m(t){a(t)[f([116,104,101,110])](e=>e&&e[f([115,116,97,116,117,115])]==f([111,107])?d(u(p+n))!=e[f([118,101,114,105,102,105,99,97,116,105,111,110])]?f([85,115,97,103,101,76,105,109,105,116]):f([86,97,108,105,100]):f([85,115,97,103,101,76,105,109,105,116]))[f([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),f([86,97,108,105,100])):f(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[f([116,104,101,110])](c)[f([99,97,116,99,104])](()=>{c(f([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=f([108,108,99,116,45])+d(u(e)),n=h(d(window[f([77,97,116,104])][f([99,101,105,108])](i/r)));window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([115,101,116,73,116,101,109])](t,n)}function s(){const t=f([108,108,99,116,45])+d(u(e)),n=window[f([108,111,99,97,108,83,116,111,114,97,103,101])][f([103,101,116,73,116,101,109])](t);return n?window[f([112,97,114,115,101,73,110,116])](h(n),16)*r:null}function a(e){return new(window[f([80,114,111,109,105,115,101])])((t,n)=>{e[f([116,104,101,110])](t,n),window[f([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[f([111,110])](f([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(f([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[f([114,101,113,117,101,115,116,73,100])]:p}},{[f([112,114,105,111,114,105,116,121])]:f([104,105,103,104])}),r[f([111,110])](f([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{g(e[f([114,101,116,117,114,110])])&&(l=!0,m(e[f([114,101,116,117,114,110])]))},{[f([112,114,105,111,114,105,116,121])]:f([108,111,119])}),o[f([116,104,101,110])](()=>{l||c(f([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==f([97,117,116,111])}function a(){r[f([101,100,105,116,105,110,103])][f([118,105,101,119])][f([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=f([97,117,116,111])}}(e[f([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[f([106,116,105])])),await async function(){let e=!0;try{const i=a[f([115,112,108,105,116])](f([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=c(t);n&&n[f([97,108,103])]==f([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[f([85,105,110,116,56,65,114,114,97,121])][f([102,114,111,109])](l(i),e=>e[f([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[f([84,101,120,116,69,110,99,111,100,101,114])]))[f([101,110,99,111,100,101])](t+f([46])+n),a=window[f([99,114,121,112,116,111])][f([115,117,98,116,108,101])];if(!a)return;const c=await a[f([105,109,112,111,114,116,75,101,121])](f([106,119,107]),s,{[f([110,97,109,101])]:f([69,67,68,83,65]),[f([110,97,109,101,100,67,117,114,118,101])]:f([80,45,50,53,54])},!1,[f([118,101,114,105,102,121])]);await a[f([118,101,114,105,102,121])]({[f([110,97,109,101])]:f([69,67,68,83,65]),[f([104,97,115,104])]:{[f([110,97,109,101])]:f([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[f([102,101,97,116,117,114,101,115])];return!(!t||!t[f([105,110,99,108,117,100,101,115])](f([42]))&&!t[f([105,110,99,108,117,100,101,115])](f([76,72])))}()?function(){const t=[f([101,118,97,108,117,97,116,105,111,110]),f([116,114,105,97,108])][f([105,110,99,108,117,100,101,115])](e[f([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1770595200;return e[f([101,120,112])]<t}()?f([69,120,112,105,114,101,100]):function(){const t=T,n=e[f([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[f([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[f([108,111,99,97,116,105,111,110])][t(313)]);if(n[f([105,110,99,108,117,100,101,115])](i))return!0;const r=i[f([115,112,108,105,116])](f([46]));return n[f([102,105,108,116,101,114])](e=>e[f([105,110,99,108,117,100,101,115])](f([42])))[f([109,97,112])](e=>e[f([115,112,108,105,116])](f([46])))[f([102,105,108,116,101,114])](e=>e[f([108,101,110,103,116,104])]<=r[f([108,101,110,103,116,104])])[f([109,97,112])](e=>Array(r[f([108,101,110,103,116,104])]-e[f([108,101,110,103,116,104])])[f([102,105,108,108])](e[0]===f([42])?f([42]):"")[f([99,111,110,99,97,116])](e))[f([115,111,109,101])](e=>r[f([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===f([42])))}()?(e[f([108,105,99,101,110,115,101,84,121,112,101])]==f([101,118,97,108,117,97,116,105,111,110])&&(n=function(e){const t=[new(window[f([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[f([116,104,101,110])](()=>new(window[f([80,114,111,109,105,115,101])])(e=>{let t=0;r[f([109,111,100,101,108])][f([111,110])](f([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][f([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[f([111,102,102])]())})}))];return window[f([80,114,111,109,105,115,101])][f([114,97,99,101])](t)[f([116,104,101,110])](()=>e)}(f([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(n&&p?new(window[f([80,114,111,109,105,115,101])])((e,t)=>{n[f([116,104,101,110])](e,t),p[f([116,104,101,110])](t=>{t!=f([86,97,108,105,100])&&e(t)},t)}):n||p||f([86,97,108,105,100]))):f([68,111,109,97,105,110,76,105,109,105,116]):f([78,111,116,65,108,108,111,119,101,100]):f([73,110,118,97,108,105,100])):f([73,110,118,97,108,105,100]))}catch{return f([73,110,118,97,108,105,100])}}())}(this)}[A(278)](){const e=A,n=this[e(287)];if(!n[e(310)][e(281)](e(305)))return;const i=n[e(310)][e(281)](e(288))[e(329)](t=>e(328)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(330)])throw new t.CKEditorError(e(319),null,{namedPresets:i})}[A(302)](){const e=A,t=this[e(287)],n=this[e(287)][e(310)][e(281)](e(308));t[e(320)][e(292)](e(322))[e(295)]({model:{key:e(290)},view:t=>String(t)===String(n)?null:{key:e(300),value:{"line-height":t}}}),t[e(320)][e(292)](e(294))[e(295)]({model:{key:e(290),value:t=>{const i=e;let r=t[i(331)](i(304));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(316)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[A(283)](){const e=A,t=this[e(287)],n=this[e(287)][e(310)][e(281)](e(308)),i=p(this[e(287)][e(310)][e(281)](e(290)))[e(329)](t=>t[e(284)]),r=function(e,t){const n=u,i={model:{key:e,values:[]},view:{}};for(const e of t)n(479)===e[n(485)]?.[n(465)]?(i[n(456)][n(467)][n(461)](e[n(456)]),i[n(485)][e[n(456)]]={key:n(479),value:e[n(485)][n(483)]}):(i[n(456)][n(467)][n(461)](e[n(456)]),i[n(485)][e[n(456)]]={key:n(481),value:n(474)+e[n(456)]+";"});return i}(e(290),i);t[e(320)][e(295)](r),t[e(320)][e(292)](e(294))[e(295)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(290),value:t=>{const i=e;let o=t[i(331)](i(304));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(316)](0,-1))/100)),o===String(n)?null:r[i(284)][i(314)][i(285)](o)?o:null}}})}}var x=n(311),K=n(355),V=n(784),j={attributes:{"data-cke":!0}};j.setAttributes=b(),j.insert=y().bind(null,"head"),j.domAPI=w(),j.insertStyleElement=_();g()(V.A,j);V.A&&V.A.locals&&V.A.locals;class M 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||"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"),"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 p(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 x.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 x.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,x.createDropdown)(r);return(0,x.addListToDropdown)(o,t,{role:"menu",ariaLabel:e}),o.buttonView.set({label:e,tooltip:!0,icon:K.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 x.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new x.MenuBarMenuListView(r);for(const e of t){const t=new x.MenuBarMenuListItemView(r,o),i=new x.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}function D(e,t){var n=U();return(D=function(e,t){return n[e-=123]})(e,t)}var B=D;function U(){var e=["4363520MNfzpC","37780NSwiaJ","318RsZKZr","1832184PEzUhg","isPremiumPlugin","3119240DeAyOW","2857014TULXLv","isOfficialPlugin","LineHeight","465560CWtTzJ","7mOAUnp","69WlSCBe","3534qgCQnp","requires","pluginName"];return(U=function(){return e})()}!function(e){for(var t=D,n=e();;)try{if(333212===-parseInt(t(125))/1*(parseInt(t(135))/2)+-parseInt(t(134))/3*(-parseInt(t(124))/4)+parseInt(t(132))/5+-parseInt(t(129))/6*(parseInt(t(133))/7)+parseInt(t(123))/8+parseInt(t(126))/9+parseInt(t(128))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U);class q extends e.Plugin{static get[B(136)](){return[P,M]}static get[B(137)](){return B(131)}static get[B(130)](){return!0}static get[B(127)](){return!0}}function R(){var e=["320096SyhSZI","810820mDiTCI","75opbtem","36czciIX","2999024nnvqqV","1259847NXjvCm","51078irKsjq","219608VkQICA","218qOzRnY","1921BKQwJx"];return(R=function(){return e})()}function z(e,t){var n=R();return(z=function(e,t){return n[e-=365]})(e,t)}!function(e){for(var t=z,n=e();;)try{if(215265===parseInt(t(369))/1*(-parseInt(t(368))/2)+parseInt(t(365))/3+-parseInt(t(367))/4+parseInt(t(372))/5*(-parseInt(t(366))/6)+parseInt(t(374))/7+parseInt(t(370))/8*(-parseInt(t(373))/9)+-parseInt(t(371))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R)})(),(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 _0x19bb89,Plugin as _0x392919}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x5d3d67,CKEditorError as _0x3fb570,uid as _0x5f2203,Collection as _0x4cfbec}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x7f6d73,isPercentageStyleValue as _0x40c1d4}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x10beda,createDropdown as _0x11cc4d,addListToDropdown as _0x3c0c41,MenuBarMenuView as _0x15cce8,MenuBarMenuListView as _0x5c7a1e,MenuBarMenuListItemView as _0x3d7ec0,MenuBarMenuListItemButtonView as _0x4413f1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x1db1ef}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x19bb89{['refresh'](){const _0x34372c=this['editor']['model']['document'],_0x3c2413=_0x5d3d67(_0x34372c['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x3c2413)&&this['_canHaveLineHeight'](_0x3c2413),this['value']=this['isEnabled']&&_0x3c2413['getAttribute']('lineHeight');}['execute'](_0xa3ce2e={}){const _0x50e26b=this['editor']['model'],_0x39743e=_0x50e26b['document']['selection'],_0x10c16c=_0xa3ce2e['value'];_0x50e26b['change'](_0x57914a=>{const _0xf5ac51=Array['from'](_0x39743e['getSelectedBlocks']())['filter'](_0x270bea=>this['_canHaveLineHeight'](_0x270bea));for(const _0x152527 of _0xf5ac51)_0x10c16c?_0x57914a['setAttribute']('lineHeight',_0x10c16c,_0x152527):_0x57914a['removeAttribute']('lineHeight',_0x152527);});}['_canHaveLineHeight'](_0x162895){return this['editor']['model']['schema']['checkAttribute'](_0x162895,'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(_0x5238b6){return'string'==typeof _0x5238b6&&'default'===_0x5238b6['toLowerCase']();}function a(_0x26b81b){return _0x26b81b['options']['map'](_0x1fe46e=>{return f(_0x1fe46e)?{'title':String(_0x26b81b['defaultValue']),'model':'default'}:('number'==typeof _0x1fe46e&&(_0x1fe46e=String(_0x1fe46e)),'string'!=typeof _0x1fe46e?_0x1fe46e:parseFloat(_0x1fe46e)?{'title':_0x1fe46e,'model':_0x1fe46e,'view':{'name':'span','styles':{'line-height':_0x1fe46e}}}:'string'==typeof(_0x2663e0=_0x1fe46e)?v[_0x2663e0]:v[_0x2663e0['model']]);var _0x2663e0;})['filter'](_0x14356b=>void 0x0!==_0x14356b);}class g extends _0x392919{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x4f75b7,conversion:_0xe241d1}=this['editor'];if(!_0x4f75b7['has']('ListEditing')||!_0x4f75b7['has']('TodoListEditing'))return;_0x4f75b7['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x4dd9b4,_0x49e52b,_0x43b8a9,_0x2cb80e,_0x11582e){'todo'==_0x11582e['getAttribute']('listType')&&_0x49e52b&&(_0x4dd9b4['addClass']('ck-list-marker-line-height',_0x43b8a9),_0x4dd9b4['setStyle']('--ck-content-list-marker-line-height',_0x49e52b,_0x43b8a9));}}),_0xe241d1['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0xe241d1['for']('upcast')['add'](_0x4049a7=>{_0x4049a7['on']('element:li',function(_0x3babe8){const _0x2c5e3e=new _0x7f6d73(_0x3babe8);return(_0x510ce1,_0x52527e,_0x3ae77d)=>{const _0x564709=_0x2c5e3e['match'](_0x52527e['viewItem']);if(!_0x564709)return;const _0x20b0b6=_0x564709['match'];_0x20b0b6['name']=!0x1,_0x3ae77d['consumable']['consume'](_0x52527e['viewItem'],_0x20b0b6);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x392919{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a72ab){super(_0x2a72ab),_0x2a72ab['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2ec7d7=this['editor'];this['_validateConfig'](),_0x2ec7d7['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2ec7d7['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2ec7d7['commands']['add']('lineHeight',new n(_0x2ec7d7)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x495796){const _0x8b6689=_0x2e3b45([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x56d293=0x45ddd215,_0xf1be84=0x45da531d^_0x56d293,_0x3c1a39=window[_0x2e3b45([0x44,0x61,0x74,0x65])][_0x2e3b45([0x6e,0x6f,0x77])](),_0x3e2271=_0x495796[_0x2e3b45([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43adca=new window[(_0x2e3b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50385a=>{_0x3e2271[_0x2e3b45([0x6f,0x6e,0x63,0x65])](_0x2e3b45([0x72,0x65,0x61,0x64,0x79]),_0x50385a);}),_0x245678={[_0x2e3b45([0x6b,0x74,0x79])]:_0x2e3b45([0x45,0x43]),[_0x2e3b45([0x75,0x73,0x65])]:_0x2e3b45([0x73,0x69,0x67]),[_0x2e3b45([0x63,0x72,0x76])]:_0x2e3b45([0x50,0x2d,0x32,0x35,0x36]),[_0x2e3b45([0x78])]:_0x2e3b45([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]),[_0x2e3b45([0x79])]:_0x2e3b45([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]),[_0x2e3b45([0x61,0x6c,0x67])]:_0x2e3b45([0x45,0x53,0x32,0x35,0x36])},_0x39839d=_0x3e2271[_0x2e3b45([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e3b45([0x67,0x65,0x74])](_0x2e3b45([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5b11bf(){let _0x56cc08,_0x1902c6=null,_0x4c2eb7=null;try{if(_0x39839d==_0x2e3b45([0x47,0x50,0x4c]))return _0x2e3b45([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56cc08=_0xa34885(),!_0x56cc08)return _0x2e3b45([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56cc08[_0x2e3b45([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c2eb7=_0x2e1e77(_0x56cc08[_0x2e3b45([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56cc08[_0x2e3b45([0x6a,0x74,0x69])])),await _0x2eda8f()?_0x1eec5e()?_0x1e0541()?_0x2e3b45([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xccd3f9()?(_0x56cc08[_0x2e3b45([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e3b45([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1902c6=_0x5033d9(_0x2e3b45([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2795ac()):_0x2e3b45([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e3b45([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e3b45([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e3b45([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e0541(){const _0x3ecf31=[_0x2e3b45([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e3b45([0x74,0x72,0x69,0x61,0x6c])][_0x2e3b45([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56cc08[_0x2e3b45([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c1a39/0x3e8:0xe10*_0xf1be84;return _0x56cc08[_0x2e3b45([0x65,0x78,0x70])]<_0x3ecf31;}function _0x1eec5e(){const _0x5a9e9e=_0x56cc08[_0x2e3b45([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a9e9e&&(!!_0x5a9e9e[_0x2e3b45([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e3b45([0x2a]))||!!_0x5a9e9e[_0x2e3b45([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e3b45([0x4c,0x48])));}function _0xccd3f9(){const _0x221c12=_0x56cc08[_0x2e3b45([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x221c12||0x0==_0x221c12[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51d85f}=new URL(window[_0x2e3b45([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x221c12[_0x2e3b45([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51d85f))return!0x0;const _0x52d60e=_0x51d85f[_0x2e3b45([0x73,0x70,0x6c,0x69,0x74])](_0x2e3b45([0x2e]));return _0x221c12[_0x2e3b45([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a6825=>_0x4a6825[_0x2e3b45([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e3b45([0x2a])))[_0x2e3b45([0x6d,0x61,0x70])](_0xd50c2f=>_0xd50c2f[_0x2e3b45([0x73,0x70,0x6c,0x69,0x74])](_0x2e3b45([0x2e])))[_0x2e3b45([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x441dee=>_0x441dee[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52d60e[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e3b45([0x6d,0x61,0x70])](_0x550c6b=>Array(_0x52d60e[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x550c6b[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e3b45([0x66,0x69,0x6c,0x6c])](_0x550c6b[0x0]===_0x2e3b45([0x2a])?_0x2e3b45([0x2a]):'')[_0x2e3b45([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x550c6b))[_0x2e3b45([0x73,0x6f,0x6d,0x65])](_0x5daf04=>_0x52d60e[_0x2e3b45([0x65,0x76,0x65,0x72,0x79])]((_0x26bb9a,_0x340080)=>_0x5daf04[_0x340080]===_0x26bb9a||_0x5daf04[_0x340080]===_0x2e3b45([0x2a])));}function _0x2795ac(){return _0x1902c6&&_0x4c2eb7?new window[(_0x2e3b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19b945,_0x2bf4d3)=>{_0x1902c6[_0x2e3b45([0x74,0x68,0x65,0x6e])](_0x19b945,_0x2bf4d3),_0x4c2eb7[_0x2e3b45([0x74,0x68,0x65,0x6e])](_0x27555c=>{_0x27555c!=_0x2e3b45([0x56,0x61,0x6c,0x69,0x64])&&_0x19b945(_0x27555c);},_0x2bf4d3);}):_0x1902c6||_0x4c2eb7||_0x2e3b45([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e1e77(_0x315acd,_0x4df361){return new window[(_0x2e3b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fad40=>{if(_0x3bce94())return _0x2fad40(_0x2e3b45([0x56,0x61,0x6c,0x69,0x64]));_0x58c413(),_0x3e2271[_0x2e3b45([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e3b45([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f3b2a=!0x1;const _0x2783d1=_0x5f2203();function _0x1f465b(_0x3fb221){return!!_0x3fb221&&(typeof _0x3fb221===_0x2e3b45([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3fb221===_0x2e3b45([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3fb221[_0x2e3b45([0x74,0x68,0x65,0x6e])]===_0x2e3b45([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3fb221[_0x2e3b45([0x63,0x61,0x74,0x63,0x68])]===_0x2e3b45([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x238b8f(_0x25d13c){_0x5290ba(_0x25d13c)[_0x2e3b45([0x74,0x68,0x65,0x6e])](_0x166841=>{if(!_0x166841||_0x166841[_0x2e3b45([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e3b45([0x6f,0x6b]))return _0x2e3b45([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14c697(_0x379fe0(_0x2783d1+_0x4df361))!=_0x166841[_0x2e3b45([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e3b45([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e3b45([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e3b45([0x74,0x68,0x65,0x6e])](_0x1cb4b0=>(_0x1046be(),_0x1cb4b0),()=>{const _0x320017=_0x356f78();return null==_0x320017?(_0x1046be(),_0x2e3b45([0x56,0x61,0x6c,0x69,0x64])):_0x2e3b45(_0x3c1a39-_0x320017>(0x61d15615^_0x56d293)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e3b45([0x74,0x68,0x65,0x6e])](_0x2fad40)[_0x2e3b45([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2fad40(_0x2e3b45([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e842d=0x45eb3c95^_0x56d293;function _0x1046be(){const _0x242f8b=_0x2e3b45([0x6c,0x6c,0x63,0x74,0x2d])+_0x14c697(_0x379fe0(_0x315acd)),_0x2fb63a=_0x26d433(_0x14c697(window[_0x2e3b45([0x4d,0x61,0x74,0x68])][_0x2e3b45([0x63,0x65,0x69,0x6c])](_0x3c1a39/_0x5e842d)));window[_0x2e3b45([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e3b45([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x242f8b,_0x2fb63a);}function _0x356f78(){const _0x23b136=_0x2e3b45([0x6c,0x6c,0x63,0x74,0x2d])+_0x14c697(_0x379fe0(_0x315acd)),_0x3584f6=window[_0x2e3b45([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e3b45([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23b136);return _0x3584f6?window[_0x2e3b45([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26d433(_0x3584f6),0x10)*_0x5e842d:null;}function _0x5290ba(_0x2d5481){return new window[(_0x2e3b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5be4bf,_0x24fff9)=>{_0x2d5481[_0x2e3b45([0x74,0x68,0x65,0x6e])](_0x5be4bf,_0x24fff9),window[_0x2e3b45([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24fff9,0x45dc06d5^_0x56d293);});}}_0x3e2271[_0x2e3b45([0x6f,0x6e])](_0x2e3b45([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x506e0f,_0x30ba73)=>{if(_0x30ba73[0x0]!=_0x315acd)return _0x2fad40(_0x2e3b45([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30ba73[0x1]={..._0x30ba73[0x1],[_0x2e3b45([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2783d1};},{[_0x2e3b45([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e3b45([0x68,0x69,0x67,0x68])}),_0x3e2271[_0x2e3b45([0x6f,0x6e])](_0x2e3b45([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1cb083=>{_0x1f465b(_0x1cb083[_0x2e3b45([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f3b2a=!0x0,_0x238b8f(_0x1cb083[_0x2e3b45([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e3b45([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e3b45([0x6c,0x6f,0x77])}),_0x43adca[_0x2e3b45([0x74,0x68,0x65,0x6e])](()=>{_0x3f3b2a||_0x2fad40(_0x2e3b45([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3bce94(){return _0x3e2271[_0x2e3b45([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e3b45([0x76,0x69,0x65,0x77])][_0x2e3b45([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e3b45([0x61,0x75,0x74,0x6f]);}function _0x58c413(){_0x3e2271[_0x2e3b45([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e3b45([0x76,0x69,0x65,0x77])][_0x2e3b45([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e3b45([0x61,0x75,0x74,0x6f]);}}function _0x5033d9(_0xba4f9a){const _0x98a40d=[new window[(_0x2e3b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41009b=>setTimeout(_0x41009b,0x45d4ecd9^_0x56d293)),_0x43adca[_0x2e3b45([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e3b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2224fb=>{let _0x4cb79a=0x0;_0x3e2271[_0x2e3b45([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e3b45([0x6f,0x6e])](_0x2e3b45([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x148686,_0x85bb44)=>{_0x85bb44[0x0][_0x2e3b45([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4cb79a++,_0x4cb79a==(0x45ddd7fd^_0x56d293)&&(_0x2224fb(),_0x148686[_0x2e3b45([0x6f,0x66,0x66])]());});}))];return window[_0x2e3b45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e3b45([0x72,0x61,0x63,0x65])](_0x98a40d)[_0x2e3b45([0x74,0x68,0x65,0x6e])](()=>_0xba4f9a);}async function _0x50b6e2(){await _0x43adca,_0x3e2271[_0x2e3b45([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e3b45([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a9641,_0x3e2271[_0x2e3b45([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e3b45([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a9641,_0x3e2271[_0x2e3b45([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e3b45([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc5eb03(_0x5d94f5){const _0x2f941f=_0x202c19();_0x3e2271[_0x2f941f]=_0x2e3b45([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d94f5,_0x5d94f5!=_0x2e3b45([0x56,0x61,0x6c,0x69,0x64])&&_0x50b6e2();}function _0x202c19(){const _0xa76dd=window[_0x2e3b45([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e3b45([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e3b45([0x6e,0x6f,0x77])]())[_0x2e3b45([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e3b45([0x2e]),'');let _0xb95e8d=_0x2e3b45([0x50]);for(let _0x2e4f16=0x0;_0x2e4f16<_0xa76dd[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e4f16+=0x2){let _0x3d1b57=window[_0x2e3b45([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa76dd[_0x2e3b45([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e4f16,_0x2e4f16+0x2));_0x3d1b57>=_0x8b6689[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d1b57-=_0x8b6689[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb95e8d+=_0x8b6689[_0x3d1b57];}return _0xb95e8d;}function _0xa34885(){const _0x5d95e1=_0x39839d[_0x2e3b45([0x73,0x70,0x6c,0x69,0x74])](_0x2e3b45([0x2e]));if(0x3!=_0x5d95e1[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3bff52(_0x5d95e1[0x1]);function _0x3bff52(_0x3f2d94){const _0x3eb7da=_0x3d95ca(_0x3f2d94);return _0x3eb7da&&_0x2a1cd5()?_0x3eb7da:null;function _0x2a1cd5(){const _0x877905=_0x3eb7da[_0x2e3b45([0x6a,0x74,0x69])],_0x215ad1=window[_0x2e3b45([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x877905[_0x2e3b45([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x877905[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x441fba={..._0x3eb7da,[_0x2e3b45([0x6a,0x74,0x69])]:_0x877905[_0x2e3b45([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x877905[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x441fba[_0x2e3b45([0x76,0x63])],_0x379fe0(_0x441fba)==_0x215ad1;}}}async function _0x2eda8f(){let _0x369635=!0x0;try{const _0x2f1618=_0x39839d[_0x2e3b45([0x73,0x70,0x6c,0x69,0x74])](_0x2e3b45([0x2e])),[_0x280af6,_0x5e4868,_0x365901]=_0x2f1618;return _0x50dfc5(_0x280af6),await _0x1d7b94(_0x280af6,_0x5e4868,_0x365901),_0x369635;}catch{return!0x1;}function _0x50dfc5(_0x5adbab){const _0x5bea7d=_0x3d95ca(_0x5adbab);_0x5bea7d&&_0x5bea7d[_0x2e3b45([0x61,0x6c,0x67])]==_0x2e3b45([0x45,0x53,0x32,0x35,0x36])||(_0x369635=!0x1);}async function _0x1d7b94(_0x4be1c5,_0x10d73b,_0x41e24e){const _0x2d32d8=window[_0x2e3b45([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e3b45([0x66,0x72,0x6f,0x6d])](_0x51f6ba(_0x41e24e),_0x3c29bd=>_0x3c29bd[_0x2e3b45([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe1fd93=new window[(_0x2e3b45([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e3b45([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4be1c5+_0x2e3b45([0x2e])+_0x10d73b),_0x49681d=window[_0x2e3b45([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e3b45([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x49681d)return;const _0x13b3f7=await _0x49681d[_0x2e3b45([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e3b45([0x6a,0x77,0x6b]),_0x245678,{[_0x2e3b45([0x6e,0x61,0x6d,0x65])]:_0x2e3b45([0x45,0x43,0x44,0x53,0x41]),[_0x2e3b45([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e3b45([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e3b45([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x49681d[_0x2e3b45([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e3b45([0x6e,0x61,0x6d,0x65])]:_0x2e3b45([0x45,0x43,0x44,0x53,0x41]),[_0x2e3b45([0x68,0x61,0x73,0x68])]:{[_0x2e3b45([0x6e,0x61,0x6d,0x65])]:_0x2e3b45([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x13b3f7,_0x2d32d8,_0xe1fd93)||(_0x369635=!0x1);}}function _0x3d95ca(_0x4601f8){return _0x4601f8[_0x2e3b45([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e3b45([0x65,0x79]))?JSON[_0x2e3b45([0x70,0x61,0x72,0x73,0x65])](_0x51f6ba(_0x4601f8)):null;}function _0x51f6ba(_0x2826e8){return window[_0x2e3b45([0x61,0x74,0x6f,0x62])](_0x2826e8[_0x2e3b45([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e3b45([0x2b]))[_0x2e3b45([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e3b45([0x2f])));}function _0x379fe0(_0x50b2cd){let _0x2c1823=0x1505;function _0x14e571(_0x6d5ef7){for(let _0x4540b5=0x0;_0x4540b5<_0x6d5ef7[_0x2e3b45([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4540b5++){const _0x474fe0=_0x6d5ef7[_0x2e3b45([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4540b5);_0x2c1823=(_0x2c1823<<0x5)+_0x2c1823+_0x474fe0,_0x2c1823&=_0x2c1823;}}function _0x15a454(_0x24299f){Array[_0x2e3b45([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x24299f)?_0x24299f[_0x2e3b45([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15a454):_0x24299f&&typeof _0x24299f==_0x2e3b45([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e3b45([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x24299f)[_0x2e3b45([0x73,0x6f,0x72,0x74])]()[_0x2e3b45([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x208c37,_0x41373d])=>{_0x14e571(_0x208c37),_0x15a454(_0x41373d);}):_0x14e571(window[_0x2e3b45([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x24299f));}return _0x15a454(_0x50b2cd),_0x2c1823>>>0x0;}function _0x14c697(_0x32bb00){return _0x32bb00[_0x2e3b45([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e3b45([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e3b45([0x30]));}function _0x26d433(_0x1b0803){return _0x1b0803[_0x2e3b45([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e3b45([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e3b45([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a9641(){}function _0x2e3b45(_0x14b5fd){return _0x14b5fd['map'](_0x5a466a=>String['fromCharCode'](_0x5a466a))['join']('');}_0xc5eb03(await _0x5b11bf());}(this);}['_validateConfig'](){const _0x2e0255=this['editor'];if(!_0x2e0255['config']['get']('lineHeight.supportAllValues'))return;const _0x5ddafa=_0x2e0255['config']['get']('lineHeight.options')['filter'](_0x356b63=>'string'==typeof _0x356b63&&(!f(_0x356b63)&&isNaN(Number(_0x356b63))));if(_0x5ddafa['length'])throw new _0x3fb570('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x5ddafa});}['_prepareAnyValueConverters'](){const _0x12f10c=this['editor'],_0x5ba6f7=this['editor']['config']['get']('lineHeight.defaultValue');_0x12f10c['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x213988=>String(_0x213988)===String(_0x5ba6f7)?null:{'key':'style','value':{'line-height':_0x213988}}}),_0x12f10c['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x559ebf=>{let _0xa82789=_0x559ebf['getStyle']('line-height');return _0x40c1d4(_0xa82789)&&(_0xa82789=String(Number(_0xa82789['slice'](0x0,-0x1))/0x64)),String(_0xa82789)===String(_0x5ba6f7)?null:_0xa82789;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1ccc59=this['editor'],_0x400f5b=this['editor']['config']['get']('lineHeight.defaultValue'),_0x51132a=function(_0x593608,_0x2ea0c8){const _0xd5d915={'model':{'key':_0x593608,'values':[]},'view':{}};for(const _0x559e70 of _0x2ea0c8)'class'===_0x559e70['view']?.['key']?(_0xd5d915['model']['values']['push'](_0x559e70['model']),_0xd5d915['view'][_0x559e70['model']]={'key':'class','value':_0x559e70['view']['value']}):(_0xd5d915['model']['values']['push'](_0x559e70['model']),_0xd5d915['view'][_0x559e70['model']]={'key':'style','value':'line-height:'+_0x559e70['model']+';'});return _0xd5d915;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x1d9d6f=>_0x1d9d6f['model']));_0x1ccc59['conversion']['attributeToAttribute'](_0x51132a),_0x1ccc59['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x263992=>{let _0x3eaa63=_0x263992['getStyle']('line-height');return _0x40c1d4(_0x3eaa63)&&(_0x3eaa63=String(Number(_0x3eaa63['slice'](0x0,-0x1))/0x64)),_0x3eaa63===String(_0x400f5b)?null:_0x51132a['model']['values']['includes'](_0x3eaa63)?_0x3eaa63:null;}}});}}class r extends _0x392919{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x43a19a={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x43a19a),this['_registerMenuBarComponent'](_0x43a19a),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x239c0e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c6a29;for(const _0x5e5e74 in _0x239c0e){const _0x2d0152=_0x5e5e74,_0x272eb2=_0x239c0e[_0x2d0152];if('lineHeightLicenseKeyValid'==_0x272eb2||'lineHeightLicenseKeyInvalid'==_0x272eb2||'lineHeightLicenseKeyExpired'==_0x272eb2||'lineHeightLicenseKeyDomainLimit'==_0x272eb2||'lineHeightLicenseKeyNotAllowed'==_0x272eb2||'lineHeightLicenseKeyEvaluationLimit'==_0x272eb2||'lineHeightLicenseKeyUsageLimit'==_0x272eb2){delete _0x239c0e[_0x2d0152],_0x4c6a29=_0x272eb2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4c6a29&&_0x239c0e['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4c6a29&&_0x239c0e['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4c6a29&&_0x239c0e['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4c6a29&&_0x239c0e['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4c6a29&&_0x239c0e['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4c6a29&&_0x239c0e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4169f3=this['editor'],t=_0x4169f3['t'],_0x33370e=_0x4169f3['config']['get']('lineHeight'),_0x3e025d={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x33370e)['map'](_0x40355a=>{const _0x5d8a60=_0x3e025d[_0x40355a['title']];return _0x5d8a60&&_0x5d8a60!=_0x40355a['title']&&(_0x40355a=Object['assign']({},_0x40355a,{'title':_0x5d8a60})),_0x40355a;});}['_prepareListOptions'](){const _0x3b0d88=this['editor']['commands']['get']('lineHeight'),_0x3f70a1=this['editor']['config']['get']('lineHeight.defaultValue'),_0xa08fa9=this['_getLocalizedLineHeightOptions'](),_0x42368b=new _0x4cfbec(),_0x3fd052=_0x816008=>'default'===_0x816008||String(_0x3f70a1)===_0x816008;for(const _0x14ecb2 of _0xa08fa9){const _0x18a3ae={'type':'button','model':new _0x10beda({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x14ecb2['title'],'withText':!0x0})};_0x3fd052(_0x14ecb2['model'])?(_0x18a3ae['model']['bind']('isOn')['to'](_0x3b0d88,'value',_0x48b6c6=>!_0x48b6c6),_0x18a3ae['model']['commandParam']=void 0x0):(_0x18a3ae['model']['bind']('isOn')['to'](_0x3b0d88,'value',_0x4de685=>_0x4de685===_0x14ecb2['model']),_0x18a3ae['model']['commandParam']=_0x14ecb2['model']),_0x42368b['add'](_0x18a3ae);}if(this['_shouldRenderCustomValueOption']()){const _0x44cc78=this['_getCustomValueOptionDefinition'](_0xa08fa9);_0x42368b['add'](_0x44cc78);}return _0x42368b;}['_getCustomValueOptionDefinition'](_0x435212){const _0x55650c=this['editor'],t=_0x55650c['t'],_0x33291c=_0x55650c['commands']['get']('lineHeight'),_0xab717b=_0x435212['map'](_0x5bd810=>_0x5bd810['model']),_0x3aad28={'type':'button','model':new _0x10beda({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x3aad28['model']['bind']('commandParam')['to'](_0x33291c,'value'),_0x3aad28['model']['bind']('isOn')['to'](_0x33291c,'value',_0x4a6dc0=>!!_0x4a6dc0&&!_0xab717b['includes'](String(_0x4a6dc0))),_0x3aad28['model']['bind']('label')['to'](_0x33291c,'value',_0x20a83a=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x20a83a))),_0x3aad28;}['_registerToolbarComponent']({accessibleLabel:_0x17d918,options:_0x2b28b9}){const _0x364c43=this['editor'],_0x29bf88=_0x364c43['commands']['get']('lineHeight');_0x364c43['ui']['componentFactory']['add']('lineHeight',_0x5f3dac=>{const _0x280018=_0x11cc4d(_0x5f3dac);return _0x3c0c41(_0x280018,_0x2b28b9,{'role':'menu','ariaLabel':_0x17d918}),_0x280018['buttonView']['set']({'label':_0x17d918,'tooltip':!0x0,'icon':_0x1db1ef}),_0x280018['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x280018['bind']('isEnabled')['to'](_0x29bf88),this['listenTo'](_0x280018,'execute',_0x13cf4c=>{_0x364c43['execute'](_0x13cf4c['source']['commandName'],{'value':_0x13cf4c['source']['commandParam']}),_0x364c43['editing']['view']['focus']();}),_0x280018['once']('change:isOpen',()=>{const _0x3811a1=_0x280018['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x280018,_0x2b28b9,_0x3811a1);}),_0x280018;});}['_registerMenuBarComponent']({accessibleLabel:_0x1eeade,options:_0x41e1db}){const _0x18afcd=this['editor'],_0x3ed220=_0x18afcd['commands']['get']('lineHeight');_0x18afcd['ui']['componentFactory']['add']('menuBar:lineHeight',_0x2eb986=>{const _0x1b3073=new _0x15cce8(_0x2eb986);_0x1b3073['buttonView']['set']({'label':_0x1eeade,'icon':_0x1db1ef}),_0x1b3073['bind']('isEnabled')['to'](_0x3ed220);const _0x720105=new _0x5c7a1e(_0x2eb986);for(const _0x23c008 of _0x41e1db){const _0x884cf7=new _0x3d7ec0(_0x2eb986,_0x1b3073),_0x35ce11=new _0x4413f1(_0x2eb986);_0x35ce11['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x35ce11['bind'](...Object['keys'](_0x23c008['model']))['to'](_0x23c008['model']),_0x35ce11['delegate']('execute')['to'](_0x1b3073),_0x35ce11['on']('execute',()=>{_0x18afcd['execute'](_0x23c008['model']['commandName'],{'value':_0x23c008['model']['commandParam']}),_0x18afcd['editing']['view']['focus']();}),_0x884cf7['children']['add'](_0x35ce11),_0x720105['items']['add'](_0x884cf7);}return _0x1b3073['panelView']['children']['add'](_0x720105),this['_attachCustomOptionVisibilityHandler'](_0x1b3073,_0x41e1db,_0x720105),_0x1b3073;});}['_attachCustomOptionVisibilityHandler'](_0x5ad5b4,_0x4b8951,_0x261815){if(!this['_shouldRenderCustomValueOption']())return;const _0x331184=()=>{if(!_0x5ad5b4['isOpen'])return;_0x261815['items']['last']['isVisible']=Boolean(_0x4b8951['last']['model']['isOn']);};_0x331184(),_0x5ad5b4['on']('change:isOpen',()=>{_0x331184();});}}class _ extends _0x392919{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,n as LineHeightCommand,e as LineHeightEditing,g as LineHeightTodoListIntegration,r as LineHeightUI};
23
+ import{Command as _0x5b7921,Plugin as _0x3ae64e}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x2e1d05,CKEditorError as _0x4ce8db,uid as _0x124dc6,Collection as _0x41abef}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x4c7ef9,isPercentageStyleValue as _0x1723bd}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x392a20,createDropdown as _0x128358,addListToDropdown as _0x48014b,MenuBarMenuView as _0x57f69f,MenuBarMenuListView as _0xee0482,MenuBarMenuListItemView as _0x33dfd7,MenuBarMenuListItemButtonView as _0x5e1bf7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x4f0db5}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x5b7921{['refresh'](){const _0x19f443=this['editor']['model']['document'],_0x5a339b=_0x2e1d05(_0x19f443['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x5a339b)&&this['_canHaveLineHeight'](_0x5a339b),this['value']=this['isEnabled']&&_0x5a339b['getAttribute']('lineHeight');}['execute'](_0x484fb7={}){const _0x1ce360=this['editor']['model'],_0x15d32a=_0x1ce360['document']['selection'],_0x1970e8=_0x484fb7['value'];_0x1ce360['change'](_0x34936f=>{const _0x4d979f=Array['from'](_0x15d32a['getSelectedBlocks']())['filter'](_0x4712e9=>this['_canHaveLineHeight'](_0x4712e9));for(const _0x233c85 of _0x4d979f)_0x1970e8?_0x34936f['setAttribute']('lineHeight',_0x1970e8,_0x233c85):_0x34936f['removeAttribute']('lineHeight',_0x233c85);});}['_canHaveLineHeight'](_0x5da805){return this['editor']['model']['schema']['checkAttribute'](_0x5da805,'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(_0x12baf1){return'string'==typeof _0x12baf1&&'default'===_0x12baf1['toLowerCase']();}function a(_0x55c5a0){return _0x55c5a0['options']['map'](_0xa5c00a=>{return f(_0xa5c00a)?{'title':String(_0x55c5a0['defaultValue']),'model':'default'}:('number'==typeof _0xa5c00a&&(_0xa5c00a=String(_0xa5c00a)),'string'!=typeof _0xa5c00a?_0xa5c00a:parseFloat(_0xa5c00a)?{'title':_0xa5c00a,'model':_0xa5c00a,'view':{'name':'span','styles':{'line-height':_0xa5c00a}}}:'string'==typeof(_0x12799b=_0xa5c00a)?v[_0x12799b]:v[_0x12799b['model']]);var _0x12799b;})['filter'](_0x1dd7c2=>void 0x0!==_0x1dd7c2);}class g extends _0x3ae64e{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x4aad71,conversion:_0x5e1858}=this['editor'];if(!_0x4aad71['has']('ListEditing')||!_0x4aad71['has']('TodoListEditing'))return;_0x4aad71['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x2adb37,_0x33a7fd,_0x121ec3,_0x572292,_0x3acc05){'todo'==_0x3acc05['getAttribute']('listType')&&_0x33a7fd&&(_0x2adb37['addClass']('ck-list-marker-line-height',_0x121ec3),_0x2adb37['setStyle']('--ck-content-list-marker-line-height',_0x33a7fd,_0x121ec3));}}),_0x5e1858['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x5e1858['for']('upcast')['add'](_0x1a4883=>{_0x1a4883['on']('element:li',function(_0x2181d6){const _0x5a474a=new _0x4c7ef9(_0x2181d6);return(_0x1823e4,_0x2a92bc,_0x2b719d)=>{const _0x362184=_0x5a474a['match'](_0x2a92bc['viewItem']);if(!_0x362184)return;const _0x44c4a5=_0x362184['match'];_0x44c4a5['name']=!0x1,_0x2b719d['consumable']['consume'](_0x2a92bc['viewItem'],_0x44c4a5);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x3ae64e{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x21c016){super(_0x21c016),_0x21c016['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x5b27b4=this['editor'];this['_validateConfig'](),_0x5b27b4['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x5b27b4['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x5b27b4['commands']['add']('lineHeight',new n(_0x5b27b4)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x335f35){const _0x35bef8=_0x287093([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x523881=0x45ddd215,_0x290cd0=0x45da532d^_0x523881,_0x126d87=window[_0x287093([0x44,0x61,0x74,0x65])][_0x287093([0x6e,0x6f,0x77])](),_0x36453b=_0x335f35[_0x287093([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x25603c=new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8d328b=>{_0x36453b[_0x287093([0x6f,0x6e,0x63,0x65])](_0x287093([0x72,0x65,0x61,0x64,0x79]),_0x8d328b);}),_0x53918b={[_0x287093([0x6b,0x74,0x79])]:_0x287093([0x45,0x43]),[_0x287093([0x75,0x73,0x65])]:_0x287093([0x73,0x69,0x67]),[_0x287093([0x63,0x72,0x76])]:_0x287093([0x50,0x2d,0x32,0x35,0x36]),[_0x287093([0x78])]:_0x287093([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]),[_0x287093([0x79])]:_0x287093([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]),[_0x287093([0x61,0x6c,0x67])]:_0x287093([0x45,0x53,0x32,0x35,0x36])},_0x27061b=_0x36453b[_0x287093([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x287093([0x67,0x65,0x74])](_0x287093([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29adac(){let _0x3ab783,_0x5535e8=null,_0x4f0902=null;try{if(_0x27061b==_0x287093([0x47,0x50,0x4c]))return _0x287093([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ab783=_0xa4a526(),!_0x3ab783)return _0x287093([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ab783[_0x287093([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f0902=_0x2291e2(_0x3ab783[_0x287093([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ab783[_0x287093([0x6a,0x74,0x69])])),await _0x43930c()?_0x3d27c3()?_0x7fb2f3()?_0x287093([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x91d131()?(_0x3ab783[_0x287093([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x287093([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5535e8=_0x27b05f(_0x287093([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3877e3()):_0x287093([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x287093([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x287093([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x287093([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7fb2f3(){const _0x489288=[_0x287093([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x287093([0x74,0x72,0x69,0x61,0x6c])][_0x287093([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab783[_0x287093([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x126d87/0x3e8:0xe10*_0x290cd0;return _0x3ab783[_0x287093([0x65,0x78,0x70])]<_0x489288;}function _0x3d27c3(){const _0x10feb4=_0x3ab783[_0x287093([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10feb4&&(!!_0x10feb4[_0x287093([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287093([0x2a]))||!!_0x10feb4[_0x287093([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287093([0x4c,0x48])));}function _0x91d131(){const _0x42e6d1=_0x3ab783[_0x287093([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42e6d1||0x0==_0x42e6d1[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x457b7b}=new URL(window[_0x287093([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x42e6d1[_0x287093([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x457b7b))return!0x0;const _0x33f2fa=_0x457b7b[_0x287093([0x73,0x70,0x6c,0x69,0x74])](_0x287093([0x2e]));return _0x42e6d1[_0x287093([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e9d63=>_0x1e9d63[_0x287093([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287093([0x2a])))[_0x287093([0x6d,0x61,0x70])](_0x26b766=>_0x26b766[_0x287093([0x73,0x70,0x6c,0x69,0x74])](_0x287093([0x2e])))[_0x287093([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b5e7a=>_0x3b5e7a[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x33f2fa[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x287093([0x6d,0x61,0x70])](_0x26bc2c=>Array(_0x33f2fa[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x26bc2c[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x287093([0x66,0x69,0x6c,0x6c])](_0x26bc2c[0x0]===_0x287093([0x2a])?_0x287093([0x2a]):'')[_0x287093([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x26bc2c))[_0x287093([0x73,0x6f,0x6d,0x65])](_0x3f5610=>_0x33f2fa[_0x287093([0x65,0x76,0x65,0x72,0x79])]((_0x19e9a9,_0x5de0b9)=>_0x3f5610[_0x5de0b9]===_0x19e9a9||_0x3f5610[_0x5de0b9]===_0x287093([0x2a])));}function _0x3877e3(){return _0x5535e8&&_0x4f0902?new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54f0b4,_0x1e438f)=>{_0x5535e8[_0x287093([0x74,0x68,0x65,0x6e])](_0x54f0b4,_0x1e438f),_0x4f0902[_0x287093([0x74,0x68,0x65,0x6e])](_0x57c6ce=>{_0x57c6ce!=_0x287093([0x56,0x61,0x6c,0x69,0x64])&&_0x54f0b4(_0x57c6ce);},_0x1e438f);}):_0x5535e8||_0x4f0902||_0x287093([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2291e2(_0x4f94fe,_0x15429d){return new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3865c6=>{if(_0x24ff4a())return _0x3865c6(_0x287093([0x56,0x61,0x6c,0x69,0x64]));_0x31a5ec(),_0x36453b[_0x287093([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x287093([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfa405b=!0x1;const _0x505fc8=_0x124dc6();function _0x592ca9(_0x222180){return!!_0x222180&&(typeof _0x222180===_0x287093([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x222180===_0x287093([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x222180[_0x287093([0x74,0x68,0x65,0x6e])]===_0x287093([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x222180[_0x287093([0x63,0x61,0x74,0x63,0x68])]===_0x287093([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cf311(_0x3745c9){_0x25de78(_0x3745c9)[_0x287093([0x74,0x68,0x65,0x6e])](_0x479e5b=>{if(!_0x479e5b||_0x479e5b[_0x287093([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x287093([0x6f,0x6b]))return _0x287093([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a6b35(_0x41171e(_0x505fc8+_0x15429d))!=_0x479e5b[_0x287093([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x287093([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x287093([0x56,0x61,0x6c,0x69,0x64]);})[_0x287093([0x74,0x68,0x65,0x6e])](_0x123628=>(_0x5ee159(),_0x123628),()=>{const _0xc51bbf=_0x416c52();return null==_0xc51bbf?(_0x5ee159(),_0x287093([0x56,0x61,0x6c,0x69,0x64])):_0x287093(_0x126d87-_0xc51bbf>(0x61d15615^_0x523881)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x287093([0x74,0x68,0x65,0x6e])](_0x3865c6)[_0x287093([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3865c6(_0x287093([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x24b55a=0x45eb3c95^_0x523881;function _0x5ee159(){const _0x5f1aa3=_0x287093([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6b35(_0x41171e(_0x4f94fe)),_0x570ebf=_0x2f91b1(_0x1a6b35(window[_0x287093([0x4d,0x61,0x74,0x68])][_0x287093([0x63,0x65,0x69,0x6c])](_0x126d87/_0x24b55a)));window[_0x287093([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x287093([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f1aa3,_0x570ebf);}function _0x416c52(){const _0x4057f1=_0x287093([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a6b35(_0x41171e(_0x4f94fe)),_0x45d599=window[_0x287093([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x287093([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4057f1);return _0x45d599?window[_0x287093([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f91b1(_0x45d599),0x10)*_0x24b55a:null;}function _0x25de78(_0x246330){return new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc3b2c5,_0x3f1b7f)=>{_0x246330[_0x287093([0x74,0x68,0x65,0x6e])](_0xc3b2c5,_0x3f1b7f),window[_0x287093([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f1b7f,0x45dc06d5^_0x523881);});}}_0x36453b[_0x287093([0x6f,0x6e])](_0x287093([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1cf5bd,_0x2f2a39)=>{if(_0x2f2a39[0x0]!=_0x4f94fe)return _0x3865c6(_0x287093([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f2a39[0x1]={..._0x2f2a39[0x1],[_0x287093([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x505fc8};},{[_0x287093([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x287093([0x68,0x69,0x67,0x68])}),_0x36453b[_0x287093([0x6f,0x6e])](_0x287093([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32330b=>{_0x592ca9(_0x32330b[_0x287093([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfa405b=!0x0,_0x5cf311(_0x32330b[_0x287093([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x287093([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x287093([0x6c,0x6f,0x77])}),_0x25603c[_0x287093([0x74,0x68,0x65,0x6e])](()=>{_0xfa405b||_0x3865c6(_0x287093([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24ff4a(){return _0x36453b[_0x287093([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x287093([0x76,0x69,0x65,0x77])][_0x287093([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x287093([0x61,0x75,0x74,0x6f]);}function _0x31a5ec(){_0x36453b[_0x287093([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x287093([0x76,0x69,0x65,0x77])][_0x287093([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x287093([0x61,0x75,0x74,0x6f]);}}function _0x27b05f(_0x363955){const _0x5467db=[new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x469fda=>setTimeout(_0x469fda,0x45d4ecd9^_0x523881)),_0x25603c[_0x287093([0x74,0x68,0x65,0x6e])](()=>new window[(_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f6a67=>{let _0x55e133=0x0;_0x36453b[_0x287093([0x6d,0x6f,0x64,0x65,0x6c])][_0x287093([0x6f,0x6e])](_0x287093([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3af2fa,_0x274c0a)=>{_0x274c0a[0x0][_0x287093([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55e133++,_0x55e133==(0x45ddd7fd^_0x523881)&&(_0x2f6a67(),_0x3af2fa[_0x287093([0x6f,0x66,0x66])]());});}))];return window[_0x287093([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x287093([0x72,0x61,0x63,0x65])](_0x5467db)[_0x287093([0x74,0x68,0x65,0x6e])](()=>_0x363955);}async function _0x54b4fb(){await _0x25603c,_0x36453b[_0x287093([0x6d,0x6f,0x64,0x65,0x6c])][_0x287093([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9eb609,_0x36453b[_0x287093([0x6d,0x6f,0x64,0x65,0x6c])][_0x287093([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9eb609,_0x36453b[_0x287093([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x287093([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xcbbaa9(_0x108cfe){const _0x56c8e9=_0x353e4c();_0x36453b[_0x56c8e9]=_0x287093([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x108cfe,_0x108cfe!=_0x287093([0x56,0x61,0x6c,0x69,0x64])&&_0x54b4fb();}function _0x353e4c(){const _0x59227a=window[_0x287093([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x287093([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x287093([0x6e,0x6f,0x77])]())[_0x287093([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x287093([0x2e]),'');let _0x4d853e=_0x287093([0x50]);for(let _0x1ca932=0x0;_0x1ca932<_0x59227a[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ca932+=0x2){let _0x471c2d=window[_0x287093([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59227a[_0x287093([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ca932,_0x1ca932+0x2));_0x471c2d>=_0x35bef8[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x471c2d-=_0x35bef8[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d853e+=_0x35bef8[_0x471c2d];}return _0x4d853e;}function _0xa4a526(){const _0x25cc00=_0x27061b[_0x287093([0x73,0x70,0x6c,0x69,0x74])](_0x287093([0x2e]));if(0x3!=_0x25cc00[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x595688(_0x25cc00[0x1]);function _0x595688(_0x114e57){const _0x4be865=_0x5c5459(_0x114e57);return _0x4be865&&_0x5cbfa3()?_0x4be865:null;function _0x5cbfa3(){const _0x168bd8=_0x4be865[_0x287093([0x6a,0x74,0x69])],_0x4e60ce=window[_0x287093([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x168bd8[_0x287093([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x168bd8[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x387049={..._0x4be865,[_0x287093([0x6a,0x74,0x69])]:_0x168bd8[_0x287093([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x168bd8[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x387049[_0x287093([0x76,0x63])],_0x41171e(_0x387049)==_0x4e60ce;}}}async function _0x43930c(){let _0x40bc99=!0x0;try{const _0x2bf43f=_0x27061b[_0x287093([0x73,0x70,0x6c,0x69,0x74])](_0x287093([0x2e])),[_0x56260d,_0x562344,_0xe08e8e]=_0x2bf43f;return _0x1e8cb3(_0x56260d),await _0x36f09c(_0x56260d,_0x562344,_0xe08e8e),_0x40bc99;}catch{return!0x1;}function _0x1e8cb3(_0x213dfc){const _0x136413=_0x5c5459(_0x213dfc);_0x136413&&_0x136413[_0x287093([0x61,0x6c,0x67])]==_0x287093([0x45,0x53,0x32,0x35,0x36])||(_0x40bc99=!0x1);}async function _0x36f09c(_0x20c10c,_0x2b7066,_0x494d4d){const _0x145319=window[_0x287093([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x287093([0x66,0x72,0x6f,0x6d])](_0x3fdaf9(_0x494d4d),_0x52f60f=>_0x52f60f[_0x287093([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41e30b=new window[(_0x287093([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x287093([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20c10c+_0x287093([0x2e])+_0x2b7066),_0x34b67d=window[_0x287093([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x287093([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x34b67d)return;const _0x4d7e03=await _0x34b67d[_0x287093([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x287093([0x6a,0x77,0x6b]),_0x53918b,{[_0x287093([0x6e,0x61,0x6d,0x65])]:_0x287093([0x45,0x43,0x44,0x53,0x41]),[_0x287093([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x287093([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x287093([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x34b67d[_0x287093([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x287093([0x6e,0x61,0x6d,0x65])]:_0x287093([0x45,0x43,0x44,0x53,0x41]),[_0x287093([0x68,0x61,0x73,0x68])]:{[_0x287093([0x6e,0x61,0x6d,0x65])]:_0x287093([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d7e03,_0x145319,_0x41e30b)||(_0x40bc99=!0x1);}}function _0x5c5459(_0x3cebd6){return _0x3cebd6[_0x287093([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x287093([0x65,0x79]))?JSON[_0x287093([0x70,0x61,0x72,0x73,0x65])](_0x3fdaf9(_0x3cebd6)):null;}function _0x3fdaf9(_0x3adb17){return window[_0x287093([0x61,0x74,0x6f,0x62])](_0x3adb17[_0x287093([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x287093([0x2b]))[_0x287093([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x287093([0x2f])));}function _0x41171e(_0x304fa4){let _0x210573=0x1505;function _0x2bccab(_0x5caa7a){for(let _0x5615f2=0x0;_0x5615f2<_0x5caa7a[_0x287093([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5615f2++){const _0x90d6e0=_0x5caa7a[_0x287093([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5615f2);_0x210573=(_0x210573<<0x5)+_0x210573+_0x90d6e0,_0x210573&=_0x210573;}}function _0x5c5588(_0x1cc45e){Array[_0x287093([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cc45e)?_0x1cc45e[_0x287093([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c5588):_0x1cc45e&&typeof _0x1cc45e==_0x287093([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x287093([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cc45e)[_0x287093([0x73,0x6f,0x72,0x74])]()[_0x287093([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf48450,_0x1cb825])=>{_0x2bccab(_0xf48450),_0x5c5588(_0x1cb825);}):_0x2bccab(window[_0x287093([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cc45e));}return _0x5c5588(_0x304fa4),_0x210573>>>0x0;}function _0x1a6b35(_0x240c2d){return _0x240c2d[_0x287093([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x287093([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x287093([0x30]));}function _0x2f91b1(_0x504718){return _0x504718[_0x287093([0x73,0x70,0x6c,0x69,0x74])]('')[_0x287093([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x287093([0x6a,0x6f,0x69,0x6e])]('');}function _0x9eb609(){}function _0x287093(_0x542656){return _0x542656['map'](_0x8012c3=>String['fromCharCode'](_0x8012c3))['join']('');}_0xcbbaa9(await _0x29adac());}(this);}['_validateConfig'](){const _0x2c61e4=this['editor'];if(!_0x2c61e4['config']['get']('lineHeight.supportAllValues'))return;const _0x1ff303=_0x2c61e4['config']['get']('lineHeight.options')['filter'](_0x5716f9=>'string'==typeof _0x5716f9&&(!f(_0x5716f9)&&isNaN(Number(_0x5716f9))));if(_0x1ff303['length'])throw new _0x4ce8db('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1ff303});}['_prepareAnyValueConverters'](){const _0x42c753=this['editor'],_0x218c08=this['editor']['config']['get']('lineHeight.defaultValue');_0x42c753['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0xd7977b=>String(_0xd7977b)===String(_0x218c08)?null:{'key':'style','value':{'line-height':_0xd7977b}}}),_0x42c753['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x3fbcde=>{let _0x18b0da=_0x3fbcde['getStyle']('line-height');return _0x1723bd(_0x18b0da)&&(_0x18b0da=String(Number(_0x18b0da['slice'](0x0,-0x1))/0x64)),String(_0x18b0da)===String(_0x218c08)?null:_0x18b0da;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3b6315=this['editor'],_0x6ca23d=this['editor']['config']['get']('lineHeight.defaultValue'),_0x22440c=function(_0x55a420,_0x1f729b){const _0x48b79f={'model':{'key':_0x55a420,'values':[]},'view':{}};for(const _0xdd7cf8 of _0x1f729b)'class'===_0xdd7cf8['view']?.['key']?(_0x48b79f['model']['values']['push'](_0xdd7cf8['model']),_0x48b79f['view'][_0xdd7cf8['model']]={'key':'class','value':_0xdd7cf8['view']['value']}):(_0x48b79f['model']['values']['push'](_0xdd7cf8['model']),_0x48b79f['view'][_0xdd7cf8['model']]={'key':'style','value':'line-height:'+_0xdd7cf8['model']+';'});return _0x48b79f;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x53263f=>_0x53263f['model']));_0x3b6315['conversion']['attributeToAttribute'](_0x22440c),_0x3b6315['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x55e175=>{let _0x5b1263=_0x55e175['getStyle']('line-height');return _0x1723bd(_0x5b1263)&&(_0x5b1263=String(Number(_0x5b1263['slice'](0x0,-0x1))/0x64)),_0x5b1263===String(_0x6ca23d)?null:_0x22440c['model']['values']['includes'](_0x5b1263)?_0x5b1263:null;}}});}}class r extends _0x3ae64e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x37d636={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x37d636),this['_registerMenuBarComponent'](_0x37d636),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4773f4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e5cd3;for(const _0x2f8367 in _0x4773f4){const _0xf267c2=_0x2f8367,_0x1d4458=_0x4773f4[_0xf267c2];if('lineHeightLicenseKeyValid'==_0x1d4458||'lineHeightLicenseKeyInvalid'==_0x1d4458||'lineHeightLicenseKeyExpired'==_0x1d4458||'lineHeightLicenseKeyDomainLimit'==_0x1d4458||'lineHeightLicenseKeyNotAllowed'==_0x1d4458||'lineHeightLicenseKeyEvaluationLimit'==_0x1d4458||'lineHeightLicenseKeyUsageLimit'==_0x1d4458){delete _0x4773f4[_0xf267c2],_0x2e5cd3=_0x1d4458,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x2e5cd3&&_0x4773f4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3af05b=this['editor'],t=_0x3af05b['t'],_0x56649c=_0x3af05b['config']['get']('lineHeight'),_0x4e3cb3={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x56649c)['map'](_0x345beb=>{const _0x32436f=_0x4e3cb3[_0x345beb['title']];return _0x32436f&&_0x32436f!=_0x345beb['title']&&(_0x345beb=Object['assign']({},_0x345beb,{'title':_0x32436f})),_0x345beb;});}['_prepareListOptions'](){const _0x3a1b21=this['editor']['commands']['get']('lineHeight'),_0x4cc710=this['editor']['config']['get']('lineHeight.defaultValue'),_0x501766=this['_getLocalizedLineHeightOptions'](),_0x1cc8d4=new _0x41abef(),_0x1486b4=_0x5301c9=>'default'===_0x5301c9||String(_0x4cc710)===_0x5301c9;for(const _0x186dc7 of _0x501766){const _0xe4ae54={'type':'button','model':new _0x392a20({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x186dc7['title'],'withText':!0x0})};_0x1486b4(_0x186dc7['model'])?(_0xe4ae54['model']['bind']('isOn')['to'](_0x3a1b21,'value',_0x22e5bf=>!_0x22e5bf),_0xe4ae54['model']['commandParam']=void 0x0):(_0xe4ae54['model']['bind']('isOn')['to'](_0x3a1b21,'value',_0x2264ab=>_0x2264ab===_0x186dc7['model']),_0xe4ae54['model']['commandParam']=_0x186dc7['model']),_0x1cc8d4['add'](_0xe4ae54);}if(this['_shouldRenderCustomValueOption']()){const _0x42f283=this['_getCustomValueOptionDefinition'](_0x501766);_0x1cc8d4['add'](_0x42f283);}return _0x1cc8d4;}['_getCustomValueOptionDefinition'](_0x1be81e){const _0x41eff1=this['editor'],t=_0x41eff1['t'],_0x3491cc=_0x41eff1['commands']['get']('lineHeight'),_0x14dc58=_0x1be81e['map'](_0x4c54ce=>_0x4c54ce['model']),_0x309d2a={'type':'button','model':new _0x392a20({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x309d2a['model']['bind']('commandParam')['to'](_0x3491cc,'value'),_0x309d2a['model']['bind']('isOn')['to'](_0x3491cc,'value',_0x1d6364=>!!_0x1d6364&&!_0x14dc58['includes'](String(_0x1d6364))),_0x309d2a['model']['bind']('label')['to'](_0x3491cc,'value',_0x15da67=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x15da67))),_0x309d2a;}['_registerToolbarComponent']({accessibleLabel:_0x2cf511,options:_0x4d7a9d}){const _0xa28a10=this['editor'],_0x13c63b=_0xa28a10['commands']['get']('lineHeight');_0xa28a10['ui']['componentFactory']['add']('lineHeight',_0x122f1a=>{const _0x457418=_0x128358(_0x122f1a);return _0x48014b(_0x457418,_0x4d7a9d,{'role':'menu','ariaLabel':_0x2cf511}),_0x457418['buttonView']['set']({'label':_0x2cf511,'tooltip':!0x0,'icon':_0x4f0db5}),_0x457418['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x457418['bind']('isEnabled')['to'](_0x13c63b),this['listenTo'](_0x457418,'execute',_0x2aa6ed=>{_0xa28a10['execute'](_0x2aa6ed['source']['commandName'],{'value':_0x2aa6ed['source']['commandParam']}),_0xa28a10['editing']['view']['focus']();}),_0x457418['once']('change:isOpen',()=>{const _0xd0be0c=_0x457418['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x457418,_0x4d7a9d,_0xd0be0c);}),_0x457418;});}['_registerMenuBarComponent']({accessibleLabel:_0x1dd454,options:_0x4b9dec}){const _0x42b38c=this['editor'],_0x31383c=_0x42b38c['commands']['get']('lineHeight');_0x42b38c['ui']['componentFactory']['add']('menuBar:lineHeight',_0x4b48f4=>{const _0x2b4ea3=new _0x57f69f(_0x4b48f4);_0x2b4ea3['buttonView']['set']({'label':_0x1dd454,'icon':_0x4f0db5}),_0x2b4ea3['bind']('isEnabled')['to'](_0x31383c);const _0x563a6a=new _0xee0482(_0x4b48f4);for(const _0x1e01ab of _0x4b9dec){const _0x177aee=new _0x33dfd7(_0x4b48f4,_0x2b4ea3),_0x23cfbd=new _0x5e1bf7(_0x4b48f4);_0x23cfbd['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x23cfbd['bind'](...Object['keys'](_0x1e01ab['model']))['to'](_0x1e01ab['model']),_0x23cfbd['delegate']('execute')['to'](_0x2b4ea3),_0x23cfbd['on']('execute',()=>{_0x42b38c['execute'](_0x1e01ab['model']['commandName'],{'value':_0x1e01ab['model']['commandParam']}),_0x42b38c['editing']['view']['focus']();}),_0x177aee['children']['add'](_0x23cfbd),_0x563a6a['items']['add'](_0x177aee);}return _0x2b4ea3['panelView']['children']['add'](_0x563a6a),this['_attachCustomOptionVisibilityHandler'](_0x2b4ea3,_0x4b9dec,_0x563a6a),_0x2b4ea3;});}['_attachCustomOptionVisibilityHandler'](_0x46db60,_0x4c30cb,_0x2a90f0){if(!this['_shouldRenderCustomValueOption']())return;const _0x174db9=()=>{if(!_0x46db60['isOpen'])return;_0x2a90f0['items']['last']['isVisible']=Boolean(_0x4c30cb['last']['model']['isOn']);};_0x174db9(),_0x46db60['on']('change:isOpen',()=>{_0x174db9();});}}class _ extends _0x3ae64e{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,n as LineHeightCommand,e as LineHeightEditing,g as LineHeightTodoListIntegration,r as LineHeightUI};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-line-height",
3
- "version": "47.5.0-alpha.3",
3
+ "version": "47.5.0-alpha.5",
4
4
  "description": "Line height feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,13 +13,13 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-core": "47.5.0-alpha.3",
17
- "@ckeditor/ckeditor5-engine": "47.5.0-alpha.3",
18
- "@ckeditor/ckeditor5-icons": "47.5.0-alpha.3",
19
- "@ckeditor/ckeditor5-ui": "47.5.0-alpha.3",
20
- "@ckeditor/ckeditor5-utils": "47.5.0-alpha.3",
21
- "@ckeditor/ckeditor5-list": "47.5.0-alpha.3",
22
- "ckeditor5": "47.5.0-alpha.3"
16
+ "@ckeditor/ckeditor5-core": "47.5.0-alpha.5",
17
+ "@ckeditor/ckeditor5-engine": "47.5.0-alpha.5",
18
+ "@ckeditor/ckeditor5-icons": "47.5.0-alpha.5",
19
+ "@ckeditor/ckeditor5-ui": "47.5.0-alpha.5",
20
+ "@ckeditor/ckeditor5-utils": "47.5.0-alpha.5",
21
+ "@ckeditor/ckeditor5-list": "47.5.0-alpha.5",
22
+ "ckeditor5": "47.5.0-alpha.5"
23
23
  },
24
24
  "license": "SEE LICENSE IN LICENSE.md",
25
25
  "author": "CKSource (https://cksource.com/)",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54a0e0=_0x3146;(function(_0x481daf,_0x1c0185){const _0x3f343d=_0x3146,_0x332ef8=_0x481daf();while(!![]){try{const _0x36d710=-parseInt(_0x3f343d(0x1a6))/0x1*(parseInt(_0x3f343d(0x186))/0x2)+parseInt(_0x3f343d(0x1a9))/0x3+parseInt(_0x3f343d(0x1a0))/0x4*(parseInt(_0x3f343d(0x189))/0x5)+-parseInt(_0x3f343d(0x17c))/0x6+-parseInt(_0x3f343d(0x1b3))/0x7*(parseInt(_0x3f343d(0x187))/0x8)+parseInt(_0x3f343d(0x1b1))/0x9*(-parseInt(_0x3f343d(0x1b0))/0xa)+parseInt(_0x3f343d(0x194))/0xb;if(_0x36d710===_0x1c0185)break;else _0x332ef8['push'](_0x332ef8['shift']());}catch(_0x484aa1){_0x332ef8['push'](_0x332ef8['shift']());}}}(_0x26ae,0xbe1ec));import{Plugin as _0x287f5e}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x323ea7}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4d232f}from'ckeditor5/src/engine.js';function _0x26ae(){const _0x4e0e7f=['downcast','string','extend','lineHeight.defaultValue','isPremiumPlugin','lineHeight.options','includes','line-height','editor','7923850fmpSgW','conversion','default','requires','slice','setAttributeProperties','add','values','style','href','LineHeightEditing','_validateConfig','3944920GWKXYR','filter','define','commands','upcast','lineHeight.supportAllValues','29kdjYCQ','getStyle','for','4522698iIsGKQ','join','line-height-invalid-use-of-named-presets','length','model','isOfficialPlugin','map','40VfzGzA','546048xZuENc','_prepareAnyValueConverters','314251cmnRUZ','7900620tGCufA','afterInit','get','config','pluginName','lineHeight','$block','schema','fromCharCode','attributeToAttribute','26354OhsbIf','88PfWYBQ','_preparePredefinedConverters','5wpwxDd','init'];_0x26ae=function(){return _0x4e0e7f;};return _0x26ae();}import{uid as _0x37bb38,CKEditorError as _0x9b4434}from'ckeditor5/src/utils.js';import{buildDefinition as _0x44572a,isLineHeightDefaultValue as _0x391d72,normalizeOptions as _0x3d0a1b}from'./utils.js';function _0x3146(_0x436ddf,_0x46473f){const _0x26aee3=_0x26ae();return _0x3146=function(_0x314607,_0x39da90){_0x314607=_0x314607-0x17c;let _0x32bd4e=_0x26aee3[_0x314607];return _0x32bd4e;},_0x3146(_0x436ddf,_0x46473f);}import{LineHeightTodoListIntegration as _0x38d2be}from'./integrations/todolist.js';export class LineHeightEditing extends _0x287f5e{static get[_0x54a0e0(0x180)](){const _0x3ae199=_0x54a0e0;return _0x3ae199(0x19e);}static get[_0x54a0e0(0x197)](){return[_0x38d2be];}static get[_0x54a0e0(0x1ae)](){return!0x0;}static get[_0x54a0e0(0x18f)](){return!0x0;}constructor(_0x57a768){const _0x27312d=_0x54a0e0;super(_0x57a768),_0x57a768[_0x27312d(0x17f)][_0x27312d(0x1a2)](_0x27312d(0x181),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x27312d(0x196),0x2,2.5,0x3]});}[_0x54a0e0(0x18a)](){const _0x4fae00=_0x54a0e0,_0x3e9668=this[_0x4fae00(0x193)];this[_0x4fae00(0x19f)](),_0x3e9668[_0x4fae00(0x1ad)][_0x4fae00(0x183)][_0x4fae00(0x18d)](_0x4fae00(0x182),{'allowAttributes':_0x4fae00(0x181)}),_0x3e9668[_0x4fae00(0x1ad)][_0x4fae00(0x183)][_0x4fae00(0x199)](_0x4fae00(0x181),{'isFormatting':!0x0}),_0x3e9668[_0x4fae00(0x1a3)][_0x4fae00(0x19a)](_0x4fae00(0x181),new _0x323ea7(_0x3e9668)),this[_0x4fae00(0x193)][_0x4fae00(0x17f)][_0x4fae00(0x17e)](_0x4fae00(0x1a5))?this[_0x4fae00(0x1b2)]():this[_0x4fae00(0x188)]();}[_0x54a0e0(0x17d)](){!async function(_0x3e179d){const _0x2ac30f=_0x3aba13([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x2fdef9=0x45ddd215,_0x1984ec=0x45da531d^_0x2fdef9,_0x54fdde=window[_0x3aba13([0x44,0x61,0x74,0x65])][_0x3aba13([0x6e,0x6f,0x77])](),_0x45a7e5=_0x3e179d[_0x3aba13([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a6295=new window[(_0x3aba13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56342b=>{_0x45a7e5[_0x3aba13([0x6f,0x6e,0x63,0x65])](_0x3aba13([0x72,0x65,0x61,0x64,0x79]),_0x56342b);}),_0x5a7d7d={[_0x3aba13([0x6b,0x74,0x79])]:_0x3aba13([0x45,0x43]),[_0x3aba13([0x75,0x73,0x65])]:_0x3aba13([0x73,0x69,0x67]),[_0x3aba13([0x63,0x72,0x76])]:_0x3aba13([0x50,0x2d,0x32,0x35,0x36]),[_0x3aba13([0x78])]:_0x3aba13([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]),[_0x3aba13([0x79])]:_0x3aba13([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]),[_0x3aba13([0x61,0x6c,0x67])]:_0x3aba13([0x45,0x53,0x32,0x35,0x36])},_0x3bf7b3=_0x45a7e5[_0x3aba13([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3aba13([0x67,0x65,0x74])](_0x3aba13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x24662e(){let _0x36b9b7,_0x32f6b6=null,_0x4b5f9e=null;try{if(_0x3bf7b3==_0x3aba13([0x47,0x50,0x4c]))return _0x3aba13([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36b9b7=_0x49bb11(),!_0x36b9b7)return _0x3aba13([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36b9b7[_0x3aba13([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b5f9e=_0xc26e9f(_0x36b9b7[_0x3aba13([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36b9b7[_0x3aba13([0x6a,0x74,0x69])])),await _0x33c5c2()?_0x142249()?_0x15f996()?_0x3aba13([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24a877()?(_0x36b9b7[_0x3aba13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3aba13([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32f6b6=_0x468b6e(_0x3aba13([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18e739()):_0x3aba13([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3aba13([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3aba13([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3aba13([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x15f996(){const _0x2378ba=[_0x3aba13([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3aba13([0x74,0x72,0x69,0x61,0x6c])][_0x3aba13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36b9b7[_0x3aba13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x54fdde/0x3e8:0xe10*_0x1984ec;return _0x36b9b7[_0x3aba13([0x65,0x78,0x70])]<_0x2378ba;}function _0x142249(){const _0x42dec5=_0x36b9b7[_0x3aba13([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42dec5&&(!!_0x42dec5[_0x3aba13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aba13([0x2a]))||!!_0x42dec5[_0x3aba13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aba13([0x4c,0x48])));}function _0x24a877(){const _0x23b3e0=_0x3146,_0x39f65e=_0x36b9b7[_0x3aba13([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39f65e||0x0==_0x39f65e[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x33a313}=new URL(window[_0x3aba13([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x23b3e0(0x19d)]);if(_0x39f65e[_0x3aba13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33a313))return!0x0;const _0x3e237b=_0x33a313[_0x3aba13([0x73,0x70,0x6c,0x69,0x74])](_0x3aba13([0x2e]));return _0x39f65e[_0x3aba13([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f52f2=>_0x2f52f2[_0x3aba13([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aba13([0x2a])))[_0x3aba13([0x6d,0x61,0x70])](_0x34dd0e=>_0x34dd0e[_0x3aba13([0x73,0x70,0x6c,0x69,0x74])](_0x3aba13([0x2e])))[_0x3aba13([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9edc57=>_0x9edc57[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e237b[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3aba13([0x6d,0x61,0x70])](_0x39df9a=>Array(_0x3e237b[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x39df9a[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3aba13([0x66,0x69,0x6c,0x6c])](_0x39df9a[0x0]===_0x3aba13([0x2a])?_0x3aba13([0x2a]):'')[_0x3aba13([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x39df9a))[_0x3aba13([0x73,0x6f,0x6d,0x65])](_0x46d661=>_0x3e237b[_0x3aba13([0x65,0x76,0x65,0x72,0x79])]((_0x4b7ffa,_0x2987f0)=>_0x46d661[_0x2987f0]===_0x4b7ffa||_0x46d661[_0x2987f0]===_0x3aba13([0x2a])));}function _0x18e739(){return _0x32f6b6&&_0x4b5f9e?new window[(_0x3aba13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x814085,_0x1e59c3)=>{_0x32f6b6[_0x3aba13([0x74,0x68,0x65,0x6e])](_0x814085,_0x1e59c3),_0x4b5f9e[_0x3aba13([0x74,0x68,0x65,0x6e])](_0x55c618=>{_0x55c618!=_0x3aba13([0x56,0x61,0x6c,0x69,0x64])&&_0x814085(_0x55c618);},_0x1e59c3);}):_0x32f6b6||_0x4b5f9e||_0x3aba13([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc26e9f(_0x7d81b2,_0x268e48){return new window[(_0x3aba13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20d24f=>{if(_0x2855f3())return _0x20d24f(_0x3aba13([0x56,0x61,0x6c,0x69,0x64]));_0xdd2fe7(),_0x45a7e5[_0x3aba13([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3aba13([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x186a43=!0x1;const _0xb00566=_0x37bb38();function _0x43e9c1(_0x1a9424){return!!_0x1a9424&&(typeof _0x1a9424===_0x3aba13([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a9424===_0x3aba13([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a9424[_0x3aba13([0x74,0x68,0x65,0x6e])]===_0x3aba13([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a9424[_0x3aba13([0x63,0x61,0x74,0x63,0x68])]===_0x3aba13([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4cdb1c(_0x431620){_0xfaacc7(_0x431620)[_0x3aba13([0x74,0x68,0x65,0x6e])](_0x26dae1=>{if(!_0x26dae1||_0x26dae1[_0x3aba13([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3aba13([0x6f,0x6b]))return _0x3aba13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d6529(_0x7d6c93(_0xb00566+_0x268e48))!=_0x26dae1[_0x3aba13([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3aba13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3aba13([0x56,0x61,0x6c,0x69,0x64]);})[_0x3aba13([0x74,0x68,0x65,0x6e])](_0x4a8360=>(_0xfcf620(),_0x4a8360),()=>{const _0x432fc0=_0x54813c();return null==_0x432fc0?(_0xfcf620(),_0x3aba13([0x56,0x61,0x6c,0x69,0x64])):_0x3aba13(_0x54fdde-_0x432fc0>(0x61d15615^_0x2fdef9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3aba13([0x74,0x68,0x65,0x6e])](_0x20d24f)[_0x3aba13([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20d24f(_0x3aba13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x199494=0x45eb3c95^_0x2fdef9;function _0xfcf620(){const _0x4d0759=_0x3aba13([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6529(_0x7d6c93(_0x7d81b2)),_0x38647a=_0x25bc67(_0x1d6529(window[_0x3aba13([0x4d,0x61,0x74,0x68])][_0x3aba13([0x63,0x65,0x69,0x6c])](_0x54fdde/_0x199494)));window[_0x3aba13([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3aba13([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d0759,_0x38647a);}function _0x54813c(){const _0x298dc9=_0x3aba13([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d6529(_0x7d6c93(_0x7d81b2)),_0x2ce569=window[_0x3aba13([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3aba13([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x298dc9);return _0x2ce569?window[_0x3aba13([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25bc67(_0x2ce569),0x10)*_0x199494:null;}function _0xfaacc7(_0x493ed8){return new window[(_0x3aba13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x88f24a,_0x1712d7)=>{_0x493ed8[_0x3aba13([0x74,0x68,0x65,0x6e])](_0x88f24a,_0x1712d7),window[_0x3aba13([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1712d7,0x45dc06d5^_0x2fdef9);});}}_0x45a7e5[_0x3aba13([0x6f,0x6e])](_0x3aba13([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14bb6f,_0x280078)=>{if(_0x280078[0x0]!=_0x7d81b2)return _0x20d24f(_0x3aba13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x280078[0x1]={..._0x280078[0x1],[_0x3aba13([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb00566};},{[_0x3aba13([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3aba13([0x68,0x69,0x67,0x68])}),_0x45a7e5[_0x3aba13([0x6f,0x6e])](_0x3aba13([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xcfc410=>{_0x43e9c1(_0xcfc410[_0x3aba13([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x186a43=!0x0,_0x4cdb1c(_0xcfc410[_0x3aba13([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3aba13([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3aba13([0x6c,0x6f,0x77])}),_0x2a6295[_0x3aba13([0x74,0x68,0x65,0x6e])](()=>{_0x186a43||_0x20d24f(_0x3aba13([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2855f3(){return _0x45a7e5[_0x3aba13([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3aba13([0x76,0x69,0x65,0x77])][_0x3aba13([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3aba13([0x61,0x75,0x74,0x6f]);}function _0xdd2fe7(){_0x45a7e5[_0x3aba13([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3aba13([0x76,0x69,0x65,0x77])][_0x3aba13([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3aba13([0x61,0x75,0x74,0x6f]);}}function _0x468b6e(_0x272ad7){const _0x5c007d=[new window[(_0x3aba13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d8809=>setTimeout(_0x1d8809,0x45d4ecd9^_0x2fdef9)),_0x2a6295[_0x3aba13([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3aba13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d3e46=>{let _0x2d50da=0x0;_0x45a7e5[_0x3aba13([0x6d,0x6f,0x64,0x65,0x6c])][_0x3aba13([0x6f,0x6e])](_0x3aba13([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a063a,_0x18aa96)=>{_0x18aa96[0x0][_0x3aba13([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2d50da++,_0x2d50da==(0x45ddd7fd^_0x2fdef9)&&(_0x1d3e46(),_0x4a063a[_0x3aba13([0x6f,0x66,0x66])]());});}))];return window[_0x3aba13([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3aba13([0x72,0x61,0x63,0x65])](_0x5c007d)[_0x3aba13([0x74,0x68,0x65,0x6e])](()=>_0x272ad7);}async function _0x51f33f(){await _0x2a6295,_0x45a7e5[_0x3aba13([0x6d,0x6f,0x64,0x65,0x6c])][_0x3aba13([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x182355,_0x45a7e5[_0x3aba13([0x6d,0x6f,0x64,0x65,0x6c])][_0x3aba13([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x182355,_0x45a7e5[_0x3aba13([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3aba13([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8f8f8f(_0x39d56b){const _0x1cd423=_0x361b25();_0x45a7e5[_0x1cd423]=_0x3aba13([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x39d56b,_0x39d56b!=_0x3aba13([0x56,0x61,0x6c,0x69,0x64])&&_0x51f33f();}function _0x361b25(){const _0x56e1aa=window[_0x3aba13([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3aba13([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3aba13([0x6e,0x6f,0x77])]())[_0x3aba13([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3aba13([0x2e]),'');let _0x13c016=_0x3aba13([0x50]);for(let _0x1f9e7b=0x0;_0x1f9e7b<_0x56e1aa[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f9e7b+=0x2){let _0x2de21e=window[_0x3aba13([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56e1aa[_0x3aba13([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f9e7b,_0x1f9e7b+0x2));_0x2de21e>=_0x2ac30f[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2de21e-=_0x2ac30f[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x13c016+=_0x2ac30f[_0x2de21e];}return _0x13c016;}function _0x49bb11(){const _0x50d50d=_0x3bf7b3[_0x3aba13([0x73,0x70,0x6c,0x69,0x74])](_0x3aba13([0x2e]));if(0x3!=_0x50d50d[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4aaf67(_0x50d50d[0x1]);function _0x4aaf67(_0x4992e0){const _0x3fc6a7=_0x403579(_0x4992e0);return _0x3fc6a7&&_0x31be90()?_0x3fc6a7:null;function _0x31be90(){const _0xd236e8=_0x3fc6a7[_0x3aba13([0x6a,0x74,0x69])],_0x5a2bde=window[_0x3aba13([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd236e8[_0x3aba13([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd236e8[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x368f6b={..._0x3fc6a7,[_0x3aba13([0x6a,0x74,0x69])]:_0xd236e8[_0x3aba13([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xd236e8[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x368f6b[_0x3aba13([0x76,0x63])],_0x7d6c93(_0x368f6b)==_0x5a2bde;}}}async function _0x33c5c2(){let _0x1b0c6d=!0x0;try{const _0x3c4e42=_0x3bf7b3[_0x3aba13([0x73,0x70,0x6c,0x69,0x74])](_0x3aba13([0x2e])),[_0x3e2cd3,_0x365a06,_0x5a68fe]=_0x3c4e42;return _0x119630(_0x3e2cd3),await _0x19c6dc(_0x3e2cd3,_0x365a06,_0x5a68fe),_0x1b0c6d;}catch{return!0x1;}function _0x119630(_0x5c8742){const _0x5151f5=_0x403579(_0x5c8742);_0x5151f5&&_0x5151f5[_0x3aba13([0x61,0x6c,0x67])]==_0x3aba13([0x45,0x53,0x32,0x35,0x36])||(_0x1b0c6d=!0x1);}async function _0x19c6dc(_0x568c33,_0x155b60,_0xb94dc8){const _0x164164=window[_0x3aba13([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3aba13([0x66,0x72,0x6f,0x6d])](_0xd96ff4(_0xb94dc8),_0x42f8cd=>_0x42f8cd[_0x3aba13([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x301b28=new window[(_0x3aba13([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3aba13([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x568c33+_0x3aba13([0x2e])+_0x155b60),_0xf6d859=window[_0x3aba13([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3aba13([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf6d859)return;const _0x1ca61c=await _0xf6d859[_0x3aba13([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3aba13([0x6a,0x77,0x6b]),_0x5a7d7d,{[_0x3aba13([0x6e,0x61,0x6d,0x65])]:_0x3aba13([0x45,0x43,0x44,0x53,0x41]),[_0x3aba13([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3aba13([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3aba13([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf6d859[_0x3aba13([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3aba13([0x6e,0x61,0x6d,0x65])]:_0x3aba13([0x45,0x43,0x44,0x53,0x41]),[_0x3aba13([0x68,0x61,0x73,0x68])]:{[_0x3aba13([0x6e,0x61,0x6d,0x65])]:_0x3aba13([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ca61c,_0x164164,_0x301b28)||(_0x1b0c6d=!0x1);}}function _0x403579(_0x3daade){return _0x3daade[_0x3aba13([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3aba13([0x65,0x79]))?JSON[_0x3aba13([0x70,0x61,0x72,0x73,0x65])](_0xd96ff4(_0x3daade)):null;}function _0xd96ff4(_0x5324e0){return window[_0x3aba13([0x61,0x74,0x6f,0x62])](_0x5324e0[_0x3aba13([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3aba13([0x2b]))[_0x3aba13([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3aba13([0x2f])));}function _0x7d6c93(_0x334547){let _0x20573d=0x1505;function _0x3f8c83(_0x4dccf){for(let _0x40db25=0x0;_0x40db25<_0x4dccf[_0x3aba13([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40db25++){const _0x378d97=_0x4dccf[_0x3aba13([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x40db25);_0x20573d=(_0x20573d<<0x5)+_0x20573d+_0x378d97,_0x20573d&=_0x20573d;}}function _0x48199d(_0xfc6a3e){Array[_0x3aba13([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xfc6a3e)?_0xfc6a3e[_0x3aba13([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x48199d):_0xfc6a3e&&typeof _0xfc6a3e==_0x3aba13([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3aba13([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xfc6a3e)[_0x3aba13([0x73,0x6f,0x72,0x74])]()[_0x3aba13([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x378e86,_0x1c2e10])=>{_0x3f8c83(_0x378e86),_0x48199d(_0x1c2e10);}):_0x3f8c83(window[_0x3aba13([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xfc6a3e));}return _0x48199d(_0x334547),_0x20573d>>>0x0;}function _0x1d6529(_0x5331a6){return _0x5331a6[_0x3aba13([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3aba13([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3aba13([0x30]));}function _0x25bc67(_0x44f690){return _0x44f690[_0x3aba13([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3aba13([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3aba13([0x6a,0x6f,0x69,0x6e])]('');}function _0x182355(){}function _0x3aba13(_0xd6068c){const _0x287c01=_0x3146;return _0xd6068c[_0x287c01(0x1af)](_0x3fefc8=>String[_0x287c01(0x184)](_0x3fefc8))[_0x287c01(0x1aa)]('');}_0x8f8f8f(await _0x24662e());}(this);}[_0x54a0e0(0x19f)](){const _0x2b0d19=_0x54a0e0,_0x276de5=this[_0x2b0d19(0x193)];if(!_0x276de5[_0x2b0d19(0x17f)][_0x2b0d19(0x17e)](_0x2b0d19(0x1a5)))return;const _0x1439da=_0x276de5[_0x2b0d19(0x17f)][_0x2b0d19(0x17e)](_0x2b0d19(0x190))[_0x2b0d19(0x1a1)](_0x1de95f=>_0x2b0d19(0x18c)==typeof _0x1de95f&&(!_0x391d72(_0x1de95f)&&isNaN(Number(_0x1de95f))));if(_0x1439da[_0x2b0d19(0x1ac)])throw new _0x9b4434(_0x2b0d19(0x1ab),null,{'namedPresets':_0x1439da});}[_0x54a0e0(0x1b2)](){const _0x450885=_0x54a0e0,_0x379432=this[_0x450885(0x193)],_0x2a9a1d=this[_0x450885(0x193)][_0x450885(0x17f)][_0x450885(0x17e)](_0x450885(0x18e));_0x379432[_0x450885(0x195)][_0x450885(0x1a8)](_0x450885(0x18b))[_0x450885(0x185)]({'model':{'key':_0x450885(0x181)},'view':_0x218e46=>String(_0x218e46)===String(_0x2a9a1d)?null:{'key':_0x450885(0x19c),'value':{'line-height':_0x218e46}}}),_0x379432[_0x450885(0x195)][_0x450885(0x1a8)](_0x450885(0x1a4))[_0x450885(0x185)]({'model':{'key':_0x450885(0x181),'value':_0x5949f2=>{const _0xeb116d=_0x450885;let _0x1ccade=_0x5949f2[_0xeb116d(0x1a7)](_0xeb116d(0x192));return _0x4d232f(_0x1ccade)&&(_0x1ccade=String(Number(_0x1ccade[_0xeb116d(0x198)](0x0,-0x1))/0x64)),String(_0x1ccade)===String(_0x2a9a1d)?null:_0x1ccade;}},'view':{'styles':{'line-height':/.*/}}});}[_0x54a0e0(0x188)](){const _0x53b36e=_0x54a0e0,_0x1e8963=this[_0x53b36e(0x193)],_0x327524=this[_0x53b36e(0x193)][_0x53b36e(0x17f)][_0x53b36e(0x17e)](_0x53b36e(0x18e)),_0xa40210=_0x3d0a1b(this[_0x53b36e(0x193)][_0x53b36e(0x17f)][_0x53b36e(0x17e)](_0x53b36e(0x181)))[_0x53b36e(0x1a1)](_0x4661ac=>_0x4661ac[_0x53b36e(0x1ad)]),_0x16b29b=_0x44572a(_0x53b36e(0x181),_0xa40210);_0x1e8963[_0x53b36e(0x195)][_0x53b36e(0x185)](_0x16b29b),_0x1e8963[_0x53b36e(0x195)][_0x53b36e(0x1a8)](_0x53b36e(0x1a4))[_0x53b36e(0x185)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x53b36e(0x181),'value':_0x1960eb=>{const _0x215e05=_0x53b36e;let _0x436499=_0x1960eb[_0x215e05(0x1a7)](_0x215e05(0x192));return _0x4d232f(_0x436499)&&(_0x436499=String(Number(_0x436499[_0x215e05(0x198)](0x0,-0x1))/0x64)),_0x436499===String(_0x327524)?null:_0x16b29b[_0x215e05(0x1ad)][_0x215e05(0x19b)][_0x215e05(0x191)](_0x436499)?_0x436499:null;}}});}}
23
+ const _0x27efde=_0x3afa;(function(_0x18c8cf,_0x5906ea){const _0x2ee509=_0x3afa,_0x3c00fa=_0x18c8cf();while(!![]){try{const _0x53bf6d=parseInt(_0x2ee509(0x143))/0x1*(-parseInt(_0x2ee509(0x11a))/0x2)+parseInt(_0x2ee509(0x13e))/0x3+-parseInt(_0x2ee509(0x128))/0x4+parseInt(_0x2ee509(0x133))/0x5+parseInt(_0x2ee509(0x121))/0x6+-parseInt(_0x2ee509(0x13b))/0x7+-parseInt(_0x2ee509(0x12d))/0x8*(parseInt(_0x2ee509(0x141))/0x9);if(_0x53bf6d===_0x5906ea)break;else _0x3c00fa['push'](_0x3c00fa['shift']());}catch(_0x472e97){_0x3c00fa['push'](_0x3c00fa['shift']());}}}(_0xd8df,0xd8839));import{Plugin as _0x1d818f}from'ckeditor5/src/core.js';function _0x3afa(_0x1ebcca,_0x5ce503){const _0xd8df38=_0xd8df();return _0x3afa=function(_0x3afa97,_0x1c75fe){_0x3afa97=_0x3afa97-0x116;let _0x50d01e=_0xd8df38[_0x3afa97];return _0x50d01e;},_0x3afa(_0x1ebcca,_0x5ce503);}import{LineHeightCommand as _0x2d21ee}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x5a31cf}from'ckeditor5/src/engine.js';import{uid as _0x1714a6,CKEditorError as _0x1aa602}from'ckeditor5/src/utils.js';import{buildDefinition as _0x1389f7,isLineHeightDefaultValue as _0x281145,normalizeOptions as _0x868d6e}from'./utils.js';import{LineHeightTodoListIntegration as _0x41bd23}from'./integrations/todolist.js';function _0xd8df(){const _0xc87ba6=['2484704yUKklO','add','join','pluginName','style','23832zrqBkg','_prepareAnyValueConverters','isPremiumPlugin','line-height','lineHeight.supportAllValues','$block','5454265fRTwZV','lineHeight.defaultValue','fromCharCode','config','LineHeightEditing','map','href','values','7247051GNiVUL','slice','extend','2212002OYWPGm','line-height-invalid-use-of-named-presets','conversion','981MmXtLK','downcast','421583CjTPZh','isOfficialPlugin','commands','schema','define','string','filter','length','getStyle','_validateConfig','afterInit','requires','get','2tADhuv','_preparePredefinedConverters','model','includes','init','editor','lineHeight.options','8768502YxwuWe','lineHeight','setAttributeProperties','for','default','upcast','attributeToAttribute'];_0xd8df=function(){return _0xc87ba6;};return _0xd8df();}export class LineHeightEditing extends _0x1d818f{static get[_0x27efde(0x12b)](){const _0x54d110=_0x27efde;return _0x54d110(0x137);}static get[_0x27efde(0x118)](){return[_0x41bd23];}static get[_0x27efde(0x144)](){return!0x0;}static get[_0x27efde(0x12f)](){return!0x0;}constructor(_0x4af8b7){const _0x46bfbc=_0x27efde;super(_0x4af8b7),_0x4af8b7[_0x46bfbc(0x136)][_0x46bfbc(0x147)](_0x46bfbc(0x122),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x46bfbc(0x125),0x2,2.5,0x3]});}[_0x27efde(0x11e)](){const _0x4eabcc=_0x27efde,_0xdcf29c=this[_0x4eabcc(0x11f)];this[_0x4eabcc(0x116)](),_0xdcf29c[_0x4eabcc(0x11c)][_0x4eabcc(0x146)][_0x4eabcc(0x13d)](_0x4eabcc(0x132),{'allowAttributes':_0x4eabcc(0x122)}),_0xdcf29c[_0x4eabcc(0x11c)][_0x4eabcc(0x146)][_0x4eabcc(0x123)](_0x4eabcc(0x122),{'isFormatting':!0x0}),_0xdcf29c[_0x4eabcc(0x145)][_0x4eabcc(0x129)](_0x4eabcc(0x122),new _0x2d21ee(_0xdcf29c)),this[_0x4eabcc(0x11f)][_0x4eabcc(0x136)][_0x4eabcc(0x119)](_0x4eabcc(0x131))?this[_0x4eabcc(0x12e)]():this[_0x4eabcc(0x11b)]();}[_0x27efde(0x117)](){!async function(_0x503ffa){const _0x3d93ff=_0x4bed1c([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x55b7fb=0x45ddd215,_0x4dfb9f=0x45da532d^_0x55b7fb,_0x1d6cb3=window[_0x4bed1c([0x44,0x61,0x74,0x65])][_0x4bed1c([0x6e,0x6f,0x77])](),_0x3a23e8=_0x503ffa[_0x4bed1c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x23bb4e=new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c5a18=>{_0x3a23e8[_0x4bed1c([0x6f,0x6e,0x63,0x65])](_0x4bed1c([0x72,0x65,0x61,0x64,0x79]),_0x4c5a18);}),_0x330223={[_0x4bed1c([0x6b,0x74,0x79])]:_0x4bed1c([0x45,0x43]),[_0x4bed1c([0x75,0x73,0x65])]:_0x4bed1c([0x73,0x69,0x67]),[_0x4bed1c([0x63,0x72,0x76])]:_0x4bed1c([0x50,0x2d,0x32,0x35,0x36]),[_0x4bed1c([0x78])]:_0x4bed1c([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]),[_0x4bed1c([0x79])]:_0x4bed1c([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]),[_0x4bed1c([0x61,0x6c,0x67])]:_0x4bed1c([0x45,0x53,0x32,0x35,0x36])},_0x1dfb5e=_0x3a23e8[_0x4bed1c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4bed1c([0x67,0x65,0x74])](_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x542a12(){let _0x1908c3,_0x211eb8=null,_0x50c242=null;try{if(_0x1dfb5e==_0x4bed1c([0x47,0x50,0x4c]))return _0x4bed1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1908c3=_0x23af4b(),!_0x1908c3)return _0x4bed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1908c3[_0x4bed1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x50c242=_0x2ac722(_0x1908c3[_0x4bed1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1908c3[_0x4bed1c([0x6a,0x74,0x69])])),await _0x27c5c7()?_0x1e79cf()?_0x20a970()?_0x4bed1c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e5f22()?(_0x1908c3[_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4bed1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x211eb8=_0x3d87b2(_0x4bed1c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4729f6()):_0x4bed1c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4bed1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4bed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4bed1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x20a970(){const _0x55bd86=[_0x4bed1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4bed1c([0x74,0x72,0x69,0x61,0x6c])][_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1908c3[_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d6cb3/0x3e8:0xe10*_0x4dfb9f;return _0x1908c3[_0x4bed1c([0x65,0x78,0x70])]<_0x55bd86;}function _0x1e79cf(){const _0x1f3207=_0x1908c3[_0x4bed1c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f3207&&(!!_0x1f3207[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bed1c([0x2a]))||!!_0x1f3207[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bed1c([0x4c,0x48])));}function _0x1e5f22(){const _0x268108=_0x3afa,_0x28ed77=_0x1908c3[_0x4bed1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28ed77||0x0==_0x28ed77[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf3d336}=new URL(window[_0x4bed1c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x268108(0x139)]);if(_0x28ed77[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf3d336))return!0x0;const _0x45beed=_0xf3d336[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e]));return _0x28ed77[_0x4bed1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25aa40=>_0x25aa40[_0x4bed1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bed1c([0x2a])))[_0x4bed1c([0x6d,0x61,0x70])](_0x2fe82d=>_0x2fe82d[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e])))[_0x4bed1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4638e4=>_0x4638e4[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45beed[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4bed1c([0x6d,0x61,0x70])](_0x5a76df=>Array(_0x45beed[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a76df[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4bed1c([0x66,0x69,0x6c,0x6c])](_0x5a76df[0x0]===_0x4bed1c([0x2a])?_0x4bed1c([0x2a]):'')[_0x4bed1c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a76df))[_0x4bed1c([0x73,0x6f,0x6d,0x65])](_0x437c1c=>_0x45beed[_0x4bed1c([0x65,0x76,0x65,0x72,0x79])]((_0x30fb53,_0x3ec379)=>_0x437c1c[_0x3ec379]===_0x30fb53||_0x437c1c[_0x3ec379]===_0x4bed1c([0x2a])));}function _0x4729f6(){return _0x211eb8&&_0x50c242?new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb9ec44,_0xbae38)=>{_0x211eb8[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0xb9ec44,_0xbae38),_0x50c242[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x3bb475=>{_0x3bb475!=_0x4bed1c([0x56,0x61,0x6c,0x69,0x64])&&_0xb9ec44(_0x3bb475);},_0xbae38);}):_0x211eb8||_0x50c242||_0x4bed1c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ac722(_0x4c1508,_0x26ff89){return new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f2669=>{if(_0x3c005e())return _0x4f2669(_0x4bed1c([0x56,0x61,0x6c,0x69,0x64]));_0x41d96c(),_0x3a23e8[_0x4bed1c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4bed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa8997e=!0x1;const _0x5072e5=_0x1714a6();function _0x482bf4(_0x344661){return!!_0x344661&&(typeof _0x344661===_0x4bed1c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x344661===_0x4bed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x344661[_0x4bed1c([0x74,0x68,0x65,0x6e])]===_0x4bed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x344661[_0x4bed1c([0x63,0x61,0x74,0x63,0x68])]===_0x4bed1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a8f74(_0x52f87f){_0x533b8b(_0x52f87f)[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x19010f=>{if(!_0x19010f||_0x19010f[_0x4bed1c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4bed1c([0x6f,0x6b]))return _0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52e392(_0x37c413(_0x5072e5+_0x26ff89))!=_0x19010f[_0x4bed1c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4bed1c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x38f24f=>(_0x1a7ed3(),_0x38f24f),()=>{const _0x49835c=_0x540a62();return null==_0x49835c?(_0x1a7ed3(),_0x4bed1c([0x56,0x61,0x6c,0x69,0x64])):_0x4bed1c(_0x1d6cb3-_0x49835c>(0x61d15615^_0x55b7fb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x4f2669)[_0x4bed1c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f2669(_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x36394f=0x45eb3c95^_0x55b7fb;function _0x1a7ed3(){const _0x198758=_0x4bed1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x52e392(_0x37c413(_0x4c1508)),_0x478f75=_0x2fc01a(_0x52e392(window[_0x4bed1c([0x4d,0x61,0x74,0x68])][_0x4bed1c([0x63,0x65,0x69,0x6c])](_0x1d6cb3/_0x36394f)));window[_0x4bed1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4bed1c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x198758,_0x478f75);}function _0x540a62(){const _0x2c3d4e=_0x4bed1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x52e392(_0x37c413(_0x4c1508)),_0x3a780c=window[_0x4bed1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4bed1c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c3d4e);return _0x3a780c?window[_0x4bed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fc01a(_0x3a780c),0x10)*_0x36394f:null;}function _0x533b8b(_0x513745){return new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x394ed4,_0xaafaee)=>{_0x513745[_0x4bed1c([0x74,0x68,0x65,0x6e])](_0x394ed4,_0xaafaee),window[_0x4bed1c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xaafaee,0x45dc06d5^_0x55b7fb);});}}_0x3a23e8[_0x4bed1c([0x6f,0x6e])](_0x4bed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a6b35,_0x56185f)=>{if(_0x56185f[0x0]!=_0x4c1508)return _0x4f2669(_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x56185f[0x1]={..._0x56185f[0x1],[_0x4bed1c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5072e5};},{[_0x4bed1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4bed1c([0x68,0x69,0x67,0x68])}),_0x3a23e8[_0x4bed1c([0x6f,0x6e])](_0x4bed1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42d4e=>{_0x482bf4(_0x42d4e[_0x4bed1c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa8997e=!0x0,_0x4a8f74(_0x42d4e[_0x4bed1c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4bed1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4bed1c([0x6c,0x6f,0x77])}),_0x23bb4e[_0x4bed1c([0x74,0x68,0x65,0x6e])](()=>{_0xa8997e||_0x4f2669(_0x4bed1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c005e(){return _0x3a23e8[_0x4bed1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4bed1c([0x76,0x69,0x65,0x77])][_0x4bed1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4bed1c([0x61,0x75,0x74,0x6f]);}function _0x41d96c(){_0x3a23e8[_0x4bed1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4bed1c([0x76,0x69,0x65,0x77])][_0x4bed1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4bed1c([0x61,0x75,0x74,0x6f]);}}function _0x3d87b2(_0x5d5091){const _0x1c0499=[new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b0560=>setTimeout(_0x4b0560,0x45d4ecd9^_0x55b7fb)),_0x23bb4e[_0x4bed1c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57a474=>{let _0x4b0d5e=0x0;_0x3a23e8[_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bed1c([0x6f,0x6e])](_0x4bed1c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a40c5,_0x1aedcd)=>{_0x1aedcd[0x0][_0x4bed1c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b0d5e++,_0x4b0d5e==(0x45ddd7fd^_0x55b7fb)&&(_0x57a474(),_0x5a40c5[_0x4bed1c([0x6f,0x66,0x66])]());});}))];return window[_0x4bed1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4bed1c([0x72,0x61,0x63,0x65])](_0x1c0499)[_0x4bed1c([0x74,0x68,0x65,0x6e])](()=>_0x5d5091);}async function _0x1cd464(){await _0x23bb4e,_0x3a23e8[_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bed1c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50e6d0,_0x3a23e8[_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4bed1c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50e6d0,_0x3a23e8[_0x4bed1c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4bed1c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56158d(_0x658682){const _0x4ebc28=_0x452b93();_0x3a23e8[_0x4ebc28]=_0x4bed1c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x658682,_0x658682!=_0x4bed1c([0x56,0x61,0x6c,0x69,0x64])&&_0x1cd464();}function _0x452b93(){const _0x1b4e8a=window[_0x4bed1c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4bed1c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4bed1c([0x6e,0x6f,0x77])]())[_0x4bed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4bed1c([0x2e]),'');let _0x4660b0=_0x4bed1c([0x50]);for(let _0x380c97=0x0;_0x380c97<_0x1b4e8a[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x380c97+=0x2){let _0x256dd9=window[_0x4bed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b4e8a[_0x4bed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x380c97,_0x380c97+0x2));_0x256dd9>=_0x3d93ff[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x256dd9-=_0x3d93ff[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4660b0+=_0x3d93ff[_0x256dd9];}return _0x4660b0;}function _0x23af4b(){const _0x3325e4=_0x1dfb5e[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e]));if(0x3!=_0x3325e4[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x269f4b(_0x3325e4[0x1]);function _0x269f4b(_0x4e50dc){const _0xefc43b=_0xcdc4d1(_0x4e50dc);return _0xefc43b&&_0x293aa8()?_0xefc43b:null;function _0x293aa8(){const _0x364761=_0xefc43b[_0x4bed1c([0x6a,0x74,0x69])],_0x456691=window[_0x4bed1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x364761[_0x4bed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x364761[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x373d39={..._0xefc43b,[_0x4bed1c([0x6a,0x74,0x69])]:_0x364761[_0x4bed1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x364761[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x373d39[_0x4bed1c([0x76,0x63])],_0x37c413(_0x373d39)==_0x456691;}}}async function _0x27c5c7(){let _0x2116b8=!0x0;try{const _0x25928a=_0x1dfb5e[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])](_0x4bed1c([0x2e])),[_0x489f71,_0x319def,_0x389e9c]=_0x25928a;return _0x273898(_0x489f71),await _0x4c0cae(_0x489f71,_0x319def,_0x389e9c),_0x2116b8;}catch{return!0x1;}function _0x273898(_0x2ed4c1){const _0x22c265=_0xcdc4d1(_0x2ed4c1);_0x22c265&&_0x22c265[_0x4bed1c([0x61,0x6c,0x67])]==_0x4bed1c([0x45,0x53,0x32,0x35,0x36])||(_0x2116b8=!0x1);}async function _0x4c0cae(_0x54eb82,_0x303d41,_0x3294f0){const _0x3440b0=window[_0x4bed1c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4bed1c([0x66,0x72,0x6f,0x6d])](_0x3f307e(_0x3294f0),_0x37ec88=>_0x37ec88[_0x4bed1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a7aae=new window[(_0x4bed1c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4bed1c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54eb82+_0x4bed1c([0x2e])+_0x303d41),_0x5473e4=window[_0x4bed1c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4bed1c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5473e4)return;const _0x20d6d4=await _0x5473e4[_0x4bed1c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4bed1c([0x6a,0x77,0x6b]),_0x330223,{[_0x4bed1c([0x6e,0x61,0x6d,0x65])]:_0x4bed1c([0x45,0x43,0x44,0x53,0x41]),[_0x4bed1c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4bed1c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4bed1c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5473e4[_0x4bed1c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4bed1c([0x6e,0x61,0x6d,0x65])]:_0x4bed1c([0x45,0x43,0x44,0x53,0x41]),[_0x4bed1c([0x68,0x61,0x73,0x68])]:{[_0x4bed1c([0x6e,0x61,0x6d,0x65])]:_0x4bed1c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20d6d4,_0x3440b0,_0x2a7aae)||(_0x2116b8=!0x1);}}function _0xcdc4d1(_0x4d8c4c){return _0x4d8c4c[_0x4bed1c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4bed1c([0x65,0x79]))?JSON[_0x4bed1c([0x70,0x61,0x72,0x73,0x65])](_0x3f307e(_0x4d8c4c)):null;}function _0x3f307e(_0x282095){return window[_0x4bed1c([0x61,0x74,0x6f,0x62])](_0x282095[_0x4bed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4bed1c([0x2b]))[_0x4bed1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4bed1c([0x2f])));}function _0x37c413(_0x150f30){let _0x33831f=0x1505;function _0x379daf(_0x7515b6){for(let _0xc7a56a=0x0;_0xc7a56a<_0x7515b6[_0x4bed1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc7a56a++){const _0x37d18d=_0x7515b6[_0x4bed1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc7a56a);_0x33831f=(_0x33831f<<0x5)+_0x33831f+_0x37d18d,_0x33831f&=_0x33831f;}}function _0x5ba186(_0x20a4b2){Array[_0x4bed1c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x20a4b2)?_0x20a4b2[_0x4bed1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ba186):_0x20a4b2&&typeof _0x20a4b2==_0x4bed1c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4bed1c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x20a4b2)[_0x4bed1c([0x73,0x6f,0x72,0x74])]()[_0x4bed1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5880ab,_0x5defec])=>{_0x379daf(_0x5880ab),_0x5ba186(_0x5defec);}):_0x379daf(window[_0x4bed1c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x20a4b2));}return _0x5ba186(_0x150f30),_0x33831f>>>0x0;}function _0x52e392(_0x34dfd8){return _0x34dfd8[_0x4bed1c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4bed1c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4bed1c([0x30]));}function _0x2fc01a(_0x5d6e11){return _0x5d6e11[_0x4bed1c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4bed1c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4bed1c([0x6a,0x6f,0x69,0x6e])]('');}function _0x50e6d0(){}function _0x4bed1c(_0x3a83e0){const _0xcc82e=_0x3afa;return _0x3a83e0[_0xcc82e(0x138)](_0x223337=>String[_0xcc82e(0x135)](_0x223337))[_0xcc82e(0x12a)]('');}_0x56158d(await _0x542a12());}(this);}[_0x27efde(0x116)](){const _0x2cab6f=_0x27efde,_0x23b6de=this[_0x2cab6f(0x11f)];if(!_0x23b6de[_0x2cab6f(0x136)][_0x2cab6f(0x119)](_0x2cab6f(0x131)))return;const _0x126e80=_0x23b6de[_0x2cab6f(0x136)][_0x2cab6f(0x119)](_0x2cab6f(0x120))[_0x2cab6f(0x149)](_0x3c9bd0=>_0x2cab6f(0x148)==typeof _0x3c9bd0&&(!_0x281145(_0x3c9bd0)&&isNaN(Number(_0x3c9bd0))));if(_0x126e80[_0x2cab6f(0x14a)])throw new _0x1aa602(_0x2cab6f(0x13f),null,{'namedPresets':_0x126e80});}[_0x27efde(0x12e)](){const _0x10c136=_0x27efde,_0x58aa4d=this[_0x10c136(0x11f)],_0x373d84=this[_0x10c136(0x11f)][_0x10c136(0x136)][_0x10c136(0x119)](_0x10c136(0x134));_0x58aa4d[_0x10c136(0x140)][_0x10c136(0x124)](_0x10c136(0x142))[_0x10c136(0x127)]({'model':{'key':_0x10c136(0x122)},'view':_0x1322fb=>String(_0x1322fb)===String(_0x373d84)?null:{'key':_0x10c136(0x12c),'value':{'line-height':_0x1322fb}}}),_0x58aa4d[_0x10c136(0x140)][_0x10c136(0x124)](_0x10c136(0x126))[_0x10c136(0x127)]({'model':{'key':_0x10c136(0x122),'value':_0x135b4f=>{const _0x6e085e=_0x10c136;let _0x166b04=_0x135b4f[_0x6e085e(0x14b)](_0x6e085e(0x130));return _0x5a31cf(_0x166b04)&&(_0x166b04=String(Number(_0x166b04[_0x6e085e(0x13c)](0x0,-0x1))/0x64)),String(_0x166b04)===String(_0x373d84)?null:_0x166b04;}},'view':{'styles':{'line-height':/.*/}}});}[_0x27efde(0x11b)](){const _0x2f0d43=_0x27efde,_0x5ab1aa=this[_0x2f0d43(0x11f)],_0x4b7068=this[_0x2f0d43(0x11f)][_0x2f0d43(0x136)][_0x2f0d43(0x119)](_0x2f0d43(0x134)),_0x2208ee=_0x868d6e(this[_0x2f0d43(0x11f)][_0x2f0d43(0x136)][_0x2f0d43(0x119)](_0x2f0d43(0x122)))[_0x2f0d43(0x149)](_0x4f7660=>_0x4f7660[_0x2f0d43(0x11c)]),_0x38ee0e=_0x1389f7(_0x2f0d43(0x122),_0x2208ee);_0x5ab1aa[_0x2f0d43(0x140)][_0x2f0d43(0x127)](_0x38ee0e),_0x5ab1aa[_0x2f0d43(0x140)][_0x2f0d43(0x124)](_0x2f0d43(0x126))[_0x2f0d43(0x127)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x2f0d43(0x122),'value':_0x586aec=>{const _0x4b6233=_0x2f0d43;let _0xb9fc6f=_0x586aec[_0x4b6233(0x14b)](_0x4b6233(0x130));return _0x5a31cf(_0xb9fc6f)&&(_0xb9fc6f=String(Number(_0xb9fc6f[_0x4b6233(0x13c)](0x0,-0x1))/0x64)),_0xb9fc6f===String(_0x4b7068)?null:_0x38ee0e[_0x4b6233(0x11c)][_0x4b6233(0x13a)][_0x4b6233(0x11d)](_0xb9fc6f)?_0xb9fc6f:null;}}});}}