@ckeditor/ckeditor5-line-height 0.0.0-nightly-next-20251225.0 → 0.0.0-nightly-next-20251226.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-2025, 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:()=>G,LineHeightCommand:()=>a,LineHeightEditing:()=>N,LineHeightTodoListIntegration:()=>S,LineHeightUI:()=>B});var e=n(782),t=n(584);function r(e,t){const n=s();return(r=function(e,t){return n[e-=148]})(e,t)}const o=r;function s(){const e=["removeAttribute","filter","1514625TqXSgg","selection","_canHaveLineHeight","value","model","37935800GyGMwM","getSelectedBlocks","5871600dOiUYA","isEnabled","7212708CqdslT","schema","getAttribute","editor","setAttribute","343646nrsrdN","from","document","lineHeight","change","6065430cGpPPK","128173LJGaiG","checkAttribute","refresh","execute","15PlAEKR"];return(s=function(){return e})()}!function(e){const t=r,n=e();for(;;)try{if(777450===parseInt(t(158))/1+-parseInt(t(152))/2*(parseInt(t(162))/3)+-parseInt(t(172))/4+parseInt(t(165))/5+-parseInt(t(174))/6+-parseInt(t(157))/7+parseInt(t(170))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[o(160)](){const e=o,n=this[e(150)][e(169)][e(154)],i=(0,t.first)(n[e(166)][e(171)]());this[e(173)]=Boolean(i)&&this[e(167)](i),this[e(168)]=this[e(173)]&&i[e(149)](e(155))}[o(161)](e={}){const t=o,n=this[t(150)][t(169)],i=n[t(154)][t(166)],r=e[t(168)];n[t(156)](e=>{const n=t,o=Array[n(153)](i[n(171)]())[n(164)](e=>this[n(167)](e));for(const t of o)r?e[n(151)](n(155),r,t):e[n(163)](n(155),t)})}[o(167)](e){const t=o;return this[t(150)][t(169)][t(148)][t(159)](e,t(155))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(433458===-parseInt(t(142))/1*(parseInt(t(138))/2)+parseInt(t(136))/3*(-parseInt(t(168))/4)+-parseInt(t(166))/5*(parseInt(t(161))/6)+-parseInt(t(150))/7*(parseInt(t(141))/8)+-parseInt(t(149))/9+parseInt(t(153))/10+-parseInt(t(139))/11*(-parseInt(t(167))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);const l={get single(){const e=h;return{title:e(164),model:e(152),view:{key:e(140),value:e(135)}}},get double(){const e=h;return{title:e(169),model:e(156),view:{key:e(140),value:e(151)}}}};function u(e){const t=h;return t(162)==typeof e&&t(154)===e[t(158)]()}function d(e){const t=h;return e[t(160)][t(146)](n=>u(n)?{title:String(e[t(144)]),model:t(154)}:(t(148)==typeof n&&(n=String(n)),t(162)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(155),styles:{"line-height":n}}}:function(e){const t=h;return t(162)==typeof e?l[e]:l[e[t(143)]]}(n)))[t(159)](e=>void 0!==e)}function h(e,t){const n=p();return(h=function(e,t){return n[e-=134]})(e,t)}function p(){const e=["single","4786780SGePor","default","span","double","push","toLowerCase","filter","options","3336792xelQnO","string","values","Single","view","5tCztAY","19120812HDZeAO","9956eJzDMk","Double","line-height:","line-height-single","21COImsu","style","146fsHGyY","11NTIaKt","class","4652792vKFbcs","3207pMGhmw","model","defaultValue","key","map","value","number","2244204JGtksy","7aedgtr","line-height-double"];return(p=function(){return 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;function O(){const e=["144TiSQLh","--ck-content-list-marker-line-height","item","ListEditing","add","elementToElement","high","for","ck-list-marker-line-height","has","getAttribute","listType","isPremiumPlugin","upcast","TodoListEditing","492878zjGfQJ","element:li","todo-list__label__description","19615905QvarKe","1DmyBEh","3576960PbRBtV","addClass","isOfficialPlugin","viewItem","editor","consume","consumable","lineHeight","33676UeMXHr","todo","span","name","init","paragraph","get","registerDowncastStrategy","pluginName","LineHeightTodoListIntegration","683305tmXgii","setStyle","match","2484336obIeSv","715025hXzkpQ"];return(O=function(){return e})()}const E=A;function A(e,t){const n=O();return(A=function(e,t){return n[e-=264]})(e,t)}!function(e){const t=A,n=e();for(;;)try{if(381672===-parseInt(t(265))/1*(parseInt(t(304))/2)+-parseInt(t(289))/3*(parseInt(t(274))/4)+-parseInt(t(288))/5+-parseInt(t(266))/6+-parseInt(t(284))/7+-parseInt(t(287))/8+parseInt(t(264))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(O);class S extends e.Plugin{static get[E(282)](){return E(283)}static get[E(268)](){return!0}static get[E(301)](){return!0}[E(278)](){const e=E,{plugins:t,conversion:n}=this[e(270)];t[e(298)](e(292))&&t[e(298)](e(303))&&(t[e(280)](e(292))[e(281)]({scope:e(291),attributeName:e(273),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(275)==o[s(299)](s(300))&&n&&(t[s(267)](s(297),i),t[s(285)](s(290),n,i))}}),n[e(296)](e(302))[e(294)]({view:{name:e(276),classes:e(306)},model:e(279),converterPriority:e(295)}),n[e(296)](e(302))[e(293)](t=>{const n=e;t.on(n(305),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=A,o=t[r(286)](n[r(269)]);if(!o)return;const s=o[r(286)];s[r(277)]=!1,i[r(272)][r(271)](n[r(269)],s)}}({name:"li",classes:n(297),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const C=x;function T(){const e=["downcast","LineHeightEditing","7AySSFX","define","fromCharCode","model","_validateConfig","3711570knHoZc","$block","for","lineHeight.supportAllValues","line-height","editor","10467mCQmJN","values","init","afterInit","setAttributeProperties","map","172296EYIxFq","string","line-height-invalid-use-of-named-presets","250546uelmGJ","config","926492ECqIBk","lineHeight.options","_prepareAnyValueConverters","join","getStyle","1701550dxymJH","extend","8488tZlWKZ","pluginName","lineHeight.defaultValue","length","attributeToAttribute","lineHeight","get","style","conversion","slice","schema","isOfficialPlugin","requires","filter","upcast","916218dUnXlT","href","isPremiumPlugin","default","_preparePredefinedConverters","commands","includes","add"];return(T=function(){return e})()}function x(e,t){const n=T();return(x=function(e,t){return n[e-=139]})(e,t)}!function(e){const t=x,n=e();for(;;)try{if(547092===-parseInt(t(165))/1+parseInt(t(141))/2+parseInt(t(192))/3+-parseInt(t(143))/4+-parseInt(t(148))/5+-parseInt(t(180))/6*(-parseInt(t(175))/7)+-parseInt(t(150))/8*(-parseInt(t(186))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);class N extends e.Plugin{static get[C(151)](){return C(174)}static get[C(162)](){return[S]}static get[C(161)](){return!0}static get[C(167)](){return!0}constructor(e){const t=C;super(e),e[t(142)][t(176)](t(155),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(168),2,2.5,3]})}[C(188)](){const e=C,t=this[e(185)];this[e(179)](),t[e(178)][e(160)][e(149)](e(181),{allowAttributes:e(155)}),t[e(178)][e(160)][e(190)](e(155),{isFormatting:!0}),t[e(170)][e(172)](e(155),new a(t)),this[e(185)][e(142)][e(156)](e(183))?this[e(145)]():this[e(169)]()}[C(189)](){!async function(e){const n=g([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[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=x;return e[t(191)](e=>String[t(177)](e))[t(146)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([80]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,f=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function f(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=p(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{f(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1766620800;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=x,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(166)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[C(179)](){const e=C,n=this[e(185)];if(!n[e(142)][e(156)](e(183)))return;const i=n[e(142)][e(156)](e(144))[e(163)](t=>e(139)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(153)])throw new t.CKEditorError(e(140),null,{namedPresets:i})}[C(145)](){const e=C,t=this[e(185)],n=this[e(185)][e(142)][e(156)](e(152));t[e(158)][e(182)](e(173))[e(154)]({model:{key:e(155)},view:t=>String(t)===String(n)?null:{key:e(157),value:{"line-height":t}}}),t[e(158)][e(182)](e(164))[e(154)]({model:{key:e(155),value:t=>{const i=e;let r=t[i(147)](i(184));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(159)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[C(169)](){const e=C,t=this[e(185)],n=this[e(185)][e(142)][e(156)](e(152)),i=d(this[e(185)][e(142)][e(156)](e(155)))[e(163)](t=>t[e(178)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(140)===e[n(165)]?.[n(145)]?(i[n(143)][n(163)][n(157)](e[n(143)]),i[n(165)][e[n(143)]]={key:n(140),value:e[n(165)][n(147)]}):(i[n(143)][n(163)][n(157)](e[n(143)]),i[n(165)][e[n(143)]]={key:n(137),value:n(134)+e[n(143)]+";"});return i}(e(155),i);t[e(158)][e(154)](r),t[e(158)][e(182)](e(164))[e(154)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(155),value:t=>{const i=e;let o=t[i(147)](i(184));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(159)](0,-1))/100)),o===String(n)?null:r[i(178)][i(187)][i(171)](o)?o:null}}})}}var P=n(311),K=n(355),V=n(784),M={attributes:{"data-cke":!0}};M.setAttributes=b(),M.insert=y().bind(null,"head"),M.domAPI=w(),M.insertStyleElement=_();g()(V.A,M);V.A&&V.A.locals&&V.A.locals;class B extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return d(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new P.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 P.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,P.createDropdown)(r);return(0,P.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 P.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new P.MenuBarMenuListView(r);for(const e of t){const t=new P.MenuBarMenuListItemView(r,o),i=new P.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var D=j;!function(e){for(var t=j,n=e();;)try{if(555188===parseInt(t(245))/1*(-parseInt(t(256))/2)+-parseInt(t(247))/3+parseInt(t(249))/4+parseInt(t(255))/5+-parseInt(t(254))/6*(-parseInt(t(248))/7)+-parseInt(t(258))/8+parseInt(t(253))/9*(parseInt(t(251))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U);class G extends e.Plugin{static get[D(250)](){return[N,B]}static get[D(257)](){return D(244)}static get[D(252)](){return!0}static get[D(246)](){return!0}}function j(e,t){var n=U();return(j=function(e,t){return n[e-=244]})(e,t)}function U(){var e=["131XuLBzx","isPremiumPlugin","2574924rJWRtL","7174013cWYFvG","485068oKDuTO","requires","10kSSima","isOfficialPlugin","3496302Mqxeax","6XiszCb","1107050tXAbEC","1182TJGJno","pluginName","2120776cOwdDw","LineHeight"];return(U=function(){return e})()}function J(e,t){var n=z();return(J=function(e,t){return n[e-=343]})(e,t)}function z(){var e=["55684QcNbnV","4076220ndmzJj","2522vzKNsk","184Ntyzbp","426951sVAxoO","42VvHYAg","191312SNGoWQ","1591986CDAeed","3476538NkgGIO","115IsMUAP"];return(z=function(){return e})()}!function(e){for(var t=J,n=e();;)try{if(197345===-parseInt(t(343))/1*(-parseInt(t(344))/2)+parseInt(t(345))/3+-parseInt(t(351))/4*(parseInt(t(350))/5)+parseInt(t(348))/6+parseInt(t(346))/7*(-parseInt(t(347))/8)+-parseInt(t(349))/9+parseInt(t(352))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(z)})(),(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:()=>j,LineHeightCommand:()=>a,LineHeightEditing:()=>x,LineHeightTodoListIntegration:()=>S,LineHeightUI:()=>B});var e=n(782),t=n(584);function r(e,t){const n=s();return(r=function(e,t){return n[e-=148]})(e,t)}const o=r;function s(){const e=["removeAttribute","filter","1514625TqXSgg","selection","_canHaveLineHeight","value","model","37935800GyGMwM","getSelectedBlocks","5871600dOiUYA","isEnabled","7212708CqdslT","schema","getAttribute","editor","setAttribute","343646nrsrdN","from","document","lineHeight","change","6065430cGpPPK","128173LJGaiG","checkAttribute","refresh","execute","15PlAEKR"];return(s=function(){return e})()}!function(e){const t=r,n=e();for(;;)try{if(777450===parseInt(t(158))/1+-parseInt(t(152))/2*(parseInt(t(162))/3)+-parseInt(t(172))/4+parseInt(t(165))/5+-parseInt(t(174))/6+-parseInt(t(157))/7+parseInt(t(170))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(s);class a extends e.Command{[o(160)](){const e=o,n=this[e(150)][e(169)][e(154)],i=(0,t.first)(n[e(166)][e(171)]());this[e(173)]=Boolean(i)&&this[e(167)](i),this[e(168)]=this[e(173)]&&i[e(149)](e(155))}[o(161)](e={}){const t=o,n=this[t(150)][t(169)],i=n[t(154)][t(166)],r=e[t(168)];n[t(156)](e=>{const n=t,o=Array[n(153)](i[n(171)]())[n(164)](e=>this[n(167)](e));for(const t of o)r?e[n(151)](n(155),r,t):e[n(163)](n(155),t)})}[o(167)](e){const t=o;return this[t(150)][t(169)][t(148)][t(159)](e,t(155))}}var c=n(783);!function(e){const t=h,n=e();for(;;)try{if(433458===-parseInt(t(142))/1*(parseInt(t(138))/2)+parseInt(t(136))/3*(-parseInt(t(168))/4)+-parseInt(t(166))/5*(parseInt(t(161))/6)+-parseInt(t(150))/7*(parseInt(t(141))/8)+-parseInt(t(149))/9+parseInt(t(153))/10+-parseInt(t(139))/11*(-parseInt(t(167))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(p);const l={get single(){const e=h;return{title:e(164),model:e(152),view:{key:e(140),value:e(135)}}},get double(){const e=h;return{title:e(169),model:e(156),view:{key:e(140),value:e(151)}}}};function u(e){const t=h;return t(162)==typeof e&&t(154)===e[t(158)]()}function d(e){const t=h;return e[t(160)][t(146)](n=>u(n)?{title:String(e[t(144)]),model:t(154)}:(t(148)==typeof n&&(n=String(n)),t(162)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(155),styles:{"line-height":n}}}:function(e){const t=h;return t(162)==typeof e?l[e]:l[e[t(143)]]}(n)))[t(159)](e=>void 0!==e)}function h(e,t){const n=p();return(h=function(e,t){return n[e-=134]})(e,t)}function p(){const e=["single","4786780SGePor","default","span","double","push","toLowerCase","filter","options","3336792xelQnO","string","values","Single","view","5tCztAY","19120812HDZeAO","9956eJzDMk","Double","line-height:","line-height-single","21COImsu","style","146fsHGyY","11NTIaKt","class","4652792vKFbcs","3207pMGhmw","model","defaultValue","key","map","value","number","2244204JGtksy","7aedgtr","line-height-double"];return(p=function(){return 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),H=n(407),k={attributes:{"data-cke":!0}};k.setAttributes=b(),k.insert=y().bind(null,"head"),k.domAPI=w(),k.insertStyleElement=_();g()(H.A,k);H.A&&H.A.locals&&H.A.locals;function O(){const e=["144TiSQLh","--ck-content-list-marker-line-height","item","ListEditing","add","elementToElement","high","for","ck-list-marker-line-height","has","getAttribute","listType","isPremiumPlugin","upcast","TodoListEditing","492878zjGfQJ","element:li","todo-list__label__description","19615905QvarKe","1DmyBEh","3576960PbRBtV","addClass","isOfficialPlugin","viewItem","editor","consume","consumable","lineHeight","33676UeMXHr","todo","span","name","init","paragraph","get","registerDowncastStrategy","pluginName","LineHeightTodoListIntegration","683305tmXgii","setStyle","match","2484336obIeSv","715025hXzkpQ"];return(O=function(){return e})()}const E=A;function A(e,t){const n=O();return(A=function(e,t){return n[e-=264]})(e,t)}!function(e){const t=A,n=e();for(;;)try{if(381672===-parseInt(t(265))/1*(parseInt(t(304))/2)+-parseInt(t(289))/3*(parseInt(t(274))/4)+-parseInt(t(288))/5+-parseInt(t(266))/6+-parseInt(t(284))/7+-parseInt(t(287))/8+parseInt(t(264))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(O);class S extends e.Plugin{static get[E(282)](){return E(283)}static get[E(268)](){return!0}static get[E(301)](){return!0}[E(278)](){const e=E,{plugins:t,conversion:n}=this[e(270)];t[e(298)](e(292))&&t[e(298)](e(303))&&(t[e(280)](e(292))[e(281)]({scope:e(291),attributeName:e(273),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(275)==o[s(299)](s(300))&&n&&(t[s(267)](s(297),i),t[s(285)](s(290),n,i))}}),n[e(296)](e(302))[e(294)]({view:{name:e(276),classes:e(306)},model:e(279),converterPriority:e(295)}),n[e(296)](e(302))[e(293)](t=>{const n=e;t.on(n(305),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=A,o=t[r(286)](n[r(269)]);if(!o)return;const s=o[r(286)];s[r(277)]=!1,i[r(272)][r(271)](n[r(269)],s)}}({name:"li",classes:n(297),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}const C=T;function T(e,t){const n=P();return(T=function(e,t){return n[e-=118]})(e,t)}function P(){const e=["for","style","getStyle","10447750fJfPXB","join","3308qxhOMj","149764fMVWUZ","map","739904bxdWqt","line-height-invalid-use-of-named-presets","upcast","attributeToAttribute","line-height","add","LineHeightEditing","fromCharCode","schema","href","downcast","51037BslLvH","values","308379SgPyqe","174lwzwSR","lineHeight","requires","filter","isPremiumPlugin","setAttributeProperties","215yOdydR","_prepareAnyValueConverters","_preparePredefinedConverters","define","default","pluginName","conversion","_validateConfig","model","2087487YMjljp","get","3AWBxbl","config","extend","string","$block","lineHeight.options","commands","isOfficialPlugin","lineHeight.supportAllValues","editor","length","init","includes","slice","lineHeight.defaultValue","afterInit"];return(P=function(){return e})()}!function(e){const t=T,n=e();for(;;)try{if(161205===-parseInt(t(157))/1+-parseInt(t(142))/2*(parseInt(t(120))/3)+-parseInt(t(141))/4*(-parseInt(t(164))/5)+-parseInt(t(158))/6*(parseInt(t(155))/7)+-parseInt(t(144))/8+-parseInt(t(118))/9+parseInt(t(139))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);class x extends e.Plugin{static get[C(169)](){return C(150)}static get[C(160)](){return[S]}static get[C(127)](){return!0}static get[C(162)](){return!0}constructor(e){const t=C;super(e),e[t(121)][t(167)](t(159),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(168),2,2.5,3]})}[C(131)](){const e=C,t=this[e(129)];this[e(171)](),t[e(172)][e(152)][e(122)](e(124),{allowAttributes:e(159)}),t[e(172)][e(152)][e(163)](e(159),{isFormatting:!0}),t[e(126)][e(149)](e(159),new a(t)),this[e(129)][e(121)][e(119)](e(128))?this[e(165)]():this[e(166)]()}[C(135)](){!async function(e){const n=g([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[g([68,97,116,101])][g([110,111,119])](),r=e[g([101,100,105,116,111,114])],o=new(window[g([80,114,111,109,105,115,101])])(e=>{r[g([111,110,99,101])](g([114,101,97,100,121]),e)}),s={[g([107,116,121])]:g([69,67]),[g([117,115,101])]:g([115,105,103]),[g([99,114,118])]:g([80,45,50,53,54]),[g([120])]:g([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[g([121])]:g([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[g([97,108,103])]:g([69,83,50,53,54])},a=r[g([99,111,110,102,105,103])][g([103,101,116])](g([108,105,99,101,110,115,101,75,101,121]));function c(e){const t=[new(window[g([80,114,111,109,105,115,101])])(e=>setTimeout(e,605900)),o[g([116,104,101,110])](()=>new(window[g([80,114,111,109,105,115,101])])(e=>{let t=0;r[g([109,111,100,101,108])][g([111,110])](g([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(n,i)=>{i[0][g([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&t++,1512==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function p(e){return e[g([115,112,108,105,116])]("")[g([114,101,118,101,114,115,101])]()[g([106,111,105,110])]("")}function f(){}function g(e){const t=T;return e[t(143)](e=>String[t(151)](e))[t(140)]("")}!function(e){const t=function(){const e=window[g([83,116,114,105,110,103])](window[g([112,101,114,102,111,114,109,97,110,99,101])][g([110,111,119])]())[g([114,101,112,108,97,99,101])](g([46]),"");let t=g([80]);for(let i=0;i<e[g([108,101,110,103,116,104])];i+=2){let r=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](i,i+2));r>=n[g([108,101,110,103,116,104])]&&(r-=n[g([108,101,110,103,116,104])]),t+=n[r]}return t}();r[t]=g([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+e,e!=g([86,97,108,105,100])&&async function(){await o,r[g([109,111,100,101,108])][g([99,104,97,110,103,101])]=f,r[g([109,111,100,101,108])][g([101,110,113,117,101,117,101,67,104,97,110,103,101])]=f,r[g([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](g([109,111,100,101,108]))}()}(await async function(){let e,n=null,f=null;try{return a==g([71,80,76])?g([78,111,116,65,108,108,111,119,101,100]):(e=function(){const e=a[g([115,112,108,105,116])](g([46]));return 3!=e[g([108,101,110,103,116,104])]?null:t(e[1]);function t(e){const t=l(e);return t&&n()?t:null;function n(){const e=t[g([106,116,105])],n=window[g([112,97,114,115,101,73,110,116])](e[g([115,117,98,115,116,114,105,110,103])](e[g([108,101,110,103,116,104])]-8),16),i={...t,[g([106,116,105])]:e[g([115,117,98,115,116,114,105,110,103])](0,e[g([108,101,110,103,116,104])]-8)};return delete i[g([118,99])],d(i)==n}}}(),e?(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(f=function(e,n){return new(window[g([80,114,111,109,105,115,101])])(c=>{if(s())return c(g([86,97,108,105,100]));a(),r[g([100,101,99,111,114,97,116,101])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let l=!1;const u=(0,t.uid)();function f(e){return!!e&&(typeof e===g([111,98,106,101,99,116])||typeof e===g([102,117,110,99,116,105,111,110]))&&typeof e[g([116,104,101,110])]===g([102,117,110,99,116,105,111,110])&&typeof e[g([99,97,116,99,104])]===g([102,117,110,99,116,105,111,110])}function m(t){a(t)[g([116,104,101,110])](e=>e&&e[g([115,116,97,116,117,115])]==g([111,107])?h(d(u+n))!=e[g([118,101,114,105,102,105,99,97,116,105,111,110])]?g([85,115,97,103,101,76,105,109,105,116]):g([86,97,108,105,100]):g([85,115,97,103,101,76,105,109,105,116]))[g([116,104,101,110])](e=>(o(),e),()=>{const e=s();return null==e?(o(),g([86,97,108,105,100])):g(i-e>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[g([116,104,101,110])](c)[g([99,97,116,99,104])](()=>{c(g([85,115,97,103,101,76,105,109,105,116]))});const r=36e5;function o(){const t=g([108,108,99,116,45])+h(d(e)),n=p(h(window[g([77,97,116,104])][g([99,101,105,108])](i/r)));window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([115,101,116,73,116,101,109])](t,n)}function s(){const t=g([108,108,99,116,45])+h(d(e)),n=window[g([108,111,99,97,108,83,116,111,114,97,103,101])][g([103,101,116,73,116,101,109])](t);return n?window[g([112,97,114,115,101,73,110,116])](p(n),16)*r:null}function a(e){return new(window[g([80,114,111,109,105,115,101])])((t,n)=>{e[g([116,104,101,110])](t,n),window[g([115,101,116,84,105,109,101,111,117,116])](n,12e4)})}}r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,n)=>{if(n[0]!=e)return c(g([85,115,97,103,101,76,105,109,105,116]));n[1]={...n[1],[g([114,101,113,117,101,115,116,73,100])]:u}},{[g([112,114,105,111,114,105,116,121])]:g([104,105,103,104])}),r[g([111,110])](g([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),e=>{f(e[g([114,101,116,117,114,110])])&&(l=!0,m(e[g([114,101,116,117,114,110])]))},{[g([112,114,105,111,114,105,116,121])]:g([108,111,119])}),o[g([116,104,101,110])](()=>{l||c(g([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==g([97,117,116,111])}function a(){r[g([101,100,105,116,105,110,103])][g([118,105,101,119])][g([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=g([97,117,116,111])}}(e[g([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[g([106,116,105])])),await async function(){let e=!0;try{const i=a[g([115,112,108,105,116])](g([46])),[r,o,s]=i;return t(r),await n(r,o,s),e}catch{return!1}function t(t){const n=l(t);n&&n[g([97,108,103])]==g([69,83,50,53,54])||(e=!1)}async function n(t,n,i){const r=window[g([85,105,110,116,56,65,114,114,97,121])][g([102,114,111,109])](u(i),e=>e[g([99,104,97,114,67,111,100,101,65,116])](0)),o=(new(window[g([84,101,120,116,69,110,99,111,100,101,114])]))[g([101,110,99,111,100,101])](t+g([46])+n),a=window[g([99,114,121,112,116,111])][g([115,117,98,116,108,101])];if(!a)return;const c=await a[g([105,109,112,111,114,116,75,101,121])](g([106,119,107]),s,{[g([110,97,109,101])]:g([69,67,68,83,65]),[g([110,97,109,101,100,67,117,114,118,101])]:g([80,45,50,53,54])},!1,[g([118,101,114,105,102,121])]);await a[g([118,101,114,105,102,121])]({[g([110,97,109,101])]:g([69,67,68,83,65]),[g([104,97,115,104])]:{[g([110,97,109,101])]:g([83,72,65,45,50,53,54])}},c,r,o)||(e=!1)}}()?function(){const t=e[g([102,101,97,116,117,114,101,115])];return!(!t||!t[g([105,110,99,108,117,100,101,115])](g([42]))&&!t[g([105,110,99,108,117,100,101,115])](g([76,72])))}()?function(){const t=[g([101,118,97,108,117,97,116,105,111,110]),g([116,114,105,97,108])][g([105,110,99,108,117,100,101,115])](e[g([108,105,99,101,110,115,101,84,121,112,101])])?i/1e3:1766707200;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=T,n=e[g([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!n||0==n[g([108,101,110,103,116,104])])return!0;const{hostname:i}=new URL(window[g([108,111,99,97,116,105,111,110])][t(153)]);if(n[g([105,110,99,108,117,100,101,115])](i))return!0;const r=i[g([115,112,108,105,116])](g([46]));return n[g([102,105,108,116,101,114])](e=>e[g([105,110,99,108,117,100,101,115])](g([42])))[g([109,97,112])](e=>e[g([115,112,108,105,116])](g([46])))[g([102,105,108,116,101,114])](e=>e[g([108,101,110,103,116,104])]<=r[g([108,101,110,103,116,104])])[g([109,97,112])](e=>Array(r[g([108,101,110,103,116,104])]-e[g([108,101,110,103,116,104])])[g([102,105,108,108])](e[0]===g([42])?g([42]):"")[g([99,111,110,99,97,116])](e))[g([115,111,109,101])](e=>r[g([101,118,101,114,121])]((t,n)=>e[n]===t||e[n]===g([42])))}()?(e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([101,118,97,108,117,97,116,105,111,110])&&(n=c(g([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[g([108,105,99,101,110,115,101,84,121,112,101])]==g([116,114,105,97,108])&&(n=c(g([84,114,105,97,108,76,105,109,105,116]))),await(n&&f?new(window[g([80,114,111,109,105,115,101])])((e,t)=>{n[g([116,104,101,110])](e,t),f[g([116,104,101,110])](t=>{t!=g([86,97,108,105,100])&&e(t)},t)}):n||f||g([86,97,108,105,100]))):g([68,111,109,97,105,110,76,105,109,105,116]):g([78,111,116,65,108,108,111,119,101,100]):g([73,110,118,97,108,105,100])):g([73,110,118,97,108,105,100]))}catch{return g([73,110,118,97,108,105,100])}}())}(this)}[C(171)](){const e=C,n=this[e(129)];if(!n[e(121)][e(119)](e(128)))return;const i=n[e(121)][e(119)](e(125))[e(161)](t=>e(123)==typeof t&&!u(t)&&isNaN(Number(t)));if(i[e(130)])throw new t.CKEditorError(e(145),null,{namedPresets:i})}[C(165)](){const e=C,t=this[e(129)],n=this[e(129)][e(121)][e(119)](e(134));t[e(170)][e(136)](e(154))[e(147)]({model:{key:e(159)},view:t=>String(t)===String(n)?null:{key:e(137),value:{"line-height":t}}}),t[e(170)][e(136)](e(146))[e(147)]({model:{key:e(159),value:t=>{const i=e;let r=t[i(138)](i(148));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(133)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[C(166)](){const e=C,t=this[e(129)],n=this[e(129)][e(121)][e(119)](e(134)),i=d(this[e(129)][e(121)][e(119)](e(159)))[e(161)](t=>t[e(172)]),r=function(e,t){const n=h,i={model:{key:e,values:[]},view:{}};for(const e of t)n(140)===e[n(165)]?.[n(145)]?(i[n(143)][n(163)][n(157)](e[n(143)]),i[n(165)][e[n(143)]]={key:n(140),value:e[n(165)][n(147)]}):(i[n(143)][n(163)][n(157)](e[n(143)]),i[n(165)][e[n(143)]]={key:n(137),value:n(134)+e[n(143)]+";"});return i}(e(159),i);t[e(170)][e(147)](r),t[e(170)][e(136)](e(146))[e(147)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(159),value:t=>{const i=e;let o=t[i(138)](i(148));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(133)](0,-1))/100)),o===String(n)?null:r[i(172)][i(156)][i(132)](o)?o:null}}})}}var N=n(311),K=n(355),M=n(784),V={attributes:{"data-cke":!0}};V.setAttributes=b(),V.insert=y().bind(null,"head"),V.domAPI=w(),V.insertStyleElement=_();g()(M.A,V);M.A&&M.A.locals&&M.A.locals;class B extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"lineHeightLicenseKeyTrialLimit"==r||"lineHeightLicenseKeyUsageLimit"==r){delete t[i],e=r,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}"lineHeightLicenseKeyInvalid"==e&&t._showLicenseError("invalid"),"lineHeightLicenseKeyExpired"==e&&t._showLicenseError("expired"),"lineHeightLicenseKeyDomainLimit"==e&&t._showLicenseError("domainLimit"),"lineHeightLicenseKeyNotAllowed"==e&&t._showLicenseError("featureNotAllowed","LineHeight"),"lineHeightLicenseKeyEvaluationLimit"==e&&t._showLicenseError("evaluationLimit"),"lineHeightLicenseKeyTrialLimit"==e&&t._showLicenseError("trialLimit"),"lineHeightLicenseKeyUsageLimit"==e&&t._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){const e=this.editor,t=e.t,n=e.config.get("lineHeight"),i={Single:t({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:t({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return d(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new N.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 N.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,N.createDropdown)(r);return(0,N.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 N.MenuBarMenuView(r);o.buttonView.set({label:e,icon:K.IconLineHeight}),o.bind("isEnabled").to(i);const s=new N.MenuBarMenuListView(r);for(const e of t){const t=new N.MenuBarMenuListItemView(r,o),i=new N.MenuBarMenuListItemButtonView(r);i.set({role:"menuitemradio",isToggleable:!0}),i.bind(...Object.keys(e.model)).to(e.model),i.delegate("execute").to(o),i.on("execute",()=>{n.execute(e.model.commandName,{value:e.model.commandParam}),n.editing.view.focus()}),t.children.add(i),s.items.add(t)}return o.panelView.children.add(s),this._attachCustomOptionVisibilityHandler(o,t,s),o})}_attachCustomOptionVisibilityHandler(e,t,n){if(!this._shouldRenderCustomValueOption())return;const i=()=>{e.isOpen&&(n.items.last.isVisible=Boolean(t.last.model.isOn))};i(),e.on("change:isOpen",()=>{i()})}}var D=G;!function(e){for(var t=G,n=e();;)try{if(555188===parseInt(t(245))/1*(-parseInt(t(256))/2)+-parseInt(t(247))/3+parseInt(t(249))/4+parseInt(t(255))/5+-parseInt(t(254))/6*(-parseInt(t(248))/7)+-parseInt(t(258))/8+parseInt(t(253))/9*(parseInt(t(251))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(U);class j extends e.Plugin{static get[D(250)](){return[x,B]}static get[D(257)](){return D(244)}static get[D(252)](){return!0}static get[D(246)](){return!0}}function G(e,t){var n=U();return(G=function(e,t){return n[e-=244]})(e,t)}function U(){var e=["131XuLBzx","isPremiumPlugin","2574924rJWRtL","7174013cWYFvG","485068oKDuTO","requires","10kSSima","isOfficialPlugin","3496302Mqxeax","6XiszCb","1107050tXAbEC","1182TJGJno","pluginName","2120776cOwdDw","LineHeight"];return(U=function(){return e})()}function R(e,t){var n=z();return(R=function(e,t){return n[e-=343]})(e,t)}function z(){var e=["55684QcNbnV","4076220ndmzJj","2522vzKNsk","184Ntyzbp","426951sVAxoO","42VvHYAg","191312SNGoWQ","1591986CDAeed","3476538NkgGIO","115IsMUAP"];return(z=function(){return e})()}!function(e){for(var t=R,n=e();;)try{if(197345===-parseInt(t(343))/1*(-parseInt(t(344))/2)+parseInt(t(345))/3+-parseInt(t(351))/4*(parseInt(t(350))/5)+parseInt(t(348))/6+parseInt(t(346))/7*(-parseInt(t(347))/8)+-parseInt(t(349))/9+parseInt(t(352))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(z)})(),(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 _0x1cff06,Plugin as _0x5442ab}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x10a813,CKEditorError as _0x54514b,uid as _0x56d984,Collection as _0x5048d6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x2591ca,isPercentageStyleValue as _0x4f9830}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0xf1a649,createDropdown as _0x19bf4b,addListToDropdown as _0x24bac7,MenuBarMenuView as _0x16ecdd,MenuBarMenuListView as _0x5dd585,MenuBarMenuListItemView as _0x360ede,MenuBarMenuListItemButtonView as _0x31d8d9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0xe31d5f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x1cff06{['refresh'](){const _0x1c7c0f=this['editor']['model']['document'],_0x2763da=_0x10a813(_0x1c7c0f['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2763da)&&this['_canHaveLineHeight'](_0x2763da),this['value']=this['isEnabled']&&_0x2763da['getAttribute']('lineHeight');}['execute'](_0x105e3e={}){const _0xb66c76=this['editor']['model'],_0x262c4a=_0xb66c76['document']['selection'],_0x12ff20=_0x105e3e['value'];_0xb66c76['change'](_0x1db37d=>{const _0x36335d=Array['from'](_0x262c4a['getSelectedBlocks']())['filter'](_0x1c3874=>this['_canHaveLineHeight'](_0x1c3874));for(const _0x4e55f2 of _0x36335d)_0x12ff20?_0x1db37d['setAttribute']('lineHeight',_0x12ff20,_0x4e55f2):_0x1db37d['removeAttribute']('lineHeight',_0x4e55f2);});}['_canHaveLineHeight'](_0x5ba0e9){return this['editor']['model']['schema']['checkAttribute'](_0x5ba0e9,'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(_0x4b5976){return'string'==typeof _0x4b5976&&'default'===_0x4b5976['toLowerCase']();}function a(_0x7dae04){return _0x7dae04['options']['map'](_0xb10d1e=>{return f(_0xb10d1e)?{'title':String(_0x7dae04['defaultValue']),'model':'default'}:('number'==typeof _0xb10d1e&&(_0xb10d1e=String(_0xb10d1e)),'string'!=typeof _0xb10d1e?_0xb10d1e:parseFloat(_0xb10d1e)?{'title':_0xb10d1e,'model':_0xb10d1e,'view':{'name':'span','styles':{'line-height':_0xb10d1e}}}:'string'==typeof(_0x2847f9=_0xb10d1e)?v[_0x2847f9]:v[_0x2847f9['model']]);var _0x2847f9;})['filter'](_0xc027cc=>void 0x0!==_0xc027cc);}class g extends _0x5442ab{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x3400f5,conversion:_0x416c91}=this['editor'];if(!_0x3400f5['has']('ListEditing')||!_0x3400f5['has']('TodoListEditing'))return;_0x3400f5['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x2cbb18,_0x4dabfe,_0x203f4e,_0x1b1fca,_0x19c611){'todo'==_0x19c611['getAttribute']('listType')&&_0x4dabfe&&(_0x2cbb18['addClass']('ck-list-marker-line-height',_0x203f4e),_0x2cbb18['setStyle']('--ck-content-list-marker-line-height',_0x4dabfe,_0x203f4e));}}),_0x416c91['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x416c91['for']('upcast')['add'](_0x492f08=>{_0x492f08['on']('element:li',function(_0x4c73f7){const _0x26a7b8=new _0x2591ca(_0x4c73f7);return(_0x583a67,_0x4187dd,_0x149d67)=>{const _0x43f8fe=_0x26a7b8['match'](_0x4187dd['viewItem']);if(!_0x43f8fe)return;const _0x30d52d=_0x43f8fe['match'];_0x30d52d['name']=!0x1,_0x149d67['consumable']['consume'](_0x4187dd['viewItem'],_0x30d52d);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x5442ab{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x11cf27){super(_0x11cf27),_0x11cf27['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x588351=this['editor'];this['_validateConfig'](),_0x588351['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x588351['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x588351['commands']['add']('lineHeight',new n(_0x588351)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x4ba6da){const _0x36cec4=_0x1d4ea0([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]),_0xad3e=0x45ddd215,_0x3b27a8=0x45daaefd^_0xad3e,_0x18c91c=window[_0x1d4ea0([0x44,0x61,0x74,0x65])][_0x1d4ea0([0x6e,0x6f,0x77])](),_0xe78c7b=_0x4ba6da[_0x1d4ea0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x349240=new window[(_0x1d4ea0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bf96f=>{_0xe78c7b[_0x1d4ea0([0x6f,0x6e,0x63,0x65])](_0x1d4ea0([0x72,0x65,0x61,0x64,0x79]),_0x4bf96f);}),_0x9580d8={[_0x1d4ea0([0x6b,0x74,0x79])]:_0x1d4ea0([0x45,0x43]),[_0x1d4ea0([0x75,0x73,0x65])]:_0x1d4ea0([0x73,0x69,0x67]),[_0x1d4ea0([0x63,0x72,0x76])]:_0x1d4ea0([0x50,0x2d,0x32,0x35,0x36]),[_0x1d4ea0([0x78])]:_0x1d4ea0([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]),[_0x1d4ea0([0x79])]:_0x1d4ea0([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]),[_0x1d4ea0([0x61,0x6c,0x67])]:_0x1d4ea0([0x45,0x53,0x32,0x35,0x36])},_0xa9f99b=_0xe78c7b[_0x1d4ea0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d4ea0([0x67,0x65,0x74])](_0x1d4ea0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xcfff38(){let _0x3fd7d0,_0x36ae53=null,_0x4c2832=null;try{if(_0xa9f99b==_0x1d4ea0([0x47,0x50,0x4c]))return _0x1d4ea0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fd7d0=_0xe85c5(),!_0x3fd7d0)return _0x1d4ea0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fd7d0[_0x1d4ea0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c2832=_0x1f9bb7(_0x3fd7d0[_0x1d4ea0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fd7d0[_0x1d4ea0([0x6a,0x74,0x69])])),await _0x484ae5()?_0x3ece2d()?_0x31cd17()?_0x1d4ea0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3bb84f()?(_0x3fd7d0[_0x1d4ea0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d4ea0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36ae53=_0x4ddb7b(_0x1d4ea0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fd7d0[_0x1d4ea0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d4ea0([0x74,0x72,0x69,0x61,0x6c])&&(_0x36ae53=_0x4ddb7b(_0x1d4ea0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d6eac()):_0x1d4ea0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d4ea0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d4ea0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d4ea0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31cd17(){const _0x40100f=[_0x1d4ea0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d4ea0([0x74,0x72,0x69,0x61,0x6c])][_0x1d4ea0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fd7d0[_0x1d4ea0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18c91c/0x3e8:0xe10*_0x3b27a8;return _0x3fd7d0[_0x1d4ea0([0x65,0x78,0x70])]<_0x40100f;}function _0x3ece2d(){const _0x56ddee=_0x3fd7d0[_0x1d4ea0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56ddee&&(!!_0x56ddee[_0x1d4ea0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d4ea0([0x2a]))||!!_0x56ddee[_0x1d4ea0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d4ea0([0x4c,0x48])));}function _0x3bb84f(){const _0xcda350=_0x3fd7d0[_0x1d4ea0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xcda350||0x0==_0xcda350[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16b8fb}=new URL(window[_0x1d4ea0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xcda350[_0x1d4ea0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b8fb))return!0x0;const _0x46914d=_0x16b8fb[_0x1d4ea0([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ea0([0x2e]));return _0xcda350[_0x1d4ea0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f5b86=>_0x1f5b86[_0x1d4ea0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d4ea0([0x2a])))[_0x1d4ea0([0x6d,0x61,0x70])](_0x3cc877=>_0x3cc877[_0x1d4ea0([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ea0([0x2e])))[_0x1d4ea0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc148a1=>_0xc148a1[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x46914d[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d4ea0([0x6d,0x61,0x70])](_0x5c52b7=>Array(_0x46914d[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c52b7[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d4ea0([0x66,0x69,0x6c,0x6c])](_0x5c52b7[0x0]===_0x1d4ea0([0x2a])?_0x1d4ea0([0x2a]):'')[_0x1d4ea0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c52b7))[_0x1d4ea0([0x73,0x6f,0x6d,0x65])](_0x30a258=>_0x46914d[_0x1d4ea0([0x65,0x76,0x65,0x72,0x79])]((_0x5376cb,_0x3f495d)=>_0x30a258[_0x3f495d]===_0x5376cb||_0x30a258[_0x3f495d]===_0x1d4ea0([0x2a])));}function _0x1d6eac(){return _0x36ae53&&_0x4c2832?new window[(_0x1d4ea0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x985247,_0x156ac2)=>{_0x36ae53[_0x1d4ea0([0x74,0x68,0x65,0x6e])](_0x985247,_0x156ac2),_0x4c2832[_0x1d4ea0([0x74,0x68,0x65,0x6e])](_0x559106=>{_0x559106!=_0x1d4ea0([0x56,0x61,0x6c,0x69,0x64])&&_0x985247(_0x559106);},_0x156ac2);}):_0x36ae53||_0x4c2832||_0x1d4ea0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f9bb7(_0x198311,_0x1d54c9){return new window[(_0x1d4ea0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x348d4f=>{if(_0x567fd8())return _0x348d4f(_0x1d4ea0([0x56,0x61,0x6c,0x69,0x64]));_0x2fd9f1(),_0xe78c7b[_0x1d4ea0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d4ea0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x272aa2=!0x1;const _0x59df4a=_0x56d984();function _0x43abae(_0x334956){return!!_0x334956&&(typeof _0x334956===_0x1d4ea0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x334956===_0x1d4ea0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x334956[_0x1d4ea0([0x74,0x68,0x65,0x6e])]===_0x1d4ea0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x334956[_0x1d4ea0([0x63,0x61,0x74,0x63,0x68])]===_0x1d4ea0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ac1ab(_0x55b537){_0x3c0279(_0x55b537)[_0x1d4ea0([0x74,0x68,0x65,0x6e])](_0x37de71=>{if(!_0x37de71||_0x37de71[_0x1d4ea0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d4ea0([0x6f,0x6b]))return _0x1d4ea0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30c6b5(_0xa1055c(_0x59df4a+_0x1d54c9))!=_0x37de71[_0x1d4ea0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d4ea0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d4ea0([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d4ea0([0x74,0x68,0x65,0x6e])](_0xb48c3d=>(_0x48bc67(),_0xb48c3d),()=>{const _0x5cfd15=_0x4ef403();return null==_0x5cfd15?(_0x48bc67(),_0x1d4ea0([0x56,0x61,0x6c,0x69,0x64])):_0x1d4ea0(_0x18c91c-_0x5cfd15>(0x61d15615^_0xad3e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d4ea0([0x74,0x68,0x65,0x6e])](_0x348d4f)[_0x1d4ea0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x348d4f(_0x1d4ea0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd1775=0x45eb3c95^_0xad3e;function _0x48bc67(){const _0x3d88ea=_0x1d4ea0([0x6c,0x6c,0x63,0x74,0x2d])+_0x30c6b5(_0xa1055c(_0x198311)),_0x2fab5f=_0x4f5d90(_0x30c6b5(window[_0x1d4ea0([0x4d,0x61,0x74,0x68])][_0x1d4ea0([0x63,0x65,0x69,0x6c])](_0x18c91c/_0xd1775)));window[_0x1d4ea0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d4ea0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d88ea,_0x2fab5f);}function _0x4ef403(){const _0x1c7152=_0x1d4ea0([0x6c,0x6c,0x63,0x74,0x2d])+_0x30c6b5(_0xa1055c(_0x198311)),_0x4aebfb=window[_0x1d4ea0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d4ea0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c7152);return _0x4aebfb?window[_0x1d4ea0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f5d90(_0x4aebfb),0x10)*_0xd1775:null;}function _0x3c0279(_0x95bc6f){return new window[(_0x1d4ea0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x372667,_0x3d20e8)=>{_0x95bc6f[_0x1d4ea0([0x74,0x68,0x65,0x6e])](_0x372667,_0x3d20e8),window[_0x1d4ea0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d20e8,0x45dc06d5^_0xad3e);});}}_0xe78c7b[_0x1d4ea0([0x6f,0x6e])](_0x1d4ea0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe0d66c,_0xd1a789)=>{if(_0xd1a789[0x0]!=_0x198311)return _0x348d4f(_0x1d4ea0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd1a789[0x1]={..._0xd1a789[0x1],[_0x1d4ea0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x59df4a};},{[_0x1d4ea0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d4ea0([0x68,0x69,0x67,0x68])}),_0xe78c7b[_0x1d4ea0([0x6f,0x6e])](_0x1d4ea0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f8bdc=>{_0x43abae(_0x2f8bdc[_0x1d4ea0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x272aa2=!0x0,_0x5ac1ab(_0x2f8bdc[_0x1d4ea0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d4ea0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d4ea0([0x6c,0x6f,0x77])}),_0x349240[_0x1d4ea0([0x74,0x68,0x65,0x6e])](()=>{_0x272aa2||_0x348d4f(_0x1d4ea0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x567fd8(){return _0xe78c7b[_0x1d4ea0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d4ea0([0x76,0x69,0x65,0x77])][_0x1d4ea0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d4ea0([0x61,0x75,0x74,0x6f]);}function _0x2fd9f1(){_0xe78c7b[_0x1d4ea0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d4ea0([0x76,0x69,0x65,0x77])][_0x1d4ea0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d4ea0([0x61,0x75,0x74,0x6f]);}}function _0x4ddb7b(_0x1e9427){const _0x148b2b=[new window[(_0x1d4ea0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x571af9=>setTimeout(_0x571af9,0x45d4ecd9^_0xad3e)),_0x349240[_0x1d4ea0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d4ea0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eec1a=>{let _0x5363c2=0x0;_0xe78c7b[_0x1d4ea0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d4ea0([0x6f,0x6e])](_0x1d4ea0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4182bc,_0x4af743)=>{_0x4af743[0x0][_0x1d4ea0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5363c2++,_0x5363c2==(0x45ddd7fd^_0xad3e)&&(_0x4eec1a(),_0x4182bc[_0x1d4ea0([0x6f,0x66,0x66])]());});}))];return window[_0x1d4ea0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d4ea0([0x72,0x61,0x63,0x65])](_0x148b2b)[_0x1d4ea0([0x74,0x68,0x65,0x6e])](()=>_0x1e9427);}async function _0x6e37cf(){await _0x349240,_0xe78c7b[_0x1d4ea0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d4ea0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xe6336c,_0xe78c7b[_0x1d4ea0([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d4ea0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xe6336c,_0xe78c7b[_0x1d4ea0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d4ea0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4450ef(_0x5316bf){const _0x12c277=_0x1af6f4();_0xe78c7b[_0x12c277]=_0x1d4ea0([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5316bf,_0x5316bf!=_0x1d4ea0([0x56,0x61,0x6c,0x69,0x64])&&_0x6e37cf();}function _0x1af6f4(){const _0x40f98f=window[_0x1d4ea0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d4ea0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d4ea0([0x6e,0x6f,0x77])]())[_0x1d4ea0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d4ea0([0x2e]),'');let _0x4654c6=_0x1d4ea0([0x50]);for(let _0x51bac4=0x0;_0x51bac4<_0x40f98f[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51bac4+=0x2){let _0xb654eb=window[_0x1d4ea0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40f98f[_0x1d4ea0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51bac4,_0x51bac4+0x2));_0xb654eb>=_0x36cec4[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb654eb-=_0x36cec4[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4654c6+=_0x36cec4[_0xb654eb];}return _0x4654c6;}function _0xe85c5(){const _0x1c632c=_0xa9f99b[_0x1d4ea0([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ea0([0x2e]));if(0x3!=_0x1c632c[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f6f6b(_0x1c632c[0x1]);function _0x3f6f6b(_0x29be9e){const _0x206962=_0x2f266a(_0x29be9e);return _0x206962&&_0x39de7d()?_0x206962:null;function _0x39de7d(){const _0x28286f=_0x206962[_0x1d4ea0([0x6a,0x74,0x69])],_0x4a9447=window[_0x1d4ea0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28286f[_0x1d4ea0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28286f[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12fbb0={..._0x206962,[_0x1d4ea0([0x6a,0x74,0x69])]:_0x28286f[_0x1d4ea0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28286f[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12fbb0[_0x1d4ea0([0x76,0x63])],_0xa1055c(_0x12fbb0)==_0x4a9447;}}}async function _0x484ae5(){let _0x348a86=!0x0;try{const _0x211776=_0xa9f99b[_0x1d4ea0([0x73,0x70,0x6c,0x69,0x74])](_0x1d4ea0([0x2e])),[_0x57af18,_0x3bbf57,_0x22773e]=_0x211776;return _0x439ebe(_0x57af18),await _0x2e7467(_0x57af18,_0x3bbf57,_0x22773e),_0x348a86;}catch{return!0x1;}function _0x439ebe(_0x4f1cd5){const _0x3516e9=_0x2f266a(_0x4f1cd5);_0x3516e9&&_0x3516e9[_0x1d4ea0([0x61,0x6c,0x67])]==_0x1d4ea0([0x45,0x53,0x32,0x35,0x36])||(_0x348a86=!0x1);}async function _0x2e7467(_0x5ce25d,_0x5b5176,_0xc4d61c){const _0x598da3=window[_0x1d4ea0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d4ea0([0x66,0x72,0x6f,0x6d])](_0x4a5d6b(_0xc4d61c),_0x77412f=>_0x77412f[_0x1d4ea0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xbf9630=new window[(_0x1d4ea0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d4ea0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5ce25d+_0x1d4ea0([0x2e])+_0x5b5176),_0x51ade4=window[_0x1d4ea0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d4ea0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51ade4)return;const _0xfe0fbc=await _0x51ade4[_0x1d4ea0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d4ea0([0x6a,0x77,0x6b]),_0x9580d8,{[_0x1d4ea0([0x6e,0x61,0x6d,0x65])]:_0x1d4ea0([0x45,0x43,0x44,0x53,0x41]),[_0x1d4ea0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d4ea0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d4ea0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51ade4[_0x1d4ea0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d4ea0([0x6e,0x61,0x6d,0x65])]:_0x1d4ea0([0x45,0x43,0x44,0x53,0x41]),[_0x1d4ea0([0x68,0x61,0x73,0x68])]:{[_0x1d4ea0([0x6e,0x61,0x6d,0x65])]:_0x1d4ea0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xfe0fbc,_0x598da3,_0xbf9630)||(_0x348a86=!0x1);}}function _0x2f266a(_0x11d7b2){return _0x11d7b2[_0x1d4ea0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d4ea0([0x65,0x79]))?JSON[_0x1d4ea0([0x70,0x61,0x72,0x73,0x65])](_0x4a5d6b(_0x11d7b2)):null;}function _0x4a5d6b(_0x548123){return window[_0x1d4ea0([0x61,0x74,0x6f,0x62])](_0x548123[_0x1d4ea0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d4ea0([0x2b]))[_0x1d4ea0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d4ea0([0x2f])));}function _0xa1055c(_0xe69504){let _0x29ca61=0x1505;function _0x556e0e(_0x3f66a3){for(let _0x3ca746=0x0;_0x3ca746<_0x3f66a3[_0x1d4ea0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ca746++){const _0x34e148=_0x3f66a3[_0x1d4ea0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ca746);_0x29ca61=(_0x29ca61<<0x5)+_0x29ca61+_0x34e148,_0x29ca61&=_0x29ca61;}}function _0x244f3d(_0x4b20bf){Array[_0x1d4ea0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b20bf)?_0x4b20bf[_0x1d4ea0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x244f3d):_0x4b20bf&&typeof _0x4b20bf==_0x1d4ea0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d4ea0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b20bf)[_0x1d4ea0([0x73,0x6f,0x72,0x74])]()[_0x1d4ea0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21ab29,_0x310251])=>{_0x556e0e(_0x21ab29),_0x244f3d(_0x310251);}):_0x556e0e(window[_0x1d4ea0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b20bf));}return _0x244f3d(_0xe69504),_0x29ca61>>>0x0;}function _0x30c6b5(_0x42e737){return _0x42e737[_0x1d4ea0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d4ea0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d4ea0([0x30]));}function _0x4f5d90(_0x29c636){return _0x29c636[_0x1d4ea0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d4ea0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d4ea0([0x6a,0x6f,0x69,0x6e])]('');}function _0xe6336c(){}function _0x1d4ea0(_0x3ef668){return _0x3ef668['map'](_0x176560=>String['fromCharCode'](_0x176560))['join']('');}_0x4450ef(await _0xcfff38());}(this);}['_validateConfig'](){const _0x35a42d=this['editor'];if(!_0x35a42d['config']['get']('lineHeight.supportAllValues'))return;const _0x482f12=_0x35a42d['config']['get']('lineHeight.options')['filter'](_0x31753f=>'string'==typeof _0x31753f&&(!f(_0x31753f)&&isNaN(Number(_0x31753f))));if(_0x482f12['length'])throw new _0x54514b('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x482f12});}['_prepareAnyValueConverters'](){const _0x1aebd8=this['editor'],_0x3c226c=this['editor']['config']['get']('lineHeight.defaultValue');_0x1aebd8['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x1f0c5c=>String(_0x1f0c5c)===String(_0x3c226c)?null:{'key':'style','value':{'line-height':_0x1f0c5c}}}),_0x1aebd8['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x4bddf0=>{let _0x10d5af=_0x4bddf0['getStyle']('line-height');return _0x4f9830(_0x10d5af)&&(_0x10d5af=String(Number(_0x10d5af['slice'](0x0,-0x1))/0x64)),String(_0x10d5af)===String(_0x3c226c)?null:_0x10d5af;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3456bb=this['editor'],_0x1fb244=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4522b3=function(_0x4bbf49,_0x545442){const _0xd9af6b={'model':{'key':_0x4bbf49,'values':[]},'view':{}};for(const _0x53df02 of _0x545442)'class'===_0x53df02['view']?.['key']?(_0xd9af6b['model']['values']['push'](_0x53df02['model']),_0xd9af6b['view'][_0x53df02['model']]={'key':'class','value':_0x53df02['view']['value']}):(_0xd9af6b['model']['values']['push'](_0x53df02['model']),_0xd9af6b['view'][_0x53df02['model']]={'key':'style','value':'line-height:'+_0x53df02['model']+';'});return _0xd9af6b;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x32ac8c=>_0x32ac8c['model']));_0x3456bb['conversion']['attributeToAttribute'](_0x4522b3),_0x3456bb['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x5cb5c7=>{let _0x16a964=_0x5cb5c7['getStyle']('line-height');return _0x4f9830(_0x16a964)&&(_0x16a964=String(Number(_0x16a964['slice'](0x0,-0x1))/0x64)),_0x16a964===String(_0x1fb244)?null:_0x4522b3['model']['values']['includes'](_0x16a964)?_0x16a964:null;}}});}}class r extends _0x5442ab{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3f1d35={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3f1d35),this['_registerMenuBarComponent'](_0x3f1d35),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5746a0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x189169;for(const _0x557b2a in _0x5746a0){const _0x391646=_0x557b2a,_0xeb50b6=_0x5746a0[_0x391646];if('lineHeightLicenseKeyValid'==_0xeb50b6||'lineHeightLicenseKeyInvalid'==_0xeb50b6||'lineHeightLicenseKeyExpired'==_0xeb50b6||'lineHeightLicenseKeyDomainLimit'==_0xeb50b6||'lineHeightLicenseKeyNotAllowed'==_0xeb50b6||'lineHeightLicenseKeyEvaluationLimit'==_0xeb50b6||'lineHeightLicenseKeyTrialLimit'==_0xeb50b6||'lineHeightLicenseKeyUsageLimit'==_0xeb50b6){delete _0x5746a0[_0x391646],_0x189169=_0xeb50b6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x189169&&_0x5746a0['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x189169&&_0x5746a0['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x189169&&_0x5746a0['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x189169&&_0x5746a0['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x189169&&_0x5746a0['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x189169&&_0x5746a0['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x189169&&_0x5746a0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x248457=this['editor'],t=_0x248457['t'],_0x7dd589=_0x248457['config']['get']('lineHeight'),_0xd1ecc={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x7dd589)['map'](_0x1498f0=>{const _0x6a4d00=_0xd1ecc[_0x1498f0['title']];return _0x6a4d00&&_0x6a4d00!=_0x1498f0['title']&&(_0x1498f0=Object['assign']({},_0x1498f0,{'title':_0x6a4d00})),_0x1498f0;});}['_prepareListOptions'](){const _0x52d6a7=this['editor']['commands']['get']('lineHeight'),_0x27998b=this['editor']['config']['get']('lineHeight.defaultValue'),_0x479014=this['_getLocalizedLineHeightOptions'](),_0x223146=new _0x5048d6(),_0x5f44fd=_0x232a93=>'default'===_0x232a93||String(_0x27998b)===_0x232a93;for(const _0xff6712 of _0x479014){const _0x13c49b={'type':'button','model':new _0xf1a649({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0xff6712['title'],'withText':!0x0})};_0x5f44fd(_0xff6712['model'])?(_0x13c49b['model']['bind']('isOn')['to'](_0x52d6a7,'value',_0x55b7d8=>!_0x55b7d8),_0x13c49b['model']['commandParam']=void 0x0):(_0x13c49b['model']['bind']('isOn')['to'](_0x52d6a7,'value',_0x513212=>_0x513212===_0xff6712['model']),_0x13c49b['model']['commandParam']=_0xff6712['model']),_0x223146['add'](_0x13c49b);}if(this['_shouldRenderCustomValueOption']()){const _0x244933=this['_getCustomValueOptionDefinition'](_0x479014);_0x223146['add'](_0x244933);}return _0x223146;}['_getCustomValueOptionDefinition'](_0xd392ca){const _0x2307ec=this['editor'],t=_0x2307ec['t'],_0x512462=_0x2307ec['commands']['get']('lineHeight'),_0x38a565=_0xd392ca['map'](_0x389f2f=>_0x389f2f['model']),_0x1f901d={'type':'button','model':new _0xf1a649({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1f901d['model']['bind']('commandParam')['to'](_0x512462,'value'),_0x1f901d['model']['bind']('isOn')['to'](_0x512462,'value',_0x3b46a9=>!!_0x3b46a9&&!_0x38a565['includes'](String(_0x3b46a9))),_0x1f901d['model']['bind']('label')['to'](_0x512462,'value',_0x315f26=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x315f26))),_0x1f901d;}['_registerToolbarComponent']({accessibleLabel:_0x489d92,options:_0x4ee8fc}){const _0x11ea3b=this['editor'],_0x265465=_0x11ea3b['commands']['get']('lineHeight');_0x11ea3b['ui']['componentFactory']['add']('lineHeight',_0x163945=>{const _0x5c113a=_0x19bf4b(_0x163945);return _0x24bac7(_0x5c113a,_0x4ee8fc,{'role':'menu','ariaLabel':_0x489d92}),_0x5c113a['buttonView']['set']({'label':_0x489d92,'tooltip':!0x0,'icon':_0xe31d5f}),_0x5c113a['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x5c113a['bind']('isEnabled')['to'](_0x265465),this['listenTo'](_0x5c113a,'execute',_0x3e2edd=>{_0x11ea3b['execute'](_0x3e2edd['source']['commandName'],{'value':_0x3e2edd['source']['commandParam']}),_0x11ea3b['editing']['view']['focus']();}),_0x5c113a['once']('change:isOpen',()=>{const _0x358400=_0x5c113a['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x5c113a,_0x4ee8fc,_0x358400);}),_0x5c113a;});}['_registerMenuBarComponent']({accessibleLabel:_0x2e793f,options:_0x208e45}){const _0x2c10bf=this['editor'],_0x523060=_0x2c10bf['commands']['get']('lineHeight');_0x2c10bf['ui']['componentFactory']['add']('menuBar:lineHeight',_0x563c46=>{const _0x43f4d0=new _0x16ecdd(_0x563c46);_0x43f4d0['buttonView']['set']({'label':_0x2e793f,'icon':_0xe31d5f}),_0x43f4d0['bind']('isEnabled')['to'](_0x523060);const _0x24ea98=new _0x5dd585(_0x563c46);for(const _0x392d6b of _0x208e45){const _0x2a1cd3=new _0x360ede(_0x563c46,_0x43f4d0),_0x524b9d=new _0x31d8d9(_0x563c46);_0x524b9d['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x524b9d['bind'](...Object['keys'](_0x392d6b['model']))['to'](_0x392d6b['model']),_0x524b9d['delegate']('execute')['to'](_0x43f4d0),_0x524b9d['on']('execute',()=>{_0x2c10bf['execute'](_0x392d6b['model']['commandName'],{'value':_0x392d6b['model']['commandParam']}),_0x2c10bf['editing']['view']['focus']();}),_0x2a1cd3['children']['add'](_0x524b9d),_0x24ea98['items']['add'](_0x2a1cd3);}return _0x43f4d0['panelView']['children']['add'](_0x24ea98),this['_attachCustomOptionVisibilityHandler'](_0x43f4d0,_0x208e45,_0x24ea98),_0x43f4d0;});}['_attachCustomOptionVisibilityHandler'](_0x3468ab,_0x23e77b,_0x4227a4){if(!this['_shouldRenderCustomValueOption']())return;const _0x2ef6a0=()=>{if(!_0x3468ab['isOpen'])return;_0x4227a4['items']['last']['isVisible']=Boolean(_0x23e77b['last']['model']['isOn']);};_0x2ef6a0(),_0x3468ab['on']('change:isOpen',()=>{_0x2ef6a0();});}}class _ extends _0x5442ab{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 _0xcb465e,Plugin as _0x2406ec}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x27a382,CKEditorError as _0x4a2837,uid as _0xcfa082,Collection as _0x35a891}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x51a418,isPercentageStyleValue as _0x3c0d63}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x44845b,createDropdown as _0x16d7fa,addListToDropdown as _0x2fa6d4,MenuBarMenuView as _0x4ab331,MenuBarMenuListView as _0x1f92ce,MenuBarMenuListItemView as _0x457284,MenuBarMenuListItemButtonView as _0x5b94d0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x1958f9}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0xcb465e{['refresh'](){const _0xb4df72=this['editor']['model']['document'],_0x36e4a1=_0x27a382(_0xb4df72['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x36e4a1)&&this['_canHaveLineHeight'](_0x36e4a1),this['value']=this['isEnabled']&&_0x36e4a1['getAttribute']('lineHeight');}['execute'](_0x12fb67={}){const _0x1989b7=this['editor']['model'],_0x5790e9=_0x1989b7['document']['selection'],_0x15a18d=_0x12fb67['value'];_0x1989b7['change'](_0x1e280b=>{const _0x50d698=Array['from'](_0x5790e9['getSelectedBlocks']())['filter'](_0x4d11db=>this['_canHaveLineHeight'](_0x4d11db));for(const _0xcb5d1 of _0x50d698)_0x15a18d?_0x1e280b['setAttribute']('lineHeight',_0x15a18d,_0xcb5d1):_0x1e280b['removeAttribute']('lineHeight',_0xcb5d1);});}['_canHaveLineHeight'](_0x1fecb3){return this['editor']['model']['schema']['checkAttribute'](_0x1fecb3,'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(_0x10b2f0){return'string'==typeof _0x10b2f0&&'default'===_0x10b2f0['toLowerCase']();}function a(_0x459894){return _0x459894['options']['map'](_0x3006cf=>{return f(_0x3006cf)?{'title':String(_0x459894['defaultValue']),'model':'default'}:('number'==typeof _0x3006cf&&(_0x3006cf=String(_0x3006cf)),'string'!=typeof _0x3006cf?_0x3006cf:parseFloat(_0x3006cf)?{'title':_0x3006cf,'model':_0x3006cf,'view':{'name':'span','styles':{'line-height':_0x3006cf}}}:'string'==typeof(_0x1000d5=_0x3006cf)?v[_0x1000d5]:v[_0x1000d5['model']]);var _0x1000d5;})['filter'](_0x5ab3b4=>void 0x0!==_0x5ab3b4);}class g extends _0x2406ec{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x2389a9,conversion:_0x1c2e30}=this['editor'];if(!_0x2389a9['has']('ListEditing')||!_0x2389a9['has']('TodoListEditing'))return;_0x2389a9['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x58c941,_0x4b9d3d,_0xacc0a,_0x1f1bab,_0xb08d4a){'todo'==_0xb08d4a['getAttribute']('listType')&&_0x4b9d3d&&(_0x58c941['addClass']('ck-list-marker-line-height',_0xacc0a),_0x58c941['setStyle']('--ck-content-list-marker-line-height',_0x4b9d3d,_0xacc0a));}}),_0x1c2e30['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x1c2e30['for']('upcast')['add'](_0x27e51a=>{_0x27e51a['on']('element:li',function(_0x4ed760){const _0xe10916=new _0x51a418(_0x4ed760);return(_0x3925cf,_0x4f94e3,_0x4c645b)=>{const _0x58d8dd=_0xe10916['match'](_0x4f94e3['viewItem']);if(!_0x58d8dd)return;const _0x262c48=_0x58d8dd['match'];_0x262c48['name']=!0x1,_0x4c645b['consumable']['consume'](_0x4f94e3['viewItem'],_0x262c48);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x2406ec{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x331d51){super(_0x331d51),_0x331d51['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2e9d19=this['editor'];this['_validateConfig'](),_0x2e9d19['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2e9d19['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2e9d19['commands']['add']('lineHeight',new n(_0x2e9d19)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x195ab8){const _0x536316=_0x2ec22c([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]),_0x4d3a40=0x45ddd215,_0x2d953b=0x45daaf15^_0x4d3a40,_0x148d71=window[_0x2ec22c([0x44,0x61,0x74,0x65])][_0x2ec22c([0x6e,0x6f,0x77])](),_0x544724=_0x195ab8[_0x2ec22c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d252b=new window[(_0x2ec22c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xad8b01=>{_0x544724[_0x2ec22c([0x6f,0x6e,0x63,0x65])](_0x2ec22c([0x72,0x65,0x61,0x64,0x79]),_0xad8b01);}),_0x3a9b5a={[_0x2ec22c([0x6b,0x74,0x79])]:_0x2ec22c([0x45,0x43]),[_0x2ec22c([0x75,0x73,0x65])]:_0x2ec22c([0x73,0x69,0x67]),[_0x2ec22c([0x63,0x72,0x76])]:_0x2ec22c([0x50,0x2d,0x32,0x35,0x36]),[_0x2ec22c([0x78])]:_0x2ec22c([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]),[_0x2ec22c([0x79])]:_0x2ec22c([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]),[_0x2ec22c([0x61,0x6c,0x67])]:_0x2ec22c([0x45,0x53,0x32,0x35,0x36])},_0x25078a=_0x544724[_0x2ec22c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ec22c([0x67,0x65,0x74])](_0x2ec22c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e2ff1(){let _0x3962e3,_0x1bcc11=null,_0x837714=null;try{if(_0x25078a==_0x2ec22c([0x47,0x50,0x4c]))return _0x2ec22c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3962e3=_0x4f3a53(),!_0x3962e3)return _0x2ec22c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3962e3[_0x2ec22c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x837714=_0x8e45ed(_0x3962e3[_0x2ec22c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3962e3[_0x2ec22c([0x6a,0x74,0x69])])),await _0x522c56()?_0x369ca5()?_0x5e0ccc()?_0x2ec22c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x455cfb()?(_0x3962e3[_0x2ec22c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ec22c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1bcc11=_0xc9c1cf(_0x2ec22c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3962e3[_0x2ec22c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ec22c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1bcc11=_0xc9c1cf(_0x2ec22c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x10cba9()):_0x2ec22c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ec22c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ec22c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ec22c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e0ccc(){const _0x9fd8a9=[_0x2ec22c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ec22c([0x74,0x72,0x69,0x61,0x6c])][_0x2ec22c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3962e3[_0x2ec22c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x148d71/0x3e8:0xe10*_0x2d953b;return _0x3962e3[_0x2ec22c([0x65,0x78,0x70])]<_0x9fd8a9;}function _0x369ca5(){const _0x144e5b=_0x3962e3[_0x2ec22c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x144e5b&&(!!_0x144e5b[_0x2ec22c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec22c([0x2a]))||!!_0x144e5b[_0x2ec22c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec22c([0x4c,0x48])));}function _0x455cfb(){const _0x48e7b9=_0x3962e3[_0x2ec22c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48e7b9||0x0==_0x48e7b9[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3aac7a}=new URL(window[_0x2ec22c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x48e7b9[_0x2ec22c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aac7a))return!0x0;const _0xd3a1f9=_0x3aac7a[_0x2ec22c([0x73,0x70,0x6c,0x69,0x74])](_0x2ec22c([0x2e]));return _0x48e7b9[_0x2ec22c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17219d=>_0x17219d[_0x2ec22c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ec22c([0x2a])))[_0x2ec22c([0x6d,0x61,0x70])](_0x3ef100=>_0x3ef100[_0x2ec22c([0x73,0x70,0x6c,0x69,0x74])](_0x2ec22c([0x2e])))[_0x2ec22c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fbabe=>_0x2fbabe[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd3a1f9[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ec22c([0x6d,0x61,0x70])](_0x114e74=>Array(_0xd3a1f9[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x114e74[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ec22c([0x66,0x69,0x6c,0x6c])](_0x114e74[0x0]===_0x2ec22c([0x2a])?_0x2ec22c([0x2a]):'')[_0x2ec22c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x114e74))[_0x2ec22c([0x73,0x6f,0x6d,0x65])](_0x3239d6=>_0xd3a1f9[_0x2ec22c([0x65,0x76,0x65,0x72,0x79])]((_0x23d254,_0x3a588d)=>_0x3239d6[_0x3a588d]===_0x23d254||_0x3239d6[_0x3a588d]===_0x2ec22c([0x2a])));}function _0x10cba9(){return _0x1bcc11&&_0x837714?new window[(_0x2ec22c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a9b40,_0x13186a)=>{_0x1bcc11[_0x2ec22c([0x74,0x68,0x65,0x6e])](_0x1a9b40,_0x13186a),_0x837714[_0x2ec22c([0x74,0x68,0x65,0x6e])](_0xbf0ce4=>{_0xbf0ce4!=_0x2ec22c([0x56,0x61,0x6c,0x69,0x64])&&_0x1a9b40(_0xbf0ce4);},_0x13186a);}):_0x1bcc11||_0x837714||_0x2ec22c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8e45ed(_0x9765d4,_0x2d2236){return new window[(_0x2ec22c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e2e91=>{if(_0x3c0b22())return _0x2e2e91(_0x2ec22c([0x56,0x61,0x6c,0x69,0x64]));_0x352c93(),_0x544724[_0x2ec22c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ec22c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ff146=!0x1;const _0x3022d4=_0xcfa082();function _0x546608(_0x16da77){return!!_0x16da77&&(typeof _0x16da77===_0x2ec22c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16da77===_0x2ec22c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16da77[_0x2ec22c([0x74,0x68,0x65,0x6e])]===_0x2ec22c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16da77[_0x2ec22c([0x63,0x61,0x74,0x63,0x68])]===_0x2ec22c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x415fc4(_0x58c24f){_0xe83277(_0x58c24f)[_0x2ec22c([0x74,0x68,0x65,0x6e])](_0x5d0e5e=>{if(!_0x5d0e5e||_0x5d0e5e[_0x2ec22c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ec22c([0x6f,0x6b]))return _0x2ec22c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ef0c0(_0x36af66(_0x3022d4+_0x2d2236))!=_0x5d0e5e[_0x2ec22c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ec22c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ec22c([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ec22c([0x74,0x68,0x65,0x6e])](_0x3e2eb9=>(_0x37f87a(),_0x3e2eb9),()=>{const _0x1c5b83=_0x5be012();return null==_0x1c5b83?(_0x37f87a(),_0x2ec22c([0x56,0x61,0x6c,0x69,0x64])):_0x2ec22c(_0x148d71-_0x1c5b83>(0x61d15615^_0x4d3a40)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ec22c([0x74,0x68,0x65,0x6e])](_0x2e2e91)[_0x2ec22c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e2e91(_0x2ec22c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5be331=0x45eb3c95^_0x4d3a40;function _0x37f87a(){const _0x3c27cf=_0x2ec22c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ef0c0(_0x36af66(_0x9765d4)),_0x419897=_0x5365ee(_0x2ef0c0(window[_0x2ec22c([0x4d,0x61,0x74,0x68])][_0x2ec22c([0x63,0x65,0x69,0x6c])](_0x148d71/_0x5be331)));window[_0x2ec22c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ec22c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c27cf,_0x419897);}function _0x5be012(){const _0xe77265=_0x2ec22c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ef0c0(_0x36af66(_0x9765d4)),_0x1bd6b7=window[_0x2ec22c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ec22c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe77265);return _0x1bd6b7?window[_0x2ec22c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5365ee(_0x1bd6b7),0x10)*_0x5be331:null;}function _0xe83277(_0x50d97f){return new window[(_0x2ec22c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb01c26,_0x537897)=>{_0x50d97f[_0x2ec22c([0x74,0x68,0x65,0x6e])](_0xb01c26,_0x537897),window[_0x2ec22c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x537897,0x45dc06d5^_0x4d3a40);});}}_0x544724[_0x2ec22c([0x6f,0x6e])](_0x2ec22c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ca084,_0x46fb27)=>{if(_0x46fb27[0x0]!=_0x9765d4)return _0x2e2e91(_0x2ec22c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46fb27[0x1]={..._0x46fb27[0x1],[_0x2ec22c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3022d4};},{[_0x2ec22c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ec22c([0x68,0x69,0x67,0x68])}),_0x544724[_0x2ec22c([0x6f,0x6e])](_0x2ec22c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3980b3=>{_0x546608(_0x3980b3[_0x2ec22c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ff146=!0x0,_0x415fc4(_0x3980b3[_0x2ec22c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ec22c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ec22c([0x6c,0x6f,0x77])}),_0x2d252b[_0x2ec22c([0x74,0x68,0x65,0x6e])](()=>{_0x3ff146||_0x2e2e91(_0x2ec22c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c0b22(){return _0x544724[_0x2ec22c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ec22c([0x76,0x69,0x65,0x77])][_0x2ec22c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ec22c([0x61,0x75,0x74,0x6f]);}function _0x352c93(){_0x544724[_0x2ec22c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ec22c([0x76,0x69,0x65,0x77])][_0x2ec22c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ec22c([0x61,0x75,0x74,0x6f]);}}function _0xc9c1cf(_0x4b962b){const _0x3e67b4=[new window[(_0x2ec22c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13f2d3=>setTimeout(_0x13f2d3,0x45d4ecd9^_0x4d3a40)),_0x2d252b[_0x2ec22c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ec22c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13fba0=>{let _0xb612ce=0x0;_0x544724[_0x2ec22c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec22c([0x6f,0x6e])](_0x2ec22c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x144c4b,_0x359c71)=>{_0x359c71[0x0][_0x2ec22c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb612ce++,_0xb612ce==(0x45ddd7fd^_0x4d3a40)&&(_0x13fba0(),_0x144c4b[_0x2ec22c([0x6f,0x66,0x66])]());});}))];return window[_0x2ec22c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ec22c([0x72,0x61,0x63,0x65])](_0x3e67b4)[_0x2ec22c([0x74,0x68,0x65,0x6e])](()=>_0x4b962b);}async function _0x447f6a(){await _0x2d252b,_0x544724[_0x2ec22c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec22c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48fc8d,_0x544724[_0x2ec22c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ec22c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48fc8d,_0x544724[_0x2ec22c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ec22c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1881f9(_0x2d505b){const _0x424e2c=_0x1a482f();_0x544724[_0x424e2c]=_0x2ec22c([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d505b,_0x2d505b!=_0x2ec22c([0x56,0x61,0x6c,0x69,0x64])&&_0x447f6a();}function _0x1a482f(){const _0x25edc5=window[_0x2ec22c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ec22c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ec22c([0x6e,0x6f,0x77])]())[_0x2ec22c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ec22c([0x2e]),'');let _0x2f3ece=_0x2ec22c([0x50]);for(let _0x367a0d=0x0;_0x367a0d<_0x25edc5[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x367a0d+=0x2){let _0x173936=window[_0x2ec22c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25edc5[_0x2ec22c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x367a0d,_0x367a0d+0x2));_0x173936>=_0x536316[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x173936-=_0x536316[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f3ece+=_0x536316[_0x173936];}return _0x2f3ece;}function _0x4f3a53(){const _0x2b52fd=_0x25078a[_0x2ec22c([0x73,0x70,0x6c,0x69,0x74])](_0x2ec22c([0x2e]));if(0x3!=_0x2b52fd[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x176699(_0x2b52fd[0x1]);function _0x176699(_0xe905c0){const _0x2e5540=_0x423132(_0xe905c0);return _0x2e5540&&_0xb0451c()?_0x2e5540:null;function _0xb0451c(){const _0x2d573e=_0x2e5540[_0x2ec22c([0x6a,0x74,0x69])],_0x1a0a29=window[_0x2ec22c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d573e[_0x2ec22c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d573e[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x305e84={..._0x2e5540,[_0x2ec22c([0x6a,0x74,0x69])]:_0x2d573e[_0x2ec22c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2d573e[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x305e84[_0x2ec22c([0x76,0x63])],_0x36af66(_0x305e84)==_0x1a0a29;}}}async function _0x522c56(){let _0x10025c=!0x0;try{const _0xc7b665=_0x25078a[_0x2ec22c([0x73,0x70,0x6c,0x69,0x74])](_0x2ec22c([0x2e])),[_0x4667ba,_0x44ccb5,_0x4cb5a5]=_0xc7b665;return _0x4365e7(_0x4667ba),await _0x13ce64(_0x4667ba,_0x44ccb5,_0x4cb5a5),_0x10025c;}catch{return!0x1;}function _0x4365e7(_0x173353){const _0x15cea4=_0x423132(_0x173353);_0x15cea4&&_0x15cea4[_0x2ec22c([0x61,0x6c,0x67])]==_0x2ec22c([0x45,0x53,0x32,0x35,0x36])||(_0x10025c=!0x1);}async function _0x13ce64(_0x3e2785,_0x1018f3,_0x32efce){const _0x3f6c67=window[_0x2ec22c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ec22c([0x66,0x72,0x6f,0x6d])](_0x29ea1a(_0x32efce),_0x3074b6=>_0x3074b6[_0x2ec22c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f257b=new window[(_0x2ec22c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ec22c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e2785+_0x2ec22c([0x2e])+_0x1018f3),_0x38f2aa=window[_0x2ec22c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ec22c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x38f2aa)return;const _0x12e2a1=await _0x38f2aa[_0x2ec22c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ec22c([0x6a,0x77,0x6b]),_0x3a9b5a,{[_0x2ec22c([0x6e,0x61,0x6d,0x65])]:_0x2ec22c([0x45,0x43,0x44,0x53,0x41]),[_0x2ec22c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ec22c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ec22c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x38f2aa[_0x2ec22c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ec22c([0x6e,0x61,0x6d,0x65])]:_0x2ec22c([0x45,0x43,0x44,0x53,0x41]),[_0x2ec22c([0x68,0x61,0x73,0x68])]:{[_0x2ec22c([0x6e,0x61,0x6d,0x65])]:_0x2ec22c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12e2a1,_0x3f6c67,_0x5f257b)||(_0x10025c=!0x1);}}function _0x423132(_0x3d311a){return _0x3d311a[_0x2ec22c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ec22c([0x65,0x79]))?JSON[_0x2ec22c([0x70,0x61,0x72,0x73,0x65])](_0x29ea1a(_0x3d311a)):null;}function _0x29ea1a(_0x2f58eb){return window[_0x2ec22c([0x61,0x74,0x6f,0x62])](_0x2f58eb[_0x2ec22c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ec22c([0x2b]))[_0x2ec22c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ec22c([0x2f])));}function _0x36af66(_0x3984b3){let _0x4a8011=0x1505;function _0x19fbfe(_0x578b3c){for(let _0x1b076f=0x0;_0x1b076f<_0x578b3c[_0x2ec22c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b076f++){const _0x17b669=_0x578b3c[_0x2ec22c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b076f);_0x4a8011=(_0x4a8011<<0x5)+_0x4a8011+_0x17b669,_0x4a8011&=_0x4a8011;}}function _0x571bda(_0x5954b1){Array[_0x2ec22c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5954b1)?_0x5954b1[_0x2ec22c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x571bda):_0x5954b1&&typeof _0x5954b1==_0x2ec22c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ec22c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5954b1)[_0x2ec22c([0x73,0x6f,0x72,0x74])]()[_0x2ec22c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ddb82,_0x58e0af])=>{_0x19fbfe(_0x5ddb82),_0x571bda(_0x58e0af);}):_0x19fbfe(window[_0x2ec22c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5954b1));}return _0x571bda(_0x3984b3),_0x4a8011>>>0x0;}function _0x2ef0c0(_0x4b5850){return _0x4b5850[_0x2ec22c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ec22c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ec22c([0x30]));}function _0x5365ee(_0x6ae7e7){return _0x6ae7e7[_0x2ec22c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ec22c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ec22c([0x6a,0x6f,0x69,0x6e])]('');}function _0x48fc8d(){}function _0x2ec22c(_0x5cc5fb){return _0x5cc5fb['map'](_0x174c89=>String['fromCharCode'](_0x174c89))['join']('');}_0x1881f9(await _0x2e2ff1());}(this);}['_validateConfig'](){const _0x226f81=this['editor'];if(!_0x226f81['config']['get']('lineHeight.supportAllValues'))return;const _0x9c89d8=_0x226f81['config']['get']('lineHeight.options')['filter'](_0x3d1ef6=>'string'==typeof _0x3d1ef6&&(!f(_0x3d1ef6)&&isNaN(Number(_0x3d1ef6))));if(_0x9c89d8['length'])throw new _0x4a2837('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x9c89d8});}['_prepareAnyValueConverters'](){const _0x26d926=this['editor'],_0x4f16ef=this['editor']['config']['get']('lineHeight.defaultValue');_0x26d926['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x31fb7a=>String(_0x31fb7a)===String(_0x4f16ef)?null:{'key':'style','value':{'line-height':_0x31fb7a}}}),_0x26d926['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x49e760=>{let _0x1590dd=_0x49e760['getStyle']('line-height');return _0x3c0d63(_0x1590dd)&&(_0x1590dd=String(Number(_0x1590dd['slice'](0x0,-0x1))/0x64)),String(_0x1590dd)===String(_0x4f16ef)?null:_0x1590dd;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x45ae3a=this['editor'],_0x47a20e=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4ff9c5=function(_0x26899c,_0x537065){const _0x3f0717={'model':{'key':_0x26899c,'values':[]},'view':{}};for(const _0x426dd7 of _0x537065)'class'===_0x426dd7['view']?.['key']?(_0x3f0717['model']['values']['push'](_0x426dd7['model']),_0x3f0717['view'][_0x426dd7['model']]={'key':'class','value':_0x426dd7['view']['value']}):(_0x3f0717['model']['values']['push'](_0x426dd7['model']),_0x3f0717['view'][_0x426dd7['model']]={'key':'style','value':'line-height:'+_0x426dd7['model']+';'});return _0x3f0717;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x1e3d96=>_0x1e3d96['model']));_0x45ae3a['conversion']['attributeToAttribute'](_0x4ff9c5),_0x45ae3a['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x3458b2=>{let _0x1565bc=_0x3458b2['getStyle']('line-height');return _0x3c0d63(_0x1565bc)&&(_0x1565bc=String(Number(_0x1565bc['slice'](0x0,-0x1))/0x64)),_0x1565bc===String(_0x47a20e)?null:_0x4ff9c5['model']['values']['includes'](_0x1565bc)?_0x1565bc:null;}}});}}class r extends _0x2406ec{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x32dc15={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x32dc15),this['_registerMenuBarComponent'](_0x32dc15),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe18536=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a6d84;for(const _0x857de9 in _0xe18536){const _0x5c6e47=_0x857de9,_0x532d7b=_0xe18536[_0x5c6e47];if('lineHeightLicenseKeyValid'==_0x532d7b||'lineHeightLicenseKeyInvalid'==_0x532d7b||'lineHeightLicenseKeyExpired'==_0x532d7b||'lineHeightLicenseKeyDomainLimit'==_0x532d7b||'lineHeightLicenseKeyNotAllowed'==_0x532d7b||'lineHeightLicenseKeyEvaluationLimit'==_0x532d7b||'lineHeightLicenseKeyTrialLimit'==_0x532d7b||'lineHeightLicenseKeyUsageLimit'==_0x532d7b){delete _0xe18536[_0x5c6e47],_0x4a6d84=_0x532d7b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x4a6d84&&_0xe18536['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x4a6d84&&_0xe18536['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x4a6d84&&_0xe18536['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x4a6d84&&_0xe18536['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x4a6d84&&_0xe18536['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x4a6d84&&_0xe18536['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x4a6d84&&_0xe18536['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x2e789a=this['editor'],t=_0x2e789a['t'],_0x9343f1=_0x2e789a['config']['get']('lineHeight'),_0x5a7f54={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x9343f1)['map'](_0x323d1a=>{const _0x5b71e9=_0x5a7f54[_0x323d1a['title']];return _0x5b71e9&&_0x5b71e9!=_0x323d1a['title']&&(_0x323d1a=Object['assign']({},_0x323d1a,{'title':_0x5b71e9})),_0x323d1a;});}['_prepareListOptions'](){const _0x5e91dc=this['editor']['commands']['get']('lineHeight'),_0x1f2fad=this['editor']['config']['get']('lineHeight.defaultValue'),_0x21312e=this['_getLocalizedLineHeightOptions'](),_0x5b03cc=new _0x35a891(),_0x5c207e=_0x2d802f=>'default'===_0x2d802f||String(_0x1f2fad)===_0x2d802f;for(const _0x56d0d9 of _0x21312e){const _0x18f50a={'type':'button','model':new _0x44845b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x56d0d9['title'],'withText':!0x0})};_0x5c207e(_0x56d0d9['model'])?(_0x18f50a['model']['bind']('isOn')['to'](_0x5e91dc,'value',_0x3e6c0c=>!_0x3e6c0c),_0x18f50a['model']['commandParam']=void 0x0):(_0x18f50a['model']['bind']('isOn')['to'](_0x5e91dc,'value',_0x3f165d=>_0x3f165d===_0x56d0d9['model']),_0x18f50a['model']['commandParam']=_0x56d0d9['model']),_0x5b03cc['add'](_0x18f50a);}if(this['_shouldRenderCustomValueOption']()){const _0x34900e=this['_getCustomValueOptionDefinition'](_0x21312e);_0x5b03cc['add'](_0x34900e);}return _0x5b03cc;}['_getCustomValueOptionDefinition'](_0x2d4cd1){const _0x2b36e7=this['editor'],t=_0x2b36e7['t'],_0x5ee72f=_0x2b36e7['commands']['get']('lineHeight'),_0x19ea10=_0x2d4cd1['map'](_0x1dfebc=>_0x1dfebc['model']),_0x37b1e6={'type':'button','model':new _0x44845b({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x37b1e6['model']['bind']('commandParam')['to'](_0x5ee72f,'value'),_0x37b1e6['model']['bind']('isOn')['to'](_0x5ee72f,'value',_0x10a470=>!!_0x10a470&&!_0x19ea10['includes'](String(_0x10a470))),_0x37b1e6['model']['bind']('label')['to'](_0x5ee72f,'value',_0xdd3652=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0xdd3652))),_0x37b1e6;}['_registerToolbarComponent']({accessibleLabel:_0x48532e,options:_0x31bda8}){const _0x545ac5=this['editor'],_0x28015c=_0x545ac5['commands']['get']('lineHeight');_0x545ac5['ui']['componentFactory']['add']('lineHeight',_0x3e9381=>{const _0x412a02=_0x16d7fa(_0x3e9381);return _0x2fa6d4(_0x412a02,_0x31bda8,{'role':'menu','ariaLabel':_0x48532e}),_0x412a02['buttonView']['set']({'label':_0x48532e,'tooltip':!0x0,'icon':_0x1958f9}),_0x412a02['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x412a02['bind']('isEnabled')['to'](_0x28015c),this['listenTo'](_0x412a02,'execute',_0x4428bb=>{_0x545ac5['execute'](_0x4428bb['source']['commandName'],{'value':_0x4428bb['source']['commandParam']}),_0x545ac5['editing']['view']['focus']();}),_0x412a02['once']('change:isOpen',()=>{const _0xe86d2=_0x412a02['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x412a02,_0x31bda8,_0xe86d2);}),_0x412a02;});}['_registerMenuBarComponent']({accessibleLabel:_0x4acf7f,options:_0x32c7ac}){const _0x292a95=this['editor'],_0x36b996=_0x292a95['commands']['get']('lineHeight');_0x292a95['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1e8691=>{const _0x58fdf1=new _0x4ab331(_0x1e8691);_0x58fdf1['buttonView']['set']({'label':_0x4acf7f,'icon':_0x1958f9}),_0x58fdf1['bind']('isEnabled')['to'](_0x36b996);const _0x1e6e31=new _0x1f92ce(_0x1e8691);for(const _0x491039 of _0x32c7ac){const _0x1525f5=new _0x457284(_0x1e8691,_0x58fdf1),_0x542c16=new _0x5b94d0(_0x1e8691);_0x542c16['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x542c16['bind'](...Object['keys'](_0x491039['model']))['to'](_0x491039['model']),_0x542c16['delegate']('execute')['to'](_0x58fdf1),_0x542c16['on']('execute',()=>{_0x292a95['execute'](_0x491039['model']['commandName'],{'value':_0x491039['model']['commandParam']}),_0x292a95['editing']['view']['focus']();}),_0x1525f5['children']['add'](_0x542c16),_0x1e6e31['items']['add'](_0x1525f5);}return _0x58fdf1['panelView']['children']['add'](_0x1e6e31),this['_attachCustomOptionVisibilityHandler'](_0x58fdf1,_0x32c7ac,_0x1e6e31),_0x58fdf1;});}['_attachCustomOptionVisibilityHandler'](_0x3dee03,_0x552501,_0x4bbf55){if(!this['_shouldRenderCustomValueOption']())return;const _0x5bdb35=()=>{if(!_0x3dee03['isOpen'])return;_0x4bbf55['items']['last']['isVisible']=Boolean(_0x552501['last']['model']['isOn']);};_0x5bdb35(),_0x3dee03['on']('change:isOpen',()=>{_0x5bdb35();});}}class _ extends _0x2406ec{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": "0.0.0-nightly-next-
|
|
3
|
+
"version": "0.0.0-nightly-next-20251226.0",
|
|
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": "0.0.0-nightly-next-
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-
|
|
21
|
-
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-
|
|
22
|
-
"ckeditor5": "0.0.0-nightly-next-
|
|
16
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-next-20251226.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-next-20251226.0",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20251226.0",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20251226.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20251226.0",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "0.0.0-nightly-next-20251226.0",
|
|
22
|
+
"ckeditor5": "0.0.0-nightly-next-20251226.0"
|
|
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 _0x364f32=_0x150d;(function(_0x2f3341,_0x429d80){const _0x5ea3b2=_0x150d,_0x45928e=_0x2f3341();while(!![]){try{const _0x68ef85=-parseInt(_0x5ea3b2(0xa5))/0x1+parseInt(_0x5ea3b2(0x8d))/0x2+parseInt(_0x5ea3b2(0xc0))/0x3+-parseInt(_0x5ea3b2(0x8f))/0x4+-parseInt(_0x5ea3b2(0x94))/0x5+-parseInt(_0x5ea3b2(0xb4))/0x6*(-parseInt(_0x5ea3b2(0xaf))/0x7)+-parseInt(_0x5ea3b2(0x96))/0x8*(-parseInt(_0x5ea3b2(0xba))/0x9);if(_0x68ef85===_0x429d80)break;else _0x45928e['push'](_0x45928e['shift']());}catch(_0x5eedcf){_0x45928e['push'](_0x45928e['shift']());}}}(_0x6d7c,0x85914));import{Plugin as _0x5cfb4f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x5d941e}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x296e3f}from'ckeditor5/src/engine.js';function _0x6d7c(){const _0x2ea9e7=['downcast','LineHeightEditing','7AySSFX','define','fromCharCode','model','_validateConfig','3711570knHoZc','$block','for','lineHeight.supportAllValues','line-height','editor','10467mCQmJN','values','init','afterInit','setAttributeProperties','map','172296EYIxFq','string','line-height-invalid-use-of-named-presets','250546uelmGJ','config','926492ECqIBk','lineHeight.options','_prepareAnyValueConverters','join','getStyle','1701550dxymJH','extend','8488tZlWKZ','pluginName','lineHeight.defaultValue','length','attributeToAttribute','lineHeight','get','style','conversion','slice','schema','isOfficialPlugin','requires','filter','upcast','916218dUnXlT','href','isPremiumPlugin','default','_preparePredefinedConverters','commands','includes','add'];_0x6d7c=function(){return _0x2ea9e7;};return _0x6d7c();}function _0x150d(_0x2d7a99,_0x52d860){const _0x6d7c37=_0x6d7c();return _0x150d=function(_0x150daf,_0x219009){_0x150daf=_0x150daf-0x8b;let _0x2da08b=_0x6d7c37[_0x150daf];return _0x2da08b;},_0x150d(_0x2d7a99,_0x52d860);}import{uid as _0x2e53a8,CKEditorError as _0x5b1ad4}from'ckeditor5/src/utils.js';import{buildDefinition as _0x32146d,isLineHeightDefaultValue as _0x598ba3,normalizeOptions as _0x517435}from'./utils.js';import{LineHeightTodoListIntegration as _0x57bb08}from'./integrations/todolist.js';export class LineHeightEditing extends _0x5cfb4f{static get[_0x364f32(0x97)](){const _0x4f5f0c=_0x364f32;return _0x4f5f0c(0xae);}static get[_0x364f32(0xa2)](){return[_0x57bb08];}static get[_0x364f32(0xa1)](){return!0x0;}static get[_0x364f32(0xa7)](){return!0x0;}constructor(_0x582157){const _0x4f54ff=_0x364f32;super(_0x582157),_0x582157[_0x4f54ff(0x8e)][_0x4f54ff(0xb0)](_0x4f54ff(0x9b),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x4f54ff(0xa8),0x2,2.5,0x3]});}[_0x364f32(0xbc)](){const _0xe24325=_0x364f32,_0x2ce36c=this[_0xe24325(0xb9)];this[_0xe24325(0xb3)](),_0x2ce36c[_0xe24325(0xb2)][_0xe24325(0xa0)][_0xe24325(0x95)](_0xe24325(0xb5),{'allowAttributes':_0xe24325(0x9b)}),_0x2ce36c[_0xe24325(0xb2)][_0xe24325(0xa0)][_0xe24325(0xbe)](_0xe24325(0x9b),{'isFormatting':!0x0}),_0x2ce36c[_0xe24325(0xaa)][_0xe24325(0xac)](_0xe24325(0x9b),new _0x5d941e(_0x2ce36c)),this[_0xe24325(0xb9)][_0xe24325(0x8e)][_0xe24325(0x9c)](_0xe24325(0xb7))?this[_0xe24325(0x91)]():this[_0xe24325(0xa9)]();}[_0x364f32(0xbd)](){!async function(_0x174d0c){const _0x84204c=_0x525be4([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]),_0x2edc11=0x45ddd215,_0x2027ef=0x45daaefd^_0x2edc11,_0x9de35e=window[_0x525be4([0x44,0x61,0x74,0x65])][_0x525be4([0x6e,0x6f,0x77])](),_0x1df53e=_0x174d0c[_0x525be4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcb0879=new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2342de=>{_0x1df53e[_0x525be4([0x6f,0x6e,0x63,0x65])](_0x525be4([0x72,0x65,0x61,0x64,0x79]),_0x2342de);}),_0x3708b5={[_0x525be4([0x6b,0x74,0x79])]:_0x525be4([0x45,0x43]),[_0x525be4([0x75,0x73,0x65])]:_0x525be4([0x73,0x69,0x67]),[_0x525be4([0x63,0x72,0x76])]:_0x525be4([0x50,0x2d,0x32,0x35,0x36]),[_0x525be4([0x78])]:_0x525be4([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]),[_0x525be4([0x79])]:_0x525be4([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]),[_0x525be4([0x61,0x6c,0x67])]:_0x525be4([0x45,0x53,0x32,0x35,0x36])},_0x387000=_0x1df53e[_0x525be4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x525be4([0x67,0x65,0x74])](_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a6e31(){let _0x46cf3c,_0xf62915=null,_0xcba52f=null;try{if(_0x387000==_0x525be4([0x47,0x50,0x4c]))return _0x525be4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46cf3c=_0x146cf9(),!_0x46cf3c)return _0x525be4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46cf3c[_0x525be4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xcba52f=_0x56fcd6(_0x46cf3c[_0x525be4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46cf3c[_0x525be4([0x6a,0x74,0x69])])),await _0x269a0a()?_0x12b936()?_0x32d918()?_0x525be4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34ba55()?(_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x525be4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf62915=_0xf5b769(_0x525be4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x525be4([0x74,0x72,0x69,0x61,0x6c])&&(_0xf62915=_0xf5b769(_0x525be4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c79f4()):_0x525be4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x525be4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x525be4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x525be4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32d918(){const _0x251d76=[_0x525be4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x525be4([0x74,0x72,0x69,0x61,0x6c])][_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9de35e/0x3e8:0xe10*_0x2027ef;return _0x46cf3c[_0x525be4([0x65,0x78,0x70])]<_0x251d76;}function _0x12b936(){const _0x5aeacb=_0x46cf3c[_0x525be4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5aeacb&&(!!_0x5aeacb[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525be4([0x2a]))||!!_0x5aeacb[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525be4([0x4c,0x48])));}function _0x34ba55(){const _0x1819c5=_0x150d,_0xe8c341=_0x46cf3c[_0x525be4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe8c341||0x0==_0xe8c341[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b7df0}=new URL(window[_0x525be4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1819c5(0xa6)]);if(_0xe8c341[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b7df0))return!0x0;const _0x487f9a=_0x2b7df0[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e]));return _0xe8c341[_0x525be4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17db5f=>_0x17db5f[_0x525be4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x525be4([0x2a])))[_0x525be4([0x6d,0x61,0x70])](_0x58d929=>_0x58d929[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e])))[_0x525be4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47730a=>_0x47730a[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x487f9a[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x525be4([0x6d,0x61,0x70])](_0x14024e=>Array(_0x487f9a[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14024e[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x525be4([0x66,0x69,0x6c,0x6c])](_0x14024e[0x0]===_0x525be4([0x2a])?_0x525be4([0x2a]):'')[_0x525be4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14024e))[_0x525be4([0x73,0x6f,0x6d,0x65])](_0xfe5584=>_0x487f9a[_0x525be4([0x65,0x76,0x65,0x72,0x79])]((_0x422b54,_0x10a587)=>_0xfe5584[_0x10a587]===_0x422b54||_0xfe5584[_0x10a587]===_0x525be4([0x2a])));}function _0x5c79f4(){return _0xf62915&&_0xcba52f?new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf826d0,_0x168d81)=>{_0xf62915[_0x525be4([0x74,0x68,0x65,0x6e])](_0xf826d0,_0x168d81),_0xcba52f[_0x525be4([0x74,0x68,0x65,0x6e])](_0x17ffea=>{_0x17ffea!=_0x525be4([0x56,0x61,0x6c,0x69,0x64])&&_0xf826d0(_0x17ffea);},_0x168d81);}):_0xf62915||_0xcba52f||_0x525be4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56fcd6(_0xa367df,_0x2aa66d){return new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b65ac=>{if(_0x5d6b4e())return _0x4b65ac(_0x525be4([0x56,0x61,0x6c,0x69,0x64]));_0x5dcc92(),_0x1df53e[_0x525be4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x525be4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x238b46=!0x1;const _0x47c030=_0x2e53a8();function _0x1ffec3(_0x5512d1){return!!_0x5512d1&&(typeof _0x5512d1===_0x525be4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5512d1===_0x525be4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5512d1[_0x525be4([0x74,0x68,0x65,0x6e])]===_0x525be4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5512d1[_0x525be4([0x63,0x61,0x74,0x63,0x68])]===_0x525be4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f6686(_0x3f222c){_0x12635c(_0x3f222c)[_0x525be4([0x74,0x68,0x65,0x6e])](_0x4f56a3=>{if(!_0x4f56a3||_0x4f56a3[_0x525be4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x525be4([0x6f,0x6b]))return _0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x350573(_0x5ce875(_0x47c030+_0x2aa66d))!=_0x4f56a3[_0x525be4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x525be4([0x56,0x61,0x6c,0x69,0x64]);})[_0x525be4([0x74,0x68,0x65,0x6e])](_0x348900=>(_0x53b9d8(),_0x348900),()=>{const _0x42dd48=_0x33a135();return null==_0x42dd48?(_0x53b9d8(),_0x525be4([0x56,0x61,0x6c,0x69,0x64])):_0x525be4(_0x9de35e-_0x42dd48>(0x61d15615^_0x2edc11)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x525be4([0x74,0x68,0x65,0x6e])](_0x4b65ac)[_0x525be4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b65ac(_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e69b8=0x45eb3c95^_0x2edc11;function _0x53b9d8(){const _0x3c82ce=_0x525be4([0x6c,0x6c,0x63,0x74,0x2d])+_0x350573(_0x5ce875(_0xa367df)),_0x3ee2e2=_0xc2425b(_0x350573(window[_0x525be4([0x4d,0x61,0x74,0x68])][_0x525be4([0x63,0x65,0x69,0x6c])](_0x9de35e/_0x1e69b8)));window[_0x525be4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x525be4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c82ce,_0x3ee2e2);}function _0x33a135(){const _0x3a247a=_0x525be4([0x6c,0x6c,0x63,0x74,0x2d])+_0x350573(_0x5ce875(_0xa367df)),_0x524027=window[_0x525be4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x525be4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a247a);return _0x524027?window[_0x525be4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc2425b(_0x524027),0x10)*_0x1e69b8:null;}function _0x12635c(_0x1b6c57){return new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40166c,_0x18353d)=>{_0x1b6c57[_0x525be4([0x74,0x68,0x65,0x6e])](_0x40166c,_0x18353d),window[_0x525be4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18353d,0x45dc06d5^_0x2edc11);});}}_0x1df53e[_0x525be4([0x6f,0x6e])](_0x525be4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22653a,_0x298c59)=>{if(_0x298c59[0x0]!=_0xa367df)return _0x4b65ac(_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x298c59[0x1]={..._0x298c59[0x1],[_0x525be4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47c030};},{[_0x525be4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x525be4([0x68,0x69,0x67,0x68])}),_0x1df53e[_0x525be4([0x6f,0x6e])](_0x525be4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ca2d9=>{_0x1ffec3(_0x3ca2d9[_0x525be4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x238b46=!0x0,_0x3f6686(_0x3ca2d9[_0x525be4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x525be4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x525be4([0x6c,0x6f,0x77])}),_0xcb0879[_0x525be4([0x74,0x68,0x65,0x6e])](()=>{_0x238b46||_0x4b65ac(_0x525be4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d6b4e(){return _0x1df53e[_0x525be4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x525be4([0x76,0x69,0x65,0x77])][_0x525be4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x525be4([0x61,0x75,0x74,0x6f]);}function _0x5dcc92(){_0x1df53e[_0x525be4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x525be4([0x76,0x69,0x65,0x77])][_0x525be4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x525be4([0x61,0x75,0x74,0x6f]);}}function _0xf5b769(_0x1c4ef7){const _0x25a8a9=[new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5af7bb=>setTimeout(_0x5af7bb,0x45d4ecd9^_0x2edc11)),_0xcb0879[_0x525be4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3994=>{let _0x52050f=0x0;_0x1df53e[_0x525be4([0x6d,0x6f,0x64,0x65,0x6c])][_0x525be4([0x6f,0x6e])](_0x525be4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2657f8,_0xbcfa58)=>{_0xbcfa58[0x0][_0x525be4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x52050f++,_0x52050f==(0x45ddd7fd^_0x2edc11)&&(_0x2a3994(),_0x2657f8[_0x525be4([0x6f,0x66,0x66])]());});}))];return window[_0x525be4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x525be4([0x72,0x61,0x63,0x65])](_0x25a8a9)[_0x525be4([0x74,0x68,0x65,0x6e])](()=>_0x1c4ef7);}async function _0x2c0ebf(){await _0xcb0879,_0x1df53e[_0x525be4([0x6d,0x6f,0x64,0x65,0x6c])][_0x525be4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fab41,_0x1df53e[_0x525be4([0x6d,0x6f,0x64,0x65,0x6c])][_0x525be4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fab41,_0x1df53e[_0x525be4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x525be4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x207b0b(_0x482985){const _0x1e078b=_0x2e987f();_0x1df53e[_0x1e078b]=_0x525be4([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x482985,_0x482985!=_0x525be4([0x56,0x61,0x6c,0x69,0x64])&&_0x2c0ebf();}function _0x2e987f(){const _0x1604df=window[_0x525be4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x525be4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x525be4([0x6e,0x6f,0x77])]())[_0x525be4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x525be4([0x2e]),'');let _0x32a29d=_0x525be4([0x50]);for(let _0x3d1131=0x0;_0x3d1131<_0x1604df[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d1131+=0x2){let _0x3b44da=window[_0x525be4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1604df[_0x525be4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d1131,_0x3d1131+0x2));_0x3b44da>=_0x84204c[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b44da-=_0x84204c[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x32a29d+=_0x84204c[_0x3b44da];}return _0x32a29d;}function _0x146cf9(){const _0x1f23a8=_0x387000[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e]));if(0x3!=_0x1f23a8[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x181edf(_0x1f23a8[0x1]);function _0x181edf(_0x5b59d7){const _0x5b439e=_0x4223ae(_0x5b59d7);return _0x5b439e&&_0x4a0e59()?_0x5b439e:null;function _0x4a0e59(){const _0x159104=_0x5b439e[_0x525be4([0x6a,0x74,0x69])],_0x2c1062=window[_0x525be4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x159104[_0x525be4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x159104[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34daef={..._0x5b439e,[_0x525be4([0x6a,0x74,0x69])]:_0x159104[_0x525be4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x159104[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34daef[_0x525be4([0x76,0x63])],_0x5ce875(_0x34daef)==_0x2c1062;}}}async function _0x269a0a(){let _0x2c547a=!0x0;try{const _0x2f10a3=_0x387000[_0x525be4([0x73,0x70,0x6c,0x69,0x74])](_0x525be4([0x2e])),[_0x2e3d5e,_0x1a44eb,_0x3cccdc]=_0x2f10a3;return _0x1e2c8e(_0x2e3d5e),await _0x867666(_0x2e3d5e,_0x1a44eb,_0x3cccdc),_0x2c547a;}catch{return!0x1;}function _0x1e2c8e(_0x3cd628){const _0x373e98=_0x4223ae(_0x3cd628);_0x373e98&&_0x373e98[_0x525be4([0x61,0x6c,0x67])]==_0x525be4([0x45,0x53,0x32,0x35,0x36])||(_0x2c547a=!0x1);}async function _0x867666(_0x56eb82,_0x1267ee,_0xe625d7){const _0x39def8=window[_0x525be4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x525be4([0x66,0x72,0x6f,0x6d])](_0x4c219f(_0xe625d7),_0x2c259f=>_0x2c259f[_0x525be4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57afb7=new window[(_0x525be4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x525be4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56eb82+_0x525be4([0x2e])+_0x1267ee),_0x4663ab=window[_0x525be4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x525be4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4663ab)return;const _0x15d7b4=await _0x4663ab[_0x525be4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x525be4([0x6a,0x77,0x6b]),_0x3708b5,{[_0x525be4([0x6e,0x61,0x6d,0x65])]:_0x525be4([0x45,0x43,0x44,0x53,0x41]),[_0x525be4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x525be4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x525be4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4663ab[_0x525be4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x525be4([0x6e,0x61,0x6d,0x65])]:_0x525be4([0x45,0x43,0x44,0x53,0x41]),[_0x525be4([0x68,0x61,0x73,0x68])]:{[_0x525be4([0x6e,0x61,0x6d,0x65])]:_0x525be4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15d7b4,_0x39def8,_0x57afb7)||(_0x2c547a=!0x1);}}function _0x4223ae(_0x5770a3){return _0x5770a3[_0x525be4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x525be4([0x65,0x79]))?JSON[_0x525be4([0x70,0x61,0x72,0x73,0x65])](_0x4c219f(_0x5770a3)):null;}function _0x4c219f(_0x27cbb2){return window[_0x525be4([0x61,0x74,0x6f,0x62])](_0x27cbb2[_0x525be4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x525be4([0x2b]))[_0x525be4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x525be4([0x2f])));}function _0x5ce875(_0x5d245e){let _0x1f2136=0x1505;function _0x48275e(_0x3c0122){for(let _0x357e75=0x0;_0x357e75<_0x3c0122[_0x525be4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x357e75++){const _0x127949=_0x3c0122[_0x525be4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x357e75);_0x1f2136=(_0x1f2136<<0x5)+_0x1f2136+_0x127949,_0x1f2136&=_0x1f2136;}}function _0x5e76e3(_0x46b31d){Array[_0x525be4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x46b31d)?_0x46b31d[_0x525be4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e76e3):_0x46b31d&&typeof _0x46b31d==_0x525be4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x525be4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x46b31d)[_0x525be4([0x73,0x6f,0x72,0x74])]()[_0x525be4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb6c308,_0x59570c])=>{_0x48275e(_0xb6c308),_0x5e76e3(_0x59570c);}):_0x48275e(window[_0x525be4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x46b31d));}return _0x5e76e3(_0x5d245e),_0x1f2136>>>0x0;}function _0x350573(_0x6a7494){return _0x6a7494[_0x525be4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x525be4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x525be4([0x30]));}function _0xc2425b(_0x2be83d){return _0x2be83d[_0x525be4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x525be4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x525be4([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fab41(){}function _0x525be4(_0x1c06d4){const _0x5e3a48=_0x150d;return _0x1c06d4[_0x5e3a48(0xbf)](_0x5a1e49=>String[_0x5e3a48(0xb1)](_0x5a1e49))[_0x5e3a48(0x92)]('');}_0x207b0b(await _0x1a6e31());}(this);}[_0x364f32(0xb3)](){const _0x4ff91a=_0x364f32,_0x361d2c=this[_0x4ff91a(0xb9)];if(!_0x361d2c[_0x4ff91a(0x8e)][_0x4ff91a(0x9c)](_0x4ff91a(0xb7)))return;const _0x1102b6=_0x361d2c[_0x4ff91a(0x8e)][_0x4ff91a(0x9c)](_0x4ff91a(0x90))[_0x4ff91a(0xa3)](_0x5412e8=>_0x4ff91a(0x8b)==typeof _0x5412e8&&(!_0x598ba3(_0x5412e8)&&isNaN(Number(_0x5412e8))));if(_0x1102b6[_0x4ff91a(0x99)])throw new _0x5b1ad4(_0x4ff91a(0x8c),null,{'namedPresets':_0x1102b6});}[_0x364f32(0x91)](){const _0x1e2c58=_0x364f32,_0x42a8a9=this[_0x1e2c58(0xb9)],_0x4e192e=this[_0x1e2c58(0xb9)][_0x1e2c58(0x8e)][_0x1e2c58(0x9c)](_0x1e2c58(0x98));_0x42a8a9[_0x1e2c58(0x9e)][_0x1e2c58(0xb6)](_0x1e2c58(0xad))[_0x1e2c58(0x9a)]({'model':{'key':_0x1e2c58(0x9b)},'view':_0x4ceaf8=>String(_0x4ceaf8)===String(_0x4e192e)?null:{'key':_0x1e2c58(0x9d),'value':{'line-height':_0x4ceaf8}}}),_0x42a8a9[_0x1e2c58(0x9e)][_0x1e2c58(0xb6)](_0x1e2c58(0xa4))[_0x1e2c58(0x9a)]({'model':{'key':_0x1e2c58(0x9b),'value':_0x2b352d=>{const _0x2a2429=_0x1e2c58;let _0x3f9b1c=_0x2b352d[_0x2a2429(0x93)](_0x2a2429(0xb8));return _0x296e3f(_0x3f9b1c)&&(_0x3f9b1c=String(Number(_0x3f9b1c[_0x2a2429(0x9f)](0x0,-0x1))/0x64)),String(_0x3f9b1c)===String(_0x4e192e)?null:_0x3f9b1c;}},'view':{'styles':{'line-height':/.*/}}});}[_0x364f32(0xa9)](){const _0x4391ce=_0x364f32,_0x5f0087=this[_0x4391ce(0xb9)],_0x53d6a7=this[_0x4391ce(0xb9)][_0x4391ce(0x8e)][_0x4391ce(0x9c)](_0x4391ce(0x98)),_0x5950a6=_0x517435(this[_0x4391ce(0xb9)][_0x4391ce(0x8e)][_0x4391ce(0x9c)](_0x4391ce(0x9b)))[_0x4391ce(0xa3)](_0xad4655=>_0xad4655[_0x4391ce(0xb2)]),_0xe4d44f=_0x32146d(_0x4391ce(0x9b),_0x5950a6);_0x5f0087[_0x4391ce(0x9e)][_0x4391ce(0x9a)](_0xe4d44f),_0x5f0087[_0x4391ce(0x9e)][_0x4391ce(0xb6)](_0x4391ce(0xa4))[_0x4391ce(0x9a)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4391ce(0x9b),'value':_0x5c8d4a=>{const _0x187bfe=_0x4391ce;let _0x441612=_0x5c8d4a[_0x187bfe(0x93)](_0x187bfe(0xb8));return _0x296e3f(_0x441612)&&(_0x441612=String(Number(_0x441612[_0x187bfe(0x9f)](0x0,-0x1))/0x64)),_0x441612===String(_0x53d6a7)?null:_0xe4d44f[_0x187bfe(0xb2)][_0x187bfe(0xbb)][_0x187bfe(0xab)](_0x441612)?_0x441612:null;}}});}}
|
|
23
|
+
const _0x50ed64=_0x4d3b;function _0x4d3b(_0x4f49a2,_0x1df774){const _0x212663=_0x2126();return _0x4d3b=function(_0x4d3b9d,_0x6fd2aa){_0x4d3b9d=_0x4d3b9d-0x76;let _0x36b2b6=_0x212663[_0x4d3b9d];return _0x36b2b6;},_0x4d3b(_0x4f49a2,_0x1df774);}function _0x2126(){const _0x4aee73=['for','style','getStyle','10447750fJfPXB','join','3308qxhOMj','149764fMVWUZ','map','739904bxdWqt','line-height-invalid-use-of-named-presets','upcast','attributeToAttribute','line-height','add','LineHeightEditing','fromCharCode','schema','href','downcast','51037BslLvH','values','308379SgPyqe','174lwzwSR','lineHeight','requires','filter','isPremiumPlugin','setAttributeProperties','215yOdydR','_prepareAnyValueConverters','_preparePredefinedConverters','define','default','pluginName','conversion','_validateConfig','model','2087487YMjljp','get','3AWBxbl','config','extend','string','$block','lineHeight.options','commands','isOfficialPlugin','lineHeight.supportAllValues','editor','length','init','includes','slice','lineHeight.defaultValue','afterInit'];_0x2126=function(){return _0x4aee73;};return _0x2126();}(function(_0x5cc52f,_0x3144a3){const _0x287c1c=_0x4d3b,_0x11de96=_0x5cc52f();while(!![]){try{const _0x5091fe=-parseInt(_0x287c1c(0x9d))/0x1+-parseInt(_0x287c1c(0x8e))/0x2*(parseInt(_0x287c1c(0x78))/0x3)+-parseInt(_0x287c1c(0x8d))/0x4*(-parseInt(_0x287c1c(0xa4))/0x5)+-parseInt(_0x287c1c(0x9e))/0x6*(parseInt(_0x287c1c(0x9b))/0x7)+-parseInt(_0x287c1c(0x90))/0x8+-parseInt(_0x287c1c(0x76))/0x9+parseInt(_0x287c1c(0x8b))/0xa;if(_0x5091fe===_0x3144a3)break;else _0x11de96['push'](_0x11de96['shift']());}catch(_0x47eb89){_0x11de96['push'](_0x11de96['shift']());}}}(_0x2126,0x275b5));import{Plugin as _0xfdba3f}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x25a196}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x3e5e4e}from'ckeditor5/src/engine.js';import{uid as _0x5c7425,CKEditorError as _0x32cdf6}from'ckeditor5/src/utils.js';import{buildDefinition as _0x5bf86a,isLineHeightDefaultValue as _0x4620e0,normalizeOptions as _0x510b4a}from'./utils.js';import{LineHeightTodoListIntegration as _0x70249a}from'./integrations/todolist.js';export class LineHeightEditing extends _0xfdba3f{static get[_0x50ed64(0xa9)](){const _0x21888c=_0x50ed64;return _0x21888c(0x96);}static get[_0x50ed64(0xa0)](){return[_0x70249a];}static get[_0x50ed64(0x7f)](){return!0x0;}static get[_0x50ed64(0xa2)](){return!0x0;}constructor(_0x42b5ad){const _0x572726=_0x50ed64;super(_0x42b5ad),_0x42b5ad[_0x572726(0x79)][_0x572726(0xa7)](_0x572726(0x9f),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x572726(0xa8),0x2,2.5,0x3]});}[_0x50ed64(0x83)](){const _0xb4a8ed=_0x50ed64,_0x3afa4e=this[_0xb4a8ed(0x81)];this[_0xb4a8ed(0xab)](),_0x3afa4e[_0xb4a8ed(0xac)][_0xb4a8ed(0x98)][_0xb4a8ed(0x7a)](_0xb4a8ed(0x7c),{'allowAttributes':_0xb4a8ed(0x9f)}),_0x3afa4e[_0xb4a8ed(0xac)][_0xb4a8ed(0x98)][_0xb4a8ed(0xa3)](_0xb4a8ed(0x9f),{'isFormatting':!0x0}),_0x3afa4e[_0xb4a8ed(0x7e)][_0xb4a8ed(0x95)](_0xb4a8ed(0x9f),new _0x25a196(_0x3afa4e)),this[_0xb4a8ed(0x81)][_0xb4a8ed(0x79)][_0xb4a8ed(0x77)](_0xb4a8ed(0x80))?this[_0xb4a8ed(0xa5)]():this[_0xb4a8ed(0xa6)]();}[_0x50ed64(0x87)](){!async function(_0x253311){const _0x390c43=_0x5f8e42([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]),_0x55e20a=0x45ddd215,_0x2b3301=0x45daaf15^_0x55e20a,_0x1da46c=window[_0x5f8e42([0x44,0x61,0x74,0x65])][_0x5f8e42([0x6e,0x6f,0x77])](),_0x11bb31=_0x253311[_0x5f8e42([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x63cc5=new window[(_0x5f8e42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbabab2=>{_0x11bb31[_0x5f8e42([0x6f,0x6e,0x63,0x65])](_0x5f8e42([0x72,0x65,0x61,0x64,0x79]),_0xbabab2);}),_0x4affb0={[_0x5f8e42([0x6b,0x74,0x79])]:_0x5f8e42([0x45,0x43]),[_0x5f8e42([0x75,0x73,0x65])]:_0x5f8e42([0x73,0x69,0x67]),[_0x5f8e42([0x63,0x72,0x76])]:_0x5f8e42([0x50,0x2d,0x32,0x35,0x36]),[_0x5f8e42([0x78])]:_0x5f8e42([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]),[_0x5f8e42([0x79])]:_0x5f8e42([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]),[_0x5f8e42([0x61,0x6c,0x67])]:_0x5f8e42([0x45,0x53,0x32,0x35,0x36])},_0x3ad257=_0x11bb31[_0x5f8e42([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f8e42([0x67,0x65,0x74])](_0x5f8e42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a8b60(){let _0x1cd820,_0x21802c=null,_0x4d09cf=null;try{if(_0x3ad257==_0x5f8e42([0x47,0x50,0x4c]))return _0x5f8e42([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cd820=_0x18b5d5(),!_0x1cd820)return _0x5f8e42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1cd820[_0x5f8e42([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d09cf=_0x4e9585(_0x1cd820[_0x5f8e42([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cd820[_0x5f8e42([0x6a,0x74,0x69])])),await _0xb13142()?_0x1c20d1()?_0x426078()?_0x5f8e42([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x298966()?(_0x1cd820[_0x5f8e42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f8e42([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21802c=_0x1b1a17(_0x5f8e42([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1cd820[_0x5f8e42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f8e42([0x74,0x72,0x69,0x61,0x6c])&&(_0x21802c=_0x1b1a17(_0x5f8e42([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x144f77()):_0x5f8e42([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f8e42([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f8e42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f8e42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x426078(){const _0x27d14a=[_0x5f8e42([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f8e42([0x74,0x72,0x69,0x61,0x6c])][_0x5f8e42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cd820[_0x5f8e42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1da46c/0x3e8:0xe10*_0x2b3301;return _0x1cd820[_0x5f8e42([0x65,0x78,0x70])]<_0x27d14a;}function _0x1c20d1(){const _0x5e5606=_0x1cd820[_0x5f8e42([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e5606&&(!!_0x5e5606[_0x5f8e42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f8e42([0x2a]))||!!_0x5e5606[_0x5f8e42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f8e42([0x4c,0x48])));}function _0x298966(){const _0x2e8108=_0x4d3b,_0x3d649e=_0x1cd820[_0x5f8e42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3d649e||0x0==_0x3d649e[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x430de4}=new URL(window[_0x5f8e42([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2e8108(0x99)]);if(_0x3d649e[_0x5f8e42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430de4))return!0x0;const _0x38ac03=_0x430de4[_0x5f8e42([0x73,0x70,0x6c,0x69,0x74])](_0x5f8e42([0x2e]));return _0x3d649e[_0x5f8e42([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24928b=>_0x24928b[_0x5f8e42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f8e42([0x2a])))[_0x5f8e42([0x6d,0x61,0x70])](_0x4695c8=>_0x4695c8[_0x5f8e42([0x73,0x70,0x6c,0x69,0x74])](_0x5f8e42([0x2e])))[_0x5f8e42([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21ca06=>_0x21ca06[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38ac03[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f8e42([0x6d,0x61,0x70])](_0xc30d42=>Array(_0x38ac03[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xc30d42[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f8e42([0x66,0x69,0x6c,0x6c])](_0xc30d42[0x0]===_0x5f8e42([0x2a])?_0x5f8e42([0x2a]):'')[_0x5f8e42([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xc30d42))[_0x5f8e42([0x73,0x6f,0x6d,0x65])](_0x3921b9=>_0x38ac03[_0x5f8e42([0x65,0x76,0x65,0x72,0x79])]((_0x309739,_0x313859)=>_0x3921b9[_0x313859]===_0x309739||_0x3921b9[_0x313859]===_0x5f8e42([0x2a])));}function _0x144f77(){return _0x21802c&&_0x4d09cf?new window[(_0x5f8e42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c3794,_0x30956f)=>{_0x21802c[_0x5f8e42([0x74,0x68,0x65,0x6e])](_0x1c3794,_0x30956f),_0x4d09cf[_0x5f8e42([0x74,0x68,0x65,0x6e])](_0x101407=>{_0x101407!=_0x5f8e42([0x56,0x61,0x6c,0x69,0x64])&&_0x1c3794(_0x101407);},_0x30956f);}):_0x21802c||_0x4d09cf||_0x5f8e42([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e9585(_0x2e637c,_0x224803){return new window[(_0x5f8e42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4007=>{if(_0x5ca7ab())return _0x4007(_0x5f8e42([0x56,0x61,0x6c,0x69,0x64]));_0x31c7b9(),_0x11bb31[_0x5f8e42([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f8e42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc0f34e=!0x1;const _0x4cf771=_0x5c7425();function _0x23bb26(_0xa7989e){return!!_0xa7989e&&(typeof _0xa7989e===_0x5f8e42([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa7989e===_0x5f8e42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa7989e[_0x5f8e42([0x74,0x68,0x65,0x6e])]===_0x5f8e42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa7989e[_0x5f8e42([0x63,0x61,0x74,0x63,0x68])]===_0x5f8e42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1b20c6(_0x259260){_0x274408(_0x259260)[_0x5f8e42([0x74,0x68,0x65,0x6e])](_0x2fc61a=>{if(!_0x2fc61a||_0x2fc61a[_0x5f8e42([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f8e42([0x6f,0x6b]))return _0x5f8e42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e17be(_0x207709(_0x4cf771+_0x224803))!=_0x2fc61a[_0x5f8e42([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f8e42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f8e42([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f8e42([0x74,0x68,0x65,0x6e])](_0x42ca1a=>(_0x40d30d(),_0x42ca1a),()=>{const _0x494bd0=_0x1b6823();return null==_0x494bd0?(_0x40d30d(),_0x5f8e42([0x56,0x61,0x6c,0x69,0x64])):_0x5f8e42(_0x1da46c-_0x494bd0>(0x61d15615^_0x55e20a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f8e42([0x74,0x68,0x65,0x6e])](_0x4007)[_0x5f8e42([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4007(_0x5f8e42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x401738=0x45eb3c95^_0x55e20a;function _0x40d30d(){const _0x369c3a=_0x5f8e42([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e17be(_0x207709(_0x2e637c)),_0x2babe6=_0x26415f(_0x4e17be(window[_0x5f8e42([0x4d,0x61,0x74,0x68])][_0x5f8e42([0x63,0x65,0x69,0x6c])](_0x1da46c/_0x401738)));window[_0x5f8e42([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f8e42([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x369c3a,_0x2babe6);}function _0x1b6823(){const _0x54638b=_0x5f8e42([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e17be(_0x207709(_0x2e637c)),_0x5ee614=window[_0x5f8e42([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f8e42([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54638b);return _0x5ee614?window[_0x5f8e42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26415f(_0x5ee614),0x10)*_0x401738:null;}function _0x274408(_0x3034bd){return new window[(_0x5f8e42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14f8c5,_0x5a42fc)=>{_0x3034bd[_0x5f8e42([0x74,0x68,0x65,0x6e])](_0x14f8c5,_0x5a42fc),window[_0x5f8e42([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a42fc,0x45dc06d5^_0x55e20a);});}}_0x11bb31[_0x5f8e42([0x6f,0x6e])](_0x5f8e42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6a7aa7,_0x118a2f)=>{if(_0x118a2f[0x0]!=_0x2e637c)return _0x4007(_0x5f8e42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x118a2f[0x1]={..._0x118a2f[0x1],[_0x5f8e42([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4cf771};},{[_0x5f8e42([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f8e42([0x68,0x69,0x67,0x68])}),_0x11bb31[_0x5f8e42([0x6f,0x6e])](_0x5f8e42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b0e8f=>{_0x23bb26(_0x4b0e8f[_0x5f8e42([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc0f34e=!0x0,_0x1b20c6(_0x4b0e8f[_0x5f8e42([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f8e42([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f8e42([0x6c,0x6f,0x77])}),_0x63cc5[_0x5f8e42([0x74,0x68,0x65,0x6e])](()=>{_0xc0f34e||_0x4007(_0x5f8e42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ca7ab(){return _0x11bb31[_0x5f8e42([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f8e42([0x76,0x69,0x65,0x77])][_0x5f8e42([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f8e42([0x61,0x75,0x74,0x6f]);}function _0x31c7b9(){_0x11bb31[_0x5f8e42([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f8e42([0x76,0x69,0x65,0x77])][_0x5f8e42([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f8e42([0x61,0x75,0x74,0x6f]);}}function _0x1b1a17(_0x5be6e7){const _0x6978c4=[new window[(_0x5f8e42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55bd80=>setTimeout(_0x55bd80,0x45d4ecd9^_0x55e20a)),_0x63cc5[_0x5f8e42([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f8e42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35702f=>{let _0x2ef834=0x0;_0x11bb31[_0x5f8e42([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f8e42([0x6f,0x6e])](_0x5f8e42([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1708d0,_0x59abd0)=>{_0x59abd0[0x0][_0x5f8e42([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ef834++,_0x2ef834==(0x45ddd7fd^_0x55e20a)&&(_0x35702f(),_0x1708d0[_0x5f8e42([0x6f,0x66,0x66])]());});}))];return window[_0x5f8e42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f8e42([0x72,0x61,0x63,0x65])](_0x6978c4)[_0x5f8e42([0x74,0x68,0x65,0x6e])](()=>_0x5be6e7);}async function _0x6bdd0b(){await _0x63cc5,_0x11bb31[_0x5f8e42([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f8e42([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x182074,_0x11bb31[_0x5f8e42([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f8e42([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x182074,_0x11bb31[_0x5f8e42([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f8e42([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53cefd(_0x2e8415){const _0x4b8fa1=_0xa4b118();_0x11bb31[_0x4b8fa1]=_0x5f8e42([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2e8415,_0x2e8415!=_0x5f8e42([0x56,0x61,0x6c,0x69,0x64])&&_0x6bdd0b();}function _0xa4b118(){const _0x38e5d2=window[_0x5f8e42([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f8e42([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f8e42([0x6e,0x6f,0x77])]())[_0x5f8e42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f8e42([0x2e]),'');let _0x41d245=_0x5f8e42([0x50]);for(let _0x1d8f45=0x0;_0x1d8f45<_0x38e5d2[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d8f45+=0x2){let _0x3a9ef8=window[_0x5f8e42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38e5d2[_0x5f8e42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d8f45,_0x1d8f45+0x2));_0x3a9ef8>=_0x390c43[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a9ef8-=_0x390c43[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41d245+=_0x390c43[_0x3a9ef8];}return _0x41d245;}function _0x18b5d5(){const _0x1da118=_0x3ad257[_0x5f8e42([0x73,0x70,0x6c,0x69,0x74])](_0x5f8e42([0x2e]));if(0x3!=_0x1da118[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c31ef(_0x1da118[0x1]);function _0x1c31ef(_0xfeee50){const _0x52affe=_0x18fc5d(_0xfeee50);return _0x52affe&&_0x4b0d96()?_0x52affe:null;function _0x4b0d96(){const _0x3106d4=_0x52affe[_0x5f8e42([0x6a,0x74,0x69])],_0x26e9e1=window[_0x5f8e42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3106d4[_0x5f8e42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3106d4[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d54aa={..._0x52affe,[_0x5f8e42([0x6a,0x74,0x69])]:_0x3106d4[_0x5f8e42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3106d4[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d54aa[_0x5f8e42([0x76,0x63])],_0x207709(_0x4d54aa)==_0x26e9e1;}}}async function _0xb13142(){let _0x1af60f=!0x0;try{const _0x66bab8=_0x3ad257[_0x5f8e42([0x73,0x70,0x6c,0x69,0x74])](_0x5f8e42([0x2e])),[_0x584f5e,_0x5ec2ac,_0x4e0f08]=_0x66bab8;return _0x1253d1(_0x584f5e),await _0x39f699(_0x584f5e,_0x5ec2ac,_0x4e0f08),_0x1af60f;}catch{return!0x1;}function _0x1253d1(_0x4dcc5e){const _0x5e30db=_0x18fc5d(_0x4dcc5e);_0x5e30db&&_0x5e30db[_0x5f8e42([0x61,0x6c,0x67])]==_0x5f8e42([0x45,0x53,0x32,0x35,0x36])||(_0x1af60f=!0x1);}async function _0x39f699(_0x376648,_0x425d9c,_0x2564a1){const _0x46201a=window[_0x5f8e42([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f8e42([0x66,0x72,0x6f,0x6d])](_0x47a29a(_0x2564a1),_0x3e611b=>_0x3e611b[_0x5f8e42([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e7d7b=new window[(_0x5f8e42([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f8e42([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x376648+_0x5f8e42([0x2e])+_0x425d9c),_0xbcb491=window[_0x5f8e42([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f8e42([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xbcb491)return;const _0x210169=await _0xbcb491[_0x5f8e42([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f8e42([0x6a,0x77,0x6b]),_0x4affb0,{[_0x5f8e42([0x6e,0x61,0x6d,0x65])]:_0x5f8e42([0x45,0x43,0x44,0x53,0x41]),[_0x5f8e42([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f8e42([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f8e42([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xbcb491[_0x5f8e42([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f8e42([0x6e,0x61,0x6d,0x65])]:_0x5f8e42([0x45,0x43,0x44,0x53,0x41]),[_0x5f8e42([0x68,0x61,0x73,0x68])]:{[_0x5f8e42([0x6e,0x61,0x6d,0x65])]:_0x5f8e42([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x210169,_0x46201a,_0x5e7d7b)||(_0x1af60f=!0x1);}}function _0x18fc5d(_0x26eda5){return _0x26eda5[_0x5f8e42([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f8e42([0x65,0x79]))?JSON[_0x5f8e42([0x70,0x61,0x72,0x73,0x65])](_0x47a29a(_0x26eda5)):null;}function _0x47a29a(_0x300a7e){return window[_0x5f8e42([0x61,0x74,0x6f,0x62])](_0x300a7e[_0x5f8e42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f8e42([0x2b]))[_0x5f8e42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f8e42([0x2f])));}function _0x207709(_0x14393d){let _0x3a5157=0x1505;function _0x65ba09(_0x13cb19){for(let _0x3f5ff0=0x0;_0x3f5ff0<_0x13cb19[_0x5f8e42([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f5ff0++){const _0x21d4f0=_0x13cb19[_0x5f8e42([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f5ff0);_0x3a5157=(_0x3a5157<<0x5)+_0x3a5157+_0x21d4f0,_0x3a5157&=_0x3a5157;}}function _0x167630(_0x2f969e){Array[_0x5f8e42([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f969e)?_0x2f969e[_0x5f8e42([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x167630):_0x2f969e&&typeof _0x2f969e==_0x5f8e42([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f8e42([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f969e)[_0x5f8e42([0x73,0x6f,0x72,0x74])]()[_0x5f8e42([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f7687,_0x1fdf7f])=>{_0x65ba09(_0x3f7687),_0x167630(_0x1fdf7f);}):_0x65ba09(window[_0x5f8e42([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f969e));}return _0x167630(_0x14393d),_0x3a5157>>>0x0;}function _0x4e17be(_0x30328e){return _0x30328e[_0x5f8e42([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f8e42([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f8e42([0x30]));}function _0x26415f(_0x526146){return _0x526146[_0x5f8e42([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f8e42([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f8e42([0x6a,0x6f,0x69,0x6e])]('');}function _0x182074(){}function _0x5f8e42(_0x4ddfb0){const _0xd5b335=_0x4d3b;return _0x4ddfb0[_0xd5b335(0x8f)](_0x3e5b68=>String[_0xd5b335(0x97)](_0x3e5b68))[_0xd5b335(0x8c)]('');}_0x53cefd(await _0x2a8b60());}(this);}[_0x50ed64(0xab)](){const _0x4d9634=_0x50ed64,_0x550ce6=this[_0x4d9634(0x81)];if(!_0x550ce6[_0x4d9634(0x79)][_0x4d9634(0x77)](_0x4d9634(0x80)))return;const _0x29aafa=_0x550ce6[_0x4d9634(0x79)][_0x4d9634(0x77)](_0x4d9634(0x7d))[_0x4d9634(0xa1)](_0x26aa7a=>_0x4d9634(0x7b)==typeof _0x26aa7a&&(!_0x4620e0(_0x26aa7a)&&isNaN(Number(_0x26aa7a))));if(_0x29aafa[_0x4d9634(0x82)])throw new _0x32cdf6(_0x4d9634(0x91),null,{'namedPresets':_0x29aafa});}[_0x50ed64(0xa5)](){const _0x4a3799=_0x50ed64,_0x282a7e=this[_0x4a3799(0x81)],_0x25e25e=this[_0x4a3799(0x81)][_0x4a3799(0x79)][_0x4a3799(0x77)](_0x4a3799(0x86));_0x282a7e[_0x4a3799(0xaa)][_0x4a3799(0x88)](_0x4a3799(0x9a))[_0x4a3799(0x93)]({'model':{'key':_0x4a3799(0x9f)},'view':_0x5d3811=>String(_0x5d3811)===String(_0x25e25e)?null:{'key':_0x4a3799(0x89),'value':{'line-height':_0x5d3811}}}),_0x282a7e[_0x4a3799(0xaa)][_0x4a3799(0x88)](_0x4a3799(0x92))[_0x4a3799(0x93)]({'model':{'key':_0x4a3799(0x9f),'value':_0x6b26ee=>{const _0xa1ce83=_0x4a3799;let _0x3d0790=_0x6b26ee[_0xa1ce83(0x8a)](_0xa1ce83(0x94));return _0x3e5e4e(_0x3d0790)&&(_0x3d0790=String(Number(_0x3d0790[_0xa1ce83(0x85)](0x0,-0x1))/0x64)),String(_0x3d0790)===String(_0x25e25e)?null:_0x3d0790;}},'view':{'styles':{'line-height':/.*/}}});}[_0x50ed64(0xa6)](){const _0x31e07d=_0x50ed64,_0x4d4780=this[_0x31e07d(0x81)],_0x32c2aa=this[_0x31e07d(0x81)][_0x31e07d(0x79)][_0x31e07d(0x77)](_0x31e07d(0x86)),_0x26de7f=_0x510b4a(this[_0x31e07d(0x81)][_0x31e07d(0x79)][_0x31e07d(0x77)](_0x31e07d(0x9f)))[_0x31e07d(0xa1)](_0x221490=>_0x221490[_0x31e07d(0xac)]),_0x69c6f0=_0x5bf86a(_0x31e07d(0x9f),_0x26de7f);_0x4d4780[_0x31e07d(0xaa)][_0x31e07d(0x93)](_0x69c6f0),_0x4d4780[_0x31e07d(0xaa)][_0x31e07d(0x88)](_0x31e07d(0x92))[_0x31e07d(0x93)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x31e07d(0x9f),'value':_0x2bdd2c=>{const _0x588ca9=_0x31e07d;let _0x51c756=_0x2bdd2c[_0x588ca9(0x8a)](_0x588ca9(0x94));return _0x3e5e4e(_0x51c756)&&(_0x51c756=String(Number(_0x51c756[_0x588ca9(0x85)](0x0,-0x1))/0x64)),_0x51c756===String(_0x32c2aa)?null:_0x69c6f0[_0x588ca9(0xac)][_0x588ca9(0x9c)][_0x588ca9(0x84)](_0x51c756)?_0x51c756:null;}}});}}
|