@ckeditor/ckeditor5-line-height 47.3.0-alpha.3 → 47.3.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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:()=>U,LineHeightCommand:()=>a,LineHeightEditing:()=>N,LineHeightTodoListIntegration:()=>A,LineHeightUI:()=>M});var e=n(782),t=n(584);const r=s;function o(){const e=["_canHaveLineHeight","4542760SMQHRb","isEnabled","selection","getSelectedBlocks","from","20greoDF","668GlhXzu","refresh","execute","13111146PAkTHM","getAttribute","48770kbRVxz","filter","document","model","737925xLlhXZ","lineHeight","editor","checkAttribute","setAttribute","schema","removeAttribute","2825850DClmXF","7ciDwZm","1489522jHOccH","1593180VFAgvN","value","change"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=327]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(848544===parseInt(t(333))/1+-parseInt(t(332))/2+parseInt(t(352))/3+-parseInt(t(343))/4*(-parseInt(t(348))/5)+parseInt(t(330))/6+-parseInt(t(331))/7*(-parseInt(t(337))/8)+-parseInt(t(346))/9*(parseInt(t(342))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(344)](){const e=r,n=this[e(354)][e(351)][e(350)],i=(0,t.first)(n[e(339)][e(340)]());this[e(338)]=Boolean(i)&&this[e(336)](i),this[e(334)]=this[e(338)]&&i[e(347)](e(353))}[r(345)](e={}){const t=r,n=this[t(354)][t(351)],i=n[t(350)][t(339)],o=e[t(334)];n[t(335)](e=>{const n=t,r=Array[n(341)](i[n(340)]())[n(349)](e=>this[n(336)](e));for(const t of r)o?e[n(327)](n(353),o,t):e[n(329)](n(353),t)})}[r(336)](e){const t=r;return this[t(354)][t(351)][t(328)][t(355)](e,t(353))}}var c=n(783);function l(){const e=["1360100OedIOU","double","line-height-double","style","filter","line-height:","map","7727209bhSFBG","480968eYZrEi","span","value","single","6927nzWRzA","view","line-height-single","34qKpirZ","string","class","push","toLowerCase","values","Single","11VyoiBs","7198044Anqziy","18076EINNMq","key","2148831gSabWz","options","default","Double","50dTKhcf","6OkXMHi","number","model","513mcyehq","defaultValue"];return(l=function(){return e})()}!function(e){const t=d,n=e();for(;;)try{if(832778===-parseInt(t(246))/1*(parseInt(t(249))/2)+parseInt(t(232))/3*(parseInt(t(222))/4)+-parseInt(t(234))/5+-parseInt(t(229))/6*(-parseInt(t(241))/7)+-parseInt(t(242))/8+parseInt(t(224))/9*(-parseInt(t(228))/10)+-parseInt(t(220))/11*(-parseInt(t(221))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=d;return{title:e(219),model:e(245),view:{key:e(215),value:e(248)}}},get double(){const e=d;return{title:e(227),model:e(235),view:{key:e(215),value:e(236)}}}};function d(e,t){const n=l();return(d=function(e,t){return n[e-=214]})(e,t)}function h(e){const t=d;return t(214)==typeof e&&t(226)===e[t(217)]()}function p(e){const t=d;return e[t(225)][t(240)](n=>h(n)?{title:String(e[t(233)]),model:t(226)}:(t(230)==typeof n&&(n=String(n)),t(214)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(243),styles:{"line-height":n}}}:function(e){const t=d;return t(214)==typeof e?u[e]:u[e[t(231)]]}(n)))[t(238)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),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;const E=O;function O(e,t){const n=C();return(O=function(e,t){return n[e-=286]})(e,t)}function C(){const e=["ListEditing","for","elementToElement","get","name","37682vUHaCN","142810eXHRGq","468520wuwZLh","span","72ZgAYpW","paragraph","registerDowncastStrategy","editor","--ck-content-list-marker-line-height","listType","init","item","ck-list-marker-line-height","consumable","23982RwjWKo","isOfficialPlugin","54573OEqEZW","high","consume","todo-list__label__description","LineHeightTodoListIntegration","TodoListEditing","205332bCZoOl","addClass","viewItem","match","54APYCHT","1256rQGYeD","pluginName","upcast","lineHeight","setStyle","getAttribute","todo","6117096KpEkXm","element:li","add","isPremiumPlugin","has"];return(C=function(){return e})()}!function(e){const t=O,n=e();for(;;)try{if(821525===-parseInt(t(297))/1+parseInt(t(301))/2*(-parseInt(t(313))/3)+-parseInt(t(319))/4+parseInt(t(299))/5+parseInt(t(287))/6+-parseInt(t(311))/7*(-parseInt(t(324))/8)+-parseInt(t(323))/9*(parseInt(t(298))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(C);class A extends e.Plugin{static get[E(325)](){return E(317)}static get[E(312)](){return!0}static get[E(290)](){return!0}[E(307)](){const e=E,{plugins:t,conversion:n}=this[e(304)];t[e(291)](e(292))&&t[e(291)](e(318))&&(t[e(295)](e(292))[e(303)]({scope:e(308),attributeName:e(327),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(286)==o[s(329)](s(306))&&n&&(t[s(320)](s(309),i),t[s(328)](s(305),n,i))}}),n[e(293)](e(326))[e(294)]({view:{name:e(300),classes:e(316)},model:e(302),converterPriority:e(314)}),n[e(293)](e(326))[e(289)](t=>{const n=e;t.on(n(288),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=O,o=t[r(322)](n[r(321)]);if(!o)return;const s=o[r(322)];s[r(296)]=!1,i[r(310)][r(315)](n[r(321)],s)}}({name:"li",classes:n(309),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}function S(){const e=["lineHeight.defaultValue","commands","requires","values","add","upcast","_validateConfig","lineHeight","getStyle","isPremiumPlugin","define","join","default","includes","fromCharCode","slice","109886HNCcOp","config","_prepareAnyValueConverters","model","6492912fppwNc","9wmQKmj","attributeToAttribute","2JLvGdL","get","lineHeight.options","filter","LineHeightEditing","init","setAttributeProperties","pluginName","line-height-invalid-use-of-named-presets","48pgFNxY","downcast","1391472IIPsAJ","isOfficialPlugin","conversion","extend","for","string","544170GXLaEV","line-height","length","$block","_preparePredefinedConverters","schema","afterInit","3283944UXfCrR","style","map","2096769vwGTvm","editor","lineHeight.supportAllValues","href","14188670BgqiBV"];return(S=function(){return e})()}const T=x;function x(e,t){const n=S();return(x=function(e,t){return n[e-=199]})(e,t)}!function(e){const t=x,n=e();for(;;)try{if(923032===parseInt(t(199))/1+-parseInt(t(243))/2*(parseInt(t(215))/3)+parseInt(t(212))/4+-parseInt(t(205))/5+-parseInt(t(252))/6*(-parseInt(t(236))/7)+parseInt(t(240))/8+-parseInt(t(241))/9*(parseInt(t(219))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(S);class N extends e.Plugin{static get[T(250)](){return T(247)}static get[T(222)](){return[A]}static get[T(200)](){return!0}static get[T(229)](){return!0}constructor(e){const t=T;super(e),e[t(237)][t(230)](t(227),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(232),2,2.5,3]})}[T(248)](){const e=T,t=this[e(216)];this[e(226)](),t[e(239)][e(210)][e(202)](e(208),{allowAttributes:e(227)}),t[e(239)][e(210)][e(249)](e(227),{isFormatting:!0}),t[e(221)][e(224)](e(227),new a(t)),this[e(216)][e(237)][e(244)](e(217))?this[e(238)]():this[e(209)]()}[T(211)](){!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++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function 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(214)](e=>String[t(234)](e))[t(231)]("")}!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:1764374400;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(218)]);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)}[T(226)](){const e=T,n=this[e(216)];if(!n[e(237)][e(244)](e(217)))return;const i=n[e(237)][e(244)](e(245))[e(246)](t=>e(204)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(207)])throw new t.CKEditorError(e(251),null,{namedPresets:i})}[T(238)](){const e=T,t=this[e(216)],n=this[e(216)][e(237)][e(244)](e(220));t[e(201)][e(203)](e(253))[e(242)]({model:{key:e(227)},view:t=>String(t)===String(n)?null:{key:e(213),value:{"line-height":t}}}),t[e(201)][e(203)](e(225))[e(242)]({model:{key:e(227),value:t=>{const i=e;let r=t[i(228)](i(206));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(235)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[T(209)](){const e=T,t=this[e(216)],n=this[e(216)][e(237)][e(244)](e(220)),i=p(this[e(216)][e(237)][e(244)](e(227)))[e(246)](t=>t[e(239)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(215)===e[n(247)]?.[n(223)]?(i[n(231)][n(218)][n(216)](e[n(231)]),i[n(247)][e[n(231)]]={key:n(215),value:e[n(247)][n(244)]}):(i[n(231)][n(218)][n(216)](e[n(231)]),i[n(247)][e[n(231)]]={key:n(237),value:n(239)+e[n(231)]+";"});return i}(e(227),i);t[e(201)][e(242)](r),t[e(201)][e(203)](e(225))[e(242)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(227),value:t=>{const i=e;let o=t[i(228)](i(206));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(235)](0,-1))/100)),o===String(n)?null:r[i(239)][i(223)][i(233)](o)?o:null}}})}}var P=n(311),K=n(355),V=n(784),B={attributes:{"data-cke":!0}};B.setAttributes=b(),B.insert=y().bind(null,"head"),B.domAPI=w(),B.insertStyleElement=_();g()(V.A,B);V.A&&V.A.locals&&V.A.locals;class M extends e.Plugin{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){const e={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(e),this._registerMenuBarComponent(e),this.licenseKey=this.editor.config.get("licenseKey");const t=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let e;for(const n in t){const i=n,r=t[i];if("lineHeightLicenseKeyValid"==r||"lineHeightLicenseKeyInvalid"==r||"lineHeightLicenseKeyExpired"==r||"lineHeightLicenseKeyDomainLimit"==r||"lineHeightLicenseKeyNotAllowed"==r||"lineHeightLicenseKeyEvaluationLimit"==r||"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 p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new 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=G;function j(){var e=["pluginName","3349850JeIXXK","1717848mCwkeC","1046zmgLYV","1674624wbiiOx","isOfficialPlugin","isPremiumPlugin","LineHeight","126XEbxta","2507350VIfzmm","requires","61AJxvQY","20rmnagz","89912JJdXYB","416265tGknXN"];return(j=function(){return e})()}function G(e,t){var n=j();return(G=function(e,t){return n[e-=298]})(e,t)}!function(e){for(var t=G,n=e();;)try{if(294311===parseInt(t(308))/1*(parseInt(t(300))/2)+parseInt(t(299))/3+-parseInt(t(309))/4*(parseInt(t(311))/5)+-parseInt(t(301))/6+parseInt(t(298))/7+-parseInt(t(310))/8*(-parseInt(t(305))/9)+-parseInt(t(306))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j);class U extends e.Plugin{static get[D(307)](){return[N,M]}static get[D(312)](){return D(304)}static get[D(302)](){return!0}static get[D(303)](){return!0}}function R(e,t){var n=F();return(R=function(e,t){return n[e-=471]})(e,t)}function F(){var e=["4509DIeCFV","1724020FmmTGr","267534ChxfZD","3SvNElC","2593108gOuJoK","1674276AxEGEg","9713SBBfOg","80CalOST","509618pMCPHU","6qZWwxd","4430mrTmka"];return(F=function(){return e})()}!function(e){for(var t=R,n=e();;)try{if(215295===-parseInt(t(475))/1+parseInt(t(481))/2*(-parseInt(t(476))/3)+parseInt(t(478))/4+parseInt(t(474))/5*(parseInt(t(471))/6)+parseInt(t(477))/7+parseInt(t(480))/8*(-parseInt(t(473))/9)+parseInt(t(472))/10*(-parseInt(t(479))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(F)})(),(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:()=>G,LineHeightCommand:()=>a,LineHeightEditing:()=>N,LineHeightTodoListIntegration:()=>C,LineHeightUI:()=>B});var e=n(782),t=n(584);const r=s;function o(){const e=["_canHaveLineHeight","4542760SMQHRb","isEnabled","selection","getSelectedBlocks","from","20greoDF","668GlhXzu","refresh","execute","13111146PAkTHM","getAttribute","48770kbRVxz","filter","document","model","737925xLlhXZ","lineHeight","editor","checkAttribute","setAttribute","schema","removeAttribute","2825850DClmXF","7ciDwZm","1489522jHOccH","1593180VFAgvN","value","change"];return(o=function(){return e})()}function s(e,t){const n=o();return(s=function(e,t){return n[e-=327]})(e,t)}!function(e){const t=s,n=e();for(;;)try{if(848544===parseInt(t(333))/1+-parseInt(t(332))/2+parseInt(t(352))/3+-parseInt(t(343))/4*(-parseInt(t(348))/5)+parseInt(t(330))/6+-parseInt(t(331))/7*(-parseInt(t(337))/8)+-parseInt(t(346))/9*(parseInt(t(342))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(o);class a extends e.Command{[r(344)](){const e=r,n=this[e(354)][e(351)][e(350)],i=(0,t.first)(n[e(339)][e(340)]());this[e(338)]=Boolean(i)&&this[e(336)](i),this[e(334)]=this[e(338)]&&i[e(347)](e(353))}[r(345)](e={}){const t=r,n=this[t(354)][t(351)],i=n[t(350)][t(339)],o=e[t(334)];n[t(335)](e=>{const n=t,r=Array[n(341)](i[n(340)]())[n(349)](e=>this[n(336)](e));for(const t of r)o?e[n(327)](n(353),o,t):e[n(329)](n(353),t)})}[r(336)](e){const t=r;return this[t(354)][t(351)][t(328)][t(355)](e,t(353))}}var c=n(783);function l(){const e=["1360100OedIOU","double","line-height-double","style","filter","line-height:","map","7727209bhSFBG","480968eYZrEi","span","value","single","6927nzWRzA","view","line-height-single","34qKpirZ","string","class","push","toLowerCase","values","Single","11VyoiBs","7198044Anqziy","18076EINNMq","key","2148831gSabWz","options","default","Double","50dTKhcf","6OkXMHi","number","model","513mcyehq","defaultValue"];return(l=function(){return e})()}!function(e){const t=d,n=e();for(;;)try{if(832778===-parseInt(t(246))/1*(parseInt(t(249))/2)+parseInt(t(232))/3*(parseInt(t(222))/4)+-parseInt(t(234))/5+-parseInt(t(229))/6*(-parseInt(t(241))/7)+-parseInt(t(242))/8+parseInt(t(224))/9*(-parseInt(t(228))/10)+-parseInt(t(220))/11*(-parseInt(t(221))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(l);const u={get single(){const e=d;return{title:e(219),model:e(245),view:{key:e(215),value:e(248)}}},get double(){const e=d;return{title:e(227),model:e(235),view:{key:e(215),value:e(236)}}}};function d(e,t){const n=l();return(d=function(e,t){return n[e-=214]})(e,t)}function h(e){const t=d;return t(214)==typeof e&&t(226)===e[t(217)]()}function p(e){const t=d;return e[t(225)][t(240)](n=>h(n)?{title:String(e[t(233)]),model:t(226)}:(t(230)==typeof n&&(n=String(n)),t(214)!=typeof n?n:parseFloat(n)?{title:n,model:n,view:{name:t(243),styles:{"line-height":n}}}:function(e){const t=d;return t(214)==typeof e?u[e]:u[e[t(231)]]}(n)))[t(238)](e=>void 0!==e)}var f=n(929),g=n.n(f),m=n(297),w=n.n(m),v=n(102),y=n.n(v),I=n(123),b=n.n(I),L=n(741),_=n.n(L),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;const E=O;function O(e,t){const n=A();return(O=function(e,t){return n[e-=286]})(e,t)}function A(){const e=["ListEditing","for","elementToElement","get","name","37682vUHaCN","142810eXHRGq","468520wuwZLh","span","72ZgAYpW","paragraph","registerDowncastStrategy","editor","--ck-content-list-marker-line-height","listType","init","item","ck-list-marker-line-height","consumable","23982RwjWKo","isOfficialPlugin","54573OEqEZW","high","consume","todo-list__label__description","LineHeightTodoListIntegration","TodoListEditing","205332bCZoOl","addClass","viewItem","match","54APYCHT","1256rQGYeD","pluginName","upcast","lineHeight","setStyle","getAttribute","todo","6117096KpEkXm","element:li","add","isPremiumPlugin","has"];return(A=function(){return e})()}!function(e){const t=O,n=e();for(;;)try{if(821525===-parseInt(t(297))/1+parseInt(t(301))/2*(-parseInt(t(313))/3)+-parseInt(t(319))/4+parseInt(t(299))/5+parseInt(t(287))/6+-parseInt(t(311))/7*(-parseInt(t(324))/8)+-parseInt(t(323))/9*(parseInt(t(298))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(A);class C extends e.Plugin{static get[E(325)](){return E(317)}static get[E(312)](){return!0}static get[E(290)](){return!0}[E(307)](){const e=E,{plugins:t,conversion:n}=this[e(304)];t[e(291)](e(292))&&t[e(291)](e(318))&&(t[e(295)](e(292))[e(303)]({scope:e(308),attributeName:e(327),consume:!1,setAttributeOnDowncast(t,n,i,r,o){const s=e;s(286)==o[s(329)](s(306))&&n&&(t[s(320)](s(309),i),t[s(328)](s(305),n,i))}}),n[e(293)](e(326))[e(294)]({view:{name:e(300),classes:e(316)},model:e(302),converterPriority:e(314)}),n[e(293)](e(326))[e(289)](t=>{const n=e;t.on(n(288),function(e){const t=new c.Matcher(e);return(e,n,i)=>{const r=O,o=t[r(322)](n[r(321)]);if(!o)return;const s=o[r(322)];s[r(296)]=!1,i[r(310)][r(315)](n[r(321)],s)}}({name:"li",classes:n(309),styles:{"--ck-content-list-marker-line-height":/.*/}}))}))}}function S(e,t){const n=x();return(S=function(e,t){return n[e-=344]})(e,t)}const T=S;function x(){const e=["map","style","fromCharCode","57QapXKN","_validateConfig","upcast","setAttributeProperties","afterInit","line-height","for","values","$block","LineHeightEditing","get","filter","lineHeight.supportAllValues","length","30FHbowA","line-height-invalid-use-of-named-presets","isPremiumPlugin","lineHeight","640865SjrTIG","3463152YLAZQb","schema","5755AYxjMr","lineHeight.options","attributeToAttribute","join","string","740220hUbiYf","default","13164HleOdP","downcast","342bmUrKS","define","lineHeight.defaultValue","_prepareAnyValueConverters","editor","62210bPlfkX","model","_preparePredefinedConverters","requires","3151393VwUEuc","init","pluginName","config","isOfficialPlugin","extend","8bCsvfn","add","commands","conversion","href","slice","getStyle","includes"];return(x=function(){return e})()}!function(e){const t=S,n=e();for(;;)try{if(323342===parseInt(t(373))/1+-parseInt(t(383))/2*(parseInt(t(355))/3)+parseInt(t(381))/4+-parseInt(t(376))/5*(parseInt(t(369))/6)+-parseInt(t(394))/7*(parseInt(t(344))/8)+-parseInt(t(385))/9*(parseInt(t(390))/10)+parseInt(t(374))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(x);class N extends e.Plugin{static get[T(396)](){return T(364)}static get[T(393)](){return[C]}static get[T(398)](){return!0}static get[T(371)](){return!0}constructor(e){const t=T;super(e),e[t(397)][t(386)](t(372),{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,t(382),2,2.5,3]})}[T(395)](){const e=T,t=this[e(389)];this[e(356)](),t[e(391)][e(375)][e(399)](e(363),{allowAttributes:e(372)}),t[e(391)][e(375)][e(358)](e(372),{isFormatting:!0}),t[e(346)][e(345)](e(372),new a(t)),this[e(389)][e(397)][e(365)](e(367))?this[e(388)]():this[e(392)]()}[T(359)](){!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++,504==t&&(e(),n[g([111,102,102])]())})}))];return window[g([80,114,111,109,105,115,101])][g([114,97,99,101])](t)[g([116,104,101,110])](()=>e)}function l(e){return e[g([115,116,97,114,116,115,87,105,116,104])](g([101,121]))?JSON[g([112,97,114,115,101])](u(e)):null}function u(e){return window[g([97,116,111,98])](e[g([114,101,112,108,97,99,101])](/-/g,g([43]))[g([114,101,112,108,97,99,101])](/_/g,g([47])))}function d(e){let t=5381;function n(e){for(let n=0;n<e[g([108,101,110,103,116,104])];n++){const i=e[g([99,104,97,114,67,111,100,101,65,116])](n);t=(t<<5)+t+i,t&=t}}return function e(t){Array[g([105,115,65,114,114,97,121])](t)?t[g([102,111,114,69,97,99,104])](e):t&&typeof t==g([111,98,106,101,99,116])?Object[g([101,110,116,114,105,101,115])](t)[g([115,111,114,116])]()[g([102,111,114,69,97,99,104])](([t,i])=>{n(t),e(i)}):n(window[g([83,116,114,105,110,103])](t))}(e),t>>>0}function h(e){return e[g([116,111,83,116,114,105,110,103])](16)[g([112,97,100,83,116,97,114,116])](8,g([48]))}function 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=S;return e[t(352)](e=>String[t(354)](e))[t(379)]("")}!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:1764547200;return e[g([101,120,112])]<t}()?g([69,120,112,105,114,101,100]):function(){const t=S,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(348)]);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)}[T(356)](){const e=T,n=this[e(389)];if(!n[e(397)][e(365)](e(367)))return;const i=n[e(397)][e(365)](e(377))[e(366)](t=>e(380)==typeof t&&!h(t)&&isNaN(Number(t)));if(i[e(368)])throw new t.CKEditorError(e(370),null,{namedPresets:i})}[T(388)](){const e=T,t=this[e(389)],n=this[e(389)][e(397)][e(365)](e(387));t[e(347)][e(361)](e(384))[e(378)]({model:{key:e(372)},view:t=>String(t)===String(n)?null:{key:e(353),value:{"line-height":t}}}),t[e(347)][e(361)](e(357))[e(378)]({model:{key:e(372),value:t=>{const i=e;let r=t[i(350)](i(360));return(0,c.isPercentageStyleValue)(r)&&(r=String(Number(r[i(349)](0,-1))/100)),String(r)===String(n)?null:r}},view:{styles:{"line-height":/.*/}}})}[T(392)](){const e=T,t=this[e(389)],n=this[e(389)][e(397)][e(365)](e(387)),i=p(this[e(389)][e(397)][e(365)](e(372)))[e(366)](t=>t[e(391)]),r=function(e,t){const n=d,i={model:{key:e,values:[]},view:{}};for(const e of t)n(215)===e[n(247)]?.[n(223)]?(i[n(231)][n(218)][n(216)](e[n(231)]),i[n(247)][e[n(231)]]={key:n(215),value:e[n(247)][n(244)]}):(i[n(231)][n(218)][n(216)](e[n(231)]),i[n(247)][e[n(231)]]={key:n(237),value:n(239)+e[n(231)]+";"});return i}(e(372),i);t[e(347)][e(378)](r),t[e(347)][e(361)](e(357))[e(378)]({view:{styles:{"line-height":/[\s\S]+/}},model:{key:e(372),value:t=>{const i=e;let o=t[i(350)](i(360));return(0,c.isPercentageStyleValue)(o)&&(o=String(Number(o[i(349)](0,-1))/100)),o===String(n)?null:r[i(391)][i(362)][i(351)](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 p(n).map(e=>{const t=i[e.title];return t&&t!=e.title&&(e=Object.assign({},e,{title:t})),e})}_prepareListOptions(){const e=this.editor.commands.get("lineHeight"),n=this.editor.config.get("lineHeight.defaultValue"),i=this._getLocalizedLineHeightOptions(),r=new t.Collection,o=e=>"default"===e||String(n)===e;for(const t of i){const n={type:"button",model:new 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=U;function j(){var e=["pluginName","3349850JeIXXK","1717848mCwkeC","1046zmgLYV","1674624wbiiOx","isOfficialPlugin","isPremiumPlugin","LineHeight","126XEbxta","2507350VIfzmm","requires","61AJxvQY","20rmnagz","89912JJdXYB","416265tGknXN"];return(j=function(){return e})()}function U(e,t){var n=j();return(U=function(e,t){return n[e-=298]})(e,t)}!function(e){for(var t=U,n=e();;)try{if(294311===parseInt(t(308))/1*(parseInt(t(300))/2)+parseInt(t(299))/3+-parseInt(t(309))/4*(parseInt(t(311))/5)+-parseInt(t(301))/6+parseInt(t(298))/7+-parseInt(t(310))/8*(-parseInt(t(305))/9)+-parseInt(t(306))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j);class G extends e.Plugin{static get[D(307)](){return[N,B]}static get[D(312)](){return D(304)}static get[D(302)](){return!0}static get[D(303)](){return!0}}function F(e,t){var n=R();return(F=function(e,t){return n[e-=471]})(e,t)}function R(){var e=["4509DIeCFV","1724020FmmTGr","267534ChxfZD","3SvNElC","2593108gOuJoK","1674276AxEGEg","9713SBBfOg","80CalOST","509618pMCPHU","6qZWwxd","4430mrTmka"];return(R=function(){return e})()}!function(e){for(var t=F,n=e();;)try{if(215295===-parseInt(t(475))/1+parseInt(t(481))/2*(-parseInt(t(476))/3)+parseInt(t(478))/4+parseInt(t(474))/5*(parseInt(t(471))/6)+parseInt(t(477))/7+parseInt(t(480))/8*(-parseInt(t(473))/9)+parseInt(t(472))/10*(-parseInt(t(479))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(R)})(),(window.CKEditor5=window.CKEditor5||{}).lineHeight=i})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x3f3088,Plugin as _0x3306c5}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x2d20a3,CKEditorError as _0x5f3f48,uid as _0x32e96c,Collection as _0x1dca85}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x1cc164,isPercentageStyleValue as _0x58ac2d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x17f912,createDropdown as _0xeda8c,addListToDropdown as _0x3f9f52,MenuBarMenuView as _0x93b35,MenuBarMenuListView as _0x471fa5,MenuBarMenuListItemView as _0x46e919,MenuBarMenuListItemButtonView as _0x28276d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x155ebc}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x3f3088{['refresh'](){const _0x277917=this['editor']['model']['document'],_0x2ea050=_0x2d20a3(_0x277917['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2ea050)&&this['_canHaveLineHeight'](_0x2ea050),this['value']=this['isEnabled']&&_0x2ea050['getAttribute']('lineHeight');}['execute'](_0x2e61af={}){const _0x3a064c=this['editor']['model'],_0x2e0f3f=_0x3a064c['document']['selection'],_0x5758a0=_0x2e61af['value'];_0x3a064c['change'](_0xa2fae=>{const _0x2ad621=Array['from'](_0x2e0f3f['getSelectedBlocks']())['filter'](_0x4d2432=>this['_canHaveLineHeight'](_0x4d2432));for(const _0x52747e of _0x2ad621)_0x5758a0?_0xa2fae['setAttribute']('lineHeight',_0x5758a0,_0x52747e):_0xa2fae['removeAttribute']('lineHeight',_0x52747e);});}['_canHaveLineHeight'](_0x65d182){return this['editor']['model']['schema']['checkAttribute'](_0x65d182,'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(_0x23795){return'string'==typeof _0x23795&&'default'===_0x23795['toLowerCase']();}function a(_0x19e9f8){return _0x19e9f8['options']['map'](_0x1cdd50=>{return f(_0x1cdd50)?{'title':String(_0x19e9f8['defaultValue']),'model':'default'}:('number'==typeof _0x1cdd50&&(_0x1cdd50=String(_0x1cdd50)),'string'!=typeof _0x1cdd50?_0x1cdd50:parseFloat(_0x1cdd50)?{'title':_0x1cdd50,'model':_0x1cdd50,'view':{'name':'span','styles':{'line-height':_0x1cdd50}}}:'string'==typeof(_0x2402bc=_0x1cdd50)?v[_0x2402bc]:v[_0x2402bc['model']]);var _0x2402bc;})['filter'](_0x1e179d=>void 0x0!==_0x1e179d);}class g extends _0x3306c5{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x4f837d,conversion:_0x46af99}=this['editor'];if(!_0x4f837d['has']('ListEditing')||!_0x4f837d['has']('TodoListEditing'))return;_0x4f837d['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x552f4c,_0x25fc12,_0x6cd91b,_0xbe08c2,_0x16facf){'todo'==_0x16facf['getAttribute']('listType')&&_0x25fc12&&(_0x552f4c['addClass']('ck-list-marker-line-height',_0x6cd91b),_0x552f4c['setStyle']('--ck-content-list-marker-line-height',_0x25fc12,_0x6cd91b));}}),_0x46af99['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x46af99['for']('upcast')['add'](_0x3b9c79=>{_0x3b9c79['on']('element:li',function(_0x3303e5){const _0x5c121c=new _0x1cc164(_0x3303e5);return(_0x2a9313,_0x134d3e,_0x4b42c0)=>{const _0x1be305=_0x5c121c['match'](_0x134d3e['viewItem']);if(!_0x1be305)return;const _0x33eef8=_0x1be305['match'];_0x33eef8['name']=!0x1,_0x4b42c0['consumable']['consume'](_0x134d3e['viewItem'],_0x33eef8);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x3306c5{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x21c33d){super(_0x21c33d),_0x21c33d['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x154c72=this['editor'];this['_validateConfig'](),_0x154c72['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x154c72['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x154c72['commands']['add']('lineHeight',new n(_0x154c72)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x471f22){const _0x42682d=_0x422b7a([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]),_0x9d6e90=0x45ddd215,_0x2df618=0x45daa86d^_0x9d6e90,_0x3aa7a7=window[_0x422b7a([0x44,0x61,0x74,0x65])][_0x422b7a([0x6e,0x6f,0x77])](),_0x334825=_0x471f22[_0x422b7a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x108e57=new window[(_0x422b7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bc7e6=>{_0x334825[_0x422b7a([0x6f,0x6e,0x63,0x65])](_0x422b7a([0x72,0x65,0x61,0x64,0x79]),_0x5bc7e6);}),_0x213280={[_0x422b7a([0x6b,0x74,0x79])]:_0x422b7a([0x45,0x43]),[_0x422b7a([0x75,0x73,0x65])]:_0x422b7a([0x73,0x69,0x67]),[_0x422b7a([0x63,0x72,0x76])]:_0x422b7a([0x50,0x2d,0x32,0x35,0x36]),[_0x422b7a([0x78])]:_0x422b7a([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]),[_0x422b7a([0x79])]:_0x422b7a([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]),[_0x422b7a([0x61,0x6c,0x67])]:_0x422b7a([0x45,0x53,0x32,0x35,0x36])},_0x200933=_0x334825[_0x422b7a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x422b7a([0x67,0x65,0x74])](_0x422b7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x335ec3(){let _0x9d0fe6,_0xeedd85=null,_0x283e1c=null;try{if(_0x200933==_0x422b7a([0x47,0x50,0x4c]))return _0x422b7a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9d0fe6=_0x4c5166(),!_0x9d0fe6)return _0x422b7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9d0fe6[_0x422b7a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x283e1c=_0x10f9b3(_0x9d0fe6[_0x422b7a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9d0fe6[_0x422b7a([0x6a,0x74,0x69])])),await _0x182133()?_0x5d2e45()?_0x5e9381()?_0x422b7a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x57c67b()?(_0x9d0fe6[_0x422b7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x422b7a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xeedd85=_0x437ca7(_0x422b7a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9d0fe6[_0x422b7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x422b7a([0x74,0x72,0x69,0x61,0x6c])&&(_0xeedd85=_0x437ca7(_0x422b7a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x500602()):_0x422b7a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x422b7a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x422b7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x422b7a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e9381(){const _0x30e72f=[_0x422b7a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x422b7a([0x74,0x72,0x69,0x61,0x6c])][_0x422b7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9d0fe6[_0x422b7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3aa7a7/0x3e8:0xe10*_0x2df618;return _0x9d0fe6[_0x422b7a([0x65,0x78,0x70])]<_0x30e72f;}function _0x5d2e45(){const _0x56689a=_0x9d0fe6[_0x422b7a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56689a&&(!!_0x56689a[_0x422b7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x422b7a([0x2a]))||!!_0x56689a[_0x422b7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x422b7a([0x4c,0x48])));}function _0x57c67b(){const _0x230717=_0x9d0fe6[_0x422b7a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x230717||0x0==_0x230717[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x587deb}=new URL(window[_0x422b7a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x230717[_0x422b7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x587deb))return!0x0;const _0x22e91e=_0x587deb[_0x422b7a([0x73,0x70,0x6c,0x69,0x74])](_0x422b7a([0x2e]));return _0x230717[_0x422b7a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x535317=>_0x535317[_0x422b7a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x422b7a([0x2a])))[_0x422b7a([0x6d,0x61,0x70])](_0x339938=>_0x339938[_0x422b7a([0x73,0x70,0x6c,0x69,0x74])](_0x422b7a([0x2e])))[_0x422b7a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7f7c23=>_0x7f7c23[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22e91e[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x422b7a([0x6d,0x61,0x70])](_0x3bd5b9=>Array(_0x22e91e[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3bd5b9[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x422b7a([0x66,0x69,0x6c,0x6c])](_0x3bd5b9[0x0]===_0x422b7a([0x2a])?_0x422b7a([0x2a]):'')[_0x422b7a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3bd5b9))[_0x422b7a([0x73,0x6f,0x6d,0x65])](_0x1a324f=>_0x22e91e[_0x422b7a([0x65,0x76,0x65,0x72,0x79])]((_0x6aaf37,_0x28bc0b)=>_0x1a324f[_0x28bc0b]===_0x6aaf37||_0x1a324f[_0x28bc0b]===_0x422b7a([0x2a])));}function _0x500602(){return _0xeedd85&&_0x283e1c?new window[(_0x422b7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x452c08,_0x240daf)=>{_0xeedd85[_0x422b7a([0x74,0x68,0x65,0x6e])](_0x452c08,_0x240daf),_0x283e1c[_0x422b7a([0x74,0x68,0x65,0x6e])](_0x3da743=>{_0x3da743!=_0x422b7a([0x56,0x61,0x6c,0x69,0x64])&&_0x452c08(_0x3da743);},_0x240daf);}):_0xeedd85||_0x283e1c||_0x422b7a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10f9b3(_0x1526fa,_0x31c17c){return new window[(_0x422b7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42f559=>{if(_0xad8f6a())return _0x42f559(_0x422b7a([0x56,0x61,0x6c,0x69,0x64]));_0x3c3d75(),_0x334825[_0x422b7a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x422b7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x572fa7=!0x1;const _0x20acd4=_0x32e96c();function _0x586a9f(_0x52ac09){return!!_0x52ac09&&(typeof _0x52ac09===_0x422b7a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x52ac09===_0x422b7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x52ac09[_0x422b7a([0x74,0x68,0x65,0x6e])]===_0x422b7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x52ac09[_0x422b7a([0x63,0x61,0x74,0x63,0x68])]===_0x422b7a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57a756(_0x1b7532){_0x1443c9(_0x1b7532)[_0x422b7a([0x74,0x68,0x65,0x6e])](_0x2202d1=>{if(!_0x2202d1||_0x2202d1[_0x422b7a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x422b7a([0x6f,0x6b]))return _0x422b7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5eaa4f(_0x346eb4(_0x20acd4+_0x31c17c))!=_0x2202d1[_0x422b7a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x422b7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x422b7a([0x56,0x61,0x6c,0x69,0x64]);})[_0x422b7a([0x74,0x68,0x65,0x6e])](_0x366c41=>(_0x2745f6(),_0x366c41),()=>{const _0xe93987=_0x452eb2();return null==_0xe93987?(_0x2745f6(),_0x422b7a([0x56,0x61,0x6c,0x69,0x64])):_0x422b7a(_0x3aa7a7-_0xe93987>(0x61d15615^_0x9d6e90)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x422b7a([0x74,0x68,0x65,0x6e])](_0x42f559)[_0x422b7a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x42f559(_0x422b7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x113dbd=0x45eb3c95^_0x9d6e90;function _0x2745f6(){const _0x19658f=_0x422b7a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5eaa4f(_0x346eb4(_0x1526fa)),_0x28d74e=_0x5cf8bb(_0x5eaa4f(window[_0x422b7a([0x4d,0x61,0x74,0x68])][_0x422b7a([0x63,0x65,0x69,0x6c])](_0x3aa7a7/_0x113dbd)));window[_0x422b7a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x422b7a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19658f,_0x28d74e);}function _0x452eb2(){const _0xf120da=_0x422b7a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5eaa4f(_0x346eb4(_0x1526fa)),_0x20cbfe=window[_0x422b7a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x422b7a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf120da);return _0x20cbfe?window[_0x422b7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cf8bb(_0x20cbfe),0x10)*_0x113dbd:null;}function _0x1443c9(_0x1f6195){return new window[(_0x422b7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43af93,_0x59ac60)=>{_0x1f6195[_0x422b7a([0x74,0x68,0x65,0x6e])](_0x43af93,_0x59ac60),window[_0x422b7a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59ac60,0x45dc06d5^_0x9d6e90);});}}_0x334825[_0x422b7a([0x6f,0x6e])](_0x422b7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d870f,_0xcdb0c5)=>{if(_0xcdb0c5[0x0]!=_0x1526fa)return _0x42f559(_0x422b7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xcdb0c5[0x1]={..._0xcdb0c5[0x1],[_0x422b7a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20acd4};},{[_0x422b7a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x422b7a([0x68,0x69,0x67,0x68])}),_0x334825[_0x422b7a([0x6f,0x6e])](_0x422b7a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5695e3=>{_0x586a9f(_0x5695e3[_0x422b7a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x572fa7=!0x0,_0x57a756(_0x5695e3[_0x422b7a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x422b7a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x422b7a([0x6c,0x6f,0x77])}),_0x108e57[_0x422b7a([0x74,0x68,0x65,0x6e])](()=>{_0x572fa7||_0x42f559(_0x422b7a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xad8f6a(){return _0x334825[_0x422b7a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x422b7a([0x76,0x69,0x65,0x77])][_0x422b7a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x422b7a([0x61,0x75,0x74,0x6f]);}function _0x3c3d75(){_0x334825[_0x422b7a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x422b7a([0x76,0x69,0x65,0x77])][_0x422b7a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x422b7a([0x61,0x75,0x74,0x6f]);}}function _0x437ca7(_0x10117a){const _0xf9ad9=[new window[(_0x422b7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c33d0=>setTimeout(_0x3c33d0,0x45d4ecd9^_0x9d6e90)),_0x108e57[_0x422b7a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x422b7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e1f82=>{let _0x45be04=0x0;_0x334825[_0x422b7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x422b7a([0x6f,0x6e])](_0x422b7a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58c1bc,_0x51701a)=>{_0x51701a[0x0][_0x422b7a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45be04++,_0x45be04==(0x45ddd3ed^_0x9d6e90)&&(_0x5e1f82(),_0x58c1bc[_0x422b7a([0x6f,0x66,0x66])]());});}))];return window[_0x422b7a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x422b7a([0x72,0x61,0x63,0x65])](_0xf9ad9)[_0x422b7a([0x74,0x68,0x65,0x6e])](()=>_0x10117a);}async function _0x5edc80(){await _0x108e57,_0x334825[_0x422b7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x422b7a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x302409,_0x334825[_0x422b7a([0x6d,0x6f,0x64,0x65,0x6c])][_0x422b7a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x302409,_0x334825[_0x422b7a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x422b7a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xcb4be1(_0x408374){const _0x5925f6=_0x2726fc();_0x334825[_0x5925f6]=_0x422b7a([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x408374,_0x408374!=_0x422b7a([0x56,0x61,0x6c,0x69,0x64])&&_0x5edc80();}function _0x2726fc(){const _0x164e0f=window[_0x422b7a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x422b7a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x422b7a([0x6e,0x6f,0x77])]())[_0x422b7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x422b7a([0x2e]),'');let _0x5a1969=_0x422b7a([0x50]);for(let _0x2863b7=0x0;_0x2863b7<_0x164e0f[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2863b7+=0x2){let _0xbac0e5=window[_0x422b7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x164e0f[_0x422b7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2863b7,_0x2863b7+0x2));_0xbac0e5>=_0x42682d[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbac0e5-=_0x42682d[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a1969+=_0x42682d[_0xbac0e5];}return _0x5a1969;}function _0x4c5166(){const _0x264a6b=_0x200933[_0x422b7a([0x73,0x70,0x6c,0x69,0x74])](_0x422b7a([0x2e]));if(0x3!=_0x264a6b[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x51e44f(_0x264a6b[0x1]);function _0x51e44f(_0x48c0f9){const _0x5bbe8e=_0x5ea834(_0x48c0f9);return _0x5bbe8e&&_0x3764e6()?_0x5bbe8e:null;function _0x3764e6(){const _0x33e2ff=_0x5bbe8e[_0x422b7a([0x6a,0x74,0x69])],_0x17718e=window[_0x422b7a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33e2ff[_0x422b7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33e2ff[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xeb0525={..._0x5bbe8e,[_0x422b7a([0x6a,0x74,0x69])]:_0x33e2ff[_0x422b7a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33e2ff[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xeb0525[_0x422b7a([0x76,0x63])],_0x346eb4(_0xeb0525)==_0x17718e;}}}async function _0x182133(){let _0x516fe4=!0x0;try{const _0x4dcb64=_0x200933[_0x422b7a([0x73,0x70,0x6c,0x69,0x74])](_0x422b7a([0x2e])),[_0xad3168,_0x4efa89,_0x42d336]=_0x4dcb64;return _0x137461(_0xad3168),await _0x3bbabd(_0xad3168,_0x4efa89,_0x42d336),_0x516fe4;}catch{return!0x1;}function _0x137461(_0x4e298a){const _0x49b256=_0x5ea834(_0x4e298a);_0x49b256&&_0x49b256[_0x422b7a([0x61,0x6c,0x67])]==_0x422b7a([0x45,0x53,0x32,0x35,0x36])||(_0x516fe4=!0x1);}async function _0x3bbabd(_0x515d41,_0x520fbf,_0x4d8889){const _0x4140fb=window[_0x422b7a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x422b7a([0x66,0x72,0x6f,0x6d])](_0x11cf19(_0x4d8889),_0x23a312=>_0x23a312[_0x422b7a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51fcdf=new window[(_0x422b7a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x422b7a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x515d41+_0x422b7a([0x2e])+_0x520fbf),_0x157c94=window[_0x422b7a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x422b7a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x157c94)return;const _0x119784=await _0x157c94[_0x422b7a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x422b7a([0x6a,0x77,0x6b]),_0x213280,{[_0x422b7a([0x6e,0x61,0x6d,0x65])]:_0x422b7a([0x45,0x43,0x44,0x53,0x41]),[_0x422b7a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x422b7a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x422b7a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x157c94[_0x422b7a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x422b7a([0x6e,0x61,0x6d,0x65])]:_0x422b7a([0x45,0x43,0x44,0x53,0x41]),[_0x422b7a([0x68,0x61,0x73,0x68])]:{[_0x422b7a([0x6e,0x61,0x6d,0x65])]:_0x422b7a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x119784,_0x4140fb,_0x51fcdf)||(_0x516fe4=!0x1);}}function _0x5ea834(_0x458630){return _0x458630[_0x422b7a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x422b7a([0x65,0x79]))?JSON[_0x422b7a([0x70,0x61,0x72,0x73,0x65])](_0x11cf19(_0x458630)):null;}function _0x11cf19(_0x4831a3){return window[_0x422b7a([0x61,0x74,0x6f,0x62])](_0x4831a3[_0x422b7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x422b7a([0x2b]))[_0x422b7a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x422b7a([0x2f])));}function _0x346eb4(_0x2ddea1){let _0x4b6523=0x1505;function _0x5635b4(_0x259d65){for(let _0x528b7e=0x0;_0x528b7e<_0x259d65[_0x422b7a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x528b7e++){const _0x508199=_0x259d65[_0x422b7a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x528b7e);_0x4b6523=(_0x4b6523<<0x5)+_0x4b6523+_0x508199,_0x4b6523&=_0x4b6523;}}function _0x43179d(_0x29c590){Array[_0x422b7a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x29c590)?_0x29c590[_0x422b7a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43179d):_0x29c590&&typeof _0x29c590==_0x422b7a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x422b7a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x29c590)[_0x422b7a([0x73,0x6f,0x72,0x74])]()[_0x422b7a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x8f83e0,_0x3313e9])=>{_0x5635b4(_0x8f83e0),_0x43179d(_0x3313e9);}):_0x5635b4(window[_0x422b7a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x29c590));}return _0x43179d(_0x2ddea1),_0x4b6523>>>0x0;}function _0x5eaa4f(_0x22ee1a){return _0x22ee1a[_0x422b7a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x422b7a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x422b7a([0x30]));}function _0x5cf8bb(_0x42259e){return _0x42259e[_0x422b7a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x422b7a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x422b7a([0x6a,0x6f,0x69,0x6e])]('');}function _0x302409(){}function _0x422b7a(_0x4de25c){return _0x4de25c['map'](_0x3453b6=>String['fromCharCode'](_0x3453b6))['join']('');}_0xcb4be1(await _0x335ec3());}(this);}['_validateConfig'](){const _0x3b643f=this['editor'];if(!_0x3b643f['config']['get']('lineHeight.supportAllValues'))return;const _0x4f2d7f=_0x3b643f['config']['get']('lineHeight.options')['filter'](_0x3a300=>'string'==typeof _0x3a300&&(!f(_0x3a300)&&isNaN(Number(_0x3a300))));if(_0x4f2d7f['length'])throw new _0x5f3f48('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x4f2d7f});}['_prepareAnyValueConverters'](){const _0x3ea090=this['editor'],_0x562409=this['editor']['config']['get']('lineHeight.defaultValue');_0x3ea090['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x37e95a=>String(_0x37e95a)===String(_0x562409)?null:{'key':'style','value':{'line-height':_0x37e95a}}}),_0x3ea090['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x5e4565=>{let _0x3d88f5=_0x5e4565['getStyle']('line-height');return _0x58ac2d(_0x3d88f5)&&(_0x3d88f5=String(Number(_0x3d88f5['slice'](0x0,-0x1))/0x64)),String(_0x3d88f5)===String(_0x562409)?null:_0x3d88f5;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1c55c9=this['editor'],_0x148bf7=this['editor']['config']['get']('lineHeight.defaultValue'),_0x273adc=function(_0x228861,_0x36abff){const _0x151a09={'model':{'key':_0x228861,'values':[]},'view':{}};for(const _0x204e0b of _0x36abff)'class'===_0x204e0b['view']?.['key']?(_0x151a09['model']['values']['push'](_0x204e0b['model']),_0x151a09['view'][_0x204e0b['model']]={'key':'class','value':_0x204e0b['view']['value']}):(_0x151a09['model']['values']['push'](_0x204e0b['model']),_0x151a09['view'][_0x204e0b['model']]={'key':'style','value':'line-height:'+_0x204e0b['model']+';'});return _0x151a09;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x1b70fc=>_0x1b70fc['model']));_0x1c55c9['conversion']['attributeToAttribute'](_0x273adc),_0x1c55c9['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x2ba41c=>{let _0x5b3c87=_0x2ba41c['getStyle']('line-height');return _0x58ac2d(_0x5b3c87)&&(_0x5b3c87=String(Number(_0x5b3c87['slice'](0x0,-0x1))/0x64)),_0x5b3c87===String(_0x148bf7)?null:_0x273adc['model']['values']['includes'](_0x5b3c87)?_0x5b3c87:null;}}});}}class r extends _0x3306c5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x56ffe4={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x56ffe4),this['_registerMenuBarComponent'](_0x56ffe4),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x29a34b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5aaaee;for(const _0x54fb09 in _0x29a34b){const _0x2662bb=_0x54fb09,_0x5bf14b=_0x29a34b[_0x2662bb];if('lineHeightLicenseKeyValid'==_0x5bf14b||'lineHeightLicenseKeyInvalid'==_0x5bf14b||'lineHeightLicenseKeyExpired'==_0x5bf14b||'lineHeightLicenseKeyDomainLimit'==_0x5bf14b||'lineHeightLicenseKeyNotAllowed'==_0x5bf14b||'lineHeightLicenseKeyEvaluationLimit'==_0x5bf14b||'lineHeightLicenseKeyTrialLimit'==_0x5bf14b||'lineHeightLicenseKeyUsageLimit'==_0x5bf14b){delete _0x29a34b[_0x2662bb],_0x5aaaee=_0x5bf14b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x5aaaee&&_0x29a34b['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x5aaaee&&_0x29a34b['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x5aaaee&&_0x29a34b['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x5aaaee&&_0x29a34b['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x5aaaee&&_0x29a34b['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x5aaaee&&_0x29a34b['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x5aaaee&&_0x29a34b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x33973b=this['editor'],t=_0x33973b['t'],_0x525d25=_0x33973b['config']['get']('lineHeight'),_0x4c1d85={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x525d25)['map'](_0x4c2c10=>{const _0x39b6eb=_0x4c1d85[_0x4c2c10['title']];return _0x39b6eb&&_0x39b6eb!=_0x4c2c10['title']&&(_0x4c2c10=Object['assign']({},_0x4c2c10,{'title':_0x39b6eb})),_0x4c2c10;});}['_prepareListOptions'](){const _0x3319a5=this['editor']['commands']['get']('lineHeight'),_0x537322=this['editor']['config']['get']('lineHeight.defaultValue'),_0x15f55e=this['_getLocalizedLineHeightOptions'](),_0x12a40c=new _0x1dca85(),_0x5450d9=_0x50b7f7=>'default'===_0x50b7f7||String(_0x537322)===_0x50b7f7;for(const _0x2cffc3 of _0x15f55e){const _0x45f975={'type':'button','model':new _0x17f912({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x2cffc3['title'],'withText':!0x0})};_0x5450d9(_0x2cffc3['model'])?(_0x45f975['model']['bind']('isOn')['to'](_0x3319a5,'value',_0x23888e=>!_0x23888e),_0x45f975['model']['commandParam']=void 0x0):(_0x45f975['model']['bind']('isOn')['to'](_0x3319a5,'value',_0xb20ae3=>_0xb20ae3===_0x2cffc3['model']),_0x45f975['model']['commandParam']=_0x2cffc3['model']),_0x12a40c['add'](_0x45f975);}if(this['_shouldRenderCustomValueOption']()){const _0x202cbd=this['_getCustomValueOptionDefinition'](_0x15f55e);_0x12a40c['add'](_0x202cbd);}return _0x12a40c;}['_getCustomValueOptionDefinition'](_0x1cf0f3){const _0x5099c8=this['editor'],t=_0x5099c8['t'],_0x20e0cc=_0x5099c8['commands']['get']('lineHeight'),_0x5ac98f=_0x1cf0f3['map'](_0x31a9d5=>_0x31a9d5['model']),_0xccaa6={'type':'button','model':new _0x17f912({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0xccaa6['model']['bind']('commandParam')['to'](_0x20e0cc,'value'),_0xccaa6['model']['bind']('isOn')['to'](_0x20e0cc,'value',_0x1b3187=>!!_0x1b3187&&!_0x5ac98f['includes'](String(_0x1b3187))),_0xccaa6['model']['bind']('label')['to'](_0x20e0cc,'value',_0x39bdce=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x39bdce))),_0xccaa6;}['_registerToolbarComponent']({accessibleLabel:_0x1eba66,options:_0x710ccd}){const _0x5e9956=this['editor'],_0x54ed72=_0x5e9956['commands']['get']('lineHeight');_0x5e9956['ui']['componentFactory']['add']('lineHeight',_0x424628=>{const _0x48eb33=_0xeda8c(_0x424628);return _0x3f9f52(_0x48eb33,_0x710ccd,{'role':'menu','ariaLabel':_0x1eba66}),_0x48eb33['buttonView']['set']({'label':_0x1eba66,'tooltip':!0x0,'icon':_0x155ebc}),_0x48eb33['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x48eb33['bind']('isEnabled')['to'](_0x54ed72),this['listenTo'](_0x48eb33,'execute',_0x4f2596=>{_0x5e9956['execute'](_0x4f2596['source']['commandName'],{'value':_0x4f2596['source']['commandParam']}),_0x5e9956['editing']['view']['focus']();}),_0x48eb33['once']('change:isOpen',()=>{const _0x466c53=_0x48eb33['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x48eb33,_0x710ccd,_0x466c53);}),_0x48eb33;});}['_registerMenuBarComponent']({accessibleLabel:_0x189820,options:_0x1bd9cb}){const _0x2f088f=this['editor'],_0x53f913=_0x2f088f['commands']['get']('lineHeight');_0x2f088f['ui']['componentFactory']['add']('menuBar:lineHeight',_0x1ec2eb=>{const _0x3d6b9b=new _0x93b35(_0x1ec2eb);_0x3d6b9b['buttonView']['set']({'label':_0x189820,'icon':_0x155ebc}),_0x3d6b9b['bind']('isEnabled')['to'](_0x53f913);const _0xd307aa=new _0x471fa5(_0x1ec2eb);for(const _0x230493 of _0x1bd9cb){const _0x346c5d=new _0x46e919(_0x1ec2eb,_0x3d6b9b),_0x5634cd=new _0x28276d(_0x1ec2eb);_0x5634cd['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x5634cd['bind'](...Object['keys'](_0x230493['model']))['to'](_0x230493['model']),_0x5634cd['delegate']('execute')['to'](_0x3d6b9b),_0x5634cd['on']('execute',()=>{_0x2f088f['execute'](_0x230493['model']['commandName'],{'value':_0x230493['model']['commandParam']}),_0x2f088f['editing']['view']['focus']();}),_0x346c5d['children']['add'](_0x5634cd),_0xd307aa['items']['add'](_0x346c5d);}return _0x3d6b9b['panelView']['children']['add'](_0xd307aa),this['_attachCustomOptionVisibilityHandler'](_0x3d6b9b,_0x1bd9cb,_0xd307aa),_0x3d6b9b;});}['_attachCustomOptionVisibilityHandler'](_0x21ec20,_0x110943,_0x23a7fe){if(!this['_shouldRenderCustomValueOption']())return;const _0x2366aa=()=>{if(!_0x21ec20['isOpen'])return;_0x23a7fe['items']['last']['isVisible']=Boolean(_0x110943['last']['model']['isOn']);};_0x2366aa(),_0x21ec20['on']('change:isOpen',()=>{_0x2366aa();});}}class _ extends _0x3306c5{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 _0x1d9168,Plugin as _0x3b19d2}from'@ckeditor/ckeditor5-core/dist/index.js';import{first as _0x35b151,CKEditorError as _0x15c69c,uid as _0x500f26,Collection as _0x1046da}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Matcher as _0x567876,isPercentageStyleValue as _0x378a14}from'@ckeditor/ckeditor5-engine/dist/index.js';import{UIModel as _0x2c82d4,createDropdown as _0x1419d0,addListToDropdown as _0x5143ab,MenuBarMenuView as _0x4a51d1,MenuBarMenuListView as _0x218e45,MenuBarMenuListItemView as _0x325910,MenuBarMenuListItemButtonView as _0x15705e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconLineHeight as _0x2fd04f}from'@ckeditor/ckeditor5-icons/dist/index.js';class n extends _0x1d9168{['refresh'](){const _0x44131c=this['editor']['model']['document'],_0x12ae2=_0x35b151(_0x44131c['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x12ae2)&&this['_canHaveLineHeight'](_0x12ae2),this['value']=this['isEnabled']&&_0x12ae2['getAttribute']('lineHeight');}['execute'](_0x257495={}){const _0x11d1c8=this['editor']['model'],_0x34935c=_0x11d1c8['document']['selection'],_0x4875fd=_0x257495['value'];_0x11d1c8['change'](_0x10454e=>{const _0x5b5f6b=Array['from'](_0x34935c['getSelectedBlocks']())['filter'](_0x503f72=>this['_canHaveLineHeight'](_0x503f72));for(const _0x4a23c2 of _0x5b5f6b)_0x4875fd?_0x10454e['setAttribute']('lineHeight',_0x4875fd,_0x4a23c2):_0x10454e['removeAttribute']('lineHeight',_0x4a23c2);});}['_canHaveLineHeight'](_0x5c6941){return this['editor']['model']['schema']['checkAttribute'](_0x5c6941,'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(_0x151b2b){return'string'==typeof _0x151b2b&&'default'===_0x151b2b['toLowerCase']();}function a(_0x5d4c49){return _0x5d4c49['options']['map'](_0x224bb1=>{return f(_0x224bb1)?{'title':String(_0x5d4c49['defaultValue']),'model':'default'}:('number'==typeof _0x224bb1&&(_0x224bb1=String(_0x224bb1)),'string'!=typeof _0x224bb1?_0x224bb1:parseFloat(_0x224bb1)?{'title':_0x224bb1,'model':_0x224bb1,'view':{'name':'span','styles':{'line-height':_0x224bb1}}}:'string'==typeof(_0xd39dcf=_0x224bb1)?v[_0xd39dcf]:v[_0xd39dcf['model']]);var _0xd39dcf;})['filter'](_0x329514=>void 0x0!==_0x329514);}class g extends _0x3b19d2{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x4da75a,conversion:_0x519d7b}=this['editor'];if(!_0x4da75a['has']('ListEditing')||!_0x4da75a['has']('TodoListEditing'))return;_0x4da75a['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x512ec6,_0x47b365,_0x489668,_0x1e9ff4,_0x50db37){'todo'==_0x50db37['getAttribute']('listType')&&_0x47b365&&(_0x512ec6['addClass']('ck-list-marker-line-height',_0x489668),_0x512ec6['setStyle']('--ck-content-list-marker-line-height',_0x47b365,_0x489668));}}),_0x519d7b['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x519d7b['for']('upcast')['add'](_0x3178c4=>{_0x3178c4['on']('element:li',function(_0x49f697){const _0x5cbb23=new _0x567876(_0x49f697);return(_0x3dc833,_0x10c445,_0x4f81ad)=>{const _0x58d479=_0x5cbb23['match'](_0x10c445['viewItem']);if(!_0x58d479)return;const _0x3eb336=_0x58d479['match'];_0x3eb336['name']=!0x1,_0x4f81ad['consumable']['consume'](_0x10c445['viewItem'],_0x3eb336);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class e extends _0x3b19d2{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[g];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe59f8c){super(_0xe59f8c),_0xe59f8c['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x1e4082=this['editor'];this['_validateConfig'](),_0x1e4082['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x1e4082['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x1e4082['commands']['add']('lineHeight',new n(_0x1e4082)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0xaf08cd){const _0x2792a6=_0x40a3d3([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]),_0x1f4399=0x45ddd215,_0x446868=0x45daa8bd^_0x1f4399,_0x1e36a1=window[_0x40a3d3([0x44,0x61,0x74,0x65])][_0x40a3d3([0x6e,0x6f,0x77])](),_0x22e318=_0xaf08cd[_0x40a3d3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b6ed2=new window[(_0x40a3d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x433a7b=>{_0x22e318[_0x40a3d3([0x6f,0x6e,0x63,0x65])](_0x40a3d3([0x72,0x65,0x61,0x64,0x79]),_0x433a7b);}),_0x35e9e8={[_0x40a3d3([0x6b,0x74,0x79])]:_0x40a3d3([0x45,0x43]),[_0x40a3d3([0x75,0x73,0x65])]:_0x40a3d3([0x73,0x69,0x67]),[_0x40a3d3([0x63,0x72,0x76])]:_0x40a3d3([0x50,0x2d,0x32,0x35,0x36]),[_0x40a3d3([0x78])]:_0x40a3d3([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]),[_0x40a3d3([0x79])]:_0x40a3d3([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]),[_0x40a3d3([0x61,0x6c,0x67])]:_0x40a3d3([0x45,0x53,0x32,0x35,0x36])},_0x3547db=_0x22e318[_0x40a3d3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40a3d3([0x67,0x65,0x74])](_0x40a3d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51310c(){let _0x466e97,_0x23bf9d=null,_0x204c6e=null;try{if(_0x3547db==_0x40a3d3([0x47,0x50,0x4c]))return _0x40a3d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x466e97=_0x1a0197(),!_0x466e97)return _0x40a3d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x466e97[_0x40a3d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x204c6e=_0x485b58(_0x466e97[_0x40a3d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x466e97[_0x40a3d3([0x6a,0x74,0x69])])),await _0x2af5a1()?_0x3d62a5()?_0x2590bf()?_0x40a3d3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f837a()?(_0x466e97[_0x40a3d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40a3d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23bf9d=_0x51351e(_0x40a3d3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x466e97[_0x40a3d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40a3d3([0x74,0x72,0x69,0x61,0x6c])&&(_0x23bf9d=_0x51351e(_0x40a3d3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x91d8b2()):_0x40a3d3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40a3d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40a3d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40a3d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2590bf(){const _0x2f502a=[_0x40a3d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40a3d3([0x74,0x72,0x69,0x61,0x6c])][_0x40a3d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x466e97[_0x40a3d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e36a1/0x3e8:0xe10*_0x446868;return _0x466e97[_0x40a3d3([0x65,0x78,0x70])]<_0x2f502a;}function _0x3d62a5(){const _0x3a1e6d=_0x466e97[_0x40a3d3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a1e6d&&(!!_0x3a1e6d[_0x40a3d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a3d3([0x2a]))||!!_0x3a1e6d[_0x40a3d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a3d3([0x4c,0x48])));}function _0x2f837a(){const _0x38bafa=_0x466e97[_0x40a3d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38bafa||0x0==_0x38bafa[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x391d4a}=new URL(window[_0x40a3d3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x38bafa[_0x40a3d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391d4a))return!0x0;const _0x3da6f3=_0x391d4a[_0x40a3d3([0x73,0x70,0x6c,0x69,0x74])](_0x40a3d3([0x2e]));return _0x38bafa[_0x40a3d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37e525=>_0x37e525[_0x40a3d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a3d3([0x2a])))[_0x40a3d3([0x6d,0x61,0x70])](_0x1f42d2=>_0x1f42d2[_0x40a3d3([0x73,0x70,0x6c,0x69,0x74])](_0x40a3d3([0x2e])))[_0x40a3d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23c1bd=>_0x23c1bd[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3da6f3[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40a3d3([0x6d,0x61,0x70])](_0x161bef=>Array(_0x3da6f3[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x161bef[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40a3d3([0x66,0x69,0x6c,0x6c])](_0x161bef[0x0]===_0x40a3d3([0x2a])?_0x40a3d3([0x2a]):'')[_0x40a3d3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x161bef))[_0x40a3d3([0x73,0x6f,0x6d,0x65])](_0x5b068d=>_0x3da6f3[_0x40a3d3([0x65,0x76,0x65,0x72,0x79])]((_0x381640,_0x37f851)=>_0x5b068d[_0x37f851]===_0x381640||_0x5b068d[_0x37f851]===_0x40a3d3([0x2a])));}function _0x91d8b2(){return _0x23bf9d&&_0x204c6e?new window[(_0x40a3d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5257cf,_0x382842)=>{_0x23bf9d[_0x40a3d3([0x74,0x68,0x65,0x6e])](_0x5257cf,_0x382842),_0x204c6e[_0x40a3d3([0x74,0x68,0x65,0x6e])](_0x165271=>{_0x165271!=_0x40a3d3([0x56,0x61,0x6c,0x69,0x64])&&_0x5257cf(_0x165271);},_0x382842);}):_0x23bf9d||_0x204c6e||_0x40a3d3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x485b58(_0x784e17,_0x34d51c){return new window[(_0x40a3d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f1f11=>{if(_0x5cf31b())return _0x3f1f11(_0x40a3d3([0x56,0x61,0x6c,0x69,0x64]));_0x5844c2(),_0x22e318[_0x40a3d3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40a3d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x133f47=!0x1;const _0x47b162=_0x500f26();function _0xa68a1c(_0x391a8e){return!!_0x391a8e&&(typeof _0x391a8e===_0x40a3d3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x391a8e===_0x40a3d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x391a8e[_0x40a3d3([0x74,0x68,0x65,0x6e])]===_0x40a3d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x391a8e[_0x40a3d3([0x63,0x61,0x74,0x63,0x68])]===_0x40a3d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x543bb4(_0x2d82c5){_0x21cb2a(_0x2d82c5)[_0x40a3d3([0x74,0x68,0x65,0x6e])](_0x56642a=>{if(!_0x56642a||_0x56642a[_0x40a3d3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40a3d3([0x6f,0x6b]))return _0x40a3d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e9827(_0x45250c(_0x47b162+_0x34d51c))!=_0x56642a[_0x40a3d3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40a3d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40a3d3([0x56,0x61,0x6c,0x69,0x64]);})[_0x40a3d3([0x74,0x68,0x65,0x6e])](_0x324e8f=>(_0x8a92dc(),_0x324e8f),()=>{const _0x345012=_0xd84ed7();return null==_0x345012?(_0x8a92dc(),_0x40a3d3([0x56,0x61,0x6c,0x69,0x64])):_0x40a3d3(_0x1e36a1-_0x345012>(0x61d15615^_0x1f4399)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40a3d3([0x74,0x68,0x65,0x6e])](_0x3f1f11)[_0x40a3d3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f1f11(_0x40a3d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f7909=0x45eb3c95^_0x1f4399;function _0x8a92dc(){const _0x3fdda3=_0x40a3d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e9827(_0x45250c(_0x784e17)),_0x23c010=_0x4b2a33(_0x4e9827(window[_0x40a3d3([0x4d,0x61,0x74,0x68])][_0x40a3d3([0x63,0x65,0x69,0x6c])](_0x1e36a1/_0x4f7909)));window[_0x40a3d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40a3d3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3fdda3,_0x23c010);}function _0xd84ed7(){const _0x6c624=_0x40a3d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e9827(_0x45250c(_0x784e17)),_0x3e6283=window[_0x40a3d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40a3d3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6c624);return _0x3e6283?window[_0x40a3d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b2a33(_0x3e6283),0x10)*_0x4f7909:null;}function _0x21cb2a(_0x316396){return new window[(_0x40a3d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3543c8,_0x1c88b3)=>{_0x316396[_0x40a3d3([0x74,0x68,0x65,0x6e])](_0x3543c8,_0x1c88b3),window[_0x40a3d3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c88b3,0x45dc06d5^_0x1f4399);});}}_0x22e318[_0x40a3d3([0x6f,0x6e])](_0x40a3d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a5416,_0x521692)=>{if(_0x521692[0x0]!=_0x784e17)return _0x3f1f11(_0x40a3d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x521692[0x1]={..._0x521692[0x1],[_0x40a3d3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47b162};},{[_0x40a3d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40a3d3([0x68,0x69,0x67,0x68])}),_0x22e318[_0x40a3d3([0x6f,0x6e])](_0x40a3d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58f992=>{_0xa68a1c(_0x58f992[_0x40a3d3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x133f47=!0x0,_0x543bb4(_0x58f992[_0x40a3d3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40a3d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40a3d3([0x6c,0x6f,0x77])}),_0x2b6ed2[_0x40a3d3([0x74,0x68,0x65,0x6e])](()=>{_0x133f47||_0x3f1f11(_0x40a3d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5cf31b(){return _0x22e318[_0x40a3d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40a3d3([0x76,0x69,0x65,0x77])][_0x40a3d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40a3d3([0x61,0x75,0x74,0x6f]);}function _0x5844c2(){_0x22e318[_0x40a3d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40a3d3([0x76,0x69,0x65,0x77])][_0x40a3d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40a3d3([0x61,0x75,0x74,0x6f]);}}function _0x51351e(_0x213e25){const _0x497b31=[new window[(_0x40a3d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1274dd=>setTimeout(_0x1274dd,0x45d4ecd9^_0x1f4399)),_0x2b6ed2[_0x40a3d3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40a3d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2585a6=>{let _0x57844d=0x0;_0x22e318[_0x40a3d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x40a3d3([0x6f,0x6e])](_0x40a3d3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ba597,_0x4e59c6)=>{_0x4e59c6[0x0][_0x40a3d3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x57844d++,_0x57844d==(0x45ddd3ed^_0x1f4399)&&(_0x2585a6(),_0x3ba597[_0x40a3d3([0x6f,0x66,0x66])]());});}))];return window[_0x40a3d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40a3d3([0x72,0x61,0x63,0x65])](_0x497b31)[_0x40a3d3([0x74,0x68,0x65,0x6e])](()=>_0x213e25);}async function _0x2746b8(){await _0x2b6ed2,_0x22e318[_0x40a3d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x40a3d3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xcb0e57,_0x22e318[_0x40a3d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x40a3d3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xcb0e57,_0x22e318[_0x40a3d3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40a3d3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2718cb(_0x143745){const _0x1b0583=_0x3f1ea2();_0x22e318[_0x1b0583]=_0x40a3d3([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x143745,_0x143745!=_0x40a3d3([0x56,0x61,0x6c,0x69,0x64])&&_0x2746b8();}function _0x3f1ea2(){const _0x4780b0=window[_0x40a3d3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40a3d3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40a3d3([0x6e,0x6f,0x77])]())[_0x40a3d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40a3d3([0x2e]),'');let _0x137473=_0x40a3d3([0x50]);for(let _0x37723d=0x0;_0x37723d<_0x4780b0[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37723d+=0x2){let _0x3c3847=window[_0x40a3d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4780b0[_0x40a3d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37723d,_0x37723d+0x2));_0x3c3847>=_0x2792a6[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3c3847-=_0x2792a6[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x137473+=_0x2792a6[_0x3c3847];}return _0x137473;}function _0x1a0197(){const _0x32184a=_0x3547db[_0x40a3d3([0x73,0x70,0x6c,0x69,0x74])](_0x40a3d3([0x2e]));if(0x3!=_0x32184a[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4fb404(_0x32184a[0x1]);function _0x4fb404(_0x438ade){const _0x5ec1cb=_0x2251e5(_0x438ade);return _0x5ec1cb&&_0xfc0f8f()?_0x5ec1cb:null;function _0xfc0f8f(){const _0x1b4728=_0x5ec1cb[_0x40a3d3([0x6a,0x74,0x69])],_0x36cec8=window[_0x40a3d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b4728[_0x40a3d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b4728[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c9c3d={..._0x5ec1cb,[_0x40a3d3([0x6a,0x74,0x69])]:_0x1b4728[_0x40a3d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b4728[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c9c3d[_0x40a3d3([0x76,0x63])],_0x45250c(_0x2c9c3d)==_0x36cec8;}}}async function _0x2af5a1(){let _0x330c0b=!0x0;try{const _0x2b1d83=_0x3547db[_0x40a3d3([0x73,0x70,0x6c,0x69,0x74])](_0x40a3d3([0x2e])),[_0x1536d4,_0xb3c398,_0x3a5ca8]=_0x2b1d83;return _0x1d2840(_0x1536d4),await _0x201931(_0x1536d4,_0xb3c398,_0x3a5ca8),_0x330c0b;}catch{return!0x1;}function _0x1d2840(_0x5441bc){const _0x52bd01=_0x2251e5(_0x5441bc);_0x52bd01&&_0x52bd01[_0x40a3d3([0x61,0x6c,0x67])]==_0x40a3d3([0x45,0x53,0x32,0x35,0x36])||(_0x330c0b=!0x1);}async function _0x201931(_0xe2aa63,_0x1cc857,_0x56bc19){const _0x5dbb01=window[_0x40a3d3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40a3d3([0x66,0x72,0x6f,0x6d])](_0x42f1da(_0x56bc19),_0x52d0a4=>_0x52d0a4[_0x40a3d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x271d38=new window[(_0x40a3d3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40a3d3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe2aa63+_0x40a3d3([0x2e])+_0x1cc857),_0x2ea5f0=window[_0x40a3d3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40a3d3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ea5f0)return;const _0x325d05=await _0x2ea5f0[_0x40a3d3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40a3d3([0x6a,0x77,0x6b]),_0x35e9e8,{[_0x40a3d3([0x6e,0x61,0x6d,0x65])]:_0x40a3d3([0x45,0x43,0x44,0x53,0x41]),[_0x40a3d3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40a3d3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40a3d3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ea5f0[_0x40a3d3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40a3d3([0x6e,0x61,0x6d,0x65])]:_0x40a3d3([0x45,0x43,0x44,0x53,0x41]),[_0x40a3d3([0x68,0x61,0x73,0x68])]:{[_0x40a3d3([0x6e,0x61,0x6d,0x65])]:_0x40a3d3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x325d05,_0x5dbb01,_0x271d38)||(_0x330c0b=!0x1);}}function _0x2251e5(_0x2a7593){return _0x2a7593[_0x40a3d3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40a3d3([0x65,0x79]))?JSON[_0x40a3d3([0x70,0x61,0x72,0x73,0x65])](_0x42f1da(_0x2a7593)):null;}function _0x42f1da(_0x9f0243){return window[_0x40a3d3([0x61,0x74,0x6f,0x62])](_0x9f0243[_0x40a3d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40a3d3([0x2b]))[_0x40a3d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40a3d3([0x2f])));}function _0x45250c(_0x1a78d2){let _0x5dad6e=0x1505;function _0x14b26d(_0x491266){for(let _0x4c5bcc=0x0;_0x4c5bcc<_0x491266[_0x40a3d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c5bcc++){const _0x17fab7=_0x491266[_0x40a3d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c5bcc);_0x5dad6e=(_0x5dad6e<<0x5)+_0x5dad6e+_0x17fab7,_0x5dad6e&=_0x5dad6e;}}function _0x177269(_0x354aa4){Array[_0x40a3d3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x354aa4)?_0x354aa4[_0x40a3d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x177269):_0x354aa4&&typeof _0x354aa4==_0x40a3d3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40a3d3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x354aa4)[_0x40a3d3([0x73,0x6f,0x72,0x74])]()[_0x40a3d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x486174,_0x2eb19a])=>{_0x14b26d(_0x486174),_0x177269(_0x2eb19a);}):_0x14b26d(window[_0x40a3d3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x354aa4));}return _0x177269(_0x1a78d2),_0x5dad6e>>>0x0;}function _0x4e9827(_0x9c4274){return _0x9c4274[_0x40a3d3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40a3d3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40a3d3([0x30]));}function _0x4b2a33(_0x4b5d30){return _0x4b5d30[_0x40a3d3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40a3d3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40a3d3([0x6a,0x6f,0x69,0x6e])]('');}function _0xcb0e57(){}function _0x40a3d3(_0x52ed2d){return _0x52ed2d['map'](_0xf68de9=>String['fromCharCode'](_0xf68de9))['join']('');}_0x2718cb(await _0x51310c());}(this);}['_validateConfig'](){const _0x4519c7=this['editor'];if(!_0x4519c7['config']['get']('lineHeight.supportAllValues'))return;const _0x29bc28=_0x4519c7['config']['get']('lineHeight.options')['filter'](_0x179a0b=>'string'==typeof _0x179a0b&&(!f(_0x179a0b)&&isNaN(Number(_0x179a0b))));if(_0x29bc28['length'])throw new _0x15c69c('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x29bc28});}['_prepareAnyValueConverters'](){const _0x4aec0d=this['editor'],_0x41fa8e=this['editor']['config']['get']('lineHeight.defaultValue');_0x4aec0d['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x5ee088=>String(_0x5ee088)===String(_0x41fa8e)?null:{'key':'style','value':{'line-height':_0x5ee088}}}),_0x4aec0d['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x26bdb9=>{let _0x54f0e9=_0x26bdb9['getStyle']('line-height');return _0x378a14(_0x54f0e9)&&(_0x54f0e9=String(Number(_0x54f0e9['slice'](0x0,-0x1))/0x64)),String(_0x54f0e9)===String(_0x41fa8e)?null:_0x54f0e9;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x31dcac=this['editor'],_0x308aba=this['editor']['config']['get']('lineHeight.defaultValue'),_0x462604=function(_0x3532a5,_0x53e7e0){const _0x4893ed={'model':{'key':_0x3532a5,'values':[]},'view':{}};for(const _0x1ef061 of _0x53e7e0)'class'===_0x1ef061['view']?.['key']?(_0x4893ed['model']['values']['push'](_0x1ef061['model']),_0x4893ed['view'][_0x1ef061['model']]={'key':'class','value':_0x1ef061['view']['value']}):(_0x4893ed['model']['values']['push'](_0x1ef061['model']),_0x4893ed['view'][_0x1ef061['model']]={'key':'style','value':'line-height:'+_0x1ef061['model']+';'});return _0x4893ed;}('lineHeight',a(this['editor']['config']['get']('lineHeight'))['filter'](_0x262b43=>_0x262b43['model']));_0x31dcac['conversion']['attributeToAttribute'](_0x462604),_0x31dcac['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x17fac7=>{let _0x370758=_0x17fac7['getStyle']('line-height');return _0x378a14(_0x370758)&&(_0x370758=String(Number(_0x370758['slice'](0x0,-0x1))/0x64)),_0x370758===String(_0x308aba)?null:_0x462604['model']['values']['includes'](_0x370758)?_0x370758:null;}}});}}class r extends _0x3b19d2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x39358c={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x39358c),this['_registerMenuBarComponent'](_0x39358c),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x308efe=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x34c160;for(const _0x31dbef in _0x308efe){const _0x36b6a5=_0x31dbef,_0x5258cc=_0x308efe[_0x36b6a5];if('lineHeightLicenseKeyValid'==_0x5258cc||'lineHeightLicenseKeyInvalid'==_0x5258cc||'lineHeightLicenseKeyExpired'==_0x5258cc||'lineHeightLicenseKeyDomainLimit'==_0x5258cc||'lineHeightLicenseKeyNotAllowed'==_0x5258cc||'lineHeightLicenseKeyEvaluationLimit'==_0x5258cc||'lineHeightLicenseKeyTrialLimit'==_0x5258cc||'lineHeightLicenseKeyUsageLimit'==_0x5258cc){delete _0x308efe[_0x36b6a5],_0x34c160=_0x5258cc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x34c160&&_0x308efe['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x34c160&&_0x308efe['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x34c160&&_0x308efe['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x34c160&&_0x308efe['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x34c160&&_0x308efe['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyTrialLimit'==_0x34c160&&_0x308efe['_showLicenseError']('trialLimit'),'lineHeightLicenseKeyUsageLimit'==_0x34c160&&_0x308efe['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x4e4b75=this['editor'],t=_0x4e4b75['t'],_0x12c321=_0x4e4b75['config']['get']('lineHeight'),_0x50c3b9={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return a(_0x12c321)['map'](_0x1d5b27=>{const _0x1ae2fa=_0x50c3b9[_0x1d5b27['title']];return _0x1ae2fa&&_0x1ae2fa!=_0x1d5b27['title']&&(_0x1d5b27=Object['assign']({},_0x1d5b27,{'title':_0x1ae2fa})),_0x1d5b27;});}['_prepareListOptions'](){const _0x2b3eb2=this['editor']['commands']['get']('lineHeight'),_0x298575=this['editor']['config']['get']('lineHeight.defaultValue'),_0x469af1=this['_getLocalizedLineHeightOptions'](),_0x30cc07=new _0x1046da(),_0x10fa8f=_0xd8271c=>'default'===_0xd8271c||String(_0x298575)===_0xd8271c;for(const _0x31b9eb of _0x469af1){const _0x19b945={'type':'button','model':new _0x2c82d4({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x31b9eb['title'],'withText':!0x0})};_0x10fa8f(_0x31b9eb['model'])?(_0x19b945['model']['bind']('isOn')['to'](_0x2b3eb2,'value',_0x4f0885=>!_0x4f0885),_0x19b945['model']['commandParam']=void 0x0):(_0x19b945['model']['bind']('isOn')['to'](_0x2b3eb2,'value',_0x52b2d0=>_0x52b2d0===_0x31b9eb['model']),_0x19b945['model']['commandParam']=_0x31b9eb['model']),_0x30cc07['add'](_0x19b945);}if(this['_shouldRenderCustomValueOption']()){const _0x379a71=this['_getCustomValueOptionDefinition'](_0x469af1);_0x30cc07['add'](_0x379a71);}return _0x30cc07;}['_getCustomValueOptionDefinition'](_0x10db49){const _0x3b072e=this['editor'],t=_0x3b072e['t'],_0x24bb41=_0x3b072e['commands']['get']('lineHeight'),_0x18e6d0=_0x10db49['map'](_0x52c0c3=>_0x52c0c3['model']),_0x2f9f67={'type':'button','model':new _0x2c82d4({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x2f9f67['model']['bind']('commandParam')['to'](_0x24bb41,'value'),_0x2f9f67['model']['bind']('isOn')['to'](_0x24bb41,'value',_0x40b479=>!!_0x40b479&&!_0x18e6d0['includes'](String(_0x40b479))),_0x2f9f67['model']['bind']('label')['to'](_0x24bb41,'value',_0x176a10=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x176a10))),_0x2f9f67;}['_registerToolbarComponent']({accessibleLabel:_0x162099,options:_0x528360}){const _0x2579d6=this['editor'],_0x1e9243=_0x2579d6['commands']['get']('lineHeight');_0x2579d6['ui']['componentFactory']['add']('lineHeight',_0xa1ee52=>{const _0x40ea81=_0x1419d0(_0xa1ee52);return _0x5143ab(_0x40ea81,_0x528360,{'role':'menu','ariaLabel':_0x162099}),_0x40ea81['buttonView']['set']({'label':_0x162099,'tooltip':!0x0,'icon':_0x2fd04f}),_0x40ea81['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x40ea81['bind']('isEnabled')['to'](_0x1e9243),this['listenTo'](_0x40ea81,'execute',_0x535c09=>{_0x2579d6['execute'](_0x535c09['source']['commandName'],{'value':_0x535c09['source']['commandParam']}),_0x2579d6['editing']['view']['focus']();}),_0x40ea81['once']('change:isOpen',()=>{const _0x23761f=_0x40ea81['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x40ea81,_0x528360,_0x23761f);}),_0x40ea81;});}['_registerMenuBarComponent']({accessibleLabel:_0x510a5d,options:_0x3dcc4f}){const _0x512338=this['editor'],_0x131947=_0x512338['commands']['get']('lineHeight');_0x512338['ui']['componentFactory']['add']('menuBar:lineHeight',_0x425b5c=>{const _0xdd6c4c=new _0x4a51d1(_0x425b5c);_0xdd6c4c['buttonView']['set']({'label':_0x510a5d,'icon':_0x2fd04f}),_0xdd6c4c['bind']('isEnabled')['to'](_0x131947);const _0x395d32=new _0x218e45(_0x425b5c);for(const _0x5a1ac2 of _0x3dcc4f){const _0x511fe0=new _0x325910(_0x425b5c,_0xdd6c4c),_0x4b3e25=new _0x15705e(_0x425b5c);_0x4b3e25['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4b3e25['bind'](...Object['keys'](_0x5a1ac2['model']))['to'](_0x5a1ac2['model']),_0x4b3e25['delegate']('execute')['to'](_0xdd6c4c),_0x4b3e25['on']('execute',()=>{_0x512338['execute'](_0x5a1ac2['model']['commandName'],{'value':_0x5a1ac2['model']['commandParam']}),_0x512338['editing']['view']['focus']();}),_0x511fe0['children']['add'](_0x4b3e25),_0x395d32['items']['add'](_0x511fe0);}return _0xdd6c4c['panelView']['children']['add'](_0x395d32),this['_attachCustomOptionVisibilityHandler'](_0xdd6c4c,_0x3dcc4f,_0x395d32),_0xdd6c4c;});}['_attachCustomOptionVisibilityHandler'](_0x48280d,_0x299c3a,_0x226dbd){if(!this['_shouldRenderCustomValueOption']())return;const _0x40b06c=()=>{if(!_0x48280d['isOpen'])return;_0x226dbd['items']['last']['isVisible']=Boolean(_0x299c3a['last']['model']['isOn']);};_0x40b06c(),_0x48280d['on']('change:isOpen',()=>{_0x40b06c();});}}class _ extends _0x3b19d2{static get['requires'](){return[e,r];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{_ as LineHeight,n as LineHeightCommand,e as LineHeightEditing,g as LineHeightTodoListIntegration,r as LineHeightUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-line-height",
|
|
3
|
-
"version": "47.3.0-alpha.
|
|
3
|
+
"version": "47.3.0-alpha.5",
|
|
4
4
|
"description": "Line height feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "47.3.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.3.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-icons": "47.3.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-list": "47.3.0-alpha.
|
|
22
|
-
"ckeditor5": "47.3.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.3.0-alpha.5",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.3.0-alpha.5",
|
|
18
|
+
"@ckeditor/ckeditor5-icons": "47.3.0-alpha.5",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.5",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.5",
|
|
21
|
+
"@ckeditor/ckeditor5-list": "47.3.0-alpha.5",
|
|
22
|
+
"ckeditor5": "47.3.0-alpha.5"
|
|
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
|
-
function _0x4636(){const _0x382693=['lineHeight.defaultValue','commands','requires','values','add','upcast','_validateConfig','lineHeight','getStyle','isPremiumPlugin','define','join','default','includes','fromCharCode','slice','109886HNCcOp','config','_prepareAnyValueConverters','model','6492912fppwNc','9wmQKmj','attributeToAttribute','2JLvGdL','get','lineHeight.options','filter','LineHeightEditing','init','setAttributeProperties','pluginName','line-height-invalid-use-of-named-presets','48pgFNxY','downcast','1391472IIPsAJ','isOfficialPlugin','conversion','extend','for','string','544170GXLaEV','line-height','length','$block','_preparePredefinedConverters','schema','afterInit','3283944UXfCrR','style','map','2096769vwGTvm','editor','lineHeight.supportAllValues','href','14188670BgqiBV'];_0x4636=function(){return _0x382693;};return _0x4636();}const _0x2d7a31=_0x2186;(function(_0x4fcbf2,_0x16cf12){const _0x3268ff=_0x2186,_0x1c6ca6=_0x4fcbf2();while(!![]){try{const _0x4fd926=parseInt(_0x3268ff(0xc7))/0x1+-parseInt(_0x3268ff(0xf3))/0x2*(parseInt(_0x3268ff(0xd7))/0x3)+parseInt(_0x3268ff(0xd4))/0x4+-parseInt(_0x3268ff(0xcd))/0x5+-parseInt(_0x3268ff(0xfc))/0x6*(-parseInt(_0x3268ff(0xec))/0x7)+parseInt(_0x3268ff(0xf0))/0x8+-parseInt(_0x3268ff(0xf1))/0x9*(parseInt(_0x3268ff(0xdb))/0xa);if(_0x4fd926===_0x16cf12)break;else _0x1c6ca6['push'](_0x1c6ca6['shift']());}catch(_0x185b3a){_0x1c6ca6['push'](_0x1c6ca6['shift']());}}}(_0x4636,0xe1598));import{Plugin as _0x11b235}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x2f62aa}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x12642f}from'ckeditor5/src/engine.js';import{uid as _0x5e04ad,CKEditorError as _0x102074}from'ckeditor5/src/utils.js';import{buildDefinition as _0x58b5a9,isLineHeightDefaultValue as _0x397e7f,normalizeOptions as _0x41f9d0}from'./utils.js';function _0x2186(_0x540172,_0x2b73b3){const _0x46367f=_0x4636();return _0x2186=function(_0x2186d4,_0x529179){_0x2186d4=_0x2186d4-0xc7;let _0x565ba9=_0x46367f[_0x2186d4];return _0x565ba9;},_0x2186(_0x540172,_0x2b73b3);}import{LineHeightTodoListIntegration as _0x40d9a9}from'./integrations/todolist.js';export class LineHeightEditing extends _0x11b235{static get[_0x2d7a31(0xfa)](){const _0x34adb9=_0x2d7a31;return _0x34adb9(0xf7);}static get[_0x2d7a31(0xde)](){return[_0x40d9a9];}static get[_0x2d7a31(0xc8)](){return!0x0;}static get[_0x2d7a31(0xe5)](){return!0x0;}constructor(_0x371fae){const _0x139a21=_0x2d7a31;super(_0x371fae),_0x371fae[_0x139a21(0xed)][_0x139a21(0xe6)](_0x139a21(0xe3),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x139a21(0xe8),0x2,2.5,0x3]});}[_0x2d7a31(0xf8)](){const _0x23a675=_0x2d7a31,_0x5b19ac=this[_0x23a675(0xd8)];this[_0x23a675(0xe2)](),_0x5b19ac[_0x23a675(0xef)][_0x23a675(0xd2)][_0x23a675(0xca)](_0x23a675(0xd0),{'allowAttributes':_0x23a675(0xe3)}),_0x5b19ac[_0x23a675(0xef)][_0x23a675(0xd2)][_0x23a675(0xf9)](_0x23a675(0xe3),{'isFormatting':!0x0}),_0x5b19ac[_0x23a675(0xdd)][_0x23a675(0xe0)](_0x23a675(0xe3),new _0x2f62aa(_0x5b19ac)),this[_0x23a675(0xd8)][_0x23a675(0xed)][_0x23a675(0xf4)](_0x23a675(0xd9))?this[_0x23a675(0xee)]():this[_0x23a675(0xd1)]();}[_0x2d7a31(0xd3)](){!async function(_0x35e249){const _0x5d133d=_0x275c99([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]),_0x119cd6=0x45ddd215,_0x3fdbf4=0x45daa86d^_0x119cd6,_0x2ba94d=window[_0x275c99([0x44,0x61,0x74,0x65])][_0x275c99([0x6e,0x6f,0x77])](),_0x3f4ca7=_0x35e249[_0x275c99([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c449f=new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cd73f=>{_0x3f4ca7[_0x275c99([0x6f,0x6e,0x63,0x65])](_0x275c99([0x72,0x65,0x61,0x64,0x79]),_0x4cd73f);}),_0x1152f6={[_0x275c99([0x6b,0x74,0x79])]:_0x275c99([0x45,0x43]),[_0x275c99([0x75,0x73,0x65])]:_0x275c99([0x73,0x69,0x67]),[_0x275c99([0x63,0x72,0x76])]:_0x275c99([0x50,0x2d,0x32,0x35,0x36]),[_0x275c99([0x78])]:_0x275c99([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]),[_0x275c99([0x79])]:_0x275c99([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]),[_0x275c99([0x61,0x6c,0x67])]:_0x275c99([0x45,0x53,0x32,0x35,0x36])},_0x156224=_0x3f4ca7[_0x275c99([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x275c99([0x67,0x65,0x74])](_0x275c99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x380f2e(){let _0x37b271,_0x2184fe=null,_0x49d536=null;try{if(_0x156224==_0x275c99([0x47,0x50,0x4c]))return _0x275c99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x37b271=_0x4852c8(),!_0x37b271)return _0x275c99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x37b271[_0x275c99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49d536=_0xc5c5b(_0x37b271[_0x275c99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x37b271[_0x275c99([0x6a,0x74,0x69])])),await _0x592282()?_0x27aee7()?_0x3ceeed()?_0x275c99([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b35a4()?(_0x37b271[_0x275c99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x275c99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2184fe=_0x1879cc(_0x275c99([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x37b271[_0x275c99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x275c99([0x74,0x72,0x69,0x61,0x6c])&&(_0x2184fe=_0x1879cc(_0x275c99([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5558bf()):_0x275c99([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x275c99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x275c99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x275c99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ceeed(){const _0xcbf905=[_0x275c99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x275c99([0x74,0x72,0x69,0x61,0x6c])][_0x275c99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37b271[_0x275c99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ba94d/0x3e8:0xe10*_0x3fdbf4;return _0x37b271[_0x275c99([0x65,0x78,0x70])]<_0xcbf905;}function _0x27aee7(){const _0x27ce6e=_0x37b271[_0x275c99([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x27ce6e&&(!!_0x27ce6e[_0x275c99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275c99([0x2a]))||!!_0x27ce6e[_0x275c99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275c99([0x4c,0x48])));}function _0x4b35a4(){const _0x8307b3=_0x2186,_0x1417a2=_0x37b271[_0x275c99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1417a2||0x0==_0x1417a2[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa514eb}=new URL(window[_0x275c99([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x8307b3(0xda)]);if(_0x1417a2[_0x275c99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa514eb))return!0x0;const _0x17504e=_0xa514eb[_0x275c99([0x73,0x70,0x6c,0x69,0x74])](_0x275c99([0x2e]));return _0x1417a2[_0x275c99([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f24ae=>_0x3f24ae[_0x275c99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275c99([0x2a])))[_0x275c99([0x6d,0x61,0x70])](_0x41ca73=>_0x41ca73[_0x275c99([0x73,0x70,0x6c,0x69,0x74])](_0x275c99([0x2e])))[_0x275c99([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e9765=>_0x3e9765[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x17504e[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x275c99([0x6d,0x61,0x70])](_0x1e42ad=>Array(_0x17504e[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e42ad[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x275c99([0x66,0x69,0x6c,0x6c])](_0x1e42ad[0x0]===_0x275c99([0x2a])?_0x275c99([0x2a]):'')[_0x275c99([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e42ad))[_0x275c99([0x73,0x6f,0x6d,0x65])](_0x4557ea=>_0x17504e[_0x275c99([0x65,0x76,0x65,0x72,0x79])]((_0x4980c1,_0x939b7)=>_0x4557ea[_0x939b7]===_0x4980c1||_0x4557ea[_0x939b7]===_0x275c99([0x2a])));}function _0x5558bf(){return _0x2184fe&&_0x49d536?new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x441210,_0x4865db)=>{_0x2184fe[_0x275c99([0x74,0x68,0x65,0x6e])](_0x441210,_0x4865db),_0x49d536[_0x275c99([0x74,0x68,0x65,0x6e])](_0x1125d7=>{_0x1125d7!=_0x275c99([0x56,0x61,0x6c,0x69,0x64])&&_0x441210(_0x1125d7);},_0x4865db);}):_0x2184fe||_0x49d536||_0x275c99([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc5c5b(_0x2083d6,_0x51a3bb){return new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x394f0f=>{if(_0x2953f3())return _0x394f0f(_0x275c99([0x56,0x61,0x6c,0x69,0x64]));_0x3258bd(),_0x3f4ca7[_0x275c99([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x275c99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4aa0cc=!0x1;const _0x123ced=_0x5e04ad();function _0x349a64(_0x56a1ac){return!!_0x56a1ac&&(typeof _0x56a1ac===_0x275c99([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56a1ac===_0x275c99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56a1ac[_0x275c99([0x74,0x68,0x65,0x6e])]===_0x275c99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56a1ac[_0x275c99([0x63,0x61,0x74,0x63,0x68])]===_0x275c99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bdef7(_0x4621c5){_0x3b9c35(_0x4621c5)[_0x275c99([0x74,0x68,0x65,0x6e])](_0xd752a4=>{if(!_0xd752a4||_0xd752a4[_0x275c99([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x275c99([0x6f,0x6b]))return _0x275c99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x188d16(_0x3a7be6(_0x123ced+_0x51a3bb))!=_0xd752a4[_0x275c99([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x275c99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x275c99([0x56,0x61,0x6c,0x69,0x64]);})[_0x275c99([0x74,0x68,0x65,0x6e])](_0xceef2b=>(_0x927a64(),_0xceef2b),()=>{const _0x2e41e6=_0x2db00e();return null==_0x2e41e6?(_0x927a64(),_0x275c99([0x56,0x61,0x6c,0x69,0x64])):_0x275c99(_0x2ba94d-_0x2e41e6>(0x61d15615^_0x119cd6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x275c99([0x74,0x68,0x65,0x6e])](_0x394f0f)[_0x275c99([0x63,0x61,0x74,0x63,0x68])](()=>{_0x394f0f(_0x275c99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x206e7f=0x45eb3c95^_0x119cd6;function _0x927a64(){const _0x1e0966=_0x275c99([0x6c,0x6c,0x63,0x74,0x2d])+_0x188d16(_0x3a7be6(_0x2083d6)),_0x4a809b=_0x10148a(_0x188d16(window[_0x275c99([0x4d,0x61,0x74,0x68])][_0x275c99([0x63,0x65,0x69,0x6c])](_0x2ba94d/_0x206e7f)));window[_0x275c99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x275c99([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e0966,_0x4a809b);}function _0x2db00e(){const _0x52cd54=_0x275c99([0x6c,0x6c,0x63,0x74,0x2d])+_0x188d16(_0x3a7be6(_0x2083d6)),_0x3aea48=window[_0x275c99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x275c99([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52cd54);return _0x3aea48?window[_0x275c99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10148a(_0x3aea48),0x10)*_0x206e7f:null;}function _0x3b9c35(_0x51f241){return new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50c83f,_0x181fce)=>{_0x51f241[_0x275c99([0x74,0x68,0x65,0x6e])](_0x50c83f,_0x181fce),window[_0x275c99([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x181fce,0x45dc06d5^_0x119cd6);});}}_0x3f4ca7[_0x275c99([0x6f,0x6e])](_0x275c99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fcb3b,_0x902b7)=>{if(_0x902b7[0x0]!=_0x2083d6)return _0x394f0f(_0x275c99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x902b7[0x1]={..._0x902b7[0x1],[_0x275c99([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x123ced};},{[_0x275c99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x275c99([0x68,0x69,0x67,0x68])}),_0x3f4ca7[_0x275c99([0x6f,0x6e])](_0x275c99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4db266=>{_0x349a64(_0x4db266[_0x275c99([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4aa0cc=!0x0,_0x1bdef7(_0x4db266[_0x275c99([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x275c99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x275c99([0x6c,0x6f,0x77])}),_0x3c449f[_0x275c99([0x74,0x68,0x65,0x6e])](()=>{_0x4aa0cc||_0x394f0f(_0x275c99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2953f3(){return _0x3f4ca7[_0x275c99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x275c99([0x76,0x69,0x65,0x77])][_0x275c99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x275c99([0x61,0x75,0x74,0x6f]);}function _0x3258bd(){_0x3f4ca7[_0x275c99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x275c99([0x76,0x69,0x65,0x77])][_0x275c99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x275c99([0x61,0x75,0x74,0x6f]);}}function _0x1879cc(_0x112442){const _0x4ab952=[new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7cf8bc=>setTimeout(_0x7cf8bc,0x45d4ecd9^_0x119cd6)),_0x3c449f[_0x275c99([0x74,0x68,0x65,0x6e])](()=>new window[(_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x541474=>{let _0x42c980=0x0;_0x3f4ca7[_0x275c99([0x6d,0x6f,0x64,0x65,0x6c])][_0x275c99([0x6f,0x6e])](_0x275c99([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4de361,_0x44329f)=>{_0x44329f[0x0][_0x275c99([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42c980++,_0x42c980==(0x45ddd3ed^_0x119cd6)&&(_0x541474(),_0x4de361[_0x275c99([0x6f,0x66,0x66])]());});}))];return window[_0x275c99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x275c99([0x72,0x61,0x63,0x65])](_0x4ab952)[_0x275c99([0x74,0x68,0x65,0x6e])](()=>_0x112442);}async function _0x13f120(){await _0x3c449f,_0x3f4ca7[_0x275c99([0x6d,0x6f,0x64,0x65,0x6c])][_0x275c99([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x474961,_0x3f4ca7[_0x275c99([0x6d,0x6f,0x64,0x65,0x6c])][_0x275c99([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x474961,_0x3f4ca7[_0x275c99([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x275c99([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e544c(_0xdaf4e7){const _0x5e8459=_0x5825d9();_0x3f4ca7[_0x5e8459]=_0x275c99([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdaf4e7,_0xdaf4e7!=_0x275c99([0x56,0x61,0x6c,0x69,0x64])&&_0x13f120();}function _0x5825d9(){const _0x40f83e=window[_0x275c99([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x275c99([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x275c99([0x6e,0x6f,0x77])]())[_0x275c99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x275c99([0x2e]),'');let _0x4ed02c=_0x275c99([0x50]);for(let _0x27a36d=0x0;_0x27a36d<_0x40f83e[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27a36d+=0x2){let _0xedcbe=window[_0x275c99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40f83e[_0x275c99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27a36d,_0x27a36d+0x2));_0xedcbe>=_0x5d133d[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xedcbe-=_0x5d133d[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ed02c+=_0x5d133d[_0xedcbe];}return _0x4ed02c;}function _0x4852c8(){const _0x31be63=_0x156224[_0x275c99([0x73,0x70,0x6c,0x69,0x74])](_0x275c99([0x2e]));if(0x3!=_0x31be63[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ff6a5(_0x31be63[0x1]);function _0x1ff6a5(_0x44b205){const _0x45f393=_0xa01e17(_0x44b205);return _0x45f393&&_0x236fe2()?_0x45f393:null;function _0x236fe2(){const _0x4406a3=_0x45f393[_0x275c99([0x6a,0x74,0x69])],_0x29dd4b=window[_0x275c99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4406a3[_0x275c99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4406a3[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b4385={..._0x45f393,[_0x275c99([0x6a,0x74,0x69])]:_0x4406a3[_0x275c99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4406a3[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b4385[_0x275c99([0x76,0x63])],_0x3a7be6(_0x5b4385)==_0x29dd4b;}}}async function _0x592282(){let _0x1b0483=!0x0;try{const _0x22d147=_0x156224[_0x275c99([0x73,0x70,0x6c,0x69,0x74])](_0x275c99([0x2e])),[_0x24a78c,_0x56a4d8,_0x3e8771]=_0x22d147;return _0x590fd1(_0x24a78c),await _0x2abe1b(_0x24a78c,_0x56a4d8,_0x3e8771),_0x1b0483;}catch{return!0x1;}function _0x590fd1(_0x5a8057){const _0x2d038a=_0xa01e17(_0x5a8057);_0x2d038a&&_0x2d038a[_0x275c99([0x61,0x6c,0x67])]==_0x275c99([0x45,0x53,0x32,0x35,0x36])||(_0x1b0483=!0x1);}async function _0x2abe1b(_0x4b1a8f,_0x3820ca,_0x12ab49){const _0x3e1685=window[_0x275c99([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x275c99([0x66,0x72,0x6f,0x6d])](_0x449228(_0x12ab49),_0x37d129=>_0x37d129[_0x275c99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e70a2=new window[(_0x275c99([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x275c99([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b1a8f+_0x275c99([0x2e])+_0x3820ca),_0x59ba8b=window[_0x275c99([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x275c99([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59ba8b)return;const _0x2e01ff=await _0x59ba8b[_0x275c99([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x275c99([0x6a,0x77,0x6b]),_0x1152f6,{[_0x275c99([0x6e,0x61,0x6d,0x65])]:_0x275c99([0x45,0x43,0x44,0x53,0x41]),[_0x275c99([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x275c99([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x275c99([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59ba8b[_0x275c99([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x275c99([0x6e,0x61,0x6d,0x65])]:_0x275c99([0x45,0x43,0x44,0x53,0x41]),[_0x275c99([0x68,0x61,0x73,0x68])]:{[_0x275c99([0x6e,0x61,0x6d,0x65])]:_0x275c99([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e01ff,_0x3e1685,_0x3e70a2)||(_0x1b0483=!0x1);}}function _0xa01e17(_0x5996ad){return _0x5996ad[_0x275c99([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x275c99([0x65,0x79]))?JSON[_0x275c99([0x70,0x61,0x72,0x73,0x65])](_0x449228(_0x5996ad)):null;}function _0x449228(_0x3b0ba0){return window[_0x275c99([0x61,0x74,0x6f,0x62])](_0x3b0ba0[_0x275c99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x275c99([0x2b]))[_0x275c99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x275c99([0x2f])));}function _0x3a7be6(_0x9b3038){let _0x5273a1=0x1505;function _0x157ea5(_0xbd3982){for(let _0xb52302=0x0;_0xb52302<_0xbd3982[_0x275c99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb52302++){const _0x4f373b=_0xbd3982[_0x275c99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xb52302);_0x5273a1=(_0x5273a1<<0x5)+_0x5273a1+_0x4f373b,_0x5273a1&=_0x5273a1;}}function _0x35f4b8(_0xba9028){Array[_0x275c99([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xba9028)?_0xba9028[_0x275c99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35f4b8):_0xba9028&&typeof _0xba9028==_0x275c99([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x275c99([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xba9028)[_0x275c99([0x73,0x6f,0x72,0x74])]()[_0x275c99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27afd5,_0x5a22b4])=>{_0x157ea5(_0x27afd5),_0x35f4b8(_0x5a22b4);}):_0x157ea5(window[_0x275c99([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xba9028));}return _0x35f4b8(_0x9b3038),_0x5273a1>>>0x0;}function _0x188d16(_0x188a32){return _0x188a32[_0x275c99([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x275c99([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x275c99([0x30]));}function _0x10148a(_0x4e6297){return _0x4e6297[_0x275c99([0x73,0x70,0x6c,0x69,0x74])]('')[_0x275c99([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x275c99([0x6a,0x6f,0x69,0x6e])]('');}function _0x474961(){}function _0x275c99(_0x37b14e){const _0x27d0c3=_0x2186;return _0x37b14e[_0x27d0c3(0xd6)](_0x46f77d=>String[_0x27d0c3(0xea)](_0x46f77d))[_0x27d0c3(0xe7)]('');}_0x2e544c(await _0x380f2e());}(this);}[_0x2d7a31(0xe2)](){const _0x664ab9=_0x2d7a31,_0x556d3b=this[_0x664ab9(0xd8)];if(!_0x556d3b[_0x664ab9(0xed)][_0x664ab9(0xf4)](_0x664ab9(0xd9)))return;const _0x220cab=_0x556d3b[_0x664ab9(0xed)][_0x664ab9(0xf4)](_0x664ab9(0xf5))[_0x664ab9(0xf6)](_0x1e3284=>_0x664ab9(0xcc)==typeof _0x1e3284&&(!_0x397e7f(_0x1e3284)&&isNaN(Number(_0x1e3284))));if(_0x220cab[_0x664ab9(0xcf)])throw new _0x102074(_0x664ab9(0xfb),null,{'namedPresets':_0x220cab});}[_0x2d7a31(0xee)](){const _0x14cfa1=_0x2d7a31,_0x541bcd=this[_0x14cfa1(0xd8)],_0x12813f=this[_0x14cfa1(0xd8)][_0x14cfa1(0xed)][_0x14cfa1(0xf4)](_0x14cfa1(0xdc));_0x541bcd[_0x14cfa1(0xc9)][_0x14cfa1(0xcb)](_0x14cfa1(0xfd))[_0x14cfa1(0xf2)]({'model':{'key':_0x14cfa1(0xe3)},'view':_0x26d29d=>String(_0x26d29d)===String(_0x12813f)?null:{'key':_0x14cfa1(0xd5),'value':{'line-height':_0x26d29d}}}),_0x541bcd[_0x14cfa1(0xc9)][_0x14cfa1(0xcb)](_0x14cfa1(0xe1))[_0x14cfa1(0xf2)]({'model':{'key':_0x14cfa1(0xe3),'value':_0x26dfa2=>{const _0x167a8f=_0x14cfa1;let _0x3782ae=_0x26dfa2[_0x167a8f(0xe4)](_0x167a8f(0xce));return _0x12642f(_0x3782ae)&&(_0x3782ae=String(Number(_0x3782ae[_0x167a8f(0xeb)](0x0,-0x1))/0x64)),String(_0x3782ae)===String(_0x12813f)?null:_0x3782ae;}},'view':{'styles':{'line-height':/.*/}}});}[_0x2d7a31(0xd1)](){const _0x4d8806=_0x2d7a31,_0x532221=this[_0x4d8806(0xd8)],_0x1ee42c=this[_0x4d8806(0xd8)][_0x4d8806(0xed)][_0x4d8806(0xf4)](_0x4d8806(0xdc)),_0x41d1ea=_0x41f9d0(this[_0x4d8806(0xd8)][_0x4d8806(0xed)][_0x4d8806(0xf4)](_0x4d8806(0xe3)))[_0x4d8806(0xf6)](_0x2f9027=>_0x2f9027[_0x4d8806(0xef)]),_0x5aba6b=_0x58b5a9(_0x4d8806(0xe3),_0x41d1ea);_0x532221[_0x4d8806(0xc9)][_0x4d8806(0xf2)](_0x5aba6b),_0x532221[_0x4d8806(0xc9)][_0x4d8806(0xcb)](_0x4d8806(0xe1))[_0x4d8806(0xf2)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x4d8806(0xe3),'value':_0x1a6abc=>{const _0x222265=_0x4d8806;let _0x466af5=_0x1a6abc[_0x222265(0xe4)](_0x222265(0xce));return _0x12642f(_0x466af5)&&(_0x466af5=String(Number(_0x466af5[_0x222265(0xeb)](0x0,-0x1))/0x64)),_0x466af5===String(_0x1ee42c)?null:_0x5aba6b[_0x222265(0xef)][_0x222265(0xdf)][_0x222265(0xe9)](_0x466af5)?_0x466af5:null;}}});}}
|
|
23
|
+
function _0x5448(_0x2e2a79,_0x53da26){const _0x18ceef=_0x18ce();return _0x5448=function(_0x544889,_0x387fad){_0x544889=_0x544889-0x158;let _0x179478=_0x18ceef[_0x544889];return _0x179478;},_0x5448(_0x2e2a79,_0x53da26);}const _0x3fccc4=_0x5448;function _0x18ce(){const _0x37e5d3=['map','style','fromCharCode','57QapXKN','_validateConfig','upcast','setAttributeProperties','afterInit','line-height','for','values','$block','LineHeightEditing','get','filter','lineHeight.supportAllValues','length','30FHbowA','line-height-invalid-use-of-named-presets','isPremiumPlugin','lineHeight','640865SjrTIG','3463152YLAZQb','schema','5755AYxjMr','lineHeight.options','attributeToAttribute','join','string','740220hUbiYf','default','13164HleOdP','downcast','342bmUrKS','define','lineHeight.defaultValue','_prepareAnyValueConverters','editor','62210bPlfkX','model','_preparePredefinedConverters','requires','3151393VwUEuc','init','pluginName','config','isOfficialPlugin','extend','8bCsvfn','add','commands','conversion','href','slice','getStyle','includes'];_0x18ce=function(){return _0x37e5d3;};return _0x18ce();}(function(_0x3d1728,_0x15b814){const _0x23796d=_0x5448,_0x2a9f3c=_0x3d1728();while(!![]){try{const _0x1cd649=parseInt(_0x23796d(0x175))/0x1+-parseInt(_0x23796d(0x17f))/0x2*(parseInt(_0x23796d(0x163))/0x3)+parseInt(_0x23796d(0x17d))/0x4+-parseInt(_0x23796d(0x178))/0x5*(parseInt(_0x23796d(0x171))/0x6)+-parseInt(_0x23796d(0x18a))/0x7*(parseInt(_0x23796d(0x158))/0x8)+-parseInt(_0x23796d(0x181))/0x9*(parseInt(_0x23796d(0x186))/0xa)+parseInt(_0x23796d(0x176))/0xb;if(_0x1cd649===_0x15b814)break;else _0x2a9f3c['push'](_0x2a9f3c['shift']());}catch(_0x3640e7){_0x2a9f3c['push'](_0x2a9f3c['shift']());}}}(_0x18ce,0x4ef0e));import{Plugin as _0x33f0e0}from'ckeditor5/src/core.js';import{LineHeightCommand as _0x20950d}from'./lineheightcommand.js';import{isPercentageStyleValue as _0x114f16}from'ckeditor5/src/engine.js';import{uid as _0xbc0503,CKEditorError as _0x2c75ef}from'ckeditor5/src/utils.js';import{buildDefinition as _0x59423e,isLineHeightDefaultValue as _0x511fa2,normalizeOptions as _0x24c20b}from'./utils.js';import{LineHeightTodoListIntegration as _0x181ac5}from'./integrations/todolist.js';export class LineHeightEditing extends _0x33f0e0{static get[_0x3fccc4(0x18c)](){const _0x3562e1=_0x3fccc4;return _0x3562e1(0x16c);}static get[_0x3fccc4(0x189)](){return[_0x181ac5];}static get[_0x3fccc4(0x18e)](){return!0x0;}static get[_0x3fccc4(0x173)](){return!0x0;}constructor(_0x2fcf6d){const _0x117855=_0x3fccc4;super(_0x2fcf6d),_0x2fcf6d[_0x117855(0x18d)][_0x117855(0x182)](_0x117855(0x174),{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,_0x117855(0x17e),0x2,2.5,0x3]});}[_0x3fccc4(0x18b)](){const _0x39aa68=_0x3fccc4,_0x2954e6=this[_0x39aa68(0x185)];this[_0x39aa68(0x164)](),_0x2954e6[_0x39aa68(0x187)][_0x39aa68(0x177)][_0x39aa68(0x18f)](_0x39aa68(0x16b),{'allowAttributes':_0x39aa68(0x174)}),_0x2954e6[_0x39aa68(0x187)][_0x39aa68(0x177)][_0x39aa68(0x166)](_0x39aa68(0x174),{'isFormatting':!0x0}),_0x2954e6[_0x39aa68(0x15a)][_0x39aa68(0x159)](_0x39aa68(0x174),new _0x20950d(_0x2954e6)),this[_0x39aa68(0x185)][_0x39aa68(0x18d)][_0x39aa68(0x16d)](_0x39aa68(0x16f))?this[_0x39aa68(0x184)]():this[_0x39aa68(0x188)]();}[_0x3fccc4(0x167)](){!async function(_0x5d6f3d){const _0x377193=_0xe5c3b1([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]),_0x3d9bac=0x45ddd215,_0x3c5f7a=0x45daa8bd^_0x3d9bac,_0x538695=window[_0xe5c3b1([0x44,0x61,0x74,0x65])][_0xe5c3b1([0x6e,0x6f,0x77])](),_0x36ac2d=_0x5d6f3d[_0xe5c3b1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcf14e5=new window[(_0xe5c3b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x77bd3b=>{_0x36ac2d[_0xe5c3b1([0x6f,0x6e,0x63,0x65])](_0xe5c3b1([0x72,0x65,0x61,0x64,0x79]),_0x77bd3b);}),_0x226d34={[_0xe5c3b1([0x6b,0x74,0x79])]:_0xe5c3b1([0x45,0x43]),[_0xe5c3b1([0x75,0x73,0x65])]:_0xe5c3b1([0x73,0x69,0x67]),[_0xe5c3b1([0x63,0x72,0x76])]:_0xe5c3b1([0x50,0x2d,0x32,0x35,0x36]),[_0xe5c3b1([0x78])]:_0xe5c3b1([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]),[_0xe5c3b1([0x79])]:_0xe5c3b1([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]),[_0xe5c3b1([0x61,0x6c,0x67])]:_0xe5c3b1([0x45,0x53,0x32,0x35,0x36])},_0x44dc83=_0x36ac2d[_0xe5c3b1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe5c3b1([0x67,0x65,0x74])](_0xe5c3b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x488b0b(){let _0x543fd0,_0x38ef38=null,_0x19a6d4=null;try{if(_0x44dc83==_0xe5c3b1([0x47,0x50,0x4c]))return _0xe5c3b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x543fd0=_0x8e0906(),!_0x543fd0)return _0xe5c3b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x543fd0[_0xe5c3b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19a6d4=_0x44a93d(_0x543fd0[_0xe5c3b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x543fd0[_0xe5c3b1([0x6a,0x74,0x69])])),await _0x5371dc()?_0x46a674()?_0x250d5f()?_0xe5c3b1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x443cfc()?(_0x543fd0[_0xe5c3b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5c3b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x38ef38=_0x138cf6(_0xe5c3b1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x543fd0[_0xe5c3b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe5c3b1([0x74,0x72,0x69,0x61,0x6c])&&(_0x38ef38=_0x138cf6(_0xe5c3b1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f770f()):_0xe5c3b1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe5c3b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe5c3b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe5c3b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x250d5f(){const _0x20e088=[_0xe5c3b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe5c3b1([0x74,0x72,0x69,0x61,0x6c])][_0xe5c3b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x543fd0[_0xe5c3b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x538695/0x3e8:0xe10*_0x3c5f7a;return _0x543fd0[_0xe5c3b1([0x65,0x78,0x70])]<_0x20e088;}function _0x46a674(){const _0xe9ef3e=_0x543fd0[_0xe5c3b1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe9ef3e&&(!!_0xe9ef3e[_0xe5c3b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5c3b1([0x2a]))||!!_0xe9ef3e[_0xe5c3b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5c3b1([0x4c,0x48])));}function _0x443cfc(){const _0x143f71=_0x5448,_0x2a5f19=_0x543fd0[_0xe5c3b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a5f19||0x0==_0x2a5f19[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5406a1}=new URL(window[_0xe5c3b1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x143f71(0x15c)]);if(_0x2a5f19[_0xe5c3b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5406a1))return!0x0;const _0x21e17b=_0x5406a1[_0xe5c3b1([0x73,0x70,0x6c,0x69,0x74])](_0xe5c3b1([0x2e]));return _0x2a5f19[_0xe5c3b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24408b=>_0x24408b[_0xe5c3b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5c3b1([0x2a])))[_0xe5c3b1([0x6d,0x61,0x70])](_0x500511=>_0x500511[_0xe5c3b1([0x73,0x70,0x6c,0x69,0x74])](_0xe5c3b1([0x2e])))[_0xe5c3b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f8f62=>_0x4f8f62[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x21e17b[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe5c3b1([0x6d,0x61,0x70])](_0x53e207=>Array(_0x21e17b[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53e207[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe5c3b1([0x66,0x69,0x6c,0x6c])](_0x53e207[0x0]===_0xe5c3b1([0x2a])?_0xe5c3b1([0x2a]):'')[_0xe5c3b1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53e207))[_0xe5c3b1([0x73,0x6f,0x6d,0x65])](_0x137894=>_0x21e17b[_0xe5c3b1([0x65,0x76,0x65,0x72,0x79])]((_0x2622df,_0x57f72d)=>_0x137894[_0x57f72d]===_0x2622df||_0x137894[_0x57f72d]===_0xe5c3b1([0x2a])));}function _0x1f770f(){return _0x38ef38&&_0x19a6d4?new window[(_0xe5c3b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c93b4,_0x42751f)=>{_0x38ef38[_0xe5c3b1([0x74,0x68,0x65,0x6e])](_0x2c93b4,_0x42751f),_0x19a6d4[_0xe5c3b1([0x74,0x68,0x65,0x6e])](_0x5a476b=>{_0x5a476b!=_0xe5c3b1([0x56,0x61,0x6c,0x69,0x64])&&_0x2c93b4(_0x5a476b);},_0x42751f);}):_0x38ef38||_0x19a6d4||_0xe5c3b1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44a93d(_0x261c83,_0x5cae69){return new window[(_0xe5c3b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26f4e8=>{if(_0x1ac789())return _0x26f4e8(_0xe5c3b1([0x56,0x61,0x6c,0x69,0x64]));_0x40c739(),_0x36ac2d[_0xe5c3b1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe5c3b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x589cfd=!0x1;const _0x5a753a=_0xbc0503();function _0x32576b(_0x51b698){return!!_0x51b698&&(typeof _0x51b698===_0xe5c3b1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51b698===_0xe5c3b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51b698[_0xe5c3b1([0x74,0x68,0x65,0x6e])]===_0xe5c3b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51b698[_0xe5c3b1([0x63,0x61,0x74,0x63,0x68])]===_0xe5c3b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c9045(_0x6d01){_0x565006(_0x6d01)[_0xe5c3b1([0x74,0x68,0x65,0x6e])](_0x1846a2=>{if(!_0x1846a2||_0x1846a2[_0xe5c3b1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe5c3b1([0x6f,0x6b]))return _0xe5c3b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x575b97(_0x8a6409(_0x5a753a+_0x5cae69))!=_0x1846a2[_0xe5c3b1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe5c3b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe5c3b1([0x56,0x61,0x6c,0x69,0x64]);})[_0xe5c3b1([0x74,0x68,0x65,0x6e])](_0x4da6be=>(_0x1475e4(),_0x4da6be),()=>{const _0x4ec2bd=_0x3ee329();return null==_0x4ec2bd?(_0x1475e4(),_0xe5c3b1([0x56,0x61,0x6c,0x69,0x64])):_0xe5c3b1(_0x538695-_0x4ec2bd>(0x61d15615^_0x3d9bac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe5c3b1([0x74,0x68,0x65,0x6e])](_0x26f4e8)[_0xe5c3b1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x26f4e8(_0xe5c3b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57851a=0x45eb3c95^_0x3d9bac;function _0x1475e4(){const _0x347a96=_0xe5c3b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x575b97(_0x8a6409(_0x261c83)),_0x3d103a=_0x4d4549(_0x575b97(window[_0xe5c3b1([0x4d,0x61,0x74,0x68])][_0xe5c3b1([0x63,0x65,0x69,0x6c])](_0x538695/_0x57851a)));window[_0xe5c3b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5c3b1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x347a96,_0x3d103a);}function _0x3ee329(){const _0x3ab099=_0xe5c3b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x575b97(_0x8a6409(_0x261c83)),_0xec82dc=window[_0xe5c3b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe5c3b1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ab099);return _0xec82dc?window[_0xe5c3b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d4549(_0xec82dc),0x10)*_0x57851a:null;}function _0x565006(_0x28c383){return new window[(_0xe5c3b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3eb757,_0x2b492e)=>{_0x28c383[_0xe5c3b1([0x74,0x68,0x65,0x6e])](_0x3eb757,_0x2b492e),window[_0xe5c3b1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b492e,0x45dc06d5^_0x3d9bac);});}}_0x36ac2d[_0xe5c3b1([0x6f,0x6e])](_0xe5c3b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x408672,_0x4c0b5a)=>{if(_0x4c0b5a[0x0]!=_0x261c83)return _0x26f4e8(_0xe5c3b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c0b5a[0x1]={..._0x4c0b5a[0x1],[_0xe5c3b1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a753a};},{[_0xe5c3b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5c3b1([0x68,0x69,0x67,0x68])}),_0x36ac2d[_0xe5c3b1([0x6f,0x6e])](_0xe5c3b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1fbdb4=>{_0x32576b(_0x1fbdb4[_0xe5c3b1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x589cfd=!0x0,_0x1c9045(_0x1fbdb4[_0xe5c3b1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe5c3b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe5c3b1([0x6c,0x6f,0x77])}),_0xcf14e5[_0xe5c3b1([0x74,0x68,0x65,0x6e])](()=>{_0x589cfd||_0x26f4e8(_0xe5c3b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1ac789(){return _0x36ac2d[_0xe5c3b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5c3b1([0x76,0x69,0x65,0x77])][_0xe5c3b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe5c3b1([0x61,0x75,0x74,0x6f]);}function _0x40c739(){_0x36ac2d[_0xe5c3b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe5c3b1([0x76,0x69,0x65,0x77])][_0xe5c3b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe5c3b1([0x61,0x75,0x74,0x6f]);}}function _0x138cf6(_0x219acc){const _0x3013a7=[new window[(_0xe5c3b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b57d3=>setTimeout(_0x1b57d3,0x45d4ecd9^_0x3d9bac)),_0xcf14e5[_0xe5c3b1([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe5c3b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53fe28=>{let _0x217d38=0x0;_0x36ac2d[_0xe5c3b1([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5c3b1([0x6f,0x6e])](_0xe5c3b1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d1796,_0x1f94f8)=>{_0x1f94f8[0x0][_0xe5c3b1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x217d38++,_0x217d38==(0x45ddd3ed^_0x3d9bac)&&(_0x53fe28(),_0x3d1796[_0xe5c3b1([0x6f,0x66,0x66])]());});}))];return window[_0xe5c3b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe5c3b1([0x72,0x61,0x63,0x65])](_0x3013a7)[_0xe5c3b1([0x74,0x68,0x65,0x6e])](()=>_0x219acc);}async function _0x25ffdb(){await _0xcf14e5,_0x36ac2d[_0xe5c3b1([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5c3b1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59ec0f,_0x36ac2d[_0xe5c3b1([0x6d,0x6f,0x64,0x65,0x6c])][_0xe5c3b1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59ec0f,_0x36ac2d[_0xe5c3b1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe5c3b1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a2392(_0x202f5a){const _0x4651da=_0x1e6a13();_0x36ac2d[_0x4651da]=_0xe5c3b1([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x202f5a,_0x202f5a!=_0xe5c3b1([0x56,0x61,0x6c,0x69,0x64])&&_0x25ffdb();}function _0x1e6a13(){const _0x1a34d3=window[_0xe5c3b1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe5c3b1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe5c3b1([0x6e,0x6f,0x77])]())[_0xe5c3b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe5c3b1([0x2e]),'');let _0x41b3d9=_0xe5c3b1([0x50]);for(let _0x3901a5=0x0;_0x3901a5<_0x1a34d3[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3901a5+=0x2){let _0x3a121b=window[_0xe5c3b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a34d3[_0xe5c3b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3901a5,_0x3901a5+0x2));_0x3a121b>=_0x377193[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a121b-=_0x377193[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41b3d9+=_0x377193[_0x3a121b];}return _0x41b3d9;}function _0x8e0906(){const _0x19be63=_0x44dc83[_0xe5c3b1([0x73,0x70,0x6c,0x69,0x74])](_0xe5c3b1([0x2e]));if(0x3!=_0x19be63[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x199d77(_0x19be63[0x1]);function _0x199d77(_0x3f2ce){const _0x27d0db=_0x10bef9(_0x3f2ce);return _0x27d0db&&_0x84142f()?_0x27d0db:null;function _0x84142f(){const _0xbf7295=_0x27d0db[_0xe5c3b1([0x6a,0x74,0x69])],_0xe92664=window[_0xe5c3b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbf7295[_0xe5c3b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbf7295[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25b61c={..._0x27d0db,[_0xe5c3b1([0x6a,0x74,0x69])]:_0xbf7295[_0xe5c3b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xbf7295[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25b61c[_0xe5c3b1([0x76,0x63])],_0x8a6409(_0x25b61c)==_0xe92664;}}}async function _0x5371dc(){let _0x3272f3=!0x0;try{const _0x3e19ce=_0x44dc83[_0xe5c3b1([0x73,0x70,0x6c,0x69,0x74])](_0xe5c3b1([0x2e])),[_0x20c065,_0xcce183,_0x49dbf8]=_0x3e19ce;return _0x529b79(_0x20c065),await _0x3c7cc0(_0x20c065,_0xcce183,_0x49dbf8),_0x3272f3;}catch{return!0x1;}function _0x529b79(_0x2fbd99){const _0x2a3dbb=_0x10bef9(_0x2fbd99);_0x2a3dbb&&_0x2a3dbb[_0xe5c3b1([0x61,0x6c,0x67])]==_0xe5c3b1([0x45,0x53,0x32,0x35,0x36])||(_0x3272f3=!0x1);}async function _0x3c7cc0(_0x262e34,_0x4ee8ba,_0x55c7fe){const _0x3652f0=window[_0xe5c3b1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe5c3b1([0x66,0x72,0x6f,0x6d])](_0x3bf028(_0x55c7fe),_0xfd92=>_0xfd92[_0xe5c3b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3f7661=new window[(_0xe5c3b1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe5c3b1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x262e34+_0xe5c3b1([0x2e])+_0x4ee8ba),_0x4ffcad=window[_0xe5c3b1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe5c3b1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ffcad)return;const _0x3f3efc=await _0x4ffcad[_0xe5c3b1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe5c3b1([0x6a,0x77,0x6b]),_0x226d34,{[_0xe5c3b1([0x6e,0x61,0x6d,0x65])]:_0xe5c3b1([0x45,0x43,0x44,0x53,0x41]),[_0xe5c3b1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe5c3b1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe5c3b1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ffcad[_0xe5c3b1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe5c3b1([0x6e,0x61,0x6d,0x65])]:_0xe5c3b1([0x45,0x43,0x44,0x53,0x41]),[_0xe5c3b1([0x68,0x61,0x73,0x68])]:{[_0xe5c3b1([0x6e,0x61,0x6d,0x65])]:_0xe5c3b1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f3efc,_0x3652f0,_0x3f7661)||(_0x3272f3=!0x1);}}function _0x10bef9(_0x46bc68){return _0x46bc68[_0xe5c3b1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe5c3b1([0x65,0x79]))?JSON[_0xe5c3b1([0x70,0x61,0x72,0x73,0x65])](_0x3bf028(_0x46bc68)):null;}function _0x3bf028(_0xc52c8d){return window[_0xe5c3b1([0x61,0x74,0x6f,0x62])](_0xc52c8d[_0xe5c3b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe5c3b1([0x2b]))[_0xe5c3b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe5c3b1([0x2f])));}function _0x8a6409(_0x1794e5){let _0x536c32=0x1505;function _0x5d4e70(_0x15c607){for(let _0x2010b0=0x0;_0x2010b0<_0x15c607[_0xe5c3b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2010b0++){const _0x4fbe3b=_0x15c607[_0xe5c3b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2010b0);_0x536c32=(_0x536c32<<0x5)+_0x536c32+_0x4fbe3b,_0x536c32&=_0x536c32;}}function _0x2a9694(_0xcef6ce){Array[_0xe5c3b1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xcef6ce)?_0xcef6ce[_0xe5c3b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a9694):_0xcef6ce&&typeof _0xcef6ce==_0xe5c3b1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe5c3b1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xcef6ce)[_0xe5c3b1([0x73,0x6f,0x72,0x74])]()[_0xe5c3b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f7518,_0x552857])=>{_0x5d4e70(_0x4f7518),_0x2a9694(_0x552857);}):_0x5d4e70(window[_0xe5c3b1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xcef6ce));}return _0x2a9694(_0x1794e5),_0x536c32>>>0x0;}function _0x575b97(_0x536904){return _0x536904[_0xe5c3b1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe5c3b1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe5c3b1([0x30]));}function _0x4d4549(_0x2b6a65){return _0x2b6a65[_0xe5c3b1([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe5c3b1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe5c3b1([0x6a,0x6f,0x69,0x6e])]('');}function _0x59ec0f(){}function _0xe5c3b1(_0x4273dd){const _0x2633f6=_0x5448;return _0x4273dd[_0x2633f6(0x160)](_0x3928d2=>String[_0x2633f6(0x162)](_0x3928d2))[_0x2633f6(0x17b)]('');}_0x2a2392(await _0x488b0b());}(this);}[_0x3fccc4(0x164)](){const _0x8b0dd7=_0x3fccc4,_0x2dc423=this[_0x8b0dd7(0x185)];if(!_0x2dc423[_0x8b0dd7(0x18d)][_0x8b0dd7(0x16d)](_0x8b0dd7(0x16f)))return;const _0x498a17=_0x2dc423[_0x8b0dd7(0x18d)][_0x8b0dd7(0x16d)](_0x8b0dd7(0x179))[_0x8b0dd7(0x16e)](_0x8988c=>_0x8b0dd7(0x17c)==typeof _0x8988c&&(!_0x511fa2(_0x8988c)&&isNaN(Number(_0x8988c))));if(_0x498a17[_0x8b0dd7(0x170)])throw new _0x2c75ef(_0x8b0dd7(0x172),null,{'namedPresets':_0x498a17});}[_0x3fccc4(0x184)](){const _0x4b0bf2=_0x3fccc4,_0x277850=this[_0x4b0bf2(0x185)],_0x572c52=this[_0x4b0bf2(0x185)][_0x4b0bf2(0x18d)][_0x4b0bf2(0x16d)](_0x4b0bf2(0x183));_0x277850[_0x4b0bf2(0x15b)][_0x4b0bf2(0x169)](_0x4b0bf2(0x180))[_0x4b0bf2(0x17a)]({'model':{'key':_0x4b0bf2(0x174)},'view':_0x18d43e=>String(_0x18d43e)===String(_0x572c52)?null:{'key':_0x4b0bf2(0x161),'value':{'line-height':_0x18d43e}}}),_0x277850[_0x4b0bf2(0x15b)][_0x4b0bf2(0x169)](_0x4b0bf2(0x165))[_0x4b0bf2(0x17a)]({'model':{'key':_0x4b0bf2(0x174),'value':_0x26891d=>{const _0x243a32=_0x4b0bf2;let _0x2604a5=_0x26891d[_0x243a32(0x15e)](_0x243a32(0x168));return _0x114f16(_0x2604a5)&&(_0x2604a5=String(Number(_0x2604a5[_0x243a32(0x15d)](0x0,-0x1))/0x64)),String(_0x2604a5)===String(_0x572c52)?null:_0x2604a5;}},'view':{'styles':{'line-height':/.*/}}});}[_0x3fccc4(0x188)](){const _0x412a5c=_0x3fccc4,_0x46a775=this[_0x412a5c(0x185)],_0x148c11=this[_0x412a5c(0x185)][_0x412a5c(0x18d)][_0x412a5c(0x16d)](_0x412a5c(0x183)),_0x2f25c5=_0x24c20b(this[_0x412a5c(0x185)][_0x412a5c(0x18d)][_0x412a5c(0x16d)](_0x412a5c(0x174)))[_0x412a5c(0x16e)](_0x1e0add=>_0x1e0add[_0x412a5c(0x187)]),_0x5a82df=_0x59423e(_0x412a5c(0x174),_0x2f25c5);_0x46a775[_0x412a5c(0x15b)][_0x412a5c(0x17a)](_0x5a82df),_0x46a775[_0x412a5c(0x15b)][_0x412a5c(0x169)](_0x412a5c(0x165))[_0x412a5c(0x17a)]({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':_0x412a5c(0x174),'value':_0x42f758=>{const _0x537ac1=_0x412a5c;let _0x529458=_0x42f758[_0x537ac1(0x15e)](_0x537ac1(0x168));return _0x114f16(_0x529458)&&(_0x529458=String(Number(_0x529458[_0x537ac1(0x15d)](0x0,-0x1))/0x64)),_0x529458===String(_0x148c11)?null:_0x5a82df[_0x537ac1(0x187)][_0x537ac1(0x16a)][_0x537ac1(0x15f)](_0x529458)?_0x529458:null;}}});}}
|