@ckeditor/ckeditor5-line-height 47.5.0-alpha.3 → 47.5.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/line-height.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/lineheightediting.js +1 -1
package/build/line-height.js
CHANGED
|
@@ -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:()=>T,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),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 S=O;function E(){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(E=function(){return e})()}function O(e,t){const n=E();return(O=function(e,t){return n[e-=224]})(e,t)}!function(e){const t=O,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())}}(E);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=O,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(e){const t=N,n=e();for(;;)try{if(374115===parseInt(t(337))/1+-parseInt(t(341))/2*(-parseInt(t(354))/3)+parseInt(t(379))/4+-parseInt(t(382))/5*(parseInt(t(372))/6)+-parseInt(t(333))/7+-parseInt(t(330))/8*(-parseInt(t(383))/9)+parseInt(t(363))/10*(-parseInt(t(365))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class T extends e.Plugin{static get[A(367)](){return A(342)}static get[A(340)](){return[C]}static get[A(384)](){return!0}static get[A(381)](){return!0}constructor(e){const t=A;super(e),e[t(377)][t(366)](t(361),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(335),2,2.5,3]})}[A(364)](){const e=A,t=this[e(375)];this[e(380)](),t[e(346)][e(349)][e(360)](e(351),{allowAttributes:e(361)}),t[e(346)][e(349)][e(368)](e(361),{isFormatting:!0}),t[e(345)][e(329)](e(361),new a(t)),this[e(375)][e(377)][e(348)](e(339))?this[e(334)]():this[e(370)]()}[A(338)](){!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(343)](e=>String[t(378)](e))[t(350)]("")}!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:1770508800;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(347)]);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(380)](){const e=A,n=this[e(375)];if(!n[e(377)][e(348)](e(339)))return;const i=n[e(377)][e(348)](e(332))[e(355)](t=>e(362)==typeof t&&!d(t)&&isNaN(Number(t)));if(i[e(356)])throw new t.CKEditorError(e(359),null,{namedPresets:i})}[A(334)](){const e=A,t=this[e(375)],n=this[e(375)][e(377)][e(348)](e(358));t[e(376)][e(371)](e(344))[e(374)]({model:{key:e(361)},view:t=>String(t)===String(n)?null:{key:e(369),value:{"line-height":t}}}),t[e(376)][e(371)](e(331))[e(374)]({model:{key:e(361),value:t=>{const i=e;let r=t[i(357)](i(353));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(352)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[A(370)](){const e=A,t=this[e(375)],n=this[e(375)][e(377)][e(348)](e(358)),i=p(this[e(375)][e(377)][e(348)](e(361)))[e(355)](t=>t[e(346)]),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(361),i);t[e(376)][e(374)](r),t[e(376)][e(371)](e(331))[e(374)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(361),value:t=>{const i=e;let o=t[i(357)](i(353));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(352)](0,-1))/100)),o===String(n)?null:r[i(346)][i(373)][i(336)](o)?o:null}}})}}function N(e,t){const n=P();return(N=function(e,t){return n[e-=329]})(e,t)}function P(){const e=["attributeToAttribute","editor","conversion","config","fromCharCode","2899524OtNmVj","_validateConfig","isPremiumPlugin","23255PmLmTE","6026310wbJXbK","isOfficialPlugin","add","8mAxNtJ","upcast","lineHeight.options","2097788qaehKk","_prepareAnyValueConverters","default","includes","535675oxVTYD","afterInit","lineHeight.supportAllValues","requires","19774KqRRVY","LineHeightEditing","map","downcast","commands","model","href","get","schema","join","$block","slice","line-height","6XMtYdA","filter","length","getStyle","lineHeight.defaultValue","line-height-invalid-use-of-named-presets","extend","lineHeight","string","1290XraoEt","init","98505wTLxSn","define","pluginName","setAttributeProperties","style","_preparePredefinedConverters","for","156PnNNDf","values"];return(P=function(){return e})()}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 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[T,D]}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 F(e,t){var n=R();return(F=function(e,t){return n[e-=365]})(e,t)}!function(e){for(var t=F,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 _0x386079,Plugin as _0x4068ea}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x5637e5,CKEditorError as _0x59ceeb,uid as _0x19e3f2,Collection as _0x39f67a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x8a6b5,isPercentageStyleValue as _0x560f52}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x2b1261,createDropdown as _0x1b6196,addListToDropdown as _0x16275d,MenuBarMenuView as _0x55c3ab,MenuBarMenuListView as _0x4863b3,MenuBarMenuListItemView as _0x54234a,MenuBarMenuListItemButtonView as _0xd5e191}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x4093d8}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x386079{['refresh'](){const _0x370ec7=this['editor']['model']['document'],_0x23e0f3=_0x5637e5(_0x370ec7['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x23e0f3)&&this['_canHaveLineHeight'](_0x23e0f3),this['value']=this['isEnabled']&&_0x23e0f3['getAttribute']('lineHeight');}['execute'](_0x19fe90={}){const _0x37851f=this['editor']['model'],_0x107f47=_0x37851f['document']['selection'],_0x102f05=_0x19fe90['value'];_0x37851f['change'](_0x4fb72b=>{const _0x17bf1f=Array['from'](_0x107f47['getSelectedBlocks']())['filter'](_0x56bff3=>this['_canHaveLineHeight'](_0x56bff3));for(const _0x20e3ec of _0x17bf1f)_0x102f05?_0x4fb72b['setAttribute']('lineHeight',_0x102f05,_0x20e3ec):_0x4fb72b['removeAttribute']('lineHeight',_0x20e3ec);});}['_canHaveLineHeight'](_0x3fcd5b){return this['editor']['model']['schema']['checkAttribute'](_0x3fcd5b,'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(_0x107e54){return'string'==typeof _0x107e54&&'default'===_0x107e54['toLowerCase']();}function a(_0x4608eb){return _0x4608eb['options']['map'](_0x589264=>{return f(_0x589264)?{'title':String(_0x4608eb['defaultValue']),'model':'default'}:('number'==typeof _0x589264&&(_0x589264=String(_0x589264)),'string'!=typeof _0x589264?_0x589264:parseFloat(_0x589264)?{'title':_0x589264,'model':_0x589264,'view':{'name':'span','styles':{'line-height':_0x589264}}}:'string'==typeof(_0x53a92f=_0x589264)?v[_0x53a92f]:v[_0x53a92f['model']]);var _0x53a92f;})['filter'](_0x4fd831=>void 0x0!==_0x4fd831);}class g extends _0x4068ea{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x573be3,conversion:_0x3a6e31}=this['editor'];if(!_0x573be3['has']('ListEditing')||!_0x573be3['has']('TodoListEditing'))return;_0x573be3['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x17f263,_0x203643,_0x175d23,_0x52d06a,_0x53d286){'todo'==_0x53d286['getAttribute']('listType')&&_0x203643&&(_0x17f263['addClass']('ck-list-marker-line-height',_0x175d23),_0x17f263['setStyle']('--ck-content-list-marker-line-height',_0x203643,_0x175d23));}}),_0x3a6e31['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x3a6e31['for']('upcast')['add'](_0x521c02=>{_0x521c02['on']('element:li',function(_0x2f5c33){const _0x26fc14=new _0x8a6b5(_0x2f5c33);return(_0x57761c,_0x2fc622,_0x5de19a)=>{const _0x2eedc3=_0x26fc14['match'](_0x2fc622['viewItem']);if(!_0x2eedc3)return;const _0x3e9106=_0x2eedc3['match'];_0x3e9106['name']=!0x1,_0x5de19a['consumable']['consume'](_0x2fc622['viewItem'],_0x3e9106);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x4068ea{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4faf75){super(_0x4faf75),_0x4faf75['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x361473=this['editor'];this['_validateConfig'](),_0x361473['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x361473['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x361473['commands']['add']('lineHeight',new n(_0x361473)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x2835ea){const _0x59f51d=_0x468116([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]),_0x38287f=0x45ddd215,_0x55f74d=0x45da5335^_0x38287f,_0x5da967=window[_0x468116([0x44,0x61,0x74,0x65])][_0x468116([0x6e,0x6f,0x77])](),_0x3b0efc=_0x2835ea[_0x468116([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5ba1d3=new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19bf41=>{_0x3b0efc[_0x468116([0x6f,0x6e,0x63,0x65])](_0x468116([0x72,0x65,0x61,0x64,0x79]),_0x19bf41);}),_0x59e3c0={[_0x468116([0x6b,0x74,0x79])]:_0x468116([0x45,0x43]),[_0x468116([0x75,0x73,0x65])]:_0x468116([0x73,0x69,0x67]),[_0x468116([0x63,0x72,0x76])]:_0x468116([0x50,0x2d,0x32,0x35,0x36]),[_0x468116([0x78])]:_0x468116([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]),[_0x468116([0x79])]:_0x468116([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]),[_0x468116([0x61,0x6c,0x67])]:_0x468116([0x45,0x53,0x32,0x35,0x36])},_0x212725=_0x3b0efc[_0x468116([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x468116([0x67,0x65,0x74])](_0x468116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fd231(){let _0x1fa201,_0x373a0c=null,_0x15fd95=null;try{if(_0x212725==_0x468116([0x47,0x50,0x4c]))return _0x468116([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1fa201=_0xb30e8f(),!_0x1fa201)return _0x468116([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1fa201[_0x468116([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15fd95=_0x1cebbd(_0x1fa201[_0x468116([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1fa201[_0x468116([0x6a,0x74,0x69])])),await _0x130205()?_0x3a92e1()?_0x984f6a()?_0x468116([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51e7b1()?(_0x1fa201[_0x468116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x468116([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x373a0c=_0x3302f9(_0x468116([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42165d()):_0x468116([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x468116([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x468116([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x468116([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x984f6a(){const _0x1965e4=[_0x468116([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x468116([0x74,0x72,0x69,0x61,0x6c])][_0x468116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fa201[_0x468116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5da967/0x3e8:0xe10*_0x55f74d;return _0x1fa201[_0x468116([0x65,0x78,0x70])]<_0x1965e4;}function _0x3a92e1(){const _0x4eed26=_0x1fa201[_0x468116([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4eed26&&(!!_0x4eed26[_0x468116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468116([0x2a]))||!!_0x4eed26[_0x468116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468116([0x4c,0x48])));}function _0x51e7b1(){const _0x4c6c19=_0x1fa201[_0x468116([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c6c19||0x0==_0x4c6c19[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x255683}=new URL(window[_0x468116([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4c6c19[_0x468116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x255683))return!0x0;const _0x1b3c62=_0x255683[_0x468116([0x73,0x70,0x6c,0x69,0x74])](_0x468116([0x2e]));return _0x4c6c19[_0x468116([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x257345=>_0x257345[_0x468116([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x468116([0x2a])))[_0x468116([0x6d,0x61,0x70])](_0x53fd4d=>_0x53fd4d[_0x468116([0x73,0x70,0x6c,0x69,0x74])](_0x468116([0x2e])))[_0x468116([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a6c66=>_0x3a6c66[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b3c62[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x468116([0x6d,0x61,0x70])](_0x97fad8=>Array(_0x1b3c62[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x97fad8[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x468116([0x66,0x69,0x6c,0x6c])](_0x97fad8[0x0]===_0x468116([0x2a])?_0x468116([0x2a]):'')[_0x468116([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x97fad8))[_0x468116([0x73,0x6f,0x6d,0x65])](_0x495db8=>_0x1b3c62[_0x468116([0x65,0x76,0x65,0x72,0x79])]((_0xae5757,_0x467214)=>_0x495db8[_0x467214]===_0xae5757||_0x495db8[_0x467214]===_0x468116([0x2a])));}function _0x42165d(){return _0x373a0c&&_0x15fd95?new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e1eb5,_0x3250a0)=>{_0x373a0c[_0x468116([0x74,0x68,0x65,0x6e])](_0x3e1eb5,_0x3250a0),_0x15fd95[_0x468116([0x74,0x68,0x65,0x6e])](_0x1dd9f0=>{_0x1dd9f0!=_0x468116([0x56,0x61,0x6c,0x69,0x64])&&_0x3e1eb5(_0x1dd9f0);},_0x3250a0);}):_0x373a0c||_0x15fd95||_0x468116([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1cebbd(_0x4a49a0,_0x445d80){return new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e0c28=>{if(_0x268342())return _0x2e0c28(_0x468116([0x56,0x61,0x6c,0x69,0x64]));_0x3f2f7e(),_0x3b0efc[_0x468116([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x468116([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x107ce8=!0x1;const _0x4c8711=_0x19e3f2();function _0x259b7d(_0x453b7d){return!!_0x453b7d&&(typeof _0x453b7d===_0x468116([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x453b7d===_0x468116([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x453b7d[_0x468116([0x74,0x68,0x65,0x6e])]===_0x468116([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x453b7d[_0x468116([0x63,0x61,0x74,0x63,0x68])]===_0x468116([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a3f01(_0x500019){_0x17a613(_0x500019)[_0x468116([0x74,0x68,0x65,0x6e])](_0x392f07=>{if(!_0x392f07||_0x392f07[_0x468116([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x468116([0x6f,0x6b]))return _0x468116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x482da1(_0x5949f3(_0x4c8711+_0x445d80))!=_0x392f07[_0x468116([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x468116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x468116([0x56,0x61,0x6c,0x69,0x64]);})[_0x468116([0x74,0x68,0x65,0x6e])](_0x24818f=>(_0x283b06(),_0x24818f),()=>{const _0x285fe0=_0x3a9800();return null==_0x285fe0?(_0x283b06(),_0x468116([0x56,0x61,0x6c,0x69,0x64])):_0x468116(_0x5da967-_0x285fe0>(0x61d15615^_0x38287f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x468116([0x74,0x68,0x65,0x6e])](_0x2e0c28)[_0x468116([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e0c28(_0x468116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3297a2=0x45eb3c95^_0x38287f;function _0x283b06(){const _0x49fb53=_0x468116([0x6c,0x6c,0x63,0x74,0x2d])+_0x482da1(_0x5949f3(_0x4a49a0)),_0x5a7414=_0x269eda(_0x482da1(window[_0x468116([0x4d,0x61,0x74,0x68])][_0x468116([0x63,0x65,0x69,0x6c])](_0x5da967/_0x3297a2)));window[_0x468116([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x468116([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49fb53,_0x5a7414);}function _0x3a9800(){const _0x4acdb1=_0x468116([0x6c,0x6c,0x63,0x74,0x2d])+_0x482da1(_0x5949f3(_0x4a49a0)),_0x5838e1=window[_0x468116([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x468116([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4acdb1);return _0x5838e1?window[_0x468116([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x269eda(_0x5838e1),0x10)*_0x3297a2:null;}function _0x17a613(_0x573b42){return new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32323a,_0x4efe2f)=>{_0x573b42[_0x468116([0x74,0x68,0x65,0x6e])](_0x32323a,_0x4efe2f),window[_0x468116([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4efe2f,0x45dc06d5^_0x38287f);});}}_0x3b0efc[_0x468116([0x6f,0x6e])](_0x468116([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5edc90,_0x21224d)=>{if(_0x21224d[0x0]!=_0x4a49a0)return _0x2e0c28(_0x468116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21224d[0x1]={..._0x21224d[0x1],[_0x468116([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c8711};},{[_0x468116([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x468116([0x68,0x69,0x67,0x68])}),_0x3b0efc[_0x468116([0x6f,0x6e])](_0x468116([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x41c653=>{_0x259b7d(_0x41c653[_0x468116([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x107ce8=!0x0,_0x5a3f01(_0x41c653[_0x468116([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x468116([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x468116([0x6c,0x6f,0x77])}),_0x5ba1d3[_0x468116([0x74,0x68,0x65,0x6e])](()=>{_0x107ce8||_0x2e0c28(_0x468116([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x268342(){return _0x3b0efc[_0x468116([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x468116([0x76,0x69,0x65,0x77])][_0x468116([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x468116([0x61,0x75,0x74,0x6f]);}function _0x3f2f7e(){_0x3b0efc[_0x468116([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x468116([0x76,0x69,0x65,0x77])][_0x468116([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x468116([0x61,0x75,0x74,0x6f]);}}function _0x3302f9(_0x47aa2c){const _0x19aadc=[new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1242a6=>setTimeout(_0x1242a6,0x45d4ecd9^_0x38287f)),_0x5ba1d3[_0x468116([0x74,0x68,0x65,0x6e])](()=>new window[(_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26a90d=>{let _0x4f53d7=0x0;_0x3b0efc[_0x468116([0x6d,0x6f,0x64,0x65,0x6c])][_0x468116([0x6f,0x6e])](_0x468116([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e9db,_0x3e7af0)=>{_0x3e7af0[0x0][_0x468116([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f53d7++,_0x4f53d7==(0x45ddd7fd^_0x38287f)&&(_0x26a90d(),_0x5e9db[_0x468116([0x6f,0x66,0x66])]());});}))];return window[_0x468116([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x468116([0x72,0x61,0x63,0x65])](_0x19aadc)[_0x468116([0x74,0x68,0x65,0x6e])](()=>_0x47aa2c);}async function _0x1c0ef1(){await _0x5ba1d3,_0x3b0efc[_0x468116([0x6d,0x6f,0x64,0x65,0x6c])][_0x468116([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x505fe7,_0x3b0efc[_0x468116([0x6d,0x6f,0x64,0x65,0x6c])][_0x468116([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x505fe7,_0x3b0efc[_0x468116([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x468116([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d38fc(_0x7aed22){const _0x383c67=_0x239fa0();_0x3b0efc[_0x383c67]=_0x468116([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7aed22,_0x7aed22!=_0x468116([0x56,0x61,0x6c,0x69,0x64])&&_0x1c0ef1();}function _0x239fa0(){const _0x2ca262=window[_0x468116([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x468116([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x468116([0x6e,0x6f,0x77])]())[_0x468116([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x468116([0x2e]),'');let _0x4a3d7e=_0x468116([0x50]);for(let _0x434da3=0x0;_0x434da3<_0x2ca262[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x434da3+=0x2){let _0x714fe6=window[_0x468116([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ca262[_0x468116([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x434da3,_0x434da3+0x2));_0x714fe6>=_0x59f51d[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x714fe6-=_0x59f51d[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4a3d7e+=_0x59f51d[_0x714fe6];}return _0x4a3d7e;}function _0xb30e8f(){const _0x595419=_0x212725[_0x468116([0x73,0x70,0x6c,0x69,0x74])](_0x468116([0x2e]));if(0x3!=_0x595419[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x274596(_0x595419[0x1]);function _0x274596(_0x89f180){const _0x262035=_0x223c9b(_0x89f180);return _0x262035&&_0x2e2e79()?_0x262035:null;function _0x2e2e79(){const _0x37ef75=_0x262035[_0x468116([0x6a,0x74,0x69])],_0x1b590b=window[_0x468116([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37ef75[_0x468116([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37ef75[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x316600={..._0x262035,[_0x468116([0x6a,0x74,0x69])]:_0x37ef75[_0x468116([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37ef75[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x316600[_0x468116([0x76,0x63])],_0x5949f3(_0x316600)==_0x1b590b;}}}async function _0x130205(){let _0x3e4417=!0x0;try{const _0x3b72d6=_0x212725[_0x468116([0x73,0x70,0x6c,0x69,0x74])](_0x468116([0x2e])),[_0x12e60b,_0x379b47,_0x6dd3a7]=_0x3b72d6;return _0x1c3799(_0x12e60b),await _0x2406e3(_0x12e60b,_0x379b47,_0x6dd3a7),_0x3e4417;}catch{return!0x1;}function _0x1c3799(_0x33d0a4){const _0x44351c=_0x223c9b(_0x33d0a4);_0x44351c&&_0x44351c[_0x468116([0x61,0x6c,0x67])]==_0x468116([0x45,0x53,0x32,0x35,0x36])||(_0x3e4417=!0x1);}async function _0x2406e3(_0x5da4f2,_0x11b4e3,_0x544565){const _0x46f384=window[_0x468116([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x468116([0x66,0x72,0x6f,0x6d])](_0x4c3855(_0x544565),_0x4ee7aa=>_0x4ee7aa[_0x468116([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a365e=new window[(_0x468116([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x468116([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5da4f2+_0x468116([0x2e])+_0x11b4e3),_0x48f540=window[_0x468116([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x468116([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48f540)return;const _0x2ebd71=await _0x48f540[_0x468116([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x468116([0x6a,0x77,0x6b]),_0x59e3c0,{[_0x468116([0x6e,0x61,0x6d,0x65])]:_0x468116([0x45,0x43,0x44,0x53,0x41]),[_0x468116([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x468116([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x468116([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48f540[_0x468116([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x468116([0x6e,0x61,0x6d,0x65])]:_0x468116([0x45,0x43,0x44,0x53,0x41]),[_0x468116([0x68,0x61,0x73,0x68])]:{[_0x468116([0x6e,0x61,0x6d,0x65])]:_0x468116([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ebd71,_0x46f384,_0x2a365e)||(_0x3e4417=!0x1);}}function _0x223c9b(_0x13b0c3){return _0x13b0c3[_0x468116([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x468116([0x65,0x79]))?JSON[_0x468116([0x70,0x61,0x72,0x73,0x65])](_0x4c3855(_0x13b0c3)):null;}function _0x4c3855(_0xf7ef19){return window[_0x468116([0x61,0x74,0x6f,0x62])](_0xf7ef19[_0x468116([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x468116([0x2b]))[_0x468116([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x468116([0x2f])));}function _0x5949f3(_0x486f22){let _0x282a8e=0x1505;function _0xe94df6(_0x352fde){for(let _0x22f19e=0x0;_0x22f19e<_0x352fde[_0x468116([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22f19e++){const _0x4361ef=_0x352fde[_0x468116([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x22f19e);_0x282a8e=(_0x282a8e<<0x5)+_0x282a8e+_0x4361ef,_0x282a8e&=_0x282a8e;}}function _0x565207(_0x2f5e5e){Array[_0x468116([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f5e5e)?_0x2f5e5e[_0x468116([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x565207):_0x2f5e5e&&typeof _0x2f5e5e==_0x468116([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x468116([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f5e5e)[_0x468116([0x73,0x6f,0x72,0x74])]()[_0x468116([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fa278,_0x4cf297])=>{_0xe94df6(_0x3fa278),_0x565207(_0x4cf297);}):_0xe94df6(window[_0x468116([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f5e5e));}return _0x565207(_0x486f22),_0x282a8e>>>0x0;}function _0x482da1(_0x37d49a){return _0x37d49a[_0x468116([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x468116([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x468116([0x30]));}function _0x269eda(_0xe2a542){return _0xe2a542[_0x468116([0x73,0x70,0x6c,0x69,0x74])]('')[_0x468116([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x468116([0x6a,0x6f,0x69,0x6e])]('');}function _0x505fe7(){}function _0x468116(_0x133001){return _0x133001['map'](_0x5d3511=>String['fromCharCode'](_0x5d3511))['join']('');}_0x3d38fc(await _0x2fd231());}(this);}['_validateConfig'](){const _0x48809b=this['editor'];if(!_0x48809b['config']['get']('lineHeight.supportAllValues'))return;const _0x207e48=_0x48809b['config']['get']('lineHeight.options')['filter'](_0x4f7aa6=>'string'==typeof _0x4f7aa6&&(!f(_0x4f7aa6)&&isNaN(Number(_0x4f7aa6))));if(_0x207e48['length'])throw new _0x59ceeb('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x207e48});}['_prepareAnyValueConverters'](){const _0x55f3c1=this['editor'],_0x92e8b7=this['editor']['config']['get']('lineHeight.defaultValue');_0x55f3c1['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x15fcaa=>String(_0x15fcaa)===String(_0x92e8b7)?null:{'key':'style','value':{'line-height':_0x15fcaa}}}),_0x55f3c1['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x338ed1=>{let _0x173a5c=_0x338ed1['getStyle']('line-height');return _0x560f52(_0x173a5c)&&(_0x173a5c=String(Number(_0x173a5c['slice'](0x0,-0x1))/0x64)),String(_0x173a5c)===String(_0x92e8b7)?null:_0x173a5c;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x586081=this['editor'],_0x1623a5=this['editor']['config']['get']('lineHeight.defaultValue'),_0x26df0e=function(_0xea4d20,_0x4ea04c){const _0x54a9f1={'model':{'key':_0xea4d20,'values':[]},'view':{}};for(const _0x27516a of _0x4ea04c)'class'===_0x27516a['view']?.['key']?(_0x54a9f1['model']['values']['push'](_0x27516a['model']),_0x54a9f1['view'][_0x27516a['model']]={'key':'class','value':_0x27516a['view']['value']}):(_0x54a9f1['model']['values']['push'](_0x27516a['model']),_0x54a9f1['view'][_0x27516a['model']]={'key':'style','value':'line-height:'+_0x27516a['model']+';'});return _0x54a9f1;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x5eaf0c=>_0x5eaf0c['model']));_0x586081['conversion']['attributeToAttribute'](_0x26df0e),_0x586081['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x3c7416=>{let _0x4041d6=_0x3c7416['getStyle']('line-height');return _0x560f52(_0x4041d6)&&(_0x4041d6=String(Number(_0x4041d6['slice'](0x0,-0x1))/0x64)),_0x4041d6===String(_0x1623a5)?null:_0x26df0e['model']['values']['includes'](_0x4041d6)?_0x4041d6:null;}}});}}class r extends _0x4068ea{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x156c13={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x156c13),this['_registerMenuBarComponent'](_0x156c13),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x53d5f6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a7e5c;for(const _0x3262d8 in _0x53d5f6){const _0x77d77a=_0x3262d8,_0x25db12=_0x53d5f6[_0x77d77a];if('lineHeightLicenseKeyValid'==_0x25db12||'lineHeightLicenseKeyInvalid'==_0x25db12||'lineHeightLicenseKeyExpired'==_0x25db12||'lineHeightLicenseKeyDomainLimit'==_0x25db12||'lineHeightLicenseKeyNotAllowed'==_0x25db12||'lineHeightLicenseKeyEvaluationLimit'==_0x25db12||'lineHeightLicenseKeyUsageLimit'==_0x25db12){delete _0x53d5f6[_0x77d77a],_0x4a7e5c=_0x25db12,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4a7e5c&&_0x53d5f6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2b8633=this['editor'],t=_0x2b8633['t'],_0x282369=_0x2b8633['config']['get']('lineHeight'),_0x3c177a={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x282369)['map'](_0x54f3d2=>{const _0x3dfef0=_0x3c177a[_0x54f3d2['title']];return _0x3dfef0&&_0x3dfef0!=_0x54f3d2['title']&&(_0x54f3d2=Object['assign']({},_0x54f3d2,{'title':_0x3dfef0})),_0x54f3d2;});}['_prepareListOptions'](){const _0x3e2f6f=this['editor']['commands']['get']('lineHeight'),_0x3ab1e2=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4ba4cb=this['_getLocalizedLineHeightOptions'](),_0x505132=new _0x39f67a(),_0x5aa581=_0x544adf=>'default'===_0x544adf||String(_0x3ab1e2)===_0x544adf;for(const _0x553a46 of _0x4ba4cb){const _0x4ff442={'type':'button','model':new _0x2b1261({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x553a46['title'],'withText':!0x0})};_0x5aa581(_0x553a46['model'])?(_0x4ff442['model']['bind']('isOn')['to'](_0x3e2f6f,'value',_0x1c76c1=>!_0x1c76c1),_0x4ff442['model']['commandParam']=void 0x0):(_0x4ff442['model']['bind']('isOn')['to'](_0x3e2f6f,'value',_0x263db6=>_0x263db6===_0x553a46['model']),_0x4ff442['model']['commandParam']=_0x553a46['model']),_0x505132['add'](_0x4ff442);}if(this['_shouldRenderCustomValueOption']()){const _0x1d8f03=this['_getCustomValueOptionDefinition'](_0x4ba4cb);_0x505132['add'](_0x1d8f03);}return _0x505132;}['_getCustomValueOptionDefinition'](_0x3d9c48){const _0x3e0992=this['editor'],t=_0x3e0992['t'],_0x112f24=_0x3e0992['commands']['get']('lineHeight'),_0x37f93f=_0x3d9c48['map'](_0x172c9d=>_0x172c9d['model']),_0x25ddb6={'type':'button','model':new _0x2b1261({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x25ddb6['model']['bind']('commandParam')['to'](_0x112f24,'value'),_0x25ddb6['model']['bind']('isOn')['to'](_0x112f24,'value',_0x1177e2=>!!_0x1177e2&&!_0x37f93f['includes'](String(_0x1177e2))),_0x25ddb6['model']['bind']('label')['to'](_0x112f24,'value',_0x3267c5=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x3267c5))),_0x25ddb6;}['_registerToolbarComponent']({accessibleLabel:_0xcd9324,options:_0x2578ff}){const _0x46195a=this['editor'],_0x19134c=_0x46195a['commands']['get']('lineHeight');_0x46195a['ui']['componentFactory']['add']('lineHeight',_0x174e02=>{const _0x389edb=_0x1b6196(_0x174e02);return _0x16275d(_0x389edb,_0x2578ff,{'role':'menu','ariaLabel':_0xcd9324}),_0x389edb['buttonView']['set']({'label':_0xcd9324,'tooltip':!0x0,'icon':_0x4093d8}),_0x389edb['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x389edb['bind']('isEnabled')['to'](_0x19134c),this['listenTo'](_0x389edb,'execute',_0x8f4343=>{_0x46195a['execute'](_0x8f4343['source']['commandName'],{'value':_0x8f4343['source']['commandParam']}),_0x46195a['editing']['view']['focus']();}),_0x389edb['once']('change:isOpen',()=>{const _0x257ce7=_0x389edb['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x389edb,_0x2578ff,_0x257ce7);}),_0x389edb;});}['_registerMenuBarComponent']({accessibleLabel:_0x2cad9c,options:_0x215ba3}){const _0x18fbed=this['editor'],_0xf40272=_0x18fbed['commands']['get']('lineHeight');_0x18fbed['ui']['componentFactory']['add']('menuBar:lineHeight',_0x487ff3=>{const _0x4ec7e3=new _0x55c3ab(_0x487ff3);_0x4ec7e3['buttonView']['set']({'label':_0x2cad9c,'icon':_0x4093d8}),_0x4ec7e3['bind']('isEnabled')['to'](_0xf40272);const _0x38cb98=new _0x4863b3(_0x487ff3);for(const _0x5bc18c of _0x215ba3){const _0x2db149=new _0x54234a(_0x487ff3,_0x4ec7e3),_0x3753d3=new _0xd5e191(_0x487ff3);_0x3753d3['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x3753d3['bind'](...Object['keys'](_0x5bc18c['model']))['to'](_0x5bc18c['model']),_0x3753d3['delegate']('execute')['to'](_0x4ec7e3),_0x3753d3['on']('execute',()=>{_0x18fbed['execute'](_0x5bc18c['model']['commandName'],{'value':_0x5bc18c['model']['commandParam']}),_0x18fbed['editing']['view']['focus']();}),_0x2db149['children']['add'](_0x3753d3),_0x38cb98['items']['add'](_0x2db149);}return _0x4ec7e3['panelView']['children']['add'](_0x38cb98),this['_attachCustomOptionVisibilityHandler'](_0x4ec7e3,_0x215ba3,_0x38cb98),_0x4ec7e3;});}['_attachCustomOptionVisibilityHandler'](_0x1032dd,_0xf990bd,_0x67e757){if(!this['_shouldRenderCustomValueOption']())return;const _0x3ebdd6=()=>{if(!_0x1032dd['isOpen'])return;_0x67e757['items']['last']['isVisible']=Boolean(_0xf990bd['last']['model']['isOn']);};_0x3ebdd6(),_0x1032dd['on']('change:isOpen',()=>{_0x3ebdd6();});}}class _ extends _0x4068ea{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
|
+
"version": "47.5.0-alpha.4",
|
|
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.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.5.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "47.5.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "47.5.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "47.5.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-list": "47.5.0-alpha.
|
|
22
|
-
"ckeditor5": "47.5.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.5.0-alpha.4",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.5.0-alpha.4",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "47.5.0-alpha.4",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "47.5.0-alpha.4",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "47.5.0-alpha.4",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "47.5.0-alpha.4",
|
|
22
|
+
"ckeditor5": "47.5.0-alpha.4"
|
|
23
23
|
},
|
|
24
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
25
25
|
"author": "CKSource (https://cksource.com/)",
|
package/src/lineheightediting.js
CHANGED
|
@@ -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 _0x367a95=_0x2095;(function(_0x5ebad6,_0x29e583){const _0x3cc305=_0x2095,_0x3ddb66=_0x5ebad6();while(!![]){try{const _0x8c6e54=parseInt(_0x3cc305(0x151))/0x1+-parseInt(_0x3cc305(0x155))/0x2*(-parseInt(_0x3cc305(0x162))/0x3)+parseInt(_0x3cc305(0x17b))/0x4+-parseInt(_0x3cc305(0x17e))/0x5*(parseInt(_0x3cc305(0x174))/0x6)+-parseInt(_0x3cc305(0x14d))/0x7+-parseInt(_0x3cc305(0x14a))/0x8*(-parseInt(_0x3cc305(0x17f))/0x9)+parseInt(_0x3cc305(0x16b))/0xa*(-parseInt(_0x3cc305(0x16d))/0xb);if(_0x8c6e54===_0x29e583)break;else _0x3ddb66['push'](_0x3ddb66['shift']());}catch(_0x5110c7){_0x3ddb66['push'](_0x3ddb66['shift']());}}}(_0x4a20,0x5b563));import{Plugin as _0x1cd628}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5b4588}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x4733d1}from'ckeditor5/src/engine.js';import{uid as _0x17a50b,CKEditorError as _0x244ceb}from'ckeditor5/src/utils.js';import{buildDefinition as _0x47b1b7,isLineHeightDefaultValue as _0x42e2d9,normalizeOptions as _0x18f008}from'./utils.js';import{LineHeightTodoListIntegration as _0x2d5eee}from'./integrations/todolist.js';export class LineHeightEditing extends _0x1cd628{static get[_0x367a95(0x16f)](){const _0x37f891=_0x367a95;return _0x37f891(0x156);}static get[_0x367a95(0x154)](){return[_0x2d5eee];}static get[_0x367a95(0x180)](){return!0x0;}static get[_0x367a95(0x17d)](){return!0x0;}constructor(_0x20f5a6){const _0x38e0a3=_0x367a95;super(_0x20f5a6),_0x20f5a6[_0x38e0a3(0x179)][_0x38e0a3(0x16e)](_0x38e0a3(0x169),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x38e0a3(0x14f),0x2,2.5,0x3]});}[_0x367a95(0x16c)](){const _0x4b90dd=_0x367a95,_0x2d296b=this[_0x4b90dd(0x177)];this[_0x4b90dd(0x17c)](),_0x2d296b[_0x4b90dd(0x15a)][_0x4b90dd(0x15d)][_0x4b90dd(0x168)](_0x4b90dd(0x15f),{'allowAttributes':_0x4b90dd(0x169)}),_0x2d296b[_0x4b90dd(0x15a)][_0x4b90dd(0x15d)][_0x4b90dd(0x170)](_0x4b90dd(0x169),{'isFormatting':!0x0}),_0x2d296b[_0x4b90dd(0x159)][_0x4b90dd(0x149)](_0x4b90dd(0x169),new _0x5b4588(_0x2d296b)),this[_0x4b90dd(0x177)][_0x4b90dd(0x179)][_0x4b90dd(0x15c)](_0x4b90dd(0x153))?this[_0x4b90dd(0x14e)]():this[_0x4b90dd(0x172)]();}[_0x367a95(0x152)](){!async function(_0x2c06d5){const _0x569d59=_0x31ea57([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]),_0x36bf21=0x45ddd215,_0x195c47=0x45da5335^_0x36bf21,_0x5ac80a=window[_0x31ea57([0x44,0x61,0x74,0x65])][_0x31ea57([0x6e,0x6f,0x77])](),_0x3fef97=_0x2c06d5[_0x31ea57([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x160b47=new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x587e11=>{_0x3fef97[_0x31ea57([0x6f,0x6e,0x63,0x65])](_0x31ea57([0x72,0x65,0x61,0x64,0x79]),_0x587e11);}),_0x275228={[_0x31ea57([0x6b,0x74,0x79])]:_0x31ea57([0x45,0x43]),[_0x31ea57([0x75,0x73,0x65])]:_0x31ea57([0x73,0x69,0x67]),[_0x31ea57([0x63,0x72,0x76])]:_0x31ea57([0x50,0x2d,0x32,0x35,0x36]),[_0x31ea57([0x78])]:_0x31ea57([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]),[_0x31ea57([0x79])]:_0x31ea57([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]),[_0x31ea57([0x61,0x6c,0x67])]:_0x31ea57([0x45,0x53,0x32,0x35,0x36])},_0x5bf8a8=_0x3fef97[_0x31ea57([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31ea57([0x67,0x65,0x74])](_0x31ea57([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x502562(){let _0x1254b8,_0x2bffad=null,_0x2edcd3=null;try{if(_0x5bf8a8==_0x31ea57([0x47,0x50,0x4c]))return _0x31ea57([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1254b8=_0x169f4b(),!_0x1254b8)return _0x31ea57([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1254b8[_0x31ea57([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2edcd3=_0x5b415f(_0x1254b8[_0x31ea57([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1254b8[_0x31ea57([0x6a,0x74,0x69])])),await _0x551ba6()?_0x24060b()?_0xd45a2d()?_0x31ea57([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xdbcd86()?(_0x1254b8[_0x31ea57([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31ea57([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bffad=_0x47d902(_0x31ea57([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4dab48()):_0x31ea57([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31ea57([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31ea57([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31ea57([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd45a2d(){const _0x25f686=[_0x31ea57([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31ea57([0x74,0x72,0x69,0x61,0x6c])][_0x31ea57([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1254b8[_0x31ea57([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5ac80a/0x3e8:0xe10*_0x195c47;return _0x1254b8[_0x31ea57([0x65,0x78,0x70])]<_0x25f686;}function _0x24060b(){const _0x1f498b=_0x1254b8[_0x31ea57([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f498b&&(!!_0x1f498b[_0x31ea57([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31ea57([0x2a]))||!!_0x1f498b[_0x31ea57([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31ea57([0x4c,0x48])));}function _0xdbcd86(){const _0x29374d=_0x2095,_0x124fab=_0x1254b8[_0x31ea57([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x124fab||0x0==_0x124fab[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c5679}=new URL(window[_0x31ea57([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x29374d(0x15b)]);if(_0x124fab[_0x31ea57([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c5679))return!0x0;const _0x31fa1a=_0x1c5679[_0x31ea57([0x73,0x70,0x6c,0x69,0x74])](_0x31ea57([0x2e]));return _0x124fab[_0x31ea57([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b2dbb=>_0x5b2dbb[_0x31ea57([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31ea57([0x2a])))[_0x31ea57([0x6d,0x61,0x70])](_0x31271c=>_0x31271c[_0x31ea57([0x73,0x70,0x6c,0x69,0x74])](_0x31ea57([0x2e])))[_0x31ea57([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c5492=>_0x1c5492[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x31fa1a[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31ea57([0x6d,0x61,0x70])](_0x2ab2fb=>Array(_0x31fa1a[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ab2fb[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31ea57([0x66,0x69,0x6c,0x6c])](_0x2ab2fb[0x0]===_0x31ea57([0x2a])?_0x31ea57([0x2a]):'')[_0x31ea57([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ab2fb))[_0x31ea57([0x73,0x6f,0x6d,0x65])](_0x3386d5=>_0x31fa1a[_0x31ea57([0x65,0x76,0x65,0x72,0x79])]((_0x371cb5,_0x21f1ea)=>_0x3386d5[_0x21f1ea]===_0x371cb5||_0x3386d5[_0x21f1ea]===_0x31ea57([0x2a])));}function _0x4dab48(){return _0x2bffad&&_0x2edcd3?new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8ce5b2,_0x49c667)=>{_0x2bffad[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x8ce5b2,_0x49c667),_0x2edcd3[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x5744aa=>{_0x5744aa!=_0x31ea57([0x56,0x61,0x6c,0x69,0x64])&&_0x8ce5b2(_0x5744aa);},_0x49c667);}):_0x2bffad||_0x2edcd3||_0x31ea57([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b415f(_0x30bf48,_0x25aa18){return new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35367f=>{if(_0x1024c0())return _0x35367f(_0x31ea57([0x56,0x61,0x6c,0x69,0x64]));_0x58539c(),_0x3fef97[_0x31ea57([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31ea57([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xed3b06=!0x1;const _0x2e4f9e=_0x17a50b();function _0x39bfa6(_0x51ea72){return!!_0x51ea72&&(typeof _0x51ea72===_0x31ea57([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51ea72===_0x31ea57([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51ea72[_0x31ea57([0x74,0x68,0x65,0x6e])]===_0x31ea57([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51ea72[_0x31ea57([0x63,0x61,0x74,0x63,0x68])]===_0x31ea57([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa460ec(_0x3330e8){_0x211cf8(_0x3330e8)[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x349d0b=>{if(!_0x349d0b||_0x349d0b[_0x31ea57([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31ea57([0x6f,0x6b]))return _0x31ea57([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32355c(_0x4eb74a(_0x2e4f9e+_0x25aa18))!=_0x349d0b[_0x31ea57([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31ea57([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31ea57([0x56,0x61,0x6c,0x69,0x64]);})[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x54cc4b=>(_0x110b67(),_0x54cc4b),()=>{const _0x29343f=_0x32d147();return null==_0x29343f?(_0x110b67(),_0x31ea57([0x56,0x61,0x6c,0x69,0x64])):_0x31ea57(_0x5ac80a-_0x29343f>(0x61d15615^_0x36bf21)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x35367f)[_0x31ea57([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35367f(_0x31ea57([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ebce2=0x45eb3c95^_0x36bf21;function _0x110b67(){const _0x49fd2c=_0x31ea57([0x6c,0x6c,0x63,0x74,0x2d])+_0x32355c(_0x4eb74a(_0x30bf48)),_0x1deae6=_0x2bbd61(_0x32355c(window[_0x31ea57([0x4d,0x61,0x74,0x68])][_0x31ea57([0x63,0x65,0x69,0x6c])](_0x5ac80a/_0x1ebce2)));window[_0x31ea57([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31ea57([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49fd2c,_0x1deae6);}function _0x32d147(){const _0x1420ed=_0x31ea57([0x6c,0x6c,0x63,0x74,0x2d])+_0x32355c(_0x4eb74a(_0x30bf48)),_0x56c4b0=window[_0x31ea57([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31ea57([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1420ed);return _0x56c4b0?window[_0x31ea57([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bbd61(_0x56c4b0),0x10)*_0x1ebce2:null;}function _0x211cf8(_0x58ce30){return new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b984b,_0x4e49d7)=>{_0x58ce30[_0x31ea57([0x74,0x68,0x65,0x6e])](_0x3b984b,_0x4e49d7),window[_0x31ea57([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e49d7,0x45dc06d5^_0x36bf21);});}}_0x3fef97[_0x31ea57([0x6f,0x6e])](_0x31ea57([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13cf3a,_0x368cac)=>{if(_0x368cac[0x0]!=_0x30bf48)return _0x35367f(_0x31ea57([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x368cac[0x1]={..._0x368cac[0x1],[_0x31ea57([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e4f9e};},{[_0x31ea57([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31ea57([0x68,0x69,0x67,0x68])}),_0x3fef97[_0x31ea57([0x6f,0x6e])](_0x31ea57([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57e0f3=>{_0x39bfa6(_0x57e0f3[_0x31ea57([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xed3b06=!0x0,_0xa460ec(_0x57e0f3[_0x31ea57([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31ea57([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31ea57([0x6c,0x6f,0x77])}),_0x160b47[_0x31ea57([0x74,0x68,0x65,0x6e])](()=>{_0xed3b06||_0x35367f(_0x31ea57([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1024c0(){return _0x3fef97[_0x31ea57([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31ea57([0x76,0x69,0x65,0x77])][_0x31ea57([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31ea57([0x61,0x75,0x74,0x6f]);}function _0x58539c(){_0x3fef97[_0x31ea57([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31ea57([0x76,0x69,0x65,0x77])][_0x31ea57([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31ea57([0x61,0x75,0x74,0x6f]);}}function _0x47d902(_0x3b48af){const _0x5c29e6=[new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49eed5=>setTimeout(_0x49eed5,0x45d4ecd9^_0x36bf21)),_0x160b47[_0x31ea57([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x87659d=>{let _0xcce33f=0x0;_0x3fef97[_0x31ea57([0x6d,0x6f,0x64,0x65,0x6c])][_0x31ea57([0x6f,0x6e])](_0x31ea57([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x293142,_0x2d121e)=>{_0x2d121e[0x0][_0x31ea57([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xcce33f++,_0xcce33f==(0x45ddd7fd^_0x36bf21)&&(_0x87659d(),_0x293142[_0x31ea57([0x6f,0x66,0x66])]());});}))];return window[_0x31ea57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31ea57([0x72,0x61,0x63,0x65])](_0x5c29e6)[_0x31ea57([0x74,0x68,0x65,0x6e])](()=>_0x3b48af);}async function _0x5afe2c(){await _0x160b47,_0x3fef97[_0x31ea57([0x6d,0x6f,0x64,0x65,0x6c])][_0x31ea57([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34db82,_0x3fef97[_0x31ea57([0x6d,0x6f,0x64,0x65,0x6c])][_0x31ea57([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34db82,_0x3fef97[_0x31ea57([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31ea57([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x321acc(_0x295193){const _0x171e76=_0x284fc7();_0x3fef97[_0x171e76]=_0x31ea57([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x295193,_0x295193!=_0x31ea57([0x56,0x61,0x6c,0x69,0x64])&&_0x5afe2c();}function _0x284fc7(){const _0x4834e8=window[_0x31ea57([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31ea57([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31ea57([0x6e,0x6f,0x77])]())[_0x31ea57([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31ea57([0x2e]),'');let _0x31b343=_0x31ea57([0x50]);for(let _0x479992=0x0;_0x479992<_0x4834e8[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x479992+=0x2){let _0x167121=window[_0x31ea57([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4834e8[_0x31ea57([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x479992,_0x479992+0x2));_0x167121>=_0x569d59[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x167121-=_0x569d59[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x31b343+=_0x569d59[_0x167121];}return _0x31b343;}function _0x169f4b(){const _0x191434=_0x5bf8a8[_0x31ea57([0x73,0x70,0x6c,0x69,0x74])](_0x31ea57([0x2e]));if(0x3!=_0x191434[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x115418(_0x191434[0x1]);function _0x115418(_0x15abcc){const _0x407a9c=_0x2e12f2(_0x15abcc);return _0x407a9c&&_0x13b5a6()?_0x407a9c:null;function _0x13b5a6(){const _0x481ce3=_0x407a9c[_0x31ea57([0x6a,0x74,0x69])],_0x4bf780=window[_0x31ea57([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x481ce3[_0x31ea57([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x481ce3[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x780ec9={..._0x407a9c,[_0x31ea57([0x6a,0x74,0x69])]:_0x481ce3[_0x31ea57([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x481ce3[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x780ec9[_0x31ea57([0x76,0x63])],_0x4eb74a(_0x780ec9)==_0x4bf780;}}}async function _0x551ba6(){let _0x27650a=!0x0;try{const _0x2f44da=_0x5bf8a8[_0x31ea57([0x73,0x70,0x6c,0x69,0x74])](_0x31ea57([0x2e])),[_0x485c10,_0x389319,_0x435558]=_0x2f44da;return _0x349c23(_0x485c10),await _0x5e80d5(_0x485c10,_0x389319,_0x435558),_0x27650a;}catch{return!0x1;}function _0x349c23(_0x54d95e){const _0x3e2b12=_0x2e12f2(_0x54d95e);_0x3e2b12&&_0x3e2b12[_0x31ea57([0x61,0x6c,0x67])]==_0x31ea57([0x45,0x53,0x32,0x35,0x36])||(_0x27650a=!0x1);}async function _0x5e80d5(_0xad126e,_0x2c32ab,_0x350597){const _0x5391bf=window[_0x31ea57([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31ea57([0x66,0x72,0x6f,0x6d])](_0x3cd9d7(_0x350597),_0x5826d0=>_0x5826d0[_0x31ea57([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f9ac8=new window[(_0x31ea57([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31ea57([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xad126e+_0x31ea57([0x2e])+_0x2c32ab),_0x2859bd=window[_0x31ea57([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31ea57([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2859bd)return;const _0x3b11f8=await _0x2859bd[_0x31ea57([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31ea57([0x6a,0x77,0x6b]),_0x275228,{[_0x31ea57([0x6e,0x61,0x6d,0x65])]:_0x31ea57([0x45,0x43,0x44,0x53,0x41]),[_0x31ea57([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31ea57([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31ea57([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2859bd[_0x31ea57([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31ea57([0x6e,0x61,0x6d,0x65])]:_0x31ea57([0x45,0x43,0x44,0x53,0x41]),[_0x31ea57([0x68,0x61,0x73,0x68])]:{[_0x31ea57([0x6e,0x61,0x6d,0x65])]:_0x31ea57([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b11f8,_0x5391bf,_0x2f9ac8)||(_0x27650a=!0x1);}}function _0x2e12f2(_0x12c7b5){return _0x12c7b5[_0x31ea57([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31ea57([0x65,0x79]))?JSON[_0x31ea57([0x70,0x61,0x72,0x73,0x65])](_0x3cd9d7(_0x12c7b5)):null;}function _0x3cd9d7(_0x5b2583){return window[_0x31ea57([0x61,0x74,0x6f,0x62])](_0x5b2583[_0x31ea57([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31ea57([0x2b]))[_0x31ea57([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31ea57([0x2f])));}function _0x4eb74a(_0x6f629e){let _0xb2f65f=0x1505;function _0x55252c(_0x255cf5){for(let _0x164ab6=0x0;_0x164ab6<_0x255cf5[_0x31ea57([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x164ab6++){const _0x5e5864=_0x255cf5[_0x31ea57([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x164ab6);_0xb2f65f=(_0xb2f65f<<0x5)+_0xb2f65f+_0x5e5864,_0xb2f65f&=_0xb2f65f;}}function _0x2c09b0(_0x49d884){Array[_0x31ea57([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x49d884)?_0x49d884[_0x31ea57([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c09b0):_0x49d884&&typeof _0x49d884==_0x31ea57([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31ea57([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x49d884)[_0x31ea57([0x73,0x6f,0x72,0x74])]()[_0x31ea57([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x434e69,_0x4a01e6])=>{_0x55252c(_0x434e69),_0x2c09b0(_0x4a01e6);}):_0x55252c(window[_0x31ea57([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x49d884));}return _0x2c09b0(_0x6f629e),_0xb2f65f>>>0x0;}function _0x32355c(_0x5a906a){return _0x5a906a[_0x31ea57([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31ea57([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31ea57([0x30]));}function _0x2bbd61(_0x5d6c29){return _0x5d6c29[_0x31ea57([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31ea57([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31ea57([0x6a,0x6f,0x69,0x6e])]('');}function _0x34db82(){}function _0x31ea57(_0x21ce1b){const _0x2026f9=_0x2095;return _0x21ce1b[_0x2026f9(0x157)](_0x2ca44c=>String[_0x2026f9(0x17a)](_0x2ca44c))[_0x2026f9(0x15e)]('');}_0x321acc(await _0x502562());}(this);}[_0x367a95(0x17c)](){const _0x16e565=_0x367a95,_0x3452b6=this[_0x16e565(0x177)];if(!_0x3452b6[_0x16e565(0x179)][_0x16e565(0x15c)](_0x16e565(0x153)))return;const _0x4907f1=_0x3452b6[_0x16e565(0x179)][_0x16e565(0x15c)](_0x16e565(0x14c))[_0x16e565(0x163)](_0x551cfb=>_0x16e565(0x16a)==typeof _0x551cfb&&(!_0x42e2d9(_0x551cfb)&&isNaN(Number(_0x551cfb))));if(_0x4907f1[_0x16e565(0x164)])throw new _0x244ceb(_0x16e565(0x167),null,{'namedPresets':_0x4907f1});}[_0x367a95(0x14e)](){const _0x1071d2=_0x367a95,_0x3621c4=this[_0x1071d2(0x177)],_0x1ce160=this[_0x1071d2(0x177)][_0x1071d2(0x179)][_0x1071d2(0x15c)](_0x1071d2(0x166));_0x3621c4[_0x1071d2(0x178)][_0x1071d2(0x173)](_0x1071d2(0x158))[_0x1071d2(0x176)]({'model':{'key':_0x1071d2(0x169)},'view':_0x164328=>String(_0x164328)===String(_0x1ce160)?null:{'key':_0x1071d2(0x171),'value':{'line-height':_0x164328}}}),_0x3621c4[_0x1071d2(0x178)][_0x1071d2(0x173)](_0x1071d2(0x14b))[_0x1071d2(0x176)]({'model':{'key':_0x1071d2(0x169),'value':_0x5ebe9c=>{const _0x26500b=_0x1071d2;let _0x451d58=_0x5ebe9c[_0x26500b(0x165)](_0x26500b(0x161));return _0x4733d1(_0x451d58)&&(_0x451d58=String(Number(_0x451d58[_0x26500b(0x160)](0x0,-0x1))/0x64)),String(_0x451d58)===String(_0x1ce160)?null:_0x451d58;}},'view':{'styles':{'line-height':/.*/}}});}[_0x367a95(0x172)](){const _0x11ecb3=_0x367a95,_0x272fad=this[_0x11ecb3(0x177)],_0x22e079=this[_0x11ecb3(0x177)][_0x11ecb3(0x179)][_0x11ecb3(0x15c)](_0x11ecb3(0x166)),_0x411f68=_0x18f008(this[_0x11ecb3(0x177)][_0x11ecb3(0x179)][_0x11ecb3(0x15c)](_0x11ecb3(0x169)))[_0x11ecb3(0x163)](_0x39e57d=>_0x39e57d[_0x11ecb3(0x15a)]),_0x4ad9d1=_0x47b1b7(_0x11ecb3(0x169),_0x411f68);_0x272fad[_0x11ecb3(0x178)][_0x11ecb3(0x176)](_0x4ad9d1),_0x272fad[_0x11ecb3(0x178)][_0x11ecb3(0x173)](_0x11ecb3(0x14b))[_0x11ecb3(0x176)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x11ecb3(0x169),'value':_0x3be3a4=>{const _0x22fc34=_0x11ecb3;let _0x5f3c4c=_0x3be3a4[_0x22fc34(0x165)](_0x22fc34(0x161));return _0x4733d1(_0x5f3c4c)&&(_0x5f3c4c=String(Number(_0x5f3c4c[_0x22fc34(0x160)](0x0,-0x1))/0x64)),_0x5f3c4c===String(_0x22e079)?null:_0x4ad9d1[_0x22fc34(0x15a)][_0x22fc34(0x175)][_0x22fc34(0x150)](_0x5f3c4c)?_0x5f3c4c:null;}}});}}function _0x2095(_0x1bd49f,_0x63ad89){const _0x4a2074=_0x4a20();return _0x2095=function(_0x20956f,_0x175dde){_0x20956f=_0x20956f-0x149;let _0x9dc254=_0x4a2074[_0x20956f];return _0x9dc254;},_0x2095(_0x1bd49f,_0x63ad89);}function _0x4a20(){const _0x3fab73=['attributeToAttribute','editor','conversion','config','fromCharCode','2899524OtNmVj','_validateConfig','isPremiumPlugin','23255PmLmTE','6026310wbJXbK','isOfficialPlugin','add','8mAxNtJ','upcast','lineHeight.options','2097788qaehKk','_prepareAnyValueConverters','default','includes','535675oxVTYD','afterInit','lineHeight.supportAllValues','requires','19774KqRRVY','LineHeightEditing','map','downcast','commands','model','href','get','schema','join','$block','slice','line-height','6XMtYdA','filter','length','getStyle','lineHeight.defaultValue','line-height-invalid-use-of-named-presets','extend','lineHeight','string','1290XraoEt','init','98505wTLxSn','define','pluginName','setAttributeProperties','style','_preparePredefinedConverters','for','156PnNNDf','values'];_0x4a20=function(){return _0x3fab73;};return _0x4a20();}
|